@flamingo-stack/openframe-frontend-core 0.0.718 → 0.0.720
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-MIQLUUVF.cjs → chunk-2C72EWQR.cjs} +93 -29
- package/dist/{chunk-IWCPXJEE.js → chunk-3HZ6XSZC.js} +2 -4
- package/dist/{chunk-ZXCZYMN4.cjs → chunk-4SIZCHVZ.cjs} +13 -15
- package/dist/{chunk-BOTM373R.cjs → chunk-5XDCCQ4A.cjs} +15 -15
- package/dist/{chunk-DXCBOZVT.cjs → chunk-6BLN5WDS.cjs} +41 -41
- package/dist/{chunk-DCD5WZUF.js → chunk-6W46LVK4.js} +5 -5
- package/dist/{chunk-JHQ334WS.js → chunk-742BGXNX.js} +2 -0
- package/dist/{chunk-AECTRMGQ.cjs → chunk-7GRPR7XA.cjs} +13 -1
- package/dist/{chunk-45F7PXUI.js → chunk-7HYEQKN6.js} +6 -6
- package/dist/{chunk-N2PF5CFX.js → chunk-7IOU6BJE.js} +12 -11
- package/dist/{chunk-BWIN42ZA.cjs → chunk-7LPR4RZ3.cjs} +34 -36
- package/dist/chunk-AFTRPEXO.js +13 -0
- package/dist/{chunk-JPD4NXH6.js → chunk-AZRI4XBP.js} +1 -1
- package/dist/{chunk-4QFWGLZO.js → chunk-B2N4YX66.js} +1 -1
- package/dist/{chunk-QXZCLQNV.js → chunk-B5LNX4GZ.js} +2 -2
- package/dist/{chunk-GN4A7PMB.cjs → chunk-DHNJSQGX.cjs} +91 -91
- package/dist/{chunk-NDZ5ZXOQ.cjs → chunk-DOPOHO6H.cjs} +20 -20
- package/dist/{chunk-Z3CVSPO3.cjs → chunk-DYDDAA6O.cjs} +519 -518
- package/dist/{chunk-2RKFMUNW.cjs → chunk-EVMM3JE6.cjs} +64 -63
- package/dist/chunk-EWPR7662.cjs +13 -0
- package/dist/{chunk-AGVXKD4K.js → chunk-FSQQZFVG.js} +12 -0
- package/dist/{chunk-TTVOLEUS.js → chunk-GANIUMRU.js} +89 -2
- package/dist/{chunk-S2FUFMLW.cjs → chunk-HFEYEPOG.cjs} +27 -27
- package/dist/{chunk-LE5WKGJV.cjs → chunk-HTS46FFY.cjs} +3 -3
- package/dist/{chunk-6A43ZDWV.cjs → chunk-IL3ZWNM2.cjs} +4 -4
- package/dist/{chunk-PSVSEN4J.cjs → chunk-IMTY3GRR.cjs} +2 -0
- package/dist/{chunk-YC5COB5V.cjs → chunk-ISCZ6UNF.cjs} +85 -89
- package/dist/{chunk-XGHGGBM3.js → chunk-K2BYVPGR.js} +3 -3
- package/dist/{chunk-HWVUR735.cjs → chunk-KSGMZHVV.cjs} +2 -2
- package/dist/{chunk-SGFTTJKO.js → chunk-LO3KCLEF.js} +1 -1
- package/dist/{chunk-MA4Q5RBP.cjs → chunk-NYSMDM4J.cjs} +2 -2
- package/dist/{chunk-67QBMN4R.js → chunk-O3MKJU6A.js} +6 -6
- package/dist/{chunk-APJZBDQN.js → chunk-PSMJYZMV.js} +27 -26
- package/dist/{chunk-JH2SIWPQ.js → chunk-PXAKSPLZ.js} +1586 -1263
- package/dist/{chunk-TBCZCRQ5.js → chunk-Q5327DXK.js} +13 -17
- package/dist/{chunk-EZC2F5OT.cjs → chunk-QF464PPL.cjs} +39 -39
- package/dist/{chunk-UWQWMGJ7.cjs → chunk-RDP5UZXQ.cjs} +888 -565
- package/dist/{chunk-ETYLOZOB.cjs → chunk-RFUOIQSG.cjs} +100 -13
- package/dist/{chunk-DC4RTYWK.cjs → chunk-RZQGIWK3.cjs} +3 -3
- package/dist/{chunk-PQ6HBLZ7.js → chunk-TORERAXD.js} +105 -41
- package/dist/{chunk-6YPTUHM7.js → chunk-URW23QUM.js} +1 -1
- package/dist/{chunk-QBCDSTLE.cjs → chunk-UWJMDFDO.cjs} +18 -18
- package/dist/{chunk-YEMCCYIF.js → chunk-V6B2FBZK.js} +5 -5
- package/dist/{chunk-JIWMBIVZ.js → chunk-VBHGJFA3.js} +10 -10
- package/dist/{chunk-Z5UWW3Z2.cjs → chunk-VF2CJXZ2.cjs} +81 -65
- package/dist/{chunk-DEZDMTBM.js → chunk-VYVPII4W.js} +8 -10
- package/dist/{chunk-MM7MCIXL.js → chunk-VYZCKY5K.js} +9 -9
- package/dist/{chunk-E7YCPY7K.cjs → chunk-XSM46FHD.cjs} +3 -3
- package/dist/{chunk-NZ5BHDFZ.js → chunk-XW3Q623Q.js} +1 -1
- package/dist/{chunk-LOYPRJWA.js → chunk-YK3X74SF.js} +67 -51
- package/dist/{chunk-WALCXC7J.cjs → chunk-ZHD3F2TH.cjs} +3 -3
- package/dist/{chunk-KBJJQFYU.js → chunk-ZPHOQDAE.js} +1 -1
- package/dist/{cloud-tenants-TAKOWXLD.js → cloud-tenants-RKQRSDNE.js} +9 -9
- package/dist/{cloud-tenants-PFDF7O5U.cjs → cloud-tenants-UQZASXUB.cjs} +10 -10
- package/dist/components/case-studies/index.cjs +23 -23
- package/dist/components/case-studies/index.js +10 -10
- package/dist/components/chat/ask-prompts.d.ts +10 -2
- package/dist/components/chat/ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/assistant-ask-prompts.d.ts +27 -0
- package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/hooks/index.d.ts +1 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +63 -0
- package/dist/components/chat/hooks/use-ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/index.cjs +23 -6
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +22 -5
- package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +11 -11
- package/dist/components/contact/index.js +10 -10
- package/dist/components/docs/index.cjs +14 -14
- package/dist/components/docs/index.js +13 -13
- package/dist/components/embeds/index.cjs +11 -11
- package/dist/components/embeds/index.js +10 -10
- package/dist/components/faq/faq-ask-card.d.ts +44 -0
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -0
- package/dist/components/faq/faq-document-page.d.ts +5 -1
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-section.d.ts +18 -5
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +13 -12
- package/dist/components/faq/index.d.ts +1 -0
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +12 -11
- package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
- package/dist/components/features/index.cjs +10 -10
- package/dist/components/features/index.js +9 -9
- package/dist/components/features/remote-session/remote-desktop-view.d.ts +6 -2
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +104 -105
- package/dist/components/help-center-pages/index.js +28 -29
- package/dist/components/help-center-pages/trust-center-page.d.ts +4 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/index.cjs +109 -197
- package/dist/components/index.js +228 -316
- package/dist/components/meeting-scheduler/index.cjs +50 -51
- package/dist/components/meeting-scheduler/index.js +12 -13
- package/dist/components/navigation/index.cjs +13 -13
- package/dist/components/navigation/index.js +12 -12
- package/dist/components/navigation/mingo-ai-button.d.ts +1 -1
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +13 -14
- package/dist/components/onboarding-guides/index.js +12 -13
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/product-demo/index.js +7 -7
- package/dist/components/related-content/index.cjs +5 -7
- package/dist/components/related-content/index.js +4 -6
- package/dist/components/related-content/related-content-section.d.ts +6 -6
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +15 -15
- package/dist/components/tickets/index.js +14 -14
- package/dist/components/ui/index.cjs +26 -10
- package/dist/components/ui/index.js +25 -9
- package/dist/contexts/assistant-runtime-context.d.ts +74 -0
- package/dist/contexts/assistant-runtime-context.d.ts.map +1 -0
- package/dist/contexts/index.cjs +7 -1
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts/index.d.ts.map +1 -1
- package/dist/contexts/index.js +6 -0
- package/dist/{devices-KRCGZMGA.cjs → devices-7Q2EUM7B.cjs} +11 -11
- package/dist/{devices-LHEX7O5T.js → devices-U3Y4IIW4.js} +9 -9
- package/dist/hooks/index.cjs +3 -4
- package/dist/hooks/index.js +2 -3
- package/dist/hooks/use-self-fetch.d.ts +3 -0
- package/dist/hooks/use-self-fetch.d.ts.map +1 -1
- package/dist/index.cjs +34 -14
- package/dist/index.js +33 -13
- package/dist/{knowledge-RZSFNR33.js → knowledge-NST53EXE.js} +9 -9
- package/dist/{knowledge-KLVPVEYZ.cjs → knowledge-UYIZ74MA.cjs} +11 -11
- package/dist/{logs-OX3XTVL2.cjs → logs-HTH7X7KV.cjs} +18 -18
- package/dist/{logs-E5DOV5JO.js → logs-JVTRG232.js} +9 -9
- package/dist/{policies-MC2S4S5G.js → policies-DTXTRK56.js} +9 -9
- package/dist/{policies-FOSCIZGK.cjs → policies-MXK2HB4W.cjs} +14 -14
- package/dist/{remote-session-JQ2BPIE3.js → remote-session-LAJZKQBN.js} +3 -3
- package/dist/{remote-session-DRFE5XZE.cjs → remote-session-SKKF4PBV.cjs} +5 -5
- package/dist/{software-update-D4OEIH65.js → software-update-6RHMPM3W.js} +9 -9
- package/dist/{software-update-HOBSTWVO.cjs → software-update-P6BSM6HX.cjs} +14 -14
- package/dist/utils/index.cjs +26 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +25 -3
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/dist/utils/trial.d.ts +18 -0
- package/dist/utils/trial.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/chat/ask-prompts.tsx +25 -3
- package/src/components/chat/assistant-ask-prompts.tsx +78 -0
- package/src/components/chat/entity-cards/dispatch.tsx +38 -4
- package/src/components/chat/hooks/index.ts +12 -0
- package/src/components/chat/hooks/use-ask-prompts.ts +188 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/utils/icon-library.tsx +6 -0
- package/src/components/faq/faq-ask-card.tsx +115 -0
- package/src/components/faq/faq-document-page.tsx +6 -1
- package/src/components/faq/faq-section.tsx +27 -5
- package/src/components/faq/index.ts +1 -0
- package/src/components/features/auth/auth-benefits-panel.tsx +5 -4
- package/src/components/features/remote-session/remote-desktop-view.tsx +86 -63
- package/src/components/help-center-pages/trust-center-page.tsx +5 -2
- package/src/components/navigation/mingo-ai-button.tsx +27 -6
- package/src/components/related-content/related-content-section.tsx +46 -47
- package/src/contexts/assistant-runtime-context.tsx +84 -0
- package/src/contexts/index.ts +9 -0
- package/src/hooks/use-self-fetch.ts +7 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/list-url.ts +4 -0
- package/src/utils/source-icons.ts +10 -2
- package/src/utils/trial.ts +19 -0
- package/dist/chunk-AUMKE74M.cjs +0 -16
- package/dist/chunk-G3GRYDMS.js +0 -16
- package/dist/chunk-GEDY7HQI.cjs +0 -85
- package/dist/chunk-YBQQNDC7.js +0 -85
|
@@ -6,41 +6,40 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkISCZ6UNFcjs = require('../../chunk-ISCZ6UNF.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('../../chunk-
|
|
14
|
-
require('../../chunk-
|
|
12
|
+
var _chunk6BLN5WDScjs = require('../../chunk-6BLN5WDS.cjs');
|
|
13
|
+
require('../../chunk-ZHD3F2TH.cjs');
|
|
14
|
+
require('../../chunk-KSGMZHVV.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk2C72EWQRcjs = require('../../chunk-2C72EWQR.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkHTS46FFYcjs = require('../../chunk-HTS46FFY.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkDHNJSQGXcjs = require('../../chunk-DHNJSQGX.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkHFEYEPOGcjs = require('../../chunk-HFEYEPOG.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
33
|
-
require('../../chunk-
|
|
34
|
-
require('../../chunk-
|
|
32
|
+
var _chunkDOPOHO6Hcjs = require('../../chunk-DOPOHO6H.cjs');
|
|
33
|
+
require('../../chunk-NYSMDM4J.cjs');
|
|
34
|
+
require('../../chunk-XSM46FHD.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
39
|
-
require('../../chunk-
|
|
40
|
-
require('../../chunk-
|
|
38
|
+
var _chunk7LPR4RZ3cjs = require('../../chunk-7LPR4RZ3.cjs');
|
|
39
|
+
require('../../chunk-IL3ZWNM2.cjs');
|
|
40
|
+
require('../../chunk-5XDCCQ4A.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var _chunkGEDY7HQIcjs = require('../../chunk-GEDY7HQI.cjs');
|
|
44
43
|
|
|
45
44
|
|
|
46
45
|
|
|
@@ -48,24 +47,21 @@ var _chunkGEDY7HQIcjs = require('../../chunk-GEDY7HQI.cjs');
|
|
|
48
47
|
|
|
49
48
|
|
|
50
49
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
var _chunkZ3CVSPO3cjs = require('../../chunk-Z3CVSPO3.cjs');
|
|
50
|
+
var _chunkDYDDAA6Ocjs = require('../../chunk-DYDDAA6O.cjs');
|
|
54
51
|
require('../../chunk-4HJRHEXD.cjs');
|
|
55
52
|
require('../../chunk-HQQE74RO.cjs');
|
|
56
53
|
require('../../chunk-DEY6XXGO.cjs');
|
|
57
54
|
|
|
58
55
|
|
|
59
56
|
|
|
60
|
-
var
|
|
57
|
+
var _chunkVF2CJXZ2cjs = require('../../chunk-VF2CJXZ2.cjs');
|
|
61
58
|
|
|
62
59
|
|
|
63
|
-
var
|
|
60
|
+
var _chunk4SIZCHVZcjs = require('../../chunk-4SIZCHVZ.cjs');
|
|
64
61
|
require('../../chunk-B4NCVYEQ.cjs');
|
|
65
62
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
66
63
|
require('../../chunk-A6P6DHEZ.cjs');
|
|
67
64
|
require('../../chunk-WBNAEYTQ.cjs');
|
|
68
|
-
require('../../chunk-AUMKE74M.cjs');
|
|
69
65
|
require('../../chunk-LX22Y43B.cjs');
|
|
70
66
|
|
|
71
67
|
|
|
@@ -73,14 +69,15 @@ require('../../chunk-LX22Y43B.cjs');
|
|
|
73
69
|
|
|
74
70
|
|
|
75
71
|
|
|
76
|
-
var
|
|
72
|
+
var _chunkRDP5UZXQcjs = require('../../chunk-RDP5UZXQ.cjs');
|
|
77
73
|
require('../../chunk-KT3U3ZRP.cjs');
|
|
74
|
+
require('../../chunk-EWPR7662.cjs');
|
|
78
75
|
|
|
79
76
|
|
|
80
77
|
|
|
81
78
|
|
|
82
79
|
|
|
83
|
-
var
|
|
80
|
+
var _chunkRZQGIWK3cjs = require('../../chunk-RZQGIWK3.cjs');
|
|
84
81
|
require('../../chunk-FFT56TYB.cjs');
|
|
85
82
|
|
|
86
83
|
|
|
@@ -106,14 +103,15 @@ var _chunk7DNL734Scjs = require('../../chunk-7DNL734S.cjs');
|
|
|
106
103
|
|
|
107
104
|
|
|
108
105
|
|
|
109
|
-
|
|
106
|
+
|
|
107
|
+
var _chunkRFUOIQSGcjs = require('../../chunk-RFUOIQSG.cjs');
|
|
110
108
|
require('../../chunk-AL2GUHAJ.cjs');
|
|
111
109
|
|
|
112
110
|
|
|
113
|
-
var
|
|
111
|
+
var _chunkIMTY3GRRcjs = require('../../chunk-IMTY3GRR.cjs');
|
|
114
112
|
require('../../chunk-F5BPGWGT.cjs');
|
|
115
113
|
require('../../chunk-MGHIV4L6.cjs');
|
|
116
|
-
require('../../chunk-
|
|
114
|
+
require('../../chunk-7GRPR7XA.cjs');
|
|
117
115
|
require('../../chunk-UJ7AXHRZ.cjs');
|
|
118
116
|
require('../../chunk-AAYNCJMW.cjs');
|
|
119
117
|
require('../../chunk-ULWVKHSI.cjs');
|
|
@@ -156,9 +154,9 @@ function RoadmapPage({
|
|
|
156
154
|
belowContent,
|
|
157
155
|
shell
|
|
158
156
|
}) {
|
|
159
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
157
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOPOHO6Hcjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
|
|
160
158
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
161
|
-
|
|
159
|
+
_chunkISCZ6UNFcjs.RoadmapView,
|
|
162
160
|
{
|
|
163
161
|
endpoint: roadmapEndpoint,
|
|
164
162
|
initialItems,
|
|
@@ -184,9 +182,9 @@ function ProductReleasesListPage({
|
|
|
184
182
|
belowContent,
|
|
185
183
|
shell
|
|
186
184
|
}) {
|
|
187
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
185
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOPOHO6Hcjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
|
|
188
186
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
189
|
-
|
|
187
|
+
_chunkISCZ6UNFcjs.ProductReleasesView,
|
|
190
188
|
{
|
|
191
189
|
endpoint: releasesEndpoint,
|
|
192
190
|
basePath,
|
|
@@ -209,8 +207,8 @@ function DeliveryPage({
|
|
|
209
207
|
belowContent,
|
|
210
208
|
shell
|
|
211
209
|
}) {
|
|
212
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
213
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
210
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOPOHO6Hcjs.DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
|
|
211
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkISCZ6UNFcjs.DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
|
|
214
212
|
belowContent
|
|
215
213
|
] });
|
|
216
214
|
}
|
|
@@ -230,9 +228,9 @@ function OnboardingGuidesCatalogPage({
|
|
|
230
228
|
belowContent,
|
|
231
229
|
shell
|
|
232
230
|
}) {
|
|
233
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
231
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDOPOHO6Hcjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
|
|
234
232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
235
|
-
|
|
233
|
+
_chunk7LPR4RZ3cjs.OnboardingGuidesCatalogView,
|
|
236
234
|
{
|
|
237
235
|
guidesEndpoint,
|
|
238
236
|
sectionsEndpoint,
|
|
@@ -284,7 +282,7 @@ function TrustSection({
|
|
|
284
282
|
style: { scrollMarginTop: _chunkGQ7JJUITcjs.STICKY_HEADER_OFFSET_PX },
|
|
285
283
|
children: [
|
|
286
284
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
287
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className:
|
|
285
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className: _chunkRFUOIQSGcjs.SECTION_HEADING_CLASS, children: title }),
|
|
288
286
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
289
287
|
] }),
|
|
290
288
|
children
|
|
@@ -305,18 +303,18 @@ function AiSection({ practices }) {
|
|
|
305
303
|
}
|
|
306
304
|
]
|
|
307
305
|
}));
|
|
308
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
306
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.StackedRowsPanel, { rows });
|
|
309
307
|
}
|
|
310
308
|
function ComplianceSection({ frameworks }) {
|
|
311
309
|
const rows = frameworks.map((framework) => {
|
|
312
|
-
const entry =
|
|
310
|
+
const entry = _chunkRFUOIQSGcjs.trustFrameworkMonitoringEntry.call(void 0, framework.monitoring);
|
|
313
311
|
const Icon = FRAMEWORK_ICONS[entry.icon];
|
|
314
312
|
return {
|
|
315
313
|
id: framework.id,
|
|
316
314
|
columns: [
|
|
317
315
|
{
|
|
318
316
|
key: "framework",
|
|
319
|
-
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
317
|
+
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.ComplianceLogo, { names: [framework.standard, framework.label], fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { "aria-hidden": "true" }) }),
|
|
320
318
|
value: framework.label,
|
|
321
319
|
label: _nullishCoalesce(framework.description, () => ( void 0)),
|
|
322
320
|
wrap: true
|
|
@@ -325,12 +323,12 @@ function ComplianceSection({ frameworks }) {
|
|
|
325
323
|
key: "monitoring",
|
|
326
324
|
width: ACTION_COLUMN,
|
|
327
325
|
align: "right",
|
|
328
|
-
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
326
|
+
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRFUOIQSGcjs.StatusBadge, { text: _chunkRFUOIQSGcjs.trustFrameworkBadge.call(void 0, framework), colorScheme: entry.color, singleLine: true })
|
|
329
327
|
}
|
|
330
328
|
]
|
|
331
329
|
};
|
|
332
330
|
});
|
|
333
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
331
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.StackedRowsPanel, { rows });
|
|
334
332
|
}
|
|
335
333
|
var CONTROL_ROW_CLASS = "h-14 content-md:h-20 overflow-hidden";
|
|
336
334
|
function controlRows(controls) {
|
|
@@ -363,22 +361,22 @@ function ControlsListSkeleton() {
|
|
|
363
361
|
{
|
|
364
362
|
key: "control",
|
|
365
363
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
366
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
367
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
364
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-2/3" }),
|
|
365
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Caption, { className: "w-full" })
|
|
368
366
|
] })
|
|
369
367
|
}
|
|
370
368
|
]
|
|
371
369
|
}));
|
|
372
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
370
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.StackedRowsPanel, { rows });
|
|
373
371
|
}
|
|
374
372
|
function ControlsSection({ endpoint, seed }) {
|
|
375
373
|
const [domain, setDomain] = _react.useState.call(void 0, seed.domain);
|
|
376
374
|
const [typed, setTyped] = _react.useState.call(void 0, "");
|
|
377
|
-
const query = _chunkGQ7JJUITcjs.useDebounce.call(void 0,
|
|
378
|
-
const url =
|
|
379
|
-
const seedUrl =
|
|
380
|
-
const answer =
|
|
381
|
-
const typedQuery =
|
|
375
|
+
const query = _chunkGQ7JJUITcjs.useDebounce.call(void 0, _chunkRFUOIQSGcjs.normalizeTrustControlQuery.call(void 0, typed), _chunkRFUOIQSGcjs.TRUST_CENTER_SEARCH_DEBOUNCE_MS);
|
|
376
|
+
const url = _chunkRFUOIQSGcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain, query });
|
|
377
|
+
const seedUrl = _chunkRFUOIQSGcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain: seed.domain, query: "" });
|
|
378
|
+
const answer = _chunkRFUOIQSGcjs.useSelfFetch.call(void 0, url, url === seedUrl ? { initialData: seed } : void 0);
|
|
379
|
+
const typedQuery = _chunkRFUOIQSGcjs.normalizeTrustControlQuery.call(void 0, typed);
|
|
382
380
|
const current = answer.data && !answer.isLoading && typedQuery === query && answer.data.query === query ? answer.data : null;
|
|
383
381
|
const [categories, setCategories] = _react.useState.call(void 0, seed.categories);
|
|
384
382
|
if (current && current.categories !== categories) setCategories(current.categories);
|
|
@@ -397,12 +395,12 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
397
395
|
else summary = `${countLabel(current.controls.length, "passing control")} in ${current.domain}`;
|
|
398
396
|
let body;
|
|
399
397
|
if (answer.error && !current) {
|
|
400
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
398
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.LoadError, { message: "Could not load the controls", onRetry: answer.reload });
|
|
401
399
|
} else if (!current) {
|
|
402
400
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {});
|
|
403
401
|
} else if (current.controls.length === 0) {
|
|
404
402
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
405
|
-
|
|
403
|
+
_chunkDOPOHO6Hcjs.ListEmptyState,
|
|
406
404
|
{
|
|
407
405
|
isFiltered: true,
|
|
408
406
|
filtered: {
|
|
@@ -415,11 +413,11 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
415
413
|
}
|
|
416
414
|
);
|
|
417
415
|
} else {
|
|
418
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
416
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.StackedRowsPanel, { rows: controlRows(current.controls) });
|
|
419
417
|
}
|
|
420
418
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
421
419
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
422
|
-
|
|
420
|
+
_chunkDYDDAA6Ocjs.TabNavigation,
|
|
423
421
|
{
|
|
424
422
|
tabs,
|
|
425
423
|
activeTab,
|
|
@@ -429,7 +427,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
429
427
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)] content-md:flex-row content-md:items-center content-md:justify-between", children: [
|
|
430
428
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, "aria-live": "polite", children: summary }),
|
|
431
429
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-md:w-80", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
432
|
-
|
|
430
|
+
_chunkDYDDAA6Ocjs.SearchInput,
|
|
433
431
|
{
|
|
434
432
|
placeholder: "Search controls",
|
|
435
433
|
value: typed,
|
|
@@ -439,7 +437,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
439
437
|
}
|
|
440
438
|
) })
|
|
441
439
|
] }),
|
|
442
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
440
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.ScrollShadow, { className: CONTROLS_LIST_HEIGHT, scrollClassName: "h-full", "data-testid": "controls-list", children: body })
|
|
443
441
|
] });
|
|
444
442
|
}
|
|
445
443
|
function DocumentsSection({
|
|
@@ -478,7 +476,7 @@ function DocumentsSection({
|
|
|
478
476
|
]
|
|
479
477
|
};
|
|
480
478
|
});
|
|
481
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
479
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.StackedRowsPanel, { rows });
|
|
482
480
|
}
|
|
483
481
|
function DocumentRequestModal({
|
|
484
482
|
open,
|
|
@@ -487,12 +485,12 @@ function DocumentRequestModal({
|
|
|
487
485
|
onClose
|
|
488
486
|
}) {
|
|
489
487
|
const message = documentTitle ? `I'd like access to: ${documentTitle}.` : "I'd like access to your gated security documentation.";
|
|
490
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
491
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
492
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
488
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRZQGIWK3cjs.Modal, { isOpen: open, onClose, size: "medium", children: [
|
|
489
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalTitle, { children: "Request access" }) }),
|
|
490
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRZQGIWK3cjs.ModalContent, { children: open ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
493
491
|
/* @__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." }),
|
|
494
492
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
495
|
-
|
|
493
|
+
_chunkHFEYEPOGcjs.ContactForm,
|
|
496
494
|
{
|
|
497
495
|
rescue: _chunkGQ7JJUITcjs.RESCUE_FORMS.trustCenterRequest,
|
|
498
496
|
title: "",
|
|
@@ -510,12 +508,12 @@ function DocumentRequestModal({
|
|
|
510
508
|
] });
|
|
511
509
|
}
|
|
512
510
|
function subprocessorMark({ name, logoUrl }) {
|
|
513
|
-
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
514
|
-
const logo =
|
|
515
|
-
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,
|
|
511
|
+
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVF2CJXZ2cjs.EntityImage, { src: logoUrl, alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
512
|
+
const logo = _chunkIMTY3GRRcjs.brandLogoForName.call(void 0, name);
|
|
513
|
+
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, _chunkVF2CJXZ2cjs.EntityImage, { alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
516
514
|
}
|
|
517
515
|
function countryWithFlag(country) {
|
|
518
|
-
const flag =
|
|
516
|
+
const flag = _chunkRDP5UZXQcjs.getFlagFromCountryName.call(void 0, country);
|
|
519
517
|
return flag ? `${flag} ${country}` : country;
|
|
520
518
|
}
|
|
521
519
|
function SubprocessorsSection({ subprocessors }) {
|
|
@@ -542,11 +540,11 @@ function SubprocessorsSection({ subprocessors }) {
|
|
|
542
540
|
] : []
|
|
543
541
|
]
|
|
544
542
|
}));
|
|
545
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
543
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.StackedRowsPanel, { rows });
|
|
546
544
|
}
|
|
547
545
|
function ContactSection({ onContact }) {
|
|
548
546
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
549
|
-
|
|
547
|
+
_chunkDYDDAA6Ocjs.StackedRowsPanel,
|
|
550
548
|
{
|
|
551
549
|
rows: [
|
|
552
550
|
{
|
|
@@ -572,11 +570,11 @@ function ContactSection({ onContact }) {
|
|
|
572
570
|
);
|
|
573
571
|
}
|
|
574
572
|
function SkeletonSection({ id, children }) {
|
|
575
|
-
const label = _nullishCoalesce(_optionalChain([
|
|
573
|
+
const label = _nullishCoalesce(_optionalChain([_chunkRFUOIQSGcjs.TRUST_CENTER_SECTIONS, 'access', _7 => _7.find, 'call', _8 => _8((section) => section.id === id), 'optionalAccess', _9 => _9.label]), () => ( id));
|
|
576
574
|
const lead = TRUST_SECTION_LEADS[id];
|
|
577
575
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { "aria-hidden": "true", className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
578
576
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
577
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkRFUOIQSGcjs.SECTION_HEADING_CLASS, children: label }),
|
|
580
578
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
581
579
|
] }),
|
|
582
580
|
children
|
|
@@ -590,14 +588,14 @@ function skeletonRows(count, shape) {
|
|
|
590
588
|
key: "item",
|
|
591
589
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-s)]", children: [
|
|
592
590
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
593
|
-
|
|
591
|
+
_chunkRDP5UZXQcjs.UnifiedSkeleton,
|
|
594
592
|
{
|
|
595
593
|
className: shape.mark === "logo" ? "size-10 shrink-0 rounded-full" : "size-6 shrink-0 rounded"
|
|
596
594
|
}
|
|
597
595
|
),
|
|
598
596
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
599
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
600
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-1/3 content-md:h-6" }),
|
|
598
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
601
599
|
] })
|
|
602
600
|
] })
|
|
603
601
|
},
|
|
@@ -605,17 +603,17 @@ function skeletonRows(count, shape) {
|
|
|
605
603
|
key: "action",
|
|
606
604
|
width: ACTION_COLUMN,
|
|
607
605
|
align: "right",
|
|
608
|
-
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
606
|
+
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-4 w-28 rounded" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-6 w-16 rounded content-md:h-8" })
|
|
609
607
|
}
|
|
610
608
|
]
|
|
611
609
|
}));
|
|
612
610
|
}
|
|
613
611
|
function ControlsSectionSkeleton() {
|
|
614
612
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
615
|
-
/* @__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,
|
|
613
|
+
/* @__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, _chunkRDP5UZXQcjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-36 content-md:h-6" }) }, index)) }),
|
|
616
614
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)] content-md:flex-row content-md:items-center content-md:justify-between", children: [
|
|
617
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
618
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
615
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-48" }),
|
|
616
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "h-11 w-full rounded-[6px] content-md:h-12 content-md:w-80" })
|
|
619
617
|
] }),
|
|
620
618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTROLS_LIST_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {}) })
|
|
621
619
|
] });
|
|
@@ -626,32 +624,32 @@ function SectionRailSkeleton() {
|
|
|
626
624
|
"div",
|
|
627
625
|
{
|
|
628
626
|
className: "absolute -left-0.5 top-0 w-px bg-ods-border",
|
|
629
|
-
style: { height:
|
|
627
|
+
style: { height: _chunkRFUOIQSGcjs.TRUST_CENTER_SECTIONS.length * 40 }
|
|
630
628
|
}
|
|
631
629
|
),
|
|
632
|
-
|
|
630
|
+
_chunkRFUOIQSGcjs.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, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-24" }) }, section.id))
|
|
633
631
|
] }) });
|
|
634
632
|
}
|
|
635
633
|
function TrustCenterSkeleton() {
|
|
636
634
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
637
635
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, "aria-hidden": "true", children: [
|
|
638
636
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
639
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
640
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
637
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "size-3 rounded-full" }),
|
|
638
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-44" })
|
|
641
639
|
] }),
|
|
642
640
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-xxs)] content-sm:flex-row content-sm:items-center content-sm:gap-[var(--spacing-system-sf)]", children: [
|
|
643
641
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
644
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
645
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
642
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.UnifiedSkeleton, { className: "size-4 rounded" }),
|
|
643
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-36" })
|
|
646
644
|
] }),
|
|
647
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
645
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRDP5UZXQcjs.TextSkeleton.Body, { className: "w-44" })
|
|
648
646
|
] })
|
|
649
647
|
] }),
|
|
650
648
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_BODY_GRID_CLASS, "aria-busy": "true", "aria-label": "Loading the trust center", children: [
|
|
651
649
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_SECTIONS_COLUMN_CLASS, children: [
|
|
652
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
650
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.StackedRowsPanel, { rows: skeletonRows(3, { mark: "logo", action: "badge" }) }) }),
|
|
653
651
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "controls", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsSectionSkeleton, {}) }),
|
|
654
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
652
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.StackedRowsPanel, { rows: skeletonRows(2, { mark: "glyph", action: "button" }) }) })
|
|
655
653
|
] }),
|
|
656
654
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden content-lg:block", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SectionRailSkeleton, {}) })
|
|
657
655
|
] })
|
|
@@ -670,7 +668,7 @@ function visibleSections(data) {
|
|
|
670
668
|
faq: data.faqs.length > 0,
|
|
671
669
|
contact: true
|
|
672
670
|
};
|
|
673
|
-
return
|
|
671
|
+
return _chunkRFUOIQSGcjs.TRUST_CENTER_SECTIONS.filter((section) => hasContent[section.id]);
|
|
674
672
|
}
|
|
675
673
|
function controlsSeed(data) {
|
|
676
674
|
const first = _nullishCoalesce(data.controlDomains[0], () => ( null));
|
|
@@ -686,21 +684,22 @@ var MONITORING_CLOCK_TICK_MS = 6e4;
|
|
|
686
684
|
function monitoringStatus(data, hydrated, nowMs) {
|
|
687
685
|
if (!data.connected) return { status: "missing", label: "Live control monitoring is not enabled yet" };
|
|
688
686
|
if (!hydrated) return { status: "missing", label: "Checking monitoring status" };
|
|
689
|
-
return
|
|
687
|
+
return _chunkRFUOIQSGcjs.isTrustCenterMonitored.call(void 0, data, nowMs) ? { status: "success", label: "Controls continuously monitored" } : { status: "pending", label: "Monitoring paused" };
|
|
690
688
|
}
|
|
691
689
|
function TrustCenterPage({
|
|
692
|
-
endpoint =
|
|
690
|
+
endpoint = _chunkRFUOIQSGcjs.TRUST_CENTER_API_PATH,
|
|
693
691
|
initialData,
|
|
694
692
|
shell = true,
|
|
695
693
|
backButton = false,
|
|
696
|
-
title =
|
|
697
|
-
subtitle =
|
|
694
|
+
title = _chunkRFUOIQSGcjs.TRUST_CENTER_TITLE,
|
|
695
|
+
subtitle = _chunkRFUOIQSGcjs.TRUST_CENTER_TAGLINE,
|
|
696
|
+
ask
|
|
698
697
|
}) {
|
|
699
|
-
const { data, isLoading, error, reload } =
|
|
698
|
+
const { data, isLoading, error, reload } = _chunkRFUOIQSGcjs.useSelfFetch.call(void 0, endpoint, {
|
|
700
699
|
initialData,
|
|
701
|
-
revalidateOnVisibleAfterMs:
|
|
700
|
+
revalidateOnVisibleAfterMs: _chunkRFUOIQSGcjs.TRUST_CENTER_CACHE_SECONDS * 1e3
|
|
702
701
|
});
|
|
703
|
-
const hydrated =
|
|
702
|
+
const hydrated = _chunkRDP5UZXQcjs.useIsHydrated.call(void 0, );
|
|
704
703
|
const [clock, setClock] = _react.useState.call(void 0, () => ({ data, nowMs: Date.now() }));
|
|
705
704
|
if (clock.data !== data) {
|
|
706
705
|
setClock(() => ({ data, nowMs: Date.now() }));
|
|
@@ -716,11 +715,11 @@ function TrustCenterPage({
|
|
|
716
715
|
documentTitle: null
|
|
717
716
|
});
|
|
718
717
|
const sections = _react.useMemo.call(void 0, () => data ? visibleSections(data) : [], [data]);
|
|
719
|
-
const { activeSection, handleSectionClick } =
|
|
718
|
+
const { activeSection, handleSectionClick } = _chunkHTS46FFYcjs.useScrollSpy.call(void 0, sections, {
|
|
720
719
|
syncHash: true,
|
|
721
720
|
headerOffset: _chunkGQ7JJUITcjs.STICKY_HEADER_OFFSET_PX
|
|
722
721
|
});
|
|
723
|
-
|
|
722
|
+
_chunk4SIZCHVZcjs.useScrollToHash.call(void 0, sections.length > 0 ? sections.map((section) => section.id).join("|") : null, {
|
|
724
723
|
headerOffset: _chunkGQ7JJUITcjs.STICKY_HEADER_OFFSET_PX
|
|
725
724
|
});
|
|
726
725
|
const openRequest = _react.useCallback.call(void 0, (documentTitle) => setRequest({ open: true, documentTitle }), []);
|
|
@@ -746,7 +745,7 @@ function TrustCenterPage({
|
|
|
746
745
|
DocumentsSection,
|
|
747
746
|
{
|
|
748
747
|
documents: d.documents,
|
|
749
|
-
documentUrl: (document) =>
|
|
748
|
+
documentUrl: (document) => _chunkRFUOIQSGcjs.trustCenterDocumentUrl.call(void 0, endpoint, document),
|
|
750
749
|
onRequest: openRequest
|
|
751
750
|
}
|
|
752
751
|
)
|
|
@@ -755,24 +754,24 @@ function TrustCenterPage({
|
|
|
755
754
|
lead: TRUST_SECTION_LEADS.subprocessors,
|
|
756
755
|
render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubprocessorsSection, { subprocessors: d.subprocessors })
|
|
757
756
|
},
|
|
758
|
-
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
757
|
+
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2C72EWQRcjs.FaqSection, { initialFaqs: d.faqs, heading: null, ask }) },
|
|
759
758
|
contact: { render: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContactSection, { onContact: () => openRequest(null) }) }
|
|
760
759
|
};
|
|
761
760
|
let body;
|
|
762
761
|
if (error && !data) {
|
|
763
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
762
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.LoadError, { message: "Could not load the trust center", onRetry: reload });
|
|
764
763
|
} else if (!data) {
|
|
765
764
|
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) : null;
|
|
766
765
|
} else {
|
|
767
766
|
const status = monitoringStatus(data, hydrated, nowMs);
|
|
768
767
|
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
769
768
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, children: [
|
|
770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
769
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.StatusIndicator, { status: status.status, label: status.label }),
|
|
771
770
|
data.connected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
772
|
-
|
|
771
|
+
_chunkDYDDAA6Ocjs.DataAttribution,
|
|
773
772
|
{
|
|
774
773
|
icon: data.dataSource.logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
775
|
-
|
|
774
|
+
_chunkVF2CJXZ2cjs.EntityImage,
|
|
776
775
|
{
|
|
777
776
|
src: data.dataSource.logoUrl,
|
|
778
777
|
alt: data.dataSource.name,
|
|
@@ -791,7 +790,7 @@ function TrustCenterPage({
|
|
|
791
790
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustSection, { id: section.id, title: section.label, lead: view.lead, children: view.render(data) }, section.id);
|
|
792
791
|
}) }),
|
|
793
792
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden content-lg:block", "aria-label": "Trust center sections", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top: _chunkGQ7JJUITcjs.STICKY_HEADER_OFFSET_PX }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
794
|
-
|
|
793
|
+
_chunkHTS46FFYcjs.StickySectionNav,
|
|
795
794
|
{
|
|
796
795
|
sections: sections.map((section) => ({ id: section.id, label: section.label })),
|
|
797
796
|
activeSection,
|
|
@@ -823,7 +822,7 @@ function TrustCenterChrome({
|
|
|
823
822
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
824
823
|
const backCfg = backButton === false ? void 0 : { label: _nullishCoalesce(backButton.label, () => ( "Back to home")), onClick: () => router.push(_nullishCoalesce(backButton.href, () => ( "/"))) };
|
|
825
824
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
826
|
-
|
|
825
|
+
_chunkVF2CJXZ2cjs.PageLayout,
|
|
827
826
|
{
|
|
828
827
|
title,
|
|
829
828
|
subtitle,
|
|
@@ -835,13 +834,13 @@ function TrustCenterChrome({
|
|
|
835
834
|
children
|
|
836
835
|
}
|
|
837
836
|
);
|
|
838
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
837
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDDAA6Ocjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
839
838
|
}
|
|
840
839
|
function TrustCenterPageSkeleton({
|
|
841
840
|
shell = true,
|
|
842
841
|
backButton = false,
|
|
843
|
-
title =
|
|
844
|
-
subtitle =
|
|
842
|
+
title = _chunkRFUOIQSGcjs.TRUST_CENTER_TITLE,
|
|
843
|
+
subtitle = _chunkRFUOIQSGcjs.TRUST_CENTER_TAGLINE
|
|
845
844
|
}) {
|
|
846
845
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChrome, { shell, title, subtitle, backButton, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) });
|
|
847
846
|
}
|
|
@@ -858,4 +857,4 @@ function TrustCenterPageSkeleton({
|
|
|
858
857
|
|
|
859
858
|
|
|
860
859
|
|
|
861
|
-
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage =
|
|
860
|
+
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage = _chunk6BLN5WDScjs.DocsHubPage; exports.FaqDocumentPage = _chunk2C72EWQRcjs.FaqDocumentPage; exports.HelpCenterList = _chunkDHNJSQGXcjs.HelpCenterList; exports.LegalDocumentPage = _chunkISCZ6UNFcjs.LegalDocumentPage; exports.OnboardingGuideDetailView = _chunk7LPR4RZ3cjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogPage = OnboardingGuidesCatalogPage; exports.ProductReleasesListPage = ProductReleasesListPage; exports.ReleaseDetailPage = _chunkISCZ6UNFcjs.ReleaseDetailPage; exports.RoadmapPage = RoadmapPage; exports.TrustCenterPage = TrustCenterPage; exports.TrustCenterPageSkeleton = TrustCenterPageSkeleton;
|