@flamingo-stack/openframe-frontend-core 0.0.756 → 0.0.757
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-PUK27ZB6.cjs → chunk-33PJH2TF.cjs} +13 -13
- package/dist/{chunk-W5MEHJRQ.cjs → chunk-33RJU565.cjs} +2 -2
- package/dist/{chunk-QKFJ6ORK.cjs → chunk-3C4U4UW6.cjs} +1 -1
- package/dist/{chunk-57JA37HP.cjs → chunk-7RADSQJF.cjs} +76 -76
- package/dist/{chunk-MR5KMPSE.cjs → chunk-AZFSHHWT.cjs} +4 -4
- package/dist/{chunk-VOXDBCBV.cjs → chunk-BLYP7ZT4.cjs} +34 -34
- package/dist/{chunk-TAEEGNFL.cjs → chunk-CT3UDNAV.cjs} +33 -33
- package/dist/{chunk-CYDWQYIQ.cjs → chunk-HB3QFOHD.cjs} +5 -5
- package/dist/{chunk-KNNJ4WLF.cjs → chunk-JEIAB7JQ.cjs} +2 -2
- package/dist/{chunk-MBQTLZAG.cjs → chunk-L2RNZOCI.cjs} +11 -11
- package/dist/{chunk-4YL4Y3BV.cjs → chunk-ORC3ZKHT.cjs} +9 -9
- package/dist/{chunk-KFUC2XF7.cjs → chunk-RPADJ2E6.cjs} +3 -3
- package/dist/{chunk-7KPU7RGS.cjs → chunk-S5ITKW6G.cjs} +55 -55
- package/dist/{chunk-KSU3CXKY.cjs → chunk-UWXUGP3V.cjs} +3 -3
- package/dist/{chunk-MDXZMTCK.cjs → chunk-VD4HVLXG.cjs} +22 -22
- package/dist/{chunk-BTIYXBA2.cjs → chunk-WSRMYHIV.cjs} +2 -2
- package/dist/{cloud-tenants-NOZGXQZY.cjs → cloud-tenants-PA5UU2KQ.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +11 -11
- package/dist/components/chat/embeddable-chat.js +8 -6
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/help-center-pages/index.cjs +53 -53
- package/dist/components/index.cjs +32 -32
- package/dist/components/meeting-scheduler/index.cjs +19 -19
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-M4KBTOTC.cjs → devices-72YSJM4Z.cjs} +4 -4
- package/dist/{embeddable-chat-KGJVVG2V.cjs → embeddable-chat-CHHWPGAY.cjs} +8 -6
- package/dist/index.cjs +7 -7
- package/dist/{knowledge-VVF6CJEG.cjs → knowledge-76RIDA7P.cjs} +3 -3
- package/dist/{logs-7E6HBJ55.cjs → logs-ODMJ3KOP.cjs} +11 -11
- package/dist/{policies-UMZLJTBD.cjs → policies-5BZ5X2S4.cjs} +7 -7
- package/dist/{scripts-XVNAEYCH.cjs → scripts-TWQPG46M.cjs} +8 -8
- package/dist/{software-update-U43ZFHMC.cjs → software-update-TSGISQV5.cjs} +6 -6
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +10 -6
|
@@ -109,7 +109,7 @@ var _chunkYUMFVQINcjs = require('./chunk-YUMFVQIN.cjs');
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
|
|
112
|
-
var
|
|
112
|
+
var _chunk3C4U4UW6cjs = require('./chunk-3C4U4UW6.cjs');
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
@@ -4369,7 +4369,7 @@ function AdminFormDrawer({
|
|
|
4369
4369
|
"form",
|
|
4370
4370
|
{
|
|
4371
4371
|
id: formId,
|
|
4372
|
-
...
|
|
4372
|
+
..._chunk3C4U4UW6cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4373
4373
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4374
4374
|
onSubmit: (e) => {
|
|
4375
4375
|
e.preventDefault();
|
|
@@ -4476,7 +4476,7 @@ function AdminFormModal({
|
|
|
4476
4476
|
"form",
|
|
4477
4477
|
{
|
|
4478
4478
|
id: formId,
|
|
4479
|
-
...
|
|
4479
|
+
..._chunk3C4U4UW6cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4480
4480
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4481
4481
|
onSubmit: (e) => {
|
|
4482
4482
|
e.preventDefault();
|
|
@@ -5795,7 +5795,7 @@ function EmbedViewerFrame({
|
|
|
5795
5795
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
5796
5796
|
_react.useEffect.call(void 0, () => {
|
|
5797
5797
|
if (!fullscreenControl) return void 0;
|
|
5798
|
-
const controller = new (0,
|
|
5798
|
+
const controller = new (0, _chunk3C4U4UW6cjs.FullscreenSwitchController)({
|
|
5799
5799
|
target: () => frameRef.current,
|
|
5800
5800
|
onFullscreenChange: setIsFullscreen
|
|
5801
5801
|
});
|
|
@@ -7777,7 +7777,7 @@ var processShortcodes = (content) => {
|
|
|
7777
7777
|
try {
|
|
7778
7778
|
const urlObj = new URL(url);
|
|
7779
7779
|
const hostname = urlObj.hostname.toLowerCase();
|
|
7780
|
-
const hostIs = (domain) =>
|
|
7780
|
+
const hostIs = (domain) => _chunk3C4U4UW6cjs.hostMatches.call(void 0, hostname, domain);
|
|
7781
7781
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
7782
7782
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
7783
7783
|
return match;
|
|
@@ -9941,10 +9941,10 @@ var OSTypeBadge = ({
|
|
|
9941
9941
|
if (!osType) {
|
|
9942
9942
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
9943
9943
|
}
|
|
9944
|
-
const normalized =
|
|
9944
|
+
const normalized = _chunk3C4U4UW6cjs.normalizeOSType.call(void 0, osType);
|
|
9945
9945
|
if (!normalized && !labelOnly) return null;
|
|
9946
|
-
const label =
|
|
9947
|
-
const IconComponent =
|
|
9946
|
+
const label = _chunk3C4U4UW6cjs.getOSLabel.call(void 0, osType);
|
|
9947
|
+
const IconComponent = _chunk3C4U4UW6cjs.getOSIcon.call(void 0, osType);
|
|
9948
9948
|
if (iconOnly && IconComponent) {
|
|
9949
9949
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk3ATAYP36cjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
9950
9950
|
}
|
|
@@ -10185,7 +10185,7 @@ function ComplianceLogo({
|
|
|
10185
10185
|
fallback = null,
|
|
10186
10186
|
className
|
|
10187
10187
|
}) {
|
|
10188
|
-
const standard =
|
|
10188
|
+
const standard = _chunk3C4U4UW6cjs.complianceStandardForName.call(void 0, ...names);
|
|
10189
10189
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10190
10190
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10191
10191
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11802,7 +11802,7 @@ function TableHeader({
|
|
|
11802
11802
|
onFilterChange
|
|
11803
11803
|
}
|
|
11804
11804
|
),
|
|
11805
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11805
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3C4U4UW6cjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
11806
11806
|
] })
|
|
11807
11807
|
) : (
|
|
11808
11808
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -11828,7 +11828,7 @@ function TableHeader({
|
|
|
11828
11828
|
hint exists, so a hint-less header keeps its DOM. */
|
|
11829
11829
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
11830
11830
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11831
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11831
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3C4U4UW6cjs.InfoHint, { label: column.label, children: column.hint })
|
|
11832
11832
|
] })
|
|
11833
11833
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
11834
11834
|
getSortIcon(column)
|
|
@@ -13177,7 +13177,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13177
13177
|
// child of the cell.
|
|
13178
13178
|
_optionalChain([meta, 'optionalAccess', _235 => _235.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13179
13179
|
filterTrigger,
|
|
13180
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13180
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3C4U4UW6cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13181
13181
|
] }) : filterTrigger
|
|
13182
13182
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13183
13183
|
"div",
|
|
@@ -13202,7 +13202,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13202
13202
|
// centred on the row.
|
|
13203
13203
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13204
13204
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3C4U4UW6cjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13206
13206
|
] })
|
|
13207
13207
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13208
13208
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13422,7 +13422,7 @@ function PhoneInput({
|
|
|
13422
13422
|
placeholder = "Phone Number (optional)",
|
|
13423
13423
|
onKeyDown
|
|
13424
13424
|
}) {
|
|
13425
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13425
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunk3C4U4UW6cjs.getCountryPhoneData.call(void 0, ), []);
|
|
13426
13426
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13427
13427
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13428
13428
|
[countryCode, priority, others]
|
|
@@ -13437,7 +13437,7 @@ function PhoneInput({
|
|
|
13437
13437
|
_optionalChain([onValidationChange, 'optionalCall', _248 => _248(false)]);
|
|
13438
13438
|
return;
|
|
13439
13439
|
}
|
|
13440
|
-
const invalid = !
|
|
13440
|
+
const invalid = !_chunk3C4U4UW6cjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13441
13441
|
setIsInvalid(invalid);
|
|
13442
13442
|
_optionalChain([onValidationChange, 'optionalCall', _249 => _249(invalid)]);
|
|
13443
13443
|
},
|
|
@@ -17086,7 +17086,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17086
17086
|
};
|
|
17087
17087
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17088
17088
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17089
|
-
const labels =
|
|
17089
|
+
const labels = _chunk3C4U4UW6cjs.trialLabels.call(void 0, trialDays);
|
|
17090
17090
|
return terms.flatMap((term) => {
|
|
17091
17091
|
const label = labels[term];
|
|
17092
17092
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -22282,14 +22282,14 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
22282
22282
|
empty: "No token rates are in effect right now."
|
|
22283
22283
|
};
|
|
22284
22284
|
function providerMark(providerType, stated, className) {
|
|
22285
|
-
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0,
|
|
22285
|
+
const Mark = _chunkKTPR66EEcjs.findIcon.call(void 0, _chunk3C4U4UW6cjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
22286
22286
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
22287
22287
|
}
|
|
22288
22288
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
22289
22289
|
var ROW = "flex items-center gap-[var(--spacing-system-s)]";
|
|
22290
22290
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22291
22291
|
function useProviderGroup(rates) {
|
|
22292
|
-
const groups =
|
|
22292
|
+
const groups = _chunk3C4U4UW6cjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22293
22293
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22294
22294
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22295
22295
|
}
|
|
@@ -22308,7 +22308,7 @@ function ProviderTabs({
|
|
|
22308
22308
|
onValueChange,
|
|
22309
22309
|
items: groups.map((candidate) => ({
|
|
22310
22310
|
id: candidate.providerType,
|
|
22311
|
-
label:
|
|
22311
|
+
label: _chunk3C4U4UW6cjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _443 => _443.rates, 'access', _444 => _444[0], 'optionalAccess', _445 => _445.providerLabel])),
|
|
22312
22312
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _446 => _446.rates, 'access', _447 => _447[0], 'optionalAccess', _448 => _448.providerIcon]), "size-full")
|
|
22313
22313
|
})),
|
|
22314
22314
|
className
|
|
@@ -22409,8 +22409,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22409
22409
|
className: _chunk3ATAYP36cjs.cn.call(void 0, ROW, PAD_X, "py-[var(--spacing-system-xxs)] text-ods-text-primary text-h6"),
|
|
22410
22410
|
children: [
|
|
22411
22411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22412
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22413
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22412
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunk3C4U4UW6cjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22413
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunk3C4U4UW6cjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22414
22414
|
]
|
|
22415
22415
|
},
|
|
22416
22416
|
rate.modelName
|
|
@@ -22476,7 +22476,7 @@ function modelOption(rate) {
|
|
|
22476
22476
|
return {
|
|
22477
22477
|
label: rate.displayName || rate.modelName,
|
|
22478
22478
|
value: rate.modelName,
|
|
22479
|
-
description:
|
|
22479
|
+
description: _chunk3C4U4UW6cjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22480
22480
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22481
22481
|
};
|
|
22482
22482
|
}
|
|
@@ -22530,8 +22530,8 @@ function ModelTokenExchange({
|
|
|
22530
22530
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22531
22531
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _449 => _449.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22532
22532
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22533
|
-
const tokens =
|
|
22534
|
-
const cost =
|
|
22533
|
+
const tokens = _chunk3C4U4UW6cjs.formatTokenAmount.call(void 0, balance);
|
|
22534
|
+
const cost = _chunk3C4U4UW6cjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22535
22535
|
const balancePrice = cost === null ? null : _chunkJHQNUWFMcjs.formatPrice.call(void 0, cost);
|
|
22536
22536
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22537
22537
|
const options = models.map(modelOption);
|
|
@@ -22573,7 +22573,7 @@ function ModelTokenExchange({
|
|
|
22573
22573
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22574
22574
|
size: "small",
|
|
22575
22575
|
onClick: () => setChosen(preset.tokens),
|
|
22576
|
-
children: copy.buy.preset(
|
|
22576
|
+
children: copy.buy.preset(_chunk3C4U4UW6cjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22577
22577
|
},
|
|
22578
22578
|
preset.label
|
|
22579
22579
|
)) })
|
|
@@ -22592,7 +22592,7 @@ function ModelTokenExchange({
|
|
|
22592
22592
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _450 => _450.providerType]) === providerType ? rate : null)));
|
|
22593
22593
|
return {
|
|
22594
22594
|
id: providerType,
|
|
22595
|
-
name:
|
|
22595
|
+
name: _chunk3C4U4UW6cjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _451 => _451.providerLabel])),
|
|
22596
22596
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _452 => _452.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22597
22597
|
};
|
|
22598
22598
|
}),
|
|
@@ -22630,7 +22630,7 @@ function ModelTokenExchange({
|
|
|
22630
22630
|
{
|
|
22631
22631
|
size: "plain",
|
|
22632
22632
|
loading,
|
|
22633
|
-
figure:
|
|
22633
|
+
figure: _chunk3C4U4UW6cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _457 => _457.inputTokenRate])),
|
|
22634
22634
|
words: copy.charge.input
|
|
22635
22635
|
}
|
|
22636
22636
|
),
|
|
@@ -22639,7 +22639,7 @@ function ModelTokenExchange({
|
|
|
22639
22639
|
{
|
|
22640
22640
|
size: "plain",
|
|
22641
22641
|
loading,
|
|
22642
|
-
figure:
|
|
22642
|
+
figure: _chunk3C4U4UW6cjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _458 => _458.outputTokenRate])),
|
|
22643
22643
|
words: copy.charge.output
|
|
22644
22644
|
}
|
|
22645
22645
|
)
|
|
@@ -22651,9 +22651,9 @@ function ModelTokenExchange({
|
|
|
22651
22651
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22652
22652
|
children: [
|
|
22653
22653
|
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-full max-w-xs") }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22654
|
-
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-40") }) :
|
|
22654
|
+
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-40") }) : _chunk3C4U4UW6cjs.formatTokenAmount.call(void 0, _chunk3C4U4UW6cjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22655
22655
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22656
|
-
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-48") }) : copy.charge.orWritten(
|
|
22656
|
+
/* @__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, _chunkH3RYUTNDcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: _chunk3ATAYP36cjs.cn.call(void 0, FIGURE_SKELETON_CLASS, "w-48") }) : copy.charge.orWritten(_chunk3C4U4UW6cjs.formatTokenAmount.call(void 0, _chunk3C4U4UW6cjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22657
22657
|
]
|
|
22658
22658
|
}
|
|
22659
22659
|
)
|
|
@@ -23151,14 +23151,14 @@ var ConfidenceBadge = ({
|
|
|
23151
23151
|
size = "sm",
|
|
23152
23152
|
className
|
|
23153
23153
|
}) => {
|
|
23154
|
-
const level =
|
|
23154
|
+
const level = _chunk3C4U4UW6cjs.getConfidenceLevel.call(void 0, confidence);
|
|
23155
23155
|
if (level === "none") {
|
|
23156
23156
|
return null;
|
|
23157
23157
|
}
|
|
23158
|
-
const label =
|
|
23159
|
-
const borderClass =
|
|
23160
|
-
const textClass =
|
|
23161
|
-
const bgClass =
|
|
23158
|
+
const label = _chunk3C4U4UW6cjs.getConfidenceLabel.call(void 0, confidence);
|
|
23159
|
+
const borderClass = _chunk3C4U4UW6cjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
23160
|
+
const textClass = _chunk3C4U4UW6cjs.getConfidenceTextClass.call(void 0, confidence);
|
|
23161
|
+
const bgClass = _chunk3C4U4UW6cjs.getConfidenceBgClass.call(void 0, confidence);
|
|
23162
23162
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23163
23163
|
"span",
|
|
23164
23164
|
{
|
|
@@ -23209,9 +23209,9 @@ function SEOEditorPreview({
|
|
|
23209
23209
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
23210
23210
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
23211
23211
|
const seoTitleLength = (seoTitle || "").length;
|
|
23212
|
-
const seoTitleTooLong = seoTitleLength >
|
|
23212
|
+
const seoTitleTooLong = seoTitleLength > _chunk3C4U4UW6cjs.SEO_TITLE_MAX_LENGTH;
|
|
23213
23213
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
23214
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
23214
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunk3C4U4UW6cjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
23215
23215
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
23216
23216
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
23217
23217
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23236,10 +23236,10 @@ function SEOEditorPreview({
|
|
|
23236
23236
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23237
23237
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23238
23238
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23239
|
-
|
|
23239
|
+
_chunk3C4U4UW6cjs.Field,
|
|
23240
23240
|
{
|
|
23241
23241
|
label: "SEO Title",
|
|
23242
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23242
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunk3C4U4UW6cjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23243
23243
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23244
23244
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23245
23245
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23254,7 +23254,7 @@ function SEOEditorPreview({
|
|
|
23254
23254
|
children: [
|
|
23255
23255
|
seoTitleLength,
|
|
23256
23256
|
"/",
|
|
23257
|
-
|
|
23257
|
+
_chunk3C4U4UW6cjs.SEO_TITLE_MAX_LENGTH
|
|
23258
23258
|
]
|
|
23259
23259
|
}
|
|
23260
23260
|
),
|
|
@@ -23265,7 +23265,7 @@ function SEOEditorPreview({
|
|
|
23265
23265
|
value: seoTitle || "",
|
|
23266
23266
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23267
23267
|
disabled,
|
|
23268
|
-
maxLength:
|
|
23268
|
+
maxLength: _chunk3C4U4UW6cjs.SEO_TITLE_MAX_LENGTH,
|
|
23269
23269
|
invalid: seoTitleTooLong,
|
|
23270
23270
|
placeholder: "Enter SEO meta title...",
|
|
23271
23271
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23276,7 +23276,7 @@ function SEOEditorPreview({
|
|
|
23276
23276
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23277
23277
|
] }),
|
|
23278
23278
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23279
|
-
|
|
23279
|
+
_chunk3C4U4UW6cjs.Field,
|
|
23280
23280
|
{
|
|
23281
23281
|
label: "SEO Keywords",
|
|
23282
23282
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23308,10 +23308,10 @@ function SEOEditorPreview({
|
|
|
23308
23308
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23309
23309
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23310
23310
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23311
|
-
|
|
23311
|
+
_chunk3C4U4UW6cjs.Field,
|
|
23312
23312
|
{
|
|
23313
23313
|
label: "SEO Description",
|
|
23314
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23314
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunk3C4U4UW6cjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23315
23315
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23316
23316
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23317
23317
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23334,7 +23334,7 @@ function SEOEditorPreview({
|
|
|
23334
23334
|
children: [
|
|
23335
23335
|
seoDescriptionLength,
|
|
23336
23336
|
"/",
|
|
23337
|
-
|
|
23337
|
+
_chunk3C4U4UW6cjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23338
23338
|
]
|
|
23339
23339
|
}
|
|
23340
23340
|
),
|
|
@@ -23345,7 +23345,7 @@ function SEOEditorPreview({
|
|
|
23345
23345
|
value: seoDescription || "",
|
|
23346
23346
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23347
23347
|
disabled,
|
|
23348
|
-
maxLength:
|
|
23348
|
+
maxLength: _chunk3C4U4UW6cjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23349
23349
|
invalid: seoDescriptionTooLong,
|
|
23350
23350
|
placeholder: "Enter SEO meta description...",
|
|
23351
23351
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23498,7 +23498,7 @@ function socialIcon(platform) {
|
|
|
23498
23498
|
return _nullishCoalesce(_chunkKTPR66EEcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23499
23499
|
}
|
|
23500
23500
|
function renderSocialIcon(platform) {
|
|
23501
|
-
const key = _nullishCoalesce(
|
|
23501
|
+
const key = _nullishCoalesce(_chunk3C4U4UW6cjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23502
23502
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23503
23503
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23504
23504
|
}
|
|
@@ -23581,7 +23581,7 @@ function SocialLinksManager({
|
|
|
23581
23581
|
};
|
|
23582
23582
|
const getIcon = (link, platform) => {
|
|
23583
23583
|
const iconKey = _optionalChain([platform, 'optionalAccess', _468 => _468.icon_name]) || link.platform;
|
|
23584
|
-
const key =
|
|
23584
|
+
const key = _chunk3C4U4UW6cjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23585
23585
|
if (!key) return null;
|
|
23586
23586
|
const icon = socialIcon(key);
|
|
23587
23587
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -24019,7 +24019,7 @@ function WalkthroughVideo({
|
|
|
24019
24019
|
onOpenChange,
|
|
24020
24020
|
defaultOpen,
|
|
24021
24021
|
defaultOpenPaused,
|
|
24022
|
-
deepLinkParam =
|
|
24022
|
+
deepLinkParam = _chunk3C4U4UW6cjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
24023
24023
|
autoPlayCard = false,
|
|
24024
24024
|
label = "Play Demo Video",
|
|
24025
24025
|
placement,
|
|
@@ -24035,7 +24035,7 @@ function WalkthroughVideo({
|
|
|
24035
24035
|
}) {
|
|
24036
24036
|
const inline = placement === "inline";
|
|
24037
24037
|
const dismissEnabled = dismissal !== false;
|
|
24038
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
24038
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunk3C4U4UW6cjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24039
24039
|
const dismissalId = _optionalChain([video, 'optionalAccess', _474 => _474.id]) != null ? String(video.id) : "dismissed";
|
|
24040
24040
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24041
24041
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -24047,7 +24047,7 @@ function WalkthroughVideo({
|
|
|
24047
24047
|
let delayElapsed = false;
|
|
24048
24048
|
let interacted = inline;
|
|
24049
24049
|
const reveal = () => {
|
|
24050
|
-
if (dismissEnabled &&
|
|
24050
|
+
if (dismissEnabled && _chunk3C4U4UW6cjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
24051
24051
|
setDismissed(true);
|
|
24052
24052
|
return;
|
|
24053
24053
|
}
|
|
@@ -24334,7 +24334,7 @@ function WalkthroughVideo({
|
|
|
24334
24334
|
(e) => {
|
|
24335
24335
|
e.stopPropagation();
|
|
24336
24336
|
pausePreviewNow();
|
|
24337
|
-
if (dismissEnabled)
|
|
24337
|
+
if (dismissEnabled) _chunk3C4U4UW6cjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24338
24338
|
setDismissed(true);
|
|
24339
24339
|
},
|
|
24340
24340
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -25422,7 +25422,7 @@ function HighlightConfigSection({
|
|
|
25422
25422
|
disabled = false,
|
|
25423
25423
|
className = ""
|
|
25424
25424
|
}) {
|
|
25425
|
-
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,
|
|
25425
|
+
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, _chunk3C4U4UW6cjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25426
25426
|
_chunkAXBVN5SWcjs.Select,
|
|
25427
25427
|
{
|
|
25428
25428
|
value: targetDurationSeconds.toString(),
|
|
@@ -25523,7 +25523,7 @@ var AIStatusIndicator = ({
|
|
|
25523
25523
|
}) => {
|
|
25524
25524
|
const config = statusConfig[status];
|
|
25525
25525
|
const displayText = message || config.label;
|
|
25526
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25526
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunk3C4U4UW6cjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25527
25527
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25528
25528
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25529
25529
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25531,7 +25531,7 @@ var AIStatusIndicator = ({
|
|
|
25531
25531
|
size: 16,
|
|
25532
25532
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25533
25533
|
status === "loading" && "animate-pulse",
|
|
25534
|
-
confidence !== void 0 && status === "success" ?
|
|
25534
|
+
confidence !== void 0 && status === "success" ? _chunk3C4U4UW6cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25535
25535
|
)
|
|
25536
25536
|
}
|
|
25537
25537
|
),
|
|
@@ -25540,7 +25540,7 @@ var AIStatusIndicator = ({
|
|
|
25540
25540
|
{
|
|
25541
25541
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25542
25542
|
"text-h6",
|
|
25543
|
-
confidence !== void 0 && status === "success" ?
|
|
25543
|
+
confidence !== void 0 && status === "success" ? _chunk3C4U4UW6cjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25544
25544
|
),
|
|
25545
25545
|
children: displayText
|
|
25546
25546
|
}
|
|
@@ -25550,8 +25550,8 @@ var AIStatusIndicator = ({
|
|
|
25550
25550
|
{
|
|
25551
25551
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
25552
25552
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25553
|
-
|
|
25554
|
-
|
|
25553
|
+
_chunk3C4U4UW6cjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25554
|
+
_chunk3C4U4UW6cjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25555
25555
|
),
|
|
25556
25556
|
children: confidenceLabel
|
|
25557
25557
|
}
|
|
@@ -26447,7 +26447,7 @@ function PoliciesTable({
|
|
|
26447
26447
|
cell: ({ row }) => row.original.href ? /* @__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,
|
|
26448
26448
|
_chunk2QMBXGMQcjs.Button,
|
|
26449
26449
|
{
|
|
26450
|
-
onClick:
|
|
26450
|
+
onClick: _chunk3C4U4UW6cjs.openInNewTab.call(void 0, row.original.href),
|
|
26451
26451
|
variant: "outline",
|
|
26452
26452
|
size: "icon",
|
|
26453
26453
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26773,7 +26773,7 @@ function TenantsTableView({
|
|
|
26773
26773
|
/* @__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,
|
|
26774
26774
|
_chunk2QMBXGMQcjs.Button,
|
|
26775
26775
|
{
|
|
26776
|
-
onClick:
|
|
26776
|
+
onClick: _chunk3C4U4UW6cjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26777
26777
|
variant: "outline",
|
|
26778
26778
|
size: "icon",
|
|
26779
26779
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26869,7 +26869,7 @@ function WaitlistForm({
|
|
|
26869
26869
|
_react.useEffect.call(void 0, () => {
|
|
26870
26870
|
rescue.track({ email, phone }, null);
|
|
26871
26871
|
}, [email, phone, rescue]);
|
|
26872
|
-
const isMailDomainGeneric =
|
|
26872
|
+
const isMailDomainGeneric = _chunk3C4U4UW6cjs.hasGenericEmailDomain.call(void 0, email);
|
|
26873
26873
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26874
26874
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26875
26875
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26903,7 +26903,7 @@ function WaitlistForm({
|
|
|
26903
26903
|
setShowConsentError(true);
|
|
26904
26904
|
return;
|
|
26905
26905
|
}
|
|
26906
|
-
const finalPhone = phone ?
|
|
26906
|
+
const finalPhone = phone ? _chunk3C4U4UW6cjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26907
26907
|
try {
|
|
26908
26908
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26909
26909
|
rescue.complete();
|
|
@@ -29020,7 +29020,7 @@ function getDeviceStatusConfig(status) {
|
|
|
29020
29020
|
}
|
|
29021
29021
|
}
|
|
29022
29022
|
function getDeviceOperatingSystem(osType) {
|
|
29023
|
-
return
|
|
29023
|
+
return _chunk3C4U4UW6cjs.getOSPlatformId.call(void 0, osType);
|
|
29024
29024
|
}
|
|
29025
29025
|
|
|
29026
29026
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -31091,7 +31091,7 @@ var ToolBadge = ({
|
|
|
31091
31091
|
className,
|
|
31092
31092
|
iconClassName
|
|
31093
31093
|
}) => {
|
|
31094
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
31094
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunk3C4U4UW6cjs.getToolLabel.call(void 0, toolType) : "")));
|
|
31095
31095
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWI2OTGKCcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
31096
31096
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31097
31097
|
_chunkQTYSYEHKcjs.NavLinkAnchorViaRuntime,
|
|
@@ -31201,7 +31201,7 @@ function LogsTableView({
|
|
|
31201
31201
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31202
31202
|
ToolBadge,
|
|
31203
31203
|
{
|
|
31204
|
-
toolType:
|
|
31204
|
+
toolType: _chunk3C4U4UW6cjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31205
31205
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31206
31206
|
}
|
|
31207
31207
|
),
|
|
@@ -31213,7 +31213,7 @@ function LogsTableView({
|
|
|
31213
31213
|
filter: {
|
|
31214
31214
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _663 => _663.toolTypes, 'access', _664 => _664.map, 'call', _665 => _665((toolType) => ({
|
|
31215
31215
|
id: toolType,
|
|
31216
|
-
label:
|
|
31216
|
+
label: _chunk3C4U4UW6cjs.toToolLabel.call(void 0, toolType),
|
|
31217
31217
|
value: toolType
|
|
31218
31218
|
}))]), () => ( []))
|
|
31219
31219
|
}
|
|
@@ -31271,7 +31271,7 @@ function LogsTableView({
|
|
|
31271
31271
|
cell: ({ row }) => /* @__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,
|
|
31272
31272
|
_chunk2QMBXGMQcjs.Button,
|
|
31273
31273
|
{
|
|
31274
|
-
onClick: getLogHref ?
|
|
31274
|
+
onClick: getLogHref ? _chunk3C4U4UW6cjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31275
31275
|
variant: "outline",
|
|
31276
31276
|
size: "icon",
|
|
31277
31277
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31646,7 +31646,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31646
31646
|
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,
|
|
31647
31647
|
_chunk2QMBXGMQcjs.Button,
|
|
31648
31648
|
{
|
|
31649
|
-
onClick:
|
|
31649
|
+
onClick: _chunk3C4U4UW6cjs.openInNewTab.call(void 0, href),
|
|
31650
31650
|
variant: "outline",
|
|
31651
31651
|
size: "icon",
|
|
31652
31652
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31795,9 +31795,9 @@ function ScriptSchedulesTable({
|
|
|
31795
31795
|
|
|
31796
31796
|
// src/components/features/scripts/shell-types.ts
|
|
31797
31797
|
var SCRIPT_SHELL_TYPES = [
|
|
31798
|
-
{ id:
|
|
31799
|
-
{ id:
|
|
31800
|
-
{ id:
|
|
31798
|
+
{ id: _chunk3C4U4UW6cjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31799
|
+
{ id: _chunk3C4U4UW6cjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31800
|
+
{ id: _chunk3C4U4UW6cjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31801
31801
|
];
|
|
31802
31802
|
function scriptShellType(value) {
|
|
31803
31803
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33230,7 +33230,7 @@ function ScheduleFormFields({
|
|
|
33230
33230
|
disabled = false,
|
|
33231
33231
|
renderScriptSearch,
|
|
33232
33232
|
timeReferenceGate = "off",
|
|
33233
|
-
platforms =
|
|
33233
|
+
platforms = _chunk3C4U4UW6cjs.OS_PLATFORMS,
|
|
33234
33234
|
comingSoonPlatforms = [],
|
|
33235
33235
|
getTimeSlots,
|
|
33236
33236
|
nameLayout = "stacked",
|
|
@@ -33376,7 +33376,7 @@ function ScheduleFormFields({
|
|
|
33376
33376
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33377
33377
|
|
|
33378
33378
|
function ScriptPlatformIcons({ platforms }) {
|
|
33379
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33379
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunk3C4U4UW6cjs.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)) });
|
|
33380
33380
|
}
|
|
33381
33381
|
function ScheduleScriptSearchField({
|
|
33382
33382
|
scriptId,
|
|
@@ -33449,7 +33449,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
33449
33449
|
cell: ({ row }) => /* @__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,
|
|
33450
33450
|
_chunk2QMBXGMQcjs.Button,
|
|
33451
33451
|
{
|
|
33452
|
-
onClick:
|
|
33452
|
+
onClick: _chunk3C4U4UW6cjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
33453
33453
|
variant: "outline",
|
|
33454
33454
|
size: "icon",
|
|
33455
33455
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -33697,13 +33697,13 @@ function ConversationCard({
|
|
|
33697
33697
|
),
|
|
33698
33698
|
style: tint,
|
|
33699
33699
|
children: [
|
|
33700
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3C4U4UW6cjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "m-0 line-clamp-2 min-h-[2lh] text-ods-text-primary text-h3", title: request, children: [
|
|
33701
33701
|
"\u201C",
|
|
33702
33702
|
request,
|
|
33703
33703
|
"\u201D"
|
|
33704
33704
|
] }) }),
|
|
33705
33705
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33706
|
-
|
|
33706
|
+
_chunk3C4U4UW6cjs.ChatTurn,
|
|
33707
33707
|
{
|
|
33708
33708
|
avatar: responder.avatar,
|
|
33709
33709
|
name: responder.name,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkRPADJ2E6cjs = require('./chunk-RPADJ2E6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk7RADSQJFcjs = require('./chunk-7RADSQJF.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunkAXBVN5SWcjs = require('./chunk-AXBVN5SW.cjs');
|
|
@@ -35,7 +35,7 @@ function FaqDocumentPage({
|
|
|
35
35
|
onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
|
|
36
36
|
};
|
|
37
37
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAXBVN5SWcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38
|
-
|
|
38
|
+
_chunkRPADJ2E6cjs.FaqSection,
|
|
39
39
|
{
|
|
40
40
|
initialFaqs,
|
|
41
41
|
heading: null,
|
|
@@ -49,7 +49,7 @@ function FaqDocumentPage({
|
|
|
49
49
|
ask
|
|
50
50
|
}
|
|
51
51
|
) });
|
|
52
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
52
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RADSQJFcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
|