@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
@@ -2,31 +2,31 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkUVLTUSH3cjs = require('./chunk-UVLTUSH3.cjs');
5
+ var _chunkWX5WDSKVcjs = require('./chunk-WX5WDSKV.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkFRS2VO22cjs = require('./chunk-FRS2VO22.cjs');
12
+ var _chunk243TS7YLcjs = require('./chunk-243TS7YL.cjs');
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _chunkAZJYMTBScjs = require('./chunk-AZJYMTBS.cjs');
17
+ var _chunkGU3GJ5DHcjs = require('./chunk-GU3GJ5DH.cjs');
18
18
 
19
19
 
20
- var _chunkBT53NHR7cjs = require('./chunk-BT53NHR7.cjs');
20
+ var _chunkJ6C7F63Pcjs = require('./chunk-J6C7F63P.cjs');
21
21
 
22
22
 
23
23
 
24
24
 
25
- var _chunkKS5V55HNcjs = require('./chunk-KS5V55HN.cjs');
25
+ var _chunkCB77J5L7cjs = require('./chunk-CB77J5L7.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
29
+ var _chunkUP3TLY2Vcjs = require('./chunk-UP3TLY2V.cjs');
30
30
 
31
31
 
32
32
 
@@ -119,14 +119,14 @@ function ContactForm({
119
119
  successToastMessage = "Redirecting you to join our community...",
120
120
  rescue: rescueForm = null
121
121
  } = {}) {
122
- const attachments = _chunkKS5V55HNcjs.useChatAttachments.call(void 0, );
123
- const builtInSubmission = _chunkAZJYMTBScjs.useContactSubmission.call(void 0, {
122
+ const attachments = _chunkCB77J5L7cjs.useChatAttachments.call(void 0, );
123
+ const builtInSubmission = _chunkGU3GJ5DHcjs.useContactSubmission.call(void 0, {
124
124
  userId,
125
125
  successRedirectUrl,
126
126
  successToastMessage
127
127
  });
128
128
  const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
129
- const { honeypotInputProps, getSignals, resetSignals } = _chunkAZJYMTBScjs.useHumanitySignals.call(void 0, );
129
+ const { honeypotInputProps, getSignals, resetSignals } = _chunkGU3GJ5DHcjs.useHumanitySignals.call(void 0, );
130
130
  const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
131
131
  const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
132
132
  const form = _reacthookform.useForm.call(void 0, {
@@ -152,7 +152,7 @@ function ContactForm({
152
152
  ),
153
153
  [hideFields]
154
154
  );
155
- const rescue = _chunkAZJYMTBScjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
155
+ const rescue = _chunkGU3GJ5DHcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
156
156
  const handleFormSubmit = async (data) => {
157
157
  if (isSubmitting) return;
158
158
  if (attachmentsEnabled && attachments.hasInflightUploads) return;
@@ -190,7 +190,7 @@ function ContactForm({
190
190
  className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
191
191
  children: [
192
192
  (title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
193
- title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkI3RJLXELcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkI3RJLXELcjs.accentSentenceMarks.call(void 0, title) }),
193
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkUP3TLY2Vcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkUP3TLY2Vcjs.accentSentenceMarks.call(void 0, title) }),
194
194
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
195
195
  ] }),
196
196
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -203,13 +203,13 @@ function ContactForm({
203
203
  );
204
204
  }),
205
205
  className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
206
- ..._chunkBT53NHR7cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
206
+ ..._chunkJ6C7F63Pcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
207
207
  children: [
208
208
  !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
209
209
  !showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
210
210
  !showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
211
211
  !showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
212
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUVLTUSH3cjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWX5WDSKVcjs.HoneypotField, { ...honeypotInputProps }),
213
213
  extraTopField,
214
214
  showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
215
215
  showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
@@ -261,17 +261,17 @@ function ContactForm({
261
261
  {
262
262
  control,
263
263
  name: "companySize",
264
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFRS2VO22cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
264
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk243TS7YLcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
265
265
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
266
- _chunkFRS2VO22cjs.SelectTrigger,
266
+ _chunk243TS7YLcjs.SelectTrigger,
267
267
  {
268
268
  id: "companySize",
269
269
  "aria-label": "Company Size",
270
270
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
271
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectValue, { placeholder: "Select company size" })
271
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectValue, { placeholder: "Select company size" })
272
272
  }
273
273
  ),
274
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectItem, { value: opt, children: opt }, opt)) })
274
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectItem, { value: opt, children: opt }, opt)) })
275
275
  ] })
276
276
  }
