@flamingo-stack/openframe-frontend-core 0.0.652 → 0.0.653-2289.6601.1

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 (114) hide show
  1. package/dist/{chunk-I3KD7T6K.cjs → chunk-2WQ5XTAZ.cjs} +36 -36
  2. package/dist/{chunk-I3KD7T6K.cjs.map → chunk-2WQ5XTAZ.cjs.map} +1 -1
  3. package/dist/{chunk-4T7E2SWL.cjs → chunk-3RJ4VI3H.cjs} +13 -13
  4. package/dist/{chunk-4T7E2SWL.cjs.map → chunk-3RJ4VI3H.cjs.map} +1 -1
  5. package/dist/{chunk-UEFHMMJX.cjs → chunk-5N2VSYMZ.cjs} +18 -18
  6. package/dist/{chunk-UEFHMMJX.cjs.map → chunk-5N2VSYMZ.cjs.map} +1 -1
  7. package/dist/{chunk-HSPLCV56.js → chunk-5P7MYYNW.js} +2 -2
  8. package/dist/{chunk-ERFHLMWM.cjs → chunk-7CVRBXLS.cjs} +352 -234
  9. package/dist/chunk-7CVRBXLS.cjs.map +1 -0
  10. package/dist/{chunk-TGHSQUTD.js → chunk-C4JQRKXH.js} +2 -2
  11. package/dist/{chunk-AGQZRNYV.js → chunk-CRT6FYWQ.js} +4 -4
  12. package/dist/{chunk-AAITIXRL.cjs → chunk-IIR3FCRM.cjs} +17 -17
  13. package/dist/{chunk-AAITIXRL.cjs.map → chunk-IIR3FCRM.cjs.map} +1 -1
  14. package/dist/{chunk-LDC37FG4.js → chunk-IJNR2VZJ.js} +2 -2
  15. package/dist/{chunk-N4RVPWPM.js → chunk-IR7ZOGRA.js} +2 -2
  16. package/dist/{chunk-ADXTLFG7.js → chunk-KNRGYPW4.js} +5 -5
  17. package/dist/{chunk-LUEURQOY.js → chunk-KQPEXCYU.js} +5 -5
  18. package/dist/{chunk-NTJUFHX2.js → chunk-LGAIEUAL.js} +2 -2
  19. package/dist/{chunk-DVT5JCLD.cjs → chunk-MVIC53FZ.cjs} +3 -3
  20. package/dist/{chunk-DVT5JCLD.cjs.map → chunk-MVIC53FZ.cjs.map} +1 -1
  21. package/dist/{chunk-QZJ4K7SG.js → chunk-NUKLU7RL.js} +2 -2
  22. package/dist/{chunk-EY2OVL3Z.cjs → chunk-NWYLN3FU.cjs} +10 -10
  23. package/dist/{chunk-EY2OVL3Z.cjs.map → chunk-NWYLN3FU.cjs.map} +1 -1
  24. package/dist/{chunk-LECSFMGM.js → chunk-OEJRLL5C.js} +367 -249
  25. package/dist/chunk-OEJRLL5C.js.map +1 -0
  26. package/dist/{chunk-JCVGQDQV.cjs → chunk-OPNV6V2Z.cjs} +33 -33
  27. package/dist/{chunk-JCVGQDQV.cjs.map → chunk-OPNV6V2Z.cjs.map} +1 -1
  28. package/dist/{chunk-2FWS52HR.js → chunk-P6YNSOFB.js} +3 -3
  29. package/dist/{chunk-HM6D2YHS.js → chunk-SE4POCS6.js} +2 -2
  30. package/dist/{chunk-FBKB4HCZ.cjs → chunk-T5QSKERQ.cjs} +3 -3
  31. package/dist/{chunk-FBKB4HCZ.cjs.map → chunk-T5QSKERQ.cjs.map} +1 -1
  32. package/dist/{chunk-ZVLOG2AV.cjs → chunk-T6W3NMA7.cjs} +4 -4
  33. package/dist/{chunk-ZVLOG2AV.cjs.map → chunk-T6W3NMA7.cjs.map} +1 -1
  34. package/dist/{chunk-74EGKPX3.js → chunk-UE7TECNE.js} +2 -2
  35. package/dist/{chunk-QUNY6URW.js → chunk-UQ2OYID7.js} +2 -2
  36. package/dist/{chunk-VIHX7ADQ.cjs → chunk-VZWLSDAU.cjs} +3 -3
  37. package/dist/{chunk-VIHX7ADQ.cjs.map → chunk-VZWLSDAU.cjs.map} +1 -1
  38. package/dist/{chunk-27OZEE3E.cjs → chunk-WRXB3XXK.cjs} +3 -3
  39. package/dist/{chunk-27OZEE3E.cjs.map → chunk-WRXB3XXK.cjs.map} +1 -1
  40. package/dist/{chunk-I5Y6ZALR.cjs → chunk-X24KJHPD.cjs} +51 -51
  41. package/dist/{chunk-I5Y6ZALR.cjs.map → chunk-X24KJHPD.cjs.map} +1 -1
  42. package/dist/{chunk-BRIJIC6E.js → chunk-XFT4FZWM.js} +4 -4
  43. package/dist/{chunk-JWY5ES3H.cjs → chunk-ZG4A6IYE.cjs} +4 -4
  44. package/dist/{chunk-JWY5ES3H.cjs.map → chunk-ZG4A6IYE.cjs.map} +1 -1
  45. package/dist/{chunk-BXE3DLIC.cjs → chunk-ZYAU5PT6.cjs} +17 -17
  46. package/dist/{chunk-BXE3DLIC.cjs.map → chunk-ZYAU5PT6.cjs.map} +1 -1
  47. package/dist/components/case-studies/index.cjs +11 -11
  48. package/dist/components/case-studies/index.js +2 -2
  49. package/dist/components/contact/index.cjs +3 -3
  50. package/dist/components/contact/index.js +2 -2
  51. package/dist/components/docs/index.cjs +6 -6
  52. package/dist/components/docs/index.js +5 -5
  53. package/dist/components/embeds/index.cjs +3 -3
  54. package/dist/components/embeds/index.js +2 -2
  55. package/dist/components/faq/index.cjs +3 -3
  56. package/dist/components/faq/index.js +2 -2
  57. package/dist/components/features/index.cjs +2 -2
  58. package/dist/components/features/index.js +1 -1
  59. package/dist/components/help-center-pages/index.cjs +22 -22
  60. package/dist/components/help-center-pages/index.js +13 -13
  61. package/dist/components/index.cjs +31 -31
  62. package/dist/components/index.js +12 -12
  63. package/dist/components/meeting-scheduler/index.cjs +21 -21
  64. package/dist/components/meeting-scheduler/index.js +1 -1
  65. package/dist/components/navigation/index.cjs +5 -5
  66. package/dist/components/navigation/index.js +4 -4
  67. package/dist/components/onboarding-guides/index.cjs +5 -5
  68. package/dist/components/onboarding-guides/index.js +4 -4
  69. package/dist/components/tickets/index.cjs +6 -6
  70. package/dist/components/tickets/index.js +5 -5
  71. package/dist/components/ui/data-table/data-table-body.d.ts +17 -8
  72. package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
  73. package/dist/components/ui/data-table/data-table-infinite-footer.d.ts +37 -3
  74. package/dist/components/ui/data-table/data-table-infinite-footer.d.ts.map +1 -1
  75. package/dist/components/ui/data-table/data-table-load-more.d.ts +35 -0
  76. package/dist/components/ui/data-table/data-table-load-more.d.ts.map +1 -0
  77. package/dist/components/ui/data-table/data-table-row.d.ts +3 -9
  78. package/dist/components/ui/data-table/data-table-row.d.ts.map +1 -1
  79. package/dist/components/ui/data-table/data-table-skeleton.d.ts +9 -0
  80. package/dist/components/ui/data-table/data-table-skeleton.d.ts.map +1 -1
  81. package/dist/components/ui/data-table/data-table.d.ts +6 -0
  82. package/dist/components/ui/data-table/data-table.d.ts.map +1 -1
  83. package/dist/components/ui/data-table/index.d.ts +1 -1
  84. package/dist/components/ui/index.cjs +2 -2
  85. package/dist/components/ui/index.js +1 -1
  86. package/dist/index.cjs +6 -6
  87. package/dist/index.js +5 -5
  88. package/package.json +1 -1
  89. package/src/__tests__/data-table-infinite-footer.test.tsx +246 -0
  90. package/src/__tests__/data-table-row-height.test.tsx +1 -7
  91. package/src/__tests__/data-table-skeleton-row-rhythm.test.tsx +147 -0
  92. package/src/components/ui/data-table/data-table-body.tsx +53 -17
  93. package/src/components/ui/data-table/data-table-infinite-footer.tsx +138 -9
  94. package/src/components/ui/data-table/data-table-load-more.ts +87 -0
  95. package/src/components/ui/data-table/data-table-row.tsx +8 -12
  96. package/src/components/ui/data-table/data-table-skeleton.tsx +10 -0
  97. package/src/components/ui/data-table/data-table.tsx +18 -2
  98. package/src/stories/DataTable.stories.tsx +167 -0
  99. package/dist/chunk-ERFHLMWM.cjs.map +0 -1
  100. package/dist/chunk-LECSFMGM.js.map +0 -1
  101. /package/dist/{chunk-HSPLCV56.js.map → chunk-5P7MYYNW.js.map} +0 -0
  102. /package/dist/{chunk-TGHSQUTD.js.map → chunk-C4JQRKXH.js.map} +0 -0
  103. /package/dist/{chunk-AGQZRNYV.js.map → chunk-CRT6FYWQ.js.map} +0 -0
  104. /package/dist/{chunk-LDC37FG4.js.map → chunk-IJNR2VZJ.js.map} +0 -0
  105. /package/dist/{chunk-N4RVPWPM.js.map → chunk-IR7ZOGRA.js.map} +0 -0
  106. /package/dist/{chunk-ADXTLFG7.js.map → chunk-KNRGYPW4.js.map} +0 -0
  107. /package/dist/{chunk-LUEURQOY.js.map → chunk-KQPEXCYU.js.map} +0 -0
  108. /package/dist/{chunk-NTJUFHX2.js.map → chunk-LGAIEUAL.js.map} +0 -0
  109. /package/dist/{chunk-QZJ4K7SG.js.map → chunk-NUKLU7RL.js.map} +0 -0
  110. /package/dist/{chunk-2FWS52HR.js.map → chunk-P6YNSOFB.js.map} +0 -0
  111. /package/dist/{chunk-HM6D2YHS.js.map → chunk-SE4POCS6.js.map} +0 -0
  112. /package/dist/{chunk-74EGKPX3.js.map → chunk-UE7TECNE.js.map} +0 -0
  113. /package/dist/{chunk-QUNY6URW.js.map → chunk-UQ2OYID7.js.map} +0 -0
  114. /package/dist/{chunk-BRIJIC6E.js.map → chunk-XFT4FZWM.js.map} +0 -0
