@factorialco/f0-react 8.13.1 → 8.14.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/{ChatPdfThumbnail-CfBQgTmG.js → ChatPdfThumbnail-CsiuO9oP.js} +1 -1
- package/dist/{ChatPostComposerDialog-j3WkMYEM.js → ChatPostComposerDialog-BfM7WCc-.js} +3 -3
- package/dist/{DocumentToolbar-DoxbkZ0Q.js → DocumentToolbar-CcD4C-Jg.js} +2 -2
- package/dist/{DocxViewer-hDyColTJ.js → DocxViewer-CGS53Aqk.js} +2 -2
- package/dist/{F0AiProcessingOverlay-CdARCdjY.js → F0AiProcessingOverlay-C8BRJj9F.js} +1 -1
- package/dist/{F0CanvasPanel-DNldfGAD.js → F0CanvasPanel-CqHQYY7O.js} +87 -32
- package/dist/{F0Map-BP47bCIe.js → F0Map-JM3oeRpm.js} +4 -4
- package/dist/{F0VideoPlayer-BQPQelhy.js → F0VideoPlayer-DL82tE4N.js} +2 -2
- package/dist/{MapProvider-C5LLBpRM.js → MapProvider-DQ09_kIy.js} +2 -2
- package/dist/{SheetViewer-BBfhFgoj.js → SheetViewer-D6KrcSU1.js} +2 -2
- package/dist/{TextViewer-C7jS2ujf.js → TextViewer-BBgoHN09.js} +2 -2
- package/dist/ai.d.ts +19 -19
- package/dist/ai.js +2 -2
- package/dist/component-status.d.ts +19 -19
- package/dist/component-status.js +1 -1
- package/dist/{experimental-BreZtWX2.js → experimental-Biuwhl4k.js} +3700 -3598
- package/dist/experimental.d.ts +70 -19
- package/dist/experimental.js +286 -283
- package/dist/f0.d.ts +19 -19
- package/dist/f0.js +750 -753
- package/dist/i18n-provider-defaults.d.ts +19 -19
- package/dist/{index-Dg4X2EGu.js → index-C0iQVTCw.js} +3 -3
- package/dist/{index-B1XOetyW.js → index-CP96ooCt.js} +2 -2
- package/dist/{index-69C6iS9a.js → index-CVZ_U0_h.js} +3 -3
- package/dist/index-DWleZhT1.js +4 -0
- package/dist/{index-Cditp0m4.js → index-N4xGSF1m.js} +1 -1
- package/dist/{pdfWorker-BI-9lR39.js → pdfWorker-Be2sPFEm.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +2 -2
- package/dist/index-De5im5x0.js +0 -4
package/dist/f0.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { iF as AI, B as yt, et as vx, cQ as Wn, hP as MI, ge as K5, ab as Va, fK as Q5, iG as J5, iH as EI, E as sr, ck as If, iI as RS, iJ as kr, iK as no, iL as eG, iM as Mi, u as Be, ad as Ep, iN as nu, iO as LI, iP as NI, cp as bl, hL as T0, iQ as tG, S as ae, G as px, iR as rG, iS as nG, iT as OS, cV as iG, iU as aG, iV as oG, iW as II, iX as sG, H as Pf, J as kf, y as lt, K as Rf, L as qr, $ as lG, a0 as uG, M as Pl, N as kl, aY as Fa, Q as Rl, gV as D0, dR as Ft, v as ut, aG as Ol, gU as Ga,
|
|
2
|
-
import { jD as
|
|
1
|
+
import { iF as AI, B as yt, et as vx, cQ as Wn, hP as MI, ge as K5, ab as Va, fK as Q5, iG as J5, iH as EI, E as sr, ck as If, iI as RS, iJ as kr, iK as no, iL as eG, iM as Mi, u as Be, ad as Ep, iN as nu, iO as LI, iP as NI, cp as bl, hL as T0, iQ as tG, S as ae, G as px, iR as rG, iS as nG, iT as OS, cV as iG, iU as aG, iV as oG, iW as II, iX as sG, H as Pf, J as kf, y as lt, K as Rf, L as qr, $ as lG, a0 as uG, M as Pl, N as kl, aY as Fa, Q as Rl, gV as D0, dR as Ft, v as ut, aG as Ol, gU as Ga, dl as gx, iY as cG, s as fG, t as BS, z as PI, w as Bl, aa as kI, x as dG, e_ as tv, ep as RI, iZ as hG, hO as zS, de as vG, i_ as VS, a4 as pG, i$ as gG, cu as OI, el as BI, gE as A0, hf as iu, hg as Of, hW as mG, gC as zI, r as yG, av as M0, au as mx, hi as VI, gA as bG, j0 as Lp, bx as yx, hy as _G, cB as FI, gm as xG, aV as wG, iA as bx, bA as GI, cx as SG, cy as CG, cz as TG, d as DG, c6 as HI, aI as gs, cb as WI, bw as $I, aE as _x, cd as UI, a7 as xx, U as _l, V as xl, X as wl, Y as Sl, gW as Fi, an as YI, j as AG, W as Br, eK as MG, bu as rv, aS as zl, co as Sx, by as E0, cN as Yc, cK as EG, bj as Bf, ai as au, aH as XI, dI as qI, dw as ZI, hs as Wr, j1 as LG, j2 as NG, j3 as IG, j4 as Cx, j5 as PG, j6 as kG, a3 as En, a1 as jI, a2 as KI, m as RG, j7 as OG, cD as QI, ej as BG, ek as zG, cl as Cl, di as ou, ew as su, fl as zf, ce as VG, eu as FG, bY as GG, aK as JI, a9 as e2, aJ as HG, bo as FS, ca as Xc, hU as WG, be as $G, j8 as UG, j9 as YG, ja as XG, b as t2, df as r2, cJ as qG, br as ZG, l as n2, aw as jG, at as KG, jb as QG, jc as JG, jd as eH, hT as tH, af as i2, je as rH, cw as nH, d4 as iH, jf as a2, jg as aH, jh as oH, I as sH, ji as lH, jj as uH, jk as cH, jl as fH } from "./F0CanvasPanel-CqHQYY7O.js";
|
|
2
|
+
import { jD as xme, C as wme, D as Sme, dC as Cme, c as Tme, F as Dme, a as Ame, jv as Mme, f as Eme, cT as Lme, dD as Nme, ey as Ime, cE as Pme, cF as kme, q as Rme, cC as Ome, cS as Bme, dr as zme, eG as Vme, g as Fme, cA as Gme, cq as Hme, jq as Wme, jJ as $me, cn as Ume, e as Yme, er as Xme, k as qme, jx as Zme, cU as jme, jy as Kme, dO as Qme, jz as Jme, jB as eye, jC as tye, f1 as rye, jF as nye, jG as iye, eW as aye, eX as oye, P as sye, e$ as lye, jA as uye, eY as cye, jE as fye, jK as dye, jn as hye, jo as vye, jp as pye, jm as gye, eZ as mye, jI as yye, jw as bye, jt as _ye, js as xye, f0 as wye, gQ as Sye, hF as Cye, jH as Tye, dF as Dye, eV as Aye, eS as Mye, eU as Eye, eQ as Lye, ju as Nye, hA as Iye, hv as Pye, hj as kye, jN as Rye, eC as Oye, eT as Bye, jM as zye, ef as Vye, eR as Fye, cH as Gye, gP as Hye, hl as Wye, ei as $ye, hV as Uye, dE as Yye, cI as Xye, jr as qye, hx as Zye, hw as jye, jL as Kye } from "./F0CanvasPanel-CqHQYY7O.js";
|
|
3
3
|
import { jsx as x, jsxs as B, Fragment as nt } from "react/jsx-runtime";
|
|
4
|
-
import { t as dH, W as hH, a3 as vH, a4 as pH, a5 as gH, a6 as GS, ba as mH, bb as yH, ad as bH, a7 as _H, a9 as xH, ab as wH, ac as SH, I as CH, a as qc, ai as o2, bc as TH, bd as DH, be as AH, bf as MH, bg as EH, bh as s2, bi as LH, n as Tx, bj as io, bk as Ns, bl as l2, bm as NH, bn as IH, bo as PH, bp as kH, bq as RH, br as OH, bs as BH, bt as zH, bu as VH, a1 as Dx, bv as Ax, av as FH, bw as GH, bx as HH, by as WH, bz as $H, aM as UH, a$ as YH, bA as XH, aF as qH, E as ZH, h as jH, x as Np, R as Mx, y as Ex, aK as u2, O as Lx, bB as c2, bC as HS, U as Nx, aj as KH, bD as L0, K as QH, z as f2, aQ as d2, bE as JH, bF as e3, bG as t3, bH as r3, bI as n3, p as i3, bJ as Ng, bK as a3, bL as o3, bM as s3, b0 as l3, bN as u3, M as c3 } from "./MapProvider-
|
|
5
|
-
import { al as
|
|
4
|
+
import { t as dH, W as hH, a3 as vH, a4 as pH, a5 as gH, a6 as GS, ba as mH, bb as yH, ad as bH, a7 as _H, a9 as xH, ab as wH, ac as SH, I as CH, a as qc, ai as o2, bc as TH, bd as DH, be as AH, bf as MH, bg as EH, bh as s2, bi as LH, n as Tx, bj as io, bk as Ns, bl as l2, bm as NH, bn as IH, bo as PH, bp as kH, bq as RH, br as OH, bs as BH, bt as zH, bu as VH, a1 as Dx, bv as Ax, av as FH, bw as GH, bx as HH, by as WH, bz as $H, aM as UH, a$ as YH, bA as XH, aF as qH, E as ZH, h as jH, x as Np, R as Mx, y as Ex, aK as u2, O as Lx, bB as c2, bC as HS, U as Nx, aj as KH, bD as L0, K as QH, z as f2, aQ as d2, bE as JH, bF as e3, bG as t3, bH as r3, bI as n3, p as i3, bJ as Ng, bK as a3, bL as o3, bM as s3, b0 as l3, bN as u3, M as c3 } from "./MapProvider-DQ09_kIy.js";
|
|
5
|
+
import { al as Jye, am as e0e, aw as t0e, an as r0e, as as n0e, c8 as i0e, c7 as a0e, c1 as o0e, bQ as s0e, bO as l0e, bP as u0e, bR as c0e, bS as f0e, bU as d0e, a2 as h0e, w as v0e, b2 as p0e, b1 as g0e, aG as m0e, F as y0e, aI as b0e, aJ as _0e, aD as x0e, aB as w0e, b6 as S0e, bY as C0e, aC as T0e, ao as D0e, c9 as A0e, b3 as M0e, b4 as E0e, aE as L0e, ap as N0e, v as I0e, ar as P0e, at as k0e, b5 as R0e, aH as O0e, b7 as B0e, aq as z0e, au as V0e, cb as F0e, ah as G0e, af as H0e, ag as W0e, c0 as $0e, o as U0e, o as Y0e, c6 as X0e, bX as q0e, bW as Z0e, ca as j0e, aZ as K0e, b_ as Q0e, b$ as J0e, aA as ebe, az as tbe, cc as rbe, cd as nbe, H as ibe, A as abe, c2 as obe, c3 as sbe, c4 as lbe, bT as ube, bZ as cbe, B as fbe, c5 as dbe, bV as hbe, ce as vbe } from "./MapProvider-DQ09_kIy.js";
|
|
6
6
|
import * as ge from "react";
|
|
7
7
|
import f3, { forwardRef as Hr, useRef as fe, useImperativeHandle as h2, Children as nv, createContext as na, useContext as ia, useState as he, useMemo as _e, useEffect as Te, useCallback as pe, useLayoutEffect as as, isValidElement as v2, Fragment as lu, memo as Ix, useSyncExternalStore as Zc, useId as Tl, createElement as WS } from "react";
|
|
8
8
|
import * as Px from "react-dom";
|
|
9
9
|
import { createPortal as Vf } from "react-dom";
|
|
10
10
|
import { d as ne, u as Ff, h as d3, i as fl, j as Gf, g as uu, k as h3, f as _n } from "./tooltip-CrXp1Uaz.js";
|
|
11
|
-
import { l as N0, c as p2, d as iv, r as I0 } from "./F0VideoPlayer-
|
|
12
|
-
import { F as
|
|
13
|
-
import { F as
|
|
14
|
-
import { c as
|
|
15
|
-
import { H as v3, I as av, J as kx, K as g2, L as p3, M as g3, N as m3, O as y3, P as b3, F as _3 } from "./F0AiProcessingOverlay-
|
|
16
|
-
import { A as
|
|
11
|
+
import { l as N0, c as p2, d as iv, r as I0 } from "./F0VideoPlayer-DL82tE4N.js";
|
|
12
|
+
import { F as gbe } from "./F0VideoPlayer-DL82tE4N.js";
|
|
13
|
+
import { F as ybe, c as bbe, p as _be } from "./index-C0iQVTCw.js";
|
|
14
|
+
import { c as wbe } from "./pdfWorker-Be2sPFEm.js";
|
|
15
|
+
import { H as v3, I as av, J as kx, K as g2, L as p3, M as g3, N as m3, O as y3, P as b3, F as _3 } from "./F0AiProcessingOverlay-C8BRJj9F.js";
|
|
16
|
+
import { A as Cbe, C as Tbe, t as Dbe, s as Abe, v as Mbe, y as Ebe, B as Lbe, l as Nbe, i as Ibe, q as Pbe, E as kbe, G as Rbe, p as Obe, r as Bbe, j as zbe, e as Vbe, g as Fbe, k as Gbe, T as Hbe, w as Wbe, h as $be, a as Ube, n as Ybe, z as Xbe, m as qbe, o as Zbe, D as jbe, b as Kbe, f as Qbe, x as Jbe, c as e_e, d as t_e, u as r_e } from "./F0AiProcessingOverlay-C8BRJj9F.js";
|
|
17
17
|
import { utils as Dl, write as m2 } from "./xlsx-CzlURDDb.js";
|
|
18
|
-
import { defaultTranslations as
|
|
18
|
+
import { defaultTranslations as i_e } from "./i18n-provider-defaults.js";
|
|
19
19
|
import './f0.css';const x3 = {
|
|
20
20
|
xs: 1,
|
|
21
21
|
sm: 2,
|
|
@@ -4241,9 +4241,9 @@ const G3 = (r, e) => {
|
|
|
4241
4241
|
}, H3 = (r, e) => {
|
|
4242
4242
|
const t = e;
|
|
4243
4243
|
return t.displayName = r, t.__isPageLayoutGroup = !0, t;
|
|
4244
|
-
},
|
|
4244
|
+
}, _ge = J5.filter(
|
|
4245
4245
|
(r) => r !== "ai"
|
|
4246
|
-
),
|
|
4246
|
+
), xge = EI, wge = [
|
|
4247
4247
|
"person",
|
|
4248
4248
|
"team",
|
|
4249
4249
|
"company",
|
|
@@ -4293,7 +4293,7 @@ const G3 = (r, e) => {
|
|
|
4293
4293
|
}
|
|
4294
4294
|
);
|
|
4295
4295
|
S2.displayName = "Dashboard";
|
|
4296
|
-
const $3 = H3("Dashboard", S2),
|
|
4296
|
+
const $3 = H3("Dashboard", S2), Sge = yt(
|
|
4297
4297
|
sr("Dashboard", $3)
|
|
4298
4298
|
), U3 = Wn({
|
|
4299
4299
|
base: "flex w-full flex-col p-4",
|
|
@@ -4521,7 +4521,7 @@ const Q3 = Hr(function({ children: e, aside: t, header: n, variant: i = "main-as
|
|
|
4521
4521
|
]
|
|
4522
4522
|
}
|
|
4523
4523
|
) });
|
|
4524
|
-
}),
|
|
4524
|
+
}), Cge = {
|
|
4525
4525
|
Page: yt(sr("Page", Q3)),
|
|
4526
4526
|
Block: yt(sr("Block", kp)),
|
|
4527
4527
|
BlockContent: yt(
|
|
@@ -4534,7 +4534,7 @@ const Q3 = Hr(function({ children: e, aside: t, header: n, variant: i = "main-as
|
|
|
4534
4534
|
GroupMasonry: yt(
|
|
4535
4535
|
sr("GroupMasonry", Vx)
|
|
4536
4536
|
)
|
|
4537
|
-
},
|
|
4537
|
+
}, Tge = C3, Dge = D3, Age = yt(
|
|
4538
4538
|
vx(
|
|
4539
4539
|
{
|
|
4540
4540
|
name: "HomeLayout",
|
|
@@ -53709,7 +53709,7 @@ const zle = (r) => {
|
|
|
53709
53709
|
description: r?.description ?? t.description
|
|
53710
53710
|
}
|
|
53711
53711
|
);
|
|
53712
|
-
},
|
|
53712
|
+
}, Mge = [
|
|
53713
53713
|
"viridian",
|
|
53714
53714
|
"malibu",
|
|
53715
53715
|
"yellow",
|
|
@@ -55641,7 +55641,7 @@ const kue = sr(
|
|
|
55641
55641
|
] })
|
|
55642
55642
|
] });
|
|
55643
55643
|
JV.displayName = "F0BigNumber";
|
|
55644
|
-
const Bue = px(JV, Oue),
|
|
55644
|
+
const Bue = px(JV, Oue), Ege = yt(Bue), Lge = ["default", "outline", "neutral"], Nge = EI, Ige = ["split", "dropdown"];
|
|
55645
55645
|
var eF = ["PageUp", "PageDown"], tF = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], rF = {
|
|
55646
55646
|
"from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
|
|
55647
55647
|
"from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
|
|
@@ -56981,13 +56981,13 @@ const lce = ({
|
|
|
56981
56981
|
);
|
|
56982
56982
|
});
|
|
56983
56983
|
DF.displayName = "F0AudioPlayerCard";
|
|
56984
|
-
const
|
|
56984
|
+
const Pge = ["sm", "md"], kge = sr(
|
|
56985
56985
|
"F0AudioPlayer",
|
|
56986
56986
|
yt(TF)
|
|
56987
|
-
),
|
|
56987
|
+
), Rge = sr(
|
|
56988
56988
|
"F0AudioPlayerCard",
|
|
56989
56989
|
yt(DF)
|
|
56990
|
-
),
|
|
56990
|
+
), Oge = cG, gce = ({ actions: r }) => /* @__PURE__ */ x("div", { className: "flex items-center gap-2", children: r.map((e, t) => {
|
|
56991
56991
|
switch (e.type) {
|
|
56992
56992
|
case "segmentedControl":
|
|
56993
56993
|
return /* @__PURE__ */ x(
|
|
@@ -57124,12 +57124,12 @@ const Nge = ["sm", "md"], Ige = sr(
|
|
|
57124
57124
|
}
|
|
57125
57125
|
);
|
|
57126
57126
|
AF.displayName = "F0Accordion";
|
|
57127
|
-
const
|
|
57127
|
+
const Bge = yt(
|
|
57128
57128
|
sr(
|
|
57129
57129
|
"F0Accordion",
|
|
57130
57130
|
px(AF, yce)
|
|
57131
57131
|
)
|
|
57132
|
-
),
|
|
57132
|
+
), zge = [
|
|
57133
57133
|
"info",
|
|
57134
57134
|
"warning",
|
|
57135
57135
|
"critical",
|
|
@@ -57203,13 +57203,13 @@ const MF = ({
|
|
|
57203
57203
|
] });
|
|
57204
57204
|
};
|
|
57205
57205
|
MF.displayName = "F0ChipList";
|
|
57206
|
-
const
|
|
57206
|
+
const Vge = yt(
|
|
57207
57207
|
sr("F0ChipList", MF)
|
|
57208
|
-
), bce = ["blur", "escape", "commit"],
|
|
57208
|
+
), bce = ["blur", "escape", "commit"], Fge = [
|
|
57209
57209
|
"escape",
|
|
57210
57210
|
"commit",
|
|
57211
57211
|
"popupClose"
|
|
57212
|
-
],
|
|
57212
|
+
], Gge = {
|
|
57213
57213
|
get: async (r) => JSON.parse(
|
|
57214
57214
|
localStorage.getItem(zS(r)) ?? "{}"
|
|
57215
57215
|
),
|
|
@@ -57219,10 +57219,10 @@ const Bge = yt(
|
|
|
57219
57219
|
JSON.stringify(e)
|
|
57220
57220
|
);
|
|
57221
57221
|
}
|
|
57222
|
-
},
|
|
57222
|
+
}, Hge = [
|
|
57223
57223
|
...bce,
|
|
57224
57224
|
"popupClose"
|
|
57225
|
-
],
|
|
57225
|
+
], Wge = vG, $ge = [
|
|
57226
57226
|
"info",
|
|
57227
57227
|
"warning",
|
|
57228
57228
|
"critical",
|
|
@@ -57314,7 +57314,7 @@ const Bge = yt(
|
|
|
57314
57314
|
return /* @__PURE__ */ x(EF, { ...e });
|
|
57315
57315
|
};
|
|
57316
57316
|
LF.displayName = "F0Drawer";
|
|
57317
|
-
const
|
|
57317
|
+
const Uge = sr("F0Drawer", LF), xce = 388;
|
|
57318
57318
|
function NF({
|
|
57319
57319
|
filters: r,
|
|
57320
57320
|
value: e,
|
|
@@ -57382,7 +57382,7 @@ function NF({
|
|
|
57382
57382
|
) });
|
|
57383
57383
|
}
|
|
57384
57384
|
NF.displayName = "F0FilterPickerContent";
|
|
57385
|
-
const
|
|
57385
|
+
const Yge = NF, wce = ({
|
|
57386
57386
|
isOpen: r = !1,
|
|
57387
57387
|
onClose: e = () => {
|
|
57388
57388
|
},
|
|
@@ -57715,7 +57715,7 @@ function Ice(r) {
|
|
|
57715
57715
|
}
|
|
57716
57716
|
};
|
|
57717
57717
|
}
|
|
57718
|
-
function
|
|
57718
|
+
function Xge(r, e) {
|
|
57719
57719
|
return Ice({
|
|
57720
57720
|
schema: r.schema,
|
|
57721
57721
|
defaultValues: r.defaultValues,
|
|
@@ -58537,7 +58537,7 @@ function uS(r) {
|
|
|
58537
58537
|
);
|
|
58538
58538
|
}
|
|
58539
58539
|
uS.displayName = "F0WizardForm";
|
|
58540
|
-
const
|
|
58540
|
+
const qge = yt(uS), Yce = uS;
|
|
58541
58541
|
function Xce(r, e) {
|
|
58542
58542
|
if (r._brand === "per-section") {
|
|
58543
58543
|
const i = r;
|
|
@@ -58600,7 +58600,7 @@ function jce(r) {
|
|
|
58600
58600
|
const { mode: e, ...t } = r;
|
|
58601
58601
|
return e === "wizard" ? Zce(t) : $H(t);
|
|
58602
58602
|
}
|
|
58603
|
-
const
|
|
58603
|
+
const Zge = { open: jce }, Kce = ({
|
|
58604
58604
|
minLabel: r,
|
|
58605
58605
|
maxLabel: e
|
|
58606
58606
|
}) => !r && !e ? null : /* @__PURE__ */ B(
|
|
@@ -58823,7 +58823,7 @@ const rfe = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
|
|
|
58823
58823
|
/* @__PURE__ */ x("div", { className: "flex items-center py-2", children: /* @__PURE__ */ x(ae, { className: "h-1.5 w-full rounded-full" }) })
|
|
58824
58824
|
]
|
|
58825
58825
|
}
|
|
58826
|
-
),
|
|
58826
|
+
), jge = ["always", "onHover", "never"], Kge = sr(
|
|
58827
58827
|
"F0Slider",
|
|
58828
58828
|
px(yt(BF), rfe)
|
|
58829
58829
|
), nfe = ({
|
|
@@ -59131,13 +59131,13 @@ const rfe = ({ hideLabel: r = !1 }) => /* @__PURE__ */ B(
|
|
|
59131
59131
|
)
|
|
59132
59132
|
) }) : null
|
|
59133
59133
|
] });
|
|
59134
|
-
}, dfe = (r) => ("items" in r || "content" in r) && "icon" in r && r.icon !== void 0, hfe = (r) => "items" in r && !("icon" in r && r.icon !== void 0), vfe = (r) => dfe(r) ? /* @__PURE__ */ x(VF, { props: r }) : hfe(r) ? /* @__PURE__ */ x(ffe, { props: r }) : /* @__PURE__ */ x(FF, { props: r }),
|
|
59134
|
+
}, dfe = (r) => ("items" in r || "content" in r) && "icon" in r && r.icon !== void 0, hfe = (r) => "items" in r && !("icon" in r && r.icon !== void 0), vfe = (r) => dfe(r) ? /* @__PURE__ */ x(VF, { props: r }) : hfe(r) ? /* @__PURE__ */ x(ffe, { props: r }) : /* @__PURE__ */ x(FF, { props: r }), Qge = [
|
|
59135
59135
|
"completed",
|
|
59136
59136
|
"in-progress",
|
|
59137
59137
|
"not-started"
|
|
59138
|
-
],
|
|
59138
|
+
], Jge = yt(
|
|
59139
59139
|
sr("F0TimelineRow", vfe)
|
|
59140
|
-
),
|
|
59140
|
+
), eme = yt(T0), tme = yt(
|
|
59141
59141
|
sr(
|
|
59142
59142
|
"F0GridStack",
|
|
59143
59143
|
Bx
|
|
@@ -59357,7 +59357,7 @@ function HF({
|
|
|
59357
59357
|
}
|
|
59358
59358
|
);
|
|
59359
59359
|
}
|
|
59360
|
-
const
|
|
59360
|
+
const rme = yt(
|
|
59361
59361
|
sr(
|
|
59362
59362
|
"F0TableOfContentPopover",
|
|
59363
59363
|
HF
|
|
@@ -59433,7 +59433,7 @@ const eme = yt(
|
|
|
59433
59433
|
return null;
|
|
59434
59434
|
const e = r.length, t = r.every((n) => /^\d+$/.test(n.label.trim()));
|
|
59435
59435
|
return e === 5 && t ? "1-5" : e === 10 && t ? "1-10" : e === 11 && t ? "0-10" : e === 5 && !t ? "emojis" : null;
|
|
59436
|
-
}, nx = (r) => {
|
|
59436
|
+
}, Tfe = new RegExp("^(?:\\p{Extended_Pictographic}|\\p{Emoji_Modifier}|\\u200D|\\uFE0F)+$", "u"), Dfe = (r) => r.length > 0 && r.every((e) => Tfe.test(e.label.trim())), nx = (r) => {
|
|
59437
59437
|
switch (r) {
|
|
59438
59438
|
case "rating":
|
|
59439
59439
|
return {
|
|
@@ -59491,7 +59491,7 @@ const eme = yt(
|
|
|
59491
59491
|
"date",
|
|
59492
59492
|
"file",
|
|
59493
59493
|
"checkbox"
|
|
59494
|
-
],
|
|
59494
|
+
], Afe = (r) => {
|
|
59495
59495
|
if (!r)
|
|
59496
59496
|
return qN[0];
|
|
59497
59497
|
const e = qN.find(
|
|
@@ -59600,7 +59600,7 @@ function fS({
|
|
|
59600
59600
|
throw new Error(`${N} questions require a datasetKey`);
|
|
59601
59601
|
const O = Dh(
|
|
59602
59602
|
N === "section" ? "section" : "question"
|
|
59603
|
-
), R =
|
|
59603
|
+
), R = Afe(o), z = N === "section" ? {
|
|
59604
59604
|
type: "section",
|
|
59605
59605
|
section: {
|
|
59606
59606
|
id: O,
|
|
@@ -59822,7 +59822,7 @@ const hS = () => {
|
|
|
59822
59822
|
datasetKey: o
|
|
59823
59823
|
})) : [];
|
|
59824
59824
|
return [...i, ...a];
|
|
59825
|
-
},
|
|
59825
|
+
}, Mfe = {
|
|
59826
59826
|
rating: HI,
|
|
59827
59827
|
"multi-select": gs,
|
|
59828
59828
|
select: qr,
|
|
@@ -59835,7 +59835,7 @@ const hS = () => {
|
|
|
59835
59835
|
"dropdown-multi": Bl,
|
|
59836
59836
|
file: UI,
|
|
59837
59837
|
checkbox: Ol
|
|
59838
|
-
},
|
|
59838
|
+
}, Efe = () => {
|
|
59839
59839
|
const {
|
|
59840
59840
|
disabled: r,
|
|
59841
59841
|
answering: e,
|
|
@@ -59917,7 +59917,7 @@ const hS = () => {
|
|
|
59917
59917
|
] }) : null
|
|
59918
59918
|
] })
|
|
59919
59919
|
] }) });
|
|
59920
|
-
},
|
|
59920
|
+
}, Lfe = ({
|
|
59921
59921
|
open: r,
|
|
59922
59922
|
onConfirm: e,
|
|
59923
59923
|
onCancel: t
|
|
@@ -59953,13 +59953,13 @@ const hS = () => {
|
|
|
59953
59953
|
{ label: "0 - 10", value: "0-10" },
|
|
59954
59954
|
{ label: "Emojis", value: "emojis" }
|
|
59955
59955
|
];
|
|
59956
|
-
function
|
|
59956
|
+
function Nfe(r, e) {
|
|
59957
59957
|
if (r !== "rating" || !e || e.type !== "rating")
|
|
59958
59958
|
return null;
|
|
59959
59959
|
const t = e.options;
|
|
59960
59960
|
return !Array.isArray(t) || t.length === 0 || typeof t[0]?.value != "number" ? null : $F(t);
|
|
59961
59961
|
}
|
|
59962
|
-
function
|
|
59962
|
+
function Ife(r, e, t) {
|
|
59963
59963
|
return !(r === e || (r === "select" || r === "multi-select") && t && "options" in t && Array.isArray(t.options) && t.options.length > 0 || (r === "dropdown-single" || r === "dropdown-multi") && (e === "dropdown-single" || e === "dropdown-multi"));
|
|
59964
59964
|
}
|
|
59965
59965
|
function XF() {
|
|
@@ -59973,14 +59973,14 @@ function XF() {
|
|
|
59973
59973
|
} = Ot(), o = hS();
|
|
59974
59974
|
return { getActionsForQuestion: pe(
|
|
59975
59975
|
(l, u, c) => {
|
|
59976
|
-
const f = e(l), d = f && "datasetKey" in f && typeof f.datasetKey == "string" ? f.datasetKey : void 0, h =
|
|
59976
|
+
const f = e(l), d = f && "datasetKey" in f && typeof f.datasetKey == "string" ? f.datasetKey : void 0, h = Nfe(u, f), v = (T) => {
|
|
59977
59977
|
r?.({
|
|
59978
59978
|
id: l,
|
|
59979
59979
|
type: u,
|
|
59980
59980
|
required: T
|
|
59981
59981
|
});
|
|
59982
59982
|
}, p = (T, D) => {
|
|
59983
|
-
const A =
|
|
59983
|
+
const A = Ife(
|
|
59984
59984
|
T,
|
|
59985
59985
|
u,
|
|
59986
59986
|
f
|
|
@@ -60056,7 +60056,7 @@ function XF() {
|
|
|
60056
60056
|
]
|
|
60057
60057
|
), questionTypes: o };
|
|
60058
60058
|
}
|
|
60059
|
-
function
|
|
60059
|
+
function Pfe({
|
|
60060
60060
|
questionId: r,
|
|
60061
60061
|
questionType: e,
|
|
60062
60062
|
canDelete: t = !0
|
|
@@ -60093,7 +60093,7 @@ const p0 = ({
|
|
|
60093
60093
|
)
|
|
60094
60094
|
] })
|
|
60095
60095
|
}
|
|
60096
|
-
),
|
|
60096
|
+
), kfe = ({
|
|
60097
60097
|
label: r,
|
|
60098
60098
|
value: e,
|
|
60099
60099
|
currentDatasetKey: t,
|
|
@@ -60209,7 +60209,7 @@ const p0 = ({
|
|
|
60209
60209
|
/* @__PURE__ */ x("span", { className: "flex-1", children: r })
|
|
60210
60210
|
] })
|
|
60211
60211
|
}
|
|
60212
|
-
),
|
|
60212
|
+
), Rfe = ({
|
|
60213
60213
|
showDuplicate: r,
|
|
60214
60214
|
showDelete: e,
|
|
60215
60215
|
withSeparator: t,
|
|
@@ -60240,7 +60240,7 @@ const p0 = ({
|
|
|
60240
60240
|
] })
|
|
60241
60241
|
] });
|
|
60242
60242
|
};
|
|
60243
|
-
function
|
|
60243
|
+
function Ofe({
|
|
60244
60244
|
open: r,
|
|
60245
60245
|
setOpen: e,
|
|
60246
60246
|
questionId: t,
|
|
@@ -60264,7 +60264,7 @@ function kfe({
|
|
|
60264
60264
|
handleToggleAllowCreate: w,
|
|
60265
60265
|
handleDuplicate: S,
|
|
60266
60266
|
handleDelete: C
|
|
60267
|
-
} =
|
|
60267
|
+
} = Pfe({
|
|
60268
60268
|
questionId: t,
|
|
60269
60269
|
questionType: n,
|
|
60270
60270
|
canDelete: i
|
|
@@ -60311,7 +60311,7 @@ function kfe({
|
|
|
60311
60311
|
}
|
|
60312
60312
|
) }) : null,
|
|
60313
60313
|
I ? /* @__PURE__ */ x(Fi, { children: /* @__PURE__ */ x(
|
|
60314
|
-
|
|
60314
|
+
kfe,
|
|
60315
60315
|
{
|
|
60316
60316
|
label: l?.questionType ?? o("surveyFormBuilder.labels.questionType"),
|
|
60317
60317
|
value: n,
|
|
@@ -60324,7 +60324,7 @@ function kfe({
|
|
|
60324
60324
|
}
|
|
60325
60325
|
) }) : null,
|
|
60326
60326
|
/* @__PURE__ */ x(
|
|
60327
|
-
|
|
60327
|
+
Rfe,
|
|
60328
60328
|
{
|
|
60329
60329
|
showDuplicate: E,
|
|
60330
60330
|
showDelete: N,
|
|
@@ -60509,7 +60509,7 @@ const jN = ({
|
|
|
60509
60509
|
M && "opacity-100"
|
|
60510
60510
|
),
|
|
60511
60511
|
children: /* @__PURE__ */ x(
|
|
60512
|
-
|
|
60512
|
+
Ofe,
|
|
60513
60513
|
{
|
|
60514
60514
|
open: M,
|
|
60515
60515
|
setOpen: I,
|
|
@@ -60642,7 +60642,7 @@ const jN = ({
|
|
|
60642
60642
|
]
|
|
60643
60643
|
}
|
|
60644
60644
|
);
|
|
60645
|
-
},
|
|
60645
|
+
}, Bfe = ({
|
|
60646
60646
|
value: r,
|
|
60647
60647
|
label: e,
|
|
60648
60648
|
...t
|
|
@@ -60695,7 +60695,7 @@ const jN = ({
|
|
|
60695
60695
|
}
|
|
60696
60696
|
)
|
|
60697
60697
|
] }) });
|
|
60698
|
-
},
|
|
60698
|
+
}, zfe = ({
|
|
60699
60699
|
value: r,
|
|
60700
60700
|
...e
|
|
60701
60701
|
}) => {
|
|
@@ -60721,7 +60721,7 @@ const jN = ({
|
|
|
60721
60721
|
hideLabel: !0
|
|
60722
60722
|
}
|
|
60723
60723
|
) });
|
|
60724
|
-
},
|
|
60724
|
+
}, Vfe = ({
|
|
60725
60725
|
datasetKey: r,
|
|
60726
60726
|
showSearchBox: e,
|
|
60727
60727
|
searchBoxPlaceholder: t,
|
|
@@ -60786,7 +60786,7 @@ const jN = ({
|
|
|
60786
60786
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
|
60787
60787
|
"text/plain",
|
|
60788
60788
|
"text/csv"
|
|
60789
|
-
],
|
|
60789
|
+
], Ffe = () => ({
|
|
60790
60790
|
upload: async (r) => ({
|
|
60791
60791
|
type: "success",
|
|
60792
60792
|
value: `local-${r.name}-${Date.now()}`
|
|
@@ -60795,7 +60795,7 @@ const jN = ({
|
|
|
60795
60795
|
},
|
|
60796
60796
|
progress: 0,
|
|
60797
60797
|
status: "idle"
|
|
60798
|
-
}),
|
|
60798
|
+
}), Gfe = ({
|
|
60799
60799
|
value: r,
|
|
60800
60800
|
useUpload: e,
|
|
60801
60801
|
accept: t,
|
|
@@ -60809,7 +60809,7 @@ const jN = ({
|
|
|
60809
60809
|
multiple: !0,
|
|
60810
60810
|
accept: t ?? qF,
|
|
60811
60811
|
maxSizeMB: n,
|
|
60812
|
-
useUpload: u ??
|
|
60812
|
+
useUpload: u ?? Ffe
|
|
60813
60813
|
};
|
|
60814
60814
|
return /* @__PURE__ */ x(Nt, { ...i, children: /* @__PURE__ */ x(
|
|
60815
60815
|
Sr,
|
|
@@ -60827,7 +60827,7 @@ const jN = ({
|
|
|
60827
60827
|
hideLabel: !0
|
|
60828
60828
|
}
|
|
60829
60829
|
) });
|
|
60830
|
-
},
|
|
60830
|
+
}, Hfe = ({
|
|
60831
60831
|
value: r,
|
|
60832
60832
|
...e
|
|
60833
60833
|
}) => {
|
|
@@ -60855,7 +60855,7 @@ const jN = ({
|
|
|
60855
60855
|
hideLabel: !0
|
|
60856
60856
|
}
|
|
60857
60857
|
) });
|
|
60858
|
-
},
|
|
60858
|
+
}, Wfe = ({
|
|
60859
60859
|
value: r,
|
|
60860
60860
|
...e
|
|
60861
60861
|
}) => {
|
|
@@ -60895,7 +60895,7 @@ const jN = ({
|
|
|
60895
60895
|
icon: av
|
|
60896
60896
|
}
|
|
60897
60897
|
) });
|
|
60898
|
-
},
|
|
60898
|
+
}, $fe = ({
|
|
60899
60899
|
option: r,
|
|
60900
60900
|
selected: e,
|
|
60901
60901
|
onClick: t,
|
|
@@ -60917,7 +60917,7 @@ const jN = ({
|
|
|
60917
60917
|
{
|
|
60918
60918
|
"data-testid": `score-edit-option-${o}`,
|
|
60919
60919
|
className: ne(
|
|
60920
|
-
"group relative flex h-10 min-w-20 flex-1 items-center justify-center rounded-md border border-solid border-f1-border text-center font-medium",
|
|
60920
|
+
"group relative flex min-h-10 min-w-20 flex-1 items-center justify-center rounded-md border border-solid border-f1-border px-3 py-1.5 text-center font-medium",
|
|
60921
60921
|
e && "border-f1-border-selected bg-f1-background-selected-secondary",
|
|
60922
60922
|
i ? "cursor-default" : "cursor-pointer"
|
|
60923
60923
|
),
|
|
@@ -60972,7 +60972,7 @@ const jN = ({
|
|
|
60972
60972
|
)
|
|
60973
60973
|
]
|
|
60974
60974
|
}
|
|
60975
|
-
) : /* @__PURE__ */ x("span", { className: "text-base font-medium", children: s })
|
|
60975
|
+
) : /* @__PURE__ */ x("span", { className: "text-base font-medium leading-tight [overflow-wrap:anywhere]", children: s })
|
|
60976
60976
|
}
|
|
60977
60977
|
);
|
|
60978
60978
|
}, ZF = ({
|
|
@@ -60981,7 +60981,7 @@ const jN = ({
|
|
|
60981
60981
|
}) => !r && !e ? null : /* @__PURE__ */ B("div", { className: "flex items-start justify-between gap-4 px-2 pb-1", children: [
|
|
60982
60982
|
/* @__PURE__ */ x("span", { className: "text-sm text-f1-foreground-secondary", children: r }),
|
|
60983
60983
|
/* @__PURE__ */ x("span", { className: "text-right text-sm text-f1-foreground-secondary", children: e })
|
|
60984
|
-
] }),
|
|
60984
|
+
] }), Ufe = ({
|
|
60985
60985
|
options: r,
|
|
60986
60986
|
value: e,
|
|
60987
60987
|
minLabel: t,
|
|
@@ -60993,7 +60993,7 @@ const jN = ({
|
|
|
60993
60993
|
disabled: o,
|
|
60994
60994
|
answering: s,
|
|
60995
60995
|
getSectionContainingQuestion: l
|
|
60996
|
-
} = Ot(), u = l(i.id)?.locked || i.locked, c = !!(t || n), d = $F(r) === "emojis", h = (p) => {
|
|
60996
|
+
} = Ot(), u = l(i.id)?.locked || i.locked, c = !!(t || n), d = $F(r) === "emojis" && Dfe(r), h = (p) => {
|
|
60997
60997
|
a?.({
|
|
60998
60998
|
id: i.id,
|
|
60999
60999
|
value: p,
|
|
@@ -61020,7 +61020,7 @@ const jN = ({
|
|
|
61020
61020
|
c ? "flex gap-3 [&>*]:min-w-0" : "grid grid-cols-3 gap-3 @md:grid-cols-5"
|
|
61021
61021
|
),
|
|
61022
61022
|
children: r.map((p) => /* @__PURE__ */ x(
|
|
61023
|
-
|
|
61023
|
+
$fe,
|
|
61024
61024
|
{
|
|
61025
61025
|
option: p,
|
|
61026
61026
|
selected: e === p.value,
|
|
@@ -61035,8 +61035,8 @@ const jN = ({
|
|
|
61035
61035
|
),
|
|
61036
61036
|
/* @__PURE__ */ x(ZF, { minLabel: t, maxLabel: n })
|
|
61037
61037
|
] }) });
|
|
61038
|
-
},
|
|
61039
|
-
function
|
|
61038
|
+
}, Yfe = (r) => /* @__PURE__ */ x(Ufe, { ...r, type: "rating" });
|
|
61039
|
+
function Xfe({
|
|
61040
61040
|
checked: r,
|
|
61041
61041
|
disabled: e
|
|
61042
61042
|
}) {
|
|
@@ -61053,7 +61053,7 @@ function Ufe({
|
|
|
61053
61053
|
}
|
|
61054
61054
|
);
|
|
61055
61055
|
}
|
|
61056
|
-
const
|
|
61056
|
+
const qfe = ({
|
|
61057
61057
|
index: r,
|
|
61058
61058
|
option: e,
|
|
61059
61059
|
onClick: t,
|
|
@@ -61120,7 +61120,7 @@ const Yfe = ({
|
|
|
61120
61120
|
hideLabel: !0
|
|
61121
61121
|
}
|
|
61122
61122
|
) : /* @__PURE__ */ x(
|
|
61123
|
-
|
|
61123
|
+
Xfe,
|
|
61124
61124
|
{
|
|
61125
61125
|
checked: o ? !!s : !1,
|
|
61126
61126
|
disabled: !o
|
|
@@ -61189,7 +61189,7 @@ const Yfe = ({
|
|
|
61189
61189
|
)
|
|
61190
61190
|
}
|
|
61191
61191
|
);
|
|
61192
|
-
},
|
|
61192
|
+
}, Zfe = ({ options: r, ...e }) => {
|
|
61193
61193
|
const {
|
|
61194
61194
|
onQuestionChange: t,
|
|
61195
61195
|
disabled: n,
|
|
@@ -61294,7 +61294,7 @@ const Yfe = ({
|
|
|
61294
61294
|
children: r.map((g, m) => {
|
|
61295
61295
|
const y = e.type === "select" ? e.value === g.value : Array.isArray(e.value) && e.value.includes(g.value);
|
|
61296
61296
|
return /* @__PURE__ */ x("div", { className: "w-full [&>div]:w-full", children: /* @__PURE__ */ x(
|
|
61297
|
-
|
|
61297
|
+
qfe,
|
|
61298
61298
|
{
|
|
61299
61299
|
index: m,
|
|
61300
61300
|
option: g,
|
|
@@ -61322,7 +61322,7 @@ const Yfe = ({
|
|
|
61322
61322
|
}
|
|
61323
61323
|
) }) : null
|
|
61324
61324
|
] }) });
|
|
61325
|
-
},
|
|
61325
|
+
}, jfe = ({
|
|
61326
61326
|
value: r,
|
|
61327
61327
|
...e
|
|
61328
61328
|
}) => {
|
|
@@ -61367,25 +61367,25 @@ const Yfe = ({
|
|
|
61367
61367
|
switch (r.type) {
|
|
61368
61368
|
case "text":
|
|
61369
61369
|
case "longText":
|
|
61370
|
-
return /* @__PURE__ */ x(
|
|
61370
|
+
return /* @__PURE__ */ x(jfe, { ...r });
|
|
61371
61371
|
case "rating":
|
|
61372
|
-
return /* @__PURE__ */ x(
|
|
61372
|
+
return /* @__PURE__ */ x(Yfe, { ...r });
|
|
61373
61373
|
case "select":
|
|
61374
61374
|
case "multi-select":
|
|
61375
|
-
return /* @__PURE__ */ x(
|
|
61375
|
+
return /* @__PURE__ */ x(Zfe, { ...r });
|
|
61376
61376
|
case "dropdown-single":
|
|
61377
61377
|
case "dropdown-multi":
|
|
61378
|
-
return /* @__PURE__ */ x(
|
|
61378
|
+
return /* @__PURE__ */ x(Vfe, { ...r });
|
|
61379
61379
|
case "numeric":
|
|
61380
|
-
return /* @__PURE__ */ x(
|
|
61380
|
+
return /* @__PURE__ */ x(Wfe, { ...r });
|
|
61381
61381
|
case "link":
|
|
61382
|
-
return /* @__PURE__ */ x(
|
|
61382
|
+
return /* @__PURE__ */ x(Hfe, { ...r });
|
|
61383
61383
|
case "date":
|
|
61384
|
-
return /* @__PURE__ */ x(
|
|
61384
|
+
return /* @__PURE__ */ x(zfe, { ...r });
|
|
61385
61385
|
case "file":
|
|
61386
|
-
return /* @__PURE__ */ x(
|
|
61386
|
+
return /* @__PURE__ */ x(Gfe, { ...r });
|
|
61387
61387
|
case "checkbox":
|
|
61388
|
-
return /* @__PURE__ */ x(
|
|
61388
|
+
return /* @__PURE__ */ x(Bfe, { ...r });
|
|
61389
61389
|
default:
|
|
61390
61390
|
throw new Error("Invalid question type provided");
|
|
61391
61391
|
}
|
|
@@ -61463,7 +61463,7 @@ const Yfe = ({
|
|
|
61463
61463
|
]
|
|
61464
61464
|
}
|
|
61465
61465
|
);
|
|
61466
|
-
},
|
|
61466
|
+
}, Kfe = ({ question: r }) => {
|
|
61467
61467
|
const { isDragging: e, setIsDragging: t, setDraggedItemId: n } = Mu(), i = Ex(), { disabled: a, answering: o, getSectionContainingQuestion: s } = Ot(), l = s(r.id), u = () => {
|
|
61468
61468
|
t(!0), n(r.id);
|
|
61469
61469
|
}, c = () => {
|
|
@@ -61513,7 +61513,7 @@ const Yfe = ({
|
|
|
61513
61513
|
)
|
|
61514
61514
|
}
|
|
61515
61515
|
);
|
|
61516
|
-
},
|
|
61516
|
+
}, Qfe = ({
|
|
61517
61517
|
id: r,
|
|
61518
61518
|
title: e = "",
|
|
61519
61519
|
description: t,
|
|
@@ -61661,7 +61661,7 @@ const Yfe = ({
|
|
|
61661
61661
|
values: i,
|
|
61662
61662
|
onReorder: _,
|
|
61663
61663
|
as: "div",
|
|
61664
|
-
children: /* @__PURE__ */ x("div", { className: "group/section-list flex flex-col gap-4", children: i.map((N) => /* @__PURE__ */ x(
|
|
61664
|
+
children: /* @__PURE__ */ x("div", { className: "group/section-list flex flex-col gap-4", children: i.map((N) => /* @__PURE__ */ x(Kfe, { question: N }, N.id)) })
|
|
61665
61665
|
}
|
|
61666
61666
|
) }),
|
|
61667
61667
|
u ? null : /* @__PURE__ */ B("div", { className: "mt-8 flex flex-row items-center gap-4", children: [
|
|
@@ -61723,7 +61723,7 @@ const Yfe = ({
|
|
|
61723
61723
|
children: /* @__PURE__ */ x(ut, { icon: Bf, size: "sm" })
|
|
61724
61724
|
}
|
|
61725
61725
|
) : null,
|
|
61726
|
-
/* @__PURE__ */ x(
|
|
61726
|
+
/* @__PURE__ */ x(Qfe, { ...r.section, hideQuestions: !0 })
|
|
61727
61727
|
]
|
|
61728
61728
|
}
|
|
61729
61729
|
),
|
|
@@ -61734,9 +61734,9 @@ const Yfe = ({
|
|
|
61734
61734
|
] }) })
|
|
61735
61735
|
}
|
|
61736
61736
|
);
|
|
61737
|
-
}, KN = (r) =>
|
|
61737
|
+
}, KN = (r) => Mfe[r], Jfe = (r) => {
|
|
61738
61738
|
document.getElementById(r)?.scrollIntoView({ behavior: "smooth", block: "start" });
|
|
61739
|
-
},
|
|
61739
|
+
}, ede = (r, e) => {
|
|
61740
61740
|
const {
|
|
61741
61741
|
untitledSectionLabel: t,
|
|
61742
61742
|
untitledQuestionLabel: n,
|
|
@@ -61750,7 +61750,7 @@ const Yfe = ({
|
|
|
61750
61750
|
singleSelectionLabel: f,
|
|
61751
61751
|
multiSelectionLabel: d
|
|
61752
61752
|
} = e, { deleteElement: h, onDuplicateElement: v, disabled: p, answering: g } = Ot(), { getActionsForQuestion: m, questionTypes: y } = XF(), b = pe((w) => {
|
|
61753
|
-
|
|
61753
|
+
Jfe(w);
|
|
61754
61754
|
}, []), _ = pe(
|
|
61755
61755
|
(w, S, C) => {
|
|
61756
61756
|
const {
|
|
@@ -61935,7 +61935,7 @@ const Yfe = ({
|
|
|
61935
61935
|
]
|
|
61936
61936
|
);
|
|
61937
61937
|
}, g0 = "co-creation-section-", Ah = "co-creation-question-";
|
|
61938
|
-
function
|
|
61938
|
+
function tde(r, e) {
|
|
61939
61939
|
const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
61940
61940
|
for (const o of e)
|
|
61941
61941
|
if (o.type === "section") {
|
|
@@ -61972,7 +61972,7 @@ const JF = ({
|
|
|
61972
61972
|
onChange: e,
|
|
61973
61973
|
answering: t
|
|
61974
61974
|
}) => {
|
|
61975
|
-
const { t: n } = Be(), { disabled: i, labels: a } = Ot(), { portalContainer: o } = ia(ZI), s =
|
|
61975
|
+
const { t: n } = Be(), { disabled: i, labels: a } = Ot(), { portalContainer: o } = ia(ZI), s = ede(r, {
|
|
61976
61976
|
untitledSectionLabel: n("surveyFormBuilder.labels.sectionTitlePlaceholder"),
|
|
61977
61977
|
untitledQuestionLabel: n("surveyFormBuilder.labels.titlePlaceholder"),
|
|
61978
61978
|
duplicateQuestionLabel: a?.duplicateQuestion ?? n("surveyFormBuilder.actions.duplicateQuestion"),
|
|
@@ -61986,7 +61986,7 @@ const JF = ({
|
|
|
61986
61986
|
multiSelectionLabel: n("surveyFormBuilder.labels.multiSelection")
|
|
61987
61987
|
}), l = pe(
|
|
61988
61988
|
(u) => {
|
|
61989
|
-
e(
|
|
61989
|
+
e(tde(u, r));
|
|
61990
61990
|
},
|
|
61991
61991
|
[r, e]
|
|
61992
61992
|
);
|
|
@@ -62004,7 +62004,7 @@ const JF = ({
|
|
|
62004
62004
|
}
|
|
62005
62005
|
) });
|
|
62006
62006
|
};
|
|
62007
|
-
function
|
|
62007
|
+
function rde(r) {
|
|
62008
62008
|
return r.flatMap((e) => e.type === "section" ? [
|
|
62009
62009
|
{
|
|
62010
62010
|
type: "section-header",
|
|
@@ -62044,7 +62044,7 @@ function QN(r) {
|
|
|
62044
62044
|
a.type === "section-header" ? (i(), t = a.section, n = []) : a.type === "section-end" ? i() : t ? n.push(a.question) : e.push({ type: "question", question: a.question });
|
|
62045
62045
|
return i(), e;
|
|
62046
62046
|
}
|
|
62047
|
-
function
|
|
62047
|
+
function nde(r, e) {
|
|
62048
62048
|
const t = [];
|
|
62049
62049
|
let n = null, i = [];
|
|
62050
62050
|
function a() {
|
|
@@ -62079,7 +62079,7 @@ function tde(r, e) {
|
|
|
62079
62079
|
o.type === "section-header" ? (a(), n = o.section.id, t.push(o)) : n ? i.push(o) : t.push(o);
|
|
62080
62080
|
return a(), t;
|
|
62081
62081
|
}
|
|
62082
|
-
function
|
|
62082
|
+
function ide(r) {
|
|
62083
62083
|
const e = /* @__PURE__ */ new Set();
|
|
62084
62084
|
for (const t of r)
|
|
62085
62085
|
if (t.type === "section") {
|
|
@@ -62088,7 +62088,7 @@ function rde(r) {
|
|
|
62088
62088
|
}
|
|
62089
62089
|
return e;
|
|
62090
62090
|
}
|
|
62091
|
-
function
|
|
62091
|
+
function ade({
|
|
62092
62092
|
flatItems: r,
|
|
62093
62093
|
onChange: e
|
|
62094
62094
|
}) {
|
|
@@ -62134,7 +62134,7 @@ function nde({
|
|
|
62134
62134
|
for (const S of c.values())
|
|
62135
62135
|
for (const C of S)
|
|
62136
62136
|
b.add(C);
|
|
62137
|
-
const _ =
|
|
62137
|
+
const _ = nde(
|
|
62138
62138
|
y,
|
|
62139
62139
|
b
|
|
62140
62140
|
);
|
|
@@ -62189,17 +62189,17 @@ function nde({
|
|
|
62189
62189
|
lastQuestionDialogOpen: i
|
|
62190
62190
|
};
|
|
62191
62191
|
}
|
|
62192
|
-
function
|
|
62192
|
+
function ode({ children: r }) {
|
|
62193
62193
|
const { isDragging: e } = Mu();
|
|
62194
62194
|
return /* @__PURE__ */ x("div", { className: ne("relative @container", e && "select-none"), children: r });
|
|
62195
62195
|
}
|
|
62196
|
-
const
|
|
62196
|
+
const sde = (r, e, t) => {
|
|
62197
62197
|
const n = [r[e]];
|
|
62198
62198
|
let i = e + 1;
|
|
62199
62199
|
for (; i < r.length && r[i].type === "question" && t.has(r[i].id); )
|
|
62200
62200
|
n.push(r[i]), i++;
|
|
62201
62201
|
return n;
|
|
62202
|
-
},
|
|
62202
|
+
}, lde = ({
|
|
62203
62203
|
items: r,
|
|
62204
62204
|
first: e
|
|
62205
62205
|
}) => /* @__PURE__ */ x(
|
|
@@ -62219,7 +62219,7 @@ const ade = (r, e, t) => {
|
|
|
62219
62219
|
t.id
|
|
62220
62220
|
) : null)
|
|
62221
62221
|
}
|
|
62222
|
-
),
|
|
62222
|
+
), ude = ({
|
|
62223
62223
|
items: r,
|
|
62224
62224
|
lockedSectionIds: e,
|
|
62225
62225
|
inSectionQuestionIds: t,
|
|
@@ -62230,10 +62230,10 @@ const ade = (r, e, t) => {
|
|
|
62230
62230
|
for (; a < r.length; ) {
|
|
62231
62231
|
const o = r[a];
|
|
62232
62232
|
if (o.type === "section-header" && e.has(o.section.id)) {
|
|
62233
|
-
const l =
|
|
62233
|
+
const l = sde(r, a, t);
|
|
62234
62234
|
i.push(
|
|
62235
62235
|
/* @__PURE__ */ x(
|
|
62236
|
-
|
|
62236
|
+
lde,
|
|
62237
62237
|
{
|
|
62238
62238
|
items: l,
|
|
62239
62239
|
first: a === 0
|
|
@@ -62259,7 +62259,7 @@ const ade = (r, e, t) => {
|
|
|
62259
62259
|
), a++;
|
|
62260
62260
|
}
|
|
62261
62261
|
return /* @__PURE__ */ x(nt, { children: i });
|
|
62262
|
-
},
|
|
62262
|
+
}, cde = ({
|
|
62263
62263
|
elements: r,
|
|
62264
62264
|
disabled: e,
|
|
62265
62265
|
onChange: t,
|
|
@@ -62290,11 +62290,11 @@ const ade = (r, e, t) => {
|
|
|
62290
62290
|
}
|
|
62291
62291
|
} : C),
|
|
62292
62292
|
[r, n]
|
|
62293
|
-
), h = _e(() =>
|
|
62293
|
+
), h = _e(() => rde(d), [d]), v = _e(
|
|
62294
62294
|
() => h.filter((C) => C.type !== "section-end"),
|
|
62295
62295
|
[h]
|
|
62296
62296
|
), p = _e(
|
|
62297
|
-
() =>
|
|
62297
|
+
() => ide(d),
|
|
62298
62298
|
[d]
|
|
62299
62299
|
), g = _e(() => {
|
|
62300
62300
|
const C = /* @__PURE__ */ new Set();
|
|
@@ -62313,7 +62313,7 @@ const ade = (r, e, t) => {
|
|
|
62313
62313
|
handleConfirmLastQuestionMove: b,
|
|
62314
62314
|
handleCancelLastQuestionMove: _,
|
|
62315
62315
|
lastQuestionDialogOpen: w
|
|
62316
|
-
} =
|
|
62316
|
+
} = ade({ flatItems: h, onChange: t });
|
|
62317
62317
|
Te(() => {
|
|
62318
62318
|
if (a) {
|
|
62319
62319
|
const C = document.activeElement;
|
|
@@ -62335,7 +62335,7 @@ const ade = (r, e, t) => {
|
|
|
62335
62335
|
labels: u,
|
|
62336
62336
|
skipDefaultSection: c,
|
|
62337
62337
|
children: [
|
|
62338
|
-
/* @__PURE__ */ x(dS, { children: /* @__PURE__ */ B(
|
|
62338
|
+
/* @__PURE__ */ x(dS, { children: /* @__PURE__ */ B(ode, { children: [
|
|
62339
62339
|
S ? /* @__PURE__ */ x(JF, { elements: d, onChange: t }) : null,
|
|
62340
62340
|
/* @__PURE__ */ B("div", { className: "relative flex flex-1 flex-col", children: [
|
|
62341
62341
|
/* @__PURE__ */ B(
|
|
@@ -62357,7 +62357,7 @@ const ade = (r, e, t) => {
|
|
|
62357
62357
|
onReorder: y,
|
|
62358
62358
|
as: "div",
|
|
62359
62359
|
children: /* @__PURE__ */ x("div", { className: "flex flex-col", children: /* @__PURE__ */ x(
|
|
62360
|
-
|
|
62360
|
+
ude,
|
|
62361
62361
|
{
|
|
62362
62362
|
items: v,
|
|
62363
62363
|
lockedSectionIds: m,
|
|
@@ -62367,7 +62367,7 @@ const ade = (r, e, t) => {
|
|
|
62367
62367
|
) })
|
|
62368
62368
|
}
|
|
62369
62369
|
),
|
|
62370
|
-
f ? /* @__PURE__ */ x(
|
|
62370
|
+
f ? /* @__PURE__ */ x(Efe, {}) : null
|
|
62371
62371
|
]
|
|
62372
62372
|
}
|
|
62373
62373
|
),
|
|
@@ -62384,7 +62384,7 @@ const ade = (r, e, t) => {
|
|
|
62384
62384
|
] })
|
|
62385
62385
|
] }) }),
|
|
62386
62386
|
/* @__PURE__ */ x(
|
|
62387
|
-
|
|
62387
|
+
Lfe,
|
|
62388
62388
|
{
|
|
62389
62389
|
open: w,
|
|
62390
62390
|
onConfirm: b,
|
|
@@ -62394,7 +62394,7 @@ const ade = (r, e, t) => {
|
|
|
62394
62394
|
]
|
|
62395
62395
|
}
|
|
62396
62396
|
);
|
|
62397
|
-
},
|
|
62397
|
+
}, nme = yt(cde);
|
|
62398
62398
|
function Tn({
|
|
62399
62399
|
titleWidth: r,
|
|
62400
62400
|
descriptionWidth: e,
|
|
@@ -62414,8 +62414,8 @@ function Tn({
|
|
|
62414
62414
|
t
|
|
62415
62415
|
] });
|
|
62416
62416
|
}
|
|
62417
|
-
const Jh = /* @__PURE__ */ x(ae, { className: "h-10 w-full rounded-sm" }), JN = /* @__PURE__ */ x(ae, { className: "h-24 w-full rounded-sm" }),
|
|
62418
|
-
function
|
|
62417
|
+
const Jh = /* @__PURE__ */ x(ae, { className: "h-10 w-full rounded-sm" }), JN = /* @__PURE__ */ x(ae, { className: "h-24 w-full rounded-sm" }), fde = /* @__PURE__ */ x(ae, { className: "h-10 w-56 max-w-full rounded-sm" });
|
|
62418
|
+
function dde() {
|
|
62419
62419
|
return /* @__PURE__ */ x("div", { className: "grid grid-cols-5 gap-2 sm:max-w-80", children: Array.from({ length: 5 }).map((r, e) => /* @__PURE__ */ x(ae, { className: "h-9 rounded-sm" }, e)) });
|
|
62420
62420
|
}
|
|
62421
62421
|
function eI({ count: r }) {
|
|
@@ -62428,7 +62428,7 @@ function eI({ count: r }) {
|
|
|
62428
62428
|
t
|
|
62429
62429
|
)) });
|
|
62430
62430
|
}
|
|
62431
|
-
function
|
|
62431
|
+
function hde() {
|
|
62432
62432
|
return /* @__PURE__ */ x("div", { className: "flex flex-wrap gap-2", children: Array.from({ length: 5 }).map((r, e) => /* @__PURE__ */ x(
|
|
62433
62433
|
ae,
|
|
62434
62434
|
{
|
|
@@ -62473,7 +62473,7 @@ function e5() {
|
|
|
62473
62473
|
{
|
|
62474
62474
|
titleWidth: "58%",
|
|
62475
62475
|
descriptionWidth: "38%",
|
|
62476
|
-
answer: /* @__PURE__ */ x(
|
|
62476
|
+
answer: /* @__PURE__ */ x(dde, {})
|
|
62477
62477
|
}
|
|
62478
62478
|
),
|
|
62479
62479
|
/* @__PURE__ */ x(
|
|
@@ -62498,7 +62498,7 @@ function e5() {
|
|
|
62498
62498
|
{
|
|
62499
62499
|
titleWidth: "60%",
|
|
62500
62500
|
descriptionWidth: "50%",
|
|
62501
|
-
answer:
|
|
62501
|
+
answer: fde
|
|
62502
62502
|
}
|
|
62503
62503
|
),
|
|
62504
62504
|
/* @__PURE__ */ x(
|
|
@@ -62514,7 +62514,7 @@ function e5() {
|
|
|
62514
62514
|
{
|
|
62515
62515
|
titleWidth: "57%",
|
|
62516
62516
|
descriptionWidth: "48%",
|
|
62517
|
-
answer: /* @__PURE__ */ x(
|
|
62517
|
+
answer: /* @__PURE__ */ x(hde, {})
|
|
62518
62518
|
}
|
|
62519
62519
|
),
|
|
62520
62520
|
/* @__PURE__ */ x(
|
|
@@ -62538,7 +62538,7 @@ function e5() {
|
|
|
62538
62538
|
}
|
|
62539
62539
|
);
|
|
62540
62540
|
}
|
|
62541
|
-
function
|
|
62541
|
+
function vde() {
|
|
62542
62542
|
return /* @__PURE__ */ B(
|
|
62543
62543
|
"div",
|
|
62544
62544
|
{
|
|
@@ -62563,7 +62563,7 @@ function dde() {
|
|
|
62563
62563
|
}
|
|
62564
62564
|
);
|
|
62565
62565
|
}
|
|
62566
|
-
function
|
|
62566
|
+
function pde(r) {
|
|
62567
62567
|
const [e, t] = he(0), [n, i] = he(null), a = r.length, o = a > 0 ? e / a * 100 : 0, s = n ?? o, l = r[e], u = e === 0, c = e === a - 1, f = pe(() => {
|
|
62568
62568
|
i(null), t((p) => Math.min(p + 1, a - 1));
|
|
62569
62569
|
}, [a]), d = pe(() => {
|
|
@@ -62586,7 +62586,7 @@ function hde(r) {
|
|
|
62586
62586
|
setProgress: v
|
|
62587
62587
|
};
|
|
62588
62588
|
}
|
|
62589
|
-
function
|
|
62589
|
+
function gde({
|
|
62590
62590
|
value: r,
|
|
62591
62591
|
onChange: e,
|
|
62592
62592
|
onBlur: t,
|
|
@@ -62599,10 +62599,7 @@ function vde({
|
|
|
62599
62599
|
/* @__PURE__ */ x(
|
|
62600
62600
|
"div",
|
|
62601
62601
|
{
|
|
62602
|
-
className:
|
|
62603
|
-
"flex gap-3",
|
|
62604
|
-
l ? "[&>*]:min-w-0 [&>*]:basis-0" : "flex-wrap"
|
|
62605
|
-
),
|
|
62602
|
+
className: l ? "flex gap-3 [&>*]:min-w-0 [&>*]:basis-0" : "grid grid-cols-3 gap-3 @md:grid-cols-5",
|
|
62606
62603
|
children: i.map((c) => /* @__PURE__ */ x(
|
|
62607
62604
|
"div",
|
|
62608
62605
|
{
|
|
@@ -62612,7 +62609,7 @@ function vde({
|
|
|
62612
62609
|
r === c.value && "border-f1-border-selected bg-f1-background-selected-secondary"
|
|
62613
62610
|
),
|
|
62614
62611
|
onClick: () => u(c.value),
|
|
62615
|
-
children: /* @__PURE__ */ x("span", { className: "text-base font-medium leading-tight", children: c.label })
|
|
62612
|
+
children: /* @__PURE__ */ x("span", { className: "text-base font-medium leading-tight [overflow-wrap:anywhere]", children: c.label })
|
|
62616
62613
|
},
|
|
62617
62614
|
c.value
|
|
62618
62615
|
))
|
|
@@ -62621,7 +62618,7 @@ function vde({
|
|
|
62621
62618
|
/* @__PURE__ */ x(ZF, { minLabel: a, maxLabel: o })
|
|
62622
62619
|
] });
|
|
62623
62620
|
}
|
|
62624
|
-
function
|
|
62621
|
+
function mde({ checked: r }) {
|
|
62625
62622
|
return /* @__PURE__ */ x(
|
|
62626
62623
|
"div",
|
|
62627
62624
|
{
|
|
@@ -62673,7 +62670,7 @@ function tI({
|
|
|
62673
62670
|
onCheckedChange: () => d(v.value),
|
|
62674
62671
|
hideLabel: !0
|
|
62675
62672
|
}
|
|
62676
|
-
) : /* @__PURE__ */ x(
|
|
62673
|
+
) : /* @__PURE__ */ x(mde, { checked: !!p }),
|
|
62677
62674
|
/* @__PURE__ */ x("p", { className: "flex-1 font-medium", children: v.label }),
|
|
62678
62675
|
c ? /* @__PURE__ */ x("div", { className: "min-h-8 p-1", children: /* @__PURE__ */ x(
|
|
62679
62676
|
ut,
|
|
@@ -62689,7 +62686,7 @@ function tI({
|
|
|
62689
62686
|
);
|
|
62690
62687
|
}) });
|
|
62691
62688
|
}
|
|
62692
|
-
const
|
|
62689
|
+
const yde = /^(https?:\/\/)?[\w.-]+\.[a-z]{2,}(:\d+)?(\/[^\s]*)?$/i, bde = () => ({
|
|
62693
62690
|
upload: async (r) => ({
|
|
62694
62691
|
type: "success",
|
|
62695
62692
|
value: `local-${r.name}-${Date.now()}`
|
|
@@ -62707,7 +62704,7 @@ function Mh(r, e) {
|
|
|
62707
62704
|
});
|
|
62708
62705
|
});
|
|
62709
62706
|
}
|
|
62710
|
-
function
|
|
62707
|
+
function _de(r, e) {
|
|
62711
62708
|
return Cx().optional().superRefine((t, n) => {
|
|
62712
62709
|
if (r && (!t || t.trim() === "")) {
|
|
62713
62710
|
n.addIssue({
|
|
@@ -62716,7 +62713,7 @@ function yde(r, e) {
|
|
|
62716
62713
|
});
|
|
62717
62714
|
return;
|
|
62718
62715
|
}
|
|
62719
|
-
t && !
|
|
62716
|
+
t && !yde.test(t) && n.addIssue({
|
|
62720
62717
|
code: "custom",
|
|
62721
62718
|
message: e("surveyFormBuilder.answer.invalidUrl")
|
|
62722
62719
|
});
|
|
@@ -62738,7 +62735,7 @@ function ix(r, e) {
|
|
|
62738
62735
|
});
|
|
62739
62736
|
});
|
|
62740
62737
|
}
|
|
62741
|
-
function
|
|
62738
|
+
function xde(r, e) {
|
|
62742
62739
|
return kG().optional().superRefine((t, n) => {
|
|
62743
62740
|
r && !t && n.addIssue({
|
|
62744
62741
|
code: "custom",
|
|
@@ -62746,8 +62743,8 @@ function bde(r, e) {
|
|
|
62746
62743
|
});
|
|
62747
62744
|
});
|
|
62748
62745
|
}
|
|
62749
|
-
const
|
|
62750
|
-
function
|
|
62746
|
+
const wde = ix;
|
|
62747
|
+
function Sde(r, e) {
|
|
62751
62748
|
return NG().optional().superRefine((t, n) => {
|
|
62752
62749
|
r && !t && n.addIssue({
|
|
62753
62750
|
code: "custom",
|
|
@@ -62886,7 +62883,7 @@ function iI({
|
|
|
62886
62883
|
placeholder: e("surveyFormBuilder.answer.linkPlaceholder"),
|
|
62887
62884
|
disabled: i
|
|
62888
62885
|
};
|
|
62889
|
-
return Wr(
|
|
62886
|
+
return Wr(_de(!!r.required, e), {
|
|
62890
62887
|
...l,
|
|
62891
62888
|
fieldType: "custom",
|
|
62892
62889
|
render: ({ value: f, onChange: d, onBlur: h, error: v }) => /* @__PURE__ */ x(Nt, { ...u, children: /* @__PURE__ */ x("div", { className: "px-0.5", children: /* @__PURE__ */ x(
|
|
@@ -62910,7 +62907,7 @@ function iI({
|
|
|
62910
62907
|
clearable: !r.required,
|
|
62911
62908
|
disabled: i
|
|
62912
62909
|
};
|
|
62913
|
-
return Wr(
|
|
62910
|
+
return Wr(xde(!!r.required, e), {
|
|
62914
62911
|
...l,
|
|
62915
62912
|
fieldType: "custom",
|
|
62916
62913
|
render: ({ value: f, onChange: d, onBlur: h, error: v }) => /* @__PURE__ */ x(Nt, { ...u, children: /* @__PURE__ */ x("div", { className: "px-0.5", children: /* @__PURE__ */ x(
|
|
@@ -63072,7 +63069,7 @@ function iI({
|
|
|
63072
63069
|
fieldType: "custom",
|
|
63073
63070
|
fieldConfig: f,
|
|
63074
63071
|
render: ({ value: d, onChange: h, onBlur: v, config: p }) => /* @__PURE__ */ x(Nt, { ...u, children: /* @__PURE__ */ x(
|
|
63075
|
-
|
|
63072
|
+
gde,
|
|
63076
63073
|
{
|
|
63077
63074
|
value: d,
|
|
63078
63075
|
onChange: h,
|
|
@@ -63090,10 +63087,10 @@ function iI({
|
|
|
63090
63087
|
multiple: !0,
|
|
63091
63088
|
accept: c.accept ?? qF,
|
|
63092
63089
|
maxSizeMB: c.maxSizeMB,
|
|
63093
|
-
useUpload: f ??
|
|
63090
|
+
useUpload: f ?? bde,
|
|
63094
63091
|
disabled: i || !f
|
|
63095
63092
|
};
|
|
63096
|
-
return Wr(
|
|
63093
|
+
return Wr(wde(!!r.required, e), {
|
|
63097
63094
|
...l,
|
|
63098
63095
|
fieldType: "custom",
|
|
63099
63096
|
render: ({ value: h, onChange: v, onBlur: p, error: g }) => /* @__PURE__ */ x(Nt, { ...u, children: /* @__PURE__ */ x("div", { className: "px-0.5", children: /* @__PURE__ */ x(
|
|
@@ -63116,7 +63113,7 @@ function iI({
|
|
|
63116
63113
|
label: c.label || s,
|
|
63117
63114
|
disabled: i
|
|
63118
63115
|
};
|
|
63119
|
-
return Wr(
|
|
63116
|
+
return Wr(Sde(!!r.required, e), {
|
|
63120
63117
|
...l,
|
|
63121
63118
|
fieldType: "custom",
|
|
63122
63119
|
render: ({ value: d, onChange: h, onBlur: v, error: p }) => /* @__PURE__ */ x(Nt, { ...u, children: /* @__PURE__ */ x("div", { className: "px-0.5", children: /* @__PURE__ */ x(
|
|
@@ -63205,16 +63202,16 @@ function t5({
|
|
|
63205
63202
|
}
|
|
63206
63203
|
const ev = () => {
|
|
63207
63204
|
};
|
|
63208
|
-
function
|
|
63205
|
+
function Cde(r) {
|
|
63209
63206
|
const e = {};
|
|
63210
63207
|
for (const [t, n] of Object.entries(r))
|
|
63211
63208
|
e[t] = n === void 0 ? null : n;
|
|
63212
63209
|
return e;
|
|
63213
63210
|
}
|
|
63214
|
-
function
|
|
63215
|
-
return r.inline ? /* @__PURE__ */ x(
|
|
63211
|
+
function ime(r) {
|
|
63212
|
+
return r.inline ? /* @__PURE__ */ x(Dde, { ...r }) : /* @__PURE__ */ x(Tde, { ...r });
|
|
63216
63213
|
}
|
|
63217
|
-
function
|
|
63214
|
+
function Tde({
|
|
63218
63215
|
elements: r,
|
|
63219
63216
|
onSubmit: e,
|
|
63220
63217
|
mode: t,
|
|
@@ -63237,7 +63234,7 @@ function Sde({
|
|
|
63237
63234
|
const { t: y } = Be(), b = l === "fullscreen", _ = l === "fullscreen" ? "center" : l, [w, S] = he(b), { formRef: C, submit: T, isSubmitting: D, hasErrors: A } = Dx(), M = fe({}), I = _e(
|
|
63238
63235
|
() => pS(r),
|
|
63239
63236
|
[r]
|
|
63240
|
-
), E =
|
|
63237
|
+
), E = pde(I), N = I.length > 0, k = {
|
|
63241
63238
|
title: v?.empty?.title ?? y("surveyAnsweringForm.labels.empty.title"),
|
|
63242
63239
|
description: v?.empty?.description ?? y("surveyAnsweringForm.labels.empty.description"),
|
|
63243
63240
|
emoji: v?.empty?.emoji ?? y("surveyAnsweringForm.labels.empty.emoji")
|
|
@@ -63277,7 +63274,7 @@ function Sde({
|
|
|
63277
63274
|
...M.current,
|
|
63278
63275
|
...xe
|
|
63279
63276
|
}, E.goToNext(), { success: !0 };
|
|
63280
|
-
const Pe = P ? { ...M.current, ...xe } : xe, ct =
|
|
63277
|
+
const Pe = P ? { ...M.current, ...xe } : xe, ct = Cde(Pe);
|
|
63281
63278
|
if (P) {
|
|
63282
63279
|
E.setProgress(100);
|
|
63283
63280
|
const [Dt] = await Promise.all([
|
|
@@ -63389,7 +63386,7 @@ function Sde({
|
|
|
63389
63386
|
...a
|
|
63390
63387
|
}
|
|
63391
63388
|
) }),
|
|
63392
|
-
h ? t === "stepped" ? /* @__PURE__ */ x(
|
|
63389
|
+
h ? t === "stepped" ? /* @__PURE__ */ x(vde, {}) : /* @__PURE__ */ x(e5, {}) : N ? null : /* @__PURE__ */ x(
|
|
63393
63390
|
En,
|
|
63394
63391
|
{
|
|
63395
63392
|
display: "flex",
|
|
@@ -63439,7 +63436,7 @@ function Sde({
|
|
|
63439
63436
|
}
|
|
63440
63437
|
);
|
|
63441
63438
|
}
|
|
63442
|
-
function
|
|
63439
|
+
function Dde({
|
|
63443
63440
|
elements: r,
|
|
63444
63441
|
title: e,
|
|
63445
63442
|
description: t,
|
|
@@ -63523,7 +63520,7 @@ function Cde({
|
|
|
63523
63520
|
}
|
|
63524
63521
|
);
|
|
63525
63522
|
}
|
|
63526
|
-
function
|
|
63523
|
+
function ame(r) {
|
|
63527
63524
|
return /* @__PURE__ */ B(
|
|
63528
63525
|
En,
|
|
63529
63526
|
{
|
|
@@ -63536,18 +63533,18 @@ function nme(r) {
|
|
|
63536
63533
|
children: [
|
|
63537
63534
|
/* @__PURE__ */ x("p", { className: "m-0 text-sm font-semibold text-f1-foreground", children: r.question }),
|
|
63538
63535
|
r.type === "rating" ? /* @__PURE__ */ x(
|
|
63539
|
-
|
|
63536
|
+
Ade,
|
|
63540
63537
|
{
|
|
63541
63538
|
steps: r.steps ?? 5,
|
|
63542
63539
|
minLabel: r.minLabel,
|
|
63543
63540
|
maxLabel: r.maxLabel
|
|
63544
63541
|
}
|
|
63545
|
-
) : /* @__PURE__ */ x(
|
|
63542
|
+
) : /* @__PURE__ */ x(Mde, { options: r.options })
|
|
63546
63543
|
]
|
|
63547
63544
|
}
|
|
63548
63545
|
);
|
|
63549
63546
|
}
|
|
63550
|
-
function
|
|
63547
|
+
function Ade({
|
|
63551
63548
|
steps: r,
|
|
63552
63549
|
minLabel: e,
|
|
63553
63550
|
maxLabel: t
|
|
@@ -63570,7 +63567,7 @@ function Tde({
|
|
|
63570
63567
|
] }) : null
|
|
63571
63568
|
] });
|
|
63572
63569
|
}
|
|
63573
|
-
function
|
|
63570
|
+
function Mde({ options: r }) {
|
|
63574
63571
|
return /* @__PURE__ */ x(En, { display: "flex", flexDirection: "column", gap: "md", children: r.map((e) => /* @__PURE__ */ B(
|
|
63575
63572
|
En,
|
|
63576
63573
|
{
|
|
@@ -63599,7 +63596,7 @@ function Dde({ options: r }) {
|
|
|
63599
63596
|
e
|
|
63600
63597
|
)) });
|
|
63601
63598
|
}
|
|
63602
|
-
const
|
|
63599
|
+
const Ede = ({ benefits: r }) => /* @__PURE__ */ x("div", { className: "flex flex-col gap-2", children: r.map((e, t) => /* @__PURE__ */ x(Lde, { text: e }, t)) }), Lde = ({ text: r }) => /* @__PURE__ */ B("div", { className: "flex flex-row items-start gap-2", children: [
|
|
63603
63600
|
/* @__PURE__ */ x(ut, { icon: Ol, size: "md", className: "text-f1-icon-positive" }),
|
|
63604
63601
|
/* @__PURE__ */ x("span", { children: r })
|
|
63605
63602
|
] }), r5 = Hr(
|
|
@@ -63649,7 +63646,7 @@ const Ade = ({ benefits: r }) => /* @__PURE__ */ x("div", { className: "flex fle
|
|
|
63649
63646
|
] }) : null,
|
|
63650
63647
|
/* @__PURE__ */ x("h2", { className: "font-bold text-xl text-f1-foreground", children: r })
|
|
63651
63648
|
] }),
|
|
63652
|
-
/* @__PURE__ */ x(
|
|
63649
|
+
/* @__PURE__ */ x(Ede, { benefits: t })
|
|
63653
63650
|
] }),
|
|
63654
63651
|
n ? /* @__PURE__ */ x("div", { className: "flex gap-3", children: n }) : null
|
|
63655
63652
|
] })
|
|
@@ -63658,8 +63655,8 @@ const Ade = ({ benefits: r }) => /* @__PURE__ */ x("div", { className: "flex fle
|
|
|
63658
63655
|
)
|
|
63659
63656
|
);
|
|
63660
63657
|
r5.displayName = "ProductBlankslate";
|
|
63661
|
-
const
|
|
63662
|
-
function
|
|
63658
|
+
const Nde = yt(r5);
|
|
63659
|
+
function Ide({
|
|
63663
63660
|
isOpen: r,
|
|
63664
63661
|
onClose: e,
|
|
63665
63662
|
title: t,
|
|
@@ -63708,7 +63705,7 @@ function Lde({
|
|
|
63708
63705
|
}
|
|
63709
63706
|
) });
|
|
63710
63707
|
}
|
|
63711
|
-
function
|
|
63708
|
+
function Pde({
|
|
63712
63709
|
isOpen: r,
|
|
63713
63710
|
onClose: e,
|
|
63714
63711
|
title: t,
|
|
@@ -63744,7 +63741,7 @@ function Nde({
|
|
|
63744
63741
|
}, A = S;
|
|
63745
63742
|
return /* @__PURE__ */ B(nt, { children: [
|
|
63746
63743
|
/* @__PURE__ */ x(
|
|
63747
|
-
|
|
63744
|
+
Ide,
|
|
63748
63745
|
{
|
|
63749
63746
|
isOpen: y,
|
|
63750
63747
|
onClose: D,
|
|
@@ -63752,7 +63749,7 @@ function Nde({
|
|
|
63752
63749
|
module: d,
|
|
63753
63750
|
portalContainer: v,
|
|
63754
63751
|
children: /* @__PURE__ */ x("div", { className: "pb-4 pl-4", children: /* @__PURE__ */ x(
|
|
63755
|
-
|
|
63752
|
+
Nde,
|
|
63756
63753
|
{
|
|
63757
63754
|
title: t,
|
|
63758
63755
|
image: n,
|
|
@@ -63804,8 +63801,8 @@ function Nde({
|
|
|
63804
63801
|
) : null
|
|
63805
63802
|
] });
|
|
63806
63803
|
}
|
|
63807
|
-
const
|
|
63808
|
-
function
|
|
63804
|
+
const ome = yt(Pde);
|
|
63805
|
+
function kde({
|
|
63809
63806
|
mediaUrl: r,
|
|
63810
63807
|
title: e,
|
|
63811
63808
|
description: t,
|
|
@@ -63888,7 +63885,7 @@ function Ide({
|
|
|
63888
63885
|
) }) : null
|
|
63889
63886
|
] }) });
|
|
63890
63887
|
}
|
|
63891
|
-
const
|
|
63888
|
+
const Rde = yt(kde), Ode = ({ onDismiss: r }) => {
|
|
63892
63889
|
const { actions: e } = Be();
|
|
63893
63890
|
return /* @__PURE__ */ x(
|
|
63894
63891
|
lt,
|
|
@@ -63903,7 +63900,7 @@ const Pde = yt(Ide), kde = ({ onDismiss: r }) => {
|
|
|
63903
63900
|
}
|
|
63904
63901
|
);
|
|
63905
63902
|
};
|
|
63906
|
-
function
|
|
63903
|
+
function Bde({
|
|
63907
63904
|
icon: r,
|
|
63908
63905
|
title: e,
|
|
63909
63906
|
description: t,
|
|
@@ -63968,14 +63965,14 @@ function Rde({
|
|
|
63968
63965
|
"flex-shrink-0 self-start",
|
|
63969
63966
|
!t && "@xs:self-center"
|
|
63970
63967
|
),
|
|
63971
|
-
children: /* @__PURE__ */ x(
|
|
63968
|
+
children: /* @__PURE__ */ x(Ode, { onDismiss: i })
|
|
63972
63969
|
}
|
|
63973
63970
|
) : null
|
|
63974
63971
|
] })
|
|
63975
63972
|
}
|
|
63976
63973
|
) });
|
|
63977
63974
|
}
|
|
63978
|
-
const
|
|
63975
|
+
const sme = yt(Bde), n5 = Hr(
|
|
63979
63976
|
function({ primaryAction: e, secondaryAction: t, ...n }, i) {
|
|
63980
63977
|
const a = (l) => l.variant === "promote" ? /* @__PURE__ */ x(
|
|
63981
63978
|
Nx,
|
|
@@ -64017,8 +64014,8 @@ const ame = yt(Rde), n5 = Hr(
|
|
|
64017
64014
|
}
|
|
64018
64015
|
);
|
|
64019
64016
|
n5.displayName = "UpsellingBanner";
|
|
64020
|
-
const
|
|
64021
|
-
function
|
|
64017
|
+
const lme = yt(n5);
|
|
64018
|
+
function zde({
|
|
64022
64019
|
isOpen: r,
|
|
64023
64020
|
setIsOpen: e,
|
|
64024
64021
|
label: t,
|
|
@@ -64074,7 +64071,7 @@ function Ode({
|
|
|
64074
64071
|
align: s,
|
|
64075
64072
|
className: "w-fit border-none bg-transparent p-2 shadow-none",
|
|
64076
64073
|
children: /* @__PURE__ */ x(
|
|
64077
|
-
|
|
64074
|
+
Rde,
|
|
64078
64075
|
{
|
|
64079
64076
|
mediaUrl: u,
|
|
64080
64077
|
title: c,
|
|
@@ -64105,7 +64102,7 @@ function Ode({
|
|
|
64105
64102
|
) : null
|
|
64106
64103
|
] });
|
|
64107
64104
|
}
|
|
64108
|
-
const
|
|
64105
|
+
const ume = yt(zde), cme = ({
|
|
64109
64106
|
preview: r,
|
|
64110
64107
|
moduleName: e,
|
|
64111
64108
|
description: t,
|
|
@@ -64150,7 +64147,7 @@ const sme = yt(Ode), lme = ({
|
|
|
64150
64147
|
}
|
|
64151
64148
|
) })
|
|
64152
64149
|
] });
|
|
64153
|
-
},
|
|
64150
|
+
}, Vde = ({ item: r, isExpanded: e, onToggle: t }) => /* @__PURE__ */ B(
|
|
64154
64151
|
"div",
|
|
64155
64152
|
{
|
|
64156
64153
|
className: ne(
|
|
@@ -64197,7 +64194,7 @@ const sme = yt(Ode), lme = ({
|
|
|
64197
64194
|
)
|
|
64198
64195
|
]
|
|
64199
64196
|
}
|
|
64200
|
-
),
|
|
64197
|
+
), fme = ({
|
|
64201
64198
|
headerIcon: r,
|
|
64202
64199
|
items: e,
|
|
64203
64200
|
defaultExpandedId: t,
|
|
@@ -64232,7 +64229,7 @@ const sme = yt(Ode), lme = ({
|
|
|
64232
64229
|
/* @__PURE__ */ x("h3", { className: "text-base font-semibold text-f1-foreground", children: l })
|
|
64233
64230
|
] }),
|
|
64234
64231
|
/* @__PURE__ */ x(su, { className: "flex flex-col divide-y divide-f1-border p-0", children: e.map((p) => /* @__PURE__ */ x(
|
|
64235
|
-
|
|
64232
|
+
Vde,
|
|
64236
64233
|
{
|
|
64237
64234
|
item: p,
|
|
64238
64235
|
isExpanded: h(p.id),
|
|
@@ -64241,7 +64238,7 @@ const sme = yt(Ode), lme = ({
|
|
|
64241
64238
|
p.id
|
|
64242
64239
|
)) })
|
|
64243
64240
|
] });
|
|
64244
|
-
},
|
|
64241
|
+
}, dme = ({
|
|
64245
64242
|
moduleName: r,
|
|
64246
64243
|
description: e,
|
|
64247
64244
|
onAction: t,
|
|
@@ -64286,7 +64283,7 @@ const sme = yt(Ode), lme = ({
|
|
|
64286
64283
|
}
|
|
64287
64284
|
) })
|
|
64288
64285
|
] });
|
|
64289
|
-
},
|
|
64286
|
+
}, hme = ({
|
|
64290
64287
|
onAction: r,
|
|
64291
64288
|
actionHref: e
|
|
64292
64289
|
}) => {
|
|
@@ -64319,7 +64316,7 @@ const sme = yt(Ode), lme = ({
|
|
|
64319
64316
|
}
|
|
64320
64317
|
) })
|
|
64321
64318
|
] });
|
|
64322
|
-
},
|
|
64319
|
+
}, vme = ({
|
|
64323
64320
|
steps: r,
|
|
64324
64321
|
onComplete: e,
|
|
64325
64322
|
onSkip: t,
|
|
@@ -64423,7 +64420,7 @@ const sme = yt(Ode), lme = ({
|
|
|
64423
64420
|
] })
|
|
64424
64421
|
] });
|
|
64425
64422
|
};
|
|
64426
|
-
function
|
|
64423
|
+
function Fde(r) {
|
|
64427
64424
|
return typeof r == "number" ? r : r != null && typeof r == "object" && "value" in r ? r.value : 0;
|
|
64428
64425
|
}
|
|
64429
64426
|
function i5(r) {
|
|
@@ -64442,12 +64439,12 @@ function i5(r) {
|
|
|
64442
64439
|
series: n.map((i) => ({
|
|
64443
64440
|
name: i.name,
|
|
64444
64441
|
data: (i.data ?? []).map(
|
|
64445
|
-
|
|
64442
|
+
Fde
|
|
64446
64443
|
)
|
|
64447
64444
|
}))
|
|
64448
64445
|
};
|
|
64449
64446
|
}
|
|
64450
|
-
function
|
|
64447
|
+
function Gde(r) {
|
|
64451
64448
|
if (Array.isArray(r.series))
|
|
64452
64449
|
return i5(r);
|
|
64453
64450
|
const e = r.series;
|
|
@@ -64456,14 +64453,14 @@ function Vde(r) {
|
|
|
64456
64453
|
series: [{ name: e.name, data: e.data.map((t) => t.value) }]
|
|
64457
64454
|
} : { categories: [], series: [] };
|
|
64458
64455
|
}
|
|
64459
|
-
function
|
|
64456
|
+
function Hde(r) {
|
|
64460
64457
|
const e = r.series;
|
|
64461
64458
|
return e?.data ? {
|
|
64462
64459
|
categories: e.data.map((t) => t.name),
|
|
64463
64460
|
series: [{ name: e.name, data: e.data.map((t) => t.value) }]
|
|
64464
64461
|
} : { categories: [], series: [] };
|
|
64465
64462
|
}
|
|
64466
|
-
function
|
|
64463
|
+
function Wde(r) {
|
|
64467
64464
|
const e = r.indicators ?? [], t = Array.isArray(r.series) ? r.series : [];
|
|
64468
64465
|
return {
|
|
64469
64466
|
categories: e.map(
|
|
@@ -64472,14 +64469,14 @@ function Gde(r) {
|
|
|
64472
64469
|
series: t.map((n) => ({ name: n.name, data: [...n.data] }))
|
|
64473
64470
|
};
|
|
64474
64471
|
}
|
|
64475
|
-
function
|
|
64472
|
+
function $de(r) {
|
|
64476
64473
|
const e = r.series;
|
|
64477
64474
|
return {
|
|
64478
64475
|
categories: [e?.name ?? "Value"],
|
|
64479
64476
|
series: [{ name: "Value", data: [e?.value ?? 0] }]
|
|
64480
64477
|
};
|
|
64481
64478
|
}
|
|
64482
|
-
const
|
|
64479
|
+
const Ude = new Set(
|
|
64483
64480
|
Object.keys({
|
|
64484
64481
|
bar: !0,
|
|
64485
64482
|
line: !0,
|
|
@@ -64492,12 +64489,12 @@ const Wde = new Set(
|
|
|
64492
64489
|
})
|
|
64493
64490
|
);
|
|
64494
64491
|
function gS(r) {
|
|
64495
|
-
return r != null &&
|
|
64492
|
+
return r != null && Ude.has(r.type);
|
|
64496
64493
|
}
|
|
64497
64494
|
function aI(r) {
|
|
64498
64495
|
return Array.isArray(r) ? String(r[0]) : r.label ?? String(r.x);
|
|
64499
64496
|
}
|
|
64500
|
-
function
|
|
64497
|
+
function Yde(r) {
|
|
64501
64498
|
const e = r.scatterSeries ?? [], t = [], n = /* @__PURE__ */ new Set();
|
|
64502
64499
|
for (const i of e)
|
|
64503
64500
|
for (const a of i.data) {
|
|
@@ -64520,7 +64517,7 @@ function $de(r) {
|
|
|
64520
64517
|
})
|
|
64521
64518
|
};
|
|
64522
64519
|
}
|
|
64523
|
-
function
|
|
64520
|
+
function Xde(r) {
|
|
64524
64521
|
const e = r.xCategories ?? [], t = r.yCategories ?? [], n = r.data ?? [];
|
|
64525
64522
|
if (e.length === 0 || t.length === 0)
|
|
64526
64523
|
return { categories: [], series: [] };
|
|
@@ -64542,20 +64539,20 @@ function ax(r, e) {
|
|
|
64542
64539
|
case "line":
|
|
64543
64540
|
return i5(r);
|
|
64544
64541
|
case "funnel":
|
|
64545
|
-
return
|
|
64542
|
+
return Gde(r);
|
|
64546
64543
|
case "pie":
|
|
64547
|
-
return
|
|
64544
|
+
return Hde(r);
|
|
64548
64545
|
case "radar":
|
|
64549
|
-
return
|
|
64546
|
+
return Wde(r);
|
|
64550
64547
|
case "gauge":
|
|
64551
|
-
return
|
|
64548
|
+
return $de(r);
|
|
64552
64549
|
case "heatmap":
|
|
64553
|
-
return
|
|
64550
|
+
return Xde(r);
|
|
64554
64551
|
case "scatter":
|
|
64555
|
-
return
|
|
64552
|
+
return Yde(r);
|
|
64556
64553
|
}
|
|
64557
64554
|
}
|
|
64558
|
-
function
|
|
64555
|
+
function qde(r) {
|
|
64559
64556
|
return {
|
|
64560
64557
|
categories: r.categories,
|
|
64561
64558
|
series: r.series.map((e) => ({
|
|
@@ -64564,7 +64561,7 @@ function Yde(r) {
|
|
|
64564
64561
|
}))
|
|
64565
64562
|
};
|
|
64566
64563
|
}
|
|
64567
|
-
function
|
|
64564
|
+
function Zde(r) {
|
|
64568
64565
|
const e = r.series[0];
|
|
64569
64566
|
return {
|
|
64570
64567
|
series: {
|
|
@@ -64576,7 +64573,7 @@ function Xde(r) {
|
|
|
64576
64573
|
}
|
|
64577
64574
|
};
|
|
64578
64575
|
}
|
|
64579
|
-
function
|
|
64576
|
+
function jde(r) {
|
|
64580
64577
|
const e = r.series[0];
|
|
64581
64578
|
return {
|
|
64582
64579
|
series: {
|
|
@@ -64588,7 +64585,7 @@ function qde(r) {
|
|
|
64588
64585
|
}
|
|
64589
64586
|
};
|
|
64590
64587
|
}
|
|
64591
|
-
function
|
|
64588
|
+
function Kde(r) {
|
|
64592
64589
|
const e = r.categories.map(
|
|
64593
64590
|
(t, n) => Math.max(...r.series.map((i) => i.data[n] ?? 0), 1)
|
|
64594
64591
|
);
|
|
@@ -64608,7 +64605,7 @@ function Zde(r) {
|
|
|
64608
64605
|
)
|
|
64609
64606
|
};
|
|
64610
64607
|
}
|
|
64611
|
-
function
|
|
64608
|
+
function Qde(r) {
|
|
64612
64609
|
return {
|
|
64613
64610
|
scatterSeries: r.series.map((e) => ({
|
|
64614
64611
|
name: e.name,
|
|
@@ -64620,7 +64617,7 @@ function jde(r) {
|
|
|
64620
64617
|
}))
|
|
64621
64618
|
};
|
|
64622
64619
|
}
|
|
64623
|
-
function
|
|
64620
|
+
function Jde(r) {
|
|
64624
64621
|
return {
|
|
64625
64622
|
series: {
|
|
64626
64623
|
value: r.series[0]?.data[0] ?? 0,
|
|
@@ -64633,22 +64630,22 @@ function ox(r, e) {
|
|
|
64633
64630
|
switch (e) {
|
|
64634
64631
|
case "bar":
|
|
64635
64632
|
case "line":
|
|
64636
|
-
return
|
|
64633
|
+
return qde(r);
|
|
64637
64634
|
case "funnel":
|
|
64638
|
-
return
|
|
64635
|
+
return Zde(r);
|
|
64639
64636
|
case "pie":
|
|
64640
|
-
return
|
|
64637
|
+
return jde(r);
|
|
64641
64638
|
case "radar":
|
|
64642
|
-
return Zde(r);
|
|
64643
|
-
case "gauge":
|
|
64644
64639
|
return Kde(r);
|
|
64640
|
+
case "gauge":
|
|
64641
|
+
return Jde(r);
|
|
64645
64642
|
case "heatmap":
|
|
64646
64643
|
return { xCategories: [], yCategories: [], data: [] };
|
|
64647
64644
|
case "scatter":
|
|
64648
|
-
return
|
|
64645
|
+
return Qde(r);
|
|
64649
64646
|
}
|
|
64650
64647
|
}
|
|
64651
|
-
function
|
|
64648
|
+
function ehe(r) {
|
|
64652
64649
|
const e = /* @__PURE__ */ new Set();
|
|
64653
64650
|
switch (e.add("table"), e.add(r), r) {
|
|
64654
64651
|
case "bar":
|
|
@@ -64670,7 +64667,7 @@ function Qde(r) {
|
|
|
64670
64667
|
}
|
|
64671
64668
|
return e;
|
|
64672
64669
|
}
|
|
64673
|
-
function
|
|
64670
|
+
function the(r) {
|
|
64674
64671
|
switch (r) {
|
|
64675
64672
|
case "bar":
|
|
64676
64673
|
return { type: "bar", orientation: "vertical", showLabels: !0 };
|
|
@@ -64690,40 +64687,40 @@ function Jde(r) {
|
|
|
64690
64687
|
return { type: "scatter", scaleAxes: !0 };
|
|
64691
64688
|
}
|
|
64692
64689
|
}
|
|
64693
|
-
function
|
|
64690
|
+
function rhe(r) {
|
|
64694
64691
|
return r == null ? null : typeof r == "number" ? r : typeof r == "object" && "value" in r ? r.value : null;
|
|
64695
64692
|
}
|
|
64696
64693
|
function Ap(r, e) {
|
|
64697
64694
|
switch (r.type) {
|
|
64698
64695
|
case "bar":
|
|
64699
64696
|
case "line":
|
|
64700
|
-
return
|
|
64697
|
+
return nhe(e);
|
|
64701
64698
|
case "funnel":
|
|
64702
|
-
return
|
|
64699
|
+
return ihe(e);
|
|
64703
64700
|
case "pie":
|
|
64704
|
-
return
|
|
64701
|
+
return ahe(e);
|
|
64705
64702
|
case "radar":
|
|
64706
|
-
return
|
|
64703
|
+
return ohe(e);
|
|
64707
64704
|
case "gauge":
|
|
64708
|
-
return
|
|
64705
|
+
return she(e);
|
|
64709
64706
|
case "heatmap":
|
|
64710
|
-
return
|
|
64707
|
+
return lhe(e);
|
|
64711
64708
|
case "scatter":
|
|
64712
|
-
return
|
|
64709
|
+
return uhe(r, e);
|
|
64713
64710
|
}
|
|
64714
64711
|
}
|
|
64715
|
-
function
|
|
64712
|
+
function nhe(r) {
|
|
64716
64713
|
const e = r.categories ?? [], t = r.series, n = Array.isArray(t) ? t : [], a = ["Category", ...n.map((s) => s.name)], o = e.map((s, l) => {
|
|
64717
64714
|
const u = { Category: s };
|
|
64718
64715
|
for (const c of n)
|
|
64719
|
-
u[c.name] =
|
|
64716
|
+
u[c.name] = rhe(
|
|
64720
64717
|
c.data[l]
|
|
64721
64718
|
);
|
|
64722
64719
|
return u;
|
|
64723
64720
|
});
|
|
64724
64721
|
return { columns: a, rows: o };
|
|
64725
64722
|
}
|
|
64726
|
-
function
|
|
64723
|
+
function ihe(r) {
|
|
64727
64724
|
if (Array.isArray(r.series)) {
|
|
64728
64725
|
const i = r.series[0];
|
|
64729
64726
|
if (!i)
|
|
@@ -64742,7 +64739,7 @@ function rhe(r) {
|
|
|
64742
64739
|
);
|
|
64743
64740
|
return { columns: ["Stage", "Value"], rows: t };
|
|
64744
64741
|
}
|
|
64745
|
-
function
|
|
64742
|
+
function ahe(r) {
|
|
64746
64743
|
const t = (r.series?.data ?? []).map(
|
|
64747
64744
|
(n) => ({
|
|
64748
64745
|
Name: n.name,
|
|
@@ -64751,7 +64748,7 @@ function nhe(r) {
|
|
|
64751
64748
|
);
|
|
64752
64749
|
return { columns: ["Name", "Value"], rows: t };
|
|
64753
64750
|
}
|
|
64754
|
-
function
|
|
64751
|
+
function ohe(r) {
|
|
64755
64752
|
const e = r.indicators ?? [], t = r.series, n = Array.isArray(t) ? t : [], a = ["Indicator", ...n.map((s) => s.name)], o = e.map((s, l) => {
|
|
64756
64753
|
const u = {
|
|
64757
64754
|
Indicator: typeof s == "string" ? s : s.name
|
|
@@ -64762,14 +64759,14 @@ function ihe(r) {
|
|
|
64762
64759
|
});
|
|
64763
64760
|
return { columns: a, rows: o };
|
|
64764
64761
|
}
|
|
64765
|
-
function
|
|
64762
|
+
function she(r) {
|
|
64766
64763
|
const e = r.series;
|
|
64767
64764
|
return {
|
|
64768
64765
|
columns: ["Name", "Value"],
|
|
64769
64766
|
rows: [{ Name: e?.name ?? "Value", Value: e?.value ?? 0 }]
|
|
64770
64767
|
};
|
|
64771
64768
|
}
|
|
64772
|
-
function
|
|
64769
|
+
function lhe(r) {
|
|
64773
64770
|
const e = r.xCategories ?? [], t = r.yCategories ?? [], i = (r.data ?? []).map(([a, o, s]) => ({
|
|
64774
64771
|
X: e[a] ?? a,
|
|
64775
64772
|
Y: t[o] ?? o,
|
|
@@ -64777,7 +64774,7 @@ function ohe(r) {
|
|
|
64777
64774
|
}));
|
|
64778
64775
|
return { columns: ["X", "Y", "Value"], rows: i };
|
|
64779
64776
|
}
|
|
64780
|
-
function
|
|
64777
|
+
function uhe(r, e) {
|
|
64781
64778
|
const t = (e.scatterSeries ?? []).flatMap(
|
|
64782
64779
|
(n) => n.data.map((i) => ({
|
|
64783
64780
|
series: n.name,
|
|
@@ -64829,11 +64826,11 @@ function o5(r, e, t, n) {
|
|
|
64829
64826
|
});
|
|
64830
64827
|
yS(s, `${t}.csv`);
|
|
64831
64828
|
}
|
|
64832
|
-
function
|
|
64829
|
+
function che(r, e, t) {
|
|
64833
64830
|
const n = document.createElement("a");
|
|
64834
64831
|
n.href = r, n.download = `${e}.${t}`, n.click();
|
|
64835
64832
|
}
|
|
64836
|
-
function
|
|
64833
|
+
function fhe(r, e) {
|
|
64837
64834
|
const t = Dl.book_new();
|
|
64838
64835
|
for (const a of r) {
|
|
64839
64836
|
const o = a.keys ?? a.columns, s = [
|
|
@@ -64849,11 +64846,11 @@ function uhe(r, e) {
|
|
|
64849
64846
|
});
|
|
64850
64847
|
yS(i, `${e}.xlsx`);
|
|
64851
64848
|
}
|
|
64852
|
-
function
|
|
64849
|
+
function dhe(r) {
|
|
64853
64850
|
const e = r.current?.querySelector(":scope > div");
|
|
64854
64851
|
return e ? IR(e) ?? null : null;
|
|
64855
64852
|
}
|
|
64856
|
-
function
|
|
64853
|
+
function hhe({
|
|
64857
64854
|
chartContainerRef: r,
|
|
64858
64855
|
chartConfig: e,
|
|
64859
64856
|
data: t,
|
|
@@ -64861,7 +64858,7 @@ function fhe({
|
|
|
64861
64858
|
}) {
|
|
64862
64859
|
const { t: i } = Be(), a = pe(
|
|
64863
64860
|
(u) => {
|
|
64864
|
-
const c =
|
|
64861
|
+
const c = dhe(r);
|
|
64865
64862
|
if (!c)
|
|
64866
64863
|
return;
|
|
64867
64864
|
const f = u === "jpg" ? "jpeg" : "png", d = c.getDataURL({
|
|
@@ -64869,7 +64866,7 @@ function fhe({
|
|
|
64869
64866
|
pixelRatio: 2,
|
|
64870
64867
|
...u === "jpg" ? { backgroundColor: "#fff" } : {}
|
|
64871
64868
|
});
|
|
64872
|
-
|
|
64869
|
+
che(d, n, u);
|
|
64873
64870
|
},
|
|
64874
64871
|
[r, n]
|
|
64875
64872
|
), o = _e(() => {
|
|
@@ -65089,13 +65086,13 @@ function oI({
|
|
|
65089
65086
|
)
|
|
65090
65087
|
] });
|
|
65091
65088
|
}
|
|
65092
|
-
const
|
|
65089
|
+
const vhe = "(hover: hover) and (min-width: 640px)", phe = (r) => {
|
|
65093
65090
|
const { whiteSpace: e, display: t } = r.style;
|
|
65094
65091
|
r.style.whiteSpace = "nowrap", r.style.display = "block";
|
|
65095
65092
|
const n = r.scrollWidth;
|
|
65096
65093
|
return r.style.whiteSpace = e, r.style.display = t, n;
|
|
65097
65094
|
};
|
|
65098
|
-
function
|
|
65095
|
+
function ghe({
|
|
65099
65096
|
title: r,
|
|
65100
65097
|
enabled: e,
|
|
65101
65098
|
actionsCollapse: t
|
|
@@ -65105,13 +65102,13 @@ function vhe({
|
|
|
65105
65102
|
const l = n.current;
|
|
65106
65103
|
if (!e || !l)
|
|
65107
65104
|
return;
|
|
65108
|
-
const u = window.matchMedia?.(
|
|
65105
|
+
const u = window.matchMedia?.(vhe), c = () => {
|
|
65109
65106
|
const h = l.querySelector("h3");
|
|
65110
65107
|
if (!h) {
|
|
65111
65108
|
s(!0);
|
|
65112
65109
|
return;
|
|
65113
65110
|
}
|
|
65114
|
-
const v =
|
|
65111
|
+
const v = phe(h), p = t && u?.matches ? 0 : a.current?.getBoundingClientRect().width ?? 0, g = i.current, m = g ? g.getBoundingClientRect().width + 4 : 0, y = l.getBoundingClientRect().width - p - m;
|
|
65115
65112
|
s(v <= y);
|
|
65116
65113
|
};
|
|
65117
65114
|
c();
|
|
@@ -65167,7 +65164,7 @@ function Dg({
|
|
|
65167
65164
|
"-my-2 -mr-0.5 isolate grid flex-shrink-0",
|
|
65168
65165
|
!y && "transition-[grid-template-columns] delay-150 duration-150 focus-within:delay-0 group-hover/dashitem:delay-0 motion-reduce:duration-0 sm:[@media(hover:hover)]:grid-cols-[0fr] focus-within:sm:grid-cols-[1fr] group-hover/dashitem:sm:grid-cols-[1fr]",
|
|
65169
65166
|
Y && "delay-0 !grid-cols-[1fr]"
|
|
65170
|
-
), Z =
|
|
65167
|
+
), Z = ghe({
|
|
65171
65168
|
title: r,
|
|
65172
65169
|
enabled: _ > 2,
|
|
65173
65170
|
actionsCollapse: !y
|
|
@@ -65502,7 +65499,7 @@ function Dg({
|
|
|
65502
65499
|
);
|
|
65503
65500
|
}
|
|
65504
65501
|
const sI = 8, fc = 8;
|
|
65505
|
-
function
|
|
65502
|
+
function mhe({
|
|
65506
65503
|
anchor: r,
|
|
65507
65504
|
onAsk: e,
|
|
65508
65505
|
onDismiss: t,
|
|
@@ -65581,7 +65578,7 @@ function phe({
|
|
|
65581
65578
|
document.body
|
|
65582
65579
|
);
|
|
65583
65580
|
}
|
|
65584
|
-
function
|
|
65581
|
+
function yhe(r) {
|
|
65585
65582
|
return [
|
|
65586
65583
|
{
|
|
65587
65584
|
label: r.dataChart.barChartVertical,
|
|
@@ -65635,14 +65632,14 @@ function tu(r, e, t = "y") {
|
|
|
65635
65632
|
function ld(r, e) {
|
|
65636
65633
|
return e ? `${r} — ${e}` : r;
|
|
65637
65634
|
}
|
|
65638
|
-
function
|
|
65635
|
+
function bhe(r, e, t) {
|
|
65639
65636
|
const n = e.xAxisName ?? "X", i = e.yAxisName ?? "Y", a = t.seriesName ? `${t.seriesName}
|
|
65640
65637
|
` : "";
|
|
65641
65638
|
return `${ld(r, t.category)}
|
|
65642
65639
|
${a}${n}: ${tu(e, t.values[0], "x")}
|
|
65643
65640
|
${i}: ${tu(e, t.values[1])}`;
|
|
65644
65641
|
}
|
|
65645
|
-
function
|
|
65642
|
+
function _he(r, e, t) {
|
|
65646
65643
|
const n = e.categoryFormatter ? e.categoryFormatter(t.category) : t.category, i = t.series.map(
|
|
65647
65644
|
({ name: a, value: o }) => `${a}: ${tu(e, o)}`
|
|
65648
65645
|
);
|
|
@@ -65650,7 +65647,7 @@ function yhe(r, e, t) {
|
|
|
65650
65647
|
${i.join(`
|
|
65651
65648
|
`)}`;
|
|
65652
65649
|
}
|
|
65653
|
-
function
|
|
65650
|
+
function xhe(r, e, t) {
|
|
65654
65651
|
const n = e.indicators.slice(0, t.values.length).map(
|
|
65655
65652
|
({ name: i }, a) => `${i}: ${tu(e, t.values[a])}`
|
|
65656
65653
|
);
|
|
@@ -65658,21 +65655,21 @@ function bhe(r, e, t) {
|
|
|
65658
65655
|
${n.join(`
|
|
65659
65656
|
`)}`;
|
|
65660
65657
|
}
|
|
65661
|
-
function
|
|
65658
|
+
function whe(r, e, t) {
|
|
65662
65659
|
const n = e.xCategories[t.values[0]], a = [e.yCategories[t.values[1]], n].filter(Boolean).join(" — ");
|
|
65663
65660
|
return `${ld(r, a)}
|
|
65664
65661
|
${tu(e, t.value)}`;
|
|
65665
65662
|
}
|
|
65666
|
-
function
|
|
65663
|
+
function She(r, e, t) {
|
|
65667
65664
|
const n = "categoryFormatter" in e && e.categoryFormatter ? e.categoryFormatter(t.category) : t.category, i = t.seriesName ? `${t.seriesName}: ` : "";
|
|
65668
65665
|
return `${ld(r, n)}
|
|
65669
65666
|
${i}${tu(e, t.value)}`;
|
|
65670
65667
|
}
|
|
65671
|
-
function
|
|
65672
|
-
return e.type === "scatter" && t.values.length >= 2 ?
|
|
65668
|
+
function Che(r, e, t) {
|
|
65669
|
+
return e.type === "scatter" && t.values.length >= 2 ? bhe(r, e, t) : e.type === "line" && t.series.length > 1 ? _he(r, e, t) : e.type === "radar" && e.indicators.length && t.values.length > 1 ? xhe(r, e, t) : e.type === "heatmap" && t.values.length >= 3 ? whe(r, e, t) : She(r, e, t);
|
|
65673
65670
|
}
|
|
65674
|
-
const
|
|
65675
|
-
function
|
|
65671
|
+
const The = { type: "bar" };
|
|
65672
|
+
function Dhe(r) {
|
|
65676
65673
|
switch (r.type) {
|
|
65677
65674
|
case "bar":
|
|
65678
65675
|
return /* @__PURE__ */ x(
|
|
@@ -65723,11 +65720,11 @@ function Che(r) {
|
|
|
65723
65720
|
function sx(r) {
|
|
65724
65721
|
return r.referenceLines ? { referenceLines: r.referenceLines } : {};
|
|
65725
65722
|
}
|
|
65726
|
-
function
|
|
65723
|
+
function Ahe(r, e, t, n) {
|
|
65727
65724
|
const i = r.chart.type, a = sd(e, i);
|
|
65728
65725
|
if (i === a && i === r.chart.type)
|
|
65729
|
-
return
|
|
65730
|
-
const o = ax(e), s = ox(o, i), l =
|
|
65726
|
+
return Mhe(r, e);
|
|
65727
|
+
const o = ax(e), s = ox(o, i), l = the(i), u = {};
|
|
65731
65728
|
switch ("valueFormatter" in r.chart && r.chart.valueFormatter && (u.valueFormatter = r.chart.valueFormatter), "tooltipValueFormatter" in r.chart && r.chart.tooltipValueFormatter && (u.tooltipValueFormatter = r.chart.tooltipValueFormatter), "showLegend" in r.chart && (u.showLegend = r.chart.showLegend), i === "bar" && "showLabels" in r.chart && r.chart.showLabels !== void 0 && (u.showLabels = r.chart.showLabels), i) {
|
|
65732
65729
|
case "bar": {
|
|
65733
65730
|
const c = ("orientation" in r.chart ? r.chart.orientation : void 0) ?? l.orientation;
|
|
@@ -65784,7 +65781,7 @@ function The(r, e, t, n) {
|
|
|
65784
65781
|
};
|
|
65785
65782
|
}
|
|
65786
65783
|
}
|
|
65787
|
-
function
|
|
65784
|
+
function Mhe(r, e) {
|
|
65788
65785
|
const { chart: t } = r;
|
|
65789
65786
|
switch (t.type) {
|
|
65790
65787
|
case "funnel": {
|
|
@@ -65840,7 +65837,7 @@ function Dhe(r, e) {
|
|
|
65840
65837
|
}
|
|
65841
65838
|
}
|
|
65842
65839
|
}
|
|
65843
|
-
function
|
|
65840
|
+
function Ehe({
|
|
65844
65841
|
config: r,
|
|
65845
65842
|
data: e
|
|
65846
65843
|
}) {
|
|
@@ -65886,7 +65883,7 @@ function Ahe({
|
|
|
65886
65883
|
function lx(r) {
|
|
65887
65884
|
return gS(r.chart) && r.chart.type === "bar" && "orientation" in r.chart && r.chart.orientation === "horizontal";
|
|
65888
65885
|
}
|
|
65889
|
-
function
|
|
65886
|
+
function Lhe({
|
|
65890
65887
|
item: r,
|
|
65891
65888
|
filters: e,
|
|
65892
65889
|
actions: t,
|
|
@@ -65905,8 +65902,8 @@ function Mhe({
|
|
|
65905
65902
|
setPendingQuote: g,
|
|
65906
65903
|
setOpen: m,
|
|
65907
65904
|
focusChatInput: y
|
|
65908
|
-
} = t2(), b = !gS(r.chart), _ = b ?
|
|
65909
|
-
() => D && !b ?
|
|
65905
|
+
} = t2(), b = !gS(r.chart), _ = b ? The : r.chart, [w, S] = he(null), C = r.useDashboardFilters !== !1, T = JSON.stringify(n?.value ?? {}), { data: D, isLoading: A, error: M, retry: I } = s5(r.fetchData, e, C, T), E = fe(null), N = _e(
|
|
65906
|
+
() => D && !b ? Ahe(r, D) : void 0,
|
|
65910
65907
|
[r, D, b]
|
|
65911
65908
|
);
|
|
65912
65909
|
Te(() => {
|
|
@@ -65925,7 +65922,7 @@ function Mhe({
|
|
|
65925
65922
|
if (!N)
|
|
65926
65923
|
return;
|
|
65927
65924
|
const xe = {
|
|
65928
|
-
text:
|
|
65925
|
+
text: Che(r.title, N, oe)
|
|
65929
65926
|
};
|
|
65930
65927
|
l?.({ id: r.id, title: r.title, point: oe, quote: xe }), g(xe), c && f?.(!1), m(!0), y(), S(null);
|
|
65931
65928
|
},
|
|
@@ -65941,9 +65938,9 @@ function Mhe({
|
|
|
65941
65938
|
y
|
|
65942
65939
|
]
|
|
65943
65940
|
), R = _e(
|
|
65944
|
-
() =>
|
|
65941
|
+
() => yhe(d),
|
|
65945
65942
|
[d]
|
|
65946
|
-
), z =
|
|
65943
|
+
), z = hhe({
|
|
65947
65944
|
chartContainerRef: E,
|
|
65948
65945
|
chartConfig: _,
|
|
65949
65946
|
data: D,
|
|
@@ -65952,7 +65949,7 @@ function Mhe({
|
|
|
65952
65949
|
() => [...t ?? [], ...z],
|
|
65953
65950
|
[t, z]
|
|
65954
65951
|
), G = pe(() => S(null), []), H = _.type === "bar" ? "orientation" in _ ? _.orientation ?? "vertical" : "vertical" : void 0, $ = D ? sd(D, _.type) : _.type, q = _e(
|
|
65955
|
-
() =>
|
|
65952
|
+
() => ehe($),
|
|
65956
65953
|
[$]
|
|
65957
65954
|
), ie = D && Array.isArray(D.series) ? D.series.length : 1, te = R.filter((oe) => {
|
|
65958
65955
|
const xe = oe.type === "bar" ? "bar" : oe.type;
|
|
@@ -65994,7 +65991,7 @@ function Mhe({
|
|
|
65994
65991
|
// that distinguishes this from a fetch failure.
|
|
65995
65992
|
(b ? new Error() : void 0),
|
|
65996
65993
|
onRetry: b ? void 0 : I,
|
|
65997
|
-
skeleton:
|
|
65994
|
+
skeleton: Dhe(_),
|
|
65998
65995
|
actions: V,
|
|
65999
65996
|
itemFilters: n,
|
|
66000
65997
|
editMode: i,
|
|
@@ -66007,7 +66004,7 @@ function Mhe({
|
|
|
66007
66004
|
isFullscreen: c,
|
|
66008
66005
|
fitContent: Y,
|
|
66009
66006
|
onFullscreenChange: f,
|
|
66010
|
-
children: D && N ? h === "table" ? /* @__PURE__ */ x(
|
|
66007
|
+
children: D && N ? h === "table" ? /* @__PURE__ */ x(Ehe, { config: _, data: D }) : /* @__PURE__ */ B(
|
|
66011
66008
|
"div",
|
|
66012
66009
|
{
|
|
66013
66010
|
ref: E,
|
|
@@ -66034,7 +66031,7 @@ function Mhe({
|
|
|
66034
66031
|
}
|
|
66035
66032
|
),
|
|
66036
66033
|
/* @__PURE__ */ x(
|
|
66037
|
-
|
|
66034
|
+
mhe,
|
|
66038
66035
|
{
|
|
66039
66036
|
anchor: w,
|
|
66040
66037
|
onAsk: () => {
|
|
@@ -66054,7 +66051,7 @@ const dc = 1e4, lI = 100;
|
|
|
66054
66051
|
async function m0(r) {
|
|
66055
66052
|
return r;
|
|
66056
66053
|
}
|
|
66057
|
-
async function
|
|
66054
|
+
async function Nhe(r) {
|
|
66058
66055
|
const { dataAdapter: e } = r, t = [
|
|
66059
66056
|
...r.currentSortings ? [
|
|
66060
66057
|
{
|
|
@@ -66112,7 +66109,7 @@ async function Ehe(r) {
|
|
|
66112
66109
|
}
|
|
66113
66110
|
return a.slice(0, dc);
|
|
66114
66111
|
}
|
|
66115
|
-
function
|
|
66112
|
+
function Ihe(r, e) {
|
|
66116
66113
|
const t = new Set(e?.hidden ?? []), n = r.filter((s) => !t.has(s.id)), i = e?.order;
|
|
66117
66114
|
if (!i || i.length === 0)
|
|
66118
66115
|
return n;
|
|
@@ -66125,7 +66122,7 @@ function Lhe(r, e) {
|
|
|
66125
66122
|
a.has(s.id) && o.push(s);
|
|
66126
66123
|
return o;
|
|
66127
66124
|
}
|
|
66128
|
-
function
|
|
66125
|
+
function Phe({
|
|
66129
66126
|
source: r,
|
|
66130
66127
|
title: e,
|
|
66131
66128
|
columns: t,
|
|
@@ -66136,7 +66133,7 @@ function Nhe({
|
|
|
66136
66133
|
if (!(!r || a)) {
|
|
66137
66134
|
o(!0);
|
|
66138
66135
|
try {
|
|
66139
|
-
const f = await
|
|
66136
|
+
const f = await Nhe(r), d = Ihe(t, n);
|
|
66140
66137
|
if (d.length === 0 || f.length === 0)
|
|
66141
66138
|
return;
|
|
66142
66139
|
const h = d.map((g) => g.label), v = d.map((g) => g.id), p = f.map((g) => {
|
|
@@ -66166,7 +66163,7 @@ function Nhe({
|
|
|
66166
66163
|
}
|
|
66167
66164
|
] : [], [r, i, l, u]);
|
|
66168
66165
|
}
|
|
66169
|
-
function
|
|
66166
|
+
function khe({
|
|
66170
66167
|
item: r,
|
|
66171
66168
|
filters: e,
|
|
66172
66169
|
actions: t,
|
|
@@ -66190,7 +66187,7 @@ function Ihe({
|
|
|
66190
66187
|
(C) => C?.type === "table"
|
|
66191
66188
|
)?.options?.columns ?? []).filter(
|
|
66192
66189
|
(C) => typeof C?.id == "string" && typeof C?.label == "string"
|
|
66193
|
-
).map((C) => ({ id: C.id, label: C.label, render: C.render })), [r]), _ =
|
|
66190
|
+
).map((C) => ({ id: C.id, label: C.label, render: C.render })), [r]), _ = Phe({
|
|
66194
66191
|
source: g,
|
|
66195
66192
|
title: r.title,
|
|
66196
66193
|
columns: b,
|
|
@@ -66235,13 +66232,13 @@ function Ihe({
|
|
|
66235
66232
|
}
|
|
66236
66233
|
);
|
|
66237
66234
|
}
|
|
66238
|
-
function
|
|
66235
|
+
function Rhe() {
|
|
66239
66236
|
return /* @__PURE__ */ B("div", { className: "flex h-full items-end gap-3 px-4 pb-4", children: [
|
|
66240
66237
|
/* @__PURE__ */ x(ae, { className: "h-10 w-36 rounded" }),
|
|
66241
66238
|
/* @__PURE__ */ x(ae, { className: "h-4 w-16 rounded" })
|
|
66242
66239
|
] });
|
|
66243
66240
|
}
|
|
66244
|
-
function
|
|
66241
|
+
function Ohe(r, e = { type: "number" }, t = 0) {
|
|
66245
66242
|
switch (e.type) {
|
|
66246
66243
|
case "currency":
|
|
66247
66244
|
return new Intl.NumberFormat(void 0, {
|
|
@@ -66270,13 +66267,13 @@ function khe(r, e = { type: "number" }, t = 0) {
|
|
|
66270
66267
|
}).format(r);
|
|
66271
66268
|
}
|
|
66272
66269
|
}
|
|
66273
|
-
function
|
|
66270
|
+
function Bhe(r, e) {
|
|
66274
66271
|
if (e === void 0 || e === 0)
|
|
66275
66272
|
return;
|
|
66276
66273
|
const t = (r - e) / Math.abs(e) * 100, n = t > 0.5 ? "up" : t < -0.5 ? "down" : "flat";
|
|
66277
66274
|
return { percent: Math.abs(t), direction: n };
|
|
66278
66275
|
}
|
|
66279
|
-
function
|
|
66276
|
+
function zhe({
|
|
66280
66277
|
value: r,
|
|
66281
66278
|
trend: e,
|
|
66282
66279
|
comparison: t
|
|
@@ -66383,7 +66380,7 @@ function Ohe({
|
|
|
66383
66380
|
}
|
|
66384
66381
|
);
|
|
66385
66382
|
}
|
|
66386
|
-
function
|
|
66383
|
+
function Vhe({
|
|
66387
66384
|
item: r,
|
|
66388
66385
|
filters: e,
|
|
66389
66386
|
actions: t,
|
|
@@ -66394,7 +66391,7 @@ function Bhe({
|
|
|
66394
66391
|
onAskAi: s,
|
|
66395
66392
|
onAskAiTarget: l
|
|
66396
66393
|
}) {
|
|
66397
|
-
const u = r.useDashboardFilters !== !1, c = JSON.stringify(n?.value ?? {}), { data: f, isLoading: d, error: h, retry: v } = s5(r.fetchData, e, u, c), p = f ?
|
|
66394
|
+
const u = r.useDashboardFilters !== !1, c = JSON.stringify(n?.value ?? {}), { data: f, isLoading: d, error: h, retry: v } = s5(r.fetchData, e, u, c), p = f ? Bhe(f.value, f.previousValue) : void 0, g = (m) => r.valueFormatter ? r.valueFormatter(m) : Ohe(m, r.format, r.decimals);
|
|
66398
66395
|
return /* @__PURE__ */ x(
|
|
66399
66396
|
Dg,
|
|
66400
66397
|
{
|
|
@@ -66406,7 +66403,7 @@ function Bhe({
|
|
|
66406
66403
|
isLoading: d,
|
|
66407
66404
|
error: h,
|
|
66408
66405
|
onRetry: v,
|
|
66409
|
-
skeleton: /* @__PURE__ */ x(
|
|
66406
|
+
skeleton: /* @__PURE__ */ x(Rhe, {}),
|
|
66410
66407
|
actions: t,
|
|
66411
66408
|
itemFilters: n,
|
|
66412
66409
|
editMode: i,
|
|
@@ -66416,7 +66413,7 @@ function Bhe({
|
|
|
66416
66413
|
onAskAiTarget: l,
|
|
66417
66414
|
itemId: r.id,
|
|
66418
66415
|
children: f ? /* @__PURE__ */ x(
|
|
66419
|
-
|
|
66416
|
+
zhe,
|
|
66420
66417
|
{
|
|
66421
66418
|
value: g(f.value),
|
|
66422
66419
|
trend: p,
|
|
@@ -66430,16 +66427,16 @@ function Bhe({
|
|
|
66430
66427
|
}
|
|
66431
66428
|
);
|
|
66432
66429
|
}
|
|
66433
|
-
const uI = 12, bS = 4,
|
|
66430
|
+
const uI = 12, bS = 4, Fhe = 640, Ghe = 4, Hhe = {
|
|
66434
66431
|
chart: 336,
|
|
66435
66432
|
metric: 144,
|
|
66436
66433
|
collection: 480
|
|
66437
|
-
}, l5 = 336,
|
|
66434
|
+
}, l5 = 336, Whe = {
|
|
66438
66435
|
chart: 240,
|
|
66439
66436
|
metric: 120,
|
|
66440
66437
|
collection: 300
|
|
66441
66438
|
}, cI = 120;
|
|
66442
|
-
function
|
|
66439
|
+
function $he({
|
|
66443
66440
|
items: r,
|
|
66444
66441
|
itemFilters: e,
|
|
66445
66442
|
filters: t,
|
|
@@ -66475,7 +66472,7 @@ function Hhe({
|
|
|
66475
66472
|
return;
|
|
66476
66473
|
const se = new ResizeObserver((j) => {
|
|
66477
66474
|
for (const Y of j)
|
|
66478
|
-
h(Y.contentRect.width <
|
|
66475
|
+
h(Y.contentRect.width < Fhe);
|
|
66479
66476
|
});
|
|
66480
66477
|
return se.observe(te), () => se.disconnect();
|
|
66481
66478
|
}, []), Te(() => {
|
|
@@ -66561,7 +66558,7 @@ function Hhe({
|
|
|
66561
66558
|
[w]
|
|
66562
66559
|
), V = pe(
|
|
66563
66560
|
(te, se) => {
|
|
66564
|
-
if (
|
|
66561
|
+
if (Yhe(O.current, te, se))
|
|
66565
66562
|
return null;
|
|
66566
66563
|
const j = f.current ? Array.from(
|
|
66567
66564
|
f.current.querySelectorAll(
|
|
@@ -66570,7 +66567,7 @@ function Hhe({
|
|
|
66570
66567
|
) : [], Y = I.current;
|
|
66571
66568
|
if (j.length === 0 || j.length !== Y.length)
|
|
66572
66569
|
return null;
|
|
66573
|
-
const re = j.map((xe) => xe.getBoundingClientRect()), U =
|
|
66570
|
+
const re = j.map((xe) => xe.getBoundingClientRect()), U = Xhe(re, se), Z = re[U], J = Y[U], de = N.current, Se = de ? J.ids.includes(de) : !1, Le = Z.height / 3;
|
|
66574
66571
|
if (se < Z.top + Le)
|
|
66575
66572
|
return { type: "new-row", afterRowIdx: U - 1 };
|
|
66576
66573
|
if (se > Z.bottom - Le)
|
|
@@ -66579,7 +66576,7 @@ function Hhe({
|
|
|
66579
66576
|
return null;
|
|
66580
66577
|
if (J.ids.length >= bS && !Se)
|
|
66581
66578
|
return { type: "new-row", afterRowIdx: U };
|
|
66582
|
-
const Ze = j[U].querySelectorAll("[data-card-id]"), oe =
|
|
66579
|
+
const Ze = j[U].querySelectorAll("[data-card-id]"), oe = qhe(Ze, te, J.ids.length);
|
|
66583
66580
|
return { type: "into-row", rowIdx: U, position: oe };
|
|
66584
66581
|
},
|
|
66585
66582
|
[]
|
|
@@ -66593,7 +66590,7 @@ function Hhe({
|
|
|
66593
66590
|
N.current = te, k.current = null, M(null);
|
|
66594
66591
|
const U = (Se) => {
|
|
66595
66592
|
if (!re) {
|
|
66596
|
-
if (Math.hypot(Se.clientX - j, Se.clientY - Y) <
|
|
66593
|
+
if (Math.hypot(Se.clientX - j, Se.clientY - Y) < Ghe)
|
|
66597
66594
|
return;
|
|
66598
66595
|
re = !0, D(te), O.current = Array.from(
|
|
66599
66596
|
document.querySelectorAll("[data-ai-chat-dropzone]")
|
|
@@ -66730,7 +66727,7 @@ function Hhe({
|
|
|
66730
66727
|
return null;
|
|
66731
66728
|
const J = T === re, de = j && A?.type === "into-row" && A.position === U, Se = j && A?.type === "into-row" && A.position === te.ids.length && U === te.ids.length - 1;
|
|
66732
66729
|
return /* @__PURE__ */ x(
|
|
66733
|
-
|
|
66730
|
+
Uhe,
|
|
66734
66731
|
{
|
|
66735
66732
|
id: re,
|
|
66736
66733
|
isDragging: J,
|
|
@@ -66778,7 +66775,7 @@ function Hhe({
|
|
|
66778
66775
|
se,
|
|
66779
66776
|
re.clientY,
|
|
66780
66777
|
Z,
|
|
66781
|
-
|
|
66778
|
+
Khe(U, J)
|
|
66782
66779
|
);
|
|
66783
66780
|
},
|
|
66784
66781
|
children: /* @__PURE__ */ x("div", { className: "h-1 w-16 rounded-full bg-transparent transition-colors group-hover/resize:bg-f1-foreground-tertiary" })
|
|
@@ -66798,7 +66795,7 @@ function Hhe({
|
|
|
66798
66795
|
) : null
|
|
66799
66796
|
] });
|
|
66800
66797
|
}
|
|
66801
|
-
function
|
|
66798
|
+
function Uhe({
|
|
66802
66799
|
id: r,
|
|
66803
66800
|
isDragging: e,
|
|
66804
66801
|
showIndicatorBefore: t,
|
|
@@ -66891,7 +66888,7 @@ function dI({ active: r }) {
|
|
|
66891
66888
|
}
|
|
66892
66889
|
);
|
|
66893
66890
|
}
|
|
66894
|
-
function
|
|
66891
|
+
function Yhe(r, e, t) {
|
|
66895
66892
|
for (const n of r) {
|
|
66896
66893
|
const i = n.getBoundingClientRect();
|
|
66897
66894
|
if (e >= i.left && e <= i.right && t >= i.top && t <= i.bottom)
|
|
@@ -66899,13 +66896,13 @@ function $he(r, e, t) {
|
|
|
66899
66896
|
}
|
|
66900
66897
|
return !1;
|
|
66901
66898
|
}
|
|
66902
|
-
function
|
|
66899
|
+
function Xhe(r, e) {
|
|
66903
66900
|
for (let t = 0; t < r.length - 1; t++)
|
|
66904
66901
|
if (e < (r[t].bottom + r[t + 1].top) / 2)
|
|
66905
66902
|
return t;
|
|
66906
66903
|
return r.length - 1;
|
|
66907
66904
|
}
|
|
66908
|
-
function
|
|
66905
|
+
function qhe(r, e, t) {
|
|
66909
66906
|
for (let n = 0; n < r.length; n++) {
|
|
66910
66907
|
const i = r[n].getBoundingClientRect();
|
|
66911
66908
|
if (e < i.left + i.width / 2)
|
|
@@ -66914,7 +66911,7 @@ function Yhe(r, e, t) {
|
|
|
66914
66911
|
return t;
|
|
66915
66912
|
}
|
|
66916
66913
|
function y0(r) {
|
|
66917
|
-
return r.some((t) => t.y !== void 0) ?
|
|
66914
|
+
return r.some((t) => t.y !== void 0) ? Zhe(r) : jhe(r);
|
|
66918
66915
|
}
|
|
66919
66916
|
function hI(r) {
|
|
66920
66917
|
return JSON.stringify(
|
|
@@ -66929,7 +66926,7 @@ function hI(r) {
|
|
|
66929
66926
|
])
|
|
66930
66927
|
);
|
|
66931
66928
|
}
|
|
66932
|
-
function
|
|
66929
|
+
function Zhe(r) {
|
|
66933
66930
|
const e = [...r].sort(
|
|
66934
66931
|
(n, i) => (n.y ?? 0) - (i.y ?? 0) || (n.x ?? 0) - (i.x ?? 0)
|
|
66935
66932
|
), t = /* @__PURE__ */ new Map();
|
|
@@ -66940,11 +66937,11 @@ function Xhe(r) {
|
|
|
66940
66937
|
}
|
|
66941
66938
|
return [...t.entries()].sort(([n], [i]) => n - i).map(([, n]) => ({ ids: n.ids, height: n.maxHeight }));
|
|
66942
66939
|
}
|
|
66943
|
-
function
|
|
66940
|
+
function jhe(r) {
|
|
66944
66941
|
const e = [];
|
|
66945
66942
|
let t = [], n = 0, i = 0;
|
|
66946
66943
|
for (const a of r) {
|
|
66947
|
-
const o =
|
|
66944
|
+
const o = Qhe(a), s = _S(a);
|
|
66948
66945
|
n + o > bS && t.length > 0 && (e.push({ ids: t, height: i }), t = [], n = 0, i = 0), t.push(a.id), n += o, s > i && (i = s);
|
|
66949
66946
|
}
|
|
66950
66947
|
return t.length > 0 && e.push({ ids: t, height: i }), e;
|
|
@@ -66955,12 +66952,12 @@ function vI(r, e) {
|
|
|
66955
66952
|
const i = e.get(n);
|
|
66956
66953
|
if (!i)
|
|
66957
66954
|
continue;
|
|
66958
|
-
const a =
|
|
66955
|
+
const a = Whe[i.type] ?? cI;
|
|
66959
66956
|
a > t && (t = a);
|
|
66960
66957
|
}
|
|
66961
66958
|
return t;
|
|
66962
66959
|
}
|
|
66963
|
-
function
|
|
66960
|
+
function Khe(r, e) {
|
|
66964
66961
|
if (!r || e.size === 0)
|
|
66965
66962
|
return 0;
|
|
66966
66963
|
const t = r.style.height, n = r.style.minHeight, i = () => {
|
|
@@ -66979,11 +66976,11 @@ function Zhe(r, e) {
|
|
|
66979
66976
|
const o = Math.max(a, i());
|
|
66980
66977
|
return r.style.height = t, r.style.minHeight = n, o;
|
|
66981
66978
|
}
|
|
66982
|
-
function
|
|
66979
|
+
function Qhe(r) {
|
|
66983
66980
|
return r.type === "metric" ? 1 : r.type === "chart" ? 2 : r.type === "collection" ? bS : 2;
|
|
66984
66981
|
}
|
|
66985
66982
|
function _S(r) {
|
|
66986
|
-
return r.itemHeight && r.itemHeight > 0 ? r.itemHeight : r.rowSpan ? r.rowSpan * 48 :
|
|
66983
|
+
return r.itemHeight && r.itemHeight > 0 ? r.itemHeight : r.rowSpan ? r.rowSpan * 48 : Hhe[r.type] ?? l5;
|
|
66987
66984
|
}
|
|
66988
66985
|
function b0({
|
|
66989
66986
|
item: r,
|
|
@@ -67002,7 +66999,7 @@ function b0({
|
|
|
67002
66999
|
switch (r.type) {
|
|
67003
67000
|
case "chart":
|
|
67004
67001
|
return /* @__PURE__ */ x(
|
|
67005
|
-
|
|
67002
|
+
Lhe,
|
|
67006
67003
|
{
|
|
67007
67004
|
item: r,
|
|
67008
67005
|
filters: e,
|
|
@@ -67020,7 +67017,7 @@ function b0({
|
|
|
67020
67017
|
);
|
|
67021
67018
|
case "metric":
|
|
67022
67019
|
return /* @__PURE__ */ x(
|
|
67023
|
-
|
|
67020
|
+
Vhe,
|
|
67024
67021
|
{
|
|
67025
67022
|
item: r,
|
|
67026
67023
|
filters: e,
|
|
@@ -67037,7 +67034,7 @@ function b0({
|
|
|
67037
67034
|
);
|
|
67038
67035
|
case "collection":
|
|
67039
67036
|
return /* @__PURE__ */ x(
|
|
67040
|
-
|
|
67037
|
+
khe,
|
|
67041
67038
|
{
|
|
67042
67039
|
item: r,
|
|
67043
67040
|
filters: e,
|
|
@@ -67068,7 +67065,7 @@ function b0({
|
|
|
67068
67065
|
}
|
|
67069
67066
|
}
|
|
67070
67067
|
}
|
|
67071
|
-
function
|
|
67068
|
+
function Jhe({
|
|
67072
67069
|
onExportExcel: r,
|
|
67073
67070
|
isExporting: e
|
|
67074
67071
|
}) {
|
|
@@ -67095,7 +67092,7 @@ function u5(r) {
|
|
|
67095
67092
|
return /* @__PURE__ */ x(eH.Provider, { value: "controlled", children: /* @__PURE__ */ x(tH, { ...r }) });
|
|
67096
67093
|
}
|
|
67097
67094
|
u5.displayName = "ControlledOneFilterPicker";
|
|
67098
|
-
function
|
|
67095
|
+
function eve({
|
|
67099
67096
|
filters: r,
|
|
67100
67097
|
value: e,
|
|
67101
67098
|
presets: t,
|
|
@@ -67116,7 +67113,7 @@ function Qhe({
|
|
|
67116
67113
|
}
|
|
67117
67114
|
);
|
|
67118
67115
|
}
|
|
67119
|
-
function
|
|
67116
|
+
function tve() {
|
|
67120
67117
|
return /* @__PURE__ */ B(
|
|
67121
67118
|
"div",
|
|
67122
67119
|
{
|
|
@@ -67131,7 +67128,7 @@ function Jhe() {
|
|
|
67131
67128
|
}
|
|
67132
67129
|
);
|
|
67133
67130
|
}
|
|
67134
|
-
function
|
|
67131
|
+
function rve(r) {
|
|
67135
67132
|
if (r.length === 0)
|
|
67136
67133
|
return [];
|
|
67137
67134
|
const e = r[0];
|
|
@@ -67142,7 +67139,7 @@ function eve(r) {
|
|
|
67142
67139
|
function ux(r, e) {
|
|
67143
67140
|
return r.useDashboardFilters === !1 ? {} : e;
|
|
67144
67141
|
}
|
|
67145
|
-
async function
|
|
67142
|
+
async function nve(r, e) {
|
|
67146
67143
|
if (r.length === 0)
|
|
67147
67144
|
return null;
|
|
67148
67145
|
const t = await Promise.all(
|
|
@@ -67172,10 +67169,10 @@ async function tve(r, e) {
|
|
|
67172
67169
|
}
|
|
67173
67170
|
return n.length === 0 ? null : { name: "Metrics", columns: i ? ["Metric", "Value", "Previous Value"] : ["Metric", "Value"], rows: n };
|
|
67174
67171
|
}
|
|
67175
|
-
async function
|
|
67172
|
+
async function ive(r, e) {
|
|
67176
67173
|
const t = [], n = r.filter(
|
|
67177
67174
|
(l) => l.type === "metric"
|
|
67178
|
-
), i = await
|
|
67175
|
+
), i = await nve(n, e);
|
|
67179
67176
|
i && t.push(i);
|
|
67180
67177
|
const o = r.filter((l) => l.type !== "metric").map(
|
|
67181
67178
|
async (l) => {
|
|
@@ -67210,7 +67207,7 @@ async function rve(r, e) {
|
|
|
67210
67207
|
}), f = "records" in c ? c.records : c;
|
|
67211
67208
|
if (f.length === 0)
|
|
67212
67209
|
return null;
|
|
67213
|
-
const d =
|
|
67210
|
+
const d = rve(f);
|
|
67214
67211
|
return { name: l.title, columns: d, rows: f };
|
|
67215
67212
|
} catch (u) {
|
|
67216
67213
|
return console.warn(
|
|
@@ -67225,7 +67222,7 @@ async function rve(r, e) {
|
|
|
67225
67222
|
l && t.push(l);
|
|
67226
67223
|
return t;
|
|
67227
67224
|
}
|
|
67228
|
-
function
|
|
67225
|
+
function ave({
|
|
67229
67226
|
items: r,
|
|
67230
67227
|
filters: e,
|
|
67231
67228
|
filename: t = "dashboard"
|
|
@@ -67238,8 +67235,8 @@ function nve({
|
|
|
67238
67235
|
return s.current = t, { exportAsExcel: pe(async () => {
|
|
67239
67236
|
i(!0);
|
|
67240
67237
|
try {
|
|
67241
|
-
const u = await
|
|
67242
|
-
u.length > 0 &&
|
|
67238
|
+
const u = await ive(a.current, o.current);
|
|
67239
|
+
u.length > 0 && fhe(u, s.current);
|
|
67243
67240
|
} finally {
|
|
67244
67241
|
i(!1);
|
|
67245
67242
|
}
|
|
@@ -67281,7 +67278,7 @@ const c5 = ({
|
|
|
67281
67278
|
return P;
|
|
67282
67279
|
}, []), [C, T] = he(
|
|
67283
67280
|
S
|
|
67284
|
-
), { exportAsExcel: D, isExporting: A } =
|
|
67281
|
+
), { exportAsExcel: D, isExporting: A } = ave({
|
|
67285
67282
|
items: a,
|
|
67286
67283
|
filters: _,
|
|
67287
67284
|
filename: f
|
|
@@ -67301,7 +67298,7 @@ const c5 = ({
|
|
|
67301
67298
|
children: [
|
|
67302
67299
|
r || y || c || m ? /* @__PURE__ */ B("div", { className: "flex items-center justify-between gap-4 px-5", children: [
|
|
67303
67300
|
/* @__PURE__ */ x("div", { className: "w-full", children: r ? /* @__PURE__ */ x(
|
|
67304
|
-
|
|
67301
|
+
eve,
|
|
67305
67302
|
{
|
|
67306
67303
|
filters: r,
|
|
67307
67304
|
value: _,
|
|
@@ -67309,7 +67306,7 @@ const c5 = ({
|
|
|
67309
67306
|
onChange: w,
|
|
67310
67307
|
disabled: l
|
|
67311
67308
|
}
|
|
67312
|
-
) : y ? /* @__PURE__ */ x(
|
|
67309
|
+
) : y ? /* @__PURE__ */ x(tve, {}) : null }),
|
|
67313
67310
|
/* @__PURE__ */ B("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
67314
67311
|
m ? /* @__PURE__ */ x(
|
|
67315
67312
|
t3,
|
|
@@ -67321,7 +67318,7 @@ const c5 = ({
|
|
|
67321
67318
|
}
|
|
67322
67319
|
) : null,
|
|
67323
67320
|
c ? /* @__PURE__ */ x(
|
|
67324
|
-
|
|
67321
|
+
Jhe,
|
|
67325
67322
|
{
|
|
67326
67323
|
onExportExcel: D,
|
|
67327
67324
|
isExporting: A
|
|
@@ -67337,7 +67334,7 @@ const c5 = ({
|
|
|
67337
67334
|
k && "flex min-h-0 flex-1 flex-col pb-5"
|
|
67338
67335
|
),
|
|
67339
67336
|
children: /* @__PURE__ */ x(
|
|
67340
|
-
|
|
67337
|
+
$he,
|
|
67341
67338
|
{
|
|
67342
67339
|
items: a,
|
|
67343
67340
|
itemFilters: l ? void 0 : o,
|
|
@@ -67362,34 +67359,34 @@ const c5 = ({
|
|
|
67362
67359
|
);
|
|
67363
67360
|
};
|
|
67364
67361
|
c5.displayName = "F0AnalyticsDashboard";
|
|
67365
|
-
const
|
|
67362
|
+
const pme = sr(
|
|
67366
67363
|
"F0AnalyticsDashboard",
|
|
67367
67364
|
c5
|
|
67368
|
-
),
|
|
67365
|
+
), gme = () => i2("(min-width: 640px)", {
|
|
67369
67366
|
initializeWithValue: !1
|
|
67370
|
-
}),
|
|
67367
|
+
}), ove = () => i2("(max-width: 639px)", {
|
|
67371
67368
|
initializeWithValue: !1
|
|
67372
67369
|
});
|
|
67373
|
-
function
|
|
67370
|
+
function sve() {
|
|
67374
67371
|
}
|
|
67375
|
-
const
|
|
67372
|
+
const lve = Object.freeze([]), Ec = Object.freeze({});
|
|
67376
67373
|
function xS(r) {
|
|
67377
|
-
ge.useEffect(r,
|
|
67374
|
+
ge.useEffect(r, lve);
|
|
67378
67375
|
}
|
|
67379
67376
|
const pI = {};
|
|
67380
67377
|
function Eu(r, e) {
|
|
67381
67378
|
const t = ge.useRef(pI);
|
|
67382
67379
|
return t.current === pI && (t.current = r(e)), t;
|
|
67383
67380
|
}
|
|
67384
|
-
const
|
|
67385
|
-
}, vi = typeof document < "u" ? ge.useLayoutEffect :
|
|
67386
|
-
function
|
|
67381
|
+
const uve = () => {
|
|
67382
|
+
}, vi = typeof document < "u" ? ge.useLayoutEffect : uve;
|
|
67383
|
+
function cve(r, e) {
|
|
67387
67384
|
return function(n, ...i) {
|
|
67388
67385
|
const a = new URL(r);
|
|
67389
67386
|
return a.searchParams.set("code", n.toString()), i.forEach((o) => a.searchParams.append("args[]", o)), `${e} error #${n}; visit ${a} for the full message.`;
|
|
67390
67387
|
};
|
|
67391
67388
|
}
|
|
67392
|
-
const wS =
|
|
67389
|
+
const wS = cve("https://base-ui.com/production-error", "Base UI"), SS = /* @__PURE__ */ ge.createContext(void 0);
|
|
67393
67390
|
process.env.NODE_ENV !== "production" && (SS.displayName = "ToastContext");
|
|
67394
67391
|
function CS() {
|
|
67395
67392
|
const r = ge.useContext(SS);
|
|
@@ -67397,25 +67394,25 @@ function CS() {
|
|
|
67397
67394
|
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: useToastManager must be used within <Toast.Provider>." : wS(73));
|
|
67398
67395
|
return r;
|
|
67399
67396
|
}
|
|
67400
|
-
const
|
|
67397
|
+
const fve = parseInt(ge.version, 10);
|
|
67401
67398
|
function TS(r) {
|
|
67402
|
-
return
|
|
67399
|
+
return fve >= r;
|
|
67403
67400
|
}
|
|
67404
|
-
const
|
|
67401
|
+
const dve = TS(19), hve = dve ? pve : gve;
|
|
67405
67402
|
function f5(r, e, t, n, i) {
|
|
67406
|
-
return
|
|
67403
|
+
return hve(r, e, t, n, i);
|
|
67407
67404
|
}
|
|
67408
|
-
function
|
|
67405
|
+
function vve(r, e, t, n, i) {
|
|
67409
67406
|
const a = ge.useCallback(() => e(r.getSnapshot(), t, n, i), [r, e, t, n, i]);
|
|
67410
67407
|
return rH.useSyncExternalStore(r.subscribe, a, a);
|
|
67411
67408
|
}
|
|
67412
|
-
function
|
|
67413
|
-
return
|
|
67409
|
+
function pve(r, e, t, n, i) {
|
|
67410
|
+
return vve(r, e, t, n, i);
|
|
67414
67411
|
}
|
|
67415
|
-
function
|
|
67412
|
+
function gve(r, e, t, n, i) {
|
|
67416
67413
|
return r3.useSyncExternalStoreWithSelector(r.subscribe, r.getSnapshot, r.getSnapshot, (a) => e(a, t, n, i));
|
|
67417
67414
|
}
|
|
67418
|
-
class
|
|
67415
|
+
class mve {
|
|
67419
67416
|
/**
|
|
67420
67417
|
* Creates a store with the given initial state, constructing the class it is called on.
|
|
67421
67418
|
* Calling it on a generic base class (e.g. `ReactStore.create(...)`) constructs that
|
|
@@ -67509,19 +67506,19 @@ class pve {
|
|
|
67509
67506
|
}
|
|
67510
67507
|
const DS = {
|
|
67511
67508
|
...ge
|
|
67512
|
-
}, _0 = DS.useInsertionEffect,
|
|
67509
|
+
}, _0 = DS.useInsertionEffect, yve = (
|
|
67513
67510
|
// React 17 doesn't have useInsertionEffect.
|
|
67514
67511
|
_0 && // Preact replaces useInsertionEffect with useLayoutEffect and fires too late.
|
|
67515
67512
|
_0 !== DS.useLayoutEffect ? _0 : (r) => r()
|
|
67516
67513
|
);
|
|
67517
67514
|
function Ef(r) {
|
|
67518
|
-
const e = Eu(
|
|
67519
|
-
return e.next = r,
|
|
67515
|
+
const e = Eu(bve).current;
|
|
67516
|
+
return e.next = r, yve(e.effect), e.trampoline;
|
|
67520
67517
|
}
|
|
67521
|
-
function
|
|
67518
|
+
function bve() {
|
|
67522
67519
|
const r = {
|
|
67523
67520
|
next: void 0,
|
|
67524
|
-
callback:
|
|
67521
|
+
callback: _ve,
|
|
67525
67522
|
trampoline: (...e) => r.callback?.(...e),
|
|
67526
67523
|
effect: () => {
|
|
67527
67524
|
r.callback = r.next;
|
|
@@ -67529,14 +67526,14 @@ function mve() {
|
|
|
67529
67526
|
};
|
|
67530
67527
|
return r;
|
|
67531
67528
|
}
|
|
67532
|
-
function
|
|
67529
|
+
function _ve() {
|
|
67533
67530
|
if (process.env.NODE_ENV !== "production")
|
|
67534
67531
|
throw (
|
|
67535
67532
|
/* minify-error-disabled */
|
|
67536
67533
|
new Error("Base UI: Cannot call an event handler while rendering.")
|
|
67537
67534
|
);
|
|
67538
67535
|
}
|
|
67539
|
-
class
|
|
67536
|
+
class xve extends mve {
|
|
67540
67537
|
/**
|
|
67541
67538
|
* Creates a new ReactStore instance.
|
|
67542
67539
|
*
|
|
@@ -67644,7 +67641,7 @@ class bve extends pve {
|
|
|
67644
67641
|
*/
|
|
67645
67642
|
useContextCallback(e, t) {
|
|
67646
67643
|
ge.useDebugValue(e);
|
|
67647
|
-
const n = Ef(t ??
|
|
67644
|
+
const n = Ef(t ?? sve);
|
|
67648
67645
|
this.context[e] = n;
|
|
67649
67646
|
}
|
|
67650
67647
|
/**
|
|
@@ -67678,17 +67675,17 @@ class bve extends pve {
|
|
|
67678
67675
|
});
|
|
67679
67676
|
}
|
|
67680
67677
|
}
|
|
67681
|
-
function
|
|
67678
|
+
function wve() {
|
|
67682
67679
|
return typeof window < "u";
|
|
67683
67680
|
}
|
|
67684
67681
|
function AS(r) {
|
|
67685
67682
|
var e;
|
|
67686
67683
|
return (r == null || (e = r.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
67687
67684
|
}
|
|
67688
|
-
function
|
|
67689
|
-
return !
|
|
67685
|
+
function Sve(r) {
|
|
67686
|
+
return !wve() || typeof ShadowRoot > "u" ? !1 : r instanceof ShadowRoot || r instanceof AS(r).ShadowRoot;
|
|
67690
67687
|
}
|
|
67691
|
-
function
|
|
67688
|
+
function Cve(...r) {
|
|
67692
67689
|
return () => {
|
|
67693
67690
|
for (let e = 0; e < r.length; e += 1) {
|
|
67694
67691
|
const t = r[e];
|
|
@@ -67706,7 +67703,7 @@ function Lc(r, e, t, n) {
|
|
|
67706
67703
|
}
|
|
67707
67704
|
const Eh = null;
|
|
67708
67705
|
let gI = globalThis.requestAnimationFrame;
|
|
67709
|
-
class
|
|
67706
|
+
class Tve {
|
|
67710
67707
|
/* This implementation uses an array as a backing data-structure for frame callbacks.
|
|
67711
67708
|
* It allows `O(1)` callback cancelling by inserting a `null` in the array, though it
|
|
67712
67709
|
* never calls the native `cancelAnimationFrame` if there are no frames left. This can
|
|
@@ -67737,7 +67734,7 @@ class Sve {
|
|
|
67737
67734
|
t < 0 || t >= this.callbacks.length || this.callbacks[t] !== null && (this.callbacks[t] = null, this.callbacksCount -= 1);
|
|
67738
67735
|
}
|
|
67739
67736
|
}
|
|
67740
|
-
let Lh = new
|
|
67737
|
+
let Lh = new Tve();
|
|
67741
67738
|
class MS {
|
|
67742
67739
|
static create() {
|
|
67743
67740
|
return new MS();
|
|
@@ -67762,7 +67759,7 @@ class MS {
|
|
|
67762
67759
|
};
|
|
67763
67760
|
disposeEffect = () => this.cancel;
|
|
67764
67761
|
}
|
|
67765
|
-
function
|
|
67762
|
+
function Dve() {
|
|
67766
67763
|
const r = Eu(MS.create).current;
|
|
67767
67764
|
return xS(r.disposeEffect), r;
|
|
67768
67765
|
}
|
|
@@ -67788,7 +67785,7 @@ class Lf {
|
|
|
67788
67785
|
};
|
|
67789
67786
|
disposeEffect = () => this.clear;
|
|
67790
67787
|
}
|
|
67791
|
-
function
|
|
67788
|
+
function Ave() {
|
|
67792
67789
|
const r = Eu(Lf.create).current;
|
|
67793
67790
|
return xS(r.disposeEffect), r;
|
|
67794
67791
|
}
|
|
@@ -67805,7 +67802,7 @@ function x0(r, e) {
|
|
|
67805
67802
|
}
|
|
67806
67803
|
return r;
|
|
67807
67804
|
}
|
|
67808
|
-
function
|
|
67805
|
+
function Mve() {
|
|
67809
67806
|
if (typeof navigator > "u")
|
|
67810
67807
|
return {
|
|
67811
67808
|
userAgent: "",
|
|
@@ -67831,17 +67828,17 @@ function Dve() {
|
|
|
67831
67828
|
};
|
|
67832
67829
|
}
|
|
67833
67830
|
const {
|
|
67834
|
-
userAgent:
|
|
67835
|
-
platform:
|
|
67836
|
-
maxTouchPoints:
|
|
67837
|
-
} =
|
|
67831
|
+
userAgent: Eve,
|
|
67832
|
+
platform: Lve,
|
|
67833
|
+
maxTouchPoints: Nve
|
|
67834
|
+
} = Mve(), Ag = Eve.toLowerCase(), Nf = Lve.toLowerCase(), d5 = /^i(os$|p)/.test(Nf) || Nf === "macintel" && Nve > 1, mI = "android";
|
|
67838
67835
|
Nf === mI || Ag.includes(mI);
|
|
67839
|
-
const
|
|
67836
|
+
const Ive = !d5 && Nf.startsWith("mac");
|
|
67840
67837
|
Nf.startsWith("win");
|
|
67841
|
-
const
|
|
67838
|
+
const Pve = Ive || d5, ES = typeof CSS < "u" && !!CSS.supports?.("-webkit-backdrop-filter:none");
|
|
67842
67839
|
!ES && Ag.includes("firefox");
|
|
67843
67840
|
!ES && Ag.includes("chrom");
|
|
67844
|
-
const
|
|
67841
|
+
const kve = Pve, Rve = /jsdom|happydom/.test(Ag);
|
|
67845
67842
|
function Uc(r) {
|
|
67846
67843
|
let e = r.activeElement;
|
|
67847
67844
|
for (; e?.shadowRoot?.activeElement != null; )
|
|
@@ -67854,7 +67851,7 @@ function ru(r, e) {
|
|
|
67854
67851
|
const t = e.getRootNode?.();
|
|
67855
67852
|
if (r.contains(e))
|
|
67856
67853
|
return !0;
|
|
67857
|
-
if (t &&
|
|
67854
|
+
if (t && Sve(t)) {
|
|
67858
67855
|
let n = e;
|
|
67859
67856
|
for (; n; ) {
|
|
67860
67857
|
if (r === n)
|
|
@@ -67867,17 +67864,17 @@ function ru(r, e) {
|
|
|
67867
67864
|
function Zo(r) {
|
|
67868
67865
|
return "composedPath" in r ? r.composedPath()[0] ?? r.target : r.target;
|
|
67869
67866
|
}
|
|
67870
|
-
const h5 = "data-starting-style",
|
|
67867
|
+
const h5 = "data-starting-style", Ove = "data-ending-style", Bve = {
|
|
67871
67868
|
[h5]: ""
|
|
67872
|
-
},
|
|
67873
|
-
[
|
|
67874
|
-
},
|
|
67869
|
+
}, zve = {
|
|
67870
|
+
[Ove]: ""
|
|
67871
|
+
}, Vve = {
|
|
67875
67872
|
transitionStatus(r) {
|
|
67876
|
-
return r === "starting" ?
|
|
67873
|
+
return r === "starting" ? Bve : r === "ending" ? zve : null;
|
|
67877
67874
|
}
|
|
67878
67875
|
};
|
|
67879
67876
|
function cx(r) {
|
|
67880
|
-
if (!r ||
|
|
67877
|
+
if (!r || Rve)
|
|
67881
67878
|
return !0;
|
|
67882
67879
|
try {
|
|
67883
67880
|
return r.matches(":focus-visible");
|
|
@@ -67922,7 +67919,7 @@ const Sn = {
|
|
|
67922
67919
|
expandedOrOutOfFocus: (r) => r.hovering || r.focused || !r.isWindowFocused,
|
|
67923
67920
|
prevFocusElement: (r) => r.prevFocusElement
|
|
67924
67921
|
};
|
|
67925
|
-
class
|
|
67922
|
+
class Fve extends xve {
|
|
67926
67923
|
timers = /* @__PURE__ */ new Map();
|
|
67927
67924
|
areTimersPaused = !1;
|
|
67928
67925
|
constructor(e) {
|
|
@@ -68143,7 +68140,7 @@ const fx = function(e) {
|
|
|
68143
68140
|
timeout: n = 5e3,
|
|
68144
68141
|
limit: i = 3,
|
|
68145
68142
|
toastManager: a
|
|
68146
|
-
} = e, o = Eu(() => new
|
|
68143
|
+
} = e, o = Eu(() => new Fve({
|
|
68147
68144
|
timeout: n,
|
|
68148
68145
|
limit: i,
|
|
68149
68146
|
viewport: null,
|
|
@@ -68163,7 +68160,7 @@ const fx = function(e) {
|
|
|
68163
68160
|
}) : void 0;
|
|
68164
68161
|
}, [o, a]), /* @__PURE__ */ B(SS.Provider, {
|
|
68165
68162
|
value: o,
|
|
68166
|
-
children: [/* @__PURE__ */ x(
|
|
68163
|
+
children: [/* @__PURE__ */ x(Gve, {
|
|
68167
68164
|
store: o,
|
|
68168
68165
|
timeout: n,
|
|
68169
68166
|
limit: i
|
|
@@ -68171,7 +68168,7 @@ const fx = function(e) {
|
|
|
68171
68168
|
});
|
|
68172
68169
|
};
|
|
68173
68170
|
process.env.NODE_ENV !== "production" && (fx.displayName = "ToastProvider");
|
|
68174
|
-
function
|
|
68171
|
+
function Gve(r) {
|
|
68175
68172
|
const {
|
|
68176
68173
|
store: e,
|
|
68177
68174
|
timeout: t,
|
|
@@ -68181,7 +68178,7 @@ function Vve(r) {
|
|
|
68181
68178
|
e.syncProviderProps(t, n);
|
|
68182
68179
|
}, [e, t, n]), null;
|
|
68183
68180
|
}
|
|
68184
|
-
const
|
|
68181
|
+
const Hve = {
|
|
68185
68182
|
clipPath: "inset(50%)",
|
|
68186
68183
|
overflow: "hidden",
|
|
68187
68184
|
whiteSpace: "nowrap",
|
|
@@ -68191,14 +68188,14 @@ const Fve = {
|
|
|
68191
68188
|
height: 1,
|
|
68192
68189
|
margin: -1
|
|
68193
68190
|
}, v5 = {
|
|
68194
|
-
...
|
|
68191
|
+
...Hve,
|
|
68195
68192
|
position: "fixed",
|
|
68196
68193
|
top: 0,
|
|
68197
68194
|
left: 0
|
|
68198
68195
|
}, p5 = /* @__PURE__ */ ge.forwardRef(function(e, t) {
|
|
68199
68196
|
const [n, i] = ge.useState();
|
|
68200
68197
|
return vi(() => {
|
|
68201
|
-
|
|
68198
|
+
kve && ES && i("button");
|
|
68202
68199
|
}, []), /* @__PURE__ */ x("span", {
|
|
68203
68200
|
...e,
|
|
68204
68201
|
ref: t,
|
|
@@ -68215,11 +68212,11 @@ const Fve = {
|
|
|
68215
68212
|
process.env.NODE_ENV !== "production" && (p5.displayName = "FocusGuard");
|
|
68216
68213
|
function yI(r, e, t, n) {
|
|
68217
68214
|
const i = Eu(g5).current;
|
|
68218
|
-
return
|
|
68215
|
+
return $ve(i, r, e, t, n) && m5(i, [r, e, t, n]), i.callback;
|
|
68219
68216
|
}
|
|
68220
|
-
function
|
|
68217
|
+
function Wve(r) {
|
|
68221
68218
|
const e = Eu(g5).current;
|
|
68222
|
-
return
|
|
68219
|
+
return Uve(e, r) && m5(e, r), e.callback;
|
|
68223
68220
|
}
|
|
68224
68221
|
function g5() {
|
|
68225
68222
|
return {
|
|
@@ -68228,10 +68225,10 @@ function g5() {
|
|
|
68228
68225
|
refs: []
|
|
68229
68226
|
};
|
|
68230
68227
|
}
|
|
68231
|
-
function
|
|
68228
|
+
function $ve(r, e, t, n, i) {
|
|
68232
68229
|
return r.refs[0] !== e || r.refs[1] !== t || r.refs[2] !== n || r.refs[3] !== i;
|
|
68233
68230
|
}
|
|
68234
|
-
function
|
|
68231
|
+
function Uve(r, e) {
|
|
68235
68232
|
return r.refs.length !== e.length || r.refs.some((t, n) => t !== e[n]);
|
|
68236
68233
|
}
|
|
68237
68234
|
function m5(r, e) {
|
|
@@ -68296,7 +68293,7 @@ function dx(r, e) {
|
|
|
68296
68293
|
}
|
|
68297
68294
|
let hx;
|
|
68298
68295
|
process.env.NODE_ENV !== "production" && (hx = /* @__PURE__ */ new Set());
|
|
68299
|
-
function
|
|
68296
|
+
function Yve(r, e) {
|
|
68300
68297
|
return function(...n) {
|
|
68301
68298
|
if (process.env.NODE_ENV !== "production") {
|
|
68302
68299
|
const i = n.join(" "), a = `${e}: ${i}`, o = `${r}:${a}`;
|
|
@@ -68304,8 +68301,8 @@ function $ve(r, e) {
|
|
|
68304
68301
|
}
|
|
68305
68302
|
};
|
|
68306
68303
|
}
|
|
68307
|
-
const
|
|
68308
|
-
function
|
|
68304
|
+
const Xve = Yve("warn", "Base UI");
|
|
68305
|
+
function qve(r, e) {
|
|
68309
68306
|
const t = {};
|
|
68310
68307
|
for (const n in r) {
|
|
68311
68308
|
const i = r[n];
|
|
@@ -68318,10 +68315,10 @@ function Yve(r, e) {
|
|
|
68318
68315
|
}
|
|
68319
68316
|
return t;
|
|
68320
68317
|
}
|
|
68321
|
-
function
|
|
68318
|
+
function Zve(r, e) {
|
|
68322
68319
|
return typeof r == "function" ? r(e) : r;
|
|
68323
68320
|
}
|
|
68324
|
-
function
|
|
68321
|
+
function jve(r, e) {
|
|
68325
68322
|
return typeof r == "function" ? r(e) : r;
|
|
68326
68323
|
}
|
|
68327
68324
|
const LS = {};
|
|
@@ -68331,7 +68328,7 @@ function y5(r, e, t, n, i) {
|
|
|
68331
68328
|
let a = Mp(r);
|
|
68332
68329
|
return e && (a = b5(a, e)), a;
|
|
68333
68330
|
}
|
|
68334
|
-
function
|
|
68331
|
+
function Kve(r) {
|
|
68335
68332
|
if (r.length === 0)
|
|
68336
68333
|
return LS;
|
|
68337
68334
|
if (r.length === 1)
|
|
@@ -68344,12 +68341,12 @@ function Zve(r) {
|
|
|
68344
68341
|
function Mp(r) {
|
|
68345
68342
|
return NS(r) ? {
|
|
68346
68343
|
...x5(r, LS)
|
|
68347
|
-
} :
|
|
68344
|
+
} : Qve(r);
|
|
68348
68345
|
}
|
|
68349
68346
|
function b5(r, e) {
|
|
68350
|
-
return NS(e) ? x5(e, r) :
|
|
68347
|
+
return NS(e) ? x5(e, r) : Jve(r, e);
|
|
68351
68348
|
}
|
|
68352
|
-
function
|
|
68349
|
+
function Qve(r) {
|
|
68353
68350
|
const e = {
|
|
68354
68351
|
...r
|
|
68355
68352
|
};
|
|
@@ -68359,7 +68356,7 @@ function jve(r) {
|
|
|
68359
68356
|
}
|
|
68360
68357
|
return e;
|
|
68361
68358
|
}
|
|
68362
|
-
function
|
|
68359
|
+
function Jve(r, e) {
|
|
68363
68360
|
if (!e)
|
|
68364
68361
|
return r;
|
|
68365
68362
|
for (const t in e) {
|
|
@@ -68374,7 +68371,7 @@ function Kve(r, e) {
|
|
|
68374
68371
|
break;
|
|
68375
68372
|
}
|
|
68376
68373
|
default:
|
|
68377
|
-
_5(t, n) ? r[t] =
|
|
68374
|
+
_5(t, n) ? r[t] = epe(r[t], n) : r[t] = n;
|
|
68378
68375
|
}
|
|
68379
68376
|
}
|
|
68380
68377
|
return r;
|
|
@@ -68389,7 +68386,7 @@ function NS(r) {
|
|
|
68389
68386
|
function x5(r, e) {
|
|
68390
68387
|
return NS(r) ? r(e) : r ?? LS;
|
|
68391
68388
|
}
|
|
68392
|
-
function
|
|
68389
|
+
function epe(r, e) {
|
|
68393
68390
|
return e ? r ? (...t) => {
|
|
68394
68391
|
const n = t[0];
|
|
68395
68392
|
if (T5(n)) {
|
|
@@ -68421,14 +68418,14 @@ function T5(r) {
|
|
|
68421
68418
|
}
|
|
68422
68419
|
function ud(r, e, t = {}) {
|
|
68423
68420
|
let n = e.render;
|
|
68424
|
-
t.enabled !== !1 && (n =
|
|
68425
|
-
const i =
|
|
68421
|
+
t.enabled !== !1 && (n = ope(n));
|
|
68422
|
+
const i = tpe(e, t, n);
|
|
68426
68423
|
if (t.enabled === !1)
|
|
68427
68424
|
return null;
|
|
68428
68425
|
const a = t.state ?? Ec;
|
|
68429
|
-
return
|
|
68426
|
+
return spe(r, n, i, a);
|
|
68430
68427
|
}
|
|
68431
|
-
function
|
|
68428
|
+
function tpe(r, e, t) {
|
|
68432
68429
|
const {
|
|
68433
68430
|
className: n,
|
|
68434
68431
|
style: i
|
|
@@ -68438,23 +68435,23 @@ function Jve(r, e, t) {
|
|
|
68438
68435
|
props: s,
|
|
68439
68436
|
stateAttributesMapping: l,
|
|
68440
68437
|
enabled: u = !0
|
|
68441
|
-
} = e, c = u ?
|
|
68442
|
-
return typeof document < "u" && (u ? Array.isArray(o) ? v.ref =
|
|
68438
|
+
} = e, c = u ? Zve(n, a) : void 0, f = u ? jve(i, a) : void 0, d = u ? qve(a, l) : Ec, h = u && s ? rpe(s) : void 0, v = u ? dx(d, h) ?? {} : Ec;
|
|
68439
|
+
return typeof document < "u" && (u ? Array.isArray(o) ? v.ref = Wve([v.ref, bI(t), ...o]) : v.ref = yI(v.ref, bI(t), o) : yI(null, null)), u ? (c !== void 0 && (v.className = C5(v.className, c)), f !== void 0 && (v.style = dx(v.style, f)), v) : Ec;
|
|
68443
68440
|
}
|
|
68444
|
-
function
|
|
68445
|
-
return Array.isArray(r) ?
|
|
68441
|
+
function rpe(r) {
|
|
68442
|
+
return Array.isArray(r) ? Kve(r) : y5(void 0, r);
|
|
68446
68443
|
}
|
|
68447
|
-
const
|
|
68448
|
-
function
|
|
68449
|
-
if (r?.$$typeof !==
|
|
68444
|
+
const npe = /* @__PURE__ */ Symbol.for("react.lazy"), ipe = /^[A-Z][A-Za-z0-9$]*$/, ape = /[a-z]/;
|
|
68445
|
+
function ope(r) {
|
|
68446
|
+
if (r?.$$typeof !== npe)
|
|
68450
68447
|
return r;
|
|
68451
68448
|
const e = ge.Children.toArray(r)[0];
|
|
68452
68449
|
return /* @__PURE__ */ ge.isValidElement(e) ? e : r;
|
|
68453
68450
|
}
|
|
68454
|
-
function
|
|
68451
|
+
function spe(r, e, t, n) {
|
|
68455
68452
|
if (e) {
|
|
68456
68453
|
if (typeof e == "function")
|
|
68457
|
-
return process.env.NODE_ENV !== "production" &&
|
|
68454
|
+
return process.env.NODE_ENV !== "production" && lpe(e), e(t, n);
|
|
68458
68455
|
const i = y5(t, e.props);
|
|
68459
68456
|
if (i.ref = t.ref, process.env.NODE_ENV !== "production" && !/* @__PURE__ */ ge.isValidElement(e))
|
|
68460
68457
|
throw new Error(["Base UI: The `render` prop was provided an invalid React element as `React.isValidElement(render)` is `false`.", "A valid React element must be provided to the `render` prop because it is cloned with props to replace the default element.", "https://base-ui.com/r/invalid-render-prop"].join(`
|
|
@@ -68462,14 +68459,14 @@ function ape(r, e, t, n) {
|
|
|
68462
68459
|
return /* @__PURE__ */ ge.cloneElement(e, i);
|
|
68463
68460
|
}
|
|
68464
68461
|
if (r && typeof r == "string")
|
|
68465
|
-
return
|
|
68462
|
+
return upe(r, t);
|
|
68466
68463
|
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: Render element or function are not defined." : wS(8));
|
|
68467
68464
|
}
|
|
68468
|
-
function
|
|
68465
|
+
function lpe(r) {
|
|
68469
68466
|
const e = r.name;
|
|
68470
|
-
e.length !== 0 &&
|
|
68467
|
+
e.length !== 0 && ipe.test(e) && ape.test(e) && Xve(`The \`render\` prop received a function named \`${e}\` that starts with an uppercase letter.`, "This usually means a React component was passed directly as `render={Component}`.", "Base UI calls `render` as a plain function, which can break the Rules of Hooks during reconciliation.", "If this is an intentional render callback, rename it to start with a lowercase letter.", "Use `render={<Component />}` or `render={(props) => <Component {...props} />}` instead.", "https://base-ui.com/r/invalid-render-prop");
|
|
68471
68468
|
}
|
|
68472
|
-
function
|
|
68469
|
+
function upe(r, e) {
|
|
68473
68470
|
return r === "button" ? /* @__PURE__ */ WS("button", {
|
|
68474
68471
|
type: "button",
|
|
68475
68472
|
...e,
|
|
@@ -68480,14 +68477,14 @@ function spe(r, e) {
|
|
|
68480
68477
|
key: e.key
|
|
68481
68478
|
}) : /* @__PURE__ */ ge.createElement(r, e);
|
|
68482
68479
|
}
|
|
68483
|
-
const
|
|
68480
|
+
const cpe = "--toast-frontmost-height", D5 = /* @__PURE__ */ ge.forwardRef(function(e, t) {
|
|
68484
68481
|
const {
|
|
68485
68482
|
render: n,
|
|
68486
68483
|
className: i,
|
|
68487
68484
|
style: a,
|
|
68488
68485
|
children: o,
|
|
68489
68486
|
...s
|
|
68490
|
-
} = e, l = CS(), u =
|
|
68487
|
+
} = e, l = CS(), u = Ave(), c = ge.useRef(!1), f = ge.useRef(!1), d = ge.useRef(!1), h = l.useState("isEmpty"), v = l.useState("toasts"), p = l.useState("focused"), g = l.useState("expanded"), m = l.useState("prevFocusElement"), y = v[0]?.height, b = v.some((z) => z.transitionStatus === "ending"), _ = v.filter((z) => z.priority === "high");
|
|
68491
68488
|
ge.useEffect(() => {
|
|
68492
68489
|
const z = l.state.viewport;
|
|
68493
68490
|
if (!z || h)
|
|
@@ -68507,7 +68504,7 @@ const lpe = "--toast-frontmost-height", D5 = /* @__PURE__ */ ge.forwardRef(funct
|
|
|
68507
68504
|
const te = Zo(ie), se = Uc(Il(z));
|
|
68508
68505
|
(te === V || !ru(z, te) || !cx(se)) && l.resumeTimers(), u.start(0, () => l.set("isWindowFocused", !0));
|
|
68509
68506
|
}
|
|
68510
|
-
return
|
|
68507
|
+
return Cve(Lc(V, "keydown", H), Lc(V, "blur", $, !0), Lc(V, "focus", q, !0), Lc(G, "pointerdown", l.handleDocumentPointerDown, !0));
|
|
68511
68508
|
}, [l, u, h]);
|
|
68512
68509
|
function w(z) {
|
|
68513
68510
|
c.current = !0;
|
|
@@ -68564,7 +68561,7 @@ const lpe = "--toast-frontmost-height", D5 = /* @__PURE__ */ ge.forwardRef(funct
|
|
|
68564
68561
|
onPointerUp: I,
|
|
68565
68562
|
onPointerCancel: I,
|
|
68566
68563
|
style: {
|
|
68567
|
-
[
|
|
68564
|
+
[cpe]: y ? `${y}px` : void 0
|
|
68568
68565
|
}
|
|
68569
68566
|
}, P = {
|
|
68570
68567
|
expanded: g
|
|
@@ -68595,7 +68592,7 @@ const lpe = "--toast-frontmost-height", D5 = /* @__PURE__ */ ge.forwardRef(funct
|
|
|
68595
68592
|
});
|
|
68596
68593
|
});
|
|
68597
68594
|
process.env.NODE_ENV !== "production" && (D5.displayName = "ToastViewport");
|
|
68598
|
-
function
|
|
68595
|
+
function fpe(r) {
|
|
68599
68596
|
return TS(19) ? r : r ? "true" : void 0;
|
|
68600
68597
|
}
|
|
68601
68598
|
const IS = /* @__PURE__ */ ge.createContext(void 0);
|
|
@@ -68606,11 +68603,11 @@ function A5() {
|
|
|
68606
68603
|
throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: ToastRootContext is missing. Toast parts must be used within <Toast.Root>." : wS(66));
|
|
68607
68604
|
return r;
|
|
68608
68605
|
}
|
|
68609
|
-
function
|
|
68606
|
+
function dpe(r) {
|
|
68610
68607
|
return r == null ? r : "current" in r ? r.current : r;
|
|
68611
68608
|
}
|
|
68612
68609
|
let Nh = null;
|
|
68613
|
-
function
|
|
68610
|
+
function hpe(r) {
|
|
68614
68611
|
if (!Nh) {
|
|
68615
68612
|
const e = [];
|
|
68616
68613
|
Nh = e, queueMicrotask(() => {
|
|
@@ -68622,11 +68619,11 @@ function fpe(r) {
|
|
|
68622
68619
|
}
|
|
68623
68620
|
Nh.push(r);
|
|
68624
68621
|
}
|
|
68625
|
-
function
|
|
68626
|
-
const n =
|
|
68622
|
+
function vpe(r, e = !1, t = !1) {
|
|
68623
|
+
const n = Dve();
|
|
68627
68624
|
return Ef((i, a = null) => {
|
|
68628
68625
|
n.cancel();
|
|
68629
|
-
const o =
|
|
68626
|
+
const o = dpe(r);
|
|
68630
68627
|
if (o == null)
|
|
68631
68628
|
return;
|
|
68632
68629
|
const s = o, l = () => {
|
|
@@ -68634,7 +68631,7 @@ function dpe(r, e = !1, t = !1) {
|
|
|
68634
68631
|
Px.flushSync(i);
|
|
68635
68632
|
return;
|
|
68636
68633
|
}
|
|
68637
|
-
|
|
68634
|
+
hpe(() => {
|
|
68638
68635
|
a?.aborted || i();
|
|
68639
68636
|
});
|
|
68640
68637
|
};
|
|
@@ -68675,14 +68672,14 @@ function dpe(r, e = !1, t = !1) {
|
|
|
68675
68672
|
n.request(u);
|
|
68676
68673
|
});
|
|
68677
68674
|
}
|
|
68678
|
-
function
|
|
68675
|
+
function ppe(r) {
|
|
68679
68676
|
const {
|
|
68680
68677
|
enabled: e = !0,
|
|
68681
68678
|
open: t,
|
|
68682
68679
|
ref: n,
|
|
68683
68680
|
batch: i = !1,
|
|
68684
68681
|
onComplete: a
|
|
68685
|
-
} = r, o = Ef(a), s =
|
|
68682
|
+
} = r, o = Ef(a), s = vpe(n, t, i);
|
|
68686
68683
|
ge.useEffect(() => {
|
|
68687
68684
|
if (!e)
|
|
68688
68685
|
return;
|
|
@@ -68692,8 +68689,8 @@ function hpe(r) {
|
|
|
68692
68689
|
};
|
|
68693
68690
|
}, [e, t, o, s]);
|
|
68694
68691
|
}
|
|
68695
|
-
const
|
|
68696
|
-
function
|
|
68692
|
+
const gpe = "data-base-ui-swipe-ignore", mpe = "data-swipe-ignore", ype = `[${gpe}]`, bpe = `[${mpe}]`;
|
|
68693
|
+
function _pe(r, e) {
|
|
68697
68694
|
const t = AS(r).getComputedStyle(r).transform;
|
|
68698
68695
|
let n = 0, i = 0, a = 1;
|
|
68699
68696
|
if (t && t !== "none") {
|
|
@@ -68723,14 +68720,14 @@ function C0(r, e, t) {
|
|
|
68723
68720
|
return 0;
|
|
68724
68721
|
}
|
|
68725
68722
|
}
|
|
68726
|
-
const
|
|
68727
|
-
...
|
|
68723
|
+
const xpe = "--toast-index", wpe = "--toast-offset-y", Spe = "--toast-height", Cpe = "--toast-swipe-movement-x", Tpe = "--toast-swipe-movement-y", Dpe = "data-swipe-direction", Ape = {
|
|
68724
|
+
...Vve,
|
|
68728
68725
|
swipeDirection(r) {
|
|
68729
68726
|
return r ? {
|
|
68730
|
-
[
|
|
68727
|
+
[Dpe]: r
|
|
68731
68728
|
} : null;
|
|
68732
68729
|
}
|
|
68733
|
-
}, _I = 40,
|
|
68730
|
+
}, _I = 40, Mpe = 10, xI = 0.5, Epe = 1, Lpe = `${ype},${bpe}`, M5 = /* @__PURE__ */ ge.forwardRef(function(e, t) {
|
|
68734
68731
|
const {
|
|
68735
68732
|
toast: n,
|
|
68736
68733
|
render: i,
|
|
@@ -68762,7 +68759,7 @@ const bpe = "--toast-index", _pe = "--toast-offset-y", xpe = "--toast-height", w
|
|
|
68762
68759
|
x: 0,
|
|
68763
68760
|
y: 0
|
|
68764
68761
|
}), $ = ge.useRef(null), q = ge.useRef(null), ie = d.useState("toastIndex", n.id), te = d.useState("toastVisibleIndex", n.id), se = d.useState("toastOffsetY", n.id), j = d.useState("focused"), Y = d.useState("expanded");
|
|
68765
|
-
|
|
68762
|
+
ppe({
|
|
68766
68763
|
open: n.transitionStatus !== "ending",
|
|
68767
68764
|
ref: E,
|
|
68768
68765
|
onComplete() {
|
|
@@ -68835,13 +68832,13 @@ const bpe = "--toast-index", _pe = "--toast-offset-y", xpe = "--toast-height", w
|
|
|
68835
68832
|
}), v(void 0));
|
|
68836
68833
|
});
|
|
68837
68834
|
function de(Re) {
|
|
68838
|
-
if (Re.button !== 0 || (Re.pointerType === "touch" && d.pauseTimers(), Zo(Re.nativeEvent)?.closest(`button,a,input,textarea,[role="button"],${
|
|
68835
|
+
if (Re.button !== 0 || (Re.pointerType === "touch" && d.pauseTimers(), Zo(Re.nativeEvent)?.closest(`button,a,input,textarea,[role="button"],${Lpe}`)))
|
|
68839
68836
|
return;
|
|
68840
68837
|
z.current = !1, O.current = void 0, R.current = 0, $.current = Re.pointerId, k.current = {
|
|
68841
68838
|
x: Re.clientX,
|
|
68842
68839
|
y: Re.clientY
|
|
68843
68840
|
}, V.current = k.current;
|
|
68844
|
-
const At = Re.currentTarget, gt =
|
|
68841
|
+
const At = Re.currentTarget, gt = _pe(At);
|
|
68845
68842
|
P.current = gt, S(gt), U({
|
|
68846
68843
|
x: gt.x,
|
|
68847
68844
|
y: gt.y
|
|
@@ -68877,7 +68874,7 @@ const bpe = "--toast-index", _pe = "--toast-offset-y", xpe = "--toast-height", w
|
|
|
68877
68874
|
});
|
|
68878
68875
|
const St = it - k.current.x, Et = qe - k.current.y, Eg = qe - V.current.y, Lu = it - V.current.x;
|
|
68879
68876
|
let Li = M;
|
|
68880
|
-
if (!m && Math.sqrt(St * St + Et * Et) >=
|
|
68877
|
+
if (!m && Math.sqrt(St * St + Et * Et) >= Epe) {
|
|
68881
68878
|
y(!0);
|
|
68882
68879
|
const cd = c.includes("left") || c.includes("right"), q5 = c.includes("up") || c.includes("down");
|
|
68883
68880
|
if (cd && q5) {
|
|
@@ -68890,7 +68887,7 @@ const bpe = "--toast-index", _pe = "--toast-offset-y", xpe = "--toast-height", w
|
|
|
68890
68887
|
Li === "vertical" ? Et > 0 ? Bt = "down" : Et < 0 && (Bt = "up") : Li === "horizontal" ? St > 0 ? Bt = "right" : St < 0 && (Bt = "left") : Math.abs(St) >= Math.abs(Et) ? Bt = St > 0 ? "right" : "left" : Bt = Et > 0 ? "down" : "up", Bt && c.includes(Bt) && (O.current = Bt, R.current = C0(Bt, St, Et), v(Bt));
|
|
68891
68888
|
else {
|
|
68892
68889
|
const Lg = O.current, cd = C0(Lg, Lu, Eg);
|
|
68893
|
-
cd > _I ? (z.current = !1, v(Lg)) : !(c.includes("left") && c.includes("right")) && !(c.includes("up") && c.includes("down")) && R.current - cd >=
|
|
68890
|
+
cd > _I ? (z.current = !1, v(Lg)) : !(c.includes("left") && c.includes("right")) && !(c.includes("up") && c.includes("down")) && R.current - cd >= Mpe && (z.current = !0);
|
|
68894
68891
|
}
|
|
68895
68892
|
const ro = Z(St, Et);
|
|
68896
68893
|
let PS = P.current.x, kS = P.current.y;
|
|
@@ -68925,8 +68922,8 @@ const bpe = "--toast-index", _pe = "--toast-offset-y", xpe = "--toast-height", w
|
|
|
68925
68922
|
// While swiping, freeze the element at its current visual transform so it doesn't snap to the
|
|
68926
68923
|
// end position.
|
|
68927
68924
|
transform: p ? `translateX(${b.x}px) translateY(${b.y}px) scale(${w.scale})` : void 0,
|
|
68928
|
-
[
|
|
68929
|
-
[
|
|
68925
|
+
[Cpe]: `${Re}px`,
|
|
68926
|
+
[Tpe]: `${qe}px`
|
|
68930
68927
|
};
|
|
68931
68928
|
}
|
|
68932
68929
|
const oe = n.priority === "high", xe = {
|
|
@@ -68941,12 +68938,12 @@ const bpe = "--toast-index", _pe = "--toast-offset-y", xpe = "--toast-height", w
|
|
|
68941
68938
|
onPointerUp: f ? J : void 0,
|
|
68942
68939
|
onPointerCancel: f ? J : void 0,
|
|
68943
68940
|
onKeyDown: Le,
|
|
68944
|
-
inert:
|
|
68941
|
+
inert: fpe(n.limited),
|
|
68945
68942
|
style: {
|
|
68946
68943
|
...Ze(),
|
|
68947
|
-
[
|
|
68948
|
-
[
|
|
68949
|
-
[
|
|
68944
|
+
[xpe]: n.transitionStatus === "ending" ? ie : te,
|
|
68945
|
+
[wpe]: `${se}px`,
|
|
68946
|
+
[Spe]: n.height ? `${n.height}px` : void 0
|
|
68950
68947
|
}
|
|
68951
68948
|
}, Pe = ge.useMemo(() => ({
|
|
68952
68949
|
toast: n,
|
|
@@ -68965,7 +68962,7 @@ const bpe = "--toast-index", _pe = "--toast-offset-y", xpe = "--toast-height", w
|
|
|
68965
68962
|
}, Dt = ud("div", e, {
|
|
68966
68963
|
ref: [t, E],
|
|
68967
68964
|
state: ct,
|
|
68968
|
-
stateAttributesMapping:
|
|
68965
|
+
stateAttributesMapping: Ape,
|
|
68969
68966
|
props: [xe, l]
|
|
68970
68967
|
});
|
|
68971
68968
|
return /* @__PURE__ */ x(IS.Provider, {
|
|
@@ -69011,24 +69008,24 @@ const E5 = /* @__PURE__ */ ge.forwardRef(function(e, t) {
|
|
|
69011
69008
|
});
|
|
69012
69009
|
process.env.NODE_ENV !== "production" && (E5.displayName = "ToastContent");
|
|
69013
69010
|
let wI = 0;
|
|
69014
|
-
function
|
|
69011
|
+
function Npe(r, e = "mui") {
|
|
69015
69012
|
const [t, n] = ge.useState(r), i = r || t;
|
|
69016
69013
|
return ge.useEffect(() => {
|
|
69017
69014
|
t == null && (wI += 1, n(`${e}-${wI}`));
|
|
69018
69015
|
}, [t, e]), i;
|
|
69019
69016
|
}
|
|
69020
69017
|
const SI = DS.useId;
|
|
69021
|
-
function
|
|
69018
|
+
function Ipe(r, e) {
|
|
69022
69019
|
if (SI !== void 0) {
|
|
69023
69020
|
const t = SI();
|
|
69024
69021
|
return r ?? (e ? `${e}-${t}` : t);
|
|
69025
69022
|
}
|
|
69026
|
-
return
|
|
69023
|
+
return Npe(r, e);
|
|
69027
69024
|
}
|
|
69028
69025
|
function L5(r) {
|
|
69029
69026
|
return r == null || typeof r == "boolean" || r === "" ? !1 : Array.isArray(r) ? r.some(L5) : !0;
|
|
69030
69027
|
}
|
|
69031
|
-
function
|
|
69028
|
+
function Ppe(r) {
|
|
69032
69029
|
return /* @__PURE__ */ ge.isValidElement(r) && L5(r.props.children);
|
|
69033
69030
|
}
|
|
69034
69031
|
function N5(r, e, t) {
|
|
@@ -69038,14 +69035,14 @@ function N5(r, e, t) {
|
|
|
69038
69035
|
setDescriptionId: a
|
|
69039
69036
|
} = A5(), o = t === "title" ? i : a, s = e ?? (t === "title" ? n.title : n.description);
|
|
69040
69037
|
return {
|
|
69041
|
-
id:
|
|
69038
|
+
id: Ipe(r),
|
|
69042
69039
|
children: s,
|
|
69043
69040
|
type: n.type,
|
|
69044
69041
|
setId: o
|
|
69045
69042
|
};
|
|
69046
69043
|
}
|
|
69047
69044
|
function I5(r, e, t) {
|
|
69048
|
-
const n =
|
|
69045
|
+
const n = Ppe(r);
|
|
69049
69046
|
return vi(() => {
|
|
69050
69047
|
if (n)
|
|
69051
69048
|
return t(e), () => {
|
|
@@ -69144,7 +69141,7 @@ const R5 = ({ onClose: r }) => {
|
|
|
69144
69141
|
),
|
|
69145
69142
|
style: { animationDuration: `${r}ms` }
|
|
69146
69143
|
}
|
|
69147
|
-
) }),
|
|
69144
|
+
) }), kpe = ({
|
|
69148
69145
|
linkActions: r,
|
|
69149
69146
|
buttonActions: e,
|
|
69150
69147
|
onActionClick: t
|
|
@@ -69168,7 +69165,7 @@ const R5 = ({ onClose: r }) => {
|
|
|
69168
69165
|
},
|
|
69169
69166
|
`button-${n.label}`
|
|
69170
69167
|
))
|
|
69171
|
-
] }),
|
|
69168
|
+
] }), Rpe = (r, e) => {
|
|
69172
69169
|
const t = A0(r), n = t.filter(
|
|
69173
69170
|
(o) => o.type === "button"
|
|
69174
69171
|
), i = t.filter(
|
|
@@ -69182,14 +69179,14 @@ const R5 = ({ onClose: r }) => {
|
|
|
69182
69179
|
hasActions: t.length > 0,
|
|
69183
69180
|
handleActionClick: a
|
|
69184
69181
|
};
|
|
69185
|
-
},
|
|
69186
|
-
Title:
|
|
69187
|
-
Description:
|
|
69182
|
+
}, Ope = ({ className: r, children: e }) => /* @__PURE__ */ x("p", { className: r, children: e }), Bpe = ({ className: r, children: e }) => /* @__PURE__ */ x("p", { className: r, children: e }), B5 = na({
|
|
69183
|
+
Title: Ope,
|
|
69184
|
+
Description: Bpe,
|
|
69188
69185
|
inStack: !1
|
|
69189
69186
|
}), z5 = () => ia(B5), V5 = (r) => ne(
|
|
69190
69187
|
"pointer-events-auto relative flex w-full flex-col gap-3 overflow-hidden rounded-lg p-3",
|
|
69191
69188
|
!r && "bg-f1-background-inverse dark:bg-f1-background-tertiary"
|
|
69192
|
-
),
|
|
69189
|
+
), zpe = Wn({
|
|
69193
69190
|
base: "text-base font-medium text-f1-foreground-inverse",
|
|
69194
69191
|
variants: {
|
|
69195
69192
|
hasIcon: {
|
|
@@ -69200,13 +69197,13 @@ const R5 = ({ onClose: r }) => {
|
|
|
69200
69197
|
defaultVariants: {
|
|
69201
69198
|
hasIcon: !1
|
|
69202
69199
|
}
|
|
69203
|
-
}), CI = "line-clamp-3 text-base text-f1-foreground-inverse-secondary",
|
|
69200
|
+
}), CI = "line-clamp-3 text-base text-f1-foreground-inverse-secondary", Vpe = {
|
|
69204
69201
|
error: "critical",
|
|
69205
69202
|
warning: "warning",
|
|
69206
69203
|
success: "positive",
|
|
69207
69204
|
loading: null,
|
|
69208
69205
|
default: null
|
|
69209
|
-
},
|
|
69206
|
+
}, Fpe = {
|
|
69210
69207
|
error: "bg-f1-icon-critical",
|
|
69211
69208
|
warning: "bg-f1-icon-warning",
|
|
69212
69209
|
success: "bg-f1-icon-positive",
|
|
@@ -69223,7 +69220,7 @@ const R5 = ({ onClose: r }) => {
|
|
|
69223
69220
|
countdownKey: o,
|
|
69224
69221
|
contentKey: s
|
|
69225
69222
|
}, l) => {
|
|
69226
|
-
const { Title: u, Description: c, inStack: f } = z5(), { buttonActions: d, linkActions: h, hasActions: v, handleActionClick: p } =
|
|
69223
|
+
const { Title: u, Description: c, inStack: f } = z5(), { buttonActions: d, linkActions: h, hasActions: v, handleActionClick: p } = Rpe(a, i), g = Vpe[t], m = t === "loading", y = !m && n != null && n > 0;
|
|
69227
69224
|
return /* @__PURE__ */ B("div", { ref: l, className: V5(f), children: [
|
|
69228
69225
|
/* @__PURE__ */ B(
|
|
69229
69226
|
"div",
|
|
@@ -69252,7 +69249,7 @@ const R5 = ({ onClose: r }) => {
|
|
|
69252
69249
|
r ? /* @__PURE__ */ x(
|
|
69253
69250
|
u,
|
|
69254
69251
|
{
|
|
69255
|
-
className:
|
|
69252
|
+
className: zpe({
|
|
69256
69253
|
hasIcon: !!g || m
|
|
69257
69254
|
}),
|
|
69258
69255
|
children: r
|
|
@@ -69265,7 +69262,7 @@ const R5 = ({ onClose: r }) => {
|
|
|
69265
69262
|
s
|
|
69266
69263
|
),
|
|
69267
69264
|
/* @__PURE__ */ x(
|
|
69268
|
-
|
|
69265
|
+
kpe,
|
|
69269
69266
|
{
|
|
69270
69267
|
linkActions: h,
|
|
69271
69268
|
buttonActions: d,
|
|
@@ -69280,7 +69277,7 @@ const R5 = ({ onClose: r }) => {
|
|
|
69280
69277
|
O5,
|
|
69281
69278
|
{
|
|
69282
69279
|
duration: n,
|
|
69283
|
-
color:
|
|
69280
|
+
color: Fpe[t]
|
|
69284
69281
|
},
|
|
69285
69282
|
o
|
|
69286
69283
|
) : null
|
|
@@ -69365,7 +69362,7 @@ const G5 = (r) => r instanceof Element && r.closest("button, a") !== null, H5 =
|
|
|
69365
69362
|
}
|
|
69366
69363
|
);
|
|
69367
69364
|
H5.displayName = "F0MessageToast";
|
|
69368
|
-
const
|
|
69365
|
+
const Gpe = ne(
|
|
69369
69366
|
"group/toast pointer-events-auto absolute bottom-0 left-0 right-0 w-full origin-bottom select-none rounded-lg",
|
|
69370
69367
|
_n(),
|
|
69371
69368
|
// The card's background is this layer, not the root. Base UI measures the
|
|
@@ -69408,14 +69405,14 @@ const Vpe = ne(
|
|
|
69408
69405
|
"data-[ending-style]:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)_+_150%))_translateY(var(--offset-y))]",
|
|
69409
69406
|
"[transition:transform_0.5s_cubic-bezier(0.22,1,0.36,1),opacity_0.5s]",
|
|
69410
69407
|
"motion-reduce:[transition:opacity_0.2s]"
|
|
69411
|
-
),
|
|
69408
|
+
), Hpe = ne(
|
|
69412
69409
|
"h-full overflow-hidden rounded-lg [transition:opacity_250ms_cubic-bezier(0.22,1,0.36,1)]",
|
|
69413
69410
|
"data-[behind]:opacity-0 data-[expanded]:opacity-100"
|
|
69414
|
-
),
|
|
69415
|
-
Title:
|
|
69416
|
-
Description:
|
|
69411
|
+
), Wpe = ["down", "right"], $pe = ({ className: r, children: e }) => /* @__PURE__ */ x(k5, { className: r, render: /* @__PURE__ */ x("p", {}), children: e }), Upe = ({ className: r, children: e }) => /* @__PURE__ */ x(P5, { className: r, children: e }), Ype = {
|
|
69412
|
+
Title: $pe,
|
|
69413
|
+
Description: Upe,
|
|
69417
69414
|
inStack: !0
|
|
69418
|
-
},
|
|
69415
|
+
}, Xpe = ({
|
|
69419
69416
|
data: r,
|
|
69420
69417
|
duration: e,
|
|
69421
69418
|
countdownKey: t,
|
|
@@ -69439,7 +69436,7 @@ const Vpe = ne(
|
|
|
69439
69436
|
contentKey: n,
|
|
69440
69437
|
onClose: i
|
|
69441
69438
|
}
|
|
69442
|
-
),
|
|
69439
|
+
), qpe = 6, Zpe = (r) => {
|
|
69443
69440
|
const e = fe(
|
|
69444
69441
|
null
|
|
69445
69442
|
);
|
|
@@ -69453,18 +69450,18 @@ const Vpe = ne(
|
|
|
69453
69450
|
},
|
|
69454
69451
|
onPointerMove: (t) => {
|
|
69455
69452
|
const n = e.current;
|
|
69456
|
-
n && Math.hypot(t.clientX - n.x, t.clientY - n.y) >
|
|
69453
|
+
n && Math.hypot(t.clientX - n.x, t.clientY - n.y) > qpe && (n.dragged = !0);
|
|
69457
69454
|
},
|
|
69458
69455
|
onClick: (t) => {
|
|
69459
69456
|
const n = e.current?.dragged ?? !1;
|
|
69460
69457
|
e.current = null, !n && !G5(t.target) && r();
|
|
69461
69458
|
}
|
|
69462
69459
|
} : {};
|
|
69463
|
-
},
|
|
69460
|
+
}, jpe = ({
|
|
69464
69461
|
toast: r,
|
|
69465
69462
|
buried: e
|
|
69466
69463
|
}) => {
|
|
69467
|
-
const { close: t } = Mg(), n = r.data?.type === "message" ? r.data.props.onClick : void 0, i =
|
|
69464
|
+
const { close: t } = Mg(), n = r.data?.type === "message" ? r.data.props.onClick : void 0, i = Zpe(
|
|
69468
69465
|
n ? () => {
|
|
69469
69466
|
n(), t(r.id);
|
|
69470
69467
|
} : void 0
|
|
@@ -69473,12 +69470,12 @@ const Vpe = ne(
|
|
|
69473
69470
|
M5,
|
|
69474
69471
|
{
|
|
69475
69472
|
toast: r,
|
|
69476
|
-
swipeDirection:
|
|
69473
|
+
swipeDirection: Wpe,
|
|
69477
69474
|
"data-buried": e ? "" : void 0,
|
|
69478
|
-
className:
|
|
69475
|
+
className: Gpe,
|
|
69479
69476
|
...i,
|
|
69480
|
-
children: /* @__PURE__ */ x(E5, { className:
|
|
69481
|
-
|
|
69477
|
+
children: /* @__PURE__ */ x(E5, { className: Hpe, children: /* @__PURE__ */ x(B5.Provider, { value: Ype, children: /* @__PURE__ */ x(
|
|
69478
|
+
Xpe,
|
|
69482
69479
|
{
|
|
69483
69480
|
data: r.data,
|
|
69484
69481
|
duration: r.timeout,
|
|
@@ -69489,15 +69486,15 @@ const Vpe = ne(
|
|
|
69489
69486
|
) }) })
|
|
69490
69487
|
}
|
|
69491
69488
|
) : null;
|
|
69492
|
-
},
|
|
69489
|
+
}, Kpe = 12, Qpe = 12, Jpe = 36, W5 = 2, $5 = W5 + 1, ege = (r) => {
|
|
69493
69490
|
if (r.length === 0)
|
|
69494
69491
|
return { collapsed: 0, expanded: 0 };
|
|
69495
|
-
const e = r[0].height ?? 0, t = r.reduce((n, i) => n + (i.height ?? 0), 0) +
|
|
69492
|
+
const e = r[0].height ?? 0, t = r.reduce((n, i) => n + (i.height ?? 0), 0) + Kpe * (r.length - 1);
|
|
69496
69493
|
return {
|
|
69497
|
-
collapsed: e +
|
|
69498
|
-
expanded: t + (r.length > 1 ?
|
|
69494
|
+
collapsed: e + Qpe * Math.min(r.length - 1, W5),
|
|
69495
|
+
expanded: t + (r.length > 1 ? Jpe : 0)
|
|
69499
69496
|
};
|
|
69500
|
-
},
|
|
69497
|
+
}, tge = () => {
|
|
69501
69498
|
const r = Be(), { close: e } = Mg();
|
|
69502
69499
|
return /* @__PURE__ */ x("div", { className: "pointer-events-auto invisible absolute right-0 top-0 flex justify-end opacity-0 transition-[opacity,visibility] duration-200 group-data-[expanded]/toasts:visible group-data-[expanded]/toasts:opacity-100", children: /* @__PURE__ */ x(
|
|
69503
69500
|
lt,
|
|
@@ -69508,7 +69505,7 @@ const Vpe = ne(
|
|
|
69508
69505
|
onClick: () => e()
|
|
69509
69506
|
}
|
|
69510
69507
|
) });
|
|
69511
|
-
},
|
|
69508
|
+
}, rge = (r) => {
|
|
69512
69509
|
const { update: e } = Mg();
|
|
69513
69510
|
as(
|
|
69514
69511
|
function() {
|
|
@@ -69530,7 +69527,7 @@ const Vpe = ne(
|
|
|
69530
69527
|
const { toasts: i } = Mg(), a = fe(null), o = i.filter(
|
|
69531
69528
|
(c) => c.transitionStatus !== "ending"
|
|
69532
69529
|
);
|
|
69533
|
-
|
|
69530
|
+
rge(o), h2(
|
|
69534
69531
|
t,
|
|
69535
69532
|
() => ({
|
|
69536
69533
|
isInUse: () => a.current?.hasAttribute("data-expanded") ?? !1,
|
|
@@ -69545,7 +69542,7 @@ const Vpe = ne(
|
|
|
69545
69542
|
},
|
|
69546
69543
|
[s, n]
|
|
69547
69544
|
);
|
|
69548
|
-
const l =
|
|
69545
|
+
const l = ege(o), u = {
|
|
69549
69546
|
"--stack-collapsed-height": `${l.collapsed}px`,
|
|
69550
69547
|
"--stack-expanded-height": `${l.expanded}px`
|
|
69551
69548
|
};
|
|
@@ -69566,24 +69563,24 @@ const Vpe = ne(
|
|
|
69566
69563
|
style: u,
|
|
69567
69564
|
children: [
|
|
69568
69565
|
i.map((c) => /* @__PURE__ */ x(
|
|
69569
|
-
|
|
69566
|
+
jpe,
|
|
69570
69567
|
{
|
|
69571
69568
|
toast: c,
|
|
69572
69569
|
buried: o.indexOf(c) >= $5
|
|
69573
69570
|
},
|
|
69574
69571
|
`${c.id}:${c.data?.renderKey ?? 0}`
|
|
69575
69572
|
)),
|
|
69576
|
-
o.length > 1 ? /* @__PURE__ */ x(
|
|
69573
|
+
o.length > 1 ? /* @__PURE__ */ x(tge, {}) : null
|
|
69577
69574
|
]
|
|
69578
69575
|
}
|
|
69579
69576
|
);
|
|
69580
|
-
},
|
|
69577
|
+
}, nge = "#content", ige = (r) => {
|
|
69581
69578
|
const [e, t] = he({ inset: 0 });
|
|
69582
69579
|
return a2(
|
|
69583
69580
|
function() {
|
|
69584
69581
|
if (!r || typeof document > "u")
|
|
69585
69582
|
return;
|
|
69586
|
-
const i = document.querySelector(
|
|
69583
|
+
const i = document.querySelector(nge);
|
|
69587
69584
|
if (!i) {
|
|
69588
69585
|
t({ inset: 0 });
|
|
69589
69586
|
return;
|
|
@@ -69605,7 +69602,7 @@ const Vpe = ne(
|
|
|
69605
69602
|
},
|
|
69606
69603
|
[r]
|
|
69607
69604
|
), e;
|
|
69608
|
-
},
|
|
69605
|
+
}, age = () => {
|
|
69609
69606
|
const [r, e] = he(!1);
|
|
69610
69607
|
return Te(function() {
|
|
69611
69608
|
const n = () => e(!0), i = () => e(!1);
|
|
@@ -69613,11 +69610,11 @@ const Vpe = ne(
|
|
|
69613
69610
|
window.removeEventListener("blur", n), window.removeEventListener("focus", i);
|
|
69614
69611
|
};
|
|
69615
69612
|
}, []), r;
|
|
69616
|
-
}, DI = Number.POSITIVE_INFINITY,
|
|
69613
|
+
}, DI = Number.POSITIVE_INFINITY, oge = ({
|
|
69617
69614
|
messages: r,
|
|
69618
69615
|
app: e
|
|
69619
69616
|
}) => {
|
|
69620
|
-
const [t, n] = he(!1), [i, a] = he(!1), o =
|
|
69617
|
+
const [t, n] = he(!1), [i, a] = he(!1), o = ige(t || i), s = age(), l = Be();
|
|
69621
69618
|
return /* @__PURE__ */ x(
|
|
69622
69619
|
"div",
|
|
69623
69620
|
{
|
|
@@ -69652,7 +69649,7 @@ const Vpe = ne(
|
|
|
69652
69649
|
] })
|
|
69653
69650
|
}
|
|
69654
69651
|
);
|
|
69655
|
-
},
|
|
69652
|
+
}, sge = ({
|
|
69656
69653
|
children: r,
|
|
69657
69654
|
portalTargets: e = {
|
|
69658
69655
|
// Portal into the top-level overlay root (outside the ApplicationFrame
|
|
@@ -69672,7 +69669,7 @@ const Vpe = ne(
|
|
|
69672
69669
|
const { id: d, release: h } = Ng.acquireRenderer();
|
|
69673
69670
|
return t.current = d, h;
|
|
69674
69671
|
}, []);
|
|
69675
|
-
const i = n !== null && n === t.current, a =
|
|
69672
|
+
const i = n !== null && n === t.current, a = ove(), [o, s] = he(null), [l, u] = he(0), c = fe(null);
|
|
69676
69673
|
return Te(
|
|
69677
69674
|
function() {
|
|
69678
69675
|
if (typeof document > "u")
|
|
@@ -69683,18 +69680,18 @@ const Vpe = ne(
|
|
|
69683
69680
|
[a, e?.mobile, e?.desktop]
|
|
69684
69681
|
), /* @__PURE__ */ B(nt, { children: [
|
|
69685
69682
|
i && o != null ? Vf(
|
|
69686
|
-
/* @__PURE__ */ x(lu, { children: /* @__PURE__ */ x(
|
|
69683
|
+
/* @__PURE__ */ x(lu, { children: /* @__PURE__ */ x(oge, { messages: o3, app: a3 }) }, l),
|
|
69687
69684
|
o
|
|
69688
69685
|
) : null,
|
|
69689
69686
|
r
|
|
69690
69687
|
] });
|
|
69691
|
-
},
|
|
69688
|
+
}, lge = na(
|
|
69692
69689
|
null
|
|
69693
|
-
),
|
|
69690
|
+
), uge = ({ children: r, fullScreen: e = !0 }) => {
|
|
69694
69691
|
const t = fe(null), [n, i] = he(t.current);
|
|
69695
69692
|
return a2(() => {
|
|
69696
69693
|
i(t.current);
|
|
69697
|
-
}, []), /* @__PURE__ */ x(
|
|
69694
|
+
}, []), /* @__PURE__ */ x(lge.Provider, { value: { element: n }, children: /* @__PURE__ */ B(
|
|
69698
69695
|
"div",
|
|
69699
69696
|
{
|
|
69700
69697
|
ref: t,
|
|
@@ -69708,11 +69705,11 @@ const Vpe = ne(
|
|
|
69708
69705
|
]
|
|
69709
69706
|
}
|
|
69710
69707
|
) });
|
|
69711
|
-
},
|
|
69708
|
+
}, cge = ({
|
|
69712
69709
|
children: r
|
|
69713
69710
|
}) => /* @__PURE__ */ x(c3, { reducedMotion: "user", children: r }), U5 = na(
|
|
69714
69711
|
void 0
|
|
69715
|
-
),
|
|
69712
|
+
), mme = () => ia(U5), yme = ({
|
|
69716
69713
|
children: r,
|
|
69717
69714
|
layout: e,
|
|
69718
69715
|
link: t,
|
|
@@ -69727,14 +69724,14 @@ const Vpe = ne(
|
|
|
69727
69724
|
renderDataTestIdAttribute: f = !1,
|
|
69728
69725
|
formComponent: d,
|
|
69729
69726
|
map: h
|
|
69730
|
-
}) => /* @__PURE__ */ x(
|
|
69727
|
+
}) => /* @__PURE__ */ x(cge, { children: /* @__PURE__ */ x(
|
|
69731
69728
|
aH,
|
|
69732
69729
|
{
|
|
69733
69730
|
isDev: l,
|
|
69734
69731
|
showExperimentalWarnings: c,
|
|
69735
69732
|
renderDataTestIdAttribute: f,
|
|
69736
69733
|
hourCycle: s,
|
|
69737
|
-
children: /* @__PURE__ */ x(oH, { ...o, children: /* @__PURE__ */ x(sH, { ...a, children: /* @__PURE__ */ x(lH, { ...t, children: /* @__PURE__ */ x(
|
|
69734
|
+
children: /* @__PURE__ */ x(oH, { ...o, children: /* @__PURE__ */ x(sH, { ...a, children: /* @__PURE__ */ x(lH, { ...t, children: /* @__PURE__ */ x(uge, { ...e, children: /* @__PURE__ */ x(uH, { children: /* @__PURE__ */ x(
|
|
69738
69735
|
s3,
|
|
69739
69736
|
{
|
|
69740
69737
|
initiallyEnabled: n,
|
|
@@ -69743,7 +69740,7 @@ const Vpe = ne(
|
|
|
69743
69740
|
{
|
|
69744
69741
|
handler: u,
|
|
69745
69742
|
children: /* @__PURE__ */ x(Dce, { children: /* @__PURE__ */ x(
|
|
69746
|
-
|
|
69743
|
+
sge,
|
|
69747
69744
|
{
|
|
69748
69745
|
portalTargets: {
|
|
69749
69746
|
mobile: "#f0-overlay-root",
|
|
@@ -69765,318 +69762,318 @@ const Vpe = ne(
|
|
|
69765
69762
|
}
|
|
69766
69763
|
) });
|
|
69767
69764
|
export {
|
|
69768
|
-
|
|
69769
|
-
|
|
69770
|
-
|
|
69771
|
-
|
|
69765
|
+
Cbe as AiChatTranslationsProvider,
|
|
69766
|
+
Jye as AreaChart,
|
|
69767
|
+
xme as Await,
|
|
69768
|
+
e0e as BarChart,
|
|
69772
69769
|
Sue as BarChartSkeleton,
|
|
69773
|
-
|
|
69774
|
-
|
|
69775
|
-
|
|
69770
|
+
t0e as CardSelectableContainer,
|
|
69771
|
+
r0e as CategoryBarChart,
|
|
69772
|
+
wme as ChatSpinner,
|
|
69776
69773
|
tv as Chip,
|
|
69777
|
-
|
|
69778
|
-
|
|
69779
|
-
|
|
69780
|
-
|
|
69781
|
-
|
|
69774
|
+
Tbe as CollapsibleGroup,
|
|
69775
|
+
n0e as ComboChart,
|
|
69776
|
+
i0e as DATA_COLLECTION_URL_PARAMS,
|
|
69777
|
+
a0e as DATA_COLLECTION_URL_PARAM_PREFIX,
|
|
69778
|
+
Sge as Dashboard,
|
|
69782
69779
|
jV as DataChartEmptyStateView,
|
|
69783
69780
|
pG as DataTestIdWrapper,
|
|
69784
|
-
|
|
69785
|
-
|
|
69786
|
-
|
|
69787
|
-
|
|
69781
|
+
o0e as DndProvider,
|
|
69782
|
+
Sme as DropOverlay,
|
|
69783
|
+
Cme as EmojiImage,
|
|
69784
|
+
Bge as F0Accordion,
|
|
69788
69785
|
FH as F0ActionBar,
|
|
69789
|
-
|
|
69790
|
-
|
|
69791
|
-
|
|
69792
|
-
|
|
69793
|
-
|
|
69794
|
-
|
|
69795
|
-
|
|
69796
|
-
|
|
69797
|
-
|
|
69798
|
-
|
|
69799
|
-
|
|
69800
|
-
|
|
69801
|
-
|
|
69802
|
-
|
|
69803
|
-
|
|
69804
|
-
|
|
69805
|
-
|
|
69806
|
-
|
|
69807
|
-
|
|
69808
|
-
|
|
69809
|
-
|
|
69810
|
-
|
|
69786
|
+
Tme as F0ActionItem,
|
|
69787
|
+
Dme as F0AiChat,
|
|
69788
|
+
Dbe as F0AiChatCreditsButton,
|
|
69789
|
+
Abe as F0AiChatHeader,
|
|
69790
|
+
Mbe as F0AiChatHistory,
|
|
69791
|
+
Ame as F0AiChatProvider,
|
|
69792
|
+
Ebe as F0AiChatTextArea,
|
|
69793
|
+
Lbe as F0AiChatUsageLimitsButton,
|
|
69794
|
+
Mme as F0AiFormRegistryProvider,
|
|
69795
|
+
Nbe as F0AiInsightCard,
|
|
69796
|
+
Ibe as F0AiMask,
|
|
69797
|
+
Pbe as F0AiMessageSources,
|
|
69798
|
+
kbe as F0AiMessagesContainer,
|
|
69799
|
+
Eme as F0AiPong,
|
|
69800
|
+
Rbe as F0AiProcessingOverlay,
|
|
69801
|
+
Obe as F0AiProposalCard,
|
|
69802
|
+
Bbe as F0AiTableCard,
|
|
69803
|
+
s0e as F0Alert,
|
|
69804
|
+
pme as F0AnalyticsDashboard,
|
|
69805
|
+
kge as F0AudioPlayer,
|
|
69806
|
+
Rge as F0AudioPlayerCard,
|
|
69807
|
+
zbe as F0AuraVoiceAnimation,
|
|
69811
69808
|
e2 as F0Avatar,
|
|
69812
69809
|
OI as F0AvatarAlert,
|
|
69813
|
-
|
|
69814
|
-
|
|
69815
|
-
|
|
69816
|
-
|
|
69817
|
-
|
|
69818
|
-
|
|
69810
|
+
Lme as F0AvatarCompany,
|
|
69811
|
+
Nme as F0AvatarDate,
|
|
69812
|
+
Ime as F0AvatarEmoji,
|
|
69813
|
+
Pme as F0AvatarFile,
|
|
69814
|
+
kme as F0AvatarIcon,
|
|
69815
|
+
Rme as F0AvatarList,
|
|
69819
69816
|
QI as F0AvatarModule,
|
|
69820
|
-
|
|
69821
|
-
|
|
69822
|
-
|
|
69823
|
-
|
|
69817
|
+
Ome as F0AvatarPerson,
|
|
69818
|
+
Bme as F0AvatarTeam,
|
|
69819
|
+
Ege as F0BigNumber,
|
|
69820
|
+
hme as F0BookAMeetingCard,
|
|
69824
69821
|
En as F0Box,
|
|
69825
69822
|
lt as F0Button,
|
|
69826
|
-
|
|
69827
|
-
|
|
69828
|
-
|
|
69829
|
-
|
|
69830
|
-
|
|
69831
|
-
|
|
69823
|
+
zme as F0ButtonDropdown,
|
|
69824
|
+
Vme as F0ButtonToggle,
|
|
69825
|
+
Vbe as F0CanvasCard,
|
|
69826
|
+
Fme as F0CanvasPanel,
|
|
69827
|
+
Gme as F0Card,
|
|
69828
|
+
Hme as F0CardRow,
|
|
69832
69829
|
Yc as F0Checkbox,
|
|
69833
|
-
|
|
69834
|
-
|
|
69830
|
+
Vge as F0ChipList,
|
|
69831
|
+
Fbe as F0ClarifyingPanel,
|
|
69835
69832
|
kue as F0DataChart,
|
|
69836
|
-
|
|
69837
|
-
|
|
69838
|
-
|
|
69833
|
+
l0e as F0DatePicker,
|
|
69834
|
+
u0e as F0DatePickerInline,
|
|
69835
|
+
cme as F0DemoCard,
|
|
69839
69836
|
RG as F0Dialog,
|
|
69840
|
-
|
|
69841
|
-
|
|
69837
|
+
c0e as F0DialogAlikeContext,
|
|
69838
|
+
f0e as F0DialogAlikeProvider,
|
|
69842
69839
|
ZI as F0DialogContext,
|
|
69843
|
-
|
|
69844
|
-
|
|
69845
|
-
|
|
69846
|
-
|
|
69847
|
-
|
|
69848
|
-
|
|
69849
|
-
|
|
69850
|
-
|
|
69851
|
-
|
|
69840
|
+
Wme as F0DialogProvider,
|
|
69841
|
+
ybe as F0DocumentViewer,
|
|
69842
|
+
Uge as F0Drawer,
|
|
69843
|
+
d0e as F0DurationInput,
|
|
69844
|
+
$me as F0EventCatcherProvider,
|
|
69845
|
+
fme as F0FAQCard,
|
|
69846
|
+
Ume as F0FileItem,
|
|
69847
|
+
Yge as F0FilterPickerContent,
|
|
69848
|
+
h0e as F0Form,
|
|
69852
69849
|
Sr as F0FormField,
|
|
69853
|
-
|
|
69854
|
-
|
|
69855
|
-
|
|
69850
|
+
tme as F0GridStack,
|
|
69851
|
+
Gbe as F0HILActionConfirmation,
|
|
69852
|
+
v0e as F0Heading,
|
|
69856
69853
|
ut as F0Icon,
|
|
69857
69854
|
nH as F0Link,
|
|
69858
|
-
|
|
69859
|
-
|
|
69860
|
-
|
|
69855
|
+
dme as F0ModuleCard,
|
|
69856
|
+
p0e as F0NotesTextEditor,
|
|
69857
|
+
g0e as F0NotesTextEditorSkeleton,
|
|
69861
69858
|
qH as F0NumberInput,
|
|
69862
|
-
|
|
69859
|
+
m0e as F0NumberInputInline,
|
|
69863
69860
|
DG as F0OneIcon,
|
|
69864
|
-
|
|
69865
|
-
|
|
69866
|
-
|
|
69867
|
-
|
|
69861
|
+
Yme as F0OneSwitch,
|
|
69862
|
+
bbe as F0PdfViewer,
|
|
69863
|
+
yme as F0Provider,
|
|
69864
|
+
vme as F0QuestionCardMultiStep,
|
|
69868
69865
|
qG as F0RichTextDisplay,
|
|
69869
|
-
|
|
69870
|
-
|
|
69871
|
-
|
|
69872
|
-
|
|
69873
|
-
|
|
69874
|
-
|
|
69875
|
-
|
|
69866
|
+
y0e as F0RichTextEditor,
|
|
69867
|
+
Xme as F0SearchInput,
|
|
69868
|
+
qme as F0Select,
|
|
69869
|
+
Zme as F0SelectInline,
|
|
69870
|
+
Kge as F0Slider,
|
|
69871
|
+
rme as F0TableOfContentPopover,
|
|
69872
|
+
jme as F0TagAlert,
|
|
69876
69873
|
iG as F0TagBalance,
|
|
69877
|
-
|
|
69878
|
-
|
|
69879
|
-
|
|
69880
|
-
|
|
69874
|
+
Kme as F0TagCompany,
|
|
69875
|
+
Qme as F0TagDot,
|
|
69876
|
+
Jme as F0TagList,
|
|
69877
|
+
eye as F0TagPerson,
|
|
69881
69878
|
qI as F0TagRaw,
|
|
69882
69879
|
FI as F0TagStatus,
|
|
69883
|
-
|
|
69880
|
+
tye as F0TagTeam,
|
|
69884
69881
|
qc as F0Text,
|
|
69885
|
-
|
|
69886
|
-
|
|
69882
|
+
b0e as F0TextAreaInput,
|
|
69883
|
+
_0e as F0TextAreaInputInline,
|
|
69887
69884
|
EG as F0TextInput,
|
|
69888
|
-
|
|
69889
|
-
|
|
69890
|
-
|
|
69891
|
-
|
|
69892
|
-
|
|
69893
|
-
|
|
69894
|
-
|
|
69885
|
+
x0e as F0TextInputInline,
|
|
69886
|
+
Jge as F0TimelineRow,
|
|
69887
|
+
gbe as F0VideoPlayer,
|
|
69888
|
+
qge as F0WizardForm,
|
|
69889
|
+
w0e as F1SearchBox,
|
|
69890
|
+
S0e as FILE_TYPES,
|
|
69891
|
+
rye as FileItem,
|
|
69895
69892
|
_3 as FormCardValueFormatterProvider,
|
|
69896
69893
|
Eue as FunnelChartSkeleton,
|
|
69897
|
-
|
|
69898
|
-
|
|
69894
|
+
nye as GROUP_ID_SYMBOL,
|
|
69895
|
+
iye as GROUP_KEY_SEPARATOR,
|
|
69899
69896
|
Iue as GaugeChartSkeleton,
|
|
69900
69897
|
Pue as HeatmapChartSkeleton,
|
|
69901
|
-
|
|
69902
|
-
|
|
69898
|
+
Age as HomeLayout,
|
|
69899
|
+
C0e as InlineFieldRow,
|
|
69903
69900
|
PH as InlineFieldRowList,
|
|
69904
|
-
|
|
69905
|
-
|
|
69906
|
-
|
|
69901
|
+
T0e as Input,
|
|
69902
|
+
Cge as Layout,
|
|
69903
|
+
D0e as LineChart,
|
|
69907
69904
|
Due as LineChartSkeleton,
|
|
69908
|
-
|
|
69909
|
-
|
|
69910
|
-
|
|
69911
|
-
|
|
69912
|
-
|
|
69913
|
-
|
|
69905
|
+
A0e as MAX_URL_FILTER_VALUES,
|
|
69906
|
+
M0e as NotesTextEditor,
|
|
69907
|
+
E0e as NotesTextEditorSkeleton,
|
|
69908
|
+
L0e as NumberInput,
|
|
69909
|
+
aye as OneCalendar,
|
|
69910
|
+
oye as OneCalendarInternal,
|
|
69914
69911
|
bl as OneEllipsis,
|
|
69915
69912
|
Lx as OneEmptyState,
|
|
69916
69913
|
tH as OneFilterPicker,
|
|
69917
|
-
|
|
69914
|
+
N0e as PieChart,
|
|
69918
69915
|
Lue as PieChartSkeleton,
|
|
69919
|
-
|
|
69916
|
+
sye as PongBall,
|
|
69920
69917
|
s3 as PrivacyModeProvider,
|
|
69921
|
-
|
|
69922
|
-
|
|
69923
|
-
|
|
69924
|
-
|
|
69925
|
-
|
|
69926
|
-
|
|
69918
|
+
Nde as ProductBlankslate,
|
|
69919
|
+
I0e as ProductCard,
|
|
69920
|
+
ome as ProductModal,
|
|
69921
|
+
Rde as ProductWidget,
|
|
69922
|
+
P0e as ProgressBarChart,
|
|
69923
|
+
k0e as RadarChart,
|
|
69927
69924
|
Nue as RadarChartSkeleton,
|
|
69928
|
-
|
|
69929
|
-
|
|
69925
|
+
lye as RichTextDisplay,
|
|
69926
|
+
R0e as RichTextEditor,
|
|
69930
69927
|
Mue as ScatterChartSkeleton,
|
|
69931
|
-
|
|
69928
|
+
Tge as StandardLayout,
|
|
69932
69929
|
e5 as SurveyAllQuestionsLoadingSkeleton,
|
|
69933
|
-
|
|
69934
|
-
|
|
69935
|
-
|
|
69936
|
-
|
|
69937
|
-
|
|
69938
|
-
|
|
69939
|
-
|
|
69940
|
-
|
|
69941
|
-
|
|
69942
|
-
|
|
69943
|
-
|
|
69944
|
-
|
|
69930
|
+
ime as SurveyAnsweringForm,
|
|
69931
|
+
nme as SurveyFormBuilder,
|
|
69932
|
+
ame as SurveySampleQuestion,
|
|
69933
|
+
vde as SurveySteppedLoadingSkeleton,
|
|
69934
|
+
eme as Tag,
|
|
69935
|
+
uye as TagCounter,
|
|
69936
|
+
O0e as Textarea,
|
|
69937
|
+
Hbe as ThreadItem,
|
|
69938
|
+
Wbe as ThreadListSkeleton,
|
|
69939
|
+
sge as ToastProvider,
|
|
69940
|
+
Dge as TwoColumnLayout,
|
|
69941
|
+
B0e as UPLOAD_INPUT_ID,
|
|
69945
69942
|
c2 as UpsellRequestResponseDialog,
|
|
69946
|
-
|
|
69947
|
-
|
|
69943
|
+
sme as UpsellingAlert,
|
|
69944
|
+
lme as UpsellingBanner,
|
|
69948
69945
|
Nx as UpsellingButton,
|
|
69949
|
-
|
|
69950
|
-
|
|
69951
|
-
|
|
69952
|
-
|
|
69953
|
-
|
|
69954
|
-
|
|
69955
|
-
|
|
69956
|
-
|
|
69957
|
-
|
|
69958
|
-
|
|
69959
|
-
|
|
69960
|
-
|
|
69961
|
-
|
|
69962
|
-
|
|
69963
|
-
|
|
69964
|
-
|
|
69965
|
-
|
|
69966
|
-
|
|
69967
|
-
|
|
69968
|
-
|
|
69969
|
-
|
|
69970
|
-
|
|
69971
|
-
|
|
69972
|
-
|
|
69973
|
-
|
|
69974
|
-
|
|
69975
|
-
|
|
69976
|
-
|
|
69977
|
-
|
|
69978
|
-
|
|
69979
|
-
|
|
69980
|
-
|
|
69946
|
+
ume as UpsellingPopover,
|
|
69947
|
+
z0e as VerticalBarChart,
|
|
69948
|
+
cye as WeekStartDay,
|
|
69949
|
+
V0e as actionBarStatuses,
|
|
69950
|
+
$be as actionItemStatuses,
|
|
69951
|
+
fye as adaptDataAdapterToInfiniteScroll,
|
|
69952
|
+
Ube as aiTranslations,
|
|
69953
|
+
$ge as alertVariantOptions,
|
|
69954
|
+
Pge as audioPlayerSizes,
|
|
69955
|
+
wge as avatarVariants,
|
|
69956
|
+
F0e as buildDataCollectionUrlParams,
|
|
69957
|
+
dye as buildTranslations,
|
|
69958
|
+
Ige as buttonDropdownModes,
|
|
69959
|
+
Nge as buttonDropdownSizes,
|
|
69960
|
+
Lge as buttonDropdownVariants,
|
|
69961
|
+
xge as buttonSizes,
|
|
69962
|
+
G0e as buttonToggleColors,
|
|
69963
|
+
H0e as buttonToggleSizes,
|
|
69964
|
+
W0e as buttonToggleVariants,
|
|
69965
|
+
_ge as buttonVariants,
|
|
69966
|
+
zge as cardAlertVariants,
|
|
69967
|
+
hye as cardImageAspectRatios,
|
|
69968
|
+
vye as cardImageFits,
|
|
69969
|
+
pye as cardImageSizes,
|
|
69970
|
+
gye as chartColorTokens,
|
|
69971
|
+
mye as chipVariants,
|
|
69972
|
+
ide as computeSectionEndIds,
|
|
69973
|
+
wbe as configurePdfWorker,
|
|
69974
|
+
Ybe as contentTypes,
|
|
69975
|
+
$0e as createAtlaskitDriver,
|
|
69976
|
+
yye as createDataSourceDefinition,
|
|
69977
|
+
Xge as createF0FormDefinitionTester,
|
|
69981
69978
|
Ice as createF0FormTester,
|
|
69982
69979
|
G3 as createPageLayoutBlock,
|
|
69983
69980
|
H3 as createPageLayoutBlockGroup,
|
|
69984
|
-
|
|
69985
|
-
|
|
69986
|
-
|
|
69987
|
-
|
|
69988
|
-
|
|
69989
|
-
|
|
69981
|
+
Xbe as createPersonMentionSource,
|
|
69982
|
+
Gge as dataCollectionLocalStorageHandler,
|
|
69983
|
+
Hge as datePickerInlineDismissReasons,
|
|
69984
|
+
Wge as datepickerSizes,
|
|
69985
|
+
i_e as defaultTranslations,
|
|
69986
|
+
bye as defineAvailableForm,
|
|
69990
69987
|
Lce as describeFormSchema,
|
|
69991
|
-
|
|
69992
|
-
|
|
69993
|
-
|
|
69994
|
-
|
|
69995
|
-
|
|
69988
|
+
U0e as dialog,
|
|
69989
|
+
Y0e as dialogs,
|
|
69990
|
+
X0e as drawers,
|
|
69991
|
+
_ye as durationInputSizes,
|
|
69992
|
+
xye as durationUnits,
|
|
69996
69993
|
NH as evaluateRenderIf,
|
|
69997
69994
|
sr as experimental,
|
|
69998
|
-
|
|
69995
|
+
wye as f0FileItemSizes,
|
|
69999
69996
|
Wr as f0FormField,
|
|
70000
|
-
|
|
70001
|
-
|
|
69997
|
+
Sye as fieldsToSeconds,
|
|
69998
|
+
rde as flattenElements,
|
|
70002
69999
|
Mf as formatPlaybackTime,
|
|
70003
|
-
|
|
70004
|
-
|
|
70005
|
-
|
|
70000
|
+
Zge as forms,
|
|
70001
|
+
q0e as generateAnchorId,
|
|
70002
|
+
Cye as getAnimationVariants,
|
|
70006
70003
|
zS as getDataCollectionStorageKey,
|
|
70007
|
-
|
|
70008
|
-
|
|
70004
|
+
Tye as getDataSourcePaginationType,
|
|
70005
|
+
Dye as getEmojiLabel,
|
|
70009
70006
|
Of as getF0Config,
|
|
70010
|
-
|
|
70011
|
-
|
|
70012
|
-
|
|
70013
|
-
|
|
70014
|
-
|
|
70015
|
-
|
|
70007
|
+
Aye as getGranularityDefinition,
|
|
70008
|
+
Mye as getGranularityDefinitions,
|
|
70009
|
+
Eye as getGranularitySimpleDefinition,
|
|
70010
|
+
Z0e as getSchemaDefinition,
|
|
70011
|
+
Lye as granularityDefinitions,
|
|
70012
|
+
Nye as hasF0Config,
|
|
70016
70013
|
mG as inferFieldType,
|
|
70017
|
-
|
|
70018
|
-
|
|
70019
|
-
|
|
70020
|
-
|
|
70021
|
-
|
|
70022
|
-
|
|
70023
|
-
|
|
70024
|
-
|
|
70025
|
-
|
|
70026
|
-
|
|
70027
|
-
|
|
70028
|
-
|
|
70029
|
-
|
|
70030
|
-
|
|
70014
|
+
nde as injectSectionEnds,
|
|
70015
|
+
Iye as isInfiniteScrollPagination,
|
|
70016
|
+
Pye as isPageBasedPagination,
|
|
70017
|
+
kye as isZodType,
|
|
70018
|
+
Oge as linkVariants,
|
|
70019
|
+
qbe as markdownRenderers,
|
|
70020
|
+
Rye as mergeDataCollectionFilters,
|
|
70021
|
+
Oye as modules,
|
|
70022
|
+
Zbe as oneIconSizes,
|
|
70023
|
+
j0e as parseDataCollectionUrlParams,
|
|
70024
|
+
_be as pdfScales,
|
|
70025
|
+
K0e as predefinedPresets,
|
|
70026
|
+
Bye as rangeSeparator,
|
|
70027
|
+
zye as readDataCollectionStorage,
|
|
70031
70028
|
QN as reconstructElements,
|
|
70032
|
-
|
|
70033
|
-
|
|
70034
|
-
|
|
70035
|
-
|
|
70036
|
-
|
|
70037
|
-
|
|
70038
|
-
|
|
70039
|
-
|
|
70040
|
-
|
|
70041
|
-
|
|
70042
|
-
|
|
70043
|
-
|
|
70044
|
-
|
|
70045
|
-
|
|
70046
|
-
|
|
70047
|
-
|
|
70048
|
-
|
|
70029
|
+
Vye as resolveDataCollectionFilters,
|
|
70030
|
+
Fye as resolveGranularityDefinition,
|
|
70031
|
+
Q0e as resolveItemNeighbors,
|
|
70032
|
+
J0e as resolveWindowNeighbors,
|
|
70033
|
+
Gye as secondsToFields,
|
|
70034
|
+
Hye as secondsToVisibleFields,
|
|
70035
|
+
Fge as selectInlineDismissReasons,
|
|
70036
|
+
ebe as selectSizes,
|
|
70037
|
+
tbe as selectVariants,
|
|
70038
|
+
rbe as setDataCollectionUrlParams,
|
|
70039
|
+
jge as sliderTooltipModes,
|
|
70040
|
+
nbe as syncDataCollectionUrlParams,
|
|
70041
|
+
Mge as tagDotColors,
|
|
70042
|
+
Qge as timelineRowStatuses,
|
|
70043
|
+
ibe as toasts,
|
|
70044
|
+
Wye as unwrapZodSchema,
|
|
70045
|
+
jbe as usageLimitsPopoverSides,
|
|
70049
70046
|
t2 as useAiChat,
|
|
70050
|
-
|
|
70047
|
+
Kbe as useAiChatTranslations,
|
|
70051
70048
|
CH as useAudioPlayer,
|
|
70052
|
-
|
|
70053
|
-
|
|
70054
|
-
|
|
70055
|
-
|
|
70056
|
-
|
|
70049
|
+
Qbe as useCanvasEntity,
|
|
70050
|
+
Jbe as useChatHistory,
|
|
70051
|
+
$ye as useData,
|
|
70052
|
+
Uye as useDataSource,
|
|
70053
|
+
abe as useDataSourceItemNavigation,
|
|
70057
70054
|
vce as useDerivedTranscription,
|
|
70058
|
-
|
|
70059
|
-
|
|
70060
|
-
|
|
70061
|
-
|
|
70062
|
-
|
|
70063
|
-
|
|
70064
|
-
|
|
70055
|
+
obe as useDndEvents,
|
|
70056
|
+
sbe as useDraggable,
|
|
70057
|
+
lbe as useDroppableList,
|
|
70058
|
+
Yye as useEmojiConfetti,
|
|
70059
|
+
Xye as useF0AiFormRegistry,
|
|
70060
|
+
qye as useF0Dialog,
|
|
70061
|
+
ube as useF0DialogAlikeContext,
|
|
70065
70062
|
Dx as useF0Form,
|
|
70066
|
-
|
|
70067
|
-
|
|
70068
|
-
|
|
70069
|
-
|
|
70070
|
-
|
|
70071
|
-
|
|
70072
|
-
|
|
70073
|
-
|
|
70063
|
+
cbe as useF0FormDefinition,
|
|
70064
|
+
e_e as useFormCardValueFormatter,
|
|
70065
|
+
mme as useFormComponent,
|
|
70066
|
+
Zye as useGroups,
|
|
70067
|
+
gme as useIsDesktop,
|
|
70068
|
+
ove as useIsMobile,
|
|
70069
|
+
fbe as useItemNeighbors,
|
|
70070
|
+
dbe as usePrivacyMode,
|
|
70074
70071
|
Ep as useReducedMotion,
|
|
70075
|
-
|
|
70076
|
-
|
|
70077
|
-
|
|
70078
|
-
|
|
70079
|
-
|
|
70072
|
+
hbe as useSchemaDefinition,
|
|
70073
|
+
jye as useSelectable,
|
|
70074
|
+
t_e as useSetFormCardValueFormatter,
|
|
70075
|
+
r_e as useToolCallId,
|
|
70076
|
+
Kye as useXRay,
|
|
70080
70077
|
yt as withDataTestId,
|
|
70081
|
-
|
|
70078
|
+
vbe as writeDataCollectionStorage
|
|
70082
70079
|
};
|