@flamingo-stack/openframe-frontend-core 0.0.823 → 0.0.824
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-GP2Y3DBE.cjs → chunk-2IHGR57J.cjs} +6 -6
- package/dist/{chunk-QCRJVO6Y.cjs → chunk-2IWAHBCC.cjs} +1 -1
- package/dist/{chunk-U7CH53FT.cjs → chunk-2M4E2V25.cjs} +13 -13
- package/dist/{chunk-YMDSCI4E.cjs → chunk-5N26M6CK.cjs} +32 -32
- package/dist/{chunk-DEWT25QK.cjs → chunk-A3SR6HHX.cjs} +65 -72
- package/dist/{chunk-2U6MAM6D.cjs → chunk-B2VRNRTY.cjs} +63 -63
- package/dist/{chunk-XEIZL3I3.cjs → chunk-B7NSH7IK.cjs} +6 -6
- package/dist/{chunk-K7NGDYBG.cjs → chunk-C3RAE7RO.cjs} +136 -136
- package/dist/{chunk-Y7BTM2NC.cjs → chunk-EZTCN43H.cjs} +39 -39
- package/dist/{chunk-3JCDSZ6D.cjs → chunk-GXBIYPDM.cjs} +4 -4
- package/dist/{chunk-HWXFUI3R.cjs → chunk-HDOU3AXV.cjs} +30 -30
- package/dist/{chunk-KWS7YKCO.cjs → chunk-J5U3XHFJ.cjs} +13 -13
- package/dist/{chunk-TJFVIJPV.cjs → chunk-M7EBCYKN.cjs} +2 -2
- package/dist/{chunk-Y3MPERIZ.cjs → chunk-MROW2JWE.cjs} +3 -3
- package/dist/{chunk-GBILLSRM.cjs → chunk-QOOMUGF2.cjs} +4 -4
- package/dist/{chunk-AK7MYM25.cjs → chunk-SOSVC6HB.cjs} +3 -3
- package/dist/{chunk-2LT2WR4O.cjs → chunk-TQ7TUEK2.cjs} +37 -37
- package/dist/{chunk-DYSMAPSI.cjs → chunk-TTMTNG3U.cjs} +4 -4
- package/dist/{chunk-L7YE6APP.cjs → chunk-WMTV6M5B.cjs} +11 -11
- package/dist/{chunk-UUFL4FDS.cjs → chunk-WSBAIZXL.cjs} +14 -14
- package/dist/{chunk-SBXL5EKE.cjs → chunk-XUMZMIHR.cjs} +23 -23
- package/dist/{chunk-2YUWBIZM.cjs → chunk-Z7BLMJEI.cjs} +46 -46
- package/dist/{cloud-tenants-VQQ2KNJI.cjs → cloud-tenants-VYXMNISG.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/embeddable-chat.d.ts +0 -2
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +1 -2
- package/dist/components/chat/entity-cards/blog-card.js +1 -1
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/mingo-welcome.js +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/filters-dropdown.js +2 -2
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/features/notifications/approval-request-notification-tile.js +1 -1
- package/dist/components/help-center-pages/index.cjs +80 -80
- package/dist/components/index.cjs +48 -48
- package/dist/components/loading/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +31 -31
- 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 +4 -4
- package/dist/components/shared/article-author-byline.js +4 -4
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/tickets/ticket-row.js +10 -17
- package/dist/components/ui/date-picker.js +1 -1
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/markdown/base-components.js +1 -1
- package/dist/components/ui/markdown/engine.js +2 -2
- package/dist/components/ui/navigation-menu.js +1 -1
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +1 -1
- package/dist/components/ui/sticky-action-bar.js +1 -1
- package/dist/{devices-KKJHYQ72.cjs → devices-NTYNZEGJ.cjs} +7 -7
- package/dist/{embeddable-chat-MQGYFYGX.cjs → embeddable-chat-JAUO4O2T.cjs} +68 -69
- package/dist/index.cjs +10 -10
- package/dist/{knowledge-VMLXNFDI.cjs → knowledge-I2LW27EP.cjs} +7 -7
- package/dist/loading-standard/engine.d.mts.map +1 -1
- package/dist/{logs-EFXRQ6LV.cjs → logs-KLZHXSOU.cjs} +14 -14
- package/dist/{policies-SU3NQPFV.cjs → policies-SMDAHDKL.cjs} +10 -10
- package/dist/{scripts-WLLAUOAA.cjs → scripts-OMBBPNTU.cjs} +11 -11
- package/dist/{software-update-WKUDBC3U.cjs → software-update-ZIJYNJIC.cjs} +9 -9
- package/eslint-config/README.md +21 -0
- package/eslint-config/base.js +12 -0
- package/eslint-config/dead-classes.js +256 -0
- package/package.json +2 -1
- package/src/components/chat/embeddable-chat.tsx +2 -7
- package/src/components/chat/entity-cards/blog-card.tsx +1 -1
- package/src/components/chat/mingo-welcome.tsx +1 -1
- package/src/components/features/filters-dropdown.tsx +2 -2
- package/src/components/features/notifications/approval-request-notification-tile.tsx +1 -1
- package/src/components/loading/index.ts +0 -5
- package/src/components/shared/article-author-byline.tsx +4 -4
- package/src/components/tickets/ticket-row.tsx +1 -4
- package/src/components/ui/date-picker.tsx +1 -1
- package/src/components/ui/markdown/base-components.tsx +1 -1
- package/src/components/ui/markdown/engine.tsx +4 -4
- package/src/components/ui/navigation-menu.tsx +1 -1
- package/src/components/ui/radio-group.tsx +1 -2
- package/src/components/ui/sticky-action-bar.tsx +1 -1
- package/src/loading-standard/engine.mjs +1 -2
- package/dist/components/loading/openmsp-heartbeat.d.ts +0 -7
- package/dist/components/loading/openmsp-heartbeat.d.ts.map +0 -1
- package/dist/components/loading/openmsp-heartbeat.js +0 -68
- package/src/components/loading/openmsp-heartbeat.tsx +0 -69
|
@@ -113,7 +113,7 @@ var _chunk5SZ4ILU3cjs = require('./chunk-5SZ4ILU3.cjs');
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
var
|
|
116
|
+
var _chunkXUMZMIHRcjs = require('./chunk-XUMZMIHR.cjs');
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
|
|
@@ -134,7 +134,7 @@ var _chunkSBXL5EKEcjs = require('./chunk-SBXL5EKE.cjs');
|
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
var
|
|
137
|
+
var _chunkTQ7TUEK2cjs = require('./chunk-TQ7TUEK2.cjs');
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
|
|
@@ -491,7 +491,7 @@ var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
|
|
|
491
491
|
|
|
492
492
|
|
|
493
493
|
|
|
494
|
-
var
|
|
494
|
+
var _chunk2IWAHBCCcjs = require('./chunk-2IWAHBCC.cjs');
|
|
495
495
|
|
|
496
496
|
|
|
497
497
|
|
|
@@ -709,7 +709,7 @@ function ThemeProvider({ children, ...overrides }) {
|
|
|
709
709
|
var useTheme = _nextthemes.useTheme;
|
|
710
710
|
function useThemeToggle() {
|
|
711
711
|
const { resolvedTheme, theme, setTheme } = useTheme();
|
|
712
|
-
const mounted =
|
|
712
|
+
const mounted = _chunkTQ7TUEK2cjs.useIsHydrated.call(void 0, );
|
|
713
713
|
const active = mounted ? resolvedTheme === "light" || theme === "light" ? "light" : "dark" : DEFAULT_THEME;
|
|
714
714
|
const setOdsTheme = _react.useCallback.call(void 0, (next) => setTheme(next), [setTheme]);
|
|
715
715
|
const toggle = _react.useCallback.call(void 0, () => setTheme(active === "dark" ? "light" : "dark"), [active, setTheme]);
|
|
@@ -1236,7 +1236,7 @@ function DatePickerCalendar({
|
|
|
1236
1236
|
cellInner,
|
|
1237
1237
|
"flex items-center justify-center",
|
|
1238
1238
|
"cursor-pointer border-none bg-transparent outline-none",
|
|
1239
|
-
"
|
|
1239
|
+
"text-inherit"
|
|
1240
1240
|
),
|
|
1241
1241
|
// Painted through the `todayTint` modifier instead — see `isUnclaimedToday`.
|
|
1242
1242
|
today: "",
|
|
@@ -3405,7 +3405,7 @@ var RadioGroupBlock = _react.forwardRef.call(void 0,
|
|
|
3405
3405
|
error ? "border-ods-error" : "border-ods-border"
|
|
3406
3406
|
) : _chunk63A4GZMBcjs.cn.call(void 0,
|
|
3407
3407
|
"rounded-[6px] border bg-ods-card p-[var(--spacing-system-sf)]",
|
|
3408
|
-
interactive && "has-[[data-state=checked]]:
|
|
3408
|
+
interactive && "has-[[data-state=checked]]:border-ods-accent/40",
|
|
3409
3409
|
error ? "border-ods-error" : "border-ods-border"
|
|
3410
3410
|
),
|
|
3411
3411
|
// Disabled matches a disabled field: flat `ods-bg` fill and
|
|
@@ -4580,7 +4580,7 @@ function AdminFormDrawer({
|
|
|
4580
4580
|
"form",
|
|
4581
4581
|
{
|
|
4582
4582
|
id: formId,
|
|
4583
|
-
...
|
|
4583
|
+
..._chunkXUMZMIHRcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4584
4584
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4585
4585
|
onSubmit: (e) => {
|
|
4586
4586
|
e.preventDefault();
|
|
@@ -4687,7 +4687,7 @@ function AdminFormModal({
|
|
|
4687
4687
|
"form",
|
|
4688
4688
|
{
|
|
4689
4689
|
id: formId,
|
|
4690
|
-
...
|
|
4690
|
+
..._chunkXUMZMIHRcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4691
4691
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4692
4692
|
onSubmit: (e) => {
|
|
4693
4693
|
e.preventDefault();
|
|
@@ -5084,7 +5084,7 @@ var NavigationMenuViewport = _react.forwardRef.call(void 0, ({ className, ...pro
|
|
|
5084
5084
|
NavigationMenuPrimitive.Viewport,
|
|
5085
5085
|
{
|
|
5086
5086
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
5087
|
-
"
|
|
5087
|
+
"relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
|
|
5088
5088
|
className
|
|
5089
5089
|
),
|
|
5090
5090
|
ref,
|
|
@@ -6057,7 +6057,7 @@ function EmbedViewerFrame({
|
|
|
6057
6057
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6058
6058
|
_react.useEffect.call(void 0, () => {
|
|
6059
6059
|
if (!fullscreenControl) return void 0;
|
|
6060
|
-
const controller = new (0,
|
|
6060
|
+
const controller = new (0, _chunkXUMZMIHRcjs.FullscreenSwitchController)({
|
|
6061
6061
|
target: () => frameRef.current,
|
|
6062
6062
|
onFullscreenChange: setIsFullscreen
|
|
6063
6063
|
});
|
|
@@ -7306,7 +7306,7 @@ var formatTimeAgo = (timestamp) => {
|
|
|
7306
7306
|
return `${Math.floor(diffSeconds / 86400)}d ago`;
|
|
7307
7307
|
};
|
|
7308
7308
|
function RedditEmbedClient({ url, maxWidth = 700, rel }) {
|
|
7309
|
-
const postLinkRel =
|
|
7309
|
+
const postLinkRel = _chunkTQ7TUEK2cjs.renderedLinkRel.call(void 0, rel, true);
|
|
7310
7310
|
const { redditProxyUrl } = useRichMarkdownRuntime();
|
|
7311
7311
|
const [redditData, setRedditData] = _react.useState.call(void 0, null);
|
|
7312
7312
|
const [loading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7638,7 +7638,7 @@ var UserIcon3 = () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "svg", { wid
|
|
|
7638
7638
|
] });
|
|
7639
7639
|
var XIcon = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2TEMEXDTcjs.XLogoIcon, { className: "h-5 w-5", color: "currentColor" });
|
|
7640
7640
|
function TwitterEmbedClient({ url, tweetId, maxWidth = 700, rel }) {
|
|
7641
|
-
const postLinkRel =
|
|
7641
|
+
const postLinkRel = _chunkTQ7TUEK2cjs.renderedLinkRel.call(void 0, rel, true);
|
|
7642
7642
|
const { twitterProxyUrl } = useRichMarkdownRuntime();
|
|
7643
7643
|
const [tweetData, setTweetData] = _react.useState.call(void 0, null);
|
|
7644
7644
|
const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
|
|
@@ -7840,7 +7840,7 @@ function buildRichEmbedOverrides({
|
|
|
7840
7840
|
ogEndpointPath,
|
|
7841
7841
|
textSizes
|
|
7842
7842
|
}) {
|
|
7843
|
-
const standard =
|
|
7843
|
+
const standard = _chunkTQ7TUEK2cjs.buildStandardLeafRenderers.call(void 0, { textSizes });
|
|
7844
7844
|
return {
|
|
7845
7845
|
// Fence-language embeds (```youtube-embed etc.); everything else
|
|
7846
7846
|
// (mermaid, highlighted blocks, inline code) falls through to `standard`.
|
|
@@ -7976,14 +7976,14 @@ function buildRichEmbedOverrides({
|
|
|
7976
7976
|
// rich-markdown runtime (Supabase optimization on the hub, identity
|
|
7977
7977
|
// elsewhere). Guard against empty `![]()`.
|
|
7978
7978
|
img: ({ src, alt }) => {
|
|
7979
|
-
if (!
|
|
7979
|
+
if (!_chunkTQ7TUEK2cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7980
7980
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownImage, { src: src.trim(), alt });
|
|
7981
7981
|
},
|
|
7982
7982
|
// Raw <iframe> tags in stored content (a pasted YouTube embed). A YouTube one becomes the same click-to-play
|
|
7983
7983
|
// facade as the `youtube-embed` fence: the raw iframe loaded YouTube's whole player (about 470 KB of script) with
|
|
7984
7984
|
// the page, on every post that carried one (CU-17tkuw5xp4q). Any other iframe loads when it nears the screen.
|
|
7985
7985
|
iframe: ({ node: _node, src, ...rest }) => {
|
|
7986
|
-
if (!
|
|
7986
|
+
if (!_chunkTQ7TUEK2cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7987
7987
|
const url = src.trim();
|
|
7988
7988
|
if (_chunkUEULXVW2cjs.extractYouTubeId.call(void 0, url)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.Video, { kind: "youtube", url });
|
|
7989
7989
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "iframe", { ...rest, src: url, loading: "lazy" });
|
|
@@ -7991,7 +7991,7 @@ function buildRichEmbedOverrides({
|
|
|
7991
7991
|
// Raw <video> tags in stored content (blog publisher injection) route
|
|
7992
7992
|
// to the <Video> SSOT (MuxPlayer) so HLS manifests play everywhere.
|
|
7993
7993
|
video: ({ src, poster, className }) => {
|
|
7994
|
-
if (!
|
|
7994
|
+
if (!_chunkTQ7TUEK2cjs.hasRenderableSrc.call(void 0, src)) return null;
|
|
7995
7995
|
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, _chunkUEULXVW2cjs.Video, { kind: "file", url: src.trim(), poster: typeof poster === "string" ? poster : void 0 }) }) });
|
|
7996
7996
|
}
|
|
7997
7997
|
};
|
|
@@ -8100,7 +8100,7 @@ var processShortcodes = (content) => {
|
|
|
8100
8100
|
try {
|
|
8101
8101
|
const urlObj = new URL(url);
|
|
8102
8102
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8103
|
-
const hostIs = (domain) =>
|
|
8103
|
+
const hostIs = (domain) => _chunk2IWAHBCCcjs.hostMatches.call(void 0, hostname, domain);
|
|
8104
8104
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8105
8105
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8106
8106
|
return match;
|
|
@@ -8177,13 +8177,13 @@ var RichMarkdownInner = ({
|
|
|
8177
8177
|
},
|
|
8178
8178
|
[resolveLinkEndpointUrl, resolveSource]
|
|
8179
8179
|
);
|
|
8180
|
-
const textSizes = _react.useMemo.call(void 0, () =>
|
|
8180
|
+
const textSizes = _react.useMemo.call(void 0, () => _chunkTQ7TUEK2cjs.resolveTextSizeConfig.call(void 0, "article"), []);
|
|
8181
8181
|
const componentOverrides = _react.useMemo.call(void 0,
|
|
8182
8182
|
() => buildRichEmbedOverrides({ ogApiBaseUrl, ogEndpointPath, textSizes }),
|
|
8183
8183
|
[ogApiBaseUrl, ogEndpointPath, textSizes]
|
|
8184
8184
|
);
|
|
8185
8185
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8186
|
-
|
|
8186
|
+
_chunkTQ7TUEK2cjs.MarkdownEngine,
|
|
8187
8187
|
{
|
|
8188
8188
|
content,
|
|
8189
8189
|
className,
|
|
@@ -8208,7 +8208,7 @@ var RichMarkdownRendererImpl = ({
|
|
|
8208
8208
|
className = "",
|
|
8209
8209
|
sectionIds,
|
|
8210
8210
|
onInternalLinkClick,
|
|
8211
|
-
brokenLinks =
|
|
8211
|
+
brokenLinks = _chunkTQ7TUEK2cjs.NO_BROKEN_LINKS,
|
|
8212
8212
|
currentPath,
|
|
8213
8213
|
resolveSource = "openframe-docs",
|
|
8214
8214
|
resolveLinkEndpointUrl = "/api/docs/resolve-link",
|
|
@@ -9553,7 +9553,7 @@ function renderAdvancedPageContainer({
|
|
|
9553
9553
|
contentClassName,
|
|
9554
9554
|
showHeader = true
|
|
9555
9555
|
}, inScope = false) {
|
|
9556
|
-
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIJCSQFLDcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children:
|
|
9556
|
+
const titleNode = title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIJCSQFLDcjs.PageTitle, { className: PAGE_CONTAINER_TITLE_CLASS, children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }) : inScope && title === "" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PageContainerTitleSkeleton, {}) : null;
|
|
9557
9557
|
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;
|
|
9558
9558
|
const getActionsVariant = () => {
|
|
9559
9559
|
if (actionsVariant) return actionsVariant;
|
|
@@ -9980,7 +9980,7 @@ var BenefitCardGrid = ({ children, className = "", columns = 2 }) => {
|
|
|
9980
9980
|
|
|
9981
9981
|
|
|
9982
9982
|
function PlatformBrowseButton({ item }) {
|
|
9983
|
-
const linkProps =
|
|
9983
|
+
const linkProps = _chunkTQ7TUEK2cjs.useNavLinkViaRuntime.call(void 0, { href: item.link, targetPlatform: item.targetPlatform });
|
|
9984
9984
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", linkProps, rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-4 w-4" }), children: [
|
|
9985
9985
|
"Browse ",
|
|
9986
9986
|
item.buttonText
|
|
@@ -10499,10 +10499,10 @@ var OSTypeBadge = ({
|
|
|
10499
10499
|
if (!osType) {
|
|
10500
10500
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10501
10501
|
}
|
|
10502
|
-
const normalized =
|
|
10502
|
+
const normalized = _chunkXUMZMIHRcjs.normalizeOSType.call(void 0, osType);
|
|
10503
10503
|
if (!normalized && !labelOnly) return null;
|
|
10504
|
-
const label =
|
|
10505
|
-
const IconComponent =
|
|
10504
|
+
const label = _chunkXUMZMIHRcjs.getOSLabel.call(void 0, osType);
|
|
10505
|
+
const IconComponent = _chunkXUMZMIHRcjs.getOSIcon.call(void 0, osType);
|
|
10506
10506
|
if (iconOnly && IconComponent) {
|
|
10507
10507
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk63A4GZMBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10508
10508
|
}
|
|
@@ -10799,7 +10799,7 @@ function ComplianceLogo({
|
|
|
10799
10799
|
fallback = null,
|
|
10800
10800
|
className
|
|
10801
10801
|
}) {
|
|
10802
|
-
const standard =
|
|
10802
|
+
const standard = _chunkXUMZMIHRcjs.complianceStandardForName.call(void 0, ...names);
|
|
10803
10803
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10804
10804
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10805
10805
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12841,7 +12841,7 @@ function DataTableRowImpl({
|
|
|
12841
12841
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12842
12842
|
const handleClick = _react.useCallback.call(void 0,
|
|
12843
12843
|
(e) => {
|
|
12844
|
-
if (!
|
|
12844
|
+
if (!_chunkXUMZMIHRcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12845
12845
|
if (isLinkMode) e.preventDefault();
|
|
12846
12846
|
return;
|
|
12847
12847
|
}
|
|
@@ -12855,7 +12855,7 @@ function DataTableRowImpl({
|
|
|
12855
12855
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _224 => _224.contains, 'call', _225 => _225(target)])) return;
|
|
12856
12856
|
const nestedLink = target.closest("a");
|
|
12857
12857
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12858
|
-
if (!
|
|
12858
|
+
if (!_chunkXUMZMIHRcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12859
12859
|
}, []);
|
|
12860
12860
|
const containerClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
12861
12861
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -12985,7 +12985,7 @@ function DataTableBody({
|
|
|
12985
12985
|
const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
|
|
12986
12986
|
if (loading && loadingCells && hasRows) {
|
|
12987
12987
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12988
|
-
|
|
12988
|
+
_chunkTQ7TUEK2cjs.LoadingFallback,
|
|
12989
12989
|
{
|
|
12990
12990
|
label: "Loading results",
|
|
12991
12991
|
status: loadingRegion && !inScope,
|
|
@@ -13334,7 +13334,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13334
13334
|
// child of the cell.
|
|
13335
13335
|
_optionalChain([meta, 'optionalAccess', _244 => _244.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13336
13336
|
filterTrigger,
|
|
13337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXUMZMIHRcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13338
13338
|
] }) : filterTrigger
|
|
13339
13339
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13340
13340
|
"div",
|
|
@@ -13359,7 +13359,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13359
13359
|
// centred on the row.
|
|
13360
13360
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13361
13361
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13362
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13362
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXUMZMIHRcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13363
13363
|
] })
|
|
13364
13364
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13365
13365
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13598,7 +13598,7 @@ function PhoneInput({
|
|
|
13598
13598
|
placeholder = "Phone Number (optional)",
|
|
13599
13599
|
onKeyDown
|
|
13600
13600
|
}) {
|
|
13601
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13601
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkXUMZMIHRcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13602
13602
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13603
13603
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13604
13604
|
[countryCode, priority, others]
|
|
@@ -13613,7 +13613,7 @@ function PhoneInput({
|
|
|
13613
13613
|
_optionalChain([onValidationChange, 'optionalCall', _261 => _261(false)]);
|
|
13614
13614
|
return;
|
|
13615
13615
|
}
|
|
13616
|
-
const invalid = !
|
|
13616
|
+
const invalid = !_chunkXUMZMIHRcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13617
13617
|
setIsInvalid(invalid);
|
|
13618
13618
|
_optionalChain([onValidationChange, 'optionalCall', _262 => _262(invalid)]);
|
|
13619
13619
|
},
|
|
@@ -14458,7 +14458,7 @@ function MarkdownLinkDialog({ isOpen, initial, editing, onSubmit, onRemove, onCl
|
|
|
14458
14458
|
),
|
|
14459
14459
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xsf)]", children: [
|
|
14460
14460
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14461
|
-
|
|
14461
|
+
_chunkTQ7TUEK2cjs.TabSelector,
|
|
14462
14462
|
{
|
|
14463
14463
|
label: "Search engines",
|
|
14464
14464
|
value: choice,
|
|
@@ -14515,7 +14515,7 @@ function useMarkdownLinkCommand() {
|
|
|
14515
14515
|
buttonProps: { "aria-label": "Add or edit a link (ctrl + l)", title: "Add or edit a link (ctrl + l)" },
|
|
14516
14516
|
icon: command.icon,
|
|
14517
14517
|
execute: (state, api) => {
|
|
14518
|
-
const existing =
|
|
14518
|
+
const existing = _chunkTQ7TUEK2cjs.findMarkdownLinkAt.call(void 0, state.text, state.selection.start, state.selection.end);
|
|
14519
14519
|
setPending(
|
|
14520
14520
|
existing ? {
|
|
14521
14521
|
api,
|
|
@@ -14546,7 +14546,7 @@ function useMarkdownLinkCommand() {
|
|
|
14546
14546
|
initial: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _319 => _319.initial]), () => ( EMPTY_LINK)),
|
|
14547
14547
|
editing: _nullishCoalesce(_optionalChain([pending, 'optionalAccess', _320 => _320.editing]), () => ( false)),
|
|
14548
14548
|
onSubmit: (link) => {
|
|
14549
|
-
if (pending) write(pending,
|
|
14549
|
+
if (pending) write(pending, _chunkTQ7TUEK2cjs.formatMarkdownLink.call(void 0, link));
|
|
14550
14550
|
},
|
|
14551
14551
|
onRemove: () => {
|
|
14552
14552
|
if (pending) write(pending, pending.initial.text);
|
|
@@ -14712,7 +14712,7 @@ function MarkdownEditor({
|
|
|
14712
14712
|
setUploadProgress(`Uploading ${file.name}...`);
|
|
14713
14713
|
try {
|
|
14714
14714
|
const url = await onUploadFile(file);
|
|
14715
|
-
const isImage =
|
|
14715
|
+
const isImage = _chunk2IWAHBCCcjs.fileMediaType.call(void 0, file) === "image";
|
|
14716
14716
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
14717
14717
|
insertTextAtCursor(markdown);
|
|
14718
14718
|
_optionalChain([onFileUploaded, 'optionalCall', _323 => _323(url, file.name)]);
|
|
@@ -14842,7 +14842,7 @@ function MarkdownEditor({
|
|
|
14842
14842
|
type: "file",
|
|
14843
14843
|
className: "hidden",
|
|
14844
14844
|
onChange: handleFileInputChange,
|
|
14845
|
-
accept: `${
|
|
14845
|
+
accept: `${_chunk2IWAHBCCcjs.IMAGE_FILE_ACCEPT},.pdf,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.zip,.txt`
|
|
14846
14846
|
}
|
|
14847
14847
|
),
|
|
14848
14848
|
/* @__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,
|
|
@@ -15257,7 +15257,7 @@ function matchesAccept2(file, accept) {
|
|
|
15257
15257
|
return patterns.some((pattern) => {
|
|
15258
15258
|
if (pattern.startsWith(".")) return fileName.endsWith(pattern);
|
|
15259
15259
|
if (pattern.endsWith("/*"))
|
|
15260
|
-
return fileType.startsWith(pattern.slice(0, -1)) ||
|
|
15260
|
+
return fileType.startsWith(pattern.slice(0, -1)) || _chunk2IWAHBCCcjs.fileMediaType.call(void 0, file) === pattern.slice(0, -2);
|
|
15261
15261
|
return fileType === pattern;
|
|
15262
15262
|
});
|
|
15263
15263
|
}
|
|
@@ -15265,7 +15265,7 @@ function ImageUploader({
|
|
|
15265
15265
|
value,
|
|
15266
15266
|
onChange,
|
|
15267
15267
|
onRemove,
|
|
15268
|
-
accept =
|
|
15268
|
+
accept = _chunk2IWAHBCCcjs.IMAGE_FILE_ACCEPT,
|
|
15269
15269
|
maxSize = DEFAULT_MAX_SIZE,
|
|
15270
15270
|
label = "Cover Image",
|
|
15271
15271
|
description = "(Click Here or Drag and Drop)",
|
|
@@ -16428,7 +16428,7 @@ function TicketInfoSection({
|
|
|
16428
16428
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
16429
16429
|
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" }) }),
|
|
16430
16430
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 border-b border-ods-border bg-ods-bg p-4", children: [
|
|
16431
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16431
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTQ7TUEK2cjs.SimpleMarkdownRenderer, { content: description }),
|
|
16432
16432
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
16433
16433
|
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, _chunkBOS7OIC4cjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
16434
16434
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -16903,7 +16903,7 @@ function PhotoWall({
|
|
|
16903
16903
|
gap: COLUMN_GAP_PX
|
|
16904
16904
|
};
|
|
16905
16905
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootRef, "aria-hidden": "true", className: _chunk63A4GZMBcjs.cn.call(void 0, "grid overflow-hidden", className), style: gridStyle, children: columnsToDraw ? columnsToDraw.map((column, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16906
|
-
|
|
16906
|
+
_chunkTQ7TUEK2cjs.MarqueeWall,
|
|
16907
16907
|
{
|
|
16908
16908
|
axis: "y",
|
|
16909
16909
|
reverse: index % 2 === 1,
|
|
@@ -17448,7 +17448,7 @@ function LoadingLabel({ label, typical }) {
|
|
|
17448
17448
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: label.split(/(\{\w+\})/).map(
|
|
17449
17449
|
(part, index) => /^\{\w+\}$/.test(part) ? (
|
|
17450
17450
|
// biome-ignore lint/suspicious/noArrayIndexKey: the parts of one fixed string never reorder
|
|
17451
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17451
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTQ7TUEK2cjs.TextHold, { children: typical }, index)
|
|
17452
17452
|
) : part
|
|
17453
17453
|
) });
|
|
17454
17454
|
}
|
|
@@ -17463,7 +17463,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17463
17463
|
};
|
|
17464
17464
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17465
17465
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17466
|
-
const labels =
|
|
17466
|
+
const labels = _chunkXUMZMIHRcjs.trialLabels.call(void 0, trialDays);
|
|
17467
17467
|
return terms.flatMap((term) => {
|
|
17468
17468
|
const label = labels[term];
|
|
17469
17469
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -17917,7 +17917,7 @@ function StickyActionBar({ visible, children, className }) {
|
|
|
17917
17917
|
"aria-hidden": !visible,
|
|
17918
17918
|
inert: !visible,
|
|
17919
17919
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
17920
|
-
"
|
|
17920
|
+
"fixed inset-x-0 bottom-0 z-[44] border-t border-ods-border bg-ods-bg px-4 pt-3 transition-transform motion-reduce:transition-none",
|
|
17921
17921
|
"pb-[calc(1rem+env(safe-area-inset-bottom))]",
|
|
17922
17922
|
visible ? "translate-y-0" : "pointer-events-none translate-y-full",
|
|
17923
17923
|
className
|
|
@@ -18497,7 +18497,7 @@ function CompleteAccountForm({
|
|
|
18497
18497
|
),
|
|
18498
18498
|
children: [
|
|
18499
18499
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18500
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18500
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18501
18501
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18502
18502
|
] }),
|
|
18503
18503
|
(ssoProvidersLoading || ssoProviders && ssoProviders.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -18648,7 +18648,7 @@ function CreateOrganizationForm({
|
|
|
18648
18648
|
),
|
|
18649
18649
|
children: [
|
|
18650
18650
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
18651
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18651
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18652
18652
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle === null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: CREATE_ORGANIZATION_SUBTITLE_BAR_CLASS }) : subtitle })
|
|
18653
18653
|
] }),
|
|
18654
18654
|
email === void 0 ? null : emailReadOnly && emailReadOnlyLabel === null ? (
|
|
@@ -18795,7 +18795,7 @@ function InviteLinkInvalidModal({
|
|
|
18795
18795
|
),
|
|
18796
18796
|
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: [
|
|
18797
18797
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-mf)]", children: [
|
|
18798
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
18798
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "flex-1 tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18799
18799
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18800
18800
|
_chunkFCZAUK4Dcjs.Button,
|
|
18801
18801
|
{
|
|
@@ -18879,7 +18879,7 @@ function LoginForm({
|
|
|
18879
18879
|
),
|
|
18880
18880
|
children: [
|
|
18881
18881
|
/* @__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:
|
|
18882
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
18883
18883
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
18884
18884
|
] }),
|
|
18885
18885
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19006,7 +19006,7 @@ function NoAccountNotice({
|
|
|
19006
19006
|
),
|
|
19007
19007
|
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: [
|
|
19008
19008
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19009
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19009
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19010
19010
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: description })
|
|
19011
19011
|
] }),
|
|
19012
19012
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { type: "button", variant: "outline", fullWidth: true, onClick: onBackToLogin, children: backLabel })
|
|
@@ -19055,7 +19055,7 @@ function OpenFrameSsoLoginForm({
|
|
|
19055
19055
|
),
|
|
19056
19056
|
children: [
|
|
19057
19057
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19058
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19058
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19059
19059
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19060
19060
|
] }),
|
|
19061
19061
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19160,7 +19160,7 @@ function OpenFrameSsoSignUpForm({
|
|
|
19160
19160
|
),
|
|
19161
19161
|
children: [
|
|
19162
19162
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
19163
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19163
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19164
19164
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19165
19165
|
] }),
|
|
19166
19166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19266,7 +19266,7 @@ function PasswordResetForm({
|
|
|
19266
19266
|
),
|
|
19267
19267
|
children: [
|
|
19268
19268
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19269
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19269
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19270
19270
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19271
19271
|
] }),
|
|
19272
19272
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -19387,7 +19387,7 @@ function SsoJoinForm({
|
|
|
19387
19387
|
),
|
|
19388
19388
|
children: [
|
|
19389
19389
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
19390
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children:
|
|
19390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "tracking-[-0.64px] text-ods-text-primary text-h2", children: _chunk2IWAHBCCcjs.accentSentenceMarks.call(void 0, title) }),
|
|
19391
19391
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
19392
19392
|
] }),
|
|
19393
19393
|
/* @__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: [
|
|
@@ -21106,8 +21106,8 @@ var FiltersDropdown = ({
|
|
|
21106
21106
|
] }, section.id);
|
|
21107
21107
|
}) }),
|
|
21108
21108
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-4 flex shrink-0 gap-3", children: [
|
|
21109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", onClick: handleReset, size: "default",
|
|
21110
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "accent", onClick: handleApply, size: "default",
|
|
21109
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "outline", onClick: handleReset, size: "default", children: "Reset" }),
|
|
21110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFCZAUK4Dcjs.Button, { variant: "accent", onClick: handleApply, size: "default", children: "Apply" })
|
|
21111
21111
|
] })
|
|
21112
21112
|
] })
|
|
21113
21113
|
}
|
|
@@ -21242,15 +21242,15 @@ function useLoading() {
|
|
|
21242
21242
|
|
|
21243
21243
|
|
|
21244
21244
|
function isAlreadyThere(file, existing) {
|
|
21245
|
-
const key =
|
|
21245
|
+
const key = _chunk2IWAHBCCcjs.mediaNameKey.call(void 0, file.name);
|
|
21246
21246
|
if (!key) return false;
|
|
21247
21247
|
return existing.some(
|
|
21248
|
-
(item) => (item.title ?
|
|
21248
|
+
(item) => (item.title ? _chunk2IWAHBCCcjs.mediaNameKey.call(void 0, item.title) === key : false) || (item.media_url ? _chunk2IWAHBCCcjs.mediaNameKey.call(void 0, item.media_url) === key : false)
|
|
21249
21249
|
);
|
|
21250
21250
|
}
|
|
21251
21251
|
var isFileDrag = (event) => Array.from(event.dataTransfer.types).includes("Files");
|
|
21252
|
-
var isVideoItem = (item) =>
|
|
21253
|
-
var MEDIA_KIND_ACCEPT = { image:
|
|
21252
|
+
var isVideoItem = (item) => _chunk2IWAHBCCcjs.isVideoMedia.call(void 0, item) || item.media_type === "demo";
|
|
21253
|
+
var MEDIA_KIND_ACCEPT = { image: _chunk2IWAHBCCcjs.IMAGE_FILE_ACCEPT, video: "video/*", both: _chunk2IWAHBCCcjs.MEDIA_FILE_ACCEPT };
|
|
21254
21254
|
var MEDIA_KIND_COPY = {
|
|
21255
21255
|
image: { noun: "pictures", refusal: "Not a picture" },
|
|
21256
21256
|
video: { noun: "videos", refusal: "Not a video" },
|
|
@@ -21274,12 +21274,12 @@ function useMediaIntake({ existing, onUpload, onUploaded, kinds = "both" }) {
|
|
|
21274
21274
|
const seen = /* @__PURE__ */ new Set();
|
|
21275
21275
|
const accepted = [];
|
|
21276
21276
|
for (const file of files) {
|
|
21277
|
-
const mediaType =
|
|
21277
|
+
const mediaType = _chunk2IWAHBCCcjs.fileMediaType.call(void 0, file);
|
|
21278
21278
|
if (!mediaType || kinds !== "both" && mediaType !== kinds) {
|
|
21279
21279
|
unsupported.push(file.name);
|
|
21280
21280
|
continue;
|
|
21281
21281
|
}
|
|
21282
|
-
const contentKey = await
|
|
21282
|
+
const contentKey = await _chunk2IWAHBCCcjs.fileContentKey.call(void 0, file).catch(() => `${file.name}:${file.size}`);
|
|
21283
21283
|
if (seen.has(contentKey) || isAlreadyThere(file, existingRef.current)) {
|
|
21284
21284
|
duplicates.push(file.name);
|
|
21285
21285
|
continue;
|
|
@@ -21894,7 +21894,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21894
21894
|
empty: "No token rates are in effect right now."
|
|
21895
21895
|
};
|
|
21896
21896
|
function providerMark(providerType, stated, className) {
|
|
21897
|
-
const Mark = _chunkQOAA7ZHBcjs.findIcon.call(void 0,
|
|
21897
|
+
const Mark = _chunkQOAA7ZHBcjs.findIcon.call(void 0, _chunkXUMZMIHRcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21898
21898
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21899
21899
|
}
|
|
21900
21900
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21912,7 +21912,7 @@ var UNIT_LINE_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
|
21912
21912
|
var TABS_ROW_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21913
21913
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21914
21914
|
function useProviderGroup(rates) {
|
|
21915
|
-
const groups =
|
|
21915
|
+
const groups = _chunkXUMZMIHRcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21916
21916
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21917
21917
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21918
21918
|
}
|
|
@@ -21923,7 +21923,7 @@ function ProviderTabs({
|
|
|
21923
21923
|
className
|
|
21924
21924
|
}) {
|
|
21925
21925
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21926
|
-
|
|
21926
|
+
_chunkTQ7TUEK2cjs.TabSelector,
|
|
21927
21927
|
{
|
|
21928
21928
|
variant: "secondary",
|
|
21929
21929
|
scrollable: true,
|
|
@@ -21931,7 +21931,7 @@ function ProviderTabs({
|
|
|
21931
21931
|
onValueChange,
|
|
21932
21932
|
items: groups.map((candidate) => ({
|
|
21933
21933
|
id: candidate.providerType,
|
|
21934
|
-
label:
|
|
21934
|
+
label: _chunkXUMZMIHRcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _462 => _462.rates, 'access', _463 => _463[0], 'optionalAccess', _464 => _464.providerLabel])),
|
|
21935
21935
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _465 => _465.rates, 'access', _466 => _466[0], 'optionalAccess', _467 => _467.providerIcon]), "size-full")
|
|
21936
21936
|
})),
|
|
21937
21937
|
className
|
|
@@ -22008,8 +22008,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22008
22008
|
] }),
|
|
22009
22009
|
/* @__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: [
|
|
22010
22010
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22011
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22012
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkXUMZMIHRcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22012
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkXUMZMIHRcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22013
22013
|
] }, rate.modelName)) })
|
|
22014
22014
|
] }),
|
|
22015
22015
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22056,7 +22056,7 @@ function modelOption(rate) {
|
|
|
22056
22056
|
return {
|
|
22057
22057
|
label: rate.displayName || rate.modelName,
|
|
22058
22058
|
value: rate.modelName,
|
|
22059
|
-
description:
|
|
22059
|
+
description: _chunkXUMZMIHRcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22060
22060
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22061
22061
|
};
|
|
22062
22062
|
}
|
|
@@ -22111,8 +22111,8 @@ function ModelTokenExchange({
|
|
|
22111
22111
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22112
22112
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _468 => _468.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22113
22113
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22114
|
-
const tokens =
|
|
22115
|
-
const cost =
|
|
22114
|
+
const tokens = _chunkXUMZMIHRcjs.formatTokenAmount.call(void 0, balance);
|
|
22115
|
+
const cost = _chunkXUMZMIHRcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22116
22116
|
const balancePrice = cost === null ? null : _chunkBOS7OIC4cjs.formatPrice.call(void 0, cost);
|
|
22117
22117
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22118
22118
|
const options = models.map(modelOption);
|
|
@@ -22155,7 +22155,7 @@ function ModelTokenExchange({
|
|
|
22155
22155
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22156
22156
|
size: "small",
|
|
22157
22157
|
onClick: () => setChosen(preset.tokens),
|
|
22158
|
-
children: copy.buy.preset(
|
|
22158
|
+
children: copy.buy.preset(_chunkXUMZMIHRcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22159
22159
|
},
|
|
22160
22160
|
preset.label
|
|
22161
22161
|
)) })
|
|
@@ -22172,7 +22172,7 @@ function ModelTokenExchange({
|
|
|
22172
22172
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _469 => _469.providerType]) === providerType ? rate : null)));
|
|
22173
22173
|
return {
|
|
22174
22174
|
id: providerType,
|
|
22175
|
-
name:
|
|
22175
|
+
name: _chunkXUMZMIHRcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _470 => _470.providerLabel])),
|
|
22176
22176
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _471 => _471.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22177
22177
|
};
|
|
22178
22178
|
}),
|
|
@@ -22211,7 +22211,7 @@ function ModelTokenExchange({
|
|
|
22211
22211
|
{
|
|
22212
22212
|
size: "plain",
|
|
22213
22213
|
loading,
|
|
22214
|
-
figure:
|
|
22214
|
+
figure: _chunkXUMZMIHRcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _476 => _476.inputTokenRate])),
|
|
22215
22215
|
words: copy.charge.input
|
|
22216
22216
|
}
|
|
22217
22217
|
),
|
|
@@ -22220,7 +22220,7 @@ function ModelTokenExchange({
|
|
|
22220
22220
|
{
|
|
22221
22221
|
size: "plain",
|
|
22222
22222
|
loading,
|
|
22223
|
-
figure:
|
|
22223
|
+
figure: _chunkXUMZMIHRcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _477 => _477.outputTokenRate])),
|
|
22224
22224
|
words: copy.charge.output
|
|
22225
22225
|
}
|
|
22226
22226
|
)
|
|
@@ -22232,9 +22232,9 @@ function ModelTokenExchange({
|
|
|
22232
22232
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22233
22233
|
children: [
|
|
22234
22234
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[2lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22235
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22235
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] whitespace-nowrap tabular-nums text-ods-text-primary text-h1", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkXUMZMIHRcjs.formatTokenAmount.call(void 0, _chunkXUMZMIHRcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22236
22236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22237
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22237
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-secondary text-h4", children: loading || !rate ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkXUMZMIHRcjs.formatTokenAmount.call(void 0, _chunkXUMZMIHRcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22238
22238
|
]
|
|
22239
22239
|
}
|
|
22240
22240
|
)
|
|
@@ -22754,14 +22754,14 @@ var ConfidenceBadge = ({
|
|
|
22754
22754
|
size = "sm",
|
|
22755
22755
|
className
|
|
22756
22756
|
}) => {
|
|
22757
|
-
const level =
|
|
22757
|
+
const level = _chunkXUMZMIHRcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22758
22758
|
if (level === "none") {
|
|
22759
22759
|
return null;
|
|
22760
22760
|
}
|
|
22761
|
-
const label =
|
|
22762
|
-
const borderClass =
|
|
22763
|
-
const textClass =
|
|
22764
|
-
const bgClass =
|
|
22761
|
+
const label = _chunkXUMZMIHRcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22762
|
+
const borderClass = _chunkXUMZMIHRcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22763
|
+
const textClass = _chunkXUMZMIHRcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22764
|
+
const bgClass = _chunkXUMZMIHRcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22765
22765
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22766
22766
|
"span",
|
|
22767
22767
|
{
|
|
@@ -22812,9 +22812,9 @@ function SEOEditorPreview({
|
|
|
22812
22812
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22813
22813
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22814
22814
|
const seoTitleLength = (seoTitle || "").length;
|
|
22815
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22815
|
+
const seoTitleTooLong = seoTitleLength > _chunkXUMZMIHRcjs.SEO_TITLE_MAX_LENGTH;
|
|
22816
22816
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22817
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22817
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkXUMZMIHRcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22818
22818
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22819
22819
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22820
22820
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22839,10 +22839,10 @@ function SEOEditorPreview({
|
|
|
22839
22839
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22840
22840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22841
22841
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22842
|
-
|
|
22842
|
+
_chunkXUMZMIHRcjs.Field,
|
|
22843
22843
|
{
|
|
22844
22844
|
label: "SEO Title",
|
|
22845
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22845
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkXUMZMIHRcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22846
22846
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22847
22847
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22848
22848
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22857,7 +22857,7 @@ function SEOEditorPreview({
|
|
|
22857
22857
|
children: [
|
|
22858
22858
|
seoTitleLength,
|
|
22859
22859
|
"/",
|
|
22860
|
-
|
|
22860
|
+
_chunkXUMZMIHRcjs.SEO_TITLE_MAX_LENGTH
|
|
22861
22861
|
]
|
|
22862
22862
|
}
|
|
22863
22863
|
),
|
|
@@ -22868,7 +22868,7 @@ function SEOEditorPreview({
|
|
|
22868
22868
|
value: seoTitle || "",
|
|
22869
22869
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22870
22870
|
disabled,
|
|
22871
|
-
maxLength:
|
|
22871
|
+
maxLength: _chunkXUMZMIHRcjs.SEO_TITLE_MAX_LENGTH,
|
|
22872
22872
|
invalid: seoTitleTooLong,
|
|
22873
22873
|
placeholder: "Enter SEO meta title...",
|
|
22874
22874
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22879,7 +22879,7 @@ function SEOEditorPreview({
|
|
|
22879
22879
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22880
22880
|
] }),
|
|
22881
22881
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22882
|
-
|
|
22882
|
+
_chunkXUMZMIHRcjs.Field,
|
|
22883
22883
|
{
|
|
22884
22884
|
label: "SEO Keywords",
|
|
22885
22885
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22911,10 +22911,10 @@ function SEOEditorPreview({
|
|
|
22911
22911
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22912
22912
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22913
22913
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22914
|
-
|
|
22914
|
+
_chunkXUMZMIHRcjs.Field,
|
|
22915
22915
|
{
|
|
22916
22916
|
label: "SEO Description",
|
|
22917
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22917
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkXUMZMIHRcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22918
22918
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22919
22919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22920
22920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22937,7 +22937,7 @@ function SEOEditorPreview({
|
|
|
22937
22937
|
children: [
|
|
22938
22938
|
seoDescriptionLength,
|
|
22939
22939
|
"/",
|
|
22940
|
-
|
|
22940
|
+
_chunkXUMZMIHRcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22941
22941
|
]
|
|
22942
22942
|
}
|
|
22943
22943
|
),
|
|
@@ -22948,7 +22948,7 @@ function SEOEditorPreview({
|
|
|
22948
22948
|
value: seoDescription || "",
|
|
22949
22949
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22950
22950
|
disabled,
|
|
22951
|
-
maxLength:
|
|
22951
|
+
maxLength: _chunkXUMZMIHRcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22952
22952
|
invalid: seoDescriptionTooLong,
|
|
22953
22953
|
placeholder: "Enter SEO meta description...",
|
|
22954
22954
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23017,7 +23017,7 @@ function SEOEditorPreview({
|
|
|
23017
23017
|
{
|
|
23018
23018
|
ref: setFileInputRef,
|
|
23019
23019
|
type: "file",
|
|
23020
|
-
accept:
|
|
23020
|
+
accept: _chunk2IWAHBCCcjs.IMAGE_FILE_ACCEPT,
|
|
23021
23021
|
onChange: handleImageUpload,
|
|
23022
23022
|
className: "hidden",
|
|
23023
23023
|
disabled: disabled || isUploading
|
|
@@ -23101,7 +23101,7 @@ function socialIcon(platform) {
|
|
|
23101
23101
|
return _nullishCoalesce(_chunkQOAA7ZHBcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23102
23102
|
}
|
|
23103
23103
|
function renderSocialIcon(platform) {
|
|
23104
|
-
const key = _nullishCoalesce(
|
|
23104
|
+
const key = _nullishCoalesce(_chunk2IWAHBCCcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23105
23105
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23106
23106
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23107
23107
|
}
|
|
@@ -23192,7 +23192,7 @@ function SocialLinksManager({
|
|
|
23192
23192
|
};
|
|
23193
23193
|
const getIcon = (link, platform) => {
|
|
23194
23194
|
const iconKey = _optionalChain([platform, 'optionalAccess', _487 => _487.icon_name]) || link.platform;
|
|
23195
|
-
const key =
|
|
23195
|
+
const key = _chunk2IWAHBCCcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23196
23196
|
if (!key) return null;
|
|
23197
23197
|
const icon = socialIcon(key);
|
|
23198
23198
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23660,7 +23660,7 @@ function VideoBitesDisplay({
|
|
|
23660
23660
|
filterPublished = true,
|
|
23661
23661
|
showTitle = true
|
|
23662
23662
|
}) {
|
|
23663
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23663
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTQ7TUEK2cjs.VideoBitesStrip, { bites, title, filterPublished, showTitle });
|
|
23664
23664
|
}
|
|
23665
23665
|
|
|
23666
23666
|
// src/components/features/walkthrough-video.tsx
|
|
@@ -23689,7 +23689,7 @@ function WalkthroughVideo({
|
|
|
23689
23689
|
onOpenChange,
|
|
23690
23690
|
defaultOpen,
|
|
23691
23691
|
defaultOpenPaused,
|
|
23692
|
-
deepLinkParam =
|
|
23692
|
+
deepLinkParam = _chunkXUMZMIHRcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23693
23693
|
autoPlayCard = false,
|
|
23694
23694
|
label = "Play Demo Video",
|
|
23695
23695
|
placement,
|
|
@@ -23706,7 +23706,7 @@ function WalkthroughVideo({
|
|
|
23706
23706
|
const inline = placement === "inline";
|
|
23707
23707
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23708
23708
|
const dismissEnabled = dismissal !== false;
|
|
23709
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23709
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkXUMZMIHRcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23710
23710
|
const dismissalId = _optionalChain([video, 'optionalAccess', _493 => _493.id]) != null ? String(video.id) : "dismissed";
|
|
23711
23711
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23712
23712
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23718,7 +23718,7 @@ function WalkthroughVideo({
|
|
|
23718
23718
|
let delayElapsed = false;
|
|
23719
23719
|
let interacted = inline;
|
|
23720
23720
|
const reveal = () => {
|
|
23721
|
-
if (dismissEnabled &&
|
|
23721
|
+
if (dismissEnabled && _chunkXUMZMIHRcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23722
23722
|
setDismissed(true);
|
|
23723
23723
|
return;
|
|
23724
23724
|
}
|
|
@@ -23755,7 +23755,7 @@ function WalkthroughVideo({
|
|
|
23755
23755
|
if (idleHandle !== null && typeof cic === "function") cic(idleHandle);
|
|
23756
23756
|
};
|
|
23757
23757
|
}, [appearDelayMs, dismissEnabled, storageKey, dismissalId, hasVideo, videoId, inline]);
|
|
23758
|
-
const hydrated =
|
|
23758
|
+
const hydrated = _chunkTQ7TUEK2cjs.useIsHydrated.call(void 0, );
|
|
23759
23759
|
const previewSuppressed = _react.useMemo.call(void 0, () => {
|
|
23760
23760
|
if (!hydrated) return false;
|
|
23761
23761
|
try {
|
|
@@ -24005,7 +24005,7 @@ function WalkthroughVideo({
|
|
|
24005
24005
|
(e) => {
|
|
24006
24006
|
e.stopPropagation();
|
|
24007
24007
|
pausePreviewNow();
|
|
24008
|
-
if (dismissEnabled)
|
|
24008
|
+
if (dismissEnabled) _chunkXUMZMIHRcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24009
24009
|
setDismissed(true);
|
|
24010
24010
|
},
|
|
24011
24011
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24180,7 +24180,7 @@ function WalkthroughVideo({
|
|
|
24180
24180
|
`card-${embedUrlKey}`
|
|
24181
24181
|
) }),
|
|
24182
24182
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24183
|
-
|
|
24183
|
+
_chunkTQ7TUEK2cjs.CardHitLayer,
|
|
24184
24184
|
{
|
|
24185
24185
|
label: video.title ? `${label}: ${video.title}` : label,
|
|
24186
24186
|
onPointerDown: pausePreviewNow,
|
|
@@ -24352,7 +24352,7 @@ function useWalkthroughVideo(opts) {
|
|
|
24352
24352
|
const { endpoint, initialData, enabled: enabledGiven = true, transformCaptionsUrl } = opts;
|
|
24353
24353
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
24354
24354
|
const enabled = enabledGiven && !inScope;
|
|
24355
|
-
const captions =
|
|
24355
|
+
const captions = _chunkTQ7TUEK2cjs.useCaptions.call(void 0, );
|
|
24356
24356
|
const query = _reactquery.useQuery.call(void 0, {
|
|
24357
24357
|
queryKey: ["walkthrough-video", endpoint],
|
|
24358
24358
|
enabled,
|
|
@@ -25103,7 +25103,7 @@ function HighlightConfigSection({
|
|
|
25103
25103
|
disabled = false,
|
|
25104
25104
|
className = ""
|
|
25105
25105
|
}) {
|
|
25106
|
-
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,
|
|
25106
|
+
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, _chunkXUMZMIHRcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25107
25107
|
_chunkIJCSQFLDcjs.Select,
|
|
25108
25108
|
{
|
|
25109
25109
|
value: targetDurationSeconds.toString(),
|
|
@@ -25204,7 +25204,7 @@ var AIStatusIndicator = ({
|
|
|
25204
25204
|
}) => {
|
|
25205
25205
|
const config = statusConfig[status];
|
|
25206
25206
|
const displayText = message || config.label;
|
|
25207
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25207
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkXUMZMIHRcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25208
25208
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25209
25209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25210
25210
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25212,7 +25212,7 @@ var AIStatusIndicator = ({
|
|
|
25212
25212
|
size: 16,
|
|
25213
25213
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
25214
25214
|
status === "loading" && _chunk3TOWCFIKcjs.LIVE_PULSE_CLASS,
|
|
25215
|
-
confidence !== void 0 && status === "success" ?
|
|
25215
|
+
confidence !== void 0 && status === "success" ? _chunkXUMZMIHRcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25216
25216
|
)
|
|
25217
25217
|
}
|
|
25218
25218
|
),
|
|
@@ -25221,7 +25221,7 @@ var AIStatusIndicator = ({
|
|
|
25221
25221
|
{
|
|
25222
25222
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
25223
25223
|
"text-h6",
|
|
25224
|
-
confidence !== void 0 && status === "success" ?
|
|
25224
|
+
confidence !== void 0 && status === "success" ? _chunkXUMZMIHRcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25225
25225
|
),
|
|
25226
25226
|
children: displayText
|
|
25227
25227
|
}
|
|
@@ -25231,8 +25231,8 @@ var AIStatusIndicator = ({
|
|
|
25231
25231
|
{
|
|
25232
25232
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
25233
25233
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25234
|
-
|
|
25235
|
-
|
|
25234
|
+
_chunkXUMZMIHRcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25235
|
+
_chunkXUMZMIHRcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25236
25236
|
),
|
|
25237
25237
|
children: confidenceLabel
|
|
25238
25238
|
}
|
|
@@ -25853,7 +25853,7 @@ function ApprovalLevelView({
|
|
|
25853
25853
|
] });
|
|
25854
25854
|
}
|
|
25855
25855
|
function ApprovalLevelSkeleton({ editable = false, showLabel = true, className }) {
|
|
25856
|
-
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25856
|
+
const name = showLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: LEVEL_NAME_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTQ7TUEK2cjs.TextHold, { children: LONGEST_LEVEL_LABEL }) }) : null;
|
|
25857
25857
|
if (!editable) {
|
|
25858
25858
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "aria-hidden": true, className: _chunk63A4GZMBcjs.cn.call(void 0, READ_ONLY_ROW_CLASS, className), children: [
|
|
25859
25859
|
name,
|
|
@@ -26112,7 +26112,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
26112
26112
|
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,
|
|
26113
26113
|
_chunkFCZAUK4Dcjs.Button,
|
|
26114
26114
|
{
|
|
26115
|
-
onClick: loading ? void 0 :
|
|
26115
|
+
onClick: loading ? void 0 : _chunkXUMZMIHRcjs.openInNewTab.call(void 0, href),
|
|
26116
26116
|
disabled: loading,
|
|
26117
26117
|
variant: "outline",
|
|
26118
26118
|
size: "icon",
|
|
@@ -26486,7 +26486,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26486
26486
|
/* @__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,
|
|
26487
26487
|
_chunkFCZAUK4Dcjs.Button,
|
|
26488
26488
|
{
|
|
26489
|
-
onClick: loading ? void 0 :
|
|
26489
|
+
onClick: loading ? void 0 : _chunkXUMZMIHRcjs.openInNewTab.call(void 0, href),
|
|
26490
26490
|
disabled: loading,
|
|
26491
26491
|
variant: "outline",
|
|
26492
26492
|
size: "icon",
|
|
@@ -26621,7 +26621,7 @@ function WaitlistForm({
|
|
|
26621
26621
|
const { toast } = _chunkT266OITJcjs.useToast.call(void 0, );
|
|
26622
26622
|
const { honeypotInputProps, getSignals, resetSignals } = _chunkT266OITJcjs.useHumanitySignals.call(void 0, );
|
|
26623
26623
|
const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
|
|
26624
|
-
const isClient =
|
|
26624
|
+
const isClient = _chunkTQ7TUEK2cjs.useIsHydrated.call(void 0, );
|
|
26625
26625
|
const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
|
|
26626
26626
|
const [showConsentError, setShowConsentError] = _react.useState.call(void 0, false);
|
|
26627
26627
|
const rescue = _chunkT266OITJcjs.useFormRescue.call(void 0, {
|
|
@@ -26636,7 +26636,7 @@ function WaitlistForm({
|
|
|
26636
26636
|
_react.useEffect.call(void 0, () => {
|
|
26637
26637
|
rescue.track({ email, phone }, null);
|
|
26638
26638
|
}, [email, phone, rescue]);
|
|
26639
|
-
const isMailDomainGeneric =
|
|
26639
|
+
const isMailDomainGeneric = _chunkXUMZMIHRcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26640
26640
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26641
26641
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26642
26642
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26670,7 +26670,7 @@ function WaitlistForm({
|
|
|
26670
26670
|
setShowConsentError(true);
|
|
26671
26671
|
return;
|
|
26672
26672
|
}
|
|
26673
|
-
const finalPhone = phone ?
|
|
26673
|
+
const finalPhone = phone ? _chunkXUMZMIHRcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26674
26674
|
try {
|
|
26675
26675
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26676
26676
|
rescue.complete();
|
|
@@ -28095,7 +28095,7 @@ function ApprovalRequestNotificationTile({
|
|
|
28095
28095
|
disabled: processing,
|
|
28096
28096
|
"data-pressed": approvePressed || void 0,
|
|
28097
28097
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
28098
|
-
"
|
|
28098
|
+
"transition-[filter,transform] duration-200 motion-reduce:transition-none",
|
|
28099
28099
|
lockscreen ? LOCKSCREEN_APPROVAL_BUTTON_CLASS : APPROVAL_BUTTON_CLASS,
|
|
28100
28100
|
approvePressed && "scale-[0.98] brightness-75"
|
|
28101
28101
|
),
|
|
@@ -28825,7 +28825,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28825
28825
|
}
|
|
28826
28826
|
}
|
|
28827
28827
|
function getDeviceOperatingSystem(osType) {
|
|
28828
|
-
return
|
|
28828
|
+
return _chunkXUMZMIHRcjs.getOSPlatformId.call(void 0, osType);
|
|
28829
28829
|
}
|
|
28830
28830
|
|
|
28831
28831
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30401,7 +30401,7 @@ function DevicesPanelView({
|
|
|
30401
30401
|
actionsVariant: "icon-buttons",
|
|
30402
30402
|
className,
|
|
30403
30403
|
selector: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30404
|
-
|
|
30404
|
+
_chunkTQ7TUEK2cjs.TabSelector,
|
|
30405
30405
|
{
|
|
30406
30406
|
value: viewMode,
|
|
30407
30407
|
onValueChange: (value) => _optionalChain([onViewModeChange, 'optionalCall', _674 => _674(value)]),
|
|
@@ -30936,11 +30936,11 @@ var ToolBadge = ({
|
|
|
30936
30936
|
iconClassName
|
|
30937
30937
|
}) => {
|
|
30938
30938
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30939
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30939
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkXUMZMIHRcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30940
30940
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDDBOCG3cjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30941
30941
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30942
30942
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30943
|
-
|
|
30943
|
+
_chunkTQ7TUEK2cjs.NavLinkAnchorViaRuntime,
|
|
30944
30944
|
{
|
|
30945
30945
|
href,
|
|
30946
30946
|
targetPlatform,
|
|
@@ -31090,7 +31090,7 @@ function LogsTableView({
|
|
|
31090
31090
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31091
31091
|
ToolBadge,
|
|
31092
31092
|
{
|
|
31093
|
-
toolType:
|
|
31093
|
+
toolType: _chunkXUMZMIHRcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31094
31094
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31095
31095
|
}
|
|
31096
31096
|
),
|
|
@@ -31102,7 +31102,7 @@ function LogsTableView({
|
|
|
31102
31102
|
filter: {
|
|
31103
31103
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _682 => _682.toolTypes, 'access', _683 => _683.map, 'call', _684 => _684((toolType) => ({
|
|
31104
31104
|
id: toolType,
|
|
31105
|
-
label:
|
|
31105
|
+
label: _chunkXUMZMIHRcjs.toToolLabel.call(void 0, toolType),
|
|
31106
31106
|
value: toolType
|
|
31107
31107
|
}))]), () => ( []))
|
|
31108
31108
|
}
|
|
@@ -31151,7 +31151,7 @@ function LogsTableView({
|
|
|
31151
31151
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31152
31152
|
LogRowButton,
|
|
31153
31153
|
{
|
|
31154
|
-
onClick: getLogHref ?
|
|
31154
|
+
onClick: getLogHref ? _chunkXUMZMIHRcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31155
31155
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31156
31156
|
label: "Open in new tab"
|
|
31157
31157
|
}
|
|
@@ -31473,7 +31473,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31473
31473
|
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,
|
|
31474
31474
|
_chunkFCZAUK4Dcjs.Button,
|
|
31475
31475
|
{
|
|
31476
|
-
onClick: loading ? void 0 :
|
|
31476
|
+
onClick: loading ? void 0 : _chunkXUMZMIHRcjs.openInNewTab.call(void 0, href),
|
|
31477
31477
|
disabled: loading,
|
|
31478
31478
|
variant: "outline",
|
|
31479
31479
|
size: "icon",
|
|
@@ -31662,9 +31662,9 @@ function ScriptSchedulesTable({
|
|
|
31662
31662
|
|
|
31663
31663
|
// src/components/features/scripts/shell-types.ts
|
|
31664
31664
|
var SCRIPT_SHELL_TYPES = [
|
|
31665
|
-
{ id:
|
|
31666
|
-
{ id:
|
|
31667
|
-
{ id:
|
|
31665
|
+
{ id: _chunkXUMZMIHRcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31666
|
+
{ id: _chunkXUMZMIHRcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31667
|
+
{ id: _chunkXUMZMIHRcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31668
31668
|
];
|
|
31669
31669
|
function scriptShellType(value) {
|
|
31670
31670
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33140,7 +33140,7 @@ function ScheduleFormFields({
|
|
|
33140
33140
|
disabled = false,
|
|
33141
33141
|
renderScriptSearch,
|
|
33142
33142
|
timeReferenceGate = "off",
|
|
33143
|
-
platforms =
|
|
33143
|
+
platforms = _chunkXUMZMIHRcjs.OS_PLATFORMS,
|
|
33144
33144
|
comingSoonPlatforms = [],
|
|
33145
33145
|
getTimeSlots,
|
|
33146
33146
|
nameLayout = "stacked",
|
|
@@ -33286,7 +33286,7 @@ function ScheduleFormFields({
|
|
|
33286
33286
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33287
33287
|
|
|
33288
33288
|
function ScriptPlatformIcons({ platforms }) {
|
|
33289
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33289
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkXUMZMIHRcjs.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)) });
|
|
33290
33290
|
}
|
|
33291
33291
|
function ScheduleScriptSearchField({
|
|
33292
33292
|
scriptId,
|
|
@@ -33359,7 +33359,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33359
33359
|
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,
|
|
33360
33360
|
_chunkFCZAUK4Dcjs.Button,
|
|
33361
33361
|
{
|
|
33362
|
-
onClick: loading ? void 0 :
|
|
33362
|
+
onClick: loading ? void 0 : _chunkXUMZMIHRcjs.openInNewTab.call(void 0, href),
|
|
33363
33363
|
disabled: loading,
|
|
33364
33364
|
variant: "outline",
|
|
33365
33365
|
size: "icon",
|
|
@@ -33710,7 +33710,7 @@ function ConversationCard({
|
|
|
33710
33710
|
style: tint,
|
|
33711
33711
|
onClick: selection && ((event) => {
|
|
33712
33712
|
if (event.button !== 0 || _optionalChain([window, 'access', _748 => _748.getSelection, 'call', _749 => _749(), 'optionalAccess', _750 => _750.toString, 'call', _751 => _751()])) return;
|
|
33713
|
-
if (!
|
|
33713
|
+
if (!_chunkXUMZMIHRcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33714
33714
|
selection.onToggle();
|
|
33715
33715
|
}),
|
|
33716
33716
|
children: [
|
|
@@ -33733,7 +33733,7 @@ function ConversationCard({
|
|
|
33733
33733
|
)
|
|
33734
33734
|
),
|
|
33735
33735
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33736
|
-
|
|
33736
|
+
_chunkXUMZMIHRcjs.ChatTurn,
|
|
33737
33737
|
{
|
|
33738
33738
|
avatar: requester.avatar,
|
|
33739
33739
|
name: requester.name,
|
|
@@ -33754,7 +33754,7 @@ function ConversationCard({
|
|
|
33754
33754
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _752 => _752.context])), children: context.text })
|
|
33755
33755
|
] }),
|
|
33756
33756
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33757
|
-
|
|
33757
|
+
_chunkXUMZMIHRcjs.ChatTurn,
|
|
33758
33758
|
{
|
|
33759
33759
|
avatar: responder.avatar,
|
|
33760
33760
|
name: responder.name,
|
|
@@ -33799,7 +33799,7 @@ function ConversationCardSkeleton({
|
|
|
33799
33799
|
{
|
|
33800
33800
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33801
33801
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33802
|
-
|
|
33802
|
+
_chunkXUMZMIHRcjs.ChatTurn,
|
|
33803
33803
|
{
|
|
33804
33804
|
loading: true,
|
|
33805
33805
|
name: "",
|
|
@@ -33823,7 +33823,7 @@ function ConversationCardSkeleton({
|
|
|
33823
33823
|
] })
|
|
33824
33824
|
] }),
|
|
33825
33825
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33826
|
-
|
|
33826
|
+
_chunkXUMZMIHRcjs.ChatTurn,
|
|
33827
33827
|
{
|
|
33828
33828
|
loading: true,
|
|
33829
33829
|
name: "",
|