@flamingo-stack/openframe-frontend-core 0.0.809 → 0.0.811

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 (132) hide show
  1. package/dist/{case-study-card-MEWJNF4N.cjs → case-study-card-AMINZROX.cjs} +5 -5
  2. package/dist/{chunk-FRS2VO22.cjs → chunk-243TS7YL.cjs} +38 -38
  3. package/dist/{chunk-GAHXURKJ.cjs → chunk-5QLDHPPU.cjs} +2 -2
  4. package/dist/{chunk-WDL3GFH2.cjs → chunk-66J7ZSI5.cjs} +34 -34
  5. package/dist/{chunk-VKAFZCFV.cjs → chunk-6GT3ZL27.cjs} +28 -28
  6. package/dist/{chunk-PRCGRDHV.cjs → chunk-7Y6M4FW4.cjs} +5 -5
  7. package/dist/{chunk-TOWVMBAP.cjs → chunk-ACCZCRXT.cjs} +14 -14
  8. package/dist/{chunk-VXAKQRV7.cjs → chunk-APOMNC7H.cjs} +5 -5
  9. package/dist/{chunk-KS5V55HN.cjs → chunk-CB77J5L7.cjs} +864 -670
  10. package/dist/{chunk-VHX4A4SA.cjs → chunk-CC3Q3MQG.cjs} +2 -2
  11. package/dist/{chunk-WV44WJKR.cjs → chunk-CJ7W2SY4.cjs} +8 -8
  12. package/dist/{chunk-DDFT6VQ3.cjs → chunk-CLU2KJFB.cjs} +3 -3
  13. package/dist/{chunk-OJZBZH56.cjs → chunk-CNTBGJA7.cjs} +3 -3
  14. package/dist/{chunk-Q3C6UJJ7.cjs → chunk-CPP2APON.cjs} +89 -89
  15. package/dist/{chunk-TT64NRFU.cjs → chunk-ERLMCSGF.cjs} +3 -3
  16. package/dist/{chunk-5UTJARDM.cjs → chunk-FK2WFU7R.cjs} +17 -17
  17. package/dist/{chunk-7PNRXJX2.cjs → chunk-FX35L4Y6.cjs} +3 -3
  18. package/dist/{chunk-5GJM7VRR.cjs → chunk-GI3MMBP3.cjs} +91 -26
  19. package/dist/{chunk-AZJYMTBS.cjs → chunk-GU3GJ5DH.cjs} +50 -50
  20. package/dist/{chunk-VUKN6KEE.cjs → chunk-IQLXO6EI.cjs} +97 -97
  21. package/dist/{chunk-BT53NHR7.cjs → chunk-J6C7F63P.cjs} +120 -120
  22. package/dist/{chunk-PIKHEBG5.cjs → chunk-JNWJB4Z5.cjs} +52 -52
  23. package/dist/{chunk-5MTYKS2Q.cjs → chunk-KVDUWXVZ.cjs} +4 -4
  24. package/dist/{chunk-V4FXUIMH.cjs → chunk-LC65AC6M.cjs} +4 -4
  25. package/dist/{chunk-RZNRKWG5.cjs → chunk-MDBOYMCW.cjs} +22 -22
  26. package/dist/{chunk-AQXKXZWB.cjs → chunk-MG3HJIGG.cjs} +4 -4
  27. package/dist/{chunk-KVJKKVB3.cjs → chunk-NZSWROGM.cjs} +7 -7
  28. package/dist/{chunk-OAJ3AL4V.cjs → chunk-O32RLIN4.cjs} +6 -6
  29. package/dist/{chunk-ZAXGW4KT.cjs → chunk-O4MEG2ZS.cjs} +21 -21
  30. package/dist/{chunk-4W77VLQV.cjs → chunk-OQDPZOGC.cjs} +6 -6
  31. package/dist/{chunk-LUICXMHC.cjs → chunk-PCVY63WQ.cjs} +17 -17
  32. package/dist/{chunk-ML3DG4SS.cjs → chunk-PMOMZSCX.cjs} +5 -5
  33. package/dist/{chunk-TUZV2ZQY.cjs → chunk-Q7QYAINS.cjs} +2 -2
  34. package/dist/{chunk-KHKPLOU4.cjs → chunk-QDB2JO55.cjs} +144 -36
  35. package/dist/{chunk-KCB72H7A.cjs → chunk-R55KNVPR.cjs} +71 -71
  36. package/dist/{chunk-NG3RKTQU.cjs → chunk-SFUNXMY3.cjs} +8 -8
  37. package/dist/{chunk-3B76QFXV.cjs → chunk-TKK66KHU.cjs} +6 -6
  38. package/dist/{chunk-TGOJHOQR.cjs → chunk-U2MHQBL4.cjs} +3 -3
  39. package/dist/{chunk-I3RJLXEL.cjs → chunk-UP3TLY2V.cjs} +131 -131
  40. package/dist/{chunk-KITOT3DS.cjs → chunk-VXMPVDOS.cjs} +26 -26
  41. package/dist/{chunk-UVLTUSH3.cjs → chunk-WX5WDSKV.cjs} +583 -582
  42. package/dist/{chunk-OFGYPMTE.cjs → chunk-XLEWM5X5.cjs} +53 -53
  43. package/dist/{chunk-SZHDXXMK.cjs → chunk-YSDB6HGQ.cjs} +3 -3
  44. package/dist/{chunk-JLKGLPDC.cjs → chunk-ZW25QUJK.cjs} +16 -16
  45. package/dist/{chunk-FLW2VL5W.cjs → chunk-ZZO3FGPM.cjs} +24 -24
  46. package/dist/{cloud-tenants-DJAA23GR.cjs → cloud-tenants-XGGQG7SO.cjs} +25 -25
  47. package/dist/components/case-studies/index.cjs +41 -41
  48. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  49. package/dist/components/chat/entity-cards/dispatch.js +4 -1
  50. package/dist/components/chat/hooks/use-jetstream-dialog-subscription.js +1 -1
  51. package/dist/components/chat/hooks/use-nats-dialog-subscription.js +1 -1
  52. package/dist/components/chat/index.cjs +19 -19
  53. package/dist/components/chat/types/api.types.d.ts +8 -4
  54. package/dist/components/chat/types/api.types.d.ts.map +1 -1
  55. package/dist/components/contact/index.cjs +26 -26
  56. package/dist/components/docs/index.cjs +29 -29
  57. package/dist/components/embeds/index.cjs +26 -26
  58. package/dist/components/faq/index.cjs +27 -27
  59. package/dist/components/features/index.cjs +25 -25
  60. package/dist/components/help-center-pages/index.cjs +130 -130
  61. package/dist/components/index.cjs +90 -90
  62. package/dist/components/meeting-scheduler/index.cjs +94 -94
  63. package/dist/components/navigation/index.cjs +28 -28
  64. package/dist/components/onboarding-guides/index.cjs +28 -28
  65. package/dist/components/product-demo/index.cjs +36 -36
  66. package/dist/components/related-content/index.cjs +14 -14
  67. package/dist/components/tickets/index.cjs +32 -32
  68. package/dist/components/ui/index.cjs +25 -25
  69. package/dist/components/ui/markdown/base-components.d.ts.map +1 -1
  70. package/dist/components/ui/markdown/base-components.js +6 -7
  71. package/dist/components/ui/markdown/engine.d.ts +7 -0
  72. package/dist/components/ui/markdown/engine.d.ts.map +1 -1
  73. package/dist/components/ui/markdown/engine.js +12 -3
  74. package/dist/components/ui/markdown/external-media-notice.d.ts +33 -0
  75. package/dist/components/ui/markdown/external-media-notice.d.ts.map +1 -0
  76. package/dist/components/ui/markdown/external-media-notice.js +56 -0
  77. package/dist/components/ui/markdown/mermaid-diagram.d.ts +24 -2
  78. package/dist/components/ui/markdown/mermaid-diagram.d.ts.map +1 -1
  79. package/dist/components/ui/markdown/mermaid-diagram.js +66 -6
  80. package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts +4 -4
  81. package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts.map +1 -1
  82. package/dist/components/ui/markdown/rich/rich-markdown-renderer.js +2 -1
  83. package/dist/components/ui/markdown/sanitize.d.ts +28 -3
  84. package/dist/components/ui/markdown/sanitize.d.ts.map +1 -1
  85. package/dist/components/ui/markdown/sanitize.js +84 -12
  86. package/dist/components/ui/markdown/simple-markdown-renderer.d.ts +3 -2
  87. package/dist/components/ui/markdown/simple-markdown-renderer.d.ts.map +1 -1
  88. package/dist/{devices-AIDQW4HB.cjs → devices-H5Y4DBVC.cjs} +26 -26
  89. package/dist/{embeddable-chat-XT6GMSBX.cjs → embeddable-chat-77ZOLCCK.cjs} +89 -89
  90. package/dist/hooks/index.cjs +11 -11
  91. package/dist/index.cjs +30 -30
  92. package/dist/{knowledge-JWCFM3GO.cjs → knowledge-MGH65HXM.cjs} +26 -26
  93. package/dist/{logs-ZNIXPJXA.cjs → logs-OL7ETVK6.cjs} +33 -33
  94. package/dist/nats/index.cjs +2 -2
  95. package/dist/nats/nats-provider.d.ts +9 -3
  96. package/dist/nats/nats-provider.d.ts.map +1 -1
  97. package/dist/nats/nats-provider.js +7 -3
  98. package/dist/nats/shared-connection.d.ts +44 -1
  99. package/dist/nats/shared-connection.d.ts.map +1 -1
  100. package/dist/nats/shared-connection.js +126 -22
  101. package/dist/{policies-Z4NGPLA2.cjs → policies-BCECWQ3F.cjs} +29 -29
  102. package/dist/{remote-session-LMUFV2RZ.cjs → remote-session-HML4UF7W.cjs} +11 -11
  103. package/dist/{scripts-G4Y5SPOW.cjs → scripts-XCD6V2JB.cjs} +32 -32
  104. package/dist/{software-update-VAOKDA76.cjs → software-update-U5ESXRG5.cjs} +29 -29
  105. package/dist/{tickets-board-QF5JNSH2.cjs → tickets-board-EICQ5VLE.cjs} +14 -14
  106. package/dist/utils/app-origins.d.ts +41 -0
  107. package/dist/utils/app-origins.d.ts.map +1 -0
  108. package/dist/utils/app-origins.js +51 -0
  109. package/dist/utils/embed-auth-adapter-registry.d.ts +7 -0
  110. package/dist/utils/embed-auth-adapter-registry.d.ts.map +1 -0
  111. package/dist/utils/embed-auth-adapter-registry.js +34 -0
  112. package/dist/utils/embed-authed-fetch.d.ts.map +1 -1
  113. package/dist/utils/embed-authed-fetch.js +6 -19
  114. package/dist/utils/index.cjs +28 -12
  115. package/dist/{video-file-player-2FMFCGXE.cjs → video-file-player-4QMVTOBE.cjs} +3 -3
  116. package/package.json +1 -1
  117. package/src/components/chat/entity-cards/dispatch.tsx +12 -1
  118. package/src/components/chat/hooks/use-jetstream-dialog-subscription.ts +1 -1
  119. package/src/components/chat/hooks/use-nats-dialog-subscription.ts +1 -1
  120. package/src/components/chat/types/api.types.ts +8 -4
  121. package/src/components/ui/markdown/base-components.tsx +6 -7
  122. package/src/components/ui/markdown/engine.tsx +29 -5
  123. package/src/components/ui/markdown/external-media-notice.tsx +84 -0
  124. package/src/components/ui/markdown/mermaid-diagram.tsx +107 -5
  125. package/src/components/ui/markdown/rich/rich-markdown-renderer.tsx +11 -5
  126. package/src/components/ui/markdown/sanitize.ts +162 -15
  127. package/src/components/ui/markdown/simple-markdown-renderer.tsx +6 -2
  128. package/src/nats/nats-provider.tsx +15 -4
  129. package/src/nats/shared-connection.ts +199 -25
  130. package/src/utils/app-origins.ts +95 -0
  131. package/src/utils/embed-auth-adapter-registry.ts +49 -0
  132. package/src/utils/embed-authed-fetch.ts +7 -35
