@flamingo-stack/openframe-frontend-core 0.0.800 → 0.0.801
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/{chunk-WWWCFNKI.cjs → chunk-237MLBT7.cjs} +48 -48
- package/dist/{chunk-CDLOQCJC.cjs → chunk-3W2PBWD5.cjs} +4 -4
- package/dist/{chunk-IX2D26OR.cjs → chunk-3YPEXJVQ.cjs} +39 -39
- package/dist/{chunk-OEEFUB25.cjs → chunk-7E4BC3AF.cjs} +15 -13
- package/dist/{chunk-CM2UGR4I.cjs → chunk-CJSUMYTH.cjs} +19 -19
- package/dist/{chunk-FCT7VKWG.cjs → chunk-CRVXQYUZ.cjs} +18 -18
- package/dist/{chunk-XAJPXPQ6.cjs → chunk-DYDS2P5G.cjs} +2 -2
- package/dist/{chunk-3C6JR5Z5.cjs → chunk-LEEBFBI4.cjs} +32 -32
- package/dist/{chunk-5LTKE6D3.cjs → chunk-LOCJD7TD.cjs} +10 -10
- package/dist/{chunk-OGUBSDU5.cjs → chunk-PJMLRXAG.cjs} +6 -6
- package/dist/{chunk-KH5DRO4V.cjs → chunk-PY6SPYUR.cjs} +3 -3
- package/dist/{chunk-DUSCG2EO.cjs → chunk-QAUQYQWT.cjs} +4 -4
- package/dist/{chunk-5PDOKPBF.cjs → chunk-QNIUDJAK.cjs} +7 -7
- package/dist/{chunk-LTOSJI6B.cjs → chunk-SHOE6ATQ.cjs} +11 -11
- package/dist/{chunk-PQNRSUQ6.cjs → chunk-THQKEA2T.cjs} +9 -9
- package/dist/{chunk-OUKKLSME.cjs → chunk-XYPNYTCV.cjs} +3 -3
- package/dist/{chunk-S7CBD6KF.cjs → chunk-YUGX72P4.cjs} +53 -53
- package/dist/{chunk-PZVBTLLQ.cjs → chunk-Z66FOMSA.cjs} +105 -105
- package/dist/{cloud-tenants-S3BDIJHM.cjs → cloud-tenants-X7QHAIX2.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
- package/dist/components/chat/chat-context-picker.js +16 -14
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/help-center-pages/index.cjs +61 -61
- package/dist/components/index.cjs +38 -38
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/product-demo/index.cjs +13 -13
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/ui/index.cjs +4 -4
- package/dist/{devices-C6OOVBJK.cjs → devices-VBFYZVVG.cjs} +5 -5
- package/dist/{embeddable-chat-2EBDLEVA.cjs → embeddable-chat-XZDZOHFY.cjs} +59 -59
- package/dist/index.cjs +8 -8
- package/dist/{knowledge-YA5SFLQP.cjs → knowledge-RJZJFD2Y.cjs} +5 -5
- package/dist/loading-standard/engine.d.mts +1 -0
- package/dist/loading-standard/engine.d.mts.map +1 -1
- package/dist/loading-standard/rule-examples.d.mts.map +1 -1
- package/dist/{logs-LQX2CNVB.cjs → logs-3WZ4GROE.cjs} +12 -12
- package/dist/{policies-LWAUO6NR.cjs → policies-E6WQEXDF.cjs} +8 -8
- package/dist/{scripts-W46RQ64X.cjs → scripts-JLCM42F4.cjs} +9 -9
- package/dist/{software-update-OVR26DUF.cjs → software-update-BVBHAROC.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/chat/chat-context-picker.tsx +30 -16
- package/src/loading-standard/engine.mjs +49 -2
- package/src/loading-standard/rule-examples.mjs +35 -3
|
@@ -107,7 +107,7 @@ var _chunkYR74H7Z3cjs = require('./chunk-YR74H7Z3.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _chunkCRVXQYUZcjs = require('./chunk-CRVXQYUZ.cjs');
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
|
|
@@ -127,7 +127,7 @@ var _chunkFCT7VKWGcjs = require('./chunk-FCT7VKWG.cjs');
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _chunk7E4BC3AFcjs = require('./chunk-7E4BC3AF.cjs');
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
@@ -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 = _chunk7E4BC3AFcjs.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
|
+
..._chunkCRVXQYUZcjs.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
|
+
..._chunkCRVXQYUZcjs.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();
|
|
@@ -6047,7 +6047,7 @@ function EmbedViewerFrame({
|
|
|
6047
6047
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6048
6048
|
_react.useEffect.call(void 0, () => {
|
|
6049
6049
|
if (!fullscreenControl) return void 0;
|
|
6050
|
-
const controller = new (0,
|
|
6050
|
+
const controller = new (0, _chunkCRVXQYUZcjs.FullscreenSwitchController)({
|
|
6051
6051
|
target: () => frameRef.current,
|
|
6052
6052
|
onFullscreenChange: setIsFullscreen
|
|
6053
6053
|
});
|
|
@@ -7286,7 +7286,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7286
7286
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7287
7287
|
};
|
|
7288
7288
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7289
|
-
const postLinkRel =
|
|
7289
|
+
const postLinkRel = _chunk7E4BC3AFcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7290
7290
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7291
7291
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7292
7292
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7618,7 +7618,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7618
7618
|
] });
|
|
7619
7619
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7620
7620
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7621
|
-
const postLinkRel =
|
|
7621
|
+
const postLinkRel = _chunk7E4BC3AFcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7622
7622
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7623
7623
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7624
7624
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7820,7 +7820,7 @@ function buildRichEmbedOverrides({
|
|
|
7820
7820
|
ogEndpointPath,
|
|
7821
7821
|
textSizes
|
|
7822
7822
|
}) {
|
|
7823
|
-
const standard =
|
|
7823
|
+
const standard = _chunk7E4BC3AFcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7824
7824
|
return {
|
|
7825
7825
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7826
7826
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7956,14 +7956,14 @@ function buildRichEmbedOverrides({
|
|
|
7956
7956
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7957
7957
|
// elsewhere). Guard against empty `![]()`.
|
|
7958
7958
|
img: ({ src, alt }) => {
|
|
7959
|
-
if (!
|
|
7959
|
+
if (!_chunk7E4BC3AFcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7960
7960
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7961
7961
|
},
|
|
7962
7962
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7963
7963
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7964
7964
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7965
7965
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7966
|
-
if (!
|
|
7966
|
+
if (!_chunk7E4BC3AFcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7967
7967
|
const url = src.trim();
|
|
7968
7968
|
if (_chunkYBTORXFYcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.Video, { kind: "youtube", url });
|
|
7969
7969
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
@@ -7971,7 +7971,7 @@ function buildRichEmbedOverrides({
|
|
|
7971
7971
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7972
7972
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7973
7973
|
video: ({ src, poster, className }) => {
|
|
7974
|
-
if (!
|
|
7974
|
+
if (!_chunk7E4BC3AFcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7975
7975
|
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 }) }) });
|
|
7976
7976
|
}
|
|
7977
7977
|
};
|
|
@@ -8080,7 +8080,7 @@ var processShortcodes = (content) => {
|
|
|
8080
8080
|
try {
|
|
8081
8081
|
const urlObj = new URL(url);
|
|
8082
8082
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8083
|
-
const hostIs = (domain) =>
|
|
8083
|
+
const hostIs = (domain) => _chunkCRVXQYUZcjs.hostMatches.call(void 0, hostname, domain);
|
|
8084
8084
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8085
8085
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8086
8086
|
return match;
|
|
@@ -8157,13 +8157,13 @@ var RichMarkdownInner = ({
|
|
|
8157
8157
|
},
|
|
8158
8158
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8159
8159
|
);
|
|
8160
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8160
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunk7E4BC3AFcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8161
8161
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8162
8162
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8163
8163
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8164
8164
|
);
|
|
8165
8165
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8166
|
-
|
|
8166
|
+
_chunk7E4BC3AFcjs.MarkdownEngine,
|
|
8167
8167
|
{
|
|
8168
8168
|
content,
|
|
8169
8169
|
className,
|
|
@@ -8187,7 +8187,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8187
8187
|
className = "",
|
|
8188
8188
|
sectionIds,
|
|
8189
8189
|
onInternalLinkClick,
|
|
8190
|
-
brokenLinks =
|
|
8190
|
+
brokenLinks = _chunk7E4BC3AFcjs.NO_BROKEN_LINKS,
|
|
8191
8191
|
currentPath,
|
|
8192
8192
|
resolveSource = "openframe-docs",
|
|
8193
8193
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9959,7 +9959,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9959
9959
|
|
|
9960
9960
|
|
|
9961
9961
|
function PlatformBrowseButton({ item }) {
|
|
9962
|
-
const linkProps =
|
|
9962
|
+
const linkProps = _chunk7E4BC3AFcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9963
9963
|
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: [
|
|
9964
9964
|
"Browse ",
|
|
9965
9965
|
item.buttonText
|
|
@@ -10478,10 +10478,10 @@ var OSTypeBadge = ({
|
|
|
10478
10478
|
if (!osType) {
|
|
10479
10479
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10480
10480
|
}
|
|
10481
|
-
const normalized =
|
|
10481
|
+
const normalized = _chunkCRVXQYUZcjs.normalizeOSType.call(void 0, osType);
|
|
10482
10482
|
if (!normalized && !labelOnly) return null;
|
|
10483
|
-
const label =
|
|
10484
|
-
const IconComponent =
|
|
10483
|
+
const label = _chunkCRVXQYUZcjs.getOSLabel.call(void 0, osType);
|
|
10484
|
+
const IconComponent = _chunkCRVXQYUZcjs.getOSIcon.call(void 0, osType);
|
|
10485
10485
|
if (iconOnly && IconComponent) {
|
|
10486
10486
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk7JWFMAQBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10487
10487
|
}
|
|
@@ -10777,7 +10777,7 @@ function ComplianceLogo({
|
|
|
10777
10777
|
fallback = null,
|
|
10778
10778
|
className
|
|
10779
10779
|
}) {
|
|
10780
|
-
const standard =
|
|
10780
|
+
const standard = _chunkCRVXQYUZcjs.complianceStandardForName.call(void 0, ...names);
|
|
10781
10781
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10782
10782
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10783
10783
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12818,7 +12818,7 @@ function DataTableRowImpl({
|
|
|
12818
12818
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12819
12819
|
const handleClick = _react.useCallback.call(void 0,
|
|
12820
12820
|
(e) => {
|
|
12821
|
-
if (!
|
|
12821
|
+
if (!_chunkCRVXQYUZcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12822
12822
|
if (isLinkMode) e.preventDefault();
|
|
12823
12823
|
return;
|
|
12824
12824
|
}
|
|
@@ -12832,7 +12832,7 @@ function DataTableRowImpl({
|
|
|
12832
12832
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _222 => _222.contains, 'call', _223 => _223(target)])) return;
|
|
12833
12833
|
const nestedLink = target.closest("a");
|
|
12834
12834
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12835
|
-
if (!
|
|
12835
|
+
if (!_chunkCRVXQYUZcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12836
12836
|
}, []);
|
|
12837
12837
|
const containerClassName = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
12838
12838
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12961,7 +12961,7 @@ function DataTableBody({
|
|
|
12961
12961
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12962
12962
|
if (loading && loadingCells && hasRows) {
|
|
12963
12963
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12964
|
-
|
|
12964
|
+
_chunk7E4BC3AFcjs.LoadingFallback,
|
|
12965
12965
|
{
|
|
12966
12966
|
label: "Loading results",
|
|
12967
12967
|
status: loadingRegion && !inScope,
|
|
@@ -13309,7 +13309,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13309
13309
|
// child of the cell.
|
|
13310
13310
|
_optionalChain([meta, 'optionalAccess', _241 => _241.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13311
13311
|
filterTrigger,
|
|
13312
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13312
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCRVXQYUZcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13313
13313
|
] }) : filterTrigger
|
|
13314
13314
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13315
13315
|
"div",
|
|
@@ -13334,7 +13334,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13334
13334
|
// centred on the row.
|
|
13335
13335
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13336
13336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCRVXQYUZcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13338
13338
|
] })
|
|
13339
13339
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13340
13340
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13573,7 +13573,7 @@ function PhoneInput({
|
|
|
13573
13573
|
placeholder = "Phone Number (optional)",
|
|
13574
13574
|
onKeyDown
|
|
13575
13575
|
}) {
|
|
13576
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13576
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkCRVXQYUZcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13577
13577
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13578
13578
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13579
13579
|
[countryCode, priority, others]
|
|
@@ -13588,7 +13588,7 @@ function PhoneInput({
|
|
|
13588
13588
|
_optionalChain([onValidationChange, 'optionalCall', _258 => _258(false)]);
|
|
13589
13589
|
return;
|
|
13590
13590
|
}
|
|
13591
|
-
const invalid = !
|
|
13591
|
+
const invalid = !_chunkCRVXQYUZcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13592
13592
|
setIsInvalid(invalid);
|
|
13593
13593
|
_optionalChain([onValidationChange, 'optionalCall', _259 => _259(invalid)]);
|
|
13594
13594
|
},
|
|
@@ -14447,7 +14447,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14447
14447
|
),
|
|
14448
14448
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14449
14449
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14450
|
-
|
|
14450
|
+
_chunk7E4BC3AFcjs.TabSelector,
|
|
14451
14451
|
{
|
|
14452
14452
|
label: "Search engines",
|
|
14453
14453
|
value: choice,
|
|
@@ -14504,7 +14504,7 @@ function useMarkdownLinkCommand() {
|
|
|
14504
14504
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14505
14505
|
icon: command.icon,
|
|
14506
14506
|
execute: (state, api) => {
|
|
14507
|
-
const existing =
|
|
14507
|
+
const existing = _chunk7E4BC3AFcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14508
14508
|
setPending(
|
|
14509
14509
|
existing ? {
|
|
14510
14510
|
api,
|
|
@@ -14535,7 +14535,7 @@ function useMarkdownLinkCommand() {
|
|
|
14535
14535
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _316 => _316.initial]), () => ( EMPTY_LINK)),
|
|
14536
14536
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _317 => _317.editing]), () => ( false)),
|
|
14537
14537
|
onSubmit: (link) => {
|
|
14538
|
-
if (pending) write(pending,
|
|
14538
|
+
if (pending) write(pending, _chunk7E4BC3AFcjs.formatMarkdownLink.call(void 0, link));
|
|
14539
14539
|
},
|
|
14540
14540
|
onRemove: () => {
|
|
14541
14541
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -16414,7 +16414,7 @@ function TicketInfoSection({
|
|
|
16414
16414
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16415
16415
|
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" }) }),
|
|
16416
16416
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16417
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16417
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7E4BC3AFcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16418
16418
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16419
16419
|
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)) }) }),
|
|
16420
16420
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16899,7 +16899,7 @@ function PhotoWall({
|
|
|
16899
16899
|
gap: COLUMN_GAP_PX
|
|
16900
16900
|
};
|
|
16901
16901
|
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,
|
|
16902
|
-
|
|
16902
|
+
_chunk7E4BC3AFcjs.MarqueeWall,
|
|
16903
16903
|
{
|
|
16904
16904
|
axis: "y",
|
|
16905
16905
|
reverse: index % 2 === 1,
|
|
@@ -17459,7 +17459,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17459
17459
|
};
|
|
17460
17460
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17461
17461
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17462
|
-
const labels =
|
|
17462
|
+
const labels = _chunkCRVXQYUZcjs.trialLabels.call(void 0, trialDays);
|
|
17463
17463
|
return terms.flatMap((term) => {
|
|
17464
17464
|
const label = labels[term];
|
|
17465
17465
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -21890,7 +21890,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21890
21890
|
empty: "No token rates are in effect right now."
|
|
21891
21891
|
};
|
|
21892
21892
|
function providerMark(providerType, stated, className) {
|
|
21893
|
-
const Mark = _chunk5RGGUQ4Ycjs.findIcon.call(void 0,
|
|
21893
|
+
const Mark = _chunk5RGGUQ4Ycjs.findIcon.call(void 0, _chunkCRVXQYUZcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21894
21894
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21895
21895
|
}
|
|
21896
21896
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21908,7 +21908,7 @@ var UNIT_LINE_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
|
21908
21908
|
var TABS_ROW_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21909
21909
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21910
21910
|
function useProviderGroup(rates) {
|
|
21911
|
-
const groups =
|
|
21911
|
+
const groups = _chunkCRVXQYUZcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21912
21912
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21913
21913
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21914
21914
|
}
|
|
@@ -21919,7 +21919,7 @@ function ProviderTabs({
|
|
|
21919
21919
|
className
|
|
21920
21920
|
}) {
|
|
21921
21921
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21922
|
-
|
|
21922
|
+
_chunk7E4BC3AFcjs.TabSelector,
|
|
21923
21923
|
{
|
|
21924
21924
|
variant: "secondary",
|
|
21925
21925
|
scrollable: true,
|
|
@@ -21927,7 +21927,7 @@ function ProviderTabs({
|
|
|
21927
21927
|
onValueChange,
|
|
21928
21928
|
items: groups.map((candidate) => ({
|
|
21929
21929
|
id: candidate.providerType,
|
|
21930
|
-
label:
|
|
21930
|
+
label: _chunkCRVXQYUZcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _459 => _459.rates, 'access', _460 => _460[0], 'optionalAccess', _461 => _461.providerLabel])),
|
|
21931
21931
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerIcon]), "size-full")
|
|
21932
21932
|
})),
|
|
21933
21933
|
className
|
|
@@ -22004,8 +22004,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22004
22004
|
] }),
|
|
22005
22005
|
/* @__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: [
|
|
22006
22006
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22007
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22008
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22007
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkCRVXQYUZcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22008
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkCRVXQYUZcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22009
22009
|
] }, rate.modelName)) })
|
|
22010
22010
|
] }),
|
|
22011
22011
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22052,7 +22052,7 @@ function modelOption(rate) {
|
|
|
22052
22052
|
return {
|
|
22053
22053
|
label: rate.displayName || rate.modelName,
|
|
22054
22054
|
value: rate.modelName,
|
|
22055
|
-
description:
|
|
22055
|
+
description: _chunkCRVXQYUZcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22056
22056
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22057
22057
|
};
|
|
22058
22058
|
}
|
|
@@ -22107,8 +22107,8 @@ function ModelTokenExchange({
|
|
|
22107
22107
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22108
22108
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _465 => _465.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22109
22109
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22110
|
-
const tokens =
|
|
22111
|
-
const cost =
|
|
22110
|
+
const tokens = _chunkCRVXQYUZcjs.formatTokenAmount.call(void 0, balance);
|
|
22111
|
+
const cost = _chunkCRVXQYUZcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22112
22112
|
const balancePrice = cost === null ? null : _chunk6UKH22NQcjs.formatPrice.call(void 0, cost);
|
|
22113
22113
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22114
22114
|
const options = models.map(modelOption);
|
|
@@ -22151,7 +22151,7 @@ function ModelTokenExchange({
|
|
|
22151
22151
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22152
22152
|
size: "small",
|
|
22153
22153
|
onClick: () => setChosen(preset.tokens),
|
|
22154
|
-
children: copy.buy.preset(
|
|
22154
|
+
children: copy.buy.preset(_chunkCRVXQYUZcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22155
22155
|
},
|
|
22156
22156
|
preset.label
|
|
22157
22157
|
)) })
|
|
@@ -22168,7 +22168,7 @@ function ModelTokenExchange({
|
|
|
22168
22168
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _466 => _466.providerType]) === providerType ? rate : null)));
|
|
22169
22169
|
return {
|
|
22170
22170
|
id: providerType,
|
|
22171
|
-
name:
|
|
22171
|
+
name: _chunkCRVXQYUZcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _467 => _467.providerLabel])),
|
|
22172
22172
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _468 => _468.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22173
22173
|
};
|
|
22174
22174
|
}),
|
|
@@ -22207,7 +22207,7 @@ function ModelTokenExchange({
|
|
|
22207
22207
|
{
|
|
22208
22208
|
size: "plain",
|
|
22209
22209
|
loading,
|
|
22210
|
-
figure:
|
|
22210
|
+
figure: _chunkCRVXQYUZcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _473 => _473.inputTokenRate])),
|
|
22211
22211
|
words: copy.charge.input
|
|
22212
22212
|
}
|
|
22213
22213
|
),
|
|
@@ -22216,7 +22216,7 @@ function ModelTokenExchange({
|
|
|
22216
22216
|
{
|
|
22217
22217
|
size: "plain",
|
|
22218
22218
|
loading,
|
|
22219
|
-
figure:
|
|
22219
|
+
figure: _chunkCRVXQYUZcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _474 => _474.outputTokenRate])),
|
|
22220
22220
|
words: copy.charge.output
|
|
22221
22221
|
}
|
|
22222
22222
|
)
|
|
@@ -22228,9 +22228,9 @@ function ModelTokenExchange({
|
|
|
22228
22228
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22229
22229
|
children: [
|
|
22230
22230
|
/* @__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) }),
|
|
22231
|
-
/* @__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" }) :
|
|
22231
|
+
/* @__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" }) : _chunkCRVXQYUZcjs.formatTokenAmount.call(void 0, _chunkCRVXQYUZcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22232
22232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22233
|
-
/* @__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(
|
|
22233
|
+
/* @__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(_chunkCRVXQYUZcjs.formatTokenAmount.call(void 0, _chunkCRVXQYUZcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22234
22234
|
]
|
|
22235
22235
|
}
|
|
22236
22236
|
)
|
|
@@ -22777,14 +22777,14 @@ var ConfidenceBadge = ({
|
|
|
22777
22777
|
size = "sm",
|
|
22778
22778
|
className
|
|
22779
22779
|
}) => {
|
|
22780
|
-
const level =
|
|
22780
|
+
const level = _chunkCRVXQYUZcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22781
22781
|
if (level === "none") {
|
|
22782
22782
|
return null;
|
|
22783
22783
|
}
|
|
22784
|
-
const label =
|
|
22785
|
-
const borderClass =
|
|
22786
|
-
const textClass =
|
|
22787
|
-
const bgClass =
|
|
22784
|
+
const label = _chunkCRVXQYUZcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22785
|
+
const borderClass = _chunkCRVXQYUZcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22786
|
+
const textClass = _chunkCRVXQYUZcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22787
|
+
const bgClass = _chunkCRVXQYUZcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22788
22788
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22789
22789
|
"span",
|
|
22790
22790
|
{
|
|
@@ -22835,9 +22835,9 @@ function SEOEditorPreview({
|
|
|
22835
22835
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22836
22836
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22837
22837
|
const seoTitleLength = (seoTitle || "").length;
|
|
22838
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22838
|
+
const seoTitleTooLong = seoTitleLength > _chunkCRVXQYUZcjs.SEO_TITLE_MAX_LENGTH;
|
|
22839
22839
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22840
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22840
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkCRVXQYUZcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22841
22841
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22842
22842
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22843
22843
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22862,10 +22862,10 @@ function SEOEditorPreview({
|
|
|
22862
22862
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22863
22863
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22864
22864
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22865
|
-
|
|
22865
|
+
_chunkCRVXQYUZcjs.Field,
|
|
22866
22866
|
{
|
|
22867
22867
|
label: "SEO Title",
|
|
22868
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22868
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkCRVXQYUZcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22869
22869
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22870
22870
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22871
22871
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22880,7 +22880,7 @@ function SEOEditorPreview({
|
|
|
22880
22880
|
children: [
|
|
22881
22881
|
seoTitleLength,
|
|
22882
22882
|
"/",
|
|
22883
|
-
|
|
22883
|
+
_chunkCRVXQYUZcjs.SEO_TITLE_MAX_LENGTH
|
|
22884
22884
|
]
|
|
22885
22885
|
}
|
|
22886
22886
|
),
|
|
@@ -22891,7 +22891,7 @@ function SEOEditorPreview({
|
|
|
22891
22891
|
value: seoTitle || "",
|
|
22892
22892
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22893
22893
|
disabled,
|
|
22894
|
-
maxLength:
|
|
22894
|
+
maxLength: _chunkCRVXQYUZcjs.SEO_TITLE_MAX_LENGTH,
|
|
22895
22895
|
invalid: seoTitleTooLong,
|
|
22896
22896
|
placeholder: "Enter SEO meta title...",
|
|
22897
22897
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22902,7 +22902,7 @@ function SEOEditorPreview({
|
|
|
22902
22902
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22903
22903
|
] }),
|
|
22904
22904
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22905
|
-
|
|
22905
|
+
_chunkCRVXQYUZcjs.Field,
|
|
22906
22906
|
{
|
|
22907
22907
|
label: "SEO Keywords",
|
|
22908
22908
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22934,10 +22934,10 @@ function SEOEditorPreview({
|
|
|
22934
22934
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22935
22935
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22936
22936
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22937
|
-
|
|
22937
|
+
_chunkCRVXQYUZcjs.Field,
|
|
22938
22938
|
{
|
|
22939
22939
|
label: "SEO Description",
|
|
22940
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22940
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkCRVXQYUZcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22941
22941
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22942
22942
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22943
22943
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22960,7 +22960,7 @@ function SEOEditorPreview({
|
|
|
22960
22960
|
children: [
|
|
22961
22961
|
seoDescriptionLength,
|
|
22962
22962
|
"/",
|
|
22963
|
-
|
|
22963
|
+
_chunkCRVXQYUZcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22964
22964
|
]
|
|
22965
22965
|
}
|
|
22966
22966
|
),
|
|
@@ -22971,7 +22971,7 @@ function SEOEditorPreview({
|
|
|
22971
22971
|
value: seoDescription || "",
|
|
22972
22972
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22973
22973
|
disabled,
|
|
22974
|
-
maxLength:
|
|
22974
|
+
maxLength: _chunkCRVXQYUZcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22975
22975
|
invalid: seoDescriptionTooLong,
|
|
22976
22976
|
placeholder: "Enter SEO meta description...",
|
|
22977
22977
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23124,7 +23124,7 @@ function socialIcon(platform) {
|
|
|
23124
23124
|
return _nullishCoalesce(_chunk5RGGUQ4Ycjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23125
23125
|
}
|
|
23126
23126
|
function renderSocialIcon(platform) {
|
|
23127
|
-
const key = _nullishCoalesce(
|
|
23127
|
+
const key = _nullishCoalesce(_chunkCRVXQYUZcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23128
23128
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23129
23129
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23130
23130
|
}
|
|
@@ -23215,7 +23215,7 @@ function SocialLinksManager({
|
|
|
23215
23215
|
};
|
|
23216
23216
|
const getIcon = (link, platform) => {
|
|
23217
23217
|
const iconKey = _optionalChain([platform, 'optionalAccess', _484 => _484.icon_name]) || link.platform;
|
|
23218
|
-
const key =
|
|
23218
|
+
const key = _chunkCRVXQYUZcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23219
23219
|
if (!key) return null;
|
|
23220
23220
|
const icon = socialIcon(key);
|
|
23221
23221
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23683,7 +23683,7 @@ function VideoBitesDisplay({
|
|
|
23683
23683
|
filterPublished = true,
|
|
23684
23684
|
showTitle = true
|
|
23685
23685
|
}) {
|
|
23686
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23686
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7E4BC3AFcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23687
23687
|
}
|
|
23688
23688
|
|
|
23689
23689
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23713,7 +23713,7 @@ function WalkthroughVideo({
|
|
|
23713
23713
|
onOpenChange,
|
|
23714
23714
|
defaultOpen,
|
|
23715
23715
|
defaultOpenPaused,
|
|
23716
|
-
deepLinkParam =
|
|
23716
|
+
deepLinkParam = _chunkCRVXQYUZcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23717
23717
|
autoPlayCard = false,
|
|
23718
23718
|
label = "Play Demo Video",
|
|
23719
23719
|
placement,
|
|
@@ -23730,7 +23730,7 @@ function WalkthroughVideo({
|
|
|
23730
23730
|
const inline = placement === "inline";
|
|
23731
23731
|
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
23732
23732
|
const dismissEnabled = dismissal !== false;
|
|
23733
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23733
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkCRVXQYUZcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23734
23734
|
const dismissalId = _optionalChain([video, 'optionalAccess', _490 => _490.id]) != null ? String(video.id) : "dismissed";
|
|
23735
23735
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23736
23736
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23742,7 +23742,7 @@ function WalkthroughVideo({
|
|
|
23742
23742
|
let delayElapsed = false;
|
|
23743
23743
|
let interacted = inline;
|
|
23744
23744
|
const reveal = () => {
|
|
23745
|
-
if (dismissEnabled &&
|
|
23745
|
+
if (dismissEnabled && _chunkCRVXQYUZcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23746
23746
|
setDismissed(true);
|
|
23747
23747
|
return;
|
|
23748
23748
|
}
|
|
@@ -23779,7 +23779,7 @@ function WalkthroughVideo({
|
|
|
23779
23779
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23780
23780
|
};
|
|
23781
23781
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23782
|
-
const hydrated =
|
|
23782
|
+
const hydrated = _chunk7E4BC3AFcjs.useIsHydrated.call(void 0, );
|
|
23783
23783
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23784
23784
|
if (!hydrated) return false;
|
|
23785
23785
|
try {
|
|
@@ -24029,7 +24029,7 @@ function WalkthroughVideo({
|
|
|
24029
24029
|
(e) => {
|
|
24030
24030
|
e.stopPropagation();
|
|
24031
24031
|
pausePreviewNow();
|
|
24032
|
-
if (dismissEnabled)
|
|
24032
|
+
if (dismissEnabled) _chunkCRVXQYUZcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24033
24033
|
setDismissed(true);
|
|
24034
24034
|
},
|
|
24035
24035
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24204,7 +24204,7 @@ function WalkthroughVideo({
|
|
|
24204
24204
|
`card-${embedUrlKey}`
|
|
24205
24205
|
) }),
|
|
24206
24206
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24207
|
-
|
|
24207
|
+
_chunk7E4BC3AFcjs.CardHitLayer,
|
|
24208
24208
|
{
|
|
24209
24209
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24210
24210
|
onPointerDown: pausePreviewNow,
|
|
@@ -24376,7 +24376,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24376
24376
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24377
24377
|
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
24378
24378
|
const enabled = enabledGiven && !inScope;
|
|
24379
|
-
const captions =
|
|
24379
|
+
const captions = _chunk7E4BC3AFcjs.useCaptions.call(void 0, );
|
|
24380
24380
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24381
24381
|
queryKey: ["walkthrough-video", endpoint],
|
|
24382
24382
|
enabled,
|
|
@@ -25127,7 +25127,7 @@ function HighlightConfigSection({
|
|
|
25127
25127
|
disabled = false,
|
|
25128
25128
|
className = ""
|
|
25129
25129
|
}) {
|
|
25130
|
-
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,
|
|
25130
|
+
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, _chunkCRVXQYUZcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25131
25131
|
_chunkE56LN23Hcjs.Select,
|
|
25132
25132
|
{
|
|
25133
25133
|
value: targetDurationSeconds.toString(),
|
|
@@ -25228,7 +25228,7 @@ var AIStatusIndicator = ({
|
|
|
25228
25228
|
}) => {
|
|
25229
25229
|
const config = statusConfig[status];
|
|
25230
25230
|
const displayText = message || config.label;
|
|
25231
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25231
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkCRVXQYUZcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25232
25232
|
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: [
|
|
25233
25233
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25234
25234
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25236,7 +25236,7 @@ var AIStatusIndicator = ({
|
|
|
25236
25236
|
size: 16,
|
|
25237
25237
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25238
25238
|
status === "loading" && _chunk4WIJI4AKcjs.LIVE_PULSE_CLASS,
|
|
25239
|
-
confidence !== void 0 && status === "success" ?
|
|
25239
|
+
confidence !== void 0 && status === "success" ? _chunkCRVXQYUZcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25240
25240
|
)
|
|
25241
25241
|
}
|
|
25242
25242
|
),
|
|
@@ -25245,7 +25245,7 @@ var AIStatusIndicator = ({
|
|
|
25245
25245
|
{
|
|
25246
25246
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25247
25247
|
"text-h6",
|
|
25248
|
-
confidence !== void 0 && status === "success" ?
|
|
25248
|
+
confidence !== void 0 && status === "success" ? _chunkCRVXQYUZcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25249
25249
|
),
|
|
25250
25250
|
children: displayText
|
|
25251
25251
|
}
|
|
@@ -25255,8 +25255,8 @@ var AIStatusIndicator = ({
|
|
|
25255
25255
|
{
|
|
25256
25256
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25257
25257
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25258
|
-
|
|
25259
|
-
|
|
25258
|
+
_chunkCRVXQYUZcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25259
|
+
_chunkCRVXQYUZcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25260
25260
|
),
|
|
25261
25261
|
children: confidenceLabel
|
|
25262
25262
|
}
|
|
@@ -26136,7 +26136,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26136
26136
|
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,
|
|
26137
26137
|
_chunkAHBTZ7DNcjs.Button,
|
|
26138
26138
|
{
|
|
26139
|
-
onClick: loading ? void 0 :
|
|
26139
|
+
onClick: loading ? void 0 : _chunkCRVXQYUZcjs.openInNewTab.call(void 0, href),
|
|
26140
26140
|
disabled: loading,
|
|
26141
26141
|
variant: "outline",
|
|
26142
26142
|
size: "icon",
|
|
@@ -26510,7 +26510,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26510
26510
|
/* @__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,
|
|
26511
26511
|
_chunkAHBTZ7DNcjs.Button,
|
|
26512
26512
|
{
|
|
26513
|
-
onClick: loading ? void 0 :
|
|
26513
|
+
onClick: loading ? void 0 : _chunkCRVXQYUZcjs.openInNewTab.call(void 0, href),
|
|
26514
26514
|
disabled: loading,
|
|
26515
26515
|
variant: "outline",
|
|
26516
26516
|
size: "icon",
|
|
@@ -26645,7 +26645,7 @@ function WaitlistForm({
|
|
|
26645
26645
|
const { toast } = _chunkBWR5ACK3cjs.useToast.call(void 0, );
|
|
26646
26646
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkBWR5ACK3cjs.useHumanitySignals.call(void 0, );
|
|
26647
26647
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26648
|
-
const isClient =
|
|
26648
|
+
const isClient = _chunk7E4BC3AFcjs.useIsHydrated.call(void 0, );
|
|
26649
26649
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26650
26650
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26651
26651
|
const rescue = _chunkBWR5ACK3cjs.useFormRescue.call(void 0, {
|
|
@@ -26660,7 +26660,7 @@ function WaitlistForm({
|
|
|
26660
26660
|
_react.useEffect.call(void 0, () => {
|
|
26661
26661
|
rescue.track({ email, phone }, null);
|
|
26662
26662
|
}, [email, phone, rescue]);
|
|
26663
|
-
const isMailDomainGeneric =
|
|
26663
|
+
const isMailDomainGeneric = _chunkCRVXQYUZcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26664
26664
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26665
26665
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26666
26666
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26694,7 +26694,7 @@ function WaitlistForm({
|
|
|
26694
26694
|
setShowConsentError(true);
|
|
26695
26695
|
return;
|
|
26696
26696
|
}
|
|
26697
|
-
const finalPhone = phone ?
|
|
26697
|
+
const finalPhone = phone ? _chunkCRVXQYUZcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26698
26698
|
try {
|
|
26699
26699
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26700
26700
|
rescue.complete();
|
|
@@ -28849,7 +28849,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28849
28849
|
}
|
|
28850
28850
|
}
|
|
28851
28851
|
function getDeviceOperatingSystem(osType) {
|
|
28852
|
-
return
|
|
28852
|
+
return _chunkCRVXQYUZcjs.getOSPlatformId.call(void 0, osType);
|
|
28853
28853
|
}
|
|
28854
28854
|
|
|
28855
28855
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30424,7 +30424,7 @@ function DevicesPanelView({
|
|
|
30424
30424
|
actionsVariant: "icon-buttons",
|
|
30425
30425
|
className,
|
|
30426
30426
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30427
|
-
|
|
30427
|
+
_chunk7E4BC3AFcjs.TabSelector,
|
|
30428
30428
|
{
|
|
30429
30429
|
value: viewMode,
|
|
30430
30430
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _671 => _671(value)]),
|
|
@@ -30959,11 +30959,11 @@ var ToolBadge = ({
|
|
|
30959
30959
|
iconClassName
|
|
30960
30960
|
}) => {
|
|
30961
30961
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
30962
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30962
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkCRVXQYUZcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30963
30963
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHATRCNXJcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30964
30964
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30965
30965
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30966
|
-
|
|
30966
|
+
_chunk7E4BC3AFcjs.NavLinkAnchorViaRuntime,
|
|
30967
30967
|
{
|
|
30968
30968
|
href,
|
|
30969
30969
|
targetPlatform,
|
|
@@ -31113,7 +31113,7 @@ function LogsTableView({
|
|
|
31113
31113
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31114
31114
|
ToolBadge,
|
|
31115
31115
|
{
|
|
31116
|
-
toolType:
|
|
31116
|
+
toolType: _chunkCRVXQYUZcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31117
31117
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31118
31118
|
}
|
|
31119
31119
|
),
|
|
@@ -31125,7 +31125,7 @@ function LogsTableView({
|
|
|
31125
31125
|
filter: {
|
|
31126
31126
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _679 => _679.toolTypes, 'access', _680 => _680.map, 'call', _681 => _681((toolType) => ({
|
|
31127
31127
|
id: toolType,
|
|
31128
|
-
label:
|
|
31128
|
+
label: _chunkCRVXQYUZcjs.toToolLabel.call(void 0, toolType),
|
|
31129
31129
|
value: toolType
|
|
31130
31130
|
}))]), () => ( []))
|
|
31131
31131
|
}
|
|
@@ -31174,7 +31174,7 @@ function LogsTableView({
|
|
|
31174
31174
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31175
31175
|
LogRowButton,
|
|
31176
31176
|
{
|
|
31177
|
-
onClick: getLogHref ?
|
|
31177
|
+
onClick: getLogHref ? _chunkCRVXQYUZcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31178
31178
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31179
31179
|
label: "Open in new tab"
|
|
31180
31180
|
}
|
|
@@ -31496,7 +31496,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31496
31496
|
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,
|
|
31497
31497
|
_chunkAHBTZ7DNcjs.Button,
|
|
31498
31498
|
{
|
|
31499
|
-
onClick: loading ? void 0 :
|
|
31499
|
+
onClick: loading ? void 0 : _chunkCRVXQYUZcjs.openInNewTab.call(void 0, href),
|
|
31500
31500
|
disabled: loading,
|
|
31501
31501
|
variant: "outline",
|
|
31502
31502
|
size: "icon",
|
|
@@ -31685,9 +31685,9 @@ function ScriptSchedulesTable({
|
|
|
31685
31685
|
|
|
31686
31686
|
// src/components/features/scripts/shell-types.ts
|
|
31687
31687
|
var SCRIPT_SHELL_TYPES = [
|
|
31688
|
-
{ id:
|
|
31689
|
-
{ id:
|
|
31690
|
-
{ id:
|
|
31688
|
+
{ id: _chunkCRVXQYUZcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31689
|
+
{ id: _chunkCRVXQYUZcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31690
|
+
{ id: _chunkCRVXQYUZcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31691
31691
|
];
|
|
31692
31692
|
function scriptShellType(value) {
|
|
31693
31693
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33144,7 +33144,7 @@ function ScheduleFormFields({
|
|
|
33144
33144
|
disabled = false,
|
|
33145
33145
|
renderScriptSearch,
|
|
33146
33146
|
timeReferenceGate = "off",
|
|
33147
|
-
platforms =
|
|
33147
|
+
platforms = _chunkCRVXQYUZcjs.OS_PLATFORMS,
|
|
33148
33148
|
comingSoonPlatforms = [],
|
|
33149
33149
|
getTimeSlots,
|
|
33150
33150
|
nameLayout = "stacked",
|
|
@@ -33290,7 +33290,7 @@ function ScheduleFormFields({
|
|
|
33290
33290
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33291
33291
|
|
|
33292
33292
|
function ScriptPlatformIcons({ platforms }) {
|
|
33293
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33293
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkCRVXQYUZcjs.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)) });
|
|
33294
33294
|
}
|
|
33295
33295
|
function ScheduleScriptSearchField({
|
|
33296
33296
|
scriptId,
|
|
@@ -33363,7 +33363,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33363
33363
|
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,
|
|
33364
33364
|
_chunkAHBTZ7DNcjs.Button,
|
|
33365
33365
|
{
|
|
33366
|
-
onClick: loading ? void 0 :
|
|
33366
|
+
onClick: loading ? void 0 : _chunkCRVXQYUZcjs.openInNewTab.call(void 0, href),
|
|
33367
33367
|
disabled: loading,
|
|
33368
33368
|
variant: "outline",
|
|
33369
33369
|
size: "icon",
|
|
@@ -33714,7 +33714,7 @@ function ConversationCard({
|
|
|
33714
33714
|
style: tint,
|
|
33715
33715
|
onClick: selection && ((event) => {
|
|
33716
33716
|
if (event.button !== 0 || _optionalChain([window, 'access', _745 => _745.getSelection, 'call', _746 => _746(), 'optionalAccess', _747 => _747.toString, 'call', _748 => _748()])) return;
|
|
33717
|
-
if (!
|
|
33717
|
+
if (!_chunkCRVXQYUZcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33718
33718
|
selection.onToggle();
|
|
33719
33719
|
}),
|
|
33720
33720
|
children: [
|
|
@@ -33737,7 +33737,7 @@ function ConversationCard({
|
|
|
33737
33737
|
)
|
|
33738
33738
|
),
|
|
33739
33739
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33740
|
-
|
|
33740
|
+
_chunkCRVXQYUZcjs.ChatTurn,
|
|
33741
33741
|
{
|
|
33742
33742
|
avatar: requester.avatar,
|
|
33743
33743
|
name: requester.name,
|
|
@@ -33758,7 +33758,7 @@ function ConversationCard({
|
|
|
33758
33758
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _749 => _749.context])), children: context.text })
|
|
33759
33759
|
] }),
|
|
33760
33760
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33761
|
-
|
|
33761
|
+
_chunkCRVXQYUZcjs.ChatTurn,
|
|
33762
33762
|
{
|
|
33763
33763
|
avatar: responder.avatar,
|
|
33764
33764
|
name: responder.name,
|
|
@@ -33803,7 +33803,7 @@ function ConversationCardSkeleton({
|
|
|
33803
33803
|
{
|
|
33804
33804
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33805
33805
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33806
|
-
|
|
33806
|
+
_chunkCRVXQYUZcjs.ChatTurn,
|
|
33807
33807
|
{
|
|
33808
33808
|
loading: true,
|
|
33809
33809
|
name: "",
|
|
@@ -33827,7 +33827,7 @@ function ConversationCardSkeleton({
|
|
|
33827
33827
|
] })
|
|
33828
33828
|
] }),
|
|
33829
33829
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33830
|
-
|
|
33830
|
+
_chunkCRVXQYUZcjs.ChatTurn,
|
|
33831
33831
|
{
|
|
33832
33832
|
loading: true,
|
|
33833
33833
|
name: "",
|