@@ -12956,6 +12956,56 @@ function CursorPaginationSimple({
12956
12956
  // src/components/ui/data-table/data-table.tsx
12957
12957
 
12958
12958
 
12959
+ // src/components/ui/data-table/data-table-load-more.ts
12960
+
12961
+ function createDataTableLoadMoreStore() {
12962
+ const listeners = /* @__PURE__ */ new Set();
12963
+ let skeletonRows = 0;
12964
+ let rowsBodies = 0;
12965
+ const notify = () => {
12966
+ for (const listener of listeners) listener();
12967
+ };
12968
+ return {
12969
+ subscribe: (listener) => {
12970
+ listeners.add(listener);
12971
+ return () => {
12972
+ listeners.delete(listener);
12973
+ };
12974
+ },
12975
+ getSkeletonRows: () => skeletonRows,
12976
+ setSkeletonRows: (rows) => {
12977
+ if (rows === skeletonRows) return;
12978
+ skeletonRows = rows;
12979
+ notify();
12980
+ },
12981
+ getHasRowsBody: () => rowsBodies > 0,
12982
+ registerRowsBody: () => {
12983
+ rowsBodies += 1;
12984
+ notify();
12985
+ return () => {
12986
+ rowsBodies -= 1;
12987
+ notify();
12988
+ };
12989
+ }
12990
+ };
12991
+ }
12992
+ var NO_LOAD_MORE_STORE = {
12993
+ subscribe: () => () => {
12994
+ },
12995
+ getSkeletonRows: () => 0,
12996
+ setSkeletonRows: () => {
12997
+ },
12998
+ getHasRowsBody: () => false,
12999
+ registerRowsBody: () => () => {
13000
+ }
13001
+ };
13002
+ var DataTableLoadMoreContext = _react.createContext.call(void 0, NO_LOAD_MORE_STORE);
13003
+ function useDataTableLoadMoreStore() {
13004
+ return _react.useContext.call(void 0, DataTableLoadMoreContext);
13005
+ }
13006
+
13007
+ // src/components/ui/data-table/data-table.tsx
13008
+
12959
13009
  var DataTableContext = _react.createContext.call(void 0, null);
12960
13010
  function useDataTableContext() {
12961
13011
  const ctx = _react.useContext.call(void 0, DataTableContext);
@@ -12964,8 +13014,12 @@ function useDataTableContext() {
12964
13014
  }
12965
13015
  return ctx;
12966
13016
  }
13017
+ function useOptionalDataTableContext() {
13018
+ return _react.useContext.call(void 0, DataTableContext);
13019
+ }
12967
13020
  function DataTableRoot({ table, children, className }) {
12968
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableContext.Provider, { value: table, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full flex-col", className), children }) });
13021
+ const [loadMoreStore] = _react.useState.call(void 0, createDataTableLoadMoreStore);
13022
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableContext.Provider, { value: table, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableLoadMoreContext.Provider, { value: loadMoreStore, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full flex-col", className), children }) }) });
12969
13023
  }
12970
13024
 
12971
13025
  // src/components/ui/data-table/utils.ts
@@ -13022,6 +13076,7 @@ var multiSelectFilterFn = (row, columnId, filterValue) => {
13022
13076
  var ROW_HEIGHT_DESKTOP = "h-[66px] md:h-[78px]";
13023
13077
  var ROW_HEIGHT_MOBILE = "h-[66px]";
13024
13078
  var ROW_SHELL_CLASSES = "items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]";
13079
+ var ROW_STACK_CLASSES = "flex w-full flex-col gap-[var(--spacing-system-xsf)]";
13025
13080
  function DataTableSkeleton({ rows = 10, className, rowClassName, rowHeightClassName }) {
13026
13081
  const table = useDataTableContext();
13027
13082
  const columns = table.getVisibleFlatColumns();
@@ -14238,6 +14293,9 @@ function QueryReportTable({
14238
14293
  ] });
14239
14294
  }
14240
14295
 
14296
+ // src/components/ui/data-table/data-table-body.tsx
14297
+
14298
+
14241
14299
  // src/components/ui/data-table/data-table-empty.tsx
14242
14300
 
14243
14301
  function DataTableEmpty({ className, ...props }) {
@@ -14262,7 +14320,6 @@ function DataTableRowImpl({
14262
14320
  onClick,
14263
14321
  href,
14264
14322
  compact,
14265
- autoHeight,
14266
14323
  rowHeightClassName,
14267
14324
  className,
14268
14325
  subRow
@@ -14288,6 +14345,11 @@ function DataTableRowImpl({
14288
14345
  );
14289
14346
  const containerClassName = _chunkX7CEWD6Vcjs.cn.call(void 0,
14290
14347
  "overflow-hidden rounded-md border border-ods-border bg-ods-card text-inherit no-underline",
14348
+ // A row fades in when it MOUNTS — so a loaded page eases in over the
14349
+ // skeleton it replaces instead of snapping, and rows that were already on
14350
+ // screen (keyed by id) do not replay it. Opacity only: nothing that moves
14351
+ // or resizes the slot, which is the whole point of the fixed row height.
14352
+ "duration-200 animate-in fade-in-0 motion-reduce:animate-none",
14291
14353
  // A stated slot height goes HERE, on the card, with the cells flexing to
14292
14354
  // fill whatever the sub-row leaves. `border-box` sizing means the number a
14293
14355
  // caller writes is the number the row occupies, borders included.
@@ -14302,7 +14364,7 @@ function DataTableRowImpl({
14302
14364
  className: _chunkX7CEWD6Vcjs.cn.call(void 0,
14303
14365
  "flex",
14304
14366
  ROW_SHELL_CLASSES,
14305
- rowHeightClassName ? "min-h-0 flex-1 py-0" : compact ? "py-[var(--spacing-system-xsf)]" : autoHeight ? "min-h-[66px] py-[var(--spacing-system-sf)] md:min-h-[78px]" : `py-0 ${ROW_HEIGHT_DESKTOP}`,
14367
+ rowHeightClassName ? "min-h-0 flex-1 py-0" : compact ? "py-[var(--spacing-system-xsf)]" : `py-0 ${ROW_HEIGHT_DESKTOP}`,
14306
14368
  hasSubRow && "border-b border-ods-border"
14307
14369
  ),
14308
14370
  children: row.getVisibleCells().map((cell) => {
@@ -14372,6 +14434,7 @@ function CellContent({ children }) {
14372
14434
 
14373
14435
  // src/components/ui/data-table/data-table-body.tsx
14374
14436
 
14437
+ var getNoRows = () => 0;
14375
14438
  function DataTableBody({
14376
14439
  loading,
14377
14440
  emptyMessage,
@@ -14380,7 +14443,6 @@ function DataTableBody({
14380
14443
  className,
14381
14444
  rowClassName,
14382
14445
  compact,
14383
- autoHeight,
14384
14446
  rowHeightClassName,
14385
14447
  onRowClick,
14386
14448
  rowHref,
@@ -14389,10 +14451,22 @@ function DataTableBody({
14389
14451
  }) {
14390
14452
  const table = useDataTableContext();
14391
14453
  const rows = table.getRowModel().rows;
14392
- if (loading && rows.length === 0) {
14393
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xsf)]", className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableSkeleton, { rows: skeletonRows, rowHeightClassName }) });
14454
+ const hasRows = rows.length > 0;
14455
+ const loadMore = useDataTableLoadMoreStore();
14456
+ const loadMoreRows = _react.useSyncExternalStore.call(void 0, loadMore.subscribe, loadMore.getSkeletonRows, getNoRows);
14457
+ _chunkTLLJIGTPcjs.useIsomorphicLayoutEffect.call(void 0, () => hasRows ? loadMore.registerRowsBody() : void 0, [loadMore, hasRows]);
14458
+ const skeletonRowClassName = typeof rowClassName === "string" ? rowClassName : void 0;
14459
+ if (loading && !hasRows) {
14460
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, ROW_STACK_CLASSES, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14461
+ DataTableSkeleton,
14462
+ {
14463
+ rows: skeletonRows,
14464
+ className: skeletonRowClassName,
14465
+ rowHeightClassName
14466
+ }
14467
+ ) });
14394
14468
  }
14395
- if (rows.length === 0) {
14469
+ if (!hasRows) {
14396
14470
  const empty = emptyState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableEmpty, { ...emptyState }) : emptyMessage != null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableEmpty, { title: emptyMessage, description: void 0 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableEmpty, {});
14397
14471
  if (minRows) {
14398
14472
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -14405,10 +14479,10 @@ function DataTableBody({
14405
14479
  }
14406
14480
  );
14407
14481
  }
14408
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xsf)]", className), children: empty });
14482
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, ROW_STACK_CLASSES, className), children: empty });
14409
14483
  }
14410
- const padCount = minRows ? Math.max(0, minRows - rows.length) : 0;
14411
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xsf)]", className), children: [
14484
+ const padCount = minRows ? Math.max(0, minRows - rows.length - loadMoreRows) : 0;
14485
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, ROW_STACK_CLASSES, className), children: [
14412
14486
  rows.map((row, index) => {
14413
14487
  const item = row.original;
14414
14488
  const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _292 => _292(item)]), () => ( void 0));
@@ -14420,7 +14494,6 @@ function DataTableBody({
14420
14494
  onClick: onRowClick,
14421
14495
  href,
14422
14496
  compact,
14423
- autoHeight,
14424
14497
  rowHeightClassName,
14425
14498
  className: cls,
14426
14499
  subRow: _optionalChain([renderSubRow, 'optionalCall', _293 => _293(item)])
@@ -14428,6 +14501,14 @@ function DataTableBody({
14428
14501
  row.id
14429
14502
  );
14430
14503
  }),
14504
+ loadMoreRows > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14505
+ DataTableSkeleton,
14506
+ {
14507
+ rows: loadMoreRows,
14508
+ className: skeletonRowClassName,
14509
+ rowHeightClassName
14510
+ }
14511
+ ),
14431
14512
  padCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PlaceholderRows, { count: padCount, rowHeightClassName })
14432
14513
  ] });
14433
14514
  }
@@ -14745,33 +14826,70 @@ function resolveHeaderLabel(header) {
14745
14826
  // src/components/ui/data-table/data-table-infinite-footer.tsx
14746
14827
 
14747
14828
 
14829
+ var DEFAULT_ROOT_MARGIN = "0px 0px 100% 0px";
14830
+ var getNoBody = () => false;
14831
+ function findScrollParent(element) {
14832
+ const { body, documentElement } = element.ownerDocument;
14833
+ for (let node = element.parentElement; node && node !== body && node !== documentElement; node = node.parentElement) {
14834
+ const { overflowY } = getComputedStyle(node);
14835
+ if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) return node;
14836
+ }
14837
+ return null;
14838
+ }
14748
14839
  function DataTableInfiniteFooter({
14749
14840
  hasNextPage,
14750
14841
  isFetchingNextPage,
14751
14842
  onLoadMore,
14752
14843
  skeletonRows = 3,
14753
- rootMargin = "200px"
14844
+ rootMargin = DEFAULT_ROOT_MARGIN,
14845
+ loadedCount
14754
14846
  }) {
14755
14847
  const sentinelRef = _react.useRef.call(void 0, null);
14756
14848
  const onLoadMoreRef = _react.useRef.call(void 0, onLoadMore);
14757
14849
  _react.useEffect.call(void 0, () => {
14758
14850
  onLoadMoreRef.current = onLoadMore;
14759
14851
  });
14852
+ const loadMore = useDataTableLoadMoreStore();
14853
+ const bodyDrawsRows = _react.useSyncExternalStore.call(void 0, loadMore.subscribe, loadMore.getHasRowsBody, getNoBody);
14854
+ const requestedRows = isFetchingNextPage ? skeletonRows : 0;
14855
+ _chunkTLLJIGTPcjs.useIsomorphicLayoutEffect.call(void 0, () => {
14856
+ loadMore.setSkeletonRows(requestedRows);
14857
+ return () => loadMore.setSkeletonRows(0);
14858
+ }, [loadMore, requestedRows]);
14859
+ const tableRows = _optionalChain([useOptionalDataTableContext, 'call', _308 => _308(), 'optionalAccess', _309 => _309.getRowModel, 'call', _310 => _310(), 'access', _311 => _311.rows]);
14860
+ const progressCount = _nullishCoalesce(loadedCount, () => ( _optionalChain([tableRows, 'optionalAccess', _312 => _312.length])));
14861
+ const lastRowId = _nullishCoalesce(_optionalChain([tableRows, 'optionalAccess', _313 => _313[tableRows.length - 1], 'optionalAccess', _314 => _314.id]), () => ( ""));
14862
+ const tail = progressCount === void 0 ? null : `${progressCount}:${lastRowId}`;
14863
+ const [wasFetching, setWasFetching] = _react.useState.call(void 0, isFetchingNextPage);
14864
+ const [tailAtFetchStart, setTailAtFetchStart] = _react.useState.call(void 0, null);
14865
+ const [stalledTail, setStalledTail] = _react.useState.call(void 0, null);
14866
+ if (wasFetching !== isFetchingNextPage) {
14867
+ setWasFetching(isFetchingNextPage);
14868
+ if (isFetchingNextPage) {
14869
+ setTailAtFetchStart(tail);
14870
+ setStalledTail(null);
14871
+ } else if (tail !== null && tail === tailAtFetchStart) {
14872
+ setStalledTail(tail);
14873
+ }
14874
+ }
14875
+ const isStalled = hasNextPage && !isFetchingNextPage && stalledTail !== null && stalledTail === tail;
14760
14876
  _react.useEffect.call(void 0, () => {
14761
- if (!hasNextPage || isFetchingNextPage) return void 0;
14877
+ if (!hasNextPage || isFetchingNextPage || isStalled) return void 0;
14762
14878
  const sentinel = sentinelRef.current;
14763
14879
  if (!sentinel) return void 0;
14764
14880
  const observer = new IntersectionObserver(
14765
14881
  (entries) => {
14766
- if (_optionalChain([entries, 'access', _308 => _308[0], 'optionalAccess', _309 => _309.isIntersecting])) onLoadMoreRef.current();
14882
+ if (_optionalChain([entries, 'access', _315 => _315[0], 'optionalAccess', _316 => _316.isIntersecting])) onLoadMoreRef.current();
14767
14883
  },
14768
- { rootMargin }
14884
+ { root: findScrollParent(sentinel), rootMargin }
14769
14885
  );
14770
14886
  observer.observe(sentinel);
14771
14887
  return () => observer.disconnect();
14772
- }, [hasNextPage, isFetchingNextPage, rootMargin]);
14888
+ }, [hasNextPage, isFetchingNextPage, isStalled, rootMargin]);
14773
14889
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
14774
- isFetchingNextPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableSkeleton, { rows: skeletonRows }),
14890
+ isFetchingNextPage && !bodyDrawsRows && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_STACK_CLASSES, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataTableSkeleton, { rows: skeletonRows }) }),
14891
+ isStalled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex justify-center pt-[var(--spacing-system-mf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", onClick: onLoadMore, children: "Load more" }) }),
14892
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { role: "status", className: "sr-only", children: isFetchingNextPage ? "Loading more results" : "" }),
14775
14893
  hasNextPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" })
14776
14894
  ] });
14777
14895
  }
