@omerdlw/base-framework 3.3.0 → 3.4.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.
- package/README.md +56 -72
- package/dist/ambient/index.js +10 -10
- package/dist/ambient/server/index.js +3 -3
- package/dist/ambient/server/index.js.map +1 -1
- package/dist/ambient/worker/index.js +7 -4
- package/dist/ambient/worker/index.js.map +1 -1
- package/dist/background/index.js +9 -9
- package/dist/chunk-2E6OASVV.js +17 -0
- package/dist/{chunk-K3LXE6D5.js.map → chunk-2E6OASVV.js.map} +1 -1
- package/dist/{chunk-ESD5EQ5H.js → chunk-3JLG24KI.js} +11 -22
- package/dist/chunk-3JLG24KI.js.map +1 -0
- package/dist/{chunk-CRKJAACG.js → chunk-4QQ3QVY7.js} +10 -10
- package/dist/{chunk-CRKJAACG.js.map → chunk-4QQ3QVY7.js.map} +1 -1
- package/dist/{chunk-7VU2OAJB.js → chunk-6LWCTP2Y.js} +21 -37
- package/dist/chunk-6LWCTP2Y.js.map +1 -0
- package/dist/{chunk-YZS2B6YE.js → chunk-7A47AXKI.js} +9 -11
- package/dist/chunk-7A47AXKI.js.map +1 -0
- package/dist/{chunk-LKYW4LH6.js → chunk-BLWJZHRL.js} +36 -43
- package/dist/chunk-BLWJZHRL.js.map +1 -0
- package/dist/{chunk-ZXRE2KZO.js → chunk-C3SEBNF5.js} +11 -15
- package/dist/chunk-C3SEBNF5.js.map +1 -0
- package/dist/{chunk-KOYTJW5E.js → chunk-DC4XZPDK.js} +7 -7
- package/dist/chunk-DC4XZPDK.js.map +1 -0
- package/dist/{chunk-HFR6YROB.js → chunk-DGVRHX3C.js} +1160 -1171
- package/dist/chunk-DGVRHX3C.js.map +1 -0
- package/dist/{chunk-VNSMNGWP.js → chunk-DMQKXBWO.js} +5 -5
- package/dist/{chunk-VNSMNGWP.js.map → chunk-DMQKXBWO.js.map} +1 -1
- package/dist/{chunk-67MOKJFZ.js → chunk-E2QQJZYY.js} +16 -16
- package/dist/chunk-E2QQJZYY.js.map +1 -0
- package/dist/{chunk-WZ5T2NXH.js → chunk-EBNZXYLT.js} +17 -15
- package/dist/chunk-EBNZXYLT.js.map +1 -0
- package/dist/{chunk-IH3STE7W.js → chunk-ED32WLAD.js} +1168 -1215
- package/dist/chunk-ED32WLAD.js.map +1 -0
- package/dist/{chunk-RGC2VFQO.js → chunk-FLYL76ZT.js} +6 -6
- package/dist/{chunk-RGC2VFQO.js.map → chunk-FLYL76ZT.js.map} +1 -1
- package/dist/{chunk-UQLTP3XB.js → chunk-GTJMM32W.js} +144 -144
- package/dist/chunk-GTJMM32W.js.map +1 -0
- package/dist/{chunk-NCXFWCXP.js → chunk-HPJWMBUS.js} +12054 -11915
- package/dist/chunk-HPJWMBUS.js.map +1 -0
- package/dist/{chunk-TAWTGCWJ.js → chunk-ICFPSAJZ.js} +7 -8
- package/dist/chunk-ICFPSAJZ.js.map +1 -0
- package/dist/{chunk-WQTMOUCA.js → chunk-JWUKAZ3A.js} +45 -67
- package/dist/chunk-JWUKAZ3A.js.map +1 -0
- package/dist/{chunk-QRXDXAQI.js → chunk-KN4KOTC7.js} +161 -165
- package/dist/chunk-KN4KOTC7.js.map +1 -0
- package/dist/{chunk-UE2KBW3D.js → chunk-KRHH3UQ6.js} +34 -37
- package/dist/chunk-KRHH3UQ6.js.map +1 -0
- package/dist/{chunk-R4K6VAOK.js → chunk-M36DFIJ6.js} +11 -18
- package/dist/chunk-M36DFIJ6.js.map +1 -0
- package/dist/{chunk-UDJ7ARCH.js → chunk-S2ZOLTTS.js} +3 -3
- package/dist/{chunk-UDJ7ARCH.js.map → chunk-S2ZOLTTS.js.map} +1 -1
- package/dist/{chunk-D222OCTV.js → chunk-S67HGKJ2.js} +49 -55
- package/dist/chunk-S67HGKJ2.js.map +1 -0
- package/dist/chunk-ST7QOM4O.js +29 -0
- package/dist/chunk-ST7QOM4O.js.map +1 -0
- package/dist/{chunk-RDYYP36I.js → chunk-TMKA5ZHO.js} +7 -6
- package/dist/chunk-TMKA5ZHO.js.map +1 -0
- package/dist/{chunk-XGAYTDSI.js → chunk-UWX7GCNX.js} +23 -26
- package/dist/chunk-UWX7GCNX.js.map +1 -0
- package/dist/{chunk-6IP6YFQX.js → chunk-VMR7ZKIF.js} +21 -31
- package/dist/chunk-VMR7ZKIF.js.map +1 -0
- package/dist/{chunk-BMFHS3GV.js → chunk-YHWA7FXX.js} +22 -12
- package/dist/chunk-YHWA7FXX.js.map +1 -0
- package/dist/{chunk-GKAJ4EM2.js → chunk-ZQI4ZCVU.js} +83 -83
- package/dist/chunk-ZQI4ZCVU.js.map +1 -0
- package/dist/context-menu/index.js +16 -15
- package/dist/controls/index.js +7 -6
- package/dist/core/error/boundary.d.ts.map +1 -1
- package/dist/core/error/constants.d.ts +9 -0
- package/dist/core/error/constants.d.ts.map +1 -1
- package/dist/core/error/index.d.ts +2 -3
- package/dist/core/error/index.d.ts.map +1 -1
- package/dist/core/error/listener.d.ts.map +1 -1
- package/dist/core/error/reporter.d.ts +7 -6
- package/dist/core/error/reporter.d.ts.map +1 -1
- package/dist/core/error/utils.d.ts.map +1 -1
- package/dist/core/kernel/constants.d.ts +1 -1
- package/dist/core/kernel/constants.d.ts.map +1 -1
- package/dist/core/kernel/{compose.d.ts → host/compose.d.ts} +0 -4
- package/dist/core/kernel/host/compose.d.ts.map +1 -0
- package/dist/core/kernel/{installed.d.ts → host/installed.d.ts} +1 -1
- package/dist/core/kernel/host/installed.d.ts.map +1 -0
- package/dist/core/kernel/{module.d.ts → host/module.d.ts} +2 -5
- package/dist/core/kernel/host/module.d.ts.map +1 -0
- package/dist/core/kernel/{adapters.d.ts → host/registration.d.ts} +2 -2
- package/dist/core/kernel/host/registration.d.ts.map +1 -0
- package/dist/core/kernel/index.d.ts +12 -12
- package/dist/core/kernel/index.d.ts.map +1 -1
- package/dist/core/kernel/{page-controller.d.ts → page.d.ts} +2 -2
- package/dist/core/kernel/page.d.ts.map +1 -0
- package/dist/core/kernel/{handlers.d.ts → registry/apply.d.ts} +2 -2
- package/dist/core/kernel/registry/apply.d.ts.map +1 -0
- package/dist/core/kernel/{hooks.d.ts → registry/hooks.d.ts} +1 -1
- package/dist/core/kernel/registry/hooks.d.ts.map +1 -0
- package/dist/core/kernel/{operations.d.ts → registry/operations.d.ts} +2 -2
- package/dist/core/kernel/registry/operations.d.ts.map +1 -0
- package/dist/core/kernel/{provider.d.ts → registry/provider.d.ts} +2 -2
- package/dist/core/kernel/registry/provider.d.ts.map +1 -0
- package/dist/core/kernel/{operations-records.d.ts → registry/records.d.ts} +2 -2
- package/dist/core/kernel/registry/records.d.ts.map +1 -0
- package/dist/core/kernel/registry/registration.d.ts +13 -0
- package/dist/core/kernel/registry/registration.d.ts.map +1 -0
- package/dist/core/kernel/{schema.d.ts → registry/schema.d.ts} +1 -1
- package/dist/core/kernel/registry/schema.d.ts.map +1 -0
- package/dist/core/kernel/{store-snapshots.d.ts → registry/snapshots.d.ts} +3 -3
- package/dist/core/kernel/registry/snapshots.d.ts.map +1 -0
- package/dist/core/kernel/{stabilize.d.ts → registry/stabilize.d.ts} +1 -1
- package/dist/core/kernel/registry/stabilize.d.ts.map +1 -0
- package/dist/core/kernel/{store.d.ts → registry/store.d.ts} +2 -2
- package/dist/core/kernel/registry/store.d.ts.map +1 -0
- package/dist/core/kernel/{store-subscriptions.d.ts → registry/subscriptions.d.ts} +2 -6
- package/dist/core/kernel/registry/subscriptions.d.ts.map +1 -0
- package/dist/core/kernel/{runtime.d.ts → registry/transaction.d.ts} +2 -2
- package/dist/core/kernel/registry/transaction.d.ts.map +1 -0
- package/dist/core/kernel/{types-modules.d.ts → types/modules.d.ts} +4 -4
- package/dist/core/kernel/types/modules.d.ts.map +1 -0
- package/dist/core/kernel/{types-page.d.ts → types/page.d.ts} +3 -3
- package/dist/core/kernel/types/page.d.ts.map +1 -0
- package/dist/core/kernel/{types.d.ts → types/registry.d.ts} +4 -4
- package/dist/core/kernel/types/registry.d.ts.map +1 -0
- package/dist/core/kernel/{types-store.d.ts → types/store.d.ts} +3 -3
- package/dist/core/kernel/types/store.d.ts.map +1 -0
- package/dist/core/kernel/utils.d.ts +1 -1
- package/dist/core/kernel/utils.d.ts.map +1 -1
- package/dist/core/navigation/{navigator-holds.d.ts → holds.d.ts} +2 -1
- package/dist/core/navigation/holds.d.ts.map +1 -0
- package/dist/core/navigation/navigator.d.ts.map +1 -1
- package/dist/core/navigation/{navigator-patience.d.ts → patience.d.ts} +1 -1
- package/dist/core/navigation/patience.d.ts.map +1 -0
- package/dist/core/navigation/{navigator-payload.d.ts → payload.d.ts} +2 -1
- package/dist/core/navigation/payload.d.ts.map +1 -0
- package/dist/core/navigation/{navigator-prefetch.d.ts → prefetch.d.ts} +2 -1
- package/dist/core/navigation/prefetch.d.ts.map +1 -0
- package/dist/core/navigation/settings.d.ts.map +1 -1
- package/dist/core/navigation/state.d.ts.map +1 -1
- package/dist/core/navigation/utils.d.ts +3 -0
- package/dist/core/navigation/utils.d.ts.map +1 -1
- package/dist/core/provider/index.d.ts +1 -1
- package/dist/core/provider/index.d.ts.map +1 -1
- package/dist/dock/index.js +15 -14
- package/dist/error/index.js +7 -7
- package/dist/events/index.js +24 -20
- package/dist/events/index.js.map +1 -1
- package/dist/foundation/events/index.d.ts.map +1 -1
- package/dist/foundation/recipes/recipe.d.ts.map +1 -1
- package/dist/foundation/result/index.d.ts.map +1 -1
- package/dist/foundation/utils/collections.d.ts +11 -0
- package/dist/foundation/utils/collections.d.ts.map +1 -0
- package/dist/foundation/utils/dom.d.ts.map +1 -1
- package/dist/foundation/utils/report.d.ts.map +1 -1
- package/dist/foundation/utils/scheduler.d.ts.map +1 -1
- package/dist/foundation/utils/store.d.ts.map +1 -1
- package/dist/foundation/utils/string.d.ts.map +1 -1
- package/dist/foundation/utils/tempo.d.ts.map +1 -1
- package/dist/foundation/utils/timing.d.ts.map +1 -1
- package/dist/foundation/utils/user-message.d.ts.map +1 -1
- package/dist/hooks/index.js +3 -3
- package/dist/index.js +25 -24
- package/dist/kernel/index.js +4 -4
- package/dist/loading/index.js +8 -8
- package/dist/media/index.js +5 -5
- package/dist/modal/index.js +155 -166
- package/dist/modal/index.js.map +1 -1
- package/dist/modules/ambient/{analyze.d.ts → analysis/analyze.d.ts} +3 -3
- package/dist/modules/ambient/analysis/analyze.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-bounds.d.ts → analysis/bounds.d.ts} +2 -2
- package/dist/modules/ambient/analysis/bounds.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-clusters.d.ts → analysis/clusters.d.ts} +3 -3
- package/dist/modules/ambient/analysis/clusters.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-ground.d.ts → analysis/ground.d.ts} +3 -3
- package/dist/modules/ambient/analysis/ground.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-measures.d.ts → analysis/measures.d.ts} +2 -2
- package/dist/modules/ambient/analysis/measures.d.ts.map +1 -0
- package/dist/modules/ambient/{oklab.d.ts → analysis/oklab.d.ts} +1 -3
- package/dist/modules/ambient/analysis/oklab.d.ts.map +1 -0
- package/dist/modules/ambient/analysis/quantize.d.ts.map +1 -0
- package/dist/modules/ambient/{analyze-swatches.d.ts → analysis/swatches.d.ts} +3 -3
- package/dist/modules/ambient/analysis/swatches.d.ts.map +1 -0
- package/dist/modules/ambient/hooks.d.ts +0 -1
- package/dist/modules/ambient/hooks.d.ts.map +1 -1
- package/dist/modules/ambient/index.d.ts +2 -2
- package/dist/modules/ambient/index.d.ts.map +1 -1
- package/dist/modules/ambient/module.d.ts +0 -3
- package/dist/modules/ambient/module.d.ts.map +1 -1
- package/dist/modules/ambient/pipeline.d.ts +6 -5
- package/dist/modules/ambient/pipeline.d.ts.map +1 -1
- package/dist/modules/ambient/server/index.d.ts +2 -2
- package/dist/modules/ambient/server/index.d.ts.map +1 -1
- package/dist/modules/ambient/settings.d.ts +0 -2
- package/dist/modules/ambient/settings.d.ts.map +1 -1
- package/dist/modules/ambient/worker/index.d.ts.map +1 -1
- package/dist/modules/background/constants.d.ts +3 -1
- package/dist/modules/background/constants.d.ts.map +1 -1
- package/dist/modules/background/context.d.ts +1 -1
- package/dist/modules/background/context.d.ts.map +1 -1
- package/dist/modules/background/hooks.d.ts +929 -0
- package/dist/modules/background/hooks.d.ts.map +1 -1
- package/dist/modules/background/index.d.ts +6 -6
- package/dist/modules/background/index.d.ts.map +1 -1
- package/dist/modules/background/module.d.ts +1 -1
- package/dist/modules/background/module.d.ts.map +1 -1
- package/dist/modules/background/{hooks/use-native-video-model.d.ts → native-video.d.ts} +4 -8
- package/dist/modules/background/native-video.d.ts.map +1 -0
- package/dist/modules/background/overlay.d.ts.map +1 -0
- package/dist/modules/background/playback.d.ts.map +1 -0
- package/dist/modules/background/{model/state.d.ts → state.d.ts} +11 -1
- package/dist/modules/background/state.d.ts.map +1 -0
- package/dist/modules/background/{model/visual.d.ts → visual.d.ts} +43 -6
- package/dist/modules/background/visual.d.ts.map +1 -0
- package/dist/modules/background/youtube/audio.d.ts.map +1 -0
- package/dist/modules/background/youtube/iframe.d.ts +92 -0
- package/dist/modules/background/youtube/iframe.d.ts.map +1 -0
- package/dist/modules/background/youtube/{lib/parse.d.ts → parse.d.ts} +1 -1
- package/dist/modules/background/youtube/parse.d.ts.map +1 -0
- package/dist/modules/background/youtube/{components/player.d.ts → player.d.ts} +1 -1
- package/dist/modules/background/youtube/player.d.ts.map +1 -0
- package/dist/modules/background/youtube/{lib/timing.d.ts → timing.d.ts} +0 -2
- package/dist/modules/background/youtube/timing.d.ts.map +1 -0
- package/dist/modules/background/youtube/use-iframe-player.d.ts +37 -0
- package/dist/modules/background/youtube/use-iframe-player.d.ts.map +1 -0
- package/dist/modules/background/youtube/{hooks/use-youtube-background-player-model.d.ts → use-player.d.ts} +2 -2
- package/dist/modules/background/youtube/use-player.d.ts.map +1 -0
- package/dist/modules/background/youtube/{hooks/use-youtube-video-sync.d.ts → use-video-sync.d.ts} +8 -4
- package/dist/modules/background/youtube/use-video-sync.d.ts.map +1 -0
- package/dist/modules/background/youtube/{lib/video-events.d.ts → video-events.d.ts} +8 -8
- package/dist/modules/background/youtube/video-events.d.ts.map +1 -0
- package/dist/modules/context-menu/dom.d.ts.map +1 -1
- package/dist/modules/context-menu/items.d.ts.map +1 -1
- package/dist/modules/context-menu/overlay.d.ts +3 -10
- package/dist/modules/context-menu/overlay.d.ts.map +1 -1
- package/dist/modules/context-menu/resolver.d.ts.map +1 -1
- package/dist/modules/controls/overlay.d.ts +0 -10
- package/dist/modules/controls/overlay.d.ts.map +1 -1
- package/dist/modules/dock/{lib → card}/banner.d.ts +3 -16
- package/dist/modules/dock/card/banner.d.ts.map +1 -0
- package/dist/modules/dock/{components/card-item.d.ts → card/card.d.ts} +5 -2
- package/dist/modules/dock/card/card.d.ts.map +1 -0
- package/dist/modules/dock/card/compact.d.ts +9 -0
- package/dist/modules/dock/card/compact.d.ts.map +1 -0
- package/dist/modules/dock/{components/item-content.d.ts → card/content.d.ts} +1 -1
- package/dist/modules/dock/card/content.d.ts.map +1 -0
- package/dist/modules/dock/card/header.d.ts +8 -0
- package/dist/modules/dock/card/header.d.ts.map +1 -0
- package/dist/modules/dock/{components → card}/icon.d.ts +1 -1
- package/dist/modules/dock/card/icon.d.ts.map +1 -0
- package/dist/modules/dock/{lib/card-item.d.ts → card/model.d.ts} +27 -2
- package/dist/modules/dock/card/model.d.ts.map +1 -0
- package/dist/modules/dock/{hooks/use-card-item-model.d.ts → card/use-card.d.ts} +6 -5
- package/dist/modules/dock/{hooks/use-card-item-model.d.ts.map → card/use-card.d.ts.map} +1 -1
- package/dist/modules/dock/commands/command-bar.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/commands.d.ts → commands/registry.d.ts} +1 -1
- package/dist/modules/dock/commands/registry.d.ts.map +1 -0
- package/dist/modules/dock/constants.d.ts +4 -7
- package/dist/modules/dock/constants.d.ts.map +1 -1
- package/dist/modules/dock/context.d.ts +1 -1
- package/dist/modules/dock/context.d.ts.map +1 -1
- package/dist/modules/dock/hooks.d.ts +47 -0
- package/dist/modules/dock/hooks.d.ts.map +1 -0
- package/dist/modules/dock/{hud.d.ts → hud/hud.d.ts} +14 -7
- package/dist/modules/dock/hud/hud.d.ts.map +1 -0
- package/dist/modules/dock/{model/hud-definition.d.ts → hud/model.d.ts} +7 -1
- package/dist/modules/dock/hud/model.d.ts.map +1 -0
- package/dist/modules/dock/{components/hud-view.d.ts → hud/view.d.ts} +1 -1
- package/dist/modules/dock/hud/view.d.ts.map +1 -0
- package/dist/modules/dock/index.d.ts +22 -22
- package/dist/modules/dock/index.d.ts.map +1 -1
- package/dist/modules/dock/items/attention.d.ts +43 -0
- package/dist/modules/dock/items/attention.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/model/items.d.ts → items/build.d.ts} +2 -2
- package/dist/modules/dock/items/build.d.ts.map +1 -0
- package/dist/modules/dock/{runtime → items}/display.d.ts +2 -5
- package/dist/modules/dock/items/display.d.ts.map +1 -0
- package/dist/modules/dock/items/operations.d.ts +22 -0
- package/dist/modules/dock/items/operations.d.ts.map +1 -0
- package/dist/modules/dock/{runtime → items}/pipeline.d.ts +1 -1
- package/dist/modules/dock/items/pipeline.d.ts.map +1 -0
- package/dist/modules/dock/{components/media-action.d.ts → media/controls.d.ts} +5 -2
- package/dist/modules/dock/media/controls.d.ts.map +1 -0
- package/dist/modules/dock/{lib/media.d.ts → media/model.d.ts} +1 -3
- package/dist/modules/dock/media/model.d.ts.map +1 -0
- package/dist/modules/dock/{components/media-scrubber.d.ts → media/scrubber.d.ts} +1 -1
- package/dist/modules/dock/media/scrubber.d.ts.map +1 -0
- package/dist/modules/dock/{hooks/use-media-controls-model.d.ts → media/use-controls.d.ts} +8 -8
- package/dist/modules/dock/media/use-controls.d.ts.map +1 -0
- package/dist/modules/dock/module.d.ts.map +1 -1
- package/dist/modules/dock/motion.d.ts +3 -4
- package/dist/modules/dock/motion.d.ts.map +1 -1
- package/dist/modules/dock/provider.d.ts.map +1 -1
- package/dist/modules/dock/routing/breadcrumbs-card.d.ts.map +1 -0
- package/dist/modules/dock/routing/{model/continuity.d.ts → continuity-state.d.ts} +2 -2
- package/dist/modules/dock/routing/continuity-state.d.ts.map +1 -0
- package/dist/modules/dock/routing/continuity.d.ts +8 -8
- package/dist/modules/dock/routing/continuity.d.ts.map +1 -1
- package/dist/modules/dock/routing/navigation.d.ts +0 -10
- package/dist/modules/dock/routing/navigation.d.ts.map +1 -1
- package/dist/modules/dock/routing/paths.d.ts.map +1 -0
- package/dist/modules/dock/routing/{model/policy.d.ts → policy.d.ts} +1 -1
- package/dist/modules/dock/routing/policy.d.ts.map +1 -0
- package/dist/modules/dock/routing/{hooks/use-route-prefetch.d.ts → prefetch.d.ts} +3 -3
- package/dist/modules/dock/routing/prefetch.d.ts.map +1 -0
- package/dist/modules/dock/routing/route-bridge.d.ts +8 -0
- package/dist/modules/dock/routing/route-bridge.d.ts.map +1 -0
- package/dist/modules/dock/routing/{model/topology.d.ts → topology.d.ts} +1 -1
- package/dist/modules/dock/routing/topology.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/model → stack}/cards.d.ts +11 -5
- package/dist/modules/dock/stack/cards.d.ts.map +1 -0
- package/dist/modules/dock/stack/dock.d.ts.map +1 -0
- package/dist/modules/dock/stack/focus.d.ts +22 -0
- package/dist/modules/dock/stack/focus.d.ts.map +1 -0
- package/dist/modules/dock/{model → stack}/layout.d.ts +10 -4
- package/dist/modules/dock/stack/layout.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/dock.d.ts → stack/use-dock-model.d.ts} +4 -1
- package/dist/modules/dock/stack/use-dock-model.d.ts.map +1 -0
- package/dist/modules/dock/{runtime/hooks → stack}/use-dock.d.ts +9 -9
- package/dist/modules/dock/stack/use-dock.d.ts.map +1 -0
- package/dist/modules/dock/stack/use-height.d.ts +12 -0
- package/dist/modules/dock/stack/use-height.d.ts.map +1 -0
- package/dist/modules/dock/{components/status-actions.d.ts → status/actions.d.ts} +1 -1
- package/dist/modules/dock/status/actions.d.ts.map +1 -0
- package/dist/modules/dock/status/events.d.ts +4 -4
- package/dist/modules/dock/status/events.d.ts.map +1 -1
- package/dist/modules/dock/status/hooks.d.ts.map +1 -1
- package/dist/modules/dock/status/model.d.ts +34 -4
- package/dist/modules/dock/status/model.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model/builder.d.ts → builder.d.ts} +13 -7
- package/dist/modules/dock/surface/builder.d.ts.map +1 -0
- package/dist/modules/dock/{components/surface/item-content.d.ts → surface/content.d.ts} +2 -2
- package/dist/modules/dock/surface/content.d.ts.map +1 -0
- package/dist/modules/dock/surface/context.d.ts +12 -3
- package/dist/modules/dock/surface/context.d.ts.map +1 -1
- package/dist/modules/dock/surface/controls.d.ts +26 -0
- package/dist/modules/dock/surface/controls.d.ts.map +1 -0
- package/dist/modules/dock/surface/definition.d.ts.map +1 -1
- package/dist/modules/dock/{components/surface → surface}/extensions-bar.d.ts +1 -1
- package/dist/modules/dock/surface/extensions-bar.d.ts.map +1 -0
- package/dist/modules/dock/{components/surface/action.d.ts → surface/extensions.d.ts} +4 -2
- package/dist/modules/dock/surface/extensions.d.ts.map +1 -0
- package/dist/modules/dock/{components/surface → surface}/header-button.d.ts +3 -3
- package/dist/modules/dock/surface/header-button.d.ts.map +1 -0
- package/dist/modules/dock/surface/helpers.d.ts +13 -1
- package/dist/modules/dock/surface/helpers.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model/normalize.d.ts → normalize.d.ts} +1 -1
- package/dist/modules/dock/surface/normalize.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/choreography.d.ts +28 -2
- package/dist/modules/dock/surface/runtime/choreography.d.ts.map +1 -1
- package/dist/modules/dock/surface/runtime/flows.d.ts +1 -1
- package/dist/modules/dock/surface/runtime/flows.d.ts.map +1 -1
- package/dist/modules/dock/surface/{machine.d.ts → runtime/machine.d.ts} +1 -1
- package/dist/modules/dock/surface/runtime/machine.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/open.d.ts +1 -2
- package/dist/modules/dock/surface/runtime/open.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model → runtime}/records.d.ts +1 -1
- package/dist/modules/dock/surface/runtime/records.d.ts.map +1 -0
- package/dist/modules/dock/surface/{stack.d.ts → runtime/stack.d.ts} +10 -10
- package/dist/modules/dock/surface/runtime/stack.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/steps.d.ts +1 -1
- package/dist/modules/dock/surface/runtime/steps.d.ts.map +1 -1
- package/dist/modules/dock/surface/{model/transition-state.d.ts → runtime/transition.d.ts} +1 -1
- package/dist/modules/dock/surface/runtime/transition.d.ts.map +1 -0
- package/dist/modules/dock/surface/runtime/url.d.ts.map +1 -0
- package/dist/modules/dock/surface/{hooks/use-surface-shell-model.d.ts → shell.d.ts} +9 -3
- package/dist/modules/dock/surface/shell.d.ts.map +1 -0
- package/dist/modules/dock/surface/{hooks/use-surface-flow.d.ts → use-flow.d.ts} +2 -2
- package/dist/modules/dock/surface/use-flow.d.ts.map +1 -0
- package/dist/modules/dock/surface/view-model.d.ts.map +1 -1
- package/dist/modules/dock/{lib/styles.d.ts → theme.d.ts} +8 -4
- package/dist/modules/dock/theme.d.ts.map +1 -0
- package/dist/modules/dock/types/card.d.ts +22 -2
- package/dist/modules/dock/types/card.d.ts.map +1 -1
- package/dist/modules/dock/types/index.d.ts +1 -0
- package/dist/modules/dock/types/index.d.ts.map +1 -1
- package/dist/modules/dock/types/surface.d.ts +2 -2
- package/dist/modules/dock/types/surface.d.ts.map +1 -1
- package/dist/modules/dock/types/theme.d.ts +10 -1
- package/dist/modules/dock/types/theme.d.ts.map +1 -1
- package/dist/modules/dock/{lib/helpers.d.ts → utils.d.ts} +10 -3
- package/dist/modules/dock/utils.d.ts.map +1 -0
- package/dist/modules/index.js +23 -22
- package/dist/modules/loading/hooks.d.ts +2 -1
- package/dist/modules/loading/hooks.d.ts.map +1 -1
- package/dist/modules/loading/state.d.ts.map +1 -1
- package/dist/modules/media/hooks.d.ts.map +1 -1
- package/dist/modules/media/playback.d.ts.map +1 -1
- package/dist/modules/modal/constants.d.ts +3 -1
- package/dist/modules/modal/constants.d.ts.map +1 -1
- package/dist/modules/modal/{components/modal-container.d.ts → container.d.ts} +2 -2
- package/dist/modules/modal/container.d.ts.map +1 -0
- package/dist/modules/modal/context.d.ts +5 -1
- package/dist/modules/modal/context.d.ts.map +1 -1
- package/dist/modules/modal/dom.d.ts.map +1 -0
- package/dist/modules/modal/hooks.d.ts +3 -2
- package/dist/modules/modal/hooks.d.ts.map +1 -1
- package/dist/modules/modal/index.d.ts +7 -7
- package/dist/modules/modal/index.d.ts.map +1 -1
- package/dist/modules/modal/{model/layout.d.ts → layout.d.ts} +1 -1
- package/dist/modules/modal/layout.d.ts.map +1 -0
- package/dist/modules/modal/module.d.ts +1 -1
- package/dist/modules/modal/module.d.ts.map +1 -1
- package/dist/modules/modal/overlay.d.ts.map +1 -0
- package/dist/modules/modal/state.d.ts +52 -0
- package/dist/modules/modal/state.d.ts.map +1 -0
- package/dist/modules/navigation/hooks.d.ts.map +1 -1
- package/dist/modules/notification/hooks.d.ts.map +1 -1
- package/dist/modules/notification/overlay.d.ts +0 -1
- package/dist/modules/notification/overlay.d.ts.map +1 -1
- package/dist/navigation/index.js +33 -41
- package/dist/navigation/index.js.map +1 -1
- package/dist/notification/index.js +8 -7
- package/dist/overlay-YMLS3SAQ.js +14 -0
- package/dist/{overlay-7QLGWHCH.js.map → overlay-YMLS3SAQ.js.map} +1 -1
- package/dist/provider/index.js +12 -11
- package/dist/react/hooks/index.d.ts +3 -1
- package/dist/react/hooks/index.d.ts.map +1 -1
- package/dist/react/hooks/use-client-value.d.ts +15 -0
- package/dist/react/hooks/use-client-value.d.ts.map +1 -0
- package/dist/react/hooks/use-controllable-state.d.ts +8 -1
- package/dist/react/hooks/use-controllable-state.d.ts.map +1 -1
- package/dist/react/hooks/use-fullscreen-state.d.ts +0 -2
- package/dist/react/hooks/use-fullscreen-state.d.ts.map +1 -1
- package/dist/react/hooks/use-global-event.d.ts +7 -1
- package/dist/react/hooks/use-global-event.d.ts.map +1 -1
- package/dist/react/hooks/use-hotkey.d.ts +9 -1
- package/dist/react/hooks/use-hotkey.d.ts.map +1 -1
- package/dist/react/hooks/use-scroll-lock.d.ts.map +1 -1
- package/dist/react/hooks/use-store.d.ts +3 -0
- package/dist/react/hooks/use-store.d.ts.map +1 -1
- package/dist/react/theme/index.d.ts.map +1 -1
- package/dist/react/ui/components/avatar.d.ts +4 -0
- package/dist/react/ui/components/avatar.d.ts.map +1 -1
- package/dist/react/ui/components/carousel.d.ts +22 -1
- package/dist/react/ui/components/carousel.d.ts.map +1 -1
- package/dist/react/ui/components/image.d.ts.map +1 -1
- package/dist/react/ui/components/indicator.d.ts +18 -8
- package/dist/react/ui/components/indicator.d.ts.map +1 -1
- package/dist/react/ui/components/segmented.d.ts.map +1 -1
- package/dist/react/ui/components/{select-parts.d.ts → select/options.d.ts} +2 -2
- package/dist/react/ui/components/{select-parts.d.ts.map → select/options.d.ts.map} +1 -1
- package/dist/react/ui/components/{select.d.ts → select/select.d.ts} +1 -1
- package/dist/react/ui/components/select/select.d.ts.map +1 -0
- package/dist/react/ui/components/{tooltip-group.d.ts → tooltip/group.d.ts} +3 -2
- package/dist/react/ui/components/tooltip/group.d.ts.map +1 -0
- package/dist/react/ui/components/{tooltip-placement.d.ts → tooltip/placement.d.ts} +2 -3
- package/dist/react/ui/components/tooltip/placement.d.ts.map +1 -0
- package/dist/react/ui/components/{tooltip-slot.d.ts → tooltip/slot.d.ts} +1 -1
- package/dist/react/ui/components/tooltip/slot.d.ts.map +1 -0
- package/dist/react/ui/components/{tooltip.d.ts → tooltip/tooltip.d.ts} +2 -2
- package/dist/react/ui/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/react/ui/index.d.ts +5 -4
- package/dist/react/ui/index.d.ts.map +1 -1
- package/dist/react/ui/provider.d.ts.map +1 -1
- package/dist/react/ui/types.d.ts +131 -3
- package/dist/react/ui/types.d.ts.map +1 -1
- package/dist/recipes/index.js +5 -6
- package/dist/recipes/index.js.map +1 -1
- package/dist/result/index.js +12 -15
- package/dist/result/index.js.map +1 -1
- package/dist/theme/index.js +2 -2
- package/dist/ui/index.js +849 -858
- package/dist/ui/index.js.map +1 -1
- package/dist/utils/index.js +31 -34
- package/dist/utils/index.js.map +1 -1
- package/docs/README.md +1 -1
- package/docs/architecture-and-rules.md +35 -24
- package/docs/modules/README.md +15 -15
- package/docs/modules/ambient.md +23 -23
- package/docs/modules/background.md +23 -18
- package/docs/modules/dock.md +34 -20
- package/docs/modules/error-boundary.md +1 -2
- package/docs/modules/kernel.md +28 -30
- package/docs/modules/modal.md +16 -15
- package/docs/modules/navigation.md +14 -14
- package/docs/testing.md +1 -1
- package/package.json +1 -2
- package/dist/chunk-67MOKJFZ.js.map +0 -1
- package/dist/chunk-6IP6YFQX.js.map +0 -1
- package/dist/chunk-7VU2OAJB.js.map +0 -1
- package/dist/chunk-BMFHS3GV.js.map +0 -1
- package/dist/chunk-D222OCTV.js.map +0 -1
- package/dist/chunk-ESD5EQ5H.js.map +0 -1
- package/dist/chunk-GKAJ4EM2.js.map +0 -1
- package/dist/chunk-HFR6YROB.js.map +0 -1
- package/dist/chunk-IH3STE7W.js.map +0 -1
- package/dist/chunk-K3LXE6D5.js +0 -17
- package/dist/chunk-KOYTJW5E.js.map +0 -1
- package/dist/chunk-LKYW4LH6.js.map +0 -1
- package/dist/chunk-NCXFWCXP.js.map +0 -1
- package/dist/chunk-QRXDXAQI.js.map +0 -1
- package/dist/chunk-R4K6VAOK.js.map +0 -1
- package/dist/chunk-RDYYP36I.js.map +0 -1
- package/dist/chunk-TAWTGCWJ.js.map +0 -1
- package/dist/chunk-UE2KBW3D.js.map +0 -1
- package/dist/chunk-UQLTP3XB.js.map +0 -1
- package/dist/chunk-WQTMOUCA.js.map +0 -1
- package/dist/chunk-WZ5T2NXH.js.map +0 -1
- package/dist/chunk-XGAYTDSI.js.map +0 -1
- package/dist/chunk-YZS2B6YE.js.map +0 -1
- package/dist/chunk-ZXRE2KZO.js.map +0 -1
- package/dist/core/error/theme.d.ts +0 -10
- package/dist/core/error/theme.d.ts.map +0 -1
- package/dist/core/kernel/adapters.d.ts.map +0 -1
- package/dist/core/kernel/compose.d.ts.map +0 -1
- package/dist/core/kernel/handlers.d.ts.map +0 -1
- package/dist/core/kernel/hooks.d.ts.map +0 -1
- package/dist/core/kernel/installed.d.ts.map +0 -1
- package/dist/core/kernel/module.d.ts.map +0 -1
- package/dist/core/kernel/operations-records.d.ts.map +0 -1
- package/dist/core/kernel/operations-resolve.d.ts +0 -5
- package/dist/core/kernel/operations-resolve.d.ts.map +0 -1
- package/dist/core/kernel/operations.d.ts.map +0 -1
- package/dist/core/kernel/page-controller.d.ts.map +0 -1
- package/dist/core/kernel/provider.d.ts.map +0 -1
- package/dist/core/kernel/runtime.d.ts.map +0 -1
- package/dist/core/kernel/schema.d.ts.map +0 -1
- package/dist/core/kernel/stabilize.d.ts.map +0 -1
- package/dist/core/kernel/store-batch.d.ts +0 -17
- package/dist/core/kernel/store-batch.d.ts.map +0 -1
- package/dist/core/kernel/store-entries.d.ts +0 -6
- package/dist/core/kernel/store-entries.d.ts.map +0 -1
- package/dist/core/kernel/store-handles.d.ts +0 -4
- package/dist/core/kernel/store-handles.d.ts.map +0 -1
- package/dist/core/kernel/store-registration.d.ts +0 -14
- package/dist/core/kernel/store-registration.d.ts.map +0 -1
- package/dist/core/kernel/store-snapshots.d.ts.map +0 -1
- package/dist/core/kernel/store-subscriptions.d.ts.map +0 -1
- package/dist/core/kernel/store.d.ts.map +0 -1
- package/dist/core/kernel/types-modules.d.ts.map +0 -1
- package/dist/core/kernel/types-page.d.ts.map +0 -1
- package/dist/core/kernel/types-store.d.ts.map +0 -1
- package/dist/core/kernel/types.d.ts.map +0 -1
- package/dist/core/navigation/navigator-defaults.d.ts +0 -4
- package/dist/core/navigation/navigator-defaults.d.ts.map +0 -1
- package/dist/core/navigation/navigator-holds.d.ts.map +0 -1
- package/dist/core/navigation/navigator-patience.d.ts.map +0 -1
- package/dist/core/navigation/navigator-payload.d.ts.map +0 -1
- package/dist/core/navigation/navigator-prefetch.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-bounds.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-clusters.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-ground.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-measures.d.ts.map +0 -1
- package/dist/modules/ambient/analyze-swatches.d.ts.map +0 -1
- package/dist/modules/ambient/analyze.d.ts.map +0 -1
- package/dist/modules/ambient/oklab.d.ts.map +0 -1
- package/dist/modules/ambient/quantize.d.ts.map +0 -1
- package/dist/modules/background/components/background-gradients.d.ts +0 -8
- package/dist/modules/background/components/background-gradients.d.ts.map +0 -1
- package/dist/modules/background/components/edge-gradient.d.ts +0 -9
- package/dist/modules/background/components/edge-gradient.d.ts.map +0 -1
- package/dist/modules/background/components/native-video.d.ts +0 -4
- package/dist/modules/background/components/native-video.d.ts.map +0 -1
- package/dist/modules/background/components/noise-overlay.d.ts +0 -11
- package/dist/modules/background/components/noise-overlay.d.ts.map +0 -1
- package/dist/modules/background/components/overlay.d.ts.map +0 -1
- package/dist/modules/background/components/solid-overlay.d.ts +0 -10
- package/dist/modules/background/components/solid-overlay.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-background-media-source.d.ts +0 -4
- package/dist/modules/background/hooks/use-background-media-source.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-background-motion-model.d.ts +0 -15
- package/dist/modules/background/hooks/use-background-motion-model.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-background-overlay-model.d.ts +0 -929
- package/dist/modules/background/hooks/use-background-overlay-model.d.ts.map +0 -1
- package/dist/modules/background/hooks/use-native-video-model.d.ts.map +0 -1
- package/dist/modules/background/lib/theme.d.ts +0 -4
- package/dist/modules/background/lib/theme.d.ts.map +0 -1
- package/dist/modules/background/model/override.d.ts +0 -14
- package/dist/modules/background/model/override.d.ts.map +0 -1
- package/dist/modules/background/model/playback.d.ts.map +0 -1
- package/dist/modules/background/model/state.d.ts.map +0 -1
- package/dist/modules/background/model/video-frame.d.ts +0 -31
- package/dist/modules/background/model/video-frame.d.ts.map +0 -1
- package/dist/modules/background/model/visual.d.ts.map +0 -1
- package/dist/modules/background/youtube/components/player.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-background-player-model.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-iframe-player.d.ts +0 -20
- package/dist/modules/background/youtube/hooks/use-youtube-iframe-player.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-stream-sources.d.ts +0 -8
- package/dist/modules/background/youtube/hooks/use-youtube-stream-sources.d.ts.map +0 -1
- package/dist/modules/background/youtube/hooks/use-youtube-video-sync.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/audio.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/iframe-engine.d.ts +0 -29
- package/dist/modules/background/youtube/lib/iframe-engine.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/iframe-proxy.d.ts +0 -47
- package/dist/modules/background/youtube/lib/iframe-proxy.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/iframe.d.ts +0 -47
- package/dist/modules/background/youtube/lib/iframe.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/parse.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/timing.d.ts.map +0 -1
- package/dist/modules/background/youtube/lib/video-events.d.ts.map +0 -1
- package/dist/modules/dock/components/badge.d.ts +0 -5
- package/dist/modules/dock/components/badge.d.ts.map +0 -1
- package/dist/modules/dock/components/breadcrumbs-card.d.ts.map +0 -1
- package/dist/modules/dock/components/card-banner.d.ts +0 -4
- package/dist/modules/dock/components/card-banner.d.ts.map +0 -1
- package/dist/modules/dock/components/card-header.d.ts +0 -4
- package/dist/modules/dock/components/card-header.d.ts.map +0 -1
- package/dist/modules/dock/components/card-item.d.ts.map +0 -1
- package/dist/modules/dock/components/command-bar.d.ts.map +0 -1
- package/dist/modules/dock/components/description.d.ts +0 -4
- package/dist/modules/dock/components/description.d.ts.map +0 -1
- package/dist/modules/dock/components/dock.d.ts.map +0 -1
- package/dist/modules/dock/components/hud-view.d.ts.map +0 -1
- package/dist/modules/dock/components/icon.d.ts.map +0 -1
- package/dist/modules/dock/components/item-content.d.ts.map +0 -1
- package/dist/modules/dock/components/media-action.d.ts.map +0 -1
- package/dist/modules/dock/components/media-controls.d.ts +0 -4
- package/dist/modules/dock/components/media-controls.d.ts.map +0 -1
- package/dist/modules/dock/components/media-scrubber.d.ts.map +0 -1
- package/dist/modules/dock/components/status-actions.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/action.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/controls.d.ts +0 -12
- package/dist/modules/dock/components/surface/controls.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/extensions-bar.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/header-button.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/item-content.d.ts.map +0 -1
- package/dist/modules/dock/components/surface/shell.d.ts +0 -3
- package/dist/modules/dock/components/surface/shell.d.ts.map +0 -1
- package/dist/modules/dock/components/title.d.ts +0 -4
- package/dist/modules/dock/components/title.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-action-slot.d.ts +0 -6
- package/dist/modules/dock/hooks/use-action-slot.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-badge.d.ts +0 -4
- package/dist/modules/dock/hooks/use-badge.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-card-banner-model.d.ts +0 -18
- package/dist/modules/dock/hooks/use-card-banner-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-card-header-model.d.ts +0 -7
- package/dist/modules/dock/hooks/use-card-header-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-command-bar-model.d.ts +0 -12
- package/dist/modules/dock/hooks/use-command-bar-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-banner.d.ts +0 -11
- package/dist/modules/dock/hooks/use-dock-banner.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-config.d.ts +0 -19
- package/dist/modules/dock/hooks/use-dock-config.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-dimensions.d.ts +0 -7
- package/dist/modules/dock/hooks/use-dock-dimensions.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-focus-trap.d.ts +0 -7
- package/dist/modules/dock/hooks/use-dock-focus-trap.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-height-controller.d.ts +0 -6
- package/dist/modules/dock/hooks/use-dock-height-controller.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-keyboard.d.ts +0 -11
- package/dist/modules/dock/hooks/use-dock-keyboard.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-registration.d.ts +0 -8
- package/dist/modules/dock/hooks/use-dock-registration.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-route-reset.d.ts +0 -2
- package/dist/modules/dock/hooks/use-dock-route-reset.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-theme.d.ts +0 -6
- package/dist/modules/dock/hooks/use-dock-theme.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-dock-viewport.d.ts +0 -6
- package/dist/modules/dock/hooks/use-dock-viewport.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-element-height.d.ts +0 -3
- package/dist/modules/dock/hooks/use-element-height.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-hud-registry.d.ts +0 -16
- package/dist/modules/dock/hooks/use-hud-registry.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-hud-view-model.d.ts +0 -9
- package/dist/modules/dock/hooks/use-hud-view-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-media-controls-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-media-scrubber-model.d.ts +0 -27
- package/dist/modules/dock/hooks/use-media-scrubber-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-standard-item-content-model.d.ts +0 -12
- package/dist/modules/dock/hooks/use-standard-item-content-model.d.ts.map +0 -1
- package/dist/modules/dock/hooks/use-surface-return.d.ts +0 -8
- package/dist/modules/dock/hooks/use-surface-return.d.ts.map +0 -1
- package/dist/modules/dock/hud.d.ts.map +0 -1
- package/dist/modules/dock/lib/banner.d.ts.map +0 -1
- package/dist/modules/dock/lib/card-item.d.ts.map +0 -1
- package/dist/modules/dock/lib/card.d.ts +0 -20
- package/dist/modules/dock/lib/card.d.ts.map +0 -1
- package/dist/modules/dock/lib/command-bar.d.ts +0 -8
- package/dist/modules/dock/lib/command-bar.d.ts.map +0 -1
- package/dist/modules/dock/lib/dom.d.ts +0 -7
- package/dist/modules/dock/lib/dom.d.ts.map +0 -1
- package/dist/modules/dock/lib/element-helpers.d.ts +0 -8
- package/dist/modules/dock/lib/element-helpers.d.ts.map +0 -1
- package/dist/modules/dock/lib/helpers.d.ts.map +0 -1
- package/dist/modules/dock/lib/media.d.ts.map +0 -1
- package/dist/modules/dock/lib/styles.d.ts.map +0 -1
- package/dist/modules/dock/model/hud-definition.d.ts.map +0 -1
- package/dist/modules/dock/model/hud.d.ts +0 -10
- package/dist/modules/dock/model/hud.d.ts.map +0 -1
- package/dist/modules/dock/model/layout.d.ts.map +0 -1
- package/dist/modules/dock/model/page-entry.d.ts +0 -11
- package/dist/modules/dock/model/page-entry.d.ts.map +0 -1
- package/dist/modules/dock/model/page-surface.d.ts +0 -4
- package/dist/modules/dock/model/page-surface.d.ts.map +0 -1
- package/dist/modules/dock/model/paths.d.ts.map +0 -1
- package/dist/modules/dock/model/state.d.ts +0 -28
- package/dist/modules/dock/model/state.d.ts.map +0 -1
- package/dist/modules/dock/model/surface-return.d.ts +0 -14
- package/dist/modules/dock/model/surface-return.d.ts.map +0 -1
- package/dist/modules/dock/routing/hooks/use-route-prefetch.d.ts.map +0 -1
- package/dist/modules/dock/routing/lib/restore.d.ts +0 -7
- package/dist/modules/dock/routing/lib/restore.d.ts.map +0 -1
- package/dist/modules/dock/routing/model/continuity.d.ts.map +0 -1
- package/dist/modules/dock/routing/model/policy.d.ts.map +0 -1
- package/dist/modules/dock/routing/model/topology.d.ts.map +0 -1
- package/dist/modules/dock/runtime/commands.d.ts.map +0 -1
- package/dist/modules/dock/runtime/display.d.ts.map +0 -1
- package/dist/modules/dock/runtime/dock.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-expansion.d.ts +0 -10
- package/dist/modules/dock/runtime/hooks/use-dock-expansion.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-layout.d.ts +0 -10
- package/dist/modules/dock/runtime/hooks/use-dock-layout.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-operation-state.d.ts +0 -14
- package/dist/modules/dock/runtime/hooks/use-dock-operation-state.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock-route-bridge.d.ts +0 -7
- package/dist/modules/dock/runtime/hooks/use-dock-route-bridge.d.ts.map +0 -1
- package/dist/modules/dock/runtime/hooks/use-dock.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/attention.d.ts +0 -25
- package/dist/modules/dock/runtime/model/attention.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/cards.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/items.d.ts.map +0 -1
- package/dist/modules/dock/runtime/model/layout.d.ts +0 -10
- package/dist/modules/dock/runtime/model/layout.d.ts.map +0 -1
- package/dist/modules/dock/runtime/pipeline.d.ts.map +0 -1
- package/dist/modules/dock/runtime/provider-actions.d.ts +0 -38
- package/dist/modules/dock/runtime/provider-actions.d.ts.map +0 -1
- package/dist/modules/dock/status/action-options.d.ts +0 -35
- package/dist/modules/dock/status/action-options.d.ts.map +0 -1
- package/dist/modules/dock/surface/components/surface-extensions-provider.d.ts +0 -5
- package/dist/modules/dock/surface/components/surface-extensions-provider.d.ts.map +0 -1
- package/dist/modules/dock/surface/components/surface-flow-provider.d.ts +0 -7
- package/dist/modules/dock/surface/components/surface-flow-provider.d.ts.map +0 -1
- package/dist/modules/dock/surface/constants.d.ts +0 -5
- package/dist/modules/dock/surface/constants.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-controls-model.d.ts +0 -15
- package/dist/modules/dock/surface/hooks/use-surface-controls-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-extensions-bar-model.d.ts +0 -7
- package/dist/modules/dock/surface/hooks/use-surface-extensions-bar-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-extensions.d.ts +0 -14
- package/dist/modules/dock/surface/hooks/use-surface-extensions.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-flow.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-header-button-model.d.ts +0 -13
- package/dist/modules/dock/surface/hooks/use-surface-header-button-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/hooks/use-surface-shell-model.d.ts.map +0 -1
- package/dist/modules/dock/surface/lib/drag.d.ts +0 -9
- package/dist/modules/dock/surface/lib/drag.d.ts.map +0 -1
- package/dist/modules/dock/surface/lib/target.d.ts +0 -8
- package/dist/modules/dock/surface/lib/target.d.ts.map +0 -1
- package/dist/modules/dock/surface/machine.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/builder.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/normalize.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/open.d.ts +0 -26
- package/dist/modules/dock/surface/model/open.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/records.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/steps.d.ts +0 -9
- package/dist/modules/dock/surface/model/steps.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/transition-state.d.ts.map +0 -1
- package/dist/modules/dock/surface/model/url.d.ts.map +0 -1
- package/dist/modules/dock/surface/runtime/context.d.ts +0 -29
- package/dist/modules/dock/surface/runtime/context.d.ts.map +0 -1
- package/dist/modules/dock/surface/runtime/release.d.ts +0 -9
- package/dist/modules/dock/surface/runtime/release.d.ts.map +0 -1
- package/dist/modules/dock/surface/stack.d.ts.map +0 -1
- package/dist/modules/modal/components/close-button.d.ts +0 -6
- package/dist/modules/modal/components/close-button.d.ts.map +0 -1
- package/dist/modules/modal/components/modal-container.d.ts.map +0 -1
- package/dist/modules/modal/components/modal-layer-switcher.d.ts +0 -9
- package/dist/modules/modal/components/modal-layer-switcher.d.ts.map +0 -1
- package/dist/modules/modal/components/modal-layer.d.ts +0 -17
- package/dist/modules/modal/components/modal-layer.d.ts.map +0 -1
- package/dist/modules/modal/components/overlay.d.ts.map +0 -1
- package/dist/modules/modal/components/resolve-header.d.ts +0 -10
- package/dist/modules/modal/components/resolve-header.d.ts.map +0 -1
- package/dist/modules/modal/components/slot-row.d.ts +0 -12
- package/dist/modules/modal/components/slot-row.d.ts.map +0 -1
- package/dist/modules/modal/hooks/use-mobile-viewport.d.ts +0 -3
- package/dist/modules/modal/hooks/use-mobile-viewport.d.ts.map +0 -1
- package/dist/modules/modal/hooks/use-modal-focus-trap.d.ts +0 -12
- package/dist/modules/modal/hooks/use-modal-focus-trap.d.ts.map +0 -1
- package/dist/modules/modal/hooks/use-modal-scroll-lock.d.ts +0 -3
- package/dist/modules/modal/hooks/use-modal-scroll-lock.d.ts.map +0 -1
- package/dist/modules/modal/lib/dom.d.ts.map +0 -1
- package/dist/modules/modal/lib/theme.d.ts +0 -4
- package/dist/modules/modal/lib/theme.d.ts.map +0 -1
- package/dist/modules/modal/model/entry.d.ts +0 -18
- package/dist/modules/modal/model/entry.d.ts.map +0 -1
- package/dist/modules/modal/model/header.d.ts +0 -16
- package/dist/modules/modal/model/header.d.ts.map +0 -1
- package/dist/modules/modal/model/identity.d.ts +0 -13
- package/dist/modules/modal/model/identity.d.ts.map +0 -1
- package/dist/modules/modal/model/layout.d.ts.map +0 -1
- package/dist/modules/modal/model/state.d.ts +0 -10
- package/dist/modules/modal/model/state.d.ts.map +0 -1
- package/dist/overlay-7QLGWHCH.js +0 -13
- package/dist/react/hooks/types.d.ts +0 -25
- package/dist/react/hooks/types.d.ts.map +0 -1
- package/dist/react/ui/components/select.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-group.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-placement.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip-slot.d.ts.map +0 -1
- package/dist/react/ui/components/tooltip.d.ts.map +0 -1
- package/dist/react/ui/types-controls.d.ts +0 -133
- package/dist/react/ui/types-controls.d.ts.map +0 -1
- package/dist/react/ui/utils.d.ts +0 -65
- package/dist/react/ui/utils.d.ts.map +0 -1
- package/docs/proposals/navigation.md +0 -210
- /package/dist/modules/ambient/{quantize.d.ts → analysis/quantize.d.ts} +0 -0
- /package/dist/modules/background/{components/overlay.d.ts → overlay.d.ts} +0 -0
- /package/dist/modules/background/{model/playback.d.ts → playback.d.ts} +0 -0
- /package/dist/modules/background/youtube/{lib/audio.d.ts → audio.d.ts} +0 -0
- /package/dist/modules/dock/{components → commands}/command-bar.d.ts +0 -0
- /package/dist/modules/dock/{components → routing}/breadcrumbs-card.d.ts +0 -0
- /package/dist/modules/dock/{model → routing}/paths.d.ts +0 -0
- /package/dist/modules/dock/{components → stack}/dock.d.ts +0 -0
- /package/dist/modules/dock/surface/{model → runtime}/url.d.ts +0 -0
- /package/dist/modules/modal/{lib/dom.d.ts → dom.d.ts} +0 -0
- /package/dist/modules/modal/{components/overlay.d.ts → overlay.d.ts} +0 -0
package/dist/ui/index.js
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { Tooltip, TooltipProvider } from '../chunk-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
|
|
10
|
-
import
|
|
2
|
+
export { Tooltip, TooltipProvider } from '../chunk-EBNZXYLT.js';
|
|
3
|
+
import { usePortalTarget, useClientValue } from '../chunk-ST7QOM4O.js';
|
|
4
|
+
import { useControllableState, useEscapeKey, useScrollLock } from '../chunk-JWUKAZ3A.js';
|
|
5
|
+
import { splitVariants, Button } from '../chunk-S2ZOLTTS.js';
|
|
6
|
+
export { Button, splitVariants, variantNames } from '../chunk-S2ZOLTTS.js';
|
|
7
|
+
import { useUi, useUiMotion, Icon, Loader } from '../chunk-6LWCTP2Y.js';
|
|
8
|
+
export { ANATOMY, DEFAULT_LABELS, Icon, Loader, Spinner, UiProvider, defaultUi, defineUi, useUi, useUiMotion } from '../chunk-6LWCTP2Y.js';
|
|
9
|
+
export { cn, compileRecipe, createCn, defineRecipe, extendRecipe, joinClasses, resolveRecipe } from '../chunk-ICFPSAJZ.js';
|
|
10
|
+
import '../chunk-3JLG24KI.js';
|
|
11
|
+
import { trimToNull } from '../chunk-S67HGKJ2.js';
|
|
11
12
|
import '../chunk-J3VTDBC6.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-YHWA7FXX.js';
|
|
13
14
|
import { c } from 'react/compiler-runtime';
|
|
14
|
-
import { createContext, useEffect, useRef, useState, useLayoutEffect, Children, useId, use, useSyncExternalStore, useEffectEvent, createElement } from 'react';
|
|
15
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
16
15
|
import { motion, LayoutGroup, animate, AnimatePresence } from 'motion/react';
|
|
16
|
+
import { createContext, useEffect, useRef, useState, Children, Fragment, useId, use, useLayoutEffect, useEffectEvent, createElement } from 'react';
|
|
17
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
17
18
|
import { createPortal } from 'react-dom';
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
if (parts.length === 0) return "?";
|
|
22
|
-
if (parts.length === 1) return parts[0].slice(0, 2).toUpperCase();
|
|
23
|
-
return `${parts[0][0]}${parts[parts.length - 1][0]}`.toUpperCase();
|
|
24
|
-
}
|
|
20
|
+
var NEAR_END_VIEWPORTS = 2;
|
|
21
|
+
var SIDES = ["left", "right"];
|
|
25
22
|
var EDGE_TOLERANCE = 4;
|
|
26
23
|
var DRAG_THRESHOLD = 5;
|
|
27
24
|
var SCROLL_STEP = 0.8;
|
|
@@ -78,6 +75,13 @@ function rackClip(track, selector = FRAME_SELECTOR) {
|
|
|
78
75
|
if (!(r > 0) || width === 0) return null;
|
|
79
76
|
return clipPathFor(width, height, top, bottom, r);
|
|
80
77
|
}
|
|
78
|
+
function syncScroll(el, onNearEnd, setScroll) {
|
|
79
|
+
if (!el) return;
|
|
80
|
+
const isNearEnd = el.clientWidth > 0 && el.scrollLeft + el.clientWidth * NEAR_END_VIEWPORTS >= el.scrollWidth;
|
|
81
|
+
if (isNearEnd) onNearEnd?.();
|
|
82
|
+
const next = readScroll(el);
|
|
83
|
+
setScroll((previous) => previous.left === next.left && previous.right === next.right ? previous : next);
|
|
84
|
+
}
|
|
81
85
|
function useDragScroll(ref) {
|
|
82
86
|
const $ = c(3);
|
|
83
87
|
let t0;
|
|
@@ -147,736 +151,947 @@ function useDragScroll(ref) {
|
|
|
147
151
|
}
|
|
148
152
|
useEffect(t0, t1);
|
|
149
153
|
}
|
|
150
|
-
var
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
width: chosen.offsetWidth,
|
|
187
|
-
x: chosen.offsetLeft,
|
|
188
|
-
y: chosen.offsetTop
|
|
189
|
-
} : {
|
|
190
|
-
width: chosen.offsetWidth,
|
|
191
|
-
x: chosen.offsetLeft
|
|
192
|
-
};
|
|
193
|
-
}
|
|
194
|
-
function sameBox(a, b) {
|
|
195
|
-
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
196
|
-
}
|
|
197
|
-
function useSlidingPill(selector, key, t0) {
|
|
198
|
-
const $ = c(11);
|
|
199
|
-
let t1;
|
|
200
|
-
if ($[0] !== t0) {
|
|
201
|
-
t1 = t0 === void 0 ? {} : t0;
|
|
202
|
-
$[0] = t0;
|
|
203
|
-
$[1] = t1;
|
|
154
|
+
var defaultSlide = ({
|
|
155
|
+
children,
|
|
156
|
+
className
|
|
157
|
+
}) => /* @__PURE__ */ jsx("div", { className, children });
|
|
158
|
+
function CarouselArrow(t0) {
|
|
159
|
+
const $ = c(20);
|
|
160
|
+
const {
|
|
161
|
+
arrowClassName,
|
|
162
|
+
classNames,
|
|
163
|
+
onClick,
|
|
164
|
+
side,
|
|
165
|
+
visible
|
|
166
|
+
} = t0;
|
|
167
|
+
const {
|
|
168
|
+
icons,
|
|
169
|
+
labels,
|
|
170
|
+
parts
|
|
171
|
+
} = useUi();
|
|
172
|
+
const isLeft = side === "left";
|
|
173
|
+
const icon = isLeft ? icons.previous : icons.next;
|
|
174
|
+
const label = isLeft ? labels.previous : labels.next;
|
|
175
|
+
const direction = isLeft ? -1 : 1;
|
|
176
|
+
const t1 = !visible;
|
|
177
|
+
let t2;
|
|
178
|
+
if ($[0] !== arrowClassName || $[1] !== classNames.arrow || $[2] !== parts.carousel || $[3] !== side || $[4] !== visible) {
|
|
179
|
+
t2 = parts.carousel.arrow({
|
|
180
|
+
side,
|
|
181
|
+
visible,
|
|
182
|
+
className: [classNames.arrow, arrowClassName]
|
|
183
|
+
});
|
|
184
|
+
$[0] = arrowClassName;
|
|
185
|
+
$[1] = classNames.arrow;
|
|
186
|
+
$[2] = parts.carousel;
|
|
187
|
+
$[3] = side;
|
|
188
|
+
$[4] = visible;
|
|
189
|
+
$[5] = t2;
|
|
204
190
|
} else {
|
|
205
|
-
|
|
191
|
+
t2 = $[5];
|
|
206
192
|
}
|
|
207
|
-
const {
|
|
208
|
-
wrapping: t2
|
|
209
|
-
} = t1;
|
|
210
|
-
const wrapping = t2 === void 0 ? false : t2;
|
|
211
|
-
const ref = useRef(null);
|
|
212
|
-
const [box, setBox] = useState(null);
|
|
213
193
|
let t3;
|
|
214
|
-
if ($[
|
|
215
|
-
t3 = () =>
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
const measure = () => {
|
|
221
|
-
const chosen = list.querySelector(selector);
|
|
222
|
-
if (!chosen) {
|
|
223
|
-
return;
|
|
224
|
-
}
|
|
225
|
-
const next = measureBox(chosen, wrapping);
|
|
226
|
-
setBox((prev) => prev && sameBox(prev, next) ? prev : next);
|
|
227
|
-
};
|
|
228
|
-
measure();
|
|
229
|
-
if (typeof ResizeObserver === "undefined") {
|
|
230
|
-
return;
|
|
231
|
-
}
|
|
232
|
-
const observer = new ResizeObserver(measure);
|
|
233
|
-
observer.observe(list);
|
|
234
|
-
for (const child of list.children) {
|
|
235
|
-
observer.observe(child);
|
|
236
|
-
}
|
|
237
|
-
return () => observer.disconnect();
|
|
238
|
-
};
|
|
239
|
-
$[2] = selector;
|
|
240
|
-
$[3] = wrapping;
|
|
241
|
-
$[4] = t3;
|
|
194
|
+
if ($[6] !== direction || $[7] !== onClick) {
|
|
195
|
+
t3 = () => onClick(direction);
|
|
196
|
+
$[6] = direction;
|
|
197
|
+
$[7] = onClick;
|
|
198
|
+
$[8] = t3;
|
|
242
199
|
} else {
|
|
243
|
-
t3 = $[
|
|
200
|
+
t3 = $[8];
|
|
244
201
|
}
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
$[
|
|
202
|
+
const t4 = visible ? 0 : -1;
|
|
203
|
+
let t5;
|
|
204
|
+
if ($[9] !== classNames.icon || $[10] !== icon || $[11] !== parts.carousel) {
|
|
205
|
+
t5 = icon ? /* @__PURE__ */ jsx(Icon, { className: parts.carousel.icon({
|
|
206
|
+
className: classNames.icon
|
|
207
|
+
}), icon }) : null;
|
|
208
|
+
$[9] = classNames.icon;
|
|
209
|
+
$[10] = icon;
|
|
210
|
+
$[11] = parts.carousel;
|
|
211
|
+
$[12] = t5;
|
|
252
212
|
} else {
|
|
253
|
-
|
|
213
|
+
t5 = $[12];
|
|
254
214
|
}
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
$[
|
|
263
|
-
$[
|
|
215
|
+
let t6;
|
|
216
|
+
if ($[13] !== label || $[14] !== t1 || $[15] !== t2 || $[16] !== t3 || $[17] !== t4 || $[18] !== t5) {
|
|
217
|
+
t6 = /* @__PURE__ */ jsx(Button, { "aria-hidden": t1, "aria-label": label, className: t2, onClick: t3, tabIndex: t4, children: t5 });
|
|
218
|
+
$[13] = label;
|
|
219
|
+
$[14] = t1;
|
|
220
|
+
$[15] = t2;
|
|
221
|
+
$[16] = t3;
|
|
222
|
+
$[17] = t4;
|
|
223
|
+
$[18] = t5;
|
|
224
|
+
$[19] = t6;
|
|
264
225
|
} else {
|
|
265
|
-
|
|
226
|
+
t6 = $[19];
|
|
266
227
|
}
|
|
267
|
-
return
|
|
228
|
+
return t6;
|
|
268
229
|
}
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
var readHost = () => document.body;
|
|
272
|
-
var noHost = () => null;
|
|
273
|
-
var canAnchor = () => typeof CSS !== "undefined" && typeof CSS.supports === "function" && CSS.supports("anchor-name", "--a");
|
|
274
|
-
var cannotAnchor = () => false;
|
|
275
|
-
function Image(t0) {
|
|
276
|
-
const $ = c(36);
|
|
230
|
+
function Carousel(t0) {
|
|
231
|
+
const $ = c(32);
|
|
277
232
|
const {
|
|
278
|
-
|
|
233
|
+
arrowClassName,
|
|
234
|
+
children,
|
|
279
235
|
className,
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
src,
|
|
290
|
-
wrapperClassName,
|
|
291
|
-
...rest
|
|
236
|
+
classNames: t1,
|
|
237
|
+
frameSelector: t2,
|
|
238
|
+
glide,
|
|
239
|
+
itemClassName,
|
|
240
|
+
label,
|
|
241
|
+
onNearEnd,
|
|
242
|
+
ready: t3,
|
|
243
|
+
renderSlide: t4,
|
|
244
|
+
trackProps
|
|
292
245
|
} = t0;
|
|
293
|
-
const
|
|
294
|
-
const
|
|
295
|
-
const
|
|
246
|
+
const classNames = t1 === void 0 ? {} : t1;
|
|
247
|
+
const frameSelector = t2 === void 0 ? FRAME_SELECTOR : t2;
|
|
248
|
+
const ready = t3 === void 0 ? true : t3;
|
|
249
|
+
const renderSlide = t4 === void 0 ? defaultSlide : t4;
|
|
296
250
|
const {
|
|
297
251
|
parts
|
|
298
252
|
} = useUi();
|
|
299
|
-
const
|
|
300
|
-
const
|
|
301
|
-
const
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
253
|
+
const motionTokens = useUiMotion();
|
|
254
|
+
const track = useRef(null);
|
|
255
|
+
const stopGlide = useRef(null);
|
|
256
|
+
let t5;
|
|
257
|
+
if ($[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
258
|
+
t5 = {
|
|
259
|
+
left: false,
|
|
260
|
+
right: false
|
|
261
|
+
};
|
|
262
|
+
$[0] = t5;
|
|
308
263
|
} else {
|
|
309
|
-
|
|
264
|
+
t5 = $[0];
|
|
310
265
|
}
|
|
311
|
-
const
|
|
312
|
-
const
|
|
313
|
-
|
|
314
|
-
const [refused, setRefused] = useState(null);
|
|
315
|
-
const corsRefused = refused !== null && refused === resolvedSrc;
|
|
316
|
-
const fillsFrame = layout !== "intrinsic" && ((fill ?? (!props.width && !props.height)) || void 0);
|
|
317
|
-
const waiting = Boolean(resolvedSrc) && !hasLoaded && !hasFailed;
|
|
318
|
-
let t5;
|
|
266
|
+
const [scroll, setScroll] = useState(t5);
|
|
267
|
+
const nearEnd = useRef(onNearEnd);
|
|
268
|
+
useDragScroll(track);
|
|
319
269
|
let t6;
|
|
320
|
-
if ($[
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
if (!waiting || !frame) {
|
|
324
|
-
return;
|
|
325
|
-
}
|
|
326
|
-
return watchDistance(frame);
|
|
270
|
+
if ($[1] !== onNearEnd) {
|
|
271
|
+
t6 = () => {
|
|
272
|
+
nearEnd.current = onNearEnd;
|
|
327
273
|
};
|
|
328
|
-
|
|
329
|
-
$[2] =
|
|
330
|
-
$[3] = t5;
|
|
331
|
-
$[4] = t6;
|
|
274
|
+
$[1] = onNearEnd;
|
|
275
|
+
$[2] = t6;
|
|
332
276
|
} else {
|
|
333
|
-
|
|
334
|
-
t6 = $[4];
|
|
277
|
+
t6 = $[2];
|
|
335
278
|
}
|
|
336
|
-
useEffect(
|
|
279
|
+
useEffect(t6);
|
|
337
280
|
let t7;
|
|
338
|
-
if ($[
|
|
281
|
+
if ($[3] !== frameSelector) {
|
|
339
282
|
t7 = () => {
|
|
340
|
-
const
|
|
341
|
-
|
|
342
|
-
|
|
283
|
+
const el = track.current;
|
|
284
|
+
if (!el) {
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
const sync = () => syncScroll(el, nearEnd.current, setScroll);
|
|
288
|
+
const clip = () => {
|
|
289
|
+
el.style.clipPath = rackClip(el, frameSelector) ?? "";
|
|
290
|
+
};
|
|
291
|
+
sync();
|
|
292
|
+
clip();
|
|
293
|
+
if (typeof ResizeObserver === "undefined") {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
const observer = new ResizeObserver(() => {
|
|
297
|
+
sync();
|
|
298
|
+
clip();
|
|
299
|
+
});
|
|
300
|
+
observer.observe(el);
|
|
301
|
+
return () => observer.disconnect();
|
|
343
302
|
};
|
|
344
|
-
$[
|
|
303
|
+
$[3] = frameSelector;
|
|
304
|
+
$[4] = t7;
|
|
345
305
|
} else {
|
|
346
|
-
t7 = $[
|
|
306
|
+
t7 = $[4];
|
|
347
307
|
}
|
|
348
308
|
let t8;
|
|
349
|
-
if ($[6] !==
|
|
350
|
-
t8 = [
|
|
351
|
-
$[
|
|
309
|
+
if ($[5] !== children || $[6] !== frameSelector) {
|
|
310
|
+
t8 = [children, frameSelector];
|
|
311
|
+
$[5] = children;
|
|
312
|
+
$[6] = frameSelector;
|
|
352
313
|
$[7] = t8;
|
|
353
314
|
} else {
|
|
354
315
|
t8 = $[7];
|
|
355
316
|
}
|
|
356
317
|
useEffect(t7, t8);
|
|
357
|
-
if (!resolvedSrc || hasFailed && fallback) {
|
|
358
|
-
let t92;
|
|
359
|
-
if ($[8] !== fallback || $[9] !== parts.image || $[10] !== wrapperClassName) {
|
|
360
|
-
t92 = fallback ? /* @__PURE__ */ jsx("div", { className: parts.image.fallback({
|
|
361
|
-
className: wrapperClassName
|
|
362
|
-
}), suppressHydrationWarning: true, children: fallback }) : null;
|
|
363
|
-
$[8] = fallback;
|
|
364
|
-
$[9] = parts.image;
|
|
365
|
-
$[10] = wrapperClassName;
|
|
366
|
-
$[11] = t92;
|
|
367
|
-
} else {
|
|
368
|
-
t92 = $[11];
|
|
369
|
-
}
|
|
370
|
-
return t92;
|
|
371
|
-
}
|
|
372
318
|
let t9;
|
|
373
|
-
if ($[
|
|
374
|
-
t9 = (
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
onLoad?.(event);
|
|
319
|
+
if ($[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
320
|
+
t9 = () => {
|
|
321
|
+
stopGlide.current?.();
|
|
322
|
+
stopGlide.current = null;
|
|
378
323
|
};
|
|
379
|
-
$[
|
|
380
|
-
$[13] = t9;
|
|
324
|
+
$[8] = t9;
|
|
381
325
|
} else {
|
|
382
|
-
t9 = $[
|
|
326
|
+
t9 = $[8];
|
|
383
327
|
}
|
|
384
|
-
const
|
|
328
|
+
const stop = t9;
|
|
385
329
|
let t10;
|
|
386
|
-
if ($[
|
|
387
|
-
t10 = (
|
|
388
|
-
|
|
389
|
-
|
|
330
|
+
if ($[9] !== glide || $[10] !== motionTokens || $[11] !== stop) {
|
|
331
|
+
t10 = (direction) => {
|
|
332
|
+
const el_0 = track.current;
|
|
333
|
+
if (!el_0) {
|
|
390
334
|
return;
|
|
391
335
|
}
|
|
392
|
-
|
|
393
|
-
|
|
336
|
+
const target = glideTarget(el_0, direction);
|
|
337
|
+
stop();
|
|
338
|
+
if (glide) {
|
|
339
|
+
stopGlide.current = glide(el_0, target) ?? null;
|
|
340
|
+
return;
|
|
341
|
+
}
|
|
342
|
+
const motion4 = motionTokens.glide;
|
|
343
|
+
if (motionTokens.reduced || !motion4) {
|
|
344
|
+
el_0.scrollLeft = target;
|
|
345
|
+
return;
|
|
346
|
+
}
|
|
347
|
+
const controls = animate(el_0.scrollLeft, target, {
|
|
348
|
+
duration: motion4.duration,
|
|
349
|
+
ease: [...motion4.ease],
|
|
350
|
+
onUpdate: (left) => {
|
|
351
|
+
el_0.scrollLeft = left;
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
stopGlide.current = () => controls.stop();
|
|
394
355
|
};
|
|
395
|
-
$[
|
|
396
|
-
$[
|
|
397
|
-
$[
|
|
398
|
-
$[
|
|
399
|
-
$[18] = t10;
|
|
356
|
+
$[9] = glide;
|
|
357
|
+
$[10] = motionTokens;
|
|
358
|
+
$[11] = stop;
|
|
359
|
+
$[12] = t10;
|
|
400
360
|
} else {
|
|
401
|
-
t10 = $[
|
|
361
|
+
t10 = $[12];
|
|
402
362
|
}
|
|
403
|
-
const
|
|
404
|
-
const
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
className:
|
|
363
|
+
const scrollBy = t10;
|
|
364
|
+
const left_0 = ready && scroll.left;
|
|
365
|
+
const right = ready && scroll.right;
|
|
366
|
+
const slideClass = parts.carousel.slide({
|
|
367
|
+
className: [classNames.slide, itemClassName]
|
|
368
|
+
});
|
|
369
|
+
const t11 = "carousel";
|
|
370
|
+
const t12 = parts.carousel.root({
|
|
371
|
+
className: classNames.root
|
|
372
|
+
});
|
|
373
|
+
const t13 = "group";
|
|
374
|
+
const t14 = parts.carousel.track({
|
|
375
|
+
className: [classNames.track, className]
|
|
408
376
|
});
|
|
409
|
-
const t12 = "";
|
|
410
|
-
const t13 = true;
|
|
411
|
-
const t14 = false;
|
|
412
377
|
const t15 = _temp;
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
378
|
+
let t16;
|
|
379
|
+
if ($[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
380
|
+
t16 = () => syncScroll(track.current, nearEnd.current, setScroll);
|
|
381
|
+
$[13] = t16;
|
|
382
|
+
} else {
|
|
383
|
+
t16 = $[13];
|
|
384
|
+
}
|
|
385
|
+
const t17 = Children.toArray(children).map((child, index) => {
|
|
386
|
+
const slideKey = child.key ?? index;
|
|
387
|
+
return /* @__PURE__ */ jsx(Fragment, { children: renderSlide({
|
|
388
|
+
children: child,
|
|
389
|
+
className: slideClass,
|
|
390
|
+
index,
|
|
391
|
+
slideKey
|
|
392
|
+
}) }, slideKey);
|
|
416
393
|
});
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
$[
|
|
425
|
-
$[
|
|
426
|
-
$[
|
|
427
|
-
|
|
428
|
-
$[
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
$[
|
|
394
|
+
let t18;
|
|
395
|
+
if ($[14] !== stop || $[15] !== t14 || $[16] !== t15 || $[17] !== t16 || $[18] !== t17 || $[19] !== trackProps) {
|
|
396
|
+
t18 = /* @__PURE__ */ jsx("div", { ...trackProps, className: t14, onDragStart: t15, onPointerDown: stop, onScroll: t16, onTouchStart: stop, onWheel: stop, ref: track, children: t17 });
|
|
397
|
+
$[14] = stop;
|
|
398
|
+
$[15] = t14;
|
|
399
|
+
$[16] = t15;
|
|
400
|
+
$[17] = t16;
|
|
401
|
+
$[18] = t17;
|
|
402
|
+
$[19] = trackProps;
|
|
403
|
+
$[20] = t18;
|
|
404
|
+
} else {
|
|
405
|
+
t18 = $[20];
|
|
406
|
+
}
|
|
407
|
+
let t19;
|
|
408
|
+
if ($[21] !== arrowClassName || $[22] !== classNames || $[23] !== left_0 || $[24] !== right || $[25] !== scrollBy) {
|
|
409
|
+
t19 = SIDES.map((side) => /* @__PURE__ */ jsx(CarouselArrow, { arrowClassName, classNames, onClick: scrollBy, side, visible: side === "left" ? left_0 : right }, side));
|
|
410
|
+
$[21] = arrowClassName;
|
|
411
|
+
$[22] = classNames;
|
|
412
|
+
$[23] = left_0;
|
|
413
|
+
$[24] = right;
|
|
414
|
+
$[25] = scrollBy;
|
|
415
|
+
$[26] = t19;
|
|
416
|
+
} else {
|
|
417
|
+
t19 = $[26];
|
|
418
|
+
}
|
|
419
|
+
let t20;
|
|
420
|
+
if ($[27] !== label || $[28] !== t12 || $[29] !== t18 || $[30] !== t19) {
|
|
421
|
+
t20 = /* @__PURE__ */ jsxs("div", { "aria-label": label, "aria-roledescription": t11, className: t12, role: t13, children: [
|
|
422
|
+
t18,
|
|
423
|
+
t19
|
|
424
|
+
] });
|
|
425
|
+
$[27] = label;
|
|
426
|
+
$[28] = t12;
|
|
434
427
|
$[29] = t18;
|
|
435
428
|
$[30] = t19;
|
|
436
429
|
$[31] = t20;
|
|
437
|
-
$[32] = t21;
|
|
438
|
-
} else {
|
|
439
|
-
t21 = $[32];
|
|
440
|
-
}
|
|
441
|
-
let t22;
|
|
442
|
-
if ($[33] !== t11 || $[34] !== t21) {
|
|
443
|
-
t22 = /* @__PURE__ */ jsx("div", { className: t11, "data-far": t12, ref: frameRef, suppressHydrationWarning: t13, children: t21 });
|
|
444
|
-
$[33] = t11;
|
|
445
|
-
$[34] = t21;
|
|
446
|
-
$[35] = t22;
|
|
447
430
|
} else {
|
|
448
|
-
|
|
431
|
+
t20 = $[31];
|
|
449
432
|
}
|
|
450
|
-
return
|
|
433
|
+
return t20;
|
|
451
434
|
}
|
|
452
|
-
function _temp(
|
|
453
|
-
return
|
|
435
|
+
function _temp(event) {
|
|
436
|
+
return event.preventDefault();
|
|
454
437
|
}
|
|
455
|
-
var
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
size,
|
|
479
|
-
src,
|
|
480
|
-
style,
|
|
481
|
-
...props
|
|
482
|
-
} = t0);
|
|
483
|
-
$[0] = t0;
|
|
484
|
-
$[1] = alt;
|
|
485
|
-
$[2] = children;
|
|
486
|
-
$[3] = className;
|
|
487
|
-
$[4] = classNames;
|
|
488
|
-
$[5] = fallback;
|
|
489
|
-
$[6] = name;
|
|
490
|
-
$[7] = props;
|
|
491
|
-
$[8] = ref;
|
|
492
|
-
$[9] = size;
|
|
493
|
-
$[10] = src;
|
|
494
|
-
$[11] = style;
|
|
495
|
-
} else {
|
|
496
|
-
alt = $[1];
|
|
497
|
-
children = $[2];
|
|
498
|
-
className = $[3];
|
|
499
|
-
classNames = $[4];
|
|
500
|
-
fallback = $[5];
|
|
501
|
-
name = $[6];
|
|
502
|
-
props = $[7];
|
|
503
|
-
ref = $[8];
|
|
504
|
-
size = $[9];
|
|
505
|
-
src = $[10];
|
|
506
|
-
style = $[11];
|
|
507
|
-
}
|
|
438
|
+
var INSTANT = {
|
|
439
|
+
duration: 0
|
|
440
|
+
};
|
|
441
|
+
var HIGHLIGHT_STYLE = {
|
|
442
|
+
inset: 0,
|
|
443
|
+
pointerEvents: "none",
|
|
444
|
+
position: "absolute"
|
|
445
|
+
};
|
|
446
|
+
var PILL_STYLE = {
|
|
447
|
+
left: 0,
|
|
448
|
+
pointerEvents: "none",
|
|
449
|
+
position: "absolute"
|
|
450
|
+
};
|
|
451
|
+
var PILL_BOX_STYLE = {
|
|
452
|
+
...PILL_STYLE,
|
|
453
|
+
top: 0
|
|
454
|
+
};
|
|
455
|
+
function SlidingHighlight(t0) {
|
|
456
|
+
const $ = c(9);
|
|
457
|
+
const {
|
|
458
|
+
className,
|
|
459
|
+
layoutId
|
|
460
|
+
} = t0;
|
|
508
461
|
const {
|
|
509
462
|
parts
|
|
510
463
|
} = useUi();
|
|
511
|
-
const
|
|
512
|
-
|
|
464
|
+
const {
|
|
465
|
+
follow,
|
|
466
|
+
reduced
|
|
467
|
+
} = useUiMotion();
|
|
513
468
|
let t1;
|
|
514
|
-
if ($[
|
|
515
|
-
t1 =
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
$[12] = dimension;
|
|
520
|
-
$[13] = t1;
|
|
521
|
-
} else {
|
|
522
|
-
t1 = $[13];
|
|
523
|
-
}
|
|
524
|
-
const box = t1;
|
|
525
|
-
let t2;
|
|
526
|
-
if ($[14] !== box || $[15] !== style) {
|
|
527
|
-
t2 = {
|
|
528
|
-
...box,
|
|
529
|
-
...style
|
|
530
|
-
};
|
|
531
|
-
$[14] = box;
|
|
532
|
-
$[15] = style;
|
|
533
|
-
$[16] = t2;
|
|
469
|
+
if ($[0] !== className || $[1] !== parts) {
|
|
470
|
+
t1 = className ?? parts.highlight.fill();
|
|
471
|
+
$[0] = className;
|
|
472
|
+
$[1] = parts;
|
|
473
|
+
$[2] = t1;
|
|
534
474
|
} else {
|
|
535
|
-
|
|
475
|
+
t1 = $[2];
|
|
536
476
|
}
|
|
477
|
+
const t2 = reduced ? INSTANT : follow ?? INSTANT;
|
|
537
478
|
let t3;
|
|
538
|
-
if ($[
|
|
539
|
-
t3 =
|
|
540
|
-
|
|
541
|
-
}
|
|
542
|
-
$[
|
|
543
|
-
$[
|
|
544
|
-
$[19] = parts.avatar;
|
|
545
|
-
$[20] = t3;
|
|
479
|
+
if ($[3] !== t2) {
|
|
480
|
+
t3 = {
|
|
481
|
+
layout: t2
|
|
482
|
+
};
|
|
483
|
+
$[3] = t2;
|
|
484
|
+
$[4] = t3;
|
|
546
485
|
} else {
|
|
547
|
-
t3 = $[
|
|
486
|
+
t3 = $[4];
|
|
548
487
|
}
|
|
549
488
|
let t4;
|
|
550
|
-
if ($[
|
|
551
|
-
t4 =
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
$[21] = alt;
|
|
557
|
-
$[22] = children;
|
|
558
|
-
$[23] = classNames?.image;
|
|
559
|
-
$[24] = classNames?.initials;
|
|
560
|
-
$[25] = failedSrc;
|
|
561
|
-
$[26] = fallback;
|
|
562
|
-
$[27] = name;
|
|
563
|
-
$[28] = parts.avatar;
|
|
564
|
-
$[29] = src;
|
|
565
|
-
$[30] = t4;
|
|
566
|
-
} else {
|
|
567
|
-
t4 = $[30];
|
|
568
|
-
}
|
|
569
|
-
let t5;
|
|
570
|
-
if ($[31] !== props || $[32] !== ref || $[33] !== t2 || $[34] !== t3 || $[35] !== t4) {
|
|
571
|
-
t5 = /* @__PURE__ */ jsx("span", { ref, style: t2, className: t3, ...props, children: t4 });
|
|
572
|
-
$[31] = props;
|
|
573
|
-
$[32] = ref;
|
|
574
|
-
$[33] = t2;
|
|
575
|
-
$[34] = t3;
|
|
576
|
-
$[35] = t4;
|
|
577
|
-
$[36] = t5;
|
|
489
|
+
if ($[5] !== layoutId || $[6] !== t1 || $[7] !== t3) {
|
|
490
|
+
t4 = /* @__PURE__ */ jsx(motion.span, { "aria-hidden": "true", className: t1, layoutId, style: HIGHLIGHT_STYLE, transition: t3 });
|
|
491
|
+
$[5] = layoutId;
|
|
492
|
+
$[6] = t1;
|
|
493
|
+
$[7] = t3;
|
|
494
|
+
$[8] = t4;
|
|
578
495
|
} else {
|
|
579
|
-
|
|
496
|
+
t4 = $[8];
|
|
580
497
|
}
|
|
581
|
-
return
|
|
582
|
-
}
|
|
583
|
-
var defaultSlide = ({
|
|
584
|
-
children,
|
|
585
|
-
className
|
|
586
|
-
}) => /* @__PURE__ */ jsx("div", { className, children });
|
|
587
|
-
var NEAR_END_VIEWPORTS = 2;
|
|
588
|
-
var SIDES = ["left", "right"];
|
|
589
|
-
function syncScroll(el, onNearEnd, setScroll) {
|
|
590
|
-
if (!el) return;
|
|
591
|
-
const isNearEnd = el.clientWidth > 0 && el.scrollLeft + el.clientWidth * NEAR_END_VIEWPORTS >= el.scrollWidth;
|
|
592
|
-
if (isNearEnd) onNearEnd?.();
|
|
593
|
-
const next = readScroll(el);
|
|
594
|
-
setScroll((previous) => previous.left === next.left && previous.right === next.right ? previous : next);
|
|
498
|
+
return t4;
|
|
595
499
|
}
|
|
596
|
-
|
|
597
|
-
|
|
500
|
+
var HighlightContext = createContext(null);
|
|
501
|
+
function HighlightGroup(t0) {
|
|
502
|
+
const $ = c(13);
|
|
598
503
|
const {
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
onClick,
|
|
602
|
-
side,
|
|
603
|
-
visible
|
|
504
|
+
children,
|
|
505
|
+
className
|
|
604
506
|
} = t0;
|
|
605
|
-
const
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
} = useUi();
|
|
610
|
-
const isLeft = side === "left";
|
|
611
|
-
const icon = isLeft ? icons.previous : icons.next;
|
|
612
|
-
const label = isLeft ? labels.previous : labels.next;
|
|
613
|
-
const direction = isLeft ? -1 : 1;
|
|
614
|
-
const t1 = !visible;
|
|
507
|
+
const id = useId();
|
|
508
|
+
const [hovered, setHovered] = useState(null);
|
|
509
|
+
const [focused, setFocused] = useState(null);
|
|
510
|
+
const t1 = hovered ?? focused;
|
|
615
511
|
let t2;
|
|
616
|
-
if ($[0] !==
|
|
617
|
-
t2 =
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
$[
|
|
624
|
-
$[
|
|
625
|
-
$[
|
|
626
|
-
$[4] = visible;
|
|
627
|
-
$[5] = t2;
|
|
512
|
+
if ($[0] !== id || $[1] !== t1) {
|
|
513
|
+
t2 = {
|
|
514
|
+
active: t1,
|
|
515
|
+
focus: setFocused,
|
|
516
|
+
hover: setHovered,
|
|
517
|
+
id
|
|
518
|
+
};
|
|
519
|
+
$[0] = id;
|
|
520
|
+
$[1] = t1;
|
|
521
|
+
$[2] = t2;
|
|
628
522
|
} else {
|
|
629
|
-
t2 = $[
|
|
523
|
+
t2 = $[2];
|
|
630
524
|
}
|
|
525
|
+
const tracker = t2;
|
|
631
526
|
let t3;
|
|
632
|
-
if ($[
|
|
633
|
-
t3 = () =>
|
|
634
|
-
$[
|
|
635
|
-
$[7] = onClick;
|
|
636
|
-
$[8] = t3;
|
|
527
|
+
if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
528
|
+
t3 = () => setHovered(null);
|
|
529
|
+
$[3] = t3;
|
|
637
530
|
} else {
|
|
638
|
-
t3 = $[
|
|
531
|
+
t3 = $[3];
|
|
639
532
|
}
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
$[9] = classNames.icon;
|
|
647
|
-
$[10] = icon;
|
|
648
|
-
$[11] = parts.carousel;
|
|
649
|
-
$[12] = t5;
|
|
533
|
+
let t4;
|
|
534
|
+
if ($[4] !== children || $[5] !== className) {
|
|
535
|
+
t4 = /* @__PURE__ */ jsx("div", { className, onPointerLeave: t3, children });
|
|
536
|
+
$[4] = children;
|
|
537
|
+
$[5] = className;
|
|
538
|
+
$[6] = t4;
|
|
650
539
|
} else {
|
|
651
|
-
|
|
540
|
+
t4 = $[6];
|
|
652
541
|
}
|
|
653
|
-
let
|
|
654
|
-
if ($[
|
|
655
|
-
|
|
656
|
-
$[
|
|
657
|
-
$[
|
|
658
|
-
$[
|
|
659
|
-
$[16] = t3;
|
|
660
|
-
$[17] = t4;
|
|
661
|
-
$[18] = t5;
|
|
662
|
-
$[19] = t6;
|
|
542
|
+
let t5;
|
|
543
|
+
if ($[7] !== id || $[8] !== t4) {
|
|
544
|
+
t5 = /* @__PURE__ */ jsx(LayoutGroup, { id, children: t4 });
|
|
545
|
+
$[7] = id;
|
|
546
|
+
$[8] = t4;
|
|
547
|
+
$[9] = t5;
|
|
663
548
|
} else {
|
|
664
|
-
|
|
549
|
+
t5 = $[9];
|
|
665
550
|
}
|
|
666
|
-
|
|
551
|
+
let t6;
|
|
552
|
+
if ($[10] !== t5 || $[11] !== tracker) {
|
|
553
|
+
t6 = /* @__PURE__ */ jsx(HighlightContext, { value: tracker, children: t5 });
|
|
554
|
+
$[10] = t5;
|
|
555
|
+
$[11] = tracker;
|
|
556
|
+
$[12] = t6;
|
|
557
|
+
} else {
|
|
558
|
+
t6 = $[12];
|
|
559
|
+
}
|
|
560
|
+
return t6;
|
|
667
561
|
}
|
|
668
|
-
function
|
|
669
|
-
const $ = c(
|
|
670
|
-
const
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
className,
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
562
|
+
function useHighlight(key, className) {
|
|
563
|
+
const $ = c(17);
|
|
564
|
+
const tracker = use(HighlightContext);
|
|
565
|
+
let t0;
|
|
566
|
+
if ($[0] !== className || $[1] !== key || $[2] !== tracker) {
|
|
567
|
+
t0 = tracker?.active === key ? /* @__PURE__ */ jsx(SlidingHighlight, { className, layoutId: `highlight-${tracker.id}` }) : null;
|
|
568
|
+
$[0] = className;
|
|
569
|
+
$[1] = key;
|
|
570
|
+
$[2] = tracker;
|
|
571
|
+
$[3] = t0;
|
|
572
|
+
} else {
|
|
573
|
+
t0 = $[3];
|
|
574
|
+
}
|
|
575
|
+
let t1;
|
|
576
|
+
if ($[4] !== tracker) {
|
|
577
|
+
t1 = () => tracker?.focus(null);
|
|
578
|
+
$[4] = tracker;
|
|
579
|
+
$[5] = t1;
|
|
580
|
+
} else {
|
|
581
|
+
t1 = $[5];
|
|
582
|
+
}
|
|
583
|
+
let t2;
|
|
584
|
+
let t3;
|
|
585
|
+
if ($[6] !== key || $[7] !== tracker) {
|
|
586
|
+
t2 = (event) => {
|
|
587
|
+
if (event.target.matches(":focus-visible")) {
|
|
588
|
+
tracker?.focus(key);
|
|
589
|
+
}
|
|
590
|
+
};
|
|
591
|
+
t3 = () => tracker?.hover(key);
|
|
592
|
+
$[6] = key;
|
|
593
|
+
$[7] = tracker;
|
|
594
|
+
$[8] = t2;
|
|
595
|
+
$[9] = t3;
|
|
596
|
+
} else {
|
|
597
|
+
t2 = $[8];
|
|
598
|
+
t3 = $[9];
|
|
599
|
+
}
|
|
600
|
+
let t4;
|
|
601
|
+
if ($[10] !== t1 || $[11] !== t2 || $[12] !== t3) {
|
|
602
|
+
t4 = {
|
|
603
|
+
onBlur: t1,
|
|
604
|
+
onFocus: t2,
|
|
605
|
+
onPointerEnter: t3
|
|
606
|
+
};
|
|
607
|
+
$[10] = t1;
|
|
608
|
+
$[11] = t2;
|
|
609
|
+
$[12] = t3;
|
|
610
|
+
$[13] = t4;
|
|
611
|
+
} else {
|
|
612
|
+
t4 = $[13];
|
|
613
|
+
}
|
|
694
614
|
let t5;
|
|
695
|
-
if ($[
|
|
615
|
+
if ($[14] !== t0 || $[15] !== t4) {
|
|
696
616
|
t5 = {
|
|
697
|
-
|
|
698
|
-
|
|
617
|
+
node: t0,
|
|
618
|
+
props: t4
|
|
699
619
|
};
|
|
700
|
-
$[
|
|
620
|
+
$[14] = t0;
|
|
621
|
+
$[15] = t4;
|
|
622
|
+
$[16] = t5;
|
|
701
623
|
} else {
|
|
702
|
-
t5 = $[
|
|
624
|
+
t5 = $[16];
|
|
703
625
|
}
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
626
|
+
return t5;
|
|
627
|
+
}
|
|
628
|
+
function useHighlightReset() {
|
|
629
|
+
const tracker = use(HighlightContext);
|
|
630
|
+
return {
|
|
631
|
+
onPointerEnter: () => tracker?.hover(null)
|
|
632
|
+
};
|
|
633
|
+
}
|
|
634
|
+
function SlidingPill(t0) {
|
|
635
|
+
const $ = c(11);
|
|
636
|
+
const {
|
|
637
|
+
box,
|
|
638
|
+
className
|
|
639
|
+
} = t0;
|
|
640
|
+
const {
|
|
641
|
+
follow,
|
|
642
|
+
reduced
|
|
643
|
+
} = useUiMotion();
|
|
644
|
+
const isSingleLine = box.height === void 0;
|
|
645
|
+
let t1;
|
|
646
|
+
if ($[0] !== box.height || $[1] !== box.width || $[2] !== box.x || $[3] !== box.y || $[4] !== isSingleLine) {
|
|
647
|
+
t1 = isSingleLine ? {
|
|
648
|
+
width: box.width,
|
|
649
|
+
x: box.x
|
|
650
|
+
} : {
|
|
651
|
+
height: box.height,
|
|
652
|
+
width: box.width,
|
|
653
|
+
x: box.x,
|
|
654
|
+
y: box.y
|
|
711
655
|
};
|
|
712
|
-
$[
|
|
713
|
-
$[
|
|
656
|
+
$[0] = box.height;
|
|
657
|
+
$[1] = box.width;
|
|
658
|
+
$[2] = box.x;
|
|
659
|
+
$[3] = box.y;
|
|
660
|
+
$[4] = isSingleLine;
|
|
661
|
+
$[5] = t1;
|
|
714
662
|
} else {
|
|
715
|
-
|
|
663
|
+
t1 = $[5];
|
|
716
664
|
}
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
665
|
+
const t2 = isSingleLine ? PILL_STYLE : PILL_BOX_STYLE;
|
|
666
|
+
const t3 = reduced ? INSTANT : follow ?? INSTANT;
|
|
667
|
+
let t4;
|
|
668
|
+
if ($[6] !== className || $[7] !== t1 || $[8] !== t2 || $[9] !== t3) {
|
|
669
|
+
t4 = /* @__PURE__ */ jsx(motion.span, { animate: t1, "aria-hidden": "true", className, "data-pill": "", initial: false, style: t2, transition: t3 });
|
|
670
|
+
$[6] = className;
|
|
671
|
+
$[7] = t1;
|
|
672
|
+
$[8] = t2;
|
|
673
|
+
$[9] = t3;
|
|
674
|
+
$[10] = t4;
|
|
675
|
+
} else {
|
|
676
|
+
t4 = $[10];
|
|
677
|
+
}
|
|
678
|
+
return t4;
|
|
679
|
+
}
|
|
680
|
+
function measureBox(chosen, wrapping) {
|
|
681
|
+
return wrapping ? {
|
|
682
|
+
height: chosen.offsetHeight,
|
|
683
|
+
width: chosen.offsetWidth,
|
|
684
|
+
x: chosen.offsetLeft,
|
|
685
|
+
y: chosen.offsetTop
|
|
686
|
+
} : {
|
|
687
|
+
width: chosen.offsetWidth,
|
|
688
|
+
x: chosen.offsetLeft
|
|
689
|
+
};
|
|
690
|
+
}
|
|
691
|
+
function sameBox(a, b) {
|
|
692
|
+
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
693
|
+
}
|
|
694
|
+
function useSlidingPill(selector, key, t0) {
|
|
695
|
+
const $ = c(11);
|
|
696
|
+
let t1;
|
|
697
|
+
if ($[0] !== t0) {
|
|
698
|
+
t1 = t0 === void 0 ? {} : t0;
|
|
699
|
+
$[0] = t0;
|
|
700
|
+
$[1] = t1;
|
|
701
|
+
} else {
|
|
702
|
+
t1 = $[1];
|
|
703
|
+
}
|
|
704
|
+
const {
|
|
705
|
+
wrapping: t2
|
|
706
|
+
} = t1;
|
|
707
|
+
const wrapping = t2 === void 0 ? false : t2;
|
|
708
|
+
const ref = useRef(null);
|
|
709
|
+
const [box, setBox] = useState(null);
|
|
710
|
+
let t3;
|
|
711
|
+
if ($[2] !== selector || $[3] !== wrapping) {
|
|
712
|
+
t3 = () => {
|
|
713
|
+
const list = ref.current;
|
|
714
|
+
if (!list) {
|
|
723
715
|
return;
|
|
724
716
|
}
|
|
725
|
-
const
|
|
726
|
-
|
|
727
|
-
|
|
717
|
+
const measure = () => {
|
|
718
|
+
const chosen = list.querySelector(selector);
|
|
719
|
+
if (!chosen) {
|
|
720
|
+
return;
|
|
721
|
+
}
|
|
722
|
+
const next = measureBox(chosen, wrapping);
|
|
723
|
+
setBox((prev) => prev && sameBox(prev, next) ? prev : next);
|
|
728
724
|
};
|
|
729
|
-
|
|
730
|
-
clip();
|
|
725
|
+
measure();
|
|
731
726
|
if (typeof ResizeObserver === "undefined") {
|
|
732
727
|
return;
|
|
733
728
|
}
|
|
734
|
-
const observer = new ResizeObserver(
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
729
|
+
const observer = new ResizeObserver(measure);
|
|
730
|
+
observer.observe(list);
|
|
731
|
+
for (const child of list.children) {
|
|
732
|
+
observer.observe(child);
|
|
733
|
+
}
|
|
739
734
|
return () => observer.disconnect();
|
|
740
735
|
};
|
|
741
|
-
$[
|
|
742
|
-
$[
|
|
736
|
+
$[2] = selector;
|
|
737
|
+
$[3] = wrapping;
|
|
738
|
+
$[4] = t3;
|
|
743
739
|
} else {
|
|
744
|
-
|
|
740
|
+
t3 = $[4];
|
|
745
741
|
}
|
|
746
|
-
let
|
|
747
|
-
if ($[5] !==
|
|
748
|
-
|
|
749
|
-
$[5] =
|
|
750
|
-
$[6] =
|
|
751
|
-
$[7] =
|
|
742
|
+
let t4;
|
|
743
|
+
if ($[5] !== key || $[6] !== selector || $[7] !== wrapping) {
|
|
744
|
+
t4 = [key, selector, wrapping];
|
|
745
|
+
$[5] = key;
|
|
746
|
+
$[6] = selector;
|
|
747
|
+
$[7] = wrapping;
|
|
748
|
+
$[8] = t4;
|
|
752
749
|
} else {
|
|
753
|
-
|
|
750
|
+
t4 = $[8];
|
|
754
751
|
}
|
|
755
|
-
|
|
756
|
-
let
|
|
757
|
-
if ($[
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
};
|
|
762
|
-
$[
|
|
763
|
-
|
|
764
|
-
|
|
752
|
+
useLayoutEffect(t3, t4);
|
|
753
|
+
let t5;
|
|
754
|
+
if ($[9] !== box) {
|
|
755
|
+
t5 = {
|
|
756
|
+
box,
|
|
757
|
+
ref
|
|
758
|
+
};
|
|
759
|
+
$[9] = box;
|
|
760
|
+
$[10] = t5;
|
|
761
|
+
} else {
|
|
762
|
+
t5 = $[10];
|
|
765
763
|
}
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
764
|
+
return t5;
|
|
765
|
+
}
|
|
766
|
+
var FAR_ROOT_MARGIN = "50% 25%";
|
|
767
|
+
var farSight = null;
|
|
768
|
+
function watchDistance(frame) {
|
|
769
|
+
if (typeof IntersectionObserver === "undefined") {
|
|
770
|
+
frame.removeAttribute("data-far");
|
|
771
|
+
return () => {
|
|
772
|
+
};
|
|
773
|
+
}
|
|
774
|
+
farSight ??= new IntersectionObserver((entries) => {
|
|
775
|
+
for (const entry of entries) entry.target.toggleAttribute("data-far", !entry.isIntersecting);
|
|
776
|
+
}, {
|
|
777
|
+
rootMargin: FAR_ROOT_MARGIN
|
|
778
|
+
});
|
|
779
|
+
farSight.observe(frame);
|
|
780
|
+
return () => farSight?.unobserve(frame);
|
|
781
|
+
}
|
|
782
|
+
function Image(t0) {
|
|
783
|
+
const $ = c(36);
|
|
784
|
+
const {
|
|
785
|
+
alt: t1,
|
|
786
|
+
className,
|
|
787
|
+
crossOrigin,
|
|
788
|
+
decoding: t2,
|
|
789
|
+
fallback,
|
|
790
|
+
fetchPriority,
|
|
791
|
+
fill,
|
|
792
|
+
loading,
|
|
793
|
+
onError,
|
|
794
|
+
onLoad,
|
|
795
|
+
priority: t3,
|
|
796
|
+
src,
|
|
797
|
+
wrapperClassName,
|
|
798
|
+
...rest
|
|
799
|
+
} = t0;
|
|
800
|
+
const alt = t1 === void 0 ? "" : t1;
|
|
801
|
+
const decoding = t2 === void 0 ? "async" : t2;
|
|
802
|
+
const priority = t3 === void 0 ? false : t3;
|
|
803
|
+
const {
|
|
804
|
+
parts
|
|
805
|
+
} = useUi();
|
|
806
|
+
const [variants, props] = splitVariants(rest, parts.image.frame, parts.image.picture);
|
|
807
|
+
const layout = variants.layout;
|
|
808
|
+
const imageRef = useRef(null);
|
|
809
|
+
const frameRef = useRef(null);
|
|
810
|
+
let t4;
|
|
811
|
+
if ($[0] !== src) {
|
|
812
|
+
t4 = trimToNull(src);
|
|
813
|
+
$[0] = src;
|
|
814
|
+
$[1] = t4;
|
|
815
|
+
} else {
|
|
816
|
+
t4 = $[1];
|
|
817
|
+
}
|
|
818
|
+
const resolvedSrc = t4;
|
|
819
|
+
const [hasLoaded, setHasLoaded] = useState(false);
|
|
820
|
+
const [hasFailed, setHasFailed] = useState(false);
|
|
821
|
+
const [refused, setRefused] = useState(null);
|
|
822
|
+
const corsRefused = refused !== null && refused === resolvedSrc;
|
|
823
|
+
const fillsFrame = layout !== "intrinsic" && ((fill ?? (!props.width && !props.height)) || void 0);
|
|
824
|
+
const waiting = Boolean(resolvedSrc) && !hasLoaded && !hasFailed;
|
|
825
|
+
let t5;
|
|
826
|
+
let t6;
|
|
827
|
+
if ($[2] !== waiting) {
|
|
828
|
+
t5 = () => {
|
|
829
|
+
const frame = frameRef.current;
|
|
830
|
+
if (!waiting || !frame) {
|
|
778
831
|
return;
|
|
779
832
|
}
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
833
|
+
return watchDistance(frame);
|
|
834
|
+
};
|
|
835
|
+
t6 = [waiting];
|
|
836
|
+
$[2] = waiting;
|
|
837
|
+
$[3] = t5;
|
|
838
|
+
$[4] = t6;
|
|
839
|
+
} else {
|
|
840
|
+
t5 = $[3];
|
|
841
|
+
t6 = $[4];
|
|
842
|
+
}
|
|
843
|
+
useEffect(t5, t6);
|
|
844
|
+
let t7;
|
|
845
|
+
if ($[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
846
|
+
t7 = () => {
|
|
847
|
+
const image = imageRef.current;
|
|
848
|
+
setHasLoaded(Boolean(image?.complete && image.naturalWidth > 0));
|
|
849
|
+
setHasFailed(false);
|
|
850
|
+
};
|
|
851
|
+
$[5] = t7;
|
|
852
|
+
} else {
|
|
853
|
+
t7 = $[5];
|
|
854
|
+
}
|
|
855
|
+
let t8;
|
|
856
|
+
if ($[6] !== resolvedSrc) {
|
|
857
|
+
t8 = [resolvedSrc];
|
|
858
|
+
$[6] = resolvedSrc;
|
|
859
|
+
$[7] = t8;
|
|
860
|
+
} else {
|
|
861
|
+
t8 = $[7];
|
|
862
|
+
}
|
|
863
|
+
useEffect(t7, t8);
|
|
864
|
+
if (!resolvedSrc || hasFailed && fallback) {
|
|
865
|
+
let t92;
|
|
866
|
+
if ($[8] !== fallback || $[9] !== parts.image || $[10] !== wrapperClassName) {
|
|
867
|
+
t92 = fallback ? /* @__PURE__ */ jsx("div", { className: parts.image.fallback({
|
|
868
|
+
className: wrapperClassName
|
|
869
|
+
}), suppressHydrationWarning: true, children: fallback }) : null;
|
|
870
|
+
$[8] = fallback;
|
|
871
|
+
$[9] = parts.image;
|
|
872
|
+
$[10] = wrapperClassName;
|
|
873
|
+
$[11] = t92;
|
|
874
|
+
} else {
|
|
875
|
+
t92 = $[11];
|
|
876
|
+
}
|
|
877
|
+
return t92;
|
|
878
|
+
}
|
|
879
|
+
let t9;
|
|
880
|
+
if ($[12] !== onLoad) {
|
|
881
|
+
t9 = (event) => {
|
|
882
|
+
setHasLoaded(true);
|
|
883
|
+
setHasFailed(false);
|
|
884
|
+
onLoad?.(event);
|
|
885
|
+
};
|
|
886
|
+
$[12] = onLoad;
|
|
887
|
+
$[13] = t9;
|
|
888
|
+
} else {
|
|
889
|
+
t9 = $[13];
|
|
890
|
+
}
|
|
891
|
+
const handleLoad = t9;
|
|
892
|
+
let t10;
|
|
893
|
+
if ($[14] !== corsRefused || $[15] !== crossOrigin || $[16] !== onError || $[17] !== resolvedSrc) {
|
|
894
|
+
t10 = (event_0) => {
|
|
895
|
+
if (crossOrigin && !corsRefused) {
|
|
896
|
+
setRefused(resolvedSrc);
|
|
783
897
|
return;
|
|
784
898
|
}
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
ease: [...motion4.ease],
|
|
788
|
-
onUpdate: (left) => {
|
|
789
|
-
el_0.scrollLeft = left;
|
|
790
|
-
}
|
|
791
|
-
});
|
|
792
|
-
stopGlide.current = () => controls.stop();
|
|
899
|
+
setHasFailed(true);
|
|
900
|
+
onError?.(event_0);
|
|
793
901
|
};
|
|
794
|
-
$[
|
|
795
|
-
$[
|
|
796
|
-
$[
|
|
797
|
-
$[
|
|
902
|
+
$[14] = corsRefused;
|
|
903
|
+
$[15] = crossOrigin;
|
|
904
|
+
$[16] = onError;
|
|
905
|
+
$[17] = resolvedSrc;
|
|
906
|
+
$[18] = t10;
|
|
798
907
|
} else {
|
|
799
|
-
t10 = $[
|
|
908
|
+
t10 = $[18];
|
|
800
909
|
}
|
|
801
|
-
const
|
|
802
|
-
const
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
className:
|
|
806
|
-
});
|
|
807
|
-
const t11 = "carousel";
|
|
808
|
-
const t12 = parts.carousel.root({
|
|
809
|
-
className: classNames.root
|
|
810
|
-
});
|
|
811
|
-
const t13 = "group";
|
|
812
|
-
const t14 = parts.carousel.track({
|
|
813
|
-
className: [classNames.track, className]
|
|
910
|
+
const handleError = t10;
|
|
911
|
+
const t11 = parts.image.frame({
|
|
912
|
+
...variants,
|
|
913
|
+
loading: !hasLoaded && !hasFailed,
|
|
914
|
+
className: wrapperClassName
|
|
814
915
|
});
|
|
916
|
+
const t12 = "";
|
|
917
|
+
const t13 = true;
|
|
918
|
+
const t14 = false;
|
|
815
919
|
const t15 = _temp2;
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
920
|
+
const t16 = parts.image.picture({
|
|
921
|
+
...variants,
|
|
922
|
+
className
|
|
923
|
+
});
|
|
924
|
+
const t17 = corsRefused ? void 0 : crossOrigin;
|
|
925
|
+
const t18 = hasLoaded ? "loaded" : "loading";
|
|
926
|
+
const t19 = loading || (priority ? "eager" : "lazy");
|
|
927
|
+
const t20 = fetchPriority || (priority ? "high" : void 0);
|
|
928
|
+
let t21;
|
|
929
|
+
if ($[19] !== alt || $[20] !== decoding || $[21] !== fillsFrame || $[22] !== handleError || $[23] !== handleLoad || $[24] !== props || $[25] !== resolvedSrc || $[26] !== t15 || $[27] !== t16 || $[28] !== t17 || $[29] !== t18 || $[30] !== t19 || $[31] !== t20) {
|
|
930
|
+
t21 = /* @__PURE__ */ jsx("img", { ref: imageRef, src: resolvedSrc, alt, draggable: t14, onDragStart: t15, className: t16, crossOrigin: t17, "data-fill": fillsFrame, "data-state": t18, onLoad: handleLoad, onError: handleError, loading: t19, fetchPriority: t20, decoding, suppressHydrationWarning: true, ...props });
|
|
931
|
+
$[19] = alt;
|
|
932
|
+
$[20] = decoding;
|
|
933
|
+
$[21] = fillsFrame;
|
|
934
|
+
$[22] = handleError;
|
|
935
|
+
$[23] = handleLoad;
|
|
936
|
+
$[24] = props;
|
|
937
|
+
$[25] = resolvedSrc;
|
|
938
|
+
$[26] = t15;
|
|
939
|
+
$[27] = t16;
|
|
940
|
+
$[28] = t17;
|
|
941
|
+
$[29] = t18;
|
|
942
|
+
$[30] = t19;
|
|
943
|
+
$[31] = t20;
|
|
944
|
+
$[32] = t21;
|
|
820
945
|
} else {
|
|
821
|
-
|
|
946
|
+
t21 = $[32];
|
|
822
947
|
}
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
slideKey
|
|
830
|
-
}) }, slideKey);
|
|
831
|
-
});
|
|
832
|
-
let t18;
|
|
833
|
-
if ($[14] !== stop || $[15] !== t14 || $[16] !== t15 || $[17] !== t16 || $[18] !== t17 || $[19] !== trackProps) {
|
|
834
|
-
t18 = /* @__PURE__ */ jsx("div", { ...trackProps, className: t14, onDragStart: t15, onPointerDown: stop, onScroll: t16, onTouchStart: stop, onWheel: stop, ref: track, children: t17 });
|
|
835
|
-
$[14] = stop;
|
|
836
|
-
$[15] = t14;
|
|
837
|
-
$[16] = t15;
|
|
838
|
-
$[17] = t16;
|
|
839
|
-
$[18] = t17;
|
|
840
|
-
$[19] = trackProps;
|
|
841
|
-
$[20] = t18;
|
|
948
|
+
let t22;
|
|
949
|
+
if ($[33] !== t11 || $[34] !== t21) {
|
|
950
|
+
t22 = /* @__PURE__ */ jsx("div", { className: t11, "data-far": t12, ref: frameRef, suppressHydrationWarning: t13, children: t21 });
|
|
951
|
+
$[33] = t11;
|
|
952
|
+
$[34] = t21;
|
|
953
|
+
$[35] = t22;
|
|
842
954
|
} else {
|
|
843
|
-
|
|
955
|
+
t22 = $[35];
|
|
844
956
|
}
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
957
|
+
return t22;
|
|
958
|
+
}
|
|
959
|
+
function _temp2(event_1) {
|
|
960
|
+
return event_1.preventDefault();
|
|
961
|
+
}
|
|
962
|
+
var DEFAULT_ALT = "Avatar";
|
|
963
|
+
function Avatar(t0) {
|
|
964
|
+
const $ = c(37);
|
|
965
|
+
let alt;
|
|
966
|
+
let children;
|
|
967
|
+
let className;
|
|
968
|
+
let classNames;
|
|
969
|
+
let fallback;
|
|
970
|
+
let name;
|
|
971
|
+
let props;
|
|
972
|
+
let ref;
|
|
973
|
+
let size;
|
|
974
|
+
let src;
|
|
975
|
+
let style;
|
|
976
|
+
if ($[0] !== t0) {
|
|
977
|
+
({
|
|
978
|
+
alt,
|
|
979
|
+
children,
|
|
980
|
+
className,
|
|
981
|
+
classNames,
|
|
982
|
+
fallback,
|
|
983
|
+
name,
|
|
984
|
+
ref,
|
|
985
|
+
size,
|
|
986
|
+
src,
|
|
987
|
+
style,
|
|
988
|
+
...props
|
|
989
|
+
} = t0);
|
|
990
|
+
$[0] = t0;
|
|
991
|
+
$[1] = alt;
|
|
992
|
+
$[2] = children;
|
|
993
|
+
$[3] = className;
|
|
994
|
+
$[4] = classNames;
|
|
995
|
+
$[5] = fallback;
|
|
996
|
+
$[6] = name;
|
|
997
|
+
$[7] = props;
|
|
998
|
+
$[8] = ref;
|
|
999
|
+
$[9] = size;
|
|
1000
|
+
$[10] = src;
|
|
1001
|
+
$[11] = style;
|
|
854
1002
|
} else {
|
|
855
|
-
|
|
1003
|
+
alt = $[1];
|
|
1004
|
+
children = $[2];
|
|
1005
|
+
className = $[3];
|
|
1006
|
+
classNames = $[4];
|
|
1007
|
+
fallback = $[5];
|
|
1008
|
+
name = $[6];
|
|
1009
|
+
props = $[7];
|
|
1010
|
+
ref = $[8];
|
|
1011
|
+
size = $[9];
|
|
1012
|
+
src = $[10];
|
|
1013
|
+
style = $[11];
|
|
856
1014
|
}
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
1015
|
+
const {
|
|
1016
|
+
parts
|
|
1017
|
+
} = useUi();
|
|
1018
|
+
const [failedSrc, setFailedSrc] = useState(null);
|
|
1019
|
+
const dimension = typeof size === "number" ? `${size}px` : size;
|
|
1020
|
+
let t1;
|
|
1021
|
+
if ($[12] !== dimension) {
|
|
1022
|
+
t1 = dimension ? {
|
|
1023
|
+
height: dimension,
|
|
1024
|
+
width: dimension
|
|
1025
|
+
} : null;
|
|
1026
|
+
$[12] = dimension;
|
|
1027
|
+
$[13] = t1;
|
|
1028
|
+
} else {
|
|
1029
|
+
t1 = $[13];
|
|
1030
|
+
}
|
|
1031
|
+
const box = t1;
|
|
1032
|
+
let t2;
|
|
1033
|
+
if ($[14] !== box || $[15] !== style) {
|
|
1034
|
+
t2 = {
|
|
1035
|
+
...box,
|
|
1036
|
+
...style
|
|
1037
|
+
};
|
|
1038
|
+
$[14] = box;
|
|
1039
|
+
$[15] = style;
|
|
1040
|
+
$[16] = t2;
|
|
1041
|
+
} else {
|
|
1042
|
+
t2 = $[16];
|
|
1043
|
+
}
|
|
1044
|
+
let t3;
|
|
1045
|
+
if ($[17] !== className || $[18] !== classNames?.root || $[19] !== parts.avatar) {
|
|
1046
|
+
t3 = parts.avatar.root({
|
|
1047
|
+
className: [classNames?.root, className]
|
|
1048
|
+
});
|
|
1049
|
+
$[17] = className;
|
|
1050
|
+
$[18] = classNames?.root;
|
|
1051
|
+
$[19] = parts.avatar;
|
|
1052
|
+
$[20] = t3;
|
|
1053
|
+
} else {
|
|
1054
|
+
t3 = $[20];
|
|
1055
|
+
}
|
|
1056
|
+
let t4;
|
|
1057
|
+
if ($[21] !== alt || $[22] !== children || $[23] !== classNames?.image || $[24] !== classNames?.initials || $[25] !== failedSrc || $[26] !== fallback || $[27] !== name || $[28] !== parts.avatar || $[29] !== src) {
|
|
1058
|
+
t4 = src && src !== failedSrc ? /* @__PURE__ */ jsx(Image, { src, alt: alt || name || DEFAULT_ALT, onError: () => setFailedSrc(src), className: parts.avatar.image({
|
|
1059
|
+
className: classNames?.image
|
|
1060
|
+
}) }) : /* @__PURE__ */ jsx("span", { className: parts.avatar.initials({
|
|
1061
|
+
className: classNames?.initials
|
|
1062
|
+
}), children: fallback ?? children ?? initialsOf(name || alt) });
|
|
1063
|
+
$[21] = alt;
|
|
1064
|
+
$[22] = children;
|
|
1065
|
+
$[23] = classNames?.image;
|
|
1066
|
+
$[24] = classNames?.initials;
|
|
1067
|
+
$[25] = failedSrc;
|
|
1068
|
+
$[26] = fallback;
|
|
1069
|
+
$[27] = name;
|
|
1070
|
+
$[28] = parts.avatar;
|
|
1071
|
+
$[29] = src;
|
|
1072
|
+
$[30] = t4;
|
|
868
1073
|
} else {
|
|
869
|
-
|
|
1074
|
+
t4 = $[30];
|
|
870
1075
|
}
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
1076
|
+
let t5;
|
|
1077
|
+
if ($[31] !== props || $[32] !== ref || $[33] !== t2 || $[34] !== t3 || $[35] !== t4) {
|
|
1078
|
+
t5 = /* @__PURE__ */ jsx("span", { ref, style: t2, className: t3, ...props, children: t4 });
|
|
1079
|
+
$[31] = props;
|
|
1080
|
+
$[32] = ref;
|
|
1081
|
+
$[33] = t2;
|
|
1082
|
+
$[34] = t3;
|
|
1083
|
+
$[35] = t4;
|
|
1084
|
+
$[36] = t5;
|
|
1085
|
+
} else {
|
|
1086
|
+
t5 = $[36];
|
|
1087
|
+
}
|
|
1088
|
+
return t5;
|
|
875
1089
|
}
|
|
876
|
-
function
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
return
|
|
1090
|
+
function initialsOf(name) {
|
|
1091
|
+
const parts = name?.trim().split(/\s+/).filter(Boolean) ?? [];
|
|
1092
|
+
if (parts.length === 0) return "?";
|
|
1093
|
+
if (parts.length === 1) return parts[0].slice(0, 2).toUpperCase();
|
|
1094
|
+
return `${parts[0][0]}${parts[parts.length - 1][0]}`.toUpperCase();
|
|
880
1095
|
}
|
|
881
1096
|
function CheckboxIndicator(t0) {
|
|
882
1097
|
const $ = c(6);
|
|
@@ -1004,231 +1219,6 @@ function Checkbox(t0) {
|
|
|
1004
1219
|
}
|
|
1005
1220
|
return t7;
|
|
1006
1221
|
}
|
|
1007
|
-
function SlidingHighlight(t0) {
|
|
1008
|
-
const $ = c(9);
|
|
1009
|
-
const {
|
|
1010
|
-
className,
|
|
1011
|
-
layoutId
|
|
1012
|
-
} = t0;
|
|
1013
|
-
const {
|
|
1014
|
-
parts
|
|
1015
|
-
} = useUi();
|
|
1016
|
-
const {
|
|
1017
|
-
follow,
|
|
1018
|
-
reduced
|
|
1019
|
-
} = useUiMotion();
|
|
1020
|
-
let t1;
|
|
1021
|
-
if ($[0] !== className || $[1] !== parts) {
|
|
1022
|
-
t1 = className ?? parts.highlight.fill();
|
|
1023
|
-
$[0] = className;
|
|
1024
|
-
$[1] = parts;
|
|
1025
|
-
$[2] = t1;
|
|
1026
|
-
} else {
|
|
1027
|
-
t1 = $[2];
|
|
1028
|
-
}
|
|
1029
|
-
const t2 = reduced ? INSTANT : follow ?? INSTANT;
|
|
1030
|
-
let t3;
|
|
1031
|
-
if ($[3] !== t2) {
|
|
1032
|
-
t3 = {
|
|
1033
|
-
layout: t2
|
|
1034
|
-
};
|
|
1035
|
-
$[3] = t2;
|
|
1036
|
-
$[4] = t3;
|
|
1037
|
-
} else {
|
|
1038
|
-
t3 = $[4];
|
|
1039
|
-
}
|
|
1040
|
-
let t4;
|
|
1041
|
-
if ($[5] !== layoutId || $[6] !== t1 || $[7] !== t3) {
|
|
1042
|
-
t4 = /* @__PURE__ */ jsx(motion.span, { "aria-hidden": "true", className: t1, layoutId, style: HIGHLIGHT_STYLE, transition: t3 });
|
|
1043
|
-
$[5] = layoutId;
|
|
1044
|
-
$[6] = t1;
|
|
1045
|
-
$[7] = t3;
|
|
1046
|
-
$[8] = t4;
|
|
1047
|
-
} else {
|
|
1048
|
-
t4 = $[8];
|
|
1049
|
-
}
|
|
1050
|
-
return t4;
|
|
1051
|
-
}
|
|
1052
|
-
function SlidingPill(t0) {
|
|
1053
|
-
const $ = c(11);
|
|
1054
|
-
const {
|
|
1055
|
-
box,
|
|
1056
|
-
className
|
|
1057
|
-
} = t0;
|
|
1058
|
-
const {
|
|
1059
|
-
follow,
|
|
1060
|
-
reduced
|
|
1061
|
-
} = useUiMotion();
|
|
1062
|
-
const isSingleLine = box.height === void 0;
|
|
1063
|
-
let t1;
|
|
1064
|
-
if ($[0] !== box.height || $[1] !== box.width || $[2] !== box.x || $[3] !== box.y || $[4] !== isSingleLine) {
|
|
1065
|
-
t1 = isSingleLine ? {
|
|
1066
|
-
width: box.width,
|
|
1067
|
-
x: box.x
|
|
1068
|
-
} : {
|
|
1069
|
-
height: box.height,
|
|
1070
|
-
width: box.width,
|
|
1071
|
-
x: box.x,
|
|
1072
|
-
y: box.y
|
|
1073
|
-
};
|
|
1074
|
-
$[0] = box.height;
|
|
1075
|
-
$[1] = box.width;
|
|
1076
|
-
$[2] = box.x;
|
|
1077
|
-
$[3] = box.y;
|
|
1078
|
-
$[4] = isSingleLine;
|
|
1079
|
-
$[5] = t1;
|
|
1080
|
-
} else {
|
|
1081
|
-
t1 = $[5];
|
|
1082
|
-
}
|
|
1083
|
-
const t2 = isSingleLine ? PILL_STYLE : PILL_BOX_STYLE;
|
|
1084
|
-
const t3 = reduced ? INSTANT : follow ?? INSTANT;
|
|
1085
|
-
let t4;
|
|
1086
|
-
if ($[6] !== className || $[7] !== t1 || $[8] !== t2 || $[9] !== t3) {
|
|
1087
|
-
t4 = /* @__PURE__ */ jsx(motion.span, { animate: t1, "aria-hidden": "true", className, "data-pill": "", initial: false, style: t2, transition: t3 });
|
|
1088
|
-
$[6] = className;
|
|
1089
|
-
$[7] = t1;
|
|
1090
|
-
$[8] = t2;
|
|
1091
|
-
$[9] = t3;
|
|
1092
|
-
$[10] = t4;
|
|
1093
|
-
} else {
|
|
1094
|
-
t4 = $[10];
|
|
1095
|
-
}
|
|
1096
|
-
return t4;
|
|
1097
|
-
}
|
|
1098
|
-
var HighlightContext = createContext(null);
|
|
1099
|
-
function HighlightGroup(t0) {
|
|
1100
|
-
const $ = c(13);
|
|
1101
|
-
const {
|
|
1102
|
-
children,
|
|
1103
|
-
className
|
|
1104
|
-
} = t0;
|
|
1105
|
-
const id = useId();
|
|
1106
|
-
const [hovered, setHovered] = useState(null);
|
|
1107
|
-
const [focused, setFocused] = useState(null);
|
|
1108
|
-
const t1 = hovered ?? focused;
|
|
1109
|
-
let t2;
|
|
1110
|
-
if ($[0] !== id || $[1] !== t1) {
|
|
1111
|
-
t2 = {
|
|
1112
|
-
active: t1,
|
|
1113
|
-
focus: setFocused,
|
|
1114
|
-
hover: setHovered,
|
|
1115
|
-
id
|
|
1116
|
-
};
|
|
1117
|
-
$[0] = id;
|
|
1118
|
-
$[1] = t1;
|
|
1119
|
-
$[2] = t2;
|
|
1120
|
-
} else {
|
|
1121
|
-
t2 = $[2];
|
|
1122
|
-
}
|
|
1123
|
-
const tracker = t2;
|
|
1124
|
-
let t3;
|
|
1125
|
-
if ($[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel")) {
|
|
1126
|
-
t3 = () => setHovered(null);
|
|
1127
|
-
$[3] = t3;
|
|
1128
|
-
} else {
|
|
1129
|
-
t3 = $[3];
|
|
1130
|
-
}
|
|
1131
|
-
let t4;
|
|
1132
|
-
if ($[4] !== children || $[5] !== className) {
|
|
1133
|
-
t4 = /* @__PURE__ */ jsx("div", { className, onPointerLeave: t3, children });
|
|
1134
|
-
$[4] = children;
|
|
1135
|
-
$[5] = className;
|
|
1136
|
-
$[6] = t4;
|
|
1137
|
-
} else {
|
|
1138
|
-
t4 = $[6];
|
|
1139
|
-
}
|
|
1140
|
-
let t5;
|
|
1141
|
-
if ($[7] !== id || $[8] !== t4) {
|
|
1142
|
-
t5 = /* @__PURE__ */ jsx(LayoutGroup, { id, children: t4 });
|
|
1143
|
-
$[7] = id;
|
|
1144
|
-
$[8] = t4;
|
|
1145
|
-
$[9] = t5;
|
|
1146
|
-
} else {
|
|
1147
|
-
t5 = $[9];
|
|
1148
|
-
}
|
|
1149
|
-
let t6;
|
|
1150
|
-
if ($[10] !== t5 || $[11] !== tracker) {
|
|
1151
|
-
t6 = /* @__PURE__ */ jsx(HighlightContext, { value: tracker, children: t5 });
|
|
1152
|
-
$[10] = t5;
|
|
1153
|
-
$[11] = tracker;
|
|
1154
|
-
$[12] = t6;
|
|
1155
|
-
} else {
|
|
1156
|
-
t6 = $[12];
|
|
1157
|
-
}
|
|
1158
|
-
return t6;
|
|
1159
|
-
}
|
|
1160
|
-
function useHighlight(key, className) {
|
|
1161
|
-
const $ = c(17);
|
|
1162
|
-
const tracker = use(HighlightContext);
|
|
1163
|
-
let t0;
|
|
1164
|
-
if ($[0] !== className || $[1] !== key || $[2] !== tracker) {
|
|
1165
|
-
t0 = tracker?.active === key ? /* @__PURE__ */ jsx(SlidingHighlight, { className, layoutId: `highlight-${tracker.id}` }) : null;
|
|
1166
|
-
$[0] = className;
|
|
1167
|
-
$[1] = key;
|
|
1168
|
-
$[2] = tracker;
|
|
1169
|
-
$[3] = t0;
|
|
1170
|
-
} else {
|
|
1171
|
-
t0 = $[3];
|
|
1172
|
-
}
|
|
1173
|
-
let t1;
|
|
1174
|
-
if ($[4] !== tracker) {
|
|
1175
|
-
t1 = () => tracker?.focus(null);
|
|
1176
|
-
$[4] = tracker;
|
|
1177
|
-
$[5] = t1;
|
|
1178
|
-
} else {
|
|
1179
|
-
t1 = $[5];
|
|
1180
|
-
}
|
|
1181
|
-
let t2;
|
|
1182
|
-
let t3;
|
|
1183
|
-
if ($[6] !== key || $[7] !== tracker) {
|
|
1184
|
-
t2 = (event) => {
|
|
1185
|
-
if (event.target.matches(":focus-visible")) {
|
|
1186
|
-
tracker?.focus(key);
|
|
1187
|
-
}
|
|
1188
|
-
};
|
|
1189
|
-
t3 = () => tracker?.hover(key);
|
|
1190
|
-
$[6] = key;
|
|
1191
|
-
$[7] = tracker;
|
|
1192
|
-
$[8] = t2;
|
|
1193
|
-
$[9] = t3;
|
|
1194
|
-
} else {
|
|
1195
|
-
t2 = $[8];
|
|
1196
|
-
t3 = $[9];
|
|
1197
|
-
}
|
|
1198
|
-
let t4;
|
|
1199
|
-
if ($[10] !== t1 || $[11] !== t2 || $[12] !== t3) {
|
|
1200
|
-
t4 = {
|
|
1201
|
-
onBlur: t1,
|
|
1202
|
-
onFocus: t2,
|
|
1203
|
-
onPointerEnter: t3
|
|
1204
|
-
};
|
|
1205
|
-
$[10] = t1;
|
|
1206
|
-
$[11] = t2;
|
|
1207
|
-
$[12] = t3;
|
|
1208
|
-
$[13] = t4;
|
|
1209
|
-
} else {
|
|
1210
|
-
t4 = $[13];
|
|
1211
|
-
}
|
|
1212
|
-
let t5;
|
|
1213
|
-
if ($[14] !== t0 || $[15] !== t4) {
|
|
1214
|
-
t5 = {
|
|
1215
|
-
node: t0,
|
|
1216
|
-
props: t4
|
|
1217
|
-
};
|
|
1218
|
-
$[14] = t0;
|
|
1219
|
-
$[15] = t4;
|
|
1220
|
-
$[16] = t5;
|
|
1221
|
-
} else {
|
|
1222
|
-
t5 = $[16];
|
|
1223
|
-
}
|
|
1224
|
-
return t5;
|
|
1225
|
-
}
|
|
1226
|
-
function useHighlightReset() {
|
|
1227
|
-
const tracker = use(HighlightContext);
|
|
1228
|
-
return {
|
|
1229
|
-
onPointerEnter: () => tracker?.hover(null)
|
|
1230
|
-
};
|
|
1231
|
-
}
|
|
1232
1222
|
function Input(t0) {
|
|
1233
1223
|
const $ = c(5);
|
|
1234
1224
|
const {
|
|
@@ -1726,6 +1716,7 @@ var NO_HIGHLIGHT = -1;
|
|
|
1726
1716
|
var ARROW_KEYS = ["ArrowDown", "ArrowUp"];
|
|
1727
1717
|
var SELECT_KEYS = ["Enter", " "];
|
|
1728
1718
|
var NON_IDENTIFIER_CHARS = /[^a-zA-Z0-9_-]/g;
|
|
1719
|
+
var canAnchor = () => typeof CSS !== "undefined" && typeof CSS.supports === "function" && CSS.supports("anchor-name", "--a");
|
|
1729
1720
|
function Select(t0) {
|
|
1730
1721
|
const $ = c(67);
|
|
1731
1722
|
const {
|
|
@@ -1777,10 +1768,10 @@ function Select(t0) {
|
|
|
1777
1768
|
const rootRef = useRef(null);
|
|
1778
1769
|
const triggerRef = useRef(null);
|
|
1779
1770
|
const menuRef = useRef(null);
|
|
1780
|
-
const host =
|
|
1771
|
+
const host = usePortalTarget();
|
|
1781
1772
|
const [anchor, setAnchor] = useState(null);
|
|
1782
1773
|
const floating = placement === "popover" && host !== null && anchor !== null;
|
|
1783
|
-
const anchored =
|
|
1774
|
+
const anchored = useClientValue(canAnchor, false);
|
|
1784
1775
|
let t6;
|
|
1785
1776
|
if ($[3] !== generatedId) {
|
|
1786
1777
|
t6 = generatedId.replace(NON_IDENTIFIER_CHARS, "");
|
|
@@ -2013,7 +2004,7 @@ function Select(t0) {
|
|
|
2013
2004
|
});
|
|
2014
2005
|
let t19;
|
|
2015
2006
|
if ($[44] !== anchor || $[45] !== anchorName || $[46] !== anchored || $[47] !== floating || $[48] !== offset) {
|
|
2016
|
-
t19 = floating
|
|
2007
|
+
t19 = floating ? menuPlacementStyle(anchor, anchored, anchorName, offset) : {};
|
|
2017
2008
|
$[44] = anchor;
|
|
2018
2009
|
$[45] = anchorName;
|
|
2019
2010
|
$[46] = anchored;
|