@flamingo-stack/openframe-frontend-core 0.0.831 → 0.0.833
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/next-styles.cjs +93 -3
- package/dist/build/next-styles.d.ts +8 -0
- package/dist/build/route-styles-client.mjs +67 -0
- package/dist/build/route-styles-markers.cjs +18 -0
- package/dist/build/route-styles-server.mjs +102 -0
- package/dist/build/route-styles.cjs +415 -0
- package/dist/build/route-styles.d.ts +11 -0
- package/dist/build/style-sources.cjs +14 -1
- package/dist/build/style-sources.d.ts +3 -0
- package/dist/{chunk-DAQMCWCK.cjs → chunk-4OP2VVPV.cjs} +3 -3
- package/dist/{chunk-HDLY6OMQ.cjs → chunk-AZRDKZNG.cjs} +4 -4
- package/dist/{chunk-CP46CVUC.cjs → chunk-DAOVWHCN.cjs} +42 -42
- package/dist/{chunk-ZJ5K6XHW.cjs → chunk-DQ6JYOHD.cjs} +3 -3
- package/dist/{chunk-VBGBKRDO.cjs → chunk-EQB3NSY6.cjs} +76 -76
- package/dist/{chunk-QHBKZJ6A.cjs → chunk-HBFYEBXN.cjs} +2 -2
- package/dist/{chunk-SRHHLDBP.cjs → chunk-I7QIIZAI.cjs} +10 -10
- package/dist/{chunk-P5DWAVWK.cjs → chunk-IUHV55D7.cjs} +5 -5
- package/dist/{chunk-EYSIQORA.cjs → chunk-LQDPAMXK.cjs} +1 -1
- package/dist/{chunk-7WQD3R5J.cjs → chunk-M5PGFNJG.cjs} +41 -41
- package/dist/{chunk-UGM3YDCK.cjs → chunk-SFJXIHFR.cjs} +9 -9
- package/dist/{chunk-X7VQM5TU.cjs → chunk-UFF4TRZH.cjs} +3 -3
- package/dist/{chunk-7COZUANC.cjs → chunk-UQ52NWTB.cjs} +32 -32
- package/dist/{chunk-OGPAVRNF.cjs → chunk-VMFBLMP6.cjs} +2 -2
- package/dist/{chunk-X76TZ5YR.cjs → chunk-WAMDWVYC.cjs} +11 -11
- package/dist/{chunk-R6QZHOJB.cjs → chunk-XXHCM2XS.cjs} +32 -32
- package/dist/{cloud-tenants-E2AC4WEJ.cjs → cloud-tenants-THCHEWBM.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +12 -12
- package/dist/components/chat/embeddable-chat.d.ts +2 -2
- package/dist/components/chat/embeddable-chat.js +2 -14
- package/dist/components/chat/guide-welcome.d.ts +2 -2
- package/dist/components/chat/guide-welcome.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/mingo-quick-action-wall.d.ts +1 -2
- package/dist/components/chat/mingo-quick-action-wall.d.ts.map +1 -1
- package/dist/components/chat/mingo-welcome.d.ts +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/docs/index.cjs +6 -6
- 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 +55 -55
- package/dist/components/index.cjs +32 -32
- package/dist/components/meeting-scheduler/index.cjs +26 -26
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.cjs +4 -4
- 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-CAYUGD2N.cjs → devices-MPRDMXXU.cjs} +4 -4
- package/dist/{embeddable-chat-FYHMR66R.cjs → embeddable-chat-TRGESG7U.cjs} +2 -14
- package/dist/index.cjs +7 -7
- package/dist/{knowledge-OI4OPEVL.cjs → knowledge-TFTDHYGR.cjs} +3 -3
- package/dist/{logs-B3XV2NHV.cjs → logs-CSSJG4F7.cjs} +10 -10
- package/dist/{policies-ZB4Z42DV.cjs → policies-ELFYUN5P.cjs} +7 -7
- package/dist/{scripts-I4DNUOQC.cjs → scripts-37L6FIKG.cjs} +8 -8
- package/dist/{software-update-AWH4WXOH.cjs → software-update-BSA4NLHO.cjs} +6 -6
- package/package.json +6 -1
- package/src/components/chat/embeddable-chat.tsx +7 -21
- package/src/components/chat/guide-welcome.tsx +2 -2
- package/src/components/chat/mingo-quick-action-wall.tsx +1 -2
- package/src/components/chat/mingo-welcome.tsx +1 -1
- package/src/styles/index.css +2 -0
|
@@ -101,7 +101,7 @@ var _chunk5SZ4ILU3cjs = require('./chunk-5SZ4ILU3.cjs');
|
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
|
|
104
|
-
var
|
|
104
|
+
var _chunkLQDPAMXKcjs = require('./chunk-LQDPAMXK.cjs');
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
|
|
@@ -4586,7 +4586,7 @@ function AdminFormDrawer({
|
|
|
4586
4586
|
"form",
|
|
4587
4587
|
{
|
|
4588
4588
|
id: formId,
|
|
4589
|
-
...
|
|
4589
|
+
..._chunkLQDPAMXKcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4590
4590
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4591
4591
|
onSubmit: (e) => {
|
|
4592
4592
|
e.preventDefault();
|
|
@@ -4693,7 +4693,7 @@ function AdminFormModal({
|
|
|
4693
4693
|
"form",
|
|
4694
4694
|
{
|
|
4695
4695
|
id: formId,
|
|
4696
|
-
...
|
|
4696
|
+
..._chunkLQDPAMXKcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4697
4697
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4698
4698
|
onSubmit: (e) => {
|
|
4699
4699
|
e.preventDefault();
|
|
@@ -6064,7 +6064,7 @@ function EmbedViewerFrame({
|
|
|
6064
6064
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6065
6065
|
_react.useEffect.call(void 0, () => {
|
|
6066
6066
|
if (!fullscreenControl) return void 0;
|
|
6067
|
-
const controller = new (0,
|
|
6067
|
+
const controller = new (0, _chunkLQDPAMXKcjs.FullscreenSwitchController)({
|
|
6068
6068
|
target: () => frameRef.current,
|
|
6069
6069
|
onFullscreenChange: setIsFullscreen
|
|
6070
6070
|
});
|
|
@@ -10506,10 +10506,10 @@ var OSTypeBadge = ({
|
|
|
10506
10506
|
if (!osType) {
|
|
10507
10507
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk63A4GZMBcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10508
10508
|
}
|
|
10509
|
-
const normalized =
|
|
10509
|
+
const normalized = _chunkLQDPAMXKcjs.normalizeOSType.call(void 0, osType);
|
|
10510
10510
|
if (!normalized && !labelOnly) return null;
|
|
10511
|
-
const label =
|
|
10512
|
-
const IconComponent =
|
|
10511
|
+
const label = _chunkLQDPAMXKcjs.getOSLabel.call(void 0, osType);
|
|
10512
|
+
const IconComponent = _chunkLQDPAMXKcjs.getOSIcon.call(void 0, osType);
|
|
10513
10513
|
if (iconOnly && IconComponent) {
|
|
10514
10514
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk63A4GZMBcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10515
10515
|
}
|
|
@@ -10806,7 +10806,7 @@ function ComplianceLogo({
|
|
|
10806
10806
|
fallback = null,
|
|
10807
10807
|
className
|
|
10808
10808
|
}) {
|
|
10809
|
-
const standard =
|
|
10809
|
+
const standard = _chunkLQDPAMXKcjs.complianceStandardForName.call(void 0, ...names);
|
|
10810
10810
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10811
10811
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10812
10812
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12848,7 +12848,7 @@ function DataTableRowImpl({
|
|
|
12848
12848
|
const containerRef = _react.useRef.call(void 0, null);
|
|
12849
12849
|
const handleClick = _react.useCallback.call(void 0,
|
|
12850
12850
|
(e) => {
|
|
12851
|
-
if (!
|
|
12851
|
+
if (!_chunkLQDPAMXKcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
12852
12852
|
if (isLinkMode) e.preventDefault();
|
|
12853
12853
|
return;
|
|
12854
12854
|
}
|
|
@@ -12862,7 +12862,7 @@ function DataTableRowImpl({
|
|
|
12862
12862
|
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _224 => _224.contains, 'call', _225 => _225(target)])) return;
|
|
12863
12863
|
const nestedLink = target.closest("a");
|
|
12864
12864
|
if (nestedLink && nestedLink !== container && container.contains(nestedLink)) return;
|
|
12865
|
-
if (!
|
|
12865
|
+
if (!_chunkLQDPAMXKcjs.isOwnClick.call(void 0, target, container) || target.closest(ROW_LINK_CONTROL_SELECTOR)) e.preventDefault();
|
|
12866
12866
|
}, []);
|
|
12867
12867
|
const containerClassName = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
12868
12868
|
DATA_TABLE_ROW_FRAME_CLASS,
|
|
@@ -13341,7 +13341,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13341
13341
|
// child of the cell.
|
|
13342
13342
|
_optionalChain([meta, 'optionalAccess', _244 => _244.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13343
13343
|
filterTrigger,
|
|
13344
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13344
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLQDPAMXKcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13345
13345
|
] }) : filterTrigger
|
|
13346
13346
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13347
13347
|
"div",
|
|
@@ -13366,7 +13366,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13366
13366
|
// centred on the row.
|
|
13367
13367
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13368
13368
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13369
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13369
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLQDPAMXKcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13370
13370
|
] })
|
|
13371
13371
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13372
13372
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -13605,7 +13605,7 @@ function PhoneInput({
|
|
|
13605
13605
|
placeholder = "Phone Number (optional)",
|
|
13606
13606
|
onKeyDown
|
|
13607
13607
|
}) {
|
|
13608
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
13608
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkLQDPAMXKcjs.getCountryPhoneData.call(void 0, ), []);
|
|
13609
13609
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
13610
13610
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
13611
13611
|
[countryCode, priority, others]
|
|
@@ -13620,7 +13620,7 @@ function PhoneInput({
|
|
|
13620
13620
|
_optionalChain([onValidationChange, 'optionalCall', _261 => _261(false)]);
|
|
13621
13621
|
return;
|
|
13622
13622
|
}
|
|
13623
|
-
const invalid = !
|
|
13623
|
+
const invalid = !_chunkLQDPAMXKcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
13624
13624
|
setIsInvalid(invalid);
|
|
13625
13625
|
_optionalChain([onValidationChange, 'optionalCall', _262 => _262(invalid)]);
|
|
13626
13626
|
},
|
|
@@ -17063,7 +17063,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17063
17063
|
};
|
|
17064
17064
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17065
17065
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17066
|
-
const labels =
|
|
17066
|
+
const labels = _chunkLQDPAMXKcjs.trialLabels.call(void 0, trialDays);
|
|
17067
17067
|
return terms.flatMap((term) => {
|
|
17068
17068
|
const label = labels[term];
|
|
17069
17069
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -21494,7 +21494,7 @@ var MODEL_TOKEN_RATES_COPY = {
|
|
|
21494
21494
|
empty: "No token rates are in effect right now."
|
|
21495
21495
|
};
|
|
21496
21496
|
function providerMark(providerType, stated, className) {
|
|
21497
|
-
const Mark = _chunkJQCQCE6Ucjs.findIcon.call(void 0,
|
|
21497
|
+
const Mark = _chunkJQCQCE6Ucjs.findIcon.call(void 0, _chunkLQDPAMXKcjs.aiProvider.call(void 0, providerType, { icon: stated }).icon);
|
|
21498
21498
|
return Mark ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Mark, { className }) : void 0;
|
|
21499
21499
|
}
|
|
21500
21500
|
var PAD_X = "px-[var(--spacing-system-s)]";
|
|
@@ -21512,7 +21512,7 @@ var UNIT_LINE_CLASS = _chunk63A4GZMBcjs.cn.call(void 0,
|
|
|
21512
21512
|
var TABS_ROW_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
21513
21513
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
21514
21514
|
function useProviderGroup(rates) {
|
|
21515
|
-
const groups =
|
|
21515
|
+
const groups = _chunkLQDPAMXKcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
21516
21516
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
21517
21517
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
21518
21518
|
}
|
|
@@ -21531,7 +21531,7 @@ function ProviderTabs({
|
|
|
21531
21531
|
onValueChange,
|
|
21532
21532
|
items: groups.map((candidate) => ({
|
|
21533
21533
|
id: candidate.providerType,
|
|
21534
|
-
label:
|
|
21534
|
+
label: _chunkLQDPAMXKcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _435 => _435.rates, 'access', _436 => _436[0], 'optionalAccess', _437 => _437.providerLabel])),
|
|
21535
21535
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _438 => _438.rates, 'access', _439 => _439[0], 'optionalAccess', _440 => _440.providerIcon]), "size-full")
|
|
21536
21536
|
})),
|
|
21537
21537
|
className
|
|
@@ -21608,8 +21608,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
21608
21608
|
] }),
|
|
21609
21609
|
/* @__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: [
|
|
21610
21610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
21611
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21612
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
21611
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkLQDPAMXKcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
21612
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkLQDPAMXKcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
21613
21613
|
] }, rate.modelName)) })
|
|
21614
21614
|
] }),
|
|
21615
21615
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -21656,7 +21656,7 @@ function modelOption(rate) {
|
|
|
21656
21656
|
return {
|
|
21657
21657
|
label: rate.displayName || rate.modelName,
|
|
21658
21658
|
value: rate.modelName,
|
|
21659
|
-
description:
|
|
21659
|
+
description: _chunkLQDPAMXKcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
21660
21660
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
21661
21661
|
};
|
|
21662
21662
|
}
|
|
@@ -21711,8 +21711,8 @@ function ModelTokenExchange({
|
|
|
21711
21711
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
21712
21712
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _441 => _441.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
21713
21713
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
21714
|
-
const tokens =
|
|
21715
|
-
const cost =
|
|
21714
|
+
const tokens = _chunkLQDPAMXKcjs.formatTokenAmount.call(void 0, balance);
|
|
21715
|
+
const cost = _chunkLQDPAMXKcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
21716
21716
|
const balancePrice = cost === null ? null : _chunkGRHF5SWLcjs.formatPrice.call(void 0, cost);
|
|
21717
21717
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
21718
21718
|
const options = models.map(modelOption);
|
|
@@ -21755,7 +21755,7 @@ function ModelTokenExchange({
|
|
|
21755
21755
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
21756
21756
|
size: "small",
|
|
21757
21757
|
onClick: () => setChosen(preset.tokens),
|
|
21758
|
-
children: copy.buy.preset(
|
|
21758
|
+
children: copy.buy.preset(_chunkLQDPAMXKcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
21759
21759
|
},
|
|
21760
21760
|
preset.label
|
|
21761
21761
|
)) })
|
|
@@ -21772,7 +21772,7 @@ function ModelTokenExchange({
|
|
|
21772
21772
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _442 => _442.providerType]) === providerType ? rate : null)));
|
|
21773
21773
|
return {
|
|
21774
21774
|
id: providerType,
|
|
21775
|
-
name:
|
|
21775
|
+
name: _chunkLQDPAMXKcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _443 => _443.providerLabel])),
|
|
21776
21776
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _444 => _444.providerIcon]), "size-8 text-ods-text-secondary")
|
|
21777
21777
|
};
|
|
21778
21778
|
}),
|
|
@@ -21811,7 +21811,7 @@ function ModelTokenExchange({
|
|
|
21811
21811
|
{
|
|
21812
21812
|
size: "plain",
|
|
21813
21813
|
loading,
|
|
21814
|
-
figure:
|
|
21814
|
+
figure: _chunkLQDPAMXKcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _449 => _449.inputTokenRate])),
|
|
21815
21815
|
words: copy.charge.input
|
|
21816
21816
|
}
|
|
21817
21817
|
),
|
|
@@ -21820,7 +21820,7 @@ function ModelTokenExchange({
|
|
|
21820
21820
|
{
|
|
21821
21821
|
size: "plain",
|
|
21822
21822
|
loading,
|
|
21823
|
-
figure:
|
|
21823
|
+
figure: _chunkLQDPAMXKcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _450 => _450.outputTokenRate])),
|
|
21824
21824
|
words: copy.charge.output
|
|
21825
21825
|
}
|
|
21826
21826
|
)
|
|
@@ -21832,9 +21832,9 @@ function ModelTokenExchange({
|
|
|
21832
21832
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
21833
21833
|
children: [
|
|
21834
21834
|
/* @__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) }),
|
|
21835
|
-
/* @__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" }) :
|
|
21835
|
+
/* @__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" }) : _chunkLQDPAMXKcjs.formatTokenAmount.call(void 0, _chunkLQDPAMXKcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
21836
21836
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
21837
|
-
/* @__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(
|
|
21837
|
+
/* @__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(_chunkLQDPAMXKcjs.formatTokenAmount.call(void 0, _chunkLQDPAMXKcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
21838
21838
|
]
|
|
21839
21839
|
}
|
|
21840
21840
|
)
|
|
@@ -22354,14 +22354,14 @@ var ConfidenceBadge = ({
|
|
|
22354
22354
|
size = "sm",
|
|
22355
22355
|
className
|
|
22356
22356
|
}) => {
|
|
22357
|
-
const level =
|
|
22357
|
+
const level = _chunkLQDPAMXKcjs.getConfidenceLevel.call(void 0, confidence);
|
|
22358
22358
|
if (level === "none") {
|
|
22359
22359
|
return null;
|
|
22360
22360
|
}
|
|
22361
|
-
const label =
|
|
22362
|
-
const borderClass =
|
|
22363
|
-
const textClass =
|
|
22364
|
-
const bgClass =
|
|
22361
|
+
const label = _chunkLQDPAMXKcjs.getConfidenceLabel.call(void 0, confidence);
|
|
22362
|
+
const borderClass = _chunkLQDPAMXKcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
22363
|
+
const textClass = _chunkLQDPAMXKcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
22364
|
+
const bgClass = _chunkLQDPAMXKcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
22365
22365
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
22366
22366
|
"span",
|
|
22367
22367
|
{
|
|
@@ -22412,9 +22412,9 @@ function SEOEditorPreview({
|
|
|
22412
22412
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
22413
22413
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
22414
22414
|
const seoTitleLength = (seoTitle || "").length;
|
|
22415
|
-
const seoTitleTooLong = seoTitleLength >
|
|
22415
|
+
const seoTitleTooLong = seoTitleLength > _chunkLQDPAMXKcjs.SEO_TITLE_MAX_LENGTH;
|
|
22416
22416
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
22417
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
22417
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkLQDPAMXKcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
22418
22418
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
22419
22419
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
22420
22420
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -22439,10 +22439,10 @@ function SEOEditorPreview({
|
|
|
22439
22439
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22440
22440
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22441
22441
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22442
|
-
|
|
22442
|
+
_chunkLQDPAMXKcjs.Field,
|
|
22443
22443
|
{
|
|
22444
22444
|
label: "SEO Title",
|
|
22445
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
22445
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkLQDPAMXKcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
22446
22446
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22447
22447
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22448
22448
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -22457,7 +22457,7 @@ function SEOEditorPreview({
|
|
|
22457
22457
|
children: [
|
|
22458
22458
|
seoTitleLength,
|
|
22459
22459
|
"/",
|
|
22460
|
-
|
|
22460
|
+
_chunkLQDPAMXKcjs.SEO_TITLE_MAX_LENGTH
|
|
22461
22461
|
]
|
|
22462
22462
|
}
|
|
22463
22463
|
),
|
|
@@ -22468,7 +22468,7 @@ function SEOEditorPreview({
|
|
|
22468
22468
|
value: seoTitle || "",
|
|
22469
22469
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
22470
22470
|
disabled,
|
|
22471
|
-
maxLength:
|
|
22471
|
+
maxLength: _chunkLQDPAMXKcjs.SEO_TITLE_MAX_LENGTH,
|
|
22472
22472
|
invalid: seoTitleTooLong,
|
|
22473
22473
|
placeholder: "Enter SEO meta title...",
|
|
22474
22474
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -22479,7 +22479,7 @@ function SEOEditorPreview({
|
|
|
22479
22479
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
22480
22480
|
] }),
|
|
22481
22481
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22482
|
-
|
|
22482
|
+
_chunkLQDPAMXKcjs.Field,
|
|
22483
22483
|
{
|
|
22484
22484
|
label: "SEO Keywords",
|
|
22485
22485
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -22511,10 +22511,10 @@ function SEOEditorPreview({
|
|
|
22511
22511
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
22512
22512
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
22513
22513
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22514
|
-
|
|
22514
|
+
_chunkLQDPAMXKcjs.Field,
|
|
22515
22515
|
{
|
|
22516
22516
|
label: "SEO Description",
|
|
22517
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
22517
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkLQDPAMXKcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
22518
22518
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
22519
22519
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
22520
22520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -22537,7 +22537,7 @@ function SEOEditorPreview({
|
|
|
22537
22537
|
children: [
|
|
22538
22538
|
seoDescriptionLength,
|
|
22539
22539
|
"/",
|
|
22540
|
-
|
|
22540
|
+
_chunkLQDPAMXKcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
22541
22541
|
]
|
|
22542
22542
|
}
|
|
22543
22543
|
),
|
|
@@ -22548,7 +22548,7 @@ function SEOEditorPreview({
|
|
|
22548
22548
|
value: seoDescription || "",
|
|
22549
22549
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
22550
22550
|
disabled,
|
|
22551
|
-
maxLength:
|
|
22551
|
+
maxLength: _chunkLQDPAMXKcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
22552
22552
|
invalid: seoDescriptionTooLong,
|
|
22553
22553
|
placeholder: "Enter SEO meta description...",
|
|
22554
22554
|
className: _chunk63A4GZMBcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23287,7 +23287,7 @@ function WalkthroughVideo({
|
|
|
23287
23287
|
onOpenChange,
|
|
23288
23288
|
defaultOpen,
|
|
23289
23289
|
defaultOpenPaused,
|
|
23290
|
-
deepLinkParam =
|
|
23290
|
+
deepLinkParam = _chunkLQDPAMXKcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
23291
23291
|
autoPlayCard = false,
|
|
23292
23292
|
label = "Play Demo Video",
|
|
23293
23293
|
placement,
|
|
@@ -23304,7 +23304,7 @@ function WalkthroughVideo({
|
|
|
23304
23304
|
const inline = placement === "inline";
|
|
23305
23305
|
const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
23306
23306
|
const dismissEnabled = dismissal !== false;
|
|
23307
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
23307
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkLQDPAMXKcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
23308
23308
|
const dismissalId = _optionalChain([video, 'optionalAccess', _466 => _466.id]) != null ? String(video.id) : "dismissed";
|
|
23309
23309
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
23310
23310
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -23316,7 +23316,7 @@ function WalkthroughVideo({
|
|
|
23316
23316
|
let delayElapsed = false;
|
|
23317
23317
|
let interacted = inline;
|
|
23318
23318
|
const reveal = () => {
|
|
23319
|
-
if (dismissEnabled &&
|
|
23319
|
+
if (dismissEnabled && _chunkLQDPAMXKcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
23320
23320
|
setDismissed(true);
|
|
23321
23321
|
return;
|
|
23322
23322
|
}
|
|
@@ -23603,7 +23603,7 @@ function WalkthroughVideo({
|
|
|
23603
23603
|
(e) => {
|
|
23604
23604
|
e.stopPropagation();
|
|
23605
23605
|
pausePreviewNow();
|
|
23606
|
-
if (dismissEnabled)
|
|
23606
|
+
if (dismissEnabled) _chunkLQDPAMXKcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
23607
23607
|
setDismissed(true);
|
|
23608
23608
|
},
|
|
23609
23609
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -24701,7 +24701,7 @@ function HighlightConfigSection({
|
|
|
24701
24701
|
disabled = false,
|
|
24702
24702
|
className = ""
|
|
24703
24703
|
}) {
|
|
24704
|
-
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,
|
|
24704
|
+
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, _chunkLQDPAMXKcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
24705
24705
|
_chunkFNNDGOR3cjs.Select,
|
|
24706
24706
|
{
|
|
24707
24707
|
value: targetDurationSeconds.toString(),
|
|
@@ -24802,7 +24802,7 @@ var AIStatusIndicator = ({
|
|
|
24802
24802
|
}) => {
|
|
24803
24803
|
const config = statusConfig[status];
|
|
24804
24804
|
const displayText = message || config.label;
|
|
24805
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
24805
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkLQDPAMXKcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
24806
24806
|
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: [
|
|
24807
24807
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24808
24808
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -24810,7 +24810,7 @@ var AIStatusIndicator = ({
|
|
|
24810
24810
|
size: 16,
|
|
24811
24811
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24812
24812
|
status === "loading" && _chunk3TOWCFIKcjs.LIVE_PULSE_CLASS,
|
|
24813
|
-
confidence !== void 0 && status === "success" ?
|
|
24813
|
+
confidence !== void 0 && status === "success" ? _chunkLQDPAMXKcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24814
24814
|
)
|
|
24815
24815
|
}
|
|
24816
24816
|
),
|
|
@@ -24819,7 +24819,7 @@ var AIStatusIndicator = ({
|
|
|
24819
24819
|
{
|
|
24820
24820
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24821
24821
|
"text-h6",
|
|
24822
|
-
confidence !== void 0 && status === "success" ?
|
|
24822
|
+
confidence !== void 0 && status === "success" ? _chunkLQDPAMXKcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
24823
24823
|
),
|
|
24824
24824
|
children: displayText
|
|
24825
24825
|
}
|
|
@@ -24829,8 +24829,8 @@ var AIStatusIndicator = ({
|
|
|
24829
24829
|
{
|
|
24830
24830
|
className: _chunk63A4GZMBcjs.cn.call(void 0,
|
|
24831
24831
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
24832
|
-
|
|
24833
|
-
|
|
24832
|
+
_chunkLQDPAMXKcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
24833
|
+
_chunkLQDPAMXKcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
24834
24834
|
),
|
|
24835
24835
|
children: confidenceLabel
|
|
24836
24836
|
}
|
|
@@ -25710,7 +25710,7 @@ function OpenPolicyButton({ href, name }) {
|
|
|
25710
25710
|
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,
|
|
25711
25711
|
_chunkFCZAUK4Dcjs.Button,
|
|
25712
25712
|
{
|
|
25713
|
-
onClick: loading ? void 0 :
|
|
25713
|
+
onClick: loading ? void 0 : _chunkLQDPAMXKcjs.openInNewTab.call(void 0, href),
|
|
25714
25714
|
disabled: loading,
|
|
25715
25715
|
variant: "outline",
|
|
25716
25716
|
size: "icon",
|
|
@@ -26084,7 +26084,7 @@ function OpenTenantButton({ href, name }) {
|
|
|
26084
26084
|
/* @__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,
|
|
26085
26085
|
_chunkFCZAUK4Dcjs.Button,
|
|
26086
26086
|
{
|
|
26087
|
-
onClick: loading ? void 0 :
|
|
26087
|
+
onClick: loading ? void 0 : _chunkLQDPAMXKcjs.openInNewTab.call(void 0, href),
|
|
26088
26088
|
disabled: loading,
|
|
26089
26089
|
variant: "outline",
|
|
26090
26090
|
size: "icon",
|
|
@@ -26234,7 +26234,7 @@ function WaitlistForm({
|
|
|
26234
26234
|
_react.useEffect.call(void 0, () => {
|
|
26235
26235
|
rescue.track({ email, phone }, null);
|
|
26236
26236
|
}, [email, phone, rescue]);
|
|
26237
|
-
const isMailDomainGeneric =
|
|
26237
|
+
const isMailDomainGeneric = _chunkLQDPAMXKcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26238
26238
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26239
26239
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26240
26240
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -26268,7 +26268,7 @@ function WaitlistForm({
|
|
|
26268
26268
|
setShowConsentError(true);
|
|
26269
26269
|
return;
|
|
26270
26270
|
}
|
|
26271
|
-
const finalPhone = phone ?
|
|
26271
|
+
const finalPhone = phone ? _chunkLQDPAMXKcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
26272
26272
|
try {
|
|
26273
26273
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
26274
26274
|
rescue.complete();
|
|
@@ -28471,7 +28471,7 @@ function getDeviceStatusConfig(status) {
|
|
|
28471
28471
|
}
|
|
28472
28472
|
}
|
|
28473
28473
|
function getDeviceOperatingSystem(osType) {
|
|
28474
|
-
return
|
|
28474
|
+
return _chunkLQDPAMXKcjs.getOSPlatformId.call(void 0, osType);
|
|
28475
28475
|
}
|
|
28476
28476
|
|
|
28477
28477
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -30582,7 +30582,7 @@ var ToolBadge = ({
|
|
|
30582
30582
|
iconClassName
|
|
30583
30583
|
}) => {
|
|
30584
30584
|
const loading = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
|
|
30585
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
30585
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkLQDPAMXKcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
30586
30586
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBUEEQD3Gcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
30587
30587
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
30588
30588
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -30736,7 +30736,7 @@ function LogsTableView({
|
|
|
30736
30736
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30737
30737
|
ToolBadge,
|
|
30738
30738
|
{
|
|
30739
|
-
toolType:
|
|
30739
|
+
toolType: _chunkLQDPAMXKcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
30740
30740
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
30741
30741
|
}
|
|
30742
30742
|
),
|
|
@@ -30748,7 +30748,7 @@ function LogsTableView({
|
|
|
30748
30748
|
filter: {
|
|
30749
30749
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _664 => _664.toolTypes, 'access', _665 => _665.map, 'call', _666 => _666((toolType) => ({
|
|
30750
30750
|
id: toolType,
|
|
30751
|
-
label:
|
|
30751
|
+
label: _chunkLQDPAMXKcjs.toToolLabel.call(void 0, toolType),
|
|
30752
30752
|
value: toolType
|
|
30753
30753
|
}))]), () => ( []))
|
|
30754
30754
|
}
|
|
@@ -30797,7 +30797,7 @@ function LogsTableView({
|
|
|
30797
30797
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30798
30798
|
LogRowButton,
|
|
30799
30799
|
{
|
|
30800
|
-
onClick: getLogHref ?
|
|
30800
|
+
onClick: getLogHref ? _chunkLQDPAMXKcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
30801
30801
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
30802
30802
|
label: "Open in new tab"
|
|
30803
30803
|
}
|
|
@@ -31119,7 +31119,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31119
31119
|
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,
|
|
31120
31120
|
_chunkFCZAUK4Dcjs.Button,
|
|
31121
31121
|
{
|
|
31122
|
-
onClick: loading ? void 0 :
|
|
31122
|
+
onClick: loading ? void 0 : _chunkLQDPAMXKcjs.openInNewTab.call(void 0, href),
|
|
31123
31123
|
disabled: loading,
|
|
31124
31124
|
variant: "outline",
|
|
31125
31125
|
size: "icon",
|
|
@@ -31308,9 +31308,9 @@ function ScriptSchedulesTable({
|
|
|
31308
31308
|
|
|
31309
31309
|
// src/components/features/scripts/shell-types.ts
|
|
31310
31310
|
var SCRIPT_SHELL_TYPES = [
|
|
31311
|
-
{ id:
|
|
31312
|
-
{ id:
|
|
31313
|
-
{ id:
|
|
31311
|
+
{ id: _chunkLQDPAMXKcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
31312
|
+
{ id: _chunkLQDPAMXKcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
31313
|
+
{ id: _chunkLQDPAMXKcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
31314
31314
|
];
|
|
31315
31315
|
function scriptShellType(value) {
|
|
31316
31316
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -32786,7 +32786,7 @@ function ScheduleFormFields({
|
|
|
32786
32786
|
disabled = false,
|
|
32787
32787
|
renderScriptSearch,
|
|
32788
32788
|
timeReferenceGate = "off",
|
|
32789
|
-
platforms =
|
|
32789
|
+
platforms = _chunkLQDPAMXKcjs.OS_PLATFORMS,
|
|
32790
32790
|
comingSoonPlatforms = [],
|
|
32791
32791
|
getTimeSlots,
|
|
32792
32792
|
nameLayout = "stacked",
|
|
@@ -32932,7 +32932,7 @@ function ScheduleFormFields({
|
|
|
32932
32932
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
32933
32933
|
|
|
32934
32934
|
function ScriptPlatformIcons({ platforms }) {
|
|
32935
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
32935
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkLQDPAMXKcjs.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)) });
|
|
32936
32936
|
}
|
|
32937
32937
|
function ScheduleScriptSearchField({
|
|
32938
32938
|
scriptId,
|
|
@@ -33005,7 +33005,7 @@ function KnowledgeBaseOpenButton({ href }) {
|
|
|
33005
33005
|
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,
|
|
33006
33006
|
_chunkFCZAUK4Dcjs.Button,
|
|
33007
33007
|
{
|
|
33008
|
-
onClick: loading ? void 0 :
|
|
33008
|
+
onClick: loading ? void 0 : _chunkLQDPAMXKcjs.openInNewTab.call(void 0, href),
|
|
33009
33009
|
disabled: loading,
|
|
33010
33010
|
variant: "outline",
|
|
33011
33011
|
size: "icon",
|
|
@@ -33356,7 +33356,7 @@ function ConversationCard({
|
|
|
33356
33356
|
style: tint,
|
|
33357
33357
|
onClick: selection && ((event) => {
|
|
33358
33358
|
if (event.button !== 0 || _optionalChain([window, 'access', _730 => _730.getSelection, 'call', _731 => _731(), 'optionalAccess', _732 => _732.toString, 'call', _733 => _733()])) return;
|
|
33359
|
-
if (!
|
|
33359
|
+
if (!_chunkLQDPAMXKcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33360
33360
|
selection.onToggle();
|
|
33361
33361
|
}),
|
|
33362
33362
|
children: [
|
|
@@ -33379,7 +33379,7 @@ function ConversationCard({
|
|
|
33379
33379
|
)
|
|
33380
33380
|
),
|
|
33381
33381
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33382
|
-
|
|
33382
|
+
_chunkLQDPAMXKcjs.ChatTurn,
|
|
33383
33383
|
{
|
|
33384
33384
|
avatar: requester.avatar,
|
|
33385
33385
|
name: requester.name,
|
|
@@ -33400,7 +33400,7 @@ function ConversationCard({
|
|
|
33400
33400
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _734 => _734.context])), children: context.text })
|
|
33401
33401
|
] }),
|
|
33402
33402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33403
|
-
|
|
33403
|
+
_chunkLQDPAMXKcjs.ChatTurn,
|
|
33404
33404
|
{
|
|
33405
33405
|
avatar: responder.avatar,
|
|
33406
33406
|
name: responder.name,
|
|
@@ -33445,7 +33445,7 @@ function ConversationCardSkeleton({
|
|
|
33445
33445
|
{
|
|
33446
33446
|
selection: selection && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk63A4GZMBcjs.InertWhileLoading, { className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectionToggle, { pressed: selection.pressed }) }),
|
|
33447
33447
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33448
|
-
|
|
33448
|
+
_chunkLQDPAMXKcjs.ChatTurn,
|
|
33449
33449
|
{
|
|
33450
33450
|
loading: true,
|
|
33451
33451
|
name: "",
|
|
@@ -33469,7 +33469,7 @@ function ConversationCardSkeleton({
|
|
|
33469
33469
|
] })
|
|
33470
33470
|
] }),
|
|
33471
33471
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33472
|
-
|
|
33472
|
+
_chunkLQDPAMXKcjs.ChatTurn,
|
|
33473
33473
|
{
|
|
33474
33474
|
loading: true,
|
|
33475
33475
|
name: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkLQDPAMXKcjs = require('./chunk-LQDPAMXK.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkD6ZSRGH2cjs = require('./chunk-D6ZSRGH2.cjs');
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkLQDPAMXKcjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|