@co0ontty/wand 4.106.0 → 4.106.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 +2 -2
- package/dist/ai-text-runner.js +24 -14
- package/dist/build-info.d.ts +2 -0
- package/dist/build-info.js +18 -0
- package/dist/build-info.json +3 -3
- package/dist/cli.js +8 -2
- package/dist/daemon-maintenance-state.js +1 -1
- package/dist/daemon-maintenance-targets.d.ts +1 -0
- package/dist/daemon-maintenance-targets.js +25 -9
- package/dist/daemon-maintenance.d.ts +3 -0
- package/dist/daemon-maintenance.js +60 -13
- package/dist/employee-im-types.d.ts +1 -1
- package/dist/employee-input-scheduling.d.ts +4 -0
- package/dist/employee-knowledge-cli.js +5 -5
- package/dist/employee-knowledge.d.ts +3 -1
- package/dist/employee-knowledge.js +24 -8
- package/dist/git-quick-commit.d.ts +2 -0
- package/dist/git-quick-commit.js +15 -2
- package/dist/git-worktree-batch.d.ts +26 -0
- package/dist/git-worktree-batch.js +139 -0
- package/dist/global-knowledge.d.ts +12 -0
- package/dist/global-knowledge.js +124 -0
- package/dist/iteration-log.d.ts +13 -5
- package/dist/iteration-log.js +120 -59
- package/dist/knowledge-types.d.ts +12 -1
- package/dist/knowledge-types.js +4 -0
- package/dist/middleware/api-scope.js +1 -0
- package/dist/model-groups.js +6 -3
- package/dist/models/parsers/opencode.js +31 -1
- package/dist/models.js +15 -14
- package/dist/npm-update-utils.d.ts +5 -2
- package/dist/npm-update-utils.js +34 -4
- package/dist/opencode-cli.d.ts +6 -0
- package/dist/opencode-cli.js +51 -0
- package/dist/opencode-system-fallback.d.ts +1 -0
- package/dist/opencode-system-fallback.js +16 -4
- package/dist/pi-native-event-bridge.js +55 -3
- package/dist/pi-native-input.d.ts +22 -0
- package/dist/pi-native-input.js +77 -0
- package/dist/pi-tmux-host.d.ts +14 -5
- package/dist/pi-tmux-host.js +68 -17
- package/dist/process-manager.js +17 -3
- package/dist/pty-tmux-backend.d.ts +27 -2
- package/dist/pty-tmux-backend.js +471 -70
- package/dist/pty-tmux-log.d.ts +1 -1
- package/dist/pty-tmux-log.js +23 -2
- package/dist/retention-protection.d.ts +1 -1
- package/dist/retention-protection.js +3 -2
- package/dist/retention.d.ts +5 -0
- package/dist/retention.js +11 -0
- package/dist/server-knowledge-routes.js +2 -2
- package/dist/server-session-input-routes.js +38 -19
- package/dist/server-session-lifecycle-routes.js +14 -1
- package/dist/server-session-worktree-routes.js +105 -12
- package/dist/server-task-routes.js +41 -12
- package/dist/server-workspace-routes.js +77 -9
- package/dist/server.js +67 -35
- package/dist/session-registry.d.ts +17 -3
- package/dist/session-registry.js +66 -13
- package/dist/session-service.js +1 -1
- package/dist/storage/internal.d.ts +4 -3
- package/dist/storage/internal.js +3 -3
- package/dist/storage/knowledge-repository.d.ts +5 -0
- package/dist/storage/knowledge-repository.js +75 -16
- package/dist/storage/mappers.d.ts +1 -0
- package/dist/storage/mappers.js +6 -1
- package/dist/storage/migrations.js +60 -0
- package/dist/storage/session-input-repository.d.ts +19 -0
- package/dist/storage/session-input-repository.js +35 -0
- package/dist/storage/task-workflow-repository.d.ts +29 -0
- package/dist/storage/task-workflow-repository.js +110 -0
- package/dist/storage/tasks-repository.d.ts +6 -1
- package/dist/storage/tasks-repository.js +94 -34
- package/dist/storage/workspaces-repository.d.ts +7 -0
- package/dist/storage/workspaces-repository.js +28 -2
- package/dist/storage-cleanup.d.ts +7 -2
- package/dist/storage-cleanup.js +16 -0
- package/dist/storage-schema.js +2 -0
- package/dist/storage.d.ts +5 -1
- package/dist/storage.js +12 -0
- package/dist/structured-exec-host.d.ts +4 -0
- package/dist/structured-exec-pump.d.ts +1 -0
- package/dist/structured-exec-pump.js +18 -11
- package/dist/structured-opencode-adapter.d.ts +2 -1
- package/dist/structured-opencode-adapter.js +32 -8
- package/dist/structured-pi-adapter.js +13 -2
- package/dist/structured-runner.d.ts +6 -0
- package/dist/structured-session-manager-replay.d.ts +2 -0
- package/dist/structured-session-manager-replay.js +27 -0
- package/dist/structured-session-manager.d.ts +32 -21
- package/dist/structured-session-manager.js +395 -118
- package/dist/structured-tmux-host.d.ts +23 -2
- package/dist/structured-tmux-host.js +143 -20
- package/dist/task-actions.js +5 -3
- package/dist/task-archive-policy.js +2 -1
- package/dist/task-comment-dispatch.d.ts +2 -1
- package/dist/task-comment-dispatch.js +19 -6
- package/dist/task-execution-queue.d.ts +2 -0
- package/dist/task-execution-queue.js +10 -10
- package/dist/task-hierarchy.js +1 -1
- package/dist/task-read-model.d.ts +1 -1
- package/dist/task-read-model.js +2 -1
- package/dist/task-types.d.ts +34 -3
- package/dist/task-types.js +21 -5
- package/dist/task-workflow-cli.d.ts +2 -0
- package/dist/task-workflow-cli.js +29 -0
- package/dist/task-workflow-runner.d.ts +4 -0
- package/dist/task-workflow-runner.js +36 -0
- package/dist/task-workflow.d.ts +13 -0
- package/dist/task-workflow.js +48 -0
- package/dist/terminal-daemon-server.js +12 -4
- package/dist/tmux-policy.d.ts +9 -0
- package/dist/tmux-policy.js +46 -0
- package/dist/tmux-terminal-host.js +5 -2
- package/dist/tui/commands.js +2 -1
- package/dist/types.d.ts +5 -0
- package/dist/wand-task-sync.js +5 -0
- package/dist/web-ui/content/ai-teams.js +9 -9
- package/dist/web-ui/content/module-manifest.json +1 -1
- package/dist/web-ui/content/modules/{52574891ef08e29b → 014fa5c6f973badf}/host.js +3 -3
- package/dist/web-ui/content/modules/0818b1d31a11d006/employee-profile.js +1 -0
- package/dist/web-ui/content/modules/{31157ceb6d23b809 → 0a58d9ec273078e4}/chunk.js +3 -3
- package/dist/web-ui/content/modules/{bf3ee58e0da44822 → 0a979dcd165cd0cc}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{5f298a8f43dd0589 → 0c143928e8f96abc}/chunk.js +1 -1
- package/dist/web-ui/content/modules/0e9e42a319f6b8fc/workspace-window.js +1 -0
- package/dist/web-ui/content/modules/{b713cad51ca4c512 → 0f0d1769b732c0bd}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{4970319a83432ec7 → 1447886e6a1e74a4}/chunk.js +1 -1
- package/dist/web-ui/content/modules/151c734cbca31da5/host.js +1 -0
- package/dist/web-ui/content/modules/{e5174201f9d918fb → 16e4ab9c5263fcfd}/chunk.js +1 -1
- package/dist/web-ui/content/modules/17e752fb53952753/host.js +1 -0
- package/dist/web-ui/content/modules/{913187c92a98a1ac → 20ed1454fc09fa6f}/chunk.js +1 -1
- package/dist/web-ui/content/modules/255a3baf59d2b734/home.js +6 -0
- package/dist/web-ui/content/modules/{2f801e53dda62770 → 296dd81886c42b45}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{8891ca8165435ca1 → 2a01f4e525c0725e}/chunk.js +1 -1
- package/dist/web-ui/content/modules/2ab4409c82b44fba/markdown.js +1 -0
- package/dist/web-ui/content/modules/2c955eced11610c2/chunk.js +1 -0
- package/dist/web-ui/content/modules/2d7ee4f9e2c0aca4/panel.js +1 -0
- package/dist/web-ui/content/modules/{3f8830f8ad28decc → 33ae550e4a295c85}/chunk.js +1 -1
- package/dist/web-ui/content/modules/35f4aa4443696bd0/chunk.js +1 -0
- package/dist/web-ui/content/modules/388b37ffcce9d4ff/host.js +1 -0
- package/dist/web-ui/content/modules/39279604dcdac7c7/runtime.js +338 -0
- package/dist/web-ui/content/modules/{57c357d321db5df9 → 3a3cdff2a662b7d3}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{d49f106c4d106057 → 3ab646be55514243}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{16dab1297efd71a7 → 3ae88a5c5e1949d2}/chunk.js +1 -1
- package/dist/web-ui/content/modules/3e3b0e71d6ce80d8/chunk.js +1 -0
- package/dist/web-ui/content/modules/{ec33e17c00c1eb24 → 434aaaaf9604dc34}/chunk.js +1 -1
- package/dist/web-ui/content/modules/4385cd48771e1d4f/host.js +1 -0
- package/dist/web-ui/content/modules/{face3dbf117d63e3 → 4638129d60f549a0}/chunk.js +1 -1
- package/dist/web-ui/content/modules/47407209931b7011/host.js +13 -0
- package/dist/web-ui/content/modules/4829dd712d8b366b/chunk.js +1 -0
- package/dist/web-ui/content/modules/488d5b747bf374c8/chunk.js +1 -0
- package/dist/web-ui/content/modules/{ed7405f064944215 → 4ab085c195f7d76a}/sha256.js +1 -1
- package/dist/web-ui/content/modules/{f27a5d3c6c02a71c → 4c485bd44740fec7}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{771439a41e737ee2 → 4ca0494308ab2bb3}/chunk.js +1 -1
- package/dist/web-ui/content/modules/4ec571218779ba3e/composer-surface-adapter.js +1 -0
- package/dist/web-ui/content/modules/{5933ce8965aa4004 → 5023bf0294c2e7cb}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{e63582a3bce48f7d → 5456e3417600bf15}/chunk.js +1 -1
- package/dist/web-ui/content/modules/55c588b0f5b41a52/host-bridge.js +1 -0
- package/dist/web-ui/content/modules/{9d941d6ff39861b8 → 5c3c8237ba7d8460}/chunk.js +1 -1
- package/dist/web-ui/content/modules/624b858da9834757/host.js +1 -0
- package/dist/web-ui/content/modules/6290be936320d4b1/host.js +1 -0
- package/dist/web-ui/content/modules/66be408793048cc3/progress.js +1 -0
- package/dist/web-ui/content/modules/67a11176a563317b/chunk.js +1 -0
- package/dist/web-ui/content/modules/{e060508ecd50fa7e → 68ef6ec7d26d78cd}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{41445c6589dba325 → 6ec3e41df31927d9}/host.js +2 -2
- package/dist/web-ui/content/modules/{97d7f267959fd385 → 6f10f369445bbcbe}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{d47d75a78ae598e3 → 7295d9ff92d5e1e7}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{f383d892fef73483 → 72cd613de1a5f69b}/chunk.js +1 -1
- package/dist/web-ui/content/modules/73aae1daafeea7e7/workspaces-panel.js +4 -0
- package/dist/web-ui/content/modules/{c2f09c8a472f5d83 → 73d2689f13b9a3e9}/dialog-modal.js +1 -1
- package/dist/web-ui/content/modules/{2f97ddba3842adaa → 75cf0c048e9b92ab}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{4ba1e8c74bed7ef2 → 75dabda3b141296e}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{f3cff7792ba39df8 → 76c10b58d5f92d02}/login-visual.js +1 -1
- package/dist/web-ui/content/modules/{b63e075f222a1266 → 783583a12f5010f8}/library-bridge.js +1 -1
- package/dist/web-ui/content/modules/7e13a8a4a981f2f1/group-editor.js +1 -0
- package/dist/web-ui/content/modules/{0d76e582a7a71b2f → 7e3034fea34c6dae}/chunk.js +1 -1
- package/dist/web-ui/content/modules/80bf3291f2577a68/host.js +1 -0
- package/dist/web-ui/content/modules/{cba6f13c0b2aec1c → 82c3e08f34a6b828}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{dedd4a19bb70e327 → 83d1f4cf82c65f19}/page.js +3 -3
- package/dist/web-ui/content/modules/844f97958f25240c/shell-file-panel-drawer.js +1 -0
- package/dist/web-ui/content/modules/{62e0023451f428cf → 899cdc467044d418}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{5083a5dbb5b155b7 → 8c7ca1fe72741c07}/chunk.js +1 -1
- package/dist/web-ui/content/modules/8dae4ca2261525e4/task-board-host.js +27 -0
- package/dist/web-ui/content/modules/92195c14c74929da/list-filter-panel.js +1 -0
- package/dist/web-ui/content/modules/{a61393bfa976d8d5 → 93793696af76bcbf}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{db521a246e14e5e4 → 97cd6af3da5622b8}/chunk.js +4 -4
- package/dist/web-ui/content/modules/{8de8368570ab089d → 9d3179258249ec77}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{579d486763d47c0d → a234c484078c0568}/chunk.js +1 -1
- package/dist/web-ui/content/modules/a4d215448a089a7d/host.js +1 -0
- package/dist/web-ui/content/modules/{c0a446100d969f3e → ae003f89901c5687}/chunk.js +1 -1
- package/dist/web-ui/content/modules/ae712bdd45b9917e/employee-card.js +1 -0
- package/dist/web-ui/content/modules/{a2caed0139df4b21 → b2a15293f7965d09}/chunk.js +1 -1
- package/dist/web-ui/content/modules/b4ee65e9998f0088/host.js +61 -0
- package/dist/web-ui/content/modules/{bd3daf04a8bf4422 → b666137d17f83be9}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{831b6c7b43e800be → b66beb6c0185256b}/host.js +1 -1
- package/dist/web-ui/content/modules/{816eb9b3a000fb2c → bb03b17e877657de}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{1eab7410d5586038 → bc343afc991db1a1}/chunk.js +1 -1
- package/dist/web-ui/content/modules/bca45976ff8fe2ac/host.js +69 -0
- package/dist/web-ui/content/modules/{d434edbb2f4672e5 → c2715dbfc9eaf510}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{d6fffe2c2a3a738d → c30c220281f35d74}/toast-region.js +1 -1
- package/dist/web-ui/content/modules/c4cc46fa9b4adddc/dropdown-surface.js +1 -0
- package/dist/web-ui/content/modules/c6dd19ee3d3ffd59/brand-identity.js +1 -0
- package/dist/web-ui/content/modules/c7ea6a114e6ff8ae/host.js +1 -0
- package/dist/web-ui/content/modules/{a59734be368daa7e → c916d82c8acef9c8}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{182929e188c1ab3a → cceaedda619a737a}/host.js +1 -1
- package/dist/web-ui/content/modules/cf67f52b076b9d2d/panel-host.js +1 -0
- package/dist/web-ui/content/modules/{9e163d54ff8fd1aa → d26c86558d422313}/chunk.js +1 -1
- package/dist/web-ui/content/modules/d2b8c6c6f3706032/queue-view-adapter.js +1 -0
- package/dist/web-ui/content/modules/d52ebe2ef12a9fa8/chunk.js +3 -0
- package/dist/web-ui/content/modules/{3fe11a75284ad8ae → d552b3bff2151eb6}/host.js +2 -2
- package/dist/web-ui/content/modules/d5d6b4511ac76a6e/chunk.js +3 -0
- package/dist/web-ui/content/modules/{bd7dc4bb46731ee7 → df42e151d625463b}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{2a791cd2e14aa1e0 → e0a04f5ae56c68aa}/notice-view.js +1 -1
- package/dist/web-ui/content/modules/{438807b8bf112cd0 → e28e607c95d6f63a}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{50da446c1377c220 → e3880df97ea62d0c}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{87c7f50d9455d55e → e66196f1ece3e3ad}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{9b12c2301f3a18f3 → eb76307444ac9d71}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{c33935155289c22d → ebff7ca22cee1468}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{4861eca9a8a87ad0 → ed1c712c569960d6}/chunk.js +1 -1
- package/dist/web-ui/content/modules/ee8b9c2d4bec63d4/chunk.js +1 -0
- package/dist/web-ui/content/modules/f458a194ce4208e2/chunk.js +1 -0
- package/dist/web-ui/content/modules/{11af5d14b30e57b6 → f938e826420cfe1b}/chunk.js +1 -1
- package/dist/web-ui/content/modules/fa7b9bf6cc84bfc1/chat-render.js +81 -0
- package/dist/web-ui/content/modules/{ea8fe4b9999fd2aa → fd1fb1834f5f06df}/chunk.js +1 -1
- package/dist/web-ui/content/modules/fd3084e562a3dbd6/host.js +1 -0
- package/dist/web-ui/content/styles.css +1 -1
- package/dist/web-ui/embedded-assets.d.ts +416 -413
- package/dist/web-ui/embedded-assets.js +5 -5
- package/dist/web-ui/page-route.js +2 -2
- package/dist/web-ui/react/workspaces/types.d.ts +3 -0
- package/dist/web-ui/thinking-efforts.d.ts +2 -0
- package/dist/web-ui/thinking-efforts.js +8 -0
- package/package.json +1 -2
- package/scripts/stage-render-binaries.js +0 -1
- package/skills/wand-knowledge/SKILL.md +5 -3
- package/dist/structured-bounded-keys.d.ts +0 -19
- package/dist/structured-bounded-keys.js +0 -47
- package/dist/web-ui/content/modules/00b168a19664439e/dropdown-surface.js +0 -1
- package/dist/web-ui/content/modules/059c5fb7f128d340/task-board-host.js +0 -27
- package/dist/web-ui/content/modules/07494f5a623e4471/chat-render.js +0 -76
- package/dist/web-ui/content/modules/0a743ad3b4db6874/chunk.js +0 -3
- package/dist/web-ui/content/modules/1858670c0f84fec5/employee-profile.js +0 -1
- package/dist/web-ui/content/modules/20c47dc0442f5a04/host.js +0 -1
- package/dist/web-ui/content/modules/226241b999d12008/host.js +0 -1
- package/dist/web-ui/content/modules/23c4b8d223ec64c5/host.js +0 -61
- package/dist/web-ui/content/modules/2882c97388ff4f7b/employee-card.js +0 -1
- package/dist/web-ui/content/modules/2c90c3be260e6cce/progress.js +0 -1
- package/dist/web-ui/content/modules/2d7be9935394f397/workspace-window.js +0 -1
- package/dist/web-ui/content/modules/389a5112332ec23a/host.js +0 -1
- package/dist/web-ui/content/modules/3ea13e8b3c2deaa4/panel-host.js +0 -1
- package/dist/web-ui/content/modules/42e5c34002fcffb7/chunk.js +0 -1
- package/dist/web-ui/content/modules/4a5d669c90f545cb/host.js +0 -1
- package/dist/web-ui/content/modules/5705d25468274534/host.js +0 -1
- package/dist/web-ui/content/modules/5961ab2947c86ca1/shell-file-panel-drawer.js +0 -1
- package/dist/web-ui/content/modules/5b6e1369df7dea69/chunk.js +0 -1
- package/dist/web-ui/content/modules/6787bdcf56f743a5/host.js +0 -1
- package/dist/web-ui/content/modules/67c39b0398186a9f/host.js +0 -1
- package/dist/web-ui/content/modules/6b16f35c0627bafb/chunk.js +0 -1
- package/dist/web-ui/content/modules/6dd4f3e2f619f7a0/chunk.js +0 -1
- package/dist/web-ui/content/modules/70a2e13e0ccc8549/panel.js +0 -1
- package/dist/web-ui/content/modules/710db590e9707f73/runtime.js +0 -338
- package/dist/web-ui/content/modules/7249950f8771dbeb/workspaces-panel.js +0 -4
- package/dist/web-ui/content/modules/87dcd516ffd9f688/composer-surface-adapter.js +0 -1
- package/dist/web-ui/content/modules/8b7cd7bffdfd69e7/brand-identity.js +0 -1
- package/dist/web-ui/content/modules/8bf9917f6c3429f6/host.js +0 -1
- package/dist/web-ui/content/modules/8e612d4881fa4118/home.js +0 -6
- package/dist/web-ui/content/modules/8e6178262ea63dec/markdown.js +0 -1
- package/dist/web-ui/content/modules/96f2ae970f8c576b/host.js +0 -1
- package/dist/web-ui/content/modules/ba89cd97627e6682/queue-view-adapter.js +0 -1
- package/dist/web-ui/content/modules/c351eb11e0bdec2c/sidebar-peek.js +0 -1
- package/dist/web-ui/content/modules/ca7ca5902a35d26e/chunk.js +0 -1
- package/dist/web-ui/content/modules/d5d28ec375826ef2/chunk.js +0 -3
- package/dist/web-ui/content/modules/d6b16dedb9011c33/chunk.js +0 -1
- package/dist/web-ui/content/modules/d8a7011760f61719/group-editor.js +0 -1
- package/dist/web-ui/content/modules/d9e2b65e9679ad39/host.js +0 -75
- package/dist/web-ui/content/modules/eac72f69716dba05/chunk.js +0 -1
- package/dist/web-ui/content/modules/ebc53dedc3945514/host.js +0 -1
- package/dist/web-ui/content/modules/f43da7050badf54c/host.js +0 -1
- package/dist/web-ui/content/modules/fb2356eced24c4cc/host-bridge.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{shared41_e as lt}from"/assets/modules/710db590e9707f73/runtime.js";import{shared20_j as nt}from"/assets/modules/710db590e9707f73/runtime.js";import{shared130_a as st}from"/assets/modules/710db590e9707f73/runtime.js";import{shared24_a as rt}from"/assets/modules/710db590e9707f73/runtime.js";import{shared16_b as at,shared16_c as ct}from"/assets/modules/710db590e9707f73/runtime.js";import{shared15_a as it}from"/assets/modules/710db590e9707f73/runtime.js";import{shared61_a as Ke}from"/assets/modules/710db590e9707f73/runtime.js";import{shared17_a as Te}from"/assets/modules/710db590e9707f73/runtime.js";import{shared4_I as Qe,shared4_Ja as fe,shared4_M as Je,shared4_O as Ze,shared4_Z as ke,shared4__ as et,shared4_a as y,shared4_ba as Ee,shared4_bb as $e,shared4_eb as h,shared4_fa as oe,shared4_ha as de,shared4_na as ge,shared4_qa as W,shared4_ua as tt,shared4_va as ue,shared4_ya as ot}from"/assets/modules/710db590e9707f73/runtime.js";import{shared5_a as O}from"/assets/modules/710db590e9707f73/runtime.js";import{shared6_c as A}from"/assets/modules/710db590e9707f73/runtime.js";var j=A(O());var k=A(O());var M=A(O());var mt=A(O());function Pe(e){let{prefixCls:t,className:l,style:n,status:s}=e,a=`${t}-rail`;return mt.createElement("div",{className:y(a,`${a}-${s}`,l),style:n})}var pt=A(O()),se=pt.createContext({});var Y=A(O());var dt=A(O()),ie=dt.createContext(null);function We(){return We=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e},We.apply(this,arguments)}var Me=Y.createContext({}),Zt=Y.forwardRef((e,t)=>{let{className:l,style:n,children:s,...a}=e,{prefixCls:r,classNames:p,styles:m}=Y.useContext(ie),{className:o,style:c}=Y.useContext(Me),g=`${r}-item`;return Y.createElement("div",We({},Je(a,!1),{ref:t,className:y(`${g}-icon`,p.itemIcon,o,l),style:{...m.itemIcon,...c,...n}}),s)}),He=Zt;function Be(){return Be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e},Be.apply(this,arguments)}function De(e){return e!=null}function he(e){let{prefixCls:t,classNames:l,styles:n,data:s,last:a,nextStatus:r,active:p,index:m,itemRender:o,iconRender:c,itemWrapperRender:g,onClick:u}=e,d=`${t}-item`,{railFollowPrevStatus:S}=M.useContext(se),{ItemComponent:N}=M.useContext(ie),{onClick:v,title:b,subTitle:C,content:f,description:i,disabled:$,icon:H,status:x,className:_,style:q,classNames:I={},styles:z={},...D}=s,P=f??i,E={item:{...s,content:P},index:m,active:p},B=!!(u||v)&&!$,T={};B&&(T.role="button",T.tabIndex=0,T.onClick=L=>{v?.(L),u(m)},T.onKeyDown=L=>{(L.key==="Enter"||L.key===" ")&&(L.preventDefault(),L.currentTarget.click())});let K=x||"wait",U=De(b),w=De(C),J=y(d,`${d}-${K}`,{[`${d}-custom`]:H,[`${d}-active`]:p,[`${d}-disabled`]:$===!0,[`${d}-empty-header`]:!U&&!w},_,l.item,I.root),Z=M.createElement(He,null);c&&(Z=c(Z,{...E,components:{Icon:He}}));let Q=M.createElement("div",{className:y(`${d}-wrapper`,l.itemWrapper,I.wrapper),style:{...n.itemWrapper,...z.wrapper}},M.createElement(Me.Provider,{value:{className:I.icon,style:z.icon}},Z),M.createElement("div",{className:y(`${d}-section`,l.itemSection,I.section),style:{...n.itemSection,...z.section}},M.createElement("div",{className:y(`${d}-header`,l.itemHeader,I.header),style:{...n.itemHeader,...z.header}},U&&M.createElement("div",{className:y(`${d}-title`,l.itemTitle,I.title),style:{...n.itemTitle,...z.title}},b),w&&M.createElement("div",{title:typeof C=="string"?C:void 0,className:y(`${d}-subtitle`,l.itemSubtitle,I.subtitle),style:{...n.itemSubtitle,...z.subtitle}},C),!a&&M.createElement(Pe,{prefixCls:d,className:y(l.itemRail,I.rail),style:{...n.itemRail,...z.rail},status:S?x:r})),De(P)&&M.createElement("div",{className:y(`${d}-content`,l.itemContent,I.content),style:{...n.itemContent,...z.content}},P))),G=M.createElement(N,Be({},D,T,{className:J,style:{...n.item,...z.root,...q}}),g?g(Q):Q);return o&&(G=o(G,E)||null),G}function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e},Ve.apply(this,arguments)}var gt={};function Ae(e){let{prefixCls:t="rc-steps",style:l,className:n,classNames:s=gt,styles:a=gt,rootClassName:r,orientation:p,titlePlacement:m,components:o,status:c="process",current:g=0,initial:u=0,onChange:d,items:S,iconRender:N,itemRender:v,itemWrapperRender:b,...C}=e,f=p==="vertical",i=f?"vertical":"horizontal",$=!f&&m==="vertical"?"vertical":"horizontal",H=y(t,`${t}-${i}`,`${t}-title-${$}`,r,n,s.root),x=k.default.useMemo(()=>(S||[]).filter(Boolean),[S]),_=k.default.useMemo(()=>x.map(({status:E},B)=>{let T=u+B;return E||(T===g?c:T<g?"finish":"wait")}),[x,c,g,u]),q=E=>{d&&g!==E&&d(E)},{root:I="div",item:z="div"}=o||{},D=k.default.useMemo(()=>({prefixCls:t,classNames:s,styles:a,ItemComponent:z}),[t,s,a,z]),P=(E,B)=>{let T=u+B,K=_[B],U=_[B+1],w={...E,status:K};return k.default.createElement(he,{key:T,prefixCls:t,classNames:s,styles:a,data:w,nextStatus:U,active:T===g,index:T,last:x.length-1===B,iconRender:N,itemRender:v,itemWrapperRender:b,onClick:d&&q})};return k.default.createElement(I,Ve({className:H,style:{...l,...a?.root}},C),k.default.createElement(ie.Provider,{value:D},x.map(P)))}var ut=Ae;var R=A(O());var ft=A(O()),be=ft.createContext(null);var Oe=A(O()),kt=e=>{let{prefixCls:t}=e;return Oe.createElement("svg",{"aria-hidden":!0,className:`${t}-panel-arrow`,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},Oe.createElement("path",{d:"M 0 0 L 100 50 L 0 100"}))},$t=kt;var ee=A(O());var eo=e=>{let{prefixCls:t,rootPrefixCls:l,children:n,percent:s}=e,a=`${t}-item-progress-icon`,r=`${a}-circle`,[,p]=h(l,"cmp-steps"),m=`calc(${p("progress-radius")} * 2 * ${Math.PI*s/100}) 9999`;return ee.createElement(ee.Fragment,null,ee.createElement("svg",{className:`${a}-svg`,viewBox:"0 0 100 100",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":s},ee.createElement("circle",{className:y(r,`${r}-rail`)}),ee.createElement("circle",{className:y(r,`${r}-ptg`),strokeDasharray:m,transform:"rotate(-90 50 50)"})),n)},ht=eo;var to=e=>{let{componentCls:t,antCls:l}=e,n=`${t}-item`,[s,a]=h(l,"cmp-steps");return{[`${t}-horizontal`]:{[`> ${n}`]:{flex:"1 1 auto",minWidth:e.iconSize,[`${n}-rail`]:{[s("horizontal-rail-margin")]:`calc(${a("icon-size-max")} / 2 - ${a("rail-size")} / 2 + ${a("item-wrapper-padding-top")})`,position:"static",marginTop:a("horizontal-rail-margin"),width:"auto",borderBlockStartWidth:a("rail-size"),flex:1,minWidth:0,alignSelf:"flex-start"}}}}},bt=to;var oo=e=>{let{componentCls:t,customIconFontSize:l,motionDurationSlow:n,iconSize:s,lineWidth:a,lineType:r,antCls:p}=e,m=`${t}-item`,[o,c]=h(p,"cmp-steps");return{[t]:{[o("icon-size")]:s,[o("icon-border-width")]:a,[`${m}-icon`]:{width:c("icon-size"),height:c("icon-size"),margin:0,flex:"none",display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:c("icon-size"),textAlign:"center",borderRadius:c("icon-size"),border:`${c("icon-border-width")} ${r} transparent`,transition:["background-color","border","color","inset","transform"].map(g=>`${g} ${n}`).join(", "),zIndex:1},[`${m}-custom ${m}-icon`]:{background:"none",border:0,fontSize:l}}}},vt=oo;var io=e=>{let{componentCls:t,inlineDotSize:l,paddingXS:n,lineWidth:s,antCls:a,calc:r}=e,p=r(n).add(s).equal(),m=`${t}-item`,[o,c]=h(a,"cmp-steps");return{[`${t}-inline`]:{[o("items-offset")]:"0",[o("item-wrapper-padding-top")]:p,display:"inline-flex","&:before":{content:'""',flex:c("items-offset")},[m]:{[o("title-vertical-row-gap")]:n,[o("icon-size")]:l,[o("icon-size-active")]:l,[o("title-font-size")]:e.fontSizeSM,[o("title-line-height")]:e.lineHeightSM,[o("item-title-color")]:e.colorTextSecondary,[o("subtitle-font-size")]:e.fontSizeSM,[o("subtitle-line-height")]:e.lineHeightSM,[o("item-subtitle-color")]:e.colorTextQuaternary,[o("rail-size")]:e.lineWidth,[o("title-horizontal-rail-gap")]:"0px",flex:1,"&-wrapper":{paddingInline:e.paddingXXS,marginInline:e.calc(e.marginXXS).div(2).equal(),borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover}},"&-icon":{[`${m}-icon-dot`]:{"&:after":{display:"none"}}},"&-title":{fontWeight:"normal",whiteSpace:"nowrap"},"&-content":{display:"none"}}}}},xt=io;function no(e){return(e||"--ant-not-exist").replace(/var\((.*)\)/,"$1")}var ne=(e,t,l)=>{let{calc:n,componentCls:s,descriptionMaxWidth:a,antCls:r}=e,p=`${s}-item`,[,m]=h(r,"cmp-steps");return{[`@container style(${no(a)})`]:[{[`${p}-icon`]:{marginInlineStart:n(a).sub(m("icon-size")).div(2).equal()},[`${p}-rail`]:{width:"auto",insetInlineStart:n(a).add(m("icon-size")).div(2).add(t).equal(),insetInlineEnd:n(a).sub(m("icon-size")).div(2).sub(t).mul(-1).equal()}},l]}};var ro=e=>{let{componentCls:t,descriptionMaxWidth:l,marginXS:n,fontHeightLG:s,margin:a,paddingSM:r,marginXXS:p,antCls:m,calc:o}=e,c=`${t}-item`,[g,u]=h(m,"cmp-steps");return{[t]:{[g("icon-size-max")]:`max(${u("icon-size")}, ${u("icon-size-active",u("icon-size"))})`,[`${c}-icon`]:{marginBlockStart:`calc((${u("heading-height")} - ${u("icon-size")}) / 2)`}},[`${t}-title-horizontal`]:{[g("title-horizontal-item-margin")]:a,[g("title-horizontal-rail-margin")]:a,[g("title-horizontal-title-height")]:s,[g("heading-height")]:`max(${u("icon-size")}, ${u("title-horizontal-title-height")})`,[`&${t}-horizontal, &${t}-horizontal-alternate`]:{[`${c}:not(:first-child)`]:{marginInlineStart:u("title-horizontal-item-margin")},[`${c}:last-child`]:{flex:"0 1 auto"},[`${c}-wrapper`]:{columnGap:e.marginXS}},[`&${t}-vertical`]:{[`${c}-wrapper`]:{columnGap:e.margin},[`${c}-empty-header`]:{[`${c}-header`]:{minHeight:"auto"},[`${c}-content`]:{marginTop:o(u("heading-height")).sub(e.fontHeight).div(2).equal()}}},[`${c}-section`]:{flex:1,minWidth:0},[`${c}-header`]:{minHeight:u("heading-height")},[`${c}-title`]:{flex:"0 1 auto"},[`${c}-content`]:{maxWidth:l},[`${c}-subtitle`]:{flex:"0 9999 auto"},[`&${t}-horizontal ${c}-rail`]:{[g("item-wrapper-padding-top")]:"0px",flex:"1 1 0%",marginInlineStart:u("title-horizontal-rail-margin")}},[`${t}-title-vertical`]:{[g("title-vertical-row-gap")]:r,[g("title-horizontal-rail-gap")]:p,[g("heading-height")]:u("icon-size-max"),[`> ${c}`]:{flex:"1 1 0%",[`${c}-wrapper`]:{flexDirection:"column",rowGap:u("title-vertical-row-gap"),alignItems:"center"},[`${c}-section`]:{alignSelf:"stretch"},[`${c}-header`]:{flexDirection:"column",alignItems:"center"},[`${c}-title, ${c}-subtitle, ${c}-content`]:{textAlign:"center",maxWidth:"100%"},[`${c}-subtitle`]:{margin:0},[`${c}-rail`]:{position:"absolute",top:0,width:`calc(100% - ${u("icon-size")} - ${u("title-horizontal-rail-gap")} * 2)`,insetInlineStart:`calc(50% + ${u("icon-size")} / 2 + ${u("title-horizontal-rail-gap")})`}},...ne(e,n,{[`${c}:last-child`]:{flex:"none"},[`${c}-icon`]:{alignSelf:"flex-start"},[`${c}-section`]:{width:l}})}}},St=ro;var lo=e=>{let{componentCls:t}=e,l=`${t}-item`;return{[`${t}-max-count`]:{[`${l}-ellipsis`]:{[`${l}-title, ${l}-subtitle, ${l}-content`]:{color:e.colorTextDescription}}}}},Ct=lo;var ao=e=>{let{componentCls:t,fontSizeIcon:l,navContentMaxWidth:n,navArrowColor:s,colorPrimary:a,motionDurationSlow:r,antCls:p,calc:m}=e,o=`${t}-item`,c=a,[g,u]=h(p,"cmp-steps");return{[`${t}${t}-navigation`]:{[o.repeat(4)]:{display:"flex",justifyContent:"center",position:"relative",flex:1,marginInlineStart:0,[`${o}-wrapper`]:{paddingBlock:e.paddingSM},[`${o}-section`]:{maxWidth:n},[`${o}-rail`]:{display:"none"},"&:before":{position:"absolute",display:"block",backgroundColor:c,transition:`all ${r}`,transitionTimingFunction:"ease-out",content:'""'},"&:not(:last-child):after":{position:"absolute",display:"block",borderTop:`${W(e.lineWidth)} ${e.lineType} ${s}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${W(e.lineWidth)} ${e.lineType} ${s}`,content:'""'},[`&${o}-active`]:{[g("item-content-active-color")]:u("item-content-color"),[g("item-icon-active-bg-color")]:u("item-icon-bg-color"),[g("item-icon-active-border-color")]:u("item-icon-border-color"),[g("item-icon-active-text-color")]:u("item-icon-text-color")}},[`&${t}-horizontal`]:{[o]:{"&:before":{bottom:0,insetInlineStart:"50%",width:0,height:e.lineWidthBold},[`&${o}-active:before`]:{insetInlineStart:0,width:"100%"},"&:not(:last-child):after":{top:"50%",insetInlineStart:m(l).div(2).mul(-1).add("100%").equal(),width:l,height:l,transform:"translateY(-50%) rotate(45deg)"}}},[`&${t}-vertical`]:{[o.repeat(4)]:{[`${o}-content`]:{padding:0},"&:before":{insetInlineEnd:0,top:"50%",width:e.lineWidthBold,height:0},[`&${o}-active::before`]:{top:0,height:"100%"},"&:not(:last-child):after":{left:{_skip_check_:!0,value:"50%"},top:"100%",width:m(l).div(3).mul(2).equal(),height:m(l).div(3).mul(2).equal(),transform:"translateY(-50%) translateX(-50%) rotate(135deg)"}}}}}},yt=ao;var co=e=>{let{componentCls:t,lineWidthBold:l,borderRadius:n,borderRadiusSM:s,motionDurationMid:a,paddingXS:r,lineType:p,paddingSM:m,antCls:o,calc:c}=e,g=`${t}-item`,[u,d]=h(o,"cmp-steps"),S=`${W(l)} ${p} ${d("panel-border-color")}`;return{[`${t}${t}-panel`]:[{[`${g}-rail`]:{display:"none"},[`&${t}-horizontal`]:{alignItems:"stretch",[g]:{flex:1,margin:0}}},{"&":{[u("panel-padding")]:m,[u("item-border-radius")]:n,[g]:{[u("panel-bg-color")]:d("item-icon-bg-color"),[u("panel-border-color")]:d("item-icon-border-color"),[u("panel-active-bg-color")]:d("item-icon-active-bg-color"),[u("panel-active-border-color")]:d("item-icon-active-border-color"),[u("panel-title-height")]:`calc(${d("title-font-size")} * ${d("title-line-height")})`,[u("item-base-height")]:c(d("panel-padding")).mul(2).add(d("icon-size")).add(d("panel-title-height")).equal(),[u("item-base-width")]:`calc(${d("item-base-height")} * 0.7071)`,transition:`background-color ${a}`}},[`${g}-icon`]:{display:"none"},[`${g}-header`]:{minHeight:"auto"},[`${t}-panel-arrow`]:{position:"absolute",top:c(l).mul(-1).equal(),insetInlineStart:"100%",zIndex:1,height:c(l).mul(2).add("100%").equal(),width:d("item-base-width"),overflow:"visible",strokeLinecap:"round",path:{fill:d("panel-bg-color"),stroke:d("panel-border-color"),strokeWidth:l,vectorEffect:"non-scaling-stroke",transition:`fill ${a}`}},[`${g}:last-child ${t}-panel-arrow`]:{display:"none"},[g]:{padding:d("panel-padding"),background:d("panel-bg-color"),position:"relative",borderBlock:S,"&:not(:first-child)":{paddingInlineStart:`calc(${d("panel-padding")} + ${d("item-base-width")})`},"&:first-child":{borderInlineStart:S,borderStartStartRadius:d("item-border-radius"),borderEndStartRadius:d("item-border-radius")},"&:last-child":{borderInlineEnd:S,borderStartEndRadius:d("item-border-radius"),borderEndEndRadius:d("item-border-radius")},"&-active":{background:d("panel-active-bg-color"),borderColor:d("panel-active-border-color"),[`${t}-panel-arrow`]:{path:{fill:d("panel-active-bg-color"),stroke:d("panel-active-border-color")}},[`${g}-title, ${g}-subtitle, ${g}-content`]:{color:d("item-icon-active-text-color")}}}},{[`&${t}-small`]:{[u("panel-padding")]:r,[u("item-border-radius")]:s}},{[`&${t}-filled`]:{[g]:{"&:not(:first-child)":{clipPath:`polygon(${[`${W(l)} 0`,`calc(100% + ${d("item-base-width")}) 0`,`calc(100% + ${d("item-base-width")}) 100%`,`${W(l)} 100%`,`calc(${d("item-base-width")} + ${W(l)}) 50%`].join(",")})`}}}},{[`&${t}-outlined`]:{[`${t}-panel-arrow`]:{top:c(l).div(2).mul(-1).equal(),height:c(l).add("100%").equal()}}}]}},zt=co;var so=e=>{let{calc:t,antCls:l,componentCls:n,lineWidthBold:s,motionDurationSlow:a}=e,r=`${n}-item`,[p,m]=h(l,"cmp-steps"),o=t(s).add(s).equal();return{[`${n}${n}-with-progress`]:{[p("item-wrapper-padding-top")]:o,[`${r}${r}-process`]:{[`${r}-icon`]:{position:"relative"}},[`${r}-progress-icon`]:{"&-svg":{[p("svg-size")]:t(o).mul(2).add(m("icon-size")).equal(),[p("icon-size-ptg-unitless")]:`calc(100 / tan(atan2(${m("svg-size")}, 1px)))`,fontSize:m("svg-size"),lineHeight:m("icon-size-ptg-unitless"),position:"absolute",inset:t(o).mul(-1).equal(),width:"auto",height:"auto"},"&-circle":{lineHeight:m("icon-size-ptg-unitless"),strokeWidth:t(m("icon-size-ptg-unitless")).mul(s).equal(),[p("progress-radius")]:t(m("svg-size")).sub(s).mul(m("icon-size-ptg-unitless")).div(2).equal(),r:m("progress-radius"),fill:"none",cx:50,cy:50,transition:`all ${a} ease-in-out`,"&-rail":{stroke:e.colorSplit},"&-ptg":{stroke:e.colorPrimary}}}}}},wt=so;var mo=e=>{let{componentCls:t,iconSize:l,dotSize:n,dotCurrentSize:s,marginXXS:a,lineWidthBold:r,fontSizeSM:p,antCls:m}=e,o=`${t}-item`,[c,g]=h(m,"cmp-steps");return{[`${t}${t}-dot`]:{[c("icon-size-active")]:s,[c("icon-size")]:n,[c("dot-icon-size")]:n,[c("dot-icon-border-width")]:r,[c("rail-size")]:r,[c("icon-border-width")]:r,[`${o}-custom ${o}-icon`]:{fontSize:p},[`${o}-icon`]:{position:"relative","&:after":{content:'""',width:l,height:l,display:"block",position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"}},[`${o}-active ${o}-icon`]:{[c("icon-size")]:g("icon-size-active")},[`&${t}-horizontal`]:{[`&, &${t}-small`]:ne(e,a)}}}},Rt=mo;var po=e=>{let{componentCls:t,lineWidthBold:l,antCls:n}=e,s=`${t}-item`,[,a]=h(n,"cmp-steps");return{[`${t}${t}-rtl`]:{direction:"rtl",[`&${t}-navigation${t}-horizontal`]:{[`${s}:after`]:{transform:"translateY(-50%) rotate(-45deg)"}},[`&${t}-panel`]:{[`${t}-panel-arrow`]:{transform:"scaleX(-1)"},[`&${t}-filled`]:{[s]:{"&:not(:first-child)":{clipPath:`polygon(${[`calc(0px - ${a("item-base-width")}) 0px`,`calc(100% - ${W(l)}) 0px`,`calc(100% - ${a("item-base-width")} - ${W(l)}) 50%`,`calc(100% - ${W(l)}) 100%`,`calc(0px - ${a("item-base-width")}) 100%`].join(",")})`}}}}}}},It=po;var go=e=>{let{componentCls:t,iconSizeSM:l,fontSize:n,lineHeight:s,marginXS:a,fontHeight:r,marginSM:p,paddingXS:m,antCls:o}=e,[c]=h(o,"cmp-steps");return{[`${t}${t}-small`]:{[c("icon-size")]:l,[c("title-horizontal-item-margin")]:p,[c("title-vertical-row-gap")]:m,[c("title-font-size")]:n,[c("title-line-height")]:s,[c("title-horizontal-rail-margin")]:a,[c("title-horizontal-title-height")]:r,[`&${t}-horizontal${t}-title-vertical`]:ne(e,a)}}},Nt=go;var ve="wait",xe="process",Se="finish",Ce="error",uo=e=>{let{componentCls:t,colorTextDisabled:l,colorTextLightSolid:n,colorPrimary:s,colorTextLabel:a,colorError:r,colorErrorHover:p,colorErrorBgFilledHover:m,colorFillTertiary:o,colorErrorBg:c,colorPrimaryBgHover:g,colorPrimaryBg:u,colorText:d,colorTextDescription:S,colorBgContainer:N,colorPrimaryHover:v,lineType:b,antCls:C}=e,f=`${t}-item`,[i,$]=h(C,"cmp-steps");return{[t]:[{[f]:{[i("item-solid-line-color")]:"#000",[i("item-title-color")]:"#000",[i("item-content-color")]:"#000",[i("item-subtitle-color")]:$("item-content-color"),[i("item-icon-custom-color")]:"#000",[i("item-icon-bg-color")]:"#000",[i("item-icon-border-color")]:"#000",[i("item-icon-text-color")]:"#fff",[i("item-icon-dot-color")]:"#000",[i("item-icon-dot-bg-color")]:$("item-icon-dot-color"),[i("item-icon-dot-border-color")]:$("item-icon-dot-color"),[i("item-text-hover-color")]:"#000",[i("item-icon-bg-hover-color")]:$("item-icon-bg-color"),[i("item-icon-border-hover-color")]:$("item-icon-border-color"),[i("item-icon-text-hover-color")]:$("item-icon-text-color"),[i("item-content-active-color")]:$("item-content-color"),[i("item-icon-active-bg-color")]:$("item-icon-bg-color"),[i("item-icon-active-border-color")]:$("item-icon-border-color"),[i("item-icon-active-text-color")]:$("item-icon-text-color"),[i("item-process-rail-line-style")]:b},[`${f}-rail`]:{borderColor:$("item-solid-line-color")},[`${f}-custom ${f}-icon`]:{color:$("item-icon-custom-color")},[`${f}-title`]:{color:$("item-title-color")},[`${f}-subtitle`]:{color:$("item-subtitle-color")},[`${f}-content`]:{color:$("item-content-color")},[`${f}-active ${f}-icon`]:{},[`${f}-active ${f}-content`]:{color:$("item-content-active-color")},[`${f}[role='button']:not(${f}-active):hover`]:{[`${f}-title, ${f}-content`]:{color:$("item-text-hover-color")}},[`&:not(${t}-dot)`]:{[`${f}:not(${f}-custom)`]:{[`${f}-icon`]:{background:$("item-icon-bg-color"),borderColor:$("item-icon-border-color"),color:$("item-icon-text-color")},[`&[role='button']:not(${f}-active):hover`]:{[`${f}-icon`]:{background:$("item-icon-bg-hover-color"),borderColor:$("item-icon-border-hover-color"),color:$("item-icon-text-hover-color")}},[`&${f}-active`]:{[`${f}-icon`]:{background:$("item-icon-active-bg-color"),borderColor:$("item-icon-active-border-color"),color:$("item-icon-active-text-color")}}}},[`&${t}-dot`]:{[`${f}-icon`]:{background:$("item-icon-dot-bg-color"),borderColor:$("item-icon-dot-border-color"),color:$("item-icon-dot-color"),[`&${f}-icon-dot-custom`]:{background:"transparent",border:"none"}}}},{[`${f}-${ve}`]:{[i("item-icon-custom-color")]:l,[i("item-title-color")]:S,[i("item-content-color")]:S,[i("item-content-active-color")]:d,[i("item-text-hover-color")]:v},[`${f}-rail-${ve}`]:{[i("item-solid-line-color")]:l},[`${f}-${xe}`]:{[i("item-icon-custom-color")]:s,[i("item-title-color")]:d,[i("item-content-color")]:S,[i("item-content-active-color")]:d,[i("item-text-hover-color")]:v},[`${f}-rail-${xe}`]:{[i("item-solid-line-color")]:s,[i("rail-line-style")]:$("item-process-rail-line-style")},[`${f}-${Se}`]:{[i("item-icon-custom-color")]:s,[i("item-title-color")]:d,[i("item-content-color")]:S,[i("item-content-active-color")]:d,[i("item-text-hover-color")]:v},[`${f}-rail-${Se}`]:{[i("item-solid-line-color")]:s},[`${f}-${Ce}`]:{[i("item-icon-custom-color")]:r,[i("item-title-color")]:r,[i("item-content-color")]:r,[i("item-content-active-color")]:r,[i("item-text-hover-color")]:p},[`${f}-rail-${Ce}`]:{[i("item-solid-line-color")]:r}},{[`&${t}-filled`]:{[f]:{[i("item-icon-dot-border-color")]:"transparent"},[`${f}-${ve}`]:{[i("item-icon-bg-color")]:o,[i("item-icon-border-color")]:"transparent",[i("item-icon-text-color")]:a,[i("item-icon-dot-bg-color")]:l,[i("item-icon-bg-hover-color")]:g,[i("item-icon-border-hover-color")]:"transparent",[i("item-icon-text-hover-color")]:s,[i("item-icon-active-bg-color")]:s,[i("item-icon-active-border-color")]:"transparent",[i("item-icon-active-text-color")]:n},[`${f}-${xe}, ${f}-${Se}`]:{[i("item-icon-bg-color")]:u,[i("item-icon-border-color")]:"transparent",[i("item-icon-text-color")]:s,[i("item-icon-dot-bg-color")]:s,[i("item-icon-bg-hover-color")]:g,[i("item-icon-border-hover-color")]:"transparent",[i("item-icon-text-hover-color")]:s,[i("item-icon-active-bg-color")]:s,[i("item-icon-active-border-color")]:"transparent",[i("item-icon-active-text-color")]:n},[`${f}-${Ce}`]:{[i("item-icon-bg-color")]:c,[i("item-icon-border-color")]:"transparent",[i("item-icon-text-color")]:r,[i("item-icon-dot-bg-color")]:r,[i("item-icon-bg-hover-color")]:m,[i("item-icon-border-hover-color")]:"transparent",[i("item-icon-text-hover-color")]:r,[i("item-icon-active-bg-color")]:r,[i("item-icon-active-border-color")]:"transparent",[i("item-icon-active-text-color")]:n}}},{[`&${t}-outlined`]:{[f]:{[i("item-icon-dot-bg-color")]:"transparent"},[`${f}-${ve}`]:{[i("item-icon-bg-color")]:N,[i("item-icon-border-color")]:l,[i("item-icon-text-color")]:l,[i("item-icon-dot-color")]:l,[i("item-icon-bg-hover-color")]:"transparent",[i("item-icon-border-hover-color")]:v,[i("item-icon-text-hover-color")]:v,[i("item-icon-active-bg-color")]:o},[`${f}-${xe}, ${f}-${Se}`]:{[i("item-icon-bg-color")]:N,[i("item-icon-border-color")]:s,[i("item-icon-text-color")]:s,[i("item-icon-dot-color")]:s,[i("item-icon-bg-hover-color")]:"transparent",[i("item-icon-border-hover-color")]:v,[i("item-icon-text-hover-color")]:v,[i("item-icon-active-bg-color")]:u},[`${f}-${Ce}`]:{[i("item-icon-bg-color")]:N,[i("item-icon-border-color")]:r,[i("item-icon-text-color")]:r,[i("item-icon-dot-color")]:r,[i("item-icon-bg-hover-color")]:"transparent",[i("item-icon-border-hover-color")]:p,[i("item-icon-text-hover-color")]:p,[i("item-icon-active-bg-color")]:c}}}]}},Et=uo;var fo=e=>{let{componentCls:t,marginXXS:l,paddingSM:n,controlHeight:s,antCls:a,calc:r}=e,p=`${t}-item`,[m,o]=h(a,"cmp-steps");return{[`${t}-vertical`]:{[m("vertical-rail-margin")]:r(l).mul(1.5).equal(),flexDirection:"column",alignItems:"stretch",[`> ${p}`]:{minHeight:r(s).mul(1.5).equal(),paddingBottom:n,"&:last-child":{paddingBottom:0},[`${p}-icon`]:{marginInlineStart:`calc((${o("icon-size-max")} - ${o("icon-size")}) / 2)`},[`${p}-rail`]:{[m("rail-offset")]:r(o("heading-height")).sub(o("icon-size")).div(2).equal(),borderInlineStartWidth:o("rail-size"),position:"absolute",top:r(o("icon-size")).add(o("item-wrapper-padding-top")).add(o("rail-offset")).add(o("vertical-rail-margin")).equal(),insetInlineStart:r(o("icon-size-max")).div(2).equal(),bottom:r(o("vertical-rail-margin")).sub(o("rail-offset")).equal(),marginInlineStart:`calc(${o("rail-size")} / -2)`}}}}},Tt=fo;var $o=e=>{let{componentCls:t,antCls:l}=e,n=`${t}-item`,[s,a]=h(l,"cmp-steps");return{[t]:{[s("title-font-size")]:e.fontSizeLG,[s("title-line-height")]:e.lineHeightLG,[s("subtitle-font-size")]:e.fontSize,[s("subtitle-line-height")]:e.lineHeight,[s("item-wrapper-padding-top")]:"0px",[s("rail-size")]:e.lineWidth,[s("rail-line-style")]:e.lineType,...ue(e),display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[n]:{flex:"none",position:"relative"},[`${n}-wrapper`]:{display:"flex",flexWrap:"nowrap",paddingTop:a("item-wrapper-padding-top")},[`${n}-header`]:{display:"flex",flexWrap:"nowrap",alignItems:"center"},[`${n}-title`]:{color:e.colorText,fontSize:a("title-font-size"),lineHeight:a("title-line-height"),wordBreak:"break-word"},[`${n}-subtitle`]:{color:e.colorTextDescription,fontWeight:"normal",fontSize:a("subtitle-font-size"),lineHeight:a("subtitle-line-height"),marginInlineStart:e.marginXS,wordBreak:"break-word"},[`${n}-content`]:{color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word"},[`${n}-rail`]:{borderStyle:a("rail-line-style"),borderWidth:0},[`${n}-title, ${n}-subtitle, ${n}-content, ${n}-rail`]:{transition:`all ${e.motionDurationSlow}`},[`&${t}-ellipsis`]:{[`${n}-title, ${n}-subtitle, ${n}-content`]:tt},[`${n}[role='button']:focus-visible`]:ot(e),[`${n}[role='button']:not(${n}-active):hover`]:{cursor:"pointer"}}}},ho=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"unset",descriptionMaxWidth:void 0,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),Pt=$e("Steps",e=>{let t=fe(e,{inlineDotSize:6});return[$o(t),vt(t),Tt(t),bt(t),St(t),Nt(t),Rt(t),Et(t),yt(t),zt(t),xt(t),Ct(t),wt(t),It(t)]},ho);var ye=A(O());function bo(e,t){return{item:{...e,key:e.key??t},originIndex:t}}function vo(e,t,l,n,s){let a=e[l].key??l,r=e[n].key??n,m=e.slice(l+1,n).some(o=>o.status==="error")?"error":n-1<t?"finish":"wait";return{item:{key:`ellipsis-${a}-${r}`,title:"",icon:ye.createElement(st),status:m,disabled:!0,className:`${s}-item-ellipsis`},originIndex:-1}}function xo(e,t,l){let n=Math.min(Math.max(t,0),e-1),s=Math.min(l,e),a=new Set([0,n,e-1]);for(let r=1;a.size<s&&r<e;r+=1){let p=[n-r,n+r,r,e-1-r];for(let m of p){if(a.size>=s)break;m>=0&&m<e&&a.add(m)}}return Array.from(a).sort((r,p)=>r-p).flatMap((r,p,m)=>p>0&&r-m[p-1]>1?[null,r]:[r])}function _e(e,t,l,n,s){let a=n!==void 0&&n>=3&&e.length>n,r=t-l,p=ye.useMemo(()=>{if(!a)return e.map((c,g)=>({item:c,originIndex:g}));let o=xo(e.length,r,n);return o.map((c,g)=>c===null?vo(e,r,o[g-1],o[g+1],s):bo(e[c],c))},[a,r,e,n,s]),m=p.findIndex(o=>o.originIndex===r);return{canApplyMaxCount:a,displaySteps:p,mappedDisplayCurrent:m>=0?m:r,displayItems:p.map(o=>o.item)}}var So={itemIcon:at},Co=e=>{let{size:t,className:l,rootClassName:n,style:s,variant:a="filled",type:r,classNames:p,styles:m,direction:o,orientation:c,responsive:g=!0,progressDot:u,labelPlacement:d,titlePlacement:S,ellipsis:N,maxCount:v,offset:b=0,items:C,percent:f,current:i=0,initial:$=0,onChange:H,iconRender:x,..._}=e,q=R.useContext(be),I=ge("steps"),{getPrefixCls:z,direction:D,className:P,style:E}=I,B,T,K={};q?K={root:q.rootComponent,item:q.itemComponent}:{classNames:B,styles:T}=I;let U=z(),w=z("steps",e.prefixCls),J=`${w}-item-icon`,[Z,Q]=Pt(w),[G]=h(U,"cmp-steps"),L=it(t),qe=R.useMemo(()=>(C||[]).filter(Boolean),[C]),{xs:ze}=lt(g),V=R.useMemo(()=>r&&r!=="default"?r:u?"dot":r,[u,r]),we=V==="inline",me=V==="dot"||V==="inline",Xe=R.useMemo(()=>V==="dot"&&Ee(u)?u:void 0,[V,u]),le=R.useMemo(()=>{let X=c||o;return V==="panel"?"horizontal":g&&ze||X==="vertical"?"vertical":"horizontal"},[c,o,V,g,ze]),Le=R.useMemo(()=>me||le==="vertical"?le==="vertical"?"horizontal":"vertical":r==="navigation"?"horizontal":S||d||"horizontal",[me,d,le,S,r]),pe=we?void 0:f,{canApplyMaxCount:At,displaySteps:Fe,mappedDisplayCurrent:Ot,displayItems:_t}=_e(qe,i,$,v,w),qt={...e,variant:a,size:L,type:V,orientation:le,titlePlacement:Le,current:i,initial:$,percent:pe,responsive:g,offset:b,ellipsis:N,maxCount:v},Xt=oe(E),Lt=oe(s),[Ft,jt]=de([So,B,p],[T,Xt,m,Lt],{props:qt}),Ut=(X,F)=>{let{item:te,index:je,active:Jt,components:{Icon:Ue}}=F,Re=Fe[je]?.originIndex,Ie=Re!==void 0&&Re>=0?$+Re:je,{status:Ge,icon:Ye}=te,ae=null;if(me||Ye)ae=Ye;else switch(Ge){case"finish":ae=R.createElement(rt,{className:`${J}-finish`});break;case"error":ae=R.createElement(Ke,{className:`${J}-error`});break;default:{let Ne=R.createElement("span",{className:`${J}-number`},Ie+1);Ge==="process"&&pe!==void 0&&(Ne=R.createElement(ht,{prefixCls:w,rootPrefixCls:U,percent:pe},Ne)),ae=Ne}}let ce=R.createElement(Ue,null,ae);return x?ce=x(ce,{index:Ie,active:Jt,item:te,components:{Icon:Ue}}):Ee(Xe)&&(ce=Xe(ce,{index:Ie,...te})),ce},Gt=(X,F)=>{let te=X;return we&&F.item.content&&(te=R.createElement(nt,{destroyOnHidden:!0,title:F.item.content},X)),R.createElement(ct,{component:"Steps",disabled:F.item.disabled||!H,colorSource:a==="filled"?"color":null},te)},Yt=V==="panel"?X=>R.createElement(R.Fragment,null,X,R.createElement($t,{prefixCls:w})):void 0,Kt={[G("items-offset")]:`${b}`},Qt=y(P,`${w}-${a}`,{[`${w}-${V}`]:V!=="dot"?V:!1,[`${w}-rtl`]:D==="rtl",[`${w}-dot`]:me,[`${w}-ellipsis`]:N,[`${w}-max-count`]:At,[`${w}-with-progress`]:pe!==void 0,[`${w}-small`]:L==="small"},l,n,Z,Q);return R.createElement(ut,{..._,prefixCls:w,className:Qt,style:Kt,classNames:Ft,styles:jt,orientation:le,titlePlacement:Le,components:K,initial:0,current:Ot,items:_t,onChange:H?X=>{let F=Fe[X];H&&F&&F.originIndex>=0&&H($+F.originIndex)}:void 0,iconRender:Ut,itemRender:Gt,itemWrapperRender:Yt})},Wt=Co;var yo=e=>{let{componentCls:t,fontHeight:l,antCls:n,paddingXS:s}=e,[a,r]=h(n,"cmp-steps"),[p,m]=h(n,"timeline"),o=`${t}-item`;return{[`${t}-horizontal`]:{[a("title-vertical-row-gap")]:s,[p("content-height")]:W(l),alignItems:"stretch",[`&${t}-layout-alternate`]:{[o]:{[`${o}-wrapper`]:{[p("alternate-content-offset")]:`calc(${m("content-height")} + ${r("title-vertical-row-gap")} * 2 + ${r("icon-size-max")})`,height:`calc(${m("content-height")} * 2 + ${r("title-vertical-row-gap")} * 2 + ${r("icon-size-max")})`},[`${o}-icon`]:{position:"absolute"},[`${o}-icon, ${o}-rail`]:{position:"absolute",top:"50%",transform:"translateY(-50%)",margin:0},[`${o}-title, ${o}-subtitle, ${o}-content`]:{whiteSpace:"nowrap",maxWidth:"unset"},[`${o}-title`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},[`${o}-content`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-placement-start":{[`${o}-title`]:{bottom:m("alternate-content-offset")},[`${o}-content`]:{top:m("alternate-content-offset")}},"&-placement-end":{[`${o}-title`]:{top:m("alternate-content-offset")},[`${o}-content`]:{bottom:m("alternate-content-offset")}}}},[`&:not(${t}-layout-alternate)`]:{[`${o}-placement-end`]:{display:"flex",alignItems:"flex-end",[`${o}-wrapper`]:{flex:"auto",flexDirection:"column-reverse"},[`${o}-rail`]:{top:"auto",bottom:r("horizontal-rail-margin"),transform:"translateY(50%)"}}}}}},Mt=yo;var zo=e=>{let{componentCls:t,tailColor:l,fontHeight:n,dotSize:s,dotBg:a,dotBorderWidth:r,fontSize:p,lineHeight:m,colorText:o,tailWidth:c,colorPrimary:g,colorError:u,colorSuccess:d,colorTextDisabled:S,antCls:N}=e,v=`${t}-item`,[b,C]=h(N,"cmp-steps");return{[t]:[{...ue(e),[v]:{[b("title-horizontal-title-height")]:n,[b("vertical-rail-margin")]:"0px",[b("title-horizontal-rail-gap")]:"0px",[b("icon-dot-size-origin")]:C("icon-size-active"),[b("icon-dot-size-custom")]:s,[b("item-icon-dot-bg-color-origin")]:C("item-icon-dot-bg-color"),[b("item-icon-dot-bg-color-custom")]:a,[b("icon-size")]:C("icon-dot-size-custom",C("icon-dot-size-origin")),[`${v}-icon`]:{[b("dot-icon-border-width")]:r,[b("dot-icon-size")]:C("icon-size"),[b("item-icon-dot-bg-color")]:C("item-icon-dot-bg-color-custom",C("item-icon-dot-bg-color-origin"))},[`${v}-title`]:{fontSize:p,lineHeight:m},[`${v}-content`]:{color:o},[`${v}-rail`]:{[b("item-solid-line-color")]:l,[b("rail-size")]:c}}},{[v]:{[b("item-process-rail-line-style")]:"dotted"},[`${v}${v}${v}-color`]:{"&-blue":{[b("item-icon-dot-color")]:g},"&-red":{[b("item-icon-dot-color")]:u},"&-green":{[b("item-icon-dot-color")]:d},"&-gray":{[b("item-icon-dot-color")]:S}}}]}},wo=e=>{let{calc:t,componentCls:l,itemPaddingBottom:n,margin:s,antCls:a}=e,r=`${l}-item`,[,p]=h(a,"cmp-steps"),[m,o]=h(a,"timeline");return{[`${l}:not(${l}-horizontal)`]:{[m("head-span")]:"12",[m("head-span-ptg")]:`calc(${o("head-span")} / 24 * 100%)`,[`&${l}-layout-alternate`]:{[r]:{[m("alternate-gap")]:t(s).mul(2).add(p("dot-icon-size")).equal(),minHeight:"auto",paddingBottom:n,[`${r}-icon, ${r}-rail`]:{position:"absolute",insetInlineStart:o("head-span-ptg")},[`${r}-icon`]:{marginInlineStart:`calc(${p("icon-size")} / -2)`},[`${r}-section`]:{display:"flex",flexWrap:"nowrap",gap:o("alternate-gap")},[`${r}-header`]:{textAlign:"end",flexDirection:"column",alignItems:"stretch",flex:`1 1 calc(${o("head-span-ptg")} - ${o("alternate-gap")} / 2)`},[`${r}-content`]:{textAlign:"start",flex:`1 1 calc(100% - ${o("head-span-ptg")} - ${o("alternate-gap")} / 2)`},"&-placement-end":{[`${r}-header`]:{textAlign:"start",order:1},[`${r}-content`]:{textAlign:"end"},[`${r}-icon, ${r}-rail`]:{insetInlineStart:`calc(100% - ${o("head-span-ptg")})`}}}},[`&:not(${l}-layout-alternate)`]:{[`${r}-placement-end`]:{textAlign:"end",[`${r}-icon`]:{order:1},[`${r}-rail`]:{insetInlineStart:"auto",insetInlineEnd:`calc(${p("icon-size")} / 2)`,marginInlineEnd:`calc(${p("rail-size")} / -2)`}}}}}},Ro=e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.lineWidthBold,dotBg:void 0,dotSize:void 0,itemPaddingBottom:e.padding*1.25}),Ht=$e("Timeline",e=>{let t=fe(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[zo(t),wo(t),Mt(t)]},Ro);var re=A(O());var Io=(e,t,l,n,s,a,r)=>{let p=`${t}-item`,[m]=h(e,"cmp-steps"),o=re.useMemo(()=>Array.isArray(n)?n:Ze(s).map(c=>({...c.props})),[n,s]);return re.useMemo(()=>{let c=o.map((g,u)=>{let{label:d,children:S,title:N,content:v,color:b,className:C,style:f,icon:i,dot:$,placement:H,position:x,loading:_,...q}=g,I=f,z=C;b&&(["blue","red","green","gray"].includes(b)?z=y(C,`${p}-color-${b}`):I={[m("item-icon-dot-color")]:b,...f});let D=H??x??(l==="alternate"?u%2===0?"start":"end":l);z=y(z,`${p}-placement-${D}`);let P=i??$;return!P&&_&&(P=re.createElement(Te,null)),{...q,title:N??d,content:v??S,style:I,className:z,icon:P,status:_?"process":"finish"}});return a&&c.push({icon:r??re.createElement(Te,null),content:a,status:"process"}),c},[o,a,l,p,m,r])},Dt=Io;var No={rootComponent:"ol",itemComponent:"li"},Bt=e=>{let{getPrefixCls:t,direction:l,className:n,style:s,classNames:a,styles:r}=ge("timeline"),{prefixCls:p,className:m,style:o,classNames:c,styles:g,variant:u="outlined",mode:d,orientation:S="vertical",titleSpan:N,items:v,children:b,reverse:C,pending:f,pendingDot:i,...$}=e,H=t(),x=t("timeline",p),[_,q]=Ht(x),[I]=h(H,"timeline"),z=j.useMemo(()=>({item:`${x}-item`,itemTitle:`${x}-item-title`,itemIcon:`${x}-item-icon`,itemContent:`${x}-item-content`,itemRail:`${x}-item-rail`,itemWrapper:`${x}-item-wrapper`,itemSection:`${x}-item-section`,itemHeader:`${x}-item-header`}),[x]),D=j.useMemo(()=>d==="left"?"start":d==="right"?"end":["alternate","start","end"].includes(d)?d:"start",[d]),P=Dt(H,x,D,v,b,f,i),E=j.useMemo(()=>C?ke(P).reverse():P,[C,P]),B={...e,variant:u,mode:D,orientation:S,items:E},T=oe(s),K=oe(o),[U,w]=de([z,a,c],[r,T,g,K],{props:B}),J=j.useMemo(()=>({railFollowPrevStatus:C}),[C]),Z=j.useMemo(()=>D==="alternate"||S==="vertical"&&E.some(G=>G.title),[E,D,S]),Q={};return Qe(N)&&D!=="alternate"&&(et(N)?Q[I("head-span")]=N:Q[I("head-span-ptg")]=N),j.createElement(be.Provider,{value:No},j.createElement(se.Provider,{value:J},j.createElement(Wt,{...$,className:y(x,n,m,_,q,{[`${x}-${S}`]:S==="horizontal",[`${x}-layout-alternate`]:Z,[`${x}-rtl`]:l==="rtl"}),style:Q,classNames:U,styles:w,variant:u,orientation:S,type:"dot",items:E,current:E.length-1})))};Bt.Item=()=>{};var Vt=Bt;var Yn=Vt;export{Yn as a};
|
|
1
|
+
import{shared41_e as lt}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared20_j as nt}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared132_a as st}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared24_a as rt}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared16_b as at,shared16_c as ct}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared15_a as it}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared58_a as Ke}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared17_a as Te}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared4_I as Qe,shared4_Ja as fe,shared4_M as Je,shared4_O as Ze,shared4_Z as ke,shared4__ as et,shared4_a as y,shared4_ba as Ee,shared4_bb as $e,shared4_eb as h,shared4_fa as oe,shared4_ha as de,shared4_na as ge,shared4_qa as W,shared4_ua as tt,shared4_va as ue,shared4_ya as ot}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared5_a as O}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared6_c as A}from"/assets/modules/39279604dcdac7c7/runtime.js";var j=A(O());var k=A(O());var M=A(O());var mt=A(O());function Pe(e){let{prefixCls:t,className:l,style:n,status:s}=e,a=`${t}-rail`;return mt.createElement("div",{className:y(a,`${a}-${s}`,l),style:n})}var pt=A(O()),se=pt.createContext({});var Y=A(O());var dt=A(O()),ie=dt.createContext(null);function We(){return We=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e},We.apply(this,arguments)}var Me=Y.createContext({}),Zt=Y.forwardRef((e,t)=>{let{className:l,style:n,children:s,...a}=e,{prefixCls:r,classNames:p,styles:m}=Y.useContext(ie),{className:o,style:c}=Y.useContext(Me),g=`${r}-item`;return Y.createElement("div",We({},Je(a,!1),{ref:t,className:y(`${g}-icon`,p.itemIcon,o,l),style:{...m.itemIcon,...c,...n}}),s)}),He=Zt;function Be(){return Be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e},Be.apply(this,arguments)}function De(e){return e!=null}function he(e){let{prefixCls:t,classNames:l,styles:n,data:s,last:a,nextStatus:r,active:p,index:m,itemRender:o,iconRender:c,itemWrapperRender:g,onClick:u}=e,d=`${t}-item`,{railFollowPrevStatus:S}=M.useContext(se),{ItemComponent:N}=M.useContext(ie),{onClick:v,title:b,subTitle:C,content:f,description:i,disabled:$,icon:H,status:x,className:_,style:q,classNames:I={},styles:z={},...D}=s,P=f??i,E={item:{...s,content:P},index:m,active:p},B=!!(u||v)&&!$,T={};B&&(T.role="button",T.tabIndex=0,T.onClick=L=>{v?.(L),u(m)},T.onKeyDown=L=>{(L.key==="Enter"||L.key===" ")&&(L.preventDefault(),L.currentTarget.click())});let K=x||"wait",U=De(b),w=De(C),J=y(d,`${d}-${K}`,{[`${d}-custom`]:H,[`${d}-active`]:p,[`${d}-disabled`]:$===!0,[`${d}-empty-header`]:!U&&!w},_,l.item,I.root),Z=M.createElement(He,null);c&&(Z=c(Z,{...E,components:{Icon:He}}));let Q=M.createElement("div",{className:y(`${d}-wrapper`,l.itemWrapper,I.wrapper),style:{...n.itemWrapper,...z.wrapper}},M.createElement(Me.Provider,{value:{className:I.icon,style:z.icon}},Z),M.createElement("div",{className:y(`${d}-section`,l.itemSection,I.section),style:{...n.itemSection,...z.section}},M.createElement("div",{className:y(`${d}-header`,l.itemHeader,I.header),style:{...n.itemHeader,...z.header}},U&&M.createElement("div",{className:y(`${d}-title`,l.itemTitle,I.title),style:{...n.itemTitle,...z.title}},b),w&&M.createElement("div",{title:typeof C=="string"?C:void 0,className:y(`${d}-subtitle`,l.itemSubtitle,I.subtitle),style:{...n.itemSubtitle,...z.subtitle}},C),!a&&M.createElement(Pe,{prefixCls:d,className:y(l.itemRail,I.rail),style:{...n.itemRail,...z.rail},status:S?x:r})),De(P)&&M.createElement("div",{className:y(`${d}-content`,l.itemContent,I.content),style:{...n.itemContent,...z.content}},P))),G=M.createElement(N,Be({},D,T,{className:J,style:{...n.item,...z.root,...q}}),g?g(Q):Q);return o&&(G=o(G,E)||null),G}function Ve(){return Ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e},Ve.apply(this,arguments)}var gt={};function Ae(e){let{prefixCls:t="rc-steps",style:l,className:n,classNames:s=gt,styles:a=gt,rootClassName:r,orientation:p,titlePlacement:m,components:o,status:c="process",current:g=0,initial:u=0,onChange:d,items:S,iconRender:N,itemRender:v,itemWrapperRender:b,...C}=e,f=p==="vertical",i=f?"vertical":"horizontal",$=!f&&m==="vertical"?"vertical":"horizontal",H=y(t,`${t}-${i}`,`${t}-title-${$}`,r,n,s.root),x=k.default.useMemo(()=>(S||[]).filter(Boolean),[S]),_=k.default.useMemo(()=>x.map(({status:E},B)=>{let T=u+B;return E||(T===g?c:T<g?"finish":"wait")}),[x,c,g,u]),q=E=>{d&&g!==E&&d(E)},{root:I="div",item:z="div"}=o||{},D=k.default.useMemo(()=>({prefixCls:t,classNames:s,styles:a,ItemComponent:z}),[t,s,a,z]),P=(E,B)=>{let T=u+B,K=_[B],U=_[B+1],w={...E,status:K};return k.default.createElement(he,{key:T,prefixCls:t,classNames:s,styles:a,data:w,nextStatus:U,active:T===g,index:T,last:x.length-1===B,iconRender:N,itemRender:v,itemWrapperRender:b,onClick:d&&q})};return k.default.createElement(I,Ve({className:H,style:{...l,...a?.root}},C),k.default.createElement(ie.Provider,{value:D},x.map(P)))}var ut=Ae;var R=A(O());var ft=A(O()),be=ft.createContext(null);var Oe=A(O()),kt=e=>{let{prefixCls:t}=e;return Oe.createElement("svg",{"aria-hidden":!0,className:`${t}-panel-arrow`,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},Oe.createElement("path",{d:"M 0 0 L 100 50 L 0 100"}))},$t=kt;var ee=A(O());var eo=e=>{let{prefixCls:t,rootPrefixCls:l,children:n,percent:s}=e,a=`${t}-item-progress-icon`,r=`${a}-circle`,[,p]=h(l,"cmp-steps"),m=`calc(${p("progress-radius")} * 2 * ${Math.PI*s/100}) 9999`;return ee.createElement(ee.Fragment,null,ee.createElement("svg",{className:`${a}-svg`,viewBox:"0 0 100 100",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg",role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":s},ee.createElement("circle",{className:y(r,`${r}-rail`)}),ee.createElement("circle",{className:y(r,`${r}-ptg`),strokeDasharray:m,transform:"rotate(-90 50 50)"})),n)},ht=eo;var to=e=>{let{componentCls:t,antCls:l}=e,n=`${t}-item`,[s,a]=h(l,"cmp-steps");return{[`${t}-horizontal`]:{[`> ${n}`]:{flex:"1 1 auto",minWidth:e.iconSize,[`${n}-rail`]:{[s("horizontal-rail-margin")]:`calc(${a("icon-size-max")} / 2 - ${a("rail-size")} / 2 + ${a("item-wrapper-padding-top")})`,position:"static",marginTop:a("horizontal-rail-margin"),width:"auto",borderBlockStartWidth:a("rail-size"),flex:1,minWidth:0,alignSelf:"flex-start"}}}}},bt=to;var oo=e=>{let{componentCls:t,customIconFontSize:l,motionDurationSlow:n,iconSize:s,lineWidth:a,lineType:r,antCls:p}=e,m=`${t}-item`,[o,c]=h(p,"cmp-steps");return{[t]:{[o("icon-size")]:s,[o("icon-border-width")]:a,[`${m}-icon`]:{width:c("icon-size"),height:c("icon-size"),margin:0,flex:"none",display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:c("icon-size"),textAlign:"center",borderRadius:c("icon-size"),border:`${c("icon-border-width")} ${r} transparent`,transition:["background-color","border","color","inset","transform"].map(g=>`${g} ${n}`).join(", "),zIndex:1},[`${m}-custom ${m}-icon`]:{background:"none",border:0,fontSize:l}}}},vt=oo;var io=e=>{let{componentCls:t,inlineDotSize:l,paddingXS:n,lineWidth:s,antCls:a,calc:r}=e,p=r(n).add(s).equal(),m=`${t}-item`,[o,c]=h(a,"cmp-steps");return{[`${t}-inline`]:{[o("items-offset")]:"0",[o("item-wrapper-padding-top")]:p,display:"inline-flex","&:before":{content:'""',flex:c("items-offset")},[m]:{[o("title-vertical-row-gap")]:n,[o("icon-size")]:l,[o("icon-size-active")]:l,[o("title-font-size")]:e.fontSizeSM,[o("title-line-height")]:e.lineHeightSM,[o("item-title-color")]:e.colorTextSecondary,[o("subtitle-font-size")]:e.fontSizeSM,[o("subtitle-line-height")]:e.lineHeightSM,[o("item-subtitle-color")]:e.colorTextQuaternary,[o("rail-size")]:e.lineWidth,[o("title-horizontal-rail-gap")]:"0px",flex:1,"&-wrapper":{paddingInline:e.paddingXXS,marginInline:e.calc(e.marginXXS).div(2).equal(),borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover}},"&-icon":{[`${m}-icon-dot`]:{"&:after":{display:"none"}}},"&-title":{fontWeight:"normal",whiteSpace:"nowrap"},"&-content":{display:"none"}}}}},xt=io;function no(e){return(e||"--ant-not-exist").replace(/var\((.*)\)/,"$1")}var ne=(e,t,l)=>{let{calc:n,componentCls:s,descriptionMaxWidth:a,antCls:r}=e,p=`${s}-item`,[,m]=h(r,"cmp-steps");return{[`@container style(${no(a)})`]:[{[`${p}-icon`]:{marginInlineStart:n(a).sub(m("icon-size")).div(2).equal()},[`${p}-rail`]:{width:"auto",insetInlineStart:n(a).add(m("icon-size")).div(2).add(t).equal(),insetInlineEnd:n(a).sub(m("icon-size")).div(2).sub(t).mul(-1).equal()}},l]}};var ro=e=>{let{componentCls:t,descriptionMaxWidth:l,marginXS:n,fontHeightLG:s,margin:a,paddingSM:r,marginXXS:p,antCls:m,calc:o}=e,c=`${t}-item`,[g,u]=h(m,"cmp-steps");return{[t]:{[g("icon-size-max")]:`max(${u("icon-size")}, ${u("icon-size-active",u("icon-size"))})`,[`${c}-icon`]:{marginBlockStart:`calc((${u("heading-height")} - ${u("icon-size")}) / 2)`}},[`${t}-title-horizontal`]:{[g("title-horizontal-item-margin")]:a,[g("title-horizontal-rail-margin")]:a,[g("title-horizontal-title-height")]:s,[g("heading-height")]:`max(${u("icon-size")}, ${u("title-horizontal-title-height")})`,[`&${t}-horizontal, &${t}-horizontal-alternate`]:{[`${c}:not(:first-child)`]:{marginInlineStart:u("title-horizontal-item-margin")},[`${c}:last-child`]:{flex:"0 1 auto"},[`${c}-wrapper`]:{columnGap:e.marginXS}},[`&${t}-vertical`]:{[`${c}-wrapper`]:{columnGap:e.margin},[`${c}-empty-header`]:{[`${c}-header`]:{minHeight:"auto"},[`${c}-content`]:{marginTop:o(u("heading-height")).sub(e.fontHeight).div(2).equal()}}},[`${c}-section`]:{flex:1,minWidth:0},[`${c}-header`]:{minHeight:u("heading-height")},[`${c}-title`]:{flex:"0 1 auto"},[`${c}-content`]:{maxWidth:l},[`${c}-subtitle`]:{flex:"0 9999 auto"},[`&${t}-horizontal ${c}-rail`]:{[g("item-wrapper-padding-top")]:"0px",flex:"1 1 0%",marginInlineStart:u("title-horizontal-rail-margin")}},[`${t}-title-vertical`]:{[g("title-vertical-row-gap")]:r,[g("title-horizontal-rail-gap")]:p,[g("heading-height")]:u("icon-size-max"),[`> ${c}`]:{flex:"1 1 0%",[`${c}-wrapper`]:{flexDirection:"column",rowGap:u("title-vertical-row-gap"),alignItems:"center"},[`${c}-section`]:{alignSelf:"stretch"},[`${c}-header`]:{flexDirection:"column",alignItems:"center"},[`${c}-title, ${c}-subtitle, ${c}-content`]:{textAlign:"center",maxWidth:"100%"},[`${c}-subtitle`]:{margin:0},[`${c}-rail`]:{position:"absolute",top:0,width:`calc(100% - ${u("icon-size")} - ${u("title-horizontal-rail-gap")} * 2)`,insetInlineStart:`calc(50% + ${u("icon-size")} / 2 + ${u("title-horizontal-rail-gap")})`}},...ne(e,n,{[`${c}:last-child`]:{flex:"none"},[`${c}-icon`]:{alignSelf:"flex-start"},[`${c}-section`]:{width:l}})}}},St=ro;var lo=e=>{let{componentCls:t}=e,l=`${t}-item`;return{[`${t}-max-count`]:{[`${l}-ellipsis`]:{[`${l}-title, ${l}-subtitle, ${l}-content`]:{color:e.colorTextDescription}}}}},Ct=lo;var ao=e=>{let{componentCls:t,fontSizeIcon:l,navContentMaxWidth:n,navArrowColor:s,colorPrimary:a,motionDurationSlow:r,antCls:p,calc:m}=e,o=`${t}-item`,c=a,[g,u]=h(p,"cmp-steps");return{[`${t}${t}-navigation`]:{[o.repeat(4)]:{display:"flex",justifyContent:"center",position:"relative",flex:1,marginInlineStart:0,[`${o}-wrapper`]:{paddingBlock:e.paddingSM},[`${o}-section`]:{maxWidth:n},[`${o}-rail`]:{display:"none"},"&:before":{position:"absolute",display:"block",backgroundColor:c,transition:`all ${r}`,transitionTimingFunction:"ease-out",content:'""'},"&:not(:last-child):after":{position:"absolute",display:"block",borderTop:`${W(e.lineWidth)} ${e.lineType} ${s}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${W(e.lineWidth)} ${e.lineType} ${s}`,content:'""'},[`&${o}-active`]:{[g("item-content-active-color")]:u("item-content-color"),[g("item-icon-active-bg-color")]:u("item-icon-bg-color"),[g("item-icon-active-border-color")]:u("item-icon-border-color"),[g("item-icon-active-text-color")]:u("item-icon-text-color")}},[`&${t}-horizontal`]:{[o]:{"&:before":{bottom:0,insetInlineStart:"50%",width:0,height:e.lineWidthBold},[`&${o}-active:before`]:{insetInlineStart:0,width:"100%"},"&:not(:last-child):after":{top:"50%",insetInlineStart:m(l).div(2).mul(-1).add("100%").equal(),width:l,height:l,transform:"translateY(-50%) rotate(45deg)"}}},[`&${t}-vertical`]:{[o.repeat(4)]:{[`${o}-content`]:{padding:0},"&:before":{insetInlineEnd:0,top:"50%",width:e.lineWidthBold,height:0},[`&${o}-active::before`]:{top:0,height:"100%"},"&:not(:last-child):after":{left:{_skip_check_:!0,value:"50%"},top:"100%",width:m(l).div(3).mul(2).equal(),height:m(l).div(3).mul(2).equal(),transform:"translateY(-50%) translateX(-50%) rotate(135deg)"}}}}}},yt=ao;var co=e=>{let{componentCls:t,lineWidthBold:l,borderRadius:n,borderRadiusSM:s,motionDurationMid:a,paddingXS:r,lineType:p,paddingSM:m,antCls:o,calc:c}=e,g=`${t}-item`,[u,d]=h(o,"cmp-steps"),S=`${W(l)} ${p} ${d("panel-border-color")}`;return{[`${t}${t}-panel`]:[{[`${g}-rail`]:{display:"none"},[`&${t}-horizontal`]:{alignItems:"stretch",[g]:{flex:1,margin:0}}},{"&":{[u("panel-padding")]:m,[u("item-border-radius")]:n,[g]:{[u("panel-bg-color")]:d("item-icon-bg-color"),[u("panel-border-color")]:d("item-icon-border-color"),[u("panel-active-bg-color")]:d("item-icon-active-bg-color"),[u("panel-active-border-color")]:d("item-icon-active-border-color"),[u("panel-title-height")]:`calc(${d("title-font-size")} * ${d("title-line-height")})`,[u("item-base-height")]:c(d("panel-padding")).mul(2).add(d("icon-size")).add(d("panel-title-height")).equal(),[u("item-base-width")]:`calc(${d("item-base-height")} * 0.7071)`,transition:`background-color ${a}`}},[`${g}-icon`]:{display:"none"},[`${g}-header`]:{minHeight:"auto"},[`${t}-panel-arrow`]:{position:"absolute",top:c(l).mul(-1).equal(),insetInlineStart:"100%",zIndex:1,height:c(l).mul(2).add("100%").equal(),width:d("item-base-width"),overflow:"visible",strokeLinecap:"round",path:{fill:d("panel-bg-color"),stroke:d("panel-border-color"),strokeWidth:l,vectorEffect:"non-scaling-stroke",transition:`fill ${a}`}},[`${g}:last-child ${t}-panel-arrow`]:{display:"none"},[g]:{padding:d("panel-padding"),background:d("panel-bg-color"),position:"relative",borderBlock:S,"&:not(:first-child)":{paddingInlineStart:`calc(${d("panel-padding")} + ${d("item-base-width")})`},"&:first-child":{borderInlineStart:S,borderStartStartRadius:d("item-border-radius"),borderEndStartRadius:d("item-border-radius")},"&:last-child":{borderInlineEnd:S,borderStartEndRadius:d("item-border-radius"),borderEndEndRadius:d("item-border-radius")},"&-active":{background:d("panel-active-bg-color"),borderColor:d("panel-active-border-color"),[`${t}-panel-arrow`]:{path:{fill:d("panel-active-bg-color"),stroke:d("panel-active-border-color")}},[`${g}-title, ${g}-subtitle, ${g}-content`]:{color:d("item-icon-active-text-color")}}}},{[`&${t}-small`]:{[u("panel-padding")]:r,[u("item-border-radius")]:s}},{[`&${t}-filled`]:{[g]:{"&:not(:first-child)":{clipPath:`polygon(${[`${W(l)} 0`,`calc(100% + ${d("item-base-width")}) 0`,`calc(100% + ${d("item-base-width")}) 100%`,`${W(l)} 100%`,`calc(${d("item-base-width")} + ${W(l)}) 50%`].join(",")})`}}}},{[`&${t}-outlined`]:{[`${t}-panel-arrow`]:{top:c(l).div(2).mul(-1).equal(),height:c(l).add("100%").equal()}}}]}},zt=co;var so=e=>{let{calc:t,antCls:l,componentCls:n,lineWidthBold:s,motionDurationSlow:a}=e,r=`${n}-item`,[p,m]=h(l,"cmp-steps"),o=t(s).add(s).equal();return{[`${n}${n}-with-progress`]:{[p("item-wrapper-padding-top")]:o,[`${r}${r}-process`]:{[`${r}-icon`]:{position:"relative"}},[`${r}-progress-icon`]:{"&-svg":{[p("svg-size")]:t(o).mul(2).add(m("icon-size")).equal(),[p("icon-size-ptg-unitless")]:`calc(100 / tan(atan2(${m("svg-size")}, 1px)))`,fontSize:m("svg-size"),lineHeight:m("icon-size-ptg-unitless"),position:"absolute",inset:t(o).mul(-1).equal(),width:"auto",height:"auto"},"&-circle":{lineHeight:m("icon-size-ptg-unitless"),strokeWidth:t(m("icon-size-ptg-unitless")).mul(s).equal(),[p("progress-radius")]:t(m("svg-size")).sub(s).mul(m("icon-size-ptg-unitless")).div(2).equal(),r:m("progress-radius"),fill:"none",cx:50,cy:50,transition:`all ${a} ease-in-out`,"&-rail":{stroke:e.colorSplit},"&-ptg":{stroke:e.colorPrimary}}}}}},wt=so;var mo=e=>{let{componentCls:t,iconSize:l,dotSize:n,dotCurrentSize:s,marginXXS:a,lineWidthBold:r,fontSizeSM:p,antCls:m}=e,o=`${t}-item`,[c,g]=h(m,"cmp-steps");return{[`${t}${t}-dot`]:{[c("icon-size-active")]:s,[c("icon-size")]:n,[c("dot-icon-size")]:n,[c("dot-icon-border-width")]:r,[c("rail-size")]:r,[c("icon-border-width")]:r,[`${o}-custom ${o}-icon`]:{fontSize:p},[`${o}-icon`]:{position:"relative","&:after":{content:'""',width:l,height:l,display:"block",position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"}},[`${o}-active ${o}-icon`]:{[c("icon-size")]:g("icon-size-active")},[`&${t}-horizontal`]:{[`&, &${t}-small`]:ne(e,a)}}}},Rt=mo;var po=e=>{let{componentCls:t,lineWidthBold:l,antCls:n}=e,s=`${t}-item`,[,a]=h(n,"cmp-steps");return{[`${t}${t}-rtl`]:{direction:"rtl",[`&${t}-navigation${t}-horizontal`]:{[`${s}:after`]:{transform:"translateY(-50%) rotate(-45deg)"}},[`&${t}-panel`]:{[`${t}-panel-arrow`]:{transform:"scaleX(-1)"},[`&${t}-filled`]:{[s]:{"&:not(:first-child)":{clipPath:`polygon(${[`calc(0px - ${a("item-base-width")}) 0px`,`calc(100% - ${W(l)}) 0px`,`calc(100% - ${a("item-base-width")} - ${W(l)}) 50%`,`calc(100% - ${W(l)}) 100%`,`calc(0px - ${a("item-base-width")}) 100%`].join(",")})`}}}}}}},It=po;var go=e=>{let{componentCls:t,iconSizeSM:l,fontSize:n,lineHeight:s,marginXS:a,fontHeight:r,marginSM:p,paddingXS:m,antCls:o}=e,[c]=h(o,"cmp-steps");return{[`${t}${t}-small`]:{[c("icon-size")]:l,[c("title-horizontal-item-margin")]:p,[c("title-vertical-row-gap")]:m,[c("title-font-size")]:n,[c("title-line-height")]:s,[c("title-horizontal-rail-margin")]:a,[c("title-horizontal-title-height")]:r,[`&${t}-horizontal${t}-title-vertical`]:ne(e,a)}}},Nt=go;var ve="wait",xe="process",Se="finish",Ce="error",uo=e=>{let{componentCls:t,colorTextDisabled:l,colorTextLightSolid:n,colorPrimary:s,colorTextLabel:a,colorError:r,colorErrorHover:p,colorErrorBgFilledHover:m,colorFillTertiary:o,colorErrorBg:c,colorPrimaryBgHover:g,colorPrimaryBg:u,colorText:d,colorTextDescription:S,colorBgContainer:N,colorPrimaryHover:v,lineType:b,antCls:C}=e,f=`${t}-item`,[i,$]=h(C,"cmp-steps");return{[t]:[{[f]:{[i("item-solid-line-color")]:"#000",[i("item-title-color")]:"#000",[i("item-content-color")]:"#000",[i("item-subtitle-color")]:$("item-content-color"),[i("item-icon-custom-color")]:"#000",[i("item-icon-bg-color")]:"#000",[i("item-icon-border-color")]:"#000",[i("item-icon-text-color")]:"#fff",[i("item-icon-dot-color")]:"#000",[i("item-icon-dot-bg-color")]:$("item-icon-dot-color"),[i("item-icon-dot-border-color")]:$("item-icon-dot-color"),[i("item-text-hover-color")]:"#000",[i("item-icon-bg-hover-color")]:$("item-icon-bg-color"),[i("item-icon-border-hover-color")]:$("item-icon-border-color"),[i("item-icon-text-hover-color")]:$("item-icon-text-color"),[i("item-content-active-color")]:$("item-content-color"),[i("item-icon-active-bg-color")]:$("item-icon-bg-color"),[i("item-icon-active-border-color")]:$("item-icon-border-color"),[i("item-icon-active-text-color")]:$("item-icon-text-color"),[i("item-process-rail-line-style")]:b},[`${f}-rail`]:{borderColor:$("item-solid-line-color")},[`${f}-custom ${f}-icon`]:{color:$("item-icon-custom-color")},[`${f}-title`]:{color:$("item-title-color")},[`${f}-subtitle`]:{color:$("item-subtitle-color")},[`${f}-content`]:{color:$("item-content-color")},[`${f}-active ${f}-icon`]:{},[`${f}-active ${f}-content`]:{color:$("item-content-active-color")},[`${f}[role='button']:not(${f}-active):hover`]:{[`${f}-title, ${f}-content`]:{color:$("item-text-hover-color")}},[`&:not(${t}-dot)`]:{[`${f}:not(${f}-custom)`]:{[`${f}-icon`]:{background:$("item-icon-bg-color"),borderColor:$("item-icon-border-color"),color:$("item-icon-text-color")},[`&[role='button']:not(${f}-active):hover`]:{[`${f}-icon`]:{background:$("item-icon-bg-hover-color"),borderColor:$("item-icon-border-hover-color"),color:$("item-icon-text-hover-color")}},[`&${f}-active`]:{[`${f}-icon`]:{background:$("item-icon-active-bg-color"),borderColor:$("item-icon-active-border-color"),color:$("item-icon-active-text-color")}}}},[`&${t}-dot`]:{[`${f}-icon`]:{background:$("item-icon-dot-bg-color"),borderColor:$("item-icon-dot-border-color"),color:$("item-icon-dot-color"),[`&${f}-icon-dot-custom`]:{background:"transparent",border:"none"}}}},{[`${f}-${ve}`]:{[i("item-icon-custom-color")]:l,[i("item-title-color")]:S,[i("item-content-color")]:S,[i("item-content-active-color")]:d,[i("item-text-hover-color")]:v},[`${f}-rail-${ve}`]:{[i("item-solid-line-color")]:l},[`${f}-${xe}`]:{[i("item-icon-custom-color")]:s,[i("item-title-color")]:d,[i("item-content-color")]:S,[i("item-content-active-color")]:d,[i("item-text-hover-color")]:v},[`${f}-rail-${xe}`]:{[i("item-solid-line-color")]:s,[i("rail-line-style")]:$("item-process-rail-line-style")},[`${f}-${Se}`]:{[i("item-icon-custom-color")]:s,[i("item-title-color")]:d,[i("item-content-color")]:S,[i("item-content-active-color")]:d,[i("item-text-hover-color")]:v},[`${f}-rail-${Se}`]:{[i("item-solid-line-color")]:s},[`${f}-${Ce}`]:{[i("item-icon-custom-color")]:r,[i("item-title-color")]:r,[i("item-content-color")]:r,[i("item-content-active-color")]:r,[i("item-text-hover-color")]:p},[`${f}-rail-${Ce}`]:{[i("item-solid-line-color")]:r}},{[`&${t}-filled`]:{[f]:{[i("item-icon-dot-border-color")]:"transparent"},[`${f}-${ve}`]:{[i("item-icon-bg-color")]:o,[i("item-icon-border-color")]:"transparent",[i("item-icon-text-color")]:a,[i("item-icon-dot-bg-color")]:l,[i("item-icon-bg-hover-color")]:g,[i("item-icon-border-hover-color")]:"transparent",[i("item-icon-text-hover-color")]:s,[i("item-icon-active-bg-color")]:s,[i("item-icon-active-border-color")]:"transparent",[i("item-icon-active-text-color")]:n},[`${f}-${xe}, ${f}-${Se}`]:{[i("item-icon-bg-color")]:u,[i("item-icon-border-color")]:"transparent",[i("item-icon-text-color")]:s,[i("item-icon-dot-bg-color")]:s,[i("item-icon-bg-hover-color")]:g,[i("item-icon-border-hover-color")]:"transparent",[i("item-icon-text-hover-color")]:s,[i("item-icon-active-bg-color")]:s,[i("item-icon-active-border-color")]:"transparent",[i("item-icon-active-text-color")]:n},[`${f}-${Ce}`]:{[i("item-icon-bg-color")]:c,[i("item-icon-border-color")]:"transparent",[i("item-icon-text-color")]:r,[i("item-icon-dot-bg-color")]:r,[i("item-icon-bg-hover-color")]:m,[i("item-icon-border-hover-color")]:"transparent",[i("item-icon-text-hover-color")]:r,[i("item-icon-active-bg-color")]:r,[i("item-icon-active-border-color")]:"transparent",[i("item-icon-active-text-color")]:n}}},{[`&${t}-outlined`]:{[f]:{[i("item-icon-dot-bg-color")]:"transparent"},[`${f}-${ve}`]:{[i("item-icon-bg-color")]:N,[i("item-icon-border-color")]:l,[i("item-icon-text-color")]:l,[i("item-icon-dot-color")]:l,[i("item-icon-bg-hover-color")]:"transparent",[i("item-icon-border-hover-color")]:v,[i("item-icon-text-hover-color")]:v,[i("item-icon-active-bg-color")]:o},[`${f}-${xe}, ${f}-${Se}`]:{[i("item-icon-bg-color")]:N,[i("item-icon-border-color")]:s,[i("item-icon-text-color")]:s,[i("item-icon-dot-color")]:s,[i("item-icon-bg-hover-color")]:"transparent",[i("item-icon-border-hover-color")]:v,[i("item-icon-text-hover-color")]:v,[i("item-icon-active-bg-color")]:u},[`${f}-${Ce}`]:{[i("item-icon-bg-color")]:N,[i("item-icon-border-color")]:r,[i("item-icon-text-color")]:r,[i("item-icon-dot-color")]:r,[i("item-icon-bg-hover-color")]:"transparent",[i("item-icon-border-hover-color")]:p,[i("item-icon-text-hover-color")]:p,[i("item-icon-active-bg-color")]:c}}}]}},Et=uo;var fo=e=>{let{componentCls:t,marginXXS:l,paddingSM:n,controlHeight:s,antCls:a,calc:r}=e,p=`${t}-item`,[m,o]=h(a,"cmp-steps");return{[`${t}-vertical`]:{[m("vertical-rail-margin")]:r(l).mul(1.5).equal(),flexDirection:"column",alignItems:"stretch",[`> ${p}`]:{minHeight:r(s).mul(1.5).equal(),paddingBottom:n,"&:last-child":{paddingBottom:0},[`${p}-icon`]:{marginInlineStart:`calc((${o("icon-size-max")} - ${o("icon-size")}) / 2)`},[`${p}-rail`]:{[m("rail-offset")]:r(o("heading-height")).sub(o("icon-size")).div(2).equal(),borderInlineStartWidth:o("rail-size"),position:"absolute",top:r(o("icon-size")).add(o("item-wrapper-padding-top")).add(o("rail-offset")).add(o("vertical-rail-margin")).equal(),insetInlineStart:r(o("icon-size-max")).div(2).equal(),bottom:r(o("vertical-rail-margin")).sub(o("rail-offset")).equal(),marginInlineStart:`calc(${o("rail-size")} / -2)`}}}}},Tt=fo;var $o=e=>{let{componentCls:t,antCls:l}=e,n=`${t}-item`,[s,a]=h(l,"cmp-steps");return{[t]:{[s("title-font-size")]:e.fontSizeLG,[s("title-line-height")]:e.lineHeightLG,[s("subtitle-font-size")]:e.fontSize,[s("subtitle-line-height")]:e.lineHeight,[s("item-wrapper-padding-top")]:"0px",[s("rail-size")]:e.lineWidth,[s("rail-line-style")]:e.lineType,...ue(e),display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[n]:{flex:"none",position:"relative"},[`${n}-wrapper`]:{display:"flex",flexWrap:"nowrap",paddingTop:a("item-wrapper-padding-top")},[`${n}-header`]:{display:"flex",flexWrap:"nowrap",alignItems:"center"},[`${n}-title`]:{color:e.colorText,fontSize:a("title-font-size"),lineHeight:a("title-line-height"),wordBreak:"break-word"},[`${n}-subtitle`]:{color:e.colorTextDescription,fontWeight:"normal",fontSize:a("subtitle-font-size"),lineHeight:a("subtitle-line-height"),marginInlineStart:e.marginXS,wordBreak:"break-word"},[`${n}-content`]:{color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word"},[`${n}-rail`]:{borderStyle:a("rail-line-style"),borderWidth:0},[`${n}-title, ${n}-subtitle, ${n}-content, ${n}-rail`]:{transition:`all ${e.motionDurationSlow}`},[`&${t}-ellipsis`]:{[`${n}-title, ${n}-subtitle, ${n}-content`]:tt},[`${n}[role='button']:focus-visible`]:ot(e),[`${n}[role='button']:not(${n}-active):hover`]:{cursor:"pointer"}}}},ho=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"unset",descriptionMaxWidth:void 0,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),Pt=$e("Steps",e=>{let t=fe(e,{inlineDotSize:6});return[$o(t),vt(t),Tt(t),bt(t),St(t),Nt(t),Rt(t),Et(t),yt(t),zt(t),xt(t),Ct(t),wt(t),It(t)]},ho);var ye=A(O());function bo(e,t){return{item:{...e,key:e.key??t},originIndex:t}}function vo(e,t,l,n,s){let a=e[l].key??l,r=e[n].key??n,m=e.slice(l+1,n).some(o=>o.status==="error")?"error":n-1<t?"finish":"wait";return{item:{key:`ellipsis-${a}-${r}`,title:"",icon:ye.createElement(st),status:m,disabled:!0,className:`${s}-item-ellipsis`},originIndex:-1}}function xo(e,t,l){let n=Math.min(Math.max(t,0),e-1),s=Math.min(l,e),a=new Set([0,n,e-1]);for(let r=1;a.size<s&&r<e;r+=1){let p=[n-r,n+r,r,e-1-r];for(let m of p){if(a.size>=s)break;m>=0&&m<e&&a.add(m)}}return Array.from(a).sort((r,p)=>r-p).flatMap((r,p,m)=>p>0&&r-m[p-1]>1?[null,r]:[r])}function _e(e,t,l,n,s){let a=n!==void 0&&n>=3&&e.length>n,r=t-l,p=ye.useMemo(()=>{if(!a)return e.map((c,g)=>({item:c,originIndex:g}));let o=xo(e.length,r,n);return o.map((c,g)=>c===null?vo(e,r,o[g-1],o[g+1],s):bo(e[c],c))},[a,r,e,n,s]),m=p.findIndex(o=>o.originIndex===r);return{canApplyMaxCount:a,displaySteps:p,mappedDisplayCurrent:m>=0?m:r,displayItems:p.map(o=>o.item)}}var So={itemIcon:at},Co=e=>{let{size:t,className:l,rootClassName:n,style:s,variant:a="filled",type:r,classNames:p,styles:m,direction:o,orientation:c,responsive:g=!0,progressDot:u,labelPlacement:d,titlePlacement:S,ellipsis:N,maxCount:v,offset:b=0,items:C,percent:f,current:i=0,initial:$=0,onChange:H,iconRender:x,..._}=e,q=R.useContext(be),I=ge("steps"),{getPrefixCls:z,direction:D,className:P,style:E}=I,B,T,K={};q?K={root:q.rootComponent,item:q.itemComponent}:{classNames:B,styles:T}=I;let U=z(),w=z("steps",e.prefixCls),J=`${w}-item-icon`,[Z,Q]=Pt(w),[G]=h(U,"cmp-steps"),L=it(t),qe=R.useMemo(()=>(C||[]).filter(Boolean),[C]),{xs:ze}=lt(g),V=R.useMemo(()=>r&&r!=="default"?r:u?"dot":r,[u,r]),we=V==="inline",me=V==="dot"||V==="inline",Xe=R.useMemo(()=>V==="dot"&&Ee(u)?u:void 0,[V,u]),le=R.useMemo(()=>{let X=c||o;return V==="panel"?"horizontal":g&&ze||X==="vertical"?"vertical":"horizontal"},[c,o,V,g,ze]),Le=R.useMemo(()=>me||le==="vertical"?le==="vertical"?"horizontal":"vertical":r==="navigation"?"horizontal":S||d||"horizontal",[me,d,le,S,r]),pe=we?void 0:f,{canApplyMaxCount:At,displaySteps:Fe,mappedDisplayCurrent:Ot,displayItems:_t}=_e(qe,i,$,v,w),qt={...e,variant:a,size:L,type:V,orientation:le,titlePlacement:Le,current:i,initial:$,percent:pe,responsive:g,offset:b,ellipsis:N,maxCount:v},Xt=oe(E),Lt=oe(s),[Ft,jt]=de([So,B,p],[T,Xt,m,Lt],{props:qt}),Ut=(X,F)=>{let{item:te,index:je,active:Jt,components:{Icon:Ue}}=F,Re=Fe[je]?.originIndex,Ie=Re!==void 0&&Re>=0?$+Re:je,{status:Ge,icon:Ye}=te,ae=null;if(me||Ye)ae=Ye;else switch(Ge){case"finish":ae=R.createElement(rt,{className:`${J}-finish`});break;case"error":ae=R.createElement(Ke,{className:`${J}-error`});break;default:{let Ne=R.createElement("span",{className:`${J}-number`},Ie+1);Ge==="process"&&pe!==void 0&&(Ne=R.createElement(ht,{prefixCls:w,rootPrefixCls:U,percent:pe},Ne)),ae=Ne}}let ce=R.createElement(Ue,null,ae);return x?ce=x(ce,{index:Ie,active:Jt,item:te,components:{Icon:Ue}}):Ee(Xe)&&(ce=Xe(ce,{index:Ie,...te})),ce},Gt=(X,F)=>{let te=X;return we&&F.item.content&&(te=R.createElement(nt,{destroyOnHidden:!0,title:F.item.content},X)),R.createElement(ct,{component:"Steps",disabled:F.item.disabled||!H,colorSource:a==="filled"?"color":null},te)},Yt=V==="panel"?X=>R.createElement(R.Fragment,null,X,R.createElement($t,{prefixCls:w})):void 0,Kt={[G("items-offset")]:`${b}`},Qt=y(P,`${w}-${a}`,{[`${w}-${V}`]:V!=="dot"?V:!1,[`${w}-rtl`]:D==="rtl",[`${w}-dot`]:me,[`${w}-ellipsis`]:N,[`${w}-max-count`]:At,[`${w}-with-progress`]:pe!==void 0,[`${w}-small`]:L==="small"},l,n,Z,Q);return R.createElement(ut,{..._,prefixCls:w,className:Qt,style:Kt,classNames:Ft,styles:jt,orientation:le,titlePlacement:Le,components:K,initial:0,current:Ot,items:_t,onChange:H?X=>{let F=Fe[X];H&&F&&F.originIndex>=0&&H($+F.originIndex)}:void 0,iconRender:Ut,itemRender:Gt,itemWrapperRender:Yt})},Wt=Co;var yo=e=>{let{componentCls:t,fontHeight:l,antCls:n,paddingXS:s}=e,[a,r]=h(n,"cmp-steps"),[p,m]=h(n,"timeline"),o=`${t}-item`;return{[`${t}-horizontal`]:{[a("title-vertical-row-gap")]:s,[p("content-height")]:W(l),alignItems:"stretch",[`&${t}-layout-alternate`]:{[o]:{[`${o}-wrapper`]:{[p("alternate-content-offset")]:`calc(${m("content-height")} + ${r("title-vertical-row-gap")} * 2 + ${r("icon-size-max")})`,height:`calc(${m("content-height")} * 2 + ${r("title-vertical-row-gap")} * 2 + ${r("icon-size-max")})`},[`${o}-icon`]:{position:"absolute"},[`${o}-icon, ${o}-rail`]:{position:"absolute",top:"50%",transform:"translateY(-50%)",margin:0},[`${o}-title, ${o}-subtitle, ${o}-content`]:{whiteSpace:"nowrap",maxWidth:"unset"},[`${o}-title`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},[`${o}-content`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-placement-start":{[`${o}-title`]:{bottom:m("alternate-content-offset")},[`${o}-content`]:{top:m("alternate-content-offset")}},"&-placement-end":{[`${o}-title`]:{top:m("alternate-content-offset")},[`${o}-content`]:{bottom:m("alternate-content-offset")}}}},[`&:not(${t}-layout-alternate)`]:{[`${o}-placement-end`]:{display:"flex",alignItems:"flex-end",[`${o}-wrapper`]:{flex:"auto",flexDirection:"column-reverse"},[`${o}-rail`]:{top:"auto",bottom:r("horizontal-rail-margin"),transform:"translateY(50%)"}}}}}},Mt=yo;var zo=e=>{let{componentCls:t,tailColor:l,fontHeight:n,dotSize:s,dotBg:a,dotBorderWidth:r,fontSize:p,lineHeight:m,colorText:o,tailWidth:c,colorPrimary:g,colorError:u,colorSuccess:d,colorTextDisabled:S,antCls:N}=e,v=`${t}-item`,[b,C]=h(N,"cmp-steps");return{[t]:[{...ue(e),[v]:{[b("title-horizontal-title-height")]:n,[b("vertical-rail-margin")]:"0px",[b("title-horizontal-rail-gap")]:"0px",[b("icon-dot-size-origin")]:C("icon-size-active"),[b("icon-dot-size-custom")]:s,[b("item-icon-dot-bg-color-origin")]:C("item-icon-dot-bg-color"),[b("item-icon-dot-bg-color-custom")]:a,[b("icon-size")]:C("icon-dot-size-custom",C("icon-dot-size-origin")),[`${v}-icon`]:{[b("dot-icon-border-width")]:r,[b("dot-icon-size")]:C("icon-size"),[b("item-icon-dot-bg-color")]:C("item-icon-dot-bg-color-custom",C("item-icon-dot-bg-color-origin"))},[`${v}-title`]:{fontSize:p,lineHeight:m},[`${v}-content`]:{color:o},[`${v}-rail`]:{[b("item-solid-line-color")]:l,[b("rail-size")]:c}}},{[v]:{[b("item-process-rail-line-style")]:"dotted"},[`${v}${v}${v}-color`]:{"&-blue":{[b("item-icon-dot-color")]:g},"&-red":{[b("item-icon-dot-color")]:u},"&-green":{[b("item-icon-dot-color")]:d},"&-gray":{[b("item-icon-dot-color")]:S}}}]}},wo=e=>{let{calc:t,componentCls:l,itemPaddingBottom:n,margin:s,antCls:a}=e,r=`${l}-item`,[,p]=h(a,"cmp-steps"),[m,o]=h(a,"timeline");return{[`${l}:not(${l}-horizontal)`]:{[m("head-span")]:"12",[m("head-span-ptg")]:`calc(${o("head-span")} / 24 * 100%)`,[`&${l}-layout-alternate`]:{[r]:{[m("alternate-gap")]:t(s).mul(2).add(p("dot-icon-size")).equal(),minHeight:"auto",paddingBottom:n,[`${r}-icon, ${r}-rail`]:{position:"absolute",insetInlineStart:o("head-span-ptg")},[`${r}-icon`]:{marginInlineStart:`calc(${p("icon-size")} / -2)`},[`${r}-section`]:{display:"flex",flexWrap:"nowrap",gap:o("alternate-gap")},[`${r}-header`]:{textAlign:"end",flexDirection:"column",alignItems:"stretch",flex:`1 1 calc(${o("head-span-ptg")} - ${o("alternate-gap")} / 2)`},[`${r}-content`]:{textAlign:"start",flex:`1 1 calc(100% - ${o("head-span-ptg")} - ${o("alternate-gap")} / 2)`},"&-placement-end":{[`${r}-header`]:{textAlign:"start",order:1},[`${r}-content`]:{textAlign:"end"},[`${r}-icon, ${r}-rail`]:{insetInlineStart:`calc(100% - ${o("head-span-ptg")})`}}}},[`&:not(${l}-layout-alternate)`]:{[`${r}-placement-end`]:{textAlign:"end",[`${r}-icon`]:{order:1},[`${r}-rail`]:{insetInlineStart:"auto",insetInlineEnd:`calc(${p("icon-size")} / 2)`,marginInlineEnd:`calc(${p("rail-size")} / -2)`}}}}}},Ro=e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.lineWidthBold,dotBg:void 0,dotSize:void 0,itemPaddingBottom:e.padding*1.25}),Ht=$e("Timeline",e=>{let t=fe(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[zo(t),wo(t),Mt(t)]},Ro);var re=A(O());var Io=(e,t,l,n,s,a,r)=>{let p=`${t}-item`,[m]=h(e,"cmp-steps"),o=re.useMemo(()=>Array.isArray(n)?n:Ze(s).map(c=>({...c.props})),[n,s]);return re.useMemo(()=>{let c=o.map((g,u)=>{let{label:d,children:S,title:N,content:v,color:b,className:C,style:f,icon:i,dot:$,placement:H,position:x,loading:_,...q}=g,I=f,z=C;b&&(["blue","red","green","gray"].includes(b)?z=y(C,`${p}-color-${b}`):I={[m("item-icon-dot-color")]:b,...f});let D=H??x??(l==="alternate"?u%2===0?"start":"end":l);z=y(z,`${p}-placement-${D}`);let P=i??$;return!P&&_&&(P=re.createElement(Te,null)),{...q,title:N??d,content:v??S,style:I,className:z,icon:P,status:_?"process":"finish"}});return a&&c.push({icon:r??re.createElement(Te,null),content:a,status:"process"}),c},[o,a,l,p,m,r])},Dt=Io;var No={rootComponent:"ol",itemComponent:"li"},Bt=e=>{let{getPrefixCls:t,direction:l,className:n,style:s,classNames:a,styles:r}=ge("timeline"),{prefixCls:p,className:m,style:o,classNames:c,styles:g,variant:u="outlined",mode:d,orientation:S="vertical",titleSpan:N,items:v,children:b,reverse:C,pending:f,pendingDot:i,...$}=e,H=t(),x=t("timeline",p),[_,q]=Ht(x),[I]=h(H,"timeline"),z=j.useMemo(()=>({item:`${x}-item`,itemTitle:`${x}-item-title`,itemIcon:`${x}-item-icon`,itemContent:`${x}-item-content`,itemRail:`${x}-item-rail`,itemWrapper:`${x}-item-wrapper`,itemSection:`${x}-item-section`,itemHeader:`${x}-item-header`}),[x]),D=j.useMemo(()=>d==="left"?"start":d==="right"?"end":["alternate","start","end"].includes(d)?d:"start",[d]),P=Dt(H,x,D,v,b,f,i),E=j.useMemo(()=>C?ke(P).reverse():P,[C,P]),B={...e,variant:u,mode:D,orientation:S,items:E},T=oe(s),K=oe(o),[U,w]=de([z,a,c],[r,T,g,K],{props:B}),J=j.useMemo(()=>({railFollowPrevStatus:C}),[C]),Z=j.useMemo(()=>D==="alternate"||S==="vertical"&&E.some(G=>G.title),[E,D,S]),Q={};return Qe(N)&&D!=="alternate"&&(et(N)?Q[I("head-span")]=N:Q[I("head-span-ptg")]=N),j.createElement(be.Provider,{value:No},j.createElement(se.Provider,{value:J},j.createElement(Wt,{...$,className:y(x,n,m,_,q,{[`${x}-${S}`]:S==="horizontal",[`${x}-layout-alternate`]:Z,[`${x}-rtl`]:l==="rtl"}),style:Q,classNames:U,styles:w,variant:u,orientation:S,type:"dot",items:E,current:E.length-1})))};Bt.Item=()=>{};var Vt=Bt;var Yn=Vt;export{Yn as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{shared41_d as W,shared41_e as ie}from"/assets/modules/
|
|
1
|
+
import{shared41_d as W,shared41_e as ie}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared15_a as ae}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared4_J as w,shared4_Ja as le,shared4_O as ee,shared4__ as _,shared4_a as y,shared4_bb as re,shared4_fa as X,shared4_ha as G,shared4_na as te,shared4_qa as p,shared4_ua as ne,shared4_va as oe}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared5_a as T}from"/assets/modules/39279604dcdac7c7/runtime.js";import{shared6_c as L}from"/assets/modules/39279604dcdac7c7/runtime.js";var i=L(T());var Ne={xxxl:4,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},se=Ne;var ce=L(T()),Ee=ce.default.createContext(null),P=Ee;var F=L(T());var we=e=>ee(e).map(t=>({...t?.props,key:t.key}));function K(e,t,l){let o=F.useMemo(()=>t||we(l),[t,l]);return F.useMemo(()=>o.map(({span:n,...r})=>n==="filled"?{...r,filled:!0}:{...r,span:_(n)?n:W(e,n)}),[o,e])}var me=L(T());function ve(e,t){let l=[],o=[],a=!1,n=0;return e.filter(r=>r).forEach(r=>{let{filled:c,...s}=r;if(c){o.push(s),l.push(o),o=[],n=0;return}let m=t-n;n+=r.span||1,n>=t?(n>t?(a=!0,o.push({...s,span:m})):o.push(s),l.push(o),o=[],n=0):o.push(s)}),o.length>0&&l.push(o),l=l.map(r=>{let c=r.reduce((s,m)=>s+(m.span||1),0);if(c<t){let s=r[r.length-1];return s.span=t-(c-(s.span||1)),r}return r}),[l,a]}var ze=(e,t)=>{let[l,o]=(0,me.useMemo)(()=>ve(t,e),[t,e]);return l},de=ze;var Me=e=>e.children,pe=Me;var f=L(T());var h=L(T());var De=e=>{let{itemPrefixCls:t,component:l,span:o,className:a,style:n,labelStyle:r,contentStyle:c,bordered:s,label:m,content:u,colon:M,type:d,styles:v,classNames:S}=e,x=l,{classNames:D,styles:I}=h.default.useContext(P),[g,B]=G([D,S],[I,v],{props:e}),$={...r,...B.label},R={...c,...B.content};if(s){let C;d==="label"&&(C=$),d==="content"&&(C=R);let z=C?{...n,...C}:n;return h.default.createElement(x,{colSpan:o,style:z,className:y(a,{[`${t}-item-${d}`]:d==="label"||d==="content",[g.label]:g.label&&d==="label",[g.content]:g.content&&d==="content"})},w(m)&&h.default.createElement("span",null,m),w(u)&&h.default.createElement("span",null,u))}return h.default.createElement(x,{className:y(`${t}-item`,a),style:n,colSpan:o},h.default.createElement("div",{className:`${t}-item-container`},w(m)&&h.default.createElement("span",{style:$,className:y(`${t}-item-label`,g.label,{[`${t}-item-no-colon`]:!M})},m),w(u)&&h.default.createElement("span",{style:R,className:y(`${t}-item-content`,g.content)},u)))},O=De;function j(e,{colon:t,prefixCls:l,bordered:o},{component:a,type:n,showLabel:r,showContent:c,labelStyle:s,contentStyle:m,styles:u}){return e.map(({label:M,children:d,prefixCls:v=l,className:S,style:x,labelStyle:D,contentStyle:I,span:g=1,key:B,styles:$,classNames:R},C)=>{let z=B??C;if(typeof a=="string")return f.createElement(O,{key:`${n}-${z}`,className:S,style:x,classNames:R,styles:{label:{...s,...u?.label,...D,...$?.label},content:{...m,...u?.content,...I,...$?.content}},span:g,colon:t,component:a,itemPrefixCls:v,bordered:o,label:r?M:null,content:c?d:null,type:n});let H={label:{...s,...u?.label,...D,...$?.label},content:{...m,...u?.content,...I,...$?.content}};return[f.createElement(O,{key:`label-${z}`,className:S,style:x,classNames:R,styles:H,span:1,colon:t,component:a[0],itemPrefixCls:v,bordered:o,label:M,type:"label"}),f.createElement(O,{key:`content-${z}`,className:S,style:x,classNames:R,styles:H,span:g*2-1,component:a[1],itemPrefixCls:v,bordered:o,content:d,type:"content"})]})}var Ie=e=>{let t=f.useContext(P),{prefixCls:l,vertical:o,row:a,index:n,bordered:r}=e;return o?f.createElement(f.Fragment,null,f.createElement("tr",{key:`label-${n}`,className:`${l}-row`},j(a,e,{component:"th",type:"label",showLabel:!0,...t})),f.createElement("tr",{key:`content-${n}`,className:`${l}-row`},j(a,e,{component:"td",type:"content",showContent:!0,...t}))):f.createElement("tr",{key:n,className:`${l}-row`},j(a,e,{component:r?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0,...t}))},fe=Ie;var Be=e=>{let{componentCls:t,labelBg:l}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${p(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto"},[`${t}-row`]:{borderBottom:`${p(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:first-child":{"> th:first-child, > td:first-child":{borderStartStartRadius:e.borderRadiusLG}},"&:last-child":{borderBottom:"none","> th:first-child, > td:first-child":{borderEndStartRadius:e.borderRadiusLG}},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${p(e.padding)} ${p(e.paddingLG)}`,borderInlineEnd:`${p(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:l,"&::after":{display:"none"}}}},[`&${t}-medium`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${p(e.paddingSM)} ${p(e.paddingLG)}`}}},[`&${t}-small`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${p(e.paddingXS)} ${p(e.padding)}`}}}}}},Le=e=>{let{componentCls:t,extraColor:l,itemPaddingBottom:o,itemPaddingEnd:a,colonMarginRight:n,colonMarginLeft:r,titleMarginBottom:c}=e;return{[t]:{...oe(e),...Be(e),"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:c},[`${t}-title`]:{...ne,flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG},[`${t}-extra`]:{marginInlineStart:"auto",color:l,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{minWidth:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[`${t}-row`]:{"> th, > td":{paddingBottom:o,paddingInlineEnd:a},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.labelColor,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${p(r)} ${p(n)}`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline",minWidth:"1em"}}},"&-medium":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}}}},Te=e=>({labelBg:e.colorFillAlter,labelColor:e.colorTextTertiary,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText}),ue=re("Descriptions",e=>{let t=le(e,{});return Le(t)},Te);var ge=i.forwardRef((e,t)=>{let{prefixCls:l,title:o,extra:a,column:n,colon:r=!0,bordered:c,layout:s,children:m,className:u,rootClassName:M,style:d,size:v,labelStyle:S,contentStyle:x,styles:D,items:I,classNames:g,...B}=e,{getPrefixCls:$,direction:R,className:C,style:z,classNames:H,styles:be}=te("descriptions"),b=$("descriptions",l),A=ie(),q=i.useMemo(()=>_(n)?n:W(A,n)??W(A,se)??3,[A,n]),J=K(A,I,m),U=ae(v),ye=de(q,J),[xe,$e]=ue(b),he={...e,column:q,items:J,size:U},Se=X(z),Re=X(d),[N,E]=G([H,g],[be,Se,D,Re],{props:he}),Ce=i.useMemo(()=>({labelStyle:S,contentStyle:x,styles:{label:E.label,content:E.content},classNames:{label:N.label,content:N.content}}),[S,x,E.label,E.content,N.label,N.content]),Q=i.useRef(null);i.useImperativeHandle(t,()=>({nativeElement:Q.current}));let Y=w(o),Z=w(a);return i.createElement(P.Provider,{value:Ce},i.createElement("div",{ref:Q,className:y(b,C,N.root,{[`${b}-medium`]:U==="medium"||U==="middle",[`${b}-small`]:U==="small",[`${b}-bordered`]:!!c,[`${b}-rtl`]:R==="rtl"},u,M,xe,$e),style:E.root,...B},(Y||Z)&&i.createElement("div",{className:y(`${b}-header`,N.header),style:E.header},Y&&i.createElement("div",{className:y(`${b}-title`,N.title),style:E.title},o),Z&&i.createElement("div",{className:y(`${b}-extra`,N.extra),style:E.extra},a)),i.createElement("div",{className:`${b}-view`},i.createElement("table",null,i.createElement("tbody",null,ye.map((k,V)=>i.createElement(fe,{key:V,index:V,colon:r,prefixCls:b,vertical:s==="vertical",bordered:c,row:k})))))))});ge.Item=pe;var yt=ge;export{yt as a};
|