@@ -1,13 +1,13 @@
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 _chunkBT53NHR7cjs = require('./chunk-BT53NHR7.cjs');
4
+ var _chunkJ6C7F63Pcjs = require('./chunk-J6C7F63P.cjs');
5
5
 
6
6
 
7
- var _chunkKS5V55HNcjs = require('./chunk-KS5V55HN.cjs');
7
+ var _chunkCB77J5L7cjs = require('./chunk-CB77J5L7.cjs');
8
8
 
9
9
 
10
- var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
10
+ var _chunkGI3MMBP3cjs = require('./chunk-GI3MMBP3.cjs');
11
11
 
12
12
 
13
13
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.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 = _chunkKS5V55HNcjs.useChatIdentity.call(void 0, enabled);
47
+ const identity = _chunkCB77J5L7cjs.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 = _chunkBT53NHR7cjs.createSseSubscription.call(void 0, {
163
+ subscriptionRef.current = _chunkJ6C7F63Pcjs.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),
@@ -191,7 +191,7 @@ function TicketLiveProvider({ children, enabled = true }) {
191
191
  const markRead = _react2.default.useCallback(
192
192
  async (ticketExternalId) => {
193
193
  try {
194
- const response = await _chunk5GJM7VRRcjs.embedAuthedFetch.call(void 0, readUrl, {
194
+ const response = await _chunkGI3MMBP3cjs.embedAuthedFetch.call(void 0, readUrl, {
195
195
  method: "POST",
196
196
  body: JSON.stringify({ ticket_id: ticketExternalId })
197
197
  });
@@ -1,12 +1,12 @@
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 _chunkAZJYMTBScjs = require('./chunk-AZJYMTBS.cjs');
4
+ var _chunkGU3GJ5DHcjs = require('./chunk-GU3GJ5DH.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkBT53NHR7cjs = require('./chunk-BT53NHR7.cjs');
9
+ var _chunkJ6C7F63Pcjs = require('./chunk-J6C7F63P.cjs');
10
10
 
11
11
 
12
12
  var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
@@ -47,13 +47,13 @@ var _chunk5OG5ZTNMcjs = require('./chunk-5OG5ZTNM.cjs');
47
47
 
48
48
 
49
49
 
50
- var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
50
+ var _chunkUP3TLY2Vcjs = require('./chunk-UP3TLY2V.cjs');
51
51
 
52
52
 
53
- var _chunkPRCGRDHVcjs = require('./chunk-PRCGRDHV.cjs');
53
+ var _chunk7Y6M4FW4cjs = require('./chunk-7Y6M4FW4.cjs');
54
54
 
55
55
 
56
- var _chunkTGOJHOQRcjs = require('./chunk-TGOJHOQR.cjs');
56
+ var _chunkU2MHQBL4cjs = require('./chunk-U2MHQBL4.cjs');
57
57
 
58
58
 
59
59
  var _chunkVXXOUM2Kcjs = require('./chunk-VXXOUM2K.cjs');
@@ -172,31 +172,31 @@ CveLink.displayName = "CveLink";
172
172
  // src/components/platform/ShellTypeBadge.tsx
173
173
 
174
174
  var shellIconMap = {
175
- [_chunkBT53NHR7cjs.ShellTypeValues.POWERSHELL]: {
175
+ [_chunkJ6C7F63Pcjs.ShellTypeValues.POWERSHELL]: {
176
176
  icon: _chunkMCQY746Mcjs.PowershellLogoGreyIcon,
177
177
  props: { size: 16, className: "text-ods-text-secondary" }
178
178
  },
179
- [_chunkBT53NHR7cjs.ShellTypeValues.CMD]: {
179
+ [_chunkJ6C7F63Pcjs.ShellTypeValues.CMD]: {
180
180
  icon: _chunkUXUYT4WKcjs.CmdIcon,
181
181
  props: { size: 16, color: "var(--color-text-secondary)" }
182
182
  },
183
- [_chunkBT53NHR7cjs.ShellTypeValues.BASH]: {
183
+ [_chunkJ6C7F63Pcjs.ShellTypeValues.BASH]: {
184
184
  icon: _chunk5OG5ZTNMcjs.BashIcon,
185
185
  props: { size: 16, color: "var(--color-text-secondary)" }
186
186
  },
187
- [_chunkBT53NHR7cjs.ShellTypeValues.PYTHON]: {
187
+ [_chunkJ6C7F63Pcjs.ShellTypeValues.PYTHON]: {
188
188
  icon: _chunkBF77UKGDcjs.PythonLogoIcon,
189
189
  props: { size: 16, className: "text-ods-text-secondary" }
190
190
  },
191
- [_chunkBT53NHR7cjs.ShellTypeValues.NUSHELL]: {
191
+ [_chunkJ6C7F63Pcjs.ShellTypeValues.NUSHELL]: {
192
192
  icon: _chunkG37H4CBTcjs.NushellIcon,
193
193
  props: { size: 16, color: "var(--color-text-secondary)" }
194
194
  },
195
- [_chunkBT53NHR7cjs.ShellTypeValues.DENO]: {
195
+ [_chunkJ6C7F63Pcjs.ShellTypeValues.DENO]: {
196
196
  icon: _chunkHUL6SF5Acjs.DenoIcon,
197
197
  props: { size: 16, color: "var(--color-text-secondary)" }
198
198
  },
199
- [_chunkBT53NHR7cjs.ShellTypeValues.SHELL]: {
199
+ [_chunkJ6C7F63Pcjs.ShellTypeValues.SHELL]: {
200
200
  icon: _chunk6RMATQNNcjs.ShellIcon,
201
201
  props: { size: 16, color: "var(--color-text-secondary)" }
202
202
  }
@@ -207,7 +207,7 @@ var defaultIconConfig = {
207
207
  };
208
208
  var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
209
209
  const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
210
- const label = _chunkBT53NHR7cjs.getShellLabel.call(void 0, normalizedType);
210
+ const label = _chunkJ6C7F63Pcjs.getShellLabel.call(void 0, normalizedType);
211
211
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
212
212
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
213
213
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex items-center gap-1", className), children: [
@@ -223,7 +223,7 @@ function formatSupportedPlatforms(platforms) {
223
223
  if (!platforms || platforms.length === 0) {
224
224
  return "All Platforms";
225
225
  }
226
- return platforms.map((platform) => _chunkBT53NHR7cjs.getOSLabel.call(void 0, platform)).join(", ");
226
+ return platforms.map((platform) => _chunkJ6C7F63Pcjs.getOSLabel.call(void 0, platform)).join(", ");
227
227
  }
228
228
  function InfoCell({ label, value, avatar, className }) {
229
229
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
@@ -237,7 +237,7 @@ function InfoCell({ label, value, avatar, className }) {
237
237
  sizes: _chunkVXXOUM2Kcjs.fixedImageSlot.call(void 0, "logo"),
238
238
  unoptimized: true
239
239
  }
240
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials || _chunkTGOJHOQRcjs.nameInitials.call(void 0, avatar.name) }) }),
240
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-full items-center justify-center text-ods-text-secondary text-h6", children: avatar.initials || _chunkU2MHQBL4cjs.nameInitials.call(void 0, avatar.name) }) }),
241
241
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
242
242
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", title: value, children: value }),
243
243
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: label })
@@ -253,7 +253,7 @@ var ScriptInfoSection = ({
253
253
  author,
254
254
  className
255
255
  }) => {
256
- const shellLabel = _chunkBT53NHR7cjs.getShellLabel.call(void 0, shellType);
256
+ const shellLabel = _chunkJ6C7F63Pcjs.getShellLabel.call(void 0, shellType);
257
257
  const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
258
258
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
259
259
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-b border-ods-border p-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1", children: [
@@ -301,7 +301,7 @@ function OnboardingStepCard({
301
301
  onSkip();
302
302
  };
303
303
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
304
- _chunkI3RJLXELcjs.InteractiveCard,
304
+ _chunkUP3TLY2Vcjs.InteractiveCard,
305
305
  {
306
306
  clickable: false,
307
307
  className: _chunk7JWFMAQBcjs.cn.call(void 0,
@@ -327,7 +327,7 @@ function OnboardingStepCard({
327
327
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-[32px] w-[100px] rounded-[6px]" }),
328
328
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-[32px] w-[120px] rounded-[6px]" })
329
329
  ] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
330
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
330
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Y6M4FW4cjs.StatusBadge, { text: "COMPLETED", variant: "card", colorScheme: "success" }),
331
331
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
332
332
  _chunkAHBTZ7DNcjs.Button,
333
333
  {
@@ -338,7 +338,7 @@ function OnboardingStepCard({
338
338
  children: step.completedText
339
339
  }
340
340
  )
341
- ] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
341
+ ] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Y6M4FW4cjs.StatusBadge, { text: "SKIPPED", variant: "card", colorScheme: "default" }) }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
342
342
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", onClick: handleSkip, children: "Skip Step" }),
343
343
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", onClick: handleAction, disabled: isProcessing, leftIcon: step.actionIcon("black"), children: step.actionText })
344
344
  ] })
@@ -374,7 +374,7 @@ function OnboardingWalkthrough({
374
374
  isStepSkipped,
375
375
  allStepsComplete,
376
376
  markMultipleComplete
377
- } = _chunkAZJYMTBScjs.useOnboardingState.call(void 0, storageKey);
377
+ } = _chunkGU3GJ5DHcjs.useOnboardingState.call(void 0, storageKey);
378
378
  const hasAutoMarkedRef = _react.useRef.call(void 0, false);
379
379
  const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
380
380
  const lastCompletionStatusRef = _react.useRef.call(void 0, null);
@@ -456,7 +456,7 @@ function OnboardingWalkthrough({
456
456
  const isAllComplete = allStepsComplete(steps);
457
457
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full space-y-4", className), children: [
458
458
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start justify-between gap-3 md:flex-row md:items-center md:gap-0", children: [
459
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkI3RJLXELcjs.SECTION_HEADING_CLASS, children: _chunkI3RJLXELcjs.accentSentenceMarks.call(void 0, title) }),
459
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunkUP3TLY2Vcjs.SECTION_HEADING_CLASS, children: _chunkUP3TLY2Vcjs.accentSentenceMarks.call(void 0, title) }),
460
460
  isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-[48px] w-full rounded-[6px] md:w-[160px]" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", onClick: handleDismiss, className: "w-full md:w-auto", children: "Close Onboarding" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", onClick: handleDismiss, className: "w-full md:w-auto", children: "Skip Onboarding" })
461
461
  ] }),
462
462
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, spacing), children: steps.map((step) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
6
+ var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
7
7
 
8
8
 
9
9
 
@@ -276,7 +276,7 @@ function hexToRgb2(hex) {
276
276
  return { r: n >> 16 & 255, g: n >> 8 & 255, b: n & 255 };
277
277
  }
278
278
  function rgbToHex(r, g, b) {
279
- const to = (n) => _chunk7PNRXJX2cjs.clamp.call(void 0, Math.round(n), 0, 255).toString(16).padStart(2, "0");
279
+ const to = (n) => _chunkFX35L4Y6cjs.clamp.call(void 0, Math.round(n), 0, 255).toString(16).padStart(2, "0");
280
280
  return `#${to(r)}${to(g)}${to(b)}`;
281
281
  }
282
282
  var HOVER_DARKEN_STEP = 10;
@@ -310,8 +310,8 @@ function rgbToHsl(r, g, b) {
310
310
  return { h: Math.round(h), s: Math.round(s * 100), l: Math.round(l * 100) };
311
311
  }
312
312
  function hslToRgb(h, s, l) {
313
- const sn = _chunk7PNRXJX2cjs.clamp.call(void 0, s, 0, 100) / 100;
314
- const ln = _chunk7PNRXJX2cjs.clamp.call(void 0, l, 0, 100) / 100;
313
+ const sn = _chunkFX35L4Y6cjs.clamp.call(void 0, s, 0, 100) / 100;
314
+ const ln = _chunkFX35L4Y6cjs.clamp.call(void 0, l, 0, 100) / 100;
315
315
  const hn = (h % 360 + 360) % 360;
316
316
  if (sn === 0) {
317
317
  const v = Math.round(ln * 255);
@@ -368,11 +368,11 @@ function ProvideFromServer({
368
368
  enabled,
369
369
  children
370
370
  }) {
371
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Provide, { icons: _chunk7PNRXJX2cjs.useAgentIdentities.call(void 0, endpoint, enabled), children });
371
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Provide, { icons: _chunkFX35L4Y6cjs.useAgentIdentities.call(void 0, endpoint, enabled), children });
372
372
  }
373
373
  function AgentIdentityProvider({
374
374
  icons,
375
- endpoint = _chunk7PNRXJX2cjs.AGENT_IDENTITIES_API_PATH,
375
+ endpoint = _chunkFX35L4Y6cjs.AGENT_IDENTITIES_API_PATH,
376
376
  enabled = true,
377
377
  children
378
378
  }) {
@@ -1,16 +1,16 @@
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 _chunkUVLTUSH3cjs = require('./chunk-UVLTUSH3.cjs');
4
+ var _chunkWX5WDSKVcjs = require('./chunk-WX5WDSKV.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkKS5V55HNcjs = require('./chunk-KS5V55HN.cjs');
10
+ var _chunkCB77J5L7cjs = require('./chunk-CB77J5L7.cjs');
11
11
 
12
12
 
13
- var _chunkOJZBZH56cjs = require('./chunk-OJZBZH56.cjs');
13
+ var _chunkCNTBGJA7cjs = require('./chunk-CNTBGJA7.cjs');
14
14
 
15
15
 
16
16
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -18,13 +18,13 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
18
18
 
19
19
 
20
20
 
21
- var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
21
+ var _chunkUP3TLY2Vcjs = require('./chunk-UP3TLY2V.cjs');
22
22
 
23
23
 
24
- var _chunkPRCGRDHVcjs = require('./chunk-PRCGRDHV.cjs');
24
+ var _chunk7Y6M4FW4cjs = require('./chunk-7Y6M4FW4.cjs');
25
25
 
26
26
 
27
- var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
27
+ var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
28
28
 
29
29
 
30
30
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
@@ -42,7 +42,7 @@ var _jsxruntime = require('react/jsx-runtime');
42
42
  function DocSearchResultRow({ result, isHighlighted }) {
43
43
  const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
44
44
  const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
45
- const { Icon: SourceIcon, label: iconLabel } = _chunkKS5V55HNcjs.resolveSourceIcon.call(void 0, {
45
+ const { Icon: SourceIcon, label: iconLabel } = _chunkCB77J5L7cjs.resolveSourceIcon.call(void 0, {
46
46
  sourceRepo,
47
47
  documentType: docType
48
48
  });
@@ -72,7 +72,7 @@ function DocSearchBar({
72
72
  renderResult
73
73
  }) {
74
74
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
75
- _chunkUVLTUSH3cjs.SearchInput,
75
+ _chunkWX5WDSKVcjs.SearchInput,
76
76
  {
77
77
  placeholder,
78
78
  value: query,
@@ -122,7 +122,7 @@ function mapDocSearchResults(docs) {
122
122
  results.push({
123
123
  id: `group-${entry.repo}`,
124
124
  // Same table label and count as the chat's grouped chip: one owner each.
125
- title: `${_chunkKS5V55HNcjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkKS5V55HNcjs.recordCountLabel.call(void 0, rows.length)}`,
125
+ title: `${_chunkCB77J5L7cjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkCB77J5L7cjs.recordCountLabel.call(void 0, rows.length)}`,
126
126
  path: rows[0].path,
127
127
  type: "file",
128
128
  metadata: {
@@ -185,7 +185,7 @@ function resolveSearchResultAction(result, source, runtimeMode, composeContentUr
185
185
  if (composed && !isAbsoluteHref(href)) {
186
186
  return { kind: "navigate-same-tab", href };
187
187
  }
188
- const isNewTab = _chunkPRCGRDHVcjs.decideNewTab.call(void 0, {
188
+ const isNewTab = _chunk7Y6M4FW4cjs.decideNewTab.call(void 0, {
189
189
  href,
190
190
  targetPlatform: composed ? composed.targetPlatform : targetPlatform,
191
191
  surface: "useUnifiedNav",
@@ -257,7 +257,7 @@ function useDocSearch(config) {
257
257
  const [query, setQuery] = _react.useState.call(void 0, "");
258
258
  const [results, setResults] = _react.useState.call(void 0, NO_RESULTS);
259
259
  const [isFetching, setIsFetching] = _react.useState.call(void 0, false);
260
- const debouncedQuery = _chunkOJZBZH56cjs.useDebounce.call(void 0, query, 300);
260
+ const debouncedQuery = _chunkCNTBGJA7cjs.useDebounce.call(void 0, query, 300);
261
261
  const searchable = debouncedQuery.trim().length >= 2;
262
262
  const [wasSearchable, setWasSearchable] = _react.useState.call(void 0, searchable);
263
263
  if (wasSearchable !== searchable) {
@@ -279,7 +279,7 @@ function useDocSearch(config) {
279
279
  limit: "10"
280
280
  });
281
281
  if (tableIdsKey) params.set("tableIds", tableIdsKey);
282
- const response = await _chunk7PNRXJX2cjs.contentFetch.call(void 0, `${resolvedSearchEndpoint}?${params.toString()}`);
282
+ const response = await _chunkFX35L4Y6cjs.contentFetch.call(void 0, `${resolvedSearchEndpoint}?${params.toString()}`);
283
283
  if (!response.ok) {
284
284
  throw new Error(`Search request failed: ${response.status}`);
285
285
  }
@@ -314,31 +314,31 @@ function useDocSearch(config) {
314
314
  case "navigate-same-tab": {
315
315
  if (wantsNewTab) {
316
316
  setKeepOpen(true);
317
- window.open(action.href, "_blank", _chunkI3RJLXELcjs.NEW_TAB_FEATURES);
317
+ window.open(action.href, "_blank", _chunkUP3TLY2Vcjs.NEW_TAB_FEATURES);
318
318
  return;
319
319
  }
320
320
  setKeepOpen(false);
321
321
  const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
322
322
  if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
323
- router.push(_chunkI3RJLXELcjs.stripSameOriginToPath.call(void 0, action.href));
323
+ router.push(_chunkUP3TLY2Vcjs.stripSameOriginToPath.call(void 0, action.href));
324
324
  return;
325
325
  }
326
326
  case "navigate-new-tab":
327
327
  setKeepOpen(true);
328
328
  if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
329
329
  const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
330
- _chunkI3RJLXELcjs.resolveExternalNavigation.call(void 0, {
330
+ _chunkUP3TLY2Vcjs.resolveExternalNavigation.call(void 0, {
331
331
  href: action.href,
332
332
  targetPlatform,
333
333
  runtime
334
334
  }).open();
335
335
  return;
336
336
  }
337
- window.open(action.href, "_blank", _chunkI3RJLXELcjs.NEW_TAB_FEATURES);
337
+ window.open(action.href, "_blank", _chunkUP3TLY2Vcjs.NEW_TAB_FEATURES);
338
338
  return;
339
339
  case "ask-ai":
340
340
  setKeepOpen(false);
341
- window.dispatchEvent(new CustomEvent(_chunkKS5V55HNcjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
341
+ window.dispatchEvent(new CustomEvent(_chunkCB77J5L7cjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
342
342
  return;
343
343
  case "route":
344
344
  setKeepOpen(false);
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
2
2
 
3
3
 
4
- var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
4
+ var _chunkUP3TLY2Vcjs = require('./chunk-UP3TLY2V.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkTGOJHOQRcjs = require('./chunk-TGOJHOQR.cjs');
8
+ var _chunkU2MHQBL4cjs = require('./chunk-U2MHQBL4.cjs');
9
9
 
10
10
 
11
11
  var _chunkKUXHXLJQcjs = require('./chunk-KUXHXLJQ.cjs');
@@ -38,7 +38,7 @@ var NAME_CLASS = "text-ods-text-primary text-h5";
38
38
  var JOB_TITLE_CLASS = "text-body-sm mt-0.5 font-body text-ods-text-secondary";
39
39
  var BIO_CLASS = "text-body-md mt-2 font-body leading-relaxed text-ods-text-secondary";
40
40
  function formatDate(value) {
41
- return _chunkTGOJHOQRcjs.formatDateWithTimezone.call(void 0, value, null, "long");
41
+ return _chunkU2MHQBL4cjs.formatDateWithTimezone.call(void 0, value, null, "long");
42
42
  }
43
43
  function ArticleAuthorByline({
44
44
  author,
@@ -52,14 +52,14 @@ function ArticleAuthorByline({
52
52
  proxyImageUrl,
53
53
  className
54
54
  }) {
55
- const proxiedAvatar = _chunkI3RJLXELcjs.useProxiedImageUrl.call(void 0, avatar, { proxyImageUrl });
55
+ const proxiedAvatar = _chunkUP3TLY2Vcjs.useProxiedImageUrl.call(void 0, avatar, { proxyImageUrl });
56
56
  const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
57
57
  if (loading && !author) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ArticleAuthorBylineSkeleton, { size, className });
58
58
  if (!author) return null;
59
59
  const avatarSizeClass = _chunk4WIJI4AKcjs.AVATAR_SIZE[BYLINE_AVATAR_SIZE[size]];
60
60
  const avatarIconClass = size === "lg" ? "w-8 h-8" : "w-7 h-7";
61
61
  const avatarDim = _chunk4WIJI4AKcjs.AVATAR_SIZE_PX[BYLINE_AVATAR_SIZE[size]];
62
- const formattedBio = _chunkTGOJHOQRcjs.formatBioText.call(void 0, _nullishCoalesce(bio, () => ( null)));
62
+ const formattedBio = _chunkU2MHQBL4cjs.formatBioText.call(void 0, _nullishCoalesce(bio, () => ( null)));
63
63
  const dateLabel = publishedAt ? formatDate(publishedAt) : "";
64
64
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, BYLINE_FRAME_CLASS, className), children: [
65
65
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-shrink-0", children: avatar ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
4
+ var _chunkUP3TLY2Vcjs = require('./chunk-UP3TLY2V.cjs');
5
5
 
6
6
 
7
7
  var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
@@ -49,7 +49,7 @@ function PaginationControl({
49
49
  );
50
50
  }
51
51
  const handleClick = (event) => {
52
- if (_chunkI3RJLXELcjs.isModifierClick.call(void 0, event)) return;
52
+ if (_chunkUP3TLY2Vcjs.isModifierClick.call(void 0, event)) return;
53
53
  event.preventDefault();
54
54
  onPageChange(page);
55
55
  };