@flamingo-stack/openframe-frontend-core 0.0.782 → 0.0.783
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-QV4GHAWN.cjs → chunk-3PKORICR.cjs} +42 -42
- package/dist/{chunk-N7QNWHJA.cjs → chunk-62TMGBRO.cjs} +1 -1
- package/dist/{chunk-GFRKNUJZ.cjs → chunk-6NEWJ6I2.cjs} +13 -13
- package/dist/{chunk-YX7X5QQN.cjs → chunk-AFSVWR3X.cjs} +10 -10
- package/dist/{chunk-IZKEWQJN.cjs → chunk-APO7GMZQ.cjs} +2 -2
- package/dist/{chunk-I7LRZR4Q.cjs → chunk-BAJB3JF3.cjs} +3 -3
- package/dist/{chunk-JGKPEGZN.cjs → chunk-H3RHAN6B.cjs} +35 -35
- package/dist/{chunk-C5UUWXHE.cjs → chunk-KRXHRL3W.cjs} +41 -41
- package/dist/{chunk-2EXD2RSC.cjs → chunk-LGISRUGF.cjs} +2 -2
- package/dist/{chunk-VZUV2FCP.cjs → chunk-PQSTPJQQ.cjs} +2 -2
- package/dist/{chunk-C42BXIY7.cjs → chunk-RL45AU2C.cjs} +11 -11
- package/dist/{chunk-A4YUTS6Q.cjs → chunk-THOGSAFH.cjs} +78 -78
- package/dist/{chunk-MDGDL3C7.cjs → chunk-URFAMWCA.cjs} +5 -5
- package/dist/{chunk-7DKDVJMR.cjs → chunk-WHNI4QTG.cjs} +3 -3
- package/dist/{chunk-LTF6UDGO.cjs → chunk-WS7IDGEL.cjs} +4 -4
- package/dist/{chunk-VH3KQSI2.cjs → chunk-XKDJ5ISQ.cjs} +3 -3
- package/dist/{chunk-ISB7LW3D.cjs → chunk-YU23M33V.cjs} +28 -28
- package/dist/{cloud-tenants-LXKEG5N4.cjs → cloud-tenants-QYW3MPPP.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/chat/embeddable-chat.js +120 -98
- 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 +58 -58
- package/dist/components/index.cjs +33 -33
- package/dist/components/meeting-scheduler/index.cjs +26 -26
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/ui/index.cjs +3 -3
- package/dist/{devices-PYJRYIQN.cjs → devices-DMMMEO2B.cjs} +4 -4
- package/dist/{embeddable-chat-7MSM62UC.cjs → embeddable-chat-OSSPL7L4.cjs} +120 -98
- package/dist/index.cjs +7 -7
- package/dist/{knowledge-R4H2ZDX2.cjs → knowledge-XQQXVV6C.cjs} +3 -3
- package/dist/{logs-YWL6NK24.cjs → logs-BHKMDCBP.cjs} +11 -11
- package/dist/{policies-3COFYSKB.cjs → policies-5IY7QUED.cjs} +7 -7
- package/dist/{scripts-72EJDICT.cjs → scripts-ZQXRBGVK.cjs} +8 -8
- package/dist/{software-update-PPUVCLPO.cjs → software-update-RGFRYL3N.cjs} +6 -6
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +21 -4
|
@@ -107,7 +107,7 @@ var _chunkUPQMFK5Bcjs = require('./chunk-UPQMFK5B.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _chunk62TMGBROcjs = require('./chunk-62TMGBRO.cjs');
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
|
|
@@ -4539,7 +4539,7 @@ function AdminFormDrawer({
|
|
|
4539
4539
|
"form",
|
|
4540
4540
|
{
|
|
4541
4541
|
id: formId,
|
|
4542
|
-
...
|
|
4542
|
+
..._chunk62TMGBROcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4543
4543
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4544
4544
|
onSubmit: (e) => {
|
|
4545
4545
|
e.preventDefault();
|
|
@@ -4646,7 +4646,7 @@ function AdminFormModal({
|
|
|
4646
4646
|
"form",
|
|
4647
4647
|
{
|
|
4648
4648
|
id: formId,
|
|
4649
|
-
...
|
|
4649
|
+
..._chunk62TMGBROcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4650
4650
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4651
4651
|
onSubmit: (e) => {
|
|
4652
4652
|
e.preventDefault();
|
|
@@ -6040,7 +6040,7 @@ function EmbedViewerFrame({
|
|
|
6040
6040
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6041
6041
|
_react.useEffect.call(void 0, () => {
|
|
6042
6042
|
if (!fullscreenControl) return void 0;
|
|
6043
|
-
const controller = new (0,
|
|
6043
|
+
const controller = new (0, _chunk62TMGBROcjs.FullscreenSwitchController)({
|
|
6044
6044
|
target: () => frameRef.current,
|
|
6045
6045
|
onFullscreenChange: setIsFullscreen
|
|
6046
6046
|
});
|
|
@@ -8073,7 +8073,7 @@ var processShortcodes = (content) => {
|
|
|
8073
8073
|
try {
|
|
8074
8074
|
const urlObj = new URL(url);
|
|
8075
8075
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8076
|
-
const hostIs = (domain) =>
|
|
8076
|
+
const hostIs = (domain) => _chunk62TMGBROcjs.hostMatches.call(void 0, hostname, domain);
|
|
8077
8077
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8078
8078
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8079
8079
|
return match;
|
|
@@ -10460,10 +10460,10 @@ var OSTypeBadge = ({
|
|
|
10460
10460
|
if (!osType) {
|
|
10461
10461
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkMGEUZRNQcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10462
10462
|
}
|
|
10463
|
-
const normalized =
|
|
10463
|
+
const normalized = _chunk62TMGBROcjs.normalizeOSType.call(void 0, osType);
|
|
10464
10464
|
if (!normalized && !labelOnly) return null;
|
|
10465
|
-
const label =
|
|
10466
|
-
const IconComponent =
|
|
10465
|
+
const label = _chunk62TMGBROcjs.getOSLabel.call(void 0, osType);
|
|
10466
|
+
const IconComponent = _chunk62TMGBROcjs.getOSIcon.call(void 0, osType);
|
|
10467
10467
|
if (iconOnly && IconComponent) {
|
|
10468
10468
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunkMGEUZRNQcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10469
10469
|
}
|
|
@@ -10759,7 +10759,7 @@ function ComplianceLogo({
|
|
|
10759
10759
|
fallback = null,
|
|
10760
10760
|
className
|
|
10761
10761
|
}) {
|
|
10762
|
-
const standard =
|
|
10762
|
+
const standard = _chunk62TMGBROcjs.complianceStandardForName.call(void 0, ...names);
|
|
10763
10763
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10764
10764
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10765
10765
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12680,7 +12680,7 @@ function DataTableRowImpl({
|
|
|
12680
12680
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12681
12681
|
const handleClick = _react.useCallback.call(void 0,
|
|
12682
12682
|
(e) => {
|
|
12683
|
-
if (!
|
|
12683
|
+
if (!_chunk62TMGBROcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12684
12684
|
if (isLinkMode) e.preventDefault();
|
|
12685
12685
|
return;
|
|
12686
12686
|
}
|
|
@@ -13161,7 +13161,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13161
13161
|
// child of the cell.
|
|
13162
13162
|
_optionalChain([meta, 'optionalAccess', _239 => _239.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13163
13163
|
filterTrigger,
|
|
13164
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13164
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk62TMGBROcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13165
13165
|
] }) : filterTrigger
|
|
13166
13166
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13167
13167
|
"div",
|
|
@@ -13186,7 +13186,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13186
13186
|
// centred on the row.
|
|
13187
13187
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13188
13188
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13189
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13189
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk62TMGBROcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13190
13190
|
] })
|
|
13191
13191
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13192
13192
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13425,7 +13425,7 @@ function PhoneInput({
|
|
|
13425
13425
|
placeholder = "Phone Number (optional)",
|
|
13426
13426
|
onKeyDown
|
|
13427
13427
|
}) {
|
|
13428
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13428
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunk62TMGBROcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13429
13429
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13430
13430
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13431
13431
|
[countryCode, priority, others]
|
|
@@ -13440,7 +13440,7 @@ function PhoneInput({
|
|
|
13440
13440
|
_optionalChain([onValidationChange, 'optionalCall', _256 => _256(false)]);
|
|
13441
13441
|
return;
|
|
13442
13442
|
}
|
|
13443
|
-
const invalid = !
|
|
13443
|
+
const invalid = !_chunk62TMGBROcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13444
13444
|
setIsInvalid(invalid);
|
|
13445
13445
|
_optionalChain([onValidationChange, 'optionalCall', _257 => _257(invalid)]);
|
|
13446
13446
|
},
|
|
@@ -17311,7 +17311,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17311
17311
|
};
|
|
17312
17312
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17313
17313
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17314
|
-
const labels =
|
|
17314
|
+
const labels = _chunk62TMGBROcjs.trialLabels.call(void 0, trialDays);
|
|
17315
17315
|
return terms.flatMap((term) => {
|
|
17316
17316
|
const label = labels[term];
|
|
17317
17317
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -21745,7 +21745,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21745
21745
|
empty: "No token rates are in effect right now."
|
|
21746
21746
|
};
|
|
21747
21747
|
function providerMark(providerType, stated, className) {
|
|
21748
|
-
const Mark = _chunkCS5SZJFVcjs.findIcon.call(void 0,
|
|
21748
|
+
const Mark = _chunkCS5SZJFVcjs.findIcon.call(void 0, _chunk62TMGBROcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21749
21749
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21750
21750
|
}
|
|
21751
21751
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21763,7 +21763,7 @@ var UNIT_LINE_CLASS = _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
|
21763
21763
|
var TABS_ROW_CLASS = _chunkMGEUZRNQcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21764
21764
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21765
21765
|
function useProviderGroup(rates) {
|
|
21766
|
-
const groups =
|
|
21766
|
+
const groups = _chunk62TMGBROcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21767
21767
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21768
21768
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21769
21769
|
}
|
|
@@ -21782,7 +21782,7 @@ function ProviderTabs({
|
|
|
21782
21782
|
onValueChange,
|
|
21783
21783
|
items: groups.map((candidate) => ({
|
|
21784
21784
|
id: candidate.providerType,
|
|
21785
|
-
label:
|
|
21785
|
+
label: _chunk62TMGBROcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _457 => _457.rates, 'access', _458 => _458[0], 'optionalAccess', _459 => _459.providerLabel])),
|
|
21786
21786
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _460 => _460.rates, 'access', _461 => _461[0], 'optionalAccess', _462 => _462.providerIcon]), "size-full")
|
|
21787
21787
|
})),
|
|
21788
21788
|
className
|
|
@@ -21859,8 +21859,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21859
21859
|
] }),
|
|
21860
21860
|
/* @__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: [
|
|
21861
21861
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21862
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21863
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21862
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunk62TMGBROcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21863
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunk62TMGBROcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21864
21864
|
] }, rate.modelName)) })
|
|
21865
21865
|
] }),
|
|
21866
21866
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -21907,7 +21907,7 @@ function modelOption(rate) {
|
|
|
21907
21907
|
return {
|
|
21908
21908
|
label: rate.displayName || rate.modelName,
|
|
21909
21909
|
value: rate.modelName,
|
|
21910
|
-
description:
|
|
21910
|
+
description: _chunk62TMGBROcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21911
21911
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21912
21912
|
};
|
|
21913
21913
|
}
|
|
@@ -21962,8 +21962,8 @@ function ModelTokenExchange({
|
|
|
21962
21962
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21963
21963
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _463 => _463.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21964
21964
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21965
|
-
const tokens =
|
|
21966
|
-
const cost =
|
|
21965
|
+
const tokens = _chunk62TMGBROcjs.formatTokenAmount.call(void 0, balance);
|
|
21966
|
+
const cost = _chunk62TMGBROcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
21967
21967
|
const balancePrice = cost === null ? null : _chunkZJS45HQZcjs.formatPrice.call(void 0, cost);
|
|
21968
21968
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21969
21969
|
const options = models.map(modelOption);
|
|
@@ -22006,7 +22006,7 @@ function ModelTokenExchange({
|
|
|
22006
22006
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22007
22007
|
size: "small",
|
|
22008
22008
|
onClick: () => setChosen(preset.tokens),
|
|
22009
|
-
children: copy.buy.preset(
|
|
22009
|
+
children: copy.buy.preset(_chunk62TMGBROcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22010
22010
|
},
|
|
22011
22011
|
preset.label
|
|
22012
22012
|
)) })
|
|
@@ -22023,7 +22023,7 @@ function ModelTokenExchange({
|
|
|
22023
22023
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _464 => _464.providerType]) === providerType ? rate : null)));
|
|
22024
22024
|
return {
|
|
22025
22025
|
id: providerType,
|
|
22026
|
-
name:
|
|
22026
|
+
name: _chunk62TMGBROcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _465 => _465.providerLabel])),
|
|
22027
22027
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _466 => _466.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22028
22028
|
};
|
|
22029
22029
|
}),
|
|
@@ -22062,7 +22062,7 @@ function ModelTokenExchange({
|
|
|
22062
22062
|
{
|
|
22063
22063
|
size: "plain",
|
|
22064
22064
|
loading,
|
|
22065
|
-
figure:
|
|
22065
|
+
figure: _chunk62TMGBROcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _471 => _471.inputTokenRate])),
|
|
22066
22066
|
words: copy.charge.input
|
|
22067
22067
|
}
|
|
22068
22068
|
),
|
|
@@ -22071,7 +22071,7 @@ function ModelTokenExchange({
|
|
|
22071
22071
|
{
|
|
22072
22072
|
size: "plain",
|
|
22073
22073
|
loading,
|
|
22074
|
-
figure:
|
|
22074
|
+
figure: _chunk62TMGBROcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _472 => _472.outputTokenRate])),
|
|
22075
22075
|
words: copy.charge.output
|
|
22076
22076
|
}
|
|
22077
22077
|
)
|
|
@@ -22083,9 +22083,9 @@ function ModelTokenExchange({
|
|
|
22083
22083
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22084
22084
|
children: [
|
|
22085
22085
|
/* @__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, _chunkNNNRN4OFcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22086
|
-
/* @__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, _chunkNNNRN4OFcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22086
|
+
/* @__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, _chunkNNNRN4OFcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunk62TMGBROcjs.formatTokenAmount.call(void 0, _chunk62TMGBROcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22087
22087
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22088
|
-
/* @__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, _chunkNNNRN4OFcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22088
|
+
/* @__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, _chunkNNNRN4OFcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunk62TMGBROcjs.formatTokenAmount.call(void 0, _chunk62TMGBROcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22089
22089
|
]
|
|
22090
22090
|
}
|
|
22091
22091
|
)
|
|
@@ -22632,14 +22632,14 @@ var ConfidenceBadge = ({
|
|
|
22632
22632
|
size = "sm",
|
|
22633
22633
|
className
|
|
22634
22634
|
}) => {
|
|
22635
|
-
const level =
|
|
22635
|
+
const level = _chunk62TMGBROcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22636
22636
|
if (level === "none") {
|
|
22637
22637
|
return null;
|
|
22638
22638
|
}
|
|
22639
|
-
const label =
|
|
22640
|
-
const borderClass =
|
|
22641
|
-
const textClass =
|
|
22642
|
-
const bgClass =
|
|
22639
|
+
const label = _chunk62TMGBROcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22640
|
+
const borderClass = _chunk62TMGBROcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22641
|
+
const textClass = _chunk62TMGBROcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22642
|
+
const bgClass = _chunk62TMGBROcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22643
22643
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22644
22644
|
"span",
|
|
22645
22645
|
{
|
|
@@ -22690,9 +22690,9 @@ function SEOEditorPreview({
|
|
|
22690
22690
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22691
22691
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22692
22692
|
const seoTitleLength = (seoTitle || "").length;
|
|
22693
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22693
|
+
const seoTitleTooLong = seoTitleLength > _chunk62TMGBROcjs.SEO_TITLE_MAX_LENGTH;
|
|
22694
22694
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22695
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22695
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunk62TMGBROcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22696
22696
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22697
22697
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22698
22698
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22717,10 +22717,10 @@ function SEOEditorPreview({
|
|
|
22717
22717
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22718
22718
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22719
22719
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22720
|
-
|
|
22720
|
+
_chunk62TMGBROcjs.Field,
|
|
22721
22721
|
{
|
|
22722
22722
|
label: "SEO Title",
|
|
22723
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22723
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunk62TMGBROcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22724
22724
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22725
22725
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22726
22726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22735,7 +22735,7 @@ function SEOEditorPreview({
|
|
|
22735
22735
|
children: [
|
|
22736
22736
|
seoTitleLength,
|
|
22737
22737
|
"/",
|
|
22738
|
-
|
|
22738
|
+
_chunk62TMGBROcjs.SEO_TITLE_MAX_LENGTH
|
|
22739
22739
|
]
|
|
22740
22740
|
}
|
|
22741
22741
|
),
|
|
@@ -22746,7 +22746,7 @@ function SEOEditorPreview({
|
|
|
22746
22746
|
value: seoTitle || "",
|
|
22747
22747
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22748
22748
|
disabled,
|
|
22749
|
-
maxLength:
|
|
22749
|
+
maxLength: _chunk62TMGBROcjs.SEO_TITLE_MAX_LENGTH,
|
|
22750
22750
|
invalid: seoTitleTooLong,
|
|
22751
22751
|
placeholder: "Enter SEO meta title...",
|
|
22752
22752
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22757,7 +22757,7 @@ function SEOEditorPreview({
|
|
|
22757
22757
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22758
22758
|
] }),
|
|
22759
22759
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22760
|
-
|
|
22760
|
+
_chunk62TMGBROcjs.Field,
|
|
22761
22761
|
{
|
|
22762
22762
|
label: "SEO Keywords",
|
|
22763
22763
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22789,10 +22789,10 @@ function SEOEditorPreview({
|
|
|
22789
22789
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22790
22790
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22791
22791
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22792
|
-
|
|
22792
|
+
_chunk62TMGBROcjs.Field,
|
|
22793
22793
|
{
|
|
22794
22794
|
label: "SEO Description",
|
|
22795
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22795
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunk62TMGBROcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22796
22796
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22797
22797
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22798
22798
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22815,7 +22815,7 @@ function SEOEditorPreview({
|
|
|
22815
22815
|
children: [
|
|
22816
22816
|
seoDescriptionLength,
|
|
22817
22817
|
"/",
|
|
22818
|
-
|
|
22818
|
+
_chunk62TMGBROcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22819
22819
|
]
|
|
22820
22820
|
}
|
|
22821
22821
|
),
|
|
@@ -22826,7 +22826,7 @@ function SEOEditorPreview({
|
|
|
22826
22826
|
value: seoDescription || "",
|
|
22827
22827
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22828
22828
|
disabled,
|
|
22829
|
-
maxLength:
|
|
22829
|
+
maxLength: _chunk62TMGBROcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22830
22830
|
invalid: seoDescriptionTooLong,
|
|
22831
22831
|
placeholder: "Enter SEO meta description...",
|
|
22832
22832
|
className: _chunkMGEUZRNQcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -22979,7 +22979,7 @@ function socialIcon(platform) {
|
|
|
22979
22979
|
return _nullishCoalesce(_chunkCS5SZJFVcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
22980
22980
|
}
|
|
22981
22981
|
function renderSocialIcon(platform) {
|
|
22982
|
-
const key = _nullishCoalesce(
|
|
22982
|
+
const key = _nullishCoalesce(_chunk62TMGBROcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
22983
22983
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
22984
22984
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
22985
22985
|
}
|
|
@@ -23070,7 +23070,7 @@ function SocialLinksManager({
|
|
|
23070
23070
|
};
|
|
23071
23071
|
const getIcon = (link, platform) => {
|
|
23072
23072
|
const iconKey = _optionalChain([platform, 'optionalAccess', _482 => _482.icon_name]) || link.platform;
|
|
23073
|
-
const key =
|
|
23073
|
+
const key = _chunk62TMGBROcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23074
23074
|
if (!key) return null;
|
|
23075
23075
|
const icon = socialIcon(key);
|
|
23076
23076
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -23568,7 +23568,7 @@ function WalkthroughVideo({
|
|
|
23568
23568
|
onOpenChange,
|
|
23569
23569
|
defaultOpen,
|
|
23570
23570
|
defaultOpenPaused,
|
|
23571
|
-
deepLinkParam =
|
|
23571
|
+
deepLinkParam = _chunk62TMGBROcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23572
23572
|
autoPlayCard = false,
|
|
23573
23573
|
label = "Play Demo Video",
|
|
23574
23574
|
placement,
|
|
@@ -23585,7 +23585,7 @@ function WalkthroughVideo({
|
|
|
23585
23585
|
const inline = placement === "inline";
|
|
23586
23586
|
const inScope = _chunkMGEUZRNQcjs.useLoadingScope.call(void 0, );
|
|
23587
23587
|
const dismissEnabled = dismissal !== false;
|
|
23588
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23588
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunk62TMGBROcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23589
23589
|
const dismissalId = _optionalChain([video, 'optionalAccess', _488 => _488.id]) != null ? String(video.id) : "dismissed";
|
|
23590
23590
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23591
23591
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23597,7 +23597,7 @@ function WalkthroughVideo({
|
|
|
23597
23597
|
let delayElapsed = false;
|
|
23598
23598
|
let interacted = inline;
|
|
23599
23599
|
const reveal = () => {
|
|
23600
|
-
if (dismissEnabled &&
|
|
23600
|
+
if (dismissEnabled && _chunk62TMGBROcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23601
23601
|
setDismissed(true);
|
|
23602
23602
|
return;
|
|
23603
23603
|
}
|
|
@@ -23884,7 +23884,7 @@ function WalkthroughVideo({
|
|
|
23884
23884
|
(e) => {
|
|
23885
23885
|
e.stopPropagation();
|
|
23886
23886
|
pausePreviewNow();
|
|
23887
|
-
if (dismissEnabled)
|
|
23887
|
+
if (dismissEnabled) _chunk62TMGBROcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23888
23888
|
setDismissed(true);
|
|
23889
23889
|
},
|
|
23890
23890
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24982,7 +24982,7 @@ function HighlightConfigSection({
|
|
|
24982
24982
|
disabled = false,
|
|
24983
24983
|
className = ""
|
|
24984
24984
|
}) {
|
|
24985
|
-
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,
|
|
24985
|
+
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, _chunk62TMGBROcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24986
24986
|
_chunkTS6TISIFcjs.Select,
|
|
24987
24987
|
{
|
|
24988
24988
|
value: targetDurationSeconds.toString(),
|
|
@@ -25083,7 +25083,7 @@ var AIStatusIndicator = ({
|
|
|
25083
25083
|
}) => {
|
|
25084
25084
|
const config = statusConfig[status];
|
|
25085
25085
|
const displayText = message || config.label;
|
|
25086
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25086
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunk62TMGBROcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25087
25087
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkMGEUZRNQcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25088
25088
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25089
25089
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25091,7 +25091,7 @@ var AIStatusIndicator = ({
|
|
|
25091
25091
|
size: 16,
|
|
25092
25092
|
className: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
25093
25093
|
status === "loading" && _chunkNNNRN4OFcjs.LIVE_PULSE_CLASS,
|
|
25094
|
-
confidence !== void 0 && status === "success" ?
|
|
25094
|
+
confidence !== void 0 && status === "success" ? _chunk62TMGBROcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25095
25095
|
)
|
|
25096
25096
|
}
|
|
25097
25097
|
),
|
|
@@ -25100,7 +25100,7 @@ var AIStatusIndicator = ({
|
|
|
25100
25100
|
{
|
|
25101
25101
|
className: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
25102
25102
|
"text-h6",
|
|
25103
|
-
confidence !== void 0 && status === "success" ?
|
|
25103
|
+
confidence !== void 0 && status === "success" ? _chunk62TMGBROcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25104
25104
|
),
|
|
25105
25105
|
children: displayText
|
|
25106
25106
|
}
|
|
@@ -25110,8 +25110,8 @@ var AIStatusIndicator = ({
|
|
|
25110
25110
|
{
|
|
25111
25111
|
className: _chunkMGEUZRNQcjs.cn.call(void 0,
|
|
25112
25112
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25113
|
-
|
|
25114
|
-
|
|
25113
|
+
_chunk62TMGBROcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25114
|
+
_chunk62TMGBROcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25115
25115
|
),
|
|
25116
25116
|
children: confidenceLabel
|
|
25117
25117
|
}
|
|
@@ -25991,7 +25991,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
25991
25991
|
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,
|
|
25992
25992
|
_chunkFLS6DZENcjs.Button,
|
|
25993
25993
|
{
|
|
25994
|
-
onClick: loading ? void 0 :
|
|
25994
|
+
onClick: loading ? void 0 : _chunk62TMGBROcjs.openInNewTab.call(void 0, href),
|
|
25995
25995
|
disabled: loading,
|
|
25996
25996
|
variant: "outline",
|
|
25997
25997
|
size: "icon",
|
|
@@ -26365,7 +26365,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26365
26365
|
/* @__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,
|
|
26366
26366
|
_chunkFLS6DZENcjs.Button,
|
|
26367
26367
|
{
|
|
26368
|
-
onClick: loading ? void 0 :
|
|
26368
|
+
onClick: loading ? void 0 : _chunk62TMGBROcjs.openInNewTab.call(void 0, href),
|
|
26369
26369
|
disabled: loading,
|
|
26370
26370
|
variant: "outline",
|
|
26371
26371
|
size: "icon",
|
|
@@ -26515,7 +26515,7 @@ function WaitlistForm({
|
|
|
26515
26515
|
_react.useEffect.call(void 0, () => {
|
|
26516
26516
|
rescue.track({ email, phone }, null);
|
|
26517
26517
|
}, [email, phone, rescue]);
|
|
26518
|
-
const isMailDomainGeneric =
|
|
26518
|
+
const isMailDomainGeneric = _chunk62TMGBROcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26519
26519
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26520
26520
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26521
26521
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26549,7 +26549,7 @@ function WaitlistForm({
|
|
|
26549
26549
|
setShowConsentError(true);
|
|
26550
26550
|
return;
|
|
26551
26551
|
}
|
|
26552
|
-
const finalPhone = phone ?
|
|
26552
|
+
const finalPhone = phone ? _chunk62TMGBROcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26553
26553
|
try {
|
|
26554
26554
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26555
26555
|
rescue.complete();
|
|
@@ -28704,7 +28704,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28704
28704
|
}
|
|
28705
28705
|
}
|
|
28706
28706
|
function getDeviceOperatingSystem(osType) {
|
|
28707
|
-
return
|
|
28707
|
+
return _chunk62TMGBROcjs.getOSPlatformId.call(void 0, osType);
|
|
28708
28708
|
}
|
|
28709
28709
|
|
|
28710
28710
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30814,7 +30814,7 @@ var ToolBadge = ({
|
|
|
30814
30814
|
iconClassName
|
|
30815
30815
|
}) => {
|
|
30816
30816
|
const loading = _chunkMGEUZRNQcjs.useLoadingScope.call(void 0, );
|
|
30817
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30817
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunk62TMGBROcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30818
30818
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLUWYWYNCcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30819
30819
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30820
30820
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30968,7 +30968,7 @@ function LogsTableView({
|
|
|
30968
30968
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30969
30969
|
ToolBadge,
|
|
30970
30970
|
{
|
|
30971
|
-
toolType:
|
|
30971
|
+
toolType: _chunk62TMGBROcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30972
30972
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30973
30973
|
}
|
|
30974
30974
|
),
|
|
@@ -30980,7 +30980,7 @@ function LogsTableView({
|
|
|
30980
30980
|
filter: {
|
|
30981
30981
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _677 => _677.toolTypes, 'access', _678 => _678.map, 'call', _679 => _679((toolType) => ({
|
|
30982
30982
|
id: toolType,
|
|
30983
|
-
label:
|
|
30983
|
+
label: _chunk62TMGBROcjs.toToolLabel.call(void 0, toolType),
|
|
30984
30984
|
value: toolType
|
|
30985
30985
|
}))]), () => ( []))
|
|
30986
30986
|
}
|
|
@@ -31029,7 +31029,7 @@ function LogsTableView({
|
|
|
31029
31029
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31030
31030
|
LogRowButton,
|
|
31031
31031
|
{
|
|
31032
|
-
onClick: getLogHref ?
|
|
31032
|
+
onClick: getLogHref ? _chunk62TMGBROcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31033
31033
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
31034
31034
|
label: "Open in new tab"
|
|
31035
31035
|
}
|
|
@@ -31351,7 +31351,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31351
31351
|
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,
|
|
31352
31352
|
_chunkFLS6DZENcjs.Button,
|
|
31353
31353
|
{
|
|
31354
|
-
onClick: loading ? void 0 :
|
|
31354
|
+
onClick: loading ? void 0 : _chunk62TMGBROcjs.openInNewTab.call(void 0, href),
|
|
31355
31355
|
disabled: loading,
|
|
31356
31356
|
variant: "outline",
|
|
31357
31357
|
size: "icon",
|
|
@@ -31540,9 +31540,9 @@ function ScriptSchedulesTable({
|
|
|
31540
31540
|
|
|
31541
31541
|
// src/components/features/scripts/shell-types.ts
|
|
31542
31542
|
var SCRIPT_SHELL_TYPES = [
|
|
31543
|
-
{ id:
|
|
31544
|
-
{ id:
|
|
31545
|
-
{ id:
|
|
31543
|
+
{ id: _chunk62TMGBROcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31544
|
+
{ id: _chunk62TMGBROcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31545
|
+
{ id: _chunk62TMGBROcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31546
31546
|
];
|
|
31547
31547
|
function scriptShellType(value) {
|
|
31548
31548
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -32999,7 +32999,7 @@ function ScheduleFormFields({
|
|
|
32999
32999
|
disabled = false,
|
|
33000
33000
|
renderScriptSearch,
|
|
33001
33001
|
timeReferenceGate = "off",
|
|
33002
|
-
platforms =
|
|
33002
|
+
platforms = _chunk62TMGBROcjs.OS_PLATFORMS,
|
|
33003
33003
|
comingSoonPlatforms = [],
|
|
33004
33004
|
getTimeSlots,
|
|
33005
33005
|
nameLayout = "stacked",
|
|
@@ -33145,7 +33145,7 @@ function ScheduleFormFields({
|
|
|
33145
33145
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33146
33146
|
|
|
33147
33147
|
function ScriptPlatformIcons({ platforms }) {
|
|
33148
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33148
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunk62TMGBROcjs.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)) });
|
|
33149
33149
|
}
|
|
33150
33150
|
function ScheduleScriptSearchField({
|
|
33151
33151
|
scriptId,
|
|
@@ -33218,7 +33218,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33218
33218
|
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,
|
|
33219
33219
|
_chunkFLS6DZENcjs.Button,
|
|
33220
33220
|
{
|
|
33221
|
-
onClick: loading ? void 0 :
|
|
33221
|
+
onClick: loading ? void 0 : _chunk62TMGBROcjs.openInNewTab.call(void 0, href),
|
|
33222
33222
|
disabled: loading,
|
|
33223
33223
|
variant: "outline",
|
|
33224
33224
|
size: "icon",
|
|
@@ -33570,7 +33570,7 @@ function ConversationCard({
|
|
|
33570
33570
|
style: tint,
|
|
33571
33571
|
onClick: selection && ((event) => {
|
|
33572
33572
|
if (event.button !== 0 || _optionalChain([window, 'access', _743 => _743.getSelection, 'call', _744 => _744(), 'optionalAccess', _745 => _745.toString, 'call', _746 => _746()])) return;
|
|
33573
|
-
if (!
|
|
33573
|
+
if (!_chunk62TMGBROcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33574
33574
|
selection.onToggle();
|
|
33575
33575
|
}),
|
|
33576
33576
|
children: [
|
|
@@ -33593,7 +33593,7 @@ function ConversationCard({
|
|
|
33593
33593
|
children: selection.pressed ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX4UZ62MYcjs.PlusIcon, {})
|
|
33594
33594
|
}
|
|
33595
33595
|
),
|
|
33596
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk62TMGBROcjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33597
33597
|
"p",
|
|
33598
33598
|
{
|
|
33599
33599
|
id: requestId,
|
|
@@ -33612,7 +33612,7 @@ function ConversationCard({
|
|
|
33612
33612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _747 => _747.context])), children: context.text })
|
|
33613
33613
|
] }),
|
|
33614
33614
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33615
|
-
|
|
33615
|
+
_chunk62TMGBROcjs.ChatTurn,
|
|
33616
33616
|
{
|
|
33617
33617
|
avatar: responder.avatar,
|
|
33618
33618
|
name: responder.name,
|
|
@@ -33664,7 +33664,7 @@ function ConversationCardSkeleton({
|
|
|
33664
33664
|
}
|
|
33665
33665
|
) }),
|
|
33666
33666
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33667
|
-
|
|
33667
|
+
_chunk62TMGBROcjs.ChatTurn,
|
|
33668
33668
|
{
|
|
33669
33669
|
loading: true,
|
|
33670
33670
|
name: "",
|
|
@@ -33685,7 +33685,7 @@ function ConversationCardSkeleton({
|
|
|
33685
33685
|
] })
|
|
33686
33686
|
] }),
|
|
33687
33687
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33688
|
-
|
|
33688
|
+
_chunk62TMGBROcjs.ChatTurn,
|
|
33689
33689
|
{
|
|
33690
33690
|
loading: true,
|
|
33691
33691
|
name: "",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkTHOGSAFHcjs = require('./chunk-THOGSAFH.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@ var _chunkTS6TISIFcjs = require('./chunk-TS6TISIF.cjs');
|
|
|
17
17
|
var _chunkCBKXU77Hcjs = require('./chunk-CBKXU77H.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunk62TMGBROcjs = require('./chunk-62TMGBRO.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -203,13 +203,13 @@ function ContactForm({
|
|
|
203
203
|
);
|
|
204
204
|
}),
|
|
205
205
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
206
|
-
...
|
|
206
|
+
..._chunk62TMGBROcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
207
207
|
children: [
|
|
208
208
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
209
209
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
210
210
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
211
211
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTHOGSAFHcjs.HoneypotField, { ...honeypotInputProps }),
|
|
213
213
|
extraTopField,
|
|
214
214
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
215
215
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHQ2UGT4cjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkTHOGSAFHcjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|