@@ -14788,7 +14906,7 @@ function DataTableRowCount({
14788
14906
  const table = useDataTableContext();
14789
14907
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
14790
14908
  if (hideWhenEmpty && count === 0) return null;
14791
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _310 => _310(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
14909
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _317 => _317(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
14792
14910
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "whitespace-nowrap text-ods-text-secondary text-h6", className), children: [
14793
14911
  count,
14794
14912
  " ",
@@ -14907,12 +15025,12 @@ function PhoneInput({
14907
15025
  (phone) => {
14908
15026
  if (!phone || digitCount(phone) === 0) {
14909
15027
  setIsInvalid(false);
14910
- _optionalChain([onValidationChange, 'optionalCall', _311 => _311(false)]);
15028
+ _optionalChain([onValidationChange, 'optionalCall', _318 => _318(false)]);
14911
15029
  return;
14912
15030
  }
14913
15031
  const invalid = !validatePhoneNumber(phone, countryCode);
14914
15032
  setIsInvalid(invalid);
14915
- _optionalChain([onValidationChange, 'optionalCall', _312 => _312(invalid)]);
15033
+ _optionalChain([onValidationChange, 'optionalCall', _319 => _319(invalid)]);
14916
15034
  },
14917
15035
  [countryCode, digitCount, onValidationChange]
14918
15036
  );
@@ -14966,7 +15084,7 @@ function PhoneInput({
14966
15084
  debouncedValidation(val);
14967
15085
  } else if (digitCount(val) === 0) {
14968
15086
  setIsInvalid(false);
14969
- _optionalChain([onValidationChange, 'optionalCall', _313 => _313(false)]);
15087
+ _optionalChain([onValidationChange, 'optionalCall', _320 => _320(false)]);
14970
15088
  }
14971
15089
  }
14972
15090
  },
@@ -15083,7 +15201,7 @@ function SearchInput({
15083
15201
  if (!showHiddenTags) return void 0;
15084
15202
  const handleClick = (e) => {
15085
15203
  const target = e.target;
15086
- if (!_optionalChain([hiddenTagsRef, 'access', _314 => _314.current, 'optionalAccess', _315 => _315.contains, 'call', _316 => _316(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _317 => _317.current, 'optionalAccess', _318 => _318.contains, 'call', _319 => _319(target)])) {
15204
+ if (!_optionalChain([hiddenTagsRef, 'access', _321 => _321.current, 'optionalAccess', _322 => _322.contains, 'call', _323 => _323(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _324 => _324.current, 'optionalAccess', _325 => _325.contains, 'call', _326 => _326(target)])) {
15087
15205
  setShowHiddenTags(false);
15088
15206
  }
15089
15207
  };
@@ -15094,7 +15212,7 @@ function SearchInput({
15094
15212
  const popup = hiddenTagsPopupRef.current;
15095
15213
  const badge = badgeRef.current;
15096
15214
  if (!popup || !badge) return;
15097
- const originLeft = _nullishCoalesce(_optionalChain([containerRef, 'access', _320 => _320.current, 'optionalAccess', _321 => _321.getBoundingClientRect, 'call', _322 => _322(), 'access', _323 => _323.left]), () => ( 0));
15215
+ const originLeft = _nullishCoalesce(_optionalChain([containerRef, 'access', _327 => _327.current, 'optionalAccess', _328 => _328.getBoundingClientRect, 'call', _329 => _329(), 'access', _330 => _330.left]), () => ( 0));
15098
15216
  popup.style.left = `${badge.getBoundingClientRect().left - originLeft}px`;
15099
15217
  });
15100
15218
  const hiddenCount = filterChips.length - visibleCount;
@@ -15140,10 +15258,10 @@ function SearchInput({
15140
15258
  } else {
15141
15259
  setInternalValue("");
15142
15260
  }
15143
- _optionalChain([inputRef, 'access', _324 => _324.current, 'optionalAccess', _325 => _325.focus, 'call', _326 => _326()]);
15261
+ _optionalChain([inputRef, 'access', _331 => _331.current, 'optionalAccess', _332 => _332.focus, 'call', _333 => _333()]);
15144
15262
  };
15145
15263
  const handleResultClick = (result, e) => {
15146
- _optionalChain([onResultSelect, 'optionalCall', _327 => _327(
15264
+ _optionalChain([onResultSelect, 'optionalCall', _334 => _334(
15147
15265
  result,
15148
15266
  e ? {
15149
15267
  metaKey: e.metaKey,
@@ -15171,7 +15289,7 @@ function SearchInput({
15171
15289
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
15172
15290
  handleResultClick(flatResults[highlightedIndex]);
15173
15291
  } else {
15174
- _optionalChain([onSubmit, 'optionalCall', _328 => _328(currentValue)]);
15292
+ _optionalChain([onSubmit, 'optionalCall', _335 => _335(currentValue)]);
15175
15293
  }
15176
15294
  break;
15177
15295
  case "Escape":
@@ -15254,7 +15372,7 @@ function SearchInput({
15254
15372
  ),
15255
15373
  onClick: () => {
15256
15374
  if (disabled) return;
15257
- _optionalChain([inputRef, 'access', _329 => _329.current, 'optionalAccess', _330 => _330.focus, 'call', _331 => _331()]);
15375
+ _optionalChain([inputRef, 'access', _336 => _336.current, 'optionalAccess', _337 => _337.focus, 'call', _338 => _338()]);
15258
15376
  setIsOpen(true);
15259
15377
  },
15260
15378
  children: [
@@ -15342,10 +15460,10 @@ function SearchInput({
15342
15460
  collisionPadding: { bottom: keyboardPadding },
15343
15461
  onOpenAutoFocus: (e) => {
15344
15462
  e.preventDefault();
15345
- _optionalChain([inputRef, 'access', _332 => _332.current, 'optionalAccess', _333 => _333.focus, 'call', _334 => _334()]);
15463
+ _optionalChain([inputRef, 'access', _339 => _339.current, 'optionalAccess', _340 => _340.focus, 'call', _341 => _341()]);
15346
15464
  },
15347
15465
  onInteractOutside: (e) => {
15348
- if (_optionalChain([containerRef, 'access', _335 => _335.current, 'optionalAccess', _336 => _336.contains, 'call', _337 => _337(e.target)])) {
15466
+ if (_optionalChain([containerRef, 'access', _342 => _342.current, 'optionalAccess', _343 => _343.contains, 'call', _344 => _344(e.target)])) {
15349
15467
  e.preventDefault();
15350
15468
  }
15351
15469
  },
@@ -15362,7 +15480,7 @@ function SearchInput({
15362
15480
  ref: hiddenTagsPopupRef,
15363
15481
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
15364
15482
  onRemove: (removedTag) => {
15365
- _optionalChain([onFilterRemove, 'optionalCall', _338 => _338(removedTag)]);
15483
+ _optionalChain([onFilterRemove, 'optionalCall', _345 => _345(removedTag)]);
15366
15484
  if (hiddenCount <= 1) setShowHiddenTags(false);
15367
15485
  }
15368
15486
  }
@@ -15404,7 +15522,7 @@ function FilterListItem({
15404
15522
  }) {
15405
15523
  const handleToggle = () => {
15406
15524
  if (disabled) return;
15407
- _optionalChain([onToggle, 'optionalCall', _339 => _339(!selected)]);
15525
+ _optionalChain([onToggle, 'optionalCall', _346 => _346(!selected)]);
15408
15526
  };
15409
15527
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15410
15528
  "div",
@@ -15451,7 +15569,7 @@ function FilterListItem({
15451
15569
  CheckboxPrimitive4.Root,
15452
15570
  {
15453
15571
  checked: selected,
15454
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _340 => _340(c === true)]),
15572
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _347 => _347(c === true)]),
15455
15573
  onClick: (e) => e.stopPropagation(),
15456
15574
  disabled,
15457
15575
  "aria-label": title,
@@ -15532,7 +15650,7 @@ function TagSearchInput({
15532
15650
  if (!showHiddenTags) return void 0;
15533
15651
  const handleClick = (e) => {
15534
15652
  const target = e.target;
15535
- if (!_optionalChain([hiddenTagsRef, 'access', _341 => _341.current, 'optionalAccess', _342 => _342.contains, 'call', _343 => _343(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _344 => _344.current, 'optionalAccess', _345 => _345.contains, 'call', _346 => _346(target)])) {
15653
+ if (!_optionalChain([hiddenTagsRef, 'access', _348 => _348.current, 'optionalAccess', _349 => _349.contains, 'call', _350 => _350(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _351 => _351.current, 'optionalAccess', _352 => _352.contains, 'call', _353 => _353(target)])) {
15536
15654
  setShowHiddenTags(false);
15537
15655
  }
15538
15656
  };
@@ -15543,7 +15661,7 @@ function TagSearchInput({
15543
15661
  const popup = hiddenTagsPopupRef.current;
15544
15662
  const badge = badgeRef.current;
15545
15663
  if (!popup || !badge) return;
15546
- const originLeft = _nullishCoalesce(_optionalChain([wrapperRef, 'access', _347 => _347.current, 'optionalAccess', _348 => _348.getBoundingClientRect, 'call', _349 => _349(), 'access', _350 => _350.left]), () => ( 0));
15664
+ const originLeft = _nullishCoalesce(_optionalChain([wrapperRef, 'access', _354 => _354.current, 'optionalAccess', _355 => _355.getBoundingClientRect, 'call', _356 => _356(), 'access', _357 => _357.left]), () => ( 0));
15547
15665
  popup.style.left = `${badge.getBoundingClientRect().left - originLeft}px`;
15548
15666
  });
15549
15667
  const hiddenCount = tags.length - visibleCount;
@@ -15555,13 +15673,13 @@ function TagSearchInput({
15555
15673
  e.preventDefault();
15556
15674
  onSubmit(searchValue);
15557
15675
  }
15558
- _optionalChain([onKeyDown, 'optionalCall', _351 => _351(e)]);
15676
+ _optionalChain([onKeyDown, 'optionalCall', _358 => _358(e)]);
15559
15677
  };
15560
15678
  const handleClearAll = (e) => {
15561
15679
  e.stopPropagation();
15562
15680
  e.preventDefault();
15563
- _optionalChain([onClearAll, 'optionalCall', _352 => _352()]);
15564
- _optionalChain([inputRef, 'access', _353 => _353.current, 'optionalAccess', _354 => _354.focus, 'call', _355 => _355()]);
15681
+ _optionalChain([onClearAll, 'optionalCall', _359 => _359()]);
15682
+ _optionalChain([inputRef, 'access', _360 => _360.current, 'optionalAccess', _361 => _361.focus, 'call', _362 => _362()]);
15565
15683
  };
15566
15684
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
15567
15685
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -15584,7 +15702,7 @@ function TagSearchInput({
15584
15702
  className
15585
15703
  ),
15586
15704
  onClick: () => {
15587
- if (!disabled) _optionalChain([inputRef, 'access', _356 => _356.current, 'optionalAccess', _357 => _357.focus, 'call', _358 => _358()]);
15705
+ if (!disabled) _optionalChain([inputRef, 'access', _363 => _363.current, 'optionalAccess', _364 => _364.focus, 'call', _365 => _365()]);
15588
15706
  },
15589
15707
  children: [
15590
15708
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "size-4 text-ods-text-secondary md:size-6" }) }),
@@ -15800,7 +15918,7 @@ function MarkdownEditor({
15800
15918
  try {
15801
15919
  const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor")));
15802
15920
  if (cancelled) return;
15803
- if (_optionalChain([mod, 'access', _359 => _359.commands, 'optionalAccess', _360 => _360.getExtraCommands])) {
15921
+ if (_optionalChain([mod, 'access', _366 => _366.commands, 'optionalAccess', _367 => _367.getExtraCommands])) {
15804
15922
  setDefaultExtraCommands(mod.commands.getExtraCommands());
15805
15923
  }
15806
15924
  } catch (error) {
@@ -15838,7 +15956,7 @@ function MarkdownEditor({
15838
15956
  const isImage = file.type.startsWith("image/");
15839
15957
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
15840
15958
  insertTextAtCursor(markdown);
15841
- _optionalChain([onFileUploaded, 'optionalCall', _361 => _361(url, file.name)]);
15959
+ _optionalChain([onFileUploaded, 'optionalCall', _368 => _368(url, file.name)]);
15842
15960
  } catch (error) {
15843
15961
  console.error("File upload failed:", error);
15844
15962
  setUploadProgress("Upload failed. Please try again.");
@@ -15852,7 +15970,7 @@ function MarkdownEditor({
15852
15970
  const handleFileInputChange = _react.useCallback.call(void 0,
15853
15971
  (e) => {
15854
15972
  const input = e.target;
15855
- const file = _optionalChain([input, 'access', _362 => _362.files, 'optionalAccess', _363 => _363[0]]);
15973
+ const file = _optionalChain([input, 'access', _369 => _369.files, 'optionalAccess', _370 => _370[0]]);
15856
15974
  if (file) {
15857
15975
  void handleFileUpload(file);
15858
15976
  input.value = "";
@@ -15863,7 +15981,7 @@ function MarkdownEditor({
15863
15981
  const handlePaste = _react.useCallback.call(void 0,
15864
15982
  (e) => {
15865
15983
  if (!onUploadFile) return;
15866
- const items = _optionalChain([e, 'access', _364 => _364.clipboardData, 'optionalAccess', _365 => _365.items]);
15984
+ const items = _optionalChain([e, 'access', _371 => _371.clipboardData, 'optionalAccess', _372 => _372.items]);
15867
15985
  if (!items) return;
15868
15986
  for (const item of items) {
15869
15987
  if (item.type.startsWith("image/")) {
@@ -15888,7 +16006,7 @@ function MarkdownEditor({
15888
16006
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
15889
16007
  icon: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-3 w-3 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-3 w-3" }),
15890
16008
  execute: () => {
15891
- _optionalChain([fileInputRef, 'access', _366 => _366.current, 'optionalAccess', _367 => _367.click, 'call', _368 => _368()]);
16009
+ _optionalChain([fileInputRef, 'access', _373 => _373.current, 'optionalAccess', _374 => _374.click, 'call', _375 => _375()]);
15892
16010
  }
15893
16011
  } : null;
15894
16012
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -15899,8 +16017,8 @@ function MarkdownEditor({
15899
16017
  const scrollParentRef = _react.useRef.call(void 0, window);
15900
16018
  const EDGE_ZONE = 60;
15901
16019
  const MAX_SCROLL_SPEED = 15;
15902
- const findScrollParent = _react.useCallback.call(void 0, (el) => {
15903
- let node = _optionalChain([el, 'optionalAccess', _369 => _369.parentElement]);
16020
+ const findScrollParent2 = _react.useCallback.call(void 0, (el) => {
16021
+ let node = _optionalChain([el, 'optionalAccess', _376 => _376.parentElement]);
15904
16022
  while (node && node !== document.documentElement) {
15905
16023
  const { overflowY } = window.getComputedStyle(node);
15906
16024
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -15936,7 +16054,7 @@ function MarkdownEditor({
15936
16054
  if (e.target.closest(".w-md-editor-bar")) {
15937
16055
  isDraggingRef.current = true;
15938
16056
  mouseYRef.current = e.clientY;
15939
- scrollParentRef.current = findScrollParent(wrapper);
16057
+ scrollParentRef.current = findScrollParent2(wrapper);
15940
16058
  window.addEventListener("mousemove", onMouseMove);
15941
16059
  rafRef.current = requestAnimationFrame(scrollLoop);
15942
16060
  }
@@ -15956,7 +16074,7 @@ function MarkdownEditor({
15956
16074
  window.removeEventListener("mousemove", onMouseMove);
15957
16075
  cancelAnimationFrame(rafRef.current);
15958
16076
  };
15959
- }, [scrollLoop, findScrollParent]);
16077
+ }, [scrollLoop, findScrollParent2]);
15960
16078
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "advanced-blog-editor", className), onPaste: handlePaste, children: [
15961
16079
  onUploadFile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
15962
16080
  "input",
@@ -16039,7 +16157,7 @@ function matchesAccept(file, accept) {
16039
16157
  });
16040
16158
  }
16041
16159
  function dragHasFiles(e) {
16042
- const types = _optionalChain([e, 'access', _370 => _370.dataTransfer, 'optionalAccess', _371 => _371.types]);
16160
+ const types = _optionalChain([e, 'access', _377 => _377.dataTransfer, 'optionalAccess', _378 => _378.types]);
16043
16161
  if (!types) return false;
16044
16162
  for (let i = 0; i < types.length; i++) {
16045
16163
  if (types[i] === "Files") return true;
@@ -16138,7 +16256,7 @@ function FileUpload({
16138
16256
  e.stopPropagation();
16139
16257
  setDragActive(false);
16140
16258
  if (disabled) return;
16141
- if (_optionalChain([e, 'access', _372 => _372.dataTransfer, 'access', _373 => _373.files, 'optionalAccess', _374 => _374.length])) {
16259
+ if (_optionalChain([e, 'access', _379 => _379.dataTransfer, 'access', _380 => _380.files, 'optionalAccess', _381 => _381.length])) {
16142
16260
  handleFiles(e.dataTransfer.files);
16143
16261
  }
16144
16262
  };
@@ -16166,7 +16284,7 @@ function FileUpload({
16166
16284
  e.preventDefault();
16167
16285
  dragCounter = 0;
16168
16286
  setDragActive(false);
16169
- if (_optionalChain([e, 'access', _375 => _375.dataTransfer, 'optionalAccess', _376 => _376.files, 'optionalAccess', _377 => _377.length])) {
16287
+ if (_optionalChain([e, 'access', _382 => _382.dataTransfer, 'optionalAccess', _383 => _383.files, 'optionalAccess', _384 => _384.length])) {
16170
16288
  handleFilesRef.current(e.dataTransfer.files);
16171
16289
  }
16172
16290
  };
@@ -16188,7 +16306,7 @@ function FileUpload({
16188
16306
  };
16189
16307
  }, [acceptWindowDrops, disabled]);
16190
16308
  const handleFileSelect = (e) => {
16191
- if (_optionalChain([e, 'access', _378 => _378.target, 'access', _379 => _379.files, 'optionalAccess', _380 => _380.length])) {
16309
+ if (_optionalChain([e, 'access', _385 => _385.target, 'access', _386 => _386.files, 'optionalAccess', _387 => _387.length])) {
16192
16310
  handleFiles(e.target.files);
16193
16311
  }
16194
16312
  };
@@ -16206,7 +16324,7 @@ function FileUpload({
16206
16324
  const openDialog = async () => {
16207
16325
  if (disabled) return;
16208
16326
  if (!pickFiles) {
16209
- _optionalChain([fileInputRef, 'access', _381 => _381.current, 'optionalAccess', _382 => _382.click, 'call', _383 => _383()]);
16327
+ _optionalChain([fileInputRef, 'access', _388 => _388.current, 'optionalAccess', _389 => _389.click, 'call', _390 => _390()]);
16210
16328
  return;
16211
16329
  }
16212
16330
  try {
@@ -16279,7 +16397,7 @@ function FileUpload({
16279
16397
  "button",
16280
16398
  {
16281
16399
  type: "button",
16282
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _384 => _384(entry.id)]),
16400
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _391 => _391(entry.id)]),
16283
16401
  className: "shrink-0 text-ods-error transition-opacity hover:opacity-80",
16284
16402
  "aria-label": `Remove ${entry.fileName}`,
16285
16403
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TrashIcon, { className: "size-6" })
@@ -16410,7 +16528,7 @@ function ImageUploader({
16410
16528
  onChange(file);
16411
16529
  };
16412
16530
  const handleFileSelect = (e) => {
16413
- validateAndEmit(_optionalChain([e, 'access', _385 => _385.target, 'access', _386 => _386.files, 'optionalAccess', _387 => _387[0]]));
16531
+ validateAndEmit(_optionalChain([e, 'access', _392 => _392.target, 'access', _393 => _393.files, 'optionalAccess', _394 => _394[0]]));
16414
16532
  if (inputRef.current) inputRef.current.value = "";
16415
16533
  };
16416
16534
  const handleDrag = (e) => {
@@ -16425,11 +16543,11 @@ function ImageUploader({
16425
16543
  e.stopPropagation();
16426
16544
  setDragActive(false);
16427
16545
  if (!interactive) return;
16428
- validateAndEmit(_optionalChain([e, 'access', _388 => _388.dataTransfer, 'access', _389 => _389.files, 'optionalAccess', _390 => _390[0]]));
16546
+ validateAndEmit(_optionalChain([e, 'access', _395 => _395.dataTransfer, 'access', _396 => _396.files, 'optionalAccess', _397 => _397[0]]));
16429
16547
  };
16430
16548
  const openDialog = () => {
16431
16549
  if (!interactive) return;
16432
- _optionalChain([inputRef, 'access', _391 => _391.current, 'optionalAccess', _392 => _392.click, 'call', _393 => _393()]);
16550
+ _optionalChain([inputRef, 'access', _398 => _398.current, 'optionalAccess', _399 => _399.click, 'call', _400 => _400()]);
16433
16551
  };
16434
16552
  const handleRootKeyDown = (e) => {
16435
16553
  if (hasImage || !interactive) return;
@@ -16601,8 +16719,8 @@ function ColorPresetSelect({
16601
16719
  }) {
16602
16720
  const selectedPreset = presets.find((p) => p.key === presetKey);
16603
16721
  const isCustom = !selectedPreset;
16604
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _394 => _394.label]), () => ( "Custom"));
16605
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _395 => _395.color]), () => ( value));
16722
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _401 => _401.label]), () => ( "Custom"));
16723
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _402 => _402.color]), () => ( value));
16606
16724
  const groups = [
16607
16725
  {
16608
16726
  items: [
@@ -16898,7 +17016,7 @@ function TicketStatusConfigRow({
16898
17016
  {
16899
17017
  id: nameInputId,
16900
17018
  value: name,
16901
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _396 => _396(e.target.value)]),
17019
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _403 => _403(e.target.value)]),
16902
17020
  disabled: isSystem,
16903
17021
  readOnly: isSystem,
16904
17022
  maxLength: 50
@@ -17440,14 +17558,14 @@ function TicketInfoSection({
17440
17558
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17441
17559
  _chunkEX5PJGVAcjs.SquareAvatar,
17442
17560
  {
17443
- src: _optionalChain([organization, 'optionalAccess', _397 => _397.imageSrc]),
17444
- alt: _optionalChain([organization, 'optionalAccess', _398 => _398.name]),
17445
- fallback: _optionalChain([organization, 'optionalAccess', _399 => _399.name]) || "Org",
17561
+ src: _optionalChain([organization, 'optionalAccess', _404 => _404.imageSrc]),
17562
+ alt: _optionalChain([organization, 'optionalAccess', _405 => _405.name]),
17563
+ fallback: _optionalChain([organization, 'optionalAccess', _406 => _406.name]) || "Org",
17446
17564
  size: "md",
17447
17565
  className: "shrink-0"
17448
17566
  }
17449
17567
  ),
17450
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([organization, 'optionalAccess', _400 => _400.name]) || "Unassigned", label: "Organization" })
17568
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([organization, 'optionalAccess', _407 => _407.name]) || "Unassigned", label: "Organization" })
17451
17569
  ] }),
17452
17570
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17453
17571
  AssigneeDropdown,
@@ -17465,7 +17583,7 @@ function TicketInfoSection({
17465
17583
  ] }),
17466
17584
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block truncate text-ods-text-secondary text-h6", children: "Assigned" })
17467
17585
  ] }) }),
17468
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _401 => _401.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _402 => _402.icon]), onClick: _optionalChain([device, 'optionalAccess', _403 => _403.onClick]) }),
17586
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _408 => _408.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _409 => _409.icon]), onClick: _optionalChain([device, 'optionalAccess', _410 => _410.onClick]) }),
17469
17587
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
17470
17588
  (status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17471
17589
  _chunkOFLGZRJWcjs.TicketStatusTag,
@@ -17570,7 +17688,7 @@ function TakeOverTicketModal({
17570
17688
  setAssigneeId(_nullishCoalesce(initialAssigneeId, () => ( null)));
17571
17689
  }
17572
17690
  }
17573
- const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _404 => _404[0], 'optionalAccess', _405 => _405.value]))), () => ( null));
17691
+ const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _411 => _411[0], 'optionalAccess', _412 => _412.value]))), () => ( null));
17574
17692
  const selectedStatus = statusOptions.find((o) => o.value === selectedStatusId);
17575
17693
  const selectedAssignee = assigneeOptions.find((o) => o.value === assigneeId);
17576
17694
  const handleConfirm = () => {
@@ -17668,7 +17786,7 @@ function ReopenTicketModal({
17668
17786
  setReason("");
17669
17787
  }
17670
17788
  }
17671
- const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _406 => _406[0], 'optionalAccess', _407 => _407.value]))), () => ( null));
17789
+ const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _413 => _413[0], 'optionalAccess', _414 => _414.value]))), () => ( null));
17672
17790
  const selectedStatus = statusOptions.find((o) => o.value === selectedStatusId);
17673
17791
  const selectedAssignee = assigneeOptions.find((o) => o.value === assigneeId);
17674
17792
  const handleConfirm = () => {
@@ -18070,10 +18188,10 @@ function AccountDetailsFields({
18070
18188
  onKeyDown,
18071
18189
  layout = "stacked"
18072
18190
  }) {
18073
- const firstNameErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _408 => _408.firstName]), firstName);
18074
- const lastNameErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _409 => _409.lastName]), lastName);
18075
- const passwordErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _410 => _410.password]), password);
18076
- const confirmErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _411 => _411.confirmPassword]), confirmPassword);
18191
+ const firstNameErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _415 => _415.firstName]), firstName);
18192
+ const lastNameErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _416 => _416.lastName]), lastName);
18193
+ const passwordErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _417 => _417.password]), password);
18194
+ const confirmErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _418 => _418.confirmPassword]), confirmPassword);
18077
18195
  const names = [
18078
18196
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
18079
18197
  _chunkYWUZL3RTcjs.Input,
@@ -18331,7 +18449,7 @@ function SsoProviderButtons({
18331
18449
  disabled: disabled || (enabledProviders ? !enabledProviders.includes(provider) : false),
18332
18450
  className: "disabled:bg-ods-bg",
18333
18451
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon2, { className: "h-5 w-5" }),
18334
- onClick: () => _optionalChain([onSsoClick, 'optionalCall', _412 => _412(provider)]),
18452
+ onClick: () => _optionalChain([onSsoClick, 'optionalCall', _419 => _419(provider)]),
18335
18453
  children: `${actionLabel} ${meta.name}`
18336
18454
  },
18337
18455
  provider
@@ -18513,9 +18631,9 @@ function CreateOrganizationForm({
18513
18631
  }) {
18514
18632
  const hasSso = !!ssoProviders && ssoProviders.length > 0;
18515
18633
  const fieldsDisabled = disabled || loading;
18516
- const emailErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _413 => _413.email]), _nullishCoalesce(email, () => ( "")));
18517
- const orgNameErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _414 => _414.organizationName]), organizationName);
18518
- const domainErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _415 => _415.domain]), domain);
18634
+ const emailErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _420 => _420.email]), _nullishCoalesce(email, () => ( "")));
18635
+ const orgNameErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _421 => _421.organizationName]), organizationName);
18636
+ const domainErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _422 => _422.domain]), domain);
18519
18637
  const handleKeyDown = (event) => {
18520
18638
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
18521
18639
  onSubmit();
@@ -18540,11 +18658,11 @@ function CreateOrganizationForm({
18540
18658
  label: "Email",
18541
18659
  placeholder: "username@mail.com",
18542
18660
  value: email,
18543
- error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _416 => _416.message]))),
18544
- errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _417 => _417.variant]),
18661
+ error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _423 => _423.message]))),
18662
+ errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _424 => _424.variant]),
18545
18663
  disabled: fieldsDisabled,
