@factorialco/f0-react 6.62.0 → 6.63.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/{F0AiProcessingOverlay-DZeOFTnB.js → F0AiProcessingOverlay-De0y15ST.js} +8 -7
- package/dist/{LocationMap-CCsKbjT9.js → LocationMap-BEECe4Ml.js} +1 -1
- package/dist/ai.d.ts +12 -12
- package/dist/ai.js +1 -1
- package/dist/component-status.d.ts +12 -12
- package/dist/component-status.js +1 -1
- package/dist/{experimental-JPq5h5Bq.js → experimental-CcPeQK5_.js} +456 -434
- package/dist/experimental.d.ts +12 -12
- package/dist/experimental.js +1 -1
- package/dist/f0.d.ts +12 -12
- package/dist/f0.js +2 -2
- package/dist/i18n-provider-defaults.d.ts +12 -12
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ function wp(C, l, f) {
|
|
|
16
16
|
const U = gS(C, l) / jx;
|
|
17
17
|
return Lx(f?.roundingMethod)(U);
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const EZ = ["sm", "md", "lg"], TZ = [
|
|
20
20
|
"categorical-1",
|
|
21
21
|
"categorical-2",
|
|
22
22
|
"categorical-3",
|
|
@@ -929,8 +929,8 @@ const Zm = Zt.create(Ig), Nm = {
|
|
|
929
929
|
)
|
|
930
930
|
] })
|
|
931
931
|
] });
|
|
932
|
-
}, Dp = qI(null),
|
|
933
|
-
function
|
|
932
|
+
}, Dp = qI(null), kZ = Dp.Provider;
|
|
933
|
+
function ZZ() {
|
|
934
934
|
return Ji(Dp);
|
|
935
935
|
}
|
|
936
936
|
function US(C, l) {
|
|
@@ -955,7 +955,7 @@ function US(C, l) {
|
|
|
955
955
|
f
|
|
956
956
|
]);
|
|
957
957
|
}
|
|
958
|
-
function
|
|
958
|
+
function NZ({
|
|
959
959
|
module: C,
|
|
960
960
|
statusTag: l = void 0,
|
|
961
961
|
breadcrumbs: f = [],
|
|
@@ -1123,7 +1123,7 @@ function QS({ action: C }) {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
);
|
|
1125
1125
|
}
|
|
1126
|
-
const
|
|
1126
|
+
const KZ = c1, r0 = process.env.NODE_ENV !== "production", A0 = (C) => {
|
|
1127
1127
|
r0 && console.warn(`[f0] ${C}`);
|
|
1128
1128
|
}, yS = (C) => {
|
|
1129
1129
|
r0 && !sd.hasProvider() && console.warn(
|
|
@@ -1167,7 +1167,7 @@ const TZ = c1, r0 = process.env.NODE_ENV !== "production", A0 = (C) => {
|
|
|
1167
1167
|
sd.removeItem(C);
|
|
1168
1168
|
}, _S = () => {
|
|
1169
1169
|
sd.clear();
|
|
1170
|
-
},
|
|
1170
|
+
}, WZ = {
|
|
1171
1171
|
/**
|
|
1172
1172
|
* Show a coachmark, or queue it behind the one already on screen.
|
|
1173
1173
|
* @param options One coachmark, or a sequence of `steps`
|
|
@@ -1536,7 +1536,7 @@ const TZ = c1, r0 = process.env.NODE_ENV !== "production", A0 = (C) => {
|
|
|
1536
1536
|
);
|
|
1537
1537
|
};
|
|
1538
1538
|
a0.displayName = "F0EmojiPicker";
|
|
1539
|
-
const
|
|
1539
|
+
const YZ = ["sm", "md", "lg"], zZ = VI(
|
|
1540
1540
|
jg("F0EmojiPicker", a0)
|
|
1541
1541
|
), l0 = Ar({
|
|
1542
1542
|
base: "flex w-full flex-col rounded-lg p-[1px]",
|
|
@@ -1668,7 +1668,7 @@ const ZZ = ["sm", "md", "lg"], NZ = VI(
|
|
|
1668
1668
|
(C, l) => /* @__PURE__ */ p(WS, { ref: l, ...C })
|
|
1669
1669
|
), zS = ({ compact: C, variant: l }) => /* @__PURE__ */ p(YS, { compact: C, variant: l });
|
|
1670
1670
|
c0.displayName = "F0Callout";
|
|
1671
|
-
const
|
|
1671
|
+
const JZ = XI(
|
|
1672
1672
|
VI(c0),
|
|
1673
1673
|
zS
|
|
1674
1674
|
), d0 = 10, u0 = 3, Ym = (C, l) => {
|
|
@@ -1998,18 +1998,18 @@ const sv = ({ compact: C = !1 }) => /* @__PURE__ */ p(
|
|
|
1998
1998
|
] })
|
|
1999
1999
|
] })
|
|
2000
2000
|
}
|
|
2001
|
-
),
|
|
2001
|
+
), HZ = VI(
|
|
2002
2002
|
jg(
|
|
2003
2003
|
"F0MeetingCard",
|
|
2004
2004
|
XI(h0, sv)
|
|
2005
2005
|
)
|
|
2006
|
-
),
|
|
2006
|
+
), OZ = [
|
|
2007
2007
|
"scheduled",
|
|
2008
2008
|
"inProgress",
|
|
2009
2009
|
"summarizing",
|
|
2010
2010
|
"finished",
|
|
2011
2011
|
"cancelled"
|
|
2012
|
-
],
|
|
2012
|
+
], jZ = ["auto", "avatars", "count"], av = "Previous", zm = "bg-f1-background", lv = ({
|
|
2013
2013
|
items: C,
|
|
2014
2014
|
currentId: l,
|
|
2015
2015
|
onNavigate: f,
|
|
@@ -2117,7 +2117,7 @@ const sv = ({ compact: C = !1 }) => /* @__PURE__ */ p(
|
|
|
2117
2117
|
children: Te.content
|
|
2118
2118
|
}
|
|
2119
2119
|
);
|
|
2120
|
-
},
|
|
2120
|
+
}, LZ = VI(
|
|
2121
2121
|
jg("F0CarouselDialog", lv)
|
|
2122
2122
|
);
|
|
2123
2123
|
var Sc = { exports: {} };
|
|
@@ -27445,7 +27445,7 @@ const _0 = (C, l) => (!pa && typeof document < "u" && (pa = document.createEleme
|
|
|
27445
27445
|
C.off("zoom", b);
|
|
27446
27446
|
};
|
|
27447
27447
|
}, [C, l]), f;
|
|
27448
|
-
},
|
|
27448
|
+
}, XZ = [
|
|
27449
27449
|
"default",
|
|
27450
27450
|
"workplace",
|
|
27451
27451
|
"employee",
|
|
@@ -28265,7 +28265,7 @@ const uR = ({
|
|
|
28265
28265
|
) });
|
|
28266
28266
|
});
|
|
28267
28267
|
G0.displayName = "F0Map";
|
|
28268
|
-
const
|
|
28268
|
+
const qZ = G0, E0 = bg(
|
|
28269
28269
|
({ value: C, max: l, color: f = "categorical-1", label: U }, b) => {
|
|
28270
28270
|
const S = Vt(), y = Number.isFinite(l) ? Math.max(0, Math.floor(l)) : 0, o = Number.isFinite(C) ? Math.max(0, Math.min(Math.floor(C), y)) : 0, V = Array.from({ length: y }, (T, K) => K < o), E = Q1(f);
|
|
28271
28271
|
return /* @__PURE__ */ p(
|
|
@@ -28298,7 +28298,7 @@ const OZ = G0, E0 = bg(
|
|
|
28298
28298
|
}
|
|
28299
28299
|
);
|
|
28300
28300
|
E0.displayName = "F0SegmentedBar";
|
|
28301
|
-
const
|
|
28301
|
+
const $Z = VI(
|
|
28302
28302
|
jg("F0SegmentedBar", E0)
|
|
28303
28303
|
);
|
|
28304
28304
|
function pR({
|
|
@@ -28425,7 +28425,7 @@ function fR({
|
|
|
28425
28425
|
}
|
|
28426
28426
|
);
|
|
28427
28427
|
}
|
|
28428
|
-
const
|
|
28428
|
+
const eN = VI(
|
|
28429
28429
|
jg("F0VersionHistory", fR)
|
|
28430
28430
|
), T0 = bg(
|
|
28431
28431
|
({ height: C, itemCount: l, itemSize: f, className: U, renderer: b }, S) => {
|
|
@@ -29538,7 +29538,7 @@ const CF = ({
|
|
|
29538
29538
|
)
|
|
29539
29539
|
}
|
|
29540
29540
|
);
|
|
29541
|
-
},
|
|
29541
|
+
}, tN = (C) => {
|
|
29542
29542
|
const [l, f] = We(
|
|
29543
29543
|
(C.alwaysOpen || C.defaultOpen) ?? !1
|
|
29544
29544
|
), U = (H) => {
|
|
@@ -30066,7 +30066,7 @@ const vR = ({
|
|
|
30066
30066
|
}
|
|
30067
30067
|
)
|
|
30068
30068
|
] });
|
|
30069
|
-
},
|
|
30069
|
+
}, gN = jg(
|
|
30070
30070
|
"ActivityItemList",
|
|
30071
30071
|
XI(TR, kR)
|
|
30072
30072
|
), ZR = {
|
|
@@ -30272,7 +30272,7 @@ const YR = ({
|
|
|
30272
30272
|
] }) }) })
|
|
30273
30273
|
]
|
|
30274
30274
|
}
|
|
30275
|
-
),
|
|
30275
|
+
), IN = XI(YR, zR), iN = ({
|
|
30276
30276
|
title: C,
|
|
30277
30277
|
subtitle: l,
|
|
30278
30278
|
buttonLabel: f,
|
|
@@ -30882,7 +30882,7 @@ const OR = () => /* @__PURE__ */ ee("div", { className: "flex flex-col justify-a
|
|
|
30882
30882
|
/* @__PURE__ */ p(lt, { className: "h-2.5 w-14 rounded-2xs" })
|
|
30883
30883
|
] })
|
|
30884
30884
|
] })
|
|
30885
|
-
] }),
|
|
30885
|
+
] }), nN = XI(
|
|
30886
30886
|
$R,
|
|
30887
30887
|
e2
|
|
30888
30888
|
), z0 = "aspect-[2/1]", uF = "after:absolute after:inset-0 after:z-[1] after:rounded-xl after:content-['']", t2 = ({ post: C }) => {
|
|
@@ -31005,7 +31005,7 @@ const OR = () => /* @__PURE__ */ ee("div", { className: "flex flex-col justify-a
|
|
|
31005
31005
|
/* @__PURE__ */ p(lt, { className: "h-3 w-32 rounded-2xs" })
|
|
31006
31006
|
] })
|
|
31007
31007
|
] })
|
|
31008
|
-
] }), I2 = (C) => C.length === 0 || C.some((l) => l.imageUrl),
|
|
31008
|
+
] }), I2 = (C) => C.length === 0 || C.some((l) => l.imageUrl), CN = ({
|
|
31009
31009
|
posts: C,
|
|
31010
31010
|
labels: l,
|
|
31011
31011
|
loading: f = !1,
|
|
@@ -31138,7 +31138,7 @@ const OR = () => /* @__PURE__ */ ee("div", { className: "flex flex-col justify-a
|
|
|
31138
31138
|
] })
|
|
31139
31139
|
] });
|
|
31140
31140
|
J0.displayName = "OnePersonListItem";
|
|
31141
|
-
const
|
|
31141
|
+
const oN = VI(
|
|
31142
31142
|
jg(
|
|
31143
31143
|
"OnePersonListItem",
|
|
31144
31144
|
XI(J0, i2)
|
|
@@ -31215,7 +31215,7 @@ function r2({
|
|
|
31215
31215
|
}
|
|
31216
31216
|
) });
|
|
31217
31217
|
}
|
|
31218
|
-
const
|
|
31218
|
+
const rN = jg(
|
|
31219
31219
|
"ApplicationFrame",
|
|
31220
31220
|
o2
|
|
31221
31221
|
), A2 = ({ contentId: C }) => {
|
|
@@ -31706,7 +31706,7 @@ function O0({
|
|
|
31706
31706
|
);
|
|
31707
31707
|
}
|
|
31708
31708
|
O0.displayName = "DaytimePage";
|
|
31709
|
-
const
|
|
31709
|
+
const AN = VI(
|
|
31710
31710
|
jg("DaytimePage", O0)
|
|
31711
31711
|
);
|
|
31712
31712
|
function d2(C) {
|
|
@@ -31743,7 +31743,7 @@ function u2({ label: C, options: l, hasNewUpdate: f }) {
|
|
|
31743
31743
|
}
|
|
31744
31744
|
);
|
|
31745
31745
|
}
|
|
31746
|
-
const
|
|
31746
|
+
const sN = VI(
|
|
31747
31747
|
jg("OmniButton", u2)
|
|
31748
31748
|
);
|
|
31749
31749
|
function j0({ children: C, header: l, embedded: f = !1 }) {
|
|
@@ -31769,10 +31769,10 @@ function j0({ children: C, header: l, embedded: f = !1 }) {
|
|
|
31769
31769
|
);
|
|
31770
31770
|
}
|
|
31771
31771
|
j0.displayName = "Page";
|
|
31772
|
-
const
|
|
31772
|
+
const aN = VI(jg("Page", j0)), h2 = (C) => C.reduce(
|
|
31773
31773
|
(l, f) => l + f.chats.filter((U) => (U.unreadCount ?? 0) > 0).length,
|
|
31774
31774
|
0
|
|
31775
|
-
), L0 = qI(null), X0 = qI(null), hF = (C, l, f) => C.map((U) => U.id === l ? f(U) : U), Bc = (C, l) => C.map((f) => ({ ...f, chats: l(f.chats) })),
|
|
31775
|
+
), L0 = qI(null), X0 = qI(null), hF = (C, l, f) => C.map((U) => U.id === l ? f(U) : U), Bc = (C, l) => C.map((f) => ({ ...f, chats: l(f.chats) })), lN = ({
|
|
31776
31776
|
children: C,
|
|
31777
31777
|
initialGroups: l = [],
|
|
31778
31778
|
initialActiveChatId: f
|
|
@@ -31839,7 +31839,7 @@ const oN = VI(jg("Page", j0)), h2 = (C) => C.reduce(
|
|
|
31839
31839
|
}, B2 = () => {
|
|
31840
31840
|
const C = p2(), l = q0();
|
|
31841
31841
|
return Gt(() => ({ ...C, ...l }), [C, l]);
|
|
31842
|
-
},
|
|
31842
|
+
}, cN = () => q0(), pF = (C) => C.toLowerCase().normalize("NFD").replace(new RegExp("\\p{Diacritic}", "gu"), ""), f2 = (C, l) => {
|
|
31843
31843
|
const f = pF(C.trim());
|
|
31844
31844
|
if (!f) return !0;
|
|
31845
31845
|
const U = pF(l);
|
|
@@ -32522,7 +32522,7 @@ const y2 = VI(Q2), $0 = ({
|
|
|
32522
32522
|
below: S.below,
|
|
32523
32523
|
jump: j
|
|
32524
32524
|
};
|
|
32525
|
-
},
|
|
32525
|
+
}, dN = ({
|
|
32526
32526
|
actions: C = [],
|
|
32527
32527
|
emptyState: l,
|
|
32528
32528
|
loading: f = !1
|
|
@@ -32752,7 +32752,7 @@ const V2 = ({
|
|
|
32752
32752
|
]
|
|
32753
32753
|
}
|
|
32754
32754
|
);
|
|
32755
|
-
function
|
|
32755
|
+
function uN({
|
|
32756
32756
|
user: C,
|
|
32757
32757
|
options: l,
|
|
32758
32758
|
showActivityButton: f = !1,
|
|
@@ -32877,7 +32877,7 @@ function P2() {
|
|
|
32877
32877
|
}
|
|
32878
32878
|
);
|
|
32879
32879
|
}
|
|
32880
|
-
function
|
|
32880
|
+
function hN({
|
|
32881
32881
|
companies: C,
|
|
32882
32882
|
selected: l,
|
|
32883
32883
|
onChange: f,
|
|
@@ -33151,7 +33151,7 @@ const T2 = ({
|
|
|
33151
33151
|
}
|
|
33152
33152
|
) : j;
|
|
33153
33153
|
};
|
|
33154
|
-
function
|
|
33154
|
+
function pN({
|
|
33155
33155
|
tree: C,
|
|
33156
33156
|
onCollapse: l,
|
|
33157
33157
|
onSort: f,
|
|
@@ -33338,7 +33338,7 @@ const K2 = ({
|
|
|
33338
33338
|
tooltip: C,
|
|
33339
33339
|
children: l
|
|
33340
33340
|
}) => C ? /* @__PURE__ */ p(yn, { description: C, children: l }) : l;
|
|
33341
|
-
function
|
|
33341
|
+
function BN({
|
|
33342
33342
|
onClick: C,
|
|
33343
33343
|
placeholder: l,
|
|
33344
33344
|
shortcut: f = ["cmd", "k"],
|
|
@@ -33460,7 +33460,7 @@ function W2({
|
|
|
33460
33460
|
}
|
|
33461
33461
|
);
|
|
33462
33462
|
}
|
|
33463
|
-
const
|
|
33463
|
+
const fN = VI(W2), Y2 = () => /* @__PURE__ */ p("div", { className: "absolute -right-0.5 -top-0.5 flex h-3 w-3 items-center justify-center rounded-full", children: /* @__PURE__ */ p("span", { className: "h-2 w-2 rounded-full bg-f1-special-highlight" }) }), UF = ({
|
|
33464
33464
|
tab: C,
|
|
33465
33465
|
isActive: l,
|
|
33466
33466
|
showLabel: f,
|
|
@@ -33566,7 +33566,7 @@ const uN = VI(W2), Y2 = () => /* @__PURE__ */ p("div", { className: "absolute -r
|
|
|
33566
33566
|
]
|
|
33567
33567
|
}
|
|
33568
33568
|
);
|
|
33569
|
-
},
|
|
33569
|
+
}, mN = ({
|
|
33570
33570
|
tabs: C,
|
|
33571
33571
|
activeTab: l,
|
|
33572
33572
|
onTabChange: f,
|
|
@@ -33736,7 +33736,7 @@ const j2 = ({
|
|
|
33736
33736
|
] }, b.title)) })
|
|
33737
33737
|
] })
|
|
33738
33738
|
] });
|
|
33739
|
-
},
|
|
33739
|
+
}, FN = VI(
|
|
33740
33740
|
jg("OneApprovalHistory", L2)
|
|
33741
33741
|
), ph = (C, l) => typeof l == "string" && l in C;
|
|
33742
33742
|
function wF(C, l, f) {
|
|
@@ -33772,7 +33772,7 @@ function wF(C, l, f) {
|
|
|
33772
33772
|
}
|
|
33773
33773
|
return b ? U : null;
|
|
33774
33774
|
}
|
|
33775
|
-
function
|
|
33775
|
+
function UN(C) {
|
|
33776
33776
|
const {
|
|
33777
33777
|
source: l,
|
|
33778
33778
|
collectionId: f,
|
|
@@ -34406,7 +34406,7 @@ const nQ = qI({
|
|
|
34406
34406
|
}) => {
|
|
34407
34407
|
const f = Gt(() => ({ reducedMotion: l }), [l]);
|
|
34408
34408
|
return /* @__PURE__ */ p(nQ.Provider, { value: f, children: C });
|
|
34409
|
-
}, Yn = () => Ji(nQ),
|
|
34409
|
+
}, Yn = () => Ji(nQ), QN = [
|
|
34410
34410
|
"viridian",
|
|
34411
34411
|
"malibu",
|
|
34412
34412
|
"yellow",
|
|
@@ -34422,7 +34422,7 @@ const nQ = qI({
|
|
|
34422
34422
|
"orange",
|
|
34423
34423
|
"red",
|
|
34424
34424
|
"grass"
|
|
34425
|
-
],
|
|
34425
|
+
], yN = (C) => C.type === "system", Hc = (C) => C.type !== "system", dM = "latest", uM = /* @__PURE__ */ new Set(["m4v", "mov", "mp4", "ogv", "webm"]), hM = (C) => {
|
|
34426
34426
|
if (C < 1024) return `${C} B`;
|
|
34427
34427
|
if (C < 1024 * 1024) {
|
|
34428
34428
|
const f = C / 1024;
|
|
@@ -34502,7 +34502,7 @@ const nQ = qI({
|
|
|
34502
34502
|
}, rQ = qI(null), AQ = qI(null), FM = (C) => {
|
|
34503
34503
|
const l = Ee(C), f = l.current, U = f === C || f != null && C != null && f.canSend === C.canSend && f.canReact === C.canReact && f.canUpload === C.canUpload && f.canEditMessage === C.canEditMessage && f.canDeleteMessage === C.canDeleteMessage;
|
|
34504
34504
|
return U || (l.current = C), U ? f : C;
|
|
34505
|
-
},
|
|
34505
|
+
}, wN = ({
|
|
34506
34506
|
runtime: C,
|
|
34507
34507
|
children: l
|
|
34508
34508
|
}) => {
|
|
@@ -35089,7 +35089,7 @@ const BQ = () => io(sQ, "useChatJump"), wM = () => io(aQ, "useChatHighlightedId"
|
|
|
35089
35089
|
]
|
|
35090
35090
|
}
|
|
35091
35091
|
);
|
|
35092
|
-
}, MQ = () => import("./LocationMap-
|
|
35092
|
+
}, MQ = () => import("./LocationMap-BEECe4Ml.js"), ZM = lr(MQ), NM = 200, KM = ({ latitude: C, longitude: l }) => `https://www.google.com/maps?q=${C},${l}`, VQ = ({
|
|
35093
35093
|
location: C,
|
|
35094
35094
|
cornerClass: l = "rounded-xl",
|
|
35095
35095
|
surfaceClassName: f
|
|
@@ -36133,13 +36133,20 @@ const nV = {
|
|
|
36133
36133
|
children: K.map(
|
|
36134
36134
|
(L, ie) => L.type === "mention" ? (
|
|
36135
36135
|
// Same colour pattern as the bubble: you / @here amber, others
|
|
36136
|
-
// info.
|
|
36137
|
-
//
|
|
36136
|
+
// info. Tone and background carry the whole distinction: no
|
|
36137
|
+
// padding, and — load-bearing — no weight change. A `<textarea>`
|
|
36138
|
+
// lays its entire run out at one weight, so a heavier mention
|
|
36139
|
+
// here paints wider than the transparent glyphs the caret is
|
|
36140
|
+
// positioned from, and every character from the mention onward
|
|
36141
|
+
// sits off its boundary. Measured at 14px Inter, `font-medium`
|
|
36142
|
+
// cost ~0.1px per mention character, plateauing at 1.25px (8.9%
|
|
36143
|
+
// of an em) across the rest of the line — enough to park the
|
|
36144
|
+
// caret inside a glyph instead of between two.
|
|
36138
36145
|
/* @__PURE__ */ p(
|
|
36139
36146
|
"span",
|
|
36140
36147
|
{
|
|
36141
36148
|
className: Qe(
|
|
36142
|
-
"rounded-xs
|
|
36149
|
+
"rounded-xs",
|
|
36143
36150
|
L.tone === "self" || L.tone === "everyone" ? "bg-f1-background-warning text-f1-foreground-warning" : "bg-f1-background-info text-f1-foreground-info"
|
|
36144
36151
|
),
|
|
36145
36152
|
children: fh(L.text)
|
|
@@ -42768,7 +42775,7 @@ const hG = (C) => {
|
|
|
42768
42775
|
]
|
|
42769
42776
|
}
|
|
42770
42777
|
);
|
|
42771
|
-
},
|
|
42778
|
+
}, bN = (C) => {
|
|
42772
42779
|
const l = QI();
|
|
42773
42780
|
return /* @__PURE__ */ p(cM, { reducedMotion: l, children: /* @__PURE__ */ p(yM, { children: /* @__PURE__ */ p(dE, { ...C }) }) });
|
|
42774
42781
|
}, uE = {
|
|
@@ -42781,7 +42788,13 @@ const hG = (C) => {
|
|
|
42781
42788
|
sm: "[&_svg]:w-4",
|
|
42782
42789
|
md: "[&_svg]:w-6",
|
|
42783
42790
|
lg: "[&_svg]:w-7"
|
|
42784
|
-
}, pE =
|
|
42791
|
+
}, pE = {
|
|
42792
|
+
superNegative: "text-f1-icon-mood-super-negative",
|
|
42793
|
+
negative: "text-f1-icon-mood-negative",
|
|
42794
|
+
neutral: "text-f1-icon-mood-neutral",
|
|
42795
|
+
positive: "text-f1-icon-mood-positive",
|
|
42796
|
+
superPositive: "text-f1-icon-mood-super-positive"
|
|
42797
|
+
}, BE = "text-f1-icon-secondary", fE = (C) => t0.includes(C), yy = ({
|
|
42785
42798
|
value: C,
|
|
42786
42799
|
onChange: l,
|
|
42787
42800
|
labels: f,
|
|
@@ -42806,10 +42819,16 @@ const hG = (C) => {
|
|
|
42806
42819
|
// only place its name is written, so a 700ms wait withholds the scale
|
|
42807
42820
|
// from someone reading along it — the same call the Home rail makes.
|
|
42808
42821
|
tooltip: { description: f[N], instant: !0 },
|
|
42809
|
-
|
|
42822
|
+
// The colour last: it has to land after `F0ButtonToggle`'s own
|
|
42823
|
+
// unselected `text-f1-icon` for tailwind-merge to keep it. Never on
|
|
42824
|
+
// the ANSWERED face — that one's colour is the toggle's to draw.
|
|
42825
|
+
className: Qe(
|
|
42826
|
+
hE[b],
|
|
42827
|
+
V === void 0 ? pE[N] : N !== V && BE
|
|
42828
|
+
)
|
|
42810
42829
|
})
|
|
42811
42830
|
),
|
|
42812
|
-
[f, U, b]
|
|
42831
|
+
[f, U, b, V]
|
|
42813
42832
|
);
|
|
42814
42833
|
return /* @__PURE__ */ p(
|
|
42815
42834
|
__,
|
|
@@ -42817,7 +42836,7 @@ const hG = (C) => {
|
|
|
42817
42836
|
items: T,
|
|
42818
42837
|
value: V ?? "",
|
|
42819
42838
|
onChange: (N) => {
|
|
42820
|
-
const j =
|
|
42839
|
+
const j = fE(N) ? N : void 0;
|
|
42821
42840
|
j !== V && (E(j), l?.(j));
|
|
42822
42841
|
},
|
|
42823
42842
|
size: b,
|
|
@@ -42828,7 +42847,7 @@ const hG = (C) => {
|
|
|
42828
42847
|
);
|
|
42829
42848
|
};
|
|
42830
42849
|
yy.displayName = "F0ENPSButton";
|
|
42831
|
-
const
|
|
42850
|
+
const xN = VI(
|
|
42832
42851
|
jg("F0ENPSButton", yy)
|
|
42833
42852
|
), tB = {
|
|
42834
42853
|
0: "gap-0",
|
|
@@ -42854,7 +42873,7 @@ const QN = VI(
|
|
|
42854
42873
|
md: "gap-2",
|
|
42855
42874
|
lg: "gap-3",
|
|
42856
42875
|
xl: "gap-4"
|
|
42857
|
-
},
|
|
42876
|
+
}, mE = Ar({
|
|
42858
42877
|
base: "grid grid-cols-1",
|
|
42859
42878
|
variants: {
|
|
42860
42879
|
tileSize: {
|
|
@@ -42876,17 +42895,17 @@ const QN = VI(
|
|
|
42876
42895
|
tileSize: "md",
|
|
42877
42896
|
gap: "4"
|
|
42878
42897
|
}
|
|
42879
|
-
}),
|
|
42898
|
+
}), FE = Pt.forwardRef(function({ className: l, gap: f, children: U, tileSize: b, ...S }, y) {
|
|
42880
42899
|
return /* @__PURE__ */ p("div", { className: Qe("@container", "grow"), ref: y, ...S, children: /* @__PURE__ */ p(
|
|
42881
42900
|
"div",
|
|
42882
42901
|
{
|
|
42883
|
-
className: Qe(
|
|
42902
|
+
className: Qe(mE({ gap: f, tileSize: b }), l),
|
|
42884
42903
|
ref: y,
|
|
42885
42904
|
...S,
|
|
42886
42905
|
children: U
|
|
42887
42906
|
}
|
|
42888
42907
|
) });
|
|
42889
|
-
}),
|
|
42908
|
+
}), UE = Ar({
|
|
42890
42909
|
base: "flex",
|
|
42891
42910
|
variants: {
|
|
42892
42911
|
overflow: {
|
|
@@ -42983,7 +43002,7 @@ const QN = VI(
|
|
|
42983
43002
|
"div",
|
|
42984
43003
|
{
|
|
42985
43004
|
className: Qe(
|
|
42986
|
-
|
|
43005
|
+
UE({
|
|
42987
43006
|
paddingX: S,
|
|
42988
43007
|
basis: U,
|
|
42989
43008
|
paddingY: y,
|
|
@@ -43003,7 +43022,7 @@ const QN = VI(
|
|
|
43003
43022
|
...$
|
|
43004
43023
|
}
|
|
43005
43024
|
);
|
|
43006
|
-
}),
|
|
43025
|
+
}), QE = Ar({
|
|
43007
43026
|
base: "flex-row",
|
|
43008
43027
|
variants: {
|
|
43009
43028
|
gap: {
|
|
@@ -43016,16 +43035,16 @@ const QN = VI(
|
|
|
43016
43035
|
defaultVariants: {
|
|
43017
43036
|
wrap: !0
|
|
43018
43037
|
}
|
|
43019
|
-
}),
|
|
43038
|
+
}), yE = Pt.forwardRef(function({ className: l, gap: f, wrap: U, ...b }, S) {
|
|
43020
43039
|
return /* @__PURE__ */ p(
|
|
43021
43040
|
wy,
|
|
43022
43041
|
{
|
|
43023
|
-
className: Qe(
|
|
43042
|
+
className: Qe(QE({ gap: f, wrap: U }), l),
|
|
43024
43043
|
ref: S,
|
|
43025
43044
|
...b
|
|
43026
43045
|
}
|
|
43027
43046
|
);
|
|
43028
|
-
}),
|
|
43047
|
+
}), wE = Ar({
|
|
43029
43048
|
base: "flex-col",
|
|
43030
43049
|
variants: {
|
|
43031
43050
|
gap: {
|
|
@@ -43033,34 +43052,34 @@ const QN = VI(
|
|
|
43033
43052
|
}
|
|
43034
43053
|
},
|
|
43035
43054
|
defaultVariants: {}
|
|
43036
|
-
}),
|
|
43055
|
+
}), bE = bg(function({ className: l, gap: f, children: U, ...b }, S) {
|
|
43037
43056
|
return /* @__PURE__ */ p(
|
|
43038
43057
|
wy,
|
|
43039
43058
|
{
|
|
43040
|
-
className: Qe(
|
|
43059
|
+
className: Qe(wE({ gap: f }), l),
|
|
43041
43060
|
ref: S,
|
|
43042
43061
|
...b,
|
|
43043
43062
|
children: U
|
|
43044
43063
|
}
|
|
43045
43064
|
);
|
|
43046
|
-
}),
|
|
43065
|
+
}), DN = Wn(
|
|
43047
43066
|
{
|
|
43048
43067
|
name: "Stack",
|
|
43049
43068
|
type: "layout"
|
|
43050
43069
|
},
|
|
43051
|
-
|
|
43052
|
-
),
|
|
43070
|
+
bE
|
|
43071
|
+
), _N = Wn(
|
|
43053
43072
|
{
|
|
43054
43073
|
name: "Split",
|
|
43055
43074
|
type: "layout"
|
|
43056
43075
|
},
|
|
43057
|
-
|
|
43058
|
-
),
|
|
43076
|
+
yE
|
|
43077
|
+
), SN = Wn(
|
|
43059
43078
|
{
|
|
43060
43079
|
name: "AutoGrid",
|
|
43061
43080
|
type: "layout"
|
|
43062
43081
|
},
|
|
43063
|
-
|
|
43082
|
+
FE
|
|
43064
43083
|
), Cn = Object.assign(
|
|
43065
43084
|
bg(function({ chart: l, summaries: f, ...U }, b) {
|
|
43066
43085
|
return /* @__PURE__ */ p(or, { ref: b, ...U, summaries: f, children: l && /* @__PURE__ */ p("div", { className: "min-h-52 min-w-52 grow pt-2", children: l }) });
|
|
@@ -43068,7 +43087,7 @@ const QN = VI(
|
|
|
43068
43087
|
{
|
|
43069
43088
|
Skeleton: or.Skeleton
|
|
43070
43089
|
}
|
|
43071
|
-
),
|
|
43090
|
+
), xE = XI(
|
|
43072
43091
|
bg(function({ canBeBlurred: l, ...f }, U) {
|
|
43073
43092
|
const b = {
|
|
43074
43093
|
...f,
|
|
@@ -43090,10 +43109,10 @@ const QN = VI(
|
|
|
43090
43109
|
);
|
|
43091
43110
|
}),
|
|
43092
43111
|
Cn.Skeleton
|
|
43093
|
-
),
|
|
43112
|
+
), DE = jg(
|
|
43094
43113
|
"AreaChartWidget",
|
|
43095
|
-
|
|
43096
|
-
),
|
|
43114
|
+
xE
|
|
43115
|
+
), _E = bg(function(l, f) {
|
|
43097
43116
|
return /* @__PURE__ */ p(
|
|
43098
43117
|
Cn,
|
|
43099
43118
|
{
|
|
@@ -43102,10 +43121,10 @@ const QN = VI(
|
|
|
43102
43121
|
chart: /* @__PURE__ */ p(v_, { yAxis: { hide: !0 }, ...l.chart })
|
|
43103
43122
|
}
|
|
43104
43123
|
);
|
|
43105
|
-
}),
|
|
43124
|
+
}), SE = jg(
|
|
43106
43125
|
"BarChartWidget",
|
|
43107
|
-
XI(
|
|
43108
|
-
),
|
|
43126
|
+
XI(_E, Cn.Skeleton)
|
|
43127
|
+
), vE = XI(
|
|
43109
43128
|
bg(
|
|
43110
43129
|
function(l, f) {
|
|
43111
43130
|
return /* @__PURE__ */ p(
|
|
@@ -43119,10 +43138,10 @@ const QN = VI(
|
|
|
43119
43138
|
}
|
|
43120
43139
|
),
|
|
43121
43140
|
Cn.Skeleton
|
|
43122
|
-
),
|
|
43141
|
+
), RE = jg(
|
|
43123
43142
|
"LineChartWidget",
|
|
43124
|
-
|
|
43125
|
-
),
|
|
43143
|
+
vE
|
|
43144
|
+
), ME = XI(
|
|
43126
43145
|
bg(
|
|
43127
43146
|
function(l, f) {
|
|
43128
43147
|
return /* @__PURE__ */ p(
|
|
@@ -43136,20 +43155,20 @@ const QN = VI(
|
|
|
43136
43155
|
}
|
|
43137
43156
|
),
|
|
43138
43157
|
Cn.Skeleton
|
|
43139
|
-
),
|
|
43158
|
+
), VE = jg(
|
|
43140
43159
|
"PieChartWidget",
|
|
43141
|
-
|
|
43142
|
-
),
|
|
43160
|
+
ME
|
|
43161
|
+
), PE = XI(
|
|
43143
43162
|
bg(
|
|
43144
43163
|
function(l, f) {
|
|
43145
43164
|
return /* @__PURE__ */ p(Cn, { ref: f, ...l, chart: null });
|
|
43146
43165
|
}
|
|
43147
43166
|
),
|
|
43148
43167
|
Cn.Skeleton
|
|
43149
|
-
),
|
|
43168
|
+
), GE = jg(
|
|
43150
43169
|
"SummariesWidget",
|
|
43151
|
-
|
|
43152
|
-
),
|
|
43170
|
+
PE
|
|
43171
|
+
), EE = XI(
|
|
43153
43172
|
bg(
|
|
43154
43173
|
function(l, f) {
|
|
43155
43174
|
return /* @__PURE__ */ p(
|
|
@@ -43163,46 +43182,46 @@ const QN = VI(
|
|
|
43163
43182
|
}
|
|
43164
43183
|
),
|
|
43165
43184
|
Cn.Skeleton
|
|
43166
|
-
),
|
|
43185
|
+
), TE = jg(
|
|
43167
43186
|
"VerticalBarChartWidget",
|
|
43168
|
-
|
|
43169
|
-
),
|
|
43187
|
+
EE
|
|
43188
|
+
), vN = Wn(
|
|
43170
43189
|
{
|
|
43171
43190
|
name: "AreaChartWidget",
|
|
43172
43191
|
type: "info"
|
|
43173
43192
|
},
|
|
43174
|
-
|
|
43175
|
-
),
|
|
43193
|
+
DE
|
|
43194
|
+
), RN = Wn(
|
|
43176
43195
|
{
|
|
43177
43196
|
name: "BarChartWidget",
|
|
43178
43197
|
type: "info"
|
|
43179
43198
|
},
|
|
43180
|
-
|
|
43181
|
-
),
|
|
43199
|
+
SE
|
|
43200
|
+
), MN = Wn(
|
|
43182
43201
|
{
|
|
43183
43202
|
name: "LineChartWidget",
|
|
43184
43203
|
type: "info"
|
|
43185
43204
|
},
|
|
43186
|
-
|
|
43187
|
-
),
|
|
43205
|
+
RE
|
|
43206
|
+
), VN = Wn(
|
|
43188
43207
|
{
|
|
43189
43208
|
name: "PieChartWidget",
|
|
43190
43209
|
type: "info"
|
|
43191
43210
|
},
|
|
43192
|
-
|
|
43193
|
-
),
|
|
43211
|
+
VE
|
|
43212
|
+
), PN = Wn(
|
|
43194
43213
|
{
|
|
43195
43214
|
name: "VerticalBarChartWidget",
|
|
43196
43215
|
type: "info"
|
|
43197
43216
|
},
|
|
43198
|
-
|
|
43199
|
-
),
|
|
43217
|
+
TE
|
|
43218
|
+
), GN = Wn(
|
|
43200
43219
|
{
|
|
43201
43220
|
name: "SummariesWidget",
|
|
43202
43221
|
type: "info"
|
|
43203
43222
|
},
|
|
43204
|
-
|
|
43205
|
-
),
|
|
43223
|
+
GE
|
|
43224
|
+
), kE = (C, l) => /* @__PURE__ */ ee(
|
|
43206
43225
|
"svg",
|
|
43207
43226
|
{
|
|
43208
43227
|
width: "366",
|
|
@@ -43440,7 +43459,7 @@ const QN = VI(
|
|
|
43440
43459
|
] })
|
|
43441
43460
|
]
|
|
43442
43461
|
}
|
|
43443
|
-
),
|
|
43462
|
+
), ZE = bg(kE), NE = (C, l) => /* @__PURE__ */ ee(
|
|
43444
43463
|
"svg",
|
|
43445
43464
|
{
|
|
43446
43465
|
width: "406",
|
|
@@ -43485,21 +43504,21 @@ const QN = VI(
|
|
|
43485
43504
|
) })
|
|
43486
43505
|
]
|
|
43487
43506
|
}
|
|
43488
|
-
),
|
|
43507
|
+
), KE = bg(NE), WE = {
|
|
43489
43508
|
"line-chart": "border-f1-border",
|
|
43490
43509
|
"bar-chart": "border-f1-border-promote"
|
|
43491
|
-
},
|
|
43510
|
+
}, YE = {
|
|
43492
43511
|
"line-chart": "min-h-48",
|
|
43493
43512
|
"bar-chart": "min-h-64"
|
|
43494
|
-
},
|
|
43513
|
+
}, zE = {
|
|
43495
43514
|
"line-chart": "from-f1-background-accent",
|
|
43496
43515
|
"bar-chart": "from-f1-background-promote"
|
|
43497
|
-
},
|
|
43516
|
+
}, JE = {
|
|
43498
43517
|
"line-chart": "default",
|
|
43499
43518
|
"bar-chart": "promote"
|
|
43500
|
-
},
|
|
43519
|
+
}, HE = bg(
|
|
43501
43520
|
function({ title: l, content: f, buttonLabel: U, buttonIcon: b, buttonAction: S, type: y }, o) {
|
|
43502
|
-
const V =
|
|
43521
|
+
const V = WE[y], E = YE[y], T = zE[y], K = JE[y];
|
|
43503
43522
|
return /* @__PURE__ */ ee(
|
|
43504
43523
|
dp,
|
|
43505
43524
|
{
|
|
@@ -43519,8 +43538,8 @@ const QN = VI(
|
|
|
43519
43538
|
T
|
|
43520
43539
|
),
|
|
43521
43540
|
children: [
|
|
43522
|
-
y === "bar-chart" && /* @__PURE__ */ p("div", { className: "absolute bottom-1 left-4 right-4", children: /* @__PURE__ */ p(
|
|
43523
|
-
y === "line-chart" && /* @__PURE__ */ p(
|
|
43541
|
+
y === "bar-chart" && /* @__PURE__ */ p("div", { className: "absolute bottom-1 left-4 right-4", children: /* @__PURE__ */ p(ZE, { className: "w-full" }) }),
|
|
43542
|
+
y === "line-chart" && /* @__PURE__ */ p(KE, { className: "w-full" })
|
|
43524
43543
|
]
|
|
43525
43544
|
}
|
|
43526
43545
|
),
|
|
@@ -43541,10 +43560,10 @@ const QN = VI(
|
|
|
43541
43560
|
}
|
|
43542
43561
|
);
|
|
43543
43562
|
}
|
|
43544
|
-
),
|
|
43545
|
-
jg("ChartWidgetEmptyState",
|
|
43563
|
+
), EN = VI(
|
|
43564
|
+
jg("ChartWidgetEmptyState", HE)
|
|
43546
43565
|
);
|
|
43547
|
-
function
|
|
43566
|
+
function OE(C, l) {
|
|
43548
43567
|
const f = Ee(null), U = Ee(null), [b, S] = We({
|
|
43549
43568
|
visibleItems: [],
|
|
43550
43569
|
overflowItems: []
|
|
@@ -43612,7 +43631,7 @@ const Fd = function({
|
|
|
43612
43631
|
minSize: S,
|
|
43613
43632
|
onVisibleItemsChange: y
|
|
43614
43633
|
}) {
|
|
43615
|
-
const { containerRef: o, measurementContainerRef: V, visibleItems: E } =
|
|
43634
|
+
const { containerRef: o, measurementContainerRef: V, visibleItems: E } = OE(l, b);
|
|
43616
43635
|
return It(() => {
|
|
43617
43636
|
y?.(E);
|
|
43618
43637
|
}, [y, E]), /* @__PURE__ */ ee(
|
|
@@ -43657,7 +43676,7 @@ const Fd = function({
|
|
|
43657
43676
|
);
|
|
43658
43677
|
};
|
|
43659
43678
|
Fd.displayName = "VerticalOverflowList";
|
|
43660
|
-
const
|
|
43679
|
+
const TN = ({
|
|
43661
43680
|
events: C,
|
|
43662
43681
|
showAllItems: l,
|
|
43663
43682
|
gap: f = 8,
|
|
@@ -43670,7 +43689,7 @@ const VN = ({
|
|
|
43670
43689
|
minSize: U,
|
|
43671
43690
|
renderListItem: (b) => /* @__PURE__ */ p(zc, { ...b }, b.title)
|
|
43672
43691
|
}
|
|
43673
|
-
) : null,
|
|
43692
|
+
) : null, jE = ({ onClick: C, children: l }) => {
|
|
43674
43693
|
const f = "block rounded-lg border border-solid border-transparent p-[1px] -m-1";
|
|
43675
43694
|
return C ? /* @__PURE__ */ p(
|
|
43676
43695
|
"a",
|
|
@@ -43685,14 +43704,14 @@ const VN = ({
|
|
|
43685
43704
|
}
|
|
43686
43705
|
) : /* @__PURE__ */ p("div", { className: f, tabIndex: 1, children: l });
|
|
43687
43706
|
};
|
|
43688
|
-
function
|
|
43707
|
+
function kN({
|
|
43689
43708
|
label: C,
|
|
43690
43709
|
count: l,
|
|
43691
43710
|
icon: f,
|
|
43692
43711
|
iconClassName: U,
|
|
43693
43712
|
onClick: b
|
|
43694
43713
|
}) {
|
|
43695
|
-
return /* @__PURE__ */ p(
|
|
43714
|
+
return /* @__PURE__ */ p(jE, { onClick: b, children: /* @__PURE__ */ ee(
|
|
43696
43715
|
"div",
|
|
43697
43716
|
{
|
|
43698
43717
|
className: Qe(
|
|
@@ -43709,7 +43728,7 @@ function PN({
|
|
|
43709
43728
|
}
|
|
43710
43729
|
) });
|
|
43711
43730
|
}
|
|
43712
|
-
const
|
|
43731
|
+
const LE = bg(
|
|
43713
43732
|
function({ content: l, label: f, color: U, ...b }, S) {
|
|
43714
43733
|
return /* @__PURE__ */ ee("div", { className: "flex flex-col gap-1", ref: S, children: [
|
|
43715
43734
|
/* @__PURE__ */ p("p", { className: "text-3xl font-semibold", children: l }),
|
|
@@ -43727,7 +43746,7 @@ const OE = bg(
|
|
|
43727
43746
|
] })
|
|
43728
43747
|
] }, f);
|
|
43729
43748
|
}
|
|
43730
|
-
),
|
|
43749
|
+
), XE = bg(
|
|
43731
43750
|
function({ items: l }, f) {
|
|
43732
43751
|
return /* @__PURE__ */ p(
|
|
43733
43752
|
"div",
|
|
@@ -43735,7 +43754,7 @@ const OE = bg(
|
|
|
43735
43754
|
ref: f,
|
|
43736
43755
|
className: "grid auto-cols-fr grid-flow-col items-end gap-x-3",
|
|
43737
43756
|
children: l.map(({ label: U, content: b, color: S, ...y }) => /* @__PURE__ */ p(
|
|
43738
|
-
|
|
43757
|
+
LE,
|
|
43739
43758
|
{
|
|
43740
43759
|
label: U,
|
|
43741
43760
|
content: b,
|
|
@@ -43747,7 +43766,7 @@ const OE = bg(
|
|
|
43747
43766
|
}
|
|
43748
43767
|
);
|
|
43749
43768
|
}
|
|
43750
|
-
),
|
|
43769
|
+
), qE = ({
|
|
43751
43770
|
onClick: C,
|
|
43752
43771
|
withEmoji: l,
|
|
43753
43772
|
withPointerCursor: f,
|
|
@@ -43761,7 +43780,7 @@ const OE = bg(
|
|
|
43761
43780
|
);
|
|
43762
43781
|
return C ? /* @__PURE__ */ p("a", { className: b, onClick: C, children: U }) : /* @__PURE__ */ p("div", { className: b, children: U });
|
|
43763
43782
|
};
|
|
43764
|
-
function
|
|
43783
|
+
function ZN({
|
|
43765
43784
|
id: C,
|
|
43766
43785
|
title: l,
|
|
43767
43786
|
subtitle: f,
|
|
@@ -43772,7 +43791,7 @@ function GN({
|
|
|
43772
43791
|
...o
|
|
43773
43792
|
}) {
|
|
43774
43793
|
return /* @__PURE__ */ ee(
|
|
43775
|
-
|
|
43794
|
+
qE,
|
|
43776
43795
|
{
|
|
43777
43796
|
onClick: (E) => {
|
|
43778
43797
|
E.preventDefault(), y?.(C);
|
|
@@ -43799,7 +43818,7 @@ function GN({
|
|
|
43799
43818
|
}
|
|
43800
43819
|
);
|
|
43801
43820
|
}
|
|
43802
|
-
const
|
|
43821
|
+
const $E = ({ onClick: C, className: l, children: f }) => C ? /* @__PURE__ */ p("a", { className: l, onClick: C, tabIndex: 0, children: f }) : /* @__PURE__ */ p("div", { className: l, tabIndex: -1, children: f });
|
|
43803
43822
|
function CU({
|
|
43804
43823
|
id: C,
|
|
43805
43824
|
title: l,
|
|
@@ -43811,7 +43830,7 @@ function CU({
|
|
|
43811
43830
|
"flex flex-row gap-2 rounded-md border border-solid border-transparent p-2 text-f1-foreground",
|
|
43812
43831
|
U ? "cursor-pointer hover:bg-f1-background-tertiary focus:border-f1-background-selected-bold focus:outline-none" : void 0
|
|
43813
43832
|
);
|
|
43814
|
-
return /* @__PURE__ */ ee(
|
|
43833
|
+
return /* @__PURE__ */ ee($E, { onClick: (o) => {
|
|
43815
43834
|
o.preventDefault(), U?.(C);
|
|
43816
43835
|
}, className: S, children: [
|
|
43817
43836
|
/* @__PURE__ */ p(pp, { module: b ?? "inbox", size: "sm" }),
|
|
@@ -43821,7 +43840,7 @@ function CU({
|
|
|
43821
43840
|
] })
|
|
43822
43841
|
] });
|
|
43823
43842
|
}
|
|
43824
|
-
const
|
|
43843
|
+
const eT = ({ onClick: C, className: l, children: f }) => C ? /* @__PURE__ */ p("a", { className: l, onClick: C, tabIndex: 0, children: f }) : /* @__PURE__ */ p("div", { className: l, tabIndex: -1, children: f });
|
|
43825
43844
|
function Ip({
|
|
43826
43845
|
id: C,
|
|
43827
43846
|
title: l,
|
|
@@ -43838,7 +43857,7 @@ function Ip({
|
|
|
43838
43857
|
"flex flex-row items-start gap-1 rounded-md border border-solid border-transparent px-2 py-1.5 text-f1-foreground",
|
|
43839
43858
|
E ? "cursor-pointer hover:bg-f1-background-tertiary focus:border-f1-background-selected-bold focus:outline-none" : void 0
|
|
43840
43859
|
);
|
|
43841
|
-
return /* @__PURE__ */ ee(
|
|
43860
|
+
return /* @__PURE__ */ ee(eT, { onClick: (N) => {
|
|
43842
43861
|
N.preventDefault(), E?.(C);
|
|
43843
43862
|
}, className: T, children: [
|
|
43844
43863
|
/* @__PURE__ */ ee("div", { className: "flex flex-1 flex-row items-start gap-1", children: [
|
|
@@ -43867,7 +43886,7 @@ function Ip({
|
|
|
43867
43886
|
] })
|
|
43868
43887
|
] });
|
|
43869
43888
|
}
|
|
43870
|
-
function
|
|
43889
|
+
function NN({
|
|
43871
43890
|
items: C,
|
|
43872
43891
|
minSize: l = 184,
|
|
43873
43892
|
onClickItem: f,
|
|
@@ -43885,7 +43904,7 @@ function EN({
|
|
|
43885
43904
|
}
|
|
43886
43905
|
);
|
|
43887
43906
|
}
|
|
43888
|
-
function
|
|
43907
|
+
function KN({
|
|
43889
43908
|
items: C,
|
|
43890
43909
|
gap: l,
|
|
43891
43910
|
minSize: f = 184,
|
|
@@ -43902,10 +43921,10 @@ function TN({
|
|
|
43902
43921
|
}
|
|
43903
43922
|
);
|
|
43904
43923
|
}
|
|
43905
|
-
const
|
|
43924
|
+
const tT = ({ title: C, info: l }) => /* @__PURE__ */ ee("div", { className: "flex items-center justify-between", children: [
|
|
43906
43925
|
/* @__PURE__ */ p("p", { className: "flex text-f1-foreground-secondary", children: C }),
|
|
43907
43926
|
/* @__PURE__ */ p("div", { className: "max-w-32 flex-shrink-0 overflow-hidden text-ellipsis whitespace-nowrap text-right font-medium", children: l })
|
|
43908
|
-
] }),
|
|
43927
|
+
] }), WN = bg(
|
|
43909
43928
|
function({ title: l, titleValue: f, titleTooltip: U, list: b }, S) {
|
|
43910
43929
|
return /* @__PURE__ */ ee("div", { ref: S, className: "flex flex-col gap-2", children: [
|
|
43911
43930
|
l && /* @__PURE__ */ ee("div", { className: "flex items-center justify-between gap-2 font-medium", children: [
|
|
@@ -43922,11 +43941,11 @@ const $E = ({ title: C, info: l }) => /* @__PURE__ */ ee("div", { className: "fl
|
|
|
43922
43941
|
] }),
|
|
43923
43942
|
f && /* @__PURE__ */ p("div", { children: f })
|
|
43924
43943
|
] }),
|
|
43925
|
-
b.map((y) => /* @__PURE__ */ p(
|
|
43944
|
+
b.map((y) => /* @__PURE__ */ p(tT, { title: y.title, info: y.info }, y.title))
|
|
43926
43945
|
] });
|
|
43927
43946
|
}
|
|
43928
43947
|
);
|
|
43929
|
-
function
|
|
43948
|
+
function YN({
|
|
43930
43949
|
title: C,
|
|
43931
43950
|
subtitle: l,
|
|
43932
43951
|
data: f,
|
|
@@ -43959,7 +43978,7 @@ function ZN({
|
|
|
43959
43978
|
) })
|
|
43960
43979
|
] });
|
|
43961
43980
|
}
|
|
43962
|
-
const by = (C, l) => ((l ?? 0) < -1 * (C ?? 0) ? -1 * C : l) ?? 0,
|
|
43981
|
+
const by = (C, l) => ((l ?? 0) < -1 * (C ?? 0) ? -1 * C : l) ?? 0, gT = ({
|
|
43963
43982
|
data: C = [],
|
|
43964
43983
|
labels: l,
|
|
43965
43984
|
trackedMinutes: f,
|
|
@@ -43984,7 +44003,7 @@ const by = (C, l) => ((l ?? 0) < -1 * (C ?? 0) ? -1 * C : l) ?? 0, eT = ({
|
|
|
43984
44003
|
subtitle: V,
|
|
43985
44004
|
statusColor: E
|
|
43986
44005
|
};
|
|
43987
|
-
}, _h = "--:--",
|
|
44006
|
+
}, _h = "--:--", IT = (C, l) => {
|
|
43988
44007
|
if (C && C > 0)
|
|
43989
44008
|
return {
|
|
43990
44009
|
value: C * 60 / l,
|
|
@@ -43995,7 +44014,7 @@ const by = (C, l) => ((l ?? 0) < -1 * (C ?? 0) ? -1 * C : l) ?? 0, eT = ({
|
|
|
43995
44014
|
value: 1,
|
|
43996
44015
|
color: Cr.empty
|
|
43997
44016
|
};
|
|
43998
|
-
},
|
|
44017
|
+
}, iT = ({
|
|
43999
44018
|
data: C = [],
|
|
44000
44019
|
trackedMinutes: l,
|
|
44001
44020
|
remainingMinutes: f = 0
|
|
@@ -44006,7 +44025,7 @@ const by = (C, l) => ((l ?? 0) < -1 * (C ?? 0) ? -1 * C : l) ?? 0, eT = ({
|
|
|
44006
44025
|
), S = C.reduce(
|
|
44007
44026
|
(T, K) => T + (K.to.getTime() - K.from.getTime()) / 1e3,
|
|
44008
44027
|
0
|
|
44009
|
-
) + (b ?? 0) * 60, y = U || (b ?? 0) < 0 ? void 0 :
|
|
44028
|
+
) + (b ?? 0) * 60, y = U || (b ?? 0) < 0 ? void 0 : IT(
|
|
44010
44029
|
b ?? 0,
|
|
44011
44030
|
S
|
|
44012
44031
|
);
|
|
@@ -44053,18 +44072,18 @@ const by = (C, l) => ((l ?? 0) < -1 * (C ?? 0) ? -1 * C : l) ?? 0, eT = ({
|
|
|
44053
44072
|
secondaryLabel: y,
|
|
44054
44073
|
time: K
|
|
44055
44074
|
};
|
|
44056
|
-
},
|
|
44075
|
+
}, nT = " • ", CT = (C) => {
|
|
44057
44076
|
const l = Math.floor(C / 60), f = C % 60;
|
|
44058
44077
|
return l ? f ? `${l}h ${f}min` : `${l}h` : `${f}min`;
|
|
44059
|
-
},
|
|
44078
|
+
}, oT = (C) => {
|
|
44060
44079
|
if (!C.from || !C.to) return;
|
|
44061
44080
|
const l = Math.round(
|
|
44062
44081
|
(C.to.getTime() - C.from.getTime()) / 6e4
|
|
44063
44082
|
);
|
|
44064
|
-
return [`${kc(C.from)} – ${kc(C.to)} (${
|
|
44083
|
+
return [`${kc(C.from)} – ${kc(C.to)} (${CT(l)})`, C.label].filter(Boolean).join(nT);
|
|
44065
44084
|
};
|
|
44066
|
-
function
|
|
44067
|
-
const l = C.map(
|
|
44085
|
+
function rT({ segments: C }) {
|
|
44086
|
+
const l = C.map(oT);
|
|
44068
44087
|
return /* @__PURE__ */ p(
|
|
44069
44088
|
"div",
|
|
44070
44089
|
{
|
|
@@ -44138,13 +44157,13 @@ function oU({
|
|
|
44138
44157
|
remainingMinutes: f,
|
|
44139
44158
|
variant: U = "ring"
|
|
44140
44159
|
}) {
|
|
44141
|
-
const b =
|
|
44160
|
+
const b = iT({
|
|
44142
44161
|
data: C,
|
|
44143
44162
|
trackedMinutes: l,
|
|
44144
44163
|
remainingMinutes: f
|
|
44145
44164
|
});
|
|
44146
44165
|
if (U === "horizontal-bar")
|
|
44147
|
-
return /* @__PURE__ */ p(
|
|
44166
|
+
return /* @__PURE__ */ p(rT, { segments: b });
|
|
44148
44167
|
const { primaryLabel: S, secondaryLabel: y, time: o } = xy({
|
|
44149
44168
|
data: C,
|
|
44150
44169
|
trackedMinutes: l,
|
|
@@ -44184,19 +44203,19 @@ function oU({
|
|
|
44184
44203
|
] })
|
|
44185
44204
|
] });
|
|
44186
44205
|
}
|
|
44187
|
-
const
|
|
44188
|
-
function
|
|
44206
|
+
const AT = " · ", sT = " — ", rU = 20;
|
|
44207
|
+
function aT(C) {
|
|
44189
44208
|
const l = [], f = (U, b) => {
|
|
44190
44209
|
if (U.children?.length) {
|
|
44191
44210
|
U.children.forEach((o) => f(o, [...b, U]));
|
|
44192
44211
|
return;
|
|
44193
44212
|
}
|
|
44194
|
-
const S = b.map((o) => o.name), y = S.join(
|
|
44213
|
+
const S = b.map((o) => o.name), y = S.join(AT);
|
|
44195
44214
|
l.push({
|
|
44196
44215
|
id: U.id,
|
|
44197
44216
|
name: U.name,
|
|
44198
44217
|
group: S.length ? y : U.name,
|
|
44199
|
-
path: S.length ? `${U.name}${
|
|
44218
|
+
path: S.length ? `${U.name}${sT}${y}` : U.name,
|
|
44200
44219
|
haystack: [U.name, ...S].join(" ").toLowerCase(),
|
|
44201
44220
|
// The glyph that means something is usually the ROOT's (Office, Home,
|
|
44202
44221
|
// Business trip) — a work area rarely has its own, so the nearest one up
|
|
@@ -44206,7 +44225,7 @@ function AT(C) {
|
|
|
44206
44225
|
};
|
|
44207
44226
|
return C.forEach((U) => f(U, [])), l;
|
|
44208
44227
|
}
|
|
44209
|
-
const
|
|
44228
|
+
const lT = (C, l) => l ? Dy(C).find((f) => f.id === l) : void 0, Dy = (C) => C.flatMap((l) => [l, ...Dy(l.children ?? [])]);
|
|
44210
44229
|
function _y({
|
|
44211
44230
|
items: C,
|
|
44212
44231
|
value: l,
|
|
@@ -44217,7 +44236,7 @@ function _y({
|
|
|
44217
44236
|
required: y = !0,
|
|
44218
44237
|
disabled: o
|
|
44219
44238
|
}) {
|
|
44220
|
-
const V = Gt(() =>
|
|
44239
|
+
const V = Gt(() => aT(C), [C]), E = Gt(
|
|
44221
44240
|
() => C.some(($) => !!$.children?.length),
|
|
44222
44241
|
[C]
|
|
44223
44242
|
), K = (l ? V.find(($) => $.id === l) : void 0)?.icon ?? S, N = Gt(
|
|
@@ -44310,7 +44329,7 @@ const gB = (C) => C.map((l) => ({
|
|
|
44310
44329
|
icon: l.icon,
|
|
44311
44330
|
children: l.sublocations?.length ? gB(l.sublocations) : void 0
|
|
44312
44331
|
}));
|
|
44313
|
-
function
|
|
44332
|
+
function cT({
|
|
44314
44333
|
locations: C,
|
|
44315
44334
|
locationId: l,
|
|
44316
44335
|
onChangeLocationId: f,
|
|
@@ -44339,7 +44358,7 @@ const Sy = (C) => C.map((l) => ({
|
|
|
44339
44358
|
name: l.name,
|
|
44340
44359
|
children: l.subprojects?.length ? Sy(l.subprojects) : void 0
|
|
44341
44360
|
}));
|
|
44342
|
-
function
|
|
44361
|
+
function dT({
|
|
44343
44362
|
projects: C,
|
|
44344
44363
|
projectId: l,
|
|
44345
44364
|
onChangeProjectId: f,
|
|
@@ -44363,7 +44382,7 @@ function lT({
|
|
|
44363
44382
|
}
|
|
44364
44383
|
);
|
|
44365
44384
|
}
|
|
44366
|
-
function
|
|
44385
|
+
function uT({
|
|
44367
44386
|
text: C,
|
|
44368
44387
|
placeholder: l,
|
|
44369
44388
|
icon: f,
|
|
@@ -44391,7 +44410,7 @@ function cT({
|
|
|
44391
44410
|
}
|
|
44392
44411
|
);
|
|
44393
44412
|
}
|
|
44394
|
-
function
|
|
44413
|
+
function hT({
|
|
44395
44414
|
variant: C = "default",
|
|
44396
44415
|
canSeeGraph: l = !0,
|
|
44397
44416
|
canShowLocation: f = !0,
|
|
@@ -44468,7 +44487,7 @@ const AU = "[&_[data-testid=input-field-wrapper]]:bg-transparent", sU = ({ color
|
|
|
44468
44487
|
)
|
|
44469
44488
|
] });
|
|
44470
44489
|
};
|
|
44471
|
-
function
|
|
44490
|
+
function zN({
|
|
44472
44491
|
trackedMinutes: C,
|
|
44473
44492
|
remainingMinutes: l,
|
|
44474
44493
|
data: f = [],
|
|
@@ -44501,7 +44520,7 @@ function NN({
|
|
|
44501
44520
|
variant: fe = "default",
|
|
44502
44521
|
loading: xe = !1
|
|
44503
44522
|
}) {
|
|
44504
|
-
const { status: be, statusText: _e, subtitle: Ve, statusColor: ue } =
|
|
44523
|
+
const { status: be, statusText: _e, subtitle: Ve, statusColor: ue } = gT({
|
|
44505
44524
|
data: f,
|
|
44506
44525
|
labels: U,
|
|
44507
44526
|
trackedMinutes: C,
|
|
@@ -44521,7 +44540,7 @@ function NN({
|
|
|
44521
44540
|
}
|
|
44522
44541
|
}, Ft = (rg) => {
|
|
44523
44542
|
N?.(rg), et(!1), T?.(rg);
|
|
44524
|
-
}, St = Te && S.length && !o && y, Wt = Te && !re && ie, yt =
|
|
44543
|
+
}, St = Te && S.length && !o && y, Wt = Te && !re && ie, yt = lT(gB(S), b), Xe = S.map((rg) => ({
|
|
44525
44544
|
value: rg.id,
|
|
44526
44545
|
label: rg.name,
|
|
44527
44546
|
icon: rg.icon
|
|
@@ -44537,7 +44556,7 @@ function NN({
|
|
|
44537
44556
|
onOpenChange: st,
|
|
44538
44557
|
disabled: o,
|
|
44539
44558
|
children: /* @__PURE__ */ p("div", { "aria-label": "Select location", children: /* @__PURE__ */ p(
|
|
44540
|
-
|
|
44559
|
+
uT,
|
|
44541
44560
|
{
|
|
44542
44561
|
text: yt?.name,
|
|
44543
44562
|
placeholder: U.selectLocation,
|
|
@@ -44546,7 +44565,7 @@ function NN({
|
|
|
44546
44565
|
) })
|
|
44547
44566
|
}
|
|
44548
44567
|
) : yt ? /* @__PURE__ */ p(WA, { text: yt.name, icon: yt.icon }) : null, it = S.length ? /* @__PURE__ */ p(
|
|
44549
|
-
|
|
44568
|
+
cT,
|
|
44550
44569
|
{
|
|
44551
44570
|
locations: S,
|
|
44552
44571
|
locationId: b,
|
|
@@ -44557,7 +44576,7 @@ function NN({
|
|
|
44557
44576
|
disabled: !St
|
|
44558
44577
|
}
|
|
44559
44578
|
) : null, Oe = Be?.length && ie ? /* @__PURE__ */ p(
|
|
44560
|
-
|
|
44579
|
+
dT,
|
|
44561
44580
|
{
|
|
44562
44581
|
projects: Be,
|
|
44563
44582
|
projectId: Ue,
|
|
@@ -44684,7 +44703,7 @@ function NN({
|
|
|
44684
44703
|
) : null, zt = Xt && ug, Nt = zt ? mt : null, pg = zt ? hg : hg ?? mt;
|
|
44685
44704
|
if (xe)
|
|
44686
44705
|
return /* @__PURE__ */ p(
|
|
44687
|
-
|
|
44706
|
+
hT,
|
|
44688
44707
|
{
|
|
44689
44708
|
variant: fe,
|
|
44690
44709
|
canSeeGraph: $,
|
|
@@ -44770,16 +44789,16 @@ function NN({
|
|
|
44770
44789
|
/* @__PURE__ */ p("div", { className: "mt-6 flex flex-row flex-wrap items-center justify-center gap-2 @xs:justify-start", children: ig })
|
|
44771
44790
|
] }) });
|
|
44772
44791
|
}
|
|
44773
|
-
const
|
|
44792
|
+
const pT = {
|
|
44774
44793
|
done: LD,
|
|
44775
44794
|
"in-progress": jD,
|
|
44776
44795
|
todo: OD
|
|
44777
|
-
},
|
|
44796
|
+
}, BT = {
|
|
44778
44797
|
done: "text-f1-icon-success",
|
|
44779
44798
|
"in-progress": "text-f1-icon-info",
|
|
44780
44799
|
todo: "text-f1-icon"
|
|
44781
44800
|
};
|
|
44782
|
-
function
|
|
44801
|
+
function fT({
|
|
44783
44802
|
task: C,
|
|
44784
44803
|
status: l,
|
|
44785
44804
|
onClick: f,
|
|
@@ -44789,7 +44808,7 @@ function pT({
|
|
|
44789
44808
|
f?.(C);
|
|
44790
44809
|
}, S = Gt(() => {
|
|
44791
44810
|
if (!U)
|
|
44792
|
-
return
|
|
44811
|
+
return pT[l];
|
|
44793
44812
|
}, [l, U]);
|
|
44794
44813
|
return /* @__PURE__ */ p(
|
|
44795
44814
|
Ip,
|
|
@@ -44797,7 +44816,7 @@ function pT({
|
|
|
44797
44816
|
id: C.id,
|
|
44798
44817
|
title: C.text,
|
|
44799
44818
|
icon: S,
|
|
44800
|
-
iconClassName:
|
|
44819
|
+
iconClassName: BT[l],
|
|
44801
44820
|
alert: C.badge?.isPastDue ? {
|
|
44802
44821
|
text: C.badge.text,
|
|
44803
44822
|
level: "critical"
|
|
@@ -44811,7 +44830,7 @@ function pT({
|
|
|
44811
44830
|
}
|
|
44812
44831
|
);
|
|
44813
44832
|
}
|
|
44814
|
-
function
|
|
44833
|
+
function JN({
|
|
44815
44834
|
tasks: C,
|
|
44816
44835
|
onClickTask: l,
|
|
44817
44836
|
hideIcons: f = !1,
|
|
@@ -44837,7 +44856,7 @@ function KN({
|
|
|
44837
44856
|
}))
|
|
44838
44857
|
), o = !y.length;
|
|
44839
44858
|
return /* @__PURE__ */ p("div", { className: "flex flex-col gap-0", children: o ? /* @__PURE__ */ p("p", { className: "pl-2 font-medium", children: b }) : y.slice(0, U).map((V) => /* @__PURE__ */ p(
|
|
44840
|
-
|
|
44859
|
+
fT,
|
|
44841
44860
|
{
|
|
44842
44861
|
task: V,
|
|
44843
44862
|
status: V.status,
|
|
@@ -44847,11 +44866,11 @@ function KN({
|
|
|
44847
44866
|
V.id
|
|
44848
44867
|
)) });
|
|
44849
44868
|
}
|
|
44850
|
-
const IB = [0.05, 0.7, 0.1, 1], zA = { duration: 0 }, vy = 320, Ry = 10,
|
|
44869
|
+
const IB = [0.05, 0.7, 0.1, 1], zA = { duration: 0 }, vy = 320, Ry = 10, mT = 55, My = 330, Vy = 220, Py = (C, l = 0) => (l + Math.min(C * mT, My)) / 1e3, iB = (C, l = 0, f = !1) => f ? zA : {
|
|
44851
44870
|
duration: vy / 1e3,
|
|
44852
44871
|
ease: IB,
|
|
44853
44872
|
delay: Py(C, l)
|
|
44854
|
-
}, ip = "top right", Gy = 180, Ey = 140,
|
|
44873
|
+
}, ip = "top right", Gy = 180, Ey = 140, FT = 90, UT = 0.9, QT = 10, yT = 1.18, wT = 1.3, bT = 0.94, Ty = {
|
|
44855
44874
|
type: "spring",
|
|
44856
44875
|
stiffness: 420,
|
|
44857
44876
|
damping: 32,
|
|
@@ -44859,20 +44878,20 @@ const IB = [0.05, 0.7, 0.1, 1], zA = { duration: 0 }, vy = 320, Ry = 10, BT = 55
|
|
|
44859
44878
|
}, ky = {
|
|
44860
44879
|
duration: Ey / 1e3,
|
|
44861
44880
|
ease: "easeIn"
|
|
44862
|
-
},
|
|
44881
|
+
}, xT = {
|
|
44863
44882
|
type: "spring",
|
|
44864
44883
|
stiffness: 420,
|
|
44865
44884
|
damping: 26,
|
|
44866
44885
|
mass: 0.7
|
|
44867
|
-
},
|
|
44886
|
+
}, DT = {
|
|
44868
44887
|
type: "spring",
|
|
44869
44888
|
stiffness: 520,
|
|
44870
44889
|
damping: 38,
|
|
44871
44890
|
mass: 0.8
|
|
44872
|
-
},
|
|
44891
|
+
}, _T = {
|
|
44873
44892
|
duration: Gy / 1e3,
|
|
44874
44893
|
ease: "easeIn"
|
|
44875
|
-
},
|
|
44894
|
+
}, ST = Ty, vT = {
|
|
44876
44895
|
duration: 0.28,
|
|
44877
44896
|
ease: IB
|
|
44878
44897
|
}, GA = (C, l) => l ? zA : C, aU = (C, l) => {
|
|
@@ -44889,7 +44908,7 @@ const IB = [0.05, 0.7, 0.1, 1], zA = { duration: 0 }, vy = 320, Ry = 10, BT = 55
|
|
|
44889
44908
|
const b = setTimeout(() => U(!0), l);
|
|
44890
44909
|
return () => clearTimeout(b);
|
|
44891
44910
|
}, [C, l]), f;
|
|
44892
|
-
},
|
|
44911
|
+
}, RT = (C) => {
|
|
44893
44912
|
const [l, f] = We(C <= 0);
|
|
44894
44913
|
return It(() => {
|
|
44895
44914
|
if (C <= 0) {
|
|
@@ -44899,18 +44918,18 @@ const IB = [0.05, 0.7, 0.1, 1], zA = { duration: 0 }, vy = 320, Ry = 10, BT = 55
|
|
|
44899
44918
|
const U = setTimeout(() => f(!0), C);
|
|
44900
44919
|
return () => clearTimeout(U);
|
|
44901
44920
|
}, [C]), l;
|
|
44902
|
-
},
|
|
44903
|
-
duration:
|
|
44921
|
+
}, MT = (C = 0) => C + My + vy, VT = 220, PT = 140, GT = 5, ET = {
|
|
44922
|
+
duration: VT / 1e3,
|
|
44904
44923
|
ease: IB
|
|
44905
|
-
},
|
|
44906
|
-
duration:
|
|
44924
|
+
}, TT = {
|
|
44925
|
+
duration: PT / 1e3,
|
|
44907
44926
|
ease: "easeIn"
|
|
44908
44927
|
}, lU = {
|
|
44909
44928
|
type: "spring",
|
|
44910
44929
|
stiffness: 520,
|
|
44911
44930
|
damping: 40,
|
|
44912
44931
|
mass: 0.8
|
|
44913
|
-
},
|
|
44932
|
+
}, kT = 4, Zy = (C, l = kT) => {
|
|
44914
44933
|
const f = Ee(C), U = Math.abs(C - f.current) > l;
|
|
44915
44934
|
return It(() => {
|
|
44916
44935
|
f.current = C;
|
|
@@ -44926,20 +44945,20 @@ const IB = [0.05, 0.7, 0.1, 1], zA = { duration: 0 }, vy = 320, Ry = 10, BT = 55
|
|
|
44926
44945
|
{
|
|
44927
44946
|
className: C,
|
|
44928
44947
|
style: { overflow: "hidden" },
|
|
44929
|
-
initial: b ? !1 : { opacity: 0, height: 0, y:
|
|
44948
|
+
initial: b ? !1 : { opacity: 0, height: 0, y: GT },
|
|
44930
44949
|
animate: { opacity: 1, height: "auto", y: 0 },
|
|
44931
44950
|
exit: {
|
|
44932
44951
|
opacity: 0,
|
|
44933
44952
|
height: 0,
|
|
44934
44953
|
transition: {
|
|
44935
|
-
...GA(
|
|
44954
|
+
...GA(TT, b),
|
|
44936
44955
|
// The fade is quick and the closing is a spring, so the row is
|
|
44937
44956
|
// already invisible while its space is still being given back.
|
|
44938
44957
|
height: GA(lU, b)
|
|
44939
44958
|
}
|
|
44940
44959
|
},
|
|
44941
44960
|
transition: {
|
|
44942
|
-
...GA(
|
|
44961
|
+
...GA(ET, b),
|
|
44943
44962
|
height: GA(lU, b)
|
|
44944
44963
|
},
|
|
44945
44964
|
children: f
|
|
@@ -44964,7 +44983,7 @@ const IB = [0.05, 0.7, 0.1, 1], zA = { duration: 0 }, vy = 320, Ry = 10, BT = 55
|
|
|
44964
44983
|
children: S
|
|
44965
44984
|
}
|
|
44966
44985
|
);
|
|
44967
|
-
},
|
|
44986
|
+
}, ZT = Qe(
|
|
44968
44987
|
"pointer-events-none absolute inset-y-0 right-0 z-10 flex items-center gap-1 rounded-r-md pl-16 pr-2",
|
|
44969
44988
|
"bg-gradient-to-l from-f1-background from-60% to-transparent",
|
|
44970
44989
|
// Hidden but still in the DOM and still focusable, so Tab reaches them —
|
|
@@ -44972,8 +44991,8 @@ const IB = [0.05, 0.7, 0.1, 1], zA = { duration: 0 }, vy = 320, Ry = 10, BT = 55
|
|
|
44972
44991
|
"opacity-0 transition-opacity motion-reduce:transition-none",
|
|
44973
44992
|
"group-hover:pointer-events-auto group-hover:opacity-100",
|
|
44974
44993
|
"group-focus-within:pointer-events-auto group-focus-within:opacity-100"
|
|
44975
|
-
),
|
|
44976
|
-
function
|
|
44994
|
+
), NT = "pointer-events-auto opacity-100";
|
|
44995
|
+
function KT({
|
|
44977
44996
|
avatar: C,
|
|
44978
44997
|
avatarSize: l = "lg",
|
|
44979
44998
|
left: f,
|
|
@@ -45033,7 +45052,7 @@ function ZT({
|
|
|
45033
45052
|
) : /* @__PURE__ */ p("div", { className: ie, children: L });
|
|
45034
45053
|
return K ? /* @__PURE__ */ ee("div", { className: "group relative", children: [
|
|
45035
45054
|
Z,
|
|
45036
|
-
/* @__PURE__ */ p("div", { className: Qe(
|
|
45055
|
+
/* @__PURE__ */ p("div", { className: Qe(ZT, j && NT), children: o?.map((Ce) => {
|
|
45037
45056
|
const Be = /* @__PURE__ */ p(
|
|
45038
45057
|
dg,
|
|
45039
45058
|
{
|
|
@@ -45061,7 +45080,7 @@ function ZT({
|
|
|
45061
45080
|
}) })
|
|
45062
45081
|
] }) : Z;
|
|
45063
45082
|
}
|
|
45064
|
-
const
|
|
45083
|
+
const WT = (C) => C == null ? void 0 : typeof C == "function" ? { render: C } : C, HN = [
|
|
45065
45084
|
"viridian",
|
|
45066
45085
|
"malibu",
|
|
45067
45086
|
"yellow",
|
|
@@ -45073,7 +45092,7 @@ const NT = (C) => C == null ? void 0 : typeof C == "function" ? { render: C } :
|
|
|
45073
45092
|
"flubber",
|
|
45074
45093
|
"indigo",
|
|
45075
45094
|
"camel"
|
|
45076
|
-
],
|
|
45095
|
+
], YT = {
|
|
45077
45096
|
viridian: "bg-[hsl(theme(colors.viridian.50)_/_0.1)] text-[hsl(theme(colors.viridian.50))] dark:bg-[hsl(theme(colors.viridian.50)_/_0.24)]",
|
|
45078
45097
|
malibu: "bg-[hsl(theme(colors.malibu.50)_/_0.1)] text-[hsl(theme(colors.malibu.50))] dark:bg-[hsl(theme(colors.malibu.50)_/_0.24)]",
|
|
45079
45098
|
yellow: "bg-[hsl(theme(colors.yellow.50)_/_0.1)] text-[hsl(theme(colors.yellow.50))] dark:bg-[hsl(theme(colors.yellow.50)_/_0.24)]",
|
|
@@ -45085,27 +45104,27 @@ const NT = (C) => C == null ? void 0 : typeof C == "function" ? { render: C } :
|
|
|
45085
45104
|
flubber: "bg-[hsl(theme(colors.flubber.50)_/_0.1)] text-[hsl(theme(colors.flubber.50))] dark:bg-[hsl(theme(colors.flubber.50)_/_0.24)]",
|
|
45086
45105
|
indigo: "bg-[hsl(theme(colors.indigo.50)_/_0.1)] text-[hsl(theme(colors.indigo.50))] dark:bg-[hsl(theme(colors.indigo.50)_/_0.24)]",
|
|
45087
45106
|
camel: "bg-[hsl(theme(colors.camel.50)_/_0.1)] text-[hsl(theme(colors.camel.50))] dark:bg-[hsl(theme(colors.camel.50)_/_0.24)]"
|
|
45088
|
-
},
|
|
45107
|
+
}, zT = (C) => {
|
|
45089
45108
|
const l = C.slice(1), f = l.length === 3 ? l.split("").map((b) => b + b).join("") : l;
|
|
45090
45109
|
if (!/^[0-9a-f]{6}$/i.test(f)) return;
|
|
45091
45110
|
const U = parseInt(f, 16);
|
|
45092
45111
|
return `${U >> 16 & 255} ${U >> 8 & 255} ${U & 255}`;
|
|
45093
|
-
},
|
|
45112
|
+
}, JT = Qe(
|
|
45094
45113
|
"bg-[rgb(var(--list-icon-tint)_/_0.1)] text-[rgb(var(--list-icon-tint))]",
|
|
45095
45114
|
"dark:bg-[rgb(var(--list-icon-tint)_/_0.24)]"
|
|
45096
|
-
),
|
|
45115
|
+
), HT = (C) => {
|
|
45097
45116
|
if (!C.startsWith("#"))
|
|
45098
|
-
return { className:
|
|
45099
|
-
const l =
|
|
45117
|
+
return { className: YT[C] };
|
|
45118
|
+
const l = zT(C);
|
|
45100
45119
|
return l ? {
|
|
45101
|
-
className:
|
|
45120
|
+
className: JT,
|
|
45102
45121
|
style: { "--list-icon-tint": l }
|
|
45103
45122
|
} : void 0;
|
|
45104
|
-
},
|
|
45123
|
+
}, OT = {
|
|
45105
45124
|
sm: "size-6 rounded-sm",
|
|
45106
45125
|
md: "size-8 rounded",
|
|
45107
45126
|
lg: "size-10 rounded-md"
|
|
45108
|
-
},
|
|
45127
|
+
}, jT = ({
|
|
45109
45128
|
icon: C,
|
|
45110
45129
|
tint: l,
|
|
45111
45130
|
size: f
|
|
@@ -45114,21 +45133,21 @@ const NT = (C) => C == null ? void 0 : typeof C == "function" ? { render: C } :
|
|
|
45114
45133
|
{
|
|
45115
45134
|
className: Qe(
|
|
45116
45135
|
"flex aspect-square items-center justify-center",
|
|
45117
|
-
|
|
45136
|
+
OT[f],
|
|
45118
45137
|
l.className
|
|
45119
45138
|
),
|
|
45120
45139
|
style: l.style,
|
|
45121
45140
|
children: /* @__PURE__ */ p(Ig, { icon: C, size: f })
|
|
45122
45141
|
}
|
|
45123
|
-
),
|
|
45142
|
+
), LT = 6, Wy = (C, l) => !!C.compact || !C.descriptionOptional && l > LT, ON = (C, l, f) => ({ visualization: C, params: l, ...f }), jN = (C, l, f) => ({
|
|
45124
45143
|
visualization: "list",
|
|
45125
45144
|
params: { schema: C, items: l },
|
|
45126
45145
|
...f
|
|
45127
|
-
}),
|
|
45146
|
+
}), LN = (C, l) => (f) => l(f), Ud = (C, l = {}) => {
|
|
45128
45147
|
if (!C) return;
|
|
45129
45148
|
const { title: f, info: U, ...b } = C, S = (y) => typeof y == "function" ? y(l) : y;
|
|
45130
45149
|
return { ...b, title: S(f), info: S(U) };
|
|
45131
|
-
}, Ec = (C) => Ud(C.header, C.params)?.title ?? C.id,
|
|
45150
|
+
}, Ec = (C) => Ud(C.header, C.params)?.title ?? C.id, XN = (C, l) => C ? C.safeParse(l ?? {}).success : !0, qN = [
|
|
45132
45151
|
"neutral",
|
|
45133
45152
|
"accent",
|
|
45134
45153
|
"critical",
|
|
@@ -45147,23 +45166,23 @@ const NT = (C) => C == null ? void 0 : typeof C == "function" ? { render: C } :
|
|
|
45147
45166
|
...l,
|
|
45148
45167
|
status: "status" in C ? C.status : void 0
|
|
45149
45168
|
};
|
|
45150
|
-
},
|
|
45169
|
+
}, XT = "-m-2", Qd = (C) => Qe(XT, "mt-0", !C.isLastSlot && "mb-0"), zy = "gap-2", qT = (C, l, f) => {
|
|
45151
45170
|
if (C === "module" && l.module)
|
|
45152
45171
|
return { left: /* @__PURE__ */ p(pp, { module: l.module, size: f }) };
|
|
45153
45172
|
if (C === "alert" && l.alert)
|
|
45154
45173
|
return { left: /* @__PURE__ */ p(mp, { type: l.alert, size: f }) };
|
|
45155
45174
|
if (C === "icon" && l.avatar?.icon && l.avatar.color) {
|
|
45156
|
-
const U =
|
|
45175
|
+
const U = HT(l.avatar.color);
|
|
45157
45176
|
if (U)
|
|
45158
45177
|
return {
|
|
45159
|
-
left: /* @__PURE__ */ p(
|
|
45178
|
+
left: /* @__PURE__ */ p(jT, { icon: l.avatar.icon, tint: U, size: f })
|
|
45160
45179
|
};
|
|
45161
45180
|
}
|
|
45162
45181
|
return C && l.avatar ? {
|
|
45163
45182
|
avatar: { type: C, ...l.avatar },
|
|
45164
45183
|
avatarSize: f
|
|
45165
45184
|
} : {};
|
|
45166
|
-
},
|
|
45185
|
+
}, $T = (C, l, f) => {
|
|
45167
45186
|
if (C)
|
|
45168
45187
|
return C === "counter" ? l.count != null ? /* @__PURE__ */ p(gd, { value: l.count }) : void 0 : C.endsWith("-list") ? l.avatars && l.avatars.length > 0 ? /* @__PURE__ */ p(
|
|
45169
45188
|
Va,
|
|
@@ -45182,19 +45201,19 @@ const NT = (C) => C == null ? void 0 : typeof C == "function" ? { render: C } :
|
|
|
45182
45201
|
}
|
|
45183
45202
|
) : void 0;
|
|
45184
45203
|
}, Jy = (C, l) => l ? C ? "lg" : "md" : C ? "md" : "sm";
|
|
45185
|
-
function
|
|
45204
|
+
function ek({ params: C, ctx: l }) {
|
|
45186
45205
|
const { schema: f, items: U } = C, b = U, [S, y] = We(!1), o = yp(), V = f.maxVisibleItems, E = V != null && b.length > V, T = E && !S ? b.slice(0, V) : b, K = Zy(T.length), N = Wy(f, T.length), j = (!!f.descriptionRequired || !!f.descriptionOptional) && !N, $ = Jy(j, o), X = o ? "md" : "sm";
|
|
45187
45206
|
return /* @__PURE__ */ ee("div", { className: Qe(Qd(l), "flex flex-col"), children: [
|
|
45188
45207
|
/* @__PURE__ */ p(Ny, { children: T.map(({ href: L, description: ie, ...Z }) => {
|
|
45189
45208
|
const Ce = /* @__PURE__ */ p(
|
|
45190
|
-
|
|
45209
|
+
KT,
|
|
45191
45210
|
{
|
|
45192
45211
|
title: Z.title,
|
|
45193
45212
|
subtitle: Z.subtitle,
|
|
45194
45213
|
description: N ? void 0 : ie,
|
|
45195
45214
|
unread: Z.unread,
|
|
45196
|
-
...
|
|
45197
|
-
right:
|
|
45215
|
+
...qT(f.left, Z, $),
|
|
45216
|
+
right: $T(f.right, Z, X),
|
|
45198
45217
|
actions: Z.actions,
|
|
45199
45218
|
href: f.clickBehavior === "link" ? L : void 0
|
|
45200
45219
|
}
|
|
@@ -45216,18 +45235,18 @@ function qT({ params: C, ctx: l }) {
|
|
|
45216
45235
|
) }) : null
|
|
45217
45236
|
] });
|
|
45218
45237
|
}
|
|
45219
|
-
function
|
|
45238
|
+
function tk({
|
|
45220
45239
|
params: C,
|
|
45221
45240
|
ctx: l
|
|
45222
45241
|
}) {
|
|
45223
45242
|
const { events: f } = C, U = Zy(f.length);
|
|
45224
45243
|
return /* @__PURE__ */ p("div", { className: Qe(Qd(l), "flex flex-col", zy), children: /* @__PURE__ */ p(Ny, { children: f.map((b) => /* @__PURE__ */ p(Ky, { animated: !U, children: /* @__PURE__ */ p(zc, { ...b }) }, b.title)) }) });
|
|
45225
45244
|
}
|
|
45226
|
-
const
|
|
45245
|
+
const gk = 3, yd = "slot-skeleton-item", dU = ["w-1/2", "w-2/3", "w-2/5", "w-3/5"], Ik = {
|
|
45227
45246
|
sm: "size-6",
|
|
45228
45247
|
md: "size-8",
|
|
45229
45248
|
lg: "size-10"
|
|
45230
|
-
}, nB = (C) => dU[C % dU.length], va = ({ className: C }) => /* @__PURE__ */ p("div", { className: "flex h-5 items-center", children: /* @__PURE__ */ p(lt, { className: Qe("h-3", C) }) }),
|
|
45249
|
+
}, nB = (C) => dU[C % dU.length], va = ({ className: C }) => /* @__PURE__ */ p("div", { className: "flex h-5 items-center", children: /* @__PURE__ */ p(lt, { className: Qe("h-3", C) }) }), ik = ({
|
|
45231
45250
|
params: C,
|
|
45232
45251
|
ctx: l
|
|
45233
45252
|
}) => {
|
|
@@ -45250,7 +45269,7 @@ const ek = 3, yd = "slot-skeleton-item", dU = ["w-1/2", "w-2/3", "w-2/5", "w-3/5
|
|
|
45250
45269
|
className: Qe(
|
|
45251
45270
|
"shrink-0",
|
|
45252
45271
|
// The size the real glyph will be — same rule, same card.
|
|
45253
|
-
|
|
45272
|
+
Ik[Jy(y, U)],
|
|
45254
45273
|
f.left === "person" ? "rounded-full" : "rounded-sm"
|
|
45255
45274
|
)
|
|
45256
45275
|
}
|
|
@@ -45267,7 +45286,7 @@ const ek = 3, yd = "slot-skeleton-item", dU = ["w-1/2", "w-2/3", "w-2/5", "w-3/5
|
|
|
45267
45286
|
)),
|
|
45268
45287
|
V ? /* @__PURE__ */ p("div", { className: "mt-1 self-start", children: /* @__PURE__ */ p(lt, { className: "h-6 w-24 rounded-sm" }) }) : null
|
|
45269
45288
|
] });
|
|
45270
|
-
},
|
|
45289
|
+
}, nk = ({ ctx: C }) => /* @__PURE__ */ p("div", { className: Qe(Qd(C), "flex flex-col", zy), children: Array.from({ length: C.expectedItemsCount }, (l, f) => /* @__PURE__ */ ee(
|
|
45271
45290
|
"div",
|
|
45272
45291
|
{
|
|
45273
45292
|
"data-testid": yd,
|
|
@@ -45282,7 +45301,7 @@ const ek = 3, yd = "slot-skeleton-item", dU = ["w-1/2", "w-2/3", "w-2/5", "w-3/5
|
|
|
45282
45301
|
]
|
|
45283
45302
|
},
|
|
45284
45303
|
f
|
|
45285
|
-
)) }),
|
|
45304
|
+
)) }), Ck = ({ ctx: C }) => /* @__PURE__ */ p("div", { className: "grid auto-cols-fr grid-flow-col items-end gap-x-3", children: Array.from({ length: C.expectedItemsCount }, (l, f) => /* @__PURE__ */ ee(
|
|
45286
45305
|
"div",
|
|
45287
45306
|
{
|
|
45288
45307
|
"data-testid": yd,
|
|
@@ -45293,13 +45312,13 @@ const ek = 3, yd = "slot-skeleton-item", dU = ["w-1/2", "w-2/3", "w-2/5", "w-3/5
|
|
|
45293
45312
|
]
|
|
45294
45313
|
},
|
|
45295
45314
|
f
|
|
45296
|
-
)) }),
|
|
45315
|
+
)) }), ok = (C, l) => /* @__PURE__ */ p("div", { className: "flex flex-col gap-2", children: Array.from({ length: l.expectedItemsCount }, (f, U) => /* @__PURE__ */ p("div", { "data-testid": yd, children: /* @__PURE__ */ p(lt, { className: Qe("h-6", nB(U)) }) }, U)) }), uU = {
|
|
45297
45316
|
list: {
|
|
45298
|
-
render: (C, l) => /* @__PURE__ */ p(
|
|
45317
|
+
render: (C, l) => /* @__PURE__ */ p(ek, { params: C, ctx: l }),
|
|
45299
45318
|
skeleton: (C, l) => (
|
|
45300
45319
|
// Partial: a loading `list` carries its schema but not yet its items.
|
|
45301
45320
|
/* @__PURE__ */ p(
|
|
45302
|
-
|
|
45321
|
+
ik,
|
|
45303
45322
|
{
|
|
45304
45323
|
params: C ?? {},
|
|
45305
45324
|
ctx: l
|
|
@@ -45311,15 +45330,15 @@ const ek = 3, yd = "slot-skeleton-item", dU = ["w-1/2", "w-2/3", "w-2/5", "w-3/5
|
|
|
45311
45330
|
// because each one is wrapped for the CHURN (see `EventListSlot`), which asks
|
|
45312
45331
|
// for a per-item wrapper that component has no way to put in.
|
|
45313
45332
|
"event-list": {
|
|
45314
|
-
render: (C, l) => /* @__PURE__ */ p(
|
|
45315
|
-
skeleton: (C, l) => /* @__PURE__ */ p(
|
|
45333
|
+
render: (C, l) => /* @__PURE__ */ p(tk, { params: C, ctx: l }),
|
|
45334
|
+
skeleton: (C, l) => /* @__PURE__ */ p(nk, { ctx: l })
|
|
45316
45335
|
},
|
|
45317
45336
|
indicators: {
|
|
45318
|
-
render: (C) => /* @__PURE__ */ p(
|
|
45319
|
-
skeleton: (C, l) => /* @__PURE__ */ p(
|
|
45337
|
+
render: (C) => /* @__PURE__ */ p(XE, { ...C }),
|
|
45338
|
+
skeleton: (C, l) => /* @__PURE__ */ p(Ck, { ctx: l })
|
|
45320
45339
|
}
|
|
45321
|
-
},
|
|
45322
|
-
function
|
|
45340
|
+
}, rk = "-ml-0.5 mt-2", Sh = 450, Ak = "cubic-bezier(0.4, 0, 0.1, 1)", sk = 1.04;
|
|
45341
|
+
function ak({
|
|
45323
45342
|
slots: C,
|
|
45324
45343
|
loading: l = !1,
|
|
45325
45344
|
slotRenderers: f,
|
|
@@ -45335,7 +45354,7 @@ function Ak({
|
|
|
45335
45354
|
className: "flex flex-col",
|
|
45336
45355
|
...l ? { "aria-busy": !0, "aria-live": "polite" } : {},
|
|
45337
45356
|
children: C.map((S, y) => {
|
|
45338
|
-
const o =
|
|
45357
|
+
const o = WT(b[S.visualization]), V = {
|
|
45339
45358
|
...U,
|
|
45340
45359
|
isLastSlot: y === C.length - 1
|
|
45341
45360
|
};
|
|
@@ -45344,9 +45363,9 @@ function Ak({
|
|
|
45344
45363
|
l ? (
|
|
45345
45364
|
// A placeholder says nothing worth reading out — the stack
|
|
45346
45365
|
// above already announces that the widget is busy.
|
|
45347
|
-
/* @__PURE__ */ p("div", { "aria-hidden": "true", children: (o?.skeleton ??
|
|
45366
|
+
/* @__PURE__ */ p("div", { "aria-hidden": "true", children: (o?.skeleton ?? ok)(S.params, {
|
|
45348
45367
|
...V,
|
|
45349
|
-
expectedItemsCount: S.expectedItemsCount ??
|
|
45368
|
+
expectedItemsCount: S.expectedItemsCount ?? gk
|
|
45350
45369
|
}) })
|
|
45351
45370
|
) : o ? o.render(S.params, V) : /* @__PURE__ */ p("div", { className: "rounded-md border border-dashed border-f1-border p-2 text-f1-foreground-secondary", children: `No renderer for slot "${S.visualization}"` })
|
|
45352
45371
|
] }, y);
|
|
@@ -45420,14 +45439,14 @@ function CB({
|
|
|
45420
45439
|
header: _e,
|
|
45421
45440
|
fullHeight: f,
|
|
45422
45441
|
action: U,
|
|
45423
|
-
footerClassName:
|
|
45442
|
+
footerClassName: rk,
|
|
45424
45443
|
actions: j,
|
|
45425
45444
|
headerControls: fe,
|
|
45426
45445
|
summaries: b,
|
|
45427
45446
|
...V ? { alert: V } : { status: E },
|
|
45428
45447
|
isDragging: L,
|
|
45429
45448
|
children: /* @__PURE__ */ p(
|
|
45430
|
-
|
|
45449
|
+
ak,
|
|
45431
45450
|
{
|
|
45432
45451
|
ctx: H === void 0 ? ie : { ...ie, selection: H },
|
|
45433
45452
|
loading: K,
|
|
@@ -45452,7 +45471,7 @@ function CB({
|
|
|
45452
45471
|
className: "h-full",
|
|
45453
45472
|
"data-turning": Be || void 0,
|
|
45454
45473
|
style: {
|
|
45455
|
-
transform: `scale(${Be ?
|
|
45474
|
+
transform: `scale(${Be ? sk : 1})`,
|
|
45456
45475
|
transition: Ce ? void 0 : `transform ${Sh / 2}ms ease-out`
|
|
45457
45476
|
},
|
|
45458
45477
|
children: /* @__PURE__ */ ee(
|
|
@@ -45464,7 +45483,7 @@ function CB({
|
|
|
45464
45483
|
// No transition under reduced motion: the card still turns (the back
|
|
45465
45484
|
// has to become visible — `backface-visibility` hides whichever face
|
|
45466
45485
|
// points away), it just gets there at once.
|
|
45467
|
-
transition: Ce ? void 0 : `transform ${Sh}ms ${
|
|
45486
|
+
transition: Ce ? void 0 : `transform ${Sh}ms ${Ak}`
|
|
45468
45487
|
},
|
|
45469
45488
|
children: [
|
|
45470
45489
|
/* @__PURE__ */ p(
|
|
@@ -45515,8 +45534,8 @@ function CB({
|
|
|
45515
45534
|
)
|
|
45516
45535
|
) : Ve;
|
|
45517
45536
|
}
|
|
45518
|
-
const
|
|
45519
|
-
function vh(C =
|
|
45537
|
+
const lk = 24;
|
|
45538
|
+
function vh(C = lk) {
|
|
45520
45539
|
const [l, f] = We(null), [U, b] = We({ top: !1, bottom: !1 });
|
|
45521
45540
|
It(() => {
|
|
45522
45541
|
if (!l) return;
|
|
@@ -45540,8 +45559,8 @@ function vh(C = sk) {
|
|
|
45540
45559
|
}, [U, C]);
|
|
45541
45560
|
return { ref: f, style: S, element: l };
|
|
45542
45561
|
}
|
|
45543
|
-
const
|
|
45544
|
-
const C = ZA(
|
|
45562
|
+
const ck = "(min-width: 2200px) and (min-height: 900px)", Hy = () => {
|
|
45563
|
+
const C = ZA(ck, {
|
|
45545
45564
|
initializeWithValue: !0,
|
|
45546
45565
|
defaultValue: !1
|
|
45547
45566
|
}), l = ZA(`(max-width: ${NA.md}px)`, {
|
|
@@ -45568,7 +45587,7 @@ const ak = "(min-width: 2200px) and (min-height: 900px)", Hy = () => {
|
|
|
45568
45587
|
asideClassName: l ? "w-full shrink-0" : "w-80 shrink-0",
|
|
45569
45588
|
stacked: l
|
|
45570
45589
|
};
|
|
45571
|
-
},
|
|
45590
|
+
}, dk = "animate-in fade-in zoom-in-95 duration-300 ease-out motion-reduce:animate-none";
|
|
45572
45591
|
function Oy({
|
|
45573
45592
|
previewKey: C,
|
|
45574
45593
|
children: l,
|
|
@@ -45579,7 +45598,7 @@ function Oy({
|
|
|
45579
45598
|
/* @__PURE__ */ p(
|
|
45580
45599
|
"div",
|
|
45581
45600
|
{
|
|
45582
|
-
className: Qe("w-full",
|
|
45601
|
+
className: Qe("w-full", dk),
|
|
45583
45602
|
style: { maxWidth: `${U}px` },
|
|
45584
45603
|
children: l
|
|
45585
45604
|
},
|
|
@@ -45592,8 +45611,8 @@ function Oy({
|
|
|
45592
45611
|
) : null
|
|
45593
45612
|
] }) });
|
|
45594
45613
|
}
|
|
45595
|
-
const
|
|
45596
|
-
function
|
|
45614
|
+
const uk = (C, l) => typeof C == "function" ? C(l) : C, hk = 250;
|
|
45615
|
+
function pk({
|
|
45597
45616
|
isOpen: C,
|
|
45598
45617
|
onClose: l,
|
|
45599
45618
|
schema: f,
|
|
@@ -45635,7 +45654,7 @@ function uk({
|
|
|
45635
45654
|
defaultValues: U,
|
|
45636
45655
|
submitConfig: {
|
|
45637
45656
|
type: "autosubmit",
|
|
45638
|
-
delay:
|
|
45657
|
+
delay: hk,
|
|
45639
45658
|
hideActionBar: !0
|
|
45640
45659
|
},
|
|
45641
45660
|
styling: { noPadding: !0 },
|
|
@@ -45646,7 +45665,7 @@ function uk({
|
|
|
45646
45665
|
Oy,
|
|
45647
45666
|
{
|
|
45648
45667
|
previewKey: "widget-params",
|
|
45649
|
-
info:
|
|
45668
|
+
info: uk(S, Z),
|
|
45650
45669
|
previewWidth: o,
|
|
45651
45670
|
children: b(Z)
|
|
45652
45671
|
}
|
|
@@ -45655,19 +45674,18 @@ function uk({
|
|
|
45655
45674
|
}
|
|
45656
45675
|
);
|
|
45657
45676
|
}
|
|
45658
|
-
const
|
|
45677
|
+
const Bk = (C) => {
|
|
45659
45678
|
const l = C?.cloneNode(!0);
|
|
45660
45679
|
return l instanceof HTMLElement ? (l.classList.remove("invisible"), l.style.transform = "none", l.style.transition = "none", l.removeAttribute("id"), l.querySelectorAll("[id]").forEach((f) => f.removeAttribute("id")), l.setAttribute("aria-hidden", "true"), l.setAttribute("inert", ""), l) : null;
|
|
45661
|
-
},
|
|
45680
|
+
}, fk = ({
|
|
45662
45681
|
id: C,
|
|
45663
45682
|
disabled: l = !1,
|
|
45664
45683
|
children: f
|
|
45665
45684
|
}) => {
|
|
45666
45685
|
const { listeners: U, setNodeRef: b, transform: S, transition: y, isDragging: o } = N_({ id: C, disabled: l }), V = {
|
|
45667
45686
|
// VERTICAL ONLY: a column is one dimension, so the neighbours' shuffles
|
|
45668
|
-
// ignore any horizontal component.
|
|
45669
|
-
//
|
|
45670
|
-
// @dnd-kit/modifiers for it.
|
|
45687
|
+
// ignore any horizontal component. This is the shuffle; the card under the
|
|
45688
|
+
// pointer is held to the same axis by the column's `verticalOnly` modifier.
|
|
45671
45689
|
transform: K_.Translate.toString(S && { ...S, x: 0 }),
|
|
45672
45690
|
transition: y ?? void 0
|
|
45673
45691
|
};
|
|
@@ -45688,16 +45706,16 @@ const hk = (C) => {
|
|
|
45688
45706
|
children: f({ isDragging: o })
|
|
45689
45707
|
}
|
|
45690
45708
|
);
|
|
45691
|
-
},
|
|
45709
|
+
}, mk = 12, Fk = 280, Uk = 2, Qk = /* @__PURE__ */ new Set(["auto", "scroll", "overlay"]), yk = (C) => {
|
|
45692
45710
|
let l = C.parentElement;
|
|
45693
45711
|
for (; l && l !== document.body && l !== document.documentElement; ) {
|
|
45694
|
-
if (
|
|
45712
|
+
if (Qk.has(getComputedStyle(l).getPropertyValue("overflow-y")))
|
|
45695
45713
|
return l;
|
|
45696
45714
|
l = l.parentElement;
|
|
45697
45715
|
}
|
|
45698
45716
|
return null;
|
|
45699
45717
|
};
|
|
45700
|
-
function
|
|
45718
|
+
function wk({
|
|
45701
45719
|
config: C,
|
|
45702
45720
|
count: l,
|
|
45703
45721
|
gap: f,
|
|
@@ -45706,7 +45724,7 @@ function Qk({
|
|
|
45706
45724
|
}) {
|
|
45707
45725
|
const S = C === !1 ? null : C, [y, o] = We(null), [V, E] = We(null), T = S?.scrollElement ?? V, K = S != null && !b, N = S?.scrollElement != null;
|
|
45708
45726
|
xi(() => {
|
|
45709
|
-
!K || N || !y || E(
|
|
45727
|
+
!K || N || !y || E(yk(y));
|
|
45710
45728
|
}, [K, N, y]);
|
|
45711
45729
|
const [j, $] = We(0);
|
|
45712
45730
|
xi(() => {
|
|
@@ -45719,7 +45737,7 @@ function Qk({
|
|
|
45719
45737
|
const Ue = new ResizeObserver(Be);
|
|
45720
45738
|
return Ue.observe(T), y.parentElement && Ue.observe(y.parentElement), () => Ue.disconnect();
|
|
45721
45739
|
}, [K, y, T]);
|
|
45722
|
-
const X = K && T != null && l >= (S?.threshold ??
|
|
45740
|
+
const X = K && T != null && l >= (S?.threshold ?? mk), L = Ee(U);
|
|
45723
45741
|
L.current = U;
|
|
45724
45742
|
const ie = U.join(","), Z = gt(
|
|
45725
45743
|
(Be) => {
|
|
@@ -45735,8 +45753,8 @@ function Qk({
|
|
|
45735
45753
|
gap: f,
|
|
45736
45754
|
scrollMargin: j,
|
|
45737
45755
|
rangeExtractor: Z,
|
|
45738
|
-
overscan: S?.overscan ??
|
|
45739
|
-
estimateSize: () => S?.estimateHeight ??
|
|
45756
|
+
overscan: S?.overscan ?? Uk,
|
|
45757
|
+
estimateSize: () => S?.estimateHeight ?? Fk,
|
|
45740
45758
|
getScrollElement: () => T
|
|
45741
45759
|
});
|
|
45742
45760
|
return {
|
|
@@ -45753,7 +45771,10 @@ function Qk({
|
|
|
45753
45771
|
} : null
|
|
45754
45772
|
};
|
|
45755
45773
|
}
|
|
45756
|
-
const
|
|
45774
|
+
const bk = ({ transform: C }) => ({
|
|
45775
|
+
...C,
|
|
45776
|
+
x: 0
|
|
45777
|
+
}), xk = ({
|
|
45757
45778
|
arrival: C,
|
|
45758
45779
|
stow: l,
|
|
45759
45780
|
fullHeight: f,
|
|
@@ -45765,7 +45786,7 @@ const yk = ({
|
|
|
45765
45786
|
const K = S.current;
|
|
45766
45787
|
K?.offsetParent && o(E * l.pitch - K.offsetTop);
|
|
45767
45788
|
}, [l?.stowed, l?.pitch, E]);
|
|
45768
|
-
const T = b ? zA : C?.arriving ? iB(E, C.delayMs) : !l || l.instant ? zA : V ?
|
|
45789
|
+
const T = b ? zA : C?.arriving ? iB(E, C.delayMs) : !l || l.instant ? zA : V ? _T : ST;
|
|
45769
45790
|
return /* @__PURE__ */ p(
|
|
45770
45791
|
Zt.div,
|
|
45771
45792
|
{
|
|
@@ -45782,7 +45803,7 @@ const yk = ({
|
|
|
45782
45803
|
children: U
|
|
45783
45804
|
}
|
|
45784
45805
|
);
|
|
45785
|
-
},
|
|
45806
|
+
}, Dk = [
|
|
45786
45807
|
"a",
|
|
45787
45808
|
"button",
|
|
45788
45809
|
"input",
|
|
@@ -45797,22 +45818,22 @@ const yk = ({
|
|
|
45797
45818
|
"[role='tab']",
|
|
45798
45819
|
"[contenteditable='true']"
|
|
45799
45820
|
].join(",");
|
|
45800
|
-
class
|
|
45821
|
+
class _k extends X_ {
|
|
45801
45822
|
static activators = [
|
|
45802
45823
|
{
|
|
45803
45824
|
eventName: "onPointerDown",
|
|
45804
45825
|
handler: ({ nativeEvent: l }, { onActivation: f }) => {
|
|
45805
45826
|
if (!l.isPrimary || l.button !== 0) return !1;
|
|
45806
45827
|
const U = l.target;
|
|
45807
|
-
return U instanceof Element && U.closest(
|
|
45828
|
+
return U instanceof Element && U.closest(Dk) ? !1 : (f?.({ event: l }), !0);
|
|
45808
45829
|
}
|
|
45809
45830
|
}
|
|
45810
45831
|
];
|
|
45811
45832
|
}
|
|
45812
|
-
const
|
|
45833
|
+
const Sk = {
|
|
45813
45834
|
duration: 450,
|
|
45814
45835
|
easing: "cubic-bezier(0.4, 0, 0.1, 1)"
|
|
45815
|
-
},
|
|
45836
|
+
}, vk = [bk], Rk = { main: 24, right: 16 }, Mk = ({
|
|
45816
45837
|
hidden: C,
|
|
45817
45838
|
placement: l,
|
|
45818
45839
|
measureRef: f,
|
|
@@ -45840,7 +45861,7 @@ const xk = {
|
|
|
45840
45861
|
),
|
|
45841
45862
|
children: U
|
|
45842
45863
|
}
|
|
45843
|
-
),
|
|
45864
|
+
), Vk = ({
|
|
45844
45865
|
onClick: C,
|
|
45845
45866
|
label: l
|
|
45846
45867
|
}) => /* @__PURE__ */ p(yn, { label: l, children: /* @__PURE__ */ p(
|
|
@@ -45879,17 +45900,17 @@ function hU({
|
|
|
45879
45900
|
style: Fe
|
|
45880
45901
|
}) {
|
|
45881
45902
|
const re = Vt(), ce = !S, H = (He) => E !== void 0 && He.id !== E, te = ce && V != null && C.length > 1, [q, fe] = We(null), xe = W_(
|
|
45882
|
-
Y_(
|
|
45903
|
+
Y_(_k, { activationConstraint: { distance: 4 } })
|
|
45883
45904
|
), [be, _e] = We(null), Ve = C.find((He) => He.id === be), [ue, Te] = We(null), Re = Ee(null), Le = Ee(null), et = (He) => {
|
|
45884
|
-
Le.current =
|
|
45905
|
+
Le.current = Bk(
|
|
45885
45906
|
Re.current?.querySelector(`[data-widget-id="${He}"]`)
|
|
45886
45907
|
);
|
|
45887
45908
|
}, bt = (He) => {
|
|
45888
45909
|
He && Le.current && He.replaceChildren(Le.current);
|
|
45889
|
-
}, Ft =
|
|
45910
|
+
}, Ft = wk({
|
|
45890
45911
|
config: K === !0 ? {} : K,
|
|
45891
45912
|
count: C.length,
|
|
45892
|
-
gap:
|
|
45913
|
+
gap: Rk[l],
|
|
45893
45914
|
// The card UNDER THE POINTER stays mounted for the whole gesture whatever the
|
|
45894
45915
|
// column scrolls past: dnd-kit holds the node it is dragging, and taking that
|
|
45895
45916
|
// out from under it mid-drag ends the drag rather than the drop.
|
|
@@ -45987,14 +46008,14 @@ function hU({
|
|
|
45987
46008
|
}
|
|
45988
46009
|
) }) })
|
|
45989
46010
|
] });
|
|
45990
|
-
}, $e = T === !1 ? null : T, st =
|
|
46011
|
+
}, $e = T === !1 ? null : T, st = RT(MT($e?.delayMs)), pt = (He) => N && {
|
|
45991
46012
|
...N,
|
|
45992
46013
|
stowed: N.stowed && He.id !== E,
|
|
45993
46014
|
instant: N.stowed
|
|
45994
46015
|
}, it = (He, Ut, xt) => {
|
|
45995
46016
|
const kt = xt ? pt(xt) : void 0;
|
|
45996
46017
|
return !$e && !kt ? Ut : /* @__PURE__ */ p(
|
|
45997
|
-
|
|
46018
|
+
xk,
|
|
45998
46019
|
{
|
|
45999
46020
|
arrival: $e ? {
|
|
46000
46021
|
order: ($e.order ?? 0) + He,
|
|
@@ -46007,12 +46028,12 @@ function hU({
|
|
|
46007
46028
|
}
|
|
46008
46029
|
);
|
|
46009
46030
|
}, Oe = (He, Ut, xt) => /* @__PURE__ */ p(
|
|
46010
|
-
|
|
46031
|
+
Mk,
|
|
46011
46032
|
{
|
|
46012
46033
|
hidden: H(He),
|
|
46013
46034
|
placement: xt,
|
|
46014
46035
|
measureRef: Ft.measureRef,
|
|
46015
|
-
children: te ? /* @__PURE__ */ p(
|
|
46036
|
+
children: te ? /* @__PURE__ */ p(fk, { id: He.id, disabled: He.locked, children: (kt) => it(Ut, Ze(He, kt), He) }) : it(Ut, Ze(He), He)
|
|
46016
46037
|
},
|
|
46017
46038
|
He.id
|
|
46018
46039
|
), ft = /* @__PURE__ */ p(
|
|
@@ -46058,6 +46079,7 @@ function hU({
|
|
|
46058
46079
|
{
|
|
46059
46080
|
sensors: xe,
|
|
46060
46081
|
collisionDetection: J_,
|
|
46082
|
+
modifiers: vk,
|
|
46061
46083
|
onDragStart: ({ active: He }) => {
|
|
46062
46084
|
et(String(He.id)), fe(String(He.id));
|
|
46063
46085
|
},
|
|
@@ -46076,7 +46098,7 @@ function hU({
|
|
|
46076
46098
|
children: ft
|
|
46077
46099
|
}
|
|
46078
46100
|
),
|
|
46079
|
-
/* @__PURE__ */ p(j_, { dropAnimation:
|
|
46101
|
+
/* @__PURE__ */ p(j_, { dropAnimation: Sk, children: q ? (
|
|
46080
46102
|
// Solid backdrop: Card's own background is translucent, and the
|
|
46081
46103
|
// copy rides over whatever the column shows beneath it.
|
|
46082
46104
|
/* @__PURE__ */ p(
|
|
@@ -46093,7 +46115,7 @@ function hU({
|
|
|
46093
46115
|
!S && o ? it(
|
|
46094
46116
|
C.length,
|
|
46095
46117
|
/* @__PURE__ */ p(
|
|
46096
|
-
|
|
46118
|
+
Vk,
|
|
46097
46119
|
{
|
|
46098
46120
|
onClick: o,
|
|
46099
46121
|
label: j ?? re.widgets.addWidget
|
|
@@ -46101,7 +46123,7 @@ function hU({
|
|
|
46101
46123
|
)
|
|
46102
46124
|
) : null,
|
|
46103
46125
|
Ve?.paramsSchema && $ ? /* @__PURE__ */ p(
|
|
46104
|
-
|
|
46126
|
+
pk,
|
|
46105
46127
|
{
|
|
46106
46128
|
isOpen: !0,
|
|
46107
46129
|
onClose: () => _e(null),
|
|
@@ -46118,7 +46140,7 @@ function hU({
|
|
|
46118
46140
|
}
|
|
46119
46141
|
);
|
|
46120
46142
|
}
|
|
46121
|
-
const
|
|
46143
|
+
const Pk = ({
|
|
46122
46144
|
collapsed: C,
|
|
46123
46145
|
open: l,
|
|
46124
46146
|
glide: f,
|
|
@@ -46136,7 +46158,7 @@ const vk = ({
|
|
|
46136
46158
|
j.jump(b);
|
|
46137
46159
|
return;
|
|
46138
46160
|
}
|
|
46139
|
-
const X = t_(j, b,
|
|
46161
|
+
const X = t_(j, b, vT);
|
|
46140
46162
|
return () => X.stop();
|
|
46141
46163
|
}, [U, V, b, j]), {
|
|
46142
46164
|
mode: T,
|
|
@@ -46152,18 +46174,18 @@ const vk = ({
|
|
|
46152
46174
|
...l ? Ty : ky,
|
|
46153
46175
|
// Between two glyphs the panel glides; on the way out of one it must
|
|
46154
46176
|
// not travel at all.
|
|
46155
|
-
y: f ?
|
|
46177
|
+
y: f ? DT : zA
|
|
46156
46178
|
},
|
|
46157
46179
|
// Collapsing puts the glyphs in as the cards finish retracting — they overlap
|
|
46158
46180
|
// on purpose. On the first paint there is no retract to follow, so they are
|
|
46159
46181
|
// simply the right area arriving after the main one.
|
|
46160
|
-
glyphDelayMs: y ?
|
|
46182
|
+
glyphDelayMs: y ? FT : Vy
|
|
46161
46183
|
};
|
|
46162
|
-
},
|
|
46184
|
+
}, Gk = {
|
|
46163
46185
|
morning: "bg-gradient-to-bl from-[#E51943] from-20% via-[#F97316] via-35% to-transparent to-50%",
|
|
46164
46186
|
afternoon: "bg-gradient-to-bl from-[#5596F6] from-20% via-[#10B881] via-35% to-transparent to-50%",
|
|
46165
46187
|
evening: "bg-gradient-to-bl from-[#3739A8] from-20% via-[#CB6687] via-35% to-transparent to-50%"
|
|
46166
|
-
},
|
|
46188
|
+
}, Ek = ({
|
|
46167
46189
|
period: C,
|
|
46168
46190
|
className: l
|
|
46169
46191
|
}) => /* @__PURE__ */ p(
|
|
@@ -46172,21 +46194,21 @@ const vk = ({
|
|
|
46172
46194
|
"aria-hidden": !0,
|
|
46173
46195
|
className: Qe(
|
|
46174
46196
|
"pointer-events-none absolute inset-0 h-screen max-h-[1000px] opacity-[0.08]",
|
|
46175
|
-
|
|
46197
|
+
Gk[C],
|
|
46176
46198
|
l
|
|
46177
46199
|
)
|
|
46178
46200
|
}
|
|
46179
|
-
), bc = 40,
|
|
46201
|
+
), bc = 40, Tk = 712, kk = 8, Zk = 1e3, jy = (C) => {
|
|
46180
46202
|
const l = QI(), [f, U] = We(!0);
|
|
46181
46203
|
return It(() => {
|
|
46182
46204
|
if (!C || l) {
|
|
46183
46205
|
U(!0);
|
|
46184
46206
|
return;
|
|
46185
46207
|
}
|
|
46186
|
-
const b = setInterval(() => U((S) => !S),
|
|
46208
|
+
const b = setInterval(() => U((S) => !S), Zk);
|
|
46187
46209
|
return () => clearInterval(b);
|
|
46188
46210
|
}, [C, l]), f;
|
|
46189
|
-
},
|
|
46211
|
+
}, Nk = 0.24, Kk = ({
|
|
46190
46212
|
text: C,
|
|
46191
46213
|
ticking: l
|
|
46192
46214
|
}) => {
|
|
@@ -46196,13 +46218,13 @@ const vk = ({
|
|
|
46196
46218
|
"span",
|
|
46197
46219
|
{
|
|
46198
46220
|
className: "transition-opacity duration-200",
|
|
46199
|
-
style: { opacity: f ? 1 :
|
|
46221
|
+
style: { opacity: f ? 1 : Nk },
|
|
46200
46222
|
children: ":"
|
|
46201
46223
|
}
|
|
46202
46224
|
) : null,
|
|
46203
46225
|
U
|
|
46204
46226
|
] }, b)) });
|
|
46205
|
-
},
|
|
46227
|
+
}, Wk = {
|
|
46206
46228
|
neutral: {
|
|
46207
46229
|
pill: "bg-f1-background-inverse text-f1-foreground-inverse",
|
|
46208
46230
|
button: "bg-f1-background-accent-bold hover:bg-f1-background-accent-bold-hover",
|
|
@@ -46260,7 +46282,7 @@ const vk = ({
|
|
|
46260
46282
|
soloIcon: "inverse",
|
|
46261
46283
|
soloRing: "ring-f1-border-inverse"
|
|
46262
46284
|
}
|
|
46263
|
-
},
|
|
46285
|
+
}, Yk = ({
|
|
46264
46286
|
widget: C,
|
|
46265
46287
|
order: l,
|
|
46266
46288
|
open: f,
|
|
@@ -46268,16 +46290,16 @@ const vk = ({
|
|
|
46268
46290
|
onOpen: b,
|
|
46269
46291
|
onClose: S
|
|
46270
46292
|
}) => {
|
|
46271
|
-
const y = QI(), o = C.railAction, V = jy(!!o?.flashing && !f), E = o?.text && !f ? o.text : void 0, T =
|
|
46293
|
+
const y = QI(), o = C.railAction, V = jy(!!o?.flashing && !f), E = o?.text && !f ? o.text : void 0, T = Wk[o?.tone ?? "neutral"], K = {
|
|
46272
46294
|
initial: {
|
|
46273
46295
|
opacity: 0,
|
|
46274
|
-
scale: y ? 1 :
|
|
46296
|
+
scale: y ? 1 : yT
|
|
46275
46297
|
},
|
|
46276
46298
|
animate: { opacity: 1, scale: 1 },
|
|
46277
|
-
exit: { opacity: 0, scale: y ? 1 :
|
|
46278
|
-
whileTap: y ? void 0 : { scale:
|
|
46299
|
+
exit: { opacity: 0, scale: y ? 1 : wT },
|
|
46300
|
+
whileTap: y ? void 0 : { scale: bT },
|
|
46279
46301
|
transition: GA(
|
|
46280
|
-
{ ...
|
|
46302
|
+
{ ...xT, delay: Py(l, U) },
|
|
46281
46303
|
y
|
|
46282
46304
|
)
|
|
46283
46305
|
}, N = C.hasUpdates ? /* @__PURE__ */ p("span", { className: "pointer-events-none absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-f1-background-accent-bold ring-2 ring-f1-background" }) : null;
|
|
@@ -46306,7 +46328,7 @@ const vk = ({
|
|
|
46306
46328
|
onFocus: (j) => b(C.id, j.currentTarget),
|
|
46307
46329
|
...K,
|
|
46308
46330
|
children: [
|
|
46309
|
-
E ? /* @__PURE__ */ p(
|
|
46331
|
+
E ? /* @__PURE__ */ p(Kk, { text: E, ticking: !!o.ticking }) : null,
|
|
46310
46332
|
/* @__PURE__ */ p(
|
|
46311
46333
|
OA,
|
|
46312
46334
|
{
|
|
@@ -46359,7 +46381,7 @@ const vk = ({
|
|
|
46359
46381
|
] })
|
|
46360
46382
|
}
|
|
46361
46383
|
);
|
|
46362
|
-
}, Rh = "[scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
46384
|
+
}, Rh = "[scrollbar-width:none] [&::-webkit-scrollbar]:hidden", zk = 16, pU = 768, Jk = 150, Hk = 8, $N = bg(
|
|
46363
46385
|
function({
|
|
46364
46386
|
children: l,
|
|
46365
46387
|
leftWidgets: f = [],
|
|
@@ -46379,7 +46401,7 @@ const vk = ({
|
|
|
46379
46401
|
onReorderWidgets: L,
|
|
46380
46402
|
period: ie = "morning",
|
|
46381
46403
|
asideWidth: Z = 396,
|
|
46382
|
-
mainWidth: Ce =
|
|
46404
|
+
mainWidth: Ce = Tk,
|
|
46383
46405
|
bleed: Be = 24,
|
|
46384
46406
|
stackedPinsAfter: Ue = 2,
|
|
46385
46407
|
ctx: Fe = {},
|
|
@@ -46413,7 +46435,7 @@ const vk = ({
|
|
|
46413
46435
|
), ft = vh(), He = vh(), Ut = vh(), xt = (vt) => E.includes(vt) ? {
|
|
46414
46436
|
...T,
|
|
46415
46437
|
scrollElement: vt === "main" ? ft.element : He.element
|
|
46416
|
-
} : !1, kt = b != null || U.length > 0 || X != null && it("right"), ig = Te > 0 && Te < Ce +
|
|
46438
|
+
} : !1, kt = b != null || U.length > 0 || X != null && it("right"), ig = Te > 0 && Te < Ce + zk + Z, Xt = kt && U.length > 0 && (ig || ($e ?? !1)), ug = Xt ? bc : Z, hg = Xt ? "Expand widgets panel" : "Collapse widgets panel", mt = kt && Xe, zt = Te > 0 && Te < pU, Nt = {
|
|
46417
46439
|
pinned: zt ? U.filter((vt) => vt.locked) : [],
|
|
46418
46440
|
rest: zt ? U.filter((vt) => !vt.locked) : []
|
|
46419
46441
|
}, pg = Up.toArray(l), Fg = (zt ? [
|
|
@@ -46431,7 +46453,7 @@ const vk = ({
|
|
|
46431
46453
|
It(() => {
|
|
46432
46454
|
Xt || et(null);
|
|
46433
46455
|
}, [Xt]);
|
|
46434
|
-
const qt =
|
|
46456
|
+
const qt = Pk({
|
|
46435
46457
|
collapsed: Xt,
|
|
46436
46458
|
open: Ht != null,
|
|
46437
46459
|
glide: St,
|
|
@@ -46445,7 +46467,7 @@ const vk = ({
|
|
|
46445
46467
|
// (`y`), so moving between glyphs composites instead of relaying the
|
|
46446
46468
|
// panel out on every frame.
|
|
46447
46469
|
top: 0,
|
|
46448
|
-
right: bc +
|
|
46470
|
+
right: bc + Hk,
|
|
46449
46471
|
width: Z,
|
|
46450
46472
|
// The panel grows to its widget, up to what is left below its glyph,
|
|
46451
46473
|
// and scrolls past that.
|
|
@@ -46493,7 +46515,7 @@ const vk = ({
|
|
|
46493
46515
|
}, wt = () => {
|
|
46494
46516
|
yt.current && clearTimeout(yt.current), yt.current = null;
|
|
46495
46517
|
}, Et = () => {
|
|
46496
|
-
wt(), yt.current = setTimeout(() => et(null),
|
|
46518
|
+
wt(), yt.current = setTimeout(() => et(null), Jk);
|
|
46497
46519
|
}, Qg = (vt, vg) => {
|
|
46498
46520
|
wt();
|
|
46499
46521
|
const yI = ue.current;
|
|
@@ -46554,7 +46576,7 @@ const vk = ({
|
|
|
46554
46576
|
"aria-hidden": !0,
|
|
46555
46577
|
className: "pointer-events-none absolute -z-10 overflow-hidden bg-f1-special-page",
|
|
46556
46578
|
style: { top: -Be, bottom: -Be, left: -Be, right: -Be },
|
|
46557
|
-
children: /* @__PURE__ */ p(
|
|
46579
|
+
children: /* @__PURE__ */ p(Ek, { period: ie })
|
|
46558
46580
|
}
|
|
46559
46581
|
),
|
|
46560
46582
|
/* @__PURE__ */ ee(
|
|
@@ -46721,7 +46743,7 @@ const vk = ({
|
|
|
46721
46743
|
onMouseEnter: wt,
|
|
46722
46744
|
children: [
|
|
46723
46745
|
U.map((vt, vg) => /* @__PURE__ */ p(
|
|
46724
|
-
|
|
46746
|
+
Yk,
|
|
46725
46747
|
{
|
|
46726
46748
|
widget: vt,
|
|
46727
46749
|
order: vg,
|
|
@@ -46779,10 +46801,10 @@ const vk = ({
|
|
|
46779
46801
|
initial: !1,
|
|
46780
46802
|
animate: {
|
|
46781
46803
|
opacity: qt.bodyOut ? 1 : 0,
|
|
46782
|
-
scale: qt.bodyOut ? 1 :
|
|
46804
|
+
scale: qt.bodyOut ? 1 : UT,
|
|
46783
46805
|
// Toward the strip while it shrinks, so it converges on the glyph
|
|
46784
46806
|
// rather than just fading where it stood.
|
|
46785
|
-
x: qt.bodyOut ? 0 :
|
|
46807
|
+
x: qt.bodyOut ? 0 : QT,
|
|
46786
46808
|
// Only the panel is offset from its own box; in the grid it sits
|
|
46787
46809
|
// where the grid put it.
|
|
46788
46810
|
y: Jt ? bt : 0
|
|
@@ -46798,7 +46820,7 @@ const vk = ({
|
|
|
46798
46820
|
visibleWidgetId: Jt ? mI : void 0,
|
|
46799
46821
|
stow: {
|
|
46800
46822
|
stowed: Xt,
|
|
46801
|
-
pitch: bc +
|
|
46823
|
+
pitch: bc + kk,
|
|
46802
46824
|
scale: bc / Z
|
|
46803
46825
|
},
|
|
46804
46826
|
slotRenderers: S,
|
|
@@ -46826,7 +46848,7 @@ const vk = ({
|
|
|
46826
46848
|
), BU = {
|
|
46827
46849
|
main: 712,
|
|
46828
46850
|
right: 396
|
|
46829
|
-
}, Ly = (C) => typeof C == "object" && C !== null && !Fp(C) && Array.isArray(C.slots),
|
|
46851
|
+
}, Ly = (C) => typeof C == "object" && C !== null && !Fp(C) && Array.isArray(C.slots), Ok = ({
|
|
46830
46852
|
preview: C,
|
|
46831
46853
|
slotRenderers: l
|
|
46832
46854
|
}) => Ly(C) ? /* @__PURE__ */ p(
|
|
@@ -46840,11 +46862,11 @@ const vk = ({
|
|
|
46840
46862
|
loading: C.loading,
|
|
46841
46863
|
slotRenderers: l
|
|
46842
46864
|
}
|
|
46843
|
-
) : /* @__PURE__ */ p(Bg, { children: C }),
|
|
46865
|
+
) : /* @__PURE__ */ p(Bg, { children: C }), jk = (C) => C.info ?? (Ly(C.preview) ? Ud(C.preview.header, C.preview.params)?.info : void 0), Lk = ({ label: C, icon: l }) => /* @__PURE__ */ ee("div", { className: "flex items-center gap-1.5 px-2 pb-1 pt-5 first:pt-1", children: [
|
|
46844
46866
|
l ? /* @__PURE__ */ p(Ig, { icon: l, size: "sm", color: "secondary" }) : null,
|
|
46845
46867
|
/* @__PURE__ */ p("h6", { className: "m-0 text-xs font-medium uppercase tracking-wide text-f1-foreground-secondary", children: C })
|
|
46846
46868
|
] });
|
|
46847
|
-
function
|
|
46869
|
+
function eK({
|
|
46848
46870
|
isOpen: C,
|
|
46849
46871
|
onClose: l,
|
|
46850
46872
|
widgets: f,
|
|
@@ -46901,7 +46923,7 @@ function LN({
|
|
|
46901
46923
|
),
|
|
46902
46924
|
/* @__PURE__ */ ee("div", { className: "flex flex-col gap-1 overflow-y-auto", children: [
|
|
46903
46925
|
Be.map((re) => /* @__PURE__ */ ee(bi, { children: [
|
|
46904
|
-
re.label ? /* @__PURE__ */ p(
|
|
46926
|
+
re.label ? /* @__PURE__ */ p(Lk, { label: re.label, icon: re.icon }) : null,
|
|
46905
46927
|
re.items.map((ce) => /* @__PURE__ */ ee(
|
|
46906
46928
|
"button",
|
|
46907
46929
|
{
|
|
@@ -46923,10 +46945,10 @@ function LN({
|
|
|
46923
46945
|
Oy,
|
|
46924
46946
|
{
|
|
46925
46947
|
previewKey: Fe?.id,
|
|
46926
|
-
info: Fe ?
|
|
46948
|
+
info: Fe ? jk(Fe) : void 0,
|
|
46927
46949
|
previewWidth: Ce,
|
|
46928
46950
|
children: Fe ? /* @__PURE__ */ p(
|
|
46929
|
-
|
|
46951
|
+
Ok,
|
|
46930
46952
|
{
|
|
46931
46953
|
preview: Fe.preview,
|
|
46932
46954
|
slotRenderers: o
|
|
@@ -46938,45 +46960,45 @@ function LN({
|
|
|
46938
46960
|
}
|
|
46939
46961
|
);
|
|
46940
46962
|
}
|
|
46941
|
-
var
|
|
46963
|
+
var Xk = Object.defineProperty, qk = Object.defineProperties, $k = Object.getOwnPropertyDescriptors, ed = Object.getOwnPropertySymbols, Xy = Object.prototype.hasOwnProperty, qy = Object.prototype.propertyIsEnumerable, fU = (C, l, f) => l in C ? Xk(C, l, { enumerable: !0, configurable: !0, writable: !0, value: f }) : C[l] = f, In = (C, l) => {
|
|
46942
46964
|
for (var f in l || (l = {})) Xy.call(l, f) && fU(C, f, l[f]);
|
|
46943
46965
|
if (ed) for (var f of ed(l)) qy.call(l, f) && fU(C, f, l[f]);
|
|
46944
46966
|
return C;
|
|
46945
|
-
}, wd = (C, l) =>
|
|
46967
|
+
}, wd = (C, l) => qk(C, $k(l)), eZ = (C, l) => {
|
|
46946
46968
|
var f = {};
|
|
46947
46969
|
for (var U in C) Xy.call(C, U) && l.indexOf(U) < 0 && (f[U] = C[U]);
|
|
46948
46970
|
if (C != null && ed) for (var U of ed(C)) l.indexOf(U) < 0 && qy.call(C, U) && (f[U] = C[U]);
|
|
46949
46971
|
return f;
|
|
46950
|
-
},
|
|
46972
|
+
}, tZ = (C) => C.right - C.left < 5 || C.bottom && C.bottom - C.top < 5, gZ = ({ spotsList: C, usedSpot: l }) => C.some((f) => f !== l && l.left === f.left), IZ = ({ position: C, spot: l, stone: f }) => {
|
|
46951
46973
|
if (C.left > l.left && l.right >= C.left && C.top + f.height > l.top) {
|
|
46952
46974
|
if (l.bottom && l.bottom < C.top) return l;
|
|
46953
46975
|
let U = In({}, l);
|
|
46954
46976
|
return U.right = C.left, U;
|
|
46955
46977
|
}
|
|
46956
46978
|
return null;
|
|
46957
|
-
},
|
|
46979
|
+
}, iZ = ({ position: C, stone: l, spot: f }) => {
|
|
46958
46980
|
if (C.left + l.width > f.left && C.top >= f.top) {
|
|
46959
46981
|
if (f.bottom && f.bottom < C.top || f.right < C.left) return f;
|
|
46960
46982
|
let U = In({}, f);
|
|
46961
46983
|
return U.bottom = C.top, U;
|
|
46962
46984
|
}
|
|
46963
46985
|
return null;
|
|
46964
|
-
},
|
|
46986
|
+
}, nZ = ({ stone: C, position: l, spotsList: f, optimalSpot: U }) => {
|
|
46965
46987
|
let b = In({}, U);
|
|
46966
|
-
return b.left = l.left + C.width,
|
|
46967
|
-
},
|
|
46968
|
-
if (b === f) return
|
|
46969
|
-
let o =
|
|
46970
|
-
return o ||
|
|
46988
|
+
return b.left = l.left + C.width, tZ(b) || gZ({ usedSpot: b, spotsList: f }) ? null : b;
|
|
46989
|
+
}, CZ = ({ spots: C, position: l, optimalSpot: f, stone: U }) => C.map((b, S, y) => {
|
|
46990
|
+
if (b === f) return nZ({ stone: U, position: l, optimalSpot: f, spotsList: y });
|
|
46991
|
+
let o = IZ({ position: l, spot: b, stone: U });
|
|
46992
|
+
return o || iZ({ position: l, stone: U, spot: b }) || b;
|
|
46971
46993
|
});
|
|
46972
|
-
function
|
|
46994
|
+
function oZ(C, l) {
|
|
46973
46995
|
for (let f = 0, U = l.length; f < U; f++) {
|
|
46974
46996
|
let b = l[f];
|
|
46975
46997
|
if (C(b)) return b;
|
|
46976
46998
|
}
|
|
46977
46999
|
return null;
|
|
46978
47000
|
}
|
|
46979
|
-
var
|
|
47001
|
+
var rZ = (C, l) => l.filter(C), AZ = (C, l) => [...l].sort(C), sZ = (C, l) => C.top === l.top ? C.left < l.left ? -1 : 1 : C.top < l.top ? -1 : 1, aZ = (C) => AZ(sZ, C), lZ = ({ availableSpots: C, optimalSpot: l, containerSize: f, stone: U }) => {
|
|
46980
47002
|
let b = { right: f, top: l.top + U.height, left: l.left };
|
|
46981
47003
|
l.bottom && (b.bottom = l.bottom);
|
|
46982
47004
|
for (let S = 0, y = C.length; S < y; S += 1) {
|
|
@@ -46987,47 +47009,47 @@ var iZ = (C, l) => l.filter(C), nZ = (C, l) => [...l].sort(C), CZ = (C, l) => C.
|
|
|
46987
47009
|
}
|
|
46988
47010
|
}
|
|
46989
47011
|
return b;
|
|
46990
|
-
},
|
|
47012
|
+
}, cZ = (C, l) => {
|
|
46991
47013
|
let f = C.right - C.left >= l.width;
|
|
46992
47014
|
if (!C.bottom) return f;
|
|
46993
47015
|
let U = C.bottom - C.top >= l.height;
|
|
46994
47016
|
return f && U;
|
|
46995
|
-
},
|
|
46996
|
-
function
|
|
46997
|
-
let U =
|
|
46998
|
-
return y = [...
|
|
47017
|
+
}, dZ = ({ availableSpots: C, stone: l }) => oZ((f) => cZ(f, l), C);
|
|
47018
|
+
function uZ({ stone: C, availableSpots: l, containerSize: f }) {
|
|
47019
|
+
let U = dZ({ availableSpots: l, stone: C }), b = { left: U.left, top: U.top }, S = lZ({ optimalSpot: U, availableSpots: l.filter((V) => V !== U), stone: C, containerSize: f }), y = [...l, S], o = CZ({ spots: y, position: b, optimalSpot: U, stone: C });
|
|
47020
|
+
return y = [...rZ(Boolean, o)], y = aZ(y), { position: b, availableSpots: y };
|
|
46999
47021
|
}
|
|
47000
|
-
var
|
|
47022
|
+
var hZ = ({ stones: C, containerSize: l }) => {
|
|
47001
47023
|
let f = { positions: [], containerHeight: 0, availableSpots: [] };
|
|
47002
47024
|
if (!C.length) return f;
|
|
47003
47025
|
let U = 0, b = [], S = [{ top: 0, left: 0, right: l }];
|
|
47004
47026
|
for (let y of C) {
|
|
47005
|
-
let o =
|
|
47027
|
+
let o = uZ({ availableSpots: S, stone: y, containerSize: l }), V = o.position.top + y.height;
|
|
47006
47028
|
U < V && (U = V), b.push(o.position), S = o.availableSpots;
|
|
47007
47029
|
}
|
|
47008
47030
|
return { availableSpots: S, positions: b, containerHeight: U };
|
|
47009
|
-
},
|
|
47031
|
+
}, pZ = (C) => C.reduce((l, f) => {
|
|
47010
47032
|
if (!f) return l;
|
|
47011
47033
|
let U = f.getBoundingClientRect();
|
|
47012
47034
|
return l.push({ width: U.width, height: U.height }), l;
|
|
47013
|
-
}, []),
|
|
47035
|
+
}, []), BZ = ({ boxesRefs: C, wrapperRef: l, children: f, windowWidth: U, wrapperWidth: b }) => {
|
|
47014
47036
|
let [{ positions: S, containerHeight: y, stones: o, availableSpots: V }, E] = We({ positions: [], containerHeight: null, stones: [], availableSpots: [] });
|
|
47015
47037
|
return It(() => {
|
|
47016
47038
|
var T, K;
|
|
47017
|
-
let N =
|
|
47039
|
+
let N = pZ(C.current), j = (K = (T = l.current) == null ? void 0 : T.offsetWidth) != null ? K : 0;
|
|
47018
47040
|
if (j === null) return;
|
|
47019
|
-
let $ =
|
|
47041
|
+
let $ = hZ({ stones: N, containerSize: j });
|
|
47020
47042
|
E(wd(In({}, $), { stones: N }));
|
|
47021
47043
|
}, [f, C, l, U, b]), { positions: S, containerHeight: y, stones: o, availableSpots: V };
|
|
47022
|
-
},
|
|
47044
|
+
}, fZ = (C) => ({ fade: `${C}ms opacity ease`, fadeMove: `
|
|
47023
47045
|
${C}ms opacity ease,
|
|
47024
47046
|
${C}ms top ease,
|
|
47025
47047
|
${C}ms left ease
|
|
47026
47048
|
`, move: `
|
|
47027
47049
|
${C}ms top ease,
|
|
47028
47050
|
${C}ms left ease
|
|
47029
|
-
` }),
|
|
47030
|
-
function
|
|
47051
|
+
` }), mZ = ({ transition: C, transitionDuration: l }) => C ? { transition: fZ(l)[C] } : null, FZ = (C) => C ? wd(In({}, C), { opacity: 1 }) : { opacity: 0, top: 0, left: 0 }, UZ = ({ style: C, position: l, transition: f, transitionDuration: U }) => In(In(wd(In({}, C), { position: "absolute" }), FZ(l)), mZ({ transition: f, transitionDuration: U }));
|
|
47052
|
+
function QZ(C, l, f) {
|
|
47031
47053
|
let U;
|
|
47032
47054
|
return function(...b) {
|
|
47033
47055
|
U && clearTimeout(U), U = setTimeout(function() {
|
|
@@ -47035,8 +47057,8 @@ function fZ(C, l, f) {
|
|
|
47035
47057
|
}, l);
|
|
47036
47058
|
};
|
|
47037
47059
|
}
|
|
47038
|
-
var
|
|
47039
|
-
let [C, l] = We(), f = Ee(
|
|
47060
|
+
var yZ = () => {
|
|
47061
|
+
let [C, l] = We(), f = Ee(QZ(l, 300));
|
|
47040
47062
|
return It(() => {
|
|
47041
47063
|
let U = () => {
|
|
47042
47064
|
f.current(window.innerWidth);
|
|
@@ -47045,7 +47067,7 @@ var mZ = () => {
|
|
|
47045
47067
|
window.removeEventListener("resize", U);
|
|
47046
47068
|
};
|
|
47047
47069
|
}, []), C;
|
|
47048
|
-
},
|
|
47070
|
+
}, wZ = (C) => {
|
|
47049
47071
|
let [l, f] = We(null);
|
|
47050
47072
|
return It(() => {
|
|
47051
47073
|
let U = new ResizeObserver((b) => {
|
|
@@ -47055,18 +47077,18 @@ var mZ = () => {
|
|
|
47055
47077
|
U.disconnect();
|
|
47056
47078
|
};
|
|
47057
47079
|
}, [C]), l;
|
|
47058
|
-
},
|
|
47059
|
-
var l = C, { children: f, style: U, transition: b = !1, transitionDuration: S = 500, transitionStep: y = 50 } = l, o =
|
|
47060
|
-
let V = Ee([]), E = Ee(null), T =
|
|
47080
|
+
}, bZ = (C) => {
|
|
47081
|
+
var l = C, { children: f, style: U, transition: b = !1, transitionDuration: S = 500, transitionStep: y = 50 } = l, o = eZ(l, ["children", "style", "transition", "transitionDuration", "transitionStep"]);
|
|
47082
|
+
let V = Ee([]), E = Ee(null), T = yZ(), K = wZ(E), { positions: N, containerHeight: j } = BZ({ boxesRefs: V, wrapperRef: E, children: f, windowWidth: T, wrapperWidth: K }), $ = In({ minHeight: j ?? 0, position: "relative" }, U);
|
|
47061
47083
|
return p("div", wd(In({ ref: E, style: $ }, o), { children: Up.map(f, (X, L) => {
|
|
47062
47084
|
if (typeof X != "object" || !X || !("type" in X)) return X;
|
|
47063
|
-
let ie = { style:
|
|
47085
|
+
let ie = { style: UZ({ style: X.props.style, position: N[L], transition: b, transitionDuration: S }), ref: (Z) => V.current[L] = Z };
|
|
47064
47086
|
return LU(X, In(In({}, X.props), ie));
|
|
47065
47087
|
}) }));
|
|
47066
47088
|
};
|
|
47067
|
-
const
|
|
47089
|
+
const xZ = { sm: 340, md: 480, lg: 640 }, mU = bg(
|
|
47068
47090
|
function({ children: l, widgetWidth: f = "sm" }, U) {
|
|
47069
|
-
const b =
|
|
47091
|
+
const b = xZ[f], [S, y] = We(), o = Up.toArray(l), V = Ee(null);
|
|
47070
47092
|
return It(() => {
|
|
47071
47093
|
const E = () => {
|
|
47072
47094
|
const T = V.current?.offsetWidth;
|
|
@@ -47075,7 +47097,7 @@ const QZ = { sm: 340, md: 480, lg: 640 }, mU = bg(
|
|
|
47075
47097
|
return E(), window.addEventListener("resize", E), () => {
|
|
47076
47098
|
window.removeEventListener("resize", E);
|
|
47077
47099
|
};
|
|
47078
|
-
}, [y, b]), /* @__PURE__ */ p("div", { ref: U, className: "text-f1-foreground", children: /* @__PURE__ */ p("div", { ref: V, children: S === 1 ? /* @__PURE__ */ p("div", { className: "flex flex-col gap-4 *:shadow", children: l }) : S && S > 1 && /* @__PURE__ */ p("div", { className: "relative -mr-4", children: /* @__PURE__ */ p(
|
|
47100
|
+
}, [y, b]), /* @__PURE__ */ p("div", { ref: U, className: "text-f1-foreground", children: /* @__PURE__ */ p("div", { ref: V, children: S === 1 ? /* @__PURE__ */ p("div", { className: "flex flex-col gap-4 *:shadow", children: l }) : S && S > 1 && /* @__PURE__ */ p("div", { className: "relative -mr-4", children: /* @__PURE__ */ p(bZ, { children: o.map((E, T) => /* @__PURE__ */ p(
|
|
47079
47101
|
"div",
|
|
47080
47102
|
{
|
|
47081
47103
|
style: {
|
|
@@ -47087,7 +47109,7 @@ const QZ = { sm: 340, md: 480, lg: 640 }, mU = bg(
|
|
|
47087
47109
|
T
|
|
47088
47110
|
)) }, S) }) }) });
|
|
47089
47111
|
}
|
|
47090
|
-
),
|
|
47112
|
+
), DZ = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], tK = XI(mU, () => /* @__PURE__ */ p(jU, { children: /* @__PURE__ */ p(mU, { children: DZ.map((C, l) => /* @__PURE__ */ p(or.Skeleton, { height: C }, l)) }) })), FU = ({ children: C }) => /* @__PURE__ */ p("div", { className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]", children: C }), gK = XI(
|
|
47091
47113
|
bg(function({ children: l }, f) {
|
|
47092
47114
|
return /* @__PURE__ */ p(td, { ref: f, showBar: !1, children: /* @__PURE__ */ p(FU, { children: l }) });
|
|
47093
47115
|
}),
|
|
@@ -47097,7 +47119,7 @@ const QZ = { sm: 340, md: 480, lg: 640 }, mU = bg(
|
|
|
47097
47119
|
/* @__PURE__ */ p(or.Skeleton, {})
|
|
47098
47120
|
] }) })
|
|
47099
47121
|
);
|
|
47100
|
-
function
|
|
47122
|
+
function _Z({
|
|
47101
47123
|
title: C,
|
|
47102
47124
|
description: l,
|
|
47103
47125
|
emoji: f,
|
|
@@ -47117,8 +47139,8 @@ function wZ({
|
|
|
47117
47139
|
}
|
|
47118
47140
|
);
|
|
47119
47141
|
}
|
|
47120
|
-
const
|
|
47121
|
-
jg("WidgetEmptyState",
|
|
47142
|
+
const IK = VI(
|
|
47143
|
+
jg("WidgetEmptyState", _Z)
|
|
47122
47144
|
), $y = bg(
|
|
47123
47145
|
({ title: C, children: l }, f) => (I_(
|
|
47124
47146
|
C,
|
|
@@ -47130,9 +47152,9 @@ const $N = VI(
|
|
|
47130
47152
|
] }))
|
|
47131
47153
|
);
|
|
47132
47154
|
$y.displayName = "WidgetSection";
|
|
47133
|
-
const
|
|
47155
|
+
const iK = VI(
|
|
47134
47156
|
jg("WidgetSection", $y)
|
|
47135
|
-
),
|
|
47157
|
+
), nK = ({
|
|
47136
47158
|
identifier: C,
|
|
47137
47159
|
allowedRoutes: l,
|
|
47138
47160
|
disallowedRoutes: f,
|
|
@@ -47143,7 +47165,7 @@ const eK = VI(
|
|
|
47143
47165
|
return l && l.length > 0 && (V += ` Allowed routes: ${l.join(", ")}`), f && f.length > 0 && (V += ` Disallowed routes: ${f.join(", ")}`), V;
|
|
47144
47166
|
}, [C, l, f]);
|
|
47145
47167
|
return y ? U : (b && console.error(o), null);
|
|
47146
|
-
},
|
|
47168
|
+
}, CK = VI(
|
|
47147
47169
|
Wn(
|
|
47148
47170
|
{
|
|
47149
47171
|
name: "ScrollArea",
|
|
@@ -47157,29 +47179,29 @@ export {
|
|
|
47157
47179
|
GS as A,
|
|
47158
47180
|
TR as B,
|
|
47159
47181
|
zR as C,
|
|
47160
|
-
|
|
47161
|
-
|
|
47162
|
-
|
|
47163
|
-
|
|
47164
|
-
|
|
47182
|
+
nN as D,
|
|
47183
|
+
tN as E,
|
|
47184
|
+
zZ as F,
|
|
47185
|
+
CN as G,
|
|
47186
|
+
iN as H,
|
|
47165
47187
|
cr as I,
|
|
47166
|
-
|
|
47167
|
-
|
|
47188
|
+
rN as J,
|
|
47189
|
+
AN as K,
|
|
47168
47190
|
oS as L,
|
|
47169
47191
|
Dp as M,
|
|
47170
|
-
|
|
47171
|
-
|
|
47172
|
-
|
|
47173
|
-
|
|
47192
|
+
kZ as N,
|
|
47193
|
+
oN as O,
|
|
47194
|
+
NZ as P,
|
|
47195
|
+
ZZ as Q,
|
|
47174
47196
|
HR as R,
|
|
47175
|
-
|
|
47197
|
+
CK as S,
|
|
47176
47198
|
US as T,
|
|
47177
|
-
|
|
47178
|
-
|
|
47179
|
-
|
|
47199
|
+
sN as U,
|
|
47200
|
+
aN as V,
|
|
47201
|
+
lN as W,
|
|
47180
47202
|
B2 as X,
|
|
47181
|
-
|
|
47182
|
-
|
|
47203
|
+
cN as Y,
|
|
47204
|
+
dN as Z,
|
|
47183
47205
|
y2 as _,
|
|
47184
47206
|
ES as a,
|
|
47185
47207
|
Qd as a$,
|
|
@@ -47187,101 +47209,101 @@ export {
|
|
|
47187
47209
|
b2 as a1,
|
|
47188
47210
|
Jc as a2,
|
|
47189
47211
|
M2 as a3,
|
|
47190
|
-
|
|
47191
|
-
|
|
47192
|
-
|
|
47193
|
-
|
|
47194
|
-
|
|
47212
|
+
uN as a4,
|
|
47213
|
+
hN as a5,
|
|
47214
|
+
pN as a6,
|
|
47215
|
+
BN as a7,
|
|
47216
|
+
fN as a8,
|
|
47195
47217
|
U2 as a9,
|
|
47196
|
-
|
|
47197
|
-
|
|
47198
|
-
|
|
47218
|
+
kN as aA,
|
|
47219
|
+
XE as aB,
|
|
47220
|
+
ZN as aC,
|
|
47199
47221
|
CU as aD,
|
|
47200
47222
|
Ip as aE,
|
|
47201
|
-
|
|
47202
|
-
|
|
47203
|
-
|
|
47204
|
-
|
|
47205
|
-
|
|
47206
|
-
|
|
47207
|
-
|
|
47223
|
+
NN as aF,
|
|
47224
|
+
KN as aG,
|
|
47225
|
+
WN as aH,
|
|
47226
|
+
YN as aI,
|
|
47227
|
+
zN as aJ,
|
|
47228
|
+
JN as aK,
|
|
47229
|
+
$N as aL,
|
|
47208
47230
|
Ky as aM,
|
|
47209
47231
|
Ny as aN,
|
|
47210
47232
|
Zy as aO,
|
|
47211
|
-
|
|
47212
|
-
|
|
47213
|
-
|
|
47214
|
-
|
|
47215
|
-
|
|
47216
|
-
|
|
47233
|
+
WT as aP,
|
|
47234
|
+
HN as aQ,
|
|
47235
|
+
LT as aR,
|
|
47236
|
+
ON as aS,
|
|
47237
|
+
jN as aT,
|
|
47238
|
+
LN as aU,
|
|
47217
47239
|
Ud as aV,
|
|
47218
47240
|
Ec as aW,
|
|
47219
|
-
|
|
47220
|
-
|
|
47241
|
+
XN as aX,
|
|
47242
|
+
qN as aY,
|
|
47221
47243
|
Yy as aZ,
|
|
47222
|
-
|
|
47223
|
-
|
|
47244
|
+
XT as a_,
|
|
47245
|
+
mN as aa,
|
|
47224
47246
|
Nh as ab,
|
|
47225
|
-
|
|
47247
|
+
FN as ac,
|
|
47226
47248
|
wF as ad,
|
|
47227
|
-
|
|
47228
|
-
|
|
47229
|
-
|
|
47230
|
-
|
|
47249
|
+
UN as ae,
|
|
47250
|
+
WZ as af,
|
|
47251
|
+
bN as ag,
|
|
47252
|
+
wN as ah,
|
|
47231
47253
|
dr as ai,
|
|
47232
|
-
|
|
47233
|
-
|
|
47254
|
+
QN as aj,
|
|
47255
|
+
yN as ak,
|
|
47234
47256
|
Hc as al,
|
|
47235
47257
|
dM as am,
|
|
47236
|
-
|
|
47237
|
-
|
|
47238
|
-
|
|
47239
|
-
|
|
47240
|
-
|
|
47241
|
-
|
|
47242
|
-
|
|
47243
|
-
|
|
47244
|
-
|
|
47245
|
-
|
|
47246
|
-
|
|
47258
|
+
xN as an,
|
|
47259
|
+
DN as ao,
|
|
47260
|
+
_N as ap,
|
|
47261
|
+
SN as aq,
|
|
47262
|
+
vN as ar,
|
|
47263
|
+
RN as as,
|
|
47264
|
+
MN as at,
|
|
47265
|
+
VN as au,
|
|
47266
|
+
PN as av,
|
|
47267
|
+
GN as aw,
|
|
47268
|
+
EN as ax,
|
|
47247
47269
|
zc as ay,
|
|
47248
|
-
|
|
47249
|
-
|
|
47270
|
+
TN as az,
|
|
47271
|
+
JZ as b,
|
|
47250
47272
|
zy as b0,
|
|
47251
|
-
|
|
47273
|
+
gk as b1,
|
|
47252
47274
|
yd as b2,
|
|
47253
|
-
|
|
47275
|
+
ok as b3,
|
|
47254
47276
|
uU as b4,
|
|
47255
|
-
|
|
47277
|
+
ak as b5,
|
|
47256
47278
|
CB as b6,
|
|
47257
|
-
|
|
47258
|
-
|
|
47259
|
-
|
|
47260
|
-
|
|
47261
|
-
|
|
47262
|
-
|
|
47263
|
-
|
|
47264
|
-
|
|
47265
|
-
|
|
47266
|
-
|
|
47267
|
-
|
|
47268
|
-
|
|
47269
|
-
|
|
47270
|
-
|
|
47279
|
+
eK as b7,
|
|
47280
|
+
tK as b8,
|
|
47281
|
+
gK as b9,
|
|
47282
|
+
IK as ba,
|
|
47283
|
+
iK as bb,
|
|
47284
|
+
nK as bc,
|
|
47285
|
+
HZ as c,
|
|
47286
|
+
jZ as d,
|
|
47287
|
+
OZ as e,
|
|
47288
|
+
YZ as f,
|
|
47289
|
+
TZ as g,
|
|
47290
|
+
EZ as h,
|
|
47291
|
+
LZ as i,
|
|
47292
|
+
qZ as j,
|
|
47271
47293
|
uR as k,
|
|
47272
|
-
|
|
47294
|
+
XZ as l,
|
|
47273
47295
|
EA as m,
|
|
47274
47296
|
f0 as n,
|
|
47275
47297
|
m0 as o,
|
|
47276
47298
|
Pv as p,
|
|
47277
|
-
|
|
47278
|
-
|
|
47279
|
-
|
|
47299
|
+
$Z as q,
|
|
47300
|
+
eN as r,
|
|
47301
|
+
KZ as s,
|
|
47280
47302
|
kR as t,
|
|
47281
47303
|
ad as u,
|
|
47282
|
-
|
|
47304
|
+
gN as v,
|
|
47283
47305
|
YR as w,
|
|
47284
|
-
|
|
47306
|
+
IN as x,
|
|
47285
47307
|
$R as y,
|
|
47286
47308
|
e2 as z
|
|
47287
47309
|
};
|