@flamingo-stack/openframe-frontend-core 0.0.836 → 0.0.837
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-DQ6JYOHD.cjs → chunk-4644MFU2.cjs} +8 -8
- package/dist/{chunk-AZRDKZNG.cjs → chunk-66ENLZYE.cjs} +4 -4
- package/dist/{chunk-UQS2RI5Y.cjs → chunk-7XRFAHJF.cjs} +5 -5
- package/dist/{chunk-UQ52NWTB.cjs → chunk-BWJHIPB6.cjs} +40 -40
- package/dist/{chunk-IUHV55D7.cjs → chunk-D4DRZIUK.cjs} +9 -9
- package/dist/{chunk-EQB3NSY6.cjs → chunk-EDBQXRKN.cjs} +123 -145
- package/dist/{chunk-4OP2VVPV.cjs → chunk-FEISG7YJ.cjs} +3 -3
- package/dist/{chunk-SFJXIHFR.cjs → chunk-FU7VLVYI.cjs} +11 -11
- package/dist/{chunk-I7QIIZAI.cjs → chunk-J63RYNMW.cjs} +19 -19
- package/dist/{chunk-UFF4TRZH.cjs → chunk-KBPKMASF.cjs} +3 -3
- package/dist/{chunk-XXHCM2XS.cjs → chunk-NAB6HCQ3.cjs} +39 -39
- package/dist/{chunk-VMFBLMP6.cjs → chunk-RJJPOPF7.cjs} +2 -2
- package/dist/{chunk-M5PGFNJG.cjs → chunk-S3CSQIDW.cjs} +53 -53
- package/dist/{chunk-DAOVWHCN.cjs → chunk-S5HBEMZN.cjs} +47 -47
- package/dist/{chunk-VQG2A7GA.cjs → chunk-TRZEFT2N.cjs} +2 -2
- package/dist/{chunk-WAMDWVYC.cjs → chunk-UU5MDCD4.cjs} +11 -11
- package/dist/{chunk-LQDPAMXK.cjs → chunk-WAYYHZFS.cjs} +18 -18
- package/dist/{chunk-D6ZSRGH2.cjs → chunk-Z7A7IZWL.cjs} +10 -5
- package/dist/{chunk-HBFYEBXN.cjs → chunk-ZWI6A4SG.cjs} +4 -4
- package/dist/{cloud-tenants-THCHEWBM.cjs → cloud-tenants-MJHJKTLX.cjs} +5 -5
- package/dist/components/case-studies/index.cjs +17 -17
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/mingo-quick-action-wall.d.ts.map +1 -1
- package/dist/components/chat/mingo-quick-action-wall.js +11 -6
- package/dist/components/contact/index.cjs +6 -6
- package/dist/components/docs/index.cjs +9 -9
- package/dist/components/embeds/index.cjs +6 -6
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -1
- package/dist/components/features/devices/device-selector/device-selector.js +0 -10
- package/dist/components/features/devices/device-selector/narrowing.d.ts +2 -2
- package/dist/components/features/devices/devices-filter-toolbar.d.ts +1 -2
- package/dist/components/features/devices/devices-filter-toolbar.d.ts.map +1 -1
- package/dist/components/features/devices/devices-filter-toolbar.js +0 -2
- package/dist/components/features/devices/devices-list.d.ts +1 -1
- package/dist/components/features/devices/devices-list.d.ts.map +1 -1
- package/dist/components/features/devices/devices-list.js +0 -9
- package/dist/components/features/devices/devices-panel-view.d.ts.map +1 -1
- package/dist/components/features/devices/devices-panel-view.js +0 -1
- package/dist/components/features/index.cjs +5 -5
- package/dist/components/help-center-pages/index.cjs +62 -62
- package/dist/components/index.cjs +38 -38
- package/dist/components/meeting-scheduler/index.cjs +30 -30
- package/dist/components/navigation/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/product-demo/index.cjs +14 -14
- package/dist/components/tickets/index.cjs +10 -10
- package/dist/components/ui/index.cjs +5 -5
- package/dist/{devices-MPRDMXXU.cjs → devices-CXVCHKOY.cjs} +6 -6
- package/dist/{embeddable-chat-TRGESG7U.cjs → embeddable-chat-M7L3DBNO.cjs} +71 -71
- package/dist/index.cjs +9 -9
- package/dist/{knowledge-TFTDHYGR.cjs → knowledge-FLQDJJPG.cjs} +6 -6
- package/dist/{logs-CSSJG4F7.cjs → logs-D5QE4XXT.cjs} +12 -12
- package/dist/{policies-ELFYUN5P.cjs → policies-W62WSRBO.cjs} +9 -9
- package/dist/{scripts-37L6FIKG.cjs → scripts-MVJAIKSW.cjs} +10 -10
- package/dist/{software-update-BSA4NLHO.cjs → software-update-XP5CN7YZ.cjs} +8 -8
- package/package.json +1 -1
- package/src/components/chat/mingo-quick-action-wall.tsx +18 -7
- package/src/components/features/devices/device-selector/device-selector.tsx +1 -12
- package/src/components/features/devices/device-selector/narrowing.ts +2 -2
- package/src/components/features/devices/devices-filter-toolbar.tsx +0 -3
- package/src/components/features/devices/devices-list.tsx +1 -11
- package/src/components/features/devices/devices-panel-view.tsx +0 -1
|
@@ -36,7 +36,7 @@ var _chunkSWMUW3RRcjs = require('./chunk-SWMUW3RR.cjs');
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var _chunkTRZEFT2Ncjs = require('./chunk-TRZEFT2N.cjs');
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
var _chunkDEY6XXGOcjs = require('./chunk-DEY6XXGO.cjs');
|
|
@@ -101,7 +101,7 @@ var _chunk5SZ4ILU3cjs = require('./chunk-5SZ4ILU3.cjs');
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
var
|
|
104
|
+
var _chunkWAYYHZFScjs = require('./chunk-WAYYHZFS.cjs');
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
|
|
@@ -128,7 +128,7 @@ var _chunkOT6P57ZScjs = require('./chunk-OT6P57ZS.cjs');
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
var
|
|
131
|
+
var _chunkZ7A7IZWLcjs = require('./chunk-Z7A7IZWL.cjs');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|
|
@@ -715,7 +715,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
715
715
|
var useTheme = _nextthemes.useTheme;
|
|
716
716
|
function useThemeToggle() {
|
|
717
717
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
718
|
-
const mounted =
|
|
718
|
+
const mounted = _chunkZ7A7IZWLcjs.useIsHydrated.call(void 0, );
|
|
719
719
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
720
720
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
721
721
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -4562,14 +4562,14 @@ function AdminFormDrawer({
|
|
|
4562
4562
|
else onClose();
|
|
4563
4563
|
};
|
|
4564
4564
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4565
|
-
|
|
4565
|
+
_chunkTRZEFT2Ncjs.Drawer,
|
|
4566
4566
|
{
|
|
4567
4567
|
open: isOpen,
|
|
4568
4568
|
onOpenChange: (open) => {
|
|
4569
4569
|
if (!open) requestClose();
|
|
4570
4570
|
},
|
|
4571
4571
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4572
|
-
|
|
4572
|
+
_chunkTRZEFT2Ncjs.DrawerContent,
|
|
4573
4573
|
{
|
|
4574
4574
|
side: "right",
|
|
4575
4575
|
resizable: true,
|
|
@@ -4578,15 +4578,15 @@ function AdminFormDrawer({
|
|
|
4578
4578
|
storageKey,
|
|
4579
4579
|
panelClassName: "max-md:w-[calc(100vw-1rem)]",
|
|
4580
4580
|
children: [
|
|
4581
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
4582
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4583
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4581
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkTRZEFT2Ncjs.DrawerHeader, { children: [
|
|
4582
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTRZEFT2Ncjs.DrawerTitle, { children: title }),
|
|
4583
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTRZEFT2Ncjs.DrawerDescription, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: subtitle }) })
|
|
4584
4584
|
] }),
|
|
4585
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4585
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTRZEFT2Ncjs.DrawerBody, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4586
4586
|
"form",
|
|
4587
4587
|
{
|
|
4588
4588
|
id: formId,
|
|
4589
|
-
...
|
|
4589
|
+
..._chunkWAYYHZFScjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4590
4590
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4591
4591
|
onSubmit: (e) => {
|
|
4592
4592
|
e.preventDefault();
|
|
@@ -4693,7 +4693,7 @@ function AdminFormModal({
|
|
|
4693
4693
|
"form",
|
|
4694
4694
|
{
|
|
4695
4695
|
id: formId,
|
|
4696
|
-
...
|
|
4696
|
+
..._chunkWAYYHZFScjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4697
4697
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4698
4698
|
onSubmit: (e) => {
|
|
4699
4699
|
e.preventDefault();
|
|
@@ -6064,7 +6064,7 @@ function EmbedViewerFrame({
|
|
|
6064
6064
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6065
6065
|
_react.useEffect.call(void 0, () => {
|
|
6066
6066
|
if (!fullscreenControl) return void 0;
|
|
6067
|
-
const controller = new (0,
|
|
6067
|
+
const controller = new (0, _chunkWAYYHZFScjs.FullscreenSwitchController)({
|
|
6068
6068
|
target: () => frameRef.current,
|
|
6069
6069
|
onFullscreenChange: setIsFullscreen
|
|
6070
6070
|
});
|
|
@@ -7313,7 +7313,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7313
7313
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7314
7314
|
};
|
|
7315
7315
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7316
|
-
const postLinkRel =
|
|
7316
|
+
const postLinkRel = _chunkZ7A7IZWLcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7317
7317
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7318
7318
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7319
7319
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7645,7 +7645,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7645
7645
|
] });
|
|
7646
7646
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7647
7647
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7648
|
-
const postLinkRel =
|
|
7648
|
+
const postLinkRel = _chunkZ7A7IZWLcjs.renderedLinkRel.call(void 0, rel, true);
|
|
7649
7649
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7650
7650
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7651
7651
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7847,7 +7847,7 @@ function buildRichEmbedOverrides({
|
|
|
7847
7847
|
ogEndpointPath,
|
|
7848
7848
|
textSizes
|
|
7849
7849
|
}) {
|
|
7850
|
-
const standard =
|
|
7850
|
+
const standard = _chunkZ7A7IZWLcjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7851
7851
|
return {
|
|
7852
7852
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7853
7853
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7983,14 +7983,14 @@ function buildRichEmbedOverrides({
|
|
|
7983
7983
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7984
7984
|
// elsewhere). Guard against empty `![]()`.
|
|
7985
7985
|
img: ({ src, alt }) => {
|
|
7986
|
-
if (!
|
|
7986
|
+
if (!_chunkZ7A7IZWLcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7987
7987
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7988
7988
|
},
|
|
7989
7989
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7990
7990
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7991
7991
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7992
7992
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7993
|
-
if (!
|
|
7993
|
+
if (!_chunkZ7A7IZWLcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7994
7994
|
const url = src.trim();
|
|
7995
7995
|
if (_chunkTD4CC4KVcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTD4CC4KVcjs.Video, { kind: "youtube", url });
|
|
7996
7996
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
@@ -7998,7 +7998,7 @@ function buildRichEmbedOverrides({
|
|
|
7998
7998
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7999
7999
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
8000
8000
|
video: ({ src, poster, className }) => {
|
|
8001
|
-
if (!
|
|
8001
|
+
if (!_chunkZ7A7IZWLcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
8002
8002
|
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, _chunkTD4CC4KVcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
8003
8003
|
}
|
|
8004
8004
|
};
|
|
@@ -8184,13 +8184,13 @@ var RichMarkdownInner = ({
|
|
|
8184
8184
|
},
|
|
8185
8185
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8186
8186
|
);
|
|
8187
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8187
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkZ7A7IZWLcjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8188
8188
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8189
8189
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8190
8190
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8191
8191
|
);
|
|
8192
8192
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8193
|
-
|
|
8193
|
+
_chunkZ7A7IZWLcjs.MarkdownEngine,
|
|
8194
8194
|
{
|
|
8195
8195
|
content,
|
|
8196
8196
|
className,
|
|
@@ -8215,7 +8215,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8215
8215
|
className = "",
|
|
8216
8216
|
sectionIds,
|
|
8217
8217
|
onInternalLinkClick,
|
|
8218
|
-
brokenLinks =
|
|
8218
|
+
brokenLinks = _chunkZ7A7IZWLcjs.NO_BROKEN_LINKS,
|
|
8219
8219
|
currentPath,
|
|
8220
8220
|
resolveSource = "openframe-docs",
|
|
8221
8221
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9987,7 +9987,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9987
9987
|
|
|
9988
9988
|
|
|
9989
9989
|
function PlatformBrowseButton({ item }) {
|
|
9990
|
-
const linkProps =
|
|
9990
|
+
const linkProps = _chunkZ7A7IZWLcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9991
9991
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9992
9992
|
"Browse ",
|
|
9993
9993
|
item.buttonText
|
|
@@ -10506,10 +10506,10 @@ var OSTypeBadge = ({
|
|
|
10506
10506
|
if (!osType) {
|
|
10507
10507
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10508
10508
|
}
|
|
10509
|
-
const normalized =
|
|
10509
|
+
const normalized = _chunkWAYYHZFScjs.normalizeOSType.call(void 0, osType);
|
|
10510
10510
|
if (!normalized && !labelOnly) return null;
|
|
10511
|
-
const label =
|
|
10512
|
-
const IconComponent =
|
|
10511
|
+
const label = _chunkWAYYHZFScjs.getOSLabel.call(void 0, osType);
|
|
10512
|
+
const IconComponent = _chunkWAYYHZFScjs.getOSIcon.call(void 0, osType);
|
|
10513
10513
|
if (iconOnly && IconComponent) {
|
|
10514
10514
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk63A4GZMBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10515
10515
|
}
|
|
@@ -10806,7 +10806,7 @@ function ComplianceLogo({
|
|
|
10806
10806
|
fallback = null,
|
|
10807
10807
|
className
|
|
10808
10808
|
}) {
|
|
10809
|
-
const standard =
|
|
10809
|
+
const standard = _chunkWAYYHZFScjs.complianceStandardForName.call(void 0, ...names);
|
|
10810
10810
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10811
10811
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10812
10812
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12848,7 +12848,7 @@ function DataTableRowImpl({
|
|
|
12848
12848
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12849
12849
|
const handleClick = _react.useCallback.call(void 0,
|
|
12850
12850
|
(e) => {
|
|
12851
|
-
if (!
|
|
12851
|
+
if (!_chunkWAYYHZFScjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12852
12852
|
if (isLinkMode) e.preventDefault();
|
|
12853
12853
|
return;
|
|
12854
12854
|
}
|
|
@@ -12862,7 +12862,7 @@ function DataTableRowImpl({
|
|
|
12862
12862
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _224 => _224.contains, 'call', _225 => _225(target)])) return;
|
|
12863
12863
|
const nestedLink = target.closest("a");
|
|
12864
12864
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12865
|
-
if (!
|
|
12865
|
+
if (!_chunkWAYYHZFScjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12866
12866
|
}, []);
|
|
12867
12867
|
const containerClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
12868
12868
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12992,7 +12992,7 @@ function DataTableBody({
|
|
|
12992
12992
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12993
12993
|
if (loading && loadingCells && hasRows) {
|
|
12994
12994
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12995
|
-
|
|
12995
|
+
_chunkZ7A7IZWLcjs.LoadingFallback,
|
|
12996
12996
|
{
|
|
12997
12997
|
label: "Loading results",
|
|
12998
12998
|
status: loadingRegion && !inScope,
|
|
@@ -13341,7 +13341,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13341
13341
|
// child of the cell.
|
|
13342
13342
|
_optionalChain([meta, 'optionalAccess', _244 => _244.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13343
13343
|
filterTrigger,
|
|
13344
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13344
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWAYYHZFScjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13345
13345
|
] }) : filterTrigger
|
|
13346
13346
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13347
13347
|
"div",
|
|
@@ -13366,7 +13366,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13366
13366
|
// centred on the row.
|
|
13367
13367
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13368
13368
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13369
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13369
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWAYYHZFScjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13370
13370
|
] })
|
|
13371
13371
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13372
13372
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13605,7 +13605,7 @@ function PhoneInput({
|
|
|
13605
13605
|
placeholder = "Phone Number (optional)",
|
|
13606
13606
|
onKeyDown
|
|
13607
13607
|
}) {
|
|
13608
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13608
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkWAYYHZFScjs.getCountryPhoneData.call(void 0, ), []);
|
|
13609
13609
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13610
13610
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13611
13611
|
[countryCode, priority, others]
|
|
@@ -13620,7 +13620,7 @@ function PhoneInput({
|
|
|
13620
13620
|
_optionalChain([onValidationChange, 'optionalCall', _261 => _261(false)]);
|
|
13621
13621
|
return;
|
|
13622
13622
|
}
|
|
13623
|
-
const invalid = !
|
|
13623
|
+
const invalid = !_chunkWAYYHZFScjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13624
13624
|
setIsInvalid(invalid);
|
|
13625
13625
|
_optionalChain([onValidationChange, 'optionalCall', _262 => _262(invalid)]);
|
|
13626
13626
|
},
|
|
@@ -14058,7 +14058,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14058
14058
|
),
|
|
14059
14059
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14060
14060
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14061
|
-
|
|
14061
|
+
_chunkZ7A7IZWLcjs.TabSelector,
|
|
14062
14062
|
{
|
|
14063
14063
|
label: "Search engines",
|
|
14064
14064
|
value: choice,
|
|
@@ -14115,7 +14115,7 @@ function useMarkdownLinkCommand() {
|
|
|
14115
14115
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14116
14116
|
icon: command.icon,
|
|
14117
14117
|
execute: (state, api) => {
|
|
14118
|
-
const existing =
|
|
14118
|
+
const existing = _chunkZ7A7IZWLcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14119
14119
|
setPending(
|
|
14120
14120
|
existing ? {
|
|
14121
14121
|
api,
|
|
@@ -14146,7 +14146,7 @@ function useMarkdownLinkCommand() {
|
|
|
14146
14146
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _292 => _292.initial]), () => ( EMPTY_LINK)),
|
|
14147
14147
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _293 => _293.editing]), () => ( false)),
|
|
14148
14148
|
onSubmit: (link) => {
|
|
14149
|
-
if (pending) write(pending,
|
|
14149
|
+
if (pending) write(pending, _chunkZ7A7IZWLcjs.formatMarkdownLink.call(void 0, link));
|
|
14150
14150
|
},
|
|
14151
14151
|
onRemove: () => {
|
|
14152
14152
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -16028,7 +16028,7 @@ function TicketInfoSection({
|
|
|
16028
16028
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16029
16029
|
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" }) }),
|
|
16030
16030
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16031
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16031
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7A7IZWLcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16032
16032
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16033
16033
|
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, _chunkGRHF5SWLcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16034
16034
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16503,7 +16503,7 @@ function PhotoWall({
|
|
|
16503
16503
|
gap: COLUMN_GAP_PX
|
|
16504
16504
|
};
|
|
16505
16505
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk63A4GZMBcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16506
|
-
|
|
16506
|
+
_chunkZ7A7IZWLcjs.MarqueeWall,
|
|
16507
16507
|
{
|
|
16508
16508
|
axis: "y",
|
|
16509
16509
|
reverse: index % 2 === 1,
|
|
@@ -17048,7 +17048,7 @@ function LoadingLabel({ label, typical }) {
|
|
|
17048
17048
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: label.split(/(\{\w+\})/).map(
|
|
17049
17049
|
(part, index) => /^\{\w+\}$/.test(part) ? (
|
|
17050
17050
|
// biome-ignore lint/suspicious/noArrayIndexKey: the parts of one fixed string never reorder
|
|
17051
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17051
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7A7IZWLcjs.TextHold, { children: typical }, index)
|
|
17052
17052
|
) : part
|
|
17053
17053
|
) });
|
|
17054
17054
|
}
|
|
@@ -17063,7 +17063,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17063
17063
|
};
|
|
17064
17064
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17065
17065
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17066
|
-
const labels =
|
|
17066
|
+
const labels = _chunkWAYYHZFScjs.trialLabels.call(void 0, trialDays);
|
|
17067
17067
|
return terms.flatMap((term) => {
|
|
17068
17068
|
const label = labels[term];
|
|
17069
17069
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -21494,7 +21494,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21494
21494
|
empty: "No token rates are in effect right now."
|
|
21495
21495
|
};
|
|
21496
21496
|
function providerMark(providerType, stated, className) {
|
|
21497
|
-
const Mark = _chunkJQCQCE6Ucjs.findIcon.call(void 0,
|
|
21497
|
+
const Mark = _chunkJQCQCE6Ucjs.findIcon.call(void 0, _chunkWAYYHZFScjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21498
21498
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21499
21499
|
}
|
|
21500
21500
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21512,7 +21512,7 @@ var UNIT_LINE_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
|
21512
21512
|
var TABS_ROW_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21513
21513
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21514
21514
|
function useProviderGroup(rates) {
|
|
21515
|
-
const groups =
|
|
21515
|
+
const groups = _chunkWAYYHZFScjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21516
21516
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21517
21517
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21518
21518
|
}
|
|
@@ -21523,7 +21523,7 @@ function ProviderTabs({
|
|
|
21523
21523
|
className
|
|
21524
21524
|
}) {
|
|
21525
21525
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21526
|
-
|
|
21526
|
+
_chunkZ7A7IZWLcjs.TabSelector,
|
|
21527
21527
|
{
|
|
21528
21528
|
variant: "secondary",
|
|
21529
21529
|
scrollable: true,
|
|
@@ -21531,7 +21531,7 @@ function ProviderTabs({
|
|
|
21531
21531
|
onValueChange,
|
|
21532
21532
|
items: groups.map((candidate) => ({
|
|
21533
21533
|
id: candidate.providerType,
|
|
21534
|
-
label:
|
|
21534
|
+
label: _chunkWAYYHZFScjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _435 => _435.rates, 'access', _436 => _436[0], 'optionalAccess', _437 => _437.providerLabel])),
|
|
21535
21535
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _438 => _438.rates, 'access', _439 => _439[0], 'optionalAccess', _440 => _440.providerIcon]), "size-full")
|
|
21536
21536
|
})),
|
|
21537
21537
|
className
|
|
@@ -21608,8 +21608,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21608
21608
|
] }),
|
|
21609
21609
|
/* @__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: [
|
|
21610
21610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21611
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21612
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkWAYYHZFScjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkWAYYHZFScjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21613
21613
|
] }, rate.modelName)) })
|
|
21614
21614
|
] }),
|
|
21615
21615
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -21656,7 +21656,7 @@ function modelOption(rate) {
|
|
|
21656
21656
|
return {
|
|
21657
21657
|
label: rate.displayName || rate.modelName,
|
|
21658
21658
|
value: rate.modelName,
|
|
21659
|
-
description:
|
|
21659
|
+
description: _chunkWAYYHZFScjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21660
21660
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21661
21661
|
};
|
|
21662
21662
|
}
|
|
@@ -21711,8 +21711,8 @@ function ModelTokenExchange({
|
|
|
21711
21711
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21712
21712
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _441 => _441.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21713
21713
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21714
|
-
const tokens =
|
|
21715
|
-
const cost =
|
|
21714
|
+
const tokens = _chunkWAYYHZFScjs.formatTokenAmount.call(void 0, balance);
|
|
21715
|
+
const cost = _chunkWAYYHZFScjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
21716
21716
|
const balancePrice = cost === null ? null : _chunkGRHF5SWLcjs.formatPrice.call(void 0, cost);
|
|
21717
21717
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21718
21718
|
const options = models.map(modelOption);
|
|
@@ -21755,7 +21755,7 @@ function ModelTokenExchange({
|
|
|
21755
21755
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
21756
21756
|
size: "small",
|
|
21757
21757
|
onClick: () => setChosen(preset.tokens),
|
|
21758
|
-
children: copy.buy.preset(
|
|
21758
|
+
children: copy.buy.preset(_chunkWAYYHZFScjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
21759
21759
|
},
|
|
21760
21760
|
preset.label
|
|
21761
21761
|
)) })
|
|
@@ -21772,7 +21772,7 @@ function ModelTokenExchange({
|
|
|
21772
21772
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _442 => _442.providerType]) === providerType ? rate : null)));
|
|
21773
21773
|
return {
|
|
21774
21774
|
id: providerType,
|
|
21775
|
-
name:
|
|
21775
|
+
name: _chunkWAYYHZFScjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _443 => _443.providerLabel])),
|
|
21776
21776
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _444 => _444.providerIcon]), "size-8 text-ods-text-secondary")
|
|
21777
21777
|
};
|
|
21778
21778
|
}),
|
|
@@ -21811,7 +21811,7 @@ function ModelTokenExchange({
|
|
|
21811
21811
|
{
|
|
21812
21812
|
size: "plain",
|
|
21813
21813
|
loading,
|
|
21814
|
-
figure:
|
|
21814
|
+
figure: _chunkWAYYHZFScjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _449 => _449.inputTokenRate])),
|
|
21815
21815
|
words: copy.charge.input
|
|
21816
21816
|
}
|
|
21817
21817
|
),
|
|
@@ -21820,7 +21820,7 @@ function ModelTokenExchange({
|
|
|
21820
21820
|
{
|
|
21821
21821
|
size: "plain",
|
|
21822
21822
|
loading,
|
|
21823
|
-
figure:
|
|
21823
|
+
figure: _chunkWAYYHZFScjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _450 => _450.outputTokenRate])),
|
|
21824
21824
|
words: copy.charge.output
|
|
21825
21825
|
}
|
|
21826
21826
|
)
|
|
@@ -21832,9 +21832,9 @@ function ModelTokenExchange({
|
|
|
21832
21832
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
21833
21833
|
children: [
|
|
21834
21834
|
/* @__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, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
21835
|
-
/* @__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, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
21835
|
+
/* @__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, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkWAYYHZFScjs.formatTokenAmount.call(void 0, _chunkWAYYHZFScjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
21836
21836
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
21837
|
-
/* @__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, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
21837
|
+
/* @__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, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkWAYYHZFScjs.formatTokenAmount.call(void 0, _chunkWAYYHZFScjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
21838
21838
|
]
|
|
21839
21839
|
}
|
|
21840
21840
|
)
|
|
@@ -22354,14 +22354,14 @@ var ConfidenceBadge = ({
|
|
|
22354
22354
|
size = "sm",
|
|
22355
22355
|
className
|
|
22356
22356
|
}) => {
|
|
22357
|
-
const level =
|
|
22357
|
+
const level = _chunkWAYYHZFScjs.getConfidenceLevel.call(void 0, confidence);
|
|
22358
22358
|
if (level === "none") {
|
|
22359
22359
|
return null;
|
|
22360
22360
|
}
|
|
22361
|
-
const label =
|
|
22362
|
-
const borderClass =
|
|
22363
|
-
const textClass =
|
|
22364
|
-
const bgClass =
|
|
22361
|
+
const label = _chunkWAYYHZFScjs.getConfidenceLabel.call(void 0, confidence);
|
|
22362
|
+
const borderClass = _chunkWAYYHZFScjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22363
|
+
const textClass = _chunkWAYYHZFScjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22364
|
+
const bgClass = _chunkWAYYHZFScjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22365
22365
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22366
22366
|
"span",
|
|
22367
22367
|
{
|
|
@@ -22412,9 +22412,9 @@ function SEOEditorPreview({
|
|
|
22412
22412
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22413
22413
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22414
22414
|
const seoTitleLength = (seoTitle || "").length;
|
|
22415
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22415
|
+
const seoTitleTooLong = seoTitleLength > _chunkWAYYHZFScjs.SEO_TITLE_MAX_LENGTH;
|
|
22416
22416
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22417
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22417
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkWAYYHZFScjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22418
22418
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22419
22419
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22420
22420
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22439,10 +22439,10 @@ function SEOEditorPreview({
|
|
|
22439
22439
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22440
22440
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22441
22441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22442
|
-
|
|
22442
|
+
_chunkWAYYHZFScjs.Field,
|
|
22443
22443
|
{
|
|
22444
22444
|
label: "SEO Title",
|
|
22445
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22445
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkWAYYHZFScjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22446
22446
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22447
22447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22448
22448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22457,7 +22457,7 @@ function SEOEditorPreview({
|
|
|
22457
22457
|
children: [
|
|
22458
22458
|
seoTitleLength,
|
|
22459
22459
|
"/",
|
|
22460
|
-
|
|
22460
|
+
_chunkWAYYHZFScjs.SEO_TITLE_MAX_LENGTH
|
|
22461
22461
|
]
|
|
22462
22462
|
}
|
|
22463
22463
|
),
|
|
@@ -22468,7 +22468,7 @@ function SEOEditorPreview({
|
|
|
22468
22468
|
value: seoTitle || "",
|
|
22469
22469
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22470
22470
|
disabled,
|
|
22471
|
-
maxLength:
|
|
22471
|
+
maxLength: _chunkWAYYHZFScjs.SEO_TITLE_MAX_LENGTH,
|
|
22472
22472
|
invalid: seoTitleTooLong,
|
|
22473
22473
|
placeholder: "Enter SEO meta title...",
|
|
22474
22474
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22479,7 +22479,7 @@ function SEOEditorPreview({
|
|
|
22479
22479
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22480
22480
|
] }),
|
|
22481
22481
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22482
|
-
|
|
22482
|
+
_chunkWAYYHZFScjs.Field,
|
|
22483
22483
|
{
|
|
22484
22484
|
label: "SEO Keywords",
|
|
22485
22485
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22511,10 +22511,10 @@ function SEOEditorPreview({
|
|
|
22511
22511
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22512
22512
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22513
22513
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22514
|
-
|
|
22514
|
+
_chunkWAYYHZFScjs.Field,
|
|
22515
22515
|
{
|
|
22516
22516
|
label: "SEO Description",
|
|
22517
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22517
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkWAYYHZFScjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22518
22518
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22519
22519
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22520
22520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22537,7 +22537,7 @@ function SEOEditorPreview({
|
|
|
22537
22537
|
children: [
|
|
22538
22538
|
seoDescriptionLength,
|
|
22539
22539
|
"/",
|
|
22540
|
-
|
|
22540
|
+
_chunkWAYYHZFScjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22541
22541
|
]
|
|
22542
22542
|
}
|
|
22543
22543
|
),
|
|
@@ -22548,7 +22548,7 @@ function SEOEditorPreview({
|
|
|
22548
22548
|
value: seoDescription || "",
|
|
22549
22549
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22550
22550
|
disabled,
|
|
22551
|
-
maxLength:
|
|
22551
|
+
maxLength: _chunkWAYYHZFScjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22552
22552
|
invalid: seoDescriptionTooLong,
|
|
22553
22553
|
placeholder: "Enter SEO meta description...",
|
|
22554
22554
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23258,7 +23258,7 @@ function VideoBitesDisplay({
|
|
|
23258
23258
|
filterPublished = true,
|
|
23259
23259
|
showTitle = true
|
|
23260
23260
|
}) {
|
|
23261
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23261
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7A7IZWLcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23262
23262
|
}
|
|
23263
23263
|
|
|
23264
23264
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23287,7 +23287,7 @@ function WalkthroughVideo({
|
|
|
23287
23287
|
onOpenChange,
|
|
23288
23288
|
defaultOpen,
|
|
23289
23289
|
defaultOpenPaused,
|
|
23290
|
-
deepLinkParam =
|
|
23290
|
+
deepLinkParam = _chunkWAYYHZFScjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23291
23291
|
autoPlayCard = false,
|
|
23292
23292
|
label = "Play Demo Video",
|
|
23293
23293
|
placement,
|
|
@@ -23304,7 +23304,7 @@ function WalkthroughVideo({
|
|
|
23304
23304
|
const inline = placement === "inline";
|
|
23305
23305
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23306
23306
|
const dismissEnabled = dismissal !== false;
|
|
23307
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23307
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkWAYYHZFScjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23308
23308
|
const dismissalId = _optionalChain([video, 'optionalAccess', _466 => _466.id]) != null ? String(video.id) : "dismissed";
|
|
23309
23309
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23310
23310
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23316,7 +23316,7 @@ function WalkthroughVideo({
|
|
|
23316
23316
|
let delayElapsed = false;
|
|
23317
23317
|
let interacted = inline;
|
|
23318
23318
|
const reveal = () => {
|
|
23319
|
-
if (dismissEnabled &&
|
|
23319
|
+
if (dismissEnabled && _chunkWAYYHZFScjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23320
23320
|
setDismissed(true);
|
|
23321
23321
|
return;
|
|
23322
23322
|
}
|
|
@@ -23353,7 +23353,7 @@ function WalkthroughVideo({
|
|
|
23353
23353
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23354
23354
|
};
|
|
23355
23355
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23356
|
-
const hydrated =
|
|
23356
|
+
const hydrated = _chunkZ7A7IZWLcjs.useIsHydrated.call(void 0, );
|
|
23357
23357
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23358
23358
|
if (!hydrated) return false;
|
|
23359
23359
|
try {
|
|
@@ -23603,7 +23603,7 @@ function WalkthroughVideo({
|
|
|
23603
23603
|
(e) => {
|
|
23604
23604
|
e.stopPropagation();
|
|
23605
23605
|
pausePreviewNow();
|
|
23606
|
-
if (dismissEnabled)
|
|
23606
|
+
if (dismissEnabled) _chunkWAYYHZFScjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23607
23607
|
setDismissed(true);
|
|
23608
23608
|
},
|
|
23609
23609
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -23778,7 +23778,7 @@ function WalkthroughVideo({
|
|
|
23778
23778
|
`card-${embedUrlKey}`
|
|
23779
23779
|
) }),
|
|
23780
23780
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23781
|
-
|
|
23781
|
+
_chunkZ7A7IZWLcjs.CardHitLayer,
|
|
23782
23782
|
{
|
|
23783
23783
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
23784
23784
|
onPointerDown: pausePreviewNow,
|
|
@@ -23950,7 +23950,7 @@ function useWalkthroughVideo(opts) {
|
|
|
23950
23950
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
23951
23951
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23952
23952
|
const enabled = enabledGiven && !inScope;
|
|
23953
|
-
const captions =
|
|
23953
|
+
const captions = _chunkZ7A7IZWLcjs.useCaptions.call(void 0, );
|
|
23954
23954
|
const query = _reactquery.useQuery.call(void 0, {
|
|
23955
23955
|
queryKey: ["walkthrough-video", endpoint],
|
|
23956
23956
|
enabled,
|
|
@@ -24701,7 +24701,7 @@ function HighlightConfigSection({
|
|
|
24701
24701
|
disabled = false,
|
|
24702
24702
|
className = ""
|
|
24703
24703
|
}) {
|
|
24704
|
-
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,
|
|
24704
|
+
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, _chunkWAYYHZFScjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24705
24705
|
_chunkFNNDGOR3cjs.Select,
|
|
24706
24706
|
{
|
|
24707
24707
|
value: targetDurationSeconds.toString(),
|
|
@@ -24802,7 +24802,7 @@ var AIStatusIndicator = ({
|
|
|
24802
24802
|
}) => {
|
|
24803
24803
|
const config = statusConfig[status];
|
|
24804
24804
|
const displayText = message || config.label;
|
|
24805
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
24805
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkWAYYHZFScjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
24806
24806
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
24807
24807
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24808
24808
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -24810,7 +24810,7 @@ var AIStatusIndicator = ({
|
|
|
24810
24810
|
size: 16,
|
|
24811
24811
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24812
24812
|
status === "loading" && _chunk3TOWCFIKcjs.LIVE_PULSE_CLASS,
|
|
24813
|
-
confidence !== void 0 && status === "success" ?
|
|
24813
|
+
confidence !== void 0 && status === "success" ? _chunkWAYYHZFScjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24814
24814
|
)
|
|
24815
24815
|
}
|
|
24816
24816
|
),
|
|
@@ -24819,7 +24819,7 @@ var AIStatusIndicator = ({
|
|
|
24819
24819
|
{
|
|
24820
24820
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24821
24821
|
"text-h6",
|
|
24822
|
-
confidence !== void 0 && status === "success" ?
|
|
24822
|
+
confidence !== void 0 && status === "success" ? _chunkWAYYHZFScjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24823
24823
|
),
|
|
24824
24824
|
children: displayText
|
|
24825
24825
|
}
|
|
@@ -24829,8 +24829,8 @@ var AIStatusIndicator = ({
|
|
|
24829
24829
|
{
|
|
24830
24830
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24831
24831
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
24832
|
-
|
|
24833
|
-
|
|
24832
|
+
_chunkWAYYHZFScjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
24833
|
+
_chunkWAYYHZFScjs.getConfidenceTextClass.call(void 0, confidence)
|
|
24834
24834
|
),
|
|
24835
24835
|
children: confidenceLabel
|
|
24836
24836
|
}
|
|
@@ -25451,7 +25451,7 @@ function ApprovalLevelView({
|
|
|
25451
25451
|
] });
|
|
25452
25452
|
}
|
|
25453
25453
|
function ApprovalLevelSkeleton({ editable = false, showLabel = true, className }) {
|
|
25454
|
-
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25454
|
+
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7A7IZWLcjs.TextHold, { children: LONGEST_LEVEL_LABEL }) }) : null;
|
|
25455
25455
|
if (!editable) {
|
|
25456
25456
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "aria-hidden": true, className: _chunk63A4GZMBcjs.cn.call(void 0, READ_ONLY_ROW_CLASS, className), children: [
|
|
25457
25457
|
name,
|
|
@@ -25710,7 +25710,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
25710
25710
|
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,
|
|
25711
25711
|
_chunkFCZAUK4Dcjs.Button,
|
|
25712
25712
|
{
|
|
25713
|
-
onClick: loading ? void 0 :
|
|
25713
|
+
onClick: loading ? void 0 : _chunkWAYYHZFScjs.openInNewTab.call(void 0, href),
|
|
25714
25714
|
disabled: loading,
|
|
25715
25715
|
variant: "outline",
|
|
25716
25716
|
size: "icon",
|
|
@@ -26084,7 +26084,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26084
26084
|
/* @__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,
|
|
26085
26085
|
_chunkFCZAUK4Dcjs.Button,
|
|
26086
26086
|
{
|
|
26087
|
-
onClick: loading ? void 0 :
|
|
26087
|
+
onClick: loading ? void 0 : _chunkWAYYHZFScjs.openInNewTab.call(void 0, href),
|
|
26088
26088
|
disabled: loading,
|
|
26089
26089
|
variant: "outline",
|
|
26090
26090
|
size: "icon",
|
|
@@ -26219,7 +26219,7 @@ function WaitlistForm({
|
|
|
26219
26219
|
const { toast } = _chunkLWMWY3JOcjs.useToast.call(void 0, );
|
|
26220
26220
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkLWMWY3JOcjs.useHumanitySignals.call(void 0, );
|
|
26221
26221
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26222
|
-
const isClient =
|
|
26222
|
+
const isClient = _chunkZ7A7IZWLcjs.useIsHydrated.call(void 0, );
|
|
26223
26223
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26224
26224
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26225
26225
|
const rescue = _chunkLWMWY3JOcjs.useFormRescue.call(void 0, {
|
|
@@ -26234,7 +26234,7 @@ function WaitlistForm({
|
|
|
26234
26234
|
_react.useEffect.call(void 0, () => {
|
|
26235
26235
|
rescue.track({ email, phone }, null);
|
|
26236
26236
|
}, [email, phone, rescue]);
|
|
26237
|
-
const isMailDomainGeneric =
|
|
26237
|
+
const isMailDomainGeneric = _chunkWAYYHZFScjs.hasGenericEmailDomain.call(void 0, email);
|
|
26238
26238
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26239
26239
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26240
26240
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26268,7 +26268,7 @@ function WaitlistForm({
|
|
|
26268
26268
|
setShowConsentError(true);
|
|
26269
26269
|
return;
|
|
26270
26270
|
}
|
|
26271
|
-
const finalPhone = phone ?
|
|
26271
|
+
const finalPhone = phone ? _chunkWAYYHZFScjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26272
26272
|
try {
|
|
26273
26273
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26274
26274
|
rescue.complete();
|
|
@@ -26855,7 +26855,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26855
26855
|
}, [mobileBreakpoint]);
|
|
26856
26856
|
const panelRef = _react.useRef.call(void 0, null);
|
|
26857
26857
|
const available = useContainerExtent(resizable, isHorizontal, portalContainer);
|
|
26858
|
-
const { size, setSize, clampSize } =
|
|
26858
|
+
const { size, setSize, clampSize } = _chunkTRZEFT2Ncjs.useResizablePanelSize.call(void 0, {
|
|
26859
26859
|
enabled: resizable,
|
|
26860
26860
|
minSize,
|
|
26861
26861
|
maxSize,
|
|
@@ -26875,7 +26875,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26875
26875
|
"data-state": open ? "open" : "closed",
|
|
26876
26876
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
26877
26877
|
"absolute inset-0 z-[102] outline-none data-[state=closed]:pointer-events-none data-[state=open]:pointer-events-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
26878
|
-
|
|
26878
|
+
_chunkTRZEFT2Ncjs.OVERLAY_BACKDROP_CLASS,
|
|
26879
26879
|
// Persist mode only: hold the fade-out's final (transparent) frame
|
|
26880
26880
|
// so the backdrop doesn't snap back to opacity 1 and dim the whole
|
|
26881
26881
|
// content area while the drawer is "closed" (see PERSIST_CLOSED_HOLD).
|
|
@@ -26918,7 +26918,7 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26918
26918
|
children: [
|
|
26919
26919
|
props["aria-label"] ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Title, { className: "sr-only", children: props["aria-label"] }) : null,
|
|
26920
26920
|
applyInlineSize && (!persist || open) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26921
|
-
|
|
26921
|
+
_chunkZ7A7IZWLcjs.PanelResizeHandle,
|
|
26922
26922
|
{
|
|
26923
26923
|
variant: "inLayout",
|
|
26924
26924
|
side: resolvedSide,
|
|
@@ -26957,11 +26957,11 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
|
|
|
26957
26957
|
}
|
|
26958
26958
|
);
|
|
26959
26959
|
AppLayoutDrawerContent.displayName = "AppLayoutDrawerContent";
|
|
26960
|
-
var AppLayoutDrawerHeader =
|
|
26961
|
-
var AppLayoutDrawerTitle =
|
|
26962
|
-
var AppLayoutDrawerDescription =
|
|
26963
|
-
var AppLayoutDrawerBody =
|
|
26964
|
-
var AppLayoutDrawerFooter =
|
|
26960
|
+
var AppLayoutDrawerHeader = _chunkTRZEFT2Ncjs.DrawerHeader;
|
|
26961
|
+
var AppLayoutDrawerTitle = _chunkTRZEFT2Ncjs.DrawerTitle;
|
|
26962
|
+
var AppLayoutDrawerDescription = _chunkTRZEFT2Ncjs.DrawerDescription;
|
|
26963
|
+
var AppLayoutDrawerBody = _chunkTRZEFT2Ncjs.DrawerBody;
|
|
26964
|
+
var AppLayoutDrawerFooter = _chunkTRZEFT2Ncjs.DrawerFooter;
|
|
26965
26965
|
|
|
26966
26966
|
// src/components/features/notifications/notification-tile.tsx
|
|
26967
26967
|
|
|
@@ -27252,7 +27252,7 @@ function NotificationDrawer({
|
|
|
27252
27252
|
const unreadNotifications = notifications.filter((n) => !n.read);
|
|
27253
27253
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
27254
27254
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-m)] pt-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27255
|
-
|
|
27255
|
+
_chunkTRZEFT2Ncjs.DrawerTitle,
|
|
27256
27256
|
{
|
|
27257
27257
|
hideClose: !showClose,
|
|
27258
27258
|
className: "truncate",
|
|
@@ -27315,8 +27315,8 @@ function NotificationDrawer({
|
|
|
27315
27315
|
}
|
|
27316
27316
|
) });
|
|
27317
27317
|
}
|
|
27318
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27319
|
-
|
|
27318
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTRZEFT2Ncjs.Drawer, { open: isOpen, onOpenChange: (v) => v ? open() : close(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27319
|
+
_chunkTRZEFT2Ncjs.DrawerContent,
|
|
27320
27320
|
{
|
|
27321
27321
|
side: "right",
|
|
27322
27322
|
"aria-describedby": void 0,
|
|
@@ -28295,7 +28295,7 @@ function TimeTrackerHeaderButton({
|
|
|
28295
28295
|
"data-state": isOpen ? "open" : "closed",
|
|
28296
28296
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
28297
28297
|
layoutContainer ? "absolute inset-0 z-[102]" : "fixed inset-0 z-[1299]",
|
|
28298
|
-
|
|
28298
|
+
_chunkTRZEFT2Ncjs.OVERLAY_BACKDROP_CLASS,
|
|
28299
28299
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
28300
28300
|
"data-[state=closed]:animate-out data-[state=closed]:fade-out-0"
|
|
28301
28301
|
)
|
|
@@ -28471,7 +28471,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28471
28471
|
}
|
|
28472
28472
|
}
|
|
28473
28473
|
function getDeviceOperatingSystem(osType) {
|
|
28474
|
-
return
|
|
28474
|
+
return _chunkWAYYHZFScjs.getOSPlatformId.call(void 0, osType);
|
|
28475
28475
|
}
|
|
28476
28476
|
|
|
28477
28477
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -28585,7 +28585,6 @@ function DevicesFilterToolbar({
|
|
|
28585
28585
|
tags,
|
|
28586
28586
|
onTagRemove,
|
|
28587
28587
|
onClearAll,
|
|
28588
|
-
onSubmit,
|
|
28589
28588
|
onOpenFilterModal,
|
|
28590
28589
|
isFilterModalOpen,
|
|
28591
28590
|
onCloseFilterModal,
|
|
@@ -28617,7 +28616,6 @@ function DevicesFilterToolbar({
|
|
|
28617
28616
|
onSearchChange,
|
|
28618
28617
|
onTagRemove,
|
|
28619
28618
|
onClearAll,
|
|
28620
|
-
onSubmit,
|
|
28621
28619
|
placeholder: "Search for Devices",
|
|
28622
28620
|
addMorePlaceholder: "Add More..."
|
|
28623
28621
|
}
|
|
@@ -29297,15 +29295,6 @@ function DeviceSelector({
|
|
|
29297
29295
|
setSearchTerm("");
|
|
29298
29296
|
setSelectedTags([]);
|
|
29299
29297
|
}, [setSearchTerm, setSelectedTags]);
|
|
29300
|
-
const handleTagSubmit = _react.useCallback.call(void 0,
|
|
29301
|
-
(value) => {
|
|
29302
|
-
const trimmed = value.trim();
|
|
29303
|
-
if (!trimmed) return;
|
|
29304
|
-
if (!selectedTags.includes(trimmed)) setSelectedTags([...selectedTags, trimmed]);
|
|
29305
|
-
setSearchTerm("");
|
|
29306
|
-
},
|
|
29307
|
-
[selectedTags, setSelectedTags, setSearchTerm]
|
|
29308
|
-
);
|
|
29309
29298
|
const columns = _react.useMemo.call(void 0,
|
|
29310
29299
|
() => [
|
|
29311
29300
|
{
|
|
@@ -29534,7 +29523,6 @@ function DeviceSelector({
|
|
|
29534
29523
|
tags: tagOptions,
|
|
29535
29524
|
onTagRemove: handleTagRemove,
|
|
29536
29525
|
onClearAll: handleClearAll,
|
|
29537
|
-
onSubmit: handleTagSubmit,
|
|
29538
29526
|
onOpenFilterModal: openTagsModal,
|
|
29539
29527
|
isFilterModalOpen: tagsModalOpen,
|
|
29540
29528
|
onCloseFilterModal: closeTagsModal,
|
|
@@ -29799,14 +29787,6 @@ function DevicesList({
|
|
|
29799
29787
|
(value) => patch({ tags: narrowing.tags.filter((tag) => tag !== value) }),
|
|
29800
29788
|
[patch, narrowing.tags]
|
|
29801
29789
|
);
|
|
29802
|
-
const handleTagSubmit = _react.useCallback.call(void 0,
|
|
29803
|
-
(value) => {
|
|
29804
|
-
const trimmed = value.trim();
|
|
29805
|
-
if (!trimmed) return;
|
|
29806
|
-
patch({ search: "", tags: narrowing.tags.includes(trimmed) ? narrowing.tags : [...narrowing.tags, trimmed] });
|
|
29807
|
-
},
|
|
29808
|
-
[patch, narrowing.tags]
|
|
29809
|
-
);
|
|
29810
29790
|
const handleClearAll = _react.useCallback.call(void 0, () => patch({ search: "", tags: [] }), [patch]);
|
|
29811
29791
|
const narrowed = isNarrowed(narrowing);
|
|
29812
29792
|
const isEmptyState = !isLoading && !isPending && !narrowed && devices.length === 0;
|
|
@@ -29833,7 +29813,6 @@ function DevicesList({
|
|
|
29833
29813
|
tags: tagOptions,
|
|
29834
29814
|
onTagRemove: handleTagRemove,
|
|
29835
29815
|
onClearAll: handleClearAll,
|
|
29836
|
-
onSubmit: handleTagSubmit,
|
|
29837
29816
|
onOpenFilterModal: openFilterModal,
|
|
29838
29817
|
isFilterModalOpen: filterModalOpen,
|
|
29839
29818
|
onCloseFilterModal: closeFilterModal,
|
|
@@ -29938,7 +29917,6 @@ var IDLE_DEVICES_TOOLBAR = {
|
|
|
29938
29917
|
tags: NO_TAGS,
|
|
29939
29918
|
onTagRemove: noop,
|
|
29940
29919
|
onClearAll: noop,
|
|
29941
|
-
onSubmit: noop,
|
|
29942
29920
|
onOpenFilterModal: noop,
|
|
29943
29921
|
isFilterModalOpen: false,
|
|
29944
29922
|
onCloseFilterModal: noop,
|
|
@@ -30047,7 +30025,7 @@ function DevicesPanelView({
|
|
|
30047
30025
|
actionsVariant: "icon-buttons",
|
|
30048
30026
|
className,
|
|
30049
30027
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30050
|
-
|
|
30028
|
+
_chunkZ7A7IZWLcjs.TabSelector,
|
|
30051
30029
|
{
|
|
30052
30030
|
value: viewMode,
|
|
30053
30031
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _656 => _656(value)]),
|
|
@@ -30582,11 +30560,11 @@ var ToolBadge = ({
|
|
|
30582
30560
|
iconClassName
|
|
30583
30561
|
}) => {
|
|
30584
30562
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30585
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30563
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkWAYYHZFScjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30586
30564
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBUEEQD3Gcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30587
30565
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30588
30566
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30589
|
-
|
|
30567
|
+
_chunkZ7A7IZWLcjs.NavLinkAnchorViaRuntime,
|
|
30590
30568
|
{
|
|
30591
30569
|
href,
|
|
30592
30570
|
targetPlatform,
|
|
@@ -30736,7 +30714,7 @@ function LogsTableView({
|
|
|
30736
30714
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30737
30715
|
ToolBadge,
|
|
30738
30716
|
{
|
|
30739
|
-
toolType:
|
|
30717
|
+
toolType: _chunkWAYYHZFScjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30740
30718
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30741
30719
|
}
|
|
30742
30720
|
),
|
|
@@ -30748,7 +30726,7 @@ function LogsTableView({
|
|
|
30748
30726
|
filter: {
|
|
30749
30727
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _664 => _664.toolTypes, 'access', _665 => _665.map, 'call', _666 => _666((toolType) => ({
|
|
30750
30728
|
id: toolType,
|
|
30751
|
-
label:
|
|
30729
|
+
label: _chunkWAYYHZFScjs.toToolLabel.call(void 0, toolType),
|
|
30752
30730
|
value: toolType
|
|
30753
30731
|
}))]), () => ( []))
|
|
30754
30732
|
}
|
|
@@ -30797,7 +30775,7 @@ function LogsTableView({
|
|
|
30797
30775
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30798
30776
|
LogRowButton,
|
|
30799
30777
|
{
|
|
30800
|
-
onClick: getLogHref ?
|
|
30778
|
+
onClick: getLogHref ? _chunkWAYYHZFScjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
30801
30779
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
30802
30780
|
label: "Open in new tab"
|
|
30803
30781
|
}
|
|
@@ -31119,7 +31097,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31119
31097
|
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,
|
|
31120
31098
|
_chunkFCZAUK4Dcjs.Button,
|
|
31121
31099
|
{
|
|
31122
|
-
onClick: loading ? void 0 :
|
|
31100
|
+
onClick: loading ? void 0 : _chunkWAYYHZFScjs.openInNewTab.call(void 0, href),
|
|
31123
31101
|
disabled: loading,
|
|
31124
31102
|
variant: "outline",
|
|
31125
31103
|
size: "icon",
|
|
@@ -31308,9 +31286,9 @@ function ScriptSchedulesTable({
|
|
|
31308
31286
|
|
|
31309
31287
|
// src/components/features/scripts/shell-types.ts
|
|
31310
31288
|
var SCRIPT_SHELL_TYPES = [
|
|
31311
|
-
{ id:
|
|
31312
|
-
{ id:
|
|
31313
|
-
{ id:
|
|
31289
|
+
{ id: _chunkWAYYHZFScjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31290
|
+
{ id: _chunkWAYYHZFScjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31291
|
+
{ id: _chunkWAYYHZFScjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31314
31292
|
];
|
|
31315
31293
|
function scriptShellType(value) {
|
|
31316
31294
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -32786,7 +32764,7 @@ function ScheduleFormFields({
|
|
|
32786
32764
|
disabled = false,
|
|
32787
32765
|
renderScriptSearch,
|
|
32788
32766
|
timeReferenceGate = "off",
|
|
32789
|
-
platforms =
|
|
32767
|
+
platforms = _chunkWAYYHZFScjs.OS_PLATFORMS,
|
|
32790
32768
|
comingSoonPlatforms = [],
|
|
32791
32769
|
getTimeSlots,
|
|
32792
32770
|
nameLayout = "stacked",
|
|
@@ -32932,7 +32910,7 @@ function ScheduleFormFields({
|
|
|
32932
32910
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
32933
32911
|
|
|
32934
32912
|
function ScriptPlatformIcons({ platforms }) {
|
|
32935
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
32913
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkWAYYHZFScjs.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)) });
|
|
32936
32914
|
}
|
|
32937
32915
|
function ScheduleScriptSearchField({
|
|
32938
32916
|
scriptId,
|
|
@@ -33005,7 +32983,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33005
32983
|
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,
|
|
33006
32984
|
_chunkFCZAUK4Dcjs.Button,
|
|
33007
32985
|
{
|
|
33008
|
-
onClick: loading ? void 0 :
|
|
32986
|
+
onClick: loading ? void 0 : _chunkWAYYHZFScjs.openInNewTab.call(void 0, href),
|
|
33009
32987
|
disabled: loading,
|
|
33010
32988
|
variant: "outline",
|
|
33011
32989
|
size: "icon",
|
|
@@ -33356,7 +33334,7 @@ function ConversationCard({
|
|
|
33356
33334
|
style: tint,
|
|
33357
33335
|
onClick: selection && ((event) => {
|
|
33358
33336
|
if (event.button !== 0 || _optionalChain([window, 'access', _730 => _730.getSelection, 'call', _731 => _731(), 'optionalAccess', _732 => _732.toString, 'call', _733 => _733()])) return;
|
|
33359
|
-
if (!
|
|
33337
|
+
if (!_chunkWAYYHZFScjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33360
33338
|
selection.onToggle();
|
|
33361
33339
|
}),
|
|
33362
33340
|
children: [
|
|
@@ -33379,7 +33357,7 @@ function ConversationCard({
|
|
|
33379
33357
|
)
|
|
33380
33358
|
),
|
|
33381
33359
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33382
|
-
|
|
33360
|
+
_chunkWAYYHZFScjs.ChatTurn,
|
|
33383
33361
|
{
|
|
33384
33362
|
avatar: requester.avatar,
|
|
33385
33363
|
name: requester.name,
|
|
@@ -33400,7 +33378,7 @@ function ConversationCard({
|
|
|
33400
33378
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _734 => _734.context])), children: context.text })
|
|
33401
33379
|
] }),
|
|
33402
33380
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33403
|
-
|
|
33381
|
+
_chunkWAYYHZFScjs.ChatTurn,
|
|
33404
33382
|
{
|
|
33405
33383
|
avatar: responder.avatar,
|
|
33406
33384
|
name: responder.name,
|
|
@@ -33445,7 +33423,7 @@ function ConversationCardSkeleton({
|
|
|
33445
33423
|
{
|
|
33446
33424
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33447
33425
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33448
|
-
|
|
33426
|
+
_chunkWAYYHZFScjs.ChatTurn,
|
|
33449
33427
|
{
|
|
33450
33428
|
loading: true,
|
|
33451
33429
|
name: "",
|
|
@@ -33469,7 +33447,7 @@ function ConversationCardSkeleton({
|
|
|
33469
33447
|
] })
|
|
33470
33448
|
] }),
|
|
33471
33449
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33472
|
-
|
|
33450
|
+
_chunkWAYYHZFScjs.ChatTurn,
|
|
33473
33451
|
{
|
|
33474
33452
|
loading: true,
|
|
33475
33453
|
name: "",
|