@factorialco/f0-react 1.432.0 → 1.433.0

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.
@@ -1,7 +1,7 @@
1
1
  import { defaultTranslations as ke } from "./i18n-provider-defaults.js";
2
2
  import { jsx as q, jsxs as le } from "react/jsx-runtime";
3
3
  import { useInsertionEffect as Xe, createContext as Ye, useContext as $e, useRef as B, useEffect as ie, useState as Ue, useCallback as qe, useMemo as He } from "react";
4
- import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-DRUcCTJI.js";
4
+ import { r as Ke, l as je, m as Qe, n as Je, o as Me, p as Ze, q as et, s as tt, t as rt, v as nt, w as Ne, x as ot, V as it, y as st, z as at, A as ct, S as ut, H as lt, B as se, D as ft, E as dt, G as ht, J as mt, K as pt, L as vt, M as fe, N as gt } from "./F0AiChat-C6Swk3kV.js";
5
5
  import { useTrackVolume as wt } from "@livekit/components-react";
6
6
  function Tt(t, e, r) {
7
7
  Xe(() => t.on(e, r), [t, e, r]);
package/dist/ai.d.ts CHANGED
@@ -98,12 +98,11 @@ export declare type AiChatProviderProps = {
98
98
  */
99
99
  VoiceMode?: React.ComponentType;
100
100
  /**
101
- * Async resolver functions for entity references in markdown.
102
- * Used to fetch profile data for inline entity mentions (hover cards).
103
- * The consuming app provides these so the chat can resolve entity IDs
104
- * (e.g. employee IDs) into rich profile data without knowing the API.
101
+ * Configuration for entity references in markdown.
102
+ * Groups resolver functions (data fetching for hover cards) and
103
+ * URL builders (navigation links) for each entity type.
105
104
  */
106
- entityResolvers?: EntityResolvers;
105
+ entityRefs?: EntityRefs;
107
106
  /**
108
107
  * Available tool hints that the user can activate to provide intent context
109
108
  * to the AI. Renders a selector button next to the send button.
@@ -224,7 +223,7 @@ declare type AiChatProviderReturnValue = {
224
223
  inProgress: boolean;
225
224
  /** Set the in-progress state (synced from CopilotKit's isLoading) */
226
225
  setInProgress: (value: boolean) => void;
227
- } & Pick<AiChatState, "greeting" | "agent" | "disclaimer" | "resizable" | "entityResolvers" | "toolHints" | "credits"> & {
226
+ } & Pick<AiChatState, "greeting" | "agent" | "disclaimer" | "resizable" | "entityRefs" | "toolHints" | "credits"> & {
228
227
  /** The current canvas content, or null when canvas is closed */
229
228
  canvasContent: CanvasContent | null;
230
229
  /** Open the canvas panel with the given content */
@@ -253,7 +252,7 @@ declare interface AiChatState {
253
252
  historyEnabled?: boolean;
254
253
  footer?: React.ReactNode;
255
254
  VoiceMode?: React.ComponentType;
256
- entityResolvers?: EntityResolvers;
255
+ entityRefs?: EntityRefs;
257
256
  toolHints?: AiChatToolHint[];
258
257
  credits?: AiChatCredits;
259
258
  placeholders?: string[];
@@ -372,7 +371,7 @@ export declare const aiTranslations: {
372
371
  readonly unpinChat: "Unpin chat";
373
372
  readonly deleteChat: "Delete chat";
374
373
  readonly ask: "Ask One";
375
- readonly viewProfile: "View profile";
374
+ readonly view: "View";
376
375
  readonly tools: "Tools";
377
376
  readonly credits: {
378
377
  readonly title: "Credits";
@@ -434,6 +433,18 @@ export declare const aiTranslations: {
434
433
  };
435
434
  };
436
435
 
436
+ /**
437
+ * Profile data for a candidate entity (ATS applicant), resolved asynchronously
438
+ * and displayed in the entity reference hover card.
439
+ */
440
+ declare type CandidateProfile = {
441
+ id: string | number;
442
+ firstName: string;
443
+ lastName: string;
444
+ avatarUrl?: string;
445
+ source?: string;
446
+ };
447
+
437
448
  /**
438
449
  * Discriminated union for canvas panel content.
439
450
  * Add new entity types to this union as they are implemented.
@@ -1099,7 +1110,7 @@ export declare const defaultTranslations: {
1099
1110
  readonly unpinChat: "Unpin chat";
1100
1111
  readonly deleteChat: "Delete chat";
1101
1112
  readonly ask: "Ask One";
1102
- readonly viewProfile: "View profile";
1113
+ readonly view: "View";
1103
1114
  readonly tools: "Tools";
1104
1115
  readonly credits: {
1105
1116
  readonly title: "Credits";
@@ -1374,6 +1385,15 @@ export declare const defaultTranslations: {
1374
1385
  };
1375
1386
  };
1376
1387
 
1388
+ /**
1389
+ * Grouped configuration for entity references in the AI chat.
1390
+ * Combines resolver functions (data fetching) with URL builders (navigation).
1391
+ */
1392
+ export declare type EntityRefs = {
1393
+ resolvers?: EntityResolvers;
1394
+ urls?: EntityUrlBuilders;
1395
+ };
1396
+
1377
1397
  /**
1378
1398
  * Map of async resolver functions keyed by entity type.
1379
1399
  * Each resolver takes an entity ID and returns the profile data
@@ -1383,6 +1403,8 @@ export declare const defaultTranslations: {
1383
1403
  */
1384
1404
  export declare type EntityResolvers = {
1385
1405
  person?: (id: string) => Promise<PersonProfile>;
1406
+ candidate?: (id: string) => Promise<CandidateProfile>;
1407
+ jobPosting?: (id: string) => Promise<JobPostingProfile>;
1386
1408
  /**
1387
1409
  * Search for persons by name query. Used by the @mention autocomplete
1388
1410
  * in the chat input to let users reference specific employees.
@@ -1390,6 +1412,19 @@ export declare type EntityResolvers = {
1390
1412
  searchPersons?: (query: string) => Promise<PersonProfile[]>;
1391
1413
  };
1392
1414
 
1415
+ /**
1416
+ * Map of URL builder functions keyed by entity type.
1417
+ * Each builder takes an entity ID and returns the URL to navigate to.
1418
+ *
1419
+ * When a URL builder is not provided for an entity type, the hover card
1420
+ * will not show a navigation action.
1421
+ */
1422
+ export declare type EntityUrlBuilders = {
1423
+ person?: (id: string) => string;
1424
+ candidate?: (id: string) => string;
1425
+ jobPosting?: (id: string) => string;
1426
+ };
1427
+
1393
1428
  export declare const F0ActionItem: ({ title, status, inGroup }: F0ActionItemProps) => JSX_2.Element;
1394
1429
 
1395
1430
  /**
@@ -1418,7 +1453,7 @@ export declare const F0AiChat: () => JSX_2.Element | null;
1418
1453
  /**
1419
1454
  * @experimental This is an experimental component use it at your own risk
1420
1455
  */
1421
- export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityResolvers, toolHints, credits, onThumbsUp, onThumbsDown, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
1456
+ export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityRefs, toolHints, credits, onThumbsUp, onThumbsDown, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
1422
1457
 
1423
1458
  export declare const F0AiChatTextArea: ({ submitLabel, inProgress, onSend, onStop, creditWarning, onDismissCreditWarning, onGetCredits, }: ChatTextareaProps) => JSX_2.Element;
1424
1459
 
@@ -1599,6 +1634,17 @@ declare type IconType = ForwardRefExoticComponent<SVGProps<SVGSVGElement> & RefA
1599
1634
  animate?: "normal" | "animate";
1600
1635
  }>;
1601
1636
 
1637
+ /**
1638
+ * Profile data for a job posting entity (ATS opening), resolved asynchronously
1639
+ * and displayed in the entity reference hover card.
1640
+ */
1641
+ declare type JobPostingProfile = {
1642
+ id: string | number;
1643
+ title: string;
1644
+ status?: string;
1645
+ location?: string;
1646
+ };
1647
+
1602
1648
  declare type Join<T extends string[], D extends string> = T extends [] ? never : T extends [infer F] ? F : T extends [infer F, ...infer R] ? F extends string ? `${F}${D}${Join<Extract<R, string[]>, D>}` : never : string;
1603
1649
 
1604
1650
  export declare type MaskOptions = {
@@ -1801,11 +1847,6 @@ declare module "gridstack" {
1801
1847
  }
1802
1848
 
1803
1849
 
1804
- declare namespace Calendar {
1805
- var displayName: string;
1806
- }
1807
-
1808
-
1809
1850
  declare module "@tiptap/core" {
1810
1851
  interface Commands<ReturnType> {
1811
1852
  aiBlock: {
@@ -1853,3 +1894,8 @@ declare module "@tiptap/core" {
1853
1894
  };
1854
1895
  }
1855
1896
  }
1897
+
1898
+
1899
+ declare namespace Calendar {
1900
+ var displayName: string;
1901
+ }
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
- import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-DRUcCTJI.js";
1
+ import { i as t, h as i, F as e, a as n, C as o, b as r, j as A, k as c, I as u, g as F, c as h, d as C, u as l, f as I, e as f } from "./F0AiChat-C6Swk3kV.js";
2
2
  import { defaultTranslations as d } from "./i18n-provider-defaults.js";
3
- import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-ot92kVFT.js";
3
+ import { A as p, F as S, c as g, d as v, b as x, a as k, o as O, u as P } from "./F0HILActionConfirmation-K5ZONLkv.js";
4
4
  export {
5
5
  p as AiChatTranslationsProvider,
6
6
  t as ChatSpinner,
@@ -472,12 +472,11 @@ declare type AiChatProviderProps = {
472
472
  */
473
473
  VoiceMode?: React.ComponentType;
474
474
  /**
475
- * Async resolver functions for entity references in markdown.
476
- * Used to fetch profile data for inline entity mentions (hover cards).
477
- * The consuming app provides these so the chat can resolve entity IDs
478
- * (e.g. employee IDs) into rich profile data without knowing the API.
475
+ * Configuration for entity references in markdown.
476
+ * Groups resolver functions (data fetching for hover cards) and
477
+ * URL builders (navigation links) for each entity type.
479
478
  */
480
- entityResolvers?: EntityResolvers;
479
+ entityRefs?: EntityRefs;
481
480
  /**
482
481
  * Available tool hints that the user can activate to provide intent context
483
482
  * to the AI. Renders a selector button next to the send button.
@@ -1265,6 +1264,18 @@ declare interface CalloutSkeletonProps {
1265
1264
 
1266
1265
  declare type CalloutVariant = (typeof variants)[number];
1267
1266
 
1267
+ /**
1268
+ * Profile data for a candidate entity (ATS applicant), resolved asynchronously
1269
+ * and displayed in the entity reference hover card.
1270
+ */
1271
+ declare type CandidateProfile = {
1272
+ id: string | number;
1273
+ firstName: string;
1274
+ lastName: string;
1275
+ avatarUrl?: string;
1276
+ source?: string;
1277
+ };
1278
+
1268
1279
  declare type CardAvatarVariant = AvatarVariant | {
1269
1280
  type: "emoji";
1270
1281
  emoji: string;
@@ -2672,7 +2683,7 @@ declare const defaultTranslations: {
2672
2683
  readonly unpinChat: "Unpin chat";
2673
2684
  readonly deleteChat: "Delete chat";
2674
2685
  readonly ask: "Ask One";
2675
- readonly viewProfile: "View profile";
2686
+ readonly view: "View";
2676
2687
  readonly tools: "Tools";
2677
2688
  readonly credits: {
2678
2689
  readonly title: "Credits";
@@ -3168,6 +3179,15 @@ export declare type enhanceTextParams = {
3168
3179
 
3169
3180
  export declare type EntityId = number | string;
3170
3181
 
3182
+ /**
3183
+ * Grouped configuration for entity references in the AI chat.
3184
+ * Combines resolver functions (data fetching) with URL builders (navigation).
3185
+ */
3186
+ declare type EntityRefs = {
3187
+ resolvers?: EntityResolvers;
3188
+ urls?: EntityUrlBuilders;
3189
+ };
3190
+
3171
3191
  /**
3172
3192
  * Map of async resolver functions keyed by entity type.
3173
3193
  * Each resolver takes an entity ID and returns the profile data
@@ -3177,6 +3197,8 @@ export declare type EntityId = number | string;
3177
3197
  */
3178
3198
  declare type EntityResolvers = {
3179
3199
  person?: (id: string) => Promise<PersonProfile>;
3200
+ candidate?: (id: string) => Promise<CandidateProfile>;
3201
+ jobPosting?: (id: string) => Promise<JobPostingProfile>;
3180
3202
  /**
3181
3203
  * Search for persons by name query. Used by the @mention autocomplete
3182
3204
  * in the chat input to let users reference specific employees.
@@ -3252,6 +3274,19 @@ export declare type EntitySelectSubEntity = {
3252
3274
  subDeactivated?: boolean;
3253
3275
  };
3254
3276
 
3277
+ /**
3278
+ * Map of URL builder functions keyed by entity type.
3279
+ * Each builder takes an entity ID and returns the URL to navigate to.
3280
+ *
3281
+ * When a URL builder is not provided for an entity type, the hover card
3282
+ * will not show a navigation action.
3283
+ */
3284
+ declare type EntityUrlBuilders = {
3285
+ person?: (id: string) => string;
3286
+ candidate?: (id: string) => string;
3287
+ jobPosting?: (id: string) => string;
3288
+ };
3289
+
3255
3290
  declare type Enumerate<N extends number, Acc extends number[] = []> = Acc["length"] extends N ? [...Acc, N][number] : Enumerate<N, [...Acc, Acc["length"]]>;
3256
3291
 
3257
3292
  declare interface ErrorMessageProps {
@@ -4410,6 +4445,17 @@ declare type ItemDefinition = {
4410
4445
 
4411
4446
  export declare function ItemSectionHeader({ item, children, isActive, collapsible, isExpanded, onToggleExpanded, sortable, hideChildrenCounter, canDropInside, onDragOver, onDragLeave, onDrop, currentParentId, draggedItemId, }: TOCItemSectionHeaderProps): JSX_2.Element;
4412
4447
 
4448
+ /**
4449
+ * Profile data for a job posting entity (ATS opening), resolved asynchronously
4450
+ * and displayed in the entity reference hover card.
4451
+ */
4452
+ declare type JobPostingProfile = {
4453
+ id: string | number;
4454
+ title: string;
4455
+ status?: string;
4456
+ location?: string;
4457
+ };
4458
+
4413
4459
  declare type Join<T extends string[], D extends string> = T extends [] ? never : T extends [infer F] ? F : T extends [infer F, ...infer R] ? F extends string ? `${F}${D}${Join<Extract<R, string[]>, D>}` : never : string;
4414
4460
 
4415
4461
  declare type KanbanCollectionProps<Record extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<Record>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<Record>> = CollectionProps<Record, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, KanbanVisualizationOptions<Record, Filters, Sortings>>;
@@ -7288,11 +7334,6 @@ declare module "gridstack" {
7288
7334
  }
7289
7335
 
7290
7336
 
7291
- declare namespace Calendar {
7292
- var displayName: string;
7293
- }
7294
-
7295
-
7296
7337
  declare module "@tiptap/core" {
7297
7338
  interface Commands<ReturnType> {
7298
7339
  aiBlock: {
@@ -7340,3 +7381,8 @@ declare module "@tiptap/core" {
7340
7381
  };
7341
7382
  }
7342
7383
  }
7384
+
7385
+
7386
+ declare namespace Calendar {
7387
+ var displayName: string;
7388
+ }
@@ -1,10 +1,10 @@
1
- import { cI as Sf, a7 as _r, b7 as Nf, a6 as If, cJ as Af, cK as _f, a1 as Ef, cL as Eo, cM as er, cN as Tf, cO as Ls, cP as Ui, cQ as Er, K as k, R as Z, L as it, u as ge, cR as Df, cS as Rf, cT as Lf, cU as Of, cV as Mf, ak as Oe, cW as Ff, a0 as jt, cX as Pf, b8 as zf, _ as H, be as $f, bf as Bf, U as Ht, cY as ka, bn as jf, bh as Hf, M as B, cZ as Os, Z as E, c_ as st, c$ as Vf, d0 as Wf, bi as Uf, ay as Gf, bk as Kf, aH as Vt, d1 as Ca, d2 as qf, d3 as Tt, a_ as Sn, aA as Ms, aB as un, k as Sa, a4 as gt, d4 as Na, d5 as Yf, d6 as To, d7 as rn, d8 as Fs, d9 as Hn, da as Tr, db as Jf, dc as Ia, dd as Xf, de as Ps, df as Nn, dg as Le, dh as Zf, di as Qf, dj as Ct, dk as yi, dl as eh, dm as kn, dn as qt, dp as th, P as de, dq as nh, dr as rh, ds as ih, dt as sh, du as oh, W as Je, Y as ue, dv as zs, aW as Vn, cF as Qr, dw as Aa, dx as $s, dy as lh, dz as ah, dA as ch, dB as dh, dC as uh, dD as fh, dE as hh, dF as ph, dG as mh, bb as gh, dH as bh, b9 as wh, dI as xh, dJ as yh, dK as vh, dL as kh, dM as Ch, dN as Sh, dO as Nh, dP as Ih, c3 as rt, dQ as _a, dR as Ah, a3 as V, N as Ea, dS as Ta, dT as _h, b2 as Bs, a8 as Do, a9 as Ro, as as Eh, dU as Th, dV as Dh, am as fn, dW as Rh, dX as Lh, dY as Oh, dZ as Mh, aR as ei, d_ as Da, d$ as Ra, c5 as La, e0 as Fh, aK as Dr, e1 as Ph, e2 as zh, e3 as $h, e4 as Bh, e5 as jh, ai as Hh, aj as Vh, al as Wh, e6 as Oa, e7 as Uh, e8 as Gh, ax as Rr, e9 as Jt, ea as Kh, eb as Ma, ec as js, ed as qh, ee as Yh, ef as Fa, eg as Gi, c0 as Ki, eh as Pa, ei as Jh, ej as Xh, cE as ti, bE as za, cH as Zh, cG as Qh, ek as ep, bF as sn, el as tp, aO as tr, em as Lo, en as qi, eo as np, bs as rp, ep as ip, b_ as $a, c4 as sp, cg as Ba, ce as Hs, ae as op, ch as lp, c1 as Vs, av as ja, a as ap, c as cp, bW as dp, eq as Ha, er as up, es as fp, F as hp, et as Va, eu as Wa, ev as pp, bx as Oo, ew as mp, ex as gp, bY as bp, bv as Ua, by as wp, ey as xp, ez as yp, eA as vp, eB as kp, bZ as Ga, $ as Cp, Q as ot, bK as Ws, eC as Us, eD as Gs, eE as Ka, bL as Ks, eF as qa, eG as Sp, eH as Np, eI as Ip, eJ as Ap, eK as _p, bM as Ep, eL as Tp, b$ as Dp, eM as Rp, eN as Mo, eO as Fo, eP as Po, b0 as Lp, eQ as Op, eR as Mp, bd as Fp, eS as Ya, bD as Pp, eT as zp, eU as $p } from "./F0AiChat-DRUcCTJI.js";
2
- import { eY as fA, eX as hA, eV as pA, aE as mA, eW as gA, aJ as bA, f4 as wA, f5 as xA, f7 as yA, fe as vA, ff as kA, aL as CA, e_ as SA, eZ as NA, f6 as IA, f9 as AA, fa as _A, f3 as EA, f0 as TA, f2 as DA, e$ as RA, c2 as LA, f1 as OA, fb as MA, fc as FA, f8 as PA, fd as zA } from "./F0AiChat-DRUcCTJI.js";
1
+ import { cI as Sf, a7 as _r, b7 as Nf, a6 as If, cJ as Af, cK as _f, a1 as Ef, cL as Eo, cM as er, cN as Tf, cO as Ls, cP as Ui, cQ as Er, K as k, R as Z, L as it, u as ge, cR as Df, cS as Rf, cT as Lf, cU as Of, cV as Mf, ak as Oe, cW as Ff, a0 as jt, cX as Pf, b8 as zf, _ as H, be as $f, bf as Bf, U as Ht, cY as ka, bn as jf, bh as Hf, M as B, cZ as Os, Z as E, c_ as st, c$ as Vf, d0 as Wf, bi as Uf, ay as Gf, bk as Kf, aH as Vt, d1 as Ca, d2 as qf, d3 as Tt, a_ as Sn, aA as Ms, aB as un, k as Sa, a4 as gt, d4 as Na, d5 as Yf, d6 as To, d7 as rn, d8 as Fs, d9 as Hn, da as Tr, db as Jf, dc as Ia, dd as Xf, de as Ps, df as Nn, dg as Le, dh as Zf, di as Qf, dj as Ct, dk as yi, dl as eh, dm as kn, dn as qt, dp as th, P as de, dq as nh, dr as rh, ds as ih, dt as sh, du as oh, W as Je, Y as ue, dv as zs, aW as Vn, cF as Qr, dw as Aa, dx as $s, dy as lh, dz as ah, dA as ch, dB as dh, dC as uh, dD as fh, dE as hh, dF as ph, dG as mh, bb as gh, dH as bh, b9 as wh, dI as xh, dJ as yh, dK as vh, dL as kh, dM as Ch, dN as Sh, dO as Nh, dP as Ih, c3 as rt, dQ as _a, dR as Ah, a3 as V, N as Ea, dS as Ta, dT as _h, b2 as Bs, a8 as Do, a9 as Ro, as as Eh, dU as Th, dV as Dh, am as fn, dW as Rh, dX as Lh, dY as Oh, dZ as Mh, aR as ei, d_ as Da, d$ as Ra, c5 as La, e0 as Fh, aK as Dr, e1 as Ph, e2 as zh, e3 as $h, e4 as Bh, e5 as jh, ai as Hh, aj as Vh, al as Wh, e6 as Oa, e7 as Uh, e8 as Gh, ax as Rr, e9 as Jt, ea as Kh, eb as Ma, ec as js, ed as qh, ee as Yh, ef as Fa, eg as Gi, c0 as Ki, eh as Pa, ei as Jh, ej as Xh, cE as ti, bE as za, cH as Zh, cG as Qh, ek as ep, bF as sn, el as tp, aO as tr, em as Lo, en as qi, eo as np, bs as rp, ep as ip, b_ as $a, c4 as sp, cg as Ba, ce as Hs, ae as op, ch as lp, c1 as Vs, av as ja, a as ap, c as cp, bW as dp, eq as Ha, er as up, es as fp, F as hp, et as Va, eu as Wa, ev as pp, bx as Oo, ew as mp, ex as gp, bY as bp, bv as Ua, by as wp, ey as xp, ez as yp, eA as vp, eB as kp, bZ as Ga, $ as Cp, Q as ot, bK as Ws, eC as Us, eD as Gs, eE as Ka, bL as Ks, eF as qa, eG as Sp, eH as Np, eI as Ip, eJ as Ap, eK as _p, bM as Ep, eL as Tp, b$ as Dp, eM as Rp, eN as Mo, eO as Fo, eP as Po, b0 as Lp, eQ as Op, eR as Mp, bd as Fp, eS as Ya, bD as Pp, eT as zp, eU as $p } from "./F0AiChat-C6Swk3kV.js";
2
+ import { eY as fA, eX as hA, eV as pA, aE as mA, eW as gA, aJ as bA, f4 as wA, f5 as xA, f7 as yA, fe as vA, ff as kA, aL as CA, e_ as SA, eZ as NA, f6 as IA, f9 as AA, fa as _A, f3 as EA, f0 as TA, f2 as DA, e$ as RA, c2 as LA, f1 as OA, fb as MA, fc as FA, f8 as PA, fd as zA } from "./F0AiChat-C6Swk3kV.js";
3
3
  import { jsx as c, jsxs as g, Fragment as re } from "react/jsx-runtime";
4
4
  import * as pe from "react";
5
5
  import z, { PureComponent as Bp, forwardRef as F, useRef as q, useTransition as jp, useState as L, useLayoutEffect as Ja, useContext as qs, createContext as Ys, useCallback as X, useMemo as te, useEffect as U, useId as Xa, useImperativeHandle as Za, memo as Qa, Fragment as Hp, isValidElement as Vp, cloneElement as ec, Children as tc } from "react";
6
- import { f as Xt, ac as In, e as nr, ad as Wp, L as vi, ae as Up, A as Gp, i as rr, k as Kp, G as qp, g as zo, af as Yp, j as $o, n as Jp, ag as nc, ah as rc, ai as Xp, C as Zp, aa as Qp, aj as He, ak as lt, al as Te, am as em, an as gr, ao as Ge, ap as ic, aq as Fe, ar as Js, as as Be, at as Bo, au as tm, av as sc, aw as Ae, ax as ze, ay as An, az as Lr, aA as oc, aB as nm, aC as Wt, aD as rm, aE as im, aF as sm, aG as Wn, aH as Un, aI as Xs, aJ as om, aK as lc, aL as ac, aM as cc, aN as lm, aO as dc, aP as uc, aQ as fc, aR as hc, aS as pc, aT as mc, a3 as jo, aU as am, aV as Ho, aW as cm, aX as dm, aY as um, w as fm, x as hm, z as pm, J as mm, K as gm, s as bm, aZ as gc, a_ as wm, a$ as xm, b0 as ym, b1 as bc, a7 as Yi, b2 as vm, b3 as km, b4 as Cm, b5 as Sm, b6 as Nm, b7 as Im, b8 as Am, $ as _m, b9 as Em, ba as Tm, bb as Dm, bc as Rm, ab as wc, M as Lm, N as Om, P as Mm, Q as Fm, V as Pm, O as zm, bd as Vo, be as $m, bf as Bm, l as jm } from "./index-CCcCCEfU.js";
7
- import { a5 as BA, W as jA, a0 as HA, R as VA, _ as WA, bk as UA, bj as GA, bh as KA, bi as qA, a4 as YA, T as JA, Z as XA, U as ZA, bg as QA, a8 as e_, a9 as t_ } from "./index-CCcCCEfU.js";
6
+ import { f as Xt, ac as In, e as nr, ad as Wp, L as vi, ae as Up, A as Gp, i as rr, k as Kp, G as qp, g as zo, af as Yp, j as $o, n as Jp, ag as nc, ah as rc, ai as Xp, C as Zp, aa as Qp, aj as He, ak as lt, al as Te, am as em, an as gr, ao as Ge, ap as ic, aq as Fe, ar as Js, as as Be, at as Bo, au as tm, av as sc, aw as Ae, ax as ze, ay as An, az as Lr, aA as oc, aB as nm, aC as Wt, aD as rm, aE as im, aF as sm, aG as Wn, aH as Un, aI as Xs, aJ as om, aK as lc, aL as ac, aM as cc, aN as lm, aO as dc, aP as uc, aQ as fc, aR as hc, aS as pc, aT as mc, a3 as jo, aU as am, aV as Ho, aW as cm, aX as dm, aY as um, w as fm, x as hm, z as pm, J as mm, K as gm, s as bm, aZ as gc, a_ as wm, a$ as xm, b0 as ym, b1 as bc, a7 as Yi, b2 as vm, b3 as km, b4 as Cm, b5 as Sm, b6 as Nm, b7 as Im, b8 as Am, $ as _m, b9 as Em, ba as Tm, bb as Dm, bc as Rm, ab as wc, M as Lm, N as Om, P as Mm, Q as Fm, V as Pm, O as zm, bd as Vo, be as $m, bf as Bm, l as jm } from "./index-DNRZaDau.js";
7
+ import { a5 as BA, W as jA, a0 as HA, R as VA, _ as WA, bk as UA, bj as GA, bh as KA, bi as qA, a4 as YA, T as JA, Z as XA, U as ZA, bg as QA, a8 as e_, a9 as t_ } from "./index-DNRZaDau.js";
8
8
  import './experimental.css';const Hm = Sf("Search", [
9
9
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
10
10
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
package/dist/f0.d.ts CHANGED
@@ -378,12 +378,11 @@ export declare type AiChatProviderProps = {
378
378
  */
379
379
  VoiceMode?: React.ComponentType;
380
380
  /**
381
- * Async resolver functions for entity references in markdown.
382
- * Used to fetch profile data for inline entity mentions (hover cards).
383
- * The consuming app provides these so the chat can resolve entity IDs
384
- * (e.g. employee IDs) into rich profile data without knowing the API.
381
+ * Configuration for entity references in markdown.
382
+ * Groups resolver functions (data fetching for hover cards) and
383
+ * URL builders (navigation links) for each entity type.
385
384
  */
386
- entityResolvers?: EntityResolvers;
385
+ entityRefs?: EntityRefs;
387
386
  /**
388
387
  * Available tool hints that the user can activate to provide intent context
389
388
  * to the AI. Renders a selector button next to the send button.
@@ -504,7 +503,7 @@ declare type AiChatProviderReturnValue = {
504
503
  inProgress: boolean;
505
504
  /** Set the in-progress state (synced from CopilotKit's isLoading) */
506
505
  setInProgress: (value: boolean) => void;
507
- } & Pick<AiChatState, "greeting" | "agent" | "disclaimer" | "resizable" | "entityResolvers" | "toolHints" | "credits"> & {
506
+ } & Pick<AiChatState, "greeting" | "agent" | "disclaimer" | "resizable" | "entityRefs" | "toolHints" | "credits"> & {
508
507
  /** The current canvas content, or null when canvas is closed */
509
508
  canvasContent: CanvasContent | null;
510
509
  /** Open the canvas panel with the given content */
@@ -533,7 +532,7 @@ declare interface AiChatState {
533
532
  historyEnabled?: boolean;
534
533
  footer?: React.ReactNode;
535
534
  VoiceMode?: React.ComponentType;
536
- entityResolvers?: EntityResolvers;
535
+ entityRefs?: EntityRefs;
537
536
  toolHints?: AiChatToolHint[];
538
537
  credits?: AiChatCredits;
539
538
  placeholders?: string[];
@@ -652,7 +651,7 @@ export declare const aiTranslations: {
652
651
  readonly unpinChat: "Unpin chat";
653
652
  readonly deleteChat: "Delete chat";
654
653
  readonly ask: "Ask One";
655
- readonly viewProfile: "View profile";
654
+ readonly view: "View";
656
655
  readonly tools: "Tools";
657
656
  readonly credits: {
658
657
  readonly title: "Credits";
@@ -1419,6 +1418,18 @@ declare type CalendarMode = "single" | "range";
1419
1418
 
1420
1419
  declare type CalendarView = "day" | "month" | "year" | "week" | "quarter" | "halfyear";
1421
1420
 
1421
+ /**
1422
+ * Profile data for a candidate entity (ATS applicant), resolved asynchronously
1423
+ * and displayed in the entity reference hover card.
1424
+ */
1425
+ declare type CandidateProfile = {
1426
+ id: string | number;
1427
+ firstName: string;
1428
+ lastName: string;
1429
+ avatarUrl?: string;
1430
+ source?: string;
1431
+ };
1432
+
1422
1433
  /**
1423
1434
  * Discriminated union for canvas panel content.
1424
1435
  * Add new entity types to this union as they are implemented.
@@ -3217,7 +3228,7 @@ export declare const defaultTranslations: {
3217
3228
  readonly unpinChat: "Unpin chat";
3218
3229
  readonly deleteChat: "Delete chat";
3219
3230
  readonly ask: "Ask One";
3220
- readonly viewProfile: "View profile";
3231
+ readonly view: "View";
3221
3232
  readonly tools: "Tools";
3222
3233
  readonly credits: {
3223
3234
  readonly title: "Credits";
@@ -3753,6 +3764,15 @@ declare const emojiVariants: (props?: ({
3753
3764
  className?: ClassValue;
3754
3765
  })) | undefined) => string;
3755
3766
 
3767
+ /**
3768
+ * Grouped configuration for entity references in the AI chat.
3769
+ * Combines resolver functions (data fetching) with URL builders (navigation).
3770
+ */
3771
+ export declare type EntityRefs = {
3772
+ resolvers?: EntityResolvers;
3773
+ urls?: EntityUrlBuilders;
3774
+ };
3775
+
3756
3776
  /**
3757
3777
  * Map of async resolver functions keyed by entity type.
3758
3778
  * Each resolver takes an entity ID and returns the profile data
@@ -3762,6 +3782,8 @@ declare const emojiVariants: (props?: ({
3762
3782
  */
3763
3783
  export declare type EntityResolvers = {
3764
3784
  person?: (id: string) => Promise<PersonProfile>;
3785
+ candidate?: (id: string) => Promise<CandidateProfile>;
3786
+ jobPosting?: (id: string) => Promise<JobPostingProfile>;
3765
3787
  /**
3766
3788
  * Search for persons by name query. Used by the @mention autocomplete
3767
3789
  * in the chat input to let users reference specific employees.
@@ -3769,6 +3791,19 @@ export declare type EntityResolvers = {
3769
3791
  searchPersons?: (query: string) => Promise<PersonProfile[]>;
3770
3792
  };
3771
3793
 
3794
+ /**
3795
+ * Map of URL builder functions keyed by entity type.
3796
+ * Each builder takes an entity ID and returns the URL to navigate to.
3797
+ *
3798
+ * When a URL builder is not provided for an entity type, the hover card
3799
+ * will not show a navigation action.
3800
+ */
3801
+ export declare type EntityUrlBuilders = {
3802
+ person?: (id: string) => string;
3803
+ candidate?: (id: string) => string;
3804
+ jobPosting?: (id: string) => string;
3805
+ };
3806
+
3772
3807
  declare type Enumerate<N extends number, Acc extends number[] = []> = Acc["length"] extends N ? [...Acc, N][number] : Enumerate<N, [...Acc, Acc["length"]]>;
3773
3808
 
3774
3809
  export declare interface ErrorMessageProps {
@@ -3867,7 +3902,7 @@ export declare const F0AiChat: () => JSX_2.Element | null;
3867
3902
  /**
3868
3903
  * @experimental This is an experimental component use it at your own risk
3869
3904
  */
3870
- export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityResolvers, toolHints, credits, onThumbsUp, onThumbsDown, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
3905
+ export declare const F0AiChatProvider: ({ enabled, greeting, initialMessage, welcomeScreenSuggestions, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityRefs, toolHints, credits, onThumbsUp, onThumbsDown, children, agent, tracking, ...copilotKitProps }: AiChatProviderProps) => JSX_2.Element;
3871
3906
 
3872
3907
  export declare const F0AiChatTextArea: ({ submitLabel, inProgress, onSend, onStop, creditWarning, onDismissCreditWarning, onGetCredits, }: ChatTextareaProps) => JSX_2.Element;
3873
3908
 
@@ -7664,6 +7699,17 @@ declare type ItemDefinition = {
7664
7699
  avatar?: AvatarVariant;
7665
7700
  };
7666
7701
 
7702
+ /**
7703
+ * Profile data for a job posting entity (ATS opening), resolved asynchronously
7704
+ * and displayed in the entity reference hover card.
7705
+ */
7706
+ declare type JobPostingProfile = {
7707
+ id: string | number;
7708
+ title: string;
7709
+ status?: string;
7710
+ location?: string;
7711
+ };
7712
+
7667
7713
  declare type Join<T extends string[], D extends string> = T extends [] ? never : T extends [infer F] ? F : T extends [infer F, ...infer R] ? F extends string ? `${F}${D}${Join<Extract<R, string[]>, D>}` : never : string;
7668
7714
 
7669
7715
  /** Flex justify content */
@@ -10898,11 +10944,6 @@ declare module "gridstack" {
10898
10944
  }
10899
10945
 
10900
10946
 
10901
- declare namespace Calendar {
10902
- var displayName: string;
10903
- }
10904
-
10905
-
10906
10947
  declare module "@tiptap/core" {
10907
10948
  interface Commands<ReturnType> {
10908
10949
  aiBlock: {
@@ -10950,3 +10991,8 @@ declare module "@tiptap/core" {
10950
10991
  };
10951
10992
  }
10952
10993
  }
10994
+
10995
+
10996
+ declare namespace Calendar {
10997
+ var displayName: string;
10998
+ }
package/dist/f0.js CHANGED
@@ -1,12 +1,12 @@
1
- import { O as jo, P as xe, Q as yt, K as U, L as sn, R as nr, T as Vo, U as wa, W as pi, X as Wu, Y as $o, Z as je, u as De, _ as Le, $ as ur, a0 as Uu, a1 as Ku, a2 as Tr, a3 as ut, a4 as Sa, a5 as Qu, a6 as Hu, a7 as Gu, a8 as qn, a9 as Ns, aa as Xu, ab as Yu, ac as Ju, ad as gi, ae as ed, af as td, ag as zo, ah as nd, ai as _a, aj as ka, ak as rs, al as Ca, am as Zo, an as Or, ao as qo, ap as rd, aq as sd, ar as ad, as as id, at as Na, au as vi, av as od, aw as ld, ax as cd, ay as Wo, az as ud, M as Me, aA as dd, aB as Er, aC as rr, aD as Uo, aE as Da, aF as fd, aG as md, aH as dr, aI as Aa, aJ as Ko, aK as xn, aL as Qo, aM as hd, aN as Fa, aO as pd, aP as Ho, aQ as Go, N as kt, aR as gd, aS as Gs, aT as Xo, aU as vd, aV as Yo, aW as Sn, aX as Jo, aY as bd, aZ as yd, a_ as el, a$ as xd, b0 as wd, b1 as Sd, b2 as ss, b3 as _d, b4 as kd, b5 as Cd, b6 as Nd, j as Dd, b7 as Ad, b8 as tl, b9 as mn, ba as nl, bb as rl, bc as Ir, bd as sl, be as Ta, bf as Oa, bg as Ea, bh as Ia, bi as dt, bj as Ra, bk as _n, bl as Wn, bm as Un, bn as Kn, bo as Qn, bp as Fd, bq as br, br as al, bs as Rr, bt as ot, bu as il, bv as as, bw as ol, bx as Pa, by as La, bz as Td, bA as Od, bB as Ed, bC as Id, bD as Rd, bE as ll, bF as Pd, bG as Ld, bH as Md, bI as Bd, bJ as cl, bK as jd, bL as Vd, bM as $d, bN as ul, bO as zd, bP as Zd, bQ as qd, bR as Wd, I as Ud, bS as Kd, bT as Qd, bU as Hd, bV as Gd, bW as Xd, bX as Yd } from "./F0AiChat-DRUcCTJI.js";
2
- import { cl as r0, i as s0, cx as a0, cF as i0, h as o0, F as l0, a as c0, C as u0, b as d0, bY as f0, bZ as m0, b_ as h0, b$ as p0, c0 as g0, c1 as v0, c3 as b0, c4 as y0, c5 as x0, c6 as w0, ca as S0, cb as _0, cB as k0, k as C0, ce as N0, cf as D0, cg as A0, ch as F0, cj as T0, ck as O0, cm as E0, cd as I0, ci as R0, cC as P0, c7 as L0, c8 as M0, c9 as B0, cw as j0, cr as V0, cu as $0, g as z0, cq as Z0, cG as q0, cp as W0, co as U0, c2 as K0, c as Q0, cn as H0, cs as G0, d as X0, cy as Y0, cz as J0, cA as e1, cH as t1, cc as n1, ct as r1, f as s1, e as a1, cE as i1, cv as o1, cD as l1 } from "./F0AiChat-DRUcCTJI.js";
1
+ import { O as jo, P as xe, Q as yt, K as U, L as sn, R as nr, T as Vo, U as wa, W as pi, X as Wu, Y as $o, Z as je, u as De, _ as Le, $ as ur, a0 as Uu, a1 as Ku, a2 as Tr, a3 as ut, a4 as Sa, a5 as Qu, a6 as Hu, a7 as Gu, a8 as qn, a9 as Ns, aa as Xu, ab as Yu, ac as Ju, ad as gi, ae as ed, af as td, ag as zo, ah as nd, ai as _a, aj as ka, ak as rs, al as Ca, am as Zo, an as Or, ao as qo, ap as rd, aq as sd, ar as ad, as as id, at as Na, au as vi, av as od, aw as ld, ax as cd, ay as Wo, az as ud, M as Me, aA as dd, aB as Er, aC as rr, aD as Uo, aE as Da, aF as fd, aG as md, aH as dr, aI as Aa, aJ as Ko, aK as xn, aL as Qo, aM as hd, aN as Fa, aO as pd, aP as Ho, aQ as Go, N as kt, aR as gd, aS as Gs, aT as Xo, aU as vd, aV as Yo, aW as Sn, aX as Jo, aY as bd, aZ as yd, a_ as el, a$ as xd, b0 as wd, b1 as Sd, b2 as ss, b3 as _d, b4 as kd, b5 as Cd, b6 as Nd, j as Dd, b7 as Ad, b8 as tl, b9 as mn, ba as nl, bb as rl, bc as Ir, bd as sl, be as Ta, bf as Oa, bg as Ea, bh as Ia, bi as dt, bj as Ra, bk as _n, bl as Wn, bm as Un, bn as Kn, bo as Qn, bp as Fd, bq as br, br as al, bs as Rr, bt as ot, bu as il, bv as as, bw as ol, bx as Pa, by as La, bz as Td, bA as Od, bB as Ed, bC as Id, bD as Rd, bE as ll, bF as Pd, bG as Ld, bH as Md, bI as Bd, bJ as cl, bK as jd, bL as Vd, bM as $d, bN as ul, bO as zd, bP as Zd, bQ as qd, bR as Wd, I as Ud, bS as Kd, bT as Qd, bU as Hd, bV as Gd, bW as Xd, bX as Yd } from "./F0AiChat-C6Swk3kV.js";
2
+ import { cl as r0, i as s0, cx as a0, cF as i0, h as o0, F as l0, a as c0, C as u0, b as d0, bY as f0, bZ as m0, b_ as h0, b$ as p0, c0 as g0, c1 as v0, c3 as b0, c4 as y0, c5 as x0, c6 as w0, ca as S0, cb as _0, cB as k0, k as C0, ce as N0, cf as D0, cg as A0, ch as F0, cj as T0, ck as O0, cm as E0, cd as I0, ci as R0, cC as P0, c7 as L0, c8 as M0, c9 as B0, cw as j0, cr as V0, cu as $0, g as z0, cq as Z0, cG as q0, cp as W0, co as U0, c2 as K0, c as Q0, cn as H0, cs as G0, d as X0, cy as Y0, cz as J0, cA as e1, cH as t1, cc as n1, ct as r1, f as s1, e as a1, cE as i1, cv as o1, cD as l1 } from "./F0AiChat-C6Swk3kV.js";
3
3
  import { jsx as c, jsxs as N, Fragment as He } from "react/jsx-runtime";
4
4
  import * as Ct from "react";
5
5
  import Y, { forwardRef as st, useRef as K, useImperativeHandle as Jd, Children as Pr, useCallback as P, useMemo as z, useState as te, useEffect as le, createElement as yr, isValidElement as dl, Fragment as fl, useLayoutEffect as ef, createContext as It, memo as ml, useReducer as tf, useContext as nt, cloneElement as nf, PureComponent as rf, useId as Ma } from "react";
6
6
  import { unstable_batchedUpdates as xr, createPortal as sf, flushSync as af } from "react-dom";
7
- import { C as of, S as bi, a as lf, f as Ds, L as Bn, b as cf, A as uf, i as wr, c as hl, E as df, g as Nr, d as ff, e as mf, h as hf, j as bn, k as pl, u as pf, G as gf, l as vf, m as yi, r as bf, n as yf, o as gl, p as xf, B as vl, X as bl, Y as Xs, q as wf, s as yl, t as Sf, v as _f, w as kf, x as Cf, y as Nf, z as Df, D as Af, F as Ff, H as xi, I as Tf, J as Of, K as Ef, M as If, N as Rf, O as Pf, P as Lf, Q as Mf, V as Bf, R as Ys, T as jf, U as Vf, W as $f, Z as xl, _ as Ba, $ as wl, a0 as zf, a1 as Zf, a2 as qf, a3 as Wf, a4 as Uf, a5 as Kf, a6 as Qf } from "./index-CCcCCEfU.js";
8
- import { a7 as u1, aa as d1, a8 as f1, a9 as m1, ab as h1 } from "./index-CCcCCEfU.js";
9
- import { A as g1, F as v1, c as b1, d as y1, b as x1, a as w1, o as S1, u as _1 } from "./F0HILActionConfirmation-ot92kVFT.js";
7
+ import { C as of, S as bi, a as lf, f as Ds, L as Bn, b as cf, A as uf, i as wr, c as hl, E as df, g as Nr, d as ff, e as mf, h as hf, j as bn, k as pl, u as pf, G as gf, l as vf, m as yi, r as bf, n as yf, o as gl, p as xf, B as vl, X as bl, Y as Xs, q as wf, s as yl, t as Sf, v as _f, w as kf, x as Cf, y as Nf, z as Df, D as Af, F as Ff, H as xi, I as Tf, J as Of, K as Ef, M as If, N as Rf, O as Pf, P as Lf, Q as Mf, V as Bf, R as Ys, T as jf, U as Vf, W as $f, Z as xl, _ as Ba, $ as wl, a0 as zf, a1 as Zf, a2 as qf, a3 as Wf, a4 as Uf, a5 as Kf, a6 as Qf } from "./index-DNRZaDau.js";
8
+ import { a7 as u1, aa as d1, a8 as f1, a9 as m1, ab as h1 } from "./index-DNRZaDau.js";
9
+ import { A as g1, F as v1, c as b1, d as y1, b as x1, a as w1, o as S1, u as _1 } from "./F0HILActionConfirmation-K5ZONLkv.js";
10
10
  import { defaultTranslations as C1 } from "./i18n-provider-defaults.js";
11
11
  const Hf = {
12
12
  xs: 1,
@@ -408,7 +408,7 @@ export declare const defaultTranslations: {
408
408
  readonly unpinChat: "Unpin chat";
409
409
  readonly deleteChat: "Delete chat";
410
410
  readonly ask: "Ask One";
411
- readonly viewProfile: "View profile";
411
+ readonly view: "View";
412
412
  readonly tools: "Tools";
413
413
  readonly credits: {
414
414
  readonly title: "Credits";
@@ -737,11 +737,6 @@ declare module "gridstack" {
737
737
  }
738
738
 
739
739
 
740
- declare namespace Calendar {
741
- var displayName: string;
742
- }
743
-
744
-
745
740
  declare module "@tiptap/core" {
746
741
  interface Commands<ReturnType> {
747
742
  aiBlock: {
@@ -789,3 +784,8 @@ declare module "@tiptap/core" {
789
784
  };
790
785
  }
791
786
  }
787
+
788
+
789
+ declare namespace Calendar {
790
+ var displayName: string;
791
+ }
@@ -408,7 +408,7 @@ const e = {
408
408
  unpinChat: "Unpin chat",
409
409
  deleteChat: "Delete chat",
410
410
  ask: "Ask One",
411
- viewProfile: "View profile",
411
+ view: "View",
412
412
  tools: "Tools",
413
413
  credits: {
414
414
  title: "Credits",
@@ -1,7 +1,7 @@
1
1
  import { jsxs as H, jsx as _, Fragment as Ct } from "react/jsx-runtime";
2
2
  import * as Ie from "react";
3
3
  import P, { useRef as Ne, useState as ye, useCallback as xt, useEffect as nt, useLayoutEffect as cg, isValidElement as Zn, Children as ca, PureComponent as qn, forwardRef as Hn, useImperativeHandle as _d, useMemo as vi, cloneElement as bt, createElement as ug, useContext as Wn, createContext as Ai, Component as L6, useId as B6, Fragment as df, useDebugValue as F6, createRef as ZC, memo as z6, version as vb } from "react";
4
- import { U as wi, d2 as QC, K as fe, cZ as q6, aT as eT, aS as tT, L as H6, P as Ci, a3 as Na, fg as eo, fh as nT, fi as iT, fj as rT, fk as gb, fl as bb, fm as xb, fn as kb, fo as wb, fp as W6, fq as vc, fr as aT, fs as oT, ft as sT, dQ as hf, fu as pl, fv as ml, fw as ai, fx as fT, fy as V6, b7 as Ye, fz as lT, fA as ts, a7 as Ee, fB as cT, fC as U6, fD as dg, fE as K6, fF as G6, fG as uT, fH as dT, fI as Y6, fJ as hT, fK as pT, fL as mT, fM as Sd, fN as yT, fO as vT, fP as gT, fQ as bT, a6 as _a, fR as xT, fS as kT, dq as wT, a8 as Qn, a9 as ei, cR as _T, cS as ST, cT as OT, cW as ET, fT as X6, _ as Gt, bE as AT, M as Le, aH as yl, aq as CT, e$ as Ut, be as TT, bf as MT, a2 as hg, bh as PT, bk as DT, bp as NT, bq as _b, bi as Sb, aL as J6, bl as $T, bm as IT, bn as RT, bo as jT, N as Od, u as Ti, aB as Z6, a0 as gn, R as it, $ as LT, W as Q6, aR as BT, ak as pg, cz as FT, fU as e5, fV as Ob, fW as zT, cE as qT, ey as HT, ez as WT, cw as VT, cx as UT, cy as KT, eV as GT, am as YT, eW as mg, c5 as pf, a4 as t5, dv as n5, ay as i5, br as XT, fX as JT, aO as r5, fY as ZT, fZ as a5, dN as vl, f_ as Ed, f$ as Ad, dP as gl, ai as QT, aj as eM, dD as tM, al as nM, c6 as yg, aN as Eb, ev as iM, g0 as rM, e0 as o5, dx as aM, g1 as oM, g2 as Ky, g3 as s5, g4 as f5, g5 as l5, g6 as sM, g7 as fM, g8 as lM, g9 as cM, dE as uM, dF as dM, dG as hM, bb as pM, dH as mM, b9 as yM, ga as vM, dK as gM, dM as bM, dL as xM, c3 as kM, dO as wM, gb as _M, bZ as c5, aG as u5, d3 as Gy, a1 as SM, ba as OM, gc as EM, bA as AM, bB as CM, Y as d5, Z as hn, gd as TM, av as Ab, e3 as MM, Q as h5, b$ as PM, c0 as DM, bY as vg, aa as NM, dT as $M, cg as IM, bF as Cb, c1 as RM, a_ as jM, eF as LM, ge as BM, bG as FM, bH as zM, gf as qM, bI as HM, gg as WM, gh as VM, eL as Tb } from "./F0AiChat-DRUcCTJI.js";
4
+ import { U as wi, d2 as QC, K as fe, cZ as q6, aT as eT, aS as tT, L as H6, P as Ci, a3 as Na, fg as eo, fh as nT, fi as iT, fj as rT, fk as gb, fl as bb, fm as xb, fn as kb, fo as wb, fp as W6, fq as vc, fr as aT, fs as oT, ft as sT, dQ as hf, fu as pl, fv as ml, fw as ai, fx as fT, fy as V6, b7 as Ye, fz as lT, fA as ts, a7 as Ee, fB as cT, fC as U6, fD as dg, fE as K6, fF as G6, fG as uT, fH as dT, fI as Y6, fJ as hT, fK as pT, fL as mT, fM as Sd, fN as yT, fO as vT, fP as gT, fQ as bT, a6 as _a, fR as xT, fS as kT, dq as wT, a8 as Qn, a9 as ei, cR as _T, cS as ST, cT as OT, cW as ET, fT as X6, _ as Gt, bE as AT, M as Le, aH as yl, aq as CT, e$ as Ut, be as TT, bf as MT, a2 as hg, bh as PT, bk as DT, bp as NT, bq as _b, bi as Sb, aL as J6, bl as $T, bm as IT, bn as RT, bo as jT, N as Od, u as Ti, aB as Z6, a0 as gn, R as it, $ as LT, W as Q6, aR as BT, ak as pg, cz as FT, fU as e5, fV as Ob, fW as zT, cE as qT, ey as HT, ez as WT, cw as VT, cx as UT, cy as KT, eV as GT, am as YT, eW as mg, c5 as pf, a4 as t5, dv as n5, ay as i5, br as XT, fX as JT, aO as r5, fY as ZT, fZ as a5, dN as vl, f_ as Ed, f$ as Ad, dP as gl, ai as QT, aj as eM, dD as tM, al as nM, c6 as yg, aN as Eb, ev as iM, g0 as rM, e0 as o5, dx as aM, g1 as oM, g2 as Ky, g3 as s5, g4 as f5, g5 as l5, g6 as sM, g7 as fM, g8 as lM, g9 as cM, dE as uM, dF as dM, dG as hM, bb as pM, dH as mM, b9 as yM, ga as vM, dK as gM, dM as bM, dL as xM, c3 as kM, dO as wM, gb as _M, bZ as c5, aG as u5, d3 as Gy, a1 as SM, ba as OM, gc as EM, bA as AM, bB as CM, Y as d5, Z as hn, gd as TM, av as Ab, e3 as MM, Q as h5, b$ as PM, c0 as DM, bY as vg, aa as NM, dT as $M, cg as IM, bF as Cb, c1 as RM, a_ as jM, eF as LM, ge as BM, bG as FM, bH as zM, gf as qM, bI as HM, gg as WM, gh as VM, eL as Tb } from "./F0AiChat-C6Swk3kV.js";
5
5
  import gg from "react-dom";
6
6
  import './index.css';const UM = {
7
7
  active: !0,