@flamingo-stack/openframe-frontend-core 0.0.828 → 0.0.830

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 (166) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-DU6AF77X.cjs → chunk-2BGLALP5.cjs} +14 -14
  3. package/dist/{chunk-QMQWXGCH.cjs → chunk-56EP4QM2.cjs} +29 -25
  4. package/dist/{chunk-4ZH7RPEA.cjs → chunk-5KSPG3TV.cjs} +388 -388
  5. package/dist/{chunk-BGT6JFMP.cjs → chunk-5LED4QHZ.cjs} +527 -434
  6. package/dist/{chunk-6ZLCEIIC.cjs → chunk-CAGQAMJ6.cjs} +23 -23
  7. package/dist/{chunk-ALRX2VIY.cjs → chunk-D2LXFMZI.cjs} +26 -26
  8. package/dist/{chunk-VAIML6YU.cjs → chunk-DUGOOTER.cjs} +13 -13
  9. package/dist/{chunk-XPF74L76.cjs → chunk-E6W4YDPS.cjs} +2 -2
  10. package/dist/{chunk-UULSSD56.cjs → chunk-FFFN4IY2.cjs} +5 -5
  11. package/dist/{chunk-UWGPYAB3.cjs → chunk-HYCMMECU.cjs} +51 -51
  12. package/dist/{chunk-DR4P7AEU.cjs → chunk-HYGWRUEM.cjs} +3 -3
  13. package/dist/chunk-IX2E3AN7.cjs +77 -0
  14. package/dist/{chunk-YKUL6JBI.cjs → chunk-M75723HD.cjs} +46 -34
  15. package/dist/{chunk-RPKWEBHC.cjs → chunk-PUXYAHH3.cjs} +3 -3
  16. package/dist/{chunk-3B6ZE4EZ.cjs → chunk-QTLWU6FY.cjs} +5 -5
  17. package/dist/{chunk-3WKQ2GCR.cjs → chunk-RRPID7Z7.cjs} +6 -8
  18. package/dist/{chunk-6SFCI6D4.cjs → chunk-SAW7V7CU.cjs} +14 -16
  19. package/dist/{chunk-B5H7RKFF.cjs → chunk-TUMSVFVS.cjs} +4 -4
  20. package/dist/{chunk-7VC5FVWT.cjs → chunk-ULF4ZOUM.cjs} +65 -65
  21. package/dist/{chunk-ZT7JHN7G.cjs → chunk-WCCE4WF3.cjs} +57 -62
  22. package/dist/{chunk-7PZQ7SHB.cjs → chunk-WWDNLMB7.cjs} +16 -16
  23. package/dist/{chunk-K6X7VP2Y.cjs → chunk-WZYBUJJG.cjs} +43 -43
  24. package/dist/{chunk-SVCTAOJR.cjs → chunk-X425BGXS.cjs} +2 -2
  25. package/dist/{chunk-BIG3O33P.cjs → chunk-YJZ7R3W5.cjs} +28 -2
  26. package/dist/{cloud-tenants-LKTWIZNS.cjs → cloud-tenants-4KQQPXPM.cjs} +12 -11
  27. package/dist/components/case-studies/index.cjs +24 -23
  28. package/dist/components/chat/assistant-ask-prompts.d.ts +5 -1
  29. package/dist/components/chat/assistant-ask-prompts.d.ts.map +1 -1
  30. package/dist/components/chat/assistant-ask-prompts.js +3 -1
  31. package/dist/components/chat/embeddable-chat.d.ts +3 -3
  32. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  33. package/dist/components/chat/embeddable-chat.js +22 -14
  34. package/dist/components/chat/guide-welcome.d.ts +14 -16
  35. package/dist/components/chat/guide-welcome.d.ts.map +1 -1
  36. package/dist/components/chat/guide-welcome.js +9 -24
  37. package/dist/components/chat/hooks/use-empty-state-config.d.ts +13 -3
  38. package/dist/components/chat/hooks/use-empty-state-config.d.ts.map +1 -1
  39. package/dist/components/chat/hooks/use-empty-state-config.js +10 -2
  40. package/dist/components/chat/index.cjs +13 -5
  41. package/dist/components/chat/mingo-quick-action-wall.d.ts +42 -16
  42. package/dist/components/chat/mingo-quick-action-wall.d.ts.map +1 -1
  43. package/dist/components/chat/mingo-quick-action-wall.js +105 -19
  44. package/dist/components/chat/mingo-welcome.d.ts +6 -13
  45. package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
  46. package/dist/components/chat/mingo-welcome.js +5 -9
  47. package/dist/components/chat/quick-action-chip.d.ts +8 -2
  48. package/dist/components/chat/quick-action-chip.d.ts.map +1 -1
  49. package/dist/components/chat/quick-action-chip.js +18 -8
  50. package/dist/components/contact/index.cjs +13 -12
  51. package/dist/components/docs/index.cjs +16 -15
  52. package/dist/components/embeds/index.cjs +13 -12
  53. package/dist/components/faq/faq-ask-card.d.ts +2 -13
  54. package/dist/components/faq/faq-ask-card.d.ts.map +1 -1
  55. package/dist/components/faq/faq-ask-card.js +1 -2
  56. package/dist/components/faq/faq-document-page.d.ts +2 -4
  57. package/dist/components/faq/faq-document-page.d.ts.map +1 -1
  58. package/dist/components/faq/faq-document-page.js +0 -2
  59. package/dist/components/faq/faq-section.d.ts +16 -29
  60. package/dist/components/faq/faq-section.d.ts.map +1 -1
  61. package/dist/components/faq/faq-section.js +23 -15
  62. package/dist/components/faq/index.cjs +14 -13
  63. package/dist/components/faq/index.d.ts +1 -1
  64. package/dist/components/faq/index.d.ts.map +1 -1
  65. package/dist/components/faq/index.js +2 -2
  66. package/dist/components/features/index.cjs +12 -11
  67. package/dist/components/help-center-pages/delivery-page.d.ts +1 -8
  68. package/dist/components/help-center-pages/delivery-page.d.ts.map +1 -1
  69. package/dist/components/help-center-pages/delivery-page.js +4 -16
  70. package/dist/components/help-center-pages/download-apps-page.d.ts +1 -8
  71. package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
  72. package/dist/components/help-center-pages/download-apps-page.js +3 -4
  73. package/dist/components/help-center-pages/index.cjs +123 -171
  74. package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts +1 -8
  75. package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts.map +1 -1
  76. package/dist/components/help-center-pages/onboarding-guides-catalog-page.js +14 -26
  77. package/dist/components/help-center-pages/product-releases-list-page.d.ts +1 -8
  78. package/dist/components/help-center-pages/product-releases-list-page.d.ts.map +1 -1
  79. package/dist/components/help-center-pages/product-releases-list-page.js +12 -24
  80. package/dist/components/help-center-pages/roadmap-page.d.ts +1 -8
  81. package/dist/components/help-center-pages/roadmap-page.d.ts.map +1 -1
  82. package/dist/components/help-center-pages/roadmap-page.js +13 -25
  83. package/dist/components/help-center-pages/trust-center-page.d.ts +1 -1
  84. package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
  85. package/dist/components/index.cjs +58 -49
  86. package/dist/components/index.d.ts +1 -0
  87. package/dist/components/index.d.ts.map +1 -1
  88. package/dist/components/index.js +1 -0
  89. package/dist/components/meeting-scheduler/index.cjs +50 -49
  90. package/dist/components/navigation/index.cjs +15 -14
  91. package/dist/components/onboarding-guides/index.cjs +14 -13
  92. package/dist/components/page-topic-label.d.ts +13 -0
  93. package/dist/components/page-topic-label.d.ts.map +1 -0
  94. package/dist/components/page-topic-label.js +20 -0
  95. package/dist/components/product-demo/index.cjs +23 -22
  96. package/dist/components/shared/dev-section/dev-section-page.d.ts +1 -8
  97. package/dist/components/shared/dev-section/dev-section-page.d.ts.map +1 -1
  98. package/dist/components/shared/dev-section/dev-section-page.js +2 -3
  99. package/dist/components/shared/legal-document/legal-document-page.d.ts +2 -10
  100. package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
  101. package/dist/components/shared/legal-document/legal-document-page.js +2 -5
  102. package/dist/components/shared/legal-document/use-legal-documents.d.ts +0 -2
  103. package/dist/components/shared/legal-document/use-legal-documents.d.ts.map +1 -1
  104. package/dist/components/shared/legal-document/use-legal-documents.js +0 -1
  105. package/dist/components/tickets/index.cjs +17 -16
  106. package/dist/components/ui/actions-menu.d.ts.map +1 -1
  107. package/dist/components/ui/actions-menu.js +27 -1
  108. package/dist/components/ui/index.cjs +18 -11
  109. package/dist/contexts/endpoints-runtime-context.d.ts +5 -0
  110. package/dist/contexts/endpoints-runtime-context.d.ts.map +1 -1
  111. package/dist/contexts/index.cjs +10 -1
  112. package/dist/contexts/index.d.ts +1 -0
  113. package/dist/contexts/index.d.ts.map +1 -1
  114. package/dist/contexts/index.js +4 -0
  115. package/dist/contexts/page-topics-context.d.ts +30 -0
  116. package/dist/contexts/page-topics-context.d.ts.map +1 -0
  117. package/dist/contexts/page-topics-context.js +27 -0
  118. package/dist/{devices-JWG72ANF.cjs → devices-H6C4NMIY.cjs} +13 -12
  119. package/dist/{embeddable-chat-5UT6UHEO.cjs → embeddable-chat-KUESE7P6.cjs} +107 -97
  120. package/dist/hooks/index.cjs +3 -3
  121. package/dist/index.cjs +33 -15
  122. package/dist/{knowledge-DQXVSHME.cjs → knowledge-O6IBO5Y5.cjs} +13 -12
  123. package/dist/{logs-Z33VBTVX.cjs → logs-Y2UCF24Z.cjs} +19 -18
  124. package/dist/{policies-XE4UMH6Z.cjs → policies-J6O3RLJT.cjs} +16 -15
  125. package/dist/{remote-session-QGFG5WAL.cjs → remote-session-RVTFWSU4.cjs} +5 -5
  126. package/dist/{scripts-MECQG5GG.cjs → scripts-N67MM4T2.cjs} +19 -18
  127. package/dist/{software-update-PCSIA6BP.cjs → software-update-HB7F6KNG.cjs} +16 -15
  128. package/dist/{tickets-board-KCH6ITUV.cjs → tickets-board-2K3PBCNW.cjs} +8 -8
  129. package/dist/utils/index.cjs +46 -0
  130. package/dist/utils/index.d.ts +1 -0
  131. package/dist/utils/index.d.ts.map +1 -1
  132. package/dist/utils/index.js +12 -0
  133. package/dist/utils/page-topics.cjs +48 -0
  134. package/dist/utils/page-topics.d.ts +34 -0
  135. package/dist/utils/page-topics.d.ts.map +1 -0
  136. package/dist/utils/page-topics.js +46 -0
  137. package/package.json +7 -1
  138. package/src/components/chat/assistant-ask-prompts.tsx +8 -2
  139. package/src/components/chat/embeddable-chat.tsx +32 -45
  140. package/src/components/chat/guide-welcome.tsx +28 -49
  141. package/src/components/chat/hooks/use-empty-state-config.ts +22 -5
  142. package/src/components/chat/mingo-quick-action-wall.tsx +166 -31
  143. package/src/components/chat/mingo-welcome.tsx +16 -35
  144. package/src/components/chat/quick-action-chip.tsx +32 -8
  145. package/src/components/faq/faq-ask-card.tsx +2 -12
  146. package/src/components/faq/faq-document-page.tsx +1 -5
  147. package/src/components/faq/faq-section.tsx +47 -50
  148. package/src/components/faq/index.ts +1 -2
  149. package/src/components/help-center-pages/delivery-page.tsx +1 -16
  150. package/src/components/help-center-pages/download-apps-page.tsx +2 -9
  151. package/src/components/help-center-pages/onboarding-guides-catalog-page.tsx +1 -16
  152. package/src/components/help-center-pages/product-releases-list-page.tsx +1 -16
  153. package/src/components/help-center-pages/roadmap-page.tsx +1 -16
  154. package/src/components/help-center-pages/trust-center-page.tsx +1 -1
  155. package/src/components/index.ts +1 -0
  156. package/src/components/page-topic-label.tsx +30 -0
  157. package/src/components/shared/dev-section/dev-section-page.tsx +2 -9
  158. package/src/components/shared/legal-document/legal-document-page.tsx +3 -13
  159. package/src/components/shared/legal-document/use-legal-documents.ts +0 -3
  160. package/src/components/ui/actions-menu.tsx +35 -1
  161. package/src/contexts/endpoints-runtime-context.tsx +5 -0
  162. package/src/contexts/index.ts +1 -0
  163. package/src/contexts/page-topics-context.tsx +68 -0
  164. package/src/utils/index.ts +8 -0
  165. package/src/utils/page-topics.ts +81 -0
  166. package/dist/{chunk-IKWQW3YJ.cjs → chunk-AY6XJOIN.cjs} +4 -4
