@flamingo-stack/openframe-frontend-core 0.0.751 → 0.0.753

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 (106) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-FHT7SMA7.cjs → chunk-35BJY5RR.cjs} +47 -47
  3. package/dist/{chunk-ALPRQ3ZX.cjs → chunk-3GG3QAPT.cjs} +15 -15
  4. package/dist/{chunk-34TWK3JE.cjs → chunk-5E6JHOGX.cjs} +3 -3
  5. package/dist/{chunk-OFO75R2O.cjs → chunk-7Z4EQOIX.cjs} +174 -174
  6. package/dist/{chunk-C6LPOYDM.cjs → chunk-AG4HR6Z6.cjs} +8 -8
  7. package/dist/{chunk-XJ3J4UIS.cjs → chunk-B27XV2TC.cjs} +19 -19
  8. package/dist/{chunk-MJFTWHV6.cjs → chunk-C6JHDRK3.cjs} +6 -6
  9. package/dist/{chunk-2YXOD2KL.cjs → chunk-H3RYUTND.cjs} +5 -0
  10. package/dist/{chunk-53I4YHRT.cjs → chunk-ITQZK3UT.cjs} +3 -3
  11. package/dist/{chunk-H52GKJ36.cjs → chunk-J3E5UN2O.cjs} +19 -19
  12. package/dist/{chunk-5WC535NJ.cjs → chunk-JLAYELWS.cjs} +40 -40
  13. package/dist/{chunk-UGCRLRCT.cjs → chunk-NO5UJLLQ.cjs} +2 -5
  14. package/dist/{chunk-5P7WBA2U.cjs → chunk-QXQHCX2R.cjs} +4 -4
  15. package/dist/{chunk-ESRA7NUI.cjs → chunk-R45NJ5ZA.cjs} +90 -90
  16. package/dist/{chunk-CVBHB4OZ.cjs → chunk-RGYLC3US.cjs} +7 -7
  17. package/dist/{chunk-TPH4SRR2.cjs → chunk-SDF5UUTE.cjs} +800 -659
  18. package/dist/{chunk-3TELPOVH.cjs → chunk-T4BBZ5ST.cjs} +2 -2
  19. package/dist/{chunk-CLAJIQ7E.cjs → chunk-UNRNLSG4.cjs} +19 -19
  20. package/dist/{chunk-NOUROZYH.cjs → chunk-UVTJT5BK.cjs} +24 -24
  21. package/dist/{chunk-77IKUBSH.cjs → chunk-W77VPNBJ.cjs} +12 -12
  22. package/dist/{chunk-DGEB5GUZ.cjs → chunk-WBOHLXFC.cjs} +2 -2
  23. package/dist/{chunk-X4LAMJHD.cjs → chunk-WIT36ZTN.cjs} +113 -113
  24. package/dist/{chunk-QOONZMSQ.cjs → chunk-XSOGT6DF.cjs} +28 -28
  25. package/dist/{chunk-LIGDPFDM.cjs → chunk-XW6WSW36.cjs} +771 -771
  26. package/dist/{chunk-4WNBVNGP.cjs → chunk-Y7AZCDLZ.cjs} +20 -20
  27. package/dist/{chunk-SDOCZTST.cjs → chunk-Z6TUOE6L.cjs} +41 -41
  28. package/dist/{chunk-RVLQHSID.cjs → chunk-ZGADZHLD.cjs} +101 -101
  29. package/dist/{chunk-MU7FFN6M.cjs → chunk-ZJ77IOMY.cjs} +83 -83
  30. package/dist/{cloud-tenants-JDPC2DYF.cjs → cloud-tenants-7LTS4DAP.cjs} +11 -11
  31. package/dist/components/case-studies/index.cjs +24 -24
  32. package/dist/components/chat/chat-dialog-menu-items.js +6 -6
  33. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  34. package/dist/components/chat/chat-message-enhanced.js +3 -0
  35. package/dist/components/chat/chat-panel-context.d.ts +3 -0
  36. package/dist/components/chat/chat-panel-context.d.ts.map +1 -1
  37. package/dist/components/chat/embeddable-chat.d.ts +20 -0
  38. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  39. package/dist/components/chat/embeddable-chat.js +78 -8
  40. package/dist/components/chat/hooks/index.d.ts +1 -0
  41. package/dist/components/chat/hooks/index.d.ts.map +1 -1
  42. package/dist/components/chat/hooks/index.js +1 -0
  43. package/dist/components/chat/hooks/use-what-to-ask.d.ts +69 -0
  44. package/dist/components/chat/hooks/use-what-to-ask.d.ts.map +1 -0
  45. package/dist/components/chat/hooks/use-what-to-ask.js +106 -0
  46. package/dist/components/chat/index.cjs +15 -7
  47. package/dist/components/chat/index.d.ts +1 -0
  48. package/dist/components/chat/index.d.ts.map +1 -1
  49. package/dist/components/chat/index.js +1 -0
  50. package/dist/components/chat/mingo-chat-header.d.ts +4 -2
  51. package/dist/components/chat/mingo-chat-header.d.ts.map +1 -1
  52. package/dist/components/chat/mingo-chat-header.js +7 -2
  53. package/dist/components/chat/suggestions-display.d.ts +11 -0
  54. package/dist/components/chat/suggestions-display.d.ts.map +1 -0
  55. package/dist/components/chat/suggestions-display.js +27 -0
  56. package/dist/components/chat/types/message.types.d.ts +27 -1
  57. package/dist/components/chat/types/message.types.d.ts.map +1 -1
  58. package/dist/components/chat/utils/extract-incomplete-message-state.d.ts.map +1 -1
  59. package/dist/components/chat/utils/extract-incomplete-message-state.js +2 -0
  60. package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
  61. package/dist/components/chat/utils/message-segment-accumulator.js +3 -0
  62. package/dist/components/contact/index.cjs +12 -12
  63. package/dist/components/docs/index.cjs +15 -15
  64. package/dist/components/embeds/index.cjs +12 -12
  65. package/dist/components/faq/index.cjs +13 -13
  66. package/dist/components/features/index.cjs +11 -11
  67. package/dist/components/help-center-pages/index.cjs +112 -112
  68. package/dist/components/index.cjs +69 -61
  69. package/dist/components/loading/loading-region.d.ts.map +1 -1
  70. package/dist/components/loading/loading-region.js +2 -5
  71. package/dist/components/loading/unified-skeleton.d.ts +2 -0
  72. package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
  73. package/dist/components/loading/unified-skeleton.js +5 -0
  74. package/dist/components/meeting-scheduler/index.cjs +72 -72
  75. package/dist/components/navigation/index.cjs +14 -14
  76. package/dist/components/onboarding-guides/index.cjs +14 -14
  77. package/dist/components/product-demo/index.cjs +12 -12
  78. package/dist/components/related-content/index.cjs +7 -7
  79. package/dist/components/tickets/index.cjs +17 -17
  80. package/dist/components/ui/file-manager/index.cjs +30 -30
  81. package/dist/components/ui/index.cjs +19 -11
  82. package/dist/{devices-ADQWD37J.cjs → devices-CGDJAYRB.cjs} +12 -12
  83. package/dist/{embeddable-chat-7YF2JMPS.cjs → embeddable-chat-CMEHSDV7.cjs} +165 -93
  84. package/dist/index.cjs +23 -15
  85. package/dist/{knowledge-TNS64EGK.cjs → knowledge-X5I4QJKV.cjs} +12 -12
  86. package/dist/{logs-754MDDE4.cjs → logs-GDGIRJFI.cjs} +19 -19
  87. package/dist/{policies-Q23DPIH6.cjs → policies-2UOCENDX.cjs} +15 -15
  88. package/dist/{remote-session-ZKP2W3IS.cjs → remote-session-57DGC4X3.cjs} +6 -6
  89. package/dist/{scripts-DCYLK2RZ.cjs → scripts-AS4GEG6L.cjs} +18 -18
  90. package/dist/{software-update-XCMGUIER.cjs → software-update-ADPUFMFY.cjs} +15 -15
  91. package/dist/{tickets-board-BNW4AYFL.cjs → tickets-board-EP6L3BSV.cjs} +7 -7
  92. package/package.json +1 -1
  93. package/src/components/chat/chat-dialog-menu-items.tsx +6 -6
  94. package/src/components/chat/chat-message-enhanced.tsx +3 -0
  95. package/src/components/chat/chat-panel-context.tsx +3 -0
  96. package/src/components/chat/embeddable-chat.tsx +132 -9
  97. package/src/components/chat/hooks/index.ts +1 -0
  98. package/src/components/chat/hooks/use-what-to-ask.ts +203 -0
  99. package/src/components/chat/index.ts +1 -0
  100. package/src/components/chat/mingo-chat-header.tsx +11 -4
  101. package/src/components/chat/suggestions-display.tsx +41 -0
  102. package/src/components/chat/types/message.types.ts +31 -1
  103. package/src/components/chat/utils/extract-incomplete-message-state.ts +2 -0
  104. package/src/components/chat/utils/message-segment-accumulator.ts +4 -0
  105. package/src/components/loading/loading-region.tsx +4 -9
  106. package/src/components/loading/unified-skeleton.tsx +13 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkOFO75R2Ocjs = require('./chunk-OFO75R2O.cjs');
