@omerdlw/base-framework 3.2.1 → 3.3.0

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 (153) hide show
  1. package/MIGRATION.md +24 -0
  2. package/dist/ambient/index.js +8 -8
  3. package/dist/ambient/server/index.js +2 -2
  4. package/dist/ambient/worker/index.js +1 -1
  5. package/dist/background/index.js +7 -7
  6. package/dist/{chunk-GQKGOLHJ.js → chunk-67MOKJFZ.js} +178 -79
  7. package/dist/chunk-67MOKJFZ.js.map +1 -0
  8. package/dist/{chunk-2BLGNT5I.js → chunk-6IP6YFQX.js} +6 -6
  9. package/dist/{chunk-2BLGNT5I.js.map → chunk-6IP6YFQX.js.map} +1 -1
  10. package/dist/{chunk-CT4UILO2.js → chunk-7VU2OAJB.js} +4 -77
  11. package/dist/chunk-7VU2OAJB.js.map +1 -0
  12. package/dist/{chunk-5H6FZW3N.js → chunk-D222OCTV.js} +15 -9
  13. package/dist/chunk-D222OCTV.js.map +1 -0
  14. package/dist/{chunk-2LGI33JP.js → chunk-GKAJ4EM2.js} +169 -73
  15. package/dist/chunk-GKAJ4EM2.js.map +1 -0
  16. package/dist/{chunk-66MHDFNF.js → chunk-HFR6YROB.js} +9 -16
  17. package/dist/chunk-HFR6YROB.js.map +1 -0
  18. package/dist/{chunk-ZE6OGGA7.js → chunk-IH3STE7W.js} +120 -49
  19. package/dist/chunk-IH3STE7W.js.map +1 -0
  20. package/dist/chunk-K3LXE6D5.js +17 -0
  21. package/dist/{chunk-IR3DCLBM.js.map → chunk-K3LXE6D5.js.map} +1 -1
  22. package/dist/{chunk-NTUQYA73.js → chunk-KOYTJW5E.js} +60 -9
  23. package/dist/chunk-KOYTJW5E.js.map +1 -0
  24. package/dist/{chunk-WYVA6AN5.js → chunk-LKYW4LH6.js} +5 -5
  25. package/dist/{chunk-WYVA6AN5.js.map → chunk-LKYW4LH6.js.map} +1 -1
  26. package/dist/{chunk-PUD4IB3L.js → chunk-NCXFWCXP.js} +497 -366
  27. package/dist/chunk-NCXFWCXP.js.map +1 -0
  28. package/dist/{chunk-J4WUCHNR.js → chunk-QRXDXAQI.js} +5 -5
  29. package/dist/{chunk-J4WUCHNR.js.map → chunk-QRXDXAQI.js.map} +1 -1
  30. package/dist/{chunk-AAT3QWHN.js → chunk-R4K6VAOK.js} +4 -4
  31. package/dist/{chunk-AAT3QWHN.js.map → chunk-R4K6VAOK.js.map} +1 -1
  32. package/dist/{chunk-OEXWOZPS.js → chunk-RGC2VFQO.js} +6 -6
  33. package/dist/chunk-RGC2VFQO.js.map +1 -0
  34. package/dist/chunk-TAWTGCWJ.js +113 -0
  35. package/dist/chunk-TAWTGCWJ.js.map +1 -0
  36. package/dist/{chunk-LTO77WSO.js → chunk-UDJ7ARCH.js} +3 -3
  37. package/dist/{chunk-LTO77WSO.js.map → chunk-UDJ7ARCH.js.map} +1 -1
  38. package/dist/{chunk-26K6W4OQ.js → chunk-UE2KBW3D.js} +7 -7
  39. package/dist/{chunk-26K6W4OQ.js.map → chunk-UE2KBW3D.js.map} +1 -1
  40. package/dist/{chunk-WBBM67WL.js → chunk-UQLTP3XB.js} +6 -6
  41. package/dist/{chunk-WBBM67WL.js.map → chunk-UQLTP3XB.js.map} +1 -1
  42. package/dist/{chunk-LA3CQ6NY.js → chunk-VNSMNGWP.js} +5 -5
  43. package/dist/{chunk-LA3CQ6NY.js.map → chunk-VNSMNGWP.js.map} +1 -1
  44. package/dist/{chunk-Y2Q74PJP.js → chunk-WQTMOUCA.js} +3 -3
  45. package/dist/{chunk-Y2Q74PJP.js.map → chunk-WQTMOUCA.js.map} +1 -1
  46. package/dist/chunk-WZ5T2NXH.js +702 -0
  47. package/dist/chunk-WZ5T2NXH.js.map +1 -0
  48. package/dist/{chunk-RF2YGILF.js → chunk-XGAYTDSI.js} +37 -37
  49. package/dist/chunk-XGAYTDSI.js.map +1 -0
  50. package/dist/{chunk-KMN6J5SL.js → chunk-YZS2B6YE.js} +6 -6
  51. package/dist/{chunk-KMN6J5SL.js.map → chunk-YZS2B6YE.js.map} +1 -1
  52. package/dist/{chunk-5GVH4BQV.js → chunk-ZXRE2KZO.js} +5 -5
  53. package/dist/{chunk-5GVH4BQV.js.map → chunk-ZXRE2KZO.js.map} +1 -1
  54. package/dist/context-menu/index.js +13 -13
  55. package/dist/controls/index.js +4 -4
  56. package/dist/core/kernel/hooks.d.ts.map +1 -1
  57. package/dist/core/kernel/operations-records.d.ts +7 -0
  58. package/dist/core/kernel/operations-records.d.ts.map +1 -1
  59. package/dist/core/kernel/operations-resolve.d.ts.map +1 -1
  60. package/dist/core/kernel/operations.d.ts.map +1 -1
  61. package/dist/core/kernel/stabilize.d.ts.map +1 -1
  62. package/dist/core/provider/index.d.ts.map +1 -1
  63. package/dist/dock/index.js +12 -12
  64. package/dist/error/index.js +5 -5
  65. package/dist/foundation/recipes/cn.d.ts +3 -3
  66. package/dist/foundation/recipes/cn.d.ts.map +1 -1
  67. package/dist/foundation/recipes/define.d.ts +2 -3
  68. package/dist/foundation/recipes/define.d.ts.map +1 -1
  69. package/dist/foundation/recipes/recipe.d.ts +4 -4
  70. package/dist/foundation/recipes/recipe.d.ts.map +1 -1
  71. package/dist/foundation/utils/scheduler.d.ts +1 -1
  72. package/dist/foundation/utils/scheduler.d.ts.map +1 -1
  73. package/dist/hooks/index.js +2 -2
  74. package/dist/index.js +22 -22
  75. package/dist/kernel/index.js +3 -3
  76. package/dist/loading/index.js +6 -6
  77. package/dist/media/index.js +4 -4
  78. package/dist/modal/index.js +11 -11
  79. package/dist/modules/ambient/analyze-ground.d.ts +42 -0
  80. package/dist/modules/ambient/analyze-ground.d.ts.map +1 -0
  81. package/dist/modules/ambient/analyze.d.ts +1 -1
  82. package/dist/modules/ambient/analyze.d.ts.map +1 -1
  83. package/dist/modules/ambient/dom.d.ts.map +1 -1
  84. package/dist/modules/ambient/hooks.d.ts.map +1 -1
  85. package/dist/modules/ambient/settings.d.ts.map +1 -1
  86. package/dist/modules/ambient/types.d.ts +16 -4
  87. package/dist/modules/ambient/types.d.ts.map +1 -1
  88. package/dist/modules/background/context.d.ts.map +1 -1
  89. package/dist/modules/dock/hooks/use-card-item-model.d.ts +4 -4
  90. package/dist/modules/dock/hooks/use-dock-height-controller.d.ts +1 -1
  91. package/dist/modules/dock/hooks/use-dock-height-controller.d.ts.map +1 -1
  92. package/dist/modules/dock/hooks/use-dock-viewport.d.ts.map +1 -1
  93. package/dist/modules/dock/lib/helpers.d.ts +1 -1
  94. package/dist/modules/dock/lib/helpers.d.ts.map +1 -1
  95. package/dist/modules/dock/lib/styles.d.ts +2 -2
  96. package/dist/modules/dock/model/layout.d.ts +19 -4
  97. package/dist/modules/dock/model/layout.d.ts.map +1 -1
  98. package/dist/modules/dock/model/paths.d.ts +7 -0
  99. package/dist/modules/dock/model/paths.d.ts.map +1 -1
  100. package/dist/modules/dock/motion.d.ts +2 -2
  101. package/dist/modules/dock/routing/navigation.d.ts.map +1 -1
  102. package/dist/modules/dock/runtime/dock.d.ts.map +1 -1
  103. package/dist/modules/dock/runtime/hooks/use-dock.d.ts.map +1 -1
  104. package/dist/modules/dock/types/card.d.ts +6 -0
  105. package/dist/modules/dock/types/card.d.ts.map +1 -1
  106. package/dist/modules/dock/types/theme.d.ts +20 -0
  107. package/dist/modules/dock/types/theme.d.ts.map +1 -1
  108. package/dist/modules/index.js +20 -20
  109. package/dist/modules/modal/module.d.ts.map +1 -1
  110. package/dist/navigation/index.js +7 -7
  111. package/dist/notification/index.js +5 -5
  112. package/dist/overlay-7QLGWHCH.js +13 -0
  113. package/dist/{overlay-YC336DAS.js.map → overlay-7QLGWHCH.js.map} +1 -1
  114. package/dist/provider/index.js +9 -8
  115. package/dist/react/ui/components/tooltip-group.d.ts +34 -0
  116. package/dist/react/ui/components/tooltip-group.d.ts.map +1 -0
  117. package/dist/react/ui/components/tooltip-placement.d.ts +43 -0
  118. package/dist/react/ui/components/tooltip-placement.d.ts.map +1 -0
  119. package/dist/react/ui/components/tooltip-slot.d.ts +23 -0
  120. package/dist/react/ui/components/tooltip-slot.d.ts.map +1 -0
  121. package/dist/react/ui/components/tooltip.d.ts +9 -7
  122. package/dist/react/ui/components/tooltip.d.ts.map +1 -1
  123. package/dist/react/ui/types.d.ts +24 -3
  124. package/dist/react/ui/types.d.ts.map +1 -1
  125. package/dist/recipes/index.js +22 -3
  126. package/dist/recipes/index.js.map +1 -1
  127. package/dist/ui/index.js +8 -8
  128. package/dist/utils/index.js +13 -7
  129. package/dist/utils/index.js.map +1 -1
  130. package/docs/architecture-and-rules.md +0 -2
  131. package/docs/core-engine.md +2 -2
  132. package/docs/design.md +17 -17
  133. package/docs/getting-started.md +6 -7
  134. package/docs/modules/ambient.md +79 -58
  135. package/docs/modules/dock.md +15 -15
  136. package/docs/modules/modal.md +2 -2
  137. package/package.json +1 -4
  138. package/dist/chunk-2LGI33JP.js.map +0 -1
  139. package/dist/chunk-37OBXNEO.js +0 -116
  140. package/dist/chunk-37OBXNEO.js.map +0 -1
  141. package/dist/chunk-5H6FZW3N.js.map +0 -1
  142. package/dist/chunk-66MHDFNF.js.map +0 -1
  143. package/dist/chunk-7RSRDKYE.js +0 -22
  144. package/dist/chunk-7RSRDKYE.js.map +0 -1
  145. package/dist/chunk-CT4UILO2.js.map +0 -1
  146. package/dist/chunk-GQKGOLHJ.js.map +0 -1
  147. package/dist/chunk-IR3DCLBM.js +0 -17
  148. package/dist/chunk-NTUQYA73.js.map +0 -1
  149. package/dist/chunk-OEXWOZPS.js.map +0 -1
  150. package/dist/chunk-PUD4IB3L.js.map +0 -1
  151. package/dist/chunk-RF2YGILF.js.map +0 -1
  152. package/dist/chunk-ZE6OGGA7.js.map +0 -1
  153. package/dist/overlay-YC336DAS.js +0 -13