18546
18664
  onBlur: emailErr.onBlur,
18547
- onChange: (event) => _optionalChain([onEmailChange, 'optionalCall', _418 => _418(event.target.value)]),
18665
+ onChange: (event) => _optionalChain([onEmailChange, 'optionalCall', _425 => _425(event.target.value)]),
18548
18666
  onKeyDown: handleKeyDown
18549
18667
  }
18550
18668
  ),
@@ -18568,8 +18686,8 @@ function CreateOrganizationForm({
18568
18686
  label: "Domain",
18569
18687
  placeholder: domainPlaceholder,
18570
18688
  value: domain,
18571
- error: _nullishCoalesce(domainErr.error, () => ( _optionalChain([domainStatus, 'optionalAccess', _419 => _419.message]))),
18572
- errorVariant: domainErr.error ? "error" : _optionalChain([domainStatus, 'optionalAccess', _420 => _420.variant]),
18689
+ error: _nullishCoalesce(domainErr.error, () => ( _optionalChain([domainStatus, 'optionalAccess', _426 => _426.message]))),
18690
+ errorVariant: domainErr.error ? "error" : _optionalChain([domainStatus, 'optionalAccess', _427 => _427.variant]),
18573
18691
  disabled: fieldsDisabled,
18574
18692
  onBlur: domainErr.onBlur,
18575
18693
  endAdornment: domainSuffix ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
@@ -18604,7 +18722,7 @@ function CreateOrganizationForm({
18604
18722
  label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TermsAgreementLabel, { termsUrl, privacyPolicyUrl }),
18605
18723
  checked: agreedToTerms,
18606
18724
  disabled: fieldsDisabled,
18607
- error: _optionalChain([errors, 'optionalAccess', _421 => _421.terms]),
18725
+ error: _optionalChain([errors, 'optionalAccess', _428 => _428.terms]),
18608
18726
  onCheckedChange: onAgreedToTermsChange
18609
18727
  }
18610
18728
  ),
@@ -18731,10 +18849,10 @@ function LoginForm({
18731
18849
  className
18732
18850
  }) {
18733
18851
  const fieldDisabled = disabled || loading;
18734
- const emailErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _422 => _422.email]), email);
18852
+ const emailErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _429 => _429.email]), email);
18735
18853
  const handleKeyDown = (event) => {
18736
18854
  if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
18737
- _optionalChain([onSubmitClick, 'optionalCall', _423 => _423()]);
18855
+ _optionalChain([onSubmitClick, 'optionalCall', _430 => _430()]);
18738
18856
  };
18739
18857
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
18740
18858
  "div",
@@ -18766,8 +18884,8 @@ function LoginForm({
18766
18884
  label: "Email",
18767
18885
  placeholder: emailPlaceholder,
18768
18886
  value: email,
18769
- error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _424 => _424.message]))),
18770
- errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _425 => _425.variant]),
18887
+ error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _431 => _431.message]))),
18888
+ errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _432 => _432.variant]),
18771
18889
  disabled: fieldDisabled,
18772
18890
  onBlur: emailErr.onBlur,
18773
18891
  onChange: (event) => onEmailChange(event.target.value),
@@ -18873,8 +18991,8 @@ function OpenFrameSsoLoginForm({
18873
18991
  className
18874
18992
  }) {
18875
18993
  const fieldsDisabled = disabled || loading;
18876
- const emailErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _426 => _426.email]), email);
18877
- const passwordErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _427 => _427.password]), password);
18994
+ const emailErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _433 => _433.email]), email);
18995
+ const passwordErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _434 => _434.password]), password);
18878
18996
  const handleKeyDown = (event) => {
18879
18997
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
18880
18998
  onSubmit();
@@ -18979,7 +19097,7 @@ function OpenFrameSsoSignUpForm({
18979
19097
  className
18980
19098
  }) {
18981
19099
  const fieldsDisabled = disabled || loading;
18982
- const emailErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _428 => _428.email]), email);
19100
+ const emailErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _435 => _435.email]), email);
18983
19101
  const handleKeyDown = (event) => {
18984
19102
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
18985
19103
  onSubmit();
@@ -19084,8 +19202,8 @@ function PasswordResetForm({
19084
19202
  className
19085
19203
  }) {
19086
19204
  const fieldsDisabled = disabled || loading;
19087
- const passwordErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _429 => _429.password]), password);
19088
- const confirmErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _430 => _430.confirmPassword]), confirmPassword);
19205
+ const passwordErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _436 => _436.password]), password);
19206
+ const confirmErr = _chunkEKAWIHWWcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _437 => _437.confirmPassword]), confirmPassword);
19089
19207
  const handleKeyDown = (event) => {
19090
19208
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
19091
19209
  onSubmit();
@@ -19207,7 +19325,7 @@ function SsoJoinForm({
19207
19325
  className
19208
19326
  }) {
19209
19327
  const fieldsDisabled = disabled || loading;
19210
- const displayName = _optionalChain([name, 'optionalAccess', _431 => _431.trim, 'call', _432 => _432()]) || _optionalChain([email, 'optionalAccess', _433 => _433.trim, 'call', _434 => _434()]) || "";
19328
+ const displayName = _optionalChain([name, 'optionalAccess', _438 => _438.trim, 'call', _439 => _439()]) || _optionalChain([email, 'optionalAccess', _440 => _440.trim, 'call', _441 => _441()]) || "";
19211
19329
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
19212
19330
  "div",
19213
19331
  {
@@ -19390,7 +19508,7 @@ function ChangelogManager({
19390
19508
  descriptionLabel = "Description",
19391
19509
  descriptionPlaceholder = "Detailed explanation of the change..."
19392
19510
  }) {
19393
- const tagLabelOf = (value) => _optionalChain([tagOptions, 'optionalAccess', _435 => _435.find, 'call', _436 => _436((o) => o.value === value), 'optionalAccess', _437 => _437.label]);
19511
+ const tagLabelOf = (value) => _optionalChain([tagOptions, 'optionalAccess', _442 => _442.find, 'call', _443 => _443((o) => o.value === value), 'optionalAccess', _444 => _444.label]);
19394
19512
  const entryCount = entries.length;
19395
19513
  const allExpanded = () => new Set(Array.from({ length: entryCount }, (_, i) => i));
19396
19514
  const [expandedIndices, setExpandedIndices] = _react.useState.call(void 0,
@@ -19408,7 +19526,7 @@ function ChangelogManager({
19408
19526
  title: "",
19409
19527
  description: "",
19410
19528
  ...showVisibilityToggle && { visibility: "public" },
19411
- ..._optionalChain([tagOptions, 'optionalAccess', _438 => _438.length]) && { tag: tagOptions[0].value }
19529
+ ..._optionalChain([tagOptions, 'optionalAccess', _445 => _445.length]) && { tag: tagOptions[0].value }
19412
19530
  };
19413
19531
  onChange([...entries, newEntry]);
19414
19532
  setExpandedIndices((prev) => /* @__PURE__ */ new Set([...prev, entries.length]));
@@ -19894,13 +20012,13 @@ var SectionSelector = ({
19894
20012
  const listRef = _react.useRef.call(void 0, null);
19895
20013
  _react.useEffect.call(void 0, () => {
19896
20014
  const list = listRef.current;
19897
- const active = _optionalChain([list, 'optionalAccess', _439 => _439.querySelector, 'call', _440 => _440('[role="tab"][aria-selected="true"]')]);
20015
+ const active = _optionalChain([list, 'optionalAccess', _446 => _446.querySelector, 'call', _447 => _447('[role="tab"][aria-selected="true"]')]);
19898
20016
  if (!list || !active || list.scrollWidth <= list.clientWidth) return;
19899
20017
  const offset = active.getBoundingClientRect().left - list.getBoundingClientRect().left;
19900
20018
  list.scrollLeft += offset - (list.clientWidth - active.clientWidth) / 2;
19901
20019
  }, [activeSection]);
19902
20020
  const enabled = sections.filter((section) => !section.disabled && !disabled);
19903
- const tabStopId = enabled.some((section) => section.id === activeSection) ? activeSection : _optionalChain([enabled, 'access', _441 => _441[0], 'optionalAccess', _442 => _442.id]);
20021
+ const tabStopId = enabled.some((section) => section.id === activeSection) ? activeSection : _optionalChain([enabled, 'access', _448 => _448[0], 'optionalAccess', _449 => _449.id]);
19904
20022
  const onKeyDown = (event) => {
19905
20023
  const step = event.key === "ArrowRight" || event.key === "ArrowDown" ? 1 : event.key === "ArrowLeft" || event.key === "ArrowUp" ? -1 : 0;
19906
20024
  if (!step && event.key !== "Home" && event.key !== "End") return;
@@ -19913,7 +20031,7 @@ var SectionSelector = ({
19913
20031
  const next = event.key === "Home" ? enabled[0] : event.key === "End" ? enabled[enabled.length - 1] : enabled[(at + step + enabled.length) % enabled.length];
19914
20032
  onSectionChange(next.id);
19915
20033
  requestAnimationFrame(
19916
- () => _optionalChain([listRef, 'access', _443 => _443.current, 'optionalAccess', _444 => _444.querySelector, 'call', _445 => _445('[role="tab"][aria-selected="true"]'), 'optionalAccess', _446 => _446.focus, 'call', _447 => _447()])
20034
+ () => _optionalChain([listRef, 'access', _450 => _450.current, 'optionalAccess', _451 => _451.querySelector, 'call', _452 => _452('[role="tab"][aria-selected="true"]'), 'optionalAccess', _453 => _453.focus, 'call', _454 => _454()])
19917
20035
  );
19918
20036
  };
19919
20037
  const getButtonWidthClasses = () => {
@@ -19956,10 +20074,10 @@ var getContentDimensions = (config) => {
19956
20074
  const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
19957
20075
  const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
19958
20076
  const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
19959
- const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _448 => _448.mobileContentDimensions, 'optionalAccess', _449 => _449.width]))), () => ( defaultMobile.width));
19960
- const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _450 => _450.mobileContentDimensions, 'optionalAccess', _451 => _451.height]))), () => ( defaultMobile.height));
19961
- const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _452 => _452.desktopContentDimensions, 'optionalAccess', _453 => _453.width]))), () => ( defaultDesktop.width));
19962
- const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _454 => _454.desktopContentDimensions, 'optionalAccess', _455 => _455.height]))), () => ( defaultDesktop.height));
20077
+ const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _455 => _455.mobileContentDimensions, 'optionalAccess', _456 => _456.width]))), () => ( defaultMobile.width));
20078
+ const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _457 => _457.mobileContentDimensions, 'optionalAccess', _458 => _458.height]))), () => ( defaultMobile.height));
20079
+ const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _459 => _459.desktopContentDimensions, 'optionalAccess', _460 => _460.width]))), () => ( defaultDesktop.width));
20080
+ const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _461 => _461.desktopContentDimensions, 'optionalAccess', _462 => _462.height]))), () => ( defaultDesktop.height));
19963
20081
  return {
19964
20082
  mobile: { width: mobileWidth, height: mobileHeight },
19965
20083
  desktop: { width: desktopWidth, height: desktopHeight }
@@ -20115,7 +20233,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
20115
20233
  const contentDimensions = getContentDimensions(config);
20116
20234
  const mobileHeight = contentDimensions.mobile.height;
20117
20235
  const calculatedHeight = Math.max(mobileHeight + 100, 400);
20118
- return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _456 => _456.innerHeight]) * 0.85 || 650)}px`;
20236
+ return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _463 => _463.innerHeight]) * 0.85 || 650)}px`;
20119
20237
  })(),
20120
20238
  minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
20121
20239
  const contentDimensions = getContentDimensions(config);
@@ -20218,7 +20336,7 @@ var FigmaPrototypeViewer = ({
20218
20336
  const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
20219
20337
  const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
20220
20338
  const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
20221
- config.defaultSectionId || _optionalChain([config, 'access', _457 => _457.sections, 'access', _458 => _458[0], 'optionalAccess', _459 => _459.id]) || ""
20339
+ config.defaultSectionId || _optionalChain([config, 'access', _464 => _464.sections, 'access', _465 => _465[0], 'optionalAccess', _466 => _466.id]) || ""
20222
20340
  );
20223
20341
  const activeSection = externalActiveSection || internalActiveSection;
20224
20342
  const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
@@ -20316,19 +20434,19 @@ var FigmaPrototypeViewer = ({
20316
20434
  setIframeState("READY");
20317
20435
  break;
20318
20436
  case "PRESENTED_NODE_CHANGED":
20319
- if (_optionalChain([figmaEvent, 'access', _460 => _460.data, 'optionalAccess', _461 => _461.presentedNodeId])) {
20437
+ if (_optionalChain([figmaEvent, 'access', _467 => _467.data, 'optionalAccess', _468 => _468.presentedNodeId])) {
20320
20438
  setCurrentNodeId(figmaEvent.data.presentedNodeId);
20321
20439
  if (!isNavigating) {
20322
20440
  const matchingSection = configSections.find((s) => {
20323
- const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _462 => _462.data, 'optionalAccess', _463 => _463.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _464 => _464.data, 'optionalAccess', _465 => _465.presentedNodeId]);
20324
- const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _466 => _466.data, 'optionalAccess', _467 => _467.presentedNodeId]) || _optionalChain([s, 'access', _468 => _468.mobileStartingNodeId, 'optionalAccess', _469 => _469.replace, 'call', _470 => _470(":", "-")]) === _optionalChain([figmaEvent, 'access', _471 => _471.data, 'optionalAccess', _472 => _472.presentedNodeId]);
20441
+ const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _469 => _469.data, 'optionalAccess', _470 => _470.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _471 => _471.data, 'optionalAccess', _472 => _472.presentedNodeId]);
20442
+ const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _473 => _473.data, 'optionalAccess', _474 => _474.presentedNodeId]) || _optionalChain([s, 'access', _475 => _475.mobileStartingNodeId, 'optionalAccess', _476 => _476.replace, 'call', _477 => _477(":", "-")]) === _optionalChain([figmaEvent, 'access', _478 => _478.data, 'optionalAccess', _479 => _479.presentedNodeId]);
20325
20443
  return desktopMatch || mobileMatch;
20326
20444
  });
20327
20445
  if (matchingSection && matchingSection.id !== activeSection) {
20328
20446
  if (!externalActiveSection) {
20329
20447
  setInternalActiveSection(matchingSection.id);
20330
20448
  }
20331
- _optionalChain([onSectionChange, 'optionalCall', _473 => _473(matchingSection.id)]);
20449
+ _optionalChain([onSectionChange, 'optionalCall', _480 => _480(matchingSection.id)]);
20332
20450
  }
20333
20451
  }
20334
20452
  }
