@camera.ui/server 2.2.3 → 2.2.5-beta.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 (341) hide show
  1. package/dist/interface/assets/{404-D0S6IGok.js → 404-Bdbp69ox.js} +1 -1
  2. package/dist/interface/assets/{About-DAw9u8ZY.js → About-DmtCok-y.js} +1 -1
  3. package/dist/interface/assets/{Assistant-Gi6_YkEY.js → Assistant-D-Lv6JtY.js} +1 -1
  4. package/dist/interface/assets/{Automation-6eFKPJPu.js → Automation-LQ3TssrU.js} +3 -3
  5. package/dist/interface/assets/{AutomationImport-95PfbPvG.js → AutomationImport-B_ra3G3_.js} +2 -2
  6. package/dist/interface/assets/{AutomationStore-BHxzzx7a.js → AutomationStore-DSXSaQjp.js} +2 -2
  7. package/dist/interface/assets/{AutomationStoreDetail-DEVlRllt.js → AutomationStoreDetail-B5_Meb6R.js} +2 -2
  8. package/dist/interface/assets/{Automations-DEivoiS1.js → Automations-DHfPRe8W.js} +2 -2
  9. package/dist/interface/assets/Camera-B4ojNnKb.css +1 -0
  10. package/dist/interface/assets/Camera-CDbfvtJv.js +2 -0
  11. package/dist/interface/assets/{CameraConsole-B8bBYQzk.js → CameraConsole-DX-IRmd_.js} +1 -1
  12. package/dist/interface/assets/{Cameras-HblWPGCv.js → Cameras-D9m2bxWj.js} +1 -1
  13. package/dist/interface/assets/{Camview-DEKrbg5R.js → Camview-DKOYY6TI.js} +1 -1
  14. package/dist/interface/assets/{CertificateUpload-CC6YtX7h.js → CertificateUpload-B8ccb3n-.js} +1 -1
  15. package/dist/interface/assets/{Config-DQEaOnaN.js → Config-DCIUUWCv.js} +1 -1
  16. package/dist/interface/assets/{ConfigActionAssistant-C_XRnBzo.js → ConfigActionAssistant-6IUzZeNW.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionCameraControl-oRzM9rjX.js → ConfigActionCameraControl-EXuiNMuG.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionDelay-Dc-NZS5L.js → ConfigActionDelay-Cs4sYEk-.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionHttp-Nw0wt-JZ.js → ConfigActionHttp-gUM6RQ6Y.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionImageInput-Do60Upqm.js → ConfigActionImageInput-CPl5kVgO.js} +1 -1
  21. package/dist/interface/assets/{ConfigActionMqtt-BeQVgaGX.js → ConfigActionMqtt-BeBMCOJ-.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionNotification-BA0FjOWs.js → ConfigActionNotification-DJFHdFDN.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionNotificationControl-Ce3Kd_Xv.js → ConfigActionNotificationControl-BXoztPTs.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionOutput-ChiOMWDy.js → ConfigActionOutput-BGrFWqZ1.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionPlugin-Cn3r0glk.js → ConfigActionPlugin-CdIIMcJZ.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionSensor-DkdBCu-6.js → ConfigActionSensor-MRVGJ22A.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionSnapshot-CLlaDFUV.js → ConfigActionSnapshot-CxA4f5ag.js} +1 -1
  28. package/dist/interface/assets/{ConfigActionVariable-D4x3Luxl.js → ConfigActionVariable-DmU4seLh.js} +1 -1
  29. package/dist/interface/assets/{ConfigConditionIfElse-BpL8KZ5X.js → ConfigConditionIfElse-Tgdrk7lo.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionSensorState-CSQexUF_.js → ConfigConditionSensorState-CyyzoL6Q.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionSwitch-CB2J_5kr.js → ConfigConditionSwitch-DprK5AbR.js} +1 -1
  32. package/dist/interface/assets/{ConfigConditionTime-X9fsNsYu.js → ConfigConditionTime-CDruEvBp.js} +1 -1
  33. package/dist/interface/assets/{ConfigSensorValueInput-VPhPxrQl.js → ConfigSensorValueInput-BhlgTOW9.js} +1 -1
  34. package/dist/interface/assets/{ConfigTriggerDetection-Dhzng4X5.js → ConfigTriggerDetection-4vdEST9Y.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerGeofence-Cm0CLNf5.js → ConfigTriggerGeofence-1B0BdCOw.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerManual-CRi3rsgG.js → ConfigTriggerManual-BQLDqwZh.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerMqtt-Ck__CWck.js → ConfigTriggerMqtt-B3YNOB6U.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSchedule-C1PZrHEu.js → ConfigTriggerSchedule-DhbJGOT7.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerSensor-9xVgCtkn.js → ConfigTriggerSensor-iMPg_Pmb.js} +1 -1
  40. package/dist/interface/assets/{ConfigTriggerSystem-Denf1gkO.js → ConfigTriggerSystem-MaNZTO3h.js} +1 -1
  41. package/dist/interface/assets/{ConfigTriggerWebhook-im24LkCn.js → ConfigTriggerWebhook-B3WfXjPv.js} +1 -1
  42. package/dist/interface/assets/{Console-Q1HpmyO_.js → Console-BQLINPCG.js} +1 -1
  43. package/dist/interface/assets/{CuiAssistantConversation-BxJf9sdu.js → CuiAssistantConversation-yCRlgjtr.js} +1 -1
  44. package/dist/interface/assets/{CuiAutomationRunsDialog-B3tJ-Cma.js → CuiAutomationRunsDialog-CJ0mzDLL.js} +1 -1
  45. package/dist/interface/assets/{CuiBottomSheet-kvvLw1MQ.js → CuiBottomSheet-BbP0T2v3.js} +1 -1
  46. package/dist/interface/assets/CuiBottomSheet-BpMMQhmJ.js +1 -0
  47. package/dist/interface/assets/CuiCameraPipCard-1EhYM5kQ.js +1 -0
  48. package/dist/interface/assets/CuiCameraRecordings-CkkHbNyY.css +1 -0
  49. package/dist/interface/assets/CuiCameraRecordings-D2jG47AV.js +1 -0
  50. package/dist/interface/assets/{CuiCameraShares-B5ghuJS-.js → CuiCameraShares-IpkomKkl.js} +1 -1
  51. package/dist/interface/assets/CuiCameraTable-CNclH1KS.js +1 -0
  52. package/dist/interface/assets/{CuiCameraTable-Y5XUkU7w.js → CuiCameraTable-DlL-z_na.js} +1 -1
  53. package/dist/interface/assets/{CuiChartTable-CXdupaj5.js → CuiChartTable-B0EPcrgv.js} +1 -1
  54. package/dist/interface/assets/{CuiConsole-5KgXSOS5.js → CuiConsole-D8Xk2LXY.js} +1 -1
  55. package/dist/interface/assets/{CuiDataTable-hArZWV9B.js → CuiDataTable-DtRTB560.js} +1 -1
  56. package/dist/interface/assets/{CuiLightControl-MRpR0XIZ.js → CuiLightControl-CtL3sA8k.js} +1 -1
  57. package/dist/interface/assets/{CuiList-D-l4HrBP.js → CuiList-Bn7DT_Ao.js} +1 -1
  58. package/dist/interface/assets/{CuiPluginCard-whoQ5YHn.js → CuiPluginCard-B-4x6Mno.js} +2 -2
  59. package/dist/interface/assets/{CuiPluginCategoryChip-CH53zk2o.js → CuiPluginCategoryChip-Dih4zKtO.js} +1 -1
  60. package/dist/interface/assets/{CuiPluginOAuthButton-BBA0AzVO.js → CuiPluginOAuthButton-D-Y9KYJz.js} +2 -2
  61. package/dist/interface/assets/{CuiPluginTrustBadge-C0EX5aCI.js → CuiPluginTrustBadge-_g3Ctrg4.js} +1 -1
  62. package/dist/interface/assets/{CuiQRCode-BRT0NO5c.js → CuiQRCode-D6hzmPzV.js} +1 -1
  63. package/dist/interface/assets/{CuiSchema-DBY1x1BT.js → CuiSchema-Dh8Mu4BK.js} +1 -1
  64. package/dist/interface/assets/{CuiTopNavbarItem-CpMT8_0r.js → CuiTopNavbarItem-CgX21E5K.js} +1 -1
  65. package/dist/interface/assets/Faces-CgDoKVkp.js +1 -0
  66. package/dist/interface/assets/{FirstSteps-B8n4fGK3.js → FirstSteps-CZSTX7Ot.js} +1 -1
  67. package/dist/interface/assets/{Floorplan-ZHXNaZA8.js → Floorplan-CRvmaf45.js} +1 -1
  68. package/dist/interface/assets/{Instances-DEj3gs6H.js → Instances-DRkhTQKC.js} +1 -1
  69. package/dist/interface/assets/{Logs-CwHvSKd6.js → Logs-CIDJSpdH.js} +1 -1
  70. package/dist/interface/assets/{Menu-C4BxUV0P.js → Menu-CM_F1jfd.js} +1 -1
  71. package/dist/interface/assets/{Metrics-BCOE-rcw.js → Metrics-DgJEg-ZK.js} +3 -3
  72. package/dist/interface/assets/Metrics-Ebv4qK2a.css +1 -0
  73. package/dist/interface/assets/{OAuthDeviceFlow-D6bjZOYS.js → OAuthDeviceFlow-BZ9LcgmJ.js} +1 -1
  74. package/dist/interface/assets/{Plugin-ppCvxkl4.js → Plugin-BBDpg6U_.js} +1 -1
  75. package/dist/interface/assets/{PluginConsole-BP42Qpee.js → PluginConsole-DxVlTuNy.js} +1 -1
  76. package/dist/interface/assets/{PluginDetail-BnX5lZGz.js → PluginDetail-fLGD3R-u.js} +2 -2
  77. package/dist/interface/assets/PluginSchema-CewD2H-K.js +1 -0
  78. package/dist/interface/assets/{PluginSearch-no79fTuf.js → PluginSearch-5wX7WEcz.js} +2 -2
  79. package/dist/interface/assets/PluginSearch-rDbuXm2z.js +1 -0
  80. package/dist/interface/assets/{PluginUpdateProgress-73jprYHA.js → PluginUpdateProgress-B7Lj0ttd.js} +1 -1
  81. package/dist/interface/assets/{Plugins-DtEqS6_j.js → Plugins-DVQ476iL.js} +1 -1
  82. package/dist/interface/assets/{RecentEventsFilter-CtyCbt6Z.js → RecentEventsFilter-CWNBI2Ge.js} +1 -1
  83. package/dist/interface/assets/Recordings-DSRgRVhN.js +1 -0
  84. package/dist/interface/assets/{SensorEdit-D4-mMg8S.js → SensorEdit-B1mYmxDV.js} +1 -1
  85. package/dist/interface/assets/{SensorHistory-C-X7VI-f.js → SensorHistory-D1kKroxp.js} +1 -1
  86. package/dist/interface/assets/{Sensors-BJh8BkCR.js → Sensors-yAc1M-oO.js} +2 -2
  87. package/dist/interface/assets/{Settings-B9CZvA-d.js → Settings-DBKgECRK.js} +1 -1
  88. package/dist/interface/assets/{SettingsAccount-D3zF2kLc.js → SettingsAccount-CM3XGNL6.js} +1 -1
  89. package/dist/interface/assets/SettingsAccount-i2nzGFdV.js +1 -0
  90. package/dist/interface/assets/{SettingsAppearance-CbG8M38w.js → SettingsAppearance-C-nllv3m.js} +1 -1
  91. package/dist/interface/assets/SettingsAppearance-DCgu01FJ.js +1 -0
  92. package/dist/interface/assets/{SettingsAssistant-DxYPnbms.js → SettingsAssistant-ClRO04fv.js} +1 -1
  93. package/dist/interface/assets/{SettingsBackup-DZBzUyQm.js → SettingsBackup-Cq_eLVCR.js} +1 -1
  94. package/dist/interface/assets/{SettingsList-DFg8g7IM.js → SettingsList-Bklt3TQO.js} +1 -1
  95. package/dist/interface/assets/{SettingsMqtt-BeujOZkh.js → SettingsMqtt-BLkP0en6.js} +1 -1
  96. package/dist/interface/assets/{SettingsNotifications-DtSTE76r.js → SettingsNotifications-CeUKfEnH.js} +1 -1
  97. package/dist/interface/assets/{SettingsPermissions-CPOAefv0.js → SettingsPermissions-Cpka-k3Q.js} +1 -1
  98. package/dist/interface/assets/{SettingsRecordings-ClAtT4Bh.js → SettingsRecordings-k20qTe7K.js} +1 -1
  99. package/dist/interface/assets/{SettingsRemote-58S4Thfp.js → SettingsRemote-CdUj0nZ1.js} +1 -1
  100. package/dist/interface/assets/{SettingsSystem-tTGpuiRW.js → SettingsSystem-6OChvWL7.js} +2 -2
  101. package/dist/interface/assets/{SettingsUsers-D8b7I5c2.js → SettingsUsers-B57uZ8jn.js} +1 -1
  102. package/dist/interface/assets/{Terminal-1_Fi0VW-.js → Terminal-WMgVSORW.js} +1 -1
  103. package/dist/interface/assets/Training-BkWlywj_.js +1 -0
  104. package/dist/interface/assets/{Training-CQHfQjUP.css → Training-Dwf5rXyC.css} +1 -1
  105. package/dist/interface/assets/{Updates-BW0p7Wc5.js → Updates-Dwrd6PQl.js} +1 -1
  106. package/dist/interface/assets/{VariableInput-sqnLuk6S.js → VariableInput-CDJXnzEV.js} +1 -1
  107. package/dist/interface/assets/{VariableSuggestions-3pbnxhyT.js → VariableSuggestions-CNq7O1o-.js} +1 -1
  108. package/dist/interface/assets/{VersionsHandler-CWmjDygB.js → VersionsHandler-C0A8Ryhn.js} +1 -1
  109. package/dist/interface/assets/{VirtualSensorCreate-BzmFlvYD.js → VirtualSensorCreate-zEehu8Fg.js} +1 -1
  110. package/dist/interface/assets/{Workers-Dm9o2wMo.js → Workers-Be7q2vOK.js} +1 -1
  111. package/dist/interface/assets/{api-CQ-3I3-i.js → api-CSl3-BNZ.js} +1 -1
  112. package/dist/interface/assets/api-DcaDMCnj.css +2 -0
  113. package/dist/interface/assets/api-vegsDz6n.js +4 -0
  114. package/dist/interface/assets/{assistant-0UymvpMy.js → assistant-jARIkvB1.js} +1 -1
  115. package/dist/interface/assets/{auth-C0jhqNaz.js → auth-Bov4B1jy.js} +1 -1
  116. package/dist/interface/assets/{automations-Bj30nb8s.js → automations-CJe7TvLk.js} +1 -1
  117. package/dist/interface/assets/{cameraSources-CiMjIjsh.js → cameraSources-CDiYtBzG.js} +1 -1
  118. package/dist/interface/assets/cloudHandoff-BoV37fDI.js +1 -0
  119. package/dist/interface/assets/{config-D-uVfwYp.js → config-iO2vrtak.js} +1 -1
  120. package/dist/interface/assets/{flowSchema-D3nNJVLL.js → flowSchema-B0vIoy4y.js} +1 -1
  121. package/dist/interface/assets/{intercomService-BeoNs-09.js → intercomService-IAAXcRPG.js} +1 -1
  122. package/dist/interface/assets/main-DQgH1fon.js +3 -0
  123. package/dist/interface/assets/{mqtt-D7jRwifB.js → mqtt-DfpSLxes.js} +1 -1
  124. package/dist/interface/assets/{notifications-BpRVoerg.js → notifications-jTSwwN1i.js} +1 -1
  125. package/dist/interface/assets/{plugins-wZ4RDxCb.js → plugins-ChyJXprl.js} +1 -1
  126. package/dist/interface/assets/{rooms-CFcu2dU1.js → rooms-BMWJpAXC.js} +1 -1
  127. package/dist/interface/assets/{sensorIcons-B117n8l2.js → sensorIcons-dUp8Tone.js} +1 -1
  128. package/dist/interface/assets/{sensorSlots-CAr3prFc.js → sensorSlots-CosoVMys.js} +1 -1
  129. package/dist/interface/assets/{sensors-oriEG3KR.js → sensors-DLdbNuoj.js} +1 -1
  130. package/dist/interface/assets/{server-Ce6ou2NV.js → server-D-qkU2-U.js} +1 -1
  131. package/dist/interface/assets/{theme-CBTC6-Lp.js → theme-DhneHMji.js} +1 -1
  132. package/dist/interface/assets/{types-CzjppLwt.js → types-CngwbyEy.js} +1 -1
  133. package/dist/interface/assets/{types-C-amdBz6.js → types-DDpq8alD.js} +1 -1
  134. package/dist/interface/assets/{types-CjU6-JvD.js → types-DdyAGRju.js} +1 -1
  135. package/dist/interface/assets/{ungrouped-AYNBKz52.css → ungrouped-DBRZ-Ori.css} +1 -1
  136. package/dist/interface/assets/ungrouped-e2tQIZD2.js +1 -0
  137. package/dist/interface/assets/{updates-Cohtc6vb.js → updates-DnVisGT3.js} +1 -1
  138. package/dist/interface/assets/{useAppVersion-xxi6fR7J.js → useAppVersion-gtzMlM4b.js} +1 -1
  139. package/dist/interface/assets/{useAssistantActions-BkRK1FBg.js → useAssistantActions-BIHVky9T.js} +1 -1
  140. package/dist/interface/assets/{useBackupRestore-BGvhSqJB.js → useBackupRestore-DfgufKp3.js} +1 -1
  141. package/dist/interface/assets/{useCameraOptions-ophs2V4p.js → useCameraOptions-B9yEPgGd.js} +1 -1
  142. package/dist/interface/assets/{useKeyboardInset-Cpz6Hs5c.js → useKeyboardInset-1sUlRSeV.js} +1 -1
  143. package/dist/interface/assets/{useLogsSocket-CB07yhv4.js → useLogsSocket-C2QUQqkZ.js} +1 -1
  144. package/dist/interface/assets/{useNavLayout-BYEejBpb.js → useNavLayout-Br4MtSjQ.js} +1 -1
  145. package/dist/interface/assets/{usePermissions-yWhjYMcr.js → usePermissions-B8pw9jk1.js} +1 -1
  146. package/dist/interface/assets/{usePluginUpdates-9rvsWfdJ.js → usePluginUpdates-Cx9PwENn.js} +1 -1
  147. package/dist/interface/assets/{usePushRegistration-b5owOzjH.js → usePushRegistration-CLEyagJM.js} +1 -1
  148. package/dist/interface/assets/{useServerRestart-yRXDWnH_.js → useServerRestart-BBp4cko_.js} +1 -1
  149. package/dist/interface/assets/{useStreamStatus-BHyWrAHu.js → useStreamStatus-BrPjpyzs.js} +1 -1
  150. package/dist/interface/assets/{useTabSwipe-Dr9HYP1J.js → useTabSwipe-B4edrv6o.js} +1 -1
  151. package/dist/interface/assets/{useUpdateChannel-IVj0XKlN.js → useUpdateChannel-DugwYo8J.js} +1 -1
  152. package/dist/interface/assets/{useUpdatesSocket-CuPHbSF7.js → useUpdatesSocket-CgCXGGVg.js} +1 -1
  153. package/dist/interface/assets/{useUserOptions-zIfrMDiG.js → useUserOptions-DTlKtp_u.js} +1 -1
  154. package/dist/interface/assets/vendor-cameraui-D0VXSxSF.js +2326 -0
  155. package/dist/interface/assets/{vendor-core-CQ2HVu0L.js → vendor-core-Ba81bBNM.js} +1 -1
  156. package/dist/interface/assets/{vendor-primevue-CeWNZxSE.js → vendor-primevue-LZEE4d1W.js} +1 -1
  157. package/dist/interface/ha/{404-B70KNhsW.js → 404-CkAIe5nc.js} +1 -1
  158. package/dist/interface/ha/{About-DLNqqctZ.js → About-C7HxP7hM.js} +3 -3
  159. package/dist/interface/ha/{Assistant-Duvvoz2B.js → Assistant-DJYxiCOY.js} +278 -278
  160. package/dist/interface/ha/{Automation-DZ8zvsvo.js → Automation-CfNHCeIm.js} +41 -41
  161. package/dist/interface/ha/{AutomationImport-DOCdim5O.js → AutomationImport-Dn3C1604.js} +6 -6
  162. package/dist/interface/ha/{AutomationStore-Bjoubp-m.js → AutomationStore-D63G9w2Y.js} +7 -7
  163. package/dist/interface/ha/{AutomationStoreDetail-H-RWNpwm.js → AutomationStoreDetail-HoUC8cSY.js} +6 -6
  164. package/dist/interface/ha/{Automations-GyofQfo7.js → Automations-BOlE1Evb.js} +43 -43
  165. package/dist/interface/ha/{Camera-Bo5nMQaU.js → Camera-6Vvo7nee.js} +225 -213
  166. package/dist/interface/ha/{CameraConsole-BmDQ3rcS.js → CameraConsole-DYSNDW4P.js} +3 -3
  167. package/dist/interface/ha/{Cameras-BfHoFjpC.js → Cameras-CxgwXUaG.js} +306 -306
  168. package/dist/interface/ha/{Camview-DVoIdM3o.js → Camview-DPjoUMSP.js} +227 -227
  169. package/dist/interface/ha/{Config-CC8tQiOy.js → Config-BzBFIWVF.js} +7 -7
  170. package/dist/interface/ha/{ConfigActionAssistant-hfsz38an.js → ConfigActionAssistant-BpHf4Pdi.js} +4 -4
  171. package/dist/interface/ha/{ConfigActionCameraControl-C0-wxlAS.js → ConfigActionCameraControl-CmbCTwZ8.js} +3 -3
  172. package/dist/interface/ha/{ConfigActionHttp-CM_3bIUq.js → ConfigActionHttp-BxN2KOA6.js} +2 -2
  173. package/dist/interface/ha/{ConfigActionImageInput-B5306Z_7.js → ConfigActionImageInput-CrXUZ-cM.js} +1 -1
  174. package/dist/interface/ha/{ConfigActionMqtt-DLiM83Kz.js → ConfigActionMqtt-DYq-6_S6.js} +4 -4
  175. package/dist/interface/ha/{ConfigActionNotification-36VBlfim.js → ConfigActionNotification-DPUSAVLI.js} +3 -3
  176. package/dist/interface/ha/{ConfigActionNotificationControl-DRjDvA1H.js → ConfigActionNotificationControl-h4zta4Db.js} +2 -2
  177. package/dist/interface/ha/{ConfigActionOutput-BkGHERoJ.js → ConfigActionOutput-Dwa0-7cq.js} +1 -1
  178. package/dist/interface/ha/{ConfigActionPlugin-Ds1_Pow7.js → ConfigActionPlugin-DXx1a-Hr.js} +5 -5
  179. package/dist/interface/ha/{ConfigActionSensor-22uKE0d0.js → ConfigActionSensor-CfLIHqS8.js} +5 -5
  180. package/dist/interface/ha/{ConfigActionSnapshot-uTTsTfo2.js → ConfigActionSnapshot-O0OBVq-R.js} +2 -2
  181. package/dist/interface/ha/{ConfigActionVariable-DNMJBiQV.js → ConfigActionVariable-CbaIxRRe.js} +1 -1
  182. package/dist/interface/ha/{ConfigConditionIfElse-BVzmIDKK.js → ConfigConditionIfElse-B7ax92bG.js} +3 -3
  183. package/dist/interface/ha/{ConfigConditionSensorState-Di7Ic1xI.js → ConfigConditionSensorState-B5XIrEGU.js} +4 -4
  184. package/dist/interface/ha/{ConfigConditionSwitch-D8CcTHJ1.js → ConfigConditionSwitch-DJSz6bI5.js} +5 -5
  185. package/dist/interface/ha/{ConfigSensorValueInput-DthsOthT.js → ConfigSensorValueInput-fE2SBn1B.js} +4 -4
  186. package/dist/interface/ha/{ConfigTriggerDetection-BDYanDEV.js → ConfigTriggerDetection-BuShu78G.js} +2 -2
  187. package/dist/interface/ha/{ConfigTriggerGeofence-Binp0lYx.js → ConfigTriggerGeofence-pBgXBkb6.js} +6 -6
  188. package/dist/interface/ha/{ConfigTriggerMqtt-BaPzSHbK.js → ConfigTriggerMqtt-Dyf_TLfU.js} +1 -1
  189. package/dist/interface/ha/{ConfigTriggerSensor-DiTaTZXm.js → ConfigTriggerSensor-C5YUm9ff.js} +1 -1
  190. package/dist/interface/ha/{ConfigTriggerSystem-CsdWiz-S.js → ConfigTriggerSystem-CylHWw4i.js} +2 -2
  191. package/dist/interface/ha/{ConfigTriggerWebhook-Ca0PsUmU.js → ConfigTriggerWebhook-ZlHsaLu4.js} +1 -1
  192. package/dist/interface/ha/{Console-0amlIoZR.js → Console-PNAQjW_1.js} +98 -98
  193. package/dist/interface/ha/{CuiAutomationRunsDialog-DNBuwkgL.js → CuiAutomationRunsDialog-D_q8K7QO.js} +2 -2
  194. package/dist/interface/ha/{CuiBottomSheet-CdXBYz4P.js → CuiBottomSheet-BbJG-998.js} +1 -1
  195. package/dist/interface/ha/{CuiCameraRecordings-D4ZB56nd.js → CuiCameraRecordings-BSI8Yn3v.js} +11 -11
  196. package/dist/interface/ha/{CuiCameraShares-YmzZusZR.js → CuiCameraShares-DKHZJT-z.js} +4 -4
  197. package/dist/interface/ha/{CuiCameraTable-DFzhCO3J.js → CuiCameraTable-BTdP1pEP.js} +2 -2
  198. package/dist/interface/ha/{CuiChartTable-BvfJbFNS.js → CuiChartTable-aFRfsewt.js} +4 -4
  199. package/dist/interface/ha/{CuiConsole-DtxyD6Sd.js → CuiConsole-BD9jYvrD.js} +4 -4
  200. package/dist/interface/ha/{CuiDataTable-CHvx6ALQ.js → CuiDataTable-C2lOduPV.js} +2 -2
  201. package/dist/interface/ha/{CuiPluginCard-B3vU57eD.js → CuiPluginCard-C-gpcLCH.js} +18 -18
  202. package/dist/interface/ha/{CuiPluginOAuthButton-DgOFfP5e.js → CuiPluginOAuthButton-B763Rz1n.js} +3 -3
  203. package/dist/interface/ha/{CuiPluginTrustBadge-udmtgGHt.js → CuiPluginTrustBadge-j5PKYI-V.js} +1 -1
  204. package/dist/interface/ha/{CuiQRCode-8yDZMC3o.js → CuiQRCode-D7WV4czh.js} +2 -2
  205. package/dist/interface/ha/{CuiSchema-0Hikg2mm.js → CuiSchema-BfsT0mAh.js} +96 -96
  206. package/dist/interface/ha/{CuiTopNavbarItem-B139fVxP.js → CuiTopNavbarItem-BwpXgGJ-.js} +1 -1
  207. package/dist/interface/ha/{Faces-YdAf9USr.js → Faces-C0e-m9EY.js} +48 -48
  208. package/dist/interface/ha/{FirstSteps-Dts6TJ6O.js → FirstSteps-DsDmM44G.js} +7 -7
  209. package/dist/interface/ha/{Floorplan-D6XXe8ni.js → Floorplan-Bei9kIhS.js} +206 -206
  210. package/dist/interface/ha/{Instances-DsIsonqp.js → Instances-BY5G1zFD.js} +66 -66
  211. package/dist/interface/ha/{Logs-Cyo3LC94.js → Logs-DDycObDv.js} +9 -9
  212. package/dist/interface/ha/{Menu-yh_sI9d9.js → Menu-9r_oFG_-.js} +3 -3
  213. package/dist/interface/ha/{Metrics-VehQmsmN.js → Metrics-BMTIXqn6.js} +283 -279
  214. package/dist/interface/ha/{OAuthDeviceFlow-CXp9NvbY.js → OAuthDeviceFlow-Dee5fynX.js} +3 -3
  215. package/dist/interface/ha/{Plugin-BqvlXx43.js → Plugin-B5o4pLyu.js} +41 -41
  216. package/dist/interface/ha/{PluginConsole-Dx84BNoO.js → PluginConsole-REtxP1Wi.js} +4 -4
  217. package/dist/interface/ha/{PluginDetail-DUpDS2nD.js → PluginDetail-BHrKifvP.js} +5 -5
  218. package/dist/interface/ha/{PluginSearch-Cvh0P9VB.js → PluginSearch-oNHMMeJD.js} +124 -124
  219. package/dist/interface/ha/{PluginUpdateProgress-CfyI2Qdp.js → PluginUpdateProgress-CqllA4eR.js} +3 -3
  220. package/dist/interface/ha/{Plugins-DXreIUwr.js → Plugins-B6y7z5yD.js} +173 -173
  221. package/dist/interface/ha/{Recordings-Cb8ifRcB.js → Recordings-CyhOVNoM.js} +168 -191
  222. package/dist/interface/ha/{SensorEdit-CsNXxcdj.js → SensorEdit-CnUU2PEv.js} +3 -3
  223. package/dist/interface/ha/{SensorHistory-DToDalOm.js → SensorHistory-z5hDuybW.js} +2 -2
  224. package/dist/interface/ha/{Sensors-B6giaowJ.js → Sensors-wpoB-X4r.js} +372 -372
  225. package/dist/interface/ha/{Settings-CVed7MM_.js → Settings-C6wTksxb.js} +3 -3
  226. package/dist/interface/ha/{SettingsAccount-CvvsLPoT.js → SettingsAccount-DByg5uzj.js} +178 -178
  227. package/dist/interface/ha/{SettingsAppearance-BDJeNGTd.js → SettingsAppearance-QgPo4M8O.js} +4 -4
  228. package/dist/interface/ha/{SettingsAssistant-B168p5HB.js → SettingsAssistant-Bg4BhUgb.js} +78 -78
  229. package/dist/interface/ha/{SettingsBackup-Bz_9xJ61.js → SettingsBackup-BgtZSRub.js} +39 -39
  230. package/dist/interface/ha/{SettingsList-B42rajJc.js → SettingsList-DB3j7buh.js} +1 -1
  231. package/dist/interface/ha/{SettingsMqtt-B5Qy6bxD.js → SettingsMqtt-DVx0z8vf.js} +14 -14
  232. package/dist/interface/ha/SettingsNotifications-osO2kMMO.js +529 -0
  233. package/dist/interface/ha/{SettingsRecordings-CkJGOiyQ.js → SettingsRecordings-BFEp160g.js} +7 -7
  234. package/dist/interface/ha/{SettingsRemote-Cc-qt3si.js → SettingsRemote-DQW4FhFn.js} +403 -403
  235. package/dist/interface/ha/{SettingsSystem-Cco2XXsS.js → SettingsSystem-Cs1MHOTi.js} +9 -9
  236. package/dist/interface/ha/{SettingsUsers-BDh-3saR.js → SettingsUsers-BtbuHlRZ.js} +23 -23
  237. package/dist/interface/ha/{Terminal-D2U-kFPW.js → Terminal-BuXCoMle.js} +4 -4
  238. package/dist/interface/ha/Training-CnsWyeaJ.js +1505 -0
  239. package/dist/interface/ha/{Updates-DGHNcvO9.js → Updates-BxU1Jpru.js} +5 -5
  240. package/dist/interface/ha/{VariableInput-Bujz1T1I.js → VariableInput-DgENnHvk.js} +1 -1
  241. package/dist/interface/ha/{VersionsHandler-CXvbeKbl.js → VersionsHandler-DQTSSqti.js} +10 -10
  242. package/dist/interface/ha/{VirtualSensorCreate-DOYONbgu.js → VirtualSensorCreate-Bsr6zTQp.js} +2 -2
  243. package/dist/interface/ha/{Workers-tQbC3WS6.js → Workers-0jZDuLbP.js} +14 -14
  244. package/dist/interface/ha/{api-DfJZj7ht.js → api-B8xb-N_g.js} +1 -1
  245. package/dist/interface/ha/{api-BI6_Fcag.js → api-VnpXqKYj.js} +7769 -7443
  246. package/dist/interface/ha/{assistant-BqSg4N8v.js → assistant-DDwonneA.js} +25 -25
  247. package/dist/interface/ha/{auth-BFoSqfzS.js → auth-CXX7ago-.js} +22 -22
  248. package/dist/interface/ha/{automationBlueprint-Q0yt2MdH.js → automationBlueprint-BUkXOKb1.js} +3 -3
  249. package/dist/interface/ha/cameraui-cards.js +1 -1
  250. package/dist/interface/ha/{cards-BW9I5B5Z.js → cards-CMel6uVq.js} +639 -637
  251. package/dist/interface/ha/{config-CeNHEP9A.js → config-9vwosYC8.js} +9 -9
  252. package/dist/interface/ha/{dist-BV3OfApt.js → dist-jxJIsKjm.js} +306 -282
  253. package/dist/interface/ha/{mqtt-BkYa2CXH.js → mqtt-Fm_GzbBi.js} +7 -7
  254. package/dist/interface/ha/{notifications-E3WSCGpc.js → notifications-CwSeoLx0.js} +12 -12
  255. package/dist/interface/ha/{pinia-DoDLbPZ3.js → pinia-D2fpp6nV.js} +150 -143
  256. package/dist/interface/ha/{plugins-2jjU7TfW.js → plugins-CgqO91Hg.js} +30 -30
  257. package/dist/interface/ha/{rooms-BkEw1ev-.js → rooms-DGnhPCGr.js} +1 -1
  258. package/dist/interface/ha/{server-CuK4o2fS.js → server-BqNJbXKJ.js} +15 -15
  259. package/dist/interface/ha/{types-BRHWeX0a.js → types-Ca-1kOA9.js} +18 -18
  260. package/dist/interface/ha/{ungrouped-BDwep3kg.js → ungrouped-B1RIFH36.js} +192 -192
  261. package/dist/interface/ha/{updates-R4xTxour.js → updates-Dn9WR43I.js} +26 -26
  262. package/dist/interface/ha/{useAppVersion-uaFjqUpx.js → useAppVersion-FMZfQhEd.js} +1 -1
  263. package/dist/interface/ha/{useLogsSocket-BZq9GXfy.js → useLogsSocket-Ch8C8inE.js} +1 -1
  264. package/dist/interface/ha/{useNavLayout-BJdDE__R.js → useNavLayout-DPjjtXVR.js} +2 -2
  265. package/dist/interface/ha/{useServerRestart-DDCKnE6c.js → useServerRestart-DoozgL8o.js} +1 -1
  266. package/dist/interface/ha/{useTabSwipe-CEH6ltIZ.js → useTabSwipe-CxXAmZNc.js} +1 -1
  267. package/dist/interface/ha/{useUpdateChannel-CHt1il2V.js → useUpdateChannel-CBwS4cI2.js} +2 -2
  268. package/dist/interface/ha/{useUpdatesSocket-BnVaNioY.js → useUpdatesSocket-GrlBqyU4.js} +1 -1
  269. package/dist/interface/ha/{useUserOptions-C7cQ1P3Q.js → useUserOptions-54hnf6hX.js} +1 -1
  270. package/dist/interface/index.html +31 -31
  271. package/dist/interface/sw.js +1 -1
  272. package/dist/server/package.json +5 -5
  273. package/dist/server/src/api/database/record-schemas.d.ts +10 -10
  274. package/dist/server/src/api/schemas/cameras.schema.d.ts +22 -22
  275. package/dist/server/src/api/schemas/users.schema.d.ts +70 -70
  276. package/dist/server/src/api/utils/regex.d.ts +1 -0
  277. package/dist/server/src/api/utils/regex.js +1 -0
  278. package/dist/server/src/api/utils/regex.js.map +1 -1
  279. package/dist/server/src/api/websocket/nsp/metrics.d.ts +0 -1
  280. package/dist/server/src/api/websocket/nsp/metrics.js +2 -48
  281. package/dist/server/src/api/websocket/nsp/metrics.js.map +1 -1
  282. package/dist/server/src/api/websocket/nsp/worker-perf.d.ts +3 -0
  283. package/dist/server/src/api/websocket/nsp/worker-perf.js +58 -0
  284. package/dist/server/src/api/websocket/nsp/worker-perf.js.map +1 -0
  285. package/dist/server/src/api/websocket/types.d.ts +1 -0
  286. package/dist/server/src/assistant/search.d.ts +11 -11
  287. package/dist/server/src/camera/decoder/detection-coordinator.d.ts +6 -0
  288. package/dist/server/src/camera/decoder/detection-coordinator.js +117 -20
  289. package/dist/server/src/camera/decoder/detection-coordinator.js.map +1 -1
  290. package/dist/server/src/camera/decoder/detection-pipeline.d.ts +3 -1
  291. package/dist/server/src/camera/decoder/detection-pipeline.js +4 -0
  292. package/dist/server/src/camera/decoder/detection-pipeline.js.map +1 -1
  293. package/dist/server/src/camera/decoder/event-manager.d.ts +1 -0
  294. package/dist/server/src/camera/decoder/event-manager.js +5 -2
  295. package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
  296. package/dist/server/src/camera/decoder/event-thumbnailer.d.ts +4 -0
  297. package/dist/server/src/camera/decoder/event-thumbnailer.js +3 -0
  298. package/dist/server/src/camera/decoder/event-thumbnailer.js.map +1 -1
  299. package/dist/server/src/camera/decoder/event-trace.d.ts +2 -0
  300. package/dist/server/src/camera/decoder/event-trace.js +9 -5
  301. package/dist/server/src/camera/decoder/event-trace.js.map +1 -1
  302. package/dist/server/src/camera/decoder/perf-tracker.d.ts +5 -1
  303. package/dist/server/src/camera/decoder/perf-tracker.js +10 -2
  304. package/dist/server/src/camera/decoder/perf-tracker.js.map +1 -1
  305. package/dist/server/src/camera/decoder/types.d.ts +5 -1
  306. package/dist/server/src/camera/decoder/types.js.map +1 -1
  307. package/dist/server/src/rpc/interfaces/detection.d.ts +1 -0
  308. package/dist/server/src/sensors/registry.d.ts +1 -0
  309. package/dist/server/src/sensors/registry.js +9 -3
  310. package/dist/server/src/sensors/registry.js.map +1 -1
  311. package/dist/server/src/sensors/sensor.js +2 -3
  312. package/dist/server/src/sensors/sensor.js.map +1 -1
  313. package/dist/server/src/sensors/types.d.ts +2 -1
  314. package/dist/server/src/sensors/types.js +7 -1
  315. package/dist/server/src/sensors/types.js.map +1 -1
  316. package/dist/server/src/utils/camera.js +6 -1
  317. package/dist/server/src/utils/camera.js.map +1 -1
  318. package/package.json +5 -5
  319. package/dist/interface/assets/Camera-B5l_gv7t.js +0 -2
  320. package/dist/interface/assets/Camera-gYRy6ECP.css +0 -1
  321. package/dist/interface/assets/CuiBottomSheet-C37blNu-.js +0 -1
  322. package/dist/interface/assets/CuiCameraPipCard-TVAf5ZYQ.js +0 -1
  323. package/dist/interface/assets/CuiCameraRecordings-C26rX8dh.css +0 -1
  324. package/dist/interface/assets/CuiCameraRecordings-IHg1dNf4.js +0 -1
  325. package/dist/interface/assets/CuiCameraTable-xDZz7Wpe.js +0 -1
  326. package/dist/interface/assets/Faces-Dqi30qs9.js +0 -1
  327. package/dist/interface/assets/Metrics-DX59XXDc.css +0 -1
  328. package/dist/interface/assets/PluginSchema-uVKXzfo6.js +0 -1
  329. package/dist/interface/assets/PluginSearch-C4MvWyLb.js +0 -1
  330. package/dist/interface/assets/Recordings-DrcOsRLn.js +0 -1
  331. package/dist/interface/assets/SettingsAccount-CkvScQmF.js +0 -1
  332. package/dist/interface/assets/SettingsAppearance-ZHqNXXIL.js +0 -1
  333. package/dist/interface/assets/Training-DfOqDTHJ.js +0 -1
  334. package/dist/interface/assets/api-B6TtU9Ew.css +0 -2
  335. package/dist/interface/assets/api-DPgKdIQZ.js +0 -4
  336. package/dist/interface/assets/cloudHandoff-Cxljjl7N.js +0 -1
  337. package/dist/interface/assets/main-BrNGfemk.js +0 -3
  338. package/dist/interface/assets/ungrouped-BQzKp2PT.js +0 -1
  339. package/dist/interface/assets/vendor-cameraui-Dhg7MEnt.js +0 -2326
  340. package/dist/interface/ha/SettingsNotifications-C59UxYic.js +0 -529
  341. package/dist/interface/ha/Training-DWcaCI-3.js +0 -1499
