agentworkshop 0.7.39 → 0.7.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/.AgentWorkShop/prompts/host-tools.json +55 -0
  2. package/.output/.AgentWorkShop/prompts/host-tools.json +55 -0
  3. package/.output/nitro.json +1 -1
  4. package/.output/public/_nuxt/88GOowgO2.js +1 -0
  5. package/.output/public/_nuxt/{BNT8gYU92.js → BC9wjTJK2.js} +2 -2
  6. package/.output/public/_nuxt/BOt2SP4z.js +1 -0
  7. package/.output/public/_nuxt/BP-NyKVG.js +18 -0
  8. package/.output/public/_nuxt/{HBLJ-wei.js → BXxH0UQE.js} +1 -1
  9. package/.output/public/_nuxt/{zIGh7R49.js → BneN7fbu.js} +1 -1
  10. package/.output/public/_nuxt/BsROmY89.js +1 -0
  11. package/.output/public/_nuxt/{C_OLzD09.js → C4oW1HsE.js} +1 -1
  12. package/.output/public/_nuxt/CFxtLwjp.js +1 -0
  13. package/.output/public/_nuxt/{Cec0Ua3F.js → CS50LB_l.js} +1 -1
  14. package/.output/public/_nuxt/C_iYD-EB.js +1 -0
  15. package/.output/public/_nuxt/{DAe0h2MB.js → ClILjvWH.js} +1 -1
  16. package/.output/public/_nuxt/CssgYAAL2.js +1 -0
  17. package/.output/public/_nuxt/{CY9LbPCI.js → CzOCSGLe.js} +1 -1
  18. package/.output/public/_nuxt/D8qvkfyY.js +1 -0
  19. package/.output/public/_nuxt/DCn7QZ5N.js +2 -0
  20. package/.output/public/_nuxt/DGIuvyRN2.js +1 -0
  21. package/.output/public/_nuxt/{CojCTLKD.js → DGj-WEBg.js} +1 -1
  22. package/.output/public/_nuxt/{DDShH71m.js → DS8qj8EL.js} +1 -1
  23. package/.output/public/_nuxt/DTFCy6h-.js +1 -0
  24. package/.output/public/_nuxt/{DrYV5i68.js → DUjW5Yq5.js} +1 -1
  25. package/.output/public/_nuxt/DZshyNLa.js +1 -0
  26. package/.output/public/_nuxt/{45zuyAso.js → D_OTvQza.js} +1 -1
  27. package/.output/public/_nuxt/DcsCcxp4.js +1 -0
  28. package/.output/public/_nuxt/{DUrecWPx.js → Dihnimlk.js} +2 -2
  29. package/.output/public/_nuxt/Dqw1lpr-.js +1 -0
  30. package/.output/public/_nuxt/{CUDwzgLV.js → Dr9v6C0f.js} +9 -9
  31. package/.output/public/_nuxt/{8NMOXZOV.js → Du9ZJtnj.js} +1 -1
  32. package/.output/public/_nuxt/TownView.f-YOdXRs.css +1 -0
  33. package/.output/public/_nuxt/_id_.CM4bIgKY.css +1 -0
  34. package/.output/public/_nuxt/_id_.bNV69Dtf.css +1 -0
  35. package/.output/public/_nuxt/_wsId_.B4WiqkIS.css +1 -0
  36. package/.output/public/_nuxt/agents.ZD0rVdHE.css +1 -0
  37. package/.output/public/_nuxt/aml.BN8ZEW4h.css +1 -0
  38. package/.output/public/_nuxt/builds/latest.json +1 -1
  39. package/.output/public/_nuxt/builds/meta/f4707884-7cf4-4a31-80d2-e3d72b73745f.json +1 -0
  40. package/.output/public/_nuxt/channel-templates.BOtahzPi.css +1 -0
  41. package/.output/public/_nuxt/daq.B0D3dPAc.css +1 -0
  42. package/.output/public/_nuxt/dcw.8Y7FqCVN.css +1 -0
  43. package/.output/public/_nuxt/default.J32SgqFY.css +1 -0
  44. package/.output/public/_nuxt/entry.bdm0tv6M.css +1 -0
  45. package/.output/public/_nuxt/logs.BpKzmKsh.css +1 -0
  46. package/.output/public/_nuxt/monitor.D9pe7qN6.css +1 -0
  47. package/.output/public/_nuxt/pages.D7aSDlUI.css +1 -0
  48. package/.output/public/_nuxt/permissions.DwTVlFe6.css +1 -0
  49. package/.output/public/_nuxt/plugins.sb4nDGqr.css +1 -0
  50. package/.output/public/_nuxt/{Cbq-mryP.js → qr6R6Ha1.js} +1 -1
  51. package/.output/public/_nuxt/settings.BTgR-NiE.css +1 -0
  52. package/.output/public/_nuxt/teams.CxnxKVVs.css +1 -0
  53. package/.output/public/_nuxt/tokens.BFY7qv4f.css +1 -0
  54. package/.output/public/_nuxt/{town.DKIAhKnx.css → town.BBXZmeoP.css} +1 -1
  55. package/.output/public/_nuxt/users.DLgZ1D0h.css +1 -0
  56. package/.output/public/_nuxt/workshop.CR_QzeAN.css +1 -0
  57. package/.output/public/_nuxt/{BzHEilTt.js → xh3_vYcu.js} +1 -1
  58. package/.output/public/_nuxt/yF0aYMF1.js +4 -0
  59. package/.output/server/chunks/_/entity.mjs.map +1 -1
  60. package/.output/server/chunks/_/nitro.mjs +2225 -1445
  61. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  62. package/.output/server/chunks/build/{TownView-jVazYOjN.mjs → TownView-BuLAsmpR.mjs} +288 -206
  63. package/.output/server/chunks/build/TownView-BuLAsmpR.mjs.map +1 -0
  64. package/.output/server/chunks/build/{_id_-CfVosNg3.mjs → _id_-BU1wfOID.mjs} +138 -138
  65. package/.output/server/chunks/build/{_id_-CfVosNg3.mjs.map → _id_-BU1wfOID.mjs.map} +1 -1
  66. package/.output/server/chunks/build/{_id_-Hwr4rZpr.mjs → _id_-BYsEua57.mjs} +33 -32
  67. package/.output/server/chunks/build/_id_-BYsEua57.mjs.map +1 -0
  68. package/.output/server/chunks/build/{_wsId_-BVg3bB77.mjs → _wsId_-BxlDcJHg.mjs} +293 -259
  69. package/.output/server/chunks/build/{_wsId_-BVg3bB77.mjs.map → _wsId_-BxlDcJHg.mjs.map} +1 -1
  70. package/.output/server/chunks/build/{agents-Bvin73QY.mjs → agents-CLQqJF2y.mjs} +21 -27
  71. package/.output/server/chunks/build/agents-CLQqJF2y.mjs.map +1 -0
  72. package/.output/server/chunks/build/{aml-BCSJCdX7.mjs → aml-_7FdFL2p.mjs} +109 -109
  73. package/.output/server/chunks/build/{aml-BCSJCdX7.mjs.map → aml-_7FdFL2p.mjs.map} +1 -1
  74. package/.output/server/chunks/build/api-error-dul30BYQ.mjs.map +1 -1
  75. package/.output/server/chunks/build/{channel-templates-BTq8570n.mjs → channel-templates-p6SZNjlM.mjs} +19 -19
  76. package/.output/server/chunks/build/{channel-templates-BTq8570n.mjs.map → channel-templates-p6SZNjlM.mjs.map} +1 -1
  77. package/.output/server/chunks/build/{daq-C03Uu5UE.mjs → daq-cgyjKmJu.mjs} +188 -122
  78. package/.output/server/chunks/build/daq-cgyjKmJu.mjs.map +1 -0
  79. package/.output/server/chunks/build/{dcw-6vEYVeje.mjs → dcw-CoTxBlAZ.mjs} +45 -45
  80. package/.output/server/chunks/build/{dcw-6vEYVeje.mjs.map → dcw-CoTxBlAZ.mjs.map} +1 -1
  81. package/.output/server/chunks/build/{default-CZmZFpqH.mjs → default-BE4r0FZN.mjs} +152 -58
  82. package/.output/server/chunks/build/{default-CZmZFpqH.mjs.map → default-BE4r0FZN.mjs.map} +1 -1
  83. package/.output/server/chunks/build/{logs-B-xhuqln.mjs → logs-BSOeZwwI.mjs} +34 -34
  84. package/.output/server/chunks/build/{logs-B-xhuqln.mjs.map → logs-BSOeZwwI.mjs.map} +1 -1
  85. package/.output/server/chunks/build/{monitor-CyfDt4nR.mjs → monitor-C0okQaXz.mjs} +33 -33
  86. package/.output/server/chunks/build/{monitor-CyfDt4nR.mjs.map → monitor-C0okQaXz.mjs.map} +1 -1
  87. package/.output/server/chunks/build/{pages-BO7yZsXA.mjs → pages-DFxjn9Xa.mjs} +33 -17
  88. package/.output/server/chunks/build/pages-DFxjn9Xa.mjs.map +1 -0
  89. package/.output/server/chunks/build/{permissions-B52oOmaO.mjs → permissions-68SsNjex.mjs} +12 -12
  90. package/.output/server/chunks/build/{permissions-B52oOmaO.mjs.map → permissions-68SsNjex.mjs.map} +1 -1
  91. package/.output/server/chunks/build/{plugins-CUWmMdyt.mjs → plugins-lGlUr1lj.mjs} +17 -17
  92. package/.output/server/chunks/build/{plugins-CUWmMdyt.mjs.map → plugins-lGlUr1lj.mjs.map} +1 -1
  93. package/.output/server/chunks/build/{settings-DoQ2Oq3P.mjs → settings-Ddd1qx2Z.mjs} +50 -47
  94. package/.output/server/chunks/build/settings-Ddd1qx2Z.mjs.map +1 -0
  95. package/.output/server/chunks/build/{teams-2kz3CusY.mjs → teams-MEDLZdMn.mjs} +38 -34
  96. package/.output/server/chunks/build/teams-MEDLZdMn.mjs.map +1 -0
  97. package/.output/server/chunks/build/{tokens-BbWLqtVz.mjs → tokens-C7fTM5C2.mjs} +14 -14
  98. package/.output/server/chunks/build/{tokens-BbWLqtVz.mjs.map → tokens-C7fTM5C2.mjs.map} +1 -1
  99. package/.output/server/chunks/build/{town-BOl6hs9B.mjs → town-qMPql9Se.mjs} +36 -10
  100. package/.output/server/chunks/build/town-qMPql9Se.mjs.map +1 -0
  101. package/.output/server/chunks/build/useDaqStream-CIBaiGAl.mjs +1 -1
  102. package/.output/server/chunks/build/useDcwStream-CBbiYnWe.mjs +1 -1
  103. package/.output/server/chunks/build/useResponsive-BKDMGTHs.mjs +49 -0
  104. package/.output/server/chunks/build/useResponsive-BKDMGTHs.mjs.map +1 -0
  105. package/.output/server/chunks/build/{users-fohSmF-J.mjs → users-Cfd5-l2-.mjs} +6 -6
  106. package/.output/server/chunks/build/{users-fohSmF-J.mjs.map → users-Cfd5-l2-.mjs.map} +1 -1
  107. package/.output/server/chunks/build/{workshop-DX5-ldc4.mjs → workshop-BL5bhfs0.mjs} +15 -15
  108. package/.output/server/chunks/build/{workshop-DX5-ldc4.mjs.map → workshop-BL5bhfs0.mjs.map} +1 -1
  109. package/.output/server/chunks/build/{workspaces-BuydxM-3.mjs → workspaces-Bgz5Ekwp.mjs} +18 -3
  110. package/.output/server/chunks/build/workspaces-Bgz5Ekwp.mjs.map +1 -0
  111. package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs.map +1 -1
  112. package/.output/server/chunks/routes/api/system/index.patch.mjs.map +1 -1
  113. package/.output/server/chunks/routes/api/system/index.post.mjs.map +1 -1
  114. package/.output/server/chunks/routes/api/system/settings/events.get.mjs.map +1 -1
  115. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +6 -2
  116. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs.map +1 -1
  117. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs +2 -1
  118. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs.map +1 -1
  119. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +1 -1
  120. package/.output/server/chunks/routes/api/workshop/channels.post.mjs +3 -3
  121. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs.map +1 -1
  122. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs.map +1 -1
  123. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs.map +1 -1
  124. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +3 -2
  125. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs.map +1 -1
  126. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +2 -1
  127. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs.map +1 -1
  128. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +8 -6
  129. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs.map +1 -1
  130. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +5 -5
  131. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs.map +1 -1
  132. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +14 -4
  133. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs.map +1 -1
  134. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +4 -4
  135. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs.map +1 -1
  136. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +4 -3
  137. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs.map +1 -1
  138. package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +31 -0
  139. package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs.map +1 -0
  140. package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +28 -0
  141. package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs.map +1 -0
  142. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs.map +1 -1
  143. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +32 -0
  144. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs.map +1 -0
  145. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +34 -0
  146. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs.map +1 -0
  147. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +33 -0
  148. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs.map +1 -0
  149. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +34 -0
  150. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs.map +1 -0
  151. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +1 -1
  152. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +1 -1
  153. package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +1 -1
  154. package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +1 -1
  155. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +1 -1
  156. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +1 -1
  157. package/.output/server/chunks/routes/api/workshop/index.put.mjs +1 -1
  158. package/.output/server/chunks/routes/api/workshop/index6.get.mjs +2 -0
  159. package/.output/server/chunks/routes/api/workshop/index6.get.mjs.map +1 -1
  160. package/.output/server/chunks/routes/api/workshop/index9.get.mjs +3 -1
  161. package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -1
  162. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +1 -1
  163. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +1 -1
  164. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +1 -1
  165. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +1 -1
  166. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +1 -1
  167. package/.output/server/chunks/routes/renderer.mjs +3 -3
  168. package/.output/server/chunks/virtual/entry.mjs +51 -25
  169. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  170. package/.output/server/package.json +1 -1
  171. package/README-zh.md +199 -35
  172. package/README.md +739 -591
  173. package/app/app.vue +9 -3
  174. package/app/assets/css/main.css +517 -7
  175. package/app/components/AppHeader.vue +98 -7
  176. package/app/components/AppSidebar.vue +117 -11
  177. package/app/components/AwChart.vue +2 -1
  178. package/app/components/workshop/AgentInspectorDrawer.vue +6 -6
  179. package/app/components/workshop/AgentLanesView.vue +52 -1
  180. package/app/components/workshop/AssetLibrary.vue +4 -2
  181. package/app/components/workshop/ChannelSessionList.vue +4 -2
  182. package/app/components/workshop/Composer.vue +96 -0
  183. package/app/components/workshop/DaqNodeRow.vue +19 -0
  184. package/app/components/workshop/DaqTemplateIcon.vue +33 -0
  185. package/app/components/workshop/DeviceTwinPanel.vue +37 -35
  186. package/app/components/workshop/EventBlock.vue +3 -3
  187. package/app/components/workshop/InspectorPanel.vue +47 -11
  188. package/app/components/workshop/LiveAgentBar.vue +34 -0
  189. package/app/components/workshop/TaskBoardView.vue +83 -33
  190. package/app/components/workshop/TranscriptTimeline.vue +56 -0
  191. package/app/components/workshop/blocks/ClusterError.vue +1 -1
  192. package/app/components/workshop/blocks/ClusterRoute.vue +3 -1
  193. package/app/components/workshop/blocks/ClusterStatus.vue +2 -2
  194. package/app/components/workshop/blocks/ClusterStream.vue +8 -2
  195. package/app/components/workshop/town/ModelPreview3D.vue +1 -1
  196. package/app/components/workshop/town/TownView.vue +507 -82
  197. package/app/composables/useResponsive.ts +88 -0
  198. package/app/composables/useRouteMeta.ts +3 -0
  199. package/app/composables/workshop/useDcwStream.ts +1 -1
  200. package/app/composables/workshop/useVisibleInterval.ts +2 -2
  201. package/app/composables/workshop/useWorkshopApi.ts +1 -1
  202. package/app/layouts/default.vue +46 -2
  203. package/app/pages/aml/index.vue +712 -616
  204. package/app/pages/daq/[id].vue +3 -2
  205. package/app/pages/daq/index.vue +209 -9
  206. package/app/pages/dcw/[id].vue +109 -28
  207. package/app/pages/dcw/index.vue +83 -23
  208. package/app/pages/index.vue +35 -1
  209. package/app/pages/logs/index.vue +147 -13
  210. package/app/pages/monitor.vue +56 -12
  211. package/app/pages/permissions/index.vue +34 -0
  212. package/app/pages/plugins/index.vue +35 -4
  213. package/app/pages/settings.vue +90 -21
  214. package/app/pages/tokens.vue +23 -0
  215. package/app/pages/town.vue +50 -5
  216. package/app/pages/users.vue +23 -0
  217. package/app/pages/workshop/agents.vue +92 -2
  218. package/app/pages/workshop/channel-templates.vue +53 -0
  219. package/app/pages/workshop/index.vue +14 -0
  220. package/app/pages/workshop/teams.vue +66 -6
  221. package/app/pages/workshop/w/[wsId].vue +202 -14
  222. package/app/plugins/aw-plugins.client.ts +13 -8
  223. package/app/stores/app.ts +33 -1
  224. package/app/stores/workshop/user.ts +1 -1
  225. package/app/stores/workshop/workspaces.ts +18 -2
  226. package/app/utils/api-error.ts +1 -1
  227. package/cli/commands/build.mjs +8 -1
  228. package/docker-compose.yml +6 -0
  229. package/i18n/locales/en.ts +2 -0
  230. package/i18n/locales/zh-CN.ts +2 -0
  231. package/nuxt.config.ts +31 -0
  232. package/package.json +9 -1
  233. package/scripts/_dbg-param-map-e2e.ts +242 -0
  234. package/scripts/_dbg-param-map-rest-smoke.mjs +73 -0
  235. package/scripts/_dbg-param-real-scenario.mjs +153 -0
  236. package/scripts/api-live-e2e.mjs +40 -8
  237. package/scripts/capture-walkthrough.mjs +232 -0
  238. package/scripts/render-walkthrough-figure.mjs +46 -0
  239. package/scripts/seed-walkthrough-fixture.mjs +143 -0
  240. package/scripts/test-plugin-hardening.mjs +8 -0
  241. package/scripts/ui/admin-shots.mjs +46 -0
  242. package/scripts/ui/audit-layout.mjs +301 -0
  243. package/scripts/ui/bump-microfont.mjs +39 -0
  244. package/scripts/ui/lib.mjs +198 -0
  245. package/scripts/ui/linkcheck2.mjs +37 -0
  246. package/scripts/ui/live-render-check.mjs +72 -0
  247. package/scripts/ui/md-lint.mjs +80 -0
  248. package/scripts/ui/perf-audit.mjs +132 -0
  249. package/scripts/ui/readme-assets.mjs +30 -0
  250. package/scripts/ui/readme-shots.mjs +42 -0
  251. package/scripts/ui/record.mjs +225 -0
  252. package/scripts/ui/seed-admin.mjs +68 -0
  253. package/scripts/ui/seed-demo.mjs +83 -0
  254. package/scripts/ui/shot-hero.mjs +25 -0
  255. package/scripts/ui/shots.mjs +75 -0
  256. package/scripts/ui/sim-ui-shot.mjs +16 -0
  257. package/scripts/ui/verify-nav.mjs +51 -0
  258. package/scripts/ui/verify-responsive.mjs +285 -0
  259. package/server/api/system/config-groups/[id].patch.ts +1 -1
  260. package/server/api/system/config-groups/index.post.ts +1 -1
  261. package/server/api/system/settings/events.get.ts +1 -1
  262. package/server/api/system/settings/index.patch.ts +1 -1
  263. package/server/api/workshop/agent-tools/invoke.post.ts +16 -2
  264. package/server/api/workshop/aml/datasets/[id].get.ts +8 -1
  265. package/server/api/workshop/daq/infra/reconnect.post.ts +1 -1
  266. package/server/api/workshop/daq/templates/[key].delete.ts +1 -0
  267. package/server/api/workshop/daq/templates/[key].patch.ts +1 -0
  268. package/server/api/workshop/daq/templates/index.post.ts +1 -0
  269. package/server/api/workshop/dcw/[id]/write.post.ts +10 -2
  270. package/server/api/workshop/dcw/[id].delete.ts +5 -2
  271. package/server/api/workshop/dcw/index.get.ts +2 -0
  272. package/server/api/workshop/dcw/lines/[id].patch.ts +1 -1
  273. package/server/api/workshop/dcw/params/[id]/read.post.ts +17 -0
  274. package/server/api/workshop/dcw/params/[id]/write.post.ts +21 -0
  275. package/server/api/workshop/dcw/params/[id].delete.ts +19 -0
  276. package/server/api/workshop/dcw/params/[id].patch.ts +23 -0
  277. package/server/api/workshop/dcw/params/index.get.ts +27 -0
  278. package/server/api/workshop/dcw/params/index.post.ts +25 -0
  279. package/server/api/workshop/permissions/index.get.ts +3 -1
  280. package/server/plugins/aw-plugins.ts +14 -3
  281. package/server/plugins/dev-stability-guard.ts +3 -1
  282. package/server/plugins/system-config.ts +6 -1
  283. package/server/services/system-config.ts +28 -9
  284. package/server/services/workshop/agents/adapters/one-shot-cli-agent.ts +2 -1
  285. package/server/services/workshop/agents/agent-interface.ts +8 -6
  286. package/server/services/workshop/agents/base-agent.ts +18 -4
  287. package/server/services/workshop/agents/claude-agent.ts +7 -3
  288. package/server/services/workshop/agents/codex-agent.ts +3 -3
  289. package/server/services/workshop/agents/dsh-agent.ts +3 -3
  290. package/server/services/workshop/agents/goose-agent.ts +0 -1
  291. package/server/services/workshop/agents/harness-terminal.ts +14 -1
  292. package/server/services/workshop/agents/hermes-agent.ts +4 -2
  293. package/server/services/workshop/agents/host-tool-bridge.ts +5 -1
  294. package/server/services/workshop/agents/industrial-context.ts +4 -1
  295. package/server/services/workshop/agents/industrial-tools.ts +164 -6
  296. package/server/services/workshop/agents/omp-agent.ts +15 -9
  297. package/server/services/workshop/agents/opencode-agent.ts +47 -21
  298. package/server/services/workshop/agents/qwen-agent.ts +10 -5
  299. package/server/services/workshop/aml/entity.ts +3 -1
  300. package/server/services/workshop/aml/python-runtime.ts +3 -2
  301. package/server/services/workshop/daq/bus/mqtt.adapter.ts +8 -4
  302. package/server/services/workshop/daq/daq-controller.ts +18 -3
  303. package/server/services/workshop/daq/daq-runtime.ts +5 -3
  304. package/server/services/workshop/daq/drivers.ts +63 -8
  305. package/server/services/workshop/daq/host-ports.ts +3 -2
  306. package/server/services/workshop/daq/storage/timescale.adapter.ts +3 -1
  307. package/server/services/workshop/db/channel.repo.ts +4 -0
  308. package/server/services/workshop/db/ops.repo.ts +5 -2
  309. package/server/services/workshop/db/retention.ts +8 -3
  310. package/server/services/workshop/dcw/dcw-controller.ts +143 -16
  311. package/server/services/workshop/dcw/dcw-product.repo.ts +38 -1
  312. package/server/services/workshop/dcw/dcw-runtime.ts +3 -2
  313. package/server/services/workshop/dcw/drivers.ts +5 -2
  314. package/server/services/workshop/dcw/param-conversion.ts +78 -0
  315. package/server/services/workshop/dcw/param-limits.ts +142 -0
  316. package/server/services/workshop/dcw/param-map.repo.ts +305 -0
  317. package/server/services/workshop/dcw/recipe-rollback-manager.ts +13 -7
  318. package/server/services/workshop/runtime/agent-runtime.ts +4 -0
  319. package/server/services/workshop/runtime/manager.ts +9 -2
  320. package/server/services/workshop/settings.ts +4 -2
  321. package/server/types/pg.d.ts +49 -0
  322. package/server/utils/stability-severity.ts +13 -2
  323. package/shared/config/groups.mjs +22 -1
  324. package/shared/config/home.d.mts +28 -0
  325. package/shared/dcw-protocol.ts +136 -0
  326. package/uno.config.ts +12 -1
  327. package/.output/public/_nuxt/BFkgkW8u.js +0 -4
  328. package/.output/public/_nuxt/C5gUkRwn.js +0 -1
  329. package/.output/public/_nuxt/CM12FuB42.js +0 -1
  330. package/.output/public/_nuxt/CZiw7sEV.js +0 -1
  331. package/.output/public/_nuxt/Cc_9VzD42.js +0 -1
  332. package/.output/public/_nuxt/CdPzkOMV.js +0 -1
  333. package/.output/public/_nuxt/CmsOtOAA2.js +0 -1
  334. package/.output/public/_nuxt/D1YDxZpZ.js +0 -1
  335. package/.output/public/_nuxt/D20Yamr4.js +0 -1
  336. package/.output/public/_nuxt/DmqknNvV.js +0 -18
  337. package/.output/public/_nuxt/DnUuIR83.js +0 -1
  338. package/.output/public/_nuxt/S_fVQwJK.js +0 -1
  339. package/.output/public/_nuxt/TownView.0oLiQgTC.css +0 -1
  340. package/.output/public/_nuxt/_id_.D-SYuyZb.css +0 -1
  341. package/.output/public/_nuxt/_id_.hma_BU6T.css +0 -1
  342. package/.output/public/_nuxt/_wsId_.B12v3PhY.css +0 -1
  343. package/.output/public/_nuxt/agents.BV70ioCv.css +0 -1
  344. package/.output/public/_nuxt/ahgEJu2R.js +0 -1
  345. package/.output/public/_nuxt/aml.COEKNNqK.css +0 -1
  346. package/.output/public/_nuxt/builds/meta/4457d63f-0866-4cea-b320-04a321f24795.json +0 -1
  347. package/.output/public/_nuxt/channel-templates.C-M5nKcC.css +0 -1
  348. package/.output/public/_nuxt/daq.B3265ZDn.css +0 -1
  349. package/.output/public/_nuxt/dcw.DLYZqEhT.css +0 -1
  350. package/.output/public/_nuxt/default.BXI_fZUi.css +0 -1
  351. package/.output/public/_nuxt/entry.BB-Eeh-J.css +0 -1
  352. package/.output/public/_nuxt/logs.CqFyMrJw.css +0 -1
  353. package/.output/public/_nuxt/monitor.B--1dPzs.css +0 -1
  354. package/.output/public/_nuxt/pages.ooEzrMm9.css +0 -1
  355. package/.output/public/_nuxt/permissions.B1pjGChZ.css +0 -1
  356. package/.output/public/_nuxt/plugins.5e5chZ67.css +0 -1
  357. package/.output/public/_nuxt/pz2JDAM7.js +0 -2
  358. package/.output/public/_nuxt/settings.Dm3M0RLy.css +0 -1
  359. package/.output/public/_nuxt/teams.BC75EGnR.css +0 -1
  360. package/.output/public/_nuxt/tokens.xRb1fSPU.css +0 -1
  361. package/.output/public/_nuxt/users.CXnP2E08.css +0 -1
  362. package/.output/public/_nuxt/workshop.Jk5HxWPE.css +0 -1
  363. package/.output/server/chunks/build/TownView-jVazYOjN.mjs.map +0 -1
  364. package/.output/server/chunks/build/_id_-Hwr4rZpr.mjs.map +0 -1
  365. package/.output/server/chunks/build/agents-Bvin73QY.mjs.map +0 -1
  366. package/.output/server/chunks/build/daq-C03Uu5UE.mjs.map +0 -1
  367. package/.output/server/chunks/build/pages-BO7yZsXA.mjs.map +0 -1
  368. package/.output/server/chunks/build/settings-DoQ2Oq3P.mjs.map +0 -1
  369. package/.output/server/chunks/build/teams-2kz3CusY.mjs.map +0 -1
  370. package/.output/server/chunks/build/town-BOl6hs9B.mjs.map +0 -1
  371. package/.output/server/chunks/build/workspaces-BuydxM-3.mjs.map +0 -1
  372. /package/.output/public/_nuxt/{36oeS8_R2.js → 36oeS8_R.js} +0 -0
  373. /package/.output/public/_nuxt/{CYWVXZTS.js → CYWVXZTS2.js} +0 -0
