@camera.ui/server 0.0.18 → 0.0.19-alpha.0

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 (160) hide show
  1. package/dist/interface/{@mdi.jq8isxax.0.0.18.js → @mdi.DnMbZhUH.0.0.19-alpha.0.js} +1 -1
  2. package/dist/interface/@tanstack.B-W82lDj.0.0.19-alpha.0.js +1 -0
  3. package/dist/interface/{@vee-validate.DCJe6WUi.0.0.18.js → @vee-validate.DUMMnq5s.0.0.19-alpha.0.js} +1 -1
  4. package/dist/interface/@vueform.khKdVUJP.0.0.19-alpha.0.js +1 -0
  5. package/dist/interface/@vueuse.D7szcD_M.0.0.19-alpha.0.js +1 -0
  6. package/dist/interface/Account.DrnER0YA.0.0.19-alpha.0.js +1 -0
  7. package/dist/interface/Adminpanel.D42YT1iJ.0.0.19-alpha.0.js +2 -0
  8. package/dist/interface/Appearance.DNS-G7l7.0.0.19-alpha.0.js +1 -0
  9. package/dist/interface/Backup.B32duttl.0.0.19-alpha.0.js +1 -0
  10. package/dist/interface/Camera.CX8NpdPh.0.0.19-alpha.0.js +1 -0
  11. package/dist/interface/Cameras.BdPU9Fex.0.0.19-alpha.0.js +1 -0
  12. package/dist/interface/Camview.CE2YKK3K.0.0.19-alpha.0.js +1 -0
  13. package/dist/interface/Config.DjPO7y6u.0.0.19-alpha.0.js +1 -0
  14. package/dist/interface/Console.Bq9cPii8.0.0.19-alpha.0.js +4 -0
  15. package/dist/interface/FirstSteps.BSuII9A3.0.0.19-alpha.0.js +1 -0
  16. package/dist/interface/{NewCamera.DljcmMq3.0.0.18.js → NewCamera.DaG0GQL_.0.0.19-alpha.0.js} +1 -1
  17. package/dist/interface/Plugin.B6vrrYFx.0.0.19-alpha.0.js +1 -0
  18. package/dist/interface/Plugins.CxCC1Vpy.0.0.19-alpha.0.js +1 -0
  19. package/dist/interface/Recordings.DiK8Iu8f.0.0.19-alpha.0.js +1 -0
  20. package/dist/interface/Recordings.DwcO_N7n.0.0.19-alpha.0.js +1 -0
  21. package/dist/interface/Settings.hFnwImYw.0.0.19-alpha.0.js +1 -0
  22. package/dist/interface/{System.DJiyuvLM.0.0.18.js → System.Cjl0YgWM.0.0.19-alpha.0.js} +1 -1
  23. package/dist/interface/User.CPgKGJWU.0.0.19-alpha.0.js +1 -0
  24. package/dist/interface/VConfigEditor.vue_vue_type_script_setup_true_lang.uwaOo9gC.0.0.19-alpha.0.js +2 -0
  25. package/dist/interface/VConsole.E4rbQGZc.0.0.19-alpha.0.js +1 -0
  26. package/dist/interface/VPlayer.Do65-EfK.0.0.19-alpha.0.js +1 -0
  27. package/dist/interface/{VPluginCard.D5rxzV1X.0.0.18.js → VPluginCard.C6rOKGUQ.0.0.19-alpha.0.js} +1 -1
  28. package/dist/interface/{ace-builds.DIoh0Qnl.0.0.18.js → ace-builds.CIHdTnMJ.0.0.19-alpha.0.js} +1 -1
  29. package/dist/interface/assets/main.0.0.19-alpha.0.COKDX8jU.css +1 -0
  30. package/dist/interface/dnd-core.D5OLX7vq.0.0.19-alpha.0.js +1 -0
  31. package/dist/interface/{draggabilly.D_FJnG3-.0.0.18.js → draggabilly.D8OV_XX4.0.0.19-alpha.0.js} +1 -1
  32. package/dist/interface/engine.io-client.qls-cuG2.0.0.19-alpha.0.js +1 -0
  33. package/dist/interface/ev-emitter.C8LoIr4n.0.0.19-alpha.0.js +1 -0
  34. package/dist/interface/fast-deep-equal.CsHYAGSN.0.0.19-alpha.0.js +1 -0
  35. package/dist/interface/{highlight.js.C8YhOIfu.0.0.18.js → highlight.js.CwybI9Cx.0.0.19-alpha.0.js} +1 -1
  36. package/dist/interface/index.html +33 -33
  37. package/dist/interface/linkify-it.yN480E8k.0.0.19-alpha.0.js +1 -0
  38. package/dist/interface/main.CkYowq7q.0.0.19-alpha.0.js +9 -0
  39. package/dist/interface/{markdown-it.CqU0yEOf.0.0.18.js → markdown-it.fAu1WMhU.0.0.19-alpha.0.js} +1 -1
  40. package/dist/interface/{nprogress.-pIFJsHM.0.0.18.js → nprogress.BrRWMscC.0.0.19-alpha.0.js} +1 -1
  41. package/dist/interface/{pinia.JuaPKEVD.0.0.18.js → pinia.CQfBY7qg.0.0.19-alpha.0.js} +1 -1
  42. package/dist/interface/plugins.DRJQgLoG.0.0.19-alpha.0.js +1 -0
  43. package/dist/interface/{qrcode.BJ-byOEz.0.0.18.js → qrcode.BnYRUYPQ.0.0.19-alpha.0.js} +1 -1
  44. package/dist/interface/react-dnd-touch-backend.BYxUfjiy.0.0.19-alpha.0.js +1 -0
  45. package/dist/interface/{rxjs.6rmEaJin.0.0.18.js → rxjs.B4YWftOD.0.0.19-alpha.0.js} +1 -1
  46. package/dist/interface/socket.io-client.BomHj9Qp.0.0.19-alpha.0.js +1 -0
  47. package/dist/interface/socket.io-parser.T8j4RkOV.0.0.19-alpha.0.js +1 -0
  48. package/dist/interface/sw.js +1 -1
  49. package/dist/interface/system.5Q8dCMhY.0.0.19-alpha.0.js +1 -0
  50. package/dist/interface/ui.D3MYMdHf.0.0.19-alpha.0.js +1 -0
  51. package/dist/interface/{unidragger.BxsYPzgT.0.0.18.js → unidragger.F6HHpGJy.0.0.19-alpha.0.js} +1 -1
  52. package/dist/interface/v-calendar.Dn2-daxK.0.0.19-alpha.0.js +1 -0
  53. package/dist/interface/{vee-validate.CUcfsxU0.0.0.18.js → vee-validate.DJJ8_Fyn.0.0.19-alpha.0.js} +1 -1
  54. package/dist/interface/{vue-i18n.QNLKXtBv.0.0.18.js → vue-i18n.azjIf4Ih.0.0.19-alpha.0.js} +1 -1
  55. package/dist/interface/vue-inline-svg.m2FZhVJH.0.0.19-alpha.0.js +1 -0
  56. package/dist/interface/{vue-router.DZtQRp1h.0.0.18.js → vue-router.DtIU2WG9.0.0.19-alpha.0.js} +1 -1
  57. package/dist/interface/{vue3-apexcharts.CdB4EKaV.0.0.18.js → vue3-apexcharts.DzlbGnLg.0.0.19-alpha.0.js} +1 -1
  58. package/dist/interface/vue3-dnd.B0fwH6YS.0.0.19-alpha.0.js +1 -0
  59. package/dist/interface/vue3-toastify.DZfdsboE.0.0.19-alpha.0.js +1 -0
  60. package/dist/interface/{vuetify.BiwbJUi7.0.0.18.js → vuetify.DXUML5TX.0.0.19-alpha.0.js} +1 -1
  61. package/dist/server/package.json +5 -5
  62. package/dist/server/requirements.txt +1 -1
  63. package/dist/server/src/api/schemas/users.schema.d.ts +34 -34
  64. package/dist/server/src/camera/streaming/peer-connection.d.ts +6 -1
  65. package/dist/server/src/camera/streaming/peer-connection.js +76 -22
  66. package/dist/server/src/camera/streaming/peer-connection.js.map +1 -1
  67. package/dist/server/src/camera/streaming/webrtc-connection.js +1 -1
  68. package/dist/server/src/camera/streaming/webrtc-connection.js.map +1 -1
  69. package/dist/server/src/index.d.ts +1 -1
  70. package/package.json +5 -5
  71. package/dist/interface/@tanstack.BCXmYi64.0.0.18.js +0 -1
  72. package/dist/interface/@vueform.BKLrt5D1.0.0.18.js +0 -1
  73. package/dist/interface/@vueuse.DylADnPe.0.0.18.js +0 -1
  74. package/dist/interface/Account.NMGyyOox.0.0.18.js +0 -1
  75. package/dist/interface/Adminpanel.BHEn-GeQ.0.0.18.js +0 -2
  76. package/dist/interface/Appearance.DN09JoVR.0.0.18.js +0 -1
  77. package/dist/interface/Backup.DnQCScPf.0.0.18.js +0 -1
  78. package/dist/interface/Camera.B22EU4mj.0.0.18.js +0 -1
  79. package/dist/interface/Cameras.zBnHUtfw.0.0.18.js +0 -1
  80. package/dist/interface/Camview.Cgx2upT7.0.0.18.js +0 -1
  81. package/dist/interface/Config.LARLJWHB.0.0.18.js +0 -1
  82. package/dist/interface/Console.BJmD3K-t.0.0.18.js +0 -4
  83. package/dist/interface/FirstSteps.CGbVFZVu.0.0.18.js +0 -1
  84. package/dist/interface/Plugin.Bx6jUl_w.0.0.18.js +0 -1
  85. package/dist/interface/Plugins.BBkU1ljC.0.0.18.js +0 -1
  86. package/dist/interface/Recordings.2dedoG-V.0.0.18.js +0 -1
  87. package/dist/interface/Recordings.D0yXN195.0.0.18.js +0 -1
  88. package/dist/interface/Settings.CH7teiQB.0.0.18.js +0 -1
  89. package/dist/interface/User.DhsEM58s.0.0.18.js +0 -1
  90. package/dist/interface/VConfigEditor.vue_vue_type_script_setup_true_lang.BGiU_FKT.0.0.18.js +0 -2
  91. package/dist/interface/VConsole.thrRT43q.0.0.18.js +0 -1
  92. package/dist/interface/VPlayer.xbsRVECy.0.0.18.js +0 -1
  93. package/dist/interface/assets/main.0.0.18.CkZIZCwa.css +0 -1
  94. package/dist/interface/dnd-core.G43A3rIn.0.0.18.js +0 -1
  95. package/dist/interface/engine.io-client.BuVI9_V8.0.0.18.js +0 -1
  96. package/dist/interface/ev-emitter.CtuxNXuW.0.0.18.js +0 -1
  97. package/dist/interface/fast-deep-equal.1iJJ0nCz.0.0.18.js +0 -1
  98. package/dist/interface/linkify-it.CInwI6LF.0.0.18.js +0 -1
  99. package/dist/interface/main.DFYc38DM.0.0.18.js +0 -9
  100. package/dist/interface/plugins.Ce7gZlij.0.0.18.js +0 -1
  101. package/dist/interface/react-dnd-touch-backend.BYwy-aSV.0.0.18.js +0 -1
  102. package/dist/interface/socket.io-client.BaGfAwUY.0.0.18.js +0 -1
  103. package/dist/interface/socket.io-parser.wGIjKNkN.0.0.18.js +0 -1
  104. package/dist/interface/system.DASrwVAt.0.0.18.js +0 -1
  105. package/dist/interface/ui._RM3d0qj.0.0.18.js +0 -1
  106. package/dist/interface/v-calendar.SqP7oWgQ.0.0.18.js +0 -1
  107. package/dist/interface/vue-inline-svg.D81KzQEs.0.0.18.js +0 -1
  108. package/dist/interface/vue3-dnd.CTUt9_3y.0.0.18.js +0 -1
  109. package/dist/interface/vue3-toastify.CBYYvk07.0.0.18.js +0 -1
  110. /package/dist/interface/{@babel.l0sNRNKZ.0.0.18.js → @babel.l0sNRNKZ.0.0.19-alpha.0.js} +0 -0
  111. /package/dist/interface/{@intlify.YW_pt133.0.0.18.js → @intlify.YW_pt133.0.0.19-alpha.0.js} +0 -0
  112. /package/dist/interface/{@popperjs.BQBsAJpH.0.0.18.js → @popperjs.BQBsAJpH.0.0.19-alpha.0.js} +0 -0
  113. /package/dist/interface/{@react-dnd.CcwRs9xb.0.0.18.js → @react-dnd.CcwRs9xb.0.0.19-alpha.0.js} +0 -0
  114. /package/dist/interface/{@socket.io.Dkula2eQ.0.0.18.js → @socket.io.Dkula2eQ.0.0.19-alpha.0.js} +0 -0
  115. /package/dist/interface/{@vue.CIFymae3.0.0.18.js → @vue.CIFymae3.0.0.19-alpha.0.js} +0 -0
  116. /package/dist/interface/{@xterm.CcjKpkVs.0.0.18.js → @xterm.DEbAdM0L.0.0.19-alpha.0.js} +0 -0
  117. /package/dist/interface/assets/{@vueform.0.0.18.h7tNX9p6.css → @vueform.0.0.19-alpha.0.h7tNX9p6.css} +0 -0
  118. /package/dist/interface/assets/{@xterm.0.0.18.CGrrDQr5.css → @xterm.0.0.19-alpha.0.CGrrDQr5.css} +0 -0
  119. /package/dist/interface/assets/{Account.0.0.18.BCEftDNE.css → Account.0.0.19-alpha.0.BCEftDNE.css} +0 -0
  120. /package/dist/interface/assets/{Adminpanel.0.0.18.A2JXV1Ib.css → Adminpanel.0.0.19-alpha.0.A2JXV1Ib.css} +0 -0
  121. /package/dist/interface/assets/{Backup.0.0.18.BIwaSlv3.css → Backup.0.0.19-alpha.0.BIwaSlv3.css} +0 -0
  122. /package/dist/interface/assets/{Camera.0.0.18.BDtUJ-lA.css → Camera.0.0.19-alpha.0.BDtUJ-lA.css} +0 -0
  123. /package/dist/interface/assets/{Cameras.0.0.18.Djx0F2MM.css → Cameras.0.0.19-alpha.0.Djx0F2MM.css} +0 -0
  124. /package/dist/interface/assets/{Camview.0.0.18.Ce_V-Nxj.css → Camview.0.0.19-alpha.0.Ce_V-Nxj.css} +0 -0
  125. /package/dist/interface/assets/{Config.0.0.18.k4QpWumg.css → Config.0.0.19-alpha.0.k4QpWumg.css} +0 -0
  126. /package/dist/interface/assets/{Console.0.0.18.DWrfRWs9.css → Console.0.0.19-alpha.0.DWrfRWs9.css} +0 -0
  127. /package/dist/interface/assets/{FirstSteps.0.0.18.27JF_jaE.css → FirstSteps.0.0.19-alpha.0.27JF_jaE.css} +0 -0
  128. /package/dist/interface/assets/{NewCamera.0.0.18.DJ3tUBT_.css → NewCamera.0.0.19-alpha.0.DJ3tUBT_.css} +0 -0
  129. /package/dist/interface/assets/{Plugin.0.0.18.CY2rlLw0.css → Plugin.0.0.19-alpha.0.CY2rlLw0.css} +0 -0
  130. /package/dist/interface/assets/{Plugins.0.0.18.Cwu0aGUO.css → Plugins.0.0.19-alpha.0.Cwu0aGUO.css} +0 -0
  131. /package/dist/interface/assets/{Settings.0.0.18.DTxcLhIY.css → Settings.0.0.19-alpha.0.DTxcLhIY.css} +0 -0
  132. /package/dist/interface/assets/{User.0.0.18.DAaNwzw2.css → User.0.0.19-alpha.0.DAaNwzw2.css} +0 -0
  133. /package/dist/interface/assets/{VConsole.0.0.18.BZT1WyS-.css → VConsole.0.0.19-alpha.0.BZT1WyS-.css} +0 -0
  134. /package/dist/interface/assets/{VPlayer.0.0.18.C9sQDyOt.css → VPlayer.0.0.19-alpha.0.C9sQDyOt.css} +0 -0
  135. /package/dist/interface/assets/{VPluginCard.0.0.18.C2OqX7DJ.css → VPluginCard.0.0.19-alpha.0.C2OqX7DJ.css} +0 -0
  136. /package/dist/interface/assets/{highlight.0.0.18.DgoK_Xib.css → highlight.0.0.19-alpha.0.DgoK_Xib.css} +0 -0
  137. /package/dist/interface/assets/{logo-256.0.0.18.BCQk9H1-.png → logo-256.0.0.19-alpha.0.BCQk9H1-.png} +0 -0
  138. /package/dist/interface/assets/{logo-512.0.0.18.DLKVOU2S.png → logo-512.0.0.19-alpha.0.DLKVOU2S.png} +0 -0
  139. /package/dist/interface/assets/{logo.0.0.18.DmEiRk0z.png → logo.0.0.19-alpha.0.DmEiRk0z.png} +0 -0
  140. /package/dist/interface/assets/{mode-json.0.0.18.Br7xisR1.js → mode-json.0.0.19-alpha.0.Br7xisR1.js} +0 -0
  141. /package/dist/interface/assets/{mode-yaml.0.0.18.CIYL8U3d.js → mode-yaml.0.0.19-alpha.0.CIYL8U3d.js} +0 -0
  142. /package/dist/interface/assets/{v-calendar.0.0.18.CtSuDYZU.css → v-calendar.0.0.19-alpha.0.CtSuDYZU.css} +0 -0
  143. /package/dist/interface/assets/{vue3-toastify.0.0.18.DTY1DMRs.css → vue3-toastify.0.0.19-alpha.0.DTY1DMRs.css} +0 -0
  144. /package/dist/interface/assets/{vuetify.0.0.18.DPyVfAPv.css → vuetify.0.0.19-alpha.0.DPyVfAPv.css} +0 -0
  145. /package/dist/interface/{axios.CpM4fnec.0.0.18.js → axios.CpM4fnec.0.0.19-alpha.0.js} +0 -0
  146. /package/dist/interface/{compare-versions.DqEOhma6.0.0.18.js → compare-versions.DqEOhma6.0.0.19-alpha.0.js} +0 -0
  147. /package/dist/interface/{dijkstrajs.D_NXgYpA.0.0.18.js → dijkstrajs.D_NXgYpA.0.0.19-alpha.0.js} +0 -0
  148. /package/dist/interface/{engine.io-parser.BiEtp6m2.0.0.18.js → engine.io-parser.BiEtp6m2.0.0.19-alpha.0.js} +0 -0
  149. /package/dist/interface/{entities.C20TfXL6.0.0.18.js → entities.C20TfXL6.0.0.19-alpha.0.js} +0 -0
  150. /package/dist/interface/{get-size.D1dS-IaP.0.0.18.js → get-size.D1dS-IaP.0.0.19-alpha.0.js} +0 -0
  151. /package/dist/interface/{mdurl.k9Sl0PQj.0.0.18.js → mdurl.k9Sl0PQj.0.0.19-alpha.0.js} +0 -0
  152. /package/dist/interface/{punycode.js.Dj65hjkv.0.0.18.js → punycode.js.Dj65hjkv.0.0.19-alpha.0.js} +0 -0
  153. /package/dist/interface/{react-dnd-html5-backend.1HQjlkwI.0.0.18.js → react-dnd-html5-backend.1HQjlkwI.0.0.19-alpha.0.js} +0 -0
  154. /package/dist/interface/{redux.CuxFRhX_.0.0.18.js → redux.CuxFRhX_.0.0.19-alpha.0.js} +0 -0
  155. /package/dist/interface/{tslib.9k7AwCpt.0.0.18.js → tslib.9k7AwCpt.0.0.19-alpha.0.js} +0 -0
  156. /package/dist/interface/{uc.micro.kMc2yuuw.0.0.18.js → uc.micro.kMc2yuuw.0.0.19-alpha.0.js} +0 -0
  157. /package/dist/interface/{utils.BvINh1mj.0.0.18.js → utils.BvINh1mj.0.0.19-alpha.0.js} +0 -0
  158. /package/dist/interface/{uuid.DvF23Exx.0.0.18.js → uuid.DvF23Exx.0.0.19-alpha.0.js} +0 -0
  159. /package/dist/interface/{vue.l0sNRNKZ.0.0.18.js → vue.l0sNRNKZ.0.0.19-alpha.0.js} +0 -0
  160. /package/dist/interface/{zod.BaF2dDCd.0.0.18.js → zod.BaF2dDCd.0.0.19-alpha.0.js} +0 -0