277
277
  ),
@@ -284,17 +284,17 @@ function ContactForm({
284
284
  {
285
285
  control,
286
286
  name: "referralSource",
287
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFRS2VO22cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
287
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk243TS7YLcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
288
288
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
289
- _chunkFRS2VO22cjs.SelectTrigger,
289
+ _chunk243TS7YLcjs.SelectTrigger,
290
290
  {
291
291
  id: "referralSource",
292
292
  "aria-label": "Referral Source",
293
293
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
294
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectValue, { placeholder: "Select an option" })
294
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectValue, { placeholder: "Select an option" })
295
295
  }
296
296
  ),
297
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectItem, { value: opt, children: opt }, opt)) })
297
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectItem, { value: opt, children: opt }, opt)) })
298
298
  ] })
299
299
  }
300
300
  ),
@@ -311,18 +311,18 @@ function ContactForm({
311
311
  {
312
312
  control,
313
313
  name: "helpCategory",
314
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFRS2VO22cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
314
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk243TS7YLcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
315
315
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
316
- _chunkFRS2VO22cjs.SelectTrigger,
316
+ _chunk243TS7YLcjs.SelectTrigger,
317
317
  {
318
318
  id: "helpCategory",
319
319
  "aria-label": "Help Category",
320
320
  "aria-required": true,
321
321
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
322
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectValue, { placeholder: "Choose your main interest" })
322
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectValue, { placeholder: "Choose your main interest" })
323
323
  }
324
324
  ),
325
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectItem, { value: opt, children: opt }, opt)) })
325
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk243TS7YLcjs.SelectItem, { value: opt, children: opt }, opt)) })
326
326
  ] })
327
327
  }
328
328
  ),
@@ -334,7 +334,7 @@ function ContactForm({
334
334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunkUVLTUSH3cjs.Textarea,
337
+ _chunkWX5WDSKVcjs.Textarea,
338
338
  {
339
339
  id: "message",
340
340
  ...register("message"),
@@ -349,7 +349,7 @@ function ContactForm({
349
349
  ] }),
350
350
  attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
351
351
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
352
- _chunkKS5V55HNcjs.ChatAttachmentChipStrip,
352
+ _chunkCB77J5L7cjs.ChatAttachmentChipStrip,
353
353
  {
354
354
  attachments: attachments.attachments,
355
355
  onRemove: attachments.removeAttachment,
@@ -358,7 +358,7 @@ function ContactForm({
358
358
  ),
359
359
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
360
360
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
361
- _chunkKS5V55HNcjs.ChatAttachmentAddButton,
361
+ _chunkCB77J5L7cjs.ChatAttachmentAddButton,
362
362
  {
363
363
  attachmentsEnabled: true,
364
364
  attachmentsCount: attachments.attachments.length,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk4W77VLQVcjs = require('./chunk-4W77VLQV.cjs');
6
+ var _chunkOQDPZOGCcjs = require('./chunk-OQDPZOGC.cjs');
7
7
 
8
8
 
9
9
 
@@ -123,7 +123,7 @@ var filePlayerLoad = null;
123
123
  var filePlayerListeners = /* @__PURE__ */ new Set();
124
124
  function loadFilePlayer() {
125
125
  if (filePlayer || filePlayerLoad) return;
126
- filePlayerLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./video-file-player-2FMFCGXE.cjs"))).then((module) => {
126
+ filePlayerLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./video-file-player-4QMVTOBE.cjs"))).then((module) => {
127
127
  filePlayer = module.default;
128
128
  for (const listener of filePlayerListeners) listener();
129
129
  }).catch(() => void 0).finally(() => {
@@ -612,7 +612,7 @@ function EntityIcon({
612
612
  size = _chunkVXXOUM2Kcjs.IMAGE_FIXED_PX.glyph,
613
613
  className
614
614
  }) {
615
- const identity = _chunk4W77VLQVcjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _19 => _19.url]) ? null : _optionalChain([icon, 'optionalAccess', _20 => _20.name]));
615
+ const identity = _chunkOQDPZOGCcjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _19 => _19.url]) ? null : _optionalChain([icon, 'optionalAccess', _20 => _20.name]));
616
616
  const held = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
617
617
  if (held) {
618
618
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -633,7 +633,7 @@ function EntityIcon({
633
633
  alt: "",
634
634
  width: size,
635
635
  height: size,
636
- className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunk4W77VLQVcjs.AGENT_PICTURE_CLASS, className),
636
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunkOQDPZOGCcjs.AGENT_PICTURE_CLASS, className),
637
637
  unoptimized: true
638
638
  }
639
639
  );