@@ -1,113 +1,113 @@
1
1
  import { c as e } from "./ripple-B_itunQV.js";
2
2
  import { B as t, D as n, Dt as r, G as i, H as a, Jt as o, M as s, Wt as c, Y as l, _t as u, d, f, kt as p, l as m, lt as h, ot as g, p as _, qt as v, r as y, rt as b, u as x, ut as S, wt as C, x as w, xt as T, y as E, yt as D, z as ee } from "./runtime-core.esm-bundler-DCktklpY.js";
3
3
  import { t as te } from "./tooltip-X5MY9FoG.js";
4
- import { Dt as ne, E as O, En as re, F as k, Gr as ie, Hr as ae, Ht as oe, I as se, In as ce, L as le, On as A, Or as ue, Sn as j, Tn as de, Un as M, _n as fe, a as pe, br as N, dr as me, g as he, gi as ge, ht as _e, kn as ve, kr as ye, pt as P, qt as be, wn as F, xn as xe, yi as I, yr as L } from "./api-BI6_Fcag.js";
5
- import { o as Se } from "./intercomService-Dwd0bhSN.js";
6
- import { r as Ce } from "./pinia-DoDLbPZ3.js";
7
- import { n as we } from "./vue-i18n-BBObX4QY.js";
8
- import { f as Te } from "./eventIcons-DrjNuTS2.js";
9
- import { t as Ee } from "./button-DJDZxmKj.js";
10
- import { t as R } from "./inputtext-vdcrNX6K.js";
11
- import { t as De } from "./divider-Cf59Ua0f.js";
12
- import { t as Oe } from "./speeddial-CpW9sIFY.js";
13
- import { t as ke } from "./delete-LxFfoBRM.js";
14
- import { c as Ae, d as je, u as Me } from "./cards-BW9I5B5Z.js";
15
- import { t as Ne } from "./microphone-TB58caA2.js";
16
- import { n as Pe, t as Fe } from "./CuiTopNavbarItem-B139fVxP.js";
4
+ import { Dt as ne, E as O, En as re, F as k, Gr as ie, Hr as ae, Ht as oe, I as se, L as ce, On as A, Or as le, Sn as ue, Tn as de, Yn as j, _i as fe, _n as pe, a as me, bi as he, br as ge, dr as M, g as _e, ht as ve, jn as ye, kn as N, kr as be, pt as P, qt as xe, wn as F, xn as Se, yr as I } from "./api-VnpXqKYj.js";
5
+ import { o as Ce } from "./intercomService-Dwd0bhSN.js";
6
+ import { r as we } from "./pinia-D2fpp6nV.js";
7
+ import { n as Te } from "./vue-i18n-BBObX4QY.js";
8
+ import { f as Ee } from "./eventIcons-DrjNuTS2.js";
9
+ import { t as De } from "./button-DJDZxmKj.js";
10
+ import { t as L } from "./inputtext-vdcrNX6K.js";
11
+ import { t as Oe } from "./divider-Cf59Ua0f.js";
12
+ import { t as ke } from "./speeddial-CpW9sIFY.js";
13
+ import { t as Ae } from "./delete-LxFfoBRM.js";
14
+ import { c as je, d as Me, u as Ne } from "./cards-CMel6uVq.js";
15
+ import { t as Pe } from "./microphone-TB58caA2.js";
16
+ import { n as Fe, t as Ie } from "./CuiTopNavbarItem-BwpXgGJ-.js";
17
17
  //#region ~icons/mdi/pencil
