@flamingo-stack/openframe-frontend-core 0.0.792 → 0.0.794
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/{case-study-card-MCAM232N.cjs → case-study-card-KU4ZIONR.cjs} +2 -2
- package/dist/{chunk-HMV32LV4.cjs → chunk-2KLYMAHF.cjs} +4 -4
- package/dist/{chunk-ZZPGSLMO.cjs → chunk-3XAFK4WH.cjs} +8 -8
- package/dist/{chunk-P2JY2XCV.cjs → chunk-43ZVXQJK.cjs} +52 -52
- package/dist/{chunk-OKQQJ5TD.cjs → chunk-6TUI5KQS.cjs} +39 -39
- package/dist/{chunk-ZW2TS775.cjs → chunk-6VP5UWZG.cjs} +2 -2
- package/dist/{chunk-6ZPHUDTP.cjs → chunk-A6E5ZNQR.cjs} +3 -3
- package/dist/{chunk-ABZGBMC2.cjs → chunk-BFCGOHQG.cjs} +32 -32
- package/dist/{chunk-3AN35WAO.cjs → chunk-CLEZ6TWZ.cjs} +68 -68
- package/dist/{chunk-7EH7KKFW.cjs → chunk-F73DM65J.cjs} +71 -71
- package/dist/{chunk-IHLGPIFO.cjs → chunk-FOWQ4XTB.cjs} +2 -2
- package/dist/{chunk-VUQNTCAL.cjs → chunk-FYHXMHY6.cjs} +13 -13
- package/dist/{chunk-OZIPPOSJ.cjs → chunk-FYPVCCCV.cjs} +101 -101
- package/dist/{chunk-5MIGBLDC.cjs → chunk-HXL7AUPG.cjs} +17 -17
- package/dist/{chunk-UNUJ5YQ5.cjs → chunk-IJ23KNYI.cjs} +4 -4
- package/dist/{chunk-YPWFYQFE.cjs → chunk-IQTVKPRG.cjs} +22 -22
- package/dist/{chunk-EPWLLLGW.cjs → chunk-KQPU5N7T.cjs} +13 -13
- package/dist/{chunk-TBGVWIF7.cjs → chunk-NGGEYE5R.cjs} +2 -2
- package/dist/{chunk-W3Q7ZQLS.cjs → chunk-NIW4ETGC.cjs} +4 -4
- package/dist/{chunk-SXEIK7RU.cjs → chunk-OK467OQJ.cjs} +2 -2
- package/dist/{chunk-FBA6S4ES.cjs → chunk-QDW64E6T.cjs} +99 -99
- package/dist/{chunk-YWNXZAQ2.cjs → chunk-U4D4ABXK.cjs} +38 -38
- package/dist/{chunk-WWWLOMZI.cjs → chunk-UAZTXYPC.cjs} +81 -79
- package/dist/{chunk-C5EPWKM7.cjs → chunk-UN6LC5PK.cjs} +1 -1
- package/dist/{chunk-2I2AXIBD.cjs → chunk-YPKAMHYA.cjs} +230 -210
- package/dist/{chunk-O4TKEWNW.cjs → chunk-YYKXX5NA.cjs} +11 -11
- package/dist/{chunk-4G2KZHZW.cjs → chunk-ZIMPE7D5.cjs} +3 -3
- package/dist/{cloud-tenants-CQOD6DDR.cjs → cloud-tenants-Z3AYAXF5.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +22 -22
- package/dist/components/chat/index.cjs +6 -6
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +9 -9
- package/dist/components/features/conversation-card.d.ts.map +1 -1
- package/dist/components/features/conversation-card.js +77 -56
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/help-center-pages/index.cjs +84 -84
- package/dist/components/index.cjs +56 -56
- package/dist/components/meeting-scheduler/booking-context-summary.d.ts +8 -0
- package/dist/components/meeting-scheduler/booking-context-summary.d.ts.map +1 -0
- package/dist/components/meeting-scheduler/booking-context-summary.js +54 -0
- package/dist/components/meeting-scheduler/booking-form.d.ts +14 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.js +13 -3
- package/dist/components/meeting-scheduler/index.cjs +154 -80
- package/dist/components/meeting-scheduler/index.d.ts +6 -2
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +7 -2
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +16 -16
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +3 -1
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/status-badge.d.ts.map +1 -1
- package/dist/components/ui/status-badge.js +1 -1
- package/dist/{devices-PEBUW34G.cjs → devices-P6XQL23S.cjs} +8 -8
- package/dist/{embeddable-chat-54X3TTG4.cjs → embeddable-chat-6BNLOSBB.cjs} +67 -67
- package/dist/index.cjs +11 -11
- package/dist/{knowledge-KL4BP2YK.cjs → knowledge-IU5ORU7U.cjs} +8 -8
- package/dist/loading-standard/engine.d.mts.map +1 -1
- package/dist/{logs-TO277M4F.cjs → logs-DCFTQVKA.cjs} +15 -15
- package/dist/{policies-6HSKMG4I.cjs → policies-ESC6XCVH.cjs} +11 -11
- package/dist/schemas/meeting-booking-schema.cjs +21 -0
- package/dist/schemas/meeting-booking-schema.d.ts +43 -0
- package/dist/schemas/meeting-booking-schema.d.ts.map +1 -1
- package/dist/schemas/meeting-booking-schema.js +21 -0
- package/dist/{scripts-4IO2LPMY.cjs → scripts-24PIP2VO.cjs} +12 -12
- package/dist/{software-update-RMAWEZKX.cjs → software-update-47GDTKMI.cjs} +10 -10
- package/package.json +1 -1
- package/src/components/features/conversation-card.tsx +89 -64
- package/src/components/meeting-scheduler/booking-context-summary.tsx +100 -0
- package/src/components/meeting-scheduler/booking-form.tsx +28 -0
- package/src/components/meeting-scheduler/index.tsx +23 -2
- package/src/components/shared/roadmap/roadmap-grid.tsx +5 -1
- package/src/components/ui/status-badge.tsx +4 -2
- package/src/loading-standard/engine.mjs +6 -2
- package/src/schemas/meeting-booking-schema.ts +62 -0
|
@@ -107,7 +107,7 @@ var _chunkRFIBRGXGcjs = require('./chunk-RFIBRGXG.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _chunkF73DM65Jcjs = require('./chunk-F73DM65J.cjs');
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
|
|
@@ -127,7 +127,7 @@ var _chunk7EH7KKFWcjs = require('./chunk-7EH7KKFW.cjs');
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _chunkQDW64E6Tcjs = require('./chunk-QDW64E6T.cjs');
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
@@ -486,7 +486,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
486
486
|
|
|
487
487
|
|
|
488
488
|
|
|
489
|
-
var
|
|
489
|
+
var _chunkFYPVCCCVcjs = require('./chunk-FYPVCCCV.cjs');
|
|
490
490
|
|
|
491
491
|
|
|
492
492
|
|
|
@@ -495,7 +495,7 @@ var _chunkOZIPPOSJcjs = require('./chunk-OZIPPOSJ.cjs');
|
|
|
495
495
|
|
|
496
496
|
|
|
497
497
|
|
|
498
|
-
var
|
|
498
|
+
var _chunkUN6LC5PKcjs = require('./chunk-UN6LC5PK.cjs');
|
|
499
499
|
|
|
500
500
|
|
|
501
501
|
|
|
@@ -602,7 +602,6 @@ var _chunkAT4C2YMAcjs = require('./chunk-AT4C2YMA.cjs');
|
|
|
602
602
|
|
|
603
603
|
|
|
604
604
|
|
|
605
|
-
|
|
606
605
|
var _chunkK7I3YYYUcjs = require('./chunk-K7I3YYYU.cjs');
|
|
607
606
|
|
|
608
607
|
|
|
@@ -695,7 +694,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
695
694
|
var useTheme = _nextthemes.useTheme;
|
|
696
695
|
function useThemeToggle() {
|
|
697
696
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
698
|
-
const mounted =
|
|
697
|
+
const mounted = _chunkQDW64E6Tcjs.useIsHydrated.call(void 0, );
|
|
699
698
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
700
699
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
701
700
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4539,7 +4538,7 @@ function AdminFormDrawer({
|
|
|
4539
4538
|
"form",
|
|
4540
4539
|
{
|
|
4541
4540
|
id: formId,
|
|
4542
|
-
...
|
|
4541
|
+
..._chunkF73DM65Jcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4543
4542
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4544
4543
|
onSubmit: (e) => {
|
|
4545
4544
|
e.preventDefault();
|
|
@@ -4646,7 +4645,7 @@ function AdminFormModal({
|
|
|
4646
4645
|
"form",
|
|
4647
4646
|
{
|
|
4648
4647
|
id: formId,
|
|
4649
|
-
...
|
|
4648
|
+
..._chunkF73DM65Jcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4650
4649
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4651
4650
|
onSubmit: (e) => {
|
|
4652
4651
|
e.preventDefault();
|
|
@@ -6040,7 +6039,7 @@ function EmbedViewerFrame({
|
|
|
6040
6039
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6041
6040
|
_react.useEffect.call(void 0, () => {
|
|
6042
6041
|
if (!fullscreenControl) return void 0;
|
|
6043
|
-
const controller = new (0,
|
|
6042
|
+
const controller = new (0, _chunkF73DM65Jcjs.FullscreenSwitchController)({
|
|
6044
6043
|
target: () => frameRef.current,
|
|
6045
6044
|
onFullscreenChange: setIsFullscreen
|
|
6046
6045
|
});
|
|
@@ -7084,7 +7083,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7084
7083
|
};
|
|
7085
7084
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
7086
7085
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7087
|
-
|
|
7086
|
+
_chunkUN6LC5PKcjs.Video,
|
|
7088
7087
|
{
|
|
7089
7088
|
url: item.src,
|
|
7090
7089
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7279,7 +7278,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7279
7278
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7280
7279
|
};
|
|
7281
7280
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7282
|
-
const postLinkRel =
|
|
7281
|
+
const postLinkRel = _chunkQDW64E6Tcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7283
7282
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7284
7283
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7285
7284
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7611,7 +7610,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7611
7610
|
] });
|
|
7612
7611
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7613
7612
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7614
|
-
const postLinkRel =
|
|
7613
|
+
const postLinkRel = _chunkQDW64E6Tcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7615
7614
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7616
7615
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7617
7616
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7813,7 +7812,7 @@ function buildRichEmbedOverrides({
|
|
|
7813
7812
|
ogEndpointPath,
|
|
7814
7813
|
textSizes
|
|
7815
7814
|
}) {
|
|
7816
|
-
const standard =
|
|
7815
|
+
const standard = _chunkQDW64E6Tcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7817
7816
|
return {
|
|
7818
7817
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7819
7818
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7823,7 +7822,7 @@ function buildRichEmbedOverrides({
|
|
|
7823
7822
|
const language = match ? match[1] : "";
|
|
7824
7823
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7825
7824
|
if (language === "youtube-embed") {
|
|
7826
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7825
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7827
7826
|
}
|
|
7828
7827
|
if (language === "reddit-embed") {
|
|
7829
7828
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7864,7 +7863,7 @@ function buildRichEmbedOverrides({
|
|
|
7864
7863
|
"data-figma-url": figmaUrl
|
|
7865
7864
|
} = divProps;
|
|
7866
7865
|
if (className === "youtube-embed" && videoId) {
|
|
7867
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7866
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "youtube", url: videoId });
|
|
7868
7867
|
}
|
|
7869
7868
|
if (className === "reddit-embed" && postUrl) {
|
|
7870
7869
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7949,23 +7948,23 @@ function buildRichEmbedOverrides({
|
|
|
7949
7948
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7950
7949
|
// elsewhere). Guard against empty `![]()`.
|
|
7951
7950
|
img: ({ src, alt }) => {
|
|
7952
|
-
if (!
|
|
7951
|
+
if (!_chunkQDW64E6Tcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7953
7952
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7954
7953
|
},
|
|
7955
7954
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7956
7955
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7957
7956
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7958
7957
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7959
|
-
if (!
|
|
7958
|
+
if (!_chunkQDW64E6Tcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7960
7959
|
const url = src.trim();
|
|
7961
|
-
if (
|
|
7960
|
+
if (_chunkUN6LC5PKcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "youtube", url });
|
|
7962
7961
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
7963
7962
|
},
|
|
7964
7963
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7965
7964
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7966
7965
|
video: ({ src, poster, className }) => {
|
|
7967
|
-
if (!
|
|
7968
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7966
|
+
if (!_chunkQDW64E6Tcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7967
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7969
7968
|
}
|
|
7970
7969
|
};
|
|
7971
7970
|
}
|
|
@@ -8073,7 +8072,7 @@ var processShortcodes = (content) => {
|
|
|
8073
8072
|
try {
|
|
8074
8073
|
const urlObj = new URL(url);
|
|
8075
8074
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8076
|
-
const hostIs = (domain) =>
|
|
8075
|
+
const hostIs = (domain) => _chunkF73DM65Jcjs.hostMatches.call(void 0, hostname, domain);
|
|
8077
8076
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8078
8077
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8079
8078
|
return match;
|
|
@@ -8150,13 +8149,13 @@ var RichMarkdownInner = ({
|
|
|
8150
8149
|
},
|
|
8151
8150
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8152
8151
|
);
|
|
8153
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8152
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkQDW64E6Tcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8154
8153
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8155
8154
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8156
8155
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8157
8156
|
);
|
|
8158
8157
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8159
|
-
|
|
8158
|
+
_chunkQDW64E6Tcjs.MarkdownEngine,
|
|
8160
8159
|
{
|
|
8161
8160
|
content,
|
|
8162
8161
|
className,
|
|
@@ -8180,7 +8179,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8180
8179
|
className = "",
|
|
8181
8180
|
sectionIds,
|
|
8182
8181
|
onInternalLinkClick,
|
|
8183
|
-
brokenLinks =
|
|
8182
|
+
brokenLinks = _chunkQDW64E6Tcjs.NO_BROKEN_LINKS,
|
|
8184
8183
|
currentPath,
|
|
8185
8184
|
resolveSource = "openframe-docs",
|
|
8186
8185
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9525,7 +9524,7 @@ function renderAdvancedPageContainer({
|
|
|
9525
9524
|
contentClassName,
|
|
9526
9525
|
showHeader = true
|
|
9527
9526
|
}, inScope = false) {
|
|
9528
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRPC4P7GYcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children:
|
|
9527
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRPC4P7GYcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9529
9528
|
const subtitleNode = subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: PAGE_CONTAINER_SUBTITLE_CLASS, children: subtitle }) : inScope && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerSubtitleSkeleton, {}) : null;
|
|
9530
9529
|
const getActionsVariant = () => {
|
|
9531
9530
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9952,7 +9951,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9952
9951
|
|
|
9953
9952
|
|
|
9954
9953
|
function PlatformBrowseButton({ item }) {
|
|
9955
|
-
const linkProps =
|
|
9954
|
+
const linkProps = _chunkQDW64E6Tcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9956
9955
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9957
9956
|
"Browse ",
|
|
9958
9957
|
item.buttonText
|
|
@@ -10471,10 +10470,10 @@ var OSTypeBadge = ({
|
|
|
10471
10470
|
if (!osType) {
|
|
10472
10471
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10473
10472
|
}
|
|
10474
|
-
const normalized =
|
|
10473
|
+
const normalized = _chunkF73DM65Jcjs.normalizeOSType.call(void 0, osType);
|
|
10475
10474
|
if (!normalized && !labelOnly) return null;
|
|
10476
|
-
const label =
|
|
10477
|
-
const IconComponent =
|
|
10475
|
+
const label = _chunkF73DM65Jcjs.getOSLabel.call(void 0, osType);
|
|
10476
|
+
const IconComponent = _chunkF73DM65Jcjs.getOSIcon.call(void 0, osType);
|
|
10478
10477
|
if (iconOnly && IconComponent) {
|
|
10479
10478
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk6YZNUHXTcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10480
10479
|
}
|
|
@@ -10770,7 +10769,7 @@ function ComplianceLogo({
|
|
|
10770
10769
|
fallback = null,
|
|
10771
10770
|
className
|
|
10772
10771
|
}) {
|
|
10773
|
-
const standard =
|
|
10772
|
+
const standard = _chunkF73DM65Jcjs.complianceStandardForName.call(void 0, ...names);
|
|
10774
10773
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10775
10774
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10776
10775
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10850,7 +10849,7 @@ function FeatureCardGridView({
|
|
|
10850
10849
|
if (allCardsHaveNoBorders) {
|
|
10851
10850
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
10852
10851
|
}
|
|
10853
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10852
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
10854
10853
|
const startIndex = rowIndex * itemsPerRow;
|
|
10855
10854
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
10856
10855
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -10884,7 +10883,7 @@ function FeatureCardGridView({
|
|
|
10884
10883
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
10885
10884
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
10886
10885
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10887
|
-
|
|
10886
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
10888
10887
|
{
|
|
10889
10888
|
text: item.badge.text,
|
|
10890
10889
|
variant: item.badge.variant || "card",
|
|
@@ -10893,7 +10892,7 @@ function FeatureCardGridView({
|
|
|
10893
10892
|
)
|
|
10894
10893
|
] }),
|
|
10895
10894
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10896
|
-
|
|
10895
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
10897
10896
|
{
|
|
10898
10897
|
text: item.badge.text,
|
|
10899
10898
|
variant: item.badge.variant || "card",
|
|
@@ -12692,7 +12691,7 @@ function DataTableRowImpl({
|
|
|
12692
12691
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12693
12692
|
const handleClick = _react.useCallback.call(void 0,
|
|
12694
12693
|
(e) => {
|
|
12695
|
-
if (!
|
|
12694
|
+
if (!_chunkF73DM65Jcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12696
12695
|
if (isLinkMode) e.preventDefault();
|
|
12697
12696
|
return;
|
|
12698
12697
|
}
|
|
@@ -12706,7 +12705,7 @@ function DataTableRowImpl({
|
|
|
12706
12705
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _222 => _222.contains, 'call', _223 => _223(target)])) return;
|
|
12707
12706
|
const nestedLink = target.closest("a");
|
|
12708
12707
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12709
|
-
if (!
|
|
12708
|
+
if (!_chunkF73DM65Jcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12710
12709
|
}, []);
|
|
12711
12710
|
const containerClassName = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
12712
12711
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12835,7 +12834,7 @@ function DataTableBody({
|
|
|
12835
12834
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12836
12835
|
if (loading && loadingCells && hasRows) {
|
|
12837
12836
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12838
|
-
|
|
12837
|
+
_chunkQDW64E6Tcjs.LoadingFallback,
|
|
12839
12838
|
{
|
|
12840
12839
|
label: "Loading results",
|
|
12841
12840
|
status: loadingRegion && !inScope,
|
|
@@ -13183,7 +13182,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13183
13182
|
// child of the cell.
|
|
13184
13183
|
_optionalChain([meta, 'optionalAccess', _241 => _241.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13185
13184
|
filterTrigger,
|
|
13186
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13185
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF73DM65Jcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13187
13186
|
] }) : filterTrigger
|
|
13188
13187
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13189
13188
|
"div",
|
|
@@ -13208,7 +13207,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13208
13207
|
// centred on the row.
|
|
13209
13208
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13210
13209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13211
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF73DM65Jcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13212
13211
|
] })
|
|
13213
13212
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13214
13213
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13447,7 +13446,7 @@ function PhoneInput({
|
|
|
13447
13446
|
placeholder = "Phone Number (optional)",
|
|
13448
13447
|
onKeyDown
|
|
13449
13448
|
}) {
|
|
13450
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13449
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkF73DM65Jcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13451
13450
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13452
13451
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13453
13452
|
[countryCode, priority, others]
|
|
@@ -13462,7 +13461,7 @@ function PhoneInput({
|
|
|
13462
13461
|
_optionalChain([onValidationChange, 'optionalCall', _258 => _258(false)]);
|
|
13463
13462
|
return;
|
|
13464
13463
|
}
|
|
13465
|
-
const invalid = !
|
|
13464
|
+
const invalid = !_chunkF73DM65Jcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13466
13465
|
setIsInvalid(invalid);
|
|
13467
13466
|
_optionalChain([onValidationChange, 'optionalCall', _259 => _259(invalid)]);
|
|
13468
13467
|
},
|
|
@@ -14321,7 +14320,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14321
14320
|
),
|
|
14322
14321
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14323
14322
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14324
|
-
|
|
14323
|
+
_chunkQDW64E6Tcjs.TabSelector,
|
|
14325
14324
|
{
|
|
14326
14325
|
label: "Search engines",
|
|
14327
14326
|
value: choice,
|
|
@@ -14378,7 +14377,7 @@ function useMarkdownLinkCommand() {
|
|
|
14378
14377
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14379
14378
|
icon: command.icon,
|
|
14380
14379
|
execute: (state, api) => {
|
|
14381
|
-
const existing =
|
|
14380
|
+
const existing = _chunkQDW64E6Tcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14382
14381
|
setPending(
|
|
14383
14382
|
existing ? {
|
|
14384
14383
|
api,
|
|
@@ -14409,7 +14408,7 @@ function useMarkdownLinkCommand() {
|
|
|
14409
14408
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _316 => _316.initial]), () => ( EMPTY_LINK)),
|
|
14410
14409
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _317 => _317.editing]), () => ( false)),
|
|
14411
14410
|
onSubmit: (link) => {
|
|
14412
|
-
if (pending) write(pending,
|
|
14411
|
+
if (pending) write(pending, _chunkQDW64E6Tcjs.formatMarkdownLink.call(void 0, link));
|
|
14413
14412
|
},
|
|
14414
14413
|
onRemove: () => {
|
|
14415
14414
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14575,7 +14574,7 @@ function MarkdownEditor({
|
|
|
14575
14574
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14576
14575
|
try {
|
|
14577
14576
|
const url = await onUploadFile(file);
|
|
14578
|
-
const isImage =
|
|
14577
|
+
const isImage = _chunkFYPVCCCVcjs.fileMediaType.call(void 0, file) === "image";
|
|
14579
14578
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14580
14579
|
insertTextAtCursor(markdown);
|
|
14581
14580
|
_optionalChain([onFileUploaded, 'optionalCall', _320 => _320(url, file.name)]);
|
|
@@ -14705,7 +14704,7 @@ function MarkdownEditor({
|
|
|
14705
14704
|
type: "file",
|
|
14706
14705
|
className: "hidden",
|
|
14707
14706
|
onChange: handleFileInputChange,
|
|
14708
|
-
accept: `${
|
|
14707
|
+
accept: `${_chunkFYPVCCCVcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14709
14708
|
}
|
|
14710
14709
|
),
|
|
14711
14710
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorHeightContext.Provider, { value: height, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorFieldSkeleton, { height }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15119,7 +15118,7 @@ function matchesAccept2(file, accept) {
|
|
|
15119
15118
|
return patterns.some((pattern) => {
|
|
15120
15119
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
15121
15120
|
if (pattern.endsWith("/*"))
|
|
15122
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
15121
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkFYPVCCCVcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
15123
15122
|
return fileType === pattern;
|
|
15124
15123
|
});
|
|
15125
15124
|
}
|
|
@@ -15127,7 +15126,7 @@ function ImageUploader({
|
|
|
15127
15126
|
value,
|
|
15128
15127
|
onChange,
|
|
15129
15128
|
onRemove,
|
|
15130
|
-
accept =
|
|
15129
|
+
accept = _chunkFYPVCCCVcjs.IMAGE_FILE_ACCEPT,
|
|
15131
15130
|
maxSize = DEFAULT_MAX_SIZE,
|
|
15132
15131
|
label = "Cover Image",
|
|
15133
15132
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -16288,7 +16287,7 @@ function TicketInfoSection({
|
|
|
16288
16287
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16289
16288
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
16290
16289
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16291
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16290
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDW64E6Tcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16292
16291
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16293
16292
|
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7VXMO4XJcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16294
16293
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16773,7 +16772,7 @@ function PhotoWall({
|
|
|
16773
16772
|
gap: COLUMN_GAP_PX
|
|
16774
16773
|
};
|
|
16775
16774
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk6YZNUHXTcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16776
|
-
|
|
16775
|
+
_chunkQDW64E6Tcjs.MarqueeWall,
|
|
16777
16776
|
{
|
|
16778
16777
|
axis: "y",
|
|
16779
16778
|
reverse: index % 2 === 1,
|
|
@@ -17333,7 +17332,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17333
17332
|
};
|
|
17334
17333
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17335
17334
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17336
|
-
const labels =
|
|
17335
|
+
const labels = _chunkF73DM65Jcjs.trialLabels.call(void 0, trialDays);
|
|
17337
17336
|
return terms.flatMap((term) => {
|
|
17338
17337
|
const label = labels[term];
|
|
17339
17338
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -18307,7 +18306,7 @@ function SsoProviderButtons({
|
|
|
18307
18306
|
// where a long organization name would otherwise push the label out of a phone-width
|
|
18308
18307
|
// button. `block` over its inline-flex, because an ellipsis only renders on a block box.
|
|
18309
18308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18310
|
-
|
|
18309
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
18311
18310
|
{
|
|
18312
18311
|
text: tag,
|
|
18313
18312
|
variant: "button",
|
|
@@ -18367,7 +18366,7 @@ function CompleteAccountForm({
|
|
|
18367
18366
|
),
|
|
18368
18367
|
children: [
|
|
18369
18368
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18370
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18369
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18371
18370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18372
18371
|
] }),
|
|
18373
18372
|
(ssoProvidersLoading || ssoProviders && ssoProviders.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18518,7 +18517,7 @@ function CreateOrganizationForm({
|
|
|
18518
18517
|
),
|
|
18519
18518
|
children: [
|
|
18520
18519
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18521
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18520
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18522
18521
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: CREATE_ORGANIZATION_SUBTITLE_BAR_CLASS }) : subtitle })
|
|
18523
18522
|
] }),
|
|
18524
18523
|
email === void 0 ? null : emailReadOnly && emailReadOnlyLabel === null ? (
|
|
@@ -18665,7 +18664,7 @@ function InviteLinkInvalidModal({
|
|
|
18665
18664
|
),
|
|
18666
18665
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
18667
18666
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18668
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18667
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18669
18668
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18670
18669
|
_chunkK7I3YYYUcjs.Button,
|
|
18671
18670
|
{
|
|
@@ -18749,7 +18748,7 @@ function LoginForm({
|
|
|
18749
18748
|
),
|
|
18750
18749
|
children: [
|
|
18751
18750
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18752
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18751
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18753
18752
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18754
18753
|
] }),
|
|
18755
18754
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18876,7 +18875,7 @@ function NoAccountNotice({
|
|
|
18876
18875
|
),
|
|
18877
18876
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
18878
18877
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18879
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18878
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18880
18879
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18881
18880
|
] }),
|
|
18882
18881
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -18925,7 +18924,7 @@ function OpenFrameSsoLoginForm({
|
|
|
18925
18924
|
),
|
|
18926
18925
|
children: [
|
|
18927
18926
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18928
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18927
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18929
18928
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18930
18929
|
] }),
|
|
18931
18930
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19030,7 +19029,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19030
19029
|
),
|
|
19031
19030
|
children: [
|
|
19032
19031
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19033
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19032
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19034
19033
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19035
19034
|
] }),
|
|
19036
19035
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19136,7 +19135,7 @@ function PasswordResetForm({
|
|
|
19136
19135
|
),
|
|
19137
19136
|
children: [
|
|
19138
19137
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19139
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19138
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19140
19139
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19141
19140
|
] }),
|
|
19142
19141
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19257,7 +19256,7 @@ function SsoJoinForm({
|
|
|
19257
19256
|
),
|
|
19258
19257
|
children: [
|
|
19259
19258
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19260
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19259
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19261
19260
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19262
19261
|
] }),
|
|
19263
19262
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)]", children: [
|
|
@@ -19523,7 +19522,7 @@ function ChangelogManager({
|
|
|
19523
19522
|
),
|
|
19524
19523
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", children: hasContent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: entry.title }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "italic text-ods-text-secondary text-h6", children: "New entry (click to edit)" }) }),
|
|
19525
19524
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19526
|
-
|
|
19525
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
19527
19526
|
{
|
|
19528
19527
|
variant: "button",
|
|
19529
19528
|
singleLine: true,
|
|
@@ -19882,7 +19881,7 @@ function EntityTagBadgesSkeleton({
|
|
|
19882
19881
|
}) {
|
|
19883
19882
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "aria-hidden": true, className: _chunk6YZNUHXTcjs.cn.call(void 0, TAG_ROW_CLASS, className), children: [
|
|
19884
19883
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19885
|
-
|
|
19884
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
19886
19885
|
{
|
|
19887
19886
|
loading: true,
|
|
19888
19887
|
text: "",
|
|
@@ -19890,7 +19889,7 @@ function EntityTagBadgesSkeleton({
|
|
|
19890
19889
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "border", _nullishCoalesce(itemClassName, () => ( TAG_SKELETON_WIDTH_CLASS)))
|
|
19891
19890
|
}
|
|
19892
19891
|
) }) }),
|
|
19893
|
-
overflow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19892
|
+
overflow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TAG_ITEM_CLASS, "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { loading: true, text: "", variant: "card", className: _chunk6YZNUHXTcjs.cn.call(void 0, "border", OVERFLOW_BADGE_SKELETON_CLASS) }) })
|
|
19894
19893
|
] });
|
|
19895
19894
|
}
|
|
19896
19895
|
function EntityTagBadges({
|
|
@@ -19918,7 +19917,7 @@ function EntityTagBadges({
|
|
|
19918
19917
|
const label = (tag.name || "").toUpperCase();
|
|
19919
19918
|
if (basePath && tag.slug) {
|
|
19920
19919
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: `${basePath}?tags=${tag.slug}`, className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19921
|
-
|
|
19920
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
19922
19921
|
{
|
|
19923
19922
|
text: label,
|
|
19924
19923
|
variant: "card",
|
|
@@ -19926,7 +19925,7 @@ function EntityTagBadges({
|
|
|
19926
19925
|
}
|
|
19927
19926
|
) }, key);
|
|
19928
19927
|
}
|
|
19929
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19928
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: itemClass(index), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }) }, key);
|
|
19930
19929
|
}),
|
|
19931
19930
|
phoneOverflow === overflow ? overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: overflow }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
19932
19931
|
phoneOverflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: phoneOverflow, className: "content-md:hidden" }),
|
|
@@ -19935,7 +19934,7 @@ function EntityTagBadges({
|
|
|
19935
19934
|
] });
|
|
19936
19935
|
}
|
|
19937
19936
|
function OverflowBadge({ count, className }) {
|
|
19938
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, TAG_ITEM_CLASS, className), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19937
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, TAG_ITEM_CLASS, className), "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { text: `+${count}`, variant: "card", className: _chunk6YZNUHXTcjs.cn.call(void 0, BADGE_CLASS, "text-ods-text-secondary") }) });
|
|
19939
19938
|
}
|
|
19940
19939
|
|
|
19941
19940
|
// src/components/features/error-boundary.tsx
|
|
@@ -20030,7 +20029,7 @@ var SectionButton = ({
|
|
|
20030
20029
|
}
|
|
20031
20030
|
),
|
|
20032
20031
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20033
|
-
|
|
20032
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
20034
20033
|
{
|
|
20035
20034
|
text: section.badge.text,
|
|
20036
20035
|
variant: section.badge.variant || "button",
|
|
@@ -20049,7 +20048,7 @@ var SectionButton = ({
|
|
|
20049
20048
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
20050
20049
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
20051
20050
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20052
|
-
|
|
20051
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
20053
20052
|
{
|
|
20054
20053
|
text: section.badge.text,
|
|
20055
20054
|
variant: section.badge.variant || "button",
|
|
@@ -21112,15 +21111,15 @@ function useLoading() {
|
|
|
21112
21111
|
|
|
21113
21112
|
|
|
21114
21113
|
function isAlreadyThere(file, existing) {
|
|
21115
|
-
const key =
|
|
21114
|
+
const key = _chunkFYPVCCCVcjs.mediaNameKey.call(void 0, file.name);
|
|
21116
21115
|
if (!key) return false;
|
|
21117
21116
|
return existing.some(
|
|
21118
|
-
(item) => (item.title ?
|
|
21117
|
+
(item) => (item.title ? _chunkFYPVCCCVcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkFYPVCCCVcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
21119
21118
|
);
|
|
21120
21119
|
}
|
|
21121
21120
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
21122
|
-
var isVideoItem = (item) =>
|
|
21123
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
21121
|
+
var isVideoItem = (item) => _chunkFYPVCCCVcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
21122
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkFYPVCCCVcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkFYPVCCCVcjs.MEDIA_FILE_ACCEPT };
|
|
21124
21123
|
var MEDIA_KIND_COPY = {
|
|
21125
21124
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
21126
21125
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -21144,12 +21143,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
21144
21143
|
const seen = /* @__PURE__ */ new Set();
|
|
21145
21144
|
const accepted = [];
|
|
21146
21145
|
for (const file of files) {
|
|
21147
|
-
const mediaType =
|
|
21146
|
+
const mediaType = _chunkFYPVCCCVcjs.fileMediaType.call(void 0, file);
|
|
21148
21147
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
21149
21148
|
unsupported.push(file.name);
|
|
21150
21149
|
continue;
|
|
21151
21150
|
}
|
|
21152
|
-
const contentKey = await
|
|
21151
|
+
const contentKey = await _chunkFYPVCCCVcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
21153
21152
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
21154
21153
|
duplicates.push(file.name);
|
|
21155
21154
|
continue;
|
|
@@ -21330,7 +21329,7 @@ function MediaGalleryManager({
|
|
|
21330
21329
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "grid grid-cols-1 gap-4 content-md:grid-cols-2", columns === 3 && "content-lg:grid-cols-3"),
|
|
21331
21330
|
children: [
|
|
21332
21331
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21333
|
-
|
|
21332
|
+
_chunkUN6LC5PKcjs.Card,
|
|
21334
21333
|
{
|
|
21335
21334
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
21336
21335
|
draggable: true,
|
|
@@ -21355,7 +21354,7 @@ function MediaGalleryManager({
|
|
|
21355
21354
|
) }),
|
|
21356
21355
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
21357
21356
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
21358
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "file", url: item.media_url, fit: "cover", className: "h-full w-full" })
|
|
21359
21358
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21360
21359
|
_chunkDRWPSN3Acjs.next_image_default,
|
|
21361
21360
|
{
|
|
@@ -21407,7 +21406,7 @@ function MediaGalleryManager({
|
|
|
21407
21406
|
},
|
|
21408
21407
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
21409
21408
|
)),
|
|
21410
|
-
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21409
|
+
pending.map((name, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUN6LC5PKcjs.Card, { className: "border-ods-border", "aria-busy": "true", children: [
|
|
21411
21410
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex aspect-video items-center justify-center rounded-lg bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) }),
|
|
21412
21411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
21413
21412
|
] }, `pending-${name}-${index}`))
|
|
@@ -21764,7 +21763,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21764
21763
|
empty: "No token rates are in effect right now."
|
|
21765
21764
|
};
|
|
21766
21765
|
function providerMark(providerType, stated, className) {
|
|
21767
|
-
const Mark = _chunk75PJ2SAZcjs.findIcon.call(void 0,
|
|
21766
|
+
const Mark = _chunk75PJ2SAZcjs.findIcon.call(void 0, _chunkF73DM65Jcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21768
21767
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21769
21768
|
}
|
|
21770
21769
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21782,7 +21781,7 @@ var UNIT_LINE_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
|
21782
21781
|
var TABS_ROW_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21783
21782
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21784
21783
|
function useProviderGroup(rates) {
|
|
21785
|
-
const groups =
|
|
21784
|
+
const groups = _chunkF73DM65Jcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21786
21785
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21787
21786
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21788
21787
|
}
|
|
@@ -21793,7 +21792,7 @@ function ProviderTabs({
|
|
|
21793
21792
|
className
|
|
21794
21793
|
}) {
|
|
21795
21794
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21796
|
-
|
|
21795
|
+
_chunkQDW64E6Tcjs.TabSelector,
|
|
21797
21796
|
{
|
|
21798
21797
|
variant: "secondary",
|
|
21799
21798
|
scrollable: true,
|
|
@@ -21801,7 +21800,7 @@ function ProviderTabs({
|
|
|
21801
21800
|
onValueChange,
|
|
21802
21801
|
items: groups.map((candidate) => ({
|
|
21803
21802
|
id: candidate.providerType,
|
|
21804
|
-
label:
|
|
21803
|
+
label: _chunkF73DM65Jcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _459 => _459.rates, 'access', _460 => _460[0], 'optionalAccess', _461 => _461.providerLabel])),
|
|
21805
21804
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerIcon]), "size-full")
|
|
21806
21805
|
})),
|
|
21807
21806
|
className
|
|
@@ -21878,8 +21877,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21878
21877
|
] }),
|
|
21879
21878
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "rowgroup", className: "min-h-0 flex-1 overflow-y-auto", children: group.rates.map((rate) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-loading-item": true, role: "row", className: BODY_ROW_CLASS, children: [
|
|
21880
21879
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21881
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21880
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkF73DM65Jcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21881
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkF73DM65Jcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21883
21882
|
] }, rate.modelName)) })
|
|
21884
21883
|
] }),
|
|
21885
21884
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -21926,7 +21925,7 @@ function modelOption(rate) {
|
|
|
21926
21925
|
return {
|
|
21927
21926
|
label: rate.displayName || rate.modelName,
|
|
21928
21927
|
value: rate.modelName,
|
|
21929
|
-
description:
|
|
21928
|
+
description: _chunkF73DM65Jcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21930
21929
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21931
21930
|
};
|
|
21932
21931
|
}
|
|
@@ -21981,8 +21980,8 @@ function ModelTokenExchange({
|
|
|
21981
21980
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21982
21981
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _465 => _465.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21983
21982
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21984
|
-
const tokens =
|
|
21985
|
-
const cost =
|
|
21983
|
+
const tokens = _chunkF73DM65Jcjs.formatTokenAmount.call(void 0, balance);
|
|
21984
|
+
const cost = _chunkF73DM65Jcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
21986
21985
|
const balancePrice = cost === null ? null : _chunk7VXMO4XJcjs.formatPrice.call(void 0, cost);
|
|
21987
21986
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21988
21987
|
const options = models.map(modelOption);
|
|
@@ -22025,7 +22024,7 @@ function ModelTokenExchange({
|
|
|
22025
22024
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22026
22025
|
size: "small",
|
|
22027
22026
|
onClick: () => setChosen(preset.tokens),
|
|
22028
|
-
children: copy.buy.preset(
|
|
22027
|
+
children: copy.buy.preset(_chunkF73DM65Jcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22029
22028
|
},
|
|
22030
22029
|
preset.label
|
|
22031
22030
|
)) })
|
|
@@ -22042,7 +22041,7 @@ function ModelTokenExchange({
|
|
|
22042
22041
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _466 => _466.providerType]) === providerType ? rate : null)));
|
|
22043
22042
|
return {
|
|
22044
22043
|
id: providerType,
|
|
22045
|
-
name:
|
|
22044
|
+
name: _chunkF73DM65Jcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _467 => _467.providerLabel])),
|
|
22046
22045
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _468 => _468.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22047
22046
|
};
|
|
22048
22047
|
}),
|
|
@@ -22081,7 +22080,7 @@ function ModelTokenExchange({
|
|
|
22081
22080
|
{
|
|
22082
22081
|
size: "plain",
|
|
22083
22082
|
loading,
|
|
22084
|
-
figure:
|
|
22083
|
+
figure: _chunkF73DM65Jcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _473 => _473.inputTokenRate])),
|
|
22085
22084
|
words: copy.charge.input
|
|
22086
22085
|
}
|
|
22087
22086
|
),
|
|
@@ -22090,7 +22089,7 @@ function ModelTokenExchange({
|
|
|
22090
22089
|
{
|
|
22091
22090
|
size: "plain",
|
|
22092
22091
|
loading,
|
|
22093
|
-
figure:
|
|
22092
|
+
figure: _chunkF73DM65Jcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _474 => _474.outputTokenRate])),
|
|
22094
22093
|
words: copy.charge.output
|
|
22095
22094
|
}
|
|
22096
22095
|
)
|
|
@@ -22102,9 +22101,9 @@ function ModelTokenExchange({
|
|
|
22102
22101
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22103
22102
|
children: [
|
|
22104
22103
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22105
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22104
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkF73DM65Jcjs.formatTokenAmount.call(void 0, _chunkF73DM65Jcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22106
22105
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22107
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22106
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkF73DM65Jcjs.formatTokenAmount.call(void 0, _chunkF73DM65Jcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22108
22107
|
]
|
|
22109
22108
|
}
|
|
22110
22109
|
)
|
|
@@ -22651,14 +22650,14 @@ var ConfidenceBadge = ({
|
|
|
22651
22650
|
size = "sm",
|
|
22652
22651
|
className
|
|
22653
22652
|
}) => {
|
|
22654
|
-
const level =
|
|
22653
|
+
const level = _chunkF73DM65Jcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22655
22654
|
if (level === "none") {
|
|
22656
22655
|
return null;
|
|
22657
22656
|
}
|
|
22658
|
-
const label =
|
|
22659
|
-
const borderClass =
|
|
22660
|
-
const textClass =
|
|
22661
|
-
const bgClass =
|
|
22657
|
+
const label = _chunkF73DM65Jcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22658
|
+
const borderClass = _chunkF73DM65Jcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22659
|
+
const textClass = _chunkF73DM65Jcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22660
|
+
const bgClass = _chunkF73DM65Jcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22662
22661
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22663
22662
|
"span",
|
|
22664
22663
|
{
|
|
@@ -22709,9 +22708,9 @@ function SEOEditorPreview({
|
|
|
22709
22708
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22710
22709
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22711
22710
|
const seoTitleLength = (seoTitle || "").length;
|
|
22712
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22711
|
+
const seoTitleTooLong = seoTitleLength > _chunkF73DM65Jcjs.SEO_TITLE_MAX_LENGTH;
|
|
22713
22712
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22714
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22713
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkF73DM65Jcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22715
22714
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22716
22715
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22717
22716
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22736,10 +22735,10 @@ function SEOEditorPreview({
|
|
|
22736
22735
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22737
22736
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22738
22737
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22739
|
-
|
|
22738
|
+
_chunkF73DM65Jcjs.Field,
|
|
22740
22739
|
{
|
|
22741
22740
|
label: "SEO Title",
|
|
22742
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22741
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkF73DM65Jcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22743
22742
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22744
22743
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22745
22744
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22754,7 +22753,7 @@ function SEOEditorPreview({
|
|
|
22754
22753
|
children: [
|
|
22755
22754
|
seoTitleLength,
|
|
22756
22755
|
"/",
|
|
22757
|
-
|
|
22756
|
+
_chunkF73DM65Jcjs.SEO_TITLE_MAX_LENGTH
|
|
22758
22757
|
]
|
|
22759
22758
|
}
|
|
22760
22759
|
),
|
|
@@ -22765,7 +22764,7 @@ function SEOEditorPreview({
|
|
|
22765
22764
|
value: seoTitle || "",
|
|
22766
22765
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22767
22766
|
disabled,
|
|
22768
|
-
maxLength:
|
|
22767
|
+
maxLength: _chunkF73DM65Jcjs.SEO_TITLE_MAX_LENGTH,
|
|
22769
22768
|
invalid: seoTitleTooLong,
|
|
22770
22769
|
placeholder: "Enter SEO meta title...",
|
|
22771
22770
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22776,7 +22775,7 @@ function SEOEditorPreview({
|
|
|
22776
22775
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22777
22776
|
] }),
|
|
22778
22777
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22779
|
-
|
|
22778
|
+
_chunkF73DM65Jcjs.Field,
|
|
22780
22779
|
{
|
|
22781
22780
|
label: "SEO Keywords",
|
|
22782
22781
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22808,10 +22807,10 @@ function SEOEditorPreview({
|
|
|
22808
22807
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22809
22808
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22810
22809
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22811
|
-
|
|
22810
|
+
_chunkF73DM65Jcjs.Field,
|
|
22812
22811
|
{
|
|
22813
22812
|
label: "SEO Description",
|
|
22814
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22813
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkF73DM65Jcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22815
22814
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22816
22815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22817
22816
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22834,7 +22833,7 @@ function SEOEditorPreview({
|
|
|
22834
22833
|
children: [
|
|
22835
22834
|
seoDescriptionLength,
|
|
22836
22835
|
"/",
|
|
22837
|
-
|
|
22836
|
+
_chunkF73DM65Jcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22838
22837
|
]
|
|
22839
22838
|
}
|
|
22840
22839
|
),
|
|
@@ -22845,7 +22844,7 @@ function SEOEditorPreview({
|
|
|
22845
22844
|
value: seoDescription || "",
|
|
22846
22845
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22847
22846
|
disabled,
|
|
22848
|
-
maxLength:
|
|
22847
|
+
maxLength: _chunkF73DM65Jcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22849
22848
|
invalid: seoDescriptionTooLong,
|
|
22850
22849
|
placeholder: "Enter SEO meta description...",
|
|
22851
22850
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22914,7 +22913,7 @@ function SEOEditorPreview({
|
|
|
22914
22913
|
{
|
|
22915
22914
|
ref: setFileInputRef,
|
|
22916
22915
|
type: "file",
|
|
22917
|
-
accept:
|
|
22916
|
+
accept: _chunkFYPVCCCVcjs.IMAGE_FILE_ACCEPT,
|
|
22918
22917
|
onChange: handleImageUpload,
|
|
22919
22918
|
className: "hidden",
|
|
22920
22919
|
disabled: disabled || isUploading
|
|
@@ -22998,7 +22997,7 @@ function socialIcon(platform) {
|
|
|
22998
22997
|
return _nullishCoalesce(_chunk75PJ2SAZcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
22999
22998
|
}
|
|
23000
22999
|
function renderSocialIcon(platform) {
|
|
23001
|
-
const key = _nullishCoalesce(
|
|
23000
|
+
const key = _nullishCoalesce(_chunkF73DM65Jcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23002
23001
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23003
23002
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23004
23003
|
}
|
|
@@ -23089,7 +23088,7 @@ function SocialLinksManager({
|
|
|
23089
23088
|
};
|
|
23090
23089
|
const getIcon = (link, platform) => {
|
|
23091
23090
|
const iconKey = _optionalChain([platform, 'optionalAccess', _484 => _484.icon_name]) || link.platform;
|
|
23092
|
-
const key =
|
|
23091
|
+
const key = _chunkF73DM65Jcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23093
23092
|
if (!key) return null;
|
|
23094
23093
|
const icon = socialIcon(key);
|
|
23095
23094
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23225,7 +23224,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
23225
23224
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, modeClassName, className),
|
|
23226
23225
|
style: customStyle,
|
|
23227
23226
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJZLKYOBcjs.OpenframeLogoIcon, { secondaryColor: iconLowerPath, className: "h-5 w-5", color: iconUpperPath }) : void 0,
|
|
23228
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23227
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
23229
23228
|
children
|
|
23230
23229
|
}
|
|
23231
23230
|
);
|
|
@@ -23553,11 +23552,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
23553
23552
|
|
|
23554
23553
|
function VideoBitesDisplay({
|
|
23555
23554
|
bites,
|
|
23556
|
-
title =
|
|
23555
|
+
title = _chunkUN6LC5PKcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
23557
23556
|
filterPublished = true,
|
|
23558
23557
|
showTitle = true
|
|
23559
23558
|
}) {
|
|
23560
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23559
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDW64E6Tcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23561
23560
|
}
|
|
23562
23561
|
|
|
23563
23562
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23587,7 +23586,7 @@ function WalkthroughVideo({
|
|
|
23587
23586
|
onOpenChange,
|
|
23588
23587
|
defaultOpen,
|
|
23589
23588
|
defaultOpenPaused,
|
|
23590
|
-
deepLinkParam =
|
|
23589
|
+
deepLinkParam = _chunkF73DM65Jcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23591
23590
|
autoPlayCard = false,
|
|
23592
23591
|
label = "Play Demo Video",
|
|
23593
23592
|
placement,
|
|
@@ -23604,7 +23603,7 @@ function WalkthroughVideo({
|
|
|
23604
23603
|
const inline = placement === "inline";
|
|
23605
23604
|
const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
23606
23605
|
const dismissEnabled = dismissal !== false;
|
|
23607
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23606
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkF73DM65Jcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23608
23607
|
const dismissalId = _optionalChain([video, 'optionalAccess', _490 => _490.id]) != null ? String(video.id) : "dismissed";
|
|
23609
23608
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23610
23609
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23616,7 +23615,7 @@ function WalkthroughVideo({
|
|
|
23616
23615
|
let delayElapsed = false;
|
|
23617
23616
|
let interacted = inline;
|
|
23618
23617
|
const reveal = () => {
|
|
23619
|
-
if (dismissEnabled &&
|
|
23618
|
+
if (dismissEnabled && _chunkF73DM65Jcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23620
23619
|
setDismissed(true);
|
|
23621
23620
|
return;
|
|
23622
23621
|
}
|
|
@@ -23653,7 +23652,7 @@ function WalkthroughVideo({
|
|
|
23653
23652
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23654
23653
|
};
|
|
23655
23654
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23656
|
-
const hydrated =
|
|
23655
|
+
const hydrated = _chunkQDW64E6Tcjs.useIsHydrated.call(void 0, );
|
|
23657
23656
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23658
23657
|
if (!hydrated) return false;
|
|
23659
23658
|
try {
|
|
@@ -23903,7 +23902,7 @@ function WalkthroughVideo({
|
|
|
23903
23902
|
(e) => {
|
|
23904
23903
|
e.stopPropagation();
|
|
23905
23904
|
pausePreviewNow();
|
|
23906
|
-
if (dismissEnabled)
|
|
23905
|
+
if (dismissEnabled) _chunkF73DM65Jcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23907
23906
|
setDismissed(true);
|
|
23908
23907
|
},
|
|
23909
23908
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24054,7 +24053,7 @@ function WalkthroughVideo({
|
|
|
24054
24053
|
},
|
|
24055
24054
|
children: [
|
|
24056
24055
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24057
|
-
|
|
24056
|
+
_chunkUN6LC5PKcjs.VideoHoverPreviewSurface,
|
|
24058
24057
|
{
|
|
24059
24058
|
url: video.mainVideoUrl || "",
|
|
24060
24059
|
posterUrl: video.posterUrl ? _chunkDRWPSN3Acjs.resizedImageUrl.call(void 0, video.posterUrl, CARD_POSTER_WIDTH_PX) : video.posterUrl,
|
|
@@ -24078,7 +24077,7 @@ function WalkthroughVideo({
|
|
|
24078
24077
|
`card-${embedUrlKey}`
|
|
24079
24078
|
) }),
|
|
24080
24079
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24081
|
-
|
|
24080
|
+
_chunkQDW64E6Tcjs.CardHitLayer,
|
|
24082
24081
|
{
|
|
24083
24082
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24084
24083
|
onPointerDown: pausePreviewNow,
|
|
@@ -24194,7 +24193,7 @@ function WalkthroughVideo({
|
|
|
24194
24193
|
children: [
|
|
24195
24194
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24196
24195
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24197
|
-
|
|
24196
|
+
_chunkUN6LC5PKcjs.Video,
|
|
24198
24197
|
{
|
|
24199
24198
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24200
24199
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -24250,7 +24249,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24250
24249
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24251
24250
|
const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
24252
24251
|
const enabled = enabledGiven && !inScope;
|
|
24253
|
-
const captions =
|
|
24252
|
+
const captions = _chunkQDW64E6Tcjs.useCaptions.call(void 0, );
|
|
24254
24253
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24255
24254
|
queryKey: ["walkthrough-video", endpoint],
|
|
24256
24255
|
enabled,
|
|
@@ -24448,7 +24447,7 @@ function VideoSourceSelector({
|
|
|
24448
24447
|
}
|
|
24449
24448
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24450
24449
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24451
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24450
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "file", url: videoUrl }) }),
|
|
24452
24451
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24453
24452
|
_chunkK7I3YYYUcjs.Button,
|
|
24454
24453
|
{
|
|
@@ -24974,7 +24973,7 @@ function HighlightVideoSection({
|
|
|
24974
24973
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
24975
24974
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
24976
24975
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
24977
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24976
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video max-h-[300px] w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "file", url: highlightVideoUrl, poster: highlightVideoThumbnail || void 0 }) }),
|
|
24978
24977
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24979
24978
|
_chunkK7I3YYYUcjs.Button,
|
|
24980
24979
|
{
|
|
@@ -25001,7 +25000,7 @@ function HighlightConfigSection({
|
|
|
25001
25000
|
disabled = false,
|
|
25002
25001
|
className = ""
|
|
25003
25002
|
}) {
|
|
25004
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25003
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF73DM65Jcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25005
25004
|
_chunkRPC4P7GYcjs.Select,
|
|
25006
25005
|
{
|
|
25007
25006
|
value: targetDurationSeconds.toString(),
|
|
@@ -25102,7 +25101,7 @@ var AIStatusIndicator = ({
|
|
|
25102
25101
|
}) => {
|
|
25103
25102
|
const config = statusConfig[status];
|
|
25104
25103
|
const displayText = message || config.label;
|
|
25105
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25104
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkF73DM65Jcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25106
25105
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25107
25106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25108
25107
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25110,7 +25109,7 @@ var AIStatusIndicator = ({
|
|
|
25110
25109
|
size: 16,
|
|
25111
25110
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25112
25111
|
status === "loading" && _chunkAT4C2YMAcjs.LIVE_PULSE_CLASS,
|
|
25113
|
-
confidence !== void 0 && status === "success" ?
|
|
25112
|
+
confidence !== void 0 && status === "success" ? _chunkF73DM65Jcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25114
25113
|
)
|
|
25115
25114
|
}
|
|
25116
25115
|
),
|
|
@@ -25119,7 +25118,7 @@ var AIStatusIndicator = ({
|
|
|
25119
25118
|
{
|
|
25120
25119
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25121
25120
|
"text-h6",
|
|
25122
|
-
confidence !== void 0 && status === "success" ?
|
|
25121
|
+
confidence !== void 0 && status === "success" ? _chunkF73DM65Jcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25123
25122
|
),
|
|
25124
25123
|
children: displayText
|
|
25125
25124
|
}
|
|
@@ -25129,8 +25128,8 @@ var AIStatusIndicator = ({
|
|
|
25129
25128
|
{
|
|
25130
25129
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25131
25130
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25132
|
-
|
|
25133
|
-
|
|
25131
|
+
_chunkF73DM65Jcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25132
|
+
_chunkF73DM65Jcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25134
25133
|
),
|
|
25135
25134
|
children: confidenceLabel
|
|
25136
25135
|
}
|
|
@@ -26010,7 +26009,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26010
26009
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26011
26010
|
_chunkK7I3YYYUcjs.Button,
|
|
26012
26011
|
{
|
|
26013
|
-
onClick: loading ? void 0 :
|
|
26012
|
+
onClick: loading ? void 0 : _chunkF73DM65Jcjs.openInNewTab.call(void 0, href),
|
|
26014
26013
|
disabled: loading,
|
|
26015
26014
|
variant: "outline",
|
|
26016
26015
|
size: "icon",
|
|
@@ -26384,7 +26383,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26384
26383
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26385
26384
|
_chunkK7I3YYYUcjs.Button,
|
|
26386
26385
|
{
|
|
26387
|
-
onClick: loading ? void 0 :
|
|
26386
|
+
onClick: loading ? void 0 : _chunkF73DM65Jcjs.openInNewTab.call(void 0, href),
|
|
26388
26387
|
disabled: loading,
|
|
26389
26388
|
variant: "outline",
|
|
26390
26389
|
size: "icon",
|
|
@@ -26519,7 +26518,7 @@ function WaitlistForm({
|
|
|
26519
26518
|
const { toast } = _chunkCWA6J7KCcjs.useToast.call(void 0, );
|
|
26520
26519
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkCWA6J7KCcjs.useHumanitySignals.call(void 0, );
|
|
26521
26520
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26522
|
-
const isClient =
|
|
26521
|
+
const isClient = _chunkQDW64E6Tcjs.useIsHydrated.call(void 0, );
|
|
26523
26522
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26524
26523
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26525
26524
|
const rescue = _chunkCWA6J7KCcjs.useFormRescue.call(void 0, {
|
|
@@ -26534,7 +26533,7 @@ function WaitlistForm({
|
|
|
26534
26533
|
_react.useEffect.call(void 0, () => {
|
|
26535
26534
|
rescue.track({ email, phone }, null);
|
|
26536
26535
|
}, [email, phone, rescue]);
|
|
26537
|
-
const isMailDomainGeneric =
|
|
26536
|
+
const isMailDomainGeneric = _chunkF73DM65Jcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26538
26537
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26539
26538
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26540
26539
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26568,7 +26567,7 @@ function WaitlistForm({
|
|
|
26568
26567
|
setShowConsentError(true);
|
|
26569
26568
|
return;
|
|
26570
26569
|
}
|
|
26571
|
-
const finalPhone = phone ?
|
|
26570
|
+
const finalPhone = phone ? _chunkF73DM65Jcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26572
26571
|
try {
|
|
26573
26572
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26574
26573
|
rescue.complete();
|
|
@@ -28723,7 +28722,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28723
28722
|
}
|
|
28724
28723
|
}
|
|
28725
28724
|
function getDeviceOperatingSystem(osType) {
|
|
28726
|
-
return
|
|
28725
|
+
return _chunkF73DM65Jcjs.getOSPlatformId.call(void 0, osType);
|
|
28727
28726
|
}
|
|
28728
28727
|
|
|
28729
28728
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30298,7 +30297,7 @@ function DevicesPanelView({
|
|
|
30298
30297
|
actionsVariant: "icon-buttons",
|
|
30299
30298
|
className,
|
|
30300
30299
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30301
|
-
|
|
30300
|
+
_chunkQDW64E6Tcjs.TabSelector,
|
|
30302
30301
|
{
|
|
30303
30302
|
value: viewMode,
|
|
30304
30303
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _671 => _671(value)]),
|
|
@@ -30833,11 +30832,11 @@ var ToolBadge = ({
|
|
|
30833
30832
|
iconClassName
|
|
30834
30833
|
}) => {
|
|
30835
30834
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
30836
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30835
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkF73DM65Jcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30837
30836
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHBAVHYXOcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30838
30837
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30839
30838
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30840
|
-
|
|
30839
|
+
_chunkQDW64E6Tcjs.NavLinkAnchorViaRuntime,
|
|
30841
30840
|
{
|
|
30842
30841
|
href,
|
|
30843
30842
|
targetPlatform,
|
|
@@ -30987,7 +30986,7 @@ function LogsTableView({
|
|
|
30987
30986
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30988
30987
|
ToolBadge,
|
|
30989
30988
|
{
|
|
30990
|
-
toolType:
|
|
30989
|
+
toolType: _chunkF73DM65Jcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30991
30990
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30992
30991
|
}
|
|
30993
30992
|
),
|
|
@@ -30999,7 +30998,7 @@ function LogsTableView({
|
|
|
30999
30998
|
filter: {
|
|
31000
30999
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _679 => _679.toolTypes, 'access', _680 => _680.map, 'call', _681 => _681((toolType) => ({
|
|
31001
31000
|
id: toolType,
|
|
31002
|
-
label:
|
|
31001
|
+
label: _chunkF73DM65Jcjs.toToolLabel.call(void 0, toolType),
|
|
31003
31002
|
value: toolType
|
|
31004
31003
|
}))]), () => ( []))
|
|
31005
31004
|
}
|
|
@@ -31048,7 +31047,7 @@ function LogsTableView({
|
|
|
31048
31047
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31049
31048
|
LogRowButton,
|
|
31050
31049
|
{
|
|
31051
|
-
onClick: getLogHref ?
|
|
31050
|
+
onClick: getLogHref ? _chunkF73DM65Jcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31052
31051
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31053
31052
|
label: "Open in new tab"
|
|
31054
31053
|
}
|
|
@@ -31370,7 +31369,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31370
31369
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31371
31370
|
_chunkK7I3YYYUcjs.Button,
|
|
31372
31371
|
{
|
|
31373
|
-
onClick: loading ? void 0 :
|
|
31372
|
+
onClick: loading ? void 0 : _chunkF73DM65Jcjs.openInNewTab.call(void 0, href),
|
|
31374
31373
|
disabled: loading,
|
|
31375
31374
|
variant: "outline",
|
|
31376
31375
|
size: "icon",
|
|
@@ -31559,9 +31558,9 @@ function ScriptSchedulesTable({
|
|
|
31559
31558
|
|
|
31560
31559
|
// src/components/features/scripts/shell-types.ts
|
|
31561
31560
|
var SCRIPT_SHELL_TYPES = [
|
|
31562
|
-
{ id:
|
|
31563
|
-
{ id:
|
|
31564
|
-
{ id:
|
|
31561
|
+
{ id: _chunkF73DM65Jcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31562
|
+
{ id: _chunkF73DM65Jcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31563
|
+
{ id: _chunkF73DM65Jcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31565
31564
|
];
|
|
31566
31565
|
function scriptShellType(value) {
|
|
31567
31566
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33018,7 +33017,7 @@ function ScheduleFormFields({
|
|
|
33018
33017
|
disabled = false,
|
|
33019
33018
|
renderScriptSearch,
|
|
33020
33019
|
timeReferenceGate = "off",
|
|
33021
|
-
platforms =
|
|
33020
|
+
platforms = _chunkF73DM65Jcjs.OS_PLATFORMS,
|
|
33022
33021
|
comingSoonPlatforms = [],
|
|
33023
33022
|
getTimeSlots,
|
|
33024
33023
|
nameLayout = "stacked",
|
|
@@ -33164,7 +33163,7 @@ function ScheduleFormFields({
|
|
|
33164
33163
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33165
33164
|
|
|
33166
33165
|
function ScriptPlatformIcons({ platforms }) {
|
|
33167
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33166
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkF73DM65Jcjs.OS_PLATFORMS.filter((p) => platforms.includes(p.id)).map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, p.icon, { className: "h-3.5 w-3.5 text-ods-text-secondary opacity-60" }, p.id)) });
|
|
33168
33167
|
}
|
|
33169
33168
|
function ScheduleScriptSearchField({
|
|
33170
33169
|
scriptId,
|
|
@@ -33237,7 +33236,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33237
33236
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33238
33237
|
_chunkK7I3YYYUcjs.Button,
|
|
33239
33238
|
{
|
|
33240
|
-
onClick: loading ? void 0 :
|
|
33239
|
+
onClick: loading ? void 0 : _chunkF73DM65Jcjs.openInNewTab.call(void 0, href),
|
|
33241
33240
|
disabled: loading,
|
|
33242
33241
|
variant: "outline",
|
|
33243
33242
|
size: "icon",
|
|
@@ -33391,7 +33390,7 @@ function KnowledgeBaseArticleView({
|
|
|
33391
33390
|
className,
|
|
33392
33391
|
children: [
|
|
33393
33392
|
tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-[var(--spacing-system-xsf)]", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7VXMO4XJcjs.Tag, { label: tag.label, variant: "outline", className: "max-w-full" }, tag.id)) }),
|
|
33394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Card, { className: "border-ods-border px-[var(--spacing-system-mf)] py-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 gap-x-[var(--spacing-system-mf)] content-lg:grid-cols-3", children: [
|
|
33395
33394
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33396
33395
|
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPQIWR4Q2cjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33397
33396
|
_chunk7VXMO4XJcjs.SquareAvatar,
|
|
@@ -33529,10 +33528,9 @@ var OUTCOME_TEXT_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0, "m-0 min-w-0 flex-1",
|
|
|
33529
33528
|
var OUTCOME_CHECK_CLASS = "flex shrink-0 items-center";
|
|
33530
33529
|
var OUTCOME_CHECK_STYLE = { height: "1lh" };
|
|
33531
33530
|
var REQUEST_TEXT_CLASS = "m-0 line-clamp-2 min-h-[2lh] text-ods-text-primary text-h3";
|
|
33532
|
-
var
|
|
33533
|
-
|
|
33534
|
-
|
|
33535
|
-
var SELECTION_TOGGLE_CLASS = "absolute right-[var(--spacing-system-mf)] top-[var(--spacing-system-mf)] z-10";
|
|
33531
|
+
var REQUESTER_ROW_CLASS = "flex items-start gap-[var(--spacing-system-xsf)]";
|
|
33532
|
+
var REQUESTER_TURN_CLASS = "min-w-0 flex-1";
|
|
33533
|
+
var SELECTION_TOGGLE_CLASS = "shrink-0";
|
|
33536
33534
|
var CONTEXT_LABEL_CLASS = "text-ods-text-secondary text-h6";
|
|
33537
33535
|
var SKELETON_AVATAR_SHAPE = "square";
|
|
33538
33536
|
var CARD_FRAME_CLASS = "relative flex h-full flex-col gap-[var(--spacing-system-mf)] overflow-hidden rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-mf)]";
|
|
@@ -33589,49 +33587,51 @@ function ConversationCard({
|
|
|
33589
33587
|
style: tint,
|
|
33590
33588
|
onClick: selection && ((event) => {
|
|
33591
33589
|
if (event.button !== 0 || _optionalChain([window, 'access', _745 => _745.getSelection, 'call', _746 => _746(), 'optionalAccess', _747 => _747.toString, 'call', _748 => _748()])) return;
|
|
33592
|
-
if (!
|
|
33590
|
+
if (!_chunkF73DM65Jcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33593
33591
|
selection.onToggle();
|
|
33594
33592
|
}),
|
|
33595
33593
|
children: [
|
|
33596
|
-
selection && // The toggle is a regular boxed Button in the card's corner, named by the
|
|
33597
|
-
// request; a click anywhere on the card toggles it too (a pointer
|
|
33598
|
-
// convenience: the Button is the control keyboards and screen readers use).
|
|
33599
33594
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33600
|
-
|
|
33595
|
+
RequesterRow,
|
|
33601
33596
|
{
|
|
33602
|
-
|
|
33603
|
-
|
|
33604
|
-
|
|
33605
|
-
|
|
33606
|
-
|
|
33607
|
-
|
|
33608
|
-
|
|
33609
|
-
|
|
33610
|
-
|
|
33611
|
-
|
|
33612
|
-
|
|
33597
|
+
selection: (
|
|
33598
|
+
// A regular boxed Button, named by the request; a click anywhere on the card toggles it too (a pointer
|
|
33599
|
+
// convenience: the Button is the control keyboards and screen readers use).
|
|
33600
|
+
selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33601
|
+
SelectionToggle,
|
|
33602
|
+
{
|
|
33603
|
+
pressed: selection.pressed,
|
|
33604
|
+
"aria-labelledby": requestId,
|
|
33605
|
+
onClick: (event) => {
|
|
33606
|
+
event.stopPropagation();
|
|
33607
|
+
selection.onToggle();
|
|
33608
|
+
}
|
|
33609
|
+
}
|
|
33610
|
+
)
|
|
33611
|
+
),
|
|
33612
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33613
|
+
_chunkF73DM65Jcjs.ChatTurn,
|
|
33614
|
+
{
|
|
33615
|
+
avatar: requester.avatar,
|
|
33616
|
+
name: requester.name,
|
|
33617
|
+
meta: requester.meta,
|
|
33618
|
+
time: requester.time,
|
|
33619
|
+
className: selection ? REQUESTER_TURN_CLASS : void 0,
|
|
33620
|
+
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { id: requestId, className: REQUEST_TEXT_CLASS, title: request, children: [
|
|
33621
|
+
"\u201C",
|
|
33622
|
+
request,
|
|
33623
|
+
"\u201D"
|
|
33624
|
+
] })
|
|
33625
|
+
}
|
|
33626
|
+
)
|
|
33613
33627
|
}
|
|
33614
33628
|
),
|
|
33615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7EH7KKFWcjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33616
|
-
"p",
|
|
33617
|
-
{
|
|
33618
|
-
id: requestId,
|
|
33619
|
-
className: REQUEST_TEXT_CLASS,
|
|
33620
|
-
style: selection ? REQUEST_CLEAR_TOGGLE_STYLE : void 0,
|
|
33621
|
-
title: request,
|
|
33622
|
-
children: [
|
|
33623
|
-
"\u201C",
|
|
33624
|
-
request,
|
|
33625
|
-
"\u201D"
|
|
33626
|
-
]
|
|
33627
|
-
}
|
|
33628
|
-
) }),
|
|
33629
33629
|
context && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTEXT_BLOCK_CLASS, children: [
|
|
33630
33630
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CONTEXT_LABEL_CLASS, children: context.label }),
|
|
33631
33631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _749 => _749.context])), children: context.text })
|
|
33632
33632
|
] }),
|
|
33633
33633
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33634
|
-
|
|
33634
|
+
_chunkF73DM65Jcjs.ChatTurn,
|
|
33635
33635
|
{
|
|
33636
33636
|
avatar: responder.avatar,
|
|
33637
33637
|
name: responder.name,
|
|
@@ -33671,29 +33671,25 @@ function ConversationCardSkeleton({
|
|
|
33671
33671
|
const contextLines = partLines(_optionalChain([lines, 'optionalAccess', _751 => _751.context]));
|
|
33672
33672
|
const outcomeLines = partLines(_optionalChain([lines, 'optionalAccess', _752 => _752.outcome]));
|
|
33673
33673
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label, announce, className: _chunk6YZNUHXTcjs.cn.call(void 0, CARD_FRAME_CLASS, className), children: [
|
|
33674
|
-
selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33675
|
-
_chunkK7I3YYYUcjs.Button,
|
|
33676
|
-
{
|
|
33677
|
-
type: "button",
|
|
33678
|
-
variant: selection.pressed ? "accent" : "outline",
|
|
33679
|
-
size: "icon-sm",
|
|
33680
|
-
"aria-pressed": selection.pressed,
|
|
33681
|
-
className: SELECTION_TOGGLE_CLASS,
|
|
33682
|
-
children: selection.pressed ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX4UZ62MYcjs.PlusIcon, {})
|
|
33683
|
-
}
|
|
33684
|
-
) }),
|
|
33685
33674
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33686
|
-
|
|
33675
|
+
RequesterRow,
|
|
33687
33676
|
{
|
|
33688
|
-
|
|
33689
|
-
|
|
33690
|
-
|
|
33691
|
-
|
|
33692
|
-
|
|
33693
|
-
|
|
33694
|
-
|
|
33695
|
-
|
|
33696
|
-
|
|
33677
|
+
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33678
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33679
|
+
_chunkF73DM65Jcjs.ChatTurn,
|
|
33680
|
+
{
|
|
33681
|
+
loading: true,
|
|
33682
|
+
name: "",
|
|
33683
|
+
className: selection ? REQUESTER_TURN_CLASS : void 0,
|
|
33684
|
+
skeleton: {
|
|
33685
|
+
avatarPx,
|
|
33686
|
+
avatarShape: SKELETON_AVATAR_SHAPE,
|
|
33687
|
+
meta: requesterMeta,
|
|
33688
|
+
time: requesterTime,
|
|
33689
|
+
body: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { lines: 2, type: "h3" })
|
|
33690
|
+
}
|
|
33691
|
+
}
|
|
33692
|
+
)
|
|
33697
33693
|
}
|
|
33698
33694
|
),
|
|
33699
33695
|
context && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTEXT_BLOCK_CLASS, children: [
|
|
@@ -33704,7 +33700,7 @@ function ConversationCardSkeleton({
|
|
|
33704
33700
|
] })
|
|
33705
33701
|
] }),
|
|
33706
33702
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33707
|
-
|
|
33703
|
+
_chunkF73DM65Jcjs.ChatTurn,
|
|
33708
33704
|
{
|
|
33709
33705
|
loading: true,
|
|
33710
33706
|
name: "",
|
|
@@ -33731,6 +33727,30 @@ function ConversationCardSkeleton({
|
|
|
33731
33727
|
] })
|
|
33732
33728
|
] });
|
|
33733
33729
|
}
|
|
33730
|
+
function RequesterRow({ selection, children }) {
|
|
33731
|
+
if (!selection) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children });
|
|
33732
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: REQUESTER_ROW_CLASS, children: [
|
|
33733
|
+
children,
|
|
33734
|
+
selection
|
|
33735
|
+
] });
|
|
33736
|
+
}
|
|
33737
|
+
function SelectionToggle({
|
|
33738
|
+
pressed,
|
|
33739
|
+
...props
|
|
33740
|
+
}) {
|
|
33741
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33742
|
+
_chunkK7I3YYYUcjs.Button,
|
|
33743
|
+
{
|
|
33744
|
+
type: "button",
|
|
33745
|
+
variant: pressed ? "accent" : "outline",
|
|
33746
|
+
size: "icon-sm",
|
|
33747
|
+
"aria-pressed": pressed,
|
|
33748
|
+
className: SELECTION_TOGGLE_CLASS,
|
|
33749
|
+
...props,
|
|
33750
|
+
children: pressed ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX4UZ62MYcjs.PlusIcon, {})
|
|
33751
|
+
}
|
|
33752
|
+
);
|
|
33753
|
+
}
|
|
33734
33754
|
|
|
33735
33755
|
// src/components/features/capability-explorer.tsx
|
|
33736
33756
|
|
|
@@ -33942,7 +33962,7 @@ function CapabilityExplorer({
|
|
|
33942
33962
|
readItems: true,
|
|
33943
33963
|
renderItem: (item) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk6YZNUHXTcjs.cn.call(void 0, CARD_CLASS2, CARD_HEIGHT_CLASS), children: [
|
|
33944
33964
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_HEAD_ROW_CLASS, children: [
|
|
33945
|
-
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33965
|
+
item.iconName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, "text-ods-flamingo-cyan"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 }) }),
|
|
33946
33966
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
33947
33967
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
33948
33968
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRPC4P7GYcjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
@@ -34022,7 +34042,7 @@ function CapabilityExplorer({
|
|
|
34022
34042
|
"span",
|
|
34023
34043
|
{
|
|
34024
34044
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"),
|
|
34025
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34045
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
34026
34046
|
}
|
|
34027
34047
|
),
|
|
34028
34048
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|