@flamingo-stack/openframe-frontend-core 0.0.735 → 0.0.736
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-XKB7YGQM.cjs → chunk-77SD7RXY.cjs} +18 -6
- package/dist/{chunk-T323E2Y6.cjs → chunk-7V2KP2TB.cjs} +4 -4
- package/dist/{chunk-W6E7XCBI.cjs → chunk-BDF3FNOC.cjs} +31 -31
- package/dist/{chunk-EQ7OOK4B.cjs → chunk-BL5GOCHP.cjs} +14 -14
- package/dist/{chunk-RH3AKULV.cjs → chunk-EJOXXJJB.cjs} +56 -4
- package/dist/{chunk-SHQZN5LF.cjs → chunk-EX2GYIGW.cjs} +6 -6
- package/dist/{chunk-3JP2OVH3.cjs → chunk-FTGVG6FW.cjs} +30 -30
- package/dist/{chunk-3X4N3IT7.cjs → chunk-JGGSRCRD.cjs} +16 -16
- package/dist/{chunk-MRVZ56GT.cjs → chunk-JM54CNZZ.cjs} +81 -81
- package/dist/{chunk-HBUUCLQM.cjs → chunk-L535OD7V.cjs} +2 -2
- package/dist/{chunk-6TTAILSV.cjs → chunk-LIH5OQLY.cjs} +3 -3
- package/dist/{chunk-OXJ57643.cjs → chunk-MGW5DO6P.cjs} +76 -17
- package/dist/{chunk-4F7V2MAC.cjs → chunk-NONQUGRP.cjs} +14 -14
- package/dist/{chunk-36CCUJOE.cjs → chunk-OJUMVOMP.cjs} +313 -313
- package/dist/{chunk-JDXQ6T5P.cjs → chunk-OV6BGMEL.cjs} +130 -179
- package/dist/{chunk-TUMUT7CV.cjs → chunk-P6Z3EBPJ.cjs} +11 -11
- package/dist/{chunk-NVCSVGNI.cjs → chunk-SZFA2LQR.cjs} +33 -33
- package/dist/{chunk-F7STMHT7.cjs → chunk-T27CVQBO.cjs} +65 -65
- package/dist/{chunk-EQH7BUNS.cjs → chunk-UBQSOB3X.cjs} +4 -4
- package/dist/{chunk-SZRZBCWC.cjs → chunk-URX2YTCL.cjs} +68 -68
- package/dist/{chunk-HLBFTDUL.cjs → chunk-VRNNIV5Y.cjs} +2 -2
- package/dist/{chunk-3FZZPR76.cjs → chunk-XLSVQJBA.cjs} +44 -44
- package/dist/{chunk-7HT3VHLJ.cjs → chunk-ZEX5WU35.cjs} +15 -15
- package/dist/{cloud-tenants-H5D57P4U.cjs → cloud-tenants-M55HMW6F.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +19 -19
- package/dist/components/chat/index.cjs +9 -9
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/help-center-pages/index.cjs +99 -99
- package/dist/components/index.cjs +60 -60
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/pagination.d.ts +9 -1
- package/dist/components/pagination.d.ts.map +1 -1
- package/dist/components/pagination.js +72 -17
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/tickets/index.cjs +12 -12
- package/dist/components/ui/index.cjs +11 -11
- package/dist/components/unified-pagination.d.ts.map +1 -1
- package/dist/components/unified-pagination.js +16 -4
- package/dist/{devices-SQTEXY2H.cjs → devices-WWJZFG6E.cjs} +8 -8
- package/dist/{embeddable-chat-S5ODWE3L.cjs → embeddable-chat-76IJ6TQZ.cjs} +72 -72
- package/dist/index.cjs +15 -15
- package/dist/{knowledge-FO3TPLFO.cjs → knowledge-F4YFQT3G.cjs} +8 -8
- package/dist/{logs-Y4WQB2YR.cjs → logs-GAYEGEZM.cjs} +15 -15
- package/dist/{policies-D6VY2ODF.cjs → policies-ZOVJCJWX.cjs} +11 -11
- package/dist/{software-update-7XN6U7HC.cjs → software-update-H4YE5GMJ.cjs} +10 -10
- package/package.json +1 -1
- package/src/components/pagination.tsx +117 -21
- package/src/components/unified-pagination.tsx +23 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkMGW5DO6Pcjs = require('./chunk-MGW5DO6P.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -14,7 +14,7 @@ var _chunkOXJ57643cjs = require('./chunk-OXJ57643.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkEX2GYIGWcjs = require('./chunk-EX2GYIGW.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -39,7 +39,7 @@ var _chunkSHQZN5LFcjs = require('./chunk-SHQZN5LF.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkEJOXXJJBcjs = require('./chunk-EJOXXJJB.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
|
|
@@ -440,13 +440,13 @@ function cardEntry(definition) {
|
|
|
440
440
|
}
|
|
441
441
|
function programEntry(configKey) {
|
|
442
442
|
return cardEntry({
|
|
443
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
443
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
444
444
|
decode: decodeProgramRow,
|
|
445
445
|
render: (item, ctx) => {
|
|
446
446
|
const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
|
|
447
447
|
if (!config) return null;
|
|
448
448
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
449
|
-
|
|
449
|
+
_chunkEJOXXJJBcjs.ProgramCard,
|
|
450
450
|
{
|
|
451
451
|
config,
|
|
452
452
|
item,
|
|
@@ -463,10 +463,10 @@ function programEntry(configKey) {
|
|
|
463
463
|
}
|
|
464
464
|
function roadmapEntry(cardType) {
|
|
465
465
|
return cardEntry({
|
|
466
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
466
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
467
467
|
decode: decodeRoadmapRow,
|
|
468
468
|
render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
469
|
-
|
|
469
|
+
_chunkEJOXXJJBcjs.RoadmapCard,
|
|
470
470
|
{
|
|
471
471
|
item,
|
|
472
472
|
href: ctx.href,
|
|
@@ -483,10 +483,10 @@ function roadmapEntry(cardType) {
|
|
|
483
483
|
}
|
|
484
484
|
var RELATED_CARD_REGISTRY = {
|
|
485
485
|
blog_post_existing: cardEntry({
|
|
486
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
486
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
487
487
|
decode: decodeBlogRow,
|
|
488
488
|
render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
489
|
-
|
|
489
|
+
_chunkEJOXXJJBcjs.BlogCard,
|
|
490
490
|
{
|
|
491
491
|
post,
|
|
492
492
|
size: ctx.legacySize,
|
|
@@ -498,10 +498,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
498
498
|
)
|
|
499
499
|
}),
|
|
500
500
|
case_study: cardEntry({
|
|
501
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
501
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
502
502
|
decode: decodeCaseStudyRow,
|
|
503
503
|
render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
504
|
-
|
|
504
|
+
_chunkEJOXXJJBcjs.CaseStudyCard,
|
|
505
505
|
{
|
|
506
506
|
study,
|
|
507
507
|
size: ctx.legacySize,
|
|
@@ -513,10 +513,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
513
513
|
)
|
|
514
514
|
}),
|
|
515
515
|
customer_interview: cardEntry({
|
|
516
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
516
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
517
517
|
decode: decodeCustomerInterviewRow,
|
|
518
518
|
render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
519
|
-
|
|
519
|
+
_chunkEJOXXJJBcjs.CustomerInterviewCard,
|
|
520
520
|
{
|
|
521
521
|
interview,
|
|
522
522
|
size: ctx.legacySize,
|
|
@@ -534,13 +534,13 @@ var RELATED_CARD_REGISTRY = {
|
|
|
534
534
|
* record, and the three props the rail sets itself are read off it.
|
|
535
535
|
*/
|
|
536
536
|
product_release: cardEntry({
|
|
537
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
537
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
|
|
538
538
|
decode: asRecord,
|
|
539
539
|
render: (release, ctx) => {
|
|
540
|
-
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => (
|
|
540
|
+
const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunkEJOXXJJBcjs.buildProductReleaseCardProps));
|
|
541
541
|
const releaseProps = buildReleaseProps(release);
|
|
542
542
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
543
|
-
|
|
543
|
+
_chunkEJOXXJJBcjs.ProductReleaseCard,
|
|
544
544
|
{
|
|
545
545
|
size: ctx.size === "sm" ? "sm" : "lg",
|
|
546
546
|
title: str(release, "title"),
|
|
@@ -556,10 +556,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
556
556
|
webinar: programEntry("webinar"),
|
|
557
557
|
event: programEntry("event"),
|
|
558
558
|
investor_update: cardEntry({
|
|
559
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
559
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
|
|
560
560
|
decode: decodeInvestorUpdateRow,
|
|
561
561
|
render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
562
|
-
|
|
562
|
+
_chunkEJOXXJJBcjs.InvestorUpdateCard,
|
|
563
563
|
{
|
|
564
564
|
update,
|
|
565
565
|
size: ctx.legacySize,
|
|
@@ -574,10 +574,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
574
574
|
* step-numbered 'default' variant is for the guide detail page's "More in
|
|
575
575
|
* section" rail, not this full-width row. */
|
|
576
576
|
onboarding_guide: cardEntry({
|
|
577
|
-
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
577
|
+
skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
|
|
578
578
|
decode: decodeOnboardingGuideRow,
|
|
579
579
|
render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
|
|
580
|
+
_chunkEJOXXJJBcjs.OnboardingGuideCard,
|
|
581
581
|
{
|
|
582
582
|
guide,
|
|
583
583
|
size: ctx.size === "sm" ? "sm" : "catalog",
|
|
@@ -594,10 +594,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
594
594
|
* href: an object with `href: undefined` is still truthy and would wrap the
|
|
595
595
|
* card in a dead <a>. */
|
|
596
596
|
what_i_shipped: cardEntry({
|
|
597
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
597
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX2GYIGWcjs.WhatIShippedCardSkeleton, {}),
|
|
598
598
|
decode: decodeEmployeeEntryRow,
|
|
599
599
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
-
|
|
600
|
+
_chunkEX2GYIGWcjs.WhatIShippedCard,
|
|
601
601
|
{
|
|
602
602
|
entry,
|
|
603
603
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -607,10 +607,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
607
607
|
}),
|
|
608
608
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
609
609
|
how_i_work: cardEntry({
|
|
610
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
610
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX2GYIGWcjs.HowIWorkCardSkeleton, {}),
|
|
611
611
|
decode: decodeEmployeeEntryRow,
|
|
612
612
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
613
|
-
|
|
613
|
+
_chunkEX2GYIGWcjs.HowIWorkCard,
|
|
614
614
|
{
|
|
615
615
|
entry,
|
|
616
616
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -620,10 +620,10 @@ var RELATED_CARD_REGISTRY = {
|
|
|
620
620
|
}),
|
|
621
621
|
/** Same shared employee-entry shape + anchor contract as What I Shipped. */
|
|
622
622
|
ai_prompt: cardEntry({
|
|
623
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
623
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX2GYIGWcjs.AiPromptCardSkeleton, {}),
|
|
624
624
|
decode: decodeEmployeeEntryRow,
|
|
625
625
|
render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
626
|
-
|
|
626
|
+
_chunkEX2GYIGWcjs.AiPromptCard,
|
|
627
627
|
{
|
|
628
628
|
entry,
|
|
629
629
|
placeholderUrl: ctx.placeholderUrl,
|
|
@@ -644,7 +644,7 @@ function DefaultLinkPropsProvider({
|
|
|
644
644
|
children
|
|
645
645
|
}) {
|
|
646
646
|
if (!href) return children(null);
|
|
647
|
-
const newTab =
|
|
647
|
+
const newTab = _chunkEJOXXJJBcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
|
|
648
648
|
return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
|
|
649
649
|
}
|
|
650
650
|
function defaultResolveHref(ref) {
|
|
@@ -702,9 +702,9 @@ function useGroupItems(type, refs, buildUrl) {
|
|
|
702
702
|
const url = ids.length > 0 ? buildUrl(type, ids) : null;
|
|
703
703
|
const [pages, setPages] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
|
|
704
704
|
const cached = url !== null ? pages.get(url) : void 0;
|
|
705
|
-
const { data, dataUrl, error } =
|
|
705
|
+
const { data, dataUrl, error } = _chunkEX2GYIGWcjs.useSelfFetch.call(void 0, cached ? null : url);
|
|
706
706
|
if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
|
|
707
|
-
setPages(new Map(pages).set(dataUrl,
|
|
707
|
+
setPages(new Map(pages).set(dataUrl, _chunkEJOXXJJBcjs.extractItems.call(void 0, data)));
|
|
708
708
|
}
|
|
709
709
|
if (url === null) return { items: null, isLoading: false };
|
|
710
710
|
return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
|
|
@@ -713,7 +713,7 @@ function gridClassFor(columns) {
|
|
|
713
713
|
return columns === 3 ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6" : "grid grid-cols-1 sm:grid-cols-2 gap-6";
|
|
714
714
|
}
|
|
715
715
|
function resolveGroupConfig(type) {
|
|
716
|
-
return _nullishCoalesce(
|
|
716
|
+
return _nullishCoalesce(_chunkEX2GYIGWcjs.CONTENT_REF_GROUPS[type], () => ( {
|
|
717
717
|
label: type,
|
|
718
718
|
order: 999,
|
|
719
719
|
layout: "grid",
|
|
@@ -745,7 +745,7 @@ function ContentGroup({
|
|
|
745
745
|
const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, GROUP_PAGE_SIZE);
|
|
746
746
|
const pageRefs = refs.slice((page - 1) * GROUP_PAGE_SIZE, page * GROUP_PAGE_SIZE);
|
|
747
747
|
const { items, isLoading } = useGroupItems(type, pageRefs, buildUrl);
|
|
748
|
-
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
748
|
+
const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGW5DO6Pcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
|
|
749
749
|
if (isLoading) {
|
|
750
750
|
const skeletons = pageRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(type, cardSize, adminCampaignCard) }, r.id));
|
|
751
751
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
@@ -756,7 +756,7 @@ function ContentGroup({
|
|
|
756
756
|
}
|
|
757
757
|
if (!items) return null;
|
|
758
758
|
const rowKey = (it) => {
|
|
759
|
-
const extracted =
|
|
759
|
+
const extracted = _chunkEJOXXJJBcjs.extractItemId.call(void 0, type, it);
|
|
760
760
|
if (extracted !== null) return extracted;
|
|
761
761
|
return String(typeof it === "object" && it !== null ? it.id : void 0);
|
|
762
762
|
};
|
|
@@ -824,11 +824,11 @@ function RelatedContentSection({
|
|
|
824
824
|
types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
|
|
825
825
|
excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
|
|
826
826
|
};
|
|
827
|
-
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ?
|
|
827
|
+
const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkEX2GYIGWcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
828
828
|
apiBaseUrl,
|
|
829
829
|
extraParams: { authorId, ...typeFilterParams }
|
|
830
830
|
}) : null;
|
|
831
|
-
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ?
|
|
831
|
+
const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkEX2GYIGWcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
|
|
832
832
|
apiBaseUrl,
|
|
833
833
|
entityType,
|
|
834
834
|
entityId,
|
|
@@ -845,9 +845,9 @@ function RelatedContentSection({
|
|
|
845
845
|
() => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
|
|
846
846
|
[initialItems, suggestionsDisabled]
|
|
847
847
|
);
|
|
848
|
-
const { data, isLoading } =
|
|
848
|
+
const { data, isLoading } = _chunkEX2GYIGWcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
|
|
849
849
|
const effectiveBuildListUrl = _react.useMemo.call(void 0,
|
|
850
|
-
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) =>
|
|
850
|
+
() => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkEJOXXJJBcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
|
|
851
851
|
[buildListUrl2, apiBaseUrl]
|
|
852
852
|
);
|
|
853
853
|
const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
|
|
@@ -858,12 +858,12 @@ function RelatedContentSection({
|
|
|
858
858
|
if (isLoading) {
|
|
859
859
|
const skeletonType = _nullishCoalesce(_nullishCoalesce(_optionalChain([includeTypes, 'optionalAccess', _11 => _11[0]]), () => ( entityType)), () => ( "blog_post_existing"));
|
|
860
860
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
861
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
861
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkEJOXXJJBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
862
862
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(skeletonType, "default", adminCampaignCard) }, i)) })
|
|
863
863
|
] });
|
|
864
864
|
}
|
|
865
865
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
866
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children:
|
|
866
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkEJOXXJJBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
867
867
|
_nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
|
|
868
868
|
] });
|
|
869
869
|
}
|
|
@@ -872,16 +872,16 @@ function RelatedContentSection({
|
|
|
872
872
|
if (!grouped[ref.type]) grouped[ref.type] = [];
|
|
873
873
|
grouped[ref.type].push(ref);
|
|
874
874
|
}
|
|
875
|
-
let orderedTypes =
|
|
875
|
+
let orderedTypes = _chunkEX2GYIGWcjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
|
|
876
876
|
if (entityType) {
|
|
877
|
-
const canonicalEntityType =
|
|
878
|
-
const sameType = orderedTypes.filter((t) =>
|
|
877
|
+
const canonicalEntityType = _chunkEJOXXJJBcjs.canonicalContentRefType.call(void 0, entityType);
|
|
878
|
+
const sameType = orderedTypes.filter((t) => _chunkEJOXXJJBcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
|
|
879
879
|
if (sameType.length > 0) {
|
|
880
|
-
orderedTypes = [...sameType, ...orderedTypes.filter((t) =>
|
|
880
|
+
orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkEJOXXJJBcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
883
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
|
|
884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children:
|
|
884
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkEJOXXJJBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
885
885
|
orderedTypes.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
886
886
|
ContentGroup,
|
|
887
887
|
{
|
|
@@ -893,7 +893,7 @@ function RelatedContentSection({
|
|
|
893
893
|
LinkProvider,
|
|
894
894
|
extras,
|
|
895
895
|
adminCampaignCard,
|
|
896
|
-
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children:
|
|
896
|
+
heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkEX2GYIGWcjs.getContentRefLabelOrTitleCase.call(void 0, type) })
|
|
897
897
|
},
|
|
898
898
|
type
|
|
899
899
|
))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOJUMVOMPcjs = require('./chunk-OJUMVOMP.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkL4ZNR5V7cjs = require('./chunk-L4ZNR5V7.cjs');
|
|
@@ -11,12 +11,12 @@ var _chunkVA7OMDZOcjs = require('./chunk-VA7OMDZO.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkT27CVQBOcjs = require('./chunk-T27CVQBO.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkOV6BGMELcjs = require('./chunk-OV6BGMEL.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -34,10 +34,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkEX2GYIGWcjs = require('./chunk-EX2GYIGW.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkEJOXXJJBcjs = require('./chunk-EJOXXJJB.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunkPX7FY655cjs = require('./chunk-PX7FY655.cjs');
|
|
@@ -69,7 +69,7 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
69
69
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
70
70
|
"div",
|
|
71
71
|
{
|
|
72
|
-
id:
|
|
72
|
+
id: _chunkOV6BGMELcjs.faqItemAnchor.call(void 0, item.id),
|
|
73
73
|
className: "scroll-mt-24 transition-colors hover:bg-ods-bg-hover",
|
|
74
74
|
children: [
|
|
75
75
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -122,14 +122,14 @@ function FaqAccordion({ items, defaultOpenIds = [] }) {
|
|
|
122
122
|
|
|
123
123
|
var PICK_ROOT_MARGIN = "600px";
|
|
124
124
|
function faqAskCardShown(assistant) {
|
|
125
|
-
return
|
|
125
|
+
return _chunkT27CVQBOcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
126
126
|
}
|
|
127
127
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
128
128
|
const { ref, inView } = _chunkSA7LDEVJcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
129
129
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
130
130
|
if (inView && !reached) setReached(true);
|
|
131
131
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
132
|
-
|
|
132
|
+
_chunkT27CVQBOcjs.AssistantAskPrompts,
|
|
133
133
|
{
|
|
134
134
|
variant: "card",
|
|
135
135
|
topic,
|
|
@@ -173,7 +173,7 @@ function buildFaqJsonLdFromFaqs(faqs, opts = {}) {
|
|
|
173
173
|
|
|
174
174
|
var DEFAULT_HEADING_TEXT = "Frequently Asked Questions";
|
|
175
175
|
function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "") {
|
|
176
|
-
return
|
|
176
|
+
return _chunkEX2GYIGWcjs.buildSuggestionUrl.call(void 0, "/api/faqs", { apiBaseUrl, entityType, entityId, count: minResults });
|
|
177
177
|
}
|
|
178
178
|
function groupFaqsBySection(faqs) {
|
|
179
179
|
const byName = /* @__PURE__ */ new Map();
|
|
@@ -188,7 +188,7 @@ function groupFaqsBySection(faqs) {
|
|
|
188
188
|
}
|
|
189
189
|
let group = byName.get(name);
|
|
190
190
|
if (!group) {
|
|
191
|
-
group = { section: name, slug:
|
|
191
|
+
group = { section: name, slug: _chunkOV6BGMELcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
192
192
|
byName.set(name, group);
|
|
193
193
|
}
|
|
194
194
|
group.items.push(item);
|
|
@@ -243,7 +243,7 @@ function GroupedFaqList({
|
|
|
243
243
|
}, [slugKey]);
|
|
244
244
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
245
245
|
_react.useEffect.call(void 0, () => {
|
|
246
|
-
const refresh = () => setHashTarget(
|
|
246
|
+
const refresh = () => setHashTarget(_chunkOV6BGMELcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
247
247
|
refresh();
|
|
248
248
|
window.addEventListener("hashchange", refresh);
|
|
249
249
|
return () => window.removeEventListener("hashchange", refresh);
|
|
@@ -293,7 +293,7 @@ function GroupedFaqList({
|
|
|
293
293
|
const questions = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: groups.map((group) => {
|
|
294
294
|
const key = groupKey(group);
|
|
295
295
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { id: _nullishCoalesce(group.slug, () => ( void 0)), className: "scroll-mt-24 space-y-4", children: [
|
|
296
|
-
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className:
|
|
296
|
+
group.section && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CategoryHeading, { className: _chunkEJOXXJJBcjs.SECTION_HEADING_CLASS, children: group.section }),
|
|
297
297
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
298
298
|
FaqAccordion,
|
|
299
299
|
{
|
|
@@ -349,10 +349,10 @@ function FaqSection({
|
|
|
349
349
|
() => initialFaqs ? { faqs: initialFaqs } : void 0,
|
|
350
350
|
[initialFaqs]
|
|
351
351
|
);
|
|
352
|
-
const { data, isLoading, error } =
|
|
352
|
+
const { data, isLoading, error } = _chunkEX2GYIGWcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
353
353
|
const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(_optionalChain([data, 'optionalAccess', _15 => _15.faqs]), () => ( [])), [_optionalChain([data, 'optionalAccess', _16 => _16.faqs])]);
|
|
354
354
|
const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
|
|
355
|
-
const headingNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
355
|
+
const headingNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkEJOXXJJBcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
|
|
356
356
|
if (error) return null;
|
|
357
357
|
if (!isLoading && faqs.length === 0) return null;
|
|
358
358
|
if (isLoading && faqs.length === 0) {
|
|
@@ -417,7 +417,7 @@ function FaqDocumentPage({
|
|
|
417
417
|
ask
|
|
418
418
|
}
|
|
419
419
|
) });
|
|
420
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
420
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJUMVOMPcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
421
421
|
}
|
|
422
422
|
|
|
423
423
|
|
|
@@ -9,7 +9,7 @@ var _chunkII4QMH26cjs = require('./chunk-II4QMH26.cjs');
|
|
|
9
9
|
var _chunkKHXZFLINcjs = require('./chunk-KHXZFLIN.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkOJUMVOMPcjs = require('./chunk-OJUMVOMP.cjs');
|
|
13
13
|
require('./chunk-ZJNYWNCB.cjs');
|
|
14
14
|
require('./chunk-3HPB4H4C.cjs');
|
|
15
15
|
require('./chunk-L4ZNR5V7.cjs');
|
|
@@ -20,10 +20,10 @@ require('./chunk-AAFW4STC.cjs');
|
|
|
20
20
|
require('./chunk-24I6RFVU.cjs');
|
|
21
21
|
require('./chunk-A6P6DHEZ.cjs');
|
|
22
22
|
require('./chunk-MZ4KBSH7.cjs');
|
|
23
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-MGW5DO6P.cjs');
|
|
24
24
|
require('./chunk-YUMFVQIN.cjs');
|
|
25
|
-
require('./chunk-
|
|
26
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-T27CVQBO.cjs');
|
|
26
|
+
require('./chunk-OV6BGMEL.cjs');
|
|
27
27
|
require('./chunk-ZRYKDN2J.cjs');
|
|
28
28
|
require('./chunk-HZJRERJW.cjs');
|
|
29
29
|
require('./chunk-DUXLZPMJ.cjs');
|
|
@@ -1824,8 +1824,8 @@ require('./chunk-7DNL734S.cjs');
|
|
|
1824
1824
|
require('./chunk-WWUSFOJ7.cjs');
|
|
1825
1825
|
require('./chunk-SKI6NKOE.cjs');
|
|
1826
1826
|
require('./chunk-EWPR7662.cjs');
|
|
1827
|
-
require('./chunk-
|
|
1828
|
-
require('./chunk-
|
|
1827
|
+
require('./chunk-EX2GYIGW.cjs');
|
|
1828
|
+
require('./chunk-EJOXXJJB.cjs');
|
|
1829
1829
|
require('./chunk-FCGLSWKR.cjs');
|
|
1830
1830
|
require('./chunk-YADG5Q7C.cjs');
|
|
1831
1831
|
require('./chunk-MYBTNOS6.cjs');
|
|
@@ -1918,7 +1918,7 @@ var getHref = () => "#";
|
|
|
1918
1918
|
function CloudTenantsScreen(_props) {
|
|
1919
1919
|
const cast = _chunkII4QMH26cjs.useProductDemoCast.call(void 0, );
|
|
1920
1920
|
const fixture = _react.useMemo.call(void 0, () => buildCloudTenantsFixture(cast), [cast]);
|
|
1921
|
-
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1921
|
+
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJUMVOMPcjs.TenantsTableView, { rows: fixture.rows, getHref, now: fixture.now });
|
|
1922
1922
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg p-[var(--spacing-system-l)]", children: table });
|
|
1923
1923
|
}
|
|
1924
1924
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
var _chunkDTKGIG4Acjs = require('../../chunk-DTKGIG4A.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkP6Z3EBPJcjs = require('../../chunk-P6Z3EBPJ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkOJUMVOMPcjs = require('../../chunk-OJUMVOMP.cjs');
|
|
14
14
|
require('../../chunk-ZJNYWNCB.cjs');
|
|
15
15
|
require('../../chunk-3HPB4H4C.cjs');
|
|
16
16
|
require('../../chunk-L4ZNR5V7.cjs');
|
|
@@ -21,13 +21,13 @@ require('../../chunk-AAFW4STC.cjs');
|
|
|
21
21
|
require('../../chunk-24I6RFVU.cjs');
|
|
22
22
|
require('../../chunk-A6P6DHEZ.cjs');
|
|
23
23
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
24
|
-
require('../../chunk-
|
|
24
|
+
require('../../chunk-MGW5DO6P.cjs');
|
|
25
25
|
require('../../chunk-YUMFVQIN.cjs');
|
|
26
|
-
require('../../chunk-
|
|
26
|
+
require('../../chunk-T27CVQBO.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkOV6BGMELcjs = require('../../chunk-OV6BGMEL.cjs');
|
|
31
31
|
require('../../chunk-ZRYKDN2J.cjs');
|
|
32
32
|
require('../../chunk-HZJRERJW.cjs');
|
|
33
33
|
require('../../chunk-DUXLZPMJ.cjs');
|
|
@@ -1838,11 +1838,11 @@ require('../../chunk-7DNL734S.cjs');
|
|
|
1838
1838
|
require('../../chunk-WWUSFOJ7.cjs');
|
|
1839
1839
|
require('../../chunk-SKI6NKOE.cjs');
|
|
1840
1840
|
require('../../chunk-EWPR7662.cjs');
|
|
1841
|
-
require('../../chunk-
|
|
1841
|
+
require('../../chunk-EX2GYIGW.cjs');
|
|
1842
1842
|
|
|
1843
1843
|
|
|
1844
1844
|
|
|
1845
|
-
var
|
|
1845
|
+
var _chunkEJOXXJJBcjs = require('../../chunk-EJOXXJJB.cjs');
|
|
1846
1846
|
require('../../chunk-FCGLSWKR.cjs');
|
|
1847
1847
|
require('../../chunk-YADG5Q7C.cjs');
|
|
1848
1848
|
require('../../chunk-MYBTNOS6.cjs');
|
|
@@ -1915,7 +1915,7 @@ function ShareExperienceSection({
|
|
|
1915
1915
|
} = {}) {
|
|
1916
1916
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { className: `flex flex-col gap-10${className ? ` ${className}` : ""}`, children: [
|
|
1917
1917
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-primary", children: [
|
|
1918
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h1", children:
|
|
1918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h1", children: _chunkEJOXXJJBcjs.accentSentenceMarks.call(void 0, title) }),
|
|
1919
1919
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mt-6 max-w-[765px] text-h4", children: subtitle })
|
|
1920
1920
|
] }),
|
|
1921
1921
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-md border border-ods-border bg-ods-bg p-10", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-10", children: [
|
|
@@ -1923,9 +1923,9 @@ function ShareExperienceSection({
|
|
|
1923
1923
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h2", children: howItWorksTitle }),
|
|
1924
1924
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: howItWorksBody })
|
|
1925
1925
|
] }),
|
|
1926
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1926
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOJUMVOMPcjs.BenefitCardGrid, { columns: 4, children: [
|
|
1927
1927
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1928
|
-
|
|
1928
|
+
_chunkOJUMVOMPcjs.BenefitCard,
|
|
1929
1929
|
{
|
|
1930
1930
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJQLBIZMcjs.G2Icon, { color: "var(--social-g2)", size: 24 }) }),
|
|
1931
1931
|
title: "G2",
|
|
@@ -1934,7 +1934,7 @@ function ShareExperienceSection({
|
|
|
1934
1934
|
}
|
|
1935
1935
|
),
|
|
1936
1936
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1937
|
-
|
|
1937
|
+
_chunkOJUMVOMPcjs.BenefitCard,
|
|
1938
1938
|
{
|
|
1939
1939
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA2VKPXOBcjs.CapterraIcon, { size: 24 }) }),
|
|
1940
1940
|
title: "Capterra",
|
|
@@ -1943,7 +1943,7 @@ function ShareExperienceSection({
|
|
|
1943
1943
|
}
|
|
1944
1944
|
),
|
|
1945
1945
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1946
|
-
|
|
1946
|
+
_chunkOJUMVOMPcjs.BenefitCard,
|
|
1947
1947
|
{
|
|
1948
1948
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTLKSZG3Dcjs.TrustpilotIcon, { size: 24 }) }),
|
|
1949
1949
|
title: "TrustPilot",
|
|
@@ -1952,7 +1952,7 @@ function ShareExperienceSection({
|
|
|
1952
1952
|
}
|
|
1953
1953
|
),
|
|
1954
1954
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1955
|
-
|
|
1955
|
+
_chunkOJUMVOMPcjs.BenefitCard,
|
|
1956
1956
|
{
|
|
1957
1957
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkILYW6BQNcjs.GetappIcon, { size: 24 }) }),
|
|
1958
1958
|
title: "GetApp",
|
|
@@ -1961,7 +1961,7 @@ function ShareExperienceSection({
|
|
|
1961
1961
|
}
|
|
1962
1962
|
)
|
|
1963
1963
|
] }),
|
|
1964
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1964
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkP6Z3EBPJcjs.ContactForm, { ...DEFAULT_CONTACT_FORM_PROPS, ...contactFormProps })
|
|
1965
1965
|
] }) })
|
|
1966
1966
|
] });
|
|
1967
1967
|
}
|
|
@@ -1971,7 +1971,7 @@ function ShareExperienceSection({
|
|
|
1971
1971
|
function EntityQuotesPanel({ quotes, className }) {
|
|
1972
1972
|
if (!quotes || quotes.length === 0) return null;
|
|
1973
1973
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1974
|
-
|
|
1974
|
+
_chunkOJUMVOMPcjs.StackedRowsPanel,
|
|
1975
1975
|
{
|
|
1976
1976
|
className,
|
|
1977
1977
|
title: `${_chunkDTKGIG4Acjs.ENTITY_QUOTES_TITLE} \xB7 ${quotes.length}`,
|
|
@@ -2000,7 +2000,7 @@ function EntityQuotesPanel({ quotes, className }) {
|
|
|
2000
2000
|
function QuoteCardsStrip({ quotes, className }) {
|
|
2001
2001
|
if (quotes.length === 0) return null;
|
|
2002
2002
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2003
|
-
|
|
2003
|
+
_chunkOV6BGMELcjs.CardsStrip,
|
|
2004
2004
|
{
|
|
2005
2005
|
className,
|
|
2006
2006
|
showTitle: false,
|
|
@@ -2008,15 +2008,15 @@ function QuoteCardsStrip({ quotes, className }) {
|
|
|
2008
2008
|
items: [...quotes],
|
|
2009
2009
|
itemKey: (quote) => quote.key,
|
|
2010
2010
|
renderCard: (quote, ctx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2011
|
-
|
|
2011
|
+
_chunkEJOXXJJBcjs.Card,
|
|
2012
2012
|
{
|
|
2013
2013
|
"aria-hidden": ctx.isClone || void 0,
|
|
2014
2014
|
onPointerEnter: ctx.isTouch ? void 0 : () => ctx.onActivate(ctx.cardKey),
|
|
2015
2015
|
onPointerLeave: ctx.isTouch ? void 0 : () => ctx.onDeactivate(ctx.cardKey),
|
|
2016
2016
|
className: "relative shrink-0 rounded-md border-ods-border bg-ods-card p-[var(--spacing-system-sf)] shadow-none hover:border-ods-border-hover",
|
|
2017
2017
|
children: [
|
|
2018
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2019
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2018
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOJUMVOMPcjs.PersonCell, { size: "lg", name: `"${quote.text}"`, secondary: quote.attribution, avatarUrl: quote.logoUrl }),
|
|
2019
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOV6BGMELcjs.CardHitLayer, { href: quote.href, label: `${quote.text}, ${quote.attribution}`, decorative: ctx.isClone })
|
|
2020
2020
|
]
|
|
2021
2021
|
},
|
|
2022
2022
|
ctx.cardKey
|