@@ -1,21 +1,21 @@
1
- import { NAVIGATION_STATUS, createNavigator } from './chunk-RF2YGILF.js';
2
- import { useNotificationVisible } from './chunk-2BLGNT5I.js';
3
- import { useOptionalLoadingActions, useOptionalLoadingState } from './chunk-KMN6J5SL.js';
4
- import { useOptionalMediaState, useOptionalMediaActions } from './chunk-5GVH4BQV.js';
5
- import { Tooltip } from './chunk-37OBXNEO.js';
6
- import { defineModule, useModule, useRegistryEntries, useModuleRegistration } from './chunk-ZE6OGGA7.js';
7
- import { useRequiredContext, useIsFullscreenStateActive, useClickOutside, useStore, useGlobalEvent } from './chunk-Y2Q74PJP.js';
8
- import { Button } from './chunk-LTO77WSO.js';
9
- import { Icon, Spinner } from './chunk-CT4UILO2.js';
10
- import { cn } from './chunk-7RSRDKYE.js';
1
+ import { pathOf, createNavigator, NAVIGATION_STATUS } from './chunk-XGAYTDSI.js';
2
+ import { useNotificationVisible } from './chunk-6IP6YFQX.js';
3
+ import { useOptionalLoadingActions, useOptionalLoadingState } from './chunk-YZS2B6YE.js';
4
+ import { useOptionalMediaState, useOptionalMediaActions } from './chunk-ZXRE2KZO.js';
5
+ import { Tooltip } from './chunk-WZ5T2NXH.js';
6
+ import { defineModule, useModule, useRegistryEntries, useModuleRegistration } from './chunk-IH3STE7W.js';
7
+ import { useRequiredContext, useIsFullscreenStateActive, useClickOutside, useStore, useGlobalEvent } from './chunk-WQTMOUCA.js';
8
+ import { Button } from './chunk-UDJ7ARCH.js';
9
+ import { Icon, Spinner } from './chunk-7VU2OAJB.js';
10
+ import { cn } from './chunk-TAWTGCWJ.js';
11
11
  import { defineThemeSpec, useModuleMotion, useTheme, useOptionalModuleMotion } from './chunk-ESD5EQ5H.js';
12
- import { createStore, normalizePath, gpuTransform, report, globalEvents, cssTransition, trimToNull, isImageIconSource, EVENT_TYPES, toUserMessage, clamp, createScheduler } from './chunk-5H6FZW3N.js';
12
+ import { createStore, gpuTransform, normalizePath, cssTransition, trimToNull, report, globalEvents, isImageIconSource, EVENT_TYPES, toUserMessage, clamp, createScheduler } from './chunk-D222OCTV.js';
13
13
  import { getOrCreateGlobalContext } from './chunk-J3VTDBC6.js';
14
14
  import { isObject, isPlainObject, shallowEqual, toArray } from './chunk-BMFHS3GV.js';
15
15
  import { c } from 'react/compiler-runtime';
16
16
  import { motion, AnimatePresence, useMotionValue, useSpring, useTransform, useDragControls } from 'motion/react';
17
17
  import { createPortal } from 'react-dom';
18
- import React, { createContext, useRef, useLayoutEffect, useState, useEffect, use, isValidElement, useSyncExternalStore, useEffectEvent, useCallback, lazy, Suspense, useId, createElement, cloneElement, useReducer, useMemo } from 'react';
18
+ import React, { createContext, useRef, useLayoutEffect, useState, useEffect, use, isValidElement, useSyncExternalStore, useEffectEvent, lazy, Suspense, useId, createElement, cloneElement, useReducer, useCallback, useMemo } from 'react';
19
19
  import { usePathname, useRouter } from 'next/navigation';
20
20
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
21
21
  import Link from 'next/link';
@@ -412,6 +412,9 @@ function isPathPrefix(candidatePath, pathname) {
412
412
  if (normalizedCandidate === "/") return normalizedPathname.startsWith("/");
413
413
  return normalizedPathname.startsWith(`${normalizedCandidate}/`);
414
414
  }
415
+ function getDockRoutePathname(pathname, transitionTo) {
416
+ return transitionTo ? pathOf(transitionTo) : pathname;
417
+ }
415
418
  function isInlineActionPathMatch(path, pathname) {
416
419
  return isSamePath(path, pathname) || path !== "/" && isPathPrefix(path, pathname);
417
420
  }
@@ -906,21 +909,33 @@ function getViewportMaxHeight() {
906
909
  if (typeof window === "undefined") return Infinity;
907
910
  return window.innerHeight - VIEWPORT_MARGIN;
908
911
  }
912
+ var DEFAULT_CARD_PADDING = DOCK_CARD_LAYOUT.chromeHeight / 2;
913
+ function getDockCardPadding(padding) {
914
+ return typeof padding === "number" && Number.isFinite(padding) && padding >= 0 ? padding : DEFAULT_CARD_PADDING;
915
+ }
916
+ function getDockCardMinHeight(isHud = false, padding) {
917
+ const chrome = getDockCardPadding(padding) * 2;
918
+ const base = isHud ? DOCK_CARD_LAYOUT.hudHeight : DOCK_CARD_LAYOUT.baseHeight;
919
+ return base - DOCK_CARD_LAYOUT.chromeHeight + chrome;
920
+ }
909
921
  function getContainerHeight({
910
922
  cardContentHeight,
911
- isHud = false
923
+ isHud = false,
924
+ padding
912
925
  }) {
913
- const chromeHeight = DOCK_CARD_LAYOUT.chromeHeight;
914
- const minCardHeight = isHud ? DOCK_CARD_LAYOUT.hudHeight : DOCK_CARD_LAYOUT.baseHeight;
926
+ const chromeHeight = getDockCardPadding(padding) * 2;
927
+ const minCardHeight = getDockCardMinHeight(isHud, padding);
915
928
  const numericContentHeight = Number(cardContentHeight);
916
929
  const nextCardHeight = Math.max(minCardHeight, (Number.isFinite(numericContentHeight) ? numericContentHeight : 0) + chromeHeight);
917
930
  return Math.min(nextCardHeight, getViewportMaxHeight());
918
931
  }
