@flamingo-stack/openframe-frontend-core 0.0.701-snapshot.20261005171139 → 0.0.701

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 (89) hide show
  1. package/dist/{chunk-CXDJUKC6.cjs → chunk-2CSYUMNM.cjs} +2 -2
  2. package/dist/{chunk-E3DH543A.cjs → chunk-4H5Q6MQG.cjs} +35 -35
  3. package/dist/{chunk-3WSFIV5G.cjs → chunk-65YVUYWJ.cjs} +32 -32
  4. package/dist/{chunk-UJJWTJ6S.js → chunk-6JG75WVO.js} +4 -4
  5. package/dist/{chunk-YGRHITPY.cjs → chunk-7ZDTAABP.cjs} +3 -3
  6. package/dist/{chunk-Z5HDCZAS.js → chunk-A5ZGKBN2.js} +1 -1
  7. package/dist/{chunk-CZ34HXDW.js → chunk-B7M6QEEM.js} +275 -661
  8. package/dist/{chunk-FHM7GD5B.cjs → chunk-BPS7JQCI.cjs} +2 -2
  9. package/dist/{chunk-LZNJH23A.cjs → chunk-BQ34PIFC.cjs} +3 -3
  10. package/dist/{chunk-AEQANLBW.cjs → chunk-BRQY2HKD.cjs} +17 -17
  11. package/dist/{chunk-ETFFEA3J.js → chunk-BZYMGI4L.js} +1 -1
  12. package/dist/{chunk-IZKOQVXO.js → chunk-CUPJCGLB.js} +1 -1
  13. package/dist/{chunk-QFW3RUZS.cjs → chunk-DG2I57UM.cjs} +16 -16
  14. package/dist/{chunk-HYFLTFFB.js → chunk-DJLZXJYB.js} +1 -1
  15. package/dist/{chunk-MWUBBBWZ.js → chunk-EONNPRAW.js} +1 -1
  16. package/dist/{chunk-446KS5BG.js → chunk-GD4JALTR.js} +1 -1
  17. package/dist/{chunk-3G76LRGL.cjs → chunk-GFXZMFDX.cjs} +9 -9
  18. package/dist/{chunk-BO5ZHDA4.js → chunk-JPVDJB27.js} +3 -3
  19. package/dist/{chunk-2V4Z44G6.js → chunk-MFORWVGD.js} +4 -4
  20. package/dist/{chunk-JOY6HVPV.js → chunk-N7DPIH57.js} +1 -1
  21. package/dist/{chunk-PLK6GHN7.js → chunk-N7HMUQRV.js} +1 -1
  22. package/dist/{chunk-L7KZA7ZD.cjs → chunk-NIT257DV.cjs} +2 -2
  23. package/dist/{chunk-SAA7B3DA.js → chunk-PNWIVND4.js} +2 -2
  24. package/dist/{chunk-FD4DBTFO.cjs → chunk-QDIX2ZRL.cjs} +44 -430
  25. package/dist/{chunk-CYYTD5ZK.cjs → chunk-QPNR4N7N.cjs} +16 -16
  26. package/dist/{chunk-HIXGAY2L.cjs → chunk-QZGFJBG5.cjs} +50 -50
  27. package/dist/{chunk-RS7HWAYX.js → chunk-S4ADN25W.js} +1 -1
  28. package/dist/{chunk-HPJ4XS2L.js → chunk-V5QNDOEL.js} +3 -3
  29. package/dist/{chunk-B3LZJ6J3.cjs → chunk-YBC346FY.cjs} +12 -12
  30. package/dist/{chunk-ASN65P3F.cjs → chunk-ZSPHOHOW.cjs} +2 -2
  31. package/dist/components/case-studies/index.cjs +11 -11
  32. package/dist/components/case-studies/index.js +2 -2
  33. package/dist/components/contact/index.cjs +3 -3
  34. package/dist/components/contact/index.js +2 -2
  35. package/dist/components/docs/index.cjs +6 -6
  36. package/dist/components/docs/index.js +5 -5
  37. package/dist/components/embeds/index.cjs +3 -3
  38. package/dist/components/embeds/index.js +2 -2
  39. package/dist/components/faq/index.cjs +3 -3
  40. package/dist/components/faq/index.js +2 -2
  41. package/dist/components/features/index.cjs +2 -22
  42. package/dist/components/features/index.js +1 -21
  43. package/dist/components/features/remote-session/index.d.ts +1 -9
  44. package/dist/components/features/remote-session/index.d.ts.map +1 -1
  45. package/dist/components/features/remote-session/remote-session-block.d.ts +2 -4
  46. package/dist/components/features/remote-session/remote-session-block.d.ts.map +1 -1
  47. package/dist/components/features/remote-session/remote-session-chat-panel.d.ts +2 -4
  48. package/dist/components/features/remote-session/remote-session-chat-panel.d.ts.map +1 -1
  49. package/dist/components/features/remote-session/remote-session-parts.d.ts +2 -13
  50. package/dist/components/features/remote-session/remote-session-parts.d.ts.map +1 -1
  51. package/dist/components/features/remote-session/types.d.ts +0 -22
  52. package/dist/components/features/remote-session/types.d.ts.map +1 -1
  53. package/dist/components/help-center-pages/index.cjs +49 -49
  54. package/dist/components/help-center-pages/index.js +13 -13
  55. package/dist/components/index.cjs +33 -53
  56. package/dist/components/index.js +12 -32
  57. package/dist/components/meeting-scheduler/index.cjs +22 -22
  58. package/dist/components/meeting-scheduler/index.js +1 -1
  59. package/dist/components/navigation/index.cjs +5 -5
  60. package/dist/components/navigation/index.js +4 -4
  61. package/dist/components/onboarding-guides/index.cjs +5 -5
  62. package/dist/components/onboarding-guides/index.js +4 -4
  63. package/dist/components/tickets/index.cjs +6 -6
  64. package/dist/components/tickets/index.js +5 -5
  65. package/dist/components/ui/index.cjs +2 -2
  66. package/dist/components/ui/index.js +1 -1
  67. package/dist/index.cjs +6 -26
  68. package/dist/index.js +5 -25
  69. package/dist/tailwind.config.cjs +1 -7
  70. package/dist/tailwind.config.js +1 -7
  71. package/package.json +1 -1
  72. package/src/components/features/remote-session/index.ts +0 -28
  73. package/src/components/features/remote-session/remote-session-block.tsx +3 -6
  74. package/src/components/features/remote-session/remote-session-chat-panel.tsx +7 -11
  75. package/src/components/features/remote-session/remote-session-parts.tsx +3 -32
  76. package/src/components/features/remote-session/types.ts +0 -26
  77. package/tailwind.config.ts +0 -6
  78. package/dist/components/features/remote-session/remote-session-events.d.ts +0 -24
  79. package/dist/components/features/remote-session/remote-session-events.d.ts.map +0 -1
  80. package/dist/components/features/remote-session/remote-session-keep-modals.d.ts +0 -41
  81. package/dist/components/features/remote-session/remote-session-keep-modals.d.ts.map +0 -1
  82. package/dist/components/features/remote-session/remote-session-status.d.ts +0 -34
  83. package/dist/components/features/remote-session/remote-session-status.d.ts.map +0 -1
  84. package/dist/components/features/remote-session/remote-session-viewers.d.ts +0 -15
  85. package/dist/components/features/remote-session/remote-session-viewers.d.ts.map +0 -1
  86. package/src/components/features/remote-session/remote-session-events.tsx +0 -93
  87. package/src/components/features/remote-session/remote-session-keep-modals.tsx +0 -208
  88. package/src/components/features/remote-session/remote-session-status.tsx +0 -102
  89. package/src/components/features/remote-session/remote-session-viewers.tsx +0 -103