@@ -1,16 +1,20 @@
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 _chunkIKWQW3YJcjs = require('./chunk-IKWQW3YJ.cjs');
4
+ var _chunkAY6XJOINcjs = require('./chunk-AY6XJOIN.cjs');
5
5
 
6
6
 
7
+ var _chunkMZ4KBSH7cjs = require('./chunk-MZ4KBSH7.cjs');
7
8
 
8
- var _chunkQMQWXGCHcjs = require('./chunk-QMQWXGCH.cjs');
9
9
 
10
10
 
11
+ var _chunk56EP4QM2cjs = require('./chunk-56EP4QM2.cjs');
11
12
 
12
13
 
13
- var _chunkBGT6JFMPcjs = require('./chunk-BGT6JFMP.cjs');
14
+
15
+
16
+
17
+ var _chunk5LED4QHZcjs = require('./chunk-5LED4QHZ.cjs');
14
18
 
15
19
 
16
20
 
@@ -25,6 +29,10 @@ var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
25
29
 
26
30
 
27
31
 
32
+ var _chunkIX2E3AN7cjs = require('./chunk-IX2E3AN7.cjs');
33
+
34
+
35
+
28
36
  var _chunkYMLRDVPOcjs = require('./chunk-YMLRDVPO.cjs');
29
37
 
