@opencx/widget-react 4.0.46 → 4.0.47

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/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { jsx as r, jsxs as d, Fragment as re } from "react/jsx-runtime";
2
2
  import * as ce from "@radix-ui/react-popover";
3
3
  import * as K from "react";
4
- import L, { memo as Bt, forwardRef as dt, useState as T, cloneElement as pt, createContext as Yt, useEffect as oe, useContext as Ut, useMemo as ht, useRef as de, createElement as ot } from "react";
5
- import { useWidget as M, useConfig as b, useSessions as $, useMessages as D, useWidgetRouter as E, useDocumentDir as ve, useWidgetTrigger as q, useModes as mt, useCsat as gt, useUploadFiles as qt, useIsAwaitingBotReply as ut, useContact as wt, WidgetProvider as Xt, WidgetTriggerProvider as Vt } from "@opencx/widget-react-headless";
4
+ import A, { memo as Bt, forwardRef as dt, useState as T, cloneElement as pt, createContext as Yt, useEffect as oe, useContext as Ut, useMemo as ht, useRef as de, createElement as ot } from "react";
5
+ import { useWidget as M, useConfig as b, useSessions as $, useMessages as D, useWidgetRouter as E, useDocumentDir as ve, useWidgetTrigger as q, useModes as mt, useCsat as gt, useUploadFiles as qt, useIsAwaitingBotReply as wt, useContact as ut, WidgetProvider as Xt, WidgetTriggerProvider as Vt } from "@opencx/widget-react-headless";
6
6
  import { clsx as Gt } from "clsx";
7
7
  import { twMerge as Kt } from "tailwind-merge";
8
8
  import { motion as J, AnimatePresence as _ } from "framer-motion";
9
9
  import { Slot as Qt } from "@radix-ui/react-slot";
10
10
  import { cva as Zt } from "class-variance-authority";
11
- import { X as Jt, CircleDashedIcon as er, XIcon as xe, SquareXIcon as tr, SquareCheckBigIcon as rr, SquareCheckIcon as or, ShrinkIcon as nr, Minimize2Icon as sr, MinimizeIcon as ar, Maximize2Icon as ir, MaximizeIcon as lr, ExpandIcon as cr, CircleXIcon as dr, CircleCheckBigIcon as pr, CircleCheckIcon as ft, CheckCheckIcon as hr, CheckIcon as mr, ChevronLeftIcon as gr, LoaderIcon as ur, ArrowUpIcon as vt, PaperclipIcon as wr, ImageIcon as fr, CircleDashed as vr, AlertCircle as xr, Loader2 as br, FileAudio2Icon as yr, FileVideo2Icon as kr, FileIcon as Cr, UserRoundIcon as zr, ChevronRightIcon as Nr, SendHorizontal as Sr, ChevronDownIcon as _r } from "lucide-react";
11
+ import { X as Jt, CircleDashedIcon as er, XIcon as xe, SquareXIcon as tr, SquareCheckBigIcon as rr, SquareCheckIcon as or, ShrinkIcon as nr, Minimize2Icon as sr, MinimizeIcon as ar, Maximize2Icon as ir, MaximizeIcon as lr, ExpandIcon as cr, CircleXIcon as dr, CircleCheckBigIcon as pr, CircleCheckIcon as ft, CheckCheckIcon as hr, CheckIcon as mr, ChevronLeftIcon as gr, LoaderIcon as wr, ArrowUpIcon as vt, PaperclipIcon as ur, ImageIcon as fr, CircleDashed as vr, AlertCircle as xr, Loader2 as br, FileAudio2Icon as yr, FileVideo2Icon as kr, FileIcon as Cr, UserRoundIcon as zr, ChevronRightIcon as Nr, SendHorizontal as Sr, ChevronDownIcon as _r } from "lucide-react";
12
12
  import xt from "remark-gfm";
13
13
  import Ir from "react-markdown";
14
14
  import bt from "rehype-raw";
@@ -23,7 +23,7 @@ import { z as me } from "zod";
23
23
  function g(e) {
24
24
  return { "data-component": e };
25
25
  }
