@flamingo-stack/openframe-frontend-core 0.0.841 → 0.0.842

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.
Files changed (64) hide show
  1. package/dist/{case-study-card-TK7ZCNLM.cjs → case-study-card-VN3JBNF5.cjs} +3 -3
  2. package/dist/{chunk-RSJYTQEA.cjs → chunk-23DVVS4I.cjs} +104 -104
  3. package/dist/{chunk-GMK4JGC2.cjs → chunk-2HRQU4ZL.cjs} +44 -44
  4. package/dist/{chunk-HXTZZE3R.cjs → chunk-3ONBCAD2.cjs} +59 -59
  5. package/dist/{chunk-DGY5KEPY.cjs → chunk-4ASUUB3A.cjs} +83 -83
  6. package/dist/{chunk-WCOSGDGA.cjs → chunk-4R4HAFXI.cjs} +2 -2
  7. package/dist/{chunk-INBFKUZA.cjs → chunk-5CPEMPNP.cjs} +15 -15
  8. package/dist/{chunk-CCRXBFNL.cjs → chunk-6HFTSVVC.cjs} +8 -8
  9. package/dist/{chunk-FHI4I3TQ.cjs → chunk-6M764K5Z.cjs} +12 -12
  10. package/dist/{chunk-275AQ6LC.cjs → chunk-7UZYI4GV.cjs} +4 -4
  11. package/dist/{chunk-SOCCHWDK.cjs → chunk-BHOVF4KP.cjs} +2 -2
  12. package/dist/{chunk-WVNUCKB7.cjs → chunk-CNMXP77I.cjs} +4 -4
  13. package/dist/{chunk-Q6WUHYOG.cjs → chunk-CQQRGM6D.cjs} +85 -85
  14. package/dist/{chunk-TD4CC4KV.cjs → chunk-EUEPGHY4.cjs} +6 -6
  15. package/dist/{chunk-DYDQLS2R.cjs → chunk-GQJXOX5S.cjs} +213 -213
  16. package/dist/{chunk-AT6D7BAZ.cjs → chunk-IVM35OAW.cjs} +3 -3
  17. package/dist/{chunk-JM2XA7VY.cjs → chunk-IVS23CAK.cjs} +15 -15
  18. package/dist/{chunk-ZAO5SYBJ.cjs → chunk-MWQOM2EI.cjs} +4 -4
  19. package/dist/{chunk-WI7EXAZT.cjs → chunk-NMLNZCK2.cjs} +2 -2
  20. package/dist/{chunk-APNONOHY.cjs → chunk-PZNWIJRZ.cjs} +13 -10
  21. package/dist/{chunk-MYAPG3FQ.cjs → chunk-QPJUQ5YU.cjs} +21 -21
  22. package/dist/{chunk-VBH2RCFM.cjs → chunk-RAFWT3WG.cjs} +78 -78
  23. package/dist/{chunk-JUEAZCD6.cjs → chunk-RSZZTB5T.cjs} +54 -54
  24. package/dist/{chunk-7WKRMJI6.cjs → chunk-SC36S7DJ.cjs} +2 -2
  25. package/dist/{chunk-UZPYYHF5.cjs → chunk-SOTTMZ6U.cjs} +19 -19
  26. package/dist/{chunk-E7M54JWW.cjs → chunk-SSSI2RBV.cjs} +14 -14
  27. package/dist/{chunk-Z35PL3UR.cjs → chunk-WOYARKPQ.cjs} +34 -34
  28. package/dist/{chunk-EV6BPF47.cjs → chunk-WPMJUYW3.cjs} +143 -143
  29. package/dist/{chunk-FRL2ZN4O.cjs → chunk-XCVH5BCZ.cjs} +6 -6
  30. package/dist/{chunk-IELPVUPR.cjs → chunk-YNKXXDOI.cjs} +23 -23
  31. package/dist/{chunk-GUKFMMDZ.cjs → chunk-ZOWAYKDN.cjs} +3 -3
  32. package/dist/{cloud-tenants-PV63RZ73.cjs → cloud-tenants-U6Y2UZVF.cjs} +11 -11
  33. package/dist/components/case-studies/index.cjs +26 -26
  34. package/dist/components/chat/index.cjs +8 -8
  35. package/dist/components/contact/index.cjs +12 -12
  36. package/dist/components/docs/index.cjs +15 -15
  37. package/dist/components/embeds/index.cjs +12 -12
  38. package/dist/components/faq/index.cjs +13 -13
  39. package/dist/components/features/index.cjs +11 -11
  40. package/dist/components/help-center-pages/index.cjs +105 -105
  41. package/dist/components/index.cjs +65 -65
  42. package/dist/components/meeting-scheduler/index.cjs +50 -50
  43. package/dist/components/navigation/index.cjs +14 -14
  44. package/dist/components/onboarding-guides/index.cjs +14 -14
  45. package/dist/components/product-demo/index.cjs +20 -20
  46. package/dist/components/related-content/index.cjs +7 -7
  47. package/dist/components/tickets/index.cjs +18 -18
  48. package/dist/components/ui/index.cjs +11 -11
  49. package/dist/{devices-VECG5JNC.cjs → devices-HB4GEMJH.cjs} +12 -12
  50. package/dist/{embeddable-chat-VRYAQQF6.cjs → embeddable-chat-C6DUH2JL.cjs} +78 -78
  51. package/dist/hooks/index.cjs +4 -4
  52. package/dist/index.cjs +15 -15
  53. package/dist/{knowledge-YJSDJIXT.cjs → knowledge-I53Z6DV7.cjs} +12 -12
  54. package/dist/{logs-42JG3NZ5.cjs → logs-SFLAZIQG.cjs} +18 -18
  55. package/dist/platform-domains.cjs +14 -10
  56. package/dist/platform-domains.d.ts +12 -7
  57. package/dist/platform-domains.d.ts.map +1 -1
  58. package/dist/platform-domains.js +14 -10
  59. package/dist/{policies-D4QNVJ26.cjs → policies-EIAGQO6T.cjs} +15 -15
  60. package/dist/{scripts-4VFYBXBE.cjs → scripts-SNJ4UVRF.cjs} +16 -16
  61. package/dist/{software-update-OSDZQ5CP.cjs → software-update-AZFRUC5N.cjs} +14 -14
  62. package/dist/utils/index.cjs +13 -10
  63. package/package.json +1 -1
  64. package/src/platform-domains.ts +28 -20
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkDYDQLS2Rcjs = require('./chunk-DYDQLS2R.cjs');
4
+ var _chunkGQJXOX5Scjs = require('./chunk-GQJXOX5S.cjs');
5
5
 
