@flamingo-stack/openframe-frontend-core 0.0.790 → 0.0.792
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-7GNSCDUK.cjs → chunk-2I2AXIBD.cjs} +136 -139
- package/dist/{chunk-6YPT2BD4.cjs → chunk-3AN35WAO.cjs} +61 -61
- package/dist/{chunk-O4XBGLMA.cjs → chunk-4G2KZHZW.cjs} +8 -4
- package/dist/{chunk-LZG7PBF3.cjs → chunk-5MIGBLDC.cjs} +14 -14
- package/dist/{chunk-TIDJN3OQ.cjs → chunk-6ZPHUDTP.cjs} +3 -3
- package/dist/{chunk-ISSBE5JP.cjs → chunk-7EH7KKFW.cjs} +25 -25
- package/dist/{chunk-HKMEI2NX.cjs → chunk-ABZGBMC2.cjs} +30 -30
- package/dist/{chunk-PLNLTN4R.cjs → chunk-EPWLLLGW.cjs} +11 -11
- package/dist/{chunk-V4RKY4ZY.cjs → chunk-FBA6S4ES.cjs} +43 -42
- package/dist/{chunk-DKOLQPE7.cjs → chunk-FDZOE5TL.cjs} +16 -1
- package/dist/{chunk-RIIMY7XW.cjs → chunk-HMV32LV4.cjs} +4 -4
- package/dist/{chunk-ANQCSCNU.cjs → chunk-IHLGPIFO.cjs} +2 -2
- package/dist/{chunk-STEJZPIO.cjs → chunk-LHV2R6QU.cjs} +3 -3
- package/dist/{chunk-RYSEW4XI.cjs → chunk-O4TKEWNW.cjs} +11 -11
- package/dist/{chunk-OWKLWCLZ.cjs → chunk-OKQQJ5TD.cjs} +50 -40
- package/dist/{chunk-5FV2FQQD.cjs → chunk-OZIPPOSJ.cjs} +7 -5
- package/dist/{chunk-EU3NQPFE.cjs → chunk-P2JY2XCV.cjs} +48 -48
- package/dist/{chunk-4YIDZCTL.cjs → chunk-SMZWXY4X.cjs} +7 -13
- package/dist/{chunk-KI5TJDK3.cjs → chunk-SXEIK7RU.cjs} +2 -2
- package/dist/{chunk-F7UIQ6UG.cjs → chunk-TBGVWIF7.cjs} +2 -2
- package/dist/{chunk-GYSRYYDM.cjs → chunk-UNUJ5YQ5.cjs} +4 -4
- package/dist/{chunk-QPXC3LEV.cjs → chunk-VUQNTCAL.cjs} +13 -13
- package/dist/{chunk-WTNAXQJW.cjs → chunk-W3Q7ZQLS.cjs} +4 -4
- package/dist/{chunk-EY64NXE7.cjs → chunk-WWWLOMZI.cjs} +82 -75
- package/dist/{chunk-F62QXKNL.cjs → chunk-YPWFYQFE.cjs} +16 -16
- package/dist/{chunk-PHWLEYAG.cjs → chunk-YWNXZAQ2.cjs} +32 -32
- package/dist/{chunk-IYWVS3SS.cjs → chunk-ZW2TS775.cjs} +2 -2
- package/dist/{chunk-F4RCB5LB.cjs → chunk-ZZPGSLMO.cjs} +4 -4
- package/dist/{cloud-tenants-D6DYR6UV.cjs → cloud-tenants-CQOD6DDR.cjs} +16 -16
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/ask-display.d.ts.map +1 -1
- package/dist/components/chat/ask-display.js +2 -4
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/docs/skeletons.d.ts.map +1 -1
- package/dist/components/docs/skeletons.js +11 -1
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/cards-strip.d.ts.map +1 -1
- package/dist/components/features/cards-strip.js +4 -1
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +83 -83
- package/dist/components/help-center-pages/trust-center-sections.js +1 -1
- package/dist/components/index.cjs +52 -52
- package/dist/components/meeting-scheduler/directory.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/directory.js +3 -1
- package/dist/components/meeting-scheduler/index.cjs +41 -39
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -1
- package/dist/components/product-demo/fixtures/devices.js +5 -12
- package/dist/components/product-demo/fixtures/shared.d.ts +89 -0
- package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -1
- package/dist/components/product-demo/fixtures/shared.js +15 -0
- package/dist/components/product-demo/index.cjs +20 -20
- package/dist/components/product-demo/screens/devices-view.d.ts.map +1 -1
- package/dist/components/product-demo/screens/devices-view.js +3 -1
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +15 -8
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/image-gallery-modal.d.ts.map +1 -1
- package/dist/components/ui/image-gallery-modal.js +7 -5
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.js +9 -12
- package/dist/{devices-MZQ4573H.cjs → devices-PEBUW34G.cjs} +12 -12
- package/dist/{embeddable-chat-QLJ2KSWT.cjs → embeddable-chat-54X3TTG4.cjs} +62 -62
- package/dist/index.cjs +10 -10
- package/dist/{knowledge-QZTFICLS.cjs → knowledge-KL4BP2YK.cjs} +11 -11
- package/dist/{logs-2YOR2SUA.cjs → logs-TO277M4F.cjs} +28 -28
- package/dist/{policies-KKFC4UOU.cjs → policies-6HSKMG4I.cjs} +13 -13
- package/dist/{remote-session-WKLEYACD.cjs → remote-session-4ZNTOLOQ.cjs} +5 -5
- package/dist/{scripts-UA46WAET.cjs → scripts-4IO2LPMY.cjs} +17 -17
- package/dist/{software-update-IN6TJL73.cjs → software-update-RMAWEZKX.cjs} +17 -17
- package/dist/{tickets-board-URMIIAKD.cjs → tickets-board-X4GHEKPB.cjs} +17 -17
- package/package.json +1 -1
- package/src/components/chat/ask-display.tsx +2 -4
- package/src/components/docs/skeletons.tsx +7 -1
- package/src/components/features/cards-strip.tsx +6 -2
- package/src/components/help-center-pages/trust-center-sections.tsx +1 -1
- package/src/components/meeting-scheduler/directory.tsx +6 -1
- package/src/components/product-demo/fixtures/devices.ts +5 -12
- package/src/components/product-demo/fixtures/shared.ts +20 -0
- package/src/components/product-demo/screens/devices-view.tsx +3 -0
- package/src/components/shared/roadmap/roadmap-grid.tsx +29 -7
- package/src/components/ui/image-gallery-modal.tsx +10 -7
- package/src/components/ui/snap-carousel.tsx +12 -11
|
@@ -107,7 +107,7 @@ var _chunkRFIBRGXGcjs = require('./chunk-RFIBRGXG.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _chunk7EH7KKFWcjs = require('./chunk-7EH7KKFW.cjs');
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
|
|
@@ -127,7 +127,7 @@ var _chunkISSBE5JPcjs = require('./chunk-ISSBE5JP.cjs');
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _chunkFBA6S4EScjs = require('./chunk-FBA6S4ES.cjs');
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
@@ -486,7 +486,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
486
486
|
|
|
487
487
|
|
|
488
488
|
|
|
489
|
-
var
|
|
489
|
+
var _chunkOZIPPOSJcjs = require('./chunk-OZIPPOSJ.cjs');
|
|
490
490
|
|
|
491
491
|
|
|
492
492
|
|
|
@@ -695,7 +695,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
695
695
|
var useTheme = _nextthemes.useTheme;
|
|
696
696
|
function useThemeToggle() {
|
|
697
697
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
698
|
-
const mounted =
|
|
698
|
+
const mounted = _chunkFBA6S4EScjs.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
|
+
..._chunk7EH7KKFWcjs.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
|
+
..._chunk7EH7KKFWcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4650
4650
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4651
4651
|
onSubmit: (e) => {
|
|
4652
4652
|
e.preventDefault();
|
|
@@ -6040,7 +6040,7 @@ function EmbedViewerFrame({
|
|
|
6040
6040
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6041
6041
|
_react.useEffect.call(void 0, () => {
|
|
6042
6042
|
if (!fullscreenControl) return void 0;
|
|
6043
|
-
const controller = new (0,
|
|
6043
|
+
const controller = new (0, _chunk7EH7KKFWcjs.FullscreenSwitchController)({
|
|
6044
6044
|
target: () => frameRef.current,
|
|
6045
6045
|
onFullscreenChange: setIsFullscreen
|
|
6046
6046
|
});
|
|
@@ -7279,7 +7279,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7279
7279
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7280
7280
|
};
|
|
7281
7281
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7282
|
-
const postLinkRel =
|
|
7282
|
+
const postLinkRel = _chunkFBA6S4EScjs.renderedLinkRel.call(void 0, rel, true);
|
|
7283
7283
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7284
7284
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7285
7285
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7611,7 +7611,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7611
7611
|
] });
|
|
7612
7612
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7613
7613
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7614
|
-
const postLinkRel =
|
|
7614
|
+
const postLinkRel = _chunkFBA6S4EScjs.renderedLinkRel.call(void 0, rel, true);
|
|
7615
7615
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7616
7616
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7617
7617
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7813,7 +7813,7 @@ function buildRichEmbedOverrides({
|
|
|
7813
7813
|
ogEndpointPath,
|
|
7814
7814
|
textSizes
|
|
7815
7815
|
}) {
|
|
7816
|
-
const standard =
|
|
7816
|
+
const standard = _chunkFBA6S4EScjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7817
7817
|
return {
|
|
7818
7818
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7819
7819
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7949,14 +7949,14 @@ function buildRichEmbedOverrides({
|
|
|
7949
7949
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7950
7950
|
// elsewhere). Guard against empty `![]()`.
|
|
7951
7951
|
img: ({ src, alt }) => {
|
|
7952
|
-
if (!
|
|
7952
|
+
if (!_chunkFBA6S4EScjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7953
7953
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7954
7954
|
},
|
|
7955
7955
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7956
7956
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7957
7957
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7958
7958
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7959
|
-
if (!
|
|
7959
|
+
if (!_chunkFBA6S4EScjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7960
7960
|
const url = src.trim();
|
|
7961
7961
|
if (_chunkC5EPWKM7cjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5EPWKM7cjs.Video, { kind: "youtube", url });
|
|
7962
7962
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
@@ -7964,7 +7964,7 @@ function buildRichEmbedOverrides({
|
|
|
7964
7964
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7965
7965
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7966
7966
|
video: ({ src, poster, className }) => {
|
|
7967
|
-
if (!
|
|
7967
|
+
if (!_chunkFBA6S4EScjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7968
7968
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC5EPWKM7cjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7969
7969
|
}
|
|
7970
7970
|
};
|
|
@@ -8073,7 +8073,7 @@ var processShortcodes = (content) => {
|
|
|
8073
8073
|
try {
|
|
8074
8074
|
const urlObj = new URL(url);
|
|
8075
8075
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8076
|
-
const hostIs = (domain) =>
|
|
8076
|
+
const hostIs = (domain) => _chunk7EH7KKFWcjs.hostMatches.call(void 0, hostname, domain);
|
|
8077
8077
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8078
8078
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8079
8079
|
return match;
|
|
@@ -8150,13 +8150,13 @@ var RichMarkdownInner = ({
|
|
|
8150
8150
|
},
|
|
8151
8151
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8152
8152
|
);
|
|
8153
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8153
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkFBA6S4EScjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8154
8154
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8155
8155
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8156
8156
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8157
8157
|
);
|
|
8158
8158
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8159
|
-
|
|
8159
|
+
_chunkFBA6S4EScjs.MarkdownEngine,
|
|
8160
8160
|
{
|
|
8161
8161
|
content,
|
|
8162
8162
|
className,
|
|
@@ -8180,7 +8180,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8180
8180
|
className = "",
|
|
8181
8181
|
sectionIds,
|
|
8182
8182
|
onInternalLinkClick,
|
|
8183
|
-
brokenLinks =
|
|
8183
|
+
brokenLinks = _chunkFBA6S4EScjs.NO_BROKEN_LINKS,
|
|
8184
8184
|
currentPath,
|
|
8185
8185
|
resolveSource = "openframe-docs",
|
|
8186
8186
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9525,7 +9525,7 @@ function renderAdvancedPageContainer({
|
|
|
9525
9525
|
contentClassName,
|
|
9526
9526
|
showHeader = true
|
|
9527
9527
|
}, inScope = false) {
|
|
9528
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRPC4P7GYcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children:
|
|
9528
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRPC4P7GYcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunkOZIPPOSJcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9529
9529
|
const subtitleNode = subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: PAGE_CONTAINER_SUBTITLE_CLASS, children: subtitle }) : inScope && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerSubtitleSkeleton, {}) : null;
|
|
9530
9530
|
const getActionsVariant = () => {
|
|
9531
9531
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9952,7 +9952,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9952
9952
|
|
|
9953
9953
|
|
|
9954
9954
|
function PlatformBrowseButton({ item }) {
|
|
9955
|
-
const linkProps =
|
|
9955
|
+
const linkProps = _chunkFBA6S4EScjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9956
9956
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9957
9957
|
"Browse ",
|
|
9958
9958
|
item.buttonText
|
|
@@ -10471,10 +10471,10 @@ var OSTypeBadge = ({
|
|
|
10471
10471
|
if (!osType) {
|
|
10472
10472
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10473
10473
|
}
|
|
10474
|
-
const normalized =
|
|
10474
|
+
const normalized = _chunk7EH7KKFWcjs.normalizeOSType.call(void 0, osType);
|
|
10475
10475
|
if (!normalized && !labelOnly) return null;
|
|
10476
|
-
const label =
|
|
10477
|
-
const IconComponent =
|
|
10476
|
+
const label = _chunk7EH7KKFWcjs.getOSLabel.call(void 0, osType);
|
|
10477
|
+
const IconComponent = _chunk7EH7KKFWcjs.getOSIcon.call(void 0, osType);
|
|
10478
10478
|
if (iconOnly && IconComponent) {
|
|
10479
10479
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk6YZNUHXTcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10480
10480
|
}
|
|
@@ -10770,7 +10770,7 @@ function ComplianceLogo({
|
|
|
10770
10770
|
fallback = null,
|
|
10771
10771
|
className
|
|
10772
10772
|
}) {
|
|
10773
|
-
const standard =
|
|
10773
|
+
const standard = _chunk7EH7KKFWcjs.complianceStandardForName.call(void 0, ...names);
|
|
10774
10774
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10775
10775
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10776
10776
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12692,7 +12692,7 @@ function DataTableRowImpl({
|
|
|
12692
12692
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12693
12693
|
const handleClick = _react.useCallback.call(void 0,
|
|
12694
12694
|
(e) => {
|
|
12695
|
-
if (!
|
|
12695
|
+
if (!_chunk7EH7KKFWcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12696
12696
|
if (isLinkMode) e.preventDefault();
|
|
12697
12697
|
return;
|
|
12698
12698
|
}
|
|
@@ -12706,7 +12706,7 @@ function DataTableRowImpl({
|
|
|
12706
12706
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _222 => _222.contains, 'call', _223 => _223(target)])) return;
|
|
12707
12707
|
const nestedLink = target.closest("a");
|
|
12708
12708
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12709
|
-
if (!
|
|
12709
|
+
if (!_chunk7EH7KKFWcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12710
12710
|
}, []);
|
|
12711
12711
|
const containerClassName = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
12712
12712
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12835,7 +12835,7 @@ function DataTableBody({
|
|
|
12835
12835
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12836
12836
|
if (loading && loadingCells && hasRows) {
|
|
12837
12837
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12838
|
-
|
|
12838
|
+
_chunkFBA6S4EScjs.LoadingFallback,
|
|
12839
12839
|
{
|
|
12840
12840
|
label: "Loading results",
|
|
12841
12841
|
status: loadingRegion && !inScope,
|
|
@@ -13183,7 +13183,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13183
13183
|
// child of the cell.
|
|
13184
13184
|
_optionalChain([meta, 'optionalAccess', _241 => _241.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13185
13185
|
filterTrigger,
|
|
13186
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13186
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7EH7KKFWcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13187
13187
|
] }) : filterTrigger
|
|
13188
13188
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13189
13189
|
"div",
|
|
@@ -13208,7 +13208,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13208
13208
|
// centred on the row.
|
|
13209
13209
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13210
13210
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13211
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13211
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7EH7KKFWcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13212
13212
|
] })
|
|
13213
13213
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13214
13214
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13447,7 +13447,7 @@ function PhoneInput({
|
|
|
13447
13447
|
placeholder = "Phone Number (optional)",
|
|
13448
13448
|
onKeyDown
|
|
13449
13449
|
}) {
|
|
13450
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13450
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunk7EH7KKFWcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13451
13451
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13452
13452
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13453
13453
|
[countryCode, priority, others]
|
|
@@ -13462,7 +13462,7 @@ function PhoneInput({
|
|
|
13462
13462
|
_optionalChain([onValidationChange, 'optionalCall', _258 => _258(false)]);
|
|
13463
13463
|
return;
|
|
13464
13464
|
}
|
|
13465
|
-
const invalid = !
|
|
13465
|
+
const invalid = !_chunk7EH7KKFWcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13466
13466
|
setIsInvalid(invalid);
|
|
13467
13467
|
_optionalChain([onValidationChange, 'optionalCall', _259 => _259(invalid)]);
|
|
13468
13468
|
},
|
|
@@ -14321,7 +14321,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14321
14321
|
),
|
|
14322
14322
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14323
14323
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14324
|
-
|
|
14324
|
+
_chunkFBA6S4EScjs.TabSelector,
|
|
14325
14325
|
{
|
|
14326
14326
|
label: "Search engines",
|
|
14327
14327
|
value: choice,
|
|
@@ -14378,7 +14378,7 @@ function useMarkdownLinkCommand() {
|
|
|
14378
14378
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14379
14379
|
icon: command.icon,
|
|
14380
14380
|
execute: (state, api) => {
|
|
14381
|
-
const existing =
|
|
14381
|
+
const existing = _chunkFBA6S4EScjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14382
14382
|
setPending(
|
|
14383
14383
|
existing ? {
|
|
14384
14384
|
api,
|
|
@@ -14409,7 +14409,7 @@ function useMarkdownLinkCommand() {
|
|
|
14409
14409
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _316 => _316.initial]), () => ( EMPTY_LINK)),
|
|
14410
14410
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _317 => _317.editing]), () => ( false)),
|
|
14411
14411
|
onSubmit: (link) => {
|
|
14412
|
-
if (pending) write(pending,
|
|
14412
|
+
if (pending) write(pending, _chunkFBA6S4EScjs.formatMarkdownLink.call(void 0, link));
|
|
14413
14413
|
},
|
|
14414
14414
|
onRemove: () => {
|
|
14415
14415
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14575,7 +14575,7 @@ function MarkdownEditor({
|
|
|
14575
14575
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14576
14576
|
try {
|
|
14577
14577
|
const url = await onUploadFile(file);
|
|
14578
|
-
const isImage =
|
|
14578
|
+
const isImage = _chunkOZIPPOSJcjs.fileMediaType.call(void 0, file) === "image";
|
|
14579
14579
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14580
14580
|
insertTextAtCursor(markdown);
|
|
14581
14581
|
_optionalChain([onFileUploaded, 'optionalCall', _320 => _320(url, file.name)]);
|
|
@@ -14705,7 +14705,7 @@ function MarkdownEditor({
|
|
|
14705
14705
|
type: "file",
|
|
14706
14706
|
className: "hidden",
|
|
14707
14707
|
onChange: handleFileInputChange,
|
|
14708
|
-
accept: `${
|
|
14708
|
+
accept: `${_chunkOZIPPOSJcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14709
14709
|
}
|
|
14710
14710
|
),
|
|
14711
14711
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorHeightContext.Provider, { value: height, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorFieldSkeleton, { height }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15119,7 +15119,7 @@ function matchesAccept2(file, accept) {
|
|
|
15119
15119
|
return patterns.some((pattern) => {
|
|
15120
15120
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
15121
15121
|
if (pattern.endsWith("/*"))
|
|
15122
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
15122
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkOZIPPOSJcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
15123
15123
|
return fileType === pattern;
|
|
15124
15124
|
});
|
|
15125
15125
|
}
|
|
@@ -15127,7 +15127,7 @@ function ImageUploader({
|
|
|
15127
15127
|
value,
|
|
15128
15128
|
onChange,
|
|
15129
15129
|
onRemove,
|
|
15130
|
-
accept =
|
|
15130
|
+
accept = _chunkOZIPPOSJcjs.IMAGE_FILE_ACCEPT,
|
|
15131
15131
|
maxSize = DEFAULT_MAX_SIZE,
|
|
15132
15132
|
label = "Cover Image",
|
|
15133
15133
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -16288,7 +16288,7 @@ function TicketInfoSection({
|
|
|
16288
16288
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16289
16289
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
16290
16290
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16291
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16291
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFBA6S4EScjs.SimpleMarkdownRenderer, { content: description }),
|
|
16292
16292
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16293
16293
|
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7VXMO4XJcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16294
16294
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16773,7 +16773,7 @@ function PhotoWall({
|
|
|
16773
16773
|
gap: COLUMN_GAP_PX
|
|
16774
16774
|
};
|
|
16775
16775
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk6YZNUHXTcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16776
|
-
|
|
16776
|
+
_chunkFBA6S4EScjs.MarqueeWall,
|
|
16777
16777
|
{
|
|
16778
16778
|
axis: "y",
|
|
16779
16779
|
reverse: index % 2 === 1,
|
|
@@ -17333,7 +17333,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17333
17333
|
};
|
|
17334
17334
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17335
17335
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17336
|
-
const labels =
|
|
17336
|
+
const labels = _chunk7EH7KKFWcjs.trialLabels.call(void 0, trialDays);
|
|
17337
17337
|
return terms.flatMap((term) => {
|
|
17338
17338
|
const label = labels[term];
|
|
17339
17339
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -17595,19 +17595,11 @@ function SnapCarouselControls({
|
|
|
17595
17595
|
{
|
|
17596
17596
|
direction: "previous",
|
|
17597
17597
|
"aria-label": prevLabel,
|
|
17598
|
-
disabled: loading ||
|
|
17598
|
+
disabled: loading || count < 2,
|
|
17599
17599
|
onClick: onPrevious
|
|
17600
17600
|
}
|
|
17601
17601
|
),
|
|
17602
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17603
|
-
StepArrowButton,
|
|
17604
|
-
{
|
|
17605
|
-
direction: "next",
|
|
17606
|
-
"aria-label": nextLabel,
|
|
17607
|
-
disabled: loading || index === count - 1,
|
|
17608
|
-
onClick: onNext
|
|
17609
|
-
}
|
|
17610
|
-
)
|
|
17602
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, StepArrowButton, { direction: "next", "aria-label": nextLabel, disabled: loading || count < 2, onClick: onNext })
|
|
17611
17603
|
]
|
|
17612
17604
|
}
|
|
17613
17605
|
);
|
|
@@ -17686,8 +17678,13 @@ function SnapCarousel({
|
|
|
17686
17678
|
const track = trackRef.current;
|
|
17687
17679
|
const step = slideStep();
|
|
17688
17680
|
if (!track || step === 0) return;
|
|
17681
|
+
if (index === 0) {
|
|
17682
|
+
goTo(count - 1);
|
|
17683
|
+
return;
|
|
17684
|
+
}
|
|
17689
17685
|
goTo(Math.min(index, Math.round(track.scrollLeft / step)) - 1);
|
|
17690
|
-
}, [goTo, index, slideStep]);
|
|
17686
|
+
}, [count, goTo, index, slideStep]);
|
|
17687
|
+
const goNext = _react.useCallback.call(void 0, () => goTo(index >= count - 1 ? 0 : index + 1), [count, goTo, index]);
|
|
17691
17688
|
const canAutoAdvance = autoAdvanceMs > 0 && count > 1;
|
|
17692
17689
|
const playing = auto.playing && canAutoAdvance;
|
|
17693
17690
|
const ranMs = _chunkCWA6J7KCcjs.useResumableTimeout.call(void 0, {
|
|
@@ -17737,7 +17734,7 @@ function SnapCarousel({
|
|
|
17737
17734
|
prevLabel,
|
|
17738
17735
|
nextLabel,
|
|
17739
17736
|
onPrevious: goBack,
|
|
17740
|
-
onNext:
|
|
17737
|
+
onNext: goNext,
|
|
17741
17738
|
wait: showsWait ? { durationMs: autoAdvanceMs, ranMs, running: playing } : null,
|
|
17742
17739
|
announce: !playing
|
|
17743
17740
|
}
|
|
@@ -18370,7 +18367,7 @@ function CompleteAccountForm({
|
|
|
18370
18367
|
),
|
|
18371
18368
|
children: [
|
|
18372
18369
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18373
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18370
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkOZIPPOSJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18374
18371
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18375
18372
|
] }),
|
|
18376
18373
|
(ssoProvidersLoading || ssoProviders && ssoProviders.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18521,7 +18518,7 @@ function CreateOrganizationForm({
|
|
|
18521
18518
|
),
|
|
18522
18519
|
children: [
|
|
18523
18520
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18524
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18521
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkOZIPPOSJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18525
18522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: CREATE_ORGANIZATION_SUBTITLE_BAR_CLASS }) : subtitle })
|
|
18526
18523
|
] }),
|
|
18527
18524
|
email === void 0 ? null : emailReadOnly && emailReadOnlyLabel === null ? (
|
|
@@ -18668,7 +18665,7 @@ function InviteLinkInvalidModal({
|
|
|
18668
18665
|
),
|
|
18669
18666
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
18670
18667
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18671
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18668
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkOZIPPOSJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18672
18669
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18673
18670
|
_chunkK7I3YYYUcjs.Button,
|
|
18674
18671
|
{
|
|
@@ -18752,7 +18749,7 @@ function LoginForm({
|
|
|
18752
18749
|
),
|
|
18753
18750
|
children: [
|
|
18754
18751
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18755
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18752
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkOZIPPOSJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18756
18753
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18757
18754
|
] }),
|
|
18758
18755
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18879,7 +18876,7 @@ function NoAccountNotice({
|
|
|
18879
18876
|
),
|
|
18880
18877
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
18881
18878
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18882
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18879
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkOZIPPOSJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18883
18880
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18884
18881
|
] }),
|
|
18885
18882
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -18928,7 +18925,7 @@ function OpenFrameSsoLoginForm({
|
|
|
18928
18925
|
),
|
|
18929
18926
|
children: [
|
|
18930
18927
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
18931
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18928
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkOZIPPOSJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18932
18929
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18933
18930
|
] }),
|
|
18934
18931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19033,7 +19030,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19033
19030
|
),
|
|
19034
19031
|
children: [
|
|
19035
19032
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19036
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19033
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkOZIPPOSJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19037
19034
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19038
19035
|
] }),
|
|
19039
19036
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19139,7 +19136,7 @@ function PasswordResetForm({
|
|
|
19139
19136
|
),
|
|
19140
19137
|
children: [
|
|
19141
19138
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19142
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19139
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkOZIPPOSJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19143
19140
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19144
19141
|
] }),
|
|
19145
19142
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19260,7 +19257,7 @@ function SsoJoinForm({
|
|
|
19260
19257
|
),
|
|
19261
19258
|
children: [
|
|
19262
19259
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19260
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkOZIPPOSJcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19264
19261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19265
19262
|
] }),
|
|
19266
19263
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)]", children: [
|
|
@@ -21115,15 +21112,15 @@ function useLoading() {
|
|
|
21115
21112
|
|
|
21116
21113
|
|
|
21117
21114
|
function isAlreadyThere(file, existing) {
|
|
21118
|
-
const key =
|
|
21115
|
+
const key = _chunkOZIPPOSJcjs.mediaNameKey.call(void 0, file.name);
|
|
21119
21116
|
if (!key) return false;
|
|
21120
21117
|
return existing.some(
|
|
21121
|
-
(item) => (item.title ?
|
|
21118
|
+
(item) => (item.title ? _chunkOZIPPOSJcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkOZIPPOSJcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
21122
21119
|
);
|
|
21123
21120
|
}
|
|
21124
21121
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
21125
|
-
var isVideoItem = (item) =>
|
|
21126
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
21122
|
+
var isVideoItem = (item) => _chunkOZIPPOSJcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
21123
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkOZIPPOSJcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkOZIPPOSJcjs.MEDIA_FILE_ACCEPT };
|
|
21127
21124
|
var MEDIA_KIND_COPY = {
|
|
21128
21125
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
21129
21126
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -21147,12 +21144,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
21147
21144
|
const seen = /* @__PURE__ */ new Set();
|
|
21148
21145
|
const accepted = [];
|
|
21149
21146
|
for (const file of files) {
|
|
21150
|
-
const mediaType =
|
|
21147
|
+
const mediaType = _chunkOZIPPOSJcjs.fileMediaType.call(void 0, file);
|
|
21151
21148
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
21152
21149
|
unsupported.push(file.name);
|
|
21153
21150
|
continue;
|
|
21154
21151
|
}
|
|
21155
|
-
const contentKey = await
|
|
21152
|
+
const contentKey = await _chunkOZIPPOSJcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
21156
21153
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
21157
21154
|
duplicates.push(file.name);
|
|
21158
21155
|
continue;
|
|
@@ -21767,7 +21764,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21767
21764
|
empty: "No token rates are in effect right now."
|
|
21768
21765
|
};
|
|
21769
21766
|
function providerMark(providerType, stated, className) {
|
|
21770
|
-
const Mark = _chunk75PJ2SAZcjs.findIcon.call(void 0,
|
|
21767
|
+
const Mark = _chunk75PJ2SAZcjs.findIcon.call(void 0, _chunk7EH7KKFWcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21771
21768
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21772
21769
|
}
|
|
21773
21770
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21785,7 +21782,7 @@ var UNIT_LINE_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
|
21785
21782
|
var TABS_ROW_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21786
21783
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21787
21784
|
function useProviderGroup(rates) {
|
|
21788
|
-
const groups =
|
|
21785
|
+
const groups = _chunk7EH7KKFWcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21789
21786
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21790
21787
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21791
21788
|
}
|
|
@@ -21796,7 +21793,7 @@ function ProviderTabs({
|
|
|
21796
21793
|
className
|
|
21797
21794
|
}) {
|
|
21798
21795
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21799
|
-
|
|
21796
|
+
_chunkFBA6S4EScjs.TabSelector,
|
|
21800
21797
|
{
|
|
21801
21798
|
variant: "secondary",
|
|
21802
21799
|
scrollable: true,
|
|
@@ -21804,7 +21801,7 @@ function ProviderTabs({
|
|
|
21804
21801
|
onValueChange,
|
|
21805
21802
|
items: groups.map((candidate) => ({
|
|
21806
21803
|
id: candidate.providerType,
|
|
21807
|
-
label:
|
|
21804
|
+
label: _chunk7EH7KKFWcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _459 => _459.rates, 'access', _460 => _460[0], 'optionalAccess', _461 => _461.providerLabel])),
|
|
21808
21805
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerIcon]), "size-full")
|
|
21809
21806
|
})),
|
|
21810
21807
|
className
|
|
@@ -21881,8 +21878,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21881
21878
|
] }),
|
|
21882
21879
|
/* @__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: [
|
|
21883
21880
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21885
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21881
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunk7EH7KKFWcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunk7EH7KKFWcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21886
21883
|
] }, rate.modelName)) })
|
|
21887
21884
|
] }),
|
|
21888
21885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -21929,7 +21926,7 @@ function modelOption(rate) {
|
|
|
21929
21926
|
return {
|
|
21930
21927
|
label: rate.displayName || rate.modelName,
|
|
21931
21928
|
value: rate.modelName,
|
|
21932
|
-
description:
|
|
21929
|
+
description: _chunk7EH7KKFWcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21933
21930
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21934
21931
|
};
|
|
21935
21932
|
}
|
|
@@ -21984,8 +21981,8 @@ function ModelTokenExchange({
|
|
|
21984
21981
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21985
21982
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _465 => _465.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21986
21983
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21987
|
-
const tokens =
|
|
21988
|
-
const cost =
|
|
21984
|
+
const tokens = _chunk7EH7KKFWcjs.formatTokenAmount.call(void 0, balance);
|
|
21985
|
+
const cost = _chunk7EH7KKFWcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
21989
21986
|
const balancePrice = cost === null ? null : _chunk7VXMO4XJcjs.formatPrice.call(void 0, cost);
|
|
21990
21987
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21991
21988
|
const options = models.map(modelOption);
|
|
@@ -22028,7 +22025,7 @@ function ModelTokenExchange({
|
|
|
22028
22025
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22029
22026
|
size: "small",
|
|
22030
22027
|
onClick: () => setChosen(preset.tokens),
|
|
22031
|
-
children: copy.buy.preset(
|
|
22028
|
+
children: copy.buy.preset(_chunk7EH7KKFWcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22032
22029
|
},
|
|
22033
22030
|
preset.label
|
|
22034
22031
|
)) })
|
|
@@ -22045,7 +22042,7 @@ function ModelTokenExchange({
|
|
|
22045
22042
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _466 => _466.providerType]) === providerType ? rate : null)));
|
|
22046
22043
|
return {
|
|
22047
22044
|
id: providerType,
|
|
22048
|
-
name:
|
|
22045
|
+
name: _chunk7EH7KKFWcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _467 => _467.providerLabel])),
|
|
22049
22046
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _468 => _468.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22050
22047
|
};
|
|
22051
22048
|
}),
|
|
@@ -22084,7 +22081,7 @@ function ModelTokenExchange({
|
|
|
22084
22081
|
{
|
|
22085
22082
|
size: "plain",
|
|
22086
22083
|
loading,
|
|
22087
|
-
figure:
|
|
22084
|
+
figure: _chunk7EH7KKFWcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _473 => _473.inputTokenRate])),
|
|
22088
22085
|
words: copy.charge.input
|
|
22089
22086
|
}
|
|
22090
22087
|
),
|
|
@@ -22093,7 +22090,7 @@ function ModelTokenExchange({
|
|
|
22093
22090
|
{
|
|
22094
22091
|
size: "plain",
|
|
22095
22092
|
loading,
|
|
22096
|
-
figure:
|
|
22093
|
+
figure: _chunk7EH7KKFWcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _474 => _474.outputTokenRate])),
|
|
22097
22094
|
words: copy.charge.output
|
|
22098
22095
|
}
|
|
22099
22096
|
)
|
|
@@ -22105,9 +22102,9 @@ function ModelTokenExchange({
|
|
|
22105
22102
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22106
22103
|
children: [
|
|
22107
22104
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22108
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22105
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunk7EH7KKFWcjs.formatTokenAmount.call(void 0, _chunk7EH7KKFWcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22109
22106
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22110
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22107
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunk7EH7KKFWcjs.formatTokenAmount.call(void 0, _chunk7EH7KKFWcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22111
22108
|
]
|
|
22112
22109
|
}
|
|
22113
22110
|
)
|
|
@@ -22654,14 +22651,14 @@ var ConfidenceBadge = ({
|
|
|
22654
22651
|
size = "sm",
|
|
22655
22652
|
className
|
|
22656
22653
|
}) => {
|
|
22657
|
-
const level =
|
|
22654
|
+
const level = _chunk7EH7KKFWcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22658
22655
|
if (level === "none") {
|
|
22659
22656
|
return null;
|
|
22660
22657
|
}
|
|
22661
|
-
const label =
|
|
22662
|
-
const borderClass =
|
|
22663
|
-
const textClass =
|
|
22664
|
-
const bgClass =
|
|
22658
|
+
const label = _chunk7EH7KKFWcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22659
|
+
const borderClass = _chunk7EH7KKFWcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22660
|
+
const textClass = _chunk7EH7KKFWcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22661
|
+
const bgClass = _chunk7EH7KKFWcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22665
22662
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22666
22663
|
"span",
|
|
22667
22664
|
{
|
|
@@ -22712,9 +22709,9 @@ function SEOEditorPreview({
|
|
|
22712
22709
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22713
22710
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22714
22711
|
const seoTitleLength = (seoTitle || "").length;
|
|
22715
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22712
|
+
const seoTitleTooLong = seoTitleLength > _chunk7EH7KKFWcjs.SEO_TITLE_MAX_LENGTH;
|
|
22716
22713
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22717
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22714
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunk7EH7KKFWcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22718
22715
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22719
22716
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22720
22717
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22739,10 +22736,10 @@ function SEOEditorPreview({
|
|
|
22739
22736
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22740
22737
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22741
22738
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22742
|
-
|
|
22739
|
+
_chunk7EH7KKFWcjs.Field,
|
|
22743
22740
|
{
|
|
22744
22741
|
label: "SEO Title",
|
|
22745
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22742
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunk7EH7KKFWcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22746
22743
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22747
22744
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22748
22745
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22757,7 +22754,7 @@ function SEOEditorPreview({
|
|
|
22757
22754
|
children: [
|
|
22758
22755
|
seoTitleLength,
|
|
22759
22756
|
"/",
|
|
22760
|
-
|
|
22757
|
+
_chunk7EH7KKFWcjs.SEO_TITLE_MAX_LENGTH
|
|
22761
22758
|
]
|
|
22762
22759
|
}
|
|
22763
22760
|
),
|
|
@@ -22768,7 +22765,7 @@ function SEOEditorPreview({
|
|
|
22768
22765
|
value: seoTitle || "",
|
|
22769
22766
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22770
22767
|
disabled,
|
|
22771
|
-
maxLength:
|
|
22768
|
+
maxLength: _chunk7EH7KKFWcjs.SEO_TITLE_MAX_LENGTH,
|
|
22772
22769
|
invalid: seoTitleTooLong,
|
|
22773
22770
|
placeholder: "Enter SEO meta title...",
|
|
22774
22771
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22779,7 +22776,7 @@ function SEOEditorPreview({
|
|
|
22779
22776
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22780
22777
|
] }),
|
|
22781
22778
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22782
|
-
|
|
22779
|
+
_chunk7EH7KKFWcjs.Field,
|
|
22783
22780
|
{
|
|
22784
22781
|
label: "SEO Keywords",
|
|
22785
22782
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22811,10 +22808,10 @@ function SEOEditorPreview({
|
|
|
22811
22808
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22812
22809
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22813
22810
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22814
|
-
|
|
22811
|
+
_chunk7EH7KKFWcjs.Field,
|
|
22815
22812
|
{
|
|
22816
22813
|
label: "SEO Description",
|
|
22817
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22814
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunk7EH7KKFWcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22818
22815
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22819
22816
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22820
22817
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22837,7 +22834,7 @@ function SEOEditorPreview({
|
|
|
22837
22834
|
children: [
|
|
22838
22835
|
seoDescriptionLength,
|
|
22839
22836
|
"/",
|
|
22840
|
-
|
|
22837
|
+
_chunk7EH7KKFWcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22841
22838
|
]
|
|
22842
22839
|
}
|
|
22843
22840
|
),
|
|
@@ -22848,7 +22845,7 @@ function SEOEditorPreview({
|
|
|
22848
22845
|
value: seoDescription || "",
|
|
22849
22846
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22850
22847
|
disabled,
|
|
22851
|
-
maxLength:
|
|
22848
|
+
maxLength: _chunk7EH7KKFWcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22852
22849
|
invalid: seoDescriptionTooLong,
|
|
22853
22850
|
placeholder: "Enter SEO meta description...",
|
|
22854
22851
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22917,7 +22914,7 @@ function SEOEditorPreview({
|
|
|
22917
22914
|
{
|
|
22918
22915
|
ref: setFileInputRef,
|
|
22919
22916
|
type: "file",
|
|
22920
|
-
accept:
|
|
22917
|
+
accept: _chunkOZIPPOSJcjs.IMAGE_FILE_ACCEPT,
|
|
22921
22918
|
onChange: handleImageUpload,
|
|
22922
22919
|
className: "hidden",
|
|
22923
22920
|
disabled: disabled || isUploading
|
|
@@ -23001,7 +22998,7 @@ function socialIcon(platform) {
|
|
|
23001
22998
|
return _nullishCoalesce(_chunk75PJ2SAZcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23002
22999
|
}
|
|
23003
23000
|
function renderSocialIcon(platform) {
|
|
23004
|
-
const key = _nullishCoalesce(
|
|
23001
|
+
const key = _nullishCoalesce(_chunk7EH7KKFWcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23005
23002
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23006
23003
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23007
23004
|
}
|
|
@@ -23092,7 +23089,7 @@ function SocialLinksManager({
|
|
|
23092
23089
|
};
|
|
23093
23090
|
const getIcon = (link, platform) => {
|
|
23094
23091
|
const iconKey = _optionalChain([platform, 'optionalAccess', _484 => _484.icon_name]) || link.platform;
|
|
23095
|
-
const key =
|
|
23092
|
+
const key = _chunk7EH7KKFWcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23096
23093
|
if (!key) return null;
|
|
23097
23094
|
const icon = socialIcon(key);
|
|
23098
23095
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23560,7 +23557,7 @@ function VideoBitesDisplay({
|
|
|
23560
23557
|
filterPublished = true,
|
|
23561
23558
|
showTitle = true
|
|
23562
23559
|
}) {
|
|
23563
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23560
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFBA6S4EScjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23564
23561
|
}
|
|
23565
23562
|
|
|
23566
23563
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23590,7 +23587,7 @@ function WalkthroughVideo({
|
|
|
23590
23587
|
onOpenChange,
|
|
23591
23588
|
defaultOpen,
|
|
23592
23589
|
defaultOpenPaused,
|
|
23593
|
-
deepLinkParam =
|
|
23590
|
+
deepLinkParam = _chunk7EH7KKFWcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23594
23591
|
autoPlayCard = false,
|
|
23595
23592
|
label = "Play Demo Video",
|
|
23596
23593
|
placement,
|
|
@@ -23607,7 +23604,7 @@ function WalkthroughVideo({
|
|
|
23607
23604
|
const inline = placement === "inline";
|
|
23608
23605
|
const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
23609
23606
|
const dismissEnabled = dismissal !== false;
|
|
23610
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23607
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunk7EH7KKFWcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23611
23608
|
const dismissalId = _optionalChain([video, 'optionalAccess', _490 => _490.id]) != null ? String(video.id) : "dismissed";
|
|
23612
23609
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23613
23610
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23619,7 +23616,7 @@ function WalkthroughVideo({
|
|
|
23619
23616
|
let delayElapsed = false;
|
|
23620
23617
|
let interacted = inline;
|
|
23621
23618
|
const reveal = () => {
|
|
23622
|
-
if (dismissEnabled &&
|
|
23619
|
+
if (dismissEnabled && _chunk7EH7KKFWcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23623
23620
|
setDismissed(true);
|
|
23624
23621
|
return;
|
|
23625
23622
|
}
|
|
@@ -23656,7 +23653,7 @@ function WalkthroughVideo({
|
|
|
23656
23653
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23657
23654
|
};
|
|
23658
23655
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23659
|
-
const hydrated =
|
|
23656
|
+
const hydrated = _chunkFBA6S4EScjs.useIsHydrated.call(void 0, );
|
|
23660
23657
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23661
23658
|
if (!hydrated) return false;
|
|
23662
23659
|
try {
|
|
@@ -23906,7 +23903,7 @@ function WalkthroughVideo({
|
|
|
23906
23903
|
(e) => {
|
|
23907
23904
|
e.stopPropagation();
|
|
23908
23905
|
pausePreviewNow();
|
|
23909
|
-
if (dismissEnabled)
|
|
23906
|
+
if (dismissEnabled) _chunk7EH7KKFWcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23910
23907
|
setDismissed(true);
|
|
23911
23908
|
},
|
|
23912
23909
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24081,7 +24078,7 @@ function WalkthroughVideo({
|
|
|
24081
24078
|
`card-${embedUrlKey}`
|
|
24082
24079
|
) }),
|
|
24083
24080
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24084
|
-
|
|
24081
|
+
_chunkFBA6S4EScjs.CardHitLayer,
|
|
24085
24082
|
{
|
|
24086
24083
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24087
24084
|
onPointerDown: pausePreviewNow,
|
|
@@ -24253,7 +24250,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24253
24250
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24254
24251
|
const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
24255
24252
|
const enabled = enabledGiven && !inScope;
|
|
24256
|
-
const captions =
|
|
24253
|
+
const captions = _chunkFBA6S4EScjs.useCaptions.call(void 0, );
|
|
24257
24254
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24258
24255
|
queryKey: ["walkthrough-video", endpoint],
|
|
24259
24256
|
enabled,
|
|
@@ -25004,7 +25001,7 @@ function HighlightConfigSection({
|
|
|
25004
25001
|
disabled = false,
|
|
25005
25002
|
className = ""
|
|
25006
25003
|
}) {
|
|
25007
|
-
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,
|
|
25004
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7EH7KKFWcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25008
25005
|
_chunkRPC4P7GYcjs.Select,
|
|
25009
25006
|
{
|
|
25010
25007
|
value: targetDurationSeconds.toString(),
|
|
@@ -25105,7 +25102,7 @@ var AIStatusIndicator = ({
|
|
|
25105
25102
|
}) => {
|
|
25106
25103
|
const config = statusConfig[status];
|
|
25107
25104
|
const displayText = message || config.label;
|
|
25108
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25105
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunk7EH7KKFWcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25109
25106
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25110
25107
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25111
25108
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25113,7 +25110,7 @@ var AIStatusIndicator = ({
|
|
|
25113
25110
|
size: 16,
|
|
25114
25111
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25115
25112
|
status === "loading" && _chunkAT4C2YMAcjs.LIVE_PULSE_CLASS,
|
|
25116
|
-
confidence !== void 0 && status === "success" ?
|
|
25113
|
+
confidence !== void 0 && status === "success" ? _chunk7EH7KKFWcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25117
25114
|
)
|
|
25118
25115
|
}
|
|
25119
25116
|
),
|
|
@@ -25122,7 +25119,7 @@ var AIStatusIndicator = ({
|
|
|
25122
25119
|
{
|
|
25123
25120
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25124
25121
|
"text-h6",
|
|
25125
|
-
confidence !== void 0 && status === "success" ?
|
|
25122
|
+
confidence !== void 0 && status === "success" ? _chunk7EH7KKFWcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25126
25123
|
),
|
|
25127
25124
|
children: displayText
|
|
25128
25125
|
}
|
|
@@ -25132,8 +25129,8 @@ var AIStatusIndicator = ({
|
|
|
25132
25129
|
{
|
|
25133
25130
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
25134
25131
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25135
|
-
|
|
25136
|
-
|
|
25132
|
+
_chunk7EH7KKFWcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25133
|
+
_chunk7EH7KKFWcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25137
25134
|
),
|
|
25138
25135
|
children: confidenceLabel
|
|
25139
25136
|
}
|
|
@@ -26013,7 +26010,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26013
26010
|
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,
|
|
26014
26011
|
_chunkK7I3YYYUcjs.Button,
|
|
26015
26012
|
{
|
|
26016
|
-
onClick: loading ? void 0 :
|
|
26013
|
+
onClick: loading ? void 0 : _chunk7EH7KKFWcjs.openInNewTab.call(void 0, href),
|
|
26017
26014
|
disabled: loading,
|
|
26018
26015
|
variant: "outline",
|
|
26019
26016
|
size: "icon",
|
|
@@ -26387,7 +26384,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26387
26384
|
/* @__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,
|
|
26388
26385
|
_chunkK7I3YYYUcjs.Button,
|
|
26389
26386
|
{
|
|
26390
|
-
onClick: loading ? void 0 :
|
|
26387
|
+
onClick: loading ? void 0 : _chunk7EH7KKFWcjs.openInNewTab.call(void 0, href),
|
|
26391
26388
|
disabled: loading,
|
|
26392
26389
|
variant: "outline",
|
|
26393
26390
|
size: "icon",
|
|
@@ -26522,7 +26519,7 @@ function WaitlistForm({
|
|
|
26522
26519
|
const { toast } = _chunkCWA6J7KCcjs.useToast.call(void 0, );
|
|
26523
26520
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkCWA6J7KCcjs.useHumanitySignals.call(void 0, );
|
|
26524
26521
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26525
|
-
const isClient =
|
|
26522
|
+
const isClient = _chunkFBA6S4EScjs.useIsHydrated.call(void 0, );
|
|
26526
26523
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26527
26524
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26528
26525
|
const rescue = _chunkCWA6J7KCcjs.useFormRescue.call(void 0, {
|
|
@@ -26537,7 +26534,7 @@ function WaitlistForm({
|
|
|
26537
26534
|
_react.useEffect.call(void 0, () => {
|
|
26538
26535
|
rescue.track({ email, phone }, null);
|
|
26539
26536
|
}, [email, phone, rescue]);
|
|
26540
|
-
const isMailDomainGeneric =
|
|
26537
|
+
const isMailDomainGeneric = _chunk7EH7KKFWcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26541
26538
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26542
26539
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26543
26540
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26571,7 +26568,7 @@ function WaitlistForm({
|
|
|
26571
26568
|
setShowConsentError(true);
|
|
26572
26569
|
return;
|
|
26573
26570
|
}
|
|
26574
|
-
const finalPhone = phone ?
|
|
26571
|
+
const finalPhone = phone ? _chunk7EH7KKFWcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26575
26572
|
try {
|
|
26576
26573
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26577
26574
|
rescue.complete();
|
|
@@ -28726,7 +28723,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28726
28723
|
}
|
|
28727
28724
|
}
|
|
28728
28725
|
function getDeviceOperatingSystem(osType) {
|
|
28729
|
-
return
|
|
28726
|
+
return _chunk7EH7KKFWcjs.getOSPlatformId.call(void 0, osType);
|
|
28730
28727
|
}
|
|
28731
28728
|
|
|
28732
28729
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30301,7 +30298,7 @@ function DevicesPanelView({
|
|
|
30301
30298
|
actionsVariant: "icon-buttons",
|
|
30302
30299
|
className,
|
|
30303
30300
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30304
|
-
|
|
30301
|
+
_chunkFBA6S4EScjs.TabSelector,
|
|
30305
30302
|
{
|
|
30306
30303
|
value: viewMode,
|
|
30307
30304
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _671 => _671(value)]),
|
|
@@ -30836,11 +30833,11 @@ var ToolBadge = ({
|
|
|
30836
30833
|
iconClassName
|
|
30837
30834
|
}) => {
|
|
30838
30835
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
30839
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30836
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunk7EH7KKFWcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30840
30837
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHBAVHYXOcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30841
30838
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30842
30839
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30843
|
-
|
|
30840
|
+
_chunkFBA6S4EScjs.NavLinkAnchorViaRuntime,
|
|
30844
30841
|
{
|
|
30845
30842
|
href,
|
|
30846
30843
|
targetPlatform,
|
|
@@ -30990,7 +30987,7 @@ function LogsTableView({
|
|
|
30990
30987
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30991
30988
|
ToolBadge,
|
|
30992
30989
|
{
|
|
30993
|
-
toolType:
|
|
30990
|
+
toolType: _chunk7EH7KKFWcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30994
30991
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30995
30992
|
}
|
|
30996
30993
|
),
|
|
@@ -31002,7 +30999,7 @@ function LogsTableView({
|
|
|
31002
30999
|
filter: {
|
|
31003
31000
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _679 => _679.toolTypes, 'access', _680 => _680.map, 'call', _681 => _681((toolType) => ({
|
|
31004
31001
|
id: toolType,
|
|
31005
|
-
label:
|
|
31002
|
+
label: _chunk7EH7KKFWcjs.toToolLabel.call(void 0, toolType),
|
|
31006
31003
|
value: toolType
|
|
31007
31004
|
}))]), () => ( []))
|
|
31008
31005
|
}
|
|
@@ -31051,7 +31048,7 @@ function LogsTableView({
|
|
|
31051
31048
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31052
31049
|
LogRowButton,
|
|
31053
31050
|
{
|
|
31054
|
-
onClick: getLogHref ?
|
|
31051
|
+
onClick: getLogHref ? _chunk7EH7KKFWcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31055
31052
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31056
31053
|
label: "Open in new tab"
|
|
31057
31054
|
}
|
|
@@ -31373,7 +31370,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31373
31370
|
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,
|
|
31374
31371
|
_chunkK7I3YYYUcjs.Button,
|
|
31375
31372
|
{
|
|
31376
|
-
onClick: loading ? void 0 :
|
|
31373
|
+
onClick: loading ? void 0 : _chunk7EH7KKFWcjs.openInNewTab.call(void 0, href),
|
|
31377
31374
|
disabled: loading,
|
|
31378
31375
|
variant: "outline",
|
|
31379
31376
|
size: "icon",
|
|
@@ -31562,9 +31559,9 @@ function ScriptSchedulesTable({
|
|
|
31562
31559
|
|
|
31563
31560
|
// src/components/features/scripts/shell-types.ts
|
|
31564
31561
|
var SCRIPT_SHELL_TYPES = [
|
|
31565
|
-
{ id:
|
|
31566
|
-
{ id:
|
|
31567
|
-
{ id:
|
|
31562
|
+
{ id: _chunk7EH7KKFWcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31563
|
+
{ id: _chunk7EH7KKFWcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31564
|
+
{ id: _chunk7EH7KKFWcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31568
31565
|
];
|
|
31569
31566
|
function scriptShellType(value) {
|
|
31570
31567
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33021,7 +33018,7 @@ function ScheduleFormFields({
|
|
|
33021
33018
|
disabled = false,
|
|
33022
33019
|
renderScriptSearch,
|
|
33023
33020
|
timeReferenceGate = "off",
|
|
33024
|
-
platforms =
|
|
33021
|
+
platforms = _chunk7EH7KKFWcjs.OS_PLATFORMS,
|
|
33025
33022
|
comingSoonPlatforms = [],
|
|
33026
33023
|
getTimeSlots,
|
|
33027
33024
|
nameLayout = "stacked",
|
|
@@ -33167,7 +33164,7 @@ function ScheduleFormFields({
|
|
|
33167
33164
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33168
33165
|
|
|
33169
33166
|
function ScriptPlatformIcons({ platforms }) {
|
|
33170
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33167
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunk7EH7KKFWcjs.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)) });
|
|
33171
33168
|
}
|
|
33172
33169
|
function ScheduleScriptSearchField({
|
|
33173
33170
|
scriptId,
|
|
@@ -33240,7 +33237,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33240
33237
|
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,
|
|
33241
33238
|
_chunkK7I3YYYUcjs.Button,
|
|
33242
33239
|
{
|
|
33243
|
-
onClick: loading ? void 0 :
|
|
33240
|
+
onClick: loading ? void 0 : _chunk7EH7KKFWcjs.openInNewTab.call(void 0, href),
|
|
33244
33241
|
disabled: loading,
|
|
33245
33242
|
variant: "outline",
|
|
33246
33243
|
size: "icon",
|
|
@@ -33592,7 +33589,7 @@ function ConversationCard({
|
|
|
33592
33589
|
style: tint,
|
|
33593
33590
|
onClick: selection && ((event) => {
|
|
33594
33591
|
if (event.button !== 0 || _optionalChain([window, 'access', _745 => _745.getSelection, 'call', _746 => _746(), 'optionalAccess', _747 => _747.toString, 'call', _748 => _748()])) return;
|
|
33595
|
-
if (!
|
|
33592
|
+
if (!_chunk7EH7KKFWcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33596
33593
|
selection.onToggle();
|
|
33597
33594
|
}),
|
|
33598
33595
|
children: [
|
|
@@ -33615,7 +33612,7 @@ function ConversationCard({
|
|
|
33615
33612
|
children: selection.pressed ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX4UZ62MYcjs.PlusIcon, {})
|
|
33616
33613
|
}
|
|
33617
33614
|
),
|
|
33618
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33615
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7EH7KKFWcjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33619
33616
|
"p",
|
|
33620
33617
|
{
|
|
33621
33618
|
id: requestId,
|
|
@@ -33634,7 +33631,7 @@ function ConversationCard({
|
|
|
33634
33631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _749 => _749.context])), children: context.text })
|
|
33635
33632
|
] }),
|
|
33636
33633
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33637
|
-
|
|
33634
|
+
_chunk7EH7KKFWcjs.ChatTurn,
|
|
33638
33635
|
{
|
|
33639
33636
|
avatar: responder.avatar,
|
|
33640
33637
|
name: responder.name,
|
|
@@ -33686,7 +33683,7 @@ function ConversationCardSkeleton({
|
|
|
33686
33683
|
}
|
|
33687
33684
|
) }),
|
|
33688
33685
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33689
|
-
|
|
33686
|
+
_chunk7EH7KKFWcjs.ChatTurn,
|
|
33690
33687
|
{
|
|
33691
33688
|
loading: true,
|
|
33692
33689
|
name: "",
|
|
@@ -33707,7 +33704,7 @@ function ConversationCardSkeleton({
|
|
|
33707
33704
|
] })
|
|
33708
33705
|
] }),
|
|
33709
33706
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33710
|
-
|
|
33707
|
+
_chunk7EH7KKFWcjs.ChatTurn,
|
|
33711
33708
|
{
|
|
33712
33709
|
loading: true,
|
|
33713
33710
|
name: "",
|