26
- function p(...e) {
26
+ function h(...e) {
27
27
  return Kt(Gt(e));
28
28
  }
29
29
  const G = {
@@ -32,29 +32,29 @@ const G = {
32
32
  }, U = Bt(
33
33
  dt(
34
34
  ({ children: e, className: o, scale: t = 1.02, off: n = !1 }, s) => {
35
- const [i, a] = T(!1), [l, c] = T({ x: 0, y: 0 });
35
+ const [a, i] = T(!1), [l, c] = T({ x: 0, y: 0 });
36
36
  if (n || /translate/.test(
37
37
  e.props.className || ""
38
38
  )) return e;
39
- const y = (u) => {
39
+ const y = (w) => {
40
40
  var N, S;
41
- const { clientX: k, clientY: I } = u, f = u.currentTarget.getBoundingClientRect(), R = k - (f.left + f.width / 2), F = I - (f.top + f.height / 2), H = Math.max(
41
+ const { clientX: k, clientY: I } = w, f = w.currentTarget.getBoundingClientRect(), R = k - (f.left + f.width / 2), H = I - (f.top + f.height / 2), W = Math.max(
42
42
  -1,
43
43
  Math.min(1, R / (f.width / 2))
44
- ), W = Math.max(
44
+ ), L = Math.max(
45
45
  -1,
46
- Math.min(1, F / (f.height / 2))
47
- ), O = H * G.x, v = W * G.y;
48
- c({ x: O, y: v }), (S = (N = e.props).onMouseMove) == null || S.call(N, u);
46
+ Math.min(1, H / (f.height / 2))
47
+ ), O = W * G.x, v = L * G.y;
48
+ c({ x: O, y: v }), (S = (N = e.props).onMouseMove) == null || S.call(N, w);
49
49
  }, x = () => {
50
- var u, k;
51
- a(!0), (k = (u = e.props).onMouseEnter) == null || k.call(u);
50
+ var w, k;
51
+ i(!0), (k = (w = e.props).onMouseEnter) == null || k.call(w);
52
52
  }, m = () => {
53
- var u, k;
54
- a(!1), c({ x: 0, y: 0 }), (k = (u = e.props).onMouseLeave) == null || k.call(u);
53
+ var w, k;
54
+ i(!1), c({ x: 0, y: 0 }), (k = (w = e.props).onMouseLeave) == null || k.call(w);
55
55
  }, z = {
56
- "--wobble-x": i ? `${l.x}px` : "0px",
57
- "--wobble-y": i ? `${l.y}px` : "0px",
56
+ "--wobble-x": a ? `${l.x}px` : "0px",
57
+ "--wobble-y": a ? `${l.y}px` : "0px",
58
58
  "--scale": 1 - (t - 1)
59
59
  };
60
60
  return pt(e, {
@@ -66,7 +66,7 @@ const G = {
66
66
  ...z,
67
67
  ...e.props.style
68
68
  },
69
- className: p(
69
+ className: h(
70
70
  "translate-x-[var(--wobble-x)]",
71
71
  "translate-y-[var(--wobble-y)]",
72
72
  "hover:scale-[var(--scale)] active:hover:scale-[calc(var(--scale)-0.02)]",
@@ -100,23 +100,23 @@ const jr = 10, Er = (e, o, t) => ({
100
100
  left: Or,
101
101
  up: Pr,
102
102
  down: Ar
103
- }, w = dt(
103
+ }, u = dt(
104
104
  ({
105
105
  fadeIn: e = "down",
106
106
  distance: o = jr,
107
107
  children: t,
108
108
  snapExit: n = !1,
109
109
  overrides: s = {},
110
- delay: i = 0,
111
- ...a
110
+ delay: a = 0,
111
+ ...i
112
112
  }, l) => {
113
- const c = e ? Fr[e](o, s, i) : {};
114
- return n && c.exit && typeof c.exit == "object" && !Array.isArray(c.exit) && (c.exit.transition = { duration: 0 }), /* @__PURE__ */ r(J.div, { ref: l, ...a, ...c, children: t });
113
+ const c = e ? Fr[e](o, s, a) : {};
114
+ return n && c.exit && typeof c.exit == "object" && !Array.isArray(c.exit) && (c.exit.transition = { duration: 0 }), /* @__PURE__ */ r(J.div, { ref: l, ...i, ...c, children: t });
115
115
  }
116
116
  );
117
- w.displayName = "MotionDiv";
117
+ u.displayName = "MotionDiv";
118
118
  const Hr = Zt(
119
- p(
119
+ h(
120
120
  "inline-flex shrink-0 items-center justify-center gap-2",
121
121
  "text-sm font-medium whitespace-nowrap",
122
122
  "ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
@@ -155,12 +155,12 @@ const Hr = Zt(
155
155
  }
156
156
  }
157
157
  ), C = K.forwardRef(
158
- ({ className: e, variant: o = "default", size: t, asChild: n = !1, ...s }, i) => /* @__PURE__ */ r(U, { ref: i, children: /* @__PURE__ */ r(
158
+ ({ className: e, variant: o = "default", size: t, asChild: n = !1, ...s }, a) => /* @__PURE__ */ r(U, { ref: a, children: /* @__PURE__ */ r(
159
159
  n ? Qt : "button",
160
160
  {
161
161
  ...g("ui_lib/btn"),
162
162
  "data-variant": o,
163
- className: p(Hr({ variant: o, size: t, className: e })),
163
+ className: h(Hr({ variant: o, size: t, className: e })),
164
164
  ...s
165
165
  }
166
166
  ) })
@@ -168,9 +168,9 @@ const Hr = Zt(
168
168
  C.displayName = "Button";
169
169
  const kt = Yt(null);
170
170
  function Wr({ children: e }) {
171
- const [o, t] = T(!1), [n, s] = T(null), i = (l) => {
171
+ const [o, t] = T(!1), [n, s] = T(null), a = (l) => {
172
172
  s(l), t(!0);
173
- }, a = () => {
173
+ }, i = () => {
174
174
  t(!1), setTimeout(() => {
175
175
  s(null);
176
176
  }, 200);
@@ -178,7 +178,7 @@ function Wr({ children: e }) {
178
178
  return /* @__PURE__ */ d(
179
179
  kt.Provider,
180
180
  {
181
- value: { open: i, close: a, isOpen: o, content: n },
181
+ value: { open: a, close: i, isOpen: o, content: n },
182
182
  children: [
183
183
  /* @__PURE__ */ r(Lr, {}),
184
184
  e
@@ -200,11 +200,11 @@ function pe() {
200
200
  function Lr() {
201
201
  const { contentIframeRef: e } = M(), { isOpen: o, content: t, close: n } = pe();
202
202
  return oe(() => {
203
- var i, a;
203
+ var a, i;
204
204
  const s = (l) => {
205
205
  l.key === "Escape" && n();
206
206
  };
207
- return (a = (i = e == null ? void 0 : e.current) == null ? void 0 : i.contentWindow) == null || a.document.addEventListener(
207
+ return (i = (a = e == null ? void 0 : e.current) == null ? void 0 : a.contentWindow) == null || i.document.addEventListener(
208
208
  "keydown",
209
209
  s
210
210
  ), () => {
@@ -215,7 +215,7 @@ function Lr() {
215
215
  );
216
216
  };
217
217
  }, []), /* @__PURE__ */ r(_, { mode: "wait", children: o && t && /* @__PURE__ */ r(
218
- w,
218
+ u,
219
219
  {
220
220
  overrides: {
221
221
  initial: { y: 0 },
@@ -238,7 +238,7 @@ function Ct({
238
238
  return /* @__PURE__ */ d(
239
239
  "div",
240
240
  {
241
- className: p(
241
+ className: h(
242
242
  "fixed left-[50%] top-[50%] z-50 flex flex-col gap-4 w-full max-w-[61.8%] translate-x-[-50%] translate-y-[-50%] border bg-background p-4 rounded-3xl",
243
243
  o
244
244
  ),
@@ -268,7 +268,7 @@ const zt = ({
268
268
  }) => /* @__PURE__ */ r(
269
269
  "div",
270
270
  {
271
- className: p("flex flex-col gap-2 text-center pt-2", e),
271
+ className: h("flex flex-col gap-2 text-center pt-2", e),
272
272
  ...o
273
273
  }
274
274
  );
@@ -279,7 +279,7 @@ const Nt = ({
279
279
  }) => /* @__PURE__ */ r(
280
280
  "div",
281
281
  {
282
- className: p("flex flex-col gap-2 text-center", e),
282
+ className: h("flex flex-col gap-2 text-center", e),
283
283
  ...o
284
284
  }
285
285
  );
@@ -287,13 +287,13 @@ Nt.displayName = "DialogerBody";
287
287
  const St = ({
288
288
  className: e,
289
289
  ...o
290
- }) => /* @__PURE__ */ r("div", { className: p("flex flex-col gap-2", e), ...o });
290
+ }) => /* @__PURE__ */ r("div", { className: h("flex flex-col gap-2", e), ...o });
291
291
  St.displayName = "DialogerFooter";
292
- const _t = L.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
292
+ const _t = A.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
293
293
  "p",
294
294
  {
295
295
  ref: t,
296
- className: p(
296
+ className: h(
297
297
  "text-lg font-semibold leading-none tracking-tight",
298
298
  e
299
299
  ),
@@ -301,11 +301,11 @@ const _t = L.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
301
301
  }
302
302
  ));
303
303
  _t.displayName = "DialogerTitle";
304
- const It = L.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
304
+ const It = A.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
305
305
  "p",
306
306
  {
307
307
  ref: t,
308
- className: p("text-sm text-muted-foreground", e),
308
+ className: h("text-sm text-muted-foreground", e),
309
309
  ...o
310
310
  }
311
311
  ));
@@ -320,21 +320,21 @@ function Tt({
320
320
  });
321
321
  }
322
322
  function Mt({ attachment: e }) {
323
- const { name: o, size: t, type: n, url: s } = e, i = n.startsWith("image/"), a = n.startsWith("video/"), l = n.startsWith("audio/");
323
+ const { name: o, size: t, type: n, url: s } = e, a = n.startsWith("image/"), i = n.startsWith("video/"), l = n.startsWith("audio/");
324
324
  return l ? /* @__PURE__ */ r(U, { children: /* @__PURE__ */ r("div", { className: "w-full shrink-0 overflow-hidden", children: /* @__PURE__ */ d("audio", { controls: !0, className: "w-full", children: [
325
325
  /* @__PURE__ */ r("source", { src: s, type: n }),
326
326
  "Your browser does not support the audio tag."
327
- ] }) }) }) : a ? /* @__PURE__ */ r(U, { children: /* @__PURE__ */ r("div", { className: "w-full border shrink-0 rounded-2xl overflow-hidden", children: /* @__PURE__ */ d("video", { controls: !0, children: [
327
+ ] }) }) }) : i ? /* @__PURE__ */ r(U, { children: /* @__PURE__ */ r("div", { className: "w-full border shrink-0 rounded-2xl overflow-hidden", children: /* @__PURE__ */ d("video", { controls: !0, children: [
328
328
  /* @__PURE__ */ r("source", { src: s, type: n }),
329
329
  "Your browser does not support the video tag."
330
- ] }) }) }) : !i && !a && !l ? /* @__PURE__ */ r(U, { children: /* @__PURE__ */ r("div", { className: "size-fit border shrink-0 rounded-2xl overflow-hidden", children: /* @__PURE__ */ d("div", { className: "flex items-end gap-2 p-2", children: [
330
+ ] }) }) }) : !a && !i && !l ? /* @__PURE__ */ r(U, { children: /* @__PURE__ */ r("div", { className: "size-fit border shrink-0 rounded-2xl overflow-hidden", children: /* @__PURE__ */ d("div", { className: "flex items-end gap-2 p-2", children: [
331
331
  /* @__PURE__ */ r(
332
332
  "a",
333
333
  {
334
334
  href: s,
335
335
  target: "_blank",
336
336
  rel: "noopener noreferrer",
337
- className: p(
337
+ className: h(
338
338
  "text-xs text-blue-500 line-clamp-2 underline hover:text-blue-600",
339
339
  "break-words [word-break:break-word]"
340
340
  // `[word-break:break-word]` is deprecated but works in the browser, while `break-words` which is `[overflow-wrap: break-word]` does not work
@@ -349,19 +349,19 @@ function Mt({ attachment: e }) {
349
349
  ] }) }) }) : /* @__PURE__ */ r(
350
350
  Tt,
351
351
  {
352
- trigger: /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(U, { children: /* @__PURE__ */ r("div", { className: "size-fit border shrink-0 rounded-2xl overflow-hidden", children: i && /* @__PURE__ */ r("img", { src: s, className: "object-cover size-16", alt: o }) }) }) }),
352
+ trigger: /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(U, { children: /* @__PURE__ */ r("div", { className: "size-fit border shrink-0 rounded-2xl overflow-hidden", children: a && /* @__PURE__ */ r("img", { src: s, className: "object-cover size-16", alt: o }) }) }) }),
353
353
  children: /* @__PURE__ */ r(
354
354
  Ct,
355
355
  {
356
356
  className: "size-full max-w-full rounded-3xl flex items-center justify-center bg-transparent border-none gap-0",
357
357
  withClose: !0,
358
- children: i && /* @__PURE__ */ r("div", { className: "size-fit shrink-0 rounded-2xl overflow-hidden max-h-full", children: /* @__PURE__ */ r("img", { src: s, className: "object-cover size-auto", alt: o }) })
358
+ children: a && /* @__PURE__ */ r("div", { className: "size-fit shrink-0 rounded-2xl overflow-hidden max-h-full", children: /* @__PURE__ */ r("img", { src: s, className: "object-cover size-auto", alt: o }) })
359
359
  }
360
360
  )
361
361
  }
362
362
  );
363
363
  }
364
- const Dt = L.memo(
364
+ const Dt = A.memo(
365
365
  Ir,
366
366
  (e, o) => e.children === o.children && e.className === o.className
367
367
  );
@@ -379,7 +379,7 @@ function be({
379
379
  remarkPlugins: [xt],
380
380
  rehypePlugins: [bt],
381
381
  components: {
382
- a: ({ children: s, ...i }) => /* @__PURE__ */ r("a", { target: i.target || n || "_top", ...i, children: s })
382
+ a: ({ children: s, ...a }) => /* @__PURE__ */ r("a", { target: a.target || n || "_top", ...a, children: s })
383
383
  },
384
384
  children: e
385
385
  }
@@ -396,7 +396,7 @@ function Z() {
396
396
  routerState: { screen: s }
397
397
  } = E();
398
398
  return {
399
- react: L,
399
+ react: A,
400
400
  org: e,
401
401
  session: o,
402
402
  config: t,
@@ -417,11 +417,11 @@ function ge(e) {
417
417
  id: t,
418
418
  type: n,
419
419
  attachments: s,
420
- isFirstInGroup: i,
421
- isLastInGroup: a,
420
+ isFirstInGroup: a,
421
+ isLastInGroup: i,
422
422
  isAloneInGroup: l,
423
423
  dataComponentNames: c,
424
- classNames: h
424
+ classNames: p
425
425
  } = e;
426
426
  if (n !== "AI" && n !== "AGENT") return null;
427
427
  const { message: y, variant: x = "default" } = o;
@@ -429,9 +429,9 @@ function ge(e) {
429
429
  "div",
430
430
  {
431
431
  ...g((c == null ? void 0 : c.messageContainer) ?? "chat/agent_msg/root"),
432
- className: p(
432
+ className: h(
433
433
  "w-5/6 flex flex-col items-start gap-1",
434
- h == null ? void 0 : h.messageContainer
434
+ p == null ? void 0 : p.messageContainer
435
435
  ),
436
436
  children: [
437
437
  s && s.length > 0 && /* @__PURE__ */ r("div", { className: "w-full gap-1 flex flex-row flex-wrap items-center justify-start", children: s == null ? void 0 : s.map((m) => /* @__PURE__ */ r(Mt, { attachment: m }, m.id)) }),
@@ -440,11 +440,11 @@ function ge(e) {
440
440
  "div",
441
441
  {
442
442
  ...g((c == null ? void 0 : c.message) ?? "chat/agent_msg/msg"),
443
- "data-first": i,
444
- "data-last": a,
443
+ "data-first": a,
444
+ "data-last": i,
445
445
  "data-alone": l,
446
446
  "data-variant": x,
447
- className: p(
447
+ className: h(
448
448
  "transition-all",
449
449
  "w-fit py-3 px-4 rounded-3xl bg-secondary text-secondary-foreground",
450
450
  "leading-snug text-sm prose prose-sm prose-a:decoration-primary prose-a:underline",
@@ -454,10 +454,10 @@ function ge(e) {
454
454
  // Adding "whitespace-pre-wrap" will result in unnecessarily huge line breaks
455
455
  x === "error" && "bg-destructive/15 text-destructive",
456
456
  // We're using the booleans directly here, not the data attributes, to make any external styling more specific than this
457
- i && !l && "rounded-bl-md",
458
- a && !l && "rounded-tl-md",
459
- !i && !a && !l && "rounded-l-md",
460
- h == null ? void 0 : h.message
457
+ a && !l && "rounded-bl-md",
458
+ i && !l && "rounded-tl-md",
459
+ !a && !i && !l && "rounded-l-md",
460
+ p == null ? void 0 : p.message
461
461
  ),
462
462
  children: /* @__PURE__ */ r(be, { messageType: n, messageId: t, children: y })
463
463
  }
@@ -475,7 +475,7 @@ const ye = K.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
475
475
  Q.Root,
476
476
  {
477
477
  ref: t,
478
- className: p(
478
+ className: h(
479
479
  "relative flex size-6 aspect-square shrink-0 overflow-hidden rounded-full bg-secondary",
480
480
  // 'border',
481
481
  e
@@ -488,7 +488,7 @@ const ke = K.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
488
488
  Q.Image,
489
489
  {
490
490
  ref: t,
491
- className: p("aspect-square h-full w-full", e),
491
+ className: h("aspect-square h-full w-full", e),
492
492
  ...o
493
493
  }
494
494
  ));
@@ -497,7 +497,7 @@ const Ce = K.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
497
497
  Q.Fallback,
498
498
  {
499
499
  ref: t,
500
- className: p(
500
+ className: h(
501
501
  "flex size-full text-xs items-center justify-center rounded-lg",
502
502
  e
503
503
  ),
@@ -505,7 +505,7 @@ const Ce = K.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
505
505
  }
506
506
  ));
507
507
  Ce.displayName = Q.Fallback.displayName;
508
- function ue({
508
+ function we({
509
509
  agent: e,
510
510
  ...o
511
511
  }) {
@@ -517,17 +517,17 @@ function ue({
517
517
  }
518
518
  function Yr({ agent: e }) {
519
519
  return /* @__PURE__ */ r(_, { children: /* @__PURE__ */ d(
520
- w,
520
+ u,
521
521
  {
522
522
  ...g("chat/bot_loading/root"),
523
523
  className: "flex flex-row items-end w-full gap-2 animate-pulse",
524
524
  children: [
525
- /* @__PURE__ */ r(ue, { agent: e }),
525
+ /* @__PURE__ */ r(we, { agent: e }),
526
526
  /* @__PURE__ */ d(
527
527
  "div",
528
528
  {
529
529
  ...g("chat/bot_loading/bouncing_dots_container"),
530
- className: p(
530
+ className: h(
531
531
  "flex items-center [&_span]:bg-secondary-foreground [&_span]:size-1 gap-1 p-2 rounded-xl bg-secondary"
532
532
  // 'border',
533
533
  ),
@@ -542,12 +542,12 @@ function Yr({ agent: e }) {
542
542
  }
543
543
  ) });
544
544
  }
545
- const Rt = '*,: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%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.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}.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}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.end-6{inset-inline-end:1.5rem}.left-2{left:.5rem}.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-\\[50\\%\\]{top:50%}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ms-auto{margin-inline-start:auto}.mt-0\\.5{margin-top:.125rem}.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}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-0{width:0px;height:0px}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-auto{width:auto;height:auto}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-0{height:0px}.h-10{height:2.5rem}.h-2{height:.5rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-dvh{height:100dvh}.h-full{height:100%}.h-px{height:1px}.max-h-16{max-height:4rem}.max-h-40{max-height:10rem}.max-h-full{max-height:100%}.min-h-12{min-height:3rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\\/5{width:40%}.w-3\\.5{width:.875rem}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-60{width:15rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-dvw{width:100dvw}.w-fit{width:fit-content}.w-full{width:100%}.min-w-80{min-width:20rem}.min-w-\\[8rem\\]{min-width:8rem}.max-w-96{max-width:24rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-full{max-width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-\\[2\\]{flex:2}.shrink-0{flex-shrink:0}.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))}@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-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.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}.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-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.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-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-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))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.scroll-smooth{scroll-behavior:smooth}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[20px\\]{border-radius:20px}.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-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-2{border-width:2px}.border-none{border-style:none}.border-transparent{border-color:transparent}.bg-\\[white\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-background{background-color:hsl(var(--opencx-background))}.bg-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.bg-destructive\\/15{background-color:hsl(var(--opencx-destructive) / .15)}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.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)}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.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-3{padding-top:.75rem;padding-bottom:.75rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pe-2{padding-inline-end:.5rem}.pe-4{padding-inline-end:1rem}.ps-2{padding-inline-start:.5rem}.ps-4{padding-inline-start:1rem}.ps-8{padding-inline-start:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.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-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[16px\\]{font-size:16px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.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-muted-foreground{color:hsl(var(--opencx-muted-foreground))}.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-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-35{opacity:.35}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.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-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px 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-0{--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(0px + 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-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}.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-\\[height\\]{transition-property:height;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-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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-95{--tw-enter-scale: .95}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[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)}.focus-within\\:border-primary:focus-within{border-color:hsl(var(--opencx-primary))}.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\\:border-primary:hover{border-color:hsl(var(--opencx-primary))}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}.focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.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-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}.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\\: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))}.hover\\:active\\:scale-95:active:hover{--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))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}.group:hover .group-hover\\:active\\:scale-90:active,.group:active .group-active\\:scale-90{--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))}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;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))}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;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))}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{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}.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\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-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-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))}.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))}.\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}.\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}.\\[\\&_svg\\]\\:hover\\:text-primary:hover svg{color:hsl(var(--opencx-primary))}', Ur = ne.Provider, qr = ne.Root, Xr = ne.Trigger, jt = K.forwardRef(({ className: e, sideOffset: o = 4, ...t }, n) => /* @__PURE__ */ r(
545
+ const Rt = '*,: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%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.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}.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}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.end-6{inset-inline-end:1.5rem}.left-2{left:.5rem}.left-\\[50\\%\\]{left:50%}.right-4{right:1rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-\\[50\\%\\]{top:50%}.isolate{isolation:isolate}.z-10{z-index:10}.z-50{z-index:50}.m-2{margin:.5rem}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.ms-auto{margin-inline-start:auto}.mt-0\\.5{margin-top:.125rem}.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}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.size-0{width:0px;height:0px}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-3{width:.75rem;height:.75rem}.size-4{width:1rem;height:1rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-auto{width:auto;height:auto}.size-fit{width:fit-content;height:fit-content}.size-full{width:100%;height:100%}.h-0{height:0px}.h-10{height:2.5rem}.h-2{height:.5rem}.h-3\\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-8{height:2rem}.h-dvh{height:100dvh}.h-full{height:100%}.h-px{height:1px}.max-h-16{max-height:4rem}.max-h-40{max-height:10rem}.max-h-full{max-height:100%}.min-h-12{min-height:3rem}.w-0{width:0px}.w-1\\/2{width:50%}.w-10{width:2.5rem}.w-2{width:.5rem}.w-2\\/5{width:40%}.w-3\\.5{width:.875rem}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5\\/6{width:83.333333%}.w-60{width:15rem}.w-9{width:2.25rem}.w-auto{width:auto}.w-dvw{width:100dvw}.w-fit{width:fit-content}.w-full{width:100%}.min-w-80{min-width:20rem}.min-w-\\[8rem\\]{min-width:8rem}.max-w-96{max-width:24rem}.max-w-\\[61\\.8\\%\\]{max-width:61.8%}.max-w-full{max-width:100%}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-\\[2\\]{flex:2}.shrink-0{flex-shrink:0}.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))}.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-default{cursor:default}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.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}.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-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-\\[1px\\]{gap:1px}.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-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-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))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-scroll{overflow:scroll}.scroll-smooth{scroll-behavior:smooth}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[20px\\]{border-radius:20px}.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-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-2{border-width:2px}.border-none{border-style:none}.border-transparent{border-color:transparent}.bg-\\[white\\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-background{background-color:hsl(var(--opencx-background))}.bg-black\\/50{background-color:#00000080}.bg-black\\/60{background-color:#0009}.bg-destructive{background-color:hsl(var(--opencx-destructive))}.bg-destructive\\/15{background-color:hsl(var(--opencx-destructive) / .15)}.bg-muted{background-color:hsl(var(--opencx-muted))}.bg-primary{background-color:hsl(var(--opencx-primary))}.bg-secondary{background-color:hsl(var(--opencx-secondary))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.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)}.fill-current{fill:currentColor}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3\\.5{padding-left:.875rem;padding-right:.875rem}.px-4{padding-left:1rem;padding-right:1rem}.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-3{padding-top:.75rem;padding-bottom:.75rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pe-2{padding-inline-end:.5rem}.pe-4{padding-inline-end:1rem}.ps-2{padding-inline-start:.5rem}.ps-4{padding-inline-start:1rem}.ps-8{padding-inline-start:2rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.text-center{text-align:center}.text-start{text-align:start}.align-middle{vertical-align:middle}.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-\\[1\\.75rem\\]{font-size:1.75rem}.text-\\[10px\\]{font-size:10px}.text-\\[16px\\]{font-size:16px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.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-muted-foreground{color:hsl(var(--opencx-muted-foreground))}.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-secondary-foreground{color:hsl(var(--opencx-secondary-foreground))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-35{opacity:.35}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.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-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px 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-0{--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(0px + 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-offset-background{--tw-ring-offset-color: hsl(var(--opencx-background))}.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-\\[height\\]{transition-property:height;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-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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-95{--tw-enter-scale: .95}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\\[animation-delay\\:-0\\.15s\\]{animation-delay:-.15s}.\\[animation-delay\\:-0\\.3s\\]{animation-delay:-.3s}.\\[field-sizing\\:content\\;\\],.\\[field-sizing\\:content\\]{field-sizing:content}.\\[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)}.focus-within\\:border-primary:focus-within{border-color:hsl(var(--opencx-primary))}.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\\:border-primary:hover{border-color:hsl(var(--opencx-primary))}.hover\\:bg-secondary:hover{background-color:hsl(var(--opencx-secondary))}.hover\\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\\:text-primary:hover{color:hsl(var(--opencx-primary))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.focus\\:bg-accent:focus{background-color:hsl(var(--opencx-accent))}.focus\\:text-accent-foreground:focus{color:hsl(var(--opencx-accent-foreground))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.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-ring:focus-visible{--tw-ring-color: hsl(var(--opencx-ring))}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--opencx-background))}.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\\: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))}.hover\\:active\\:scale-95:active:hover{--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))}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}.group:hover .group-hover\\:active\\:scale-90:active,.group:active .group-active\\:scale-90{--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))}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[state\\=checked\\]\\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;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))}.data-\\[state\\=unchecked\\]\\:translate-x-0[data-state=unchecked]{--tw-translate-x: 0px;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))}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:hsl(var(--opencx-primary))}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:hsl(var(--opencx-accent))}.data-\\[state\\=unchecked\\]\\:bg-input[data-state=unchecked]{background-color:hsl(var(--opencx-input))}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{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}.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\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-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-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))}.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))}.\\[\\&_span\\]\\:size-1 span{width:.25rem;height:.25rem}.\\[\\&_span\\]\\:bg-secondary-foreground span{background-color:hsl(var(--opencx-secondary-foreground))}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:1rem;height:1rem}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\]\\:text-muted-foreground\\/70 svg{color:hsl(var(--opencx-muted-foreground) / .7)}.\\[\\&_svg\\]\\:hover\\:text-primary:hover svg{color:hsl(var(--opencx-primary))}', Ur = ne.Provider, qr = ne.Root, Xr = ne.Trigger, jt = K.forwardRef(({ className: e, sideOffset: o = 4, ...t }, n) => /* @__PURE__ */ r(
546
546
  ne.Content,
547
547
  {
548
548
  ref: n,
549
549
  sideOffset: o,
550
- className: p(
550
+ className: h(
551
551
  "z-50 overflow-hidden max-w-xs rounded-xl bg-primary border text-primary-foreground p-2 text-center align-middle text-xs animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
552
552
  e
553
553
  ),
@@ -577,9 +577,9 @@ function ee({
577
577
  ] });
578
578
  }
579
579
  const st = 450;
580
- function A() {
581
- const [e, o] = L.useState(() => (window.top || window).innerWidth < st);
582
- return L.useEffect(() => {
580
+ function F() {
581
+ const [e, o] = A.useState(() => (window.top || window).innerWidth < st);
582
+ return A.useEffect(() => {
583
583
  const t = window.top || window, n = () => {
584
584
  o(t.innerWidth < st);
585
585
  };
@@ -593,22 +593,22 @@ const ae = {
593
593
  transitionDuration: "1000ms"
594
594
  };
595
595
  function X() {
596
- var x, m, z, u, k, I, f, R, F, H, W, O, v, N, S, B, se, _e, Ie, Te, Me, De, Re, je, Ee, Oe, Pe, Ae, Fe, He, We, Le, $e, Be, Ye, Ue, qe, Xe, Ve, Ge, Ke, Qe, Ze, Je, et, tt, rt;
597
- const { dir: e } = ve(), { isSmallScreen: o } = A(), { theme: t, inline: n } = b(), s = (Y) => n ? "100%" : Y, i = (Y, he) => o ? `100dv${Y}` : he, a = (Y, he) => s(i(Y, he)), l = {
596
+ var x, m, z, w, k, I, f, R, H, W, L, O, v, N, S, B, se, _e, Ie, Te, Me, De, Re, je, Ee, Oe, Pe, Ae, Fe, He, We, Le, $e, Be, Ye, Ue, qe, Xe, Ve, Ge, Ke, Qe, Ze, Je, et, tt, rt;
597
+ const { dir: e } = ve(), { isSmallScreen: o } = F(), { theme: t, inline: n } = b(), s = (Y) => n ? "100%" : Y, a = (Y, he) => o ? `100dv${Y}` : he, i = (Y, he) => s(a(Y, he)), l = {
598
598
  zIndex: ((x = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : x.zIndex) ?? 1e7,
599
599
  offset: {
600
600
  bottom: ((z = (m = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : m.offset) == null ? void 0 : z.bottom) ?? 20,
601
- right: ((k = (u = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : u.offset) == null ? void 0 : k.right) ?? (e === "ltr" ? 20 : "initial"),
601
+ right: ((k = (w = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : w.offset) == null ? void 0 : k.right) ?? (e === "ltr" ? 20 : "initial"),
602
602
  left: ((f = (I = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : I.offset) == null ? void 0 : f.left) ?? (e === "rtl" ? 20 : "initial")
603
603
  },
604
604
  size: {
605
- button: ((F = (R = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : R.size) == null ? void 0 : F.button) ?? 48,
606
- icon: ((W = (H = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : H.size) == null ? void 0 : W.icon) ?? 24
605
+ button: ((H = (R = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : R.size) == null ? void 0 : H.button) ?? 48,
606
+ icon: ((L = (W = t == null ? void 0 : t.widgetTrigger) == null ? void 0 : W.size) == null ? void 0 : L.icon) ?? 24
607
607
  }
608
608
  }, c = (() => {
609
609
  const Y = e === "ltr" ? l.offset.right : l.offset.left;
610
610
  return typeof Y != "number" ? 0 : Y;
611
- })(), h = {
611
+ })(), p = {
612
612
  palette: (t == null ? void 0 : t.palette) ?? "neutral",
613
613
  primaryColor: (t == null ? void 0 : t.primaryColor) ?? "hsl(0 0% 9%)",
614
614
  widgetTrigger: l,
@@ -629,26 +629,26 @@ function X() {
629
629
  },
630
630
  screens: {
631
631
  welcome: {
632
- width: a("w", ((Ee = (je = t == null ? void 0 : t.screens) == null ? void 0 : je.welcome) == null ? void 0 : Ee.width) ?? "400px"),
632
+ width: i("w", ((Ee = (je = t == null ? void 0 : t.screens) == null ? void 0 : je.welcome) == null ? void 0 : Ee.width) ?? "400px"),
633
633
  // By setting minHeight to 1px, a nice animation will play from 1px to the dynamic height of the content of the screen
634
- minHeight: a(
634
+ minHeight: i(
635
635
  "h",
636
636
  ((Pe = (Oe = t == null ? void 0 : t.screens) == null ? void 0 : Oe.welcome) == null ? void 0 : Pe.minHeight) ?? "1px"
637
637
  )
638
638
  },
639
639
  sessions: {
640
- width: a("w", ((Fe = (Ae = t == null ? void 0 : t.screens) == null ? void 0 : Ae.sessions) == null ? void 0 : Fe.width) ?? "450px"),
641
- height: a("h", ((We = (He = t == null ? void 0 : t.screens) == null ? void 0 : He.sessions) == null ? void 0 : We.height) ?? "600px")
640
+ width: i("w", ((Fe = (Ae = t == null ? void 0 : t.screens) == null ? void 0 : Ae.sessions) == null ? void 0 : Fe.width) ?? "450px"),
641
+ height: i("h", ((We = (He = t == null ? void 0 : t.screens) == null ? void 0 : He.sessions) == null ? void 0 : We.height) ?? "600px")
642
642
  },
643
643
  chat: {
644
- width: a("w", (($e = (Le = t == null ? void 0 : t.screens) == null ? void 0 : Le.chat) == null ? void 0 : $e.width) ?? "525px"),
645
- height: a("h", ((Ye = (Be = t == null ? void 0 : t.screens) == null ? void 0 : Be.chat) == null ? void 0 : Ye.height) ?? "700px"),
644
+ width: i("w", (($e = (Le = t == null ? void 0 : t.screens) == null ? void 0 : Le.chat) == null ? void 0 : $e.width) ?? "525px"),
645
+ height: i("h", ((Ye = (Be = t == null ? void 0 : t.screens) == null ? void 0 : Be.chat) == null ? void 0 : Ye.height) ?? "700px"),
646
646
  withCanvas: {
647
- width: a(
647
+ width: i(
648
648
  "w",
649
649
  ((Xe = (qe = (Ue = t == null ? void 0 : t.screens) == null ? void 0 : Ue.chat) == null ? void 0 : qe.withCanvas) == null ? void 0 : Xe.width) ?? "min(1050px, 100vw)"
650
650
  ),
651
- height: a(
651
+ height: i(
652
652
  "h",
653
653
  ((Ke = (Ge = (Ve = t == null ? void 0 : t.screens) == null ? void 0 : Ve.chat) == null ? void 0 : Ge.withCanvas) == null ? void 0 : Ke.height) ?? "min(800px, 100vh)"
654
654
  ),
@@ -661,46 +661,46 @@ function X() {
661
661
  // Subtract the offset.bottom twice so that it adds a bit of padding to the top
662
662
  // Subtract the distance between the trigger and the widget content container
663
663
  // Subtract the invisible padding of the trigger (for the wobble effect)
664
- maxHeight: a(
664
+ maxHeight: i(
665
665
  "h",
666
666
  `calc(
667
667
  100vh
668
- - ${h.widgetTrigger.offset.bottom}px
669
- - ${h.widgetContentContainer.offset.side}px
668
+ - ${p.widgetTrigger.offset.bottom}px
669
+ - ${p.widgetContentContainer.offset.side}px
670
670
  - ${G.y * 2}px
671
671
  )`
672
672
  ),
673
673
  // Subtract the offset.right twice so that it adds a bit of padding to the left
674
- maxWidth: a(
674
+ maxWidth: i(
675
675
  "w",
676
676
  `calc(
677
677
  100vw
678
678
  - ${c * 2}px
679
679
  )`
680
680
  ),
681
- minHeight: a(
681
+ minHeight: i(
682
682
  "h",
683
683
  `min(
684
- ${h.screens.welcome.minHeight},
685
- ${h.screens.sessions.height},
686
- ${h.screens.chat.height}
684
+ ${p.screens.welcome.minHeight},
685
+ ${p.screens.sessions.height},
686
+ ${p.screens.chat.height}
687
687
  )`
688
688
  ),
689
- minWidth: a(
689
+ minWidth: i(
690
690
  "w",
691
691
  `min(
692
- ${h.screens.welcome.width},
693
- ${h.screens.sessions.width},
694
- ${h.screens.chat.width}
692
+ ${p.screens.welcome.width},
693
+ ${p.screens.sessions.width},
694
+ ${p.screens.chat.width}
695
695
  )`
696
696
  )
697
697
  };
698
698
  return {
699
- theme: h,
699
+ theme: p,
700
700
  computed: y,
701
701
  cssVars: Vr({
702
- palette: h.palette,
703
- primary: h.primaryColor
702
+ palette: p.palette,
703
+ primary: p.primaryColor
704
704
  })
705
705
  };
706
706
  }
@@ -813,7 +813,7 @@ function ze({
813
813
  width: e,
814
814
  height: o
815
815
  }) {
816
- const { isSmallScreen: t } = A(), { setWidth: n, setHeight: s } = Ot();
816
+ const { isSmallScreen: t } = F(), { setWidth: n, setHeight: s } = Ot();
817
817
  oe(() => {
818
818
  e && n(e), o && s(o);
819
819
  }, [t, o, e, n, s]);
@@ -861,7 +861,7 @@ function te({
861
861
  return j(e, te.name), at;
862
862
  }
863
863
  })();
864
- return /* @__PURE__ */ r(t, { className: p("size-4", o) });
864
+ return /* @__PURE__ */ r(t, { className: h("size-4", o) });
865
865
  }
866
866
  function Gr() {
867
867
  var t;
@@ -880,12 +880,12 @@ function Ne() {
880
880
  routerState: { screen: o }
881
881
  } = E(), { textContent: t } = b();
882
882
  return (() => {
883
- var s, i;
883
+ var s, a;
884
884
  switch (o) {
885
885
  case "chat":
886
886
  return (s = t == null ? void 0 : t.chatScreen) == null ? void 0 : s.headerTitle;
887
887
  case "sessions":
888
- return (i = t == null ? void 0 : t.sessionsScreen) == null ? void 0 : i.headerTitle;
888
+ return (a = t == null ? void 0 : t.sessionsScreen) == null ? void 0 : a.headerTitle;
889
889
  case "welcome":
890
890
  return;
891
891
  default:
@@ -926,7 +926,7 @@ function Zr() {
926
926
  function Jr({
927
927
  button: e
928
928
  }) {
929
- const { setIsOpen: o } = q(), { isSmallScreen: t } = A();
929
+ const { setIsOpen: o } = q(), { isSmallScreen: t } = F();
930
930
  return t && e.hideOnSmallScreen || !t && e.hideOnLargeScreen ? null : /* @__PURE__ */ r(
931
931
  C,
932
932
  {
@@ -941,35 +941,35 @@ function Jr({
941
941
  }
942
942
  );
943
943
  }
944
- function we({
944
+ function ue({
945
945
  button: e
946
946
  }) {
947
947
  const [o, t] = T(!1), {
948
948
  routerState: { screen: n }
949
- } = E(), { isSmallScreen: s } = A(), { theme: i } = X(), { setWidth: a, setHeight: l } = Ot();
949
+ } = E(), { isSmallScreen: s } = F(), { theme: a } = X(), { setWidth: i, setHeight: l } = Ot();
950
950
  if (n !== "chat" && n !== "sessions") return null;
951
951
  const c = (() => {
952
952
  switch (n) {
953
953
  case "chat":
954
- return i.screens.chat.height;
954
+ return a.screens.chat.height;
955
955
  case "sessions":
956
- return i.screens.sessions.height;
956
+ return a.screens.sessions.height;
957
957
  default:
958
- return j(n, we.name), i.screens.chat.height;
958
+ return j(n, ue.name), a.screens.chat.height;
959
959
  }
960
- })(), h = (() => {
960
+ })(), p = (() => {
961
961
  switch (n) {
962
962
  case "chat":
963
- return i.screens.chat.width;
963
+ return a.screens.chat.width;
964
964
  case "sessions":
965
- return i.screens.sessions.width;
965
+ return a.screens.sessions.width;
966
966
  default:
967
- return j(n, we.name), i.screens.chat.width;
967
+ return j(n, ue.name), a.screens.chat.width;
968
968
  }
969
969
  })(), y = () => {
970
970
  t((x) => {
971
971
  const m = !x;
972
- return l(m ? "100vh" : c), a(m ? `max(40vw, ${h})` : h), m;
972
+ return l(m ? "100vh" : c), i(m ? `max(40vw, ${p})` : p), m;
973
973
  });
974
974
  };
975
975
  return s && e.hideOnSmallScreen || !s && e.hideOnLargeScreen ? null : /* @__PURE__ */ r(
@@ -992,10 +992,10 @@ function Pt({
992
992
  button: e
993
993
  }) {
994
994
  var k, I;
995
- const { close: o } = pe(), { widgetCtx: t } = M(), { setIsOpen: n } = q(), { resolveSession: s, sessionState: i } = $(), { isSmallScreen: a } = A(), l = !i.session, c = ((k = i.session) == null ? void 0 : k.isOpened) === !1, h = e.onResolved || "stay-in-chat", y = e.behaviorBeforeSessionCreation || "disabled", x = e.behaviorIfSessionIsResolved || "disabled", m = !!(i.isResolvingSession || l && y === "disabled" || c && x === "disabled"), z = async () => {
995
+ const { close: o } = pe(), { widgetCtx: t } = M(), { setIsOpen: n } = q(), { resolveSession: s, sessionState: a } = $(), { isSmallScreen: i } = F(), l = !a.session, c = ((k = a.session) == null ? void 0 : k.isOpened) === !1, p = e.onResolved || "stay-in-chat", y = e.behaviorBeforeSessionCreation || "disabled", x = e.behaviorIfSessionIsResolved || "disabled", m = !!(a.isResolvingSession || l && y === "disabled" || c && x === "disabled"), z = async () => {
996
996
  const { success: f, error: R } = await s();
997
997
  if (o(), !f) return console.error(R);
998
- switch (h) {
998
+ switch (p) {
999
999
  case "stay-in-chat":
1000
1000
  return;
1001
1001
  case "close-widget":
@@ -1008,10 +1008,10 @@ function Pt({
1008
1008
  n(!1), t.resetChat();
1009
1009
  break;
1010
1010
  default:
1011
- j(h, Pt.name);
1011
+ j(p, Pt.name);
1012
1012
  break;
1013
1013
  }
1014
- }, u = () => {
1014
+ }, w = () => {
1015
1015
  if (l)
1016
1016
  switch (y) {
1017
1017
  case "disabled":
@@ -1022,7 +1022,7 @@ function Pt({
1022
1022
  default:
1023
1023
  j(
1024
1024
  y,
1025
- u.name
1025
+ w.name
1026
1026
  );
1027
1027
  }
1028
1028
  if (c)
@@ -1043,11 +1043,11 @@ function Pt({
1043
1043
  default:
1044
1044
  j(
1045
1045
  x,
1046
- u.name
1046
+ w.name
1047
1047
  );
1048
1048
  }
1049
1049
  };
1050
- return a && e.hideOnSmallScreen || !a && e.hideOnLargeScreen ? null : ((I = e.confirmation) == null ? void 0 : I.type) === "modal" && !c && !l ? /* @__PURE__ */ r(
1050
+ return i && e.hideOnSmallScreen || !i && e.hideOnLargeScreen ? null : ((I = e.confirmation) == null ? void 0 : I.type) === "modal" && !c && !l ? /* @__PURE__ */ r(
1051
1051
  Tt,
1052
1052
  {
1053
1053
  trigger: /* @__PURE__ */ r(
@@ -1069,7 +1069,7 @@ function Pt({
1069
1069
  {
1070
1070
  variant: "secondary",
1071
1071
  onClick: o,
1072
- disabled: i.isResolvingSession,
1072
+ disabled: a.isResolvingSession,
1073
1073
  children: e.confirmation.cancelButtonText || "No"
1074
1074
  }
1075
1075
  ),
@@ -1078,7 +1078,7 @@ function Pt({
1078
1078
  {
1079
1079
  variant: "destructive",
1080
1080
  onClick: z,
1081
- disabled: i.isResolvingSession,
1081
+ disabled: a.isResolvingSession,
1082
1082
  children: e.confirmation.confirmButtonText || "Yes"
1083
1083
  }
1084
1084
  )
@@ -1091,7 +1091,7 @@ function Pt({
1091
1091
  variant: "ghost",
1092
1092
  size: "fit",
1093
1093
  className: "rounded-full",
1094
- onClick: c || l ? u : z,
1094
+ onClick: c || l ? w : z,
1095
1095
  disabled: m,
1096
1096
  children: /* @__PURE__ */ r(te, { name: e.icon })
1097
1097
  }
@@ -1102,7 +1102,7 @@ function fe({ button: e }) {
1102
1102
  case "close-widget":
1103
1103
  return /* @__PURE__ */ r(Jr, { button: e });
1104
1104
  case "expand-shrink":
1105
- return /* @__PURE__ */ r(we, { button: e });
1105
+ return /* @__PURE__ */ r(ue, { button: e });
1106
1106
  case "resolve-session":
1107
1107
  return /* @__PURE__ */ r(Pt, { button: e });
1108
1108
  default:
@@ -1136,7 +1136,7 @@ function At() {
1136
1136
  /* @__PURE__ */ r(
1137
1137
  "div",
1138
1138
  {
1139
- className: p(
1139
+ className: h(
1140
1140
  "flex-1 h-8 flex items-center",
1141
1141
  e === "sessions" && "ps-2"
1142
1142
  ),
@@ -1154,24 +1154,24 @@ function At() {
1154
1154
  ] });
1155
1155
  }
1156
1156
  function Ft({ className: e }) {
1157
- return /* @__PURE__ */ r(ur, { className: p("size-4 animate-spin", e) });
1157
+ return /* @__PURE__ */ r(wr, { className: h("size-4 animate-spin", e) });
1158
1158
  }
1159
1159
  function ro() {
1160
1160
  const {
1161
1161
  messagesState: { isInitialFetchLoading: e }
1162
- } = D(), { isSmallScreen: o } = A(), { activeMode: t, Component: n } = mt();
1162
+ } = D(), { isSmallScreen: o } = F(), { activeMode: t, Component: n } = mt();
1163
1163
  return {
1164
1164
  isCanvasOpen: !e && !o && !!t && !!n
1165
1165
  };
1166
1166
  }
1167
1167
  function oo() {
1168
- const e = Z(), { activeMode: o, Component: t } = mt(), { sendMessage: n } = D(), { createStateCheckpoint: s } = $(), [i, a] = T(!1), l = async (c) => {
1168
+ const e = Z(), { activeMode: o, Component: t } = mt(), { sendMessage: n } = D(), { createStateCheckpoint: s } = $(), [a, i] = T(!1), l = async (c) => {
1169
1169
  try {
1170
- a(!0), await n(c);
1171
- } catch (h) {
1172
- console.error(h);
1170
+ i(!0), await n(c);
1171
+ } catch (p) {
1172
+ console.error(p);
1173
1173
  } finally {
1174
- a(!1);
1174
+ i(!1);
1175
1175
  }
1176
1176
  };
1177
1177
  return !o || !t ? null : /* @__PURE__ */ r(
@@ -1181,19 +1181,19 @@ function oo() {
1181
1181
  mode: o,
1182
1182
  createStateCheckpoint: s,
1183
1183
  sendMessage: l,
1184
- isSendingMessage: i
1184
+ isSendingMessage: a
1185
1185
  }
1186
1186
  );
1187
1187
  }
1188
- const P = L.forwardRef(
1188
+ const P = A.forwardRef(
1189
1189
  (e, o) => {
1190
1190
  var t, n, s;
1191
1191
  return /* @__PURE__ */ r(
1192
- w,
1192
+ u,
1193
1193
  {
1194
1194
  ...e,
1195
1195
  ref: o,
1196
- className: p("overflow-hidden", e.className),
1196
+ className: h("overflow-hidden", e.className),
1197
1197
  overrides: {
1198
1198
  initial: { height: 0, opacity: 0, ...(t = e.overrides) == null ? void 0 : t.initial },
1199
1199
  animate: { height: "auto", opacity: 1, ...(n = e.overrides) == null ? void 0 : n.animate },
@@ -1232,26 +1232,26 @@ const no = [
1232
1232
  }
1233
1233
  ];
1234
1234
  function so() {
1235
- const { isSmallScreen: e } = A(), {
1235
+ const { isSmallScreen: e } = F(), {
1236
1236
  submitCsat: o,
1237
1237
  isCsatRequested: t,
1238
1238
  isCsatSubmitted: n,
1239
1239
  submittedScore: s,
1240
- submittedFeedback: i
1241
- } = gt(), [a, l] = T(null), [c, h] = T(null), y = (m) => {
1240
+ submittedFeedback: a
1241
+ } = gt(), [i, l] = T(null), [c, p] = T(null), y = (m) => {
1242
1242
  l((z) => z === m ? null : m);
1243
1243
  }, x = () => {
1244
- a && o({
1245
- score: a,
1244
+ i && o({
1245
+ score: i,
1246
1246
  feedback: c || void 0
1247
1247
  });
1248
1248
  };
1249
1249
  return !t && !n ? null : /* @__PURE__ */ d("div", { className: "w-1/2 min-w-80 max-w-96 mx-auto overflow-hidden", children: [
1250
- /* @__PURE__ */ r(_, { mode: "wait", children: t && !a ? /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: "How was your conversation?" }) }, "csat-requested-title") : n ? /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: "You rated the conversation as" }) }, "csat-submitted-title") : null }),
1250
+ /* @__PURE__ */ r(_, { mode: "wait", children: t && !i ? /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: "How was your conversation?" }) }, "csat-requested-title") : n ? /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r("p", { className: "text-sm text-muted-foreground text-center pt-2", children: "You rated the conversation as" }) }, "csat-submitted-title") : null }),
1251
1251
  /* @__PURE__ */ r(
1252
1252
  "div",
1253
1253
  {
1254
- className: p(
1254
+ className: h(
1255
1255
  "flex gap-4 justify-between pt-2 px-2 pb-2",
1256
1256
  "transition-all",
1257
1257
  n && "gap-0 justify-center"
@@ -1259,15 +1259,15 @@ function so() {
1259
1259
  children: no.map((m) => /* @__PURE__ */ r(
1260
1260
  C,
1261
1261
  {
1262
- variant: m.value === a ? "secondary" : "ghost",
1262
+ variant: m.value === i ? "secondary" : "ghost",
1263
1263
  size: "selfless",
1264
- className: p(
1264
+ className: h(
1265
1265
  "transition-all overflow-hidden",
1266
1266
  "text-2xl size-8 rounded-full",
1267
1267
  "opacity-35",
1268
1268
  "hover:opacity-100",
1269
- !a && "opacity-100",
1270
- m.value === a && "opacity-100",
1269
+ !i && "opacity-100",
1270
+ m.value === i && "opacity-100",
1271
1271
  n && m.value !== s && "opacity-0 size-0",
1272
1272
  n && m.value === s && "opacity-100 size-fit text-4xl"
1273
1273
  ),
@@ -1278,12 +1278,12 @@ function so() {
1278
1278
  ))
1279
1279
  }
1280
1280
  ),
1281
- /* @__PURE__ */ r(_, { mode: "wait", children: (a || s) && /* @__PURE__ */ r(P, { children: /* @__PURE__ */ d("div", { className: "pb-2 px-2 flex items-end", children: [
1281
+ /* @__PURE__ */ r(_, { mode: "wait", children: (i || s) && /* @__PURE__ */ r(P, { children: /* @__PURE__ */ d("div", { className: "pb-2 px-2 flex items-end", children: [
1282
1282
  /* @__PURE__ */ r(
1283
1283
  "textarea",
1284
1284
  {
1285
1285
  rows: 3,
1286
- className: p(
1286
+ className: h(
1287
1287
  "transition-all",
1288
1288
  "max-h-40 [field-sizing:content]",
1289
1289
  "w-full resize-none",
@@ -1293,8 +1293,8 @@ function so() {
1293
1293
  e ? "text-[16px]" : "text-sm",
1294
1294
  n && "text-center"
1295
1295
  ),
1296
- value: n ? i || "" : c || "",
1297
- onChange: t ? (m) => h(m.target.value) : void 0,
1296
+ value: n ? a || "" : c || "",
1297
+ onChange: t ? (m) => p(m.target.value) : void 0,
1298
1298
  readOnly: n,
1299
1299
  placeholder: t ? "Tell us more... (optional)" : void 0
1300
1300
  }
@@ -1304,8 +1304,8 @@ function so() {
1304
1304
  {
1305
1305
  size: "fit",
1306
1306
  onClick: x,
1307
- disabled: !a,
1308
- className: p(
1307
+ disabled: !i,
1308
+ className: h(
1309
1309
  "transition-all overflow-hidden",
1310
1310
  "rounded-full size-8 flex items-center justify-center p-0",
1311
1311
  n && "opacity-0 size-0"
@@ -1314,7 +1314,7 @@ function so() {
1314
1314
  }
1315
1315
  )
1316
1316
  ] }) }, "feedback-box") }),
1317
- /* @__PURE__ */ r("div", { className: p("h-0 transition-[height]", n && "h-4") })
1317
+ /* @__PURE__ */ r("div", { className: h("h-0 transition-[height]", n && "h-4") })
1318
1318
  ] });
1319
1319
  }
1320
1320
  function V() {
@@ -1335,15 +1335,15 @@ function Se({
1335
1335
  ...t
1336
1336
  }) {
1337
1337
  const { sendMessage: n } = D(), s = () => {
1338
- const i = e.trim();
1339
- i && n({ content: i });
1338
+ const a = e.trim();
1339
+ a && n({ content: a });
1340
1340
  };
1341
1341
  return /* @__PURE__ */ r(
1342
1342
  C,
1343
1343
  {
1344
1344
  ...g("chat/suggested_reply_btn"),
1345
1345
  size: "sm",
1346
- className: p("rounded-xl w-fit", o),
1346
+ className: h("rounded-xl w-fit", o),
1347
1347
  ...t,
1348
1348
  onClick: s,
1349
1349
  children: e
@@ -1370,21 +1370,21 @@ function ao() {
1370
1370
  }
1371
1371
  function it() {
1372
1372
  const { sessionState: e } = $(), { chatFooterItems: o } = b(), t = !!e.session && !e.session.isOpened, n = !t;
1373
- return /* @__PURE__ */ r(_, { mode: "wait", children: o == null ? void 0 : o.map((s, i) => s.showWhenSessionIsOpen === !1 && n || s.showWhenSessionIsResolved === !1 && t ? null : /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r("div", { className: "pb-2 text-center text-xs", children: /* @__PURE__ */ r(be, { children: s.message }) }) }, `${s.message}-${i}`)) });
1373
+ return /* @__PURE__ */ r(_, { mode: "wait", children: o == null ? void 0 : o.map((s, a) => s.showWhenSessionIsOpen === !1 && n || s.showWhenSessionIsResolved === !1 && t ? null : /* @__PURE__ */ r(P, { children: /* @__PURE__ */ r("div", { className: "pb-2 text-center text-xs", children: /* @__PURE__ */ r(be, { children: s.message }) }) }, `${s.message}-${a}`)) });
1374
1374
  }
1375
1375
  function io({
1376
1376
  file: { status: e, file: o, error: t },
1377
1377
  onCancel: n
1378
1378
  }) {
1379
- const [s, i] = T(
1379
+ const [s, a] = T(
1380
1380
  null
1381
1381
  );
1382
1382
  oe(() => {
1383
1383
  if (!o.type.startsWith("image/")) return;
1384
1384
  const c = new FileReader();
1385
- return c.onload = () => i(c.result), c.onerror = () => console.error("Error reading file"), c.readAsDataURL(o), () => c.abort();
1385
+ return c.onload = () => a(c.result), c.onerror = () => console.error("Error reading file"), c.readAsDataURL(o), () => c.abort();
1386
1386
  }, [o]);
1387
- const a = () => {
1387
+ const i = () => {
1388
1388
  switch (e) {
1389
1389
  case "uploading":
1390
1390
  return /* @__PURE__ */ r(br, { className: "size-4 animate-spin" });
@@ -1415,19 +1415,19 @@ function io({
1415
1415
  children: /* @__PURE__ */ d(
1416
1416
  "div",
1417
1417
  {
1418
- className: p(
1418
+ className: h(
1419
1419
  e === "uploading" && "opacity-50",
1420
1420
  "group",
1421
1421
  "size-12 border rounded-2xl overflow-hidden relative",
1422
1422
  "flex items-center justify-center shrink-0"
1423
1423
  ),
1424
1424
  children: [
1425
- /* @__PURE__ */ r("div", { className: "absolute inset-0 flex items-center justify-center", children: a() }),
1425
+ /* @__PURE__ */ r("div", { className: "absolute inset-0 flex items-center justify-center", children: i() }),
1426
1426
  /* @__PURE__ */ r(
1427
1427
  "button",
1428
1428
  {
1429
1429
  type: "button",
1430
- className: p(
1430
+ className: h(
1431
1431
  "absolute bg-black/50 inset-0 size-full z-10 opacity-0",
1432
1432
  "flex items-center justify-center",
1433
1433
  "opacity-0 group-hover:opacity-100 transition"
@@ -1445,19 +1445,19 @@ function io({
1445
1445
  }
1446
1446
  function lo() {
1447
1447
  var O;
1448
- const { isSmallScreen: e } = A(), o = de(null), { sendMessage: t } = D(), { sessionState: n } = $(), { t: s } = V(), [i, a] = T(""), {
1448
+ const { isSmallScreen: e } = F(), o = de(null), { sendMessage: t } = D(), { sessionState: n } = $(), { t: s } = V(), [a, i] = T(""), {
1449
1449
  allFiles: l,
1450
1450
  emptyTheFiles: c,
1451
- handleCancelUpload: h,
1451
+ handleCancelUpload: p,
1452
1452
  appendFiles: y,
1453
1453
  isUploading: x,
1454
1454
  successFiles: m
1455
- } = qt(), z = !!((O = n.session) != null && O.isHandedOff), { isAwaitingBotReply: u } = ut(), k = (v) => {
1455
+ } = qt(), z = !!((O = n.session) != null && O.isHandedOff), { isAwaitingBotReply: w } = wt(), k = (v) => {
1456
1456
  y(v);
1457
- }, I = !i.trim() && m.length === 0, f = async () => {
1458
- if (u || I) return;
1457
+ }, I = !a.trim() && m.length === 0, f = async () => {
1458
+ if (w || I) return;
1459
1459
  x && console.info("please wait for the file(s) to upload");
1460
- const v = i.trim();
1460
+ const v = a.trim();
1461
1461
  t({
1462
1462
  content: v,
1463
1463
  attachments: m.flatMap(
@@ -1471,11 +1471,11 @@ function lo() {
1471
1471
  }
1472
1472
  ] : []
1473
1473
  )
1474
- }), a(""), c();
1474
+ }), i(""), c();
1475
1475
  }, {
1476
1476
  getRootProps: R,
1477
- getInputProps: F,
1478
- open: H
1477
+ getInputProps: H,
1478
+ open: W
1479
1479
  } = Dr({
1480
1480
  onDrop: k,
1481
1481
  noClick: !0,
@@ -1493,7 +1493,7 @@ function lo() {
1493
1493
  "image/gif": [".gif"],
1494
1494
  "image/webp": [".webp"]
1495
1495
  }
1496
- }), W = (v) => {
1496
+ }), L = (v) => {
1497
1497
  const N = v.clipboardData;
1498
1498
  N && N.files.length > 0 && k(Array.from(N.files));
1499
1499
  };
@@ -1504,12 +1504,12 @@ function lo() {
1504
1504
  className: "p-2 relative space-y-1",
1505
1505
  ...R(),
1506
1506
  children: [
1507
- /* @__PURE__ */ r("input", { ...F() }),
1507
+ /* @__PURE__ */ r("input", { ...H() }),
1508
1508
  /* @__PURE__ */ d(
1509
1509
  "div",
1510
1510
  {
1511
1511
  ...g("chat/input_box/inner_root"),
1512
- className: p(
1512
+ className: h(
1513
1513
  "transition-all",
1514
1514
  "bg-white",
1515
1515
  // 'border',
@@ -1528,10 +1528,10 @@ function lo() {
1528
1528
  {
1529
1529
  ...g("chat/input_box/attachments_container"),
1530
1530
  className: "flex items-center gap-1",
1531
- children: /* @__PURE__ */ r(_, { mode: "popLayout", children: l.map((v) => /* @__PURE__ */ r(w, { snapExit: !0, children: /* @__PURE__ */ r(
1531
+ children: /* @__PURE__ */ r(_, { mode: "popLayout", children: l.map((v) => /* @__PURE__ */ r(u, { snapExit: !0, children: /* @__PURE__ */ r(
1532
1532
  io,
1533
1533
  {
1534
- onCancel: () => h(v.id),
1534
+ onCancel: () => p(v.id),
1535
1535
  file: v
1536
1536
  }
1537
1537
  ) }, v.id)) })
@@ -1541,12 +1541,12 @@ function lo() {
1541
1541
  "textarea",
1542
1542
  {
1543
1543
  ...g("chat/input_box/textarea"),
1544
- onPaste: W,
1544
+ onPaste: L,
1545
1545
  ref: o,
1546
1546
  id: "chat-input",
1547
- value: i,
1547
+ value: a,
1548
1548
  rows: 3,
1549
- className: p(
1549
+ className: h(
1550
1550
  /** Match the border radius of the container */
1551
1551
  // INPUT_CONTAINER_B_RADIUS,
1552
1552
  "max-h-16 [field-sizing:content]",
@@ -1557,7 +1557,7 @@ function lo() {
1557
1557
  // 16px on mobiles prevents auto-zoom on the input when focused
1558
1558
  e ? "text-[16px]" : "text-sm"
1559
1559
  ),
1560
- onChange: (v) => a(v.target.value),
1560
+ onChange: (v) => i(v.target.value),
1561
1561
  onKeyDown: async (v) => {
1562
1562
  v.key === "Enter" && !v.shiftKey && (v.preventDefault(), f());
1563
1563
  },
@@ -1577,13 +1577,13 @@ function lo() {
1577
1577
  children: /* @__PURE__ */ r(
1578
1578
  C,
1579
1579
  {
1580
- onClick: H,
1580
+ onClick: W,
1581
1581
  size: "fit",
1582
1582
  variant: "ghost",
1583
- className: p(
1583
+ className: h(
1584
1584
  "rounded-full size-8 flex items-center justify-center p-0 overflow-hidden"
1585
1585
  ),
1586
- children: /* @__PURE__ */ r(_, { mode: "wait", children: z && !u ? /* @__PURE__ */ r(w, { children: /* @__PURE__ */ r(wr, { className: "size-4" }) }, "paper-clip") : /* @__PURE__ */ r(w, { children: /* @__PURE__ */ r(fr, { className: "size-4" }) }, "image-icon") })
1586
+ children: /* @__PURE__ */ r(_, { mode: "wait", children: z && !w ? /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(ur, { className: "size-4" }) }, "paper-clip") : /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(fr, { className: "size-4" }) }, "image-icon") })
1587
1587
  }
1588
1588
  )
1589
1589
  }
@@ -1593,9 +1593,9 @@ function lo() {
1593
1593
  {
1594
1594
  size: "fit",
1595
1595
  onClick: f,
1596
- disabled: u || x || I,
1596
+ disabled: w || x || I,
1597
1597
  className: "rounded-full size-8 flex items-center justify-center p-0",
1598
- children: /* @__PURE__ */ r(_, { mode: "wait", children: u || x ? /* @__PURE__ */ r(w, { snapExit: !0, children: /* @__PURE__ */ r(vr, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ r(w, { snapExit: !0, children: /* @__PURE__ */ r(vt, { className: "size-4" }) }, "send") })
1598
+ children: /* @__PURE__ */ r(_, { mode: "wait", children: w || x ? /* @__PURE__ */ r(u, { snapExit: !0, children: /* @__PURE__ */ r(vr, { className: "size-4 animate-spin animate-iteration-infinite" }) }, "loading") : /* @__PURE__ */ r(u, { snapExit: !0, children: /* @__PURE__ */ r(vt, { className: "size-4" }) }, "send") })
1599
1599
  }
1600
1600
  ) })
1601
1601
  ] })
@@ -1624,14 +1624,14 @@ function co() {
1624
1624
  ] }, "session-closed") }) }) });
1625
1625
  }
1626
1626
  function po() {
1627
- var a;
1628
- const { initialQuestions: e, initialQuestionsPosition: o, thisWasHelpfulOrNot: t } = b(), { sessionState: n } = $(), { messagesState: s } = D(), i = s.messages.length === 0;
1629
- return /* @__PURE__ */ r("footer", { children: /* @__PURE__ */ r(_, { mode: "wait", children: n.session && !((a = n.session) != null && a.isOpened) ? /* @__PURE__ */ d(P, { children: [
1627
+ var i;
1628
+ const { initialQuestions: e, initialQuestionsPosition: o, thisWasHelpfulOrNot: t } = b(), { sessionState: n } = $(), { messagesState: s } = D(), a = s.messages.length === 0;
1629
+ return /* @__PURE__ */ r("footer", { children: /* @__PURE__ */ r(_, { mode: "wait", children: n.session && !((i = n.session) != null && i.isOpened) ? /* @__PURE__ */ d(P, { children: [
1630
1630
  /* @__PURE__ */ r(co, {}),
1631
1631
  /* @__PURE__ */ r(it, {})
1632
1632
  ] }, "session-closed") : /* @__PURE__ */ d(P, { children: [
1633
1633
  s.lastAIResMightSolveUserIssue && (t == null ? void 0 : t.enabled) !== !1 && /* @__PURE__ */ r(ao, {}),
1634
- i && e && o !== "below-initial-messages" && /* @__PURE__ */ r("div", { className: "flex items-center flex-row justify-end gap-2 flex-wrap px-2", children: e == null ? void 0 : e.map((l, c) => /* @__PURE__ */ r(
1634
+ a && e && o !== "below-initial-messages" && /* @__PURE__ */ r("div", { className: "flex items-center flex-row justify-end gap-2 flex-wrap px-2", children: e == null ? void 0 : e.map((l, c) => /* @__PURE__ */ r(
1635
1635
  Se,
1636
1636
  {
1637
1637
  suggestion: l
@@ -1651,10 +1651,10 @@ function ho({
1651
1651
  const { componentStore: s } = M();
1652
1652
  if (n.type !== "AGENT" && n.type !== "AI") return null;
1653
1653
  if (n.data.action) {
1654
- const a = s.getComponent(n.data.action.name);
1655
- if (a)
1654
+ const i = s.getComponent(n.data.action.name);
1655
+ if (i)
1656
1656
  return /* @__PURE__ */ r(
1657
- a,
1657
+ i,
1658
1658
  {
1659
1659
  ...n,
1660
1660
  id: n.id,
@@ -1664,9 +1664,9 @@ function ho({
1664
1664
  }
1665
1665
  );
1666
1666
  }
1667
- const i = s.getComponent(n.component);
1668
- return i ? /* @__PURE__ */ r(
1669
- i,
1667
+ const a = s.getComponent(n.component);
1668
+ return a ? /* @__PURE__ */ r(
1669
+ a,
1670
1670
  {
1671
1671
  ...n,
1672
1672
  id: n.id,
@@ -1689,13 +1689,13 @@ function Ht({
1689
1689
  className: o,
1690
1690
  containerClassName: t
1691
1691
  }) {
1692
- var a, l;
1692
+ var i, l;
1693
1693
  const { timestamps: n } = b();
1694
- if (!((a = n == null ? void 0 : n.perMessageGroup) != null && a.enabled))
1694
+ if (!((i = n == null ? void 0 : n.perMessageGroup) != null && i.enabled))
1695
1695
  return null;
1696
1696
  const s = (l = e[e.length - 1]) == null ? void 0 : l.timestamp;
1697
1697
  if (!s) return null;
1698
- const i = (() => {
1698
+ const a = (() => {
1699
1699
  try {
1700
1700
  return new Date(s).toLocaleTimeString([], {
1701
1701
  hour: "2-digit",
@@ -1706,7 +1706,7 @@ function Ht({
1706
1706
  return console.error(c), null;
1707
1707
  }
1708
1708
  })();
1709
- return i ? /* @__PURE__ */ r("div", { className: t, children: /* @__PURE__ */ r("span", { className: p("text-xs text-muted-foreground", o), children: i }) }) : null;
1709
+ return a ? /* @__PURE__ */ r("div", { className: t, children: /* @__PURE__ */ r("span", { className: h("text-xs text-muted-foreground", o), children: a }) }) : null;
1710
1710
  }
1711
1711
  function le({
1712
1712
  messages: e,
@@ -1717,25 +1717,25 @@ function le({
1717
1717
  "div",
1718
1718
  {
1719
1719
  ...g("chat/agent_msg_group/root"),
1720
- className: p("flex items-end gap-2"),
1720
+ className: h("flex items-end gap-2"),
1721
1721
  children: [
1722
1722
  /* @__PURE__ */ r(ee, { content: o == null ? void 0 : o.name, side: "right", align: "end", children: /* @__PURE__ */ r(
1723
- ue,
1723
+ we,
1724
1724
  {
1725
1725
  ...g("chat/agent_msg_group/root/avatar"),
1726
1726
  agent: o,
1727
1727
  className: "hidden"
1728
1728
  }
1729
1729
  ) }),
1730
- /* @__PURE__ */ d("div", { className: p("flex-1 flex flex-col gap-1"), children: [
1730
+ /* @__PURE__ */ d("div", { className: h("flex-1 flex flex-col gap-1"), children: [
1731
1731
  /* @__PURE__ */ d(
1732
1732
  "div",
1733
1733
  {
1734
1734
  ...g("chat/agent_msg_group/avatar_and_msgs/root"),
1735
- className: p("flex items-end gap-2"),
1735
+ className: h("flex items-end gap-2"),
1736
1736
  children: [
1737
1737
  /* @__PURE__ */ r(ee, { content: o == null ? void 0 : o.name, side: "right", align: "end", children: /* @__PURE__ */ r(
1738
- ue,
1738
+ we,
1739
1739
  {
1740
1740
  ...g("chat/agent_msg_group/avatar_and_msgs/avatar"),
1741
1741
  agent: o
@@ -1745,14 +1745,14 @@ function le({
1745
1745
  "div",
1746
1746
  {
1747
1747
  ...g("chat/agent_msg_group/avatar_and_msgs/msgs"),
1748
- className: p("flex-1 flex flex-col gap-1"),
1748
+ className: h("flex-1 flex flex-col gap-1"),
1749
1749
  children: [
1750
- e.map((n, s, i) => /* @__PURE__ */ r(
1750
+ e.map((n, s, a) => /* @__PURE__ */ r(
1751
1751
  ho,
1752
1752
  {
1753
1753
  isFirstInGroup: s === 0,
1754
- isLastInGroup: s === i.length - 1,
1755
- isAloneInGroup: i.length === 1,
1754
+ isLastInGroup: s === a.length - 1,
1755
+ isAloneInGroup: a.length === 1,
1756
1756
  ...n
1757
1757
  },
1758
1758
  n.id
@@ -1768,7 +1768,7 @@ function le({
1768
1768
  "div",
1769
1769
  {
1770
1770
  ...g("chat/agent_msg_group/suggestions"),
1771
- className: p("flex flex-col gap-1 ps-8"),
1771
+ className: h("flex flex-col gap-1 ps-8"),
1772
1772
  children: t == null ? void 0 : t.map((n, s) => /* @__PURE__ */ r(
1773
1773
  Se,
1774
1774
  {
@@ -1803,7 +1803,7 @@ function go({
1803
1803
  ...g("chat/user_msg/root"),
1804
1804
  className: "w-5/6 flex flex-col items-end gap-1",
1805
1805
  children: [
1806
- e.attachments && e.attachments.length > 0 && /* @__PURE__ */ r("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (s = e.attachments) == null ? void 0 : s.map((i) => /* @__PURE__ */ r(Mt, { attachment: i }, i.id)) }),
1806
+ e.attachments && e.attachments.length > 0 && /* @__PURE__ */ r("div", { className: "w-full flex gap-1 flex-wrap justify-end", children: (s = e.attachments) == null ? void 0 : s.map((a) => /* @__PURE__ */ r(Mt, { attachment: a }, a.id)) }),
1807
1807
  e.content.length > 0 && /* @__PURE__ */ r(
1808
1808
  "div",
1809
1809
  {
@@ -1811,7 +1811,7 @@ function go({
1811
1811
  "data-first": o,
1812
1812
  "data-last": t,
1813
1813
  "data-alone": n,
1814
- className: p(
1814
+ className: h(
1815
1815
  "transition-all",
1816
1816
  "w-fit py-3 px-4 rounded-3xl text-sm",
1817
1817
  "bg-primary text-primary-foreground",
@@ -1830,14 +1830,14 @@ function go({
1830
1830
  }
1831
1831
  );
1832
1832
  }
1833
- function uo({
1833
+ function wo({
1834
1834
  messages: e
1835
1835
  }) {
1836
1836
  return /* @__PURE__ */ d(
1837
1837
  "div",
1838
1838
  {
1839
1839
  ...g("chat/user_msg_group/root"),
1840
- className: p("group", "flex flex-col gap-1 justify-end items-end"),
1840
+ className: h("group", "flex flex-col gap-1 justify-end items-end"),
1841
1841
  children: [
1842
1842
  e.map((o, t, n) => /* @__PURE__ */ r(
1843
1843
  go,
@@ -1854,14 +1854,14 @@ function uo({
1854
1854
  }
1855
1855
  );
1856
1856
  }
1857
- function wo(e) {
1857
+ function uo(e) {
1858
1858
  const o = [];
1859
1859
  let t = null;
1860
1860
  return e.forEach((n) => {
1861
- var s, i, a, l, c, h;
1861
+ var s, a, i, l, c, p;
1862
1862
  // Start a new group if the type changes
1863
1863
  (((s = t == null ? void 0 : t[0]) == null ? void 0 : s.type) !== n.type || // Start a new group if the agent changes
1864
- ((i = t[0]) == null ? void 0 : i.type) === "AGENT" && n.type === "AGENT" && (((a = n.agent) == null ? void 0 : a.id) !== ((l = t[0].agent) == null ? void 0 : l.id) || ((c = n.agent) == null ? void 0 : c.name) !== ((h = t[0].agent) == null ? void 0 : h.name))) && (t = [], o.push(t)), t.push(n);
1864
+ ((a = t[0]) == null ? void 0 : a.type) === "AGENT" && n.type === "AGENT" && (((i = n.agent) == null ? void 0 : i.id) !== ((l = t[0].agent) == null ? void 0 : l.id) || ((c = n.agent) == null ? void 0 : c.name) !== ((p = t[0].agent) == null ? void 0 : p.name))) && (t = [], o.push(t)), t.push(n);
1865
1865
  }), o;
1866
1866
  }
1867
1867
  function fo(e) {
@@ -1889,10 +1889,10 @@ function bo() {
1889
1889
  le,
1890
1890
  {
1891
1891
  messages: o.map(
1892
- ({ message: i }, a) => ({
1892
+ ({ message: a }, i) => ({
1893
1893
  component: "bot_message",
1894
- data: { message: i },
1895
- id: `${a}-${i}`,
1894
+ data: { message: a },
1895
+ id: `${i}-${a}`,
1896
1896
  type: "AI",
1897
1897
  timestamp: null
1898
1898
  })
@@ -1917,18 +1917,18 @@ function ko() {
1917
1917
  advancedInitialMessages: t = [],
1918
1918
  initialQuestions: n,
1919
1919
  initialQuestionsPosition: s
1920
- } = o, i = (() => {
1921
- var a;
1922
- return t.length ? [] : e.length ? [] : (a = o.initialMessages) != null && a.length ? o.initialMessages : ["Hello, how can I help you?"];
1920
+ } = o, a = (() => {
1921
+ var i;
1922
+ return t.length ? [] : e.length ? [] : (i = o.initialMessages) != null && i.length ? o.initialMessages : ["Hello, how can I help you?"];
1923
1923
  })();
1924
- return /* @__PURE__ */ r(re, { children: e.length === 0 && i.length > 0 && /* @__PURE__ */ r(
1924
+ return /* @__PURE__ */ r(re, { children: e.length === 0 && a.length > 0 && /* @__PURE__ */ r(
1925
1925
  le,
1926
1926
  {
1927
- messages: i.map(
1928
- (a, l) => ({
1927
+ messages: a.map(
1928
+ (i, l) => ({
1929
1929
  component: "bot_message",
1930
- data: { message: a },
1931
- id: `${l}-${a}`,
1930
+ data: { message: i },
1931
+ id: `${l}-${i}`,
1932
1932
  type: "AI",
1933
1933
  timestamp: null
1934
1934
  })
@@ -1946,16 +1946,16 @@ function Co() {
1946
1946
  function zo() {
1947
1947
  const {
1948
1948
  messagesState: { messages: e }
1949
- } = D(), { isAwaitingBotReply: o } = ut(), { componentStore: t } = M(), { bot: n, humanAgent: s } = b(), i = ht(
1950
- () => wo(e),
1949
+ } = D(), { isAwaitingBotReply: o } = wt(), { componentStore: t } = M(), { bot: n, humanAgent: s } = b(), a = ht(
1950
+ () => uo(e),
1951
1951
  [e]
1952
- ), a = t.getComponent(
1952
+ ), i = t.getComponent(
1953
1953
  "loading"
1954
1954
  ), l = de(null);
1955
1955
  function c() {
1956
1956
  setTimeout(() => {
1957
- const h = l.current;
1958
- h && (h.scrollTop = h.scrollHeight);
1957
+ const p = l.current;
1958
+ p && (p.scrollTop = p.scrollHeight);
1959
1959
  }, 0);
1960
1960
  }
1961
1961
  return oe(() => {
@@ -1970,29 +1970,29 @@ function zo() {
1970
1970
  /* @__PURE__ */ r(yo, {}),
1971
1971
  /* @__PURE__ */ r(bo, {}),
1972
1972
  /* @__PURE__ */ r(ko, {}),
1973
- i.map((h, y) => {
1974
- var z, u, k, I;
1975
- const x = (z = h == null ? void 0 : h[0]) == null ? void 0 : z.type, m = (u = h[0]) == null ? void 0 : u.id;
1973
+ a.map((p, y) => {
1974
+ var z, w, k, I;
1975
+ const x = (z = p == null ? void 0 : p[0]) == null ? void 0 : z.type, m = (w = p[0]) == null ? void 0 : w.id;
1976
1976
  if (!x || !m) return null;
1977
- if (fo(h))
1978
- return /* @__PURE__ */ r(uo, { messages: h }, m);
1979
- if (vo(h)) {
1980
- const f = y === i.length - 1;
1981
- return o && f ? null : ((k = h[0]) == null || k.agent, /* @__PURE__ */ r(
1977
+ if (fo(p))
1978
+ return /* @__PURE__ */ r(wo, { messages: p }, m);
1979
+ if (vo(p)) {
1980
+ const f = y === a.length - 1;
1981
+ return o && f ? null : ((k = p[0]) == null || k.agent, /* @__PURE__ */ r(
1982
1982
  le,
1983
1983
  {
1984
- messages: h,
1984
+ messages: p,
1985
1985
  agent: n ? { ...n, isAi: !0, id: null } : void 0
1986
1986
  },
1987
1987
  m
1988
1988
  ));
1989
1989
  }
1990
- if (xo(h)) {
1991
- const f = (I = h[0]) == null ? void 0 : I.agent;
1990
+ if (xo(p)) {
1991
+ const f = (I = p[0]) == null ? void 0 : I.agent;
1992
1992
  return /* @__PURE__ */ r(
1993
1993
  le,
1994
1994
  {
1995
- messages: h,
1995
+ messages: p,
1996
1996
  agent: f ? {
1997
1997
  ...f,
1998
1998
  name: (s == null ? void 0 : s.name) || f.name || "",
@@ -2009,7 +2009,7 @@ function zo() {
2009
2009
  }
2010
2010
  return null;
2011
2011
  }),
2012
- o && a && /* @__PURE__ */ r(a, { agent: n }),
2012
+ o && i && /* @__PURE__ */ r(i, { agent: n }),
2013
2013
  /* @__PURE__ */ r(Co, {}),
2014
2014
  /* @__PURE__ */ r(mo, {})
2015
2015
  ]
@@ -2031,7 +2031,7 @@ function No() {
2031
2031
  "div",
2032
2032
  {
2033
2033
  ...g("chat/root"),
2034
- className: p("flex flex-col overflow-hidden"),
2034
+ className: h("flex flex-col overflow-hidden"),
2035
2035
  style: {
2036
2036
  width: "100vw",
2037
2037
  // Relative to the iframe
@@ -2045,14 +2045,14 @@ function No() {
2045
2045
  children: /* @__PURE__ */ d("div", { className: "size-full justify-between flex flex-col", children: [
2046
2046
  /* @__PURE__ */ r(At, {}),
2047
2047
  /* @__PURE__ */ r(_, { mode: "wait", children: e ? /* @__PURE__ */ r(
2048
- w,
2048
+ u,
2049
2049
  {
2050
2050
  className: "flex flex-col items-center justify-center w-full flex-1",
2051
2051
  children: /* @__PURE__ */ r(Ft, {})
2052
2052
  },
2053
2053
  "loading"
2054
2054
  ) : /* @__PURE__ */ d(
2055
- w,
2055
+ u,
2056
2056
  {
2057
2057
  className: "flex items-start h-full flex-1 overflow-auto",
2058
2058
  snapExit: !0,
@@ -2061,7 +2061,7 @@ function No() {
2061
2061
  "div",
2062
2062
  {
2063
2063
  ...g("chat/main/root"),
2064
- className: p(
2064
+ className: h(
2065
2065
  "flex flex-col h-full overflow-auto transition-all",
2066
2066
  t ? "w-2/5" : "w-full"
2067
2067
  ),
@@ -2079,7 +2079,7 @@ function No() {
2079
2079
  "div",
2080
2080
  {
2081
2081
  ...g("chat/canvas/root"),
2082
- className: p(
2082
+ className: h(
2083
2083
  "h-full overflow-auto transition-all",
2084
2084
  t ? "w-3/5" : "w-0"
2085
2085
  ),
@@ -2105,7 +2105,7 @@ function So({
2105
2105
  return /* @__PURE__ */ r(
2106
2106
  "div",
2107
2107
  {
2108
- className: p("animate-pulse rounded-md bg-secondary", e),
2108
+ className: h("animate-pulse rounded-md bg-secondary", e),
2109
2109
  ...o
2110
2110
  }
2111
2111
  );
@@ -2119,7 +2119,7 @@ function _o({ className: e }) {
2119
2119
  viewBox: "0 0 26 32",
2120
2120
  fill: "none",
2121
2121
  xmlns: "http://www.w3.org/2000/svg",
2122
- className: p("text-primary-foreground", e),
2122
+ className: h("text-primary-foreground", e),
2123
2123
  children: /* @__PURE__ */ r(
2124
2124
  "path",
2125
2125
  {
@@ -2135,7 +2135,7 @@ function Wt({ className: e }) {
2135
2135
  return /* @__PURE__ */ r(
2136
2136
  "div",
2137
2137
  {
2138
- className: p(
2138
+ className: h(
2139
2139
  "flex items-center justify-center gap-2 p-2 pt-0",
2140
2140
  e
2141
2141
  ),
@@ -2145,7 +2145,7 @@ function Wt({ className: e }) {
2145
2145
  href: `https://open.cx/?ref=${o}`,
2146
2146
  target: "_blank",
2147
2147
  rel: "noreferrer",
2148
- className: p(
2148
+ className: h(
2149
2149
  "text-[10px] flex items-center",
2150
2150
  "text-muted-foreground/70 [&_svg]:text-muted-foreground/70",
2151
2151
  "hover:text-primary [&_svg]:hover:text-primary"
@@ -2170,26 +2170,26 @@ function ct({
2170
2170
  session: e,
2171
2171
  className: o
2172
2172
  }) {
2173
- const { bot: t, humanAgent: n } = b(), { toChatScreen: s } = E(), i = e.assignee.kind === "human" ? (n == null ? void 0 : n.name) || e.assignee.name || "Support Agent" : (t == null ? void 0 : t.name) || "AI Support Agent", a = e.assignee.kind === "human" ? (n == null ? void 0 : n.avatarUrl) || e.assignee.avatarUrl || "" : (t == null ? void 0 : t.avatarUrl) || (t == null ? void 0 : t.avatar) || "";
2173
+ const { bot: t, humanAgent: n } = b(), { toChatScreen: s } = E(), a = e.assignee.kind === "human" ? (n == null ? void 0 : n.name) || e.assignee.name || "Support Agent" : (t == null ? void 0 : t.name) || "AI Support Agent", i = e.assignee.kind === "human" ? (n == null ? void 0 : n.avatarUrl) || e.assignee.avatarUrl || "" : (t == null ? void 0 : t.avatarUrl) || (t == null ? void 0 : t.avatar) || "";
2174
2174
  return /* @__PURE__ */ d(
2175
2175
  C,
2176
2176
  {
2177
2177
  variant: "ghost",
2178
2178
  size: "lg",
2179
- className: p(
2179
+ className: h(
2180
2180
  "rounded-full p-2 pe-4 flex text-start justify-between w-full whitespace-normal",
2181
2181
  o
2182
2182
  ),
2183
2183
  onClick: () => s(e.id),
2184
2184
  children: [
2185
2185
  /* @__PURE__ */ d("div", { className: "flex-1 flex gap-2 items-center", children: [
2186
- /* @__PURE__ */ r(_, { mode: "wait", children: /* @__PURE__ */ r(w, { snapExit: !0, children: /* @__PURE__ */ d(ye, { className: "size-10", children: [
2187
- /* @__PURE__ */ r(ke, { src: a, alt: "Agent Icon" }),
2186
+ /* @__PURE__ */ r(_, { mode: "wait", children: /* @__PURE__ */ r(u, { snapExit: !0, children: /* @__PURE__ */ d(ye, { className: "size-10", children: [
2187
+ /* @__PURE__ */ r(ke, { src: i, alt: "Agent Icon" }),
2188
2188
  /* @__PURE__ */ r(Ce, { children: /* @__PURE__ */ r(zr, { className: "size-4" }) })
2189
2189
  ] }) }) }),
2190
2190
  /* @__PURE__ */ d("div", { className: "flex-1", children: [
2191
- /* @__PURE__ */ r(_, { mode: "wait", children: /* @__PURE__ */ r(w, { snapExit: !0, children: i }, i) }),
2192
- /* @__PURE__ */ r(_, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ r(w, { snapExit: !0, children: /* @__PURE__ */ r(
2191
+ /* @__PURE__ */ r(_, { mode: "wait", children: /* @__PURE__ */ r(u, { snapExit: !0, children: a }, a) }),
2192
+ /* @__PURE__ */ r(_, { mode: "wait", children: e.lastMessage ? /* @__PURE__ */ r(u, { snapExit: !0, children: /* @__PURE__ */ r(
2193
2193
  Dt,
2194
2194
  {
2195
2195
  remarkPlugins: [xt],
@@ -2197,7 +2197,7 @@ function ct({
2197
2197
  className: "line-clamp-1 overflow-hidden text-ellipsis text-xs text-muted-foreground",
2198
2198
  children: e.lastMessage
2199
2199
  }
2200
- ) }, e.lastMessage || "content") : /* @__PURE__ */ r(w, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ r(So, { className: "h-4 w-full" }) }, "skeleton") })
2200
+ ) }, e.lastMessage || "content") : /* @__PURE__ */ r(u, { className: "w-1/2", snapExit: !0, children: /* @__PURE__ */ r(So, { className: "h-4 w-full" }) }, "skeleton") })
2201
2201
  ] })
2202
2202
  ] }),
2203
2203
  /* @__PURE__ */ r(Nr, { className: "size-4 text-muted-foreground shrink-0 rtl:-scale-100" })
@@ -2209,24 +2209,24 @@ function To() {
2209
2209
  const { t: e } = V(), { toChatScreen: o } = E(), {
2210
2210
  sessionsState: { data: t, isInitialFetchLoading: n },
2211
2211
  openSessions: s,
2212
- closedSessions: i,
2213
- canCreateNewSession: a
2212
+ closedSessions: a,
2213
+ canCreateNewSession: i
2214
2214
  } = $();
2215
2215
  return /* @__PURE__ */ r("div", { className: "flex-1 flex flex-col overflow-scroll py-2 px-2", children: /* @__PURE__ */ r(_, { mode: "wait", children: n ? /* @__PURE__ */ r(
2216
- w,
2216
+ u,
2217
2217
  {
2218
2218
  className: "flex-1 flex items-center justify-center",
2219
2219
  children: /* @__PURE__ */ r(Ft, {})
2220
2220
  },
2221
2221
  "loading"
2222
2222
  ) : /* @__PURE__ */ r(
2223
- w,
2223
+ u,
2224
2224
  {
2225
2225
  className: "flex-1 flex flex-col gap-2 relative",
2226
2226
  children: t.length ? /* @__PURE__ */ d(re, { children: [
2227
2227
  /* @__PURE__ */ d(_, { children: [
2228
2228
  s.length > 0 && /* @__PURE__ */ r(
2229
- w,
2229
+ u,
2230
2230
  {
2231
2231
  fadeIn: "up",
2232
2232
  delay: 0.2,
@@ -2236,15 +2236,15 @@ function To() {
2236
2236
  },
2237
2237
  "open-sessions"
2238
2238
  ),
2239
- i.length > 0 && /* @__PURE__ */ d(
2240
- w,
2239
+ a.length > 0 && /* @__PURE__ */ d(
2240
+ u,
2241
2241
  {
2242
2242
  className: "space-y-2",
2243
2243
  delay: 0.2,
2244
2244
  snapExit: !0,
2245
2245
  children: [
2246
2246
  /* @__PURE__ */ r(Io, { children: e("closed_conversations") }),
2247
- i.map((l) => /* @__PURE__ */ r(
2247
+ a.map((l) => /* @__PURE__ */ r(
2248
2248
  ct,
2249
2249
  {
2250
2250
  session: l,
@@ -2257,7 +2257,7 @@ function To() {
2257
2257
  "closed-sessions"
2258
2258
  )
2259
2259
  ] }),
2260
- a && /* @__PURE__ */ r("div", { className: "mt-auto w-full rounded-3xl sticky bottom-0 outline outline-8 outline-background bg-background", children: /* @__PURE__ */ ot(
2260
+ i && /* @__PURE__ */ r("div", { className: "mt-auto w-full rounded-3xl sticky bottom-0 outline outline-8 outline-background bg-background", children: /* @__PURE__ */ ot(
2261
2261
  C,
2262
2262
  {
2263
2263
  ...g("sessions/new_conversation_btn"),
@@ -2295,7 +2295,7 @@ function Mo() {
2295
2295
  "div",
2296
2296
  {
2297
2297
  ...g("sessions/root"),
2298
- className: p("flex flex-col overflow-hidden bg-background"),
2298
+ className: h("flex flex-col overflow-hidden bg-background"),
2299
2299
  style: {
2300
2300
  width: "100vw",
2301
2301
  // Relative to the iframe
@@ -2316,13 +2316,13 @@ function Mo() {
2316
2316
  }
2317
2317
  const ie = K.forwardRef(
2318
2318
  ({ className: e, type: o, ...t }, n) => {
2319
- const { isSmallScreen: s } = A();
2319
+ const { isSmallScreen: s } = F();
2320
2320
  return /* @__PURE__ */ r(
2321
2321
  "input",
2322
2322
  {
2323
2323
  ref: n,
2324
2324
  type: o,
2325
- className: p(
2325
+ className: h(
2326
2326
  // 16px on mobiles prevents auto-zoom on the input when focused
2327
2327
  s ? "text-[16px]" : "text-sm",
2328
2328
  "flex w-full rounded-xl p-2 ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-primary-foreground placeholder:text-muted-foreground/75 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 transition",
@@ -2342,9 +2342,9 @@ function Do() {
2342
2342
  const n = e == null ? void 0 : e.current;
2343
2343
  if (n && t.current) {
2344
2344
  const s = t.current;
2345
- let i;
2346
- const a = new ResizeObserver(() => {
2347
- i = requestAnimationFrame(() => {
2345
+ let a;
2346
+ const i = new ResizeObserver(() => {
2347
+ a = requestAnimationFrame(() => {
2348
2348
  const l = s.offsetHeight;
2349
2349
  n.style.setProperty(
2350
2350
  "--opencx-widget-height",
@@ -2352,8 +2352,8 @@ function Do() {
2352
2352
  );
2353
2353
  });
2354
2354
  });
2355
- return a.observe(s), () => {
2356
- cancelAnimationFrame(i), a.unobserve(s);
2355
+ return i.observe(s), () => {
2356
+ cancelAnimationFrame(a), i.unobserve(s);
2357
2357
  };
2358
2358
  }
2359
2359
  }, [e, o]), { observedElementRef: t };
@@ -2363,17 +2363,17 @@ const Ro = me.object({
2363
2363
  email: me.string().email()
2364
2364
  });
2365
2365
  function jo() {
2366
- var f, R, F, H, W, O, v, N;
2366
+ var f, R, H, W, L, O, v, N;
2367
2367
  const {
2368
2368
  widgetCtx: { org: e }
2369
- } = M(), { setIsOpen: o } = q(), { createUnverifiedContact: t } = wt(), { isSmallScreen: n } = A(), s = b(), { theme: i } = X(), { t: a } = V(), { observedElementRef: l } = Do();
2369
+ } = M(), { setIsOpen: o } = q(), { createUnverifiedContact: t } = ut(), { isSmallScreen: n } = F(), s = b(), { theme: a } = X(), { t: i } = V(), { observedElementRef: l } = Do();
2370
2370
  ze({
2371
2371
  height: void 0,
2372
- width: i.screens.welcome.width
2372
+ width: a.screens.welcome.width
2373
2373
  });
2374
- const [c, h] = T(((f = s.prefillUserData) == null ? void 0 : f.name) || ""), [y, x] = T(((R = s.prefillUserData) == null ? void 0 : R.email) || ""), m = (s.extraDataCollectionFields || []).filter(
2374
+ const [c, p] = T(((f = s.prefillUserData) == null ? void 0 : f.name) || ""), [y, x] = T(((R = s.prefillUserData) == null ? void 0 : R.email) || ""), m = (s.extraDataCollectionFields || []).filter(
2375
2375
  (S) => S !== "name" && S !== "email" && !!S
2376
- ), [z, u] = T({}), [k, I] = Rr(
2376
+ ), [z, w] = T({}), [k, I] = Rr(
2377
2377
  async (S) => {
2378
2378
  S.preventDefault();
2379
2379
  const B = Ro.safeParse({ name: c, email: y });
@@ -2396,7 +2396,7 @@ function jo() {
2396
2396
  // Relative to the iframe
2397
2397
  maxWidth: "100vw",
2398
2398
  // Relative to the iframe
2399
- minHeight: i.screens.welcome.minHeight,
2399
+ minHeight: a.screens.welcome.minHeight,
2400
2400
  height: "100vh",
2401
2401
  // Relative to the iframe
2402
2402
  maxHeight: "100vh",
@@ -2407,7 +2407,7 @@ function jo() {
2407
2407
  "div",
2408
2408
  {
2409
2409
  ref: l,
2410
- className: p(
2410
+ className: h(
2411
2411
  "flex flex-col",
2412
2412
  n && "h-full",
2413
2413
  "bg-[radial-gradient(ellipse_at_top_left,hsl(var(--opencx-primary)),transparent),radial-gradient(ellipse_at_top_right,hsl(var(--opencx-primary)),transparent)]"
@@ -2416,23 +2416,23 @@ function jo() {
2416
2416
  /* @__PURE__ */ d(
2417
2417
  "div",
2418
2418
  {
2419
- className: p(
2419
+ className: h(
2420
2420
  "flex-1 flex flex-col px-4 py-12 text-start space-y-4 relative z-10",
2421
2421
  "text-primary-foreground"
2422
2422
  ),
2423
2423
  children: [
2424
- n && /* @__PURE__ */ r(w, { className: "absolute top-6 end-6", children: /* @__PURE__ */ r(C, { size: "selfless", onClick: () => o(!1), children: /* @__PURE__ */ r(xe, { className: "size-4" }) }) }),
2425
- /* @__PURE__ */ r("div", { className: "flex items-center justify-between w-full mb-2", children: (F = s.assets) != null && F.organizationLogo ? /* @__PURE__ */ r(
2424
+ n && /* @__PURE__ */ r(u, { className: "absolute top-6 end-6", children: /* @__PURE__ */ r(C, { size: "selfless", onClick: () => o(!1), children: /* @__PURE__ */ r(xe, { className: "size-4" }) }) }),
2425
+ /* @__PURE__ */ r("div", { className: "flex items-center justify-between w-full mb-2", children: (H = s.assets) != null && H.organizationLogo ? /* @__PURE__ */ r(
2426
2426
  "img",
2427
2427
  {
2428
- src: (H = s.assets) == null ? void 0 : H.organizationLogo,
2428
+ src: (W = s.assets) == null ? void 0 : W.organizationLogo,
2429
2429
  alt: "Company Logo",
2430
2430
  className: "h-8 w-auto object-contain"
2431
2431
  }
2432
2432
  ) : /* @__PURE__ */ r("h2", { className: "font-bold text-sm", children: e.name }) }),
2433
2433
  /* @__PURE__ */ d("div", { className: "space-y-2", children: [
2434
- /* @__PURE__ */ r("h1", { className: "text-[1.75rem] font-semibold tracking-tight leading-none", children: ((O = (W = s.textContent) == null ? void 0 : W.welcomeScreen) == null ? void 0 : O.title) || a("welcome_screen_title") }),
2435
- /* @__PURE__ */ r("p", { className: "text-sm", children: ((N = (v = s.textContent) == null ? void 0 : v.welcomeScreen) == null ? void 0 : N.description) || a("welcome_screen_description") })
2434
+ /* @__PURE__ */ r("h1", { className: "text-[1.75rem] font-semibold tracking-tight leading-none", children: ((O = (L = s.textContent) == null ? void 0 : L.welcomeScreen) == null ? void 0 : O.title) || i("welcome_screen_title") }),
2435
+ /* @__PURE__ */ r("p", { className: "text-sm", children: ((N = (v = s.textContent) == null ? void 0 : v.welcomeScreen) == null ? void 0 : N.description) || i("welcome_screen_description") })
2436
2436
  ] })
2437
2437
  ]
2438
2438
  }
@@ -2440,7 +2440,7 @@ function jo() {
2440
2440
  /* @__PURE__ */ d(
2441
2441
  "div",
2442
2442
  {
2443
- className: p(
2443
+ className: h(
2444
2444
  "z-10 m-2 px-2 pt-2 bp-0 space-y-2",
2445
2445
  "bg-[white]",
2446
2446
  "border shadow",
@@ -2452,9 +2452,9 @@ function jo() {
2452
2452
  ie,
2453
2453
  {
2454
2454
  value: c,
2455
- onChange: (S) => h(S.target.value),
2455
+ onChange: (S) => p(S.target.value),
2456
2456
  required: !0,
2457
- placeholder: a("your_name_placeholder"),
2457
+ placeholder: i("your_name_placeholder"),
2458
2458
  name: "name"
2459
2459
  }
2460
2460
  ),
@@ -2465,7 +2465,7 @@ function jo() {
2465
2465
  value: y,
2466
2466
  onChange: (S) => x(S.target.value),
2467
2467
  type: "email",
2468
- placeholder: a("your_email_placeholder"),
2468
+ placeholder: i("your_email_placeholder"),
2469
2469
  name: "email"
2470
2470
  }
2471
2471
  ),
@@ -2473,11 +2473,11 @@ function jo() {
2473
2473
  ie,
2474
2474
  {
2475
2475
  value: z[S],
2476
- onChange: (B) => u((se) => ({
2476
+ onChange: (B) => w((se) => ({
2477
2477
  ...se,
2478
2478
  [S]: B.target.value
2479
2479
  })),
2480
- placeholder: `${S} (${a("optional")})`
2480
+ placeholder: `${S} (${i("optional")})`
2481
2481
  },
2482
2482
  S
2483
2483
  )),
@@ -2488,7 +2488,7 @@ function jo() {
2488
2488
  className: "w-full",
2489
2489
  size: "lg",
2490
2490
  children: [
2491
- k.loading ? a("start_chat_button_loading") : a("start_chat_button"),
2491
+ k.loading ? i("start_chat_button_loading") : i("start_chat_button"),
2492
2492
  /* @__PURE__ */ r(Sr, { className: "size-4 rtl:-scale-100" })
2493
2493
  ]
2494
2494
  }
@@ -2512,7 +2512,7 @@ function Lt() {
2512
2512
  switch (e) {
2513
2513
  case "welcome":
2514
2514
  return /* @__PURE__ */ r(
2515
- w,
2515
+ u,
2516
2516
  {
2517
2517
  fadeIn: "right",
2518
2518
  className: "size-full",
@@ -2523,7 +2523,7 @@ function Lt() {
2523
2523
  );
2524
2524
  case "sessions":
2525
2525
  return /* @__PURE__ */ r(
2526
- w,
2526
+ u,
2527
2527
  {
2528
2528
  fadeIn: "right",
2529
2529
  className: "size-full",
@@ -2534,7 +2534,7 @@ function Lt() {
2534
2534
  );
2535
2535
  case "chat":
2536
2536
  return /* @__PURE__ */ r(
2537
- w,
2537
+ u,
2538
2538
  {
2539
2539
  fadeIn: "right",
2540
2540
  className: "size-full",
@@ -2548,7 +2548,7 @@ function Lt() {
2548
2548
  }
2549
2549
  })() }) });
2550
2550
  }
2551
- const Eo = "4.0.46", Oo = `<!DOCTYPE html>
2551
+ const Eo = "4.0.47", Oo = `<!DOCTYPE html>
2552
2552
  <html>
2553
2553
  <head>
2554
2554
  <style>
@@ -2567,7 +2567,7 @@ html, body {
2567
2567
  </body>
2568
2568
  </html>`;
2569
2569
  function $t() {
2570
- const { isOpen: e } = q(), { contentIframeRef: o } = M(), { cssOverrides: t, inline: n } = b(), { theme: s, cssVars: i, computed: a } = X(), { dir: l } = V();
2570
+ const { isOpen: e } = q(), { contentIframeRef: o } = M(), { cssOverrides: t, inline: n } = b(), { theme: s, cssVars: a, computed: i } = X(), { dir: l } = V();
2571
2571
  return /* @__PURE__ */ r(
2572
2572
  J.div,
2573
2573
  {
@@ -2596,15 +2596,15 @@ function $t() {
2596
2596
  title: "OpenCX Live Chat",
2597
2597
  style: {
2598
2598
  // @ts-expect-error this is a valid css variable
2599
- "--opencx-widget-width": a.minWidth,
2600
- "--opencx-widget-height": a.minHeight,
2601
- minWidth: a.minWidth,
2599
+ "--opencx-widget-width": i.minWidth,
2600
+ "--opencx-widget-height": i.minHeight,
2601
+ minWidth: i.minWidth,
2602
2602
  width: "var(--opencx-widget-width)",
2603
- maxWidth: a.maxWidth,
2603
+ maxWidth: i.maxWidth,
2604
2604
  // Relative to the viewport
2605
- minHeight: a.minHeight,
2605
+ minHeight: i.minHeight,
2606
2606
  height: "var(--opencx-widget-height)",
2607
- maxHeight: a.maxHeight,
2607
+ maxHeight: i.maxHeight,
2608
2608
  // Relative to the viewport
2609
2609
  overflow: "hidden",
2610
2610
  /** outline is better than border because of box sizing; the outline wouldn't affect the content inside... the border will mess up how the children's border radius sits with the parent */
@@ -2625,11 +2625,11 @@ function $t() {
2625
2625
  "div",
2626
2626
  {
2627
2627
  style: {
2628
- ...i,
2628
+ ...a,
2629
2629
  zIndex: s.widgetContentContainer.zIndex
2630
2630
  },
2631
2631
  "data-version": Eo,
2632
- className: p(
2632
+ className: h(
2633
2633
  "antialiased font-sans size-full overflow-hidden relative text-secondary-foreground isolate"
2634
2634
  ),
2635
2635
  dir: l,
@@ -2683,7 +2683,7 @@ function Ao({
2683
2683
  viewBox: "0 0 32 30",
2684
2684
  fill: "none",
2685
2685
  xmlns: "http://www.w3.org/2000/svg",
2686
- className: p("text-primary-foreground", e),
2686
+ className: h("text-primary-foreground", e),
2687
2687
  style: o,
2688
2688
  children: [
2689
2689
  /* @__PURE__ */ r(
@@ -2724,22 +2724,26 @@ html, body {
2724
2724
  </body>
2725
2725
  </html>`;
2726
2726
  function Ho() {
2727
- var i, a;
2728
- const { isOpen: e } = q(), { cssOverrides: o, assets: t } = b(), { theme: n, cssVars: s } = X();
2729
- return /* @__PURE__ */ d(
2727
+ var l, c;
2728
+ const { isOpen: e, setIsOpen: o } = q(), { cssOverrides: t, assets: n, customComponents: s } = b(), { theme: a, cssVars: i } = X();
2729
+ return s != null && s.widgetTrigger ? s.widgetTrigger({
2730
+ react: A,
2731
+ isOpen: e,
2732
+ setIsOpen: (p) => o(p)
2733
+ }) : /* @__PURE__ */ d(
2730
2734
  yt,
2731
2735
  {
2732
2736
  initialContent: Fo,
2733
2737
  title: "OpenCX Live Chat Trigger",
2734
2738
  style: {
2735
- height: `calc(${n.widgetTrigger.size.button}px + ${G.x * 2}px)`,
2736
- width: `calc(${n.widgetTrigger.size.button}px + ${G.y * 2}px)`,
2739
+ height: `calc(${a.widgetTrigger.size.button}px + ${G.x * 2}px)`,
2740
+ width: `calc(${a.widgetTrigger.size.button}px + ${G.y * 2}px)`,
2737
2741
  fontSize: "16px",
2738
2742
  position: "fixed",
2739
- zIndex: n.widgetTrigger.zIndex,
2740
- right: n.widgetTrigger.offset.right,
2741
- bottom: n.widgetTrigger.offset.bottom,
2742
- left: n.widgetTrigger.offset.left,
2743
+ zIndex: a.widgetTrigger.zIndex,
2744
+ right: a.widgetTrigger.offset.right,
2745
+ bottom: a.widgetTrigger.offset.bottom,
2746
+ left: a.widgetTrigger.offset.left,
2743
2747
  // reset iframe defaults
2744
2748
  boxSizing: "border-box",
2745
2749
  borderWidth: "0px",
@@ -2747,12 +2751,12 @@ function Ho() {
2747
2751
  borderRadius: "100%"
2748
2752
  },
2749
2753
  children: [
2750
- o && /* @__PURE__ */ r("style", { children: o }),
2754
+ t && /* @__PURE__ */ r("style", { children: t }),
2751
2755
  /* @__PURE__ */ r(
2752
2756
  "div",
2753
2757
  {
2754
2758
  style: {
2755
- ...s,
2759
+ ...i,
2756
2760
  width: "100%",
2757
2761
  height: "100%",
2758
2762
  display: "flex",
@@ -2762,18 +2766,18 @@ function Ho() {
2762
2766
  children: /* @__PURE__ */ r(
2763
2767
  ce.PopoverTrigger,
2764
2768
  {
2765
- className: p(
2769
+ className: h(
2766
2770
  "font-sans flex items-center justify-center rounded-full"
2767
2771
  ),
2768
2772
  style: {
2769
- height: n.widgetTrigger.size.button,
2770
- width: n.widgetTrigger.size.button
2773
+ height: a.widgetTrigger.size.button,
2774
+ width: a.widgetTrigger.size.button
2771
2775
  },
2772
2776
  children: /* @__PURE__ */ r(U, { children: /* @__PURE__ */ r(
2773
2777
  "div",
2774
2778
  {
2775
2779
  ...g("trigger/btn"),
2776
- className: p(
2780
+ className: h(
2777
2781
  "relative size-full rounded-full",
2778
2782
  "flex items-center justify-center",
2779
2783
  "overflow-hidden",
@@ -2782,7 +2786,7 @@ function Ho() {
2782
2786
  "text-primary-foreground"
2783
2787
  ),
2784
2788
  children: /* @__PURE__ */ r(_, { mode: "wait", children: e ? /* @__PURE__ */ r(
2785
- w,
2789
+ u,
2786
2790
  {
2787
2791
  snapExit: !0,
2788
2792
  fadeIn: "up",
@@ -2790,51 +2794,51 @@ function Ho() {
2790
2794
  initial: { rotate: 45 },
2791
2795
  animate: { rotate: 0 }
2792
2796
  },
2793
- children: (i = t == null ? void 0 : t.widgetTrigger) != null && i.closeIcon ? /* @__PURE__ */ r(
2797
+ children: (l = n == null ? void 0 : n.widgetTrigger) != null && l.closeIcon ? /* @__PURE__ */ r(
2794
2798
  "img",
2795
2799
  {
2796
- src: t.widgetTrigger.closeIcon,
2800
+ src: n.widgetTrigger.closeIcon,
2797
2801
  alt: "Widget trigger close icon",
2798
2802
  style: {
2799
- width: n.widgetTrigger.size.icon,
2800
- height: n.widgetTrigger.size.icon
2803
+ width: a.widgetTrigger.size.icon,
2804
+ height: a.widgetTrigger.size.icon
2801
2805
  }
2802
2806
  }
2803
2807
  ) : /* @__PURE__ */ r(
2804
2808
  _r,
2805
2809
  {
2806
2810
  style: {
2807
- width: n.widgetTrigger.size.icon,
2808
- height: n.widgetTrigger.size.icon
2811
+ width: a.widgetTrigger.size.icon,
2812
+ height: a.widgetTrigger.size.icon
2809
2813
  }
2810
2814
  }
2811
2815
  )
2812
2816
  },
2813
2817
  "x-icon"
2814
2818
  ) : /* @__PURE__ */ r(
2815
- w,
2819
+ u,
2816
2820
  {
2817
2821
  snapExit: !0,
2818
2822
  overrides: {
2819
2823
  initial: { rotate: 45 },
2820
2824
  animate: { rotate: 0 }
2821
2825
  },
2822
- children: (a = t == null ? void 0 : t.widgetTrigger) != null && a.openIcon ? /* @__PURE__ */ r(
2826
+ children: (c = n == null ? void 0 : n.widgetTrigger) != null && c.openIcon ? /* @__PURE__ */ r(
2823
2827
  "img",
2824
2828
  {
2825
- src: t.widgetTrigger.openIcon,
2829
+ src: n.widgetTrigger.openIcon,
2826
2830
  alt: "Widget trigger open icon",
2827
2831
  style: {
2828
- width: n.widgetTrigger.size.icon,
2829
- height: n.widgetTrigger.size.icon
2832
+ width: a.widgetTrigger.size.icon,
2833
+ height: a.widgetTrigger.size.icon
2830
2834
  }
2831
2835
  }
2832
2836
  ) : /* @__PURE__ */ r(
2833
2837
  Ao,
2834
2838
  {
2835
2839
  style: {
2836
- width: n.widgetTrigger.size.icon,
2837
- height: n.widgetTrigger.size.icon
2840
+ width: a.widgetTrigger.size.icon,
2841
+ height: a.widgetTrigger.size.icon
2838
2842
  },
2839
2843
  className: "mt-0.5 opacity-95"
2840
2844
  }
@@ -2869,20 +2873,20 @@ function Wo() {
2869
2873
  function Lo({
2870
2874
  widgetRef: e
2871
2875
  }) {
2872
- const { widgetCtx: o } = M(), { contactState: t } = wt(), { setIsOpen: n, isOpen: s } = q(), {
2873
- toChatScreen: i,
2874
- routerState: { screen: a }
2876
+ const { widgetCtx: o } = M(), { contactState: t } = ut(), { setIsOpen: n, isOpen: s } = q(), {
2877
+ toChatScreen: a,
2878
+ routerState: { screen: i }
2875
2879
  } = E(), { sendMessage: l } = D();
2876
- return L.useImperativeHandle(
2880
+ return A.useImperativeHandle(
2877
2881
  e,
2878
2882
  () => ({
2879
2883
  newChat: async (c) => {
2880
- var h;
2881
- if (!((h = t.contact) != null && h.token)) {
2884
+ var p;
2885
+ if (!((p = t.contact) != null && p.token)) {
2882
2886
  console.warn("Cannot start a new chat: contact not yet initialized.");
2883
2887
  return;
2884
2888
  }
2885
- console.log({ isOpen: s }), s || n(!0), a === "chat" && o.resetChat(), i(), c != null && c.message && l({ content: c.message });
2889
+ console.log({ isOpen: s }), s || n(!0), i === "chat" && o.resetChat(), a(), c != null && c.message && l({ content: c.message });
2886
2890
  }
2887
2891
  }),
2888
2892
  [
@@ -2890,8 +2894,8 @@ function Lo({
2890
2894
  t,
2891
2895
  n,
2892
2896
  s,
2893
- a,
2894
2897
  i,
2898
+ a,
2895
2899
  l
2896
2900
  ]
2897
2901
  ), null;
@@ -2929,7 +2933,7 @@ const Bo = [
2929
2933
  remove: async (e) => {
2930
2934
  localStorage.removeItem(e);
2931
2935
  }
2932
- }, Uo = L.forwardRef(function({ options: o, components: t = [], loadingComponent: n }, s) {
2936
+ }, Uo = A.forwardRef(function({ options: o, components: t = [], loadingComponent: n }, s) {
2933
2937
  return /* @__PURE__ */ r(
2934
2938
  Xt,
2935
2939
  {