4
+ var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
5
5
 
6
6
 
7
7
  var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
@@ -45,7 +45,7 @@ function PaginationControl({
45
45
  );
46
46
  }
47
47
  const handleClick = (event) => {
48
- if (_chunkOFO75R2Ocjs.isModifierClick.call(void 0, event)) return;
48
+ if (_chunk7Z4EQOIXcjs.isModifierClick.call(void 0, event)) return;
49
49
  event.preventDefault();
50
50
  onPageChange(page);
51
51
  };
@@ -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 _chunkALPRQ3ZXcjs = require('./chunk-ALPRQ3ZX.cjs');
4
+ var _chunk3GG3QAPTcjs = require('./chunk-3GG3QAPT.cjs');
5
5
 
6
6
 
7
- var _chunkOFO75R2Ocjs = require('./chunk-OFO75R2O.cjs');
7
+ var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
8
8
 
9
9
 
10
10
 
@@ -17,13 +17,13 @@ var _chunkHOTM4UM6cjs = require('./chunk-HOTM4UM6.cjs');
17
17
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
18
18
 
19
19
 
20
- var _chunkUGCRLRCTcjs = require('./chunk-UGCRLRCT.cjs');
20
+ var _chunkNO5UJLLQcjs = require('./chunk-NO5UJLLQ.cjs');
21
21
 