@@ -20342,7 +20460,7 @@ var FigmaPrototypeViewer = ({
20342
20460
  const navigateToSection = _react.useCallback.call(void 0,
20343
20461
  (sectionId) => {
20344
20462
  const section = config.sections.find((s) => s.id === sectionId);
20345
- if (!section || !_optionalChain([iframeRef, 'access', _474 => _474.current, 'optionalAccess', _475 => _475.contentWindow]) || !isInitialized) {
20463
+ if (!section || !_optionalChain([iframeRef, 'access', _481 => _481.current, 'optionalAccess', _482 => _482.contentWindow]) || !isInitialized) {
20346
20464
  return;
20347
20465
  }
20348
20466
  setIsNavigating(true);
@@ -20350,7 +20468,7 @@ var FigmaPrototypeViewer = ({
20350
20468
  if (!externalActiveSection) {
20351
20469
  setInternalActiveSection(sectionId);
20352
20470
  }
20353
- _optionalChain([config, 'access', _476 => _476.onSectionChange, 'optionalCall', _477 => _477(sectionId)]);
20471
+ _optionalChain([config, 'access', _483 => _483.onSectionChange, 'optionalCall', _484 => _484(sectionId)]);
20354
20472
  const command = {
20355
20473
  type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
20356
20474
  data: { nodeId }
@@ -20687,7 +20805,7 @@ var FiltersDropdown = ({
20687
20805
  defaults[section.id] = section.defaultSelected || [];
20688
20806
  });
20689
20807
  setSelectedFilters(defaults);
20690
- _optionalChain([onReset, 'optionalCall', _478 => _478()]);
20808
+ _optionalChain([onReset, 'optionalCall', _485 => _485()]);
20691
20809
  setIsOpen(false);
20692
20810
  };
20693
20811
  const handleApply = () => {
@@ -20936,7 +21054,7 @@ function MediaGalleryManager({
20936
21054
  const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
20937
21055
  const handleFileSelect = _react.useCallback.call(void 0,
20938
21056
  async (event) => {
20939
- const file = _optionalChain([event, 'access', _479 => _479.target, 'access', _480 => _480.files, 'optionalAccess', _481 => _481[0]]);
21057
+ const file = _optionalChain([event, 'access', _486 => _486.target, 'access', _487 => _487.files, 'optionalAccess', _488 => _488[0]]);
20940
21058
  if (!file) return;
20941
21059
  let mediaType;
20942
21060
  if (file.type.startsWith("image/")) {
@@ -21061,7 +21179,7 @@ function MediaGalleryManager({
21061
21179
  {
21062
21180
  type: "button",
21063
21181
  variant: "outline",
21064
- onClick: () => _optionalChain([fileInputRef, 'access', _482 => _482.current, 'optionalAccess', _483 => _483.click, 'call', _484 => _484()]),
21182
+ onClick: () => _optionalChain([fileInputRef, 'access', _489 => _489.current, 'optionalAccess', _490 => _490.click, 'call', _491 => _491()]),
21065
21183
  disabled: isUploading,
21066
21184
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
21067
21185
  className: "font-bold text-h6",
@@ -23186,9 +23304,9 @@ function PushButtonSelector({
23186
23304
  }) {
23187
23305
  const scrollRef = _react.useRef.call(void 0, null);
23188
23306
  const sentinelRef = _react.useRef.call(void 0, null);
23189
- const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _485 => _485.hasMore]), () => ( false));
23190
- const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _486 => _486.isFetchingMore]), () => ( false));
23191
- const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess', _487 => _487.onLoadMore]);
23307
+ const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _492 => _492.hasMore]), () => ( false));
23308
+ const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _493 => _493.isFetchingMore]), () => ( false));
23309
+ const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess', _494 => _494.onLoadMore]);
23192
23310
  const optionCount = options.length;
23193
23311
  _react.useEffect.call(void 0, () => {
23194
23312
  const sentinel = sentinelRef.current;
@@ -23359,7 +23477,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
23359
23477
  const fileInputRef = _react.useRef.call(void 0, null);
23360
23478
  const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
23361
23479
  const handleFileSelect = async (event) => {
23362
- const file = _optionalChain([event, 'access', _488 => _488.target, 'access', _489 => _489.files, 'optionalAccess', _490 => _490[0]]);
23480
+ const file = _optionalChain([event, 'access', _495 => _495.target, 'access', _496 => _496.files, 'optionalAccess', _497 => _497[0]]);
23363
23481
  if (!file) return;
23364
23482
  let mediaType;
23365
23483
  if (file.type.startsWith("image/")) {
@@ -23441,7 +23559,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
23441
23559
  {
23442
23560
  type: "button",
23443
23561
  variant: "outline",
23444
- onClick: () => _optionalChain([fileInputRef, 'access', _491 => _491.current, 'optionalAccess', _492 => _492.click, 'call', _493 => _493()]),
23562
+ onClick: () => _optionalChain([fileInputRef, 'access', _498 => _498.current, 'optionalAccess', _499 => _499.click, 'call', _500 => _500()]),
23445
23563
  disabled: uploadingIndex !== null,
23446
23564
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
23447
23565
  className: "font-bold text-h6",
@@ -23722,7 +23840,7 @@ function SEOEditorPreview({
23722
23840
  const displayImage = hasOgImage || hasFeaturedImage;
23723
23841
  const handleImageUpload = async (event) => {
23724
23842
  if (!onOgImageUpload) return;
23725
- const file = _optionalChain([event, 'access', _494 => _494.target, 'access', _495 => _495.files, 'optionalAccess', _496 => _496[0]]);
23843
+ const file = _optionalChain([event, 'access', _501 => _501.target, 'access', _502 => _502.files, 'optionalAccess', _503 => _503[0]]);
23726
23844
  if (!file) return;
23727
23845
  setIsUploading(true);
23728
23846
  try {
@@ -23879,7 +23997,7 @@ function SEOEditorPreview({
23879
23997
  type: "button",
23880
23998
  variant: "outline",
23881
23999
  size: "icon",
23882
- onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _497 => _497.click, 'call', _498 => _498()]),
24000
+ onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _504 => _504.click, 'call', _505 => _505()]),
23883
24001
  disabled: disabled || isUploading,
23884
24002
  className: "rounded-full bg-white text-black opacity-0 hover:bg-gray-100 group-hover:opacity-100",
23885
24003
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
@@ -23905,7 +24023,7 @@ function SEOEditorPreview({
23905
24023
  SEO_MEDIA_BOX_HEIGHT,
23906
24024
  "flex cursor-pointer flex-col items-center justify-center rounded-lg border-2 border-dashed border-ods-border bg-ods-bg-hover transition-colors hover:border-ods-accent"
23907
24025
  ),
23908
- onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _499 => _499.click, 'call', _500 => _500()]),
24026
+ onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _506 => _506.click, 'call', _507 => _507()]),
23909
24027
  children: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
23910
24028
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "mb-2 h-8 w-8 text-ods-text-secondary" }),
23911
24029
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
@@ -24066,7 +24184,7 @@ function SocialLinksManager({
24066
24184
  className = ""
24067
24185
  }) {
24068
24186
  const addLink = () => {
24069
- const firstPlatform = _optionalChain([platforms, 'access', _501 => _501[0], 'optionalAccess', _502 => _502.name]) || "website";
24187
+ const firstPlatform = _optionalChain([platforms, 'access', _508 => _508[0], 'optionalAccess', _509 => _509.name]) || "website";
24070
24188
  onChange([...links, { platform: firstPlatform, url: "" }]);
24071
24189
  };
24072
24190
  const removeLink = (index) => {
@@ -24078,7 +24196,7 @@ function SocialLinksManager({
24078
24196
  onChange(updated);
24079
24197
  };
24080
24198
  const getIcon = (link, platform) => {
24081
- const iconKey = _optionalChain([platform, 'optionalAccess', _503 => _503.icon_name]) || link.platform;
24199
+ const iconKey = _optionalChain([platform, 'optionalAccess', _510 => _510.icon_name]) || link.platform;
24082
24200
  const key = normalizeSocialPlatform(iconKey);
24083
24201
  if (!key) return null;
24084
24202
  const IconComponent = SOCIAL_ICON_COMPONENTS[key];
@@ -24102,7 +24220,7 @@ function SocialLinksManager({
24102
24220
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
24103
24221
  _chunkYWUZL3RTcjs.Input,
24104
24222
  {
24105
- placeholder: _optionalChain([platform, 'optionalAccess', _504 => _504.placeholder]) || "Profile URL",
24223
+ placeholder: _optionalChain([platform, 'optionalAccess', _511 => _511.placeholder]) || "Profile URL",
24106
24224
  value: link.url,
24107
24225
  onChange: (e) => updateLink(index, "url", e.target.value),
24108
24226
  onKeyDown: (e) => {
@@ -24498,8 +24616,8 @@ function VideoBitesDisplay({
24498
24616
 
24499
24617
  var isAtEnd = (duration, time) => duration > 0 && duration - time < 1;
24500
24618
  function theaterSeedFromLive(live, fallbackTime, fallbackMuted) {
24501
- const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess', _505 => _505.getCurrentTime, 'call', _506 => _506()]), () => ( 0));
24502
- const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess', _507 => _507.getDuration, 'call', _508 => _508()]), () => ( 0)), time);
24619
+ const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess', _512 => _512.getCurrentTime, 'call', _513 => _513()]), () => ( 0));
24620
+ const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess', _514 => _514.getDuration, 'call', _515 => _515()]), () => ( 0)), time);
24503
24621
  return {
24504
24622
  // At end -> start over, never rewind to an unrelated older anchor.
24505
24623
  time: atEnd ? 0 : time > 0.5 ? time : fallbackTime,
@@ -24531,11 +24649,11 @@ function WalkthroughVideo({
24531
24649
  const inline = placement === "inline";
24532
24650
  const dismissEnabled = dismissal !== false;
24533
24651
  const storageKey = dismissEnabled && dismissal.storageKey || WALKTHROUGH_VIDEO_DISMISS_KEY;
24534
- const dismissalId = _optionalChain([video, 'optionalAccess', _509 => _509.id]) != null ? String(video.id) : "dismissed";
24652
+ const dismissalId = _optionalChain([video, 'optionalAccess', _516 => _516.id]) != null ? String(video.id) : "dismissed";
24535
24653
  const [mounted, setMounted] = _react.useState.call(void 0, false);
24536
24654
  const [dismissed, setDismissed] = _react.useState.call(void 0, false);
24537
24655
  const hasVideo = video != null;
24538
- const videoId = _optionalChain([video, 'optionalAccess', _510 => _510.id]);
24656
+ const videoId = _optionalChain([video, 'optionalAccess', _517 => _517.id]);
24539
24657
  _react.useEffect.call(void 0, () => {
24540
24658
  let idleHandle = null;
24541
24659
  if (!hasVideo) return void 0;
@@ -24562,9 +24680,9 @@ function WalkthroughVideo({
24562
24680
  const previewSuppressed = _react.useMemo.call(void 0, () => {
24563
24681
  if (!hydrated) return false;
24564
24682
  try {
24565
- const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access', _511 => _511.matchMedia, 'optionalCall', _512 => _512("(prefers-reduced-motion: reduce)"), 'access', _513 => _513.matches]), () => ( false));
24683
+ const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access', _518 => _518.matchMedia, 'optionalCall', _519 => _519("(prefers-reduced-motion: reduce)"), 'access', _520 => _520.matches]), () => ( false));
24566
24684
  const conn = navigator.connection;
24567
- const saveData = _optionalChain([conn, 'optionalAccess', _514 => _514.saveData]) === true || _optionalChain([conn, 'optionalAccess', _515 => _515.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _516 => _516.effectiveType]) === "slow-2g";
24685
+ const saveData = _optionalChain([conn, 'optionalAccess', _521 => _521.saveData]) === true || _optionalChain([conn, 'optionalAccess', _522 => _522.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _523 => _523.effectiveType]) === "slow-2g";
24568
24686
  return Boolean(reducedMotion || saveData);
24569
24687
  } catch (e28) {
24570
24688
  return false;
@@ -24597,18 +24715,18 @@ function WalkthroughVideo({
24597
24715
  const [cardMuted, setCardMuted] = _react.useState.call(void 0, false);
24598
24716
  const [cardPaused, setCardPaused] = _react.useState.call(void 0, false);
24599
24717
  const [userMuted, setUserMuted] = _react.useState.call(void 0, false);
24600
- const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _517 => _517.youtubeUrl]));
24718
+ const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _524 => _524.youtubeUrl]));
24601
24719
  const resumeMode = !open && handoff !== null && !isYouTube;
24602
24720
  const previewAllowed = !previewSuppressed && !isYouTube;
24603
24721
  const footerFadeKey = `${mounted ? 1 : 0}|${inline ? 1 : 0}|${hideNearSelector}|${pathname}`;
24604
- const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _518 => _518.key]) === footerFadeKey && footerObservation.hidden;
24722
+ const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _525 => _525.key]) === footerFadeKey && footerObservation.hidden;
24605
24723
  _react.useEffect.call(void 0, () => {
24606
24724
  if (!mounted) return void 0;
24607
24725
  if (inline) return void 0;
24608
24726
  const el = typeof document !== "undefined" ? document.querySelector(hideNearSelector) : null;
24609
24727
  if (!el || typeof IntersectionObserver === "undefined") return void 0;
24610
24728
  const io = new IntersectionObserver(
24611
- (entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _519 => _519[0], 'optionalAccess', _520 => _520.isIntersecting]), () => ( false)) }),
24729
+ (entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _526 => _526[0], 'optionalAccess', _527 => _527.isIntersecting]), () => ( false)) }),
24612
24730
  { rootMargin: "0px 0px -40px 0px" }
24613
24731
  );
24614
24732
  io.observe(el);
@@ -24634,7 +24752,7 @@ function WalkthroughVideo({
24634
24752
  if (!footerHidden) return;
24635
24753
  const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
24636
24754
  try {
24637
- _optionalChain([h, 'optionalAccess', _521 => _521.pause, 'call', _522 => _522()]);
24755
+ _optionalChain([h, 'optionalAccess', _528 => _528.pause, 'call', _529 => _529()]);
24638
24756
  } catch (e30) {
24639
24757
  }
24640
24758
  }, [footerHidden, resumeMode, hovered]);
@@ -24653,30 +24771,30 @@ function WalkthroughVideo({
24653
24771
  }, 400);
24654
24772
  }
24655
24773
  if (openProp === void 0) setOpenState(next);
24656
- _optionalChain([onOpenChange, 'optionalCall', _523 => _523(next)]);
24774
+ _optionalChain([onOpenChange, 'optionalCall', _530 => _530(next)]);
24657
24775
  },
24658
24776
  [openProp, onOpenChange]
24659
24777
  );
24660
24778
  const pausePreviewNow = _react.useCallback.call(void 0, () => {
24661
24779
  const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
24662
24780
  try {
24663
- _optionalChain([h, 'optionalAccess', _524 => _524.pause, 'call', _525 => _525()]);
24781
+ _optionalChain([h, 'optionalAccess', _531 => _531.pause, 'call', _532 => _532()]);
24664
24782
  } catch (e31) {
24665
24783
  }
24666
24784
  setCardPaused(true);
24667
24785
  }, [setCardPaused]);
24668
24786
  const openTheater = _react.useCallback.call(void 0, () => {
24669
24787
  const handleBeforePause = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
24670
- const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _526 => _526.getPaused, 'call', _527 => _527()]) === false;
24788
+ const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _533 => _533.getPaused, 'call', _534 => _534()]) === false;
24671
24789
  pausePreviewNow();
24672
24790
  const liveHandle = _nullishCoalesce(resumeHandleRef.current, () => ( (cardModeRef.current === "preview" ? previewHandleRef.current : null)));
24673
- const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _528 => _528.getCurrentTime, 'call', _529 => _529()]), () => ( 0));
24674
- const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _530 => _530.getDuration, 'call', _531 => _531()]), () => ( 0));
24791
+ const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _535 => _535.getCurrentTime, 'call', _536 => _536()]), () => ( 0));
24792
+ const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _537 => _537.getDuration, 'call', _538 => _538()]), () => ( 0));
24675
24793
  const liveAtEnd = isAtEnd(liveDuration, liveTime);
24676
24794
  const start = {
24677
24795
  // At end -> start over. Falling back to `handoff.time` here would rewind
24678
24796
  // to an unrelated older anchor (e.g. 3:20) instead of restarting.
24679
- time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _532 => _532.time]), () => ( 0)),
24797
+ time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _539 => _539.time]), () => ( 0)),
24680
24798
  // Live element wins over remembered intent (the theater's own chrome may
24681
24799
  // have changed it) — EXCEPT when the element is muted only because
24682
24800
  // autoplay policy forced it, which is not intent.
@@ -24704,7 +24822,7 @@ function WalkthroughVideo({
24704
24822
  const selfDriven = selfDrivenFor === open;
24705
24823
  if (openProp !== void 0 && !selfDriven) {
24706
24824
  if (open) {
24707
- setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _533 => _533.time]), () => ( 0)), userMuted));
24825
+ setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _540 => _540.time]), () => ( 0)), userMuted));
24708
24826
  setHovered(false);
24709
24827
  setSuspended(false);
24710
24828
  setHandoff(null);
@@ -24790,8 +24908,8 @@ function WalkthroughVideo({
24790
24908
  });
24791
24909
  _react.useEffect.call(void 0, () => {
24792
24910
  if (resumeMode) {
24793
- setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _534 => _534.current, 'optionalAccess', _535 => _535.muted]), () => ( false)));
24794
- setCardPaused(_optionalChain([handoffRef, 'access', _536 => _536.current, 'optionalAccess', _537 => _537.playing]) === false);
24911
+ setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _541 => _541.current, 'optionalAccess', _542 => _542.muted]), () => ( false)));
24912
+ setCardPaused(_optionalChain([handoffRef, 'access', _543 => _543.current, 'optionalAccess', _544 => _544.playing]) === false);
24795
24913
  }
24796
24914
  }, [resumeMode]);
24797
24915
  const [hoverSeeded, setHoverSeeded] = _react.useState.call(void 0, hovered);
