@flamingo-stack/openframe-frontend-core 0.0.673 → 0.0.674-2431.7289.1
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-3UDBK2YG.cjs → chunk-4J7CFT6D.cjs} +57 -57
- package/dist/chunk-4J7CFT6D.cjs.map +1 -0
- package/dist/{chunk-L3KN6HLJ.cjs → chunk-4Q6P3VHS.cjs} +26 -26
- package/dist/{chunk-L3KN6HLJ.cjs.map → chunk-4Q6P3VHS.cjs.map} +1 -1
- package/dist/{chunk-A6WWJR7C.cjs → chunk-7F73YNDS.cjs} +7 -7
- package/dist/{chunk-A6WWJR7C.cjs.map → chunk-7F73YNDS.cjs.map} +1 -1
- package/dist/{chunk-GH236QRY.js → chunk-BQICLH4C.js} +7 -7
- package/dist/{chunk-FO26QOTY.cjs → chunk-CHKIZRUP.cjs} +39 -39
- package/dist/{chunk-FO26QOTY.cjs.map → chunk-CHKIZRUP.cjs.map} +1 -1
- package/dist/{chunk-RNERYM2P.cjs → chunk-EGQOPBXC.cjs} +5 -5
- package/dist/{chunk-RNERYM2P.cjs.map → chunk-EGQOPBXC.cjs.map} +1 -1
- package/dist/{chunk-4IXJYRVE.cjs → chunk-EJZV4QGU.cjs} +403 -403
- package/dist/{chunk-4IXJYRVE.cjs.map → chunk-EJZV4QGU.cjs.map} +1 -1
- package/dist/{chunk-MT44R3LJ.js → chunk-EPKQTPNJ.js} +6 -6
- package/dist/{chunk-EP7QPXSI.cjs → chunk-FUEAXTZE.cjs} +17 -17
- package/dist/{chunk-EP7QPXSI.cjs.map → chunk-FUEAXTZE.cjs.map} +1 -1
- package/dist/{chunk-YIPFHZHY.js → chunk-G7HMYIDN.js} +2 -2
- package/dist/{chunk-YTGB5CHX.js → chunk-GJTLUW2H.js} +4 -4
- package/dist/{chunk-Y2CXELYC.cjs → chunk-HN7KNVKL.cjs} +6 -5
- package/dist/chunk-HN7KNVKL.cjs.map +1 -0
- package/dist/{chunk-3T4GPKSB.js → chunk-IGKXYFCP.js} +2 -1
- package/dist/{chunk-3T4GPKSB.js.map → chunk-IGKXYFCP.js.map} +1 -1
- package/dist/{chunk-V2A4MAAL.cjs → chunk-ILAHSBZI.cjs} +3 -2
- package/dist/chunk-ILAHSBZI.cjs.map +1 -0
- package/dist/{chunk-6MGQOZPT.cjs → chunk-L7PO6NSD.cjs} +10 -10
- package/dist/{chunk-6MGQOZPT.cjs.map → chunk-L7PO6NSD.cjs.map} +1 -1
- package/dist/{chunk-2HEZSBUU.js → chunk-M76D6OJZ.js} +8 -8
- package/dist/{chunk-MENONRB4.js → chunk-MMOXFVQN.js} +3 -3
- package/dist/{chunk-PWRRSAO6.cjs → chunk-MRT6DZG5.cjs} +50 -50
- package/dist/{chunk-PWRRSAO6.cjs.map → chunk-MRT6DZG5.cjs.map} +1 -1
- package/dist/{chunk-O4KO4CT6.cjs → chunk-N6CI2E7D.cjs} +12 -12
- package/dist/{chunk-O4KO4CT6.cjs.map → chunk-N6CI2E7D.cjs.map} +1 -1
- package/dist/{chunk-2OYZ5INK.js → chunk-NRHEKFPG.js} +4 -4
- package/dist/{chunk-WJJA42FG.cjs → chunk-OAQROGFN.cjs} +80 -80
- package/dist/{chunk-WJJA42FG.cjs.map → chunk-OAQROGFN.cjs.map} +1 -1
- package/dist/{chunk-DKFWIJD7.cjs → chunk-PP3N5MN4.cjs} +3 -3
- package/dist/{chunk-DKFWIJD7.cjs.map → chunk-PP3N5MN4.cjs.map} +1 -1
- package/dist/{chunk-SEGLWILF.js → chunk-PXWMRXVI.js} +55 -26
- package/dist/{chunk-SEGLWILF.js.map → chunk-PXWMRXVI.js.map} +1 -1
- package/dist/{chunk-32JKIRN4.js → chunk-QO4RASGC.js} +4 -3
- package/dist/chunk-QO4RASGC.js.map +1 -0
- package/dist/{chunk-JYDAEBWM.cjs → chunk-QZMKKQQN.cjs} +20 -20
- package/dist/{chunk-JYDAEBWM.cjs.map → chunk-QZMKKQQN.cjs.map} +1 -1
- package/dist/{chunk-6EBW4HFR.cjs → chunk-RCLYHHB3.cjs} +12 -12
- package/dist/{chunk-6EBW4HFR.cjs.map → chunk-RCLYHHB3.cjs.map} +1 -1
- package/dist/{chunk-QPPDBX5E.js → chunk-RSOBME56.js} +5 -5
- package/dist/{chunk-2GF77XVC.js → chunk-TECYEWVQ.js} +5 -5
- package/dist/{chunk-MU5ORFBU.cjs → chunk-TWQWCOJ7.cjs} +22 -22
- package/dist/{chunk-MU5ORFBU.cjs.map → chunk-TWQWCOJ7.cjs.map} +1 -1
- package/dist/{chunk-5WG4GVJS.cjs → chunk-UIQQBZLU.cjs} +90 -61
- package/dist/chunk-UIQQBZLU.cjs.map +1 -0
- package/dist/{chunk-JFTWABV6.js → chunk-UYPICURQ.js} +2 -2
- package/dist/{chunk-JD4U7QMG.js → chunk-VQX6JGWJ.js} +6 -6
- package/dist/chunk-VQX6JGWJ.js.map +1 -0
- package/dist/{chunk-EEIN4JOR.js → chunk-XBNO42PI.js} +3 -3
- package/dist/{chunk-OO45SNKF.js → chunk-XYZQXHAX.js} +5 -5
- package/dist/{chunk-EUL7CPOO.js → chunk-YRNYKT4J.js} +2 -2
- package/dist/{chunk-FGQNWXIT.js → chunk-YVJDVVHY.js} +4 -4
- package/dist/components/case-studies/index.cjs +17 -17
- package/dist/components/case-studies/index.js +5 -5
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +6 -6
- package/dist/components/contact/index.js +5 -5
- package/dist/components/docs/index.cjs +9 -9
- package/dist/components/docs/index.js +8 -8
- package/dist/components/docs/use-scroll-spy.d.ts +17 -5
- package/dist/components/docs/use-scroll-spy.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +6 -6
- package/dist/components/embeds/index.js +5 -5
- package/dist/components/faq/index.cjs +6 -6
- package/dist/components/faq/index.js +5 -5
- package/dist/components/features/index.cjs +5 -5
- package/dist/components/features/index.js +4 -4
- package/dist/components/help-center-pages/index.cjs +85 -86
- package/dist/components/help-center-pages/index.cjs.map +1 -1
- package/dist/components/help-center-pages/index.js +20 -21
- package/dist/components/help-center-pages/index.js.map +1 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/index.cjs +45 -45
- package/dist/components/index.js +15 -15
- package/dist/components/meeting-scheduler/index.cjs +30 -30
- package/dist/components/meeting-scheduler/index.js +4 -4
- package/dist/components/navigation/index.cjs +8 -8
- package/dist/components/navigation/index.js +7 -7
- package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/tickets/index.cjs +9 -9
- package/dist/components/tickets/index.js +8 -8
- package/dist/components/ui/index.cjs +5 -5
- package/dist/components/ui/index.js +4 -4
- package/dist/hooks/index.cjs +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +10 -10
- package/dist/index.js +8 -8
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/scroll-into-view.d.ts +10 -0
- package/dist/utils/scroll-into-view.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/chat-message-enhanced.tsx +12 -3
- package/src/components/chat/chat-message-list.tsx +1 -1
- package/src/components/chat/entity-cards/dispatch.tsx +1 -1
- package/src/components/docs/__tests__/use-scroll-spy.test.tsx +163 -3
- package/src/components/docs/use-scroll-spy.ts +109 -37
- package/src/components/help-center-pages/__tests__/trust-center-page.test.tsx +5 -1
- package/src/components/help-center-pages/trust-center-page.tsx +15 -11
- package/src/components/navigation/sticky-section-nav.tsx +3 -0
- package/src/stories/TrustCenterPage.stories.tsx +38 -0
- package/src/utils/scroll-into-view.ts +7 -2
- package/dist/chunk-32JKIRN4.js.map +0 -1
- package/dist/chunk-3UDBK2YG.cjs.map +0 -1
- package/dist/chunk-5WG4GVJS.cjs.map +0 -1
- package/dist/chunk-JD4U7QMG.js.map +0 -1
- package/dist/chunk-V2A4MAAL.cjs.map +0 -1
- package/dist/chunk-Y2CXELYC.cjs.map +0 -1
- /package/dist/{chunk-GH236QRY.js.map → chunk-BQICLH4C.js.map} +0 -0
- /package/dist/{chunk-MT44R3LJ.js.map → chunk-EPKQTPNJ.js.map} +0 -0
- /package/dist/{chunk-YIPFHZHY.js.map → chunk-G7HMYIDN.js.map} +0 -0
- /package/dist/{chunk-YTGB5CHX.js.map → chunk-GJTLUW2H.js.map} +0 -0
- /package/dist/{chunk-2HEZSBUU.js.map → chunk-M76D6OJZ.js.map} +0 -0
- /package/dist/{chunk-MENONRB4.js.map → chunk-MMOXFVQN.js.map} +0 -0
- /package/dist/{chunk-2OYZ5INK.js.map → chunk-NRHEKFPG.js.map} +0 -0
- /package/dist/{chunk-QPPDBX5E.js.map → chunk-RSOBME56.js.map} +0 -0
- /package/dist/{chunk-2GF77XVC.js.map → chunk-TECYEWVQ.js.map} +0 -0
- /package/dist/{chunk-JFTWABV6.js.map → chunk-UYPICURQ.js.map} +0 -0
- /package/dist/{chunk-EEIN4JOR.js.map → chunk-XBNO42PI.js.map} +0 -0
- /package/dist/{chunk-OO45SNKF.js.map → chunk-XYZQXHAX.js.map} +0 -0
- /package/dist/{chunk-EUL7CPOO.js.map → chunk-YRNYKT4J.js.map} +0 -0
- /package/dist/{chunk-FGQNWXIT.js.map → chunk-YVJDVVHY.js.map} +0 -0
|
@@ -6,38 +6,38 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkMRT6DZG5cjs = require('../../chunk-MRT6DZG5.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
require('../../chunk-
|
|
13
|
+
var _chunkUIQQBZLUcjs = require('../../chunk-UIQQBZLU.cjs');
|
|
14
|
+
require('../../chunk-7F73YNDS.cjs');
|
|
15
15
|
require('../../chunk-WKX7DYFM.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkFUEAXTZEcjs = require('../../chunk-FUEAXTZE.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkHN7KNVKLcjs = require('../../chunk-HN7KNVKL.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkOAQROGFNcjs = require('../../chunk-OAQROGFN.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunk4Q6P3VHScjs = require('../../chunk-4Q6P3VHS.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkL7PO6NSDcjs = require('../../chunk-L7PO6NSD.cjs');
|
|
33
33
|
require('../../chunk-77BLJHKI.cjs');
|
|
34
|
-
require('../../chunk-
|
|
34
|
+
require('../../chunk-EGQOPBXC.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
39
|
-
require('../../chunk-
|
|
40
|
-
require('../../chunk-
|
|
38
|
+
var _chunkTWQWCOJ7cjs = require('../../chunk-TWQWCOJ7.cjs');
|
|
39
|
+
require('../../chunk-PP3N5MN4.cjs');
|
|
40
|
+
require('../../chunk-N6CI2E7D.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunkDOVVKQMZcjs = require('../../chunk-DOVVKQMZ.cjs');
|
|
@@ -53,13 +53,13 @@ var _chunkDOVVKQMZcjs = require('../../chunk-DOVVKQMZ.cjs');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var
|
|
56
|
+
var _chunkEJZV4QGUcjs = require('../../chunk-EJZV4QGU.cjs');
|
|
57
57
|
require('../../chunk-GQWM3ECA.cjs');
|
|
58
58
|
require('../../chunk-TON3YCCW.cjs');
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
var
|
|
62
|
+
var _chunkRCLYHHB3cjs = require('../../chunk-RCLYHHB3.cjs');
|
|
63
63
|
require('../../chunk-LCMT2GZK.cjs');
|
|
64
64
|
require('../../chunk-JU6SBF3C.cjs');
|
|
65
65
|
require('../../chunk-VTYP25OW.cjs');
|
|
@@ -75,12 +75,11 @@ require('../../chunk-QVSVRG7I.cjs');
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
var
|
|
78
|
+
var _chunk4J7CFT6Dcjs = require('../../chunk-4J7CFT6D.cjs');
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
var _chunkV2A4MAALcjs = require('../../chunk-V2A4MAAL.cjs');
|
|
82
|
+
var _chunkILAHSBZIcjs = require('../../chunk-ILAHSBZI.cjs');
|
|
84
83
|
|
|
85
84
|
|
|
86
85
|
var _chunkSADRZ4YIcjs = require('../../chunk-SADRZ4YI.cjs');
|
|
@@ -138,9 +137,9 @@ function RoadmapPage({
|
|
|
138
137
|
belowContent,
|
|
139
138
|
shell
|
|
140
139
|
}) {
|
|
141
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
140
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkL7PO6NSDcjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
|
|
142
141
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
143
|
-
|
|
142
|
+
_chunkMRT6DZG5cjs.RoadmapView,
|
|
144
143
|
{
|
|
145
144
|
endpoint: roadmapEndpoint,
|
|
146
145
|
initialItems,
|
|
@@ -166,9 +165,9 @@ function ProductReleasesListPage({
|
|
|
166
165
|
belowContent,
|
|
167
166
|
shell
|
|
168
167
|
}) {
|
|
169
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
168
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkL7PO6NSDcjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
|
|
170
169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
171
|
-
|
|
170
|
+
_chunkMRT6DZG5cjs.ProductReleasesView,
|
|
172
171
|
{
|
|
173
172
|
endpoint: releasesEndpoint,
|
|
174
173
|
basePath,
|
|
@@ -191,8 +190,8 @@ function DeliveryPage({
|
|
|
191
190
|
belowContent,
|
|
192
191
|
shell
|
|
193
192
|
}) {
|
|
194
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
195
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
193
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkL7PO6NSDcjs.DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
|
|
194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMRT6DZG5cjs.DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
|
|
196
195
|
belowContent
|
|
197
196
|
] });
|
|
198
197
|
}
|
|
@@ -212,9 +211,9 @@ function OnboardingGuidesCatalogPage({
|
|
|
212
211
|
belowContent,
|
|
213
212
|
shell
|
|
214
213
|
}) {
|
|
215
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
214
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkL7PO6NSDcjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
|
|
216
215
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
217
|
-
|
|
216
|
+
_chunkTWQWCOJ7cjs.OnboardingGuidesCatalogView,
|
|
218
217
|
{
|
|
219
218
|
guidesEndpoint,
|
|
220
219
|
sectionsEndpoint,
|
|
@@ -263,10 +262,10 @@ function TrustSection({
|
|
|
263
262
|
id,
|
|
264
263
|
"aria-labelledby": headingId,
|
|
265
264
|
className: "flex flex-col gap-[var(--spacing-system-m)]",
|
|
266
|
-
style: { scrollMarginTop:
|
|
265
|
+
style: { scrollMarginTop: _chunkILAHSBZIcjs.STICKY_HEADER_OFFSET_PX },
|
|
267
266
|
children: [
|
|
268
267
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
269
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className:
|
|
268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className: _chunk4J7CFT6Dcjs.SECTION_HEADING_CLASS, children: title }),
|
|
270
269
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
271
270
|
] }),
|
|
272
271
|
children
|
|
@@ -287,7 +286,7 @@ function AiSection({ practices }) {
|
|
|
287
286
|
}
|
|
288
287
|
]
|
|
289
288
|
}));
|
|
290
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.StackedRowsPanel, { rows });
|
|
291
290
|
}
|
|
292
291
|
function ComplianceSection({ frameworks }) {
|
|
293
292
|
const rows = frameworks.map((framework) => {
|
|
@@ -298,7 +297,7 @@ function ComplianceSection({ frameworks }) {
|
|
|
298
297
|
columns: [
|
|
299
298
|
{
|
|
300
299
|
key: "framework",
|
|
301
|
-
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
300
|
+
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.ComplianceLogo, { names: [framework.standard, framework.label], fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { "aria-hidden": "true" }) }),
|
|
302
301
|
value: framework.label,
|
|
303
302
|
label: _nullishCoalesce(framework.description, () => ( void 0)),
|
|
304
303
|
wrap: true
|
|
@@ -312,7 +311,7 @@ function ComplianceSection({ frameworks }) {
|
|
|
312
311
|
]
|
|
313
312
|
};
|
|
314
313
|
});
|
|
315
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
314
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.StackedRowsPanel, { rows });
|
|
316
315
|
}
|
|
317
316
|
var CONTROL_ROW_CLASS = "h-14 md:h-20 overflow-hidden";
|
|
318
317
|
function controlRows(controls) {
|
|
@@ -345,18 +344,18 @@ function ControlsListSkeleton() {
|
|
|
345
344
|
{
|
|
346
345
|
key: "control",
|
|
347
346
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
349
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.TextSkeleton.Body, { className: "w-2/3" }),
|
|
348
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.TextSkeleton.Caption, { className: "w-full" })
|
|
350
349
|
] })
|
|
351
350
|
}
|
|
352
351
|
]
|
|
353
352
|
}));
|
|
354
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
353
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.StackedRowsPanel, { rows });
|
|
355
354
|
}
|
|
356
355
|
function ControlsSection({ endpoint, seed }) {
|
|
357
356
|
const [domain, setDomain] = _react.useState.call(void 0, seed.domain);
|
|
358
357
|
const [typed, setTyped] = _react.useState.call(void 0, "");
|
|
359
|
-
const query =
|
|
358
|
+
const query = _chunkILAHSBZIcjs.useDebounce.call(void 0, _chunkQRUW4UXBcjs.normalizeTrustControlQuery.call(void 0, typed), _chunkQRUW4UXBcjs.TRUST_CENTER_SEARCH_DEBOUNCE_MS);
|
|
360
359
|
const url = _chunkQRUW4UXBcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain, query });
|
|
361
360
|
const seedUrl = _chunkQRUW4UXBcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain: seed.domain, query: "" });
|
|
362
361
|
const answer = _chunkDOVVKQMZcjs.useSelfFetch.call(void 0, url, url === seedUrl ? { initialData: seed } : void 0);
|
|
@@ -379,12 +378,12 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
379
378
|
else summary = `${countLabel(current.controls.length, "passing control")} in ${current.domain}`;
|
|
380
379
|
let body;
|
|
381
380
|
if (answer.error && !current) {
|
|
382
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
381
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.LoadError, { message: "Could not load the controls", onRetry: answer.reload });
|
|
383
382
|
} else if (!current) {
|
|
384
383
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {});
|
|
385
384
|
} else if (current.controls.length === 0) {
|
|
386
385
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
387
|
-
|
|
386
|
+
_chunkL7PO6NSDcjs.ListEmptyState,
|
|
388
387
|
{
|
|
389
388
|
isFiltered: true,
|
|
390
389
|
filtered: {
|
|
@@ -397,11 +396,11 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
397
396
|
}
|
|
398
397
|
);
|
|
399
398
|
} else {
|
|
400
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
399
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.StackedRowsPanel, { rows: controlRows(current.controls) });
|
|
401
400
|
}
|
|
402
401
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
403
402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
404
|
-
|
|
403
|
+
_chunkEJZV4QGUcjs.TabNavigation,
|
|
405
404
|
{
|
|
406
405
|
tabs,
|
|
407
406
|
activeTab,
|
|
@@ -411,7 +410,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
411
410
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)] md:flex-row md:items-center md:justify-between", children: [
|
|
412
411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, "aria-live": "polite", children: summary }),
|
|
413
412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full md:w-80", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
414
|
-
|
|
413
|
+
_chunkEJZV4QGUcjs.SearchInput,
|
|
415
414
|
{
|
|
416
415
|
placeholder: "Search controls",
|
|
417
416
|
value: typed,
|
|
@@ -421,7 +420,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
421
420
|
}
|
|
422
421
|
) })
|
|
423
422
|
] }),
|
|
424
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.ScrollShadow, { className: CONTROLS_LIST_HEIGHT, scrollClassName: "h-full", "data-testid": "controls-list", children: body })
|
|
425
424
|
] });
|
|
426
425
|
}
|
|
427
426
|
function DocumentsSection({
|
|
@@ -460,7 +459,7 @@ function DocumentsSection({
|
|
|
460
459
|
]
|
|
461
460
|
};
|
|
462
461
|
});
|
|
463
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
462
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.StackedRowsPanel, { rows });
|
|
464
463
|
}
|
|
465
464
|
function DocumentRequestModal({
|
|
466
465
|
open,
|
|
@@ -469,14 +468,14 @@ function DocumentRequestModal({
|
|
|
469
468
|
onClose
|
|
470
469
|
}) {
|
|
471
470
|
const message = documentTitle ? `I'd like access to: ${documentTitle}.` : "I'd like access to your gated security documentation.";
|
|
472
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
474
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
471
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4J7CFT6Dcjs.Modal, { isOpen: open, onClose, size: "medium", children: [
|
|
472
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.ModalTitle, { children: "Request access" }) }),
|
|
473
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.ModalContent, { children: open ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
475
474
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: "We share gated security documents under NDA. Leave your work email and our security team will follow up with access, usually within one business day." }),
|
|
476
475
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
477
|
-
|
|
476
|
+
_chunk4Q6P3VHScjs.ContactForm,
|
|
478
477
|
{
|
|
479
|
-
rescue:
|
|
478
|
+
rescue: _chunkRCLYHHB3cjs.RESCUE_FORMS.trustCenterRequest,
|
|
480
479
|
title: "",
|
|
481
480
|
noBorder: true,
|
|
482
481
|
noPadding: true,
|
|
@@ -492,12 +491,12 @@ function DocumentRequestModal({
|
|
|
492
491
|
] });
|
|
493
492
|
}
|
|
494
493
|
function subprocessorMark({ name, logoUrl }) {
|
|
495
|
-
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
496
|
-
const logo =
|
|
497
|
-
return logo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": name, className: "flex", children: _react.createElement.call(void 0, logo, { className: "size-6" }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
494
|
+
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.EntityImage, { src: logoUrl, alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
495
|
+
const logo = _chunk4J7CFT6Dcjs.brandLogoForName.call(void 0, name);
|
|
496
|
+
return logo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": name, className: "flex", children: _react.createElement.call(void 0, logo, { className: "size-6" }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.EntityImage, { alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
498
497
|
}
|
|
499
498
|
function countryWithFlag(country) {
|
|
500
|
-
const flag =
|
|
499
|
+
const flag = _chunkEJZV4QGUcjs.getFlagFromCountryName.call(void 0, country);
|
|
501
500
|
return flag ? `${flag} ${country}` : country;
|
|
502
501
|
}
|
|
503
502
|
function SubprocessorsSection({ subprocessors }) {
|
|
@@ -524,11 +523,11 @@ function SubprocessorsSection({ subprocessors }) {
|
|
|
524
523
|
] : []
|
|
525
524
|
]
|
|
526
525
|
}));
|
|
527
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
526
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.StackedRowsPanel, { rows });
|
|
528
527
|
}
|
|
529
528
|
function ContactSection({ onContact }) {
|
|
530
529
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
531
|
-
|
|
530
|
+
_chunkEJZV4QGUcjs.StackedRowsPanel,
|
|
532
531
|
{
|
|
533
532
|
rows: [
|
|
534
533
|
{
|
|
@@ -558,7 +557,7 @@ function SkeletonSection({ id, children }) {
|
|
|
558
557
|
const lead = TRUST_SECTION_LEADS[id];
|
|
559
558
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { "aria-hidden": "true", className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
560
559
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
561
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
560
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk4J7CFT6Dcjs.SECTION_HEADING_CLASS, children: label }),
|
|
562
561
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
563
562
|
] }),
|
|
564
563
|
children
|
|
@@ -572,14 +571,14 @@ function skeletonRows(count, shape) {
|
|
|
572
571
|
key: "item",
|
|
573
572
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-s)]", children: [
|
|
574
573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
575
|
-
|
|
574
|
+
_chunk4J7CFT6Dcjs.UnifiedSkeleton,
|
|
576
575
|
{
|
|
577
576
|
className: shape.mark === "logo" ? "size-10 shrink-0 rounded-full" : "size-6 shrink-0 rounded"
|
|
578
577
|
}
|
|
579
578
|
),
|
|
580
579
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
581
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
582
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-1/3 md:h-6" }),
|
|
581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
583
582
|
] })
|
|
584
583
|
] })
|
|
585
584
|
},
|
|
@@ -587,23 +586,23 @@ function skeletonRows(count, shape) {
|
|
|
587
586
|
key: "action",
|
|
588
587
|
width: ACTION_COLUMN,
|
|
589
588
|
align: "right",
|
|
590
|
-
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
589
|
+
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.UnifiedSkeleton, { className: "h-4 w-28 rounded" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.UnifiedSkeleton, { className: "h-6 w-16 rounded md:h-8" })
|
|
591
590
|
}
|
|
592
591
|
]
|
|
593
592
|
}));
|
|
594
593
|
}
|
|
595
594
|
function ControlsSectionSkeleton() {
|
|
596
595
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] overflow-hidden", children: [0, 1, 2, 3].map((index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 p-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] overflow-hidden", children: [0, 1, 2, 3].map((index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 p-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-36 md:h-6" }) }, index)) }),
|
|
598
597
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)] md:flex-row md:items-center md:justify-between", children: [
|
|
599
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
598
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.TextSkeleton.Body, { className: "w-48" }),
|
|
599
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.UnifiedSkeleton, { className: "h-11 w-full rounded-[6px] md:h-12 md:w-80" })
|
|
601
600
|
] }),
|
|
602
601
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTROLS_LIST_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {}) })
|
|
603
602
|
] });
|
|
604
603
|
}
|
|
605
604
|
function SectionRailSkeleton() {
|
|
606
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top:
|
|
605
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top: _chunkILAHSBZIcjs.STICKY_HEADER_OFFSET_PX }, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
|
|
607
606
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
608
607
|
"div",
|
|
609
608
|
{
|
|
@@ -611,29 +610,29 @@ function SectionRailSkeleton() {
|
|
|
611
610
|
style: { height: _chunkQRUW4UXBcjs.TRUST_CENTER_SECTIONS.length * 40 }
|
|
612
611
|
}
|
|
613
612
|
),
|
|
614
|
-
_chunkQRUW4UXBcjs.TRUST_CENTER_SECTIONS.map((section) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-10 items-center px-3 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
613
|
+
_chunkQRUW4UXBcjs.TRUST_CENTER_SECTIONS.map((section) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-10 items-center px-3 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.TextSkeleton.Body, { className: "w-24" }) }, section.id))
|
|
615
614
|
] }) });
|
|
616
615
|
}
|
|
617
616
|
function TrustCenterSkeleton() {
|
|
618
617
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
619
618
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, "aria-hidden": "true", children: [
|
|
620
619
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
621
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
622
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.UnifiedSkeleton, { className: "size-3 rounded-full" }),
|
|
621
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.TextSkeleton.Body, { className: "w-44" })
|
|
623
622
|
] }),
|
|
624
623
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-xxs)] sm:flex-row sm:items-center sm:gap-[var(--spacing-system-sf)]", children: [
|
|
625
624
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
626
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
627
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
625
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.UnifiedSkeleton, { className: "size-4 rounded" }),
|
|
626
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.TextSkeleton.Body, { className: "w-36" })
|
|
628
627
|
] }),
|
|
629
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
628
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4J7CFT6Dcjs.TextSkeleton.Body, { className: "w-44" })
|
|
630
629
|
] })
|
|
631
630
|
] }),
|
|
632
631
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_BODY_GRID_CLASS, "aria-busy": "true", "aria-label": "Loading the trust center", children: [
|
|
633
632
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_SECTIONS_COLUMN_CLASS, children: [
|
|
634
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
633
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.StackedRowsPanel, { rows: skeletonRows(3, { mark: "logo", action: "badge" }) }) }),
|
|
635
634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "controls", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsSectionSkeleton, {}) }),
|
|
636
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
635
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.StackedRowsPanel, { rows: skeletonRows(2, { mark: "glyph", action: "button" }) }) })
|
|
637
636
|
] }),
|
|
638
637
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden lg:block", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SectionRailSkeleton, {}) })
|
|
639
638
|
] })
|
|
@@ -682,7 +681,7 @@ function TrustCenterPage({
|
|
|
682
681
|
initialData,
|
|
683
682
|
revalidateOnVisibleAfterMs: _chunkQRUW4UXBcjs.TRUST_CENTER_CACHE_SECONDS * 1e3
|
|
684
683
|
});
|
|
685
|
-
const hydrated =
|
|
684
|
+
const hydrated = _chunk4J7CFT6Dcjs.useIsHydrated.call(void 0, );
|
|
686
685
|
const [clock, setClock] = _react.useState.call(void 0, () => ({ data, nowMs: Date.now() }));
|
|
687
686
|
if (clock.data !== data) {
|
|
688
687
|
setClock(() => ({ data, nowMs: Date.now() }));
|
|
@@ -698,12 +697,12 @@ function TrustCenterPage({
|
|
|
698
697
|
documentTitle: null
|
|
699
698
|
});
|
|
700
699
|
const sections = _react.useMemo.call(void 0, () => data ? visibleSections(data) : [], [data]);
|
|
701
|
-
const { activeSection } =
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
headerOffset:
|
|
700
|
+
const { activeSection, handleSectionClick } = _chunkUIQQBZLUcjs.useScrollSpy.call(void 0, sections, {
|
|
701
|
+
syncHash: true,
|
|
702
|
+
headerOffset: _chunkILAHSBZIcjs.STICKY_HEADER_OFFSET_PX
|
|
703
|
+
});
|
|
704
|
+
_chunkRCLYHHB3cjs.useScrollToHash.call(void 0, sections.length > 0 ? sections.map((section) => section.id).join("|") : null, {
|
|
705
|
+
headerOffset: _chunkILAHSBZIcjs.STICKY_HEADER_OFFSET_PX
|
|
707
706
|
});
|
|
708
707
|
const openRequest = _react.useCallback.call(void 0, (documentTitle) => setRequest({ open: true, documentTitle }), []);
|
|
709
708
|
const closeRequest = _react.useCallback.call(void 0, () => setRequest((current) => ({ ...current, open: false })), []);
|
|
@@ -737,24 +736,24 @@ function TrustCenterPage({
|
|
|
737
736
|
lead: TRUST_SECTION_LEADS.subprocessors,
|
|
738
737
|
render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubprocessorsSection, { subprocessors: d.subprocessors })
|
|
739
738
|
},
|
|
740
|
-
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
739
|
+
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFUEAXTZEcjs.FaqSection, { initialFaqs: d.faqs, heading: null }) },
|
|
741
740
|
contact: { render: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContactSection, { onContact: () => openRequest(null) }) }
|
|
742
741
|
};
|
|
743
742
|
let body;
|
|
744
743
|
if (error && !data) {
|
|
745
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
744
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.LoadError, { message: "Could not load the trust center", onRetry: reload });
|
|
746
745
|
} else if (!data) {
|
|
747
746
|
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) : null;
|
|
748
747
|
} else {
|
|
749
748
|
const status = monitoringStatus(data, hydrated, nowMs);
|
|
750
749
|
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
751
750
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, children: [
|
|
752
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
751
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.StatusIndicator, { status: status.status, label: status.label }),
|
|
753
752
|
data.connected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
754
|
-
|
|
753
|
+
_chunkEJZV4QGUcjs.DataAttribution,
|
|
755
754
|
{
|
|
756
755
|
icon: data.dataSource.logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
757
|
-
|
|
756
|
+
_chunkEJZV4QGUcjs.EntityImage,
|
|
758
757
|
{
|
|
759
758
|
src: data.dataSource.logoUrl,
|
|
760
759
|
alt: data.dataSource.name,
|
|
@@ -772,8 +771,8 @@ function TrustCenterPage({
|
|
|
772
771
|
const view = views[section.id];
|
|
773
772
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustSection, { id: section.id, title: section.label, lead: view.lead, children: view.render(data) }, section.id);
|
|
774
773
|
}) }),
|
|
775
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden lg:block", "aria-label": "Trust center sections", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top:
|
|
776
|
-
|
|
774
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden lg:block", "aria-label": "Trust center sections", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top: _chunkILAHSBZIcjs.STICKY_HEADER_OFFSET_PX }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
775
|
+
_chunkHN7KNVKLcjs.StickySectionNav,
|
|
777
776
|
{
|
|
778
777
|
sections: sections.map((section) => ({ id: section.id, label: section.label })),
|
|
779
778
|
activeSection,
|
|
@@ -805,7 +804,7 @@ function TrustCenterChrome({
|
|
|
805
804
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
806
805
|
const backCfg = backButton === false ? void 0 : { label: _nullishCoalesce(backButton.label, () => ( "Back to home")), onClick: () => router.push(_nullishCoalesce(backButton.href, () => ( "/"))) };
|
|
807
806
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
808
|
-
|
|
807
|
+
_chunkEJZV4QGUcjs.PageLayout,
|
|
809
808
|
{
|
|
810
809
|
title,
|
|
811
810
|
subtitle,
|
|
@@ -817,7 +816,7 @@ function TrustCenterChrome({
|
|
|
817
816
|
children
|
|
818
817
|
}
|
|
819
818
|
);
|
|
820
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
819
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJZV4QGUcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
821
820
|
}
|
|
822
821
|
function TrustCenterPageSkeleton({
|
|
823
822
|
shell = true,
|
|
@@ -840,5 +839,5 @@ function TrustCenterPageSkeleton({
|
|
|
840
839
|
|
|
841
840
|
|
|
842
841
|
|
|
843
|
-
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage =
|
|
842
|
+
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage = _chunkUIQQBZLUcjs.DocsHubPage; exports.FaqDocumentPage = _chunkFUEAXTZEcjs.FaqDocumentPage; exports.HelpCenterList = _chunkOAQROGFNcjs.HelpCenterList; exports.LegalDocumentPage = _chunkMRT6DZG5cjs.LegalDocumentPage; exports.OnboardingGuideDetailView = _chunkTWQWCOJ7cjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogPage = OnboardingGuidesCatalogPage; exports.ProductReleasesListPage = ProductReleasesListPage; exports.ReleaseDetailPage = _chunkMRT6DZG5cjs.ReleaseDetailPage; exports.RoadmapPage = RoadmapPage; exports.TrustCenterPage = TrustCenterPage; exports.TrustCenterPageSkeleton = TrustCenterPageSkeleton;
|
|
844
843
|
//# sourceMappingURL=index.cjs.map
|