22
22
 
23
23
  var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
24
24
 
25
25
 
26
- var _chunk2YXOD2KLcjs = require('./chunk-2YXOD2KL.cjs');
26
+ var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
27
27
 
28
28
 
29
29
  var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
@@ -37,12 +37,12 @@ function DetailPageSkeleton({
37
37
  label = "Loading",
38
38
  region = true
39
39
  } = {}) {
40
- const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUGCRLRCTcjs.LoadingRegion, { label, announce: region, className: "space-y-6 content-md:space-y-10", children: [
41
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col gap-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-16 w-full max-w-3xl rounded content-md:h-20" }) }),
40
+ const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label, announce: region, className: "space-y-6 content-md:space-y-10", children: [
41
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col gap-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-16 w-full max-w-3xl rounded content-md:h-20" }) }),
42
42
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-wrap gap-2", children: [
43
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-8 w-32 rounded" }),
44
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-8 w-28 rounded" }),
45
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-8 w-36 rounded" })
43
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-32 rounded" }),
44
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-28 rounded" }),
45
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-36 rounded" })
46
46
  ] }),
47
47
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
48
48
  "div",
@@ -53,28 +53,28 @@ function DetailPageSkeleton({
53
53
  {
54
54
  className: "border-b border-ods-border bg-ods-card p-4 last:border-r-0 content-md:border-b-0 content-md:border-r",
55
55
  children: [
56
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "mb-2 h-6 w-24 rounded" }),
57
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-5 w-20 rounded" })
56
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "mb-2 h-6 w-24 rounded" }),
57
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-20 rounded" })
58
58
  ]
59
59
  },
60
60
  i
61
61
  ))
62
62
  }
63
63
  ),
64
- showImageGallery && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full gap-6 overflow-x-auto", children: [1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-[200px] w-[240px] shrink-0 rounded-md border border-ods-border" }, i)) }),
65
- !showImageGallery && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "aspect-[2560/1366] w-full rounded-md" }),
64
+ showImageGallery && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full gap-6 overflow-x-auto", children: [1, 2, 3, 4, 5].map((i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-[200px] w-[240px] shrink-0 rounded-md border border-ods-border" }, i)) }),
65
+ !showImageGallery && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "aspect-[2560/1366] w-full rounded-md" }),
66
66
  [1, 2, 3].map((section) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6", children: [
67
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-16 w-64 rounded" }),
67
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-16 w-64 rounded" }),
68
68
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-3", children: [
69
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-6 w-full rounded" }),
70
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-6 w-full rounded" }),
71
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2YXOD2KLcjs.UnifiedSkeleton, { className: "h-6 w-4/5 rounded" })
69
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-full rounded" }),
70
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-full rounded" }),
71
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-4/5 rounded" })
72
72
  ] })