@@ -24873,11 +24991,11 @@ function WalkthroughVideo({
24873
24991
  },
24874
24992
  [cardFallback.blocked, cardPaused, activeHandle, setCardPaused]
24875
24993
  );
24876
- const summaryTitle = _optionalChain([video, 'optionalAccess', _538 => _538.title]) || void 0;
24877
- const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _539 => _539.presenterAvatarUrl]), () => ( null));
24994
+ const summaryTitle = _optionalChain([video, 'optionalAccess', _545 => _545.title]) || void 0;
24995
+ const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _546 => _546.presenterAvatarUrl]), () => ( null));
24878
24996
  const embedUrlKey = _react.useMemo.call(void 0,
24879
- () => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _540 => _540.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _541 => _541.youtubeUrl]), () => ( ""))}`,
24880
- [_optionalChain([video, 'optionalAccess', _542 => _542.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _543 => _543.youtubeUrl])]
24997
+ () => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _547 => _547.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _548 => _548.youtubeUrl]), () => ( ""))}`,
24998
+ [_optionalChain([video, 'optionalAccess', _549 => _549.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _550 => _550.youtubeUrl])]
24881
24999
  );
24882
25000
  const cardActive = !open && previewAllowed && hovered && !resumeMode;
24883
25001
  const cardMode = resumeMode ? "resume" : cardActive ? "preview" : "poster";
@@ -24936,7 +25054,7 @@ function WalkthroughVideo({
24936
25054
  const el = e.target;
24937
25055
  let keyboard = false;
24938
25056
  try {
24939
- keyboard = _nullishCoalesce(_optionalChain([el, 'access', _544 => _544.matches, 'optionalCall', _545 => _545(":focus-visible")]), () => ( false));
25057
+ keyboard = _nullishCoalesce(_optionalChain([el, 'access', _551 => _551.matches, 'optionalCall', _552 => _552(":focus-visible")]), () => ( false));
24940
25058
  } catch (e36) {
24941
25059
  keyboard = false;
24942
25060
  }
@@ -24970,9 +25088,9 @@ function WalkthroughVideo({
24970
25088
  previewHandleRef: cardMode === "resume" ? resumeHandleRef : previewHandleRef,
24971
25089
  mutedIntent: userMuted,
24972
25090
  continuation: cardMode === "resume",
24973
- autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _546 => _546.playing]) !== false && !footerHidden,
24974
- startTime: _optionalChain([resumeHandoff, 'optionalAccess', _547 => _547.time]),
24975
- startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _548 => _548.muted]), () => ( false)),
25091
+ autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _553 => _553.playing]) !== false && !footerHidden,
25092
+ startTime: _optionalChain([resumeHandoff, 'optionalAccess', _554 => _554.time]),
25093
+ startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _555 => _555.muted]), () => ( false)),
24976
25094
  onEnded: cardMode === "resume" ? () => setHandoff(null) : () => setCardPaused(true)
24977
25095
  },
24978
25096
  `card-${embedUrlKey}`
@@ -25069,7 +25187,7 @@ function WalkthroughVideo({
25069
25187
  {
25070
25188
  onOpenAutoFocus: (e) => {
25071
25189
  e.preventDefault();
25072
- _optionalChain([closeButtonRef, 'access', _549 => _549.current, 'optionalAccess', _550 => _550.focus, 'call', _551 => _551()]);
25190
+ _optionalChain([closeButtonRef, 'access', _556 => _556.current, 'optionalAccess', _557 => _557.focus, 'call', _558 => _558()]);
25073
25191
  },
25074
25192
  className: _chunkX7CEWD6Vcjs.cn.call(void 0,
25075
25193
  // PURE theater: just the video, centered on a dimmed backdrop.
@@ -25163,14 +25281,14 @@ function useWalkthroughVideo(opts) {
25163
25281
  if (res.status === 404) return null;
25164
25282
  if (!res.ok) throw new Error(`Walkthrough video request failed (${res.status})`);
25165
25283
  const body = await res.json();
25166
- return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _552 => _552.walkthroughVideo]), () => ( null));
25284
+ return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _559 => _559.walkthroughVideo]), () => ( null));
25167
25285
  },
25168
25286
  // Per-observer transform — NEVER mutate the cached data. `select` also runs
25169
25287
  // over `initialData`, so the SSR seed is rewritten too. Keeping the proxy
25170
25288
  // rewrite here (not in queryFn) means a second consumer of the same
25171
25289
  // endpoint can't inherit this observer's proxied captionsUrl from the cache.
25172
25290
  select: (video) => {
25173
- if (!_optionalChain([video, 'optionalAccess', _553 => _553.captionsUrl])) return video;
25291
+ if (!_optionalChain([video, 'optionalAccess', _560 => _560.captionsUrl])) return video;
25174
25292
  if (transformCaptionsUrl && video.captionsUrl.startsWith("/")) {
25175
25293
  return { ...video, captionsUrl: transformCaptionsUrl(video.captionsUrl) };
25176
25294
  }
@@ -25217,7 +25335,7 @@ function VideoSourceSelector({
25217
25335
  input.accept = "video/*";
25218
25336
  input.onchange = async (e) => {
25219
25337
  const target = e.target;
25220
- const file = _optionalChain([target, 'access', _554 => _554.files, 'optionalAccess', _555 => _555[0]]);
25338
+ const file = _optionalChain([target, 'access', _561 => _561.files, 'optionalAccess', _562 => _562[0]]);
25221
25339
  if (!file) return;
25222
25340
  setIsUploading(true);
25223
25341
  setUploadProgress(0);
@@ -25393,7 +25511,7 @@ function SubtitlesEditor({
25393
25511
  {
25394
25512
  id,
25395
25513
  value: subtitles || "",
25396
- onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _556 => _556(e.target.value)]),
25514
+ onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _563 => _563(e.target.value)]),
25397
25515
  placeholder,
25398
25516
  disabled: disabled || !onSubtitlesChange,
25399
25517
  className: "h-full w-full resize-none border-0 bg-transparent p-4 text-ods-text-primary text-code placeholder:text-ods-text-secondary/50 focus:outline-none focus:ring-0",
@@ -25622,7 +25740,7 @@ var AIEnrichSection = ({
25622
25740
  }) => {
25623
25741
  const hasResults = status === "success" || status === "error";
25624
25742
  const shouldDisable = disabled || !canEnrich;
25625
- const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _557 => _557.filter, 'call', _558 => _558((f) => !f.isFilled)]) || [];
25743
+ const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _564 => _564.filter, 'call', _565 => _565((f) => !f.isFilled)]) || [];
25626
25744
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
25627
25745
  "div",
25628
25746
  {
@@ -25654,7 +25772,7 @@ var AIEnrichSection = ({
25654
25772
  {
25655
25773
  id: "ai-enrich-custom-instructions",
25656
25774
  value: _nullishCoalesce(customInstructions, () => ( "")),
25657
- onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _559 => _559(e.target.value)]),
25775
+ onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _566 => _566(e.target.value)]),
25658
25776
  placeholder: customInstructionsPlaceholder,
25659
25777
  disabled: loading,
25660
25778
  maxLength: customInstructionsMaxLength,
@@ -25776,7 +25894,7 @@ function HighlightVideoSection({
25776
25894
  input.accept = "video/*";
25777
25895
  input.onchange = async (e) => {
25778
25896
  const target = e.target;
25779
- const file = _optionalChain([target, 'access', _560 => _560.files, 'optionalAccess', _561 => _561[0]]);
25897
+ const file = _optionalChain([target, 'access', _567 => _567.files, 'optionalAccess', _568 => _568[0]]);
25780
25898
  if (!file) return;
25781
25899
  setUploadError(null);
25782
25900
  try {
@@ -26203,7 +26321,7 @@ function HighlightVideoPreview({
26203
26321
  input.accept = "video/*";
26204
26322
  input.onchange = async (e) => {
26205
26323
  const target = e.target;
26206
- const file = _optionalChain([target, 'access', _562 => _562.files, 'optionalAccess', _563 => _563[0]]);
26324
+ const file = _optionalChain([target, 'access', _569 => _569.files, 'optionalAccess', _570 => _570[0]]);
26207
26325
  if (!file) return;
26208
26326
  await onUpload(file);
26209
26327
  };
@@ -26387,7 +26505,7 @@ function HighlightVideoCombinedSection({
26387
26505
  input.accept = "video/*";
26388
26506
  input.onchange = async (e) => {
26389
26507
  const target = e.target;
26390
- const file = _optionalChain([target, 'access', _564 => _564.files, 'optionalAccess', _565 => _565[0]]);
26508
+ const file = _optionalChain([target, 'access', _571 => _571.files, 'optionalAccess', _572 => _572[0]]);
26391
26509
  if (!file) return;
26392
26510
  await onUpload(file);
26393
26511
  };
@@ -27066,19 +27184,19 @@ function NotificationsProvider({
27066
27184
  }, []);
27067
27185
  const markRead = _react.useCallback.call(void 0, (id) => {
27068
27186
  dispatch({ type: "markRead", id });
27069
- void _optionalChain([actionsRef, 'access', _566 => _566.current, 'optionalAccess', _567 => _567.onMarkRead, 'optionalCall', _568 => _568(id)]);
27187
+ void _optionalChain([actionsRef, 'access', _573 => _573.current, 'optionalAccess', _574 => _574.onMarkRead, 'optionalCall', _575 => _575(id)]);
27070
27188
  }, []);
27071
27189
  const markAllRead = _react.useCallback.call(void 0, () => {
27072
27190
  dispatch({ type: "markAllRead" });
27073
- void _optionalChain([actionsRef, 'access', _569 => _569.current, 'optionalAccess', _570 => _570.onMarkAllRead, 'optionalCall', _571 => _571()]);
27191
+ void _optionalChain([actionsRef, 'access', _576 => _576.current, 'optionalAccess', _577 => _577.onMarkAllRead, 'optionalCall', _578 => _578()]);
27074
27192
  }, []);
27075
27193
  const markSettled = _react.useCallback.call(void 0, (id) => {
27076
27194
  dispatch({ type: "markSettled", id });
27077
- void _optionalChain([actionsRef, 'access', _572 => _572.current, 'optionalAccess', _573 => _573.onMarkSettled, 'optionalCall', _574 => _574(id)]);
27195
+ void _optionalChain([actionsRef, 'access', _579 => _579.current, 'optionalAccess', _580 => _580.onMarkSettled, 'optionalCall', _581 => _581(id)]);
27078
27196
  }, []);
27079
27197
  const remove = _react.useCallback.call(void 0, (id) => {
27080
27198
  dispatch({ type: "remove", id });
27081
- void _optionalChain([actionsRef, 'access', _575 => _575.current, 'optionalAccess', _576 => _576.onRemove, 'optionalCall', _577 => _577(id)]);
27199
+ void _optionalChain([actionsRef, 'access', _582 => _582.current, 'optionalAccess', _583 => _583.onRemove, 'optionalCall', _584 => _584(id)]);
27082
27200
  }, []);
27083
27201
  const clear = _react.useCallback.call(void 0, () => dispatch({ type: "clear" }), []);
27084
27202
  const open = _react.useCallback.call(void 0, () => setIsOpen(true), []);
@@ -27087,14 +27205,14 @@ function NotificationsProvider({
27087
27205
  const setShowPopups = _react.useCallback.call(void 0,
27088
27206
  (value2) => {
27089
27207
  setShowPopupsState(value2);
27090
- _optionalChain([onShowPopupsChange, 'optionalCall', _578 => _578(value2)]);
27208
+ _optionalChain([onShowPopupsChange, 'optionalCall', _585 => _585(value2)]);
27091
27209
  },
27092
27210
  [onShowPopupsChange]
27093
27211
  );
27094
27212
  const setShowDesktopPopups = _react.useCallback.call(void 0,
27095
27213
  (value2) => {
27096
27214
  setShowDesktopPopupsState(value2);
27097
- _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _579 => _579(value2)]);
27215
+ _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _586 => _586(value2)]);
27098
27216
  },
27099
27217
  [onShowDesktopPopupsChange]
27100
27218
  );
@@ -27210,7 +27328,7 @@ var AppLayoutDrawerRoot = ({
27210
27328
  const handleOpenChange = _react.useCallback.call(void 0,
27211
27329
  (next) => {
27212
27330
  if (!isControlled) setInternalOpen(next);
27213
- _optionalChain([onOpenChange, 'optionalCall', _580 => _580(next)]);
27331
+ _optionalChain([onOpenChange, 'optionalCall', _587 => _587(next)]);
27214
27332
  },
27215
27333
  [isControlled, onOpenChange]
27216
27334
  );
@@ -27227,9 +27345,9 @@ var AppLayoutDrawerRoot = ({
27227
27345
  }
27228
27346
  }));
27229
27347
  _react.useEffect.call(void 0, () => {
27230
- if (open) _optionalChain([coordination, 'optionalAccess', _581 => _581.notifyDrawerDidOpen, 'call', _582 => _582(selfHandle)]);
27348
+ if (open) _optionalChain([coordination, 'optionalAccess', _588 => _588.notifyDrawerDidOpen, 'call', _589 => _589(selfHandle)]);
27231
27349
  }, [open, coordination, selfHandle]);
27232
- _react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _583 => _583.registerDrawer, 'call', _584 => _584(selfHandle)]), [coordination, selfHandle]);
27350
+ _react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _590 => _590.registerDrawer, 'call', _591 => _591(selfHandle)]), [coordination, selfHandle]);
27233
27351
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOpenContext.Provider, { value: open, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Root, { ...rest, open, onOpenChange: handleOpenChange, modal, children }) });
27234
27352
  };
27235
27353
  AppLayoutDrawerRoot.displayName = "AppLayoutDrawer";
@@ -27578,10 +27696,10 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
27578
27696
  ),
27579
27697
  style,
27580
27698
  onInteractOutside: (event) => {
27581
- _optionalChain([onInteractOutside, 'optionalCall', _585 => _585(event)]);
27699
+ _optionalChain([onInteractOutside, 'optionalCall', _592 => _592(event)]);
27582
27700
  if (event.defaultPrevented) return;
27583
27701
  const target = event.target;
27584
- const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _586 => _586.contains, 'call', _587 => _587(target)]);
27702
+ const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _593 => _593.contains, 'call', _594 => _594(target)]);
27585
27703
  if (!isInsideContainer) {
27586
27704
  event.preventDefault();
27587
27705
  return;
@@ -27685,7 +27803,7 @@ function NotificationTile({
27685
27803
  if (!counting) return void 0;
27686
27804
  const remaining = Math.max(0, liveDurationMs - initialElapsed);
27687
27805
  const timer = window.setTimeout(() => {
27688
- _optionalChain([onSettle, 'optionalCall', _588 => _588(id)]);
27806
+ _optionalChain([onSettle, 'optionalCall', _595 => _595(id)]);
27689
27807
  }, remaining);
27690
27808
  return () => window.clearTimeout(timer);
27691
27809
  }, [id, counting, initialElapsed, liveDurationMs, onSettle]);
@@ -27725,7 +27843,7 @@ function NotificationTile({
27725
27843
  active: isLive,
27726
27844
  label: "Dismiss notification",
27727
27845
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { size: 16 }),
27728
- onClick: () => _optionalChain([onSettle, 'optionalCall', _589 => _589(id)])
27846
+ onClick: () => _optionalChain([onSettle, 'optionalCall', _596 => _596(id)])
27729
27847
  },
27730
27848
  {
27731
27849
  active: !isLive,
@@ -27923,7 +28041,7 @@ function DrawerScrollList({
27923
28041
  if (!sentinel || !root) return void 0;
27924
28042
  const observer = new IntersectionObserver(
27925
28043
  (entries) => {
27926
- if (_optionalChain([entries, 'access', _590 => _590[0], 'optionalAccess', _591 => _591.isIntersecting])) _optionalChain([loadMoreRef, 'access', _592 => _592.current, 'optionalCall', _593 => _593()]);
28044
+ if (_optionalChain([entries, 'access', _597 => _597[0], 'optionalAccess', _598 => _598.isIntersecting])) _optionalChain([loadMoreRef, 'access', _599 => _599.current, 'optionalCall', _600 => _600()]);
27927
28045
  },
27928
28046
  { root, rootMargin: loadMoreRootMargin }
27929
28047
  );
@@ -27938,7 +28056,7 @@ function DrawerScrollList({
27938
28056
  className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
27939
28057
  children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
27940
28058
  unreadNotifications.map((n) => {
27941
- const custom = _optionalChain([renderTile, 'optionalCall', _594 => _594(n, { onComplete, onSettle, liveDurationMs })]);
28059
+ const custom = _optionalChain([renderTile, 'optionalCall', _601 => _601(n, { onComplete, onSettle, liveDurationMs })]);
27942
28060
  if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
27943
28061
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
27944
28062
  NotificationTile,
@@ -28058,7 +28176,7 @@ function NotificationPopups({
28058
28176
  }) {
28059
28177
  const ctx = useOptionalNotifications();
28060
28178
  const [now, setNow] = _react.useState.call(void 0, () => Date.now());
28061
- const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _595 => _595.notifications, 'access', _596 => _596.some, 'call', _597 => _597((n) => !n.read && !n.settled)]));
28179
+ const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _602 => _602.notifications, 'access', _603 => _603.some, 'call', _604 => _604((n) => !n.read && !n.settled)]));
28062
28180
  _react.useEffect.call(void 0, () => {
28063
28181
  if (!hasAgeingNotifications) return void 0;
28064
28182
  const id = setInterval(() => setNow(Date.now()), 500);
@@ -28101,7 +28219,7 @@ function NotificationPopups({
28101
28219
  className
28102
28220
  ),
28103
28221
  children: live.map((n) => {
28104
- const custom = _optionalChain([renderTile, 'optionalCall', _598 => _598(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
28222
+ const custom = _optionalChain([renderTile, 'optionalCall', _605 => _605(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
28105
28223
  if (custom) {
28106
28224
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
28107
28225
  }
@@ -28148,21 +28266,21 @@ function isApprovalNotificationType(type) {
28148
28266
  return typeof type === "string" && APPROVAL_REQUEST_TYPES.has(type);
28149
28267
  }
28150
28268
  function isApprovalNotification(notification) {
28151
- return isApprovalNotificationType(_optionalChain([notification, 'access', _599 => _599.meta, 'optionalAccess', _600 => _600.notificationType]));
28269
+ return isApprovalNotificationType(_optionalChain([notification, 'access', _606 => _606.meta, 'optionalAccess', _607 => _607.notificationType]));
28152
28270
  }
28153
28271
  function getApprovalMeta(notification) {
28154
28272
  if (!isApprovalNotification(notification)) return null;
28155
28273
  const meta = notification.meta;
28156
- const approvalRequestId = _optionalChain([meta, 'optionalAccess', _601 => _601.approvalRequestId]);
28157
- const toolCalls = _optionalChain([meta, 'optionalAccess', _602 => _602.toolCalls]);
28274
+ const approvalRequestId = _optionalChain([meta, 'optionalAccess', _608 => _608.approvalRequestId]);
28275
+ const toolCalls = _optionalChain([meta, 'optionalAccess', _609 => _609.toolCalls]);
28158
28276
  if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
28159
28277
  return {
28160
28278
  approvalRequestId,
28161
- dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _603 => _603.dialogId]), () => ( null)),
28162
- ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _604 => _604.ticketId]), () => ( null)),
28163
- approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _605 => _605.approvalType]), () => ( null)),
28164
- resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _606 => _606.resolution]), () => ( null)),
28165
- resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _607 => _607.resolvedByName]), () => ( null)),
28279
+ dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _610 => _610.dialogId]), () => ( null)),
28280
+ ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _611 => _611.ticketId]), () => ( null)),
28281
+ approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _612 => _612.approvalType]), () => ( null)),
28282
+ resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _613 => _613.resolution]), () => ( null)),
28283
+ resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _614 => _614.resolvedByName]), () => ( null)),
28166
28284
  toolCalls