@@ -8,7 +8,7 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkFD4DBTFOcjs = require('./chunk-FD4DBTFO.cjs');
11
+ var _chunkQDIX2ZRLcjs = require('./chunk-QDIX2ZRL.cjs');
12
12
 
13
13
 
14
14
 
@@ -197,13 +197,13 @@ function ContactForm({
197
197
  );
198
198
  }),
199
199
  className: "flex flex-grow flex-col space-y-4 md:space-y-6",
200
- ..._chunkFD4DBTFOcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
200
+ ..._chunkQDIX2ZRLcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
201
201
  children: [
202
202
  !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
203
203
  !showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
204
204
  !showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
205
205
  !showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
206
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.HoneypotField, { ...honeypotInputProps }),
206
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.HoneypotField, { ...honeypotInputProps }),
207
207
  extraTopField,
208
208
  showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-6", children: [
209
209
  showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
@@ -255,17 +255,17 @@ function ContactForm({
255
255
  {
256
256
  control,
257
257
  name: "companySize",
258
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFD4DBTFOcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
258
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQDIX2ZRLcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
259
259
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
260
- _chunkFD4DBTFOcjs.SelectTrigger,
260
+ _chunkQDIX2ZRLcjs.SelectTrigger,
261
261
  {
262
262
  id: "companySize",
263
263
  "aria-label": "Company Size",
264
264
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
265
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectValue, { placeholder: "Select company size" })
265
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.SelectValue, { placeholder: "Select company size" })
266
266
  }
267
267
  ),
268
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectItem, { value: opt, children: opt }, opt)) })
268
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.SelectItem, { value: opt, children: opt }, opt)) })
269
269
  ] })
270
270
  }
271
271
  ),
@@ -278,17 +278,17 @@ function ContactForm({
278
278
  {
279
279
  control,
280
280
  name: "referralSource",
281
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFD4DBTFOcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
281
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQDIX2ZRLcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
282
282
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
283
- _chunkFD4DBTFOcjs.SelectTrigger,
283
+ _chunkQDIX2ZRLcjs.SelectTrigger,
284
284
  {
285
285
  id: "referralSource",
286
286
  "aria-label": "Referral Source",
287
287
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
288
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectValue, { placeholder: "Select an option" })
288
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.SelectValue, { placeholder: "Select an option" })
289
289
  }
290
290
  ),
291
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectItem, { value: opt, children: opt }, opt)) })
291
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.SelectItem, { value: opt, children: opt }, opt)) })
292
292
  ] })
293
293
  }
294
294
  ),
@@ -305,18 +305,18 @@ function ContactForm({
305
305
  {
306
306
  control,
307
307
  name: "helpCategory",
308
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFD4DBTFOcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
308
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQDIX2ZRLcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
309
309
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
310
- _chunkFD4DBTFOcjs.SelectTrigger,
310
+ _chunkQDIX2ZRLcjs.SelectTrigger,
311
311
  {
312
312
  id: "helpCategory",
313
313
  "aria-label": "Help Category",
314
314
  "aria-required": true,
315
315
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
316
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectValue, { placeholder: "Choose your main interest" })
316
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.SelectValue, { placeholder: "Choose your main interest" })
317
317
  }
318
318
  ),
