@factorialco/f0-react 3.3.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai.js +1 -1
- package/dist/experimental.js +2 -2
- package/dist/f0.js +4 -4
- package/dist/{useChatHistory-g8vzWwzv.js → useChatHistory-B1eNZ2Ls.js} +718 -700
- package/dist/{useDataCollectionSource-DLVkc-E-.js → useDataCollectionSource-CM0gLKZH.js} +1 -1
- package/icons/app/HeadcountPlanning.d.ts +4 -0
- package/icons/app/HeadcountPlanning.d.ts.map +1 -0
- package/icons/app/HeadcountPlanning.js +5 -0
- package/icons/app/QuestionCircle.d.ts +4 -0
- package/icons/app/QuestionCircle.d.ts.map +1 -0
- package/icons/app/QuestionCircle.js +5 -0
- package/icons/app/index.d.ts +1 -0
- package/icons/app/index.d.ts.map +1 -1
- package/icons/app/index.js +1 -0
- package/icons/modules/HeadcountPlanning.d.ts +4 -0
- package/icons/modules/HeadcountPlanning.d.ts.map +1 -0
- package/icons/modules/HeadcountPlanning.js +5 -0
- package/icons/modules/index.d.ts +1 -0
- package/icons/modules/index.d.ts.map +1 -1
- package/icons/modules/index.js +1 -0
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as c, jsx as r, Fragment as xe } from "react/jsx-runtime";
|
|
2
2
|
import { useInsertionEffect as ro, forwardRef as p, createElement as $e, useRef as I, useMemo as ee, useEffect as X, useLayoutEffect as vt, useState as P, useCallback as q, createContext as Ye, useContext as Pe, useId as wt } from "react";
|
|
3
|
-
import { cj as oo, ck as no, cl as so, cm as io, cn as xt, co as ao, cp as co, cq as lo, cr as fo, cs as uo, ct as kt, cu as ho, cv as go, cw as po, cx as mo, cy as Co, cz as vo, cA as wo, cB as We, cC as xo, cD as ko, cE as bo, cF as Lo, cG as yo, Z as bt, cH as Mo, cI as Eo, cJ as Ro, cK as Fo, cL as No, cM as Lt, cN as
|
|
3
|
+
import { cj as oo, ck as no, cl as so, cm as io, cn as xt, co as ao, cp as co, cq as lo, cr as fo, cs as uo, ct as kt, cu as ho, cv as go, cw as po, cx as mo, cy as Co, cz as vo, cA as wo, cB as We, cC as xo, cD as ko, cE as bo, cF as Lo, cG as yo, Z as bt, cH as Mo, cI as Eo, cJ as Ro, cK as Fo, cL as No, cM as Lt, cN as Vo, cO as So, a6 as m1, cP as To, aJ as Ho, cQ as Ao, cR as Bo, cS as $o, ag as Io, cT as Po, bO as jo, aa as C1, ad as Do, cU as Zo, ba as v1, a1 as yt, S as Ke, cV as Mt, b9 as _o, cW as Oo, cX as Uo, b2 as zo, bN as Go, $ as Le, au as Wo, be as Et, cY as qo, bL as Xo, cZ as Re, bH as Yo, c_ as Ko, c$ as Rt, b1 as Ft, d0 as Qo, d1 as Jo, d2 as en, d3 as tn, d4 as rn, d5 as Nt, bz as on, bA as nn, d6 as sn, d7 as an, d8 as cn, d9 as ln, da as dn, db as fn, dc as un, dd as hn, de as gn, df as pn, dg as mn, dh as Cn, di as vn, bM as wn, ab as xn, bv as kn, dj as bn, dk as Ln, dl as yn, dm as Mn, dn as En, dp as Rn, dq as Fn, ap as Nn, dr as Vt, M as Vn, a0 as Sn, ds as St, dt as Tt, du as Tn, bd as Hn, bc as An, dv as Bn, dw as Ht, dx as $n, b0 as In, ay as Pn, dy as jn, as as Dn, b7 as Zn, dz as At, b6 as _n, dA as On, bi as w1, dB as Un, dC as x1, bJ as zn, bI as Gn, bK as Bt, dD as Wn, G as qn, E as Xn, dE as Yn, dF as Kn, dG as Qn, dH as Jn, dI as es, dJ as $t, dK as ts, ac as rs, dL as os, L as fe, q as Fe, o as x, ae as ce, dM as ns, bp as ss, bC as is, y as It, dN as as, a5 as Qe, b$ as cs, Q as pe, at as ls, H as le, a8 as Pt, a9 as ds, af as jt, bq as Dt, dO as fs, a$ as Zt, v as me, dP as us, dQ as hs, U as ue, u as Y, dR as gs, cg as _t, a2 as ps, dS as ms, aP as ye, A as Ne, p as ne, aD as k1, dT as Cs, aE as b1, aF as L1, b as Me, dU as vs, dV as ws, bD as xs, V as ks, dW as bs, dX as Ls, dY as ys, dZ as $1, a3 as Ms, ak as Ot, aS as Ut, d_ as Es, b_ as Rs, d$ as Fs, e0 as Ns, aX as zt, e1 as Vs, bU as Ss, e2 as Ts, aU as Ie, bg as Gt, e3 as Wt, bh as qt, c as u1, e4 as Xt, e5 as Hs, bk as As, e6 as Bs, b8 as y1, bw as $s, e7 as Is, e8 as Ps, e9 as js, ea as Ds, eb as Zs, z as _s, ec as Yt, ed as Kt, ee as Os, aj as I1, ef as Us, ai as zs, eg as Gs, eh as Ws } from "./F0CanvasPanel-Cq4Hljwy.js";
|
|
4
4
|
import { createPortal as Qt } from "react-dom";
|
|
5
5
|
import { defaultTranslations as qs } from "./i18n-provider-defaults.js";
|
|
6
6
|
import { useTrackVolume as Xs } from "@livekit/components-react";
|
|
@@ -63,7 +63,7 @@ function si(e, { defaultTransition: t = {}, ...o } = {}, n, s) {
|
|
|
63
63
|
}
|
|
64
64
|
let [v, w, k = {}] = C;
|
|
65
65
|
k.at !== void 0 && (g = P1(g, k.at, f, u));
|
|
66
|
-
let
|
|
66
|
+
let S = 0;
|
|
67
67
|
const T = (E, L, b, A = 0, H = 0) => {
|
|
68
68
|
const y = ii(E), { delay: R = 0, times: F = ao(y), type: $ = "keyframes", repeat: _, repeatType: z, repeatDelay: G = 0, ...re } = L;
|
|
69
69
|
let { ease: K = t.ease || "easeOut", duration: O } = L;
|
|
@@ -96,7 +96,7 @@ function si(e, { defaultTransition: t = {}, ...o } = {}, n, s) {
|
|
|
96
96
|
ti(F, _);
|
|
97
97
|
}
|
|
98
98
|
const ge = W + O;
|
|
99
|
-
ei(b, y, K, F, W, ge),
|
|
99
|
+
ei(b, y, K, F, W, ge), S = Math.max(Z + O, S), m = Math.max(ge, m);
|
|
100
100
|
};
|
|
101
101
|
if (xt(v)) {
|
|
102
102
|
const E = j1(v, d);
|
|
@@ -110,18 +110,18 @@ function si(e, { defaultTransition: t = {}, ...o } = {}, n, s) {
|
|
|
110
110
|
T(w[y], ai(k, y), D1(y, H), b, L);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
f = g, g +=
|
|
113
|
+
f = g, g += S;
|
|
114
114
|
}
|
|
115
115
|
return d.forEach((h, C) => {
|
|
116
116
|
for (const v in h) {
|
|
117
117
|
const w = h[v];
|
|
118
118
|
w.sort(ri);
|
|
119
|
-
const k = [],
|
|
119
|
+
const k = [], S = [], T = [];
|
|
120
120
|
for (let L = 0; L < w.length; L++) {
|
|
121
121
|
const { at: b, value: A, easing: H } = w[L];
|
|
122
|
-
k.push(A),
|
|
122
|
+
k.push(A), S.push(ho(0, m, b)), T.push(H || "easeOut");
|
|
123
123
|
}
|
|
124
|
-
|
|
124
|
+
S[0] !== 0 && (S.unshift(0), k.unshift(k[0]), T.unshift(oi)), S[S.length - 1] !== 1 && (S.push(1), k.push(null)), a.has(C) || a.set(C, {
|
|
125
125
|
keyframes: {},
|
|
126
126
|
transition: {}
|
|
127
127
|
});
|
|
@@ -130,7 +130,7 @@ function si(e, { defaultTransition: t = {}, ...o } = {}, n, s) {
|
|
|
130
130
|
...t,
|
|
131
131
|
duration: m,
|
|
132
132
|
ease: T,
|
|
133
|
-
times:
|
|
133
|
+
times: S,
|
|
134
134
|
...o
|
|
135
135
|
};
|
|
136
136
|
}
|
|
@@ -508,7 +508,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
508
508
|
)
|
|
509
509
|
]
|
|
510
510
|
}
|
|
511
|
-
),
|
|
511
|
+
), Vi = p(Ni), Si = (e, t) => /* @__PURE__ */ c(
|
|
512
512
|
"svg",
|
|
513
513
|
{
|
|
514
514
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -549,7 +549,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
549
549
|
)
|
|
550
550
|
]
|
|
551
551
|
}
|
|
552
|
-
), Ti = p(
|
|
552
|
+
), Ti = p(Si), Hi = (e, t) => /* @__PURE__ */ c(
|
|
553
553
|
"svg",
|
|
554
554
|
{
|
|
555
555
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1542,7 +1542,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
1542
1542
|
)
|
|
1543
1543
|
]
|
|
1544
1544
|
}
|
|
1545
|
-
),
|
|
1545
|
+
), Va = p(Na), Sa = (e, t) => /* @__PURE__ */ c(
|
|
1546
1546
|
"svg",
|
|
1547
1547
|
{
|
|
1548
1548
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1580,7 +1580,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
1580
1580
|
)
|
|
1581
1581
|
]
|
|
1582
1582
|
}
|
|
1583
|
-
), Ta = p(
|
|
1583
|
+
), Ta = p(Sa), Ha = (e, t) => /* @__PURE__ */ r(
|
|
1584
1584
|
"svg",
|
|
1585
1585
|
{
|
|
1586
1586
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2351,7 +2351,24 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2351
2351
|
)
|
|
2352
2352
|
]
|
|
2353
2353
|
}
|
|
2354
|
-
), F5 = p(R5), N5 = (e, t) => /* @__PURE__ */
|
|
2354
|
+
), F5 = p(R5), N5 = (e, t) => /* @__PURE__ */ r(
|
|
2355
|
+
"svg",
|
|
2356
|
+
{
|
|
2357
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2358
|
+
fill: "none",
|
|
2359
|
+
viewBox: "0 0 24 24",
|
|
2360
|
+
ref: t,
|
|
2361
|
+
...e,
|
|
2362
|
+
children: /* @__PURE__ */ r(
|
|
2363
|
+
"path",
|
|
2364
|
+
{
|
|
2365
|
+
fill: "currentColor",
|
|
2366
|
+
d: "M19.9998 15.3506C20.3588 15.3506 20.6502 15.642 20.6502 16.001V19.001C20.6501 19.3599 20.3587 19.6514 19.9998 19.6514C19.641 19.6512 19.3495 19.3598 19.3494 19.001V17.5713L16.8133 20.1074C16.3641 20.5562 15.6353 20.5564 15.1863 20.1074L12.9998 17.9209L9.45974 21.4609C9.20588 21.7145 8.79358 21.7147 8.53982 21.4609C8.28612 21.2072 8.28624 20.7949 8.53982 20.541L12.1863 16.8945C12.6073 16.4735 13.2737 16.448 13.7254 16.8164L13.8133 16.8945L15.9998 19.0811L18.4295 16.6514H16.9998C16.641 16.6512 16.3495 16.3598 16.3494 16.001C16.3494 15.6421 16.6409 15.3508 16.9998 15.3506H19.9998ZM9.00076 15.3477C9.35961 15.3477 9.65093 15.6392 9.65115 15.998C9.65115 16.357 9.35974 16.6484 9.00076 16.6484C7.38199 16.6485 6.2487 17.1089 5.52908 17.5518C5.16727 17.7744 4.90636 17.9946 4.74001 18.1543C4.65714 18.2339 4.59767 18.2983 4.5613 18.3398C4.54353 18.3602 4.53101 18.3754 4.52419 18.3838L4.51833 18.3916V18.3896C4.30255 18.6751 3.89763 18.7325 3.61111 18.5176C3.32415 18.3021 3.2659 17.8955 3.48122 17.6084V17.6064L3.48318 17.6055C3.48381 17.6045 3.48429 17.6027 3.48513 17.6016C3.48698 17.5991 3.48942 17.596 3.49197 17.5928C3.49722 17.586 3.50428 17.5775 3.51247 17.5674C3.52939 17.5465 3.55326 17.5181 3.58279 17.4844C3.64213 17.4166 3.72756 17.3244 3.83962 17.2168C4.0639 17.0015 4.39702 16.7215 4.84744 16.4443C5.75278 15.8872 7.11981 15.3477 9.00076 15.3477ZM8.99978 4.34863C11.5676 4.34888 13.6501 6.43114 13.6502 8.99902C13.6502 11.567 11.5677 13.6492 8.99978 13.6494C6.43165 13.6494 4.34939 11.5671 4.34939 8.99902C4.34949 6.43099 6.43172 4.34863 8.99978 4.34863ZM16.0008 6.34766C18.0165 6.34766 19.6509 7.98239 19.6511 9.99805C19.6511 12.0139 18.0166 13.6484 16.0008 13.6484C15.6418 13.6484 15.3504 13.357 15.3504 12.998C15.3506 12.6393 15.642 12.3477 16.0008 12.3477C17.2986 12.3477 18.3504 11.2959 18.3504 9.99805C18.3502 8.70036 17.2985 7.64844 16.0008 7.64844C15.6418 7.64837 15.3504 7.35699 15.3504 6.99805C15.3506 6.63928 15.642 6.34773 16.0008 6.34766ZM8.99978 5.64941C7.14969 5.64941 5.65027 7.14896 5.65017 8.99902C5.65017 10.8492 7.14962 12.3486 8.99978 12.3486C10.8497 12.3484 12.3494 10.849 12.3494 8.99902C12.3493 7.14911 10.8497 5.64966 8.99978 5.64941Z",
|
|
2367
|
+
vectorEffect: "non-scaling-stroke"
|
|
2368
|
+
}
|
|
2369
|
+
)
|
|
2370
|
+
}
|
|
2371
|
+
), V5 = p(N5), S5 = (e, t) => /* @__PURE__ */ c(
|
|
2355
2372
|
"svg",
|
|
2356
2373
|
{
|
|
2357
2374
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2388,7 +2405,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2388
2405
|
)
|
|
2389
2406
|
]
|
|
2390
2407
|
}
|
|
2391
|
-
),
|
|
2408
|
+
), T5 = p(S5), H5 = (e, t) => /* @__PURE__ */ r(
|
|
2392
2409
|
"svg",
|
|
2393
2410
|
{
|
|
2394
2411
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2407,7 +2424,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2407
2424
|
}
|
|
2408
2425
|
)
|
|
2409
2426
|
}
|
|
2410
|
-
),
|
|
2427
|
+
), A5 = p(H5), B5 = (e, t) => /* @__PURE__ */ c(
|
|
2411
2428
|
"svg",
|
|
2412
2429
|
{
|
|
2413
2430
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2448,7 +2465,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2448
2465
|
)
|
|
2449
2466
|
]
|
|
2450
2467
|
}
|
|
2451
|
-
),
|
|
2468
|
+
), $5 = p(B5), I5 = (e, t) => /* @__PURE__ */ r(
|
|
2452
2469
|
"svg",
|
|
2453
2470
|
{
|
|
2454
2471
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2466,7 +2483,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2466
2483
|
}
|
|
2467
2484
|
)
|
|
2468
2485
|
}
|
|
2469
|
-
),
|
|
2486
|
+
), P5 = p(I5), j5 = (e, t) => /* @__PURE__ */ c(
|
|
2470
2487
|
"svg",
|
|
2471
2488
|
{
|
|
2472
2489
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2529,7 +2546,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2529
2546
|
)
|
|
2530
2547
|
]
|
|
2531
2548
|
}
|
|
2532
|
-
),
|
|
2549
|
+
), D5 = p(j5), Z5 = (e, t) => /* @__PURE__ */ c(
|
|
2533
2550
|
"svg",
|
|
2534
2551
|
{
|
|
2535
2552
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2559,7 +2576,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2559
2576
|
)
|
|
2560
2577
|
]
|
|
2561
2578
|
}
|
|
2562
|
-
),
|
|
2579
|
+
), _5 = p(Z5), O5 = (e, t) => /* @__PURE__ */ c(
|
|
2563
2580
|
"svg",
|
|
2564
2581
|
{
|
|
2565
2582
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2590,7 +2607,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2590
2607
|
)
|
|
2591
2608
|
]
|
|
2592
2609
|
}
|
|
2593
|
-
),
|
|
2610
|
+
), U5 = p(O5), z5 = (e, t) => /* @__PURE__ */ c(
|
|
2594
2611
|
"svg",
|
|
2595
2612
|
{
|
|
2596
2613
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2651,7 +2668,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2651
2668
|
)
|
|
2652
2669
|
]
|
|
2653
2670
|
}
|
|
2654
|
-
),
|
|
2671
|
+
), G5 = p(z5), W5 = (e, t) => /* @__PURE__ */ c(
|
|
2655
2672
|
"svg",
|
|
2656
2673
|
{
|
|
2657
2674
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2728,7 +2745,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2728
2745
|
)
|
|
2729
2746
|
]
|
|
2730
2747
|
}
|
|
2731
|
-
),
|
|
2748
|
+
), q5 = p(W5), X5 = (e, t) => /* @__PURE__ */ c(
|
|
2732
2749
|
"svg",
|
|
2733
2750
|
{
|
|
2734
2751
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2757,7 +2774,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2757
2774
|
)
|
|
2758
2775
|
]
|
|
2759
2776
|
}
|
|
2760
|
-
),
|
|
2777
|
+
), Y5 = p(X5), K5 = (e, t) => /* @__PURE__ */ c(
|
|
2761
2778
|
"svg",
|
|
2762
2779
|
{
|
|
2763
2780
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2794,7 +2811,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2794
2811
|
)
|
|
2795
2812
|
]
|
|
2796
2813
|
}
|
|
2797
|
-
), rr = p(
|
|
2814
|
+
), rr = p(K5), Q5 = (e, t) => /* @__PURE__ */ c(
|
|
2798
2815
|
"svg",
|
|
2799
2816
|
{
|
|
2800
2817
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2877,7 +2894,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2877
2894
|
)
|
|
2878
2895
|
]
|
|
2879
2896
|
}
|
|
2880
|
-
),
|
|
2897
|
+
), J5 = p(Q5), e0 = (e, t) => /* @__PURE__ */ c(
|
|
2881
2898
|
"svg",
|
|
2882
2899
|
{
|
|
2883
2900
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2918,7 +2935,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2918
2935
|
)
|
|
2919
2936
|
]
|
|
2920
2937
|
}
|
|
2921
|
-
),
|
|
2938
|
+
), t0 = p(e0), r0 = (e, t) => /* @__PURE__ */ r(
|
|
2922
2939
|
"svg",
|
|
2923
2940
|
{
|
|
2924
2941
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2935,7 +2952,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2935
2952
|
}
|
|
2936
2953
|
)
|
|
2937
2954
|
}
|
|
2938
|
-
),
|
|
2955
|
+
), o0 = p(r0), n0 = (e, t) => /* @__PURE__ */ c(
|
|
2939
2956
|
"svg",
|
|
2940
2957
|
{
|
|
2941
2958
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2978,7 +2995,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
2978
2995
|
)
|
|
2979
2996
|
]
|
|
2980
2997
|
}
|
|
2981
|
-
),
|
|
2998
|
+
), s0 = p(n0), i0 = (e, t) => /* @__PURE__ */ c(
|
|
2982
2999
|
"svg",
|
|
2983
3000
|
{
|
|
2984
3001
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3007,7 +3024,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3007
3024
|
)
|
|
3008
3025
|
]
|
|
3009
3026
|
}
|
|
3010
|
-
),
|
|
3027
|
+
), a0 = p(i0), c0 = (e, t) => /* @__PURE__ */ c(
|
|
3011
3028
|
"svg",
|
|
3012
3029
|
{
|
|
3013
3030
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3037,7 +3054,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3037
3054
|
)
|
|
3038
3055
|
]
|
|
3039
3056
|
}
|
|
3040
|
-
),
|
|
3057
|
+
), l0 = p(c0), d0 = (e, t) => /* @__PURE__ */ c(
|
|
3041
3058
|
"svg",
|
|
3042
3059
|
{
|
|
3043
3060
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3080,7 +3097,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3080
3097
|
)
|
|
3081
3098
|
]
|
|
3082
3099
|
}
|
|
3083
|
-
),
|
|
3100
|
+
), f0 = p(d0), u0 = (e, t) => /* @__PURE__ */ c(
|
|
3084
3101
|
"svg",
|
|
3085
3102
|
{
|
|
3086
3103
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3117,7 +3134,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3117
3134
|
)
|
|
3118
3135
|
]
|
|
3119
3136
|
}
|
|
3120
|
-
),
|
|
3137
|
+
), h0 = p(u0), g0 = (e, t) => /* @__PURE__ */ c(
|
|
3121
3138
|
"svg",
|
|
3122
3139
|
{
|
|
3123
3140
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3166,7 +3183,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3166
3183
|
)
|
|
3167
3184
|
]
|
|
3168
3185
|
}
|
|
3169
|
-
),
|
|
3186
|
+
), p0 = p(g0), m0 = (e, t) => /* @__PURE__ */ c(
|
|
3170
3187
|
"svg",
|
|
3171
3188
|
{
|
|
3172
3189
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3195,7 +3212,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3195
3212
|
)
|
|
3196
3213
|
]
|
|
3197
3214
|
}
|
|
3198
|
-
),
|
|
3215
|
+
), C0 = p(m0), v0 = (e, t) => /* @__PURE__ */ c(
|
|
3199
3216
|
"svg",
|
|
3200
3217
|
{
|
|
3201
3218
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3226,7 +3243,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3226
3243
|
)
|
|
3227
3244
|
]
|
|
3228
3245
|
}
|
|
3229
|
-
),
|
|
3246
|
+
), w0 = p(v0), x0 = (e, t) => /* @__PURE__ */ c(
|
|
3230
3247
|
"svg",
|
|
3231
3248
|
{
|
|
3232
3249
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3274,7 +3291,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3274
3291
|
)
|
|
3275
3292
|
]
|
|
3276
3293
|
}
|
|
3277
|
-
),
|
|
3294
|
+
), k0 = p(x0), b0 = (e, t) => /* @__PURE__ */ c(
|
|
3278
3295
|
"svg",
|
|
3279
3296
|
{
|
|
3280
3297
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3302,7 +3319,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3302
3319
|
)
|
|
3303
3320
|
]
|
|
3304
3321
|
}
|
|
3305
|
-
),
|
|
3322
|
+
), L0 = p(b0), y0 = (e, t) => /* @__PURE__ */ c(
|
|
3306
3323
|
"svg",
|
|
3307
3324
|
{
|
|
3308
3325
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3359,7 +3376,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3359
3376
|
)
|
|
3360
3377
|
]
|
|
3361
3378
|
}
|
|
3362
|
-
), or = p(
|
|
3379
|
+
), or = p(y0), M0 = (e, t) => /* @__PURE__ */ c(
|
|
3363
3380
|
"svg",
|
|
3364
3381
|
{
|
|
3365
3382
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3413,7 +3430,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3413
3430
|
)
|
|
3414
3431
|
]
|
|
3415
3432
|
}
|
|
3416
|
-
),
|
|
3433
|
+
), E0 = p(M0), R0 = (e, t) => /* @__PURE__ */ c(
|
|
3417
3434
|
"svg",
|
|
3418
3435
|
{
|
|
3419
3436
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3437,7 +3454,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3437
3454
|
/* @__PURE__ */ r("path", { d: "M8 21h8", vectorEffect: "non-scaling-stroke" })
|
|
3438
3455
|
]
|
|
3439
3456
|
}
|
|
3440
|
-
),
|
|
3457
|
+
), F0 = p(R0), N0 = (e, t) => /* @__PURE__ */ c(
|
|
3441
3458
|
"svg",
|
|
3442
3459
|
{
|
|
3443
3460
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3492,7 +3509,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3492
3509
|
)
|
|
3493
3510
|
]
|
|
3494
3511
|
}
|
|
3495
|
-
),
|
|
3512
|
+
), V0 = p(N0), S0 = (e, t) => /* @__PURE__ */ r(
|
|
3496
3513
|
"svg",
|
|
3497
3514
|
{
|
|
3498
3515
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3511,7 +3528,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3511
3528
|
}
|
|
3512
3529
|
)
|
|
3513
3530
|
}
|
|
3514
|
-
),
|
|
3531
|
+
), T0 = p(S0), H0 = (e, t) => /* @__PURE__ */ c(
|
|
3515
3532
|
"svg",
|
|
3516
3533
|
{
|
|
3517
3534
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3539,7 +3556,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3539
3556
|
)
|
|
3540
3557
|
]
|
|
3541
3558
|
}
|
|
3542
|
-
),
|
|
3559
|
+
), A0 = p(H0), B0 = (e, t) => /* @__PURE__ */ c(
|
|
3543
3560
|
"svg",
|
|
3544
3561
|
{
|
|
3545
3562
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3593,7 +3610,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3593
3610
|
)
|
|
3594
3611
|
]
|
|
3595
3612
|
}
|
|
3596
|
-
),
|
|
3613
|
+
), $0 = p(B0), I0 = (e, t) => /* @__PURE__ */ c(
|
|
3597
3614
|
"svg",
|
|
3598
3615
|
{
|
|
3599
3616
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3739,7 +3756,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3739
3756
|
)
|
|
3740
3757
|
]
|
|
3741
3758
|
}
|
|
3742
|
-
),
|
|
3759
|
+
), P0 = p(I0), j0 = (e, t) => /* @__PURE__ */ r(
|
|
3743
3760
|
"svg",
|
|
3744
3761
|
{
|
|
3745
3762
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3756,7 +3773,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3756
3773
|
}
|
|
3757
3774
|
)
|
|
3758
3775
|
}
|
|
3759
|
-
), E1 = p(
|
|
3776
|
+
), E1 = p(j0), D0 = (e, t) => /* @__PURE__ */ r(
|
|
3760
3777
|
"svg",
|
|
3761
3778
|
{
|
|
3762
3779
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3775,7 +3792,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3775
3792
|
}
|
|
3776
3793
|
)
|
|
3777
3794
|
}
|
|
3778
|
-
),
|
|
3795
|
+
), Z0 = p(D0), _0 = (e, t) => /* @__PURE__ */ c(
|
|
3779
3796
|
"svg",
|
|
3780
3797
|
{
|
|
3781
3798
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3834,7 +3851,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3834
3851
|
)
|
|
3835
3852
|
]
|
|
3836
3853
|
}
|
|
3837
|
-
),
|
|
3854
|
+
), O0 = p(_0), U0 = (e, t) => /* @__PURE__ */ c(
|
|
3838
3855
|
"svg",
|
|
3839
3856
|
{
|
|
3840
3857
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3905,7 +3922,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3905
3922
|
)
|
|
3906
3923
|
]
|
|
3907
3924
|
}
|
|
3908
|
-
),
|
|
3925
|
+
), z0 = p(U0), G0 = (e, t) => /* @__PURE__ */ c(
|
|
3909
3926
|
"svg",
|
|
3910
3927
|
{
|
|
3911
3928
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3943,7 +3960,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3943
3960
|
)
|
|
3944
3961
|
]
|
|
3945
3962
|
}
|
|
3946
|
-
),
|
|
3963
|
+
), W0 = p(G0), q0 = (e, t) => /* @__PURE__ */ r(
|
|
3947
3964
|
"svg",
|
|
3948
3965
|
{
|
|
3949
3966
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3962,7 +3979,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
3962
3979
|
}
|
|
3963
3980
|
)
|
|
3964
3981
|
}
|
|
3965
|
-
),
|
|
3982
|
+
), X0 = p(q0), Y0 = (e, t) => /* @__PURE__ */ c(
|
|
3966
3983
|
"svg",
|
|
3967
3984
|
{
|
|
3968
3985
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4022,7 +4039,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4022
4039
|
)
|
|
4023
4040
|
]
|
|
4024
4041
|
}
|
|
4025
|
-
),
|
|
4042
|
+
), K0 = p(Y0), Q0 = (e, t) => /* @__PURE__ */ r(
|
|
4026
4043
|
"svg",
|
|
4027
4044
|
{
|
|
4028
4045
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4041,7 +4058,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4041
4058
|
}
|
|
4042
4059
|
)
|
|
4043
4060
|
}
|
|
4044
|
-
),
|
|
4061
|
+
), J0 = p(Q0), ec = (e, t) => /* @__PURE__ */ c(
|
|
4045
4062
|
"svg",
|
|
4046
4063
|
{
|
|
4047
4064
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4091,7 +4108,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4091
4108
|
)
|
|
4092
4109
|
]
|
|
4093
4110
|
}
|
|
4094
|
-
),
|
|
4111
|
+
), tc = p(ec), rc = (e, t) => /* @__PURE__ */ r(
|
|
4095
4112
|
"svg",
|
|
4096
4113
|
{
|
|
4097
4114
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4108,7 +4125,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4108
4125
|
}
|
|
4109
4126
|
)
|
|
4110
4127
|
}
|
|
4111
|
-
),
|
|
4128
|
+
), oc = p(rc), nc = (e, t) => /* @__PURE__ */ r(
|
|
4112
4129
|
"svg",
|
|
4113
4130
|
{
|
|
4114
4131
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4125,7 +4142,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4125
4142
|
}
|
|
4126
4143
|
)
|
|
4127
4144
|
}
|
|
4128
|
-
),
|
|
4145
|
+
), sc = p(nc), ic = (e, t) => /* @__PURE__ */ r(
|
|
4129
4146
|
"svg",
|
|
4130
4147
|
{
|
|
4131
4148
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4143,7 +4160,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4143
4160
|
}
|
|
4144
4161
|
)
|
|
4145
4162
|
}
|
|
4146
|
-
),
|
|
4163
|
+
), ac = p(ic), cc = (e, t) => /* @__PURE__ */ c(
|
|
4147
4164
|
"svg",
|
|
4148
4165
|
{
|
|
4149
4166
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4196,7 +4213,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4196
4213
|
)
|
|
4197
4214
|
]
|
|
4198
4215
|
}
|
|
4199
|
-
),
|
|
4216
|
+
), lc = p(cc), dc = (e, t) => /* @__PURE__ */ c(
|
|
4200
4217
|
"svg",
|
|
4201
4218
|
{
|
|
4202
4219
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4229,7 +4246,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4229
4246
|
)
|
|
4230
4247
|
]
|
|
4231
4248
|
}
|
|
4232
|
-
),
|
|
4249
|
+
), fc = p(dc), uc = (e, t) => /* @__PURE__ */ c(
|
|
4233
4250
|
"svg",
|
|
4234
4251
|
{
|
|
4235
4252
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4272,7 +4289,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4272
4289
|
)
|
|
4273
4290
|
]
|
|
4274
4291
|
}
|
|
4275
|
-
),
|
|
4292
|
+
), hc = p(uc), gc = (e, t) => /* @__PURE__ */ r(
|
|
4276
4293
|
"svg",
|
|
4277
4294
|
{
|
|
4278
4295
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4291,7 +4308,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4291
4308
|
}
|
|
4292
4309
|
)
|
|
4293
4310
|
}
|
|
4294
|
-
),
|
|
4311
|
+
), pc = p(gc), mc = (e, t) => /* @__PURE__ */ c(
|
|
4295
4312
|
"svg",
|
|
4296
4313
|
{
|
|
4297
4314
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4350,7 +4367,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4350
4367
|
)
|
|
4351
4368
|
]
|
|
4352
4369
|
}
|
|
4353
|
-
),
|
|
4370
|
+
), Cc = p(mc), vc = (e, t) => /* @__PURE__ */ c(
|
|
4354
4371
|
"svg",
|
|
4355
4372
|
{
|
|
4356
4373
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4398,7 +4415,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4398
4415
|
)
|
|
4399
4416
|
]
|
|
4400
4417
|
}
|
|
4401
|
-
),
|
|
4418
|
+
), wc = p(vc), xc = (e, t) => /* @__PURE__ */ c(
|
|
4402
4419
|
"svg",
|
|
4403
4420
|
{
|
|
4404
4421
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4477,7 +4494,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4477
4494
|
)
|
|
4478
4495
|
]
|
|
4479
4496
|
}
|
|
4480
|
-
),
|
|
4497
|
+
), kc = p(xc), bc = (e, t) => /* @__PURE__ */ r(
|
|
4481
4498
|
"svg",
|
|
4482
4499
|
{
|
|
4483
4500
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4494,7 +4511,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4494
4511
|
}
|
|
4495
4512
|
)
|
|
4496
4513
|
}
|
|
4497
|
-
), nr = p(
|
|
4514
|
+
), nr = p(bc), Lc = (e, t) => /* @__PURE__ */ r(
|
|
4498
4515
|
"svg",
|
|
4499
4516
|
{
|
|
4500
4517
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4511,7 +4528,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4511
4528
|
}
|
|
4512
4529
|
)
|
|
4513
4530
|
}
|
|
4514
|
-
),
|
|
4531
|
+
), yc = p(Lc), Mc = (e, t) => /* @__PURE__ */ c(
|
|
4515
4532
|
"svg",
|
|
4516
4533
|
{
|
|
4517
4534
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4549,7 +4566,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4549
4566
|
)
|
|
4550
4567
|
]
|
|
4551
4568
|
}
|
|
4552
|
-
),
|
|
4569
|
+
), Ec = p(Mc), Rc = (e, t) => /* @__PURE__ */ c(
|
|
4553
4570
|
"svg",
|
|
4554
4571
|
{
|
|
4555
4572
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4580,7 +4597,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4580
4597
|
)
|
|
4581
4598
|
]
|
|
4582
4599
|
}
|
|
4583
|
-
),
|
|
4600
|
+
), Fc = p(Rc), Nc = (e, t) => /* @__PURE__ */ r(
|
|
4584
4601
|
"svg",
|
|
4585
4602
|
{
|
|
4586
4603
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4599,7 +4616,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4599
4616
|
}
|
|
4600
4617
|
)
|
|
4601
4618
|
}
|
|
4602
|
-
),
|
|
4619
|
+
), Vc = p(Nc), Sc = (e, t) => /* @__PURE__ */ c(
|
|
4603
4620
|
"svg",
|
|
4604
4621
|
{
|
|
4605
4622
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4650,7 +4667,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4650
4667
|
)
|
|
4651
4668
|
]
|
|
4652
4669
|
}
|
|
4653
|
-
),
|
|
4670
|
+
), Tc = p(Sc), Hc = (e, t) => /* @__PURE__ */ r(
|
|
4654
4671
|
"svg",
|
|
4655
4672
|
{
|
|
4656
4673
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4669,7 +4686,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4669
4686
|
}
|
|
4670
4687
|
)
|
|
4671
4688
|
}
|
|
4672
|
-
), R1 = p(
|
|
4689
|
+
), R1 = p(Hc), Ac = (e, t) => /* @__PURE__ */ c(
|
|
4673
4690
|
"svg",
|
|
4674
4691
|
{
|
|
4675
4692
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4699,7 +4716,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4699
4716
|
)
|
|
4700
4717
|
]
|
|
4701
4718
|
}
|
|
4702
|
-
),
|
|
4719
|
+
), Bc = p(Ac), $c = (e, t) => /* @__PURE__ */ r(
|
|
4703
4720
|
"svg",
|
|
4704
4721
|
{
|
|
4705
4722
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4718,7 +4735,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4718
4735
|
}
|
|
4719
4736
|
)
|
|
4720
4737
|
}
|
|
4721
|
-
),
|
|
4738
|
+
), Ic = p($c), Pc = (e, t) => /* @__PURE__ */ c(
|
|
4722
4739
|
"svg",
|
|
4723
4740
|
{
|
|
4724
4741
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4749,7 +4766,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4749
4766
|
)
|
|
4750
4767
|
]
|
|
4751
4768
|
}
|
|
4752
|
-
),
|
|
4769
|
+
), jc = p(Pc), Dc = (e, t) => /* @__PURE__ */ c(
|
|
4753
4770
|
"svg",
|
|
4754
4771
|
{
|
|
4755
4772
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4808,7 +4825,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4808
4825
|
)
|
|
4809
4826
|
]
|
|
4810
4827
|
}
|
|
4811
|
-
),
|
|
4828
|
+
), Zc = p(Dc), _c = (e, t) => /* @__PURE__ */ c(
|
|
4812
4829
|
"svg",
|
|
4813
4830
|
{
|
|
4814
4831
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4858,7 +4875,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4858
4875
|
)
|
|
4859
4876
|
]
|
|
4860
4877
|
}
|
|
4861
|
-
),
|
|
4878
|
+
), Oc = p(_c), Uc = (e, t) => /* @__PURE__ */ c(
|
|
4862
4879
|
"svg",
|
|
4863
4880
|
{
|
|
4864
4881
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4887,7 +4904,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4887
4904
|
)
|
|
4888
4905
|
]
|
|
4889
4906
|
}
|
|
4890
|
-
),
|
|
4907
|
+
), zc = p(Uc), Gc = (e, t) => /* @__PURE__ */ r(
|
|
4891
4908
|
"svg",
|
|
4892
4909
|
{
|
|
4893
4910
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4905,7 +4922,7 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4905
4922
|
}
|
|
4906
4923
|
)
|
|
4907
4924
|
}
|
|
4908
|
-
),
|
|
4925
|
+
), Wc = p(Gc), qc = (e, t) => /* @__PURE__ */ c(
|
|
4909
4926
|
"svg",
|
|
4910
4927
|
{
|
|
4911
4928
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4950,9 +4967,9 @@ const xi = wi(), ki = (e, t) => /* @__PURE__ */ c(
|
|
|
4950
4967
|
)
|
|
4951
4968
|
]
|
|
4952
4969
|
}
|
|
4953
|
-
), sr = p(
|
|
4970
|
+
), sr = p(qc);
|
|
4954
4971
|
sr.displayName = "ShoppingCart";
|
|
4955
|
-
const
|
|
4972
|
+
const Xc = (e, t) => /* @__PURE__ */ c(
|
|
4956
4973
|
"svg",
|
|
4957
4974
|
{
|
|
4958
4975
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5002,7 +5019,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5002
5019
|
)
|
|
5003
5020
|
]
|
|
5004
5021
|
}
|
|
5005
|
-
),
|
|
5022
|
+
), Yc = p(Xc), Kc = (e, t) => /* @__PURE__ */ c(
|
|
5006
5023
|
"svg",
|
|
5007
5024
|
{
|
|
5008
5025
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5033,7 +5050,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5033
5050
|
)
|
|
5034
5051
|
]
|
|
5035
5052
|
}
|
|
5036
|
-
),
|
|
5053
|
+
), Qc = p(Kc), Jc = (e, t) => /* @__PURE__ */ c(
|
|
5037
5054
|
"svg",
|
|
5038
5055
|
{
|
|
5039
5056
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5064,7 +5081,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5064
5081
|
)
|
|
5065
5082
|
]
|
|
5066
5083
|
}
|
|
5067
|
-
),
|
|
5084
|
+
), el = p(Jc), tl = (e, t) => /* @__PURE__ */ c(
|
|
5068
5085
|
"svg",
|
|
5069
5086
|
{
|
|
5070
5087
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5129,7 +5146,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5129
5146
|
)
|
|
5130
5147
|
]
|
|
5131
5148
|
}
|
|
5132
|
-
),
|
|
5149
|
+
), rl = p(tl), ol = (e, t) => /* @__PURE__ */ c(
|
|
5133
5150
|
"svg",
|
|
5134
5151
|
{
|
|
5135
5152
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5160,7 +5177,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5160
5177
|
)
|
|
5161
5178
|
]
|
|
5162
5179
|
}
|
|
5163
|
-
),
|
|
5180
|
+
), nl = p(ol), sl = (e, t) => /* @__PURE__ */ c(
|
|
5164
5181
|
"svg",
|
|
5165
5182
|
{
|
|
5166
5183
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5209,7 +5226,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5209
5226
|
)
|
|
5210
5227
|
]
|
|
5211
5228
|
}
|
|
5212
|
-
),
|
|
5229
|
+
), il = p(sl), al = (e, t) => /* @__PURE__ */ c(
|
|
5213
5230
|
"svg",
|
|
5214
5231
|
{
|
|
5215
5232
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5240,7 +5257,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5240
5257
|
)
|
|
5241
5258
|
]
|
|
5242
5259
|
}
|
|
5243
|
-
),
|
|
5260
|
+
), cl = p(al), ll = (e, t) => /* @__PURE__ */ c(
|
|
5244
5261
|
"svg",
|
|
5245
5262
|
{
|
|
5246
5263
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5269,7 +5286,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5269
5286
|
)
|
|
5270
5287
|
]
|
|
5271
5288
|
}
|
|
5272
|
-
),
|
|
5289
|
+
), dl = p(ll), fl = (e, t) => /* @__PURE__ */ c(
|
|
5273
5290
|
"svg",
|
|
5274
5291
|
{
|
|
5275
5292
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5300,7 +5317,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5300
5317
|
)
|
|
5301
5318
|
]
|
|
5302
5319
|
}
|
|
5303
|
-
),
|
|
5320
|
+
), ul = p(fl), hl = (e, t) => /* @__PURE__ */ c(
|
|
5304
5321
|
"svg",
|
|
5305
5322
|
{
|
|
5306
5323
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5339,7 +5356,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5339
5356
|
)
|
|
5340
5357
|
]
|
|
5341
5358
|
}
|
|
5342
|
-
),
|
|
5359
|
+
), gl = p(hl), pl = (e, t) => /* @__PURE__ */ c(
|
|
5343
5360
|
"svg",
|
|
5344
5361
|
{
|
|
5345
5362
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5370,7 +5387,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5370
5387
|
)
|
|
5371
5388
|
]
|
|
5372
5389
|
}
|
|
5373
|
-
), ir = p(
|
|
5390
|
+
), ir = p(pl), ml = (e, t) => /* @__PURE__ */ c(
|
|
5374
5391
|
"svg",
|
|
5375
5392
|
{
|
|
5376
5393
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5397,7 +5414,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5397
5414
|
)
|
|
5398
5415
|
]
|
|
5399
5416
|
}
|
|
5400
|
-
), ar = p(
|
|
5417
|
+
), ar = p(ml), Cl = (e, t) => /* @__PURE__ */ c(
|
|
5401
5418
|
"svg",
|
|
5402
5419
|
{
|
|
5403
5420
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5428,7 +5445,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5428
5445
|
)
|
|
5429
5446
|
]
|
|
5430
5447
|
}
|
|
5431
|
-
), cr = p(
|
|
5448
|
+
), cr = p(Cl), vl = (e, t) => /* @__PURE__ */ c(
|
|
5432
5449
|
"svg",
|
|
5433
5450
|
{
|
|
5434
5451
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5455,7 +5472,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5455
5472
|
)
|
|
5456
5473
|
]
|
|
5457
5474
|
}
|
|
5458
|
-
), lr = p(
|
|
5475
|
+
), lr = p(vl), wl = (e, t) => /* @__PURE__ */ c(
|
|
5459
5476
|
"svg",
|
|
5460
5477
|
{
|
|
5461
5478
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5525,7 +5542,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5525
5542
|
)
|
|
5526
5543
|
]
|
|
5527
5544
|
}
|
|
5528
|
-
),
|
|
5545
|
+
), xl = p(wl), kl = (e, t) => /* @__PURE__ */ r(
|
|
5529
5546
|
"svg",
|
|
5530
5547
|
{
|
|
5531
5548
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5543,7 +5560,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5543
5560
|
}
|
|
5544
5561
|
)
|
|
5545
5562
|
}
|
|
5546
|
-
),
|
|
5563
|
+
), bl = p(kl), Ll = (e, t) => /* @__PURE__ */ c(
|
|
5547
5564
|
"svg",
|
|
5548
5565
|
{
|
|
5549
5566
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5578,7 +5595,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5578
5595
|
)
|
|
5579
5596
|
]
|
|
5580
5597
|
}
|
|
5581
|
-
),
|
|
5598
|
+
), yl = p(Ll), Ml = (e, t) => /* @__PURE__ */ c(
|
|
5582
5599
|
"svg",
|
|
5583
5600
|
{
|
|
5584
5601
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5618,7 +5635,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5618
5635
|
)
|
|
5619
5636
|
]
|
|
5620
5637
|
}
|
|
5621
|
-
),
|
|
5638
|
+
), El = p(Ml), Rl = (e, t) => /* @__PURE__ */ c(
|
|
5622
5639
|
"svg",
|
|
5623
5640
|
{
|
|
5624
5641
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5657,7 +5674,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5657
5674
|
)
|
|
5658
5675
|
]
|
|
5659
5676
|
}
|
|
5660
|
-
),
|
|
5677
|
+
), Fl = p(Rl), Nl = (e, t) => /* @__PURE__ */ c(
|
|
5661
5678
|
"svg",
|
|
5662
5679
|
{
|
|
5663
5680
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5686,7 +5703,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5686
5703
|
)
|
|
5687
5704
|
]
|
|
5688
5705
|
}
|
|
5689
|
-
),
|
|
5706
|
+
), Vl = p(Nl), Sl = (e, t) => /* @__PURE__ */ c(
|
|
5690
5707
|
"svg",
|
|
5691
5708
|
{
|
|
5692
5709
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5713,7 +5730,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5713
5730
|
)
|
|
5714
5731
|
]
|
|
5715
5732
|
}
|
|
5716
|
-
),
|
|
5733
|
+
), Tl = p(Sl), Hl = (e, t) => /* @__PURE__ */ c(
|
|
5717
5734
|
"svg",
|
|
5718
5735
|
{
|
|
5719
5736
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5731,7 +5748,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5731
5748
|
/* @__PURE__ */ r("path", { d: "M8.5 16.429a5 5 0 0 1 7 0", vectorEffect: "non-scaling-stroke" })
|
|
5732
5749
|
]
|
|
5733
5750
|
}
|
|
5734
|
-
),
|
|
5751
|
+
), Al = p(Hl), Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5735
5752
|
__proto__: null,
|
|
5736
5753
|
AcademicCap: bi,
|
|
5737
5754
|
Add: Lo,
|
|
@@ -5745,11 +5762,11 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5745
5762
|
AlignTextRight: No,
|
|
5746
5763
|
Appearance: Ei,
|
|
5747
5764
|
Archive: Fi,
|
|
5748
|
-
ArchiveOpen:
|
|
5765
|
+
ArchiveOpen: Vi,
|
|
5749
5766
|
ArrowCycle: Ti,
|
|
5750
5767
|
ArrowDown: Lt,
|
|
5751
|
-
ArrowLeft:
|
|
5752
|
-
ArrowRight:
|
|
5768
|
+
ArrowLeft: Vo,
|
|
5769
|
+
ArrowRight: So,
|
|
5753
5770
|
ArrowUp: m1,
|
|
5754
5771
|
Ascending: To,
|
|
5755
5772
|
Balance: Ai,
|
|
@@ -5796,7 +5813,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5796
5813
|
Command: Fa,
|
|
5797
5814
|
Comment: zo,
|
|
5798
5815
|
Completed: Go,
|
|
5799
|
-
Computer:
|
|
5816
|
+
Computer: Va,
|
|
5800
5817
|
Contactless: Ta,
|
|
5801
5818
|
CornerHandle: Aa,
|
|
5802
5819
|
CreditCard: $a,
|
|
@@ -5850,147 +5867,148 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
5850
5867
|
Handle: gn,
|
|
5851
5868
|
Handshake: E5,
|
|
5852
5869
|
HardDrive: F5,
|
|
5870
|
+
HeadcountPlanning: V5,
|
|
5853
5871
|
Heading1: pn,
|
|
5854
5872
|
Heading2: mn,
|
|
5855
5873
|
Heading3: Cn,
|
|
5856
|
-
Headset:
|
|
5857
|
-
Heart:
|
|
5858
|
-
HoldHeart:
|
|
5859
|
-
Home:
|
|
5860
|
-
Hub:
|
|
5874
|
+
Headset: T5,
|
|
5875
|
+
Heart: A5,
|
|
5876
|
+
HoldHeart: $5,
|
|
5877
|
+
Home: P5,
|
|
5878
|
+
Hub: D5,
|
|
5861
5879
|
Image: vn,
|
|
5862
5880
|
InProgressTask: wn,
|
|
5863
|
-
Inbox:
|
|
5864
|
-
Info:
|
|
5881
|
+
Inbox: _5,
|
|
5882
|
+
Info: U5,
|
|
5865
5883
|
InfoCircle: xn,
|
|
5866
5884
|
InfoCircleLine: kn,
|
|
5867
|
-
InputField:
|
|
5885
|
+
InputField: G5,
|
|
5868
5886
|
Italic: bn,
|
|
5869
5887
|
Kanban: Ln,
|
|
5870
|
-
Keyboard:
|
|
5871
|
-
Laptop:
|
|
5888
|
+
Keyboard: q5,
|
|
5889
|
+
Laptop: Y5,
|
|
5872
5890
|
LayersFront: yn,
|
|
5873
5891
|
Less: Mn,
|
|
5874
5892
|
Lightbulb: rr,
|
|
5875
5893
|
Link: En,
|
|
5876
|
-
LinkRemove:
|
|
5894
|
+
LinkRemove: J5,
|
|
5877
5895
|
List: Rn,
|
|
5878
5896
|
LockLocked: Fn,
|
|
5879
|
-
LockUnlocked:
|
|
5897
|
+
LockUnlocked: t0,
|
|
5880
5898
|
LogoAvatar: Nn,
|
|
5881
|
-
LogoEruditai:
|
|
5882
|
-
LogoTravelperk:
|
|
5883
|
-
Marker:
|
|
5884
|
-
Marketplace:
|
|
5885
|
-
Masonry:
|
|
5886
|
-
Maximize:
|
|
5887
|
-
Megaphone:
|
|
5888
|
-
Menu:
|
|
5889
|
-
MessageFilled:
|
|
5890
|
-
MessageFrown:
|
|
5891
|
-
MessageHeart:
|
|
5892
|
-
Messages:
|
|
5893
|
-
Microphone:
|
|
5894
|
-
MicrophoneNegative:
|
|
5899
|
+
LogoEruditai: o0,
|
|
5900
|
+
LogoTravelperk: s0,
|
|
5901
|
+
Marker: a0,
|
|
5902
|
+
Marketplace: l0,
|
|
5903
|
+
Masonry: f0,
|
|
5904
|
+
Maximize: Vt,
|
|
5905
|
+
Megaphone: Vn,
|
|
5906
|
+
Menu: Sn,
|
|
5907
|
+
MessageFilled: h0,
|
|
5908
|
+
MessageFrown: p0,
|
|
5909
|
+
MessageHeart: C0,
|
|
5910
|
+
Messages: w0,
|
|
5911
|
+
Microphone: St,
|
|
5912
|
+
MicrophoneNegative: k0,
|
|
5895
5913
|
Minimize: Tt,
|
|
5896
5914
|
Minus: Tn,
|
|
5897
|
-
Mobile:
|
|
5915
|
+
Mobile: L0,
|
|
5898
5916
|
Money: or,
|
|
5899
|
-
MoneyBag:
|
|
5900
|
-
MonitorDot:
|
|
5901
|
-
MonitorSmartphone:
|
|
5902
|
-
Moon:
|
|
5903
|
-
Mouse:
|
|
5917
|
+
MoneyBag: E0,
|
|
5918
|
+
MonitorDot: F0,
|
|
5919
|
+
MonitorSmartphone: V0,
|
|
5920
|
+
Moon: T0,
|
|
5921
|
+
Mouse: A0,
|
|
5904
5922
|
MoveDown: Hn,
|
|
5905
|
-
MoveTop:
|
|
5923
|
+
MoveTop: $0,
|
|
5906
5924
|
MoveUp: An,
|
|
5907
|
-
Multitask:
|
|
5925
|
+
Multitask: P0,
|
|
5908
5926
|
New: E1,
|
|
5909
|
-
Numbers:
|
|
5910
|
-
Office:
|
|
5927
|
+
Numbers: Z0,
|
|
5928
|
+
Office: O0,
|
|
5911
5929
|
OlList: Bn,
|
|
5912
|
-
Organization:
|
|
5913
|
-
PalmTree:
|
|
5930
|
+
Organization: z0,
|
|
5931
|
+
PalmTree: W0,
|
|
5914
5932
|
Paperclip: Ht,
|
|
5915
|
-
PartiallyCompleted:
|
|
5916
|
-
Password:
|
|
5917
|
-
PauseCircle:
|
|
5933
|
+
PartiallyCompleted: X0,
|
|
5934
|
+
Password: K0,
|
|
5935
|
+
PauseCircle: J0,
|
|
5918
5936
|
Pencil: $n,
|
|
5919
|
-
People:
|
|
5937
|
+
People: tc,
|
|
5920
5938
|
Person: In,
|
|
5921
|
-
PersonMinus:
|
|
5939
|
+
PersonMinus: oc,
|
|
5922
5940
|
PersonNegative: Pn,
|
|
5923
|
-
PersonPlus:
|
|
5924
|
-
Phone:
|
|
5925
|
-
Pig:
|
|
5926
|
-
Pin:
|
|
5927
|
-
PixBrazil:
|
|
5941
|
+
PersonPlus: sc,
|
|
5942
|
+
Phone: ac,
|
|
5943
|
+
Pig: lc,
|
|
5944
|
+
Pin: fc,
|
|
5945
|
+
PixBrazil: hc,
|
|
5928
5946
|
Placeholder: jn,
|
|
5929
|
-
Plane:
|
|
5947
|
+
Plane: pc,
|
|
5930
5948
|
Plus: Dn,
|
|
5931
|
-
Present:
|
|
5932
|
-
Printer:
|
|
5933
|
-
Proyector:
|
|
5949
|
+
Present: Cc,
|
|
5950
|
+
Printer: wc,
|
|
5951
|
+
Proyector: kc,
|
|
5934
5952
|
PushPin: nr,
|
|
5935
|
-
PushPinSolid:
|
|
5953
|
+
PushPinSolid: yc,
|
|
5936
5954
|
Question: Zn,
|
|
5937
5955
|
Quote: At,
|
|
5938
5956
|
Reaction: _n,
|
|
5939
|
-
Receipt:
|
|
5940
|
-
Record:
|
|
5941
|
-
RemoveFavorite:
|
|
5942
|
-
Replace:
|
|
5957
|
+
Receipt: Ec,
|
|
5958
|
+
Record: Fc,
|
|
5959
|
+
RemoveFavorite: Vc,
|
|
5960
|
+
Replace: Tc,
|
|
5943
5961
|
Reply: R1,
|
|
5944
5962
|
Reset: On,
|
|
5945
|
-
Rocket:
|
|
5946
|
-
Salad:
|
|
5947
|
-
Save:
|
|
5948
|
-
Schedule:
|
|
5963
|
+
Rocket: Bc,
|
|
5964
|
+
Salad: Ic,
|
|
5965
|
+
Save: jc,
|
|
5966
|
+
Schedule: Zc,
|
|
5949
5967
|
Search: w1,
|
|
5950
|
-
SearchPerson:
|
|
5951
|
-
Settings:
|
|
5968
|
+
SearchPerson: Oc,
|
|
5969
|
+
Settings: zc,
|
|
5952
5970
|
Share: Un,
|
|
5953
|
-
Shield:
|
|
5971
|
+
Shield: Wc,
|
|
5954
5972
|
ShoppingCart: sr,
|
|
5955
|
-
SignPost:
|
|
5956
|
-
Sleep:
|
|
5973
|
+
SignPost: Yc,
|
|
5974
|
+
Sleep: Qc,
|
|
5957
5975
|
Sliders: x1,
|
|
5958
5976
|
SolidPause: zn,
|
|
5959
5977
|
SolidPlay: Gn,
|
|
5960
5978
|
SolidStop: Bt,
|
|
5961
|
-
Sort:
|
|
5962
|
-
Sparkles:
|
|
5979
|
+
Sort: el,
|
|
5980
|
+
Sparkles: rl,
|
|
5963
5981
|
Spinner: Wn,
|
|
5964
|
-
Split:
|
|
5982
|
+
Split: nl,
|
|
5965
5983
|
Star: qn,
|
|
5966
5984
|
StarFilled: Xn,
|
|
5967
5985
|
Strikethrough: Yn,
|
|
5968
|
-
Suitcase:
|
|
5969
|
-
Swap:
|
|
5986
|
+
Suitcase: il,
|
|
5987
|
+
Swap: cl,
|
|
5970
5988
|
Table: Kn,
|
|
5971
|
-
Tablet:
|
|
5972
|
-
Tag:
|
|
5973
|
-
Target:
|
|
5989
|
+
Tablet: dl,
|
|
5990
|
+
Tag: ul,
|
|
5991
|
+
Target: gl,
|
|
5974
5992
|
TextSize: Qn,
|
|
5975
5993
|
ThumbsDown: ir,
|
|
5976
5994
|
ThumbsDownFilled: ar,
|
|
5977
5995
|
ThumbsUp: cr,
|
|
5978
5996
|
ThumbsUpFilled: lr,
|
|
5979
|
-
Timer:
|
|
5997
|
+
Timer: xl,
|
|
5980
5998
|
Underline: Jn,
|
|
5981
5999
|
Upload: es,
|
|
5982
6000
|
Upsell: $t,
|
|
5983
|
-
UserProtected:
|
|
6001
|
+
UserProtected: bl,
|
|
5984
6002
|
Video: ts,
|
|
5985
|
-
VideoRecorder:
|
|
5986
|
-
VideoRecorderNegative:
|
|
5987
|
-
Wallet:
|
|
6003
|
+
VideoRecorder: yl,
|
|
6004
|
+
VideoRecorderNegative: El,
|
|
6005
|
+
Wallet: Fl,
|
|
5988
6006
|
Warning: rs,
|
|
5989
|
-
Watch:
|
|
5990
|
-
WhatsappChat:
|
|
5991
|
-
Wifi:
|
|
6007
|
+
Watch: Vl,
|
|
6008
|
+
WhatsappChat: Tl,
|
|
6009
|
+
Wifi: Al,
|
|
5992
6010
|
Windows: os
|
|
5993
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6011
|
+
}, Symbol.toStringTag, { value: "Module" })), $l = (e, t) => /* @__PURE__ */ r(
|
|
5994
6012
|
"svg",
|
|
5995
6013
|
{
|
|
5996
6014
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6007,7 +6025,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
6007
6025
|
}
|
|
6008
6026
|
)
|
|
6009
6027
|
}
|
|
6010
|
-
),
|
|
6028
|
+
), Il = p($l), Pl = [
|
|
6011
6029
|
"append",
|
|
6012
6030
|
"className",
|
|
6013
6031
|
"pressed",
|
|
@@ -6019,7 +6037,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
6019
6037
|
"loading",
|
|
6020
6038
|
"emoji"
|
|
6021
6039
|
], dr = p((e, t) => {
|
|
6022
|
-
const o =
|
|
6040
|
+
const o = Pl.reduce((n, s) => {
|
|
6023
6041
|
const { [s]: i, ...a } = n;
|
|
6024
6042
|
return a;
|
|
6025
6043
|
}, e);
|
|
@@ -6029,7 +6047,7 @@ const W0 = (e, t) => /* @__PURE__ */ c(
|
|
|
6029
6047
|
...o,
|
|
6030
6048
|
variant: "ai",
|
|
6031
6049
|
ref: t,
|
|
6032
|
-
iconRotate: e.icon ==
|
|
6050
|
+
iconRotate: e.icon == Il
|
|
6033
6051
|
}
|
|
6034
6052
|
);
|
|
6035
6053
|
});
|
|
@@ -6075,7 +6093,7 @@ const Ae = Fe({
|
|
|
6075
6093
|
variant: "body",
|
|
6076
6094
|
align: "left"
|
|
6077
6095
|
}
|
|
6078
|
-
}),
|
|
6096
|
+
}), jl = {
|
|
6079
6097
|
"heading-large": "h1",
|
|
6080
6098
|
heading: "h2",
|
|
6081
6099
|
body: "p",
|
|
@@ -6107,7 +6125,7 @@ const Ae = Fe({
|
|
|
6107
6125
|
required: l,
|
|
6108
6126
|
...u
|
|
6109
6127
|
}, f) => {
|
|
6110
|
-
const g = s ??
|
|
6128
|
+
const g = s ?? jl[t ?? "body"], m = l ? /* @__PURE__ */ r("span", { className: "text-f1-foreground-critical", "aria-hidden": "true", children: " *" }) : null;
|
|
6111
6129
|
if (i !== void 0) {
|
|
6112
6130
|
const h = typeof i == "number" ? i : 1;
|
|
6113
6131
|
return m ? $e(
|
|
@@ -6318,7 +6336,7 @@ const fr = {
|
|
|
6318
6336
|
double: "border-double",
|
|
6319
6337
|
none: "border-none"
|
|
6320
6338
|
}
|
|
6321
|
-
},
|
|
6339
|
+
}, Dl = {}, Zl = {
|
|
6322
6340
|
// Special
|
|
6323
6341
|
auto: "w-auto",
|
|
6324
6342
|
full: "w-full",
|
|
@@ -6375,7 +6393,7 @@ const fr = {
|
|
|
6375
6393
|
"4/5": "w-4/5",
|
|
6376
6394
|
"1/6": "w-1/6",
|
|
6377
6395
|
"5/6": "w-5/6"
|
|
6378
|
-
},
|
|
6396
|
+
}, _l = {
|
|
6379
6397
|
auto: "h-auto",
|
|
6380
6398
|
full: "h-full",
|
|
6381
6399
|
screen: "h-screen",
|
|
@@ -6429,7 +6447,7 @@ const fr = {
|
|
|
6429
6447
|
"4/5": "h-4/5",
|
|
6430
6448
|
"1/6": "h-1/6",
|
|
6431
6449
|
"5/6": "h-5/6"
|
|
6432
|
-
},
|
|
6450
|
+
}, Ol = {
|
|
6433
6451
|
auto: "min-w-0",
|
|
6434
6452
|
full: "min-w-full",
|
|
6435
6453
|
screen: "min-w-screen",
|
|
@@ -6483,7 +6501,7 @@ const fr = {
|
|
|
6483
6501
|
"4/5": "min-w-4/5",
|
|
6484
6502
|
"1/6": "min-w-1/6",
|
|
6485
6503
|
"5/6": "min-w-5/6"
|
|
6486
|
-
},
|
|
6504
|
+
}, Ul = {
|
|
6487
6505
|
auto: "min-h-0",
|
|
6488
6506
|
full: "min-h-full",
|
|
6489
6507
|
screen: "min-h-screen",
|
|
@@ -6537,7 +6555,7 @@ const fr = {
|
|
|
6537
6555
|
"4/5": "min-h-4/5",
|
|
6538
6556
|
"1/6": "min-h-1/6",
|
|
6539
6557
|
"5/6": "min-h-5/6"
|
|
6540
|
-
},
|
|
6558
|
+
}, zl = {
|
|
6541
6559
|
auto: "max-w-none",
|
|
6542
6560
|
full: "max-w-full",
|
|
6543
6561
|
screen: "max-w-screen",
|
|
@@ -6591,7 +6609,7 @@ const fr = {
|
|
|
6591
6609
|
"4/5": "max-w-4/5",
|
|
6592
6610
|
"1/6": "max-w-1/6",
|
|
6593
6611
|
"5/6": "max-w-5/6"
|
|
6594
|
-
},
|
|
6612
|
+
}, Gl = {
|
|
6595
6613
|
auto: "max-h-none",
|
|
6596
6614
|
full: "max-h-full",
|
|
6597
6615
|
screen: "max-h-screen",
|
|
@@ -6646,12 +6664,12 @@ const fr = {
|
|
|
6646
6664
|
"1/6": "max-h-1/6",
|
|
6647
6665
|
"5/6": "max-h-5/6"
|
|
6648
6666
|
}, hr = {
|
|
6649
|
-
width:
|
|
6650
|
-
height:
|
|
6651
|
-
minWidth:
|
|
6652
|
-
minHeight:
|
|
6653
|
-
maxWidth:
|
|
6654
|
-
maxHeight:
|
|
6667
|
+
width: Zl,
|
|
6668
|
+
height: _l,
|
|
6669
|
+
minWidth: Ol,
|
|
6670
|
+
minHeight: Ul,
|
|
6671
|
+
maxWidth: zl,
|
|
6672
|
+
maxHeight: Gl
|
|
6655
6673
|
}, gr = {
|
|
6656
6674
|
display: {
|
|
6657
6675
|
block: "block",
|
|
@@ -6737,7 +6755,7 @@ const fr = {
|
|
|
6737
6755
|
true: "shrink",
|
|
6738
6756
|
false: "shrink-0"
|
|
6739
6757
|
}
|
|
6740
|
-
},
|
|
6758
|
+
}, Wl = {}, Cr = {
|
|
6741
6759
|
columns: {
|
|
6742
6760
|
none: "grid-cols-none",
|
|
6743
6761
|
1: "grid-cols-1",
|
|
@@ -6943,13 +6961,13 @@ const fr = {
|
|
|
6943
6961
|
"5xl": "mr-16",
|
|
6944
6962
|
auto: "mr-auto"
|
|
6945
6963
|
}
|
|
6946
|
-
},
|
|
6964
|
+
}, ql = {}, Xl = {
|
|
6947
6965
|
visible: "overflow-visible",
|
|
6948
6966
|
hidden: "overflow-hidden",
|
|
6949
6967
|
auto: "overflow-auto",
|
|
6950
6968
|
scroll: "overflow-scroll"
|
|
6951
6969
|
}, xr = {
|
|
6952
|
-
overflow:
|
|
6970
|
+
overflow: Xl,
|
|
6953
6971
|
overflowX: {
|
|
6954
6972
|
visible: "overflow-x-visible",
|
|
6955
6973
|
hidden: "overflow-x-hidden",
|
|
@@ -6962,7 +6980,7 @@ const fr = {
|
|
|
6962
6980
|
auto: "overflow-y-auto",
|
|
6963
6981
|
scroll: "overflow-y-scroll"
|
|
6964
6982
|
}
|
|
6965
|
-
},
|
|
6983
|
+
}, Yl = {}, kr = {
|
|
6966
6984
|
padding: {
|
|
6967
6985
|
none: "p-0",
|
|
6968
6986
|
xs: "p-1",
|
|
@@ -7047,7 +7065,7 @@ const fr = {
|
|
|
7047
7065
|
"4xl": "pr-12",
|
|
7048
7066
|
"5xl": "pr-16"
|
|
7049
7067
|
}
|
|
7050
|
-
},
|
|
7068
|
+
}, Kl = {}, Ql = {
|
|
7051
7069
|
boxShadow: {
|
|
7052
7070
|
none: "shadow-none",
|
|
7053
7071
|
sm: "shadow",
|
|
@@ -7065,7 +7083,7 @@ const fr = {
|
|
|
7065
7083
|
40: "z-40",
|
|
7066
7084
|
50: "z-50"
|
|
7067
7085
|
}
|
|
7068
|
-
},
|
|
7086
|
+
}, Jl = {
|
|
7069
7087
|
...gr,
|
|
7070
7088
|
...vr,
|
|
7071
7089
|
...kr,
|
|
@@ -7079,21 +7097,21 @@ const fr = {
|
|
|
7079
7097
|
...pr,
|
|
7080
7098
|
...br
|
|
7081
7099
|
};
|
|
7082
|
-
function
|
|
7100
|
+
function e2(e, t) {
|
|
7083
7101
|
return t.split(" ").map((o) => `${e}:${o}`).join(" ");
|
|
7084
7102
|
}
|
|
7085
|
-
function
|
|
7103
|
+
function t2(e, t) {
|
|
7086
7104
|
const o = [];
|
|
7087
7105
|
for (const [n, s] of Object.entries(t)) {
|
|
7088
7106
|
if (s == null) continue;
|
|
7089
|
-
const i =
|
|
7107
|
+
const i = Jl[n];
|
|
7090
7108
|
if (!i) continue;
|
|
7091
7109
|
const a = i[String(s)];
|
|
7092
|
-
a && o.push(
|
|
7110
|
+
a && o.push(e2(e, a));
|
|
7093
7111
|
}
|
|
7094
7112
|
return o.join(" ");
|
|
7095
7113
|
}
|
|
7096
|
-
const
|
|
7114
|
+
const r2 = Fe({
|
|
7097
7115
|
base: "",
|
|
7098
7116
|
variants: {
|
|
7099
7117
|
...gr,
|
|
@@ -7107,17 +7125,17 @@ const e2 = Fe({
|
|
|
7107
7125
|
...ur,
|
|
7108
7126
|
...xr,
|
|
7109
7127
|
...pr,
|
|
7110
|
-
...
|
|
7128
|
+
...Ql,
|
|
7111
7129
|
...br
|
|
7112
7130
|
},
|
|
7113
7131
|
defaultVariants: {
|
|
7114
|
-
...
|
|
7115
|
-
...
|
|
7116
|
-
...
|
|
7117
|
-
...
|
|
7118
|
-
...
|
|
7132
|
+
...Kl,
|
|
7133
|
+
...ql,
|
|
7134
|
+
...Wl,
|
|
7135
|
+
...Dl,
|
|
7136
|
+
...Yl
|
|
7119
7137
|
}
|
|
7120
|
-
}),
|
|
7138
|
+
}), o2 = ["sm", "md", "lg", "xl"], Lr = p(
|
|
7121
7139
|
({
|
|
7122
7140
|
// Display & Position
|
|
7123
7141
|
display: e,
|
|
@@ -7140,7 +7158,7 @@ const e2 = Fe({
|
|
|
7140
7158
|
marginX: v,
|
|
7141
7159
|
marginY: w,
|
|
7142
7160
|
marginTop: k,
|
|
7143
|
-
marginBottom:
|
|
7161
|
+
marginBottom: S,
|
|
7144
7162
|
marginLeft: T,
|
|
7145
7163
|
marginRight: E,
|
|
7146
7164
|
// Gap
|
|
@@ -7174,7 +7192,7 @@ const e2 = Fe({
|
|
|
7174
7192
|
borderRadiusBottomRight: de,
|
|
7175
7193
|
borderStyle: M,
|
|
7176
7194
|
// Overflow
|
|
7177
|
-
overflow:
|
|
7195
|
+
overflow: V,
|
|
7178
7196
|
overflowX: N,
|
|
7179
7197
|
overflowY: j,
|
|
7180
7198
|
// Divider
|
|
@@ -7194,18 +7212,18 @@ const e2 = Fe({
|
|
|
7194
7212
|
lg: je,
|
|
7195
7213
|
xl: r1,
|
|
7196
7214
|
...o1
|
|
7197
|
-
},
|
|
7198
|
-
const He = D && D !== "none" || Q && Q !== "none" || W && W !== "none" || he && he !== "none", De = Z && Z !== "none" || He, n1 = { sm: e1, md: t1, lg: je, xl: r1 }, s1 =
|
|
7215
|
+
}, Ve) => {
|
|
7216
|
+
const He = D && D !== "none" || Q && Q !== "none" || W && W !== "none" || he && he !== "none", De = Z && Z !== "none" || He, n1 = { sm: e1, md: t1, lg: je, xl: r1 }, s1 = o2.map((Ze) => {
|
|
7199
7217
|
const _e = n1[Ze];
|
|
7200
|
-
return _e ?
|
|
7218
|
+
return _e ? t2(Ze, _e) : "";
|
|
7201
7219
|
}).filter(Boolean).join(" ");
|
|
7202
7220
|
return /* @__PURE__ */ r(
|
|
7203
7221
|
"div",
|
|
7204
7222
|
{
|
|
7205
|
-
ref:
|
|
7223
|
+
ref: Ve,
|
|
7206
7224
|
className: x(
|
|
7207
7225
|
He && "border-0",
|
|
7208
|
-
|
|
7226
|
+
r2({
|
|
7209
7227
|
display: e,
|
|
7210
7228
|
position: t,
|
|
7211
7229
|
top: o,
|
|
@@ -7224,7 +7242,7 @@ const e2 = Fe({
|
|
|
7224
7242
|
marginX: v,
|
|
7225
7243
|
marginY: w,
|
|
7226
7244
|
marginTop: k,
|
|
7227
|
-
marginBottom:
|
|
7245
|
+
marginBottom: S,
|
|
7228
7246
|
marginLeft: T,
|
|
7229
7247
|
marginRight: E,
|
|
7230
7248
|
gap: L,
|
|
@@ -7252,7 +7270,7 @@ const e2 = Fe({
|
|
|
7252
7270
|
borderRadiusBottomLeft: se,
|
|
7253
7271
|
borderRadiusBottomRight: de,
|
|
7254
7272
|
borderStyle: M,
|
|
7255
|
-
overflow:
|
|
7273
|
+
overflow: V,
|
|
7256
7274
|
overflowX: N,
|
|
7257
7275
|
overflowY: j,
|
|
7258
7276
|
divider: B,
|
|
@@ -7282,7 +7300,7 @@ const a1 = ss(
|
|
|
7282
7300
|
type: "layout"
|
|
7283
7301
|
},
|
|
7284
7302
|
Lr
|
|
7285
|
-
),
|
|
7303
|
+
), n2 = Fe({
|
|
7286
7304
|
// Gap is a fixed `gap-md` (8px) for every button group — a constant rhythm
|
|
7287
7305
|
// across surfaces, not a per-call knob.
|
|
7288
7306
|
base: "flex gap-md",
|
|
@@ -7357,7 +7375,7 @@ const a1 = ss(
|
|
|
7357
7375
|
fullWidthOnStack: !1,
|
|
7358
7376
|
reverseOnStack: !1
|
|
7359
7377
|
}
|
|
7360
|
-
}), c1 = { sm: 640, md: 768, "container-md": 448 }, g1 = (e) => "type" in e && e.type === "separator", qe = (e) => "type" in e && e.type === "split",
|
|
7378
|
+
}), c1 = { sm: 640, md: 768, "container-md": 448 }, g1 = (e) => "type" in e && e.type === "separator", qe = (e) => "type" in e && e.type === "split", s2 = (e) => !("type" in e), Xe = (e, t, o) => /* @__PURE__ */ r(
|
|
7361
7379
|
pe,
|
|
7362
7380
|
{
|
|
7363
7381
|
label: e.label,
|
|
@@ -7416,14 +7434,14 @@ function Z1({
|
|
|
7416
7434
|
box: "border-box"
|
|
7417
7435
|
}), h = a === "sm" || a === "md" ? c1[a] : c1.md, C = It(`(min-width: ${h}px)`, {
|
|
7418
7436
|
initializeWithValue: !1
|
|
7419
|
-
}), v = a === "none" ? !0 : a === "container-md" ? m >= c1["container-md"] : C, w = typeof n == "string" ? n : n.base, k = typeof n == "string" ? n : n.md,
|
|
7437
|
+
}), v = a === "none" ? !0 : a === "container-md" ? m >= c1["container-md"] : C, w = typeof n == "string" ? n : n.base, k = typeof n == "string" ? n : n.md, S = v ? k : w, T = Array.isArray(
|
|
7420
7438
|
t
|
|
7421
7439
|
) ? t : [], E = t != null && !Array.isArray(t) ? t : void 0, L = {
|
|
7422
7440
|
primaryAction: e,
|
|
7423
7441
|
secondaryItems: T,
|
|
7424
7442
|
secondaryLink: E,
|
|
7425
7443
|
otherActions: o,
|
|
7426
|
-
size:
|
|
7444
|
+
size: S,
|
|
7427
7445
|
gap: s,
|
|
7428
7446
|
align: i,
|
|
7429
7447
|
canOverflow: u
|
|
@@ -7439,7 +7457,7 @@ function Z1({
|
|
|
7439
7457
|
// natural width; only the first child — the flex-1 cluster — shrinks,
|
|
7440
7458
|
// so the title truncates against it rather than squeezing the buttons.
|
|
7441
7459
|
"flex w-full items-center [&>*:not(:first-child)]:shrink-0"
|
|
7442
|
-
) :
|
|
7460
|
+
) : n2({
|
|
7443
7461
|
align: i,
|
|
7444
7462
|
stack: a,
|
|
7445
7463
|
fullWidthOnStack: d,
|
|
@@ -7448,11 +7466,11 @@ function Z1({
|
|
|
7448
7466
|
f
|
|
7449
7467
|
),
|
|
7450
7468
|
style: { gap: s },
|
|
7451
|
-
children: v ? /* @__PURE__ */ r(
|
|
7469
|
+
children: v ? /* @__PURE__ */ r(a2, { ...L }, "row") : /* @__PURE__ */ r(i2, { ...L }, "stacked")
|
|
7452
7470
|
}
|
|
7453
7471
|
);
|
|
7454
7472
|
}
|
|
7455
|
-
function
|
|
7473
|
+
function i2({
|
|
7456
7474
|
primaryAction: e,
|
|
7457
7475
|
secondaryItems: t,
|
|
7458
7476
|
secondaryLink: o,
|
|
@@ -7471,7 +7489,7 @@ function n2({
|
|
|
7471
7489
|
e && Mr(e, s)
|
|
7472
7490
|
] });
|
|
7473
7491
|
}
|
|
7474
|
-
function
|
|
7492
|
+
function a2({
|
|
7475
7493
|
primaryAction: e,
|
|
7476
7494
|
secondaryItems: t,
|
|
7477
7495
|
secondaryLink: o,
|
|
@@ -7482,7 +7500,7 @@ function s2({
|
|
|
7482
7500
|
canOverflow: d
|
|
7483
7501
|
}) {
|
|
7484
7502
|
const l = ee(
|
|
7485
|
-
() => t.filter(
|
|
7503
|
+
() => t.filter(s2),
|
|
7486
7504
|
[t]
|
|
7487
7505
|
), {
|
|
7488
7506
|
containerRef: u,
|
|
@@ -7495,7 +7513,7 @@ function s2({
|
|
|
7495
7513
|
X(() => {
|
|
7496
7514
|
f.current?.setAttribute("inert", "");
|
|
7497
7515
|
}, [f]);
|
|
7498
|
-
const v = d && C ? m : l, w = d ? C ? h : [] : [], k = new Set(v.map((y) => y.id)),
|
|
7516
|
+
const v = d && C ? m : l, w = d ? C ? h : [] : [], k = new Set(v.map((y) => y.id)), S = e ? Mr(e, s) : null, T = t.filter(qe), E = t[t.length - 1], L = E != null && g1(E) && (T.length > 0 || S != null), b = [];
|
|
7499
7517
|
t.forEach((y, R) => {
|
|
7500
7518
|
if (!qe(y)) {
|
|
7501
7519
|
if (g1(y)) {
|
|
@@ -7561,7 +7579,7 @@ function s2({
|
|
|
7561
7579
|
(y) => F1(y, s, "outline")
|
|
7562
7580
|
),
|
|
7563
7581
|
L && /* @__PURE__ */ r(_1, {}),
|
|
7564
|
-
|
|
7582
|
+
S
|
|
7565
7583
|
] });
|
|
7566
7584
|
}
|
|
7567
7585
|
function _1() {
|
|
@@ -7574,22 +7592,22 @@ function _1() {
|
|
|
7574
7592
|
}
|
|
7575
7593
|
);
|
|
7576
7594
|
}
|
|
7577
|
-
const O1 = 8,
|
|
7595
|
+
const O1 = 8, c2 = {
|
|
7578
7596
|
sm: "flex flex-col @xs:flex-row @xs:items-center @xs:justify-between @xs:gap-4",
|
|
7579
7597
|
md: "flex flex-col @md:flex-row @md:items-center @md:justify-between @md:gap-4",
|
|
7580
7598
|
lg: "flex flex-col @lg:flex-row @lg:items-center @lg:justify-between @lg:gap-4",
|
|
7581
7599
|
never: "flex flex-row items-center justify-between gap-4"
|
|
7582
|
-
},
|
|
7600
|
+
}, l2 = {
|
|
7583
7601
|
sm: "@xs:min-w-0 @xs:flex-1",
|
|
7584
7602
|
md: "@md:min-w-0 @md:flex-1",
|
|
7585
7603
|
lg: "@lg:min-w-0 @lg:flex-1",
|
|
7586
7604
|
never: "min-w-0 flex-1"
|
|
7587
|
-
},
|
|
7605
|
+
}, d2 = {
|
|
7588
7606
|
sm: "hidden @xs:flex",
|
|
7589
7607
|
md: "hidden @md:flex",
|
|
7590
7608
|
lg: "hidden @lg:flex",
|
|
7591
7609
|
never: "flex"
|
|
7592
|
-
},
|
|
7610
|
+
}, f2 = {
|
|
7593
7611
|
sm: "flex @xs:hidden",
|
|
7594
7612
|
md: "flex @md:hidden",
|
|
7595
7613
|
lg: "flex @lg:hidden",
|
|
@@ -7599,14 +7617,14 @@ const O1 = 8, i2 = {
|
|
|
7599
7617
|
md: "-mx-4 mt-4 border-0 border-t border-solid border-t-f1-border-secondary px-4 pt-4 @md:mx-0 @md:mt-0 @md:border-t-0 @md:px-0 @md:pt-0",
|
|
7600
7618
|
lg: "-mx-4 mt-4 border-0 border-t border-solid border-t-f1-border-secondary px-4 pt-4 @lg:mx-0 @lg:mt-0 @lg:border-t-0 @lg:px-0 @lg:pt-0",
|
|
7601
7619
|
never: ""
|
|
7602
|
-
},
|
|
7620
|
+
}, u2 = {
|
|
7603
7621
|
neutral: "secondary",
|
|
7604
7622
|
info: "info",
|
|
7605
7623
|
positive: "positive",
|
|
7606
7624
|
warning: "warning",
|
|
7607
7625
|
critical: "critical"
|
|
7608
7626
|
};
|
|
7609
|
-
function
|
|
7627
|
+
function h2({
|
|
7610
7628
|
primaryAction: e,
|
|
7611
7629
|
secondaryActions: t,
|
|
7612
7630
|
otherActions: o,
|
|
@@ -7630,7 +7648,7 @@ function f2({
|
|
|
7630
7648
|
le,
|
|
7631
7649
|
{
|
|
7632
7650
|
icon: i.icon,
|
|
7633
|
-
color:
|
|
7651
|
+
color: u2[i.variant],
|
|
7634
7652
|
size: "lg",
|
|
7635
7653
|
role: "img",
|
|
7636
7654
|
"aria-label": i.label
|
|
@@ -7640,7 +7658,7 @@ function f2({
|
|
|
7640
7658
|
);
|
|
7641
7659
|
const u = x(
|
|
7642
7660
|
"relative z-[1]",
|
|
7643
|
-
|
|
7661
|
+
l2[d],
|
|
7644
7662
|
l1[d],
|
|
7645
7663
|
d !== "never" && a && "mt-3 pt-3"
|
|
7646
7664
|
), f = (C) => (
|
|
@@ -7656,7 +7674,7 @@ function f2({
|
|
|
7656
7674
|
hideLabel: w,
|
|
7657
7675
|
disabled: s.disabled,
|
|
7658
7676
|
onClick: s.onClick
|
|
7659
|
-
} : void 0,
|
|
7677
|
+
} : void 0, S = n ? {
|
|
7660
7678
|
id: "confirm",
|
|
7661
7679
|
icon: C1,
|
|
7662
7680
|
label: n.label ?? "Confirm",
|
|
@@ -7667,7 +7685,7 @@ function f2({
|
|
|
7667
7685
|
return /* @__PURE__ */ r(
|
|
7668
7686
|
Z1,
|
|
7669
7687
|
{
|
|
7670
|
-
primaryAction:
|
|
7688
|
+
primaryAction: S,
|
|
7671
7689
|
secondaryActions: k ? [k] : void 0,
|
|
7672
7690
|
size: l,
|
|
7673
7691
|
gap: O1,
|
|
@@ -7681,7 +7699,7 @@ function f2({
|
|
|
7681
7699
|
{
|
|
7682
7700
|
className: x(
|
|
7683
7701
|
"relative z-[1] min-w-0 flex-1",
|
|
7684
|
-
|
|
7702
|
+
d2[d]
|
|
7685
7703
|
),
|
|
7686
7704
|
onClick: (w) => w.stopPropagation(),
|
|
7687
7705
|
children: C(!0)
|
|
@@ -7695,7 +7713,7 @@ function f2({
|
|
|
7695
7713
|
{
|
|
7696
7714
|
className: x(
|
|
7697
7715
|
"relative z-[1]",
|
|
7698
|
-
|
|
7716
|
+
f2[d],
|
|
7699
7717
|
l1[d],
|
|
7700
7718
|
a && "mt-3 pt-3"
|
|
7701
7719
|
),
|
|
@@ -7758,11 +7776,11 @@ const Er = p(
|
|
|
7758
7776
|
onClick: v,
|
|
7759
7777
|
disableOverlayLink: w = !1,
|
|
7760
7778
|
stackAt: k = "never"
|
|
7761
|
-
},
|
|
7779
|
+
}, S) {
|
|
7762
7780
|
const T = !!h && h.visible !== !1, L = /* @__PURE__ */ c(
|
|
7763
7781
|
Dt,
|
|
7764
7782
|
{
|
|
7765
|
-
ref: T ? void 0 :
|
|
7783
|
+
ref: T ? void 0 : S,
|
|
7766
7784
|
className: x(
|
|
7767
7785
|
"group relative @container bg-f1-background shadow-none transition-all",
|
|
7768
7786
|
g && "p-3",
|
|
@@ -7787,7 +7805,7 @@ const Er = p(
|
|
|
7787
7805
|
children: " "
|
|
7788
7806
|
}
|
|
7789
7807
|
),
|
|
7790
|
-
/* @__PURE__ */ c("div", { className:
|
|
7808
|
+
/* @__PURE__ */ c("div", { className: c2[k], children: [
|
|
7791
7809
|
/* @__PURE__ */ c("div", { className: "flex min-w-0 flex-row items-center gap-3", children: [
|
|
7792
7810
|
n && /* @__PURE__ */ r(us, { avatar: n, size: "lg" }),
|
|
7793
7811
|
/* @__PURE__ */ c("div", { className: "flex min-w-0 flex-col gap-0", children: [
|
|
@@ -7813,7 +7831,7 @@ const Er = p(
|
|
|
7813
7831
|
] })
|
|
7814
7832
|
] }),
|
|
7815
7833
|
/* @__PURE__ */ r(
|
|
7816
|
-
|
|
7834
|
+
h2,
|
|
7817
7835
|
{
|
|
7818
7836
|
primaryAction: s,
|
|
7819
7837
|
secondaryActions: i,
|
|
@@ -7829,11 +7847,11 @@ const Er = p(
|
|
|
7829
7847
|
]
|
|
7830
7848
|
}
|
|
7831
7849
|
);
|
|
7832
|
-
return T ? /* @__PURE__ */ r(hs, { ref:
|
|
7850
|
+
return T ? /* @__PURE__ */ r(hs, { ref: S, alert: h, fullHeight: m, children: L }) : L;
|
|
7833
7851
|
}
|
|
7834
7852
|
);
|
|
7835
7853
|
Er.displayName = "F0CardRow";
|
|
7836
|
-
const
|
|
7854
|
+
const g2 = ({ compact: e = !1 }) => /* @__PURE__ */ r(
|
|
7837
7855
|
Dt,
|
|
7838
7856
|
{
|
|
7839
7857
|
className: x(
|
|
@@ -7858,17 +7876,17 @@ const u2 = ({ compact: e = !1 }) => /* @__PURE__ */ r(
|
|
|
7858
7876
|
/* @__PURE__ */ r(ue, { className: "h-9 w-24 rounded-md" })
|
|
7859
7877
|
] })
|
|
7860
7878
|
}
|
|
7861
|
-
),
|
|
7879
|
+
), p2 = Pt(
|
|
7862
7880
|
ds(
|
|
7863
7881
|
"F0CardRow",
|
|
7864
|
-
jt(Er,
|
|
7882
|
+
jt(Er, g2)
|
|
7865
7883
|
)
|
|
7866
|
-
),
|
|
7884
|
+
), f9 = ["xs", "sm", "md", "lg"], u9 = [
|
|
7867
7885
|
"inProgress",
|
|
7868
7886
|
"executing",
|
|
7869
7887
|
"writing",
|
|
7870
7888
|
"completed"
|
|
7871
|
-
],
|
|
7889
|
+
], m2 = ({
|
|
7872
7890
|
onUploadFiles: e,
|
|
7873
7891
|
isAtMaxFiles: t,
|
|
7874
7892
|
maxFiles: o,
|
|
@@ -7957,7 +7975,7 @@ const u2 = ({ compact: e = !1 }) => /* @__PURE__ */ r(
|
|
|
7957
7975
|
label: v.ai.recordAudio,
|
|
7958
7976
|
hideLabel: !0,
|
|
7959
7977
|
type: "button",
|
|
7960
|
-
icon:
|
|
7978
|
+
icon: St,
|
|
7961
7979
|
variant: "outline",
|
|
7962
7980
|
size: "md",
|
|
7963
7981
|
disabled: a,
|
|
@@ -7987,7 +8005,7 @@ const u2 = ({ compact: e = !1 }) => /* @__PURE__ */ r(
|
|
|
7987
8005
|
)
|
|
7988
8006
|
] })
|
|
7989
8007
|
] });
|
|
7990
|
-
},
|
|
8008
|
+
}, C2 = ({
|
|
7991
8009
|
attachedFiles: e,
|
|
7992
8010
|
isUploading: t,
|
|
7993
8011
|
onRemove: o,
|
|
@@ -8000,7 +8018,7 @@ const u2 = ({ compact: e = !1 }) => /* @__PURE__ */ r(
|
|
|
8000
8018
|
className: "flex flex-wrap gap-1 px-1 pt-1",
|
|
8001
8019
|
children: e.map(
|
|
8002
8020
|
(s) => s.status === "uploading" ? /* @__PURE__ */ r(ue, { className: "h-9 w-36 rounded-[10px]" }, s.id) : s.status === "error" ? /* @__PURE__ */ r(
|
|
8003
|
-
|
|
8021
|
+
v2,
|
|
8004
8022
|
{
|
|
8005
8023
|
att: s,
|
|
8006
8024
|
onRemove: o,
|
|
@@ -8025,7 +8043,7 @@ const u2 = ({ compact: e = !1 }) => /* @__PURE__ */ r(
|
|
|
8025
8043
|
)
|
|
8026
8044
|
}
|
|
8027
8045
|
);
|
|
8028
|
-
function
|
|
8046
|
+
function v2({
|
|
8029
8047
|
att: e,
|
|
8030
8048
|
onRemove: t,
|
|
8031
8049
|
removeLabel: o
|
|
@@ -8048,21 +8066,21 @@ function m2({
|
|
|
8048
8066
|
] });
|
|
8049
8067
|
return e.errorMessage ? /* @__PURE__ */ r(ps, { label: e.errorMessage, children: n }) : n;
|
|
8050
8068
|
}
|
|
8051
|
-
const
|
|
8069
|
+
const w2 = {
|
|
8052
8070
|
soft: {
|
|
8053
8071
|
text: "",
|
|
8054
8072
|
bg: "bg-f1-background-info",
|
|
8055
8073
|
fontColor: "text-f1-foreground-info",
|
|
8056
8074
|
formBorder: "[&_form]:border-f1-border-info"
|
|
8057
8075
|
}
|
|
8058
|
-
},
|
|
8076
|
+
}, x2 = ({
|
|
8059
8077
|
creditWarning: e,
|
|
8060
8078
|
children: t
|
|
8061
8079
|
}) => {
|
|
8062
8080
|
const o = Y();
|
|
8063
8081
|
if (!e) return t;
|
|
8064
8082
|
const n = {
|
|
8065
|
-
...
|
|
8083
|
+
...w2[e.level],
|
|
8066
8084
|
text: o.ai.creditWarning.soft
|
|
8067
8085
|
};
|
|
8068
8086
|
return /* @__PURE__ */ c(
|
|
@@ -8107,7 +8125,7 @@ const C2 = {
|
|
|
8107
8125
|
}
|
|
8108
8126
|
);
|
|
8109
8127
|
};
|
|
8110
|
-
function
|
|
8128
|
+
function k2({
|
|
8111
8129
|
isOpen: e,
|
|
8112
8130
|
results: t,
|
|
8113
8131
|
isLoading: o,
|
|
@@ -8195,7 +8213,7 @@ function w2({
|
|
|
8195
8213
|
}
|
|
8196
8214
|
);
|
|
8197
8215
|
}
|
|
8198
|
-
const
|
|
8216
|
+
const b2 = ({
|
|
8199
8217
|
quote: e,
|
|
8200
8218
|
onRemove: t
|
|
8201
8219
|
}) => {
|
|
@@ -8231,7 +8249,7 @@ const x2 = ({
|
|
|
8231
8249
|
]
|
|
8232
8250
|
}
|
|
8233
8251
|
) });
|
|
8234
|
-
},
|
|
8252
|
+
}, L2 = ({
|
|
8235
8253
|
placeholders: e,
|
|
8236
8254
|
defaultPlaceholder: t,
|
|
8237
8255
|
inputValue: o,
|
|
@@ -8255,7 +8273,7 @@ const x2 = ({
|
|
|
8255
8273
|
};
|
|
8256
8274
|
f(!0), a("");
|
|
8257
8275
|
let w = 0;
|
|
8258
|
-
const k = 50,
|
|
8276
|
+
const k = 50, S = 30, T = 2e3, E = 1e3;
|
|
8259
8277
|
return m.current = setInterval(() => {
|
|
8260
8278
|
w < C.length ? (a(C.slice(0, w + 1)), w++) : (m.current && (clearInterval(m.current), m.current = null), g.current = setTimeout(() => {
|
|
8261
8279
|
h.current = setInterval(() => {
|
|
@@ -8263,7 +8281,7 @@ const x2 = ({
|
|
|
8263
8281
|
const L = (d + 1) % Math.max(e.length, 1);
|
|
8264
8282
|
l(L);
|
|
8265
8283
|
}, E));
|
|
8266
|
-
},
|
|
8284
|
+
}, S);
|
|
8267
8285
|
}, T));
|
|
8268
8286
|
}, k), () => {
|
|
8269
8287
|
v();
|
|
@@ -8304,7 +8322,7 @@ const x2 = ({
|
|
|
8304
8322
|
)
|
|
8305
8323
|
}
|
|
8306
8324
|
) });
|
|
8307
|
-
},
|
|
8325
|
+
}, y2 = ({
|
|
8308
8326
|
textareaRef: e,
|
|
8309
8327
|
highlightRef: t,
|
|
8310
8328
|
inputValue: o,
|
|
@@ -8410,7 +8428,7 @@ const x2 = ({
|
|
|
8410
8428
|
}
|
|
8411
8429
|
),
|
|
8412
8430
|
u && /* @__PURE__ */ r(
|
|
8413
|
-
|
|
8431
|
+
L2,
|
|
8414
8432
|
{
|
|
8415
8433
|
placeholders: f,
|
|
8416
8434
|
defaultPlaceholder: g,
|
|
@@ -8420,11 +8438,11 @@ const x2 = ({
|
|
|
8420
8438
|
)
|
|
8421
8439
|
]
|
|
8422
8440
|
}
|
|
8423
|
-
),
|
|
8424
|
-
function
|
|
8441
|
+
), M2 = 5;
|
|
8442
|
+
function E2(e, t = M2) {
|
|
8425
8443
|
return e.length <= t ? e : [...e].sort(() => 0.5 - Math.random()).slice(0, t);
|
|
8426
8444
|
}
|
|
8427
|
-
const
|
|
8445
|
+
const R2 = ({
|
|
8428
8446
|
suggestions: e,
|
|
8429
8447
|
onItemClick: t,
|
|
8430
8448
|
onItemHover: o,
|
|
@@ -8467,7 +8485,7 @@ const M2 = ({
|
|
|
8467
8485
|
/* @__PURE__ */ r(le, { icon: a.icon, size: "sm" }),
|
|
8468
8486
|
/* @__PURE__ */ r("span", { children: a.label })
|
|
8469
8487
|
] }),
|
|
8470
|
-
/* @__PURE__ */ r("div", { className: "flex flex-col", children:
|
|
8488
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col", children: E2(a.items).map((d, l) => /* @__PURE__ */ c(
|
|
8471
8489
|
"button",
|
|
8472
8490
|
{
|
|
8473
8491
|
type: "button",
|
|
@@ -8506,7 +8524,7 @@ const M2 = ({
|
|
|
8506
8524
|
function U1(e) {
|
|
8507
8525
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
8508
8526
|
}
|
|
8509
|
-
function
|
|
8527
|
+
function F2(e, t, o) {
|
|
8510
8528
|
const n = o?.cursorPosition ?? e.length, s = o?.inlineCompletion ?? null, i = [];
|
|
8511
8529
|
for (const f of t) {
|
|
8512
8530
|
const g = `@${f.name}`;
|
|
@@ -8531,7 +8549,7 @@ function E2(e, t, o) {
|
|
|
8531
8549
|
u(f.start), a.push({ type: "mention", text: e.slice(f.start, f.end) }), d = f.end;
|
|
8532
8550
|
return u(e.length), !l && s && n >= d && a.push({ type: "ghost", text: s }), a.length === 0 ? [{ type: "text", text: e }] : a;
|
|
8533
8551
|
}
|
|
8534
|
-
function
|
|
8552
|
+
function N2(e, t) {
|
|
8535
8553
|
if (t === "*/*") return !0;
|
|
8536
8554
|
if (t.endsWith("/*")) {
|
|
8537
8555
|
const o = t.slice(0, t.indexOf("/"));
|
|
@@ -8539,15 +8557,15 @@ function R2(e, t) {
|
|
|
8539
8557
|
}
|
|
8540
8558
|
return e === t;
|
|
8541
8559
|
}
|
|
8542
|
-
function
|
|
8560
|
+
function V2(e, t) {
|
|
8543
8561
|
if (!t) return e;
|
|
8544
8562
|
const o = Array.isArray(t) ? t : [t];
|
|
8545
8563
|
return o.length === 0 ? e : e.filter(
|
|
8546
|
-
(n) => o.some((s) =>
|
|
8564
|
+
(n) => o.some((s) => N2(n.type, s))
|
|
8547
8565
|
);
|
|
8548
8566
|
}
|
|
8549
|
-
const
|
|
8550
|
-
function
|
|
8567
|
+
const S2 = 4e3;
|
|
8568
|
+
function T2(e) {
|
|
8551
8569
|
const [t, o] = P([]), [n, s] = P(null), i = I(
|
|
8552
8570
|
null
|
|
8553
8571
|
), a = I(null), d = Y(), l = e?.onUploadFiles, u = e?.allowedMimeTypes, f = e?.maxFiles, g = ee(() => {
|
|
@@ -8560,7 +8578,7 @@ function S2(e) {
|
|
|
8560
8578
|
const C = q((T) => {
|
|
8561
8579
|
i.current && clearTimeout(i.current), s(T), i.current = setTimeout(() => {
|
|
8562
8580
|
s(null), i.current = null;
|
|
8563
|
-
},
|
|
8581
|
+
}, S2);
|
|
8564
8582
|
}, []);
|
|
8565
8583
|
X(
|
|
8566
8584
|
() => () => {
|
|
@@ -8571,7 +8589,7 @@ function S2(e) {
|
|
|
8571
8589
|
const v = q(
|
|
8572
8590
|
async (T) => {
|
|
8573
8591
|
if (T.length === 0 || !l) return;
|
|
8574
|
-
const E =
|
|
8592
|
+
const E = V2(T, u);
|
|
8575
8593
|
if (E.length === 0) return;
|
|
8576
8594
|
if (f !== void 0 && h.current + E.length > f) {
|
|
8577
8595
|
C(
|
|
@@ -8633,7 +8651,7 @@ function S2(e) {
|
|
|
8633
8651
|
[v]
|
|
8634
8652
|
), k = q((T) => {
|
|
8635
8653
|
o((E) => E.filter((L) => L.id !== T));
|
|
8636
|
-
}, []),
|
|
8654
|
+
}, []), S = q(() => {
|
|
8637
8655
|
o([]);
|
|
8638
8656
|
}, []);
|
|
8639
8657
|
return {
|
|
@@ -8646,12 +8664,12 @@ function S2(e) {
|
|
|
8646
8664
|
processFiles: v,
|
|
8647
8665
|
handleFileSelect: w,
|
|
8648
8666
|
handleRemoveFile: k,
|
|
8649
|
-
clearFiles:
|
|
8667
|
+
clearFiles: S,
|
|
8650
8668
|
transientError: n,
|
|
8651
8669
|
showTransientError: C
|
|
8652
8670
|
};
|
|
8653
8671
|
}
|
|
8654
|
-
function
|
|
8672
|
+
function H2(e, t, o) {
|
|
8655
8673
|
const s = e.slice(0, t).lastIndexOf("@");
|
|
8656
8674
|
if (s === -1) return null;
|
|
8657
8675
|
if (s > 0) {
|
|
@@ -8674,7 +8692,7 @@ function V2(e, t, o) {
|
|
|
8674
8692
|
}
|
|
8675
8693
|
return { atIndex: s, query: i };
|
|
8676
8694
|
}
|
|
8677
|
-
const
|
|
8695
|
+
const A2 = [
|
|
8678
8696
|
"direction",
|
|
8679
8697
|
"boxSizing",
|
|
8680
8698
|
"width",
|
|
@@ -8710,10 +8728,10 @@ const T2 = [
|
|
|
8710
8728
|
"wordWrap",
|
|
8711
8729
|
"wordBreak"
|
|
8712
8730
|
];
|
|
8713
|
-
function
|
|
8731
|
+
function B2(e, t) {
|
|
8714
8732
|
const o = document.createElement("div"), n = o.style, s = window.getComputedStyle(e);
|
|
8715
8733
|
n.whiteSpace = "pre-wrap", n.wordWrap = "break-word", n.position = "absolute", n.visibility = "hidden", n.overflow = "hidden";
|
|
8716
|
-
for (const l of
|
|
8734
|
+
for (const l of A2)
|
|
8717
8735
|
n.setProperty(l, s.getPropertyValue(l));
|
|
8718
8736
|
o.textContent = e.value.substring(0, t);
|
|
8719
8737
|
const i = document.createElement("span");
|
|
@@ -8721,30 +8739,30 @@ function H2(e, t) {
|
|
|
8721
8739
|
const a = i.offsetLeft, d = i.offsetTop - e.scrollTop;
|
|
8722
8740
|
return document.body.removeChild(o), { left: a, top: d };
|
|
8723
8741
|
}
|
|
8724
|
-
const
|
|
8725
|
-
function
|
|
8742
|
+
const $2 = 250;
|
|
8743
|
+
function I2({
|
|
8726
8744
|
inputValue: e,
|
|
8727
8745
|
setInputValue: t,
|
|
8728
8746
|
cursorPosition: o,
|
|
8729
8747
|
searchPersons: n,
|
|
8730
8748
|
textareaRef: s
|
|
8731
8749
|
}) {
|
|
8732
|
-
const [i, a] = P(!1), [d, l] = P(""), [u, f] = P([]), [g, m] = P(!1), [h, C] = P(0), [v, w] = P([]), k = I(-1),
|
|
8750
|
+
const [i, a] = P(!1), [d, l] = P(""), [u, f] = P([]), [g, m] = P(!1), [h, C] = P(0), [v, w] = P([]), k = I(-1), S = I(null), T = I(0), E = I(-1);
|
|
8733
8751
|
X(() => {
|
|
8734
8752
|
if (!n) {
|
|
8735
8753
|
a(!1);
|
|
8736
8754
|
return;
|
|
8737
8755
|
}
|
|
8738
|
-
const F =
|
|
8756
|
+
const F = H2(e, o, v);
|
|
8739
8757
|
if (!F) {
|
|
8740
8758
|
a(!1), l(""), f([]), C(0), k.current = -1, E.current = -1;
|
|
8741
8759
|
return;
|
|
8742
8760
|
}
|
|
8743
8761
|
if (F.atIndex === E.current)
|
|
8744
8762
|
return;
|
|
8745
|
-
k.current = F.atIndex, l(F.query), a(!0), C(0), m(!0),
|
|
8763
|
+
k.current = F.atIndex, l(F.query), a(!0), C(0), m(!0), S.current && clearTimeout(S.current);
|
|
8746
8764
|
const $ = ++T.current;
|
|
8747
|
-
return
|
|
8765
|
+
return S.current = setTimeout(() => {
|
|
8748
8766
|
n(F.query).then((_) => {
|
|
8749
8767
|
$ === T.current && (f(_), C(0), _.length === 0 && F.query.length > 0 && (E.current = F.atIndex, a(!1)));
|
|
8750
8768
|
}).catch(() => {
|
|
@@ -8752,8 +8770,8 @@ function B2({
|
|
|
8752
8770
|
}).finally(() => {
|
|
8753
8771
|
$ === T.current && m(!1);
|
|
8754
8772
|
});
|
|
8755
|
-
},
|
|
8756
|
-
|
|
8773
|
+
}, $2), () => {
|
|
8774
|
+
S.current && clearTimeout(S.current);
|
|
8757
8775
|
};
|
|
8758
8776
|
}, [e, o, n, v]);
|
|
8759
8777
|
const L = q(() => {
|
|
@@ -8827,7 +8845,7 @@ function B2({
|
|
|
8827
8845
|
if (!i || k.current === -1) return null;
|
|
8828
8846
|
const F = s.current;
|
|
8829
8847
|
if (!F) return null;
|
|
8830
|
-
const $ =
|
|
8848
|
+
const $ = B2(F, k.current), _ = F.offsetLeft + $.left, G = (F.offsetParent ? F.offsetParent.offsetHeight : 0) - (F.offsetTop + $.top);
|
|
8831
8849
|
return { left: _, bottom: G };
|
|
8832
8850
|
}, [i, e, o, s]), R = ee(() => {
|
|
8833
8851
|
if (!i || u.length === 0) return null;
|
|
@@ -8851,7 +8869,7 @@ function B2({
|
|
|
8851
8869
|
close: L
|
|
8852
8870
|
};
|
|
8853
8871
|
}
|
|
8854
|
-
const
|
|
8872
|
+
const P2 = /[\\`*_{}[\]()#+\-.!|~>]/g, j2 = (e) => e.split(/(<entity-ref\b[^>]*>[\s\S]*?<\/entity-ref>)/g).map((t, o) => o % 2 === 1 ? t : t.replace(/&/g, "&").replace(/</g, "<").replace(P2, "\\$&")).join(""), h9 = ({
|
|
8855
8873
|
onSubmit: e,
|
|
8856
8874
|
onStop: t,
|
|
8857
8875
|
inProgress: o,
|
|
@@ -8870,7 +8888,7 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
8870
8888
|
disclaimer: v,
|
|
8871
8889
|
footer: w,
|
|
8872
8890
|
isWelcomeScreen: k = !1,
|
|
8873
|
-
fullscreen:
|
|
8891
|
+
fullscreen: S = !1,
|
|
8874
8892
|
welcomeScreenSuggestions: T,
|
|
8875
8893
|
onSuggestionClick: E,
|
|
8876
8894
|
ref: L
|
|
@@ -8891,13 +8909,13 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
8891
8909
|
acceptValue: se,
|
|
8892
8910
|
isAtMaxFiles: de,
|
|
8893
8911
|
maxFiles: M,
|
|
8894
|
-
processFiles:
|
|
8912
|
+
processFiles: V,
|
|
8895
8913
|
handleFileSelect: N,
|
|
8896
8914
|
handleRemoveFile: j,
|
|
8897
8915
|
clearFiles: B,
|
|
8898
8916
|
transientError: U,
|
|
8899
8917
|
showTransientError: ae
|
|
8900
|
-
} =
|
|
8918
|
+
} = T2(g), J = I2({
|
|
8901
8919
|
inputValue: H,
|
|
8902
8920
|
setInputValue: y,
|
|
8903
8921
|
cursorPosition: R,
|
|
@@ -8927,14 +8945,14 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
8927
8945
|
}, []), X(() => {
|
|
8928
8946
|
if (C)
|
|
8929
8947
|
return C((te) => {
|
|
8930
|
-
|
|
8948
|
+
V(te);
|
|
8931
8949
|
}), () => {
|
|
8932
8950
|
C(null);
|
|
8933
8951
|
};
|
|
8934
|
-
}, [C,
|
|
8935
|
-
const je = Ce.status === "recording", r1 = je ? b.ai.listening : b.ai.inputPlaceholder, o1 = ge.filter((te) => te.status === "uploaded"),
|
|
8952
|
+
}, [C, V]);
|
|
8953
|
+
const je = Ce.status === "recording", r1 = je ? b.ai.listening : b.ai.inputPlaceholder, o1 = ge.filter((te) => te.status === "uploaded"), Ve = ge.some((te) => te.status === "uploading"), He = ge.some((te) => te.status === "error"), De = H.trim().length > 0;
|
|
8936
8954
|
X(() => {
|
|
8937
|
-
if (!(!z ||
|
|
8955
|
+
if (!(!z || Ve)) {
|
|
8938
8956
|
if (G(!1), He) {
|
|
8939
8957
|
ae(b.ai.fileUploadBlockedSubmit);
|
|
8940
8958
|
return;
|
|
@@ -8943,7 +8961,7 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
8943
8961
|
}
|
|
8944
8962
|
}, [
|
|
8945
8963
|
z,
|
|
8946
|
-
|
|
8964
|
+
Ve,
|
|
8947
8965
|
He,
|
|
8948
8966
|
ae,
|
|
8949
8967
|
b.ai.fileUploadBlockedSubmit
|
|
@@ -8953,7 +8971,7 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
8953
8971
|
if (J.close(), o)
|
|
8954
8972
|
t?.();
|
|
8955
8973
|
else if (De && !$) {
|
|
8956
|
-
if (
|
|
8974
|
+
if (Ve) {
|
|
8957
8975
|
G(!0), Z.current?.focus();
|
|
8958
8976
|
return;
|
|
8959
8977
|
}
|
|
@@ -8968,7 +8986,7 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
8968
8986
|
_(!1);
|
|
8969
8987
|
}
|
|
8970
8988
|
}
|
|
8971
|
-
const ke = J.transformMentions(H.trim()), i1 =
|
|
8989
|
+
const ke = J.transformMentions(H.trim()), i1 = j2(ke), Ue = o1.flatMap(
|
|
8972
8990
|
(B1) => B1.uploadedFile ? [B1.uploadedFile] : []
|
|
8973
8991
|
), H1 = d, A1 = u;
|
|
8974
8992
|
H1 && l?.(null), A1 && f?.(null), await e({
|
|
@@ -8986,18 +9004,18 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
8986
9004
|
F(Z.current?.selectionStart ?? 0);
|
|
8987
9005
|
}, _e = () => {
|
|
8988
9006
|
D.current && Z.current && (D.current.scrollTop = Z.current.scrollTop);
|
|
8989
|
-
},
|
|
9007
|
+
}, V1 = re ? re.prompt ?? re.title : null, S1 = je ? [b.ai.listening] : V1 ? [V1] : s ?? [], Qr = S1.length > 1, Jr = ee(() => F2(H, J.mentions, {
|
|
8990
9008
|
cursorPosition: R,
|
|
8991
9009
|
inlineCompletion: J.inlineCompletion
|
|
8992
9010
|
}), [H, J.mentions, R, J.inlineCompletion]), eo = J.mentions.length > 0 || J.inlineCompletion !== null, Oe = k && !!T && T.length > 0 && !!E ? /* @__PURE__ */ r(
|
|
8993
|
-
|
|
9011
|
+
R2,
|
|
8994
9012
|
{
|
|
8995
9013
|
suggestions: T,
|
|
8996
9014
|
onItemClick: he,
|
|
8997
9015
|
onItemHover: K,
|
|
8998
|
-
side:
|
|
9016
|
+
side: S ? "bottom" : "top"
|
|
8999
9017
|
}
|
|
9000
|
-
) : null, T1 =
|
|
9018
|
+
) : null, T1 = S && k, { motionProps: to } = ws(
|
|
9001
9019
|
k,
|
|
9002
9020
|
160,
|
|
9003
9021
|
0.5
|
|
@@ -9010,11 +9028,11 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
9010
9028
|
"flex flex-col items-center gap-2 px-4 pb-3 pt-2",
|
|
9011
9029
|
T1 && "min-h-0 flex-1 justify-start -mt-20"
|
|
9012
9030
|
),
|
|
9013
|
-
...
|
|
9031
|
+
...S ? to : {},
|
|
9014
9032
|
children: [
|
|
9015
9033
|
/* @__PURE__ */ c("div", { className: "flex w-full max-w-content flex-col gap-2", children: [
|
|
9016
|
-
Oe && !
|
|
9017
|
-
/* @__PURE__ */ r(
|
|
9034
|
+
Oe && !S && /* @__PURE__ */ r("div", { children: Oe }),
|
|
9035
|
+
/* @__PURE__ */ r(x2, { creditWarning: i, children: /* @__PURE__ */ c(
|
|
9018
9036
|
ne.form,
|
|
9019
9037
|
{
|
|
9020
9038
|
"aria-busy": o,
|
|
@@ -9053,7 +9071,7 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
9053
9071
|
onSubmit: n1,
|
|
9054
9072
|
children: [
|
|
9055
9073
|
/* @__PURE__ */ r(
|
|
9056
|
-
|
|
9074
|
+
k2,
|
|
9057
9075
|
{
|
|
9058
9076
|
isOpen: J.isOpen,
|
|
9059
9077
|
results: J.results,
|
|
@@ -9104,7 +9122,7 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
9104
9122
|
},
|
|
9105
9123
|
children: [
|
|
9106
9124
|
u && /* @__PURE__ */ r(
|
|
9107
|
-
|
|
9125
|
+
b2,
|
|
9108
9126
|
{
|
|
9109
9127
|
quote: u,
|
|
9110
9128
|
onRemove: () => f?.(null)
|
|
@@ -9140,16 +9158,16 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
9140
9158
|
"transient-error"
|
|
9141
9159
|
) }),
|
|
9142
9160
|
/* @__PURE__ */ r(
|
|
9143
|
-
|
|
9161
|
+
C2,
|
|
9144
9162
|
{
|
|
9145
9163
|
attachedFiles: ge,
|
|
9146
|
-
isUploading:
|
|
9164
|
+
isUploading: Ve,
|
|
9147
9165
|
onRemove: j,
|
|
9148
9166
|
removeLabel: b.ai.removeFile
|
|
9149
9167
|
}
|
|
9150
9168
|
),
|
|
9151
9169
|
/* @__PURE__ */ r(
|
|
9152
|
-
|
|
9170
|
+
y2,
|
|
9153
9171
|
{
|
|
9154
9172
|
textareaRef: Z,
|
|
9155
9173
|
highlightRef: D,
|
|
@@ -9163,13 +9181,13 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
9163
9181
|
highlightSegments: Jr,
|
|
9164
9182
|
hasOverlay: eo,
|
|
9165
9183
|
multiplePlaceholders: Qr,
|
|
9166
|
-
placeholders:
|
|
9184
|
+
placeholders: S1,
|
|
9167
9185
|
resolvedDefaultPlaceholder: r1,
|
|
9168
9186
|
inProgress: o
|
|
9169
9187
|
}
|
|
9170
9188
|
),
|
|
9171
9189
|
/* @__PURE__ */ r(
|
|
9172
|
-
|
|
9190
|
+
m2,
|
|
9173
9191
|
{
|
|
9174
9192
|
onUploadFiles: oe,
|
|
9175
9193
|
isAtMaxFiles: de,
|
|
@@ -9196,8 +9214,8 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
9196
9214
|
}
|
|
9197
9215
|
) })
|
|
9198
9216
|
] }),
|
|
9199
|
-
Oe &&
|
|
9200
|
-
w && k &&
|
|
9217
|
+
Oe && S && /* @__PURE__ */ r("div", { className: "w-full max-w-content", children: Oe }),
|
|
9218
|
+
w && k && S && /* @__PURE__ */ r("div", { className: "w-full py-4 mx-auto flex max-w-content justify-center", children: w }),
|
|
9201
9219
|
/* @__PURE__ */ r(Ne, { mode: "wait", initial: !1, children: Q ? /* @__PURE__ */ c(
|
|
9202
9220
|
ne.div,
|
|
9203
9221
|
{
|
|
@@ -9279,7 +9297,7 @@ const $2 = /[\\`*_{}[\]()#+\-.!|~>]/g, I2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
9279
9297
|
}
|
|
9280
9298
|
);
|
|
9281
9299
|
};
|
|
9282
|
-
function
|
|
9300
|
+
function D2({
|
|
9283
9301
|
children: e,
|
|
9284
9302
|
...t
|
|
9285
9303
|
}) {
|
|
@@ -9295,7 +9313,7 @@ function P2({
|
|
|
9295
9313
|
}
|
|
9296
9314
|
);
|
|
9297
9315
|
}
|
|
9298
|
-
function
|
|
9316
|
+
function Z2({
|
|
9299
9317
|
children: e,
|
|
9300
9318
|
...t
|
|
9301
9319
|
}) {
|
|
@@ -9314,7 +9332,7 @@ function j2({
|
|
|
9314
9332
|
}
|
|
9315
9333
|
);
|
|
9316
9334
|
}
|
|
9317
|
-
function
|
|
9335
|
+
function _2({
|
|
9318
9336
|
children: e,
|
|
9319
9337
|
...t
|
|
9320
9338
|
}) {
|
|
@@ -9330,7 +9348,7 @@ function D2({
|
|
|
9330
9348
|
}
|
|
9331
9349
|
);
|
|
9332
9350
|
}
|
|
9333
|
-
function
|
|
9351
|
+
function O2({ ...e }) {
|
|
9334
9352
|
return /* @__PURE__ */ r(
|
|
9335
9353
|
"hr",
|
|
9336
9354
|
{
|
|
@@ -9339,7 +9357,7 @@ function Z2({ ...e }) {
|
|
|
9339
9357
|
}
|
|
9340
9358
|
);
|
|
9341
9359
|
}
|
|
9342
|
-
function
|
|
9360
|
+
function U2({
|
|
9343
9361
|
src: e,
|
|
9344
9362
|
alt: t,
|
|
9345
9363
|
...o
|
|
@@ -9372,13 +9390,13 @@ function _2({
|
|
|
9372
9390
|
) })
|
|
9373
9391
|
] });
|
|
9374
9392
|
}
|
|
9375
|
-
function
|
|
9393
|
+
function z2({
|
|
9376
9394
|
children: e,
|
|
9377
9395
|
...t
|
|
9378
9396
|
}) {
|
|
9379
9397
|
return /* @__PURE__ */ r(Zt, { ...t, variant: "link", href: t.href, children: e });
|
|
9380
9398
|
}
|
|
9381
|
-
function
|
|
9399
|
+
function G2({
|
|
9382
9400
|
children: e,
|
|
9383
9401
|
...t
|
|
9384
9402
|
}) {
|
|
@@ -9394,7 +9412,7 @@ function U2({
|
|
|
9394
9412
|
}
|
|
9395
9413
|
);
|
|
9396
9414
|
}
|
|
9397
|
-
function
|
|
9415
|
+
function W2({
|
|
9398
9416
|
children: e,
|
|
9399
9417
|
...t
|
|
9400
9418
|
}) {
|
|
@@ -9410,17 +9428,17 @@ function z2({
|
|
|
9410
9428
|
}
|
|
9411
9429
|
);
|
|
9412
9430
|
}
|
|
9413
|
-
function
|
|
9431
|
+
function q2({
|
|
9414
9432
|
children: e,
|
|
9415
9433
|
...t
|
|
9416
9434
|
}) {
|
|
9417
9435
|
return /* @__PURE__ */ r("li", { ...t, className: x("mb-2", t.className), children: e });
|
|
9418
9436
|
}
|
|
9419
|
-
async function
|
|
9437
|
+
async function X2(e, t, o) {
|
|
9420
9438
|
const n = await import("./xlsx-Bedf3nwD.js"), s = n.utils.table_to_book(e, { sheet: "Data" });
|
|
9421
9439
|
n.writeFile(s, `${o}.${t}`);
|
|
9422
9440
|
}
|
|
9423
|
-
function
|
|
9441
|
+
function Y2({
|
|
9424
9442
|
children: e,
|
|
9425
9443
|
title: t,
|
|
9426
9444
|
...o
|
|
@@ -9429,7 +9447,7 @@ function q2({
|
|
|
9429
9447
|
(a) => {
|
|
9430
9448
|
if (!s.current) return;
|
|
9431
9449
|
const d = t?.replace(/\s+/g, "_").toLowerCase() || "table";
|
|
9432
|
-
|
|
9450
|
+
X2(s.current, a, d);
|
|
9433
9451
|
},
|
|
9434
9452
|
[t]
|
|
9435
9453
|
);
|
|
@@ -9481,7 +9499,7 @@ function q2({
|
|
|
9481
9499
|
) })
|
|
9482
9500
|
] });
|
|
9483
9501
|
}
|
|
9484
|
-
function
|
|
9502
|
+
function K2({
|
|
9485
9503
|
children: e,
|
|
9486
9504
|
...t
|
|
9487
9505
|
}) {
|
|
@@ -9497,7 +9515,7 @@ function X2({
|
|
|
9497
9515
|
}
|
|
9498
9516
|
);
|
|
9499
9517
|
}
|
|
9500
|
-
function
|
|
9518
|
+
function Q2({
|
|
9501
9519
|
children: e,
|
|
9502
9520
|
...t
|
|
9503
9521
|
}) {
|
|
@@ -9513,13 +9531,13 @@ function Y2({
|
|
|
9513
9531
|
}
|
|
9514
9532
|
);
|
|
9515
9533
|
}
|
|
9516
|
-
function
|
|
9534
|
+
function J2({
|
|
9517
9535
|
children: e,
|
|
9518
9536
|
...t
|
|
9519
9537
|
}) {
|
|
9520
9538
|
return /* @__PURE__ */ r("p", { ...t, className: x("text-base font-normal", t.className), children: e });
|
|
9521
9539
|
}
|
|
9522
|
-
function
|
|
9540
|
+
function e4({
|
|
9523
9541
|
children: e,
|
|
9524
9542
|
...t
|
|
9525
9543
|
}) {
|
|
@@ -9535,7 +9553,7 @@ function Q2({
|
|
|
9535
9553
|
}
|
|
9536
9554
|
);
|
|
9537
9555
|
}
|
|
9538
|
-
function
|
|
9556
|
+
function t4({
|
|
9539
9557
|
children: e,
|
|
9540
9558
|
...t
|
|
9541
9559
|
}) {
|
|
@@ -9551,7 +9569,7 @@ function J2({
|
|
|
9551
9569
|
}
|
|
9552
9570
|
);
|
|
9553
9571
|
}
|
|
9554
|
-
function
|
|
9572
|
+
function r4({
|
|
9555
9573
|
children: e,
|
|
9556
9574
|
...t
|
|
9557
9575
|
}) {
|
|
@@ -9567,19 +9585,19 @@ function e4({
|
|
|
9567
9585
|
}
|
|
9568
9586
|
);
|
|
9569
9587
|
}
|
|
9570
|
-
function
|
|
9588
|
+
function o4({
|
|
9571
9589
|
children: e,
|
|
9572
9590
|
...t
|
|
9573
9591
|
}) {
|
|
9574
9592
|
return /* @__PURE__ */ r("strong", { ...t, className: x("font-semibold", t.className), children: e });
|
|
9575
9593
|
}
|
|
9576
|
-
function
|
|
9594
|
+
function n4({
|
|
9577
9595
|
children: e,
|
|
9578
9596
|
...t
|
|
9579
9597
|
}) {
|
|
9580
9598
|
return /* @__PURE__ */ r("em", { ...t, className: x("italic", t.className), children: e });
|
|
9581
9599
|
}
|
|
9582
|
-
function
|
|
9600
|
+
function Se({
|
|
9583
9601
|
id: e,
|
|
9584
9602
|
trigger: t,
|
|
9585
9603
|
resolver: o,
|
|
@@ -9646,7 +9664,7 @@ const Rr = p(
|
|
|
9646
9664
|
)
|
|
9647
9665
|
);
|
|
9648
9666
|
Rr.displayName = "CandidateTrigger";
|
|
9649
|
-
function
|
|
9667
|
+
function s4({
|
|
9650
9668
|
id: e,
|
|
9651
9669
|
label: t
|
|
9652
9670
|
}) {
|
|
@@ -9695,7 +9713,7 @@ function o4({
|
|
|
9695
9713
|
[t, s, i]
|
|
9696
9714
|
);
|
|
9697
9715
|
return n ? /* @__PURE__ */ r(
|
|
9698
|
-
|
|
9716
|
+
Se,
|
|
9699
9717
|
{
|
|
9700
9718
|
id: e,
|
|
9701
9719
|
trigger: /* @__PURE__ */ r(Rr, { label: t }),
|
|
@@ -9721,7 +9739,7 @@ const Fr = p(
|
|
|
9721
9739
|
)
|
|
9722
9740
|
);
|
|
9723
9741
|
Fr.displayName = "ExpenseTrigger";
|
|
9724
|
-
function
|
|
9742
|
+
function i4({ id: e, label: t }) {
|
|
9725
9743
|
const { entityRefs: o } = Me(), n = o?.resolvers?.expense, s = Y(), i = o?.urls?.expense?.(e), a = ee(
|
|
9726
9744
|
() => (l) => ({
|
|
9727
9745
|
avatar: {
|
|
@@ -9751,7 +9769,7 @@ function n4({ id: e, label: t }) {
|
|
|
9751
9769
|
[t, s, i]
|
|
9752
9770
|
);
|
|
9753
9771
|
return n ? /* @__PURE__ */ r(
|
|
9754
|
-
|
|
9772
|
+
Se,
|
|
9755
9773
|
{
|
|
9756
9774
|
id: e,
|
|
9757
9775
|
trigger: /* @__PURE__ */ r(Fr, { label: t }),
|
|
@@ -9777,7 +9795,7 @@ const Nr = p(
|
|
|
9777
9795
|
)
|
|
9778
9796
|
);
|
|
9779
9797
|
Nr.displayName = "JobPostingTrigger";
|
|
9780
|
-
function
|
|
9798
|
+
function a4({
|
|
9781
9799
|
id: e,
|
|
9782
9800
|
label: t
|
|
9783
9801
|
}) {
|
|
@@ -9806,7 +9824,7 @@ function s4({
|
|
|
9806
9824
|
[t, s, i]
|
|
9807
9825
|
);
|
|
9808
9826
|
return n ? /* @__PURE__ */ r(
|
|
9809
|
-
|
|
9827
|
+
Se,
|
|
9810
9828
|
{
|
|
9811
9829
|
id: e,
|
|
9812
9830
|
trigger: /* @__PURE__ */ r(Nr, { label: t }),
|
|
@@ -9816,13 +9834,13 @@ function s4({
|
|
|
9816
9834
|
}
|
|
9817
9835
|
) : /* @__PURE__ */ r("span", { children: t });
|
|
9818
9836
|
}
|
|
9819
|
-
function
|
|
9837
|
+
function c4({ rows: e }) {
|
|
9820
9838
|
return e.length === 0 ? null : /* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: e.map((t, o) => /* @__PURE__ */ c("div", { className: "flex flex-col", children: [
|
|
9821
9839
|
t.label && /* @__PURE__ */ r("p", { className: "text-f1-foreground-secondary", children: t.label }),
|
|
9822
9840
|
/* @__PURE__ */ r("div", { className: "flex items-center gap-1.5 font-medium text-f1-foreground", children: t.value })
|
|
9823
9841
|
] }, t.label ?? o)) });
|
|
9824
9842
|
}
|
|
9825
|
-
const
|
|
9843
|
+
const Vr = p(
|
|
9826
9844
|
({ label: e, ...t }, o) => /* @__PURE__ */ r(
|
|
9827
9845
|
"button",
|
|
9828
9846
|
{
|
|
@@ -9837,8 +9855,8 @@ const Sr = p(
|
|
|
9837
9855
|
}
|
|
9838
9856
|
)
|
|
9839
9857
|
);
|
|
9840
|
-
|
|
9841
|
-
function
|
|
9858
|
+
Vr.displayName = "RequisitionTrigger";
|
|
9859
|
+
function l4({
|
|
9842
9860
|
id: e,
|
|
9843
9861
|
label: t
|
|
9844
9862
|
}) {
|
|
@@ -9881,7 +9899,7 @@ function a4({
|
|
|
9881
9899
|
title: l.title,
|
|
9882
9900
|
...l.location && { description: l.location },
|
|
9883
9901
|
...g.length > 0 && {
|
|
9884
|
-
children: /* @__PURE__ */ r(
|
|
9902
|
+
children: /* @__PURE__ */ r(c4, { rows: g })
|
|
9885
9903
|
},
|
|
9886
9904
|
...i && {
|
|
9887
9905
|
secondaryActions: {
|
|
@@ -9905,17 +9923,17 @@ function a4({
|
|
|
9905
9923
|
[t, s, i]
|
|
9906
9924
|
);
|
|
9907
9925
|
return n ? /* @__PURE__ */ r(
|
|
9908
|
-
|
|
9926
|
+
Se,
|
|
9909
9927
|
{
|
|
9910
9928
|
id: e,
|
|
9911
|
-
trigger: /* @__PURE__ */ r(
|
|
9929
|
+
trigger: /* @__PURE__ */ r(Vr, { label: t }),
|
|
9912
9930
|
resolver: n,
|
|
9913
9931
|
mapToCard: a,
|
|
9914
9932
|
fallbackCard: d
|
|
9915
9933
|
}
|
|
9916
9934
|
) : /* @__PURE__ */ r("span", { children: t });
|
|
9917
9935
|
}
|
|
9918
|
-
const
|
|
9936
|
+
const Sr = p(
|
|
9919
9937
|
({ label: e, ...t }, o) => /* @__PURE__ */ c(
|
|
9920
9938
|
"button",
|
|
9921
9939
|
{
|
|
@@ -9933,8 +9951,8 @@ const Vr = p(
|
|
|
9933
9951
|
}
|
|
9934
9952
|
)
|
|
9935
9953
|
);
|
|
9936
|
-
|
|
9937
|
-
function
|
|
9954
|
+
Sr.displayName = "PersonTrigger";
|
|
9955
|
+
function d4({ id: e, label: t }) {
|
|
9938
9956
|
const { entityRefs: o } = Me(), n = o?.resolvers?.person, s = Y(), i = o?.urls?.person?.(e), a = ee(
|
|
9939
9957
|
() => (l) => ({
|
|
9940
9958
|
avatar: {
|
|
@@ -9966,10 +9984,10 @@ function c4({ id: e, label: t }) {
|
|
|
9966
9984
|
[t, s, i]
|
|
9967
9985
|
);
|
|
9968
9986
|
return n ? /* @__PURE__ */ r(
|
|
9969
|
-
|
|
9987
|
+
Se,
|
|
9970
9988
|
{
|
|
9971
9989
|
id: e,
|
|
9972
|
-
trigger: /* @__PURE__ */ r(
|
|
9990
|
+
trigger: /* @__PURE__ */ r(Sr, { label: t }),
|
|
9973
9991
|
resolver: n,
|
|
9974
9992
|
mapToCard: a,
|
|
9975
9993
|
fallbackCard: d
|
|
@@ -9992,7 +10010,7 @@ const Tr = p(
|
|
|
9992
10010
|
)
|
|
9993
10011
|
);
|
|
9994
10012
|
Tr.displayName = "VacancyTrigger";
|
|
9995
|
-
function
|
|
10013
|
+
function f4({ id: e, label: t }) {
|
|
9996
10014
|
const { entityRefs: o } = Me(), n = o?.resolvers?.vacancy, s = Y(), i = o?.urls?.vacancy?.(e), a = ee(
|
|
9997
10015
|
() => (l) => ({
|
|
9998
10016
|
title: l.name,
|
|
@@ -10018,7 +10036,7 @@ function l4({ id: e, label: t }) {
|
|
|
10018
10036
|
[t, s, i]
|
|
10019
10037
|
);
|
|
10020
10038
|
return n ? /* @__PURE__ */ r(
|
|
10021
|
-
|
|
10039
|
+
Se,
|
|
10022
10040
|
{
|
|
10023
10041
|
id: e,
|
|
10024
10042
|
trigger: /* @__PURE__ */ r(Tr, { label: t }),
|
|
@@ -10028,50 +10046,50 @@ function l4({ id: e, label: t }) {
|
|
|
10028
10046
|
}
|
|
10029
10047
|
) : /* @__PURE__ */ r("span", { children: t });
|
|
10030
10048
|
}
|
|
10031
|
-
const
|
|
10032
|
-
person:
|
|
10033
|
-
candidate:
|
|
10034
|
-
expense:
|
|
10035
|
-
"job-posting":
|
|
10036
|
-
requisition:
|
|
10037
|
-
vacancy:
|
|
10049
|
+
const u4 = {
|
|
10050
|
+
person: d4,
|
|
10051
|
+
candidate: s4,
|
|
10052
|
+
expense: i4,
|
|
10053
|
+
"job-posting": a4,
|
|
10054
|
+
requisition: l4,
|
|
10055
|
+
vacancy: f4
|
|
10038
10056
|
};
|
|
10039
|
-
function
|
|
10040
|
-
return
|
|
10057
|
+
function h4(e) {
|
|
10058
|
+
return u4[e];
|
|
10041
10059
|
}
|
|
10042
10060
|
function p1(e) {
|
|
10043
10061
|
return typeof e == "string" ? e : typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(p1).join("") : e && typeof e == "object" && "props" in e ? p1(e.props.children) : "";
|
|
10044
10062
|
}
|
|
10045
|
-
function
|
|
10063
|
+
function g4({
|
|
10046
10064
|
type: e,
|
|
10047
10065
|
id: t,
|
|
10048
10066
|
children: o
|
|
10049
10067
|
}) {
|
|
10050
10068
|
if (!t || !e)
|
|
10051
10069
|
return /* @__PURE__ */ r("span", { children: o });
|
|
10052
|
-
const n = p1(o), s =
|
|
10070
|
+
const n = p1(o), s = h4(e);
|
|
10053
10071
|
return s ? /* @__PURE__ */ r(s, { id: t, label: n }) : /* @__PURE__ */ r("span", { children: o });
|
|
10054
10072
|
}
|
|
10055
|
-
const
|
|
10056
|
-
p:
|
|
10057
|
-
h1:
|
|
10058
|
-
h2:
|
|
10059
|
-
h3:
|
|
10060
|
-
a:
|
|
10061
|
-
strong:
|
|
10062
|
-
em:
|
|
10063
|
-
li:
|
|
10064
|
-
pre:
|
|
10065
|
-
code:
|
|
10066
|
-
blockquote:
|
|
10067
|
-
hr:
|
|
10068
|
-
ul:
|
|
10069
|
-
ol:
|
|
10070
|
-
table:
|
|
10071
|
-
th:
|
|
10072
|
-
td:
|
|
10073
|
-
img:
|
|
10074
|
-
"entity-ref":
|
|
10073
|
+
const g9 = {
|
|
10074
|
+
p: J2,
|
|
10075
|
+
h1: e4,
|
|
10076
|
+
h2: t4,
|
|
10077
|
+
h3: r4,
|
|
10078
|
+
a: z2,
|
|
10079
|
+
strong: o4,
|
|
10080
|
+
em: n4,
|
|
10081
|
+
li: q2,
|
|
10082
|
+
pre: D2,
|
|
10083
|
+
code: Z2,
|
|
10084
|
+
blockquote: _2,
|
|
10085
|
+
hr: O2,
|
|
10086
|
+
ul: G2,
|
|
10087
|
+
ol: W2,
|
|
10088
|
+
table: Y2,
|
|
10089
|
+
th: K2,
|
|
10090
|
+
td: Q2,
|
|
10091
|
+
img: U2,
|
|
10092
|
+
"entity-ref": g4
|
|
10075
10093
|
};
|
|
10076
10094
|
function Hr({
|
|
10077
10095
|
avatar: e,
|
|
@@ -10127,7 +10145,7 @@ function Hr({
|
|
|
10127
10145
|
}
|
|
10128
10146
|
Hr.displayName = "F0CanvasCard";
|
|
10129
10147
|
const N1 = Ye(null);
|
|
10130
|
-
function
|
|
10148
|
+
function p9({
|
|
10131
10149
|
children: e
|
|
10132
10150
|
}) {
|
|
10133
10151
|
const [t, o] = P(0), n = I([]), s = q(
|
|
@@ -10148,7 +10166,7 @@ function h9({
|
|
|
10148
10166
|
);
|
|
10149
10167
|
return /* @__PURE__ */ r(N1.Provider, { value: i, children: e });
|
|
10150
10168
|
}
|
|
10151
|
-
function
|
|
10169
|
+
function p4(e) {
|
|
10152
10170
|
const o = Pe(N1)?.formatters;
|
|
10153
10171
|
return ee(() => !o || o.length === 0 ? null : (n, s, i) => {
|
|
10154
10172
|
let a, d = -1;
|
|
@@ -10162,7 +10180,7 @@ function h4(e) {
|
|
|
10162
10180
|
return a.format(s, { key: n, ...i });
|
|
10163
10181
|
}, [o, e]);
|
|
10164
10182
|
}
|
|
10165
|
-
function
|
|
10183
|
+
function m9() {
|
|
10166
10184
|
const e = Pe(N1);
|
|
10167
10185
|
if (!e)
|
|
10168
10186
|
throw new Error(
|
|
@@ -10170,14 +10188,14 @@ function g9() {
|
|
|
10170
10188
|
);
|
|
10171
10189
|
return e.setFormCardValueFormatter;
|
|
10172
10190
|
}
|
|
10173
|
-
const z1 = 7,
|
|
10174
|
-
function
|
|
10191
|
+
const z1 = 7, m4 = 625, G1 = /* @__PURE__ */ new Set();
|
|
10192
|
+
function C4(e) {
|
|
10175
10193
|
return typeof DOMParser < "u" ? new DOMParser().parseFromString(e, "text/html").body.textContent?.replace(/\s+/g, " ").trim() ?? "" : e.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim();
|
|
10176
10194
|
}
|
|
10177
|
-
function
|
|
10195
|
+
function v4(e) {
|
|
10178
10196
|
return e && e.charAt(0).toUpperCase() + e.slice(1);
|
|
10179
10197
|
}
|
|
10180
|
-
function
|
|
10198
|
+
function w4(e) {
|
|
10181
10199
|
const { days: t, hours: o, minutes: n, seconds: s } = Fs(e), i = [];
|
|
10182
10200
|
return t > 0 && i.push(`${t}d`), o > 0 && i.push(`${o}h`), n > 0 && i.push(`${n}m`), (s > 0 || i.length === 0) && i.push(`${s}s`), i.join(" ");
|
|
10183
10201
|
}
|
|
@@ -10196,10 +10214,10 @@ function X1(e) {
|
|
|
10196
10214
|
function Ar(e, t) {
|
|
10197
10215
|
if (e == null || e === "") return { type: "item", text: "—" };
|
|
10198
10216
|
if (t === "duration" && typeof e == "number")
|
|
10199
|
-
return { type: "item", text:
|
|
10217
|
+
return { type: "item", text: w4(e) };
|
|
10200
10218
|
if (t === "richtext" && typeof e == "object" && e !== null && "value" in e) {
|
|
10201
10219
|
const o = e.value;
|
|
10202
|
-
return { type: "item", text: (o ?
|
|
10220
|
+
return { type: "item", text: (o ? C4(o) : "") || "—" };
|
|
10203
10221
|
}
|
|
10204
10222
|
if (t === "daterange" && typeof e == "object" && e !== null && "from" in e && "to" in e) {
|
|
10205
10223
|
const { from: o, to: n } = e, s = W1(o) ? q1(o) : String(o), i = W1(n) ? q1(n) : String(n);
|
|
@@ -10218,7 +10236,7 @@ function Ar(e, t) {
|
|
|
10218
10236
|
const o = e;
|
|
10219
10237
|
return typeof o.label == "string" ? { type: "item", text: o.label } : typeof o.name == "string" ? { type: "item", text: o.name } : typeof o.text == "string" ? { type: "item", text: o.text } : { type: "item", text: JSON.stringify(e) };
|
|
10220
10238
|
}
|
|
10221
|
-
return { type: "item", text:
|
|
10239
|
+
return { type: "item", text: v4(String(e)) };
|
|
10222
10240
|
}
|
|
10223
10241
|
function Br({
|
|
10224
10242
|
formName: e,
|
|
@@ -10230,7 +10248,7 @@ function Br({
|
|
|
10230
10248
|
formValues: a,
|
|
10231
10249
|
valueFormatter: d
|
|
10232
10250
|
}) {
|
|
10233
|
-
const { canvasContent: l, openCanvas: u, closeCanvas: f } = Me(), g =
|
|
10251
|
+
const { canvasContent: l, openCanvas: u, closeCanvas: f } = Me(), g = p4(e), m = d ?? g, h = I(() => {
|
|
10234
10252
|
}), C = n ?? e, v = s ?? t ?? "", w = l?.type === "form" && l.formName === e, k = () => u({
|
|
10235
10253
|
type: "form",
|
|
10236
10254
|
title: C,
|
|
@@ -10240,9 +10258,9 @@ function Br({
|
|
|
10240
10258
|
formModule: o
|
|
10241
10259
|
});
|
|
10242
10260
|
h.current = k, X(() => {
|
|
10243
|
-
typeof window > "u" || window.innerWidth <
|
|
10261
|
+
typeof window > "u" || window.innerWidth < m4 || G1.has(e) || (G1.add(e), h.current());
|
|
10244
10262
|
}, [e]);
|
|
10245
|
-
const
|
|
10263
|
+
const S = i && a ? Object.entries(i).map(([L, b]) => {
|
|
10246
10264
|
const A = a[L], H = m?.(L, A, {
|
|
10247
10265
|
fieldType: b.fieldType,
|
|
10248
10266
|
customFieldName: b.customFieldName
|
|
@@ -10259,7 +10277,7 @@ function Br({
|
|
|
10259
10277
|
if (!L) return !1;
|
|
10260
10278
|
const b = Array.isArray(L.content) ? L.content[0] : L.content;
|
|
10261
10279
|
return !(b?.type === "item" && b.text === "—");
|
|
10262
|
-
}) : [], T =
|
|
10280
|
+
}) : [], T = S.slice(0, z1), E = S.length > z1;
|
|
10263
10281
|
return /* @__PURE__ */ r(
|
|
10264
10282
|
Hr,
|
|
10265
10283
|
{
|
|
@@ -10290,7 +10308,7 @@ function Br({
|
|
|
10290
10308
|
);
|
|
10291
10309
|
}
|
|
10292
10310
|
Br.displayName = "FormCard";
|
|
10293
|
-
function
|
|
10311
|
+
function x4() {
|
|
10294
10312
|
const e = Ns(), t = e?.activeForm;
|
|
10295
10313
|
if (!t) return null;
|
|
10296
10314
|
const o = t.cardTitle, n = t.cardDescription, s = (e?.getFillVersion(t.formName) ?? 0) > 0;
|
|
@@ -10307,15 +10325,15 @@ function v4() {
|
|
|
10307
10325
|
}
|
|
10308
10326
|
) });
|
|
10309
10327
|
}
|
|
10310
|
-
const
|
|
10311
|
-
function
|
|
10328
|
+
const k4 = 2;
|
|
10329
|
+
function b4(e, t) {
|
|
10312
10330
|
if (!e.intersectsNode(t)) return null;
|
|
10313
10331
|
const o = document.createRange();
|
|
10314
10332
|
o.selectNodeContents(t);
|
|
10315
10333
|
const n = e.cloneRange();
|
|
10316
10334
|
n.compareBoundaryPoints(Range.START_TO_START, o) < 0 && n.setStart(o.startContainer, o.startOffset), n.compareBoundaryPoints(Range.END_TO_END, o) > 0 && n.setEnd(o.endContainer, o.endOffset);
|
|
10317
10335
|
const s = n.toString().trim();
|
|
10318
|
-
if (s.length <
|
|
10336
|
+
if (s.length < k4) return null;
|
|
10319
10337
|
const i = n.getBoundingClientRect();
|
|
10320
10338
|
return { rect: i.width > 0 || i.height > 0 ? i : t.getBoundingClientRect(), text: s };
|
|
10321
10339
|
}
|
|
@@ -10334,7 +10352,7 @@ function $r({
|
|
|
10334
10352
|
n(null);
|
|
10335
10353
|
return;
|
|
10336
10354
|
}
|
|
10337
|
-
n(
|
|
10355
|
+
n(b4(u.getRangeAt(0), i));
|
|
10338
10356
|
}, d = () => {
|
|
10339
10357
|
window.setTimeout(a, 0);
|
|
10340
10358
|
}, l = () => {
|
|
@@ -10403,7 +10421,7 @@ function Ir({ anchor: e, onReply: t }) {
|
|
|
10403
10421
|
document.body
|
|
10404
10422
|
);
|
|
10405
10423
|
}
|
|
10406
|
-
const Pr = Ye(void 0),
|
|
10424
|
+
const Pr = Ye(void 0), C9 = () => Pe(Pr), L4 = (e) => /* @__PURE__ */ r(zt, { content: e, format: "markdown" }), y4 = ({
|
|
10407
10425
|
isGenerating: e,
|
|
10408
10426
|
isLoading: t,
|
|
10409
10427
|
message: o,
|
|
@@ -10424,7 +10442,7 @@ const Pr = Ye(void 0), p9 = () => Pe(Pr), k4 = (e) => /* @__PURE__ */ r(zt, { co
|
|
|
10424
10442
|
{
|
|
10425
10443
|
ref: g,
|
|
10426
10444
|
className: "w-full max-w-full [&>div]:flex [&>div]:flex-col [&>div]:gap-1",
|
|
10427
|
-
children: (a ??
|
|
10445
|
+
children: (a ?? L4)(d)
|
|
10428
10446
|
}
|
|
10429
10447
|
),
|
|
10430
10448
|
!!l && /* @__PURE__ */ r("div", { className: "w-full", children: l }),
|
|
@@ -10438,7 +10456,7 @@ const Pr = Ye(void 0), p9 = () => Pe(Pr), k4 = (e) => /* @__PURE__ */ r(zt, { co
|
|
|
10438
10456
|
}
|
|
10439
10457
|
)
|
|
10440
10458
|
] }) });
|
|
10441
|
-
},
|
|
10459
|
+
}, M4 = ({
|
|
10442
10460
|
onClose: e,
|
|
10443
10461
|
onSubmit: t,
|
|
10444
10462
|
reactionType: o,
|
|
@@ -10457,7 +10475,7 @@ const Pr = Ye(void 0), p9 = () => Pe(Pr), k4 = (e) => /* @__PURE__ */ r(zt, { co
|
|
|
10457
10475
|
document.removeEventListener("keydown", m);
|
|
10458
10476
|
};
|
|
10459
10477
|
}, [f]), /* @__PURE__ */ r(
|
|
10460
|
-
|
|
10478
|
+
Vs,
|
|
10461
10479
|
{
|
|
10462
10480
|
position: "center",
|
|
10463
10481
|
isOpen: !0,
|
|
@@ -10474,7 +10492,7 @@ const Pr = Ye(void 0), p9 = () => Pe(Pr), k4 = (e) => /* @__PURE__ */ r(zt, { co
|
|
|
10474
10492
|
onClick: g
|
|
10475
10493
|
},
|
|
10476
10494
|
children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ r(
|
|
10477
|
-
|
|
10495
|
+
Ss,
|
|
10478
10496
|
{
|
|
10479
10497
|
autoFocus: !0,
|
|
10480
10498
|
label: l,
|
|
@@ -10487,7 +10505,7 @@ const Pr = Ye(void 0), p9 = () => Pe(Pr), k4 = (e) => /* @__PURE__ */ r(zt, { co
|
|
|
10487
10505
|
) })
|
|
10488
10506
|
}
|
|
10489
10507
|
);
|
|
10490
|
-
}, jr = Ye(null),
|
|
10508
|
+
}, jr = Ye(null), E4 = ({ children: e }) => {
|
|
10491
10509
|
const [t, o] = P(null), n = t ? {
|
|
10492
10510
|
isOpen: !0,
|
|
10493
10511
|
currentReaction: t.action,
|
|
@@ -10510,7 +10528,7 @@ const Pr = Ye(void 0), p9 = () => Pe(Pr), k4 = (e) => /* @__PURE__ */ r(zt, { co
|
|
|
10510
10528
|
);
|
|
10511
10529
|
return e;
|
|
10512
10530
|
};
|
|
10513
|
-
function
|
|
10531
|
+
function R4(e) {
|
|
10514
10532
|
const t = Dr();
|
|
10515
10533
|
return { modal: t, handleSubmit: (s, i) => {
|
|
10516
10534
|
(t.currentReaction === "like" ? e.onThumbsUp : e.onThumbsDown)?.(s, { threadId: e.threadId, feedback: i }), t.close();
|
|
@@ -10518,7 +10536,7 @@ function M4(e) {
|
|
|
10518
10536
|
(t.currentReaction === "like" ? e.onThumbsUp : e.onThumbsDown)?.(s, { threadId: e.threadId, feedback: "" }), t.close();
|
|
10519
10537
|
} };
|
|
10520
10538
|
}
|
|
10521
|
-
const
|
|
10539
|
+
const F4 = ({
|
|
10522
10540
|
content: e,
|
|
10523
10541
|
targetMessage: t,
|
|
10524
10542
|
onCopy: o
|
|
@@ -10605,7 +10623,7 @@ const E4 = ({
|
|
|
10605
10623
|
]
|
|
10606
10624
|
)
|
|
10607
10625
|
}
|
|
10608
|
-
),
|
|
10626
|
+
), N4 = ({
|
|
10609
10627
|
icon: e,
|
|
10610
10628
|
title: t,
|
|
10611
10629
|
children: o,
|
|
@@ -10659,7 +10677,7 @@ const E4 = ({
|
|
|
10659
10677
|
]
|
|
10660
10678
|
}
|
|
10661
10679
|
);
|
|
10662
|
-
},
|
|
10680
|
+
}, V4 = ({
|
|
10663
10681
|
titles: e,
|
|
10664
10682
|
title: t,
|
|
10665
10683
|
inProgress: o,
|
|
@@ -10671,7 +10689,7 @@ const E4 = ({
|
|
|
10671
10689
|
}, [o, i]);
|
|
10672
10690
|
const l = o ? s.ai.thoughtsGroupTitle : t ?? s.ai.thoughtsGroupTitle, u = e.length - 1, f = (g) => !o || n ? "completed" : g === u ? "executing" : "completed";
|
|
10673
10691
|
return /* @__PURE__ */ r(
|
|
10674
|
-
|
|
10692
|
+
N4,
|
|
10675
10693
|
{
|
|
10676
10694
|
icon: rr,
|
|
10677
10695
|
title: l,
|
|
@@ -10698,14 +10716,14 @@ const E4 = ({
|
|
|
10698
10716
|
}
|
|
10699
10717
|
);
|
|
10700
10718
|
};
|
|
10701
|
-
function
|
|
10719
|
+
function S4(e) {
|
|
10702
10720
|
if (typeof e == "string") return e;
|
|
10703
10721
|
if (Array.isArray(e)) {
|
|
10704
10722
|
const t = e.filter((o) => o.type === "text").map((o) => o.text).filter((o) => typeof o == "string");
|
|
10705
10723
|
return t[t.length - 1];
|
|
10706
10724
|
}
|
|
10707
10725
|
}
|
|
10708
|
-
function
|
|
10726
|
+
function T4(e, t) {
|
|
10709
10727
|
const o = Array.isArray(e) ? e.filter((n) => n.type === "binary").map((n) => ({
|
|
10710
10728
|
url: n.url,
|
|
10711
10729
|
filename: n.filename,
|
|
@@ -10717,13 +10735,13 @@ function S4(e, t) {
|
|
|
10717
10735
|
(n) => typeof n?.filename == "string" && typeof n?.mimetype == "string" && typeof n?.url == "string"
|
|
10718
10736
|
);
|
|
10719
10737
|
}
|
|
10720
|
-
const Zr = (e) => /* @__PURE__ */ r(zt, { content: e, format: "markdown" }),
|
|
10738
|
+
const Zr = (e) => /* @__PURE__ */ r(zt, { content: e, format: "markdown" }), H4 = ({
|
|
10721
10739
|
text: e,
|
|
10722
10740
|
renderMarkdown: t
|
|
10723
10741
|
}) => /* @__PURE__ */ c("div", { className: "flex max-w-[90%] items-start gap-2 self-end pb-1 pr-2 text-f1-foreground-tertiary", children: [
|
|
10724
10742
|
/* @__PURE__ */ r("div", { className: "flex h-5 items-center", children: /* @__PURE__ */ r(le, { icon: R1 }) }),
|
|
10725
10743
|
/* @__PURE__ */ r("div", { className: "min-w-0 whitespace-pre-wrap text-base leading-5 [&>div]:flex [&>div]:flex-col [&>div]:gap-1 [&_p]:m-0", children: (t ?? Zr)(e) })
|
|
10726
|
-
] }),
|
|
10744
|
+
] }), A4 = ({
|
|
10727
10745
|
message: e,
|
|
10728
10746
|
onReplyQuote: t,
|
|
10729
10747
|
autoScrollIntoView: o = !0,
|
|
@@ -10735,10 +10753,10 @@ const Zr = (e) => /* @__PURE__ */ r(zt, { content: e, format: "markdown" }), V4
|
|
|
10735
10753
|
behavior: "smooth"
|
|
10736
10754
|
});
|
|
10737
10755
|
}, [o]);
|
|
10738
|
-
const a = e.rawData, d =
|
|
10756
|
+
const a = e.rawData, d = T4(
|
|
10739
10757
|
e?.content,
|
|
10740
10758
|
a
|
|
10741
|
-
), l = (
|
|
10759
|
+
), l = (S4(e?.content) ?? "").trim(), u = e?.replyQuote ?? null, f = l.length > 0, { anchor: g, clear: m } = $r({
|
|
10742
10760
|
containerRef: i,
|
|
10743
10761
|
enabled: f
|
|
10744
10762
|
});
|
|
@@ -10748,7 +10766,7 @@ const Zr = (e) => /* @__PURE__ */ r(zt, { content: e, format: "markdown" }), V4
|
|
|
10748
10766
|
ref: s,
|
|
10749
10767
|
className: "my-4 flex w-full flex-col items-end gap-2 first:mt-0 last:mb-0",
|
|
10750
10768
|
children: [
|
|
10751
|
-
u && /* @__PURE__ */ r(
|
|
10769
|
+
u && /* @__PURE__ */ r(H4, { text: u, renderMarkdown: n }),
|
|
10752
10770
|
d.length > 0 && /* @__PURE__ */ r("div", { className: "flex max-w-[90%] flex-wrap justify-end gap-1.5", children: d.map((h, C) => /* @__PURE__ */ r(
|
|
10753
10771
|
_t,
|
|
10754
10772
|
{
|
|
@@ -10777,7 +10795,7 @@ const Zr = (e) => /* @__PURE__ */ r(zt, { content: e, format: "markdown" }), V4
|
|
|
10777
10795
|
]
|
|
10778
10796
|
}
|
|
10779
10797
|
);
|
|
10780
|
-
},
|
|
10798
|
+
}, B4 = 35, $4 = 22, I4 = 400, P4 = 2500, j4 = 220, D4 = ({
|
|
10781
10799
|
messages: e,
|
|
10782
10800
|
onClick: t,
|
|
10783
10801
|
fullscreen: o = !1
|
|
@@ -10788,15 +10806,15 @@ const Zr = (e) => /* @__PURE__ */ r(zt, { content: e, format: "markdown" }), V4
|
|
|
10788
10806
|
}, [e.length, n]), X(() => {
|
|
10789
10807
|
let m;
|
|
10790
10808
|
if (d === "starting")
|
|
10791
|
-
m = setTimeout(() => l("writing"),
|
|
10809
|
+
m = setTimeout(() => l("writing"), I4);
|
|
10792
10810
|
else if (d === "writing")
|
|
10793
|
-
i < u.length ? m = setTimeout(() => a((h) => h + 1),
|
|
10811
|
+
i < u.length ? m = setTimeout(() => a((h) => h + 1), B4) : l("holding");
|
|
10794
10812
|
else if (d === "holding") {
|
|
10795
10813
|
if (e.length <= 1) return;
|
|
10796
|
-
m = setTimeout(() => l("erasing"),
|
|
10797
|
-
} else d === "erasing" && (i > 0 ? m = setTimeout(() => a((h) => h - 1),
|
|
10814
|
+
m = setTimeout(() => l("erasing"), P4);
|
|
10815
|
+
} else d === "erasing" && (i > 0 ? m = setTimeout(() => a((h) => h - 1), $4) : m = setTimeout(() => {
|
|
10798
10816
|
s((h) => (h + 1) % e.length), l("starting");
|
|
10799
|
-
},
|
|
10817
|
+
}, j4));
|
|
10800
10818
|
return () => {
|
|
10801
10819
|
m && clearTimeout(m);
|
|
10802
10820
|
};
|
|
@@ -10835,7 +10853,7 @@ const Zr = (e) => /* @__PURE__ */ r(zt, { content: e, format: "markdown" }), V4
|
|
|
10835
10853
|
}
|
|
10836
10854
|
);
|
|
10837
10855
|
};
|
|
10838
|
-
function
|
|
10856
|
+
function Z4({
|
|
10839
10857
|
viewportRef: e,
|
|
10840
10858
|
contentRef: t,
|
|
10841
10859
|
endRef: o,
|
|
@@ -10864,8 +10882,8 @@ function j4({
|
|
|
10864
10882
|
const h = q(() => {
|
|
10865
10883
|
const C = e.current;
|
|
10866
10884
|
if (!C) return;
|
|
10867
|
-
const { scrollTop: v, scrollHeight: w, clientHeight: k } = C,
|
|
10868
|
-
u(
|
|
10885
|
+
const { scrollTop: v, scrollHeight: w, clientHeight: k } = C, S = w - v - k;
|
|
10886
|
+
u(S > k);
|
|
10869
10887
|
}, [e]);
|
|
10870
10888
|
return X(() => {
|
|
10871
10889
|
const C = e.current;
|
|
@@ -10876,19 +10894,19 @@ function j4({
|
|
|
10876
10894
|
requestAnimationFrame(() => {
|
|
10877
10895
|
const C = e.current, v = n.current;
|
|
10878
10896
|
if (!C || !v) return;
|
|
10879
|
-
const w = C.getBoundingClientRect(), k = v.getBoundingClientRect(),
|
|
10880
|
-
C.scrollTo({ top:
|
|
10897
|
+
const w = C.getBoundingClientRect(), k = v.getBoundingClientRect(), S = C.scrollTop + (k.top - w.top);
|
|
10898
|
+
C.scrollTo({ top: S, behavior: "smooth" });
|
|
10881
10899
|
});
|
|
10882
10900
|
}), s === 0 && u(!1), f.current = s;
|
|
10883
10901
|
}, [s, n, e]), { showScrollBtn: l, turnMinHeight: a, scrollToBottom: m };
|
|
10884
10902
|
}
|
|
10885
|
-
const
|
|
10903
|
+
const _4 = {
|
|
10886
10904
|
threadId: "",
|
|
10887
10905
|
onThumbsUp: () => {
|
|
10888
10906
|
},
|
|
10889
10907
|
onThumbsDown: () => {
|
|
10890
10908
|
}
|
|
10891
|
-
},
|
|
10909
|
+
}, v9 = (e) => /* @__PURE__ */ r(E4, { children: /* @__PURE__ */ r(O4, { ...e }) }), O4 = ({
|
|
10892
10910
|
turns: e,
|
|
10893
10911
|
isLoadingThread: t = !1,
|
|
10894
10912
|
interrupt: o,
|
|
@@ -10907,14 +10925,14 @@ const D4 = {
|
|
|
10907
10925
|
AssistantMessage: v,
|
|
10908
10926
|
UserMessage: w,
|
|
10909
10927
|
onRegenerate: k,
|
|
10910
|
-
onCopy:
|
|
10928
|
+
onCopy: S
|
|
10911
10929
|
}) => {
|
|
10912
|
-
const { modal: T, handleSubmit: E, handleClose: L } =
|
|
10913
|
-
f ??
|
|
10914
|
-
), b = Y(), A = v ??
|
|
10930
|
+
const { modal: T, handleSubmit: E, handleClose: L } = R4(
|
|
10931
|
+
f ?? _4
|
|
10932
|
+
), b = Y(), A = v ?? y4, H = w ?? A4, y = ee(() => {
|
|
10915
10933
|
const D = n ?? b.ai.defaultInitialMessage;
|
|
10916
10934
|
return (Array.isArray(D) ? D : [D]).filter((W) => typeof W == "string" && W.length > 0);
|
|
10917
|
-
}, [n, b.ai.defaultInitialMessage]), R = !t && e.length === 0 && y.length > 0, F = I(null), $ = I(null), _ = I(null), z = I(null), G = I(null), { showScrollBtn: re, turnMinHeight: K, scrollToBottom: O } =
|
|
10935
|
+
}, [n, b.ai.defaultInitialMessage]), R = !t && e.length === 0 && y.length > 0, F = I(null), $ = I(null), _ = I(null), z = I(null), G = I(null), { showScrollBtn: re, turnMinHeight: K, scrollToBottom: O } = Z4({
|
|
10918
10936
|
viewportRef: F,
|
|
10919
10937
|
contentRef: $,
|
|
10920
10938
|
endRef: _,
|
|
@@ -10937,7 +10955,7 @@ const D4 = {
|
|
|
10937
10955
|
AssistantMessage: A,
|
|
10938
10956
|
UserMessage: H,
|
|
10939
10957
|
onRegenerate: k,
|
|
10940
|
-
onCopy:
|
|
10958
|
+
onCopy: S,
|
|
10941
10959
|
rawData: oe.rawData || {},
|
|
10942
10960
|
...he
|
|
10943
10961
|
};
|
|
@@ -10949,7 +10967,7 @@ const D4 = {
|
|
|
10949
10967
|
`${Q}-u-${se}`
|
|
10950
10968
|
);
|
|
10951
10969
|
}, ie = (oe, se) => {
|
|
10952
|
-
const de = W && se === D.assistantMessages.length - 1, M = D.userMessages.length + se,
|
|
10970
|
+
const de = W && se === D.assistantMessages.length - 1, M = D.userMessages.length + se, V = {
|
|
10953
10971
|
message: oe,
|
|
10954
10972
|
inProgress: D.isInProgress,
|
|
10955
10973
|
index: M,
|
|
@@ -10957,14 +10975,14 @@ const D4 = {
|
|
|
10957
10975
|
AssistantMessage: A,
|
|
10958
10976
|
UserMessage: H,
|
|
10959
10977
|
onRegenerate: k,
|
|
10960
|
-
onCopy:
|
|
10978
|
+
onCopy: S,
|
|
10961
10979
|
rawData: oe.rawData || {},
|
|
10962
10980
|
...he
|
|
10963
10981
|
};
|
|
10964
10982
|
return /* @__PURE__ */ r(
|
|
10965
10983
|
A,
|
|
10966
10984
|
{
|
|
10967
|
-
...
|
|
10985
|
+
...V,
|
|
10968
10986
|
isGenerating: D.isInProgress && de,
|
|
10969
10987
|
isLoading: D.isInProgress && de && !oe.content
|
|
10970
10988
|
},
|
|
@@ -10987,7 +11005,7 @@ const D4 = {
|
|
|
10987
11005
|
(oe, se) => ge(oe, se)
|
|
10988
11006
|
),
|
|
10989
11007
|
D.thinking && D.thinking.titles.length > 0 && /* @__PURE__ */ r(
|
|
10990
|
-
|
|
11008
|
+
V4,
|
|
10991
11009
|
{
|
|
10992
11010
|
titles: D.thinking.titles,
|
|
10993
11011
|
title: b.ai.thoughtsGroupTitle,
|
|
@@ -11001,14 +11019,14 @@ const D4 = {
|
|
|
11001
11019
|
D.endIndicator === "thinking" && /* @__PURE__ */ r(u1, { title: b.ai.thinking, status: "executing" }),
|
|
11002
11020
|
D.endIndicator === "activity" && /* @__PURE__ */ r(u1, { status: "writing" }),
|
|
11003
11021
|
D.feedback && /* @__PURE__ */ r(
|
|
11004
|
-
|
|
11022
|
+
F4,
|
|
11005
11023
|
{
|
|
11006
11024
|
content: D.feedback.content,
|
|
11007
11025
|
targetMessage: D.feedback.targetMessage,
|
|
11008
|
-
onCopy:
|
|
11026
|
+
onCopy: S
|
|
11009
11027
|
}
|
|
11010
11028
|
),
|
|
11011
|
-
W && /* @__PURE__ */ r(
|
|
11029
|
+
W && /* @__PURE__ */ r(x4, {})
|
|
11012
11030
|
]
|
|
11013
11031
|
},
|
|
11014
11032
|
`turn-${Q}`
|
|
@@ -11042,9 +11060,9 @@ const D4 = {
|
|
|
11042
11060
|
"w-full max-w-content"
|
|
11043
11061
|
),
|
|
11044
11062
|
children: [
|
|
11045
|
-
t && /* @__PURE__ */ r(
|
|
11063
|
+
t && /* @__PURE__ */ r(U4, {}),
|
|
11046
11064
|
R && /* @__PURE__ */ r(
|
|
11047
|
-
|
|
11065
|
+
D4,
|
|
11048
11066
|
{
|
|
11049
11067
|
messages: y,
|
|
11050
11068
|
onClick: s,
|
|
@@ -11089,7 +11107,7 @@ const D4 = {
|
|
|
11089
11107
|
] })
|
|
11090
11108
|
] }),
|
|
11091
11109
|
T.isOpen && /* @__PURE__ */ r(
|
|
11092
|
-
|
|
11110
|
+
M4,
|
|
11093
11111
|
{
|
|
11094
11112
|
onSubmit: E,
|
|
11095
11113
|
onClose: L,
|
|
@@ -11098,21 +11116,21 @@ const D4 = {
|
|
|
11098
11116
|
}
|
|
11099
11117
|
)
|
|
11100
11118
|
] });
|
|
11101
|
-
},
|
|
11119
|
+
}, U4 = () => /* @__PURE__ */ r("div", { className: "flex h-full w-full max-w-content flex-col gap-6", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
|
|
11102
11120
|
/* @__PURE__ */ r("div", { className: "flex justify-end", children: /* @__PURE__ */ r(ue, { className: "h-12 w-2/5 rounded-full" }) }),
|
|
11103
11121
|
/* @__PURE__ */ r(ue, { className: "mt-6 h-5 w-full rounded-md" }),
|
|
11104
11122
|
/* @__PURE__ */ r(ue, { className: "h-5 w-2/5 rounded-md" }),
|
|
11105
11123
|
/* @__PURE__ */ r(ue, { className: "h-5 w-4/5 rounded-md" })
|
|
11106
|
-
] }) }),
|
|
11124
|
+
] }) }), w9 = {
|
|
11107
11125
|
ai: qs.ai
|
|
11108
11126
|
}, _r = Ye(null);
|
|
11109
|
-
function
|
|
11127
|
+
function x9({
|
|
11110
11128
|
children: e,
|
|
11111
11129
|
translations: t
|
|
11112
11130
|
}) {
|
|
11113
11131
|
return /* @__PURE__ */ r(_r.Provider, { value: t, children: e });
|
|
11114
11132
|
}
|
|
11115
|
-
function
|
|
11133
|
+
function k9() {
|
|
11116
11134
|
const e = Pe(_r);
|
|
11117
11135
|
if (e === null)
|
|
11118
11136
|
throw new Error(
|
|
@@ -11120,16 +11138,16 @@ function w9() {
|
|
|
11120
11138
|
);
|
|
11121
11139
|
return e;
|
|
11122
11140
|
}
|
|
11123
|
-
function
|
|
11141
|
+
function z4() {
|
|
11124
11142
|
const { canvasEntities: e } = Me();
|
|
11125
11143
|
return e;
|
|
11126
11144
|
}
|
|
11127
|
-
function
|
|
11128
|
-
const t =
|
|
11145
|
+
function b9(e) {
|
|
11146
|
+
const t = z4();
|
|
11129
11147
|
if (!(!e || !t))
|
|
11130
11148
|
return t[e];
|
|
11131
11149
|
}
|
|
11132
|
-
const
|
|
11150
|
+
const G4 = ({
|
|
11133
11151
|
canProceed: e,
|
|
11134
11152
|
submitDisabled: t,
|
|
11135
11153
|
label: o,
|
|
@@ -11167,7 +11185,7 @@ const U4 = ({
|
|
|
11167
11185
|
),
|
|
11168
11186
|
children: e && /* @__PURE__ */ r("div", { className: "h-2 w-2 rounded-full bg-f1-background" })
|
|
11169
11187
|
}
|
|
11170
|
-
),
|
|
11188
|
+
), W4 = ({
|
|
11171
11189
|
mode: e,
|
|
11172
11190
|
hasSelection: t,
|
|
11173
11191
|
hasCustomText: o,
|
|
@@ -11272,7 +11290,7 @@ const U4 = ({
|
|
|
11272
11290
|
)
|
|
11273
11291
|
);
|
|
11274
11292
|
Ur.displayName = "OptionRow";
|
|
11275
|
-
const
|
|
11293
|
+
const q4 = ({
|
|
11276
11294
|
mode: e,
|
|
11277
11295
|
question: t,
|
|
11278
11296
|
options: o,
|
|
@@ -11291,11 +11309,11 @@ const G4 = ({
|
|
|
11291
11309
|
onToggleCustomActive: v,
|
|
11292
11310
|
onConfirm: w
|
|
11293
11311
|
}) => {
|
|
11294
|
-
const k = ye(),
|
|
11312
|
+
const k = ye(), S = (() => {
|
|
11295
11313
|
if (e !== "single") return 0;
|
|
11296
11314
|
const A = o.findIndex((H) => n.includes(H.id));
|
|
11297
11315
|
return A >= 0 ? A : 0;
|
|
11298
|
-
})(), [T, E] = P(
|
|
11316
|
+
})(), [T, E] = P(S), L = I([]);
|
|
11299
11317
|
X(() => {
|
|
11300
11318
|
g && e === "single" && L.current[T]?.focus();
|
|
11301
11319
|
}, []);
|
|
@@ -11359,7 +11377,7 @@ const G4 = ({
|
|
|
11359
11377
|
A.id
|
|
11360
11378
|
)),
|
|
11361
11379
|
s && /* @__PURE__ */ r(
|
|
11362
|
-
|
|
11380
|
+
W4,
|
|
11363
11381
|
{
|
|
11364
11382
|
mode: e,
|
|
11365
11383
|
hasSelection: i,
|
|
@@ -11377,7 +11395,7 @@ const G4 = ({
|
|
|
11377
11395
|
]
|
|
11378
11396
|
}
|
|
11379
11397
|
);
|
|
11380
|
-
},
|
|
11398
|
+
}, X4 = ({
|
|
11381
11399
|
question: e,
|
|
11382
11400
|
stepLabel: t,
|
|
11383
11401
|
isFirstStep: o,
|
|
@@ -11436,16 +11454,16 @@ const G4 = ({
|
|
|
11436
11454
|
}
|
|
11437
11455
|
)
|
|
11438
11456
|
] });
|
|
11439
|
-
},
|
|
11457
|
+
}, Y4 = "easeOut", K4 = 0.3, L9 = ({
|
|
11440
11458
|
clarifyingQuestion: e,
|
|
11441
11459
|
isSubmitDisabled: t
|
|
11442
11460
|
}) => /* @__PURE__ */ r(
|
|
11443
|
-
|
|
11461
|
+
Q4,
|
|
11444
11462
|
{
|
|
11445
11463
|
clarifyingQuestion: e,
|
|
11446
11464
|
isSubmitDisabled: t
|
|
11447
11465
|
}
|
|
11448
|
-
),
|
|
11466
|
+
), Q4 = ({
|
|
11449
11467
|
clarifyingQuestion: e,
|
|
11450
11468
|
isSubmitDisabled: t
|
|
11451
11469
|
}) => {
|
|
@@ -11465,12 +11483,12 @@ const G4 = ({
|
|
|
11465
11483
|
question: v,
|
|
11466
11484
|
options: w,
|
|
11467
11485
|
selectedOptionIds: k,
|
|
11468
|
-
selectionMode:
|
|
11486
|
+
selectionMode: S,
|
|
11469
11487
|
optional: T,
|
|
11470
11488
|
allowCustomAnswer: E,
|
|
11471
11489
|
customAnswerText: L,
|
|
11472
11490
|
isCustomAnswerActive: b
|
|
11473
|
-
} = s, A = I(null), H =
|
|
11491
|
+
} = s, A = I(null), H = S ?? "single", y = a > 1, R = i === 0, F = i === a - 1, $ = y ? o.t("ai.clarifyingQuestion.stepOf", {
|
|
11474
11492
|
current: String(i + 1),
|
|
11475
11493
|
total: String(a)
|
|
11476
11494
|
}) : void 0, _ = k.length > 0, z = (L ?? "").trim().length > 0, G = _ || b && z || T === !0, re = t === !0 && F, K = () => {
|
|
@@ -11486,7 +11504,7 @@ const G4 = ({
|
|
|
11486
11504
|
});
|
|
11487
11505
|
}, he = (ie) => {
|
|
11488
11506
|
ie.key === "Escape" && (ie.preventDefault(), f());
|
|
11489
|
-
}, ge = n ? 0 :
|
|
11507
|
+
}, ge = n ? 0 : K4 / 2;
|
|
11490
11508
|
return /* @__PURE__ */ c("div", { className: "flex flex-col", onKeyDown: he, children: [
|
|
11491
11509
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-3 pt-3", children: /* @__PURE__ */ r(Ne, { mode: "wait", initial: !1, children: /* @__PURE__ */ c(
|
|
11492
11510
|
ne.div,
|
|
@@ -11495,10 +11513,10 @@ const G4 = ({
|
|
|
11495
11513
|
initial: { opacity: 0 },
|
|
11496
11514
|
animate: { opacity: 1 },
|
|
11497
11515
|
exit: { opacity: 0 },
|
|
11498
|
-
transition: { duration: ge, ease:
|
|
11516
|
+
transition: { duration: ge, ease: Y4 },
|
|
11499
11517
|
children: [
|
|
11500
11518
|
/* @__PURE__ */ r(
|
|
11501
|
-
|
|
11519
|
+
X4,
|
|
11502
11520
|
{
|
|
11503
11521
|
question: v,
|
|
11504
11522
|
stepLabel: $,
|
|
@@ -11511,7 +11529,7 @@ const G4 = ({
|
|
|
11511
11529
|
}
|
|
11512
11530
|
),
|
|
11513
11531
|
/* @__PURE__ */ r(
|
|
11514
|
-
|
|
11532
|
+
q4,
|
|
11515
11533
|
{
|
|
11516
11534
|
mode: H,
|
|
11517
11535
|
question: v,
|
|
@@ -11536,7 +11554,7 @@ const G4 = ({
|
|
|
11536
11554
|
i
|
|
11537
11555
|
) }) }),
|
|
11538
11556
|
/* @__PURE__ */ r(
|
|
11539
|
-
|
|
11557
|
+
G4,
|
|
11540
11558
|
{
|
|
11541
11559
|
canProceed: G,
|
|
11542
11560
|
submitDisabled: re,
|
|
@@ -11549,7 +11567,7 @@ const G4 = ({
|
|
|
11549
11567
|
] });
|
|
11550
11568
|
};
|
|
11551
11569
|
function Q1(e, t, o, n) {
|
|
11552
|
-
const s = Math.max(1, Math.min(e, t)), i = Math.min(o, 20), d = Math.min(i + n, s), l = Math.min(d, Math.floor(e / 2)), u = Math.min(d, Math.floor(t / 2)), f = (W) => W / e * 2 - 1, g = (W) => W / t * 2 - 1, m = 0, h = e, C = 0, v = t, w = l, k = e - l,
|
|
11570
|
+
const s = Math.max(1, Math.min(e, t)), i = Math.min(o, 20), d = Math.min(i + n, s), l = Math.min(d, Math.floor(e / 2)), u = Math.min(d, Math.floor(t / 2)), f = (W) => W / e * 2 - 1, g = (W) => W / t * 2 - 1, m = 0, h = e, C = 0, v = t, w = l, k = e - l, S = u, T = t - u, E = f(m), L = f(h), b = g(C), A = g(v), H = f(w), y = f(k), R = g(S), F = g(T), $ = 0, _ = 0, z = 1, G = 1, re = l / e, K = 1 - l / e, O = u / t, Z = 1 - u / t, D = new Float32Array([
|
|
11553
11571
|
// Top strip
|
|
11554
11572
|
E,
|
|
11555
11573
|
b,
|
|
@@ -11667,7 +11685,7 @@ function J1(e, t, o) {
|
|
|
11667
11685
|
}
|
|
11668
11686
|
return n;
|
|
11669
11687
|
}
|
|
11670
|
-
function
|
|
11688
|
+
function J4(e, t, o) {
|
|
11671
11689
|
const n = J1(e, e.VERTEX_SHADER, t), s = J1(e, e.FRAGMENT_SHADER, o), i = e.createProgram();
|
|
11672
11690
|
if (!i) throw new Error("Failed to create program");
|
|
11673
11691
|
if (e.attachShader(i, n), e.attachShader(i, s), e.linkProgram(i), !e.getProgramParameter(i, e.LINK_STATUS)) {
|
|
@@ -11676,7 +11694,7 @@ function K4(e, t, o) {
|
|
|
11676
11694
|
}
|
|
11677
11695
|
return e.deleteShader(n), e.deleteShader(s), i;
|
|
11678
11696
|
}
|
|
11679
|
-
const
|
|
11697
|
+
const e6 = `#version 300 es
|
|
11680
11698
|
precision lowp float;
|
|
11681
11699
|
|
|
11682
11700
|
in vec2 vUV;
|
|
@@ -11883,7 +11901,7 @@ void main() {
|
|
|
11883
11901
|
|
|
11884
11902
|
outColor = vec4(color, alpha);
|
|
11885
11903
|
}
|
|
11886
|
-
`,
|
|
11904
|
+
`, t6 = `#version 300 es
|
|
11887
11905
|
|
|
11888
11906
|
in vec2 aPosition;
|
|
11889
11907
|
in vec2 aUV;
|
|
@@ -11892,7 +11910,7 @@ void main() {
|
|
|
11892
11910
|
vUV = aUV;
|
|
11893
11911
|
gl_Position = vec4(aPosition, 0.0, 1.0);
|
|
11894
11912
|
}
|
|
11895
|
-
`,
|
|
11913
|
+
`, r6 = [
|
|
11896
11914
|
"rgb(229, 25, 67)",
|
|
11897
11915
|
// #E51943 red
|
|
11898
11916
|
"rgb(229, 86, 25)",
|
|
@@ -11902,14 +11920,14 @@ void main() {
|
|
|
11902
11920
|
"rgb(161, 173, 229)"
|
|
11903
11921
|
// #A1ADE5 light blue
|
|
11904
11922
|
];
|
|
11905
|
-
function
|
|
11923
|
+
function o6(e) {
|
|
11906
11924
|
const t = e.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);
|
|
11907
11925
|
if (!t)
|
|
11908
11926
|
throw new Error(`Invalid color format: ${e}`);
|
|
11909
11927
|
const [, o, n, s] = t;
|
|
11910
11928
|
return [parseInt(o) / 255, parseInt(n) / 255, parseInt(s) / 255];
|
|
11911
11929
|
}
|
|
11912
|
-
class
|
|
11930
|
+
class y9 {
|
|
11913
11931
|
element;
|
|
11914
11932
|
canvas;
|
|
11915
11933
|
options;
|
|
@@ -11987,8 +12005,8 @@ class b9 {
|
|
|
11987
12005
|
s.enableVertexAttribArray(w), s.vertexAttribPointer(w, 2, s.FLOAT, !1, 0, 0), this.checkGLError(s, "resize: after UV buffer update"), s.useProgram(i), s.uniform2f(u, this.canvas.width, this.canvas.height), s.uniform1f(this.glr.uBorderWidth, this.options.borderWidth * f), s.uniform1f(this.glr.uGlowWidth, this.options.glowWidth * f), s.uniform1f(this.glr.uBorderRadius, this.options.borderRadius * f), this.checkGLError(s, "resize: after uniform updates");
|
|
11988
12006
|
const k = performance.now();
|
|
11989
12007
|
this.lastTime = k;
|
|
11990
|
-
const
|
|
11991
|
-
this.render(
|
|
12008
|
+
const S = (k - this.startTime) * 1e-3;
|
|
12009
|
+
this.render(S);
|
|
11992
12010
|
}
|
|
11993
12011
|
/**
|
|
11994
12012
|
* Automatically resizes the canvas to match the dimensions of the given element.
|
|
@@ -12059,7 +12077,7 @@ class b9 {
|
|
|
12059
12077
|
});
|
|
12060
12078
|
if (!t)
|
|
12061
12079
|
throw new Error("WebGL2 is required but not available.");
|
|
12062
|
-
const o =
|
|
12080
|
+
const o = J4(t, t6, e6);
|
|
12063
12081
|
this.checkGLError(t, "setupGL: after createProgram");
|
|
12064
12082
|
const n = t.createVertexArray();
|
|
12065
12083
|
t.bindVertexArray(n), this.checkGLError(t, "setupGL: after VAO creation");
|
|
@@ -12076,9 +12094,9 @@ class b9 {
|
|
|
12076
12094
|
t.bindBuffer(t.ARRAY_BUFFER, f), t.bufferData(t.ARRAY_BUFFER, d, t.STATIC_DRAW);
|
|
12077
12095
|
const g = t.getAttribLocation(o, "aUV");
|
|
12078
12096
|
t.enableVertexAttribArray(g), t.vertexAttribPointer(g, 2, t.FLOAT, !1, 0, 0), this.checkGLError(t, "setupGL: after UV buffer setup");
|
|
12079
|
-
const m = t.getUniformLocation(o, "uResolution"), h = t.getUniformLocation(o, "uTime"), C = t.getUniformLocation(o, "uBorderWidth"), v = t.getUniformLocation(o, "uGlowWidth"), w = t.getUniformLocation(o, "uBorderRadius"), k = t.getUniformLocation(o, "uColors"),
|
|
12080
|
-
t.useProgram(o), t.uniform1f(C, this.options.borderWidth), t.uniform1f(v, this.options.glowWidth), t.uniform1f(w, this.options.borderRadius), this.options.mode === "dark" ? (t.uniform1f(
|
|
12081
|
-
const E = (this.options.colors ||
|
|
12097
|
+
const m = t.getUniformLocation(o, "uResolution"), h = t.getUniformLocation(o, "uTime"), C = t.getUniformLocation(o, "uBorderWidth"), v = t.getUniformLocation(o, "uGlowWidth"), w = t.getUniformLocation(o, "uBorderRadius"), k = t.getUniformLocation(o, "uColors"), S = t.getUniformLocation(o, "uGlowExponent"), T = t.getUniformLocation(o, "uGlowFactor");
|
|
12098
|
+
t.useProgram(o), t.uniform1f(C, this.options.borderWidth), t.uniform1f(v, this.options.glowWidth), t.uniform1f(w, this.options.borderRadius), this.options.mode === "dark" ? (t.uniform1f(S, 2), t.uniform1f(T, 1.8)) : (t.uniform1f(S, 1), t.uniform1f(T, 1));
|
|
12099
|
+
const E = (this.options.colors || r6).map(o6);
|
|
12082
12100
|
for (let L = 0; L < E.length; L++)
|
|
12083
12101
|
t.uniform3f(
|
|
12084
12102
|
t.getUniformLocation(o, `uColors[${L}]`),
|
|
@@ -12104,30 +12122,30 @@ class b9 {
|
|
|
12104
12122
|
o.useProgram(n), o.bindVertexArray(s), o.uniform1f(i, t), o.disable(o.DEPTH_TEST), o.disable(o.CULL_FACE), o.disable(o.BLEND), o.clearColor(0, 0, 0, 0), o.clear(o.COLOR_BUFFER_BIT), o.drawArrays(o.TRIANGLES, 0, 24), this.checkGLError(o, "render: after draw call"), o.bindVertexArray(null);
|
|
12105
12123
|
}
|
|
12106
12124
|
}
|
|
12107
|
-
const et = ["lowp", "mediump", "highp"],
|
|
12125
|
+
const et = ["lowp", "mediump", "highp"], n6 = `
|
|
12108
12126
|
void main(void){
|
|
12109
12127
|
vec4 color = vec4(0.0,0.0,0.0,1.0);
|
|
12110
12128
|
mainImage( color, gl_FragCoord.xy );
|
|
12111
12129
|
gl_FragColor = color;
|
|
12112
|
-
}`,
|
|
12130
|
+
}`, s6 = `void mainImage( out vec4 fragColor, in vec2 fragCoord ) {
|
|
12113
12131
|
vec2 uv = fragCoord/iResolution.xy;
|
|
12114
12132
|
vec3 col = 0.5 + 0.5*cos(iTime+uv.xyx+vec3(0,2,4));
|
|
12115
12133
|
fragColor = vec4(col,1.0);
|
|
12116
12134
|
}`, tt = `attribute vec3 aVertexPosition;
|
|
12117
12135
|
void main(void) {
|
|
12118
12136
|
gl_Position = vec4(aVertexPosition, 1.0);
|
|
12119
|
-
}`, rt = "iTime", ot = "iTimeDelta", nt = "iDate", st = "iFrame", it = "iMouse", at = "iResolution",
|
|
12120
|
-
function
|
|
12137
|
+
}`, rt = "iTime", ot = "iTimeDelta", nt = "iDate", st = "iFrame", it = "iMouse", at = "iResolution", i6 = "iChannel", ct = "iChannelResolution", lt = "iDeviceOrientation";
|
|
12138
|
+
function a6(e, t) {
|
|
12121
12139
|
return e.includes("Matrix") && Array.isArray(t);
|
|
12122
12140
|
}
|
|
12123
|
-
function
|
|
12141
|
+
function c6(e, t) {
|
|
12124
12142
|
return e.includes("v") && Array.isArray(t) && t.length > Number.parseInt(e.charAt(0));
|
|
12125
12143
|
}
|
|
12126
|
-
function
|
|
12144
|
+
function l6(e, t) {
|
|
12127
12145
|
return !e.includes("v") && Array.isArray(t) && t.length > Number.parseInt(e.charAt(0));
|
|
12128
12146
|
}
|
|
12129
|
-
const
|
|
12130
|
-
if (
|
|
12147
|
+
const d6 = (e, t, o, n) => {
|
|
12148
|
+
if (l6(o, n))
|
|
12131
12149
|
switch (o) {
|
|
12132
12150
|
case "2f":
|
|
12133
12151
|
return e.uniform2f(t, n[0], n[1]);
|
|
@@ -12168,7 +12186,7 @@ const c6 = (e, t, o, n) => {
|
|
|
12168
12186
|
case "Matrix4fv":
|
|
12169
12187
|
return e.uniformMatrix4fv(t, !1, n);
|
|
12170
12188
|
}
|
|
12171
|
-
},
|
|
12189
|
+
}, f6 = (e) => {
|
|
12172
12190
|
switch (e) {
|
|
12173
12191
|
case "1f":
|
|
12174
12192
|
return "float";
|
|
@@ -12215,8 +12233,8 @@ const c6 = (e, t, o, n) => {
|
|
|
12215
12233
|
)
|
|
12216
12234
|
);
|
|
12217
12235
|
}
|
|
12218
|
-
}, d1 = 9729, dt = 9728,
|
|
12219
|
-
class
|
|
12236
|
+
}, d1 = 9729, dt = 9728, u6 = 9987, ft = 33071, ut = 10497;
|
|
12237
|
+
class h6 {
|
|
12220
12238
|
gl;
|
|
12221
12239
|
url;
|
|
12222
12240
|
wrapS;
|
|
@@ -12304,7 +12322,7 @@ class f6 {
|
|
|
12304
12322
|
)
|
|
12305
12323
|
);
|
|
12306
12324
|
Object.assign(this, { url: n, wrapS: s, wrapT: i, minFilter: a, magFilter: d, flipY: l });
|
|
12307
|
-
const g = 0, m = o.RGBA, h = 1, C = 1, v = 0, w = o.RGBA, k = o.UNSIGNED_BYTE,
|
|
12325
|
+
const g = 0, m = o.RGBA, h = 1, C = 1, v = 0, w = o.RGBA, k = o.UNSIGNED_BYTE, S = new Uint8Array([255, 255, 255, 0]), T = o.createTexture();
|
|
12308
12326
|
if (o.bindTexture(o.TEXTURE_2D, T), o.texImage2D(
|
|
12309
12327
|
o.TEXTURE_2D,
|
|
12310
12328
|
g,
|
|
@@ -12314,7 +12332,7 @@ class f6 {
|
|
|
12314
12332
|
v,
|
|
12315
12333
|
w,
|
|
12316
12334
|
k,
|
|
12317
|
-
|
|
12335
|
+
S
|
|
12318
12336
|
), f) {
|
|
12319
12337
|
const A = this.setupVideo(n);
|
|
12320
12338
|
return o.texParameteri(o.TEXTURE_2D, o.TEXTURE_WRAP_S, o.CLAMP_TO_EDGE), o.texParameteri(o.TEXTURE_2D, o.TEXTURE_WRAP_T, o.CLAMP_TO_EDGE), o.texParameteri(o.TEXTURE_2D, o.TEXTURE_MIN_FILTER, o.LINEAR), this._webglTexture = T, this.source = A, this.isVideo = !0, A.play().then(() => this);
|
|
@@ -12348,7 +12366,7 @@ class f6 {
|
|
|
12348
12366
|
), o.texParameteri(
|
|
12349
12367
|
o.TEXTURE_2D,
|
|
12350
12368
|
o.TEXTURE_MIN_FILTER,
|
|
12351
|
-
this.minFilter ||
|
|
12369
|
+
this.minFilter || u6
|
|
12352
12370
|
), o.texParameteri(
|
|
12353
12371
|
o.TEXTURE_2D,
|
|
12354
12372
|
o.TEXTURE_MAG_FILTER,
|
|
@@ -12362,8 +12380,8 @@ const be = (e) => `react-shaders: ${e}`, ht = (e) => {
|
|
|
12362
12380
|
return [t?.clientX ?? 0, t?.clientY ?? 0];
|
|
12363
12381
|
}
|
|
12364
12382
|
return [e.clientX, e.clientY];
|
|
12365
|
-
}, gt = (e, t, o) => e * (1 - o) + t * o,
|
|
12366
|
-
function
|
|
12383
|
+
}, gt = (e, t, o) => e * (1 - o) + t * o, g6 = (e, t, o) => o > 0 ? e.substring(0, o) + t + e.substring(o, e.length) : t + e;
|
|
12384
|
+
function p6({
|
|
12367
12385
|
fs: e,
|
|
12368
12386
|
vs: t = tt,
|
|
12369
12387
|
textures: o = [],
|
|
@@ -12378,7 +12396,7 @@ function h6({
|
|
|
12378
12396
|
onError: g = console.error,
|
|
12379
12397
|
onWarning: m = console.warn
|
|
12380
12398
|
}) {
|
|
12381
|
-
const h = I(null), C = I(null), v = I(null), w = I(null), k = I(void 0),
|
|
12399
|
+
const h = I(null), C = I(null), v = I(null), w = I(null), k = I(void 0), S = I(void 0), T = I(!1), E = I(void 0), L = I(0), b = I([0, 0]), A = I([]), H = I(0), y = I(void 0), R = I({
|
|
12382
12400
|
[rt]: { type: "float", isNeeded: !1, value: 0 },
|
|
12383
12401
|
[ot]: { type: "float", isNeeded: !1, value: 0 },
|
|
12384
12402
|
[nt]: { type: "vec4", isNeeded: !1, value: [0, 0, 0, 0] },
|
|
@@ -12390,11 +12408,11 @@ function h6({
|
|
|
12390
12408
|
isNeeded: !1,
|
|
12391
12409
|
value: [0, 0, 0, 0]
|
|
12392
12410
|
}
|
|
12393
|
-
}), F = I(n), $ = (M,
|
|
12411
|
+
}), F = I(n), $ = (M, V) => {
|
|
12394
12412
|
const N = "width" in M ? M.width ?? 0 : 0, j = "height" in M ? M.height ?? 0 : 0, B = R.current.iChannelResolution;
|
|
12395
12413
|
if (!B) return;
|
|
12396
12414
|
const U = Array.isArray(B.value) ? B.value : B.value = [];
|
|
12397
|
-
U[
|
|
12415
|
+
U[V * 3] = N * u, U[V * 3 + 1] = j * u, U[V * 3 + 2] = 0;
|
|
12398
12416
|
}, _ = () => {
|
|
12399
12417
|
h.current && (C.current = h.current.getContext("webgl", d) || h.current.getContext(
|
|
12400
12418
|
"experimental-webgl",
|
|
@@ -12403,7 +12421,7 @@ function h6({
|
|
|
12403
12421
|
}, z = () => {
|
|
12404
12422
|
const M = C.current;
|
|
12405
12423
|
v.current = M?.createBuffer() ?? null, M?.bindBuffer(M.ARRAY_BUFFER, v.current);
|
|
12406
|
-
const
|
|
12424
|
+
const V = [
|
|
12407
12425
|
1,
|
|
12408
12426
|
1,
|
|
12409
12427
|
0,
|
|
@@ -12417,26 +12435,26 @@ function h6({
|
|
|
12417
12435
|
-1,
|
|
12418
12436
|
0
|
|
12419
12437
|
];
|
|
12420
|
-
M?.bufferData(M.ARRAY_BUFFER, new Float32Array(
|
|
12438
|
+
M?.bufferData(M.ARRAY_BUFFER, new Float32Array(V), M.STATIC_DRAW);
|
|
12421
12439
|
}, G = ({
|
|
12422
12440
|
alpha: M,
|
|
12423
|
-
beta:
|
|
12441
|
+
beta: V,
|
|
12424
12442
|
gamma: N
|
|
12425
12443
|
}) => {
|
|
12426
12444
|
R.current.iDeviceOrientation.value = [
|
|
12427
12445
|
M ?? 0,
|
|
12428
|
-
|
|
12446
|
+
V ?? 0,
|
|
12429
12447
|
N ?? 0,
|
|
12430
12448
|
window.orientation ?? 0
|
|
12431
12449
|
];
|
|
12432
12450
|
}, re = (M) => {
|
|
12433
|
-
const [
|
|
12451
|
+
const [V = 0, N = 0] = ht(M), j = V - (E.current?.left ?? 0) - window.pageXOffset, B = (E.current?.height ?? 0) - N - (E.current?.top ?? 0) - window.pageYOffset;
|
|
12434
12452
|
T.current = !0;
|
|
12435
12453
|
const U = Array.isArray(R.current.iMouse?.value) ? R.current.iMouse.value : void 0;
|
|
12436
12454
|
U && (U[2] = j, U[3] = B), b.current[0] = j, b.current[1] = B;
|
|
12437
12455
|
}, K = (M) => {
|
|
12438
12456
|
E.current = h.current?.getBoundingClientRect();
|
|
12439
|
-
const [
|
|
12457
|
+
const [V = 0, N = 0] = ht(M), j = V - (E.current?.left ?? 0), B = (E.current?.height ?? 0) - N - (E.current?.top ?? 0);
|
|
12440
12458
|
if (l !== 1)
|
|
12441
12459
|
b.current[0] = j, b.current[1] = B;
|
|
12442
12460
|
else {
|
|
@@ -12450,10 +12468,10 @@ function h6({
|
|
|
12450
12468
|
const M = C.current;
|
|
12451
12469
|
if (!M) return;
|
|
12452
12470
|
E.current = h.current?.getBoundingClientRect();
|
|
12453
|
-
const
|
|
12454
|
-
(E.current?.width ?? 1) *
|
|
12471
|
+
const V = u, N = Math.floor(
|
|
12472
|
+
(E.current?.width ?? 1) * V
|
|
12455
12473
|
), j = Math.floor(
|
|
12456
|
-
(E.current?.height ?? 1) *
|
|
12474
|
+
(E.current?.height ?? 1) * V
|
|
12457
12475
|
);
|
|
12458
12476
|
if (M.canvas.width = N, M.canvas.height = j, R.current.iResolution?.isNeeded && w.current) {
|
|
12459
12477
|
const B = M.getUniformLocation(
|
|
@@ -12462,22 +12480,22 @@ function h6({
|
|
|
12462
12480
|
);
|
|
12463
12481
|
M.uniform2fv(B, [M.canvas.width, M.canvas.height]);
|
|
12464
12482
|
}
|
|
12465
|
-
}, D = (M,
|
|
12483
|
+
}, D = (M, V) => {
|
|
12466
12484
|
const N = C.current;
|
|
12467
12485
|
if (!N) return null;
|
|
12468
12486
|
const j = N.createShader(M);
|
|
12469
12487
|
if (!j) return null;
|
|
12470
|
-
if (N.shaderSource(j,
|
|
12488
|
+
if (N.shaderSource(j, V), N.compileShader(j), !N.getShaderParameter(j, N.COMPILE_STATUS)) {
|
|
12471
12489
|
m?.(be(`Error compiling the shader:
|
|
12472
|
-
${
|
|
12490
|
+
${V}`));
|
|
12473
12491
|
const B = N.getShaderInfoLog(j);
|
|
12474
12492
|
N.deleteShader(j), g?.(be(`Shader compiler log: ${B}`));
|
|
12475
12493
|
}
|
|
12476
12494
|
return j;
|
|
12477
|
-
}, Q = (M,
|
|
12495
|
+
}, Q = (M, V) => {
|
|
12478
12496
|
const N = C.current;
|
|
12479
12497
|
if (!N) return;
|
|
12480
|
-
const j = D(N.FRAGMENT_SHADER, M), B = D(N.VERTEX_SHADER,
|
|
12498
|
+
const j = D(N.FRAGMENT_SHADER, M), B = D(N.VERTEX_SHADER, V);
|
|
12481
12499
|
if (w.current = N.createProgram(), !(!w.current || !B || !j)) {
|
|
12482
12500
|
if (N.attachShader(w.current, B), N.attachShader(w.current, j), N.linkProgram(w.current), !N.getProgramParameter(w.current, N.LINK_STATUS)) {
|
|
12483
12501
|
g?.(
|
|
@@ -12497,15 +12515,15 @@ ${S}`));
|
|
|
12497
12515
|
}, W = () => {
|
|
12498
12516
|
if (n)
|
|
12499
12517
|
for (const M of Object.keys(n)) {
|
|
12500
|
-
const
|
|
12501
|
-
if (!
|
|
12502
|
-
const { value: N, type: j } =
|
|
12518
|
+
const V = n[M];
|
|
12519
|
+
if (!V) continue;
|
|
12520
|
+
const { value: N, type: j } = V, B = f6(j);
|
|
12503
12521
|
if (!B) continue;
|
|
12504
12522
|
const U = {};
|
|
12505
|
-
if (
|
|
12523
|
+
if (a6(j, N)) {
|
|
12506
12524
|
const ae = j.length, J = Number.parseInt(j.charAt(ae - 3)), we = Math.floor(N.length / (J * J));
|
|
12507
12525
|
N.length > J * J && (U.arraySize = `[${we}]`);
|
|
12508
|
-
} else
|
|
12526
|
+
} else c6(j, N) && (U.arraySize = `[${Math.floor(N.length / Number.parseInt(j.charAt(0)))}]`);
|
|
12509
12527
|
R.current[M] = {
|
|
12510
12528
|
type: B,
|
|
12511
12529
|
isNeeded: !1,
|
|
@@ -12523,24 +12541,24 @@ ${S}`));
|
|
|
12523
12541
|
arraySize: `[${o.length}]`,
|
|
12524
12542
|
value: []
|
|
12525
12543
|
};
|
|
12526
|
-
const
|
|
12527
|
-
(N, j) => (R.current[`${
|
|
12544
|
+
const V = o.map(
|
|
12545
|
+
(N, j) => (R.current[`${i6}${j}`] = {
|
|
12528
12546
|
type: "sampler2D",
|
|
12529
12547
|
isNeeded: !1
|
|
12530
|
-
}, $(N, j), A.current[j] = new
|
|
12548
|
+
}, $(N, j), A.current[j] = new h6(M), A.current[j]?.load(N).then((B) => {
|
|
12531
12549
|
$(B, j);
|
|
12532
12550
|
}))
|
|
12533
12551
|
);
|
|
12534
|
-
Promise.all(
|
|
12552
|
+
Promise.all(V).then(() => {
|
|
12535
12553
|
f && f();
|
|
12536
12554
|
}).catch((N) => {
|
|
12537
12555
|
g?.(N), f && f();
|
|
12538
12556
|
});
|
|
12539
12557
|
} else f && f();
|
|
12540
12558
|
}, ge = (M) => {
|
|
12541
|
-
const
|
|
12559
|
+
const V = et.includes(i ?? "highp"), N = `precision ${V ? i : et[1]} float;
|
|
12542
12560
|
`;
|
|
12543
|
-
|
|
12561
|
+
V || m?.(
|
|
12544
12562
|
be(
|
|
12545
12563
|
`wrong precision type ${i}, please make sure to pass one of a valid precision lowp, mediump, highp, by default you shader precision will be set to highp.`
|
|
12546
12564
|
)
|
|
@@ -12551,17 +12569,17 @@ ${S}`));
|
|
|
12551
12569
|
if (M.includes(U)) {
|
|
12552
12570
|
const ae = R.current[U];
|
|
12553
12571
|
if (!ae) continue;
|
|
12554
|
-
j =
|
|
12572
|
+
j = g6(
|
|
12555
12573
|
j,
|
|
12556
12574
|
`uniform ${ae.type} ${U}${ae.arraySize || ""};
|
|
12557
12575
|
`,
|
|
12558
12576
|
j.lastIndexOf(N) + N.length
|
|
12559
12577
|
), ae.isNeeded = !0;
|
|
12560
12578
|
}
|
|
12561
|
-
return M.includes("mainImage") && (j = j.concat(
|
|
12579
|
+
return M.includes("mainImage") && (j = j.concat(n6)), j;
|
|
12562
12580
|
}, ie = (M) => {
|
|
12563
|
-
const
|
|
12564
|
-
if (!
|
|
12581
|
+
const V = C.current;
|
|
12582
|
+
if (!V || !w.current) return;
|
|
12565
12583
|
const N = H.current ? (M - H.current) / 1e3 : 0;
|
|
12566
12584
|
H.current = M;
|
|
12567
12585
|
const j = F.current;
|
|
@@ -12570,13 +12588,13 @@ ${S}`));
|
|
|
12570
12588
|
const U = j[B];
|
|
12571
12589
|
if (U && R.current[B]?.isNeeded) {
|
|
12572
12590
|
if (!w.current) return;
|
|
12573
|
-
const ae =
|
|
12591
|
+
const ae = V.getUniformLocation(
|
|
12574
12592
|
w.current,
|
|
12575
12593
|
B
|
|
12576
12594
|
);
|
|
12577
12595
|
if (!ae) return;
|
|
12578
|
-
|
|
12579
|
-
|
|
12596
|
+
d6(
|
|
12597
|
+
V,
|
|
12580
12598
|
ae,
|
|
12581
12599
|
U.type,
|
|
12582
12600
|
U.value
|
|
@@ -12584,59 +12602,59 @@ ${S}`));
|
|
|
12584
12602
|
}
|
|
12585
12603
|
}
|
|
12586
12604
|
if (R.current.iMouse?.isNeeded) {
|
|
12587
|
-
const B =
|
|
12605
|
+
const B = V.getUniformLocation(
|
|
12588
12606
|
w.current,
|
|
12589
12607
|
it
|
|
12590
12608
|
);
|
|
12591
|
-
|
|
12609
|
+
V.uniform4fv(B, R.current.iMouse.value);
|
|
12592
12610
|
}
|
|
12593
12611
|
if (R.current.iChannelResolution?.isNeeded) {
|
|
12594
|
-
const B =
|
|
12612
|
+
const B = V.getUniformLocation(
|
|
12595
12613
|
w.current,
|
|
12596
12614
|
ct
|
|
12597
12615
|
);
|
|
12598
|
-
|
|
12616
|
+
V.uniform3fv(
|
|
12599
12617
|
B,
|
|
12600
12618
|
R.current.iChannelResolution.value
|
|
12601
12619
|
);
|
|
12602
12620
|
}
|
|
12603
12621
|
if (R.current.iDeviceOrientation?.isNeeded) {
|
|
12604
|
-
const B =
|
|
12622
|
+
const B = V.getUniformLocation(
|
|
12605
12623
|
w.current,
|
|
12606
12624
|
lt
|
|
12607
12625
|
);
|
|
12608
|
-
|
|
12626
|
+
V.uniform4fv(
|
|
12609
12627
|
B,
|
|
12610
12628
|
R.current.iDeviceOrientation.value
|
|
12611
12629
|
);
|
|
12612
12630
|
}
|
|
12613
12631
|
if (R.current.iTime?.isNeeded) {
|
|
12614
|
-
const B =
|
|
12632
|
+
const B = V.getUniformLocation(
|
|
12615
12633
|
w.current,
|
|
12616
12634
|
rt
|
|
12617
12635
|
);
|
|
12618
|
-
|
|
12636
|
+
V.uniform1f(B, L.current += N);
|
|
12619
12637
|
}
|
|
12620
12638
|
if (R.current.iTimeDelta?.isNeeded) {
|
|
12621
|
-
const B =
|
|
12639
|
+
const B = V.getUniformLocation(
|
|
12622
12640
|
w.current,
|
|
12623
12641
|
ot
|
|
12624
12642
|
);
|
|
12625
|
-
|
|
12643
|
+
V.uniform1f(B, N);
|
|
12626
12644
|
}
|
|
12627
12645
|
if (R.current.iDate?.isNeeded) {
|
|
12628
|
-
const B = /* @__PURE__ */ new Date(), U = B.getMonth() + 1, ae = B.getDate(), J = B.getFullYear(), we = B.getHours() * 60 * 60 + B.getMinutes() * 60 + B.getSeconds() + B.getMilliseconds() * 1e-3, Ee =
|
|
12646
|
+
const B = /* @__PURE__ */ new Date(), U = B.getMonth() + 1, ae = B.getDate(), J = B.getFullYear(), we = B.getHours() * 60 * 60 + B.getMinutes() * 60 + B.getSeconds() + B.getMilliseconds() * 1e-3, Ee = V.getUniformLocation(
|
|
12629
12647
|
w.current,
|
|
12630
12648
|
nt
|
|
12631
12649
|
);
|
|
12632
|
-
|
|
12650
|
+
V.uniform4fv(Ee, [J, U, ae, we]);
|
|
12633
12651
|
}
|
|
12634
12652
|
if (R.current.iFrame?.isNeeded) {
|
|
12635
|
-
const B =
|
|
12653
|
+
const B = V.getUniformLocation(
|
|
12636
12654
|
w.current,
|
|
12637
12655
|
st
|
|
12638
12656
|
), U = R.current.iFrame.value;
|
|
12639
|
-
|
|
12657
|
+
V.uniform1i(B, U), R.current.iFrame.value = U + 1;
|
|
12640
12658
|
}
|
|
12641
12659
|
if (A.current.length > 0)
|
|
12642
12660
|
for (let B = 0; B < A.current.length; B++) {
|
|
@@ -12646,11 +12664,11 @@ ${S}`));
|
|
|
12646
12664
|
if (!Te || !J || !we) return;
|
|
12647
12665
|
if (R.current[`iChannel${B}`]?.isNeeded) {
|
|
12648
12666
|
if (!w.current) return;
|
|
12649
|
-
const Ce =
|
|
12667
|
+
const Ce = V.getUniformLocation(
|
|
12650
12668
|
w.current,
|
|
12651
12669
|
`iChannel${B}`
|
|
12652
12670
|
);
|
|
12653
|
-
|
|
12671
|
+
V.activeTexture(V.TEXTURE0 + B), V.bindTexture(V.TEXTURE_2D, J), V.uniform1i(Ce, B), ae && U.updateTexture(
|
|
12654
12672
|
J,
|
|
12655
12673
|
we,
|
|
12656
12674
|
Ee
|
|
@@ -12658,22 +12676,22 @@ ${S}`));
|
|
|
12658
12676
|
}
|
|
12659
12677
|
}
|
|
12660
12678
|
}, oe = (M) => {
|
|
12661
|
-
const
|
|
12662
|
-
if (!
|
|
12663
|
-
|
|
12679
|
+
const V = C.current;
|
|
12680
|
+
if (!V) return;
|
|
12681
|
+
V.viewport(0, 0, V.drawingBufferWidth, V.drawingBufferHeight), V.clear(V.COLOR_BUFFER_BIT | V.DEPTH_BUFFER_BIT), V.bindBuffer(V.ARRAY_BUFFER, v.current), V.vertexAttribPointer(
|
|
12664
12682
|
k.current ?? 0,
|
|
12665
12683
|
3,
|
|
12666
|
-
|
|
12684
|
+
V.FLOAT,
|
|
12667
12685
|
!1,
|
|
12668
12686
|
0,
|
|
12669
12687
|
0
|
|
12670
|
-
), ie(M),
|
|
12688
|
+
), ie(M), V.drawArrays(V.TRIANGLE_STRIP, 0, 4);
|
|
12671
12689
|
const N = R.current.iMouse?.value;
|
|
12672
12690
|
if (R.current.iMouse?.isNeeded && l !== 1 && Array.isArray(N)) {
|
|
12673
12691
|
const j = N[0] ?? 0, B = N[1] ?? 0;
|
|
12674
12692
|
N[0] = gt(j, b.current[0] ?? 0, l), N[1] = gt(B, b.current[1] ?? 0, l);
|
|
12675
12693
|
}
|
|
12676
|
-
|
|
12694
|
+
S.current = requestAnimationFrame(oe);
|
|
12677
12695
|
}, se = () => {
|
|
12678
12696
|
const M = { passive: !0 };
|
|
12679
12697
|
R.current.iMouse?.isNeeded && h.current && (h.current.addEventListener("mousemove", K, M), h.current.addEventListener("mouseout", O, M), h.current.addEventListener("mouseup", O, M), h.current.addEventListener("mousedown", re, M), h.current.addEventListener("touchmove", K, M), h.current.addEventListener("touchend", O, M), h.current.addEventListener("touchstart", re, M)), R.current.iDeviceOrientation?.isNeeded && window.addEventListener(
|
|
@@ -12693,12 +12711,12 @@ ${S}`));
|
|
|
12693
12711
|
F.current = n;
|
|
12694
12712
|
}, [n]), X(() => {
|
|
12695
12713
|
const M = A.current;
|
|
12696
|
-
function
|
|
12714
|
+
function V() {
|
|
12697
12715
|
_();
|
|
12698
12716
|
const N = C.current;
|
|
12699
|
-
N && h.current && (N.clearColor(...s), N.clearDepth(1), N.enable(N.DEPTH_TEST), N.depthFunc(N.LEQUAL), N.viewport(0, 0, h.current.width, h.current.height), h.current.height = h.current.clientHeight, h.current.width = h.current.clientWidth, W(), he(), Q(ge(e ||
|
|
12717
|
+
N && h.current && (N.clearColor(...s), N.clearDepth(1), N.enable(N.DEPTH_TEST), N.depthFunc(N.LEQUAL), N.viewport(0, 0, h.current.width, h.current.height), h.current.height = h.current.clientHeight, h.current.width = h.current.clientWidth, W(), he(), Q(ge(e || s6), t || tt), z(), requestAnimationFrame(oe), se(), Z());
|
|
12700
12718
|
}
|
|
12701
|
-
return requestAnimationFrame(
|
|
12719
|
+
return requestAnimationFrame(V), () => {
|
|
12702
12720
|
const N = C.current;
|
|
12703
12721
|
if (N) {
|
|
12704
12722
|
if (N.getExtension("WEBGL_lose_context")?.loseContext(), N.useProgram(null), N.deleteProgram(w.current ?? null), M.length > 0)
|
|
@@ -12706,7 +12724,7 @@ ${S}`));
|
|
|
12706
12724
|
N.deleteTexture(j._webglTexture);
|
|
12707
12725
|
w.current = null;
|
|
12708
12726
|
}
|
|
12709
|
-
de(), cancelAnimationFrame(
|
|
12727
|
+
de(), cancelAnimationFrame(S.current ?? 0);
|
|
12710
12728
|
};
|
|
12711
12729
|
}, []), /* @__PURE__ */ r(
|
|
12712
12730
|
"canvas",
|
|
@@ -12716,7 +12734,7 @@ ${S}`));
|
|
|
12716
12734
|
}
|
|
12717
12735
|
);
|
|
12718
12736
|
}
|
|
12719
|
-
const
|
|
12737
|
+
const m6 = `
|
|
12720
12738
|
const float TAU = 6.283185;
|
|
12721
12739
|
|
|
12722
12740
|
// Noise for dithering
|
|
@@ -12883,7 +12901,7 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
|
|
|
12883
12901
|
float alpha = mappedBrightness * clamp(uMix, 1.0, 2.0);
|
|
12884
12902
|
fragColor = vec4(color, alpha);
|
|
12885
12903
|
}
|
|
12886
|
-
}`,
|
|
12904
|
+
}`, C6 = 10, v6 = 2, w6 = 0.5, x6 = 0.2, k6 = 1.5, ve = {
|
|
12887
12905
|
duration: 0.5,
|
|
12888
12906
|
ease: "easeOut"
|
|
12889
12907
|
}, pt = {
|
|
@@ -12903,12 +12921,12 @@ function ze(e) {
|
|
|
12903
12921
|
);
|
|
12904
12922
|
return { value: t, motionValue: n, controls: s, animate: i };
|
|
12905
12923
|
}
|
|
12906
|
-
function
|
|
12907
|
-
const [o, n] = P(
|
|
12924
|
+
function b6(e, t) {
|
|
12925
|
+
const [o, n] = P(C6), {
|
|
12908
12926
|
value: s,
|
|
12909
12927
|
animate: i,
|
|
12910
12928
|
motionValue: a
|
|
12911
|
-
} = ze(
|
|
12929
|
+
} = ze(x6), { value: d, animate: l } = ze(v6), { value: u, animate: f } = ze(w6), { value: g, animate: m } = ze(k6), h = Xs(t, {
|
|
12912
12930
|
fftSize: 512,
|
|
12913
12931
|
smoothingTimeConstant: 0.55
|
|
12914
12932
|
});
|
|
@@ -12956,7 +12974,7 @@ function x6(e, t) {
|
|
|
12956
12974
|
brightness: g
|
|
12957
12975
|
};
|
|
12958
12976
|
}
|
|
12959
|
-
const
|
|
12977
|
+
const L6 = Fe({
|
|
12960
12978
|
base: "aspect-square",
|
|
12961
12979
|
variants: {
|
|
12962
12980
|
size: {
|
|
@@ -12971,7 +12989,7 @@ const k6 = Fe({
|
|
|
12971
12989
|
size: "lg"
|
|
12972
12990
|
}
|
|
12973
12991
|
});
|
|
12974
|
-
function
|
|
12992
|
+
function y6(e) {
|
|
12975
12993
|
const t = e.match(
|
|
12976
12994
|
/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
|
12977
12995
|
);
|
|
@@ -12995,11 +13013,11 @@ function zr({
|
|
|
12995
13013
|
className: g,
|
|
12996
13014
|
...m
|
|
12997
13015
|
}) {
|
|
12998
|
-
const h = ee(() =>
|
|
13016
|
+
const h = ee(() => y6(a), [a]);
|
|
12999
13017
|
return /* @__PURE__ */ r("div", { ref: f, className: g, ...m, children: /* @__PURE__ */ r(
|
|
13000
|
-
|
|
13018
|
+
p6,
|
|
13001
13019
|
{
|
|
13002
|
-
fs:
|
|
13020
|
+
fs: m6,
|
|
13003
13021
|
devicePixelRatio: globalThis.devicePixelRatio ?? 1,
|
|
13004
13022
|
uniforms: {
|
|
13005
13023
|
// Aurora wave speed
|
|
@@ -13042,7 +13060,7 @@ function zr({
|
|
|
13042
13060
|
) });
|
|
13043
13061
|
}
|
|
13044
13062
|
zr.displayName = "AuraShader";
|
|
13045
|
-
function
|
|
13063
|
+
function M9({
|
|
13046
13064
|
size: e = "lg",
|
|
13047
13065
|
state: t,
|
|
13048
13066
|
color: o,
|
|
@@ -13053,7 +13071,7 @@ function L9({
|
|
|
13053
13071
|
ref: d,
|
|
13054
13072
|
...l
|
|
13055
13073
|
}) {
|
|
13056
|
-
const { speed: u, scale: f, amplitude: g, frequency: m, brightness: h } =
|
|
13074
|
+
const { speed: u, scale: f, amplitude: g, frequency: m, brightness: h } = b6(t, s);
|
|
13057
13075
|
return /* @__PURE__ */ r(
|
|
13058
13076
|
zr,
|
|
13059
13077
|
{
|
|
@@ -13068,7 +13086,7 @@ function L9({
|
|
|
13068
13086
|
frequency: m,
|
|
13069
13087
|
brightness: h,
|
|
13070
13088
|
className: x(
|
|
13071
|
-
|
|
13089
|
+
L6({ size: e }),
|
|
13072
13090
|
"overflow-hidden rounded-full",
|
|
13073
13091
|
a
|
|
13074
13092
|
),
|
|
@@ -13076,7 +13094,7 @@ function L9({
|
|
|
13076
13094
|
}
|
|
13077
13095
|
);
|
|
13078
13096
|
}
|
|
13079
|
-
const
|
|
13097
|
+
const E9 = ({
|
|
13080
13098
|
text: e,
|
|
13081
13099
|
description: t,
|
|
13082
13100
|
avatar: o,
|
|
@@ -13086,7 +13104,7 @@ const y9 = ({
|
|
|
13086
13104
|
onCancel: a,
|
|
13087
13105
|
stackAt: d = "sm"
|
|
13088
13106
|
}) => /* @__PURE__ */ r(
|
|
13089
|
-
|
|
13107
|
+
p2,
|
|
13090
13108
|
{
|
|
13091
13109
|
title: e,
|
|
13092
13110
|
description: t,
|
|
@@ -13101,7 +13119,7 @@ const y9 = ({
|
|
|
13101
13119
|
onClick: a
|
|
13102
13120
|
}
|
|
13103
13121
|
}
|
|
13104
|
-
),
|
|
13122
|
+
), M6 = Fe({
|
|
13105
13123
|
base: [
|
|
13106
13124
|
"relative flex flex-col rounded-2xl bg-f1-background",
|
|
13107
13125
|
"border border-solid border-f1-border-secondary",
|
|
@@ -13119,18 +13137,18 @@ const y9 = ({
|
|
|
13119
13137
|
}
|
|
13120
13138
|
}), Gr = Fe({
|
|
13121
13139
|
base: "text-lg font-semibold text-f1-foreground line-clamp-3"
|
|
13122
|
-
}),
|
|
13140
|
+
}), E6 = Fe({
|
|
13123
13141
|
base: "text-sm text-f1-foreground-secondary leading-normal"
|
|
13124
13142
|
}), Ge = Fe({
|
|
13125
13143
|
base: "text-sm font-medium text-f1-foreground leading-normal"
|
|
13126
|
-
}),
|
|
13144
|
+
}), R6 = ({
|
|
13127
13145
|
description: e,
|
|
13128
13146
|
isRevealed: t,
|
|
13129
13147
|
onAskOne: o
|
|
13130
13148
|
}) => {
|
|
13131
13149
|
const n = Y(), s = ye();
|
|
13132
13150
|
return /* @__PURE__ */ c(xe, { children: [
|
|
13133
|
-
e && /* @__PURE__ */ r("span", { className: x(
|
|
13151
|
+
e && /* @__PURE__ */ r("span", { className: x(E6(), "truncate"), children: e }),
|
|
13134
13152
|
/* @__PURE__ */ r(Ne, { children: o && t && /* @__PURE__ */ r(
|
|
13135
13153
|
ne.div,
|
|
13136
13154
|
{
|
|
@@ -13155,14 +13173,14 @@ const y9 = ({
|
|
|
13155
13173
|
}
|
|
13156
13174
|
) })
|
|
13157
13175
|
] });
|
|
13158
|
-
},
|
|
13176
|
+
}, F6 = /* @__PURE__ */ new Set([
|
|
13159
13177
|
"person",
|
|
13160
13178
|
"people",
|
|
13161
13179
|
"team",
|
|
13162
13180
|
"company",
|
|
13163
13181
|
"alert",
|
|
13164
13182
|
"balance"
|
|
13165
|
-
]),
|
|
13183
|
+
]), N6 = ({ balance: e }) => /* @__PURE__ */ r(
|
|
13166
13184
|
Is,
|
|
13167
13185
|
{
|
|
13168
13186
|
amount: e.amount,
|
|
@@ -13170,7 +13188,7 @@ const y9 = ({
|
|
|
13170
13188
|
invertStatus: e.invertStatus,
|
|
13171
13189
|
hint: e.hint
|
|
13172
13190
|
}
|
|
13173
|
-
),
|
|
13191
|
+
), V6 = (e) => {
|
|
13174
13192
|
const {
|
|
13175
13193
|
heading: t,
|
|
13176
13194
|
label: o,
|
|
@@ -13231,11 +13249,11 @@ const y9 = ({
|
|
|
13231
13249
|
o && /* @__PURE__ */ r("span", { className: x(Ge()), children: o })
|
|
13232
13250
|
] }),
|
|
13233
13251
|
n === "alert" && /* @__PURE__ */ r($s, { text: e.alertLabel, level: e.level }),
|
|
13234
|
-
n === "balance" && /* @__PURE__ */ r(
|
|
13252
|
+
n === "balance" && /* @__PURE__ */ r(N6, { balance: e.balance })
|
|
13235
13253
|
]
|
|
13236
13254
|
}
|
|
13237
13255
|
),
|
|
13238
|
-
o && !
|
|
13256
|
+
o && !F6.has(n) && /* @__PURE__ */ r(
|
|
13239
13257
|
ne.span,
|
|
13240
13258
|
{
|
|
13241
13259
|
className: x(Ge()),
|
|
@@ -13262,17 +13280,17 @@ const y9 = ({
|
|
|
13262
13280
|
border: "border-f1-border"
|
|
13263
13281
|
}
|
|
13264
13282
|
};
|
|
13265
|
-
function
|
|
13283
|
+
function S6(e, t) {
|
|
13266
13284
|
const o = e[0]?.value ?? 0, n = e[e.length - 1]?.value ?? 0, s = Math.sign(n - o), i = t ? s * -1 : s;
|
|
13267
13285
|
return i > 0 ? "positive" : i < 0 ? "negative" : "neutral";
|
|
13268
13286
|
}
|
|
13269
|
-
const
|
|
13287
|
+
const T6 = ({
|
|
13270
13288
|
cx: e,
|
|
13271
13289
|
cy: t,
|
|
13272
13290
|
index: o,
|
|
13273
13291
|
dataLength: n,
|
|
13274
13292
|
color: s
|
|
13275
|
-
}) => o !== n - 1 || e == null || t == null ? null : /* @__PURE__ */ r("circle", { cx: e, cy: t, r: 2, fill: s, stroke: "none" }),
|
|
13293
|
+
}) => o !== n - 1 || e == null || t == null ? null : /* @__PURE__ */ r("circle", { cx: e, cy: t, r: 2, fill: s, stroke: "none" }), H6 = ({
|
|
13276
13294
|
label: e,
|
|
13277
13295
|
direction: t
|
|
13278
13296
|
}) => {
|
|
@@ -13294,12 +13312,12 @@ const S6 = ({
|
|
|
13294
13312
|
children: e
|
|
13295
13313
|
}
|
|
13296
13314
|
);
|
|
13297
|
-
},
|
|
13315
|
+
}, A6 = ({
|
|
13298
13316
|
data: e,
|
|
13299
13317
|
label: t,
|
|
13300
13318
|
invertStatus: o
|
|
13301
13319
|
}) => {
|
|
13302
|
-
const s = `sparkline-gradient-${wt().replace(/:/g, "")}`, i =
|
|
13320
|
+
const s = `sparkline-gradient-${wt().replace(/:/g, "")}`, i = S6(e, o), a = Wr[i];
|
|
13303
13321
|
return /* @__PURE__ */ r("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ c(
|
|
13304
13322
|
"div",
|
|
13305
13323
|
{
|
|
@@ -13329,7 +13347,7 @@ const S6 = ({
|
|
|
13329
13347
|
fillOpacity: 1,
|
|
13330
13348
|
isAnimationActive: !1,
|
|
13331
13349
|
dot: (d) => /* @__PURE__ */ $e(
|
|
13332
|
-
|
|
13350
|
+
T6,
|
|
13333
13351
|
{
|
|
13334
13352
|
...d,
|
|
13335
13353
|
key: d.index,
|
|
@@ -13343,7 +13361,7 @@ const S6 = ({
|
|
|
13343
13361
|
]
|
|
13344
13362
|
}
|
|
13345
13363
|
) }),
|
|
13346
|
-
/* @__PURE__ */ r(
|
|
13364
|
+
/* @__PURE__ */ r(H6, { label: t, direction: i })
|
|
13347
13365
|
]
|
|
13348
13366
|
}
|
|
13349
13367
|
) });
|
|
@@ -13361,7 +13379,7 @@ const S6 = ({
|
|
|
13361
13379
|
} = e, [f, g] = P(!1), [m, h] = P(!1), C = f || m, v = ye(), w = C && !!d, k = {
|
|
13362
13380
|
duration: v ? 0 : 0.2,
|
|
13363
13381
|
ease: [0.33, 1, 0.68, 1]
|
|
13364
|
-
},
|
|
13382
|
+
}, S = () => {
|
|
13365
13383
|
a?.();
|
|
13366
13384
|
}, T = (E) => {
|
|
13367
13385
|
E.currentTarget === E.target && (E.key === "Enter" || E.key === " ") && (E.preventDefault(), a?.());
|
|
@@ -13400,13 +13418,13 @@ const S6 = ({
|
|
|
13400
13418
|
role: a ? "button" : void 0,
|
|
13401
13419
|
tabIndex: a ? 0 : void 0,
|
|
13402
13420
|
className: x(
|
|
13403
|
-
|
|
13421
|
+
M6({ selected: i }),
|
|
13404
13422
|
i && "relative border-transparent",
|
|
13405
13423
|
a && "cursor-pointer select-none",
|
|
13406
13424
|
a && me(),
|
|
13407
13425
|
l
|
|
13408
13426
|
),
|
|
13409
|
-
onClick: a ?
|
|
13427
|
+
onClick: a ? S : void 0,
|
|
13410
13428
|
onKeyDown: a ? T : void 0,
|
|
13411
13429
|
onMouseEnter: () => g(!0),
|
|
13412
13430
|
onMouseLeave: () => g(!1),
|
|
@@ -13414,7 +13432,7 @@ const S6 = ({
|
|
|
13414
13432
|
onBlur: () => h(!1),
|
|
13415
13433
|
children: [
|
|
13416
13434
|
/* @__PURE__ */ r(
|
|
13417
|
-
|
|
13435
|
+
R6,
|
|
13418
13436
|
{
|
|
13419
13437
|
description: o,
|
|
13420
13438
|
isRevealed: C,
|
|
@@ -13430,7 +13448,7 @@ const S6 = ({
|
|
|
13430
13448
|
animate: { opacity: w ? 0 : 1 },
|
|
13431
13449
|
transition: k,
|
|
13432
13450
|
children: /* @__PURE__ */ r(
|
|
13433
|
-
|
|
13451
|
+
A6,
|
|
13434
13452
|
{
|
|
13435
13453
|
data: u.data,
|
|
13436
13454
|
label: s ?? "",
|
|
@@ -13440,7 +13458,7 @@ const S6 = ({
|
|
|
13440
13458
|
}
|
|
13441
13459
|
)
|
|
13442
13460
|
] }) : /* @__PURE__ */ r(
|
|
13443
|
-
|
|
13461
|
+
V6,
|
|
13444
13462
|
{
|
|
13445
13463
|
heading: n,
|
|
13446
13464
|
label: s,
|
|
@@ -13456,15 +13474,15 @@ const S6 = ({
|
|
|
13456
13474
|
}
|
|
13457
13475
|
);
|
|
13458
13476
|
qr.displayName = "F0AiInsightCardInternal";
|
|
13459
|
-
const
|
|
13460
|
-
const o =
|
|
13477
|
+
const B6 = ["className"], Xr = p((e, t) => {
|
|
13478
|
+
const o = B6.reduce((n, s) => {
|
|
13461
13479
|
const { [s]: i, ...a } = n;
|
|
13462
13480
|
return a;
|
|
13463
13481
|
}, e);
|
|
13464
13482
|
return /* @__PURE__ */ r(qr, { ref: t, ...o });
|
|
13465
13483
|
});
|
|
13466
13484
|
Xr.displayName = "F0AiInsightCard";
|
|
13467
|
-
const
|
|
13485
|
+
const $6 = () => /* @__PURE__ */ c(
|
|
13468
13486
|
"div",
|
|
13469
13487
|
{
|
|
13470
13488
|
className: "flex w-[217px] h-[200px] flex-col gap-2 rounded-2xl border border-solid border-f1-border-secondary bg-f1-background p-4",
|
|
@@ -13484,9 +13502,9 @@ const A6 = () => /* @__PURE__ */ c(
|
|
|
13484
13502
|
] })
|
|
13485
13503
|
]
|
|
13486
13504
|
}
|
|
13487
|
-
),
|
|
13488
|
-
jt(Xr,
|
|
13489
|
-
),
|
|
13505
|
+
), R9 = Pt(
|
|
13506
|
+
jt(Xr, $6)
|
|
13507
|
+
), F9 = [
|
|
13490
13508
|
"text",
|
|
13491
13509
|
"person",
|
|
13492
13510
|
"people",
|
|
@@ -13495,10 +13513,10 @@ const A6 = () => /* @__PURE__ */ c(
|
|
|
13495
13513
|
"alert",
|
|
13496
13514
|
"balance",
|
|
13497
13515
|
"sparkline"
|
|
13498
|
-
], Yr = 180,
|
|
13516
|
+
], Yr = 180, I6 = (e) => Number.isFinite(e) ? Math.max(0, Math.floor(e)) : Yr, P6 = (e, t) => e.length <= t ? e : `${e.slice(0, t).trimEnd()}...`, j6 = (e) => e.showActions !== !1, D6 = (e) => Object.fromEntries(
|
|
13499
13517
|
Object.entries(e).filter(([t]) => t.startsWith("data-"))
|
|
13500
13518
|
);
|
|
13501
|
-
function
|
|
13519
|
+
function Z6(e) {
|
|
13502
13520
|
const {
|
|
13503
13521
|
module: t,
|
|
13504
13522
|
heading: o,
|
|
@@ -13507,9 +13525,9 @@ function j6(e) {
|
|
|
13507
13525
|
description: i,
|
|
13508
13526
|
seeMoreLabel: a,
|
|
13509
13527
|
maxCollapsedDescriptionLength: d = Yr
|
|
13510
|
-
} = e, [l, u] = P(!1), f = wt(), g = I(null), m =
|
|
13528
|
+
} = e, [l, u] = P(!1), f = wt(), g = I(null), m = I6(
|
|
13511
13529
|
d
|
|
13512
|
-
), h = i.length > m, C = l ? i :
|
|
13530
|
+
), h = i.length > m, C = l ? i : P6(i, m), v = j6(e) ? e : null, w = D6(e);
|
|
13513
13531
|
return X(() => {
|
|
13514
13532
|
l && g.current?.focus();
|
|
13515
13533
|
}, [l]), /* @__PURE__ */ c(
|
|
@@ -13574,8 +13592,8 @@ function j6(e) {
|
|
|
13574
13592
|
}
|
|
13575
13593
|
);
|
|
13576
13594
|
}
|
|
13577
|
-
|
|
13578
|
-
const
|
|
13595
|
+
Z6.displayName = "F0AiProposalCard";
|
|
13596
|
+
const _6 = ({
|
|
13579
13597
|
icon: e,
|
|
13580
13598
|
title: t,
|
|
13581
13599
|
children: o
|
|
@@ -13619,8 +13637,8 @@ const D6 = ({
|
|
|
13619
13637
|
]
|
|
13620
13638
|
}
|
|
13621
13639
|
);
|
|
13622
|
-
},
|
|
13623
|
-
function
|
|
13640
|
+
}, O6 = (e) => Bl[e] ?? Nt, U6 = ({ iconName: e }) => e ? /* @__PURE__ */ r("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ r(le, { icon: O6(e), size: "md", color: "default" }) }) : null;
|
|
13641
|
+
function z6({
|
|
13624
13642
|
sources: e,
|
|
13625
13643
|
title: t
|
|
13626
13644
|
}) {
|
|
@@ -13628,8 +13646,8 @@ function O6({
|
|
|
13628
13646
|
if (!e || e.length === 0 || !Array.isArray(e))
|
|
13629
13647
|
return null;
|
|
13630
13648
|
const n = t ?? o.ai.resourcesGroupTitle;
|
|
13631
|
-
return /* @__PURE__ */ r(
|
|
13632
|
-
const a = /* @__PURE__ */ r(
|
|
13649
|
+
return /* @__PURE__ */ r(_6, { icon: w1, title: n, children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-1 rounded-lg border border-solid border-f1-border-secondary p-2", children: e.map((s, i) => {
|
|
13650
|
+
const a = /* @__PURE__ */ r(U6, { iconName: s.icon });
|
|
13633
13651
|
return s.link ? /* @__PURE__ */ r(
|
|
13634
13652
|
Ie,
|
|
13635
13653
|
{
|
|
@@ -13657,12 +13675,12 @@ function O6({
|
|
|
13657
13675
|
);
|
|
13658
13676
|
}) }) });
|
|
13659
13677
|
}
|
|
13660
|
-
|
|
13661
|
-
async function
|
|
13678
|
+
z6.displayName = "F0AiMessageSources";
|
|
13679
|
+
async function G6(e, t, o) {
|
|
13662
13680
|
const n = await import("./xlsx-Bedf3nwD.js"), s = n.utils.table_to_book(e, { sheet: "Data" });
|
|
13663
13681
|
n.writeFile(s, `${o}.${t}`);
|
|
13664
13682
|
}
|
|
13665
|
-
function
|
|
13683
|
+
function W6({
|
|
13666
13684
|
dataset: e,
|
|
13667
13685
|
title: t,
|
|
13668
13686
|
filename: o
|
|
@@ -13671,7 +13689,7 @@ function z6({
|
|
|
13671
13689
|
(d) => {
|
|
13672
13690
|
if (!s.current) return;
|
|
13673
13691
|
const l = o ?? (i.replace(/\s+/g, "_").toLowerCase() || "table");
|
|
13674
|
-
|
|
13692
|
+
G6(s.current, d, l);
|
|
13675
13693
|
},
|
|
13676
13694
|
[i, o]
|
|
13677
13695
|
);
|
|
@@ -13763,8 +13781,8 @@ function z6({
|
|
|
13763
13781
|
}
|
|
13764
13782
|
) : null;
|
|
13765
13783
|
}
|
|
13766
|
-
|
|
13767
|
-
function
|
|
13784
|
+
W6.displayName = "F0AiTableCard";
|
|
13785
|
+
function q6({ credits: e }) {
|
|
13768
13786
|
const t = Y(), [o, n] = P(!1), [s, i] = P(!1), [a, d] = P(!1), [l, u] = P(null), f = q(
|
|
13769
13787
|
(h) => {
|
|
13770
13788
|
n(h), h && e?.fetchUsage && (i(!0), d(!1), e.fetchUsage().then((C) => {
|
|
@@ -13888,8 +13906,8 @@ function G6({ credits: e }) {
|
|
|
13888
13906
|
)
|
|
13889
13907
|
] });
|
|
13890
13908
|
}
|
|
13891
|
-
const
|
|
13892
|
-
function
|
|
13909
|
+
const X6 = "linear-gradient(90deg, #E55619, #A1ADE5, #E51943, #E55619)";
|
|
13910
|
+
function Y6({
|
|
13893
13911
|
employeeCredits: e
|
|
13894
13912
|
}) {
|
|
13895
13913
|
const t = Y(), o = ye(), [n, s] = P(!1), [i, a] = P(!1), [d, l] = P(!1), [u, f] = P(null), g = q(
|
|
@@ -13981,7 +13999,7 @@ function q6({
|
|
|
13981
13999
|
className: "h-full rounded-full",
|
|
13982
14000
|
style: {
|
|
13983
14001
|
width: `${h}%`,
|
|
13984
|
-
backgroundImage:
|
|
14002
|
+
backgroundImage: X6,
|
|
13985
14003
|
backgroundSize: "300% 100%"
|
|
13986
14004
|
},
|
|
13987
14005
|
animate: o ? void 0 : { backgroundPosition: ["0% 0%", "100% 0%"] },
|
|
@@ -14007,7 +14025,7 @@ function q6({
|
|
|
14007
14025
|
const mt = ({
|
|
14008
14026
|
credits: e,
|
|
14009
14027
|
employeeCredits: t
|
|
14010
|
-
}) => t ? /* @__PURE__ */ r(
|
|
14028
|
+
}) => t ? /* @__PURE__ */ r(Y6, { employeeCredits: t }) : e ? /* @__PURE__ */ r(q6, { credits: e }) : null, N9 = ({
|
|
14011
14029
|
historyEnabled: e = !1,
|
|
14012
14030
|
title: t,
|
|
14013
14031
|
currentThreadTitle: o,
|
|
@@ -14029,7 +14047,7 @@ const mt = ({
|
|
|
14029
14047
|
variant: "ghost",
|
|
14030
14048
|
hideLabel: !0,
|
|
14031
14049
|
label: n ? m.ai.collapseChat : m.ai.expandChat,
|
|
14032
|
-
icon: n ? Tt :
|
|
14050
|
+
icon: n ? Tt : Vt,
|
|
14033
14051
|
onClick: i
|
|
14034
14052
|
}
|
|
14035
14053
|
), v = /* @__PURE__ */ r(
|
|
@@ -14118,16 +14136,16 @@ const mt = ({
|
|
|
14118
14136
|
)
|
|
14119
14137
|
] });
|
|
14120
14138
|
};
|
|
14121
|
-
function
|
|
14139
|
+
function K6() {
|
|
14122
14140
|
if (!(typeof navigator > "u"))
|
|
14123
14141
|
return zs(navigator.language);
|
|
14124
14142
|
}
|
|
14125
|
-
function
|
|
14143
|
+
function Q6(e) {
|
|
14126
14144
|
const t = new Date(e), o = /* @__PURE__ */ new Date();
|
|
14127
14145
|
return Yt(t) ? "today" : Kt(t) ? "yesterday" : Os(t, o) ? "thisMonth" : "older";
|
|
14128
14146
|
}
|
|
14129
|
-
function
|
|
14130
|
-
const o = new Date(e), n =
|
|
14147
|
+
function J6(e, t) {
|
|
14148
|
+
const o = new Date(e), n = K6(), s = I1(o, "p", { locale: n });
|
|
14131
14149
|
if (Yt(o)) return `${t.today}, ${s}`;
|
|
14132
14150
|
if (Kt(o)) return `${t.yesterday}, ${s}`;
|
|
14133
14151
|
const i = !Us(o, /* @__PURE__ */ new Date());
|
|
@@ -14135,7 +14153,7 @@ function K6(e, t) {
|
|
|
14135
14153
|
locale: n
|
|
14136
14154
|
})}, ${s}`;
|
|
14137
14155
|
}
|
|
14138
|
-
function
|
|
14156
|
+
function e9(e) {
|
|
14139
14157
|
const t = {
|
|
14140
14158
|
today: [],
|
|
14141
14159
|
yesterday: [],
|
|
@@ -14143,12 +14161,12 @@ function Q6(e) {
|
|
|
14143
14161
|
older: []
|
|
14144
14162
|
};
|
|
14145
14163
|
for (const n of e) {
|
|
14146
|
-
const s =
|
|
14164
|
+
const s = Q6(n.updatedAt);
|
|
14147
14165
|
t[s].push(n);
|
|
14148
14166
|
}
|
|
14149
14167
|
return ["today", "yesterday", "thisMonth", "older"].filter((n) => t[n].length > 0).map((n) => ({ key: n, threads: t[n] }));
|
|
14150
14168
|
}
|
|
14151
|
-
function
|
|
14169
|
+
function t9({
|
|
14152
14170
|
thread: e,
|
|
14153
14171
|
isPinned: t,
|
|
14154
14172
|
onSelect: o,
|
|
@@ -14172,7 +14190,7 @@ function J6({
|
|
|
14172
14190
|
],
|
|
14173
14191
|
[t, e.id, n, s, i]
|
|
14174
14192
|
), l = ee(
|
|
14175
|
-
() =>
|
|
14193
|
+
() => J6(e.updatedAt, {
|
|
14176
14194
|
today: a.ai.today,
|
|
14177
14195
|
yesterday: a.ai.yesterday
|
|
14178
14196
|
}),
|
|
@@ -14269,7 +14287,7 @@ function Ct({
|
|
|
14269
14287
|
}
|
|
14270
14288
|
),
|
|
14271
14289
|
d && /* @__PURE__ */ r("div", { className: "flex flex-col", children: t.map((g) => /* @__PURE__ */ r(
|
|
14272
|
-
|
|
14290
|
+
t9,
|
|
14273
14291
|
{
|
|
14274
14292
|
thread: g,
|
|
14275
14293
|
isPinned: o.has(g.id),
|
|
@@ -14282,7 +14300,7 @@ function Ct({
|
|
|
14282
14300
|
)) })
|
|
14283
14301
|
] });
|
|
14284
14302
|
}
|
|
14285
|
-
function
|
|
14303
|
+
function r9() {
|
|
14286
14304
|
return /* @__PURE__ */ r("div", { className: "flex flex-col gap-2 py-3", children: Array.from({ length: 5 }).map((e, t) => /* @__PURE__ */ c(
|
|
14287
14305
|
"div",
|
|
14288
14306
|
{
|
|
@@ -14295,7 +14313,7 @@ function e9() {
|
|
|
14295
14313
|
t
|
|
14296
14314
|
)) });
|
|
14297
14315
|
}
|
|
14298
|
-
const
|
|
14316
|
+
const V9 = ({
|
|
14299
14317
|
onClose: e,
|
|
14300
14318
|
onSelectThread: t,
|
|
14301
14319
|
onNewChat: o,
|
|
@@ -14338,9 +14356,9 @@ const F9 = ({
|
|
|
14338
14356
|
() => C.filter((b) => !a.has(b.id)),
|
|
14339
14357
|
[C, a]
|
|
14340
14358
|
), k = ee(
|
|
14341
|
-
() =>
|
|
14359
|
+
() => e9(w),
|
|
14342
14360
|
[w]
|
|
14343
|
-
),
|
|
14361
|
+
), S = q(
|
|
14344
14362
|
(b, A) => {
|
|
14345
14363
|
t(b, A), e();
|
|
14346
14364
|
},
|
|
@@ -14415,7 +14433,7 @@ const F9 = ({
|
|
|
14415
14433
|
] })
|
|
14416
14434
|
}
|
|
14417
14435
|
),
|
|
14418
|
-
s && /* @__PURE__ */ r(
|
|
14436
|
+
s && /* @__PURE__ */ r(r9, {}),
|
|
14419
14437
|
!s && i && /* @__PURE__ */ r("p", { className: "py-8 text-center text-base text-f1-foreground-tertiary", children: i }),
|
|
14420
14438
|
!s && !i && !L && /* @__PURE__ */ r("p", { className: "py-8 text-center text-base text-f1-foreground-tertiary", children: f.ai.noPreviousChats }),
|
|
14421
14439
|
!s && !i && v.length > 0 && /* @__PURE__ */ r(
|
|
@@ -14424,7 +14442,7 @@ const F9 = ({
|
|
|
14424
14442
|
label: f.ai.pinnedChats,
|
|
14425
14443
|
threads: v,
|
|
14426
14444
|
pinnedIds: a,
|
|
14427
|
-
onSelect:
|
|
14445
|
+
onSelect: S,
|
|
14428
14446
|
onPin: d,
|
|
14429
14447
|
onUnpin: l,
|
|
14430
14448
|
onDelete: E
|
|
@@ -14436,7 +14454,7 @@ const F9 = ({
|
|
|
14436
14454
|
label: h[b.key],
|
|
14437
14455
|
threads: b.threads,
|
|
14438
14456
|
pinnedIds: a,
|
|
14439
|
-
onSelect:
|
|
14457
|
+
onSelect: S,
|
|
14440
14458
|
onPin: d,
|
|
14441
14459
|
onUnpin: l,
|
|
14442
14460
|
onDelete: E
|
|
@@ -14453,19 +14471,19 @@ const F9 = ({
|
|
|
14453
14471
|
document.body
|
|
14454
14472
|
);
|
|
14455
14473
|
}, Kr = "f0-ai-pinned-threads";
|
|
14456
|
-
function
|
|
14474
|
+
function o9() {
|
|
14457
14475
|
const e = Gs(Kr, []);
|
|
14458
14476
|
return new Set(Array.isArray(e) ? e : []);
|
|
14459
14477
|
}
|
|
14460
14478
|
function f1(e) {
|
|
14461
14479
|
Ws(Kr, [...e]);
|
|
14462
14480
|
}
|
|
14463
|
-
function
|
|
14481
|
+
function S9({
|
|
14464
14482
|
enabled: e = !1,
|
|
14465
14483
|
fetchThreads: t,
|
|
14466
14484
|
deleteThread: o
|
|
14467
14485
|
}) {
|
|
14468
|
-
const [n, s] = P([]), [i, a] = P(!1), [d, l] = P(null), [u, f] = P(
|
|
14486
|
+
const [n, s] = P([]), [i, a] = P(!1), [d, l] = P(null), [u, f] = P(o9), g = q(async () => {
|
|
14469
14487
|
a(!0), l(null);
|
|
14470
14488
|
try {
|
|
14471
14489
|
const v = await t();
|
|
@@ -14516,14 +14534,14 @@ function N9({
|
|
|
14516
14534
|
};
|
|
14517
14535
|
}
|
|
14518
14536
|
export {
|
|
14519
|
-
|
|
14537
|
+
x9 as A,
|
|
14520
14538
|
xi as B,
|
|
14521
|
-
|
|
14522
|
-
|
|
14523
|
-
|
|
14524
|
-
|
|
14539
|
+
X0 as C,
|
|
14540
|
+
a0 as D,
|
|
14541
|
+
Z0 as E,
|
|
14542
|
+
p9 as F,
|
|
14525
14543
|
bi as G,
|
|
14526
|
-
|
|
14544
|
+
D5 as H,
|
|
14527
14545
|
ma as I,
|
|
14528
14546
|
a1 as J,
|
|
14529
14547
|
ga as K,
|
|
@@ -14531,32 +14549,32 @@ export {
|
|
|
14531
14549
|
da as M,
|
|
14532
14550
|
ia as N,
|
|
14533
14551
|
ua as O,
|
|
14534
|
-
|
|
14552
|
+
p2 as P,
|
|
14535
14553
|
h1 as T,
|
|
14536
|
-
|
|
14537
|
-
|
|
14538
|
-
|
|
14539
|
-
|
|
14554
|
+
w9 as a,
|
|
14555
|
+
k9 as b,
|
|
14556
|
+
p4 as c,
|
|
14557
|
+
m9 as d,
|
|
14540
14558
|
Hr as e,
|
|
14541
|
-
|
|
14542
|
-
|
|
14543
|
-
|
|
14544
|
-
|
|
14545
|
-
|
|
14546
|
-
|
|
14547
|
-
|
|
14548
|
-
|
|
14549
|
-
|
|
14550
|
-
|
|
14551
|
-
|
|
14552
|
-
|
|
14553
|
-
|
|
14554
|
-
|
|
14555
|
-
|
|
14556
|
-
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14559
|
+
b9 as f,
|
|
14560
|
+
L9 as g,
|
|
14561
|
+
u9 as h,
|
|
14562
|
+
y9 as i,
|
|
14563
|
+
M9 as j,
|
|
14564
|
+
E9 as k,
|
|
14565
|
+
R9 as l,
|
|
14566
|
+
g9 as m,
|
|
14567
|
+
F9 as n,
|
|
14568
|
+
f9 as o,
|
|
14569
|
+
Z6 as p,
|
|
14570
|
+
z6 as q,
|
|
14571
|
+
W6 as r,
|
|
14572
|
+
N9 as s,
|
|
14573
|
+
V9 as t,
|
|
14574
|
+
C9 as u,
|
|
14575
|
+
S9 as v,
|
|
14576
|
+
h9 as w,
|
|
14577
|
+
v9 as x,
|
|
14560
14578
|
dr as y,
|
|
14561
|
-
|
|
14579
|
+
Il as z
|
|
14562
14580
|
};
|