919
932
  function getDockCardWidth({
920
- width
933
+ width,
934
+ fallback
921
935
  } = {}) {
936
+ const fallbackWidth = typeof fallback === "number" && Number.isFinite(fallback) && fallback > 0 ? fallback : DEFAULT_CARD_WIDTH;
922
937
  if (typeof window === "undefined") {
923
- return width ? Number(width) || DEFAULT_CARD_WIDTH : DEFAULT_CARD_WIDTH;
938
+ return width ? Number(width) || fallbackWidth : fallbackWidth;
924
939
  }
925
940
  const windowWidth = window.innerWidth;
926
941
  const isDesktop = windowWidth >= DESKTOP_MIN_VIEWPORT_WIDTH;
@@ -929,7 +944,7 @@ function getDockCardWidth({
929
944
  const gutter = isDesktop ? DESKTOP_VIEWPORT_GUTTER : MOBILE_VIEWPORT_GUTTER;
930
945
  return Math.min(targetWidth, Math.max(windowWidth - gutter, 0));
931
946
  }
932
- return Math.min(DEFAULT_CARD_WIDTH, Math.max(windowWidth - MOBILE_VIEWPORT_GUTTER, 0));
947
+ return Math.min(fallbackWidth, Math.max(windowWidth - MOBILE_VIEWPORT_GUTTER, 0));
933
948
  }
934
949
  function getObservedHeight(entry, element) {
935
950
  const rawBorderBoxSize = entry?.borderBoxSize;
@@ -945,9 +960,9 @@ function getObservedHeight(entry, element) {
945
960
  function hasMeaningfulHeightChange(previousHeight, nextHeight) {
946
961
  return Math.abs(Math.round(nextHeight) - Math.round(previousHeight)) > HEIGHT_EPSILON;
947
962
  }
948
- function publishDockHeightCssVar(heightPx) {
949
- if (typeof document === "undefined") return;
950
- document.documentElement.style.setProperty(DOCK_HEIGHT_CSS_VAR, `${Math.round(heightPx)}px`);
963
+ function publishDockHeightCssVar(heightPx, name = DOCK_HEIGHT_CSS_VAR) {
964
+ if (typeof document === "undefined" || name === false) return;
965
+ document.documentElement.style.setProperty(name, `${Math.round(heightPx)}px`);
951
966
  }
952
967
  function isSurfaceShapePhase(phase) {
953
968
  return phase === DOCK_SURFACE_PHASE.EXPANDING_BODY || phase === DOCK_SURFACE_PHASE.OPEN || phase === DOCK_SURFACE_PHASE.CLOSING_ANTICIPATION;
@@ -977,18 +992,16 @@ function getRouteMeasurementKey(pathname, key) {
977
992
  }
978
993
 
979
994
  // src/modules/dock/hooks/use-dock-height-controller.ts
980
- function getBaseHeight(isHud) {
981
- return isHud ? DOCK_CARD_LAYOUT.hudHeight : DOCK_CARD_LAYOUT.baseHeight;
982
- }
983
995
  function createHeightController(initial, setContainerHeight) {
984
996
  let inputs = initial;
985
997
  let contentHeight = 0;
986
- let lastAppliedContainerHeight = getBaseHeight(initial.isHud);
998
+ let lastAppliedContainerHeight = getDockCardMinHeight(initial.isHud, initial.padding);
987
999
  let lastAppliedSpacerHeight = lastAppliedContainerHeight + DOCK_HEIGHT_BUFFER;
988
1000
  const applyHeight = () => {
989
1001
  const height = getContainerHeight({
990
1002
  cardContentHeight: contentHeight,
991
- isHud: inputs.isHud
1003
+ isHud: inputs.isHud,
1004
+ padding: inputs.padding
992
1005
  });
993
1006
  const totalSpacerHeight = height + DOCK_HEIGHT_BUFFER;
994
1007
  if (Math.abs(height - lastAppliedContainerHeight) > HEIGHT_EPSILON) {
@@ -997,7 +1010,7 @@ function createHeightController(initial, setContainerHeight) {
997
1010
  }
998
1011
  if (Math.abs(totalSpacerHeight - lastAppliedSpacerHeight) > HEIGHT_EPSILON) {
999
1012
  lastAppliedSpacerHeight = totalSpacerHeight;
1000
- publishDockHeightCssVar(totalSpacerHeight);
1013
+ publishDockHeightCssVar(totalSpacerHeight, inputs.heightVar);
1001
1014
  inputs.setDockHeight(totalSpacerHeight);
1002
1015
  }
1003
1016
  };
@@ -1016,10 +1029,12 @@ function createHeightController(initial, setContainerHeight) {
1016
1029
  };
1017
1030
  }
1018
1031
  function useDockHeightController(t0) {
1019
- const $ = c(31);
1032
+ const $ = c(37);
1020
1033
  const {
1021
1034
  contentKey: t1,
1035
+ heightVar,
1022
1036
  isHud: t2,
1037
+ padding,
1023
1038
  setDockHeight,
1024
1039
  surfacePhase: t3
1025
1040
  } = t0;
@@ -1027,25 +1042,30 @@ function useDockHeightController(t0) {
1027
1042
  const isHud = t2 === void 0 ? false : t2;
1028
1043
  const surfacePhase = t3 === void 0 ? DOCK_SURFACE_PHASE.IDLE : t3;
1029
1044
  let t4;
1030
- if ($[0] !== isHud) {
1031
- t4 = () => getBaseHeight(isHud);
1045
+ if ($[0] !== isHud || $[1] !== padding) {
1046
+ t4 = () => getDockCardMinHeight(isHud, padding);
1032
1047
  $[0] = isHud;
1033
- $[1] = t4;
1048
+ $[1] = padding;
1049
+ $[2] = t4;
1034
1050
  } else {
1035
- t4 = $[1];
1051
+ t4 = $[2];
1036
1052
  }
1037
1053
  const [containerHeight, setContainerHeight] = useState(t4);
1038
1054
  let t5;
1039
- if ($[2] !== isHud || $[3] !== setDockHeight) {
1055
+ if ($[3] !== heightVar || $[4] !== isHud || $[5] !== padding || $[6] !== setDockHeight) {
1040
1056
  t5 = () => createHeightController({
1057
+ heightVar,
1041
1058
  isHud,
1059
+ padding,
1042
1060
  setDockHeight
1043
1061
  }, setContainerHeight);
1044
- $[2] = isHud;
1045
- $[3] = setDockHeight;
1046
- $[4] = t5;
1062
+ $[3] = heightVar;
1063
+ $[4] = isHud;
1064
+ $[5] = padding;
1065
+ $[6] = setDockHeight;
1066
+ $[7] = t5;
1047
1067
  } else {
1048
- t5 = $[4];
1068
+ t5 = $[7];
1049
1069
  }
1050
1070
  const [t6] = useState(t5);
1051
1071
  const {
@@ -1056,102 +1076,107 @@ function useDockHeightController(t0) {
1056
1076
  } = t6;
1057
1077
  let t7;
1058
1078
  let t8;
1059
- if ($[5] !== isHud || $[6] !== setDockHeight || $[7] !== setInputs) {
1079
+ if ($[8] !== heightVar || $[9] !== isHud || $[10] !== padding || $[11] !== setDockHeight || $[12] !== setInputs) {
1060
1080
  t7 = () => {
1061
1081
  setInputs({
1082
+ heightVar,
1062
1083
  isHud,
1084
+ padding,
1063
1085
  setDockHeight
1064
1086
  });
1065
1087
  };
1066
- t8 = [isHud, setDockHeight, setInputs];
1067
- $[5] = isHud;
1068
- $[6] = setDockHeight;
1069
- $[7] = setInputs;
1070
- $[8] = t7;
1071
- $[9] = t8;
1088
+ t8 = [heightVar, isHud, padding, setDockHeight, setInputs];
1089
+ $[8] = heightVar;
1090
+ $[9] = isHud;
1091
+ $[10] = padding;
1092
+ $[11] = setDockHeight;
1093
+ $[12] = setInputs;
1094
+ $[13] = t7;
1095
+ $[14] = t8;
1072
1096
  } else {
1073
- t7 = $[8];
1074
- t8 = $[9];
1097
+ t7 = $[13];
1098
+ t8 = $[14];
1075
1099
  }
1076
1100
  useLayoutEffect(t7, t8);
1077
1101
  let t10;
1078
1102
  let t9;
1079
- if ($[10] !== dispose) {
1103
+ if ($[15] !== dispose) {
1080
1104
  t9 = () => dispose;
1081
1105
  t10 = [dispose];
1082
- $[10] = dispose;
1083
- $[11] = t10;
1084
- $[12] = t9;
1106
+ $[15] = dispose;
1107
+ $[16] = t10;
1108
+ $[17] = t9;
1085
1109
  } else {
1086
- t10 = $[11];
1087
- t9 = $[12];
1110
+ t10 = $[16];
1111
+ t9 = $[17];
1088
1112
  }
1089
1113
  useEffect(t9, t10);
1090
1114
  let t11;
1091
- if ($[13] !== applyHeight) {
1115
+ if ($[18] !== applyHeight) {
1092
1116
  t11 = () => applyHeight();
1093
- $[13] = applyHeight;
1094
- $[14] = t11;
1117
+ $[18] = applyHeight;
1118
+ $[19] = t11;
1095
1119
  } else {
1096
- t11 = $[14];
1120
+ t11 = $[19];
1097
1121
  }
1098
1122
  let t12;
1099
- if ($[15] !== applyHeight || $[16] !== contentKey) {
1123
+ if ($[20] !== applyHeight || $[21] !== contentKey) {
1100
1124
  t12 = [applyHeight, contentKey];
1101
- $[15] = applyHeight;
1102
- $[16] = contentKey;
1103
- $[17] = t12;
1125
+ $[20] = applyHeight;
1126
+ $[21] = contentKey;
1127
+ $[22] = t12;
1104
1128
  } else {
1105
- t12 = $[17];
1129
+ t12 = $[22];
1106
1130
  }
1107
1131
  useLayoutEffect(t11, t12);
1108
1132
  let t13;
1109
- if ($[18] !== applyHeight) {
1133
+ if ($[23] !== applyHeight) {
1110
1134
  t13 = () => applyHeight();
1111
- $[18] = applyHeight;
1112
- $[19] = t13;
1135
+ $[23] = applyHeight;
1136
+ $[24] = t13;
1113
1137
  } else {
1114
- t13 = $[19];
1138
+ t13 = $[24];
1115
1139
  }
1116
1140
  let t14;
1117
- if ($[20] !== applyHeight || $[21] !== surfacePhase) {
1141
+ if ($[25] !== applyHeight || $[26] !== surfacePhase) {
1118
1142
  t14 = [applyHeight, surfacePhase];
1119
- $[20] = applyHeight;
1120
- $[21] = surfacePhase;
1121
- $[22] = t14;
1143
+ $[25] = applyHeight;
1144
+ $[26] = surfacePhase;
1145
+ $[27] = t14;
1122
1146
  } else {
1123
- t14 = $[22];
1147
+ t14 = $[27];
1124
1148
  }
1125
1149
  useLayoutEffect(t13, t14);
1126
1150
  let t15;
1127
- if ($[23] !== applyHeight) {
1151
+ if ($[28] !== applyHeight) {
1128
1152
  t15 = () => applyHeight();
1129
- $[23] = applyHeight;
1130
- $[24] = t15;
1153
+ $[28] = applyHeight;
1154
+ $[29] = t15;
1131
1155
  } else {
1132
- t15 = $[24];
1156
+ t15 = $[29];
1133
1157
  }
1134
1158
  let t16;
1135
- if ($[25] !== applyHeight || $[26] !== isHud) {
1136
- t16 = [applyHeight, isHud];
1137
- $[25] = applyHeight;
1138
- $[26] = isHud;
1139
- $[27] = t16;
1159
+ if ($[30] !== applyHeight || $[31] !== isHud || $[32] !== padding) {
1160
+ t16 = [applyHeight, isHud, padding];
1161
+ $[30] = applyHeight;
1162
+ $[31] = isHud;
1163
+ $[32] = padding;
1164
+ $[33] = t16;
1140
1165
  } else {
1141
- t16 = $[27];
1166
+ t16 = $[33];
1142
1167
  }
1143
1168
  useLayoutEffect(t15, t16);
1144
1169
  let t17;
1145
- if ($[28] !== containerHeight || $[29] !== handleContentHeightChange) {
1170
+ if ($[34] !== containerHeight || $[35] !== handleContentHeightChange) {
1146
1171
  t17 = {
1147
1172
  containerHeight,
1148
1173
  handleContentHeightChange
1149
1174
  };
1150
- $[28] = containerHeight;
1151
- $[29] = handleContentHeightChange;
1152
- $[30] = t17;
1175
+ $[34] = containerHeight;
1176
+ $[35] = handleContentHeightChange;
1177
+ $[36] = t17;
1153
1178
  } else {
1154
- t17 = $[30];
1179
+ t17 = $[36];
1155
1180
  }
1156
1181
  return t17;
1157
1182
  }
@@ -1297,7 +1322,11 @@ function useDockViewport(t0) {
1297
1322
  const targetWidth = getTargetItemWidth(activeItem);
1298
1323
  const [, setViewportRevision] = useState(0);
1299
1324
  const portalTarget = useSyncExternalStore(emptySubscribe, _temp4, _temp22);
1325
+ const {
1326
+ deck
1327
+ } = useDockMotion();
1300
1328
  const stackWidth = getDockCardWidth({
1329
+ fallback: deck.width,
1301
1330
  width: targetWidth
1302
1331
  });
1303
1332
  let t1;
@@ -2395,6 +2424,7 @@ var selectTrips = (state) => ({
2395
2424
  last: state.last
2396
2425
  });
2397
2426
  function useDockNavigation() {
2427
+ const $ = c(32);
2398
2428
  const pathname = usePathname();
2399
2429
  const {
2400
2430
  locationKey,
@@ -2420,125 +2450,221 @@ function useDockNavigation() {
2420
2450
  } = useStore(navigator2.store, selectTrips, shallowEqual);
2421
2451
  const previousLocationKeyRef = useRef(locationKey);
2422
2452
  const settledTripRef = useRef(lastTransaction);
2423
- useEffect(() => {
2424
- if (settledTripRef.current === lastTransaction) return;
2425
- settledTripRef.current = lastTransaction;
2426
- if (!lastTransaction) return;
2427
- if (lastTransaction.status === NAVIGATION_STATUS.COMPLETED) {
2428
- syncLocationKey2();
2429
- } else if (isFailedNavigation(lastTransaction.status)) {
2453
+ let t0;
2454
+ let t1;
2455
+ if ($[0] !== clearPreparedRouteReset || $[1] !== lastTransaction || $[2] !== stopLoading || $[3] !== syncLocationKey2) {
2456
+ t0 = () => {
2457
+ if (settledTripRef.current === lastTransaction) {
2458
+ return;
2459
+ }
2460
+ settledTripRef.current = lastTransaction;
2461
+ if (!lastTransaction) {
2462
+ return;
2463
+ }
2464
+ if (lastTransaction.status === NAVIGATION_STATUS.COMPLETED) {
2465
+ syncLocationKey2();
2466
+ } else {
2467
+ if (isFailedNavigation(lastTransaction.status)) {
2468
+ clearPreparedRouteReset();
2469
+ stopLoading();
2470
+ }
2471
+ }
2472
+ };
2473
+ t1 = [clearPreparedRouteReset, lastTransaction, stopLoading, syncLocationKey2];
2474
+ $[0] = clearPreparedRouteReset;
2475
+ $[1] = lastTransaction;
2476
+ $[2] = stopLoading;
2477
+ $[3] = syncLocationKey2;
2478
+ $[4] = t0;
2479
+ $[5] = t1;
2480
+ } else {
2481
+ t0 = $[4];
2482
+ t1 = $[5];
2483
+ }
2484
+ useEffect(t0, t1);
2485
+ let t2;
2486
+ if ($[6] !== clearPreparedRouteReset || $[7] !== closeSurface || $[8] !== navigator2) {
2487
+ t2 = (t32) => {
2488
+ const reason = t32 === void 0 ? GUARD_CANCEL_REASON : t32;
2489
+ navigator2.cancel(reason);
2430
2490
  clearPreparedRouteReset();
2431
- stopLoading();
2432
- }
2433
- }, [clearPreparedRouteReset, lastTransaction, stopLoading, syncLocationKey2]);
2434
- const cancelDock = useCallback((reason = GUARD_CANCEL_REASON) => {
2435
- navigator2.cancel(reason);
2436
- clearPreparedRouteReset();
2437
- closeSurface({
2438
- cancelled: true,
2439
- reason,
2440
- success: false
2441
- });
2442
- }, [clearPreparedRouteReset, closeSurface, navigator2]);
2443
- const commitDock = useCallback(async ({
2444
- force = false,
2445
- from,
2446
- href,
2447
- item,
2448
- routePolicy,
2449
- source = DEFAULT_NAVIGATION_SOURCE
2450
- }) => {
2451
- const result = await navigator2.navigate(href, {
2452
- force,
2453
- guard: guards.count() > 0 ? () => guards.check(href, from) : void 0,
2454
- onCommit: () => {
2455
- continuity?.remember?.(from);
2456
- blurActiveElement();
2457
- prepareRouteReset(routePolicy);
2458
- emitDockEvent(DOCK_EVENTS.NAVIGATE_START, {
2491
+ closeSurface({
2492
+ cancelled: true,
2493
+ reason,
2494
+ success: false
2495
+ });
2496
+ };
2497
+ $[6] = clearPreparedRouteReset;
2498
+ $[7] = closeSurface;
2499
+ $[8] = navigator2;
2500
+ $[9] = t2;
2501
+ } else {
2502
+ t2 = $[9];
2503
+ }
2504
+ const cancelDock = t2;
2505
+ let t3;
2506
+ if ($[10] !== closeSurface || $[11] !== continuity || $[12] !== guards || $[13] !== navigator2 || $[14] !== prepareRouteReset) {
2507
+ t3 = (request) => {
2508
+ const run = async (t42) => {
2509
+ const {
2510
+ force: t52,
2459
2511
  from,
2460
- to: href
2512
+ href,
2513
+ item,
2514
+ routePolicy,
2515
+ source: t62
2516
+ } = t42;
2517
+ const force = t52 === void 0 ? false : t52;
2518
+ const source = t62 === void 0 ? DEFAULT_NAVIGATION_SOURCE : t62;
2519
+ const result = await navigator2.navigate(href, {
2520
+ force,
2521
+ guard: guards.count() > 0 ? () => guards.check(href, from) : void 0,
2522
+ onCommit: () => {
2523
+ continuity?.remember?.(from);
2524
+ blurActiveElement();
2525
+ prepareRouteReset(routePolicy);
2526
+ emitDockEvent(DOCK_EVENTS.NAVIGATE_START, {
2527
+ from,
2528
+ to: href
2529
+ });
2530
+ },
2531
+ source
2461
2532
  });
2462
- },
2463
- source
2464
- });
2465
- if (result.ok) {
2466
- emitDockEvent(DOCK_EVENTS.NAVIGATE, {
2467
- from,
2468
- item,
2469
- to: href
2470
- });
2471
- return true;
2472
- }
2473
- if (result.blocked) {
2474
- blurActiveElement();
2475
- openDockGuardConfirmation({
2476
- closeSurface,
2477
- commit: (confirmed) => (
2478
- // Compiler exception (docs/architecture-and-rules.md): the guard
2479
- // confirmation runs after commitDock is declared, on user input.
2480
- // eslint-disable-next-line react-hooks/immutability
2481
- void commitDock({
2482
- ...confirmed,
2483
- force: true
2484
- }).catch((error) => report("Dock route transition", error))
2485
- ),
2486
- from,
2487
- href,
2488
- message: result.blocked.message,
2489
- routePolicy
2490
- });
2491
- }
2492
- return false;
2493
- }, [closeSurface, continuity, guards, navigator2, prepareRouteReset]);
2494
- const navigate = useCallback(async (href_0, {
2495
- force: force_0 = false,
2496
- item: item_0 = null,
2497
- source: source_0 = DEFAULT_NAVIGATION_SOURCE
2498
- } = {}) => {
2499
- if (!href_0) return false;
2500
- const from_0 = locationKey;
2501
- const routePolicy_0 = resolveDockRoutePolicy({
2502
- href: href_0,
2503
- item: item_0
2504
- });
2505
- if (!routePolicy_0.canNavigate) {
2506
- return false;
2507
- }
2508
- if (isSamePath(href_0, from_0)) return false;
2509
- try {
2510
- return await commitDock({
2511
- force: force_0,
2512
- from: from_0,
2533
+ if (result.ok) {
2534
+ emitDockEvent(DOCK_EVENTS.NAVIGATE, {
2535
+ from,
2536
+ item,
2537
+ to: href
2538
+ });
2539
+ return true;
2540
+ }
2541
+ if (result.blocked) {
2542
+ blurActiveElement();
2543
+ openDockGuardConfirmation({
2544
+ closeSurface,
2545
+ commit: (confirmed) => void run({
2546
+ ...confirmed,
2547
+ force: true
2548
+ }).catch(_temp23),
2549
+ from,
2550
+ href,
2551
+ message: result.blocked.message,
2552
+ routePolicy
2553
+ });
2554
+ }
2555
+ return false;
2556
+ };
2557
+ return run(request);
2558
+ };
2559
+ $[10] = closeSurface;
2560
+ $[11] = continuity;
2561
+ $[12] = guards;
2562
+ $[13] = navigator2;
2563
+ $[14] = prepareRouteReset;
2564
+ $[15] = t3;
2565
+ } else {
2566
+ t3 = $[15];
2567
+ }
2568
+ const commitDock = t3;
2569
+ let t4;
2570
+ if ($[16] !== commitDock || $[17] !== locationKey || $[18] !== stopLoading) {
2571
+ t4 = async (href_0, t52) => {
2572
+ const {
2573
+ force: t62,
2574
+ item: t72,
2575
+ source: t8
2576
+ } = t52 === void 0 ? {} : t52;
2577
+ const force_0 = t62 === void 0 ? false : t62;
2578
+ const item_0 = t72 === void 0 ? null : t72;
2579
+ const source_0 = t8 === void 0 ? DEFAULT_NAVIGATION_SOURCE : t8;
2580
+ if (!href_0) {
2581
+ return false;
2582
+ }
2583
+ const from_0 = locationKey;
2584
+ const routePolicy_0 = resolveDockRoutePolicy({
2513
2585
  href: href_0,
2514
- routePolicy: routePolicy_0,
2515
- source: source_0
2586
+ item: item_0
2516
2587
  });
2517
- } catch (error_0) {
2588
+ if (!routePolicy_0.canNavigate) {
2589
+ return false;
2590
+ }
2591
+ if (isSamePath(href_0, from_0)) {
2592
+ return false;
2593
+ }
2594
+ try {
2595
+ return await commitDock({
2596
+ force: force_0,
2597
+ from: from_0,
2598
+ href: href_0,
2599
+ routePolicy: routePolicy_0,
2600
+ source: source_0
2601
+ });
2602
+ } catch (t9) {
2603
+ const error_0 = t9;
2604
+ stopLoading();
2605
+ report("Dock navigation", error_0);
2606
+ return false;
2607
+ }
2608
+ };
2609
+ $[16] = commitDock;
2610
+ $[17] = locationKey;
2611
+ $[18] = stopLoading;
2612
+ $[19] = t4;
2613
+ } else {
2614
+ t4 = $[19];
2615
+ }
2616
+ const navigate = t4;
2617
+ let t5;
2618
+ let t6;
2619
+ if ($[20] !== locationKey || $[21] !== navigator2 || $[22] !== stopLoading) {
2620
+ t5 = () => {
2621
+ navigator2.arrive(locationKey);
2622
+ if (previousLocationKeyRef.current === locationKey) {
2623
+ return;
2624
+ }
2625
+ emitDockEvent(DOCK_EVENTS.NAVIGATE_END, {
2626
+ duration: void 0,
2627
+ from: previousLocationKeyRef.current,
2628
+ to: locationKey
2629
+ });
2630
+ previousLocationKeyRef.current = locationKey;
2518
2631
  stopLoading();
2519
- report("Dock navigation", error_0);
2520
- return false;
2521
- }
2522
- }, [commitDock, locationKey, stopLoading]);
2523
- useEffect(() => {
2524
- navigator2.arrive(locationKey);
2525
- if (previousLocationKeyRef.current === locationKey) return;
2526
- emitDockEvent(DOCK_EVENTS.NAVIGATE_END, {
2527
- duration: void 0,
2528
- from: previousLocationKeyRef.current,
2529
- to: locationKey
2530
- });
2531
- previousLocationKeyRef.current = locationKey;
2532
- stopLoading();
2533
- }, [locationKey, navigator2, stopLoading]);
2534
- return {
2535
- activeTransaction,
2536
- cancelDock,
2537
- lastTransaction,
2538
- locationKey,
2539
- navigate,
2540
- pathname
2541
- };
2632
+ };
2633
+ t6 = [locationKey, navigator2, stopLoading];
2634
+ $[20] = locationKey;
2635
+ $[21] = navigator2;
2636
+ $[22] = stopLoading;
2637
+ $[23] = t5;
2638
+ $[24] = t6;
2639
+ } else {
2640
+ t5 = $[23];
2641
+ t6 = $[24];
2642
+ }
2643
+ useEffect(t5, t6);
2644
+ let t7;
2645
+ if ($[25] !== activeTransaction || $[26] !== cancelDock || $[27] !== lastTransaction || $[28] !== locationKey || $[29] !== navigate || $[30] !== pathname) {
2646
+ t7 = {
2647
+ activeTransaction,
2648
+ cancelDock,
2649
+ lastTransaction,
2650
+ locationKey,
2651
+ navigate,
2652
+ pathname
2653
+ };
2654
+ $[25] = activeTransaction;
2655
+ $[26] = cancelDock;
2656
+ $[27] = lastTransaction;
2657
+ $[28] = locationKey;
2658
+ $[29] = navigate;
2659
+ $[30] = pathname;
2660
+ $[31] = t7;
2661
+ } else {
2662
+ t7 = $[31];
2663
+ }
2664
+ return t7;
2665
+ }
2666
+ function _temp23(error) {
2667
+ return report("Dock route transition", error);
2542
2668
  }
2543
2669
  function isValidComponentType(type) {
2544
2670
  if (typeof type === "function") return true;
@@ -4556,7 +4682,7 @@ function useSurfaceStep() {
4556
4682
  popStep,
4557
4683
  pushStep
4558
4684
  } = useDockActions();
4559
- const surfaceStack = useDockSelector(_temp23) || EMPTY_SURFACE_STACK;
4685
+ const surfaceStack = useDockSelector(_temp24) || EMPTY_SURFACE_STACK;
4560
4686
  const activeEntry = surfaceStack[surfaceStack.length - 1] || null;
4561
4687
  let t0;
4562
4688
  if ($[0] !== activeEntry) {
@@ -4655,7 +4781,7 @@ function useSurfaceStep() {
4655
4781
  }
4656
4782
  return t5;
4657
4783
  }
4658
- function _temp23(s) {
4784
+ function _temp24(s) {
4659
4785
  return s.surfaceStack;
4660
4786
  }
4661
4787
  function createSurfaceError(code, message) {
@@ -5606,28 +5732,29 @@ function useDock() {
5606
5732
  navigate: navigateWithGuards,
5607
5733
  pathname
5608
5734
  } = core;
5609
- let t0;
5610
- if ($[0] !== activeTransaction || $[1] !== pathname) {
5611
- t0 = activeTransaction?.to ? normalizePath(activeTransaction.to) : pathname;
5612
- $[0] = activeTransaction;
5613
- $[1] = pathname;
5614
- $[2] = t0;
5735
+ const t0 = activeTransaction?.to;
5736
+ let t1;
5737
+ if ($[0] !== pathname || $[1] !== t0) {
5738
+ t1 = getDockRoutePathname(pathname, t0);
5739
+ $[0] = pathname;
5740
+ $[1] = t0;
5741
+ $[2] = t1;
5615
5742
  } else {
5616
- t0 = $[2];
5743
+ t1 = $[2];
5617
5744
  }
5618
- const effectivePathname = t0;
5619
- const t1 = Boolean(activeTransaction);
5620
- let t2;
5621
- if ($[3] !== t1) {
5622
- t2 = {
5623
- isNavigating: t1
5745
+ const effectivePathname = t1;
5746
+ const t2 = Boolean(activeTransaction);
5747
+ let t3;
5748
+ if ($[3] !== t2) {
5749
+ t3 = {
5750
+ isNavigating: t2
5624
5751
  };
5625
- $[3] = t1;
5626
- $[4] = t2;
5752
+ $[3] = t2;
5753
+ $[4] = t3;
5627
5754
  } else {
5628
- t2 = $[4];
5755
+ t3 = $[4];
5629
5756
  }
5630
- const display = useDockDisplay(effectivePathname, t2);
5757
+ const display = useDockDisplay(effectivePathname, t3);
5631
5758
  const {
5632
5759
  dockItems,
5633
5760
  activeItem,
@@ -5638,9 +5765,9 @@ function useDock() {
5638
5765
  const isHudModeActive = attention?.kind === DOCK_ATTENTION_KIND.HUD || attention?.kind === DOCK_ATTENTION_KIND.OPERATION;
5639
5766
  const isSurfaceActive = Boolean(activeItem?.isSurface);
5640
5767
  const activeItemHasAction = Boolean(activeItem?.action);
5641
- let t3;
5768
+ let t4;
5642
5769
  if ($[5] !== isExpanded || $[6] !== isSurfaceActive || $[7] !== setExpandedState) {
5643
- t3 = (nextValue) => {
5770
+ t4 = (nextValue) => {
5644
5771
  const resolvedValue = typeof nextValue === "function" ? nextValue(isExpanded) : nextValue;
5645
5772
  if (isSurfaceActive && resolvedValue) {
5646
5773
  return;
@@ -5650,16 +5777,16 @@ function useDock() {
5650
5777
  $[5] = isExpanded;
5651
5778
  $[6] = isSurfaceActive;
5652
5779
  $[7] = setExpandedState;
5653
- $[8] = t3;
5780
+ $[8] = t4;
5654
5781
  } else {
5655
- t3 = $[8];
5782
+ t4 = $[8];
5656
5783
  }
5657
- const setExpanded = t3;
5784
+ const setExpanded = t4;
5658
5785
  const wasSurfaceActiveRef = useRef(false);
5659
- let t4;
5660
5786
  let t5;
5787
+ let t6;
5661
5788
  if ($[9] !== isSurfaceActive) {
5662
- t4 = () => {
5789
+ t5 = () => {
5663
5790
  if (isSurfaceActive) {
5664
5791
  wasSurfaceActiveRef.current = true;
5665
5792
  return;
@@ -5669,37 +5796,37 @@ function useDock() {
5669
5796
  setIsHovered(false);
5670
5797
  }
5671
5798
  };
5672
- t5 = [isSurfaceActive];
5799
+ t6 = [isSurfaceActive];
5673
5800
  $[9] = isSurfaceActive;
5674
- $[10] = t4;
5675
- $[11] = t5;
5801
+ $[10] = t5;
5802
+ $[11] = t6;
5676
5803
  } else {
5677
- t4 = $[10];
5678
- t5 = $[11];
5804
+ t5 = $[10];
5805
+ t6 = $[11];
5679
5806
  }
5680
- useEffect(t4, t5);
5681
- let t6;
5807
+ useEffect(t5, t6);
5682
5808
  let t7;
5809
+ let t8;
5683
5810
  if ($[12] !== isExpanded || $[13] !== isSurfaceActive || $[14] !== setExpandedState) {
5684
- t6 = () => {
5811
+ t7 = () => {
5685
5812
  if (isSurfaceActive && isExpanded) {
5686
5813
  setExpandedState(false);
5687
5814
  }
5688
5815
  };
5689
- t7 = [isExpanded, isSurfaceActive, setExpandedState];
5816
+ t8 = [isExpanded, isSurfaceActive, setExpandedState];
5690
5817
  $[12] = isExpanded;
5691
5818
  $[13] = isSurfaceActive;
5692
5819
  $[14] = setExpandedState;
5693
- $[15] = t6;
5694
- $[16] = t7;
5820
+ $[15] = t7;
5821
+ $[16] = t8;
5695
5822
  } else {
5696
- t6 = $[15];
5697
- t7 = $[16];
5823
+ t7 = $[15];
5824
+ t8 = $[16];
5698
5825
  }
5699
- useEffect(t6, t7);
5700
- let t8;
5826
+ useEffect(t7, t8);
5827
+ let t9;
5701
5828
  if ($[17] !== guards || $[18] !== navigateWithGuards || $[19] !== setExpanded || $[20] !== setSearchQuery) {
5702
- t8 = async (href, options) => {
5829
+ t9 = async (href, options) => {
5703
5830
  if (!href) {
5704
5831
  return false;
5705
5832
  }
@@ -5725,14 +5852,14 @@ function useDock() {
5725
5852
  $[18] = navigateWithGuards;
5726
5853
  $[19] = setExpanded;
5727
5854
  $[20] = setSearchQuery;
5728
- $[21] = t8;
5855
+ $[21] = t9;
5729
5856
  } else {
5730
- t8 = $[21];
5857
+ t9 = $[21];
5731
5858
  }
5732
- const navigate = t8;
5733
- let t9;
5859
+ const navigate = t9;
5860
+ let t10;
5734
5861
  if ($[22] !== activeItem || $[23] !== dockItems || $[24] !== effectivePathname) {
5735
- t9 = {
5862
+ t10 = {
5736
5863
  dockItems,
5737
5864
  activeItem,
5738
5865
  pathname: effectivePathname
@@ -5740,31 +5867,31 @@ function useDock() {
5740
5867
  $[22] = activeItem;
5741
5868
  $[23] = dockItems;
5742
5869
  $[24] = effectivePathname;
5743
- $[25] = t9;
5870
+ $[25] = t10;
5744
5871
  } else {
5745
- t9 = $[25];
5872
+ t10 = $[25];
5746
5873
  }
5747
5874
  const {
5748
5875
  displayItems,
5749
5876
  activeIndex: layoutActiveIndex
5750
- } = useDockLayout(t9);
5751
- let t10;
5877
+ } = useDockLayout(t10);
5878
+ let t11;
5752
5879
  if ($[26] !== setExpanded || $[27] !== setSearchQuery) {
5753
- t10 = () => {
5880
+ t11 = () => {
5754
5881
  setExpanded(false);
5755
5882
  setSearchQuery("");
5756
5883
  setIsHovered(false);
5757
5884
  };
5758
5885
  $[26] = setExpanded;
5759
5886
  $[27] = setSearchQuery;
5760
- $[28] = t10;
5887
+ $[28] = t11;
5761
5888
  } else {
5762
- t10 = $[28];
5889
+ t11 = $[28];
5763
5890
  }
5764
- useDockRouteReset(pathname, t10);
5765
- let t11;
5891
+ useDockRouteReset(pathname, t11);
5892
+ let t12;
5766
5893
  if ($[29] !== activeItem || $[30] !== activeItemHasAction || $[31] !== activeTransaction || $[32] !== attention || $[33] !== cancelDock || $[34] !== closeSurface || $[35] !== displayItems || $[36] !== isExpanded || $[37] !== isHovered || $[38] !== isHudModeActive || $[39] !== lastTransaction || $[40] !== layoutActiveIndex || $[41] !== locationKey || $[42] !== navigate || $[43] !== pathname || $[44] !== searchQuery || $[45] !== setDockHeight || $[46] !== setExpanded || $[47] !== setSearchQuery || $[48] !== statusState || $[49] !== topology) {
5767
- t11 = {
5894
+ t12 = {
5768
5895
  dockItems: displayItems,
5769
5896
  activeItem,
5770
5897
  activeIndex: layoutActiveIndex,
@@ -5809,11 +5936,11 @@ function useDock() {
5809
5936
  $[47] = setSearchQuery;
5810
5937
  $[48] = statusState;
5811
5938
  $[49] = topology;
5812
- $[50] = t11;
5939
+ $[50] = t12;
5813
5940
  } else {
5814
- t11 = $[50];
5941
+ t12 = $[50];
5815
5942
  }
5816
- return t11;
5943
+ return t12;
5817
5944
  }
5818
5945
  function _temp10(state) {
5819
5946
  return {
@@ -5969,7 +6096,7 @@ function createDockCardProps({
5969
6096
 
5970
6097
  // src/modules/dock/runtime/dock.tsx
5971
6098
  function useDockModel() {
5972
- const $ = c(86);
6099
+ const $ = c(88);
5973
6100
  const {
5974
6101
  activeItem,
5975
6102
  dockItems,
@@ -6004,7 +6131,7 @@ function useDockModel() {
6004
6131
  const {
6005
6132
  contextActions,
6006
6133
  hud
6007
- } = useDockSelector(_temp11, _temp24);
6134
+ } = useDockSelector(_temp11, _temp25);
6008
6135
  const {
6009
6136
  clearHud
6010
6137
  } = useDockActions();
@@ -6068,39 +6195,44 @@ function useDockModel() {
6068
6195
  t3 = $[16];
6069
6196
  }
6070
6197
  const contentKey = t3;
6198
+ const dockMotion = useDockMotion();
6071
6199
  const t4 = activeItem?.surfacePhase;
6072
6200
  let t5;
6073
- if ($[17] !== contentKey || $[18] !== isHudActive || $[19] !== setDockHeight || $[20] !== t4) {
6201
+ if ($[17] !== contentKey || $[18] !== dockMotion.deck.heightVar || $[19] !== dockMotion.deck.padding || $[20] !== isHudActive || $[21] !== setDockHeight || $[22] !== t4) {
6074
6202
  t5 = {
6075
6203
  contentKey,
6204
+ heightVar: dockMotion.deck.heightVar,
6076
6205
  isHud: isHudActive,
6206
+ padding: dockMotion.deck.padding,
6077
6207
  setDockHeight,
6078
6208
  surfacePhase: t4
6079
6209
  };
6080
6210
  $[17] = contentKey;
6081
- $[18] = isHudActive;
6082
- $[19] = setDockHeight;
6083
- $[20] = t4;
6084
- $[21] = t5;
6211
+ $[18] = dockMotion.deck.heightVar;
6212
+ $[19] = dockMotion.deck.padding;
6213
+ $[20] = isHudActive;
6214
+ $[21] = setDockHeight;
6215
+ $[22] = t4;
6216
+ $[23] = t5;
6085
6217
  } else {
6086
- t5 = $[21];
6218
+ t5 = $[23];
6087
6219
  }
6088
6220
  const {
6089
6221
  containerHeight,
6090
6222
  handleContentHeightChange
6091
6223
  } = useDockHeightController(t5);
6092
6224
  let t6;
6093
- if ($[22] !== containerHeight || $[23] !== stackWidth) {
6225
+ if ($[24] !== containerHeight || $[25] !== stackWidth) {
6094
6226
  t6 = {
6095
6227
  width: stackWidth,
6096
6228
  height: containerHeight,
6097
6229
  resizeDistance: 0
6098
6230
  };
6099
- $[22] = containerHeight;
6100
- $[23] = stackWidth;
6101
- $[24] = t6;
6231
+ $[24] = containerHeight;
6232
+ $[25] = stackWidth;
6233
+ $[26] = t6;
6102
6234
  } else {
6103
- t6 = $[24];
6235
+ t6 = $[26];
6104
6236
  }
6105
6237
  const [stackSize, setStackSize] = useState(t6);
6106
6238
  if (stackSize.width !== stackWidth || stackSize.height !== containerHeight) {
@@ -6112,7 +6244,7 @@ function useDockModel() {
6112
6244
  }
6113
6245
  const surfaceResizeDistance = stackSize.resizeDistance;
6114
6246
  let t7;
6115
- if ($[25] !== activeItem || $[26] !== isOverlayActive || $[27] !== setExpanded) {
6247
+ if ($[27] !== activeItem || $[28] !== isOverlayActive || $[29] !== setExpanded) {
6116
6248
  t7 = () => {
6117
6249
  const outcome = dismissSurfaceFromOutside(activeItem);
6118
6250
  if (outcome === OUTSIDE_DISMISS_HANDLED) {
@@ -6123,16 +6255,16 @@ function useDockModel() {
6123
6255
  }
6124
6256
  setExpanded(false);
6125
6257
  };
6126
- $[25] = activeItem;
6127
- $[26] = isOverlayActive;
6128
- $[27] = setExpanded;
6129
- $[28] = t7;
6258
+ $[27] = activeItem;
6259
+ $[28] = isOverlayActive;
6260
+ $[29] = setExpanded;
6261
+ $[30] = t7;
6130
6262
  } else {
6131
- t7 = $[28];
6263
+ t7 = $[30];
6132
6264
  }
6133
6265
  const handleOutsideDismiss = t7;
6134
6266
  let t8;
6135
- if ($[29] !== dockItems || $[30] !== expanded || $[31] !== focusedIndex || $[32] !== isOverlayActive || $[33] !== navigate || $[34] !== setExpanded) {
6267
+ if ($[31] !== dockItems || $[32] !== expanded || $[33] !== focusedIndex || $[34] !== isOverlayActive || $[35] !== navigate || $[36] !== setExpanded) {
6136
6268
  t8 = {
6137
6269
  expanded,
6138
6270
  focusedIndex,
@@ -6142,21 +6274,21 @@ function useDockModel() {
6142
6274
  setExpanded,
6143
6275
  setFocusedIndex
6144
6276
  };
6145
- $[29] = dockItems;
6146
- $[30] = expanded;
6147
- $[31] = focusedIndex;
6148
- $[32] = isOverlayActive;
6149
- $[33] = navigate;
6150
- $[34] = setExpanded;
6151
- $[35] = t8;
6277
+ $[31] = dockItems;
6278
+ $[32] = expanded;
6279
+ $[33] = focusedIndex;
6280
+ $[34] = isOverlayActive;
6281
+ $[35] = navigate;
6282
+ $[36] = setExpanded;
6283
+ $[37] = t8;
6152
6284
  } else {
6153
- t8 = $[35];
6285
+ t8 = $[37];
6154
6286
  }
6155
6287
  useDockKeyboard(t8);
6156
6288
  useClickOutside(dockRef, handleOutsideDismiss);
6157
6289
  let t10;
6158
6290
  let t9;
6159
- if ($[36] !== activeIndex || $[37] !== expanded || $[38] !== setIsHovered) {
6291
+ if ($[38] !== activeIndex || $[39] !== expanded || $[40] !== setIsHovered) {
6160
6292
  t9 = () => {
6161
6293
  queueMicrotask(() => {
6162
6294
  setIsStackHovered(false);
@@ -6165,19 +6297,19 @@ function useDockModel() {
6165
6297
  });
6166
6298
  };
6167
6299
  t10 = [activeIndex, expanded, setIsHovered];
6168
- $[36] = activeIndex;
6169
- $[37] = expanded;
6170
- $[38] = setIsHovered;
6171
- $[39] = t10;
6172
- $[40] = t9;
6300
+ $[38] = activeIndex;
6301
+ $[39] = expanded;
6302
+ $[40] = setIsHovered;
6303
+ $[41] = t10;
6304
+ $[42] = t9;
6173
6305
  } else {
6174
- t10 = $[39];
6175
- t9 = $[40];
6306
+ t10 = $[41];
6307
+ t9 = $[42];
6176
6308
  }
6177
6309
  useEffect(t9, t10);
6178
6310
  let t11;
6179
6311
  let t12;
6180
- if ($[41] !== isFullscreenStateActive || $[42] !== setExpanded || $[43] !== setIsHovered) {
6312
+ if ($[43] !== isFullscreenStateActive || $[44] !== setExpanded || $[45] !== setIsHovered) {
6181
6313
  t11 = () => {
6182
6314
  if (!isFullscreenStateActive) {
6183
6315
  return;
@@ -6189,29 +6321,29 @@ function useDockModel() {
6189
6321
  });
6190
6322
  };
6191
6323
  t12 = [isFullscreenStateActive, setExpanded, setIsHovered];
6192
- $[41] = isFullscreenStateActive;
6193
- $[42] = setExpanded;
6194
- $[43] = setIsHovered;
6195
- $[44] = t11;
6196
- $[45] = t12;
6324
+ $[43] = isFullscreenStateActive;
6325
+ $[44] = setExpanded;
6326
+ $[45] = setIsHovered;
6327
+ $[46] = t11;
6328
+ $[47] = t12;
6197
6329
  } else {
6198
- t11 = $[44];
6199
- t12 = $[45];
6330
+ t11 = $[46];
6331
+ t12 = $[47];
6200
6332
  }
6201
6333
  useEffect(t11, t12);
6202
6334
  let t13;
6203
- if ($[46] !== activeItem) {
6335
+ if ($[48] !== activeItem) {
6204
6336
  t13 = isNotFoundItem(activeItem);
6205
- $[46] = activeItem;
6206
- $[47] = t13;
6337
+ $[48] = activeItem;
6338
+ $[49] = t13;
6207
6339
  } else {
6208
- t13 = $[47];
6340
+ t13 = $[49];
6209
6341
  }
6210
6342
  const isNotFound = Boolean(t13);
6211
6343
  const isStatusActive = Boolean(activeItem?.isStatus || isNotFound);
6212
6344
  const statusStyle = isStatusActive && !isNotFound ? activeItem?.style || null : null;
6213
6345
  let t14;
6214
- if ($[48] !== activeItem || $[49] !== clearHoverState || $[50] !== clearHud || $[51] !== contextActions || $[52] !== dockItems || $[53] !== expanded || $[54] !== handleContentHeightChange || $[55] !== hud || $[56] !== isExtensionsVisible || $[57] !== isHudActive || $[58] !== isStackHovered || $[59] !== isStatusActive || $[60] !== navigate || $[61] !== setExpanded || $[62] !== setIsHovered || $[63] !== statusStyle) {
6346
+ if ($[50] !== activeItem || $[51] !== clearHoverState || $[52] !== clearHud || $[53] !== contextActions || $[54] !== dockItems || $[55] !== expanded || $[56] !== handleContentHeightChange || $[57] !== hud || $[58] !== isExtensionsVisible || $[59] !== isHudActive || $[60] !== isStackHovered || $[61] !== isStatusActive || $[62] !== navigate || $[63] !== setExpanded || $[64] !== setIsHovered || $[65] !== statusStyle) {
6215
6347
  t14 = createDockCardProps({
6216
6348
  activeItem,
6217
6349
  clearHud,
@@ -6232,47 +6364,46 @@ function useDockModel() {
6232
6364
  setIsStackHovered,
6233
6365
  statusStyle
6234
6366
  });
6235
- $[48] = activeItem;
6236
- $[49] = clearHoverState;
6237
- $[50] = clearHud;
6238
- $[51] = contextActions;
6239
- $[52] = dockItems;
6240
- $[53] = expanded;
6241
- $[54] = handleContentHeightChange;
6242
- $[55] = hud;
6243
- $[56] = isExtensionsVisible;
6244
- $[57] = isHudActive;
6245
- $[58] = isStackHovered;
6246
- $[59] = isStatusActive;
6247
- $[60] = navigate;
6248
- $[61] = setExpanded;
6249
- $[62] = setIsHovered;
6250
- $[63] = statusStyle;
6251
- $[64] = t14;
6252
- } else {
6253
- t14 = $[64];
6367
+ $[50] = activeItem;
6368
+ $[51] = clearHoverState;
6369
+ $[52] = clearHud;
6370
+ $[53] = contextActions;
6371
+ $[54] = dockItems;
6372
+ $[55] = expanded;
6373
+ $[56] = handleContentHeightChange;
6374
+ $[57] = hud;
6375
+ $[58] = isExtensionsVisible;
6376
+ $[59] = isHudActive;
6377
+ $[60] = isStackHovered;
6378
+ $[61] = isStatusActive;
6379
+ $[62] = navigate;
6380
+ $[63] = setExpanded;
6381
+ $[64] = setIsHovered;
6382
+ $[65] = statusStyle;
6383
+ $[66] = t14;
6384
+ } else {
6385
+ t14 = $[66];
6254
6386
  }
6255
6387
  const dockCardProps = t14;
6256
- const dockMotion = useDockMotion();
6257
6388
  const t15 = activeItem?.surfacePhase ?? null;
6258
6389
  let t16;
6259
- if ($[65] !== dockMotion || $[66] !== expanded || $[67] !== surfaceResizeDistance || $[68] !== t15) {
6390
+ if ($[67] !== dockMotion || $[68] !== expanded || $[69] !== surfaceResizeDistance || $[70] !== t15) {
6260
6391
  t16 = getDockStackTransition(dockMotion, {
6261
6392
  expanded,
6262
6393
  resizeDistance: surfaceResizeDistance,
6263
6394
  surfacePhase: t15
6264
6395
  });
6265
- $[65] = dockMotion;
6266
- $[66] = expanded;
6267
- $[67] = surfaceResizeDistance;
6268
- $[68] = t15;
6269
- $[69] = t16;
6396
+ $[67] = dockMotion;
6397
+ $[68] = expanded;
6398
+ $[69] = surfaceResizeDistance;
6399
+ $[70] = t15;
6400
+ $[71] = t16;
6270
6401
  } else {
6271
- t16 = $[69];
6402
+ t16 = $[71];
6272
6403
  }
6273
6404
  const dockStackTransition = t16;
6274
6405
  let t17;
6275
- if ($[70] !== activeItem || $[71] !== containerHeight || $[72] !== dockCardProps || $[73] !== dockItems || $[74] !== dockStackTransition || $[75] !== expanded || $[76] !== isBackdropVisible || $[77] !== isBreadcrumbsCardVisible || $[78] !== isExtensionsVisible || $[79] !== isFullscreenStateActive || $[80] !== isOverlayActive || $[81] !== isSubCardVisible || $[82] !== navigate || $[83] !== portalTarget || $[84] !== stackWidth) {
6406
+ if ($[72] !== activeItem || $[73] !== containerHeight || $[74] !== dockCardProps || $[75] !== dockItems || $[76] !== dockStackTransition || $[77] !== expanded || $[78] !== isBackdropVisible || $[79] !== isBreadcrumbsCardVisible || $[80] !== isExtensionsVisible || $[81] !== isFullscreenStateActive || $[82] !== isOverlayActive || $[83] !== isSubCardVisible || $[84] !== navigate || $[85] !== portalTarget || $[86] !== stackWidth) {
6276
6407
  t17 = {
6277
6408
  activeItem,
6278
6409
  dockItems,
@@ -6291,28 +6422,28 @@ function useDockModel() {
6291
6422
  dockCardProps,
6292
6423
  dockStackTransition
6293
6424
  };
6294
- $[70] = activeItem;
6295
- $[71] = containerHeight;
6296
- $[72] = dockCardProps;
6297
- $[73] = dockItems;
6298
- $[74] = dockStackTransition;
6299
- $[75] = expanded;
6300
- $[76] = isBackdropVisible;
6301
- $[77] = isBreadcrumbsCardVisible;
6302
- $[78] = isExtensionsVisible;
6303
- $[79] = isFullscreenStateActive;
6304
- $[80] = isOverlayActive;
6305
- $[81] = isSubCardVisible;
6306
- $[82] = navigate;
6307
- $[83] = portalTarget;
6308
- $[84] = stackWidth;
6309
- $[85] = t17;
6310
- } else {
6311
- t17 = $[85];
6425
+ $[72] = activeItem;
6426
+ $[73] = containerHeight;
6427
+ $[74] = dockCardProps;
6428
+ $[75] = dockItems;
6429
+ $[76] = dockStackTransition;
6430
+ $[77] = expanded;
6431
+ $[78] = isBackdropVisible;
6432
+ $[79] = isBreadcrumbsCardVisible;
6433
+ $[80] = isExtensionsVisible;
6434
+ $[81] = isFullscreenStateActive;
6435
+ $[82] = isOverlayActive;
6436
+ $[83] = isSubCardVisible;
6437
+ $[84] = navigate;
6438
+ $[85] = portalTarget;
6439
+ $[86] = stackWidth;
6440
+ $[87] = t17;
6441
+ } else {
6442
+ t17 = $[87];
6312
6443
  }
6313
6444
  return t17;
6314
6445
  }
6315
- function _temp24(left, right) {
6446
+ function _temp25(left, right) {
6316
6447
  return left.contextActions === right.contextActions && left.hud === right.hud;
6317
6448
  }
6318
6449
  function _temp11(state) {
@@ -10232,7 +10363,7 @@ function useDockSurfaceExtensionsBarModel(t0) {
10232
10363
  let t2;
10233
10364
  if ($[3] !== activeItem?.extensions || $[4] !== activeItem?.surfaceExtensions || $[5] !== dynamicExtensions) {
10234
10365
  const raw = activeItem?.surfaceExtensions || activeItem?.extensions || [];
10235
- const descriptorExtensions = Array.isArray(raw) ? raw.map(normalizeSurfaceExtension).filter(_temp25) : [];
10366
+ const descriptorExtensions = Array.isArray(raw) ? raw.map(normalizeSurfaceExtension).filter(_temp26) : [];
10236
10367
  const map = /* @__PURE__ */ new Map();
10237
10368
  descriptorExtensions.forEach((ext_0) => map.set(ext_0.id, ext_0));
10238
10369
  dynamicExtensions.forEach((ext_1) => map.set(ext_1.id, ext_1));
@@ -10260,7 +10391,7 @@ function useDockSurfaceExtensionsBarModel(t0) {
10260
10391
  function _temp33(a, b) {
10261
10392
  return a.order - b.order;
10262
10393
  }
10263
- function _temp25(ext) {
10394
+ function _temp26(ext) {
10264
10395
  return ext !== null;
10265
10396
  }
10266
10397
  function _temp14() {
@@ -10321,7 +10452,7 @@ function ExtensionPill(t0) {
10321
10452
  }
10322
10453
  let t4;
10323
10454
  if ($[12] !== content || $[13] !== fill || $[14] !== t3) {
10324
- t4 = /* @__PURE__ */ jsx("div", { "data-fill": fill, className: t3, onClick: _temp26, children: content });
10455
+ t4 = /* @__PURE__ */ jsx("div", { "data-fill": fill, className: t3, onClick: _temp27, children: content });
10325
10456
  $[12] = content;
10326
10457
  $[13] = fill;
10327
10458
  $[14] = t3;
@@ -10331,7 +10462,7 @@ function ExtensionPill(t0) {
10331
10462
  }
10332
10463
  return t4;
10333
10464
  }
10334
- function _temp26(e_0) {
10465
+ function _temp27(e_0) {
10335
10466
  return e_0.stopPropagation();
10336
10467
  }
10337
10468
  function _temp15(e) {
@@ -15552,7 +15683,7 @@ function useDockConfig(configOrTitle, options) {
15552
15683
  }
15553
15684
  let t2;
15554
15685
  if ($[4] !== actions?.closeAllSurfaces) {
15555
- t2 = actions?.closeAllSurfaces ?? _temp27;
15686
+ t2 = actions?.closeAllSurfaces ?? _temp28;
15556
15687
  $[4] = actions?.closeAllSurfaces;
15557
15688
  $[5] = t2;
15558
15689
  } else {
@@ -15653,7 +15784,7 @@ function _temp43() {
15653
15784
  }
15654
15785
  function _temp35() {
15655
15786
  }
15656
- function _temp27() {
15787
+ function _temp28() {
15657
15788
  }
15658
15789
  function _temp21() {
15659
15790
  }
@@ -15662,7 +15793,7 @@ function useDockDimensions() {
15662
15793
  const {
15663
15794
  dockHeight
15664
15795
  } = useDockHeight();
15665
- const activeItem = useDockSelector(_temp28);
15796
+ const activeItem = useDockSelector(_temp29);
15666
15797
  const t0 = activeItem?.width ?? null;
15667
15798
  const t1 = Boolean(activeItem?.isSurface);
15668
15799
  let t2;
@@ -15681,7 +15812,7 @@ function useDockDimensions() {
15681
15812
  }
15682
15813
  return t2;
15683
15814
  }
15684
- function _temp28(state) {
15815
+ function _temp29(state) {
15685
15816
  return state.activeItem;
15686
15817
  }
15687
15818
  function useSurfaceReturn() {
@@ -15690,7 +15821,7 @@ function useSurfaceReturn() {
15690
15821
  const {
15691
15822
  continuity
15692
15823
  } = useDockActions();
15693
- const dockReturnHandoffs = useDockSelector(_temp29);
15824
+ const dockReturnHandoffs = useDockSelector(_temp30);
15694
15825
  let t0;
15695
15826
  if ($[0] !== dockReturnHandoffs) {
15696
15827
  t0 = dockReturnHandoffs || [];
@@ -15753,10 +15884,10 @@ function useSurfaceReturn() {
15753
15884
  }
15754
15885
  return t4;
15755
15886
  }
15756
- function _temp29(state) {
15887
+ function _temp30(state) {
15757
15888
  return state.dockReturnHandoffs;
15758
15889
  }
15759
15890
 
15760
15891
  export { DOCK_EVENTS, DOCK_HUD_PRIORITY, DOCK_HUD_RENDER_MODE, DOCK_HUD_VARIANT, Dock, DockCardBanner, DockCardHeader, DockDescription, DockIcon, DockProvider, DockSurfaceAction, DockSurfaceExtension, DockSurfaceHeaderButton, DockTitle, ErrorActions, GuardActions, createDockGuardRegistry, createErrorStatus, createGuardStatus, createInlineSurfaceEntry, createSurfaceEntryDefinition, createSurfaceFlowBuilder, defineBreadcrumb, defineDockAction, defineHud, defineStepSurface, defineSurface, dockModule, dockTheme, isValidBannerUrl, useDock, useDockActionClass, useDockActions, useDockBanner, useDockConfig, useDockContextActions, useDockDimensions, useDockGuard, useDockHeight, useDockHud, useDockMotion, useDockRegistration, useDockSelector, useDockState, useDockTheme, useHud, useOptionalDockActions, useOptionalDockState, useSurface, useSurfaceAction, useSurfaceDimensions, useSurfaceFlow, useSurfaceHeader, useSurfaceId, useSurfaceReturn, useSurfaceStep };
15761
- //# sourceMappingURL=chunk-PUD4IB3L.js.map
15762
- //# sourceMappingURL=chunk-PUD4IB3L.js.map
15892
+ //# sourceMappingURL=chunk-NCXFWCXP.js.map
15893
+ //# sourceMappingURL=chunk-NCXFWCXP.js.map