6
6
 
7
7
  var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
48
48
  ] });
49
49
  }
50
50
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51
- _chunkDYDQLS2Rcjs.EmbedViewerFrame,
51
+ _chunkGQJXOX5Scjs.EmbedViewerFrame,
52
52
  {
53
53
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
54
54
  title: displayName,
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
83
83
  ] });
84
84
  }
85
85
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
86
- _chunkDYDQLS2Rcjs.EmbedViewerFrame,
86
+ _chunkGQJXOX5Scjs.EmbedViewerFrame,
87
87
  {
88
88
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
89
89
  title: displayName,
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkDYDQLS2Rcjs = require('./chunk-DYDQLS2R.cjs');
5
+ var _chunkGQJXOX5Scjs = require('./chunk-GQJXOX5S.cjs');
6
6
 
7
7
 
8
8
 
@@ -14,19 +14,19 @@ var _chunkWCK5T3UDcjs = require('./chunk-WCK5T3UD.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkE7M54JWWcjs = require('./chunk-E7M54JWW.cjs');
17
+ var _chunkSSSI2RBVcjs = require('./chunk-SSSI2RBV.cjs');
18
18
 
19
19
 
20
- var _chunkDGY5KEPYcjs = require('./chunk-DGY5KEPY.cjs');
20
+ var _chunk4ASUUB3Acjs = require('./chunk-4ASUUB3A.cjs');
21
21
 
22
22
 
23
23
 
24
24
 
25
- var _chunkEV6BPF47cjs = require('./chunk-EV6BPF47.cjs');
25
+ var _chunkWPMJUYW3cjs = require('./chunk-WPMJUYW3.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunkRSJYTQEAcjs = require('./chunk-RSJYTQEA.cjs');
29
+ var _chunk23DVVS4Icjs = require('./chunk-23DVVS4I.cjs');
30
30
 
31
31
 
32
32
 
@@ -119,14 +119,14 @@ function ContactForm({
119
119
  successToastMessage = "Redirecting you to join our community...",
120
120
  rescue: rescueForm = null
121
121
  } = {}) {
122
- const attachments = _chunkEV6BPF47cjs.useChatAttachments.call(void 0, );
123
- const builtInSubmission = _chunkE7M54JWWcjs.useContactSubmission.call(void 0, {
122
+ const attachments = _chunkWPMJUYW3cjs.useChatAttachments.call(void 0, );
123
+ const builtInSubmission = _chunkSSSI2RBVcjs.useContactSubmission.call(void 0, {
124
124
  userId,
125
125
  successRedirectUrl,
126
126
  successToastMessage
127
127
  });
128
128
  const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
129
- const { honeypotInputProps, getSignals, resetSignals } = _chunkE7M54JWWcjs.useHumanitySignals.call(void 0, );
129
+ const { honeypotInputProps, getSignals, resetSignals } = _chunkSSSI2RBVcjs.useHumanitySignals.call(void 0, );
130
130
  const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
131
131
  const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
132
132
  const form = _reacthookform.useForm.call(void 0, {
@@ -152,7 +152,7 @@ function ContactForm({
152
152
  ),
153
153
  [hideFields]
154
154
  );
155
- const rescue = _chunkE7M54JWWcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
155
+ const rescue = _chunkSSSI2RBVcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
156
156
  const handleFormSubmit = async (data) => {
157
157
  if (isSubmitting) return;
158
158
  if (attachmentsEnabled && attachments.hasInflightUploads) return;
@@ -190,7 +190,7 @@ function ContactForm({
190
190
  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" : ""}`,
191
191
  children: [
192
192
  (title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
193
- title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkRSJYTQEAcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkRSJYTQEAcjs.accentSentenceMarks.call(void 0, title) }),
193
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk23DVVS4Icjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunk23DVVS4Icjs.accentSentenceMarks.call(void 0, title) }),
194
194
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
195
195
  ] }),
196
196
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -203,13 +203,13 @@ function ContactForm({
203
203
  );
204
204
  }),
205
205
  className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
206
- ..._chunkDGY5KEPYcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
206
+ ..._chunk4ASUUB3Acjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
207
207
  children: [
208
208
  !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
209
209
  !showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
210
210
  !showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
211
211
  !showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
212
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDYDQLS2Rcjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGQJXOX5Scjs.HoneypotField, { ...honeypotInputProps }),
213
213
  extraTopField,
214
214
  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: [
215
215
  showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
@@ -334,7 +334,7 @@ function ContactForm({
334
334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWF6TNZ3cjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunkDYDQLS2Rcjs.Textarea,
337
+ _chunkGQJXOX5Scjs.Textarea,
338
338
  {
339
339
  id: "message",
340
340
  ...register("message"),
@@ -349,7 +349,7 @@ function ContactForm({
349
349
  ] }),
350
350
  attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
351
351
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
352
- _chunkEV6BPF47cjs.ChatAttachmentChipStrip,
352
+ _chunkWPMJUYW3cjs.ChatAttachmentChipStrip,
353
353
  {
354
354
  attachments: attachments.attachments,
355
355
  onRemove: attachments.removeAttachment,
@@ -358,7 +358,7 @@ function ContactForm({
358
358
  ),
359
359
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
360
360
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
361
- _chunkEV6BPF47cjs.ChatAttachmentAddButton,
361
+ _chunkWPMJUYW3cjs.ChatAttachmentAddButton,
362
362
  {
363
363
  attachmentsEnabled: true,
364
364
  attachmentsCount: attachments.attachments.length,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkDGY5KEPYcjs = require('./chunk-DGY5KEPY.cjs');
4
+ var _chunk4ASUUB3Acjs = require('./chunk-4ASUUB3A.cjs');
5
5
 
6
6
 
7
- var _chunkEV6BPF47cjs = require('./chunk-EV6BPF47.cjs');
7
+ var _chunkWPMJUYW3cjs = require('./chunk-WPMJUYW3.cjs');
8
8
 
9
9
 
10
10
  var _chunkGI3MMBP3cjs = require('./chunk-GI3MMBP3.cjs');
@@ -44,7 +44,7 @@ function isSummaryData(value) {
44
44
  }
45
45
  function TicketLiveProvider({ children, enabled = true }) {
46
46
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
47
- const identity = _chunkEV6BPF47cjs.useChatIdentity.call(void 0, enabled);
47
+ const identity = _chunkWPMJUYW3cjs.useChatIdentity.call(void 0, enabled);
48
48
  const queryClient = _reactquery.useQueryClient.call(void 0, );
49
49
  const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
50
50
  const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
160
160
  _react2.default.useEffect(() => {
161
161
  if (!streamEnabled) return void 0;
162
162
  if (typeof window === "undefined") return void 0;
163
- subscriptionRef.current = _chunkDGY5KEPYcjs.createSseSubscription.call(void 0, {
163
+ subscriptionRef.current = _chunk4ASUUB3Acjs.createSseSubscription.call(void 0, {
164
164
  url: streamUrl,
165
165
  onEvent: (name, data) => handlersRef.current.onEvent(name, data),
166
166
  onStatusChange: (status) => handlersRef.current.onStatus(status),
@@ -4,7 +4,7 @@
4
4
  var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
5
5
 
6
6
 
7
- var _chunkEV6BPF47cjs = require('./chunk-EV6BPF47.cjs');
7
+ var _chunkWPMJUYW3cjs = require('./chunk-WPMJUYW3.cjs');
8
8
 
9
9
 
10
10
  var _chunkUAI4VMEFcjs = require('./chunk-UAI4VMEF.cjs');
@@ -272,7 +272,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
272
272
  ...props,
273
273
  children: [
274
274
  applyInlineSize ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
275
- _chunkEV6BPF47cjs.PanelResizeHandle,
275
+ _chunkWPMJUYW3cjs.PanelResizeHandle,
276
276
  {
277
277
  variant: "overlay",
278
278
  side: resolvedSide,
@@ -251,16 +251,7 @@ function getPlatformByHostname(hostname) {
251
251
  function isPreviewHost(hostname) {
252
252
  return hostname.endsWith(".vercel.app");
253
253
  }
254
- function getAllPlatformBaseDomains() {
255
- if (typeof window === "undefined") return [];
256
- const hostname = window.location.hostname;
257
- if (hostname === "localhost" || hostname === "127.0.0.1" || hostname.startsWith("127.")) {
258
- return [];
259
- }
260
- const previewEnv = process.env.VERCEL_ENV === "preview" || process.env.NEXT_PUBLIC_VERCEL_ENV === "preview" || isPreviewHost(hostname);
261
- if (previewEnv) {
262
- return [".vercel.app", "vercel.app"];
263
- }
254
+ function getPlatformBaseDomains() {
264
255
  const baseDomains = /* @__PURE__ */ new Set();
265
256
  for (const entry of PLATFORM_DOMAINS) {
266
257
  if (entry.pseudo) continue;
@@ -274,6 +265,18 @@ function getAllPlatformBaseDomains() {
274
265
  }
275
266
  return Array.from(baseDomains);
276
267
  }
268
+ function getAllPlatformBaseDomains() {
269
+ if (typeof window === "undefined") return [];
270
+ const hostname = window.location.hostname;
271
+ if (hostname === "localhost" || hostname === "127.0.0.1" || hostname.startsWith("127.")) {
272
+ return [];
273
+ }
274
+ const previewEnv = process.env.VERCEL_ENV === "preview" || process.env.NEXT_PUBLIC_VERCEL_ENV === "preview" || isPreviewHost(hostname);
275
+ if (previewEnv) {
276
+ return [".vercel.app", "vercel.app"];
277
+ }
278
+ return getPlatformBaseDomains();
279
+ }
277
280
  var _orderIdx = (k) => PLATFORM_DOMAINS.findIndex((e) => e.key === k);
278
281
  if (_orderIdx("flamingo") > _orderIdx("universal") || getPlatformByHostname("flamingo.cx") !== "flamingo" || getPlatformByHostname("hub.openframe.ai") !== "openframe") {
279
282
  console.error(
@@ -1,25 +1,25 @@
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 _chunkE7M54JWWcjs = require('./chunk-E7M54JWW.cjs');
4
+ var _chunkSSSI2RBVcjs = require('./chunk-SSSI2RBV.cjs');
5
5
 
6
6
 
7
7
  var _chunkMZ4KBSH7cjs = require('./chunk-MZ4KBSH7.cjs');
8
8
 
9
9
 
10
10
 
11
- var _chunkDGY5KEPYcjs = require('./chunk-DGY5KEPY.cjs');
11
+ var _chunk4ASUUB3Acjs = require('./chunk-4ASUUB3A.cjs');
12
12
 
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _chunkEV6BPF47cjs = require('./chunk-EV6BPF47.cjs');
17
+ var _chunkWPMJUYW3cjs = require('./chunk-WPMJUYW3.cjs');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkFRL2ZN4Ocjs = require('./chunk-FRL2ZN4O.cjs');
22
+ var _chunkXCVH5BCZcjs = require('./chunk-XCVH5BCZ.cjs');
23
23
 
24
24
 
25
25
  var _chunkSKI6NKOEcjs = require('./chunk-SKI6NKOE.cjs');
@@ -33,10 +33,10 @@ var _chunkIX2E3AN7cjs = require('./chunk-IX2E3AN7.cjs');
33
33
 
34
34
 
35
35
 
36
- var _chunkCCRXBFNLcjs = require('./chunk-CCRXBFNL.cjs');
36
+ var _chunk6HFTSVVCcjs = require('./chunk-6HFTSVVC.cjs');
37
37
 
38
38
 
39
- var _chunkRSJYTQEAcjs = require('./chunk-RSJYTQEA.cjs');
39
+ var _chunk23DVVS4Icjs = require('./chunk-23DVVS4I.cjs');
40
40
 
41
41
 
42
42
  var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
@@ -82,7 +82,7 @@ function FaqAccordion({ items, defaultOpenIds = [], loading: loadingProp, skelet
82
82
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
83
83
  "div",
84
84
  {
85
- id: _chunkEV6BPF47cjs.faqItemAnchor.call(void 0, item.id),
85
+ id: _chunkWPMJUYW3cjs.faqItemAnchor.call(void 0, item.id),
86
86
  className: _chunk63A4GZMBcjs.cn.call(void 0, ROW_FRAME_CLASS, "hover:bg-ods-bg-hover"),
87
87
  "data-loading-item": true,
88
88
  children: [
@@ -148,14 +148,14 @@ function FaqAccordionSkeleton({
148
148
 
149
149
  var PICK_ROOT_MARGIN = "600px";
150
150
  function faqAskCardShown(assistant) {
151
- return _chunkDGY5KEPYcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
151
+ return _chunk4ASUUB3Acjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
152
152
  }
153
153
  function FaqAskCard({ exclude, count, title, description, onOpen }) {
154
- const { ref, inView } = _chunkFRL2ZN4Ocjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
154
+ const { ref, inView } = _chunkXCVH5BCZcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
155
155
  const [reached, setReached] = _react.useState.call(void 0, false);
156
156
  if (inView && !reached) setReached(true);
157
157
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
158
- _chunkDGY5KEPYcjs.AssistantAskPrompts,
158
+ _chunk4ASUUB3Acjs.AssistantAskPrompts,
159
159
  {
160
160
  variant: "card",
161
161
  count,
@@ -214,7 +214,7 @@ var CATEGORY_NAV_SKELETON_LINE_CLASS = "flex min-w-0 flex-nowrap gap-2 overflow-
214
214
  var FAQ_NAV_SKELETON_PILLS = 8;
215
215
  var CATEGORY_PILL_CLASS = "rounded-full border px-4 py-2 transition-colors text-h6";
216
216
  var CATEGORY_SECTION_CLASS = "scroll-mt-24";
217
- var CATEGORY_HEADING_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunkRSJYTQEAcjs.SECTION_HEADING_CLASS, "pb-4");
217
+ var CATEGORY_HEADING_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunk23DVVS4Icjs.SECTION_HEADING_CLASS, "pb-4");
218
218
  var FAQ_SECTION_SKELETON_QUESTIONS = FAQ_ACCORDION_SKELETON_ROWS;
219
219
  function FaqLayout({
220
220
  heading,
@@ -240,11 +240,11 @@ function FaqLayout({
240
240
  ] });
241
241
  }
242
242
  function faqHeadingNode(heading, showTopic, topic) {
243
- const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkRSJYTQEAcjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
243
+ const titleNode = heading === void 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk23DVVS4Icjs.SECTION_HEADING_CLASS, children: DEFAULT_HEADING_TEXT }) : heading;
244
244
  if (!(showTopic && topic)) return titleNode;
245
245
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TOPIC_STACK_CLASS, children: [
246
246
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: titleNode }),
247
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEV6BPF47cjs.PageTopicLabel, {})
247
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWPMJUYW3cjs.PageTopicLabel, {})
248
248
  ] });
249
249
  }
250
250
  var PAGE_FAQ_SECTION_ID = "faq";
@@ -255,7 +255,7 @@ function SharedPageFaq() {
255
255
  }
256
256
  function buildFaqsUrl(endpoint, entityType, entityId, minResults, topic) {
257
257
  const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
258
- return _chunkCCRXBFNLcjs.buildSuggestionUrl.call(void 0, endpoint, {
258
+ return _chunk6HFTSVVCcjs.buildSuggestionUrl.call(void 0, endpoint, {
259
259
  entityType,
260
260
  entityId,
261
261
  count: minResults,
@@ -275,7 +275,7 @@ function groupFaqsBySection(faqs) {
275
275
  }
276
276
  let group = byName.get(name);
277
277
  if (!group) {
278
- group = { section: name, slug: _chunkEV6BPF47cjs.faqSectionSlug.call(void 0, name), items: [] };
278
+ group = { section: name, slug: _chunkWPMJUYW3cjs.faqSectionSlug.call(void 0, name), items: [] };
279
279
  byName.set(name, group);
280
280
  }
281
281
  group.items.push(item);
@@ -321,7 +321,7 @@ function GroupedFaqList({
321
321
  }
322
322
  if (bestId) setActiveSlug(bestId);
323
323
  },
324
- { rootMargin: `-${_chunkFRL2ZN4Ocjs.STICKY_HEADER_OFFSET_PX}px 0px -55% 0px`, threshold: 0 }
324
+ { rootMargin: `-${_chunkXCVH5BCZcjs.STICKY_HEADER_OFFSET_PX}px 0px -55% 0px`, threshold: 0 }
325
325
  );
326
326
  for (const group of navGroupsRef.current) {
327
327
  const el = group.slug ? document.getElementById(group.slug) : null;
@@ -331,7 +331,7 @@ function GroupedFaqList({
331
331
  }, [slugKey]);
332
332
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
333
333
  _react.useEffect.call(void 0, () => {
334
- const refresh = () => setHashTarget(_chunkEV6BPF47cjs.parseFaqHash.call(void 0, window.location.hash));
334
+ const refresh = () => setHashTarget(_chunkWPMJUYW3cjs.parseFaqHash.call(void 0, window.location.hash));
335
335
  refresh();
336
336
  window.addEventListener("hashchange", refresh);
337
337
  return () => window.removeEventListener("hashchange", refresh);
@@ -348,7 +348,7 @@ function GroupedFaqList({
348
348
  }, [groups, hashTarget]);
349
349
  const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess', _8 => _8.kind]) === "item" ? `item:${hashTarget.rawId}` : "default";
350
350
  const scrollDep = `${groups.length}|` + (_optionalChain([hashTarget, 'optionalAccess', _9 => _9.kind]) === "item" ? `item:${hashTarget.rawId}` : _optionalChain([hashTarget, 'optionalAccess', _10 => _10.kind]) === "section" ? `section:${hashTarget.slug}` : "none");
351
- _chunkE7M54JWWcjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkFRL2ZN4Ocjs.STICKY_HEADER_OFFSET_PX });
351
+ _chunkSSSI2RBVcjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkXCVH5BCZcjs.STICKY_HEADER_OFFSET_PX });
352
352
  const [pillSyncedHash, setPillSyncedHash] = _react.useState.call(void 0, hashTarget);
353
353
  if (pillSyncedHash !== hashTarget) {
354
354
  setPillSyncedHash(hashTarget);
@@ -356,8 +356,8 @@ function GroupedFaqList({
356
356
  }
357
357
  const handleJump = _react.useCallback.call(void 0, (e, slug) => {
358
358
  e.preventDefault();
359
- _chunkFRL2ZN4Ocjs.navigateSamePageHash.call(void 0, "#" + slug, {
360
- headerOffset: _chunkFRL2ZN4Ocjs.STICKY_HEADER_OFFSET_PX,
359
+ _chunkXCVH5BCZcjs.navigateSamePageHash.call(void 0, "#" + slug, {
360
+ headerOffset: _chunkXCVH5BCZcjs.STICKY_HEADER_OFFSET_PX,
361
361
  history: "replace"
362
362
  });
363
363
  }, []);
@@ -435,7 +435,7 @@ function FaqSection({
435
435
  () => initialFaqs ? { faqs: initialFaqs } : void 0,
436
436
  [initialFaqs]
437
437
  );
438
- const { data, dataUrl, isLoading, error } = _chunkCCRXBFNLcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
438
+ const { data, dataUrl, isLoading, error } = _chunk6HFTSVVCcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
439
439
  const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _15 => _15.faqs]) : void 0;
440
440
  const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
441
441
  const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);