319
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.SelectItem, { value: opt, children: opt }, opt)) })
319
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.SelectItem, { value: opt, children: opt }, opt)) })
320
320
  ] })
321
321
  }
322
322
  ),
@@ -328,7 +328,7 @@ function ContactForm({
328
328
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2A4XES7Rcjs.RequiredMark, {})
329
329
  ] }),
330
330
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
331
- _chunkFD4DBTFOcjs.Textarea,
331
+ _chunkQDIX2ZRLcjs.Textarea,
332
332
  {
333
333
  id: "message",
334
334
  ...register("message"),
@@ -1,14 +1,14 @@
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 _chunkCYYTD5ZKcjs = require('./chunk-CYYTD5ZK.cjs');
4
+ var _chunkQPNR4N7Ncjs = require('./chunk-QPNR4N7N.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunk3G76LRGLcjs = require('./chunk-3G76LRGL.cjs');
11
+ var _chunkGFXZMFDXcjs = require('./chunk-GFXZMFDX.cjs');
12
12
 
13
13
 
14
14
 
@@ -19,7 +19,7 @@ var _chunkHUOLB7ZNcjs = require('./chunk-HUOLB7ZN.cjs');
19
19
 
20
20
 
21
21
 
22
- var _chunkL7KZA7ZDcjs = require('./chunk-L7KZA7ZD.cjs');
22
+ var _chunkNIT257DVcjs = require('./chunk-NIT257DV.cjs');
23
23
 
24
24
 
25
25
 
@@ -35,7 +35,7 @@ var _chunkL7KZA7ZDcjs = require('./chunk-L7KZA7ZD.cjs');
35
35
 
36
36
 
37
37
 
38
- var _chunkFD4DBTFOcjs = require('./chunk-FD4DBTFO.cjs');
38
+ var _chunkQDIX2ZRLcjs = require('./chunk-QDIX2ZRL.cjs');
39
39
 
40
40
 
41
41
 
@@ -114,7 +114,7 @@ var TicketActionFailure = class extends Error {
114
114
  function useTicketActions(options) {
115
115
  const queryClient = _reactquery.useQueryClient.call(void 0, );
116
116
  const ticketActionEndpoint = _nullishCoalesce(_chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, ).endpoints.ticketActionUrl, () => ( TICKET_ACTION_ENDPOINT));
117
- const ticketLive = _chunkL7KZA7ZDcjs.useOptionalTicketLive.call(void 0, );
117
+ const ticketLive = _chunkNIT257DVcjs.useOptionalTicketLive.call(void 0, );
118
118
  const notifyTicketCreated = _optionalChain([ticketLive, 'optionalAccess', _2 => _2.notifyTicketCreated]);
119
119
  const { prependOptimistic, removeOptimistic, removeTicketFromCache, toast: toast2, onSupportSystemDown } = options;
120
120
  const formInFlightRef = _react.useRef.call(void 0, null);
@@ -275,10 +275,10 @@ function useTicketActions(options) {
275
275
  ..._optionalChain([input, 'access', _3 => _3.attachments, 'optionalAccess', _4 => _4.length]) ? { attachments: input.attachments } : {}
276
276
  });
277
277
  if (result.mirror_synced === false) {
278
- toast2(_chunkL7KZA7ZDcjs.TOAST_COPY.open_mirror_pending);
278
+ toast2(_chunkNIT257DVcjs.TOAST_COPY.open_mirror_pending);
279
279
  watchMirrorSync(placeholderId, result.ticket_id);
280
280
  } else {
281
- toast2(_chunkL7KZA7ZDcjs.TOAST_COPY.open_success);
281
+ toast2(_chunkNIT257DVcjs.TOAST_COPY.open_success);
282
282
  await queryClient.invalidateQueries({ queryKey: ["tickets"] });
283
283
  removeOptimistic(placeholderId);
284
284
  }
@@ -364,7 +364,7 @@ function useTicketActions(options) {
364
364
  ...hasText ? { content_addendum: trimmed } : {},
365
365
  ...hasFiles ? { attachments } : {}
366
366
  },
367
- _chunkL7KZA7ZDcjs.TOAST_COPY.comment_success,
367
+ _chunkNIT257DVcjs.TOAST_COPY.comment_success,
368
368
  "send message"
369
369
  );
370
370
  if (ok) {
@@ -387,13 +387,13 @@ function useTicketActions(options) {
387
387
  status: "CLOSED",
388
388
  ..._optionalChain([resolution, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) ? { resolution: resolution.trim() } : {}
389
389
  },
390
- _chunkL7KZA7ZDcjs.TOAST_COPY.close_success,
390
+ _chunkNIT257DVcjs.TOAST_COPY.close_success,
391
391
  "close ticket"
392
392
  ),
393
393
  [updateTicket]
394
394
  );
395
395
  const reopenTicket = _react.useCallback.call(void 0,
396
- (ticket) => updateTicket(ticket, { status: "OPEN" }, _chunkL7KZA7ZDcjs.TOAST_COPY.reopen_success, "reopen ticket"),
396
+ (ticket) => updateTicket(ticket, { status: "OPEN" }, _chunkNIT257DVcjs.TOAST_COPY.reopen_success, "reopen ticket"),
397
397
  [updateTicket]
398
398
  );
399
399
  return _react.useMemo.call(void 0,
@@ -608,14 +608,14 @@ function useTicketsList(filters) {
608
608
  // src/components/tickets/ticket-open-form.tsx
609
609
 
610
610
  var _jsxruntime = require('react/jsx-runtime');
611
- var COUNTER_VISIBLE_AT = Math.floor(_chunkL7KZA7ZDcjs.TICKET_TEXT_MAX_CHARS * 0.8);
611
+ var COUNTER_VISIBLE_AT = Math.floor(_chunkNIT257DVcjs.TICKET_TEXT_MAX_CHARS * 0.8);
612
612
  function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
613
613
  const [subject, setSubject] = _react.useState.call(void 0, "");
614
614
  const [content, setContent] = _react.useState.call(void 0, "");
615
615
  const { attachments, readyAttachments, hasInflightUploads, addFiles, removeAttachment, clear } = _chunkRTGPIHVOcjs.useChatAttachments.call(void 0, );
616
616
  const trimmedSubject = subject.trim();
617
617
  const trimmedContent = content.trim();
618
- const overCap = content.length > _chunkL7KZA7ZDcjs.TICKET_TEXT_MAX_CHARS;
618
+ const overCap = content.length > _chunkNIT257DVcjs.TICKET_TEXT_MAX_CHARS;
619
619
  const showCounter = content.length >= COUNTER_VISIBLE_AT;
620
620
  const canSubmit = !isSubmitting && !supportSystemDown && !hasInflightUploads && trimmedSubject.length > 0 && trimmedContent.length > 0 && !overCap;
621
621
  const handleSubmit = async (e) => {
@@ -632,7 +632,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
632
632
  clear();
633
633
  }
634
634
  };
635
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMCQGFXDcjs.Card, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: handleSubmit, className: "flex flex-col gap-6 md:flex-row", ..._chunkFD4DBTFOcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
635
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMCQGFXDcjs.Card, { className: "p-6", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: handleSubmit, className: "flex flex-col gap-6 md:flex-row", ..._chunkQDIX2ZRLcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
636
636
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1 md:max-w-md", children: [
637
637
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "mb-2 text-ods-text-primary text-h2", children: "Need Support?" }),
638
638
  /* @__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." }),
@@ -657,7 +657,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
657
657
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
658
658
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "ticket-content", className: "mb-1 block text-ods-text-primary text-h6", children: "Your Message" }),
659
659
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
660
- _chunkFD4DBTFOcjs.Textarea,
660
+ _chunkQDIX2ZRLcjs.Textarea,
661
661
  {
662
662
  id: "ticket-content",
663
663
  placeholder: "Describe your issue or question in detail...",
@@ -671,7 +671,7 @@ function TicketOpenForm({ onSubmit, isSubmitting, supportSystemDown }) {
671
671
  showCounter && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: `mt-1 text-right text-h6 ${overCap ? "text-ods-error" : "text-ods-text-secondary"}`, children: [
672
672
  content.length,
673
673
  "/",
674
- _chunkL7KZA7ZDcjs.TICKET_TEXT_MAX_CHARS
674
+ _chunkNIT257DVcjs.TICKET_TEXT_MAX_CHARS
675
675
  ] })
676
676
  ] }),
677
677
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -787,7 +787,7 @@ function TicketLinkedDeliveryCard({ clickup, className }) {
787
787
  dateClosed: clickup.date_closed,
788
788
  clickupUrl: _nullishCoalesce(clickup.clickup_url, () => ( ""))
789
789
  };
790
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkEMCQGFXDcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3G76LRGLcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
790
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${_chunkEMCQGFXDcjs.CONTENT_CARD_SKELETON_FRAME_CLASS} ${_nullishCoalesce(className, () => ( ""))}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGFXZMFDXcjs.DeliveryRow, { item, href: clickup.delivery_href, caption: "Linked delivery" }) });
791
791
  }
792
792
 
793
793
  // src/components/tickets/ticket-reply-composer.tsx
@@ -840,7 +840,7 @@ function TicketReplyComposer({
840
840
  sending: busy || attachments.hasInflightUploads,
841
841
  disabled: supportSystemDown,
842
842
  allowEmptySend: hasReadyFiles,
843
- maxLength: _chunkL7KZA7ZDcjs.TICKET_TEXT_MAX_CHARS,
843
+ maxLength: _chunkNIT257DVcjs.TICKET_TEXT_MAX_CHARS,
844
844
  onSend: handleSend
845
845
  }
846
846
  ),
@@ -869,25 +869,25 @@ function TicketReplyComposer({
869
869
  }
870
870
  )
871
871
  ] }),
872
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFD4DBTFOcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
873
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFD4DBTFOcjs.AlertDialogHeader, { children: [
874
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
875
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
872
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.AlertDialog, { open: closeDialogOpen, onOpenChange: setCloseDialogOpen, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQDIX2ZRLcjs.AlertDialogContent, { className: "border-ods-border bg-ods-card", children: [
873
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQDIX2ZRLcjs.AlertDialogHeader, { children: [
874
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.AlertDialogTitle, { className: "text-ods-text-primary", children: "Close this ticket?" }),
875
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.AlertDialogDescription, { className: "text-ods-text-secondary", children: "Add an optional resolution note below. You can reopen the ticket later if needed." })
876
876
  ] }),
877
877
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
878
- _chunkFD4DBTFOcjs.Textarea,
878
+ _chunkQDIX2ZRLcjs.Textarea,
879
879
  {
880
880
  value: resolution,
881
881
  onChange: (e) => setResolution(e.target.value),
882
882
  placeholder: "Resolution (optional)",
883
883
  rows: 3,
884
- maxLength: _chunkL7KZA7ZDcjs.TICKET_TEXT_MAX_CHARS,
884
+ maxLength: _chunkNIT257DVcjs.TICKET_TEXT_MAX_CHARS,
885
885
  className: "mt-2"
886
886
  }
887
887
  ),
888
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFD4DBTFOcjs.AlertDialogFooter, { children: [
888
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQDIX2ZRLcjs.AlertDialogFooter, { children: [
889
889
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
890
- _chunkFD4DBTFOcjs.AlertDialogCancel,
890
+ _chunkQDIX2ZRLcjs.AlertDialogCancel,
891
891
  {
892
892
  disabled: busy,
893
893
  className: "border-ods-border bg-transparent text-ods-text-primary hover:bg-ods-border",
@@ -895,7 +895,7 @@ function TicketReplyComposer({
895
895
  }
896
896
  ),
897
897
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
898
- _chunkFD4DBTFOcjs.AlertDialogAction,
898
+ _chunkQDIX2ZRLcjs.AlertDialogAction,
899
899
  {
900
900
  onClick: () => void confirmClose(),
901
901
  disabled: busy,
@@ -958,9 +958,9 @@ var TICKET_FEED_INNER = "flex flex-col gap-4 md:gap-6 px-4 md:px-6 py-4 md:py-6"
958
958
  var TICKET_FEED_SKELETON_ROWS = 6;
959
959
  function TicketTimelinePanel({ ticket }) {
960
960
  const identity = _chunkRTGPIHVOcjs.useChatIdentity.call(void 0, );
961
- const externalId = _chunkL7KZA7ZDcjs.isOptimistic.call(void 0, ticket) ? null : ticket.external_id;
961
+ const externalId = _chunkNIT257DVcjs.isOptimistic.call(void 0, ticket) ? null : ticket.external_id;
962
962
  const { engagements, isLoading } = useTicketEngagements(externalId, !!externalId);
963
- const live = _chunkL7KZA7ZDcjs.useOptionalTicketLive.call(void 0, );
963
+ const live = _chunkNIT257DVcjs.useOptionalTicketLive.call(void 0, );
964
964
  const setOpenTicketId = _optionalChain([live, 'optionalAccess', _25 => _25.setOpenTicketId]);
965
965
  const markRead = _optionalChain([live, 'optionalAccess', _26 => _26.markRead]);
966
966
  const markReadDebounceRef = _react.useRef.call(void 0, null);
@@ -984,7 +984,7 @@ function TicketTimelinePanel({ ticket }) {
984
984
  markReadDebounceRef.current = setTimeout(() => {
985
985
  markReadDebounceRef.current = null;
986
986
  void markRead(externalId);
987
- }, _chunkL7KZA7ZDcjs.TICKET_MARK_READ_DEBOUNCE_MS);
987
+ }, _chunkNIT257DVcjs.TICKET_MARK_READ_DEBOUNCE_MS);
988
988
  }, [engagementsCount, externalId, markRead]);
989
989
  const { scrollRef, contentRef } = _usesticktobottom.useStickToBottom.call(void 0, { initial: "instant", resize: "smooth" });
990
990
  const bodyTurns = ticket.body ? ticket.body.split(TURN_SEPARATOR_RE).map((t) => t.trim()).filter(Boolean) : [];
@@ -1053,7 +1053,7 @@ function TicketTimelinePanel({ ticket }) {
1053
1053
  avatarUrl: avatarSrc,
1054
1054
  timeLabel: eng.createdAt ? _chunkRTGPIHVOcjs.formatRelativeTime.call(void 0, eng.createdAt) : null,
1055
1055
  body: stripAttachmentsPreamble(_nullishCoalesce(eng.body, () => ( ""))),
1056
- footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFD4DBTFOcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1056
+ footer: engAttachments.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQDIX2ZRLcjs.TicketAttachmentsList, { attachments: engAttachments, size: "compact" }) }) : null
1057
1057
  },
1058
1058
  eng.id
1059
1059
  );
@@ -1166,7 +1166,7 @@ function TicketRow({
1166
1166
  onActionCollapsed,
1167
1167
  id
1168
1168
  }) {
1169
- const optimistic = _chunkL7KZA7ZDcjs.isOptimistic.call(void 0, ticket);
1169
+ const optimistic = _chunkNIT257DVcjs.isOptimistic.call(void 0, ticket);
1170
1170
  const rowRef = _react.useRef.call(void 0, null);
1171
1171
  const handleClick = _react.useCallback.call(void 0, () => {
1172
1172
  onToggle(ticket.id);
@@ -1335,11 +1335,11 @@ function TicketCenterAuthed({
1335
1335
  ) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEMCQGFXDcjs.Card, { className: "overflow-hidden", children: merged.map((ticket) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1336
1336
  TicketRow,
1337
1337
  {
1338
- id: _chunkFD4DBTFOcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1338
+ id: _chunkQDIX2ZRLcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1339
1339
  ticket,
1340
1340
  expanded: expandedTicketId === ticket.id,
1341
1341
  onToggle: toggleRow,
1342
- busy: _chunkL7KZA7ZDcjs.isOptimistic.call(void 0, ticket) ? false : actions.isRowBusy(ticket.id),
1342
+ busy: _chunkNIT257DVcjs.isOptimistic.call(void 0, ticket) ? false : actions.isRowBusy(ticket.id),
1343
1343
  supportSystemDown,
1344
1344
  onSendMessage: actions.sendMessage,
1345
1345
  onClose: actions.closeTicket,
@@ -1393,7 +1393,7 @@ function HelpCenterCard({
1393
1393
  onClearReplyError,
1394
1394
  id
1395
1395
  }) {
1396
- const optimistic = _chunkL7KZA7ZDcjs.isOptimistic.call(void 0, ticket);
1396
+ const optimistic = _chunkNIT257DVcjs.isOptimistic.call(void 0, ticket);
1397
1397
  const rawStatus = (_nullishCoalesce(ticket.status, () => ( "OPEN"))).toUpperCase();
1398
1398
  const priority = (_nullishCoalesce(ticket.priority, () => ( ""))).toUpperCase();
1399
1399
  const relativeUpdated = ticket.hubspot_updated_at ? _chunkRTGPIHVOcjs.formatRelativeTime.call(void 0, ticket.hubspot_updated_at) : "recently";
@@ -1415,7 +1415,7 @@ function HelpCenterCard({
1415
1415
  });
1416
1416
  return () => cancelAnimationFrame(raf);
1417
1417
  }, [isExpanded]);
1418
- const live = _chunkL7KZA7ZDcjs.useOptionalTicketLive.call(void 0, );
1418
+ const live = _chunkNIT257DVcjs.useOptionalTicketLive.call(void 0, );
1419
1419
  const unreadCount = !optimistic && ticket.external_id && _optionalChain([live, 'optionalAccess', _64 => _64.unreadByTicket, 'access', _65 => _65[ticket.external_id]]) || 0;
1420
1420
  const rightBadges = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1421
1421
  unreadCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -1465,7 +1465,7 @@ function HelpCenterCard({
1465
1465
  "aria-controls": isExpanded ? `help-center-drawer-${ticket.id}` : void 0,
1466
1466
  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 md:p-[16px]",
1467
1467
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1468
- _chunk3G76LRGLcjs.DevCardRowContent,
1468
+ _chunkGFXZMFDXcjs.DevCardRowContent,
1469
1469
  {
1470
1470
  title,
1471
1471
  subtitle,
@@ -1566,7 +1566,7 @@ function HelpCenterCreateForm({
1566
1566
  subjectError && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { id: "help-center-subject-error", className: "mt-1 text-ods-error text-h6", children: subjectError })
1567
1567
  ] });
1568
1568
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1569
- _chunkCYYTD5ZKcjs.ContactForm,
1569
+ _chunkQPNR4N7Ncjs.ContactForm,
1570
1570
  {
1571
1571
  rescue: null,
1572
1572
  title: "Open a new ticket",
@@ -1609,25 +1609,25 @@ function HelpCenterList({ toast: toast2 = _chunk3L7KCOGOcjs.toast, backButton, t
1609
1609
  const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
1610
1610
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
1611
1611
  const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
1612
- const search = searchParams.get(_chunkFD4DBTFOcjs.DEV_SECTION_PARAM_KEYS.search) || "";
1612
+ const search = searchParams.get(_chunkQDIX2ZRLcjs.DEV_SECTION_PARAM_KEYS.search) || "";
1613
1613
  const status = searchParams.get("status") || "all";
1614
- const ticketParam = searchParams.get(_chunkFD4DBTFOcjs.TICKET_OPEN_PARAM) || "";
1614
+ const ticketParam = searchParams.get(_chunkQDIX2ZRLcjs.TICKET_OPEN_PARAM) || "";
1615
1615
  const page = _chunk4OGAXAEGcjs.positiveInt.call(void 0, searchParams.get("page"), 1);
1616
1616
  if (identity.isLoading) {
1617
1617
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1618
- _chunk3G76LRGLcjs.DevSectionPage,
1618
+ _chunkGFXZMFDXcjs.DevSectionPage,
1619
1619
  {
1620
1620
  sectionKey: "tickets",
1621
1621
  backButton,
1622
1622
  title,
1623
1623
  shell,
1624
1624
  preControls: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpCenterCreateFormSkeleton, {}),
1625
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3G76LRGLcjs.DevCardRowSkeletonList, {})
1625
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGFXZMFDXcjs.DevCardRowSkeletonList, {})
1626
1626
  }
1627
1627
  );
1628
1628
  }
1629
1629
  if (identity.authTier === "anon" || !_optionalChain([identity, 'access', _66 => _66.user, 'optionalAccess', _67 => _67.email])) {
1630
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3G76LRGLcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1630
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGFXZMFDXcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1631
1631
  _chunkHUOLB7ZNcjs.EmptyState,
1632
1632
  {
1633
1633
  type: "generic",
@@ -1679,8 +1679,8 @@ function HelpCenterListAuthed({
1679
1679
  const setOpenTicket = _react.useCallback.call(void 0,
1680
1680
  (externalId) => {
1681
1681
  const params = new URLSearchParams(searchParams.toString());
1682
- if (externalId) params.set(_chunkFD4DBTFOcjs.TICKET_OPEN_PARAM, externalId);
1683
- else params.delete(_chunkFD4DBTFOcjs.TICKET_OPEN_PARAM);
1682
+ if (externalId) params.set(_chunkQDIX2ZRLcjs.TICKET_OPEN_PARAM, externalId);
1683
+ else params.delete(_chunkQDIX2ZRLcjs.TICKET_OPEN_PARAM);
1684
1684
  const qs = params.toString();
1685
1685
  router.replace(qs ? `${pathname}?${qs}` : pathname, { scroll: false });
1686
1686
  },
@@ -1757,15 +1757,15 @@ function HelpCenterListAuthed({
1757
1757
  ] }),
1758
1758
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDFQYAYBHcjs.Button, { type: "button", variant: "accent", onClick: () => refetch(), children: "Retry" })
1759
1759
  ] }),
1760
- !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3G76LRGLcjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1760
+ !error && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGFXZMFDXcjs.DevCardRowSkeletonList, {}) : !hasResults && isFetching ? (
1761
1761
  // Bridge state — background refetch in flight and the
1762
1762
  // optimistic placeholder was just removed by the mutation
1763
1763
  // callback. Without this branch "No tickets yet" would flash
1764
1764
  // for ~50ms between `removeOptimistic` and the server
1765
1765
  // response landing.
1766
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3G76LRGLcjs.DevCardRowSkeletonList, { rows: 1 })
1766
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGFXZMFDXcjs.DevCardRowSkeletonList, { rows: 1 })
1767
1767
  ) : !hasResults ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1768
- _chunk3G76LRGLcjs.ListEmptyState,
1768
+ _chunkGFXZMFDXcjs.ListEmptyState,
1769
1769
  {
1770
1770
  isFiltered: hasActiveFilters,
1771
1771
  filtered: {
@@ -1796,11 +1796,11 @@ function HelpCenterListAuthed({
1796
1796
  /* @__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,
1797
1797
  HelpCenterCard,
1798
1798
  {
1799
- id: _chunkFD4DBTFOcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1799
+ id: _chunkQDIX2ZRLcjs.devSectionAnchorId.call(void 0, "ticket", ticket.external_id),
1800
1800
  ticket,
1801
1801
  expanded: expandedTicketId === ticket.id,
1802
1802
  onToggle: toggleRow,
1803
- busy: _chunkL7KZA7ZDcjs.isOptimistic.call(void 0, ticket) ? false : actions.isRowBusy(ticket.id),
1803
+ busy: _chunkNIT257DVcjs.isOptimistic.call(void 0, ticket) ? false : actions.isRowBusy(ticket.id),
1804
1804
  supportSystemDown,
1805
1805
  onSendMessage: actions.sendMessage,
1806
1806
  onClose: actions.closeTicket,
@@ -1814,7 +1814,7 @@ function HelpCenterListAuthed({
1814
1814
  ) }),
1815
1815
  !error && totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHUOLB7ZNcjs.UnifiedPagination, { currentPage: page, totalPages })
1816
1816
  ] });
1817
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3G76LRGLcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1817
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGFXZMFDXcjs.DevSectionPage, { sectionKey: "tickets", backButton, title, shell, preControls: form, children: body });
1818
1818
  }
1819
1819
 
1820
1820
 
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  createSseSubscription
4
- } from "./chunk-CZ34HXDW.js";
4
+ } from "./chunk-B7M6QEEM.js";
5
5
  import {
6
6
  useChatIdentity
7
7
  } from "./chunk-6JPQDYYY.js";
@@ -5,13 +5,13 @@ import {
5
5
  import {
6
6
  DeliveryRow,
7
7
  ListEmptyState
8
- } from "./chunk-Z5HDCZAS.js";
8
+ } from "./chunk-A5ZGKBN2.js";
9
9
  import {
10
10
  EmptyState
11
11
  } from "./chunk-OGLCD3UL.js";
12
12
  import {
13
13
  DetailPageSkeleton
14
- } from "./chunk-JOY6HVPV.js";
14
+ } from "./chunk-N7DPIH57.js";
15
15
  import {
16
16
  useSelfFetch
17
17
  } from "./chunk-5FFNNJM7.js";
@@ -30,7 +30,7 @@ import {
30
30
  RichMarkdownRenderer,
31
31
  devSectionAnchorId,
32
32
  resolveContentHref
33
- } from "./chunk-CZ34HXDW.js";
33
+ } from "./chunk-B7M6QEEM.js";
34
34
  import {
35
35
  useHumanitySignals,
36
36
  useScrollToHash
@@ -4,7 +4,7 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkFD4DBTFOcjs = require('./chunk-FD4DBTFO.cjs');
7
+ var _chunkQDIX2ZRLcjs = require('./chunk-QDIX2ZRL.cjs');
8
8
 
9
9
 
10
10
  var _chunk3L7KCOGOcjs = require('./chunk-3L7KCOGO.cjs');
@@ -129,7 +129,7 @@ var ToolBadge = ({
129
129
  className,
130
130
  iconClassName
131
131
  }) => {
132
- const text = _nullishCoalesce(label, () => ( (toolType ? _chunkFD4DBTFOcjs.getToolLabel.call(void 0, toolType) : "")));
132
+ const text = _nullishCoalesce(label, () => ( (toolType ? _chunkQDIX2ZRLcjs.getToolLabel.call(void 0, toolType) : "")));
133
133
  const mark = _nullishCoalesce(icon, () => ( (toolType ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIIMICN7Lcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }) : null)));
134
134
  const linked = (node, linkClassName) => href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", title: text || void 0, className: linkClassName, children: node }) : node;
135
135
  if (variant === "chip") {
@@ -163,31 +163,31 @@ var ToolBadge = ({
163
163
  // src/components/platform/ShellTypeBadge.tsx
164
164
 
165
165
  var shellIconMap = {
166
- [_chunkFD4DBTFOcjs.ShellTypeValues.POWERSHELL]: {
166
+ [_chunkQDIX2ZRLcjs.ShellTypeValues.POWERSHELL]: {
167
167
  icon: _chunkN3COXDBHcjs.PowershellLogoGreyIcon,
168
168
  props: { size: 16, className: "text-ods-text-secondary" }
169
169
  },
170
- [_chunkFD4DBTFOcjs.ShellTypeValues.CMD]: {
170
+ [_chunkQDIX2ZRLcjs.ShellTypeValues.CMD]: {
171
171
  icon: _chunkX72J4ACLcjs.CmdIcon,
172
172
  props: { size: 16, color: "var(--color-text-secondary)" }
173
173
  },
174
- [_chunkFD4DBTFOcjs.ShellTypeValues.BASH]: {
174
+ [_chunkQDIX2ZRLcjs.ShellTypeValues.BASH]: {
175
175
  icon: _chunkX72J4ACLcjs.BashIcon,
176
176
  props: { size: 16, color: "var(--color-text-secondary)" }
177
177
  },
178
- [_chunkFD4DBTFOcjs.ShellTypeValues.PYTHON]: {
178
+ [_chunkQDIX2ZRLcjs.ShellTypeValues.PYTHON]: {
179
179
  icon: _chunkN3COXDBHcjs.PythonLogoIcon,
180
180
  props: { size: 16, className: "text-ods-text-secondary" }
181
181
  },
182
- [_chunkFD4DBTFOcjs.ShellTypeValues.NUSHELL]: {
182
+ [_chunkQDIX2ZRLcjs.ShellTypeValues.NUSHELL]: {
183
183
  icon: _chunkX72J4ACLcjs.NushellIcon,
184
184
  props: { size: 16, color: "var(--color-text-secondary)" }
185
185
  },
186
- [_chunkFD4DBTFOcjs.ShellTypeValues.DENO]: {
186
+ [_chunkQDIX2ZRLcjs.ShellTypeValues.DENO]: {
187
187
  icon: _chunkX72J4ACLcjs.DenoIcon,
188
188
  props: { size: 16, color: "var(--color-text-secondary)" }
189
189
  },
190
- [_chunkFD4DBTFOcjs.ShellTypeValues.SHELL]: {
190
+ [_chunkQDIX2ZRLcjs.ShellTypeValues.SHELL]: {
191
191
  icon: _chunkX72J4ACLcjs.ShellIcon,
192
192
  props: { size: 16, color: "var(--color-text-secondary)" }
193
193
  }
@@ -198,7 +198,7 @@ var defaultIconConfig = {
198
198
  };
199
199
  var ShellTypeBadge = ({ shellType, className, iconClassName }) => {
200
200
  const normalizedType = _optionalChain([shellType, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]);
201
- const label = _chunkFD4DBTFOcjs.getShellLabel.call(void 0, normalizedType);
201
+ const label = _chunkQDIX2ZRLcjs.getShellLabel.call(void 0, normalizedType);
202
202
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
203
203
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
204
204
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1", className), children: [
@@ -214,7 +214,7 @@ function formatSupportedPlatforms(platforms) {
214
214
  if (!platforms || platforms.length === 0) {
215
215
  return "All Platforms";
216
216
  }
217
- return platforms.map((platform) => _chunkFD4DBTFOcjs.getOSLabel.call(void 0, platform)).join(", ");
217
+ return platforms.map((platform) => _chunkQDIX2ZRLcjs.getOSLabel.call(void 0, platform)).join(", ");
218
218
  }
219
219
  function InfoCell({ label, value, avatar, className }) {
220
220
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
@@ -234,7 +234,7 @@ var ScriptInfoSection = ({
234
234
  author,
235
235
  className
236
236
  }) => {
237
- const shellLabel = _chunkFD4DBTFOcjs.getShellLabel.call(void 0, shellType);
237
+ const shellLabel = _chunkQDIX2ZRLcjs.getShellLabel.call(void 0, shellType);
238
238
  const platformsLabel = formatSupportedPlatforms(supportedPlatforms);
239
239
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", className), children: [
240
240
  /* @__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: [
@@ -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 _chunkFD4DBTFOcjs = require('./chunk-FD4DBTFO.cjs');
4
+ var _chunkQDIX2ZRLcjs = require('./chunk-QDIX2ZRL.cjs');
5
5
 
6
6
 
7
7
  var _chunk4OGAXAEGcjs = require('./chunk-4OGAXAEG.cjs');
@@ -69,7 +69,7 @@ function DocSearchBar({
69
69
  renderResult
70
70
  }) {
71
71
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
72
- _chunkFD4DBTFOcjs.SearchInput,
72
+ _chunkQDIX2ZRLcjs.SearchInput,
73
73
  {
74
74
  placeholder,
75
75
  value: query,