@@ -1 +1 @@
1
- var H="M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M16.5,16.25C16.5,14.75 13.5,14 12,14C10.5,14 7.5,14.75 7.5,16.25V17H16.5M12,12.25A2.25,2.25 0 0,0 14.25,10A2.25,2.25 0 0,0 12,7.75A2.25,2.25 0 0,0 9.75,10A2.25,2.25 0 0,0 12,12.25Z",V="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7.07,18.28C7.5,17.38 10.12,16.5 12,16.5C13.88,16.5 16.5,17.38 16.93,18.28C15.57,19.36 13.86,20 12,20C10.14,20 8.43,19.36 7.07,18.28M18.36,16.83C16.93,15.09 13.46,14.5 12,14.5C10.54,14.5 7.07,15.09 5.64,16.83C4.62,15.5 4,13.82 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,13.82 19.38,15.5 18.36,16.83M12,6C10.06,6 8.5,7.56 8.5,9.5C8.5,11.44 10.06,13 12,13C13.94,13 15.5,11.44 15.5,9.5C15.5,7.56 13.94,6 12,6M12,11A1.5,1.5 0 0,1 10.5,9.5A1.5,1.5 0 0,1 12,8A1.5,1.5 0 0,1 13.5,9.5A1.5,1.5 0 0,1 12,11Z",L="M21.7,13.35L20.7,14.35L18.65,12.3L19.65,11.3C19.86,11.09 20.21,11.09 20.42,11.3L21.7,12.58C21.91,12.79 21.91,13.14 21.7,13.35M12,18.94L18.06,12.88L20.11,14.93L14.06,21H12V18.94M12,14C7.58,14 4,15.79 4,18V20H10V18.11L14,14.11C13.34,14.03 12.67,14 12,14M12,4A4,4 0 0,0 8,8A4,4 0 0,0 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4Z",C="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z",M="M2,2H11V11H2V2M9,4H4V9H9V4M22,13V22H13V13H22M15,20H20V15H15V20M16,8V11H13V8H16M11,16H8V13H11V16Z",a="M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22M12,7L7,12H10V16H14V12H17L12,7Z",A="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z",i="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21",r="M3 16C3 18.8 5.2 21 8 21H10V19H8C6.3 19 5 17.7 5 16V14H3V16M21 8C21 5.2 18.8 3 16 3H14V5H16C17.7 5 19 6.3 19 8V10H21V8M16 21C18.8 21 21 18.8 21 16V14H19V16C19 17.7 17.7 19 16 19H14V21H16M8 3C5.2 3 3 5.2 3 8V10H5V8C5 6.3 6.3 5 8 5H10V3H8Z",s="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z",d="M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M20,18H4V6H8.05L9.88,4H14.12L15.95,6H20V18M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15Z",e="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z",m="M21 15V18H24V20H21V23H19V20H16V18H19V15H21M14 18H3V6H19V13H21V6C21 4.89 20.11 4 19 4H3C1.9 4 1 4.89 1 6V18C1 19.11 1.9 20 3 20H14V18Z",v="M14.5 12C14.5 10.62 13.38 9.5 12 9.5C10.62 9.5 9.5 10.62 9.5 12C9.5 13 10.09 13.84 10.93 14.25L9.82 15.35C8.73 14.64 8 13.41 8 12C8 9.79 9.79 8 12 8C14.21 8 16 9.79 16 12C16 13.41 15.27 14.64 14.18 15.35L13.08 14.25C13.92 13.84 14.5 13 14.5 12M12 2C6.5 2 2 6.5 2 12C2 15.06 3.38 17.8 5.54 19.63L6.61 18.57C4.71 17 3.5 14.64 3.5 12C3.5 7.31 7.31 3.5 12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 14.64 19.29 17 17.39 18.57L18.46 19.63C20.62 17.79 22 15.06 22 12C22 6.5 17.5 2 12 2M19 12C19 8.13 15.87 5 12 5C8.13 5 5 8.13 5 12C5 14.23 6.05 16.22 7.68 17.5L8.75 16.43C7.39 15.42 6.5 13.82 6.5 12C6.5 8.97 8.97 6.5 12 6.5C15.03 6.5 17.5 8.97 17.5 12C17.5 13.82 16.61 15.42 15.25 16.43L16.33 17.5C17.95 16.22 19 14.23 19 12M6 22H18L12 16L6 22Z",Z="M6.03 12.03L8.03 15.5L5.5 18.68L2 12.62L6.03 12.03M17 18V15.29C17.88 14.9 18.5 14.03 18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L8.31 9C7.36 9.53 7.03 10.75 7.58 11.71L9.08 14.31C9.63 15.26 10.86 15.59 11.81 15.04L13.69 13.96C13.94 14.55 14.41 15.03 15 15.29V18C15 19.1 15.9 20 17 20H22V18H17Z",o="M20.84 22.73L18.11 20H17C15.9 20 15 19.1 15 18V16.89L12.66 14.55L11.81 15.04C10.86 15.59 9.63 15.26 9.08 14.31L7.58 11.71C7.18 11 7.25 10.18 7.68 9.57L1.11 3L2.39 1.73L22.11 21.46L20.84 22.73M18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L10.77 7.57L17.86 14.66C18.26 14.22 18.5 13.64 18.5 13M2 12.62L5.5 18.68L8.03 15.5L6.03 12.03L2 12.62Z",t="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",n="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",l="M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V5H19V19M17,17H7V7H17V17Z",c="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",u="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",S="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",h="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",f="M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z",O="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",g="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",p="M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z",P="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",R="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z",k="M20,19V7H4V19H20M20,3A2,2 0 0,1 22,5V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V5C2,3.89 2.9,3 4,3H20M13,17V15H18V17H13M9.58,13L5.57,9H8.4L11.7,12.3C12.09,12.69 12.09,13.33 11.7,13.72L8.42,17H5.59L9.58,13Z",w="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",y="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",B="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",D="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",E="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",U="M9,3H11V5H9V3M13,3H15V5H13V3M9,7H11V9H9V7M13,7H15V9H13V7M9,11H11V13H9V11M13,11H15V13H13V11M9,15H11V17H9V15M13,15H15V17H13V15M9,19H11V21H9V19M13,19H15V21H13V19Z",x="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z",I="M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z",T="M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14M11.5,3C14.15,3 16.55,4 18.4,5.6L21,3V10H14L16.62,7.38C15.23,6.22 13.46,5.5 11.5,5.5C7.96,5.5 4.95,7.81 3.9,11L1.53,10.22C2.92,6.03 6.85,3 11.5,3Z",z="M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z",b="M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z",F="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z",G="M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4C2.92,22 2,21.1 2,20V4A2,2 0 0,1 4,2M4,4V11H11V4H4M4,20H11V13H4V20M20,20V13H13V20H20M20,4H13V11H20V4Z",W="M22,16V4A2,2 0 0,0 20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16M11,12L13.03,14.71L16,11L20,16H8M2,6V20A2,2 0 0,0 4,22H18V20H4V6",N="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",j="M22 12L18 8V11H10V13H18V16M20 18A10 10 0 1 1 20 6H17.27A8 8 0 1 0 17.27 18Z",q="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",Q="M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z",J="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",K="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",X="M15.5,14L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5M9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14M12,10H10V12H9V10H7V9H9V7H10V9H12V10Z",Y="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z",_="M19,11C19,12.19 18.66,13.3 18.1,14.28L16.87,13.05C17.14,12.43 17.3,11.74 17.3,11H19M15,11.16L9,5.18V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V11L15,11.16M4.27,3L21,19.73L19.73,21L15.54,16.81C14.77,17.27 13.91,17.58 13,17.72V21H11V17.72C7.72,17.23 5,14.41 5,11H6.7C6.7,14 9.24,16.1 12,16.1C12.81,16.1 13.6,15.91 14.31,15.58L12.65,13.92L12,14A3,3 0 0,1 9,11V10.28L3,4.27L4.27,3Z",$="M19,13H5V11H19V13Z",H1="M21,16V4H3V16H21M21,2A2,2 0 0,1 23,4V16A2,2 0 0,1 21,18H14V20H16V22H8V20H10V18H3C1.89,18 1,17.1 1,16V4C1,2.89 1.89,2 3,2H21M5,6H14V11H5V6M15,6H19V8H15V6M19,9V14H15V9H19M5,12H9V14H5V12M10,12H14V14H10V12Z",V1="M2 12A10 10 0 0 0 15 21.54A10 10 0 0 1 15 2.46A10 10 0 0 0 2 12Z",L1="M21 10V9L15 3H5C3.89 3 3 3.89 3 5V19C3 20.11 3.9 21 5 21H11V19.13L19.39 10.74C19.83 10.3 20.39 10.06 21 10M14 4.5L19.5 10H14V4.5M22.85 14.19L21.87 15.17L19.83 13.13L20.81 12.15C21 11.95 21.33 11.95 21.53 12.15L22.85 13.47C23.05 13.67 23.05 14 22.85 14.19M19.13 13.83L21.17 15.87L15.04 22H13V19.96L19.13 13.83Z",C1="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",M1="M14,19H18V5H14M6,19H10V5H6V19Z",a1="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",A1="M3 17.25V21H6.75L17.81 9.93L14.06 6.18L3 17.25M22.61 18.36L18.36 22.61L13.16 17.41L14.93 15.64L15.93 16.64L18.4 14.16L19.82 15.58L18.36 17L19.42 18L20.84 16.6L22.61 18.36M6.61 10.83L1.39 5.64L5.64 1.39L7.4 3.16L4.93 5.64L6 6.7L8.46 4.22L9.88 5.64L8.46 7.05L9.46 8.05L6.61 10.83M20.71 7C21.1 6.61 21.1 6 20.71 5.59L18.37 3.29C18 2.9 17.35 2.9 16.96 3.29L15.12 5.12L18.87 8.87L20.71 7Z",i1="M19,11H11V17H19V11M23,19V5C23,3.88 22.1,3 21,3H3A2,2 0 0,0 1,5V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19M21,19H3V4.97H21V19Z",r1="M8,5.14V19.14L19,12.14L8,5.14Z",s1="M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",d1="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",e1="M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",m1="M16.56,5.44L15.11,6.89C16.84,7.94 18,9.83 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12C6,9.83 7.16,7.94 8.88,6.88L7.44,5.44C5.36,6.88 4,9.28 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,9.28 18.64,6.88 16.56,5.44M13,3H11V13H13",v1="M20.5,11H19V7C19,5.89 18.1,5 17,5H13V3.5A2.5,2.5 0 0,0 10.5,1A2.5,2.5 0 0,0 8,3.5V5H4A2,2 0 0,0 2,7V10.8H3.5C5,10.8 6.2,12 6.2,13.5C6.2,15 5,16.2 3.5,16.2H2V20A2,2 0 0,0 4,22H7.8V20.5C7.8,19 9,17.8 10.5,17.8C12,17.8 13.2,19 13.2,20.5V22H17A2,2 0 0,0 19,20V16H20.5A2.5,2.5 0 0,0 23,13.5A2.5,2.5 0 0,0 20.5,11Z",Z1="M4,6V19H20V6H4Z",o1="M4,6V19H20V6H4M18,17H6V8H18V17Z",t1="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",n1="M12,4C14.1,4 16.1,4.8 17.6,6.3C20.7,9.4 20.7,14.5 17.6,17.6C15.8,19.5 13.3,20.2 10.9,19.9L11.4,17.9C13.1,18.1 14.9,17.5 16.2,16.2C18.5,13.9 18.5,10.1 16.2,7.7C15.1,6.6 13.5,6 12,6V10.6L7,5.6L12,0.6V4M6.3,17.6C3.7,15 3.3,11 5.1,7.9L6.6,9.4C5.5,11.6 5.9,14.4 7.8,16.2C8.3,16.7 8.9,17.1 9.6,17.4L9,19.4C8,19 7.1,18.4 6.3,17.6Z",l1="M12.5,3C17.15,3 21.08,6.03 22.47,10.22L20.1,11C19.05,7.81 16.04,5.5 12.5,5.5C10.54,5.5 8.77,6.22 7.38,7.38L10,10H3V3L5.6,5.6C7.45,4 9.85,3 12.5,3M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14Z",c1="M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12S8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5S19.66 2 18 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12S4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.34C15.11 18.55 15.08 18.77 15.08 19C15.08 20.61 16.39 21.91 18 21.91S20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08M18 4C18.55 4 19 4.45 19 5S18.55 6 18 6 17 5.55 17 5 17.45 4 18 4M6 13C5.45 13 5 12.55 5 12S5.45 11 6 11 7 11.45 7 12 6.55 13 6 13M18 20C17.45 20 17 19.55 17 19S17.45 18 18 18 19 18.45 19 19 18.55 20 18 20Z",u1="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9",S1="M20 2H4C2.9 2 2 2.9 2 4V16C2 17.11 2.9 18 4 18H8L12 22L16 18H20C21.11 18 22 17.11 22 16V4C22 2.9 21.11 2 20 2M10.46 14L6.96 10.5L8.37 9.08L10.46 11.17L15.64 6L17.05 7.41L10.46 14Z",h1="M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M11,6V9H8V11H11V14H13V11H16V9H13V6H11Z",f1="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z",O1="M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z",g1="M8 13C6.14 13 4.59 14.28 4.14 16H2V18H4.14C4.59 19.72 6.14 21 8 21S11.41 19.72 11.86 18H22V16H11.86C11.41 14.28 9.86 13 8 13M8 19C6.9 19 6 18.1 6 17C6 15.9 6.9 15 8 15S10 15.9 10 17C10 18.1 9.1 19 8 19M19.86 6C19.41 4.28 17.86 3 16 3S12.59 4.28 12.14 6H2V8H12.14C12.59 9.72 14.14 11 16 11S19.41 9.72 19.86 8H22V6H19.86M16 9C14.9 9 14 8.1 14 7C14 5.9 14.9 5 16 5S18 5.9 18 7C18 8.1 17.1 9 16 9Z",p1="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z",P1="M5.41,7.41L10,12L5.41,16.59L4,15.17L7.17,12L4,8.83L5.41,7.41M18.59,16.59L14,12L18.59,7.42L20,8.83L16.83,12L20,15.17L18.59,16.59Z",R1="M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",k1="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z",w1="M3.14,1A2.14,2.14 0 0,0 1,3.14V5H3V3H5V1H3.14M7,1V3H10V1H7M12,1V3H14V5H16V3.14C16,1.96 15.04,1 13.86,1H12M1,7V10H3V7H1M9,7C7.89,7 7,7.89 7,9C7,11.33 7,16 7,16C7,16 11.57,16 13.86,16A2.14,2.14 0 0,0 16,13.86C16,11.57 16,7 16,7C16,7 11.33,7 9,7M18,7V9H20V11H22V9C22,7.89 21.11,7 20,7H18M9,9H14V14H9V9M1,12V13.86C1,15.04 1.96,16 3.14,16H5V14H3V12H1M20,13V16H22V13H20M7,18V20C7,21.11 7.89,22 9,22H11V20H9V18H7M20,18V20H18V22H20C21.11,22 22,21.11 22,20V18H20M13,20V22H16V20H13Z",y1="M2,4H8V6H16V4H22V10H20V14H22V20H16V18H8V20H2V14H4V10H2V4M16,10V8H8V10H6V14H8V16H16V14H18V10H16M4,6V8H6V6H4M18,6V8H20V6H18M4,16V18H6V16H4M18,16V18H20V16H18Z",B1="M13 3V11H21V3H13M3 21H11V13H3V21M3 3V11H11V3H3M13 16H16V13H18V16H21V18H18V21H16V18H13V16Z",D1="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",E1="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",U1="M3.55 19.09L4.96 20.5L6.76 18.71L5.34 17.29M12 6C8.69 6 6 8.69 6 12S8.69 18 12 18 18 15.31 18 12C18 8.68 15.31 6 12 6M20 13H23V11H20M17.24 18.71L19.04 20.5L20.45 19.09L18.66 17.29M20.45 5L19.04 3.6L17.24 5.39L18.66 6.81M13 1H11V4H13M6.76 5.39L4.96 3.6L3.55 5L5.34 6.81L6.76 5.39M1 13H4V11H1M13 20H11V23H13",x1="M2.28,3L1,4.27L2.47,5.74C2.04,6 1.61,6.29 1.2,6.6L3,9C3.53,8.6 4.08,8.25 4.66,7.93L6.89,10.16C6.15,10.5 5.44,10.91 4.8,11.4L6.6,13.8C7.38,13.22 8.26,12.77 9.2,12.47L11.75,15C10.5,15.07 9.34,15.5 8.4,16.2L12,21L14.46,17.73L17.74,21L19,19.72M12,3C9.85,3 7.8,3.38 5.9,4.07L8.29,6.47C9.5,6.16 10.72,6 12,6C15.38,6 18.5,7.11 21,9L22.8,6.6C19.79,4.34 16.06,3 12,3M12,9C11.62,9 11.25,9 10.88,9.05L14.07,12.25C15.29,12.53 16.43,13.07 17.4,13.8L19.2,11.4C17.2,9.89 14.7,9 12,9Z";export{t as $,R1 as A,u as B,x1 as C,c1 as D,h as E,c as F,S as G,K as H,X as I,Y as J,U as K,n as L,d1 as M,q as N,Q as O,E1 as P,D1 as Q,b as R,z as S,w as T,a1 as U,m as V,B1 as W,N as X,g as Y,s as Z,D as _,x as a,E as a0,y as a1,f1 as a2,p1 as a3,e as a4,o as a5,Z1 as a6,o1 as a7,w1 as a8,l as a9,p as aA,R as aa,g1 as ab,C1 as ac,l1 as ad,M1 as ae,r1 as af,T as ag,_ as ah,v as ai,M as aj,i1 as ak,f as al,d as am,r as an,H as ao,y1 as ap,S1 as aq,h1 as ar,a as as,n1 as at,B as au,k1 as av,s1 as aw,u1 as ax,j as ay,L as az,F as b,Z as c,G as d,e1 as e,W as f,L1 as g,k as h,v1 as i,H1 as j,P as k,V as l,I as m,A1 as n,C as o,A as p,O1 as q,m1 as r,O as s,i as t,V1 as u,U1 as v,t1 as w,J as x,$ as y,P1 as z};
1
+ var H="M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M16.5,16.25C16.5,14.75 13.5,14 12,14C10.5,14 7.5,14.75 7.5,16.25V17H16.5M12,12.25A2.25,2.25 0 0,0 14.25,10A2.25,2.25 0 0,0 12,7.75A2.25,2.25 0 0,0 9.75,10A2.25,2.25 0 0,0 12,12.25Z",V="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7.07,18.28C7.5,17.38 10.12,16.5 12,16.5C13.88,16.5 16.5,17.38 16.93,18.28C15.57,19.36 13.86,20 12,20C10.14,20 8.43,19.36 7.07,18.28M18.36,16.83C16.93,15.09 13.46,14.5 12,14.5C10.54,14.5 7.07,15.09 5.64,16.83C4.62,15.5 4,13.82 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,13.82 19.38,15.5 18.36,16.83M12,6C10.06,6 8.5,7.56 8.5,9.5C8.5,11.44 10.06,13 12,13C13.94,13 15.5,11.44 15.5,9.5C15.5,7.56 13.94,6 12,6M12,11A1.5,1.5 0 0,1 10.5,9.5A1.5,1.5 0 0,1 12,8A1.5,1.5 0 0,1 13.5,9.5A1.5,1.5 0 0,1 12,11Z",L="M21.7,13.35L20.7,14.35L18.65,12.3L19.65,11.3C19.86,11.09 20.21,11.09 20.42,11.3L21.7,12.58C21.91,12.79 21.91,13.14 21.7,13.35M12,18.94L18.06,12.88L20.11,14.93L14.06,21H12V18.94M12,14C7.58,14 4,15.79 4,18V20H10V18.11L14,14.11C13.34,14.03 12.67,14 12,14M12,4A4,4 0 0,0 8,8A4,4 0 0,0 12,12A4,4 0 0,0 16,8A4,4 0 0,0 12,4Z",C="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z",M="M2,2H11V11H2V2M9,4H4V9H9V4M22,13V22H13V13H22M15,20H20V15H15V20M16,8V11H13V8H16M11,16H8V13H11V16Z",a="M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22M12,7L7,12H10V16H14V12H17L12,7Z",A="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z",i="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21",r="M3 16C3 18.8 5.2 21 8 21H10V19H8C6.3 19 5 17.7 5 16V14H3V16M21 8C21 5.2 18.8 3 16 3H14V5H16C17.7 5 19 6.3 19 8V10H21V8M16 21C18.8 21 21 18.8 21 16V14H19V16C19 17.7 17.7 19 16 19H14V21H16M8 3C5.2 3 3 5.2 3 8V10H5V8C5 6.3 6.3 5 8 5H10V3H8Z",s="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z",d="M20,4H16.83L15,2H9L7.17,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M20,18H4V6H8.05L9.88,4H14.12L15.95,6H20V18M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15Z",e="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z",m="M21 15V18H24V20H21V23H19V20H16V18H19V15H21M14 18H3V6H19V13H21V6C21 4.89 20.11 4 19 4H3C1.9 4 1 4.89 1 6V18C1 19.11 1.9 20 3 20H14V18Z",v="M14.5 12C14.5 10.62 13.38 9.5 12 9.5C10.62 9.5 9.5 10.62 9.5 12C9.5 13 10.09 13.84 10.93 14.25L9.82 15.35C8.73 14.64 8 13.41 8 12C8 9.79 9.79 8 12 8C14.21 8 16 9.79 16 12C16 13.41 15.27 14.64 14.18 15.35L13.08 14.25C13.92 13.84 14.5 13 14.5 12M12 2C6.5 2 2 6.5 2 12C2 15.06 3.38 17.8 5.54 19.63L6.61 18.57C4.71 17 3.5 14.64 3.5 12C3.5 7.31 7.31 3.5 12 3.5C16.69 3.5 20.5 7.31 20.5 12C20.5 14.64 19.29 17 17.39 18.57L18.46 19.63C20.62 17.79 22 15.06 22 12C22 6.5 17.5 2 12 2M19 12C19 8.13 15.87 5 12 5C8.13 5 5 8.13 5 12C5 14.23 6.05 16.22 7.68 17.5L8.75 16.43C7.39 15.42 6.5 13.82 6.5 12C6.5 8.97 8.97 6.5 12 6.5C15.03 6.5 17.5 8.97 17.5 12C17.5 13.82 16.61 15.42 15.25 16.43L16.33 17.5C17.95 16.22 19 14.23 19 12M6 22H18L12 16L6 22Z",Z="M6.03 12.03L8.03 15.5L5.5 18.68L2 12.62L6.03 12.03M17 18V15.29C17.88 14.9 18.5 14.03 18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L8.31 9C7.36 9.53 7.03 10.75 7.58 11.71L9.08 14.31C9.63 15.26 10.86 15.59 11.81 15.04L13.69 13.96C13.94 14.55 14.41 15.03 15 15.29V18C15 19.1 15.9 20 17 20H22V18H17Z",o="M20.84 22.73L18.11 20H17C15.9 20 15 19.1 15 18V16.89L12.66 14.55L11.81 15.04C10.86 15.59 9.63 15.26 9.08 14.31L7.58 11.71C7.18 11 7.25 10.18 7.68 9.57L1.11 3L2.39 1.73L22.11 21.46L20.84 22.73M18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L10.77 7.57L17.86 14.66C18.26 14.22 18.5 13.64 18.5 13M2 12.62L5.5 18.68L8.03 15.5L6.03 12.03L2 12.62Z",t="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",n="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z",l="M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M19,19H5V5H19V19M17,17H7V7H17V17Z",c="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",u="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",S="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z",h="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",f="M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z",O="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",g="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z",p="M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z",P="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z",R="M12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12A4,4 0 0,1 12,8M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10M10,22C9.75,22 9.54,21.82 9.5,21.58L9.13,18.93C8.5,18.68 7.96,18.34 7.44,17.94L4.95,18.95C4.73,19.03 4.46,18.95 4.34,18.73L2.34,15.27C2.21,15.05 2.27,14.78 2.46,14.63L4.57,12.97L4.5,12L4.57,11L2.46,9.37C2.27,9.22 2.21,8.95 2.34,8.73L4.34,5.27C4.46,5.05 4.73,4.96 4.95,5.05L7.44,6.05C7.96,5.66 8.5,5.32 9.13,5.07L9.5,2.42C9.54,2.18 9.75,2 10,2H14C14.25,2 14.46,2.18 14.5,2.42L14.87,5.07C15.5,5.32 16.04,5.66 16.56,6.05L19.05,5.05C19.27,4.96 19.54,5.05 19.66,5.27L21.66,8.73C21.79,8.95 21.73,9.22 21.54,9.37L19.43,11L19.5,12L19.43,13L21.54,14.63C21.73,14.78 21.79,15.05 21.66,15.27L19.66,18.73C19.54,18.95 19.27,19.04 19.05,18.95L16.56,17.95C16.04,18.34 15.5,18.68 14.87,18.93L14.5,21.58C14.46,21.82 14.25,22 14,22H10M11.25,4L10.88,6.61C9.68,6.86 8.62,7.5 7.85,8.39L5.44,7.35L4.69,8.65L6.8,10.2C6.4,11.37 6.4,12.64 6.8,13.8L4.68,15.36L5.43,16.66L7.86,15.62C8.63,16.5 9.68,17.14 10.87,17.38L11.24,20H12.76L13.13,17.39C14.32,17.14 15.37,16.5 16.14,15.62L18.57,16.66L19.32,15.36L17.2,13.81C17.6,12.64 17.6,11.37 17.2,10.2L19.31,8.65L18.56,7.35L16.15,8.39C15.38,7.5 14.32,6.86 13.12,6.62L12.75,4H11.25Z",k="M20,19V7H4V19H20M20,3A2,2 0 0,1 22,5V19A2,2 0 0,1 20,21H4A2,2 0 0,1 2,19V5C2,3.89 2.9,3 4,3H20M13,17V15H18V17H13M9.58,13L5.57,9H8.4L11.7,12.3C12.09,12.69 12.09,13.33 11.7,13.72L8.42,17H5.59L9.58,13Z",w="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",y="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",B="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",D="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",E="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",U="M9,3H11V5H9V3M13,3H15V5H13V3M9,7H11V9H9V7M13,7H15V9H13V7M9,11H11V13H9V11M13,11H15V13H13V11M9,15H11V17H9V15M13,15H15V17H13V15M9,19H11V21H9V19M13,19H15V21H13V19Z",x="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z",I="M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z",T="M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14M11.5,3C14.15,3 16.55,4 18.4,5.6L21,3V10H14L16.62,7.38C15.23,6.22 13.46,5.5 11.5,5.5C7.96,5.5 4.95,7.81 3.9,11L1.53,10.22C2.92,6.03 6.85,3 11.5,3Z",z="M5,5H10V7H7V10H5V5M14,5H19V10H17V7H14V5M17,14H19V19H14V17H17V14M10,17V19H5V14H7V17H10Z",b="M14,14H19V16H16V19H14V14M5,14H10V19H8V16H5V14M8,5H10V10H5V8H8V5M19,8V10H14V5H16V8H19Z",F="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z",G="M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4C2.92,22 2,21.1 2,20V4A2,2 0 0,1 4,2M4,4V11H11V4H4M4,20H11V13H4V20M20,20V13H13V20H20M20,4H13V11H20V4Z",W="M22,16V4A2,2 0 0,0 20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16M11,12L13.03,14.71L16,11L20,16H8M2,6V20A2,2 0 0,0 4,22H18V20H4V6",N="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",j="M22 12L18 8V11H10V13H18V16M20 18A10 10 0 1 1 20 6H17.27A8 8 0 1 0 17.27 18Z",q="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z",Q="M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10A2,2 0 0,1 6,8H15V6A3,3 0 0,0 12,3A3,3 0 0,0 9,6H7A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,17A2,2 0 0,0 14,15A2,2 0 0,0 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17Z",J="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z",K="M15.5,14H14.71L14.43,13.73C15.41,12.59 16,11.11 16,9.5A6.5,6.5 0 0,0 9.5,3A6.5,6.5 0 0,0 3,9.5A6.5,6.5 0 0,0 9.5,16C11.11,16 12.59,15.41 13.73,14.43L14,14.71V15.5L19,20.5L20.5,19L15.5,14M9.5,14C7,14 5,12 5,9.5C5,7 7,5 9.5,5C12,5 14,7 14,9.5C14,12 12,14 9.5,14M7,9H12V10H7V9Z",X="M15.5,14L20.5,19L19,20.5L14,15.5V14.71L13.73,14.43C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.43,13.73L14.71,14H15.5M9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14M12,10H10V12H9V10H7V9H9V7H10V9H12V10Z",Y="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z",_="M19,11C19,12.19 18.66,13.3 18.1,14.28L16.87,13.05C17.14,12.43 17.3,11.74 17.3,11H19M15,11.16L9,5.18V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V11L15,11.16M4.27,3L21,19.73L19.73,21L15.54,16.81C14.77,17.27 13.91,17.58 13,17.72V21H11V17.72C7.72,17.23 5,14.41 5,11H6.7C6.7,14 9.24,16.1 12,16.1C12.81,16.1 13.6,15.91 14.31,15.58L12.65,13.92L12,14A3,3 0 0,1 9,11V10.28L3,4.27L4.27,3Z",$="M19,13H5V11H19V13Z",H1="M21,16V4H3V16H21M21,2A2,2 0 0,1 23,4V16A2,2 0 0,1 21,18H14V20H16V22H8V20H10V18H3C1.89,18 1,17.1 1,16V4C1,2.89 1.89,2 3,2H21M5,6H14V11H5V6M15,6H19V8H15V6M19,9V14H15V9H19M5,12H9V14H5V12M10,12H14V14H10V12Z",V1="M2 12A10 10 0 0 0 15 21.54A10 10 0 0 1 15 2.46A10 10 0 0 0 2 12Z",L1="M21 10V9L15 3H5C3.89 3 3 3.89 3 5V19C3 20.11 3.9 21 5 21H11V19.13L19.39 10.74C19.83 10.3 20.39 10.06 21 10M14 4.5L19.5 10H14V4.5M22.85 14.19L21.87 15.17L19.83 13.13L20.81 12.15C21 11.95 21.33 11.95 21.53 12.15L22.85 13.47C23.05 13.67 23.05 14 22.85 14.19M19.13 13.83L21.17 15.87L15.04 22H13V19.96L19.13 13.83Z",C1="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",M1="M14,19H18V5H14M6,19H10V5H6V19Z",a1="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",A1="M3 17.25V21H6.75L17.81 9.93L14.06 6.18L3 17.25M22.61 18.36L18.36 22.61L13.16 17.41L14.93 15.64L15.93 16.64L18.4 14.16L19.82 15.58L18.36 17L19.42 18L20.84 16.6L22.61 18.36M6.61 10.83L1.39 5.64L5.64 1.39L7.4 3.16L4.93 5.64L6 6.7L8.46 4.22L9.88 5.64L8.46 7.05L9.46 8.05L6.61 10.83M20.71 7C21.1 6.61 21.1 6 20.71 5.59L18.37 3.29C18 2.9 17.35 2.9 16.96 3.29L15.12 5.12L18.87 8.87L20.71 7Z",i1="M19,11H11V17H19V11M23,19V5C23,3.88 22.1,3 21,3H3A2,2 0 0,0 1,5V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19M21,19H3V4.97H21V19Z",r1="M8,5.14V19.14L19,12.14L8,5.14Z",s1="M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",d1="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z",e1="M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",m1="M16.56,5.44L15.11,6.89C16.84,7.94 18,9.83 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12C6,9.83 7.16,7.94 8.88,6.88L7.44,5.44C5.36,6.88 4,9.28 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,9.28 18.64,6.88 16.56,5.44M13,3H11V13H13",v1="M20.5,11H19V7C19,5.89 18.1,5 17,5H13V3.5A2.5,2.5 0 0,0 10.5,1A2.5,2.5 0 0,0 8,3.5V5H4A2,2 0 0,0 2,7V10.8H3.5C5,10.8 6.2,12 6.2,13.5C6.2,15 5,16.2 3.5,16.2H2V20A2,2 0 0,0 4,22H7.8V20.5C7.8,19 9,17.8 10.5,17.8C12,17.8 13.2,19 13.2,20.5V22H17A2,2 0 0,0 19,20V16H20.5A2.5,2.5 0 0,0 23,13.5A2.5,2.5 0 0,0 20.5,11Z",Z1="M4,6V19H20V6H4Z",o1="M4,6V19H20V6H4M18,17H6V8H18V17Z",t1="M2 12C2 16.97 6.03 21 11 21C13.39 21 15.68 20.06 17.4 18.4L15.9 16.9C14.63 18.25 12.86 19 11 19C4.76 19 1.64 11.46 6.05 7.05C10.46 2.64 18 5.77 18 12H15L19 16H19.1L23 12H20C20 7.03 15.97 3 11 3C6.03 3 2 7.03 2 12Z",n1="M12,4C14.1,4 16.1,4.8 17.6,6.3C20.7,9.4 20.7,14.5 17.6,17.6C15.8,19.5 13.3,20.2 10.9,19.9L11.4,17.9C13.1,18.1 14.9,17.5 16.2,16.2C18.5,13.9 18.5,10.1 16.2,7.7C15.1,6.6 13.5,6 12,6V10.6L7,5.6L12,0.6V4M6.3,17.6C3.7,15 3.3,11 5.1,7.9L6.6,9.4C5.5,11.6 5.9,14.4 7.8,16.2C8.3,16.7 8.9,17.1 9.6,17.4L9,19.4C8,19 7.1,18.4 6.3,17.6Z",l1="M12.5,3C17.15,3 21.08,6.03 22.47,10.22L20.1,11C19.05,7.81 16.04,5.5 12.5,5.5C10.54,5.5 8.77,6.22 7.38,7.38L10,10H3V3L5.6,5.6C7.45,4 9.85,3 12.5,3M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14Z",c1="M18 16.08C17.24 16.08 16.56 16.38 16.04 16.85L8.91 12.7C8.96 12.47 9 12.24 9 12S8.96 11.53 8.91 11.3L15.96 7.19C16.5 7.69 17.21 8 18 8C19.66 8 21 6.66 21 5S19.66 2 18 2 15 3.34 15 5C15 5.24 15.04 5.47 15.09 5.7L8.04 9.81C7.5 9.31 6.79 9 6 9C4.34 9 3 10.34 3 12S4.34 15 6 15C6.79 15 7.5 14.69 8.04 14.19L15.16 18.34C15.11 18.55 15.08 18.77 15.08 19C15.08 20.61 16.39 21.91 18 21.91S20.92 20.61 20.92 19C20.92 17.39 19.61 16.08 18 16.08M18 4C18.55 4 19 4.45 19 5S18.55 6 18 6 17 5.55 17 5 17.45 4 18 4M6 13C5.45 13 5 12.55 5 12S5.45 11 6 11 7 11.45 7 12 6.55 13 6 13M18 20C17.45 20 17 19.55 17 19S17.45 18 18 18 19 18.45 19 19 18.55 20 18 20Z",u1="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9",S1="M20 2H4C2.9 2 2 2.9 2 4V16C2 17.11 2.9 18 4 18H8L12 22L16 18H20C21.11 18 22 17.11 22 16V4C22 2.9 21.11 2 20 2M10.46 14L6.96 10.5L8.37 9.08L10.46 11.17L15.64 6L17.05 7.41L10.46 14Z",h1="M4,2H20A2,2 0 0,1 22,4V16A2,2 0 0,1 20,18H16L12,22L8,18H4A2,2 0 0,1 2,16V4A2,2 0 0,1 4,2M11,6V9H8V11H11V14H13V11H16V9H13V6H11Z",f1="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z",O1="M3,17V19H9V17H3M3,5V7H13V5H3M13,21V19H21V17H13V15H11V21H13M7,9V11H3V13H7V15H9V9H7M21,13V11H11V13H21M15,9H17V7H21V5H17V3H15V9Z",g1="M8 13C6.14 13 4.59 14.28 4.14 16H2V18H4.14C4.59 19.72 6.14 21 8 21S11.41 19.72 11.86 18H22V16H11.86C11.41 14.28 9.86 13 8 13M8 19C6.9 19 6 18.1 6 17C6 15.9 6.9 15 8 15S10 15.9 10 17C10 18.1 9.1 19 8 19M19.86 6C19.41 4.28 17.86 3 16 3S12.59 4.28 12.14 6H2V8H12.14C12.59 9.72 14.14 11 16 11S19.41 9.72 19.86 8H22V6H19.86M16 9C14.9 9 14 8.1 14 7C14 5.9 14.9 5 16 5S18 5.9 18 7C18 8.1 17.1 9 16 9Z",p1="M12.5,8C9.85,8 7.45,9 5.6,10.6L2,7V16H11L7.38,12.38C8.77,11.22 10.54,10.5 12.5,10.5C16.04,10.5 19.05,12.81 20.1,16L22.47,15.22C21.08,11.03 17.15,8 12.5,8Z",P1="M5.41,7.41L10,12L5.41,16.59L4,15.17L7.17,12L4,8.83L5.41,7.41M18.59,16.59L14,12L18.59,7.42L20,8.83L16.83,12L20,15.17L18.59,16.59Z",R1="M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z",k1="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z",w1="M3.14,1A2.14,2.14 0 0,0 1,3.14V5H3V3H5V1H3.14M7,1V3H10V1H7M12,1V3H14V5H16V3.14C16,1.96 15.04,1 13.86,1H12M1,7V10H3V7H1M9,7C7.89,7 7,7.89 7,9C7,11.33 7,16 7,16C7,16 11.57,16 13.86,16A2.14,2.14 0 0,0 16,13.86C16,11.57 16,7 16,7C16,7 11.33,7 9,7M18,7V9H20V11H22V9C22,7.89 21.11,7 20,7H18M9,9H14V14H9V9M1,12V13.86C1,15.04 1.96,16 3.14,16H5V14H3V12H1M20,13V16H22V13H20M7,18V20C7,21.11 7.89,22 9,22H11V20H9V18H7M20,18V20H18V22H20C21.11,22 22,21.11 22,20V18H20M13,20V22H16V20H13Z",y1="M2,4H8V6H16V4H22V10H20V14H22V20H16V18H8V20H2V14H4V10H2V4M16,10V8H8V10H6V14H8V16H16V14H18V10H16M4,6V8H6V6H4M18,6V8H20V6H18M4,16V18H6V16H4M18,16V18H20V16H18Z",B1="M13 3V11H21V3H13M3 21H11V13H3V21M3 3V11H11V3H3M13 16H16V13H18V16H21V18H18V21H16V18H13V16Z",D1="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",E1="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",U1="M3.55 19.09L4.96 20.5L6.76 18.71L5.34 17.29M12 6C8.69 6 6 8.69 6 12S8.69 18 12 18 18 15.31 18 12C18 8.68 15.31 6 12 6M20 13H23V11H20M17.24 18.71L19.04 20.5L20.45 19.09L18.66 17.29M20.45 5L19.04 3.6L17.24 5.39L18.66 6.81M13 1H11V4H13M6.76 5.39L4.96 3.6L3.55 5L5.34 6.81L6.76 5.39M1 13H4V11H1M13 20H11V23H13",x1="M2.28,3L1,4.27L2.47,5.74C2.04,6 1.61,6.29 1.2,6.6L3,9C3.53,8.6 4.08,8.25 4.66,7.93L6.89,10.16C6.15,10.5 5.44,10.91 4.8,11.4L6.6,13.8C7.38,13.22 8.26,12.77 9.2,12.47L11.75,15C10.5,15.07 9.34,15.5 8.4,16.2L12,21L14.46,17.73L17.74,21L19,19.72M12,3C9.85,3 7.8,3.38 5.9,4.07L8.29,6.47C9.5,6.16 10.72,6 12,6C15.38,6 18.5,7.11 21,9L22.8,6.6C19.79,4.34 16.06,3 12,3M12,9C11.62,9 11.25,9 10.88,9.05L14.07,12.25C15.29,12.53 16.43,13.07 17.4,13.8L19.2,11.4C17.2,9.89 14.7,9 12,9Z";export{t as $,R1 as A,x1 as B,u as C,c1 as D,h as E,c as F,S as G,K as H,X as I,Y as J,U as K,n as L,d1 as M,q as N,Q as O,E1 as P,D1 as Q,b as R,z as S,w as T,a1 as U,m as V,B1 as W,N as X,g as Y,s as Z,D as _,x as a,E as a0,y as a1,f1 as a2,p1 as a3,e as a4,o as a5,Z1 as a6,o1 as a7,w1 as a8,l as a9,p as aA,R as aa,g1 as ab,C1 as ac,l1 as ad,M1 as ae,r1 as af,T as ag,_ as ah,v as ai,M as aj,i1 as ak,f as al,d as am,r as an,H as ao,y1 as ap,S1 as aq,h1 as ar,a as as,n1 as at,B as au,k1 as av,s1 as aw,u1 as ax,j as ay,L as az,F as b,Z as c,G as d,e1 as e,W as f,L1 as g,k as h,v1 as i,H1 as j,P as k,V as l,I as m,A1 as n,C as o,A as p,O1 as q,m1 as r,O as s,i as t,V1 as u,U1 as v,t1 as w,J as x,$ as y,P1 as z};
@@ -0,0 +1 @@
1
+ var he=s=>{throw TypeError(s)};var Gt=(s,t,e)=>t.has(s)||he("Cannot "+e);var r=(s,t,e)=>(Gt(s,t,"read from private field"),e?e.call(s):t.get(s)),f=(s,t,e)=>t.has(s)?he("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),h=(s,t,e,i)=>(Gt(s,t,"write to private field"),i?i.call(s,e):t.set(s,e),e),y=(s,t,e)=>(Gt(s,t,"access private method"),e);var xt=(s,t,e,i)=>({set _(n){h(s,t,n,e)},get _(){return r(s,t,i)}});import{i as Fe,u as ze,h as Ye,a as Je,r as Xe,c as De,b as Ee,w as mt,o as Me,t as Ae,d as Ue}from"./@vue.CIFymae3.0.0.19-alpha.0.js";var At=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yt=typeof window>"u"||"Deno"in globalThis;function L(){}function Ze(s,t){return typeof s=="function"?s(t):s}function Bt(s){return typeof s=="number"&&s>=0&&s!==1/0}function qe(s,t){return Math.max(s+(t||0)-Date.now(),0)}function vt(s,t){return typeof s=="function"?s(t):s}function N(s,t){return typeof s=="function"?s(t):s}function ce(s,t){const{type:e="all",exact:i,fetchStatus:n,predicate:a,queryKey:u,stale:l}=s;if(u){if(i){if(t.queryHash!==ae(u,t.options))return!1}else if(!qt(t.queryKey,u))return!1}if(e!=="all"){const O=t.isActive();if(e==="active"&&!O||e==="inactive"&&O)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||n&&n!==t.state.fetchStatus||a&&!a(t))}function le(s,t){const{exact:e,status:i,predicate:n,mutationKey:a}=s;if(a){if(!t.options.mutationKey)return!1;if(e){if(pt(t.options.mutationKey)!==pt(a))return!1}else if(!qt(t.options.mutationKey,a))return!1}return!(i&&t.state.status!==i||n&&!n(t))}function ae(s,t){return((t==null?void 0:t.queryKeyHashFn)||pt)(s)}function pt(s){return JSON.stringify(s,(t,e)=>$t(e)?Object.keys(e).sort().reduce((i,n)=>(i[n]=e[n],i),{}):e)}function qt(s,t){return s===t?!0:typeof s!=typeof t?!1:s&&t&&typeof s=="object"&&typeof t=="object"?!Object.keys(t).some(e=>!qt(s[e],t[e])):!1}function Ie(s,t){if(s===t)return s;const e=fe(s)&&fe(t);if(e||$t(s)&&$t(t)){const i=e?s:Object.keys(s),n=i.length,a=e?t:Object.keys(t),u=a.length,l=e?[]:{};let O=0;for(let v=0;v<u;v++){const p=e?v:a[v];(!e&&i.includes(p)||e)&&s[p]===void 0&&t[p]===void 0?(l[p]=void 0,O++):(l[p]=Ie(s[p],t[p]),l[p]===s[p]&&s[p]!==void 0&&O++)}return n===u&&O===n?s:l}return t}function Ht(s,t){if(!t||Object.keys(s).length!==Object.keys(t).length)return!1;for(const e in s)if(s[e]!==t[e])return!1;return!0}function fe(s){return Array.isArray(s)&&s.length===Object.keys(s).length}function $t(s){if(!de(s))return!1;const t=s.constructor;if(t===void 0)return!0;const e=t.prototype;return!(!de(e)||!e.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(s)!==Object.prototype)}function de(s){return Object.prototype.toString.call(s)==="[object Object]"}function ts(s){return new Promise(t=>{setTimeout(t,s)})}function Vt(s,t,e){return typeof e.structuralSharing=="function"?e.structuralSharing(s,t):e.structuralSharing!==!1?Ie(s,t):t}function es(s,t,e=0){const i=[...s,t];return e&&i.length>e?i.slice(1):i}function ss(s,t,e=0){const i=[t,...s];return e&&i.length>e?i.slice(0,-1):i}var Te=Symbol();function je(s,t){return!s.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!s.queryFn||s.queryFn===Te?()=>Promise.reject(new Error(`Missing queryFn: '${s.queryHash}'`)):s.queryFn}var ut,Z,bt,ve,is=(ve=class extends At{constructor(){super();f(this,ut);f(this,Z);f(this,bt);h(this,bt,t=>{if(!yt&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}})}onSubscribe(){r(this,Z)||this.setEventListener(r(this,bt))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,Z))==null||t.call(this),h(this,Z,void 0))}setEventListener(t){var e;h(this,bt,t),(e=r(this,Z))==null||e.call(this),h(this,Z,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){r(this,ut)!==t&&(h(this,ut,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){var t;return typeof r(this,ut)=="boolean"?r(this,ut):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ut=new WeakMap,Z=new WeakMap,bt=new WeakMap,ve),ue=new is,gt,tt,Ot,be,rs=(be=class extends At{constructor(){super();f(this,gt,!0);f(this,tt);f(this,Ot);h(this,Ot,t=>{if(!yt&&window.addEventListener){const e=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",i)}}})}onSubscribe(){r(this,tt)||this.setEventListener(r(this,Ot))}onUnsubscribe(){var t;this.hasListeners()||((t=r(this,tt))==null||t.call(this),h(this,tt,void 0))}setEventListener(t){var e;h(this,Ot,t),(e=r(this,tt))==null||e.call(this),h(this,tt,t(this.setOnline.bind(this)))}setOnline(t){r(this,gt)!==t&&(h(this,gt,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return r(this,gt)}},gt=new WeakMap,tt=new WeakMap,Ot=new WeakMap,be),Nt=new rs;function ns(s){return Math.min(1e3*2**s,3e4)}function Ke(s){return(s??"online")==="online"?Nt.isOnline():!0}var xe=class extends Error{constructor(s){super("CancelledError"),this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}};function _t(s){return s instanceof xe}function Le(s){let t=!1,e=0,i=!1,n,a,u;const l=new Promise((C,S)=>{a=C,u=S}),O=C=>{var S;i||(P(new xe(C)),(S=s.abort)==null||S.call(s))},v=()=>{t=!0},p=()=>{t=!1},c=()=>ue.isFocused()&&(s.networkMode==="always"||Nt.isOnline())&&s.canRun(),o=()=>Ke(s.networkMode)&&s.canRun(),d=C=>{var S;i||(i=!0,(S=s.onSuccess)==null||S.call(s,C),n==null||n(),a(C))},P=C=>{var S;i||(i=!0,(S=s.onError)==null||S.call(s,C),n==null||n(),u(C))},F=()=>new Promise(C=>{var S;n=Q=>{(i||c())&&C(Q)},(S=s.onPause)==null||S.call(s)}).then(()=>{var C;n=void 0,i||(C=s.onContinue)==null||C.call(s)}),D=()=>{if(i)return;let C;const S=e===0?s.initialPromise:void 0;try{C=S??s.fn()}catch(Q){C=Promise.reject(Q)}Promise.resolve(C).then(d).catch(Q=>{var g;if(i)return;const E=s.retry??(yt?0:3),M=s.retryDelay??ns,G=typeof M=="function"?M(e,Q):M,W=E===!0||typeof E=="number"&&e<E||typeof E=="function"&&E(e,Q);if(t||!W){P(Q);return}e++,(g=s.onFail)==null||g.call(s,e,Q),ts(G).then(()=>c()?void 0:F()).then(()=>{t?P(Q):D()})})};return{promise:l,cancel:O,continue:()=>(n==null||n(),l),cancelRetry:v,continueRetry:p,canStart:o,start:()=>(o()?D():F().then(D),l)}}function as(){let s=[],t=0,e=o=>{o()},i=o=>{o()},n=o=>setTimeout(o,0);const a=o=>{n=o},u=o=>{let d;t++;try{d=o()}finally{t--,t||v()}return d},l=o=>{t?s.push(o):n(()=>{e(o)})},O=o=>(...d)=>{l(()=>{o(...d)})},v=()=>{const o=s;s=[],o.length&&n(()=>{i(()=>{o.forEach(d=>{e(d)})})})};return{batch:u,batchCalls:O,schedule:l,setNotifyFunction:o=>{e=o},setBatchNotifyFunction:o=>{i=o},setScheduler:a}}var A=as(),ot,ge,ke=(ge=class{constructor(){f(this,ot)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Bt(this.gcTime)&&h(this,ot,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(s){this.gcTime=Math.max(this.gcTime||0,s??(yt?1/0:5*60*1e3))}clearGcTimeout(){r(this,ot)&&(clearTimeout(r(this,ot)),h(this,ot,void 0))}},ot=new WeakMap,ge),Ct,wt,x,U,It,ht,H,z,Oe,us=(Oe=class extends ke{constructor(t){super();f(this,H);f(this,Ct);f(this,wt);f(this,x);f(this,U);f(this,It);f(this,ht);h(this,ht,!1),h(this,It,t.defaultOptions),this.setOptions(t.options),this.observers=[],h(this,x,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,h(this,Ct,os(this.options)),this.state=t.state??r(this,Ct),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=r(this,U))==null?void 0:t.promise}setOptions(t){this.options={...r(this,It),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&r(this,x).remove(this)}setData(t,e){const i=Vt(this.state.data,t,this.options);return y(this,H,z).call(this,{data:i,type:"success",dataUpdatedAt:e==null?void 0:e.updatedAt,manual:e==null?void 0:e.manual}),i}setState(t,e){y(this,H,z).call(this,{type:"setState",state:t,setStateOptions:e})}cancel(t){var i,n;const e=(i=r(this,U))==null?void 0:i.promise;return(n=r(this,U))==null||n.cancel(t),e?e.then(L).catch(L):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(r(this,Ct))}isActive(){return this.observers.some(t=>N(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!qe(this.state.dataUpdatedAt,t)}onFocus(){var e;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}onOnline(){var e;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(e=r(this,U))==null||e.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),r(this,x).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(r(this,U)&&(r(this,ht)?r(this,U).cancel({revert:!0}):r(this,U).cancelRetry()),this.scheduleGc()),r(this,x).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||y(this,H,z).call(this,{type:"invalidate"})}fetch(t,e){var O,v,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(e!=null&&e.cancelRefetch))this.cancel({silent:!0});else if(r(this,U))return r(this,U).continueRetry(),r(this,U).promise}if(t&&this.setOptions(t),!this.options.queryFn){const c=this.observers.find(o=>o.options.queryFn);c&&this.setOptions(c.options)}const i=new AbortController,n=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(h(this,ht,!0),i.signal)})},a=()=>{const c=je(this.options,e),o={queryKey:this.queryKey,meta:this.meta};return n(o),h(this,ht,!1),this.options.persister?this.options.persister(c,o,this):c(o)},u={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:a};n(u),(O=this.options.behavior)==null||O.onFetch(u,this),h(this,wt,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=u.fetchOptions)==null?void 0:v.meta))&&y(this,H,z).call(this,{type:"fetch",meta:(p=u.fetchOptions)==null?void 0:p.meta});const l=c=>{var o,d,P,F;_t(c)&&c.silent||y(this,H,z).call(this,{type:"error",error:c}),_t(c)||((d=(o=r(this,x).config).onError)==null||d.call(o,c,this),(F=(P=r(this,x).config).onSettled)==null||F.call(P,this.state.data,c,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return h(this,U,Le({initialPromise:e==null?void 0:e.initialPromise,fn:u.fetchFn,abort:i.abort.bind(i),onSuccess:c=>{var o,d,P,F;if(c===void 0){l(new Error(`${this.queryHash} data is undefined`));return}this.setData(c),(d=(o=r(this,x).config).onSuccess)==null||d.call(o,c,this),(F=(P=r(this,x).config).onSettled)==null||F.call(P,c,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(c,o)=>{y(this,H,z).call(this,{type:"failed",failureCount:c,error:o})},onPause:()=>{y(this,H,z).call(this,{type:"pause"})},onContinue:()=>{y(this,H,z).call(this,{type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0})),r(this,U).start()}},Ct=new WeakMap,wt=new WeakMap,x=new WeakMap,U=new WeakMap,It=new WeakMap,ht=new WeakMap,H=new WeakSet,z=function(t){const e=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...He(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=t.error;return _t(n)&&n.revert&&r(this,wt)?{...r(this,wt),fetchStatus:"idle"}:{...i,error:n,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=e(this.state),A.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),r(this,x).notify({query:this,type:"updated",action:t})})},Oe);function He(s,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ke(t.networkMode)?"fetching":"paused",...s===void 0&&{error:null,status:"pending"}}}function os(s){const t=typeof s.initialData=="function"?s.initialData():s.initialData,e=t!==void 0,i=e?typeof s.initialDataUpdatedAt=="function"?s.initialDataUpdatedAt():s.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:e?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:e?"success":"pending",fetchStatus:"idle"}}var _,Ce,Ne=(Ce=class extends At{constructor(e={}){super();f(this,_);this.config=e,h(this,_,new Map)}build(e,i,n){const a=i.queryKey,u=i.queryHash??ae(a,i);let l=this.get(u);return l||(l=new us({cache:this,queryKey:a,queryHash:u,options:e.defaultQueryOptions(i),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(l)),l}add(e){r(this,_).has(e.queryHash)||(r(this,_).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const i=r(this,_).get(e.queryHash);i&&(e.destroy(),i===e&&r(this,_).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){A.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return r(this,_).get(e)}getAll(){return[...r(this,_).values()]}find(e){const i={exact:!0,...e};return this.getAll().find(n=>ce(i,n))}findAll(e={}){const i=this.getAll();return Object.keys(e).length>0?i.filter(n=>ce(e,n)):i}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}onFocus(){A.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){A.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},_=new WeakMap,Ce),B,q,ct,$,X,we,hs=(we=class extends ke{constructor(t){super();f(this,$);f(this,B);f(this,q);f(this,ct);this.mutationId=t.mutationId,h(this,q,t.mutationCache),h(this,B,[]),this.state=t.state||Ge(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){r(this,B).includes(t)||(r(this,B).push(t),this.clearGcTimeout(),r(this,q).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){h(this,B,r(this,B).filter(e=>e!==t)),this.scheduleGc(),r(this,q).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){r(this,B).length||(this.state.status==="pending"?this.scheduleGc():r(this,q).remove(this))}continue(){var t;return((t=r(this,ct))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var n,a,u,l,O,v,p,c,o,d,P,F,D,C,S,Q,E,M,G,W;h(this,ct,Le({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(g,k)=>{y(this,$,X).call(this,{type:"failed",failureCount:g,error:k})},onPause:()=>{y(this,$,X).call(this,{type:"pause"})},onContinue:()=>{y(this,$,X).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>r(this,q).canRun(this)}));const e=this.state.status==="pending",i=!r(this,ct).canStart();try{if(!e){y(this,$,X).call(this,{type:"pending",variables:t,isPaused:i}),await((a=(n=r(this,q).config).onMutate)==null?void 0:a.call(n,t,this));const k=await((l=(u=this.options).onMutate)==null?void 0:l.call(u,t));k!==this.state.context&&y(this,$,X).call(this,{type:"pending",context:k,variables:t,isPaused:i})}const g=await r(this,ct).start();return await((v=(O=r(this,q).config).onSuccess)==null?void 0:v.call(O,g,t,this.state.context,this)),await((c=(p=this.options).onSuccess)==null?void 0:c.call(p,g,t,this.state.context)),await((d=(o=r(this,q).config).onSettled)==null?void 0:d.call(o,g,null,this.state.variables,this.state.context,this)),await((F=(P=this.options).onSettled)==null?void 0:F.call(P,g,null,t,this.state.context)),y(this,$,X).call(this,{type:"success",data:g}),g}catch(g){try{throw await((C=(D=r(this,q).config).onError)==null?void 0:C.call(D,g,t,this.state.context,this)),await((Q=(S=this.options).onError)==null?void 0:Q.call(S,g,t,this.state.context)),await((M=(E=r(this,q).config).onSettled)==null?void 0:M.call(E,void 0,g,this.state.variables,this.state.context,this)),await((W=(G=this.options).onSettled)==null?void 0:W.call(G,void 0,g,t,this.state.context)),g}finally{y(this,$,X).call(this,{type:"error",error:g})}}finally{r(this,q).runNext(this)}}},B=new WeakMap,q=new WeakMap,ct=new WeakMap,$=new WeakSet,X=function(t){const e=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=e(this.state),A.batch(()=>{r(this,B).forEach(i=>{i.onMutationUpdate(t)}),r(this,q).notify({mutation:this,type:"updated",action:t})})},we);function Ge(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var K,Tt,Qe,_e=(Qe=class extends At{constructor(e={}){super();f(this,K);f(this,Tt);this.config=e,h(this,K,new Map),h(this,Tt,Date.now())}build(e,i,n){const a=new hs({mutationCache:this,mutationId:++xt(this,Tt)._,options:e.defaultMutationOptions(i),state:n});return this.add(a),a}add(e){const i=Lt(e),n=r(this,K).get(i)??[];n.push(e),r(this,K).set(i,n),this.notify({type:"added",mutation:e})}remove(e){var n;const i=Lt(e);if(r(this,K).has(i)){const a=(n=r(this,K).get(i))==null?void 0:n.filter(u=>u!==e);a&&(a.length===0?r(this,K).delete(i):r(this,K).set(i,a))}this.notify({type:"removed",mutation:e})}canRun(e){var n;const i=(n=r(this,K).get(Lt(e)))==null?void 0:n.find(a=>a.state.status==="pending");return!i||i===e}runNext(e){var n;const i=(n=r(this,K).get(Lt(e)))==null?void 0:n.find(a=>a!==e&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}clear(){A.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...r(this,K).values()].flat()}find(e){const i={exact:!0,...e};return this.getAll().find(n=>le(i,n))}findAll(e={}){return this.getAll().filter(i=>le(e,i))}notify(e){A.batch(()=>{this.listeners.forEach(i=>{i(e)})})}resumePausedMutations(){const e=this.getAll().filter(i=>i.state.isPaused);return A.batch(()=>Promise.all(e.map(i=>i.continue().catch(L))))}},K=new WeakMap,Tt=new WeakMap,Qe);function Lt(s){var t;return((t=s.options.scope)==null?void 0:t.id)??String(s.mutationId)}function cs(s){return{onFetch:(t,e)=>{const i=async()=>{var P,F,D,C,S;const n=t.options,a=(D=(F=(P=t.fetchOptions)==null?void 0:P.meta)==null?void 0:F.fetchMore)==null?void 0:D.direction,u=((C=t.state.data)==null?void 0:C.pages)||[],l=((S=t.state.data)==null?void 0:S.pageParams)||[],O={pages:[],pageParams:[]};let v=!1;const p=Q=>{Object.defineProperty(Q,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},c=je(t.options,t.fetchOptions),o=async(Q,E,M)=>{if(v)return Promise.reject();if(E==null&&Q.pages.length)return Promise.resolve(Q);const G={queryKey:t.queryKey,pageParam:E,direction:M?"backward":"forward",meta:t.options.meta};p(G);const W=await c(G),{maxPages:g}=t.options,k=M?ss:es;return{pages:k(Q.pages,W,g),pageParams:k(Q.pageParams,E,g)}};let d;if(a&&u.length){const Q=a==="backward",E=Q?ls:ye,M={pages:u,pageParams:l},G=E(n,M);d=await o(M,G,Q)}else{d=await o(O,l[0]??n.initialPageParam);const Q=s??u.length;for(let E=1;E<Q;E++){const M=ye(n,d);if(M==null)break;d=await o(d,M)}}return d};t.options.persister?t.fetchFn=()=>{var n,a;return(a=(n=t.options).persister)==null?void 0:a.call(n,i,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},e)}:t.fetchFn=i}}}function ye(s,{pages:t,pageParams:e}){const i=t.length-1;return t.length>0?s.getNextPageParam(t[i],t,e[i],e):void 0}function ls(s,{pages:t,pageParams:e}){var i;return t.length>0?(i=s.getPreviousPageParam)==null?void 0:i.call(s,t[0],t,e[0],e):void 0}var R,et,st,Qt,St,it,Pt,Rt,Se,fs=(Se=class{constructor(t={}){f(this,R);f(this,et);f(this,st);f(this,Qt);f(this,St);f(this,it);f(this,Pt);f(this,Rt);h(this,R,t.queryCache||new Ne),h(this,et,t.mutationCache||new _e),h(this,st,t.defaultOptions||{}),h(this,Qt,new Map),h(this,St,new Map),h(this,it,0)}mount(){xt(this,it)._++,r(this,it)===1&&(h(this,Pt,ue.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onFocus())})),h(this,Rt,Nt.subscribe(async t=>{t&&(await this.resumePausedMutations(),r(this,R).onOnline())})))}unmount(){var t,e;xt(this,it)._--,r(this,it)===0&&((t=r(this,Pt))==null||t.call(this),h(this,Pt,void 0),(e=r(this,Rt))==null||e.call(this),h(this,Rt,void 0))}isFetching(t){return r(this,R).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return r(this,et).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,R).get(e.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const e=this.getQueryData(t.queryKey);if(e===void 0)return this.fetchQuery(t);{const i=this.defaultQueryOptions(t),n=r(this,R).build(this,i);return t.revalidateIfStale&&n.isStaleByTime(vt(i.staleTime,n))&&this.prefetchQuery(i),Promise.resolve(e)}}getQueriesData(t){return r(this,R).findAll(t).map(({queryKey:e,state:i})=>{const n=i.data;return[e,n]})}setQueryData(t,e,i){const n=this.defaultQueryOptions({queryKey:t}),a=r(this,R).get(n.queryHash),u=a==null?void 0:a.state.data,l=Ze(e,u);if(l!==void 0)return r(this,R).build(this,n).setData(l,{...i,manual:!0})}setQueriesData(t,e,i){return A.batch(()=>r(this,R).findAll(t).map(({queryKey:n})=>[n,this.setQueryData(n,e,i)]))}getQueryState(t){var i;const e=this.defaultQueryOptions({queryKey:t});return(i=r(this,R).get(e.queryHash))==null?void 0:i.state}removeQueries(t){const e=r(this,R);A.batch(()=>{e.findAll(t).forEach(i=>{e.remove(i)})})}resetQueries(t,e){const i=r(this,R),n={type:"active",...t};return A.batch(()=>(i.findAll(t).forEach(a=>{a.reset()}),this.refetchQueries(n,e)))}cancelQueries(t={},e={}){const i={revert:!0,...e},n=A.batch(()=>r(this,R).findAll(t).map(a=>a.cancel(i)));return Promise.all(n).then(L).catch(L)}invalidateQueries(t={},e={}){return A.batch(()=>{if(r(this,R).findAll(t).forEach(n=>{n.invalidate()}),t.refetchType==="none")return Promise.resolve();const i={...t,type:t.refetchType??t.type??"active"};return this.refetchQueries(i,e)})}refetchQueries(t={},e){const i={...e,cancelRefetch:(e==null?void 0:e.cancelRefetch)??!0},n=A.batch(()=>r(this,R).findAll(t).filter(a=>!a.isDisabled()).map(a=>{let u=a.fetch(void 0,i);return i.throwOnError||(u=u.catch(L)),a.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(n).then(L)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const i=r(this,R).build(this,e);return i.isStaleByTime(vt(e.staleTime,i))?i.fetch(e):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(L).catch(L)}fetchInfiniteQuery(t){return t.behavior=cs(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(L).catch(L)}resumePausedMutations(){return Nt.isOnline()?r(this,et).resumePausedMutations():Promise.resolve()}getQueryCache(){return r(this,R)}getMutationCache(){return r(this,et)}getDefaultOptions(){return r(this,st)}setDefaultOptions(t){h(this,st,t)}setQueryDefaults(t,e){r(this,Qt).set(pt(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...r(this,Qt).values()];let i={};return e.forEach(n=>{qt(t,n.queryKey)&&(i={...i,...n.defaultOptions})}),i}setMutationDefaults(t,e){r(this,St).set(pt(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...r(this,St).values()];let i={};return e.forEach(n=>{qt(t,n.mutationKey)&&(i={...i,...n.defaultOptions})}),i}defaultQueryOptions(t){if(t._defaulted)return t;const e={...r(this,st).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ae(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.enabled!==!0&&e.queryFn===Te&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...r(this,st).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){r(this,R).clear(),r(this,et).clear()}},R=new WeakMap,et=new WeakMap,st=new WeakMap,Qt=new WeakMap,St=new WeakMap,it=new WeakMap,Pt=new WeakMap,Rt=new WeakMap,Se),T,b,jt,I,lt,Ft,V,Kt,Dt,Et,ft,dt,rt,Mt,w,Ut,Wt,zt,Yt,Jt,Xt,Zt,te,Be,Pe,ds=(Pe=class extends At{constructor(t,e){super();f(this,w);f(this,T);f(this,b);f(this,jt);f(this,I);f(this,lt);f(this,Ft);f(this,V);f(this,Kt);f(this,Dt);f(this,Et);f(this,ft);f(this,dt);f(this,rt);f(this,Mt,new Set);this.options=e,h(this,T,t),h(this,V,null),this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(r(this,b).addObserver(this),pe(r(this,b),this.options)?y(this,w,Ut).call(this):this.updateResult(),y(this,w,Jt).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ee(r(this,b),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ee(r(this,b),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,y(this,w,Xt).call(this),y(this,w,Zt).call(this),r(this,b).removeObserver(this)}setOptions(t,e){const i=this.options,n=r(this,b);if(this.options=r(this,T).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof N(this.options.enabled,r(this,b))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");y(this,w,te).call(this),r(this,b).setOptions(this.options),i._defaulted&&!Ht(this.options,i)&&r(this,T).getQueryCache().notify({type:"observerOptionsUpdated",query:r(this,b),observer:this});const a=this.hasListeners();a&&me(r(this,b),n,this.options,i)&&y(this,w,Ut).call(this),this.updateResult(e),a&&(r(this,b)!==n||N(this.options.enabled,r(this,b))!==N(i.enabled,r(this,b))||vt(this.options.staleTime,r(this,b))!==vt(i.staleTime,r(this,b)))&&y(this,w,Wt).call(this);const u=y(this,w,zt).call(this);a&&(r(this,b)!==n||N(this.options.enabled,r(this,b))!==N(i.enabled,r(this,b))||u!==r(this,rt))&&y(this,w,Yt).call(this,u)}getOptimisticResult(t){const e=r(this,T).getQueryCache().build(r(this,T),t),i=this.createResult(e,t);return ps(this,i)&&(h(this,I,i),h(this,Ft,this.options),h(this,lt,r(this,b).state)),i}getCurrentResult(){return r(this,I)}trackResult(t,e){const i={};return Object.keys(t).forEach(n=>{Object.defineProperty(i,n,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(n),e==null||e(n),t[n])})}),i}trackProp(t){r(this,Mt).add(t)}getCurrentQuery(){return r(this,b)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=r(this,T).defaultQueryOptions(t),i=r(this,T).getQueryCache().build(r(this,T),e);return i.isFetchingOptimistic=!0,i.fetch().then(()=>this.createResult(i,e))}fetch(t){return y(this,w,Ut).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),r(this,I)))}createResult(t,e){var W;const i=r(this,b),n=this.options,a=r(this,I),u=r(this,lt),l=r(this,Ft),v=t!==i?t.state:r(this,jt),{state:p}=t;let c={...p},o=!1,d;if(e._optimisticResults){const g=this.hasListeners(),k=!g&&pe(t,e),We=g&&me(t,i,e,n);(k||We)&&(c={...c,...He(p.data,t.options)}),e._optimisticResults==="isRestoring"&&(c.fetchStatus="idle")}let{error:P,errorUpdatedAt:F,status:D}=c;if(e.select&&c.data!==void 0)if(a&&c.data===(u==null?void 0:u.data)&&e.select===r(this,Kt))d=r(this,Dt);else try{h(this,Kt,e.select),d=e.select(c.data),d=Vt(a==null?void 0:a.data,d,e),h(this,Dt,d),h(this,V,null)}catch(g){h(this,V,g)}else d=c.data;if(e.placeholderData!==void 0&&d===void 0&&D==="pending"){let g;if(a!=null&&a.isPlaceholderData&&e.placeholderData===(l==null?void 0:l.placeholderData))g=a.data;else if(g=typeof e.placeholderData=="function"?e.placeholderData((W=r(this,Et))==null?void 0:W.state.data,r(this,Et)):e.placeholderData,e.select&&g!==void 0)try{g=e.select(g),h(this,V,null)}catch(k){h(this,V,k)}g!==void 0&&(D="success",d=Vt(a==null?void 0:a.data,g,e),o=!0)}r(this,V)&&(P=r(this,V),d=r(this,Dt),F=Date.now(),D="error");const C=c.fetchStatus==="fetching",S=D==="pending",Q=D==="error",E=S&&C,M=d!==void 0;return{status:D,fetchStatus:c.fetchStatus,isPending:S,isSuccess:D==="success",isError:Q,isInitialLoading:E,isLoading:E,data:d,dataUpdatedAt:c.dataUpdatedAt,error:P,errorUpdatedAt:F,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>v.dataUpdateCount||c.errorUpdateCount>v.errorUpdateCount,isFetching:C,isRefetching:C&&!S,isLoadingError:Q&&!M,isPaused:c.fetchStatus==="paused",isPlaceholderData:o,isRefetchError:Q&&M,isStale:oe(t,e),refetch:this.refetch}}updateResult(t){const e=r(this,I),i=this.createResult(r(this,b),this.options);if(h(this,lt,r(this,b).state),h(this,Ft,this.options),r(this,lt).data!==void 0&&h(this,Et,r(this,b)),Ht(i,e))return;h(this,I,i);const n={},a=()=>{if(!e)return!0;const{notifyOnChangeProps:u}=this.options,l=typeof u=="function"?u():u;if(l==="all"||!l&&!r(this,Mt).size)return!0;const O=new Set(l??r(this,Mt));return this.options.throwOnError&&O.add("error"),Object.keys(r(this,I)).some(v=>{const p=v;return r(this,I)[p]!==e[p]&&O.has(p)})};(t==null?void 0:t.listeners)!==!1&&a()&&(n.listeners=!0),y(this,w,Be).call(this,{...n,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&y(this,w,Jt).call(this)}},T=new WeakMap,b=new WeakMap,jt=new WeakMap,I=new WeakMap,lt=new WeakMap,Ft=new WeakMap,V=new WeakMap,Kt=new WeakMap,Dt=new WeakMap,Et=new WeakMap,ft=new WeakMap,dt=new WeakMap,rt=new WeakMap,Mt=new WeakMap,w=new WeakSet,Ut=function(t){y(this,w,te).call(this);let e=r(this,b).fetch(this.options,t);return t!=null&&t.throwOnError||(e=e.catch(L)),e},Wt=function(){y(this,w,Xt).call(this);const t=vt(this.options.staleTime,r(this,b));if(yt||r(this,I).isStale||!Bt(t))return;const i=qe(r(this,I).dataUpdatedAt,t)+1;h(this,ft,setTimeout(()=>{r(this,I).isStale||this.updateResult()},i))},zt=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(r(this,b)):this.options.refetchInterval)??!1},Yt=function(t){y(this,w,Zt).call(this),h(this,rt,t),!(yt||N(this.options.enabled,r(this,b))===!1||!Bt(r(this,rt))||r(this,rt)===0)&&h(this,dt,setInterval(()=>{(this.options.refetchIntervalInBackground||ue.isFocused())&&y(this,w,Ut).call(this)},r(this,rt)))},Jt=function(){y(this,w,Wt).call(this),y(this,w,Yt).call(this,y(this,w,zt).call(this))},Xt=function(){r(this,ft)&&(clearTimeout(r(this,ft)),h(this,ft,void 0))},Zt=function(){r(this,dt)&&(clearInterval(r(this,dt)),h(this,dt,void 0))},te=function(){const t=r(this,T).getQueryCache().build(r(this,T),this.options);if(t===r(this,b))return;const e=r(this,b);h(this,b,t),h(this,jt,t.state),this.hasListeners()&&(e==null||e.removeObserver(this),t.addObserver(this))},Be=function(t){A.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(r(this,I))}),r(this,T).getQueryCache().notify({query:r(this,b),type:"observerResultsUpdated"})})},Pe);function ys(s,t){return N(t.enabled,s)!==!1&&s.state.data===void 0&&!(s.state.status==="error"&&t.retryOnMount===!1)}function pe(s,t){return ys(s,t)||s.state.data!==void 0&&ee(s,t,t.refetchOnMount)}function ee(s,t,e){if(N(t.enabled,s)!==!1){const i=typeof e=="function"?e(s):e;return i==="always"||i!==!1&&oe(s,t)}return!1}function me(s,t,e,i){return(s!==t||N(i.enabled,s)===!1)&&(!e.suspense||s.state.status!=="error")&&oe(s,e)}function oe(s,t){return N(t.enabled,s)!==!1&&s.isStaleByTime(vt(t.staleTime,s))}function ps(s,t){return!Ht(s.getCurrentResult(),t)}var nt,at,j,Y,J,kt,se,Re,ms=(Re=class extends At{constructor(t,e){super();f(this,J);f(this,nt);f(this,at);f(this,j);f(this,Y);h(this,nt,t),this.setOptions(e),this.bindMethods(),y(this,J,kt).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var i;const e=this.options;this.options=r(this,nt).defaultMutationOptions(t),Ht(this.options,e)||r(this,nt).getMutationCache().notify({type:"observerOptionsUpdated",mutation:r(this,j),observer:this}),e!=null&&e.mutationKey&&this.options.mutationKey&&pt(e.mutationKey)!==pt(this.options.mutationKey)?this.reset():((i=r(this,j))==null?void 0:i.state.status)==="pending"&&r(this,j).setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(t=r(this,j))==null||t.removeObserver(this)}onMutationUpdate(t){y(this,J,kt).call(this),y(this,J,se).call(this,t)}getCurrentResult(){return r(this,at)}reset(){var t;(t=r(this,j))==null||t.removeObserver(this),h(this,j,void 0),y(this,J,kt).call(this),y(this,J,se).call(this)}mutate(t,e){var i;return h(this,Y,e),(i=r(this,j))==null||i.removeObserver(this),h(this,j,r(this,nt).getMutationCache().build(r(this,nt),this.options)),r(this,j).addObserver(this),r(this,j).execute(t)}},nt=new WeakMap,at=new WeakMap,j=new WeakMap,Y=new WeakMap,J=new WeakSet,kt=function(){var e;const t=((e=r(this,j))==null?void 0:e.state)??Ge();h(this,at,{...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset})},se=function(t){A.batch(()=>{var e,i,n,a,u,l,O,v;if(r(this,Y)&&this.hasListeners()){const p=r(this,at).variables,c=r(this,at).context;(t==null?void 0:t.type)==="success"?((i=(e=r(this,Y)).onSuccess)==null||i.call(e,t.data,p,c),(a=(n=r(this,Y)).onSettled)==null||a.call(n,t.data,null,p,c)):(t==null?void 0:t.type)==="error"&&((l=(u=r(this,Y)).onError)==null||l.call(u,t.error,p,c),(v=(O=r(this,Y)).onSettled)==null||v.call(O,void 0,t.error,p,c))}this.listeners.forEach(p=>{p(r(this,at))})})},Re),vs="VUE_QUERY_CLIENT";function $e(s){const t=s?`:${s}`:"";return`${vs}${t}`}function ie(s,t){Object.keys(s).forEach(e=>{s[e]=t[e]})}function re(s,t,e="",i=0){if(t){const n=t(s,e,i);if(n===void 0&&Fe(s)||n!==void 0)return n}if(Array.isArray(s))return s.map((n,a)=>re(n,t,String(a),i+1));if(typeof s=="object"&&gs(s)){const n=Object.entries(s).map(([a,u])=>[a,re(u,t,a,i+1)]);return Object.fromEntries(n)}return s}function bs(s,t){return re(s,t)}function m(s,t=!1){return bs(s,(e,i,n)=>{if(n===1&&i==="queryKey")return m(e,!0);if(t&&Os(e))return m(e(),t);if(Fe(e))return m(ze(e),t)})}function gs(s){if(Object.prototype.toString.call(s)!=="[object Object]")return!1;const t=Object.getPrototypeOf(s);return t===null||t===Object.prototype}function Os(s){return typeof s=="function"}function ne(s,t){return typeof s=="function"?s(...t):!!s}function Ve(s=""){if(!Ye())throw new Error("vue-query hooks can only be used inside setup() function or functions that support injection context.");const t=$e(s),e=Je(t);if(!e)throw new Error("No 'queryClient' found in Vue context, use 'VueQueryPlugin' to properly initialize the library.");return e}var Cs=class extends Ne{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},ws=class extends _e{find(s){return super.find(m(s))}findAll(s={}){return super.findAll(m(s))}},Qs=class extends fs{constructor(s={}){const t={defaultOptions:s.defaultOptions,queryCache:s.queryCache||new Cs,mutationCache:s.mutationCache||new ws};super(t),this.isRestoring=Xe(!1)}isFetching(s={}){return super.isFetching(m(s))}isMutating(s={}){return super.isMutating(m(s))}getQueryData(s){return super.getQueryData(m(s))}ensureQueryData(s){return super.ensureQueryData(m(s))}getQueriesData(s){return super.getQueriesData(m(s))}setQueryData(s,t,e={}){return super.setQueryData(m(s),t,m(e))}setQueriesData(s,t,e={}){return super.setQueriesData(m(s),t,m(e))}getQueryState(s){return super.getQueryState(m(s))}removeQueries(s={}){return super.removeQueries(m(s))}resetQueries(s={},t={}){return super.resetQueries(m(s),m(t))}cancelQueries(s={},t={}){return super.cancelQueries(m(s),m(t))}invalidateQueries(s={},t={}){return new Promise(e=>{setTimeout(async()=>{await super.invalidateQueries(m(s),m(t)),e()},0)})}refetchQueries(s={},t={}){return super.refetchQueries(m(s),m(t))}fetchQuery(s){return super.fetchQuery(m(s))}prefetchQuery(s){return super.prefetchQuery(m(s))}fetchInfiniteQuery(s){return super.fetchInfiniteQuery(m(s))}prefetchInfiniteQuery(s){return super.prefetchInfiniteQuery(m(s))}setDefaultOptions(s){super.setDefaultOptions(m(s))}setQueryDefaults(s,t){super.setQueryDefaults(m(s),m(t))}getQueryDefaults(s){return super.getQueryDefaults(m(s))}setMutationDefaults(s,t){super.setMutationDefaults(m(s),m(t))}getMutationDefaults(s){return super.getMutationDefaults(m(s))}},Ms={install:(s,t={})=>{const e=$e(t.queryClientKey);let i;if("queryClient"in t&&t.queryClient)i=t.queryClient;else{const u="queryClientConfig"in t?t.queryClientConfig:void 0;i=new Qs(u)}yt||i.mount();let n=()=>{};if(t.clientPersister){i.isRestoring.value=!0;const[u,l]=t.clientPersister(i);n=u,l.then(()=>{var O;i.isRestoring.value=!1,(O=t.clientPersisterOnSuccess)==null||O.call(t,i)})}const a=()=>{i.unmount(),n()};if(s.onUnmount)s.onUnmount(a);else{const u=s.unmount;s.unmount=function(){a(),u()}}s.provide(e,i)}};function Ss(s,t,e){const i=Ve(),n=De(()=>{const o=m(t);typeof o.enabled=="function"&&(o.enabled=o.enabled());const d=i.defaultQueryOptions(o);return d._optimisticResults=i.isRestoring.value?"isRestoring":"optimistic",d}),a=new s(i,n.value),u=Ee(a.getCurrentResult());let l=()=>{};mt(i.isRestoring,o=>{o||(l(),l=a.subscribe(d=>{ie(u,d)}))},{immediate:!0});const O=()=>{a.setOptions(n.value),ie(u,a.getCurrentResult())};mt(n,O),Me(()=>{l()});const v=(...o)=>(O(),u.refetch(...o)),p=()=>new Promise((o,d)=>{let P=()=>{};const F=()=>{if(n.value.enabled!==!1){a.setOptions(n.value);const D=a.getOptimisticResult(n.value);D.isStale?(P(),a.fetchOptimistic(n.value).then(o,C=>{ne(n.value.throwOnError,[C,a.getCurrentQuery()])?d(C):o(a.getCurrentResult())})):(P(),o(D))}};F(),P=mt(n,F)});mt(()=>u.error,o=>{if(u.isError&&!u.isFetching&&ne(n.value.throwOnError,[o,a.getCurrentQuery()]))throw o});const c=Ae(Ue(u));for(const o in u)typeof u[o]=="function"&&(c[o]=u[o]);return c.suspense=p,c.refetch=v,c}function As(s,t){return Ss(ds,s)}function Us(s,t){const e=Ve(),i=De(()=>e.defaultMutationOptions(m(s))),n=new ms(e,i.value),a=Ee(n.getCurrentResult()),u=n.subscribe(v=>{ie(a,v)}),l=(v,p)=>{n.mutate(v,p).catch(()=>{})};mt(i,()=>{n.setOptions(i.value)}),Me(()=>{u()});const O=Ae(Ue(a));return mt(()=>a.error,v=>{if(v&&ne(i.value.throwOnError,[v]))throw v}),{...O,mutate:l,mutateAsync:a.mutate,reset:a.reset}}export{Qs as Q,Ms as V,As as a,Us as b,Ve as u};
@@ -1,4 +1,4 @@
1
- import{Z as s,a as h,b as a}from"./zod.BaF2dDCd.0.0.18.js";import{i as j,c as y}from"./vee-validate.CUcfsxU0.0.0.18.js";/**
1
+ import{Z as s,a as h,b as a}from"./zod.BaF2dDCd.0.0.19-alpha.0.js";import{i as j,c as y}from"./vee-validate.DJJ8_Fyn.0.0.19-alpha.0.js";/**
2
2
  * vee-validate v4.13.2
3
3
  * (c) 2024 Abdelrahman Awad
4
4
  * @license MIT
@@ -0,0 +1 @@
1
+ import{t as v,c as b,e as S,f as V,g as D,v as B,j as p,n as y,k as w,l as C,m as N,p as j,q as T}from"./@vue.CIFymae3.0.0.19-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};
@@ -0,0 +1 @@
1
+ import{s as pe,x as he,y 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.CIFymae3.0.0.19-alpha.0.js";import{n as Y}from"./nprogress.BrRWMscC.0.0.19-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};
@@ -0,0 +1 @@
1
+ import{f as se,u as oe,c as re,r as ae,_ as te,d as ne}from"./main.CkYowq7q.0.0.19-alpha.0.js";import{F as le,r as _,J as ie,e as j,O as me,R as t,u as e,j as s,T as d,M as o,m as g,f as de,l as ce,V as $,q as ue,n as E,ai as pe,aj as fe}from"./@vue.CIFymae3.0.0.19-alpha.0.js";import{m as N,a as R,X as D}from"./@mdi.DnMbZhUH.0.0.19-alpha.0.js";import{F as f,a as ve}from"./vee-validate.DJJ8_Fyn.0.0.19-alpha.0.js";import{i as U}from"./vue3-toastify.DZfdsboE.0.0.19-alpha.0.js";import{s as _e}from"./pinia.CQfBY7qg.0.0.19-alpha.0.js";import{c as O,d as q,e as J,z as X,V as G,b as H}from"./vuetify.DXUML5TX.0.0.19-alpha.0.js";import{u as ge}from"./vue-i18n.azjIf4Ih.0.0.19-alpha.0.js";import"./axios.CpM4fnec.0.0.19-alpha.0.js";import"./@tanstack.B-W82lDj.0.0.19-alpha.0.js";import"./vue-router.DtIU2WG9.0.0.19-alpha.0.js";import"./@vueuse.D7szcD_M.0.0.19-alpha.0.js";import"./nprogress.BrRWMscC.0.0.19-alpha.0.js";import"./@xterm.DEbAdM0L.0.0.19-alpha.0.js";import"./@vee-validate.DUMMnq5s.0.0.19-alpha.0.js";import"./zod.BaF2dDCd.0.0.19-alpha.0.js";import"./uuid.DvF23Exx.0.0.19-alpha.0.js";import"./socket.io-client.BomHj9Qp.0.0.19-alpha.0.js";import"./engine.io-client.qls-cuG2.0.0.19-alpha.0.js";import"./engine.io-parser.BiEtp6m2.0.0.19-alpha.0.js";import"./@socket.io.Dkula2eQ.0.0.19-alpha.0.js";import"./socket.io-parser.T8j4RkOV.0.0.19-alpha.0.js";import"./rxjs.B4YWftOD.0.0.19-alpha.0.js";import"./tslib.9k7AwCpt.0.0.19-alpha.0.js";import"./vue-inline-svg.m2FZhVJH.0.0.19-alpha.0.js";import"./v-calendar.Dn2-daxK.0.0.19-alpha.0.js";import"./@popperjs.BQBsAJpH.0.0.19-alpha.0.js";import"./@intlify.YW_pt133.0.0.19-alpha.0.js";const b=k=>(pe("data-v-6dca30aa"),k=k(),fe(),k),be={class:"relative"},he={class:"subview-title text-color"},ye={class:"image-upload ml-auto"},we={for:"file-input"},xe={class:"inner-component p-4"},ke={class:"relative"},Ce={for:"username",class:"v-label"},Me=b(()=>s("div",{class:"py-1"},null,-1)),Ve={class:"relative"},$e={for:"password",class:"v-label"},Se=b(()=>s("div",{class:"py-1"},null,-1)),Ie={class:"relative"},Le={for:"passwordConfirm",class:"v-label"},Fe=b(()=>s("div",{class:"py-1"},null,-1)),Te={class:"relative"},ze={for:"sessionTimer",class:"v-label"},Oe=b(()=>s("div",{class:"py-1"},null,-1)),Ae={key:0,style:{"padding-top":"22px"}},Be={class:"relative"},Pe={class:"flex flex-row"},je={class:"v-label m-0 mb-0 ml-2",for:"rememberMe"},Ee={class:"text-sm"},Ne=b(()=>s("div",{class:"py-2"},null,-1)),Re={class:"relative"},De={class:"flex flex-row"},Ue={class:"v-label m-0 mb-0 ml-2",for:"oneLogin"},qe={class:"text-sm"},Je=b(()=>s("div",{class:"py-2"},null,-1)),Xe=le({__name:"Account",setup(k){var B,P;const{smallMobileActive:A}=se(),S=oe(),K=ge(),{loginState:r}=_e(S),I=_("avatar"),C=_(),L=_(),h=_(!1),M=_(!1),V=_(!1);let F=((B=r.value.user)==null?void 0:B.rememberMe)??!1,T=((P=r.value.user)==null?void 0:P.oneLogin)??!1;const Q=()=>{r.value.user&&(r.value.user.rememberMe=!r.value.user.rememberMe)},W=()=>{r.value.user&&(r.value.user.oneLogin=!r.value.user.oneLogin)},Y=()=>{L.value&&(L.value.resetForm(),I.value="avatar",C.value=void 0),r.value.user&&(r.value.user.rememberMe=F,r.value.user.oneLogin=T)},Z=async n=>{var c;const a=(c=n.target)==null?void 0:c.files;C.value=a==null?void 0:a[0],I.value=await ae(n)},ee=async n=>{var y,w,l,i,m,u,x;h.value=!0;let a;const c={...n};delete c.upload;const z=((y=r.value.user)==null?void 0:y.username)!==c.username||c.password&&c.passwordConfirm,v=Object.entries(c).some(([,p])=>p!==void 0);if(C.value&&(a=new FormData,a.append("upload",C.value)),!v&&!a){h.value=!1;return}try{await S.updateUser(c,a,!0),U.success(K.t("components.toast.profile_updated")),F=((w=r.value.user)==null?void 0:w.rememberMe)??F,T=((l=r.value.user)==null?void 0:l.oneLogin)??T,z&&S.logout()}catch(p){U.error(((m=(i=p.response)==null?void 0:i.data)==null?void 0:m.message)??p.message??p),console.error(((x=(u=p.response)==null?void 0:u.data)==null?void 0:x.message)??p.message??p)}h.value=!1};return(n,a)=>{const c=te,z=ie("v-number-input");return j(),me(e(ve),{ref_key:"form",ref:L,class:"flex flex-col w-full","validation-schema":e(re),onSubmit:a[3]||(a[3]=v=>ee(v))},{default:t(()=>{var v,y,w;return[s("div",be,[s("span",he,d(n.$t("views.settings.profile")),1),s("div",ye,[s("label",we,[o(c,{src:e(I),size:"4rem",style:{"border-radius":"4rem",border:"1px solid var(--border)"}},null,8,["src"]),o(e(f),{id:"file-input",type:"file",name:"upload",accept:"image/png,image/jpeg,image/jpg",onChange:a[0]||(a[0]=l=>Z(l))})])]),s("div",xe,[s("div",ke,[s("label",Ce,d(n.$t("components.form.label.username")),1),o(e(f),{name:"username",value:(v=e(r).user)==null?void 0:v.username},{default:t(({field:l,errorMessage:i,errors:m})=>[o(O,g({name:"username",variant:"outlined",density:"compact"},l,{type:"text",error:m.length>0,"error-messages":i}),null,16,["error","error-messages"])]),_:1},8,["value"])]),Me,s("div",Ve,[s("label",$e,d(n.$t("components.form.label.new_password")),1),o(e(f),{name:"password"},{default:t(({field:l,errorMessage:i,errors:m})=>[o(O,g({name:"password",variant:"outlined",density:"compact"},l,{type:e(M)?"text":"password",error:m.length>0,"error-messages":i,"append-inner-icon":e(M)?e(N):e(R),"onClick:appendInner":a[1]||(a[1]=u=>M.value=!e(M))}),null,16,["type","error","error-messages","append-inner-icon"])]),_:1})]),Se,s("div",Ie,[s("label",Le,d(n.$t("components.form.label.new_password_confirm")),1),o(e(f),{name:"passwordConfirm"},{default:t(({field:l,errorMessage:i,errors:m})=>[o(O,g({name:"passwordConfirm",variant:"outlined",density:"compact"},l,{type:e(V)?"text":"password",error:m.length>0,"error-messages":i,"append-inner-icon":e(V)?e(N):e(R),"onClick:appendInner":a[2]||(a[2]=u=>V.value=!e(V))}),null,16,["type","error","error-messages","append-inner-icon"])]),_:1})]),Fe,s("div",Te,[s("label",ze,d(n.$t("components.form.label.session_timer")),1),o(e(f),{name:"sessionTimer",value:(y=e(r).user)==null?void 0:y.sessionTimer},{default:t(({field:l,errorMessage:i,errors:m})=>{var u,x;return[o(z,g({name:"sessionTimer",variant:"outlined",density:"compact"},l,{type:"number",step:600,error:m.length>0,"error-messages":i,disabled:(u=e(r).user)==null?void 0:u.rememberMe,"hide-details":(x=e(r).user)==null?void 0:x.rememberMe}),null,16,["error","error-messages","disabled","hide-details"])]}),_:1},8,["value"])]),Oe,(w=e(r).user)!=null&&w.rememberMe?(j(),de("div",Ae)):ce("",!0),s("div",Be,[o(e(f),{name:"rememberMe",type:"checkbox","checked-value":!0,"unchecked-value":!1},{default:t(({field:l,errorMessage:i,errors:m})=>[s("div",Pe,[o(q,g({"model-value":e(r).user.rememberMe,name:"rememberMe"},l,{color:"#df2a4c",type:"checkbox",error:m.length>0,"error-messages":i,"hide-details":"",onChange:Q}),null,16,["model-value","error","error-messages"]),s("label",je,d(n.$t("components.form.label.remember_me")),1)])]),_:1}),o(X,{variant:"tonal",color:"#df2a4c"},{prepend:t(()=>[o(J,{color:"#df2a4c",size:"20",class:"mt-1"},{default:t(()=>[$(d(e(D)),1)]),_:1})]),default:t(()=>[s("span",Ee,d(n.$t("components.form.hint.remember_me")),1)]),_:1})]),Ne,s("div",Re,[o(e(f),{name:"oneLogin",type:"checkbox","checked-value":!0,"unchecked-value":!1},{default:t(({field:l,errorMessage:i,errors:m})=>{var u;return[s("div",De,[o(q,g({"model-value":(u=e(r).user)==null?void 0:u.oneLogin,name:"oneLogin"},l,{color:"#df2a4c",type:"checkbox",error:m.length>0,"error-messages":i,"hide-details":"",onChange:W}),null,16,["model-value","error","error-messages"]),s("label",Ue,d(n.$t("components.form.label.one_login")),1)])]}),_:1}),o(X,{variant:"tonal",color:"#df2a4c"},{prepend:t(()=>[o(J,{color:"#df2a4c",size:"20",class:"mt-1"},{default:t(()=>[$(d(e(D)),1)]),_:1})]),default:t(()=>[s("span",qe,d(n.$t("components.form.hint.one_login")),1)]),_:1})]),Je])]),s("div",{class:E(["flex flex-row my-5",{"mr-3":e(A)}])},[o(H,{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(h),onClick:ue(Y,["prevent"])},{loader:t(()=>[o(G,{class:"text-color",size:"14",width:"2",indeterminate:""})]),default:t(()=>[$(d(n.$t("components.form.button.cancel")),1)]),_:1},8,["loading"]),o(H,{class:E(["text-white bg-color-primary",{"mr-2":e(A)}]),loading:e(h),elevation:"0",tonal:"",style:{border:"1px solid var(--color-primary-darken-2)"},type:"submit"},{loader:t(()=>[o(G,{color:"#fff",size:"14",width:"2",indeterminate:""})]),default:t(()=>[$(d(n.$t("components.form.button.save")),1)]),_:1},8,["loading","class"])],2)]}),_:1},8,["validation-schema"])}}}),ws=ne(Xe,[["__scopeId","data-v-6dca30aa"]]);export{ws as default};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["vue3-apexcharts.DzlbGnLg.0.0.19-alpha.0.js","@vue.CIFymae3.0.0.19-alpha.0.js"])))=>i.map(i=>d[i]);
2
+ var he=Object.defineProperty;var ye=(g,a,c)=>a in g?he(g,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):g[a]=c;var ie=(g,a,c)=>ye(g,typeof a!="symbol"?a+"":a,c);import{F as q,t as de,r as v,b as Y,c as A,J as ve,e as k,O as T,R as n,j as b,u as s,V as D,T as x,f as M,l as be,g as J,q as z,M as f,at as ke,B as fe,w as G,a3 as X,m as le,ar as B,U as xe,n as pe}from"./@vue.CIFymae3.0.0.19-alpha.0.js";import{ay as we,at as ce}from"./@mdi.DnMbZhUH.0.0.19-alpha.0.js";import{i as U,u as We,s as H,O as Le,Q as Ne,d as Z,a as Se,N as Te,y as ee,P as d,x as ge,f as Pe}from"./main.CkYowq7q.0.0.19-alpha.0.js";import{s as _e}from"./pinia.CQfBY7qg.0.0.19-alpha.0.js";import{l as te,T as se,b as ae,e as oe,a0 as Ce,a1 as re,X as ue,m as K}from"./vuetify.DXUML5TX.0.0.19-alpha.0.js";import{i as ne}from"./vue3-toastify.DZfdsboE.0.0.19-alpha.0.js";import{P as Oe}from"./plugins.DRJQgLoG.0.0.19-alpha.0.js";import{u as Re,a as Ee,b as De}from"./@tanstack.B-W82lDj.0.0.19-alpha.0.js";import{S as $e}from"./system.5Q8dCMhY.0.0.19-alpha.0.js";import"./vue-i18n.azjIf4Ih.0.0.19-alpha.0.js";import"./@intlify.YW_pt133.0.0.19-alpha.0.js";import"./axios.CpM4fnec.0.0.19-alpha.0.js";import"./vue-router.DtIU2WG9.0.0.19-alpha.0.js";import"./@vueuse.D7szcD_M.0.0.19-alpha.0.js";import"./nprogress.BrRWMscC.0.0.19-alpha.0.js";import"./@xterm.DEbAdM0L.0.0.19-alpha.0.js";import"./vee-validate.DJJ8_Fyn.0.0.19-alpha.0.js";import"./@vee-validate.DUMMnq5s.0.0.19-alpha.0.js";import"./zod.BaF2dDCd.0.0.19-alpha.0.js";import"./uuid.DvF23Exx.0.0.19-alpha.0.js";import"./socket.io-client.BomHj9Qp.0.0.19-alpha.0.js";import"./engine.io-client.qls-cuG2.0.0.19-alpha.0.js";import"./engine.io-parser.BiEtp6m2.0.0.19-alpha.0.js";import"./@socket.io.Dkula2eQ.0.0.19-alpha.0.js";import"./socket.io-parser.T8j4RkOV.0.0.19-alpha.0.js";import"./rxjs.B4YWftOD.0.0.19-alpha.0.js";import"./tslib.9k7AwCpt.0.0.19-alpha.0.js";import"./vue-inline-svg.m2FZhVJH.0.0.19-alpha.0.js";import"./v-calendar.Dn2-daxK.0.0.19-alpha.0.js";import"./@popperjs.BQBsAJpH.0.0.19-alpha.0.js";var $=(g=>(g.READY="ready",g.RESTARTING="restarting",g.STARTING="starting",g.STARTED="started",g.STOPPED="stopped",g.ERROR="error",g.UNKNOWN="unknown",g))($||{});const Ae={class:"flex items-center first-item"},Ie={key:1},Fe={class:"text-center pt-2"},Qe=q({__name:"VUserTable",props:{loading:{type:Boolean,default:!1}},setup(g){const a=g,{t:c}=U.global,N=new Ne,S=We(),{isTouch:w}=H(),{loginState:p}=_e(S),{loading:h}=de(a),i=v({pageSize:5,page:1}),W=Y([{title:c("components.user_table.title_username"),align:"start",key:"username",value:"decoded.username",sortable:!0},{title:c("components.user_table.title_role"),align:"start",key:"role",value:"decoded.role",sortable:!0},{title:c("components.user_table.title_address"),align:"start",key:"address",value:"clientData.address",sortable:!0},{title:c("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}]),y=A(()=>F.value||l.value||h.value),R=A(()=>{var P;const O=Math.ceil((((P=u.value)==null?void 0:P.pagination.totalItems)||0)/i.value.pageSize);return O===1&&(i.value.page=1),O}),L=A(()=>{var O;return(O=u.value)==null?void 0:O.result.map(P=>({encoded:P.token,decoded:Le(P.token.access_token),clientData:P.clientData}))}),{data:u,isLoading:l,isPlaceholderData:I}=N.listQuery(i,!0),{mutate:E,isPending:F}=N.logoutTokenQuery(),Q=()=>{i.value.page=Math.max(i.value.page-1,1)},V=()=>{I.value||(i.value.page=i.value.page+1)};return(O,P)=>{const j=ve("router-link");return k(),T(re,{"items-per-page":s(i).pageSize,headers:s(W),items:s(L),class:"elevation-0","item-value":"username","hide-default-footer":"","mobile-breakpoint":"sm",hover:""},{"item.username":n(({item:C})=>[b("div",Ae,[C.encoded.access_token===s(p).access_token?(k(),T(j,{key:0,to:"/settings/account"},{default:n(()=>[D(x(C.decoded.username),1)]),_:2},1024)):(k(),M("div",Ie,x(C.decoded.username),1)),C.encoded.access_token===s(p).access_token?(k(),T(te,{key:2,color:"#df2a4c",class:"ml-2",inline:"",content:O.$t("components.user_table.you")},null,8,["content"])):be("",!0)])]),"item.delete":n(({item:C})=>[J((k(),T(ae,{color:"#df2a4c",density:"compact",loading:s(y),icon:"",onClick:z(e=>s(E)({id:C.encoded._id,access_token:C.encoded.access_token}),["prevent"])},{default:n(()=>[f(oe,{size:"20"},{default:n(()=>[D(x(s(we)),1)]),_:1})]),_:2},1032,["loading","onClick"])),[[se,{disabled:s(w),text:O.$t("components.form.tooltip.restart")}]])]),bottom:n(()=>[b("div",Fe,[f(Ce,{modelValue:s(i).page,"onUpdate:modelValue":P[0]||(P[0]=C=>s(i).page=C),length:s(R),onPrev:z(Q,["prevent"]),onNext:z(V,["prevent"])},null,8,["modelValue","length"])])]),_:1},8,["items-per-page","headers","items"])}}}),Ve=Z(Qe,[["__scopeId","data-v-0f04954a"]]),je={key:0,class:"text-disabled"},me=q({__name:"VMetricCharts",props:{type:{},processInfo:{},maxDataPoints:{default:30},width:{default:200},height:{default:25},chartType:{default:"bar"}},async setup(g){let a,c;const N=([a,c]=ke(()=>Te(()=>import("./vue3-apexcharts.DzlbGnLg.0.0.19-alpha.0.js"),__vite__mapDeps([0,1]))),a=await a,c(),a).default,S=Se(),w=g,{theme:p}=_e(S),{type:h,processInfo:i,maxDataPoints:W,chartType:y}=de(w),R=A(()=>{const l=(i.value||[]).map(E=>h.value==="cpu"?E.cpuLoad:E.memLoad).slice(-W.value);return[{data:[...l,...Array(W.value-l.length).fill(0)].map(E=>parseFloat(E))}]}),L=A(()=>[{data:(i.value||[]).map(l=>l.timestamp)}]),u=A(()=>({chart:{type:y.value,sparkline:{enabled:!0}},plotOptions:{bar:{columnWidth:"80%"}},colors:[({value:l})=>l>=90?"#FA5252":l>=50?"#FF9966":"#df2a4c"],xaxis:{crosshairs:{width:1},axisBorder:{show:!1},axisTicks:{show:!1},categories:L.value[0].data},yaxis:{show:!1,labels:{formatter:l=>Math.ceil(l).toString()},min:0},tooltip:{theme:p.value,fixed:{enabled:!1},marker:{show:!1},y:{title:{formatter:function(){return""}},formatter:l=>`${l} %`},x:{formatter:l=>new Date(l).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}}}));return(l,I)=>(k(),M("div",null,[!s(i)||!s(i).length?(k(),M("span",je,x(l.$t("components.charts.no_data")),1)):(k(),T(s(N),{key:1,type:s(y),options:s(u),series:s(R),height:l.height,width:l.width,"data-no-clone":""},null,8,["type","options","series","height","width"]))]))}}),ze={class:"flex items-center first-item"},Be=q({__name:"VPluginTable",setup(g){const{t:a}=U.global,{isTouch:c}=H(),N=ee(),S=new Oe,w=v(),p=v(),h=v({}),i=v([]),W=v(30),y=v(200),R={pid:-1,cpuLoad:"0.00",memLoad:"0.00",timestamp:0},L=v({}),u=v({}),l=A(()=>Object.values(L.value).filter(Boolean)),I=Y([{title:a("components.process_table.title_name"),align:"start",key:"name",value:"name",minWidth:"200px",sortable:!0},{title:a("components.process_table.title_pid"),align:"start",key:"pid",value:"pid",width:"100px",minWidth:"100px",maxWidth:"100px",sortable:!0},{title:a("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:y.value,minWidth:y.value,maxWidth:y.value,sortable:!1},{title:a("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:y.value,minWidth:y.value,maxWidth:y.value,sortable:!1},{title:"",align:"end",key:"restart",value:"restart",width:"60px",minWidth:"60px",maxWidth:"60px",sortable:!1}]),{data:E,isLoading:F,suspense:Q}=S.getPluginsQuery(fe({page:1,pageSize:-1})),{mutateAsync:V}=S.restartPluginQuery(),O=A(()=>e=>i.value.includes(e));G(u,e=>{for(const[r,t]of Object.entries(e))L.value[r]=t[t.length-1]??{name:r,...R}},{deep:!0,immediate:!0}),G(E,e=>{if(e)for(const r of e.result)r.disabled||(u.value[r.pluginName]||(u.value[r.pluginName]=[]),h.value[r.pluginName]||(h.value[r.pluginName]={name:r.pluginName,status:d.UNKNOWN}))},{deep:!0,immediate:!0});const P=e=>{var t;switch(((t=h.value[e])==null?void 0:t.status)??d.UNKNOWN){case d.ERROR:return"#9d5752";case d.STARTING:return"orange";case d.READY:return"yellow";case d.STARTED:return"green";case d.STOPPED:return"red";case d.DISABLED:return"#2196f3";case d.UNKNOWN:return"gray";default:return"gray"}},j=e=>{var t;switch(((t=h.value[e])==null?void 0:t.status)??d.UNKNOWN){case d.ERROR:return a("components.process_table.status_error");case d.STOPPED:return a("components.process_table.status_stopped");case d.READY:return a("components.process_table.status_ready");case d.STARTING:return a("components.process_table.status_starting");case d.STARTED:return a("components.process_table.status_started");default:return a("components.process_table.status_unknown")}},C=async e=>{var r,t,o,m;i.value.push(e);try{await V({pluginName:e})}catch(_){console.error(((t=(r=_.response)==null?void 0:r.data)==null?void 0:t.message)??_.message??_),ne.error(((m=(o=_.response)==null?void 0:o.data)==null?void 0:m.message)??_.message??_)}finally{i.value=i.value.filter(_=>_!==e)}};return X(async()=>{if(w.value=N.getExistingNamespace("/metrics"),p.value=N.getExistingNamespace("/status"),!w.value)throw new Error("Not connected to metrics!");if(!p.value)throw new Error("Not connected to status!");await Q(),await new Promise(e=>setTimeout(e,10)),p.value.socket.emit("get-plugin-process-status"),p.value.socket.on("plugin-process-status",e=>{for(const[r,t]of Object.entries(e))h.value[r]=t}),w.value.request("get-plugins-process-info").subscribe(e=>{u.value=e}),w.value.socket.on("process-infos",e=>{const r=e.plugins;Object.keys(u.value).forEach(t=>{r[t]||delete u.value[t]}),Object.keys(L.value).forEach(t=>{r[t]||delete L.value[t]});for(const[t,o]of Object.entries(r))u.value[t]||(u.value[t]=[]),u.value[t].push(o),u.value[t].slice(-W.value)})}),(e,r)=>{const t=ve("router-link"),o=me;return k(),T(re,{"items-per-page":-1,headers:s(I),items:s(l),class:"elevation-0",loading:s(F),"hide-default-footer":"","mobile-breakpoint":"sm",hover:""},{"item.name":n(({item:m})=>[b("div",ze,[f(ue,{location:"top",text:j(m.name)},{activator:n(({props:_})=>[f(te,le(_,{color:P(m.name),dot:"",inline:""}),null,16,["color"])]),_:2},1032,["text"]),f(t,{to:`/plugins/${m.name}`,class:"ml-1"},{default:n(()=>[D(x(m.name),1)]),_:2},1032,["to"])])]),"item.cpuLoad":n(({item:m})=>[f(K,{color:parseFloat(m.cpuLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:n(()=>[D(x(m.cpuLoad)+" %",1)]),_:2},1032,["color"])]),"item.cpuLoadChart":n(({item:m})=>[(k(),T(B,null,{default:n(()=>[f(o,{type:"cpu","max-data-points":s(W),"process-info":s(u)[m.name]},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.memLoad":n(({item:m})=>[f(K,{color:parseFloat(m.memLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:n(()=>[D(x(m.memLoad)+" %",1)]),_:2},1032,["color"])]),"item.memLoadChart":n(({item:m})=>[(k(),T(B,null,{default:n(()=>[f(o,{type:"memory","max-data-points":s(W),"process-info":s(u)[m.name]},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.restart":n(({item:m})=>[J((k(),T(ae,{color:"#df2a4c",density:"compact",loading:s(O)(m.name),icon:"",onClick:z(_=>C(m.name),["prevent"])},{default:n(()=>[f(oe,{size:"20"},{default:n(()=>[D(x(s(ce)),1)]),_:1})]),_:2},1032,["loading","onClick"])),[[se,{disabled:s(c),text:e.$t("components.form.tooltip.restart")}]])]),bottom:n(()=>[]),_:1},8,["headers","items","loading"])}}}),Ke=Z(Be,[["__scopeId","data-v-5af279b1"]]),qe=async({parameter:g,signal:a})=>(await ge.get("/frameworkers",{params:g,signal:a})).data,Ge=async({frameWorkerName:g})=>(await ge.put(`/frameworkers/${g}/restart`)).data;class Ue{constructor(){ie(this,"_queryClient",Re());ie(this,"queryActivator",v([{name:"getFrameWorkersQuery",enabled:!0}]))}get queryClient(){return this._queryClient}getFrameWorkersQuery(a){return Ee({queryKey:["frameWorkerList",a],queryFn:({signal:c})=>qe({parameter:s(a),signal:c}),placeholderData:c=>c,enabled:()=>this.queryActivator.value.some(c=>c.name==="getFrameWorkersQuery"&&c.enabled)})}restartFrameWorkerQuery(){return De({mutationFn:Ge,onSuccess:async(a,c)=>{await this._queryClient.refetchQueries({queryKey:["frameWorkers",c.frameWorkerName]}),ne.success(U.global.t("components.toast.frame_worker_restarted"))}})}toggleQueryActivator(a,c){const N=this.queryActivator.value.find(S=>S.name===a);N&&(N.enabled=c)}}const Me={class:"flex items-center first-item"},Ye={class:"ml-1"},Je=q({__name:"VFrameWorkerTable",setup(g){const{t:a}=U.global,c=ee(),{isTouch:N}=H(),S=new Ue,w=v(),p=v(),h=v({}),i=v([]),W=v(30),y=v(200),R={pid:-1,cpuLoad:"0.00",memLoad:"0.00",timestamp:0},L=v({}),u=v({}),l=A(()=>Object.values(L.value).filter(Boolean)),I=Y([{title:a("components.process_table.title_name"),align:"start",key:"name",value:"name",minWidth:"200px",sortable:!0},{title:a("components.process_table.title_pid"),align:"start",key:"pid",value:"pid",width:"100px",minWidth:"100px",maxWidth:"100px",sortable:!0},{title:a("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:y.value,minWidth:y.value,maxWidth:y.value,sortable:!1},{title:a("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:y.value,minWidth:y.value,maxWidth:y.value,sortable:!1},{title:"",align:"end",key:"restart",value:"restart",width:"60px",minWidth:"60px",maxWidth:"60px",sortable:!1}]),{data:E,isLoading:F,suspense:Q}=S.getFrameWorkersQuery(fe({page:1,pageSize:-1})),{mutateAsync:V}=S.restartFrameWorkerQuery(),O=A(()=>e=>i.value.includes(e));G(u,e=>{for(const[r,t]of Object.entries(e))L.value[r]=t[t.length-1]??{name:r,...R}},{deep:!0,immediate:!0}),G(E,e=>{if(e)for(const r of e.result)u.value[r.name]||(u.value[r.name]=[]),h.value[r.name]||(h.value[r.name]={name:r.name,status:d.UNKNOWN})},{deep:!0,immediate:!0});const P=e=>{var t;switch(((t=h.value[e])==null?void 0:t.status)??d.UNKNOWN){case d.ERROR:return"#9d5752";case d.STARTING:return"orange";case d.READY:return"yellow";case d.STARTED:return"green";case d.STOPPED:return"red";case d.DISABLED:return"#2196f3";case d.UNKNOWN:return"gray";default:return"gray"}},j=e=>{var t;switch(((t=h.value[e])==null?void 0:t.status)??d.UNKNOWN){case d.ERROR:return a("components.process_table.status_error");case d.STOPPED:return a("components.process_table.status_stopped");case d.READY:return a("components.process_table.status_ready");case d.STARTING:return a("components.process_table.status_starting");case d.STARTED:return a("components.process_table.status_started");default:return a("components.process_table.status_unknown")}},C=async e=>{var r,t,o,m;i.value.push(e);try{await V({frameWorkerName:e})}catch(_){console.error(((t=(r=_.response)==null?void 0:r.data)==null?void 0:t.message)??_.message??_),ne.error(((m=(o=_.response)==null?void 0:o.data)==null?void 0:m.message)??_.message??_)}finally{i.value=i.value.filter(_=>_!==e)}};return X(async()=>{if(w.value=c.getExistingNamespace("/metrics"),p.value=c.getExistingNamespace("/status"),!w.value)throw new Error("Not connected to metrics!");if(!p.value)throw new Error("Not connected to status!");await Q(),await new Promise(e=>setTimeout(e,10)),p.value.socket.emit("get-frameworker-process-status"),p.value.socket.on("frameworker-process-status",e=>{for(const[r,t]of Object.entries(e))h.value[r]=t}),w.value.request("get-frameworker-process-info").subscribe(e=>{u.value=e}),w.value.socket.on("process-infos",e=>{const r=e.workers;Object.keys(u.value).forEach(t=>{r[t]||delete u.value[t]}),Object.keys(L.value).forEach(t=>{r[t]||delete L.value[t]});for(const[t,o]of Object.entries(r))u.value[t]||(u.value[t]=[]),u.value[t].push(o),u.value[t].slice(-W.value)})}),(e,r)=>{const t=me;return k(),T(re,{"items-per-page":-1,headers:s(I),items:s(l),class:"elevation-0",loading:s(F),"hide-default-footer":"","mobile-breakpoint":"sm",hover:""},{"item.name":n(({item:o})=>[b("div",Me,[f(ue,{location:"top",text:j(o.name)},{activator:n(({props:m})=>[f(te,le(m,{color:P(o.name),dot:"",inline:""}),null,16,["color"])]),_:2},1032,["text"]),b("div",Ye,x(o.name),1)])]),"item.cpuLoad":n(({item:o})=>[f(K,{color:parseFloat(o.cpuLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:n(()=>[D(x(o.cpuLoad)+" %",1)]),_:2},1032,["color"])]),"item.cpuLoadChart":n(({item:o})=>[(k(),T(B,null,{default:n(()=>[f(t,{type:"cpu","max-data-points":s(W),"process-info":s(u)[o.name]},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.memLoad":n(({item:o})=>[f(K,{color:parseFloat(o.memLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:n(()=>[D(x(o.memLoad)+" %",1)]),_:2},1032,["color"])]),"item.memLoadChart":n(({item:o})=>[(k(),T(B,null,{default:n(()=>[f(t,{type:"memory","max-data-points":s(W),"process-info":s(u)[o.name]},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.restart":n(({item:o})=>[J((k(),T(ae,{color:"#df2a4c",density:"compact",loading:s(O)(o.name),icon:"",onClick:z(m=>C(o.name),["prevent"])},{default:n(()=>[f(oe,{size:"20"},{default:n(()=>[D(x(s(ce)),1)]),_:1})]),_:2},1032,["loading","onClick"])),[[se,{disabled:s(N),text:e.$t("components.form.tooltip.restart")}]])]),bottom:n(()=>[]),_:1},8,["headers","items","loading"])}}}),Xe=Z(Je,[["__scopeId","data-v-6a64f1d1"]]),He={class:"flex items-center first-item"},Ze={class:"ml-1"},et=q({__name:"VProcessTable",setup(g){const{t:a}=U.global,c=ee(),{isTouch:N}=H(),S=new $e,w=v(),p=v(),h=v(30),i=v(200),W=v($.UNKNOWN),y=v($.UNKNOWN),R=v($.UNKNOWN),L={pid:-1,cpuLoad:"0.00",memLoad:"0.00",timestamp:0},u=v({server:{name:"server",...L},go2rtc:{name:"go2rtc",...L},nats:{name:"nats",...L}}),l=v({server:[],go2rtc:[],nats:[]}),I=A(()=>Object.values(u.value).filter(Boolean)),E=Y([{title:a("components.process_table.title_name"),align:"start",key:"name",value:"name",minWidth:"200px",sortable:!0},{title:a("components.process_table.title_pid"),align:"start",key:"pid",value:"pid",width:"100px",minWidth:"100px",maxWidth:"100px",sortable:!0},{title:a("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:i.value,minWidth:i.value,maxWidth:i.value,sortable:!1},{title:a("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:i.value,minWidth:i.value,maxWidth:i.value,sortable:!1},{title:"",align:"end",key:"restart",value:"restart",width:"60px",minWidth:"60px",maxWidth:"60px",sortable:!1}]),{mutateAsync:F,isPending:Q}=S.restartGo2RtcQuery(),{mutateAsync:V,isPending:O}=S.restartServerQuery();G(l,e=>{u.value.server=e.server[e.server.length-1]??{...L,name:"server"},u.value.go2rtc=e.go2rtc[e.go2rtc.length-1]??{...L,name:"go2rtc"},u.value.nats=e.nats[e.nats.length-1]??{...L,name:"nats"}},{deep:!0,immediate:!0});const P=e=>{switch(e){case"server":return W.value;case"go2rtc":return y.value;case"nats":return R.value;default:return $.UNKNOWN}},j=e=>{switch(P(e)){case $.ERROR:return"#9d5752";case $.STARTING:return"orange";case $.READY:return"yellow";case $.STARTED:return"green";case $.STOPPED:return"red";case $.UNKNOWN:return"gray";default:return"gray"}},C=async e=>{var r,t,o,m;try{e==="server"?await V():await F()}catch(_){console.error(((t=(r=_.response)==null?void 0:r.data)==null?void 0:t.message)??_.message??_),ne.error(((m=(o=_.response)==null?void 0:o.data)==null?void 0:m.message)??_.message??_)}};return X(async()=>{if(w.value=c.getExistingNamespace("/metrics"),p.value=c.getExistingNamespace("/status"),!w.value)throw new Error("Not connected to metrics!");if(!p.value)throw new Error("Not connected to status!");await new Promise(e=>setTimeout(e,10)),p.value.socket.emit("get-process-status"),p.value.socket.on("process-status",e=>{e.server&&(W.value=e.server.status),e.go2rtc&&(y.value=e.go2rtc.status),e.nats&&(R.value=e.nats.status)}),w.value.request("get-server-process-info").subscribe(e=>{l.value=e}),w.value.socket.on("process-infos",e=>{const r=e.server,t=e.go2rtc,o=e.nats;l.value.server.push(r),l.value.server.slice(-h.value),l.value.go2rtc.push(t),l.value.go2rtc.slice(-h.value),l.value.nats.push(o),l.value.nats.slice(-h.value)})}),(e,r)=>{const t=me;return k(),T(re,{"items-per-page":-1,headers:s(E),items:s(I),class:"elevation-0","hide-default-footer":"","mobile-breakpoint":"sm",hover:""},{"item.name":n(({item:o})=>[b("div",He,[f(ue,{location:"top",text:e.$t(`components.process_table.status_${P(o.name)}`)},{activator:n(({props:m})=>[f(te,le(m,{color:j(o.name),dot:"",inline:""}),null,16,["color"])]),_:2},1032,["text"]),b("div",Ze,x(o.name),1)])]),"item.cpuLoad":n(({item:o})=>[f(K,{color:parseFloat(o.cpuLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:n(()=>[D(x(o.cpuLoad)+" %",1)]),_:2},1032,["color"])]),"item.cpuLoadChart":n(({item:o})=>[(k(),T(B,null,{default:n(()=>[f(t,{type:"cpu","max-data-points":s(h),"process-info":o.name==="server"?s(l).server:o.name==="go2rtc"?s(l).go2rtc:s(l).nats},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.memLoad":n(({item:o})=>[f(K,{color:parseFloat(o.cpuLoad)>=15?"red":void 0,density:"compact",size:"small"},{default:n(()=>[D(x(o.cpuLoad)+" %",1)]),_:2},1032,["color"])]),"item.memLoadChart":n(({item:o})=>[(k(),T(B,null,{default:n(()=>[f(t,{type:"memory","max-data-points":s(h),"process-info":o.name==="server"?s(l).server:o.name==="go2rtc"?s(l).go2rtc:s(l).nats},null,8,["max-data-points","process-info"])]),_:2},1024))]),"item.restart":n(({item:o})=>[J((k(),T(ae,{color:"#df2a4c",density:"compact",loading:o.name==="server"?s(O):s(Q),icon:"",onClick:z(m=>C(o.name),["prevent"])},{default:n(()=>[f(oe,{size:"20"},{default:n(()=>[D(x(s(ce)),1)]),_:1})]),_:2},1032,["loading","onClick"])),[[se,{disabled:s(N),text:e.$t("components.form.tooltip.restart")}]])]),bottom:n(()=>[]),_:1},8,["headers","items"])}}}),tt=Z(et,[["__scopeId","data-v-4dac97c4"]]),st={class:"h-full w-full inline-size mb-safe"},at={class:"page-title"},ot={class:"subview-title text-color"},rt={class:"inner-component p-4"},nt={class:"mt-10"},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"},Gt=q({__name:"Adminpanel",setup(g){const a=ee(),{smallMobileActive:c}=Pe(),N=v(),S=v(),w=v(!1);return X(()=>{N.value=a.connectToNamespace("/metrics"),S.value=a.connectToNamespace("/status")}),xe(()=>{var p,h,i,W;(h=(p=N.value)==null?void 0:p.end)==null||h.call(p),(W=(i=S.value)==null?void 0:i.end)==null||W.call(i)}),(p,h)=>{const i=tt,W=Xe,y=Ke,R=Ve;return k(),M("main",{class:pe(["w-full h-full",{"px-0":s(c)}])},[b("div",st,[b("div",{class:pe(["mb-3 flex w-full items-center",{"px-2":s(c)}]),style:{height:"30px"}},[b("h1",at,x(p.$t(`views.${String(p.$route.name).toLowerCase()}.title`)),1)],2),b("div",null,[b("span",ot,x(p.$t("views.adminpanel.system")),1),b("div",rt,[f(i)])]),b("div",nt,[b("span",it,x(p.$t("views.adminpanel.frameworker")),1),b("div",lt,[f(W)])]),b("div",ct,[b("span",ut,x(p.$t("views.adminpanel.plugins")),1),b("div",mt,[f(y)])]),b("div",pt,[b("span",dt,x(p.$t("views.adminpanel.currently_loggedin_users")),1),b("div",vt,[f(R,{loading:s(w)},null,8,["loading"])])])])],2)}}});export{Gt as default};
@@ -0,0 +1 @@
1
+ import{b as _,a as f}from"./main.CkYowq7q.0.0.19-alpha.0.js";import{s as p}from"./pinia.CQfBY7qg.0.0.19-alpha.0.js";import{y as c,d as h}from"./vuetify.DXUML5TX.0.0.19-alpha.0.js";import{F as b,e as V,f as g,j as e,T as i,M as r,u as t,i as d}from"./@vue.CIFymae3.0.0.19-alpha.0.js";import"./vue3-toastify.DZfdsboE.0.0.19-alpha.0.js";import"./vue-i18n.azjIf4Ih.0.0.19-alpha.0.js";import"./@intlify.YW_pt133.0.0.19-alpha.0.js";import"./axios.CpM4fnec.0.0.19-alpha.0.js";import"./@tanstack.B-W82lDj.0.0.19-alpha.0.js";import"./vue-router.DtIU2WG9.0.0.19-alpha.0.js";import"./@vueuse.D7szcD_M.0.0.19-alpha.0.js";import"./nprogress.BrRWMscC.0.0.19-alpha.0.js";import"./@xterm.DEbAdM0L.0.0.19-alpha.0.js";import"./@mdi.DnMbZhUH.0.0.19-alpha.0.js";import"./vee-validate.DJJ8_Fyn.0.0.19-alpha.0.js";import"./@vee-validate.DUMMnq5s.0.0.19-alpha.0.js";import"./zod.BaF2dDCd.0.0.19-alpha.0.js";import"./uuid.DvF23Exx.0.0.19-alpha.0.js";import"./socket.io-client.BomHj9Qp.0.0.19-alpha.0.js";import"./engine.io-client.qls-cuG2.0.0.19-alpha.0.js";import"./engine.io-parser.BiEtp6m2.0.0.19-alpha.0.js";import"./@socket.io.Dkula2eQ.0.0.19-alpha.0.js";import"./socket.io-parser.T8j4RkOV.0.0.19-alpha.0.js";import"./rxjs.B4YWftOD.0.0.19-alpha.0.js";import"./tslib.9k7AwCpt.0.0.19-alpha.0.js";import"./vue-inline-svg.m2FZhVJH.0.0.19-alpha.0.js";import"./v-calendar.Dn2-daxK.0.0.19-alpha.0.js";import"./@popperjs.BQBsAJpH.0.0.19-alpha.0.js";const y={class:"subview-title text-color"},w={class:"inner-component p-4"},$={class:"relative"},k={for:"theme",class:"v-label"},x=e("div",{class:"py-2"},null,-1),S={class:"ml-auto flex"},B={class:"flex flex-row"},T={class:"v-label m-0 mb-0 ml-2",for:"oneLogin"},U=e("div",{class:"my-8"},null,-1),C={class:"subview-title text-color"},L={class:"inner-component p-4"},M={class:"relative"},N={for:"language",class:"v-label"},re=b({__name:"Appearance",setup(R){const{locale:n,languages:u}=p(_()),{colors:v,theme:m,autoMode:a}=p(f());return(l,o)=>(V(),g("div",null,[e("div",null,[e("span",y,i(l.$t("views.settings.theme")),1),e("div",w,[e("div",$,[e("label",k,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(v),disabled:t(a)},null,8,["modelValue","items","disabled"])]),x,e("div",null,[e("div",S,[e("div",B,[r(h,{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",T,i(l.$t("components.form.label.system_preference")),1)])])])])]),U,e("div",null,[e("span",C,i(l.$t("views.settings.locale")),1),e("div",L,[e("div",M,[e("label",N,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(u)},null,8,["modelValue","items"])])])])]))}});export{re as default};
@@ -0,0 +1 @@
1
+ import{x as j,X as T,w as R}from"./main.CkYowq7q.0.0.19-alpha.0.js";import{F as L,t as U,r as f,e as v,f as I,j as s,M as _,R as b,T as r,u,l as C,O as D,q as h,V as B,ae as J,i as E}from"./@vue.CIFymae3.0.0.19-alpha.0.js";import{i as F}from"./vue3-toastify.DZfdsboE.0.0.19-alpha.0.js";import{r as M}from"./system.5Q8dCMhY.0.0.19-alpha.0.js";import{aA as A,Y as q}from"./@mdi.DnMbZhUH.0.0.19-alpha.0.js";import{e as O,a2 as X,b as z,n as Y}from"./vuetify.DXUML5TX.0.0.19-alpha.0.js";import{u as G}from"./vue-i18n.azjIf4Ih.0.0.19-alpha.0.js";import"./axios.CpM4fnec.0.0.19-alpha.0.js";import"./@tanstack.B-W82lDj.0.0.19-alpha.0.js";import"./pinia.CQfBY7qg.0.0.19-alpha.0.js";import"./vue-router.DtIU2WG9.0.0.19-alpha.0.js";import"./@vueuse.D7szcD_M.0.0.19-alpha.0.js";import"./nprogress.BrRWMscC.0.0.19-alpha.0.js";import"./@xterm.DEbAdM0L.0.0.19-alpha.0.js";import"./vee-validate.DJJ8_Fyn.0.0.19-alpha.0.js";import"./@vee-validate.DUMMnq5s.0.0.19-alpha.0.js";import"./zod.BaF2dDCd.0.0.19-alpha.0.js";import"./uuid.DvF23Exx.0.0.19-alpha.0.js";import"./socket.io-client.BomHj9Qp.0.0.19-alpha.0.js";import"./engine.io-client.qls-cuG2.0.0.19-alpha.0.js";import"./engine.io-parser.BiEtp6m2.0.0.19-alpha.0.js";import"./@socket.io.Dkula2eQ.0.0.19-alpha.0.js";import"./socket.io-parser.T8j4RkOV.0.0.19-alpha.0.js";import"./rxjs.B4YWftOD.0.0.19-alpha.0.js";import"./tslib.9k7AwCpt.0.0.19-alpha.0.js";import"./vue-inline-svg.m2FZhVJH.0.0.19-alpha.0.js";import"./v-calendar.Dn2-daxK.0.0.19-alpha.0.js";import"./@popperjs.BQBsAJpH.0.0.19-alpha.0.js";import"./@intlify.YW_pt133.0.0.19-alpha.0.js";const H=async k=>(await j.post("/backup/download",{localStorage:k},{responseType:"arraybuffer"})).data,K=async k=>(await j.post("/backup/restore",k)).data,P={class:"w-full"},Q={class:"flex flex-col justify-center items-center mb-5"},W={for:"restoreInput",class:"cursor-pointer text-center"},Z=["accept"],ee={key:0,class:"text-red"},te={class:"mx-2"},oe={class:"disabled-text"},se=L({__name:"VUploadFiles",props:{multiple:{type:Boolean,default:!1},accept:{},icon:{default:A}},emits:["files-uploaded"],setup(k,{expose:S,emit:V}){const p=V,x=k,{accept:w,multiple:y}=U(x),$=f(!1),g=f(!1),i=f([]),e=f(null),n=l=>{const t=i.value.findIndex(a=>a.name===l);t>-1&&(i.value.splice(t,1),o())},d=l=>{if($.value=!1,g.value=!1,i.value=[],console.log(l),l.dataTransfer)if(!y.value&&l.dataTransfer.files.length>1)g.value=!0;else{for(const[,t]of Object.entries(l.dataTransfer.files))i.value.push(t);p("files-uploaded",i.value)}},m=l=>{var a;g.value=!1,i.value=[];const t=l.target;if(t&&t.files)if(!y.value&&((a=t.files)==null?void 0:a.length)>1)g.value=!0;else{for(const[,N]of Object.entries(t.files))i.value.push(N);p("files-uploaded",i.value)}},o=()=>{e.value&&(e.value.value="")};return S({reset:()=>{i.value=[],o()}}),(l,t)=>(v(),I("div",{class:"file-upload-box p-4",onDrop:t[0]||(t[0]=h(a=>d(a),["prevent"])),onDragover:t[1]||(t[1]=h(a=>$.value=!0,["prevent"])),onDragenter:t[2]||(t[2]=h(a=>$.value=!0,["prevent"])),onDragleave:t[3]||(t[3]=h(a=>$.value=!1,["prevent"]))},[s("div",P,[s("div",Q,[_(O,{class:"mt-5",size:"60"},{default:b(()=>[B(r(l.icon),1)]),_:1}),s("label",W,r(l.$t("components.upload_files.drop_or_select_file")),1),s("input",{id:"restoreInput",ref_key:"fileInput",ref:e,type:"file",class:"d-none",accept:u(w),onChange:m},null,40,Z),u(g)?(v(),I("p",ee,r(l.$t("components.upload_files.only_one_file_allowed")),1)):C("",!0)]),u(i).length>0?(v(),D(X,{key:0,items:u(i),"max-height":"150","item-height":"50"},{default:b(({item:a})=>[(v(),I("div",{key:a.name,class:"w-full flex flex-row items-center justify-start p-2"},[_(z,{size:"28",variant:"text",color:"red",rounded:"",onClick:h(N=>n(a.name),["stop"])},{default:b(()=>[_(O,{size:"20"},{default:b(()=>[B(r(u(q)),1)]),_:1})]),_:2},1032,["onClick"]),s("b",te,r(a.name),1),s("span",oe,"("+r(a.size)+" bytes)",1)])),u(i).length>1?(v(),D(Y,{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"}},ne={class:"subview-title text-color"},le={class:"inner-component p-4"},re={class:"text-sm"},ie=s("br",null,null,-1),ce=s("div",{class:"my-8"},null,-1),ue={class:"subview-title text-color"},pe={class:"inner-component p-4"},de={class:"text-sm"},me=s("div",{class:"my-8"},null,-1),fe={class:"subview-title text-color"},ve={class:"inner-component p-4"},_e={class:"text-sm"},Ye=L({__name:"Backup",setup(k){const{t:S}=G(),V=f(null),p=f(!1),x=f(!1),w=f(!1),y=f([]),$=async()=>{var e,n,d,m;p.value=!0;try{const o={};if(localStorage.getItem("ui")){const a=localStorage.getItem("ui");o.ui=JSON.parse(a)}if(localStorage.getItem("locale")){const a=localStorage.getItem("locale");o.locale=a}if(localStorage.getItem("theme")){const a=localStorage.getItem("theme");o.theme=JSON.parse(a)}const c=await H(o),l=window.URL.createObjectURL(new Blob([c])),t=document.createElement("a");t.href=l,t.setAttribute("download","cameraui-backup.tar.gz"),document.body.appendChild(t),t.click(),t.remove()}catch(o){console.error(((n=(e=o.response)==null?void 0:e.data)==null?void 0:n.message)??o.message??o),F.error(((m=(d=o.response)==null?void 0:d.data)==null?void 0:m.message)??o.message??o)}p.value=!1},g=async()=>{var e,n,d,m,o;p.value=!0;try{const c=new FormData;c.append("upload",y.value[0]);const l=await K(c);i(l),(e=V.value)==null||e.reset(),F.success(S("components.toast.backup_restored")),x.value=!0,M()}catch(c){console.error(((d=(n=c.response)==null?void 0:n.data)==null?void 0:d.message)??c.message??c),F.error(((o=(m=c.response)==null?void 0:m.data)==null?void 0:o.message)??c.message??c),p.value=!1,x.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,n)=>{const d=T,m=R;return v(),I("div",null,[(v(),D(J,{to:".app"},[u(x)?(v(),I("div",ae,[_(d,{reload:""})])):C("",!0)])),s("div",null,[s("span",ne,r(e.$t("views.settings.create_backup")),1),s("div",le,[s("span",re,r(e.$t("views.settings.create_backup_info")),1),ie,_(z,{loading:u(p),class:"mt-5",color:"#df2a4c",onClick:h($,["prevent"])},{default:b(()=>[B(r(e.$t("components.form.button.download_backup_archive")),1)]),_:1},8,["loading"])])]),ce,s("div",null,[s("span",ue,r(e.$t("views.settings.restore_backup")),1),s("div",pe,[s("span",de,r(e.$t("views.settings.restore_backup_info")),1),_(se,{ref_key:"input",ref:V,class:"mt-5",accept:"application/gzip, .tar, .tar.gz",onFilesUploaded:n[0]||(n[0]=o=>y.value=o)},null,512),_(z,{loading:u(p),disabled:!u(y).length,class:"mt-5",color:"#df2a4c",onClick:n[1]||(n[1]=h(o=>w.value=!0,["prevent"]))},{default:b(()=>[B(r(e.$t("components.form.button.restore_backup_archive")),1)]),_:1},8,["loading","disabled"])])]),me,s("div",null,[s("span",fe,r(e.$t("views.settings.sheduled_backup")),1),s("div",ve,[s("span",_e,r(e.$t("views.settings.sheduled_backup_info")),1)])]),_(m,{modelValue:u(w),"onUpdate:modelValue":n[2]||(n[2]=o=>E(w)?w.value=o:null),title:e.$t("components.dialog.title.confirm"),"confirm-text":"components.form.button.restore_and_restart",loading:u(p),onConfirm:n[3]||(n[3]=o=>g())},{content:b(()=>[s("span",null,r(e.$t("components.dialog.message.confirm_restore")),1)]),_:1},8,["modelValue","title","loading"])])}}});export{Ye as default};
@@ -0,0 +1 @@
1
+ import{F as me,t as he,r as i,c as S,w as U,a3 as Ne,x as je,a0 as Tt,e as n,f as y,M as w,R as k,g as ae,v as ce,u as t,X as G,j as g,O as R,T as q,l as J,N as Ce,Q as Fe,y as $e,ai as Ht,aj as kt,ap as $t,i as fe,J as Et,n as Ee,V as ge,b as Dt,q as Ct,aq as Ft}from"./@vue.CIFymae3.0.0.19-alpha.0.js";import{D as Vt,E as We,F as zt,C as Ae,G as Ot,H as Mt,I as It}from"./@mdi.DnMbZhUH.0.0.19-alpha.0.js";import{a as Ue,f as qe,j as ue,k as Rt,l as Lt,m as Gt,n as At,o as Bt,p as Nt,q as jt,d as xe,i as Wt}from"./main.CkYowq7q.0.0.19-alpha.0.js";import{s as Qe}from"./pinia.CQfBY7qg.0.0.19-alpha.0.js";import{k as Ut,l as qt,m as Xe,n as Qt,p as Xt,e as Ze,q as Be,s as Zt,j as Jt}from"./@vueuse.D7szcD_M.0.0.19-alpha.0.js";import{b as te,B as De,C as Yt,V as Ve,D as Kt,E as ea,R as ta,e as re,F as aa}from"./vuetify.DXUML5TX.0.0.19-alpha.0.js";import{C as Je,_ as Ye}from"./VPlayer.Do65-EfK.0.0.19-alpha.0.js";import{u as Ke}from"./vue-router.DtIU2WG9.0.0.19-alpha.0.js";import{D as la}from"./v-calendar.Dn2-daxK.0.0.19-alpha.0.js";import"./vue3-toastify.DZfdsboE.0.0.19-alpha.0.js";import"./vue-i18n.azjIf4Ih.0.0.19-alpha.0.js";import"./@intlify.YW_pt133.0.0.19-alpha.0.js";import"./axios.CpM4fnec.0.0.19-alpha.0.js";import"./@tanstack.B-W82lDj.0.0.19-alpha.0.js";import"./vee-validate.DJJ8_Fyn.0.0.19-alpha.0.js";import"./@vee-validate.DUMMnq5s.0.0.19-alpha.0.js";import"./zod.BaF2dDCd.0.0.19-alpha.0.js";import"./uuid.DvF23Exx.0.0.19-alpha.0.js";import"./socket.io-client.BomHj9Qp.0.0.19-alpha.0.js";import"./engine.io-client.qls-cuG2.0.0.19-alpha.0.js";import"./engine.io-parser.BiEtp6m2.0.0.19-alpha.0.js";import"./@socket.io.Dkula2eQ.0.0.19-alpha.0.js";import"./socket.io-parser.T8j4RkOV.0.0.19-alpha.0.js";import"./rxjs.B4YWftOD.0.0.19-alpha.0.js";import"./tslib.9k7AwCpt.0.0.19-alpha.0.js";import"./vue-inline-svg.m2FZhVJH.0.0.19-alpha.0.js";import"./nprogress.BrRWMscC.0.0.19-alpha.0.js";import"./@xterm.DEbAdM0L.0.0.19-alpha.0.js";import"./@popperjs.BQBsAJpH.0.0.19-alpha.0.js";import"./qrcode.BnYRUYPQ.0.0.19-alpha.0.js";import"./dijkstrajs.D_NXgYpA.0.0.19-alpha.0.js";import"./plugins.DRJQgLoG.0.0.19-alpha.0.js";import"./draggabilly.D8OV_XX4.0.0.19-alpha.0.js";import"./get-size.D1dS-IaP.0.0.19-alpha.0.js";import"./unidragger.F6HHpGJy.0.0.19-alpha.0.js";import"./ev-emitter.C8LoIr4n.0.0.19-alpha.0.js";var r=(e=>(e[e.HEIGHT=8]="HEIGHT",e[e.WIDTH=85]="WIDTH",e.COLOR="#000000",e[e.OFFSET=50]="OFFSET",e[e.TIME_OFFSET=15]="TIME_OFFSET",e[e.TIME_START_POSITION=15]="TIME_START_POSITION",e[e.MAX_SCROLL_PX=720]="MAX_SCROLL_PX",e))(r||{}),et=(e=>(e.type="seconds",e[e.bigTickInterval=5]="bigTickInterval",e[e.labelInterval=15]="labelInterval",e[e.duration=15e3]="duration",e[e.timeMsFactor=15e3]="timeMsFactor",e[e.timeMsPerTick=1e3]="timeMsPerTick",e[e.timeMsPerPx=125]="timeMsPerPx",e[e.pxPerSecond=8]="pxPerSecond",e))(et||{}),tt=(e=>(e.type="two-minutes",e[e.bigTickInterval=4]="bigTickInterval",e[e.labelInterval=8]="labelInterval",e[e.duration=12e4]="duration",e[e.timeMsFactor=12e4]="timeMsFactor",e[e.timeMsPerTick=15e3]="timeMsPerTick",e[e.timeMsPerPx=1875]="timeMsPerPx",e[e.pxPerSecond=.5333333333333333]="pxPerSecond",e))(tt||{}),at=(e=>(e.type="fifteen-minutes",e[e.bigTickInterval=5]="bigTickInterval",e[e.labelInterval=15]="labelInterval",e[e.duration=9e5]="duration",e[e.timeMsFactor=9e5]="timeMsFactor",e[e.timeMsPerTick=6e4]="timeMsPerTick",e[e.timeMsPerPx=7500]="timeMsPerPx",e[e.pxPerSecond=.13333333333333333]="pxPerSecond",e))(at||{}),lt=(e=>(e.type="thirty-minutes",e[e.bigTickInterval=3]="bigTickInterval",e[e.labelInterval=9]="labelInterval",e[e.duration=18e5]="duration",e[e.timeMsFactor=18e5]="timeMsFactor",e[e.timeMsPerTick=2e5]="timeMsPerTick",e[e.timeMsPerPx=25e3]="timeMsPerPx",e[e.pxPerSecond=.04]="pxPerSecond",e))(lt||{}),ot=(e=>(e.type="hours",e[e.bigTickInterval=3]="bigTickInterval",e[e.labelInterval=18]="labelInterval",e[e.duration=36e5]="duration",e[e.timeMsFactor=36e5]="timeMsFactor",e[e.timeMsPerTick=2e5]="timeMsPerTick",e[e.timeMsPerPx=25e3]="timeMsPerPx",e[e.pxPerSecond=.04]="pxPerSecond",e))(ot||{});const st=e=>(Ht("data-v-e8bb6d1c"),e=e(),kt(),e),oa={class:"absolute z-10 top-0 left-0 right-0 w-full"},sa={key:1},ia={key:0,class:"timeline-gradient-bg-top"},na=st(()=>g("div",{class:"timeline-gradient-bg-dark-top"},null,-1)),ra=st(()=>g("div",{class:"timeline-gradient-bg-white-top"},null,-1)),ua=[na,ra],ca=["data-tick-index"],ma=["data-tick-index"],da={key:0,class:"tick-label"},va={key:2},pa=me({__name:"VLiveTimeline",props:{zoomModel:{default:1},dateModel:{default:()=>new Date},modifier:{default:0},segment:{default:"0"}},emits:["is-loading","is-scrolling"],setup(e,{emit:N}){const j=e,M=N,{theme:P}=Qe(Ue()),{dateModel:V,modifier:$,zoomModel:f}=he(j),E=i(0),D=i(0),T=i(new Date),p=i(0),u=i(),s=i(!1),C=i(!1),F=i([]),O=i(!1),v=i(0),Y=i(0),le=i(new Date),K=i(0),A=i(0),oe=i("#5b5b5b"),z=i({timestamp:Date.now(),live:!0}),h=i(null),ee=i(null),H=i([]),c=i(0),{tabletActive:se,mobileActive:ye}=qe(),_e=Ut(h),be=qt({touch:!1,target:ee}),{isOutside:ie}=Xe(ee),{pressed:_}=Qt({touch:!1,target:ee}),B=Xt(h),ze=Ze();Be("ArrowDown",a=>{ie.value||(a.preventDefault(),ke(),h.value&&h.value.scrollTop++)}),Be("ArrowUp",a=>{ie.value||(a.preventDefault(),ke(),h.value&&h.value.scrollTop--)});let we,Pe,Oe;const Me=S(()=>B.y.value>0?"#0173ff":"#df2a4c"),it=S(()=>{let a=`transition: all .2s ease-out; background-color: ${Me.value};`;return s.value?a+="width: 20px; left: 9px; border-radius: 30px":m.value.type==="seconds"?a+="width: 60px; left: 9px;":B.y.value===0?a+="width: 40px; left: 9px;":a+="width: 55px; left: 9px;",a}),nt=S(()=>`transition: all .5s ease-out; position: absolute; top: ${ne.value.px}px; background-color: ${Me.value};`),ne=S(()=>{var d;const a=T.value.getTime(),l=r.TIME_OFFSET*r.HEIGHT-1;let o=((d=u.value)==null?void 0:d.timestamp)||a;return B.y.value===0&&(o=a),u.value&&(u.value.timestamp=o),{px:l,timestamp:o}}),rt=S(()=>m.value.type==="seconds"),Se=S(()=>r.HEIGHT*m.value.labelInterval),Ie=S(()=>m.value.pxPerSecond*E.value+A.value),ut=S(()=>m.value.pxPerSecond*E.value-v.value*r.HEIGHT-3+A.value),ct=S(()=>`transition: all .5s ease-out; mask-image: url('data:image/svg+xml,${Re.value}'); -webkit-mask-image: url('data:image/svg+xml,${Re.value}'); mask-size: ${r.WIDTH}px ${Se.value}px; -webkit-mask-size: ${r.WIDTH}px ${Se.value}px; width: ${r.WIDTH}px; height: ${c.value}px; mask-position: 0px ${p.value+Ie.value}px; -webkit-mask-position: 0px ${p.value+Ie.value}px`),Re=S(()=>{let a=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${r.WIDTH} ${Se.value}" vector-effect="non-scaling-stroke" stroke-width="${1/(window.devicePixelRatio||1)}px" shape-rendering="crispEdges">`;if(!s.value)for(let l=0;l<m.value.labelInterval;l++){const o=l%m.value.labelInterval==0,d=0,b=o?4:l%m.value.bigTickInterval===0?2:1,x=l*r.HEIGHT+r.HEIGHT/2;a+=`<line x1="${d}" y1="${x}" x2="${2*b}" y2="${x}" stroke="${oe.value}" stroke-opacity="100%"/>`}return a+="</svg>",encodeURIComponent(a)}),mt=S(()=>`transition: top .5s ease-out; height: ${r.HEIGHT}px;`),dt=S(()=>{var b;const a=(b=h.value)==null?void 0:b.getBoundingClientRect(),l=ze.width.value,o=($==null?void 0:$.value)||0,d=l-l+(o-o);return a?ze.height.value-a.top+d:null}),m=S(()=>gt(f.value)),vt=S(()=>`height: 100%; cursor: ${s.value?"default":_.value?"grabbing":"grab"}`);U(s,a=>{_e.value=a,M("is-loading",a)}),U(V,a=>{if(a){if(a.getTime()===ne.value.timestamp)return;a==null||a.setSeconds(0,0),Te(a)}}),U(be.y,(a,l)=>{if(_.value&&a!==l&&h.value){let o=Math.abs(a-l);a<l&&(o=o*-1),h.value.scrollTop=h.value.scrollTop-=o}}),U(B.isScrolling,a=>{M("is-scrolling",a),!a&&O.value&&(O.value=!1)}),U(B.y,(a,l)=>{var b,x;if(ke(),a===0&&de(-F.value.length),a!==l)if(a===0)z.value={timestamp:ne.value.timestamp,live:!0};else{const Q=(a-l)*m.value.timeMsPerPx,L=O.value?z.value.timestamp:z.value.timestamp-Q;z.value={timestamp:L,live:!1}}const d=(((b=h.value)==null?void 0:b.scrollHeight)||0)-(((x=h.value)==null?void 0:x.clientHeight)||0)-r.OFFSET*r.HEIGHT;a>=d&&de(r.OFFSET)}),U(f,async()=>{await He(),B.y.value>0&&Te(z.value.timestamp,"auto",!0)});const Le=a=>{var o;const l=(dt.value||((o=h.value)==null?void 0:o.clientHeight)||0)+r.OFFSET*r.HEIGHT;a!==void 0?c.value+a*r.HEIGHT>=l&&(c.value+=a*r.HEIGHT):c.value=l},de=(a,l,o)=>{var Q;if(a===0)return;const d=Math.abs(a);let b=H.value.length-d,x=a<0;if(l){x||(x=!0,a=-a);for(let L=0;L<d;L++){const I=H.value[0],ve=I.index,W=I.timestamp,X=ve-1,Z={index:X,format:m.value.type,timestamp:W+m.value.timeMsPerTick,label:X%m.value.labelInterval==0};H.value.unshift(Z)}}if(Le(a),x)b!==0&&d===1?H.value.pop():H.value.splice(b,d),F.value=[];else{const L=(((Q=h.value)==null?void 0:Q.clientHeight)||0)+r.OFFSET*r.HEIGHT,I=Math.ceil(L/r.HEIGHT),ve=H.value.length>=I?0:I-H.value.length+1;for(let W=0;W<d;W++){const X=H.value[H.value.length-1],pe=X.index+1,Ge={index:pe,format:m.value.type,timestamp:X.timestamp-m.value.timeMsPerTick,label:pe%m.value.labelInterval==0};W>=ve&&F.value.push(Ge),H.value.push(Ge)}}},pt=a=>{let l;a&&typeof a!="number"&&(a=a.getTime()),a||(a=T.value.getTime());const o=H.value.map(x=>x.timestamp),d=jt(o,a),b=H.value.find(x=>x.timestamp===d.timestamp);return b&&(l={...b}),l},ft=a=>{typeof a!="number"&&(a=a.getTime());const l=ne.value.timestamp-a,o=new Date(ne.value.timestamp-l);return{y:l/m.value.timeMsPerTick*r.HEIGHT,timestamp:o.getTime()}},gt=a=>{switch(a){case 1:return ot;case 2:return lt;case 3:return at;case 4:return tt}return et},ht=a=>new Promise(l=>{var X;xt();let o=T.value.getTime();a&&(o=typeof a=="object"?a.getTime():a);const d=r.TIME_OFFSET*m.value.timeMsPerTick,b=new Date(o+d),Q=yt(b).date.getTime(),L=Math.ceil(c.value/r.HEIGHT);for(let Z=0;Z<L;Z++){const pe={index:Z,format:m.value.type,timestamp:Q-Z*m.value.timeMsPerTick,label:Z%m.value.labelInterval==0};H.value.push(pe)}const I=pt(o);I&&(K.value=I.timestamp-o,u.value=I,u.value.timestamp=o);let W=(((X=u.value)==null?void 0:X.index)||0)*r.HEIGHT-r.TIME_OFFSET*r.HEIGHT;K.value<0?W+=K.value/m.value.timeMsPerPx:K.value>0&&(W-=K.value/m.value.timeMsPerPx),p.value=-(r.HEIGHT/2)-W,l()}),xt=()=>{v.value=0,Y.value=0,E.value=0,D.value=0,H.value=[]},yt=a=>{switch(m.value.type){case"seconds":return Nt(a);case"two-minutes":return Bt(a);case"fifteen-minutes":return At(a);case"thirty-minutes":return Gt(a);case"hours":return Lt(a)}},Te=async(a,l="smooth",o=!1)=>{var b;if(a===0){(b=h.value)==null||b.scrollTo({top:0,behavior:"smooth"});return}O.value=o;const d=ft(a).y;if(d>=600){const x=r.OFFSET*m.value.timeMsPerTick,Q=x/m.value.timeMsPerPx,L=typeof a=="object"?a.getTime():a;await He(!0,L+x),O.value=!0,z.value.timestamp=L,$e(()=>{var I;return(I=h.value)==null?void 0:I.scrollTo({top:Q,behavior:l})});return}$e(()=>{var x;return(x=h.value)==null?void 0:x.scrollTo({top:d,behavior:l})})},He=async(a,l)=>new Promise(o=>{s.value=!0;const d=Date.now(),b=setInterval(async()=>{Rt(new Date).date.getTime()-d>=999&&(clearInterval(b),le.value=new Date,T.value=new Date,Pt(),wt(),await ht(l),s.value=!1,o())},1)}),_t=()=>{clearInterval(we),clearInterval(Pe)},bt=()=>{T.value=new Date,D.value++,B.y.value===0?(E.value=D.value,z.value={timestamp:T.value.getTime(),live:!0}):B.y.value>0&&!C.value&&(E.value++,z.value={timestamp:z.value.timestamp+1e3,live:!1})},wt=()=>{clearInterval(we),we=setInterval(bt,1e3)},Pt=()=>{clearInterval(Pe),Pe=setInterval(St,m.value.timeMsPerTick)},St=()=>{s.value||(le.value=new Date,Y.value++,B.y.value===0?(de(Y.value-v.value,!0),u.value&&(u.value.index-=Y.value-v.value),v.value=Y.value):B.y.value>0&&!C.value&&(de(1,!0),v.value++,u.value&&u.value.index--))},ke=()=>{clearTimeout(Oe),Oe=setTimeout(()=>{C.value=!1},500),C.value=!0};return Ne(()=>{P.value==="light"?oe.value="#5b5b5b":oe.value="#888888"}),je(()=>{Le(),He()}),Tt(()=>{_t()}),(a,l)=>(n(),y("div",{ref_key:"timelineComponent",ref:ee,class:"relative h-full w-full"},[w(De,null,{default:k(()=>[ae(w(te,{disabled:t(s),icon:t(Vt),transition:"fade-transition",position:"absolute",location:"bottom right",class:"timeline-btn",style:G(`transition: all .3s ease-out; ${t(z).live?"":"right: 100px !important;"}`)},null,8,["disabled","icon","style"]),[[ce,t(ye)&&!t(ie)]])]),_:1}),w(De,null,{default:k(()=>[ae(w(te,{disabled:t(s),icon:t(We),transition:"fade-transition",position:"absolute",location:"bottom right",class:"timeline-btn",onClick:l[0]||(l[0]=o=>Te(0))},null,8,["disabled","icon"]),[[ce,!t(z).live]])]),_:1}),g("div",oa,[w(Yt,{active:t(s),indeterminate:t(s),color:"#df2a4c",height:"2px"},null,8,["active","indeterminate"])]),g("div",{class:"timeline-annotation",style:G(t(nt))},[g("div",{ref:"annotationLabel",class:"timeline-annotation-label",style:G(t(it))},[t(s)?(n(),R(Ve,{key:0,indeterminate:"",color:"white",size:"10",width:"2"})):(n(),y("div",sa,q(t(z).live?"LIVE":t(ue)(t(z).timestamp,"HH:mm:ss")),1))],4)],4),g("div",{ref_key:"timeline",ref:h,class:"timeline hide-scrollbar disable-overflow-scroll w-full relative",style:G(t(vt))},[t(se)?J("",!0):(n(),y("div",ia,ua)),a.segment==="0"?(n(),y("div",{key:1,class:"relative h-full",style:G(t(se)?"":"top: -100px")},[g("div",{class:"timeline-scale",style:G(t(ct))},null,4),(n(!0),y(Ce,null,Fe(t(H),(o,d)=>(n(),y("div",{key:o.index,"data-tick-index":o.index,class:"tick-container flex justify-center items-center absolute",style:G(`${t(mt)}; top: ${t(p)+t(ut)+d*t(r).HEIGHT}px`)},[g("div",{"data-tick-index":`${o.index}`,class:"tick-line relative"},[o.label&&!t(s)?(n(),y("div",da,q(t(ue)(o.timestamp,t(rt)?"HH:mm:ss":"HH:mm")),1)):J("",!0)],8,ma)],12,ca))),128))],4)):(n(),y("div",va))],4)],512))}}),fa=xe(pa,[["__scopeId","data-v-e8bb6d1c"]]),ga={class:"vue-ios13-segmented-control"},ha=["id","name","value"],xa=["for"],ya=me({__name:"VSegmentedControl",props:{modelValue:{},segments:{}},emits:["update:modelValue"],setup(e,{emit:N}){const j=e,M=N,P=i(0),{modelValue:V,segments:$}=he(j),f=S({get(){return V.value},set(p){M("update:modelValue",p)}}),E=S(()=>$.value.findIndex(p=>p.id===V.value)),D=S(()=>{let p=P.value*E.value;return P.value*E.value<0&&(p=0),`transform:translateX(${p}px)`}),T=()=>{$e(()=>{const p=document.querySelector(`input[type='radio'][value='${V.value}']`);P.value=p&&p.offsetWidth})};return U([$,V],()=>{T()},{deep:!0}),Zt(window,"resize",T),(p,u)=>(n(),y("div",ga,[g("span",{class:"selection-pill",style:G(t(D))},null,4),(n(!0),y(Ce,null,Fe(t($),s=>(n(),y("div",{key:s.id,class:"option"},[ae(g("input",{id:s.id,"onUpdate:modelValue":u[0]||(u[0]=C=>fe(f)?f.value=C:null),type:"radio",name:s.title,value:s.id},null,8,ha),[[$t,t(f)]]),g("label",{for:s.id,class:"w-full cursor-pointer"},[g("span",{style:G(t(f)===s.id?"color: var(--color-segment-text);":"color: var(--color-segment-disabled-text)")},q(s.title),5)],8,xa)]))),128))]))}}),_a={key:0,class:"w-full flex items-center justify-center mt-10"},ba={class:"flex flex-col justify-center items-center"},wa=me({__name:"VCameraCarousel",props:{showLabel:{type:Boolean,default:!1}},setup(e){const N=new Je,j=Ke(),M=e,{showLabel:P}=he(M),V=i({page:1,pageSize:-1}),{data:$,isLoading:f}=N.getCamerasQuery(V),E=S(()=>{var D;return(D=$.value)==null?void 0:D.result.findIndex(T=>T.name===j.params.cameraname)});return(D,T)=>{const p=Ye,u=Et("router-link");return t(f)?(n(),y("div",_a,[w(Ve,{color:"#df2a4c",indeterminate:""})])):(n(),R(ea,{key:1,"model-value":t(E),class:"mt-3","show-arrows":"",mandatory:"force"},{default:k(()=>{var s;return[(n(!0),y(Ce,null,Fe(((s=t($))==null?void 0:s.result)||[],(C,F)=>(n(),R(Kt,{key:C.name,value:F},{default:k(({toggle:O,isSelected:v})=>[g("div",ba,[w(u,{to:`/cameras/${C.name}`,onClick:O},{default:k(()=>[ae(w(p,{class:"ma-3","current-camera":C.name,"border-radius":8,border:!1,target:"snapshot",style:{width:"140px"}},null,8,["current-camera"]),[[ta]])]),_:2},1032,["to","onClick"]),t(P)?(n(),y("div",{key:0,class:Ee(["add-transition slide-item-title",{"slide-item-title-active":v}])},q(C.name||D.$t("general.loading")),3)):J("",!0)])]),_:2},1032,["value"]))),128))]}),_:1},8,["model-value"]))}}}),Pa=xe(wa,[["__scopeId","data-v-ec891350"]]),Sa=["onClick"],Ta=me({__name:"VCalendar",props:{showPicker:{type:Boolean,default:!1},showButton:{type:Boolean,default:!1},transitionTrigger:{type:Boolean,default:!0},loading:{type:Boolean,default:!0}},emits:["dateChanged","calendarOpen"],setup(e,{emit:N}){const j=e,M=N,{loading:P}=he(j),{theme:V}=Qe(Ue()),$=i(!1),f=i(new Date),E=Ze();U(f,(u,s)=>{u?M("dateChanged",f.value):f.value=s});const D=()=>{$.value=!1,M("calendarOpen",!1)},T=()=>{$.value=!0,M("calendarOpen",!0)},p=u=>{P.value||u()};return(u,s)=>{const C=la;return n(),y("div",null,[w(C,{modelValue:t(f),"onUpdate:modelValue":s[0]||(s[0]=F=>fe(f)?f.value=F:null),"is-required":"",color:"gray","is-dark":t(V)==="dark","max-date":new Date,mode:"dateTime",is24hr:"",onPopoverDidShow:T,onPopoverDidHide:D},{default:k(({togglePopover:F})=>[w(De,null,{default:k(()=>[u.showButton?ae((n(),R(te,{key:0,disabled:t(P),transition:"fade-transition",position:"fixed",location:"bottom left",class:"date-fixed-btn rounded-xl",onClick:O=>p(F)},{default:k(()=>[ge(q(t(ue)(t(f))),1)]),_:2},1032,["disabled","onClick"])),[[ce,u.transitionTrigger]]):J("",!0)]),_:2},1024),u.showPicker?(n(),y("div",{key:0,onClick:O=>p(F)},[g("span",{class:"text-sm cursor-pointer",style:G(t(P)?"color: #a8a8a8;":"")},q(t(E).width.value<875?t(ue)(t(f),"ddd., D. MMM."):t(ue)(t(f))),5),w(re,{size:"20",color:t(P)?"#a8a8a8":"#4a4a4a",class:"cursor-pointer"},{default:k(()=>[ge(q(t($)?t(We):t(zt)),1)]),_:1},8,["color"])],8,Sa)):J("",!0)]),_:1},8,["modelValue","is-dark","max-date"])])}}}),Ha=xe(Ta,[["__scopeId","data-v-818d397f"]]),ka={key:0,class:"flex items-center justify-center w-full h-full"},$a={key:1,class:"w-full h-full"},Ea={class:"absolute z-5 left-1 top-2"},Da={class:"left-content"},Ca={key:0,class:"timeline-toggle"},Fa={class:"flex flex-col items-center h-full sidebar camera-no-outside"},Va={key:0,class:"sidebar-header p-1 relative"},za={class:"flex flex-row mb-2"},Oa={class:"w-1/2 flex justify-center items-center"},Ma={class:"w-1/2 flex justify-center items-center"},Ia=me({__name:"Camera",setup(e){const N=new Je,j=Ke(),{desktopActive:M,mobileActive:P,tabletActive:V,extraSmallMobileActive:$}=qe(),{t:f}=Wt.global,E=i(!1),D=i(new Date),T=i(),p=i(0),u=i("0"),s=i(!1),C=i(null),F=i(!1),O=i(!1),v=i(1),Y=Dt([{title:f("views.camera.timeline"),id:"0"},{title:f("views.camera.detections"),id:"1"}]),le=Jt(T),{isOutside:K}=Xe(C),A=S(()=>j.params.cameraname),{data:oe,isLoading:z}=N.getCameraQuery(A);U(v,()=>{});const h=()=>{v.value!==5&&(O.value||(v.value=(v.value||1)+1))},ee=()=>{v.value!==1&&(O.value||(v.value=(v.value||1)-1))};return Ne(async()=>{v.value=1}),je(async()=>{setTimeout(()=>{T.value=document.querySelector(".player-container-main")},100)}),(H,c)=>{const se=Ha,ye=Ye,_e=Pa,be=ya,ie=fa;return n(),y("main",{class:Ee(["w-full h-full",{"p-3":!t(P)}])},[!t(oe)||t(z)?(n(),y("div",ka,[w(Ve,{color:"#df2a4c",indeterminate:""})])):(n(),y("div",$a,[ae((n(),R(se,{key:t(A),layout:"text","show-button":"","transition-trigger":!t(K)||t(E),"max-date":new Date,loading:t(F),onDateChanged:c[0]||(c[0]=_=>D.value=_),onCalendarOpen:c[1]||(c[1]=_=>E.value=_)},null,8,["transition-trigger","max-date","loading"])),[[ce,t(P)||t(E)]]),g("div",{class:Ee(["relative z-5 w-full h-full flex flex-col md:flex-row overflow-hidden",{"gap-4":t(M)}])},[g("div",Ea,[t($)?(n(),R(te,{key:0,size:"32",icon:"",density:"compact",variant:"elevated",class:"no-drag camera-no-outside opacity-50",onClick:c[2]||(c[2]=Ct(_=>H.$router.push("/cameras"),["prevent"]))},{default:k(()=>[w(re,{size:"24"},{default:k(()=>[ge(q(t(Ae)),1)]),_:1})]),_:1})):J("",!0)]),g("div",Da,[(n(),R(ye,{key:t(A),"show-title":"",settings:"",share:"",snapshot:"",target:"stream",zoom:(t(P)||t(V))&&t(s),"current-camera":t(oe).name,"timeline-scrolling":t(O)||t(F),"border-radius":t(P)?0:3,"zoom-model":t(v),"enable-control":"",shortcuts:"",motions:"",objects:"",zones:"","auto-hide-control":!1,"source-role":"high-resolution",onResize:c[3]||(c[3]=_=>p.value=_),onZoomIn:h,onZoomOut:ee},null,8,["zoom","current-camera","timeline-scrolling","border-radius","zoom-model"])),(n(),R(Ft,null,[ae(w(_e,{"show-label":"","focus-index":""},null,512),[[ce,!t(P)]])],1024))]),g("div",{class:"right-content",style:G(t(V)?`height: ${t(le).height.value}px; width: ${t(le).width.value/3}px; right: ${t(s)?0:-2-t(le).width.value/3}px`:"")},[t(V)?(n(),y("div",Ca,[w(te,{class:"camera-no-outside",color:"#212121",size:"30",variant:"elevated",icon:"",onClick:c[4]||(c[4]=_=>s.value=!t(s))},{default:k(()=>[w(re,{color:"#fff",size:"20"},{default:k(()=>[ge(q(t(s)?t(Ot):t(Ae)),1)]),_:1})]),_:1})])):J("",!0),g("div",Fa,[!t(P)&&!t(V)?(n(),y("div",Va,[g("div",za,[g("div",Oa,[(n(),R(se,{key:t(A),loading:t(F),layout:"text","show-picker":"",onDateChanged:c[5]||(c[5]=_=>D.value=_)},null,8,["loading"]))]),g("div",Ma,[(n(),R(aa,{key:t(A),modelValue:t(v),"onUpdate:modelValue":c[6]||(c[6]=_=>fe(v)?v.value=_:null),disabled:t(F),readonly:"",min:"1",max:"5",step:"1","track-size":"1","thumb-size":"10","hide-details":""},{prepend:k(()=>[w(te,{size:"28",density:"compact",variant:"text",disabled:t(v)==1,icon:"",onClick:ee},{default:k(()=>[w(re,{size:"20",icon:t(Mt)},null,8,["icon"])]),_:1},8,["disabled"])]),append:k(()=>[w(te,{size:"28",density:"compact",variant:"text",disabled:t(v)==5,icon:"",onClick:h},{default:k(()=>[w(re,{size:"20",icon:t(It)},null,8,["icon"])]),_:1},8,["disabled"])]),_:1},8,["modelValue","disabled"]))])]),(n(),R(be,{key:t(A),modelValue:t(u),"onUpdate:modelValue":c[7]||(c[7]=_=>fe(u)?u.value=_:null),segments:t(Y)},null,8,["modelValue","segments"]))])):J("",!0),(n(),R(ie,{key:t(A),ref_key:"timeline",ref:C,"date-model":t(D),"zoom-model":t(v),modifier:t(p),segment:t(u),onIsScrolling:c[8]||(c[8]=_=>O.value=_),onIsLoading:c[9]||(c[9]=_=>F.value=_)},null,8,["date-model","zoom-model","modifier","segment"]))])],4)],2)]))],2)}}}),_l=xe(Ia,[["__scopeId","data-v-6e567cc6"]]);export{_l as default};
@@ -0,0 +1 @@
1
+ import{C as M,_ as N}from"./VPlayer.Do65-EfK.0.0.19-alpha.0.js";import{e as R,d as I,f as L,h as Q}from"./main.CkYowq7q.0.0.19-alpha.0.js";import{s as T}from"./utils.BvINh1mj.0.0.19-alpha.0.js";import{j as D}from"./@vueuse.D7szcD_M.0.0.19-alpha.0.js";import{A as V,R as F,e as P,b as G}from"./vuetify.DXUML5TX.0.0.19-alpha.0.js";import{F as z,t as K,r as S,c as C,x as O,e as t,f as s,u as e,N as _,Q as h,M as n,j as i,T as d,g as X,l as j,ai as q,aj as H,n as u,R as $,aa as J,X as B,O as U,V as W}from"./@vue.CIFymae3.0.0.19-alpha.0.js";import{e as Y}from"./@mdi.DnMbZhUH.0.0.19-alpha.0.js";import"./qrcode.BnYRUYPQ.0.0.19-alpha.0.js";import"./dijkstrajs.D_NXgYpA.0.0.19-alpha.0.js";import"./vee-validate.DJJ8_Fyn.0.0.19-alpha.0.js";import"./zod.BaF2dDCd.0.0.19-alpha.0.js";import"./pinia.CQfBY7qg.0.0.19-alpha.0.js";import"./@vee-validate.DUMMnq5s.0.0.19-alpha.0.js";import"./vue3-toastify.DZfdsboE.0.0.19-alpha.0.js";import"./plugins.DRJQgLoG.0.0.19-alpha.0.js";import"./@tanstack.B-W82lDj.0.0.19-alpha.0.js";import"./draggabilly.D8OV_XX4.0.0.19-alpha.0.js";import"./@xterm.DEbAdM0L.0.0.19-alpha.0.js";import"./get-size.D1dS-IaP.0.0.19-alpha.0.js";import"./unidragger.F6HHpGJy.0.0.19-alpha.0.js";import"./ev-emitter.C8LoIr4n.0.0.19-alpha.0.js";import"./vue-router.DtIU2WG9.0.0.19-alpha.0.js";import"./vue-i18n.azjIf4Ih.0.0.19-alpha.0.js";import"./@intlify.YW_pt133.0.0.19-alpha.0.js";import"./axios.CpM4fnec.0.0.19-alpha.0.js";import"./uuid.DvF23Exx.0.0.19-alpha.0.js";import"./socket.io-client.BomHj9Qp.0.0.19-alpha.0.js";import"./engine.io-client.qls-cuG2.0.0.19-alpha.0.js";import"./engine.io-parser.BiEtp6m2.0.0.19-alpha.0.js";import"./@socket.io.Dkula2eQ.0.0.19-alpha.0.js";import"./socket.io-parser.T8j4RkOV.0.0.19-alpha.0.js";import"./rxjs.B4YWftOD.0.0.19-alpha.0.js";import"./tslib.9k7AwCpt.0.0.19-alpha.0.js";import"./vue-inline-svg.m2FZhVJH.0.0.19-alpha.0.js";import"./v-calendar.Dn2-daxK.0.0.19-alpha.0.js";import"./@popperjs.BQBsAJpH.0.0.19-alpha.0.js";import"./nprogress.BrRWMscC.0.0.19-alpha.0.js";const Z=c=>(q("data-v-ebd7b0ef"),c=c(),H(),c),ee={key:0,class:"camera-events hide-scrollbar flex flex-auto flex-row"},te={key:1,class:"disabled-text"},ae={key:2,class:"camera-events hide-scrollbar flex flex-auto flex-row"},se=["onClick"],oe=Z(()=>i("span",{class:"text-sm text-passive"},"12:01:45",-1)),re=z({__name:"VCameraEvents",props:{showAll:{type:Boolean,default:!1},camera:{}},setup(c){const g=c,{camera:a,showAll:v}=K(g),p=S(!0),l=S(null),x=D(l),r=C(()=>{const o=[];for(let k=0;k<50;k++)o.push({camera:"Kamera 1",title:"Event 1",type:"motion",timestamp:Date.now(),image:void 0});return o}),E=C(()=>v.value||r.value.some(o=>o.camera===(a==null?void 0:a.value))),y=C(()=>Math.ceil(x.width.value/150)),w=o=>{console.log(o)},m=o=>!!(v.value||a!=null&&a.value&&o===a.value);return O(async()=>{await T(1500),p.value=!1}),(o,k)=>{const A=R;return t(),s("div",{ref_key:"main",ref:l,class:"camera-events-container"},[e(p)?(t(),s("div",ee,[(t(!0),s(_,null,h(e(y),(f,b)=>(t(),s("div",{key:b,class:"mx-1 flex flex-col justify-center items-center"},[n(V,{elevation:1,height:"140px",type:"image",class:"camera-event-card"}),n(V,{elevation:0,type:"text",style:{background:"none"}})]))),128))])):!e(p)&&(!e(E)||!e(r).length)?(t(),s("div",te,[i("span",null,d(o.$t("components.camera_events.no_events")),1)])):(t(),s("div",ae,[(t(!0),s(_,null,h(e(r),(f,b)=>(t(),s("div",{key:b,class:"mx-1 text-center"},[m(f.camera)?X((t(),s("div",{key:0,class:"camera-event-card cursor-pointer",onClick:pe=>w(f)},[n(A,{style:{background:"var(--background-img)","border-radius":"5px"},src:f.image,width:"100%",height:"100%","aspect-ratio":"1/1","spinner-size":"15","spinner-width":"2","error-style":"","placeholder-style":"",cover:""},null,8,["src"])],8,se)),[[F]]):j("",!0),oe]))),128))]))],512)}}}),ie=I(re,[["__scopeId","data-v-ebd7b0ef"]]),ne={class:"page-title"},le={class:"page-title"},ce={key:"new-camera",class:"w-full flex justify-center items-center mt-3"},me=z({__name:"Cameras",setup(c){const g=new M,{smallMobileActive:a,extraSmallMobileActive:v}=L(),p=S({page:1,pageSize:-1}),{data:l,isLoading:x}=g.getCamerasQuery(p);return(r,E)=>{const y=ie,w=N;return t(),s("main",{class:u(["w-full h-full",{"px-0":e(a)}])},[i("div",{class:u(["mb-3 flex items-center",{"px-2":e(a)}]),style:{height:"30px"}},[i("h1",ne,d(r.$t("views.cameras.events")),1)],2),i("div",{class:u(["w-full mb-3",{"px-2":e(a)}])},[n(y,{"show-all":""})],2),i("div",{class:u(["mb-3 flex items-center",{"px-2":e(a)}]),style:{height:"30px"}},[i("h1",le,d(r.$t(`views.${String(r.$route.name).toLowerCase()}.title`)),1)],2),n(J,{name:"fade",tag:"div"},{default:$(()=>[e(x)||!e(l)?(t(),s("div",{key:0,class:"grid",style:B(`grid-template-columns: repeat(auto-fit, minmax(${e(a)?"100%":"300px"}, 1fr))`)},[(t(),s(_,null,h(8,m=>n(V,{key:m,elevation:1,type:"image",class:"w-full h-full aspect-video"})),64))],4)):e(l).result.length?(t(),s("div",{key:2,class:"grid",style:B(`grid-template-columns: repeat(auto-fit, minmax(${e(a)?"100%":"300px"}, 1fr)) ${e(l).result.length===1?"50%":""}`)},[(t(!0),s(_,null,h(e(l).result,m=>(t(),s("div",{key:m.name,class:"relative item"},[n(w,{"absolute-title":"","show-title":"","show-tooltips":!1,"clickable-title":"","clickable-container":"",settings:"","current-camera":m.name,"border-radius":e(a)?0:3,border:!1,target:"snapshot","button-elevation":"1"},null,8,["current-camera","border-radius"])]))),128))],4)):(t(),s("div",{key:1,class:u({"disabled-text":!0,"px-2":e(a)})},d(r.$t("views.cameras.no_cameras")),3)),i("div",ce,[e(Q)(void 0,"admin")&&!e(v)?(t(),U(G,{key:0,to:"/new-camera",variant:"text",color:"#df2a4c",icon:""},{default:$(()=>[n(P,{size:"30"},{default:$(()=>[W(d(e(Y)),1)]),_:1})]),_:1})):j("",!0)])]),_:1})],2)}}}),Je=I(me,[["__scopeId","data-v-5e50e4c1"]]);export{Je as default};