@flamingo-stack/openframe-frontend-core 0.0.720 → 0.0.721
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/assets/index.cjs +6 -0
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +5 -1
- package/dist/assets/mobile-app-qr.d.ts +17 -0
- package/dist/assets/mobile-app-qr.d.ts.map +1 -0
- package/dist/{chunk-7IOU6BJE.js → chunk-2P2M27EW.js} +2393 -2367
- package/dist/{chunk-3HZ6XSZC.js → chunk-2TXGR7IK.js} +136 -59
- package/dist/{chunk-LO3KCLEF.js → chunk-3LY7V3RF.js} +3 -3
- package/dist/{chunk-6BLN5WDS.cjs → chunk-3R32ZNA2.cjs} +40 -40
- package/dist/{chunk-WSDT7LYL.js → chunk-3UBWDR65.js} +1 -1
- package/dist/{chunk-XW3Q623Q.js → chunk-44Q6MV7C.js} +2 -2
- package/dist/{chunk-CMZ3QTFQ.js → chunk-4I3K6LEH.js} +24 -0
- package/dist/{chunk-4SIZCHVZ.cjs → chunk-4LY6R4TN.cjs} +126 -49
- package/dist/{chunk-TORERAXD.js → chunk-57UTI7ZH.js} +6 -6
- package/dist/{chunk-K2BYVPGR.js → chunk-5QXE5HMV.js} +4 -4
- package/dist/{chunk-QF464PPL.cjs → chunk-6AJIOW3S.cjs} +57 -57
- package/dist/{chunk-B2N4YX66.js → chunk-6YBUQAOH.js} +1 -1
- package/dist/{chunk-6W46LVK4.js → chunk-74N742ZG.js} +6 -6
- package/dist/{chunk-4HJRHEXD.cjs → chunk-7Z5FMQYR.cjs} +22 -22
- package/dist/{chunk-WBNAEYTQ.cjs → chunk-BYUIFT7Q.cjs} +6 -6
- package/dist/{chunk-VF2CJXZ2.cjs → chunk-BYVVE7HP.cjs} +58 -58
- package/dist/{chunk-AZRI4XBP.js → chunk-CO3FOZIH.js} +1 -1
- package/dist/{chunk-XSM46FHD.cjs → chunk-D2DH6VZL.cjs} +3 -3
- package/dist/{chunk-KSGMZHVV.cjs → chunk-DFM572VH.cjs} +2 -2
- package/dist/{chunk-YDPKUAP4.js → chunk-DJ4IFQNQ.js} +2 -0
- package/dist/{chunk-VBHGJFA3.js → chunk-E6SMMMKV.js} +12 -12
- package/dist/{chunk-DHNJSQGX.cjs → chunk-F7ORKKEF.cjs} +103 -103
- package/dist/{chunk-RFUOIQSG.cjs → chunk-GCK75D7F.cjs} +9 -9
- package/dist/{chunk-ZHD3F2TH.cjs → chunk-GGBYZKMS.cjs} +11 -11
- package/dist/{chunk-YK3X74SF.js → chunk-GYAXV3MZ.js} +3 -3
- package/dist/{chunk-RDP5UZXQ.cjs → chunk-HJMSNOBT.cjs} +344 -323
- package/dist/{chunk-DFQYAYBH.cjs → chunk-HQIOMFJH.cjs} +2 -0
- package/dist/{chunk-PXAKSPLZ.js → chunk-HXB7SEYG.js} +27 -6
- package/dist/{chunk-HTS46FFY.cjs → chunk-I2254QN6.cjs} +16 -16
- package/dist/{chunk-ILNN6QRW.js → chunk-JDBZ4ZHU.js} +3 -3
- package/dist/{chunk-GQ7JJUIT.cjs → chunk-K2JUJ37D.cjs} +25 -1
- package/dist/{chunk-URW23QUM.js → chunk-K76ACBR3.js} +2 -2
- package/dist/{chunk-2NASBO7O.js → chunk-KFOAV77K.js} +2 -2
- package/dist/{chunk-Q5327DXK.js → chunk-LAXKEBDD.js} +10 -10
- package/dist/{chunk-O3MKJU6A.js → chunk-LGKMR7NZ.js} +4 -4
- package/dist/{chunk-5XDCCQ4A.cjs → chunk-LODMNSQY.cjs} +13 -13
- package/dist/{chunk-V6B2FBZK.js → chunk-NJ5TBTJG.js} +7 -7
- package/dist/{chunk-HFEYEPOG.cjs → chunk-NMPVK53I.cjs} +29 -29
- package/dist/{chunk-GANIUMRU.js → chunk-NPSJE7J3.js} +1 -1
- package/dist/{chunk-IL3ZWNM2.cjs → chunk-O5EHOJZD.cjs} +4 -4
- package/dist/{chunk-KT3U3ZRP.cjs → chunk-OKE5BIQH.cjs} +8 -8
- package/dist/{chunk-RZQGIWK3.cjs → chunk-QLTXT562.cjs} +2 -2
- package/dist/{chunk-PSMJYZMV.js → chunk-QQCFPMAA.js} +2 -2
- package/dist/{chunk-7LPR4RZ3.cjs → chunk-QYS4YVEP.cjs} +31 -31
- package/dist/{chunk-VYVPII4W.js → chunk-RCI3PALX.js} +6 -6
- package/dist/{chunk-P3JMAMHP.js → chunk-REETLEL5.js} +1 -1
- package/dist/{chunk-2C72EWQR.cjs → chunk-RJMWJAJO.cjs} +26 -26
- package/dist/{chunk-ISCZ6UNF.cjs → chunk-RQZQHLNS.cjs} +73 -73
- package/dist/{chunk-FFT56TYB.cjs → chunk-RUZIICXT.cjs} +2 -2
- package/dist/{chunk-7HYEQKN6.js → chunk-S63QBBT7.js} +5 -5
- package/dist/{chunk-B5LNX4GZ.js → chunk-UXU7Y5BH.js} +2 -2
- package/dist/{chunk-DYDDAA6O.cjs → chunk-UZTOI6FJ.cjs} +766 -740
- package/dist/{chunk-EVMM3JE6.cjs → chunk-VFICDEYJ.cjs} +43 -43
- package/dist/{chunk-DOPOHO6H.cjs → chunk-XE2K53GH.cjs} +18 -18
- package/dist/{chunk-UWJMDFDO.cjs → chunk-XXO52RZR.cjs} +26 -26
- package/dist/{chunk-VYZCKY5K.js → chunk-ZLUFEWZZ.js} +7 -7
- package/dist/{chunk-NYSMDM4J.cjs → chunk-ZSOFLPQN.cjs} +7 -7
- package/dist/{chunk-ZPHOQDAE.js → chunk-ZZEKXGFS.js} +1 -1
- package/dist/{cloud-tenants-UQZASXUB.cjs → cloud-tenants-HZHKRUIW.cjs} +13 -13
- package/dist/{cloud-tenants-RKQRSDNE.js → cloud-tenants-Q4TCJS5Y.js} +12 -12
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/calendar.js +1 -1
- package/dist/components/case-studies/index.cjs +27 -27
- package/dist/components/case-studies/index.js +13 -13
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/chat/index.js +7 -7
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/contact/index.js +13 -13
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/docs/index.js +16 -16
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/embeds/index.js +13 -13
- package/dist/components/faq/index.cjs +14 -14
- package/dist/components/faq/index.js +13 -13
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/features/index.js +12 -12
- package/dist/components/help-center-pages/download-apps-page.d.ts +55 -0
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +329 -114
- package/dist/components/help-center-pages/index.d.ts +1 -0
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +243 -28
- package/dist/components/index.cjs +81 -79
- package/dist/components/index.js +28 -26
- package/dist/components/meeting-scheduler/index.cjs +51 -51
- package/dist/components/meeting-scheduler/index.js +14 -14
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/navigation/index.js +15 -15
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.js +15 -15
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/product-demo/index.js +8 -8
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/index.cjs +18 -18
- package/dist/components/tickets/index.js +17 -17
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/file-manager/index.js +1 -1
- package/dist/components/ui/index.cjs +15 -13
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +14 -12
- package/dist/components/ui/mobile-app-qr.d.ts +23 -0
- package/dist/components/ui/mobile-app-qr.d.ts.map +1 -0
- package/dist/components/ui/store-badges.d.ts +7 -4
- package/dist/components/ui/store-badges.d.ts.map +1 -1
- package/dist/{devices-7Q2EUM7B.cjs → devices-6XHUFIC6.cjs} +14 -14
- package/dist/{devices-U3Y4IIW4.js → devices-NOUGVTES.js} +12 -12
- package/dist/hooks/index.cjs +9 -3
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +8 -2
- package/dist/hooks/use-downloads.d.ts +41 -0
- package/dist/hooks/use-downloads.d.ts.map +1 -0
- package/dist/index.cjs +57 -17
- package/dist/index.js +56 -16
- package/dist/{knowledge-NST53EXE.js → knowledge-2YTUXQ2Z.js} +12 -12
- package/dist/{knowledge-UYIZ74MA.cjs → knowledge-ANEKPMO2.cjs} +14 -14
- package/dist/{logs-HTH7X7KV.cjs → logs-U3IB3HUM.cjs} +22 -22
- package/dist/{logs-JVTRG232.js → logs-WVQIONUT.js} +12 -12
- package/dist/{policies-DTXTRK56.js → policies-66EGDW2H.js} +12 -12
- package/dist/{policies-MXK2HB4W.cjs → policies-UFRN2EQF.cjs} +17 -17
- package/dist/{remote-session-LAJZKQBN.js → remote-session-6WEUJZDC.js} +4 -4
- package/dist/{remote-session-SKKF4PBV.cjs → remote-session-A75X5NPC.cjs} +6 -6
- package/dist/{software-update-P6BSM6HX.cjs → software-update-2MHKL76D.cjs} +17 -17
- package/dist/{software-update-6RHMPM3W.js → software-update-3ZD3MXF3.js} +12 -12
- package/dist/{tickets-board-BHLPAVNJ.cjs → tickets-board-IFWMIZ35.cjs} +9 -9
- package/dist/{tickets-board-PYDNELSK.js → tickets-board-MYXG3V72.js} +4 -4
- package/dist/types/downloads.d.ts +67 -0
- package/dist/types/downloads.d.ts.map +1 -0
- package/dist/types/index.cjs +24 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +16 -1
- package/dist/utils/index.cjs +20 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +16 -1
- package/dist/utils/mobile-app.cjs +46 -0
- package/dist/utils/mobile-app.d.ts +40 -0
- package/dist/utils/mobile-app.d.ts.map +1 -0
- package/dist/utils/mobile-app.js +40 -0
- package/package.json +7 -1
- package/src/assets/index.ts +1 -0
- package/src/assets/mobile-app-qr.ts +19 -0
- package/src/components/help-center-pages/download-apps-page.tsx +364 -0
- package/src/components/help-center-pages/index.ts +1 -0
- package/src/components/ui/button/button.tsx +3 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/mobile-app-qr.tsx +40 -0
- package/src/components/ui/store-badges.tsx +17 -9
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-downloads.ts +138 -0
- package/src/types/downloads.ts +82 -0
- package/src/types/index.ts +1 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/mobile-app.ts +57 -0
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkUZTOI6FJcjs = require('./chunk-UZTOI6FJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkBYVVE7HPcjs = require('./chunk-BYVVE7HP.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ var _chunkRFUOIQSGcjs = require('./chunk-RFUOIQSG.cjs');
|
|
|
32
32
|
var _chunkXXBLN4BPcjs = require('./chunk-XXBLN4BP.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
36
36
|
|
|
37
37
|
// src/components/contact/contact-form.tsx
|
|
38
38
|
var _zod = require('@hookform/resolvers/zod');
|
|
@@ -115,14 +115,14 @@ function ContactForm({
|
|
|
115
115
|
successToastMessage = "Redirecting you to join our community...",
|
|
116
116
|
rescue: rescueForm = null
|
|
117
117
|
} = {}) {
|
|
118
|
-
const attachments =
|
|
119
|
-
const builtInSubmission =
|
|
118
|
+
const attachments = _chunkHJMSNOBTcjs.useChatAttachments.call(void 0, );
|
|
119
|
+
const builtInSubmission = _chunk4LY6R4TNcjs.useContactSubmission.call(void 0, {
|
|
120
120
|
userId,
|
|
121
121
|
successRedirectUrl,
|
|
122
122
|
successToastMessage
|
|
123
123
|
});
|
|
124
124
|
const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
|
|
125
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
125
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunk4LY6R4TNcjs.useHumanitySignals.call(void 0, );
|
|
126
126
|
const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
|
|
127
127
|
const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
|
|
128
128
|
const form = _reacthookform.useForm.call(void 0, {
|
|
@@ -148,7 +148,7 @@ function ContactForm({
|
|
|
148
148
|
),
|
|
149
149
|
[hideFields]
|
|
150
150
|
);
|
|
151
|
-
const rescue =
|
|
151
|
+
const rescue = _chunk4LY6R4TNcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
|
|
152
152
|
const handleFormSubmit = async (data) => {
|
|
153
153
|
if (isSubmitting) return;
|
|
154
154
|
if (attachmentsEnabled && attachments.hasInflightUploads) return;
|
|
@@ -186,7 +186,7 @@ function ContactForm({
|
|
|
186
186
|
className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
|
|
187
187
|
children: [
|
|
188
188
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
|
|
189
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
189
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkGCK75D7Fcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkGCK75D7Fcjs.accentSentenceMarks.call(void 0, title) }),
|
|
190
190
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
|
|
191
191
|
] }),
|
|
192
192
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -199,13 +199,13 @@ function ContactForm({
|
|
|
199
199
|
);
|
|
200
200
|
}),
|
|
201
201
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
202
|
-
...
|
|
202
|
+
..._chunkHJMSNOBTcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
203
203
|
children: [
|
|
204
204
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
205
205
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
206
206
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
207
207
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
208
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
208
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.HoneypotField, { ...honeypotInputProps }),
|
|
209
209
|
extraTopField,
|
|
210
210
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
211
211
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -257,17 +257,17 @@ function ContactForm({
|
|
|
257
257
|
{
|
|
258
258
|
control,
|
|
259
259
|
name: "companySize",
|
|
260
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
260
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBYVVE7HPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
261
261
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
262
|
-
|
|
262
|
+
_chunkBYVVE7HPcjs.SelectTrigger,
|
|
263
263
|
{
|
|
264
264
|
id: "companySize",
|
|
265
265
|
"aria-label": "Company Size",
|
|
266
266
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
267
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
267
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectValue, { placeholder: "Select company size" })
|
|
268
268
|
}
|
|
269
269
|
),
|
|
270
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
270
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
271
271
|
] })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
@@ -280,17 +280,17 @@ function ContactForm({
|
|
|
280
280
|
{
|
|
281
281
|
control,
|
|
282
282
|
name: "referralSource",
|
|
283
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
283
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBYVVE7HPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
284
284
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
285
|
-
|
|
285
|
+
_chunkBYVVE7HPcjs.SelectTrigger,
|
|
286
286
|
{
|
|
287
287
|
id: "referralSource",
|
|
288
288
|
"aria-label": "Referral Source",
|
|
289
289
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
290
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
290
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectValue, { placeholder: "Select an option" })
|
|
291
291
|
}
|
|
292
292
|
),
|
|
293
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
293
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
294
294
|
] })
|
|
295
295
|
}
|
|
296
296
|
),
|
|
@@ -307,18 +307,18 @@ function ContactForm({
|
|
|
307
307
|
{
|
|
308
308
|
control,
|
|
309
309
|
name: "helpCategory",
|
|
310
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
310
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBYVVE7HPcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
311
311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
312
|
-
|
|
312
|
+
_chunkBYVVE7HPcjs.SelectTrigger,
|
|
313
313
|
{
|
|
314
314
|
id: "helpCategory",
|
|
315
315
|
"aria-label": "Help Category",
|
|
316
316
|
"aria-required": true,
|
|
317
317
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
318
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
318
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
319
319
|
}
|
|
320
320
|
),
|
|
321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBYVVE7HPcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
322
322
|
] })
|
|
323
323
|
}
|
|
324
324
|
),
|
|
@@ -330,7 +330,7 @@ function ContactForm({
|
|
|
330
330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.RequiredMark, {})
|
|
331
331
|
] }),
|
|
332
332
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
333
|
-
|
|
333
|
+
_chunkUZTOI6FJcjs.Textarea,
|
|
334
334
|
{
|
|
335
335
|
id: "message",
|
|
336
336
|
...register("message"),
|
|
@@ -345,7 +345,7 @@ function ContactForm({
|
|
|
345
345
|
] }),
|
|
346
346
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
347
347
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
348
|
-
|
|
348
|
+
_chunkHJMSNOBTcjs.ChatAttachmentChipStrip,
|
|
349
349
|
{
|
|
350
350
|
attachments: attachments.attachments,
|
|
351
351
|
onRemove: attachments.removeAttachment,
|
|
@@ -354,7 +354,7 @@ function ContactForm({
|
|
|
354
354
|
),
|
|
355
355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
356
356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
|
-
|
|
357
|
+
_chunkHJMSNOBTcjs.ChatAttachmentAddButton,
|
|
358
358
|
{
|
|
359
359
|
attachmentsEnabled: true,
|
|
360
360
|
attachmentsCount: attachments.attachments.length,
|
|
@@ -368,7 +368,7 @@ function ContactForm({
|
|
|
368
368
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-auto flex w-full flex-col items-center justify-end gap-4 pt-2 content-md:flex-row content-md:gap-6", children: [
|
|
369
369
|
footerText && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-center text-ods-text-secondary text-h6 content-md:text-left", children: footerText }),
|
|
370
370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
371
|
-
|
|
371
|
+
_chunkHQIOMFJHcjs.Button,
|
|
372
372
|
{
|
|
373
373
|
type: "submit",
|
|
374
374
|
loading: isSubmitting,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkBYVVE7HPcjs = require('./chunk-BYVVE7HP.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -66,7 +66,7 @@ function DetailPageSkeleton({
|
|
|
66
66
|
] });
|
|
67
67
|
if (bare) return content;
|
|
68
68
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
69
|
-
|
|
69
|
+
_chunkBYVVE7HPcjs.PageLayout,
|
|
70
70
|
{
|
|
71
71
|
showHeader: false,
|
|
72
72
|
className: "mx-auto max-w-[1280px] bg-ods-bg px-6 py-6 content-md:px-20 content-md:py-10",
|
|
@@ -95,7 +95,7 @@ function ArticleAuthorByline({
|
|
|
95
95
|
}) {
|
|
96
96
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
97
97
|
if (!author) return null;
|
|
98
|
-
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(
|
|
98
|
+
const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(_chunkGCK75D7Fcjs.getProxiedImageUrl.call(void 0, avatar, {
|
|
99
99
|
proxyPrefix: _optionalChain([runtime, 'optionalAccess', _2 => _2.endpoints, 'access', _3 => _3.imageProxyUrlPrefix]),
|
|
100
100
|
skipDomains: _optionalChain([runtime, 'optionalAccess', _4 => _4.endpoints, 'access', _5 => _5.imageProxySkipDomains]),
|
|
101
101
|
directHttps: true
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkRUZIICXTcjs = require('./chunk-RUZIICXT.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -28,7 +28,7 @@ var _chunkULWVKHSIcjs = require('./chunk-ULWVKHSI.cjs');
|
|
|
28
28
|
var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -610,15 +610,15 @@ function TicketStatusTag({
|
|
|
610
610
|
);
|
|
611
611
|
if (disabled || !options || options.length === 0 || !onSelect) {
|
|
612
612
|
if (disabled && disabledReason) {
|
|
613
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
614
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
613
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRUZIICXTcjs.Tooltip, { children: [
|
|
614
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-fit shrink-0 cursor-not-allowed", children: tag }) }),
|
|
615
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRUZIICXTcjs.TooltipContent, { children: disabledReason })
|
|
616
616
|
] }) });
|
|
617
617
|
}
|
|
618
618
|
return tag;
|
|
619
619
|
}
|
|
620
620
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
621
|
-
|
|
621
|
+
_chunkRUZIICXTcjs.ActionsMenuDropdown,
|
|
622
622
|
{
|
|
623
623
|
align: "start",
|
|
624
624
|
groups: [
|
|
@@ -995,7 +995,7 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
995
995
|
};
|
|
996
996
|
const actionButtons = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
997
997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
998
|
-
|
|
998
|
+
_chunkHQIOMFJHcjs.Button,
|
|
999
999
|
{
|
|
1000
1000
|
size: "small-legacy",
|
|
1001
1001
|
variant: "accent",
|
|
@@ -1010,7 +1010,7 @@ var ApprovalBatchMessage = _react.forwardRef.call(void 0,
|
|
|
1010
1010
|
}
|
|
1011
1011
|
),
|
|
1012
1012
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1013
|
-
|
|
1013
|
+
_chunkHQIOMFJHcjs.Button,
|
|
1014
1014
|
{
|
|
1015
1015
|
size: "small-legacy",
|
|
1016
1016
|
variant: "outline",
|
|
@@ -18,7 +18,7 @@ var _chunkAAYNCJMWcjs = require('./chunk-AAYNCJMW.cjs');
|
|
|
18
18
|
var _chunkVX4E6YSBcjs = require('./chunk-VX4E6YSB.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkHQIOMFJHcjs = require('./chunk-HQIOMFJH.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -392,7 +392,7 @@ function MingoOnboardingCard({
|
|
|
392
392
|
] }),
|
|
393
393
|
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-secondary text-h6", children: description }) : null,
|
|
394
394
|
hasActions ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-[var(--spacing-system-xs)] flex flex-wrap items-center gap-[var(--spacing-system-xxs)]", children: actions.map((action) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
395
|
-
|
|
395
|
+
_chunkHQIOMFJHcjs.Button,
|
|
396
396
|
{
|
|
397
397
|
type: "button",
|
|
398
398
|
variant: "outline",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Pagination
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3UBWDR65.js";
|
|
5
5
|
import {
|
|
6
6
|
AiPromptCard,
|
|
7
7
|
AiPromptCardSkeleton,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
getContentRefLabelOrTitleCase,
|
|
38
38
|
orderContentRefTypes,
|
|
39
39
|
useSelfFetch
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-NPSJE7J3.js";
|
|
41
41
|
import {
|
|
42
42
|
pageCount
|
|
43
43
|
} from "./chunk-FSQQZFVG.js";
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkO5EHOJZDcjs = require('./chunk-O5EHOJZD.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkLODMNSQYcjs = require('./chunk-LODMNSQY.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkUZTOI6FJcjs = require('./chunk-UZTOI6FJ.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkBYVVE7HPcjs = require('./chunk-BYVVE7HP.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkHJMSNOBTcjs = require('./chunk-HJMSNOBT.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -34,7 +34,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkGCK75D7Fcjs = require('./chunk-GCK75D7F.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
var _chunk7GRPR7XAcjs = require('./chunk-7GRPR7XA.cjs');
|
|
@@ -62,7 +62,7 @@ function OnboardingGuidesCatalogSkeleton() {
|
|
|
62
62
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-6 w-40 rounded bg-ods-border/70" }),
|
|
63
63
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-8 rounded-full bg-ods-text-secondary/20" })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
65
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
|
|
66
66
|
] }, sectionIdx)) })
|
|
67
67
|
] });
|
|
68
68
|
}
|
|
@@ -86,10 +86,10 @@ function OnboardingGuidesCatalogView({
|
|
|
86
86
|
const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
|
|
87
87
|
const activeSection = sectionValue || "all";
|
|
88
88
|
const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
|
|
89
|
-
const guidesRes =
|
|
89
|
+
const guidesRes = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0,
|
|
90
90
|
selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
|
|
91
91
|
);
|
|
92
|
-
const sectionsRes =
|
|
92
|
+
const sectionsRes = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
|
|
93
93
|
const guides = _react.useMemo.call(void 0, () => _nullishCoalesce(_nullishCoalesce(initialGuides, () => ( _optionalChain([guidesRes, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.data]))), () => ( [])), [initialGuides, _optionalChain([guidesRes, 'access', _4 => _4.data, 'optionalAccess', _5 => _5.data])]);
|
|
94
94
|
const sections = _react.useMemo.call(void 0,
|
|
95
95
|
() => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
|
|
@@ -132,25 +132,25 @@ function OnboardingGuidesCatalogView({
|
|
|
132
132
|
});
|
|
133
133
|
};
|
|
134
134
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
135
|
-
const docSearch =
|
|
135
|
+
const docSearch = _chunkLODMNSQYcjs.useDocSearch.call(void 0, {
|
|
136
136
|
source,
|
|
137
137
|
baseRoute: basePath,
|
|
138
138
|
onNavigate: (path) => router.push(path),
|
|
139
139
|
tableIds: ["onboarding-guides"]
|
|
140
140
|
});
|
|
141
141
|
const defaultRenderCard = (guide) => {
|
|
142
|
-
const cta =
|
|
142
|
+
const cta = _chunkHJMSNOBTcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
|
|
143
143
|
type: "onboarding_guide",
|
|
144
144
|
slug: guide.slug,
|
|
145
145
|
basePath,
|
|
146
146
|
platforms: guide.onboarding_guide_platforms
|
|
147
147
|
});
|
|
148
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
148
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
|
|
149
149
|
};
|
|
150
150
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
151
151
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
152
152
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
153
|
-
|
|
153
|
+
_chunkLODMNSQYcjs.DocSearchBar,
|
|
154
154
|
{
|
|
155
155
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
156
156
|
query: docSearch.query,
|
|
@@ -162,7 +162,7 @@ function OnboardingGuidesCatalogView({
|
|
|
162
162
|
}
|
|
163
163
|
),
|
|
164
164
|
sections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
165
|
-
|
|
165
|
+
_chunkUZTOI6FJcjs.FilterPillRow,
|
|
166
166
|
{
|
|
167
167
|
label: "Section",
|
|
168
168
|
selectedValue: activeSection,
|
|
@@ -172,7 +172,7 @@ function OnboardingGuidesCatalogView({
|
|
|
172
172
|
)
|
|
173
173
|
] });
|
|
174
174
|
if (selfFetch && guidesRes.error) {
|
|
175
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
175
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
176
176
|
}
|
|
177
177
|
if (selfFetch && guidesRes.data == null && isLoading) {
|
|
178
178
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OnboardingGuidesCatalogSkeleton, {});
|
|
@@ -204,7 +204,7 @@ function OnboardingGuideDetailView({
|
|
|
204
204
|
slug,
|
|
205
205
|
guideEndpoint,
|
|
206
206
|
related = [],
|
|
207
|
-
MarkdownRenderer =
|
|
207
|
+
MarkdownRenderer = _chunkUZTOI6FJcjs.RichMarkdownRenderer,
|
|
208
208
|
renderRelatedCard,
|
|
209
209
|
backHref,
|
|
210
210
|
backLabel = "Back to Getting Started",
|
|
@@ -214,23 +214,23 @@ function OnboardingGuideDetailView({
|
|
|
214
214
|
}) {
|
|
215
215
|
const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
|
|
216
216
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
217
|
-
const captions =
|
|
217
|
+
const captions = _chunkHJMSNOBTcjs.useCaptions.call(void 0, );
|
|
218
218
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
219
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
219
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
220
220
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
221
|
-
const { data: guide, isLoading, error, reload } =
|
|
222
|
-
const { ref: videoWarmupRef } =
|
|
221
|
+
const { data: guide, isLoading, error, reload } = _chunkGCK75D7Fcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
222
|
+
const { ref: videoWarmupRef } = _chunkGCK75D7Fcjs.useVideoWarmup.call(void 0, {
|
|
223
223
|
videoUrl: _optionalChain([guide, 'optionalAccess', _8 => _8.main_video_url]),
|
|
224
224
|
supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _9 => _9.endpoints, 'access', _10 => _10.supabaseStorageOrigin])
|
|
225
225
|
});
|
|
226
226
|
if (error || !guide && !isLoading) {
|
|
227
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
227
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
228
228
|
}
|
|
229
229
|
if (!guide) {
|
|
230
230
|
return renderShell(
|
|
231
231
|
// Match the loaded page's top offset (TitleBlock's
|
|
232
232
|
// `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
|
|
233
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
233
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkO5EHOJZDcjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
|
|
234
234
|
);
|
|
235
235
|
}
|
|
236
236
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", guide);
|
|
@@ -238,27 +238,27 @@ function OnboardingGuideDetailView({
|
|
|
238
238
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
239
239
|
_chunk7GRPR7XAcjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), guide.title, { aspect: "wide" });
|
|
240
240
|
const defaultRenderRelatedCard = (g) => {
|
|
241
|
-
const cta =
|
|
241
|
+
const cta = _chunkHJMSNOBTcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
|
|
242
242
|
type: "onboarding_guide",
|
|
243
243
|
slug: g.slug,
|
|
244
244
|
basePath,
|
|
245
245
|
platforms: g.onboarding_guide_platforms
|
|
246
246
|
});
|
|
247
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
247
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGCK75D7Fcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
|
|
248
248
|
};
|
|
249
249
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
250
250
|
return renderShell(
|
|
251
251
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
252
|
-
|
|
252
|
+
_chunkBYVVE7HPcjs.PageLayout,
|
|
253
253
|
{
|
|
254
254
|
title: guide.title,
|
|
255
255
|
titleSize: "h1",
|
|
256
256
|
titleWrap: true,
|
|
257
257
|
backButton: { label: backLabel, onClick: () => router.push(resolvedBackHref) },
|
|
258
258
|
children: [
|
|
259
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
259
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUZTOI6FJcjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
|
|
260
260
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
261
|
-
|
|
261
|
+
_chunkGCK75D7Fcjs.EntityAuthorCard,
|
|
262
262
|
{
|
|
263
263
|
author: guide.author,
|
|
264
264
|
authorHref,
|
|
@@ -273,7 +273,7 @@ function OnboardingGuideDetailView({
|
|
|
273
273
|
}
|
|
274
274
|
),
|
|
275
275
|
(guide.main_video_url || guide.youtube_url) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
276
|
-
|
|
276
|
+
_chunkHJMSNOBTcjs.EntityVideoSection,
|
|
277
277
|
{
|
|
278
278
|
mainVideoUrl: guide.main_video_url,
|
|
279
279
|
youtubeUrl: guide.youtube_url || void 0,
|
|
@@ -291,17 +291,17 @@ function OnboardingGuideDetailView({
|
|
|
291
291
|
) }),
|
|
292
292
|
guide.content && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: guide.content }) }),
|
|
293
293
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
-
|
|
294
|
+
_chunkHJMSNOBTcjs.VideoBitesStrip,
|
|
295
295
|
{
|
|
296
296
|
bites: _nullishCoalesce(guide.video_bites, () => ( [])),
|
|
297
297
|
filterPublished: true,
|
|
298
298
|
showTitle: false,
|
|
299
|
-
profile:
|
|
299
|
+
profile: _chunkGCK75D7Fcjs.toStripProfile.call(void 0, guide.author),
|
|
300
300
|
href: `/onboarding-guides/${guide.slug}`
|
|
301
301
|
}
|
|
302
302
|
),
|
|
303
303
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
304
|
-
|
|
304
|
+
_chunkO5EHOJZDcjs.ArticleAuthorByline,
|
|
305
305
|
{
|
|
306
306
|
author: _nullishCoalesce(_optionalChain([guide, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
|
|
307
307
|
avatar: _optionalChain([guide, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
|
|
@@ -2,27 +2,27 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ArticleAuthorByline,
|
|
4
4
|
DetailPageSkeleton
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UXU7Y5BH.js";
|
|
6
6
|
import {
|
|
7
7
|
DocSearchBar,
|
|
8
8
|
useDocSearch
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LGKMR7NZ.js";
|
|
10
10
|
import {
|
|
11
11
|
EntityTagBadges,
|
|
12
12
|
FilterPillRow,
|
|
13
13
|
LoadError,
|
|
14
14
|
PageShell,
|
|
15
15
|
RichMarkdownRenderer
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2P2M27EW.js";
|
|
17
17
|
import {
|
|
18
18
|
PageLayout
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GYAXV3MZ.js";
|
|
20
20
|
import {
|
|
21
21
|
EntityVideoSection,
|
|
22
22
|
VideoBitesStrip,
|
|
23
23
|
resolveContentHref,
|
|
24
24
|
useCaptions
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-HXB7SEYG.js";
|
|
26
26
|
import {
|
|
27
27
|
useRouter,
|
|
28
28
|
useSearchParams
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
toStripProfile,
|
|
35
35
|
useSelfFetch,
|
|
36
36
|
useVideoWarmup
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NPSJE7J3.js";
|
|
38
38
|
import {
|
|
39
39
|
buildOgPlaceholderUrl
|
|
40
40
|
} from "./chunk-FSQQZFVG.js";
|