28167
28285
  };
28168
28286
  }
@@ -28213,7 +28331,7 @@ function ApprovalRequestNotificationTile({
28213
28331
  const [processing, setProcessing] = _react.useState.call(void 0, false);
28214
28332
  const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
28215
28333
  const approval = getApprovalMeta(notification);
28216
- const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _608 => _608.resolution]));
28334
+ const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _615 => _615.resolution]));
28217
28335
  const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
28218
28336
  const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
28219
28337
  const { innerRef, containerStyle } = _chunkOFLGZRJWcjs.useCollapsible.call(void 0, { expanded });
@@ -28541,7 +28659,7 @@ function TimeTrackerPanel({
28541
28659
  error: showFieldError ? "Required if no notes added" : void 0,
28542
28660
  disableClientFilter: !!onTicketSearch,
28543
28661
  onInputChange: (value, reason) => {
28544
- if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _609 => _609(value)]);
28662
+ if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _616 => _616(value)]);
28545
28663
  }
28546
28664
  }
28547
28665
  ),
@@ -28556,7 +28674,7 @@ function TimeTrackerPanel({
28556
28674
  disabled: customerLocked,
28557
28675
  disableClientFilter: !!onCustomerSearch,
28558
28676
  onInputChange: (value, reason) => {
28559
- if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _610 => _610(value)]);
28677
+ if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _617 => _617(value)]);
28560
28678
  },
28561
28679
  startAdornment: customerStartAdornment,
28562
28680
  renderOption: renderCustomerOption
@@ -28658,7 +28776,7 @@ function LastEntryRow({ entry, onClick }) {
28658
28776
  {
28659
28777
  variant: "outline",
28660
28778
  size: "icon",
28661
- onClick: () => _optionalChain([onClick, 'optionalCall', _611 => _611(entry)]),
28779
+ onClick: () => _optionalChain([onClick, 'optionalCall', _618 => _618(entry)]),
28662
28780
  disabled: !onClick,
28663
28781
  "aria-label": `Open entry: ${entry.title}`,
28664
28782
  className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
@@ -28742,28 +28860,28 @@ function HeaderButton({
28742
28860
  function TimeTrackerHeaderButton({ className, disabled }) {
28743
28861
  const ctx = useOptionalTimeTracker();
28744
28862
  const elapsedLabel = useTrackerClock({
28745
- status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _612 => _612.status]), () => ( "ready")),
28746
- runningSince: _optionalChain([ctx, 'optionalAccess', _613 => _613.runningSince]),
28747
- accumulatedMs: _optionalChain([ctx, 'optionalAccess', _614 => _614.accumulatedMs])
28863
+ status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _619 => _619.status]), () => ( "ready")),
28864
+ runningSince: _optionalChain([ctx, 'optionalAccess', _620 => _620.runningSince]),
28865
+ accumulatedMs: _optionalChain([ctx, 'optionalAccess', _621 => _621.accumulatedMs])
28748
28866
  });
28749
28867
  const layoutContainer = useAppLayoutDrawerContainer();
28750
28868
  const coordination = useAppLayoutDrawerCoordination();
28751
- const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _615 => _615.isOpen]), () => ( false));
28869
+ const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _622 => _622.isOpen]), () => ( false));
28752
28870
  const isOpenRef = _react.useRef.call(void 0, isOpen);
28753
- const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _616 => _616.close]));
28871
+ const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _623 => _623.close]));
28754
28872
  _react.useEffect.call(void 0, () => {
28755
28873
  isOpenRef.current = isOpen;
28756
- closeRef.current = _optionalChain([ctx, 'optionalAccess', _617 => _617.close]);
28874
+ closeRef.current = _optionalChain([ctx, 'optionalAccess', _624 => _624.close]);
28757
28875
  });
28758
28876
  const [selfHandle] = _react.useState.call(void 0, () => ({
28759
28877
  close: () => {
28760
- if (isOpenRef.current) _optionalChain([closeRef, 'access', _618 => _618.current, 'optionalCall', _619 => _619()]);
28878
+ if (isOpenRef.current) _optionalChain([closeRef, 'access', _625 => _625.current, 'optionalCall', _626 => _626()]);
28761
28879
  }
28762
28880
  }));
28763
28881
  _react.useEffect.call(void 0, () => {
28764
- if (isOpen) _optionalChain([coordination, 'optionalAccess', _620 => _620.notifyDrawerDidOpen, 'call', _621 => _621(selfHandle)]);
28882
+ if (isOpen) _optionalChain([coordination, 'optionalAccess', _627 => _627.notifyDrawerDidOpen, 'call', _628 => _628(selfHandle)]);
28765
28883
  }, [isOpen, coordination, selfHandle]);
28766
- _react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _622 => _622.registerDrawer, 'call', _623 => _623(selfHandle)]), [coordination, selfHandle]);
28884
+ _react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _629 => _629.registerDrawer, 'call', _630 => _630(selfHandle)]), [coordination, selfHandle]);
28767
28885
  if (!ctx) return null;
28768
28886
  const { open, close, status } = ctx;
28769
28887
  const isPaused = status === "paused";
@@ -28895,7 +29013,7 @@ function autoScrollAncestors(element) {
28895
29013
 
28896
29014
  // src/components/features/board/aim.ts
28897
29015
  var _closestedge = require('@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge');
28898
- var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access', _624 => _624.find, 'call', _625 => _625((c) => c.id === columnId), 'optionalAccess', _626 => _626.tickets]), () => ( []))).filter((t) => t.id !== ticketId);
29016
+ var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access', _631 => _631.find, 'call', _632 => _632((c) => c.id === columnId), 'optionalAccess', _633 => _633.tickets]), () => ( []))).filter((t) => t.id !== ticketId);
28899
29017
  function laneOf(columns, ticketId) {
28900
29018
  return _nullishCoalesce(columns.find((c) => c.tickets.some((t) => t.id === ticketId)), () => ( null));
28901
29019
  }
@@ -28939,11 +29057,11 @@ function aimToChange(columns, ticketId, aim) {
28939
29057
  const lane = laneOf(columns, ticketId);
28940
29058
  if (!lane) return null;
28941
29059
  const others = othersIn(columns, aim.columnId, ticketId);
28942
- const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _627 => _627[aim.index - 1], 'optionalAccess', _628 => _628.id]), () => ( null));
28943
- const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _629 => _629[aim.index], 'optionalAccess', _630 => _630.id]), () => ( null));
29060
+ const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _634 => _634[aim.index - 1], 'optionalAccess', _635 => _635.id]), () => ( null));
29061
+ const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _636 => _636[aim.index], 'optionalAccess', _637 => _637.id]), () => ( null));
28944
29062
  if (lane.id === aim.columnId) {
28945
29063
  const currentIndex = lane.tickets.findIndex((t) => t.id === ticketId);
28946
- if ((_nullishCoalesce(_optionalChain([lane, 'access', _631 => _631.tickets, 'access', _632 => _632[currentIndex - 1], 'optionalAccess', _633 => _633.id]), () => ( null))) === afterTicketId) return null;
29064
+ if ((_nullishCoalesce(_optionalChain([lane, 'access', _638 => _638.tickets, 'access', _639 => _639[currentIndex - 1], 'optionalAccess', _640 => _640.id]), () => ( null))) === afterTicketId) return null;
28947
29065
  }
28948
29066
  return { ticketId, fromColumnId: lane.id, toColumnId: aim.columnId, afterTicketId, beforeTicketId };
28949
29067
  }
@@ -29214,14 +29332,14 @@ function useIsLanding(ticketId) {
29214
29332
  return _react.useContext.call(void 0, LandingCardContext) === ticketId;
29215
29333
  }
29216
29334
  function hasMoveSettled(columns, move) {
29217
- const tickets = _optionalChain([columns, 'access', _634 => _634.find, 'call', _635 => _635((c) => c.id === move.toColumnId), 'optionalAccess', _636 => _636.tickets]);
29335
+ const tickets = _optionalChain([columns, 'access', _641 => _641.find, 'call', _642 => _642((c) => c.id === move.toColumnId), 'optionalAccess', _643 => _643.tickets]);
29218
29336
  if (!tickets) return false;
29219
29337
  const index = tickets.findIndex((t) => t.id === move.ticketId);
29220
29338
  if (index < 0) return false;
29221
29339
  if (move.fromColumnId === move.toColumnId) {
29222
- return (_nullishCoalesce(_optionalChain([tickets, 'access', _637 => _637[index - 1], 'optionalAccess', _638 => _638.id]), () => ( null))) === move.afterTicketId;
29340
+ return (_nullishCoalesce(_optionalChain([tickets, 'access', _644 => _644[index - 1], 'optionalAccess', _645 => _645.id]), () => ( null))) === move.afterTicketId;
29223
29341
  }
29224
- return !_optionalChain([columns, 'access', _639 => _639.find, 'call', _640 => _640((c) => c.id === move.fromColumnId), 'optionalAccess', _641 => _641.tickets, 'access', _642 => _642.some, 'call', _643 => _643((t) => t.id === move.ticketId)]);
29342
+ return !_optionalChain([columns, 'access', _646 => _646.find, 'call', _647 => _647((c) => c.id === move.fromColumnId), 'optionalAccess', _648 => _648.tickets, 'access', _649 => _649.some, 'call', _650 => _650((t) => t.id === move.ticketId)]);
29225
29343
  }
29226
29344
 
29227
29345
  // src/components/features/board/ticket-card.tsx
@@ -29246,9 +29364,9 @@ var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] r
29246
29364
  function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
29247
29365
  const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
29248
29366
  const newMessageTextColor = columnColor ? _chunkOFLGZRJWcjs.getReadableTextColor.call(void 0, columnColor) : void 0;
29249
- const showDeviceRow = !!(_optionalChain([ticket, 'access', _644 => _644.deviceHostnames, 'optionalAccess', _645 => _645.length]) || ticket.organizationName);
29250
- const deviceText = [_optionalChain([ticket, 'access', _646 => _646.deviceHostnames, 'optionalAccess', _647 => _647.join, 'call', _648 => _648(", ")]), ticket.organizationName].filter(Boolean).join(", ");
29251
- const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _649 => _649.assignees, 'optionalAccess', _650 => _650.length]) || renderAssignSlot);
29367
+ const showDeviceRow = !!(_optionalChain([ticket, 'access', _651 => _651.deviceHostnames, 'optionalAccess', _652 => _652.length]) || ticket.organizationName);
29368
+ const deviceText = [_optionalChain([ticket, 'access', _653 => _653.deviceHostnames, 'optionalAccess', _654 => _654.join, 'call', _655 => _655(", ")]), ticket.organizationName].filter(Boolean).join(", ");
29369
+ const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _656 => _656.assignees, 'optionalAccess', _657 => _657.length]) || renderAssignSlot);
29252
29370
  const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
29253
29371
  ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
29254
29372
  _chunkYRTMAXLEcjs.Flag02Icon,
@@ -29257,7 +29375,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
29257
29375
  "aria-label": `Priority: ${ticket.priority}`
29258
29376
  }
29259
29377
  ),
29260
- renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _651 => _651.assignees, 'optionalAccess', _652 => _652.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
29378
+ renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _658 => _658.assignees, 'optionalAccess', _659 => _659.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
29261
29379
  ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map(
29262
29380
  (a) => a.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
29263
29381
  DeletedUserAvatar,
@@ -29298,7 +29416,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
29298
29416
  ] }),
29299
29417
  rightSection
29300
29418
  ] }),
29301
- _optionalChain([ticket, 'access', _653 => _653.tags, 'optionalAccess', _654 => _654.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
29419
+ _optionalChain([ticket, 'access', _660 => _660.tags, 'optionalAccess', _661 => _661.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
29302
29420
  metaLabel && (tooltipLabel ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkOFLGZRJWcjs.Tooltip, { children: [
29303
29421
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: metaLabel }) }),
29304
29422
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOFLGZRJWcjs.TooltipContent, { children: tooltipLabel })
@@ -29365,7 +29483,7 @@ var TicketCard = _react.memo.call(void 0, function TicketCardImpl({
29365
29483
  const isLanding = useIsLanding(ticket.id);
29366
29484
  const aim = useDropAim();
29367
29485
  const closestEdge = aim && aim.columnId === columnId && aim.ticketId === ticket.id ? aim.edge : null;
29368
- const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _655 => _655.ticket, 'access', _656 => _656.id]) === ticket.id;
29486
+ const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _662 => _662.ticket, 'access', _663 => _663.id]) === ticket.id;
29369
29487
  const lift = useBoardLift();
29370
29488
  const handleKeyDown = (e) => {
29371
29489
  if (e.key !== " " || dragDisabled || !lift) return;
@@ -29618,7 +29736,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
29618
29736
  // large ones like the only thing that did.
29619
29737
  getData: ({ input, element: lane, source }) => {
29620
29738
  const nearest = nearestCardIn(lane, input.clientY, String(source.data.ticketId));
29621
- const ticketId = _optionalChain([nearest, 'optionalAccess', _657 => _657.dataset, 'access', _658 => _658.ticketId]);
29739
+ const ticketId = _optionalChain([nearest, 'optionalAccess', _664 => _664.dataset, 'access', _665 => _665.ticketId]);
29622
29740
  if (!nearest || !ticketId) return { type: "column", columnId: column.id };
29623
29741
  return _closestedge.attachClosestEdge.call(void 0,
29624
29742
  { type: "ticket", ticketId, columnId: column.id },
@@ -29630,7 +29748,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
29630
29748
  onDrop: () => setIsOver(false)
29631
29749
  });
29632
29750
  }, [column.id, column.dropDisabled, column.allowedFromColumns, collapsed, touchMode]);
29633
- const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _659 => _659(column.id)]), [onToggleCollapse, column.id]);
29751
+ const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _666 => _666(column.id)]), [onToggleCollapse, column.id]);
29634
29752
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
29635
29753
  "div",
