@opencx/widget-react 5.14.1 → 5.15.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/{Chart.impl-DvNYqrII.js → Chart.impl-LdzEPoA0.js} +2 -2
- package/dist/{Chart.impl-DvNYqrII.js.map → Chart.impl-LdzEPoA0.js.map} +1 -1
- package/dist/{Chart.impl-DwS2_ric.cjs → Chart.impl-Ru947Wdq.cjs} +2 -2
- package/dist/{Chart.impl-DwS2_ric.cjs.map → Chart.impl-Ru947Wdq.cjs.map} +1 -1
- package/dist/{index-C0iV9yZX.cjs → index-BL79m0xq.cjs} +6 -6
- package/dist/index-BL79m0xq.cjs.map +1 -0
- package/dist/{index-DkV3KG39.js → index-kk04QaK9.js} +440 -436
- package/dist/index-kk04QaK9.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/package.json.d.ts +1 -1
- package/dist/src/WidgetImperativeHandler.d.ts +12 -0
- package/dist/src/WidgetImperativeHandler.d.ts.map +1 -1
- package/dist/src/hooks/useStickyQuestions.d.ts +4 -2
- package/dist/src/hooks/useStickyQuestions.d.ts.map +1 -1
- package/dist/src/screens/chat/ChatFooter.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/index-C0iV9yZX.cjs.map +0 -1
- package/dist/index-DkV3KG39.js.map +0 -1
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var us = (e, t, n) =>
|
|
1
|
+
var bl = Object.defineProperty;
|
|
2
|
+
var wl = (e, t, n) => t in e ? bl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var us = (e, t, n) => wl(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { jsx as o, Fragment as te, jsxs as f } from "react/jsx-runtime";
|
|
5
5
|
import * as bt from "@radix-ui/react-popover";
|
|
6
|
-
import { useReducedMotion as kt, motion as de, AnimatePresence as ie, useMotionValue as Or, useSpring as ps, useTransform as On, animate as wr, MotionConfig as
|
|
6
|
+
import { useReducedMotion as kt, motion as de, AnimatePresence as ie, useMotionValue as Or, useSpring as ps, useTransform as On, animate as wr, MotionConfig as xl } from "framer-motion";
|
|
7
7
|
import * as St from "react";
|
|
8
|
-
import pe, { createContext as Le, useMemo as se, useCallback as H, useRef as U, useEffect as j, useContext as Me, useSyncExternalStore as
|
|
9
|
-
import { useDocumentDir as bo, useConfig as J, useWidget as ae, useBot as tn, useSessions as Ne, useMessages as Te, useWidgetRouter as De, usePrimitiveState as xr, useCompanionChats as tr, useWidgetTrigger as Qe, useModes as za, useDisplayMode as Oa, applyPresentation as
|
|
8
|
+
import pe, { createContext as Le, useMemo as se, useCallback as H, useRef as U, useEffect as j, useContext as Me, useSyncExternalStore as vl, useState as R, Suspense as yl, memo as kl, forwardRef as Pa, cloneElement as Rr, useLayoutEffect as at, useId as Sl, createElement as yt, useReducer as Cl } from "react";
|
|
9
|
+
import { useDocumentDir as bo, useConfig as J, useWidget as ae, useBot as tn, useSessions as Ne, useMessages as Te, useWidgetRouter as De, usePrimitiveState as xr, useCompanionChats as tr, useWidgetTrigger as Qe, useModes as za, useDisplayMode as Oa, applyPresentation as Nl, useComposerDraft as wo, useAgentChatUi as jt, sessionPlan as _l, useCsat as Wn, useConnection as El, useHostLocation as Tl, useTokenRenewal as Ra, useDictation as Al, useUploadFiles as Il, useIsAwaitingBotReply as $a, useUnread as nr, useContact as La, useWidgetLayout as Da, useUnreadViewing as Ml, formatAskQuestionsAnswers as Pl, WidgetProvider as zl, WidgetTriggerProvider as Ol, WidgetLayoutProvider as Rl } from "@opencx/widget-react-headless";
|
|
10
10
|
import { z as k } from "zod";
|
|
11
|
-
import { resolveLanguage as
|
|
12
|
-
import { AlertCircle as
|
|
11
|
+
import { resolveLanguage as ja, isRtlLanguage as $l, getTranslation as Ha, log as he, isRecord as Ll, tappableOptionsMessage as Dl, isExhaustive as qe, resolveClientPresentation as Fa, isAwaitingRequiredTap as jl, resolveConfigContext as Hl, DictationLevelSmoother as Fl, HelpCenterSearchError as Wl } from "@opencx/widget-core";
|
|
12
|
+
import { AlertCircle as Wa, AlertTriangle as Ul, Lightbulb as Bl, Info as ql, Phone as Vl, Play as Ua, ChevronUp as Ba, ChevronDown as Yl, X as qa, ZoomOut as Xl, ZoomIn as Gl, RotateCcw as Kl, FileText as Va, FileSpreadsheet as Ya, CheckIcon as rr, CircleDashedIcon as Zl, ZapIcon as Jl, WorkflowIcon as Ql, UsersIcon as ed, UserIcon as td, TicketIcon as nd, TagIcon as rd, ShoppingCartIcon as od, SettingsIcon as sd, PlugIcon as ad, PackageIcon as id, MailIcon as cd, LinkIcon as ld, GlobeIcon as dd, FolderIcon as xo, FileTextIcon as Xa, DatabaseIcon as ud, CreditCardIcon as pd, CalendarIcon as md, Building2Icon as hd, BookOpenIcon as Ga, BookIcon as fd, BotIcon as gd, AtSignIcon as bd, XIcon as Ie, SquareXIcon as wd, SquareCheckBigIcon as xd, SquareCheckIcon as vd, ShrinkIcon as yd, Minimize2Icon as kd, MinimizeIcon as Sd, Maximize2Icon as Cd, MaximizeIcon as Nd, ExpandIcon as _d, CircleXIcon as Ed, CircleCheckBigIcon as Td, CircleCheckIcon as Ka, CheckCheckIcon as Ad, PlusIcon as Za, LoaderCircleIcon as Gt, ChevronsUpDownIcon as Id, ChevronLeftIcon as vo, LoaderIcon as Md, CopyIcon as Pd, Check as zd, Loader2 as Ja, CircleDashed as Qa, PenLineIcon as ei, ArrowDown as Od, ArrowUpIcon as ti, FileAudio2Icon as Rd, FileVideo2Icon as $d, FileIcon as Ld, CornerDownLeftIcon as Dd, MicIcon as jd, LockIcon as Hd, PaperclipIcon as ms, MousePointerClickIcon as Fd, SquareIcon as Wd, ChevronRightIcon as it, MessageCircleIcon as Ud, SearchIcon as Bd, Unplug as qd, ChevronRight as hs, ArrowLeft as Vd, UserRoundIcon as Yd, SendHorizontal as Xd, ChevronDownIcon as ni, SparklesIcon as Gd } from "lucide-react";
|
|
13
13
|
import { clsx as Kd } from "clsx";
|
|
14
14
|
import { twMerge as Zd } from "tailwind-merge";
|
|
15
15
|
import { Slot as Jd } from "@radix-ui/react-slot";
|
|
16
|
-
import { cva as
|
|
17
|
-
import
|
|
16
|
+
import { cva as ri } from "class-variance-authority";
|
|
17
|
+
import oi from "remark-gfm";
|
|
18
18
|
import Qd from "react-markdown";
|
|
19
19
|
import $r from "rehype-raw";
|
|
20
20
|
import fs, { defaultSchema as We } from "rehype-sanitize";
|
|
21
21
|
import * as nn from "@radix-ui/react-avatar";
|
|
22
|
-
import
|
|
22
|
+
import si from "@uiw/react-iframe";
|
|
23
23
|
import gs from "tinycolor2";
|
|
24
24
|
import * as Ue from "@radix-ui/react-tooltip";
|
|
25
25
|
import { createPortal as vn } from "react-dom";
|
|
26
26
|
import * as He from "@radix-ui/react-menu";
|
|
27
27
|
import { toJpeg as eu } from "html-to-image";
|
|
28
28
|
import { useDropzone as tu } from "react-dropzone";
|
|
29
|
-
import { annotate as
|
|
30
|
-
import
|
|
29
|
+
import { annotate as ai } from "@shardsui/notation";
|
|
30
|
+
import ii from "react-use/lib/useAsync";
|
|
31
31
|
import nu from "react-use/lib/useDebounce";
|
|
32
32
|
import ru from "react-use/lib/useAsyncFn";
|
|
33
|
-
var
|
|
33
|
+
var ci = k.union([
|
|
34
34
|
k.string(),
|
|
35
35
|
k.number(),
|
|
36
36
|
k.boolean(),
|
|
@@ -49,7 +49,7 @@ k.union([
|
|
|
49
49
|
k.boolean(),
|
|
50
50
|
k.object({ $state: k.string() })
|
|
51
51
|
]);
|
|
52
|
-
function
|
|
52
|
+
function li(e, t) {
|
|
53
53
|
if (e != null)
|
|
54
54
|
return typeof e == "object" && "$state" in e ? fe(t, e.$state) : e;
|
|
55
55
|
}
|
|
@@ -77,7 +77,7 @@ function fe(e, t) {
|
|
|
77
77
|
}
|
|
78
78
|
return r;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function di(e) {
|
|
81
81
|
return /^\d+$/.test(e);
|
|
82
82
|
}
|
|
83
83
|
function su(e, t, n) {
|
|
@@ -85,7 +85,7 @@ function su(e, t, n) {
|
|
|
85
85
|
if (r.length === 0) return;
|
|
86
86
|
let s = e;
|
|
87
87
|
for (let a = 0; a < r.length - 1; a++) {
|
|
88
|
-
const c = r[a], d = r[a + 1], l = d !== void 0 && (
|
|
88
|
+
const c = r[a], d = r[a + 1], l = d !== void 0 && (di(d) || d === "-");
|
|
89
89
|
if (Array.isArray(s)) {
|
|
90
90
|
const p = parseInt(c, 10);
|
|
91
91
|
(s[p] === void 0 || typeof s[p] != "object") && (s[p] = l ? [] : {}), s = s[p];
|
|
@@ -108,7 +108,7 @@ function vr(e, t, n) {
|
|
|
108
108
|
if (r.length === 0) return;
|
|
109
109
|
let s = e;
|
|
110
110
|
for (let a = 0; a < r.length - 1; a++) {
|
|
111
|
-
const c = r[a], d = r[a + 1], l = d !== void 0 && (
|
|
111
|
+
const c = r[a], d = r[a + 1], l = d !== void 0 && (di(d) || d === "-");
|
|
112
112
|
if (Array.isArray(s)) {
|
|
113
113
|
const p = parseInt(c, 10);
|
|
114
114
|
(s[p] === void 0 || typeof s[p] != "object") && (s[p] = l ? [] : {}), s = s[p];
|
|
@@ -168,7 +168,7 @@ function Dr(e) {
|
|
|
168
168
|
return null;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function ui(e, t) {
|
|
172
172
|
switch (t.op) {
|
|
173
173
|
case "add":
|
|
174
174
|
vr(e, t.path, t.value);
|
|
@@ -203,7 +203,7 @@ function di(e, t) {
|
|
|
203
203
|
return e;
|
|
204
204
|
}
|
|
205
205
|
function au(e, t) {
|
|
206
|
-
return
|
|
206
|
+
return ui(e, t), e;
|
|
207
207
|
}
|
|
208
208
|
function iu(e) {
|
|
209
209
|
const t = {};
|
|
@@ -230,7 +230,7 @@ function cu(e, t = {}) {
|
|
|
230
230
|
`), r = { ...t };
|
|
231
231
|
for (const s of n) {
|
|
232
232
|
const i = Dr(s);
|
|
233
|
-
i &&
|
|
233
|
+
i && ui(r, i);
|
|
234
234
|
}
|
|
235
235
|
return r;
|
|
236
236
|
}
|
|
@@ -409,16 +409,16 @@ function yu(e, t) {
|
|
|
409
409
|
function ku(e) {
|
|
410
410
|
return typeof e == "object" && e !== null && "$state" in e && typeof e.$state == "string";
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function pi(e) {
|
|
413
413
|
return typeof e == "object" && e !== null && "$item" in e && typeof e.$item == "string";
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function mi(e) {
|
|
416
416
|
return typeof e == "object" && e !== null && "$index" in e && e.$index === !0;
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function hi(e) {
|
|
419
419
|
return typeof e == "object" && e !== null && "$bindState" in e && typeof e.$bindState == "string";
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function fi(e) {
|
|
422
422
|
return typeof e == "object" && e !== null && "$bindItem" in e && typeof e.$bindItem == "string";
|
|
423
423
|
}
|
|
424
424
|
function Su(e) {
|
|
@@ -444,13 +444,13 @@ function Mt(e, t) {
|
|
|
444
444
|
return e;
|
|
445
445
|
if (ku(e))
|
|
446
446
|
return fe(t.stateModel, e.$state);
|
|
447
|
-
if (ui(e))
|
|
448
|
-
return t.repeatItem === void 0 ? void 0 : e.$item === "" ? t.repeatItem : fe(t.repeatItem, e.$item);
|
|
449
447
|
if (pi(e))
|
|
450
|
-
return t.
|
|
448
|
+
return t.repeatItem === void 0 ? void 0 : e.$item === "" ? t.repeatItem : fe(t.repeatItem, e.$item);
|
|
451
449
|
if (mi(e))
|
|
450
|
+
return t.repeatIndex;
|
|
451
|
+
if (hi(e))
|
|
452
452
|
return fe(t.stateModel, e.$bindState);
|
|
453
|
-
if (
|
|
453
|
+
if (fi(e)) {
|
|
454
454
|
const r = So(e.$bindItem, t);
|
|
455
455
|
return r === void 0 ? void 0 : fe(t.stateModel, r);
|
|
456
456
|
}
|
|
@@ -511,20 +511,20 @@ function Eu(e, t) {
|
|
|
511
511
|
function Tu(e, t) {
|
|
512
512
|
let n;
|
|
513
513
|
for (const [r, s] of Object.entries(e))
|
|
514
|
-
if (
|
|
514
|
+
if (hi(s))
|
|
515
515
|
n || (n = {}), n[r] = s.$bindState;
|
|
516
|
-
else if (
|
|
516
|
+
else if (fi(s)) {
|
|
517
517
|
const i = So(s.$bindItem, t);
|
|
518
518
|
i !== void 0 && (n || (n = {}), n[r] = i);
|
|
519
519
|
}
|
|
520
520
|
return n;
|
|
521
521
|
}
|
|
522
522
|
function ys(e, t) {
|
|
523
|
-
return
|
|
523
|
+
return pi(e) ? So(e.$item, t) : mi(e) ? t.repeatIndex : Mt(e, t);
|
|
524
524
|
}
|
|
525
|
-
var
|
|
525
|
+
var gi = /* @__PURE__ */ new Set();
|
|
526
526
|
function Au(e) {
|
|
527
|
-
for (const t of
|
|
527
|
+
for (const t of gi) {
|
|
528
528
|
const n = t.onDispatch;
|
|
529
529
|
if (n)
|
|
530
530
|
try {
|
|
@@ -538,7 +538,7 @@ function Au(e) {
|
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
540
|
function Iu(e) {
|
|
541
|
-
for (const t of
|
|
541
|
+
for (const t of gi) {
|
|
542
542
|
const n = t.onSettle;
|
|
543
543
|
if (n)
|
|
544
544
|
try {
|
|
@@ -577,7 +577,7 @@ var Ru = k.object({
|
|
|
577
577
|
]);
|
|
578
578
|
k.object({
|
|
579
579
|
action: k.string(),
|
|
580
|
-
params: k.record(k.string(),
|
|
580
|
+
params: k.record(k.string(), ci).optional(),
|
|
581
581
|
confirm: Ru.optional(),
|
|
582
582
|
onSuccess: $u.optional(),
|
|
583
583
|
onError: Lu.optional(),
|
|
@@ -587,7 +587,7 @@ function Du(e, t) {
|
|
|
587
587
|
const n = {};
|
|
588
588
|
if (e.params)
|
|
589
589
|
for (const [s, i] of Object.entries(e.params))
|
|
590
|
-
n[s] =
|
|
590
|
+
n[s] = li(i, t);
|
|
591
591
|
let r = e.confirm;
|
|
592
592
|
return r && (r = {
|
|
593
593
|
...r,
|
|
@@ -603,7 +603,7 @@ function Du(e, t) {
|
|
|
603
603
|
}
|
|
604
604
|
function Cs(e, t) {
|
|
605
605
|
return e.replace(/\$\{([^}]+)\}/g, (n, r) => {
|
|
606
|
-
const s =
|
|
606
|
+
const s = li({ $state: r }, t);
|
|
607
607
|
return String(s ?? "");
|
|
608
608
|
});
|
|
609
609
|
}
|
|
@@ -631,7 +631,7 @@ async function Ns(e) {
|
|
|
631
631
|
}
|
|
632
632
|
var ju = k.object({
|
|
633
633
|
type: k.string(),
|
|
634
|
-
args: k.record(k.string(),
|
|
634
|
+
args: k.record(k.string(), ci).optional(),
|
|
635
635
|
message: k.string()
|
|
636
636
|
});
|
|
637
637
|
k.object({
|
|
@@ -872,7 +872,7 @@ function Gu(e, t) {
|
|
|
872
872
|
return r.join(`
|
|
873
873
|
`);
|
|
874
874
|
}
|
|
875
|
-
function
|
|
875
|
+
function bi(e) {
|
|
876
876
|
if (!e || typeof e != "object") return !1;
|
|
877
877
|
const t = e;
|
|
878
878
|
return typeof t.root == "string" && typeof t.elements == "object" && t.elements !== null && Object.keys(t.elements).length > 0;
|
|
@@ -1284,9 +1284,9 @@ Note: state patches appear right after the elements that use them, so the UI fil
|
|
|
1284
1284
|
`);
|
|
1285
1285
|
}
|
|
1286
1286
|
function Es(e) {
|
|
1287
|
-
return e.example && Object.keys(e.example).length > 0 ? e.example : e.props ?
|
|
1287
|
+
return e.example && Object.keys(e.example).length > 0 ? e.example : e.props ? wi(e.props) : {};
|
|
1288
1288
|
}
|
|
1289
|
-
function
|
|
1289
|
+
function wi(e) {
|
|
1290
1290
|
if (!e || !e._def) return {};
|
|
1291
1291
|
const t = e._def, n = Rt(e);
|
|
1292
1292
|
if (n !== "ZodObject" && n !== "object") return {};
|
|
@@ -1339,7 +1339,7 @@ function Hr(e) {
|
|
|
1339
1339
|
return [];
|
|
1340
1340
|
case "ZodObject":
|
|
1341
1341
|
case "object":
|
|
1342
|
-
return
|
|
1342
|
+
return wi(e);
|
|
1343
1343
|
case "ZodUnion":
|
|
1344
1344
|
case "union": {
|
|
1345
1345
|
const r = t.options;
|
|
@@ -1606,7 +1606,7 @@ var sp = Zu(
|
|
|
1606
1606
|
"Always include realistic, professional-looking sample data. For blogs include 3-4 posts with varied titles, authors, dates, categories. For products include names, prices, images. Never leave data empty."
|
|
1607
1607
|
]
|
|
1608
1608
|
}
|
|
1609
|
-
),
|
|
1609
|
+
), xi = Le(null);
|
|
1610
1610
|
function ap(e, t) {
|
|
1611
1611
|
return e ? null : Object.keys(t).length === 0 ? {} : yo(t);
|
|
1612
1612
|
}
|
|
@@ -1643,7 +1643,7 @@ function ip({
|
|
|
1643
1643
|
_[N] !== x[N] && (v[N] = N in x ? x[N] : void 0);
|
|
1644
1644
|
u.current = x, Object.keys(v).length > 0 && i.update(v);
|
|
1645
1645
|
}, [e, t, i]);
|
|
1646
|
-
const m =
|
|
1646
|
+
const m = vl(
|
|
1647
1647
|
i.subscribe,
|
|
1648
1648
|
i.getSnapshot,
|
|
1649
1649
|
i.getServerSnapshot ?? i.getSnapshot
|
|
@@ -1666,15 +1666,15 @@ function ip({
|
|
|
1666
1666
|
() => ({ state: m, get: S, set: b, update: g, getSnapshot: w }),
|
|
1667
1667
|
[m, S, b, g, w]
|
|
1668
1668
|
);
|
|
1669
|
-
return /* @__PURE__ */ o(
|
|
1669
|
+
return /* @__PURE__ */ o(xi.Provider, { value: C, children: r });
|
|
1670
1670
|
}
|
|
1671
1671
|
function kn() {
|
|
1672
|
-
const e = Me(
|
|
1672
|
+
const e = Me(xi);
|
|
1673
1673
|
if (!e)
|
|
1674
1674
|
throw new Error("useStateStore must be used within a StateProvider");
|
|
1675
1675
|
return e;
|
|
1676
1676
|
}
|
|
1677
|
-
var
|
|
1677
|
+
var vi = Le(null);
|
|
1678
1678
|
function cp({ children: e }) {
|
|
1679
1679
|
const { state: t } = kn(), n = se(
|
|
1680
1680
|
() => ({
|
|
@@ -1688,15 +1688,15 @@ function cp({ children: e }) {
|
|
|
1688
1688
|
() => ({ isVisible: r, ctx: n }),
|
|
1689
1689
|
[r, n]
|
|
1690
1690
|
);
|
|
1691
|
-
return /* @__PURE__ */ o(
|
|
1691
|
+
return /* @__PURE__ */ o(vi.Provider, { value: s, children: e });
|
|
1692
1692
|
}
|
|
1693
1693
|
function lp() {
|
|
1694
|
-
const e = Me(
|
|
1694
|
+
const e = Me(vi);
|
|
1695
1695
|
if (!e)
|
|
1696
1696
|
throw new Error("useVisibility must be used within a VisibilityProvider");
|
|
1697
1697
|
return e;
|
|
1698
1698
|
}
|
|
1699
|
-
var
|
|
1699
|
+
var yi = Le(null);
|
|
1700
1700
|
function dp(e, t) {
|
|
1701
1701
|
if (e === t) return !0;
|
|
1702
1702
|
if (!e || !t) return !1;
|
|
@@ -1809,10 +1809,10 @@ function pp({
|
|
|
1809
1809
|
l
|
|
1810
1810
|
]
|
|
1811
1811
|
);
|
|
1812
|
-
return /* @__PURE__ */ o(
|
|
1812
|
+
return /* @__PURE__ */ o(yi.Provider, { value: b, children: t });
|
|
1813
1813
|
}
|
|
1814
1814
|
function mp() {
|
|
1815
|
-
return Me(
|
|
1815
|
+
return Me(yi);
|
|
1816
1816
|
}
|
|
1817
1817
|
var Is = 0;
|
|
1818
1818
|
function Ms() {
|
|
@@ -1839,7 +1839,7 @@ function Fr(e, t) {
|
|
|
1839
1839
|
}
|
|
1840
1840
|
return e;
|
|
1841
1841
|
}
|
|
1842
|
-
var
|
|
1842
|
+
var ki = Le(null);
|
|
1843
1843
|
function hp({
|
|
1844
1844
|
handlers: e = {},
|
|
1845
1845
|
navigate: t,
|
|
@@ -2011,10 +2011,10 @@ function hp({
|
|
|
2011
2011
|
h
|
|
2012
2012
|
]
|
|
2013
2013
|
);
|
|
2014
|
-
return /* @__PURE__ */ o(
|
|
2014
|
+
return /* @__PURE__ */ o(ki.Provider, { value: w, children: n });
|
|
2015
2015
|
}
|
|
2016
|
-
function
|
|
2017
|
-
const e = Me(
|
|
2016
|
+
function Si() {
|
|
2017
|
+
const e = Me(ki);
|
|
2018
2018
|
if (!e)
|
|
2019
2019
|
throw new Error("useActions must be used within an ActionProvider");
|
|
2020
2020
|
return e;
|
|
@@ -2119,17 +2119,17 @@ function fp({
|
|
|
2119
2119
|
}
|
|
2120
2120
|
);
|
|
2121
2121
|
}
|
|
2122
|
-
var
|
|
2122
|
+
var Ci = Le(null);
|
|
2123
2123
|
function gp({
|
|
2124
2124
|
item: e,
|
|
2125
2125
|
index: t,
|
|
2126
2126
|
basePath: n,
|
|
2127
2127
|
children: r
|
|
2128
2128
|
}) {
|
|
2129
|
-
return /* @__PURE__ */ o(
|
|
2129
|
+
return /* @__PURE__ */ o(Ci.Provider, { value: { item: e, index: t, basePath: n }, children: r });
|
|
2130
2130
|
}
|
|
2131
2131
|
function bp() {
|
|
2132
|
-
return Me(
|
|
2132
|
+
return Me(Ci);
|
|
2133
2133
|
}
|
|
2134
2134
|
var wp = class extends pe.Component {
|
|
2135
2135
|
constructor(e) {
|
|
@@ -2148,15 +2148,15 @@ var wp = class extends pe.Component {
|
|
|
2148
2148
|
render() {
|
|
2149
2149
|
return this.state.hasError ? null : this.props.children;
|
|
2150
2150
|
}
|
|
2151
|
-
},
|
|
2151
|
+
}, Ni = {}, _i = pe.createContext(Ni);
|
|
2152
2152
|
function xp() {
|
|
2153
|
-
return pe.useContext(
|
|
2153
|
+
return pe.useContext(_i);
|
|
2154
2154
|
}
|
|
2155
|
-
var
|
|
2155
|
+
var Ei = pe.createContext(
|
|
2156
2156
|
void 0
|
|
2157
2157
|
);
|
|
2158
2158
|
function vp() {
|
|
2159
|
-
return pe.useContext(
|
|
2159
|
+
return pe.useContext(Ei);
|
|
2160
2160
|
}
|
|
2161
2161
|
function yp() {
|
|
2162
2162
|
return pe.useSyncExternalStore(
|
|
@@ -2165,7 +2165,7 @@ function yp() {
|
|
|
2165
2165
|
() => !1
|
|
2166
2166
|
);
|
|
2167
2167
|
}
|
|
2168
|
-
var
|
|
2168
|
+
var Ti = pe.memo(function e({
|
|
2169
2169
|
element: t,
|
|
2170
2170
|
elementKey: n,
|
|
2171
2171
|
spec: r,
|
|
@@ -2174,7 +2174,7 @@ var Ei = pe.memo(function e({
|
|
|
2174
2174
|
fallback: a
|
|
2175
2175
|
}) {
|
|
2176
2176
|
var W;
|
|
2177
|
-
const c = yp(), d = bp(), { ctx: l } = lp(), { execute: p } =
|
|
2177
|
+
const c = yp(), d = bp(), { ctx: l } = lp(), { execute: p } = Si(), { getSnapshot: u, state: m } = kn(), h = xp(), b = vp(), g = se(() => {
|
|
2178
2178
|
const $ = d ? {
|
|
2179
2179
|
...l,
|
|
2180
2180
|
repeatItem: d.item,
|
|
@@ -2327,7 +2327,7 @@ function kp({
|
|
|
2327
2327
|
children: (m = e.children) == null ? void 0 : m.map((h) => {
|
|
2328
2328
|
const b = t.elements[h];
|
|
2329
2329
|
return b ? /* @__PURE__ */ o(
|
|
2330
|
-
|
|
2330
|
+
Ti,
|
|
2331
2331
|
{
|
|
2332
2332
|
element: b,
|
|
2333
2333
|
elementKey: h,
|
|
@@ -2351,7 +2351,7 @@ function Sp({ spec: e, registry: t, loading: n, fallback: r }) {
|
|
|
2351
2351
|
return null;
|
|
2352
2352
|
const s = e.elements[e.root];
|
|
2353
2353
|
return s ? /* @__PURE__ */ o(
|
|
2354
|
-
|
|
2354
|
+
Ti,
|
|
2355
2355
|
{
|
|
2356
2356
|
element: s,
|
|
2357
2357
|
elementKey: e.root,
|
|
@@ -2384,7 +2384,7 @@ function Cp({
|
|
|
2384
2384
|
store: t,
|
|
2385
2385
|
initialState: n,
|
|
2386
2386
|
onStateChange: d,
|
|
2387
|
-
children: /* @__PURE__ */ o(cp, { children: /* @__PURE__ */ o(pp, { customFunctions: i, children: /* @__PURE__ */ o(hp, { handlers: r, navigate: s, children: /* @__PURE__ */ o(
|
|
2387
|
+
children: /* @__PURE__ */ o(cp, { children: /* @__PURE__ */ o(pp, { customFunctions: i, children: /* @__PURE__ */ o(hp, { handlers: r, navigate: s, children: /* @__PURE__ */ o(_i.Provider, { value: a ?? Ni, children: /* @__PURE__ */ f(Ei.Provider, { value: p, children: [
|
|
2388
2388
|
l,
|
|
2389
2389
|
/* @__PURE__ */ o(Np, {})
|
|
2390
2390
|
] }) }) }) }) })
|
|
@@ -2392,7 +2392,7 @@ function Cp({
|
|
|
2392
2392
|
);
|
|
2393
2393
|
}
|
|
2394
2394
|
function Np() {
|
|
2395
|
-
const { pendingConfirmation: e, confirm: t, cancel: n } =
|
|
2395
|
+
const { pendingConfirmation: e, confirm: t, cancel: n } = Si();
|
|
2396
2396
|
return e != null && e.action.confirm ? /* @__PURE__ */ o(
|
|
2397
2397
|
fp,
|
|
2398
2398
|
{
|
|
@@ -2470,31 +2470,31 @@ function Tp(e) {
|
|
|
2470
2470
|
function X() {
|
|
2471
2471
|
const { dir: e } = bo(), t = J();
|
|
2472
2472
|
return se(() => {
|
|
2473
|
-
const n =
|
|
2473
|
+
const n = ja(t.language);
|
|
2474
2474
|
return {
|
|
2475
|
-
t: (s, i) =>
|
|
2475
|
+
t: (s, i) => Ha(s, n, t.translationOverrides, i),
|
|
2476
2476
|
language: n,
|
|
2477
2477
|
dir: $l(n) ? "rtl" : "ltr",
|
|
2478
2478
|
hostDocumentDir: e
|
|
2479
2479
|
};
|
|
2480
2480
|
}, [t.language, t.translationOverrides, e]);
|
|
2481
2481
|
}
|
|
2482
|
-
function
|
|
2483
|
-
const t =
|
|
2484
|
-
return (n, r) =>
|
|
2482
|
+
function Ai(e) {
|
|
2483
|
+
const t = ja(e);
|
|
2484
|
+
return (n, r) => Ha(n, t, void 0, r);
|
|
2485
2485
|
}
|
|
2486
2486
|
const Ap = {
|
|
2487
|
-
t:
|
|
2487
|
+
t: Ai("en"),
|
|
2488
2488
|
anchorTarget: "_blank"
|
|
2489
|
-
},
|
|
2489
|
+
}, Ii = Le(Ap);
|
|
2490
2490
|
function Ip({
|
|
2491
2491
|
host: e,
|
|
2492
2492
|
children: t
|
|
2493
2493
|
}) {
|
|
2494
|
-
return /* @__PURE__ */ o(
|
|
2494
|
+
return /* @__PURE__ */ o(Ii.Provider, { value: e, children: t });
|
|
2495
2495
|
}
|
|
2496
2496
|
function or() {
|
|
2497
|
-
return Me(
|
|
2497
|
+
return Me(Ii);
|
|
2498
2498
|
}
|
|
2499
2499
|
function Mp({
|
|
2500
2500
|
language: e,
|
|
@@ -2502,7 +2502,7 @@ function Mp({
|
|
|
2502
2502
|
anchorTarget: n = "_blank"
|
|
2503
2503
|
}) {
|
|
2504
2504
|
return se(
|
|
2505
|
-
() => ({ t:
|
|
2505
|
+
() => ({ t: Ai(e), anchorTarget: n, onUiAction: t }),
|
|
2506
2506
|
[e, n, t]
|
|
2507
2507
|
);
|
|
2508
2508
|
}
|
|
@@ -2550,10 +2550,10 @@ function Op(e, t) {
|
|
|
2550
2550
|
function T(...e) {
|
|
2551
2551
|
return Zd(Kd(e));
|
|
2552
2552
|
}
|
|
2553
|
-
const Rp = pe.lazy(() => import("./Chart.impl-
|
|
2553
|
+
const Rp = pe.lazy(() => import("./Chart.impl-LdzEPoA0.js"));
|
|
2554
2554
|
function $p(e) {
|
|
2555
2555
|
const t = e.height ?? 220;
|
|
2556
|
-
return /* @__PURE__ */ o(
|
|
2556
|
+
return /* @__PURE__ */ o(yl, { fallback: /* @__PURE__ */ o(Lp, { height: t }), children: /* @__PURE__ */ o(Rp, { ...e }) });
|
|
2557
2557
|
}
|
|
2558
2558
|
function Lp({ height: e }) {
|
|
2559
2559
|
return /* @__PURE__ */ o(
|
|
@@ -2565,26 +2565,26 @@ function Lp({ height: e }) {
|
|
|
2565
2565
|
}
|
|
2566
2566
|
);
|
|
2567
2567
|
}
|
|
2568
|
-
const
|
|
2568
|
+
const Mi = k.object({
|
|
2569
2569
|
title: k.string().nullish(),
|
|
2570
2570
|
description: k.string().nullish()
|
|
2571
|
-
}),
|
|
2571
|
+
}), Pi = k.object({
|
|
2572
2572
|
direction: k.enum(["row", "column"]).nullish(),
|
|
2573
2573
|
gap: k.enum(["sm", "md", "lg"]).nullish(),
|
|
2574
2574
|
align: k.enum(["start", "center", "end", "stretch"]).nullish(),
|
|
2575
2575
|
justify: k.enum(["start", "center", "end", "between"]).nullish()
|
|
2576
|
-
}),
|
|
2576
|
+
}), zi = k.object({
|
|
2577
2577
|
// The prompt's contract is "Grid columns max 3" — this renders in a compact
|
|
2578
2578
|
// chat widget, so wider grids are rejected at the schema.
|
|
2579
2579
|
columns: k.union([k.literal(1), k.literal(2), k.literal(3)]).nullish(),
|
|
2580
2580
|
gap: k.enum(["sm", "md", "lg"]).nullish()
|
|
2581
|
-
}),
|
|
2581
|
+
}), Oi = k.object({
|
|
2582
2582
|
text: k.string(),
|
|
2583
2583
|
level: k.union([k.literal(1), k.literal(2), k.literal(3), k.literal(4)]).nullish()
|
|
2584
|
-
}),
|
|
2584
|
+
}), Ri = k.object({
|
|
2585
2585
|
text: k.string(),
|
|
2586
2586
|
variant: k.enum(["body", "caption", "muted", "code"]).nullish()
|
|
2587
|
-
}),
|
|
2587
|
+
}), $i = k.object({
|
|
2588
2588
|
text: k.string(),
|
|
2589
2589
|
variant: k.enum(["default", "secondary", "success", "warning", "destructive"]).nullish()
|
|
2590
2590
|
}), Dp = /* @__PURE__ */ new Set(["http:", "https:", "mailto:"]), jp = k.string().nullish().transform((e) => {
|
|
@@ -2594,21 +2594,21 @@ const Ii = k.object({
|
|
|
2594
2594
|
} catch {
|
|
2595
2595
|
return null;
|
|
2596
2596
|
}
|
|
2597
|
-
}),
|
|
2597
|
+
}), Li = k.object({
|
|
2598
2598
|
id: k.string().nullish(),
|
|
2599
2599
|
label: k.string(),
|
|
2600
2600
|
secondary: k.string().nullish(),
|
|
2601
2601
|
badge: k.string().nullish(),
|
|
2602
2602
|
status: k.enum(["success", "warning", "error", "info", "neutral"]).nullish(),
|
|
2603
2603
|
href: jp
|
|
2604
|
-
}),
|
|
2605
|
-
items: k.array(
|
|
2604
|
+
}), Di = k.object({
|
|
2605
|
+
items: k.array(Li),
|
|
2606
2606
|
/** Show first N items with a "See X more" expand control. Default 10. */
|
|
2607
2607
|
maxVisible: k.number().int().positive().nullish()
|
|
2608
2608
|
}), Hp = k.object({
|
|
2609
|
-
items: k.array(
|
|
2610
|
-
maxVisible:
|
|
2611
|
-
}),
|
|
2609
|
+
items: k.array(Li.extend({ href: k.string().nullish() })),
|
|
2610
|
+
maxVisible: Di.shape.maxVisible
|
|
2611
|
+
}), ji = k.object({
|
|
2612
2612
|
columns: k.array(k.string()),
|
|
2613
2613
|
rows: k.array(k.array(k.string())),
|
|
2614
2614
|
caption: k.string().nullish()
|
|
@@ -2619,27 +2619,27 @@ const Ii = k.object({
|
|
|
2619
2619
|
direction: k.enum(["up", "down", "flat"]),
|
|
2620
2620
|
/** Comparison context, e.g. "vs previous 30d". */
|
|
2621
2621
|
label: k.string().nullish()
|
|
2622
|
-
}),
|
|
2622
|
+
}), Hi = k.object({
|
|
2623
2623
|
label: k.string(),
|
|
2624
2624
|
value: k.string(),
|
|
2625
2625
|
description: k.string().nullish(),
|
|
2626
2626
|
trend: k.enum(["up", "down", "neutral"]).nullish(),
|
|
2627
2627
|
delta: Fp.nullish()
|
|
2628
|
-
}),
|
|
2628
|
+
}), Fi = k.object({
|
|
2629
2629
|
type: k.enum(["info", "tip", "warning", "important"]).nullish(),
|
|
2630
2630
|
title: k.string().nullish(),
|
|
2631
2631
|
content: k.string()
|
|
2632
2632
|
}), Wp = k.object({
|
|
2633
2633
|
label: k.string(),
|
|
2634
2634
|
value: k.number()
|
|
2635
|
-
}),
|
|
2635
|
+
}), Wi = k.object({
|
|
2636
2636
|
type: k.enum(["bar", "line", "pie"]),
|
|
2637
2637
|
data: k.array(Wp),
|
|
2638
2638
|
title: k.string().nullish(),
|
|
2639
2639
|
height: k.number().int().positive().nullish(),
|
|
2640
2640
|
/** Pie only: big number/text shown in the donut hole (e.g. the total). */
|
|
2641
2641
|
centerLabel: k.string().nullish()
|
|
2642
|
-
}),
|
|
2642
|
+
}), Ui = k.object({
|
|
2643
2643
|
agentId: k.string(),
|
|
2644
2644
|
agentName: k.string(),
|
|
2645
2645
|
model: k.string().nullish()
|
|
@@ -2651,32 +2651,32 @@ function Re(e, t, n) {
|
|
|
2651
2651
|
const Up = op(sp, {
|
|
2652
2652
|
components: {
|
|
2653
2653
|
Card: {
|
|
2654
|
-
props:
|
|
2654
|
+
props: Mi,
|
|
2655
2655
|
slots: ["default"],
|
|
2656
2656
|
description: "Container card with an optional title/description. Group related content.",
|
|
2657
2657
|
example: { title: "Order summary", description: "Placed 2 days ago" }
|
|
2658
2658
|
},
|
|
2659
2659
|
Stack: {
|
|
2660
|
-
props:
|
|
2660
|
+
props: Pi,
|
|
2661
2661
|
slots: ["default"],
|
|
2662
2662
|
description: 'Flex layout. Use direction="row" for side-by-side, "column" (default) to stack.'
|
|
2663
2663
|
},
|
|
2664
2664
|
Grid: {
|
|
2665
|
-
props:
|
|
2665
|
+
props: zi,
|
|
2666
2666
|
slots: ["default"],
|
|
2667
2667
|
description: "Column grid that wraps on narrow screens. columns=2 for side-by-side metrics or cards; columns=3 only for three short metrics — the chat panel is about 400px wide, so three wide cells wrap."
|
|
2668
2668
|
},
|
|
2669
2669
|
Heading: {
|
|
2670
|
-
props:
|
|
2670
|
+
props: Oi,
|
|
2671
2671
|
description: "Section heading. level 1 (largest) to 4.",
|
|
2672
2672
|
example: { text: "Your orders", level: 3 }
|
|
2673
2673
|
},
|
|
2674
2674
|
Text: {
|
|
2675
|
-
props:
|
|
2675
|
+
props: Ri,
|
|
2676
2676
|
description: 'A paragraph of text. variant "muted"/"caption" for secondary text, "code" for monospace.'
|
|
2677
2677
|
},
|
|
2678
2678
|
Badge: {
|
|
2679
|
-
props:
|
|
2679
|
+
props: $i,
|
|
2680
2680
|
description: "Small status pill. Use variant to convey state (success/warning/destructive).",
|
|
2681
2681
|
example: { text: "Delivered", variant: "success" }
|
|
2682
2682
|
},
|
|
@@ -2691,7 +2691,7 @@ const Up = op(sp, {
|
|
|
2691
2691
|
}
|
|
2692
2692
|
},
|
|
2693
2693
|
Table: {
|
|
2694
|
-
props:
|
|
2694
|
+
props: ji,
|
|
2695
2695
|
description: "A data table. `columns` are header strings; `rows` is a 2D array of cell strings (each row same length as columns).",
|
|
2696
2696
|
example: {
|
|
2697
2697
|
columns: ["Item", "Qty", "Price"],
|
|
@@ -2702,7 +2702,7 @@ const Up = op(sp, {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
},
|
|
2704
2704
|
Metric: {
|
|
2705
|
-
props:
|
|
2705
|
+
props: Hi,
|
|
2706
2706
|
description: "A single key figure (KPI / insight card) with a label, big value, optional description, trend arrow, and an optional period-over-period delta ({ value, direction, label }).",
|
|
2707
2707
|
example: {
|
|
2708
2708
|
label: "Total spent",
|
|
@@ -2713,7 +2713,7 @@ const Up = op(sp, {
|
|
|
2713
2713
|
}
|
|
2714
2714
|
},
|
|
2715
2715
|
Callout: {
|
|
2716
|
-
props:
|
|
2716
|
+
props: Fi,
|
|
2717
2717
|
description: "A highlighted info / tip / warning box for a single important note. Use for one call-out, not for long prose.",
|
|
2718
2718
|
example: {
|
|
2719
2719
|
type: "tip",
|
|
@@ -2722,7 +2722,7 @@ const Up = op(sp, {
|
|
|
2722
2722
|
}
|
|
2723
2723
|
},
|
|
2724
2724
|
PhoneAgentCard: {
|
|
2725
|
-
props:
|
|
2725
|
+
props: Ui,
|
|
2726
2726
|
description: 'A phone agent card with a "Test via web" action. NEVER author this yourself: it only comes back, already fenced, from the phone-agent tools — carry that fence verbatim.',
|
|
2727
2727
|
example: {
|
|
2728
2728
|
agentId: "00000000-0000-4000-8000-000000000000",
|
|
@@ -2731,7 +2731,7 @@ const Up = op(sp, {
|
|
|
2731
2731
|
}
|
|
2732
2732
|
},
|
|
2733
2733
|
Chart: {
|
|
2734
|
-
props:
|
|
2734
|
+
props: Wi,
|
|
2735
2735
|
description: "A bar, line, or pie (donut) chart. `data` is an array of { label, value } points. Choose by the question: line = trend over time, bar = comparison across categories, pie = share of a total (optional `centerLabel` shows a big number in the donut hole). Use for trends or distributions, not for a handful of numbers (use Metric for those). Colours, axes, legend, and tooltips are handled for you.",
|
|
2736
2736
|
example: {
|
|
2737
2737
|
type: "bar",
|
|
@@ -2762,7 +2762,7 @@ function qp(e) {
|
|
|
2762
2762
|
const { registry: zs } = _p(Up, {
|
|
2763
2763
|
components: {
|
|
2764
2764
|
Card: ({ props: e, children: t, loading: n }) => {
|
|
2765
|
-
const r = Re(
|
|
2765
|
+
const r = Re(Mi, e, {});
|
|
2766
2766
|
return /* @__PURE__ */ f("div", { className: "flex flex-col gap-2 rounded-xl border border-muted-foreground/15 p-3", children: [
|
|
2767
2767
|
(r.title || r.description) && /* @__PURE__ */ f("div", { className: "flex flex-col gap-0.5", children: [
|
|
2768
2768
|
r.title && /* @__PURE__ */ o("div", { className: "text-sm font-semibold text-foreground", children: r.title }),
|
|
@@ -2772,7 +2772,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2772
2772
|
] });
|
|
2773
2773
|
},
|
|
2774
2774
|
Stack: ({ props: e, children: t, loading: n }) => {
|
|
2775
|
-
const r = Re(
|
|
2775
|
+
const r = Re(Pi, e, {}), s = {
|
|
2776
2776
|
start: "items-start",
|
|
2777
2777
|
center: "items-center",
|
|
2778
2778
|
end: "items-end",
|
|
@@ -2798,7 +2798,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2798
2798
|
);
|
|
2799
2799
|
},
|
|
2800
2800
|
Grid: ({ props: e, children: t, loading: n }) => {
|
|
2801
|
-
const r = Re(
|
|
2801
|
+
const r = Re(zi, e, {});
|
|
2802
2802
|
return /* @__PURE__ */ o(
|
|
2803
2803
|
"div",
|
|
2804
2804
|
{
|
|
@@ -2809,7 +2809,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2809
2809
|
);
|
|
2810
2810
|
},
|
|
2811
2811
|
Heading: ({ props: e }) => {
|
|
2812
|
-
const t = Re(
|
|
2812
|
+
const t = Re(Oi, e, { text: "" }), n = t.level ?? 3, r = {
|
|
2813
2813
|
1: "text-xl font-bold",
|
|
2814
2814
|
2: "text-lg font-bold",
|
|
2815
2815
|
3: "text-base font-semibold",
|
|
@@ -2822,7 +2822,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2822
2822
|
);
|
|
2823
2823
|
},
|
|
2824
2824
|
Text: ({ props: e }) => {
|
|
2825
|
-
const t = Re(
|
|
2825
|
+
const t = Re(Ri, e, { text: "" });
|
|
2826
2826
|
if (t.variant === "code")
|
|
2827
2827
|
return /* @__PURE__ */ o("code", { className: "rounded bg-muted px-1.5 py-0.5 font-mono text-xs text-foreground", children: t.text });
|
|
2828
2828
|
const n = t.variant === "muted" || t.variant === "caption";
|
|
@@ -2838,7 +2838,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2838
2838
|
);
|
|
2839
2839
|
},
|
|
2840
2840
|
Badge: ({ props: e }) => {
|
|
2841
|
-
const t = Re(
|
|
2841
|
+
const t = Re($i, e, { text: "" }), n = {
|
|
2842
2842
|
default: "bg-primary text-primary-foreground",
|
|
2843
2843
|
secondary: "bg-secondary text-secondary-foreground",
|
|
2844
2844
|
success: "bg-emerald-500/15 text-emerald-600 dark:text-emerald-400",
|
|
@@ -2857,11 +2857,11 @@ const { registry: zs } = _p(Up, {
|
|
|
2857
2857
|
);
|
|
2858
2858
|
},
|
|
2859
2859
|
List: ({ props: e, loading: t }) => {
|
|
2860
|
-
const n = Re(
|
|
2860
|
+
const n = Re(Di, e, { items: [] });
|
|
2861
2861
|
return n.items.length === 0 ? t ? /* @__PURE__ */ o(Wr, {}) : /* @__PURE__ */ o(Os, { translationKey: "json_no_items" }) : /* @__PURE__ */ o(rm, { items: n.items, maxVisible: n.maxVisible });
|
|
2862
2862
|
},
|
|
2863
2863
|
Table: ({ props: e, loading: t }) => {
|
|
2864
|
-
const n = Re(
|
|
2864
|
+
const n = Re(ji, e, { columns: [], rows: [] });
|
|
2865
2865
|
return t && n.rows.length === 0 ? /* @__PURE__ */ o(Wr, {}) : n.columns.length === 0 ? /* @__PURE__ */ o(Os, { translationKey: "json_no_data" }) : /* @__PURE__ */ o("div", { className: "overflow-x-auto rounded-lg border border-muted-foreground/15", children: /* @__PURE__ */ f("table", { className: "w-full text-sm", children: [
|
|
2866
2866
|
n.caption && /* @__PURE__ */ o("caption", { className: "px-3 py-2 text-start text-xs text-muted-foreground", children: n.caption }),
|
|
2867
2867
|
/* @__PURE__ */ o("thead", { children: /* @__PURE__ */ o("tr", { className: "border-b border-muted-foreground/15 bg-muted/40", children: n.columns.map((r, s) => /* @__PURE__ */ o(
|
|
@@ -2883,7 +2883,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2883
2883
|
] }) });
|
|
2884
2884
|
},
|
|
2885
2885
|
Metric: ({ props: e }) => {
|
|
2886
|
-
const t = Re(
|
|
2886
|
+
const t = Re(Hi, e, { label: "", value: "" });
|
|
2887
2887
|
return /* @__PURE__ */ o(
|
|
2888
2888
|
em,
|
|
2889
2889
|
{
|
|
@@ -2896,7 +2896,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2896
2896
|
);
|
|
2897
2897
|
},
|
|
2898
2898
|
Callout: ({ props: e }) => {
|
|
2899
|
-
const t = Re(
|
|
2899
|
+
const t = Re(Fi, e, { content: "" }), n = Yp[t.type ?? "info"], r = n.Icon;
|
|
2900
2900
|
return /* @__PURE__ */ f("div", { className: T("flex gap-2 rounded-lg border-l-2 p-3", n.cls), children: [
|
|
2901
2901
|
/* @__PURE__ */ o(r, { className: "mt-0.5 size-4 shrink-0" }),
|
|
2902
2902
|
/* @__PURE__ */ f("div", { className: "flex flex-col gap-0.5", children: [
|
|
@@ -2906,14 +2906,14 @@ const { registry: zs } = _p(Up, {
|
|
|
2906
2906
|
] });
|
|
2907
2907
|
},
|
|
2908
2908
|
PhoneAgentCard: ({ props: e }) => {
|
|
2909
|
-
const t = Re(
|
|
2909
|
+
const t = Re(Ui, e, {
|
|
2910
2910
|
agentId: "",
|
|
2911
2911
|
agentName: ""
|
|
2912
2912
|
});
|
|
2913
2913
|
return /* @__PURE__ */ o(Gp, { ...t });
|
|
2914
2914
|
},
|
|
2915
2915
|
Chart: ({ props: e }) => {
|
|
2916
|
-
const t = Re(
|
|
2916
|
+
const t = Re(Wi, e, { type: "bar", data: [] });
|
|
2917
2917
|
return /* @__PURE__ */ f("div", { className: "flex flex-col gap-1", children: [
|
|
2918
2918
|
t.title && /* @__PURE__ */ o("span", { className: "text-xs font-medium text-muted-foreground", children: t.title }),
|
|
2919
2919
|
/* @__PURE__ */ o($p, { ...t })
|
|
@@ -2934,7 +2934,7 @@ const { registry: zs } = _p(Up, {
|
|
|
2934
2934
|
cls: "border-l-amber-500 bg-amber-500/5 text-foreground"
|
|
2935
2935
|
},
|
|
2936
2936
|
important: {
|
|
2937
|
-
Icon:
|
|
2937
|
+
Icon: Wa,
|
|
2938
2938
|
cls: "border-l-red-500 bg-red-500/5 text-foreground"
|
|
2939
2939
|
}
|
|
2940
2940
|
};
|
|
@@ -2972,7 +2972,7 @@ function Gp({
|
|
|
2972
2972
|
payload: { agentId: e, model: n ?? null }
|
|
2973
2973
|
}),
|
|
2974
2974
|
children: [
|
|
2975
|
-
/* @__PURE__ */ o(
|
|
2975
|
+
/* @__PURE__ */ o(Ua, { className: "size-4", "aria-hidden": !0 }),
|
|
2976
2976
|
r("json_phone_agent_test")
|
|
2977
2977
|
]
|
|
2978
2978
|
}
|
|
@@ -3115,7 +3115,7 @@ function rm({
|
|
|
3115
3115
|
className: "col-span-full flex w-full items-center justify-center gap-1 border-t border-muted-foreground/10 py-2 text-xs text-muted-foreground transition-colors hover:bg-muted/50",
|
|
3116
3116
|
onClick: () => a((b) => !b),
|
|
3117
3117
|
children: i ? /* @__PURE__ */ f(te, { children: [
|
|
3118
|
-
/* @__PURE__ */ o(
|
|
3118
|
+
/* @__PURE__ */ o(Ba, { className: "size-3" }),
|
|
3119
3119
|
s("json_see_less")
|
|
3120
3120
|
] }) : /* @__PURE__ */ f(te, { children: [
|
|
3121
3121
|
/* @__PURE__ */ o(Yl, { className: "size-3" }),
|
|
@@ -3127,7 +3127,7 @@ function rm({
|
|
|
3127
3127
|
}
|
|
3128
3128
|
);
|
|
3129
3129
|
}
|
|
3130
|
-
function
|
|
3130
|
+
function Bi({
|
|
3131
3131
|
spec: e,
|
|
3132
3132
|
active: t = !1
|
|
3133
3133
|
}) {
|
|
@@ -3135,7 +3135,7 @@ function Ui({
|
|
|
3135
3135
|
() => ({ t: s, anchorTarget: n ?? "_blank", onUiAction: r }),
|
|
3136
3136
|
[s, n, r]
|
|
3137
3137
|
);
|
|
3138
|
-
return /* @__PURE__ */ o(
|
|
3138
|
+
return /* @__PURE__ */ o(qi, { spec: e, host: i, active: t });
|
|
3139
3139
|
}
|
|
3140
3140
|
function Kx({
|
|
3141
3141
|
spec: e,
|
|
@@ -3144,9 +3144,9 @@ function Kx({
|
|
|
3144
3144
|
anchorTarget: r
|
|
3145
3145
|
}) {
|
|
3146
3146
|
const s = Mp({ language: t, onUiAction: n, anchorTarget: r });
|
|
3147
|
-
return /* @__PURE__ */ o(
|
|
3147
|
+
return /* @__PURE__ */ o(qi, { spec: e, host: s });
|
|
3148
3148
|
}
|
|
3149
|
-
function
|
|
3149
|
+
function qi({
|
|
3150
3150
|
spec: e,
|
|
3151
3151
|
host: t,
|
|
3152
3152
|
active: n = !1
|
|
@@ -3161,7 +3161,7 @@ function om({
|
|
|
3161
3161
|
() => e ? zp(e) : null,
|
|
3162
3162
|
[e]
|
|
3163
3163
|
);
|
|
3164
|
-
return !n || !
|
|
3164
|
+
return !n || !bi(n) ? null : /* @__PURE__ */ o(Cp, { registry: zs, initialState: n.state, children: /* @__PURE__ */ o(
|
|
3165
3165
|
Sp,
|
|
3166
3166
|
{
|
|
3167
3167
|
spec: n,
|
|
@@ -3229,7 +3229,7 @@ function sm(e) {
|
|
|
3229
3229
|
return l(), d(), n;
|
|
3230
3230
|
}
|
|
3231
3231
|
function am(e) {
|
|
3232
|
-
return
|
|
3232
|
+
return bi(e) && e.elements[e.root] !== void 0;
|
|
3233
3233
|
}
|
|
3234
3234
|
const im = '{"op":';
|
|
3235
3235
|
function cm(e) {
|
|
@@ -3269,7 +3269,7 @@ const Ur = [
|
|
|
3269
3269
|
"video/x-matroska": [".mkv"],
|
|
3270
3270
|
"video/3gpp": [".3gp"]
|
|
3271
3271
|
};
|
|
3272
|
-
function
|
|
3272
|
+
function Vi({
|
|
3273
3273
|
type: e,
|
|
3274
3274
|
name: t
|
|
3275
3275
|
}) {
|
|
@@ -3286,7 +3286,7 @@ function sr() {
|
|
|
3286
3286
|
const Zt = {
|
|
3287
3287
|
x: 2,
|
|
3288
3288
|
y: 2
|
|
3289
|
-
}, Ze =
|
|
3289
|
+
}, Ze = kl(
|
|
3290
3290
|
Pa(
|
|
3291
3291
|
({ children: e, className: t, scale: n = 1.02, off: r = !1 }, s) => {
|
|
3292
3292
|
const [i, a] = R(!1), [c, d] = R({ x: 0, y: 0 }), l = sr(), p = kt();
|
|
@@ -3423,7 +3423,7 @@ const Ct = [0.23, 1, 0.32, 1], pm = `cubic-bezier(${Ct.join(", ")})`, Ye = { dur
|
|
|
3423
3423
|
}
|
|
3424
3424
|
);
|
|
3425
3425
|
ne.displayName = "MotionDiv";
|
|
3426
|
-
const Br =
|
|
3426
|
+
const Br = ri(
|
|
3427
3427
|
T(
|
|
3428
3428
|
"inline-flex shrink-0 items-center justify-center gap-2",
|
|
3429
3429
|
"text-sm font-medium whitespace-nowrap",
|
|
@@ -3481,7 +3481,7 @@ const Br = ni(
|
|
|
3481
3481
|
) })
|
|
3482
3482
|
);
|
|
3483
3483
|
Y.displayName = "Button";
|
|
3484
|
-
const
|
|
3484
|
+
const Yi = Le(null);
|
|
3485
3485
|
function Nm({ children: e }) {
|
|
3486
3486
|
const [t, n] = R(!1), [r, s] = R(null), i = (c) => {
|
|
3487
3487
|
s(c), n(!0);
|
|
@@ -3491,7 +3491,7 @@ function Nm({ children: e }) {
|
|
|
3491
3491
|
}, 200);
|
|
3492
3492
|
}, []);
|
|
3493
3493
|
return /* @__PURE__ */ f(
|
|
3494
|
-
|
|
3494
|
+
Yi.Provider,
|
|
3495
3495
|
{
|
|
3496
3496
|
value: { open: i, close: a, isOpen: t, content: r },
|
|
3497
3497
|
children: [
|
|
@@ -3502,7 +3502,7 @@ function Nm({ children: e }) {
|
|
|
3502
3502
|
);
|
|
3503
3503
|
}
|
|
3504
3504
|
function ar() {
|
|
3505
|
-
const e = Me(
|
|
3505
|
+
const e = Me(Yi);
|
|
3506
3506
|
return e || (he.error("useDialoger must be used within a DialogerProvider"), {
|
|
3507
3507
|
open: () => {
|
|
3508
3508
|
},
|
|
@@ -3560,7 +3560,7 @@ function Sn({
|
|
|
3560
3560
|
className: "rounded-full absolute top-4 right-4 opacity-50 hover:opacity-100",
|
|
3561
3561
|
onClick: r,
|
|
3562
3562
|
children: [
|
|
3563
|
-
/* @__PURE__ */ o(
|
|
3563
|
+
/* @__PURE__ */ o(qa, { className: "h-4 w-4" }),
|
|
3564
3564
|
/* @__PURE__ */ o("span", { className: "sr-only", children: s("dialog_close") })
|
|
3565
3565
|
]
|
|
3566
3566
|
}
|
|
@@ -3591,11 +3591,11 @@ const No = ({
|
|
|
3591
3591
|
}
|
|
3592
3592
|
);
|
|
3593
3593
|
No.displayName = "DialogerBody";
|
|
3594
|
-
const
|
|
3594
|
+
const Xi = ({
|
|
3595
3595
|
className: e,
|
|
3596
3596
|
...t
|
|
3597
3597
|
}) => /* @__PURE__ */ o("div", { className: T("flex flex-col gap-2", e), ...t });
|
|
3598
|
-
|
|
3598
|
+
Xi.displayName = "DialogerFooter";
|
|
3599
3599
|
const _o = pe.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ o(
|
|
3600
3600
|
"p",
|
|
3601
3601
|
{
|
|
@@ -3638,7 +3638,7 @@ function Tm(e, t, n, r) {
|
|
|
3638
3638
|
y: Math.min(d, Math.max(-d, e.y))
|
|
3639
3639
|
};
|
|
3640
3640
|
}
|
|
3641
|
-
function
|
|
3641
|
+
function Gi({ src: e, alt: t }) {
|
|
3642
3642
|
const { t: n } = X(), [r, s] = R(1), [i, a] = R({ x: 0, y: 0 }), [c, d] = R(!1), l = U({ x: 0, y: 0 }), p = U({ x: 0, y: 0 }), u = U(null), m = U(null), h = U(!1), b = (v) => Math.min($s, Math.max(Rs, v)), g = H(() => {
|
|
3643
3643
|
s(1), a({ x: 0, y: 0 });
|
|
3644
3644
|
}, []), S = H(() => {
|
|
@@ -3812,7 +3812,7 @@ function Ds({
|
|
|
3812
3812
|
}
|
|
3813
3813
|
) });
|
|
3814
3814
|
}
|
|
3815
|
-
function
|
|
3815
|
+
function Ki({ attachment: e }) {
|
|
3816
3816
|
const { name: t, size: n, type: r, url: s } = e, i = r.startsWith("image/"), a = r.startsWith("video/"), c = r.startsWith("audio/"), d = r === "application/pdf";
|
|
3817
3817
|
if (c)
|
|
3818
3818
|
return /* @__PURE__ */ o(Ze, { children: /* @__PURE__ */ o("div", { className: "w-full shrink-0 overflow-hidden", children: /* @__PURE__ */ f("audio", { controls: !0, className: "w-full", children: [
|
|
@@ -3834,7 +3834,7 @@ function Gi({ attachment: e }) {
|
|
|
3834
3834
|
{
|
|
3835
3835
|
className: "size-full max-w-full rounded-3xl flex items-center justify-center bg-transparent border-none gap-0",
|
|
3836
3836
|
withClose: !0,
|
|
3837
|
-
children: /* @__PURE__ */ o(
|
|
3837
|
+
children: /* @__PURE__ */ o(Gi, { src: s, alt: t })
|
|
3838
3838
|
}
|
|
3839
3839
|
)
|
|
3840
3840
|
}
|
|
@@ -3846,18 +3846,18 @@ function Gi({ attachment: e }) {
|
|
|
3846
3846
|
url: s,
|
|
3847
3847
|
name: t,
|
|
3848
3848
|
size: n,
|
|
3849
|
-
icon: /* @__PURE__ */ o(
|
|
3849
|
+
icon: /* @__PURE__ */ o(Va, { className: "size-5", strokeWidth: 1.75 }),
|
|
3850
3850
|
label: "PDF"
|
|
3851
3851
|
}
|
|
3852
3852
|
);
|
|
3853
|
-
const l =
|
|
3853
|
+
const l = Vi({ type: r, name: t });
|
|
3854
3854
|
return l ? /* @__PURE__ */ o(
|
|
3855
3855
|
Ds,
|
|
3856
3856
|
{
|
|
3857
3857
|
url: s,
|
|
3858
3858
|
name: t,
|
|
3859
3859
|
size: n,
|
|
3860
|
-
icon: /* @__PURE__ */ o(
|
|
3860
|
+
icon: /* @__PURE__ */ o(Ya, { className: "size-5", strokeWidth: 1.75 }),
|
|
3861
3861
|
label: l.label
|
|
3862
3862
|
}
|
|
3863
3863
|
) : /* @__PURE__ */ o(Ze, { children: /* @__PURE__ */ o("div", { className: "size-fit border shrink-0 rounded-2xl overflow-hidden", children: /* @__PURE__ */ f("div", { className: "flex items-end gap-2 p-2", children: [
|
|
@@ -3912,7 +3912,7 @@ function Am({
|
|
|
3912
3912
|
}
|
|
3913
3913
|
);
|
|
3914
3914
|
}
|
|
3915
|
-
const
|
|
3915
|
+
const Zi = pe.memo(
|
|
3916
3916
|
Qd,
|
|
3917
3917
|
(e, t) => e.children === t.children && e.className === t.className
|
|
3918
3918
|
);
|
|
@@ -3938,7 +3938,7 @@ function Om() {
|
|
|
3938
3938
|
}).join(";")), (s = t.children) == null || s.forEach(e);
|
|
3939
3939
|
};
|
|
3940
3940
|
}
|
|
3941
|
-
function
|
|
3941
|
+
function Ji(e) {
|
|
3942
3942
|
return e.replace(/<citations>[\s\S]*?<\/citations>/g, "").replace(/<citations[\s\S]*$/, "").replace(/<(?:ref|cite)\s[^>]*?\/?>/g, "").replace(/<r(?:e(?:f[^>]*)?)?$/, "").replace(
|
|
3943
3943
|
/<c(?:i(?:t(?:a(?:t(?:i(?:o(?:n(?:s)?)?)?)?)?)?(?:e[^>]*)?)?)?$/,
|
|
3944
3944
|
""
|
|
@@ -3984,7 +3984,7 @@ function jm({ id: e, title: t }) {
|
|
|
3984
3984
|
className: "aspect-video w-full object-cover"
|
|
3985
3985
|
}
|
|
3986
3986
|
),
|
|
3987
|
-
/* @__PURE__ */ o("span", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ o("span", { className: "flex size-10 items-center justify-center rounded-full bg-black/60 text-white", children: /* @__PURE__ */ o(
|
|
3987
|
+
/* @__PURE__ */ o("span", { className: "absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ o("span", { className: "flex size-10 items-center justify-center rounded-full bg-black/60 text-white", children: /* @__PURE__ */ o(Ua, { className: "size-5 fill-current" }) }) })
|
|
3988
3988
|
]
|
|
3989
3989
|
}
|
|
3990
3990
|
),
|
|
@@ -4081,11 +4081,11 @@ function Ao({
|
|
|
4081
4081
|
}) {
|
|
4082
4082
|
const { anchorTarget: a } = J();
|
|
4083
4083
|
return /* @__PURE__ */ o(
|
|
4084
|
-
|
|
4084
|
+
Zi,
|
|
4085
4085
|
{
|
|
4086
4086
|
"data-type": t,
|
|
4087
4087
|
"data-id": n,
|
|
4088
|
-
remarkPlugins: [
|
|
4088
|
+
remarkPlugins: [oi],
|
|
4089
4089
|
rehypePlugins: r ? [
|
|
4090
4090
|
$r,
|
|
4091
4091
|
Om,
|
|
@@ -4154,13 +4154,13 @@ function Ao({
|
|
|
4154
4154
|
{
|
|
4155
4155
|
className: "size-full max-w-full rounded-3xl flex items-center justify-center bg-transparent border-none gap-0",
|
|
4156
4156
|
withClose: !0,
|
|
4157
|
-
children: /* @__PURE__ */ o(
|
|
4157
|
+
children: /* @__PURE__ */ o(Gi, { src: c, alt: d })
|
|
4158
4158
|
}
|
|
4159
4159
|
)
|
|
4160
4160
|
}
|
|
4161
4161
|
) : /* @__PURE__ */ o("img", { src: c, alt: d, ...l })
|
|
4162
4162
|
},
|
|
4163
|
-
children:
|
|
4163
|
+
children: Ji(e)
|
|
4164
4164
|
}
|
|
4165
4165
|
);
|
|
4166
4166
|
}
|
|
@@ -4190,7 +4190,7 @@ function Vm({
|
|
|
4190
4190
|
const t = ct(), n = (r = t.config.customComponents) == null ? void 0 : r["message::after"];
|
|
4191
4191
|
return n ? /* @__PURE__ */ o(n, { ...t, currentMessage: e }) : null;
|
|
4192
4192
|
}
|
|
4193
|
-
const
|
|
4193
|
+
const Qi = Le(null);
|
|
4194
4194
|
function Ym({
|
|
4195
4195
|
children: e
|
|
4196
4196
|
}) {
|
|
@@ -4217,10 +4217,10 @@ function Ym({
|
|
|
4217
4217
|
}),
|
|
4218
4218
|
[]
|
|
4219
4219
|
);
|
|
4220
|
-
return /* @__PURE__ */ o(
|
|
4220
|
+
return /* @__PURE__ */ o(Qi.Provider, { value: i, children: e });
|
|
4221
4221
|
}
|
|
4222
4222
|
function Io() {
|
|
4223
|
-
return Me(
|
|
4223
|
+
return Me(Qi);
|
|
4224
4224
|
}
|
|
4225
4225
|
function Mo(e) {
|
|
4226
4226
|
var n;
|
|
@@ -4377,13 +4377,13 @@ function Vr(e) {
|
|
|
4377
4377
|
l == null ? void 0 : l.messageContainer
|
|
4378
4378
|
),
|
|
4379
4379
|
children: [
|
|
4380
|
-
s && s.length > 0 && /* @__PURE__ */ o("div", { className: "w-full gap-1 flex flex-row flex-wrap items-center justify-start", children: s == null ? void 0 : s.map((C) => /* @__PURE__ */ o(
|
|
4380
|
+
s && s.length > 0 && /* @__PURE__ */ o("div", { className: "w-full gap-1 flex flex-row flex-wrap items-center justify-start", children: s == null ? void 0 : s.map((C) => /* @__PURE__ */ o(Ki, { attachment: C }, C.id)) }),
|
|
4381
4381
|
g && u ? u.map((C, x) => C.type === "markdown" ? b(
|
|
4382
4382
|
C.content,
|
|
4383
4383
|
`md-${x}`,
|
|
4384
4384
|
x === S,
|
|
4385
4385
|
x === w
|
|
4386
|
-
) : /* @__PURE__ */ o("div", { className: "w-full", children: /* @__PURE__ */ o(
|
|
4386
|
+
) : /* @__PURE__ */ o("div", { className: "w-full", children: /* @__PURE__ */ o(Bi, { spec: C.spec }) }, `ui-${x}`)) : p.length > 0 && b(p),
|
|
4387
4387
|
e.messageOptions && /* @__PURE__ */ o(Xm, { messageId: n, messageOptions: e.messageOptions })
|
|
4388
4388
|
]
|
|
4389
4389
|
}
|
|
@@ -4469,7 +4469,7 @@ function Zm({ agent: e }) {
|
|
|
4469
4469
|
}
|
|
4470
4470
|
) });
|
|
4471
4471
|
}
|
|
4472
|
-
const Jm = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{-ms-overflow-style:none;scrollbar-width:none}*::-webkit-scrollbar{display:none}*{border-color:hsl(var(--opencx-border))}.\\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.opencx-text-shimmer{animation:opencx-text-shimmer 2.5s ease-in-out infinite}.opencx-fade-up{animation:opencx-fade-up .3s cubic-bezier(.23,1,.32,1) both}[data-component="trigger/unread"],[data-component="sessions/unread"],[data-component="home/tab_unread"]{pointer-events:none;border-radius:9999px;background-color:hsl(var(--opencx-destructive));text-align:center;font-weight:600;--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);color:hsl(var(--opencx-destructive-foreground));font-size:11px;line-height:18px;box-shadow:0 0 0 2px hsl(var(--opencx-background))}[data-component="trigger/unread"]{position:absolute;z-index:1}[data-component="sessions/unread"]{flex-shrink:0;box-shadow:none}[data-component="home/tab_unread"]{position:absolute;top:-2px;inset-inline-end:-2px}[data-unread-look=dot]{width:9px;height:9px}[data-unread-look=count]{min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px}.opencx-placeholder-in{animation:opencx-placeholder-in .2s cubic-bezier(.23,1,.32,1) both}.opencx-placeholder-out{animation:opencx-placeholder-out .18s cubic-bezier(.23,1,.32,1) both}@keyframes opencx-text-shimmer{0%,to{opacity:.45}50%{opacity:1}}@keyframes opencx-fade-up{0%{opacity:0;filter:blur(4px);transform:translateY(8px)}to{opacity:1;filter:blur(0px);transform:translateY(0)}}@keyframes opencx-placeholder-in{0%{opacity:0;transform:translateY(4px);filter:blur(1px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@keyframes opencx-placeholder-out{0%{opacity:1;transform:translateY(0);filter:blur(0)}to{opacity:0;transform:translateY(-8px);filter:blur(1px)}}.opencx-input-recall{animation:opencx-input-recall .15s cubic-bezier(.23,1,.32,1)}@keyframes opencx-input-recall{0%{opacity:.25;translate:0 -3px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.opencx-text-shimmer,.opencx-fade-up,.opencx-placeholder-in,.opencx-placeholder-out,.opencx-input-recall{animation:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.\\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.\\!sticky{position:sticky!important}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-0\\.5{top:.125rem;right:.125rem;bottom:.125rem;left:.125rem}.inset-x-0{left:0;right:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.end-1{inset-inline-end:.25rem}.end-4{inset-inline-end:1rem}.end-6{inset-inline-end:1.5rem}.left-1\\/2,.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.start-10{inset-inline-start:2.5rem}.start-2{inset-inline-start:.5rem}.start-4{inset-inline-start:1rem}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-\\[50\\%\\]{top:50%}.top-full{top:100%}.isolate{isolation:isolate}.-z-10{z-index:-10}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.col-span-full{grid-column:1 / -1}.m-2{margin:.5rem}.-mx-0\\.5{margin-left:-.125rem;margin-right:-.125rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-0\\.5{margin-left:.125rem;margin-right:.125rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mt-0\\.5{margin-top:-.125rem}.-mt-6{margin-top:-1.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ml-auto{margin-left:auto}.ms-1\\.5{margin-inline-start:.375rem}.ms-\\[30px\\]{margin-inline-start:30px}.ms-auto{margin-inline-start:auto}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-0{width:0px;height:0px}.size-1\\.5{width:.375rem;height:.375rem}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-2{width:.5rem;height:.5rem}.size-2\\.5{width:.625rem;height:.625rem}.size-3{width:.75rem;height:.75rem}.size-3\\.5{width:.875rem;height:.875rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.size-9{width:2.25rem;height:2.25rem}.size-\\[18px\\]{width:18px;height:18px}.size-\\[max\\(100\\%\\,3rem\\)\\]{width:max(100%,3rem);height:max(100%,3rem)}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-0{height:0px}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-16{max-height:4rem}.max-h-40{max-height:10rem}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-\\[160px\\]{max-height:160px}.max-h-\\[200px\\]{max-height:200px}.max-h-\\[50vh\\]{max-height:50vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-12{min-height:3rem}.min-h-8{min-height:2rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-1\\/4{width:25%}.w-10{width:2.5rem}.w-14{width:3.5rem}.w-2\\/3{width:66.666667%}.w-2\\/5{width:40%}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-7{width:1.75rem}.w-\\[32px\\]{width:32px}.w-\\[3px\\]{width:3px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.w-svw{width:100svw}.min-w-0{min-width:0px}.min-w-80{min-width:20rem}.min-w-\\[140px\\]{min-width:140px}.min-w-\\[3ch\\]{min-width:3ch}.max-w-11{max-width:2.75rem}.max-w-40{max-width:10rem}.max-w-48{max-width:12rem}.max-w-64{max-width:16rem}.max-w-80{max-width:20rem}.max-w-96{max-width:24rem}.max-w-\\[30rem\\]{max-width:30rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-\\[min\\(100\\%\\,16rem\\)\\]{max-width:min(100%,16rem)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink,.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.shrink-\\[2\\]{flex-shrink:2}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.origin-\\[var\\(--radix-popover-content-transform-origin\\)\\]{transform-origin:var(--radix-popover-content-transform-origin)}.origin-\\[var\\(--radix-tooltip-content-transform-origin\\)\\]{transform-origin:var(--radix-tooltip-content-transform-origin)}.origin-center{transform-origin:center}.origin-top{transform-origin:top}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[var\\(--wobble-x\\)\\]{--tw-translate-x: var(--wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[var\\(--wobble-y\\)\\]{--tw-translate-y: var(--wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-50{--tw-scale-y: .5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\\[subgrid\\]{grid-template-columns:subgrid}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.gap-\\[3px\\]{gap:3px}.gap-x-2\\.5{column-gap:.625rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-foreground\\/10>:not([hidden])~:not([hidden]){border-color:hsl(var(--opencx-foreground) / .1)}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[19px\\]{border-radius:19px}.rounded-\\[1px\\]{border-radius:1px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[calc\\(var\\(--opencx-inset-radius\\)\\+var\\(--cx-p\\)\\)\\]{border-radius:calc(var(--opencx-inset-radius) + var(--cx-p))}.rounded-\\[calc\\(var\\(--pk-r\\)-var\\(--pk-p\\)\\)\\]{border-radius:calc(var(--pk-r) - var(--pk-p))}.rounded-\\[var\\(--opencx-inset-radius\\)\\]{border-radius:var(--opencx-inset-radius)}.rounded-\\[var\\(--pk-r\\)\\]{border-radius:var(--pk-r)}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-2xl{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-\\[1\\.5px\\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l-2{border-left-width:2px}.border-s{border-inline-start-width:1px}.border-s-2{border-inline-start-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-border{border-color:hsl(var(--opencx-border))}.border-destructive\\/30{border-color:hsl(var(--opencx-destructive) / .3)}.border-foreground\\/10{border-color:hsl(var(--opencx-foreground) / .1)}.border-foreground\\/15{border-color:hsl(var(--opencx-foreground) / .15)}.border-muted-foreground\\/10{border-color:hsl(var(--opencx-muted-foreground) / .1)}.border-muted-foreground\\/15{border-color:hsl(var(--opencx-muted-foreground) / .15)}.border-muted-foreground\\/20{border-color:hsl(var(--opencx-muted-foreground) / .2)}.border-muted-foreground\\/30{border-color:hsl(var(--opencx-muted-foreground) / .3)}.border-primary{border-color:hsl(var(--opencx-primary))}.border-primary\\/10{border-color:hsl(var(--opencx-primary) / .1)}.border-primary\\/50{border-color:hsl(var(--opencx-primary) / .5)}.border-l-amber-500{--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-l-blue-500{--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-l-emerald-500{--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity, 1))}.border-l-red-500{--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-t-current{border-top-color:currentColor}.bg-\\[white\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-amber-500\\/15{background-color:#f59e0b26}.bg-amber-500\\/5{background-color:#f59e0b0d}.bg-background{background-color:hsl(var(--opencx-background))}.bg-background\\/80{background-color:hsl(var(--opencx-background) / .8)}.bg-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/5{background-color:#3b82f60d}.bg-current{background-color:currentColor}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.bg-destructive\\/10{background-color:hsl(var(--opencx-destructive) / .1)}.bg-destructive\\/15{background-color:hsl(var(--opencx-destructive) / .15)}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-emerald-500\\/10{background-color:#10b9811a}.bg-emerald-500\\/15{background-color:#10b98126}.bg-emerald-500\\/5{background-color:#10b9810d}.bg-foreground{background-color:hsl(var(--opencx-foreground))}.bg-foreground\\/5{background-color:hsl(var(--opencx-foreground) / .05)}.bg-foreground\\/50{background-color:hsl(var(--opencx-foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--opencx-foreground) / .6)}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-muted-foreground{background-color:hsl(var(--opencx-muted-foreground))}.bg-muted-foreground\\/10{background-color:hsl(var(--opencx-muted-foreground) / .1)}.bg-muted-foreground\\/30{background-color:hsl(var(--opencx-muted-foreground) / .3)}.bg-muted-foreground\\/40{background-color:hsl(var(--opencx-muted-foreground) / .4)}.bg-muted\\/30{background-color:hsl(var(--opencx-muted) / .3)}.bg-muted\\/40{background-color:hsl(var(--opencx-muted) / .4)}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-primary-foreground\\/20{background-color:hsl(var(--opencx-primary-foreground) / .2)}.bg-primary\\/10{background-color:hsl(var(--opencx-primary) / .1)}.bg-primary\\/25{background-color:hsl(var(--opencx-primary) / .25)}.bg-primary\\/\\[0\\.07\\]{background-color:hsl(var(--opencx-primary) / .07)}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-500\\/5{background-color:#ef44440d}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-secondary-foreground\\/10{background-color:hsl(var(--opencx-secondary-foreground) / .1)}.bg-secondary-foreground\\/20{background-color:hsl(var(--opencx-secondary-foreground) / .2)}.bg-transparent{background-color:transparent}.bg-white\\/30{background-color:#ffffff4d}.bg-\\[radial-gradient\\(ellipse_at_top_left\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\,radial-gradient\\(ellipse_at_top_right\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\]{background-image:radial-gradient(ellipse at top left,hsl(var(--opencx-primary)),transparent),radial-gradient(ellipse at top right,hsl(var(--opencx-primary)),transparent)}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground\\/70{--tw-gradient-from: hsl(var(--opencx-foreground) / .7) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--opencx-foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-foreground\\/0{--tw-gradient-to: hsl(var(--opencx-foreground) / 0) var(--tw-gradient-to-position)}.fill-current{fill:currentColor}.fill-foreground{fill:hsl(var(--opencx-foreground))}.stroke-current{stroke:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-left-top{object-position:left top}.p-0{padding:0}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-\\[var\\(--cx-p\\)\\]{padding:var(--cx-p)}.p-\\[var\\(--pk-p\\)\\]{padding:var(--pk-p)}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0{padding-top:0;padding-bottom:0}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\\[3px\\]{padding-top:3px;padding-bottom:3px}.pb-0{padding-bottom:0}.pb-0\\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-14{padding-bottom:3.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pe-1{padding-inline-end:.25rem}.pe-2{padding-inline-end:.5rem}.pe-2\\.5{padding-inline-end:.625rem}.pe-4{padding-inline-end:1rem}.pl-2{padding-left:.5rem}.pl-6{padding-left:1.5rem}.pr-16{padding-right:4rem}.ps-1{padding-inline-start:.25rem}.ps-1\\.5{padding-inline-start:.375rem}.ps-10{padding-inline-start:2.5rem}.ps-2{padding-inline-start:.5rem}.ps-2\\.5{padding-inline-start:.625rem}.ps-3{padding-inline-start:.75rem}.ps-4{padding-inline-start:1rem}.ps-8{padding-inline-start:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-2\\.5{padding-top:.625rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\\[0\\.8125rem\\]{font-size:.8125rem}.text-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[16px\\]{font-size:16px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-background{color:hsl(var(--opencx-background))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-destructive{color:hsl(var(--opencx-destructive))}.text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-foreground{color:hsl(var(--opencx-foreground))}.text-foreground\\/50{color:hsl(var(--opencx-foreground) / .5)}.text-foreground\\/60{color:hsl(var(--opencx-foreground) / .6)}.text-foreground\\/80{color:hsl(var(--opencx-foreground) / .8)}.text-foreground\\/90{color:hsl(var(--opencx-foreground) / .9)}.text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}.text-muted-foreground\\/40{color:hsl(var(--opencx-muted-foreground) / .4)}.text-muted-foreground\\/50{color:hsl(var(--opencx-muted-foreground) / .5)}.text-muted-foreground\\/60{color:hsl(var(--opencx-muted-foreground) / .6)}.text-muted-foreground\\/70{color:hsl(var(--opencx-muted-foreground) / .7)}.text-muted-foreground\\/75{color:hsl(var(--opencx-muted-foreground) / .75)}.text-primary{color:hsl(var(--opencx-primary))}.text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}.text-primary-foreground\\/60{color:hsl(var(--opencx-primary-foreground) / .6)}.text-primary\\/10{color:hsl(var(--opencx-primary) / .1)}.text-primary\\/40{color:hsl(var(--opencx-primary) / .4)}.text-primary\\/50{color:hsl(var(--opencx-primary) / .5)}.text-primary\\/60{color:hsl(var(--opencx-primary) / .6)}.text-primary\\/70{color:hsl(var(--opencx-primary) / .7)}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.text-secondary-foreground\\/60{color:hsl(var(--opencx-secondary-foreground) / .6)}.text-secondary-foreground\\/70{color:hsl(var(--opencx-secondary-foreground) / .7)}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\\/80{color:#fffc}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.caret-foreground{caret-color:hsl(var(--opencx-foreground))}.accent-current{accent-color:currentColor}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-35{opacity:.35}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.opacity-95{opacity:.95}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-8{outline-width:8px}.outline-background{outline-color:hsl(var(--opencx-background))}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-border{--tw-ring-color: hsl(var(--opencx-border))}.ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[background-color\\,color\\,transform\\]{transition-property:background-color,color,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[height\\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-opencx{transition-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in{--tw-enter-scale: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-100{animation-duration:.1s}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-opencx{animation-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-foreground))}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-bold\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-bold: hsl(var(--opencx-foreground))}.\\[--tw-prose-bold\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-bold: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-bullets\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-bullets: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-code\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-code: hsl(var(--opencx-foreground))}.\\[--tw-prose-code\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-code: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-counters\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-counters: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-headings\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-headings: hsl(var(--opencx-foreground))}.\\[--tw-prose-headings\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-headings: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-hr\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-hr: hsl(var(--opencx-border))}.\\[--tw-prose-lead\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-lead: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-links\\:hsl\\(var\\(--opencx-primary\\)\\)\\]{--tw-prose-links: hsl(var(--opencx-primary))}.\\[--tw-prose-links\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-links: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-pre-bg\\:hsl\\(var\\(--opencx-muted\\)\\)\\]{--tw-prose-pre-bg: hsl(var(--opencx-muted))}.\\[--tw-prose-pre-code\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-pre-code: hsl(var(--opencx-foreground))}.\\[--tw-prose-quote-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-quote-borders: hsl(var(--opencx-border))}.\\[--tw-prose-quotes\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-quotes: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-td-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-td-borders: hsl(var(--opencx-border))}.\\[--tw-prose-th-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-th-borders: hsl(var(--opencx-border))}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[overflow-wrap\\:anywhere\\]{overflow-wrap:anywhere}.\\[word-break\\:break-word\\]{word-break:break-word}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-transparent::file-selector-button{background-color:transparent}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-medium::file-selector-button{font-weight:500}.file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}.placeholder\\:text-muted-foreground\\/75::placeholder{color:hsl(var(--opencx-muted-foreground) / .75)}.last\\:border-0:last-child{border-width:0px}.focus-within\\:opacity-100:focus-within{opacity:1}.hover\\:scale-\\[var\\(--scale\\)\\]:hover{--tw-scale-x: var(--scale);--tw-scale-y: var(--scale);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-accent\\/60:hover{background-color:hsl(var(--opencx-accent) / .6)}.hover\\:bg-foreground:hover{background-color:hsl(var(--opencx-foreground))}.hover\\:bg-muted:hover{background-color:hsl(var(--opencx-muted))}.hover\\:bg-muted\\/50:hover{background-color:hsl(var(--opencx-muted) / .5)}.hover\\:bg-muted\\/60:hover{background-color:hsl(var(--opencx-muted) / .6)}.hover\\:bg-primary\\/10:hover{background-color:hsl(var(--opencx-primary) / .1)}.hover\\:bg-primary\\/90:hover{background-color:hsl(var(--opencx-primary) / .9)}.hover\\:bg-primary\\/\\[0\\.02\\]:hover{background-color:hsl(var(--opencx-primary) / .02)}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.hover\\:bg-secondary\\/80:hover{background-color:hsl(var(--opencx-secondary) / .8)}.hover\\:bg-transparent:hover{background-color:transparent}.hover\\:bg-white\\/15:hover{background-color:#ffffff26}.hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\\:text-foreground:hover{color:hsl(var(--opencx-foreground))}.hover\\:text-muted-foreground:hover{color:hsl(var(--opencx-muted-foreground))}.hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}.hover\\:text-primary-foreground:hover{color:hsl(var(--opencx-primary-foreground))}.hover\\:text-secondary-foreground:hover{color:hsl(var(--opencx-secondary-foreground))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:opacity-80:hover{opacity:.8}.focus-visible\\:opacity-100:focus-visible{opacity:1}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-ring:focus-visible{outline-color:hsl(var(--opencx-ring))}.focus-visible\\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-inset:focus-visible{--tw-ring-inset: inset}.focus-visible\\:ring-primary\\/40:focus-visible{--tw-ring-color: hsl(var(--opencx-primary) / .4)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:scale-\\[0\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:hover\\:scale-\\[calc\\(var\\(--scale\\)-0\\.02\\)\\]:hover:active{--tw-scale-x: calc(var(--scale) - .02);--tw-scale-y: calc(var(--scale) - .02);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:text-white\\/30:disabled{color:#ffffff4d}.disabled\\:opacity-100:disabled{opacity:1}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:hover\\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\\:opacity-100{opacity:1}.aria-expanded\\:bg-muted[aria-expanded=true]{background-color:hsl(var(--opencx-muted))}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.prose-headings\\:my-1\\.5 :is(:where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.375rem;margin-bottom:.375rem}.prose-headings\\:text-\\[13px\\] :is(:where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:13px}.prose-p\\:my-1 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}.prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}.prose-pre\\:my-1\\.5 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.375rem;margin-bottom:.375rem}.prose-pre\\:p-2 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:.5rem}.prose-pre\\:text-\\[11px\\] :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:11px}.prose-ol\\:my-1 :is(:where(ol):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-ul\\:my-1 :is(:where(ul):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-li\\:my-0\\.5 :is(:where(li):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.125rem;margin-bottom:.125rem}.prose-table\\:block :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){display:block}.prose-table\\:overflow-x-auto :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){overflow-x:auto}.prose-table\\:\\[overflow-wrap\\:normal\\] :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){overflow-wrap:normal}.prose-table\\:\\[word-break\\:normal\\] :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){word-break:normal}.prose-img\\:rounded-xl :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){border-radius:.75rem}.prose-hr\\:my-2 :is(:where(hr):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.5rem;margin-bottom:.5rem}@media(prefers-reduced-motion:reduce){.motion-reduce\\:animate-none{animation:none}.motion-reduce\\:active\\:scale-100:active{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}@media(min-width:640px){.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}.rtl\\:-scale-100:where([dir=rtl],[dir=rtl] *){--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media(prefers-color-scheme:dark){.dark\\:text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\\:text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.dark\\:text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}}.\\[\\&\\>\\*\\:first-child\\]\\:mt-0>*:first-child{margin-top:0}.\\[\\&\\>\\*\\:last-child\\]\\:mb-0>*:last-child{margin-bottom:0}.\\[\\&_\\.animate-spin\\]\\:animate-none .animate-spin{animation:none}.\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}.\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}.\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}.\\[\\&_svg\\]\\:hover\\:text-primary:hover svg{color:hsl(var(--opencx-primary))}@media(hover:none){.\\[\\@media\\(hover\\:none\\)\\]\\:opacity-100{opacity:1}}@media(pointer:coarse){.\\[\\@media\\(pointer\\:coarse\\)\\]\\:min-h-12{min-height:3rem}.\\[\\@media\\(pointer\\:coarse\\)\\]\\:gap-y-3{row-gap:.75rem}}@media(pointer:fine){.\\[\\@media\\(pointer\\:fine\\)\\]\\:hidden{display:none}}', Qm = "5.14.1";
|
|
4472
|
+
const Jm = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{-ms-overflow-style:none;scrollbar-width:none}*::-webkit-scrollbar{display:none}*{border-color:hsl(var(--opencx-border))}.\\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.opencx-text-shimmer{animation:opencx-text-shimmer 2.5s ease-in-out infinite}.opencx-fade-up{animation:opencx-fade-up .3s cubic-bezier(.23,1,.32,1) both}[data-component="trigger/unread"],[data-component="sessions/unread"],[data-component="home/tab_unread"]{pointer-events:none;border-radius:9999px;background-color:hsl(var(--opencx-destructive));text-align:center;font-weight:600;--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);color:hsl(var(--opencx-destructive-foreground));font-size:11px;line-height:18px;box-shadow:0 0 0 2px hsl(var(--opencx-background))}[data-component="trigger/unread"]{position:absolute;z-index:1}[data-component="sessions/unread"]{flex-shrink:0;box-shadow:none}[data-component="home/tab_unread"]{position:absolute;top:-2px;inset-inline-end:-2px}[data-unread-look=dot]{width:9px;height:9px}[data-unread-look=count]{min-width:16px;height:16px;padding:0 4px;font-size:10px;line-height:16px}.opencx-placeholder-in{animation:opencx-placeholder-in .2s cubic-bezier(.23,1,.32,1) both}.opencx-placeholder-out{animation:opencx-placeholder-out .18s cubic-bezier(.23,1,.32,1) both}@keyframes opencx-text-shimmer{0%,to{opacity:.45}50%{opacity:1}}@keyframes opencx-fade-up{0%{opacity:0;filter:blur(4px);transform:translateY(8px)}to{opacity:1;filter:blur(0px);transform:translateY(0)}}@keyframes opencx-placeholder-in{0%{opacity:0;transform:translateY(4px);filter:blur(1px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}@keyframes opencx-placeholder-out{0%{opacity:1;transform:translateY(0);filter:blur(0)}to{opacity:0;transform:translateY(-8px);filter:blur(1px)}}.opencx-input-recall{animation:opencx-input-recall .15s cubic-bezier(.23,1,.32,1)}@keyframes opencx-input-recall{0%{opacity:.25;translate:0 -3px}to{opacity:1;translate:0 0}}@media(prefers-reduced-motion:reduce){.opencx-text-shimmer,.opencx-fade-up,.opencx-placeholder-in,.opencx-placeholder-out,.opencx-input-recall{animation:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.\\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.\\!sticky{position:sticky!important}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-0\\.5{top:.125rem;right:.125rem;bottom:.125rem;left:.125rem}.inset-x-0{left:0;right:0}.bottom-0{bottom:0}.bottom-3{bottom:.75rem}.end-1{inset-inline-end:.25rem}.end-4{inset-inline-end:1rem}.end-6{inset-inline-end:1.5rem}.left-1\\/2,.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.start-10{inset-inline-start:2.5rem}.start-2{inset-inline-start:.5rem}.start-4{inset-inline-start:1rem}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-\\[50\\%\\]{top:50%}.top-full{top:100%}.isolate{isolation:isolate}.-z-10{z-index:-10}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.col-span-full{grid-column:1 / -1}.m-2{margin:.5rem}.-mx-0\\.5{margin-left:-.125rem;margin-right:-.125rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-0\\.5{margin-left:.125rem;margin-right:.125rem}.mx-3{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.-mt-0\\.5{margin-top:-.125rem}.-mt-6{margin-top:-1.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ml-auto{margin-left:auto}.ms-1\\.5{margin-inline-start:.375rem}.ms-\\[30px\\]{margin-inline-start:30px}.ms-auto{margin-inline-start:auto}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-auto{margin-top:auto}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.inline-grid{display:inline-grid}.contents{display:contents}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-0{width:0px;height:0px}.size-1\\.5{width:.375rem;height:.375rem}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-2{width:.5rem;height:.5rem}.size-2\\.5{width:.625rem;height:.625rem}.size-3{width:.75rem;height:.75rem}.size-3\\.5{width:.875rem;height:.875rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-7{width:1.75rem;height:1.75rem}.size-8{width:2rem;height:2rem}.size-9{width:2.25rem;height:2.25rem}.size-\\[18px\\]{width:18px;height:18px}.size-\\[max\\(100\\%\\,3rem\\)\\]{width:max(100%,3rem);height:max(100%,3rem)}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-0{height:0px}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-3{height:.75rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-16{max-height:4rem}.max-h-40{max-height:10rem}.max-h-60{max-height:15rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-\\[160px\\]{max-height:160px}.max-h-\\[200px\\]{max-height:200px}.max-h-\\[50vh\\]{max-height:50vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-12{min-height:3rem}.min-h-8{min-height:2rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-1\\/4{width:25%}.w-10{width:2.5rem}.w-14{width:3.5rem}.w-2\\/3{width:66.666667%}.w-2\\/5{width:40%}.w-3\\/4{width:75%}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-7{width:1.75rem}.w-\\[32px\\]{width:32px}.w-\\[3px\\]{width:3px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.w-screen{width:100vw}.w-svw{width:100svw}.min-w-0{min-width:0px}.min-w-80{min-width:20rem}.min-w-\\[140px\\]{min-width:140px}.min-w-\\[3ch\\]{min-width:3ch}.max-w-11{max-width:2.75rem}.max-w-40{max-width:10rem}.max-w-48{max-width:12rem}.max-w-64{max-width:16rem}.max-w-80{max-width:20rem}.max-w-96{max-width:24rem}.max-w-\\[30rem\\]{max-width:30rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-\\[min\\(100\\%\\,16rem\\)\\]{max-width:min(100%,16rem)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink,.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.shrink-\\[2\\]{flex-shrink:2}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.origin-\\[var\\(--radix-popover-content-transform-origin\\)\\]{transform-origin:var(--radix-popover-content-transform-origin)}.origin-\\[var\\(--radix-tooltip-content-transform-origin\\)\\]{transform-origin:var(--radix-tooltip-content-transform-origin)}.origin-center{transform-origin:center}.origin-top{transform-origin:top}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[-50\\%\\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\\[var\\(--wobble-x\\)\\]{--tw-translate-x: var(--wobble-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[-50\\%\\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\\[var\\(--wobble-y\\)\\]{--tw-translate-y: var(--wobble-y);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-90{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-50{--tw-scale-y: .5;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\\[subgrid\\]{grid-template-columns:subgrid}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.items-stretch{align-items:stretch}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.gap-\\[3px\\]{gap:3px}.gap-x-2\\.5{column-gap:.625rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-foreground\\/10>:not([hidden])~:not([hidden]){border-color:hsl(var(--opencx-foreground) / .1)}.self-start{align-self:flex-start}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-scroll{overflow:scroll}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[19px\\]{border-radius:19px}.rounded-\\[1px\\]{border-radius:1px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[calc\\(var\\(--opencx-inset-radius\\)\\+var\\(--cx-p\\)\\)\\]{border-radius:calc(var(--opencx-inset-radius) + var(--cx-p))}.rounded-\\[calc\\(var\\(--pk-r\\)-var\\(--pk-p\\)\\)\\]{border-radius:calc(var(--pk-r) - var(--pk-p))}.rounded-\\[var\\(--opencx-inset-radius\\)\\]{border-radius:var(--opencx-inset-radius)}.rounded-\\[var\\(--pk-r\\)\\]{border-radius:var(--pk-r)}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-b-2xl{border-bottom-right-radius:1rem;border-bottom-left-radius:1rem}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-bl-md{border-bottom-left-radius:.375rem}.rounded-br-md{border-bottom-right-radius:.375rem}.rounded-tl-md{border-top-left-radius:.375rem}.rounded-tr-md{border-top-right-radius:.375rem}.border{border-width:1px}.border-\\[1\\.5px\\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-l-2{border-left-width:2px}.border-s{border-inline-start-width:1px}.border-s-2{border-inline-start-width:2px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-border{border-color:hsl(var(--opencx-border))}.border-destructive\\/30{border-color:hsl(var(--opencx-destructive) / .3)}.border-foreground\\/10{border-color:hsl(var(--opencx-foreground) / .1)}.border-foreground\\/15{border-color:hsl(var(--opencx-foreground) / .15)}.border-muted-foreground\\/10{border-color:hsl(var(--opencx-muted-foreground) / .1)}.border-muted-foreground\\/15{border-color:hsl(var(--opencx-muted-foreground) / .15)}.border-muted-foreground\\/20{border-color:hsl(var(--opencx-muted-foreground) / .2)}.border-muted-foreground\\/30{border-color:hsl(var(--opencx-muted-foreground) / .3)}.border-primary{border-color:hsl(var(--opencx-primary))}.border-primary\\/10{border-color:hsl(var(--opencx-primary) / .1)}.border-primary\\/50{border-color:hsl(var(--opencx-primary) / .5)}.border-l-amber-500{--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity, 1))}.border-l-blue-500{--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.border-l-emerald-500{--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity, 1))}.border-l-red-500{--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-t-current{border-top-color:currentColor}.bg-\\[white\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-amber-500\\/15{background-color:#f59e0b26}.bg-amber-500\\/5{background-color:#f59e0b0d}.bg-background{background-color:hsl(var(--opencx-background))}.bg-background\\/80{background-color:hsl(var(--opencx-background) / .8)}.bg-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\\/5{background-color:#3b82f60d}.bg-current{background-color:currentColor}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.bg-destructive\\/10{background-color:hsl(var(--opencx-destructive) / .1)}.bg-destructive\\/15{background-color:hsl(var(--opencx-destructive) / .15)}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-emerald-500\\/10{background-color:#10b9811a}.bg-emerald-500\\/15{background-color:#10b98126}.bg-emerald-500\\/5{background-color:#10b9810d}.bg-foreground{background-color:hsl(var(--opencx-foreground))}.bg-foreground\\/5{background-color:hsl(var(--opencx-foreground) / .05)}.bg-foreground\\/50{background-color:hsl(var(--opencx-foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--opencx-foreground) / .6)}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-muted-foreground{background-color:hsl(var(--opencx-muted-foreground))}.bg-muted-foreground\\/10{background-color:hsl(var(--opencx-muted-foreground) / .1)}.bg-muted-foreground\\/30{background-color:hsl(var(--opencx-muted-foreground) / .3)}.bg-muted-foreground\\/40{background-color:hsl(var(--opencx-muted-foreground) / .4)}.bg-muted\\/30{background-color:hsl(var(--opencx-muted) / .3)}.bg-muted\\/40{background-color:hsl(var(--opencx-muted) / .4)}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-primary-foreground\\/20{background-color:hsl(var(--opencx-primary-foreground) / .2)}.bg-primary\\/10{background-color:hsl(var(--opencx-primary) / .1)}.bg-primary\\/25{background-color:hsl(var(--opencx-primary) / .25)}.bg-primary\\/\\[0\\.07\\]{background-color:hsl(var(--opencx-primary) / .07)}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-500\\/5{background-color:#ef44440d}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-secondary-foreground\\/10{background-color:hsl(var(--opencx-secondary-foreground) / .1)}.bg-secondary-foreground\\/20{background-color:hsl(var(--opencx-secondary-foreground) / .2)}.bg-transparent{background-color:transparent}.bg-white\\/30{background-color:#ffffff4d}.bg-\\[radial-gradient\\(ellipse_at_top_left\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\,radial-gradient\\(ellipse_at_top_right\\,hsl\\(var\\(--opencx-primary\\)\\)\\,transparent\\)\\]{background-image:radial-gradient(ellipse at top left,hsl(var(--opencx-primary)),transparent),radial-gradient(ellipse at top right,hsl(var(--opencx-primary)),transparent)}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground\\/70{--tw-gradient-from: hsl(var(--opencx-foreground) / .7) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--opencx-foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-foreground\\/0{--tw-gradient-to: hsl(var(--opencx-foreground) / 0) var(--tw-gradient-to-position)}.fill-current{fill:currentColor}.fill-foreground{fill:hsl(var(--opencx-foreground))}.stroke-current{stroke:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.object-left-top{object-position:left top}.p-0{padding:0}.p-0\\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-\\[var\\(--cx-p\\)\\]{padding:var(--cx-p)}.p-\\[var\\(--pk-p\\)\\]{padding:var(--pk-p)}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0{padding-top:0;padding-bottom:0}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\\[3px\\]{padding-top:3px;padding-bottom:3px}.pb-0{padding-bottom:0}.pb-0\\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-14{padding-bottom:3.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pe-1{padding-inline-end:.25rem}.pe-2{padding-inline-end:.5rem}.pe-2\\.5{padding-inline-end:.625rem}.pe-4{padding-inline-end:1rem}.pl-2{padding-left:.5rem}.pl-6{padding-left:1.5rem}.pr-16{padding-right:4rem}.ps-1{padding-inline-start:.25rem}.ps-1\\.5{padding-inline-start:.375rem}.ps-10{padding-inline-start:2.5rem}.ps-2{padding-inline-start:.5rem}.ps-2\\.5{padding-inline-start:.625rem}.ps-3{padding-inline-start:.75rem}.ps-4{padding-inline-start:1rem}.ps-8{padding-inline-start:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-1\\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-2\\.5{padding-top:.625rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-sans{font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\\[0\\.8125rem\\]{font-size:.8125rem}.text-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.text-\\[14px\\]{font-size:14px}.text-\\[16px\\]{font-size:16px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-background{color:hsl(var(--opencx-background))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-destructive{color:hsl(var(--opencx-destructive))}.text-destructive-foreground{color:hsl(var(--opencx-destructive-foreground))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-foreground{color:hsl(var(--opencx-foreground))}.text-foreground\\/50{color:hsl(var(--opencx-foreground) / .5)}.text-foreground\\/60{color:hsl(var(--opencx-foreground) / .6)}.text-foreground\\/80{color:hsl(var(--opencx-foreground) / .8)}.text-foreground\\/90{color:hsl(var(--opencx-foreground) / .9)}.text-muted-foreground{color:hsl(var(--opencx-muted-foreground))}.text-muted-foreground\\/40{color:hsl(var(--opencx-muted-foreground) / .4)}.text-muted-foreground\\/50{color:hsl(var(--opencx-muted-foreground) / .5)}.text-muted-foreground\\/60{color:hsl(var(--opencx-muted-foreground) / .6)}.text-muted-foreground\\/70{color:hsl(var(--opencx-muted-foreground) / .7)}.text-muted-foreground\\/75{color:hsl(var(--opencx-muted-foreground) / .75)}.text-primary{color:hsl(var(--opencx-primary))}.text-primary-foreground{color:hsl(var(--opencx-primary-foreground))}.text-primary-foreground\\/60{color:hsl(var(--opencx-primary-foreground) / .6)}.text-primary\\/10{color:hsl(var(--opencx-primary) / .1)}.text-primary\\/40{color:hsl(var(--opencx-primary) / .4)}.text-primary\\/50{color:hsl(var(--opencx-primary) / .5)}.text-primary\\/60{color:hsl(var(--opencx-primary) / .6)}.text-primary\\/70{color:hsl(var(--opencx-primary) / .7)}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.text-secondary-foreground\\/60{color:hsl(var(--opencx-secondary-foreground) / .6)}.text-secondary-foreground\\/70{color:hsl(var(--opencx-secondary-foreground) / .7)}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\\/80{color:#fffc}.underline{text-decoration-line:underline}.line-through{text-decoration-line:line-through}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.caret-foreground{caret-color:hsl(var(--opencx-foreground))}.accent-current{accent-color:currentColor}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-35{opacity:.35}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-90{opacity:.9}.opacity-95{opacity:.95}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-8{outline-width:8px}.outline-background{outline-color:hsl(var(--opencx-background))}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-border{--tw-ring-color: hsl(var(--opencx-border))}.ring-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[background-color\\,color\\,transform\\]{transition-property:background-color,color,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[height\\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-opencx{transition-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-0{--tw-enter-opacity: 0}.zoom-in{--tw-enter-scale: 0}.zoom-in-95{--tw-enter-scale: .95}.duration-100{animation-duration:.1s}.duration-150{animation-duration:.15s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.ease-opencx{animation-timing-function:cubic-bezier(.23,1,.32,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.running{animation-play-state:running}.paused{animation-play-state:paused}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-foreground))}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-body\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-body: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-bold\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-bold: hsl(var(--opencx-foreground))}.\\[--tw-prose-bold\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-bold: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-bullets\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-bullets: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-code\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-code: hsl(var(--opencx-foreground))}.\\[--tw-prose-code\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-code: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-counters\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-counters: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-headings\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-headings: hsl(var(--opencx-foreground))}.\\[--tw-prose-headings\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-headings: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-hr\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-hr: hsl(var(--opencx-border))}.\\[--tw-prose-lead\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-lead: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-links\\:hsl\\(var\\(--opencx-primary\\)\\)\\]{--tw-prose-links: hsl(var(--opencx-primary))}.\\[--tw-prose-links\\:hsl\\(var\\(--opencx-secondary-foreground\\)\\)\\]{--tw-prose-links: hsl(var(--opencx-secondary-foreground))}.\\[--tw-prose-pre-bg\\:hsl\\(var\\(--opencx-muted\\)\\)\\]{--tw-prose-pre-bg: hsl(var(--opencx-muted))}.\\[--tw-prose-pre-code\\:hsl\\(var\\(--opencx-foreground\\)\\)\\]{--tw-prose-pre-code: hsl(var(--opencx-foreground))}.\\[--tw-prose-quote-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-quote-borders: hsl(var(--opencx-border))}.\\[--tw-prose-quotes\\:hsl\\(var\\(--opencx-muted-foreground\\)\\)\\]{--tw-prose-quotes: hsl(var(--opencx-muted-foreground))}.\\[--tw-prose-td-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-td-borders: hsl(var(--opencx-border))}.\\[--tw-prose-th-borders\\:hsl\\(var\\(--opencx-border\\)\\)\\]{--tw-prose-th-borders: hsl(var(--opencx-border))}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[overflow-wrap\\:anywhere\\]{overflow-wrap:anywhere}.\\[word-break\\:break-word\\]{word-break:break-word}.file\\:border-0::file-selector-button{border-width:0px}.file\\:bg-transparent::file-selector-button{background-color:transparent}.file\\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\\:font-medium::file-selector-button{font-weight:500}.file\\:text-primary-foreground::file-selector-button{color:hsl(var(--opencx-primary-foreground))}.placeholder\\:text-muted-foreground::placeholder{color:hsl(var(--opencx-muted-foreground))}.placeholder\\:text-muted-foreground\\/75::placeholder{color:hsl(var(--opencx-muted-foreground) / .75)}.last\\:border-0:last-child{border-width:0px}.focus-within\\:opacity-100:focus-within{opacity:1}.hover\\:scale-\\[var\\(--scale\\)\\]:hover{--tw-scale-x: var(--scale);--tw-scale-y: var(--scale);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-accent\\/60:hover{background-color:hsl(var(--opencx-accent) / .6)}.hover\\:bg-foreground:hover{background-color:hsl(var(--opencx-foreground))}.hover\\:bg-muted:hover{background-color:hsl(var(--opencx-muted))}.hover\\:bg-muted\\/50:hover{background-color:hsl(var(--opencx-muted) / .5)}.hover\\:bg-muted\\/60:hover{background-color:hsl(var(--opencx-muted) / .6)}.hover\\:bg-primary\\/10:hover{background-color:hsl(var(--opencx-primary) / .1)}.hover\\:bg-primary\\/90:hover{background-color:hsl(var(--opencx-primary) / .9)}.hover\\:bg-primary\\/\\[0\\.02\\]:hover{background-color:hsl(var(--opencx-primary) / .02)}.hover\\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.hover\\:bg-secondary\\/80:hover{background-color:hsl(var(--opencx-secondary) / .8)}.hover\\:bg-transparent:hover{background-color:transparent}.hover\\:bg-white\\/15:hover{background-color:#ffffff26}.hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\\:text-foreground:hover{color:hsl(var(--opencx-foreground))}.hover\\:text-muted-foreground:hover{color:hsl(var(--opencx-muted-foreground))}.hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}.hover\\:text-primary-foreground:hover{color:hsl(var(--opencx-primary-foreground))}.hover\\:text-secondary-foreground:hover{color:hsl(var(--opencx-secondary-foreground))}.hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:opacity-80:hover{opacity:.8}.focus-visible\\:opacity-100:focus-visible{opacity:1}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-ring:focus-visible{outline-color:hsl(var(--opencx-ring))}.focus-visible\\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:ring-inset:focus-visible{--tw-ring-inset: inset}.focus-visible\\:ring-primary\\/40:focus-visible{--tw-ring-color: hsl(var(--opencx-primary) / .4)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.active\\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:scale-\\[0\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.active\\:hover\\:scale-\\[calc\\(var\\(--scale\\)-0\\.02\\)\\]:hover:active{--tw-scale-x: calc(var(--scale) - .02);--tw-scale-y: calc(var(--scale) - .02);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:text-white\\/30:disabled{color:#ffffff4d}.disabled\\:opacity-100:disabled{opacity:1}.disabled\\:opacity-40:disabled{opacity:.4}.disabled\\:opacity-50:disabled{opacity:.5}.disabled\\:hover\\:bg-transparent:hover:disabled{background-color:transparent}.group:hover .group-hover\\:opacity-100{opacity:1}.aria-expanded\\:bg-muted[aria-expanded=true]{background-color:hsl(var(--opencx-muted))}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.prose-headings\\:my-1\\.5 :is(:where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.375rem;margin-bottom:.375rem}.prose-headings\\:text-\\[13px\\] :is(:where(h1,h2,h3,h4,h5,h6,th):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:13px}.prose-p\\:my-1 :is(:where(p):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-a\\:underline :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-line:underline}.prose-a\\:decoration-primary :is(:where(a):not(:where([class~=not-prose],[class~=not-prose] *))){text-decoration-color:hsl(var(--opencx-primary))}.prose-pre\\:my-1\\.5 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.375rem;margin-bottom:.375rem}.prose-pre\\:p-2 :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){padding:.5rem}.prose-pre\\:text-\\[11px\\] :is(:where(pre):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:11px}.prose-ol\\:my-1 :is(:where(ol):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-ul\\:my-1 :is(:where(ul):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.25rem;margin-bottom:.25rem}.prose-li\\:my-0\\.5 :is(:where(li):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.125rem;margin-bottom:.125rem}.prose-table\\:block :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){display:block}.prose-table\\:overflow-x-auto :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){overflow-x:auto}.prose-table\\:\\[overflow-wrap\\:normal\\] :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){overflow-wrap:normal}.prose-table\\:\\[word-break\\:normal\\] :is(:where(table):not(:where([class~=not-prose],[class~=not-prose] *))){word-break:normal}.prose-img\\:rounded-xl :is(:where(img):not(:where([class~=not-prose],[class~=not-prose] *))){border-radius:.75rem}.prose-hr\\:my-2 :is(:where(hr):not(:where([class~=not-prose],[class~=not-prose] *))){margin-top:.5rem;margin-bottom:.5rem}@media(prefers-reduced-motion:reduce){.motion-reduce\\:animate-none{animation:none}.motion-reduce\\:active\\:scale-100:active{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}@media(min-width:640px){.sm\\:text-sm{font-size:.875rem;line-height:1.25rem}}.rtl\\:-scale-100:where([dir=rtl],[dir=rtl] *){--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media(prefers-color-scheme:dark){.dark\\:text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\\:text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.dark\\:text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}}.\\[\\&\\>\\*\\:first-child\\]\\:mt-0>*:first-child{margin-top:0}.\\[\\&\\>\\*\\:last-child\\]\\:mb-0>*:last-child{margin-bottom:0}.\\[\\&_\\.animate-spin\\]\\:animate-none .animate-spin{animation:none}.\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}.\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}.\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}.\\[\\&_svg\\]\\:hover\\:text-primary:hover svg{color:hsl(var(--opencx-primary))}@media(hover:none){.\\[\\@media\\(hover\\:none\\)\\]\\:opacity-100{opacity:1}}@media(pointer:coarse){.\\[\\@media\\(pointer\\:coarse\\)\\]\\:min-h-12{min-height:3rem}.\\[\\@media\\(pointer\\:coarse\\)\\]\\:gap-y-3{row-gap:.75rem}}@media(pointer:fine){.\\[\\@media\\(pointer\\:fine\\)\\]\\:hidden{display:none}}', Qm = "5.15.1";
|
|
4473
4473
|
function eh(e, t) {
|
|
4474
4474
|
const n = typeof (e == null ? void 0 : e.right) == "number", r = typeof (e == null ? void 0 : e.left) == "number";
|
|
4475
4475
|
return n && !r ? "right" : r && !n || t === "rtl" ? "left" : "right";
|
|
@@ -4607,7 +4607,7 @@ function th({
|
|
|
4607
4607
|
palette: e,
|
|
4608
4608
|
primary: t
|
|
4609
4609
|
}) {
|
|
4610
|
-
const n =
|
|
4610
|
+
const n = ec(e), r = gs(t).toHsl(), s = gs(t).isLight() ? n[950] : n[50];
|
|
4611
4611
|
return {
|
|
4612
4612
|
"--opencx-primary": `${r.h} ${r.s * 100}% ${r.l * 100}%`,
|
|
4613
4613
|
"--opencx-primary-foreground": s,
|
|
@@ -4626,7 +4626,7 @@ function th({
|
|
|
4626
4626
|
"--opencx-ring": "var(--opencx-foreground)"
|
|
4627
4627
|
};
|
|
4628
4628
|
}
|
|
4629
|
-
function
|
|
4629
|
+
function ec(e) {
|
|
4630
4630
|
const t = {
|
|
4631
4631
|
50: "0 0% 98%",
|
|
4632
4632
|
100: "0 0% 96.1%",
|
|
@@ -4686,11 +4686,11 @@ function Qi(e) {
|
|
|
4686
4686
|
case "slate":
|
|
4687
4687
|
return s;
|
|
4688
4688
|
default:
|
|
4689
|
-
return qe(e,
|
|
4689
|
+
return qe(e, ec.name), t;
|
|
4690
4690
|
}
|
|
4691
4691
|
}
|
|
4692
4692
|
const nh = 150, Ln = { capture: !0 }, mt = { capture: !0, passive: !0 };
|
|
4693
|
-
function
|
|
4693
|
+
function tc(e, { scroll: t }) {
|
|
4694
4694
|
var r;
|
|
4695
4695
|
const n = (r = Io()) == null ? void 0 : r.report;
|
|
4696
4696
|
j(() => {
|
|
@@ -4715,7 +4715,7 @@ function ec(e, { scroll: t }) {
|
|
|
4715
4715
|
};
|
|
4716
4716
|
}, [e, n, t]);
|
|
4717
4717
|
}
|
|
4718
|
-
const rh = Ue.Provider, oh = Ue.Root, sh = Ue.Trigger,
|
|
4718
|
+
const rh = Ue.Provider, oh = Ue.Root, sh = Ue.Trigger, nc = St.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ o(
|
|
4719
4719
|
Ue.Content,
|
|
4720
4720
|
{
|
|
4721
4721
|
ref: r,
|
|
@@ -4727,10 +4727,10 @@ const rh = Ue.Provider, oh = Ue.Root, sh = Ue.Trigger, tc = St.forwardRef(({ cla
|
|
|
4727
4727
|
...n
|
|
4728
4728
|
}
|
|
4729
4729
|
));
|
|
4730
|
-
|
|
4731
|
-
const
|
|
4730
|
+
nc.displayName = Ue.Content.displayName;
|
|
4731
|
+
const rc = St.createContext(!1);
|
|
4732
4732
|
function ah({ children: e }) {
|
|
4733
|
-
return /* @__PURE__ */ o(
|
|
4733
|
+
return /* @__PURE__ */ o(rc.Provider, { value: !0, children: e });
|
|
4734
4734
|
}
|
|
4735
4735
|
function Ve({
|
|
4736
4736
|
children: e,
|
|
@@ -4739,11 +4739,11 @@ function Ve({
|
|
|
4739
4739
|
align: r,
|
|
4740
4740
|
shortcut: s
|
|
4741
4741
|
}) {
|
|
4742
|
-
const { disableTooltips: i } = J(), a = St.useContext(
|
|
4742
|
+
const { disableTooltips: i } = J(), a = St.useContext(rc);
|
|
4743
4743
|
return !t || i || a ? e : /* @__PURE__ */ f(oh, { children: [
|
|
4744
4744
|
/* @__PURE__ */ o(sh, { asChild: !0, children: e }),
|
|
4745
4745
|
/* @__PURE__ */ f(
|
|
4746
|
-
|
|
4746
|
+
nc,
|
|
4747
4747
|
{
|
|
4748
4748
|
side: n,
|
|
4749
4749
|
align: r,
|
|
@@ -4757,7 +4757,7 @@ function Ve({
|
|
|
4757
4757
|
)
|
|
4758
4758
|
] });
|
|
4759
4759
|
}
|
|
4760
|
-
const
|
|
4760
|
+
const oc = "OpenCX Live Chat";
|
|
4761
4761
|
function Ro({
|
|
4762
4762
|
transparent: e = !1
|
|
4763
4763
|
} = {}) {
|
|
@@ -4794,7 +4794,7 @@ function ir({
|
|
|
4794
4794
|
},
|
|
4795
4795
|
[t]
|
|
4796
4796
|
);
|
|
4797
|
-
|
|
4797
|
+
tc(l, { scroll: !0 });
|
|
4798
4798
|
const m = {
|
|
4799
4799
|
"--opencx-shell-radius": r ?? c.widgetContentContainer.borderRadius,
|
|
4800
4800
|
// The concentric radius for any card the screens inset by their 8px
|
|
@@ -4828,7 +4828,7 @@ function ir({
|
|
|
4828
4828
|
)
|
|
4829
4829
|
] });
|
|
4830
4830
|
}
|
|
4831
|
-
function
|
|
4831
|
+
function sc() {
|
|
4832
4832
|
const { contentIframeRef: e } = ae(), { inline: t } = J();
|
|
4833
4833
|
return {
|
|
4834
4834
|
setWidth: (n) => {
|
|
@@ -4851,7 +4851,7 @@ function rn({
|
|
|
4851
4851
|
width: e,
|
|
4852
4852
|
height: t
|
|
4853
4853
|
}) {
|
|
4854
|
-
const { isSmallScreen: n } = Pe(), { setWidth: r, setHeight: s } =
|
|
4854
|
+
const { isSmallScreen: n } = Pe(), { setWidth: r, setHeight: s } = sc();
|
|
4855
4855
|
j(() => {
|
|
4856
4856
|
e && r(e), t && s(t);
|
|
4857
4857
|
}, [n, t, e, r, s]);
|
|
@@ -4868,7 +4868,7 @@ function Qt({
|
|
|
4868
4868
|
case "CheckCheck":
|
|
4869
4869
|
return Ad;
|
|
4870
4870
|
case "CircleCheck":
|
|
4871
|
-
return
|
|
4871
|
+
return Ka;
|
|
4872
4872
|
case "CircleCheckBig":
|
|
4873
4873
|
return Td;
|
|
4874
4874
|
case "CircleX":
|
|
@@ -4900,7 +4900,7 @@ function Qt({
|
|
|
4900
4900
|
case "Book":
|
|
4901
4901
|
return fd;
|
|
4902
4902
|
case "BookOpen":
|
|
4903
|
-
return
|
|
4903
|
+
return Ga;
|
|
4904
4904
|
case "Building2":
|
|
4905
4905
|
return hd;
|
|
4906
4906
|
case "Calendar":
|
|
@@ -4910,7 +4910,7 @@ function Qt({
|
|
|
4910
4910
|
case "Database":
|
|
4911
4911
|
return ud;
|
|
4912
4912
|
case "FileText":
|
|
4913
|
-
return
|
|
4913
|
+
return Xa;
|
|
4914
4914
|
case "Folder":
|
|
4915
4915
|
return xo;
|
|
4916
4916
|
case "Globe":
|
|
@@ -5375,7 +5375,7 @@ function lh({
|
|
|
5375
5375
|
"data-new-chat": "",
|
|
5376
5376
|
disabled: !S,
|
|
5377
5377
|
children: [
|
|
5378
|
-
/* @__PURE__ */ o(
|
|
5378
|
+
/* @__PURE__ */ o(Za, { size: 14, "aria-hidden": !0 }),
|
|
5379
5379
|
w("new_conversation")
|
|
5380
5380
|
]
|
|
5381
5381
|
}
|
|
@@ -5398,7 +5398,7 @@ function cr() {
|
|
|
5398
5398
|
return n.setAttribute("data-opencx-root", ""), n.style.display = "contents", document.documentElement.appendChild(n), t(n), () => {
|
|
5399
5399
|
n.remove(), t(null);
|
|
5400
5400
|
};
|
|
5401
|
-
}, []),
|
|
5401
|
+
}, []), tc(e, { scroll: !1 }), e;
|
|
5402
5402
|
}
|
|
5403
5403
|
function dh() {
|
|
5404
5404
|
const { chats: e, openChats: t, activeId: n } = tr(), r = e.find((h) => h.id === n), s = $o(r), { t: i } = X(), a = Lo(), c = cr(), d = s.title, l = t.filter((h) => h.id !== n), p = l.filter((h) => h.working).length, u = `${i("companion_other_sessions", { count: l.length })}${p ? ` · ${i("companion_working_chats", { count: p })}` : ""}`, m = `${i("companion_switch_chat")}: ${d}${l.length ? ` · ${u}` : ""}`;
|
|
@@ -5473,7 +5473,7 @@ function ph({ fallback: e }) {
|
|
|
5473
5473
|
const t = ct(), n = (r = t.config.customComponents) == null ? void 0 : r.headerTitle;
|
|
5474
5474
|
return n ? /* @__PURE__ */ o(n, { ...t }) : e;
|
|
5475
5475
|
}
|
|
5476
|
-
function
|
|
5476
|
+
function ac(e, t, n) {
|
|
5477
5477
|
var r, s;
|
|
5478
5478
|
switch (e) {
|
|
5479
5479
|
case "chat":
|
|
@@ -5484,16 +5484,16 @@ function sc(e, t, n) {
|
|
|
5484
5484
|
case "home":
|
|
5485
5485
|
return n;
|
|
5486
5486
|
default:
|
|
5487
|
-
return qe(e,
|
|
5487
|
+
return qe(e, ac.name), n;
|
|
5488
5488
|
}
|
|
5489
5489
|
}
|
|
5490
|
-
function
|
|
5490
|
+
function ic() {
|
|
5491
5491
|
const {
|
|
5492
5492
|
widgetCtx: { org: e }
|
|
5493
5493
|
} = ae(), {
|
|
5494
5494
|
routerState: { screen: t }
|
|
5495
5495
|
} = De(), { textContent: n } = J();
|
|
5496
|
-
return
|
|
5496
|
+
return ac(t, n, e.name);
|
|
5497
5497
|
}
|
|
5498
5498
|
function mh(e) {
|
|
5499
5499
|
switch (e) {
|
|
@@ -5506,7 +5506,7 @@ function mh(e) {
|
|
|
5506
5506
|
case "home":
|
|
5507
5507
|
return z("home/header");
|
|
5508
5508
|
default:
|
|
5509
|
-
qe(e,
|
|
5509
|
+
qe(e, ic.name);
|
|
5510
5510
|
return;
|
|
5511
5511
|
}
|
|
5512
5512
|
}
|
|
@@ -5549,7 +5549,7 @@ function Xr({
|
|
|
5549
5549
|
}) {
|
|
5550
5550
|
const [t, n] = R(!1), {
|
|
5551
5551
|
routerState: { screen: r }
|
|
5552
|
-
} = De(), { isSmallScreen: s } = Pe(), { theme: i } = xe(), { setWidth: a, setHeight: c } =
|
|
5552
|
+
} = De(), { isSmallScreen: s } = Pe(), { theme: i } = xe(), { setWidth: a, setHeight: c } = sc(), d = ct();
|
|
5553
5553
|
if (r !== "chat" && r !== "sessions") return null;
|
|
5554
5554
|
const l = (() => {
|
|
5555
5555
|
switch (r) {
|
|
@@ -5592,7 +5592,7 @@ function Xr({
|
|
|
5592
5592
|
}
|
|
5593
5593
|
);
|
|
5594
5594
|
}
|
|
5595
|
-
function
|
|
5595
|
+
function cc({
|
|
5596
5596
|
button: e
|
|
5597
5597
|
}) {
|
|
5598
5598
|
var w, C;
|
|
@@ -5613,7 +5613,7 @@ function ic({
|
|
|
5613
5613
|
r(!1), n.resetChat();
|
|
5614
5614
|
break;
|
|
5615
5615
|
default:
|
|
5616
|
-
qe(u,
|
|
5616
|
+
qe(u, cc.name);
|
|
5617
5617
|
break;
|
|
5618
5618
|
}
|
|
5619
5619
|
return !0;
|
|
@@ -5673,7 +5673,7 @@ function ic({
|
|
|
5673
5673
|
children: /* @__PURE__ */ f(Sn, { children: [
|
|
5674
5674
|
/* @__PURE__ */ o(Co, { children: /* @__PURE__ */ o(_o, { children: e.confirmation.title || d("close_conversation_title") }) }),
|
|
5675
5675
|
/* @__PURE__ */ o(No, { children: /* @__PURE__ */ o(Eo, { children: e.confirmation.description || d("close_conversation_description") }) }),
|
|
5676
|
-
/* @__PURE__ */ f(
|
|
5676
|
+
/* @__PURE__ */ f(Xi, { children: [
|
|
5677
5677
|
/* @__PURE__ */ o(
|
|
5678
5678
|
Y,
|
|
5679
5679
|
{
|
|
@@ -5720,7 +5720,7 @@ function Gr({ button: e }) {
|
|
|
5720
5720
|
case "expand-shrink":
|
|
5721
5721
|
return /* @__PURE__ */ o(Xr, { button: e });
|
|
5722
5722
|
case "resolve-session":
|
|
5723
|
-
return /* @__PURE__ */ o(
|
|
5723
|
+
return /* @__PURE__ */ o(cc, { button: e });
|
|
5724
5724
|
default:
|
|
5725
5725
|
return qe(e, Gr.name), null;
|
|
5726
5726
|
}
|
|
@@ -5742,10 +5742,10 @@ function bh() {
|
|
|
5742
5742
|
`${r.functionality}-${r.icon}`
|
|
5743
5743
|
)) });
|
|
5744
5744
|
}
|
|
5745
|
-
function
|
|
5745
|
+
function lc() {
|
|
5746
5746
|
const e = J(), t = e.displayMode === "companion" && !e.inline, {
|
|
5747
5747
|
routerState: { screen: n }
|
|
5748
|
-
} = De(), r = mh(n), s =
|
|
5748
|
+
} = De(), r = mh(n), s = ic();
|
|
5749
5749
|
return /* @__PURE__ */ f("header", { ...r, className: "py-2 px-4 shrink-0", children: [
|
|
5750
5750
|
/* @__PURE__ */ f(
|
|
5751
5751
|
"div",
|
|
@@ -5776,7 +5776,7 @@ function cc() {
|
|
|
5776
5776
|
/* @__PURE__ */ o(uh, {})
|
|
5777
5777
|
] });
|
|
5778
5778
|
}
|
|
5779
|
-
function
|
|
5779
|
+
function dc({ className: e }) {
|
|
5780
5780
|
return /* @__PURE__ */ o(Md, { className: T("size-4 animate-spin", e) });
|
|
5781
5781
|
}
|
|
5782
5782
|
function wh() {
|
|
@@ -5850,7 +5850,7 @@ function fn({
|
|
|
5850
5850
|
}
|
|
5851
5851
|
);
|
|
5852
5852
|
}
|
|
5853
|
-
function
|
|
5853
|
+
function uc({
|
|
5854
5854
|
messages: e,
|
|
5855
5855
|
className: t,
|
|
5856
5856
|
containerClassName: n
|
|
@@ -5876,15 +5876,15 @@ function dc({
|
|
|
5876
5876
|
}
|
|
5877
5877
|
const vh = 2e3;
|
|
5878
5878
|
function yh(e) {
|
|
5879
|
-
return e.map((t) =>
|
|
5879
|
+
return e.map((t) => Ji(t.data.message).trim()).filter((t) => t.length > 0).join(`
|
|
5880
5880
|
|
|
5881
5881
|
`);
|
|
5882
5882
|
}
|
|
5883
|
-
function
|
|
5883
|
+
function pc() {
|
|
5884
5884
|
const { messageActions: e } = J(), t = Oa();
|
|
5885
5885
|
return (e == null ? void 0 : e.copy) ?? t === "companion";
|
|
5886
5886
|
}
|
|
5887
|
-
function
|
|
5887
|
+
function mc({
|
|
5888
5888
|
messages: e
|
|
5889
5889
|
}) {
|
|
5890
5890
|
const { t } = X(), { messageActions: n } = J(), r = (n == null ? void 0 : n.display) === "always", [s, i] = R(!1), a = U(null);
|
|
@@ -5946,7 +5946,7 @@ function Xn({
|
|
|
5946
5946
|
suggestedReplies: n,
|
|
5947
5947
|
actions: r = !0
|
|
5948
5948
|
}) {
|
|
5949
|
-
const s =
|
|
5949
|
+
const s = pc(), i = e.filter(kh);
|
|
5950
5950
|
return /* @__PURE__ */ f(
|
|
5951
5951
|
"div",
|
|
5952
5952
|
{
|
|
@@ -5991,8 +5991,8 @@ function Xn({
|
|
|
5991
5991
|
},
|
|
5992
5992
|
a.id
|
|
5993
5993
|
)),
|
|
5994
|
-
/* @__PURE__ */ o(
|
|
5995
|
-
r && s && i.length > 0 && /* @__PURE__ */ o(
|
|
5994
|
+
/* @__PURE__ */ o(uc, { messages: e }),
|
|
5995
|
+
r && s && i.length > 0 && /* @__PURE__ */ o(mc, { messages: i })
|
|
5996
5996
|
]
|
|
5997
5997
|
}
|
|
5998
5998
|
)
|
|
@@ -6035,10 +6035,10 @@ function Ws({
|
|
|
6035
6035
|
agent: t,
|
|
6036
6036
|
timestamp: n
|
|
6037
6037
|
}) {
|
|
6038
|
-
const { componentStore: r, config: s, widgetCtx: i } = ae(), a =
|
|
6038
|
+
const { componentStore: r, config: s, widgetCtx: i } = ae(), a = pc(), c = r.getComponent("agent_chat_steps"), d = r.getComponent("agent_chat_spec"), l = r.getComponent("loading"), [p] = R(() => (/* @__PURE__ */ new Date()).toISOString()), u = n ?? p, m = Fa(
|
|
6039
6039
|
i.agent.presentation,
|
|
6040
6040
|
s.presentation
|
|
6041
|
-
), h =
|
|
6041
|
+
), h = Nl(e.items, m), b = e.active && (m == null ? void 0 : m.streaming) === !1 && !h.some((g) => g.kind === "questions");
|
|
6042
6042
|
return /* @__PURE__ */ f(
|
|
6043
6043
|
"div",
|
|
6044
6044
|
{
|
|
@@ -6088,7 +6088,7 @@ function Ws({
|
|
|
6088
6088
|
}
|
|
6089
6089
|
),
|
|
6090
6090
|
!e.active && a && /* @__PURE__ */ o(
|
|
6091
|
-
|
|
6091
|
+
mc,
|
|
6092
6092
|
{
|
|
6093
6093
|
messages: h.flatMap(
|
|
6094
6094
|
(g) => g.kind === "text" ? [{ data: { message: g.text } }] : []
|
|
@@ -6108,13 +6108,13 @@ function Ch({
|
|
|
6108
6108
|
active: t = !1
|
|
6109
6109
|
}) {
|
|
6110
6110
|
const n = se(() => lm(e), [e]);
|
|
6111
|
-
return /* @__PURE__ */ o(
|
|
6111
|
+
return /* @__PURE__ */ o(Bi, { spec: n, active: t });
|
|
6112
6112
|
}
|
|
6113
6113
|
function Nh({
|
|
6114
6114
|
plan: e,
|
|
6115
6115
|
active: t
|
|
6116
6116
|
}) {
|
|
6117
|
-
const [n, r] = R(!1), s =
|
|
6117
|
+
const [n, r] = R(!1), s = Sl(), i = kt(), a = e.filter((p) => p.status === "completed").length, c = e.find((p) => p.status === "in_progress") ?? e.find((p) => p.status === "pending") ?? e[0], d = 2 * Math.PI * 8, l = d * (1 - (e.length > 0 ? a / e.length : 0));
|
|
6118
6118
|
return /* @__PURE__ */ f(
|
|
6119
6119
|
"div",
|
|
6120
6120
|
{
|
|
@@ -6183,7 +6183,7 @@ function Nh({
|
|
|
6183
6183
|
initial: !1,
|
|
6184
6184
|
animate: { rotate: n ? 0 : 180 },
|
|
6185
6185
|
transition: i ? { duration: 0 } : Ee,
|
|
6186
|
-
children: /* @__PURE__ */ o(
|
|
6186
|
+
children: /* @__PURE__ */ o(Ba, { className: "size-3.5" })
|
|
6187
6187
|
}
|
|
6188
6188
|
)
|
|
6189
6189
|
]
|
|
@@ -6225,7 +6225,7 @@ function Nh({
|
|
|
6225
6225
|
animate: { opacity: 1 },
|
|
6226
6226
|
exit: { opacity: 0 },
|
|
6227
6227
|
transition: Ee,
|
|
6228
|
-
children: p.status === "completed" ? /* @__PURE__ */ o("span", { className: "flex size-4 items-center justify-center rounded-full bg-emerald-500/10", children: /* @__PURE__ */ o(zd, { className: "size-2.5 text-emerald-600 dark:text-emerald-400" }) }) : p.status === "in_progress" ? t ? /* @__PURE__ */ o(
|
|
6228
|
+
children: p.status === "completed" ? /* @__PURE__ */ o("span", { className: "flex size-4 items-center justify-center rounded-full bg-emerald-500/10", children: /* @__PURE__ */ o(zd, { className: "size-2.5 text-emerald-600 dark:text-emerald-400" }) }) : p.status === "in_progress" ? t ? /* @__PURE__ */ o(Ja, { className: "size-4 animate-spin text-primary/60 motion-reduce:animate-none" }) : /* @__PURE__ */ o(Qa, { className: "size-4 text-primary/40" }) : /* @__PURE__ */ o("span", { className: "size-1.5 rounded-full bg-primary/25" })
|
|
6229
6229
|
},
|
|
6230
6230
|
p.status
|
|
6231
6231
|
) })
|
|
@@ -6251,19 +6251,19 @@ function Nh({
|
|
|
6251
6251
|
}
|
|
6252
6252
|
);
|
|
6253
6253
|
}
|
|
6254
|
-
function
|
|
6254
|
+
function hc() {
|
|
6255
6255
|
var n, r;
|
|
6256
6256
|
const e = ct();
|
|
6257
6257
|
if ((n = e.session) != null && n.isOpened || !e.session) return null;
|
|
6258
6258
|
const t = (r = e.config.customComponents) == null ? void 0 : r.onSessionResolved;
|
|
6259
6259
|
return t ? /* @__PURE__ */ o(t, { ...e }) : null;
|
|
6260
6260
|
}
|
|
6261
|
-
function
|
|
6261
|
+
function fc() {
|
|
6262
6262
|
var n;
|
|
6263
6263
|
const e = ct(), t = (n = e.config.customComponents) == null ? void 0 : n.chatBottomComponents;
|
|
6264
6264
|
return t ? /* @__PURE__ */ o("div", { children: t.map(({ key: r, component: s }) => /* @__PURE__ */ o(s, { ...e }, r)) }) : null;
|
|
6265
6265
|
}
|
|
6266
|
-
function
|
|
6266
|
+
function gc(e) {
|
|
6267
6267
|
const t = [];
|
|
6268
6268
|
let n = null;
|
|
6269
6269
|
return e.forEach((r) => {
|
|
@@ -6285,7 +6285,7 @@ function Eh(e) {
|
|
|
6285
6285
|
var t;
|
|
6286
6286
|
return ((t = e == null ? void 0 : e[0]) == null ? void 0 : t.type) === "AGENT";
|
|
6287
6287
|
}
|
|
6288
|
-
function
|
|
6288
|
+
function bc() {
|
|
6289
6289
|
const {
|
|
6290
6290
|
messagesState: { messages: e }
|
|
6291
6291
|
} = Te(), { chatBannerItems: t } = J();
|
|
@@ -6306,7 +6306,7 @@ function Ih(e) {
|
|
|
6306
6306
|
const n = new DOMParser().parseFromString(t, "image/svg+xml"), r = n.documentElement;
|
|
6307
6307
|
return r.localName !== "svg" || r.namespaceURI !== "http://www.w3.org/2000/svg" || n.getElementsByTagName("parsererror").length > 0 ? null : `data:image/svg+xml,${encodeURIComponent(t)}`;
|
|
6308
6308
|
}
|
|
6309
|
-
const Mh =
|
|
6309
|
+
const Mh = ri(
|
|
6310
6310
|
"inline-flex items-center gap-1.5 rounded-full px-2 py-0.5 text-xs font-medium transition-colors",
|
|
6311
6311
|
{
|
|
6312
6312
|
variants: {
|
|
@@ -6324,7 +6324,7 @@ const Mh = ni(
|
|
|
6324
6324
|
function Ph({ className: e, variant: t, ...n }) {
|
|
6325
6325
|
return /* @__PURE__ */ o("div", { className: T(Mh({ variant: t }), e), ...n });
|
|
6326
6326
|
}
|
|
6327
|
-
function
|
|
6327
|
+
function wc({
|
|
6328
6328
|
customStatus: e,
|
|
6329
6329
|
className: t,
|
|
6330
6330
|
dotClassName: n
|
|
@@ -6357,7 +6357,7 @@ function bc({
|
|
|
6357
6357
|
}
|
|
6358
6358
|
);
|
|
6359
6359
|
}
|
|
6360
|
-
function
|
|
6360
|
+
function xc({
|
|
6361
6361
|
customStatus: e,
|
|
6362
6362
|
className: t
|
|
6363
6363
|
}) {
|
|
@@ -6385,13 +6385,13 @@ function wc({
|
|
|
6385
6385
|
style: { backgroundColor: e.color }
|
|
6386
6386
|
}
|
|
6387
6387
|
),
|
|
6388
|
-
/* @__PURE__ */ o(
|
|
6388
|
+
/* @__PURE__ */ o(wc, { customStatus: e }),
|
|
6389
6389
|
/* @__PURE__ */ o("span", { className: "truncate", children: e.name })
|
|
6390
6390
|
]
|
|
6391
6391
|
}
|
|
6392
6392
|
);
|
|
6393
6393
|
}
|
|
6394
|
-
function
|
|
6394
|
+
function vc() {
|
|
6395
6395
|
const {
|
|
6396
6396
|
sessionState: { session: e }
|
|
6397
6397
|
} = Ne(), t = e == null ? void 0 : e.customStatus;
|
|
@@ -6403,11 +6403,11 @@ function xc() {
|
|
|
6403
6403
|
children: /* @__PURE__ */ o(
|
|
6404
6404
|
Cn,
|
|
6405
6405
|
{
|
|
6406
|
-
trigger: /* @__PURE__ */ o(Y, { variant: "ghost", size: "selfless", className: "rounded-full", children: /* @__PURE__ */ o(
|
|
6406
|
+
trigger: /* @__PURE__ */ o(Y, { variant: "ghost", size: "selfless", className: "rounded-full", children: /* @__PURE__ */ o(xc, { customStatus: t }) }),
|
|
6407
6407
|
children: /* @__PURE__ */ f(Sn, { withClose: !0, children: [
|
|
6408
6408
|
/* @__PURE__ */ f(Co, { children: [
|
|
6409
6409
|
/* @__PURE__ */ o(
|
|
6410
|
-
|
|
6410
|
+
wc,
|
|
6411
6411
|
{
|
|
6412
6412
|
customStatus: t,
|
|
6413
6413
|
className: "size-8 mx-auto",
|
|
@@ -6424,7 +6424,7 @@ function xc() {
|
|
|
6424
6424
|
t.id
|
|
6425
6425
|
) });
|
|
6426
6426
|
}
|
|
6427
|
-
function
|
|
6427
|
+
function yc() {
|
|
6428
6428
|
var c;
|
|
6429
6429
|
const {
|
|
6430
6430
|
messagesState: { messages: e }
|
|
@@ -6455,7 +6455,7 @@ function vc() {
|
|
|
6455
6455
|
}
|
|
6456
6456
|
);
|
|
6457
6457
|
}
|
|
6458
|
-
function
|
|
6458
|
+
function kc({
|
|
6459
6459
|
src: e,
|
|
6460
6460
|
alt: t,
|
|
6461
6461
|
title: n,
|
|
@@ -6518,7 +6518,7 @@ const Fo = [
|
|
|
6518
6518
|
"style",
|
|
6519
6519
|
"noscript"
|
|
6520
6520
|
].join(",");
|
|
6521
|
-
function
|
|
6521
|
+
function Sc(e) {
|
|
6522
6522
|
var n;
|
|
6523
6523
|
if (e.matches(zh)) return !0;
|
|
6524
6524
|
const t = (n = e.ownerDocument.defaultView) == null ? void 0 : n.getComputedStyle(e);
|
|
@@ -6526,14 +6526,14 @@ function kc(e) {
|
|
|
6526
6526
|
}
|
|
6527
6527
|
function Xe(e) {
|
|
6528
6528
|
for (let t = e; t; t = t.parentElement)
|
|
6529
|
-
if (
|
|
6529
|
+
if (Sc(t)) return !0;
|
|
6530
6530
|
return !1;
|
|
6531
6531
|
}
|
|
6532
|
-
function
|
|
6532
|
+
function Cc(e) {
|
|
6533
6533
|
if (Xe(e) || e.closest($t)) return "";
|
|
6534
6534
|
const t = [], n = (r) => {
|
|
6535
6535
|
if (r instanceof Element) {
|
|
6536
|
-
if (r !== e &&
|
|
6536
|
+
if (r !== e && Sc(r) || r.matches($t))
|
|
6537
6537
|
return;
|
|
6538
6538
|
const s = /^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|BR|DD|DETAILS|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HR|LI|MAIN|NAV|OL|P|PRE|SECTION|SUMMARY|TABLE|TD|TH|TR|UL)$/.test(
|
|
6539
6539
|
r.tagName
|
|
@@ -6628,7 +6628,7 @@ function Wh(e, t) {
|
|
|
6628
6628
|
const n = bn.get(e);
|
|
6629
6629
|
n && bn.set(t, n);
|
|
6630
6630
|
}
|
|
6631
|
-
function
|
|
6631
|
+
function Nc(e) {
|
|
6632
6632
|
const [t, n] = R(null);
|
|
6633
6633
|
return j(() => {
|
|
6634
6634
|
var s;
|
|
@@ -6642,9 +6642,9 @@ function Cc(e) {
|
|
|
6642
6642
|
}, [e]), t;
|
|
6643
6643
|
}
|
|
6644
6644
|
function Uh({ element: e }) {
|
|
6645
|
-
const t =
|
|
6645
|
+
const t = Nc(e.mark) ?? e.snapshotUrl ?? null, n = e.note ?? e.name;
|
|
6646
6646
|
return t ? /* @__PURE__ */ o(
|
|
6647
|
-
|
|
6647
|
+
kc,
|
|
6648
6648
|
{
|
|
6649
6649
|
src: t,
|
|
6650
6650
|
alt: n,
|
|
@@ -6662,7 +6662,7 @@ function Uh({ element: e }) {
|
|
|
6662
6662
|
),
|
|
6663
6663
|
title: e.name,
|
|
6664
6664
|
children: [
|
|
6665
|
-
/* @__PURE__ */ o(
|
|
6665
|
+
/* @__PURE__ */ o(ei, { className: "size-3 shrink-0 text-primary" }),
|
|
6666
6666
|
/* @__PURE__ */ o("span", { className: "truncate", children: n })
|
|
6667
6667
|
]
|
|
6668
6668
|
}
|
|
@@ -6870,7 +6870,7 @@ function Kh({
|
|
|
6870
6870
|
]
|
|
6871
6871
|
);
|
|
6872
6872
|
}
|
|
6873
|
-
function
|
|
6873
|
+
function _c({
|
|
6874
6874
|
text: e,
|
|
6875
6875
|
mentions: t,
|
|
6876
6876
|
tokenClassName: n
|
|
@@ -6926,7 +6926,7 @@ function Zh({
|
|
|
6926
6926
|
children: e.markedElements.map((i, a) => /* @__PURE__ */ o(Uh, { element: i }, `${i.name}-${a}`))
|
|
6927
6927
|
}
|
|
6928
6928
|
),
|
|
6929
|
-
e.attachments && e.attachments.length > 0 && /* @__PURE__ */ o("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (s = e.attachments) == null ? void 0 : s.map((i) => /* @__PURE__ */ o(
|
|
6929
|
+
e.attachments && e.attachments.length > 0 && /* @__PURE__ */ o("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (s = e.attachments) == null ? void 0 : s.map((i) => /* @__PURE__ */ o(Ki, { attachment: i }, i.id)) }),
|
|
6930
6930
|
e.content.length > 0 && /* @__PURE__ */ o(
|
|
6931
6931
|
"div",
|
|
6932
6932
|
{
|
|
@@ -6950,7 +6950,7 @@ function Zh({
|
|
|
6950
6950
|
!t && !n && !r && "rounded-r-md"
|
|
6951
6951
|
),
|
|
6952
6952
|
children: /* @__PURE__ */ o(
|
|
6953
|
-
|
|
6953
|
+
_c,
|
|
6954
6954
|
{
|
|
6955
6955
|
text: e.content,
|
|
6956
6956
|
mentions: e.mentions,
|
|
@@ -6982,7 +6982,7 @@ function Jh({
|
|
|
6982
6982
|
},
|
|
6983
6983
|
t.id
|
|
6984
6984
|
)),
|
|
6985
|
-
/* @__PURE__ */ o(
|
|
6985
|
+
/* @__PURE__ */ o(uc, { messages: e, containerClassName: "ms-auto" })
|
|
6986
6986
|
]
|
|
6987
6987
|
}
|
|
6988
6988
|
);
|
|
@@ -7081,10 +7081,10 @@ function nf() {
|
|
|
7081
7081
|
} = jt(), { componentStore: c } = ae(), { t: d } = X(), l = tn(), {
|
|
7082
7082
|
sessionState: { session: p }
|
|
7083
7083
|
} = Ne(), u = se(
|
|
7084
|
-
() =>
|
|
7084
|
+
() => _l({ liveItems: n, turnSources: r }),
|
|
7085
7085
|
[n, r]
|
|
7086
7086
|
), m = se(
|
|
7087
|
-
() =>
|
|
7087
|
+
() => gc(e),
|
|
7088
7088
|
[e]
|
|
7089
7089
|
), h = se(() => {
|
|
7090
7090
|
const P = /* @__PURE__ */ new Map();
|
|
@@ -7147,9 +7147,9 @@ function nf() {
|
|
|
7147
7147
|
onScroll: y,
|
|
7148
7148
|
className: "max-h-full relative flex-1 py-2 px-4 flex flex-col gap-2 overflow-auto",
|
|
7149
7149
|
children: [
|
|
7150
|
-
/* @__PURE__ */ o(xc, {}),
|
|
7151
|
-
/* @__PURE__ */ o(gc, {}),
|
|
7152
7150
|
/* @__PURE__ */ o(vc, {}),
|
|
7151
|
+
/* @__PURE__ */ o(bc, {}),
|
|
7152
|
+
/* @__PURE__ */ o(yc, {}),
|
|
7153
7153
|
[
|
|
7154
7154
|
...S,
|
|
7155
7155
|
/* The live turn, streamed from useChat. Rendered in the SAME keyed
|
|
@@ -7189,8 +7189,8 @@ function nf() {
|
|
|
7189
7189
|
]
|
|
7190
7190
|
}
|
|
7191
7191
|
),
|
|
7192
|
-
/* @__PURE__ */ o(
|
|
7193
|
-
/* @__PURE__ */ o(
|
|
7192
|
+
/* @__PURE__ */ o(fc, {}),
|
|
7193
|
+
/* @__PURE__ */ o(hc, {})
|
|
7194
7194
|
]
|
|
7195
7195
|
}
|
|
7196
7196
|
),
|
|
@@ -7244,7 +7244,7 @@ function rf() {
|
|
|
7244
7244
|
}
|
|
7245
7245
|
);
|
|
7246
7246
|
}
|
|
7247
|
-
function
|
|
7247
|
+
function Ec() {
|
|
7248
7248
|
const { requireInitialQuestion: e, initialQuestions: t } = J(), { messagesState: n } = Te();
|
|
7249
7249
|
return e === !0 && n.messages.length === 0 && (t == null ? void 0 : t.some((r) => r.trim().length > 0)) === !0;
|
|
7250
7250
|
}
|
|
@@ -7252,19 +7252,20 @@ const of = 5e3;
|
|
|
7252
7252
|
function sf({
|
|
7253
7253
|
stickyQuestions: e,
|
|
7254
7254
|
messages: t,
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7255
|
+
isHandedOff: n,
|
|
7256
|
+
isStreaming: r,
|
|
7257
|
+
isTyping: s,
|
|
7258
|
+
otherSuggestionsShowing: i
|
|
7258
7259
|
}) {
|
|
7259
|
-
const
|
|
7260
|
+
const a = (e == null ? void 0 : e.filter((m) => m.trim().length > 0)) ?? [], c = t.findLast((m) => m.type !== "SYSTEM"), d = a.length > 0 && !n && !r && (c == null ? void 0 : c.type) === "AI" && c.data.variant !== "error" ? c.id : null, [l, p] = R(null);
|
|
7260
7261
|
return j(() => {
|
|
7261
|
-
if (
|
|
7262
|
-
const
|
|
7263
|
-
() =>
|
|
7262
|
+
if (d === null) return;
|
|
7263
|
+
const m = setTimeout(
|
|
7264
|
+
() => p(d),
|
|
7264
7265
|
of
|
|
7265
7266
|
);
|
|
7266
|
-
return () => clearTimeout(
|
|
7267
|
-
}, [
|
|
7267
|
+
return () => clearTimeout(m);
|
|
7268
|
+
}, [d]), d !== null && l === d && !s && !i ? a : [];
|
|
7268
7269
|
}
|
|
7269
7270
|
function eo({
|
|
7270
7271
|
isStreaming: e,
|
|
@@ -7456,7 +7457,7 @@ function cf({
|
|
|
7456
7457
|
"rounded-full size-8 flex items-center justify-center p-0",
|
|
7457
7458
|
a && "opacity-0 size-0"
|
|
7458
7459
|
),
|
|
7459
|
-
children: /* @__PURE__ */ o(
|
|
7460
|
+
children: /* @__PURE__ */ o(ti, { className: "size-4" })
|
|
7460
7461
|
}
|
|
7461
7462
|
)
|
|
7462
7463
|
] }) }, "feedback-box") }),
|
|
@@ -7631,7 +7632,7 @@ function uf({
|
|
|
7631
7632
|
"aria-label": "Cancel request",
|
|
7632
7633
|
disabled: n,
|
|
7633
7634
|
onClick: () => void a({ action: "cancel" }),
|
|
7634
|
-
children: /* @__PURE__ */ o(
|
|
7635
|
+
children: /* @__PURE__ */ o(qa, { className: "size-3.5" })
|
|
7635
7636
|
}
|
|
7636
7637
|
)
|
|
7637
7638
|
] }),
|
|
@@ -7738,7 +7739,7 @@ function uf({
|
|
|
7738
7739
|
);
|
|
7739
7740
|
}
|
|
7740
7741
|
function pf({ request: e }) {
|
|
7741
|
-
const t =
|
|
7742
|
+
const t = El(e), { phase: n, authorization: r, continuation: s, error: i } = t, c = n === "loading" || n === "waiting" || s !== null, d = n === "connected" || n === "external", l = (i == null ? void 0 : i.toLowerCase().includes("expired")) ?? !1, p = s ? s === "renew" ? "Preparing a new connection request" : "Continuing your request" : n === "waiting" ? "Waiting for approval" : n === "loading" ? "Preparing connection" : n === "connected" ? "Connected" : n === "external" ? "Setup page completed" : "Not connected", u = s ? s === "renew" ? "Requesting…" : "Continuing…" : n === "loading" ? "Preparing…" : n === "waiting" ? "Waiting…" : l ? "Reconnect" : i ? "Try again" : d ? "Continue" : "Connect", m = () => i || d ? t.retryContinuation() : t.start();
|
|
7742
7743
|
return /* @__PURE__ */ f(
|
|
7743
7744
|
"section",
|
|
7744
7745
|
{
|
|
@@ -7874,7 +7875,7 @@ function gf(e, t, n, r) {
|
|
|
7874
7875
|
}), document.documentElement.appendChild(s);
|
|
7875
7876
|
let i = null;
|
|
7876
7877
|
try {
|
|
7877
|
-
i =
|
|
7878
|
+
i = ai(s, {
|
|
7878
7879
|
type: t,
|
|
7879
7880
|
color: n,
|
|
7880
7881
|
strokeWidth: 2,
|
|
@@ -7925,8 +7926,8 @@ const bf = 60;
|
|
|
7925
7926
|
function gt(e, t) {
|
|
7926
7927
|
return e.length > t ? `${e.slice(0, t)}…` : e;
|
|
7927
7928
|
}
|
|
7928
|
-
function
|
|
7929
|
-
return
|
|
7929
|
+
function Tc(e) {
|
|
7930
|
+
return Cc(e);
|
|
7930
7931
|
}
|
|
7931
7932
|
function wf(e) {
|
|
7932
7933
|
return (
|
|
@@ -7947,7 +7948,7 @@ function xf(e) {
|
|
|
7947
7948
|
}
|
|
7948
7949
|
function vf(e) {
|
|
7949
7950
|
if (Xe(e)) return "private region";
|
|
7950
|
-
const t = e.tagName.toLowerCase(), n = e.getAttribute("aria-label"), r =
|
|
7951
|
+
const t = e.tagName.toLowerCase(), n = e.getAttribute("aria-label"), r = Tc(e);
|
|
7951
7952
|
if (t === "button" || e.getAttribute("role") === "button")
|
|
7952
7953
|
return n ? `button [${n}]` : r ? `button "${gt(r, 30)}"` : "button";
|
|
7953
7954
|
if (t === "a") {
|
|
@@ -8027,10 +8028,10 @@ function Ys(e, t = Sf) {
|
|
|
8027
8028
|
height: Math.round(Math.max(0, c - i))
|
|
8028
8029
|
};
|
|
8029
8030
|
}
|
|
8030
|
-
function
|
|
8031
|
+
function Ac(e) {
|
|
8031
8032
|
if (Xe(e) || e.closest($t))
|
|
8032
8033
|
return { name: "private region", selector: "", tag: "div" };
|
|
8033
|
-
const t =
|
|
8034
|
+
const t = Tc(e);
|
|
8034
8035
|
return {
|
|
8035
8036
|
name: vf(e),
|
|
8036
8037
|
selector: yf(e),
|
|
@@ -8070,10 +8071,10 @@ function Bn(e) {
|
|
|
8070
8071
|
function _f(e) {
|
|
8071
8072
|
const t = Uo.get(e);
|
|
8072
8073
|
if (!t || !Bn(e)) return null;
|
|
8073
|
-
const n = t.map(
|
|
8074
|
+
const n = t.map(Ac), r = t.length > 0 && t.every(gn) && JSON.stringify(n) === JSON.stringify(e.elements), s = { ...e, elements: n };
|
|
8074
8075
|
return r ? Wh(e, s) : delete s.snapshotUrl, s;
|
|
8075
8076
|
}
|
|
8076
|
-
const Xs = 120, Tt = (e) => e.replace(/\s+/g, " ").trim(), ht = (e) => e.length > Xs ? `${e.slice(0, Xs)}…` : e, Kn =
|
|
8077
|
+
const Xs = 120, Tt = (e) => e.replace(/\s+/g, " ").trim(), ht = (e) => e.length > Xs ? `${e.slice(0, Xs)}…` : e, Kn = Cc;
|
|
8077
8078
|
function Ef(e) {
|
|
8078
8079
|
const t = e instanceof HTMLInputElement || e instanceof HTMLSelectElement || e instanceof HTMLTextAreaElement ? e.labels : null, n = t ? Array.from(t).map((i) => Kn(i)).join(" ") : "";
|
|
8079
8080
|
if (n) return Tt(n);
|
|
@@ -8113,8 +8114,8 @@ const Tf = [
|
|
|
8113
8114
|
"select",
|
|
8114
8115
|
"check",
|
|
8115
8116
|
"uncheck"
|
|
8116
|
-
], Af = 3e3,
|
|
8117
|
-
function
|
|
8117
|
+
], Af = 3e3, Ic = /* @__PURE__ */ new Set(["password", "file", "hidden"]);
|
|
8118
|
+
function Mc(e) {
|
|
8118
8119
|
const t = new WeakRef(e), n = Gs(e).map((r) => {
|
|
8119
8120
|
const s = Ks(r);
|
|
8120
8121
|
return {
|
|
@@ -8150,7 +8151,7 @@ function Ks(e) {
|
|
|
8150
8151
|
element: e,
|
|
8151
8152
|
form: r,
|
|
8152
8153
|
labelControl: e instanceof HTMLLabelElement ? e.control : null,
|
|
8153
|
-
allowed: !(e instanceof HTMLInputElement &&
|
|
8154
|
+
allowed: !(e instanceof HTMLInputElement && Ic.has(e.type)),
|
|
8154
8155
|
semantics: JSON.stringify([
|
|
8155
8156
|
e.tagName,
|
|
8156
8157
|
e.getAttribute("role"),
|
|
@@ -8221,7 +8222,7 @@ function $f(e) {
|
|
|
8221
8222
|
}
|
|
8222
8223
|
return !0;
|
|
8223
8224
|
}
|
|
8224
|
-
function
|
|
8225
|
+
function Pc(e) {
|
|
8225
8226
|
const t = /* @__PURE__ */ new Set();
|
|
8226
8227
|
for (const n of e) {
|
|
8227
8228
|
for (const s of Array.from(n.removedNodes)) {
|
|
@@ -8257,14 +8258,14 @@ function Lf(e) {
|
|
|
8257
8258
|
return () => t.every(({ revision: s, value: i }) => s.value === i);
|
|
8258
8259
|
}
|
|
8259
8260
|
function oo() {
|
|
8260
|
-
At &&
|
|
8261
|
+
At && Pc(At.takeRecords());
|
|
8261
8262
|
}
|
|
8262
8263
|
function Df(e) {
|
|
8263
8264
|
if (Js !== e) {
|
|
8264
8265
|
At == null || At.disconnect();
|
|
8265
8266
|
for (const t of Vt)
|
|
8266
8267
|
for (const n of Array.from(t.values())) n.valid = !1;
|
|
8267
|
-
Js = e, Bo = /* @__PURE__ */ new WeakMap(), qo = /* @__PURE__ */ new WeakMap(), Zn = /* @__PURE__ */ new WeakMap(), At = new MutationObserver(
|
|
8268
|
+
Js = e, Bo = /* @__PURE__ */ new WeakMap(), qo = /* @__PURE__ */ new WeakMap(), Zn = /* @__PURE__ */ new WeakMap(), At = new MutationObserver(Pc), At.observe(e.documentElement, {
|
|
8268
8269
|
childList: !0,
|
|
8269
8270
|
subtree: !0,
|
|
8270
8271
|
attributes: !0,
|
|
@@ -8272,7 +8273,7 @@ function Df(e) {
|
|
|
8272
8273
|
});
|
|
8273
8274
|
}
|
|
8274
8275
|
}
|
|
8275
|
-
function
|
|
8276
|
+
function zc(e, t, n = en(t)) {
|
|
8276
8277
|
return e.valid && (e.valid = t.isConnected && e.url === t.ownerDocument.location.href && e.name === n && e.sameContext() && e.sameMeaning()), e.valid;
|
|
8277
8278
|
}
|
|
8278
8279
|
function jf() {
|
|
@@ -8283,29 +8284,29 @@ function jf() {
|
|
|
8283
8284
|
const n = `s${++Mf}`;
|
|
8284
8285
|
return (r, s = en(r)) => {
|
|
8285
8286
|
Df(r.ownerDocument), oo();
|
|
8286
|
-
const i = Zs.get(r), a = i ? Vt.map((l) => l.get(i)).find((l) => l !== void 0) : void 0, c = i && a &&
|
|
8287
|
+
const i = Zs.get(r), a = i ? Vt.map((l) => l.get(i)).find((l) => l !== void 0) : void 0, c = i && a && zc(a, r, s) ? i : `${n}c${t += 1}`, d = c === i && a ? a : {
|
|
8287
8288
|
element: new WeakRef(r),
|
|
8288
8289
|
sameContext: Lf(r),
|
|
8289
8290
|
name: s,
|
|
8290
8291
|
url: r.ownerDocument.location.href,
|
|
8291
|
-
sameMeaning:
|
|
8292
|
+
sameMeaning: Mc(r),
|
|
8292
8293
|
valid: !0
|
|
8293
8294
|
};
|
|
8294
8295
|
return e.set(c, d), Zs.set(r, c), c;
|
|
8295
8296
|
};
|
|
8296
8297
|
}
|
|
8297
8298
|
function Qs(e) {
|
|
8298
|
-
const t =
|
|
8299
|
+
const t = Oc(e);
|
|
8299
8300
|
return t != null && t.isCurrent ? t.element : null;
|
|
8300
8301
|
}
|
|
8301
|
-
function
|
|
8302
|
+
function Oc(e) {
|
|
8302
8303
|
oo();
|
|
8303
8304
|
for (const t of Vt) {
|
|
8304
8305
|
const n = t.get(e);
|
|
8305
8306
|
if (!n) continue;
|
|
8306
8307
|
const r = n.element.deref();
|
|
8307
8308
|
if (r && r.isConnected)
|
|
8308
|
-
return { element: r, isCurrent:
|
|
8309
|
+
return { element: r, isCurrent: zc(n, r) };
|
|
8309
8310
|
}
|
|
8310
8311
|
return null;
|
|
8311
8312
|
}
|
|
@@ -8443,7 +8444,7 @@ function ao(e = document) {
|
|
|
8443
8444
|
}
|
|
8444
8445
|
return { controls: t, truncated: r };
|
|
8445
8446
|
}
|
|
8446
|
-
function
|
|
8447
|
+
function Rc({
|
|
8447
8448
|
marks: e,
|
|
8448
8449
|
readsPage: t
|
|
8449
8450
|
}) {
|
|
@@ -8508,7 +8509,7 @@ function Kf({ request: e }) {
|
|
|
8508
8509
|
}
|
|
8509
8510
|
);
|
|
8510
8511
|
}
|
|
8511
|
-
const qn = "rounded-full size-8 flex items-center justify-center p-0 overflow-hidden",
|
|
8512
|
+
const qn = "rounded-full size-8 flex items-center justify-center p-0 overflow-hidden", $c = "bg-primary text-primary-foreground hover:bg-primary/90 hover:text-primary-foreground", Zf = T(
|
|
8512
8513
|
"rounded-full p-0.5 text-muted-foreground",
|
|
8513
8514
|
"hover:bg-muted hover:text-foreground",
|
|
8514
8515
|
"transition-transform active:scale-90"
|
|
@@ -8529,7 +8530,7 @@ function Jf({
|
|
|
8529
8530
|
),
|
|
8530
8531
|
title: `${e.type}: ${e.title}`,
|
|
8531
8532
|
children: [
|
|
8532
|
-
/* @__PURE__ */ o(
|
|
8533
|
+
/* @__PURE__ */ o(Xa, { className: "size-3 shrink-0 text-primary" }),
|
|
8533
8534
|
/* @__PURE__ */ o("span", { className: "truncate max-w-48 font-medium", children: e.title }),
|
|
8534
8535
|
/* @__PURE__ */ o(
|
|
8535
8536
|
"button",
|
|
@@ -8554,7 +8555,7 @@ const Qf = k.object({
|
|
|
8554
8555
|
function eg() {
|
|
8555
8556
|
var r;
|
|
8556
8557
|
const e = J(), { widgetCtx: t } = ae();
|
|
8557
|
-
if (
|
|
8558
|
+
if (Tl(), !t.features.pageContext) return null;
|
|
8558
8559
|
const n = Qf.safeParse(
|
|
8559
8560
|
(r = Hl(e)) == null ? void 0 : r.entity
|
|
8560
8561
|
);
|
|
@@ -8928,9 +8929,9 @@ function ag({
|
|
|
8928
8929
|
onRemove: t
|
|
8929
8930
|
}) {
|
|
8930
8931
|
var c;
|
|
8931
|
-
const { t: n } = X(), r =
|
|
8932
|
+
const { t: n } = X(), r = Nc(e), s = e.note ?? ((c = e.elements[0]) == null ? void 0 : c.name) ?? n("page_mark_region"), i = n("page_mark_remove", { label: s }), a = e.elements.map((d) => d.name).join(", ");
|
|
8932
8933
|
return r ? /* @__PURE__ */ o(
|
|
8933
|
-
|
|
8934
|
+
kc,
|
|
8934
8935
|
{
|
|
8935
8936
|
...z("chat/input_box/page_mark_pill"),
|
|
8936
8937
|
className: "group",
|
|
@@ -8966,7 +8967,7 @@ function ag({
|
|
|
8966
8967
|
"rounded-2xl bg-background ring-1 ring-border"
|
|
8967
8968
|
),
|
|
8968
8969
|
children: [
|
|
8969
|
-
/* @__PURE__ */ o(
|
|
8970
|
+
/* @__PURE__ */ o(ei, { className: "size-4 shrink-0 text-primary" }),
|
|
8970
8971
|
/* @__PURE__ */ o(
|
|
8971
8972
|
"span",
|
|
8972
8973
|
{
|
|
@@ -9018,10 +9019,10 @@ const Je = {
|
|
|
9018
9019
|
/** Walk recall forward; past the newest entry the stashed draft returns. */
|
|
9019
9020
|
"history-next": "ArrowDown"
|
|
9020
9021
|
};
|
|
9021
|
-
function
|
|
9022
|
+
function Lc() {
|
|
9022
9023
|
return typeof navigator > "u" ? !1 : /Mac|iPhone|iPad|iPod/.test(navigator.platform || navigator.userAgent);
|
|
9023
9024
|
}
|
|
9024
|
-
function Lt(e, t, n =
|
|
9025
|
+
function Lt(e, t, n = Lc()) {
|
|
9025
9026
|
const r = t.split("+"), s = r.at(-1) ?? "", i = new Set(r.slice(0, -1)), a = i.has("Cmd") || i.has("Mod") && n, c = i.has("Ctrl") || i.has("Mod") && !n;
|
|
9026
9027
|
return e.metaKey !== a || e.ctrlKey !== c || e.altKey !== i.has("Alt") || e.shiftKey !== i.has("Shift") ? !1 : e.key.toLowerCase() === s.toLowerCase();
|
|
9027
9028
|
}
|
|
@@ -9039,31 +9040,31 @@ const ig = {
|
|
|
9039
9040
|
ArrowLeft: "←",
|
|
9040
9041
|
ArrowRight: "→"
|
|
9041
9042
|
};
|
|
9042
|
-
function Xo(e, t =
|
|
9043
|
+
function Xo(e, t = Lc()) {
|
|
9043
9044
|
const n = e.split("+"), r = n.at(-1) ?? "", s = n.slice(0, -1), i = cg[r] ?? (r.length === 1 ? r.toUpperCase() : r);
|
|
9044
9045
|
return t ? [...s.map((a) => ig[a] ?? a), i].join("") : [...s.map((a) => a === "Mod" ? "Ctrl" : a), i].join("+");
|
|
9045
9046
|
}
|
|
9046
|
-
const lg = 50 * 1024 * 1024,
|
|
9047
|
+
const lg = 50 * 1024 * 1024, Dc = {
|
|
9047
9048
|
"application/pdf": [".pdf"],
|
|
9048
9049
|
...dm,
|
|
9049
9050
|
...um
|
|
9050
9051
|
}, dg = {
|
|
9051
9052
|
"text/*": [".txt"],
|
|
9052
9053
|
"image/*": [".png", ".jpg", ".jpeg", ".gif"],
|
|
9053
|
-
...
|
|
9054
|
+
...Dc
|
|
9054
9055
|
}, ug = {
|
|
9055
9056
|
"image/png": [".png"],
|
|
9056
9057
|
"image/jpeg": [".jpg", ".jpeg"],
|
|
9057
9058
|
"image/gif": [".gif"],
|
|
9058
9059
|
"image/webp": [".webp"],
|
|
9059
|
-
...
|
|
9060
|
+
...Dc
|
|
9060
9061
|
};
|
|
9061
9062
|
function pg({ status: e }) {
|
|
9062
9063
|
switch (e) {
|
|
9063
9064
|
case "uploading":
|
|
9064
|
-
return /* @__PURE__ */ o(
|
|
9065
|
+
return /* @__PURE__ */ o(Ja, { className: "size-4 animate-spin" });
|
|
9065
9066
|
case "error":
|
|
9066
|
-
return /* @__PURE__ */ o(
|
|
9067
|
+
return /* @__PURE__ */ o(Wa, { className: "size-4 text-destructive" });
|
|
9067
9068
|
default:
|
|
9068
9069
|
return null;
|
|
9069
9070
|
}
|
|
@@ -9080,7 +9081,7 @@ function mg({
|
|
|
9080
9081
|
className: "object-cover bg-secondary size-full",
|
|
9081
9082
|
alt: e.name
|
|
9082
9083
|
}
|
|
9083
|
-
) : n === "audio" ? /* @__PURE__ */ o(Rd, { className: "size-4 text-muted-foreground" }) : n === "video" ? /* @__PURE__ */ o($d, { className: "size-4 text-muted-foreground" }) : e.type === "application/pdf" ? /* @__PURE__ */ o(
|
|
9084
|
+
) : n === "audio" ? /* @__PURE__ */ o(Rd, { className: "size-4 text-muted-foreground" }) : n === "video" ? /* @__PURE__ */ o($d, { className: "size-4 text-muted-foreground" }) : e.type === "application/pdf" ? /* @__PURE__ */ o(Va, { className: "size-4 text-muted-foreground" }) : Vi({ type: e.type, name: e.name }) ? /* @__PURE__ */ o(Ya, { className: "size-4 text-muted-foreground" }) : /* @__PURE__ */ o(Ld, { className: "size-4 text-muted-foreground" });
|
|
9084
9085
|
}
|
|
9085
9086
|
function hg({
|
|
9086
9087
|
file: { status: e, file: t, error: n },
|
|
@@ -9265,7 +9266,7 @@ function bg({
|
|
|
9265
9266
|
className: T(
|
|
9266
9267
|
"relative",
|
|
9267
9268
|
qn,
|
|
9268
|
-
i &&
|
|
9269
|
+
i && $c
|
|
9269
9270
|
),
|
|
9270
9271
|
children: [
|
|
9271
9272
|
a && /* @__PURE__ */ o(
|
|
@@ -9284,7 +9285,7 @@ function wg(e, t) {
|
|
|
9284
9285
|
const n = e.ownerDocument;
|
|
9285
9286
|
if (!n.defaultView) return null;
|
|
9286
9287
|
const s = n.createElement("div");
|
|
9287
|
-
|
|
9288
|
+
jc(e, s), Object.assign(s.style, {
|
|
9288
9289
|
position: "absolute",
|
|
9289
9290
|
visibility: "hidden",
|
|
9290
9291
|
top: "0",
|
|
@@ -9300,7 +9301,7 @@ function wg(e, t) {
|
|
|
9300
9301
|
const a = i.offsetLeft, c = i.offsetTop - e.scrollTop;
|
|
9301
9302
|
return s.remove(), { left: a, top: c };
|
|
9302
9303
|
}
|
|
9303
|
-
function
|
|
9304
|
+
function jc(e, t) {
|
|
9304
9305
|
const n = e.ownerDocument.defaultView;
|
|
9305
9306
|
if (!n) return;
|
|
9306
9307
|
const r = n.getComputedStyle(e);
|
|
@@ -9327,7 +9328,7 @@ const xg = [
|
|
|
9327
9328
|
"border-right-width",
|
|
9328
9329
|
"border-bottom-width",
|
|
9329
9330
|
"border-left-width"
|
|
9330
|
-
], vg = 300,
|
|
9331
|
+
], vg = 300, Hc = 260, yg = 8, Fc = "rounded-xl border border-border bg-background shadow-lg";
|
|
9331
9332
|
function kg({
|
|
9332
9333
|
anchorRef: e,
|
|
9333
9334
|
inputRef: t,
|
|
@@ -9352,7 +9353,7 @@ function kg({
|
|
|
9352
9353
|
left: E,
|
|
9353
9354
|
width: M,
|
|
9354
9355
|
top: A,
|
|
9355
|
-
detailBeside: r && E + M + yg +
|
|
9356
|
+
detailBeside: r && E + M + yg + Hc <= P - 8
|
|
9356
9357
|
});
|
|
9357
9358
|
};
|
|
9358
9359
|
y(), _ == null || _.addEventListener("resize", y);
|
|
@@ -9383,7 +9384,7 @@ function kg({
|
|
|
9383
9384
|
{
|
|
9384
9385
|
role: "listbox",
|
|
9385
9386
|
style: { width: m.width },
|
|
9386
|
-
className: T("flex max-h-72 flex-col overflow-hidden",
|
|
9387
|
+
className: T("flex max-h-72 flex-col overflow-hidden", Fc),
|
|
9387
9388
|
children: /* @__PURE__ */ o("div", { className: "min-h-0 flex-1 overflow-auto p-1", children: i.length === 0 ? /* @__PURE__ */ o("div", { className: "px-2 py-1.5 text-xs text-muted-foreground", children: u("mentions_empty") }) : s.map((x) => /* @__PURE__ */ yt(
|
|
9388
9389
|
"div",
|
|
9389
9390
|
{
|
|
@@ -9411,7 +9412,7 @@ function kg({
|
|
|
9411
9412
|
y === c ? "bg-muted" : "hover:bg-muted/60"
|
|
9412
9413
|
)
|
|
9413
9414
|
},
|
|
9414
|
-
/* @__PURE__ */ o(
|
|
9415
|
+
/* @__PURE__ */ o(Wc, { item: _ }),
|
|
9415
9416
|
/* @__PURE__ */ o("span", { className: "min-w-0 flex-1 truncate text-foreground", children: _.title })
|
|
9416
9417
|
);
|
|
9417
9418
|
}),
|
|
@@ -9444,10 +9445,10 @@ function Sg({ item: e }) {
|
|
|
9444
9445
|
"div",
|
|
9445
9446
|
{
|
|
9446
9447
|
...z("chat/input_box/mention_picker/detail"),
|
|
9447
|
-
style: { width:
|
|
9448
|
-
className: T("flex gap-3 p-3",
|
|
9448
|
+
style: { width: Hc },
|
|
9449
|
+
className: T("flex gap-3 p-3", Fc),
|
|
9449
9450
|
children: [
|
|
9450
|
-
/* @__PURE__ */ o("span", { className: "flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted", children: /* @__PURE__ */ o(
|
|
9451
|
+
/* @__PURE__ */ o("span", { className: "flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted", children: /* @__PURE__ */ o(Wc, { item: e, className: "size-4" }) }),
|
|
9451
9452
|
/* @__PURE__ */ f("span", { className: "min-w-0 flex-1", children: [
|
|
9452
9453
|
/* @__PURE__ */ o("span", { className: "block text-[10px] uppercase tracking-wide text-muted-foreground", children: e.type }),
|
|
9453
9454
|
/* @__PURE__ */ o("span", { className: "block truncate text-sm font-medium text-foreground", children: e.title }),
|
|
@@ -9457,7 +9458,7 @@ function Sg({ item: e }) {
|
|
|
9457
9458
|
}
|
|
9458
9459
|
);
|
|
9459
9460
|
}
|
|
9460
|
-
function
|
|
9461
|
+
function Wc({
|
|
9461
9462
|
item: e,
|
|
9462
9463
|
className: t
|
|
9463
9464
|
}) {
|
|
@@ -9476,7 +9477,7 @@ function Fc({
|
|
|
9476
9477
|
}
|
|
9477
9478
|
);
|
|
9478
9479
|
}
|
|
9479
|
-
const
|
|
9480
|
+
const Uc = Le(null);
|
|
9480
9481
|
function Cg({ children: e }) {
|
|
9481
9482
|
const [t, n] = R([]), [r, s] = R(!1), i = U(/* @__PURE__ */ new Map()), a = H((u) => {
|
|
9482
9483
|
s(u);
|
|
@@ -9501,10 +9502,10 @@ function Cg({ children: e }) {
|
|
|
9501
9502
|
() => ({ marks: t, isArmed: r, setArmed: a, attach: c, detach: d, detachAll: l }),
|
|
9502
9503
|
[t, r, a, c, d, l]
|
|
9503
9504
|
);
|
|
9504
|
-
return /* @__PURE__ */ o(
|
|
9505
|
+
return /* @__PURE__ */ o(Uc.Provider, { value: p, children: e });
|
|
9505
9506
|
}
|
|
9506
9507
|
function Go() {
|
|
9507
|
-
const e = Me(
|
|
9508
|
+
const e = Me(Uc);
|
|
9508
9509
|
if (!e)
|
|
9509
9510
|
throw new Error("usePageMarks must be used within a PageMarksProvider");
|
|
9510
9511
|
return e;
|
|
@@ -9706,7 +9707,7 @@ function Ig({
|
|
|
9706
9707
|
...P ? { note: P } : {},
|
|
9707
9708
|
pageUrl: Wo(window.location.href),
|
|
9708
9709
|
rect: v.rect,
|
|
9709
|
-
elements: M.map(
|
|
9710
|
+
elements: M.map(Ac)
|
|
9710
9711
|
};
|
|
9711
9712
|
Nf(I, M), M[0] && Lh(I, M[0]), h.current = null, p(null), a(!1), c(I, N), n == null || n(I);
|
|
9712
9713
|
},
|
|
@@ -9822,8 +9823,8 @@ function zg({
|
|
|
9822
9823
|
} };
|
|
9823
9824
|
}
|
|
9824
9825
|
const ra = "max-h-16 [field-sizing:content] w-full px-2", Og = 1e3;
|
|
9825
|
-
function
|
|
9826
|
-
const { sessionEnded: t } =
|
|
9826
|
+
function Bc(e = {}) {
|
|
9827
|
+
const { sessionEnded: t } = Ra();
|
|
9827
9828
|
return t ? /* @__PURE__ */ o(Rg, {}) : /* @__PURE__ */ o($g, { ...e });
|
|
9828
9829
|
}
|
|
9829
9830
|
function Rg() {
|
|
@@ -9871,7 +9872,7 @@ function $g({
|
|
|
9871
9872
|
}), W = A.picked.length > 0;
|
|
9872
9873
|
at(() => {
|
|
9873
9874
|
const K = i.current, Ce = c.current;
|
|
9874
|
-
!K || !Ce ||
|
|
9875
|
+
!K || !Ce || jc(K, Ce);
|
|
9875
9876
|
}, [W, L]);
|
|
9876
9877
|
const [$, V] = R(!1), G = E ? `${E.type}:${E.id}` : "";
|
|
9877
9878
|
j(() => {
|
|
@@ -9917,7 +9918,7 @@ function $g({
|
|
|
9917
9918
|
j(() => {
|
|
9918
9919
|
!g && ge.length > 0 && tt();
|
|
9919
9920
|
}, [g, ge.length, tt]);
|
|
9920
|
-
const Nt = !!((In = N.session) != null && In.isHandedOff), { isAwaitingBotReply: dt } =
|
|
9921
|
+
const Nt = !!((In = N.session) != null && In.isHandedOff), { isAwaitingBotReply: dt } = $a(), nt = h.messageCtx.blocksSendWhileAwaitingReply && dt, ut = (K) => {
|
|
9921
9922
|
P || !g || (F(null), et(K));
|
|
9922
9923
|
}, pt = E !== null && !$, _e = ge.length > 0 || re.length > 0, Ge = !L.trim() && lt.length === 0 && (!S || !re.some(Bn)), rt = w && Ge, pr = rt && x.length > 0, Tn = P || we || nt || Ge, Ae = U(0), on = () => {
|
|
9923
9924
|
Date.now() - Ae.current < Og || C();
|
|
@@ -9980,7 +9981,7 @@ function $g({
|
|
|
9980
9981
|
// is the rich payload for THIS turn; `picked_elements` is the key the
|
|
9981
9982
|
// backend persists, re-surfaces on later turns, and hands back to the
|
|
9982
9983
|
// surfaces that show the message afterwards.
|
|
9983
|
-
clientContext:
|
|
9984
|
+
clientContext: Rc({
|
|
9984
9985
|
marks: Et,
|
|
9985
9986
|
readsPage: Ft
|
|
9986
9987
|
}),
|
|
@@ -10178,7 +10179,7 @@ function $g({
|
|
|
10178
10179
|
s ? "text-[16px]" : "text-sm"
|
|
10179
10180
|
),
|
|
10180
10181
|
children: /* @__PURE__ */ o(
|
|
10181
|
-
|
|
10182
|
+
_c,
|
|
10182
10183
|
{
|
|
10183
10184
|
text: L,
|
|
10184
10185
|
mentions: A.picked,
|
|
@@ -10280,7 +10281,7 @@ function $g({
|
|
|
10280
10281
|
className: T(
|
|
10281
10282
|
qn,
|
|
10282
10283
|
// Armed: click again (or Esc) to disarm.
|
|
10283
|
-
oe.isActive &&
|
|
10284
|
+
oe.isActive && $c
|
|
10284
10285
|
),
|
|
10285
10286
|
children: /* @__PURE__ */ o(Fd, { className: "size-4" })
|
|
10286
10287
|
}
|
|
@@ -10305,7 +10306,7 @@ function $g({
|
|
|
10305
10306
|
"aria-label": I(rt ? "stop_response" : "send_message"),
|
|
10306
10307
|
disabled: P || !rt && Tn,
|
|
10307
10308
|
className: qn,
|
|
10308
|
-
children: /* @__PURE__ */ o(ie, { mode: "wait", children: rt ? /* @__PURE__ */ o(ne, { snapExit: !0, distance: 0, children: /* @__PURE__ */ o(Wd, { className: "size-3 fill-current" }) }, "stop") : !w && (nt || we) ? /* @__PURE__ */ o(ne, { snapExit: !0, distance: 0, children: /* @__PURE__ */ o(
|
|
10309
|
+
children: /* @__PURE__ */ o(ie, { mode: "wait", children: rt ? /* @__PURE__ */ o(ne, { snapExit: !0, distance: 0, children: /* @__PURE__ */ o(Wd, { className: "size-3 fill-current" }) }, "stop") : !w && (nt || we) ? /* @__PURE__ */ o(ne, { snapExit: !0, distance: 0, children: /* @__PURE__ */ o(Qa, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ o(ne, { snapExit: !0, distance: 0, children: /* @__PURE__ */ o(ti, { className: "size-4" }) }, "send") })
|
|
10309
10310
|
}
|
|
10310
10311
|
)
|
|
10311
10312
|
}
|
|
@@ -10345,14 +10346,14 @@ function jg() {
|
|
|
10345
10346
|
/* @__PURE__ */ o(ie, { mode: "wait", children: i && /* @__PURE__ */ o($e, { children: /* @__PURE__ */ o(oa, {}) }, "new-conv-or-back-to-convs-button") })
|
|
10346
10347
|
] }, "csat") : /* @__PURE__ */ f($e, { children: [
|
|
10347
10348
|
/* @__PURE__ */ f("div", { className: "ps-2 flex items-center gap-1 pb-2", children: [
|
|
10348
|
-
/* @__PURE__ */ o(
|
|
10349
|
+
/* @__PURE__ */ o(Ka, { className: "size-4 text-emerald-600" }),
|
|
10349
10350
|
/* @__PURE__ */ o("h2", { className: "text-sm font-medium", children: e("your_issue_has_been_resolved") })
|
|
10350
10351
|
] }),
|
|
10351
10352
|
/* @__PURE__ */ o(oa, {})
|
|
10352
10353
|
] }, "session-closed") }) }) });
|
|
10353
10354
|
}
|
|
10354
10355
|
function Hg() {
|
|
10355
|
-
var S;
|
|
10356
|
+
var S, w;
|
|
10356
10357
|
const {
|
|
10357
10358
|
initialQuestions: e,
|
|
10358
10359
|
initialQuestionsPosition: t,
|
|
@@ -10363,13 +10364,15 @@ function Hg() {
|
|
|
10363
10364
|
pendingClarification: c,
|
|
10364
10365
|
pendingConnection: d,
|
|
10365
10366
|
pendingPageAction: l
|
|
10366
|
-
} = jt(), { text: p } = wo(), u = i.messages.length === 0, m =
|
|
10367
|
+
} = jt(), { text: p } = wo(), u = i.messages.length === 0, m = Ec(), h = eo({
|
|
10367
10368
|
isStreaming: a,
|
|
10368
10369
|
messages: i.messages,
|
|
10369
10370
|
session: s.session
|
|
10370
10371
|
}), b = i.lastAIResMightSolveUserIssue && (r == null ? void 0 : r.enabled) !== !1, g = sf({
|
|
10371
10372
|
stickyQuestions: n,
|
|
10372
10373
|
messages: i.messages,
|
|
10374
|
+
// The AI's handoff confirmation is an AI reply, but no AI answers after it.
|
|
10375
|
+
isHandedOff: !!((S = s.session) != null && S.isHandedOff),
|
|
10373
10376
|
isStreaming: a,
|
|
10374
10377
|
isTyping: p.trim().length > 0,
|
|
10375
10378
|
// The agent is waiting on a specific answer: a questionnaire (which
|
|
@@ -10377,7 +10380,7 @@ function Hg() {
|
|
|
10377
10380
|
// A chip tap there would be read as that answer.
|
|
10378
10381
|
otherSuggestionsShowing: b || h || c !== null || d !== null || l !== null
|
|
10379
10382
|
});
|
|
10380
|
-
return /* @__PURE__ */ o("footer", { children: /* @__PURE__ */ o(ie, { mode: "wait", children: s.session && !((
|
|
10383
|
+
return /* @__PURE__ */ o("footer", { children: /* @__PURE__ */ o(ie, { mode: "wait", children: s.session && !((w = s.session) != null && w.isOpened) ? /* @__PURE__ */ f($e, { children: [
|
|
10381
10384
|
/* @__PURE__ */ o(jg, {}),
|
|
10382
10385
|
/* @__PURE__ */ o(to, {})
|
|
10383
10386
|
] }, "session-closed") : /* @__PURE__ */ f($e, { children: [
|
|
@@ -10389,23 +10392,23 @@ function Hg() {
|
|
|
10389
10392
|
"flex items-center flex-row justify-end gap-2 flex-wrap px-2",
|
|
10390
10393
|
m && "pb-4"
|
|
10391
10394
|
),
|
|
10392
|
-
children: e == null ? void 0 : e.map((
|
|
10395
|
+
children: e == null ? void 0 : e.map((C, x) => /* @__PURE__ */ o(
|
|
10393
10396
|
fn,
|
|
10394
10397
|
{
|
|
10395
|
-
suggestion:
|
|
10398
|
+
suggestion: C
|
|
10396
10399
|
},
|
|
10397
|
-
`${
|
|
10400
|
+
`${C}-${x}`
|
|
10398
10401
|
))
|
|
10399
10402
|
}
|
|
10400
10403
|
),
|
|
10401
|
-
g.length > 0 && /* @__PURE__ */ o("div", { className: "flex items-center flex-row justify-end gap-2 flex-wrap px-2", children: g.map((
|
|
10404
|
+
g.length > 0 && /* @__PURE__ */ o("div", { className: "flex items-center flex-row justify-end gap-2 flex-wrap px-2", children: g.map((C, x) => /* @__PURE__ */ o(
|
|
10402
10405
|
fn,
|
|
10403
10406
|
{
|
|
10404
|
-
suggestion:
|
|
10407
|
+
suggestion: C
|
|
10405
10408
|
},
|
|
10406
|
-
`${
|
|
10409
|
+
`${C}-${x}`
|
|
10407
10410
|
)) }),
|
|
10408
|
-
!m && !h && /* @__PURE__ */ o(
|
|
10411
|
+
!m && !h && /* @__PURE__ */ o(Bc, {}),
|
|
10409
10412
|
/* @__PURE__ */ o(to, {})
|
|
10410
10413
|
] }, "chat-input") }) });
|
|
10411
10414
|
}
|
|
@@ -10413,8 +10416,8 @@ function Fg() {
|
|
|
10413
10416
|
var S;
|
|
10414
10417
|
const {
|
|
10415
10418
|
messagesState: { messages: e, isAgentTyping: t }
|
|
10416
|
-
} = Te(), { isAwaitingBotReply: n } =
|
|
10417
|
-
() =>
|
|
10419
|
+
} = Te(), { isAwaitingBotReply: n } = $a(), { componentStore: r } = ae(), s = tn(), i = se(
|
|
10420
|
+
() => gc(e),
|
|
10418
10421
|
[e]
|
|
10419
10422
|
), a = e.at(-1), c = a == null ? void 0 : a.id, d = a == null ? void 0 : a.type, l = U(c), [p, u] = R(!1), m = n && !p;
|
|
10420
10423
|
j(() => {
|
|
@@ -10446,9 +10449,9 @@ function Fg() {
|
|
|
10446
10449
|
ref: b,
|
|
10447
10450
|
className: "max-h-full scroll-smooth relative flex-1 py-2 px-4 flex flex-col gap-2 overflow-auto",
|
|
10448
10451
|
children: [
|
|
10449
|
-
/* @__PURE__ */ o(xc, {}),
|
|
10450
|
-
/* @__PURE__ */ o(gc, {}),
|
|
10451
10452
|
/* @__PURE__ */ o(vc, {}),
|
|
10453
|
+
/* @__PURE__ */ o(bc, {}),
|
|
10454
|
+
/* @__PURE__ */ o(yc, {}),
|
|
10452
10455
|
/* @__PURE__ */ o(
|
|
10453
10456
|
Qr,
|
|
10454
10457
|
{
|
|
@@ -10465,8 +10468,8 @@ function Fg() {
|
|
|
10465
10468
|
)) == null ? void 0 : S.agent
|
|
10466
10469
|
}
|
|
10467
10470
|
),
|
|
10468
|
-
/* @__PURE__ */ o(
|
|
10469
|
-
/* @__PURE__ */ o(
|
|
10471
|
+
/* @__PURE__ */ o(fc, {}),
|
|
10472
|
+
/* @__PURE__ */ o(hc, {})
|
|
10470
10473
|
]
|
|
10471
10474
|
}
|
|
10472
10475
|
);
|
|
@@ -10498,12 +10501,12 @@ function Wg() {
|
|
|
10498
10501
|
// Relative to the iframe
|
|
10499
10502
|
},
|
|
10500
10503
|
children: /* @__PURE__ */ f("div", { className: "relative size-full justify-between flex flex-col", children: [
|
|
10501
|
-
/* @__PURE__ */ o(
|
|
10504
|
+
/* @__PURE__ */ o(lc, {}),
|
|
10502
10505
|
/* @__PURE__ */ o(ie, { mode: "wait", children: e ? /* @__PURE__ */ o(
|
|
10503
10506
|
ne,
|
|
10504
10507
|
{
|
|
10505
10508
|
className: "flex flex-col items-center justify-center w-full flex-1",
|
|
10506
|
-
children: /* @__PURE__ */ o(
|
|
10509
|
+
children: /* @__PURE__ */ o(dc, {})
|
|
10507
10510
|
},
|
|
10508
10511
|
"loading"
|
|
10509
10512
|
) : /* @__PURE__ */ f(
|
|
@@ -10642,10 +10645,10 @@ function Pt({
|
|
|
10642
10645
|
);
|
|
10643
10646
|
}
|
|
10644
10647
|
const Bg = 3;
|
|
10645
|
-
function
|
|
10648
|
+
function qc(e, t) {
|
|
10646
10649
|
for (const n of e) {
|
|
10647
10650
|
if (n.id === t) return n;
|
|
10648
|
-
const r =
|
|
10651
|
+
const r = qc(n.topics, t);
|
|
10649
10652
|
if (r) return r;
|
|
10650
10653
|
}
|
|
10651
10654
|
}
|
|
@@ -10678,7 +10681,7 @@ function Dt({
|
|
|
10678
10681
|
}
|
|
10679
10682
|
);
|
|
10680
10683
|
}
|
|
10681
|
-
function
|
|
10684
|
+
function Vc({
|
|
10682
10685
|
topic: e,
|
|
10683
10686
|
onOpen: t
|
|
10684
10687
|
}) {
|
|
@@ -10700,7 +10703,7 @@ function qc({
|
|
|
10700
10703
|
}
|
|
10701
10704
|
);
|
|
10702
10705
|
}
|
|
10703
|
-
function
|
|
10706
|
+
function Yc({
|
|
10704
10707
|
article: e,
|
|
10705
10708
|
onOpen: t
|
|
10706
10709
|
}) {
|
|
@@ -10720,7 +10723,7 @@ function Vc({
|
|
|
10720
10723
|
}
|
|
10721
10724
|
);
|
|
10722
10725
|
}
|
|
10723
|
-
function
|
|
10726
|
+
function Xc({
|
|
10724
10727
|
component: e,
|
|
10725
10728
|
onBack: t,
|
|
10726
10729
|
children: n
|
|
@@ -10764,7 +10767,7 @@ function Jn() {
|
|
|
10764
10767
|
/* @__PURE__ */ o(Pt, { className: "h-3 w-full" })
|
|
10765
10768
|
] });
|
|
10766
10769
|
}
|
|
10767
|
-
function
|
|
10770
|
+
function Gc({ onClick: e }) {
|
|
10768
10771
|
const { t } = X();
|
|
10769
10772
|
return /* @__PURE__ */ o(
|
|
10770
10773
|
Y,
|
|
@@ -10779,8 +10782,8 @@ function Xc({ onClick: e }) {
|
|
|
10779
10782
|
}
|
|
10780
10783
|
);
|
|
10781
10784
|
}
|
|
10782
|
-
const sa = 99, Vg = (e) => e ? 16 : 9,
|
|
10783
|
-
function
|
|
10785
|
+
const sa = 99, Vg = (e) => e ? 16 : 9, Kc = (e, t) => e / 2 * (1 - Math.SQRT1_2) - Vg(t) / 2;
|
|
10786
|
+
function Zc({
|
|
10784
10787
|
count: e,
|
|
10785
10788
|
showCount: t,
|
|
10786
10789
|
component: n = "trigger/unread",
|
|
@@ -10829,7 +10832,7 @@ function Zo({
|
|
|
10829
10832
|
}) {
|
|
10830
10833
|
const s = lr();
|
|
10831
10834
|
return s === !1 ? null : /* @__PURE__ */ o(
|
|
10832
|
-
|
|
10835
|
+
Zc,
|
|
10833
10836
|
{
|
|
10834
10837
|
count: e,
|
|
10835
10838
|
showCount: (t ?? s) === "count",
|
|
@@ -10856,7 +10859,7 @@ function ur({
|
|
|
10856
10859
|
{
|
|
10857
10860
|
key: "home",
|
|
10858
10861
|
label: c("home_tab_articles"),
|
|
10859
|
-
Icon:
|
|
10862
|
+
Icon: Ga,
|
|
10860
10863
|
onClick: r,
|
|
10861
10864
|
onReselect: e,
|
|
10862
10865
|
unread: 0
|
|
@@ -10928,7 +10931,7 @@ function ur({
|
|
|
10928
10931
|
}
|
|
10929
10932
|
) });
|
|
10930
10933
|
}
|
|
10931
|
-
function
|
|
10934
|
+
function Jc({
|
|
10932
10935
|
key: e,
|
|
10933
10936
|
fetchPage: t
|
|
10934
10937
|
}) {
|
|
@@ -10975,11 +10978,11 @@ function Zc({
|
|
|
10975
10978
|
reload: p
|
|
10976
10979
|
};
|
|
10977
10980
|
}
|
|
10978
|
-
function
|
|
10981
|
+
function Qc({
|
|
10979
10982
|
helpCenterId: e,
|
|
10980
10983
|
topicId: t
|
|
10981
10984
|
}) {
|
|
10982
|
-
const { widgetCtx: n } = ae(), r =
|
|
10985
|
+
const { widgetCtx: n } = ae(), r = Jc({
|
|
10983
10986
|
key: t === null ? null : `${e}:${t}`,
|
|
10984
10987
|
fetchPage: (s) => t === null ? Promise.resolve({ items: [], nextOffset: null }) : n.api.listTopicArticles({ helpCenterId: e, topicId: t, offset: s }).then((i) => ({
|
|
10985
10988
|
items: i.articles,
|
|
@@ -11026,7 +11029,7 @@ function Kg({
|
|
|
11026
11029
|
width: p.screens.chat.width,
|
|
11027
11030
|
height: p.screens.chat.height
|
|
11028
11031
|
});
|
|
11029
|
-
const u =
|
|
11032
|
+
const u = ii(
|
|
11030
11033
|
() => d.api.getHelpCenterArticle({ helpCenterId: e, slug: t }),
|
|
11031
11034
|
[d, e, t]
|
|
11032
11035
|
), m = (C = u.value) == null ? void 0 : C.article, h = se(
|
|
@@ -11047,7 +11050,7 @@ function Kg({
|
|
|
11047
11050
|
slug: t
|
|
11048
11051
|
}) : u.value && !u.value.article && !u.value.redirect_slug && he.warn("home: article not found", { helpCenterId: e, slug: t });
|
|
11049
11052
|
}, [u.error, u.value, e, t]);
|
|
11050
|
-
const g = (m == null ? void 0 : m.topic_path) ?? [], S =
|
|
11053
|
+
const g = (m == null ? void 0 : m.topic_path) ?? [], S = Qc({
|
|
11051
11054
|
helpCenterId: e,
|
|
11052
11055
|
topicId: ((_ = g.at(-1)) == null ? void 0 : _.id) ?? null
|
|
11053
11056
|
}), w = m ? qg({
|
|
@@ -11067,7 +11070,7 @@ function Kg({
|
|
|
11067
11070
|
maxHeight: "100vh"
|
|
11068
11071
|
},
|
|
11069
11072
|
children: [
|
|
11070
|
-
/* @__PURE__ */ o(
|
|
11073
|
+
/* @__PURE__ */ o(Xc, { component: "article/header", onBack: r, children: /* @__PURE__ */ o(
|
|
11071
11074
|
"nav",
|
|
11072
11075
|
{
|
|
11073
11076
|
...z("article/trail"),
|
|
@@ -11124,7 +11127,7 @@ function Kg({
|
|
|
11124
11127
|
component: "home/articles",
|
|
11125
11128
|
title: l("home_suggested_articles"),
|
|
11126
11129
|
children: w.map((y) => /* @__PURE__ */ o(
|
|
11127
|
-
|
|
11130
|
+
Yc,
|
|
11128
11131
|
{
|
|
11129
11132
|
article: y,
|
|
11130
11133
|
onOpen: i
|
|
@@ -11162,7 +11165,7 @@ function Zg({
|
|
|
11162
11165
|
[t.id, t.name]
|
|
11163
11166
|
);
|
|
11164
11167
|
Mo(d);
|
|
11165
|
-
const l = t.topics.filter((u) => u.article_count > 0), p =
|
|
11168
|
+
const l = t.topics.filter((u) => u.article_count > 0), p = Qc({ helpCenterId: e, topicId: t.id });
|
|
11166
11169
|
return /* @__PURE__ */ f(
|
|
11167
11170
|
"div",
|
|
11168
11171
|
{
|
|
@@ -11175,20 +11178,20 @@ function Zg({
|
|
|
11175
11178
|
maxHeight: "100vh"
|
|
11176
11179
|
},
|
|
11177
11180
|
children: [
|
|
11178
|
-
/* @__PURE__ */ o(
|
|
11181
|
+
/* @__PURE__ */ o(Xc, { component: "topic/header", onBack: n, children: /* @__PURE__ */ o("h1", { className: "min-w-0 flex-1 truncate text-sm font-semibold", children: t.name }) }),
|
|
11179
11182
|
/* @__PURE__ */ f("div", { className: "flex-1 min-h-0 overflow-y-auto flex flex-col gap-3 p-3", children: [
|
|
11180
11183
|
t.description && /* @__PURE__ */ o("p", { className: "px-2 text-sm text-muted-foreground [overflow-wrap:anywhere]", children: t.description }),
|
|
11181
|
-
l.length > 0 && /* @__PURE__ */ o(Dt, { component: "home/topics", title: c("home_topics"), children: l.map((u) => /* @__PURE__ */ o(
|
|
11184
|
+
l.length > 0 && /* @__PURE__ */ o(Dt, { component: "home/topics", title: c("home_topics"), children: l.map((u) => /* @__PURE__ */ o(Vc, { topic: u, onOpen: s }, u.id)) }),
|
|
11182
11185
|
p.error && p.items.length === 0 ? /* @__PURE__ */ o("p", { className: "py-6 text-center text-sm text-muted-foreground", children: c("home_load_failed") }) : (p.loading || p.items.length > 0) && /* @__PURE__ */ f(Dt, { component: "home/articles", title: c("home_tab_articles"), children: [
|
|
11183
11186
|
p.items.map((u) => /* @__PURE__ */ o(
|
|
11184
|
-
|
|
11187
|
+
Yc,
|
|
11185
11188
|
{
|
|
11186
11189
|
article: u,
|
|
11187
11190
|
onOpen: i
|
|
11188
11191
|
},
|
|
11189
11192
|
u.id
|
|
11190
11193
|
)),
|
|
11191
|
-
p.loading ? /* @__PURE__ */ o(Jn, {}) : p.hasMore ? /* @__PURE__ */ o(
|
|
11194
|
+
p.loading ? /* @__PURE__ */ o(Jn, {}) : p.hasMore ? /* @__PURE__ */ o(Gc, { onClick: p.loadMore }) : null
|
|
11192
11195
|
] })
|
|
11193
11196
|
] }),
|
|
11194
11197
|
/* @__PURE__ */ f("footer", { className: "shrink-0 pt-1", children: [
|
|
@@ -11208,7 +11211,7 @@ const Jo = Le({
|
|
|
11208
11211
|
});
|
|
11209
11212
|
function Jg({ children: e }) {
|
|
11210
11213
|
var c;
|
|
11211
|
-
const { widgetCtx: t } = ae(), n = (c = t.home) == null ? void 0 : c.helpCenterId, [r, s] = R(!1), i = H(() => s(!0), []), a =
|
|
11214
|
+
const { widgetCtx: t } = ae(), n = (c = t.home) == null ? void 0 : c.helpCenterId, [r, s] = R(!1), i = H(() => s(!0), []), a = ii(
|
|
11212
11215
|
async () => r && n ? t.api.listHomeArticles({ helpCenterId: n }) : void 0,
|
|
11213
11216
|
[t, n, r]
|
|
11214
11217
|
);
|
|
@@ -11246,19 +11249,19 @@ function nb(e) {
|
|
|
11246
11249
|
n(""), s("");
|
|
11247
11250
|
} };
|
|
11248
11251
|
}
|
|
11249
|
-
const
|
|
11252
|
+
const el = Le(null);
|
|
11250
11253
|
function rb({ children: e }) {
|
|
11251
11254
|
var l;
|
|
11252
11255
|
const { widgetCtx: t } = ae(), n = ((l = t.home) == null ? void 0 : l.helpCenterId) ?? null, { data: r } = Me(Jo), [s, i] = R([]), a = nb((r == null ? void 0 : r.popularSearches) ?? []), [c, d] = R(n);
|
|
11253
|
-
return c !== n && (d(n), i([]), a.reset()), /* @__PURE__ */ o(
|
|
11256
|
+
return c !== n && (d(n), i([]), a.reset()), /* @__PURE__ */ o(el.Provider, { value: { stack: s, setStack: i, homeSearch: a }, children: e });
|
|
11254
11257
|
}
|
|
11255
11258
|
function ob() {
|
|
11256
|
-
const e = Me(
|
|
11259
|
+
const e = Me(el);
|
|
11257
11260
|
if (!e)
|
|
11258
11261
|
throw new Error("useHomeState must be used inside HomeStateProvider");
|
|
11259
11262
|
return e;
|
|
11260
11263
|
}
|
|
11261
|
-
const sb = 24, ab = { initial: { opacity: 1, x: 0 } },
|
|
11264
|
+
const sb = 24, ab = { initial: { opacity: 1, x: 0 } }, tl = Le({
|
|
11262
11265
|
direction: null,
|
|
11263
11266
|
settle: () => {
|
|
11264
11267
|
}
|
|
@@ -11273,11 +11276,11 @@ function ib({
|
|
|
11273
11276
|
}) {
|
|
11274
11277
|
return !aa(e) || !aa(t) || e === t ? null : io[t] > io[e] !== n ? "left" : "right";
|
|
11275
11278
|
}
|
|
11276
|
-
function
|
|
11279
|
+
function nl({
|
|
11277
11280
|
children: e,
|
|
11278
11281
|
...t
|
|
11279
11282
|
}) {
|
|
11280
|
-
const { direction: n, settle: r } = Me(
|
|
11283
|
+
const { direction: n, settle: r } = Me(tl);
|
|
11281
11284
|
return j(() => {
|
|
11282
11285
|
n && r();
|
|
11283
11286
|
}, [n, r]), /* @__PURE__ */ o(
|
|
@@ -11302,7 +11305,7 @@ function mb() {
|
|
|
11302
11305
|
[r]
|
|
11303
11306
|
);
|
|
11304
11307
|
if (!t) return null;
|
|
11305
|
-
const c = (x) => r((_) => [..._, x]), d = () => r((x) => x.slice(0, -1)), l = () => r([]), p = (x) => c({ kind: "article", slug: x }), u = (x) => c({ kind: "topic", topicId: x }), m = (x) => r(x.map((_) => ({ kind: "topic", topicId: _ }))), h = n[n.length - 1], b = ((w = i.data) == null ? void 0 : w.topics) ?? [], g = (h == null ? void 0 : h.kind) === "topic" ?
|
|
11308
|
+
const c = (x) => r((_) => [..._, x]), d = () => r((x) => x.slice(0, -1)), l = () => r([]), p = (x) => c({ kind: "article", slug: x }), u = (x) => c({ kind: "topic", topicId: x }), m = (x) => r(x.map((_) => ({ kind: "topic", topicId: _ }))), h = n[n.length - 1], b = ((w = i.data) == null ? void 0 : w.topics) ?? [], g = (h == null ? void 0 : h.kind) === "topic" ? qc(b, h.topicId) : null;
|
|
11306
11309
|
return /* @__PURE__ */ o(ie, { mode: "wait", initial: !1, children: (h == null ? void 0 : h.kind) === "article" ? /* @__PURE__ */ o(
|
|
11307
11310
|
ne,
|
|
11308
11311
|
{
|
|
@@ -11385,7 +11388,7 @@ function hb({
|
|
|
11385
11388
|
maxHeight: "100vh"
|
|
11386
11389
|
},
|
|
11387
11390
|
children: [
|
|
11388
|
-
/* @__PURE__ */ f(
|
|
11391
|
+
/* @__PURE__ */ f(nl, { className: "flex-1 min-h-0 flex flex-col", children: [
|
|
11389
11392
|
/* @__PURE__ */ o(fb, {}),
|
|
11390
11393
|
/* @__PURE__ */ o("div", { className: "shrink-0 px-3 -mt-6 relative z-10", children: /* @__PURE__ */ o(
|
|
11391
11394
|
gb,
|
|
@@ -11416,7 +11419,7 @@ function hb({
|
|
|
11416
11419
|
}
|
|
11417
11420
|
),
|
|
11418
11421
|
b.length > 0 && /* @__PURE__ */ o(Dt, { component: "home/topics", title: m("home_topics"), children: b.map((g) => /* @__PURE__ */ o(
|
|
11419
|
-
|
|
11422
|
+
Vc,
|
|
11420
11423
|
{
|
|
11421
11424
|
topic: g,
|
|
11422
11425
|
onOpen: p
|
|
@@ -11558,7 +11561,7 @@ function xb({
|
|
|
11558
11561
|
}) {
|
|
11559
11562
|
const { t: s } = X();
|
|
11560
11563
|
return n ? /* @__PURE__ */ o(co, { children: s("home_load_failed") }) : !t && (e == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ o(Dt, { component: "home/articles", title: s("home_suggested_articles"), children: t || !e ? Array.from({ length: lb }, (i, a) => /* @__PURE__ */ o(Jn, {}, a)) : e.map((i) => /* @__PURE__ */ o(
|
|
11561
|
-
|
|
11564
|
+
rl,
|
|
11562
11565
|
{
|
|
11563
11566
|
article: i,
|
|
11564
11567
|
onOpen: r
|
|
@@ -11572,7 +11575,7 @@ function vb({
|
|
|
11572
11575
|
retry: n,
|
|
11573
11576
|
onOpenArticle: r
|
|
11574
11577
|
}) {
|
|
11575
|
-
const { widgetCtx: s } = ae(), { t: i } = X(), a =
|
|
11578
|
+
const { widgetCtx: s } = ae(), { t: i } = X(), a = Jc({
|
|
11576
11579
|
key: `${e}:${t}`,
|
|
11577
11580
|
fetchPage: (u) => s.api.searchHelpCenter({ helpCenterId: e, query: t, offset: u }).then((m) => ({
|
|
11578
11581
|
items: m.results,
|
|
@@ -11590,7 +11593,7 @@ function vb({
|
|
|
11590
11593
|
n !== d.current && (d.current = n, l && p());
|
|
11591
11594
|
}, [n, l, p]), a.items.length === 0 ? a.error ? /* @__PURE__ */ o(co, { onRetry: a.reload, children: i(c ? "home_search_busy" : "home_load_failed") }) : a.loading ? /* @__PURE__ */ o(Dt, { component: "home/articles", children: /* @__PURE__ */ o(Jn, {}) }) : /* @__PURE__ */ o(co, { children: i("home_search_no_results") }) : /* @__PURE__ */ f(Dt, { component: "home/articles", children: [
|
|
11592
11595
|
a.items.map((u) => /* @__PURE__ */ o(
|
|
11593
|
-
|
|
11596
|
+
rl,
|
|
11594
11597
|
{
|
|
11595
11598
|
article: u,
|
|
11596
11599
|
topicName: u.topic.name,
|
|
@@ -11598,10 +11601,10 @@ function vb({
|
|
|
11598
11601
|
},
|
|
11599
11602
|
u.id
|
|
11600
11603
|
)),
|
|
11601
|
-
a.loading ? /* @__PURE__ */ o(Jn, {}) : a.hasMore ? /* @__PURE__ */ o(
|
|
11604
|
+
a.loading ? /* @__PURE__ */ o(Jn, {}) : a.hasMore ? /* @__PURE__ */ o(Gc, { onClick: a.loadMore }) : null
|
|
11602
11605
|
] });
|
|
11603
11606
|
}
|
|
11604
|
-
function
|
|
11607
|
+
function rl({
|
|
11605
11608
|
article: e,
|
|
11606
11609
|
topicName: t,
|
|
11607
11610
|
onOpen: n
|
|
@@ -11687,7 +11690,7 @@ function yb({
|
|
|
11687
11690
|
}
|
|
11688
11691
|
};
|
|
11689
11692
|
return !r || ((x = n.capabilities) == null ? void 0 : x.connections) !== !0 ? /* @__PURE__ */ f(te, { children: [
|
|
11690
|
-
/* @__PURE__ */ o(
|
|
11693
|
+
/* @__PURE__ */ o(lc, {}),
|
|
11691
11694
|
((_ = n.capabilities) == null ? void 0 : _.connections) === !0 && l.length > 0 && /* @__PURE__ */ f(
|
|
11692
11695
|
Y,
|
|
11693
11696
|
{
|
|
@@ -11876,9 +11879,9 @@ function ia({
|
|
|
11876
11879
|
/* @__PURE__ */ f("div", { className: "flex-1 min-w-0", children: [
|
|
11877
11880
|
/* @__PURE__ */ o(ie, { mode: "wait", children: /* @__PURE__ */ o(ne, { snapExit: !0, children: c }, c) }),
|
|
11878
11881
|
/* @__PURE__ */ o(ie, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ o(ne, { snapExit: !0, children: /* @__PURE__ */ o(
|
|
11879
|
-
|
|
11882
|
+
Zi,
|
|
11880
11883
|
{
|
|
11881
|
-
remarkPlugins: [
|
|
11884
|
+
remarkPlugins: [oi],
|
|
11882
11885
|
rehypePlugins: [$r],
|
|
11883
11886
|
className: "line-clamp-1 overflow-hidden text-ellipsis text-xs text-muted-foreground",
|
|
11884
11887
|
children: e.lastMessage
|
|
@@ -11889,7 +11892,7 @@ function ia({
|
|
|
11889
11892
|
{
|
|
11890
11893
|
className: "mt-1",
|
|
11891
11894
|
snapExit: !0,
|
|
11892
|
-
children: /* @__PURE__ */ o(
|
|
11895
|
+
children: /* @__PURE__ */ o(xc, { customStatus: e.customStatus })
|
|
11893
11896
|
},
|
|
11894
11897
|
e.customStatus.id
|
|
11895
11898
|
) })
|
|
@@ -11920,7 +11923,7 @@ function Sb() {
|
|
|
11920
11923
|
ne,
|
|
11921
11924
|
{
|
|
11922
11925
|
className: "flex-1 flex items-center justify-center",
|
|
11923
|
-
children: /* @__PURE__ */ o(
|
|
11926
|
+
children: /* @__PURE__ */ o(dc, {})
|
|
11924
11927
|
},
|
|
11925
11928
|
"loading"
|
|
11926
11929
|
) : /* @__PURE__ */ o(
|
|
@@ -12013,7 +12016,7 @@ function Cb() {
|
|
|
12013
12016
|
// Relative to the iframe
|
|
12014
12017
|
},
|
|
12015
12018
|
children: /* @__PURE__ */ f("div", { className: "size-full flex flex-col", children: [
|
|
12016
|
-
/* @__PURE__ */ o(
|
|
12019
|
+
/* @__PURE__ */ o(nl, { className: "flex-1 min-h-0 flex flex-col", children: /* @__PURE__ */ o(yb, { children: /* @__PURE__ */ o(Sb, {}) }) }),
|
|
12017
12020
|
/* @__PURE__ */ o(ur, {}),
|
|
12018
12021
|
/* @__PURE__ */ o(En, {})
|
|
12019
12022
|
] })
|
|
@@ -12050,7 +12053,7 @@ function Eb() {
|
|
|
12050
12053
|
var w, C, x, _, y, v, N, P;
|
|
12051
12054
|
const {
|
|
12052
12055
|
widgetCtx: { org: e }
|
|
12053
|
-
} = ae(), { setIsOpen: t } = Qe(), { createUnverifiedContact: n } =
|
|
12056
|
+
} = ae(), { setIsOpen: t } = Qe(), { createUnverifiedContact: n } = La(), { isSmallScreen: r } = Pe(), s = J(), { theme: i } = xe(), { t: a } = X(), { observedElementRef: c } = Nb();
|
|
12054
12057
|
rn({
|
|
12055
12058
|
height: void 0,
|
|
12056
12059
|
width: i.screens.welcome.width
|
|
@@ -12190,7 +12193,7 @@ function Eb() {
|
|
|
12190
12193
|
}
|
|
12191
12194
|
const Tb = { initial: { opacity: 1, x: 0 } };
|
|
12192
12195
|
function Ab(e) {
|
|
12193
|
-
const { dir: t } = X(), [, n] =
|
|
12196
|
+
const { dir: t } = X(), [, n] = Cl((i) => i + 1, 0), r = U({ screen: e, direction: null });
|
|
12194
12197
|
r.current.screen !== e && (r.current = {
|
|
12195
12198
|
screen: e,
|
|
12196
12199
|
direction: ib({
|
|
@@ -12211,7 +12214,7 @@ function Qo() {
|
|
|
12211
12214
|
return (
|
|
12212
12215
|
// Route exits are instantaneous. Keep the keyed entry animation, but do not
|
|
12213
12216
|
// queue old screens while welcome → sessions → chat changes in one frame.
|
|
12214
|
-
/* @__PURE__ */ o(Jg, { children: /* @__PURE__ */ o(rb, { children: /* @__PURE__ */ o(
|
|
12217
|
+
/* @__PURE__ */ o(Jg, { children: /* @__PURE__ */ o(rb, { children: /* @__PURE__ */ o(tl.Provider, { value: t, children: /* @__PURE__ */ o("div", { className: "relative bg-background size-full", children: (() => {
|
|
12215
12218
|
switch (e) {
|
|
12216
12219
|
case "welcome":
|
|
12217
12220
|
return /* @__PURE__ */ o(
|
|
@@ -12267,7 +12270,7 @@ function Qo() {
|
|
|
12267
12270
|
}
|
|
12268
12271
|
const Ib = Ro(), Mb = () => {
|
|
12269
12272
|
};
|
|
12270
|
-
function
|
|
12273
|
+
function ol() {
|
|
12271
12274
|
const { isOpen: e } = Qe(), { contentIframeRef: t, widgetCtx: n } = ae(), { inline: r } = J(), { theme: s, computed: i } = xe();
|
|
12272
12275
|
return j(() => {
|
|
12273
12276
|
e || n.dictationCtx.stop({ executeFinalCommand: !1 });
|
|
@@ -12301,12 +12304,12 @@ function rl() {
|
|
|
12301
12304
|
}
|
|
12302
12305
|
},
|
|
12303
12306
|
children: /* @__PURE__ */ o(
|
|
12304
|
-
|
|
12307
|
+
si,
|
|
12305
12308
|
{
|
|
12306
12309
|
ref: t,
|
|
12307
12310
|
initialContent: Ib,
|
|
12308
12311
|
allowFullScreen: !0,
|
|
12309
|
-
title:
|
|
12312
|
+
title: oc,
|
|
12310
12313
|
style: {
|
|
12311
12314
|
// @ts-expect-error this is a valid css variable
|
|
12312
12315
|
"--opencx-widget-width": i.minWidth,
|
|
@@ -12356,7 +12359,7 @@ function Pb() {
|
|
|
12356
12359
|
sideOffset: e.widgetContentContainer.offset.side,
|
|
12357
12360
|
alignOffset: e.widgetContentContainer.offset.align,
|
|
12358
12361
|
avoidCollisions: !1,
|
|
12359
|
-
children: /* @__PURE__ */ o(
|
|
12362
|
+
children: /* @__PURE__ */ o(ol, {})
|
|
12360
12363
|
}
|
|
12361
12364
|
);
|
|
12362
12365
|
}
|
|
@@ -12395,12 +12398,12 @@ function zb({
|
|
|
12395
12398
|
}
|
|
12396
12399
|
);
|
|
12397
12400
|
}
|
|
12398
|
-
function
|
|
12401
|
+
function sl() {
|
|
12399
12402
|
var t;
|
|
12400
12403
|
const { accessibility: e } = J();
|
|
12401
12404
|
return ((t = e == null ? void 0 : e.widgetTriggerButton) == null ? void 0 : t.label) ?? "Chat with us";
|
|
12402
12405
|
}
|
|
12403
|
-
function
|
|
12406
|
+
function al(e, t, n, r) {
|
|
12404
12407
|
return e({
|
|
12405
12408
|
react: pe,
|
|
12406
12409
|
isOpen: t,
|
|
@@ -12414,17 +12417,17 @@ const Ob = Ro({ transparent: !0 }), lo = 6, ca = {
|
|
|
12414
12417
|
}, Tr = (e) => typeof e == "number" ? e - lo : e;
|
|
12415
12418
|
function Rb() {
|
|
12416
12419
|
var m, h;
|
|
12417
|
-
const { isOpen: e, setIsOpen: t } = Qe(), { assets: n, customComponents: r } = J(), { count: s } = nr(), i = dr(s), a = lr() === "count", { theme: c, triggerSide: d } = xe(), l =
|
|
12420
|
+
const { isOpen: e, setIsOpen: t } = Qe(), { assets: n, customComponents: r } = J(), { count: s } = nr(), i = dr(s), a = lr() === "count", { theme: c, triggerSide: d } = xe(), l = Kc(
|
|
12418
12421
|
c.widgetTrigger.size.button,
|
|
12419
12422
|
a
|
|
12420
|
-
), p =
|
|
12421
|
-
return r != null && r.widgetTrigger ?
|
|
12423
|
+
), p = sl(), u = i && !e ? `${p} · ${i}` : p;
|
|
12424
|
+
return r != null && r.widgetTrigger ? al(
|
|
12422
12425
|
r.widgetTrigger,
|
|
12423
12426
|
e,
|
|
12424
12427
|
t,
|
|
12425
12428
|
s
|
|
12426
12429
|
) : /* @__PURE__ */ o(
|
|
12427
|
-
|
|
12430
|
+
si,
|
|
12428
12431
|
{
|
|
12429
12432
|
initialContent: Ob,
|
|
12430
12433
|
title: "OpenCX Live Chat Trigger",
|
|
@@ -12502,7 +12505,7 @@ function Rb() {
|
|
|
12502
12505
|
}
|
|
12503
12506
|
}
|
|
12504
12507
|
) : /* @__PURE__ */ o(
|
|
12505
|
-
|
|
12508
|
+
ni,
|
|
12506
12509
|
{
|
|
12507
12510
|
style: {
|
|
12508
12511
|
width: c.widgetTrigger.size.icon,
|
|
@@ -12579,7 +12582,7 @@ function jb(e, {
|
|
|
12579
12582
|
}) {
|
|
12580
12583
|
e.defaultPrevented || t !== "chat" || Lt(e, Je["toggle-fullscreen"]) && (e.preventDefault(), n());
|
|
12581
12584
|
}
|
|
12582
|
-
function
|
|
12585
|
+
function il(e, {
|
|
12583
12586
|
state: t,
|
|
12584
12587
|
onDismiss: n,
|
|
12585
12588
|
onToggleFullscreen: r
|
|
@@ -12627,7 +12630,7 @@ function Fb({
|
|
|
12627
12630
|
"div",
|
|
12628
12631
|
{
|
|
12629
12632
|
ref: s,
|
|
12630
|
-
onKeyDown: (i) =>
|
|
12633
|
+
onKeyDown: (i) => il(i.nativeEvent, {
|
|
12631
12634
|
state: "input",
|
|
12632
12635
|
onDismiss: n,
|
|
12633
12636
|
onToggleFullscreen: r
|
|
@@ -12666,9 +12669,9 @@ function Wb() {
|
|
|
12666
12669
|
`${n}-${r}`
|
|
12667
12670
|
)) });
|
|
12668
12671
|
}
|
|
12669
|
-
const
|
|
12672
|
+
const cl = /* @__PURE__ */ new WeakSet();
|
|
12670
12673
|
function Ub(e) {
|
|
12671
|
-
return
|
|
12674
|
+
return cl.has(e);
|
|
12672
12675
|
}
|
|
12673
12676
|
function la(e, t = () => !0) {
|
|
12674
12677
|
var u;
|
|
@@ -12679,7 +12682,7 @@ function la(e, t = () => !0) {
|
|
|
12679
12682
|
composed: !0,
|
|
12680
12683
|
clientX: i,
|
|
12681
12684
|
clientY: a
|
|
12682
|
-
}, d = (m) => t() ? (n = !0,
|
|
12685
|
+
}, d = (m) => t() ? (n = !0, cl.add(m), e.dispatchEvent(m), !0) : !1, l = (m) => d(
|
|
12683
12686
|
new PointerEvent(m, {
|
|
12684
12687
|
...c,
|
|
12685
12688
|
pointerId: 1,
|
|
@@ -12711,7 +12714,7 @@ const es = pe.forwardRef(function({ label: t, className: n, ...r }, s) {
|
|
|
12711
12714
|
function It(e, t, n) {
|
|
12712
12715
|
return Math.min(Math.max(e, t), n);
|
|
12713
12716
|
}
|
|
12714
|
-
const uo = 16, Be = 16, wt = 32, Bb = 44, qb = 240, Vb = 440,
|
|
12717
|
+
const uo = 16, Be = 16, wt = 32, Bb = 44, qb = 240, Vb = 440, ll = 32, Yb = 280, Xb = 420, Gb = 640, Kb = 48, Ar = 12, ts = 400, dl = 320, Zb = 560, Jb = "#f4f4f5", ul = 120, pl = dl + ul + Be * 3, xt = {
|
|
12715
12718
|
pill: 999,
|
|
12716
12719
|
input: 16,
|
|
12717
12720
|
fullscreen: 16,
|
|
@@ -12719,15 +12722,15 @@ const uo = 16, Be = 16, wt = 32, Bb = 44, qb = 240, Vb = 440, cl = 32, Yb = 280,
|
|
|
12719
12722
|
compact: 20
|
|
12720
12723
|
};
|
|
12721
12724
|
function ns(e, t) {
|
|
12722
|
-
if (e.width <=
|
|
12725
|
+
if (e.width <= pl)
|
|
12723
12726
|
return Math.max(0, e.width - Be * 2);
|
|
12724
|
-
const n = e.width -
|
|
12727
|
+
const n = e.width - ul - Be * 3;
|
|
12725
12728
|
return Math.max(0, Math.min(t, n));
|
|
12726
12729
|
}
|
|
12727
12730
|
function Xt(e, t, n = 0) {
|
|
12728
12731
|
return typeof e == "number" && Number.isFinite(e) ? Math.max(n, e) : t;
|
|
12729
12732
|
}
|
|
12730
|
-
function
|
|
12733
|
+
function ml(e, t = {}) {
|
|
12731
12734
|
const n = Math.max(0, e.width), r = Xt(t.maxWidth, Vb), s = Math.min(
|
|
12732
12735
|
r,
|
|
12733
12736
|
Xt(t.minWidth, Yb)
|
|
@@ -12735,7 +12738,7 @@ function pl(e, t = {}) {
|
|
|
12735
12738
|
return Math.min(
|
|
12736
12739
|
n,
|
|
12737
12740
|
r,
|
|
12738
|
-
Math.max(s, n -
|
|
12741
|
+
Math.max(s, n - ll)
|
|
12739
12742
|
);
|
|
12740
12743
|
}
|
|
12741
12744
|
function Qb(e, t, n = {}) {
|
|
@@ -12767,7 +12770,7 @@ function ew(e) {
|
|
|
12767
12770
|
height: Math.max(0, n.height - Be * 2),
|
|
12768
12771
|
borderRadius: xt.sidebar
|
|
12769
12772
|
} : {
|
|
12770
|
-
width:
|
|
12773
|
+
width: ml(n, i),
|
|
12771
12774
|
height: Qb(n, s, i),
|
|
12772
12775
|
borderRadius: Xt(i == null ? void 0 : i.borderRadius, xt.compact)
|
|
12773
12776
|
};
|
|
@@ -13107,7 +13110,7 @@ function uw({
|
|
|
13107
13110
|
setSidebarSide: i,
|
|
13108
13111
|
sidebarMode: a,
|
|
13109
13112
|
setSidebarMode: c
|
|
13110
|
-
} =
|
|
13113
|
+
} = Da(), [d, l] = R(!1), p = sr(), u = r.map((w) => ({
|
|
13111
13114
|
layout: w,
|
|
13112
13115
|
label: lw[w]
|
|
13113
13116
|
})), m = u.length >= 2, h = r.includes("sidebar");
|
|
@@ -13325,13 +13328,13 @@ function hw({
|
|
|
13325
13328
|
hideAttachTools: p,
|
|
13326
13329
|
onInputHeightChange: u
|
|
13327
13330
|
}) {
|
|
13328
|
-
const { companion: m } = J(), h =
|
|
13331
|
+
const { companion: m } = J(), h = Ec(), { t: b } = X(), g = U(null), S = U(null), w = U(null), C = (m == null ? void 0 : m.bubbles) === !0, x = (m == null ? void 0 : m.avatars) ?? C, _ = mw + (C ? "" : nw) + (x ? "" : rw) + (x && !C ? ow : "");
|
|
13329
13332
|
return j(() => {
|
|
13330
13333
|
var N;
|
|
13331
13334
|
const y = (N = g.current) == null ? void 0 : N.ownerDocument;
|
|
13332
13335
|
if (!y) return;
|
|
13333
13336
|
function v(P) {
|
|
13334
|
-
|
|
13337
|
+
il(P, {
|
|
13335
13338
|
state: e,
|
|
13336
13339
|
onDismiss: s,
|
|
13337
13340
|
onToggleFullscreen: i
|
|
@@ -13387,7 +13390,7 @@ function hw({
|
|
|
13387
13390
|
children: [
|
|
13388
13391
|
/* @__PURE__ */ f("div", { className: "relative", children: [
|
|
13389
13392
|
/* @__PURE__ */ o(ah, { children: /* @__PURE__ */ o(
|
|
13390
|
-
|
|
13393
|
+
Bc,
|
|
13391
13394
|
{
|
|
13392
13395
|
disabled: h,
|
|
13393
13396
|
hideAttachTools: p,
|
|
@@ -13454,7 +13457,7 @@ function Ir(e) {
|
|
|
13454
13457
|
}
|
|
13455
13458
|
function pa({
|
|
13456
13459
|
initialContent: e,
|
|
13457
|
-
title: t =
|
|
13460
|
+
title: t = oc,
|
|
13458
13461
|
style: n,
|
|
13459
13462
|
iframeRef: r,
|
|
13460
13463
|
children: s
|
|
@@ -13605,7 +13608,7 @@ function ww({
|
|
|
13605
13608
|
}) {
|
|
13606
13609
|
const g = kt(), S = Math.max(
|
|
13607
13610
|
3,
|
|
13608
|
-
|
|
13611
|
+
Kc(wt, b)
|
|
13609
13612
|
);
|
|
13610
13613
|
return /* @__PURE__ */ f(
|
|
13611
13614
|
de.div,
|
|
@@ -13722,7 +13725,7 @@ function ww({
|
|
|
13722
13725
|
e && h > 0 && /* @__PURE__ */ f(te, { children: [
|
|
13723
13726
|
/* @__PURE__ */ o(Yg, {}),
|
|
13724
13727
|
/* @__PURE__ */ o(
|
|
13725
|
-
|
|
13728
|
+
Zc,
|
|
13726
13729
|
{
|
|
13727
13730
|
count: h,
|
|
13728
13731
|
showCount: b,
|
|
@@ -14023,7 +14026,7 @@ function vw({
|
|
|
14023
14026
|
onClick: (v) => {
|
|
14024
14027
|
v.stopPropagation(), _();
|
|
14025
14028
|
},
|
|
14026
|
-
children: /* @__PURE__ */ o(
|
|
14029
|
+
children: /* @__PURE__ */ o(Za, { size: 14, "aria-hidden": !0 })
|
|
14027
14030
|
}
|
|
14028
14031
|
),
|
|
14029
14032
|
m.anchor && h && /* @__PURE__ */ o(
|
|
@@ -14137,7 +14140,7 @@ html[${wn}] body {
|
|
|
14137
14140
|
border-radius: ${xt.sidebar}px !important;
|
|
14138
14141
|
box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 10px 24px -6px rgba(0,0,0,0.10) !important;
|
|
14139
14142
|
}
|
|
14140
|
-
@media (max-width: ${
|
|
14143
|
+
@media (max-width: ${pl}px) {
|
|
14141
14144
|
html[${wn}] body {
|
|
14142
14145
|
inset: 0 !important;
|
|
14143
14146
|
border-radius: 0 !important;
|
|
@@ -14236,7 +14239,7 @@ function Aw({
|
|
|
14236
14239
|
var A, W, $, V, G, q;
|
|
14237
14240
|
const l = Math.max(
|
|
14238
14241
|
0,
|
|
14239
|
-
((A = e == null ? void 0 : e.sidebar) == null ? void 0 : A.minWidth) ??
|
|
14242
|
+
((A = e == null ? void 0 : e.sidebar) == null ? void 0 : A.minWidth) ?? dl
|
|
14240
14243
|
), p = Math.max(
|
|
14241
14244
|
l,
|
|
14242
14245
|
((W = e == null ? void 0 : e.sidebar) == null ? void 0 : W.maxWidth) ?? Zb
|
|
@@ -14397,7 +14400,7 @@ function Mw() {
|
|
|
14397
14400
|
);
|
|
14398
14401
|
const a = Math.min(
|
|
14399
14402
|
n ?? qb,
|
|
14400
|
-
Math.max(0, e.width -
|
|
14403
|
+
Math.max(0, e.width - ll)
|
|
14401
14404
|
);
|
|
14402
14405
|
return { region: e, dockWidth: a, dockContentRef: i };
|
|
14403
14406
|
}
|
|
@@ -14491,7 +14494,7 @@ function Rw() {
|
|
|
14491
14494
|
defaultLayout: B,
|
|
14492
14495
|
sidebarSide: E,
|
|
14493
14496
|
sidebarMode: A
|
|
14494
|
-
} =
|
|
14497
|
+
} = Da(), [W, $] = R(
|
|
14495
14498
|
Ow
|
|
14496
14499
|
), { sidebarWidth: V, sidebarResizing: G, resizeHandleProps: q } = Aw({
|
|
14497
14500
|
companion: l,
|
|
@@ -14515,7 +14518,7 @@ function Rw() {
|
|
|
14515
14518
|
ve.current = oe.close, j(() => {
|
|
14516
14519
|
(!le || !Q) && ve.current(!0);
|
|
14517
14520
|
}, [le, Q]);
|
|
14518
|
-
const ge = u == null ? void 0 : u.widgetTrigger, ue = !!ge, et = (l == null ? void 0 : l.pillBackground) ?? "hsl(var(--opencx-primary))", tt = (l == null ? void 0 : l.icon) ?? ((cs = p == null ? void 0 : p.widgetTrigger) == null ? void 0 : cs.openIcon), we = h.widgetTrigger.offset.bottom, lt = lr(), Nt = dr(i), dt =
|
|
14521
|
+
const ge = u == null ? void 0 : u.widgetTrigger, ue = !!ge, et = (l == null ? void 0 : l.pillBackground) ?? "hsl(var(--opencx-primary))", tt = (l == null ? void 0 : l.icon) ?? ((cs = p == null ? void 0 : p.widgetTrigger) == null ? void 0 : cs.openIcon), we = h.widgetTrigger.offset.bottom, lt = lr(), Nt = dr(i), dt = sl(), nt = Nt ? `${dt} · ${Nt}` : dt, ut = !!((ls = w.session) != null && ls.id), pt = ut ? g("follow_up_placeholder") : void 0, _e = (l == null ? void 0 : l.pillLabel) ?? (l == null ? void 0 : l.placeholder) ?? pt ?? g("write_a_message_placeholder"), Ge = (l == null ? void 0 : l.pillLabelDisplay) ?? "always", rt = (l == null ? void 0 : l.placeholder) ?? pt ?? g("write_a_message_placeholder"), [pr, Tn] = R(!1), Ae = le && !ue && Ge !== "never" && (Ge === "always" || ce && pr), on = ml(_, l == null ? void 0 : l.compact), sn = M === "sidebar", Ht = ew({
|
|
14519
14522
|
layout: M,
|
|
14520
14523
|
region: _,
|
|
14521
14524
|
sidebarWidth: V,
|
|
@@ -14658,7 +14661,7 @@ function Rw() {
|
|
|
14658
14661
|
return br ? vn(
|
|
14659
14662
|
/* @__PURE__ */ f(te, { children: [
|
|
14660
14663
|
/* @__PURE__ */ o(rs, { transcriptVisible: N === "chat" }),
|
|
14661
|
-
ge &&
|
|
14664
|
+
ge && al(ge, e, t, i),
|
|
14662
14665
|
le && oe.anchor && !ue && /* @__PURE__ */ o(
|
|
14663
14666
|
jo,
|
|
14664
14667
|
{
|
|
@@ -14928,7 +14931,7 @@ function $w(e) {
|
|
|
14928
14931
|
return c ? c === e || e.contains(c) || c.contains(e) : !0;
|
|
14929
14932
|
}
|
|
14930
14933
|
function po(e) {
|
|
14931
|
-
const t =
|
|
14934
|
+
const t = Oc(e);
|
|
14932
14935
|
if (!t) return { ok: !1, reason: "gone" };
|
|
14933
14936
|
const { element: n } = t, r = so(n);
|
|
14934
14937
|
if (r)
|
|
@@ -15006,7 +15009,7 @@ function Fn(e, t, n) {
|
|
|
15006
15009
|
function Lw(e) {
|
|
15007
15010
|
if (e.tagName.toLowerCase() === "input") {
|
|
15008
15011
|
const t = (e.getAttribute("type") ?? "text").toLowerCase();
|
|
15009
|
-
if (
|
|
15012
|
+
if (Ic.has(t))
|
|
15010
15013
|
return "Password and file fields are never filled or clicked by the agent.";
|
|
15011
15014
|
}
|
|
15012
15015
|
return e.ownerDocument !== document ? "That control is inside another site embedded in this page." : null;
|
|
@@ -15254,7 +15257,7 @@ function Gw(e) {
|
|
|
15254
15257
|
const t = e.getBoundingClientRect();
|
|
15255
15258
|
return { x: t.left + t.width / 2, y: t.top + t.height / 2 };
|
|
15256
15259
|
}
|
|
15257
|
-
async function
|
|
15260
|
+
async function hl(e, { press: t = !1 } = {}) {
|
|
15258
15261
|
var r;
|
|
15259
15262
|
const n = Xw();
|
|
15260
15263
|
if (!n) return { done: () => {
|
|
@@ -15277,7 +15280,7 @@ const Kw = k.object({
|
|
|
15277
15280
|
/** What to type or which option to choose. Never a password. */
|
|
15278
15281
|
value: k.string().max(500).optional()
|
|
15279
15282
|
});
|
|
15280
|
-
function
|
|
15283
|
+
function fl(e, t) {
|
|
15281
15284
|
const n = U({ effects: e, isStreaming: t });
|
|
15282
15285
|
n.current = { effects: e, isStreaming: t };
|
|
15283
15286
|
const r = U(!1);
|
|
@@ -15295,7 +15298,7 @@ function Jw() {
|
|
|
15295
15298
|
replyToPageCall: n,
|
|
15296
15299
|
requestPageActionConsent: r,
|
|
15297
15300
|
isStreaming: s
|
|
15298
|
-
} = jt(), i = U(/* @__PURE__ */ new Set()), a =
|
|
15301
|
+
} = jt(), i = U(/* @__PURE__ */ new Set()), a = fl(t, s);
|
|
15299
15302
|
return j(() => {
|
|
15300
15303
|
const c = i.current;
|
|
15301
15304
|
for (const d of t) {
|
|
@@ -15340,7 +15343,7 @@ function Jw() {
|
|
|
15340
15343
|
);
|
|
15341
15344
|
return;
|
|
15342
15345
|
}
|
|
15343
|
-
const C = w == null ? void 0 : w.value, x = w == null ? void 0 : w.label.trim(), _ =
|
|
15346
|
+
const C = w == null ? void 0 : w.value, x = w == null ? void 0 : w.label.trim(), _ = Mc(g), y = () => b() && Qs(p) === g && _() && S === (en(g) || "this control") && (!w || mo(g, m) === w && w.value === C && w.label.trim() === x);
|
|
15344
15347
|
if (!await r({
|
|
15345
15348
|
callId: d.callId,
|
|
15346
15349
|
action: u,
|
|
@@ -15355,7 +15358,7 @@ function Jw() {
|
|
|
15355
15358
|
n(d.callId, "declined");
|
|
15356
15359
|
return;
|
|
15357
15360
|
}
|
|
15358
|
-
if (h = await
|
|
15361
|
+
if (h = await hl(g, { press: !0 }), !y()) {
|
|
15359
15362
|
n(d.callId, "declined");
|
|
15360
15363
|
return;
|
|
15361
15364
|
}
|
|
@@ -15436,7 +15439,7 @@ function ox(e, t, {
|
|
|
15436
15439
|
block: "center",
|
|
15437
15440
|
inline: "nearest"
|
|
15438
15441
|
});
|
|
15439
|
-
const l = e.getBoundingClientRect(), p = getComputedStyle(e), u = parseFloat(p.fontSize) || 16, m = l.width < 160 && l.height < 56, h =
|
|
15442
|
+
const l = e.getBoundingClientRect(), p = getComputedStyle(e), u = parseFloat(p.fontSize) || 16, m = l.width < 160 && l.height < 56, h = ai(e, {
|
|
15440
15443
|
type: t.type ?? nx(l, p, u),
|
|
15441
15444
|
color: n,
|
|
15442
15445
|
// ~0.1em of the target's type size, clamped to stay a pen not a brush.
|
|
@@ -15511,7 +15514,7 @@ function ox(e, t, {
|
|
|
15511
15514
|
}
|
|
15512
15515
|
const sx = 200;
|
|
15513
15516
|
function ax() {
|
|
15514
|
-
const { pageMarkHighlightDurationMs: e } = J(), { pageEffects: t, replyToPageCall: n, isStreaming: r } = jt(), { widgetCtx: s } = ae(), i =
|
|
15517
|
+
const { pageMarkHighlightDurationMs: e } = J(), { pageEffects: t, replyToPageCall: n, isStreaming: r } = jt(), { widgetCtx: s } = ae(), i = fl(t, r), { theme: a, cssVars: c } = xe(), d = Yo({
|
|
15515
15518
|
cssVars: c,
|
|
15516
15519
|
primaryColor: a.primaryColor,
|
|
15517
15520
|
contentZIndex: a.widgetContentContainer.zIndex
|
|
@@ -15557,7 +15560,7 @@ function ax() {
|
|
|
15557
15560
|
(async () => {
|
|
15558
15561
|
let C;
|
|
15559
15562
|
try {
|
|
15560
|
-
if (C = await
|
|
15563
|
+
if (C = await hl(g), !m()) {
|
|
15561
15564
|
n(S, "declined");
|
|
15562
15565
|
return;
|
|
15563
15566
|
}
|
|
@@ -15610,7 +15613,7 @@ function go(e) {
|
|
|
15610
15613
|
}
|
|
15611
15614
|
return t.trim();
|
|
15612
15615
|
}
|
|
15613
|
-
function
|
|
15616
|
+
function gl({ className: e }) {
|
|
15614
15617
|
const [t, n] = R(() => /* @__PURE__ */ new Set());
|
|
15615
15618
|
return j(() => {
|
|
15616
15619
|
const r = Array.from({ length: 9 }, (i, a) => a), s = setInterval(() => {
|
|
@@ -15790,7 +15793,7 @@ function gx({ step: e, showIO: t }) {
|
|
|
15790
15793
|
),
|
|
15791
15794
|
onClick: () => i && s((a) => !a),
|
|
15792
15795
|
children: [
|
|
15793
|
-
/* @__PURE__ */ o("div", { className: "relative z-10 flex size-[18px] shrink-0 items-center justify-center rounded-full bg-background", children: e.done ? /* @__PURE__ */ o("div", { className: "size-1.5 rounded-full bg-muted-foreground/30" }) : /* @__PURE__ */ o(
|
|
15796
|
+
/* @__PURE__ */ o("div", { className: "relative z-10 flex size-[18px] shrink-0 items-center justify-center rounded-full bg-background", children: e.done ? /* @__PURE__ */ o("div", { className: "size-1.5 rounded-full bg-muted-foreground/30" }) : /* @__PURE__ */ o(gl, {}) }),
|
|
15794
15797
|
/* @__PURE__ */ o(
|
|
15795
15798
|
"span",
|
|
15796
15799
|
{
|
|
@@ -15824,7 +15827,7 @@ function bx({
|
|
|
15824
15827
|
active: t
|
|
15825
15828
|
}) {
|
|
15826
15829
|
var b;
|
|
15827
|
-
const { t: n } = X(), { showStepToolIO: r, presentation: s } = J(), { widgetCtx: i } = ae(), a = (b =
|
|
15830
|
+
const { t: n } = X(), { showStepToolIO: r, presentation: s } = J(), { widgetCtx: i } = ae(), a = (b = Fa(
|
|
15828
15831
|
i.agent.presentation,
|
|
15829
15832
|
s
|
|
15830
15833
|
)) == null ? void 0 : b.toolActivity, c = r !== !1 && (a === "details" || a === void 0 && r === !0), d = n("thinking"), l = t ? e : e.map((g) => g.done ? g : { ...g, done: !0 }), p = l.some((g) => !g.done), [u, m] = R(t), h = U(t);
|
|
@@ -15843,7 +15846,7 @@ function bx({
|
|
|
15843
15846
|
className: "flex min-w-0 max-w-full items-center gap-1.5 py-0.5 text-[12px] text-muted-foreground/60 transition-colors duration-150 hover:text-muted-foreground",
|
|
15844
15847
|
onClick: () => m((g) => !g),
|
|
15845
15848
|
children: u ? /* @__PURE__ */ f(te, { children: [
|
|
15846
|
-
/* @__PURE__ */ o(
|
|
15849
|
+
/* @__PURE__ */ o(ni, { className: "size-2.5 shrink-0" }),
|
|
15847
15850
|
/* @__PURE__ */ o("span", { className: "text-[11px] font-medium tabular-nums", children: l.length }),
|
|
15848
15851
|
/* @__PURE__ */ o(
|
|
15849
15852
|
"span",
|
|
@@ -15856,7 +15859,7 @@ function bx({
|
|
|
15856
15859
|
}
|
|
15857
15860
|
)
|
|
15858
15861
|
] }) : p ? /* @__PURE__ */ f(te, { children: [
|
|
15859
|
-
/* @__PURE__ */ o(
|
|
15862
|
+
/* @__PURE__ */ o(gl, { className: "opacity-70" }),
|
|
15860
15863
|
/* @__PURE__ */ o("span", { className: "text-[11px] font-medium tabular-nums", children: l.length }),
|
|
15861
15864
|
/* @__PURE__ */ o(
|
|
15862
15865
|
dx,
|
|
@@ -15958,7 +15961,7 @@ function wx({
|
|
|
15958
15961
|
content: B,
|
|
15959
15962
|
// The page and its sharing permission may have changed while answering.
|
|
15960
15963
|
// Use the normal send-time privacy filter; do not replay earlier marks.
|
|
15961
|
-
clientContext:
|
|
15964
|
+
clientContext: Rc({
|
|
15962
15965
|
marks: [],
|
|
15963
15966
|
readsPage: r.features.pageContext
|
|
15964
15967
|
})
|
|
@@ -16110,24 +16113,25 @@ function wx({
|
|
|
16110
16113
|
function xx({
|
|
16111
16114
|
widgetRef: e
|
|
16112
16115
|
}) {
|
|
16113
|
-
const { contactState: t } =
|
|
16116
|
+
const { contactState: t } = La(), { setIsOpen: n } = Qe(), { toChatScreen: r } = De(), { renewUserToken: s } = Ra();
|
|
16114
16117
|
return pe.useImperativeHandle(
|
|
16115
16118
|
e,
|
|
16116
16119
|
() => ({
|
|
16117
|
-
newChat: async (
|
|
16118
|
-
var
|
|
16119
|
-
if (!((
|
|
16120
|
+
newChat: async (i) => {
|
|
16121
|
+
var c;
|
|
16122
|
+
if (!((c = t.contact) != null && c.token)) {
|
|
16120
16123
|
he.warn("cannot start a new chat: contact not yet initialized");
|
|
16121
16124
|
return;
|
|
16122
16125
|
}
|
|
16123
16126
|
n(!0);
|
|
16124
|
-
const
|
|
16125
|
-
|
|
16126
|
-
content:
|
|
16127
|
+
const a = r();
|
|
16128
|
+
a && (i != null && i.message) && await a.messageCtx.sendMessage({
|
|
16129
|
+
content: i.message
|
|
16127
16130
|
});
|
|
16128
|
-
}
|
|
16131
|
+
},
|
|
16132
|
+
renewUserToken: s
|
|
16129
16133
|
}),
|
|
16130
|
-
[t, n, r]
|
|
16134
|
+
[t, n, r, s]
|
|
16131
16135
|
), null;
|
|
16132
16136
|
}
|
|
16133
16137
|
function vx() {
|
|
@@ -16191,7 +16195,7 @@ const kx = [
|
|
|
16191
16195
|
// motion, while keeping opacity fades. Non-transform values (the companion
|
|
16192
16196
|
// shell's width/height/borderRadius morph) are untouched, so its own
|
|
16193
16197
|
// shouldReduceMotion branch still applies — this is purely additive.
|
|
16194
|
-
/* @__PURE__ */ o(
|
|
16198
|
+
/* @__PURE__ */ o(xl, { reducedMotion: "user", children: /* @__PURE__ */ o(
|
|
16195
16199
|
zl,
|
|
16196
16200
|
{
|
|
16197
16201
|
components: [...kx, ...n],
|
|
@@ -16220,7 +16224,7 @@ const kx = [
|
|
|
16220
16224
|
/* @__PURE__ */ o(xx, { widgetRef: i }),
|
|
16221
16225
|
t.inline ? /* @__PURE__ */ f(te, { children: [
|
|
16222
16226
|
/* @__PURE__ */ o(rs, {}),
|
|
16223
|
-
/* @__PURE__ */ o(
|
|
16227
|
+
/* @__PURE__ */ o(ol, {})
|
|
16224
16228
|
] }) : /* @__PURE__ */ o(yx, {})
|
|
16225
16229
|
] }) }) })
|
|
16226
16230
|
}
|
|
@@ -16234,4 +16238,4 @@ export {
|
|
|
16234
16238
|
sm as s,
|
|
16235
16239
|
or as u
|
|
16236
16240
|
};
|
|
16237
|
-
//# sourceMappingURL=index-
|
|
16241
|
+
//# sourceMappingURL=index-kk04QaK9.js.map
|