camera.ui3 0.0.30-alpha.0 → 0.0.30-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/dist/interface/@camera.ui.KA9bRSoR.0.0.30-alpha.0.js +3 -0
  2. package/dist/interface/@tanstack.CTzdjGxD.0.0.30-alpha.0.js +1 -0
  3. package/dist/interface/{@vee-validate.0Cv0x9aN.0.0.30-alpha.0.js → @vee-validate.BJKTyKHK.0.0.30-alpha.0.js} +1 -1
  4. package/dist/interface/@vue.BeJw0wEm.0.0.30-alpha.0.js +17 -0
  5. package/dist/interface/{@vueform.Du_niMHk.0.0.30-alpha.0.js → @vueform.DIw88mcs.0.0.30-alpha.0.js} +1 -1
  6. package/dist/interface/{@vueuse.Dv9U068T.0.0.30-alpha.0.js → @vueuse.DK7Mz0BT.0.0.30-alpha.0.js} +1 -1
  7. package/dist/interface/Account.D23CSQgK.0.0.30-alpha.0.js +1 -0
  8. package/dist/interface/Adminpanel.CbDtQWxn.0.0.30-alpha.0.js +2 -0
  9. package/dist/interface/Appearance.az1S-8rV.0.0.30-alpha.0.js +1 -0
  10. package/dist/interface/Backup.BxjbY7JO.0.0.30-alpha.0.js +1 -0
  11. package/dist/interface/Camera.CWxxie6C.0.0.30-alpha.0.js +1 -0
  12. package/dist/interface/Cameras.Cs1dXd-W.0.0.30-alpha.0.js +1 -0
  13. package/dist/interface/Camview.uyIq-pxm.0.0.30-alpha.0.js +1 -0
  14. package/dist/interface/Config.DnuL5NIv.0.0.30-alpha.0.js +1 -0
  15. package/dist/interface/Console.C1dI5f9x.0.0.30-alpha.0.js +4 -0
  16. package/dist/interface/FirstSteps.C_TTm4lX.0.0.30-alpha.0.js +1 -0
  17. package/dist/interface/{NewCamera.Kn9biZIb.0.0.30-alpha.0.js → NewCamera.DjMFd-OB.0.0.30-alpha.0.js} +2 -2
  18. package/dist/interface/Plugin.rLO6u13g.0.0.30-alpha.0.js +1 -0
  19. package/dist/interface/Plugins.Dr-sUa9o.0.0.30-alpha.0.js +1 -0
  20. package/dist/interface/Recordings.4iG-hK8g.0.0.30-alpha.0.js +1 -0
  21. package/dist/interface/Recordings.Dxh2d-IQ.0.0.30-alpha.0.js +1 -0
  22. package/dist/interface/Settings.DAletWZO.0.0.30-alpha.0.js +1 -0
  23. package/dist/interface/System.Pv01yz8u.0.0.30-alpha.0.js +4 -0
  24. package/dist/interface/User.VLcbTFm_.0.0.30-alpha.0.js +1 -0
  25. package/dist/interface/{VConfigEditor.vue_vue_type_script_setup_true_lang.Br68bfQJ.0.0.30-alpha.0.js → VConfigEditor.vue_vue_type_script_setup_true_lang.pXHIBxVl.0.0.30-alpha.0.js} +1 -1
  26. package/dist/interface/{VConsole.BT0UxZb1.0.0.30-alpha.0.js → VConsole.BUZLhyeb.0.0.30-alpha.0.js} +1 -1
  27. package/dist/interface/VPlayer.DW5rNren.0.0.30-alpha.0.js +1 -0
  28. package/dist/interface/{VPluginCard.Bz3GmzAE.0.0.30-alpha.0.js → VPluginCard.D5f85QIk.0.0.30-alpha.0.js} +2 -2
  29. package/dist/interface/index.html +15 -14
  30. package/dist/interface/main.CNzh1Rg5.0.0.30-alpha.0.js +2 -0
  31. package/dist/interface/{pinia.DRjp4GU7.0.0.30-alpha.0.js → pinia.BPnxDxQ3.0.0.30-alpha.0.js} +2 -2
  32. package/dist/interface/{plugins.Ur_7V4x8.0.0.30-alpha.0.js → plugins.DIEspWyc.0.0.30-alpha.0.js} +1 -1
  33. package/dist/interface/sw.js +1 -1
  34. package/dist/interface/{system.CRn9Cy3C.0.0.30-alpha.0.js → system.23ZKsQ9W.0.0.30-alpha.0.js} +1 -1
  35. package/dist/interface/{ui.C-XbEPHk.0.0.30-alpha.0.js → ui.9t-Av5-L.0.0.30-alpha.0.js} +1 -1
  36. package/dist/interface/{v-calendar.CapJoEkJ.0.0.30-alpha.0.js → v-calendar.u5cKUC4g.0.0.30-alpha.0.js} +1 -1
  37. package/dist/interface/{vee-validate.DcgOEpak.0.0.30-alpha.0.js → vee-validate.DLoDjJ2f.0.0.30-alpha.0.js} +2 -2
  38. package/dist/interface/{vue-i18n.D2pqkMP3.0.0.30-alpha.0.js → vue-i18n.1W5jhc7l.0.0.30-alpha.0.js} +2 -2
  39. package/dist/interface/{vue-inline-svg.DorOTPIf.0.0.30-alpha.0.js → vue-inline-svg.Cc6uL4nI.0.0.30-alpha.0.js} +1 -1
  40. package/dist/interface/{vue-router.BVs4qaVs.0.0.30-alpha.0.js → vue-router.CgUDt9kL.0.0.30-alpha.0.js} +2 -2
  41. package/dist/interface/{vue3-apexcharts.CBV9x5vk.0.0.30-alpha.0.js → vue3-apexcharts.D8ONfVUq.0.0.30-alpha.0.js} +1 -1
  42. package/dist/interface/{vue3-dnd.CXMddGIZ.0.0.30-alpha.0.js → vue3-dnd.V9l5pvP2.0.0.30-alpha.0.js} +1 -1
  43. package/dist/interface/{vue3-toastify.DE7YmDSX.0.0.30-alpha.0.js → vue3-toastify.CjNgo6aC.0.0.30-alpha.0.js} +1 -1
  44. package/dist/interface/{vuetify.CYxxHEVN.0.0.30-alpha.0.js → vuetify.Box3fVLm.0.0.30-alpha.0.js} +1 -1
  45. package/dist/interface/zod.DnW1_kUe.0.0.30-alpha.0.js +1 -0
  46. package/dist/server/bin/cameraui.js +10 -7
  47. package/dist/server/bin/cameraui.js.map +1 -1
  48. package/dist/server/bin/fork.js +2 -2
  49. package/dist/server/bin/fork.js.map +1 -1
  50. package/dist/server/bin/installer/darwin.js +1 -1
  51. package/dist/server/bin/installer/darwin.js.map +1 -1
  52. package/dist/server/bin/installer/linux.js +1 -1
  53. package/dist/server/bin/installer/linux.js.map +1 -1
  54. package/dist/server/package.json +11 -15
  55. package/dist/server/src/api/controllers/backup.controller.js.map +1 -1
  56. package/dist/server/src/api/controllers/cameras.controller.js +1 -1
  57. package/dist/server/src/api/controllers/cameras.controller.js.map +1 -1
  58. package/dist/server/src/api/controllers/frameWorkers.controller.js +1 -1
  59. package/dist/server/src/api/controllers/frameWorkers.controller.js.map +1 -1
  60. package/dist/server/src/api/controllers/plugins.controller.js +1 -2
  61. package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
  62. package/dist/server/src/api/controllers/system.controller.js +1 -3
  63. package/dist/server/src/api/controllers/system.controller.js.map +1 -1
  64. package/dist/server/src/api/controllers/users.controller.js +2 -2
  65. package/dist/server/src/api/controllers/users.controller.js.map +1 -1
  66. package/dist/server/src/api/database/constants.d.ts +8 -0
  67. package/dist/server/src/api/database/constants.js +9 -0
  68. package/dist/server/src/api/database/constants.js.map +1 -0
  69. package/dist/server/src/api/database/index.d.ts +0 -8
  70. package/dist/server/src/api/database/index.js +14 -21
  71. package/dist/server/src/api/database/index.js.map +1 -1
  72. package/dist/server/src/api/database/migration.js +5 -4
  73. package/dist/server/src/api/database/migration.js.map +1 -1
  74. package/dist/server/src/api/database/types.d.ts +6 -6
  75. package/dist/server/src/api/go2rtc/api/application.js +1 -1
  76. package/dist/server/src/api/go2rtc/api/application.js.map +1 -1
  77. package/dist/server/src/api/index.js.map +1 -1
  78. package/dist/server/src/api/plugins/logger.plugin.js.map +1 -1
  79. package/dist/server/src/api/schemas/cameras.schema.d.ts +71 -71
  80. package/dist/server/src/api/schemas/config.schema.d.ts +6 -6
  81. package/dist/server/src/api/schemas/go2rtc.schema.d.ts +98 -98
  82. package/dist/server/src/api/schemas/users.schema.d.ts +116 -116
  83. package/dist/server/src/api/services/auth.service.js +1 -1
  84. package/dist/server/src/api/services/auth.service.js.map +1 -1
  85. package/dist/server/src/api/services/backup.service.js.map +1 -1
  86. package/dist/server/src/api/services/cameras.service.js +1 -1
  87. package/dist/server/src/api/services/cameras.service.js.map +1 -1
  88. package/dist/server/src/api/services/system.service.js +1 -1
  89. package/dist/server/src/api/services/system.service.js.map +1 -1
  90. package/dist/server/src/api/services/users.service.js +1 -1
  91. package/dist/server/src/api/services/users.service.js.map +1 -1
  92. package/dist/server/src/api/types/index.d.ts +2 -2
  93. package/dist/server/src/api/types/index.js.map +1 -1
  94. package/dist/server/src/api/utils/cert.js.map +1 -1
  95. package/dist/server/src/api/websocket/index.js.map +1 -1
  96. package/dist/server/src/api/websocket/nsp/notifications.js.map +1 -1
  97. package/dist/server/src/api/websocket/nsp/server.js +1 -1
  98. package/dist/server/src/api/websocket/nsp/server.js.map +1 -1
  99. package/dist/server/src/api.d.ts +1 -7
  100. package/dist/server/src/api.js.map +1 -1
  101. package/dist/server/src/camera/controller.d.ts +4 -6
  102. package/dist/server/src/camera/controller.js +5 -8
  103. package/dist/server/src/camera/controller.js.map +1 -1
  104. package/dist/server/src/camera/types.d.ts +140 -13
  105. package/dist/server/src/camera/types.js.map +1 -1
  106. package/dist/server/src/decoder/index.js.map +1 -1
  107. package/dist/server/src/decoder/types.d.ts +1 -18
  108. package/dist/server/src/decoder/worker.d.ts +3 -2
  109. package/dist/server/src/decoder/worker.js +10 -22
  110. package/dist/server/src/decoder/worker.js.map +1 -1
  111. package/dist/server/src/go2rtc/index.js +2 -3
  112. package/dist/server/src/go2rtc/index.js.map +1 -1
  113. package/dist/server/src/main.js +3 -3
  114. package/dist/server/src/main.js.map +1 -1
  115. package/dist/server/src/nats/index.d.ts +3 -4
  116. package/dist/server/src/nats/index.js +1 -3
  117. package/dist/server/src/nats/index.js.map +1 -1
  118. package/dist/server/src/nats/proxy/cameraDevice.d.ts +2 -2
  119. package/dist/server/src/nats/proxy/coreManager.d.ts +4 -2
  120. package/dist/server/src/nats/proxy/coreManager.js +7 -0
  121. package/dist/server/src/nats/proxy/coreManager.js.map +1 -1
  122. package/dist/server/src/nats/proxy/deviceManager.d.ts +5 -5
  123. package/dist/server/src/nats/proxy/deviceManager.js +4 -2
  124. package/dist/server/src/nats/proxy/deviceManager.js.map +1 -1
  125. package/dist/server/src/nats/server.js +2 -3
  126. package/dist/server/src/nats/server.js.map +1 -1
  127. package/dist/server/src/nats/types.d.ts +19 -32
  128. package/dist/server/src/nats/utils.d.ts +1 -1
  129. package/dist/server/src/nats/websocket.js.map +1 -1
  130. package/dist/server/src/plugins/index.js +11 -9
  131. package/dist/server/src/plugins/index.js.map +1 -1
  132. package/dist/server/src/plugins/interfaces/base.d.ts +1 -1
  133. package/dist/server/src/plugins/plugin.d.ts +1 -1
  134. package/dist/server/src/plugins/plugin.js +4 -4
  135. package/dist/server/src/plugins/plugin.js.map +1 -1
  136. package/dist/server/src/plugins/types.d.ts +36 -3
  137. package/dist/server/src/plugins/types.js.map +1 -1
  138. package/dist/server/src/plugins/worker.js +7 -16
  139. package/dist/server/src/plugins/worker.js.map +1 -1
  140. package/dist/server/src/services/config/constants.js +2 -2
  141. package/dist/server/src/services/config/constants.js.map +1 -1
  142. package/dist/server/src/services/config/index.d.ts +2 -0
  143. package/dist/server/src/services/config/index.js +10 -2
  144. package/dist/server/src/services/config/index.js.map +1 -1
  145. package/dist/server/src/services/logger/index.d.ts +4 -16
  146. package/dist/server/src/services/logger/index.js +4 -83
  147. package/dist/server/src/services/logger/index.js.map +1 -1
  148. package/dist/server/src/services/logger/types.d.ts +8 -0
  149. package/dist/server/src/services/logger/types.js +2 -0
  150. package/dist/server/src/services/logger/types.js.map +1 -0
  151. package/localdeps.txt +4 -0
  152. package/package.json +11 -15
  153. package/dist/interface/@tanstack.DYQ7Jj8U.0.0.30-alpha.0.js +0 -1
  154. package/dist/interface/@vue.CvjRlaU6.0.0.30-alpha.0.js +0 -17
  155. package/dist/interface/Account.Dm2FouAU.0.0.30-alpha.0.js +0 -1
  156. package/dist/interface/Adminpanel.B2Aiobnt.0.0.30-alpha.0.js +0 -2
  157. package/dist/interface/Appearance.EfH0tMdM.0.0.30-alpha.0.js +0 -1
  158. package/dist/interface/Backup.D8SRclhB.0.0.30-alpha.0.js +0 -1
  159. package/dist/interface/Camera.D-cOf4sS.0.0.30-alpha.0.js +0 -1
  160. package/dist/interface/Cameras.oolxbmXU.0.0.30-alpha.0.js +0 -1
  161. package/dist/interface/Camview.BHw8Pe3v.0.0.30-alpha.0.js +0 -1
  162. package/dist/interface/Config.DmPTI5iz.0.0.30-alpha.0.js +0 -1
  163. package/dist/interface/Console.Dq4khHFF.0.0.30-alpha.0.js +0 -4
  164. package/dist/interface/FirstSteps.Bo467abx.0.0.30-alpha.0.js +0 -1
  165. package/dist/interface/Plugin.BLTVcTt1.0.0.30-alpha.0.js +0 -1
  166. package/dist/interface/Plugins.Cp8mK__o.0.0.30-alpha.0.js +0 -1
  167. package/dist/interface/Recordings.B_JIFk_G.0.0.30-alpha.0.js +0 -1
  168. package/dist/interface/Recordings.gMbvwmk_.0.0.30-alpha.0.js +0 -1
  169. package/dist/interface/Settings.EhHJjGrl.0.0.30-alpha.0.js +0 -1
  170. package/dist/interface/System.VodoK0U6.0.0.30-alpha.0.js +0 -4
  171. package/dist/interface/User.DpcN7DEC.0.0.30-alpha.0.js +0 -1
  172. package/dist/interface/VPlayer.DYua3Eh_.0.0.30-alpha.0.js +0 -1
  173. package/dist/interface/main.19pRAqPU.0.0.30-alpha.0.js +0 -4
  174. package/dist/interface/zod.BaF2dDCd.0.0.30-alpha.0.js +0 -1
  175. package/dist/server/src/camera/device.d.ts +0 -29
  176. package/dist/server/src/camera/device.js +0 -20
  177. package/dist/server/src/camera/device.js.map +0 -1
  178. package/dist/server/src/camera/index.d.ts +0 -90
  179. package/dist/server/src/camera/index.js +0 -581
  180. package/dist/server/src/camera/index.js.map +0 -1
  181. package/dist/server/src/camera/interfaces/camera.d.ts +0 -10
  182. package/dist/server/src/camera/interfaces/camera.js +0 -23
  183. package/dist/server/src/camera/interfaces/camera.js.map +0 -1
  184. package/dist/server/src/camera/interfaces/prebuffer.d.ts +0 -11
  185. package/dist/server/src/camera/interfaces/prebuffer.js +0 -31
  186. package/dist/server/src/camera/interfaces/prebuffer.js.map +0 -1
  187. package/dist/server/src/camera/interfaces/ptz.d.ts +0 -13
  188. package/dist/server/src/camera/interfaces/ptz.js +0 -47
  189. package/dist/server/src/camera/interfaces/ptz.js.map +0 -1
  190. package/dist/server/src/camera/iou.d.ts +0 -2
  191. package/dist/server/src/camera/iou.js +0 -53
  192. package/dist/server/src/camera/iou.js.map +0 -1
  193. package/dist/server/src/camera/polygon.d.ts +0 -6
  194. package/dist/server/src/camera/polygon.js +0 -151
  195. package/dist/server/src/camera/polygon.js.map +0 -1
  196. package/dist/server/src/camera/streaming/peer-connection.d.ts +0 -55
  197. package/dist/server/src/camera/streaming/peer-connection.js +0 -203
  198. package/dist/server/src/camera/streaming/peer-connection.js.map +0 -1
  199. package/dist/server/src/camera/streaming/webrtc-connection.d.ts +0 -35
  200. package/dist/server/src/camera/streaming/webrtc-connection.js +0 -170
  201. package/dist/server/src/camera/streaming/webrtc-connection.js.map +0 -1
  202. package/dist/server/src/camera/streaming/werift-session.d.ts +0 -41
  203. package/dist/server/src/camera/streaming/werift-session.js +0 -179
  204. package/dist/server/src/camera/streaming/werift-session.js.map +0 -1
  205. package/dist/server/src/camera/videoFrame.d.ts +0 -24
  206. package/dist/server/src/camera/videoFrame.js +0 -104
  207. package/dist/server/src/camera/videoFrame.js.map +0 -1
  208. package/dist/server/src/index.d.ts +0 -18
  209. package/dist/server/src/index.js +0 -5
  210. package/dist/server/src/index.js.map +0 -1
  211. package/dist/server/src/nats/connection.d.ts +0 -17
  212. package/dist/server/src/nats/connection.js +0 -66
  213. package/dist/server/src/nats/connection.js.map +0 -1
  214. package/dist/server/src/nats/constants.d.ts +0 -1
  215. package/dist/server/src/nats/constants.js +0 -2
  216. package/dist/server/src/nats/constants.js.map +0 -1
  217. package/dist/server/src/nats/error.d.ts +0 -9
  218. package/dist/server/src/nats/error.js +0 -11
  219. package/dist/server/src/nats/error.js.map +0 -1
  220. package/dist/server/src/nats/messageQueue.d.ts +0 -20
  221. package/dist/server/src/nats/messageQueue.js +0 -132
  222. package/dist/server/src/nats/messageQueue.js.map +0 -1
  223. package/dist/server/src/nats/subscription.d.ts +0 -12
  224. package/dist/server/src/nats/subscription.js +0 -21
  225. package/dist/server/src/nats/subscription.js.map +0 -1
  226. package/dist/server/src/polyglot/node/decoder/child.d.ts +0 -1
  227. package/dist/server/src/polyglot/node/decoder/child.js +0 -644
  228. package/dist/server/src/polyglot/node/decoder/child.js.map +0 -1
  229. package/dist/server/src/polyglot/node/decoder/imageUtils.d.ts +0 -24
  230. package/dist/server/src/polyglot/node/decoder/imageUtils.js +0 -205
  231. package/dist/server/src/polyglot/node/decoder/imageUtils.js.map +0 -1
  232. package/dist/server/src/polyglot/node/decoder/wasm/build/decoder.d.ts +0 -144
  233. package/dist/server/src/polyglot/node/decoder/wasm/build/decoder.js +0 -65
  234. package/dist/server/src/polyglot/node/decoder/wasm/build/decoder.wasm +0 -0
  235. package/dist/server/src/polyglot/node/decoder/wasm/test/imageUtils.py +0 -106
  236. package/dist/server/src/polyglot/node/plugins/cameraStorage.d.ts +0 -107
  237. package/dist/server/src/polyglot/node/plugins/cameraStorage.js +0 -292
  238. package/dist/server/src/polyglot/node/plugins/cameraStorage.js.map +0 -1
  239. package/dist/server/src/polyglot/node/plugins/child.d.ts +0 -28
  240. package/dist/server/src/polyglot/node/plugins/child.js +0 -222
  241. package/dist/server/src/polyglot/node/plugins/child.js.map +0 -1
  242. package/dist/server/src/polyglot/node/plugins/configService.d.ts +0 -104
  243. package/dist/server/src/polyglot/node/plugins/configService.js +0 -213
  244. package/dist/server/src/polyglot/node/plugins/configService.js.map +0 -1
  245. package/dist/server/src/polyglot/node/plugins/pluginApi.d.ts +0 -35
  246. package/dist/server/src/polyglot/node/plugins/pluginApi.js +0 -23
  247. package/dist/server/src/polyglot/node/plugins/pluginApi.js.map +0 -1
  248. package/dist/server/src/polyglot/node/plugins/pluginLogger.d.ts +0 -18
  249. package/dist/server/src/polyglot/node/plugins/pluginLogger.js +0 -89
  250. package/dist/server/src/polyglot/node/plugins/pluginLogger.js.map +0 -1
  251. package/dist/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +0 -69
  252. package/dist/server/src/polyglot/node/plugins/proxy/cameraDevice.js +0 -423
  253. package/dist/server/src/polyglot/node/plugins/proxy/cameraDevice.js.map +0 -1
  254. package/dist/server/src/polyglot/node/plugins/proxy/coreManager.d.ts +0 -40
  255. package/dist/server/src/polyglot/node/plugins/proxy/coreManager.js +0 -105
  256. package/dist/server/src/polyglot/node/plugins/proxy/coreManager.js.map +0 -1
  257. package/dist/server/src/polyglot/node/plugins/proxy/deviceManager.d.ts +0 -47
  258. package/dist/server/src/polyglot/node/plugins/proxy/deviceManager.js +0 -164
  259. package/dist/server/src/polyglot/node/plugins/proxy/deviceManager.js.map +0 -1
  260. package/dist/server/src/polyglot/node/plugins/schema.d.ts +0 -293
  261. package/dist/server/src/polyglot/node/plugins/schema.js +0 -740
  262. package/dist/server/src/polyglot/node/plugins/schema.js.map +0 -1
  263. package/dist/server/src/polyglot/node/plugins/storageController.d.ts +0 -30
  264. package/dist/server/src/polyglot/node/plugins/storageController.js +0 -40
  265. package/dist/server/src/polyglot/node/plugins/storageController.js.map +0 -1
  266. package/dist/server/src/polyglot/python/camera/interfaces/camera.py +0 -20
  267. package/dist/server/src/polyglot/python/camera/interfaces/prebuffer.py +0 -28
  268. package/dist/server/src/polyglot/python/camera/interfaces/ptz.py +0 -38
  269. package/dist/server/src/polyglot/python/camera/iou.py +0 -80
  270. package/dist/server/src/polyglot/python/camera/polygon.py +0 -173
  271. package/dist/server/src/polyglot/python/camera/video_frame.py +0 -188
  272. package/dist/server/src/polyglot/python/camera_ui_types/__init__.py +0 -1200
  273. package/dist/server/src/polyglot/python/decoder/child.py +0 -882
  274. package/dist/server/src/polyglot/python/decoder/image_utils.py +0 -149
  275. package/dist/server/src/polyglot/python/decoder/typings.py +0 -99
  276. package/dist/server/src/polyglot/python/plugins/camera_storage.py +0 -391
  277. package/dist/server/src/polyglot/python/plugins/child.py +0 -394
  278. package/dist/server/src/polyglot/python/plugins/config_service.py +0 -187
  279. package/dist/server/src/polyglot/python/plugins/constants.py +0 -1
  280. package/dist/server/src/polyglot/python/plugins/message_queue.py +0 -182
  281. package/dist/server/src/polyglot/python/plugins/plugin_api.py +0 -34
  282. package/dist/server/src/polyglot/python/plugins/plugin_logger.py +0 -111
  283. package/dist/server/src/polyglot/python/plugins/proxy/camera_device.py +0 -1599
  284. package/dist/server/src/polyglot/python/plugins/proxy/core_manager.py +0 -145
  285. package/dist/server/src/polyglot/python/plugins/proxy/device_manager.py +0 -226
  286. package/dist/server/src/polyglot/python/plugins/schema.py +0 -181
  287. package/dist/server/src/polyglot/python/plugins/storage_controller.py +0 -58
  288. package/dist/server/src/polyglot/python/plugins/typings.py +0 -253
  289. package/dist/server/src/polyglot/python/utilities/connection.py +0 -86
  290. package/dist/server/src/polyglot/python/utilities/json_lmdb.py +0 -19
  291. package/dist/server/src/polyglot/python/utilities/object_path.py +0 -195
  292. package/dist/server/src/polyglot/python/utilities/packer.py +0 -11
  293. package/dist/server/src/polyglot/python/utilities/subscriptions.py +0 -22
  294. package/dist/server/src/polyglot/python/utilities/task.py +0 -35
  295. package/dist/server/src/polyglot/python/utilities/thread.py +0 -10
  296. package/dist/server/src/polyglot/python/utilities/utils.py +0 -73
  297. package/dist/server/src/utils/ffmpeg.d.ts +0 -2
  298. package/dist/server/src/utils/ffmpeg.js +0 -61
  299. package/dist/server/src/utils/ffmpeg.js.map +0 -1
  300. package/dist/server/src/utils/network.d.ts +0 -12
  301. package/dist/server/src/utils/network.js +0 -92
  302. package/dist/server/src/utils/network.js.map +0 -1
  303. package/dist/server/src/utils/npm.d.ts +0 -4
  304. package/dist/server/src/utils/npm.js +0 -128
  305. package/dist/server/src/utils/npm.js.map +0 -1
  306. package/dist/server/src/utils/packer.d.ts +0 -2
  307. package/dist/server/src/utils/packer.js +0 -17
  308. package/dist/server/src/utils/packer.js.map +0 -1
  309. package/dist/server/src/utils/pythonInstaller.d.ts +0 -48
  310. package/dist/server/src/utils/pythonInstaller.js +0 -494
  311. package/dist/server/src/utils/pythonInstaller.js.map +0 -1
  312. package/dist/server/src/utils/reader.d.ts +0 -5
  313. package/dist/server/src/utils/reader.js +0 -41
  314. package/dist/server/src/utils/reader.js.map +0 -1
  315. package/dist/server/src/utils/subscribed.d.ts +0 -9
  316. package/dist/server/src/utils/subscribed.js +0 -17
  317. package/dist/server/src/utils/subscribed.js.map +0 -1
  318. package/dist/server/src/utils/utils.d.ts +0 -10
  319. package/dist/server/src/utils/utils.js +0 -165
  320. package/dist/server/src/utils/utils.js.map +0 -1
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @vue/shared v3.5.3
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **//*! #__NO_SIDE_EFFECTS__ */function xs(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const J={},gt=[],Be=()=>{},go=()=>!1,In=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Cs=e=>e.startsWith("onUpdate:"),ie=Object.assign,Ts=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},mo=Object.prototype.hasOwnProperty,z=(e,t)=>mo.call(e,t),D=Array.isArray,mt=e=>St(e)==="[object Map]",Fn=e=>St(e)==="[object Set]",tr=e=>St(e)==="[object Date]",_o=e=>St(e)==="[object RegExp]",$=e=>typeof e=="function",ne=e=>typeof e=="string",$e=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",ws=e=>(Z(e)||$(e))&&$(e.then)&&$(e.catch),Vr=Object.prototype.toString,St=e=>Vr.call(e),yo=e=>St(e).slice(8,-1),Hr=e=>St(e)==="[object Object]",Es=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lt=xs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},bo=/-(\w)/g,Ae=Mn(e=>e.replace(bo,(t,n)=>n?n.toUpperCase():"")),vo=/\B([A-Z])/g,We=Mn(e=>e.replace(vo,"-$1").toLowerCase()),On=Mn(e=>e.charAt(0).toUpperCase()+e.slice(1)),cn=Mn(e=>e?`on${On(e)}`:""),be=(e,t)=>!Object.is(e,t),_t=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},jr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},xo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Kr=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let nr;const kr=()=>nr||(nr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Pn(e){if(D(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ne(s)?Eo(s):Pn(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ne(e)||Z(e))return e}const Co=/;(?![^(]*\))/g,To=/:([^]+)/,wo=/\/\*[^]*?\*\//g;function Eo(e){const t={};return e.replace(wo,"").split(Co).forEach(n=>{if(n){const s=n.split(To);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Rn(e){let t="";if(ne(e))t=e;else if(D(e))for(let n=0;n<e.length;n++){const s=Rn(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function oc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ne(t)&&(e.class=Rn(t)),n&&(e.style=Pn(n)),e}const So="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ao=xs(So);function Ur(e){return!!e||e===""}function Io(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Ct(e[s],t[s]);return n}function Ct(e,t){if(e===t)return!0;let n=tr(e),s=tr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=$e(e),s=$e(t),n||s)return e===t;if(n=D(e),s=D(t),n||s)return n&&s?Io(e,t):!1;if(n=Z(e),s=Z(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!Ct(e[o],t[o]))return!1}}return String(e)===String(t)}function Wr(e,t){return e.findIndex(n=>Ct(n,t))}const Gr=e=>!!(e&&e.__v_isRef===!0),Fo=e=>ne(e)?e:e==null?"":D(e)||Z(e)&&(e.toString===Vr||!$(e.toString))?Gr(e)?Fo(e.value):JSON.stringify(e,qr,2):String(e),qr=(e,t)=>Gr(t)?qr(e,t.value):mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Wn(s,i)+" =>"]=r,n),{})}:Fn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Wn(n))}:$e(t)?Wn(t):Z(t)&&!D(t)&&!Hr(t)?String(t):t,Wn=(e,t="")=>{var n;return $e(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
+ * @vue/reactivity v3.5.3
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/let me;class Jr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=me,!t&&me&&(this.index=(me.scopes||(me.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=me;try{return me=this,t()}finally{me=n}}}on(){me=this}off(){me=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function lc(e){return new Jr(e)}function Mo(){return me}function fc(e,t=!1){me&&me.cleanups.push(e)}let X;const Gn=new WeakSet;class Yr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.nextEffect=void 0,this.cleanup=void 0,this.scheduler=void 0,me&&me.active&&me.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Gn.has(this)&&(Gn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||(this.flags|=8,this.nextEffect=Bt,Bt=this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,sr(this),Zr(this);const t=X,n=Oe;X=this,Oe=!0;try{return this.fn()}finally{Xr(this),X=t,Oe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Is(t);this.deps=this.depsTail=void 0,sr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Gn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ss(this)&&this.run()}get dirty(){return ss(this)}}let zr=0,Bt;function Ss(){zr++}function As(){if(--zr>0)return;let e;for(;Bt;){let t=Bt;for(Bt=void 0;t;){const n=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Zr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xr(e){let t,n=e.depsTail;for(let s=n;s;s=s.prevDep)s.version===-1?(s===n&&(n=s.prevDep),Is(s),Oo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0;e.deps=t,e.depsTail=n}function ss(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&Qr(t.dep.computed)===!1||t.dep.version!==t.version)return!0;return!!e._dirty}function Qr(e){if(e.flags&2)return!1;if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!ss(e)){e.flags&=-3;return}const n=X,s=Oe;X=e,Oe=!0;try{Zr(e);const r=e.fn(e._value);(t.version===0||be(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{X=n,Oe=s,Xr(e),e.flags&=-3}}function Is(e){const{dep:t,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let r=t.computed.deps;r;r=r.nextDep)Is(r)}}function Oo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Oe=!0;const ei=[];function et(){ei.push(Oe),Oe=!1}function tt(){const e=ei.pop();Oe=e===void 0?!0:e}function sr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=X;X=void 0;try{t()}finally{X=n}}}let Kt=0;class Dn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!X||!Oe||X===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==X)n=this.activeLink={dep:this,sub:X,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},X.deps?(n.prevDep=X.depsTail,X.depsTail.nextDep=n,X.depsTail=n):X.deps=X.depsTail=n,X.flags&4&&ti(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=X.depsTail,n.nextDep=void 0,X.depsTail.nextDep=n,X.depsTail=n,X.deps===n&&(X.deps=s)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){Ss();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{As()}}}function ti(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ti(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const gn=new WeakMap,ft=Symbol(""),rs=Symbol(""),kt=Symbol("");function pe(e,t,n){if(Oe&&X){let s=gn.get(e);s||gn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=new Dn),r.track()}}function ke(e,t,n,s,r,i){const o=gn.get(e);if(!o){Kt++;return}let l=[];if(t==="clear")l=[...o.values()];else{const f=D(e),h=f&&Es(n);if(f&&n==="length"){const u=Number(s);o.forEach((a,p)=>{(p==="length"||p===kt||!$e(p)&&p>=u)&&l.push(a)})}else{const u=a=>a&&l.push(a);switch(n!==void 0&&u(o.get(n)),h&&u(o.get(kt)),t){case"add":f?h&&u(o.get("length")):(u(o.get(ft)),mt(e)&&u(o.get(rs)));break;case"delete":f||(u(o.get(ft)),mt(e)&&u(o.get(rs)));break;case"set":mt(e)&&u(o.get(ft));break}}}Ss();for(const f of l)f.trigger();As()}function Po(e,t){var n;return(n=gn.get(e))==null?void 0:n.get(t)}function ht(e){const t=G(e);return t===e?t:(pe(t,"iterate",kt),Pe(e)?t:t.map(he))}function Nn(e){return pe(e=G(e),"iterate",kt),e}const Ro={__proto__:null,[Symbol.iterator](){return qn(this,Symbol.iterator,he)},concat(...e){return ht(this).concat(...e.map(t=>D(t)?ht(t):t))},entries(){return qn(this,"entries",e=>(e[1]=he(e[1]),e))},every(e,t){return Ve(this,"every",e,t,void 0,arguments)},filter(e,t){return Ve(this,"filter",e,t,n=>n.map(he),arguments)},find(e,t){return Ve(this,"find",e,t,he,arguments)},findIndex(e,t){return Ve(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ve(this,"findLast",e,t,he,arguments)},findLastIndex(e,t){return Ve(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ve(this,"forEach",e,t,void 0,arguments)},includes(...e){return Jn(this,"includes",e)},indexOf(...e){return Jn(this,"indexOf",e)},join(e){return ht(this).join(e)},lastIndexOf(...e){return Jn(this,"lastIndexOf",e)},map(e,t){return Ve(this,"map",e,t,void 0,arguments)},pop(){return Ot(this,"pop")},push(...e){return Ot(this,"push",e)},reduce(e,...t){return rr(this,"reduce",e,t)},reduceRight(e,...t){return rr(this,"reduceRight",e,t)},shift(){return Ot(this,"shift")},some(e,t){return Ve(this,"some",e,t,void 0,arguments)},splice(...e){return Ot(this,"splice",e)},toReversed(){return ht(this).toReversed()},toSorted(e){return ht(this).toSorted(e)},toSpliced(...e){return ht(this).toSpliced(...e)},unshift(...e){return Ot(this,"unshift",e)},values(){return qn(this,"values",he)}};function qn(e,t,n){const s=Nn(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const Do=Array.prototype;function Ve(e,t,n,s,r,i){const o=Nn(e),l=o!==e&&!Pe(e),f=o[t];if(f!==Do[t]){const a=f.apply(e,i);return l?he(a):a}let h=n;o!==e&&(l?h=function(a,p){return n.call(this,he(a),p,e)}:n.length>2&&(h=function(a,p){return n.call(this,a,p,e)}));const u=f.call(o,h,s);return l&&r?r(u):u}function rr(e,t,n,s){const r=Nn(e);let i=n;return r!==e&&(Pe(e)?n.length>3&&(i=function(o,l,f){return n.call(this,o,l,f,e)}):i=function(o,l,f){return n.call(this,o,he(l),f,e)}),r[t](i,...s)}function Jn(e,t,n){const s=G(e);pe(s,"iterate",kt);const r=s[t](...n);return(r===-1||r===!1)&&Rs(n[0])?(n[0]=G(n[0]),s[t](...n)):r}function Ot(e,t,n=[]){et(),Ss();const s=G(e)[t].apply(e,n);return As(),tt(),s}const No=xs("__proto__,__v_isRef,__isVue"),ni=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($e));function Lo(e){$e(e)||(e=String(e));const t=G(this);return pe(t,"has",e),t.hasOwnProperty(e)}class si{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Yo:li:i?oi:ii).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=D(t);if(!r){let f;if(o&&(f=Ro[n]))return f;if(n==="hasOwnProperty")return Lo}const l=Reflect.get(t,n,ue(t)?t:s);return($e(n)?ni.has(n):No(n))||(r||pe(t,"get",n),i)?l:ue(l)?o&&Es(n)?l:l.value:Z(l)?r?fi(l):Os(l):l}}class ri extends si{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const f=at(i);if(!Pe(s)&&!at(s)&&(i=G(i),s=G(s)),!D(t)&&ue(i)&&!ue(s))return f?!1:(i.value=s,!0)}const o=D(t)&&Es(n)?Number(n)<t.length:z(t,n),l=Reflect.set(t,n,s,ue(t)?t:r);return t===G(r)&&(o?be(s,i)&&ke(t,"set",n,s):ke(t,"add",n,s)),l}deleteProperty(t,n){const s=z(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&ke(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!$e(n)||!ni.has(n))&&pe(t,"has",n),s}ownKeys(t){return pe(t,"iterate",D(t)?"length":ft),Reflect.ownKeys(t)}}class Bo extends si{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const $o=new ri,Vo=new Bo,Ho=new ri(!0);const Fs=e=>e,Ln=e=>Reflect.getPrototypeOf(e);function Qt(e,t,n=!1,s=!1){e=e.__v_raw;const r=G(e),i=G(t);n||(be(t,i)&&pe(r,"get",t),pe(r,"get",i));const{has:o}=Ln(r),l=s?Fs:n?Ds:he;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function en(e,t=!1){const n=this.__v_raw,s=G(n),r=G(e);return t||(be(e,r)&&pe(s,"has",e),pe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function tn(e,t=!1){return e=e.__v_raw,!t&&pe(G(e),"iterate",ft),Reflect.get(e,"size",e)}function ir(e,t=!1){!t&&!Pe(e)&&!at(e)&&(e=G(e));const n=G(this);return Ln(n).has.call(n,e)||(n.add(e),ke(n,"add",e,e)),this}function or(e,t,n=!1){!n&&!Pe(t)&&!at(t)&&(t=G(t));const s=G(this),{has:r,get:i}=Ln(s);let o=r.call(s,e);o||(e=G(e),o=r.call(s,e));const l=i.call(s,e);return s.set(e,t),o?be(t,l)&&ke(s,"set",e,t):ke(s,"add",e,t),this}function lr(e){const t=G(this),{has:n,get:s}=Ln(t);let r=n.call(t,e);r||(e=G(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&ke(t,"delete",e,void 0),i}function fr(){const e=G(this),t=e.size!==0,n=e.clear();return t&&ke(e,"clear",void 0,void 0),n}function nn(e,t){return function(s,r){const i=this,o=i.__v_raw,l=G(o),f=t?Fs:e?Ds:he;return!e&&pe(l,"iterate",ft),o.forEach((h,u)=>s.call(r,f(h),f(u),i))}}function sn(e,t,n){return function(...s){const r=this.__v_raw,i=G(r),o=mt(i),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,h=r[e](...s),u=n?Fs:t?Ds:he;return!t&&pe(i,"iterate",f?rs:ft),{next(){const{value:a,done:p}=h.next();return p?{value:a,done:p}:{value:l?[u(a[0]),u(a[1])]:u(a),done:p}},[Symbol.iterator](){return this}}}}function qe(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function jo(){const e={get(i){return Qt(this,i)},get size(){return tn(this)},has:en,add:ir,set:or,delete:lr,clear:fr,forEach:nn(!1,!1)},t={get(i){return Qt(this,i,!1,!0)},get size(){return tn(this)},has:en,add(i){return ir.call(this,i,!0)},set(i,o){return or.call(this,i,o,!0)},delete:lr,clear:fr,forEach:nn(!1,!0)},n={get(i){return Qt(this,i,!0)},get size(){return tn(this,!0)},has(i){return en.call(this,i,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:nn(!0,!1)},s={get(i){return Qt(this,i,!0,!0)},get size(){return tn(this,!0)},has(i){return en.call(this,i,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:nn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=sn(i,!1,!1),n[i]=sn(i,!0,!1),t[i]=sn(i,!1,!0),s[i]=sn(i,!0,!0)}),[e,n,t,s]}const[Ko,ko,Uo,Wo]=jo();function Ms(e,t){const n=t?e?Wo:Uo:e?ko:Ko;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const Go={get:Ms(!1,!1)},qo={get:Ms(!1,!0)},Jo={get:Ms(!0,!1)};const ii=new WeakMap,oi=new WeakMap,li=new WeakMap,Yo=new WeakMap;function zo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Zo(e){return e.__v_skip||!Object.isExtensible(e)?0:zo(yo(e))}function Os(e){return at(e)?e:Ps(e,!1,$o,Go,ii)}function Xo(e){return Ps(e,!1,Ho,qo,oi)}function fi(e){return Ps(e,!0,Vo,Jo,li)}function Ps(e,t,n,s,r){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Zo(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function yt(e){return at(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Rs(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function Qo(e){return Object.isExtensible(e)&&jr(e,"__v_skip",!0),e}const he=e=>Z(e)?Os(e):e,Ds=e=>Z(e)?fi(e):e;function ue(e){return e?e.__v_isRef===!0:!1}function el(e){return ci(e,!1)}function cc(e){return ci(e,!0)}function ci(e,t){return ue(e)?e:new tl(e,t)}class tl{constructor(t,n){this.dep=new Dn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:G(t),this._value=n?t:he(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||at(t);t=s?t:G(t),be(t,n)&&(this._rawValue=t,this._value=s?t:he(t),this.dep.trigger())}}function ui(e){return ue(e)?e.value:e}function uc(e){return $(e)?e():ui(e)}const nl={get:(e,t,n)=>t==="__v_raw"?e:ui(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ue(r)&&!ue(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ai(e){return yt(e)?e:new Proxy(e,nl)}class sl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Dn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function rl(e){return new sl(e)}function ac(e){const t=D(e)?new Array(e.length):{};for(const n in e)t[n]=di(e,n);return t}class il{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Po(G(this._object),this._key)}}class ol{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function dc(e,t,n){return ue(e)?e:$(e)?new ol(e):Z(e)&&arguments.length>1?di(e,t,n):el(e)}function di(e,t,n){const s=e[t];return ue(s)?s:new il(e,t,n)}class ll{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Dn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){X!==this&&(this.flags|=16,this.dep.notify())}get value(){const t=this.dep.track();return Qr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function fl(e,t,n=!1){let s,r;return $(e)?s=e:(s=e.get,r=e.set),new ll(s,r,n)}const rn={},mn=new WeakMap;let lt;function cl(e,t=!1,n=lt){if(n){let s=mn.get(n);s||mn.set(n,s=[]),s.push(e)}}function ul(e,t,n=J){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:f}=n,h=y=>r?y:Pe(y)||r===!1||r===0?Ke(y,1):Ke(y);let u,a,p,_,C=!1,P=!1;if(ue(e)?(a=()=>e.value,C=Pe(e)):yt(e)?(a=()=>h(e),C=!0):D(e)?(P=!0,C=e.some(y=>yt(y)||Pe(y)),a=()=>e.map(y=>{if(ue(y))return y.value;if(yt(y))return h(y);if($(y))return f?f(y,2):y()})):$(e)?t?a=f?()=>f(e,2):e:a=()=>{if(p){et();try{p()}finally{tt()}}const y=lt;lt=u;try{return f?f(e,3,[_]):e(_)}finally{lt=y}}:a=Be,t&&r){const y=a,w=r===!0?1/0:r;a=()=>Ke(y(),w)}const W=Mo(),V=()=>{u.stop(),W&&Ts(W.effects,u)};if(i)if(t){const y=t;t=(...w)=>{y(...w),V()}}else{const y=a;a=()=>{y(),V()}}let S=P?new Array(e.length).fill(rn):rn;const F=y=>{if(!(!(u.flags&1)||!u.dirty&&!y))if(t){const w=u.run();if(r||C||(P?w.some((R,j)=>be(R,S[j])):be(w,S))){p&&p();const R=lt;lt=u;try{const j=[w,S===rn?void 0:P&&S[0]===rn?[]:S,_];f?f(t,3,j):t(...j),S=w}finally{lt=R}}}else u.run()};return l&&l(F),u=new Yr(a),u.scheduler=o?()=>o(F,!1):F,_=y=>cl(y,!1,u),p=u.onStop=()=>{const y=mn.get(u);if(y){if(f)f(y,4);else for(const w of y)w();mn.delete(u)}},t?s?F(!0):S=u.run():o?o(F.bind(null,!0),!0):u.run(),V.pause=u.pause.bind(u),V.resume=u.resume.bind(u),V.stop=V,V}function Ke(e,t=1/0,n){if(t<=0||!Z(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ue(e))Ke(e.value,t,n);else if(D(e))for(let s=0;s<e.length;s++)Ke(e[s],t,n);else if(Fn(e)||mt(e))e.forEach(s=>{Ke(s,t,n)});else if(Hr(e)){for(const s in e)Ke(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ke(e[s],t,n)}return e}/**
10
+ * @vue/runtime-core v3.5.3
11
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
+ * @license MIT
13
+ **/function Jt(e,t,n,s){try{return s?e(...s):e()}catch(r){Yt(r,t,n)}}function Re(e,t,n,s){if($(e)){const r=Jt(e,t,n,s);return r&&ws(r)&&r.catch(i=>{Yt(i,t,n)}),r}if(D(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Re(e[i],t,n,s));return r}}function Yt(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||J;if(t){let l=t.parent;const f=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let a=0;a<u.length;a++)if(u[a](e,f,h)===!1)return}l=l.parent}if(i){et(),Jt(i,null,10,[e,f,h]),tt();return}}al(e,n,r,s,o)}function al(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}let Ut=!1,is=!1;const _e=[];let Le=0;const bt=[];let ze=null,pt=0;const hi=Promise.resolve();let Ns=null;function dl(e){const t=Ns||hi;return e?t.then(this?e.bind(this):e):t}function hl(e){let t=Ut?Le+1:0,n=_e.length;for(;t<n;){const s=t+n>>>1,r=_e[s],i=Wt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Ls(e){if(!(e.flags&1)){const t=Wt(e),n=_e[_e.length-1];!n||!(e.flags&2)&&t>=Wt(n)?_e.push(e):_e.splice(hl(t),0,e),e.flags|=1,pi()}}function pi(){!Ut&&!is&&(is=!0,Ns=hi.then(mi))}function os(e){D(e)?bt.push(...e):ze&&e.id===-1?ze.splice(pt+1,0,e):e.flags&1||(bt.push(e),e.flags|=1),pi()}function cr(e,t,n=Ut?Le+1:0){for(;n<_e.length;n++){const s=_e[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;_e.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&=-2}}}function gi(e){if(bt.length){const t=[...new Set(bt)].sort((n,s)=>Wt(n)-Wt(s));if(bt.length=0,ze){ze.push(...t);return}for(ze=t,pt=0;pt<ze.length;pt++){const n=ze[pt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ze=null,pt=0}}const Wt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function mi(e){is=!1,Ut=!0;try{for(Le=0;Le<_e.length;Le++){const t=_e[Le];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Jt(t,t.i,t.i?15:14),t.flags&=-2)}}finally{for(;Le<_e.length;Le++){const t=_e[Le];t&&(t.flags&=-2)}Le=0,_e.length=0,gi(),Ut=!1,Ns=null,(_e.length||bt.length)&&mi()}}let oe=null,_i=null;function _n(e){const t=oe;return oe=e,_i=e&&e.type.__scopeId||null,t}function pl(e,t=oe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&vr(-1);const i=_n(t);let o;try{o=e(...r)}finally{_n(i),s._d&&vr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function hc(e,t){if(oe===null)return e;const n=kn(oe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,f=J]=t[r];i&&($(i)&&(i={mounted:i,updated:i}),i.deep&&Ke(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:f}))}return e}function rt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let f=l.dir[s];f&&(et(),Re(f,n,8,[e.el,l,e,t]),tt())}}const yi=Symbol("_vte"),bi=e=>e.__isTeleport,$t=e=>e&&(e.disabled||e.disabled===""),gl=e=>e&&(e.defer||e.defer===""),ur=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ar=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ls=(e,t)=>{const n=e&&e.to;return ne(n)?t?t(n):null:n},ml={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,f,h){const{mc:u,pc:a,pbc:p,o:{insert:_,querySelector:C,createText:P,createComment:W}}=h,V=$t(t.props);let{shapeFlag:S,children:F,dynamicChildren:y}=t;if(e==null){const w=t.el=P(""),R=t.anchor=P("");_(w,n,s),_(R,n,s);const j=(O,L)=>{S&16&&u(F,O,L,r,i,o,l,f)},K=()=>{const O=t.target=ls(t.props,C),L=vi(O,t,P,_);O&&(o!=="svg"&&ur(O)?o="svg":o!=="mathml"&&ar(O)&&(o="mathml"),V||(j(O,L),un(t)))};V&&(j(n,R),un(t)),gl(t.props)?le(K,i):K()}else{t.el=e.el,t.targetStart=e.targetStart;const w=t.anchor=e.anchor,R=t.target=e.target,j=t.targetAnchor=e.targetAnchor,K=$t(e.props),O=K?n:R,L=K?w:j;if(o==="svg"||ur(R)?o="svg":(o==="mathml"||ar(R))&&(o="mathml"),y?(p(e.dynamicChildren,y,O,r,i,o,l),Ws(e,t,!0)):f||a(e,t,O,L,r,i,o,l,!1),V)K?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):on(t,n,w,h,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const k=t.target=ls(t.props,C);k&&on(t,k,null,h,0)}else K&&on(t,R,j,h,1);un(t)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:f,targetStart:h,targetAnchor:u,target:a,props:p}=e;if(a&&(r(h),r(u)),i&&r(f),o&16){const _=i||!$t(p);for(let C=0;C<l.length;C++){const P=l[C];s(P,t,n,_,!!P.dynamicChildren)}}},move:on,hydrate:_l};function on(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:f,children:h,props:u}=e,a=i===2;if(a&&s(o,t,n),(!a||$t(u))&&f&16)for(let p=0;p<h.length;p++)r(h[p],t,n,2);a&&s(l,t,n)}function _l(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:f,insert:h,createText:u}},a){const p=t.target=ls(t.props,f);if(p){const _=p._lpa||p.firstChild;if(t.shapeFlag&16)if($t(t.props))t.anchor=a(o(e),t,l(e),n,s,r,i),t.targetStart=_,t.targetAnchor=_&&o(_);else{t.anchor=o(e);let C=_;for(;C;){if(C&&C.nodeType===8){if(C.data==="teleport start anchor")t.targetStart=C;else if(C.data==="teleport anchor"){t.targetAnchor=C,p._lpa=t.targetAnchor&&o(t.targetAnchor);break}}C=o(C)}t.targetAnchor||vi(p,t,u,h),a(_&&o(_),t,p,n,s,r,i)}un(t)}return t.anchor&&o(t.anchor)}const pc=ml;function un(e){const t=e.ctx;if(t&&t.ut){let n=e.targetStart;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function vi(e,t,n,s){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[yi]=i,e&&(s(r,e),s(i,e)),i}const Ze=Symbol("_leaveCb"),ln=Symbol("_enterCb");function xi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Vn(()=>{e.isMounted=!0}),Vs(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],Ci={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},Ti=e=>{const t=e.subTree;return t.component?Ti(t.component):t},yl={name:"BaseTransition",props:Ci,setup(e,{slots:t}){const n=At(),s=xi();return()=>{const r=t.default&&Bs(t.default(),!0);if(!r||!r.length)return;const i=wi(r),o=G(e),{mode:l}=o;if(s.isLeaving)return Yn(i);const f=dr(i);if(!f)return Yn(i);let h=Gt(f,o,s,n,p=>h=p);f.type!==fe&&Qe(f,h);const u=n.subTree,a=u&&dr(u);if(a&&a.type!==fe&&!Me(f,a)&&Ti(n).type!==fe){const p=Gt(a,o,s,n);if(Qe(a,p),l==="out-in"&&f.type!==fe)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave},Yn(i);l==="in-out"&&f.type!==fe&&(p.delayLeave=(_,C,P)=>{const W=Ei(s,a);W[String(a.key)]=a,_[Ze]=()=>{C(),_[Ze]=void 0,delete h.delayedLeave},h.delayedLeave=P})}return i}}};function wi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==fe){t=n;break}}return t}const bl=yl;function Ei(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Gt(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:f,onEnter:h,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:p,onLeave:_,onAfterLeave:C,onLeaveCancelled:P,onBeforeAppear:W,onAppear:V,onAfterAppear:S,onAppearCancelled:F}=t,y=String(e.key),w=Ei(n,e),R=(O,L)=>{O&&Re(O,s,9,L)},j=(O,L)=>{const k=L[1];R(O,L),D(O)?O.every(M=>M.length<=1)&&k():O.length<=1&&k()},K={mode:o,persisted:l,beforeEnter(O){let L=f;if(!n.isMounted)if(i)L=W||f;else return;O[Ze]&&O[Ze](!0);const k=w[y];k&&Me(e,k)&&k.el[Ze]&&k.el[Ze](),R(L,[O])},enter(O){let L=h,k=u,M=a;if(!n.isMounted)if(i)L=V||h,k=S||u,M=F||a;else return;let q=!1;const re=O[ln]=we=>{q||(q=!0,we?R(M,[O]):R(k,[O]),K.delayedLeave&&K.delayedLeave(),O[ln]=void 0)};L?j(L,[O,re]):re()},leave(O,L){const k=String(e.key);if(O[ln]&&O[ln](!0),n.isUnmounting)return L();R(p,[O]);let M=!1;const q=O[Ze]=re=>{M||(M=!0,L(),re?R(P,[O]):R(C,[O]),O[Ze]=void 0,w[k]===e&&delete w[k])};w[k]=e,_?j(_,[O,q]):q()},clone(O){const L=Gt(O,t,n,s,r);return r&&r(L),L}};return K}function Yn(e){if(Bn(e))return e=Ue(e),e.children=null,e}function dr(e){if(!Bn(e))return bi(e.type)&&e.children?wi(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&$(n.default))return n.default()}}function Qe(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Qe(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bs(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ye?(o.patchFlag&128&&r++,s=s.concat(Bs(o.children,t,l))):(t||o.type!==fe)&&s.push(l!=null?Ue(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function gc(e,t){return $(e)?ie({name:e.name},t,{setup:e}):e}function Si(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function fs(e,t,n,s,r=!1){if(D(e)){e.forEach((C,P)=>fs(C,t&&(D(t)?t[P]:t),n,s,r));return}if(ct(s)&&!r)return;const i=s.shapeFlag&4?kn(s.component):s.el,o=r?null:i,{i:l,r:f}=e,h=t&&t.r,u=l.refs===J?l.refs={}:l.refs,a=l.setupState,p=G(a),_=a===J?()=>!1:C=>z(p,C);if(h!=null&&h!==f&&(ne(h)?(u[h]=null,_(h)&&(a[h]=null)):ue(h)&&(h.value=null)),$(f))Jt(f,l,12,[o,u]);else{const C=ne(f),P=ue(f);if(C||P){const W=()=>{if(e.f){const V=C?_(f)?a[f]:u[f]:f.value;r?D(V)&&Ts(V,i):D(V)?V.includes(i)||V.push(i):C?(u[f]=[i],_(f)&&(a[f]=u[f])):(f.value=[i],e.k&&(u[e.k]=f.value))}else C?(u[f]=o,_(f)&&(a[f]=o)):P&&(f.value=o,e.k&&(u[e.k]=o))};o?(W.id=-1,le(W,n)):W()}}}const ct=e=>!!e.type.__asyncLoader,Bn=e=>e.type.__isKeepAlive,vl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=At(),s=n.ctx;if(!s.renderer)return()=>{const S=t.default&&t.default();return S&&S.length===1?S[0]:S};const r=new Map,i=new Set;let o=null;const l=n.suspense,{renderer:{p:f,m:h,um:u,o:{createElement:a}}}=s,p=a("div");s.activate=(S,F,y,w,R)=>{const j=S.component;h(S,F,y,0,l),f(j.vnode,S,F,y,j,l,w,S.slotScopeIds,R),le(()=>{j.isDeactivated=!1,j.a&&_t(j.a);const K=S.props&&S.props.onVnodeMounted;K&&Se(K,j.parent,S)},l)},s.deactivate=S=>{const F=S.component;vn(F.m),vn(F.a),h(S,p,null,1,l),le(()=>{F.da&&_t(F.da);const y=S.props&&S.props.onVnodeUnmounted;y&&Se(y,F.parent,S),F.isDeactivated=!0},l)};function _(S){zn(S),u(S,n,l,!0)}function C(S){r.forEach((F,y)=>{const w=ys(F.type);w&&!S(w)&&P(y)})}function P(S){const F=r.get(S);F&&(!o||!Me(F,o))?_(F):o&&zn(o),r.delete(S),i.delete(S)}dn(()=>[e.include,e.exclude],([S,F])=>{S&&C(y=>Dt(S,y)),F&&C(y=>!Dt(F,y))},{flush:"post",deep:!0});let W=null;const V=()=>{W!=null&&(xn(n.subTree.type)?le(()=>{r.set(W,fn(n.subTree))},n.subTree.suspense):r.set(W,fn(n.subTree)))};return Vn(V),$s(V),Vs(()=>{r.forEach(S=>{const{subTree:F,suspense:y}=n,w=fn(F);if(S.type===w.type&&S.key===w.key){zn(w);const R=w.component.da;R&&le(R,y);return}_(S)})}),()=>{if(W=null,!t.default)return o=null;const S=t.default(),F=S[0];if(S.length>1)return o=null,S;if(!wt(F)||!(F.shapeFlag&4)&&!(F.shapeFlag&128))return o=null,F;let y=fn(F);if(y.type===fe)return o=null,y;const w=y.type,R=ys(ct(y)?y.type.__asyncResolved||{}:w),{include:j,exclude:K,max:O}=e;if(j&&(!R||!Dt(j,R))||K&&R&&Dt(K,R))return y.shapeFlag&=-257,o=y,F;const L=y.key==null?w:y.key,k=r.get(L);return y.el&&(y=Ue(y),F.shapeFlag&128&&(F.ssContent=y)),W=L,k?(y.el=k.el,y.component=k.component,y.transition&&Qe(y,y.transition),y.shapeFlag|=512,i.delete(L),i.add(L)):(i.add(L),O&&i.size>parseInt(O,10)&&P(i.values().next().value)),y.shapeFlag|=256,o=y,xn(F.type)?F:y}}},mc=vl;function Dt(e,t){return D(e)?e.some(n=>Dt(n,t)):ne(e)?e.split(",").includes(t):_o(e)?(e.lastIndex=0,e.test(t)):!1}function xl(e,t){Ai(e,"a",t)}function Cl(e,t){Ai(e,"da",t)}function Ai(e,t,n=ce){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if($n(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Bn(r.parent.vnode)&&Tl(s,t,n,r),r=r.parent}}function Tl(e,t,n,s){const r=$n(t,e,s,!0);Hs(()=>{Ts(s[t],r)},n)}function zn(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function fn(e){return e.shapeFlag&128?e.ssContent:e}function $n(e,t,n=ce,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{et();const l=dt(n),f=Re(t,n,e,o);return l(),tt(),f});return s?r.unshift(i):r.push(i),i}}const Ge=e=>(t,n=ce)=>{(!Kn||e==="sp")&&$n(e,(...s)=>t(...s),n)},Ii=Ge("bm"),Vn=Ge("m"),wl=Ge("bu"),$s=Ge("u"),Vs=Ge("bum"),Hs=Ge("um"),El=Ge("sp"),Sl=Ge("rtg"),Al=Ge("rtc");function Il(e,t=ce){$n("ec",e,t)}const js="components",Fl="directives";function _c(e,t){return Ks(js,e,!0,t)||e}const Fi=Symbol.for("v-ndc");function yc(e){return ne(e)?Ks(js,e,!1)||e:e||Fi}function bc(e){return Ks(Fl,e)}function Ks(e,t,n=!0,s=!1){const r=oe||ce;if(r){const i=r.type;if(e===js){const l=ys(i,!1);if(l&&(l===t||l===Ae(t)||l===On(Ae(t))))return i}const o=hr(r[e]||i[e],t)||hr(r.appContext[e],t);return!o&&s?i:o}}function hr(e,t){return e&&(e[t]||e[Ae(t)]||e[On(Ae(t))])}function vc(e,t,n,s){let r;const i=n,o=D(e);if(o||ne(e)){const l=o&&yt(e);l&&(e=Nn(e)),r=new Array(e.length);for(let f=0,h=e.length;f<h;f++)r[f]=t(l?he(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(Z(e))if(e[Symbol.iterator])r=Array.from(e,(l,f)=>t(l,f,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let f=0,h=l.length;f<h;f++){const u=l[f];r[f]=t(e[u],u,f,i)}}else r=[];return r}function xc(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(D(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function Cc(e,t,n={},s,r){if(oe.ce||oe.parent&&ct(oe.parent)&&oe.parent.ce)return t!=="default"&&(n.name=t),Cn(),ps(ye,null,[ae("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),Cn();const o=i&&Mi(i(n)),l=ps(ye,{key:(n.key||o&&o.key||`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Mi(e){return e.some(t=>wt(t)?!(t.type===fe||t.type===ye&&!Mi(t.children)):!0)?e:null}function Tc(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:cn(s)]=e[s];return n}const cs=e=>e?Zi(e)?kn(e):cs(e.parent):null,Vt=ie(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>cs(e.parent),$root:e=>cs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ks(e),$forceUpdate:e=>e.f||(e.f=()=>{Ls(e.update)}),$nextTick:e=>e.n||(e.n=dl.bind(e.proxy)),$watch:e=>Ql.bind(e)}),Zn=(e,t)=>e!==J&&!e.__isScriptSetup&&z(e,t),Ml={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:f}=e;let h;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Zn(s,t))return o[t]=1,s[t];if(r!==J&&z(r,t))return o[t]=2,r[t];if((h=e.propsOptions[0])&&z(h,t))return o[t]=3,i[t];if(n!==J&&z(n,t))return o[t]=4,n[t];us&&(o[t]=0)}}const u=Vt[t];let a,p;if(u)return t==="$attrs"&&pe(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==J&&z(n,t))return o[t]=4,n[t];if(p=f.config.globalProperties,z(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Zn(r,t)?(r[t]=n,!0):s!==J&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==J&&z(e,o)||Zn(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(Vt,o)||z(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function yn(e){return D(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function wc(e,t){return!e||!t?e||t:D(e)&&D(t)?e.concat(t):ie({},yn(e),yn(t))}function Ec(e){const t=At();let n=e();return ms(),ws(n)&&(n=n.catch(s=>{throw dt(t),s})),[n,()=>dt(t)]}let us=!0;function Ol(e){const t=ks(e),n=e.proxy,s=e.ctx;us=!1,t.beforeCreate&&pr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:f,inject:h,created:u,beforeMount:a,mounted:p,beforeUpdate:_,updated:C,activated:P,deactivated:W,beforeDestroy:V,beforeUnmount:S,destroyed:F,unmounted:y,render:w,renderTracked:R,renderTriggered:j,errorCaptured:K,serverPrefetch:O,expose:L,inheritAttrs:k,components:M,directives:q,filters:re}=t;if(h&&Pl(h,s,null),o)for(const Q in o){const ee=o[Q];$(ee)&&(s[Q]=ee.bind(n))}if(r){const Q=r.call(n,n);Z(Q)&&(e.data=Os(Q))}if(us=!0,i)for(const Q in i){const ee=i[Q],nt=$(ee)?ee.bind(n,n):$(ee.get)?ee.get.bind(n,n):Be,Zt=!$(ee)&&$(ee.set)?ee.set.bind(n):Be,st=Ef({get:nt,set:Zt});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>st.value,set:De=>st.value=De})}if(l)for(const Q in l)Oi(l[Q],s,n,Q);if(f){const Q=$(f)?f.call(n):f;Reflect.ownKeys(Q).forEach(ee=>{$l(ee,Q[ee])})}u&&pr(u,e,"c");function se(Q,ee){D(ee)?ee.forEach(nt=>Q(nt.bind(n))):ee&&Q(ee.bind(n))}if(se(Ii,a),se(Vn,p),se(wl,_),se($s,C),se(xl,P),se(Cl,W),se(Il,K),se(Al,R),se(Sl,j),se(Vs,S),se(Hs,y),se(El,O),D(L))if(L.length){const Q=e.exposed||(e.exposed={});L.forEach(ee=>{Object.defineProperty(Q,ee,{get:()=>n[ee],set:nt=>n[ee]=nt})})}else e.exposed||(e.exposed={});w&&e.render===Be&&(e.render=w),k!=null&&(e.inheritAttrs=k),M&&(e.components=M),q&&(e.directives=q),O&&Si(e)}function Pl(e,t,n=Be){D(e)&&(e=as(e));for(const s in e){const r=e[s];let i;Z(r)?"default"in r?i=an(r.from||s,r.default,!0):i=an(r.from||s):i=an(r),ue(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function pr(e,t,n){Re(D(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Oi(e,t,n,s){let r=s.includes(".")?ki(n,s):()=>n[s];if(ne(e)){const i=t[e];$(i)&&dn(r,i)}else if($(e))dn(r,e.bind(n));else if(Z(e))if(D(e))e.forEach(i=>Oi(i,t,n,s));else{const i=$(e.handler)?e.handler.bind(n):t[e.handler];$(i)&&dn(r,i,e)}}function ks(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let f;return l?f=l:!r.length&&!n&&!s?f=t:(f={},r.length&&r.forEach(h=>bn(f,h,o,!0)),bn(f,t,o)),Z(t)&&i.set(t,f),f}function bn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&bn(e,i,n,!0),r&&r.forEach(o=>bn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Rl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Rl={data:gr,props:mr,emits:mr,methods:Nt,computed:Nt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Nt,directives:Nt,watch:Nl,provide:gr,inject:Dl};function gr(e,t){return t?e?function(){return ie($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function Dl(e,t){return Nt(as(e),as(t))}function as(e){if(D(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ge(e,t){return e?[...new Set([].concat(e,t))]:t}function Nt(e,t){return e?ie(Object.create(null),e,t):t}function mr(e,t){return e?D(e)&&D(t)?[...new Set([...e,...t])]:ie(Object.create(null),yn(e),yn(t??{})):t}function Nl(e,t){if(!e)return t;if(!t)return e;const n=ie(Object.create(null),e);for(const s in t)n[s]=ge(e[s],t[s]);return n}function Pi(){return{app:null,config:{isNativeTag:go,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Ll=0;function Bl(e,t){return function(s,r=null){$(s)||(s=ie({},s)),r!=null&&!Z(r)&&(r=null);const i=Pi(),o=new WeakSet,l=[];let f=!1;const h=i.app={_uid:Ll++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Af,get config(){return i.config},set config(u){},use(u,...a){return o.has(u)||(u&&$(u.install)?(o.add(u),u.install(h,...a)):$(u)&&(o.add(u),u(h,...a))),h},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),h},component(u,a){return a?(i.components[u]=a,h):i.components[u]},directive(u,a){return a?(i.directives[u]=a,h):i.directives[u]},mount(u,a,p){if(!f){const _=h._ceVNode||ae(s,r);return _.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),a&&t?t(_,u):e(_,u,p),f=!0,h._container=u,u.__vue_app__=h,kn(_.component)}},onUnmount(u){l.push(u)},unmount(){f&&(Re(l,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(u,a){return i.provides[u]=a,h},runWithContext(u){const a=ut;ut=h;try{return u()}finally{ut=a}}};return h}}let ut=null;function $l(e,t){if(ce){let n=ce.provides;const s=ce.parent&&ce.parent.provides;s===n&&(n=ce.provides=Object.create(s)),n[e]=t}}function an(e,t,n=!1){const s=ce||oe;if(s||ut){const r=ut?ut._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&$(t)?t.call(s&&s.proxy):t}}function Sc(){return!!(ce||oe||ut)}const Ri={},Di=()=>Object.create(Ri),Ni=e=>Object.getPrototypeOf(e)===Ri;function Vl(e,t,n,s=!1){const r={},i=Di();e.propsDefaults=Object.create(null),Li(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Xo(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Hl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=G(r),[f]=e.propsOptions;let h=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let a=0;a<u.length;a++){let p=u[a];if(Hn(e.emitsOptions,p))continue;const _=t[p];if(f)if(z(i,p))_!==i[p]&&(i[p]=_,h=!0);else{const C=Ae(p);r[C]=ds(f,l,C,_,e,!1)}else _!==i[p]&&(i[p]=_,h=!0)}}}else{Li(e,t,r,i)&&(h=!0);let u;for(const a in l)(!t||!z(t,a)&&((u=We(a))===a||!z(t,u)))&&(f?n&&(n[a]!==void 0||n[u]!==void 0)&&(r[a]=ds(f,l,a,void 0,e,!0)):delete r[a]);if(i!==l)for(const a in i)(!t||!z(t,a))&&(delete i[a],h=!0)}h&&ke(e.attrs,"set","")}function Li(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(Lt(f))continue;const h=t[f];let u;r&&z(r,u=Ae(f))?!i||!i.includes(u)?n[u]=h:(l||(l={}))[u]=h:Hn(e.emitsOptions,f)||(!(f in s)||h!==s[f])&&(s[f]=h,o=!0)}if(i){const f=G(n),h=l||J;for(let u=0;u<i.length;u++){const a=i[u];n[a]=ds(r,f,a,h[a],e,!z(h,a))}}return o}function ds(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=z(o,"default");if(l&&s===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&$(f)){const{propsDefaults:h}=r;if(n in h)s=h[n];else{const u=dt(r);s=h[n]=f.call(null,t),u()}}else s=f;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===We(n))&&(s=!0))}return s}const jl=new WeakMap;function Bi(e,t,n=!1){const s=n?jl:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let f=!1;if(!$(e)){const u=a=>{f=!0;const[p,_]=Bi(a,t,!0);ie(o,p),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!f)return Z(e)&&s.set(e,gt),gt;if(D(i))for(let u=0;u<i.length;u++){const a=Ae(i[u]);_r(a)&&(o[a]=J)}else if(i)for(const u in i){const a=Ae(u);if(_r(a)){const p=i[u],_=o[a]=D(p)||$(p)?{type:p}:ie({},p),C=_.type;let P=!1,W=!0;if(D(C))for(let V=0;V<C.length;++V){const S=C[V],F=$(S)&&S.name;if(F==="Boolean"){P=!0;break}else F==="String"&&(W=!1)}else P=$(C)&&C.name==="Boolean";_[0]=P,_[1]=W,(P||z(_,"default"))&&l.push(a)}}const h=[o,l];return Z(e)&&s.set(e,h),h}function _r(e){return e[0]!=="$"&&!Lt(e)}const $i=e=>e[0]==="_"||e==="$stable",Us=e=>D(e)?e.map(Fe):[Fe(e)],Kl=(e,t,n)=>{if(t._n)return t;const s=pl((...r)=>Us(t(...r)),n);return s._c=!1,s},Vi=(e,t,n)=>{const s=e._ctx;for(const r in e){if($i(r))continue;const i=e[r];if($(i))t[r]=Kl(r,i,s);else if(i!=null){const o=Us(i);t[r]=()=>o}}},Hi=(e,t)=>{const n=Us(t);e.slots.default=()=>n},ji=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},kl=(e,t,n)=>{const s=e.slots=Di();if(e.vnode.shapeFlag&32){const r=t._;r?(ji(s,t,n),n&&jr(s,"_",r,!0)):Vi(t,s)}else t&&Hi(e,t)},Ul=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=J;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:ji(r,t,n):(i=!t.$stable,Vi(t,r)),o=t}else t&&(Hi(e,t),o={default:1});if(i)for(const l in r)!$i(l)&&o[l]==null&&delete r[l]},le=af;function Wl(e){return Gl(e)}function Gl(e,t){const n=kr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:h,setElementText:u,parentNode:a,nextSibling:p,setScopeId:_=Be,insertStaticContent:C}=e,P=(c,d,g,v=null,m=null,b=null,A=void 0,E=null,T=!!d.dynamicChildren)=>{if(c===d)return;c&&!Me(c,d)&&(v=Xt(c),De(c,m,b,!0),c=null),d.patchFlag===-2&&(T=!1,d.dynamicChildren=null);const{type:x,ref:B,shapeFlag:I}=d;switch(x){case jn:W(c,d,g,v);break;case fe:V(c,d,g,v);break;case Ht:c==null&&S(d,g,v,A);break;case ye:M(c,d,g,v,m,b,A,E,T);break;default:I&1?w(c,d,g,v,m,b,A,E,T):I&6?q(c,d,g,v,m,b,A,E,T):(I&64||I&128)&&x.process(c,d,g,v,m,b,A,E,T,Ft)}B!=null&&m&&fs(B,c&&c.ref,b,d||c,!d)},W=(c,d,g,v)=>{if(c==null)s(d.el=l(d.children),g,v);else{const m=d.el=c.el;d.children!==c.children&&h(m,d.children)}},V=(c,d,g,v)=>{c==null?s(d.el=f(d.children||""),g,v):d.el=c.el},S=(c,d,g,v)=>{[c.el,c.anchor]=C(c.children,d,g,v,c.el,c.anchor)},F=({el:c,anchor:d},g,v)=>{let m;for(;c&&c!==d;)m=p(c),s(c,g,v),c=m;s(d,g,v)},y=({el:c,anchor:d})=>{let g;for(;c&&c!==d;)g=p(c),r(c),c=g;r(d)},w=(c,d,g,v,m,b,A,E,T)=>{d.type==="svg"?A="svg":d.type==="math"&&(A="mathml"),c==null?R(d,g,v,m,b,A,E,T):O(c,d,m,b,A,E,T)},R=(c,d,g,v,m,b,A,E)=>{let T,x;const{props:B,shapeFlag:I,transition:N,dirs:H}=c;if(T=c.el=o(c.type,b,B&&B.is,B),I&8?u(T,c.children):I&16&&K(c.children,T,null,v,m,Xn(c,b),A,E),H&&rt(c,null,v,"created"),j(T,c,c.scopeId,A,v),B){for(const te in B)te!=="value"&&!Lt(te)&&i(T,te,null,B[te],b,v);"value"in B&&i(T,"value",null,B.value,b),(x=B.onVnodeBeforeMount)&&Se(x,v,c)}H&&rt(c,null,v,"beforeMount");const U=ql(m,N);U&&N.beforeEnter(T),s(T,d,g),((x=B&&B.onVnodeMounted)||U||H)&&le(()=>{x&&Se(x,v,c),U&&N.enter(T),H&&rt(c,null,v,"mounted")},m)},j=(c,d,g,v,m)=>{if(g&&_(c,g),v)for(let b=0;b<v.length;b++)_(c,v[b]);if(m){let b=m.subTree;if(d===b||xn(b.type)&&(b.ssContent===d||b.ssFallback===d)){const A=m.vnode;j(c,A,A.scopeId,A.slotScopeIds,m.parent)}}},K=(c,d,g,v,m,b,A,E,T=0)=>{for(let x=T;x<c.length;x++){const B=c[x]=E?Xe(c[x]):Fe(c[x]);P(null,B,d,g,v,m,b,A,E)}},O=(c,d,g,v,m,b,A)=>{const E=d.el=c.el;let{patchFlag:T,dynamicChildren:x,dirs:B}=d;T|=c.patchFlag&16;const I=c.props||J,N=d.props||J;let H;if(g&&it(g,!1),(H=N.onVnodeBeforeUpdate)&&Se(H,g,d,c),B&&rt(d,c,g,"beforeUpdate"),g&&it(g,!0),(I.innerHTML&&N.innerHTML==null||I.textContent&&N.textContent==null)&&u(E,""),x?L(c.dynamicChildren,x,E,g,v,Xn(d,m),b):A||ee(c,d,E,null,g,v,Xn(d,m),b,!1),T>0){if(T&16)k(E,I,N,g,m);else if(T&2&&I.class!==N.class&&i(E,"class",null,N.class,m),T&4&&i(E,"style",I.style,N.style,m),T&8){const U=d.dynamicProps;for(let te=0;te<U.length;te++){const Y=U[te],xe=I[Y],de=N[Y];(de!==xe||Y==="value")&&i(E,Y,xe,de,m,g)}}T&1&&c.children!==d.children&&u(E,d.children)}else!A&&x==null&&k(E,I,N,g,m);((H=N.onVnodeUpdated)||B)&&le(()=>{H&&Se(H,g,d,c),B&&rt(d,c,g,"updated")},v)},L=(c,d,g,v,m,b,A)=>{for(let E=0;E<d.length;E++){const T=c[E],x=d[E],B=T.el&&(T.type===ye||!Me(T,x)||T.shapeFlag&70)?a(T.el):g;P(T,x,B,null,v,m,b,A,!0)}},k=(c,d,g,v,m)=>{if(d!==g){if(d!==J)for(const b in d)!Lt(b)&&!(b in g)&&i(c,b,d[b],null,m,v);for(const b in g){if(Lt(b))continue;const A=g[b],E=d[b];A!==E&&b!=="value"&&i(c,b,E,A,m,v)}"value"in g&&i(c,"value",d.value,g.value,m)}},M=(c,d,g,v,m,b,A,E,T)=>{const x=d.el=c?c.el:l(""),B=d.anchor=c?c.anchor:l("");let{patchFlag:I,dynamicChildren:N,slotScopeIds:H}=d;H&&(E=E?E.concat(H):H),c==null?(s(x,g,v),s(B,g,v),K(d.children||[],g,B,m,b,A,E,T)):I>0&&I&64&&N&&c.dynamicChildren?(L(c.dynamicChildren,N,g,m,b,A,E),(d.key!=null||m&&d===m.subTree)&&Ws(c,d,!0)):ee(c,d,g,B,m,b,A,E,T)},q=(c,d,g,v,m,b,A,E,T)=>{d.slotScopeIds=E,c==null?d.shapeFlag&512?m.ctx.activate(d,g,v,A,T):re(d,g,v,m,b,A,T):we(c,d,T)},re=(c,d,g,v,m,b,A)=>{const E=c.component=bf(c,v,m);if(Bn(c)&&(E.ctx.renderer=Ft),vf(E,!1,A),E.asyncDep){if(m&&m.registerDep(E,se,A),!c.el){const T=E.subTree=ae(fe);V(null,T,d,g)}}else se(E,c,d,g,m,b,A)},we=(c,d,g)=>{const v=d.component=c.component;if(rf(c,d,g))if(v.asyncDep&&!v.asyncResolved){Q(v,d,g);return}else v.next=d,v.update();else d.el=c.el,v.vnode=d},se=(c,d,g,v,m,b,A)=>{const E=()=>{if(c.isMounted){let{next:I,bu:N,u:H,parent:U,vnode:te}=c;{const Ce=Ki(c);if(Ce){I&&(I.el=te.el,Q(c,I,A)),Ce.asyncDep.then(()=>{c.isUnmounted||E()});return}}let Y=I,xe;it(c,!1),I?(I.el=te.el,Q(c,I,A)):I=te,N&&_t(N),(xe=I.props&&I.props.onVnodeBeforeUpdate)&&Se(xe,U,I,te),it(c,!0);const de=Qn(c),Ie=c.subTree;c.subTree=de,P(Ie,de,a(Ie.el),Xt(Ie),c,m,b),I.el=de.el,Y===null&&Gs(c,de.el),H&&le(H,m),(xe=I.props&&I.props.onVnodeUpdated)&&le(()=>Se(xe,U,I,te),m)}else{let I;const{el:N,props:H}=d,{bm:U,m:te,parent:Y,root:xe,type:de}=c,Ie=ct(d);if(it(c,!1),U&&_t(U),!Ie&&(I=H&&H.onVnodeBeforeMount)&&Se(I,Y,d),it(c,!0),N&&Xs){const Ce=()=>{c.subTree=Qn(c),Xs(N,c.subTree,c,m,null)};Ie&&de.__asyncHydrate?de.__asyncHydrate(N,c,Ce):Ce()}else{xe.ce&&xe.ce._injectChildStyle(de);const Ce=c.subTree=Qn(c);P(null,Ce,g,v,c,m,b),d.el=Ce.el}if(te&&le(te,m),!Ie&&(I=H&&H.onVnodeMounted)){const Ce=d;le(()=>Se(I,Y,Ce),m)}(d.shapeFlag&256||Y&&ct(Y.vnode)&&Y.vnode.shapeFlag&256)&&c.a&&le(c.a,m),c.isMounted=!0,d=g=v=null}};c.scope.on();const T=c.effect=new Yr(E);c.scope.off();const x=c.update=T.run.bind(T),B=c.job=T.runIfDirty.bind(T);B.i=c,B.id=c.uid,T.scheduler=()=>Ls(B),it(c,!0),x()},Q=(c,d,g)=>{d.component=c;const v=c.vnode.props;c.vnode=d,c.next=null,Hl(c,d.props,v,g),Ul(c,d.children,g),et(),cr(c),tt()},ee=(c,d,g,v,m,b,A,E,T=!1)=>{const x=c&&c.children,B=c?c.shapeFlag:0,I=d.children,{patchFlag:N,shapeFlag:H}=d;if(N>0){if(N&128){Zt(x,I,g,v,m,b,A,E,T);return}else if(N&256){nt(x,I,g,v,m,b,A,E,T);return}}H&8?(B&16&&It(x,m,b),I!==x&&u(g,I)):B&16?H&16?Zt(x,I,g,v,m,b,A,E,T):It(x,m,b,!0):(B&8&&u(g,""),H&16&&K(I,g,v,m,b,A,E,T))},nt=(c,d,g,v,m,b,A,E,T)=>{c=c||gt,d=d||gt;const x=c.length,B=d.length,I=Math.min(x,B);let N;for(N=0;N<I;N++){const H=d[N]=T?Xe(d[N]):Fe(d[N]);P(c[N],H,g,null,m,b,A,E,T)}x>B?It(c,m,b,!0,!1,I):K(d,g,v,m,b,A,E,T,I)},Zt=(c,d,g,v,m,b,A,E,T)=>{let x=0;const B=d.length;let I=c.length-1,N=B-1;for(;x<=I&&x<=N;){const H=c[x],U=d[x]=T?Xe(d[x]):Fe(d[x]);if(Me(H,U))P(H,U,g,null,m,b,A,E,T);else break;x++}for(;x<=I&&x<=N;){const H=c[I],U=d[N]=T?Xe(d[N]):Fe(d[N]);if(Me(H,U))P(H,U,g,null,m,b,A,E,T);else break;I--,N--}if(x>I){if(x<=N){const H=N+1,U=H<B?d[H].el:v;for(;x<=N;)P(null,d[x]=T?Xe(d[x]):Fe(d[x]),g,U,m,b,A,E,T),x++}}else if(x>N)for(;x<=I;)De(c[x],m,b,!0),x++;else{const H=x,U=x,te=new Map;for(x=U;x<=N;x++){const Te=d[x]=T?Xe(d[x]):Fe(d[x]);Te.key!=null&&te.set(Te.key,x)}let Y,xe=0;const de=N-U+1;let Ie=!1,Ce=0;const Mt=new Array(de);for(x=0;x<de;x++)Mt[x]=0;for(x=H;x<=I;x++){const Te=c[x];if(xe>=de){De(Te,m,b,!0);continue}let Ne;if(Te.key!=null)Ne=te.get(Te.key);else for(Y=U;Y<=N;Y++)if(Mt[Y-U]===0&&Me(Te,d[Y])){Ne=Y;break}Ne===void 0?De(Te,m,b,!0):(Mt[Ne-U]=x+1,Ne>=Ce?Ce=Ne:Ie=!0,P(Te,d[Ne],g,null,m,b,A,E,T),xe++)}const Qs=Ie?Jl(Mt):gt;for(Y=Qs.length-1,x=de-1;x>=0;x--){const Te=U+x,Ne=d[Te],er=Te+1<B?d[Te+1].el:v;Mt[x]===0?P(null,Ne,g,er,m,b,A,E,T):Ie&&(Y<0||x!==Qs[Y]?st(Ne,g,er,2):Y--)}}},st=(c,d,g,v,m=null)=>{const{el:b,type:A,transition:E,children:T,shapeFlag:x}=c;if(x&6){st(c.component.subTree,d,g,v);return}if(x&128){c.suspense.move(d,g,v);return}if(x&64){A.move(c,d,g,Ft);return}if(A===ye){s(b,d,g);for(let I=0;I<T.length;I++)st(T[I],d,g,v);s(c.anchor,d,g);return}if(A===Ht){F(c,d,g);return}if(v!==2&&x&1&&E)if(v===0)E.beforeEnter(b),s(b,d,g),le(()=>E.enter(b),m);else{const{leave:I,delayLeave:N,afterLeave:H}=E,U=()=>s(b,d,g),te=()=>{I(b,()=>{U(),H&&H()})};N?N(b,U,te):te()}else s(b,d,g)},De=(c,d,g,v=!1,m=!1)=>{const{type:b,props:A,ref:E,children:T,dynamicChildren:x,shapeFlag:B,patchFlag:I,dirs:N,cacheIndex:H}=c;if(I===-2&&(m=!1),E!=null&&fs(E,null,g,c,!0),H!=null&&(d.renderCache[H]=void 0),B&256){d.ctx.deactivate(c);return}const U=B&1&&N,te=!ct(c);let Y;if(te&&(Y=A&&A.onVnodeBeforeUnmount)&&Se(Y,d,c),B&6)po(c.component,g,v);else{if(B&128){c.suspense.unmount(g,v);return}U&&rt(c,null,d,"beforeUnmount"),B&64?c.type.remove(c,d,g,Ft,v):x&&!x.hasOnce&&(b!==ye||I>0&&I&64)?It(x,d,g,!1,!0):(b===ye&&I&384||!m&&B&16)&&It(T,d,g),v&&Ys(c)}(te&&(Y=A&&A.onVnodeUnmounted)||U)&&le(()=>{Y&&Se(Y,d,c),U&&rt(c,null,d,"unmounted")},g)},Ys=c=>{const{type:d,el:g,anchor:v,transition:m}=c;if(d===ye){ho(g,v);return}if(d===Ht){y(c);return}const b=()=>{r(g),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:A,delayLeave:E}=m,T=()=>A(g,b);E?E(c.el,b,T):T()}else b()},ho=(c,d)=>{let g;for(;c!==d;)g=p(c),r(c),c=g;r(d)},po=(c,d,g)=>{const{bum:v,scope:m,job:b,subTree:A,um:E,m:T,a:x}=c;vn(T),vn(x),v&&_t(v),m.stop(),b&&(b.flags|=8,De(A,c,d,g)),E&&le(E,d),le(()=>{c.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},It=(c,d,g,v=!1,m=!1,b=0)=>{for(let A=b;A<c.length;A++)De(c[A],d,g,v,m)},Xt=c=>{if(c.shapeFlag&6)return Xt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const d=p(c.anchor||c.el),g=d&&d[yi];return g?p(g):d};let Un=!1;const zs=(c,d,g)=>{c==null?d._vnode&&De(d._vnode,null,null,!0):P(d._vnode||null,c,d,null,null,null,g),d._vnode=c,Un||(Un=!0,cr(),gi(),Un=!1)},Ft={p:P,um:De,m:st,r:Ys,mt:re,mc:K,pc:ee,pbc:L,n:Xt,o:e};let Zs,Xs;return{render:zs,hydrate:Zs,createApp:Bl(zs,Zs)}}function Xn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function it({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ql(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ws(e,t,n=!1){const s=e.children,r=t.children;if(D(s)&&D(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Xe(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Ws(o,l)),l.type===jn&&(l.el=o.el)}}function Jl(e){const t=e.slice(),n=[0];let s,r,i,o,l;const f=e.length;for(s=0;s<f;s++){const h=e[s];if(h!==0){if(r=n[n.length-1],e[r]<h){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<h?i=l+1:o=l;h<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Ki(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ki(t)}function vn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Yl=Symbol.for("v-scx"),zl=()=>an(Yl);function Ac(e,t){return zt(e,null,t)}function Zl(e,t){return zt(e,null,{flush:"post"})}function Xl(e,t){return zt(e,null,{flush:"sync"})}function dn(e,t,n){return zt(e,t,n)}function zt(e,t,n=J){const{immediate:s,deep:r,flush:i,once:o}=n,l=ie({},n);let f;if(Kn)if(i==="sync"){const p=zl();f=p.__watcherHandles||(p.__watcherHandles=[])}else if(!t||s)l.once=!0;else return{stop:Be,resume:Be,pause:Be};const h=ce;l.call=(p,_,C)=>Re(p,h,_,C);let u=!1;i==="post"?l.scheduler=p=>{le(p,h&&h.suspense)}:i!=="sync"&&(u=!0,l.scheduler=(p,_)=>{_?p():Ls(p)}),l.augmentJob=p=>{t&&(p.flags|=4),u&&(p.flags|=2,h&&(p.id=h.uid,p.i=h))};const a=ul(e,t,l);return f&&f.push(a),a}function Ql(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?ki(s,e):()=>s[e]:e.bind(s,s);let i;$(t)?i=t:(i=t.handler,n=t);const o=dt(this),l=zt(r,i.bind(s),n);return o(),l}function ki(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function Ic(e,t,n=J){const s=At(),r=Ae(t),i=We(t),o=Ui(e,t),l=rl((f,h)=>{let u,a=J,p;return Xl(()=>{const _=e[t];be(u,_)&&(u=_,h())}),{get(){return f(),n.get?n.get(u):u},set(_){const C=n.set?n.set(_):_;if(!be(C,u)&&!(a!==J&&be(_,a)))return;const P=s.vnode.props;P&&(t in P||r in P||i in P)&&(`onUpdate:${t}`in P||`onUpdate:${r}`in P||`onUpdate:${i}`in P)||(u=_,h()),s.emit(`update:${t}`,C),be(_,C)&&be(_,a)&&!be(C,p)&&h(),a=_,p=C}}});return l[Symbol.iterator]=()=>{let f=0;return{next(){return f<2?{value:f++?o||J:l,done:!1}:{done:!0}}}},l}const Ui=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ae(t)}Modifiers`]||e[`${We(t)}Modifiers`];function ef(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||J;let r=n;const i=t.startsWith("update:"),o=i&&Ui(s,t.slice(7));o&&(o.trim&&(r=n.map(u=>ne(u)?u.trim():u)),o.number&&(r=n.map(xo)));let l,f=s[l=cn(t)]||s[l=cn(Ae(t))];!f&&i&&(f=s[l=cn(We(t))]),f&&Re(f,e,6,r);const h=s[l+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Re(h,e,6,r)}}function Wi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!$(e)){const f=h=>{const u=Wi(h,t,!0);u&&(l=!0,ie(o,u))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!l?(Z(e)&&s.set(e,null),null):(D(i)?i.forEach(f=>o[f]=null):ie(o,i),Z(e)&&s.set(e,o),o)}function Hn(e,t){return!e||!In(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,We(t))||z(e,t))}function Qn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:f,render:h,renderCache:u,props:a,data:p,setupState:_,ctx:C,inheritAttrs:P}=e,W=_n(e);let V,S;try{if(n.shapeFlag&4){const y=r||s,w=y;V=Fe(h.call(w,y,u,a,_,p,C)),S=l}else{const y=t;V=Fe(y.length>1?y(a,{attrs:l,slots:o,emit:f}):y(a,null)),S=t.props?l:nf(l)}}catch(y){jt.length=0,Yt(y,e,1),V=ae(fe)}let F=V;if(S&&P!==!1){const y=Object.keys(S),{shapeFlag:w}=F;y.length&&w&7&&(i&&y.some(Cs)&&(S=sf(S,i)),F=Ue(F,S,!1,!0))}return n.dirs&&(F=Ue(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&Qe(F,n.transition),V=F,_n(W),V}function tf(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(wt(r)){if(r.type!==fe||r.children==="v-if"){if(n)return;n=r}}else return}return n}const nf=e=>{let t;for(const n in e)(n==="class"||n==="style"||In(n))&&((t||(t={}))[n]=e[n]);return t},sf=(e,t)=>{const n={};for(const s in e)(!Cs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function rf(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:f}=t,h=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?yr(s,o,h):!!o;if(f&8){const u=t.dynamicProps;for(let a=0;a<u.length;a++){const p=u[a];if(o[p]!==s[p]&&!Hn(h,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?yr(s,o,h):!0:!!o;return!1}function yr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Hn(n,i))return!0}return!1}function Gs({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const xn=e=>e.__isSuspense;let hs=0;const of={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,i,o,l,f,h){if(e==null)lf(t,n,s,r,i,o,l,f,h);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ff(e,t,n,s,r,o,l,f,h)}},hydrate:cf,normalize:uf},Fc=of;function qt(e,t){const n=e.props&&e.props[t];$(n)&&n()}function lf(e,t,n,s,r,i,o,l,f){const{p:h,o:{createElement:u}}=f,a=u("div"),p=e.suspense=Gi(e,r,s,t,a,n,i,o,l,f);h(null,p.pendingBranch=e.ssContent,a,null,s,p,i,o),p.deps>0?(qt(e,"onPending"),qt(e,"onFallback"),h(null,e.ssFallback,t,n,s,null,i,o),vt(p,e.ssFallback)):p.resolve(!1,!0)}function ff(e,t,n,s,r,i,o,l,{p:f,um:h,o:{createElement:u}}){const a=t.suspense=e.suspense;a.vnode=t,t.el=e.el;const p=t.ssContent,_=t.ssFallback,{activeBranch:C,pendingBranch:P,isInFallback:W,isHydrating:V}=a;if(P)a.pendingBranch=p,Me(p,P)?(f(P,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0?a.resolve():W&&(V||(f(C,_,n,s,r,null,i,o,l),vt(a,_)))):(a.pendingId=hs++,V?(a.isHydrating=!1,a.activeBranch=P):h(P,r,a),a.deps=0,a.effects.length=0,a.hiddenContainer=u("div"),W?(f(null,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0?a.resolve():(f(C,_,n,s,r,null,i,o,l),vt(a,_))):C&&Me(p,C)?(f(C,p,n,s,r,a,i,o,l),a.resolve(!0)):(f(null,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0&&a.resolve()));else if(C&&Me(p,C))f(C,p,n,s,r,a,i,o,l),vt(a,p);else if(qt(t,"onPending"),a.pendingBranch=p,p.shapeFlag&512?a.pendingId=p.component.suspenseId:a.pendingId=hs++,f(null,p,a.hiddenContainer,null,r,a,i,o,l),a.deps<=0)a.resolve();else{const{timeout:S,pendingId:F}=a;S>0?setTimeout(()=>{a.pendingId===F&&a.fallback(_)},S):S===0&&a.fallback(_)}}function Gi(e,t,n,s,r,i,o,l,f,h,u=!1){const{p:a,m:p,um:_,n:C,o:{parentNode:P,remove:W}}=h;let V;const S=df(e);S&&t&&t.pendingBranch&&(V=t.pendingId,t.deps++);const F=e.props?Kr(e.props.timeout):void 0,y=i,w={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:r,deps:0,pendingId:hs++,timeout:typeof F=="number"?F:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(R=!1,j=!1){const{vnode:K,activeBranch:O,pendingBranch:L,pendingId:k,effects:M,parentComponent:q,container:re}=w;let we=!1;w.isHydrating?w.isHydrating=!1:R||(we=O&&L.transition&&L.transition.mode==="out-in",we&&(O.transition.afterLeave=()=>{k===w.pendingId&&(p(L,re,i===y?C(O):i,0),os(M))}),O&&(P(O.el)===re&&(i=C(O)),_(O,q,w,!0)),we||p(L,re,i,0)),vt(w,L),w.pendingBranch=null,w.isInFallback=!1;let se=w.parent,Q=!1;for(;se;){if(se.pendingBranch){se.effects.push(...M),Q=!0;break}se=se.parent}!Q&&!we&&os(M),w.effects=[],S&&t&&t.pendingBranch&&V===t.pendingId&&(t.deps--,t.deps===0&&!j&&t.resolve()),qt(K,"onResolve")},fallback(R){if(!w.pendingBranch)return;const{vnode:j,activeBranch:K,parentComponent:O,container:L,namespace:k}=w;qt(j,"onFallback");const M=C(K),q=()=>{w.isInFallback&&(a(null,R,L,M,O,null,k,l,f),vt(w,R))},re=R.transition&&R.transition.mode==="out-in";re&&(K.transition.afterLeave=q),w.isInFallback=!0,_(K,O,null,!0),re||q()},move(R,j,K){w.activeBranch&&p(w.activeBranch,R,j,K),w.container=R},next(){return w.activeBranch&&C(w.activeBranch)},registerDep(R,j,K){const O=!!w.pendingBranch;O&&w.deps++;const L=R.vnode.el;R.asyncDep.catch(k=>{Yt(k,R,0)}).then(k=>{if(R.isUnmounted||w.isUnmounted||w.pendingId!==R.suspenseId)return;R.asyncResolved=!0;const{vnode:M}=R;_s(R,k,!1),L&&(M.el=L);const q=!L&&R.subTree.el;j(R,M,P(L||R.subTree.el),L?null:C(R.subTree),w,o,K),q&&W(q),Gs(R,M.el),O&&--w.deps===0&&w.resolve()})},unmount(R,j){w.isUnmounted=!0,w.activeBranch&&_(w.activeBranch,n,R,j),w.pendingBranch&&_(w.pendingBranch,n,R,j)}};return w}function cf(e,t,n,s,r,i,o,l,f){const h=t.suspense=Gi(t,s,n,e.parentNode,document.createElement("div"),null,r,i,o,l,!0),u=f(e,h.pendingBranch=t.ssContent,n,h,i,o);return h.deps===0&&h.resolve(!1,!0),u}function uf(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=br(s?n.default:n),e.ssFallback=s?br(n.fallback):ae(fe)}function br(e){let t;if($(e)){const n=Tt&&e._c;n&&(e._d=!1,Cn()),e=e(),n&&(e._d=!0,t=ve,qi())}return D(e)&&(e=tf(e)),e=Fe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function af(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):os(e)}function vt(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Gs(s,r))}function df(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ye=Symbol.for("v-fgt"),jn=Symbol.for("v-txt"),fe=Symbol.for("v-cmt"),Ht=Symbol.for("v-stc"),jt=[];let ve=null;function Cn(e=!1){jt.push(ve=e?null:[])}function qi(){jt.pop(),ve=jt[jt.length-1]||null}let Tt=1;function vr(e){Tt+=e,e<0&&ve&&(ve.hasOnce=!0)}function Ji(e){return e.dynamicChildren=Tt>0?ve||gt:null,qi(),Tt>0&&ve&&ve.push(e),e}function Mc(e,t,n,s,r,i){return Ji(zi(e,t,n,s,r,i,!0))}function ps(e,t,n,s,r){return Ji(ae(e,t,n,s,r,!0))}function wt(e){return e?e.__v_isVNode===!0:!1}function Me(e,t){return e.type===t.type&&e.key===t.key}const Yi=({key:e})=>e??null,hn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||ue(e)||$(e)?{i:oe,r:e,k:t,f:!!n}:e:null);function zi(e,t=null,n=null,s=0,r=null,i=e===ye?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yi(t),ref:t&&hn(t),scopeId:_i,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:oe};return l?(qs(f,n),i&128&&e.normalize(f)):n&&(f.shapeFlag|=ne(n)?8:16),Tt>0&&!o&&ve&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&ve.push(f),f}const ae=hf;function hf(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Fi)&&(e=fe),wt(e)){const l=Ue(e,t,!0);return n&&qs(l,n),Tt>0&&!i&&ve&&(l.shapeFlag&6?ve[ve.indexOf(e)]=l:ve.push(l)),l.patchFlag=-2,l}if(wf(e)&&(e=e.__vccOpts),t){t=pf(t);let{class:l,style:f}=t;l&&!ne(l)&&(t.class=Rn(l)),Z(f)&&(Rs(f)&&!D(f)&&(f=ie({},f)),t.style=Pn(f))}const o=ne(e)?1:xn(e)?128:bi(e)?64:Z(e)?4:$(e)?2:0;return zi(e,t,n,s,r,o,i,!0)}function pf(e){return e?Rs(e)||Ni(e)?ie({},e):e:null}function Ue(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:f}=e,h=t?mf(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Yi(h),ref:t&&t.ref?n&&i?D(i)?i.concat(hn(t)):[i,hn(t)]:hn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ye?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ue(e.ssContent),ssFallback:e.ssFallback&&Ue(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&s&&Qe(u,f.clone(u)),u}function gf(e=" ",t=0){return ae(jn,null,e,t)}function Oc(e,t){const n=ae(Ht,null,e);return n.staticCount=t,n}function Pc(e="",t=!1){return t?(Cn(),ps(fe,null,e)):ae(fe,null,e)}function Fe(e){return e==null||typeof e=="boolean"?ae(fe):D(e)?ae(ye,null,e.slice()):typeof e=="object"?Xe(e):ae(jn,null,String(e))}function Xe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ue(e)}function qs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),qs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ni(t)?t._ctx=oe:r===3&&oe&&(oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:oe},n=32):(t=String(t),s&64?(n=16,t=[gf(t)]):n=8);e.children=t,e.shapeFlag|=n}function mf(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Rn([t.class,s.class]));else if(r==="style")t.style=Pn([t.style,s.style]);else if(In(r)){const i=t[r],o=s[r];o&&i!==o&&!(D(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Se(e,t,n,s=null){Re(e,t,7,[n,s])}const _f=Pi();let yf=0;function bf(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||_f,i={uid:yf++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Jr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bi(s,r),emitsOptions:Wi(s,r),emit:null,emitted:null,propsDefaults:J,inheritAttrs:s.inheritAttrs,ctx:J,data:J,props:J,attrs:J,slots:J,refs:J,setupState:J,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=ef.bind(null,i),e.ce&&e.ce(i),i}let ce=null;const At=()=>ce||oe;let Tn,gs;{const e=kr(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Tn=t("__VUE_INSTANCE_SETTERS__",n=>ce=n),gs=t("__VUE_SSR_SETTERS__",n=>Kn=n)}const dt=e=>{const t=ce;return Tn(e),e.scope.on(),()=>{e.scope.off(),Tn(t)}},ms=()=>{ce&&ce.scope.off(),Tn(null)};function Zi(e){return e.vnode.shapeFlag&4}let Kn=!1;function vf(e,t=!1,n=!1){t&&gs(t);const{props:s,children:r}=e.vnode,i=Zi(e);Vl(e,s,i,t),kl(e,r,n);const o=i?xf(e,t):void 0;return t&&gs(!1),o}function xf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ml);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Tf(e):null,i=dt(e);et();const o=Jt(s,e,0,[e.props,r]);if(tt(),i(),ws(o)){if(ct(e)||Si(e),o.then(ms,ms),t)return o.then(l=>{_s(e,l,t)}).catch(l=>{Yt(l,e,0)});e.asyncDep=o}else _s(e,o,t)}else Xi(e,t)}function _s(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=ai(t)),Xi(e,n)}let xr;function Xi(e,t,n){const s=e.type;if(!e.render){if(!t&&xr&&!s.render){const r=s.template||ks(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:f}=s,h=ie(ie({isCustomElement:i,delimiters:l},o),f);s.render=xr(r,h)}}e.render=s.render||Be}{const r=dt(e);et();try{Ol(e)}finally{tt(),r()}}}const Cf={get(e,t){return pe(e,"get",""),e[t]}};function Tf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Cf),slots:e.slots,emit:e.emit,expose:t}}function kn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ai(Qo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vt)return Vt[n](e)},has(t,n){return n in t||n in Vt}})):e.proxy}function ys(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function wf(e){return $(e)&&"__vccOpts"in e}const Ef=(e,t)=>fl(e,t,Kn);function Sf(e,t,n){const s=arguments.length;return s===2?Z(t)&&!D(t)?wt(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&wt(n)&&(n=[n]),ae(e,t,n))}const Af="3.5.3";/**
14
+ * @vue/runtime-dom v3.5.3
15
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
+ * @license MIT
17
+ **/let bs;const Cr=typeof window<"u"&&window.trustedTypes;if(Cr)try{bs=Cr.createPolicy("vue",{createHTML:e=>e})}catch{}const Qi=bs?e=>bs.createHTML(e):e=>e,If="http://www.w3.org/2000/svg",Ff="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,Tr=je&&je.createElement("template"),Mf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?je.createElementNS(If,e):t==="mathml"?je.createElementNS(Ff,e):n?je.createElement(e,{is:n}):je.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Tr.innerHTML=Qi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Tr.content;if(s==="svg"||s==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Je="transition",Pt="animation",Et=Symbol("_vtc"),eo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},to=ie({},Ci,eo),Of=e=>(e.displayName="Transition",e.props=to,e),Rc=Of((e,{slots:t})=>Sf(bl,no(e),t)),ot=(e,t=[])=>{D(e)?e.forEach(n=>n(...t)):e&&e(...t)},wr=e=>e?D(e)?e.some(t=>t.length>1):e.length>1:!1;function no(e){const t={};for(const M in e)M in eo||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:f=i,appearActiveClass:h=o,appearToClass:u=l,leaveFromClass:a=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,C=Pf(r),P=C&&C[0],W=C&&C[1],{onBeforeEnter:V,onEnter:S,onEnterCancelled:F,onLeave:y,onLeaveCancelled:w,onBeforeAppear:R=V,onAppear:j=S,onAppearCancelled:K=F}=t,O=(M,q,re)=>{Ye(M,q?u:l),Ye(M,q?h:o),re&&re()},L=(M,q)=>{M._isLeaving=!1,Ye(M,a),Ye(M,_),Ye(M,p),q&&q()},k=M=>(q,re)=>{const we=M?j:S,se=()=>O(q,M,re);ot(we,[q,se]),Er(()=>{Ye(q,M?f:i),He(q,M?u:l),wr(we)||Sr(q,s,P,se)})};return ie(t,{onBeforeEnter(M){ot(V,[M]),He(M,i),He(M,o)},onBeforeAppear(M){ot(R,[M]),He(M,f),He(M,h)},onEnter:k(!1),onAppear:k(!0),onLeave(M,q){M._isLeaving=!0;const re=()=>L(M,q);He(M,a),He(M,p),ro(),Er(()=>{M._isLeaving&&(Ye(M,a),He(M,_),wr(y)||Sr(M,s,W,re))}),ot(y,[M,re])},onEnterCancelled(M){O(M,!1),ot(F,[M])},onAppearCancelled(M){O(M,!0),ot(K,[M])},onLeaveCancelled(M){L(M),ot(w,[M])}})}function Pf(e){if(e==null)return null;if(Z(e))return[es(e.enter),es(e.leave)];{const t=es(e);return[t,t]}}function es(e){return Kr(e)}function He(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Et]||(e[Et]=new Set)).add(t)}function Ye(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Et];n&&(n.delete(t),n.size||(e[Et]=void 0))}function Er(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rf=0;function Sr(e,t,n,s){const r=e._endId=++Rf,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:f}=so(e,t);if(!o)return s();const h=o+"end";let u=0;const a=()=>{e.removeEventListener(h,p),i()},p=_=>{_.target===e&&++u>=f&&a()};setTimeout(()=>{u<f&&a()},l+1),e.addEventListener(h,p)}function so(e,t){const n=window.getComputedStyle(e),s=C=>(n[C]||"").split(", "),r=s(`${Je}Delay`),i=s(`${Je}Duration`),o=Ar(r,i),l=s(`${Pt}Delay`),f=s(`${Pt}Duration`),h=Ar(l,f);let u=null,a=0,p=0;t===Je?o>0&&(u=Je,a=o,p=i.length):t===Pt?h>0&&(u=Pt,a=h,p=f.length):(a=Math.max(o,h),u=a>0?o>h?Je:Pt:null,p=u?u===Je?i.length:f.length:0);const _=u===Je&&/\b(transform|all)(,|$)/.test(s(`${Je}Property`).toString());return{type:u,timeout:a,propCount:p,hasTransform:_}}function Ar(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ir(n)+Ir(e[s])))}function Ir(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ro(){return document.body.offsetHeight}function Df(e,t,n){const s=e[Et];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wn=Symbol("_vod"),io=Symbol("_vsh"),Dc={beforeMount(e,{value:t},{transition:n}){e[wn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Rt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Rt(e,!0),s.enter(e)):s.leave(e,()=>{Rt(e,!1)}):Rt(e,t))},beforeUnmount(e,{value:t}){Rt(e,t)}};function Rt(e,t){e.style.display=t?e[wn]:"none",e[io]=!t}const oo=Symbol("");function Nc(e){const t=At();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>En(i,r))},s=()=>{const r=e(t.proxy);t.ce?En(t.ce,r):vs(t.subTree,r),n(r)};Ii(()=>{Zl(s)}),Vn(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Hs(()=>r.disconnect())})}function vs(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{vs(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)En(e.el,t);else if(e.type===ye)e.children.forEach(n=>vs(n,t));else if(e.type===Ht){let{el:n,anchor:s}=e;for(;n&&(En(n,t),n!==s);)n=n.nextSibling}}function En(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[oo]=s}}const Nf=/(^|;)\s*display\s*:/;function Lf(e,t,n){const s=e.style,r=ne(n);let i=!1;if(n&&!r){if(t)if(ne(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&pn(s,l,"")}else for(const o in t)n[o]==null&&pn(s,o,"");for(const o in n)o==="display"&&(i=!0),pn(s,o,n[o])}else if(r){if(t!==n){const o=s[oo];o&&(n+=";"+o),s.cssText=n,i=Nf.test(n)}}else t&&e.removeAttribute("style");wn in e&&(e[wn]=i?s.display:"",e[io]&&(s.display="none"))}const Fr=/\s*!important$/;function pn(e,t,n){if(D(n))n.forEach(s=>pn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Bf(e,t);Fr.test(n)?e.setProperty(We(s),n.replace(Fr,""),"important"):e[s]=n}}const Mr=["Webkit","Moz","ms"],ts={};function Bf(e,t){const n=ts[t];if(n)return n;let s=Ae(t);if(s!=="filter"&&s in e)return ts[t]=s;s=On(s);for(let r=0;r<Mr.length;r++){const i=Mr[r]+s;if(i in e)return ts[t]=i}return t}const Or="http://www.w3.org/1999/xlink";function Pr(e,t,n,s,r,i=Ao(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Or,t.slice(6,t.length)):e.setAttributeNS(Or,t,n):n==null||i&&!Ur(n)?e.removeAttribute(t):e.setAttribute(t,i?"":$e(n)?String(n):n)}function $f(e,t,n,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Qi(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const o=r==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(o!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const o=typeof e[t];o==="boolean"?n=Ur(n):n==null&&o==="string"?(n="",i=!0):o==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function Js(e,t,n,s){e.addEventListener(t,n,s)}function Vf(e,t,n,s){e.removeEventListener(t,n,s)}const Rr=Symbol("_vei");function Hf(e,t,n,s,r=null){const i=e[Rr]||(e[Rr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,f]=jf(t);if(s){const h=i[t]=Uf(s,r);Js(e,l,h,f)}else o&&(Vf(e,l,o,f),i[t]=void 0)}}const Dr=/(?:Once|Passive|Capture)$/;function jf(e){let t;if(Dr.test(e)){t={};let s;for(;s=e.match(Dr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):We(e.slice(2)),t]}let ns=0;const Kf=Promise.resolve(),kf=()=>ns||(Kf.then(()=>ns=0),ns=Date.now());function Uf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Re(Wf(s,n.value),t,5,[s])};return n.value=e,n.attached=kf(),n}function Wf(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Nr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Gf=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Df(e,s,o):t==="style"?Lf(e,n,s):In(t)?Cs(t)||Hf(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qf(e,t,s,o))?($f(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pr(e,t,s,o,i,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Pr(e,t,s,o))};function qf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Nr(t)&&$(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Nr(t)&&ne(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!ne(n)))}const lo=new WeakMap,fo=new WeakMap,Sn=Symbol("_moveCb"),Lr=Symbol("_enterCb"),Jf=e=>(delete e.props.mode,e),Yf=Jf({name:"TransitionGroup",props:ie({},to,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=At(),s=xi();let r,i;return $s(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Qf(r[0].el,n.vnode.el,o))return;r.forEach(zf),r.forEach(Zf);const l=r.filter(Xf);ro(),l.forEach(f=>{const h=f.el,u=h.style;He(h,o),u.transform=u.webkitTransform=u.transitionDuration="";const a=h[Sn]=p=>{p&&p.target!==h||(!p||/transform$/.test(p.propertyName))&&(h.removeEventListener("transitionend",a),h[Sn]=null,Ye(h,o))};h.addEventListener("transitionend",a)})}),()=>{const o=G(e),l=no(o);let f=o.tag||ye;if(r=[],i)for(let h=0;h<i.length;h++){const u=i[h];u.el&&u.el instanceof Element&&(r.push(u),Qe(u,Gt(u,l,s,n)),lo.set(u,u.el.getBoundingClientRect()))}i=t.default?Bs(t.default()):[];for(let h=0;h<i.length;h++){const u=i[h];u.key!=null&&Qe(u,Gt(u,l,s,n))}return ae(f,null,i)}}}),Lc=Yf;function zf(e){const t=e.el;t[Sn]&&t[Sn](),t[Lr]&&t[Lr]()}function Zf(e){fo.set(e,e.el.getBoundingClientRect())}function Xf(e){const t=lo.get(e),n=fo.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function Qf(e,t,n){const s=e.cloneNode(),r=e[Et];r&&r.forEach(l=>{l.split(/\s+/).forEach(f=>f&&s.classList.remove(f))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=so(s);return i.removeChild(s),o}const An=e=>{const t=e.props["onUpdate:modelValue"]||!1;return D(t)?n=>_t(t,n):t},xt=Symbol("_assign"),Bc={deep:!0,created(e,t,n){e[xt]=An(n),Js(e,"change",()=>{const s=e._modelValue,r=co(e),i=e.checked,o=e[xt];if(D(s)){const l=Wr(s,r),f=l!==-1;if(i&&!f)o(s.concat(r));else if(!i&&f){const h=[...s];h.splice(l,1),o(h)}}else if(Fn(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(uo(e,i))})},mounted:Br,beforeUpdate(e,t,n){e[xt]=An(n),Br(e,t,n)}};function Br(e,{value:t,oldValue:n},s){e._modelValue=t;let r;D(t)?r=Wr(t,s.props.value)>-1:Fn(t)?r=t.has(s.props.value):r=Ct(t,uo(e,!0)),e.checked!==r&&(e.checked=r)}const $c={created(e,{value:t},n){e.checked=Ct(t,n.props.value),e[xt]=An(n),Js(e,"change",()=>{e[xt](co(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[xt]=An(s),t!==n&&(e.checked=Ct(t,s.props.value))}};function co(e){return"_value"in e?e._value:e.value}function uo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ec=["ctrl","shift","alt","meta"],tc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ec.some(n=>e[`${n}Key`]&&!t.includes(n))},Vc=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=tc[t[o]];if(l&&l(r,t))return}return e(r,...i)})},nc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Hc=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=We(r.key);if(t.some(o=>o===i||nc[o]===i))return e(r)})},sc=ie({patchProp:Gf},Mf);let $r;function ao(){return $r||($r=Wl(sc))}const jc=(...e)=>{ao().render(...e)},Kc=(...e)=>{const t=ao().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ic(s);if(!r)return;const i=t._component;!$(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,rc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function rc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ic(e){return ne(e)?document.querySelector(e):e}export{Sf as $,dc as A,fi as B,At as C,cc as D,Os as E,Ac as F,gc as G,Qo as H,yt as I,G as J,_c as K,oc as L,pf as M,ae as N,ye as O,ps as P,$l as Q,vc as R,pl as S,yc as T,Fo as U,Hs as V,gf as W,Rc as X,Pn as Y,bc as Z,Tc as _,an as a,uc as a0,Vs as a1,jn as a2,Ii as a3,wt as a4,Kc as a5,Ue as a6,fe as a7,On as a8,Ae as a9,Lc as aa,$s as ab,Cl as ac,xl as ad,pc as ae,jc as af,wl as ag,Rs as ah,wc as ai,Ic as aj,Bc as ak,Nc as al,Oc as am,$c as an,mc as ao,Fc as ap,xc as aq,Ec as ar,Cn as b,Ef as c,Mc as d,hc as e,zi as f,Rn as g,Sc as h,ue as i,Cc as j,Pc as k,Hc as l,mf as m,dl as n,fc as o,Vc as p,rl as q,el as r,Xo as s,ac as t,ui as u,Dc as v,dn as w,Vn as x,Mo as y,lc as z};
@@ -1 +1 @@
1
- import{t as v,c as b,e as S,f as V,g as D,v as B,j as p,k as y,l as w,m as C,p as N,q as j,s as T}from"./@vue.CvjRlaU6.0.0.30-alpha.0.js";var L={name:"Toggle",emits:["input","update:modelValue","change"],props:{value:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},modelValue:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},id:{type:[String,Number],required:!1,default:"toggle"},name:{type:[String,Number],required:!1,default:"toggle"},disabled:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!1},falseValue:{type:[String,Number,Boolean],required:!1,default:!1},trueValue:{type:[String,Number,Boolean],required:!1,default:!0},onLabel:{type:[String,Object],required:!1,default:""},offLabel:{type:[String,Object],required:!1,default:""},classes:{type:Object,required:!1,default:()=>({})},labelledby:{type:String,required:!1},describedby:{type:String,required:!1},aria:{required:!1,type:Object,default:()=>({})}},setup(e,n){const a=function(d,o,c){const{value:r,modelValue:u,falseValue:t,trueValue:l,disabled:f}=v(d),i=u&&u.value!==void 0?u:r,s=b(()=>i.value===l.value),h=g=>{o.emit("input",g),o.emit("update:modelValue",g),o.emit("change",g)},k=()=>{h(l.value)},m=()=>{h(t.value)};return[null,void 0,!1,0,"0","off"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&m(),[!0,1,"1","on"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&k(),{externalValue:i,checked:s,update:h,check:k,uncheck:m,handleInput:g=>{h(g.target.checked?l.value:t.value)},handleClick:()=>{f.value||(s.value?m():k())}}}(e,n),O=function(d,o,c){const{trueValue:r,falseValue:u,onLabel:t,offLabel:l}=v(d),f=c.checked,i=c.update;return{label:b(()=>{let s=f.value?t.value:l.value;return s||(s="&nbsp;"),s}),toggle:()=>{i(f.value?u.value:r.value)},on:()=>{i(r.value)},off:()=>{i(u.value)}}}(e,0,{checked:a.checked,update:a.update}),q=function(d,o,c){const r=v(d),u=r.disabled,t=c.checked,l=b(()=>({container:"toggle-container",toggle:"toggle",toggleOn:"toggle-on",toggleOff:"toggle-off",toggleOnDisabled:"toggle-on-disabled",toggleOffDisabled:"toggle-off-disabled",handle:"toggle-handle",handleOn:"toggle-handle-on",handleOff:"toggle-handle-off",handleOnDisabled:"toggle-handle-on-disabled",handleOffDisabled:"toggle-handle-off-disabled",label:"toggle-label",...r.classes.value}));return{classList:b(()=>({container:l.value.container,toggle:[l.value.toggle,u.value?t.value?l.value.toggleOnDisabled:l.value.toggleOffDisabled:t.value?l.value.toggleOn:l.value.toggleOff],handle:[l.value.handle,u.value?t.value?l.value.handleOnDisabled:l.value.handleOffDisabled:t.value?l.value.handleOn:l.value.handleOff],label:l.value.label}))}}(e,0,{checked:a.checked}),x=function(d,o,c){const{disabled:r}=v(d),u=c.check,t=c.uncheck,l=c.checked;return{handleSpace:()=>{r.value||(l.value?t():u())}}}(e,0,{check:a.check,uncheck:a.uncheck,checked:a.checked});return{...a,...q,...O,...x}}};const M=["tabindex","aria-checked","aria-describedby","aria-labelledby"],z=["id","name","value","checked","disabled"],H=["innerHTML"],K=["checked"];L.render=function(e,n,a,O,q,x){return S(),V("div",N({class:e.classList.container,tabindex:a.disabled?void 0:0,"aria-checked":e.checked,"aria-describedby":a.describedby,"aria-labelledby":a.labelledby,role:"switch"},a.aria,{onKeypress:n[1]||(n[1]=j(T((...d)=>e.handleSpace&&e.handleSpace(...d),["prevent"]),["space"]))}),[D(p("input",{type:"checkbox",id:a.id,name:a.name,value:a.trueValue,checked:e.checked,disabled:a.disabled},null,8,z),[[B,!1]]),p("div",{class:y(e.classList.toggle),onClick:n[0]||(n[0]=(...d)=>e.handleClick&&e.handleClick(...d))},[p("span",{class:y(e.classList.handle)},null,2),w(e.$slots,"label",{checked:e.checked,classList:e.classList},()=>[p("span",{class:y(e.classList.label),innerHTML:e.label},null,10,H)]),a.required?(S(),V("input",{key:0,type:"checkbox",style:{appearance:"none",height:"1px",margin:"0",padding:"0",fontSize:"0",background:"transparent",position:"absolute",width:"100%",bottom:"0",outline:"none"},checked:e.checked,"aria-hidden":"true",tabindex:"-1",required:""},null,8,K)):C("v-if",!0)],2)],16,M)},L.__file="src/Toggle.vue";export{L as b};
1
+ import{t as v,c as b,b as S,d as V,e as D,v as B,f as p,g as y,j as w,k as C,m as N,l as j,p as T}from"./@vue.BeJw0wEm.0.0.30-alpha.0.js";var L={name:"Toggle",emits:["input","update:modelValue","change"],props:{value:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},modelValue:{validator:function(e){return n=>["number","string","boolean"].indexOf(typeof n)!==-1||n==null},required:!1},id:{type:[String,Number],required:!1,default:"toggle"},name:{type:[String,Number],required:!1,default:"toggle"},disabled:{type:Boolean,required:!1,default:!1},required:{type:Boolean,required:!1,default:!1},falseValue:{type:[String,Number,Boolean],required:!1,default:!1},trueValue:{type:[String,Number,Boolean],required:!1,default:!0},onLabel:{type:[String,Object],required:!1,default:""},offLabel:{type:[String,Object],required:!1,default:""},classes:{type:Object,required:!1,default:()=>({})},labelledby:{type:String,required:!1},describedby:{type:String,required:!1},aria:{required:!1,type:Object,default:()=>({})}},setup(e,n){const a=function(d,o,c){const{value:r,modelValue:u,falseValue:t,trueValue:l,disabled:f}=v(d),i=u&&u.value!==void 0?u:r,s=b(()=>i.value===l.value),h=g=>{o.emit("input",g),o.emit("update:modelValue",g),o.emit("change",g)},k=()=>{h(l.value)},m=()=>{h(t.value)};return[null,void 0,!1,0,"0","off"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&m(),[!0,1,"1","on"].indexOf(i.value)!==-1&&[t.value,l.value].indexOf(i.value)===-1&&k(),{externalValue:i,checked:s,update:h,check:k,uncheck:m,handleInput:g=>{h(g.target.checked?l.value:t.value)},handleClick:()=>{f.value||(s.value?m():k())}}}(e,n),O=function(d,o,c){const{trueValue:r,falseValue:u,onLabel:t,offLabel:l}=v(d),f=c.checked,i=c.update;return{label:b(()=>{let s=f.value?t.value:l.value;return s||(s="&nbsp;"),s}),toggle:()=>{i(f.value?u.value:r.value)},on:()=>{i(r.value)},off:()=>{i(u.value)}}}(e,0,{checked:a.checked,update:a.update}),q=function(d,o,c){const r=v(d),u=r.disabled,t=c.checked,l=b(()=>({container:"toggle-container",toggle:"toggle",toggleOn:"toggle-on",toggleOff:"toggle-off",toggleOnDisabled:"toggle-on-disabled",toggleOffDisabled:"toggle-off-disabled",handle:"toggle-handle",handleOn:"toggle-handle-on",handleOff:"toggle-handle-off",handleOnDisabled:"toggle-handle-on-disabled",handleOffDisabled:"toggle-handle-off-disabled",label:"toggle-label",...r.classes.value}));return{classList:b(()=>({container:l.value.container,toggle:[l.value.toggle,u.value?t.value?l.value.toggleOnDisabled:l.value.toggleOffDisabled:t.value?l.value.toggleOn:l.value.toggleOff],handle:[l.value.handle,u.value?t.value?l.value.handleOnDisabled:l.value.handleOffDisabled:t.value?l.value.handleOn:l.value.handleOff],label:l.value.label}))}}(e,0,{checked:a.checked}),x=function(d,o,c){const{disabled:r}=v(d),u=c.check,t=c.uncheck,l=c.checked;return{handleSpace:()=>{r.value||(l.value?t():u())}}}(e,0,{check:a.check,uncheck:a.uncheck,checked:a.checked});return{...a,...q,...O,...x}}};const M=["tabindex","aria-checked","aria-describedby","aria-labelledby"],z=["id","name","value","checked","disabled"],H=["innerHTML"],K=["checked"];L.render=function(e,n,a,O,q,x){return S(),V("div",N({class:e.classList.container,tabindex:a.disabled?void 0:0,"aria-checked":e.checked,"aria-describedby":a.describedby,"aria-labelledby":a.labelledby,role:"switch"},a.aria,{onKeypress:n[1]||(n[1]=j(T((...d)=>e.handleSpace&&e.handleSpace(...d),["prevent"]),["space"]))}),[D(p("input",{type:"checkbox",id:a.id,name:a.name,value:a.trueValue,checked:e.checked,disabled:a.disabled},null,8,z),[[B,!1]]),p("div",{class:y(e.classList.toggle),onClick:n[0]||(n[0]=(...d)=>e.handleClick&&e.handleClick(...d))},[p("span",{class:y(e.classList.handle)},null,2),w(e.$slots,"label",{checked:e.checked,classList:e.classList},()=>[p("span",{class:y(e.classList.label),innerHTML:e.label},null,10,H)]),a.required?(S(),V("input",{key:0,type:"checkbox",style:{appearance:"none",height:"1px",margin:"0",padding:"0",fontSize:"0",background:"transparent",position:"absolute",width:"100%",bottom:"0",outline:"none"},checked:e.checked,"aria-hidden":"true",tabindex:"-1",required:""},null,8,K)):C("v-if",!0)],2)],16,M)},L.__file="src/Toggle.vue";export{L as b};
@@ -1 +1 @@
1
- import{x as pe,y as he,n as we,z as ge,o as Fe,A as Le,i as ne,u as He,B as Pe,d as ye,r as h,c as A,C as Se,w as R,D as oe,b as K,E as re,F as ie}from"./@vue.CvjRlaU6.0.0.30-alpha.0.js";import{n as Y}from"./nprogress.C2KbBHcZ.0.0.30-alpha.0.js";function N(e){return ge()?(Fe(e),!0):!1}function Mt(e){let n=0,t,o;const s=()=>{n-=1,o&&n<=0&&(o.stop(),t=void 0,o=void 0)};return(...r)=>(n+=1,o||(o=Le(!0),t=o.run(()=>e(...r))),N(s),t)}function We(e,n,{enumerable:t=!1,unwrap:o=!0}={}){for(const[s,r]of Object.entries(n))s!=="value"&&(ne(r)&&o?Object.defineProperty(e,s,{get(){return r.value},set(a){r.value=a},enumerable:t}):Object.defineProperty(e,s,{value:r,enumerable:t}));return e}function Re(e,n){if(typeof Symbol<"u"){const t={...e};return Object.defineProperty(t,Symbol.iterator,{enumerable:!1,value(){let o=0;return{next:()=>({value:n[o++],done:o>n.length})}}}),t}else return Object.assign([...n],e)}function x(e){return typeof e=="function"?e():He(e)}const V=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ce=e=>e!=null,Ye=Object.prototype.toString,be=e=>Ye.call(e)==="[object Object]",W=()=>{},B=Ne();function Ne(){var e,n;return V&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function le(e,n){function t(...o){return new Promise((s,r)=>{Promise.resolve(e(()=>n.apply(this,o),{fn:n,thisArg:this,args:o})).then(s).catch(r)})}return t}const Ee=e=>e();function ze(e,n={}){let t,o,s=W;const r=l=>{clearTimeout(l),s(),s=W};return l=>{const i=x(e),u=x(n.maxWait);return t&&r(t),i<=0||u!==void 0&&u<=0?(o&&(r(o),o=null),Promise.resolve(l())):new Promise((d,f)=>{s=n.rejectOnCancel?f:d,u&&!o&&(o=setTimeout(()=>{t&&r(t),o=null,d(l())},u)),t=setTimeout(()=>{o&&r(o),o=null,d(l())},i)})}}function Ie(...e){let n=0,t,o=!0,s=W,r,a,l,i,u;!ne(e[0])&&typeof e[0]=="object"?{delay:a,trailing:l=!0,leading:i=!0,rejectOnCancel:u=!1}=e[0]:[a,l=!0,i=!0,u=!1]=e;const d=()=>{t&&(clearTimeout(t),t=void 0,s(),s=W)};return c=>{const m=x(a),p=Date.now()-n,w=()=>r=c();return d(),m<=0?(n=Date.now(),w()):(p>m&&(i||!o)?(n=Date.now(),w()):l&&(r=new Promise((S,v)=>{s=u?v:S,t=setTimeout(()=>{n=Date.now(),o=!0,S(w()),d()},Math.max(0,m-p))})),!i&&!t&&(t=setTimeout(()=>o=!0,m)),o=!1,r)}}function Xe(e=Ee){const n=h(!0);function t(){n.value=!1}function o(){n.value=!0}const s=(...r)=>{n.value&&e(...r)};return{isActive:ye(n),pause:t,resume:o,eventFilter:s}}const _e={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function $e(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}const je=/-(\w)/g,Be=$e(e=>e.replace(je,(n,t)=>t?t.toUpperCase():""));function Ve(e){return Se()}function Me(...e){if(e.length!==1)return Pe(...e);const n=e[0];return typeof n=="function"?ye(pe(()=>({get:n,set:W}))):h(n)}function qe(e,n=200,t={}){return le(ze(n,t),e)}function Ue(e,n=200,t=!1,o=!0,s=!1){return le(Ie(n,t,o,s),e)}function xt(e,n={}){let t=e,o,s;const r=pe((c,m)=>(o=c,s=m,{get(){return a()},set(p){l(p)}}));function a(c=!0){return c&&o(),t}function l(c,m=!0){var p,w;if(c===t)return;const S=t;((p=n.onBeforeChange)==null?void 0:p.call(n,c,S))!==!1&&(t=c,(w=n.onChanged)==null||w.call(n,c,S),m&&s())}return We(r,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:c=>l(c,!1),peek:()=>a(!1),lay:c=>l(c,!1)},{enumerable:!0})}function Ge(e,n,t={}){const{eventFilter:o=Ee,...s}=t;return R(e,le(o,n),s)}function Je(e,n,t={}){const{eventFilter:o,...s}=t,{eventFilter:r,pause:a,resume:l,isActive:i}=Xe(o);return{stop:Ge(e,n,{...s,eventFilter:r}),pause:a,resume:l,isActive:i}}function q(e,n=!0,t){Ve()?he(e,t):n?e():we(e)}const Ke=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Qe=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function Ze(e,n,t,o){let s=e<12?"AM":"PM";return o&&(s=s.split("").reduce((r,a)=>r+=`${a}.`,"")),t?s.toLowerCase():s}function I(e){const n=["th","st","nd","rd"],t=e%100;return e+(n[(t-20)%10]||n[t]||n[0])}function et(e,n,t={}){var o;const s=e.getFullYear(),r=e.getMonth(),a=e.getDate(),l=e.getHours(),i=e.getMinutes(),u=e.getSeconds(),d=e.getMilliseconds(),f=e.getDay(),c=(o=t.customMeridiem)!=null?o:Ze,m={Yo:()=>I(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>r+1,Mo:()=>I(r+1),MM:()=>`${r+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(x(t.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(x(t.locales),{month:"long"}),D:()=>String(a),Do:()=>I(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(l),Ho:()=>I(l),HH:()=>`${l}`.padStart(2,"0"),h:()=>`${l%12||12}`.padStart(1,"0"),ho:()=>I(l%12||12),hh:()=>`${l%12||12}`.padStart(2,"0"),m:()=>String(i),mo:()=>I(i),mm:()=>`${i}`.padStart(2,"0"),s:()=>String(u),so:()=>I(u),ss:()=>`${u}`.padStart(2,"0"),SSS:()=>`${d}`.padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(x(t.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"long"}),A:()=>c(l,i),AA:()=>c(l,i,!1,!0),a:()=>c(l,i,!0),aa:()=>c(l,i,!0,!0)};return n.replace(Qe,(p,w)=>{var S,v;return(v=w??((S=m[p])==null?void 0:S.call(m)))!=null?v:p})}function tt(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const n=e.match(Ke);if(n){const t=n[2]-1||0,o=(n[7]||"0").substring(0,3);return new Date(n[1],t,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}function Dt(e,n="HH:mm:ss",t={}){return A(()=>et(tt(x(e)),x(n),t))}function Ot(e,n,t){let o;ne(t)?o={evaluating:t}:o=t||{};const{lazy:s=!1,evaluating:r=void 0,shallow:a=!0,onError:l=W}=o,i=h(!s),u=a?oe(n):h(n);let d=0;return re(async f=>{if(!i.value)return;d++;const c=d;let m=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const p=await e(w=>{f(()=>{r&&(r.value=!1),m||w()})});c===d&&(u.value=p)}catch(p){l(p)}finally{r&&c===d&&(r.value=!1),m=!0}}),s?A(()=>(i.value=!0,u.value)):u}function Tt(e={}){const{inheritAttrs:n=!0}=e,t=oe(),o=ie({setup(r,{slots:a}){return()=>{t.value=a.default}}}),s=ie({inheritAttrs:n,setup(r,{attrs:a,slots:l}){return()=>{var i;t.value;const u=(i=t.value)==null?void 0:i.call(t,{...nt(a),$slots:l});return n&&(u==null?void 0:u.length)===1?u[0]:u}}});return Re({define:o,reuse:s},[o,s])}function nt(e){const n={};for(const t in e)n[Be(t)]=e[t];return n}function L(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}const H=V?window:void 0,xe=V?window.document:void 0;function M(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=H):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(d=>d()),r.length=0},l=(d,f,c,m)=>(d.addEventListener(f,c,m),()=>d.removeEventListener(f,c,m)),i=R(()=>[L(n),x(s)],([d,f])=>{if(a(),!d)return;const c=be(f)?{...f}:f;r.push(...t.flatMap(m=>o.map(p=>l(d,m,p,c))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}let ae=!1;function At(e,n,t={}){const{window:o=H,ignore:s=[],capture:r=!0,detectIframe:a=!1}=t;if(!o)return W;B&&!ae&&(ae=!0,Array.from(o.document.body.children).forEach(c=>c.addEventListener("click",W)),o.document.documentElement.addEventListener("click",W));let l=!0;const i=c=>s.some(m=>{if(typeof m=="string")return Array.from(o.document.querySelectorAll(m)).some(p=>p===c.target||c.composedPath().includes(p));{const p=L(m);return p&&(c.target===p||c.composedPath().includes(p))}}),d=[M(o,"click",c=>{const m=L(e);if(!(!m||m===c.target||c.composedPath().includes(m))){if(c.detail===0&&(l=!i(c)),!l){l=!0;return}n(c)}},{passive:!0,capture:r}),M(o,"pointerdown",c=>{const m=L(e);l=!i(c)&&!!(m&&!c.composedPath().includes(m))},{passive:!0}),a&&M(o,"blur",c=>{setTimeout(()=>{var m;const p=L(e);((m=o.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(p!=null&&p.contains(o.document.activeElement))&&n(c)},0)})].filter(Boolean);return()=>d.forEach(c=>c())}function ot(e){return typeof e=="function"?e:typeof e=="string"?n=>n.key===e:Array.isArray(e)?n=>e.includes(n.key):()=>!0}function kt(...e){let n,t,o={};e.length===3?(n=e[0],t=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(n=!0,t=e[0],o=e[1]):(n=e[0],t=e[1]):(n=!0,t=e[0]);const{target:s=H,eventName:r="keydown",passive:a=!1,dedupe:l=!1}=o,i=ot(n);return M(s,r,d=>{d.repeat&&x(l)||i(d)&&t(d)},a)}function rt(){const e=h(!1),n=Se();return n&&he(()=>{e.value=!0},n),e}function U(e){const n=rt();return A(()=>(n.value,!!e()))}function lt(e,n,t={}){const{window:o=H,...s}=t;let r;const a=U(()=>o&&"MutationObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=A(()=>{const c=x(e),m=(Array.isArray(c)?c:[c]).map(L).filter(Ce);return new Set(m)}),u=R(()=>i.value,c=>{l(),a.value&&c.size&&(r=new MutationObserver(n),c.forEach(m=>r.observe(m,s)))},{immediate:!0,flush:"post"}),d=()=>r==null?void 0:r.takeRecords(),f=()=>{u(),l()};return N(f),{isSupported:a,stop:f,takeRecords:d}}function st(e,n={}){const{window:t=H}=n,o=U(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=h(!1),a=u=>{r.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},i=re(()=>{o.value&&(l(),s=t.matchMedia(x(e)),"addEventListener"in s?s.addEventListener("change",a):s.addListener(a),r.value=s.matches)});return N(()=>{i(),l(),s=void 0}),r}const G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},J="__vueuse_ssr_handlers__",ut=it();function it(){return J in G||(G[J]=G[J]||{}),G[J]}function at(e,n){return ut[e]||n}function ct(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ft={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ce="vueuse-storage";function dt(e,n,t,o={}){var s;const{flush:r="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:i=!0,mergeDefaults:u=!1,shallow:d,window:f=H,eventFilter:c,onError:m=y=>{console.error(y)},initOnMounted:p}=o,w=(d?oe:h)(typeof n=="function"?n():n);if(!t)try{t=at("getDefaultStorage",()=>{var y;return(y=H)==null?void 0:y.localStorage})()}catch(y){m(y)}if(!t)return w;const S=x(n),v=ct(S),E=(s=o.serializer)!=null?s:ft[v],{pause:k,resume:D}=Je(w,()=>T(w.value),{flush:r,deep:a,eventFilter:c});f&&l&&q(()=>{t instanceof Storage?M(f,"storage",P):M(f,ce,_),p&&P()}),p||P();function g(y,O){if(f){const F={key:e,oldValue:y,newValue:O,storageArea:t};f.dispatchEvent(t instanceof Storage?new StorageEvent("storage",F):new CustomEvent(ce,{detail:F}))}}function T(y){try{const O=t.getItem(e);if(y==null)g(O,null),t.removeItem(e);else{const F=E.write(y);O!==F&&(t.setItem(e,F),g(O,F))}}catch(O){m(O)}}function b(y){const O=y?y.newValue:t.getItem(e);if(O==null)return i&&S!=null&&t.setItem(e,E.write(S)),S;if(!y&&u){const F=E.read(O);return typeof u=="function"?u(F,S):v==="object"&&!Array.isArray(F)?{...S,...F}:F}else return typeof O!="string"?O:E.read(O)}function P(y){if(!(y&&y.storageArea!==t)){if(y&&y.key==null){w.value=S;return}if(!(y&&y.key!==e)){k();try{(y==null?void 0:y.newValue)!==E.write(w.value)&&(w.value=b(y))}catch(O){m(O)}finally{y?we(D):D()}}}}function _(y){P(y.detail)}return w}function Ft(e={}){const{document:n=xe}=e;if(!n)return h("visible");const t=h(n.visibilityState);return M(n,"visibilitychange",()=>{t.value=n.visibilityState}),t}function De(e,n,t={}){const{window:o=H,...s}=t;let r;const a=U(()=>o&&"ResizeObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=A(()=>{const f=x(e);return Array.isArray(f)?f.map(c=>L(c)):[L(f)]}),u=R(i,f=>{if(l(),a.value&&o){r=new ResizeObserver(n);for(const c of f)c&&r.observe(c,s)}},{immediate:!0,flush:"post"}),d=()=>{l(),u()};return N(d),{isSupported:a,stop:d}}function Lt(e,n={}){const{reset:t=!0,windowResize:o=!0,windowScroll:s=!0,immediate:r=!0,updateTiming:a="sync"}=n,l=h(0),i=h(0),u=h(0),d=h(0),f=h(0),c=h(0),m=h(0),p=h(0);function w(){const v=L(e);if(!v){t&&(l.value=0,i.value=0,u.value=0,d.value=0,f.value=0,c.value=0,m.value=0,p.value=0);return}const E=v.getBoundingClientRect();l.value=E.height,i.value=E.bottom,u.value=E.left,d.value=E.right,f.value=E.top,c.value=E.width,m.value=E.x,p.value=E.y}function S(){a==="sync"?w():a==="next-frame"&&requestAnimationFrame(()=>w())}return De(e,S),R(()=>L(e),v=>!v&&S()),lt(e,S,{attributeFilter:["style","class"]}),s&&M("scroll",S,{capture:!0,passive:!0}),o&&M("resize",S,{passive:!0}),q(()=>{r&&S()}),{height:l,bottom:i,left:u,right:d,top:f,width:c,x:m,y:p,update:S}}function Ht(e,n={width:0,height:0},t={}){const{window:o=H,box:s="content-box"}=t,r=A(()=>{var f,c;return(c=(f=L(e))==null?void 0:f.namespaceURI)==null?void 0:c.includes("svg")}),a=h(n.width),l=h(n.height),{stop:i}=De(e,([f])=>{const c=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(o&&r.value){const m=L(e);if(m){const p=m.getBoundingClientRect();a.value=p.width,l.value=p.height}}else if(c){const m=Array.isArray(c)?c:[c];a.value=m.reduce((p,{inlineSize:w})=>p+w,0),l.value=m.reduce((p,{blockSize:w})=>p+w,0)}else a.value=f.contentRect.width,l.value=f.contentRect.height},t);q(()=>{const f=L(e);f&&(a.value="offsetWidth"in f?f.offsetWidth:n.width,l.value="offsetHeight"in f?f.offsetHeight:n.height)});const u=R(()=>L(e),f=>{a.value=f?n.width:0,l.value=f?n.height:0});function d(){i(),u()}return{width:a,height:l,stop:d}}const j=new Map;function Pt(e){const n=ge();function t(l){var i;const u=j.get(e)||new Set;u.add(l),j.set(e,u);const d=()=>s(l);return(i=n==null?void 0:n.cleanups)==null||i.push(d),d}function o(l){function i(...u){s(i),l(...u)}return t(i)}function s(l){const i=j.get(e);i&&(i.delete(l),i.size||r())}function r(){j.delete(e)}function a(l,i){var u;(u=j.get(e))==null||u.forEach(d=>d(l,i))}return{on:t,once:o,off:s,emit:a,reset:r}}const fe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Wt(e,n={}){const{document:t=xe,autoExit:o=!1}=n,s=A(()=>{var v;return(v=L(e))!=null?v:t==null?void 0:t.querySelector("html")}),r=h(!1),a=A(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(v=>t&&v in t||s.value&&v in s.value)),l=A(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(v=>t&&v in t||s.value&&v in s.value)),i=A(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(v=>t&&v in t||s.value&&v in s.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(v=>t&&v in t),d=U(()=>s.value&&t&&a.value!==void 0&&l.value!==void 0&&i.value!==void 0),f=()=>u?(t==null?void 0:t[u])===s.value:!1,c=()=>{if(i.value){if(t&&t[i.value]!=null)return t[i.value];{const v=s.value;if((v==null?void 0:v[i.value])!=null)return!!v[i.value]}}return!1};async function m(){if(!(!d.value||!r.value)){if(l.value)if((t==null?void 0:t[l.value])!=null)await t[l.value]();else{const v=s.value;(v==null?void 0:v[l.value])!=null&&await v[l.value]()}r.value=!1}}async function p(){if(!d.value||r.value)return;c()&&await m();const v=s.value;a.value&&(v==null?void 0:v[a.value])!=null&&(await v[a.value](),r.value=!0)}async function w(){await(r.value?m():p())}const S=()=>{const v=c();(!v||v&&f())&&(r.value=v)};return M(t,fe,S,!1),M(()=>L(s),fe,S,!1),o&&N(m),{isSupported:d,isFullscreen:r,enter:p,exit:m,toggle:w}}const de=1;function Rt(e,n={}){const{throttle:t=0,idle:o=200,onStop:s=W,onScroll:r=W,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:i="auto",window:u=H,onError:d=b=>{console.error(b)}}=n,f=h(0),c=h(0),m=A({get(){return f.value},set(b){w(b,void 0)}}),p=A({get(){return c.value},set(b){w(void 0,b)}});function w(b,P){var _,y,O,F;if(!u)return;const C=x(e);if(!C)return;(O=C instanceof Document?u.document.body:C)==null||O.scrollTo({top:(_=x(P))!=null?_:p.value,left:(y=x(b))!=null?y:m.value,behavior:x(i)});const $=((F=C==null?void 0:C.document)==null?void 0:F.documentElement)||(C==null?void 0:C.documentElement)||C;m!=null&&(f.value=$.scrollLeft),p!=null&&(c.value=$.scrollTop)}const S=h(!1),v=K({left:!0,right:!1,top:!0,bottom:!1}),E=K({left:!1,right:!1,top:!1,bottom:!1}),k=b=>{S.value&&(S.value=!1,E.left=!1,E.right=!1,E.top=!1,E.bottom=!1,s(b))},D=qe(k,t+o),g=b=>{var P;if(!u)return;const _=((P=b==null?void 0:b.document)==null?void 0:P.documentElement)||(b==null?void 0:b.documentElement)||L(b),{display:y,flexDirection:O}=getComputedStyle(_),F=_.scrollLeft;E.left=F<f.value,E.right=F>f.value;const C=Math.abs(F)<=(a.left||0),$=Math.abs(F)+_.clientWidth>=_.scrollWidth-(a.right||0)-de;y==="flex"&&O==="row-reverse"?(v.left=$,v.right=C):(v.left=C,v.right=$),f.value=F;let z=_.scrollTop;b===u.document&&!z&&(z=u.document.body.scrollTop),E.top=z<c.value,E.bottom=z>c.value;const se=Math.abs(z)<=(a.top||0),ue=Math.abs(z)+_.clientHeight>=_.scrollHeight-(a.bottom||0)-de;y==="flex"&&O==="column-reverse"?(v.top=ue,v.bottom=se):(v.top=se,v.bottom=ue),c.value=z},T=b=>{var P;if(!u)return;const _=(P=b.target.documentElement)!=null?P:b.target;g(_),S.value=!0,D(b),r(b)};return M(e,"scroll",t?Ue(T,t,!0,!1):T,l),q(()=>{try{const b=x(e);if(!b)return;g(b)}catch(b){d(b)}}),M(e,"scrollend",k,l),{x:m,y:p,isScrolling:S,arrivedState:v,directions:E,measure(){const b=x(e);u&&b&&g(b)}}}function Q(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Ct(e,n,t={}){const{window:o=H}=t;return dt(e,n,o==null?void 0:o.localStorage,t)}const vt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function mt(e={}){const{type:n="page",touch:t=!0,resetOnTouchEnds:o=!1,initialValue:s={x:0,y:0},window:r=H,target:a=r,scroll:l=!0,eventFilter:i}=e;let u=null;const d=h(s.x),f=h(s.y),c=h(null),m=typeof n=="function"?n:vt[n],p=g=>{const T=m(g);u=g,T&&([d.value,f.value]=T,c.value="mouse")},w=g=>{if(g.touches.length>0){const T=m(g.touches[0]);T&&([d.value,f.value]=T,c.value="touch")}},S=()=>{if(!u||!r)return;const g=m(u);u instanceof MouseEvent&&g&&(d.value=g[0]+r.scrollX,f.value=g[1]+r.scrollY)},v=()=>{d.value=s.x,f.value=s.y},E=i?g=>i(()=>p(g),{}):g=>p(g),k=i?g=>i(()=>w(g),{}):g=>w(g),D=i?()=>i(()=>S(),{}):()=>S();if(a){const g={passive:!0};M(a,["mousemove","dragover"],E,g),t&&n!=="movement"&&(M(a,["touchstart","touchmove"],k,g),o&&M(a,"touchend",v,g)),l&&n==="page"&&M(r,"scroll",D,{passive:!0})}return{x:d,y:f,sourceType:c}}function Yt(e,n={}){const{handleOutside:t=!0,window:o=H}=n,s=n.type||"page",{x:r,y:a,sourceType:l}=mt(n),i=h(e??(o==null?void 0:o.document.body)),u=h(0),d=h(0),f=h(0),c=h(0),m=h(0),p=h(0),w=h(!0);let S=()=>{};return o&&(S=R([i,r,a],()=>{const v=L(i);if(!v||!(v instanceof HTMLElement))return;const{left:E,top:k,width:D,height:g}=v.getBoundingClientRect();f.value=E+(s==="page"?o.pageXOffset:0),c.value=k+(s==="page"?o.pageYOffset:0),m.value=g,p.value=D;const T=r.value-f.value,b=a.value-c.value;w.value=D===0||g===0||T<0||b<0||T>D||b>g,(t||!w.value)&&(u.value=T,d.value=b)},{immediate:!0}),M(document,"mouseleave",()=>{w.value=!0})),{x:r,y:a,sourceType:l,elementX:u,elementY:d,elementPositionX:f,elementPositionY:c,elementHeight:m,elementWidth:p,isOutside:w,stop:S}}function Nt(e={}){const{touch:n=!0,drag:t=!0,capture:o=!1,initialValue:s=!1,window:r=H}=e,a=h(s),l=h(null);if(!r)return{pressed:a,sourceType:l};const i=f=>()=>{a.value=!0,l.value=f},u=()=>{a.value=!1,l.value=null},d=A(()=>L(e.target)||r);return M(d,"mousedown",i("mouse"),{passive:!0,capture:o}),M(r,"mouseleave",u,{passive:!0,capture:o}),M(r,"mouseup",u,{passive:!0,capture:o}),t&&(M(d,"dragstart",i("mouse"),{passive:!0,capture:o}),M(r,"drop",u,{passive:!0,capture:o}),M(r,"dragend",u,{passive:!0,capture:o})),n&&(M(d,"touchstart",i("touch"),{passive:!0,capture:o}),M(r,"touchend",u,{passive:!0,capture:o}),M(r,"touchcancel",u,{passive:!0,capture:o})),{pressed:a,sourceType:l}}function zt(e={}){const{window:n=H}=e,t=U(()=>n&&"screen"in n&&"orientation"in n.screen),o=t.value?n.screen.orientation:{},s=h(o.type),r=h(o.angle||0);return t.value&&M(n,"orientationchange",()=>{s.value=o.type,r.value=o.angle}),{isSupported:t,orientation:s,angle:r,lockOrientation:i=>t.value&&typeof o.lock=="function"?o.lock(i):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{t.value&&typeof o.unlock=="function"&&o.unlock()}}}function Oe(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:Oe(t)}}function pt(e){const n=e||window.event,t=n.target;return Oe(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const Z=new WeakMap;function It(e,n=!1){const t=h(n);let o=null,s="";R(Me(e),l=>{const i=Q(x(l));if(i){const u=i;if(Z.get(u)||Z.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=Q(x(e));!l||t.value||(B&&(o=M(l,"touchmove",i=>{pt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=Q(x(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,Z.delete(l),t.value=!1)};return N(a),A({get(){return t.value},set(l){l?r():a()}})}function Xt(e,n={}){const{threshold:t=50,onSwipe:o,onSwipeEnd:s,onSwipeStart:r,passive:a=!0,window:l=H}=n,i=K({x:0,y:0}),u=K({x:0,y:0}),d=A(()=>i.x-u.x),f=A(()=>i.y-u.y),{max:c,abs:m}=Math,p=A(()=>c(m(d.value),m(f.value))>=t),w=h(!1),S=A(()=>p.value?m(d.value)>m(f.value)?d.value>0?"left":"right":f.value>0?"up":"down":"none"),v=_=>[_.touches[0].clientX,_.touches[0].clientY],E=(_,y)=>{i.x=_,i.y=y},k=(_,y)=>{u.x=_,u.y=y};let D;const g=ht(l==null?void 0:l.document);a?D=g?{passive:!0}:{capture:!1}:D=g?{passive:!1,capture:!0}:{capture:!0};const T=_=>{w.value&&(s==null||s(_,S.value)),w.value=!1},b=[M(e,"touchstart",_=>{if(_.touches.length!==1)return;D.capture&&!D.passive&&_.preventDefault();const[y,O]=v(_);E(y,O),k(y,O),r==null||r(_)},D),M(e,"touchmove",_=>{if(_.touches.length!==1)return;const[y,O]=v(_);k(y,O),!w.value&&p.value&&(w.value=!0),w.value&&(o==null||o(_))},D),M(e,["touchend","touchcancel"],T,D)];return{isPassiveEventSupported:g,isSwiping:w,direction:S,coordsStart:i,coordsEnd:u,lengthX:d,lengthY:f,stop:()=>b.forEach(_=>_())}}function ht(e){if(!e)return!1;let n=!1;const t={get passive(){return n=!0,!1}};return e.addEventListener("x",W,t),e.removeEventListener("x",W),n}function $t(e={}){const{window:n=H,behavior:t="auto"}=e;if(!n)return{x:h(0),y:h(0)};const o=h(n.scrollX),s=h(n.scrollY),r=A({get(){return o.value},set(l){scrollTo({left:l,behavior:t})}}),a=A({get(){return s.value},set(l){scrollTo({top:l,behavior:t})}});return M(n,"scroll",()=>{o.value=n.scrollX,s.value=n.scrollY},{capture:!1,passive:!0}),{x:r,y:a}}function jt(e={}){const{window:n=H,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:r=!0,type:a="inner"}=e,l=h(t),i=h(o),u=()=>{n&&(a==="outer"?(l.value=n.outerWidth,i.value=n.outerHeight):r?(l.value=n.innerWidth,i.value=n.innerHeight):(l.value=n.document.documentElement.clientWidth,i.value=n.document.documentElement.clientHeight))};if(u(),q(u),M("resize",u,{passive:!0}),s){const d=st("(orientation: portrait)");R(d,()=>u())}return{width:l,height:i}}function Bt(e=null,n){const t=h(e),o=A({set:r=>r?Y.start():Y.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&Y.configure(n);const s=Y.set;return Y.set=r=>(t.value=r,s.call(Y,r)),re(()=>{typeof t.value=="number"&&V&&s.call(Y,t.value)}),N(Y.remove),{isLoading:o,progress:t,start:Y.start,done:Y.done,remove:()=>{t.value=null,Y.remove()}}}function Te(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}const Ae=V?window:void 0;function X(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=Ae):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(d=>d()),r.length=0},l=(d,f,c,m)=>(d.addEventListener(f,c,m),()=>d.removeEventListener(f,c,m)),i=R(()=>[Te(n),x(s)],([d,f])=>{if(a(),!d)return;const c=be(f)?{...f}:f;r.push(...t.flatMap(m=>o.map(p=>l(d,m,p,c))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}const wt=500,gt=10;function ve(e,n,t){var o,s;const r=A(()=>Te(e));let a,l,i,u=!1;function d(){a&&(clearTimeout(a),a=void 0),l=void 0,i=void 0,u=!1}function f(v){var E,k,D;const[g,T,b]=[i,l,u];if(d(),!(t!=null&&t.onMouseUp)||!T||!g||(E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value)return;(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation();const P=v.x-T.x,_=v.y-T.y,y=Math.sqrt(P*P+_*_);t.onMouseUp(v.timeStamp-g,y,b)}function c(v){var E,k,D,g;(E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value||(d(),(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation(),l={x:v.x,y:v.y},i=v.timeStamp,a=setTimeout(()=>{u=!0,n(v)},(g=t==null?void 0:t.delay)!=null?g:wt))}function m(v){var E,k,D,g;if((E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value||!l||(t==null?void 0:t.distanceThreshold)===!1)return;(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation();const T=v.x-l.x,b=v.y-l.y;Math.sqrt(T*T+b*b)>=((g=t==null?void 0:t.distanceThreshold)!=null?g:gt)&&d()}const p={capture:(o=t==null?void 0:t.modifiers)==null?void 0:o.capture,once:(s=t==null?void 0:t.modifiers)==null?void 0:s.once},w=[X(r,"pointerdown",c,p),X(r,"pointermove",m,p),X(r,["pointerup","pointerleave"],f,p)];return()=>w.forEach(v=>v())}const Vt={[_e.mounted](e,n){typeof n.value=="function"?ve(e,n.value,{modifiers:n.modifiers}):ve(e,...n.value)}};function me(e,n={}){const{delayEnter:t=0,delayLeave:o=0,window:s=Ae}=n,r=h(!1);let a;const l=i=>{const u=i?t:o;a&&(clearTimeout(a),a=void 0),u?a=setTimeout(()=>r.value=i,u):r.value=i};return s&&(X(e,"mouseenter",()=>l(!0),{passive:!0}),X(e,"mouseleave",()=>l(!1),{passive:!0})),r}const qt={[_e.mounted](e,n){const t=n.value;if(typeof t=="function"){const o=me(e);R(o,s=>t(s))}else{const[o,s]=t,r=me(e,s);R(r,a=>o(a))}}};function ee(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ke(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:ke(t)}}function yt(e){const n=e||window.event,t=n.target;return ke(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const te=new WeakMap;function St(e,n=!1){const t=h(n);let o=null,s="";R(Me(e),l=>{const i=ee(x(l));if(i){const u=i;if(te.get(u)||te.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=ee(x(e));!l||t.value||(B&&(o=X(l,"touchmove",i=>{yt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=ee(x(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,te.delete(l),t.value=!1)};return N(a),A({get(){return t.value},set(l){l?r():a()}})}function bt(){let e=!1;const n=h(!1);return(t,o)=>{if(n.value=o.value,e)return;e=!0;const s=St(t,o.value);R(n,r=>s.value=r)}}bt();export{Ft as A,De as B,Dt as a,st as b,Mt as c,zt as d,jt as e,Pt as f,Xt as g,$t as h,Bt as i,Ht as j,It as k,mt as l,Yt as m,Nt as n,At as o,Rt as p,kt as q,xt as r,M as s,Lt as t,Ct as u,Wt as v,Tt as w,Ot as x,qt as y,Vt as z};
1
+ import{q as pe,x as he,n as we,y as ge,o as Fe,z as Le,i as ne,u as He,A as Pe,B as ye,r as h,c as A,C as Se,w as R,D as oe,E as K,F as re,G as ie}from"./@vue.BeJw0wEm.0.0.30-alpha.0.js";import{n as Y}from"./nprogress.C2KbBHcZ.0.0.30-alpha.0.js";function N(e){return ge()?(Fe(e),!0):!1}function Mt(e){let n=0,t,o;const s=()=>{n-=1,o&&n<=0&&(o.stop(),t=void 0,o=void 0)};return(...r)=>(n+=1,o||(o=Le(!0),t=o.run(()=>e(...r))),N(s),t)}function We(e,n,{enumerable:t=!1,unwrap:o=!0}={}){for(const[s,r]of Object.entries(n))s!=="value"&&(ne(r)&&o?Object.defineProperty(e,s,{get(){return r.value},set(a){r.value=a},enumerable:t}):Object.defineProperty(e,s,{value:r,enumerable:t}));return e}function Re(e,n){if(typeof Symbol<"u"){const t={...e};return Object.defineProperty(t,Symbol.iterator,{enumerable:!1,value(){let o=0;return{next:()=>({value:n[o++],done:o>n.length})}}}),t}else return Object.assign([...n],e)}function x(e){return typeof e=="function"?e():He(e)}const V=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ce=e=>e!=null,Ye=Object.prototype.toString,be=e=>Ye.call(e)==="[object Object]",W=()=>{},B=Ne();function Ne(){var e,n;return V&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function le(e,n){function t(...o){return new Promise((s,r)=>{Promise.resolve(e(()=>n.apply(this,o),{fn:n,thisArg:this,args:o})).then(s).catch(r)})}return t}const Ee=e=>e();function ze(e,n={}){let t,o,s=W;const r=l=>{clearTimeout(l),s(),s=W};return l=>{const i=x(e),u=x(n.maxWait);return t&&r(t),i<=0||u!==void 0&&u<=0?(o&&(r(o),o=null),Promise.resolve(l())):new Promise((d,f)=>{s=n.rejectOnCancel?f:d,u&&!o&&(o=setTimeout(()=>{t&&r(t),o=null,d(l())},u)),t=setTimeout(()=>{o&&r(o),o=null,d(l())},i)})}}function Ie(...e){let n=0,t,o=!0,s=W,r,a,l,i,u;!ne(e[0])&&typeof e[0]=="object"?{delay:a,trailing:l=!0,leading:i=!0,rejectOnCancel:u=!1}=e[0]:[a,l=!0,i=!0,u=!1]=e;const d=()=>{t&&(clearTimeout(t),t=void 0,s(),s=W)};return c=>{const m=x(a),p=Date.now()-n,w=()=>r=c();return d(),m<=0?(n=Date.now(),w()):(p>m&&(i||!o)?(n=Date.now(),w()):l&&(r=new Promise((S,v)=>{s=u?v:S,t=setTimeout(()=>{n=Date.now(),o=!0,S(w()),d()},Math.max(0,m-p))})),!i&&!t&&(t=setTimeout(()=>o=!0,m)),o=!1,r)}}function Xe(e=Ee){const n=h(!0);function t(){n.value=!1}function o(){n.value=!0}const s=(...r)=>{n.value&&e(...r)};return{isActive:ye(n),pause:t,resume:o,eventFilter:s}}const _e={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function $e(e){const n=Object.create(null);return t=>n[t]||(n[t]=e(t))}const je=/-(\w)/g,Be=$e(e=>e.replace(je,(n,t)=>t?t.toUpperCase():""));function Ve(e){return Se()}function Me(...e){if(e.length!==1)return Pe(...e);const n=e[0];return typeof n=="function"?ye(pe(()=>({get:n,set:W}))):h(n)}function qe(e,n=200,t={}){return le(ze(n,t),e)}function Ge(e,n=200,t=!1,o=!0,s=!1){return le(Ie(n,t,o,s),e)}function xt(e,n={}){let t=e,o,s;const r=pe((c,m)=>(o=c,s=m,{get(){return a()},set(p){l(p)}}));function a(c=!0){return c&&o(),t}function l(c,m=!0){var p,w;if(c===t)return;const S=t;((p=n.onBeforeChange)==null?void 0:p.call(n,c,S))!==!1&&(t=c,(w=n.onChanged)==null||w.call(n,c,S),m&&s())}return We(r,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:c=>l(c,!1),peek:()=>a(!1),lay:c=>l(c,!1)},{enumerable:!0})}function Ue(e,n,t={}){const{eventFilter:o=Ee,...s}=t;return R(e,le(o,n),s)}function Je(e,n,t={}){const{eventFilter:o,...s}=t,{eventFilter:r,pause:a,resume:l,isActive:i}=Xe(o);return{stop:Ue(e,n,{...s,eventFilter:r}),pause:a,resume:l,isActive:i}}function q(e,n=!0,t){Ve()?he(e,t):n?e():we(e)}const Ke=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[T\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/i,Qe=/[YMDHhms]o|\[([^\]]+)\]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function Ze(e,n,t,o){let s=e<12?"AM":"PM";return o&&(s=s.split("").reduce((r,a)=>r+=`${a}.`,"")),t?s.toLowerCase():s}function I(e){const n=["th","st","nd","rd"],t=e%100;return e+(n[(t-20)%10]||n[t]||n[0])}function et(e,n,t={}){var o;const s=e.getFullYear(),r=e.getMonth(),a=e.getDate(),l=e.getHours(),i=e.getMinutes(),u=e.getSeconds(),d=e.getMilliseconds(),f=e.getDay(),c=(o=t.customMeridiem)!=null?o:Ze,m={Yo:()=>I(s),YY:()=>String(s).slice(-2),YYYY:()=>s,M:()=>r+1,Mo:()=>I(r+1),MM:()=>`${r+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(x(t.locales),{month:"short"}),MMMM:()=>e.toLocaleDateString(x(t.locales),{month:"long"}),D:()=>String(a),Do:()=>I(a),DD:()=>`${a}`.padStart(2,"0"),H:()=>String(l),Ho:()=>I(l),HH:()=>`${l}`.padStart(2,"0"),h:()=>`${l%12||12}`.padStart(1,"0"),ho:()=>I(l%12||12),hh:()=>`${l%12||12}`.padStart(2,"0"),m:()=>String(i),mo:()=>I(i),mm:()=>`${i}`.padStart(2,"0"),s:()=>String(u),so:()=>I(u),ss:()=>`${u}`.padStart(2,"0"),SSS:()=>`${d}`.padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(x(t.locales),{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"short"}),dddd:()=>e.toLocaleDateString(x(t.locales),{weekday:"long"}),A:()=>c(l,i),AA:()=>c(l,i,!1,!0),a:()=>c(l,i,!0),aa:()=>c(l,i,!0,!0)};return n.replace(Qe,(p,w)=>{var S,v;return(v=w??((S=m[p])==null?void 0:S.call(m)))!=null?v:p})}function tt(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const n=e.match(Ke);if(n){const t=n[2]-1||0,o=(n[7]||"0").substring(0,3);return new Date(n[1],t,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(e)}function Dt(e,n="HH:mm:ss",t={}){return A(()=>et(tt(x(e)),x(n),t))}function Ot(e,n,t){let o;ne(t)?o={evaluating:t}:o=t||{};const{lazy:s=!1,evaluating:r=void 0,shallow:a=!0,onError:l=W}=o,i=h(!s),u=a?oe(n):h(n);let d=0;return re(async f=>{if(!i.value)return;d++;const c=d;let m=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const p=await e(w=>{f(()=>{r&&(r.value=!1),m||w()})});c===d&&(u.value=p)}catch(p){l(p)}finally{r&&c===d&&(r.value=!1),m=!0}}),s?A(()=>(i.value=!0,u.value)):u}function Tt(e={}){const{inheritAttrs:n=!0}=e,t=oe(),o=ie({setup(r,{slots:a}){return()=>{t.value=a.default}}}),s=ie({inheritAttrs:n,setup(r,{attrs:a,slots:l}){return()=>{var i;t.value;const u=(i=t.value)==null?void 0:i.call(t,{...nt(a),$slots:l});return n&&(u==null?void 0:u.length)===1?u[0]:u}}});return Re({define:o,reuse:s},[o,s])}function nt(e){const n={};for(const t in e)n[Be(t)]=e[t];return n}function L(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}const H=V?window:void 0,xe=V?window.document:void 0;function M(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=H):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(d=>d()),r.length=0},l=(d,f,c,m)=>(d.addEventListener(f,c,m),()=>d.removeEventListener(f,c,m)),i=R(()=>[L(n),x(s)],([d,f])=>{if(a(),!d)return;const c=be(f)?{...f}:f;r.push(...t.flatMap(m=>o.map(p=>l(d,m,p,c))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}let ae=!1;function At(e,n,t={}){const{window:o=H,ignore:s=[],capture:r=!0,detectIframe:a=!1}=t;if(!o)return W;B&&!ae&&(ae=!0,Array.from(o.document.body.children).forEach(c=>c.addEventListener("click",W)),o.document.documentElement.addEventListener("click",W));let l=!0;const i=c=>s.some(m=>{if(typeof m=="string")return Array.from(o.document.querySelectorAll(m)).some(p=>p===c.target||c.composedPath().includes(p));{const p=L(m);return p&&(c.target===p||c.composedPath().includes(p))}}),d=[M(o,"click",c=>{const m=L(e);if(!(!m||m===c.target||c.composedPath().includes(m))){if(c.detail===0&&(l=!i(c)),!l){l=!0;return}n(c)}},{passive:!0,capture:r}),M(o,"pointerdown",c=>{const m=L(e);l=!i(c)&&!!(m&&!c.composedPath().includes(m))},{passive:!0}),a&&M(o,"blur",c=>{setTimeout(()=>{var m;const p=L(e);((m=o.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(p!=null&&p.contains(o.document.activeElement))&&n(c)},0)})].filter(Boolean);return()=>d.forEach(c=>c())}function ot(e){return typeof e=="function"?e:typeof e=="string"?n=>n.key===e:Array.isArray(e)?n=>e.includes(n.key):()=>!0}function kt(...e){let n,t,o={};e.length===3?(n=e[0],t=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(n=!0,t=e[0],o=e[1]):(n=e[0],t=e[1]):(n=!0,t=e[0]);const{target:s=H,eventName:r="keydown",passive:a=!1,dedupe:l=!1}=o,i=ot(n);return M(s,r,d=>{d.repeat&&x(l)||i(d)&&t(d)},a)}function rt(){const e=h(!1),n=Se();return n&&he(()=>{e.value=!0},n),e}function G(e){const n=rt();return A(()=>(n.value,!!e()))}function lt(e,n,t={}){const{window:o=H,...s}=t;let r;const a=G(()=>o&&"MutationObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=A(()=>{const c=x(e),m=(Array.isArray(c)?c:[c]).map(L).filter(Ce);return new Set(m)}),u=R(()=>i.value,c=>{l(),a.value&&c.size&&(r=new MutationObserver(n),c.forEach(m=>r.observe(m,s)))},{immediate:!0,flush:"post"}),d=()=>r==null?void 0:r.takeRecords(),f=()=>{u(),l()};return N(f),{isSupported:a,stop:f,takeRecords:d}}function st(e,n={}){const{window:t=H}=n,o=G(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let s;const r=h(!1),a=u=>{r.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},i=re(()=>{o.value&&(l(),s=t.matchMedia(x(e)),"addEventListener"in s?s.addEventListener("change",a):s.addListener(a),r.value=s.matches)});return N(()=>{i(),l(),s=void 0}),r}const U=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},J="__vueuse_ssr_handlers__",ut=it();function it(){return J in U||(U[J]=U[J]||{}),U[J]}function at(e,n){return ut[e]||n}function ct(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ft={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ce="vueuse-storage";function dt(e,n,t,o={}){var s;const{flush:r="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:i=!0,mergeDefaults:u=!1,shallow:d,window:f=H,eventFilter:c,onError:m=y=>{console.error(y)},initOnMounted:p}=o,w=(d?oe:h)(typeof n=="function"?n():n);if(!t)try{t=at("getDefaultStorage",()=>{var y;return(y=H)==null?void 0:y.localStorage})()}catch(y){m(y)}if(!t)return w;const S=x(n),v=ct(S),E=(s=o.serializer)!=null?s:ft[v],{pause:k,resume:D}=Je(w,()=>T(w.value),{flush:r,deep:a,eventFilter:c});f&&l&&q(()=>{t instanceof Storage?M(f,"storage",P):M(f,ce,_),p&&P()}),p||P();function g(y,O){if(f){const F={key:e,oldValue:y,newValue:O,storageArea:t};f.dispatchEvent(t instanceof Storage?new StorageEvent("storage",F):new CustomEvent(ce,{detail:F}))}}function T(y){try{const O=t.getItem(e);if(y==null)g(O,null),t.removeItem(e);else{const F=E.write(y);O!==F&&(t.setItem(e,F),g(O,F))}}catch(O){m(O)}}function b(y){const O=y?y.newValue:t.getItem(e);if(O==null)return i&&S!=null&&t.setItem(e,E.write(S)),S;if(!y&&u){const F=E.read(O);return typeof u=="function"?u(F,S):v==="object"&&!Array.isArray(F)?{...S,...F}:F}else return typeof O!="string"?O:E.read(O)}function P(y){if(!(y&&y.storageArea!==t)){if(y&&y.key==null){w.value=S;return}if(!(y&&y.key!==e)){k();try{(y==null?void 0:y.newValue)!==E.write(w.value)&&(w.value=b(y))}catch(O){m(O)}finally{y?we(D):D()}}}}function _(y){P(y.detail)}return w}function Ft(e={}){const{document:n=xe}=e;if(!n)return h("visible");const t=h(n.visibilityState);return M(n,"visibilitychange",()=>{t.value=n.visibilityState}),t}function De(e,n,t={}){const{window:o=H,...s}=t;let r;const a=G(()=>o&&"ResizeObserver"in o),l=()=>{r&&(r.disconnect(),r=void 0)},i=A(()=>{const f=x(e);return Array.isArray(f)?f.map(c=>L(c)):[L(f)]}),u=R(i,f=>{if(l(),a.value&&o){r=new ResizeObserver(n);for(const c of f)c&&r.observe(c,s)}},{immediate:!0,flush:"post"}),d=()=>{l(),u()};return N(d),{isSupported:a,stop:d}}function Lt(e,n={}){const{reset:t=!0,windowResize:o=!0,windowScroll:s=!0,immediate:r=!0,updateTiming:a="sync"}=n,l=h(0),i=h(0),u=h(0),d=h(0),f=h(0),c=h(0),m=h(0),p=h(0);function w(){const v=L(e);if(!v){t&&(l.value=0,i.value=0,u.value=0,d.value=0,f.value=0,c.value=0,m.value=0,p.value=0);return}const E=v.getBoundingClientRect();l.value=E.height,i.value=E.bottom,u.value=E.left,d.value=E.right,f.value=E.top,c.value=E.width,m.value=E.x,p.value=E.y}function S(){a==="sync"?w():a==="next-frame"&&requestAnimationFrame(()=>w())}return De(e,S),R(()=>L(e),v=>!v&&S()),lt(e,S,{attributeFilter:["style","class"]}),s&&M("scroll",S,{capture:!0,passive:!0}),o&&M("resize",S,{passive:!0}),q(()=>{r&&S()}),{height:l,bottom:i,left:u,right:d,top:f,width:c,x:m,y:p,update:S}}function Ht(e,n={width:0,height:0},t={}){const{window:o=H,box:s="content-box"}=t,r=A(()=>{var f,c;return(c=(f=L(e))==null?void 0:f.namespaceURI)==null?void 0:c.includes("svg")}),a=h(n.width),l=h(n.height),{stop:i}=De(e,([f])=>{const c=s==="border-box"?f.borderBoxSize:s==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(o&&r.value){const m=L(e);if(m){const p=m.getBoundingClientRect();a.value=p.width,l.value=p.height}}else if(c){const m=Array.isArray(c)?c:[c];a.value=m.reduce((p,{inlineSize:w})=>p+w,0),l.value=m.reduce((p,{blockSize:w})=>p+w,0)}else a.value=f.contentRect.width,l.value=f.contentRect.height},t);q(()=>{const f=L(e);f&&(a.value="offsetWidth"in f?f.offsetWidth:n.width,l.value="offsetHeight"in f?f.offsetHeight:n.height)});const u=R(()=>L(e),f=>{a.value=f?n.width:0,l.value=f?n.height:0});function d(){i(),u()}return{width:a,height:l,stop:d}}const j=new Map;function Pt(e){const n=ge();function t(l){var i;const u=j.get(e)||new Set;u.add(l),j.set(e,u);const d=()=>s(l);return(i=n==null?void 0:n.cleanups)==null||i.push(d),d}function o(l){function i(...u){s(i),l(...u)}return t(i)}function s(l){const i=j.get(e);i&&(i.delete(l),i.size||r())}function r(){j.delete(e)}function a(l,i){var u;(u=j.get(e))==null||u.forEach(d=>d(l,i))}return{on:t,once:o,off:s,emit:a,reset:r}}const fe=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Wt(e,n={}){const{document:t=xe,autoExit:o=!1}=n,s=A(()=>{var v;return(v=L(e))!=null?v:t==null?void 0:t.querySelector("html")}),r=h(!1),a=A(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(v=>t&&v in t||s.value&&v in s.value)),l=A(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(v=>t&&v in t||s.value&&v in s.value)),i=A(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(v=>t&&v in t||s.value&&v in s.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(v=>t&&v in t),d=G(()=>s.value&&t&&a.value!==void 0&&l.value!==void 0&&i.value!==void 0),f=()=>u?(t==null?void 0:t[u])===s.value:!1,c=()=>{if(i.value){if(t&&t[i.value]!=null)return t[i.value];{const v=s.value;if((v==null?void 0:v[i.value])!=null)return!!v[i.value]}}return!1};async function m(){if(!(!d.value||!r.value)){if(l.value)if((t==null?void 0:t[l.value])!=null)await t[l.value]();else{const v=s.value;(v==null?void 0:v[l.value])!=null&&await v[l.value]()}r.value=!1}}async function p(){if(!d.value||r.value)return;c()&&await m();const v=s.value;a.value&&(v==null?void 0:v[a.value])!=null&&(await v[a.value](),r.value=!0)}async function w(){await(r.value?m():p())}const S=()=>{const v=c();(!v||v&&f())&&(r.value=v)};return M(t,fe,S,!1),M(()=>L(s),fe,S,!1),o&&N(m),{isSupported:d,isFullscreen:r,enter:p,exit:m,toggle:w}}const de=1;function Rt(e,n={}){const{throttle:t=0,idle:o=200,onStop:s=W,onScroll:r=W,offset:a={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:i="auto",window:u=H,onError:d=b=>{console.error(b)}}=n,f=h(0),c=h(0),m=A({get(){return f.value},set(b){w(b,void 0)}}),p=A({get(){return c.value},set(b){w(void 0,b)}});function w(b,P){var _,y,O,F;if(!u)return;const C=x(e);if(!C)return;(O=C instanceof Document?u.document.body:C)==null||O.scrollTo({top:(_=x(P))!=null?_:p.value,left:(y=x(b))!=null?y:m.value,behavior:x(i)});const $=((F=C==null?void 0:C.document)==null?void 0:F.documentElement)||(C==null?void 0:C.documentElement)||C;m!=null&&(f.value=$.scrollLeft),p!=null&&(c.value=$.scrollTop)}const S=h(!1),v=K({left:!0,right:!1,top:!0,bottom:!1}),E=K({left:!1,right:!1,top:!1,bottom:!1}),k=b=>{S.value&&(S.value=!1,E.left=!1,E.right=!1,E.top=!1,E.bottom=!1,s(b))},D=qe(k,t+o),g=b=>{var P;if(!u)return;const _=((P=b==null?void 0:b.document)==null?void 0:P.documentElement)||(b==null?void 0:b.documentElement)||L(b),{display:y,flexDirection:O}=getComputedStyle(_),F=_.scrollLeft;E.left=F<f.value,E.right=F>f.value;const C=Math.abs(F)<=(a.left||0),$=Math.abs(F)+_.clientWidth>=_.scrollWidth-(a.right||0)-de;y==="flex"&&O==="row-reverse"?(v.left=$,v.right=C):(v.left=C,v.right=$),f.value=F;let z=_.scrollTop;b===u.document&&!z&&(z=u.document.body.scrollTop),E.top=z<c.value,E.bottom=z>c.value;const se=Math.abs(z)<=(a.top||0),ue=Math.abs(z)+_.clientHeight>=_.scrollHeight-(a.bottom||0)-de;y==="flex"&&O==="column-reverse"?(v.top=ue,v.bottom=se):(v.top=se,v.bottom=ue),c.value=z},T=b=>{var P;if(!u)return;const _=(P=b.target.documentElement)!=null?P:b.target;g(_),S.value=!0,D(b),r(b)};return M(e,"scroll",t?Ge(T,t,!0,!1):T,l),q(()=>{try{const b=x(e);if(!b)return;g(b)}catch(b){d(b)}}),M(e,"scrollend",k,l),{x:m,y:p,isScrolling:S,arrivedState:v,directions:E,measure(){const b=x(e);u&&b&&g(b)}}}function Q(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Ct(e,n,t={}){const{window:o=H}=t;return dt(e,n,o==null?void 0:o.localStorage,t)}const vt={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function mt(e={}){const{type:n="page",touch:t=!0,resetOnTouchEnds:o=!1,initialValue:s={x:0,y:0},window:r=H,target:a=r,scroll:l=!0,eventFilter:i}=e;let u=null;const d=h(s.x),f=h(s.y),c=h(null),m=typeof n=="function"?n:vt[n],p=g=>{const T=m(g);u=g,T&&([d.value,f.value]=T,c.value="mouse")},w=g=>{if(g.touches.length>0){const T=m(g.touches[0]);T&&([d.value,f.value]=T,c.value="touch")}},S=()=>{if(!u||!r)return;const g=m(u);u instanceof MouseEvent&&g&&(d.value=g[0]+r.scrollX,f.value=g[1]+r.scrollY)},v=()=>{d.value=s.x,f.value=s.y},E=i?g=>i(()=>p(g),{}):g=>p(g),k=i?g=>i(()=>w(g),{}):g=>w(g),D=i?()=>i(()=>S(),{}):()=>S();if(a){const g={passive:!0};M(a,["mousemove","dragover"],E,g),t&&n!=="movement"&&(M(a,["touchstart","touchmove"],k,g),o&&M(a,"touchend",v,g)),l&&n==="page"&&M(r,"scroll",D,{passive:!0})}return{x:d,y:f,sourceType:c}}function Yt(e,n={}){const{handleOutside:t=!0,window:o=H}=n,s=n.type||"page",{x:r,y:a,sourceType:l}=mt(n),i=h(e??(o==null?void 0:o.document.body)),u=h(0),d=h(0),f=h(0),c=h(0),m=h(0),p=h(0),w=h(!0);let S=()=>{};return o&&(S=R([i,r,a],()=>{const v=L(i);if(!v||!(v instanceof HTMLElement))return;const{left:E,top:k,width:D,height:g}=v.getBoundingClientRect();f.value=E+(s==="page"?o.pageXOffset:0),c.value=k+(s==="page"?o.pageYOffset:0),m.value=g,p.value=D;const T=r.value-f.value,b=a.value-c.value;w.value=D===0||g===0||T<0||b<0||T>D||b>g,(t||!w.value)&&(u.value=T,d.value=b)},{immediate:!0}),M(document,"mouseleave",()=>{w.value=!0})),{x:r,y:a,sourceType:l,elementX:u,elementY:d,elementPositionX:f,elementPositionY:c,elementHeight:m,elementWidth:p,isOutside:w,stop:S}}function Nt(e={}){const{touch:n=!0,drag:t=!0,capture:o=!1,initialValue:s=!1,window:r=H}=e,a=h(s),l=h(null);if(!r)return{pressed:a,sourceType:l};const i=f=>()=>{a.value=!0,l.value=f},u=()=>{a.value=!1,l.value=null},d=A(()=>L(e.target)||r);return M(d,"mousedown",i("mouse"),{passive:!0,capture:o}),M(r,"mouseleave",u,{passive:!0,capture:o}),M(r,"mouseup",u,{passive:!0,capture:o}),t&&(M(d,"dragstart",i("mouse"),{passive:!0,capture:o}),M(r,"drop",u,{passive:!0,capture:o}),M(r,"dragend",u,{passive:!0,capture:o})),n&&(M(d,"touchstart",i("touch"),{passive:!0,capture:o}),M(r,"touchend",u,{passive:!0,capture:o}),M(r,"touchcancel",u,{passive:!0,capture:o})),{pressed:a,sourceType:l}}function zt(e={}){const{window:n=H}=e,t=G(()=>n&&"screen"in n&&"orientation"in n.screen),o=t.value?n.screen.orientation:{},s=h(o.type),r=h(o.angle||0);return t.value&&M(n,"orientationchange",()=>{s.value=o.type,r.value=o.angle}),{isSupported:t,orientation:s,angle:r,lockOrientation:i=>t.value&&typeof o.lock=="function"?o.lock(i):Promise.reject(new Error("Not supported")),unlockOrientation:()=>{t.value&&typeof o.unlock=="function"&&o.unlock()}}}function Oe(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:Oe(t)}}function pt(e){const n=e||window.event,t=n.target;return Oe(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const Z=new WeakMap;function It(e,n=!1){const t=h(n);let o=null,s="";R(Me(e),l=>{const i=Q(x(l));if(i){const u=i;if(Z.get(u)||Z.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=Q(x(e));!l||t.value||(B&&(o=M(l,"touchmove",i=>{pt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=Q(x(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,Z.delete(l),t.value=!1)};return N(a),A({get(){return t.value},set(l){l?r():a()}})}function Xt(e,n={}){const{threshold:t=50,onSwipe:o,onSwipeEnd:s,onSwipeStart:r,passive:a=!0,window:l=H}=n,i=K({x:0,y:0}),u=K({x:0,y:0}),d=A(()=>i.x-u.x),f=A(()=>i.y-u.y),{max:c,abs:m}=Math,p=A(()=>c(m(d.value),m(f.value))>=t),w=h(!1),S=A(()=>p.value?m(d.value)>m(f.value)?d.value>0?"left":"right":f.value>0?"up":"down":"none"),v=_=>[_.touches[0].clientX,_.touches[0].clientY],E=(_,y)=>{i.x=_,i.y=y},k=(_,y)=>{u.x=_,u.y=y};let D;const g=ht(l==null?void 0:l.document);a?D=g?{passive:!0}:{capture:!1}:D=g?{passive:!1,capture:!0}:{capture:!0};const T=_=>{w.value&&(s==null||s(_,S.value)),w.value=!1},b=[M(e,"touchstart",_=>{if(_.touches.length!==1)return;D.capture&&!D.passive&&_.preventDefault();const[y,O]=v(_);E(y,O),k(y,O),r==null||r(_)},D),M(e,"touchmove",_=>{if(_.touches.length!==1)return;const[y,O]=v(_);k(y,O),!w.value&&p.value&&(w.value=!0),w.value&&(o==null||o(_))},D),M(e,["touchend","touchcancel"],T,D)];return{isPassiveEventSupported:g,isSwiping:w,direction:S,coordsStart:i,coordsEnd:u,lengthX:d,lengthY:f,stop:()=>b.forEach(_=>_())}}function ht(e){if(!e)return!1;let n=!1;const t={get passive(){return n=!0,!1}};return e.addEventListener("x",W,t),e.removeEventListener("x",W),n}function $t(e={}){const{window:n=H,behavior:t="auto"}=e;if(!n)return{x:h(0),y:h(0)};const o=h(n.scrollX),s=h(n.scrollY),r=A({get(){return o.value},set(l){scrollTo({left:l,behavior:t})}}),a=A({get(){return s.value},set(l){scrollTo({top:l,behavior:t})}});return M(n,"scroll",()=>{o.value=n.scrollX,s.value=n.scrollY},{capture:!1,passive:!0}),{x:r,y:a}}function jt(e={}){const{window:n=H,initialWidth:t=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:r=!0,type:a="inner"}=e,l=h(t),i=h(o),u=()=>{n&&(a==="outer"?(l.value=n.outerWidth,i.value=n.outerHeight):r?(l.value=n.innerWidth,i.value=n.innerHeight):(l.value=n.document.documentElement.clientWidth,i.value=n.document.documentElement.clientHeight))};if(u(),q(u),M("resize",u,{passive:!0}),s){const d=st("(orientation: portrait)");R(d,()=>u())}return{width:l,height:i}}function Bt(e=null,n){const t=h(e),o=A({set:r=>r?Y.start():Y.done(),get:()=>typeof t.value=="number"&&t.value<1});n&&Y.configure(n);const s=Y.set;return Y.set=r=>(t.value=r,s.call(Y,r)),re(()=>{typeof t.value=="number"&&V&&s.call(Y,t.value)}),N(Y.remove),{isLoading:o,progress:t,start:Y.start,done:Y.done,remove:()=>{t.value=null,Y.remove()}}}function Te(e){var n;const t=x(e);return(n=t==null?void 0:t.$el)!=null?n:t}const Ae=V?window:void 0;function X(...e){let n,t,o,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([t,o,s]=e,n=Ae):[n,t,o,s]=e,!n)return W;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(d=>d()),r.length=0},l=(d,f,c,m)=>(d.addEventListener(f,c,m),()=>d.removeEventListener(f,c,m)),i=R(()=>[Te(n),x(s)],([d,f])=>{if(a(),!d)return;const c=be(f)?{...f}:f;r.push(...t.flatMap(m=>o.map(p=>l(d,m,p,c))))},{immediate:!0,flush:"post"}),u=()=>{i(),a()};return N(u),u}const wt=500,gt=10;function ve(e,n,t){var o,s;const r=A(()=>Te(e));let a,l,i,u=!1;function d(){a&&(clearTimeout(a),a=void 0),l=void 0,i=void 0,u=!1}function f(v){var E,k,D;const[g,T,b]=[i,l,u];if(d(),!(t!=null&&t.onMouseUp)||!T||!g||(E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value)return;(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation();const P=v.x-T.x,_=v.y-T.y,y=Math.sqrt(P*P+_*_);t.onMouseUp(v.timeStamp-g,y,b)}function c(v){var E,k,D,g;(E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value||(d(),(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation(),l={x:v.x,y:v.y},i=v.timeStamp,a=setTimeout(()=>{u=!0,n(v)},(g=t==null?void 0:t.delay)!=null?g:wt))}function m(v){var E,k,D,g;if((E=t==null?void 0:t.modifiers)!=null&&E.self&&v.target!==r.value||!l||(t==null?void 0:t.distanceThreshold)===!1)return;(k=t==null?void 0:t.modifiers)!=null&&k.prevent&&v.preventDefault(),(D=t==null?void 0:t.modifiers)!=null&&D.stop&&v.stopPropagation();const T=v.x-l.x,b=v.y-l.y;Math.sqrt(T*T+b*b)>=((g=t==null?void 0:t.distanceThreshold)!=null?g:gt)&&d()}const p={capture:(o=t==null?void 0:t.modifiers)==null?void 0:o.capture,once:(s=t==null?void 0:t.modifiers)==null?void 0:s.once},w=[X(r,"pointerdown",c,p),X(r,"pointermove",m,p),X(r,["pointerup","pointerleave"],f,p)];return()=>w.forEach(v=>v())}const Vt={[_e.mounted](e,n){typeof n.value=="function"?ve(e,n.value,{modifiers:n.modifiers}):ve(e,...n.value)}};function me(e,n={}){const{delayEnter:t=0,delayLeave:o=0,window:s=Ae}=n,r=h(!1);let a;const l=i=>{const u=i?t:o;a&&(clearTimeout(a),a=void 0),u?a=setTimeout(()=>r.value=i,u):r.value=i};return s&&(X(e,"mouseenter",()=>l(!0),{passive:!0}),X(e,"mouseleave",()=>l(!1),{passive:!0})),r}const qt={[_e.mounted](e,n){const t=n.value;if(typeof t=="function"){const o=me(e);R(o,s=>t(s))}else{const[o,s]=t,r=me(e,s);R(r,a=>o(a))}}};function ee(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ke(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const t=e.parentNode;return!t||t.tagName==="BODY"?!1:ke(t)}}function yt(e){const n=e||window.event,t=n.target;return ke(t)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const te=new WeakMap;function St(e,n=!1){const t=h(n);let o=null,s="";R(Me(e),l=>{const i=ee(x(l));if(i){const u=i;if(te.get(u)||te.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=ee(x(e));!l||t.value||(B&&(o=X(l,"touchmove",i=>{yt(i)},{passive:!1})),l.style.overflow="hidden",t.value=!0)},a=()=>{const l=ee(x(e));!l||!t.value||(B&&(o==null||o()),l.style.overflow=s,te.delete(l),t.value=!1)};return N(a),A({get(){return t.value},set(l){l?r():a()}})}function bt(){let e=!1;const n=h(!1);return(t,o)=>{if(n.value=o.value,e)return;e=!0;const s=St(t,o.value);R(n,r=>s.value=r)}}bt();export{Ft as A,De as B,Dt as a,st as b,Mt as c,zt as d,jt as e,Pt as f,Xt as g,$t as h,Bt as i,Ht as j,It as k,mt as l,Yt as m,Nt as n,At as o,Rt as p,kt as q,xt as r,M as s,Lt as t,Ct as u,Wt as v,Tt as w,Ot as x,qt as y,Vt as z};
@@ -0,0 +1 @@
1
+ import{f as ee,u as se,c as oe,r as re,_ as ae,d as te}from"./main.CNzh1Rg5.0.0.30-alpha.0.js";import{G as ne,r as g,K as le,b as O,P as ie,S as t,u as e,f as o,U as d,N as r,m as b,d as me,k as de,W as M,p as ue,g as N}from"./@vue.BeJw0wEm.0.0.30-alpha.0.js";import{m as E,a as j,X as D}from"./@mdi.DnMbZhUH.0.0.30-alpha.0.js";import{F as f,a as ce}from"./vee-validate.DLoDjJ2f.0.0.30-alpha.0.js";import{i as R}from"./vue3-toastify.CjNgo6aC.0.0.30-alpha.0.js";import{s as pe}from"./pinia.BPnxDxQ3.0.0.30-alpha.0.js";import{c as F,d as U,e as G,z as K,V as W,b as X}from"./vuetify.Box3fVLm.0.0.30-alpha.0.js";import{u as fe}from"./vue-i18n.1W5jhc7l.0.0.30-alpha.0.js";import"./axios.C-n2IhIP.0.0.30-alpha.0.js";import"./@tanstack.CTzdjGxD.0.0.30-alpha.0.js";import"./@camera.ui.KA9bRSoR.0.0.30-alpha.0.js";import"./vue-router.CgUDt9kL.0.0.30-alpha.0.js";import"./@vueuse.DK7Mz0BT.0.0.30-alpha.0.js";import"./nprogress.C2KbBHcZ.0.0.30-alpha.0.js";import"./@xterm.CnserxUX.0.0.30-alpha.0.js";import"./@vee-validate.BJKTyKHK.0.0.30-alpha.0.js";import"./zod.DnW1_kUe.0.0.30-alpha.0.js";import"./uuid.DvF23Exx.0.0.30-alpha.0.js";import"./socket.io-client.Cf7ABgrO.0.0.30-alpha.0.js";import"./engine.io-client.di4Pt8W8.0.0.30-alpha.0.js";import"./engine.io-parser.BiEtp6m2.0.0.30-alpha.0.js";import"./@socket.io.Dkula2eQ.0.0.30-alpha.0.js";import"./socket.io-parser.DHnwqfTj.0.0.30-alpha.0.js";import"./rxjs.Dl5P76vZ.0.0.30-alpha.0.js";import"./tslib.9k7AwCpt.0.0.30-alpha.0.js";import"./vue-inline-svg.Cc6uL4nI.0.0.30-alpha.0.js";import"./v-calendar.u5cKUC4g.0.0.30-alpha.0.js";import"./@popperjs.BQBsAJpH.0.0.30-alpha.0.js";import"./@intlify.YW_pt133.0.0.30-alpha.0.js";const ve={class:"relative"},ge={class:"subview-title text-color"},be={class:"image-upload ml-auto"},_e={for:"file-input"},he={class:"inner-component p-4"},ye={class:"relative"},we={for:"username",class:"v-label"},xe={class:"relative"},ke={for:"password",class:"v-label"},Ce={class:"relative"},Me={for:"passwordConfirm",class:"v-label"},$e={class:"relative"},Ve={for:"sessionTimer",class:"v-label"},Le={key:0,style:{"padding-top":"22px"}},Se={class:"relative"},Ie={class:"flex flex-row"},ze={class:"v-label m-0 mb-0 ml-2",for:"rememberMe"},Fe={class:"text-sm"},Pe={class:"relative"},Te={class:"flex flex-row"},Ae={class:"v-label m-0 mb-0 ml-2",for:"oneLogin"},Be={class:"text-sm"},Oe=ne({__name:"Account",setup(Ne){var T,A;const{smallMobileActive:P}=ee(),$=se(),q=fe(),{loginState:a}=pe($),V=g("avatar"),w=g(),L=g(),_=g(!1),x=g(!1),k=g(!1);let S=((T=a.value.user)==null?void 0:T.rememberMe)??!1,I=((A=a.value.user)==null?void 0:A.oneLogin)??!1;const H=()=>{a.value.user&&(a.value.user.rememberMe=!a.value.user.rememberMe)},J=()=>{a.value.user&&(a.value.user.oneLogin=!a.value.user.oneLogin)},Q=()=>{L.value&&(L.value.resetForm(),V.value="avatar",w.value=void 0),a.value.user&&(a.value.user.rememberMe=S,a.value.user.oneLogin=I)},Y=async n=>{var u;const s=(u=n.target)==null?void 0:u.files;w.value=s==null?void 0:s[0],V.value=await re(n)},Z=async n=>{var h,y,l,i,m,p,C;_.value=!0;let s;const u={...n};delete u.upload;const z=((h=a.value.user)==null?void 0:h.username)!==u.username||u.password&&u.passwordConfirm,v=Object.entries(u).some(([,c])=>c!==void 0);if(w.value&&(s=new FormData,s.append("upload",w.value)),!v&&!s){_.value=!1;return}try{await $.updateUser(u,s,!0),R.success(q.t("components.toast.profile_updated")),S=((y=a.value.user)==null?void 0:y.rememberMe)??S,I=((l=a.value.user)==null?void 0:l.oneLogin)??I,z&&$.logout()}catch(c){R.error(((m=(i=c.response)==null?void 0:i.data)==null?void 0:m.message)??c.message??c),console.error(((C=(p=c.response)==null?void 0:p.data)==null?void 0:C.message)??c.message??c)}_.value=!1};return(n,s)=>{const u=ae,z=le("v-number-input");return O(),ie(e(ce),{ref_key:"form",ref:L,class:"flex flex-col w-full","validation-schema":e(oe),onSubmit:s[3]||(s[3]=v=>Z(v))},{default:t(()=>{var v,h,y;return[o("div",ve,[o("span",ge,d(n.$t("views.settings.profile")),1),o("div",be,[o("label",_e,[r(u,{src:e(V),size:"4rem",style:{"border-radius":"4rem",border:"1px solid var(--border)"}},null,8,["src"]),r(e(f),{id:"file-input",type:"file",name:"upload",accept:"image/png,image/jpeg,image/jpg",onChange:s[0]||(s[0]=l=>Y(l))})])]),o("div",he,[o("div",ye,[o("label",we,d(n.$t("components.form.label.username")),1),r(e(f),{name:"username",value:(v=e(a).user)==null?void 0:v.username},{default:t(({field:l,errorMessage:i,errors:m})=>[r(F,b({name:"username",variant:"outlined",density:"compact"},l,{type:"text",error:m.length>0,"error-messages":i}),null,16,["error","error-messages"])]),_:1},8,["value"])]),s[4]||(s[4]=o("div",{class:"py-1"},null,-1)),o("div",xe,[o("label",ke,d(n.$t("components.form.label.new_password")),1),r(e(f),{name:"password"},{default:t(({field:l,errorMessage:i,errors:m})=>[r(F,b({name:"password",variant:"outlined",density:"compact"},l,{type:e(x)?"text":"password",error:m.length>0,"error-messages":i,"append-inner-icon":e(x)?e(E):e(j),"onClick:appendInner":s[1]||(s[1]=p=>x.value=!e(x))}),null,16,["type","error","error-messages","append-inner-icon"])]),_:1})]),s[5]||(s[5]=o("div",{class:"py-1"},null,-1)),o("div",Ce,[o("label",Me,d(n.$t("components.form.label.new_password_confirm")),1),r(e(f),{name:"passwordConfirm"},{default:t(({field:l,errorMessage:i,errors:m})=>[r(F,b({name:"passwordConfirm",variant:"outlined",density:"compact"},l,{type:e(k)?"text":"password",error:m.length>0,"error-messages":i,"append-inner-icon":e(k)?e(E):e(j),"onClick:appendInner":s[2]||(s[2]=p=>k.value=!e(k))}),null,16,["type","error","error-messages","append-inner-icon"])]),_:1})]),s[6]||(s[6]=o("div",{class:"py-1"},null,-1)),o("div",$e,[o("label",Ve,d(n.$t("components.form.label.session_timer")),1),r(e(f),{name:"sessionTimer",value:(h=e(a).user)==null?void 0:h.sessionTimer},{default:t(({field:l,errorMessage:i,errors:m,value:p,setValue:C})=>{var c,B;return[r(z,b({name:"sessionTimer",variant:"outlined",density:"compact"},l,{type:"number",step:600,error:m.length>0,"error-messages":i,disabled:(c=e(a).user)==null?void 0:c.rememberMe,"hide-details":(B=e(a).user)==null?void 0:B.rememberMe,onChange:()=>p===""?C(14400):void 0}),null,16,["error","error-messages","disabled","hide-details","onChange"])]}),_:1},8,["value"])]),s[7]||(s[7]=o("div",{class:"py-1"},null,-1)),(y=e(a).user)!=null&&y.rememberMe?(O(),me("div",Le)):de("",!0),o("div",Se,[r(e(f),{name:"rememberMe",type:"checkbox","checked-value":!0,"unchecked-value":!1},{default:t(({field:l,errorMessage:i,errors:m})=>[o("div",Ie,[r(U,b({"model-value":e(a).user.rememberMe,name:"rememberMe"},l,{color:"#df2a4c",type:"checkbox",error:m.length>0,"error-messages":i,"hide-details":"",onChange:H}),null,16,["model-value","error","error-messages"]),o("label",ze,d(n.$t("components.form.label.remember_me")),1)])]),_:1}),r(K,{variant:"tonal",color:"#df2a4c"},{prepend:t(()=>[r(G,{color:"#df2a4c",size:"20",class:"mt-1"},{default:t(()=>[M(d(e(D)),1)]),_:1})]),default:t(()=>[o("span",Fe,d(n.$t("components.form.hint.remember_me")),1)]),_:1})]),s[8]||(s[8]=o("div",{class:"py-2"},null,-1)),o("div",Pe,[r(e(f),{name:"oneLogin",type:"checkbox","checked-value":!0,"unchecked-value":!1},{default:t(({field:l,errorMessage:i,errors:m})=>{var p;return[o("div",Te,[r(U,b({"model-value":(p=e(a).user)==null?void 0:p.oneLogin,name:"oneLogin"},l,{color:"#df2a4c",type:"checkbox",error:m.length>0,"error-messages":i,"hide-details":"",onChange:J}),null,16,["model-value","error","error-messages"]),o("label",Ae,d(n.$t("components.form.label.one_login")),1)])]}),_:1}),r(K,{variant:"tonal",color:"#df2a4c"},{prepend:t(()=>[r(G,{color:"#df2a4c",size:"20",class:"mt-1"},{default:t(()=>[M(d(e(D)),1)]),_:1})]),default:t(()=>[o("span",Be,d(n.$t("components.form.hint.one_login")),1)]),_:1})]),s[9]||(s[9]=o("div",{class:"py-2"},null,-1))])]),o("div",{class:N(["flex flex-row my-5",{"mr-3":e(P)}])},[r(X,{class:"ml-auto mr-2 text-color bg-color-lighten",elevation:"0",tonal:"",style:{border:"1px solid rgba(var(--border-rgb), 0.75)"},loading:e(_),onClick:ue(Q,["prevent"])},{loader:t(()=>[r(W,{class:"text-color",size:"14",width:"2",indeterminate:""})]),default:t(()=>[M(d(n.$t("components.form.button.cancel")),1)]),_:1},8,["loading"]),r(X,{class:N(["text-white bg-color-primary",{"mr-2":e(P)}]),loading:e(_),elevation:"0",tonal:"",style:{border:"1px solid var(--color-primary-darken-2)"},type:"submit"},{loader:t(()=>[r(W,{color:"#fff",size:"14",width:"2",indeterminate:""})]),default:t(()=>[M(d(n.$t("components.form.button.save")),1)]),_:1},8,["loading","class"])],2)]}),_:1},8,["validation-schema"])}}}),fs=te(Oe,[["__scopeId","data-v-cafc8a1b"]]);export{fs as default};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["vue3-apexcharts.D8ONfVUq.0.0.30-alpha.0.js","apexcharts.BV8prH5x.0.0.30-alpha.0.js","@xterm.CnserxUX.0.0.30-alpha.0.js","assets/@xterm.0.0.30-alpha.0.CGrrDQr5.css","@vue.BeJw0wEm.0.0.30-alpha.0.js"])))=>i.map(i=>d[i]);
2
+ var be=Object.defineProperty;var xe=(g,r,m)=>r in g?be(g,r,{enumerable:!0,configurable:!0,writable:!0,value:m}):g[r]=m;var ce=(g,r,m)=>xe(g,typeof r!="symbol"?r+"":r,m);import{G as B,t as ve,r as c,E as Y,c as I,K as fe,b as L,P,S as o,f as x,u as a,W as $,U as W,d as ee,k as he,e as te,p as M,N as p,ar as ke,A as _e,w as G,a3 as J,m as ue,ap as Q,V as we,g as de}from"./@vue.BeJw0wEm.0.0.30-alpha.0.js";import{ay as We,at as me}from"./@mdi.DnMbZhUH.0.0.30-alpha.0.js";import{i as U,u as Le,s as ae,O as Ne,Q as Se,d as X,a as Ce,N as Te,y as H,P as f,x as ge,f as Pe}from"./main.CNzh1Rg5.0.0.30-alpha.0.js";import{s as ye}from"./pinia.BPnxDxQ3.0.0.30-alpha.0.js";import{l as se,T as oe,b as re,e as ne,a0 as Oe,a1 as Z,X as pe,m as z}from"./vuetify.Box3fVLm.0.0.30-alpha.0.js";import{i as ie}from"./vue3-toastify.CjNgo6aC.0.0.30-alpha.0.js";import{P as De}from"./plugins.DIEspWyc.0.0.30-alpha.0.js";import{u as Ee,a as Re,b as $e}from"./@tanstack.CTzdjGxD.0.0.30-alpha.0.js";import{S as Ae}from"./system.23ZKsQ9W.0.0.30-alpha.0.js";import"./vue-i18n.1W5jhc7l.0.0.30-alpha.0.js";import"./@intlify.YW_pt133.0.0.30-alpha.0.js";import"./axios.C-n2IhIP.0.0.30-alpha.0.js";import"./@camera.ui.KA9bRSoR.0.0.30-alpha.0.js";import"./vue-router.CgUDt9kL.0.0.30-alpha.0.js";import"./@vueuse.DK7Mz0BT.0.0.30-alpha.0.js";import"./nprogress.C2KbBHcZ.0.0.30-alpha.0.js";import"./@xterm.CnserxUX.0.0.30-alpha.0.js";import"./vee-validate.DLoDjJ2f.0.0.30-alpha.0.js";import"./@vee-validate.BJKTyKHK.0.0.30-alpha.0.js";import"./zod.DnW1_kUe.0.0.30-alpha.0.js";import"./uuid.DvF23Exx.0.0.30-alpha.0.js";import"./socket.io-client.Cf7ABgrO.0.0.30-alpha.0.js";import"./engine.io-client.di4Pt8W8.0.0.30-alpha.0.js";import"./engine.io-parser.BiEtp6m2.0.0.30-alpha.0.js";import"./@socket.io.Dkula2eQ.0.0.30-alpha.0.js";import"./socket.io-parser.DHnwqfTj.0.0.30-alpha.0.js";import"./rxjs.Dl5P76vZ.0.0.30-alpha.0.js";import"./tslib.9k7AwCpt.0.0.30-alpha.0.js";import"./vue-inline-svg.Cc6uL4nI.0.0.30-alpha.0.js";import"./v-calendar.u5cKUC4g.0.0.30-alpha.0.js";import"./@popperjs.BQBsAJpH.0.0.30-alpha.0.js";var A=(g=>(g.READY="ready",g.RESTARTING="restarting",g.STARTING="starting",g.STARTED="started",g.STOPPED="stopped",g.ERROR="error",g.UNKNOWN="unknown",g))(A||{});const Ie={class:"flex items-center first-item"},Fe={key:1},Ve={class:"text-center pt-2"},Qe=B({__name:"VUserTable",props:{loading:{type:Boolean,default:!1}},setup(g){const r=g,{t:m}=U.global,S=new Se,T=Le(),{isTouch:N}=ae(),{loginState:u}=ye(T),{loading:h}=ve(r),l=c({pageSize:5,page:1}),y=Y([{title:m("components.user_table.title_username"),align:"start",key:"username",value:"decoded.username",sortable:!0},{title:m("components.user_table.title_role"),align:"start",key:"role",value:"decoded.role",sortable:!0},{title:m("components.user_table.title_address"),align:"start",key:"address",value:"clientData.address",sortable:!0},{title:m("components.user_table.title_device"),align:"start",key:"device",value:"clientData.device",sortable:!0},{title:"",align:"end",key:"delete",value:"delete",width:"120px",sortable:!1}]),_=I(()=>O.value||i.value||h.value),k=I(()=>{var D;const R=Math.ceil((((D=w.value)==null?void 0:D.pagination.totalItems)||0)/l.value.pageSize);return R===1&&(l.value.page=1),R}),C=I(()=>{var R;return(R=w.value)==null?void 0:R.result.map(D=>({encoded:D.token,decoded:Ne(D.token.access_token),clientData:D.clientData}))}),{data:w,isLoading:i,isPlaceholderData:v}=S.listQuery(l,!0),{mutate:F,isPending:O}=S.logoutTokenQuery(),j=()=>{l.value.page=Math.max(l.value.page-1,1)},K=()=>{v.value||(l.value.page=l.value.page+1)};return(R,D)=>{const V=fe("router-link");return L(),P(Z,{"items-per-page":a(l).pageSize,headers:a(y),items:a(C),class:"elevation-0","item-value":"username","hide-default-footer":"","mobile-breakpoint":"sm",hover:""},{"item.username":o(({item:E})=>[x("div",Ie,[E.encoded.access_token===a(u).access_token?(L(),P(V,{key:0,to:"/settings/account"},{default:o(()=>[$(W(E.decoded.username),1)]),_:2},1024)):(L(),ee("div",Fe,W(E.decoded.username),1)),E.encoded.access_token===a(u).access_token?(L(),P(se,{key:2,color:"#df2a4c",class:"ml-2",inline:"",content:R.$t("components.user_table.you")},null,8,["content"])):he("",!0)])]),"item.delete":o(({item:E})=>[te((L(),P(re,{color:"#df2a4c",density:"compact",loading:a(_),icon:"",onClick:M(q=>a(F)({id:E.encoded._id,access_token:E.encoded.access_token}),["prevent"])},{default:o(()=>[p(ne,{size:"20"},{default:o(()=>[$(W(a(We)),1)]),_:1})]),_:2},1032,["loading","onClick"])),[[oe,{disabled:a(N),text:R.$t("components.form.tooltip.restart")}]])]),bottom:o(()=>[x("div",Ve,[p(Oe,{modelValue:a(l).page,"onUpdate:modelValue":D[0]||(D[0]=E=>a(l).page=E),length:a(k),onPrev:M(j,["prevent"]),onNext:M(K,["prevent"])},null,8,["modelValue","length"])])]),_:1},8,["items-per-page","headers","items"])}}}),ze=X(Qe,[["__scopeId","data-v-0f04954a"]]),je={key:0,class:"text-disabled"},le=B({__name:"VMetricCharts",props:{type:{},processInfo:{},maxDataPoints:{default:30},width:{default:200},height:{default:25},chartType:{default:"bar"}},async setup(g){let r,m;const S=([r,m]=ke(()=>Te(()=>import("./vue3-apexcharts.D8ONfVUq.0.0.30-alpha.0.js"),__vite__mapDeps([0,1,2,3,4]))),r=await r,m(),r).default,T=Ce(),N=g,{theme:u}=ye(T),{type:h,processInfo:l,maxDataPoints:y,chartType:_}=ve(N),k=I(()=>{const v=(l.value||[]).map(O=>h.value==="cpu"?O.cpuLoad:O.memLoad).slice(-y.value);return[{data:[...v,...Array(y.value-v.length).fill(0)].map(O=>parseFloat(O))}]}),C=I(()=>{const v=(l.value||[]).map(O=>O.timestamp).slice(-y.value);return[{data:[...v,...Array(y.value-v.length).fill(0)]}]}),w=I(()=>({chart:{type:_.value,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"80%"}},colors:[({value:i})=>i>=90?"#FA5252":i>=50?"#FF9966":"#df2a4c"],xaxis:{crosshairs:{width:1},axisBorder:{show:!1},axisTicks:{show:!1},categories:C.value[0].data},yaxis:{show:!1,labels:{formatter:i=>Math.ceil(i).toString()},min:0},tooltip:{theme:u.value,fixed:{enabled:!1},marker:{show:!1},y:{title:{formatter:function(){return""}},formatter:i=>`${i} %`},x:{formatter:i=>new Date(i).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}}}));return(i,v)=>(L(),ee("div",null,[!a(l)||!a(l).length?(L(),ee("span",je,W(i.$t("components.charts.no_data")),1)):(L(),P(a(S),{key:1,type:a(_),options:a(w),series:a(k),height:i.height,width:i.width,"data-no-clone":""},null,8,["type","options","series","height","width"]))]))}}),Ke={class:"flex items-center first-item"},Be=B({__name:"VPluginTable",setup(g){const{t:r}=U.global,{isTouch:m}=ae(),S=H(),T=new De,N=c(),u=c(),h=c({}),l=c([]),y=c(30),_=c(200),k=c(32),C={pid:-1,cpuLoad:"0.00",memLoad:"0.00",timestamp:0},w=c({}),i=c({}),v=I(()=>Object.values(w.value).filter(e=>{var t;const s=(t=O.value)==null?void 0:t.result.find(n=>n.pluginName===e.name);if(s&&!s.disabled)return e}).filter(Boolean)),F=Y([{title:r("components.process_table.title_name"),align:"start",key:"name",value:"name",minWidth:"200px",sortable:!0},{title:r("components.process_table.title_pid"),align:"start",key:"pid",value:"pid",width:"100px",minWidth:"100px",maxWidth:"100px",sortable:!0},{title:r("components.process_table.title_cpu"),align:"start",key:"cpuLoad",value:"cpuLoad",width:"103px",minWidth:"103px",maxWidth:"103px",sortable:!0},{title:"",align:"start",key:"cpuLoadChart",value:"cpuLoadChart",width:_.value+k.value,minWidth:_.value+k.value,maxWidth:_.value+k.value,sortable:!1},{title:r("components.process_table.title_memory"),align:"start",key:"memLoad",value:"memLoad",width:"103px",minWidth:"103px",maxWidth:"103px",sortable:!0},{title:"",align:"start",key:"memLoadChart",value:"memLoadChart",width:_.value+k.value,minWidth:_.value+k.value,maxWidth:_.value+k.value,sortable:!1},{title:"",align:"end",key:"restart",value:"restart",width:"60px",minWidth:"60px",maxWidth:"60px",sortable:!1}]),{data:O,isLoading:j,suspense:K}=T.getPluginsQuery(_e({page:1,pageSize:-1})),{mutateAsync:R}=T.restartPluginQuery(),D=I(()=>e=>l.value.includes(e));G(i,e=>{for(const[s,t]of Object.entries(e))w.value[s]=t[t.length-1]??{name:s,...C}},{deep:!0,immediate:!0}),G(O,e=>{if(e)for(const s of e.result)s.disabled||(i.value[s.pluginName]||(i.value[s.pluginName]=[]),h.value[s.pluginName]||(h.value[s.pluginName]={name:s.pluginName,status:f.UNKNOWN}))},{deep:!0,immediate:!0});const V=e=>{var t;switch(((t=h.value[e])==null?void 0:t.status)??f.UNKNOWN){case f.ERROR:return"#9d5752";case f.STARTING:return"orange";case f.READY:return"yellow";case f.STARTED:return"green";case f.STOPPED:return"red";case f.DISABLED:return"#2196f3";case f.UNKNOWN:return"gray";default:return"gray"}},E=e=>{var t;switch(((t=h.value[e])==null?void 0:t.status)??f.UNKNOWN){case f.ERROR:return r("components.process_table.status_error");case f.STOPPED:return r("components.process_table.status_stopped");case f.READY:return r("components.process_table.status_ready");case f.STARTING:return r("components.process_table.status_starting");case f.STARTED:return r("components.process_table.status_started");default:return r("components.process_table.status_unknown")}},q=async e=>{var s,t,n,d;l.value.push(e);try{await R({pluginName:e})}catch(b){console.error(((t=(s=b.response)==null?void 0:s.data)==null?void 0:t.message)??b.message??b),ie.error(((d=(n=b.response)==null?void 0:n.data)==null?void 0:d.message)??b.message??b)}finally{l.value=l.value.filter(b=>b!==e)}};return J(async()=>{if(N.value=S.getExistingNamespace("/metrics"),u.value=S.getExistingNamespace("/status"),!N.value)throw new Error("Not connected to metrics!");if(!u.value)throw new Error("Not connected to status!");await K(),await new Promise(e=>setTimeout(e,10)),u.value.socket.emit("get-plugin-process-status"),u.value.socket.on("plugin-process-status",e=>{for(const[s,t]of Object.entries(e))h.value[s]=t}),N.value.request("get-plugins-process-info").subscribe(e=>{i.value=e}),N.value.socket.on("process-infos",e=>{const s=e.plugins;Object.keys(i.value).forEach(t=>{s[t]||delete i.value[t]}),Object.keys(w.value).forEach(t=>{s[t]||delete w.value[t]});for(const[t,n]of Object.entries(s))i.value[t]||(i.value[t]=[]),i.value[t].push(n)})}),(e,s)=>{const t=fe("router-link"),n=le;return L(),P(Z,{"items-per-page":-1,headers:a(F),items:a(v),class:"elevation-0",loading:a(j),"hide-default-footer":"","mobile-breakpoint":"sm",hover:""},{"item.name":o(({item:d})=>[x("div",Ke,[p(pe,{location:"top",text:E(d.name)},{activator:o(({props:b})=>[p(se,ue(b,{color:V(d.name),dot:"",inline:""}),null,16,["color"])]),_:2},1032,["text"]),p(t,{to:`/plugins/${d.name}`,class:"ml-1"},{default:o(()=>[$(W(d.name),1)]),_:2},1032,["to"])])]),"item.cpuLoad":o(({item:d})=>[p(z,{color:parseFloat(d.cpuLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:o(()=>[$(W(d.cpuLoad)+" %",1)]),_:2},1032,["color"])]),"item.cpuLoadChart":o(({item:d})=>[(L(),P(Q,null,{default:o(()=>[p(n,{type:"cpu","max-data-points":a(y),"process-info":a(i)[d.name]},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.memLoad":o(({item:d})=>[p(z,{color:parseFloat(d.memLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:o(()=>[$(W(d.memLoad)+" %",1)]),_:2},1032,["color"])]),"item.memLoadChart":o(({item:d})=>[(L(),P(Q,null,{default:o(()=>[p(n,{type:"memory","max-data-points":a(y),"process-info":a(i)[d.name]},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.restart":o(({item:d})=>[te((L(),P(re,{color:"#df2a4c",density:"compact",loading:a(D)(d.name),icon:"",onClick:M(b=>q(d.name),["prevent"])},{default:o(()=>[p(ne,{size:"20"},{default:o(()=>[$(W(a(me)),1)]),_:1})]),_:2},1032,["loading","onClick"])),[[oe,{disabled:a(m),text:e.$t("components.form.tooltip.restart")}]])]),bottom:o(()=>s[0]||(s[0]=[])),_:1},8,["headers","items","loading"])}}}),qe=X(Be,[["__scopeId","data-v-2b785e39"]]),Me=async({parameter:g,signal:r})=>(await ge.get("/frameworkers",{params:g,signal:r})).data,Ge=async({frameWorkerName:g})=>(await ge.put(`/frameworkers/${g}/restart`)).data;class Ue{constructor(){ce(this,"_queryClient",Ee());ce(this,"queryActivator",c([{name:"getFrameWorkersQuery",enabled:!0}]))}get queryClient(){return this._queryClient}getFrameWorkersQuery(r){return Re({queryKey:["frameWorkerList",r],queryFn:({signal:m})=>Me({parameter:a(r),signal:m}),placeholderData:m=>m,enabled:()=>this.queryActivator.value.some(m=>m.name==="getFrameWorkersQuery"&&m.enabled)})}restartFrameWorkerQuery(){return $e({mutationFn:Ge,onSuccess:async(r,m)=>{await this._queryClient.refetchQueries({queryKey:["frameWorkers",m.frameWorkerName]}),ie.success(U.global.t("components.toast.frame_worker_restarted"))}})}toggleQueryActivator(r,m){const S=this.queryActivator.value.find(T=>T.name===r);S&&(S.enabled=m)}}const Ye={class:"flex items-center first-item"},Je={class:"ml-1"},Xe=B({__name:"VFrameWorkerTable",setup(g){const{t:r}=U.global,m=H(),{isTouch:S}=ae(),T=new Ue,N=c(),u=c(),h=c({}),l=c([]),y=c(30),_=c(200),k=c(32),C={pid:-1,cpuLoad:"0.00",memLoad:"0.00",timestamp:0},w=c({}),i=c({}),v=I(()=>Object.values(w.value).filter(Boolean)),F=Y([{title:r("components.process_table.title_name"),align:"start",key:"name",value:"name",minWidth:"200px",sortable:!0},{title:r("components.process_table.title_pid"),align:"start",key:"pid",value:"pid",width:"100px",minWidth:"100px",maxWidth:"100px",sortable:!0},{title:r("components.process_table.title_cpu"),align:"start",key:"cpuLoad",value:"cpuLoad",width:"103px",minWidth:"103px",maxWidth:"103px",sortable:!0},{title:"",align:"start",key:"cpuLoadChart",value:"cpuLoadChart",width:_.value+k.value,minWidth:_.value+k.value,maxWidth:_.value+k.value,sortable:!1},{title:r("components.process_table.title_memory"),align:"start",key:"memLoad",value:"memLoad",width:"103px",minWidth:"103px",maxWidth:"103px",sortable:!0},{title:"",align:"start",key:"memLoadChart",value:"memLoadChart",width:_.value+k.value,minWidth:_.value+k.value,maxWidth:_.value+k.value,sortable:!1},{title:"",align:"end",key:"restart",value:"restart",width:"60px",minWidth:"60px",maxWidth:"60px",sortable:!1}]),{data:O,isLoading:j,suspense:K}=T.getFrameWorkersQuery(_e({page:1,pageSize:-1})),{mutateAsync:R}=T.restartFrameWorkerQuery(),D=I(()=>e=>l.value.includes(e));G(i,e=>{for(const[s,t]of Object.entries(e))w.value[s]=t[t.length-1]??{name:s,...C}},{deep:!0,immediate:!0}),G(O,e=>{if(e)for(const s of e.result)i.value[s.name]||(i.value[s.name]=[]),h.value[s.name]||(h.value[s.name]={name:s.name,status:f.UNKNOWN})},{deep:!0,immediate:!0});const V=e=>{var t;switch(((t=h.value[e])==null?void 0:t.status)??f.UNKNOWN){case f.ERROR:return"#9d5752";case f.STARTING:return"orange";case f.READY:return"yellow";case f.STARTED:return"green";case f.STOPPED:return"red";case f.DISABLED:return"#2196f3";case f.UNKNOWN:return"gray";default:return"gray"}},E=e=>{var t;switch(((t=h.value[e])==null?void 0:t.status)??f.UNKNOWN){case f.ERROR:return r("components.process_table.status_error");case f.STOPPED:return r("components.process_table.status_stopped");case f.READY:return r("components.process_table.status_ready");case f.STARTING:return r("components.process_table.status_starting");case f.STARTED:return r("components.process_table.status_started");default:return r("components.process_table.status_unknown")}},q=async e=>{var s,t,n,d;l.value.push(e);try{await R({frameWorkerName:e})}catch(b){console.error(((t=(s=b.response)==null?void 0:s.data)==null?void 0:t.message)??b.message??b),ie.error(((d=(n=b.response)==null?void 0:n.data)==null?void 0:d.message)??b.message??b)}finally{l.value=l.value.filter(b=>b!==e)}};return J(async()=>{if(N.value=m.getExistingNamespace("/metrics"),u.value=m.getExistingNamespace("/status"),!N.value)throw new Error("Not connected to metrics!");if(!u.value)throw new Error("Not connected to status!");await K(),await new Promise(e=>setTimeout(e,10)),u.value.socket.emit("get-frameworker-process-status"),u.value.socket.on("frameworker-process-status",e=>{for(const[s,t]of Object.entries(e))h.value[s]=t}),N.value.request("get-frameworker-process-info").subscribe(e=>{i.value=e}),N.value.socket.on("process-infos",e=>{const s=e.workers;Object.keys(i.value).forEach(t=>{s[t]||delete i.value[t]}),Object.keys(w.value).forEach(t=>{s[t]||delete w.value[t]});for(const[t,n]of Object.entries(s))i.value[t]||(i.value[t]=[]),i.value[t].push(n)})}),(e,s)=>{const t=le;return L(),P(Z,{"items-per-page":-1,headers:a(F),items:a(v),class:"elevation-0",loading:a(j),"hide-default-footer":"","mobile-breakpoint":"sm",hover:""},{"item.name":o(({item:n})=>[x("div",Ye,[p(pe,{location:"top",text:E(n.name)},{activator:o(({props:d})=>[p(se,ue(d,{color:V(n.name),dot:"",inline:""}),null,16,["color"])]),_:2},1032,["text"]),x("div",Je,W(n.name),1)])]),"item.cpuLoad":o(({item:n})=>[p(z,{color:parseFloat(n.cpuLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:o(()=>[$(W(n.cpuLoad)+" %",1)]),_:2},1032,["color"])]),"item.cpuLoadChart":o(({item:n})=>[(L(),P(Q,null,{default:o(()=>[p(t,{type:"cpu","max-data-points":a(y),"process-info":a(i)[n.name]},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.memLoad":o(({item:n})=>[p(z,{color:parseFloat(n.memLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:o(()=>[$(W(n.memLoad)+" %",1)]),_:2},1032,["color"])]),"item.memLoadChart":o(({item:n})=>[(L(),P(Q,null,{default:o(()=>[p(t,{type:"memory","max-data-points":a(y),"process-info":a(i)[n.name]},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.restart":o(({item:n})=>[te((L(),P(re,{color:"#df2a4c",density:"compact",loading:a(D)(n.name),icon:"",onClick:M(d=>q(n.name),["prevent"])},{default:o(()=>[p(ne,{size:"20"},{default:o(()=>[$(W(a(me)),1)]),_:1})]),_:2},1032,["loading","onClick"])),[[oe,{disabled:a(S),text:e.$t("components.form.tooltip.restart")}]])]),bottom:o(()=>s[0]||(s[0]=[])),_:1},8,["headers","items","loading"])}}}),He=X(Xe,[["__scopeId","data-v-eaa0affd"]]),Ze={class:"flex items-center first-item"},et={class:"ml-1"},tt=B({__name:"VProcessTable",setup(g){const{t:r}=U.global,m=H(),{isTouch:S}=ae(),T=new Ae,N=c(),u=c(),h=c(30),l=c(200),y=c(32),_=c(A.UNKNOWN),k=c(A.UNKNOWN),C=c(A.UNKNOWN),w={pid:-1,cpuLoad:"0.00",memLoad:"0.00",timestamp:0},i=c({server:{name:"server",...w},go2rtc:{name:"go2rtc",...w},nats:{name:"nats",...w}}),v=c({server:[],go2rtc:[],nats:[]}),F=I(()=>Object.values(i.value).filter(Boolean)),O=Y([{title:r("components.process_table.title_name"),align:"start",key:"name",value:"name",minWidth:"200px",sortable:!0},{title:r("components.process_table.title_pid"),align:"start",key:"pid",value:"pid",width:"100px",minWidth:"100px",maxWidth:"100px",sortable:!0},{title:r("components.process_table.title_cpu"),align:"start",key:"cpuLoad",value:"cpuLoad",width:"103px",minWidth:"103px",maxWidth:"103px",sortable:!0},{title:"",align:"start",key:"cpuLoadChart",value:"cpuLoadChart",width:l.value+y.value,minWidth:l.value+y.value,maxWidth:l.value+y.value,sortable:!1},{title:r("components.process_table.title_memory"),align:"start",key:"memLoad",value:"memLoad",width:"103px",minWidth:"103px",maxWidth:"103px",sortable:!0},{title:"",align:"start",key:"memLoadChart",value:"memLoadChart",width:l.value+y.value,minWidth:l.value+y.value,maxWidth:l.value+y.value,sortable:!1},{title:"",align:"end",key:"restart",value:"restart",width:"60px",minWidth:"60px",maxWidth:"60px",sortable:!1}]),{mutateAsync:j,isPending:K}=T.restartGo2RtcQuery(),{mutateAsync:R,isPending:D}=T.restartServerQuery();G(v,e=>{i.value.server=e.server[e.server.length-1]??{...w,name:"server"},i.value.go2rtc=e.go2rtc[e.go2rtc.length-1]??{...w,name:"go2rtc"},i.value.nats=e.nats[e.nats.length-1]??{...w,name:"nats"}},{deep:!0,immediate:!0});const V=e=>{switch(e){case"server":return _.value;case"go2rtc":return k.value;case"nats":return C.value;default:return A.UNKNOWN}},E=e=>{switch(V(e)){case A.ERROR:return"#9d5752";case A.STARTING:return"orange";case A.READY:return"yellow";case A.STARTED:return"green";case A.STOPPED:return"red";case A.UNKNOWN:return"gray";default:return"gray"}},q=async e=>{var s,t,n,d;try{e==="server"?await R():await j()}catch(b){console.error(((t=(s=b.response)==null?void 0:s.data)==null?void 0:t.message)??b.message??b),ie.error(((d=(n=b.response)==null?void 0:n.data)==null?void 0:d.message)??b.message??b)}};return J(async()=>{if(N.value=m.getExistingNamespace("/metrics"),u.value=m.getExistingNamespace("/status"),!N.value)throw new Error("Not connected to metrics!");if(!u.value)throw new Error("Not connected to status!");await new Promise(e=>setTimeout(e,10)),u.value.socket.emit("get-process-status"),u.value.socket.on("process-status",e=>{e.server&&(_.value=e.server.status),e.go2rtc&&(k.value=e.go2rtc.status),e.nats&&(C.value=e.nats.status)}),N.value.request("get-server-process-info").subscribe(e=>{v.value=e}),N.value.socket.on("process-infos",e=>{const s=e.server,t=e.go2rtc,n=e.nats;v.value.server.push(s),v.value.go2rtc.push(t),v.value.nats.push(n)})}),(e,s)=>{const t=le;return L(),P(Z,{"items-per-page":-1,headers:a(O),items:a(F),class:"elevation-0","hide-default-footer":"","mobile-breakpoint":"sm",hover:""},{"item.name":o(({item:n})=>[x("div",Ze,[p(pe,{location:"top",text:e.$t(`components.process_table.status_${V(n.name)}`)},{activator:o(({props:d})=>[p(se,ue(d,{color:E(n.name),dot:"",inline:""}),null,16,["color"])]),_:2},1032,["text"]),x("div",et,W(n.name),1)])]),"item.cpuLoad":o(({item:n})=>[p(z,{color:parseFloat(n.cpuLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:o(()=>[$(W(n.cpuLoad)+" %",1)]),_:2},1032,["color"])]),"item.cpuLoadChart":o(({item:n})=>[(L(),P(Q,null,{default:o(()=>[p(t,{type:"cpu","max-data-points":a(h),"process-info":n.name==="server"?a(v).server:n.name==="go2rtc"?a(v).go2rtc:a(v).nats},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.memLoad":o(({item:n})=>[p(z,{color:parseFloat(n.cpuLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:o(()=>[$(W(n.cpuLoad)+" %",1)]),_:2},1032,["color"])]),"item.memLoadChart":o(({item:n})=>[(L(),P(Q,null,{default:o(()=>[p(t,{type:"memory","max-data-points":a(h),"process-info":n.name==="server"?a(v).server:n.name==="go2rtc"?a(v).go2rtc:a(v).nats},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.restart":o(({item:n})=>[n.name!=="nats"?te((L(),P(re,{key:0,color:"#df2a4c",density:"compact",loading:n.name==="server"?a(D):a(K),icon:"",onClick:M(d=>q(n.name),["prevent"])},{default:o(()=>[p(ne,{size:"20"},{default:o(()=>[$(W(a(me)),1)]),_:1})]),_:2},1032,["loading","onClick"])),[[oe,{disabled:a(S),text:e.$t("components.form.tooltip.restart")}]]):he("",!0)]),bottom:o(()=>s[0]||(s[0]=[])),_:1},8,["headers","items"])}}}),at=X(tt,[["__scopeId","data-v-19e4bd2a"]]),st=B({__name:"VSystemMetricsTable",setup(g){const{t:r}=U.global,m=H(),S=c(),T=c(),N=c(30),u=c(200),h=c(32),l={cpuLoad:"0.00",memLoad:"0.00",timestamp:0},y=c([{name:"server",...l}]),_=c([]),k=Y([{title:r("components.process_table.title_name"),align:"start",key:"name",value:"name",minWidth:"200px",sortable:!0},{title:r("components.process_table.title_cpu"),align:"start",key:"cpuLoad",value:"cpuLoad",width:"103px",minWidth:"103px",maxWidth:"103px",sortable:!0},{title:"",align:"start",key:"cpuLoadChart",value:"cpuLoadChart",width:u.value+h.value,minWidth:u.value+h.value,maxWidth:u.value+h.value,sortable:!1},{title:r("components.process_table.title_memory"),align:"start",key:"memLoad",value:"memLoad",width:"103px",minWidth:"103px",maxWidth:"103px",sortable:!0},{title:"",align:"start",key:"memLoadChart",value:"memLoadChart",width:u.value+h.value,minWidth:u.value+h.value,maxWidth:u.value+h.value,sortable:!1},{title:"",align:"end",key:"restart",value:"restart",width:"60px",minWidth:"60px",maxWidth:"60px",sortable:!1}]);return G(_,C=>{y.value=[C[C.length-1]??{...l,name:"system"}]},{deep:!0,immediate:!0}),J(async()=>{if(S.value=m.getExistingNamespace("/metrics"),T.value=m.getExistingNamespace("/status"),!S.value)throw new Error("Not connected to metrics!");if(!T.value)throw new Error("Not connected to status!");await new Promise(C=>setTimeout(C,10)),S.value.request("get-system-info").subscribe(C=>{_.value=C}),S.value.socket.on("system-infos",C=>{_.value.push(C)})}),(C,w)=>{const i=le;return L(),P(Z,{"items-per-page":-1,headers:a(k),items:a(y),class:"elevation-0","hide-default-footer":"","mobile-breakpoint":"sm",hover:""},{"item.cpuLoad":o(({item:v})=>[p(z,{color:parseFloat(v.cpuLoad)>=75?"red":void 0,density:"compact",size:"small"},{default:o(()=>[$(W(v.cpuLoad)+" %",1)]),_:2},1032,["color"])]),"item.cpuLoadChart":o(()=>[(L(),P(Q,null,{default:o(()=>[p(i,{type:"cpu","max-data-points":a(N),"process-info":a(_)},null,8,["max-data-points","process-info"])]),_:1}))]),"item.memLoad":o(({item:v})=>[p(z,{color:parseFloat(v.memLoad)>=75?"red":void 0,density:"compact",size:"small"},{default:o(()=>[$(W(v.memLoad)+" %",1)]),_:2},1032,["color"])]),"item.memLoadChart":o(()=>[(L(),P(Q,null,{default:o(()=>[p(i,{type:"memory","max-data-points":a(N),"process-info":a(_)},null,8,["max-data-points","process-info"])]),_:1}))]),bottom:o(()=>w[0]||(w[0]=[])),_:1},8,["headers","items"])}}}),ot=X(st,[["__scopeId","data-v-ab47f1e3"]]),rt={class:"h-full w-full inline-size mb-safe"},nt={class:"page-title"},it={class:"subview-title text-color"},lt={class:"inner-component p-4"},ct={class:"mt-10"},ut={class:"subview-title text-color"},mt={class:"inner-component p-4"},pt={class:"mt-10"},dt={class:"subview-title text-color"},vt={class:"inner-component p-4"},ft={class:"mt-10"},ht={class:"subview-title text-color"},_t={class:"inner-component p-4"},gt={class:"mt-10"},yt={class:"subview-title text-color"},bt={class:"inner-component p-4"},Zt=B({__name:"Adminpanel",setup(g){const r=H(),{smallMobileActive:m}=Pe(),S=c(),T=c(),N=c(!1);return J(()=>{S.value=r.connectToNamespace("/metrics"),T.value=r.connectToNamespace("/status")}),we(()=>{var u,h,l,y;(h=(u=S.value)==null?void 0:u.end)==null||h.call(u),(y=(l=T.value)==null?void 0:l.end)==null||y.call(l)}),(u,h)=>{const l=ot,y=at,_=He,k=qe,C=ze;return L(),ee("main",{class:de(["w-full h-full",{"px-0":a(m)}])},[x("div",rt,[x("div",{class:de(["mb-3 flex w-full items-center",{"px-2":a(m)}]),style:{height:"30px"}},[x("h1",nt,W(u.$t(`views.${String(u.$route.name).toLowerCase()}.title`)),1)],2),x("div",null,[x("span",it,W(u.$t("views.adminpanel.system")),1),x("div",lt,[p(l)])]),x("div",ct,[x("span",ut,W(u.$t("views.adminpanel.main_processes")),1),x("div",mt,[p(y)])]),x("div",pt,[x("span",dt,W(u.$t("views.adminpanel.frameworker")),1),x("div",vt,[p(_)])]),x("div",ft,[x("span",ht,W(u.$t("views.adminpanel.plugins")),1),x("div",_t,[p(k)])]),x("div",gt,[x("span",yt,W(u.$t("views.adminpanel.currently_loggedin_users")),1),x("div",bt,[p(C,{loading:a(N)},null,8,["loading"])])])])],2)}}});export{Zt as default};
@@ -0,0 +1 @@
1
+ import{G as b,b as _,d as h,f as e,U as i,N as r,u as t,i as d,p}from"./@vue.BeJw0wEm.0.0.30-alpha.0.js";import{b as V,a as g}from"./main.CNzh1Rg5.0.0.30-alpha.0.js";import{s as u}from"./pinia.BPnxDxQ3.0.0.30-alpha.0.js";import{y as c,d as y}from"./vuetify.Box3fVLm.0.0.30-alpha.0.js";import"./vue3-toastify.CjNgo6aC.0.0.30-alpha.0.js";import"./vue-i18n.1W5jhc7l.0.0.30-alpha.0.js";import"./@intlify.YW_pt133.0.0.30-alpha.0.js";import"./axios.C-n2IhIP.0.0.30-alpha.0.js";import"./@tanstack.CTzdjGxD.0.0.30-alpha.0.js";import"./@camera.ui.KA9bRSoR.0.0.30-alpha.0.js";import"./vue-router.CgUDt9kL.0.0.30-alpha.0.js";import"./@vueuse.DK7Mz0BT.0.0.30-alpha.0.js";import"./nprogress.C2KbBHcZ.0.0.30-alpha.0.js";import"./@xterm.CnserxUX.0.0.30-alpha.0.js";import"./@mdi.DnMbZhUH.0.0.30-alpha.0.js";import"./vee-validate.DLoDjJ2f.0.0.30-alpha.0.js";import"./@vee-validate.BJKTyKHK.0.0.30-alpha.0.js";import"./zod.DnW1_kUe.0.0.30-alpha.0.js";import"./uuid.DvF23Exx.0.0.30-alpha.0.js";import"./socket.io-client.Cf7ABgrO.0.0.30-alpha.0.js";import"./engine.io-client.di4Pt8W8.0.0.30-alpha.0.js";import"./engine.io-parser.BiEtp6m2.0.0.30-alpha.0.js";import"./@socket.io.Dkula2eQ.0.0.30-alpha.0.js";import"./socket.io-parser.DHnwqfTj.0.0.30-alpha.0.js";import"./rxjs.Dl5P76vZ.0.0.30-alpha.0.js";import"./tslib.9k7AwCpt.0.0.30-alpha.0.js";import"./vue-inline-svg.Cc6uL4nI.0.0.30-alpha.0.js";import"./v-calendar.u5cKUC4g.0.0.30-alpha.0.js";import"./@popperjs.BQBsAJpH.0.0.30-alpha.0.js";const w={class:"subview-title text-color"},$={class:"inner-component p-4"},k={class:"relative"},x={for:"theme",class:"v-label"},S={class:"ml-auto flex"},U={class:"flex flex-row"},B={class:"v-label m-0 mb-0 ml-2",for:"oneLogin"},N={class:"subview-title text-color"},C={class:"inner-component p-4"},K={class:"relative"},L={for:"language",class:"v-label"},re=b({__name:"Appearance",setup(M){const{locale:n,languages:v}=u(V()),{colors:f,theme:m,autoMode:a}=u(g());return(l,o)=>(_(),h("div",null,[e("div",null,[e("span",w,i(l.$t("views.settings.theme")),1),e("div",$,[e("div",k,[e("label",x,i(l.$t("components.form.label.theme")),1),r(c,{modelValue:t(m),"onUpdate:modelValue":o[0]||(o[0]=s=>d(m)?m.value=s:null),variant:"outlined",density:"compact",name:"theme","hide-details":"",items:t(f),disabled:t(a),onKeydown:p(()=>null,["prevent"])},null,8,["modelValue","items","disabled"])]),o[3]||(o[3]=e("div",{class:"py-2"},null,-1)),e("div",null,[e("div",S,[e("div",U,[r(y,{modelValue:t(a),"onUpdate:modelValue":o[1]||(o[1]=s=>d(a)?a.value=s:null),color:"#df2a4c",type:"checkbox","hide-details":""},null,8,["modelValue"]),e("span",B,i(l.$t("components.form.label.system_preference")),1)])])])])]),o[4]||(o[4]=e("div",{class:"my-8"},null,-1)),e("div",null,[e("span",N,i(l.$t("views.settings.locale")),1),e("div",C,[e("div",K,[e("label",L,i(l.$t("components.form.label.language")),1),r(c,{modelValue:t(n),"onUpdate:modelValue":o[2]||(o[2]=s=>d(n)?n.value=s:null),variant:"outlined",density:"compact",name:"language","hide-details":"",items:t(v),onKeydown:p(()=>null,["prevent"])},null,8,["modelValue","items"])])])])]))}});export{re as default};
@@ -0,0 +1 @@
1
+ import{x as O,X as j,w as T}from"./main.CNzh1Rg5.0.0.30-alpha.0.js";import{G as U,t as R,r as f,b as v,d as I,f as a,N as g,S as k,U as r,u,k as C,P as F,p as b,W as B,ae as J,i as E}from"./@vue.BeJw0wEm.0.0.30-alpha.0.js";import{i as D}from"./vue3-toastify.CjNgo6aC.0.0.30-alpha.0.js";import{r as A}from"./system.23ZKsQ9W.0.0.30-alpha.0.js";import{aA as M,Y as G}from"./@mdi.DnMbZhUH.0.0.30-alpha.0.js";import{e as L,a2 as P,b as N,n as W}from"./vuetify.Box3fVLm.0.0.30-alpha.0.js";import{u as X}from"./vue-i18n.1W5jhc7l.0.0.30-alpha.0.js";import"./axios.C-n2IhIP.0.0.30-alpha.0.js";import"./@tanstack.CTzdjGxD.0.0.30-alpha.0.js";import"./@camera.ui.KA9bRSoR.0.0.30-alpha.0.js";import"./pinia.BPnxDxQ3.0.0.30-alpha.0.js";import"./vue-router.CgUDt9kL.0.0.30-alpha.0.js";import"./@vueuse.DK7Mz0BT.0.0.30-alpha.0.js";import"./nprogress.C2KbBHcZ.0.0.30-alpha.0.js";import"./@xterm.CnserxUX.0.0.30-alpha.0.js";import"./vee-validate.DLoDjJ2f.0.0.30-alpha.0.js";import"./@vee-validate.BJKTyKHK.0.0.30-alpha.0.js";import"./zod.DnW1_kUe.0.0.30-alpha.0.js";import"./uuid.DvF23Exx.0.0.30-alpha.0.js";import"./socket.io-client.Cf7ABgrO.0.0.30-alpha.0.js";import"./engine.io-client.di4Pt8W8.0.0.30-alpha.0.js";import"./engine.io-parser.BiEtp6m2.0.0.30-alpha.0.js";import"./@socket.io.Dkula2eQ.0.0.30-alpha.0.js";import"./socket.io-parser.DHnwqfTj.0.0.30-alpha.0.js";import"./rxjs.Dl5P76vZ.0.0.30-alpha.0.js";import"./tslib.9k7AwCpt.0.0.30-alpha.0.js";import"./vue-inline-svg.Cc6uL4nI.0.0.30-alpha.0.js";import"./v-calendar.u5cKUC4g.0.0.30-alpha.0.js";import"./@popperjs.BQBsAJpH.0.0.30-alpha.0.js";import"./@intlify.YW_pt133.0.0.30-alpha.0.js";const Y=async w=>(await O.post("/backup/download",{localStorage:w},{responseType:"arraybuffer"})).data,q=async w=>(await O.post("/backup/restore",w)).data,H={class:"w-full"},K={class:"flex flex-col justify-center items-center mb-5"},Q={for:"restoreInput",class:"cursor-pointer text-center"},Z=["accept"],ee={key:0,class:"text-red"},te={class:"mx-2"},oe={class:"disabled-text"},se=U({__name:"VUploadFiles",props:{multiple:{type:Boolean,default:!1},accept:{},icon:{default:M}},emits:["files-uploaded"],setup(w,{expose:x,emit:V}){const p=V,S=w,{accept:y,multiple:h}=R(S),$=f(!1),_=f(!1),i=f([]),e=f(null),s=n=>{const t=i.value.findIndex(l=>l.name===n);t>-1&&(i.value.splice(t,1),o())},d=n=>{if($.value=!1,_.value=!1,i.value=[],console.log(n),n.dataTransfer)if(!h.value&&n.dataTransfer.files.length>1)_.value=!0;else{for(const[,t]of Object.entries(n.dataTransfer.files))i.value.push(t);p("files-uploaded",i.value)}},m=n=>{var l;_.value=!1,i.value=[];const t=n.target;if(t&&t.files)if(!h.value&&((l=t.files)==null?void 0:l.length)>1)_.value=!0;else{for(const[,z]of Object.entries(t.files))i.value.push(z);p("files-uploaded",i.value)}},o=()=>{e.value&&(e.value.value="")};return x({reset:()=>{i.value=[],o()}}),(n,t)=>(v(),I("div",{class:"file-upload-box p-4",onDrop:t[0]||(t[0]=b(l=>d(l),["prevent"])),onDragover:t[1]||(t[1]=b(l=>$.value=!0,["prevent"])),onDragenter:t[2]||(t[2]=b(l=>$.value=!0,["prevent"])),onDragleave:t[3]||(t[3]=b(l=>$.value=!1,["prevent"]))},[a("div",H,[a("div",K,[g(L,{class:"mt-5",size:"60"},{default:k(()=>[B(r(n.icon),1)]),_:1}),a("label",Q,r(n.$t("components.upload_files.drop_or_select_file")),1),a("input",{id:"restoreInput",ref_key:"fileInput",ref:e,type:"file",class:"d-none",accept:u(y),onChange:m},null,40,Z),u(_)?(v(),I("p",ee,r(n.$t("components.upload_files.only_one_file_allowed")),1)):C("",!0)]),u(i).length>0?(v(),F(P,{key:0,items:u(i),"max-height":"150","item-height":"50"},{default:k(({item:l})=>[(v(),I("div",{key:l.name,class:"w-full flex flex-row items-center justify-start p-2"},[g(N,{size:"28",variant:"text",color:"red",rounded:"",onClick:b(z=>s(l.name),["stop"])},{default:k(()=>[g(L,{size:"20"},{default:k(()=>[B(r(u(G)),1)]),_:1})]),_:2},1032,["onClick"]),a("b",te,r(l.name),1),a("span",oe,"("+r(l.size)+" bytes)",1)])),u(i).length>1?(v(),F(W,{key:0})):C("",!0)]),_:1},8,["items"])):C("",!0)])],32))}}),ae={key:0,class:"flex w-full h-full justify-center items-center fixed top-0 left-0",style:{"z-index":"9000"}},le={class:"subview-title text-color"},ne={class:"inner-component p-4 flex flex-col"},re={class:"text-sm"},ie={class:"subview-title text-color"},ce={class:"inner-component p-4 flex flex-col"},ue={class:"text-sm"},pe={class:"subview-title text-color"},de={class:"inner-component p-4"},me={class:"text-sm"},Ge=U({__name:"Backup",setup(w){const{t:x}=X(),V=f(null),p=f(!1),S=f(!1),y=f(!1),h=f([]),$=async()=>{var e,s,d,m;p.value=!0;try{const o={};if(localStorage.getItem("ui")){const l=localStorage.getItem("ui");o.ui=JSON.parse(l)}if(localStorage.getItem("locale")){const l=localStorage.getItem("locale");o.locale=l}if(localStorage.getItem("theme")){const l=localStorage.getItem("theme");o.theme=JSON.parse(l)}const c=await Y(o),n=window.URL.createObjectURL(new Blob([c])),t=document.createElement("a");t.href=n,t.setAttribute("download","cameraui-backup.tar.gz"),document.body.appendChild(t),t.click(),t.remove()}catch(o){console.error(((s=(e=o.response)==null?void 0:e.data)==null?void 0:s.message)??o.message??o),D.error(((m=(d=o.response)==null?void 0:d.data)==null?void 0:m.message)??o.message??o)}p.value=!1},_=async()=>{var e,s,d,m,o;p.value=!0;try{const c=new FormData;c.append("upload",h.value[0]);const n=await q(c);i(n),(e=V.value)==null||e.reset(),D.success(x("components.toast.backup_restored")),S.value=!0,A()}catch(c){console.error(((d=(s=c.response)==null?void 0:s.data)==null?void 0:d.message)??c.message??c),D.error(((o=(m=c.response)==null?void 0:m.data)==null?void 0:o.message)??c.message??c),p.value=!1,S.value=!1}},i=e=>{e.theme&&localStorage.setItem("theme",JSON.stringify(e.theme)),e.locale&&localStorage.setItem("locale",e.locale),e.ui&&localStorage.setItem("ui",JSON.stringify(e.ui))};return(e,s)=>{const d=j,m=T;return v(),I("div",null,[(v(),F(J,{to:".app"},[u(S)?(v(),I("div",ae,[g(d,{reload:""})])):C("",!0)])),a("div",null,[a("span",le,r(e.$t("views.settings.create_backup")),1),a("div",ne,[a("span",re,r(e.$t("views.settings.create_backup_info")),1),s[4]||(s[4]=a("br",null,null,-1)),g(N,{loading:u(p),class:"mt-5 ml-auto",color:"#df2a4c",onClick:b($,["prevent"])},{default:k(()=>[B(r(e.$t("components.form.button.download_backup_archive")),1)]),_:1},8,["loading"])])]),s[5]||(s[5]=a("div",{class:"my-8"},null,-1)),a("div",null,[a("span",ie,r(e.$t("views.settings.restore_backup")),1),a("div",ce,[a("span",ue,r(e.$t("views.settings.restore_backup_info")),1),g(se,{ref_key:"input",ref:V,class:"mt-5",accept:"application/gzip, .tar, .tar.gz",onFilesUploaded:s[0]||(s[0]=o=>h.value=o)},null,512),g(N,{loading:u(p),disabled:!u(h).length,class:"mt-5 ml-auto",color:"#df2a4c",onClick:s[1]||(s[1]=b(o=>y.value=!0,["prevent"]))},{default:k(()=>[B(r(e.$t("components.form.button.restore_backup_archive")),1)]),_:1},8,["loading","disabled"])])]),s[6]||(s[6]=a("div",{class:"my-8"},null,-1)),a("div",null,[a("span",pe,r(e.$t("views.settings.sheduled_backup")),1),a("div",de,[a("span",me,r(e.$t("views.settings.sheduled_backup_info")),1)])]),g(m,{modelValue:u(y),"onUpdate:modelValue":s[2]||(s[2]=o=>E(y)?y.value=o:null),title:e.$t("components.dialog.title.confirm"),"confirm-text":"components.form.button.restore_and_restart",loading:u(p),onConfirm:s[3]||(s[3]=o=>_())},{content:k(()=>[a("span",null,r(e.$t("components.dialog.message.confirm_restore")),1)]),_:1},8,["modelValue","title","loading"])])}}});export{Ge as default};