29636
29754
  {
@@ -29709,7 +29827,7 @@ function ColumnBody({
29709
29827
  const observer = new IntersectionObserver(
29710
29828
  (entries) => {
29711
29829
  if (entries.some((e) => e.isIntersecting)) {
29712
- _optionalChain([loadMoreRef, 'access', _660 => _660.current, 'optionalCall', _661 => _661(columnIdRef.current)]);
29830
+ _optionalChain([loadMoreRef, 'access', _667 => _667.current, 'optionalCall', _668 => _668(columnIdRef.current)]);
29713
29831
  }
29714
29832
  },
29715
29833
  { root, rootMargin: loadMoreRootMargin }
@@ -29734,7 +29852,7 @@ function ColumnBody({
29734
29852
  ticket: t,
29735
29853
  columnId: column.id,
29736
29854
  columnColor: column.color,
29737
- href: _optionalChain([getTicketHref, 'optionalCall', _662 => _662(t.id)]),
29855
+ href: _optionalChain([getTicketHref, 'optionalCall', _669 => _669(t.id)]),
29738
29856
  renderAssignSlot,
29739
29857
  onApprove,
29740
29858
  onReject,
@@ -29911,7 +30029,7 @@ function DragBoard({
29911
30029
  const [landing, setLanding] = _react.useState.call(void 0, null);
29912
30030
  const landingTimer = _react.useRef.call(void 0, null);
29913
30031
  const pointRef = _react.useRef.call(void 0, { x: 0, y: 0 });
29914
- const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access', _663 => _663.find, 'call', _664 => _664((c) => c.id === columnId), 'optionalAccess', _665 => _665.label]), () => ( columnId)), [view]);
30032
+ const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access', _670 => _670.find, 'call', _671 => _671((c) => c.id === columnId), 'optionalAccess', _672 => _672.label]), () => ( columnId)), [view]);
29915
30033
  const acceptsLifted = _react.useCallback.call(void 0,
29916
30034
  (fromColumnId) => (column) => {
29917
30035
  if (column.dropDisabled || collapsed[column.id]) return false;
@@ -29925,7 +30043,7 @@ function DragBoard({
29925
30043
  const start = initialAim(view, ticketId);
29926
30044
  if (!start) return;
29927
30045
  setLifted({ ticketId, aim: start });
29928
- const title = _nullishCoalesce(_optionalChain([laneOf, 'call', _666 => _666(view, ticketId), 'optionalAccess', _667 => _667.tickets, 'access', _668 => _668.find, 'call', _669 => _669((t) => t.id === ticketId), 'optionalAccess', _670 => _670.title]), () => ( "Ticket"));
30046
+ const title = _nullishCoalesce(_optionalChain([laneOf, 'call', _673 => _673(view, ticketId), 'optionalAccess', _674 => _674.tickets, 'access', _675 => _675.find, 'call', _676 => _676((t) => t.id === ticketId), 'optionalAccess', _677 => _677.title]), () => ( "Ticket"));
29929
30047
  setAnnouncement(`${title} lifted. Use the arrow keys to move it, space to drop it, escape to put it back.`);
29930
30048
  },
29931
30049
  [view]
@@ -29950,11 +30068,11 @@ function DragBoard({
29950
30068
  const walk = _react.useCallback.call(void 0,
29951
30069
  (key) => {
29952
30070
  if (!lifted) return;
29953
- const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _671 => _671(view, lifted.ticketId), 'optionalAccess', _672 => _672.id]), () => ( lifted.aim.columnId));
30071
+ const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _678 => _678(view, lifted.ticketId), 'optionalAccess', _679 => _679.id]), () => ( lifted.aim.columnId));
29954
30072
  const next = moveAim(view, lifted.ticketId, lifted.aim, key, acceptsLifted(from));
29955
30073
  if (next === lifted.aim) return;
29956
30074
  setLifted({ ...lifted, aim: next });
29957
- const total = (_nullishCoalesce(_optionalChain([view, 'access', _673 => _673.find, 'call', _674 => _674((c) => c.id === next.columnId), 'optionalAccess', _675 => _675.tickets]), () => ( []))).filter(
30075
+ const total = (_nullishCoalesce(_optionalChain([view, 'access', _680 => _680.find, 'call', _681 => _681((c) => c.id === next.columnId), 'optionalAccess', _682 => _682.tickets]), () => ( []))).filter(
29958
30076
  (t) => t.id !== lifted.ticketId
29959
30077
  ).length;
29960
30078
  setAnnouncement(`${laneLabel(next.columnId)}, position ${next.index + 1} of ${total + 1}.`);
@@ -29981,11 +30099,11 @@ function DragBoard({
29981
30099
  }, [lifted, drop, walk]);
29982
30100
  _react.useEffect.call(void 0, () => {
29983
30101
  if (!lifted) return;
29984
- _optionalChain([boardRef, 'access', _676 => _676.current, 'optionalAccess', _677 => _677.querySelector, 'call', _678 => _678(`[${DROP_LINE_ATTRIBUTE}]`), 'optionalAccess', _679 => _679.scrollIntoView, 'call', _680 => _680({ block: "nearest", inline: "nearest" })]);
30102
+ _optionalChain([boardRef, 'access', _683 => _683.current, 'optionalAccess', _684 => _684.querySelector, 'call', _685 => _685(`[${DROP_LINE_ATTRIBUTE}]`), 'optionalAccess', _686 => _686.scrollIntoView, 'call', _687 => _687({ block: "nearest", inline: "nearest" })]);
29985
30103
  }, [lifted]);
29986
30104
  const keyboardAim = _react.useMemo.call(void 0, () => {
29987
30105
  if (!lifted) return null;
29988
- const ticket = _optionalChain([laneOf, 'call', _681 => _681(view, lifted.ticketId), 'optionalAccess', _682 => _682.tickets, 'access', _683 => _683.find, 'call', _684 => _684((t) => t.id === lifted.ticketId)]);
30106
+ const ticket = _optionalChain([laneOf, 'call', _688 => _688(view, lifted.ticketId), 'optionalAccess', _689 => _689.tickets, 'access', _690 => _690.find, 'call', _691 => _691((t) => t.id === lifted.ticketId)]);
29989
30107
  if (!ticket) return null;
29990
30108
  const anchor = aimToChange(view, lifted.ticketId, lifted.aim) ? aimAnchor(view, lifted.ticketId, lifted.aim) : { ticketId: null, edge: null };
29991
30109
  return { columnId: lifted.aim.columnId, ...anchor, ticket };
@@ -30007,7 +30125,7 @@ function DragBoard({
30007
30125
  return { columnId: slot.columnId, ...anchor, ticket };
30008
30126
  };
30009
30127
  const aimAt = (source, targets) => {
30010
- const next = readAim(source, _optionalChain([targets, 'access', _685 => _685[0], 'optionalAccess', _686 => _686.data]));
30128
+ const next = readAim(source, _optionalChain([targets, 'access', _692 => _692[0], 'optionalAccess', _693 => _693.data]));
30011
30129
  setAim((prev) => isSameAim(prev, next) ? prev : next);
30012
30130
  };
30013
30131
  return _combine.combine.call(void 0,
@@ -30036,7 +30154,7 @@ function DragBoard({
30036
30154
  setLanding(null);
30037
30155
  dragGeometry.current = {
30038
30156
  ticket,
30039
- columnColor: _optionalChain([columnsRef, 'access', _687 => _687.current, 'access', _688 => _688.find, 'call', _689 => _689((c) => c.id === source.data.columnId), 'optionalAccess', _690 => _690.color]),
30157
+ columnColor: _optionalChain([columnsRef, 'access', _694 => _694.current, 'access', _695 => _695.find, 'call', _696 => _696((c) => c.id === source.data.columnId), 'optionalAccess', _697 => _697.color]),
30040
30158
  width: rect.width,
30041
30159
  grabX: clientX - rect.left,
30042
30160
  grabY: clientY - rect.top
@@ -30053,7 +30171,7 @@ function DragBoard({
30053
30171
  setAim(null);
30054
30172
  const change = resolveBoardDrop(columnsRef.current, {
30055
30173
  source: source.data,
30056
- target: _optionalChain([location, 'access', _691 => _691.current, 'access', _692 => _692.dropTargets, 'access', _693 => _693[0], 'optionalAccess', _694 => _694.data])
30174
+ target: _optionalChain([location, 'access', _698 => _698.current, 'access', _699 => _699.dropTargets, 'access', _700 => _700[0], 'optionalAccess', _701 => _701.data])
30057
30175
  });
30058
30176
  if (!change) return;
30059
30177
  setPendingMove({
@@ -30086,7 +30204,7 @@ function DragBoard({
30086
30204
  return void 0;
30087
30205
  }
30088
30206
  const to = card.getBoundingClientRect();
30089
- const lane = _optionalChain([nearestScrollableAncestor, 'call', _695 => _695(card), 'optionalAccess', _696 => _696.getBoundingClientRect, 'call', _697 => _697()]);
30207
+ const lane = _optionalChain([nearestScrollableAncestor, 'call', _702 => _702(card), 'optionalAccess', _703 => _703.getBoundingClientRect, 'call', _704 => _704()]);
30090
30208
  if (lane && (to.top < lane.top || to.bottom > lane.bottom)) {
30091
30209
  finish();
30092
30210
  return void 0;
@@ -30145,8 +30263,8 @@ function DragBoard({
30145
30263
  children: view.map((column, i) => {
30146
30264
  const prev = view[i - 1];
30147
30265
  const next = view[i + 1];
30148
- const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _698 => _698.system]));
30149
- const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _699 => _699.system]));
30266
+ const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _705 => _705.system]));
30267
+ const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _706 => _706.system]));
30150
30268
  const showGap = i > 0 && !joinLeft;
30151
30269
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
30152
30270
  showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
@@ -30327,13 +30445,13 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
30327
30445
  const [flipTick, setFlipTick] = _react.useState.call(void 0, 0);
30328
30446
  const flipTimer = _react.useRef.call(void 0, null);
30329
30447
  const readItems = _react.useCallback.call(void 0,
30330
- () => [..._nullishCoalesce(_optionalChain([listRef, 'access', _700 => _700.current, 'optionalAccess', _701 => _701.querySelectorAll, 'call', _702 => _702(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
30448
+ () => [..._nullishCoalesce(_optionalChain([listRef, 'access', _707 => _707.current, 'optionalAccess', _708 => _708.querySelectorAll, 'call', _709 => _709(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
30331
30449
  []
30332
30450
  );
30333
30451
  const reorder = _react.useCallback.call(void 0,
30334
30452
  (from, to) => {
30335
30453
  if (from === to) return;
30336
- const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _703 => _703.current, 'optionalCall', _704 => _704(from)]), () => ( "Item"));
30454
+ const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _710 => _710.current, 'optionalCall', _711 => _711(from)]), () => ( "Item"));
30337
30455
  setAnnouncement(`${label} moved to position ${to + 1} of ${readItems().length}.`);
30338
30456
  onReorderRef.current(from, to);
30339
30457
  },
@@ -30421,7 +30539,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
30421
30539
  moving.push(item);
30422
30540
  }
30423
30541
  if (moving.length === 0) return;
30424
- void _optionalChain([listRef, 'access', _705 => _705.current, 'optionalAccess', _706 => _706.offsetHeight]);
30542
+ void _optionalChain([listRef, 'access', _712 => _712.current, 'optionalAccess', _713 => _713.offsetHeight]);
30425
30543
  for (const item of moving) {
30426
30544
  item.style.transition = `transform ${DROP_MS2}ms ${EASING}`;
30427
30545
  item.style.transform = "";
@@ -30458,8 +30576,8 @@ function SortableMoveButtons({ index, count, label, className }) {
30458
30576
  if (to < 0 || to >= count) return;
30459
30577
  reorder(index, to);
30460
30578
  requestAnimationFrame(() => {
30461
- if (step === -1 && to === 0) _optionalChain([downRef, 'access', _707 => _707.current, 'optionalAccess', _708 => _708.focus, 'call', _709 => _709()]);
30462
- if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _710 => _710.current, 'optionalAccess', _711 => _711.focus, 'call', _712 => _712()]);
30579
+ if (step === -1 && to === 0) _optionalChain([downRef, 'access', _714 => _714.current, 'optionalAccess', _715 => _715.focus, 'call', _716 => _716()]);
30580
+ if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _717 => _717.current, 'optionalAccess', _718 => _718.focus, 'call', _719 => _719()]);
30463
30581
  });
30464
30582
  };
30465
30583
  const subject = _nullishCoalesce(label, () => ( "item"));
@@ -30507,7 +30625,7 @@ function useSortableItem() {
30507
30625
  const [handle, setHandle] = _react.useState.call(void 0, null);
30508
30626
  const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
30509
30627
  const itemRef = _react.useCallback.call(void 0, (node) => {
30510
- _optionalChain([node, 'optionalAccess', _713 => _713.setAttribute, 'call', _714 => _714(SORTABLE_ITEM_ATTRIBUTE, "")]);
30628
+ _optionalChain([node, 'optionalAccess', _720 => _720.setAttribute, 'call', _721 => _721(SORTABLE_ITEM_ATTRIBUTE, "")]);
30511
30629
  setItem(node);
30512
30630
  }, []);
30513
30631
  _react.useEffect.call(void 0, () => {
@@ -30537,7 +30655,7 @@ function useSortableItem() {
30537
30655
  if (from < 0 || to < 0 || to >= items.length) return;
30538
30656
  event.preventDefault();
30539
30657
  reorder(from, to);
30540
- requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _715 => _715.focus, 'call', _716 => _716()]));
30658
+ requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _722 => _722.focus, 'call', _723 => _723()]));
30541
30659
  },
30542
30660
  [inert, readItems, reorder, handle]
30543
30661
  );
@@ -30559,7 +30677,7 @@ function TicketStatusConfigList({
30559
30677
  onReorder,
30560
30678
  getItemLabel,
30561
30679
  className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className),
30562
- children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _717 => _717(index)]), children: (args) => renderRow(item, args) }, item.id))
30680
+ children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _724 => _724(index)]), children: (args) => renderRow(item, args) }, item.id))
30563
30681
  }
30564
30682
  );
30565
30683
  }
@@ -31228,4 +31346,4 @@ function SortableRow({
31228
31346
 
31229
31347
 
31230
31348
  exports.AllowedDomainsInput = AllowedDomainsInput; exports.AnnouncementBarView = AnnouncementBarView; exports.HiddenTagsPopup = HiddenTagsPopup; exports.TruncateText = TruncateText; exports.Autocomplete = Autocomplete; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.InfoHint = InfoHint; exports.Field = Field; exports.HoneypotField = HoneypotField; exports.JsonDetailList = JsonDetailList; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.DeletedUserAvatar = DeletedUserAvatar; exports.SearchableSelect = SearchableSelect; exports.AssigneeDropdown = AssigneeDropdown; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoDataMessage = NoDataMessage; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; exports.AdminFormModal = AdminFormModal; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.FullscreenSwitchController = FullscreenSwitchController; exports.EmbedIframe = EmbedIframe; exports.EmbedViewerFrame = EmbedViewerFrame; exports.ClaudeEmbed = ClaudeEmbed; exports.FigmaEmbed = FigmaEmbed; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.MarkdownImage = MarkdownImage; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.MediaCarousel = MediaCarousel; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.StatusIndicator = StatusIndicator; exports.BackButton = BackButton; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.ENTITY_QUOTES_TITLE = ENTITY_QUOTES_TITLE; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.normalizeSchedulingSlug = normalizeSchedulingSlug; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.PersonCell = PersonCell; exports.PeopleCell = PeopleCell; exports.TitleContentBlock = TitleContentBlock; exports.TouchFriendlyTooltip = TouchFriendlyTooltip; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.CompactAuthShell = CompactAuthShell; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.NoAccountNotice = NoAccountNotice; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.SsoJoinForm = SsoJoinForm; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.ContentLoadingContainer = ContentLoadingContainer; exports.useContentLoading = useContentLoading; exports.ParagraphSkeleton = ParagraphSkeleton; exports.ListSkeleton = ListSkeleton; exports.TableSkeleton = TableSkeleton; exports.FormSkeleton = FormSkeleton; exports.NavigationSkeleton = NavigationSkeleton; exports.ProfileSkeleton = ProfileSkeleton; exports.CommentSkeleton = CommentSkeleton; exports.FeatureListSkeleton = FeatureListSkeleton; exports.TimelineSkeleton = TimelineSkeleton; exports.PricingSkeleton = PricingSkeleton; exports.ProfileLoadingSkeleton = ProfileLoadingSkeleton; exports.MspProfileFormSkeleton = MspProfileFormSkeleton; exports.CategoryCardSkeleton = CategoryCardSkeleton; exports.CategoryVendorSelectorSkeleton = CategoryVendorSelectorSkeleton; exports.WizardLayoutSkeleton = WizardLayoutSkeleton; exports.MarginReportSkeleton = MarginReportSkeleton; exports.UsersGridSkeleton = UsersGridSkeleton; exports.DynamicSkeleton = DynamicSkeleton; exports.SkeletonPresets = SkeletonPresets; exports.PlatformSkeletonContainer = PlatformSkeletonContainer; exports.ProgressiveSkeleton = ProgressiveSkeleton; exports.OrganizationIconSkeleton = OrganizationIconSkeleton; exports.OrganizationCardSkeleton = OrganizationCardSkeleton; exports.OrganizationCardSkeletonGrid = OrganizationCardSkeletonGrid; exports.DeviceCardSkeleton = DeviceCardSkeleton; exports.DeviceCardSkeletonGrid = DeviceCardSkeletonGrid; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.SOCIAL_ICON_COMPONENTS = SOCIAL_ICON_COMPONENTS; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.SubtitlesEditor = SubtitlesEditor; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.AppLayoutDrawerContainerContext = AppLayoutDrawerContainerContext; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerCoordinationContext = AppLayoutDrawerCoordinationContext; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.TICKET_APPROVAL_REQUEST_TYPE = TICKET_APPROVAL_REQUEST_TYPE; exports.MINGO_APPROVAL_REQUEST_TYPE = MINGO_APPROVAL_REQUEST_TYPE; exports.isApprovalNotificationType = isApprovalNotificationType; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.DataTableEmpty = DataTableEmpty; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.IconTile = IconTile;
31231
- //# sourceMappingURL=chunk-ERFHLMWM.cjs.map
31349
+ //# sourceMappingURL=chunk-7CVRBXLS.cjs.map