@flamingo-stack/openframe-frontend-core 0.0.766 → 0.0.767

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/build/export-map.json +1 -1
  2. package/dist/{chunk-NJMZ3N7Q.cjs → chunk-7TJVYRHR.cjs} +5 -5
  3. package/dist/{chunk-X7ECVSVN.cjs → chunk-7ZU3AVEX.cjs} +11 -11
  4. package/dist/{chunk-F7R3U5EN.cjs → chunk-BXMDLQUA.cjs} +2 -2
  5. package/dist/{chunk-VRDHAR3X.cjs → chunk-FVH53QZJ.cjs} +100 -88
  6. package/dist/{chunk-7XFVUUVZ.cjs → chunk-GJ5DHDFQ.cjs} +2 -2
  7. package/dist/{chunk-JKQVKWLB.cjs → chunk-GQ7RGD4Y.cjs} +43 -43
  8. package/dist/{chunk-K3IHNXR4.cjs → chunk-I7A5MPXA.cjs} +3 -3
  9. package/dist/{chunk-VYYLYZUC.cjs → chunk-IKXUJUXC.cjs} +2 -2
  10. package/dist/{chunk-7VI7TOGI.cjs → chunk-JBJVUQVH.cjs} +134 -96
  11. package/dist/{chunk-JGWN6GH5.cjs → chunk-KHISVNNH.cjs} +4 -4
  12. package/dist/{chunk-WO3XO27C.cjs → chunk-M2UU3CWX.cjs} +3 -3
  13. package/dist/{chunk-INI4ADPT.cjs → chunk-MNIMYGFR.cjs} +13 -13
  14. package/dist/{chunk-NF3PBWDJ.cjs → chunk-NO2DEFAP.cjs} +43 -43
  15. package/dist/{chunk-UW7UWUZU.cjs → chunk-TPOLNGOW.cjs} +35 -35
  16. package/dist/{chunk-HNQRY6RU.cjs → chunk-UHDBMKJB.cjs} +3 -3
  17. package/dist/{chunk-7U3ELNGC.cjs → chunk-WEPIWJGR.cjs} +10 -10
  18. package/dist/{chunk-RTBYQWAV.cjs → chunk-XIXR6BHI.cjs} +27 -27
  19. package/dist/{cloud-tenants-U2KMEIO7.cjs → cloud-tenants-WXK5RDSY.cjs} +3 -3
  20. package/dist/components/case-studies/index.cjs +13 -13
  21. package/dist/components/chat/index.cjs +2 -2
  22. package/dist/components/chat/index.d.ts.map +1 -1
  23. package/dist/components/chat/index.js +18 -4
  24. package/dist/components/contact/index.cjs +4 -4
  25. package/dist/components/docs/index.cjs +7 -7
  26. package/dist/components/embeds/index.cjs +4 -4
  27. package/dist/components/embeds/rich-markdown-runtime.d.ts +4 -1
  28. package/dist/components/embeds/rich-markdown-runtime.d.ts.map +1 -1
  29. package/dist/components/embeds/rich-markdown-runtime.js +6 -5
  30. package/dist/components/faq/index.cjs +5 -5
  31. package/dist/components/features/index.cjs +3 -3
  32. package/dist/components/features/walkthrough-video.d.ts.map +1 -1
  33. package/dist/components/features/walkthrough-video.js +3 -1
  34. package/dist/components/help-center-pages/index.cjs +58 -58
  35. package/dist/components/index.cjs +33 -33
  36. package/dist/components/meeting-scheduler/index.cjs +24 -24
  37. package/dist/components/navigation/index.cjs +6 -6
  38. package/dist/components/onboarding-guides/index.cjs +5 -5
  39. package/dist/components/product-demo/index.cjs +12 -12
  40. package/dist/components/tickets/index.cjs +8 -8
  41. package/dist/components/ui/index.cjs +3 -3
  42. package/dist/components/ui/markdown/rich/embed-overrides.d.ts.map +1 -1
  43. package/dist/components/ui/markdown/rich/embed-overrides.js +10 -1
  44. package/dist/{devices-2D3XSIIE.cjs → devices-UHHHTCJF.cjs} +4 -4
  45. package/dist/index.cjs +9 -7
  46. package/dist/{knowledge-AJ36PMK2.cjs → knowledge-TJKHM7W4.cjs} +3 -3
  47. package/dist/{logs-DNE44ACE.cjs → logs-B3KCCMPE.cjs} +11 -11
  48. package/dist/{policies-AJHSP6ZY.cjs → policies-ZTUIXSYZ.cjs} +7 -7
  49. package/dist/{scripts-4YO2QL36.cjs → scripts-FIFAHBS6.cjs} +8 -8
  50. package/dist/{software-update-KMI2EOO3.cjs → software-update-62PLASQU.cjs} +6 -6
  51. package/dist/utils/after-page-load.d.ts +8 -0
  52. package/dist/utils/after-page-load.d.ts.map +1 -0
  53. package/dist/utils/after-page-load.js +24 -0
  54. package/dist/utils/index.cjs +24 -0
  55. package/dist/utils/index.d.ts +1 -0
  56. package/dist/utils/index.d.ts.map +1 -1
  57. package/dist/utils/index.js +1 -0
  58. package/package.json +1 -1
  59. package/src/components/chat/index.ts +22 -5
  60. package/src/components/embeds/rich-markdown-runtime.tsx +10 -6
  61. package/src/components/features/walkthrough-video.tsx +8 -1
  62. package/src/components/ui/markdown/rich/embed-overrides.tsx +11 -1
  63. package/src/utils/after-page-load.ts +30 -0
  64. package/src/utils/index.ts +1 -0
