@flamingo-stack/openframe-frontend-core 0.0.802 → 0.0.804
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/export-map.json +1 -1
- package/dist/{case-study-card-K6HYMHL6.cjs → case-study-card-MEWJNF4N.cjs} +5 -5
- package/dist/{chunk-DSIIRR3G.cjs → chunk-2NVIGBJC.cjs} +80 -80
- package/dist/{chunk-HRMLGU6A.cjs → chunk-3EPG56RK.cjs} +8 -8
- package/dist/{chunk-UYGXJ5SQ.cjs → chunk-3WNCFZGN.cjs} +2 -2
- package/dist/{chunk-2JCY5KQL.cjs → chunk-4W77VLQV.cjs} +4 -4
- package/dist/{chunk-M7E7ILE5.cjs → chunk-55TGW6BF.cjs} +6 -6
- package/dist/{chunk-E56LN23H.cjs → chunk-66ZQ7LDR.cjs} +73 -48
- package/dist/{chunk-VMQAJIQC.cjs → chunk-6JRQ57DU.cjs} +884 -895
- package/dist/{chunk-A7NRENMU.cjs → chunk-6UGNFMZB.cjs} +36 -36
- package/dist/{chunk-Y5XHMEBB.cjs → chunk-76NE67PK.cjs} +5 -5
- package/dist/{chunk-NCQJIYDN.cjs → chunk-AC5EBHAX.cjs} +28 -28
- package/dist/{chunk-OG4XH6C5.cjs → chunk-AZJYMTBS.cjs} +33 -33
- package/dist/{chunk-D3IQHAGL.cjs → chunk-BVSZTKI3.cjs} +34 -21
- package/dist/{chunk-7E4BC3AF.cjs → chunk-F2VN3UUB.cjs} +485 -513
- package/dist/{chunk-DTBIIFZG.cjs → chunk-FLW2VL5W.cjs} +21 -21
- package/dist/{chunk-FS4TVAE7.cjs → chunk-FQ4LYYBI.cjs} +52 -52
- package/dist/{chunk-VVLL37EM.cjs → chunk-GAHXURKJ.cjs} +6 -6
- package/dist/{chunk-7MV23NNT.cjs → chunk-JLKGLPDC.cjs} +109 -21
- package/dist/{chunk-3NGJ7NPT.cjs → chunk-KVJKKVB3.cjs} +7 -7
- package/dist/{chunk-52NI57KM.cjs → chunk-LZIQXGAW.cjs} +91 -88
- package/dist/{chunk-DYDS2P5G.cjs → chunk-MEDSJCEX.cjs} +4 -4
- package/dist/{chunk-FFRFKWTZ.cjs → chunk-MHH7CHNI.cjs} +17 -14
- package/dist/{chunk-CRVXQYUZ.cjs → chunk-NBLQFJ4I.cjs} +100 -99
- package/dist/{chunk-YD344MMX.cjs → chunk-NXJ3O4WO.cjs} +15 -15
- package/dist/{chunk-YBTORXFY.cjs → chunk-PRCGRDHV.cjs} +40 -25
- package/dist/{chunk-75BFVMNA.cjs → chunk-QPBP7FKI.cjs} +52 -52
- package/dist/{chunk-ZPVFFPQM.cjs → chunk-RIRIA3FO.cjs} +4 -4
- package/dist/{chunk-XR323UBY.cjs → chunk-STLJCAIZ.cjs} +6 -3
- package/dist/{chunk-6UKH22NQ.cjs → chunk-TGOJHOQR.cjs} +2 -1
- package/dist/{chunk-FAUVDMH4.cjs → chunk-THY2XVGY.cjs} +198 -164
- package/dist/{chunk-6GCXQIUU.cjs → chunk-TT64NRFU.cjs} +4 -4
- package/dist/{chunk-3W2PBWD5.cjs → chunk-TTERV57X.cjs} +4 -4
- package/dist/{chunk-A7IT7MZO.cjs → chunk-UCBR27JM.cjs} +13 -13
- package/dist/{chunk-KVGWOJCX.cjs → chunk-V3T5MDJV.cjs} +2 -2
- package/dist/{chunk-5RGGUQ4Y.cjs → chunk-VXXOUM2K.cjs} +67 -1
- package/dist/{chunk-EJVJDLYC.cjs → chunk-WSKMV2QS.cjs} +3 -3
- package/dist/{chunk-2BUSXRZ7.cjs → chunk-XXARXK62.cjs} +26 -26
- package/dist/{chunk-HATRCNXJ.cjs → chunk-XYZBN6D7.cjs} +2 -2
- package/dist/{chunk-YMPCACQX.cjs → chunk-Z6Y5X5SF.cjs} +41 -41
- package/dist/{cloud-tenants-3SWYRUXB.cjs → cloud-tenants-LRXMISV4.cjs} +19 -19
- package/dist/components/agent-mark.d.ts.map +1 -1
- package/dist/components/agent-mark.js +2 -2
- package/dist/components/case-studies/index.cjs +35 -35
- package/dist/components/chat/approval-batch-message.d.ts +3 -1
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/approval-batch-message.js +88 -0
- package/dist/components/chat/chat-composer.d.ts +3 -1
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-composer.js +2 -0
- package/dist/components/chat/chat-context-memory-bar.d.ts +7 -1
- package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
- package/dist/components/chat/chat-context-memory-bar.js +11 -5
- package/dist/components/chat/chat-message-row.d.ts.map +1 -1
- package/dist/components/chat/chat-message-row.js +3 -2
- package/dist/components/chat/embeddable-chat.d.ts +3 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +1 -0
- package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/admin-content-card.js +2 -1
- package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/blog-card.js +6 -6
- package/dist/components/chat/entity-cards/blog-image-placeholder.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/blog-image-placeholder.js +2 -1
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/case-study-card.js +10 -9
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/customer-interview-card.js +8 -7
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.js +12 -1
- package/dist/components/chat/entity-cards/employee-entry-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/employee-entry-card.js +3 -2
- package/dist/components/chat/entity-cards/entity-portrait-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/entity-portrait-card.js +7 -5
- package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.js +2 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.js +13 -2
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.js +17 -5
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.js +5 -4
- package/dist/components/chat/index.cjs +15 -15
- package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
- package/dist/components/chat/mingo-info-card.js +3 -2
- package/dist/components/contact/index.cjs +20 -20
- package/dist/components/docs/index.cjs +23 -23
- package/dist/components/embeds/index.cjs +20 -20
- package/dist/components/embeds/markdown-image.d.ts.map +1 -1
- package/dist/components/embeds/markdown-image.js +2 -1
- package/dist/components/embeds/og-link-preview.d.ts.map +1 -1
- package/dist/components/embeds/og-link-preview.js +17 -6
- package/dist/components/embeds/twitter-embed-client.d.ts.map +1 -1
- package/dist/components/embeds/twitter-embed-client.js +3 -2
- package/dist/components/faq/index.cjs +21 -21
- package/dist/components/features/board/ticket-card.js +5 -5
- package/dist/components/features/index.cjs +19 -19
- package/dist/components/features/media-gallery-manager.d.ts.map +1 -1
- package/dist/components/features/media-gallery-manager.js +2 -1
- package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-tile.js +3 -2
- package/dist/components/features/parallax-image-showcase.d.ts.map +1 -1
- package/dist/components/features/parallax-image-showcase.js +9 -35
- package/dist/components/features/select-button.d.ts.map +1 -1
- package/dist/components/features/select-button.js +3 -2
- package/dist/components/features/video-hover-preview.d.ts +1 -1
- package/dist/components/features/video-hover-preview.d.ts.map +1 -1
- package/dist/components/features/video-hover-preview.js +2 -1
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/features/video.js +13 -1
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +3 -3
- package/dist/components/help-center-pages/index.cjs +121 -121
- package/dist/components/hero-image-uploader.d.ts.map +1 -1
- package/dist/components/hero-image-uploader.js +12 -1
- package/dist/components/icon-display.d.ts.map +1 -1
- package/dist/components/icon-display.js +2 -1
- package/dist/components/index.cjs +137 -91
- package/dist/components/layout/page-layout.d.ts +1 -1
- package/dist/components/layout/page-layout.d.ts.map +1 -1
- package/dist/components/layout/title-block.d.ts +4 -2
- package/dist/components/layout/title-block.d.ts.map +1 -1
- package/dist/components/layout/title-block.js +21 -2
- package/dist/components/media-carousel.d.ts.map +1 -1
- package/dist/components/media-carousel.js +2 -1
- package/dist/components/meeting-scheduler/index.cjs +85 -85
- package/dist/components/navigation/index.cjs +22 -22
- package/dist/components/onboarding-guides/index.cjs +22 -22
- package/dist/components/platform/ScriptInfoSection.d.ts.map +1 -1
- package/dist/components/platform/ScriptInfoSection.js +12 -1
- package/dist/components/product-demo/index.cjs +30 -30
- package/dist/components/related-content/index.cjs +11 -11
- package/dist/components/shared/media-gallery-strip.d.ts.map +1 -1
- package/dist/components/shared/media-gallery-strip.js +3 -2
- package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card.js +13 -2
- package/dist/components/tickets/index.cjs +26 -26
- package/dist/components/ui/avatar-stack.d.ts.map +1 -1
- package/dist/components/ui/avatar-stack.js +4 -4
- package/dist/components/ui/data-table/data-table-body.d.ts +6 -1
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.js +3 -1
- package/dist/components/ui/device-card.d.ts +6 -1
- package/dist/components/ui/device-card.d.ts.map +1 -1
- package/dist/components/ui/device-card.js +2 -1
- package/dist/components/ui/entity-image.d.ts.map +1 -1
- package/dist/components/ui/entity-image.js +3 -2
- package/dist/components/ui/image-gallery-modal.d.ts.map +1 -1
- package/dist/components/ui/image-gallery-modal.js +2 -1
- package/dist/components/ui/image-uploader.d.ts.map +1 -1
- package/dist/components/ui/image-uploader.js +2 -1
- package/dist/components/ui/index.cjs +37 -19
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +1 -0
- package/dist/components/ui/markdown/base-components.d.ts.map +1 -1
- package/dist/components/ui/markdown/base-components.js +2 -1
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +15 -12
- package/dist/components/ui/photo-wall.d.ts +7 -3
- package/dist/components/ui/photo-wall.d.ts.map +1 -1
- package/dist/components/ui/photo-wall.js +3 -4
- package/dist/components/ui/square-avatar.d.ts +4 -1
- package/dist/components/ui/square-avatar.d.ts.map +1 -1
- package/dist/components/ui/square-avatar.js +2 -1
- package/dist/components/user-summary-stub.d.ts +1 -1
- package/dist/components/user-summary-stub.d.ts.map +1 -1
- package/dist/components/user-summary-stub.js +16 -6
- package/dist/components/vendor-display-button.d.ts.map +1 -1
- package/dist/components/vendor-display-button.js +13 -3
- package/dist/components/vendor-icon.d.ts +7 -4
- package/dist/components/vendor-icon.d.ts.map +1 -1
- package/dist/components/vendor-icon.js +22 -71
- package/dist/{devices-MQILRW53.cjs → devices-CETR72XY.cjs} +20 -20
- package/dist/{embeddable-chat-XZDZOHFY.cjs → embeddable-chat-GHBCX2BY.cjs} +85 -84
- package/dist/hooks/index.cjs +6 -6
- package/dist/hooks/ui/use-image-edge-color.d.ts.map +1 -1
- package/dist/hooks/ui/use-image-edge-color.js +4 -3
- package/dist/image-sizes.cjs +68 -0
- package/dist/index.cjs +43 -25
- package/dist/{knowledge-WQ3ABXZC.cjs → knowledge-A2MWEF23.cjs} +20 -20
- package/dist/{logs-XRSJGB3I.cjs → logs-47JODA6C.cjs} +27 -27
- package/dist/{policies-Q67ZXAGY.cjs → policies-OPIDR6XF.cjs} +23 -23
- package/dist/{remote-session-4LYKEZSY.cjs → remote-session-IQTPEG63.cjs} +8 -8
- package/dist/{scripts-YX324R4S.cjs → scripts-4MQGJWFP.cjs} +26 -26
- package/dist/{software-update-PHMXJVAC.cjs → software-update-MQIGPBZ6.cjs} +23 -23
- package/dist/styles/image-sizes.d.ts +110 -0
- package/dist/styles/image-sizes.d.ts.map +1 -0
- package/dist/styles/image-sizes.js +66 -0
- package/dist/{tickets-board-3FBVYSXR.cjs → tickets-board-QF5JNSH2.cjs} +11 -11
- package/eslint-config/base.js +12 -0
- package/eslint-config/image-sizes.js +51 -0
- package/package.json +8 -1
- package/src/components/agent-mark.tsx +3 -4
- package/src/components/chat/approval-batch-message.tsx +109 -1
- package/src/components/chat/chat-composer.tsx +4 -0
- package/src/components/chat/chat-context-memory-bar.tsx +28 -5
- package/src/components/chat/chat-message-row.tsx +3 -2
- package/src/components/chat/embeddable-chat.tsx +4 -0
- package/src/components/chat/entity-cards/admin-content-card.tsx +2 -1
- package/src/components/chat/entity-cards/blog-card.tsx +6 -6
- package/src/components/chat/entity-cards/blog-image-placeholder.tsx +2 -1
- package/src/components/chat/entity-cards/case-study-card.tsx +10 -9
- package/src/components/chat/entity-cards/customer-interview-card.tsx +8 -7
- package/src/components/chat/entity-cards/dispatch.tsx +9 -1
- package/src/components/chat/entity-cards/employee-entry-card.tsx +3 -2
- package/src/components/chat/entity-cards/entity-portrait-card.tsx +7 -5
- package/src/components/chat/entity-cards/investor-update-card.tsx +2 -1
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +10 -2
- package/src/components/chat/entity-cards/program-card.tsx +14 -5
- package/src/components/chat/entity-cards/roadmap-card.tsx +5 -4
- package/src/components/chat/mingo-info-card.tsx +3 -2
- package/src/components/embeds/markdown-image.tsx +2 -1
- package/src/components/embeds/og-link-preview.tsx +14 -6
- package/src/components/embeds/twitter-embed-client.tsx +3 -2
- package/src/components/features/board/ticket-card.tsx +7 -6
- package/src/components/features/media-gallery-manager.tsx +2 -2
- package/src/components/features/notifications/notification-tile.tsx +3 -2
- package/src/components/features/parallax-image-showcase.tsx +9 -26
- package/src/components/features/select-button.tsx +3 -2
- package/src/components/features/video-hover-preview.tsx +3 -2
- package/src/components/features/video.tsx +10 -1
- package/src/components/features/walkthrough-video.tsx +7 -10
- package/src/components/hero-image-uploader.tsx +9 -1
- package/src/components/icon-display.tsx +2 -1
- package/src/components/layout/page-layout.tsx +1 -1
- package/src/components/layout/title-block.tsx +22 -3
- package/src/components/media-carousel.tsx +2 -1
- package/src/components/platform/ScriptInfoSection.tsx +9 -1
- package/src/components/shared/media-gallery-strip.tsx +4 -2
- package/src/components/shared/product-release/product-release-card.tsx +10 -2
- package/src/components/ui/avatar-stack.tsx +6 -6
- package/src/components/ui/data-table/data-table-body.tsx +9 -0
- package/src/components/ui/device-card.tsx +7 -1
- package/src/components/ui/entity-image.tsx +3 -2
- package/src/components/ui/image-gallery-modal.tsx +2 -1
- package/src/components/ui/image-uploader.tsx +2 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/markdown/base-components.tsx +2 -1
- package/src/components/ui/page-actions.tsx +28 -14
- package/src/components/ui/photo-wall.tsx +10 -14
- package/src/components/ui/square-avatar.tsx +6 -3
- package/src/components/user-summary-stub.tsx +14 -7
- package/src/components/vendor-display-button.tsx +10 -3
- package/src/components/vendor-icon.tsx +31 -97
- package/src/hooks/ui/use-image-edge-color.ts +8 -4
- package/src/styles/image-sizes.ts +114 -0
|
@@ -1,16 +1,16 @@
|
|
|
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 _chunkAZJYMTBScjs = require('./chunk-AZJYMTBS.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNBLQFJ4Icjs = require('./chunk-NBLQFJ4I.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkF2VN3UUBcjs = require('./chunk-F2VN3UUB.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -25,10 +25,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkMHH7CHNIcjs = require('./chunk-MHH7CHNI.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkTHY2XVGYcjs = require('./chunk-THY2XVGY.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
|
|
@@ -74,7 +74,7 @@ function FaqAccordion({ items, defaultOpenIds = [], loading: loadingProp, skelet
|
|
|
74
74
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
75
75
|
"div",
|
|
76
76
|
{
|
|
77
|
-
id:
|
|
77
|
+
id: _chunkF2VN3UUBcjs.faqItemAnchor.call(void 0, item.id),
|
|
78
78
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, ROW_FRAME_CLASS, "hover:bg-ods-bg-hover"),
|
|
79
79
|
"data-loading-item": true,
|
|
80
80
|
children: [
|
|
@@ -140,14 +140,14 @@ function FaqAccordionSkeleton({
|
|
|
140
140
|
|
|
141
141
|
var PICK_ROOT_MARGIN = "600px";
|
|
142
142
|
function faqAskCardShown(assistant) {
|
|
143
|
-
return
|
|
143
|
+
return _chunkNBLQFJ4Icjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
|
|
144
144
|
}
|
|
145
145
|
function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
|
|
146
146
|
const { ref, inView } = _chunkOJZBZH56cjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
|
|
147
147
|
const [reached, setReached] = _react.useState.call(void 0, false);
|
|
148
148
|
if (inView && !reached) setReached(true);
|
|
149
149
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
150
|
-
|
|
150
|
+
_chunkNBLQFJ4Icjs.AssistantAskPrompts,
|
|
151
151
|
{
|
|
152
152
|
variant: "card",
|
|
153
153
|
topic,
|
|
@@ -207,7 +207,7 @@ var CATEGORY_NAV_SKELETON_LINE_CLASS = "flex min-w-0 flex-nowrap gap-2 overflow-
|
|
|
207
207
|
var FAQ_NAV_SKELETON_PILLS = 8;
|
|
208
208
|
var CATEGORY_PILL_CLASS = "rounded-full border px-4 py-2 transition-colors text-h6";
|
|
209
209
|
var CATEGORY_SECTION_CLASS = "scroll-mt-24";
|
|
210
|
-
var CATEGORY_HEADING_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
210
|
+
var CATEGORY_HEADING_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunkTHY2XVGYcjs.SECTION_HEADING_CLASS, "pb-4");
|
|
211
211
|
var FAQ_SECTION_SKELETON_QUESTIONS = FAQ_ACCORDION_SKELETON_ROWS;
|
|
212
212
|
function FaqLayout({
|
|
213
213
|
heading,
|
|
@@ -233,7 +233,7 @@ function FaqLayout({
|
|
|
233
233
|
] });
|
|
234
234
|
}
|
|
235
235
|
function faqHeadingNode(heading, showTopic, topic) {
|
|
236
|
-
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
236
|
+
const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkTHY2XVGYcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
|
|
237
237
|
if (!(showTopic && topic)) return titleNode;
|
|
238
238
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TOPIC_STACK_CLASS, children: [
|
|
239
239
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: titleNode }),
|
|
@@ -247,7 +247,7 @@ function pageFaqProps(faq) {
|
|
|
247
247
|
}
|
|
248
248
|
function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
|
|
249
249
|
const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
|
|
250
|
-
return
|
|
250
|
+
return _chunkMHH7CHNIcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
|
|
251
251
|
apiBaseUrl,
|
|
252
252
|
entityType,
|
|
253
253
|
entityId,
|
|
@@ -268,7 +268,7 @@ function groupFaqsBySection(faqs) {
|
|
|
268
268
|
}
|
|
269
269
|
let group = byName.get(name);
|
|
270
270
|
if (!group) {
|
|
271
|
-
group = { section: name, slug:
|
|
271
|
+
group = { section: name, slug: _chunkF2VN3UUBcjs.faqSectionSlug.call(void 0, name), items: [] };
|
|
272
272
|
byName.set(name, group);
|
|
273
273
|
}
|
|
274
274
|
group.items.push(item);
|
|
@@ -324,7 +324,7 @@ function GroupedFaqList({
|
|
|
324
324
|
}, [slugKey]);
|
|
325
325
|
const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
|
|
326
326
|
_react.useEffect.call(void 0, () => {
|
|
327
|
-
const refresh = () => setHashTarget(
|
|
327
|
+
const refresh = () => setHashTarget(_chunkF2VN3UUBcjs.parseFaqHash.call(void 0, window.location.hash));
|
|
328
328
|
refresh();
|
|
329
329
|
window.addEventListener("hashchange", refresh);
|
|
330
330
|
return () => window.removeEventListener("hashchange", refresh);
|
|
@@ -341,7 +341,7 @@ function GroupedFaqList({
|
|
|
341
341
|
}, [groups, hashTarget]);
|
|
342
342
|
const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess', _7 => _7.kind]) === "item" ? `item:${hashTarget.rawId}` : "default";
|
|
343
343
|
const scrollDep = `${groups.length}|` + (_optionalChain([hashTarget, 'optionalAccess', _8 => _8.kind]) === "item" ? `item:${hashTarget.rawId}` : _optionalChain([hashTarget, 'optionalAccess', _9 => _9.kind]) === "section" ? `section:${hashTarget.slug}` : "none");
|
|
344
|
-
|
|
344
|
+
_chunkAZJYMTBScjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
|
|
345
345
|
const [pillSyncedHash, setPillSyncedHash] = _react.useState.call(void 0, hashTarget);
|
|
346
346
|
if (pillSyncedHash !== hashTarget) {
|
|
347
347
|
setPillSyncedHash(hashTarget);
|
|
@@ -425,7 +425,7 @@ function FaqSection({
|
|
|
425
425
|
() => initialFaqs ? { faqs: initialFaqs } : void 0,
|
|
426
426
|
[initialFaqs]
|
|
427
427
|
);
|
|
428
|
-
const { data, dataUrl, isLoading, error } =
|
|
428
|
+
const { data, dataUrl, isLoading, error } = _chunkMHH7CHNIcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
|
|
429
429
|
const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _14 => _14.faqs]) : void 0;
|
|
430
430
|
const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
|
|
431
431
|
const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk4W77VLQVcjs = require('./chunk-4W77VLQV.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -16,14 +16,17 @@ var _chunkP4B6PVSGcjs = require('./chunk-P4B6PVSG.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkSTLJCAIZcjs = require('./chunk-STLJCAIZ.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
var _chunkNTPX5GXIcjs = require('./chunk-NTPX5GXI.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
var _chunkVXXOUM2Kcjs = require('./chunk-VXXOUM2K.cjs');
|
|
27
30
|
|
|
28
31
|
|
|
29
32
|
|
|
@@ -38,6 +41,7 @@ var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
|
38
41
|
|
|
39
42
|
|
|
40
43
|
|
|
44
|
+
|
|
41
45
|
var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
|
|
42
46
|
|
|
43
47
|
|
|
@@ -143,7 +147,18 @@ var PosterBox = _react.forwardRef.call(void 0, function PosterBoxView({ poster,
|
|
|
143
147
|
"aria-hidden": "true",
|
|
144
148
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative overflow-hidden", className),
|
|
145
149
|
style: fill ? { width: "100%", height: "100%" } : void 0,
|
|
146
|
-
children: poster ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
150
|
+
children: poster ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
151
|
+
_chunkKUXHXLJQcjs.next_image_default,
|
|
152
|
+
{
|
|
153
|
+
src: poster,
|
|
154
|
+
alt: "",
|
|
155
|
+
fill: true,
|
|
156
|
+
sizes: _chunkVXXOUM2Kcjs.IMAGE_SLOT.full,
|
|
157
|
+
priority,
|
|
158
|
+
unoptimized: true,
|
|
159
|
+
className: "object-cover"
|
|
160
|
+
}
|
|
161
|
+
) : null
|
|
147
162
|
}
|
|
148
163
|
);
|
|
149
164
|
});
|
|
@@ -510,7 +525,7 @@ function VideoHoverPreviewSurface({
|
|
|
510
525
|
isClone = false,
|
|
511
526
|
badge = "play",
|
|
512
527
|
fit,
|
|
513
|
-
posterSizes = "
|
|
528
|
+
posterSizes = _chunkVXXOUM2Kcjs.fixedImageSlot.call(void 0, "cover"),
|
|
514
529
|
posterInView = false,
|
|
515
530
|
preload,
|
|
516
531
|
hideMutedBadge,
|
|
@@ -594,10 +609,10 @@ function VideoHoverPreviewSurface({
|
|
|
594
609
|
|
|
595
610
|
function EntityIcon({
|
|
596
611
|
icon,
|
|
597
|
-
size =
|
|
612
|
+
size = _chunkVXXOUM2Kcjs.IMAGE_FIXED_PX.glyph,
|
|
598
613
|
className
|
|
599
614
|
}) {
|
|
600
|
-
const identity =
|
|
615
|
+
const identity = _chunk4W77VLQVcjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _19 => _19.url]) ? null : _optionalChain([icon, 'optionalAccess', _20 => _20.name]));
|
|
601
616
|
const held = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
602
617
|
if (held) {
|
|
603
618
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -618,7 +633,7 @@ function EntityIcon({
|
|
|
618
633
|
alt: "",
|
|
619
634
|
width: size,
|
|
620
635
|
height: size,
|
|
621
|
-
className: _chunk7JWFMAQBcjs.cn.call(void 0,
|
|
636
|
+
className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunk4W77VLQVcjs.AGENT_PICTURE_CLASS, className),
|
|
622
637
|
unoptimized: true
|
|
623
638
|
}
|
|
624
639
|
);
|
|
@@ -637,8 +652,8 @@ function EntityIcon({
|
|
|
637
652
|
}
|
|
638
653
|
);
|
|
639
654
|
}
|
|
640
|
-
const Glyph =
|
|
641
|
-
const agentColor = identity ? { color:
|
|
655
|
+
const Glyph = _chunkVXXOUM2Kcjs.resolveIcon.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([identity, 'optionalAccess', _24 => _24.name]), () => ( _optionalChain([icon, 'optionalAccess', _25 => _25.name]))), () => ( void 0)));
|
|
656
|
+
const agentColor = identity ? { color: _chunk4W77VLQVcjs.AGENT_GLYPH_COLOR } : {};
|
|
642
657
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Glyph, { size, className, ...agentColor, ..._nullishCoalesce(_optionalChain([identity, 'optionalAccess', _26 => _26.props]), () => ( {})), ..._nullishCoalesce(_optionalChain([icon, 'optionalAccess', _27 => _27.props]), () => ( {})) });
|
|
643
658
|
}
|
|
644
659
|
|
|
@@ -948,7 +963,7 @@ function EntityPortraitCard({
|
|
|
948
963
|
setMeasured({ src, isWide: img.naturalWidth / img.naturalHeight >= MIN_WIDE_RATIO });
|
|
949
964
|
}
|
|
950
965
|
};
|
|
951
|
-
const edgeColor =
|
|
966
|
+
const edgeColor = _chunkSTLJCAIZcjs.useImageEdgeColor.call(void 0, isWide === false ? src : null, "var(--color-bg-surface)");
|
|
952
967
|
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EntityPortraitCardSkeleton, { typeLabel, className });
|
|
953
968
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunk7JWFMAQBcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { className: _chunk7JWFMAQBcjs.cn.call(void 0, CONTENT_CARD_FRAME_CLASS, PORTRAIT_BODY), children: [
|
|
954
969
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -962,7 +977,7 @@ function EntityPortraitCard({
|
|
|
962
977
|
src,
|
|
963
978
|
alt: imageAlt,
|
|
964
979
|
className: _chunk7JWFMAQBcjs.cn.call(void 0, "h-full w-full", isWide === false ? "object-contain" : "object-cover"),
|
|
965
|
-
sizes:
|
|
980
|
+
sizes: _chunkVXXOUM2Kcjs.IMAGE_SLOT.panel,
|
|
966
981
|
fill: true,
|
|
967
982
|
priority,
|
|
968
983
|
unoptimized: true,
|
|
@@ -994,8 +1009,8 @@ function EntityPortraitCard({
|
|
|
994
1009
|
src: person.avatarUrl,
|
|
995
1010
|
alt: person.name,
|
|
996
1011
|
className: "h-12 w-12 rounded-full border border-ods-border bg-ods-bg object-cover",
|
|
997
|
-
width:
|
|
998
|
-
height:
|
|
1012
|
+
width: _chunk4WIJI4AKcjs.AVATAR_SIZE_PX.lg,
|
|
1013
|
+
height: _chunk4WIJI4AKcjs.AVATAR_SIZE_PX.lg,
|
|
999
1014
|
unoptimized: true
|
|
1000
1015
|
}
|
|
1001
1016
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: person.name.charAt(0).toUpperCase() }) }),
|
|
@@ -1010,8 +1025,8 @@ function EntityPortraitCard({
|
|
|
1010
1025
|
src: person.iconOverlayUrl,
|
|
1011
1026
|
alt: "",
|
|
1012
1027
|
className: "h-full w-full object-cover",
|
|
1013
|
-
width:
|
|
1014
|
-
height:
|
|
1028
|
+
width: _chunk4WIJI4AKcjs.AVATAR_SIZE_PX.xs,
|
|
1029
|
+
height: _chunk4WIJI4AKcjs.AVATAR_SIZE_PX.xs,
|
|
1015
1030
|
unoptimized: true
|
|
1016
1031
|
}
|
|
1017
1032
|
)
|
|
@@ -1123,7 +1138,7 @@ function useEntityCardPlaceholder({
|
|
|
1123
1138
|
siteName = "",
|
|
1124
1139
|
aspect = "wide"
|
|
1125
1140
|
}) {
|
|
1126
|
-
const derived =
|
|
1141
|
+
const derived = _chunkSTLJCAIZcjs.useOgPlaceholderUrl.call(void 0, { title, siteName, aspect });
|
|
1127
1142
|
return placeholderUrl !== void 0 ? placeholderUrl : derived;
|
|
1128
1143
|
}
|
|
1129
1144
|
|
|
@@ -1158,8 +1173,8 @@ function CaseStudyPersonRow({ study }) {
|
|
|
1158
1173
|
src: study.user.avatar_url,
|
|
1159
1174
|
alt: _optionalChain([study, 'access', _37 => _37.user, 'optionalAccess', _38 => _38.full_name]) || "User",
|
|
1160
1175
|
className: "h-12 w-12 rounded-full border border-ods-border bg-ods-bg object-cover",
|
|
1161
|
-
width:
|
|
1162
|
-
height:
|
|
1176
|
+
width: _chunk4WIJI4AKcjs.AVATAR_SIZE_PX.lg,
|
|
1177
|
+
height: _chunk4WIJI4AKcjs.AVATAR_SIZE_PX.lg,
|
|
1163
1178
|
unoptimized: true
|
|
1164
1179
|
}
|
|
1165
1180
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: (_optionalChain([study, 'access', _39 => _39.user, 'optionalAccess', _40 => _40.full_name]) || "A").charAt(0).toUpperCase() }) }),
|
|
@@ -1169,8 +1184,8 @@ function CaseStudyPersonRow({ study }) {
|
|
|
1169
1184
|
src: study.msp.icon_url,
|
|
1170
1185
|
alt: study.msp.name || "MSP",
|
|
1171
1186
|
className: "h-full w-full object-cover",
|
|
1172
|
-
width:
|
|
1173
|
-
height:
|
|
1187
|
+
width: _chunk4WIJI4AKcjs.AVATAR_SIZE_PX.xs,
|
|
1188
|
+
height: _chunk4WIJI4AKcjs.AVATAR_SIZE_PX.xs,
|
|
1174
1189
|
unoptimized: true
|
|
1175
1190
|
}
|
|
1176
1191
|
) })
|
|
@@ -1298,7 +1313,7 @@ function LoadedCaseStudyCard({
|
|
|
1298
1313
|
alt: `${_optionalChain([study, 'access', _49 => _49.msp, 'optionalAccess', _50 => _50.name]) || study.title} cover`,
|
|
1299
1314
|
className: "object-contain",
|
|
1300
1315
|
fill: true,
|
|
1301
|
-
sizes: "
|
|
1316
|
+
sizes: _chunkVXXOUM2Kcjs.fixedImageSlot.call(void 0, "tile"),
|
|
1302
1317
|
unoptimized: true,
|
|
1303
1318
|
onError: hideOnError
|
|
1304
1319
|
}
|
|
@@ -1340,7 +1355,7 @@ function LoadedCaseStudyCard({
|
|
|
1340
1355
|
active: hovered,
|
|
1341
1356
|
playerMounted: mediaMounted,
|
|
1342
1357
|
fit: "cover",
|
|
1343
|
-
posterSizes:
|
|
1358
|
+
posterSizes: _chunkVXXOUM2Kcjs.IMAGE_SLOT.panel
|
|
1344
1359
|
}
|
|
1345
1360
|
)
|
|
1346
1361
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -1351,7 +1366,7 @@ function LoadedCaseStudyCard({
|
|
|
1351
1366
|
alt: "",
|
|
1352
1367
|
className: "object-cover",
|
|
1353
1368
|
fill: true,
|
|
1354
|
-
sizes:
|
|
1369
|
+
sizes: _chunkVXXOUM2Kcjs.IMAGE_SLOT.panel,
|
|
1355
1370
|
unoptimized: true,
|
|
1356
1371
|
onError: hideOnError
|
|
1357
1372
|
}
|
|
@@ -1420,7 +1435,7 @@ function LoadedCaseStudyCard({
|
|
|
1420
1435
|
src: coverImage,
|
|
1421
1436
|
alt: _optionalChain([study, 'access', _71 => _71.msp, 'optionalAccess', _72 => _72.name]) || study.title,
|
|
1422
1437
|
className: "h-full w-full object-cover",
|
|
1423
|
-
sizes:
|
|
1438
|
+
sizes: _chunkVXXOUM2Kcjs.IMAGE_SLOT.card,
|
|
1424
1439
|
fill: true,
|
|
1425
1440
|
unoptimized: true,
|
|
1426
1441
|
onError: hideOnError
|