30
38
 
@@ -74,7 +82,7 @@ function FaqAccordion({ items, defaultOpenIds = [], loading: loadingProp, skelet
74
82
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
75
83
  "div",
76
84
  {
77
- id: _chunkBGT6JFMPcjs.faqItemAnchor.call(void 0, item.id),
85
+ id: _chunk5LED4QHZcjs.faqItemAnchor.call(void 0, item.id),
78
86
  className: _chunk63A4GZMBcjs.cn.call(void 0, ROW_FRAME_CLASS, "hover:bg-ods-bg-hover"),
79
87
  "data-loading-item": true,
80
88
  children: [
@@ -140,17 +148,16 @@ function FaqAccordionSkeleton({
140
148
 
141
149
  var PICK_ROOT_MARGIN = "600px";
142
150
  function faqAskCardShown(assistant) {
143
- return _chunkQMQWXGCHcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
151
+ return _chunk56EP4QM2cjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
144
152
  }
145
- function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
153
+ function FaqAskCard({ exclude, count, title, description, onOpen }) {
146
154
  const { ref, inView } = _chunkW4VEDSAXcjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
147
155
  const [reached, setReached] = _react.useState.call(void 0, false);
148
156
  if (inView && !reached) setReached(true);
149
157
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
150
- _chunkQMQWXGCHcjs.AssistantAskPrompts,
158
+ _chunk56EP4QM2cjs.AssistantAskPrompts,
151
159
  {
152
160
  variant: "card",
153
- topic,
154
161
  count,
155
162
  exclude,
156
163
  enabled: reached,
@@ -193,6 +200,7 @@ function buildFaqJsonLdFromFaqs(faqs, opts = {}) {
193
200
  // src/components/faq/faq-section.tsx
194
201
 
195
202
  var DEFAULT_HEADING_TEXT = "Frequently Asked Questions";
203
+ var DEFAULT_FAQS_PATH = "/api/faqs";
196
204
  var SECTION_DEFAULT_CLASS = "space-y-10";
197
205
  var NAV_ABOVE_QUESTIONS_CLASS = "pb-8";
198
206
  var NAV_BELOW_HEADING_CLASS = "pt-8";
@@ -201,7 +209,6 @@ var ASIDE_GRID_CLASS = "grid grid-cols-1 gap-10 content-lg:grid-cols-[minmax(0,1
201
209
  var ASIDE_QUESTIONS_CELL_CLASS = "content-lg:col-start-2 content-lg:row-span-2 content-lg:row-start-1";
202
210
  var ASIDE_CELL_CLASS = "content-lg:col-start-1 content-lg:row-start-2";
203
211
  var TOPIC_STACK_CLASS = "space-y-1";
204
- var TOPIC_CLASS = "text-ods-text-muted text-h6";
205
212
  var CATEGORY_NAV_CLASS = "flex flex-wrap gap-2";
206
213
  var CATEGORY_NAV_SKELETON_LINE_CLASS = "flex min-w-0 flex-nowrap gap-2 overflow-hidden";
207
214
  var FAQ_NAV_SKELETON_PILLS = 8;
@@ -237,18 +244,18 @@ function faqHeadingNode(heading, showTopic, topic) {
237
244
  if (!(showTopic && topic)) return titleNode;
238
245
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TOPIC_STACK_CLASS, children: [
239
246
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: titleNode }),
240
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: TOPIC_CLASS, children: topic })
247
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5LED4QHZcjs.PageTopicLabel, {})
241
248
  ] });
242
249
  }
243
250
  var PAGE_FAQ_SECTION_ID = "faq";
244
251
  var PAGE_FAQ_IN_PAGE_CLASS = "space-y-10 pt-12 md:pt-20";
245
- function pageFaqProps(faq) {
246
- return { ...faq, id: PAGE_FAQ_SECTION_ID, className: PAGE_FAQ_IN_PAGE_CLASS };
252
+ function SharedPageFaq() {
253
+ const faqsUrl = _optionalChain([_chunkMZ4KBSH7cjs.useEndpointsRuntime.call(void 0, ), 'optionalAccess', _ => _.faqsUrl]);
254
+ return faqsUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FaqSection, { id: PAGE_FAQ_SECTION_ID, className: PAGE_FAQ_IN_PAGE_CLASS }) : null;
247
255
  }
248
- function buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl = "", topic) {
256
+ function buildFaqsUrl(endpoint, entityType, entityId, minResults, topic) {
249
257
  const entityScoped = !!entityType && entityId !== void 0 && entityId !== null && entityId !== "";
250
- return _chunkYMLRDVPOcjs.buildSuggestionUrl.call(void 0, "/api/faqs", {
251
- apiBaseUrl,
258
+ return _chunkYMLRDVPOcjs.buildSuggestionUrl.call(void 0, endpoint, {
252
259
  entityType,
253
260
  entityId,
254
261
  count: minResults,
@@ -260,7 +267,7 @@ function groupFaqsBySection(faqs) {
260
267
  let uncategorized = null;
261
268
  for (const faq of faqs) {
262
269
  const item = { id: faq.id, question: faq.question, answer: faq.answer };
263
- const name = _optionalChain([faq, 'access', _ => _.section, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
270
+ const name = _optionalChain([faq, 'access', _2 => _2.section, 'optionalAccess', _3 => _3.trim, 'call', _4 => _4()]);
264
271
  if (!name) {
265
272
  if (!uncategorized) uncategorized = { section: null, slug: null, items: [] };
266
273
  uncategorized.items.push(item);
@@ -268,7 +275,7 @@ function groupFaqsBySection(faqs) {
268
275
  }
269
276
  let group = byName.get(name);
270
277
  if (!group) {
271
- group = { section: name, slug: _chunkBGT6JFMPcjs.faqSectionSlug.call(void 0, name), items: [] };
278
+ group = { section: name, slug: _chunk5LED4QHZcjs.faqSectionSlug.call(void 0, name), items: [] };
272
279
  byName.set(name, group);
273
280
  }
274
281
  group.items.push(item);
@@ -288,7 +295,7 @@ function GroupedFaqList({
288
295
  }) {
289
296
  const CategoryHeading = categoryHeadingAs;
290
297
  const navGroups = _react.useMemo.call(void 0, () => groups.filter((g) => g.slug), [groups]);
291
- const [activeSlug, setActiveSlug] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([navGroups, 'access', _4 => _4[0], 'optionalAccess', _5 => _5.slug]), () => ( null)));
298
+ const [activeSlug, setActiveSlug] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([navGroups, 'access', _5 => _5[0], 'optionalAccess', _6 => _6.slug]), () => ( null)));
292
299
  const slugKey = navGroups.map((g) => g.slug).join("|");
293
300
  const navGroupsRef = _react.useRef.call(void 0, navGroups);
294
301
  _react.useEffect.call(void 0, () => {
@@ -324,13 +331,13 @@ function GroupedFaqList({
324
331
  }, [slugKey]);
325
332
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
326
333
  _react.useEffect.call(void 0, () => {
327
- const refresh = () => setHashTarget(_chunkBGT6JFMPcjs.parseFaqHash.call(void 0, window.location.hash));
334
+ const refresh = () => setHashTarget(_chunk5LED4QHZcjs.parseFaqHash.call(void 0, window.location.hash));
328
335
  refresh();
329
336
  window.addEventListener("hashchange", refresh);
330
337
  return () => window.removeEventListener("hashchange", refresh);
331
338
  }, []);
332
339
  const defaultOpenByGroupKey = _react.useMemo.call(void 0, () => {
333
- if (_optionalChain([hashTarget, 'optionalAccess', _6 => _6.kind]) !== "item") return null;
340
+ if (_optionalChain([hashTarget, 'optionalAccess', _7 => _7.kind]) !== "item") return null;
334
341
  const targetId = hashTarget.rawId;
335
342
  const result = /* @__PURE__ */ new Map();
336
343
  for (const group of groups) {
@@ -339,13 +346,13 @@ function GroupedFaqList({
339
346
  }
340
347
  return result.size > 0 ? result : null;
341
348
  }, [groups, hashTarget]);
342
- const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess', _7 => _7.kind]) === "item" ? `item:${hashTarget.rawId}` : "default";
343
- const scrollDep = `${groups.length}|` + (_optionalChain([hashTarget, 'optionalAccess', _8 => _8.kind]) === "item" ? `item:${hashTarget.rawId}` : _optionalChain([hashTarget, 'optionalAccess', _9 => _9.kind]) === "section" ? `section:${hashTarget.slug}` : "none");
344
- _chunkIKWQW3YJcjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkW4VEDSAXcjs.STICKY_HEADER_OFFSET_PX });
349
+ const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess', _8 => _8.kind]) === "item" ? `item:${hashTarget.rawId}` : "default";
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
+ _chunkAY6XJOINcjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkW4VEDSAXcjs.STICKY_HEADER_OFFSET_PX });
345
352
  const [pillSyncedHash, setPillSyncedHash] = _react.useState.call(void 0, hashTarget);
346
353
  if (pillSyncedHash !== hashTarget) {
347
354
  setPillSyncedHash(hashTarget);
348
- if (_optionalChain([hashTarget, 'optionalAccess', _10 => _10.kind]) === "section") setActiveSlug(hashTarget.slug);
355
+ if (_optionalChain([hashTarget, 'optionalAccess', _11 => _11.kind]) === "section") setActiveSlug(hashTarget.slug);
349
356
  }
350
357
  const handleJump = _react.useCallback.call(void 0, (e, slug) => {
351
358
  e.preventDefault();
@@ -389,7 +396,7 @@ function GroupedFaqList({
389
396
  FaqAccordion,
390
397
  {
391
398
  items: group.items,
392
- defaultOpenIds: _optionalChain([defaultOpenByGroupKey, 'optionalAccess', _11 => _11.get, 'call', _12 => _12(key)])
399
+ defaultOpenIds: _optionalChain([defaultOpenByGroupKey, 'optionalAccess', _12 => _12.get, 'call', _13 => _13(key)])
393
400
  },
394
401
  `${key}:${accordionKeySuffix}`
395
402
  )
@@ -402,31 +409,34 @@ function FaqSection({
402
409
  initialFaqs,
403
410
  entityType,
404
411
  entityId,
405
- topic,
406
412
  heading,
407
413
  emitJsonLd = false,
408
414
  jsonLd,
409
415
  className,
410
416
  id,
411
- showTopic = false,
417
+ showTopic: showTopicProp,
412
418
  minResults,
413
- apiBaseUrl = "",
419
+ apiBaseUrl,
414
420
  aside: asideProp,
415
421
  ask,
416
422
  skeletonShape,
417
423
  skeletonNav = false
418
424
  }) {
425
+ const topicStamp = _chunkIX2E3AN7cjs.usePageTopicStamp.call(void 0, );
426
+ const showTopic = _nullishCoalesce(showTopicProp, () => ( topicStamp));
419
427
  const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
420
428
  const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
421
- const askTopic = ask === false ? void 0 : _optionalChain([ask, 'optionalAccess', _13 => _13.topic]) || topic || entityType;
422
- const aside = _nullishCoalesce(asideProp, () => ( (ask !== false && askTopic && faqAskCardShown(assistant) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FaqAskCard, { ...ask, topic: askTopic }) : void 0)));
423
- const url = buildFaqsUrl(entityType, entityId, minResults, apiBaseUrl, topic);
429
+ const topic = _chunkIX2E3AN7cjs.usePageTopic.call(void 0, );
430
+ const aside = _nullishCoalesce(asideProp, () => ( (ask !== false && topic && faqAskCardShown(assistant) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FaqAskCard, { ...ask }) : void 0)));
431
+ const runtimeFaqsUrl = _optionalChain([_chunkMZ4KBSH7cjs.useEndpointsRuntime.call(void 0, ), 'optionalAccess', _14 => _14.faqsUrl]);
432
+ const endpoint = apiBaseUrl !== void 0 ? `${apiBaseUrl}${DEFAULT_FAQS_PATH}` : _nullishCoalesce(runtimeFaqsUrl, () => ( DEFAULT_FAQS_PATH));
433
+ const url = buildFaqsUrl(endpoint, entityType, entityId, minResults, topic);
424
434
  const initialData = _react.useMemo.call(void 0,
425
435
  () => initialFaqs ? { faqs: initialFaqs } : void 0,
426
436
  [initialFaqs]
427
437
  );
428
438
  const { data, dataUrl, isLoading, error } = _chunkYMLRDVPOcjs.useSelfFetch.call(void 0, inScope ? null : url, { initialData });
429
- const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _14 => _14.faqs]) : void 0;
439
+ const held = dataUrl === url ? _optionalChain([data, 'optionalAccess', _15 => _15.faqs]) : void 0;
430
440
  const faqs = _react.useMemo.call(void 0, () => _nullishCoalesce(held, () => ( [])), [held]);
431
441
  const groups = _react.useMemo.call(void 0, () => faqs.length > 0 ? groupFaqsBySection(faqs) : [], [faqs]);
432
442
  const headingNode = faqHeadingNode(heading, showTopic, topic);
@@ -475,13 +485,15 @@ var DEFAULT_SKELETON_SHAPE = [{}];
475
485
  function FaqSectionSkeleton({
476
486
  heading,
477
487
  topic,
478
- showTopic = false,
488
+ showTopic: showTopicProp,
479
489
  aside,
480
490
  shape = DEFAULT_SKELETON_SHAPE,
481
491
  navRow = false,
482
492
  className,
483
493
  id
484
494
  }) {
495
+ const topicStamp = _chunkIX2E3AN7cjs.usePageTopicStamp.call(void 0, );
496
+ const showTopic = _nullishCoalesce(showTopicProp, () => ( topicStamp));
485
497
  const headingNode = faqHeadingNode(heading, showTopic, topic);
486
498
  const CategoryHeading = heading === null ? "h2" : "h3";
487
499
  const groups = shape.length > 0 ? shape : DEFAULT_SKELETON_SHAPE;
@@ -527,4 +539,4 @@ function FaqSectionSkeleton({
527
539
 
528
540
 
529
541
 
530
- exports.FAQ_ACCORDION_SKELETON_ROWS = FAQ_ACCORDION_SKELETON_ROWS; exports.FaqAccordion = FaqAccordion; exports.FaqAskCard = FaqAskCard; exports.FAQ_SECTION_SKELETON_QUESTIONS = FAQ_SECTION_SKELETON_QUESTIONS; exports.PAGE_FAQ_SECTION_ID = PAGE_FAQ_SECTION_ID; exports.pageFaqProps = pageFaqProps; exports.FaqSection = FaqSection;
542
+ exports.FAQ_ACCORDION_SKELETON_ROWS = FAQ_ACCORDION_SKELETON_ROWS; exports.FaqAccordion = FaqAccordion; exports.FaqAskCard = FaqAskCard; exports.FAQ_SECTION_SKELETON_QUESTIONS = FAQ_SECTION_SKELETON_QUESTIONS; exports.PAGE_FAQ_SECTION_ID = PAGE_FAQ_SECTION_ID; exports.SharedPageFaq = SharedPageFaq; exports.FaqSection = FaqSection;
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunk4ZH7RPEAcjs = require('./chunk-4ZH7RPEA.cjs');
4
+ var _chunk5KSPG3TVcjs = require('./chunk-5KSPG3TV.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
- _chunk4ZH7RPEAcjs.EmbedViewerFrame,
51
+ _chunk5KSPG3TVcjs.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
- _chunk4ZH7RPEAcjs.EmbedViewerFrame,
86
+ _chunk5KSPG3TVcjs.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,
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkBIG3O33Pcjs = require('./chunk-BIG3O33P.cjs');
8
+ var _chunkYJZ7R3W5cjs = require('./chunk-YJZ7R3W5.cjs');
9
9
 
10
10
 
11
11
  var _chunkOEP5KAT6cjs = require('./chunk-OEP5KAT6.cjs');
@@ -310,15 +310,15 @@ function TicketStatusTag({
310
310
  );
311
311
  if (loading || disabled || !options || options.length === 0 || !onSelect) {
312
312
  if (!loading && disabled && disabledReason) {
313
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIG3O33Pcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkBIG3O33Pcjs.Tooltip, { children: [
314
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIG3O33Pcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-fit shrink-0 cursor-not-allowed", children: tag }) }),
315
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIG3O33Pcjs.TooltipContent, { children: disabledReason })
313
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYJZ7R3W5cjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYJZ7R3W5cjs.Tooltip, { children: [
314
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYJZ7R3W5cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-fit shrink-0 cursor-not-allowed", children: tag }) }),
315
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYJZ7R3W5cjs.TooltipContent, { children: disabledReason })
316
316
  ] }) });
317
317
  }
318
318
  return tag;
319
319
  }
320
320
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
321
- _chunkBIG3O33Pcjs.ActionsMenuDropdown,
321
+ _chunkYJZ7R3W5cjs.ActionsMenuDropdown,
322
322
  {
323
323
  align: "start",
324
324
  groups: [
@@ -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 _chunkYKUL6JBIcjs = require('./chunk-YKUL6JBI.cjs');
4
+ var _chunkM75723HDcjs = require('./chunk-M75723HD.cjs');
5
5
 
6
6
 
7
- var _chunk4ZH7RPEAcjs = require('./chunk-4ZH7RPEA.cjs');
7
+ var _chunk5KSPG3TVcjs = require('./chunk-5KSPG3TV.cjs');
8
8
 
9
9
 
10
- var _chunkDU6AF77Xcjs = require('./chunk-DU6AF77X.cjs');
10
+ var _chunk2BGLALP5cjs = require('./chunk-2BGLALP5.cjs');
11
11
 
12
12
 
13
13
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -25,7 +25,6 @@ function FaqDocumentPage({
25
25
  entityType,
26
26
  entityId,
27
27
  minResults,
28
- topic,
29
28
  ask,
30
29
  skeletonShape,
31
30
  skeletonNav,
@@ -36,8 +35,8 @@ function FaqDocumentPage({
36
35
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _ => _.label]), () => ( "Back to home")),
37
36
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _2 => _2.href]), () => ( "/")))
38
37
  };
39
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDU6AF77Xcjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40
- _chunkYKUL6JBIcjs.FaqSection,
38
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2BGLALP5cjs.PageLayout, { title, subtitle, backButton: backCfg, titleSize: "h1", titleWrap: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39
+ _chunkM75723HDcjs.FaqSection,
41
40
  {
42
41
  initialFaqs,
43
42
  heading: null,
@@ -47,13 +46,12 @@ function FaqDocumentPage({
47
46
  entityType,
48
47
  entityId,
49
48
  minResults,
50
- topic,
51
49
  ask,
52
50
  skeletonShape,
53
51
  skeletonNav
54
52
  }
55
53
  ) });
56
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
54
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5KSPG3TVcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
57
55
  }
58
56
 
59
57
 
@@ -4,8 +4,7 @@
4
4
  var _chunkENMPSEEQcjs = require('./chunk-ENMPSEEQ.cjs');
5
5
 
6
6
 
7
-
8
- var _chunkYKUL6JBIcjs = require('./chunk-YKUL6JBI.cjs');
7
+ var _chunkM75723HDcjs = require('./chunk-M75723HD.cjs');
9
8
 
10
9
 
11
10
 
@@ -14,21 +13,21 @@ var _chunkHEVW75L3cjs = require('./chunk-HEVW75L3.cjs');
14
13
 
15
14
 
16
15
 
17
- var _chunk4ZH7RPEAcjs = require('./chunk-4ZH7RPEA.cjs');
16
+ var _chunk5KSPG3TVcjs = require('./chunk-5KSPG3TV.cjs');
18
17
 
19
18
 
20
- var _chunkDU6AF77Xcjs = require('./chunk-DU6AF77X.cjs');
19
+ var _chunk2BGLALP5cjs = require('./chunk-2BGLALP5.cjs');
21
20
 
22
21
 
22
+ var _chunk56EP4QM2cjs = require('./chunk-56EP4QM2.cjs');
23
23
 
24
24
 
25
- var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
25
+ var _chunk5LED4QHZcjs = require('./chunk-5LED4QHZ.cjs');
26
26
 
27
27
 
28
- var _chunkQMQWXGCHcjs = require('./chunk-QMQWXGCH.cjs');
29
28
 
30
29
 
31
- var _chunkBGT6JFMPcjs = require('./chunk-BGT6JFMP.cjs');
30
+ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
32
31
 
33
32
 
34
33
 
@@ -107,7 +106,7 @@ function PageDataSyncProvider({
107
106
  function PageDataSyncRow({ inline = false }) {
108
107
  const context = _react.useContext.call(void 0, PageDataSyncContext);
109
108
  if (!context) return null;
110
- const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
109
+ const line = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5KSPG3TVcjs.DataSyncLine, { sync: context.state.sync, loading: context.state.loading, stated: context.stated, inline });
111
110
  return context.stated ? line : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: line });
112
111
  }
113
112
  function usePageDataSync(sync, loading) {
@@ -126,7 +125,7 @@ function usePageDataSync(sync, loading) {
126
125
  // src/components/shared/dev-section/dev-section-view.tsx
127
126
 
128
127
  function DevSectionView({ sectionKey, preControls, children, showHeading = true }) {
129
- const section = _chunkQMQWXGCHcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
128
+ const section = _chunk56EP4QM2cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
130
129
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
131
130
  const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
132
131
  const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
@@ -168,7 +167,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
168
167
  preControls,
169
168
  (search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
170
169
  search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
171
- _chunkBGT6JFMPcjs.SearchInput,
170
+ _chunk5LED4QHZcjs.SearchInput,
172
171
  {
173
172
  showDropdown: false,
174
173
  placeholder: search.placeholder,
@@ -178,7 +177,7 @@ function DevSectionView({ sectionKey, preControls, children, showHeading = true
178
177
  }
179
178
  ),
180
179
  filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
181
- _chunk4ZH7RPEAcjs.StatusFilterComponent,
180
+ _chunk5KSPG3TVcjs.StatusFilterComponent,
182
181
  {
183
182
  selectedStatus: currentFilterValue,
184
183
  onStatusChange: handleFilterChange,
@@ -199,11 +198,10 @@ function DevSectionPage({
199
198
  backButton,
200
199
  title,
201
200
  subtitle,
202
- faq,
203
201
  shell = true
204
202
  }) {
205
203
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
206
- const section = _chunkQMQWXGCHcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
204
+ const section = _chunk56EP4QM2cjs.OPENFRAME_DEV_SECTIONS[sectionKey];
207
205
  const backCfg = backButton === false ? void 0 : {
208
206
  label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
209
207
  onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
@@ -216,7 +214,7 @@ function DevSectionPage({
216
214
  // duplicate title. (The hero icon is intentionally dropped: TitleBlock is
217
215
  // frozen and renders title-only.)
218
216
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
219
- _chunkDU6AF77Xcjs.PageLayout,
217
+ _chunk2BGLALP5cjs.PageLayout,
220
218
  {
221
219
  title: _nullishCoalesce(title, () => ( section.hero.title)),
222
220
  subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
@@ -225,12 +223,12 @@ function DevSectionPage({
225
223
  backButton: backCfg,
226
224
  children: [
227
225
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DevSectionView, { sectionKey, showHeading: false, preControls, children }),
228
- faq && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYKUL6JBIcjs.FaqSection, { ..._chunkYKUL6JBIcjs.pageFaqProps.call(void 0, faq) })
226
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM75723HDcjs.SharedPageFaq, {})
229
227
  ]
230
228
  }
231
229
  )
232
230
  );
233
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
231
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5KSPG3TVcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
234
232
  }
235
233
 
236
234
  // src/components/shared/dev-section/dev-card-row.tsx
@@ -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 _chunkQMQWXGCHcjs = require('./chunk-QMQWXGCH.cjs');
4
+ var _chunk56EP4QM2cjs = require('./chunk-56EP4QM2.cjs');
5
5
 
6
6
 
7
- var _chunkBGT6JFMPcjs = require('./chunk-BGT6JFMP.cjs');
7
+ var _chunk5LED4QHZcjs = require('./chunk-5LED4QHZ.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 = _chunkBGT6JFMPcjs.useChatIdentity.call(void 0, enabled);
47
+ const identity = _chunk5LED4QHZcjs.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 = _chunkQMQWXGCHcjs.createSseSubscription.call(void 0, {
163
+ subscriptionRef.current = _chunk56EP4QM2cjs.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),