@@ -1,7 +1,7 @@
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 _chunkVRDHAR3Xcjs = require('./chunk-VRDHAR3X.cjs');
4
+ var _chunkFVH53QZJcjs = require('./chunk-FVH53QZJ.cjs');
5
5
 
6
6
 
7
7
 
@@ -70,7 +70,7 @@ function DocSearchBar({
70
70
  renderResult
71
71
  }) {
72
72
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
73
- _chunkVRDHAR3Xcjs.SearchInput,
73
+ _chunkFVH53QZJcjs.SearchInput,
74
74
  {
75
75
  placeholder,
76
76
  value: query,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkNJMZ3N7Qcjs = require('./chunk-NJMZ3N7Q.cjs');
4
+ var _chunk7TJVYRHRcjs = require('./chunk-7TJVYRHR.cjs');
5
5
 
6
6
 
7
7
 
@@ -9,14 +9,14 @@ var _chunkNJMZ3N7Qcjs = require('./chunk-NJMZ3N7Q.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunk7U3ELNGCcjs = require('./chunk-7U3ELNGC.cjs');
12
+ var _chunkWEPIWJGRcjs = require('./chunk-WEPIWJGR.cjs');
13
13
 
14
14
 
15
15
 
16
16
  var _chunkYRFWOJF4cjs = require('./chunk-YRFWOJF4.cjs');
17
17
 
18
18
 
19
- var _chunkF7R3U5ENcjs = require('./chunk-F7R3U5EN.cjs');
19
+ var _chunkBXMDLQUAcjs = require('./chunk-BXMDLQUA.cjs');
20
20
 
21
21
 
22
22
 
@@ -29,7 +29,7 @@ var _chunkF7R3U5ENcjs = require('./chunk-F7R3U5EN.cjs');
29
29
 
30
30
 
31
31
 
32
- var _chunkVRDHAR3Xcjs = require('./chunk-VRDHAR3X.cjs');
32
+ var _chunkFVH53QZJcjs = require('./chunk-FVH53QZJ.cjs');
33
33
 
34
34
 
35
35
 
@@ -43,7 +43,7 @@ var _chunkXVFM6SJAcjs = require('./chunk-XVFM6SJA.cjs');
43
43
 
44
44
 
45
45
 
46
- var _chunk7VI7TOGIcjs = require('./chunk-7VI7TOGI.cjs');
46
+ var _chunkJBJVUQVHcjs = require('./chunk-JBJVUQVH.cjs');
47
47
 
48
48
 
49
49
 
@@ -154,7 +154,7 @@ var TicketActionFailure = class extends Error {
154
154
  function useTicketActions(options) {
155
155
  const queryClient = _reactquery.useQueryClient.call(void 0, );
156
156
  const ticketActionEndpoint = _nullishCoalesce(_chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, ).endpoints.ticketActionUrl, () => ( TICKET_ACTION_ENDPOINT));
157
- const ticketLive = _chunkF7R3U5ENcjs.useOptionalTicketLive.call(void 0, );
157
+ const ticketLive = _chunkBXMDLQUAcjs.useOptionalTicketLive.call(void 0, );
158
158
  const notifyTicketCreated = _optionalChain([ticketLive, 'optionalAccess', _2 => _2.notifyTicketCreated]);
159
159
  const { prependOptimistic, removeOptimistic, removeTicketFromCache, toast: toast2, onSupportSystemDown } = options;
160
160
  const formInFlightRef = _react.useRef.call(void 0, null);
@@ -667,7 +667,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
667
667
  clear();
668
668
  }
669
669
  };
670
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGNBXZXTcjs.Card, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: handleSubmit, className: "flex flex-col gap-6 md:flex-row", ..._chunk7VI7TOGIcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
670
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDGNBXZXTcjs.Card, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: handleSubmit, className: "flex flex-col gap-6 md:flex-row", ..._chunkJBJVUQVHcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
671
671
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1 md:max-w-md", children: [
672
672
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "mb-2 text-ods-text-primary text-h2", children: "Need Support?" }),
673
673
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Can't find what you're looking for? Submit a support ticket below \u2014 we'll follow up shortly." }),
@@ -692,7 +692,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
692
692
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
693
693
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "ticket-content", className: "mb-1 block text-ods-text-primary text-h6", children: "Your Message" }),
694
694
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
695
- _chunkVRDHAR3Xcjs.Textarea,
695
+ _chunkFVH53QZJcjs.Textarea,
696
696
  {
697
697
  id: "ticket-content",
698
698
  placeholder: "Describe your issue or question in detail...",
@@ -822,7 +822,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
822
822
  dateClosed: clickup.date_closed,
823
823
  clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
824
824
  };