@@ -653,7 +653,7 @@ function EntityIcon({
653
653
  );
654
654
  }
655
655
  const Glyph = _chunkVXXOUM2Kcjs.resolveIcon.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([identity, 'optionalAccess', _24 => _24.name]), () => ( _optionalChain([icon, 'optionalAccess', _25 => _25.name]))), () => ( void 0)));
656
- const agentColor = identity ? { color: _chunk4W77VLQVcjs.AGENT_GLYPH_COLOR } : {};
656
+ const agentColor = identity ? { color: _chunkOQDPZOGCcjs.AGENT_GLYPH_COLOR } : {};
657
657
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Glyph, { size, className, ...agentColor, ..._nullishCoalesce(_optionalChain([identity, 'optionalAccess', _26 => _26.props]), () => ( {})), ..._nullishCoalesce(_optionalChain([icon, 'optionalAccess', _27 => _27.props]), () => ( {})) });
658
658
  }
659
659
 
@@ -2,17 +2,17 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
5
+ var _chunkUP3TLY2Vcjs = require('./chunk-UP3TLY2V.cjs');
6
6
 
7
7
 
8
- var _chunkPRCGRDHVcjs = require('./chunk-PRCGRDHV.cjs');
8
+ var _chunk7Y6M4FW4cjs = require('./chunk-7Y6M4FW4.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkTGOJHOQRcjs = require('./chunk-TGOJHOQR.cjs');
12
+ var _chunkU2MHQBL4cjs = require('./chunk-U2MHQBL4.cjs');
13
13
 
14
14
 
15
- var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
15
+ var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
16
16
 
17
17
 
18
18
  var _chunkVXXOUM2Kcjs = require('./chunk-VXXOUM2K.cjs');
@@ -56,7 +56,7 @@ function pickBadgePaletteColor({
56
56
  var _jsxruntime = require('react/jsx-runtime');
57
57
  function PaletteBadge({ text, color, className, variant = "button" }) {
58
58
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
59
- _chunkPRCGRDHVcjs.StatusBadge,
59
+ _chunk7Y6M4FW4cjs.StatusBadge,
60
60
  {
61
61
  text,
62
62
  colorScheme: isBadgePaletteKey(color) ? color : "default",
@@ -145,12 +145,12 @@ var STATUS_BADGE_SCHEME = {
145
145
  abandoned: "default"
146
146
  };
147
147
  function EmployeeEntryBadge({ children }) {
148
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPRCGRDHVcjs.StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
148
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7Y6M4FW4cjs.StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
149
149
  }
150
150
  function EmployeeEntryCard(props) {
151
151
  if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || props.loading) {
152
152
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
153
- _chunkI3RJLXELcjs.AdminContentCard,
153
+ _chunkUP3TLY2Vcjs.AdminContentCard,
154
154
  {
155
155
  loading: true,
156
156
  title: "",
@@ -172,9 +172,9 @@ function LoadedEmployeeEntryCard({
172
172
  anchorProps,
173
173
  className
174
174
  }) {
175
- const authorAvatar = _chunkI3RJLXELcjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
175
+ const authorAvatar = _chunkUP3TLY2Vcjs.useProxiedImageUrl.call(void 0, _optionalChain([entry, 'access', _7 => _7.author, 'optionalAccess', _8 => _8.avatar_url]), { directHttps: false });
176
176
  const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
177
- _chunkI3RJLXELcjs.AdminContentCard,
177
+ _chunkUP3TLY2Vcjs.AdminContentCard,
178
178
  {
179
179
  imageUrl: entry.featured_image || entry.main_video_thumbnail,
180
180
  placeholderUrl,
@@ -182,7 +182,7 @@ function LoadedEmployeeEntryCard({
182
182
  summary: (_nullishCoalesce(entry.summary, () => ( ""))).slice(0, 140) || "No description",
183
183
  badges: entry.status || extraBadges ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
184
184
  entry.status ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
185
- _chunkPRCGRDHVcjs.StatusBadge,
185
+ _chunk7Y6M4FW4cjs.StatusBadge,
186
186
  {
187
187
  text: entry.status,
188
188
  colorScheme: _nullishCoalesce(STATUS_BADGE_SCHEME[entry.status], () => ( "default")),
@@ -227,7 +227,7 @@ function WhatIShippedCard(props) {
227
227
  EmployeeEntryCard,
228
228
  {
229
229
  entry,
230
- dateLabel: _chunkTGOJHOQRcjs.formatEntryMonthUTC.call(void 0, entry.entry_month, "short"),
230
+ dateLabel: _chunkU2MHQBL4cjs.formatEntryMonthUTC.call(void 0, entry.entry_month, "short"),
231
231
  placeholderUrl,
232
232
  actions,
233
233
  anchorProps,
@@ -248,7 +248,7 @@ function HowIWorkCard(props) {
248
248
  EmployeeEntryCard,
249
249
  {
250
250
  entry,
251
- dateLabel: entry.session_date ? _chunkTGOJHOQRcjs.formatDateUTC.call(void 0, entry.session_date, { fallback: "" }) || null : null,
251
+ dateLabel: entry.session_date ? _chunkU2MHQBL4cjs.formatDateUTC.call(void 0, entry.session_date, { fallback: "" }) || null : null,
252
252
  extraBadges: entry.discipline ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmployeeEntryBadge, { children: disciplineLabel(entry.discipline) }) : null,
253
253
  untitledLabel: "Untitled session",
254
254
  placeholderUrl,
@@ -270,7 +270,7 @@ function AiPromptCard(props) {
270
270
  EmployeeEntryCard,
271
271
  {
272
272
  entry,
273
- dateLabel: entry.published_at ? _chunkTGOJHOQRcjs.formatDateUTC.call(void 0, entry.published_at, { fallback: "" }) || null : null,
273
+ dateLabel: entry.published_at ? _chunkU2MHQBL4cjs.formatDateUTC.call(void 0, entry.published_at, { fallback: "" }) || null : null,
274
274
  extraBadges: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
275
275
  departmentName ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DepartmentBadge, { department: { name: departmentName, color: _nullishCoalesce(_optionalChain([entry, 'access', _15 => _15.department, 'optionalAccess', _16 => _16.color]), () => ( null)) } }) : null,
276
276
  steps > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmployeeEntryBadge, { children: `${steps} steps` }) : null
@@ -319,7 +319,7 @@ function useSelfFetch(givenUrl, options) {
319
319
  try {
320
320
  setIsLoading(true);
321
321
  setError(false);
322
- const res = await _chunk7PNRXJX2cjs.contentFetch.call(void 0, url, { signal: ctrl.signal });
322
+ const res = await _chunkFX35L4Y6cjs.contentFetch.call(void 0, url, { signal: ctrl.signal });
323
323
  if (!res.ok) throw new Error(`Request failed (${res.status})`);
324
324
  const json = await res.json();
325
325
  if (!cancelled) {
@@ -2,15 +2,15 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkV4FXUIMHcjs = require('./chunk-V4FXUIMH.cjs');
5
+ var _chunkLC65AC6Mcjs = require('./chunk-LC65AC6M.cjs');
6
6
 
7
7
 
8
- var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
8
+ var _chunkGI3MMBP3cjs = require('./chunk-GI3MMBP3.cjs');
9
9
 
10
10
  // src/hooks/ui/use-drag-and-drop-enabled.ts
11
- var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${_chunkV4FXUIMHcjs.breakpoints.md}`;
11
+ var DRAG_AND_DROP_MEDIA_QUERY = `(pointer: fine) and (hover: hover) and ${_chunkLC65AC6Mcjs.breakpoints.md}`;
12
12
  function useDragAndDropEnabled() {
13
- return _nullishCoalesce(_chunkV4FXUIMHcjs.useMediaQuery.call(void 0, DRAG_AND_DROP_MEDIA_QUERY), () => ( false));
13
+ return _nullishCoalesce(_chunkLC65AC6Mcjs.useMediaQuery.call(void 0, DRAG_AND_DROP_MEDIA_QUERY), () => ( false));
14
14
  }
15
15
 
16
16
  // src/hooks/ui/use-horizontal-scrollbar.ts
@@ -236,7 +236,7 @@ function useLocalStorage(key, initialValue, options) {
236
236
  });
237
237
  const validate = _optionalChain([options, 'optionalAccess', _ => _.validate]);
238
238
  const storage = _react.useMemo.call(void 0,
239
- () => _chunk5GJM7VRRcjs.createLocalStorageAdapter.call(void 0, { key, validate, logTag: `[useLocalStorage:${key}]` }),
239
+ () => _chunkGI3MMBP3cjs.createLocalStorageAdapter.call(void 0, { key, validate, logTag: `[useLocalStorage:${key}]` }),
240
240
  [key, validate]
241
241
  );
242
242
  const [storedValue, setStoredValue] = _react.useState.call(void 0, () => _nullishCoalesce(storage.load(), () => ( initialValue)));