@@ -1 +1 @@
1
- import{O as e,a as t,c as n,j as r,m as i,p as a}from"./BU83-NnX.js";import{$ as o,P as s,R as c,S as l,Ut as u,V as d,Vt as ee,b as f,ct as p,d as m,f as h,h as g,i as _,m as v,p as y,pt as b,tt as x,xt as S,y as C}from"./CSkxz2NX.js";import{d as w,p as T}from"./BJHKLJJU.js";import{s as E}from"./YnQxK3eG.js";import{n as te}from"./KZQX7xoM.js";import{t as ne}from"./CWoJjWmZ.js";import{d as D,jt as O,n as k,t as A,u as j,wt as M}from"./4sIEbgcl.js";import{t as re}from"./zIGh7R49.js";import{t as ie}from"./BCGafdXT.js";import{t as N}from"./pdk8jLGT.js";import{t as ae}from"./BYhEUx8t.js";import{t as oe}from"./jZsY8yYz.js";import{t as se}from"./CClOy-Hz2.js";import{t as ce}from"./DIaZ2PTo2.js";import{t as P}from"./BDNMzG2s2.js";import{t as le}from"./CNs_Ozdc2.js";import{t as ue}from"./DeJykBFf.js";var F={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 I(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){L(e,t,n[t])})}return e}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R=function(e,t){var n=I({},e,t.attrs);return f(r,I({},n,{icon:F}),null)};R.displayName=`WarningFilled`,R.inheritAttrs=!1;var z=()=>f(`svg`,{width:`252`,height:`294`},[f(`defs`,null,[f(`path`,{d:`M0 .387h251.772v251.772H0z`},null)]),f(`g`,{fill:`none`,"fill-rule":`evenodd`},[f(`g`,{transform:`translate(0 .012)`},[f(`mask`,{fill:`#fff`},null),f(`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)]),f(`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),f(`path`,{d:`M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788`,stroke:`#FFF`,"stroke-width":`2`},null),f(`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),f(`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),f(`path`,{d:`M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011`,stroke:`#FFF`,"stroke-width":`2`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M107.275 222.1s2.773-1.11 6.102-3.884`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M110.846 74.481s1.79-.716 2.506.537`,stroke:`#5C2552`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92`,fill:`#F4D19D`},null),f(`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),f(`path`,{fill:`#CC9B6E`,d:`M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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)])]),B=()=>f(`svg`,{width:`254`,height:`294`},[f(`defs`,null,[f(`path`,{d:`M0 .335h253.49v253.49H0z`},null),f(`path`,{d:`M0 293.665h253.49V.401H0z`},null)]),f(`g`,{fill:`none`,"fill-rule":`evenodd`},[f(`g`,{transform:`translate(0 .067)`},[f(`mask`,{fill:`#fff`},null),f(`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)]),f(`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),f(`path`,{d:`M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861`,stroke:`#FFF`,"stroke-width":`2`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M99.926 73.284s1.8-.72 2.52.54`,stroke:`#5C2552`,"stroke-width":`1.117`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M107.375 123.006s9.697-2.745 11.445-.88`,stroke:`#E59788`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`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),f(`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),f(`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),f(`mask`,{fill:`#fff`},null),f(`path`,{fill:`#A3B4C6`,mask:`url(#d)`,d:`M154.098 190.096h70.513v-84.617h-70.513z`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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)])]),V=()=>f(`svg`,{width:`251`,height:`294`},[f(`g`,{fill:`none`,"fill-rule":`evenodd`},[f(`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),f(`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),f(`path`,{d:`M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73`,stroke:`#FFF`,"stroke-width":`2`},null),f(`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),f(`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),f(`path`,{d:`M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36`,stroke:`#FFF`,"stroke-width":`2`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M108.459 220.905s2.759-1.104 6.07-3.863`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`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),f(`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),f(`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),f(`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),f(`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)])]),H=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}}}}},U=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}}},W=e=>[H(e),U(e)],G=e=>W(e),K=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[G(j(e,{resultTitleFontSize:n,resultSubtitleFontSize:r,resultIconFontSize:n*3,resultExtraMargin:i,resultInfoIconColor:a,resultErrorIconColor:o,resultSuccessIconColor:s,resultWarningIconColor:c}))]},{imageWidth:250,imageHeight:295}),q={success:i,error:e,info:a,warning:R},J={404:z,500:B,403:V},Y=Object.keys(J),X=()=>({prefixCls:String,icon:A.any,status:{type:[Number,String],default:`info`},title:A.any,subTitle:A.any,extra:A.any}),Z=(e,t)=>{let{status:n,icon:r}=t;if(Y.includes(`${n}`)){let t=J[n];return f(`div`,{class:`${e}-icon ${e}-image`},[f(t,null,null)])}let i=q[n],a=r||f(i,null,null);return f(`div`,{class:`${e}-icon`},[a])},de=(e,t)=>t&&f(`div`,{class:`${e}-extra`},[t]),Q=l({compatConfig:{MODE:3},name:`AResult`,inheritAttrs:!1,props:X(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t,{prefixCls:i,direction:a}=k(`result`,e),[o,s]=K(i),c=m(()=>M(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(f(`div`,O(O({},r),{},{class:[c.value,r.class]}),[Z(u,{status:e.status,icon:s}),f(`div`,{class:`${u}-title`},[t]),a&&f(`div`,{class:`${u}-subtitle`},[a]),de(u,l),n.default&&f(`div`,{class:`${u}-content`},[n.default()])]))}}});Q.PRESENTED_IMAGE_403=J[403],Q.PRESENTED_IMAGE_404=J[404],Q.PRESENTED_IMAGE_500=J[500],Q.install=function(e){return e.component(Q.name,Q),e};var fe={class:`monitor`},$={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=P(l({__name:`monitor`,setup(e){le({layout:`default`});let{t:r}=te(),i=T(),a=ce(),l=m(()=>a.isAdmin),D=b(null),O=b(!1),k=b(!0),A=b(``),j=async()=>{if(a.token){O.value=!0;try{let e=await E(`/api/system/monitor`,{headers:{authorization:`Bearer ${a.token}`}});D.value=e.data,A.value=new Date().toLocaleTimeString()}catch(e){t.error(e instanceof Error?e.message:r(`monitor.loadFailed`))}finally{O.value=!1}}},M=null,P=()=>{M&&=(clearInterval(M),null),k.value&&a.token&&(M=ne(()=>void j(),5e3))};o(k,()=>P()),o(()=>a.token,()=>{a.token?j():D.value=null,P()}),c(()=>{a.token&&j().then(()=>H()),P()}),s(()=>{M&&clearInterval(M)});let F=b(!1),I=async e=>{F.value=!0;try{let n=await E(`/api/system/monitor/terminate`,{method:`POST`,headers:{authorization:`Bearer ${a.token}`},body:{channelId:e.channelId,agentId:e.agentId}});t.success(n.code===0?`${e.name} ${r(`monitor.terminated`)}`:n.message??r(`monitor.failed`)),await j()}catch(e){t.error(e instanceof Error?e.message:r(`monitor.failed`))}finally{F.value=!1}},L=async e=>{F.value=!0;try{let n=await E(`/api/system/monitor/terminate`,{method:`POST`,headers:{authorization:`Bearer ${a.token}`},body:{pid:e.pid}});t.success(n.code===0?`PID ${e.pid} ${r(`monitor.terminated`)}`:n.message??r(`monitor.failed`)),await j()}catch(e){t.error(e instanceof Error?e.message:r(`monitor.failed`))}finally{F.value=!1}},R=b(!1),z=b(null),B=b(``),V=(e,t,n)=>{z.value=e,B.value=[t,n].filter(Boolean).join(` · `)||`omp harness`,R.value=!0},H=()=>{let e=i.query.agentId;if(typeof e!=`string`||!e)return;let t=typeof i.query.channelId==`string`?i.query.channelId:``,n=D.value?.processes.find(n=>n.agentId===e&&(!t||n.channelId===t));n?.pid&&(V(n.pid,n.name,n.role),w({path:`/monitor`},{replace:!0}))},U=e=>e&&e.length>8?`${e.slice(0,8)}…`:e??`-`,W={idle:`success`,busy:`processing`,stopped:`error`},G={idle:r(`monitor.stateIdle`),busy:r(`monitor.stateBusy`),stopped:r(`monitor.stateStopped`)},K=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`},q=e=>new Date(e).toLocaleTimeString(),J=m(()=>l.value?[{title:r(`monitor.k1dg9sr8001`),dataIndex:`ownerName`,key:`ownerName`,width:110}]:[]),Y=m(()=>[{title:r(`monitor.chChannel`),dataIndex:`channelId`,key:`channelId`},{title:r(`monitor.members`),dataIndex:`memberCount`,key:`memberCount`,width:100},{title:r(`monitor.wired`),dataIndex:`wiredAgentCount`,key:`wiredAgentCount`,width:90},{title:r(`monitor.scheduler`),dataIndex:`hasScheduler`,key:`hasScheduler`,width:110},{title:r(`monitor.lead`),dataIndex:`leadAgentId`,key:`leadAgentId`},...J.value]),X=m(()=>[{title:r(`monitor.name`),dataIndex:`name`,key:`name`},{title:r(`monitor.role`),dataIndex:`role`,key:`role`,width:90},{title:r(`monitor.harness`),dataIndex:`harness`,key:`harness`,width:90},{title:r(`monitor.state`),dataIndex:`state`,key:`state`,width:110},{title:r(`monitor.currentTask`),dataIndex:`currentTaskId`,key:`currentTaskId`},{title:r(`monitor.queue`),dataIndex:`queuedCount`,key:`queuedCount`,width:90},{title:`PID`,dataIndex:`process`,key:`pid`,width:130},{title:r(`monitor.channel`),dataIndex:`channelId`,key:`channelId`,width:130},...J.value,{title:r(`monitor.actions`),key:`actions`,width:190,fixed:`right`}]),Z=m(()=>[{title:`PID`,dataIndex:`pid`,key:`pid`,width:100},{title:r(`monitor.binding`),dataIndex:`bound`,key:`bound`,width:100},{title:r(`monitor.agent`),dataIndex:`name`,key:`name`},{title:r(`monitor.role`),dataIndex:`role`,key:`role`,width:90},{title:r(`monitor.command`),dataIndex:`command`,key:`command`},{title:r(`monitor.startedAt`),dataIndex:`startedAt`,key:`startedAt`,width:110},{title:r(`monitor.state`),dataIndex:`alive`,key:`alive`,width:100},...J.value,{title:r(`monitor.actions`),key:`actions`,width:170,fixed:`right`}]);return(e,t)=>{let i=ie,o=se,s=n,c=Q,l=ae,m=re,b=N,T=oe;return d(),g(`div`,fe,[h(`div`,$,[h(`div`,null,[h(`p`,pe,u(S(r)(`menu.system`))+` / runtime ledger `,1),h(`h1`,null,[C(u(S(r)(`monitor.title`))+` `,1),f(i,{color:S(D)?.scope===`admin`?`volcano`:`blue`,class:`scope-tag`},{default:x(()=>[h(`span`,{class:ee(S(D)?.scope===`admin`?`i-tabler-shield-check`:`i-tabler-user`)},null,2),C(` `+u(S(D)?.scope===`admin`?e.$t(`monitor.k16zpmg9002`):e.$t(`monitor.k1dzryry003`)),1)]),_:1},8,[`color`])])]),h(`div`,me,[f(o,{checked:S(k),"onUpdate:checked":t[0]||=e=>p(k)?k.value=e:null,size:`small`},null,8,[`checked`]),h(`span`,he,u(S(r)(`monitor.autoRefresh`)),1),f(s,{size:`small`,loading:S(O),onClick:j},{icon:x(()=>[...t[3]||=[h(`span`,{class:`i-tabler-refresh`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.refresh`)),1)]),_:1},8,[`loading`])])]),S(a).token?(d(),g(_,{key:1},[h(`div`,ge,[f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,_e,u(S(r)(`monitor.channels`)),1),h(`p`,ve,u(S(D)?.counts.channels??`–`),1)]),_:1}),f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,ye,u(S(r)(`monitor.agents`)),1),h(`p`,be,u(S(D)?.counts.agents??`–`),1)]),_:1}),f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,xe,u(S(r)(`monitor.aliveProcesses`)),1),h(`p`,Se,[C(u(S(D)?.counts.aliveProcesses??`–`)+` `,1),(S(D)?.counts.orphanProcesses??0)>0?(d(),g(`span`,Ce,` +`+u(S(D)?.counts.orphanProcesses)+` `+u(S(r)(`monitor.orphan`)),1)):v(``,!0)])]),_:1}),f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,we,u(S(r)(`monitor.server`)),1),h(`p`,Te,` PID `+u(S(D)?.serverPid??`–`)+` · `+u(S(D)?K(S(D).uptimeMs):``),1),h(`p`,Ee,u(S(A))+` · `+u(S(r)(`monitor.updated`))+` `+u(S(D)?.generatedAt??``),1)]),_:1})]),f(l,{class:`aw-panel`,title:S(r)(`monitor.channelRuntimes`)},{extra:x(()=>[h(`span`,De,u(S(D)?.channels.length??0)+` wired`,1)]),default:x(()=>[f(m,{columns:S(Y),"data-source":S(D)?.channels??[],pagination:!1,loading:S(O),"row-key":`channelId`,size:`small`,scroll:{x:720}},{bodyCell:x(({column:e,record:n})=>[e.key===`channelId`?(d(),g(`span`,Oe,u(U(n.channelId)),1)):e.key===`hasScheduler`?(d(),g(_,{key:1},[n.hasScheduler?(d(),y(i,{key:0,color:`purple`},{default:x(()=>[C(u(S(r)(`monitor.scheduling`)),1)]),_:1})):(d(),y(i,{key:1},{default:x(()=>[...t[4]||=[C(` – `,-1)]]),_:1}))],64)):e.key===`leadAgentId`?(d(),g(`span`,ke,u(U(n.leadAgentId)),1)):v(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),f(l,{class:`aw-panel`,title:S(r)(`monitor.agentRuntimes`)},{extra:x(()=>[h(`span`,Ae,u(S(D)?.agents.length??0)+` wired`,1)]),default:x(()=>[f(m,{columns:S(X),"data-source":S(D)?.agents??[],pagination:!1,loading:S(O),"row-key":`agentId`,size:`small`,scroll:{x:980}},{bodyCell:x(({column:e,record:n})=>[e.key===`role`?(d(),y(i,{key:0,color:n.role===`lead`?`gold`:`blue`},{default:x(()=>[C(u(n.role),1)]),_:2},1032,[`color`])):e.key===`harness`?(d(),y(i,{key:1},{default:x(()=>[C(u(n.harness),1)]),_:2},1024)):e.key===`state`?(d(),y(i,{key:2,color:W[n.state]??`default`},{default:x(()=>[C(u(G[n.state]??n.state),1)]),_:2},1032,[`color`])):e.key===`currentTaskId`?(d(),g(`span`,je,u(U(n.currentTaskId)),1)):e.key===`channelId`?(d(),g(`span`,Me,u(U(n.channelId)),1)):e.key===`pid`?(d(),g(_,{key:5},[n.process?(d(),g(`span`,Ne,[f(i,{color:n.process.alive?`success`:`default`,class:`aw-mono`},{default:x(()=>[C(` PID `+u(n.process.pid),1)]),_:2},1032,[`color`])])):(d(),g(`span`,Pe,`in-proc`))],64)):e.key===`actions`?(d(),y(T,{key:6,size:4},{default:x(()=>[n.process?.alive?(d(),y(s,{key:0,size:`small`,type:`primary`,ghost:``,title:S(r)(`monitor.openTerminalHint`),onClick:e=>V(n.process.pid,n.name,n.role)},{icon:x(()=>[...t[5]||=[h(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):v(``,!0),f(b,{title:`${S(r)(`monitor.terminateConfirm`)}(${n.name})`,"ok-text":S(r)(`common.confirm`),"cancel-text":S(r)(`common.cancel`),onConfirm:e=>I(n)},{default:x(()=>[f(s,{size:`small`,danger:``,disabled:S(F)},{icon:x(()=>[...t[6]||=[h(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:1},8,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):v(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),f(l,{class:`aw-panel`,title:S(r)(`monitor.harnessProcesses`)},{extra:x(()=>[h(`span`,Fe,u(S(D)?.processes.length??0)+` spawned · `+u(S(D)?.counts.orphanProcesses??0)+` orphan `,1)]),default:x(()=>[f(m,{columns:S(Z),"data-source":S(D)?.processes??[],pagination:!1,loading:S(O),"row-key":`pid`,size:`small`,scroll:{x:900}},{bodyCell:x(({column:e,record:n})=>[e.key===`pid`?(d(),g(`span`,Ie,u(n.pid),1)):e.key===`bound`?(d(),y(i,{key:1,color:n.bound?`success`:`warning`},{default:x(()=>[C(u(n.bound?S(r)(`monitor.bound`):S(r)(`monitor.orphan`)),1)]),_:2},1032,[`color`])):e.key===`name`?(d(),g(_,{key:2},[h(`span`,null,u(n.name??`–`),1),n.agentId?(d(),g(`span`,Le,u(U(n.agentId)),1)):v(``,!0)],64)):e.key===`role`?(d(),g(_,{key:3},[n.role?(d(),g(`span`,Re,u(n.role),1)):(d(),g(`span`,ze,`–`))],64)):e.key===`command`?(d(),g(`span`,Be,u(n.command),1)):e.key===`startedAt`?(d(),g(`span`,Ve,u(q(n.startedAt)),1)):e.key===`alive`?(d(),y(i,{key:6,color:n.alive?`success`:`error`},{default:x(()=>[C(u(n.alive?S(r)(`monitor.alive`):`${S(r)(`monitor.exited`)} ${n.exitCode??``}`),1)]),_:2},1032,[`color`])):e.key===`actions`?(d(),y(T,{key:7,size:4},{default:x(()=>[n.terminal?(d(),y(s,{key:0,size:`small`,type:`primary`,ghost:``,title:S(r)(`monitor.openTerminalHint`),onClick:e=>V(n.pid,n.name,n.role)},{icon:x(()=>[...t[7]||=[h(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):v(``,!0),f(b,{title:S(r)(`monitor.terminatePidConfirm`),"ok-text":S(r)(`common.confirm`),"cancel-text":S(r)(`common.cancel`),onConfirm:e=>L(n)},{default:x(()=>[f(s,{size:`small`,danger:``,disabled:S(F)||!n.alive},{icon:x(()=>[...t[8]||=[h(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:2},1032,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):v(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),f(ue,{open:S(R),"onUpdate:open":t[2]||=e=>p(R)?R.value=e:null,pid:S(z),subtitle:S(B)},null,8,[`open`,`pid`,`subtitle`])],64)):(d(),y(l,{key:0,class:`aw-panel`},{default:x(()=>[f(c,{title:S(r)(`monitor.needLogin`)},{extra:x(()=>[f(s,{type:`primary`,onClick:t[1]||=t=>(`navigateTo`in e?e.navigateTo:S(w))(`/workshop`)},{default:x(()=>[C(u(S(r)(`monitor.goLogin`)),1)]),_:1})]),_:1},8,[`title`])]),_:1}))])}}}),[[`__scopeId`,`data-v-d899c904`]]);export{He as default};
1
+ import{O as e,a as t,c as n,j as r,m as i,p as a}from"./BU83-NnX.js";import{$ as o,P as s,R as c,S as l,Ut as u,V as d,Vt as ee,b as f,ct as p,d as m,f as h,h as g,i as _,m as v,p as y,pt as b,tt as x,xt as S,y as C}from"./CSkxz2NX.js";import{d as w,p as T}from"./BJHKLJJU.js";import{s as E}from"./YnQxK3eG.js";import{n as te}from"./KZQX7xoM.js";import{t as ne}from"./CWoJjWmZ.js";import{d as D,jt as O,n as k,t as A,u as j,wt as M}from"./4sIEbgcl.js";import{t as re}from"./BneN7fbu.js";import{t as ie}from"./BCGafdXT.js";import{t as N}from"./pdk8jLGT.js";import{t as ae}from"./BYhEUx8t.js";import{t as oe}from"./jZsY8yYz.js";import{t as se}from"./CClOy-Hz2.js";import{t as ce}from"./DIaZ2PTo2.js";import{t as P}from"./BDNMzG2s2.js";import{t as le}from"./CNs_Ozdc2.js";import{t as ue}from"./DeJykBFf.js";var F={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 I(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){L(e,t,n[t])})}return e}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R=function(e,t){var n=I({},e,t.attrs);return f(r,I({},n,{icon:F}),null)};R.displayName=`WarningFilled`,R.inheritAttrs=!1;var z=()=>f(`svg`,{width:`252`,height:`294`},[f(`defs`,null,[f(`path`,{d:`M0 .387h251.772v251.772H0z`},null)]),f(`g`,{fill:`none`,"fill-rule":`evenodd`},[f(`g`,{transform:`translate(0 .012)`},[f(`mask`,{fill:`#fff`},null),f(`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)]),f(`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),f(`path`,{d:`M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788`,stroke:`#FFF`,"stroke-width":`2`},null),f(`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),f(`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),f(`path`,{d:`M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011`,stroke:`#FFF`,"stroke-width":`2`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M107.275 222.1s2.773-1.11 6.102-3.884`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M110.846 74.481s1.79-.716 2.506.537`,stroke:`#5C2552`,"stroke-width":`1.118`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92`,fill:`#F4D19D`},null),f(`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),f(`path`,{fill:`#CC9B6E`,d:`M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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)])]),B=()=>f(`svg`,{width:`254`,height:`294`},[f(`defs`,null,[f(`path`,{d:`M0 .335h253.49v253.49H0z`},null),f(`path`,{d:`M0 293.665h253.49V.401H0z`},null)]),f(`g`,{fill:`none`,"fill-rule":`evenodd`},[f(`g`,{transform:`translate(0 .067)`},[f(`mask`,{fill:`#fff`},null),f(`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)]),f(`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),f(`path`,{d:`M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861`,stroke:`#FFF`,"stroke-width":`2`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M99.926 73.284s1.8-.72 2.52.54`,stroke:`#5C2552`,"stroke-width":`1.117`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M107.375 123.006s9.697-2.745 11.445-.88`,stroke:`#E59788`,"stroke-width":`.774`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`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),f(`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),f(`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),f(`mask`,{fill:`#fff`},null),f(`path`,{fill:`#A3B4C6`,mask:`url(#d)`,d:`M154.098 190.096h70.513v-84.617h-70.513z`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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)])]),V=()=>f(`svg`,{width:`251`,height:`294`},[f(`g`,{fill:`none`,"fill-rule":`evenodd`},[f(`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),f(`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),f(`path`,{d:`M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73`,stroke:`#FFF`,"stroke-width":`2`},null),f(`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),f(`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),f(`path`,{d:`M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36`,stroke:`#FFF`,"stroke-width":`2`},null),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`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),f(`path`,{d:`M108.459 220.905s2.759-1.104 6.07-3.863`,stroke:`#648BD8`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null),f(`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),f(`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),f(`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),f(`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),f(`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)])]),H=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}}}}},U=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}}},W=e=>[H(e),U(e)],G=e=>W(e),K=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[G(j(e,{resultTitleFontSize:n,resultSubtitleFontSize:r,resultIconFontSize:n*3,resultExtraMargin:i,resultInfoIconColor:a,resultErrorIconColor:o,resultSuccessIconColor:s,resultWarningIconColor:c}))]},{imageWidth:250,imageHeight:295}),q={success:i,error:e,info:a,warning:R},J={404:z,500:B,403:V},Y=Object.keys(J),X=()=>({prefixCls:String,icon:A.any,status:{type:[Number,String],default:`info`},title:A.any,subTitle:A.any,extra:A.any}),Z=(e,t)=>{let{status:n,icon:r}=t;if(Y.includes(`${n}`)){let t=J[n];return f(`div`,{class:`${e}-icon ${e}-image`},[f(t,null,null)])}let i=q[n],a=r||f(i,null,null);return f(`div`,{class:`${e}-icon`},[a])},de=(e,t)=>t&&f(`div`,{class:`${e}-extra`},[t]),Q=l({compatConfig:{MODE:3},name:`AResult`,inheritAttrs:!1,props:X(),slots:Object,setup(e,t){let{slots:n,attrs:r}=t,{prefixCls:i,direction:a}=k(`result`,e),[o,s]=K(i),c=m(()=>M(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(f(`div`,O(O({},r),{},{class:[c.value,r.class]}),[Z(u,{status:e.status,icon:s}),f(`div`,{class:`${u}-title`},[t]),a&&f(`div`,{class:`${u}-subtitle`},[a]),de(u,l),n.default&&f(`div`,{class:`${u}-content`},[n.default()])]))}}});Q.PRESENTED_IMAGE_403=J[403],Q.PRESENTED_IMAGE_404=J[404],Q.PRESENTED_IMAGE_500=J[500],Q.install=function(e){return e.component(Q.name,Q),e};var fe={class:`monitor`},$={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=P(l({__name:`monitor`,setup(e){le({layout:`default`});let{t:r}=te(),i=T(),a=ce(),l=m(()=>a.isAdmin),D=b(null),O=b(!1),k=b(!0),A=b(``),j=async()=>{if(a.token){O.value=!0;try{let e=await E(`/api/system/monitor`,{headers:{authorization:`Bearer ${a.token}`}});D.value=e.data,A.value=new Date().toLocaleTimeString()}catch(e){t.error(e instanceof Error?e.message:r(`monitor.loadFailed`))}finally{O.value=!1}}},M=null,P=()=>{M&&=(clearInterval(M),null),k.value&&a.token&&(M=ne(()=>void j(),5e3))};o(k,()=>P()),o(()=>a.token,()=>{a.token?j():D.value=null,P()}),c(()=>{a.token&&j().then(()=>H()),P()}),s(()=>{M&&clearInterval(M)});let F=b(!1),I=async e=>{F.value=!0;try{let n=await E(`/api/system/monitor/terminate`,{method:`POST`,headers:{authorization:`Bearer ${a.token}`},body:{channelId:e.channelId,agentId:e.agentId}});t.success(n.code===0?`${e.name} ${r(`monitor.terminated`)}`:n.message??r(`monitor.failed`)),await j()}catch(e){t.error(e instanceof Error?e.message:r(`monitor.failed`))}finally{F.value=!1}},L=async e=>{F.value=!0;try{let n=await E(`/api/system/monitor/terminate`,{method:`POST`,headers:{authorization:`Bearer ${a.token}`},body:{pid:e.pid}});t.success(n.code===0?`PID ${e.pid} ${r(`monitor.terminated`)}`:n.message??r(`monitor.failed`)),await j()}catch(e){t.error(e instanceof Error?e.message:r(`monitor.failed`))}finally{F.value=!1}},R=b(!1),z=b(null),B=b(``),V=(e,t,n)=>{z.value=e,B.value=[t,n].filter(Boolean).join(` · `)||`omp harness`,R.value=!0},H=()=>{let e=i.query.agentId;if(typeof e!=`string`||!e)return;let t=typeof i.query.channelId==`string`?i.query.channelId:``,n=D.value?.processes.find(n=>n.agentId===e&&(!t||n.channelId===t));n?.pid&&(V(n.pid,n.name,n.role),w({path:`/monitor`},{replace:!0}))},U=e=>e&&e.length>8?`${e.slice(0,8)}…`:e??`-`,W={idle:`success`,busy:`processing`,stopped:`error`},G={idle:r(`monitor.stateIdle`),busy:r(`monitor.stateBusy`),stopped:r(`monitor.stateStopped`)},K=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`},q=e=>new Date(e).toLocaleTimeString(),J=m(()=>l.value?[{title:r(`monitor.k1dg9sr8001`),dataIndex:`ownerName`,key:`ownerName`,width:110}]:[]),Y=m(()=>[{title:r(`monitor.chChannel`),dataIndex:`channelId`,key:`channelId`},{title:r(`monitor.members`),dataIndex:`memberCount`,key:`memberCount`,width:100},{title:r(`monitor.wired`),dataIndex:`wiredAgentCount`,key:`wiredAgentCount`,width:90},{title:r(`monitor.scheduler`),dataIndex:`hasScheduler`,key:`hasScheduler`,width:110},{title:r(`monitor.lead`),dataIndex:`leadAgentId`,key:`leadAgentId`},...J.value]),X=m(()=>[{title:r(`monitor.name`),dataIndex:`name`,key:`name`},{title:r(`monitor.role`),dataIndex:`role`,key:`role`,width:90},{title:r(`monitor.harness`),dataIndex:`harness`,key:`harness`,width:90},{title:r(`monitor.state`),dataIndex:`state`,key:`state`,width:110},{title:r(`monitor.currentTask`),dataIndex:`currentTaskId`,key:`currentTaskId`},{title:r(`monitor.queue`),dataIndex:`queuedCount`,key:`queuedCount`,width:90},{title:`PID`,dataIndex:`process`,key:`pid`,width:130},{title:r(`monitor.channel`),dataIndex:`channelId`,key:`channelId`,width:130},...J.value,{title:r(`monitor.actions`),key:`actions`,width:190,fixed:`right`}]),Z=m(()=>[{title:`PID`,dataIndex:`pid`,key:`pid`,width:100},{title:r(`monitor.binding`),dataIndex:`bound`,key:`bound`,width:100},{title:r(`monitor.agent`),dataIndex:`name`,key:`name`},{title:r(`monitor.role`),dataIndex:`role`,key:`role`,width:90},{title:r(`monitor.command`),dataIndex:`command`,key:`command`},{title:r(`monitor.startedAt`),dataIndex:`startedAt`,key:`startedAt`,width:110},{title:r(`monitor.state`),dataIndex:`alive`,key:`alive`,width:100},...J.value,{title:r(`monitor.actions`),key:`actions`,width:170,fixed:`right`}]);return(e,t)=>{let i=ie,o=se,s=n,c=Q,l=ae,m=re,b=N,T=oe;return d(),g(`div`,fe,[h(`div`,$,[h(`div`,null,[h(`p`,pe,u(S(r)(`menu.system`))+` / runtime ledger `,1),h(`h1`,null,[C(u(S(r)(`monitor.title`))+` `,1),f(i,{color:S(D)?.scope===`admin`?`volcano`:`blue`,class:`scope-tag`},{default:x(()=>[h(`span`,{class:ee(S(D)?.scope===`admin`?`i-tabler-shield-check`:`i-tabler-user`)},null,2),C(` `+u(S(D)?.scope===`admin`?e.$t(`monitor.k16zpmg9002`):e.$t(`monitor.k1dzryry003`)),1)]),_:1},8,[`color`])])]),h(`div`,me,[f(o,{checked:S(k),"onUpdate:checked":t[0]||=e=>p(k)?k.value=e:null,size:`small`},null,8,[`checked`]),h(`span`,he,u(S(r)(`monitor.autoRefresh`)),1),f(s,{size:`small`,loading:S(O),onClick:j},{icon:x(()=>[...t[3]||=[h(`span`,{class:`i-tabler-refresh`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.refresh`)),1)]),_:1},8,[`loading`])])]),S(a).token?(d(),g(_,{key:1},[h(`div`,ge,[f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,_e,u(S(r)(`monitor.channels`)),1),h(`p`,ve,u(S(D)?.counts.channels??`–`),1)]),_:1}),f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,ye,u(S(r)(`monitor.agents`)),1),h(`p`,be,u(S(D)?.counts.agents??`–`),1)]),_:1}),f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,xe,u(S(r)(`monitor.aliveProcesses`)),1),h(`p`,Se,[C(u(S(D)?.counts.aliveProcesses??`–`)+` `,1),(S(D)?.counts.orphanProcesses??0)>0?(d(),g(`span`,Ce,` +`+u(S(D)?.counts.orphanProcesses)+` `+u(S(r)(`monitor.orphan`)),1)):v(``,!0)])]),_:1}),f(l,{class:`aw-panel stat`},{default:x(()=>[h(`p`,we,u(S(r)(`monitor.server`)),1),h(`p`,Te,` PID `+u(S(D)?.serverPid??`–`)+` · `+u(S(D)?K(S(D).uptimeMs):``),1),h(`p`,Ee,u(S(A))+` · `+u(S(r)(`monitor.updated`))+` `+u(S(D)?.generatedAt??``),1)]),_:1})]),f(l,{class:`aw-panel`,title:S(r)(`monitor.channelRuntimes`)},{extra:x(()=>[h(`span`,De,u(S(D)?.channels.length??0)+` wired`,1)]),default:x(()=>[f(m,{columns:S(Y),"data-source":S(D)?.channels??[],pagination:!1,loading:S(O),"row-key":`channelId`,size:`small`,scroll:{x:720}},{bodyCell:x(({column:e,record:n})=>[e.key===`channelId`?(d(),g(`span`,Oe,u(U(n.channelId)),1)):e.key===`hasScheduler`?(d(),g(_,{key:1},[n.hasScheduler?(d(),y(i,{key:0,color:`purple`},{default:x(()=>[C(u(S(r)(`monitor.scheduling`)),1)]),_:1})):(d(),y(i,{key:1},{default:x(()=>[...t[4]||=[C(` – `,-1)]]),_:1}))],64)):e.key===`leadAgentId`?(d(),g(`span`,ke,u(U(n.leadAgentId)),1)):v(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),f(l,{class:`aw-panel`,title:S(r)(`monitor.agentRuntimes`)},{extra:x(()=>[h(`span`,Ae,u(S(D)?.agents.length??0)+` wired`,1)]),default:x(()=>[f(m,{columns:S(X),"data-source":S(D)?.agents??[],pagination:!1,loading:S(O),"row-key":`agentId`,size:`small`,scroll:{x:980}},{bodyCell:x(({column:e,record:n})=>[e.key===`role`?(d(),y(i,{key:0,color:n.role===`lead`?`gold`:`blue`},{default:x(()=>[C(u(n.role),1)]),_:2},1032,[`color`])):e.key===`harness`?(d(),y(i,{key:1},{default:x(()=>[C(u(n.harness),1)]),_:2},1024)):e.key===`state`?(d(),y(i,{key:2,color:W[n.state]??`default`},{default:x(()=>[C(u(G[n.state]??n.state),1)]),_:2},1032,[`color`])):e.key===`currentTaskId`?(d(),g(`span`,je,u(U(n.currentTaskId)),1)):e.key===`channelId`?(d(),g(`span`,Me,u(U(n.channelId)),1)):e.key===`pid`?(d(),g(_,{key:5},[n.process?(d(),g(`span`,Ne,[f(i,{color:n.process.alive?`success`:`default`,class:`aw-mono`},{default:x(()=>[C(` PID `+u(n.process.pid),1)]),_:2},1032,[`color`])])):(d(),g(`span`,Pe,`in-proc`))],64)):e.key===`actions`?(d(),y(T,{key:6,size:4},{default:x(()=>[n.process?.alive?(d(),y(s,{key:0,size:`small`,type:`primary`,ghost:``,title:S(r)(`monitor.openTerminalHint`),onClick:e=>V(n.process.pid,n.name,n.role)},{icon:x(()=>[...t[5]||=[h(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):v(``,!0),f(b,{title:`${S(r)(`monitor.terminateConfirm`)}(${n.name})`,"ok-text":S(r)(`common.confirm`),"cancel-text":S(r)(`common.cancel`),onConfirm:e=>I(n)},{default:x(()=>[f(s,{size:`small`,danger:``,disabled:S(F)},{icon:x(()=>[...t[6]||=[h(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:1},8,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):v(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),f(l,{class:`aw-panel`,title:S(r)(`monitor.harnessProcesses`)},{extra:x(()=>[h(`span`,Fe,u(S(D)?.processes.length??0)+` spawned · `+u(S(D)?.counts.orphanProcesses??0)+` orphan `,1)]),default:x(()=>[f(m,{columns:S(Z),"data-source":S(D)?.processes??[],pagination:!1,loading:S(O),"row-key":`pid`,size:`small`,scroll:{x:900}},{bodyCell:x(({column:e,record:n})=>[e.key===`pid`?(d(),g(`span`,Ie,u(n.pid),1)):e.key===`bound`?(d(),y(i,{key:1,color:n.bound?`success`:`warning`},{default:x(()=>[C(u(n.bound?S(r)(`monitor.bound`):S(r)(`monitor.orphan`)),1)]),_:2},1032,[`color`])):e.key===`name`?(d(),g(_,{key:2},[h(`span`,null,u(n.name??`–`),1),n.agentId?(d(),g(`span`,Le,u(U(n.agentId)),1)):v(``,!0)],64)):e.key===`role`?(d(),g(_,{key:3},[n.role?(d(),g(`span`,Re,u(n.role),1)):(d(),g(`span`,ze,`–`))],64)):e.key===`command`?(d(),g(`span`,Be,u(n.command),1)):e.key===`startedAt`?(d(),g(`span`,Ve,u(q(n.startedAt)),1)):e.key===`alive`?(d(),y(i,{key:6,color:n.alive?`success`:`error`},{default:x(()=>[C(u(n.alive?S(r)(`monitor.alive`):`${S(r)(`monitor.exited`)} ${n.exitCode??``}`),1)]),_:2},1032,[`color`])):e.key===`actions`?(d(),y(T,{key:7,size:4},{default:x(()=>[n.terminal?(d(),y(s,{key:0,size:`small`,type:`primary`,ghost:``,title:S(r)(`monitor.openTerminalHint`),onClick:e=>V(n.pid,n.name,n.role)},{icon:x(()=>[...t[7]||=[h(`span`,{class:`i-tabler-terminal-2`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.openTerminal`)),1)]),_:1},8,[`title`,`onClick`])):v(``,!0),f(b,{title:S(r)(`monitor.terminatePidConfirm`),"ok-text":S(r)(`common.confirm`),"cancel-text":S(r)(`common.cancel`),onConfirm:e=>L(n)},{default:x(()=>[f(s,{size:`small`,danger:``,disabled:S(F)||!n.alive},{icon:x(()=>[...t[8]||=[h(`span`,{class:`i-tabler-square-x`},null,-1)]]),default:x(()=>[C(` `+u(S(r)(`monitor.terminate`)),1)]),_:1},8,[`disabled`])]),_:2},1032,[`title`,`ok-text`,`cancel-text`,`onConfirm`])]),_:2},1024)):v(``,!0)]),_:1},8,[`columns`,`data-source`,`loading`])]),_:1},8,[`title`]),f(ue,{open:S(R),"onUpdate:open":t[2]||=e=>p(R)?R.value=e:null,pid:S(z),subtitle:S(B)},null,8,[`open`,`pid`,`subtitle`])],64)):(d(),y(l,{key:0,class:`aw-panel`},{default:x(()=>[f(c,{title:S(r)(`monitor.needLogin`)},{extra:x(()=>[f(s,{type:`primary`,onClick:t[1]||=t=>(`navigateTo`in e?e.navigateTo:S(w))(`/workshop`)},{default:x(()=>[C(u(S(r)(`monitor.goLogin`)),1)]),_:1})]),_:1},8,[`title`])]),_:1}))])}}}),[[`__scopeId`,`data-v-b8362ef8`]]);export{He as default};
@@ -0,0 +1 @@
1
+ import{dt as e}from"./CSkxz2NX.js";import{t}from"./36oeS8_R.js";import{t as n}from"./D0ZBQrN_2.js";import{t as r}from"./BDmh31hl.js";var i=[`thermo`,`pressure`,`tension`,`encoder`,`camera`,`gateway`],a=[{key:`temp-tc`,name:`温度传感器`,code:`TEMP · TC`,ch:`熔体/箱体温度`,unit:`℃`,base:168,amp:3.2,min:150,max:185,decimals:1,icon:`thermo`,telemetryKey:`temperature`,semantics:`熔体/箱体温度:热工艺核心被控量,热惯性大(变化平缓)。判读:与设定值偏差 ±2℃ 内为稳态;持续单边漂移 = 加热/散热失衡;骤升骤降多为扰动或传感器异常。`},{key:`pressure-tx`,name:`压力变送器`,code:`PRESSURE · TX`,ch:`熔体压力`,unit:`MPa`,base:.82,amp:.05,min:.6,max:1.2,decimals:2,icon:`pressure`,telemetryKey:`pressure`,semantics:`熔体压力:挤出负荷的「血压计」。判读:与温度负相关(温度升→熔体黏度降→压力降);压力突升常见于滤网堵塞或出料受阻。`},{key:`tension-cell`,name:`张力传感器`,code:`TENSION · CELL`,ch:`膜张力`,unit:`kN`,base:21.4,amp:.9,min:18,max:26,decimals:1,icon:`tension`,semantics:`膜张力:成膜质量直接指标。判读:张力波动与速度/温度设定强耦合,评估张力前先确认速度稳定。`},{key:`line-encoder`,name:`速度编码器`,code:`LINE · ENCODER`,ch:`产线速度`,unit:`m/min`,base:318,amp:7,min:280,max:360,decimals:0,icon:`encoder`,semantics:`产线速度:产能直接观测量。判读:实际速度对设定值的跟随滞后反映传动惯量;速度波动会传导至张力与厚度。`},{key:`vision-cam`,name:`视觉检测相机`,code:`VISION · CAM`,ch:`表面缺陷率`,unit:`‰`,base:.42,amp:.09,min:.1,max:.9,decimals:2,icon:`camera`},{key:`power-meter`,name:`电参采集器`,code:`POWER · METER`,ch:`运行功率`,unit:`kW`,base:45.2,amp:2.6,min:38,max:55,decimals:1,icon:`gateway`},{key:`thickness-scan`,name:`测厚扫描仪`,code:`THK · SCAN`,ch:`厚度轮廓`,unit:`mm`,base:.52,amp:.018,min:.4,max:.65,decimals:3,icon:`tension`,signalKind:`vector`,vector:{points:64,min:.4,max:.65},sink:{processors:[{name:`resample`,args:{n:64}},{name:`derive-metric`,args:{name:`avg`,op:`avg`}},{name:`derive-metric`,args:{name:`max`,op:`max`}}]},metrics:[{key:`max`,label:`最大厚度`,unit:`mm`,alarmHigh:.62},{key:`avg`,label:`平均厚度`,unit:`mm`,warnLow:.47,warnHigh:.57}],semantics:`测厚仪横向扫描轮廓:多点厚度分布。判读:平均值漂移=工艺整体偏移;单点尖峰=局部缺陷(夹杂/气泡);max 越硬限=超差,须联动分切剔除。`},{key:`ccd-image`,name:`CCD 视觉相机`,code:`CCD · IMG`,ch:`表面图像`,unit:`灰度`,base:128,amp:0,min:0,max:255,decimals:0,icon:`camera`,signalKind:`image`,sink:{processors:[{name:`thumbnail`,args:{width:256}},{name:`quality-gate`}]},metrics:[{key:`brightness`,label:`平均亮度`,unit:`gray`,alarmLow:30,alarmHigh:230}],semantics:`CCD 图像帧:像素数据入对象存储,Timescale 仅存元数据与派生指标。判读:brightness 过低=曝光不足/镜头遮挡,过高=过曝;缺陷识别算法经插件处理器扩展。`}],o=e=>e.startsWith(`daq-`)?e.slice(4):e,s=[{kind:`mock`,label:`Mock 模拟源`,status:`builtin`,configFields:[]},{kind:`modbus-tcp`,label:`Modbus TCP(PLC/网关)`,status:`real`,configFields:[{key:`host`,label:`设备地址(host)`,type:`string`,required:!0,placeholder:`192.168.1.10`,hint:`PLC 或 Modbus 网关 IP`},{key:`port`,label:`端口`,type:`number`,default:502,hint:`Modbus TCP 标准端口 502`},{key:`unitId`,label:`单元号(unitId)`,type:`number`,default:1,hint:`从站地址,常见 1`},{key:`register`,label:`寄存器地址`,type:`number`,required:!0,placeholder:`40001`,hint:`4xxxx=保持寄存器(地址-40001 为协议偏移);3xxxx=输入寄存器`},{key:`registerType`,label:`寄存器区`,type:`select`,default:`holding`,options:[{value:`holding`,label:`保持寄存器(4x)`},{value:`input`,label:`输入寄存器(3x)`}]},{key:`dataType`,label:`数据类型`,type:`select`,default:`float32`,options:[{value:`int16`,label:`int16(1 寄存器)`},{value:`uint16`,label:`uint16(1 寄存器)`},{value:`int32`,label:`int32(2 寄存器)`},{value:`uint32`,label:`uint32(2 寄存器)`},{value:`float32`,label:`float32(2 寄存器,常用)`}]},{key:`scale`,label:`缩放系数`,type:`number`,default:1,hint:`原始值 × scale = 工程量(如 0.1)`},{key:`byteOrder`,label:`字节序`,type:`select`,default:`big`,options:[{value:`big`,label:`大端(AB CD)`},{value:`little`,label:`小端(CD AB)`},{value:`wordSwap`,label:`字交换(CD AB / 交换单字)`}]}]},{kind:`opcua`,label:`OPC UA(PLC/MES)`,status:`real`,configFields:[{key:`endpoint`,label:`端点(endpoint)`,type:`string`,required:!0,placeholder:`opc.tcp://192.168.1.10:4840`,hint:`OPC UA 服务器地址`},{key:`nodeId`,label:`节点 ID(NodeId)`,type:`string`,required:!0,placeholder:`ns=2;s=Channel1.Device1.Tag1`,hint:`要采集的变量节点`},{key:`securityMode`,label:`安全策略`,type:`select`,default:`None`,options:[{value:`None`,label:`None(无加密,内网常用)`},{value:`Sign`,label:`Sign(签名)`},{value:`SignAndEncrypt`,label:`SignAndEncrypt(签名+加密)`}]},{key:`username`,label:`用户名(可选)`,type:`string`},{key:`password`,label:`密码(可选)`,type:`string`},{key:`certificateFile`,label:`客户端证书路径(可选)`,type:`string`,placeholder:`certs/client_cert.pem`,hint:`Sign/SignAndEncrypt 时的 PEM 证书;留空自动生成自签`},{key:`privateKeyFile`,label:`私钥路径(可选)`,type:`string`,placeholder:`certs/client_key.pem`,hint:`与证书配对的 PEM 私钥`}]},{kind:`modbus-rtu`,label:`Modbus RTU over TCP(串口网关)`,status:`real`,configFields:[{key:`host`,label:`网关地址(host)`,type:`string`,required:!0,placeholder:`192.168.1.50`,hint:`串口服务器/RTU 转 TCP 网关 IP(设备本身走 RS-485)`},{key:`port`,label:`端口`,type:`number`,default:502,hint:`网关透传端口(常见 502 / 8899 / 26)`},{key:`unitId`,label:`从站地址(unitId)`,type:`number`,default:1,hint:`RS-485 总线上的从站地址`},{key:`register`,label:`寄存器地址`,type:`number`,required:!0,placeholder:`40001`,hint:`4xxxx=保持寄存器(地址-40001 为协议偏移);3xxxx=输入寄存器`},{key:`registerType`,label:`寄存器区`,type:`select`,default:`holding`,options:[{value:`holding`,label:`保持寄存器(4x)`},{value:`input`,label:`输入寄存器(3x)`}]},{key:`dataType`,label:`数据类型`,type:`select`,default:`float32`,options:[{value:`int16`,label:`int16(1 寄存器)`},{value:`uint16`,label:`uint16(1 寄存器)`},{value:`int32`,label:`int32(2 寄存器)`},{value:`uint32`,label:`uint32(2 寄存器)`},{value:`float32`,label:`float32(2 寄存器,常用)`}]},{key:`scale`,label:`缩放系数`,type:`number`,default:1,hint:`原始值 × scale = 工程量(如 0.1)`},{key:`byteOrder`,label:`字节序`,type:`select`,default:`big`,options:[{value:`big`,label:`大端(AB CD)`},{value:`little`,label:`小端(CD AB)`},{value:`wordSwap`,label:`字交换(CD AB / 交换单字)`}]}]},{kind:`mqtt`,label:`MQTT(网关/边缘采集)`,status:`real`,configFields:[{key:`host`,label:`Broker 地址(host)`,type:`string`,required:!0,placeholder:`192.168.1.20 或 mqtt.example.com`,hint:`MQTT Broker(EMQX/Mosquitto/Aliyun IoT)地址`},{key:`port`,label:`端口`,type:`number`,default:1883,hint:`MQTT TCP 标准端口 1883(TLS 8883)`},{key:`topic`,label:`主题(topic)`,type:`string`,required:!0,placeholder:`factory/line1/temp`,hint:`设备上报数值的主题;支持 +/# 通配`},{key:`jsonPath`,label:`取值路径(可选)`,type:`string`,placeholder:`data.temperature`,hint:`payload 为 JSON 时按路径取数值,如 data.temp;纯数字报文留空`},{key:`username`,label:`用户名(可选)`,type:`string`},{key:`password`,label:`密码(可选)`,type:`string`}]},{kind:`http`,label:`HTTP/REST(轮询)`,status:`real`,configFields:[{key:`url`,label:`接口地址(URL)`,type:`string`,required:!0,placeholder:`http://192.168.1.30/api/sensor`,hint:`返回数值或 JSON 的 HTTP 接口`},{key:`jsonPath`,label:`取值路径(可选)`,type:`string`,placeholder:`data.value`,hint:`响应为 JSON 时按路径取数值,如 data.value;纯文本留空`},{key:`headersJSON`,label:`请求头(可选)`,type:`string`,placeholder:`{"Authorization":"Bearer xxx"}`,hint:`JSON 对象形式的 HTTP 头`}]},{kind:`s7`,label:`S7(西门子 PLC)`,status:`planned`,configFields:[]}],c=60,l=30,u=(e,t)=>r({base:`/api/workshop/daq`,path:e,init:t,retries:(t?.method??`GET`).toUpperCase()===`GET`?2:0}),d=()=>{let r=e([]),i=new Map,o=e([]),s=e({running:!0,defaultIntervalMs:1e3,defaultPublishIntervalMs:0,queryDisplayIntervalMs:5e3,nodesTotal:0,nodesOnline:0}),d=e({tsdb:`…`,queue:`…`,drivers:[],driverAvailable:{},infra:void 0,produced:0,consumed:0,dropped:0,samplesStored:0}),f=e(a.map(e=>({...e}))),p=e({});function m(){i.clear();for(let e of r)i.set(e.id,e)}function h(e){let t=r.findIndex(t=>t.id===e.id);t>=0?r[t]=Object.assign(r[t],e):(r.push({...e,hist:[]}),i.set(e.id,r[r.length-1]))}let g=[],_=null;function v(){_=null;let e=g;if(g=[],!e.length)return;let t=new Map;for(let n of e){t.set(n.nodeId,n);let e=i.get(n.nodeId);e&&(e.hist.push(n.value),e.hist.length>c&&e.hist.splice(0,e.hist.length-c))}for(let e of t.values()){let t=i.get(e.nodeId);t&&(t.value=e.value,t.state=e.state,t.lastAt=e.at)}}function y(e){g.push(e),_||=setTimeout(v,500)}function b(e){if(e.node){if(e.op===`removed`){let t=r.findIndex(t=>t.id===e.node.id);t>=0&&r.splice(t,1),i.delete(e.node.id),Reflect.deleteProperty(p,e.node.id);return}h(e.node)}}function x(e){f.splice(0,f.length,...e.map(e=>({...e})))}function S(e){if(!e.template)return;let t=f.findIndex(t=>t.key===e.template.key);if(e.op===`removed`){t>=0&&f.splice(t,1);return}t>=0?f[t]={...e.template}:f.push({...e.template})}function C(e){let t=Date.parse(e.at),n=p[e.nodeId]??(p[e.nodeId]=[]);n.some(e=>e.at===t)||(n.unshift({at:t,kind:e.kind,points:e.preview,metrics:e.metrics??{},thumbUrl:e.thumbUrl,contentUrl:e.thumbUrl?e.thumbUrl.replace(`thumb=1`,`thumb=0`):void 0}),n.length>l&&n.splice(l));let r=i.get(e.nodeId);r&&(r.value=e.metrics?.avg??r.value,e.state&&(r.state=e.state),r.lastAt=e.at)}let w=0,T=null;function E(){w++,w===1&&(T=t().subscribe(D));let e=!1;return()=>{e||(e=!0,--w===0&&(T?.(),T=null))}}function D(e){if(e.type===`daq.reading`)y(e.payload);else if(e.type===`daq.frame`)C(e.payload);else if(e.type===`daq.node.changed`)b(e.payload);else if(e.type===`daq.controller`)Object.assign(s,e.payload);else if(e.type===`daq.template.changed`)S(e.payload);else if(e.type===`daq.alarm`){let t=e.payload;o.some(e=>e.id===t.id)||o.unshift(t)}else if(e.type===`daq.alarm.changed`){let t=e.payload;if(t.ackedAt){let e=o.findIndex(e=>e.id===t.id);e>=0&&o.splice(e,1)}}}async function O(){try{let e=await u(``),t=new Map(r.map(e=>[e.id,e])),n=[];for(let r of e.nodes){let e=t.get(r.id);e?(Object.assign(e,r),n.push(e),t.delete(r.id)):n.push({...r,hist:[]})}r.splice(0,r.length,...n),m();for(let e of Object.keys(p))i.has(e)||Reflect.deleteProperty(p,e);Object.assign(s,e.controller),Object.assign(d,e.meta??{}),d.driverAvailable=e.driverAvailable??{},d.infra=e.infra,e.templates?.length&&x(e.templates),K.loaded=!0,K.error=``}catch(e){K.error=n(e)}}async function k(e,t){let n=await u(``,{method:`POST`,body:JSON.stringify({templateRef:e,...t})});return h(n.node),n.node}async function A(e,t){await u(`/${e}`,{method:`PATCH`,body:JSON.stringify(t)})}async function j(e,t,n){await u(`/${e}`,{method:`PATCH`,body:JSON.stringify({posX:t,posZ:n})})}async function M(e){await u(`/${e}`,{method:`DELETE`});let t=r.findIndex(t=>t.id===e);t>=0&&r.splice(t,1),i.delete(e),Reflect.deleteProperty(p,e)}async function N(e,t){h((await u(`/${e}/bind`,{method:`POST`,body:JSON.stringify({deviceId:t})})).node)}async function P(e,t){h((await u(`/${e}/bindings`,{method:`PUT`,body:JSON.stringify({deviceIds:t})})).node)}async function F(e,t){return(await u(`/test-driver`,{method:`POST`,body:JSON.stringify({driver:e,driverConfig:t})})).test}async function I(e){return(await u(`/${e}/test`,{method:`POST`})).test}async function L(){try{let e=await u(`/alarms?scope=open&limit=50`);o.splice(0,o.length,...e.alarms??[])}catch{}}async function R(e){await u(`/alarms/${e}/ack`,{method:`POST`}),await L()}async function z(){let e=await u(`/infra/reconnect`,{method:`POST`});return d.infra=e.infra,await O(),e.infra}async function B(e,t,n){let r=await u(`/controller`,{method:`POST`,body:JSON.stringify({action:e,defaultIntervalMs:t,defaultPublishIntervalMs:n})});Object.assign(s,r.controller)}async function V(e,t={}){let n=new URLSearchParams;return t.fromMs!=null&&n.set(`from`,String(t.fromMs)),t.toMs!=null&&n.set(`to`,String(t.toMs)),t.bucketMs!=null&&n.set(`bucketMs`,String(t.bucketMs)),t.limit!=null&&n.set(`limit`,String(t.limit)),(await u(`/${e}/samples?${n.toString()}`)).points??[]}async function H(e,t={}){let n=new URLSearchParams;t.fromMs!=null&&n.set(`from`,String(t.fromMs)),t.toMs!=null&&n.set(`to`,String(t.toMs)),t.kind&&n.set(`kind`,t.kind),t.limit!=null&&n.set(`limit`,String(t.limit));let r=await u(`/${e}/frames?${n.toString()}`);return p[e]=r.frames??[],p[e]}async function U(e){let t=await u(`/templates`,{method:`POST`,body:JSON.stringify(e)});return S({op:`added`,template:t.template}),t.template}async function W(e,t){let n=await u(`/templates/${e}`,{method:`PATCH`,body:JSON.stringify(t)});return S({op:`updated`,template:n.template}),n.template}async function G(e){await u(`/templates/${e}`,{method:`DELETE`}),S({op:`removed`,template:{key:e}})}let K=e({nodes:r,controller:s,meta:d,templates:f,loaded:!1,error:``,ensureWsFeed:E,load:O,createFromTemplate:k,createTemplate:U,updateTemplate:W,removeTemplate:G,testDriver:F,testNode:I,reconnectInfra:z,patchNode:A,saveTransform:j,removeNode:M,bindNode:N,setNodeBindings:P,controllerAction:B,alarms:o,fetchAlarms:L,ackAlarm:R,nodeById:e=>i.get(e)??r.find(t=>t.id===e),samplesOf:V,fetchFrames:H,frames:p,framesOf:e=>p[e]??[],templateOf:e=>f.find(t=>t.key===e||`daq-${t.key}`===e),ofDevice:e=>e?r.filter(t=>t.deviceBindingId===e):[]});return K},f=`__daqStream`;function p(){let e=globalThis;return e[f]||(e[f]=d()),e[f]}export{o as a,i,s as n,a as r,p as t};