@flamingo-stack/openframe-frontend-core 0.0.797 → 0.0.799
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-VFCPLZFY.cjs → chunk-247LDSQE.cjs} +61 -61
- package/dist/{chunk-UKLSEI7S.cjs → chunk-2KEBGXA4.cjs} +4 -4
- package/dist/{chunk-GAFNJDZV.cjs → chunk-3MRK7X6Z.cjs} +3 -3
- package/dist/{chunk-7GFKJGWH.cjs → chunk-4RK62AMV.cjs} +68 -68
- package/dist/{chunk-PBL66EVT.cjs → chunk-6CB3AXZM.cjs} +30 -30
- package/dist/{chunk-BUCCV72E.cjs → chunk-6EDOASF4.cjs} +11 -11
- package/dist/{chunk-NBUHCGGG.cjs → chunk-AVAE5B2A.cjs} +2 -2
- package/dist/{chunk-YHCC3BLP.cjs → chunk-B3X4J4HQ.cjs} +14 -14
- package/dist/{chunk-ZPTHTGHK.cjs → chunk-BSBCZIPQ.cjs} +39 -39
- package/dist/{chunk-CO6FB4DR.cjs → chunk-CS2KLF4O.cjs} +13 -13
- package/dist/{chunk-FFEE2ON2.cjs → chunk-DBRXZC2I.cjs} +139 -129
- package/dist/{chunk-5CEXT3V7.cjs → chunk-FDDM5Z52.cjs} +2 -2
- package/dist/{chunk-QKXXHOOD.cjs → chunk-FIKIPO4F.cjs} +13 -0
- package/dist/{chunk-3H3CQ7BQ.cjs → chunk-GRNTIKPD.cjs} +54 -44
- package/dist/{chunk-LAJNO2EW.cjs → chunk-HB7FVY46.cjs} +32 -32
- package/dist/{chunk-RD57WBJK.cjs → chunk-IJGIWG6G.cjs} +4 -4
- package/dist/{chunk-OZUUCVDZ.cjs → chunk-O6KQ64RI.cjs} +2 -2
- package/dist/{chunk-KWINW3FC.cjs → chunk-PO5IIN4S.cjs} +11 -11
- package/dist/{chunk-YMWK7GOC.cjs → chunk-PPORXZI7.cjs} +139 -119
- package/dist/{chunk-IS77JFF6.cjs → chunk-SDV335EO.cjs} +4 -4
- package/dist/{chunk-7MLK7BGF.cjs → chunk-T5OCU3EL.cjs} +4 -4
- package/dist/{chunk-4M5JIVAH.cjs → chunk-TETW5NR4.cjs} +3 -3
- package/dist/{chunk-CHF6PHOR.cjs → chunk-UFCKY7OL.cjs} +16 -16
- package/dist/{chunk-7AMU2ZD2.cjs → chunk-XJD7IZR2.cjs} +48 -48
- package/dist/{chunk-NX4QOEPJ.cjs → chunk-ZOK4OWMJ.cjs} +2 -2
- package/dist/{cloud-tenants-THCY3N2P.cjs → cloud-tenants-BQAVRN44.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/entity-cards/roadmap-card.d.ts +5 -0
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.js +16 -1
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/types/entities/roadmap-item.d.ts +8 -0
- package/dist/components/chat/types/entities/roadmap-item.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +82 -82
- package/dist/components/index.cjs +52 -52
- package/dist/components/loading/loading-fallback.d.ts +27 -3
- package/dist/components/loading/loading-fallback.d.ts.map +1 -1
- package/dist/components/loading/loading-fallback.js +17 -9
- package/dist/components/meeting-scheduler/index.cjs +38 -38
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/product-demo/index.cjs +15 -15
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/feature-card.d.ts +1 -1
- package/dist/components/ui/feature-card.d.ts.map +1 -1
- package/dist/components/ui/feature-card.js +1 -0
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/index.d.ts +1 -1
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +9 -1
- package/dist/components/ui/markdown-editor.d.ts.map +1 -1
- package/dist/components/ui/trendline.d.ts +1 -1
- package/dist/components/ui/trendline.d.ts.map +1 -1
- package/dist/components/ui/trendline.js +11 -2
- package/dist/{devices-N4EF5QDS.cjs → devices-KDT5ZGSG.cjs} +7 -7
- package/dist/{embeddable-chat-7Z2OQK3X.cjs → embeddable-chat-ODKTSW3C.cjs} +62 -62
- package/dist/index.cjs +12 -10
- package/dist/{knowledge-TL4DSXYQ.cjs → knowledge-4NLP77HP.cjs} +7 -7
- package/dist/loading-standard/engine.d.mts +22 -4
- package/dist/loading-standard/engine.d.mts.map +1 -1
- package/dist/loading-standard/rule-examples.d.mts.map +1 -1
- package/dist/{logs-4VRUBGKE.cjs → logs-U6VMTY4N.cjs} +14 -14
- package/dist/{policies-TLNVCQGG.cjs → policies-TBLFBRFM.cjs} +10 -10
- package/dist/{scripts-4LFWHIMH.cjs → scripts-ZMNJWX7I.cjs} +11 -11
- package/dist/{software-update-J4ZXQABW.cjs → software-update-Q5AEQ4A4.cjs} +9 -9
- package/dist/utils/clickup-drop-down.cjs +22 -0
- package/dist/utils/clickup-drop-down.d.ts +26 -0
- package/dist/utils/clickup-drop-down.d.ts.map +1 -0
- package/dist/utils/clickup-drop-down.js +20 -0
- package/dist/utils/index.cjs +20 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/package.json +7 -1
- package/src/components/chat/entity-cards/roadmap-card.tsx +18 -1
- package/src/components/chat/types/entities/roadmap-item.ts +8 -0
- package/src/components/loading/loading-fallback.tsx +52 -12
- package/src/components/ui/feature-card.tsx +2 -1
- package/src/components/ui/index.ts +13 -1
- package/src/components/ui/markdown-editor.tsx +1 -0
- package/src/components/ui/trendline.tsx +27 -10
- package/src/loading-standard/engine.mjs +170 -14
- package/src/loading-standard/rule-examples.mjs +50 -0
- package/src/utils/clickup-drop-down.ts +41 -0
- package/src/utils/index.ts +1 -0
|
@@ -107,7 +107,7 @@ var _chunkYR74H7Z3cjs = require('./chunk-YR74H7Z3.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _chunkPPORXZI7cjs = require('./chunk-PPORXZI7.cjs');
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
|
|
@@ -127,7 +127,7 @@ var _chunkYMWK7GOCcjs = require('./chunk-YMWK7GOC.cjs');
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var
|
|
130
|
+
var _chunkGRNTIKPDcjs = require('./chunk-GRNTIKPD.cjs');
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
|
|
@@ -486,7 +486,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
486
486
|
|
|
487
487
|
|
|
488
488
|
|
|
489
|
-
var
|
|
489
|
+
var _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
|
|
490
490
|
|
|
491
491
|
|
|
492
492
|
|
|
@@ -695,7 +695,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
695
695
|
var useTheme = _nextthemes.useTheme;
|
|
696
696
|
function useThemeToggle() {
|
|
697
697
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
698
|
-
const mounted =
|
|
698
|
+
const mounted = _chunkGRNTIKPDcjs.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
|
+
..._chunkPPORXZI7cjs.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
|
+
..._chunkPPORXZI7cjs.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, _chunkPPORXZI7cjs.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 = _chunkGRNTIKPDcjs.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 = _chunkGRNTIKPDcjs.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 = _chunkGRNTIKPDcjs.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 (!_chunkGRNTIKPDcjs.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 (!_chunkGRNTIKPDcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7960
7960
|
const url = src.trim();
|
|
7961
7961
|
if (_chunkYBTORXFYcjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.Video, { kind: "youtube", url });
|
|
7962
7962
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
@@ -7964,7 +7964,7 @@ function buildRichEmbedOverrides({
|
|
|
7964
7964
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7965
7965
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7966
7966
|
video: ({ src, poster, className }) => {
|
|
7967
|
-
if (!
|
|
7967
|
+
if (!_chunkGRNTIKPDcjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7968
7968
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `overflow-hidden ${className || "my-8 w-full rounded-lg"}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7969
7969
|
}
|
|
7970
7970
|
};
|
|
@@ -8073,7 +8073,7 @@ var processShortcodes = (content) => {
|
|
|
8073
8073
|
try {
|
|
8074
8074
|
const urlObj = new URL(url);
|
|
8075
8075
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8076
|
-
const hostIs = (domain) =>
|
|
8076
|
+
const hostIs = (domain) => _chunkPPORXZI7cjs.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, () => _chunkGRNTIKPDcjs.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
|
+
_chunkGRNTIKPDcjs.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 = _chunkGRNTIKPDcjs.NO_BROKEN_LINKS,
|
|
8184
8184
|
currentPath,
|
|
8185
8185
|
resolveSource = "openframe-docs",
|
|
8186
8186
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9525,7 +9525,7 @@ function renderAdvancedPageContainer({
|
|
|
9525
9525
|
contentClassName,
|
|
9526
9526
|
showHeader = true
|
|
9527
9527
|
}, inScope = false) {
|
|
9528
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE56LN23Hcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children:
|
|
9528
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE56LN23Hcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9529
9529
|
const subtitleNode = subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: PAGE_CONTAINER_SUBTITLE_CLASS, children: subtitle }) : inScope && subtitle === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerSubtitleSkeleton, {}) : null;
|
|
9530
9530
|
const getActionsVariant = () => {
|
|
9531
9531
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9952,7 +9952,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9952
9952
|
|
|
9953
9953
|
|
|
9954
9954
|
function PlatformBrowseButton({ item }) {
|
|
9955
|
-
const linkProps =
|
|
9955
|
+
const linkProps = _chunkGRNTIKPDcjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9956
9956
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9957
9957
|
"Browse ",
|
|
9958
9958
|
item.buttonText
|
|
@@ -10471,10 +10471,10 @@ var OSTypeBadge = ({
|
|
|
10471
10471
|
if (!osType) {
|
|
10472
10472
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10473
10473
|
}
|
|
10474
|
-
const normalized =
|
|
10474
|
+
const normalized = _chunkPPORXZI7cjs.normalizeOSType.call(void 0, osType);
|
|
10475
10475
|
if (!normalized && !labelOnly) return null;
|
|
10476
|
-
const label =
|
|
10477
|
-
const IconComponent =
|
|
10476
|
+
const label = _chunkPPORXZI7cjs.getOSLabel.call(void 0, osType);
|
|
10477
|
+
const IconComponent = _chunkPPORXZI7cjs.getOSIcon.call(void 0, osType);
|
|
10478
10478
|
if (iconOnly && IconComponent) {
|
|
10479
10479
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk7JWFMAQBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10480
10480
|
}
|
|
@@ -10770,7 +10770,7 @@ function ComplianceLogo({
|
|
|
10770
10770
|
fallback = null,
|
|
10771
10771
|
className
|
|
10772
10772
|
}) {
|
|
10773
|
-
const standard =
|
|
10773
|
+
const standard = _chunkPPORXZI7cjs.complianceStandardForName.call(void 0, ...names);
|
|
10774
10774
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10775
10775
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10776
10776
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10788,6 +10788,7 @@ function ComplianceLogo({
|
|
|
10788
10788
|
|
|
10789
10789
|
var FEATURE_CARD_GRID_SKELETON_ITEMS = 3;
|
|
10790
10790
|
var GRID_COLUMNS = {
|
|
10791
|
+
1: "grid-cols-1",
|
|
10791
10792
|
2: "grid-cols-1 content-md:grid-cols-2",
|
|
10792
10793
|
3: "grid-cols-1 content-md:grid-cols-3",
|
|
10793
10794
|
4: "grid-cols-1 content-md:grid-cols-2 content-lg:grid-cols-4"
|
|
@@ -11167,7 +11168,15 @@ function Spark({ values, toneClass }) {
|
|
|
11167
11168
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: last.x, cy: last.y, r: 2, fill: "currentColor" })
|
|
11168
11169
|
] });
|
|
11169
11170
|
}
|
|
11170
|
-
function Trendline({
|
|
11171
|
+
function Trendline({
|
|
11172
|
+
values,
|
|
11173
|
+
label,
|
|
11174
|
+
change,
|
|
11175
|
+
higherIsBetter = false,
|
|
11176
|
+
tones,
|
|
11177
|
+
details,
|
|
11178
|
+
side = "top"
|
|
11179
|
+
}) {
|
|
11171
11180
|
if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) {
|
|
11172
11181
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: BOX_CLASS, "aria-hidden": "true", children: [
|
|
11173
11182
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { as: "span", className: `${SPARK_CLASS} rounded-sm` }),
|
|
@@ -11220,7 +11229,8 @@ function TrendHistory({ title, columns, rows, loadingRows, error, children }) {
|
|
|
11220
11229
|
] });
|
|
11221
11230
|
}
|
|
11222
11231
|
function TrendHistoryCell({ column, value }) {
|
|
11223
|
-
if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ))
|
|
11232
|
+
if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ))
|
|
11233
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: column.align === "right" ? "ml-auto w-8" : "w-12" });
|
|
11224
11234
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${column.align === "right" ? "text-right tabular-nums" : "text-left"} text-ods-text-primary`, children: value });
|
|
11225
11235
|
}
|
|
11226
11236
|
|
|
@@ -12801,7 +12811,7 @@ function DataTableRowImpl({
|
|
|
12801
12811
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12802
12812
|
const handleClick = _react.useCallback.call(void 0,
|
|
12803
12813
|
(e) => {
|
|
12804
|
-
if (!
|
|
12814
|
+
if (!_chunkPPORXZI7cjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12805
12815
|
if (isLinkMode) e.preventDefault();
|
|
12806
12816
|
return;
|
|
12807
12817
|
}
|
|
@@ -12815,7 +12825,7 @@ function DataTableRowImpl({
|
|
|
12815
12825
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _222 => _222.contains, 'call', _223 => _223(target)])) return;
|
|
12816
12826
|
const nestedLink = target.closest("a");
|
|
12817
12827
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12818
|
-
if (!
|
|
12828
|
+
if (!_chunkPPORXZI7cjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12819
12829
|
}, []);
|
|
12820
12830
|
const containerClassName = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
12821
12831
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12944,7 +12954,7 @@ function DataTableBody({
|
|
|
12944
12954
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12945
12955
|
if (loading && loadingCells && hasRows) {
|
|
12946
12956
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12947
|
-
|
|
12957
|
+
_chunkGRNTIKPDcjs.LoadingFallback,
|
|
12948
12958
|
{
|
|
12949
12959
|
label: "Loading results",
|
|
12950
12960
|
status: loadingRegion && !inScope,
|
|
@@ -13292,7 +13302,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13292
13302
|
// child of the cell.
|
|
13293
13303
|
_optionalChain([meta, 'optionalAccess', _241 => _241.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13294
13304
|
filterTrigger,
|
|
13295
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13305
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPORXZI7cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13296
13306
|
] }) : filterTrigger
|
|
13297
13307
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13298
13308
|
"div",
|
|
@@ -13317,7 +13327,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13317
13327
|
// centred on the row.
|
|
13318
13328
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13319
13329
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13320
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPORXZI7cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13321
13331
|
] })
|
|
13322
13332
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13323
13333
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13556,7 +13566,7 @@ function PhoneInput({
|
|
|
13556
13566
|
placeholder = "Phone Number (optional)",
|
|
13557
13567
|
onKeyDown
|
|
13558
13568
|
}) {
|
|
13559
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13569
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkPPORXZI7cjs.getCountryPhoneData.call(void 0, ), []);
|
|
13560
13570
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13561
13571
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13562
13572
|
[countryCode, priority, others]
|
|
@@ -13571,7 +13581,7 @@ function PhoneInput({
|
|
|
13571
13581
|
_optionalChain([onValidationChange, 'optionalCall', _258 => _258(false)]);
|
|
13572
13582
|
return;
|
|
13573
13583
|
}
|
|
13574
|
-
const invalid = !
|
|
13584
|
+
const invalid = !_chunkPPORXZI7cjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13575
13585
|
setIsInvalid(invalid);
|
|
13576
13586
|
_optionalChain([onValidationChange, 'optionalCall', _259 => _259(invalid)]);
|
|
13577
13587
|
},
|
|
@@ -14430,7 +14440,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14430
14440
|
),
|
|
14431
14441
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14432
14442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14433
|
-
|
|
14443
|
+
_chunkGRNTIKPDcjs.TabSelector,
|
|
14434
14444
|
{
|
|
14435
14445
|
label: "Search engines",
|
|
14436
14446
|
value: choice,
|
|
@@ -14487,7 +14497,7 @@ function useMarkdownLinkCommand() {
|
|
|
14487
14497
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14488
14498
|
icon: command.icon,
|
|
14489
14499
|
execute: (state, api) => {
|
|
14490
|
-
const existing =
|
|
14500
|
+
const existing = _chunkGRNTIKPDcjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14491
14501
|
setPending(
|
|
14492
14502
|
existing ? {
|
|
14493
14503
|
api,
|
|
@@ -14518,7 +14528,7 @@ function useMarkdownLinkCommand() {
|
|
|
14518
14528
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _316 => _316.initial]), () => ( EMPTY_LINK)),
|
|
14519
14529
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _317 => _317.editing]), () => ( false)),
|
|
14520
14530
|
onSubmit: (link) => {
|
|
14521
|
-
if (pending) write(pending,
|
|
14531
|
+
if (pending) write(pending, _chunkGRNTIKPDcjs.formatMarkdownLink.call(void 0, link));
|
|
14522
14532
|
},
|
|
14523
14533
|
onRemove: () => {
|
|
14524
14534
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14684,7 +14694,7 @@ function MarkdownEditor({
|
|
|
14684
14694
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14685
14695
|
try {
|
|
14686
14696
|
const url = await onUploadFile(file);
|
|
14687
|
-
const isImage =
|
|
14697
|
+
const isImage = _chunkFIKIPO4Fcjs.fileMediaType.call(void 0, file) === "image";
|
|
14688
14698
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14689
14699
|
insertTextAtCursor(markdown);
|
|
14690
14700
|
_optionalChain([onFileUploaded, 'optionalCall', _320 => _320(url, file.name)]);
|
|
@@ -14814,7 +14824,7 @@ function MarkdownEditor({
|
|
|
14814
14824
|
type: "file",
|
|
14815
14825
|
className: "hidden",
|
|
14816
14826
|
onChange: handleFileInputChange,
|
|
14817
|
-
accept: `${
|
|
14827
|
+
accept: `${_chunkFIKIPO4Fcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14818
14828
|
}
|
|
14819
14829
|
),
|
|
14820
14830
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorHeightContext.Provider, { value: height, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Suspense, { fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEditorFieldSkeleton, { height }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -15228,7 +15238,7 @@ function matchesAccept2(file, accept) {
|
|
|
15228
15238
|
return patterns.some((pattern) => {
|
|
15229
15239
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
15230
15240
|
if (pattern.endsWith("/*"))
|
|
15231
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
15241
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunkFIKIPO4Fcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
15232
15242
|
return fileType === pattern;
|
|
15233
15243
|
});
|
|
15234
15244
|
}
|
|
@@ -15236,7 +15246,7 @@ function ImageUploader({
|
|
|
15236
15246
|
value,
|
|
15237
15247
|
onChange,
|
|
15238
15248
|
onRemove,
|
|
15239
|
-
accept =
|
|
15249
|
+
accept = _chunkFIKIPO4Fcjs.IMAGE_FILE_ACCEPT,
|
|
15240
15250
|
maxSize = DEFAULT_MAX_SIZE,
|
|
15241
15251
|
label = "Cover Image",
|
|
15242
15252
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -16397,7 +16407,7 @@ function TicketInfoSection({
|
|
|
16397
16407
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16398
16408
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 items-center gap-4 border-b border-ods-border bg-ods-bg px-4 py-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: createdAt, label: "Created" }) }),
|
|
16399
16409
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16400
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16410
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRNTIKPDcjs.SimpleMarkdownRenderer, { content: description }),
|
|
16401
16411
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16402
16412
|
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-wrap gap-2", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16403
16413
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16882,7 +16892,7 @@ function PhotoWall({
|
|
|
16882
16892
|
gap: COLUMN_GAP_PX
|
|
16883
16893
|
};
|
|
16884
16894
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk7JWFMAQBcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16885
|
-
|
|
16895
|
+
_chunkGRNTIKPDcjs.MarqueeWall,
|
|
16886
16896
|
{
|
|
16887
16897
|
axis: "y",
|
|
16888
16898
|
reverse: index % 2 === 1,
|
|
@@ -17442,7 +17452,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17442
17452
|
};
|
|
17443
17453
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17444
17454
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17445
|
-
const labels =
|
|
17455
|
+
const labels = _chunkPPORXZI7cjs.trialLabels.call(void 0, trialDays);
|
|
17446
17456
|
return terms.flatMap((term) => {
|
|
17447
17457
|
const label = labels[term];
|
|
17448
17458
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -18476,7 +18486,7 @@ function CompleteAccountForm({
|
|
|
18476
18486
|
),
|
|
18477
18487
|
children: [
|
|
18478
18488
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18479
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18489
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18480
18490
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18481
18491
|
] }),
|
|
18482
18492
|
(ssoProvidersLoading || ssoProviders && ssoProviders.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18627,7 +18637,7 @@ function CreateOrganizationForm({
|
|
|
18627
18637
|
),
|
|
18628
18638
|
children: [
|
|
18629
18639
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18630
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18640
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18631
18641
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: CREATE_ORGANIZATION_SUBTITLE_BAR_CLASS }) : subtitle })
|
|
18632
18642
|
] }),
|
|
18633
18643
|
email === void 0 ? null : emailReadOnly && emailReadOnlyLabel === null ? (
|
|
@@ -18774,7 +18784,7 @@ function InviteLinkInvalidModal({
|
|
|
18774
18784
|
),
|
|
18775
18785
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
18776
18786
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18777
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18778
18788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18779
18789
|
_chunkAHBTZ7DNcjs.Button,
|
|
18780
18790
|
{
|
|
@@ -18858,7 +18868,7 @@ function LoginForm({
|
|
|
18858
18868
|
),
|
|
18859
18869
|
children: [
|
|
18860
18870
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18871
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18862
18872
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18863
18873
|
] }),
|
|
18864
18874
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -18985,7 +18995,7 @@ function NoAccountNotice({
|
|
|
18985
18995
|
),
|
|
18986
18996
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full max-w-[600px] flex-col gap-[var(--spacing-system-l)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-xl)]", children: [
|
|
18987
18997
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18988
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18998
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18989
18999
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
18990
19000
|
] }),
|
|
18991
19001
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -19034,7 +19044,7 @@ function OpenFrameSsoLoginForm({
|
|
|
19034
19044
|
),
|
|
19035
19045
|
children: [
|
|
19036
19046
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19037
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19047
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19038
19048
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19039
19049
|
] }),
|
|
19040
19050
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19139,7 +19149,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19139
19149
|
),
|
|
19140
19150
|
children: [
|
|
19141
19151
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19142
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19152
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19143
19153
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19144
19154
|
] }),
|
|
19145
19155
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19245,7 +19255,7 @@ function PasswordResetForm({
|
|
|
19245
19255
|
),
|
|
19246
19256
|
children: [
|
|
19247
19257
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19248
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19258
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19249
19259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19250
19260
|
] }),
|
|
19251
19261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19366,7 +19376,7 @@ function SsoJoinForm({
|
|
|
19366
19376
|
),
|
|
19367
19377
|
children: [
|
|
19368
19378
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19369
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19379
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19370
19380
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19371
19381
|
] }),
|
|
19372
19382
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-s)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)]", children: [
|
|
@@ -21221,15 +21231,15 @@ function useLoading() {
|
|
|
21221
21231
|
|
|
21222
21232
|
|
|
21223
21233
|
function isAlreadyThere(file, existing) {
|
|
21224
|
-
const key =
|
|
21234
|
+
const key = _chunkFIKIPO4Fcjs.mediaNameKey.call(void 0, file.name);
|
|
21225
21235
|
if (!key) return false;
|
|
21226
21236
|
return existing.some(
|
|
21227
|
-
(item) => (item.title ?
|
|
21237
|
+
(item) => (item.title ? _chunkFIKIPO4Fcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunkFIKIPO4Fcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
21228
21238
|
);
|
|
21229
21239
|
}
|
|
21230
21240
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
21231
|
-
var isVideoItem = (item) =>
|
|
21232
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
21241
|
+
var isVideoItem = (item) => _chunkFIKIPO4Fcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
21242
|
+
var MEDIA_KIND_ACCEPT = { image: _chunkFIKIPO4Fcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunkFIKIPO4Fcjs.MEDIA_FILE_ACCEPT };
|
|
21233
21243
|
var MEDIA_KIND_COPY = {
|
|
21234
21244
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
21235
21245
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -21253,12 +21263,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
21253
21263
|
const seen = /* @__PURE__ */ new Set();
|
|
21254
21264
|
const accepted = [];
|
|
21255
21265
|
for (const file of files) {
|
|
21256
|
-
const mediaType =
|
|
21266
|
+
const mediaType = _chunkFIKIPO4Fcjs.fileMediaType.call(void 0, file);
|
|
21257
21267
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
21258
21268
|
unsupported.push(file.name);
|
|
21259
21269
|
continue;
|
|
21260
21270
|
}
|
|
21261
|
-
const contentKey = await
|
|
21271
|
+
const contentKey = await _chunkFIKIPO4Fcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
21262
21272
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
21263
21273
|
duplicates.push(file.name);
|
|
21264
21274
|
continue;
|
|
@@ -21873,7 +21883,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21873
21883
|
empty: "No token rates are in effect right now."
|
|
21874
21884
|
};
|
|
21875
21885
|
function providerMark(providerType, stated, className) {
|
|
21876
|
-
const Mark = _chunk5RGGUQ4Ycjs.findIcon.call(void 0,
|
|
21886
|
+
const Mark = _chunk5RGGUQ4Ycjs.findIcon.call(void 0, _chunkPPORXZI7cjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21877
21887
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21878
21888
|
}
|
|
21879
21889
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21891,7 +21901,7 @@ var UNIT_LINE_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
|
21891
21901
|
var TABS_ROW_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21892
21902
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21893
21903
|
function useProviderGroup(rates) {
|
|
21894
|
-
const groups =
|
|
21904
|
+
const groups = _chunkPPORXZI7cjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21895
21905
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21896
21906
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21897
21907
|
}
|
|
@@ -21902,7 +21912,7 @@ function ProviderTabs({
|
|
|
21902
21912
|
className
|
|
21903
21913
|
}) {
|
|
21904
21914
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21905
|
-
|
|
21915
|
+
_chunkGRNTIKPDcjs.TabSelector,
|
|
21906
21916
|
{
|
|
21907
21917
|
variant: "secondary",
|
|
21908
21918
|
scrollable: true,
|
|
@@ -21910,7 +21920,7 @@ function ProviderTabs({
|
|
|
21910
21920
|
onValueChange,
|
|
21911
21921
|
items: groups.map((candidate) => ({
|
|
21912
21922
|
id: candidate.providerType,
|
|
21913
|
-
label:
|
|
21923
|
+
label: _chunkPPORXZI7cjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _459 => _459.rates, 'access', _460 => _460[0], 'optionalAccess', _461 => _461.providerLabel])),
|
|
21914
21924
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerIcon]), "size-full")
|
|
21915
21925
|
})),
|
|
21916
21926
|
className
|
|
@@ -21987,8 +21997,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21987
21997
|
] }),
|
|
21988
21998
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "rowgroup", className: "min-h-0 flex-1 overflow-y-auto", children: group.rates.map((rate) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-loading-item": true, role: "row", className: BODY_ROW_CLASS, children: [
|
|
21989
21999
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21990
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21991
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22000
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkPPORXZI7cjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22001
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkPPORXZI7cjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21992
22002
|
] }, rate.modelName)) })
|
|
21993
22003
|
] }),
|
|
21994
22004
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22035,7 +22045,7 @@ function modelOption(rate) {
|
|
|
22035
22045
|
return {
|
|
22036
22046
|
label: rate.displayName || rate.modelName,
|
|
22037
22047
|
value: rate.modelName,
|
|
22038
|
-
description:
|
|
22048
|
+
description: _chunkPPORXZI7cjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22039
22049
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22040
22050
|
};
|
|
22041
22051
|
}
|
|
@@ -22090,8 +22100,8 @@ function ModelTokenExchange({
|
|
|
22090
22100
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22091
22101
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _465 => _465.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22092
22102
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22093
|
-
const tokens =
|
|
22094
|
-
const cost =
|
|
22103
|
+
const tokens = _chunkPPORXZI7cjs.formatTokenAmount.call(void 0, balance);
|
|
22104
|
+
const cost = _chunkPPORXZI7cjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22095
22105
|
const balancePrice = cost === null ? null : _chunk6UKH22NQcjs.formatPrice.call(void 0, cost);
|
|
22096
22106
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22097
22107
|
const options = models.map(modelOption);
|
|
@@ -22134,7 +22144,7 @@ function ModelTokenExchange({
|
|
|
22134
22144
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22135
22145
|
size: "small",
|
|
22136
22146
|
onClick: () => setChosen(preset.tokens),
|
|
22137
|
-
children: copy.buy.preset(
|
|
22147
|
+
children: copy.buy.preset(_chunkPPORXZI7cjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22138
22148
|
},
|
|
22139
22149
|
preset.label
|
|
22140
22150
|
)) })
|
|
@@ -22151,7 +22161,7 @@ function ModelTokenExchange({
|
|
|
22151
22161
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _466 => _466.providerType]) === providerType ? rate : null)));
|
|
22152
22162
|
return {
|
|
22153
22163
|
id: providerType,
|
|
22154
|
-
name:
|
|
22164
|
+
name: _chunkPPORXZI7cjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _467 => _467.providerLabel])),
|
|
22155
22165
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _468 => _468.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22156
22166
|
};
|
|
22157
22167
|
}),
|
|
@@ -22190,7 +22200,7 @@ function ModelTokenExchange({
|
|
|
22190
22200
|
{
|
|
22191
22201
|
size: "plain",
|
|
22192
22202
|
loading,
|
|
22193
|
-
figure:
|
|
22203
|
+
figure: _chunkPPORXZI7cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _473 => _473.inputTokenRate])),
|
|
22194
22204
|
words: copy.charge.input
|
|
22195
22205
|
}
|
|
22196
22206
|
),
|
|
@@ -22199,7 +22209,7 @@ function ModelTokenExchange({
|
|
|
22199
22209
|
{
|
|
22200
22210
|
size: "plain",
|
|
22201
22211
|
loading,
|
|
22202
|
-
figure:
|
|
22212
|
+
figure: _chunkPPORXZI7cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _474 => _474.outputTokenRate])),
|
|
22203
22213
|
words: copy.charge.output
|
|
22204
22214
|
}
|
|
22205
22215
|
)
|
|
@@ -22211,9 +22221,9 @@ function ModelTokenExchange({
|
|
|
22211
22221
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22212
22222
|
children: [
|
|
22213
22223
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22214
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22224
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkPPORXZI7cjs.formatTokenAmount.call(void 0, _chunkPPORXZI7cjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22215
22225
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22226
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkPPORXZI7cjs.formatTokenAmount.call(void 0, _chunkPPORXZI7cjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22217
22227
|
]
|
|
22218
22228
|
}
|
|
22219
22229
|
)
|
|
@@ -22760,14 +22770,14 @@ var ConfidenceBadge = ({
|
|
|
22760
22770
|
size = "sm",
|
|
22761
22771
|
className
|
|
22762
22772
|
}) => {
|
|
22763
|
-
const level =
|
|
22773
|
+
const level = _chunkPPORXZI7cjs.getConfidenceLevel.call(void 0, confidence);
|
|
22764
22774
|
if (level === "none") {
|
|
22765
22775
|
return null;
|
|
22766
22776
|
}
|
|
22767
|
-
const label =
|
|
22768
|
-
const borderClass =
|
|
22769
|
-
const textClass =
|
|
22770
|
-
const bgClass =
|
|
22777
|
+
const label = _chunkPPORXZI7cjs.getConfidenceLabel.call(void 0, confidence);
|
|
22778
|
+
const borderClass = _chunkPPORXZI7cjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22779
|
+
const textClass = _chunkPPORXZI7cjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22780
|
+
const bgClass = _chunkPPORXZI7cjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22771
22781
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22772
22782
|
"span",
|
|
22773
22783
|
{
|
|
@@ -22818,9 +22828,9 @@ function SEOEditorPreview({
|
|
|
22818
22828
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22819
22829
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22820
22830
|
const seoTitleLength = (seoTitle || "").length;
|
|
22821
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22831
|
+
const seoTitleTooLong = seoTitleLength > _chunkPPORXZI7cjs.SEO_TITLE_MAX_LENGTH;
|
|
22822
22832
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22823
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22833
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkPPORXZI7cjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22824
22834
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22825
22835
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22826
22836
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22845,10 +22855,10 @@ function SEOEditorPreview({
|
|
|
22845
22855
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22846
22856
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22847
22857
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22848
|
-
|
|
22858
|
+
_chunkPPORXZI7cjs.Field,
|
|
22849
22859
|
{
|
|
22850
22860
|
label: "SEO Title",
|
|
22851
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22861
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkPPORXZI7cjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22852
22862
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22853
22863
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22854
22864
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22863,7 +22873,7 @@ function SEOEditorPreview({
|
|
|
22863
22873
|
children: [
|
|
22864
22874
|
seoTitleLength,
|
|
22865
22875
|
"/",
|
|
22866
|
-
|
|
22876
|
+
_chunkPPORXZI7cjs.SEO_TITLE_MAX_LENGTH
|
|
22867
22877
|
]
|
|
22868
22878
|
}
|
|
22869
22879
|
),
|
|
@@ -22874,7 +22884,7 @@ function SEOEditorPreview({
|
|
|
22874
22884
|
value: seoTitle || "",
|
|
22875
22885
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22876
22886
|
disabled,
|
|
22877
|
-
maxLength:
|
|
22887
|
+
maxLength: _chunkPPORXZI7cjs.SEO_TITLE_MAX_LENGTH,
|
|
22878
22888
|
invalid: seoTitleTooLong,
|
|
22879
22889
|
placeholder: "Enter SEO meta title...",
|
|
22880
22890
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22885,7 +22895,7 @@ function SEOEditorPreview({
|
|
|
22885
22895
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22886
22896
|
] }),
|
|
22887
22897
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22888
|
-
|
|
22898
|
+
_chunkPPORXZI7cjs.Field,
|
|
22889
22899
|
{
|
|
22890
22900
|
label: "SEO Keywords",
|
|
22891
22901
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22917,10 +22927,10 @@ function SEOEditorPreview({
|
|
|
22917
22927
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22918
22928
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22919
22929
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22920
|
-
|
|
22930
|
+
_chunkPPORXZI7cjs.Field,
|
|
22921
22931
|
{
|
|
22922
22932
|
label: "SEO Description",
|
|
22923
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22933
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkPPORXZI7cjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22924
22934
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22925
22935
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22926
22936
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22943,7 +22953,7 @@ function SEOEditorPreview({
|
|
|
22943
22953
|
children: [
|
|
22944
22954
|
seoDescriptionLength,
|
|
22945
22955
|
"/",
|
|
22946
|
-
|
|
22956
|
+
_chunkPPORXZI7cjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22947
22957
|
]
|
|
22948
22958
|
}
|
|
22949
22959
|
),
|
|
@@ -22954,7 +22964,7 @@ function SEOEditorPreview({
|
|
|
22954
22964
|
value: seoDescription || "",
|
|
22955
22965
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22956
22966
|
disabled,
|
|
22957
|
-
maxLength:
|
|
22967
|
+
maxLength: _chunkPPORXZI7cjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22958
22968
|
invalid: seoDescriptionTooLong,
|
|
22959
22969
|
placeholder: "Enter SEO meta description...",
|
|
22960
22970
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23023,7 +23033,7 @@ function SEOEditorPreview({
|
|
|
23023
23033
|
{
|
|
23024
23034
|
ref: setFileInputRef,
|
|
23025
23035
|
type: "file",
|
|
23026
|
-
accept:
|
|
23036
|
+
accept: _chunkFIKIPO4Fcjs.IMAGE_FILE_ACCEPT,
|
|
23027
23037
|
onChange: handleImageUpload,
|
|
23028
23038
|
className: "hidden",
|
|
23029
23039
|
disabled: disabled || isUploading
|
|
@@ -23107,7 +23117,7 @@ function socialIcon(platform) {
|
|
|
23107
23117
|
return _nullishCoalesce(_chunk5RGGUQ4Ycjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23108
23118
|
}
|
|
23109
23119
|
function renderSocialIcon(platform) {
|
|
23110
|
-
const key = _nullishCoalesce(
|
|
23120
|
+
const key = _nullishCoalesce(_chunkPPORXZI7cjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23111
23121
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23112
23122
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23113
23123
|
}
|
|
@@ -23198,7 +23208,7 @@ function SocialLinksManager({
|
|
|
23198
23208
|
};
|
|
23199
23209
|
const getIcon = (link, platform) => {
|
|
23200
23210
|
const iconKey = _optionalChain([platform, 'optionalAccess', _484 => _484.icon_name]) || link.platform;
|
|
23201
|
-
const key =
|
|
23211
|
+
const key = _chunkPPORXZI7cjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23202
23212
|
if (!key) return null;
|
|
23203
23213
|
const icon = socialIcon(key);
|
|
23204
23214
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23666,7 +23676,7 @@ function VideoBitesDisplay({
|
|
|
23666
23676
|
filterPublished = true,
|
|
23667
23677
|
showTitle = true
|
|
23668
23678
|
}) {
|
|
23669
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23679
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGRNTIKPDcjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23670
23680
|
}
|
|
23671
23681
|
|
|
23672
23682
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23696,7 +23706,7 @@ function WalkthroughVideo({
|
|
|
23696
23706
|
onOpenChange,
|
|
23697
23707
|
defaultOpen,
|
|
23698
23708
|
defaultOpenPaused,
|
|
23699
|
-
deepLinkParam =
|
|
23709
|
+
deepLinkParam = _chunkPPORXZI7cjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23700
23710
|
autoPlayCard = false,
|
|
23701
23711
|
label = "Play Demo Video",
|
|
23702
23712
|
placement,
|
|
@@ -23713,7 +23723,7 @@ function WalkthroughVideo({
|
|
|
23713
23723
|
const inline = placement === "inline";
|
|
23714
23724
|
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
23715
23725
|
const dismissEnabled = dismissal !== false;
|
|
23716
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23726
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkPPORXZI7cjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23717
23727
|
const dismissalId = _optionalChain([video, 'optionalAccess', _490 => _490.id]) != null ? String(video.id) : "dismissed";
|
|
23718
23728
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23719
23729
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23725,7 +23735,7 @@ function WalkthroughVideo({
|
|
|
23725
23735
|
let delayElapsed = false;
|
|
23726
23736
|
let interacted = inline;
|
|
23727
23737
|
const reveal = () => {
|
|
23728
|
-
if (dismissEnabled &&
|
|
23738
|
+
if (dismissEnabled && _chunkPPORXZI7cjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23729
23739
|
setDismissed(true);
|
|
23730
23740
|
return;
|
|
23731
23741
|
}
|
|
@@ -23762,7 +23772,7 @@ function WalkthroughVideo({
|
|
|
23762
23772
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23763
23773
|
};
|
|
23764
23774
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23765
|
-
const hydrated =
|
|
23775
|
+
const hydrated = _chunkGRNTIKPDcjs.useIsHydrated.call(void 0, );
|
|
23766
23776
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23767
23777
|
if (!hydrated) return false;
|
|
23768
23778
|
try {
|
|
@@ -24012,7 +24022,7 @@ function WalkthroughVideo({
|
|
|
24012
24022
|
(e) => {
|
|
24013
24023
|
e.stopPropagation();
|
|
24014
24024
|
pausePreviewNow();
|
|
24015
|
-
if (dismissEnabled)
|
|
24025
|
+
if (dismissEnabled) _chunkPPORXZI7cjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24016
24026
|
setDismissed(true);
|
|
24017
24027
|
},
|
|
24018
24028
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24187,7 +24197,7 @@ function WalkthroughVideo({
|
|
|
24187
24197
|
`card-${embedUrlKey}`
|
|
24188
24198
|
) }),
|
|
24189
24199
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24190
|
-
|
|
24200
|
+
_chunkGRNTIKPDcjs.CardHitLayer,
|
|
24191
24201
|
{
|
|
24192
24202
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24193
24203
|
onPointerDown: pausePreviewNow,
|
|
@@ -24359,7 +24369,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24359
24369
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24360
24370
|
const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
24361
24371
|
const enabled = enabledGiven && !inScope;
|
|
24362
|
-
const captions =
|
|
24372
|
+
const captions = _chunkGRNTIKPDcjs.useCaptions.call(void 0, );
|
|
24363
24373
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24364
24374
|
queryKey: ["walkthrough-video", endpoint],
|
|
24365
24375
|
enabled,
|
|
@@ -25110,7 +25120,7 @@ function HighlightConfigSection({
|
|
|
25110
25120
|
disabled = false,
|
|
25111
25121
|
className = ""
|
|
25112
25122
|
}) {
|
|
25113
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `space-y-3 rounded-lg border border-ods-border bg-ods-card p-4 ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25123
|
+
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, _chunkPPORXZI7cjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25114
25124
|
_chunkE56LN23Hcjs.Select,
|
|
25115
25125
|
{
|
|
25116
25126
|
value: targetDurationSeconds.toString(),
|
|
@@ -25211,7 +25221,7 @@ var AIStatusIndicator = ({
|
|
|
25211
25221
|
}) => {
|
|
25212
25222
|
const config = statusConfig[status];
|
|
25213
25223
|
const displayText = message || config.label;
|
|
25214
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25224
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkPPORXZI7cjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25215
25225
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25216
25226
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25217
25227
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25219,7 +25229,7 @@ var AIStatusIndicator = ({
|
|
|
25219
25229
|
size: 16,
|
|
25220
25230
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25221
25231
|
status === "loading" && _chunk4WIJI4AKcjs.LIVE_PULSE_CLASS,
|
|
25222
|
-
confidence !== void 0 && status === "success" ?
|
|
25232
|
+
confidence !== void 0 && status === "success" ? _chunkPPORXZI7cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25223
25233
|
)
|
|
25224
25234
|
}
|
|
25225
25235
|
),
|
|
@@ -25228,7 +25238,7 @@ var AIStatusIndicator = ({
|
|
|
25228
25238
|
{
|
|
25229
25239
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25230
25240
|
"text-h6",
|
|
25231
|
-
confidence !== void 0 && status === "success" ?
|
|
25241
|
+
confidence !== void 0 && status === "success" ? _chunkPPORXZI7cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25232
25242
|
),
|
|
25233
25243
|
children: displayText
|
|
25234
25244
|
}
|
|
@@ -25238,8 +25248,8 @@ var AIStatusIndicator = ({
|
|
|
25238
25248
|
{
|
|
25239
25249
|
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
25240
25250
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25241
|
-
|
|
25242
|
-
|
|
25251
|
+
_chunkPPORXZI7cjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25252
|
+
_chunkPPORXZI7cjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25243
25253
|
),
|
|
25244
25254
|
children: confidenceLabel
|
|
25245
25255
|
}
|
|
@@ -26119,7 +26129,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26119
26129
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26120
26130
|
_chunkAHBTZ7DNcjs.Button,
|
|
26121
26131
|
{
|
|
26122
|
-
onClick: loading ? void 0 :
|
|
26132
|
+
onClick: loading ? void 0 : _chunkPPORXZI7cjs.openInNewTab.call(void 0, href),
|
|
26123
26133
|
disabled: loading,
|
|
26124
26134
|
variant: "outline",
|
|
26125
26135
|
size: "icon",
|
|
@@ -26493,7 +26503,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26493
26503
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26494
26504
|
_chunkAHBTZ7DNcjs.Button,
|
|
26495
26505
|
{
|
|
26496
|
-
onClick: loading ? void 0 :
|
|
26506
|
+
onClick: loading ? void 0 : _chunkPPORXZI7cjs.openInNewTab.call(void 0, href),
|
|
26497
26507
|
disabled: loading,
|
|
26498
26508
|
variant: "outline",
|
|
26499
26509
|
size: "icon",
|
|
@@ -26628,7 +26638,7 @@ function WaitlistForm({
|
|
|
26628
26638
|
const { toast } = _chunkBWR5ACK3cjs.useToast.call(void 0, );
|
|
26629
26639
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkBWR5ACK3cjs.useHumanitySignals.call(void 0, );
|
|
26630
26640
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26631
|
-
const isClient =
|
|
26641
|
+
const isClient = _chunkGRNTIKPDcjs.useIsHydrated.call(void 0, );
|
|
26632
26642
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26633
26643
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26634
26644
|
const rescue = _chunkBWR5ACK3cjs.useFormRescue.call(void 0, {
|
|
@@ -26643,7 +26653,7 @@ function WaitlistForm({
|
|
|
26643
26653
|
_react.useEffect.call(void 0, () => {
|
|
26644
26654
|
rescue.track({ email, phone }, null);
|
|
26645
26655
|
}, [email, phone, rescue]);
|
|
26646
|
-
const isMailDomainGeneric =
|
|
26656
|
+
const isMailDomainGeneric = _chunkPPORXZI7cjs.hasGenericEmailDomain.call(void 0, email);
|
|
26647
26657
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26648
26658
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26649
26659
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26677,7 +26687,7 @@ function WaitlistForm({
|
|
|
26677
26687
|
setShowConsentError(true);
|
|
26678
26688
|
return;
|
|
26679
26689
|
}
|
|
26680
|
-
const finalPhone = phone ?
|
|
26690
|
+
const finalPhone = phone ? _chunkPPORXZI7cjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26681
26691
|
try {
|
|
26682
26692
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26683
26693
|
rescue.complete();
|
|
@@ -28832,7 +28842,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28832
28842
|
}
|
|
28833
28843
|
}
|
|
28834
28844
|
function getDeviceOperatingSystem(osType) {
|
|
28835
|
-
return
|
|
28845
|
+
return _chunkPPORXZI7cjs.getOSPlatformId.call(void 0, osType);
|
|
28836
28846
|
}
|
|
28837
28847
|
|
|
28838
28848
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30407,7 +30417,7 @@ function DevicesPanelView({
|
|
|
30407
30417
|
actionsVariant: "icon-buttons",
|
|
30408
30418
|
className,
|
|
30409
30419
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30410
|
-
|
|
30420
|
+
_chunkGRNTIKPDcjs.TabSelector,
|
|
30411
30421
|
{
|
|
30412
30422
|
value: viewMode,
|
|
30413
30423
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _671 => _671(value)]),
|
|
@@ -30942,11 +30952,11 @@ var ToolBadge = ({
|
|
|
30942
30952
|
iconClassName
|
|
30943
30953
|
}) => {
|
|
30944
30954
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
30945
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30955
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkPPORXZI7cjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30946
30956
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHATRCNXJcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30947
30957
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30948
30958
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30949
|
-
|
|
30959
|
+
_chunkGRNTIKPDcjs.NavLinkAnchorViaRuntime,
|
|
30950
30960
|
{
|
|
30951
30961
|
href,
|
|
30952
30962
|
targetPlatform,
|
|
@@ -31096,7 +31106,7 @@ function LogsTableView({
|
|
|
31096
31106
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31097
31107
|
ToolBadge,
|
|
31098
31108
|
{
|
|
31099
|
-
toolType:
|
|
31109
|
+
toolType: _chunkPPORXZI7cjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31100
31110
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31101
31111
|
}
|
|
31102
31112
|
),
|
|
@@ -31108,7 +31118,7 @@ function LogsTableView({
|
|
|
31108
31118
|
filter: {
|
|
31109
31119
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _679 => _679.toolTypes, 'access', _680 => _680.map, 'call', _681 => _681((toolType) => ({
|
|
31110
31120
|
id: toolType,
|
|
31111
|
-
label:
|
|
31121
|
+
label: _chunkPPORXZI7cjs.toToolLabel.call(void 0, toolType),
|
|
31112
31122
|
value: toolType
|
|
31113
31123
|
}))]), () => ( []))
|
|
31114
31124
|
}
|
|
@@ -31157,7 +31167,7 @@ function LogsTableView({
|
|
|
31157
31167
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31158
31168
|
LogRowButton,
|
|
31159
31169
|
{
|
|
31160
|
-
onClick: getLogHref ?
|
|
31170
|
+
onClick: getLogHref ? _chunkPPORXZI7cjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31161
31171
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31162
31172
|
label: "Open in new tab"
|
|
31163
31173
|
}
|
|
@@ -31479,7 +31489,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31479
31489
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31480
31490
|
_chunkAHBTZ7DNcjs.Button,
|
|
31481
31491
|
{
|
|
31482
|
-
onClick: loading ? void 0 :
|
|
31492
|
+
onClick: loading ? void 0 : _chunkPPORXZI7cjs.openInNewTab.call(void 0, href),
|
|
31483
31493
|
disabled: loading,
|
|
31484
31494
|
variant: "outline",
|
|
31485
31495
|
size: "icon",
|
|
@@ -31668,9 +31678,9 @@ function ScriptSchedulesTable({
|
|
|
31668
31678
|
|
|
31669
31679
|
// src/components/features/scripts/shell-types.ts
|
|
31670
31680
|
var SCRIPT_SHELL_TYPES = [
|
|
31671
|
-
{ id:
|
|
31672
|
-
{ id:
|
|
31673
|
-
{ id:
|
|
31681
|
+
{ id: _chunkPPORXZI7cjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31682
|
+
{ id: _chunkPPORXZI7cjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31683
|
+
{ id: _chunkPPORXZI7cjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31674
31684
|
];
|
|
31675
31685
|
function scriptShellType(value) {
|
|
31676
31686
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33127,7 +33137,7 @@ function ScheduleFormFields({
|
|
|
33127
33137
|
disabled = false,
|
|
33128
33138
|
renderScriptSearch,
|
|
33129
33139
|
timeReferenceGate = "off",
|
|
33130
|
-
platforms =
|
|
33140
|
+
platforms = _chunkPPORXZI7cjs.OS_PLATFORMS,
|
|
33131
33141
|
comingSoonPlatforms = [],
|
|
33132
33142
|
getTimeSlots,
|
|
33133
33143
|
nameLayout = "stacked",
|
|
@@ -33273,7 +33283,7 @@ function ScheduleFormFields({
|
|
|
33273
33283
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33274
33284
|
|
|
33275
33285
|
function ScriptPlatformIcons({ platforms }) {
|
|
33276
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33286
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkPPORXZI7cjs.OS_PLATFORMS.filter((p) => platforms.includes(p.id)).map((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, p.icon, { className: "h-3.5 w-3.5 text-ods-text-secondary opacity-60" }, p.id)) });
|
|
33277
33287
|
}
|
|
33278
33288
|
function ScheduleScriptSearchField({
|
|
33279
33289
|
scriptId,
|
|
@@ -33346,7 +33356,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33346
33356
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-no-row-click": true, className: "pointer-events-auto flex items-center justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33347
33357
|
_chunkAHBTZ7DNcjs.Button,
|
|
33348
33358
|
{
|
|
33349
|
-
onClick: loading ? void 0 :
|
|
33359
|
+
onClick: loading ? void 0 : _chunkPPORXZI7cjs.openInNewTab.call(void 0, href),
|
|
33350
33360
|
disabled: loading,
|
|
33351
33361
|
variant: "outline",
|
|
33352
33362
|
size: "icon",
|
|
@@ -33697,7 +33707,7 @@ function ConversationCard({
|
|
|
33697
33707
|
style: tint,
|
|
33698
33708
|
onClick: selection && ((event) => {
|
|
33699
33709
|
if (event.button !== 0 || _optionalChain([window, 'access', _745 => _745.getSelection, 'call', _746 => _746(), 'optionalAccess', _747 => _747.toString, 'call', _748 => _748()])) return;
|
|
33700
|
-
if (!
|
|
33710
|
+
if (!_chunkPPORXZI7cjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33701
33711
|
selection.onToggle();
|
|
33702
33712
|
}),
|
|
33703
33713
|
children: [
|
|
@@ -33720,7 +33730,7 @@ function ConversationCard({
|
|
|
33720
33730
|
)
|
|
33721
33731
|
),
|
|
33722
33732
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33723
|
-
|
|
33733
|
+
_chunkPPORXZI7cjs.ChatTurn,
|
|
33724
33734
|
{
|
|
33725
33735
|
avatar: requester.avatar,
|
|
33726
33736
|
name: requester.name,
|
|
@@ -33741,7 +33751,7 @@ function ConversationCard({
|
|
|
33741
33751
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _749 => _749.context])), children: context.text })
|
|
33742
33752
|
] }),
|
|
33743
33753
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33744
|
-
|
|
33754
|
+
_chunkPPORXZI7cjs.ChatTurn,
|
|
33745
33755
|
{
|
|
33746
33756
|
avatar: responder.avatar,
|
|
33747
33757
|
name: responder.name,
|
|
@@ -33786,7 +33796,7 @@ function ConversationCardSkeleton({
|
|
|
33786
33796
|
{
|
|
33787
33797
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33788
33798
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33789
|
-
|
|
33799
|
+
_chunkPPORXZI7cjs.ChatTurn,
|
|
33790
33800
|
{
|
|
33791
33801
|
loading: true,
|
|
33792
33802
|
name: "",
|
|
@@ -33810,7 +33820,7 @@ function ConversationCardSkeleton({
|
|
|
33810
33820
|
] })
|
|
33811
33821
|
] }),
|
|
33812
33822
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33813
|
-
|
|
33823
|
+
_chunkPPORXZI7cjs.ChatTurn,
|
|
33814
33824
|
{
|
|
33815
33825
|
loading: true,
|
|
33816
33826
|
name: "",
|