@flamingo-stack/openframe-frontend-core 0.0.797 → 0.0.798
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/build/export-map.json +1 -1
- package/dist/{chunk-PBL66EVT.cjs → chunk-2M6HS23A.cjs} +30 -30
- package/dist/{chunk-ZPTHTGHK.cjs → chunk-5IU64YEA.cjs} +39 -39
- package/dist/{chunk-GAFNJDZV.cjs → chunk-6F2UHDCB.cjs} +3 -3
- package/dist/{chunk-YHCC3BLP.cjs → chunk-6YCUP6JJ.cjs} +14 -14
- package/dist/{chunk-NBUHCGGG.cjs → chunk-AVAE5B2A.cjs} +2 -2
- package/dist/{chunk-RD57WBJK.cjs → chunk-BWTCULUN.cjs} +4 -4
- package/dist/{chunk-CHF6PHOR.cjs → chunk-C2UZWRU5.cjs} +16 -16
- package/dist/{chunk-BUCCV72E.cjs → chunk-EYE5FLHZ.cjs} +11 -11
- package/dist/{chunk-QKXXHOOD.cjs → chunk-FIKIPO4F.cjs} +13 -0
- package/dist/{chunk-CO6FB4DR.cjs → chunk-FO3N6HDS.cjs} +13 -13
- package/dist/{chunk-5CEXT3V7.cjs → chunk-KFDAL6NA.cjs} +2 -2
- package/dist/{chunk-3H3CQ7BQ.cjs → chunk-ND7ECICK.cjs} +37 -37
- package/dist/{chunk-UKLSEI7S.cjs → chunk-NK2FSEWD.cjs} +4 -4
- package/dist/{chunk-OZUUCVDZ.cjs → chunk-O6KQ64RI.cjs} +2 -2
- package/dist/{chunk-VFCPLZFY.cjs → chunk-PTQVGWJE.cjs} +61 -61
- package/dist/{chunk-IS77JFF6.cjs → chunk-SDV335EO.cjs} +4 -4
- package/dist/{chunk-7MLK7BGF.cjs → chunk-T5OCU3EL.cjs} +4 -4
- package/dist/{chunk-LAJNO2EW.cjs → chunk-TJQGKIXB.cjs} +32 -32
- package/dist/{chunk-YMWK7GOC.cjs → chunk-VUHPWSAE.cjs} +139 -119
- package/dist/{chunk-KWINW3FC.cjs → chunk-W25OB2R6.cjs} +11 -11
- package/dist/{chunk-FFEE2ON2.cjs → chunk-W5ZQDEDT.cjs} +128 -127
- package/dist/{chunk-7GFKJGWH.cjs → chunk-WUBTAN27.cjs} +68 -68
- package/dist/{chunk-7AMU2ZD2.cjs → chunk-XJD7IZR2.cjs} +48 -48
- package/dist/{chunk-NX4QOEPJ.cjs → chunk-ZOK4OWMJ.cjs} +2 -2
- package/dist/{chunk-4M5JIVAH.cjs → chunk-ZXRAYCNB.cjs} +3 -3
- package/dist/{cloud-tenants-THCY3N2P.cjs → cloud-tenants-XGL3DYSG.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/entity-cards/roadmap-card.d.ts +5 -0
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.js +16 -1
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/types/entities/roadmap-item.d.ts +8 -0
- package/dist/components/chat/types/entities/roadmap-item.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +82 -82
- package/dist/components/index.cjs +52 -52
- package/dist/components/meeting-scheduler/index.cjs +38 -38
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/product-demo/index.cjs +15 -15
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/feature-card.d.ts +1 -1
- package/dist/components/ui/feature-card.d.ts.map +1 -1
- package/dist/components/ui/feature-card.js +1 -0
- package/dist/components/ui/index.cjs +6 -6
- package/dist/{devices-N4EF5QDS.cjs → devices-U2NQYDI7.cjs} +7 -7
- package/dist/{embeddable-chat-7Z2OQK3X.cjs → embeddable-chat-MPJLN4C6.cjs} +62 -62
- package/dist/index.cjs +12 -10
- package/dist/{knowledge-TL4DSXYQ.cjs → knowledge-BUY6TSK6.cjs} +7 -7
- package/dist/{logs-4VRUBGKE.cjs → logs-FUPQ7XYE.cjs} +14 -14
- package/dist/{policies-TLNVCQGG.cjs → policies-NASADYBK.cjs} +10 -10
- package/dist/{scripts-4LFWHIMH.cjs → scripts-BGLTDQKV.cjs} +11 -11
- package/dist/{software-update-J4ZXQABW.cjs → software-update-QDIZ32KU.cjs} +9 -9
- package/dist/utils/clickup-drop-down.cjs +22 -0
- package/dist/utils/clickup-drop-down.d.ts +26 -0
- package/dist/utils/clickup-drop-down.d.ts.map +1 -0
- package/dist/utils/clickup-drop-down.js +20 -0
- package/dist/utils/index.cjs +20 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/package.json +7 -1
- package/src/components/chat/entity-cards/roadmap-card.tsx +18 -1
- package/src/components/chat/types/entities/roadmap-item.ts +8 -0
- package/src/components/ui/feature-card.tsx +2 -1
- package/src/utils/clickup-drop-down.ts +41 -0
- package/src/utils/index.ts +1 -0
|
@@ -107,7 +107,7 @@ var _chunkYR74H7Z3cjs = require('./chunk-YR74H7Z3.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _chunkVUHPWSAEcjs = require('./chunk-VUHPWSAE.cjs');
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
|
|
@@ -127,7 +127,7 @@ var _chunkYMWK7GOCcjs = require('./chunk-YMWK7GOC.cjs');
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _chunkND7ECICKcjs = require('./chunk-ND7ECICK.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 _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
|
|
490
490
|
|
|
491
491
|
|
|
492
492
|
|
|
@@ -695,7 +695,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
695
695
|
var useTheme = _nextthemes.useTheme;
|
|
696
696
|
function useThemeToggle() {
|
|
697
697
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
698
|
-
const mounted =
|
|
698
|
+
const mounted = _chunkND7ECICKcjs.useIsHydrated.call(void 0, );
|
|
699
699
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
700
700
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
701
701
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4539,7 +4539,7 @@ function AdminFormDrawer({
|
|
|
4539
4539
|
"form",
|
|
4540
4540
|
{
|
|
4541
4541
|
id: formId,
|
|
4542
|
-
...
|
|
4542
|
+
..._chunkVUHPWSAEcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4543
4543
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4544
4544
|
onSubmit: (e) => {
|
|
4545
4545
|
e.preventDefault();
|
|
@@ -4646,7 +4646,7 @@ function AdminFormModal({
|
|
|
4646
4646
|
"form",
|
|
4647
4647
|
{
|
|
4648
4648
|
id: formId,
|
|
4649
|
-
...
|
|
4649
|
+
..._chunkVUHPWSAEcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4650
4650
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4651
4651
|
onSubmit: (e) => {
|
|
4652
4652
|
e.preventDefault();
|
|
@@ -6040,7 +6040,7 @@ function EmbedViewerFrame({
|
|
|
6040
6040
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6041
6041
|
_react.useEffect.call(void 0, () => {
|
|
6042
6042
|
if (!fullscreenControl) return void 0;
|
|
6043
|
-
const controller = new (0,
|
|
6043
|
+
const controller = new (0, _chunkVUHPWSAEcjs.FullscreenSwitchController)({
|
|
6044
6044
|
target: () => frameRef.current,
|
|
6045
6045
|
onFullscreenChange: setIsFullscreen
|
|
6046
6046
|
});
|
|
@@ -7279,7 +7279,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7279
7279
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7280
7280
|
};
|
|
7281
7281
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7282
|
-
const postLinkRel =
|
|
7282
|
+
const postLinkRel = _chunkND7ECICKcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7283
7283
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7284
7284
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7285
7285
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7611,7 +7611,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7611
7611
|
] });
|
|
7612
7612
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7613
7613
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7614
|
-
const postLinkRel =
|
|
7614
|
+
const postLinkRel = _chunkND7ECICKcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7615
7615
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7616
7616
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7617
7617
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7813,7 +7813,7 @@ function buildRichEmbedOverrides({
|
|
|
7813
7813
|
ogEndpointPath,
|
|
7814
7814
|
textSizes
|
|
7815
7815
|
}) {
|
|
7816
|
-
const standard =
|
|
7816
|
+
const standard = _chunkND7ECICKcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7817
7817
|
return {
|
|
7818
7818
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7819
7819
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7949,14 +7949,14 @@ function buildRichEmbedOverrides({
|
|
|
7949
7949
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7950
7950
|
// elsewhere). Guard against empty `![]()`.
|
|
7951
7951
|
img: ({ src, alt }) => {
|
|
7952
|
-
if (!
|
|
7952
|
+
if (!_chunkND7ECICKcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7953
7953
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7954
7954
|
},
|
|
7955
7955
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7956
7956
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7957
7957
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7958
7958
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7959
|
-
if (!
|
|
7959
|
+
if (!_chunkND7ECICKcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7960
7960
|
const url = src.trim();
|
|
7961
7961
|
if (_chunkYBTORXFYcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.Video, { kind: "youtube", url });
|
|
7962
7962
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
@@ -7964,7 +7964,7 @@ function buildRichEmbedOverrides({
|
|
|
7964
7964
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7965
7965
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7966
7966
|
video: ({ src, poster, className }) => {
|
|
7967
|
-
if (!
|
|
7967
|
+
if (!_chunkND7ECICKcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7968
7968
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7969
7969
|
}
|
|
7970
7970
|
};
|
|
@@ -8073,7 +8073,7 @@ var processShortcodes = (content) => {
|
|
|
8073
8073
|
try {
|
|
8074
8074
|
const urlObj = new URL(url);
|
|
8075
8075
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8076
|
-
const hostIs = (domain) =>
|
|
8076
|
+
const hostIs = (domain) => _chunkVUHPWSAEcjs.hostMatches.call(void 0, hostname, domain);
|
|
8077
8077
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8078
8078
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8079
8079
|
return match;
|
|
@@ -8150,13 +8150,13 @@ var RichMarkdownInner = ({
|
|
|
8150
8150
|
},
|
|
8151
8151
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8152
8152
|
);
|
|
8153
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8153
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkND7ECICKcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8154
8154
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8155
8155
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8156
8156
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8157
8157
|
);
|
|
8158
8158
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8159
|
-
|
|
8159
|
+
_chunkND7ECICKcjs.MarkdownEngine,
|
|
8160
8160
|
{
|
|
8161
8161
|
content,
|
|
8162
8162
|
className,
|
|
@@ -8180,7 +8180,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8180
8180
|
className = "",
|
|
8181
8181
|
sectionIds,
|
|
8182
8182
|
onInternalLinkClick,
|
|
8183
|
-
brokenLinks =
|
|
8183
|
+
brokenLinks = _chunkND7ECICKcjs.NO_BROKEN_LINKS,
|
|
8184
8184
|
currentPath,
|
|
8185
8185
|
resolveSource = "openframe-docs",
|
|
8186
8186
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9525,7 +9525,7 @@ function renderAdvancedPageContainer({
|
|
|
9525
9525
|
contentClassName,
|
|
9526
9526
|
showHeader = true
|
|
9527
9527
|
}, inScope = false) {
|
|
9528
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE56LN23Hcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children:
|
|
9528
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE56LN23Hcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9529
9529
|
const subtitleNode = subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: PAGE_CONTAINER_SUBTITLE_CLASS, children: subtitle }) : inScope && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerSubtitleSkeleton, {}) : null;
|
|
9530
9530
|
const getActionsVariant = () => {
|
|
9531
9531
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9952,7 +9952,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9952
9952
|
|
|
9953
9953
|
|
|
9954
9954
|
function PlatformBrowseButton({ item }) {
|
|
9955
|
-
const linkProps =
|
|
9955
|
+
const linkProps = _chunkND7ECICKcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9956
9956
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9957
9957
|
"Browse ",
|
|
9958
9958
|
item.buttonText
|
|
@@ -10471,10 +10471,10 @@ var OSTypeBadge = ({
|
|
|
10471
10471
|
if (!osType) {
|
|
10472
10472
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10473
10473
|
}
|
|
10474
|
-
const normalized =
|
|
10474
|
+
const normalized = _chunkVUHPWSAEcjs.normalizeOSType.call(void 0, osType);
|
|
10475
10475
|
if (!normalized && !labelOnly) return null;
|
|
10476
|
-
const label =
|
|
10477
|
-
const IconComponent =
|
|
10476
|
+
const label = _chunkVUHPWSAEcjs.getOSLabel.call(void 0, osType);
|
|
10477
|
+
const IconComponent = _chunkVUHPWSAEcjs.getOSIcon.call(void 0, osType);
|
|
10478
10478
|
if (iconOnly && IconComponent) {
|
|
10479
10479
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk7JWFMAQBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10480
10480
|
}
|
|
@@ -10770,7 +10770,7 @@ function ComplianceLogo({
|
|
|
10770
10770
|
fallback = null,
|
|
10771
10771
|
className
|
|
10772
10772
|
}) {
|
|
10773
|
-
const standard =
|
|
10773
|
+
const standard = _chunkVUHPWSAEcjs.complianceStandardForName.call(void 0, ...names);
|
|
10774
10774
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10775
10775
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10776
10776
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10788,6 +10788,7 @@ function ComplianceLogo({
|
|
|
10788
10788
|
|
|
10789
10789
|
var FEATURE_CARD_GRID_SKELETON_ITEMS = 3;
|
|
10790
10790
|
var GRID_COLUMNS = {
|
|
10791
|
+
1: "grid-cols-1",
|
|
10791
10792
|
2: "grid-cols-1 content-md:grid-cols-2",
|
|
10792
10793
|
3: "grid-cols-1 content-md:grid-cols-3",
|
|
10793
10794
|
4: "grid-cols-1 content-md:grid-cols-2 content-lg:grid-cols-4"
|
|
@@ -12801,7 +12802,7 @@ function DataTableRowImpl({
|
|
|
12801
12802
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12802
12803
|
const handleClick = _react.useCallback.call(void 0,
|
|
12803
12804
|
(e) => {
|
|
12804
|
-
if (!
|
|
12805
|
+
if (!_chunkVUHPWSAEcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12805
12806
|
if (isLinkMode) e.preventDefault();
|
|
12806
12807
|
return;
|
|
12807
12808
|
}
|
|
@@ -12815,7 +12816,7 @@ function DataTableRowImpl({
|
|
|
12815
12816
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _222 => _222.contains, 'call', _223 => _223(target)])) return;
|
|
12816
12817
|
const nestedLink = target.closest("a");
|
|
12817
12818
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12818
|
-
if (!
|
|
12819
|
+
if (!_chunkVUHPWSAEcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12819
12820
|
}, []);
|
|
12820
12821
|
const containerClassName = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
12821
12822
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12944,7 +12945,7 @@ function DataTableBody({
|
|
|
12944
12945
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12945
12946
|
if (loading && loadingCells && hasRows) {
|
|
12946
12947
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12947
|
-
|
|
12948
|
+
_chunkND7ECICKcjs.LoadingFallback,
|
|
12948
12949
|
{
|
|
12949
12950
|
label: "Loading results",
|
|
12950
12951
|
status: loadingRegion && !inScope,
|
|
@@ -13292,7 +13293,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13292
13293
|
// child of the cell.
|
|
13293
13294
|
_optionalChain([meta, 'optionalAccess', _241 => _241.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13294
13295
|
filterTrigger,
|
|
13295
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13296
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVUHPWSAEcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13296
13297
|
] }) : filterTrigger
|
|
13297
13298
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13298
13299
|
"div",
|
|
@@ -13317,7 +13318,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13317
13318
|
// centred on the row.
|
|
13318
13319
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13319
13320
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13320
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVUHPWSAEcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13321
13322
|
] })
|
|
13322
13323
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13323
13324
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13556,7 +13557,7 @@ function PhoneInput({
|
|
|
13556
13557
|
placeholder = "Phone Number (optional)",
|
|
13557
13558
|
onKeyDown
|
|
13558
13559
|
}) {
|
|
13559
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13560
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkVUHPWSAEcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13560
13561
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13561
13562
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13562
13563
|
[countryCode, priority, others]
|
|
@@ -13571,7 +13572,7 @@ function PhoneInput({
|
|
|
13571
13572
|
_optionalChain([onValidationChange, 'optionalCall', _258 => _258(false)]);
|
|
13572
13573
|
return;
|
|
13573
13574
|
}
|
|
13574
|
-
const invalid = !
|
|
13575
|
+
const invalid = !_chunkVUHPWSAEcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13575
13576
|
setIsInvalid(invalid);
|
|
13576
13577
|
_optionalChain([onValidationChange, 'optionalCall', _259 => _259(invalid)]);
|
|
13577
13578
|
},
|
|
@@ -14430,7 +14431,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14430
14431
|
),
|
|
14431
14432
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14432
14433
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14433
|
-
|
|
14434
|
+
_chunkND7ECICKcjs.TabSelector,
|
|
14434
14435
|
{
|
|
14435
14436
|
label: "Search engines",
|
|
14436
14437
|
value: choice,
|
|
@@ -14487,7 +14488,7 @@ function useMarkdownLinkCommand() {
|
|
|
14487
14488
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14488
14489
|
icon: command.icon,
|
|
14489
14490
|
execute: (state, api) => {
|
|
14490
|
-
const existing =
|
|
14491
|
+
const existing = _chunkND7ECICKcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14491
14492
|
setPending(
|
|
14492
14493
|
existing ? {
|
|
14493
14494
|
api,
|
|
@@ -14518,7 +14519,7 @@ function useMarkdownLinkCommand() {
|
|
|
14518
14519
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _316 => _316.initial]), () => ( EMPTY_LINK)),
|
|
14519
14520
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _317 => _317.editing]), () => ( false)),
|
|
14520
14521
|
onSubmit: (link) => {
|
|
14521
|
-
if (pending) write(pending,
|
|
14522
|
+
if (pending) write(pending, _chunkND7ECICKcjs.formatMarkdownLink.call(void 0, link));
|
|
14522
14523
|
},
|
|
14523
14524
|
onRemove: () => {
|
|
14524
14525
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14684,7 +14685,7 @@ function MarkdownEditor({
|
|
|
14684
14685
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14685
14686
|
try {
|
|
14686
14687
|
const url = await onUploadFile(file);
|
|
14687
|
-
const isImage =
|
|
14688
|
+
const isImage = _chunkFIKIPO4Fcjs.fileMediaType.call(void 0, file) === "image";
|
|
14688
14689
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14689
14690
|
insertTextAtCursor(markdown);
|
|
14690
14691
|
_optionalChain([onFileUploaded, 'optionalCall', _320 => _320(url, file.name)]);
|
|
@@ -14814,7 +14815,7 @@ function MarkdownEditor({
|
|
|
14814
14815
|
type: "file",
|
|
14815
14816
|
className: "hidden",
|
|
14816
14817
|
onChange: handleFileInputChange,
|
|
14817
|
-
accept: `${
|
|
14818
|
+
accept: `${_chunkFIKIPO4Fcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14818
14819
|
}
|
|
14819
14820
|
),
|
|
14820
14821
|
/* @__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,
|
|
@@ -15228,7 +15229,7 @@ function matchesAccept2(file, accept) {
|
|
|
15228
15229
|
return patterns.some((pattern) => {
|
|
15229
15230
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
15230
15231
|
if (pattern.endsWith("/*"))
|
|
15231
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
15232
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkFIKIPO4Fcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
15232
15233
|
return fileType === pattern;
|
|
15233
15234
|
});
|
|
15234
15235
|
}
|
|
@@ -15236,7 +15237,7 @@ function ImageUploader({
|
|
|
15236
15237
|
value,
|
|
15237
15238
|
onChange,
|
|
15238
15239
|
onRemove,
|
|
15239
|
-
accept =
|
|
15240
|
+
accept = _chunkFIKIPO4Fcjs.IMAGE_FILE_ACCEPT,
|
|
15240
15241
|
maxSize = DEFAULT_MAX_SIZE,
|
|
15241
15242
|
label = "Cover Image",
|
|
15242
15243
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -16397,7 +16398,7 @@ function TicketInfoSection({
|
|
|
16397
16398
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16398
16399
|
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" }) }),
|
|
16399
16400
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16400
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16401
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkND7ECICKcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16401
16402
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16402
16403
|
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, _chunk6UKH22NQcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16403
16404
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16882,7 +16883,7 @@ function PhotoWall({
|
|
|
16882
16883
|
gap: COLUMN_GAP_PX
|
|
16883
16884
|
};
|
|
16884
16885
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk7JWFMAQBcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16885
|
-
|
|
16886
|
+
_chunkND7ECICKcjs.MarqueeWall,
|
|
16886
16887
|
{
|
|
16887
16888
|
axis: "y",
|
|
16888
16889
|
reverse: index % 2 === 1,
|
|
@@ -17442,7 +17443,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17442
17443
|
};
|
|
17443
17444
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17444
17445
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17445
|
-
const labels =
|
|
17446
|
+
const labels = _chunkVUHPWSAEcjs.trialLabels.call(void 0, trialDays);
|
|
17446
17447
|
return terms.flatMap((term) => {
|
|
17447
17448
|
const label = labels[term];
|
|
17448
17449
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -18476,7 +18477,7 @@ function CompleteAccountForm({
|
|
|
18476
18477
|
),
|
|
18477
18478
|
children: [
|
|
18478
18479
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18479
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18480
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18480
18481
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18481
18482
|
] }),
|
|
18482
18483
|
(ssoProvidersLoading || ssoProviders && ssoProviders.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18627,7 +18628,7 @@ function CreateOrganizationForm({
|
|
|
18627
18628
|
),
|
|
18628
18629
|
children: [
|
|
18629
18630
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18630
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18631
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18631
18632
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: CREATE_ORGANIZATION_SUBTITLE_BAR_CLASS }) : subtitle })
|
|
18632
18633
|
] }),
|
|
18633
18634
|
email === void 0 ? null : emailReadOnly && emailReadOnlyLabel === null ? (
|
|
@@ -18774,7 +18775,7 @@ function InviteLinkInvalidModal({
|
|
|
18774
18775
|
),
|
|
18775
18776
|
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: [
|
|
18776
18777
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18777
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18778
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18778
18779
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18779
18780
|
_chunkAHBTZ7DNcjs.Button,
|
|
18780
18781
|
{
|
|
@@ -18858,7 +18859,7 @@ function LoginForm({
|
|
|
18858
18859
|
),
|
|
18859
18860
|
children: [
|
|
18860
18861
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18862
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18862
18863
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18863
18864
|
] }),
|
|
18864
18865
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18985,7 +18986,7 @@ function NoAccountNotice({
|
|
|
18985
18986
|
),
|
|
18986
18987
|
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: [
|
|
18987
18988
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18988
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18989
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18989
18990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18990
18991
|
] }),
|
|
18991
18992
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -19034,7 +19035,7 @@ function OpenFrameSsoLoginForm({
|
|
|
19034
19035
|
),
|
|
19035
19036
|
children: [
|
|
19036
19037
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19037
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19038
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19038
19039
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19039
19040
|
] }),
|
|
19040
19041
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19139,7 +19140,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19139
19140
|
),
|
|
19140
19141
|
children: [
|
|
19141
19142
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19142
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19143
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19143
19144
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19144
19145
|
] }),
|
|
19145
19146
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19245,7 +19246,7 @@ function PasswordResetForm({
|
|
|
19245
19246
|
),
|
|
19246
19247
|
children: [
|
|
19247
19248
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19248
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19249
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19249
19250
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19250
19251
|
] }),
|
|
19251
19252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19366,7 +19367,7 @@ function SsoJoinForm({
|
|
|
19366
19367
|
),
|
|
19367
19368
|
children: [
|
|
19368
19369
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19369
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19370
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19370
19371
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19371
19372
|
] }),
|
|
19372
19373
|
/* @__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: [
|
|
@@ -21221,15 +21222,15 @@ function useLoading() {
|
|
|
21221
21222
|
|
|
21222
21223
|
|
|
21223
21224
|
function isAlreadyThere(file, existing) {
|
|
21224
|
-
const key =
|
|
21225
|
+
const key = _chunkFIKIPO4Fcjs.mediaNameKey.call(void 0, file.name);
|
|
21225
21226
|
if (!key) return false;
|
|
21226
21227
|
return existing.some(
|
|
21227
|
-
(item) => (item.title ?
|
|
21228
|
+
(item) => (item.title ? _chunkFIKIPO4Fcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkFIKIPO4Fcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
21228
21229
|
);
|
|
21229
21230
|
}
|
|
21230
21231
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
21231
|
-
var isVideoItem = (item) =>
|
|
21232
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
21232
|
+
var isVideoItem = (item) => _chunkFIKIPO4Fcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
21233
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkFIKIPO4Fcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkFIKIPO4Fcjs.MEDIA_FILE_ACCEPT };
|
|
21233
21234
|
var MEDIA_KIND_COPY = {
|
|
21234
21235
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
21235
21236
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -21253,12 +21254,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
21253
21254
|
const seen = /* @__PURE__ */ new Set();
|
|
21254
21255
|
const accepted = [];
|
|
21255
21256
|
for (const file of files) {
|
|
21256
|
-
const mediaType =
|
|
21257
|
+
const mediaType = _chunkFIKIPO4Fcjs.fileMediaType.call(void 0, file);
|
|
21257
21258
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
21258
21259
|
unsupported.push(file.name);
|
|
21259
21260
|
continue;
|
|
21260
21261
|
}
|
|
21261
|
-
const contentKey = await
|
|
21262
|
+
const contentKey = await _chunkFIKIPO4Fcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
21262
21263
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
21263
21264
|
duplicates.push(file.name);
|
|
21264
21265
|
continue;
|
|
@@ -21873,7 +21874,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21873
21874
|
empty: "No token rates are in effect right now."
|
|
21874
21875
|
};
|
|
21875
21876
|
function providerMark(providerType, stated, className) {
|
|
21876
|
-
const Mark = _chunk5RGGUQ4Ycjs.findIcon.call(void 0,
|
|
21877
|
+
const Mark = _chunk5RGGUQ4Ycjs.findIcon.call(void 0, _chunkVUHPWSAEcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21877
21878
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21878
21879
|
}
|
|
21879
21880
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21891,7 +21892,7 @@ var UNIT_LINE_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
|
21891
21892
|
var TABS_ROW_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21892
21893
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21893
21894
|
function useProviderGroup(rates) {
|
|
21894
|
-
const groups =
|
|
21895
|
+
const groups = _chunkVUHPWSAEcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21895
21896
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21896
21897
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21897
21898
|
}
|
|
@@ -21902,7 +21903,7 @@ function ProviderTabs({
|
|
|
21902
21903
|
className
|
|
21903
21904
|
}) {
|
|
21904
21905
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21905
|
-
|
|
21906
|
+
_chunkND7ECICKcjs.TabSelector,
|
|
21906
21907
|
{
|
|
21907
21908
|
variant: "secondary",
|
|
21908
21909
|
scrollable: true,
|
|
@@ -21910,7 +21911,7 @@ function ProviderTabs({
|
|
|
21910
21911
|
onValueChange,
|
|
21911
21912
|
items: groups.map((candidate) => ({
|
|
21912
21913
|
id: candidate.providerType,
|
|
21913
|
-
label:
|
|
21914
|
+
label: _chunkVUHPWSAEcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _459 => _459.rates, 'access', _460 => _460[0], 'optionalAccess', _461 => _461.providerLabel])),
|
|
21914
21915
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerIcon]), "size-full")
|
|
21915
21916
|
})),
|
|
21916
21917
|
className
|
|
@@ -21987,8 +21988,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21987
21988
|
] }),
|
|
21988
21989
|
/* @__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: [
|
|
21989
21990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21990
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21991
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21991
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkVUHPWSAEcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21992
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkVUHPWSAEcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21992
21993
|
] }, rate.modelName)) })
|
|
21993
21994
|
] }),
|
|
21994
21995
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22035,7 +22036,7 @@ function modelOption(rate) {
|
|
|
22035
22036
|
return {
|
|
22036
22037
|
label: rate.displayName || rate.modelName,
|
|
22037
22038
|
value: rate.modelName,
|
|
22038
|
-
description:
|
|
22039
|
+
description: _chunkVUHPWSAEcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22039
22040
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22040
22041
|
};
|
|
22041
22042
|
}
|
|
@@ -22090,8 +22091,8 @@ function ModelTokenExchange({
|
|
|
22090
22091
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22091
22092
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _465 => _465.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22092
22093
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22093
|
-
const tokens =
|
|
22094
|
-
const cost =
|
|
22094
|
+
const tokens = _chunkVUHPWSAEcjs.formatTokenAmount.call(void 0, balance);
|
|
22095
|
+
const cost = _chunkVUHPWSAEcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22095
22096
|
const balancePrice = cost === null ? null : _chunk6UKH22NQcjs.formatPrice.call(void 0, cost);
|
|
22096
22097
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22097
22098
|
const options = models.map(modelOption);
|
|
@@ -22134,7 +22135,7 @@ function ModelTokenExchange({
|
|
|
22134
22135
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22135
22136
|
size: "small",
|
|
22136
22137
|
onClick: () => setChosen(preset.tokens),
|
|
22137
|
-
children: copy.buy.preset(
|
|
22138
|
+
children: copy.buy.preset(_chunkVUHPWSAEcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22138
22139
|
},
|
|
22139
22140
|
preset.label
|
|
22140
22141
|
)) })
|
|
@@ -22151,7 +22152,7 @@ function ModelTokenExchange({
|
|
|
22151
22152
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _466 => _466.providerType]) === providerType ? rate : null)));
|
|
22152
22153
|
return {
|
|
22153
22154
|
id: providerType,
|
|
22154
|
-
name:
|
|
22155
|
+
name: _chunkVUHPWSAEcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _467 => _467.providerLabel])),
|
|
22155
22156
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _468 => _468.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22156
22157
|
};
|
|
22157
22158
|
}),
|
|
@@ -22190,7 +22191,7 @@ function ModelTokenExchange({
|
|
|
22190
22191
|
{
|
|
22191
22192
|
size: "plain",
|
|
22192
22193
|
loading,
|
|
22193
|
-
figure:
|
|
22194
|
+
figure: _chunkVUHPWSAEcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _473 => _473.inputTokenRate])),
|
|
22194
22195
|
words: copy.charge.input
|
|
22195
22196
|
}
|
|
22196
22197
|
),
|
|
@@ -22199,7 +22200,7 @@ function ModelTokenExchange({
|
|
|
22199
22200
|
{
|
|
22200
22201
|
size: "plain",
|
|
22201
22202
|
loading,
|
|
22202
|
-
figure:
|
|
22203
|
+
figure: _chunkVUHPWSAEcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _474 => _474.outputTokenRate])),
|
|
22203
22204
|
words: copy.charge.output
|
|
22204
22205
|
}
|
|
22205
22206
|
)
|
|
@@ -22211,9 +22212,9 @@ function ModelTokenExchange({
|
|
|
22211
22212
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22212
22213
|
children: [
|
|
22213
22214
|
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22214
|
-
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22215
|
+
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkVUHPWSAEcjs.formatTokenAmount.call(void 0, _chunkVUHPWSAEcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22215
22216
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22216
|
-
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22217
|
+
/* @__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, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkVUHPWSAEcjs.formatTokenAmount.call(void 0, _chunkVUHPWSAEcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22217
22218
|
]
|
|
22218
22219
|
}
|
|
22219
22220
|
)
|
|
@@ -22760,14 +22761,14 @@ var ConfidenceBadge = ({
|
|
|
22760
22761
|
size = "sm",
|
|
22761
22762
|
className
|
|
22762
22763
|
}) => {
|
|
22763
|
-
const level =
|
|
22764
|
+
const level = _chunkVUHPWSAEcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22764
22765
|
if (level === "none") {
|
|
22765
22766
|
return null;
|
|
22766
22767
|
}
|
|
22767
|
-
const label =
|
|
22768
|
-
const borderClass =
|
|
22769
|
-
const textClass =
|
|
22770
|
-
const bgClass =
|
|
22768
|
+
const label = _chunkVUHPWSAEcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22769
|
+
const borderClass = _chunkVUHPWSAEcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22770
|
+
const textClass = _chunkVUHPWSAEcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22771
|
+
const bgClass = _chunkVUHPWSAEcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22771
22772
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22772
22773
|
"span",
|
|
22773
22774
|
{
|
|
@@ -22818,9 +22819,9 @@ function SEOEditorPreview({
|
|
|
22818
22819
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22819
22820
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22820
22821
|
const seoTitleLength = (seoTitle || "").length;
|
|
22821
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22822
|
+
const seoTitleTooLong = seoTitleLength > _chunkVUHPWSAEcjs.SEO_TITLE_MAX_LENGTH;
|
|
22822
22823
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22823
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22824
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkVUHPWSAEcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22824
22825
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22825
22826
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22826
22827
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22845,10 +22846,10 @@ function SEOEditorPreview({
|
|
|
22845
22846
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22846
22847
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22847
22848
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22848
|
-
|
|
22849
|
+
_chunkVUHPWSAEcjs.Field,
|
|
22849
22850
|
{
|
|
22850
22851
|
label: "SEO Title",
|
|
22851
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22852
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkVUHPWSAEcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22852
22853
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22853
22854
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22854
22855
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22863,7 +22864,7 @@ function SEOEditorPreview({
|
|
|
22863
22864
|
children: [
|
|
22864
22865
|
seoTitleLength,
|
|
22865
22866
|
"/",
|
|
22866
|
-
|
|
22867
|
+
_chunkVUHPWSAEcjs.SEO_TITLE_MAX_LENGTH
|
|
22867
22868
|
]
|
|
22868
22869
|
}
|
|
22869
22870
|
),
|
|
@@ -22874,7 +22875,7 @@ function SEOEditorPreview({
|
|
|
22874
22875
|
value: seoTitle || "",
|
|
22875
22876
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22876
22877
|
disabled,
|
|
22877
|
-
maxLength:
|
|
22878
|
+
maxLength: _chunkVUHPWSAEcjs.SEO_TITLE_MAX_LENGTH,
|
|
22878
22879
|
invalid: seoTitleTooLong,
|
|
22879
22880
|
placeholder: "Enter SEO meta title...",
|
|
22880
22881
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22885,7 +22886,7 @@ function SEOEditorPreview({
|
|
|
22885
22886
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22886
22887
|
] }),
|
|
22887
22888
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22888
|
-
|
|
22889
|
+
_chunkVUHPWSAEcjs.Field,
|
|
22889
22890
|
{
|
|
22890
22891
|
label: "SEO Keywords",
|
|
22891
22892
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22917,10 +22918,10 @@ function SEOEditorPreview({
|
|
|
22917
22918
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22918
22919
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22919
22920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22920
|
-
|
|
22921
|
+
_chunkVUHPWSAEcjs.Field,
|
|
22921
22922
|
{
|
|
22922
22923
|
label: "SEO Description",
|
|
22923
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22924
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkVUHPWSAEcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22924
22925
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22925
22926
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22926
22927
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22943,7 +22944,7 @@ function SEOEditorPreview({
|
|
|
22943
22944
|
children: [
|
|
22944
22945
|
seoDescriptionLength,
|
|
22945
22946
|
"/",
|
|
22946
|
-
|
|
22947
|
+
_chunkVUHPWSAEcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22947
22948
|
]
|
|
22948
22949
|
}
|
|
22949
22950
|
),
|
|
@@ -22954,7 +22955,7 @@ function SEOEditorPreview({
|
|
|
22954
22955
|
value: seoDescription || "",
|
|
22955
22956
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22956
22957
|
disabled,
|
|
22957
|
-
maxLength:
|
|
22958
|
+
maxLength: _chunkVUHPWSAEcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22958
22959
|
invalid: seoDescriptionTooLong,
|
|
22959
22960
|
placeholder: "Enter SEO meta description...",
|
|
22960
22961
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23023,7 +23024,7 @@ function SEOEditorPreview({
|
|
|
23023
23024
|
{
|
|
23024
23025
|
ref: setFileInputRef,
|
|
23025
23026
|
type: "file",
|
|
23026
|
-
accept:
|
|
23027
|
+
accept: _chunkFIKIPO4Fcjs.IMAGE_FILE_ACCEPT,
|
|
23027
23028
|
onChange: handleImageUpload,
|
|
23028
23029
|
className: "hidden",
|
|
23029
23030
|
disabled: disabled || isUploading
|
|
@@ -23107,7 +23108,7 @@ function socialIcon(platform) {
|
|
|
23107
23108
|
return _nullishCoalesce(_chunk5RGGUQ4Ycjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23108
23109
|
}
|
|
23109
23110
|
function renderSocialIcon(platform) {
|
|
23110
|
-
const key = _nullishCoalesce(
|
|
23111
|
+
const key = _nullishCoalesce(_chunkVUHPWSAEcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23111
23112
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23112
23113
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23113
23114
|
}
|
|
@@ -23198,7 +23199,7 @@ function SocialLinksManager({
|
|
|
23198
23199
|
};
|
|
23199
23200
|
const getIcon = (link, platform) => {
|
|
23200
23201
|
const iconKey = _optionalChain([platform, 'optionalAccess', _484 => _484.icon_name]) || link.platform;
|
|
23201
|
-
const key =
|
|
23202
|
+
const key = _chunkVUHPWSAEcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23202
23203
|
if (!key) return null;
|
|
23203
23204
|
const icon = socialIcon(key);
|
|
23204
23205
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23666,7 +23667,7 @@ function VideoBitesDisplay({
|
|
|
23666
23667
|
filterPublished = true,
|
|
23667
23668
|
showTitle = true
|
|
23668
23669
|
}) {
|
|
23669
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23670
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkND7ECICKcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23670
23671
|
}
|
|
23671
23672
|
|
|
23672
23673
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23696,7 +23697,7 @@ function WalkthroughVideo({
|
|
|
23696
23697
|
onOpenChange,
|
|
23697
23698
|
defaultOpen,
|
|
23698
23699
|
defaultOpenPaused,
|
|
23699
|
-
deepLinkParam =
|
|
23700
|
+
deepLinkParam = _chunkVUHPWSAEcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23700
23701
|
autoPlayCard = false,
|
|
23701
23702
|
label = "Play Demo Video",
|
|
23702
23703
|
placement,
|
|
@@ -23713,7 +23714,7 @@ function WalkthroughVideo({
|
|
|
23713
23714
|
const inline = placement === "inline";
|
|
23714
23715
|
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
23715
23716
|
const dismissEnabled = dismissal !== false;
|
|
23716
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23717
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkVUHPWSAEcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23717
23718
|
const dismissalId = _optionalChain([video, 'optionalAccess', _490 => _490.id]) != null ? String(video.id) : "dismissed";
|
|
23718
23719
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23719
23720
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23725,7 +23726,7 @@ function WalkthroughVideo({
|
|
|
23725
23726
|
let delayElapsed = false;
|
|
23726
23727
|
let interacted = inline;
|
|
23727
23728
|
const reveal = () => {
|
|
23728
|
-
if (dismissEnabled &&
|
|
23729
|
+
if (dismissEnabled && _chunkVUHPWSAEcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23729
23730
|
setDismissed(true);
|
|
23730
23731
|
return;
|
|
23731
23732
|
}
|
|
@@ -23762,7 +23763,7 @@ function WalkthroughVideo({
|
|
|
23762
23763
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23763
23764
|
};
|
|
23764
23765
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23765
|
-
const hydrated =
|
|
23766
|
+
const hydrated = _chunkND7ECICKcjs.useIsHydrated.call(void 0, );
|
|
23766
23767
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23767
23768
|
if (!hydrated) return false;
|
|
23768
23769
|
try {
|
|
@@ -24012,7 +24013,7 @@ function WalkthroughVideo({
|
|
|
24012
24013
|
(e) => {
|
|
24013
24014
|
e.stopPropagation();
|
|
24014
24015
|
pausePreviewNow();
|
|
24015
|
-
if (dismissEnabled)
|
|
24016
|
+
if (dismissEnabled) _chunkVUHPWSAEcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24016
24017
|
setDismissed(true);
|
|
24017
24018
|
},
|
|
24018
24019
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24187,7 +24188,7 @@ function WalkthroughVideo({
|
|
|
24187
24188
|
`card-${embedUrlKey}`
|
|
24188
24189
|
) }),
|
|
24189
24190
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24190
|
-
|
|
24191
|
+
_chunkND7ECICKcjs.CardHitLayer,
|
|
24191
24192
|
{
|
|
24192
24193
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24193
24194
|
onPointerDown: pausePreviewNow,
|
|
@@ -24359,7 +24360,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24359
24360
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24360
24361
|
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
24361
24362
|
const enabled = enabledGiven && !inScope;
|
|
24362
|
-
const captions =
|
|
24363
|
+
const captions = _chunkND7ECICKcjs.useCaptions.call(void 0, );
|
|
24363
24364
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24364
24365
|
queryKey: ["walkthrough-video", endpoint],
|
|
24365
24366
|
enabled,
|
|
@@ -25110,7 +25111,7 @@ function HighlightConfigSection({
|
|
|
25110
25111
|
disabled = false,
|
|
25111
25112
|
className = ""
|
|
25112
25113
|
}) {
|
|
25113
|
-
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,
|
|
25114
|
+
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, _chunkVUHPWSAEcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25114
25115
|
_chunkE56LN23Hcjs.Select,
|
|
25115
25116
|
{
|
|
25116
25117
|
value: targetDurationSeconds.toString(),
|
|
@@ -25211,7 +25212,7 @@ var AIStatusIndicator = ({
|
|
|
25211
25212
|
}) => {
|
|
25212
25213
|
const config = statusConfig[status];
|
|
25213
25214
|
const displayText = message || config.label;
|
|
25214
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25215
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkVUHPWSAEcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25215
25216
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25216
25217
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25217
25218
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25219,7 +25220,7 @@ var AIStatusIndicator = ({
|
|
|
25219
25220
|
size: 16,
|
|
25220
25221
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25221
25222
|
status === "loading" && _chunk4WIJI4AKcjs.LIVE_PULSE_CLASS,
|
|
25222
|
-
confidence !== void 0 && status === "success" ?
|
|
25223
|
+
confidence !== void 0 && status === "success" ? _chunkVUHPWSAEcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25223
25224
|
)
|
|
25224
25225
|
}
|
|
25225
25226
|
),
|
|
@@ -25228,7 +25229,7 @@ var AIStatusIndicator = ({
|
|
|
25228
25229
|
{
|
|
25229
25230
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25230
25231
|
"text-h6",
|
|
25231
|
-
confidence !== void 0 && status === "success" ?
|
|
25232
|
+
confidence !== void 0 && status === "success" ? _chunkVUHPWSAEcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25232
25233
|
),
|
|
25233
25234
|
children: displayText
|
|
25234
25235
|
}
|
|
@@ -25238,8 +25239,8 @@ var AIStatusIndicator = ({
|
|
|
25238
25239
|
{
|
|
25239
25240
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25240
25241
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25241
|
-
|
|
25242
|
-
|
|
25242
|
+
_chunkVUHPWSAEcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25243
|
+
_chunkVUHPWSAEcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25243
25244
|
),
|
|
25244
25245
|
children: confidenceLabel
|
|
25245
25246
|
}
|
|
@@ -26119,7 +26120,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26119
26120
|
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,
|
|
26120
26121
|
_chunkAHBTZ7DNcjs.Button,
|
|
26121
26122
|
{
|
|
26122
|
-
onClick: loading ? void 0 :
|
|
26123
|
+
onClick: loading ? void 0 : _chunkVUHPWSAEcjs.openInNewTab.call(void 0, href),
|
|
26123
26124
|
disabled: loading,
|
|
26124
26125
|
variant: "outline",
|
|
26125
26126
|
size: "icon",
|
|
@@ -26493,7 +26494,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26493
26494
|
/* @__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,
|
|
26494
26495
|
_chunkAHBTZ7DNcjs.Button,
|
|
26495
26496
|
{
|
|
26496
|
-
onClick: loading ? void 0 :
|
|
26497
|
+
onClick: loading ? void 0 : _chunkVUHPWSAEcjs.openInNewTab.call(void 0, href),
|
|
26497
26498
|
disabled: loading,
|
|
26498
26499
|
variant: "outline",
|
|
26499
26500
|
size: "icon",
|
|
@@ -26628,7 +26629,7 @@ function WaitlistForm({
|
|
|
26628
26629
|
const { toast } = _chunkBWR5ACK3cjs.useToast.call(void 0, );
|
|
26629
26630
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkBWR5ACK3cjs.useHumanitySignals.call(void 0, );
|
|
26630
26631
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26631
|
-
const isClient =
|
|
26632
|
+
const isClient = _chunkND7ECICKcjs.useIsHydrated.call(void 0, );
|
|
26632
26633
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26633
26634
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26634
26635
|
const rescue = _chunkBWR5ACK3cjs.useFormRescue.call(void 0, {
|
|
@@ -26643,7 +26644,7 @@ function WaitlistForm({
|
|
|
26643
26644
|
_react.useEffect.call(void 0, () => {
|
|
26644
26645
|
rescue.track({ email, phone }, null);
|
|
26645
26646
|
}, [email, phone, rescue]);
|
|
26646
|
-
const isMailDomainGeneric =
|
|
26647
|
+
const isMailDomainGeneric = _chunkVUHPWSAEcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26647
26648
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26648
26649
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26649
26650
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26677,7 +26678,7 @@ function WaitlistForm({
|
|
|
26677
26678
|
setShowConsentError(true);
|
|
26678
26679
|
return;
|
|
26679
26680
|
}
|
|
26680
|
-
const finalPhone = phone ?
|
|
26681
|
+
const finalPhone = phone ? _chunkVUHPWSAEcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26681
26682
|
try {
|
|
26682
26683
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26683
26684
|
rescue.complete();
|
|
@@ -28832,7 +28833,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28832
28833
|
}
|
|
28833
28834
|
}
|
|
28834
28835
|
function getDeviceOperatingSystem(osType) {
|
|
28835
|
-
return
|
|
28836
|
+
return _chunkVUHPWSAEcjs.getOSPlatformId.call(void 0, osType);
|
|
28836
28837
|
}
|
|
28837
28838
|
|
|
28838
28839
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30407,7 +30408,7 @@ function DevicesPanelView({
|
|
|
30407
30408
|
actionsVariant: "icon-buttons",
|
|
30408
30409
|
className,
|
|
30409
30410
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30410
|
-
|
|
30411
|
+
_chunkND7ECICKcjs.TabSelector,
|
|
30411
30412
|
{
|
|
30412
30413
|
value: viewMode,
|
|
30413
30414
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _671 => _671(value)]),
|
|
@@ -30942,11 +30943,11 @@ var ToolBadge = ({
|
|
|
30942
30943
|
iconClassName
|
|
30943
30944
|
}) => {
|
|
30944
30945
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
30945
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30946
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkVUHPWSAEcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30946
30947
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHATRCNXJcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30947
30948
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30948
30949
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30949
|
-
|
|
30950
|
+
_chunkND7ECICKcjs.NavLinkAnchorViaRuntime,
|
|
30950
30951
|
{
|
|
30951
30952
|
href,
|
|
30952
30953
|
targetPlatform,
|
|
@@ -31096,7 +31097,7 @@ function LogsTableView({
|
|
|
31096
31097
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31097
31098
|
ToolBadge,
|
|
31098
31099
|
{
|
|
31099
|
-
toolType:
|
|
31100
|
+
toolType: _chunkVUHPWSAEcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31100
31101
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31101
31102
|
}
|
|
31102
31103
|
),
|
|
@@ -31108,7 +31109,7 @@ function LogsTableView({
|
|
|
31108
31109
|
filter: {
|
|
31109
31110
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _679 => _679.toolTypes, 'access', _680 => _680.map, 'call', _681 => _681((toolType) => ({
|
|
31110
31111
|
id: toolType,
|
|
31111
|
-
label:
|
|
31112
|
+
label: _chunkVUHPWSAEcjs.toToolLabel.call(void 0, toolType),
|
|
31112
31113
|
value: toolType
|
|
31113
31114
|
}))]), () => ( []))
|
|
31114
31115
|
}
|
|
@@ -31157,7 +31158,7 @@ function LogsTableView({
|
|
|
31157
31158
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31158
31159
|
LogRowButton,
|
|
31159
31160
|
{
|
|
31160
|
-
onClick: getLogHref ?
|
|
31161
|
+
onClick: getLogHref ? _chunkVUHPWSAEcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31161
31162
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31162
31163
|
label: "Open in new tab"
|
|
31163
31164
|
}
|
|
@@ -31479,7 +31480,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31479
31480
|
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,
|
|
31480
31481
|
_chunkAHBTZ7DNcjs.Button,
|
|
31481
31482
|
{
|
|
31482
|
-
onClick: loading ? void 0 :
|
|
31483
|
+
onClick: loading ? void 0 : _chunkVUHPWSAEcjs.openInNewTab.call(void 0, href),
|
|
31483
31484
|
disabled: loading,
|
|
31484
31485
|
variant: "outline",
|
|
31485
31486
|
size: "icon",
|
|
@@ -31668,9 +31669,9 @@ function ScriptSchedulesTable({
|
|
|
31668
31669
|
|
|
31669
31670
|
// src/components/features/scripts/shell-types.ts
|
|
31670
31671
|
var SCRIPT_SHELL_TYPES = [
|
|
31671
|
-
{ id:
|
|
31672
|
-
{ id:
|
|
31673
|
-
{ id:
|
|
31672
|
+
{ id: _chunkVUHPWSAEcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31673
|
+
{ id: _chunkVUHPWSAEcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31674
|
+
{ id: _chunkVUHPWSAEcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31674
31675
|
];
|
|
31675
31676
|
function scriptShellType(value) {
|
|
31676
31677
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33127,7 +33128,7 @@ function ScheduleFormFields({
|
|
|
33127
33128
|
disabled = false,
|
|
33128
33129
|
renderScriptSearch,
|
|
33129
33130
|
timeReferenceGate = "off",
|
|
33130
|
-
platforms =
|
|
33131
|
+
platforms = _chunkVUHPWSAEcjs.OS_PLATFORMS,
|
|
33131
33132
|
comingSoonPlatforms = [],
|
|
33132
33133
|
getTimeSlots,
|
|
33133
33134
|
nameLayout = "stacked",
|
|
@@ -33273,7 +33274,7 @@ function ScheduleFormFields({
|
|
|
33273
33274
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33274
33275
|
|
|
33275
33276
|
function ScriptPlatformIcons({ platforms }) {
|
|
33276
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33277
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkVUHPWSAEcjs.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)) });
|
|
33277
33278
|
}
|
|
33278
33279
|
function ScheduleScriptSearchField({
|
|
33279
33280
|
scriptId,
|
|
@@ -33346,7 +33347,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33346
33347
|
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,
|
|
33347
33348
|
_chunkAHBTZ7DNcjs.Button,
|
|
33348
33349
|
{
|
|
33349
|
-
onClick: loading ? void 0 :
|
|
33350
|
+
onClick: loading ? void 0 : _chunkVUHPWSAEcjs.openInNewTab.call(void 0, href),
|
|
33350
33351
|
disabled: loading,
|
|
33351
33352
|
variant: "outline",
|
|
33352
33353
|
size: "icon",
|
|
@@ -33697,7 +33698,7 @@ function ConversationCard({
|
|
|
33697
33698
|
style: tint,
|
|
33698
33699
|
onClick: selection && ((event) => {
|
|
33699
33700
|
if (event.button !== 0 || _optionalChain([window, 'access', _745 => _745.getSelection, 'call', _746 => _746(), 'optionalAccess', _747 => _747.toString, 'call', _748 => _748()])) return;
|
|
33700
|
-
if (!
|
|
33701
|
+
if (!_chunkVUHPWSAEcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33701
33702
|
selection.onToggle();
|
|
33702
33703
|
}),
|
|
33703
33704
|
children: [
|
|
@@ -33720,7 +33721,7 @@ function ConversationCard({
|
|
|
33720
33721
|
)
|
|
33721
33722
|
),
|
|
33722
33723
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33723
|
-
|
|
33724
|
+
_chunkVUHPWSAEcjs.ChatTurn,
|
|
33724
33725
|
{
|
|
33725
33726
|
avatar: requester.avatar,
|
|
33726
33727
|
name: requester.name,
|
|
@@ -33741,7 +33742,7 @@ function ConversationCard({
|
|
|
33741
33742
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _749 => _749.context])), children: context.text })
|
|
33742
33743
|
] }),
|
|
33743
33744
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33744
|
-
|
|
33745
|
+
_chunkVUHPWSAEcjs.ChatTurn,
|
|
33745
33746
|
{
|
|
33746
33747
|
avatar: responder.avatar,
|
|
33747
33748
|
name: responder.name,
|
|
@@ -33786,7 +33787,7 @@ function ConversationCardSkeleton({
|
|
|
33786
33787
|
{
|
|
33787
33788
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33788
33789
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33789
|
-
|
|
33790
|
+
_chunkVUHPWSAEcjs.ChatTurn,
|
|
33790
33791
|
{
|
|
33791
33792
|
loading: true,
|
|
33792
33793
|
name: "",
|
|
@@ -33810,7 +33811,7 @@ function ConversationCardSkeleton({
|
|
|
33810
33811
|
] })
|
|
33811
33812
|
] }),
|
|
33812
33813
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33813
|
-
|
|
33814
|
+
_chunkVUHPWSAEcjs.ChatTurn,
|
|
33814
33815
|
{
|
|
33815
33816
|
loading: true,
|
|
33816
33817
|
name: "",
|