@flamingo-stack/openframe-frontend-core 0.0.793 → 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-CB24ILOB.cjs → chunk-6TUI5KQS.cjs} +39 -39
- package/dist/{chunk-ZW2TS775.cjs → chunk-6VP5UWZG.cjs} +2 -2
- package/dist/{chunk-XGE2WCOH.cjs → chunk-A6E5ZNQR.cjs} +3 -3
- package/dist/{chunk-BI6FE3HO.cjs → chunk-BFCGOHQG.cjs} +32 -32
- package/dist/{chunk-DWYMZ3LO.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-FEARCFP4.cjs → chunk-IQTVKPRG.cjs} +22 -22
- package/dist/{chunk-LVBSVUHD.cjs → chunk-KQPU5N7T.cjs} +13 -13
- package/dist/{chunk-TBGVWIF7.cjs → chunk-NGGEYE5R.cjs} +2 -2
- package/dist/{chunk-BTI4RRU2.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-CKSAUEEL.cjs → chunk-U4D4ABXK.cjs} +38 -38
- package/dist/{chunk-YDH5OVRQ.cjs → chunk-UAZTXYPC.cjs} +81 -79
- package/dist/{chunk-C5EPWKM7.cjs → chunk-UN6LC5PK.cjs} +1 -1
- package/dist/{chunk-ZCNEO273.cjs → chunk-YPKAMHYA.cjs} +157 -157
- package/dist/{chunk-LMZICTQW.cjs → chunk-YYKXX5NA.cjs} +11 -11
- package/dist/{chunk-CASWVIJC.cjs → chunk-ZIMPE7D5.cjs} +3 -3
- package/dist/{cloud-tenants-BISHVU2T.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/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/index.cjs +40 -40
- 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-GMR73ZF3.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-XC2K5VQO.cjs → knowledge-IU5ORU7U.cjs} +8 -8
- package/dist/{logs-LBGQLETC.cjs → logs-DCFTQVKA.cjs} +15 -15
- package/dist/{policies-3XVE6266.cjs → policies-ESC6XCVH.cjs} +11 -11
- package/dist/{scripts-NE5IL4NC.cjs → scripts-24PIP2VO.cjs} +12 -12
- package/dist/{software-update-EJDKTFAP.cjs → software-update-47GDTKMI.cjs} +10 -10
- package/package.json +1 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +5 -1
- package/src/components/ui/status-badge.tsx +4 -2
|
@@ -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
|
|
|
@@ -694,7 +694,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
694
694
|
var useTheme = _nextthemes.useTheme;
|
|
695
695
|
function useThemeToggle() {
|
|
696
696
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
697
|
-
const mounted =
|
|
697
|
+
const mounted = _chunkQDW64E6Tcjs.useIsHydrated.call(void 0, );
|
|
698
698
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
699
699
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
700
700
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4538,7 +4538,7 @@ function AdminFormDrawer({
|
|
|
4538
4538
|
"form",
|
|
4539
4539
|
{
|
|
4540
4540
|
id: formId,
|
|
4541
|
-
...
|
|
4541
|
+
..._chunkF73DM65Jcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4542
4542
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4543
4543
|
onSubmit: (e) => {
|
|
4544
4544
|
e.preventDefault();
|
|
@@ -4645,7 +4645,7 @@ function AdminFormModal({
|
|
|
4645
4645
|
"form",
|
|
4646
4646
|
{
|
|
4647
4647
|
id: formId,
|
|
4648
|
-
...
|
|
4648
|
+
..._chunkF73DM65Jcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4649
4649
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4650
4650
|
onSubmit: (e) => {
|
|
4651
4651
|
e.preventDefault();
|
|
@@ -6039,7 +6039,7 @@ function EmbedViewerFrame({
|
|
|
6039
6039
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6040
6040
|
_react.useEffect.call(void 0, () => {
|
|
6041
6041
|
if (!fullscreenControl) return void 0;
|
|
6042
|
-
const controller = new (0,
|
|
6042
|
+
const controller = new (0, _chunkF73DM65Jcjs.FullscreenSwitchController)({
|
|
6043
6043
|
target: () => frameRef.current,
|
|
6044
6044
|
onFullscreenChange: setIsFullscreen
|
|
6045
6045
|
});
|
|
@@ -7083,7 +7083,7 @@ var MediaCarousel = _react.memo.call(void 0, function MediaCarouselImpl({
|
|
|
7083
7083
|
};
|
|
7084
7084
|
const displayImageSrc = (url) => transformImageSrc ? transformImageSrc(url) : url;
|
|
7085
7085
|
const renderVideo = (item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7086
|
-
|
|
7086
|
+
_chunkUN6LC5PKcjs.Video,
|
|
7087
7087
|
{
|
|
7088
7088
|
url: item.src,
|
|
7089
7089
|
poster: item.poster ? displayImageSrc(item.poster) : void 0,
|
|
@@ -7278,7 +7278,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7278
7278
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7279
7279
|
};
|
|
7280
7280
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7281
|
-
const postLinkRel =
|
|
7281
|
+
const postLinkRel = _chunkQDW64E6Tcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7282
7282
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7283
7283
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7284
7284
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7610,7 +7610,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7610
7610
|
] });
|
|
7611
7611
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7612
7612
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7613
|
-
const postLinkRel =
|
|
7613
|
+
const postLinkRel = _chunkQDW64E6Tcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7614
7614
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7615
7615
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7616
7616
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7812,7 +7812,7 @@ function buildRichEmbedOverrides({
|
|
|
7812
7812
|
ogEndpointPath,
|
|
7813
7813
|
textSizes
|
|
7814
7814
|
}) {
|
|
7815
|
-
const standard =
|
|
7815
|
+
const standard = _chunkQDW64E6Tcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7816
7816
|
return {
|
|
7817
7817
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7818
7818
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7822,7 +7822,7 @@ function buildRichEmbedOverrides({
|
|
|
7822
7822
|
const language = match ? match[1] : "";
|
|
7823
7823
|
const fenceText = () => String(children).replace(/\n$/, "").trim();
|
|
7824
7824
|
if (language === "youtube-embed") {
|
|
7825
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7825
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "youtube", url: fenceText() });
|
|
7826
7826
|
}
|
|
7827
7827
|
if (language === "reddit-embed") {
|
|
7828
7828
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: fenceText() });
|
|
@@ -7863,7 +7863,7 @@ function buildRichEmbedOverrides({
|
|
|
7863
7863
|
"data-figma-url": figmaUrl
|
|
7864
7864
|
} = divProps;
|
|
7865
7865
|
if (className === "youtube-embed" && videoId) {
|
|
7866
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7866
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "youtube", url: videoId });
|
|
7867
7867
|
}
|
|
7868
7868
|
if (className === "reddit-embed" && postUrl) {
|
|
7869
7869
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, RedditEmbedClient, { url: postUrl });
|
|
@@ -7948,23 +7948,23 @@ function buildRichEmbedOverrides({
|
|
|
7948
7948
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7949
7949
|
// elsewhere). Guard against empty `![]()`.
|
|
7950
7950
|
img: ({ src, alt }) => {
|
|
7951
|
-
if (!
|
|
7951
|
+
if (!_chunkQDW64E6Tcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7952
7952
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7953
7953
|
},
|
|
7954
7954
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7955
7955
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7956
7956
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7957
7957
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7958
|
-
if (!
|
|
7958
|
+
if (!_chunkQDW64E6Tcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7959
7959
|
const url = src.trim();
|
|
7960
|
-
if (
|
|
7960
|
+
if (_chunkUN6LC5PKcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { kind: "youtube", url });
|
|
7961
7961
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
7962
7962
|
},
|
|
7963
7963
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7964
7964
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7965
7965
|
video: ({ src, poster, className }) => {
|
|
7966
|
-
if (!
|
|
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,
|
|
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 }) }) });
|
|
7968
7968
|
}
|
|
7969
7969
|
};
|
|
7970
7970
|
}
|
|
@@ -8072,7 +8072,7 @@ var processShortcodes = (content) => {
|
|
|
8072
8072
|
try {
|
|
8073
8073
|
const urlObj = new URL(url);
|
|
8074
8074
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8075
|
-
const hostIs = (domain) =>
|
|
8075
|
+
const hostIs = (domain) => _chunkF73DM65Jcjs.hostMatches.call(void 0, hostname, domain);
|
|
8076
8076
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8077
8077
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8078
8078
|
return match;
|
|
@@ -8149,13 +8149,13 @@ var RichMarkdownInner = ({
|
|
|
8149
8149
|
},
|
|
8150
8150
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8151
8151
|
);
|
|
8152
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8152
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkQDW64E6Tcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8153
8153
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8154
8154
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8155
8155
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8156
8156
|
);
|
|
8157
8157
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8158
|
-
|
|
8158
|
+
_chunkQDW64E6Tcjs.MarkdownEngine,
|
|
8159
8159
|
{
|
|
8160
8160
|
content,
|
|
8161
8161
|
className,
|
|
@@ -8179,7 +8179,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8179
8179
|
className = "",
|
|
8180
8180
|
sectionIds,
|
|
8181
8181
|
onInternalLinkClick,
|
|
8182
|
-
brokenLinks =
|
|
8182
|
+
brokenLinks = _chunkQDW64E6Tcjs.NO_BROKEN_LINKS,
|
|
8183
8183
|
currentPath,
|
|
8184
8184
|
resolveSource = "openframe-docs",
|
|
8185
8185
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9524,7 +9524,7 @@ function renderAdvancedPageContainer({
|
|
|
9524
9524
|
contentClassName,
|
|
9525
9525
|
showHeader = true
|
|
9526
9526
|
}, inScope = false) {
|
|
9527
|
-
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;
|
|
9528
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;
|
|
9529
9529
|
const getActionsVariant = () => {
|
|
9530
9530
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9951,7 +9951,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9951
9951
|
|
|
9952
9952
|
|
|
9953
9953
|
function PlatformBrowseButton({ item }) {
|
|
9954
|
-
const linkProps =
|
|
9954
|
+
const linkProps = _chunkQDW64E6Tcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9955
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: [
|
|
9956
9956
|
"Browse ",
|
|
9957
9957
|
item.buttonText
|
|
@@ -10470,10 +10470,10 @@ var OSTypeBadge = ({
|
|
|
10470
10470
|
if (!osType) {
|
|
10471
10471
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10472
10472
|
}
|
|
10473
|
-
const normalized =
|
|
10473
|
+
const normalized = _chunkF73DM65Jcjs.normalizeOSType.call(void 0, osType);
|
|
10474
10474
|
if (!normalized && !labelOnly) return null;
|
|
10475
|
-
const label =
|
|
10476
|
-
const IconComponent =
|
|
10475
|
+
const label = _chunkF73DM65Jcjs.getOSLabel.call(void 0, osType);
|
|
10476
|
+
const IconComponent = _chunkF73DM65Jcjs.getOSIcon.call(void 0, osType);
|
|
10477
10477
|
if (iconOnly && IconComponent) {
|
|
10478
10478
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk6YZNUHXTcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10479
10479
|
}
|
|
@@ -10769,7 +10769,7 @@ function ComplianceLogo({
|
|
|
10769
10769
|
fallback = null,
|
|
10770
10770
|
className
|
|
10771
10771
|
}) {
|
|
10772
|
-
const standard =
|
|
10772
|
+
const standard = _chunkF73DM65Jcjs.complianceStandardForName.call(void 0, ...names);
|
|
10773
10773
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10774
10774
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10775
10775
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10849,7 +10849,7 @@ function FeatureCardGridView({
|
|
|
10849
10849
|
if (allCardsHaveNoBorders) {
|
|
10850
10850
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
10851
10851
|
}
|
|
10852
|
-
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) => {
|
|
10853
10853
|
const startIndex = rowIndex * itemsPerRow;
|
|
10854
10854
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
10855
10855
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -10883,7 +10883,7 @@ function FeatureCardGridView({
|
|
|
10883
10883
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
10884
10884
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
10885
10885
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10886
|
-
|
|
10886
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
10887
10887
|
{
|
|
10888
10888
|
text: item.badge.text,
|
|
10889
10889
|
variant: item.badge.variant || "card",
|
|
@@ -10892,7 +10892,7 @@ function FeatureCardGridView({
|
|
|
10892
10892
|
)
|
|
10893
10893
|
] }),
|
|
10894
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,
|
|
10895
|
-
|
|
10895
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
10896
10896
|
{
|
|
10897
10897
|
text: item.badge.text,
|
|
10898
10898
|
variant: item.badge.variant || "card",
|
|
@@ -12691,7 +12691,7 @@ function DataTableRowImpl({
|
|
|
12691
12691
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12692
12692
|
const handleClick = _react.useCallback.call(void 0,
|
|
12693
12693
|
(e) => {
|
|
12694
|
-
if (!
|
|
12694
|
+
if (!_chunkF73DM65Jcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12695
12695
|
if (isLinkMode) e.preventDefault();
|
|
12696
12696
|
return;
|
|
12697
12697
|
}
|
|
@@ -12705,7 +12705,7 @@ function DataTableRowImpl({
|
|
|
12705
12705
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _222 => _222.contains, 'call', _223 => _223(target)])) return;
|
|
12706
12706
|
const nestedLink = target.closest("a");
|
|
12707
12707
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12708
|
-
if (!
|
|
12708
|
+
if (!_chunkF73DM65Jcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12709
12709
|
}, []);
|
|
12710
12710
|
const containerClassName = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
12711
12711
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12834,7 +12834,7 @@ function DataTableBody({
|
|
|
12834
12834
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12835
12835
|
if (loading && loadingCells && hasRows) {
|
|
12836
12836
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12837
|
-
|
|
12837
|
+
_chunkQDW64E6Tcjs.LoadingFallback,
|
|
12838
12838
|
{
|
|
12839
12839
|
label: "Loading results",
|
|
12840
12840
|
status: loadingRegion && !inScope,
|
|
@@ -13182,7 +13182,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13182
13182
|
// child of the cell.
|
|
13183
13183
|
_optionalChain([meta, 'optionalAccess', _241 => _241.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13184
13184
|
filterTrigger,
|
|
13185
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13185
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF73DM65Jcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13186
13186
|
] }) : filterTrigger
|
|
13187
13187
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13188
13188
|
"div",
|
|
@@ -13207,7 +13207,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13207
13207
|
// centred on the row.
|
|
13208
13208
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13209
13209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13210
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13210
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF73DM65Jcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13211
13211
|
] })
|
|
13212
13212
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13213
13213
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13446,7 +13446,7 @@ function PhoneInput({
|
|
|
13446
13446
|
placeholder = "Phone Number (optional)",
|
|
13447
13447
|
onKeyDown
|
|
13448
13448
|
}) {
|
|
13449
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13449
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkF73DM65Jcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13450
13450
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13451
13451
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13452
13452
|
[countryCode, priority, others]
|
|
@@ -13461,7 +13461,7 @@ function PhoneInput({
|
|
|
13461
13461
|
_optionalChain([onValidationChange, 'optionalCall', _258 => _258(false)]);
|
|
13462
13462
|
return;
|
|
13463
13463
|
}
|
|
13464
|
-
const invalid = !
|
|
13464
|
+
const invalid = !_chunkF73DM65Jcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13465
13465
|
setIsInvalid(invalid);
|
|
13466
13466
|
_optionalChain([onValidationChange, 'optionalCall', _259 => _259(invalid)]);
|
|
13467
13467
|
},
|
|
@@ -14320,7 +14320,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14320
14320
|
),
|
|
14321
14321
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14322
14322
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14323
|
-
|
|
14323
|
+
_chunkQDW64E6Tcjs.TabSelector,
|
|
14324
14324
|
{
|
|
14325
14325
|
label: "Search engines",
|
|
14326
14326
|
value: choice,
|
|
@@ -14377,7 +14377,7 @@ function useMarkdownLinkCommand() {
|
|
|
14377
14377
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14378
14378
|
icon: command.icon,
|
|
14379
14379
|
execute: (state, api) => {
|
|
14380
|
-
const existing =
|
|
14380
|
+
const existing = _chunkQDW64E6Tcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14381
14381
|
setPending(
|
|
14382
14382
|
existing ? {
|
|
14383
14383
|
api,
|
|
@@ -14408,7 +14408,7 @@ function useMarkdownLinkCommand() {
|
|
|
14408
14408
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _316 => _316.initial]), () => ( EMPTY_LINK)),
|
|
14409
14409
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _317 => _317.editing]), () => ( false)),
|
|
14410
14410
|
onSubmit: (link) => {
|
|
14411
|
-
if (pending) write(pending,
|
|
14411
|
+
if (pending) write(pending, _chunkQDW64E6Tcjs.formatMarkdownLink.call(void 0, link));
|
|
14412
14412
|
},
|
|
14413
14413
|
onRemove: () => {
|
|
14414
14414
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14574,7 +14574,7 @@ function MarkdownEditor({
|
|
|
14574
14574
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14575
14575
|
try {
|
|
14576
14576
|
const url = await onUploadFile(file);
|
|
14577
|
-
const isImage =
|
|
14577
|
+
const isImage = _chunkFYPVCCCVcjs.fileMediaType.call(void 0, file) === "image";
|
|
14578
14578
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14579
14579
|
insertTextAtCursor(markdown);
|
|
14580
14580
|
_optionalChain([onFileUploaded, 'optionalCall', _320 => _320(url, file.name)]);
|
|
@@ -14704,7 +14704,7 @@ function MarkdownEditor({
|
|
|
14704
14704
|
type: "file",
|
|
14705
14705
|
className: "hidden",
|
|
14706
14706
|
onChange: handleFileInputChange,
|
|
14707
|
-
accept: `${
|
|
14707
|
+
accept: `${_chunkFYPVCCCVcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14708
14708
|
}
|
|
14709
14709
|
),
|
|
14710
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,
|
|
@@ -15118,7 +15118,7 @@ function matchesAccept2(file, accept) {
|
|
|
15118
15118
|
return patterns.some((pattern) => {
|
|
15119
15119
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
15120
15120
|
if (pattern.endsWith("/*"))
|
|
15121
|
-
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);
|
|
15122
15122
|
return fileType === pattern;
|
|
15123
15123
|
});
|
|
15124
15124
|
}
|
|
@@ -15126,7 +15126,7 @@ function ImageUploader({
|
|
|
15126
15126
|
value,
|
|
15127
15127
|
onChange,
|
|
15128
15128
|
onRemove,
|
|
15129
|
-
accept =
|
|
15129
|
+
accept = _chunkFYPVCCCVcjs.IMAGE_FILE_ACCEPT,
|
|
15130
15130
|
maxSize = DEFAULT_MAX_SIZE,
|
|
15131
15131
|
label = "Cover Image",
|
|
15132
15132
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -16287,7 +16287,7 @@ function TicketInfoSection({
|
|
|
16287
16287
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16288
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" }) }),
|
|
16289
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: [
|
|
16290
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16290
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDW64E6Tcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16291
16291
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16292
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)) }) }),
|
|
16293
16293
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16772,7 +16772,7 @@ function PhotoWall({
|
|
|
16772
16772
|
gap: COLUMN_GAP_PX
|
|
16773
16773
|
};
|
|
16774
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,
|
|
16775
|
-
|
|
16775
|
+
_chunkQDW64E6Tcjs.MarqueeWall,
|
|
16776
16776
|
{
|
|
16777
16777
|
axis: "y",
|
|
16778
16778
|
reverse: index % 2 === 1,
|
|
@@ -17332,7 +17332,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17332
17332
|
};
|
|
17333
17333
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17334
17334
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17335
|
-
const labels =
|
|
17335
|
+
const labels = _chunkF73DM65Jcjs.trialLabels.call(void 0, trialDays);
|
|
17336
17336
|
return terms.flatMap((term) => {
|
|
17337
17337
|
const label = labels[term];
|
|
17338
17338
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -18306,7 +18306,7 @@ function SsoProviderButtons({
|
|
|
18306
18306
|
// where a long organization name would otherwise push the label out of a phone-width
|
|
18307
18307
|
// button. `block` over its inline-flex, because an ellipsis only renders on a block box.
|
|
18308
18308
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18309
|
-
|
|
18309
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
18310
18310
|
{
|
|
18311
18311
|
text: tag,
|
|
18312
18312
|
variant: "button",
|
|
@@ -18366,7 +18366,7 @@ function CompleteAccountForm({
|
|
|
18366
18366
|
),
|
|
18367
18367
|
children: [
|
|
18368
18368
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18369
|
-
/* @__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) }),
|
|
18370
18370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18371
18371
|
] }),
|
|
18372
18372
|
(ssoProvidersLoading || ssoProviders && ssoProviders.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18517,7 +18517,7 @@ function CreateOrganizationForm({
|
|
|
18517
18517
|
),
|
|
18518
18518
|
children: [
|
|
18519
18519
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18520
|
-
/* @__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) }),
|
|
18521
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 })
|
|
18522
18522
|
] }),
|
|
18523
18523
|
email === void 0 ? null : emailReadOnly && emailReadOnlyLabel === null ? (
|
|
@@ -18664,7 +18664,7 @@ function InviteLinkInvalidModal({
|
|
|
18664
18664
|
),
|
|
18665
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: [
|
|
18666
18666
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18667
|
-
/* @__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) }),
|
|
18668
18668
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18669
18669
|
_chunkK7I3YYYUcjs.Button,
|
|
18670
18670
|
{
|
|
@@ -18748,7 +18748,7 @@ function LoginForm({
|
|
|
18748
18748
|
),
|
|
18749
18749
|
children: [
|
|
18750
18750
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18751
|
-
/* @__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) }),
|
|
18752
18752
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18753
18753
|
] }),
|
|
18754
18754
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18875,7 +18875,7 @@ function NoAccountNotice({
|
|
|
18875
18875
|
),
|
|
18876
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: [
|
|
18877
18877
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18878
|
-
/* @__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) }),
|
|
18879
18879
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18880
18880
|
] }),
|
|
18881
18881
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -18924,7 +18924,7 @@ function OpenFrameSsoLoginForm({
|
|
|
18924
18924
|
),
|
|
18925
18925
|
children: [
|
|
18926
18926
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18927
|
-
/* @__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) }),
|
|
18928
18928
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18929
18929
|
] }),
|
|
18930
18930
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19029,7 +19029,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19029
19029
|
),
|
|
19030
19030
|
children: [
|
|
19031
19031
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19032
|
-
/* @__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) }),
|
|
19033
19033
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19034
19034
|
] }),
|
|
19035
19035
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19135,7 +19135,7 @@ function PasswordResetForm({
|
|
|
19135
19135
|
),
|
|
19136
19136
|
children: [
|
|
19137
19137
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19138
|
-
/* @__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) }),
|
|
19139
19139
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19140
19140
|
] }),
|
|
19141
19141
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19256,7 +19256,7 @@ function SsoJoinForm({
|
|
|
19256
19256
|
),
|
|
19257
19257
|
children: [
|
|
19258
19258
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19259
|
-
/* @__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) }),
|
|
19260
19260
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19261
19261
|
] }),
|
|
19262
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: [
|
|
@@ -19522,7 +19522,7 @@ function ChangelogManager({
|
|
|
19522
19522
|
),
|
|
19523
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)" }) }),
|
|
19524
19524
|
tagOptions && tagLabelOf(entry.tag) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
19525
|
-
|
|
19525
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
19526
19526
|
{
|
|
19527
19527
|
variant: "button",
|
|
19528
19528
|
singleLine: true,
|
|
@@ -19881,7 +19881,7 @@ function EntityTagBadgesSkeleton({
|
|
|
19881
19881
|
}) {
|
|
19882
19882
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "aria-hidden": true, className: _chunk6YZNUHXTcjs.cn.call(void 0, TAG_ROW_CLASS, className), children: [
|
|
19883
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,
|
|
19884
|
-
|
|
19884
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
19885
19885
|
{
|
|
19886
19886
|
loading: true,
|
|
19887
19887
|
text: "",
|
|
@@ -19889,7 +19889,7 @@ function EntityTagBadgesSkeleton({
|
|
|
19889
19889
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "border", _nullishCoalesce(itemClassName, () => ( TAG_SKELETON_WIDTH_CLASS)))
|
|
19890
19890
|
}
|
|
19891
19891
|
) }) }),
|
|
19892
|
-
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) }) })
|
|
19893
19893
|
] });
|
|
19894
19894
|
}
|
|
19895
19895
|
function EntityTagBadges({
|
|
@@ -19917,7 +19917,7 @@ function EntityTagBadges({
|
|
|
19917
19917
|
const label = (tag.name || "").toUpperCase();
|
|
19918
19918
|
if (basePath && tag.slug) {
|
|
19919
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,
|
|
19920
|
-
|
|
19920
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
19921
19921
|
{
|
|
19922
19922
|
text: label,
|
|
19923
19923
|
variant: "card",
|
|
@@ -19925,7 +19925,7 @@ function EntityTagBadges({
|
|
|
19925
19925
|
}
|
|
19926
19926
|
) }, key);
|
|
19927
19927
|
}
|
|
19928
|
-
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);
|
|
19929
19929
|
}),
|
|
19930
19930
|
phoneOverflow === overflow ? overflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: overflow }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
19931
19931
|
phoneOverflow > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OverflowBadge, { count: phoneOverflow, className: "content-md:hidden" }),
|
|
@@ -19934,7 +19934,7 @@ function EntityTagBadges({
|
|
|
19934
19934
|
] });
|
|
19935
19935
|
}
|
|
19936
19936
|
function OverflowBadge({ count, className }) {
|
|
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,
|
|
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") }) });
|
|
19938
19938
|
}
|
|
19939
19939
|
|
|
19940
19940
|
// src/components/features/error-boundary.tsx
|
|
@@ -20029,7 +20029,7 @@ var SectionButton = ({
|
|
|
20029
20029
|
}
|
|
20030
20030
|
),
|
|
20031
20031
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20032
|
-
|
|
20032
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
20033
20033
|
{
|
|
20034
20034
|
text: section.badge.text,
|
|
20035
20035
|
variant: section.badge.variant || "button",
|
|
@@ -20048,7 +20048,7 @@ var SectionButton = ({
|
|
|
20048
20048
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap items-start gap-2", children: [
|
|
20049
20049
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, titleClasses, "text-h3"), style: { textAlign: "left" }, children: section.title }),
|
|
20050
20050
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
20051
|
-
|
|
20051
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
20052
20052
|
{
|
|
20053
20053
|
text: section.badge.text,
|
|
20054
20054
|
variant: section.badge.variant || "button",
|
|
@@ -21111,15 +21111,15 @@ function useLoading() {
|
|
|
21111
21111
|
|
|
21112
21112
|
|
|
21113
21113
|
function isAlreadyThere(file, existing) {
|
|
21114
|
-
const key =
|
|
21114
|
+
const key = _chunkFYPVCCCVcjs.mediaNameKey.call(void 0, file.name);
|
|
21115
21115
|
if (!key) return false;
|
|
21116
21116
|
return existing.some(
|
|
21117
|
-
(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)
|
|
21118
21118
|
);
|
|
21119
21119
|
}
|
|
21120
21120
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
21121
|
-
var isVideoItem = (item) =>
|
|
21122
|
-
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 };
|
|
21123
21123
|
var MEDIA_KIND_COPY = {
|
|
21124
21124
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
21125
21125
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -21143,12 +21143,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
21143
21143
|
const seen = /* @__PURE__ */ new Set();
|
|
21144
21144
|
const accepted = [];
|
|
21145
21145
|
for (const file of files) {
|
|
21146
|
-
const mediaType =
|
|
21146
|
+
const mediaType = _chunkFYPVCCCVcjs.fileMediaType.call(void 0, file);
|
|
21147
21147
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
21148
21148
|
unsupported.push(file.name);
|
|
21149
21149
|
continue;
|
|
21150
21150
|
}
|
|
21151
|
-
const contentKey = await
|
|
21151
|
+
const contentKey = await _chunkFYPVCCCVcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
21152
21152
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
21153
21153
|
duplicates.push(file.name);
|
|
21154
21154
|
continue;
|
|
@@ -21329,7 +21329,7 @@ function MediaGalleryManager({
|
|
|
21329
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"),
|
|
21330
21330
|
children: [
|
|
21331
21331
|
media.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
21332
|
-
|
|
21332
|
+
_chunkUN6LC5PKcjs.Card,
|
|
21333
21333
|
{
|
|
21334
21334
|
className: "group relative border-ods-border transition-colors hover:border-ods-accent/30",
|
|
21335
21335
|
draggable: true,
|
|
@@ -21354,7 +21354,7 @@ function MediaGalleryManager({
|
|
|
21354
21354
|
) }),
|
|
21355
21355
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-video overflow-hidden rounded-lg bg-ods-bg", children: isVideoItem(item) ? (
|
|
21356
21356
|
// <Video> SSOT (MuxPlayer): plays Mux HLS and MP4 alike; fit="cover" crops to the cell.
|
|
21357
|
-
/* @__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" })
|
|
21358
21358
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21359
21359
|
_chunkDRWPSN3Acjs.next_image_default,
|
|
21360
21360
|
{
|
|
@@ -21406,7 +21406,7 @@ function MediaGalleryManager({
|
|
|
21406
21406
|
},
|
|
21407
21407
|
_nullishCoalesce(item.id, () => ( `${item.media_url}-${index}`))
|
|
21408
21408
|
)),
|
|
21409
|
-
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: [
|
|
21410
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" }) }),
|
|
21411
21411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate p-3 text-ods-text-secondary text-h6", children: name })
|
|
21412
21412
|
] }, `pending-${name}-${index}`))
|
|
@@ -21763,7 +21763,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21763
21763
|
empty: "No token rates are in effect right now."
|
|
21764
21764
|
};
|
|
21765
21765
|
function providerMark(providerType, stated, className) {
|
|
21766
|
-
const Mark = _chunk75PJ2SAZcjs.findIcon.call(void 0,
|
|
21766
|
+
const Mark = _chunk75PJ2SAZcjs.findIcon.call(void 0, _chunkF73DM65Jcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21767
21767
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21768
21768
|
}
|
|
21769
21769
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21781,7 +21781,7 @@ var UNIT_LINE_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
|
21781
21781
|
var TABS_ROW_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21782
21782
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21783
21783
|
function useProviderGroup(rates) {
|
|
21784
|
-
const groups =
|
|
21784
|
+
const groups = _chunkF73DM65Jcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21785
21785
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21786
21786
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21787
21787
|
}
|
|
@@ -21792,7 +21792,7 @@ function ProviderTabs({
|
|
|
21792
21792
|
className
|
|
21793
21793
|
}) {
|
|
21794
21794
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21795
|
-
|
|
21795
|
+
_chunkQDW64E6Tcjs.TabSelector,
|
|
21796
21796
|
{
|
|
21797
21797
|
variant: "secondary",
|
|
21798
21798
|
scrollable: true,
|
|
@@ -21800,7 +21800,7 @@ function ProviderTabs({
|
|
|
21800
21800
|
onValueChange,
|
|
21801
21801
|
items: groups.map((candidate) => ({
|
|
21802
21802
|
id: candidate.providerType,
|
|
21803
|
-
label:
|
|
21803
|
+
label: _chunkF73DM65Jcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _459 => _459.rates, 'access', _460 => _460[0], 'optionalAccess', _461 => _461.providerLabel])),
|
|
21804
21804
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerIcon]), "size-full")
|
|
21805
21805
|
})),
|
|
21806
21806
|
className
|
|
@@ -21877,8 +21877,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21877
21877
|
] }),
|
|
21878
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: [
|
|
21879
21879
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21880
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21881
|
-
/* @__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) })
|
|
21882
21882
|
] }, rate.modelName)) })
|
|
21883
21883
|
] }),
|
|
21884
21884
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -21925,7 +21925,7 @@ function modelOption(rate) {
|
|
|
21925
21925
|
return {
|
|
21926
21926
|
label: rate.displayName || rate.modelName,
|
|
21927
21927
|
value: rate.modelName,
|
|
21928
|
-
description:
|
|
21928
|
+
description: _chunkF73DM65Jcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21929
21929
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21930
21930
|
};
|
|
21931
21931
|
}
|
|
@@ -21980,8 +21980,8 @@ function ModelTokenExchange({
|
|
|
21980
21980
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21981
21981
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _465 => _465.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21982
21982
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21983
|
-
const tokens =
|
|
21984
|
-
const cost =
|
|
21983
|
+
const tokens = _chunkF73DM65Jcjs.formatTokenAmount.call(void 0, balance);
|
|
21984
|
+
const cost = _chunkF73DM65Jcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
21985
21985
|
const balancePrice = cost === null ? null : _chunk7VXMO4XJcjs.formatPrice.call(void 0, cost);
|
|
21986
21986
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21987
21987
|
const options = models.map(modelOption);
|
|
@@ -22024,7 +22024,7 @@ function ModelTokenExchange({
|
|
|
22024
22024
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22025
22025
|
size: "small",
|
|
22026
22026
|
onClick: () => setChosen(preset.tokens),
|
|
22027
|
-
children: copy.buy.preset(
|
|
22027
|
+
children: copy.buy.preset(_chunkF73DM65Jcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22028
22028
|
},
|
|
22029
22029
|
preset.label
|
|
22030
22030
|
)) })
|
|
@@ -22041,7 +22041,7 @@ function ModelTokenExchange({
|
|
|
22041
22041
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _466 => _466.providerType]) === providerType ? rate : null)));
|
|
22042
22042
|
return {
|
|
22043
22043
|
id: providerType,
|
|
22044
|
-
name:
|
|
22044
|
+
name: _chunkF73DM65Jcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _467 => _467.providerLabel])),
|
|
22045
22045
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _468 => _468.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22046
22046
|
};
|
|
22047
22047
|
}),
|
|
@@ -22080,7 +22080,7 @@ function ModelTokenExchange({
|
|
|
22080
22080
|
{
|
|
22081
22081
|
size: "plain",
|
|
22082
22082
|
loading,
|
|
22083
|
-
figure:
|
|
22083
|
+
figure: _chunkF73DM65Jcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _473 => _473.inputTokenRate])),
|
|
22084
22084
|
words: copy.charge.input
|
|
22085
22085
|
}
|
|
22086
22086
|
),
|
|
@@ -22089,7 +22089,7 @@ function ModelTokenExchange({
|
|
|
22089
22089
|
{
|
|
22090
22090
|
size: "plain",
|
|
22091
22091
|
loading,
|
|
22092
|
-
figure:
|
|
22092
|
+
figure: _chunkF73DM65Jcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _474 => _474.outputTokenRate])),
|
|
22093
22093
|
words: copy.charge.output
|
|
22094
22094
|
}
|
|
22095
22095
|
)
|
|
@@ -22101,9 +22101,9 @@ function ModelTokenExchange({
|
|
|
22101
22101
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22102
22102
|
children: [
|
|
22103
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) }),
|
|
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" }) :
|
|
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)) }),
|
|
22105
22105
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
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(
|
|
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))) })
|
|
22107
22107
|
]
|
|
22108
22108
|
}
|
|
22109
22109
|
)
|
|
@@ -22650,14 +22650,14 @@ var ConfidenceBadge = ({
|
|
|
22650
22650
|
size = "sm",
|
|
22651
22651
|
className
|
|
22652
22652
|
}) => {
|
|
22653
|
-
const level =
|
|
22653
|
+
const level = _chunkF73DM65Jcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22654
22654
|
if (level === "none") {
|
|
22655
22655
|
return null;
|
|
22656
22656
|
}
|
|
22657
|
-
const label =
|
|
22658
|
-
const borderClass =
|
|
22659
|
-
const textClass =
|
|
22660
|
-
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);
|
|
22661
22661
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22662
22662
|
"span",
|
|
22663
22663
|
{
|
|
@@ -22708,9 +22708,9 @@ function SEOEditorPreview({
|
|
|
22708
22708
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22709
22709
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22710
22710
|
const seoTitleLength = (seoTitle || "").length;
|
|
22711
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22711
|
+
const seoTitleTooLong = seoTitleLength > _chunkF73DM65Jcjs.SEO_TITLE_MAX_LENGTH;
|
|
22712
22712
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22713
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22713
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkF73DM65Jcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22714
22714
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22715
22715
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22716
22716
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22735,10 +22735,10 @@ function SEOEditorPreview({
|
|
|
22735
22735
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22736
22736
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22737
22737
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22738
|
-
|
|
22738
|
+
_chunkF73DM65Jcjs.Field,
|
|
22739
22739
|
{
|
|
22740
22740
|
label: "SEO Title",
|
|
22741
|
-
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,
|
|
22742
22742
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22743
22743
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22744
22744
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22753,7 +22753,7 @@ function SEOEditorPreview({
|
|
|
22753
22753
|
children: [
|
|
22754
22754
|
seoTitleLength,
|
|
22755
22755
|
"/",
|
|
22756
|
-
|
|
22756
|
+
_chunkF73DM65Jcjs.SEO_TITLE_MAX_LENGTH
|
|
22757
22757
|
]
|
|
22758
22758
|
}
|
|
22759
22759
|
),
|
|
@@ -22764,7 +22764,7 @@ function SEOEditorPreview({
|
|
|
22764
22764
|
value: seoTitle || "",
|
|
22765
22765
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22766
22766
|
disabled,
|
|
22767
|
-
maxLength:
|
|
22767
|
+
maxLength: _chunkF73DM65Jcjs.SEO_TITLE_MAX_LENGTH,
|
|
22768
22768
|
invalid: seoTitleTooLong,
|
|
22769
22769
|
placeholder: "Enter SEO meta title...",
|
|
22770
22770
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22775,7 +22775,7 @@ function SEOEditorPreview({
|
|
|
22775
22775
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22776
22776
|
] }),
|
|
22777
22777
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22778
|
-
|
|
22778
|
+
_chunkF73DM65Jcjs.Field,
|
|
22779
22779
|
{
|
|
22780
22780
|
label: "SEO Keywords",
|
|
22781
22781
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22807,10 +22807,10 @@ function SEOEditorPreview({
|
|
|
22807
22807
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22808
22808
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22809
22809
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22810
|
-
|
|
22810
|
+
_chunkF73DM65Jcjs.Field,
|
|
22811
22811
|
{
|
|
22812
22812
|
label: "SEO Description",
|
|
22813
|
-
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,
|
|
22814
22814
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22815
22815
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22816
22816
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22833,7 +22833,7 @@ function SEOEditorPreview({
|
|
|
22833
22833
|
children: [
|
|
22834
22834
|
seoDescriptionLength,
|
|
22835
22835
|
"/",
|
|
22836
|
-
|
|
22836
|
+
_chunkF73DM65Jcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22837
22837
|
]
|
|
22838
22838
|
}
|
|
22839
22839
|
),
|
|
@@ -22844,7 +22844,7 @@ function SEOEditorPreview({
|
|
|
22844
22844
|
value: seoDescription || "",
|
|
22845
22845
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22846
22846
|
disabled,
|
|
22847
|
-
maxLength:
|
|
22847
|
+
maxLength: _chunkF73DM65Jcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22848
22848
|
invalid: seoDescriptionTooLong,
|
|
22849
22849
|
placeholder: "Enter SEO meta description...",
|
|
22850
22850
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22913,7 +22913,7 @@ function SEOEditorPreview({
|
|
|
22913
22913
|
{
|
|
22914
22914
|
ref: setFileInputRef,
|
|
22915
22915
|
type: "file",
|
|
22916
|
-
accept:
|
|
22916
|
+
accept: _chunkFYPVCCCVcjs.IMAGE_FILE_ACCEPT,
|
|
22917
22917
|
onChange: handleImageUpload,
|
|
22918
22918
|
className: "hidden",
|
|
22919
22919
|
disabled: disabled || isUploading
|
|
@@ -22997,7 +22997,7 @@ function socialIcon(platform) {
|
|
|
22997
22997
|
return _nullishCoalesce(_chunk75PJ2SAZcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
22998
22998
|
}
|
|
22999
22999
|
function renderSocialIcon(platform) {
|
|
23000
|
-
const key = _nullishCoalesce(
|
|
23000
|
+
const key = _nullishCoalesce(_chunkF73DM65Jcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23001
23001
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23002
23002
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23003
23003
|
}
|
|
@@ -23088,7 +23088,7 @@ function SocialLinksManager({
|
|
|
23088
23088
|
};
|
|
23089
23089
|
const getIcon = (link, platform) => {
|
|
23090
23090
|
const iconKey = _optionalChain([platform, 'optionalAccess', _484 => _484.icon_name]) || link.platform;
|
|
23091
|
-
const key =
|
|
23091
|
+
const key = _chunkF73DM65Jcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23092
23092
|
if (!key) return null;
|
|
23093
23093
|
const icon = socialIcon(key);
|
|
23094
23094
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23224,7 +23224,7 @@ var StartWithOpenFrameButton = _react.forwardRef.call(void 0,
|
|
|
23224
23224
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, modeClassName, className),
|
|
23225
23225
|
style: customStyle,
|
|
23226
23226
|
leftIcon: !loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHJZLKYOBcjs.OpenframeLogoIcon, { secondaryColor: iconLowerPath, className: "h-5 w-5", color: iconUpperPath }) : void 0,
|
|
23227
|
-
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23227
|
+
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { text: "Beta", variant: "button", colorScheme: "yellow" }),
|
|
23228
23228
|
children
|
|
23229
23229
|
}
|
|
23230
23230
|
);
|
|
@@ -23552,11 +23552,11 @@ function WarningBlock({ title, icon = DEFAULT_ICON, children, className }) {
|
|
|
23552
23552
|
|
|
23553
23553
|
function VideoBitesDisplay({
|
|
23554
23554
|
bites,
|
|
23555
|
-
title =
|
|
23555
|
+
title = _chunkUN6LC5PKcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
23556
23556
|
filterPublished = true,
|
|
23557
23557
|
showTitle = true
|
|
23558
23558
|
}) {
|
|
23559
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23559
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDW64E6Tcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23560
23560
|
}
|
|
23561
23561
|
|
|
23562
23562
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23586,7 +23586,7 @@ function WalkthroughVideo({
|
|
|
23586
23586
|
onOpenChange,
|
|
23587
23587
|
defaultOpen,
|
|
23588
23588
|
defaultOpenPaused,
|
|
23589
|
-
deepLinkParam =
|
|
23589
|
+
deepLinkParam = _chunkF73DM65Jcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23590
23590
|
autoPlayCard = false,
|
|
23591
23591
|
label = "Play Demo Video",
|
|
23592
23592
|
placement,
|
|
@@ -23603,7 +23603,7 @@ function WalkthroughVideo({
|
|
|
23603
23603
|
const inline = placement === "inline";
|
|
23604
23604
|
const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
23605
23605
|
const dismissEnabled = dismissal !== false;
|
|
23606
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23606
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkF73DM65Jcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23607
23607
|
const dismissalId = _optionalChain([video, 'optionalAccess', _490 => _490.id]) != null ? String(video.id) : "dismissed";
|
|
23608
23608
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23609
23609
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23615,7 +23615,7 @@ function WalkthroughVideo({
|
|
|
23615
23615
|
let delayElapsed = false;
|
|
23616
23616
|
let interacted = inline;
|
|
23617
23617
|
const reveal = () => {
|
|
23618
|
-
if (dismissEnabled &&
|
|
23618
|
+
if (dismissEnabled && _chunkF73DM65Jcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23619
23619
|
setDismissed(true);
|
|
23620
23620
|
return;
|
|
23621
23621
|
}
|
|
@@ -23652,7 +23652,7 @@ function WalkthroughVideo({
|
|
|
23652
23652
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23653
23653
|
};
|
|
23654
23654
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23655
|
-
const hydrated =
|
|
23655
|
+
const hydrated = _chunkQDW64E6Tcjs.useIsHydrated.call(void 0, );
|
|
23656
23656
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23657
23657
|
if (!hydrated) return false;
|
|
23658
23658
|
try {
|
|
@@ -23902,7 +23902,7 @@ function WalkthroughVideo({
|
|
|
23902
23902
|
(e) => {
|
|
23903
23903
|
e.stopPropagation();
|
|
23904
23904
|
pausePreviewNow();
|
|
23905
|
-
if (dismissEnabled)
|
|
23905
|
+
if (dismissEnabled) _chunkF73DM65Jcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23906
23906
|
setDismissed(true);
|
|
23907
23907
|
},
|
|
23908
23908
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24053,7 +24053,7 @@ function WalkthroughVideo({
|
|
|
24053
24053
|
},
|
|
24054
24054
|
children: [
|
|
24055
24055
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none absolute inset-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24056
|
-
|
|
24056
|
+
_chunkUN6LC5PKcjs.VideoHoverPreviewSurface,
|
|
24057
24057
|
{
|
|
24058
24058
|
url: video.mainVideoUrl || "",
|
|
24059
24059
|
posterUrl: video.posterUrl ? _chunkDRWPSN3Acjs.resizedImageUrl.call(void 0, video.posterUrl, CARD_POSTER_WIDTH_PX) : video.posterUrl,
|
|
@@ -24077,7 +24077,7 @@ function WalkthroughVideo({
|
|
|
24077
24077
|
`card-${embedUrlKey}`
|
|
24078
24078
|
) }),
|
|
24079
24079
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24080
|
-
|
|
24080
|
+
_chunkQDW64E6Tcjs.CardHitLayer,
|
|
24081
24081
|
{
|
|
24082
24082
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24083
24083
|
onPointerDown: pausePreviewNow,
|
|
@@ -24193,7 +24193,7 @@ function WalkthroughVideo({
|
|
|
24193
24193
|
children: [
|
|
24194
24194
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive2.Title, { className: "sr-only", children: summaryTitle || "Walkthrough video" }),
|
|
24195
24195
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24196
|
-
|
|
24196
|
+
_chunkUN6LC5PKcjs.Video,
|
|
24197
24197
|
{
|
|
24198
24198
|
kind: video.youtubeUrl ? "youtube" : "file",
|
|
24199
24199
|
url: video.youtubeUrl || video.mainVideoUrl,
|
|
@@ -24249,7 +24249,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24249
24249
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24250
24250
|
const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
24251
24251
|
const enabled = enabledGiven && !inScope;
|
|
24252
|
-
const captions =
|
|
24252
|
+
const captions = _chunkQDW64E6Tcjs.useCaptions.call(void 0, );
|
|
24253
24253
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24254
24254
|
queryKey: ["walkthrough-video", endpoint],
|
|
24255
24255
|
enabled,
|
|
@@ -24447,7 +24447,7 @@ function VideoSourceSelector({
|
|
|
24447
24447
|
}
|
|
24448
24448
|
function DefaultVideoPreview({ videoUrl, onDelete, disabled }) {
|
|
24449
24449
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border", children: [
|
|
24450
|
-
/* @__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 }) }),
|
|
24451
24451
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24452
24452
|
_chunkK7I3YYYUcjs.Button,
|
|
24453
24453
|
{
|
|
@@ -24973,7 +24973,7 @@ function HighlightVideoSection({
|
|
|
24973
24973
|
// Default simple preview — the <Video> SSOT (MuxPlayer) plays
|
|
24974
24974
|
// MP4 and Mux HLS alike; aspect-video box reserves the height.
|
|
24975
24975
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative overflow-hidden rounded-lg border border-ods-border bg-black", children: [
|
|
24976
|
-
/* @__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 }) }),
|
|
24977
24977
|
onDeleteHighlight && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24978
24978
|
_chunkK7I3YYYUcjs.Button,
|
|
24979
24979
|
{
|
|
@@ -25000,7 +25000,7 @@ function HighlightConfigSection({
|
|
|
25000
25000
|
disabled = false,
|
|
25001
25001
|
className = ""
|
|
25002
25002
|
}) {
|
|
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,
|
|
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,
|
|
25004
25004
|
_chunkRPC4P7GYcjs.Select,
|
|
25005
25005
|
{
|
|
25006
25006
|
value: targetDurationSeconds.toString(),
|
|
@@ -25101,7 +25101,7 @@ var AIStatusIndicator = ({
|
|
|
25101
25101
|
}) => {
|
|
25102
25102
|
const config = statusConfig[status];
|
|
25103
25103
|
const displayText = message || config.label;
|
|
25104
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25104
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkF73DM65Jcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25105
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: [
|
|
25106
25106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25107
25107
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25109,7 +25109,7 @@ var AIStatusIndicator = ({
|
|
|
25109
25109
|
size: 16,
|
|
25110
25110
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25111
25111
|
status === "loading" && _chunkAT4C2YMAcjs.LIVE_PULSE_CLASS,
|
|
25112
|
-
confidence !== void 0 && status === "success" ?
|
|
25112
|
+
confidence !== void 0 && status === "success" ? _chunkF73DM65Jcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25113
25113
|
)
|
|
25114
25114
|
}
|
|
25115
25115
|
),
|
|
@@ -25118,7 +25118,7 @@ var AIStatusIndicator = ({
|
|
|
25118
25118
|
{
|
|
25119
25119
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25120
25120
|
"text-h6",
|
|
25121
|
-
confidence !== void 0 && status === "success" ?
|
|
25121
|
+
confidence !== void 0 && status === "success" ? _chunkF73DM65Jcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25122
25122
|
),
|
|
25123
25123
|
children: displayText
|
|
25124
25124
|
}
|
|
@@ -25128,8 +25128,8 @@ var AIStatusIndicator = ({
|
|
|
25128
25128
|
{
|
|
25129
25129
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25130
25130
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25131
|
-
|
|
25132
|
-
|
|
25131
|
+
_chunkF73DM65Jcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25132
|
+
_chunkF73DM65Jcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25133
25133
|
),
|
|
25134
25134
|
children: confidenceLabel
|
|
25135
25135
|
}
|
|
@@ -26009,7 +26009,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26009
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,
|
|
26010
26010
|
_chunkK7I3YYYUcjs.Button,
|
|
26011
26011
|
{
|
|
26012
|
-
onClick: loading ? void 0 :
|
|
26012
|
+
onClick: loading ? void 0 : _chunkF73DM65Jcjs.openInNewTab.call(void 0, href),
|
|
26013
26013
|
disabled: loading,
|
|
26014
26014
|
variant: "outline",
|
|
26015
26015
|
size: "icon",
|
|
@@ -26383,7 +26383,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26383
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,
|
|
26384
26384
|
_chunkK7I3YYYUcjs.Button,
|
|
26385
26385
|
{
|
|
26386
|
-
onClick: loading ? void 0 :
|
|
26386
|
+
onClick: loading ? void 0 : _chunkF73DM65Jcjs.openInNewTab.call(void 0, href),
|
|
26387
26387
|
disabled: loading,
|
|
26388
26388
|
variant: "outline",
|
|
26389
26389
|
size: "icon",
|
|
@@ -26518,7 +26518,7 @@ function WaitlistForm({
|
|
|
26518
26518
|
const { toast } = _chunkCWA6J7KCcjs.useToast.call(void 0, );
|
|
26519
26519
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkCWA6J7KCcjs.useHumanitySignals.call(void 0, );
|
|
26520
26520
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26521
|
-
const isClient =
|
|
26521
|
+
const isClient = _chunkQDW64E6Tcjs.useIsHydrated.call(void 0, );
|
|
26522
26522
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26523
26523
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26524
26524
|
const rescue = _chunkCWA6J7KCcjs.useFormRescue.call(void 0, {
|
|
@@ -26533,7 +26533,7 @@ function WaitlistForm({
|
|
|
26533
26533
|
_react.useEffect.call(void 0, () => {
|
|
26534
26534
|
rescue.track({ email, phone }, null);
|
|
26535
26535
|
}, [email, phone, rescue]);
|
|
26536
|
-
const isMailDomainGeneric =
|
|
26536
|
+
const isMailDomainGeneric = _chunkF73DM65Jcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26537
26537
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26538
26538
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26539
26539
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26567,7 +26567,7 @@ function WaitlistForm({
|
|
|
26567
26567
|
setShowConsentError(true);
|
|
26568
26568
|
return;
|
|
26569
26569
|
}
|
|
26570
|
-
const finalPhone = phone ?
|
|
26570
|
+
const finalPhone = phone ? _chunkF73DM65Jcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26571
26571
|
try {
|
|
26572
26572
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26573
26573
|
rescue.complete();
|
|
@@ -28722,7 +28722,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28722
28722
|
}
|
|
28723
28723
|
}
|
|
28724
28724
|
function getDeviceOperatingSystem(osType) {
|
|
28725
|
-
return
|
|
28725
|
+
return _chunkF73DM65Jcjs.getOSPlatformId.call(void 0, osType);
|
|
28726
28726
|
}
|
|
28727
28727
|
|
|
28728
28728
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30297,7 +30297,7 @@ function DevicesPanelView({
|
|
|
30297
30297
|
actionsVariant: "icon-buttons",
|
|
30298
30298
|
className,
|
|
30299
30299
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30300
|
-
|
|
30300
|
+
_chunkQDW64E6Tcjs.TabSelector,
|
|
30301
30301
|
{
|
|
30302
30302
|
value: viewMode,
|
|
30303
30303
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _671 => _671(value)]),
|
|
@@ -30832,11 +30832,11 @@ var ToolBadge = ({
|
|
|
30832
30832
|
iconClassName
|
|
30833
30833
|
}) => {
|
|
30834
30834
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
30835
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30835
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkF73DM65Jcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30836
30836
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHBAVHYXOcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30837
30837
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30838
30838
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30839
|
-
|
|
30839
|
+
_chunkQDW64E6Tcjs.NavLinkAnchorViaRuntime,
|
|
30840
30840
|
{
|
|
30841
30841
|
href,
|
|
30842
30842
|
targetPlatform,
|
|
@@ -30986,7 +30986,7 @@ function LogsTableView({
|
|
|
30986
30986
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30987
30987
|
ToolBadge,
|
|
30988
30988
|
{
|
|
30989
|
-
toolType:
|
|
30989
|
+
toolType: _chunkF73DM65Jcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30990
30990
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30991
30991
|
}
|
|
30992
30992
|
),
|
|
@@ -30998,7 +30998,7 @@ function LogsTableView({
|
|
|
30998
30998
|
filter: {
|
|
30999
30999
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _679 => _679.toolTypes, 'access', _680 => _680.map, 'call', _681 => _681((toolType) => ({
|
|
31000
31000
|
id: toolType,
|
|
31001
|
-
label:
|
|
31001
|
+
label: _chunkF73DM65Jcjs.toToolLabel.call(void 0, toolType),
|
|
31002
31002
|
value: toolType
|
|
31003
31003
|
}))]), () => ( []))
|
|
31004
31004
|
}
|
|
@@ -31047,7 +31047,7 @@ function LogsTableView({
|
|
|
31047
31047
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31048
31048
|
LogRowButton,
|
|
31049
31049
|
{
|
|
31050
|
-
onClick: getLogHref ?
|
|
31050
|
+
onClick: getLogHref ? _chunkF73DM65Jcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31051
31051
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31052
31052
|
label: "Open in new tab"
|
|
31053
31053
|
}
|
|
@@ -31369,7 +31369,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31369
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,
|
|
31370
31370
|
_chunkK7I3YYYUcjs.Button,
|
|
31371
31371
|
{
|
|
31372
|
-
onClick: loading ? void 0 :
|
|
31372
|
+
onClick: loading ? void 0 : _chunkF73DM65Jcjs.openInNewTab.call(void 0, href),
|
|
31373
31373
|
disabled: loading,
|
|
31374
31374
|
variant: "outline",
|
|
31375
31375
|
size: "icon",
|
|
@@ -31558,9 +31558,9 @@ function ScriptSchedulesTable({
|
|
|
31558
31558
|
|
|
31559
31559
|
// src/components/features/scripts/shell-types.ts
|
|
31560
31560
|
var SCRIPT_SHELL_TYPES = [
|
|
31561
|
-
{ id:
|
|
31562
|
-
{ id:
|
|
31563
|
-
{ 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 }
|
|
31564
31564
|
];
|
|
31565
31565
|
function scriptShellType(value) {
|
|
31566
31566
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33017,7 +33017,7 @@ function ScheduleFormFields({
|
|
|
33017
33017
|
disabled = false,
|
|
33018
33018
|
renderScriptSearch,
|
|
33019
33019
|
timeReferenceGate = "off",
|
|
33020
|
-
platforms =
|
|
33020
|
+
platforms = _chunkF73DM65Jcjs.OS_PLATFORMS,
|
|
33021
33021
|
comingSoonPlatforms = [],
|
|
33022
33022
|
getTimeSlots,
|
|
33023
33023
|
nameLayout = "stacked",
|
|
@@ -33163,7 +33163,7 @@ function ScheduleFormFields({
|
|
|
33163
33163
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33164
33164
|
|
|
33165
33165
|
function ScriptPlatformIcons({ platforms }) {
|
|
33166
|
-
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)) });
|
|
33167
33167
|
}
|
|
33168
33168
|
function ScheduleScriptSearchField({
|
|
33169
33169
|
scriptId,
|
|
@@ -33236,7 +33236,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33236
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,
|
|
33237
33237
|
_chunkK7I3YYYUcjs.Button,
|
|
33238
33238
|
{
|
|
33239
|
-
onClick: loading ? void 0 :
|
|
33239
|
+
onClick: loading ? void 0 : _chunkF73DM65Jcjs.openInNewTab.call(void 0, href),
|
|
33240
33240
|
disabled: loading,
|
|
33241
33241
|
variant: "outline",
|
|
33242
33242
|
size: "icon",
|
|
@@ -33390,7 +33390,7 @@ function KnowledgeBaseArticleView({
|
|
|
33390
33390
|
className,
|
|
33391
33391
|
children: [
|
|
33392
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)) }),
|
|
33393
|
-
/* @__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: [
|
|
33394
33394
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-20 min-w-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
33395
33395
|
author.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPQIWR4Q2cjs.DeletedUserAvatar, { size: "md" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33396
33396
|
_chunk7VXMO4XJcjs.SquareAvatar,
|
|
@@ -33587,7 +33587,7 @@ function ConversationCard({
|
|
|
33587
33587
|
style: tint,
|
|
33588
33588
|
onClick: selection && ((event) => {
|
|
33589
33589
|
if (event.button !== 0 || _optionalChain([window, 'access', _745 => _745.getSelection, 'call', _746 => _746(), 'optionalAccess', _747 => _747.toString, 'call', _748 => _748()])) return;
|
|
33590
|
-
if (!
|
|
33590
|
+
if (!_chunkF73DM65Jcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33591
33591
|
selection.onToggle();
|
|
33592
33592
|
}),
|
|
33593
33593
|
children: [
|
|
@@ -33610,7 +33610,7 @@ function ConversationCard({
|
|
|
33610
33610
|
)
|
|
33611
33611
|
),
|
|
33612
33612
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33613
|
-
|
|
33613
|
+
_chunkF73DM65Jcjs.ChatTurn,
|
|
33614
33614
|
{
|
|
33615
33615
|
avatar: requester.avatar,
|
|
33616
33616
|
name: requester.name,
|
|
@@ -33631,7 +33631,7 @@ function ConversationCard({
|
|
|
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,
|
|
@@ -33676,7 +33676,7 @@ function ConversationCardSkeleton({
|
|
|
33676
33676
|
{
|
|
33677
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
33678
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33679
|
-
|
|
33679
|
+
_chunkF73DM65Jcjs.ChatTurn,
|
|
33680
33680
|
{
|
|
33681
33681
|
loading: true,
|
|
33682
33682
|
name: "",
|
|
@@ -33700,7 +33700,7 @@ function ConversationCardSkeleton({
|
|
|
33700
33700
|
] })
|
|
33701
33701
|
] }),
|
|
33702
33702
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33703
|
-
|
|
33703
|
+
_chunkF73DM65Jcjs.ChatTurn,
|
|
33704
33704
|
{
|
|
33705
33705
|
loading: true,
|
|
33706
33706
|
name: "",
|
|
@@ -33962,7 +33962,7 @@ function CapabilityExplorer({
|
|
|
33962
33962
|
readItems: true,
|
|
33963
33963
|
renderItem: (item) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: _chunk6YZNUHXTcjs.cn.call(void 0, CARD_CLASS2, CARD_HEIGHT_CLASS), children: [
|
|
33964
33964
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CARD_HEAD_ROW_CLASS, children: [
|
|
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,
|
|
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 }) }),
|
|
33966
33966
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
|
|
33967
33967
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "h3", { className: "flex min-w-0 items-center gap-2 text-ods-text-primary text-h4", children: [
|
|
33968
33968
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRPC4P7GYcjs.TruncateText, { as: "span", variant: "h4", triggerClassName: "flex-1", children: item.title }),
|
|
@@ -34042,7 +34042,7 @@ function CapabilityExplorer({
|
|
|
34042
34042
|
"span",
|
|
34043
34043
|
{
|
|
34044
34044
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, JOB_ICON_TILE_CLASS, selected ? "text-ods-flamingo-cyan" : "text-ods-text-secondary"),
|
|
34045
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34045
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: item.iconName }, size: 18 })
|
|
34046
34046
|
}
|
|
34047
34047
|
),
|
|
34048
34048
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "min-w-0 flex-1", children: [
|