825
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkDGNBXZXTcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7U3ELNGCcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
825
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkDGNBXZXTcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEPIWJGRcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
826
826
  }
827
827
 
828
828
  // src/components/tickets/ticket-reply-composer.tsx
@@ -904,13 +904,13 @@ function TicketReplyComposer({
904
904
  }
905
905
  )
906
906
  ] }),
907
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVRDHAR3Xcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
908
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVRDHAR3Xcjs.AlertDialogHeader, { children: [
909
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
910
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
907
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFVH53QZJcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
908
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFVH53QZJcjs.AlertDialogHeader, { children: [
909
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
910
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
911
911
  ] }),
912
912
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
913
- _chunkVRDHAR3Xcjs.Textarea,
913
+ _chunkFVH53QZJcjs.Textarea,
914
914
  {
915
915
  value: resolution,
916
916
  onChange: (e) => setResolution(e.target.value),
@@ -920,9 +920,9 @@ function TicketReplyComposer({
920
920
  className: "mt-2"
921
921
  }
922
922
  ),
923
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVRDHAR3Xcjs.AlertDialogFooter, { children: [
923
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFVH53QZJcjs.AlertDialogFooter, { children: [
924
924
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
925
- _chunkVRDHAR3Xcjs.AlertDialogCancel,
925
+ _chunkFVH53QZJcjs.AlertDialogCancel,
926
926
  {
927
927
  disabled: busy,
928
928
  className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
@@ -930,7 +930,7 @@ function TicketReplyComposer({
930
930
  }
931
931
  ),
932
932
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
933
- _chunkVRDHAR3Xcjs.AlertDialogAction,
933
+ _chunkFVH53QZJcjs.AlertDialogAction,
934
934
  {
935
935
  onClick: () => void confirmClose(),
936
936
  disabled: busy,
@@ -995,7 +995,7 @@ function TicketTimelinePanel({ ticket }) {
995
995
  const identity = _chunkYL6ZB2SRcjs.useChatIdentity.call(void 0, );
996
996
  const externalId = isOptimistic(ticket) ? null : ticket.external_id;
997
997
  const { engagements, isLoading } = useTicketEngagements(externalId, !!externalId);
998
- const live = _chunkF7R3U5ENcjs.useOptionalTicketLive.call(void 0, );
998
+ const live = _chunkBXMDLQUAcjs.useOptionalTicketLive.call(void 0, );
999
999
  const setOpenTicketId = _optionalChain([live, 'optionalAccess', _26 => _26.setOpenTicketId]);
1000
1000
  const markRead = _optionalChain([live, 'optionalAccess', _27 => _27.markRead]);
1001
1001
  const markReadDebounceRef = _react.useRef.call(void 0, null);
@@ -1034,7 +1034,7 @@ function TicketTimelinePanel({ ticket }) {
1034
1034
  const customerName = (isViewerTheCustomer ? viewerName : null) || ticketCustomerName || viewerName || _optionalChain([identity, 'access', _41 => _41.user, 'optionalAccess', _42 => _42.email]) || "You";
1035
1035
  const customerAvatar = isViewerTheCustomer ? _nullishCoalesce(_optionalChain([identity, 'access', _43 => _43.user, 'optionalAccess', _44 => _44.avatarUrl]), () => ( void 0)) : void 0;
1036
1036
  if (isLoading) {
1037
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${TICKET_FEED_FRAME} ${TICKET_FEED_HEIGHT}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading messages", className: TICKET_FEED_INNER, children: Array.from({ length: TICKET_FEED_SKELETON_ROWS }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7VI7TOGIcjs.ChatMessageRowSkeleton, {}, i)) }) });
1037
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${TICKET_FEED_FRAME} ${TICKET_FEED_HEIGHT}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading messages", className: TICKET_FEED_INNER, children: Array.from({ length: TICKET_FEED_SKELETON_ROWS }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJBJVUQVHcjs.ChatMessageRowSkeleton, {}, i)) }) });
1038
1038
  }
1039
1039
  if (bodyTurns.length === 0 && engagements.length === 0) {
1040
1040
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1053,7 +1053,7 @@ function TicketTimelinePanel({ ticket }) {
1053
1053
  const isResolution = turn.startsWith("[Resolution]");
1054
1054
  const text = isResolution ? turn.replace(/^\[Resolution\]\s*/, "") : turn;
1055
1055
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1056
- _chunk7VI7TOGIcjs.ChatMessageRow,
1056
+ _chunkJBJVUQVHcjs.ChatMessageRow,
1057
1057
  {
1058
1058
  displayName: customerName,
1059
1059
  avatarUrl: customerAvatar,
@@ -1082,13 +1082,13 @@ function TicketTimelinePanel({ ticket }) {
1082
1082
  }
1083
1083
  const engAttachments = mapEngagementAttachments(eng.attachments);
1084
1084
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1085
- _chunk7VI7TOGIcjs.ChatMessageRow,
1085
+ _chunkJBJVUQVHcjs.ChatMessageRow,
1086
1086
  {
1087
1087
  displayName: author,
1088
1088
  avatarUrl: avatarSrc,
1089
1089
  timeLabel: eng.createdAt ? _chunkGTONIRJUcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
1090
1090
  body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
1091
- footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1091
+ footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1092
1092
  },
1093
1093
  eng.id
1094
1094
  );
@@ -1239,7 +1239,7 @@ function TicketRow({
1239
1239
  };
1240
1240
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rowRef, id, className: "scroll-mt-24", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Collapsible, { open: expanded && !optimistic, className: "border-b border-ods-border last:border-b-0", children: [
1241
1241
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1242
- _chunk7VI7TOGIcjs.ChatTicketItem,
1242
+ _chunkJBJVUQVHcjs.ChatTicketItem,
1243
1243
  {
1244
1244
  ticket: tileData,
1245
1245
  onClick: optimistic ? void 0 : handleClick,
@@ -1335,7 +1335,7 @@ function TicketCenterAuthed({
1335
1335
  const toggleRow = _react.useCallback.call(void 0, (id) => {
1336
1336
  setExpandedTicketId((prev) => prev === id ? null : id);
1337
1337
  }, []);
1338
- const syncInPage = _chunk7U3ELNGCcjs.usePageDataSync.call(void 0, sync, isLoading);
1338
+ const syncInPage = _chunkWEPIWJGRcjs.usePageDataSync.call(void 0, sync, isLoading);
1339
1339
  const merged = [...optimisticTickets, ...tickets];
1340
1340
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1341
1341
  TicketCenterView,
@@ -1351,7 +1351,7 @@ function TicketCenterAuthed({
1351
1351
  renderRow: (ticket) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1352
1352
  TicketRow,
1353
1353
  {
1354
- id: _chunk7VI7TOGIcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1354
+ id: _chunkJBJVUQVHcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1355
1355
  ticket,
1356
1356
  expanded: expandedTicketId === ticket.id,
1357
1357
  onToggle: toggleRow,
@@ -1370,7 +1370,7 @@ function TicketCenterAuthed({
1370
1370
  function TicketCenterPending({
1371
1371
  region = true
1372
1372
  } = {}) {
1373
- const syncInPage = _chunk7U3ELNGCcjs.usePageDataSync.call(void 0, null, true);
1373
+ const syncInPage = _chunkWEPIWJGRcjs.usePageDataSync.call(void 0, null, true);
1374
1374
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEANWBJHcjs.LoadingRegion, { label: "Loading tickets", announce: region, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.LoadingScope, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1375
1375
  TicketCenterView,
1376
1376
  {
@@ -1433,7 +1433,7 @@ function TicketListHeader({
1433
1433
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-3", children: [
1434
1434
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h5", children: "Your Current Tickets" }),
1435
1435
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: [
1436
- sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVRDHAR3Xcjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
1436
+ sync !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFVH53QZJcjs.DataSyncLine, { sync, loading: syncLoading, inline: true }),
1437
1437
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { inert: !onRefresh || void 0, "aria-hidden": !onRefresh || void 0, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1438
1438
  _chunkTF5D5MNOcjs.Button,
1439
1439
  {
@@ -1458,7 +1458,7 @@ function TicketListSkeleton() {
1458
1458
  i >= TICKET_LIST_FOLD.phone && "hidden md:block",
1459
1459
  i >= TICKET_LIST_FOLD.wide && "md:hidden"
1460
1460
  ),
1461
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7VI7TOGIcjs.ChatTicketItemSkeleton, {})
1461
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJBJVUQVHcjs.ChatTicketItemSkeleton, {})
1462
1462
  },
1463
1463
  i
1464
1464
  )) });
@@ -1507,7 +1507,7 @@ function HelpCenterCard({
1507
1507
  });
1508
1508
  return () => cancelAnimationFrame(raf);
1509
1509
  }, [isExpanded]);
1510
- const live = _chunkF7R3U5ENcjs.useOptionalTicketLive.call(void 0, );
1510
+ const live = _chunkBXMDLQUAcjs.useOptionalTicketLive.call(void 0, );
1511
1511
  const unreadCount = !optimistic && ticket.external_id && _optionalChain([live, 'optionalAccess', _65 => _65.unreadByTicket, 'access', _66 => _66[ticket.external_id]]) || 0;
1512
1512
  const rightBadges = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1513
1513
  unreadCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1557,7 +1557,7 @@ function HelpCenterCard({
1557
1557
  "aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
1558
1558
  className: "w-full p-[12px] text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent disabled:cursor-default content-md:p-[16px]",
1559
1559
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1560
- _chunk7U3ELNGCcjs.DevCardRowContent,
1560
+ _chunkWEPIWJGRcjs.DevCardRowContent,
1561
1561
  {
1562
1562
  title,
1563
1563
  subtitle,
@@ -1668,7 +1668,7 @@ function HelpCenterCreateForm({
1668
1668
  subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
1669
1669
  ] });
1670
1670
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1671
- _chunkNJMZ3N7Qcjs.ContactForm,
1671
+ _chunk7TJVYRHRcjs.ContactForm,
1672
1672
  {
1673
1673
  rescue: null,
1674
1674
  title: "Open a new ticket",
@@ -1711,25 +1711,25 @@ function HelpCenterList({ toast: toast2 = _chunkXVFM6SJAcjs.toast, backButton, t
1711
1711
  const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
1712
1712
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
1713
1713
  const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
1714
- const search = searchParams.get(_chunk7VI7TOGIcjs.DEV_SECTION_PARAM_KEYS.search) || "";
1714
+ const search = searchParams.get(_chunkJBJVUQVHcjs.DEV_SECTION_PARAM_KEYS.search) || "";
1715
1715
  const status = searchParams.get("status") || "all";
1716
- const ticketParam = searchParams.get(_chunk7VI7TOGIcjs.TICKET_OPEN_PARAM) || "";
1716
+ const ticketParam = searchParams.get(_chunkJBJVUQVHcjs.TICKET_OPEN_PARAM) || "";
1717
1717
  const page = _chunkBLH2SFOOcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
1718
1718
  if (identity.isLoading) {
1719
1719
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1720
- _chunk7U3ELNGCcjs.DevSectionPage,
1720
+ _chunkWEPIWJGRcjs.DevSectionPage,
1721
1721
  {
1722
1722
  sectionKey: "tickets",
1723
1723
  backButton,
1724
1724
  title,
1725
1725
  shell,
1726
1726
  preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}),
1727
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7U3ELNGCcjs.DevCardRowSkeletonList, {})
1727
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEPIWJGRcjs.DevCardRowSkeletonList, {})
1728
1728
  }
1729
1729
  );
1730
1730
  }
1731
1731
  if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _67 => _67.user, 'optionalAccess', _68 => _68.email])) {
1732
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7U3ELNGCcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1732
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEPIWJGRcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1733
1733
  _chunkYRFWOJF4cjs.EmptyState,
1734
1734
  {
1735
1735
  type: "generic",
@@ -1781,8 +1781,8 @@ function HelpCenterListAuthed({
1781
1781
  const setOpenTicket = _react.useCallback.call(void 0,
1782
1782
  (externalId) => {
1783
1783
  const params = new URLSearchParams(searchParams.toString());
1784
- if (externalId) params.set(_chunk7VI7TOGIcjs.TICKET_OPEN_PARAM, externalId);
1785
- else params.delete(_chunk7VI7TOGIcjs.TICKET_OPEN_PARAM);
1784
+ if (externalId) params.set(_chunkJBJVUQVHcjs.TICKET_OPEN_PARAM, externalId);
1785
+ else params.delete(_chunkJBJVUQVHcjs.TICKET_OPEN_PARAM);
1786
1786
  const qs = params.toString();
1787
1787
  router.replace(qs ? `${pathname}?${qs}` : pathname, { scroll: false });
1788
1788
  },
@@ -1859,15 +1859,15 @@ function HelpCenterListAuthed({
1859
1859
  ] }),
1860
1860
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTF5D5MNOcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
1861
1861
  ] }),
1862
- !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7U3ELNGCcjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1862
+ !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEPIWJGRcjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1863
1863
  // Bridge state — background refetch in flight and the
1864
1864
  // optimistic placeholder was just removed by the mutation
1865
1865
  // callback. Without this branch "No tickets yet" would flash
1866
1866
  // for ~50ms between `removeOptimistic` and the server
1867
1867
  // response landing.
1868
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7U3ELNGCcjs.DevCardRowSkeletonList, { rows: 1 })
1868
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEPIWJGRcjs.DevCardRowSkeletonList, { rows: 1 })
1869
1869
  ) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1870
- _chunk7U3ELNGCcjs.ListEmptyState,
1870
+ _chunkWEPIWJGRcjs.ListEmptyState,
1871
1871
  {
1872
1872
  isFiltered: hasActiveFilters,
1873
1873
  filtered: {
@@ -1898,7 +1898,7 @@ function HelpCenterListAuthed({
1898
1898
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full overflow-clip rounded-[6px] border border-ods-border bg-ods-card", children: merged.map((ticket) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1899
1899
  HelpCenterCard,
1900
1900
  {
1901
- id: _chunk7VI7TOGIcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1901
+ id: _chunkJBJVUQVHcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1902
1902
  ticket,
1903
1903
  expanded: expandedTicketId === ticket.id,
1904
1904
  onToggle: toggleRow,
@@ -1916,7 +1916,7 @@ function HelpCenterListAuthed({
1916
1916
  ) }),
1917
1917
  !error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRFWOJF4cjs.UnifiedPagination, { currentPage: page, totalPages })
1918
1918
  ] });
1919
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7U3ELNGCcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1919
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWEPIWJGRcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1920
1920
  }
1921
1921
 
1922
1922
 
@@ -2,12 +2,12 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkVRDHAR3Xcjs = require('./chunk-VRDHAR3X.cjs');
5
+ var _chunkFVH53QZJcjs = require('./chunk-FVH53QZJ.cjs');
6
6
 
7
7
  // src/components/product-demo/screens/devices-view.tsx
8
8
  var _jsxruntime = require('react/jsx-runtime');
9
9
  var DEVICES_SEARCH_QUERY = "Windows";
10
- var TOOLBAR = { ..._chunkVRDHAR3Xcjs.IDLE_DEVICES_TOOLBAR, searchValue: DEVICES_SEARCH_QUERY };
10
+ var TOOLBAR = { ..._chunkFVH53QZJcjs.IDLE_DEVICES_TOOLBAR, searchValue: DEVICES_SEARCH_QUERY };
11
11
  var NO_HEADER = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
12
12
  var HIDDEN_WHEN_COMPACT = ["organization"];
13
13
  var NO_DEVICES = [];
@@ -19,7 +19,7 @@ function DevicesScreenView({
19
19
  loading = false
20
20
  }) {
21
21
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22
- _chunkVRDHAR3Xcjs.DevicesPanelView,
22
+ _chunkFVH53QZJcjs.DevicesPanelView,
23
23
  {
24
24
  className: "p-[var(--spacing-system-l)]",
25
25
  headerSlot: NO_HEADER,
@@ -1,7 +1,7 @@
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 _chunk7VI7TOGIcjs = require('./chunk-7VI7TOGI.cjs');
4
+ var _chunkJBJVUQVHcjs = require('./chunk-JBJVUQVH.cjs');
5
5
 
6
6
 
7
7
  var _chunkYL6ZB2SRcjs = require('./chunk-YL6ZB2SR.cjs');
@@ -398,7 +398,7 @@ function useScrollSpy(sections, options = {}) {
398
398
  // src/components/navigation/multi-level-navigation.tsx
399
399
  var _lucidereact = require('lucide-react');
400
400
 
401
- var DEFAULT_FOLDER_INDEX_FILE2 = _chunk7VI7TOGIcjs.DEFAULT_FOLDER_INDEX_FILE;
401
+ var DEFAULT_FOLDER_INDEX_FILE2 = _chunkJBJVUQVHcjs.DEFAULT_FOLDER_INDEX_FILE;
402
402
  var NAV_LIST_CLASS = "space-y-2";
403
403
  var NAV_ITEM_CLASS = "space-y-1";
404
404
  var NAV_ROW_FRAME_CLASS = "relative w-full rounded-lg border transition-all duration-150";