18
- var Ie = {
18
+ var Le = {
19
19
  viewBox: "0 0 24 24",
20
20
  width: "1.2em",
21
21
  height: "1.2em"
22
22
  };
23
- function Le(e, t) {
24
- return a(), _("svg", Ie, [...t[0] ||= [x("path", {
23
+ function Re(e, t) {
24
+ return a(), _("svg", Le, [...t[0] ||= [x("path", {
25
25
  fill: "currentColor",
26
26
  d: "M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83l3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75z"
27
27
  }, null, -1)]]);
28
28
  }
29
- var Re = u({
29
+ var ze = u({
30
30
  name: "mdi-pencil",
31
- render: Le
32
- }), ze = {
31
+ render: Re
32
+ }), Be = {
33
33
  viewBox: "0 0 24 24",
34
34
  width: "1.2em",
35
35
  height: "1.2em"
36
36
  };
37
- function Be(e, t) {
38
- return a(), _("svg", ze, [...t[0] ||= [x("path", {
37
+ function Ve(e, t) {
38
+ return a(), _("svg", Be, [...t[0] ||= [x("path", {
39
39
  fill: "currentColor",
40
40
  d: "m9.5 13.09l1.41 1.41l-4.5 4.5H10v2H3v-7h2v3.59zm1.41-3.59L9.5 10.91L5 6.41V10H3V3h7v2H6.41zm3.59 3.59l4.5 4.5V14h2v7h-7v-2h3.59l-4.5-4.5zM13.09 9.5l4.5-4.5H14V3h7v7h-2V6.41l-4.5 4.5z"
41
41
  }, null, -1)]]);
42
42
  }
43
- var Ve = u({
43
+ var He = u({
44
44
  name: "mdi-arrow-expand-all",
45
- render: Be
46
- }), He = {
45
+ render: Ve
46
+ }), Ue = {
47
47
  viewBox: "0 0 24 24",
48
48
  width: "1.2em",
49
49
  height: "1.2em"
50
50
  };
51
- function Ue(e, t) {
52
- return a(), _("svg", He, [...t[0] ||= [x("path", {
51
+ function We(e, t) {
52
+ return a(), _("svg", Ue, [...t[0] ||= [x("path", {
53
53
  fill: "currentColor",
54
54
  d: "M7.5 5.6L5 7l1.4-2.5L5 2l2.5 1.4L10 2L8.6 4.5L10 7zm12 9.8L22 14l-1.4 2.5L22 19l-2.5-1.4L17 19l1.4-2.5L17 14zM22 2l-1.4 2.5L22 7l-2.5-1.4L17 7l1.4-2.5L17 2l2.5 1.4zm-8.66 10.78l2.44-2.44l-2.12-2.12l-2.44 2.44zm1.03-5.49l2.34 2.34c.39.37.39 1.02 0 1.41L5.04 22.71c-.39.39-1.04.39-1.41 0l-2.34-2.34c-.39-.37-.39-1.02 0-1.41L12.96 7.29c.39-.39 1.04-.39 1.41 0"
55
55
  }, null, -1)]]);
56
56
  }
57
- var We = u({
57
+ var Ge = u({
58
58
  name: "mdi-auto-fix",
59
- render: Ue
60
- }), Ge = {
59
+ render: We
60
+ }), Ke = {
61
61
  viewBox: "0 0 24 24",
62
62
  width: "1.2em",
63
63
  height: "1.2em"
64
64
  };
65
- function Ke(e, t) {
66
- return a(), _("svg", Ge, [...t[0] ||= [x("path", {
65
+ function qe(e, t) {
66
+ return a(), _("svg", Ke, [...t[0] ||= [x("path", {
67
67
  fill: "currentColor",
68
68
  "fill-rule": "evenodd",
69
69
  d: "M9 3a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm10 0a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm2 10a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2zM9 15a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2z",
70
70
  "clip-rule": "evenodd"
71
71
  }, null, -1)]]);
72
72
  }
73
- var qe = u({
73
+ var Je = u({
74
74
  name: "mingcute-grid2-fill",
75
- render: Ke
76
- }), Je = {
75
+ render: qe
76
+ }), Ye = {
77
77
  viewBox: "0 0 24 24",
78
78
  width: "1.2em",
79
79
  height: "1.2em"
80
80
  };
81
- function Ye(e, t) {
82
- return a(), _("svg", Je, [...t[0] ||= [x("path", {
81
+ function Xe(e, t) {
82
+ return a(), _("svg", Ye, [...t[0] ||= [x("path", {
83
83
  fill: "currentColor",
84
84
  d: "M17.41 2H6.59A4.58 4.58 0 0 0 2 6.59v10.82A4.58 4.58 0 0 0 6.59 22h10.82A4.58 4.58 0 0 0 22 17.41V6.59A4.58 4.58 0 0 0 17.41 2m-2.653 12.447a1.924 1.924 0 0 1-1.924 1.923h-5.86a1.924 1.924 0 0 1-1.923-1.923v-4.87a1.923 1.923 0 0 1 1.927-1.924h5.856a1.925 1.925 0 0 1 1.924 1.924Zm4.2.74a.771.771 0 0 1-1.266.59l-2.211-1.854a.85.85 0 0 1-.3-.653v-2.52a.85.85 0 0 1 .31-.657l2.206-1.82a.769.769 0 0 1 1.26.594Z"
85
85
  }, null, -1)]]);
86
86
  }
87
- var Xe = u({
87
+ var Ze = u({
88
88
  name: "cbi-iosfacetime",
89
- render: Ye
90
- }), Ze = {
89
+ render: Xe
90
+ }), Qe = {
91
91
  viewBox: "0 0 24 24",
92
92
  width: "1.2em",
93
93
  height: "1.2em"
94
94
  };
95
- function Qe(e, t) {
96
- return a(), _("svg", Ze, [...t[0] ||= [x("path", {
95
+ function $e(e, t) {
96
+ return a(), _("svg", Qe, [...t[0] ||= [x("path", {
97
97
  fill: "currentColor",
98
98
  d: "m8.471 7.237l3.056 12.992c.233.993 1.63 1.04 1.929.065l2.945-9.58l.384 1.527a1 1 0 0 0 .97.756H21a1 1 0 1 0 0-2h-2.466l-1.069-4.241c-.247-.981-1.628-1.017-1.925-.05l-2.912 9.472L9.475 2.771c-.24-1.02-1.688-1.03-1.943-.014l-2.065 8.24H3a1 1 0 0 0 0 2h3.247a1 1 0 0 0 .97-.757z"
99
99
  }, null, -1)]]);
100
100
  }
101
- var $e = u({
101
+ var et = u({
102
102
  name: "fluent-pulse-24-filled",
103
- render: Qe
104
- }), z = {
103
+ render: $e
104
+ }), R = {
105
105
  viewBox: "0 0 16 16",
106
106
  width: "1.2em",
107
107
  height: "1.2em"
108
108
  };
109
- function B(e, t) {
110
- return a(), _("svg", z, [...t[0] ||= [x("path", {
109
+ function z(e, t) {
110
+ return a(), _("svg", R, [...t[0] ||= [x("path", {
111
111
  fill: "currentColor",
112
112
  d: "M7.557 2.066A.75.75 0 0 1 8 2.75v10.5a.75.75 0 0 1-1.248.56L3.59 11H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1.59l3.162-2.81a.75.75 0 0 1 .805-.124m5.393.984a.75.75 0 1 0-1.06 1.06a5.5 5.5 0 0 1 0 7.78a.75.75 0 1 0 1.06 1.06a7 7 0 0 0 0-9.9"
113
113
  }, null, -1), x("path", {
@@ -115,30 +115,30 @@ function B(e, t) {
115
115
  d: "M10.828 5.172a.75.75 0 1 0-1.06 1.06a2.5 2.5 0 0 1 0 3.536a.75.75 0 1 0 1.06 1.06a4 4 0 0 0 0-5.656"
116
116
  }, null, -1)]]);
117
117
  }
118
- var et = u({
118
+ var tt = u({
119
119
  name: "heroicons-speaker-wave-16-solid",
120
- render: B
121
- }), V = {
120
+ render: z
121
+ }), B = {
122
122
  viewBox: "0 0 16 16",
123
123
  width: "1.2em",
124
124
  height: "1.2em"
125
125
  };
126
- function H(e, t) {
127
- return a(), _("svg", V, [...t[0] ||= [x("path", {
126
+ function V(e, t) {
127
+ return a(), _("svg", B, [...t[0] ||= [x("path", {
128
128
  fill: "currentColor",
129
129
  d: "M7.557 2.066A.75.75 0 0 1 8 2.75v10.5a.75.75 0 0 1-1.248.56L3.59 11H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h1.59l3.162-2.81a.75.75 0 0 1 .805-.124M11.28 5.72a.75.75 0 1 0-1.06 1.06L11.44 8l-1.22 1.22a.75.75 0 1 0 1.06 1.06l1.22-1.22l1.22 1.22a.75.75 0 1 0 1.06-1.06L13.56 8l1.22-1.22a.75.75 0 0 0-1.06-1.06L12.5 6.94z"
130
130
  }, null, -1)]]);
131
131
  }
132
- var tt = u({
132
+ var nt = u({
133
133
  name: "heroicons-speaker-x-mark-16-solid",
134
- render: H
135
- }), U = {
134
+ render: V
135
+ }), H = {
136
136
  viewBox: "0 0 48 48",
137
137
  width: "1.2em",
138
138
  height: "1.2em"
139
139
  };
140
- function W(e, t) {
141
- return a(), _("svg", U, [...t[0] ||= [x("g", {
140
+ function U(e, t) {
141
+ return a(), _("svg", H, [...t[0] ||= [x("g", {
142
142
  fill: "none",
143
143
  stroke: "currentColor",
144
144
  "stroke-linejoin": "round",
@@ -151,30 +151,30 @@ function W(e, t) {
151
151
  d: "M31.66 10H41l-10 8h10"
152
152
  })], -1)]]);
153
153
  }
154
- var nt = u({
154
+ var rt = u({
155
155
  name: "icon-park-solid-sleep",
156
- render: W
157
- }), G = {
156
+ render: U
157
+ }), W = {
158
158
  viewBox: "0 0 24 24",
159
159
  width: "1.2em",
160
160
  height: "1.2em"
161
161
  };
162
- function rt(e, t) {
163
- return a(), _("svg", G, [...t[0] ||= [x("path", {
162
+ function it(e, t) {
163
+ return a(), _("svg", W, [...t[0] ||= [x("path", {
164
164
  fill: "currentColor",
165
165
  d: "M10.4 13.45h3.2l.6 1.625q.075.2.238.313t.362.112q.35 0 .538-.275t.062-.6l-2.55-6.7q-.075-.2-.237-.312T12.25 7.5h-.5q-.2 0-.363.113t-.237.312L8.625 14.65q-.125.3.05.575t.525.275q.2 0 .363-.112t.237-.313zm.4-1.15L11.95 9h.1l1.15 3.3zM12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12q0-.8.125-1.6T2.5 8.825q.125-.4.513-.537t.737.062q.375.2.538.588t.037.812q-.15.55-.238 1.113T4 12q0 3.35 2.325 5.675T12 20t5.675-2.325T20 12t-2.325-5.675T12 4q-.6 0-1.187.087T9.65 4.35q-.425.125-.8-.025T8.3 3.8t-.013-.762t.563-.513q.75-.275 1.55-.4T12 2q2.075 0 3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22M4.438 6.563Q4 6.125 4 5.5t.438-1.062T5.5 4t1.063.438T7 5.5t-.437 1.063T5.5 7t-1.062-.437M12 12"
166
166
  }, null, -1)]]);
167
167
  }
168
- var it = u({
168
+ var at = u({
169
169
  name: "material-symbols-motion-photos-auto-outline-rounded",
170
- render: rt
171
- }), at = {
170
+ render: it
171
+ }), G = {
172
172
  viewBox: "0 0 24 24",
173
173
  width: "1.2em",
174
174
  height: "1.2em"
175
175
  };
176
176
  function K(e, t) {
177
- return a(), _("svg", at, [...t[0] ||= [x("path", {
177
+ return a(), _("svg", G, [...t[0] ||= [x("path", {
178
178
  fill: "currentColor",
179
179
  d: "M21 15v3h3v2h-3v3h-2v-3h-3v-2h3v-3zm-7 3H3V6h16v7h2V6c0-1.11-.89-2-2-2H3a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h11z"
180
180
  }, null, -1)]]);
@@ -256,7 +256,7 @@ var _t = u({
256
256
  __name: "AudioVisualizer",
257
257
  emits: ["listening"],
258
258
  setup(e, { expose: r, emit: i }) {
259
- let s = i, c = Se(), l = I(), u = n("dialogRefProps"), d = b("canvasRef"), f = C(), p = C(), g = T(!1), v = m(() => !!u.loading?.value);
259
+ let s = i, c = Ce(), l = he(), u = n("dialogRefProps"), d = b("canvasRef"), f = C(), p = C(), g = T(!1), v = m(() => !!u.loading?.value);
260
260
  async function y() {
261
261
  if (g.value) w();
262
262
  else try {
@@ -309,7 +309,7 @@ var _t = u({
309
309
  return t(() => {
310
310
  w();
311
311
  }), r({ isLoading: v }), (e, t) => {
312
- let n = Ne, r = Ee;
312
+ let n = Pe, r = De;
313
313
  return a(), _("div", vt, [x("span", yt, o(e.$t("components.dialog.message.intercom_info")), 1), x("div", bt, [E(r, {
314
314
  rounded: "",
315
315
  class: "w-[60px] h-[60px] absolute z-1",
@@ -502,7 +502,7 @@ var _t = u({
502
502
  }, Yt = {
503
503
  key: 0,
504
504
  class: "text-red-500 text-center mb-5"
505
- }, Xt = { class: "md:max-h-[450px] overflow-y-auto" }, Zt = { class: "block cui-label mb-3" }, Qt = { class: "view-select-container" }, $t = ["onClick"], en = /*#__PURE__*/ L(/* @__PURE__ */ w({
505
+ }, Xt = { class: "md:max-h-[450px] overflow-y-auto" }, Zt = { class: "block cui-label mb-3" }, Qt = { class: "view-select-container" }, $t = ["onClick"], en = /*#__PURE__*/ I(/* @__PURE__ */ w({
506
506
  __name: "CamviewForm",
507
507
  props: {
508
508
  form: {},
@@ -511,7 +511,7 @@ var _t = u({
511
511
  views: {}
512
512
  },
513
513
  setup(t, { expose: u }) {
514
- let v = new ge(), S = t, C = Se(), w = I(), { t: D } = we(), te = n("dialogRefProps"), re = he(), { user: ie } = Ce(re), { mutateAsync: ae, isPending: oe } = v.createViewQuery(), { mutateAsync: ce, isPending: ue } = v.patchViewQuery(), { form: j, type: de, cameras: M, views: fe } = r(S), N = b("formRef"), me = T([
514
+ let v = new fe(), S = t, C = Ce(), w = he(), { t: D } = Te(), te = n("dialogRefProps"), re = _e(), { user: ie } = we(re), { mutateAsync: ae, isPending: oe } = v.createViewQuery(), { mutateAsync: le, isPending: ue } = v.patchViewQuery(), { form: de, type: j, cameras: pe, views: ge } = r(S), M = b("formRef"), ve = T([
515
515
  1,
516
516
  4,
517
517
  6,
@@ -524,14 +524,14 @@ var _t = u({
524
524
  16,
525
525
  20,
526
526
  26
527
- ]), _e = T(!0), ye = T(!0), P = T([]), be = T(!!j.value), F = T(j.value ? pe(j.value) : {});
528
- !be.value && de.value === "view" && (F.value.viewSize = me.value[0]);
529
- let xe = m(() => !!(te.loading?.value || oe.value || ue.value));
530
- function L(e) {
527
+ ]), ye = T(!0), be = T(!0), P = T([]), xe = T(!!de.value), F = T(de.value ? me(de.value) : {});
528
+ !xe.value && j.value === "view" && (F.value.viewSize = ve.value[0]);
529
+ let Se = m(() => !!(te.loading?.value || oe.value || ue.value));
530
+ function I(e) {
531
531
  let t = P.value.findIndex((t) => t.name === e.name);
532
532
  t === -1 ? P.value.push(e) : P.value.splice(t, 1);
533
533
  }
534
- function Te(e) {
534
+ function Ee(e) {
535
535
  switch (e) {
536
536
  case 1: return St;
537
537
  case 4: return It;
@@ -548,16 +548,16 @@ var _t = u({
548
548
  default: return St;
549
549
  }
550
550
  }
551
- async function Ee() {
552
- if (!N.value || !ie.value) return;
553
- let e = fe.value.find((e) => e.name === F.value.name);
554
- if (e && !be.value) return C.error("View already exists", e), w.add({
551
+ async function De() {
552
+ if (!M.value || !ie.value) return;
553
+ let e = ge.value.find((e) => e.name === F.value.name);
554
+ if (e && !xe.value) return C.error("View already exists", e), w.add({
555
555
  severity: "error",
556
556
  detail: D("components.toast.validation_failed"),
557
557
  life: 3e3
558
558
  }), null;
559
- if (de.value === "dnd") {
560
- if (ye.value) return C.error("No cameras selected"), w.add({
559
+ if (j.value === "dnd") {
560
+ if (be.value) return C.error("No cameras selected"), w.add({
561
561
  severity: "error",
562
562
  detail: D("components.toast.validation_failed"),
563
563
  life: 3e3
@@ -566,9 +566,9 @@ var _t = u({
566
566
  cameraId: e._id,
567
567
  index: t
568
568
  }));
569
- F.value.cameras = e, F.value.type = "dnd", F.value.viewSize = 1, N.value.setFieldValue("type", "dnd"), N.value.setFieldValue("viewSize", 1), N.value.setFieldValue("cameras", e);
570
- let t = await N.value.validate();
571
- return t?.valid ? be.value ? await ce({
569
+ F.value.cameras = e, F.value.type = "dnd", F.value.viewSize = 1, M.value.setFieldValue("type", "dnd"), M.value.setFieldValue("viewSize", 1), M.value.setFieldValue("cameras", e);
570
+ let t = await M.value.validate();
571
+ return t?.valid ? xe.value ? await le({
572
572
  username: ie.value.username,
573
573
  viewid: F.value._id,
574
574
  viewData: F.value
@@ -582,14 +582,14 @@ var _t = u({
582
582
  }), null);
583
583
  }
584
584
  {
585
- if (_e.value) return C.error("No view selected"), w.add({
585
+ if (ye.value) return C.error("No view selected"), w.add({
586
586
  severity: "error",
587
587
  detail: D("components.toast.validation_failed"),
588
588
  life: 3e3
589
589
  }), null;
590
- F.value.cameras = [], F.value.type = "view", N.value.setFieldValue("type", "view"), N.value.setFieldValue("cameras", []);
591
- let e = await N.value.validate();
592
- return e?.valid ? pe(F.value) : (C.error("Validation failed", e), w.add({
590
+ F.value.cameras = [], F.value.type = "view", M.value.setFieldValue("type", "view"), M.value.setFieldValue("cameras", []);
591
+ let e = await M.value.validate();
592
+ return e?.valid ? me(F.value) : (C.error("Validation failed", e), w.add({
593
593
  severity: "error",
594
594
  detail: D("components.toast.validation_failed"),
595
595
  life: 3e3
@@ -597,23 +597,23 @@ var _t = u({
597
597
  }
598
598
  }
599
599
  return g(F, (e) => {
600
- for (let [t, n] of Object.entries(e)) N.value?.setFieldValue(t, n);
601
- e.viewSize && (_e.value = !1), e.cameras?.length && (ye.value = !1);
600
+ for (let [t, n] of Object.entries(e)) M.value?.setFieldValue(t, n);
601
+ e.viewSize && (ye.value = !1), e.cameras?.length && (be.value = !1);
602
602
  }, {
603
603
  deep: !0,
604
604
  immediate: !0
605
605
  }), g(P, (e) => {
606
- ye.value = e.length === 0;
606
+ be.value = e.length === 0;
607
607
  }, { deep: !0 }), ee(() => {
608
- P.value = M.value?.filter((e) => F.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
608
+ P.value = pe.value?.filter((e) => F.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
609
609
  }), u({
610
- isLoading: xe,
611
- onConfirm: Ee
610
+ isLoading: Se,
611
+ onConfirm: De
612
612
  }), (t, n) => {
613
- let r = R, u = ne, m = De, g = A, v = ve;
614
- return a(), d(p(le), {
613
+ let r = L, u = ne, m = Oe, g = A, v = N;
614
+ return a(), d(p(ce), {
615
615
  ref_key: "formRef",
616
- ref: N,
616
+ ref: M,
617
617
  class: "flex flex-col gap-6",
618
618
  "validation-schema": p(O),
619
619
  "initial-values": p(F)
@@ -632,7 +632,7 @@ var _t = u({
632
632
  E(u, null, {
633
633
  default: h(() => [E(r, s(n, {
634
634
  invalid: i.length > 0,
635
- loading: p(xe),
635
+ loading: p(Se),
636
636
  type: "text"
637
637
  }), null, 16, ["invalid", "loading"])]),
638
638
  _: 2
@@ -648,31 +648,31 @@ var _t = u({
648
648
  _: 1
649
649
  }, 8, ["modelValue"]),
650
650
  E(m, { class: "m-0 py-3" }),
651
- p(de) === "dnd" ? (a(), _("div", Wt, [E(e, { name: "fade" }, {
652
- default: h(() => [p(ye) ? (a(), _("span", Gt, o(t.$t("components.form.error.no_cameras_selected")), 1)) : f("", !0)]),
651
+ p(j) === "dnd" ? (a(), _("div", Wt, [E(e, { name: "fade" }, {
652
+ default: h(() => [p(be) ? (a(), _("span", Gt, o(t.$t("components.form.error.no_cameras_selected")), 1)) : f("", !0)]),
653
653
  _: 1
654
- }), x("div", Kt, [x("label", qt, o(t.$t("components.form.label.cameras")), 1), (a(!0), _(y, null, i(p(M), (e, t) => (a(), _("div", {
654
+ }), x("div", Kt, [x("label", qt, o(t.$t("components.form.label.cameras")), 1), (a(!0), _(y, null, i(p(pe), (e, t) => (a(), _("div", {
655
655
  key: t,
656
656
  class: "cui-list-item"
657
657
  }, [E(v, {
658
658
  class: "h-14",
659
659
  active: p(P).some((t) => t.name === e.name),
660
- onClick: (t) => L(e)
660
+ onClick: (t) => I(e)
661
661
  }, {
662
662
  append: h(() => [E(g, {
663
663
  "model-value": p(P).some((t) => t.name === e.name),
664
- "onUpdate:modelValue": (t) => L(e)
664
+ "onUpdate:modelValue": (t) => I(e)
665
665
  }, null, 8, ["model-value", "onUpdate:modelValue"])]),
666
666
  default: h(() => [x("span", null, o(e.name), 1)]),
667
667
  _: 2
668
668
  }, 1032, ["active", "onClick"])]))), 128))])])) : (a(), _("div", Jt, [E(e, { name: "fade" }, {
669
- default: h(() => [p(_e) ? (a(), _("span", Yt, o(t.$t("components.form.error.no_view_selected")), 1)) : f("", !0)]),
669
+ default: h(() => [p(ye) ? (a(), _("span", Yt, o(t.$t("components.form.error.no_view_selected")), 1)) : f("", !0)]),
670
670
  _: 1
671
- }), x("div", Xt, [x("label", Zt, o(t.$t("components.form.label.views")), 1), x("div", Qt, [(a(!0), _(y, null, i(p(me), (e) => (a(), _("div", {
671
+ }), x("div", Xt, [x("label", Zt, o(t.$t("components.form.label.views")), 1), x("div", Qt, [(a(!0), _(y, null, i(p(ve), (e) => (a(), _("div", {
672
672
  key: e,
673
673
  class: "view-select-item w-full",
674
674
  onClick: (t) => p(F).viewSize = e
675
- }, [x("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": p(F).viewSize === e }]) }, [(a(), d(l(Te(e)), { style: {
675
+ }, [x("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": p(F).viewSize === e }]) }, [(a(), d(l(Ee(e)), { style: {
676
676
  width: "100%",
677
677
  height: "100%"
678
678
  } }))], 2), x("span", { class: c(["view-select-item-label text-muted mt-3 px-2 py-1 cui-rounded-corners", { "selected-view-label": p(F).viewSize === e }]) }, o(e) + " " + o(t.$t("views.camview.cameras")), 3)], 8, $t))), 128))])])]))
@@ -687,24 +687,24 @@ var _t = u({
687
687
  }, rn = {
688
688
  key: 1,
689
689
  class: "flex flex-col w-full h-full"
690
- }, an = { class: "flex flex-1 min-h-0 flex-col items-center justify-center w-full gap-4" }, on = { class: "text-muted text-sm" }, sn = { class: "relative w-6 h-6" }, cn = /*#__PURE__*/ L(/* @__PURE__ */ w({
690
+ }, an = { class: "flex flex-1 min-h-0 flex-col items-center justify-center w-full gap-4" }, on = { class: "text-muted text-sm" }, sn = { class: "relative w-6 h-6" }, cn = /*#__PURE__*/ I(/* @__PURE__ */ w({
691
691
  __name: "Camview",
692
692
  props: {
693
693
  navbarWidth: { default: 0 },
694
694
  navbarLeft: { default: 0 }
695
695
  },
696
696
  setup(t) {
697
- let n = new ge(), i = new be(), u = t, y = we(), { t: C } = y, w = P(), ee = _e(), { bottombarHeight: ne } = ye(), { smBreakpoint: O, lgBreakpoint: k, mdBreakpoint: se } = ue(), le = he(), { user: A } = Ce(le), ve = ae(), { uiSettings: I } = Ce(ve), { data: L, isLoading: Se } = i.getCamerasQuery({
697
+ let n = new fe(), i = new xe(), u = t, y = Te(), { t: C } = y, w = P(), ee = ve(), { bottombarHeight: ne } = be(), { smBreakpoint: O, lgBreakpoint: k, mdBreakpoint: se } = le(), ce = _e(), { user: A } = we(ce), he = ae(), { uiSettings: N } = we(he), { data: I, isLoading: Ce } = i.getCamerasQuery({
698
698
  page: 1,
699
699
  pageSize: -1
700
- }), { data: R, isLoading: Ne } = n.getViewsQuery(A.value?.username ?? "", {
700
+ }), { data: L, isLoading: Pe } = n.getViewsQuery(A.value?.username ?? "", {
701
701
  page: 1,
702
702
  pageSize: -1
703
- }), { mutate: Ie, isPending: Le } = n.removeViewQuery(), { mutateAsync: ze, isPending: Be } = n.createViewQuery(), { mutateAsync: He, isPending: Ue } = n.patchViewQuery(), { mutateAsync: Ge } = n.patchViewQuerySilent(), { navbarWidth: Ke, navbarLeft: Je } = r(u), Ye = b("menuRef"), Ze = b("newViewMenuRef"), Qe = b("cardFitMenuRef"), z = b("viewDndRef"), B = T({}), V = T(!1), H = T(!1), U = T(!1), W = T(!1), G = T(!1), rt = T(!1), at = T(!0), K = T("always-on"), q = T("low-resolution"), J = T("auto"), Y = T([]), ct = T(), ut = T(null), dt = D({
703
+ }), { mutate: Le, isPending: Re } = n.removeViewQuery(), { mutateAsync: Be, isPending: Ve } = n.createViewQuery(), { mutateAsync: Ue, isPending: We } = n.patchViewQuery(), { mutateAsync: Ke } = n.patchViewQuerySilent(), { navbarWidth: qe, navbarLeft: Ye } = r(u), Xe = b("menuRef"), Qe = b("newViewMenuRef"), $e = b("cardFitMenuRef"), R = b("viewDndRef"), z = T({}), B = T(!1), V = T(!1), H = T(!1), U = T(!1), W = T(!1), it = T(!1), G = T(!0), K = T("always-on"), q = T("low-resolution"), J = T("auto"), Y = T([]), ct = T(), ut = T(null), dt = D({
704
704
  sourceRole: q.value,
705
705
  activityMode: K.value,
706
706
  streamingMode: J.value
707
- }), X = m(() => Se.value || Ne.value || Le.value || Be.value || Ue.value), pt = m(() => Ke.value + Je.value), ht = m(() => ({
707
+ }), X = m(() => Ce.value || Pe.value || Re.value || Ve.value || We.value), pt = m(() => qe.value + Ye.value), ht = m(() => ({
708
708
  locale: y.locale.value,
709
709
  dayNames: w.config.locale?.dayNames,
710
710
  dayNamesShort: w.config.locale?.dayNamesShort,
@@ -728,48 +728,48 @@ var _t = u({
728
728
  control: !0,
729
729
  toolbar: !1,
730
730
  expandableCard: ($.value?.cameras?.length ?? 0) > 1,
731
- detectionIndicatorOverlay: !U.value && Q.value,
732
- detectionIconsOverlay: !U.value && Q.value,
731
+ detectionIndicatorOverlay: !H.value && Q.value,
732
+ detectionIconsOverlay: !H.value && Q.value,
733
733
  boundingBoxOverlay: !1,
734
734
  cardClickAction: "expand",
735
735
  viewTransition: !0,
736
736
  cardProps: { pt: { root: { style: "background: #000" } } }
737
- })), bt = m(() => R.value?.result.length ? k.value ? {
738
- width: G.value ? "calc(100% - 400px)" : "100%",
737
+ })), bt = m(() => L.value?.result.length ? k.value ? {
738
+ width: W.value ? "calc(100% - 400px)" : "100%",
739
739
  height: "100%",
740
740
  overflowY: "scroll"
741
741
  } : {
742
742
  height: "100%",
743
- paddingBottom: G.value ? ne.value > 0 ? "200px" : "192px" : "0px",
743
+ paddingBottom: W.value ? ne.value > 0 ? "200px" : "192px" : "0px",
744
744
  overflowY: "scroll"
745
745
  } : {
746
746
  width: "100%",
747
747
  height: "100%",
748
748
  overflowY: "scroll"
749
- }), Z = m(() => V.value || H.value), St = m(() => !!z.value?.isFullscreen), Q = m(() => I.value.camview.detections !== !1), Ct = m(() => [
749
+ }), Z = m(() => B.value || V.value), St = m(() => !!R.value?.isFullscreen), Q = m(() => N.value.camview.detections !== !1), Ct = m(() => [
750
750
  {
751
751
  label: St.value ? C("components.form.tooltip.fullscreen_off") : C("components.form.tooltip.fullscreen_on"),
752
- icon: St.value ? j : xe,
752
+ icon: St.value ? ue : Se,
753
753
  command: Wt
754
754
  },
755
755
  {
756
- label: at.value ? C("components.form.tooltip.unmute") : C("components.form.tooltip.mute"),
757
- icon: at.value ? tt : et,
756
+ label: G.value ? C("components.form.tooltip.unmute") : C("components.form.tooltip.mute"),
757
+ icon: G.value ? nt : tt,
758
758
  command: Gt
759
759
  },
760
760
  {
761
761
  label: C("components.form.tooltip.intercom"),
762
- icon: fe,
762
+ icon: pe,
763
763
  command: () => Mt("intercom")
764
764
  },
765
765
  {
766
766
  label: J.value === "auto" ? `${C("components.form.tooltip.mode")}: ${C("components.form.tooltip.streaming_mode_auto")}` : J.value === "webrtc" ? `${C("components.form.tooltip.mode")}: ${C("components.form.tooltip.streaming_mode_webrtc")}` : `${C("components.form.tooltip.mode")}: ${C("components.form.tooltip.streaming_mode_mse")}`,
767
- icon: J.value === "auto" ? it : J.value === "webrtc" ? _t : Xe,
767
+ icon: J.value === "auto" ? at : J.value === "webrtc" ? _t : Ze,
768
768
  command: () => Jt()
769
769
  },
770
770
  {
771
771
  label: K.value === "always-on" ? C("components.form.tooltip.activity_mode_always_on") : K.value === "standby" ? C("components.form.tooltip.activity_mode_standby") : C("components.form.tooltip.activity_mode_activity"),
772
- icon: K.value === "always-on" ? st : K.value === "standby" ? nt : $e,
772
+ icon: K.value === "always-on" ? st : K.value === "standby" ? rt : et,
773
773
  command: () => Kt()
774
774
  },
775
775
  {
@@ -779,25 +779,25 @@ var _t = u({
779
779
  },
780
780
  {
781
781
  label: `${C("components.form.tooltip.detections")}: ${Q.value ? C("components.form.tooltip.detections_on") : C("components.form.tooltip.detections_off")}`,
782
- icon: Q.value ? Te : oe,
783
- command: () => I.value.camview.detections = !Q.value
782
+ icon: Q.value ? Ee : oe,
783
+ command: () => N.value.camview.detections = !Q.value
784
784
  }
785
785
  ]), $ = m(() => {
786
- let e = R.value?.result.find((e) => e._id === I.value.camview.viewid) || R.value?.result[0];
787
- return e ? (B.value = e, I.value.camview.viewid = e._id) : B.value = {}, e;
786
+ let e = L.value?.result.find((e) => e._id === N.value.camview.viewid) || L.value?.result[0];
787
+ return e ? (z.value = e, N.value.camview.viewid = e._id) : z.value = {}, e;
788
788
  }), wt = m(() => $.value?.cameras?.map((e) => e.cameraId) ?? []), Tt = m(() => {
789
789
  let e = ut.value;
790
790
  return e && wt.value.includes(e) ? [e] : wt.value;
791
791
  }), Et = m(() => {
792
792
  let e = {};
793
- for (let t of L.value?.result ?? []) e[t._id] = t.name;
793
+ for (let t of I.value?.result ?? []) e[t._id] = t.name;
794
794
  return e;
795
- }), { master: Dt } = M(wt, {
795
+ }), { master: Dt } = j(wt, {
796
796
  sourceRole: "low",
797
797
  activeIds: Tt
798
- }), Ot = m(() => Dt.mode.value !== "idle" && Dt.currentTimestamp.value > 0 ? Math.floor(Dt.currentTimestamp.value / 1e3) : void 0), kt = m(() => Z.value && B.value.viewSize > 0 ? B.value.viewSize : $.value ? $.value.viewSize : 1), At = m(() => {
798
+ }), Ot = m(() => Dt.mode.value !== "idle" && Dt.currentTimestamp.value > 0 ? Math.floor(Dt.currentTimestamp.value / 1e3) : void 0), kt = m(() => Z.value && z.value.viewSize > 0 ? z.value.viewSize : $.value ? $.value.viewSize : 1), At = m(() => {
799
799
  let e = [];
800
- for (let t of R.value?.result || []) e.push({
800
+ for (let t of L.value?.result || []) e.push({
801
801
  label: t.name,
802
802
  active: t._id === $.value?._id,
803
803
  onClick: () => Nt(t)
@@ -813,23 +813,23 @@ var _t = u({
813
813
  case "newView":
814
814
  case "editView": {
815
815
  let t = e === "editView", n = C(t ? "components.dialog.title.edit_view" : "components.dialog.title.new_view");
816
- t ? V.value = !0 : H.value = !0, ee.openComponentDialog(en, {
816
+ t ? B.value = !0 : V.value = !0, ee.openComponentDialog(en, {
817
817
  data: {
818
818
  title: n,
819
819
  loading: X,
820
820
  confirmText: C("components.form.button.next"),
821
821
  contentProps: {
822
- form: t ? B.value : void 0,
822
+ form: t ? z.value : void 0,
823
823
  type: "view",
824
- cameras: L.value?.result || [],
825
- views: R.value?.result || []
824
+ cameras: I.value?.result || [],
825
+ views: L.value?.result || []
826
826
  }
827
827
  },
828
828
  onConfirm: (e) => {
829
- e && (B.value = e);
829
+ e && (z.value = e);
830
830
  },
831
831
  onCancel: () => {
832
- H.value = !1;
832
+ V.value = !1;
833
833
  }
834
834
  });
835
835
  break;
@@ -857,18 +857,18 @@ var _t = u({
857
857
  }
858
858
  }
859
859
  function Nt(e) {
860
- I.value.camview.viewid = e._id;
860
+ N.value.camview.viewid = e._id;
861
861
  }
862
862
  function Pt() {
863
- $.value && A.value && Ie({
863
+ $.value && A.value && Le({
864
864
  username: A.value.username,
865
865
  viewid: $.value._id
866
866
  }, { onSuccess: (e) => {
867
- e.length ? I.value.camview.viewid = e[0]._id : I.value.camview.viewid = void 0;
867
+ e.length ? N.value.camview.viewid = e[0]._id : N.value.camview.viewid = void 0;
868
868
  } });
869
869
  }
870
870
  async function Ft() {
871
- if (!A.value || Object.keys(B.value).length === 0) return;
871
+ if (!A.value || Object.keys(z.value).length === 0) return;
872
872
  let e = Y.value.filter((e) => e.lastDroppedCamera).map((e) => ({
873
873
  cameraId: e.lastDroppedCamera._id,
874
874
  index: e.index,
@@ -876,12 +876,12 @@ var _t = u({
876
876
  rowSpan: e.rowSpan
877
877
  })).sort((e, t) => e.index - t.index);
878
878
  if (!e.length) return;
879
- let t = pe(B.value);
880
- t.cameras = e, t._id ? Ht(await He({
879
+ let t = me(z.value);
880
+ t.cameras = e, t._id ? Ht(await Ue({
881
881
  username: A.value.username,
882
882
  viewid: t._id,
883
883
  viewData: t
884
- })) : Ht(await ze({
884
+ })) : Ht(await Be({
885
885
  username: A.value.username,
886
886
  viewData: t
887
887
  }));
@@ -897,7 +897,7 @@ var _t = u({
897
897
  }
898
898
  function zt(e) {
899
899
  let t = $.value?._id;
900
- t && (I.value.camview.layouts || (I.value.camview.layouts = {}), I.value.camview.layouts[Rt(t)] = e.map((e) => ({
900
+ t && (N.value.camview.layouts || (N.value.camview.layouts = {}), N.value.camview.layouts[Rt(t)] = e.map((e) => ({
901
901
  index: e.index,
902
902
  cameraId: e.cameraId,
903
903
  x: e.x ?? 0,
@@ -911,17 +911,17 @@ var _t = u({
911
911
  }
912
912
  function Vt(e) {
913
913
  let t = ut.value;
914
- t && e.cameraId && e.cameraId !== t && wt.value.includes(e.cameraId) && z.value?.expandCameraById(e.cameraId);
914
+ t && e.cameraId && e.cameraId !== t && wt.value.includes(e.cameraId) && R.value?.expandCameraById(e.cameraId);
915
915
  }
916
916
  function Ht(e) {
917
- I.value.camview.viewid = e._id, H.value = !1, V.value = !1;
917
+ N.value.camview.viewid = e._id, V.value = !1, B.value = !1;
918
918
  }
919
919
  async function Ut(e) {
920
920
  let t = $.value, n = A.value?.username;
921
921
  if (t && n && gt.value !== e) {
922
922
  ct.value = e;
923
923
  try {
924
- await Ge({
924
+ await Ke({
925
925
  username: n,
926
926
  viewid: t._id,
927
927
  viewData: { cardFit: e }
@@ -932,38 +932,38 @@ var _t = u({
932
932
  }
933
933
  }
934
934
  function Wt() {
935
- z.value?.toggleFullscreen();
935
+ R.value?.toggleFullscreen();
936
936
  }
937
937
  function Gt() {
938
- at.value = !at.value, z.value?.toggleAllPlayerMute(at.value);
938
+ G.value = !G.value, R.value?.toggleAllPlayerMute(G.value);
939
939
  }
940
940
  function Kt(e) {
941
941
  let t = K.value;
942
- t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"), z.value?.toggleAllPlayerActivityMode(t), K.value = t;
942
+ t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"), R.value?.toggleAllPlayerActivityMode(t), K.value = t;
943
943
  }
944
944
  async function qt(e) {
945
945
  let t = q.value;
946
- t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await z.value?.toggleAllPlayerSourceRole(t), q.value = t;
946
+ t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await R.value?.toggleAllPlayerSourceRole(t), q.value = t;
947
947
  }
948
948
  async function Jt(e) {
949
949
  let t = J.value;
950
950
  t === "auto" && (t = "webrtc");
951
951
  let n = e || (t === "mse" ? "webrtc" : "mse");
952
- await z.value?.toggleAllPlayerStreamingMode(n), J.value = n;
952
+ await R.value?.toggleAllPlayerStreamingMode(n), J.value = n;
953
953
  }
954
954
  async function Yt(e) {
955
- await z.value?.toggleAllPlayerMicrophone(e);
955
+ await R.value?.toggleAllPlayerMicrophone(e);
956
956
  }
957
- return g(W, (e) => {
958
- e && (rt.value = !0);
957
+ return g(U, (e) => {
958
+ e && (it.value = !0);
959
959
  }), g(() => $.value?._id, () => {
960
960
  ct.value = void 0;
961
961
  }), g([
962
962
  kt,
963
963
  $,
964
- L,
965
- Z,
966
964
  I,
965
+ Z,
966
+ N,
967
967
  O
968
968
  ], () => {
969
969
  let e = Array.from({ length: kt.value }).map((e, t) => ({
@@ -971,51 +971,51 @@ var _t = u({
971
971
  index: t,
972
972
  lastDroppedCamera: void 0
973
973
  }));
974
- if (!H.value) {
975
- let t = $.value?._id, n = t ? Rt(t) : void 0, r = n ? I.value.camview.layouts?.[n] : void 0, i = new Set(L.value?.result.map((e) => e._id) ?? []), a = !1;
974
+ if (!V.value) {
975
+ let t = $.value?._id, n = t ? Rt(t) : void 0, r = n ? N.value.camview.layouts?.[n] : void 0, i = new Set(I.value?.result.map((e) => e._id) ?? []), a = !1;
976
976
  for (let t of $.value?.cameras || []) {
977
977
  if (!e[t.index]) continue;
978
- let n = L.value?.result.find((e) => e._id === t.cameraId);
978
+ let n = I.value?.result.find((e) => e._id === t.cameraId);
979
979
  e[t.index].lastDroppedCamera = n;
980
980
  let o = r?.find((e) => e.index === t.index);
981
981
  o && (!o.cameraId || i.has(o.cameraId) ? (e[t.index].x = o.x, e[t.index].y = o.y, e[t.index].colSpan = o.w, e[t.index].rowSpan = o.h) : a = !0);
982
982
  }
983
- a && n && I.value.camview.layouts?.[n] && (I.value.camview.layouts[n] = I.value.camview.layouts[n].filter((e) => !e.cameraId || i.has(e.cameraId)));
983
+ a && n && N.value.camview.layouts?.[n] && (N.value.camview.layouts[n] = N.value.camview.layouts[n].filter((e) => !e.cameraId || i.has(e.cameraId)));
984
984
  }
985
985
  Y.value = e;
986
986
  }, {
987
987
  deep: !0,
988
988
  immediate: !0
989
989
  }), (t, n) => {
990
- let r = Fe, i = je, u = me, m = qe, g = We, y = Ve, b = F, C = de, w = De, T = ke, D = Re, ee = Me, ae = Pe, oe = N, le = ie, A = Ee, ue = Oe, j = re, M = te;
990
+ let r = Ie, i = Me, u = M, m = Je, g = Ge, y = He, b = F, C = de, w = Oe, T = Ae, D = ze, ee = Ne, ae = Fe, oe = ge, ce = ie, A = De, le = ke, ue = re, j = te;
991
991
  return a(), _("div", tn, [
992
992
  E(ae, {
993
993
  "left-offset": p(pt),
994
994
  animate: ""
995
995
  }, {
996
- left: h(() => [!p(H) && p($) ? (a(), d(r, {
996
+ left: h(() => [!p(V) && p($) ? (a(), d(r, {
997
997
  key: 0,
998
998
  type: "dropdown",
999
999
  label: p($).name,
1000
- "menu-open": p(Ye)?.isOpen,
1001
- disabled: p(X) || p(V),
1002
- onClick: n[0] ||= (e) => p(Ye)?.toggleMenu(e)
1000
+ "menu-open": p(Xe)?.isOpen,
1001
+ disabled: p(X) || p(B),
1002
+ onClick: n[0] ||= (e) => p(Xe)?.toggleMenu(e)
1003
1003
  }, null, 8, [
1004
1004
  "label",
1005
1005
  "menu-open",
1006
1006
  "disabled"
1007
- ])) : p(H) && p(B).name ? (a(), d(r, {
1007
+ ])) : p(V) && p(z).name ? (a(), d(r, {
1008
1008
  key: 1,
1009
- label: p(B).name,
1009
+ label: p(z).name,
1010
1010
  disabled: p(X)
1011
1011
  }, null, 8, ["label", "disabled"])) : f("", !0)]),
1012
1012
  right: h(() => [
1013
1013
  !p(Z) && p($) ? S((a(), d(r, {
1014
1014
  key: 0,
1015
- active: p(U),
1016
- onClick: n[1] ||= (e) => U.value = !p(U)
1015
+ active: p(H),
1016
+ onClick: n[1] ||= (e) => H.value = !p(H)
1017
1017
  }, {
1018
- icon: h(() => [p(U) ? (a(), d(u, {
1018
+ icon: h(() => [p(H) ? (a(), d(u, {
1019
1019
  key: 1,
1020
1020
  width: "100%",
1021
1021
  height: "100%"
@@ -1026,14 +1026,14 @@ var _t = u({
1026
1026
  }))]),
1027
1027
  _: 1
1028
1028
  }, 8, ["active"])), [[
1029
- M,
1030
- { value: p(U) ? t.$t("views.camview.rearrange_done") : t.$t("views.camview.rearrange") },
1029
+ j,
1030
+ { value: p(H) ? t.$t("views.camview.rearrange_done") : t.$t("views.camview.rearrange") },
1031
1031
  void 0,
1032
1032
  { bottom: !0 }
1033
1033
  ]]) : f("", !0),
1034
- !p(Z) && p($) && p(U) && !p(O) ? S((a(), d(r, {
1034
+ !p(Z) && p($) && p(H) && !p(O) ? S((a(), d(r, {
1035
1035
  key: 1,
1036
- onClick: n[2] ||= (e) => p(z)?.fitAspectRatios()
1036
+ onClick: n[2] ||= (e) => p(R)?.fitAspectRatios()
1037
1037
  }, {
1038
1038
  icon: h(() => [E(m, {
1039
1039
  width: "100%",
@@ -1041,14 +1041,14 @@ var _t = u({
1041
1041
  })]),
1042
1042
  _: 1
1043
1043
  })), [[
1044
- M,
1044
+ j,
1045
1045
  { value: t.$t("views.camview.rearrange_fit_aspect") },
1046
1046
  void 0,
1047
1047
  { bottom: !0 }
1048
1048
  ]]) : f("", !0),
1049
- !p(Z) && p($) && p(U) && !p(O) ? S((a(), d(r, {
1049
+ !p(Z) && p($) && p(H) && !p(O) ? S((a(), d(r, {
1050
1050
  key: 2,
1051
- onClick: n[3] ||= (e) => p(z)?.compactGrid()
1051
+ onClick: n[3] ||= (e) => p(R)?.compactGrid()
1052
1052
  }, {
1053
1053
  icon: h(() => [E(g, {
1054
1054
  width: "100%",
@@ -1056,7 +1056,7 @@ var _t = u({
1056
1056
  })]),
1057
1057
  _: 1
1058
1058
  })), [[
1059
- M,
1059
+ j,
1060
1060
  { value: t.$t("views.camview.rearrange_auto") },
1061
1061
  void 0,
1062
1062
  { bottom: !0 }
@@ -1064,8 +1064,8 @@ var _t = u({
1064
1064
  !p(Z) && p($) ? S((a(), d(r, {
1065
1065
  key: 3,
1066
1066
  active: p(gt) !== "aspect",
1067
- "menu-open": p(Qe)?.isOpen,
1068
- onClick: n[4] ||= (e) => p(Qe)?.toggleMenu(e)
1067
+ "menu-open": p($e)?.isOpen,
1068
+ onClick: n[4] ||= (e) => p($e)?.toggleMenu(e)
1069
1069
  }, {
1070
1070
  icon: h(() => [E(y, {
1071
1071
  width: "100%",
@@ -1073,17 +1073,17 @@ var _t = u({
1073
1073
  })]),
1074
1074
  _: 1
1075
1075
  }, 8, ["active", "menu-open"])), [[
1076
- M,
1076
+ j,
1077
1077
  { value: t.$t("views.camview.card_fit") },
1078
1078
  void 0,
1079
1079
  { bottom: !0 }
1080
1080
  ]]) : f("", !0),
1081
1081
  !p(Z) && p($) ? S((a(), d(r, {
1082
1082
  key: 4,
1083
- active: p(W),
1084
- onClick: n[5] ||= (e) => W.value = !p(W)
1083
+ active: p(U),
1084
+ onClick: n[5] ||= (e) => U.value = !p(U)
1085
1085
  }, {
1086
- icon: h(() => [p(W) ? (a(), d(C, {
1086
+ icon: h(() => [p(U) ? (a(), d(C, {
1087
1087
  key: 1,
1088
1088
  width: "100%",
1089
1089
  height: "100%"
@@ -1094,8 +1094,8 @@ var _t = u({
1094
1094
  }))]),
1095
1095
  _: 1
1096
1096
  }, 8, ["active"])), [[
1097
- M,
1098
- { value: p(W) ? t.$t("components.form.tooltip.hide_timeline") : t.$t("components.form.tooltip.show_timeline") },
1097
+ j,
1098
+ { value: p(U) ? t.$t("components.form.tooltip.hide_timeline") : t.$t("components.form.tooltip.show_timeline") },
1099
1099
  void 0,
1100
1100
  { bottom: !0 }
1101
1101
  ]]) : f("", !0),
@@ -1105,7 +1105,7 @@ var _t = u({
1105
1105
  })) : f("", !0),
1106
1106
  !p(Z) && p($) ? S((a(), d(r, {
1107
1107
  key: 6,
1108
- disabled: p(U),
1108
+ disabled: p(H),
1109
1109
  onClick: n[6] ||= (e) => Mt("removeView")
1110
1110
  }, {
1111
1111
  icon: h(() => [E(T, {
@@ -1114,15 +1114,15 @@ var _t = u({
1114
1114
  })]),
1115
1115
  _: 1
1116
1116
  }, 8, ["disabled"])), [[
1117
- M,
1117
+ j,
1118
1118
  { value: t.$t("components.form.tooltip.delete") },
1119
1119
  void 0,
1120
1120
  { bottom: !0 }
1121
1121
  ]]) : f("", !0),
1122
- !p(V) && !p(H) && p($) ? S((a(), d(r, {
1122
+ !p(B) && !p(V) && p($) ? S((a(), d(r, {
1123
1123
  key: 7,
1124
- disabled: p(U),
1125
- onClick: n[7] ||= (e) => V.value = !0
1124
+ disabled: p(H),
1125
+ onClick: n[7] ||= (e) => B.value = !0
1126
1126
  }, {
1127
1127
  icon: h(() => [E(D, {
1128
1128
  width: "100%",
@@ -1130,34 +1130,34 @@ var _t = u({
1130
1130
  })]),
1131
1131
  _: 1
1132
1132
  }, 8, ["disabled"])), [[
1133
- M,
1133
+ j,
1134
1134
  { value: t.$t("components.form.tooltip.edit") },
1135
1135
  void 0,
1136
1136
  { bottom: !0 }
1137
1137
  ]]) : f("", !0),
1138
- !p(V) && !p(H) ? S((a(), d(r, {
1138
+ !p(B) && !p(V) ? S((a(), d(r, {
1139
1139
  key: 8,
1140
- disabled: p(U),
1141
- onClick: p(Ze)?.toggleMenu
1140
+ disabled: p(H),
1141
+ onClick: p(Qe)?.toggleMenu
1142
1142
  }, {
1143
1143
  icon: h(() => [E(ee, {
1144
- class: c(["transform transition-transform duration-300", { "rotate-45": p(Ze)?.isOpen }]),
1144
+ class: c(["transform transition-transform duration-300", { "rotate-45": p(Qe)?.isOpen }]),
1145
1145
  width: "100%",
1146
1146
  height: "100%"
1147
1147
  }, null, 8, ["class"])]),
1148
1148
  _: 1
1149
1149
  }, 8, ["disabled", "onClick"])), [[
1150
- M,
1150
+ j,
1151
1151
  { value: t.$t("components.form.tooltip.new") },
1152
1152
  void 0,
1153
1153
  { bottom: !0 }
1154
1154
  ]]) : f("", !0),
1155
- p(V) || p(H) ? (a(), d(r, {
1155
+ p(B) || p(V) ? (a(), d(r, {
1156
1156
  key: 9,
1157
1157
  label: t.$t("components.form.button.cancel"),
1158
- onClick: n[8] ||= (e) => p(V) ? V.value = !1 : H.value = !1
1158
+ onClick: n[8] ||= (e) => p(B) ? B.value = !1 : V.value = !1
1159
1159
  }, null, 8, ["label"])) : f("", !0),
1160
- p(V) || p(H) ? (a(), d(r, {
1160
+ p(B) || p(V) ? (a(), d(r, {
1161
1161
  key: 10,
1162
1162
  label: t.$t("components.form.button.save"),
1163
1163
  disabled: p(Y).every((e) => e.lastDroppedCamera === void 0),
@@ -1175,26 +1175,26 @@ var _t = u({
1175
1175
  style: v({ paddingTop: `${p(55)}px` })
1176
1176
  }, [x("div", {
1177
1177
  class: c(["flex relative z-1 camview-content-transition", {
1178
- "h-full items-center justify-center": p(k) || !p(R)?.result.length,
1179
- "w-full items-start justify-start": !p(k) && p(R)?.result.length
1178
+ "h-full items-center justify-center": p(k) || !p(L)?.result.length,
1179
+ "w-full items-start justify-start": !p(k) && p(L)?.result.length
1180
1180
  }]),
1181
1181
  style: v(p(bt))
1182
1182
  }, [p(X) ? (a(), _("div", nn, [(a(), d(oe, {
1183
1183
  key: 0,
1184
1184
  class: "w-[30px] h-[30px] m-0",
1185
1185
  "stroke-width": "5"
1186
- }))])) : !p($) && !p(H) ? (a(), _("div", rn, [x("div", an, [E(le, { class: "w-12 h-12 text-muted" }), x("span", on, o(t.$t("views.camview.no_views_configured")), 1)])])) : p($) || p(H) ? (a(), _("div", {
1186
+ }))])) : !p($) && !p(V) ? (a(), _("div", rn, [x("div", an, [E(ce, { class: "w-12 h-12 text-muted" }), x("span", on, o(t.$t("views.camview.no_views_configured")), 1)])])) : p($) || p(V) ? (a(), _("div", {
1187
1187
  key: 2,
1188
1188
  class: c(["w-full h-full", { "p-2 pb-0": !p(O) }])
1189
- }, [(a(), d(Ae, {
1189
+ }, [(a(), d(je, {
1190
1190
  ref_key: "viewDndRef",
1191
- ref: z,
1192
- key: p(I).camview.viewid + (p(H) ? "-new" : p(V) ? "-edit" : "-view"),
1193
- cameras: p(L)?.result || [],
1194
- "edit-mode": p(H) || p(V),
1195
- "rearrange-mode": p(U),
1196
- "view-size": p(H) ? p(B).viewSize : p(kt),
1197
- title: p(B).name,
1191
+ ref: R,
1192
+ key: p(N).camview.viewid + (p(V) ? "-new" : p(B) ? "-edit" : "-view"),
1193
+ cameras: p(I)?.result || [],
1194
+ "edit-mode": p(V) || p(B),
1195
+ "rearrange-mode": p(H),
1196
+ "view-size": p(V) ? p(z).viewSize : p(kt),
1197
+ title: p(z).name,
1198
1198
  cards: p(Y),
1199
1199
  "camera-card-props": p(yt),
1200
1200
  "camera-card-models": p(dt),
@@ -1214,18 +1214,18 @@ var _t = u({
1214
1214
  "camera-card-models"
1215
1215
  ]))], 2)) : f("", !0)], 6), E(e, {
1216
1216
  name: p(k) ? "slide-left" : "slide-up",
1217
- onBeforeEnter: n[10] ||= (e) => G.value = !0,
1218
- onAfterEnter: n[11] ||= (e) => rt.value = !1,
1219
- onBeforeLeave: n[12] ||= (e) => G.value = !1
1217
+ onBeforeEnter: n[10] ||= (e) => W.value = !0,
1218
+ onAfterEnter: n[11] ||= (e) => it.value = !1,
1219
+ onBeforeLeave: n[12] ||= (e) => W.value = !1
1220
1220
  }, {
1221
- default: h(() => [p(W) ? (a(), d(p(ce), {
1221
+ default: h(() => [p(U) ? (a(), d(p(ye), {
1222
1222
  key: 0,
1223
1223
  "camera-ids": p(Tt),
1224
1224
  "event-camera-ids": p(wt),
1225
1225
  "camera-names": p(Et),
1226
1226
  "initial-timestamp": p(Ot),
1227
1227
  onEventSelect: Vt,
1228
- loading: p(rt),
1228
+ loading: p(it),
1229
1229
  type: p(k) ? "vertical" : "horizontal",
1230
1230
  "dark-mode": "",
1231
1231
  "md-breakpoint": p(se),
@@ -1258,7 +1258,7 @@ var _t = u({
1258
1258
  ])) : f("", !0)]),
1259
1259
  _: 1
1260
1260
  }, 8, ["name"])], 6),
1261
- !p(Z) && p($) ? (a(), d(ue, {
1261
+ !p(Z) && p($) ? (a(), d(le, {
1262
1262
  key: 0,
1263
1263
  model: p(Ct),
1264
1264
  direction: "up",
@@ -1270,8 +1270,8 @@ var _t = u({
1270
1270
  class: "absolute right-2 z-11 dark-mode",
1271
1271
  pt: { root: { style: "pointer-events: none" } },
1272
1272
  style: v({
1273
- bottom: p(k) ? "0" : `calc(${p(G) ? 192 : 0}px + ${p(ne) > 0 ? "0.5rem" : "0px"})`,
1274
- right: p(k) ? `calc(${p(G) ? 400 : 0}px + 0.5rem)` : "0.5rem",
1273
+ bottom: p(k) ? "0" : `calc(${p(W) ? 192 : 0}px + ${p(ne) > 0 ? "0.5rem" : "0px"})`,
1274
+ right: p(k) ? `calc(${p(W) ? 400 : 0}px + 0.5rem)` : "0.5rem",
1275
1275
  transition: "bottom 0.25s ease-out, right 0.25s ease-out"
1276
1276
  })
1277
1277
  }, {
@@ -1302,24 +1302,24 @@ var _t = u({
1302
1302
  }), {
1303
1303
  icon: h(() => [(a(), d(l(e.icon)))]),
1304
1304
  _: 2
1305
- }, 1040, ["loading", "onClick"])), [[M, { value: e.label }]])]),
1305
+ }, 1040, ["loading", "onClick"])), [[j, { value: e.label }]])]),
1306
1306
  _: 1
1307
1307
  }, 8, ["model", "style"])) : f("", !0),
1308
- E(j, {
1308
+ E(ue, {
1309
1309
  ref_key: "menuRef",
1310
- ref: Ye,
1310
+ ref: Xe,
1311
1311
  items: p(At),
1312
1312
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1313
1313
  }, null, 8, ["items"]),
1314
- E(j, {
1314
+ E(ue, {
1315
1315
  ref_key: "cardFitMenuRef",
1316
- ref: Qe,
1316
+ ref: $e,
1317
1317
  items: p(vt),
1318
1318
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1319
1319
  }, null, 8, ["items"]),
1320
- E(j, {
1320
+ E(ue, {
1321
1321
  ref_key: "newViewMenuRef",
1322
- ref: Ze,
1322
+ ref: Qe,
1323
1323
  items: p(jt),
1324
1324
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1325
1325
  }, null, 8, ["items"])