@flamingo-stack/openframe-frontend-core 0.0.671 → 0.0.672-snapshot.20260928032919
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/chat-protocol/card-marker.d.ts +12 -0
- package/dist/chat-protocol/card-marker.d.ts.map +1 -1
- package/dist/chat-protocol/index.cjs +17 -0
- package/dist/chat-protocol/index.cjs.map +1 -1
- package/dist/chat-protocol/index.d.ts +1 -0
- package/dist/chat-protocol/index.d.ts.map +1 -1
- package/dist/chat-protocol/index.js +15 -1
- package/dist/chat-protocol/index.js.map +1 -1
- package/dist/{chunk-4PVY4JJN.js → chunk-2TQ64TG3.js} +3 -3
- package/dist/{chunk-FAJUQKWQ.cjs → chunk-3EIB5PNM.cjs} +76 -75
- package/dist/chunk-3EIB5PNM.cjs.map +1 -0
- package/dist/{chunk-FUXUJSPP.cjs → chunk-3UDBK2YG.cjs} +1 -1
- package/dist/chunk-3UDBK2YG.cjs.map +1 -0
- package/dist/{chunk-G64BNLDO.js → chunk-3X6WFYSV.js} +2 -2
- package/dist/{chunk-DUZEFACP.js → chunk-4UAIOXYC.js} +3 -3
- package/dist/{chunk-SNNE34OP.js → chunk-5KD5SSP6.js} +5 -5
- package/dist/{chunk-RKUCK6MN.js → chunk-6NGIPAQ6.js} +2 -2
- package/dist/{chunk-OG2BNJ2Q.cjs → chunk-6PPEG2N4.cjs} +389 -375
- package/dist/chunk-6PPEG2N4.cjs.map +1 -0
- package/dist/{chunk-NIYIK32F.js → chunk-6ZX6TFSS.js} +18 -4
- package/dist/{chunk-NIYIK32F.js.map → chunk-6ZX6TFSS.js.map} +1 -1
- package/dist/{chunk-6C6UUOH4.js → chunk-A77HP3N6.js} +8 -7
- package/dist/{chunk-6C6UUOH4.js.map → chunk-A77HP3N6.js.map} +1 -1
- package/dist/{chunk-YNGAJGYB.cjs → chunk-AXMNWMAU.cjs} +340 -6
- package/dist/chunk-AXMNWMAU.cjs.map +1 -0
- package/dist/{chunk-PLG6LP7E.cjs → chunk-BAEHCDPI.cjs} +49 -49
- package/dist/{chunk-PLG6LP7E.cjs.map → chunk-BAEHCDPI.cjs.map} +1 -1
- package/dist/{chunk-R22IA7MP.js → chunk-BBDEIE56.js} +4 -4
- package/dist/{chunk-PQ7YC5Y6.js → chunk-D5HO3RNF.js} +3 -3
- package/dist/{chunk-II66XWU5.cjs → chunk-D6IOMPAH.cjs} +3 -3
- package/dist/{chunk-II66XWU5.cjs.map → chunk-D6IOMPAH.cjs.map} +1 -1
- package/dist/{chunk-DAGKBFZN.cjs → chunk-EQIBWG5U.cjs} +33 -33
- package/dist/{chunk-DAGKBFZN.cjs.map → chunk-EQIBWG5U.cjs.map} +1 -1
- package/dist/{chunk-3PVOF3IB.js → chunk-EVB3EO5S.js} +337 -3
- package/dist/{chunk-3PVOF3IB.js.map → chunk-EVB3EO5S.js.map} +1 -1
- package/dist/{chunk-SJZPKIW6.cjs → chunk-G64BDYU5.cjs} +12 -12
- package/dist/{chunk-SJZPKIW6.cjs.map → chunk-G64BDYU5.cjs.map} +1 -1
- package/dist/{chunk-BP542DGQ.cjs → chunk-GLPGYU6H.cjs} +55 -28
- package/dist/chunk-GLPGYU6H.cjs.map +1 -0
- package/dist/{chunk-TLLTL6LB.js → chunk-JD4U7QMG.js} +1 -1
- package/dist/chunk-JD4U7QMG.js.map +1 -0
- package/dist/{chunk-ZRIVCLPR.js → chunk-JD5TKRCU.js} +1 -1
- package/dist/chunk-JD5TKRCU.js.map +1 -0
- package/dist/{chunk-YJWR7D6O.cjs → chunk-JKIM7U7N.cjs} +3 -3
- package/dist/{chunk-YJWR7D6O.cjs.map → chunk-JKIM7U7N.cjs.map} +1 -1
- package/dist/{chunk-K3O4D7LW.js → chunk-KUASHD7Z.js} +4 -4
- package/dist/{chunk-GF5TSQ6C.cjs → chunk-KXL534EV.cjs} +10 -10
- package/dist/{chunk-GF5TSQ6C.cjs.map → chunk-KXL534EV.cjs.map} +1 -1
- package/dist/{chunk-FHTNCWIP.js → chunk-KYVFU7VQ.js} +5 -5
- package/dist/{chunk-OYMOG544.js → chunk-KZAT6VWE.js} +5 -5
- package/dist/{chunk-D55IENZJ.cjs → chunk-LCMT2GZK.cjs} +1 -1
- package/dist/chunk-LCMT2GZK.cjs.map +1 -0
- package/dist/{chunk-IJIIL6WU.js → chunk-MVU7HF5A.js} +6 -6
- package/dist/{chunk-XGXHHSDU.cjs → chunk-NYDFVUMH.cjs} +22 -22
- package/dist/{chunk-XGXHHSDU.cjs.map → chunk-NYDFVUMH.cjs.map} +1 -1
- package/dist/{chunk-STLBB6PF.js → chunk-O75Y5O3U.js} +35 -8
- package/dist/chunk-O75Y5O3U.js.map +1 -0
- package/dist/{chunk-DAWYS25M.cjs → chunk-PDNGWDJF.cjs} +17 -17
- package/dist/{chunk-DAWYS25M.cjs.map → chunk-PDNGWDJF.cjs.map} +1 -1
- package/dist/{chunk-T3ACDOVD.cjs → chunk-VRZZCL4R.cjs} +7 -7
- package/dist/{chunk-T3ACDOVD.cjs.map → chunk-VRZZCL4R.cjs.map} +1 -1
- package/dist/{chunk-XH4MRTZM.cjs → chunk-WQFT7GOC.cjs} +5 -5
- package/dist/{chunk-XH4MRTZM.cjs.map → chunk-WQFT7GOC.cjs.map} +1 -1
- package/dist/{chunk-YIDNSRPL.cjs → chunk-XGBFQ3YV.cjs} +31 -31
- package/dist/{chunk-YIDNSRPL.cjs.map → chunk-XGBFQ3YV.cjs.map} +1 -1
- package/dist/{chunk-UH3BL2OT.js → chunk-Y7TZHPS2.js} +2 -2
- package/dist/{chunk-EIAVE6SE.cjs → chunk-YKKW67A3.cjs} +10 -10
- package/dist/{chunk-EIAVE6SE.cjs.map → chunk-YKKW67A3.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +18 -17
- package/dist/components/case-studies/index.cjs.map +1 -1
- package/dist/components/case-studies/index.js +7 -6
- package/dist/components/case-studies/index.js.map +1 -1
- package/dist/components/case-studies/share-experience-section.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/contact-form.d.ts +6 -1
- package/dist/components/contact/contact-form.d.ts.map +1 -1
- 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/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/features/waitlist-form.d.ts +3 -1
- package/dist/components/features/waitlist-form.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +77 -76
- package/dist/components/help-center-pages/index.cjs.map +1 -1
- package/dist/components/help-center-pages/index.js +17 -16
- package/dist/components/help-center-pages/index.js.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/index.cjs +43 -43
- package/dist/components/index.js +15 -15
- package/dist/components/meeting-scheduler/booking-form.d.ts +4 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +73 -39
- package/dist/components/meeting-scheduler/index.cjs.map +1 -1
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +44 -10
- package/dist/components/meeting-scheduler/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +8 -8
- package/dist/components/navigation/index.js +7 -7
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/onboarding-guides/index.js +7 -7
- package/dist/components/tickets/help-center-create-form.d.ts.map +1 -1
- 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/contexts/endpoints-runtime-context.d.ts +5 -0
- package/dist/contexts/endpoints-runtime-context.d.ts.map +1 -1
- package/dist/contexts/index.cjs +2 -2
- package/dist/contexts/index.js +1 -1
- package/dist/hooks/index.cjs +5 -3
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -2
- package/dist/hooks/use-form-rescue.d.ts +37 -0
- package/dist/hooks/use-form-rescue.d.ts.map +1 -0
- package/dist/index.cjs +51 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +50 -8
- package/dist/index.js.map +1 -1
- package/dist/utils/form-rescue.cjs +117 -0
- package/dist/utils/form-rescue.cjs.map +1 -0
- package/dist/utils/form-rescue.d.ts +98 -0
- package/dist/utils/form-rescue.d.ts.map +1 -0
- package/dist/utils/form-rescue.js +96 -0
- package/dist/utils/form-rescue.js.map +1 -0
- package/dist/utils/index.cjs +113 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +94 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +7 -1
- package/src/chat-protocol/__tests__/card-marker.test.ts +27 -1
- package/src/chat-protocol/card-marker.ts +24 -0
- package/src/chat-protocol/index.ts +3 -0
- package/src/components/case-studies/share-experience-section.tsx +1 -0
- package/src/components/contact/contact-form.tsx +38 -2
- package/src/components/features/waitlist-form.tsx +23 -2
- package/src/components/help-center-pages/trust-center-sections.tsx +1 -0
- package/src/components/meeting-scheduler/booking-form.tsx +14 -0
- package/src/components/meeting-scheduler/index.tsx +33 -3
- package/src/components/tickets/help-center-create-form.tsx +2 -0
- package/src/contexts/endpoints-runtime-context.tsx +5 -0
- package/src/hooks/__tests__/use-form-rescue.test.tsx +182 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/use-form-rescue.ts +315 -0
- package/src/utils/__tests__/form-rescue.test.ts +106 -0
- package/src/utils/form-rescue.ts +190 -0
- package/src/utils/index.ts +5 -0
- package/dist/chunk-BP542DGQ.cjs.map +0 -1
- package/dist/chunk-D55IENZJ.cjs.map +0 -1
- package/dist/chunk-FAJUQKWQ.cjs.map +0 -1
- package/dist/chunk-FUXUJSPP.cjs.map +0 -1
- package/dist/chunk-OG2BNJ2Q.cjs.map +0 -1
- package/dist/chunk-STLBB6PF.js.map +0 -1
- package/dist/chunk-TLLTL6LB.js.map +0 -1
- package/dist/chunk-YNGAJGYB.cjs.map +0 -1
- package/dist/chunk-ZRIVCLPR.js.map +0 -1
- /package/dist/{chunk-4PVY4JJN.js.map → chunk-2TQ64TG3.js.map} +0 -0
- /package/dist/{chunk-G64BNLDO.js.map → chunk-3X6WFYSV.js.map} +0 -0
- /package/dist/{chunk-DUZEFACP.js.map → chunk-4UAIOXYC.js.map} +0 -0
- /package/dist/{chunk-SNNE34OP.js.map → chunk-5KD5SSP6.js.map} +0 -0
- /package/dist/{chunk-RKUCK6MN.js.map → chunk-6NGIPAQ6.js.map} +0 -0
- /package/dist/{chunk-R22IA7MP.js.map → chunk-BBDEIE56.js.map} +0 -0
- /package/dist/{chunk-PQ7YC5Y6.js.map → chunk-D5HO3RNF.js.map} +0 -0
- /package/dist/{chunk-K3O4D7LW.js.map → chunk-KUASHD7Z.js.map} +0 -0
- /package/dist/{chunk-FHTNCWIP.js.map → chunk-KYVFU7VQ.js.map} +0 -0
- /package/dist/{chunk-OYMOG544.js.map → chunk-KZAT6VWE.js.map} +0 -0
- /package/dist/{chunk-IJIIL6WU.js.map → chunk-MVU7HF5A.js.map} +0 -0
- /package/dist/{chunk-UH3BL2OT.js.map → chunk-Y7TZHPS2.js.map} +0 -0
|
@@ -6,38 +6,38 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkBAEHCDPIcjs = require('../../chunk-BAEHCDPI.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
require('../../chunk-
|
|
13
|
+
var _chunkEQIBWG5Ucjs = require('../../chunk-EQIBWG5U.cjs');
|
|
14
|
+
require('../../chunk-VRZZCL4R.cjs');
|
|
15
15
|
require('../../chunk-WKX7DYFM.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkG64BDYU5cjs = require('../../chunk-G64BDYU5.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkD6IOMPAHcjs = require('../../chunk-D6IOMPAH.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunk3EIB5PNMcjs = require('../../chunk-3EIB5PNM.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkGLPGYU6Hcjs = require('../../chunk-GLPGYU6H.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkYKKW67A3cjs = require('../../chunk-YKKW67A3.cjs');
|
|
33
33
|
require('../../chunk-77BLJHKI.cjs');
|
|
34
|
-
require('../../chunk-
|
|
34
|
+
require('../../chunk-WQFT7GOC.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
39
|
-
require('../../chunk-
|
|
40
|
-
require('../../chunk-
|
|
38
|
+
var _chunkNYDFVUMHcjs = require('../../chunk-NYDFVUMH.cjs');
|
|
39
|
+
require('../../chunk-JKIM7U7N.cjs');
|
|
40
|
+
require('../../chunk-KXL534EV.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 _chunk6PPEG2N4cjs = require('../../chunk-6PPEG2N4.cjs');
|
|
57
57
|
require('../../chunk-GQWM3ECA.cjs');
|
|
58
58
|
require('../../chunk-TON3YCCW.cjs');
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
var
|
|
62
|
-
require('../../chunk-
|
|
61
|
+
var _chunkAXMNWMAUcjs = require('../../chunk-AXMNWMAU.cjs');
|
|
62
|
+
require('../../chunk-LCMT2GZK.cjs');
|
|
63
63
|
require('../../chunk-JU6SBF3C.cjs');
|
|
64
64
|
require('../../chunk-VTYP25OW.cjs');
|
|
65
65
|
require('../../chunk-QVSVRG7I.cjs');
|
|
@@ -74,7 +74,7 @@ require('../../chunk-QVSVRG7I.cjs');
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
var
|
|
77
|
+
var _chunk3UDBK2YGcjs = require('../../chunk-3UDBK2YG.cjs');
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
@@ -137,9 +137,9 @@ function RoadmapPage({
|
|
|
137
137
|
belowContent,
|
|
138
138
|
shell
|
|
139
139
|
}) {
|
|
140
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
140
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYKKW67A3cjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
|
|
141
141
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
142
|
-
|
|
142
|
+
_chunkBAEHCDPIcjs.RoadmapView,
|
|
143
143
|
{
|
|
144
144
|
endpoint: roadmapEndpoint,
|
|
145
145
|
initialItems,
|
|
@@ -165,9 +165,9 @@ function ProductReleasesListPage({
|
|
|
165
165
|
belowContent,
|
|
166
166
|
shell
|
|
167
167
|
}) {
|
|
168
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
168
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYKKW67A3cjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
|
|
169
169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
170
|
-
|
|
170
|
+
_chunkBAEHCDPIcjs.ProductReleasesView,
|
|
171
171
|
{
|
|
172
172
|
endpoint: releasesEndpoint,
|
|
173
173
|
basePath,
|
|
@@ -190,8 +190,8 @@ function DeliveryPage({
|
|
|
190
190
|
belowContent,
|
|
191
191
|
shell
|
|
192
192
|
}) {
|
|
193
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
194
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
193
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYKKW67A3cjs.DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
|
|
194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBAEHCDPIcjs.DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
|
|
195
195
|
belowContent
|
|
196
196
|
] });
|
|
197
197
|
}
|
|
@@ -211,9 +211,9 @@ function OnboardingGuidesCatalogPage({
|
|
|
211
211
|
belowContent,
|
|
212
212
|
shell
|
|
213
213
|
}) {
|
|
214
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
214
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYKKW67A3cjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
|
|
215
215
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
216
|
-
|
|
216
|
+
_chunkNYDFVUMHcjs.OnboardingGuidesCatalogView,
|
|
217
217
|
{
|
|
218
218
|
guidesEndpoint,
|
|
219
219
|
sectionsEndpoint,
|
|
@@ -265,7 +265,7 @@ function TrustSection({
|
|
|
265
265
|
style: { scrollMarginTop: _chunkV2A4MAALcjs.STICKY_HEADER_OFFSET_PX },
|
|
266
266
|
children: [
|
|
267
267
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className:
|
|
268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className: _chunk3UDBK2YGcjs.SECTION_HEADING_CLASS, children: title }),
|
|
269
269
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
270
270
|
] }),
|
|
271
271
|
children
|
|
@@ -286,7 +286,7 @@ function AiSection({ practices }) {
|
|
|
286
286
|
}
|
|
287
287
|
]
|
|
288
288
|
}));
|
|
289
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6PPEG2N4cjs.StackedRowsPanel, { rows });
|
|
290
290
|
}
|
|
291
291
|
function ComplianceSection({ frameworks }) {
|
|
292
292
|
const rows = frameworks.map((framework) => {
|
|
@@ -297,7 +297,7 @@ function ComplianceSection({ frameworks }) {
|
|
|
297
297
|
columns: [
|
|
298
298
|
{
|
|
299
299
|
key: "framework",
|
|
300
|
-
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
300
|
+
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6PPEG2N4cjs.ComplianceLogo, { names: [framework.standard, framework.label], fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { "aria-hidden": "true" }) }),
|
|
301
301
|
value: framework.label,
|
|
302
302
|
label: _nullishCoalesce(framework.description, () => ( void 0)),
|
|
303
303
|
wrap: true
|
|
@@ -311,7 +311,7 @@ function ComplianceSection({ frameworks }) {
|
|
|
311
311
|
]
|
|
312
312
|
};
|
|
313
313
|
});
|
|
314
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
314
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6PPEG2N4cjs.StackedRowsPanel, { rows });
|
|
315
315
|
}
|
|
316
316
|
var CONTROL_ROW_CLASS = "h-14 md:h-20 overflow-hidden";
|
|
317
317
|
function controlRows(controls) {
|
|
@@ -344,13 +344,13 @@ function ControlsListSkeleton() {
|
|
|
344
344
|
{
|
|
345
345
|
key: "control",
|
|
346
346
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-2/3" }),
|
|
348
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Caption, { className: "w-full" })
|
|
349
349
|
] })
|
|
350
350
|
}
|
|
351
351
|
]
|
|
352
352
|
}));
|
|
353
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
353
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6PPEG2N4cjs.StackedRowsPanel, { rows });
|
|
354
354
|
}
|
|
355
355
|
function ControlsSection({ endpoint, seed }) {
|
|
356
356
|
const [domain, setDomain] = _react.useState.call(void 0, seed.domain);
|
|
@@ -378,12 +378,12 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
378
378
|
else summary = `${countLabel(current.controls.length, "passing control")} in ${current.domain}`;
|
|
379
379
|
let body;
|
|
380
380
|
if (answer.error && !current) {
|
|
381
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
381
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6PPEG2N4cjs.LoadError, { message: "Could not load the controls", onRetry: answer.reload });
|
|
382
382
|
} else if (!current) {
|
|
383
383
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {});
|
|
384
384
|
} else if (current.controls.length === 0) {
|
|
385
385
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
386
|
-
|
|
386
|
+
_chunkYKKW67A3cjs.ListEmptyState,
|
|
387
387
|
{
|
|
388
388
|
isFiltered: true,
|
|
389
389
|
filtered: {
|
|
@@ -396,11 +396,11 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
396
396
|
}
|
|
397
397
|
);
|
|
398
398
|
} else {
|
|
399
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
399
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6PPEG2N4cjs.StackedRowsPanel, { rows: controlRows(current.controls) });
|
|
400
400
|
}
|
|
401
401
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
402
402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
403
|
-
|
|
403
|
+
_chunk6PPEG2N4cjs.TabNavigation,
|
|
404
404
|
{
|
|
405
405
|
tabs,
|
|
406
406
|
activeTab,
|
|
@@ -410,7 +410,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
410
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: [
|
|
411
411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, "aria-live": "polite", children: summary }),
|
|
412
412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full md:w-80", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
413
|
-
|
|
413
|
+
_chunk6PPEG2N4cjs.SearchInput,
|
|
414
414
|
{
|
|
415
415
|
placeholder: "Search controls",
|
|
416
416
|
value: typed,
|
|
@@ -420,7 +420,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
420
420
|
}
|
|
421
421
|
) })
|
|
422
422
|
] }),
|
|
423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ScrollShadow, { className: CONTROLS_LIST_HEIGHT, scrollClassName: "h-full", "data-testid": "controls-list", children: body })
|
|
424
424
|
] });
|
|
425
425
|
}
|
|
426
426
|
function DocumentsSection({
|
|
@@ -459,7 +459,7 @@ function DocumentsSection({
|
|
|
459
459
|
]
|
|
460
460
|
};
|
|
461
461
|
});
|
|
462
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
462
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6PPEG2N4cjs.StackedRowsPanel, { rows });
|
|
463
463
|
}
|
|
464
464
|
function DocumentRequestModal({
|
|
465
465
|
open,
|
|
@@ -468,13 +468,14 @@ function DocumentRequestModal({
|
|
|
468
468
|
onClose
|
|
469
469
|
}) {
|
|
470
470
|
const message = documentTitle ? `I'd like access to: ${documentTitle}.` : "I'd like access to your gated security documentation.";
|
|
471
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
472
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
471
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3UDBK2YGcjs.Modal, { isOpen: open, onClose, size: "medium", children: [
|
|
472
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalTitle, { children: "Request access" }) }),
|
|
473
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.ModalContent, { children: open ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
474
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." }),
|
|
475
475
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
476
|
-
|
|
476
|
+
_chunkGLPGYU6Hcjs.ContactForm,
|
|
477
477
|
{
|
|
478
|
+
rescueFormId: "trust_center_request",
|
|
478
479
|
title: "",
|
|
479
480
|
noBorder: true,
|
|
480
481
|
noPadding: true,
|
|
@@ -490,12 +491,12 @@ function DocumentRequestModal({
|
|
|
490
491
|
] });
|
|
491
492
|
}
|
|
492
493
|
function subprocessorMark({ name, logoUrl }) {
|
|
493
|
-
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
494
|
-
const logo =
|
|
495
|
-
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, _chunk6PPEG2N4cjs.EntityImage, { src: logoUrl, alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
495
|
+
const logo = _chunk3UDBK2YGcjs.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, _chunk6PPEG2N4cjs.EntityImage, { alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
496
497
|
}
|
|
497
498
|
function countryWithFlag(country) {
|
|
498
|
-
const flag =
|
|
499
|
+
const flag = _chunk6PPEG2N4cjs.getFlagFromCountryName.call(void 0, country);
|
|
499
500
|
return flag ? `${flag} ${country}` : country;
|
|
500
501
|
}
|
|
501
502
|
function SubprocessorsSection({ subprocessors }) {
|
|
@@ -522,11 +523,11 @@ function SubprocessorsSection({ subprocessors }) {
|
|
|
522
523
|
] : []
|
|
523
524
|
]
|
|
524
525
|
}));
|
|
525
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
526
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6PPEG2N4cjs.StackedRowsPanel, { rows });
|
|
526
527
|
}
|
|
527
528
|
function ContactSection({ onContact }) {
|
|
528
529
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
529
|
-
|
|
530
|
+
_chunk6PPEG2N4cjs.StackedRowsPanel,
|
|
530
531
|
{
|
|
531
532
|
rows: [
|
|
532
533
|
{
|
|
@@ -556,7 +557,7 @@ function SkeletonSection({ id, children }) {
|
|
|
556
557
|
const lead = TRUST_SECTION_LEADS[id];
|
|
557
558
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { "aria-hidden": "true", className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
558
559
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
559
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
560
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk3UDBK2YGcjs.SECTION_HEADING_CLASS, children: label }),
|
|
560
561
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
561
562
|
] }),
|
|
562
563
|
children
|
|
@@ -570,14 +571,14 @@ function skeletonRows(count, shape) {
|
|
|
570
571
|
key: "item",
|
|
571
572
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-s)]", children: [
|
|
572
573
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
573
|
-
|
|
574
|
+
_chunk3UDBK2YGcjs.UnifiedSkeleton,
|
|
574
575
|
{
|
|
575
576
|
className: shape.mark === "logo" ? "size-10 shrink-0 rounded-full" : "size-6 shrink-0 rounded"
|
|
576
577
|
}
|
|
577
578
|
),
|
|
578
579
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-1/3 md:h-6" }),
|
|
581
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
581
582
|
] })
|
|
582
583
|
] })
|
|
583
584
|
},
|
|
@@ -585,17 +586,17 @@ function skeletonRows(count, shape) {
|
|
|
585
586
|
key: "action",
|
|
586
587
|
width: ACTION_COLUMN,
|
|
587
588
|
align: "right",
|
|
588
|
-
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
589
|
+
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-4 w-28 rounded" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-6 w-16 rounded md:h-8" })
|
|
589
590
|
}
|
|
590
591
|
]
|
|
591
592
|
}));
|
|
592
593
|
}
|
|
593
594
|
function ControlsSectionSkeleton() {
|
|
594
595
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
595
|
-
/* @__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, _chunk3UDBK2YGcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-36 md:h-6" }) }, index)) }),
|
|
596
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: [
|
|
597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
598
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
598
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-48" }),
|
|
599
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "h-11 w-full rounded-[6px] md:h-12 md:w-80" })
|
|
599
600
|
] }),
|
|
600
601
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTROLS_LIST_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {}) })
|
|
601
602
|
] });
|
|
@@ -609,29 +610,29 @@ function SectionRailSkeleton() {
|
|
|
609
610
|
style: { height: _chunkQRUW4UXBcjs.TRUST_CENTER_SECTIONS.length * 40 }
|
|
610
611
|
}
|
|
611
612
|
),
|
|
612
|
-
_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, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-24" }) }, section.id))
|
|
613
614
|
] }) });
|
|
614
615
|
}
|
|
615
616
|
function TrustCenterSkeleton() {
|
|
616
617
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
617
618
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, "aria-hidden": "true", children: [
|
|
618
619
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
619
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "size-3 rounded-full" }),
|
|
621
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-44" })
|
|
621
622
|
] }),
|
|
622
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: [
|
|
623
624
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
624
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
625
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
625
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.UnifiedSkeleton, { className: "size-4 rounded" }),
|
|
626
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-36" })
|
|
626
627
|
] }),
|
|
627
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
628
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UDBK2YGcjs.TextSkeleton.Body, { className: "w-44" })
|
|
628
629
|
] })
|
|
629
630
|
] }),
|
|
630
631
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_BODY_GRID_CLASS, "aria-busy": "true", "aria-label": "Loading the trust center", children: [
|
|
631
632
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_SECTIONS_COLUMN_CLASS, children: [
|
|
632
|
-
/* @__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, _chunk6PPEG2N4cjs.StackedRowsPanel, { rows: skeletonRows(3, { mark: "logo", action: "badge" }) }) }),
|
|
633
634
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "controls", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsSectionSkeleton, {}) }),
|
|
634
|
-
/* @__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, _chunk6PPEG2N4cjs.StackedRowsPanel, { rows: skeletonRows(2, { mark: "glyph", action: "button" }) }) })
|
|
635
636
|
] }),
|
|
636
637
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden lg:block", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SectionRailSkeleton, {}) })
|
|
637
638
|
] })
|
|
@@ -680,7 +681,7 @@ function TrustCenterPage({
|
|
|
680
681
|
initialData,
|
|
681
682
|
revalidateOnVisibleAfterMs: _chunkQRUW4UXBcjs.TRUST_CENTER_CACHE_SECONDS * 1e3
|
|
682
683
|
});
|
|
683
|
-
const hydrated =
|
|
684
|
+
const hydrated = _chunk3UDBK2YGcjs.useIsHydrated.call(void 0, );
|
|
684
685
|
const [clock, setClock] = _react.useState.call(void 0, () => ({ data, nowMs: Date.now() }));
|
|
685
686
|
if (clock.data !== data) {
|
|
686
687
|
setClock(() => ({ data, nowMs: Date.now() }));
|
|
@@ -696,11 +697,11 @@ function TrustCenterPage({
|
|
|
696
697
|
documentTitle: null
|
|
697
698
|
});
|
|
698
699
|
const sections = _react.useMemo.call(void 0, () => data ? visibleSections(data) : [], [data]);
|
|
699
|
-
const { activeSection } =
|
|
700
|
+
const { activeSection } = _chunkEQIBWG5Ucjs.useScrollSpy.call(void 0, sections, { syncHash: true });
|
|
700
701
|
const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
|
|
701
702
|
_chunkV2A4MAALcjs.navigateSamePageHash.call(void 0, `#${sectionId}`, { headerOffset: _chunkV2A4MAALcjs.STICKY_HEADER_OFFSET_PX, history: "replace" });
|
|
702
703
|
}, []);
|
|
703
|
-
|
|
704
|
+
_chunkAXMNWMAUcjs.useScrollToHash.call(void 0, sections.length > 0 ? sections.map((section) => section.id).join("|") : null, {
|
|
704
705
|
headerOffset: _chunkV2A4MAALcjs.STICKY_HEADER_OFFSET_PX
|
|
705
706
|
});
|
|
706
707
|
const openRequest = _react.useCallback.call(void 0, (documentTitle) => setRequest({ open: true, documentTitle }), []);
|
|
@@ -735,24 +736,24 @@ function TrustCenterPage({
|
|
|
735
736
|
lead: TRUST_SECTION_LEADS.subprocessors,
|
|
736
737
|
render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubprocessorsSection, { subprocessors: d.subprocessors })
|
|
737
738
|
},
|
|
738
|
-
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
739
|
+
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG64BDYU5cjs.FaqSection, { initialFaqs: d.faqs, heading: null }) },
|
|
739
740
|
contact: { render: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContactSection, { onContact: () => openRequest(null) }) }
|
|
740
741
|
};
|
|
741
742
|
let body;
|
|
742
743
|
if (error && !data) {
|
|
743
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
744
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6PPEG2N4cjs.LoadError, { message: "Could not load the trust center", onRetry: reload });
|
|
744
745
|
} else if (!data) {
|
|
745
746
|
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) : null;
|
|
746
747
|
} else {
|
|
747
748
|
const status = monitoringStatus(data, hydrated, nowMs);
|
|
748
749
|
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
749
750
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, children: [
|
|
750
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
751
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6PPEG2N4cjs.StatusIndicator, { status: status.status, label: status.label }),
|
|
751
752
|
data.connected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
752
|
-
|
|
753
|
+
_chunk6PPEG2N4cjs.DataAttribution,
|
|
753
754
|
{
|
|
754
755
|
icon: data.dataSource.logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
755
|
-
|
|
756
|
+
_chunk6PPEG2N4cjs.EntityImage,
|
|
756
757
|
{
|
|
757
758
|
src: data.dataSource.logoUrl,
|
|
758
759
|
alt: data.dataSource.name,
|
|
@@ -771,7 +772,7 @@ function TrustCenterPage({
|
|
|
771
772
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustSection, { id: section.id, title: section.label, lead: view.lead, children: view.render(data) }, section.id);
|
|
772
773
|
}) }),
|
|
773
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: _chunkV2A4MAALcjs.STICKY_HEADER_OFFSET_PX }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
774
|
-
|
|
775
|
+
_chunkD6IOMPAHcjs.StickySectionNav,
|
|
775
776
|
{
|
|
776
777
|
sections: sections.map((section) => ({ id: section.id, label: section.label })),
|
|
777
778
|
activeSection,
|
|
@@ -803,7 +804,7 @@ function TrustCenterChrome({
|
|
|
803
804
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
804
805
|
const backCfg = backButton === false ? void 0 : { label: _nullishCoalesce(backButton.label, () => ( "Back to home")), onClick: () => router.push(_nullishCoalesce(backButton.href, () => ( "/"))) };
|
|
805
806
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
806
|
-
|
|
807
|
+
_chunk6PPEG2N4cjs.PageLayout,
|
|
807
808
|
{
|
|
808
809
|
title,
|
|
809
810
|
subtitle,
|
|
@@ -815,7 +816,7 @@ function TrustCenterChrome({
|
|
|
815
816
|
children
|
|
816
817
|
}
|
|
817
818
|
);
|
|
818
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
819
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6PPEG2N4cjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
819
820
|
}
|
|
820
821
|
function TrustCenterPageSkeleton({
|
|
821
822
|
shell = true,
|
|
@@ -838,5 +839,5 @@ function TrustCenterPageSkeleton({
|
|
|
838
839
|
|
|
839
840
|
|
|
840
841
|
|
|
841
|
-
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage =
|
|
842
|
+
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage = _chunkEQIBWG5Ucjs.DocsHubPage; exports.FaqDocumentPage = _chunkG64BDYU5cjs.FaqDocumentPage; exports.HelpCenterList = _chunk3EIB5PNMcjs.HelpCenterList; exports.LegalDocumentPage = _chunkBAEHCDPIcjs.LegalDocumentPage; exports.OnboardingGuideDetailView = _chunkNYDFVUMHcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogPage = OnboardingGuidesCatalogPage; exports.ProductReleasesListPage = ProductReleasesListPage; exports.ReleaseDetailPage = _chunkBAEHCDPIcjs.ReleaseDetailPage; exports.RoadmapPage = RoadmapPage; exports.TrustCenterPage = TrustCenterPage; exports.TrustCenterPageSkeleton = TrustCenterPageSkeleton;
|
|
842
843
|
//# sourceMappingURL=index.cjs.map
|