@flamingo-stack/openframe-frontend-core 0.0.772 → 0.0.773
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-ZYGC2A7G.cjs → chunk-2A56MLLL.cjs} +2 -2
- package/dist/{chunk-2MAENZL3.cjs → chunk-3FREBLAJ.cjs} +27 -27
- package/dist/{chunk-QPK2433W.cjs → chunk-42YLIZFD.cjs} +10 -10
- package/dist/{chunk-IHCHU355.cjs → chunk-6LLF2QCS.cjs} +35 -35
- package/dist/{chunk-E25TJPWV.cjs → chunk-7J4YWDT6.cjs} +3 -3
- package/dist/{chunk-ZVKJKWAB.cjs → chunk-7P2QXBWE.cjs} +82 -82
- package/dist/{chunk-S3NEBAKD.cjs → chunk-BMFU2CUL.cjs} +4 -4
- package/dist/{chunk-YI3CDGKM.cjs → chunk-BPAYT72L.cjs} +1 -1
- package/dist/{chunk-UR3I3J5K.cjs → chunk-HEEK42BL.cjs} +43 -43
- package/dist/{chunk-W5LX7DFB.cjs → chunk-I4ZVMNHO.cjs} +3 -3
- package/dist/{chunk-REFL3YNE.cjs → chunk-KDMWXXLE.cjs} +3 -3
- package/dist/{chunk-VZAOLKKF.cjs → chunk-MT5Z2LSV.cjs} +43 -43
- package/dist/{chunk-QOEOY7BJ.cjs → chunk-NPCFVTA2.cjs} +13 -13
- package/dist/{chunk-FT5NPAZY.cjs → chunk-NRFNZ35Z.cjs} +11 -11
- package/dist/{chunk-HFNWBNLE.cjs → chunk-SE76YGR3.cjs} +2 -2
- package/dist/{chunk-J5ZNEAGY.cjs → chunk-VW2QQKQ6.cjs} +5 -5
- package/dist/{chunk-7FYOVKQD.cjs → chunk-YSKX42LW.cjs} +2 -2
- package/dist/{cloud-tenants-CUNC5KBD.cjs → cloud-tenants-EE5ULFOK.cjs} +3 -3
- package/dist/components/case-studies/index.cjs +13 -13
- package/dist/components/chat/embeddable-chat.d.ts +3 -3
- package/dist/components/chat/embeddable-chat.js +7 -17
- package/dist/components/chat/hooks/use-what-to-ask.d.ts +2 -2
- 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 +24 -24
- 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-TO4VUO7F.cjs → devices-EBGGHEGR.cjs} +4 -4
- package/dist/{embeddable-chat-CEAP424I.cjs → embeddable-chat-HCT4QV35.cjs} +7 -17
- package/dist/index.cjs +7 -7
- package/dist/{knowledge-CYJP4XYY.cjs → knowledge-5ZSMKKTL.cjs} +3 -3
- package/dist/{logs-NL3ZBQKC.cjs → logs-GUV3BMGC.cjs} +11 -11
- package/dist/{policies-WTUV4EIT.cjs → policies-HPMTDOAS.cjs} +7 -7
- package/dist/{scripts-EE6MLBQP.cjs → scripts-QYYKCIUW.cjs} +8 -8
- package/dist/{software-update-HX6PN4SB.cjs → software-update-NC2KZKEI.cjs} +6 -6
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +15 -28
- package/src/components/chat/hooks/use-what-to-ask.ts +2 -2
|
@@ -116,7 +116,7 @@ var _chunkC42WIUH6cjs = require('./chunk-C42WIUH6.cjs');
|
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
var
|
|
119
|
+
var _chunkBPAYT72Lcjs = require('./chunk-BPAYT72L.cjs');
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
@@ -4525,7 +4525,7 @@ function AdminFormDrawer({
|
|
|
4525
4525
|
"form",
|
|
4526
4526
|
{
|
|
4527
4527
|
id: formId,
|
|
4528
|
-
...
|
|
4528
|
+
..._chunkBPAYT72Lcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4529
4529
|
className: "flex flex-col gap-[var(--spacing-system-lf)]",
|
|
4530
4530
|
onSubmit: (e) => {
|
|
4531
4531
|
e.preventDefault();
|
|
@@ -4632,7 +4632,7 @@ function AdminFormModal({
|
|
|
4632
4632
|
"form",
|
|
4633
4633
|
{
|
|
4634
4634
|
id: formId,
|
|
4635
|
-
...
|
|
4635
|
+
..._chunkBPAYT72Lcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
4636
4636
|
className: "flex min-h-0 flex-1 flex-col",
|
|
4637
4637
|
onSubmit: (e) => {
|
|
4638
4638
|
e.preventDefault();
|
|
@@ -6022,7 +6022,7 @@ function EmbedViewerFrame({
|
|
|
6022
6022
|
const controllerRef = _react.useRef.call(void 0, null);
|
|
6023
6023
|
_react.useEffect.call(void 0, () => {
|
|
6024
6024
|
if (!fullscreenControl) return void 0;
|
|
6025
|
-
const controller = new (0,
|
|
6025
|
+
const controller = new (0, _chunkBPAYT72Lcjs.FullscreenSwitchController)({
|
|
6026
6026
|
target: () => frameRef.current,
|
|
6027
6027
|
onFullscreenChange: setIsFullscreen
|
|
6028
6028
|
});
|
|
@@ -8055,7 +8055,7 @@ var processShortcodes = (content) => {
|
|
|
8055
8055
|
try {
|
|
8056
8056
|
const urlObj = new URL(url);
|
|
8057
8057
|
const hostname = urlObj.hostname.toLowerCase();
|
|
8058
|
-
const hostIs = (domain) =>
|
|
8058
|
+
const hostIs = (domain) => _chunkBPAYT72Lcjs.hostMatches.call(void 0, hostname, domain);
|
|
8059
8059
|
const isYouTubeVideo = hostIs("youtube.com") && urlObj.searchParams.has("v") || hostIs("youtu.be");
|
|
8060
8060
|
if (isYouTubeVideo || hostIs("reddit.com") || hostIs("twitter.com") || hostIs("x.com") || hostIs("figma.com")) {
|
|
8061
8061
|
return match;
|
|
@@ -10430,10 +10430,10 @@ var OSTypeBadge = ({
|
|
|
10430
10430
|
if (!osType) {
|
|
10431
10431
|
return labelOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, "text-ods-text-secondary", className), children: "Unknown" }) : null;
|
|
10432
10432
|
}
|
|
10433
|
-
const normalized =
|
|
10433
|
+
const normalized = _chunkBPAYT72Lcjs.normalizeOSType.call(void 0, osType);
|
|
10434
10434
|
if (!normalized && !labelOnly) return null;
|
|
10435
|
-
const label =
|
|
10436
|
-
const IconComponent =
|
|
10435
|
+
const label = _chunkBPAYT72Lcjs.getOSLabel.call(void 0, osType);
|
|
10436
|
+
const IconComponent = _chunkBPAYT72Lcjs.getOSIcon.call(void 0, osType);
|
|
10437
10437
|
if (iconOnly && IconComponent) {
|
|
10438
10438
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: _chunk65VVJSQZcjs.cn.call(void 0, iconSize, "text-ods-text-secondary", className) });
|
|
10439
10439
|
}
|
|
@@ -10718,7 +10718,7 @@ function ComplianceLogo({
|
|
|
10718
10718
|
fallback = null,
|
|
10719
10719
|
className
|
|
10720
10720
|
}) {
|
|
10721
|
-
const standard =
|
|
10721
|
+
const standard = _chunkBPAYT72Lcjs.complianceStandardForName.call(void 0, ...names);
|
|
10722
10722
|
if (!standard) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: fallback });
|
|
10723
10723
|
const Official = standard.logo ? COMPLIANCE_LOGOS[standard.logo] : null;
|
|
10724
10724
|
return Official ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12503,7 +12503,7 @@ function TableHeader({
|
|
|
12503
12503
|
onFilterChange
|
|
12504
12504
|
}
|
|
12505
12505
|
),
|
|
12506
|
-
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12506
|
+
column.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.InfoHint, { label: column.label, children: column.hint }) : null
|
|
12507
12507
|
] })
|
|
12508
12508
|
) : (
|
|
12509
12509
|
/* Non-filterable column — regular label with optional sort */
|
|
@@ -12529,7 +12529,7 @@ function TableHeader({
|
|
|
12529
12529
|
hint exists, so a hint-less header keeps its DOM. */
|
|
12530
12530
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
12531
12531
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
12532
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12532
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.InfoHint, { label: column.label, children: column.hint })
|
|
12533
12533
|
] })
|
|
12534
12534
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TABLE_HEADER_LABEL_CLASS, children: column.label }),
|
|
12535
12535
|
getSortIcon(column)
|
|
@@ -12639,7 +12639,7 @@ function TableRow({
|
|
|
12639
12639
|
const Row = animate && motionDiv ? motionDiv : "div";
|
|
12640
12640
|
const motionProps = animate ? { layout: "position", transition: { layout: { duration: 0.35, ease: [0.22, 1, 0.36, 1] } } } : {};
|
|
12641
12641
|
const handleRowClick = (e) => {
|
|
12642
|
-
if (!
|
|
12642
|
+
if (!_chunkBPAYT72Lcjs.isOwnClick.call(void 0, e.target, e.currentTarget)) return;
|
|
12643
12643
|
if (onClick) {
|
|
12644
12644
|
onClick(item);
|
|
12645
12645
|
}
|
|
@@ -13418,7 +13418,7 @@ function DataTableRowImpl({
|
|
|
13418
13418
|
const containerRef = _react.useRef.call(void 0, null);
|
|
13419
13419
|
const handleClick = _react.useCallback.call(void 0,
|
|
13420
13420
|
(e) => {
|
|
13421
|
-
if (!
|
|
13421
|
+
if (!_chunkBPAYT72Lcjs.isOwnClick.call(void 0, e.target, containerRef.current)) {
|
|
13422
13422
|
if (isLinkMode) e.preventDefault();
|
|
13423
13423
|
return;
|
|
13424
13424
|
}
|
|
@@ -13869,7 +13869,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13869
13869
|
// child of the cell.
|
|
13870
13870
|
_optionalChain([meta, 'optionalAccess', _241 => _241.hint]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13871
13871
|
filterTrigger,
|
|
13872
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13872
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13873
13873
|
] }) : filterTrigger
|
|
13874
13874
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
13875
13875
|
"div",
|
|
@@ -13894,7 +13894,7 @@ function HeaderCell({ header, sort, onSortChange }) {
|
|
|
13894
13894
|
// centred on the row.
|
|
13895
13895
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-start gap-[var(--spacing-system-xxs)]", children: [
|
|
13896
13896
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13897
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13897
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.InfoHint, { label: resolveHeaderLabel(header), children: meta.hint })
|
|
13898
13898
|
] })
|
|
13899
13899
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
13900
13900
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -14128,7 +14128,7 @@ function PhoneInput({
|
|
|
14128
14128
|
placeholder = "Phone Number (optional)",
|
|
14129
14129
|
onKeyDown
|
|
14130
14130
|
}) {
|
|
14131
|
-
const { priority, others } = _react.useMemo.call(void 0, () =>
|
|
14131
|
+
const { priority, others } = _react.useMemo.call(void 0, () => _chunkBPAYT72Lcjs.getCountryPhoneData.call(void 0, ), []);
|
|
14132
14132
|
const selectedCountry = _react.useMemo.call(void 0,
|
|
14133
14133
|
() => [...priority, ...others].find((c) => c.code === countryCode),
|
|
14134
14134
|
[countryCode, priority, others]
|
|
@@ -14143,7 +14143,7 @@ function PhoneInput({
|
|
|
14143
14143
|
_optionalChain([onValidationChange, 'optionalCall', _254 => _254(false)]);
|
|
14144
14144
|
return;
|
|
14145
14145
|
}
|
|
14146
|
-
const invalid = !
|
|
14146
|
+
const invalid = !_chunkBPAYT72Lcjs.validatePhoneNumber.call(void 0, phone, countryCode);
|
|
14147
14147
|
setIsInvalid(invalid);
|
|
14148
14148
|
_optionalChain([onValidationChange, 'optionalCall', _255 => _255(invalid)]);
|
|
14149
14149
|
},
|
|
@@ -17956,7 +17956,7 @@ var TRIAL_TERM_ICONS = {
|
|
|
17956
17956
|
};
|
|
17957
17957
|
var DEFAULT_TRIAL_TERMS = ["cancel", "length", "noContract"];
|
|
17958
17958
|
function trialBenefits(trialDays, terms = DEFAULT_TRIAL_TERMS) {
|
|
17959
|
-
const labels =
|
|
17959
|
+
const labels = _chunkBPAYT72Lcjs.trialLabels.call(void 0, trialDays);
|
|
17960
17960
|
return terms.flatMap((term) => {
|
|
17961
17961
|
const label = labels[term];
|
|
17962
17962
|
return label ? [{ icon: TRIAL_TERM_ICONS[term], label }] : [];
|
|
@@ -22282,7 +22282,7 @@ 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 = _chunk5P4TDV7Vcjs.findIcon.call(void 0,
|
|
22285
|
+
const Mark = _chunk5P4TDV7Vcjs.findIcon.call(void 0, _chunkBPAYT72Lcjs.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)]";
|
|
@@ -22300,7 +22300,7 @@ var UNIT_LINE_CLASS = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
|
22300
22300
|
var TABS_ROW_CLASS = _chunk65VVJSQZcjs.cn.call(void 0, "shrink-0 border-b border-ods-border py-[var(--spacing-system-xs)]", PAD_X);
|
|
22301
22301
|
var NUMBER_CELL = "w-16 shrink-0 whitespace-nowrap text-right tabular-nums";
|
|
22302
22302
|
function useProviderGroup(rates) {
|
|
22303
|
-
const groups =
|
|
22303
|
+
const groups = _chunkBPAYT72Lcjs.groupTokenRatesByProvider.call(void 0, rates);
|
|
22304
22304
|
const [picked, setPicked] = _react.useState.call(void 0, null);
|
|
22305
22305
|
return { groups, group: _nullishCoalesce(groups.find((candidate) => candidate.providerType === picked), () => ( groups[0])), setPicked };
|
|
22306
22306
|
}
|
|
@@ -22319,7 +22319,7 @@ function ProviderTabs({
|
|
|
22319
22319
|
onValueChange,
|
|
22320
22320
|
items: groups.map((candidate) => ({
|
|
22321
22321
|
id: candidate.providerType,
|
|
22322
|
-
label:
|
|
22322
|
+
label: _chunkBPAYT72Lcjs.tokenRateProviderLabel.call(void 0, candidate.providerType, _optionalChain([candidate, 'access', _455 => _455.rates, 'access', _456 => _456[0], 'optionalAccess', _457 => _457.providerLabel])),
|
|
22323
22323
|
icon: providerMark(candidate.providerType, _optionalChain([candidate, 'access', _458 => _458.rates, 'access', _459 => _459[0], 'optionalAccess', _460 => _460.providerIcon]), "size-full")
|
|
22324
22324
|
})),
|
|
22325
22325
|
className
|
|
@@ -22397,8 +22397,8 @@ function ModelTokenRatesTable({ rates }) {
|
|
|
22397
22397
|
] }),
|
|
22398
22398
|
/* @__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", { role: "row", className: BODY_ROW_CLASS, children: [
|
|
22399
22399
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "rowheader", className: "min-w-0 flex-1 truncate", children: rate.displayName || rate.modelName }),
|
|
22400
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22401
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children:
|
|
22400
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkBPAYT72Lcjs.formatTokenRate.call(void 0, rate.inputTokenRate) }),
|
|
22401
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "cell", className: NUMBER_CELL, children: _chunkBPAYT72Lcjs.formatTokenRate.call(void 0, rate.outputTokenRate) })
|
|
22402
22402
|
] }, rate.modelName)) })
|
|
22403
22403
|
] }),
|
|
22404
22404
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: UNIT_LINE_CLASS, children: MODEL_TOKEN_RATES_COPY.unit })
|
|
@@ -22448,7 +22448,7 @@ function modelOption(rate) {
|
|
|
22448
22448
|
return {
|
|
22449
22449
|
label: rate.displayName || rate.modelName,
|
|
22450
22450
|
value: rate.modelName,
|
|
22451
|
-
description:
|
|
22451
|
+
description: _chunkBPAYT72Lcjs.tokenRateProviderLabel.call(void 0, rate.providerType, rate.providerLabel),
|
|
22452
22452
|
icon: providerMark(rate.providerType, rate.providerIcon, "size-full text-ods-text-secondary")
|
|
22453
22453
|
};
|
|
22454
22454
|
}
|
|
@@ -22502,8 +22502,8 @@ function ModelTokenExchange({
|
|
|
22502
22502
|
const [chosen, setChosen] = _react.useState.call(void 0, null);
|
|
22503
22503
|
const balance = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(chosen, () => ( defaultAmount)), () => ( _optionalChain([tokenPrice, 'optionalAccess', _461 => _461.tokens]))), () => ( MODEL_TOKEN_EXCHANGE_BALANCE));
|
|
22504
22504
|
const max = Math.max(amountRange.max, balance, ...presets.map((preset) => preset.tokens));
|
|
22505
|
-
const tokens =
|
|
22506
|
-
const cost =
|
|
22505
|
+
const tokens = _chunkBPAYT72Lcjs.formatTokenAmount.call(void 0, balance);
|
|
22506
|
+
const cost = _chunkBPAYT72Lcjs.tokenCost.call(void 0, balance, tokenPrice);
|
|
22507
22507
|
const balancePrice = cost === null ? null : _chunkHY6BCZH7cjs.formatPrice.call(void 0, cost);
|
|
22508
22508
|
const model = rate ? rate.displayName || rate.modelName : "";
|
|
22509
22509
|
const options = models.map(modelOption);
|
|
@@ -22545,7 +22545,7 @@ function ModelTokenExchange({
|
|
|
22545
22545
|
variant: preset.tokens === balance ? "accent" : "outline",
|
|
22546
22546
|
size: "small",
|
|
22547
22547
|
onClick: () => setChosen(preset.tokens),
|
|
22548
|
-
children: copy.buy.preset(
|
|
22548
|
+
children: copy.buy.preset(_chunkBPAYT72Lcjs.formatTokenAmount.call(void 0, preset.tokens), preset.label)
|
|
22549
22549
|
},
|
|
22550
22550
|
preset.label
|
|
22551
22551
|
)) })
|
|
@@ -22562,7 +22562,7 @@ function ModelTokenExchange({
|
|
|
22562
22562
|
const stated = _nullishCoalesce(models.find((option) => option.providerType === providerType), () => ( (_optionalChain([rate, 'optionalAccess', _462 => _462.providerType]) === providerType ? rate : null)));
|
|
22563
22563
|
return {
|
|
22564
22564
|
id: providerType,
|
|
22565
|
-
name:
|
|
22565
|
+
name: _chunkBPAYT72Lcjs.tokenRateProviderLabel.call(void 0, providerType, _optionalChain([stated, 'optionalAccess', _463 => _463.providerLabel])),
|
|
22566
22566
|
icon: providerMark(providerType, _optionalChain([stated, 'optionalAccess', _464 => _464.providerIcon]), "size-8 text-ods-text-secondary")
|
|
22567
22567
|
};
|
|
22568
22568
|
}),
|
|
@@ -22601,7 +22601,7 @@ function ModelTokenExchange({
|
|
|
22601
22601
|
{
|
|
22602
22602
|
size: "plain",
|
|
22603
22603
|
loading,
|
|
22604
|
-
figure:
|
|
22604
|
+
figure: _chunkBPAYT72Lcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _469 => _469.inputTokenRate])),
|
|
22605
22605
|
words: copy.charge.input
|
|
22606
22606
|
}
|
|
22607
22607
|
),
|
|
@@ -22610,7 +22610,7 @@ function ModelTokenExchange({
|
|
|
22610
22610
|
{
|
|
22611
22611
|
size: "plain",
|
|
22612
22612
|
loading,
|
|
22613
|
-
figure:
|
|
22613
|
+
figure: _chunkBPAYT72Lcjs.formatTokenRate.call(void 0, _optionalChain([rate, 'optionalAccess', _470 => _470.outputTokenRate])),
|
|
22614
22614
|
words: copy.charge.output
|
|
22615
22615
|
}
|
|
22616
22616
|
)
|
|
@@ -22622,9 +22622,9 @@ function ModelTokenExchange({
|
|
|
22622
22622
|
className: "mt-auto flex flex-col rounded-md border border-ods-accent bg-ods-bg p-[var(--spacing-system-mf)]",
|
|
22623
22623
|
children: [
|
|
22624
22624
|
/* @__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, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-full max-w-xs" }) : copy.charge.so(_nullishCoalesce(balancePrice, () => ( copy.buy.tokens(tokens))), model) }),
|
|
22625
|
-
/* @__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, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) :
|
|
22625
|
+
/* @__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, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }) : _chunkBPAYT72Lcjs.formatTokenAmount.call(void 0, _chunkBPAYT72Lcjs.tokensForBalance.call(void 0, balance, rate.inputTokenRate)) }),
|
|
22626
22626
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-h-[1lh] text-ods-text-primary text-h3", children: copy.charge.read }),
|
|
22627
|
-
/* @__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, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(
|
|
22627
|
+
/* @__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, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-48" }) : copy.charge.orWritten(_chunkBPAYT72Lcjs.formatTokenAmount.call(void 0, _chunkBPAYT72Lcjs.tokensForBalance.call(void 0, balance, rate.outputTokenRate))) })
|
|
22628
22628
|
]
|
|
22629
22629
|
}
|
|
22630
22630
|
)
|
|
@@ -23163,14 +23163,14 @@ var ConfidenceBadge = ({
|
|
|
23163
23163
|
size = "sm",
|
|
23164
23164
|
className
|
|
23165
23165
|
}) => {
|
|
23166
|
-
const level =
|
|
23166
|
+
const level = _chunkBPAYT72Lcjs.getConfidenceLevel.call(void 0, confidence);
|
|
23167
23167
|
if (level === "none") {
|
|
23168
23168
|
return null;
|
|
23169
23169
|
}
|
|
23170
|
-
const label =
|
|
23171
|
-
const borderClass =
|
|
23172
|
-
const textClass =
|
|
23173
|
-
const bgClass =
|
|
23170
|
+
const label = _chunkBPAYT72Lcjs.getConfidenceLabel.call(void 0, confidence);
|
|
23171
|
+
const borderClass = _chunkBPAYT72Lcjs.getConfidenceBorderClass.call(void 0, confidence);
|
|
23172
|
+
const textClass = _chunkBPAYT72Lcjs.getConfidenceTextClass.call(void 0, confidence);
|
|
23173
|
+
const bgClass = _chunkBPAYT72Lcjs.getConfidenceBgClass.call(void 0, confidence);
|
|
23174
23174
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
23175
23175
|
"span",
|
|
23176
23176
|
{
|
|
@@ -23221,9 +23221,9 @@ function SEOEditorPreview({
|
|
|
23221
23221
|
const [isUploading, setIsUploading] = _react.useState.call(void 0, false);
|
|
23222
23222
|
const [fileInputRef, setFileInputRef] = _react.useState.call(void 0, null);
|
|
23223
23223
|
const seoTitleLength = (seoTitle || "").length;
|
|
23224
|
-
const seoTitleTooLong = seoTitleLength >
|
|
23224
|
+
const seoTitleTooLong = seoTitleLength > _chunkBPAYT72Lcjs.SEO_TITLE_MAX_LENGTH;
|
|
23225
23225
|
const seoDescriptionLength = (seoDescription || "").length;
|
|
23226
|
-
const seoDescriptionTooLong = seoDescriptionLength >
|
|
23226
|
+
const seoDescriptionTooLong = seoDescriptionLength > _chunkBPAYT72Lcjs.SEO_DESCRIPTION_MAX_LENGTH;
|
|
23227
23227
|
const displayTitle = seoTitle.trim() || title || "Untitled";
|
|
23228
23228
|
const displayDescription = seoDescription.trim() || summary || "No description";
|
|
23229
23229
|
const hasOgImage = ogImageUrl.trim();
|
|
@@ -23248,10 +23248,10 @@ function SEOEditorPreview({
|
|
|
23248
23248
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23249
23249
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23250
23250
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23251
|
-
|
|
23251
|
+
_chunkBPAYT72Lcjs.Field,
|
|
23252
23252
|
{
|
|
23253
23253
|
label: "SEO Title",
|
|
23254
|
-
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${
|
|
23254
|
+
error: seoTitleTooLong ? `Too long: search engines may truncate this title (keep it under ${_chunkBPAYT72Lcjs.SEO_TITLE_MAX_LENGTH})` : null,
|
|
23255
23255
|
labelExtras: aiConfidenceSeoTitle !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23256
23256
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23257
23257
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ConfidenceBadge, { confidence: aiConfidenceSeoTitle, showLabel: true, showPercentage: true, size: "sm" })
|
|
@@ -23266,7 +23266,7 @@ function SEOEditorPreview({
|
|
|
23266
23266
|
children: [
|
|
23267
23267
|
seoTitleLength,
|
|
23268
23268
|
"/",
|
|
23269
|
-
|
|
23269
|
+
_chunkBPAYT72Lcjs.SEO_TITLE_MAX_LENGTH
|
|
23270
23270
|
]
|
|
23271
23271
|
}
|
|
23272
23272
|
),
|
|
@@ -23277,7 +23277,7 @@ function SEOEditorPreview({
|
|
|
23277
23277
|
value: seoTitle || "",
|
|
23278
23278
|
onChange: (e) => onSeoTitleChange(e.target.value),
|
|
23279
23279
|
disabled,
|
|
23280
|
-
maxLength:
|
|
23280
|
+
maxLength: _chunkBPAYT72Lcjs.SEO_TITLE_MAX_LENGTH,
|
|
23281
23281
|
invalid: seoTitleTooLong,
|
|
23282
23282
|
placeholder: "Enter SEO meta title...",
|
|
23283
23283
|
className: "border-ods-border bg-ods-bg text-ods-text-primary"
|
|
@@ -23288,7 +23288,7 @@ function SEOEditorPreview({
|
|
|
23288
23288
|
!seoTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-accent text-h6", children: "Auto-populated from title" })
|
|
23289
23289
|
] }),
|
|
23290
23290
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23291
|
-
|
|
23291
|
+
_chunkBPAYT72Lcjs.Field,
|
|
23292
23292
|
{
|
|
23293
23293
|
label: "SEO Keywords",
|
|
23294
23294
|
labelExtras: aiConfidenceSeoKeywords !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -23320,10 +23320,10 @@ function SEOEditorPreview({
|
|
|
23320
23320
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-lg:grid-cols-2", children: [
|
|
23321
23321
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
|
|
23322
23322
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
23323
|
-
|
|
23323
|
+
_chunkBPAYT72Lcjs.Field,
|
|
23324
23324
|
{
|
|
23325
23325
|
label: "SEO Description",
|
|
23326
|
-
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${
|
|
23326
|
+
error: seoDescriptionTooLong ? `Too long: search engines may truncate this description (keep it under ${_chunkBPAYT72Lcjs.SEO_DESCRIPTION_MAX_LENGTH})` : null,
|
|
23327
23327
|
labelExtras: aiConfidenceSeoDescription !== void 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
23328
23328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
|
|
23329
23329
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -23346,7 +23346,7 @@ function SEOEditorPreview({
|
|
|
23346
23346
|
children: [
|
|
23347
23347
|
seoDescriptionLength,
|
|
23348
23348
|
"/",
|
|
23349
|
-
|
|
23349
|
+
_chunkBPAYT72Lcjs.SEO_DESCRIPTION_MAX_LENGTH
|
|
23350
23350
|
]
|
|
23351
23351
|
}
|
|
23352
23352
|
),
|
|
@@ -23357,7 +23357,7 @@ function SEOEditorPreview({
|
|
|
23357
23357
|
value: seoDescription || "",
|
|
23358
23358
|
onChange: (e) => onSeoDescriptionChange(e.target.value),
|
|
23359
23359
|
disabled,
|
|
23360
|
-
maxLength:
|
|
23360
|
+
maxLength: _chunkBPAYT72Lcjs.SEO_DESCRIPTION_MAX_LENGTH,
|
|
23361
23361
|
invalid: seoDescriptionTooLong,
|
|
23362
23362
|
placeholder: "Enter SEO meta description...",
|
|
23363
23363
|
className: _chunk65VVJSQZcjs.cn.call(void 0, "resize-none border-ods-border bg-ods-bg text-ods-text-primary", SEO_MEDIA_BOX_HEIGHT)
|
|
@@ -23510,7 +23510,7 @@ function socialIcon(platform) {
|
|
|
23510
23510
|
return _nullishCoalesce(_chunk5P4TDV7Vcjs.iconOf.call(void 0, SOCIAL_ICONS[platform]), () => ( void 0));
|
|
23511
23511
|
}
|
|
23512
23512
|
function renderSocialIcon(platform) {
|
|
23513
|
-
const key = _nullishCoalesce(
|
|
23513
|
+
const key = _nullishCoalesce(_chunkBPAYT72Lcjs.normalizeSocialPlatform.call(void 0, platform), () => ( "website"));
|
|
23514
23514
|
const icon = _nullishCoalesce(socialIcon(key), () => ( socialIcon("website")));
|
|
23515
23515
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5" }) : null;
|
|
23516
23516
|
}
|
|
@@ -23597,7 +23597,7 @@ function SocialLinksManager({
|
|
|
23597
23597
|
};
|
|
23598
23598
|
const getIcon = (link, platform) => {
|
|
23599
23599
|
const iconKey = _optionalChain([platform, 'optionalAccess', _480 => _480.icon_name]) || link.platform;
|
|
23600
|
-
const key =
|
|
23600
|
+
const key = _chunkBPAYT72Lcjs.normalizeSocialPlatform.call(void 0, iconKey);
|
|
23601
23601
|
if (!key) return null;
|
|
23602
23602
|
const icon = socialIcon(key);
|
|
23603
23603
|
return icon ? _react.createElement.call(void 0, icon, { className: "h-5 w-5 text-ods-text-secondary" }) : null;
|
|
@@ -24094,7 +24094,7 @@ function WalkthroughVideo({
|
|
|
24094
24094
|
onOpenChange,
|
|
24095
24095
|
defaultOpen,
|
|
24096
24096
|
defaultOpenPaused,
|
|
24097
|
-
deepLinkParam =
|
|
24097
|
+
deepLinkParam = _chunkBPAYT72Lcjs.WALKTHROUGH_OPEN_QUERY_PARAM,
|
|
24098
24098
|
autoPlayCard = false,
|
|
24099
24099
|
label = "Play Demo Video",
|
|
24100
24100
|
placement,
|
|
@@ -24111,7 +24111,7 @@ function WalkthroughVideo({
|
|
|
24111
24111
|
const inline = placement === "inline";
|
|
24112
24112
|
const inScope = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
24113
24113
|
const dismissEnabled = dismissal !== false;
|
|
24114
|
-
const storageKey = dismissEnabled && dismissal.storageKey ||
|
|
24114
|
+
const storageKey = dismissEnabled && dismissal.storageKey || _chunkBPAYT72Lcjs.WALKTHROUGH_VIDEO_DISMISS_KEY;
|
|
24115
24115
|
const dismissalId = _optionalChain([video, 'optionalAccess', _486 => _486.id]) != null ? String(video.id) : "dismissed";
|
|
24116
24116
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
24117
24117
|
const [dismissed, setDismissed] = _react.useState.call(void 0, false);
|
|
@@ -24123,7 +24123,7 @@ function WalkthroughVideo({
|
|
|
24123
24123
|
let delayElapsed = false;
|
|
24124
24124
|
let interacted = inline;
|
|
24125
24125
|
const reveal = () => {
|
|
24126
|
-
if (dismissEnabled &&
|
|
24126
|
+
if (dismissEnabled && _chunkBPAYT72Lcjs.isWalkthroughDismissed.call(void 0, storageKey, dismissalId)) {
|
|
24127
24127
|
setDismissed(true);
|
|
24128
24128
|
return;
|
|
24129
24129
|
}
|
|
@@ -24410,7 +24410,7 @@ function WalkthroughVideo({
|
|
|
24410
24410
|
(e) => {
|
|
24411
24411
|
e.stopPropagation();
|
|
24412
24412
|
pausePreviewNow();
|
|
24413
|
-
if (dismissEnabled)
|
|
24413
|
+
if (dismissEnabled) _chunkBPAYT72Lcjs.dismissWalkthrough.call(void 0, storageKey, dismissalId);
|
|
24414
24414
|
setDismissed(true);
|
|
24415
24415
|
},
|
|
24416
24416
|
[dismissEnabled, storageKey, dismissalId, pausePreviewNow]
|
|
@@ -25506,7 +25506,7 @@ function HighlightConfigSection({
|
|
|
25506
25506
|
disabled = false,
|
|
25507
25507
|
className = ""
|
|
25508
25508
|
}) {
|
|
25509
|
-
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,
|
|
25509
|
+
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, _chunkBPAYT72Lcjs.Field, { label: "Target Duration", children: (f) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
25510
25510
|
_chunkV3W56L2Dcjs.Select,
|
|
25511
25511
|
{
|
|
25512
25512
|
value: targetDurationSeconds.toString(),
|
|
@@ -25607,7 +25607,7 @@ var AIStatusIndicator = ({
|
|
|
25607
25607
|
}) => {
|
|
25608
25608
|
const config = statusConfig[status];
|
|
25609
25609
|
const displayText = message || config.label;
|
|
25610
|
-
const confidenceLabel = showConfidence && confidence !== void 0 ? `${
|
|
25610
|
+
const confidenceLabel = showConfidence && confidence !== void 0 ? `${_chunkBPAYT72Lcjs.getConfidenceLabel.call(void 0, confidence)} (${confidence}%)` : null;
|
|
25611
25611
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "inline-flex items-center gap-2 rounded-lg px-3 py-1.5", config.bgColor, className), children: [
|
|
25612
25612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25613
25613
|
_chunkUNFCRSYIcjs.SparklesIcon,
|
|
@@ -25615,7 +25615,7 @@ var AIStatusIndicator = ({
|
|
|
25615
25615
|
size: 16,
|
|
25616
25616
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25617
25617
|
status === "loading" && _chunkXFRBEXQNcjs.LIVE_PULSE_CLASS,
|
|
25618
|
-
confidence !== void 0 && status === "success" ?
|
|
25618
|
+
confidence !== void 0 && status === "success" ? _chunkBPAYT72Lcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25619
25619
|
)
|
|
25620
25620
|
}
|
|
25621
25621
|
),
|
|
@@ -25624,7 +25624,7 @@ var AIStatusIndicator = ({
|
|
|
25624
25624
|
{
|
|
25625
25625
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25626
25626
|
"text-h6",
|
|
25627
|
-
confidence !== void 0 && status === "success" ?
|
|
25627
|
+
confidence !== void 0 && status === "success" ? _chunkBPAYT72Lcjs.getConfidenceTextClass.call(void 0, confidence) : config.color
|
|
25628
25628
|
),
|
|
25629
25629
|
children: displayText
|
|
25630
25630
|
}
|
|
@@ -25634,8 +25634,8 @@ var AIStatusIndicator = ({
|
|
|
25634
25634
|
{
|
|
25635
25635
|
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
25636
25636
|
"rounded-full border px-2 py-0.5 text-h6",
|
|
25637
|
-
|
|
25638
|
-
|
|
25637
|
+
_chunkBPAYT72Lcjs.getConfidenceBorderClass.call(void 0, confidence),
|
|
25638
|
+
_chunkBPAYT72Lcjs.getConfidenceTextClass.call(void 0, confidence)
|
|
25639
25639
|
),
|
|
25640
25640
|
children: confidenceLabel
|
|
25641
25641
|
}
|
|
@@ -26562,7 +26562,7 @@ function PoliciesTable({
|
|
|
26562
26562
|
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,
|
|
26563
26563
|
_chunkTF5D5MNOcjs.Button,
|
|
26564
26564
|
{
|
|
26565
|
-
onClick:
|
|
26565
|
+
onClick: _chunkBPAYT72Lcjs.openInNewTab.call(void 0, row.original.href),
|
|
26566
26566
|
variant: "outline",
|
|
26567
26567
|
size: "icon",
|
|
26568
26568
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26888,7 +26888,7 @@ function TenantsTableView({
|
|
|
26888
26888
|
/* @__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,
|
|
26889
26889
|
_chunkTF5D5MNOcjs.Button,
|
|
26890
26890
|
{
|
|
26891
|
-
onClick:
|
|
26891
|
+
onClick: _chunkBPAYT72Lcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
26892
26892
|
variant: "outline",
|
|
26893
26893
|
size: "icon",
|
|
26894
26894
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -26984,7 +26984,7 @@ function WaitlistForm({
|
|
|
26984
26984
|
_react.useEffect.call(void 0, () => {
|
|
26985
26985
|
rescue.track({ email, phone }, null);
|
|
26986
26986
|
}, [email, phone, rescue]);
|
|
26987
|
-
const isMailDomainGeneric =
|
|
26987
|
+
const isMailDomainGeneric = _chunkBPAYT72Lcjs.hasGenericEmailDomain.call(void 0, email);
|
|
26988
26988
|
const [syncedDefaultEmail, setSyncedDefaultEmail] = _react.useState.call(void 0, defaultEmail);
|
|
26989
26989
|
if (syncedDefaultEmail !== defaultEmail) {
|
|
26990
26990
|
setSyncedDefaultEmail(defaultEmail);
|
|
@@ -27018,7 +27018,7 @@ function WaitlistForm({
|
|
|
27018
27018
|
setShowConsentError(true);
|
|
27019
27019
|
return;
|
|
27020
27020
|
}
|
|
27021
|
-
const finalPhone = phone ?
|
|
27021
|
+
const finalPhone = phone ? _chunkBPAYT72Lcjs.formatPhoneE164.call(void 0, phone, countryCode) : void 0;
|
|
27022
27022
|
try {
|
|
27023
27023
|
await onRegister(email, finalPhone, getSignals(), rescue.submitFields());
|
|
27024
27024
|
rescue.complete();
|
|
@@ -29157,7 +29157,7 @@ function getDeviceStatusConfig(status) {
|
|
|
29157
29157
|
}
|
|
29158
29158
|
}
|
|
29159
29159
|
function getDeviceOperatingSystem(osType) {
|
|
29160
|
-
return
|
|
29160
|
+
return _chunkBPAYT72Lcjs.getOSPlatformId.call(void 0, osType);
|
|
29161
29161
|
}
|
|
29162
29162
|
|
|
29163
29163
|
// src/components/features/devices/device-statuses.ts
|
|
@@ -31295,7 +31295,7 @@ var ToolBadge = ({
|
|
|
31295
31295
|
iconClassName
|
|
31296
31296
|
}) => {
|
|
31297
31297
|
const loading = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
31298
|
-
const text = _nullishCoalesce(label, () => ( (toolType ?
|
|
31298
|
+
const text = _nullishCoalesce(label, () => ( (toolType ? _chunkBPAYT72Lcjs.getToolLabel.call(void 0, toolType) : "")));
|
|
31299
31299
|
const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk57B5RUYDcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
|
|
31300
31300
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ToolBadgeSkeleton, { variant, icon: !!mark, className });
|
|
31301
31301
|
const linked = (node, linkClassName) => href && targetPlatform ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -31411,7 +31411,7 @@ function LogsTableView({
|
|
|
31411
31411
|
cell: ({ row }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
31412
31412
|
ToolBadge,
|
|
31413
31413
|
{
|
|
31414
|
-
toolType:
|
|
31414
|
+
toolType: _chunkBPAYT72Lcjs.normalizeToolTypeWithFallback.call(void 0, row.original.source.toolType),
|
|
31415
31415
|
iconClassName: "h-4 w-4 content-md:h-6 content-md:w-6"
|
|
31416
31416
|
}
|
|
31417
31417
|
),
|
|
@@ -31423,7 +31423,7 @@ function LogsTableView({
|
|
|
31423
31423
|
filter: {
|
|
31424
31424
|
options: _nullishCoalesce(_optionalChain([facets, 'optionalAccess', _675 => _675.toolTypes, 'access', _676 => _676.map, 'call', _677 => _677((toolType) => ({
|
|
31425
31425
|
id: toolType,
|
|
31426
|
-
label:
|
|
31426
|
+
label: _chunkBPAYT72Lcjs.toToolLabel.call(void 0, toolType),
|
|
31427
31427
|
value: toolType
|
|
31428
31428
|
}))]), () => ( []))
|
|
31429
31429
|
}
|
|
@@ -31481,7 +31481,7 @@ function LogsTableView({
|
|
|
31481
31481
|
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,
|
|
31482
31482
|
_chunkTF5D5MNOcjs.Button,
|
|
31483
31483
|
{
|
|
31484
|
-
onClick: getLogHref ?
|
|
31484
|
+
onClick: getLogHref ? _chunkBPAYT72Lcjs.openInNewTab.call(void 0, getLogHref(row.original)) : void 0,
|
|
31485
31485
|
variant: "outline",
|
|
31486
31486
|
size: "icon",
|
|
31487
31487
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -31856,7 +31856,7 @@ function OpenInNewTabCell({ href }) {
|
|
|
31856
31856
|
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,
|
|
31857
31857
|
_chunkTF5D5MNOcjs.Button,
|
|
31858
31858
|
{
|
|
31859
|
-
onClick:
|
|
31859
|
+
onClick: _chunkBPAYT72Lcjs.openInNewTab.call(void 0, href),
|
|
31860
31860
|
variant: "outline",
|
|
31861
31861
|
size: "icon",
|
|
31862
31862
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -32005,9 +32005,9 @@ function ScriptSchedulesTable({
|
|
|
32005
32005
|
|
|
32006
32006
|
// src/components/features/scripts/shell-types.ts
|
|
32007
32007
|
var SCRIPT_SHELL_TYPES = [
|
|
32008
|
-
{ id:
|
|
32009
|
-
{ id:
|
|
32010
|
-
{ id:
|
|
32008
|
+
{ id: _chunkBPAYT72Lcjs.ShellTypeValues.POWERSHELL, label: "PowerShell", value: "powershell", icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon },
|
|
32009
|
+
{ id: _chunkBPAYT72Lcjs.ShellTypeValues.CMD, label: "CMD", value: "cmd", icon: _chunkNIVJEJSGcjs.TerminalSquareIcon },
|
|
32010
|
+
{ id: _chunkBPAYT72Lcjs.ShellTypeValues.BASH, label: "Bash", value: "bash", icon: _chunkTRUW6DDAcjs.TerminalIcon }
|
|
32011
32011
|
];
|
|
32012
32012
|
function scriptShellType(value) {
|
|
32013
32013
|
return SCRIPT_SHELL_TYPES.find((shell) => shell.value === value);
|
|
@@ -33440,7 +33440,7 @@ function ScheduleFormFields({
|
|
|
33440
33440
|
disabled = false,
|
|
33441
33441
|
renderScriptSearch,
|
|
33442
33442
|
timeReferenceGate = "off",
|
|
33443
|
-
platforms =
|
|
33443
|
+
platforms = _chunkBPAYT72Lcjs.OS_PLATFORMS,
|
|
33444
33444
|
comingSoonPlatforms = [],
|
|
33445
33445
|
getTimeSlots,
|
|
33446
33446
|
nameLayout = "stacked",
|
|
@@ -33586,7 +33586,7 @@ function ScheduleFormFields({
|
|
|
33586
33586
|
// src/components/features/scripts/schedule-form/schedule-script-search-field.tsx
|
|
33587
33587
|
|
|
33588
33588
|
function ScriptPlatformIcons({ platforms }) {
|
|
33589
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children:
|
|
33589
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "inline-flex shrink-0 items-center gap-0.5", children: _chunkBPAYT72Lcjs.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)) });
|
|
33590
33590
|
}
|
|
33591
33591
|
function ScheduleScriptSearchField({
|
|
33592
33592
|
scriptId,
|
|
@@ -33659,7 +33659,7 @@ function getKnowledgeBaseOpenColumn(getHref) {
|
|
|
33659
33659
|
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,
|
|
33660
33660
|
_chunkTF5D5MNOcjs.Button,
|
|
33661
33661
|
{
|
|
33662
|
-
onClick:
|
|
33662
|
+
onClick: _chunkBPAYT72Lcjs.openInNewTab.call(void 0, getHref(row.original)),
|
|
33663
33663
|
variant: "outline",
|
|
33664
33664
|
size: "icon",
|
|
33665
33665
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkANTDIQKKcjs.ArrowRightUpIcon, { className: "h-5 w-5" }),
|
|
@@ -33949,7 +33949,7 @@ function ConversationCard({
|
|
|
33949
33949
|
style: tint,
|
|
33950
33950
|
onClick: selection && ((event) => {
|
|
33951
33951
|
if (event.button !== 0 || _optionalChain([window, 'access', _741 => _741.getSelection, 'call', _742 => _742(), 'optionalAccess', _743 => _743.toString, 'call', _744 => _744()])) return;
|
|
33952
|
-
if (!
|
|
33952
|
+
if (!_chunkBPAYT72Lcjs.isOwnClick.call(void 0, event.target, event.currentTarget, { controls: true })) return;
|
|
33953
33953
|
selection.onToggle();
|
|
33954
33954
|
}),
|
|
33955
33955
|
children: [
|
|
@@ -33972,7 +33972,7 @@ function ConversationCard({
|
|
|
33972
33972
|
children: selection.pressed ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXIBCMGBWcjs.CheckIcon, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX4UZ62MYcjs.PlusIcon, {})
|
|
33973
33973
|
}
|
|
33974
33974
|
),
|
|
33975
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33975
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.ChatTurn, { avatar: requester.avatar, name: requester.name, meta: requester.meta, time: requester.time, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
33976
33976
|
"p",
|
|
33977
33977
|
{
|
|
33978
33978
|
id: requestId,
|
|
@@ -33991,7 +33991,7 @@ function ConversationCard({
|
|
|
33991
33991
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: CONTEXT_TEXT_CLASS, style: partLinesStyle(_optionalChain([lines, 'optionalAccess', _745 => _745.context])), children: context.text })
|
|
33992
33992
|
] }),
|
|
33993
33993
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33994
|
-
|
|
33994
|
+
_chunkBPAYT72Lcjs.ChatTurn,
|
|
33995
33995
|
{
|
|
33996
33996
|
avatar: responder.avatar,
|
|
33997
33997
|
name: responder.name,
|
|
@@ -34014,10 +34014,10 @@ function ConversationCard({
|
|
|
34014
34014
|
);
|
|
34015
34015
|
}
|
|
34016
34016
|
function TurnSkeleton({ avatarPx, meta, children }) {
|
|
34017
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
34017
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkBPAYT72Lcjs.TURN_ROW_CLASS, children: [
|
|
34018
34018
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHY6BCZH7cjs.SquareAvatarSkeleton, { sizePx: avatarPx }),
|
|
34019
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
34020
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34019
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkBPAYT72Lcjs.TURN_BODY_CLASS, children: [
|
|
34020
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBPAYT72Lcjs.ChatTurnNameSkeleton, { meta, time: true }),
|
|
34021
34021
|
children
|
|
34022
34022
|
] })
|
|
34023
34023
|
] });
|