agentworkshop 0.7.24 → 0.7.33
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/.AgentWorkShop/prompts/aml-mission-default.md +20 -0
- package/.AgentWorkShop/prompts/aml-playbook.md +49 -0
- package/.AgentWorkShop/prompts/host-tools.json +314 -0
- package/.output/.AgentWorkShop/prompts/aml-mission-default.md +20 -0
- package/.output/.AgentWorkShop/prompts/aml-playbook.md +49 -0
- package/.output/.AgentWorkShop/prompts/host-tools.json +314 -0
- package/.output/.AgentWorkShop/schema.json +120 -0
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{Djir5rSD.js → 4bHdIqEg.js} +8 -8
- package/.output/public/_nuxt/B7gZokg82.js +209 -0
- package/.output/public/_nuxt/B9nXmjSB.js +19 -0
- package/.output/public/_nuxt/BASN8nZ0.js +1 -0
- package/.output/public/_nuxt/{DNQF_TXX.js → BBBtwOpo.js} +1 -1
- package/.output/public/_nuxt/{DoAlYsiF.js → BBwMH_hG.js} +1 -1
- package/.output/public/_nuxt/BWSE6hR6.js +1 -0
- package/.output/public/_nuxt/BZv4RFYN.js +1 -0
- package/.output/public/_nuxt/Bc0AmjfT.js +1 -0
- package/.output/public/_nuxt/BcmbLh2z2.js +1 -0
- package/.output/public/_nuxt/BgTB6h_q.js +2 -0
- package/.output/public/_nuxt/BkLJA9J5.js +1 -0
- package/.output/public/_nuxt/{CuVGPuP1.js → BuCHayqN.js} +1 -1
- package/.output/public/_nuxt/{0jKrzLuM.js → BuvcLKh1.js} +1 -1
- package/.output/public/_nuxt/C-mDhyEd.js +1 -0
- package/.output/public/_nuxt/{Ct68Z0232.js → C77oC8yC2.js} +2 -2
- package/.output/public/_nuxt/CQvmN-Mi.js +1 -0
- package/.output/public/_nuxt/CUDrOuW7.js +1 -0
- package/.output/public/_nuxt/{Coik560n.js → CZcC-gpk.js} +1 -1
- package/.output/public/_nuxt/{Cz9gD2Yo.js → CbzsPO5H.js} +1 -1
- package/.output/public/_nuxt/CdSOrh2c.js +1 -0
- package/.output/public/_nuxt/Cgx818r-.js +1 -0
- package/.output/public/_nuxt/Cjm7VogC.js +1 -0
- package/.output/public/_nuxt/Cm5mDxzH.js +1 -0
- package/.output/public/_nuxt/Cp6z0RN7.js +1 -0
- package/.output/public/_nuxt/Ct-WOVr4.js +1 -0
- package/.output/public/_nuxt/CwqIxJGj.js +2 -0
- package/.output/public/_nuxt/{BMb80_tm.js → D0fhp-Ga.js} +2 -2
- package/.output/public/_nuxt/DIaTPH1M.js +1 -0
- package/.output/public/_nuxt/DLljr7g0.js +1 -0
- package/.output/public/_nuxt/DTYBfjRY.js +1 -0
- package/.output/public/_nuxt/DYKVPzN-.js +1 -0
- package/.output/public/_nuxt/DZzGarBE2.js +13 -0
- package/.output/public/_nuxt/DaMCzQhv.js +1 -0
- package/.output/public/_nuxt/DoMxCWN52.js +4 -0
- package/.output/public/_nuxt/{kZV5TQvh2.js → DoTdlVVe2.js} +1 -1
- package/.output/public/_nuxt/DsVcWfyR.js +1 -0
- package/.output/public/_nuxt/{BCJFMBQ6.js → DzuC31-i.js} +2 -2
- package/.output/public/_nuxt/FQri3dV3.js +1 -0
- package/.output/public/_nuxt/Lp7Ll94I.js +1 -0
- package/.output/public/_nuxt/PluginSlot.DmjNbrcX.css +1 -0
- package/.output/public/_nuxt/{TownView.zu2rU5nS.css → TownView.CtskuMXS.css} +1 -1
- package/.output/public/_nuxt/_id_.hRYo-EAB.css +1 -0
- package/.output/public/_nuxt/_wsId_.gXMEOYgX.css +1 -0
- package/.output/public/_nuxt/agents.BV70ioCv.css +1 -0
- package/.output/public/_nuxt/aml.WU_bh87J.css +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/291ef3e6-fa6a-4dee-8f46-05da1aeab815.json +1 -0
- package/.output/public/_nuxt/daq.Bb6l44-O.css +1 -0
- package/.output/public/_nuxt/default.jNT73_hq.css +1 -0
- package/.output/public/_nuxt/ekuGmQ7R.js +1 -0
- package/.output/public/_nuxt/entry.jFrFAWuA.css +1 -0
- package/.output/public/_nuxt/pMoIO6rr.js +14 -0
- package/.output/public/_nuxt/pages.Cc8GX9T1.css +1 -0
- package/.output/public/_nuxt/plugins.wIPyfPn-.css +1 -0
- package/.output/public/_nuxt/settings.BCm4NZIc.css +1 -0
- package/.output/public/_nuxt/teams.BC75EGnR.css +1 -0
- package/.output/public/assets/game/character/yangyang-walk.glb +0 -0
- package/.output/server/chunks/_/binding-authz.mjs +23 -0
- package/.output/server/chunks/_/binding-authz.mjs.map +1 -0
- package/.output/server/chunks/_/character-asset.repo.mjs +1 -1
- package/.output/server/chunks/_/host-bindings.mjs +1 -1
- package/.output/server/chunks/_/nitro.mjs +14422 -7551
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/_/scene-layout.repo.mjs +3 -3
- package/.output/server/chunks/_/scene-layout.repo.mjs.map +1 -1
- package/.output/server/chunks/build/Checkbox-eax2M3o-.mjs +207 -0
- package/.output/server/chunks/build/Checkbox-eax2M3o-.mjs.map +1 -0
- package/.output/server/chunks/build/{OmpTerminalPanel-Cw_Vw9oO.mjs → OmpTerminalPanel-Cu_s4i0A.mjs} +2 -2
- package/.output/server/chunks/build/{OmpTerminalPanel-Cw_Vw9oO.mjs.map → OmpTerminalPanel-Cu_s4i0A.mjs.map} +1 -1
- package/.output/server/chunks/build/{alert-qJnjyRcP.mjs → PluginSlot-CcR4Ys3T.mjs} +140 -4
- package/.output/server/chunks/build/PluginSlot-CcR4Ys3T.mjs.map +1 -0
- package/.output/server/chunks/build/{TownView-DxeQe1Bl.mjs → TownView-BdHnAilw.mjs} +178 -151
- package/.output/server/chunks/build/{TownView-DxeQe1Bl.mjs.map → TownView-BdHnAilw.mjs.map} +1 -1
- package/.output/server/chunks/build/{_id_-DY6v6sqB.mjs → _id_-Cb845FHR.mjs} +7 -5
- package/.output/server/chunks/build/_id_-Cb845FHR.mjs.map +1 -0
- package/.output/server/chunks/build/{_id_-DQDqj-cZ.mjs → _id_-fadFPl2i.mjs} +50 -35
- package/.output/server/chunks/build/_id_-fadFPl2i.mjs.map +1 -0
- package/.output/server/chunks/build/{_wsId_-D38Vx6Ky.mjs → _wsId_-CTZswnm5.mjs} +181 -22
- package/.output/server/chunks/build/{_wsId_-D38Vx6Ky.mjs.map → _wsId_-CTZswnm5.mjs.map} +1 -1
- package/.output/server/chunks/build/{agents-GnmUGZir.mjs → agents-Bvin73QY.mjs} +82 -32
- package/.output/server/chunks/build/agents-Bvin73QY.mjs.map +1 -0
- package/.output/server/chunks/build/aml-uBNIppIf.mjs +508 -0
- package/.output/server/chunks/build/aml-uBNIppIf.mjs.map +1 -0
- package/.output/server/chunks/build/apiClient-BwnfOQU8.mjs +81 -0
- package/.output/server/chunks/build/apiClient-BwnfOQU8.mjs.map +1 -0
- package/.output/server/chunks/build/{channel-templates-B4z6v8Z5.mjs → channel-templates-BTq8570n.mjs} +6 -5
- package/.output/server/chunks/build/channel-templates-BTq8570n.mjs.map +1 -0
- package/.output/server/chunks/build/{checkbox-dzcpU_Cd.mjs → checkbox-8fB-wI-T.mjs} +5 -5
- package/.output/server/chunks/build/{checkbox-dzcpU_Cd.mjs.map → checkbox-8fB-wI-T.mjs.map} +1 -1
- package/.output/server/chunks/build/{daq-B-3xCp_2.mjs → daq-BvihjQyW.mjs} +314 -426
- package/.output/server/chunks/build/daq-BvihjQyW.mjs.map +1 -0
- package/.output/server/chunks/build/{dcw-BL2dhuz7.mjs → dcw-Ks2vJ4PF.mjs} +5 -3
- package/.output/server/chunks/build/dcw-Ks2vJ4PF.mjs.map +1 -0
- package/.output/server/chunks/build/{default-CLf5m0NE.mjs → default-GgHt4O2R.mjs} +164 -101
- package/.output/server/chunks/build/{default-CLf5m0NE.mjs.map → default-GgHt4O2R.mjs.map} +1 -1
- package/.output/server/chunks/build/{input-number-Bd55elNN.mjs → input-number-DzpyYB99.mjs} +2 -2
- package/.output/server/chunks/build/{input-number-Bd55elNN.mjs.map → input-number-DzpyYB99.mjs.map} +1 -1
- package/.output/server/chunks/build/{logs-Dto_umFY.mjs → logs-CYBhkQwh.mjs} +5 -3
- package/.output/server/chunks/build/logs-CYBhkQwh.mjs.map +1 -0
- package/.output/server/chunks/build/{monitor-Cp4V-H2n.mjs → monitor-CyfDt4nR.mjs} +7 -6
- package/.output/server/chunks/build/{monitor-Cp4V-H2n.mjs.map → monitor-CyfDt4nR.mjs.map} +1 -1
- package/.output/server/chunks/build/{pages-Dc2H1QFu.mjs → pages-C-6BRtv8.mjs} +57 -47
- package/.output/server/chunks/build/pages-C-6BRtv8.mjs.map +1 -0
- package/.output/server/chunks/build/{permissions-BTRW2CVd.mjs → permissions-B52oOmaO.mjs} +6 -5
- package/.output/server/chunks/build/permissions-B52oOmaO.mjs.map +1 -0
- package/.output/server/chunks/build/{plugins-DZR0T4Mh.mjs → plugins-dZRegC7m.mjs} +22 -18
- package/.output/server/chunks/build/plugins-dZRegC7m.mjs.map +1 -0
- package/.output/server/chunks/build/{segmented-LPPREMtZ.mjs → segmented-3TrWo0lS.mjs} +3 -3
- package/.output/server/chunks/build/{segmented-LPPREMtZ.mjs.map → segmented-3TrWo0lS.mjs.map} +1 -1
- package/.output/server/chunks/build/settings-CgDLkP3s.mjs +1171 -0
- package/.output/server/chunks/build/settings-CgDLkP3s.mjs.map +1 -0
- package/.output/server/chunks/build/{table-Cswq-l2r.mjs → table-BjSWwmic.mjs} +4 -4
- package/.output/server/chunks/build/{table-Cswq-l2r.mjs.map → table-BjSWwmic.mjs.map} +1 -1
- package/.output/server/chunks/build/{tag-NO9jEqKy.mjs → tag-DNE9vXc0.mjs} +3 -131
- package/.output/server/chunks/build/tag-DNE9vXc0.mjs.map +1 -0
- package/.output/server/chunks/build/{teams-Cbg27MWW.mjs → teams-2kz3CusY.mjs} +350 -49
- package/.output/server/chunks/build/teams-2kz3CusY.mjs.map +1 -0
- package/.output/server/chunks/build/{tokens-Bmm6rDfj.mjs → tokens-BbWLqtVz.mjs} +6 -5
- package/.output/server/chunks/build/tokens-BbWLqtVz.mjs.map +1 -0
- package/.output/server/chunks/build/town-BUqRobze.mjs +1 -0
- package/.output/server/chunks/build/town-BUqRobze.mjs.map +1 -1
- package/.output/server/chunks/build/{town-Dsh0jlwZ.mjs → town-DJ-V5G9U.mjs} +7 -5
- package/.output/server/chunks/build/town-DJ-V5G9U.mjs.map +1 -0
- package/.output/server/chunks/build/{useDaqStream-DkRL3tEW.mjs → useDaqStream-CIBaiGAl.mjs} +27 -11
- package/.output/server/chunks/build/useDaqStream-CIBaiGAl.mjs.map +1 -0
- package/.output/server/chunks/build/{useDcwStream-DyB2ufQI.mjs → useDcwStream-CBbiYnWe.mjs} +16 -84
- package/.output/server/chunks/build/useDcwStream-CBbiYnWe.mjs.map +1 -0
- package/.output/server/chunks/build/{useDeviceTwins-ZbT86L9O.mjs → useDeviceTwins-Yko6nNPF.mjs} +2 -2
- package/.output/server/chunks/build/{useDeviceTwins-ZbT86L9O.mjs.map → useDeviceTwins-Yko6nNPF.mjs.map} +1 -1
- package/.output/server/chunks/build/{useOpsLog-8HCYFb6n.mjs → useOpsLog-CO_VWh7t.mjs} +2 -2
- package/.output/server/chunks/build/{useOpsLog-8HCYFb6n.mjs.map → useOpsLog-CO_VWh7t.mjs.map} +1 -1
- package/.output/server/chunks/build/{useWorkshopApi-D2gq06N2.mjs → useWorkshopApi-NyjL0L3j.mjs} +11 -2
- package/.output/server/chunks/build/{useWorkshopApi-D2gq06N2.mjs.map → useWorkshopApi-NyjL0L3j.mjs.map} +1 -1
- package/.output/server/chunks/build/{users-B50HHrfi.mjs → users-4nzxTjFT.mjs} +6 -5
- package/.output/server/chunks/build/users-4nzxTjFT.mjs.map +1 -0
- package/.output/server/chunks/build/workshop-81xhz368.mjs +1 -0
- package/.output/server/chunks/build/workshop-81xhz368.mjs.map +1 -1
- package/.output/server/chunks/routes/api/health.get.mjs +1 -0
- package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/metrics.mjs +1 -0
- package/.output/server/chunks/routes/api/metrics.mjs.map +1 -1
- package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs +15 -2
- package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs.map +1 -1
- package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs +1 -0
- package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/plugins/i18n.get.mjs +26 -0
- package/.output/server/chunks/routes/api/plugins/i18n.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/plugins/manifest.get.mjs +2 -1
- package/.output/server/chunks/routes/api/plugins/manifest.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs +32 -0
- package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs +36 -0
- package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/config.get.mjs +1 -0
- package/.output/server/chunks/routes/api/system/config.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/index.get.mjs +7 -2
- package/.output/server/chunks/routes/api/system/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/index.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/system/index.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/index.post.mjs +36 -0
- package/.output/server/chunks/routes/api/system/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/index2.get.mjs +28 -0
- package/.output/server/chunks/routes/api/system/index2.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs +2 -1
- package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs +2 -1
- package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/monitor.get.mjs +1 -0
- package/.output/server/chunks/routes/api/system/monitor.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/settings/events.get.mjs +8 -5
- package/.output/server/chunks/routes/api/system/settings/events.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/settings/reset.post.mjs +2 -1
- package/.output/server/chunks/routes/api/system/settings/reset.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/users/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/users/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/_id_.put.mjs +1 -1
- package/.output/server/chunks/routes/api/users/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/users/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/users/login.post.mjs +1 -1
- package/.output/server/chunks/routes/api/users/logout.post.mjs +2 -1
- package/.output/server/chunks/routes/api/users/logout.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/me.get.mjs +2 -1
- package/.output/server/chunks/routes/api/users/me.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/register.post.mjs +1 -1
- package/.output/server/chunks/routes/api/users/setup-status.get.mjs +2 -1
- package/.output/server/chunks/routes/api/users/setup-status.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs +2 -1
- package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/_...path_.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/_...path_.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +5 -2
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +9 -3
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +23 -3
- package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +21 -3
- package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs +75 -0
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs +46 -0
- package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs +47 -0
- package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs +48 -0
- package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs +41 -0
- package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs +62 -0
- package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs +36 -0
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs +38 -0
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs +37 -0
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs +42 -0
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/audit.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/audit.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/caller.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/caller.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +41 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +22 -9
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/channels.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs +16 -2
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +3 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +7 -2
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +32 -1
- package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +3 -2
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs +12 -6
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs +4 -2
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs +28 -0
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index2.get.mjs +17 -11
- package/.output/server/chunks/routes/api/workshop/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index2.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs +11 -4
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs +5 -27
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs +24 -18
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs +23 -5
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs +4 -17
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs +8 -3
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs +20 -21
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs +24 -11
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/runtime.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/runtime.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks.get.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +44 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +47 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs +2 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/users/me.get.mjs +2 -0
- package/.output/server/chunks/routes/api/workshop/users/me.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/users/register.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs +1 -0
- package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +2 -2
- package/.output/server/chunks/virtual/entry.mjs +933 -449
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/index.mjs +1 -0
- package/.output/server/node_modules/@anthropic-ai/claude-agent-sdk/package.json +84 -0
- package/.output/server/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +225 -0
- package/.output/server/package.json +2 -1
- package/README-zh.md +507 -478
- package/README.md +517 -486
- package/app/app.vue +17 -2
- package/app/assets/css/main.css +421 -30
- package/app/components/AppHeader.vue +17 -0
- package/app/components/AppSidebar.vue +162 -63
- package/app/components/AwChart.vue +57 -54
- package/app/components/workshop/ChannelSessionList.vue +802 -703
- package/app/components/workshop/DaqNodeRow.vue +554 -0
- package/app/components/workshop/PluginSlot.vue +120 -0
- package/app/components/workshop/town/ModelPreview3D.vue +26 -4
- package/app/components/workshop/town/TownScene3D.ts +60 -12
- package/app/components/workshop/town/TownView.vue +4 -3
- package/app/composables/workshop/useAmlStream.ts +136 -0
- package/app/composables/workshop/useCharacterAssets.ts +1 -0
- package/app/composables/workshop/useDaqStream.ts +32 -6
- package/app/composables/workshop/useDcwStream.ts +13 -4
- package/app/composables/workshop/usePluginPanels.ts +72 -0
- package/app/composables/workshop/useWorkshopApi.ts +301 -259
- package/app/pages/aml/index.vue +1949 -0
- package/app/pages/daq/[id].vue +86 -4
- package/app/pages/daq/index.vue +15 -503
- package/app/pages/index.vue +235 -213
- package/app/pages/plugins/index.vue +280 -274
- package/app/pages/settings.vue +807 -79
- package/app/pages/workshop/agents.vue +23 -1
- package/app/pages/workshop/teams.vue +212 -2
- package/app/plugins/aw-plugins.client.ts +95 -6
- package/app/plugins/runtime-config.client.ts +4 -14
- package/app/plugins/theme.client.ts +13 -3
- package/app/stores/app.ts +9 -2
- package/app/stores/runtime-config.ts +113 -7
- package/cli/aw.mjs +16 -3
- package/cli/commands/build.mjs +8 -8
- package/cli/commands/dev.mjs +5 -13
- package/cli/commands/init.mjs +1 -1
- package/cli/commands/start.mjs +10 -17
- package/cli/core/args.mjs +85 -4
- package/cli/core/child-lifecycle.mjs +136 -0
- package/config.yml +24 -0
- package/docs/plugins.md +128 -220
- package/docs/sdk.md +1 -1
- package/i18n/dicts/_en.json +403 -2
- package/i18n/dicts/aml.json +163 -0
- package/i18n/dicts/channelSessionList.json +4 -1
- package/i18n/dicts/daqDetail.json +1 -0
- package/i18n/dicts/plugins.json +10 -0
- package/i18n/dicts/settings.json +34 -1
- package/i18n/dicts/teamPlugins.json +10 -0
- package/i18n/dicts/teams.json +9 -1
- package/i18n/locales/en.ts +2059 -1867
- package/i18n/locales/zh-CN.ts +2059 -1868
- package/nuxt.config.ts +18 -3
- package/package.json +7 -2
- package/public/assets/game/character/yangyang-walk.glb +0 -0
- package/scripts/_audit/.tmp/audit-data/dcws.json +28 -0
- package/scripts/_audit/.tmp/dcw-writes.json +15650 -0
- package/scripts/_audit/.tmp/dcws.json +9033 -0
- package/scripts/_audit/.tmp/pollution-backup/dcw-rollback.polluted.json +470006 -0
- package/scripts/_audit/.tmp/pollution-backup/dcws.polluted.json +9085 -0
- package/scripts/_audit/.tmp/probe-cwd.txt +1 -0
- package/scripts/_audit/audit-harness-adapters.md +664 -0
- package/scripts/_audit/awhome/commands/README.md +3 -0
- package/scripts/_audit/awhome/commands/hello.mjs +12 -0
- package/scripts/_audit/dcw-controller-e2e.ts +99 -0
- package/scripts/_audit/dcw-flush-cost.ts +43 -0
- package/scripts/_audit/dcw-rollback-ledger.ts +153 -0
- package/scripts/_audit/dcw-unrecorded-write.ts +171 -0
- package/scripts/_audit/dcw-write-mutex.ts +157 -0
- package/scripts/_audit/diag-cwd.ts +20 -0
- package/scripts/_audit/diag-cwd2.ts +19 -0
- package/scripts/_audit/exp-cost-scaling.mjs +54 -0
- package/scripts/_audit/exp-envelope-and-png.mjs +77 -0
- package/scripts/_audit/exp-png-decode.mjs +67 -0
- package/scripts/_audit/exp-retention-plan.mjs +61 -0
- package/scripts/_audit/exp-retention-rescan.mjs +42 -0
- package/scripts/_audit/exp-sweep-fairness.mjs +48 -0
- package/scripts/_audit/hello.mjs +12 -0
- package/scripts/_audit/http-api-authz-audit.md +657 -0
- package/scripts/_audit/ndjson-partial-line-repro.mjs +77 -0
- package/scripts/_audit/opencode-await-ternary-repro.mjs +20 -0
- package/scripts/_audit/part-frag.txt +84 -0
- package/scripts/_audit/part-head.txt +45 -0
- package/scripts/_audit/probe-binding.mjs +103 -0
- package/scripts/_audit/probe-child.mjs +17 -0
- package/scripts/_audit/probe-envelope.mjs +49 -0
- package/scripts/_audit/probe-packlist.mjs +67 -0
- package/scripts/_audit/probe-routes.mjs +47 -0
- package/scripts/_audit/probe-routes2.mjs +38 -0
- package/scripts/_audit/probe.ts +9 -0
- package/scripts/_audit/probe2.ts +6 -0
- package/scripts/_audit/probe3.ts +3 -0
- package/scripts/_audit/probe4.ts +3 -0
- package/scripts/_audit/proj/.AgentWorkShop/commands/echoargs.mjs +13 -0
- package/scripts/_audit/proj/config.yml +1 -0
- package/scripts/_audit/run.mjs +30 -0
- package/scripts/_audit/runtime-audit.md +716 -0
- package/scripts/_audit/ts-resolve-hook.mjs +41 -0
- package/scripts/_audit/tsconfig.probe.json +24 -0
- package/scripts/_audit/typecheck-out.txt +466 -0
- package/scripts/_audit/verify-data-integrity.mjs +112 -0
- package/scripts/_dbg-agents-dropdown-shot.py +33 -0
- package/scripts/_dbg-anim-verify.mjs +1 -1
- package/scripts/_dbg-audit-all-pages.mjs +1 -1
- package/scripts/_dbg-availability-probe.ts +11 -0
- package/scripts/_dbg-bind-bidi-e2e.mjs +1 -1
- package/scripts/_dbg-cf-line-shot.mjs +18 -0
- package/scripts/_dbg-channel-plugin-ui.mjs +94 -0
- package/scripts/_dbg-configroot-audit.mjs +84 -0
- package/scripts/_dbg-cpu-profile.mjs +53 -0
- package/scripts/_dbg-crash-recovery.mjs +1 -1
- package/scripts/_dbg-crush-probe.sh +21 -0
- package/scripts/_dbg-crush-spawn-probe.ts +22 -0
- package/scripts/_dbg-daq-acc-probe.mjs +1 -1
- package/scripts/_dbg-daq-attrib.mjs +1 -1
- package/scripts/_dbg-daq-debug.mjs +1 -1
- package/scripts/_dbg-daq-diag.mjs +1 -1
- package/scripts/_dbg-daq-e2e.mjs +1 -1
- package/scripts/_dbg-daq-filter-e2e.mjs +1 -1
- package/scripts/_dbg-daq-filter-e2e2.mjs +1 -1
- package/scripts/_dbg-daq-final-regression.mjs +1 -1
- package/scripts/_dbg-daq-frame-alarm.mjs +1 -1
- package/scripts/_dbg-daq-frame-ui.mjs +1 -1
- package/scripts/_dbg-daq-frame-ws.mjs +1 -1
- package/scripts/_dbg-daq-frames-e2e.mjs +1 -1
- package/scripts/_dbg-daq-full-check.mjs +1 -1
- package/scripts/_dbg-daq-intervals-func.mjs +94 -0
- package/scripts/_dbg-daq-pages-shot.mjs +1 -1
- package/scripts/_dbg-daq-perf.mjs +1 -1
- package/scripts/_dbg-daq-probe.mjs +1 -1
- package/scripts/_dbg-daq-recipe-e2e.mjs +1 -1
- package/scripts/_dbg-daq-rows-probe.mjs +1 -1
- package/scripts/_dbg-daq-rowstate-e2e.mjs +1 -1
- package/scripts/_dbg-daq-rowstate-shot.mjs +1 -1
- package/scripts/_dbg-daq-rowstate-shot2.mjs +1 -1
- package/scripts/_dbg-daq-rowstyle-verify.mjs +112 -0
- package/scripts/_dbg-dash-console-check.mjs +1 -1
- package/scripts/_dbg-dash-deep-probe.mjs +1 -1
- package/scripts/_dbg-dash-hitpoint.mjs +1 -1
- package/scripts/_dbg-dcw-read-rest.mjs +1 -1
- package/scripts/_dbg-dcw-read-ui.mjs +1 -1
- package/scripts/_dbg-dcw-shot2.mjs +1 -1
- package/scripts/_dbg-diag-mock-loop.mjs +89 -0
- package/scripts/_dbg-diag-watch.mjs +95 -0
- package/scripts/_dbg-error-probe.mjs +2 -2
- package/scripts/_dbg-filter-light-verify.mjs +1 -1
- package/scripts/_dbg-final-acceptance-2.mjs +1 -1
- package/scripts/_dbg-final-acceptance.mjs +1 -1
- package/scripts/_dbg-final-full-e2e.mjs +1 -1
- package/scripts/_dbg-final-shots.mjs +32 -0
- package/scripts/_dbg-final-t6-hitl.mjs +1 -1
- package/scripts/_dbg-fix-unused-imports.py +41 -0
- package/scripts/_dbg-fresh-scene-e2e.mjs +1 -1
- package/scripts/_dbg-goose-probe.mjs +33 -0
- package/scripts/_dbg-goose-probe.sh +10 -0
- package/scripts/_dbg-groups-ui-verify.mjs +122 -0
- package/scripts/_dbg-harness-ui-shot.py +109 -0
- package/scripts/_dbg-hidden-check.mjs +1 -1
- package/scripts/_dbg-home-repro.mjs +1 -1
- package/scripts/_dbg-home-stack.mjs +1 -1
- package/scripts/_dbg-hydration-detail.mjs +1 -1
- package/scripts/_dbg-infra-lifecycle.mjs +1 -1
- package/scripts/_dbg-line-live-e2e.mjs +1 -1
- package/scripts/_dbg-line-repo-test.ts +10 -0
- package/scripts/_dbg-login-debug.py +23 -0
- package/scripts/_dbg-modbus-latency.mjs +22 -0
- package/scripts/_dbg-mqtt-chain-e2e.mjs +1 -1
- package/scripts/_dbg-oneshot-impl-probe.ts +67 -0
- package/scripts/_dbg-opt-team-e2e.mjs +1 -1
- package/scripts/_dbg-panesplitter-fix-check.mjs +1 -1
- package/scripts/_dbg-phase-e3-monitor.mjs +1 -1
- package/scripts/_dbg-pi-spawn-probe.ts +33 -0
- package/scripts/_dbg-plc-e2e.mjs +1 -1
- package/scripts/_dbg-plugin-config-ui.mjs +111 -0
- package/scripts/_dbg-plugin-panels-ui.mjs +54 -0
- package/scripts/_dbg-plugin-sink-rest.mjs +1 -1
- package/scripts/_dbg-plugin-sink-ui.mjs +1 -1
- package/scripts/_dbg-plugin-ui-wizard.mjs +1 -1
- package/scripts/_dbg-plugin-verify-e2e.mjs +1 -1
- package/scripts/_dbg-pop-clamp-verify.mjs +1 -1
- package/scripts/_dbg-preview-console.mjs +1 -1
- package/scripts/_dbg-preview-minrepro.mjs +1 -1
- package/scripts/_dbg-preview-pixels.mjs +1 -1
- package/scripts/_dbg-quality-pages-e2e.mjs +1 -1
- package/scripts/_dbg-qwen-acp-probe.mjs +30 -0
- package/scripts/_dbg-qwen-capture.mjs +21 -0
- package/scripts/_dbg-rail-tree-e2e.mjs +1 -1
- package/scripts/_dbg-real-driver-e2e.mjs +1 -1
- package/scripts/_dbg-real-scenario-timeline.log +55 -123
- package/scripts/_dbg-redesign-shots.mjs +1 -1
- package/scripts/_dbg-release-smoke.mjs +1 -1
- package/scripts/_dbg-render-perf.mjs +142 -0
- package/scripts/_dbg-render-regression.mjs +130 -0
- package/scripts/_dbg-resolve-probe.ts +6 -0
- package/scripts/_dbg-restart-persist.mjs +1 -1
- package/scripts/_dbg-sc001-dispatch.mjs +1 -1
- package/scripts/_dbg-scenario-final-shot.mjs +1 -1
- package/scripts/_dbg-scenario-phase-e2.mjs +1 -1
- package/scripts/_dbg-scenario-phase-e3.mjs +1 -1
- package/scripts/_dbg-scenario-phase1.mjs +1 -1
- package/scripts/_dbg-scenario-phase2.mjs +1 -1
- package/scripts/_dbg-scenario-phase3-monitor.mjs +1 -1
- package/scripts/_dbg-scenario-phase3.mjs +1 -1
- package/scripts/_dbg-settings-draft-probe.mjs +39 -0
- package/scripts/_dbg-settings-probe.mjs +33 -0
- package/scripts/_dbg-task-cancel-probe.mjs +66 -0
- package/scripts/_dbg-town-alarm-e2e.mjs +1 -1
- package/scripts/_dbg-town-daq-shot.mjs +1 -1
- package/scripts/_dbg-town-full-e2e.mjs +1 -1
- package/scripts/_dbg-town-gate.mjs +1 -1
- package/scripts/_dbg-town-ins-probe.mjs +1 -1
- package/scripts/_dbg-town-perf.mjs +1 -1
- package/scripts/_dbg-town-realtime.mjs +1 -1
- package/scripts/_dbg-town-shot.py +25 -0
- package/scripts/_dbg-town-shot3.mjs +1 -1
- package/scripts/_dbg-town-smoke.mjs +54 -0
- package/scripts/_dbg-town-truth.mjs +1 -1
- package/scripts/_dbg-town-truth2.mjs +1 -1
- package/scripts/_dbg-trend-expand-test.mjs +1 -1
- package/scripts/_dbg-twindaq-focus.mjs +1 -1
- package/scripts/_dbg-ui-polish-shot.mjs +1 -1
- package/scripts/_dbg-ui-polish-verify1.mjs +1 -1
- package/scripts/_dbg-ui-polish-verify2.mjs +1 -1
- package/scripts/_dbg-ui-polish-verify3.mjs +1 -1
- package/scripts/_dbg-ui-polish-verify4.mjs +1 -1
- package/scripts/_dbg-unify-shot.mjs +1 -1
- package/scripts/_dbg-uplink-probe.mjs +1 -1
- package/scripts/_dbg-wizard-preview-shot.mjs +1 -1
- package/scripts/_dbg-wizard-ui-e2e.mjs +1 -1
- package/scripts/_dbg-ws-probe.mjs +1 -1
- package/scripts/_dbg-wsdot-sanity.mjs +1 -1
- package/scripts/_node-state-probe.mjs +1 -1
- package/scripts/_tmp-args-probe.mjs +20 -0
- package/scripts/_tmp-cyc-entry.mjs +8 -0
- package/scripts/_tmp-cyc-main.mjs +5 -0
- package/scripts/_tmp-cyc-mod.mjs +2 -0
- package/scripts/_tmp-cycle-a.mjs +6 -0
- package/scripts/_tmp-cycle-b.mjs +2 -0
- package/scripts/_tmp-cycle-probe.mjs +4 -0
- package/scripts/_tmp-entry-variant.mjs +2 -0
- package/scripts/_tmp-help-probe.mjs +19 -0
- package/scripts/_tmp-help-probe2.mjs +2 -0
- package/scripts/_tmp-trace-preload.mjs +1 -0
- package/scripts/aml-agent-bridge.ts +230 -0
- package/scripts/aml-industrial-loop.ts +232 -0
- package/scripts/aml-ui-smoke.mjs +67 -0
- package/scripts/aw-start-smoke.mjs +194 -0
- package/scripts/design-verify-templates.mjs +1 -1
- package/scripts/device-line-restore.mjs +1 -1
- package/scripts/e2e-aml.ts +259 -0
- package/scripts/e2e-config-groups.mjs +238 -0
- package/scripts/e2e-full-closedloop.mjs +911 -0
- package/scripts/e2e-full-scenario.ts +321 -0
- package/scripts/e2e-harness-consistency.ts +204 -0
- package/scripts/e2e-multi-harness.ts +233 -76
- package/scripts/e2e-plc-plugin-closedloop.mjs +518 -0
- package/scripts/e2e-real-scenario.mjs +466 -452
- package/scripts/e2e-template-isolation.mjs +2 -2
- package/scripts/experiment-castfilm-closedloop.mjs +423 -0
- package/scripts/experiment-castfilm-finish.mjs +194 -0
- package/scripts/experiment-castfilm-ui-shot.mjs +52 -0
- package/scripts/experiment-castfilm-viz.mjs +172 -0
- package/scripts/i18n-merge.mjs +152 -30
- package/scripts/production-closed-loop-e2e.mjs +300 -0
- package/scripts/team-plugins-api-smoke.mjs +149 -0
- package/scripts/test-aml-integration.ts +159 -0
- package/scripts/test-aml-job.ts +174 -0
- package/scripts/test-aml-unit.ts +184 -0
- package/scripts/test-cli-exit.mjs +235 -0
- package/scripts/test-daq-frame-race.mjs +310 -0
- package/scripts/test-data-root.mjs +208 -0
- package/scripts/test-log-flooding.mjs +160 -0
- package/scripts/test-lru.mjs +78 -0
- package/scripts/test-memory-month-query.mjs +62 -0
- package/scripts/test-plugin-hardening.mjs +45 -0
- package/scripts/test-rollback-index.mjs +79 -0
- package/scripts/test-sdk-surface.mjs +155 -0
- package/scripts/three-system-e2e.mjs +662 -0
- package/scripts/town-scene-clear.mjs +1 -1
- package/sdk/client.d.mts +110 -0
- package/sdk/client.mjs +144 -124
- package/sdk/context.mjs +161 -1
- package/sdk/index.d.mts +37 -5
- package/sdk/index.mjs +44 -41
- package/sdk/lifecycle.mjs +4 -1
- package/server/api/plugins/[name]/[...path].ts +46 -31
- package/server/api/plugins/i18n.get.ts +12 -0
- package/server/api/system/config-groups/[id].delete.ts +21 -0
- package/server/api/system/config-groups/[id].patch.ts +26 -0
- package/server/api/system/config-groups/index.get.ts +21 -0
- package/server/api/system/config-groups/index.post.ts +33 -0
- package/server/api/system/settings/events.get.ts +8 -4
- package/server/api/workshop/agent-tools/bindings/[id].delete.ts +6 -1
- package/server/api/workshop/agent-tools/bindings/[id].patch.ts +12 -3
- package/server/api/workshop/agent-tools/bindings/index.get.ts +29 -2
- package/server/api/workshop/agent-tools/invoke.post.ts +30 -5
- package/server/api/workshop/aml/datasets/[id]/preview.get.ts +68 -0
- package/server/api/workshop/aml/datasets/[id].get.ts +24 -0
- package/server/api/workshop/aml/datasets/index.get.ts +20 -0
- package/server/api/workshop/aml/datasets/index.post.ts +27 -0
- package/server/api/workshop/aml/experiments/index.get.ts +35 -0
- package/server/api/workshop/aml/index.get.ts +24 -0
- package/server/api/workshop/aml/jobs/[id]/cancel.post.ts +21 -0
- package/server/api/workshop/aml/jobs/[id]/logs.get.ts +23 -0
- package/server/api/workshop/aml/jobs/[id]/retry.post.ts +20 -0
- package/server/api/workshop/aml/jobs/[id].get.ts +23 -0
- package/server/api/workshop/aml/jobs/index.get.ts +26 -0
- package/server/api/workshop/aml/jobs/index.post.ts +44 -0
- package/server/api/workshop/aml/models/[id]/predict.post.ts +24 -0
- package/server/api/workshop/aml/models/[id]/promote.post.ts +30 -0
- package/server/api/workshop/aml/models/index.get.ts +48 -0
- package/server/api/workshop/channels/[id]/plugins/index.get.ts +35 -0
- package/server/api/workshop/channels/[id]/plugins/index.put.ts +39 -0
- package/server/api/workshop/channels.post.ts +17 -0
- package/server/api/workshop/daq/[id].delete.ts +6 -0
- package/server/api/workshop/dcw/[id].patch.ts +14 -2
- package/server/api/workshop/hitl/respond.post.ts +3 -1
- package/server/api/workshop/teams/[id]/plugins/index.get.ts +36 -0
- package/server/api/workshop/teams/[id]/plugins/index.put.ts +42 -0
- package/server/api/workshop/teams/index.post.ts +13 -0
- package/server/api/workshop/users/me.get.ts +5 -0
- package/server/api/workshop/ws.ts +14 -2
- package/server/data/daqs.json +1648 -123
- package/server/data/dcw-lines.json +308 -0
- package/server/data/dcw-products.json +147 -0
- package/server/data/dcw-recipes.json +891 -1
- package/server/data/dcw-rollback.json +11903 -5540
- package/server/data/dcw-runs.json +3745 -3559
- package/server/data/dcw-templates.json +120 -0
- package/server/data/dcw-writes.json +1872 -0
- package/server/data/dcws.json +1723 -434
- package/server/data/line-runs.json +137 -27
- package/server/data/scene-layouts.json +66 -0
- package/server/harness/pi-aw-tools.mjs +51 -0
- package/server/plugins/aw-plugins.ts +35 -27
- package/server/plugins/dev-stability-guard.ts +63 -63
- package/server/plugins/system-config.ts +10 -11
- package/server/plugins/workshop.ts +10 -0
- package/server/plugins-builtin/diag-bridge/client.mjs +84 -0
- package/server/plugins-builtin/diag-bridge/i18n.json +72 -0
- package/server/plugins-builtin/diag-bridge/index.mjs +661 -0
- package/server/plugins-builtin/rag-bridge/client.mjs +108 -0
- package/server/plugins-builtin/rag-bridge/i18n.json +60 -0
- package/server/plugins-builtin/rag-bridge/index.mjs +411 -0
- package/server/services/system-config.ts +610 -396
- package/server/services/workshop/agents/adapters/line-spawn.ts +15 -6
- package/server/services/workshop/agents/adapters/one-shot-cli-agent.ts +530 -0
- package/server/services/workshop/agents/base-agent.ts +210 -0
- package/server/services/workshop/agents/binding-authz.ts +57 -0
- package/server/services/workshop/agents/claude-agent.ts +546 -30
- package/server/services/workshop/agents/codex-agent.ts +729 -822
- package/server/services/workshop/agents/copilot-agent.ts +136 -0
- package/server/services/workshop/agents/crush-agent.ts +107 -0
- package/server/services/workshop/agents/cursor-agent.ts +102 -0
- package/server/services/workshop/agents/dsh-agent.ts +578 -670
- package/server/services/workshop/agents/gemini-agent.ts +121 -0
- package/server/services/workshop/agents/goose-agent.ts +98 -0
- package/server/services/workshop/agents/harness-models.ts +305 -270
- package/server/services/workshop/agents/hermes-agent.ts +528 -0
- package/server/services/workshop/agents/host-tool-bridge.ts +710 -642
- package/server/services/workshop/agents/industrial-tools.ts +659 -7
- package/server/services/workshop/agents/omp-agent.ts +1193 -1178
- package/server/services/workshop/agents/opencode-agent.ts +936 -987
- package/server/services/workshop/agents/pi-agent.ts +108 -0
- package/server/services/workshop/agents/plugin-tools.ts +10 -1
- package/server/services/workshop/agents/qwen-agent.ts +540 -0
- package/server/services/workshop/agents/registry.ts +117 -5
- package/server/services/workshop/agents/tool-approvals.ts +3 -3
- package/server/services/workshop/aml/aml.repo.ts +368 -0
- package/server/services/workshop/aml/clean.ts +120 -0
- package/server/services/workshop/aml/dataset-builder.ts +491 -0
- package/server/services/workshop/aml/gates.ts +121 -0
- package/server/services/workshop/aml/job-orchestrator.ts +650 -0
- package/server/services/workshop/aml/model-registry.ts +169 -0
- package/server/services/workshop/aml/predictor.ts +262 -0
- package/server/services/workshop/aml/python/aml_eval.py +171 -0
- package/server/services/workshop/aml/python/amlkit.py +120 -0
- package/server/services/workshop/aml/python/requirements.txt +7 -0
- package/server/services/workshop/aml/python/train-example.py +92 -0
- package/server/services/workshop/aml/python-runtime.ts +217 -0
- package/server/services/workshop/aml/retention.ts +98 -0
- package/server/services/workshop/aml/runtime.ts +45 -0
- package/server/services/workshop/aml/spec.ts +63 -0
- package/server/services/workshop/aml/stats.ts +140 -0
- package/server/services/workshop/daq/bus/mqtt.adapter.ts +8 -1
- package/server/services/workshop/daq/daq-controller.ts +147 -19
- package/server/services/workshop/daq/daq-node.repo.ts +13 -11
- package/server/services/workshop/daq/daq-runtime.ts +11 -0
- package/server/services/workshop/daq/drivers.ts +89 -8
- package/server/services/workshop/db/aml-team-seeds.ts +118 -0
- package/server/services/workshop/db/channel-plugins.repo.ts +91 -0
- package/server/services/workshop/db/database.ts +89 -1
- package/server/services/workshop/db/memory.repo.ts +31 -0
- package/server/services/workshop/db/user.repo.ts +9 -0
- package/server/services/workshop/dcw/dcw-controller.ts +33 -7
- package/server/services/workshop/dcw/dcw-line.repo.ts +5 -3
- package/server/services/workshop/dcw/dcw-node.repo.ts +4 -4
- package/server/services/workshop/dcw/dcw-product.repo.ts +8 -8
- package/server/services/workshop/dcw/dcw-recipe.repo.ts +6 -7
- package/server/services/workshop/dcw/dcw-runtime.ts +16 -2
- package/server/services/workshop/dcw/dcw-templates.ts +4 -4
- package/server/services/workshop/dcw/line-run.ts +5 -5
- package/server/services/workshop/dcw/recipe-rollback-manager.ts +3 -1
- package/server/services/workshop/dcw/recipe-rollback.repo.ts +155 -52
- package/server/services/workshop/logger.ts +145 -3
- package/server/services/workshop/plugins/host.mjs +857 -518
- package/server/services/workshop/prompts/loader.ts +32 -6
- package/server/services/workshop/runtime/manager.ts +3016 -2968
- package/server/services/workshop/runtime/scheduler-loop.ts +18 -1
- package/server/services/workshop/scene/scene-layout.repo.ts +5 -5
- package/server/services/workshop/settings.ts +64 -0
- package/shared/config/engine.mjs +5 -0
- package/shared/config/groups.mjs +220 -0
- package/shared/config/home.mjs +11 -2
- package/shared/config/schema.json +31 -2
- package/shared/daq-protocol.ts +6 -0
- package/shared/lru.mjs +94 -0
- package/shared/workshop-protocol.ts +2 -2
- package/.output/public/_nuxt/BAfp6tmu.js +0 -14
- package/.output/public/_nuxt/BUcmySDa2.js +0 -209
- package/.output/public/_nuxt/Bc-_IsBP.js +0 -19
- package/.output/public/_nuxt/BvNJUu3s.js +0 -1
- package/.output/public/_nuxt/BytVi9VX2.js +0 -4
- package/.output/public/_nuxt/C1CSiSBN.js +0 -1
- package/.output/public/_nuxt/CAGL7TNK.js +0 -1
- package/.output/public/_nuxt/CDLv-n51.js +0 -1
- package/.output/public/_nuxt/CJviSvm-.js +0 -1
- package/.output/public/_nuxt/CLZWFhZC.js +0 -1
- package/.output/public/_nuxt/CYzpZzB_.js +0 -1
- package/.output/public/_nuxt/Cb3SnTM8.js +0 -1
- package/.output/public/_nuxt/CjXIpPMR.js +0 -1
- package/.output/public/_nuxt/CxY6LfeN.js +0 -1
- package/.output/public/_nuxt/D6HDb-vN2.js +0 -1
- package/.output/public/_nuxt/D95h62Jn.js +0 -1
- package/.output/public/_nuxt/DAR70Lf52.js +0 -1
- package/.output/public/_nuxt/DGAOugLt.js +0 -1
- package/.output/public/_nuxt/DKHcFE1i.js +0 -1
- package/.output/public/_nuxt/DSa2O56y.js +0 -1
- package/.output/public/_nuxt/DUToq-k_.js +0 -1
- package/.output/public/_nuxt/Dfe8vXdG.js +0 -1
- package/.output/public/_nuxt/DjtE7AYt.js +0 -1
- package/.output/public/_nuxt/DvgKXPgu2.js +0 -13
- package/.output/public/_nuxt/JOwsShod.js +0 -2
- package/.output/public/_nuxt/X6IraCTB.js +0 -1
- package/.output/public/_nuxt/_id_.C-YXjn8Q.css +0 -1
- package/.output/public/_nuxt/_wsId_.BqWBlY7X.css +0 -1
- package/.output/public/_nuxt/agents.CB9Ck7VQ.css +0 -1
- package/.output/public/_nuxt/b50gYVZl.js +0 -1
- package/.output/public/_nuxt/builds/meta/024de5f7-6a10-4f53-82ab-bc65f3ec9e35.json +0 -1
- package/.output/public/_nuxt/daq.3OKj58HH.css +0 -1
- package/.output/public/_nuxt/default.BbgdTDCk.css +0 -1
- package/.output/public/_nuxt/entry.AZM1Culo.css +0 -1
- package/.output/public/_nuxt/pages.CG8UJ2TK.css +0 -1
- package/.output/public/_nuxt/plugins.DpCuwaJt.css +0 -1
- package/.output/public/_nuxt/settings.BqMF2nfj.css +0 -1
- package/.output/public/_nuxt/teams.DN0pAGGu.css +0 -1
- package/.output/server/chunks/build/_id_-DQDqj-cZ.mjs.map +0 -1
- package/.output/server/chunks/build/_id_-DY6v6sqB.mjs.map +0 -1
- package/.output/server/chunks/build/agents-GnmUGZir.mjs.map +0 -1
- package/.output/server/chunks/build/alert-qJnjyRcP.mjs.map +0 -1
- package/.output/server/chunks/build/channel-templates-B4z6v8Z5.mjs.map +0 -1
- package/.output/server/chunks/build/daq-B-3xCp_2.mjs.map +0 -1
- package/.output/server/chunks/build/dcw-BL2dhuz7.mjs.map +0 -1
- package/.output/server/chunks/build/logs-Dto_umFY.mjs.map +0 -1
- package/.output/server/chunks/build/pages-Dc2H1QFu.mjs.map +0 -1
- package/.output/server/chunks/build/permissions-BTRW2CVd.mjs.map +0 -1
- package/.output/server/chunks/build/plugins-DZR0T4Mh.mjs.map +0 -1
- package/.output/server/chunks/build/responsiveObserve-CS0UB6wQ.mjs +0 -78
- package/.output/server/chunks/build/responsiveObserve-CS0UB6wQ.mjs.map +0 -1
- package/.output/server/chunks/build/settings-UfGyDgM7.mjs +0 -567
- package/.output/server/chunks/build/settings-UfGyDgM7.mjs.map +0 -1
- package/.output/server/chunks/build/tag-NO9jEqKy.mjs.map +0 -1
- package/.output/server/chunks/build/teams-Cbg27MWW.mjs.map +0 -1
- package/.output/server/chunks/build/tokens-Bmm6rDfj.mjs.map +0 -1
- package/.output/server/chunks/build/town-Dsh0jlwZ.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqStream-DkRL3tEW.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwStream-DyB2ufQI.mjs.map +0 -1
- package/.output/server/chunks/build/users-B50HHrfi.mjs.map +0 -1
- /package/.output/public/_nuxt/{ORt9oDIy.js → ORt9oDIy2.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{C as e,F as t,H as n,Ht as r,St as i,Wt as a,a as o,b as s,et as c,f as l,g as u,h as d,lt as f,m as p,mt as m,nt as h,p as g,t as _,x as v,z as y}from"./BSCpFtzG.js";import{d as b,p as x}from"./-6OnbLFb.js";import{s as S}from"./C3tCneTM.js";import{n as C}from"./BeIfu4N3.js";import{t as w}from"./DXRZPxGs.js";import{At as T,Ct as E,d as D,n as O,t as k,u as A}from"./BDUjyaF4.js";import{t as ee}from"./VLI2Zy4t.js";import{t as te}from"./BMb80_tm.js";import{f as j,h as M,o as N,r as P,s as F}from"./D-Ca4BGY.js";import{t as ne}from"./BCJFMBQ6.js";import{t as re}from"./Cb3SnTM8.js";import{t as ie}from"./6PZPfFcO.js";import{t as ae}from"./ORt9oDIy.js";import{t as oe}from"./DoLasgPj2.js";import{t as se}from"./BcrN7QEl2.js";import{t as ce}from"./CNs_Ozdc2.js";import{t as le}from"./DNQF_TXX.js";var I={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`warning`,theme:`filled`};function L(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:Object(arguments[t]),r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){R(e,t,n[t])})}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z=function(e,t){var n=L({},e,t.attrs);return v(M,L({},n,{icon:I}),null)};z.displayName=`WarningFilled`,z.inheritAttrs=!1;var B=()=>v(`svg`,{width:`252`,height:`294`},[v(`defs`,null,[v(`path`,{d:`M0 .387h251.772v251.772H0z`},null)]),v(`g`,{fill:`none`,"fill-rule":`evenodd`},[v(`g`,{transform:`translate(0 .012)`},[v(`mask`,{fill:`#fff`},null),v(`path`,{d:`M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321`,fill:`#E4EBF7`,mask:`url(#b)`},null)]),v(`path`,{d:`M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66`,fill:`#FFF`},null),v(`path`,{d:`M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788`,stroke:`#FFF`,"stroke-width":`2`},null),v(`path`,{d:`M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175`,fill:`#FFF`},null),v(`path`,{d:`M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932`,fill:`#FFF`},null),v(`path`,{d:`M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011`,stroke:`#FFF`,"stroke-width":`2`},null),v(`path`,{d:`M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382`,fill:`#FFF`},null),v(`path`,{d:`M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z`,stroke:`#FFF`,"stroke-width":`2`},null),v(`path`,{stroke:`#FFF`,"stroke-width":`2`,d:`M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39`},null),v(`path`,{d:`M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742`,fill:`#FFF`},null),v(`path`,{d:`M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48`,fill:`#1890FF`},null),v(`path`,{d:`M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894`,fill:`#FFF`},null),v(`path`,{d:`M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88`,fill:`#FFB594`},null),v(`path`,{d:`M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624`,fill:`#FFC6A0`},null),v(`path`,{d:`M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682`,fill:`#FFF`},null),v(`path`,{d:`M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573`,fill:`#CBD1D1`},null),v(`path`,{d:`M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z`,fill:`#2B0849`},null),v(`path`,{d:`M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558`,fill:`#A4AABA`},null),v(`path`,{d:`M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z`,fill:`#CBD1D1`},null),v(`path`,{d:`M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062`,fill:`#2B0849`},null),v(`path`,{d:`M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15`,fill:`#A4AABA`},null),v(`path`,{d:`M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165`,fill:`#7BB2F9`},null),v(`path`,{d:`M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M107.275 222.1s2.773-1.11 6.102-3.884`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038`,fill:`#192064`},null),v(`path`,{d:`M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81`,fill:`#FFF`},null),v(`path`,{d:`M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642`,fill:`#192064`},null),v(`path`,{d:`M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268`,fill:`#FFC6A0`},null),v(`path`,{d:`M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456`,fill:`#FFC6A0`},null),v(`path`,{d:`M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z`,fill:`#520038`},null),v(`path`,{d:`M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254`,fill:`#552950`},null),v(`path`,{stroke:`#DB836E`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M110.13 74.84l-.896 1.61-.298 4.357h-2.228`},null),v(`path`,{d:`M110.846 74.481s1.79-.716 2.506.537`,stroke:`#5C2552`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67`,stroke:`#DB836E`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M103.287 72.93s1.83 1.113 4.137.954`,stroke:`#5C2552`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639`,stroke:`#DB836E`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206`,stroke:`#E4EBF7`,"stroke-width":`1.101`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M129.405 122.865s-5.272 7.403-9.422 10.768`,stroke:`#E4EBF7`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M119.306 107.329s.452 4.366-2.127 32.062`,stroke:`#E4EBF7`,"stroke-width":`1.101`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01`,fill:`#F2D7AD`},null),v(`path`,{d:`M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92`,fill:`#F4D19D`},null),v(`path`,{d:`M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z`,fill:`#F2D7AD`},null),v(`path`,{fill:`#CC9B6E`,d:`M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z`},null),v(`path`,{d:`M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83`,fill:`#F4D19D`},null),v(`path`,{fill:`#CC9B6E`,d:`M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z`},null),v(`path`,{fill:`#CC9B6E`,d:`M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z`},null),v(`path`,{d:`M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238`,fill:`#FFC6A0`},null),v(`path`,{d:`M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044`,stroke:`#DB836E`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617`,stroke:`#DB836E`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754`,stroke:`#DB836E`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647`,fill:`#5BA02E`},null),v(`path`,{d:`M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647`,fill:`#92C110`},null),v(`path`,{d:`M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187`,fill:`#F2D7AD`},null),v(`path`,{d:`M88.979 89.48s7.776 5.384 16.6 2.842`,stroke:`#E4EBF7`,"stroke-width":`1.101`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null)])]),V=()=>v(`svg`,{width:`254`,height:`294`},[v(`defs`,null,[v(`path`,{d:`M0 .335h253.49v253.49H0z`},null),v(`path`,{d:`M0 293.665h253.49V.401H0z`},null)]),v(`g`,{fill:`none`,"fill-rule":`evenodd`},[v(`g`,{transform:`translate(0 .067)`},[v(`mask`,{fill:`#fff`},null),v(`path`,{d:`M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134`,fill:`#E4EBF7`,mask:`url(#b)`},null)]),v(`path`,{d:`M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671`,fill:`#FFF`},null),v(`path`,{d:`M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861`,stroke:`#FFF`,"stroke-width":`2`},null),v(`path`,{d:`M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238`,fill:`#FFF`},null),v(`path`,{d:`M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775`,fill:`#FFF`},null),v(`path`,{d:`M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68`,fill:`#FF603B`},null),v(`path`,{d:`M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733`,fill:`#FFF`},null),v(`path`,{d:`M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487`,fill:`#FFB594`},null),v(`path`,{d:`M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235`,fill:`#FFF`},null),v(`path`,{d:`M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246`,fill:`#FFB594`},null),v(`path`,{d:`M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508`,fill:`#FFC6A0`},null),v(`path`,{d:`M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z`,fill:`#520038`},null),v(`path`,{d:`M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26`,fill:`#552950`},null),v(`path`,{stroke:`#DB836E`,"stroke-width":`1.063`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M99.206 73.644l-.9 1.62-.3 4.38h-2.24`},null),v(`path`,{d:`M99.926 73.284s1.8-.72 2.52.54`,stroke:`#5C2552`,"stroke-width":`1.117`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68`,stroke:`#DB836E`,"stroke-width":`1.117`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M92.326 71.724s1.84 1.12 4.16.96`,stroke:`#5C2552`,"stroke-width":`1.117`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954`,stroke:`#DB836E`,"stroke-width":`1.063`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044`,stroke:`#E4EBF7`,"stroke-width":`1.136`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583`,fill:`#FFF`},null),v(`path`,{d:`M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75`,fill:`#FFC6A0`},null),v(`path`,{d:`M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713`,fill:`#FFC6A0`},null),v(`path`,{d:`M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51`,stroke:`#E4EBF7`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16`,fill:`#FFC6A0`},null),v(`path`,{d:`M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575`,fill:`#FFF`},null),v(`path`,{d:`M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47`,fill:`#CBD1D1`},null),v(`path`,{d:`M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z`,fill:`#2B0849`},null),v(`path`,{d:`M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671`,fill:`#A4AABA`},null),v(`path`,{d:`M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z`,fill:`#CBD1D1`},null),v(`path`,{d:`M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162`,fill:`#2B0849`},null),v(`path`,{d:`M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156`,fill:`#A4AABA`},null),v(`path`,{d:`M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69`,fill:`#7BB2F9`},null),v(`path`,{d:`M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034`,stroke:`#648BD8`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M96.973 219.373s2.882-1.153 6.34-4.034`,stroke:`#648BD8`,"stroke-width":`1.032`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07`,stroke:`#648BD8`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62`,fill:`#192064`},null),v(`path`,{d:`M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843`,fill:`#FFF`},null),v(`path`,{d:`M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668`,fill:`#192064`},null),v(`path`,{d:`M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513`,stroke:`#648BD8`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72`,stroke:`#E4EBF7`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69`,fill:`#FFC6A0`},null),v(`path`,{d:`M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593`,stroke:`#DB836E`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762`,stroke:`#E59788`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594`,fill:`#FFC6A0`},null),v(`path`,{d:`M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12`,stroke:`#E59788`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M109.278 112.533s3.38-3.613 7.575-4.662`,stroke:`#E4EBF7`,"stroke-width":`1.085`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M107.375 123.006s9.697-2.745 11.445-.88`,stroke:`#E59788`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955`,stroke:`#BFCDDD`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01`,fill:`#A3B4C6`},null),v(`path`,{d:`M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813`,fill:`#A3B4C6`},null),v(`mask`,{fill:`#fff`},null),v(`path`,{fill:`#A3B4C6`,mask:`url(#d)`,d:`M154.098 190.096h70.513v-84.617h-70.513z`},null),v(`path`,{d:`M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208`,fill:`#BFCDDD`,mask:`url(#d)`},null),v(`path`,{d:`M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802`,fill:`#FFF`,mask:`url(#d)`},null),v(`path`,{d:`M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209`,fill:`#BFCDDD`,mask:`url(#d)`},null),v(`path`,{d:`M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751`,stroke:`#7C90A5`,"stroke-width":`1.124`,"stroke-linecap":`round`,"stroke-linejoin":`round`,mask:`url(#d)`},null),v(`path`,{d:`M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802`,fill:`#FFF`,mask:`url(#d)`},null),v(`path`,{d:`M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407`,fill:`#BFCDDD`,mask:`url(#d)`},null),v(`path`,{d:`M177.259 207.217v11.52M201.05 207.217v11.52`,stroke:`#A3B4C6`,"stroke-width":`1.124`,"stroke-linecap":`round`,"stroke-linejoin":`round`,mask:`url(#d)`},null),v(`path`,{d:`M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422`,fill:`#5BA02E`,mask:`url(#d)`},null),v(`path`,{d:`M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423`,fill:`#92C110`,mask:`url(#d)`},null),v(`path`,{d:`M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209`,fill:`#F2D7AD`,mask:`url(#d)`},null)])]),H=()=>v(`svg`,{width:`251`,height:`294`},[v(`g`,{fill:`none`,"fill-rule":`evenodd`},[v(`path`,{d:`M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023`,fill:`#E4EBF7`},null),v(`path`,{d:`M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65`,fill:`#FFF`},null),v(`path`,{d:`M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73`,stroke:`#FFF`,"stroke-width":`2`},null),v(`path`,{d:`M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126`,fill:`#FFF`},null),v(`path`,{d:`M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873`,fill:`#FFF`},null),v(`path`,{d:`M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36`,stroke:`#FFF`,"stroke-width":`2`},null),v(`path`,{d:`M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375`,fill:`#FFF`},null),v(`path`,{d:`M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z`,stroke:`#FFF`,"stroke-width":`2`},null),v(`path`,{stroke:`#FFF`,"stroke-width":`2`,d:`M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668`},null),v(`path`,{d:`M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321`,fill:`#A26EF4`},null),v(`path`,{d:`M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734`,fill:`#FFF`},null),v(`path`,{d:`M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717`,fill:`#FFF`},null),v(`path`,{d:`M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61`,fill:`#5BA02E`},null),v(`path`,{d:`M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611`,fill:`#92C110`},null),v(`path`,{d:`M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17`,fill:`#F2D7AD`},null),v(`path`,{d:`M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085`,fill:`#FFF`},null),v(`path`,{d:`M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233`,fill:`#FFC6A0`},null),v(`path`,{d:`M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367`,fill:`#FFB594`},null),v(`path`,{d:`M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95`,fill:`#FFC6A0`},null),v(`path`,{d:`M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929`,fill:`#FFF`},null),v(`path`,{d:`M78.18 94.656s.911 7.41-4.914 13.078`,stroke:`#E4EBF7`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437`,stroke:`#E4EBF7`,"stroke-width":`.932`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z`,fill:`#FFC6A0`},null),v(`path`,{d:`M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91`,fill:`#FFB594`},null),v(`path`,{d:`M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103`,fill:`#5C2552`},null),v(`path`,{d:`M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145`,fill:`#FFC6A0`},null),v(`path`,{stroke:`#DB836E`,"stroke-width":`1.145`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M100.843 77.099l1.701-.928-1.015-4.324.674-1.406`},null),v(`path`,{d:`M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32`,fill:`#552950`},null),v(`path`,{d:`M91.132 86.786s5.269 4.957 12.679 2.327`,stroke:`#DB836E`,"stroke-width":`1.145`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25`,fill:`#DB836E`},null),v(`path`,{d:`M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073`,stroke:`#5C2552`,"stroke-width":`1.526`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254`,stroke:`#DB836E`,"stroke-width":`1.145`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008`,stroke:`#E4EBF7`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M66.508 86.763s-1.598 8.83-6.697 14.078`,stroke:`#E4EBF7`,"stroke-width":`1.114`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M128.31 87.934s3.013 4.121 4.06 11.785`,stroke:`#E4EBF7`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M64.09 84.816s-6.03 9.912-13.607 9.903`,stroke:`#DB836E`,"stroke-width":`.795`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73`,fill:`#FFC6A0`},null),v(`path`,{d:`M130.532 85.488s4.588 5.757 11.619 6.214`,stroke:`#DB836E`,"stroke-width":`.75`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M121.708 105.73s-.393 8.564-1.34 13.612`,stroke:`#E4EBF7`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M115.784 161.512s-3.57-1.488-2.678-7.14`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68`,fill:`#CBD1D1`},null),v(`path`,{d:`M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z`,fill:`#2B0849`},null),v(`path`,{d:`M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62`,fill:`#A4AABA`},null),v(`path`,{d:`M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z`,fill:`#CBD1D1`},null),v(`path`,{d:`M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078`,fill:`#2B0849`},null),v(`path`,{d:`M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15`,fill:`#A4AABA`},null),v(`path`,{d:`M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954`,fill:`#7BB2F9`},null),v(`path`,{d:`M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M108.459 220.905s2.759-1.104 6.07-3.863`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),v(`path`,{d:`M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017`,fill:`#192064`},null),v(`path`,{d:`M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806`,fill:`#FFF`},null),v(`path`,{d:`M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64`,fill:`#192064`},null),v(`path`,{d:`M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956`,stroke:`#648BD8`,"stroke-width":`1.051`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null)])]),U=e=>{let{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:i,paddingXL:a,paddingXS:o,paddingLG:s,marginXS:c,lineHeight:l}=e;return{[t]:{padding:`${s*2}px ${a}px`,"&-rtl":{direction:`rtl`}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:`auto`},[`${t} ${t}-icon`]:{marginBottom:s,textAlign:`center`,[`& > ${r}`]:{fontSize:e.resultIconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.resultTitleFontSize,lineHeight:n,marginBlock:c,textAlign:`center`},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.resultSubtitleFontSize,lineHeight:l,textAlign:`center`},[`${t} ${t}-content`]:{marginTop:s,padding:`${s}px ${i*2.5}px`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.resultExtraMargin,textAlign:`center`,"& > *":{marginInlineEnd:o,"&:last-child":{marginInlineEnd:0}}}}},W=e=>{let{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},G=e=>[U(e),W(e)],K=e=>G(e),q=D(`Result`,e=>{let{paddingLG:t,fontSizeHeading3:n}=e,r=e.fontSize,i=`${t}px 0 0 0`,a=e.colorInfo,o=e.colorError,s=e.colorSuccess,c=e.colorWarning;return[K(A(e,{resultTitleFontSize:n,resultSubtitleFontSize:r,resultIconFontSize:n*3,resultExtraMargin:i,resultInfoIconColor:a,resultErrorIconColor:o,resultSuccessIconColor:s,resultWarningIconColor:c}))]},{imageWidth:250,imageHeight:295}),J={success:F,error:j,info:N,warning:z},Y={404:B,500:V,403:H},X=Object.keys(Y),Z=()=>({prefixCls:String,icon:k.any,status:{type:[Number,String],default:`info`},title:k.any,subTitle:k.any,extra:k.any}),Q=(e,t)=>{let{status:n,icon:r}=t;if(X.includes(`${n}`)){let t=Y[n];return v(`div`,{class:`${e}-icon ${e}-image`},[v(t,null,null)])}let i=J[n],a=r||v(i,null,null);return v(`div`,{class:`${e}-icon`},[a])},ue=(e,t)=>t&&v(`div`,{class:`${e}-extra`},[t]),$=e({compatConfig:{MODE:3},name:`AResult`,inheritAttrs:!1,props:Z(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t,{prefixCls:i,direction:a}=O(`result`,e),[o,s]=q(i),c=l(()=>E(i.value,s.value,`${i.value}-${e.status}`,{[`${i.value}-rtl`]:a.value===`rtl`}));return()=>{let t=e.title??n.title?.call(n),a=e.subTitle??n.subTitle?.call(n),s=e.icon??n.icon?.call(n),l=e.extra??n.extra?.call(n),u=i.value;return o(v(`div`,T(T({},r),{},{class:[c.value,r.class]}),[Q(u,{status:e.status,icon:s}),v(`div`,{class:`${u}-title`},[t]),a&&v(`div`,{class:`${u}-subtitle`},[a]),ue(u,l),n.default&&v(`div`,{class:`${u}-content`},[n.default()])]))}}});$.PRESENTED_IMAGE_403=Y[403],$.PRESENTED_IMAGE_404=Y[404],$.PRESENTED_IMAGE_500=Y[500],$.install=function(e){return e.component($.name,$),e};var de={class:`monitor`},fe={class:`aw-page-head`},pe={class:`aw-kicker`},me={class:`head-right`},he={class:`toggle-label`},ge={class:`stat-grid`},_e={class:`stat-label`},ve={class:`stat-value aw-mono`},ye={class:`stat-label`},be={class:`stat-value aw-mono`},xe={class:`stat-label`},Se={class:`stat-value aw-mono`},Ce={key:0,class:`orphan-badge`},we={class:`stat-label`},Te={class:`stat-value aw-mono small`},Ee={class:`stat-updated`},De={class:`aw-mono count-extra`},Oe={key:0,class:`aw-mono`},ke={key:2,class:`aw-mono`},Ae={class:`aw-mono count-extra`},je={key:3,class:`aw-mono`},Me={key:4,class:`aw-mono`},Ne={key:0},Pe={key:1,class:`aw-mono`},Fe={class:`aw-mono count-extra`},Ie={key:0,class:`aw-mono`},Le={key:0,class:`aw-mono agent-sub`},Re={key:0},ze={key:1},Be={key:4,class:`aw-mono small`},Ve={key:5,class:`aw-mono small`},He=_(e({__name:`monitor`,setup(e){ce({layout:`default`});let{t:_}=C(),T=x(),E=se(),D=l(()=>E.isAdmin),O=m(null),k=m(!1),A=m(!0),j=m(``),M=async()=>{if(E.token){k.value=!0;try{let e=await S(`/api/system/monitor`,{headers:{authorization:`Bearer ${E.token}`}});O.value=e.data,j.value=new Date().toLocaleTimeString()}catch(e){P.error(e instanceof Error?e.message:_(`monitor.loadFailed`))}finally{k.value=!1}}},N=null,F=()=>{N&&=(clearInterval(N),null),A.value&&E.token&&(N=w(()=>void M(),5e3))};c(A,()=>F()),c(()=>E.token,()=>{E.token?M():O.value=null,F()}),y(()=>{E.token&&M().then(()=>U()),F()}),t(()=>{N&&clearInterval(N)});let I=m(!1),L=async e=>{I.value=!0;try{let t=await S(`/api/system/monitor/terminate`,{method:`POST`,headers:{authorization:`Bearer ${E.token}`},body:{channelId:e.channelId,agentId:e.agentId}});P.success(t.code===0?`${e.name} ${_(`monitor.terminated`)}`:t.message??_(`monitor.failed`)),await M()}catch(e){P.error(e instanceof Error?e.message:_(`monitor.failed`))}finally{I.value=!1}},R=async e=>{I.value=!0;try{let t=await S(`/api/system/monitor/terminate`,{method:`POST`,headers:{authorization:`Bearer ${E.token}`},body:{pid:e.pid}});P.success(t.code===0?`PID ${e.pid} ${_(`monitor.terminated`)}`:t.message??_(`monitor.failed`)),await M()}catch(e){P.error(e instanceof Error?e.message:_(`monitor.failed`))}finally{I.value=!1}},z=m(!1),B=m(null),V=m(``),H=(e,t,n)=>{B.value=e,V.value=[t,n].filter(Boolean).join(` · `)||`omp harness`,z.value=!0},U=()=>{let e=T.query.agentId;if(typeof e!=`string`||!e)return;let t=typeof T.query.channelId==`string`?T.query.channelId:``,n=O.value?.processes.find(n=>n.agentId===e&&(!t||n.channelId===t));n?.pid&&(H(n.pid,n.name,n.role),b({path:`/monitor`},{replace:!0}))},W=e=>e&&e.length>8?`${e.slice(0,8)}…`:e??`-`,G={idle:`success`,busy:`processing`,stopped:`error`},K={idle:_(`monitor.stateIdle`),busy:_(`monitor.stateBusy`),stopped:_(`monitor.stateStopped`)},q=e=>{let t=Math.floor(e/1e3),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return n>0?`${n}h ${r}m`:r>0?`${r}m ${i}s`:`${i}s`},J=e=>new Date(e).toLocaleTimeString(),Y=l(()=>D.value?[{title:_(`monitor.k1dg9sr8001`),dataIndex:`ownerName`,key:`ownerName`,width:110}]:[]),X=l(()=>[{title:_(`monitor.chChannel`),dataIndex:`channelId`,key:`channelId`},{title:_(`monitor.members`),dataIndex:`memberCount`,key:`memberCount`,width:100},{title:_(`monitor.wired`),dataIndex:`wiredAgentCount`,key:`wiredAgentCount`,width:90},{title:_(`monitor.scheduler`),dataIndex:`hasScheduler`,key:`hasScheduler`,width:110},{title:_(`monitor.lead`),dataIndex:`leadAgentId`,key:`leadAgentId`},...Y.value]),Z=l(()=>[{title:_(`monitor.name`),dataIndex:`name`,key:`name`},{title:_(`monitor.role`),dataIndex:`role`,key:`role`,width:90},{title:_(`monitor.harness`),dataIndex:`harness`,key:`harness`,width:90},{title:_(`monitor.state`),dataIndex:`state`,key:`state`,width:110},{title:_(`monitor.currentTask`),dataIndex:`currentTaskId`,key:`currentTaskId`},{title:_(`monitor.queue`),dataIndex:`queuedCount`,key:`queuedCount`,width:90},{title:`PID`,dataIndex:`process`,key:`pid`,width:130},{title:_(`monitor.channel`),dataIndex:`channelId`,key:`channelId`,width:130},...Y.value,{title:_(`monitor.actions`),key:`actions`,width:190,fixed:`right`}]),Q=l(()=>[{title:`PID`,dataIndex:`pid`,key:`pid`,width:100},{title:_(`monitor.binding`),dataIndex:`bound`,key:`bound`,width:100},{title:_(`monitor.agent`),dataIndex:`name`,key:`name`},{title:_(`monitor.role`),dataIndex:`role`,key:`role`,width:90},{title:_(`monitor.command`),dataIndex:`command`,key:`command`},{title:_(`monitor.startedAt`),dataIndex:`startedAt`,key:`startedAt`,width:110},{title:_(`monitor.state`),dataIndex:`alive`,key:`alive`,width:100},...Y.value,{title:_(`monitor.actions`),key:`actions`,width:170,fixed:`right`}]);return(e,t)=>{let c=ne,l=oe,m=ee,y=$,x=ie,S=te,C=re,w=ae;return n(),u(`div`,de,[g(`div`,fe,[g(`div`,null,[g(`p`,pe,a(i(_)(`menu.system`))+` / runtime ledger `,1),g(`h1`,null,[s(a(i(_)(`monitor.title`))+` `,1),v(c,{color:i(O)?.scope===`admin`?`volcano`:`blue`,class:`scope-tag`},{default:h(()=>[g(`span`,{class:r(i(O)?.scope===`admin`?`i-tabler-shield-check`:`i-tabler-user`)},null,2),s(` `+a(i(O)?.scope===`admin`?e.$t(`monitor.k16zpmg9002`):e.$t(`monitor.k1dzryry003`)),1)]),_:1},8,[`color`])])]),g(`div`,me,[v(l,{checked:i(A),"onUpdate:checked":t[0]||=e=>f(A)?A.value=e:null,size:`small`},null,8,[`checked`]),g(`span`,he,a(i(_)(`monitor.autoRefresh`)),1),v(m,{size:`small`,loading:i(k),onClick:M},{icon:h(()=>[...t[3]||=[g(`span`,{class:`i-tabler-refresh`},null,-1)]]),default:h(()=>[s(` `+a(i(_)(`monitor.refresh`)),1)]),_:1},8,[`loading`])])]),i(E).token?(n(),u(o,{key:1},[g(`div`,ge,[v(x,{class:`aw-panel stat`},{default:h(()=>[g(`p`,_e,a(i(_)(`monitor.channels`)),1),g(`p`,ve,a(i(O)?.counts.channels??`–`),1)]),_:1}),v(x,{class:`aw-panel stat`},{default:h(()=>[g(`p`,ye,a(i(_)(`monitor.agents`)),1),g(`p`,be,a(i(O)?.counts.agents??`–`),1)]),_:1}),v(x,{class:`aw-panel stat`},{default:h(()=>[g(`p`,xe,a(i(_)(`monitor.aliveProcesses`)),1),g(`p`,Se,[s(a(i(O)?.counts.aliveProcesses??`–`)+` `,1),(i(O)?.counts.orphanProcesses??0)>0?(n(),u(`span`,Ce,` +`+a(i(O)?.counts.orphanProcesses)+` `+a(i(_)(`monitor.orphan`)),1)):d(``,!0)])]),_:1}),v(x,{class:`aw-panel stat`},{default:h(()=>[g(`p`,we,a(i(_)(`monitor.server`)),1),g(`p`,Te,` PID `+a(i(O)?.serverPid??`–`)+` · `+a(i(O)?q(i(O).uptimeMs):``),1),g(`p`,Ee,a(i(j))+` · `+a(i(_)(`monitor.updated`))+` `+a(i(O)?.generatedAt??``),1)]),_:1})]),v(x,{class:`aw-panel`,title:i(_)(`monitor.channelRuntimes`)},{extra:h(()=>[g(`span`,De,a(i(O)?.channels.length??0)+` wired`,1)]),default:h(()=>[v(S,{columns:i(X),"data-source":i(O)?.channels??[],pagination:!1,loading:i(k),"row-key":`channelId`,size:`small`,scroll:{x:720}},{bodyCell:h(({column:e,record:r})=>[e.key===`channelId`?(n(),u(`span`,Oe,a(W(r.channelId)),1)):e.key===`hasScheduler`?(n(),u(o,{key:1},[r.hasScheduler?(n(),p(c,{key:0,color:`purple`},{default:h(()=>[s(a(i(_)(`monitor.scheduling`)),1)]),_:1})):(n(),p(c,{key:1},{default:h(()=>[...t[4]||=[s(` – `,-1)]]),_:1}))],64)):e.key===`leadAgentId`?(n(),u(`span`,ke,a(W(r.leadAgentId)),1)):d(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),v(x,{class:`aw-panel`,title:i(_)(`monitor.agentRuntimes`)},{extra:h(()=>[g(`span`,Ae,a(i(O)?.agents.length??0)+` wired`,1)]),default:h(()=>[v(S,{columns:i(Z),"data-source":i(O)?.agents??[],pagination:!1,loading:i(k),"row-key":`agentId`,size:`small`,scroll:{x:980}},{bodyCell:h(({column:e,record:r})=>[e.key===`role`?(n(),p(c,{key:0,color:r.role===`lead`?`gold`:`blue`},{default:h(()=>[s(a(r.role),1)]),_:2},1032,[`color`])):e.key===`harness`?(n(),p(c,{key:1},{default:h(()=>[s(a(r.harness),1)]),_:2},1024)):e.key===`state`?(n(),p(c,{key:2,color:G[r.state]??`default`},{default:h(()=>[s(a(K[r.state]??r.state),1)]),_:2},1032,[`color`])):e.key===`currentTaskId`?(n(),u(`span`,je,a(W(r.currentTaskId)),1)):e.key===`channelId`?(n(),u(`span`,Me,a(W(r.channelId)),1)):e.key===`pid`?(n(),u(o,{key:5},[r.process?(n(),u(`span`,Ne,[v(c,{color:r.process.alive?`success`:`default`,class:`aw-mono`},{default:h(()=>[s(` PID `+a(r.process.pid),1)]),_:2},1032,[`color`])])):(n(),u(`span`,Pe,`in-proc`))],64)):e.key===`actions`?(n(),p(w,{key:6,size:4},{default:h(()=>[r.process?.alive?(n(),p(m,{key:0,size:`small`,type:`primary`,ghost:``,title:i(_)(`monitor.openTerminalHint`),onClick:e=>H(r.process.pid,r.name,r.role)},{icon:h(()=>[...t[5]||=[g(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:h(()=>[s(` `+a(i(_)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):d(``,!0),v(C,{title:`${i(_)(`monitor.terminateConfirm`)}(${r.name})`,"ok-text":i(_)(`common.confirm`),"cancel-text":i(_)(`common.cancel`),onConfirm:e=>L(r)},{default:h(()=>[v(m,{size:`small`,danger:``,disabled:i(I)},{icon:h(()=>[...t[6]||=[g(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:h(()=>[s(` `+a(i(_)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:1},8,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):d(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),v(x,{class:`aw-panel`,title:i(_)(`monitor.harnessProcesses`)},{extra:h(()=>[g(`span`,Fe,a(i(O)?.processes.length??0)+` spawned · `+a(i(O)?.counts.orphanProcesses??0)+` orphan `,1)]),default:h(()=>[v(S,{columns:i(Q),"data-source":i(O)?.processes??[],pagination:!1,loading:i(k),"row-key":`pid`,size:`small`,scroll:{x:900}},{bodyCell:h(({column:e,record:r})=>[e.key===`pid`?(n(),u(`span`,Ie,a(r.pid),1)):e.key===`bound`?(n(),p(c,{key:1,color:r.bound?`success`:`warning`},{default:h(()=>[s(a(r.bound?i(_)(`monitor.bound`):i(_)(`monitor.orphan`)),1)]),_:2},1032,[`color`])):e.key===`name`?(n(),u(o,{key:2},[g(`span`,null,a(r.name??`–`),1),r.agentId?(n(),u(`span`,Le,a(W(r.agentId)),1)):d(``,!0)],64)):e.key===`role`?(n(),u(o,{key:3},[r.role?(n(),u(`span`,Re,a(r.role),1)):(n(),u(`span`,ze,`–`))],64)):e.key===`command`?(n(),u(`span`,Be,a(r.command),1)):e.key===`startedAt`?(n(),u(`span`,Ve,a(J(r.startedAt)),1)):e.key===`alive`?(n(),p(c,{key:6,color:r.alive?`success`:`error`},{default:h(()=>[s(a(r.alive?i(_)(`monitor.alive`):`${i(_)(`monitor.exited`)} ${r.exitCode??``}`),1)]),_:2},1032,[`color`])):e.key===`actions`?(n(),p(w,{key:7,size:4},{default:h(()=>[r.terminal?(n(),p(m,{key:0,size:`small`,type:`primary`,ghost:``,title:i(_)(`monitor.openTerminalHint`),onClick:e=>H(r.pid,r.name,r.role)},{icon:h(()=>[...t[7]||=[g(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:h(()=>[s(` `+a(i(_)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):d(``,!0),v(C,{title:i(_)(`monitor.terminatePidConfirm`),"ok-text":i(_)(`common.confirm`),"cancel-text":i(_)(`common.cancel`),onConfirm:e=>R(r)},{default:h(()=>[v(m,{size:`small`,danger:``,disabled:i(I)||!r.alive},{icon:h(()=>[...t[8]||=[g(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:h(()=>[s(` `+a(i(_)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:2},1032,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):d(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),v(le,{open:i(z),"onUpdate:open":t[2]||=e=>f(z)?z.value=e:null,pid:i(B),subtitle:i(V)},null,8,[`open`,`pid`,`subtitle`])],64)):(n(),p(x,{key:0,class:`aw-panel`},{default:h(()=>[v(y,{title:i(_)(`monitor.needLogin`)},{extra:h(()=>[v(m,{type:`primary`,onClick:t[1]||=t=>(`navigateTo`in e?e.navigateTo:i(b))(`/workshop`)},{default:h(()=>[s(a(i(_)(`monitor.goLogin`)),1)]),_:1})]),_:1},8,[`title`])]),_:1}))])}}}),[[`__scopeId`,`data-v-d899c904`]]);export{He as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ft as e}from"./BSCpFtzG.js";import{t}from"./G0qIw7Gq2.js";import{t as n}from"./36oeS8_R2.js";import{i as r}from"./DAR70Lf52.js";var i=40,a=(e,t)=>r({base:`/api/workshop/ops-logs`,path:e,init:t});function o(e){return{id:0,actor:e.actor,actorName:e.actorName||e.actor,actorKind:e.actorKind,action:e.action,targetKind:e.targetKind,targetId:e.targetId,detailJson:``,at:e.at,lineId:e.lineId,productId:e.productId,recipeId:e.recipeId,kind:e.kind,summary:e.summary}}var s=()=>{let r=e([]),s=e([]),c=e({list:!1,posting:!1}),l=e({list:``,post:``}),u=0,d=null;function f(){u++,u===1&&(m(),d=n().subscribe(p));let e=!1;return()=>{e||(e=!0,--u===0&&(d?.(),d=null))}}function p(e){if(e.type===`ops.log`){let t=o(e.payload);r.some(e=>e.at===t.at&&e.actor===t.actor&&e.action===t.action)||(r.unshift(t),r.length>i&&r.splice(i))}}async function m(){try{let e=await a(`?limit=15`);for(let t of(e.logs??[]).reverse())r.some(e=>e.at===t.at&&e.actor===t.actor&&e.action===t.action)||r.unshift(t)}catch{}}async function h(e={}){c.list=!0,l.list=``;try{let t=new URLSearchParams;for(let[n,r]of Object.entries(e))r!=null&&r!==``&&t.set(n,String(r));let n=await a(`?${t.toString()}`);s.splice(0,s.length,...n.logs??[])}catch(e){l.list=t(e)}finally{c.list=!1}}async function g(e){c.posting=!0,l.post=``;try{await a(``,{method:`POST`,body:JSON.stringify(e)})}catch(e){throw l.post=t(e),e}finally{c.posting=!1}}return e({recent:r,results:s,loading:c,error:l,ensureLive:f,fetchLogs:h,postManual:g})},c=`__opsLogStream`;function l(){let e=globalThis;return e[c]||(e[c]=s()),e[c]}export{l as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{H as e,U as t,W as n,q as r}from"./rqZ-1SoP.js";import{C as i,F as a,G as o,H as s,Ht as c,St as l,Ut as ee,Wt as u,a as d,b as f,et as p,f as m,ft as te,g as h,h as g,m as ne,mt as _,nt as v,p as y,rt as b,t as x,x as S,z as re}from"./BSCpFtzG.js";import{n as ie}from"./B5S_UyaC.js";import{t as ae}from"./D8CqF0yy.js";import{n as oe}from"./BeIfu4N3.js";import{r as C}from"./D-Ca4BGY.js";import{t as se}from"./C9f8QMp12.js";import{t as w}from"./G0qIw7Gq2.js";import{t as ce}from"./arUY5dyq2.js";import{t as le}from"./CNs_Ozdc2.js";import{t as ue}from"./DAR70Lf52.js";import{a as de,i as fe,n as pe,r as me,t as he}from"./C1CSiSBN.js";import{t as ge}from"./X6IraCTB.js";import{t as _e}from"./Dfe8vXdG.js";import{t as ve}from"./CUXCQXjG.js";var ye={class:`page`},be={class:`aw-page-head`},xe={class:`sub`},Se={class:`badges mono`},Ce=[`title`],we=[`title`],Te={class:`txt`},Ee={class:`mono`},De={key:1,class:`infra-banner`},Oe={class:`txt`},ke={key:2,class:`infra-banner`},Ae={class:`txt`},je=[`disabled`],Me={key:3,class:`alarm-bar`},Ne={class:`bar-label`},Pe={class:`mono`},Fe={class:`alarm-scroll`},Ie=[`title`],Le={class:`mono dim`},Re={class:`mono`},ze={key:0,class:`esc mono`},Be=[`onClick`],Ve={class:`aw-tile ctrl-card`},He={class:`ctrl-row`},Ue={class:`ctrl-left`},We=[`title`],Ge={class:`cycle mono`},Ke=[`title`],qe={class:`ctrl-right`},Je={class:`ctrl-metrics mono`},Ye=[`title`],Xe=[`title`],Ze=[`title`],Qe=[`title`],$e={class:`line-strip`},et={class:`strip-label`},tt={class:`mono`},nt={class:`strip-scroll`},rt={key:0,class:`lp-run`},it={key:1,class:`lp-idle`},at={class:`lp-idle`},ot={class:`modal`},st={class:`m-title`},ct={class:`seg-row`},lt={class:`f-grid`},ut={class:`f`},dt=[`value`],ft={class:`f`},pt=[`placeholder`],mt={key:0,class:`f`},ht=[`placeholder`],gt={class:`f-grid`},_t={class:`f`},vt=[`value`],yt={key:0,class:`f-grid driver-form`},bt={key:0},xt=[`onUpdate:modelValue`],St=[`value`],Ct=[`onUpdate:modelValue`,`type`,`placeholder`],wt={key:2,class:`hint`},Tt={class:`test-row`},Et=[`disabled`],Dt={key:1,class:`m-err`},Ot={class:`m-actions`},kt=[`disabled`,`title`],At={class:`modal`},jt={class:`m-title`},Mt={class:`sec-label`},Nt={class:`tpl-table`},Pt={class:`mono dim`},Ft={class:`mono range`},It={class:`right actions`},Lt=[`onClick`],Rt=[`onClick`],zt={key:0},Bt={colspan:`3`,class:`empty`},Vt={class:`sec-label`},Ht={class:`f-grid`},Ut={class:`f`},Wt=[`placeholder`],Gt={class:`f`},Kt={class:`f`},qt=[`placeholder`],Jt={class:`f`},Yt=[`placeholder`],Xt={class:`f`},Zt={class:`f`},Qt={class:`f`},$t={class:`f`},en=[`value`],tn={class:`f`},nn={class:`hint`},rn={class:`f`},an={class:`hint`},on={key:0,class:`m-err`},sn={class:`m-actions`},cn=[`disabled`],ln={class:`sec-label`},un={class:`tpl-table`},dn={class:`mono dim`},fn={class:`mono range`},pn={class:`right actions`},mn=[`onClick`],hn={class:`aw-tile opt-card`},gn={class:`opt-count mono`},_n={class:`opt-filters`},vn={value:``},yn=[`value`],bn={value:``},xn=[`value`],Sn={key:0,class:`opt-empty`},Cn={class:`opt-list`},wn={class:`opt-line1`},Tn={class:`opt-node`},En={class:`mono opt-params`},Dn={class:`mono opt-time`},On=[`disabled`,`onClick`],kn=[`onClick`],An={class:`opt-line2 mono`},jn={key:1,class:`opt-open-hint`},Mn={key:2,class:`opt-agg`},Nn={key:3,class:`opt-agg`},Pn={key:0,class:`opt-series`},Fn={class:`opt-spark`,viewBox:`0 0 240 36`,preserveAspectRatio:`none`},In=[`points`],Ln={class:`mono`},Rn={key:0,class:`opt-empty`},zn={class:`aw-tile table-card`},Bn={class:`tbl-toolbar`},Vn={class:`filters`},Hn={class:`flt`},Un={value:``},Wn=[`value`],Gn={value:`none`},Kn={class:`flt`},qn={value:``},Jn=[`value`],Yn={value:`none`},Xn=[`title`],Zn={value:``},Qn={value:`on`},$n={value:`off`},er={class:`flt`},tr={value:``},nr={value:`ok`},rr={value:`warn`},ir={value:`alarm`},ar={value:`offline`},or={class:`flt`},sr={value:``},cr=[`value`],lr={class:`flt`},ur={value:``},dr=[`value`],fr=[`title`],pr={value:``},mr={value:`live`},hr={value:`hour`},gr={value:`day`},_r={value:`old`},vr={value:`never`},yr={class:`flt`},br=[`placeholder`],xr={class:`count mono`},Sr={class:`ops-panels`},Cr={class:`panel-head`},wr={class:`panel-body`},Tr={key:0,class:`panel-empty`},Er={class:`mono dim`},Dr={class:`mono`},Or={key:0,class:`esc mono`},kr=[`onClick`],Ar={class:`ops-panel event-panel`},jr={class:`panel-head`},Mr={class:`panel-body`},Nr={key:0,class:`panel-empty`},Pr={class:`mono dim t`},Fr=[`title`],Ir={class:`nodes-table`},Lr=[`title`],Rr=[`title`],zr={class:`right`},Br={class:`mono dim`},Vr={class:`mono ch`},Hr=[`title`],Ur=[`title`],Wr={class:`trend-cell`},Gr=[`title`],Kr=[`y1`,`y2`],qr=[`y1`,`y2`],Jr=[`points`],Yr={class:`mono`},Xr={class:`mono`},Zr=[`title`],Qr=[`value`,`title`,`onChange`],$r={value:``},ei=[`value`],ti=[`title`],ni={key:1,class:`run-pill na`},ri={class:`prod-cell`},ii=[`title`],ai=[`title`],oi={key:1,class:`dim`},si={class:`dev-binds`},ci=[`title`],li=[`onClick`],ui=[`title`,`onChange`],di={value:``},fi=[`value`,`disabled`],pi={class:`right`},mi=[`title`,`onClick`],hi={key:0},gi={colspan:`11`},_i={class:`pane-empty`,style:{"min-height":`120px`}},vi={class:`pe-sub`},yi={key:1},bi={colspan:`11`},xi={class:`pane-empty`,style:{"min-height":`90px`}},Si={class:`pe-sub`},Ci={key:6,class:`err`},wi=120,Ti=26,T=x(i({__name:`index`,setup(i){let{t:x}=oe();le({layout:`default`}),ie({title:()=>x(`titles.daq`)});let T=he(),E=ue(),Ei=ce(),Di=m(()=>E.lines.some(e=>E.lineStateOf(e.id).active));async function Oi(e,t){let n=t.target.value;try{await T.patchNode(e,{lineId:n});let t=T.nodes.find(t=>t.id===e);t&&(t.lineId=n)}catch(e){C.error(w(e))}}async function ki(e,t){let n=t.target.value;if(!n)return;let r=T.nodes.find(t=>t.id===e);if(r&&!r.deviceIds?.includes(n)){try{await T.setNodeBindings(e,[...r.deviceIds??[],n])}catch(e){C.error(w(e))}t.target.value=``}}async function Ai(e,t){let n=T.nodes.find(t=>t.id===e);if(n)try{await T.setNodeBindings(e,(n.deviceIds??[]).filter(e=>e!==t))}catch(e){C.error(w(e))}}let ji=e=>e.deviceIds??(e.deviceBindingId?[e.deviceBindingId]:[]),Mi=e=>B.get(e)??z.twins.find(t=>t.id===e)?.name??e;async function Ni(e){let t=!e.enabled;try{await T.patchNode(e.id,{enabled:t}),e.enabled=t,t||(e.state=`offline`),C.success(x(t?`daq.k1nodestart147`:`daq.k1nodestop146`))}catch(e){C.error(w(e))}}function Pi(e){if(!e.lineId)return null;let t=E.lineStateOf(e.lineId);return!t.active||!t.recipeId?null:E.recipes.find(e=>e.id===t.recipeId)?.daqWindows?.find(t=>t.nodeId===e.id)??null}function Fi(e){let t=Pi(e);return!t||e.value==null?!1:t.min!=null&&e.value<t.min||t.max!=null&&e.value>t.max}let Ii=_e();function Li(e){return{write:x(`logs.kind.write`),manual:x(`logs.kind.manual`),alarm:x(`logs.kind.alarm`),line:x(`logs.kind.line`),recipe:x(`logs.kind.recipe`),rollback:x(`logs.kind.rollback`),daq:x(`logs.kind.daq`),system:x(`logs.kind.system`)}[e]??(e||x(`logs.kind.system`))}function Ri(e){let t=new Date(e);return Number.isFinite(t.getTime())?`${String(t.getHours()).padStart(2,`0`)}:${String(t.getMinutes()).padStart(2,`0`)}:${String(t.getSeconds()).padStart(2,`0`)}`:``}function zi(e){let t=e.filter(Number.isFinite);if(t.length<2)return``;let n=Math.min(...t),r=Math.max(...t)-n||1;return t.map((e,i)=>`${(i/(t.length-1)*wi).toFixed(1)},${(Ti-(e-n)/r*24-1).toFixed(1)}`).join(` `)}function D(e,t){if(t==null||!Number.isFinite(t))return null;let n=e.filter(Number.isFinite);if(n.length<2)return null;let r=Math.min(...n,t),i=Math.max(...n,t)-r||1;return Number((Ti-(t-r)/i*24-1).toFixed(1))}function O(e){let t=Pi(e);return t&&(t.min!=null||t.max!=null)?{min:t.min,max:t.max,source:`recipe`}:e.warnLow!=null||e.warnHigh!=null?{min:e.warnLow,max:e.warnHigh,source:`warn`}:{min:null,max:null,source:`warn`}}async function Bi(e){try{await T.ackAlarm(e),C.success(x(`daq.k1acked144`))}catch(e){C.error(w(e))}}let Vi=null;re(()=>{Ei.ensureConnected(),Vi=T.ensureWsFeed(),Ii.ensureLive(),T.load(),T.fetchAlarms(),E.load(),z.load(),E.loadOptimizations(),ve(()=>{T.load(),T.fetchAlarms()},5e3,{bgMs:3e4}),ve(()=>{E.load()},15e3,{bgMs:6e4})}),a(()=>{Vi?.()});let k=te({lineId:``,deviceId:``,template:``,driver:``,lineRun:``,state:``,time:``,search:``}),Hi=m(()=>!!(k.lineId||k.deviceId||k.template||k.driver||k.lineRun||k.state||k.time||k.search.trim()));function Ui(){k.lineId=``,k.deviceId=``,k.template=``,k.driver=``,k.lineRun=``,k.state=``,k.time=``,k.search=``}let Wi=m(()=>{let e=new Map;for(let t of T.nodes)e.set(t.templateRef,(e.get(t.templateRef)??0)+1);return[...e.entries()].map(([e,t])=>({ref:e,count:t,label:Ea(e)}))}),Gi=m(()=>{let e=new Map;for(let t of T.nodes)e.set(t.driver,(e.get(t.driver)??0)+1);return[...e.entries()].map(([e,t])=>({kind:e,count:t,label:T.meta.drivers.find(t=>t.kind===e)?.label??e}))});function Ki(e){if(!e.lastAt)return`never`;let t=Date.now()-Date.parse(e.lastAt);return t<=3e5?`live`:t<=36e5?`hour`:t<=864e5?`day`:`old`}function qi(e){return!k.time||Ki(e)===k.time}function Ji(e){let t=k.search.trim().toLowerCase();return!t||e.name.toLowerCase().includes(t)||e.id.toLowerCase().includes(t)}let A=_(!1),Yi=_(!1),j=_(``),M=_(``),N=_({}),Xi=_(``),Zi=m(()=>E.recipes.filter(e=>!j.value||e.lineId===j.value));function Qi(e){return{open:`daq.k1optst001`,judged:`daq.k1optst008`,"judged-keep":`daq.k1optst002`,"rolled-back":`daq.k1optst003`,superseded:`daq.k1optst004`,"superseded-manual":`daq.k1optst005`,"closed-line-stop":`daq.k1optst006`,failed:`daq.k1optst007`}[e]??`daq.k1optst001`}async function $i(){A.value=!A.value,A.value&&(Yi.value=!0,await P())}async function P(){await E.loadOptimizations({lineId:j.value||void 0,recipeId:M.value||void 0})}function ea(){M.value&&!Zi.value.some(e=>e.id===M.value)&&(M.value=``),P()}async function ta(e){Xi.value=e;try{let t=await E.optimizationSeries(e);N.value={...N.value,[e]:t}}finally{Xi.value=``}}function na(e,t=240,n=36){let r=e.map(e=>e.value??e.avg??0).filter(Number.isFinite);if(r.length<2)return``;let i=Math.min(...r),a=Math.max(...r)-i||1;return r.map((e,o)=>`${o/(r.length-1)*t},${n-(e-i)/a*n}`).join(` `)}async function ra(e){await E.rollbackOptimization(e),await P()}function ia(e){return e==null?`--`:String(Number(e.toFixed(2)))}let aa=m(()=>{let e=new Map;for(let t of T.nodes)for(let n of t.deviceIds??(t.deviceBindingId?[t.deviceBindingId]:[]))e.set(n,(e.get(n)??0)+1);return z.twins.filter(t=>e.has(t.id)).map(t=>({id:t.id,name:B.get(t.id)??t.name,count:e.get(t.id)}))});function oa(e){if(!k.lineRun)return!0;let t=!!e.lineId&&E.lineStateOf(e.lineId).active;return k.lineRun===`on`?t:!t}let F=m(()=>E.lines.find(e=>e.id===k.lineId)??null),I=m(()=>F.value?E.lineStateOf(F.value.id):null);function sa(e){if(!e.lastAt)return!0;let t=e.intervalMs??T.controller.defaultIntervalMs;return Date.now()-Date.parse(e.lastAt)>Math.max(t*4,12e3)}function ca(e){return e.enabled?e.lineId?E.lineStateOf(e.lineId).active?!T.controller.running||sa(e)?`offline`:e.state:`idle`:`unassigned`:`disabled`}function la(e){let t=ca(e);return t===`ok`||t===`warn`||t===`alarm`}let L={ok:x(`daq.k41k5c062`),warn:x(`daq.k49z8v063`),alarm:x(`daq.k3xmid064`),offline:x(`daq.k44c2n065`),idle:x(`daq.k3ozyqz117`),disabled:x(`daq.k1disabl130`),unassigned:x(`daq.k3ootr6053`)};function ua(e){let t=ca(e);if(t===`offline`){if(e.lastError)return{key:t,label:L.offline,tip:e.lastError};let n=T.controller.running?x(`daq.k1staled129`,{p0:Math.round(Math.max((e.intervalMs??T.controller.defaultIntervalMs)*4,12e3)/1e3)}):x(`daq.k1gateoff140`);return{key:t,label:L.offline,tip:n}}if(t===`idle`)return{key:t,label:L.idle,tip:x(`daq.k1idlehin139`)};if((t===`ok`||t===`warn`||t===`alarm`)&&Fi(e)){let t=Pi(e);return{key:`alarm`,label:x(`daq.k1l3pt51104`),tip:x(`daq.k1hrrqa1122`,{p0:t?.min??`-∞`,p1:t?.max??`+∞`,p2:``})}}return{key:t,label:L[t],tip:``}}let R=m(()=>T.nodes.filter(e=>{if(k.lineId&&(k.lineId===`none`?e.lineId:(e.lineId??``)!==k.lineId))return!1;let t=e.deviceIds??(e.deviceBindingId?[e.deviceBindingId]:[]);return!(k.deviceId&&(k.deviceId===`none`?t.length>0:!t.includes(k.deviceId))||k.template&&e.templateRef!==k.template||k.driver&&e.driver!==k.driver||!oa(e)||k.state&&ca(e)!==k.state||!qi(e)||!Ji(e))})),da=m(()=>{let e=new Map;for(let t of R.value)e.set(t.id,{pill:ua(t),alarm:Fi(t),live:la(t),tpl:Ea(t.templateRef)});return e}),fa={pill:{key:`offline`,label:``,tip:``},alarm:!1,live:!1,tpl:`-`},pa=m(()=>R.value.map(e=>({n:e,c:da.value.get(e.id)??fa}))),z=ge(),B=new Map;p(()=>z.twins,e=>{for(let t of e)B.set(t.id,t.name)},{immediate:!0,deep:!0});let ma=m(()=>z.twins.filter(e=>e.kind!==`daq`&&!(e.modelRef??``).startsWith(`daq-`)&&!(e.modelRef??``).startsWith(`dcw-`))),ha=e=>e==null?x(`daq.k9vnp9h124`,{p0:T.controller.defaultIntervalMs}):`${e}ms`,ga=e=>e==null?x(`daq.k9vnp9h124`,{p0:T.controller.defaultPublishIntervalMs}):e===0?x(`daq.k41mvv078`):`${e}ms`,V=_(!1),H=_(`mock`),U=_(me[0]?.key??`temp-tc`),W=_(`modbus-tcp`),G=_(``),_a=_(null),K=_({}),va=te({kind:`none`,scale:1,offset:0}),q=_(!1),J=_(null),ya=_(!1),ba=_(``),xa=m(()=>pe.find(e=>e.kind===W.value)),Sa=m(()=>xa.value?.configFields??[]),Ca=e=>T.meta.drivers.find(t=>t.kind===e)?.status!==`planned`&&T.meta.driverAvailable?.[e]!==!1;p(W,()=>{let e={};for(let t of Sa.value)t.default!==void 0&&(e[t.key]=t.default);K.value=e,J.value=null},{immediate:!0});async function wa(){q.value=!0,J.value=null;try{J.value=await T.testDriver(W.value,K.value)}catch(e){J.value={ok:!1,message:w(e)}}finally{q.value=!1}}async function Ta(){ya.value=!0,ba.value=``;try{let e=va.kind===`linear`?{kind:`linear`,scale:Number(va.scale),offset:Number(va.offset)}:void 0;if(H.value===`mock`)await T.createFromTemplate(`daq-${U.value}`,{name:G.value?{name:G.value}.name:void 0,transform:e});else{for(let e of Sa.value)if(e.required&&!K.value[e.key]&&K.value[e.key]!==0)throw Error(x(`daq.kyuadl0125`,{p0:e.label}));let t=T.templates.find(e=>e.key===U.value);await T.createFromTemplate(`daq-${U.value}`,{name:G.value||void 0,driver:W.value,driverConfig:{...K.value},transform:e,intervalMs:_a.value,unit:t?.unit,min:t?.min,max:t?.max,decimals:t?.decimals})}V.value=!1,G.value=``,J.value=null}catch(e){ba.value=w(e)}finally{ya.value=!1}}function Ea(e){let t=T.templates.find(t=>t.key===de(e));return t?`${t.name} · ${t.ch}`:e||`-`}let Da=_(!1),Y=_(null),Oa=_(!1),X=_(``),Z=_(``),Q=te({name:``,ch:``,code:``,unit:``,min:0,max:100,base:50,amp:2,decimals:2,icon:`thermo`}),ka={thermo:x(`daq.k422b8079`),pressure:x(`daq.k3x6ff080`),tension:x(`daq.k3z9xc081`),encoder:x(`daq.k3subk4082`),camera:x(`daq.k47atw083`),gateway:x(`daq.kz7yhbj084`)},Aa=m(()=>T.templates.filter(e=>!e.builtin)),ja=m(()=>T.templates.filter(e=>e.builtin));function Ma(e,t=!1){Q.name=t?x(`daq.k2hbo3c126`,{p0:e.name}):e.name,Q.ch=e.ch,Q.code=e.code,Q.unit=e.unit,Q.min=e.min,Q.max=e.max,Q.base=e.base,Q.amp=e.amp,Q.decimals=e.decimals,Q.icon=e.icon}function Na(){Y.value=null,X.value=``,Z.value=``,Ma({key:``,name:``,code:``,ch:``,unit:``,base:50,amp:2,min:0,max:100,decimals:2,icon:`thermo`})}function Pa(e){Y.value=e.key,X.value=``,Ma(e)}function Fa(e){Y.value=null,X.value=``,Ma(e,!0)}async function Ia(){Oa.value=!0,X.value=``;try{let e=e=>{let t=Number(e);return e===``||e==null||!Number.isFinite(t)?void 0:t},t={name:Q.name.trim(),ch:Q.ch.trim()||void 0,code:Q.code.trim()||void 0,unit:Q.unit.trim(),min:e(Q.min),max:e(Q.max),base:e(Q.base),amp:e(Q.amp),decimals:e(Q.decimals),icon:Q.icon};Y.value?await T.updateTemplate(Y.value,t):await T.createTemplate(t),Na()}catch(e){X.value=w(e)}finally{Oa.value=!1}}async function La(e){if(Z.value!==e.key){Z.value=e.key;return}try{await T.removeTemplate(e.key)}catch(e){X.value=w(e)}finally{Z.value=``}}let Ra=e=>T.meta.drivers.find(t=>t.kind===e)?.status===`planned`,$=_(!1);async function za(){$.value=!0;try{await T.reconnectInfra()}catch{}finally{$.value=!1}}return(i,a)=>{let p=ae,m=se;return s(),h(`div`,ye,[y(`div`,be,[y(`div`,null,[a[36]||=y(`p`,{class:`aw-kicker`},` AGENTWORKSHOP / DAQ CONSOLE `,-1),y(`h1`,null,u(i.$t(`daq.k1emg364011`)),1),y(`p`,xe,u(i.$t(`daq.k1wmg2bz012`)),1)]),y(`div`,Se,[y(`span`,{class:`badge`,title:i.$t(`daq.k1tsdbtip133`)},`TSDB · `+u(l(T).meta.tsdb),9,Ce),y(`span`,{class:`badge`,title:i.$t(`daq.k1queuet134`)},`QUEUE · `+u(l(T).meta.queue),9,we)])]),l(T).loaded&&F.value&&I.value?(s(),h(`div`,{key:0,class:c([`infra-banner`,{good:I.value.active}])},[y(`span`,{class:c(I.value.active?`i-tabler-circle-check`:`i-tabler-info-circle`)},null,2),y(`span`,Te,[I.value.active?(s(),h(d,{key:0},[f(u(i.$t(`daq.k3ktxbr085`))+u(F.value.name)+`」`+u(i.$t(`daq.k15lvw0o105`)),1),y(`b`,null,u(I.value.productName),1),a[37]||=f(` · Recipe:`,-1),y(`b`,null,u(I.value.recipeName),1),y(`small`,Ee,u(i.$t(`daq.k400lb086`))+` `+u(I.value.runId?.slice(0,8))+` · `+u(i.$t(`daq.k3zkt2106`))+` `+u(I.value.startedAt?.slice(11,19))+` `+u(i.$t(`daq.k69vag8108`))+` `+u(I.value.taggedSamples)+` `+u(i.$t(`daq.k4118o092`)),1)],64)):(s(),h(d,{key:1},[f(u(i.$t(`daq.k3ktxbr085`))+u(F.value.name)+`」`+u(i.$t(`daq.k12uge2o107`)),1)],64))]),S(p,{class:`pill-btn`,to:`/dcw/${F.value.id}`},{default:v(()=>[f(u(I.value.active?i.$t(`daq.k1ukoy0v093`):i.$t(`daq.k1cg78i8109`)),1)]),_:1},8,[`to`])],2)):l(T).loaded&&!Di.value?(s(),h(`div`,De,[a[38]||=y(`span`,{class:`i-tabler-info-circle`},null,-1),y(`span`,Oe,[f(u(i.$t(`daq.k19onw5w013`)),1),S(p,{to:`/dcw`},{default:v(()=>[f(u(i.$t(`daq.k1b2tk5c014`)),1)]),_:1}),f(u(i.$t(`daq.k1u9wnlg015`)),1)])])):g(``,!0),l(T).meta.infra?.degraded?(s(),h(`div`,ke,[a[39]||=y(`span`,{class:`i-tabler-alert-triangle`},null,-1),y(`span`,Ae,u(l(T).meta.infra.warning),1),y(`button`,{class:`pill-btn`,disabled:$.value,onClick:za},u($.value?i.$t(`daq.k1ld43ur094`):i.$t(`daq.kzg9805110`)),9,je)])):g(``,!0),l(T).alarms.length?(s(),h(`div`,Me,[y(`span`,Ne,[a[40]||=y(`span`,{class:`i-tabler-bell-ringing bell`},null,-1),f(` `+u(i.$t(`daq.k1alarm141`))+` `,1),y(`b`,Pe,u(l(T).alarms.length),1)]),y(`div`,Fe,[(s(!0),h(d,null,o(l(T).alarms,e=>(s(),h(`span`,{key:e.id,class:`alarm-item`,title:i.$t(`daq.k1esc143`,{p0:e.escalation})},[y(`b`,null,u(e.nodeName),1),y(`span`,Le,u(e.metric),1),y(`span`,Re,u(e.value)+` `+u(e.rule===`lt-min`?`<`:`>`)+` `+u(e.threshold),1),e.escalation>0?(s(),h(`small`,ze,`+`+u(e.escalation),1)):g(``,!0),y(`button`,{class:`mini-btn ack`,onClick:t=>Bi(e.id)},u(i.$t(`daq.k1ack142`)),9,Be)],8,Ie))),128))])])):g(``,!0),y(`section`,Ve,[y(`div`,He,[y(`div`,Ue,[y(`button`,{class:c([`aw-pill`,{running:l(T).controller.running}]),title:i.$t(`daq.k1snap145`),onClick:a[0]||=e=>l(T).controllerAction(l(T).controller.running?`pause`:`resume`)},[y(`span`,{class:c(l(T).controller.running?`i-tabler-player-pause`:`i-tabler-player-play`)},null,2),f(` `+u(l(T).controller.running?i.$t(`daq.kpui00095`):i.$t(`daq.knxpdpt111`)),1)],10,We),y(`label`,Ge,[f(u(i.$t(`daq.k1ifahxj016`))+` `,1),b(y(`input`,{"onUpdate:modelValue":a[1]||=e=>l(T).controller.defaultIntervalMs=e,type:`number`,min:`200`,max:`60000`,step:`100`,onChange:a[2]||=e=>l(T).controllerAction(`config`,l(T).controller.defaultIntervalMs)},null,544),[[n,l(T).controller.defaultIntervalMs,void 0,{number:!0}]]),a[41]||=f(`ms `,-1)]),y(`label`,{class:`cycle mono`,title:i.$t(`daq.k1e8lcoo001`)},[f(u(i.$t(`daq.k1if98n0017`))+` `,1),b(y(`input`,{"onUpdate:modelValue":a[3]||=e=>l(T).controller.defaultPublishIntervalMs=e,type:`number`,min:`0`,max:`60000`,step:`100`,onChange:a[4]||=e=>l(T).controllerAction(`config`,l(T).controller.defaultIntervalMs,l(T).controller.defaultPublishIntervalMs)},null,544),[[n,l(T).controller.defaultPublishIntervalMs,void 0,{number:!0}]]),a[42]||=f(`ms `,-1)],8,Ke)]),y(`div`,qe,[y(`span`,Je,[y(`span`,null,u(i.$t(`daq.k45uio067`))+` `+u(l(T).controller.nodesOnline)+`/`+u(l(T).controller.nodesTotal),1),a[43]||=y(`span`,{class:`sep`},`·`,-1),y(`span`,{title:i.$t(`daq.k1yztsu4002`)},u(i.$t(`daq.k3xagp087`))+` `+u(l(T).meta.produced),9,Ye),a[44]||=y(`span`,{class:`sep`},`·`,-1),y(`span`,{title:i.$t(`daq.ko09iha003`)},u(i.$t(`daq.k427eu088`))+` `+u(l(T).meta.consumed),9,Xe),a[45]||=y(`span`,{class:`sep`},`·`,-1),y(`span`,{class:c({warn:(l(T).meta.dropped??0)>0}),title:i.$t(`daq.k1droptip135`)},u(i.$t(`daq.k3w8go089`))+` `+u(l(T).meta.dropped),11,Ze),a[46]||=y(`span`,{class:`sep`},`·`,-1),y(`span`,{title:i.$t(`daq.kj1jbmw004`)},u(i.$t(`daq.k3wusd090`))+` `+u(l(T).meta.samplesStored),9,Qe)]),y(`button`,{class:`aw-pill outline add-btn`,onClick:a[5]||=e=>{Da.value=!0,Na()}},[a[47]||=y(`span`,{class:`i-tabler-adjustments-horizontal`},null,-1),f(` `+u(i.$t(`daq.k1f5cv0s018`)),1)]),y(`button`,{class:`aw-pill add-btn`,onClick:a[6]||=e=>V.value=!0},[a[48]||=y(`span`,{class:`i-tabler-plus`},null,-1),f(` `+u(i.$t(`daq.k1fn0ukb019`)),1)])])]),y(`div`,$e,[y(`span`,et,[a[49]||=y(`span`,{class:`i-tabler-route`},null,-1),f(` `+u(i.$t(`daq.k1b2o3b6020`)),1),y(`small`,tt,u(l(E).lines.length),1)]),y(`div`,nt,[(s(!0),h(d,null,o(l(E).lines,e=>(s(),ne(p,{key:e.id,class:c([`line-pill`,{on:l(E).lineStateOf(e.id).active}]),style:ee({"--lc":e.color}),to:`/dcw/${e.id}`,title:l(E).lineStateOf(e.id).active?i.$t(`daq.k3v957u120`,{p0:e.name,p1:l(E).lineStateOf(e.id).productName,p2:l(E).lineStateOf(e.id).recipeName}):i.$t(`daq.k1x7jnru121`,{p0:e.name})},{default:v(()=>[a[50]||=y(`span`,{class:`lp-dot`},null,-1),y(`b`,null,u(e.name),1),l(E).lineStateOf(e.id).active?(s(),h(`small`,rt,u(l(E).lineStateOf(e.id).recipeName??i.$t(`daq.k3vp67i096`)),1)):(s(),h(`small`,it,u(i.$t(`daq.k3zgkk021`)),1))]),_:2},1032,[`class`,`style`,`to`,`title`]))),128)),l(E).lines.length===0?(s(),ne(p,{key:0,class:`line-pill`,to:`/dcw`},{default:v(()=>[a[51]||=y(`span`,{class:`lp-dot`},null,-1),y(`b`,null,u(i.$t(`daq.k1el12b1022`)),1),y(`small`,at,u(i.$t(`daq.k8jxxe8023`)),1)]),_:1})):g(``,!0)])])]),V.value?(s(),h(`div`,{key:4,class:`modal-mask`,onClick:a[14]||=r(e=>V.value=!1,[`self`])},[y(`div`,ot,[y(`h3`,st,u(i.$t(`daq.k19rioqa024`)),1),y(`div`,ct,[y(`button`,{class:c([`seg`,{on:H.value===`mock`}]),onClick:a[7]||=e=>H.value=`mock`},u(i.$t(`daq.k1p5c1un025`)),3),y(`button`,{class:c([`seg`,{on:H.value===`real`}]),onClick:a[8]||=e=>H.value=`real`},u(i.$t(`daq.k1cbcp3o026`)),3)]),y(`div`,lt,[y(`label`,ut,[y(`span`,null,u(i.$t(`daq.k1fsgerc027`)),1),b(y(`select`,{"onUpdate:modelValue":a[9]||=e=>U.value=e,class:`inp`},[(s(!0),h(d,null,o(l(T).templates,e=>(s(),h(`option`,{key:e.key,value:e.key},u(e.name)+` · `+u(e.ch)+`(`+u(e.min)+`~`+u(e.max)+` `+u(e.unit)+`)`+u(e.builtin?``:i.$t(`daq.kr45rk9097`)),9,dt))),128))],512),[[t,U.value]])]),y(`label`,ft,[y(`span`,null,u(i.$t(`daq.k1ce2k1y028`)),1),b(y(`input`,{"onUpdate:modelValue":a[10]||=e=>G.value=e,class:`inp`,placeholder:i.$t(`daq.kgpxzy3005`)},null,8,pt),[[n,G.value]])]),H.value===`real`?(s(),h(`label`,mt,[y(`span`,null,u(i.$t(`daq.k13mfsfc029`)),1),b(y(`input`,{"onUpdate:modelValue":a[11]||=e=>_a.value=e,type:`number`,min:`1000`,max:`60000`,step:`500`,class:`inp`,placeholder:i.$t(`daq.k1eg1000a136`)},null,8,ht),[[n,_a.value,void 0,{number:!0}]])])):g(``,!0)]),H.value===`real`?(s(),h(d,{key:0},[y(`div`,gt,[y(`label`,_t,[y(`span`,null,u(i.$t(`daq.k1kt87rx030`)),1),b(y(`select`,{"onUpdate:modelValue":a[12]||=e=>W.value=e,class:`inp`},[(s(!0),h(d,null,o(l(pe).filter(e=>e.status!==`planned`),e=>(s(),h(`option`,{key:e.kind,value:e.kind},u(e.label)+u(Ca(e.kind)?``:i.$t(`daq.kjbqphp098`)),9,vt))),128))],512),[[t,W.value]])])]),Sa.value.length?(s(),h(`div`,yt,[(s(!0),h(d,null,o(Sa.value,n=>(s(),h(`label`,{key:n.key,class:`f`},[y(`span`,null,[f(u(n.label),1),n.required?(s(),h(`em`,bt,`*`)):g(``,!0)]),n.type===`select`?b((s(),h(`select`,{key:0,"onUpdate:modelValue":e=>K.value[n.key]=e,class:`inp`},[(s(!0),h(d,null,o(n.options,e=>(s(),h(`option`,{key:e.value,value:e.value},u(e.label),9,St))),128))],8,xt)),[[t,K.value[n.key]]]):b((s(),h(`input`,{key:1,"onUpdate:modelValue":e=>K.value[n.key]=e,type:n.type===`number`?`number`:`text`,placeholder:n.placeholder,class:`inp`},null,8,Ct)),[[e,K.value[n.key]]]),n.hint?(s(),h(`small`,wt,u(n.hint),1)):g(``,!0)]))),128))])):g(``,!0),y(`div`,Tt,[y(`button`,{class:`pill-btn`,disabled:q.value,onClick:wa},u(q.value?i.$t(`daq.k1fsh720099`):i.$t(`daq.k1fstglk112`)),9,Et),J.value?(s(),h(`span`,{key:0,class:c([`test-result`,J.value.ok?`ok`:`bad`])},[f(u(J.value.ok?`✓`:`✗`)+` `+u(J.value.message),1),J.value.latencyMs==null?g(``,!0):(s(),h(d,{key:0},[f(`(`+u(J.value.latencyMs)+`ms)`,1)],64))],2)):g(``,!0)])],64)):g(``,!0),ba.value?(s(),h(`p`,Dt,u(ba.value),1)):g(``,!0),y(`div`,Ot,[y(`button`,{class:`aw-pill outline`,onClick:a[13]||=e=>V.value=!1},u(i.$t(`daq.k3xdnn031`)),1),y(`button`,{class:`aw-pill`,disabled:ya.value||H.value===`real`&&J.value!=null&&!J.value.ok,title:H.value===`real`&&!(J.value&&J.value.ok)?i.$t(`daq.k1needtst137`):``,onClick:Ta},u(ya.value?i.$t(`daq.k1bg4759100`):H.value===`real`?i.$t(`daq.k7pxjxo113`):i.$t(`daq.k1bge46t118`)),9,kt)])])])):g(``,!0),Da.value?(s(),h(`div`,{key:5,class:`modal-mask`,onClick:a[25]||=r(e=>Da.value=!1,[`self`])},[y(`div`,At,[y(`h3`,jt,u(i.$t(`daq.k11mv96s032`)),1),y(`p`,Mt,u(i.$t(`daq.ktji4ky033`)),1),y(`table`,Nt,[y(`tbody`,null,[(s(!0),h(d,null,o(Aa.value,e=>(s(),h(`tr`,{key:e.key},[y(`td`,null,[y(`b`,null,u(e.name),1),y(`small`,Pt,u(e.code),1)]),y(`td`,Ft,u(e.min)+`~`+u(e.max)+` `+u(e.unit)+` · `+u(e.decimals)+` `+u(i.$t(`daq.k48oi091`)),1),y(`td`,It,[y(`button`,{class:`mini-btn`,onClick:t=>Pa(e)},u(i.$t(`daq.k45eb0034`)),9,Lt),y(`button`,{class:`mini-btn danger`,onClick:t=>La(e)},u(Z.value===e.key?i.$t(`daq.k1hhheu3101`):i.$t(`daq.k3xakp114`)),9,Rt)])]))),128)),Aa.value.length?g(``,!0):(s(),h(`tr`,zt,[y(`td`,Bt,u(i.$t(`daq.kztvzbo035`)),1)]))])]),y(`p`,Vt,u(Y.value?i.$t(`daq.k1iiph0s102`):i.$t(`daq.k1efixrj115`)),1),y(`div`,Ht,[y(`label`,Ut,[y(`span`,null,[f(u(i.$t(`daq.k3xhia036`)),1),a[52]||=y(`em`,null,`*`,-1)]),b(y(`input`,{"onUpdate:modelValue":a[15]||=e=>l(Q).name=e,class:`inp`,placeholder:i.$t(`daq.k5opd2t006`)},null,8,Wt),[[n,l(Q).name]])]),y(`label`,Gt,[y(`span`,null,[f(u(i.$t(`daq.k3x4ef037`)),1),a[53]||=y(`em`,null,`*`,-1)]),b(y(`input`,{"onUpdate:modelValue":a[16]||=e=>l(Q).unit=e,class:`inp`,placeholder:`如 %RH`},null,512),[[n,l(Q).unit]])]),y(`label`,Kt,[y(`span`,null,u(i.$t(`daq.k1l477m0038`)),1),b(y(`input`,{"onUpdate:modelValue":a[17]||=e=>l(Q).ch=e,class:`inp`,placeholder:i.$t(`daq.kk8o4tl007`)},null,8,qt),[[n,l(Q).ch]])]),y(`label`,Jt,[y(`span`,null,u(i.$t(`daq.k1ayxrqb039`)),1),b(y(`input`,{"onUpdate:modelValue":a[18]||=e=>l(Q).code=e,class:`inp`,placeholder:i.$t(`daq.kzn3l7l008`)},null,8,Yt),[[n,l(Q).code]])]),y(`label`,Xt,[y(`span`,null,[f(u(i.$t(`daq.k1l9jv5m040`)),1),a[54]||=y(`em`,null,`*`,-1)]),b(y(`input`,{"onUpdate:modelValue":a[19]||=e=>l(Q).min=e,type:`number`,class:`inp`},null,512),[[n,l(Q).min,void 0,{number:!0}]])]),y(`label`,Zt,[y(`span`,null,[f(u(i.$t(`daq.k1l9jv4p041`)),1),a[55]||=y(`em`,null,`*`,-1)]),b(y(`input`,{"onUpdate:modelValue":a[20]||=e=>l(Q).max=e,type:`number`,class:`inp`},null,512),[[n,l(Q).max,void 0,{number:!0}]])]),y(`label`,Qt,[y(`span`,null,u(i.$t(`daq.k3mxmcx042`)),1),b(y(`input`,{"onUpdate:modelValue":a[21]||=e=>l(Q).decimals=e,type:`number`,min:`0`,max:`4`,class:`inp`},null,512),[[n,l(Q).decimals,void 0,{number:!0}]])]),y(`label`,$t,[y(`span`,null,u(i.$t(`daq.k3xx56043`)),1),b(y(`select`,{"onUpdate:modelValue":a[22]||=e=>l(Q).icon=e,class:`inp`},[(s(!0),h(d,null,o(l(fe),e=>(s(),h(`option`,{key:e,value:e},u(ka[e]),9,en))),128))],512),[[t,l(Q).icon]])]),y(`label`,tn,[y(`span`,null,u(i.$t(`daq.k1f4eknv044`)),1),b(y(`input`,{"onUpdate:modelValue":a[23]||=e=>l(Q).base=e,type:`number`,class:`inp`},null,512),[[n,l(Q).base,void 0,{number:!0}]]),y(`small`,nn,u(i.$t(`daq.kytd15s045`)),1)]),y(`label`,rn,[y(`span`,null,u(i.$t(`daq.k1f4ifpo046`)),1),b(y(`input`,{"onUpdate:modelValue":a[24]||=e=>l(Q).amp=e,type:`number`,class:`inp`},null,512),[[n,l(Q).amp,void 0,{number:!0}]]),y(`small`,an,u(i.$t(`daq.ksp2aji047`)),1)])]),X.value?(s(),h(`p`,on,u(X.value),1)):g(``,!0),y(`div`,sn,[y(`button`,{class:`aw-pill outline`,onClick:Na},u(i.$t(`daq.k48p40048`)),1),y(`button`,{class:`pill-btn`,disabled:Oa.value,onClick:Ia},u(Oa.value?i.$t(`daq.k1b38d59103`):Y.value?i.$t(`daq.k1b39281116`):i.$t(`daq.k1b3dtga119`)),9,cn)]),y(`p`,ln,u(i.$t(`daq.k1w8s84s049`)),1),y(`table`,un,[y(`tbody`,null,[(s(!0),h(d,null,o(ja.value,e=>(s(),h(`tr`,{key:e.key},[y(`td`,null,[y(`b`,null,u(e.name),1),y(`small`,dn,u(e.code),1)]),y(`td`,fn,u(e.min)+`~`+u(e.max)+` `+u(e.unit)+` · `+u(e.decimals)+` `+u(i.$t(`daq.k48oi091`)),1),y(`td`,pn,[y(`button`,{class:`mini-btn`,onClick:t=>Fa(e)},u(i.$t(`daq.k3y694050`)),9,mn)])]))),128))])])])])):g(``,!0),y(`section`,hn,[y(`button`,{class:`opt-head`,onClick:$i},[a[56]||=y(`span`,{class:`i-tabler-flask`},null,-1),y(`b`,null,u(i.$t(`daq.k1optt001`)),1),y(`span`,gn,u(l(E).optimizations.length),1),y(`span`,{class:c([`opt-chevron`,{open:A.value}])},null,2)]),y(`div`,{class:c([`opt-body`,{open:A.value}])},[Yi.value?(s(),h(d,{key:0},[y(`div`,_n,[b(y(`select`,{"onUpdate:modelValue":a[26]||=e=>j.value=e,class:`inp-sel`,onChange:ea},[y(`option`,vn,u(i.$t(`daq.k1optf001`)),1),(s(!0),h(d,null,o(l(E).lines,e=>(s(),h(`option`,{key:e.id,value:e.id},u(e.name),9,yn))),128))],544),[[t,j.value]]),b(y(`select`,{"onUpdate:modelValue":a[27]||=e=>M.value=e,class:`inp-sel`,onChange:P},[y(`option`,bn,u(i.$t(`daq.k1optf004`)),1),(s(!0),h(d,null,o(Zi.value,e=>(s(),h(`option`,{key:e.id,value:e.id},u(e.name),9,xn))),128))],544),[[t,M.value]]),y(`button`,{class:`mini-act`,onClick:P},u(i.$t(`daq.k1optf002`)),1)]),l(E).optimizations.length===0?(s(),h(`p`,Sn,u(i.$t(`daq.k1opte001`)),1)):g(``,!0),y(`ul`,Cn,[(s(!0),h(d,null,o(l(E).optimizations.slice(0,30),e=>(s(),h(`li`,{key:e.id,class:c([`opt-row`,e.status])},[y(`div`,wn,[y(`span`,{class:c([`opt-status`,e.status])},u(i.$t(Qi(e.status))),3),y(`b`,Tn,u(e.nodeName),1),y(`span`,En,u(e.params[0]?.from??`?`)+` → `+u(e.params[0]?.to),1),y(`span`,Dn,u(e.setAt.slice(5,16).replace(`T`,` `)),1),N.value[e.id]?g(``,!0):(s(),h(`button`,{key:0,class:`mini-act`,disabled:Xi.value===e.id,onClick:t=>ta(e.id)},u(i.$t(`daq.k1opta001`)),9,On)),e.status===`open`?(s(),h(`button`,{key:1,class:`mini-act danger`,onClick:t=>ra(e.id)},u(i.$t(`daq.k1opta002`)),9,kn)):g(``,!0)]),y(`div`,An,[e.judge?(s(),h(`span`,{key:0,class:c([`opt-judge`,e.judge.verdict])},u(e.judge.verdict)+`(`+u(e.judge.by)+`): `+u(e.judge.reason.slice(0,70)),3)):e.status===`open`?(s(),h(`span`,jn,u(i.$t(`daq.k1opto001`)),1)):g(``,!0),e.aggPending?(s(),h(`span`,Mn,u(i.$t(`daq.k1optw001`)),1)):e.windowAgg&&e.windowAgg.channels.length?(s(),h(`span`,Nn,[(s(!0),h(d,null,o(e.windowAgg.channels,e=>(s(),h(d,{key:e.daqNodeId},[f(u(e.ch)+` `+u(ia(e.min))+`~`+u(ia(e.max))+`(`+u(i.$t(`daq.k1optw002`))+u(e.breaches<0?`-`:e.breaches)+`) `,1)],64))),128))])):g(``,!0)]),N.value[e.id]?(s(),h(`div`,Pn,[(s(!0),h(d,null,o(N.value[e.id].channels,e=>(s(),h(`div`,{key:e.nodeId,class:`opt-ch`},[(s(),h(`svg`,Fn,[y(`polyline`,{points:na(e.points)},null,8,In)])),y(`span`,Ln,u(e.ch)+` `+u(ia(e.points.at(-1)?.value??e.points.at(-1)?.avg))+u(e.unit),1)]))),128)),N.value[e.id].channels.length===0?(s(),h(`p`,Rn,u(i.$t(`daq.k1opte002`)),1)):g(``,!0)])):g(``,!0)],2))),128))])],64)):g(``,!0)],2)]),S(m,{spinning:!l(T).loaded&&!l(T).error},{default:v(()=>[y(`section`,zn,[y(`div`,Bn,[y(`div`,Vn,[y(`label`,Hn,[y(`span`,null,u(i.$t(`daq.k3wj9n051`)),1),b(y(`select`,{"onUpdate:modelValue":a[28]||=e=>l(k).lineId=e,class:`inp-sel`},[y(`option`,Un,u(i.$t(`daq.k1bkl9uj052`)),1),(s(!0),h(d,null,o(l(E).lines,e=>(s(),h(`option`,{key:e.id,value:e.id},u(e.name),9,Wn))),128)),y(`option`,Gn,u(i.$t(`daq.k3ootr6053`)),1)],512),[[t,l(k).lineId]])]),y(`label`,Kn,[y(`span`,null,u(i.$t(`daq.k1i8rtqt054`)),1),b(y(`select`,{"onUpdate:modelValue":a[29]||=e=>l(k).deviceId=e,class:`inp-sel`},[y(`option`,qn,u(i.$t(`daq.k1bkw4m2055`)),1),(s(!0),h(d,null,o(aa.value,e=>(s(),h(`option`,{key:e.id,value:e.id},u(e.name)+`(`+u(e.count)+`) `,9,Jn))),128)),y(`option`,Yn,u(i.$t(`daq.k3own4q056`)),1)],512),[[t,l(k).deviceId]])]),y(`label`,{class:`flt`,title:i.$t(`daq.khb8mru009`)},[y(`span`,null,u(i.$t(`daq.k1b2tkyv057`)),1),b(y(`select`,{"onUpdate:modelValue":a[30]||=e=>l(k).lineRun=e,class:`inp-sel`},[y(`option`,Zn,u(i.$t(`daq.k3x4t1058`)),1),y(`option`,Qn,u(i.$t(`daq.k1nxm3p7059`)),1),y(`option`,$n,u(i.$t(`daq.k1ulx34e060`)),1)],512),[[t,l(k).lineRun]])],8,Xn),y(`label`,er,[y(`span`,null,u(i.$t(`daq.k1iwdfef061`)),1),b(y(`select`,{"onUpdate:modelValue":a[31]||=e=>l(k).state=e,class:`inp-sel`},[y(`option`,tr,u(i.$t(`daq.k3x4t1058`)),1),y(`option`,nr,u(i.$t(`daq.k41k5c062`)),1),y(`option`,rr,u(i.$t(`daq.k49z8v063`)),1),y(`option`,ir,u(i.$t(`daq.k3xmid064`)),1),y(`option`,ar,u(i.$t(`daq.k44c2n065`)),1)],512),[[t,l(k).state]])]),y(`label`,or,[y(`span`,null,u(i.$t(`daq.k1flttpl010`)),1),b(y(`select`,{"onUpdate:modelValue":a[32]||=e=>l(k).template=e,class:`inp-sel`},[y(`option`,sr,u(i.$t(`daq.k1flttpl011`)),1),(s(!0),h(d,null,o(Wi.value,e=>(s(),h(`option`,{key:e.ref,value:e.ref},u(e.label)+`(`+u(e.count)+`) `,9,cr))),128))],512),[[t,l(k).template]])]),y(`label`,lr,[y(`span`,null,u(i.$t(`daq.k1fltdrv012`)),1),b(y(`select`,{"onUpdate:modelValue":a[33]||=e=>l(k).driver=e,class:`inp-sel`},[y(`option`,ur,u(i.$t(`daq.k1fltdrv013`)),1),(s(!0),h(d,null,o(Gi.value,e=>(s(),h(`option`,{key:e.kind,value:e.kind},u(e.label)+`(`+u(e.count)+`) `,9,dr))),128))],512),[[t,l(k).driver]])]),y(`label`,{class:`flt`,title:i.$t(`daq.k1flttim014`)},[y(`span`,null,u(i.$t(`daq.k1flttim015`)),1),b(y(`select`,{"onUpdate:modelValue":a[34]||=e=>l(k).time=e,class:`inp-sel`},[y(`option`,pr,u(i.$t(`daq.k1flttim016`)),1),y(`option`,mr,u(i.$t(`daq.k1timlv017`)),1),y(`option`,hr,u(i.$t(`daq.k1timhr018`)),1),y(`option`,gr,u(i.$t(`daq.k1timdy019`)),1),y(`option`,_r,u(i.$t(`daq.k1timld020`)),1),y(`option`,vr,u(i.$t(`daq.k1timnv021`)),1)],512),[[t,l(k).time]])],8,fr),y(`label`,yr,[y(`span`,null,u(i.$t(`daq.k1fltsrc022`)),1),b(y(`input`,{"onUpdate:modelValue":a[35]||=e=>l(k).search=e,class:`inp-sel flt-search`,type:`search`,placeholder:i.$t(`daq.k1fltsph023`)},null,8,br),[[n,l(k).search]])]),Hi.value?(s(),h(`button`,{key:0,class:`mini-btn clear-btn`,onClick:Ui},u(i.$t(`daq.k1fygck2066`)),1)):g(``,!0)]),y(`span`,xr,u(R.value.length)+` / `+u(l(T).nodes.length)+` `+u(i.$t(`daq.k45uio067`)),1)]),y(`div`,Sr,[y(`div`,{class:c([`ops-panel alarm-panel`,{live:l(T).alarms.length>0}])},[y(`div`,Cr,[a[57]||=y(`span`,{class:`i-tabler-bell-ringing bell`},null,-1),y(`b`,null,u(i.$t(`daq.k1alarm141`)),1),y(`span`,{class:c([`mono cnt`,{hot:l(T).alarms.length>0}])},u(l(T).alarms.length),3)]),y(`div`,wr,[l(T).alarms.length===0?(s(),h(`p`,Tr,u(i.$t(`daq.k1evt001`)),1)):(s(!0),h(d,{key:1},o(l(T).alarms,e=>(s(),h(`div`,{key:e.id,class:`alarm-row`},[a[58]||=y(`span`,{class:`i-tabler-alert-triangle tri`},null,-1),y(`b`,null,u(e.nodeName),1),y(`span`,Er,u(e.metric),1),y(`span`,Dr,u(e.value)+` `+u(e.rule===`lt-min`?`<`:`>`)+` `+u(e.threshold),1),e.escalation>0?(s(),h(`small`,Or,`+`+u(e.escalation),1)):g(``,!0),y(`button`,{class:`mini-btn ack`,onClick:t=>Bi(e.id)},u(i.$t(`daq.k1ack142`)),9,kr)]))),128))])],2),y(`div`,Ar,[y(`div`,jr,[a[60]||=y(`span`,{class:`i-tabler-activity`},null,-1),y(`b`,null,u(i.$t(`daq.k1evt002`)),1),S(p,{class:`panel-link`,to:`/logs`},{default:v(()=>[f(u(i.$t(`daq.k1evt003`)),1),a[59]||=y(`span`,{class:`i-tabler-arrow-right`},null,-1)]),_:1})]),y(`div`,Mr,[l(Ii).recent.length===0?(s(),h(`p`,Nr,u(i.$t(`daq.k1evt004`)),1)):(s(!0),h(d,{key:1},o(l(Ii).recent,(e,t)=>(s(),h(`div`,{key:`${e.at}:${e.actor}:${e.action}:${t}`,class:`evt-row`},[y(`span`,Pr,u(Ri(e.at)),1),y(`span`,{class:c([`src-badge`,e.actorKind])},u(e.actorKind===`agent`?`Agent`:e.actorKind===`user`?i.$t(`logs.src.user`):i.$t(`logs.src.system`)),3),y(`span`,{class:c([`kind-chip`,e.kind])},u(Li(e.kind)),3),y(`span`,{class:`txt`,title:e.summary},u(e.summary),9,Fr)]))),128))])])]),y(`table`,Ir,[y(`thead`,null,[y(`tr`,null,[y(`th`,null,u(i.$t(`daq.k45uio067`)),1),y(`th`,null,u(i.$t(`daq.k42w8s068`)),1),y(`th`,null,u(i.$t(`daq.k3mv305069`)),1),y(`th`,null,u(i.$t(`daq.k1trnd001`)),1),y(`th`,null,u(i.$t(`daq.k1l6g2ga070`)),1),y(`th`,null,u(i.$t(`daq.k3zi0nf071`)),1),y(`th`,null,u(i.$t(`daq.k4a0la072`)),1),y(`th`,null,u(i.$t(`daq.k3wj9n051`)),1),y(`th`,{title:i.$t(`daq.k1runtipc131`)},u(i.$t(`daq.k1b2tkyv057`)),9,Lr),y(`th`,{title:i.$t(`daq.k1prdrtip132`)},u(i.$t(`daq.k1prodrc128`)),9,Rr),y(`th`,null,u(i.$t(`daq.k1i8rtqt054`)),1),y(`th`,zr,u(i.$t(`daq.k40aa6073`)),1)])]),y(`tbody`,null,[(s(!0),h(d,null,o(pa.value,({n:e,c:t})=>(s(),h(`tr`,{key:e.id,class:c({"row-recipe-alarm":t.alarm})},[y(`td`,null,[y(`span`,Br,u(e.id.slice(0,8)),1),y(`b`,null,u(e.name),1),y(`small`,Vr,u(t.tpl),1)]),y(`td`,null,[y(`span`,{class:c([`st-pill`,[t.pill.key]]),title:t.pill.tip},u(t.pill.label),11,Hr)]),y(`td`,{class:c([`mono val`,{stale:!t.live,"val-alarm":e.state===`alarm`||t.alarm}]),title:t.live?void 0:t.pill.tip},[f(u(e.value==null?`--`:e.value.toFixed(e.decimals))+` `,1),y(`small`,null,u(e.unit),1)],10,Ur),y(`td`,Wr,[(s(),h(`svg`,{class:`trend`,viewBox:`0 0 120 26`,preserveAspectRatio:`none`,title:i.$t(`daq.k1trnd002`)},[D(e.hist,O(e).min)==null?g(``,!0):(s(),h(`line`,{key:0,class:`lim`,x1:`0`,y1:D(e.hist,O(e).min),x2:`120`,y2:D(e.hist,O(e).min)},null,8,Kr)),D(e.hist,O(e).max)==null?g(``,!0):(s(),h(`line`,{key:1,class:`lim max`,x1:`0`,y1:D(e.hist,O(e).max),x2:`120`,y2:D(e.hist,O(e).max)},null,8,qr)),y(`polyline`,{class:c([`trace`,{alarm:e.state===`alarm`||t.alarm}]),points:zi(e.hist)},null,10,Jr)],8,Gr))]),y(`td`,Yr,u(ha(e.intervalMs)),1),y(`td`,Xr,u(ga(e.publishIntervalMs)),1),y(`td`,null,[y(`span`,{class:c([`drv-tag`,{planned:Ra(e.driver)}]),title:Ra(e.driver)?i.$t(`daq.k1plndrv138`):``},u(e.driver),11,Zr)]),y(`td`,null,[y(`select`,{class:`line-sel`,value:e.lineId,title:i.$t(`daq.k3q23v3010`),onChange:t=>Oi(e.id,t)},[y(`option`,$r,u(i.$t(`daq.k3ootr6053`)),1),(s(!0),h(d,null,o(l(E).lines,e=>(s(),h(`option`,{key:e.id,value:e.id},u(e.name),9,ei))),128))],40,Qr)]),y(`td`,null,[e.lineId?(s(),h(`span`,{key:0,class:c([`run-pill`,{on:l(E).lineStateOf(e.lineId).active}]),title:i.$t(`daq.k1runtipc131`)},[a[61]||=y(`span`,{class:`rp-dot`},null,-1),f(` `+u(l(E).lineStateOf(e.lineId).active?i.$t(`daq.k3vp67i096`):i.$t(`daq.k3ozyqz117`)),1)],10,ti)):(s(),h(`span`,ni,u(i.$t(`daq.k3ootr6053`)),1))]),y(`td`,ri,[e.lineId&&l(E).lineStateOf(e.lineId).active?(s(),h(d,{key:0},[y(`b`,{title:i.$t(`daq.k1prdrtip132`)},u(l(E).lineStateOf(e.lineId).productName||`--`),9,ii),y(`small`,{class:`mono`,title:i.$t(`daq.k1prdrtip132`)},u(l(E).lineStateOf(e.lineId).recipeName||`--`),9,ai)],64)):(s(),h(`span`,oi,`--`))]),y(`td`,null,[y(`div`,si,[(s(!0),h(d,null,o(ji(e),t=>(s(),h(`span`,{key:t,class:`dev-bind-chip`,title:i.$t(`daq.k2bindtip137`)},[f(u(Mi(t))+` `,1),y(`span`,{class:`dev-unbind`,title:`unbind`,onClick:n=>Ai(e.id,t)},`✕`,8,li)],8,ci))),128)),y(`select`,{class:`line-sel dev-add`,value:``,title:i.$t(`daq.k2bindtip137`),onChange:t=>ki(e.id,t)},[y(`option`,di,u(i.$t(`daq.k3own4q056`)),1),(s(!0),h(d,null,o(ma.value,t=>(s(),h(`option`,{key:t.id,value:t.id,disabled:(e.deviceIds??[]).includes(t.id)},u(l(B).get(t.id)??t.name),9,fi))),128))],40,ui)])]),y(`td`,pi,[y(`button`,{class:c([`node-toggle`,{off:!e.enabled}]),title:e.enabled?i.$t(`daq.k1nodestop146`):i.$t(`daq.k1nodestart147`),onClick:t=>Ni(e)},[y(`span`,{class:c(e.enabled?`i-tabler-player-pause`:`i-tabler-player-play`)},null,2),f(` `+u(e.enabled?i.$t(`daq.k1nodestop146`):i.$t(`daq.k1nodestart147`)),1)],10,mi),S(p,{class:`console-link`,to:`/daq/${e.id}`},{default:v(()=>[a[62]||=y(`span`,{class:`i-tabler-dashboard`},null,-1),f(` `+u(i.$t(`daq.k3o3jg2074`)),1)]),_:1},8,[`to`])])],2))),128)),l(T).loaded&&l(T).nodes.length===0?(s(),h(`tr`,hi,[y(`td`,gi,[y(`div`,_i,[y(`p`,vi,u(i.$t(`daq.kvhjyc3075`)),1)])])])):l(T).loaded&&R.value.length===0?(s(),h(`tr`,yi,[y(`td`,bi,[y(`div`,xi,[y(`p`,Si,u(i.$t(`daq.k1w20qew076`)),1)])])])):g(``,!0)])])])]),_:1},8,[`spinning`]),l(T).error?(s(),h(`p`,Ci,[f(u(l(T).error)+`(`,1),S(p,{to:`/workshop`},{default:v(()=>[f(u(i.$t(`daq.k1bhhheq077`)),1)]),_:1}),a[63]||=f(`) `,-1)])):g(``,!0)])}}}),[[`__scopeId`,`data-v-1dcb778c`]]);export{T as default};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import{C as e,F as t,O as n,P as r,U as i,a,et as o,f as s,gt as c,mt as l,vt as u,x as d}from"./BSCpFtzG.js";import{At as f,B as p,Ct as m,Q as h,X as g,_,ct as v,d as y,et as b,g as x,h as S,ht as C,j as w,kt as T,lt as E,mt as D,n as O,t as k,tt as A,u as j}from"./BDUjyaF4.js";import{E as M,T as ee,k as N}from"./DtBu71ev.js";import{K as te,V as P,X as F,a as I,c as L,d as R,f as z,g as B,p as ne,s as V}from"./VLI2Zy4t.js";import{a as re}from"./BN_PdN3J.js";import{h as H}from"./D-Ca4BGY.js";import{c as U,f as W,l as ie,m as ae,o as G,p as oe,s as se,u as ce}from"./Cn3J3NXR.js";import{n as le,t as ue}from"./D95h62Jn.js";function K(e){return e!=null}var q=e=>{let{itemPrefixCls:t,component:n,span:r,labelStyle:i,contentStyle:a,bordered:o,label:s,content:c,colon:l}=e,u=n;return o?d(u,{class:[{[`${t}-item-label`]:K(s),[`${t}-item-content`]:K(c)}],colSpan:r},{default:()=>[K(s)&&d(`span`,{style:i},[s]),K(c)&&d(`span`,{style:a},[c])]}):d(u,{class:[`${t}-item`],colSpan:r},{default:()=>[d(`div`,{class:`${t}-item-container`},[(s||s===0)&&d(`span`,{class:[`${t}-item-label`,{[`${t}-item-no-colon`]:!l}],style:i},[s]),(c||c===0)&&d(`span`,{class:`${t}-item-content`,style:a},[c])])]})},de=e=>{let t=(e,t,n)=>{let{colon:r,prefixCls:i,bordered:a}=t,{component:o,type:s,showLabel:c,showContent:l,labelStyle:u,contentStyle:f}=n;return e.map((e,t)=>{var n;let p=e.props||{},{prefixCls:m=i,span:h=1,labelStyle:g=p[`label-style`],contentStyle:_=p[`content-style`],label:v=((n=e.children)?.label)?.call(n)}=p,y=D(e),b=E(e),x=C(e),{key:S}=e;return typeof o==`string`?d(q,{key:`${s}-${String(S)||t}`,class:b,style:x,labelStyle:T(T({},u),g),contentStyle:T(T({},f),_),span:h,colon:r,component:o,itemPrefixCls:m,bordered:a,label:c?v:null,content:l?y:null},null):[d(q,{key:`label-${String(S)||t}`,class:b,style:T(T(T({},u),x),g),span:1,colon:r,component:o[0],itemPrefixCls:m,bordered:a,label:v},null),d(q,{key:`content-${String(S)||t}`,class:b,style:T(T(T({},f),x),_),span:h*2-1,component:o[1],itemPrefixCls:m,bordered:a,content:y},null)]})},{prefixCls:r,vertical:i,row:o,index:s,bordered:c}=e,{labelStyle:u,contentStyle:f}=n(xe,{labelStyle:l({}),contentStyle:l({})});return i?d(a,null,[d(`tr`,{key:`label-${s}`,class:`${r}-row`},[t(o,e,{component:`th`,type:`label`,showLabel:!0,labelStyle:u.value,contentStyle:f.value})]),d(`tr`,{key:`content-${s}`,class:`${r}-row`},[t(o,e,{component:`td`,type:`content`,showContent:!0,labelStyle:u.value,contentStyle:f.value})])]):d(`tr`,{key:s,class:`${r}-row`},[t(o,e,{component:c?[`th`,`td`]:`td`,type:`item`,showLabel:!0,showContent:!0,labelStyle:u.value,contentStyle:f.value})])},fe=e=>{let{componentCls:t,descriptionsSmallPadding:n,descriptionsDefaultPadding:r,descriptionsMiddlePadding:i,descriptionsBg:a}=e;return{[`&${t}-bordered`]:{[`${t}-view`]:{border:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:`auto`,borderCollapse:`collapse`}},[`${t}-item-label, ${t}-item-content`]:{padding:r,borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:`none`}},[`${t}-item-label`]:{backgroundColor:a,"&::after":{display:`none`}},[`${t}-row`]:{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBottom:`none`}},[`&${t}-middle`]:{[`${t}-item-label, ${t}-item-content`]:{padding:i}},[`&${t}-small`]:{[`${t}-item-label, ${t}-item-content`]:{padding:n}}}}},pe=e=>{let{componentCls:t,descriptionsExtraColor:n,descriptionItemPaddingBottom:r,descriptionsItemLabelColonMarginRight:i,descriptionsItemLabelColonMarginLeft:a,descriptionsTitleMarginBottom:o}=e;return{[t]:T(T(T({},S(e)),fe(e)),{"&-rtl":{direction:`rtl`},[`${t}-header`]:{display:`flex`,alignItems:`center`,marginBottom:o},[`${t}-title`]:T(T({},_),{flex:`auto`,color:e.colorText,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:`auto`,color:n,fontSize:e.fontSize},[`${t}-view`]:{width:`100%`,borderRadius:e.borderRadiusLG,table:{width:`100%`,tableLayout:`fixed`}},[`${t}-row`]:{"> th, > td":{paddingBottom:r},"&:last-child":{borderBottom:`none`}},[`${t}-item-label`]:{color:e.colorText,fontWeight:`normal`,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:`start`,"&::after":{content:`":"`,position:`relative`,top:-.5,marginInline:`${a}px ${i}px`},[`&${t}-item-no-colon::after`]:{content:`""`}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:`""`}},[`${t}-item-content`]:{display:`table-cell`,flex:1,color:e.colorText,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`}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},me=y(`Descriptions`,e=>{let t=e.colorFillAlter,n=e.fontSizeSM*e.lineHeightSM,r=e.colorText,i=`${e.paddingXS}px ${e.padding}px`,a=`${e.padding}px ${e.paddingLG}px`,o=`${e.paddingSM}px ${e.paddingLG}px`,s=e.padding,c=e.marginXS,l=e.marginXXS/2;return[pe(j(e,{descriptionsBg:t,descriptionsTitleMarginBottom:n,descriptionsExtraColor:r,descriptionItemPaddingBottom:s,descriptionsSmallPadding:i,descriptionsDefaultPadding:a,descriptionsMiddlePadding:o,descriptionsItemLabelColonMarginRight:c,descriptionsItemLabelColonMarginLeft:l}))]});k.any;var he=e({compatConfig:{MODE:3},name:`ADescriptionsItem`,props:{prefixCls:String,label:k.any,labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0},span:{type:Number,default:1}},setup(e,t){let{slots:n}=t;return()=>n.default?.call(n)}}),ge={xxxl:3,xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};function _e(e,t){if(typeof e==`number`)return e;if(typeof e==`object`)for(let n=0;n<ue.length;n++){let r=ue[n];if(t[r]&&e[r]!==void 0)return e[r]||ge[r]}return 3}function ve(e,t,n){let r=e;return(n===void 0||n>t)&&(r=P(e,{span:t}),w(n===void 0,`Descriptions`,"Sum of column `span` in a line not match `column` of Descriptions.")),r}function ye(e,t){let n=v(e),r=[],i=[],a=t;return n.forEach((e,o)=>{let s=e.props?.span,c=s||1;if(o===n.length-1){i.push(ve(e,a,s)),r.push(i);return}c<a?(a-=c,i.push(e)):(i.push(ve(e,a,c)),r.push(i),a=t,i=[])}),r}var be=()=>({prefixCls:String,bordered:{type:Boolean,default:void 0},size:{type:String,default:`default`},title:k.any,extra:k.any,column:{type:[Number,Object],default:()=>ge},layout:String,colon:{type:Boolean,default:void 0},labelStyle:{type:Object,default:void 0},contentStyle:{type:Object,default:void 0}}),xe=Symbol(`descriptionsContext`),J=e({compatConfig:{MODE:3},name:`ADescriptions`,inheritAttrs:!1,props:be(),slots:Object,Item:he,setup(e,n){let{slots:a,attrs:o}=n,{prefixCls:c,direction:p}=O(`descriptions`,e),m,h=l({}),[g,_]=me(c),v=le();r(()=>{m=v.value.subscribe(t=>{typeof e.column==`object`&&(h.value=t)})}),t(()=>{v.value.unsubscribe(m)}),i(xe,{labelStyle:u(e,`labelStyle`),contentStyle:u(e,`contentStyle`)});let y=s(()=>_e(e.column,h.value));return()=>{let{size:t,bordered:n=!1,layout:r=`horizontal`,colon:i=!0,title:s=a.title?.call(a),extra:l=a.extra?.call(a)}=e,u=ye(a.default?.call(a),y.value);return g(d(`div`,f(f({},o),{},{class:[c.value,{[`${c.value}-${t}`]:t!=="default",[`${c.value}-bordered`]:!!n,[`${c.value}-rtl`]:p.value===`rtl`},o.class,_.value]}),[(s||l)&&d(`div`,{class:`${c.value}-header`},[s&&d(`div`,{class:`${c.value}-title`},[s]),l&&d(`div`,{class:`${c.value}-extra`},[l])]),d(`div`,{class:`${c.value}-view`},[d(`table`,null,[d(`tbody`,null,[u.map((e,t)=>d(de,{key:t,index:t,colon:i,prefixCls:c.value,vertical:r===`vertical`,bordered:n,row:e},null))])])])]))}}});J.install=function(e){return e.component(J.name,J),e.component(J.Item.name,J.Item),e};var Se={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z`}}]},name:`up`,theme:`outlined`};function Ce(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:Object(arguments[t]),r=Object.keys(n);typeof Object.getOwnPropertySymbols==`function`&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){we(e,t,n[t])})}return e}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=function(e,t){var n=Ce({},e,t.attrs);return d(H,Ce({},n,{icon:Se}),null)};Y.displayName=`UpOutlined`,Y.inheritAttrs=!1;function Te(){return typeof BigInt==`function`}function X(e){let t=e.trim(),n=t.startsWith(`-`);n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,`$1`).replace(/\.0*$/,``).replace(/^0+/,``),t.startsWith(`.`)&&(t=`0${t}`);let r=t||`0`,i=r.split(`.`),a=i[0]||`0`,o=i[1]||`0`;a===`0`&&o===`0`&&(n=!1);let s=n?`-`:``;return{negative:n,negativeStr:s,trimStr:r,integerStr:a,decimalStr:o,fullStr:`${s}${r}`}}function Ee(e){let t=String(e);return!Number.isNaN(Number(t))&&t.includes(`e`)}function Z(e){let t=String(e);if(Ee(e)){let e=Number(t.slice(t.indexOf(`e-`)+2)),n=t.match(/\.(\d+)/);return n?.[1]&&(e+=n[1].length),e}return t.includes(`.`)&&Oe(t)?t.length-t.indexOf(`.`)-1:0}function De(e){let t=String(e);if(Ee(e)){if(e>2**53-1)return String(Te()?BigInt(e).toString():2**53-1);if(e<-(2**53-1))return String(Te()?BigInt(e).toString():-(2**53-1));t=e.toFixed(Z(t))}return X(t).fullStr}function Oe(e){return typeof e==`number`?!Number.isNaN(e):e?/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e):!1}function ke(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}var Ae=class e{constructor(e){if(this.origin=``,ke(e)){this.empty=!0;return}this.origin=String(e),this.number=Number(e)}negate(){return new e(-this.toNumber())}add(t){if(this.isInvalidate())return new e(t);let n=Number(t);if(Number.isNaN(n))return this;let r=this.number+n;if(r>2**53-1)return new e(2**53-1);if(r<-(2**53-1))return new e(-(2**53-1));let i=Math.max(Z(this.number),Z(n));return new e(r.toFixed(i))}isEmpty(){return this.empty}isNaN(){return Number.isNaN(this.number)}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(e){return this.toNumber()===e?.toNumber()}lessEquals(e){return this.add(e.negate().toString()).toNumber()<=0}toNumber(){return this.number}toString(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isInvalidate()?``:De(this.number):this.origin}},je=class e{constructor(e){if(this.origin=``,ke(e)){this.empty=!0;return}if(this.origin=String(e),e===`-`||Number.isNaN(e)){this.nan=!0;return}let t=e;if(Ee(t)&&(t=Number(t)),t=typeof t==`string`?t:De(t),Oe(t)){let e=X(t);this.negative=e.negative;let n=e.trimStr.split(`.`);this.integer=BigInt(n[0]);let r=n[1]||`0`;this.decimal=BigInt(r),this.decimalLen=r.length}else this.nan=!0}getMark(){return this.negative?`-`:``}getIntegerStr(){return this.integer.toString()}getDecimalStr(){return this.decimal.toString().padStart(this.decimalLen,`0`)}alignDecimal(e){let t=`${this.getMark()}${this.getIntegerStr()}${this.getDecimalStr().padEnd(e,`0`)}`;return BigInt(t)}negate(){let t=new e(this.toString());return t.negative=!t.negative,t}add(t){if(this.isInvalidate())return new e(t);let n=new e(t);if(n.isInvalidate())return this;let r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),{negativeStr:i,trimStr:a}=X((this.alignDecimal(r)+n.alignDecimal(r)).toString()),o=`${i}${a.padStart(r+1,`0`)}`;return new e(`${o.slice(0,-r)}.${o.slice(-r)}`)}isEmpty(){return this.empty}isNaN(){return this.nan}isInvalidate(){return this.isEmpty()||this.isNaN()}equals(e){return this.toString()===e?.toString()}lessEquals(e){return this.add(e.negate().toString()).toNumber()<=0}toNumber(){return this.isNaN()?NaN:Number(this.toString())}toString(){return!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?this.isInvalidate()?``:X(`${this.getMark()}${this.getIntegerStr()}.${this.getDecimalStr()}`).fullStr:this.origin}};function Q(e){return Te()?new je(e):new Ae(e)}function Me(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(e===``)return``;let{negativeStr:i,integerStr:a,decimalStr:o}=X(e),s=`${t}${o}`,c=`${i}${a}`;if(n>=0){let a=Number(o[n]);return a>=5&&!r?Me(Q(e).add(`${i}0.${`0`.repeat(n)}${10-a}`).toString(),t,n,r):n===0?c:`${c}${t}${o.padEnd(n,`0`).slice(0,n)}`}return s===`.0`?c:`${c}${s}`}var Ne=200,Pe=600,Fe=e({compatConfig:{MODE:3},name:`StepHandler`,inheritAttrs:!1,props:{prefixCls:String,upDisabled:Boolean,downDisabled:Boolean,onStep:h()},slots:Object,setup(e,n){let{slots:r,emit:i}=n,a=l(),o=(e,t)=>{e.preventDefault(),i(`step`,t);function n(){i(`step`,t),a.value=setTimeout(n,Ne)}a.value=setTimeout(n,Pe)},s=()=>{clearTimeout(a.value)};return t(()=>{s()}),()=>{if(N())return null;let{prefixCls:t,upDisabled:n,downDisabled:i}=e,a=`${t}-handler`,c=m(a,`${a}-up`,{[`${a}-up-disabled`]:n}),l=m(a,`${a}-down`,{[`${a}-down-disabled`]:i}),u={unselectable:`on`,role:`button`,onMouseup:s,onMouseleave:s},{upNode:p,downNode:h}=r;return d(`div`,{class:`${a}-wrap`},[d(`span`,f(f({},u),{},{onMousedown:e=>{o(e,!0)},"aria-label":`Increase Value`,"aria-disabled":n,class:c}),[p?.()||d(`span`,{unselectable:`on`,class:`${t}-handler-up-inner`},null)]),d(`span`,f(f({},u),{},{onMousedown:e=>{o(e,!1)},"aria-label":`Decrease Value`,"aria-disabled":i,class:l}),[h?.()||d(`span`,{unselectable:`on`,class:`${t}-handler-down-inner`},null)])])}}});function Ie(e,t){let n=l(null);function r(){try{let{selectionStart:t,selectionEnd:r,value:i}=e.value,a=i.substring(0,t),o=i.substring(r);n.value={start:t,end:r,value:i,beforeTxt:a,afterTxt:o}}catch{}}function i(){if(e.value&&n.value&&t.value)try{let{value:t}=e.value,{beforeTxt:r,afterTxt:i,start:a}=n.value,o=t.length;if(t.endsWith(i))o=t.length-n.value.afterTxt.length;else if(t.startsWith(r))o=r.length;else{let e=r[a-1],n=t.indexOf(e,a-1);n!==-1&&(o=n+1)}e.value.setSelectionRange(o,o)}catch(e){`${e.message}`}}return[r,i]}var Le=(()=>{let e=c(0),n=()=>{F.cancel(e.value)};return t(()=>{n()}),t=>{n(),e.value=F(()=>{t()})}}),Re=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},ze=(e,t)=>e||t.isEmpty()?t.toString():t.toNumber(),Be=e=>{let t=Q(e);return t.isInvalidate()?null:t},Ve=()=>({stringMode:g(),defaultValue:b([String,Number]),value:b([String,Number]),prefixCls:A(),min:b([String,Number]),max:b([String,Number]),step:b([String,Number],1),tabindex:Number,controls:g(!0),readonly:g(),disabled:g(),autofocus:g(),keyboard:g(!0),parser:h(),formatter:h(),precision:Number,decimalSeparator:String,onInput:h(),onChange:h(),onPressEnter:h(),onStep:h(),onBlur:h(),onFocus:h()}),He=e({compatConfig:{MODE:3},name:`InnerInputNumber`,inheritAttrs:!1,props:T(T({},Ve()),{lazy:Boolean}),slots:Object,setup(e,t){let{attrs:n,slots:r,emit:i,expose:a}=t,l=c(),u=c(!1),p=c(!1),h=c(!1),g=c(Q(e.value));function _(t){e.value===void 0&&(g.value=t)}let v=(t,n)=>{if(!n)return e.precision>=0?e.precision:Math.max(Z(t),Z(e.step))},y=t=>{let n=String(t);if(e.parser)return e.parser(n);let r=n;return e.decimalSeparator&&(r=r.replace(e.decimalSeparator,`.`)),r.replace(/[^\w.-]+/g,``)},b=c(``),x=(t,n)=>{if(e.formatter)return e.formatter(t,{userTyping:n,input:String(b.value)});let r=typeof t==`number`?De(t):t;if(!n){let t=v(r,n);if(Oe(r)&&(e.decimalSeparator||t>=0)){let n=e.decimalSeparator||`.`;r=Me(r,n,t)}}return r};b.value=(()=>{let t=e.value;return g.value.isInvalidate()&&[`string`,`number`].includes(typeof t)?Number.isNaN(t)?``:t:x(g.value.toString(),!1)})();function S(e,t){b.value=x(e.isInvalidate()?e.toString(!1):e.toString(!t),t)}let C=s(()=>Be(e.max)),w=s(()=>Be(e.min)),E=s(()=>!C.value||!g.value||g.value.isInvalidate()?!1:C.value.lessEquals(g.value)),D=s(()=>!w.value||!g.value||g.value.isInvalidate()?!1:g.value.lessEquals(w.value)),[O,k]=Ie(l,u),A=e=>C.value&&!e.lessEquals(C.value)?C.value:w.value&&!w.value.lessEquals(e)?w.value:null,j=e=>!A(e),M=(t,n)=>{var r;let i=t,a=j(i)||i.isEmpty();if(!i.isEmpty()&&!n&&(i=A(i)||i,a=!0),!e.readonly&&!e.disabled&&a){let t=i.toString(),a=v(t,n);return a>=0&&(i=Q(Me(t,`.`,a))),i.equals(g.value)||(_(i),(r=e.onChange)==null||r.call(e,i.isEmpty()?null:ze(e.stringMode,i)),e.value===void 0&&S(i,n)),i}return g.value},ee=Le(),N=t=>{var n;if(O(),b.value=t,!h.value){let e=Q(y(t));e.isNaN()||M(e,!0)}(n=e.onInput)==null||n.call(e,t),ee(()=>{let n=t;e.parser||(n=t.replace(/。/g,`.`)),n!==t&&N(n)})},te=()=>{h.value=!0},P=()=>{h.value=!1,N(l.value.value)},F=e=>{N(e.target.value)},I=t=>{var n,r;if(t&&E.value||!t&&D.value)return;p.value=!1;let i=Q(e.step);t||(i=i.negate());let a=(g.value||Q(0)).add(i.toString()),o=M(a,!1);(n=e.onStep)==null||n.call(e,ze(e.stringMode,o),{offset:e.step,type:t?`up`:`down`}),(r=l.value)==null||r.focus()},L=t=>{let n=Q(y(b.value)),r=n;r=n.isNaN()?g.value:M(n,t),e.value===void 0?r.isNaN()||S(r,!1):S(g.value,!1)},R=()=>{p.value=!0},z=t=>{var n;let{which:r}=t;p.value=!0,r===B.ENTER&&(h.value||(p.value=!1),L(!1),(n=e.onPressEnter)==null||n.call(e,t)),e.keyboard!==!1&&!h.value&&[B.UP,B.DOWN].includes(r)&&(I(B.UP===r),t.preventDefault())},ne=()=>{p.value=!1},V=e=>{L(!1),u.value=!1,p.value=!1,i(`blur`,e)};return o(()=>e.precision,()=>{g.value.isInvalidate()||S(g.value,!1)},{flush:`post`}),o(()=>e.value,()=>{let t=Q(e.value);g.value=t;let n=Q(y(b.value));(!t.equals(n)||!p.value||e.formatter)&&S(t,p.value)},{flush:`post`}),o(b,()=>{e.formatter&&k()},{flush:`post`}),o(()=>e.disabled,e=>{e&&(u.value=!1)}),a({focus:()=>{var e;(e=l.value)==null||e.focus()},blur:()=>{var e;(e=l.value)==null||e.blur()}}),()=>{let t=T(T({},n),e),{prefixCls:a=`rc-input-number`,min:o,max:s,step:c=1,defaultValue:p,value:h,disabled:_,readonly:v,keyboard:y,controls:x=!0,autofocus:S,stringMode:C,parser:w,formatter:O,precision:k,decimalSeparator:A,onChange:M,onInput:ee,onPressEnter:N,onStep:L,lazy:B,class:re,style:H}=t,U=Re(t,[`prefixCls`,`min`,`max`,`step`,`defaultValue`,`value`,`disabled`,`readonly`,`keyboard`,`controls`,`autofocus`,`stringMode`,`parser`,`formatter`,`precision`,`decimalSeparator`,`onChange`,`onInput`,`onPressEnter`,`onStep`,`lazy`,`class`,`style`]),{upHandler:W,downHandler:ie}=r,ae=`${a}-input`,G={};return B?G.onChange=F:G.onInput=F,d(`div`,{class:m(a,re,{[`${a}-focused`]:u.value,[`${a}-disabled`]:_,[`${a}-readonly`]:v,[`${a}-not-a-number`]:g.value.isNaN(),[`${a}-out-of-range`]:!g.value.isInvalidate()&&!j(g.value)}),style:H,onKeydown:z,onKeyup:ne},[x&&d(Fe,{prefixCls:a,upDisabled:E.value,downDisabled:D.value,onStep:I},{upNode:W,downNode:ie}),d(`div`,{class:`${ae}-wrap`},[d(`input`,f(f(f({autofocus:S,autocomplete:`off`,role:`spinbutton`,"aria-valuemin":o,"aria-valuemax":s,"aria-valuenow":g.value.isInvalidate()?null:g.value.toString(),step:c},U),{},{ref:l,class:ae,value:b.value,disabled:_,readonly:v,onFocus:e=>{u.value=!0,i(`focus`,e)}},G),{},{onBlur:V,onCompositionstart:te,onCompositionend:P,onBeforeinput:R}),null)])])}}});function Ue(e){return e!=null}var We=e=>{let{componentCls:t,lineWidth:n,lineType:r,colorBorder:i,borderRadius:a,fontSizeLG:o,controlHeightLG:s,controlHeightSM:c,colorError:l,inputPaddingHorizontalSM:u,colorTextDescription:d,motionDurationMid:f,colorPrimary:p,controlHeight:m,inputPaddingHorizontal:h,colorBgContainer:g,colorTextDisabled:_,borderRadiusSM:v,borderRadiusLG:y,controlWidth:b,handleVisible:C}=e;return[{[t]:T(T(T(T({},S(e)),se(e)),oe(e,t)),{display:`inline-block`,width:b,margin:0,padding:0,border:`${n}px ${r} ${i}`,borderRadius:a,"&-rtl":{direction:`rtl`,[`${t}-input`]:{direction:`rtl`}},"&-lg":{padding:0,fontSize:o,borderRadius:y,[`input${t}-input`]:{height:s-2*n}},"&-sm":{padding:0,borderRadius:v,[`input${t}-input`]:{height:c-2*n,padding:`0 ${u}px`}},"&:hover":T({},ie(e)),"&-focused":T({},G(e)),"&-disabled":T(T({},U(e)),{[`${t}-input`]:{cursor:`not-allowed`}}),"&-out-of-range":{input:{color:l}},"&-group":T(T(T({},S(e)),ce(e)),{"&-wrapper":{display:`inline-block`,textAlign:`start`,verticalAlign:`top`,[`${t}-affix-wrapper`]:{width:`100%`},"&-lg":{[`${t}-group-addon`]:{borderRadius:y}},"&-sm":{[`${t}-group-addon`]:{borderRadius:v}}}}),[t]:{"&-input":T(T({width:`100%`,height:m-2*n,padding:`0 ${h}px`,textAlign:`start`,backgroundColor:`transparent`,border:0,borderRadius:a,outline:0,transition:`all ${f} linear`,appearance:`textfield`,color:e.colorText,fontSize:`inherit`,verticalAlign:`top`},W(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:`none`,appearance:`none`}})}})},{[t]:{[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{opacity:1},[`${t}-handler-wrap`]:{position:`absolute`,insetBlockStart:0,insetInlineEnd:0,width:e.handleWidth,height:`100%`,background:g,borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,opacity:+(C===!0),display:`flex`,flexDirection:`column`,alignItems:`stretch`,transition:`opacity ${f} linear ${f}`,[`${t}-handler`]:{display:`flex`,alignItems:`center`,justifyContent:`center`,flex:`auto`,height:`40%`,[`
|
|
2
|
-
${t}-handler-up-inner,
|
|
3
|
-
${t}-handler-down-inner
|
|
4
|
-
`]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:`50%`,overflow:`hidden`,color:d,fontWeight:`bold`,lineHeight:0,textAlign:`center`,cursor:`pointer`,borderInlineStart:`${n}px ${r} ${i}`,transition:`all ${f} linear`,"&:active":{background:e.colorFillAlter},"&:hover":{height:`60%`,[`
|
|
5
|
-
${t}-handler-up-inner,
|
|
6
|
-
${t}-handler-down-inner
|
|
7
|
-
`]:{color:p}},"&-up-inner, &-down-inner":T(T({},x()),{color:d,transition:`all ${f} linear`,userSelect:`none`})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderBlockStart:`${n}px ${r} ${i}`,borderEndEndRadius:a},"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:`none`},[`${t}-input`]:{color:`inherit`}},[`
|
|
8
|
-
${t}-handler-up-disabled,
|
|
9
|
-
${t}-handler-down-disabled
|
|
10
|
-
`]:{cursor:`not-allowed`},[`
|
|
11
|
-
${t}-handler-up-disabled:hover &-handler-up-inner,
|
|
12
|
-
${t}-handler-down-disabled:hover &-handler-down-inner
|
|
13
|
-
`]:{color:_}}},{[`${t}-borderless`]:{borderColor:`transparent`,boxShadow:`none`,[`${t}-handler-down`]:{borderBlockStartWidth:0}}}]},Ge=e=>{let{componentCls:t,inputPaddingHorizontal:n,inputAffixPadding:r,controlWidth:i,borderRadiusLG:a,borderRadiusSM:o}=e;return{[`${t}-affix-wrapper`]:T(T(T({},se(e)),oe(e,`${t}-affix-wrapper`)),{position:`relative`,display:`inline-flex`,width:i,padding:0,paddingInlineStart:n,"&-lg":{borderRadius:a},"&-sm":{borderRadius:o},[`&:not(${t}-affix-wrapper-disabled):hover`]:T(T({},ie(e)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${t}[disabled]`]:{background:`transparent`}},[`> div${t}`]:{width:`100%`,border:`none`,outline:`none`,[`&${t}-focused`]:{boxShadow:`none !important`}},[`input${t}-input`]:{padding:0},"&::before":{width:0,visibility:`hidden`,content:`"\\a0"`},[`${t}-handler-wrap`]:{zIndex:2},[t]:{"&-prefix, &-suffix":{display:`flex`,flex:`none`,alignItems:`center`,pointerEvents:`none`},"&-prefix":{marginInlineEnd:r},"&-suffix":{position:`absolute`,insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:`100%`,marginInlineEnd:n,marginInlineStart:r}}})}},Ke=y(`InputNumber`,e=>{let t=ae(e);return[We(t),Ge(t),I(t)]},e=>({controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:`auto`})),qe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},Je=Ve(),$=e({compatConfig:{MODE:3},name:`AInputNumber`,inheritAttrs:!1,props:T(T({},Je),{size:A(),bordered:g(!0),placeholder:String,name:String,id:String,type:String,addonBefore:k.any,addonAfter:k.any,prefix:k.any,"onUpdate:value":Je.onChange,valueModifiers:Object,status:A()}),slots:Object,setup(e,t){let{emit:n,expose:r,attrs:i,slots:a}=t,l=ne(),u=R.useInject(),h=s(()=>ee(u.status,e.status)),{prefixCls:g,size:_,direction:v,disabled:y}=O(`input-number`,e),{compactSize:b,compactItemClassnames:x}=L(g,v),S=p(),C=s(()=>y.value??S.value),[w,E]=Ke(g),D=s(()=>b.value||_.value),k=c(e.value??e.defaultValue),A=c(!1);o(()=>e.value,()=>{k.value=e.value});let j=c(null),N=()=>{var e;(e=j.value)==null||e.focus()};r({focus:N,blur:()=>{var e;(e=j.value)==null||e.blur()}});let F=t=>{e.value===void 0&&(k.value=t),n(`update:value`,t),n(`change`,t),l.onFieldChange()},I=e=>{A.value=!1,n(`blur`,e),l.onFieldBlur()},B=e=>{A.value=!0,n(`focus`,e)};return()=>{let{hasFeedback:t,isFormItemInput:n,feedbackIcon:r}=u,o=e.id??l.id.value,s=T(T(T({},i),e),{id:o,disabled:C.value}),{class:c,bordered:p,readonly:_,style:y,addonBefore:b=a.addonBefore?.call(a),addonAfter:S=a.addonAfter?.call(a),prefix:O=a.prefix?.call(a),valueModifiers:ee={}}=s,L=qe(s,[`class`,`bordered`,`readonly`,`style`,`addonBefore`,`addonAfter`,`prefix`,`valueModifiers`]),R=g.value,ne=m({[`${R}-lg`]:D.value===`large`,[`${R}-sm`]:D.value===`small`,[`${R}-rtl`]:v.value===`rtl`,[`${R}-readonly`]:_,[`${R}-borderless`]:!p,[`${R}-in-form-item`]:n},M(R,h.value),c,x.value,E.value),H=d(He,f(f({},te(L,[`size`,`defaultValue`])),{},{ref:j,lazy:!!ee.lazy,value:k.value,class:ne,prefixCls:R,readonly:_,onChange:F,onBlur:I,onFocus:B}),{upHandler:a.upIcon?()=>d(`span`,{class:`${R}-handler-up-inner`},[a.upIcon()]):()=>d(Y,{class:`${R}-handler-up-inner`},null),downHandler:a.downIcon?()=>d(`span`,{class:`${R}-handler-down-inner`},[a.downIcon()]):()=>d(re,{class:`${R}-handler-down-inner`},null)}),U=Ue(b)||Ue(S),W=Ue(O);if(W||t){let e=m(`${R}-affix-wrapper`,M(`${R}-affix-wrapper`,h.value,t),{[`${R}-affix-wrapper-focused`]:A.value,[`${R}-affix-wrapper-disabled`]:C.value,[`${R}-affix-wrapper-sm`]:D.value===`small`,[`${R}-affix-wrapper-lg`]:D.value===`large`,[`${R}-affix-wrapper-rtl`]:v.value===`rtl`,[`${R}-affix-wrapper-readonly`]:_,[`${R}-affix-wrapper-borderless`]:!p,[`${c}`]:!U&&c},E.value);H=d(`div`,{class:e,style:y,onClick:N},[W&&d(`span`,{class:`${R}-prefix`},[O]),H,t&&d(`span`,{class:`${R}-suffix`},[r])])}if(U){let e=`${R}-group`,n=`${e}-addon`,r=b?d(`div`,{class:n},[b]):null,i=S?d(`div`,{class:n},[S]):null,a=m(`${R}-wrapper`,e,{[`${e}-rtl`]:v.value===`rtl`},E.value),o=m(`${R}-group-wrapper`,{[`${R}-group-wrapper-sm`]:D.value===`small`,[`${R}-group-wrapper-lg`]:D.value===`large`,[`${R}-group-wrapper-rtl`]:v.value===`rtl`},M(`${g}-group-wrapper`,h.value,t),c,E.value);H=d(`div`,{class:o,style:y},[d(`div`,{class:a},[r&&d(V,null,{default:()=>[d(z,null,{default:()=>[r]})]}),H,i&&d(V,null,{default:()=>[d(z,null,{default:()=>[i]})]})])])}return w(P(H,{style:y}))}}}),Ye=T($,{install:e=>(e.component($.name,$),e)});export{J as n,he as r,Ye as t};
|