73
73
  ] }, section))
74
74
  ] });
75
75
  if (bare) return content;
76
76
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
77
- _chunkALPRQ3ZXcjs.PageLayout,
77
+ _chunk3GG3QAPTcjs.PageLayout,
78
78
  {
79
79
  showHeader: false,
80
80
  className: "mx-auto max-w-[1280px] bg-ods-bg px-6 py-6 content-md:px-20 content-md:py-10",
@@ -103,7 +103,7 @@ function ArticleAuthorByline({
103
103
  }) {
104
104
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
105
105
  if (!author) return null;
106
- const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(_chunkOFO75R2Ocjs.getProxiedImageUrl.call(void 0, avatar, {
106
+ const proxiedAvatar = avatar ? proxyImageUrl ? proxyImageUrl(avatar) : _nullishCoalesce(_chunk7Z4EQOIXcjs.getProxiedImageUrl.call(void 0, avatar, {
107
107
  proxyPrefix: _optionalChain([runtime, 'optionalAccess', _2 => _2.endpoints, 'access', _3 => _3.imageProxyUrlPrefix]),
108
108
  skipDomains: _optionalChain([runtime, 'optionalAccess', _4 => _4.endpoints, 'access', _5 => _5.imageProxySkipDomains]),
109
109
  directHttps: true
@@ -2,14 +2,14 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkLIGDPFDMcjs = require('./chunk-LIGDPFDM.cjs');
5
+ var _chunkXW6WSW36cjs = require('./chunk-XW6WSW36.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkALPRQ3ZXcjs = require('./chunk-ALPRQ3ZX.cjs');
12
+ var _chunk3GG3QAPTcjs = require('./chunk-3GG3QAPT.cjs');
13
13
 
14
14
 
15
15
 
@@ -17,16 +17,16 @@ var _chunkALPRQ3ZXcjs = require('./chunk-ALPRQ3ZX.cjs');
17
17
  var _chunkVUWPLQBYcjs = require('./chunk-VUWPLQBY.cjs');
18
18
 
19
19
 
20
- var _chunkX4LAMJHDcjs = require('./chunk-X4LAMJHD.cjs');
20
+ var _chunkWIT36ZTNcjs = require('./chunk-WIT36ZTN.cjs');
21
21
 
22
22
 
23
23
 
24
24
 
25
- var _chunkTPH4SRR2cjs = require('./chunk-TPH4SRR2.cjs');
25
+ var _chunkSDF5UUTEcjs = require('./chunk-SDF5UUTE.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunkOFO75R2Ocjs = require('./chunk-OFO75R2O.cjs');
29
+ var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
30
30
 
31
31
 
32
32
 
@@ -119,7 +119,7 @@ function ContactForm({
119
119
  successToastMessage = "Redirecting you to join our community...",
120
120
  rescue: rescueForm = null
121
121
  } = {}) {
122
- const attachments = _chunkTPH4SRR2cjs.useChatAttachments.call(void 0, );
122
+ const attachments = _chunkSDF5UUTEcjs.useChatAttachments.call(void 0, );
123
123
  const builtInSubmission = _chunkVUWPLQBYcjs.useContactSubmission.call(void 0, {
124
124
  userId,
125
125
  successRedirectUrl,
@@ -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: `${_chunkOFO75R2Ocjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkOFO75R2Ocjs.accentSentenceMarks.call(void 0, title) }),
193
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk7Z4EQOIXcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunk7Z4EQOIXcjs.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
- ..._chunkX4LAMJHDcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
206
+ ..._chunkWIT36ZTNcjs.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, _chunkLIGDPFDMcjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXW6WSW36cjs.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: [
@@ -261,17 +261,17 @@ function ContactForm({
261
261
  {
262
262
  control,
263
263
  name: "companySize",
264
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkALPRQ3ZXcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
264
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
265
265
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
266
- _chunkALPRQ3ZXcjs.SelectTrigger,
266
+ _chunk3GG3QAPTcjs.SelectTrigger,
267
267
  {
268
268
  id: "companySize",
269
269
  "aria-label": "Company Size",
270
270
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
271
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALPRQ3ZXcjs.SelectValue, { placeholder: "Select company size" })
271
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { placeholder: "Select company size" })
272
272
  }
273
273
  ),
274
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALPRQ3ZXcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALPRQ3ZXcjs.SelectItem, { value: opt, children: opt }, opt)) })
274
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: opt, children: opt }, opt)) })
275
275
  ] })
276
276
  }
277
277
  ),
@@ -284,17 +284,17 @@ function ContactForm({
284
284
  {
285
285
  control,
286
286
  name: "referralSource",
287
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkALPRQ3ZXcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
287
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
288
288
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
289
- _chunkALPRQ3ZXcjs.SelectTrigger,
289
+ _chunk3GG3QAPTcjs.SelectTrigger,
290
290
  {
291
291
  id: "referralSource",
292
292
  "aria-label": "Referral Source",
293
293
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
294
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALPRQ3ZXcjs.SelectValue, { placeholder: "Select an option" })
294
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { placeholder: "Select an option" })
295
295
  }
296
296
  ),
297
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALPRQ3ZXcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALPRQ3ZXcjs.SelectItem, { value: opt, children: opt }, opt)) })
297
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: opt, children: opt }, opt)) })
298
298
  ] })
299
299
  }
300
300
  ),
@@ -311,18 +311,18 @@ function ContactForm({
311
311
  {
312
312
  control,
313
313
  name: "helpCategory",
314
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkALPRQ3ZXcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
314
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3GG3QAPTcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
315
315
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
316
- _chunkALPRQ3ZXcjs.SelectTrigger,
316
+ _chunk3GG3QAPTcjs.SelectTrigger,
317
317
  {
318
318
  id: "helpCategory",
319
319
  "aria-label": "Help Category",
320
320
  "aria-required": true,
321
321
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
322
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALPRQ3ZXcjs.SelectValue, { placeholder: "Choose your main interest" })
322
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectValue, { placeholder: "Choose your main interest" })
323
323
  }
324
324
  ),
325
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALPRQ3ZXcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALPRQ3ZXcjs.SelectItem, { value: opt, children: opt }, opt)) })
325
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3GG3QAPTcjs.SelectItem, { value: opt, children: opt }, opt)) })
326
326
  ] })
327
327
  }
328
328
  ),
@@ -334,7 +334,7 @@ function ContactForm({
334
334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunkLIGDPFDMcjs.Textarea,
337
+ _chunkXW6WSW36cjs.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
- _chunkTPH4SRR2cjs.ChatAttachmentChipStrip,
352
+ _chunkSDF5UUTEcjs.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
- _chunkTPH4SRR2cjs.ChatAttachmentAddButton,
361
+ _chunkSDF5UUTEcjs.ChatAttachmentAddButton,
362
362
  {
363
363
  attachmentsEnabled: true,
364
364
  attachmentsCount: attachments.attachments.length,
@@ -1,13 +1,13 @@
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 _chunkLIGDPFDMcjs = require('./chunk-LIGDPFDM.cjs');
4
+ var _chunkXW6WSW36cjs = require('./chunk-XW6WSW36.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkTPH4SRR2cjs = require('./chunk-TPH4SRR2.cjs');
10
+ var _chunkSDF5UUTEcjs = require('./chunk-SDF5UUTE.cjs');
11
11
 
12
12
 
13
13
  var _chunkCSJO7ZGNcjs = require('./chunk-CSJO7ZGN.cjs');
@@ -19,7 +19,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
19
19
 
20
20
 
21
21
 
22
- var _chunkOFO75R2Ocjs = require('./chunk-OFO75R2O.cjs');
22
+ var _chunk7Z4EQOIXcjs = require('./chunk-7Z4EQOIX.cjs');
23
23
 
24
24
 
25
25
  var _chunkASMNNSUQcjs = require('./chunk-ASMNNSUQ.cjs');
@@ -40,7 +40,7 @@ var _jsxruntime = require('react/jsx-runtime');
40
40
  function DocSearchResultRow({ result, isHighlighted }) {
41
41
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
42
42
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
43
- const { Icon: SourceIcon, label: iconLabel } = _chunkTPH4SRR2cjs.resolveSourceIcon.call(void 0, {
43
+ const { Icon: SourceIcon, label: iconLabel } = _chunkSDF5UUTEcjs.resolveSourceIcon.call(void 0, {
44
44
  sourceRepo,
45
45
  documentType: docType
46
46
  });
@@ -70,7 +70,7 @@ function DocSearchBar({
70
70
  renderResult
71
71
  }) {
72
72
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
73
- _chunkLIGDPFDMcjs.SearchInput,
73
+ _chunkXW6WSW36cjs.SearchInput,
74
74
  {
75
75
  placeholder,
76
76
  value: query,
@@ -120,7 +120,7 @@ function mapDocSearchResults(docs) {
120
120
  results.push({
121
121
  id: `group-${entry.repo}`,
122
122
  // Same table label and count as the chat's grouped chip: one owner each.
123
- title: `${_chunkTPH4SRR2cjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkTPH4SRR2cjs.recordCountLabel.call(void 0, rows.length)}`,
123
+ title: `${_chunkSDF5UUTEcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkSDF5UUTEcjs.recordCountLabel.call(void 0, rows.length)}`,
124
124
  path: rows[0].path,
125
125
  type: "file",
126
126
  metadata: {
@@ -183,7 +183,7 @@ function resolveSearchResultAction(result, source, runtimeMode, composeContentUr
183
183
  if (composed && !isAbsoluteHref(href)) {
184
184
  return { kind: "navigate-same-tab", href };
185
185
  }
186
- const isNewTab = _chunkOFO75R2Ocjs.decideNewTab.call(void 0, {
186
+ const isNewTab = _chunk7Z4EQOIXcjs.decideNewTab.call(void 0, {
187
187
  href,
188
188
  targetPlatform: composed ? composed.targetPlatform : targetPlatform,
189
189
  surface: "useUnifiedNav",
@@ -312,31 +312,31 @@ function useDocSearch(config) {
312
312
  case "navigate-same-tab": {
313
313
  if (wantsNewTab) {
314
314
  setKeepOpen(true);
315
- window.open(action.href, "_blank", _chunkOFO75R2Ocjs.NEW_TAB_FEATURES);
315
+ window.open(action.href, "_blank", _chunk7Z4EQOIXcjs.NEW_TAB_FEATURES);
316
316
  return;
317
317
  }
318
318
  setKeepOpen(false);
319
319
  const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
320
320
  if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
321
- router.push(_chunkOFO75R2Ocjs.stripSameOriginToPath.call(void 0, action.href));
321
+ router.push(_chunk7Z4EQOIXcjs.stripSameOriginToPath.call(void 0, action.href));
322
322
  return;
323
323
  }
324
324
  case "navigate-new-tab":
325
325
  setKeepOpen(true);
326
326
  if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
327
327
  const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
328
- _chunkOFO75R2Ocjs.resolveExternalNavigation.call(void 0, {
328
+ _chunk7Z4EQOIXcjs.resolveExternalNavigation.call(void 0, {
329
329
  href: action.href,
330
330
  targetPlatform,
331
331
  runtime
332
332
  }).open();
333
333
  return;
334
334
  }
335
- window.open(action.href, "_blank", _chunkOFO75R2Ocjs.NEW_TAB_FEATURES);
335
+ window.open(action.href, "_blank", _chunk7Z4EQOIXcjs.NEW_TAB_FEATURES);
336
336
  return;
337
337
  case "ask-ai":
338
338
  setKeepOpen(false);
339
- window.dispatchEvent(new CustomEvent(_chunkTPH4SRR2cjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
339
+ window.dispatchEvent(new CustomEvent(_chunkSDF5UUTEcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
340
340
  return;
341
341
  case "route":
342
342
  setKeepOpen(false);
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunk34TWK3JEcjs = require('./chunk-34TWK3JE.cjs');
4
+ var _chunk5E6JHOGXcjs = require('./chunk-5E6JHOGX.cjs');
5
5
 
6
6
 
7
7
  var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
@@ -116,7 +116,7 @@ function PersistentPaginationWrapper({
116
116
  },
117
117
  "aria-hidden": isPaginationDisabled,
118
118
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
119
- _chunk34TWK3JEcjs.UnifiedPagination,
119
+ _chunk5E6JHOGXcjs.UnifiedPagination,
120
120
  {
121
121
  currentPage: displayCurrentPage,
122
122
  totalPages: displayTotalPages,