@camera.ui/server 2.2.1 → 2.2.2

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 (410) hide show
  1. package/dist/interface/assets/{404-Ci4V-7l9.js → 404-bSMSPWcp.js} +1 -1
  2. package/dist/interface/assets/{About-BSGYUvI7.js → About-DqMxC4AO.js} +1 -1
  3. package/dist/interface/assets/Assistant-CIHF-bHs.js +1 -0
  4. package/dist/interface/assets/Automation-CUDypjZw.js +3 -0
  5. package/dist/interface/assets/AutomationImport-Cr14tF-Q.js +2 -0
  6. package/dist/interface/assets/AutomationStore-BnZgfI9i.js +2 -0
  7. package/dist/interface/assets/AutomationStoreDetail-btcIglkw.js +2 -0
  8. package/dist/interface/assets/Automations-CKpwXTyc.js +2 -0
  9. package/dist/interface/assets/Camera-BEP_HAQm.js +2 -0
  10. package/dist/interface/assets/{CameraConsole-DbmJ9PNU.js → CameraConsole-BK8TqHgA.js} +1 -1
  11. package/dist/interface/assets/{Cameras-DnLbeJFs.js → Cameras-DJreIgtW.js} +2 -2
  12. package/dist/interface/assets/Camview-D4VNMv_l.js +1 -0
  13. package/dist/interface/assets/{CertificateUpload-_VQx5fjA.js → CertificateUpload-PfgVZa4M.js} +1 -1
  14. package/dist/interface/assets/{Config-BuuQmMOC.js → Config-DapgreIX.js} +1 -1
  15. package/dist/interface/assets/{ConfigActionAssistant-DforDPLT.js → ConfigActionAssistant-v0w4E-mE.js} +1 -1
  16. package/dist/interface/assets/{ConfigActionCameraControl-LwL8BSZX.js → ConfigActionCameraControl-fdrsnRyE.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionDelay-C6u-CHFE.js → ConfigActionDelay-C_dq3ozL.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionHttp-CxbJVkf2.js → ConfigActionHttp-1hDI-38w.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionImageInput-BpDXjbnf.js → ConfigActionImageInput-DCF8qeg9.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionMqtt-BkbAAepo.js → ConfigActionMqtt-XpVD7lFg.js} +1 -1
  21. package/dist/interface/assets/{ConfigActionNotification-B2Dtkf2b.js → ConfigActionNotification-CB1ymMRz.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionNotificationControl-DMW2_Vez.js → ConfigActionNotificationControl-BfDtLS5h.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionOutput-WVe74xXz.js → ConfigActionOutput-CMfXI1b3.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionPlugin-C3iZfPRv.js → ConfigActionPlugin-CZo6SudQ.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionSensor-DSW92VVP.js → ConfigActionSensor-CetFuASa.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionSnapshot-Cl3NLmyn.js → ConfigActionSnapshot-BpPhHpIk.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionVariable-Due14Kwt.js → ConfigActionVariable-SJomTISn.js} +1 -1
  28. package/dist/interface/assets/{ConfigConditionIfElse-mIXw954j.js → ConfigConditionIfElse-ClTxvZJz.js} +1 -1
  29. package/dist/interface/assets/{ConfigConditionSensorState-C_FpJLnM.js → ConfigConditionSensorState-FbLmmHyP.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionSwitch-CYRUg-Uo.js → ConfigConditionSwitch--qAHkOdE.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionTime-WkevpYaO.js → ConfigConditionTime-BqjDUPVR.js} +1 -1
  32. package/dist/interface/assets/{ConfigSensorValueInput-BDz5olLY.js → ConfigSensorValueInput-B1dLcmSO.js} +1 -1
  33. package/dist/interface/assets/{ConfigTriggerDetection-Cb_BObEL.js → ConfigTriggerDetection-CMZyEWui.js} +1 -1
  34. package/dist/interface/assets/{ConfigTriggerGeofence-B7Iugx3i.js → ConfigTriggerGeofence-B9JPVvhP.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerManual-D7w6C58j.js → ConfigTriggerManual-CSdF69jM.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerMqtt-D_ozlopI.js → ConfigTriggerMqtt-BzN7_xVm.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSchedule-1UcaRD5S.js → ConfigTriggerSchedule-BK_Ogvxn.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSensor-D9_lg6yH.js → ConfigTriggerSensor-BaQklhHP.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerSystem-COPR6t7r.js → ConfigTriggerSystem-DIX95l0X.js} +1 -1
  40. package/dist/interface/assets/{ConfigTriggerWebhook-C0v6uR67.js → ConfigTriggerWebhook-_EOJAgNk.js} +1 -1
  41. package/dist/interface/assets/Console-Y1IutnkC.js +1 -0
  42. package/dist/interface/assets/CuiAssistantConversation-C4RYcMAM.js +5 -0
  43. package/dist/interface/assets/{CuiAssistantConversation-BkWDr6uX.css → CuiAssistantConversation-CWCLLi3b.css} +1 -1
  44. package/dist/interface/assets/{CuiAutomationRunsDialog-CGBqZXR4.js → CuiAutomationRunsDialog-DpskKeEe.js} +1 -1
  45. package/dist/interface/assets/{CuiBottomSheet-DomRjKV8.js → CuiBottomSheet-Bg_AIuGY.js} +1 -1
  46. package/dist/interface/assets/CuiBottomSheet-S8bM23jj.js +1 -0
  47. package/dist/interface/assets/{CuiCameraPipCard-BXCRph8M.js → CuiCameraPipCard-HTjvF3yG.js} +1 -1
  48. package/dist/interface/assets/CuiCameraRecordings-Cx6FYz3Y.js +1 -0
  49. package/dist/interface/assets/CuiCameraShares-J728G9wF.js +1 -0
  50. package/dist/interface/assets/CuiCameraTable-CKur0qLE.js +1 -0
  51. package/dist/interface/assets/{CuiCameraTable-B1F2UjZk.js → CuiCameraTable-CyAYYPvd.js} +2 -2
  52. package/dist/interface/assets/{CuiChartTable-CcovDii1.js → CuiChartTable-BklHSjRr.js} +1 -1
  53. package/dist/interface/assets/{CuiConsole-BzJJnQTd.js → CuiConsole-4rDfDj0a.js} +1 -1
  54. package/dist/interface/assets/{CuiDataTable-CNFiiz_X.js → CuiDataTable-BLyeEEAp.js} +1 -1
  55. package/dist/interface/assets/CuiLightControl-C1YSJSWd.js +1 -0
  56. package/dist/interface/assets/{CuiList-Dfklll0h.js → CuiList-BafzuN0H.js} +1 -1
  57. package/dist/interface/assets/CuiPluginCard-enc00hbc.js +2 -0
  58. package/dist/interface/assets/CuiPluginCategoryChip-B4w2DH_j.js +1 -0
  59. package/dist/interface/assets/CuiPluginOAuthButton-C_jxPrPQ.js +2 -0
  60. package/dist/interface/assets/{CuiPluginTrustBadge-CILKiExH.js → CuiPluginTrustBadge-pLnF2Ggn.js} +1 -1
  61. package/dist/interface/assets/{CuiQRCode-DHUwFLQz.js → CuiQRCode-8Q6cFdfs.js} +1 -1
  62. package/dist/interface/assets/CuiSchema-CRHUMY0B.js +1 -0
  63. package/dist/interface/assets/{CuiTopNavbarItem-DBsbHvkJ.js → CuiTopNavbarItem-BZXzuV42.js} +1 -1
  64. package/dist/interface/assets/Faces-fMMd6-PY.js +1 -0
  65. package/dist/interface/assets/FirstSteps-BNcAFp2c.js +1 -0
  66. package/dist/interface/assets/Floorplan-BQbOWCCf.js +1 -0
  67. package/dist/interface/assets/{Instances-cgw_Xzu0.js → Instances-DUWWy-El.js} +1 -1
  68. package/dist/interface/assets/{Logs-BrTGt33Q.js → Logs-7CxXc2Re.js} +2 -2
  69. package/dist/interface/assets/{Menu-6FMKvbpH.js → Menu-B3VA0LMx.js} +1 -1
  70. package/dist/interface/assets/Metrics-C0q2BdKH.js +9 -0
  71. package/dist/interface/assets/OAuthDeviceFlow-ZiCl4400.js +1 -0
  72. package/dist/interface/assets/Plugin-C0CPlt4f.js +1 -0
  73. package/dist/interface/assets/{PluginConsole-C6xky2l3.js → PluginConsole-BOaU7Ey0.js} +1 -1
  74. package/dist/interface/assets/PluginDetail-DDh6PfMd.js +2 -0
  75. package/dist/interface/assets/{PluginSchema-D5dmitq0.js → PluginSchema-BWlRMPo6.js} +1 -1
  76. package/dist/interface/assets/PluginSearch-BR_ei8Pa.js +1 -0
  77. package/dist/interface/assets/PluginSearch-C2AXz2KG.js +2 -0
  78. package/dist/interface/assets/{PluginUpdateProgress-Cj4Ilm8M.js → PluginUpdateProgress-DFg14vV8.js} +1 -1
  79. package/dist/interface/assets/Plugins-CN1YIfNk.js +1 -0
  80. package/dist/interface/assets/RecentEventsFilter-B6Ph-pxb.js +1 -0
  81. package/dist/interface/assets/Recordings-jhxwdrQY.js +1 -0
  82. package/dist/interface/assets/{SensorEdit-BBTdSbok.js → SensorEdit-DEenjJ8S.js} +1 -1
  83. package/dist/interface/assets/{SensorHistory-BmGYTFWx.js → SensorHistory-CU1Uwf5f.js} +1 -1
  84. package/dist/interface/assets/Sensors-LnVLPDWf.js +2 -0
  85. package/dist/interface/assets/{Settings-B-lq2Bls.js → Settings-uk3RVXCS.js} +1 -1
  86. package/dist/interface/assets/SettingsAccount-CJ_fPrT-.js +1 -0
  87. package/dist/interface/assets/SettingsAccount-CYn81m0Z.js +1 -0
  88. package/dist/interface/assets/{SettingsAppearance-DMhqHxXU.js → SettingsAppearance-CRYcal9v.js} +1 -1
  89. package/dist/interface/assets/SettingsAppearance-DFe8JsT5.js +1 -0
  90. package/dist/interface/assets/SettingsAssistant-CDyI6fee.css +1 -0
  91. package/dist/interface/assets/SettingsAssistant-Dm4oINqB.js +1 -0
  92. package/dist/interface/assets/{SettingsBackup-C9clJ_2F.js → SettingsBackup-CSvGqsru.js} +1 -1
  93. package/dist/interface/assets/{SettingsList-Ba5TjVzD.js → SettingsList-BQR6jnP-.js} +1 -1
  94. package/dist/interface/assets/SettingsMqtt-ByQYIRkm.js +1 -0
  95. package/dist/interface/assets/SettingsNotifications-8sSoP-8S.js +1 -0
  96. package/dist/interface/assets/{SettingsPermissions-B6vNyFvJ.js → SettingsPermissions-D7kYdjfw.js} +1 -1
  97. package/dist/interface/assets/SettingsRecordings-DjLYqbKo.js +1 -0
  98. package/dist/interface/assets/SettingsRemote-7iDccnV9.js +2 -0
  99. package/dist/interface/assets/SettingsSystem-BxQNJc8n.js +2 -0
  100. package/dist/interface/assets/SettingsUsers-yYobKcPv.js +1 -0
  101. package/dist/interface/assets/{Terminal-BoMq8civ.js → Terminal-Bsnvs8gs.js} +2 -2
  102. package/dist/interface/assets/Training-BUhrkDzA.css +1 -0
  103. package/dist/interface/assets/Training-SOWa6Ay1.js +1 -0
  104. package/dist/interface/assets/{Updates-Cceza_vs.js → Updates-Dsn_fJ-N.js} +1 -1
  105. package/dist/interface/assets/{VariableInput-Ds5NaShw.js → VariableInput-DCWiIgaZ.js} +1 -1
  106. package/dist/interface/assets/{VariableSuggestions-B0Y5QsCw.js → VariableSuggestions-BhIlXJ6r.js} +1 -1
  107. package/dist/interface/assets/{VersionsHandler-D3ugTFh9.js → VersionsHandler-DM_Jf4EA.js} +1 -1
  108. package/dist/interface/assets/VirtualSensorCreate-Q4kd0dfE.js +1 -0
  109. package/dist/interface/assets/Workers-D7mXpfvC.js +2 -0
  110. package/dist/interface/assets/api-BKiE8A_V.css +2 -0
  111. package/dist/interface/assets/api-Cl7JjXOQ.js +4 -0
  112. package/dist/interface/assets/{api-C4b9FQa5.js → api-LjAY3aa3.js} +1 -1
  113. package/dist/interface/assets/{assistant-DfBoMwZZ.js → assistant-BFc44oq-.js} +1 -1
  114. package/dist/interface/assets/{auth-jXwc9evv.js → auth-CUPvHARA.js} +1 -1
  115. package/dist/interface/assets/automations-Dw4L5sT0.js +1 -0
  116. package/dist/interface/assets/cameraSources-CzENFiZx.js +1 -0
  117. package/dist/interface/assets/cloudHandoff-CGMLCwMb.js +1 -0
  118. package/dist/interface/assets/{config-4L2n-1_z.js → config-EBcNBZkb.js} +1 -1
  119. package/dist/interface/assets/dots-vertical-C4DlXZyp.js +1 -0
  120. package/dist/interface/assets/eventIcons-BPQ-zSnz.js +1 -0
  121. package/dist/interface/assets/{flowSchema-ZMBzlKJI.js → flowSchema-CdzBw69a.js} +1 -1
  122. package/dist/interface/assets/{intercomService-DQ4LZJfW.js → intercomService-DIfdcsXc.js} +1 -1
  123. package/dist/interface/assets/main-W8WcKa2g.js +3 -0
  124. package/dist/interface/assets/mqtt-D_wH18eJ.js +1 -0
  125. package/dist/interface/assets/{notifications-mJrKtTFp.js → notifications-wLsrlI9N.js} +1 -1
  126. package/dist/interface/assets/plugins-DwmkpOPJ.js +1 -0
  127. package/dist/interface/assets/rooms-D_7As09p.js +1 -0
  128. package/dist/interface/assets/sensorIcons-BY853M0u.js +1 -0
  129. package/dist/interface/assets/{sensorSlots-CUWphRrL.js → sensorSlots-DnRJdaTG.js} +1 -1
  130. package/dist/interface/assets/{sensors-DG-GPuvr.js → sensors-B9etOqBI.js} +1 -1
  131. package/dist/interface/assets/{server-CFtdMCM4.js → server-BTKgKMye.js} +1 -1
  132. package/dist/interface/assets/{theme-C8wlVvxI.js → theme-CbtGvohq.js} +1 -1
  133. package/dist/interface/assets/types-BEy4uGJ0.js +1 -0
  134. package/dist/interface/assets/{types-BxQYBZ2c.js → types-CEhVWRYD.js} +1 -1
  135. package/dist/interface/assets/types-COlvVtDn.js +1 -0
  136. package/dist/interface/assets/ungrouped-BJyBDv5e.js +1 -0
  137. package/dist/interface/assets/{updates-DqHYjhVs.js → updates-BQ6Ugcup.js} +1 -1
  138. package/dist/interface/assets/{useAppVersion-iJHv6EYQ.js → useAppVersion-BO-3jbup.js} +1 -1
  139. package/dist/interface/assets/{useAssistantActions-BeXqj2-6.js → useAssistantActions-CRVHZw4o.js} +1 -1
  140. package/dist/interface/assets/{useBackupRestore-5E-Y8DMu.js → useBackupRestore-D305pYHT.js} +1 -1
  141. package/dist/interface/assets/{useCameraOptions-DVcUIXzh.js → useCameraOptions-C7tgceJ1.js} +1 -1
  142. package/dist/interface/assets/{useKeyboardInset-DpxykA20.js → useKeyboardInset-yu3BVnj7.js} +1 -1
  143. package/dist/interface/assets/{useLogsSocket-D2gJ0e00.js → useLogsSocket-B4wTnSno.js} +1 -1
  144. package/dist/interface/assets/{useNavLayout-D-KmCM3U.js → useNavLayout-Z61-OsIG.js} +1 -1
  145. package/dist/interface/assets/{usePermissions-CsWQ7pWp.js → usePermissions-Bjx4t0x3.js} +1 -1
  146. package/dist/interface/assets/{usePluginUpdates-D0bz8TeJ.js → usePluginUpdates-Dv3_XJTK.js} +1 -1
  147. package/dist/interface/assets/{usePushRegistration-B9vouC4k.js → usePushRegistration-CHNMZ94f.js} +1 -1
  148. package/dist/interface/assets/{useServerRestart-CaYRL38s.js → useServerRestart-C-AsOdJP.js} +1 -1
  149. package/dist/interface/assets/{useStreamStatus-BSl9TJlX.js → useStreamStatus-BJoJF68x.js} +1 -1
  150. package/dist/interface/assets/{useTabSwipe-B6GIPOrZ.js → useTabSwipe-b_K3BIkW.js} +1 -1
  151. package/dist/interface/assets/{useUpdateChannel-BuIKUKQ9.js → useUpdateChannel-Cc4IrrDy.js} +1 -1
  152. package/dist/interface/assets/{useUpdatesSocket-B8F-9tUI.js → useUpdatesSocket-Cz9lN4Bc.js} +1 -1
  153. package/dist/interface/assets/{useUserOptions-9Lcq7htw.js → useUserOptions-DrNB17kY.js} +1 -1
  154. package/dist/interface/assets/{vendor-cameraui-zaB6gIk1.js → vendor-cameraui-CqKq4Yeo.js} +1 -1
  155. package/dist/interface/assets/{vendor-core-CfoDuMvj.js → vendor-core-BTkC8NzR.js} +1 -1
  156. package/dist/interface/assets/{vendor-primevue-5HrOunkM.js → vendor-primevue-DQz5Qnqu.js} +1 -1
  157. package/dist/interface/assets/vendor-zod-BigRv4ty.js +109 -0
  158. package/dist/interface/ha/{404-BA6DAi0I.js → 404-Bg2Vlt5S.js} +1 -1
  159. package/dist/interface/ha/{About-D3tEPbYC.js → About-C6u2wgUi.js} +6 -6
  160. package/dist/interface/ha/{Assistant-BSlIm7T1.js → Assistant-BCyiVnwD.js} +1010 -1009
  161. package/dist/interface/ha/{Automation-B7ZCtbpe.js → Automation-DU_qv5xD.js} +176 -176
  162. package/dist/interface/ha/{AutomationImport-CVEGBlET.js → AutomationImport-BpDyhabF.js} +7 -7
  163. package/dist/interface/ha/{AutomationStore-hW-ReFbV.js → AutomationStore-DPQsunpH.js} +52 -51
  164. package/dist/interface/ha/{AutomationStoreDetail-R-1XPudW.js → AutomationStoreDetail-CASMQ-mD.js} +23 -23
  165. package/dist/interface/ha/{Automations-9CLEXB1U.js → Automations-DSHVzwX4.js} +90 -90
  166. package/dist/interface/ha/{Camera-CQK1LgJe.js → Camera-ESmteicm.js} +42 -42
  167. package/dist/interface/ha/{CameraConsole-C6CZ3tzc.js → CameraConsole-BE_jl4Co.js} +5 -5
  168. package/dist/interface/ha/{Cameras-Bw_Co8e9.js → Cameras-otaj2xZO.js} +279 -279
  169. package/dist/interface/ha/{Camview-fb7D6KvD.js → Camview-BU1027if.js} +464 -463
  170. package/dist/interface/ha/{Config-Cf0XlhJ-.js → Config-BlEvHYVP.js} +11 -11
  171. package/dist/interface/ha/{ConfigActionAssistant-BtnJwaka.js → ConfigActionAssistant-uDf5fgoJ.js} +4 -4
  172. package/dist/interface/ha/{ConfigActionCameraControl-B1NtlCI4.js → ConfigActionCameraControl-BAQsXVLz.js} +5 -5
  173. package/dist/interface/ha/{ConfigActionHttp-BpI7XQC3.js → ConfigActionHttp-Dy2MZHSm.js} +2 -2
  174. package/dist/interface/ha/{ConfigActionImageInput-tLzrOm0l.js → ConfigActionImageInput-B5kyV3Un.js} +1 -1
  175. package/dist/interface/ha/{ConfigActionMqtt-DIuCKfQL.js → ConfigActionMqtt-DHCgh1xx.js} +4 -4
  176. package/dist/interface/ha/{ConfigActionNotification-CotMZbgF.js → ConfigActionNotification-mbA5PfcJ.js} +4 -4
  177. package/dist/interface/ha/{ConfigActionNotificationControl-ClnOPBa2.js → ConfigActionNotificationControl-TLaL7tYm.js} +2 -2
  178. package/dist/interface/ha/{ConfigActionOutput-DFRh3xK2.js → ConfigActionOutput-CJ40Fniw.js} +1 -1
  179. package/dist/interface/ha/{ConfigActionPlugin-BSUdCGwz.js → ConfigActionPlugin-BwTd-mdQ.js} +5 -5
  180. package/dist/interface/ha/{ConfigActionSensor-B-PHlt11.js → ConfigActionSensor-BI438ihg.js} +6 -6
  181. package/dist/interface/ha/{ConfigActionSnapshot-DomyiKiQ.js → ConfigActionSnapshot-DJ4zI2a0.js} +2 -2
  182. package/dist/interface/ha/{ConfigActionVariable-D4QZ0GSg.js → ConfigActionVariable-Bhy5jf_w.js} +1 -1
  183. package/dist/interface/ha/{ConfigConditionIfElse-Din_LVbb.js → ConfigConditionIfElse-I7Qq8nfN.js} +3 -3
  184. package/dist/interface/ha/{ConfigConditionSensorState-cnMbVYSj.js → ConfigConditionSensorState-CTLP3ppx.js} +4 -4
  185. package/dist/interface/ha/{ConfigConditionSwitch-nLCPZ02V.js → ConfigConditionSwitch-UUupXf1b.js} +10 -10
  186. package/dist/interface/ha/{ConfigConditionTime-CcZFjBil.js → ConfigConditionTime-CRn4k6uE.js} +2 -2
  187. package/dist/interface/ha/{ConfigSensorValueInput-CrZoNX72.js → ConfigSensorValueInput-CoHheDT0.js} +5 -4
  188. package/dist/interface/ha/{ConfigTriggerDetection-MsrbiErr.js → ConfigTriggerDetection-Cg_jKNed.js} +4 -4
  189. package/dist/interface/ha/{ConfigTriggerGeofence-BxQ0n4-f.js → ConfigTriggerGeofence-WlJbu3sC.js} +6 -6
  190. package/dist/interface/ha/{ConfigTriggerMqtt-ti8xd7vF.js → ConfigTriggerMqtt-BeRJoceK.js} +1 -1
  191. package/dist/interface/ha/{ConfigTriggerSensor-CNlsV9yo.js → ConfigTriggerSensor-k58gVKdG.js} +2 -2
  192. package/dist/interface/ha/{ConfigTriggerSystem-CsULDPX-.js → ConfigTriggerSystem-Ckm5yoUm.js} +2 -2
  193. package/dist/interface/ha/{ConfigTriggerWebhook-BnUer9x_.js → ConfigTriggerWebhook-D425z-p1.js} +6 -6
  194. package/dist/interface/ha/{Console-B1Y6mBPP.js → Console-C1Ub4Rji.js} +100 -100
  195. package/dist/interface/ha/{CuiAutomationRunsDialog-BHJIQ0Tj.js → CuiAutomationRunsDialog-opy5qXwE.js} +2 -2
  196. package/dist/interface/ha/{CuiBottomSheet-DyCegs0G.js → CuiBottomSheet-DbCwVXl1.js} +1 -1
  197. package/dist/interface/ha/{CuiCameraRecordings-Cfzu3-OA.js → CuiCameraRecordings-CifJLj7G.js} +20 -19
  198. package/dist/interface/ha/{CuiCameraShares-CE2Z9Osp.js → CuiCameraShares-Xty8LRcn.js} +7 -7
  199. package/dist/interface/ha/{CuiCameraTable-DCm-DNjq.js → CuiCameraTable-CqfxX0Yn.js} +9 -9
  200. package/dist/interface/ha/{CuiChartTable-BYkhLvXA.js → CuiChartTable-ABHnLdR0.js} +36 -36
  201. package/dist/interface/ha/{CuiConsole-DTDUpQ_E.js → CuiConsole-3JwbeUYD.js} +5 -5
  202. package/dist/interface/ha/{CuiDataTable-Cxk-gD0O.js → CuiDataTable-BwE7D2h5.js} +7 -6
  203. package/dist/interface/ha/{CuiPluginCard-CaJWPBXm.js → CuiPluginCard-bzxiy1yb.js} +53 -53
  204. package/dist/interface/ha/{CuiPluginOAuthButton--RbsaIiq.js → CuiPluginOAuthButton-DSxrzDmg.js} +6 -6
  205. package/dist/interface/ha/{CuiPluginTrustBadge-G79t87hq.js → CuiPluginTrustBadge-g0XkvDt8.js} +3 -3
  206. package/dist/interface/ha/{CuiQRCode-C0o0cS3C.js → CuiQRCode-uyRFbzd6.js} +6 -6
  207. package/dist/interface/ha/{CuiSchema-BmfjaboJ.js → CuiSchema-DZIrlY8R.js} +148 -148
  208. package/dist/interface/ha/{CuiTopNavbarItem-KlOpTPMA.js → CuiTopNavbarItem-C3a5NA7u.js} +1 -1
  209. package/dist/interface/ha/{Faces-CG1S8jsV.js → Faces-D2eca8MN.js} +109 -108
  210. package/dist/interface/ha/{FirstSteps-B4cODn_E.js → FirstSteps-CdTE1cvw.js} +64 -64
  211. package/dist/interface/ha/{Floorplan-CM5cL4_h.js → Floorplan-BrEC2Au5.js} +379 -378
  212. package/dist/interface/ha/{Instances-B1KAGADd.js → Instances-ClOsPOi8.js} +20 -20
  213. package/dist/interface/ha/{Logs-CNVJvujx.js → Logs-DnY1gTnb.js} +12 -12
  214. package/dist/interface/ha/{Menu-hlaVYE5G.js → Menu-cLDE76XZ.js} +16 -16
  215. package/dist/interface/ha/{Metrics-CUllrnJc.js → Metrics-pMQX_0m1.js} +97 -96
  216. package/dist/interface/ha/{OAuthDeviceFlow-kYPoT4p2.js → OAuthDeviceFlow-D1PGQ8r9.js} +9 -9
  217. package/dist/interface/ha/{Plugin-QvBE-VHD.js → Plugin-DiC23P97.js} +83 -82
  218. package/dist/interface/ha/{PluginConsole-Cpd8sx5a.js → PluginConsole-B-lX5KJu.js} +6 -6
  219. package/dist/interface/ha/{PluginDetail-CqSaIeH-.js → PluginDetail-B_tVJf6y.js} +10 -10
  220. package/dist/interface/ha/{PluginSearch-C-3nAbyu.js → PluginSearch-n8nfjx9q.js} +35 -34
  221. package/dist/interface/ha/{PluginUpdateProgress-Izcgxa6-.js → PluginUpdateProgress-BjsYyrRk.js} +3 -3
  222. package/dist/interface/ha/{Plugins-BkvUlAHi.js → Plugins-CFhOUaqq.js} +178 -191
  223. package/dist/interface/ha/RecentEventsFilter-C1deXNIS.js +79 -0
  224. package/dist/interface/ha/{Recordings-BSR6AGq2.js → Recordings-B07eUJwH.js} +332 -361
  225. package/dist/interface/ha/{SensorEdit-KLS5N1YP.js → SensorEdit-DFPiBXQD.js} +362 -360
  226. package/dist/interface/ha/{SensorHistory-nHGwqzDW.js → SensorHistory-B2FOK4Qa.js} +2 -2
  227. package/dist/interface/ha/{Sensors-VAy09hDh.js → Sensors-DtzmTc-L.js} +525 -523
  228. package/dist/interface/ha/{Settings-DINmP-PB.js → Settings-ClqSoFjT.js} +25 -25
  229. package/dist/interface/ha/{SettingsAccount-B-3XO53P.js → SettingsAccount-Bh8FfH7J.js} +263 -262
  230. package/dist/interface/ha/{SettingsAppearance-B7ONsdV3.js → SettingsAppearance--FJgY8cj.js} +20 -20
  231. package/dist/interface/ha/{SettingsAssistant-VQkALMWq.js → SettingsAssistant-ClDfxd_d.js} +664 -613
  232. package/dist/interface/ha/{SettingsBackup-CRzyW7Ce.js → SettingsBackup-BYM55pQ7.js} +39 -39
  233. package/dist/interface/ha/{SettingsList-GWb7HKeq.js → SettingsList-CMSEKVCD.js} +2 -2
  234. package/dist/interface/ha/{SettingsMqtt-Db8CUtzi.js → SettingsMqtt-CFpgJ-E5.js} +149 -149
  235. package/dist/interface/ha/{SettingsNotifications-lNH9mh9I.js → SettingsNotifications-CzgsBNtW.js} +5 -5
  236. package/dist/interface/ha/{SettingsRecordings-s52rT7TX.js → SettingsRecordings-Bz686yU7.js} +10 -9
  237. package/dist/interface/ha/{SettingsRemote-DYUJdmKW.js → SettingsRemote-DT4ZMjJO.js} +358 -358
  238. package/dist/interface/ha/{SettingsSystem-Bkfc5Tky.js → SettingsSystem-CHctt06D.js} +9 -9
  239. package/dist/interface/ha/{SettingsUsers-BHLsFMG9.js → SettingsUsers-C_hvntON.js} +39 -39
  240. package/dist/interface/ha/{Terminal-CDZjjg7e.js → Terminal-B5FXq4-Z.js} +41 -41
  241. package/dist/interface/ha/{Training-BbRm4L9a.js → Training-BgvpsKPM.js} +469 -469
  242. package/dist/interface/ha/{Updates-DM5YITjv.js → Updates-D0osNjqS.js} +13 -13
  243. package/dist/interface/ha/{VariableInput-DOiVQbEb.js → VariableInput-BK0qqMc7.js} +1 -1
  244. package/dist/interface/ha/{VersionsHandler-CjzF5jII.js → VersionsHandler-B-vpKHJN.js} +9 -9
  245. package/dist/interface/ha/{VirtualSensorCreate-q7b13gfi.js → VirtualSensorCreate-Bp2201iM.js} +3 -3
  246. package/dist/interface/ha/{Workers-Vf16lK9P.js → Workers-BQ_luGWk.js} +86 -86
  247. package/dist/interface/ha/{accordion-DdpJ2jcK.js → accordion-X9Wa7KVq.js} +1 -1
  248. package/dist/interface/ha/{api-Bnk0paIs.js → api-BufZW7-A.js} +3 -3
  249. package/dist/interface/ha/{api-C0pVlzsW.js → api-JPS8NpNG.js} +9129 -9618
  250. package/dist/interface/ha/{assistant-DJPdidEd.js → assistant-BXVGCw2q.js} +54 -54
  251. package/dist/interface/ha/{auth-CmCJIpis.js → auth-CJC9G9BA.js} +38 -38
  252. package/dist/interface/ha/{automationBlueprint-CtX7AOzy.js → automationBlueprint-DWuBiu_Q.js} +4 -3
  253. package/dist/interface/ha/cameraui-cards.js +1 -1
  254. package/dist/interface/ha/{cards-Cn0baEOx.js → cards-CGP6dWjy.js} +558 -557
  255. package/dist/interface/ha/checkbox-D012nd17.js +279 -0
  256. package/dist/interface/ha/{config-DxaLI3Wy.js → config-BVURO_DZ.js} +15 -15
  257. package/dist/interface/ha/{datepicker-DpDmhDeD.js → datepicker-44Ub2Hx0.js} +329 -604
  258. package/dist/interface/ha/dist-BTp4AyuI.js +287 -0
  259. package/dist/interface/ha/{dist-aGnBxAoZ.js → dist-Ca4K4HIm.js} +763 -1048
  260. package/dist/interface/ha/dots-vertical-BEPlUtxU.js +19 -0
  261. package/dist/interface/ha/eventIcons-DrjNuTS2.js +676 -0
  262. package/dist/interface/ha/{mqtt-BSUalkMz.js → mqtt-DY6EvMC9.js} +11 -11
  263. package/dist/interface/ha/{multiselect-Cedfen4P.js → multiselect-B0fAnW75.js} +1 -1
  264. package/dist/interface/ha/{notifications-DuVSTES6.js → notifications-BdIqgnrC.js} +21 -21
  265. package/dist/interface/ha/{pinia-Dk3LfWcE.js → pinia-CqffEnzx.js} +2283 -2268
  266. package/dist/interface/ha/{plugins-XTsvVLj3.js → plugins-Bnq2Iw00.js} +67 -67
  267. package/dist/interface/ha/pwa/favicon-16.ico +0 -0
  268. package/dist/interface/ha/pwa/favicon-32.ico +0 -0
  269. package/dist/interface/ha/pwa/favicon-48.ico +0 -0
  270. package/dist/interface/ha/pwa/pwa-120x120.png +0 -0
  271. package/dist/interface/ha/pwa/pwa-24x24.png +0 -0
  272. package/dist/interface/ha/pwa/pwa-36x36.png +0 -0
  273. package/dist/interface/ha/pwa/pwa-48x48.png +0 -0
  274. package/dist/interface/ha/pwa/pwa-50x50.png +0 -0
  275. package/dist/interface/ha/pwa/pwa-64x64.png +0 -0
  276. package/dist/interface/ha/pwa/pwa-72x72.png +0 -0
  277. package/dist/interface/ha/pwa/pwa-88x88.png +0 -0
  278. package/dist/interface/ha/pwa/pwa-96x96.png +0 -0
  279. package/dist/interface/ha/{rooms-Ch5UrfPN.js → rooms-AiJ5Tfir.js} +8 -8
  280. package/dist/interface/ha/{server-h-kQ6sSS.js → server-BHhFn2RZ.js} +30 -30
  281. package/dist/interface/ha/{types-DjunpV_X.js → types-7oMK8VO-.js} +26 -26
  282. package/dist/interface/ha/{ungrouped-DkDSBlpG.js → ungrouped-hib17Nvu.js} +29 -28
  283. package/dist/interface/ha/{updates-D0cNiMIr.js → updates-DvnEEUsx.js} +36 -36
  284. package/dist/interface/ha/{useAppVersion-Cpv2npEz.js → useAppVersion-BmWXr96y.js} +1 -1
  285. package/dist/interface/ha/{useLogsSocket-Du83S3Wz.js → useLogsSocket-BKlJKGCB.js} +1 -1
  286. package/dist/interface/ha/{useNavLayout-XBJRTK3F.js → useNavLayout-Dt0NH-G5.js} +11 -11
  287. package/dist/interface/ha/{useServerRestart-CWhJrEyy.js → useServerRestart-DWs2dqQc.js} +1 -1
  288. package/dist/interface/ha/{useTabSwipe-BSlykGzV.js → useTabSwipe-vX79p6V_.js} +1 -1
  289. package/dist/interface/ha/{useUpdateChannel-DZttbpyK.js → useUpdateChannel-CHlRp8uj.js} +2 -2
  290. package/dist/interface/ha/{useUpdatesSocket-DI15Udke.js → useUpdatesSocket-B40Cx-2L.js} +1 -1
  291. package/dist/interface/ha/{useUserOptions-CQL8tMr4.js → useUserOptions-hXz79rIV.js} +1 -1
  292. package/dist/interface/index.html +34 -33
  293. package/dist/interface/pwa/favicon-16.ico +0 -0
  294. package/dist/interface/pwa/favicon-32.ico +0 -0
  295. package/dist/interface/pwa/favicon-48.ico +0 -0
  296. package/dist/interface/pwa/pwa-120x120.png +0 -0
  297. package/dist/interface/pwa/pwa-24x24.png +0 -0
  298. package/dist/interface/pwa/pwa-36x36.png +0 -0
  299. package/dist/interface/pwa/pwa-48x48.png +0 -0
  300. package/dist/interface/pwa/pwa-50x50.png +0 -0
  301. package/dist/interface/pwa/pwa-64x64.png +0 -0
  302. package/dist/interface/pwa/pwa-72x72.png +0 -0
  303. package/dist/interface/pwa/pwa-88x88.png +0 -0
  304. package/dist/interface/pwa/pwa-96x96.png +0 -0
  305. package/dist/interface/sw.js +1 -1
  306. package/dist/server/package.json +4 -4
  307. package/dist/server/src/api/controllers/users.controller.d.ts +3 -1
  308. package/dist/server/src/api/controllers/users.controller.js +38 -0
  309. package/dist/server/src/api/controllers/users.controller.js.map +1 -1
  310. package/dist/server/src/api/database/record-schemas.d.ts +44 -1
  311. package/dist/server/src/api/database/record-schemas.js +3 -3
  312. package/dist/server/src/api/database/record-schemas.js.map +1 -1
  313. package/dist/server/src/api/database/types.d.ts +4 -2
  314. package/dist/server/src/api/routes/users.routes.js +24 -1
  315. package/dist/server/src/api/routes/users.routes.js.map +1 -1
  316. package/dist/server/src/api/schemas/assistant.schema.d.ts +43 -1
  317. package/dist/server/src/api/schemas/assistant.schema.js +2 -1
  318. package/dist/server/src/api/schemas/assistant.schema.js.map +1 -1
  319. package/dist/server/src/api/schemas/users.schema.d.ts +8 -0
  320. package/dist/server/src/api/schemas/users.schema.js +45 -0
  321. package/dist/server/src/api/schemas/users.schema.js.map +1 -1
  322. package/dist/server/src/api/services/users.service.d.ts +3 -1
  323. package/dist/server/src/api/services/users.service.js +33 -0
  324. package/dist/server/src/api/services/users.service.js.map +1 -1
  325. package/dist/server/src/api/types/index.d.ts +4 -1
  326. package/dist/server/src/api/types/index.js.map +1 -1
  327. package/dist/server/src/assistant/prompt.d.ts +1 -0
  328. package/dist/server/src/assistant/prompt.js +10 -1
  329. package/dist/server/src/assistant/prompt.js.map +1 -1
  330. package/dist/server/src/assistant/search.js +4 -2
  331. package/dist/server/src/assistant/search.js.map +1 -1
  332. package/dist/server/src/assistant/skills.js +3 -2
  333. package/dist/server/src/assistant/skills.js.map +1 -1
  334. package/dist/server/src/assistant/tools/index.js +2 -2
  335. package/dist/server/src/assistant/tools/index.js.map +1 -1
  336. package/dist/server/src/assistant/tools/notifications.d.ts +2 -1
  337. package/dist/server/src/assistant/tools/notifications.js +69 -35
  338. package/dist/server/src/assistant/tools/notifications.js.map +1 -1
  339. package/dist/server/src/assistant/tools/plugins.d.ts +7 -1
  340. package/dist/server/src/assistant/tools/plugins.js +13 -9
  341. package/dist/server/src/assistant/tools/plugins.js.map +1 -1
  342. package/dist/server/src/assistant/uploads.js +8 -1
  343. package/dist/server/src/assistant/uploads.js.map +1 -1
  344. package/dist/server/src/manager/downloadManager.d.ts +1 -0
  345. package/dist/server/src/manager/downloadManager.js +3 -0
  346. package/dist/server/src/manager/downloadManager.js.map +1 -1
  347. package/dist/server/src/manager/notificationManager.d.ts +1 -0
  348. package/dist/server/src/manager/notificationManager.js +13 -2
  349. package/dist/server/src/manager/notificationManager.js.map +1 -1
  350. package/package.json +4 -4
  351. package/dist/interface/assets/Assistant-CblA57eC.js +0 -1
  352. package/dist/interface/assets/Automation-WFaHCnEO.js +0 -3
  353. package/dist/interface/assets/AutomationImport-HRMq3VvF.js +0 -2
  354. package/dist/interface/assets/AutomationStore-BaaFYySv.js +0 -2
  355. package/dist/interface/assets/AutomationStoreDetail-IiLAbn4L.js +0 -2
  356. package/dist/interface/assets/Automations-DRTUxje4.js +0 -2
  357. package/dist/interface/assets/Camera-CaNYoR20.js +0 -2
  358. package/dist/interface/assets/Camview-uZ50ebLh.js +0 -1
  359. package/dist/interface/assets/Console-CHdFH_Ip.js +0 -1
  360. package/dist/interface/assets/CuiAssistantConversation-B_eSNMuO.js +0 -5
  361. package/dist/interface/assets/CuiBottomSheet-B7hreGA-.js +0 -1
  362. package/dist/interface/assets/CuiCameraRecordings-CztUs6YM.js +0 -1
  363. package/dist/interface/assets/CuiCameraShares-CVbWZZ_i.js +0 -1
  364. package/dist/interface/assets/CuiCameraTable-BmsSlihU.js +0 -1
  365. package/dist/interface/assets/CuiLightControl-u_yM0oyh.js +0 -1
  366. package/dist/interface/assets/CuiPluginCard-Bib3KXMs.js +0 -2
  367. package/dist/interface/assets/CuiPluginCategoryChip-CKSV5COz.js +0 -1
  368. package/dist/interface/assets/CuiPluginOAuthButton-Cug_uTVq.js +0 -2
  369. package/dist/interface/assets/CuiSchema-ycZ4rNC_.js +0 -1
  370. package/dist/interface/assets/Faces-D6pm4dxq.js +0 -1
  371. package/dist/interface/assets/FirstSteps-DotR0zU_.js +0 -1
  372. package/dist/interface/assets/Floorplan-xxlvYsYV.js +0 -1
  373. package/dist/interface/assets/Metrics-SQdgeJrD.js +0 -9
  374. package/dist/interface/assets/OAuthDeviceFlow-Bx6YBLUX.js +0 -1
  375. package/dist/interface/assets/Plugin-CsT7_OZp.js +0 -1
  376. package/dist/interface/assets/PluginDetail-Bz65OQlN.js +0 -2
  377. package/dist/interface/assets/PluginSearch-CrzD6rwo.js +0 -1
  378. package/dist/interface/assets/PluginSearch-DKSrC539.js +0 -2
  379. package/dist/interface/assets/Plugins-BvuGEkhs.js +0 -1
  380. package/dist/interface/assets/Recordings-6MHDmY05.js +0 -1
  381. package/dist/interface/assets/Sensors-XQLst9D2.js +0 -2
  382. package/dist/interface/assets/SettingsAccount-BwC-JLu1.js +0 -1
  383. package/dist/interface/assets/SettingsAccount-D8txIS7w.js +0 -1
  384. package/dist/interface/assets/SettingsAppearance-D1PEIzvU.js +0 -1
  385. package/dist/interface/assets/SettingsAssistant-BpTwRGXe.css +0 -1
  386. package/dist/interface/assets/SettingsAssistant-C_9kjVnu.js +0 -1
  387. package/dist/interface/assets/SettingsMqtt-4tFIdfzL.js +0 -1
  388. package/dist/interface/assets/SettingsNotifications-DhXKEfw0.js +0 -1
  389. package/dist/interface/assets/SettingsRecordings-BqRtaATr.js +0 -1
  390. package/dist/interface/assets/SettingsRemote-9YXNd_d3.js +0 -2
  391. package/dist/interface/assets/SettingsSystem-CwlTgN12.js +0 -2
  392. package/dist/interface/assets/SettingsUsers-DOUvMVjf.js +0 -1
  393. package/dist/interface/assets/Training-DMNjB3uX.css +0 -1
  394. package/dist/interface/assets/Training-DQP1EUdI.js +0 -1
  395. package/dist/interface/assets/VirtualSensorCreate-VIHqPQuq.js +0 -1
  396. package/dist/interface/assets/Workers-CJXGSHP0.js +0 -2
  397. package/dist/interface/assets/api-0KzHya6g.js +0 -4
  398. package/dist/interface/assets/api-C85p0Dk3.css +0 -2
  399. package/dist/interface/assets/automations-Bx7_-5ll.js +0 -1
  400. package/dist/interface/assets/cameraSources-B5dOcB7w.js +0 -1
  401. package/dist/interface/assets/cloudHandoff-DzrB62Ot.js +0 -1
  402. package/dist/interface/assets/main-BREBoPYq.js +0 -3
  403. package/dist/interface/assets/mqtt-DEt78fr7.js +0 -1
  404. package/dist/interface/assets/plugins-IMJg5aI8.js +0 -1
  405. package/dist/interface/assets/rooms-Dt3X1UEj.js +0 -1
  406. package/dist/interface/assets/sensorIcons-Dwg45YYo.js +0 -1
  407. package/dist/interface/assets/types-B5ZroTch.js +0 -1
  408. package/dist/interface/assets/types-BZz-3rol.js +0 -1
  409. package/dist/interface/assets/ungrouped-CH2Ug0hy.js +0 -1
  410. package/dist/interface/assets/vendor-zod-BMOt_yT8.js +0 -109
@@ -1,184 +1,185 @@
1
1
  import { c as e } from "./ripple-B_itunQV.js";
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
- import { t as te } from "./tooltip-X5MY9FoG.js";
4
- import { An as ne, E as re, Ei as ie, En as ae, F as O, Fn as oe, I as k, Jn as se, L as ce, Ln as le, Lr as ue, Nn as de, Or as A, Pn as fe, Pt as j, Rn as M, Rr as pe, Vn as me, Yt as N, Zr as he, a as ge, br as _e, dn as ve, ei as P, en as ye, ft as F, g as be, jn as xe, ki as I, kr as Se, ut as Ce } from "./api-C0pVlzsW.js";
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 ee, _t as l, d as u, f as d, kt as f, l as p, lt as m, ot as h, p as g, qt as _, r as v, rt as y, u as b, ut as x, wt as S, x as C, xt as w, y as T, yt as E, z as te } from "./runtime-core.esm-bundler-DCktklpY.js";
3
+ import { t as ne } from "./tooltip-X5MY9FoG.js";
4
+ import { Cn as re, Dn as ie, Dr as ae, E as D, Et as O, F as oe, Gn as se, I as ce, Kt as le, L as k, On as ue, Or as de, Tn as fe, Vr as A, Vt as pe, Wr as me, a as he, bn as ge, ft as j, g as _e, gn as ve, hi as ye, mt as be, qn as xe, ur as M, vi as N, vr as P, wn as F, xn as Se, yr as Ce } from "./api-JPS8NpNG.js";
5
5
  import { o as we } from "./intercomService-Dwd0bhSN.js";
6
- import { r as Te } from "./pinia-Dk3LfWcE.js";
6
+ import { r as Te } from "./pinia-CqffEnzx.js";
7
7
  import { n as Ee } from "./vue-i18n-BBObX4QY.js";
8
- import { t as De } from "./button-DJDZxmKj.js";
9
- import { t as L } from "./inputtext-vdcrNX6K.js";
10
- import { t as Oe } from "./divider-Cf59Ua0f.js";
11
- import { t as ke } from "./speeddial-CpW9sIFY.js";
12
- import { t as Ae } from "./delete-LxFfoBRM.js";
13
- import { c as je, d as Me, u as Ne } from "./cards-Cn0baEOx.js";
14
- import { t as Pe } from "./microphone-TB58caA2.js";
15
- import { n as Fe, t as Ie } from "./CuiTopNavbarItem-KlOpTPMA.js";
8
+ import { f as De } from "./eventIcons-DrjNuTS2.js";
9
+ import { t as Oe } from "./button-DJDZxmKj.js";
10
+ import { t as I } from "./inputtext-vdcrNX6K.js";
11
+ import { t as ke } from "./divider-Cf59Ua0f.js";
12
+ import { t as Ae } from "./speeddial-CpW9sIFY.js";
13
+ import { t as je } from "./delete-LxFfoBRM.js";
14
+ import { c as Me, d as Ne, u as Pe } from "./cards-CGP6dWjy.js";
15
+ import { t as Fe } from "./microphone-TB58caA2.js";
16
+ import { n as Ie, t as Le } from "./CuiTopNavbarItem-C3a5NA7u.js";
16
17
  //#region ~icons/mdi/pencil
17
- var Le = {
18
+ var Re = {
18
19
  viewBox: "0 0 24 24",
19
20
  width: "1.2em",
20
21
  height: "1.2em"
21
22
  };
22
- function Re(e, t) {
23
- return a(), _("svg", Le, [...t[0] ||= [x("path", {
23
+ function ze(e, t) {
24
+ return a(), g("svg", Re, [...t[0] ||= [b("path", {
24
25
  fill: "currentColor",
25
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"
26
27
  }, null, -1)]]);
27
28
  }
28
- var ze = u({
29
+ var Be = l({
29
30
  name: "mdi-pencil",
30
- render: Re
31
- }), Be = {
31
+ render: ze
32
+ }), Ve = {
32
33
  viewBox: "0 0 24 24",
33
34
  width: "1.2em",
34
35
  height: "1.2em"
35
36
  };
36
- function Ve(e, t) {
37
- return a(), _("svg", Be, [...t[0] ||= [x("path", {
37
+ function He(e, t) {
38
+ return a(), g("svg", Ve, [...t[0] ||= [b("path", {
38
39
  fill: "currentColor",
39
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"
40
41
  }, null, -1)]]);
41
42
  }
42
- var He = u({
43
+ var Ue = l({
43
44
  name: "mdi-arrow-expand-all",
44
- render: Ve
45
- }), Ue = {
45
+ render: He
46
+ }), We = {
46
47
  viewBox: "0 0 24 24",
47
48
  width: "1.2em",
48
49
  height: "1.2em"
49
50
  };
50
- function We(e, t) {
51
- return a(), _("svg", Ue, [...t[0] ||= [x("path", {
51
+ function Ge(e, t) {
52
+ return a(), g("svg", We, [...t[0] ||= [b("path", {
52
53
  fill: "currentColor",
53
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"
54
55
  }, null, -1)]]);
55
56
  }
56
- var Ge = u({
57
+ var Ke = l({
57
58
  name: "mdi-auto-fix",
58
- render: We
59
- }), Ke = {
59
+ render: Ge
60
+ }), qe = {
60
61
  viewBox: "0 0 24 24",
61
62
  width: "1.2em",
62
63
  height: "1.2em"
63
64
  };
64
- function qe(e, t) {
65
- return a(), _("svg", Ke, [...t[0] ||= [x("path", {
65
+ function Je(e, t) {
66
+ return a(), g("svg", qe, [...t[0] ||= [b("path", {
66
67
  fill: "currentColor",
67
68
  "fill-rule": "evenodd",
68
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",
69
70
  "clip-rule": "evenodd"
70
71
  }, null, -1)]]);
71
72
  }
72
- var Je = u({
73
+ var Ye = l({
73
74
  name: "mingcute-grid2-fill",
74
- render: qe
75
- }), Ye = {
75
+ render: Je
76
+ }), Xe = {
76
77
  viewBox: "0 0 24 24",
77
78
  width: "1.2em",
78
79
  height: "1.2em"
79
80
  };
80
- function Xe(e, t) {
81
- return a(), _("svg", Ye, [...t[0] ||= [x("path", {
81
+ function Ze(e, t) {
82
+ return a(), g("svg", Xe, [...t[0] ||= [b("path", {
82
83
  fill: "currentColor",
83
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"
84
85
  }, null, -1)]]);
85
86
  }
86
- var Ze = u({
87
+ var Qe = l({
87
88
  name: "cbi-iosfacetime",
88
- render: Xe
89
- }), Qe = {
89
+ render: Ze
90
+ }), $e = {
90
91
  viewBox: "0 0 24 24",
91
92
  width: "1.2em",
92
93
  height: "1.2em"
93
94
  };
94
- function $e(e, t) {
95
- return a(), _("svg", Qe, [...t[0] ||= [x("path", {
95
+ function et(e, t) {
96
+ return a(), g("svg", $e, [...t[0] ||= [b("path", {
96
97
  fill: "currentColor",
97
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"
98
99
  }, null, -1)]]);
99
100
  }
100
- var et = u({
101
+ var tt = l({
101
102
  name: "fluent-pulse-24-filled",
102
- render: $e
103
- }), R = {
103
+ render: et
104
+ }), L = {
104
105
  viewBox: "0 0 16 16",
105
106
  width: "1.2em",
106
107
  height: "1.2em"
107
108
  };
108
- function z(e, t) {
109
- return a(), _("svg", R, [...t[0] ||= [x("path", {
109
+ function R(e, t) {
110
+ return a(), g("svg", L, [...t[0] ||= [b("path", {
110
111
  fill: "currentColor",
111
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"
112
- }, null, -1), x("path", {
113
+ }, null, -1), b("path", {
113
114
  fill: "currentColor",
114
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"
115
116
  }, null, -1)]]);
116
117
  }
117
- var tt = u({
118
+ var nt = l({
118
119
  name: "heroicons-speaker-wave-16-solid",
119
- render: z
120
- }), B = {
120
+ render: R
121
+ }), z = {
121
122
  viewBox: "0 0 16 16",
122
123
  width: "1.2em",
123
124
  height: "1.2em"
124
125
  };
125
- function V(e, t) {
126
- return a(), _("svg", B, [...t[0] ||= [x("path", {
126
+ function B(e, t) {
127
+ return a(), g("svg", z, [...t[0] ||= [b("path", {
127
128
  fill: "currentColor",
128
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"
129
130
  }, null, -1)]]);
130
131
  }
131
- var nt = u({
132
+ var rt = l({
132
133
  name: "heroicons-speaker-x-mark-16-solid",
133
- render: V
134
- }), H = {
134
+ render: B
135
+ }), V = {
135
136
  viewBox: "0 0 48 48",
136
137
  width: "1.2em",
137
138
  height: "1.2em"
138
139
  };
139
- function U(e, t) {
140
- return a(), _("svg", H, [...t[0] ||= [x("g", {
140
+ function H(e, t) {
141
+ return a(), g("svg", V, [...t[0] ||= [b("g", {
141
142
  fill: "none",
142
143
  stroke: "currentColor",
143
144
  "stroke-linejoin": "round",
144
145
  "stroke-width": "4"
145
- }, [x("path", {
146
+ }, [b("path", {
146
147
  fill: "currentColor",
147
148
  d: "M16.866 7.47A18 18 0 0 0 16 13c0 9.941 8.059 18 18 18a17.9 17.9 0 0 0 7.134-1.47C38.801 36.767 32.012 42 24 42c-9.941 0-18-8.059-18-18c0-7.407 4.473-13.768 10.866-16.53Z"
148
- }), x("path", {
149
+ }), b("path", {
149
150
  "stroke-linecap": "round",
150
151
  d: "M31.66 10H41l-10 8h10"
151
152
  })], -1)]]);
152
153
  }
153
- var rt = u({
154
+ var it = l({
154
155
  name: "icon-park-solid-sleep",
155
- render: U
156
- }), W = {
156
+ render: H
157
+ }), U = {
157
158
  viewBox: "0 0 24 24",
158
159
  width: "1.2em",
159
160
  height: "1.2em"
160
161
  };
161
- function it(e, t) {
162
- return a(), _("svg", W, [...t[0] ||= [x("path", {
162
+ function at(e, t) {
163
+ return a(), g("svg", U, [...t[0] ||= [b("path", {
163
164
  fill: "currentColor",
164
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"
165
166
  }, null, -1)]]);
166
167
  }
167
- var at = u({
168
+ var ot = l({
168
169
  name: "material-symbols-motion-photos-auto-outline-rounded",
169
- render: it
170
- }), ot = {
170
+ render: at
171
+ }), W = {
171
172
  viewBox: "0 0 24 24",
172
173
  width: "1.2em",
173
174
  height: "1.2em"
174
175
  };
175
176
  function G(e, t) {
176
- return a(), _("svg", ot, [...t[0] ||= [x("path", {
177
+ return a(), g("svg", W, [...t[0] ||= [b("path", {
177
178
  fill: "currentColor",
178
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"
179
180
  }, null, -1)]]);
180
181
  }
181
- var st = u({
182
+ var st = l({
182
183
  name: "mdi-card-plus-outline",
183
184
  render: G
184
185
  }), K = {
@@ -187,12 +188,12 @@ var st = u({
187
188
  height: "1.2em"
188
189
  };
189
190
  function q(e, t) {
190
- return a(), _("svg", K, [...t[0] ||= [x("path", {
191
+ return a(), g("svg", K, [...t[0] ||= [b("path", {
191
192
  fill: "currentColor",
192
193
  d: "M12 2a7 7 0 0 1 7 7a7 7 0 0 1-7 7a7 7 0 0 1-7-7a7 7 0 0 1 7-7m0 2a5 5 0 0 0-5 5a5 5 0 0 0 5 5a5 5 0 0 0 5-5a5 5 0 0 0-5-5m0 2a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3M6 22a2 2 0 0 1-2-2c0-.38.1-.73.29-1.03l1.82-3.16A9 9 0 0 0 12 18c2.25 0 4.31-.83 5.89-2.19l1.82 3.16c.19.3.29.65.29 1.03a2 2 0 0 1-2 2z"
193
194
  }, null, -1)]]);
194
195
  }
195
- var ct = u({
196
+ var ct = l({
196
197
  name: "mdi-webcam",
197
198
  render: q
198
199
  }), J = {
@@ -201,12 +202,12 @@ var ct = u({
201
202
  height: "1.2em"
202
203
  };
203
204
  function lt(e, t) {
204
- return a(), _("svg", J, [...t[0] ||= [x("path", {
205
+ return a(), g("svg", J, [...t[0] ||= [b("path", {
205
206
  fill: "currentColor",
206
207
  d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057M10.25 8a.75.75 0 0 0-1.5 0v8a.75.75 0 0 0 1.5 0v-3.25h3.5V16a.75.75 0 0 0 1.5 0V8a.75.75 0 0 0-1.5 0v3.25h-3.5z"
207
208
  }, null, -1)]]);
208
209
  }
209
- var ut = u({
210
+ var ut = l({
210
211
  name: "mynaui-letter-h-square-solid",
211
212
  render: lt
212
213
  }), dt = {
@@ -215,12 +216,12 @@ var ut = u({
215
216
  height: "1.2em"
216
217
  };
217
218
  function ft(e, t) {
218
- return a(), _("svg", dt, [...t[0] ||= [x("path", {
219
+ return a(), g("svg", dt, [...t[0] ||= [b("path", {
219
220
  fill: "currentColor",
220
221
  d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057M10.25 8a.75.75 0 0 0-1.5 0v7.5c0 .414.336.75.75.75H15a.75.75 0 0 0 0-1.5h-4.75z"
221
222
  }, null, -1)]]);
222
223
  }
223
- var pt = u({
224
+ var pt = l({
224
225
  name: "mynaui-letter-l-square-solid",
225
226
  render: ft
226
227
  }), Y = {
@@ -229,12 +230,12 @@ var pt = u({
229
230
  height: "1.2em"
230
231
  };
231
232
  function mt(e, t) {
232
- return a(), _("svg", Y, [...t[0] ||= [x("path", {
233
+ return a(), g("svg", Y, [...t[0] ||= [b("path", {
233
234
  fill: "currentColor",
234
235
  d: "M9.367 2.25h5.266c1.092 0 1.958 0 2.655.057c.714.058 1.317.18 1.869.46a4.75 4.75 0 0 1 2.075 2.077c.281.55.403 1.154.461 1.868c.057.697.057 1.563.057 2.655v5.266c0 1.092 0 1.958-.057 2.655c-.058.714-.18 1.317-.46 1.869a4.75 4.75 0 0 1-2.076 2.075c-.552.281-1.155.403-1.869.461c-.697.057-1.563.057-2.655.057H9.367c-1.092 0-1.958 0-2.655-.057c-.714-.058-1.317-.18-1.868-.46a4.75 4.75 0 0 1-2.076-2.076c-.281-.552-.403-1.155-.461-1.869c-.057-.697-.057-1.563-.057-2.655V9.367c0-1.092 0-1.958.057-2.655c.058-.714.18-1.317.46-1.868a4.75 4.75 0 0 1 2.077-2.076c.55-.281 1.154-.403 1.868-.461c.697-.057 1.563-.057 2.655-.057m.233 5.3A.75.75 0 0 0 8.25 8v8a.75.75 0 0 0 1.5 0v-5.75l1.65 2.2a.75.75 0 0 0 1.2 0l1.65-2.2V16a.75.75 0 0 0 1.5 0V8a.75.75 0 0 0-1.35-.45l-2.4 3.2z"
235
236
  }, null, -1)]]);
236
237
  }
237
- var ht = u({
238
+ var ht = l({
238
239
  name: "mynaui-letter-m-square-solid",
239
240
  render: mt
240
241
  }), gt = {
@@ -243,248 +244,248 @@ var ht = u({
243
244
  height: "1.2em"
244
245
  };
245
246
  function _t(e, t) {
246
- return a(), _("svg", gt, [...t[0] ||= [x("path", {
247
+ return a(), g("svg", gt, [...t[0] ||= [b("path", {
247
248
  fill: "currentColor",
248
249
  d: "M12 .36A5.4 5.4 0 0 0 6.62 5.3a5.4 5.4 0 0 0-1.22-.14a5.4 5.4 0 0 0-2.143 10.357a5.4 5.4 0 0 0-.737 2.723a5.4 5.4 0 0 0 9.54 3.466a5.4 5.4 0 0 0 8.833-6.137a5.4 5.4 0 0 0-3.505-10.152A5.4 5.4 0 0 0 12 .36M6.283 7.228h10.592c.746 0 1.352.605 1.352 1.349v7.646a1.35 1.35 0 0 1-1.352 1.348h-3.608l-7.24 3.55l1.1-3.55h-.844a1.35 1.35 0 0 1-1.352-1.348V8.577c0-.744.606-1.349 1.352-1.349"
249
250
  }, null, -1)]]);
250
251
  }
251
- var vt = u({
252
+ var vt = l({
252
253
  name: "simple-icons-webrtc",
253
254
  render: _t
254
- }), yt = { class: "flex flex-col gap-3" }, bt = { class: "text-wrap" }, xt = { class: "w-full h-full flex items-center justify-center relative" }, St = /* @__PURE__ */ w({
255
+ }), yt = { class: "flex flex-col gap-3" }, bt = { class: "text-wrap" }, xt = { class: "w-full h-full flex items-center justify-center relative" }, St = /* @__PURE__ */ C({
255
256
  __name: "AudioVisualizer",
256
257
  emits: ["listening"],
257
258
  setup(e, { expose: r, emit: i }) {
258
- let s = i, c = we(), l = I(), u = n("dialogRefProps"), d = b("canvasRef"), f = C(), p = C(), g = T(!1), v = m(() => !!u.loading?.value);
259
- async function y() {
260
- if (g.value) w();
259
+ let s = i, c = we(), ee = N(), l = n("dialogRefProps"), u = y("canvasRef"), d = S(), f = S(), h = w(!1), _ = p(() => !!l.loading?.value);
260
+ async function v() {
261
+ if (h.value) C();
261
262
  else try {
262
- f.value && w();
263
+ d.value && C();
263
264
  let e;
264
265
  try {
265
266
  e = await navigator.mediaDevices.getUserMedia({ audio: !0 });
266
267
  } catch (e) {
267
- l.add({
268
+ ee.add({
268
269
  severity: "warn",
269
270
  detail: "Can not enable AudioVisualizer, see console.",
270
271
  life: 3e3
271
272
  }), c.warn("Can not enable AudioVisualizer", e);
272
273
  return;
273
274
  }
274
- g.value = !0, s("listening", !0), f.value = new AudioContext();
275
- let t = f.value.createAnalyser();
276
- t.fftSize = 1024, p.value = e.getTracks(), f.value.createMediaStreamSource(e).connect(t);
277
- let n, r = d.value?.getContext("2d"), i = () => {
278
- if (d.value && r) {
275
+ h.value = !0, s("listening", !0), d.value = new AudioContext();
276
+ let t = d.value.createAnalyser();
277
+ t.fftSize = 1024, f.value = e.getTracks(), d.value.createMediaStreamSource(e).connect(t);
278
+ let n, r = u.value?.getContext("2d"), i = () => {
279
+ if (u.value && r) {
279
280
  let e = [], a = [];
280
- r.clearRect(0, 0, d.value.width, d.value.height), requestAnimationFrame(i);
281
+ r.clearRect(0, 0, u.value.width, u.value.height), requestAnimationFrame(i);
281
282
  let o = t.frequencyBinCount, s = new Uint8Array(o);
282
283
  t.getByteFrequencyData(s), e.push(s);
283
284
  for (let t = 0; t < e[0].length; t++) a.push(0), e.forEach((e) => {
284
285
  a[t] += e[t];
285
286
  });
286
- let c = d.value.width / 2, l = d.value.height / 2;
287
- r.beginPath(), r.arc(c, l, 30, 0, 2 * Math.PI), r.lineWidth = 1, r.stroke(), r.closePath();
287
+ let c = u.value.width / 2, ee = u.value.height / 2;
288
+ r.beginPath(), r.arc(c, ee, 30, 0, 2 * Math.PI), r.lineWidth = 1, r.stroke(), r.closePath();
288
289
  for (let e = 0; e < 90; e++) {
289
290
  n = a[e] * .4;
290
- let t = Math.PI * 2 / 90, i = c + Math.cos(t * e) * 30, o = l + Math.sin(t * e) * 30, s = c + Math.cos(t * e) * (30 + n), u = l + Math.sin(t * e) * (30 + n);
291
- S(r, i, o, s, u, 3);
291
+ let t = Math.PI * 2 / 90, i = c + Math.cos(t * e) * 30, o = ee + Math.sin(t * e) * 30, s = c + Math.cos(t * e) * (30 + n), l = ee + Math.sin(t * e) * (30 + n);
292
+ x(r, i, o, s, l, 3);
292
293
  }
293
- g.value || r.clearRect(0, 0, d.value.width, d.value.height);
294
+ h.value || r.clearRect(0, 0, u.value.width, u.value.height);
294
295
  }
295
296
  };
296
297
  i();
297
298
  } catch (e) {
298
- w(), c.error(e);
299
+ C(), c.error(e);
299
300
  }
300
301
  }
301
- function S(e, t, n, r, i, a) {
302
+ function x(e, t, n, r, i, a) {
302
303
  let o = e.createLinearGradient(t, n, r, i);
303
304
  o.addColorStop(0, "#5b040f"), o.addColorStop(.5, "#b50b21"), o.addColorStop(.9, "#df2a4c"), o.addColorStop(1, "#df6380"), e.lineWidth = a, e.strokeStyle = o, e.beginPath(), e.moveTo(t, n), e.lineTo(r, i), e.stroke(), e.closePath();
304
305
  }
305
- function w() {
306
- f.value?.close(), f.value = void 0, p.value?.forEach((e) => e.stop()), p.value = void 0, g.value = !1, s("listening", !1);
306
+ function C() {
307
+ d.value?.close(), d.value = void 0, f.value?.forEach((e) => e.stop()), f.value = void 0, h.value = !1, s("listening", !1);
307
308
  }
308
309
  return t(() => {
309
- w();
310
- }), r({ isLoading: v }), (e, t) => {
311
- let n = Pe, r = De;
312
- return a(), _("div", yt, [x("span", bt, o(e.$t("components.dialog.message.intercom_info")), 1), x("div", xt, [E(r, {
310
+ C();
311
+ }), r({ isLoading: _ }), (e, t) => {
312
+ let n = Fe, r = Oe;
313
+ return a(), g("div", yt, [b("span", bt, o(e.$t("components.dialog.message.intercom_info")), 1), b("div", xt, [T(r, {
313
314
  rounded: "",
314
315
  class: "w-[60px] h-[60px] absolute z-1",
315
- onClick: y
316
+ onClick: v
316
317
  }, {
317
- icon: h(() => [E(n, {
318
+ icon: m(() => [T(n, {
318
319
  width: "100%",
319
320
  height: "100%"
320
321
  })]),
321
322
  _: 1
322
- }), x("canvas", {
323
+ }), b("canvas", {
323
324
  ref_key: "canvasRef",
324
- ref: d,
325
+ ref: u,
325
326
  height: "300",
326
327
  width: "300"
327
328
  }, null, 512)])]);
328
329
  };
329
330
  }
330
- }), X = ["fill"], Ct = /* @__PURE__ */ w({
331
+ }), X = ["fill"], Ct = /* @__PURE__ */ C({
331
332
  __name: "CuiCameraGridIcon1",
332
333
  props: { color: { default: "currentColor" } },
333
334
  setup(e) {
334
335
  let { color: t } = r(e);
335
- return (e, n) => (a(), _("svg", {
336
+ return (e, n) => (a(), g("svg", {
336
337
  xmlns: "http://www.w3.org/2000/svg",
337
338
  viewBox: "0 0 970 550",
338
339
  role: "img",
339
340
  "area-hidden": "true",
340
- fill: p(t)
341
- }, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm0 8h952v532H9V9Z" }, null, -1)]], 8, X));
341
+ fill: f(t)
342
+ }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm0 8h952v532H9V9Z" }, null, -1)]], 8, X));
342
343
  }
343
- }), Z = ["fill"], wt = /* @__PURE__ */ w({
344
+ }), Z = ["fill"], wt = /* @__PURE__ */ C({
344
345
  __name: "CuiCameraGridIcon10",
345
346
  props: { color: { default: "currentColor" } },
346
347
  setup(e) {
347
348
  let { color: t } = r(e);
348
- return (e, n) => (a(), _("svg", {
349
+ return (e, n) => (a(), g("svg", {
349
350
  xmlns: "http://www.w3.org/2000/svg",
350
351
  viewBox: "0 0 970 550",
351
352
  role: "img",
352
353
  "area-hidden": "true",
353
- fill: p(t)
354
- }, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm726 275h226v130H735V276Zm-242 0h234v130H493V276Zm0 265V414h234v127H493ZM9 541V276h476v265H9Zm726 0V414h226v127H735ZM961 9v121H735V9h226ZM735 138h226v130H735V138ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Z" }, null, -1)]], 8, Z));
354
+ fill: f(t)
355
+ }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm726 275h226v130H735V276Zm-242 0h234v130H493V276Zm0 265V414h234v127H493ZM9 541V276h476v265H9Zm726 0V414h226v127H735ZM961 9v121H735V9h226ZM735 138h226v130H735V138ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Z" }, null, -1)]], 8, Z));
355
356
  }
356
- }), Q = ["fill"], $ = /* @__PURE__ */ w({
357
+ }), Q = ["fill"], $ = /* @__PURE__ */ C({
357
358
  __name: "CuiCameraGridIcon12",
358
359
  props: { color: { default: "currentColor" } },
359
360
  setup(e) {
360
361
  let { color: t } = r(e);
361
- return (e, n) => (a(), _("svg", {
362
+ return (e, n) => (a(), g("svg", {
362
363
  xmlns: "http://www.w3.org/2000/svg",
363
364
  viewBox: "0 0 970 550",
364
365
  role: "img",
365
366
  "area-hidden": "true",
366
- fill: p(t)
367
- }, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 275v129H810.5V276H961Zm-158.5 0v129h-152V276h152Zm-152 265V413h152v128h-152Zm-8-265v129H493V276h149.5ZM493 541V413h149.5v128H493ZM9 276h476v265H9V276Zm801.5 265V413H961v128H810.5ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8, Q));
367
+ fill: f(t)
368
+ }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 275v129H810.5V276H961Zm-158.5 0v129h-152V276h152Zm-152 265V413h152v128h-152Zm-8-265v129H493V276h149.5ZM493 541V413h149.5v128H493ZM9 276h476v265H9V276Zm801.5 265V413H961v128H810.5ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8, Q));
368
369
  }
369
- }), Tt = ["fill"], Et = /* @__PURE__ */ w({
370
+ }), Tt = ["fill"], Et = /* @__PURE__ */ C({
370
371
  __name: "CuiCameraGridIcon13",
371
372
  props: { color: { default: "currentColor" } },
372
373
  setup(e) {
373
374
  let { color: t } = r(e);
374
- return (e, n) => (a(), _("svg", {
375
+ return (e, n) => (a(), g("svg", {
375
376
  xmlns: "http://www.w3.org/2000/svg",
376
377
  viewBox: "0 0 970 550",
377
378
  role: "img",
378
379
  "area-hidden": "true",
379
- fill: p(t)
380
- }, [...n[0] ||= [x("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-273.5H485v129.5H250.5V276Zm-8 0v129.5H9V276h233.5ZM961 9v121H735V9h226ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Zm250 129h226v130H735V138Zm0 267.5V276h226v129.5H735ZM493 276h234v129.5H493V276Zm0 265V413.5h234V541H493Zm-242.5 0V413.5H485V541H250.5ZM9 541V413.5h233.5V541H9Zm726 0V413.5h226V541H735Z" }, null, -1)]], 8, Tt));
380
+ fill: f(t)
381
+ }, [...n[0] ||= [b("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-273.5H485v129.5H250.5V276Zm-8 0v129.5H9V276h233.5ZM961 9v121H735V9h226ZM727 9v121H493V9h234ZM493 138h234v130H493V138ZM485 9v259H9V9h476Zm250 129h226v130H735V138Zm0 267.5V276h226v129.5H735ZM493 276h234v129.5H493V276Zm0 265V413.5h234V541H493Zm-242.5 0V413.5H485V541H250.5ZM9 541V413.5h233.5V541H9Zm726 0V413.5h226V541H735Z" }, null, -1)]], 8, Tt));
381
382
  }
382
- }), Dt = ["fill"], Ot = /* @__PURE__ */ w({
383
+ }), Dt = ["fill"], Ot = /* @__PURE__ */ C({
383
384
  __name: "CuiCameraGridIcon15",
384
385
  props: { color: { default: "currentColor" } },
385
386
  setup(e) {
386
387
  let { color: t } = r(e);
387
- return (e, n) => (a(), _("svg", {
388
+ return (e, n) => (a(), g("svg", {
388
389
  xmlns: "http://www.w3.org/2000/svg",
389
390
  viewBox: "0 0 970 550",
390
391
  role: "img",
391
392
  "area-hidden": "true",
392
- fill: p(t)
393
- }, [...n[0] ||= [x("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-144V276H485v129.5H250.5Zm-8-129.5v129.5H9V276h233.5Zm570 90H961v82H812.5v-82Zm-160 0h152v82h-152v-82ZM961 276v82H812.5v-82H961Zm-308.5 0h152v82h-152v-82Zm0 180h152v85h-152v-85ZM961 541H812.5v-85H961v85Zm-316.5-93H493v-82h151.5v82Zm0-172v82H493v-82h151.5Zm0 180v85H493v-85h151.5ZM485 413.5V541H250.5V413.5H485Zm-242.5 0V541H9V413.5h233.5ZM961 9v259H493V9h468ZM9 9h476v259H9V9Z" }, null, -1)]], 8, Dt));
393
+ fill: f(t)
394
+ }, [...n[0] ||= [b("path", { d: "M250 549.5h.5v-.5H961a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h233.5v.5h7.5Zm.5-144V276H485v129.5H250.5Zm-8-129.5v129.5H9V276h233.5Zm570 90H961v82H812.5v-82Zm-160 0h152v82h-152v-82ZM961 276v82H812.5v-82H961Zm-308.5 0h152v82h-152v-82Zm0 180h152v85h-152v-85ZM961 541H812.5v-85H961v85Zm-316.5-93H493v-82h151.5v82Zm0-172v82H493v-82h151.5Zm0 180v85H493v-85h151.5ZM485 413.5V541H250.5V413.5H485Zm-242.5 0V541H9V413.5h233.5ZM961 9v259H493V9h468ZM9 9h476v259H9V9Z" }, null, -1)]], 8, Dt));
394
395
  }
395
- }), kt = ["fill"], At = /* @__PURE__ */ w({
396
+ }), kt = ["fill"], At = /* @__PURE__ */ C({
396
397
  __name: "CuiCameraGridIcon16",
397
398
  props: { color: { default: "currentColor" } },
398
399
  setup(e) {
399
400
  let { color: t } = r(e);
400
- return (e, n) => (a(), _("svg", {
401
+ return (e, n) => (a(), g("svg", {
401
402
  xmlns: "http://www.w3.org/2000/svg",
402
403
  viewBox: "0 0 970 550",
403
404
  role: "img",
404
405
  "area-hidden": "true",
405
- fill: p(t)
406
- }, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v121.5H732.5V9H961ZM724.5 9v121.5H493V9h231.5ZM493 268V138.5h231.5V268H493Zm0 137.5V276h231.5v129.5H493Zm468 0H732.5V276H961v129.5ZM493 541V413.5h231.5V541H493Zm468 0H732.5V413.5H961V541Zm0-273H732.5V138.5H961V268ZM485 9v121.5H250.5V9H485ZM250.5 138.5H485V268H250.5V138.5ZM242.5 9v121.5H9V9h233.5ZM9 138.5h233.5V268H9V138.5ZM250.5 276H485v129.5H250.5V276Zm0 137.5H485V541H250.5V413.5Zm-8-137.5v129.5H9V276h233.5ZM9 541V413.5h233.5V541H9Z" }, null, -1)]], 8, kt));
406
+ fill: f(t)
407
+ }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v121.5H732.5V9H961ZM724.5 9v121.5H493V9h231.5ZM493 268V138.5h231.5V268H493Zm0 137.5V276h231.5v129.5H493Zm468 0H732.5V276H961v129.5ZM493 541V413.5h231.5V541H493Zm468 0H732.5V413.5H961V541Zm0-273H732.5V138.5H961V268ZM485 9v121.5H250.5V9H485ZM250.5 138.5H485V268H250.5V138.5ZM242.5 9v121.5H9V9h233.5ZM9 138.5h233.5V268H9V138.5ZM250.5 276H485v129.5H250.5V276Zm0 137.5H485V541H250.5V413.5Zm-8-137.5v129.5H9V276h233.5ZM9 541V413.5h233.5V541H9Z" }, null, -1)]], 8, kt));
407
408
  }
408
- }), jt = ["fill"], Mt = /* @__PURE__ */ w({
409
+ }), jt = ["fill"], Mt = /* @__PURE__ */ C({
409
410
  __name: "CuiCameraGridIcon20",
410
411
  props: { color: { default: "currentColor" } },
411
412
  setup(e) {
412
413
  let { color: t } = r(e);
413
- return (e, n) => (a(), _("svg", {
414
+ return (e, n) => (a(), g("svg", {
414
415
  xmlns: "http://www.w3.org/2000/svg",
415
416
  viewBox: "0 0 970 550",
416
417
  role: "img",
417
418
  "area-hidden": "true",
418
- fill: p(t)
419
- }, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 94v82H812.5V95H961Zm-156.5 82h-152V95h152v82ZM961 9v78H812.5V9H961ZM652.5 9h152v78h-152V9Zm0 176h152v83h-152v-83ZM961 268H812.5v-83H961v83Zm-308.5 8h152v82h-152v-82Zm160 0H961v82H812.5v-82Zm-168-181v82H493V95h151.5Zm0-86v78H493V9h151.5ZM493 268v-83h151.5v83H493Zm0 90v-82h151.5v82H493ZM9 9h476v259H9V9Zm952 357v82H812.5v-82H961Zm-156.5 0v82h-152v-82h152Zm-152 90h152v85h-152v-85ZM961 541H812.5v-85H961v85ZM644.5 366v82H493v-82h151.5ZM493 541v-85h151.5v85H493ZM9 276h476v265H9V276Z" }, null, -1)]], 8, jt));
419
+ fill: f(t)
420
+ }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 94v82H812.5V95H961Zm-156.5 82h-152V95h152v82ZM961 9v78H812.5V9H961ZM652.5 9h152v78h-152V9Zm0 176h152v83h-152v-83ZM961 268H812.5v-83H961v83Zm-308.5 8h152v82h-152v-82Zm160 0H961v82H812.5v-82Zm-168-181v82H493V95h151.5Zm0-86v78H493V9h151.5ZM493 268v-83h151.5v83H493Zm0 90v-82h151.5v82H493ZM9 9h476v259H9V9Zm952 357v82H812.5v-82H961Zm-156.5 0v82h-152v-82h152Zm-152 90h152v85h-152v-85ZM961 541H812.5v-85H961v85ZM644.5 366v82H493v-82h151.5ZM493 541v-85h151.5v85H493ZM9 276h476v265H9V276Z" }, null, -1)]], 8, jt));
420
421
  }
421
- }), Nt = ["fill"], Pt = /* @__PURE__ */ w({
422
+ }), Nt = ["fill"], Pt = /* @__PURE__ */ C({
422
423
  __name: "CuiCameraGridIcon26",
423
424
  props: { color: { default: "currentColor" } },
424
425
  setup(e) {
425
426
  let { color: t } = r(e);
426
- return (e, n) => (a(), _("svg", {
427
+ return (e, n) => (a(), g("svg", {
427
428
  xmlns: "http://www.w3.org/2000/svg",
428
429
  viewBox: "0 0 970 550",
429
430
  role: "img",
430
431
  "area-hidden": "true",
431
- fill: p(t)
432
- }, [...n[0] ||= [x("path", {
432
+ fill: f(t)
433
+ }, [...n[0] ||= [b("path", {
433
434
  "fill-rule": "evenodd",
434
435
  d: "M1.5 9A7.5 7.5 0 0 1 9 1.5h952a7.5 7.5 0 0 1 7.5 7.5v532a7.5 7.5 0 0 1-7.5 7.5H9a7.5 7.5 0 0 1-7.5-7.5V9Zm960 168V94h-153v83h153Zm-160 0h-153V94h153v83Zm7-90h153V9a.5.5 0 0 0-.5-.5H808.5V87Zm-7-78.5V87h-153V8.5h153Zm0 175.5v84.5h-153V184h153Zm7 84.5V184h153v84.5h-153Zm-167-91.5V94h-149v83h149Zm0-90V8.5h-149V87h149Zm-149 97h149v84.5h-149V184Zm0 91.5H719V402H492.5V275.5Zm0 133.5v132.5H719V409H492.5Zm233.5 0v132.5h235a.5.5 0 0 0 .5-.5V409H726Zm235.5-7V275.5H726V402h235.5Zm-476-270V8.5H252V132h233.5ZM245 139H8.5v129.5H245V139Zm0-7V8.5H9a.5.5 0 0 0-.5.5v123H245Zm240.5 136.5V139H252v129.5h233.5Zm-477 7h157v81H8.5v-81Zm164 81v-81h153v81h-153Zm153 7h-153v83h153v-83Zm7 83v-83h153v83h-153Zm-7 7h-153v88h153v-88Zm7 88v-88h153v88h-153Zm0-185v-81h153v81h-153Zm-324 7h157v83H8.5v-83Zm0 90h157v88H9a.5.5 0 0 1-.5-.5v-87.5Z"
435
436
  }, null, -1)]], 8, Nt));
436
437
  }
437
- }), Ft = ["fill"], It = /* @__PURE__ */ w({
438
+ }), Ft = ["fill"], It = /* @__PURE__ */ C({
438
439
  __name: "CuiCameraGridIcon4",
439
440
  props: { color: { default: "currentColor" } },
440
441
  setup(e) {
441
442
  let { color: t } = r(e);
442
- return (e, n) => (a(), _("svg", {
443
+ return (e, n) => (a(), g("svg", {
443
444
  xmlns: "http://www.w3.org/2000/svg",
444
445
  viewBox: "0 0 970 550",
445
446
  role: "img",
446
447
  "area-hidden": "true",
447
- fill: p(t)
448
- }, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v259H493V9h468ZM493 541V276h468v265H493ZM485 9v259H9V9h476ZM9 541V276h476v265H9Z" }, null, -1)]], 8, Ft));
448
+ fill: f(t)
449
+ }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm952 8v259H493V9h468ZM493 541V276h468v265H493ZM485 9v259H9V9h476ZM9 541V276h476v265H9Z" }, null, -1)]], 8, Ft));
449
450
  }
450
- }), Lt = ["fill"], Rt = /* @__PURE__ */ w({
451
+ }), Lt = ["fill"], Rt = /* @__PURE__ */ C({
451
452
  __name: "CuiCameraGridIcon6",
452
453
  props: { color: { default: "currentColor" } },
453
454
  setup(e) {
454
455
  let { color: t } = r(e);
455
- return (e, n) => (a(), _("svg", {
456
+ return (e, n) => (a(), g("svg", {
456
457
  xmlns: "http://www.w3.org/2000/svg",
457
458
  viewBox: "0 0 970 550",
458
459
  role: "img",
459
460
  "area-hidden": "true",
460
- fill: p(t)
461
- }, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm641.5 187.5H961v171H650.5v-171ZM961 9v171.5H650.5V9H961ZM642.5 9v350.5H9V9h633.5ZM9 541V367.5h315.5V541H9Zm323.5-173.5h310V541h-310V367.5Zm318 0H961V541H650.5V367.5Z" }, null, -1)]], 8, Lt));
461
+ fill: f(t)
462
+ }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm641.5 187.5H961v171H650.5v-171ZM961 9v171.5H650.5V9H961ZM642.5 9v350.5H9V9h633.5ZM9 541V367.5h315.5V541H9Zm323.5-173.5h310V541h-310V367.5Zm318 0H961V541H650.5V367.5Z" }, null, -1)]], 8, Lt));
462
463
  }
463
- }), zt = ["fill"], Bt = /* @__PURE__ */ w({
464
+ }), zt = ["fill"], Bt = /* @__PURE__ */ C({
464
465
  __name: "CuiCameraGridIcon7",
465
466
  props: { color: { default: "currentColor" } },
466
467
  setup(e) {
467
468
  let { color: t } = r(e);
468
- return (e, n) => (a(), _("svg", {
469
+ return (e, n) => (a(), g("svg", {
469
470
  xmlns: "http://www.w3.org/2000/svg",
470
471
  viewBox: "0 0 970 550",
471
472
  role: "img",
472
473
  "area-hidden": "true",
473
- fill: p(t)
474
- }, [...n[0] ||= [x("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm725.5 275H961v130H734.5V276Zm0 265V414H961v127H734.5Zm-8-265v130H493V276h233.5ZM493 541V414h233.5v127H493ZM9 276h476v265H9V276ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8, zt));
474
+ fill: f(t)
475
+ }, [...n[0] ||= [b("path", { d: "M9 1a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V9a8 8 0 0 0-8-8H9Zm725.5 275H961v130H734.5V276Zm0 265V414H961v127H734.5Zm-8-265v130H493V276h233.5ZM493 541V414h233.5v127H493ZM9 276h476v265H9V276ZM961 9v259H493V9h468ZM9 268V9h476v259H9Z" }, null, -1)]], 8, zt));
475
476
  }
476
- }), Vt = ["fill"], Ht = /* @__PURE__ */ w({
477
+ }), Vt = ["fill"], Ht = /* @__PURE__ */ C({
477
478
  __name: "CuiCameraGridIcon9",
478
479
  props: { color: { default: "currentColor" } },
479
480
  setup(e) {
480
481
  let { color: t } = r(e);
481
- return (e, n) => (a(), _("svg", {
482
+ return (e, n) => (a(), g("svg", {
482
483
  xmlns: "http://www.w3.org/2000/svg",
483
484
  viewBox: "0 0 970 550",
484
485
  role: "img",
485
486
  "area-hidden": "true",
486
- fill: p(t)
487
- }, [...n[0] ||= [x("path", { d: "M969.5 359v-.5h-.5V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V366.5h.5V359ZM961 187v171.5H651V187h310ZM651 541V366.5h310V541H651Zm-8-354v171.5H330V187h313ZM330 541V366.5h313V541H330Zm-8-354v171.5H9V187h313ZM9 541V366.5h313V541H9ZM961 9v170H651V9h310ZM643 9v170H330V9h313ZM322 9v170H9V9h313Z" }, null, -1)]], 8, Vt));
487
+ fill: f(t)
488
+ }, [...n[0] ||= [b("path", { d: "M969.5 359v-.5h-.5V9a8 8 0 0 0-8-8H9a8 8 0 0 0-8 8v532a8 8 0 0 0 8 8h952a8 8 0 0 0 8-8V366.5h.5V359ZM961 187v171.5H651V187h310ZM651 541V366.5h310V541H651Zm-8-354v171.5H330V187h313ZM330 541V366.5h313V541H330Zm-8-354v171.5H9V187h313ZM9 541V366.5h313V541H9ZM961 9v170H651V9h310ZM643 9v170H330V9h313ZM322 9v170H9V9h313Z" }, null, -1)]], 8, Vt));
488
489
  }
489
490
  }), Ut = {
490
491
  for: "name",
@@ -501,7 +502,7 @@ var vt = u({
501
502
  }, Yt = {
502
503
  key: 0,
503
504
  class: "text-red-500 text-center mb-5"
504
- }, 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__*/ A(/* @__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__*/ P(/* @__PURE__ */ C({
505
506
  __name: "CamviewForm",
506
507
  props: {
507
508
  form: {},
@@ -509,8 +510,8 @@ var vt = u({
509
510
  cameras: {},
510
511
  views: {}
511
512
  },
512
- setup(t, { expose: u }) {
513
- let v = new ie(), S = t, C = we(), w = I(), { t: D } = Ee(), te = n("dialogRefProps"), ne = be(), { user: ae } = Te(ne), { mutateAsync: oe, isPending: se } = v.createViewQuery(), { mutateAsync: ue, isPending: de } = v.patchViewQuery(), { form: A, type: fe, cameras: pe, views: me } = r(S), N = b("formRef"), he = T([
513
+ setup(t, { expose: l }) {
514
+ let _ = new ye(), x = t, S = we(), C = N(), { t: E } = Ee(), ne = n("dialogRefProps"), re = _e(), { user: ae } = Te(re), { mutateAsync: se, isPending: le } = _.createViewQuery(), { mutateAsync: de, isPending: fe } = _.patchViewQuery(), { form: A, type: pe, cameras: me, views: ge } = r(x), j = y("formRef"), ve = w([
514
515
  1,
515
516
  4,
516
517
  6,
@@ -523,14 +524,14 @@ var vt = u({
523
524
  16,
524
525
  20,
525
526
  26
526
- ]), _e = T(!0), ve = T(!0), P = T([]), ye = T(!!A.value), F = T(A.value ? ge(A.value) : {});
527
- !ye.value && fe.value === "view" && (F.value.viewSize = he.value[0]);
528
- let xe = m(() => !!(te.loading?.value || se.value || de.value));
529
- function Se(e) {
530
- let t = P.value.findIndex((t) => t.name === e.name);
531
- t === -1 ? P.value.push(e) : P.value.splice(t, 1);
532
- }
527
+ ]), be = w(!0), xe = w(!0), M = w([]), P = w(!!A.value), F = w(A.value ? he(A.value) : {});
528
+ !P.value && pe.value === "view" && (F.value.viewSize = ve.value[0]);
529
+ let Se = p(() => !!(ne.loading?.value || le.value || fe.value));
533
530
  function Ce(e) {
531
+ let t = M.value.findIndex((t) => t.name === e.name);
532
+ t === -1 ? M.value.push(e) : M.value.splice(t, 1);
533
+ }
534
+ function De(e) {
534
535
  switch (e) {
535
536
  case 1: return Ct;
536
537
  case 4: return It;
@@ -547,97 +548,97 @@ var vt = u({
547
548
  default: return Ct;
548
549
  }
549
550
  }
550
- async function De() {
551
- if (!N.value || !ae.value) return;
552
- let e = me.value.find((e) => e.name === F.value.name);
553
- if (e && !ye.value) return C.error("View already exists", e), w.add({
551
+ async function Oe() {
552
+ if (!j.value || !ae.value) return;
553
+ let e = ge.value.find((e) => e.name === F.value.name);
554
+ if (e && !P.value) return S.error("View already exists", e), C.add({
554
555
  severity: "error",
555
- detail: D("components.toast.validation_failed"),
556
+ detail: E("components.toast.validation_failed"),
556
557
  life: 3e3
557
558
  }), null;
558
- if (fe.value === "dnd") {
559
- if (ve.value) return C.error("No cameras selected"), w.add({
559
+ if (pe.value === "dnd") {
560
+ if (xe.value) return S.error("No cameras selected"), C.add({
560
561
  severity: "error",
561
- detail: D("components.toast.validation_failed"),
562
+ detail: E("components.toast.validation_failed"),
562
563
  life: 3e3
563
564
  }), null;
564
- let e = P.value.map((e, t) => ({
565
+ let e = M.value.map((e, t) => ({
565
566
  cameraId: e._id,
566
567
  index: t
567
568
  }));
568
- 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);
569
- let t = await N.value.validate();
570
- return t?.valid ? ye.value ? await ue({
569
+ F.value.cameras = e, F.value.type = "dnd", F.value.viewSize = 1, j.value.setFieldValue("type", "dnd"), j.value.setFieldValue("viewSize", 1), j.value.setFieldValue("cameras", e);
570
+ let t = await j.value.validate();
571
+ return t?.valid ? P.value ? await de({
571
572
  username: ae.value.username,
572
573
  viewid: F.value._id,
573
574
  viewData: F.value
574
- }) : await oe({
575
+ }) : await se({
575
576
  username: ae.value.username,
576
577
  viewData: F.value
577
- }) : (C.error("Validation failed", t), w.add({
578
+ }) : (S.error("Validation failed", t), C.add({
578
579
  severity: "error",
579
- detail: D("components.toast.validation_failed"),
580
+ detail: E("components.toast.validation_failed"),
580
581
  life: 3e3
581
582
  }), null);
582
583
  }
583
584
  {
584
- if (_e.value) return C.error("No view selected"), w.add({
585
+ if (be.value) return S.error("No view selected"), C.add({
585
586
  severity: "error",
586
- detail: D("components.toast.validation_failed"),
587
+ detail: E("components.toast.validation_failed"),
587
588
  life: 3e3
588
589
  }), null;
589
- F.value.cameras = [], F.value.type = "view", N.value.setFieldValue("type", "view"), N.value.setFieldValue("cameras", []);
590
- let e = await N.value.validate();
591
- return e?.valid ? ge(F.value) : (C.error("Validation failed", e), w.add({
590
+ F.value.cameras = [], F.value.type = "view", j.value.setFieldValue("type", "view"), j.value.setFieldValue("cameras", []);
591
+ let e = await j.value.validate();
592
+ return e?.valid ? he(F.value) : (S.error("Validation failed", e), C.add({
592
593
  severity: "error",
593
- detail: D("components.toast.validation_failed"),
594
+ detail: E("components.toast.validation_failed"),
594
595
  life: 3e3
595
596
  }), null);
596
597
  }
597
598
  }
598
- return g(F, (e) => {
599
- for (let [t, n] of Object.entries(e)) N.value?.setFieldValue(t, n);
600
- e.viewSize && (_e.value = !1), e.cameras?.length && (ve.value = !1);
599
+ return h(F, (e) => {
600
+ for (let [t, n] of Object.entries(e)) j.value?.setFieldValue(t, n);
601
+ e.viewSize && (be.value = !1), e.cameras?.length && (xe.value = !1);
601
602
  }, {
602
603
  deep: !0,
603
604
  immediate: !0
604
- }), g(P, (e) => {
605
- ve.value = e.length === 0;
606
- }, { deep: !0 }), ee(() => {
607
- P.value = pe.value?.filter((e) => F.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
608
- }), u({
609
- isLoading: xe,
610
- onConfirm: De
605
+ }), h(M, (e) => {
606
+ xe.value = e.length === 0;
607
+ }, { deep: !0 }), te(() => {
608
+ M.value = me.value?.filter((e) => F.value?.cameras?.some((t) => t.cameraId === e._id)) || [];
609
+ }), l({
610
+ isLoading: Se,
611
+ onConfirm: Oe
611
612
  }), (t, n) => {
612
- let r = L, u = j, m = Oe, g = le, v = M;
613
- return a(), d(p(ce), {
613
+ let r = I, l = O, p = ke, h = ie, _ = ue;
614
+ return a(), u(f(k), {
614
615
  ref_key: "formRef",
615
- ref: N,
616
+ ref: j,
616
617
  class: "flex flex-col gap-6",
617
- "validation-schema": p(re),
618
- "initial-values": p(F)
618
+ "validation-schema": f(D),
619
+ "initial-values": f(F)
619
620
  }, {
620
- default: h(() => [
621
- E(p(k), {
622
- modelValue: p(F).name,
623
- "onUpdate:modelValue": n[0] ||= (e) => p(F).name = e,
621
+ default: m(() => [
622
+ T(f(ce), {
623
+ modelValue: f(F).name,
624
+ "onUpdate:modelValue": n[0] ||= (e) => f(F).name = e,
624
625
  modelModifiers: { trim: !0 },
625
626
  name: "name",
626
627
  as: "div",
627
628
  class: "flex flex-col field-gap"
628
629
  }, {
629
- default: h(({ field: n, errors: i }) => [
630
- x("label", Ut, o(t.$t("components.form.label.name")), 1),
631
- E(u, null, {
632
- default: h(() => [E(r, s(n, {
630
+ default: m(({ field: n, errors: i }) => [
631
+ b("label", Ut, o(t.$t("components.form.label.name")), 1),
632
+ T(l, null, {
633
+ default: m(() => [T(r, s(n, {
633
634
  invalid: i.length > 0,
634
- loading: p(xe),
635
+ loading: f(Se),
635
636
  type: "text"
636
637
  }), null, 16, ["invalid", "loading"])]),
637
638
  _: 2
638
639
  }, 1024),
639
- E(e, { name: "fade" }, {
640
- default: h(() => [E(p(O), {
640
+ T(e, { name: "fade" }, {
641
+ default: m(() => [T(f(oe), {
641
642
  name: "name",
642
643
  class: "cui-input-error"
643
644
  })]),
@@ -646,35 +647,35 @@ var vt = u({
646
647
  ]),
647
648
  _: 1
648
649
  }, 8, ["modelValue"]),
649
- E(m, { class: "m-0 py-3" }),
650
- p(fe) === "dnd" ? (a(), _("div", Wt, [E(e, { name: "fade" }, {
651
- default: h(() => [p(ve) ? (a(), _("span", Gt, o(t.$t("components.form.error.no_cameras_selected")), 1)) : f("", !0)]),
650
+ T(p, { class: "m-0 py-3" }),
651
+ f(pe) === "dnd" ? (a(), g("div", Wt, [T(e, { name: "fade" }, {
652
+ default: m(() => [f(xe) ? (a(), g("span", Gt, o(t.$t("components.form.error.no_cameras_selected")), 1)) : d("", !0)]),
652
653
  _: 1
653
- }), 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", {
654
+ }), b("div", Kt, [b("label", qt, o(t.$t("components.form.label.cameras")), 1), (a(!0), g(v, null, i(f(me), (e, t) => (a(), g("div", {
654
655
  key: t,
655
656
  class: "cui-list-item"
656
- }, [E(v, {
657
+ }, [T(_, {
657
658
  class: "h-14",
658
- active: p(P).some((t) => t.name === e.name),
659
- onClick: (t) => Se(e)
659
+ active: f(M).some((t) => t.name === e.name),
660
+ onClick: (t) => Ce(e)
660
661
  }, {
661
- append: h(() => [E(g, {
662
- "model-value": p(P).some((t) => t.name === e.name),
663
- "onUpdate:modelValue": (t) => Se(e)
662
+ append: m(() => [T(h, {
663
+ "model-value": f(M).some((t) => t.name === e.name),
664
+ "onUpdate:modelValue": (t) => Ce(e)
664
665
  }, null, 8, ["model-value", "onUpdate:modelValue"])]),
665
- default: h(() => [x("span", null, o(e.name), 1)]),
666
+ default: m(() => [b("span", null, o(e.name), 1)]),
666
667
  _: 2
667
- }, 1032, ["active", "onClick"])]))), 128))])])) : (a(), _("div", Jt, [E(e, { name: "fade" }, {
668
- default: h(() => [p(_e) ? (a(), _("span", Yt, o(t.$t("components.form.error.no_view_selected")), 1)) : f("", !0)]),
668
+ }, 1032, ["active", "onClick"])]))), 128))])])) : (a(), g("div", Jt, [T(e, { name: "fade" }, {
669
+ default: m(() => [f(be) ? (a(), g("span", Yt, o(t.$t("components.form.error.no_view_selected")), 1)) : d("", !0)]),
669
670
  _: 1
670
- }), x("div", Xt, [x("label", Zt, o(t.$t("components.form.label.views")), 1), x("div", Qt, [(a(!0), _(y, null, i(p(he), (e) => (a(), _("div", {
671
+ }), b("div", Xt, [b("label", Zt, o(t.$t("components.form.label.views")), 1), b("div", Qt, [(a(!0), g(v, null, i(f(ve), (e) => (a(), g("div", {
671
672
  key: e,
672
673
  class: "view-select-item w-full",
673
- onClick: (t) => p(F).viewSize = e
674
- }, [x("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": p(F).viewSize === e }]) }, [(a(), d(l(Ce(e)), { style: {
674
+ onClick: (t) => f(F).viewSize = e
675
+ }, [b("div", { class: c(["view-select-item-icon w-full p-3", { "selected-view": f(F).viewSize === e }]) }, [(a(), u(ee(De(e)), { style: {
675
676
  width: "100%",
676
677
  height: "100%"
677
- } }))], 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))])])]))
678
+ } }))], 2), b("span", { class: c(["view-select-item-label text-muted mt-3 px-2 py-1 cui-rounded-corners", { "selected-view-label": f(F).viewSize === e }]) }, o(e) + " " + o(t.$t("views.camview.cameras")), 3)], 8, $t))), 128))])])]))
678
679
  ]),
679
680
  _: 1
680
681
  }, 8, ["validation-schema", "initial-values"]);
@@ -686,40 +687,40 @@ var vt = u({
686
687
  }, rn = {
687
688
  key: 1,
688
689
  class: "flex flex-col w-full h-full"
689
- }, 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__*/ A(/* @__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__*/ P(/* @__PURE__ */ C({
690
691
  __name: "Camview",
691
692
  props: {
692
693
  navbarWidth: { default: 0 },
693
694
  navbarLeft: { default: 0 }
694
695
  },
695
696
  setup(t) {
696
- let n = new ie(), i = new ye(), u = t, y = Ee(), { t: C } = y, w = Ce(), ee = F(), { bottombarHeight: re } = pe(), { smBreakpoint: O, lgBreakpoint: k, mdBreakpoint: ce } = ue(), le = be(), { user: A } = Te(le), j = he(), { uiSettings: M } = Te(j), { data: I, isLoading: we } = i.getCamerasQuery({
697
+ let n = new ye(), i = new le(), l = t, v = Ee(), { t: S } = v, C = j(), te = be(), { bottombarHeight: ie } = de(), { smBreakpoint: D, lgBreakpoint: O, mdBreakpoint: oe } = ae(), ce = _e(), { user: k } = Te(ce), ue = A(), { uiSettings: N } = Te(ue), { data: P, isLoading: we } = i.getCamerasQuery({
697
698
  page: 1,
698
699
  pageSize: -1
699
- }), { data: L, isLoading: Pe } = n.getViewsQuery(A.value?.username ?? "", {
700
+ }), { data: I, isLoading: Fe } = n.getViewsQuery(k.value?.username ?? "", {
700
701
  page: 1,
701
702
  pageSize: -1
702
- }), { 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), ot = T(!0), G = T("always-on"), K = T("low-resolution"), q = T("auto"), J = T([]), lt = T(), dt = T(null), ft = D({
703
+ }), { mutate: Re, isPending: ze } = n.removeViewQuery(), { mutateAsync: Ve, isPending: He } = n.createViewQuery(), { mutateAsync: We, isPending: Ge } = n.patchViewQuery(), { mutateAsync: qe } = n.patchViewQuerySilent(), { navbarWidth: Je, navbarLeft: Xe } = r(l), Ze = y("menuRef"), $e = y("newViewMenuRef"), et = y("cardFitMenuRef"), L = y("viewDndRef"), R = w({}), z = w(!1), B = w(!1), V = w(!1), H = w(!1), U = w(!1), at = w(!1), W = w(!0), G = w("always-on"), K = w("low-resolution"), q = w("auto"), J = w([]), lt = w(), dt = w(null), ft = E({
703
704
  sourceRole: K.value,
704
705
  activityMode: G.value,
705
706
  streamingMode: q.value
706
- }), Y = m(() => we.value || Pe.value || Re.value || Ve.value || We.value), mt = m(() => qe.value + Ye.value), gt = m(() => ({
707
- locale: y.locale.value,
708
- dayNames: w.config.locale?.dayNames,
709
- dayNamesShort: w.config.locale?.dayNamesShort,
710
- monthNames: w.config.locale?.monthNames,
711
- monthNamesShort: w.config.locale?.monthNamesShort
712
- })), _t = m(() => lt.value ?? Q.value?.cardFit ?? "aspect"), yt = m(() => [
707
+ }), Y = p(() => we.value || Fe.value || ze.value || He.value || Ge.value), mt = p(() => Je.value + Xe.value), gt = p(() => ({
708
+ locale: v.locale.value,
709
+ dayNames: C.config.locale?.dayNames,
710
+ dayNamesShort: C.config.locale?.dayNamesShort,
711
+ monthNames: C.config.locale?.monthNames,
712
+ monthNamesShort: C.config.locale?.monthNamesShort
713
+ })), _t = p(() => lt.value ?? Q.value?.cardFit ?? "aspect"), yt = p(() => [
713
714
  "aspect",
714
715
  "contain",
715
716
  "fill",
716
717
  "cover"
717
718
  ].map((e) => ({
718
- label: C(`views.camview.card_fit_${e}`),
719
- description: C(`views.camview.card_fit_${e}_info`),
719
+ label: S(`views.camview.card_fit_${e}`),
720
+ description: S(`views.camview.card_fit_${e}_info`),
720
721
  active: _t.value === e,
721
722
  onClick: () => Ut(e)
722
- }))), bt = m(() => ({
723
+ }))), bt = p(() => ({
723
724
  doubleClickZoom: !1,
724
725
  flatCard: !0,
725
726
  cardFit: _t.value,
@@ -727,83 +728,83 @@ var vt = u({
727
728
  control: !0,
728
729
  toolbar: !1,
729
730
  expandableCard: (Q.value?.cameras?.length ?? 0) > 1,
730
- detectionIndicatorOverlay: !H.value && Z.value,
731
- detectionIconsOverlay: !H.value && Z.value,
731
+ detectionIndicatorOverlay: !V.value && Z.value,
732
+ detectionIconsOverlay: !V.value && Z.value,
732
733
  boundingBoxOverlay: !1,
733
734
  cardClickAction: "expand",
734
735
  viewTransition: !0,
735
736
  cardProps: { pt: { root: { style: "background: #000" } } }
736
- })), xt = m(() => L.value?.result.length ? k.value ? {
737
- width: W.value ? "calc(100% - 400px)" : "100%",
737
+ })), xt = p(() => I.value?.result.length ? O.value ? {
738
+ width: U.value ? "calc(100% - 400px)" : "100%",
738
739
  height: "100%",
739
740
  overflowY: "scroll"
740
741
  } : {
741
742
  height: "100%",
742
- paddingBottom: W.value ? re.value > 0 ? "200px" : "192px" : "0px",
743
+ paddingBottom: U.value ? ie.value > 0 ? "200px" : "192px" : "0px",
743
744
  overflowY: "scroll"
744
745
  } : {
745
746
  width: "100%",
746
747
  height: "100%",
747
748
  overflowY: "scroll"
748
- }), X = m(() => B.value || V.value), Ct = m(() => !!R.value?.isFullscreen), Z = m(() => M.value.camview.detections !== !1), wt = m(() => [
749
+ }), X = p(() => z.value || B.value), Ct = p(() => !!L.value?.isFullscreen), Z = p(() => N.value.camview.detections !== !1), wt = p(() => [
749
750
  {
750
- label: Ct.value ? C("components.form.tooltip.fullscreen_off") : C("components.form.tooltip.fullscreen_on"),
751
- icon: Ct.value ? xe : ne,
751
+ label: Ct.value ? S("components.form.tooltip.fullscreen_off") : S("components.form.tooltip.fullscreen_on"),
752
+ icon: Ct.value ? Se : ge,
752
753
  command: Wt
753
754
  },
754
755
  {
755
- label: ot.value ? C("components.form.tooltip.unmute") : C("components.form.tooltip.mute"),
756
- icon: ot.value ? nt : tt,
756
+ label: W.value ? S("components.form.tooltip.unmute") : S("components.form.tooltip.mute"),
757
+ icon: W.value ? rt : nt,
757
758
  command: Gt
758
759
  },
759
760
  {
760
- label: C("components.form.tooltip.intercom"),
761
- icon: ae,
761
+ label: S("components.form.tooltip.intercom"),
762
+ icon: ve,
762
763
  command: () => Mt("intercom")
763
764
  },
764
765
  {
765
- label: q.value === "auto" ? `${C("components.form.tooltip.mode")}: ${C("components.form.tooltip.streaming_mode_auto")}` : q.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")}`,
766
- icon: q.value === "auto" ? at : q.value === "webrtc" ? vt : Ze,
766
+ label: q.value === "auto" ? `${S("components.form.tooltip.mode")}: ${S("components.form.tooltip.streaming_mode_auto")}` : q.value === "webrtc" ? `${S("components.form.tooltip.mode")}: ${S("components.form.tooltip.streaming_mode_webrtc")}` : `${S("components.form.tooltip.mode")}: ${S("components.form.tooltip.streaming_mode_mse")}`,
767
+ icon: q.value === "auto" ? ot : q.value === "webrtc" ? vt : Qe,
767
768
  command: () => Jt()
768
769
  },
769
770
  {
770
- label: G.value === "always-on" ? C("components.form.tooltip.activity_mode_always_on") : G.value === "standby" ? C("components.form.tooltip.activity_mode_standby") : C("components.form.tooltip.activity_mode_activity"),
771
- icon: G.value === "always-on" ? ct : G.value === "standby" ? rt : et,
771
+ label: G.value === "always-on" ? S("components.form.tooltip.activity_mode_always_on") : G.value === "standby" ? S("components.form.tooltip.activity_mode_standby") : S("components.form.tooltip.activity_mode_activity"),
772
+ icon: G.value === "always-on" ? ct : G.value === "standby" ? it : tt,
772
773
  command: () => Kt()
773
774
  },
774
775
  {
775
- label: K.value === "low-resolution" ? `${C("components.form.tooltip.resolution")}: ${C("components.form.tooltip.source_role_low")}` : K.value === "mid-resolution" ? `${C("components.form.tooltip.resolution")}: ${C("components.form.tooltip.source_role_mid")}` : `${C("components.form.tooltip.resolution")}: ${C("components.form.tooltip.source_role_high")}`,
776
+ label: K.value === "low-resolution" ? `${S("components.form.tooltip.resolution")}: ${S("components.form.tooltip.source_role_low")}` : K.value === "mid-resolution" ? `${S("components.form.tooltip.resolution")}: ${S("components.form.tooltip.source_role_mid")}` : `${S("components.form.tooltip.resolution")}: ${S("components.form.tooltip.source_role_high")}`,
776
777
  icon: K.value === "low-resolution" ? pt : K.value === "mid-resolution" ? ht : ut,
777
778
  command: () => qt()
778
779
  },
779
780
  {
780
- label: `${C("components.form.tooltip.detections")}: ${Z.value ? C("components.form.tooltip.detections_on") : C("components.form.tooltip.detections_off")}`,
781
- icon: Z.value ? ve : N,
782
- command: () => M.value.camview.detections = !Z.value
781
+ label: `${S("components.form.tooltip.detections")}: ${Z.value ? S("components.form.tooltip.detections_on") : S("components.form.tooltip.detections_off")}`,
782
+ icon: Z.value ? De : pe,
783
+ command: () => N.value.camview.detections = !Z.value
783
784
  }
784
- ]), Q = m(() => {
785
- let e = L.value?.result.find((e) => e._id === M.value.camview.viewid) || L.value?.result[0];
786
- return e ? (z.value = e, M.value.camview.viewid = e._id) : z.value = {}, e;
787
- }), $ = m(() => Q.value?.cameras?.map((e) => e.cameraId) ?? []), Tt = m(() => {
785
+ ]), Q = p(() => {
786
+ let e = I.value?.result.find((e) => e._id === N.value.camview.viewid) || I.value?.result[0];
787
+ return e ? (R.value = e, N.value.camview.viewid = e._id) : R.value = {}, e;
788
+ }), $ = p(() => Q.value?.cameras?.map((e) => e.cameraId) ?? []), Tt = p(() => {
788
789
  let e = dt.value;
789
790
  return e && $.value.includes(e) ? [e] : $.value;
790
- }), Et = m(() => {
791
+ }), Et = p(() => {
791
792
  let e = {};
792
- for (let t of I.value?.result ?? []) e[t._id] = t.name;
793
+ for (let t of P.value?.result ?? []) e[t._id] = t.name;
793
794
  return e;
794
- }), { master: Dt } = me($, {
795
+ }), { master: Dt } = xe($, {
795
796
  sourceRole: "low",
796
797
  activeIds: Tt
797
- }), Ot = m(() => Dt.mode.value !== "idle" && Dt.currentTimestamp.value > 0 ? Math.floor(Dt.currentTimestamp.value / 1e3) : void 0), kt = m(() => X.value && z.value.viewSize > 0 ? z.value.viewSize : Q.value ? Q.value.viewSize : 1), At = m(() => {
798
+ }), Ot = p(() => Dt.mode.value !== "idle" && Dt.currentTimestamp.value > 0 ? Math.floor(Dt.currentTimestamp.value / 1e3) : void 0), kt = p(() => X.value && R.value.viewSize > 0 ? R.value.viewSize : Q.value ? Q.value.viewSize : 1), At = p(() => {
798
799
  let e = [];
799
- for (let t of L.value?.result || []) e.push({
800
+ for (let t of I.value?.result || []) e.push({
800
801
  label: t.name,
801
802
  active: t._id === Q.value?._id,
802
803
  onClick: () => Nt(t)
803
804
  });
804
805
  return e;
805
- }), jt = m(() => [{
806
- label: C("views.camview.new_view"),
806
+ }), jt = p(() => [{
807
+ label: S("views.camview.new_view"),
807
808
  icon: st,
808
809
  onClick: () => Mt("newView")
809
810
  }]);
@@ -811,32 +812,32 @@ var vt = u({
811
812
  switch (e) {
812
813
  case "newView":
813
814
  case "editView": {
814
- let t = e === "editView", n = C(t ? "components.dialog.title.edit_view" : "components.dialog.title.new_view");
815
- t ? B.value = !0 : V.value = !0, ee.openComponentDialog(en, {
815
+ let t = e === "editView", n = S(t ? "components.dialog.title.edit_view" : "components.dialog.title.new_view");
816
+ t ? z.value = !0 : B.value = !0, te.openComponentDialog(en, {
816
817
  data: {
817
818
  title: n,
818
819
  loading: Y,
819
- confirmText: C("components.form.button.next"),
820
+ confirmText: S("components.form.button.next"),
820
821
  contentProps: {
821
- form: t ? z.value : void 0,
822
+ form: t ? R.value : void 0,
822
823
  type: "view",
823
- cameras: I.value?.result || [],
824
- views: L.value?.result || []
824
+ cameras: P.value?.result || [],
825
+ views: I.value?.result || []
825
826
  }
826
827
  },
827
828
  onConfirm: (e) => {
828
- e && (z.value = e);
829
+ e && (R.value = e);
829
830
  },
830
831
  onCancel: () => {
831
- V.value = !1;
832
+ B.value = !1;
832
833
  }
833
834
  });
834
835
  break;
835
836
  }
836
837
  case "intercom":
837
- ee.openComponentDialog(St, {
838
+ te.openComponentDialog(St, {
838
839
  data: {
839
- title: C("components.dialog.title.intercom"),
840
+ title: S("components.dialog.title.intercom"),
840
841
  hideConfirmButton: !0,
841
842
  loading: Y,
842
843
  contentProps: {}
@@ -844,11 +845,11 @@ var vt = u({
844
845
  events: { listening: Yt }
845
846
  });
846
847
  break;
847
- case "removeView": ee.openTextDialog({
848
+ case "removeView": te.openTextDialog({
848
849
  data: {
849
- title: C("components.dialog.title.confirm"),
850
- confirmText: C("components.form.button.remove"),
851
- contentText: C("components.dialog.message.confirm_remove_layout"),
850
+ title: S("components.dialog.title.confirm"),
851
+ confirmText: S("components.form.button.remove"),
852
+ contentText: S("components.dialog.message.confirm_remove_layout"),
852
853
  confirmButtonProps: { severity: "danger" }
853
854
  },
854
855
  onConfirm: Pt
@@ -856,18 +857,18 @@ var vt = u({
856
857
  }
857
858
  }
858
859
  function Nt(e) {
859
- M.value.camview.viewid = e._id;
860
+ N.value.camview.viewid = e._id;
860
861
  }
861
862
  function Pt() {
862
- Q.value && A.value && Le({
863
- username: A.value.username,
863
+ Q.value && k.value && Re({
864
+ username: k.value.username,
864
865
  viewid: Q.value._id
865
866
  }, { onSuccess: (e) => {
866
- e.length ? M.value.camview.viewid = e[0]._id : M.value.camview.viewid = void 0;
867
+ e.length ? N.value.camview.viewid = e[0]._id : N.value.camview.viewid = void 0;
867
868
  } });
868
869
  }
869
870
  async function Ft() {
870
- if (!A.value || Object.keys(z.value).length === 0) return;
871
+ if (!k.value || Object.keys(R.value).length === 0) return;
871
872
  let e = J.value.filter((e) => e.lastDroppedCamera).map((e) => ({
872
873
  cameraId: e.lastDroppedCamera._id,
873
874
  index: e.index,
@@ -875,13 +876,13 @@ var vt = u({
875
876
  rowSpan: e.rowSpan
876
877
  })).sort((e, t) => e.index - t.index);
877
878
  if (!e.length) return;
878
- let t = ge(z.value);
879
- t.cameras = e, t._id ? Ht(await Ue({
880
- username: A.value.username,
879
+ let t = he(R.value);
880
+ t.cameras = e, t._id ? Ht(await We({
881
+ username: k.value.username,
881
882
  viewid: t._id,
882
883
  viewData: t
883
- })) : Ht(await Be({
884
- username: A.value.username,
884
+ })) : Ht(await Ve({
885
+ username: k.value.username,
885
886
  viewData: t
886
887
  }));
887
888
  }
@@ -892,11 +893,11 @@ var vt = u({
892
893
  J.value = J.value.map((t) => (t.lastDroppedCamera?.name === e.name && (t.lastDroppedCamera = void 0), t));
893
894
  }
894
895
  function Rt(e) {
895
- return `${O.value ? "mobile" : "desktop"}:${e}`;
896
+ return `${D.value ? "mobile" : "desktop"}:${e}`;
896
897
  }
897
898
  function zt(e) {
898
899
  let t = Q.value?._id;
899
- t && (M.value.camview.layouts || (M.value.camview.layouts = {}), M.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) => ({
900
901
  index: e.index,
901
902
  cameraId: e.cameraId,
902
903
  x: e.x ?? 0,
@@ -910,17 +911,17 @@ var vt = u({
910
911
  }
911
912
  function Vt(e) {
912
913
  let t = dt.value;
913
- t && e.cameraId && e.cameraId !== t && $.value.includes(e.cameraId) && R.value?.expandCameraById(e.cameraId);
914
+ t && e.cameraId && e.cameraId !== t && $.value.includes(e.cameraId) && L.value?.expandCameraById(e.cameraId);
914
915
  }
915
916
  function Ht(e) {
916
- M.value.camview.viewid = e._id, V.value = !1, B.value = !1;
917
+ N.value.camview.viewid = e._id, B.value = !1, z.value = !1;
917
918
  }
918
919
  async function Ut(e) {
919
- let t = Q.value, n = A.value?.username;
920
+ let t = Q.value, n = k.value?.username;
920
921
  if (t && n && _t.value !== e) {
921
922
  lt.value = e;
922
923
  try {
923
- await Ke({
924
+ await qe({
924
925
  username: n,
925
926
  viewid: t._id,
926
927
  viewData: { cardFit: e }
@@ -931,272 +932,272 @@ var vt = u({
931
932
  }
932
933
  }
933
934
  function Wt() {
934
- R.value?.toggleFullscreen();
935
+ L.value?.toggleFullscreen();
935
936
  }
936
937
  function Gt() {
937
- ot.value = !ot.value, R.value?.toggleAllPlayerMute(ot.value);
938
+ W.value = !W.value, L.value?.toggleAllPlayerMute(W.value);
938
939
  }
939
940
  function Kt(e) {
940
941
  let t = G.value;
941
- t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"), R.value?.toggleAllPlayerActivityMode(t), G.value = t;
942
+ t = e || (t === "always-on" ? "standby" : t === "standby" ? "activity" : "always-on"), L.value?.toggleAllPlayerActivityMode(t), G.value = t;
942
943
  }
943
944
  async function qt(e) {
944
945
  let t = K.value;
945
- t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await R.value?.toggleAllPlayerSourceRole(t), K.value = t;
946
+ t = e || (t === "low-resolution" ? "mid-resolution" : t === "mid-resolution" ? "high-resolution" : "low-resolution"), await L.value?.toggleAllPlayerSourceRole(t), K.value = t;
946
947
  }
947
948
  async function Jt(e) {
948
949
  let t = q.value;
949
950
  t === "auto" && (t = "webrtc");
950
951
  let n = e || (t === "mse" ? "webrtc" : "mse");
951
- await R.value?.toggleAllPlayerStreamingMode(n), q.value = n;
952
+ await L.value?.toggleAllPlayerStreamingMode(n), q.value = n;
952
953
  }
953
954
  async function Yt(e) {
954
- await R.value?.toggleAllPlayerMicrophone(e);
955
+ await L.value?.toggleAllPlayerMicrophone(e);
955
956
  }
956
- return g(U, (e) => {
957
- e && (it.value = !0);
958
- }), g(() => Q.value?._id, () => {
957
+ return h(H, (e) => {
958
+ e && (at.value = !0);
959
+ }), h(() => Q.value?._id, () => {
959
960
  lt.value = void 0;
960
- }), g([
961
+ }), h([
961
962
  kt,
962
963
  Q,
963
- I,
964
+ P,
964
965
  X,
965
- M,
966
- O
966
+ N,
967
+ D
967
968
  ], () => {
968
969
  let e = Array.from({ length: kt.value }).map((e, t) => ({
969
970
  accept: "camera",
970
971
  index: t,
971
972
  lastDroppedCamera: void 0
972
973
  }));
973
- if (!V.value) {
974
- let t = Q.value?._id, n = t ? Rt(t) : void 0, r = n ? M.value.camview.layouts?.[n] : void 0, i = new Set(I.value?.result.map((e) => e._id) ?? []), a = !1;
974
+ if (!B.value) {
975
+ let t = Q.value?._id, n = t ? Rt(t) : void 0, r = n ? N.value.camview.layouts?.[n] : void 0, i = new Set(P.value?.result.map((e) => e._id) ?? []), a = !1;
975
976
  for (let t of Q.value?.cameras || []) {
976
977
  if (!e[t.index]) continue;
977
- let n = I.value?.result.find((e) => e._id === t.cameraId);
978
+ let n = P.value?.result.find((e) => e._id === t.cameraId);
978
979
  e[t.index].lastDroppedCamera = n;
979
980
  let o = r?.find((e) => e.index === t.index);
980
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);
981
982
  }
982
- a && n && M.value.camview.layouts?.[n] && (M.value.camview.layouts[n] = M.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)));
983
984
  }
984
985
  J.value = e;
985
986
  }, {
986
987
  deep: !0,
987
988
  immediate: !0
988
989
  }), (t, n) => {
989
- let r = Ie, i = Me, u = _e, m = Je, g = Ge, y = He, b = de, C = fe, w = Oe, T = Ae, D = ze, ee = Ne, ne = Fe, ie = Se, ae = P, le = De, ue = ke, A = oe, j = te;
990
- return a(), _("div", tn, [
991
- E(ne, {
992
- "left-offset": p(mt),
990
+ let r = Le, i = Ne, l = M, p = Ye, h = Ke, v = Ue, y = re, S = F, C = ke, w = je, E = Be, te = Pe, ae = Ie, ce = Ce, le = me, k = Oe, ue = Ae, de = fe, A = ne;
991
+ return a(), g("div", tn, [
992
+ T(ae, {
993
+ "left-offset": f(mt),
993
994
  animate: ""
994
995
  }, {
995
- left: h(() => [!p(V) && p(Q) ? (a(), d(r, {
996
+ left: m(() => [!f(B) && f(Q) ? (a(), u(r, {
996
997
  key: 0,
997
998
  type: "dropdown",
998
- label: p(Q).name,
999
- "menu-open": p(Xe)?.isOpen,
1000
- disabled: p(Y) || p(B),
1001
- onClick: n[0] ||= (e) => p(Xe)?.toggleMenu(e)
999
+ label: f(Q).name,
1000
+ "menu-open": f(Ze)?.isOpen,
1001
+ disabled: f(Y) || f(z),
1002
+ onClick: n[0] ||= (e) => f(Ze)?.toggleMenu(e)
1002
1003
  }, null, 8, [
1003
1004
  "label",
1004
1005
  "menu-open",
1005
1006
  "disabled"
1006
- ])) : p(V) && p(z).name ? (a(), d(r, {
1007
+ ])) : f(B) && f(R).name ? (a(), u(r, {
1007
1008
  key: 1,
1008
- label: p(z).name,
1009
- disabled: p(Y)
1010
- }, null, 8, ["label", "disabled"])) : f("", !0)]),
1011
- right: h(() => [
1012
- !p(X) && p(Q) ? S((a(), d(r, {
1009
+ label: f(R).name,
1010
+ disabled: f(Y)
1011
+ }, null, 8, ["label", "disabled"])) : d("", !0)]),
1012
+ right: m(() => [
1013
+ !f(X) && f(Q) ? x((a(), u(r, {
1013
1014
  key: 0,
1014
- active: p(H),
1015
- onClick: n[1] ||= (e) => H.value = !p(H)
1015
+ active: f(V),
1016
+ onClick: n[1] ||= (e) => V.value = !f(V)
1016
1017
  }, {
1017
- icon: h(() => [p(H) ? (a(), d(u, {
1018
+ icon: m(() => [f(V) ? (a(), u(l, {
1018
1019
  key: 1,
1019
1020
  width: "100%",
1020
1021
  height: "100%"
1021
- })) : (a(), d(i, {
1022
+ })) : (a(), u(i, {
1022
1023
  key: 0,
1023
1024
  width: "100%",
1024
1025
  height: "100%"
1025
1026
  }))]),
1026
1027
  _: 1
1027
1028
  }, 8, ["active"])), [[
1028
- j,
1029
- { value: p(H) ? t.$t("views.camview.rearrange_done") : t.$t("views.camview.rearrange") },
1029
+ A,
1030
+ { value: f(V) ? t.$t("views.camview.rearrange_done") : t.$t("views.camview.rearrange") },
1030
1031
  void 0,
1031
1032
  { bottom: !0 }
1032
- ]]) : f("", !0),
1033
- !p(X) && p(Q) && p(H) && !p(O) ? S((a(), d(r, {
1033
+ ]]) : d("", !0),
1034
+ !f(X) && f(Q) && f(V) && !f(D) ? x((a(), u(r, {
1034
1035
  key: 1,
1035
- onClick: n[2] ||= (e) => p(R)?.fitAspectRatios()
1036
+ onClick: n[2] ||= (e) => f(L)?.fitAspectRatios()
1036
1037
  }, {
1037
- icon: h(() => [E(m, {
1038
+ icon: m(() => [T(p, {
1038
1039
  width: "100%",
1039
1040
  height: "100%"
1040
1041
  })]),
1041
1042
  _: 1
1042
1043
  })), [[
1043
- j,
1044
+ A,
1044
1045
  { value: t.$t("views.camview.rearrange_fit_aspect") },
1045
1046
  void 0,
1046
1047
  { bottom: !0 }
1047
- ]]) : f("", !0),
1048
- !p(X) && p(Q) && p(H) && !p(O) ? S((a(), d(r, {
1048
+ ]]) : d("", !0),
1049
+ !f(X) && f(Q) && f(V) && !f(D) ? x((a(), u(r, {
1049
1050
  key: 2,
1050
- onClick: n[3] ||= (e) => p(R)?.compactGrid()
1051
+ onClick: n[3] ||= (e) => f(L)?.compactGrid()
1051
1052
  }, {
1052
- icon: h(() => [E(g, {
1053
+ icon: m(() => [T(h, {
1053
1054
  width: "100%",
1054
1055
  height: "100%"
1055
1056
  })]),
1056
1057
  _: 1
1057
1058
  })), [[
1058
- j,
1059
+ A,
1059
1060
  { value: t.$t("views.camview.rearrange_auto") },
1060
1061
  void 0,
1061
1062
  { bottom: !0 }
1062
- ]]) : f("", !0),
1063
- !p(X) && p(Q) ? S((a(), d(r, {
1063
+ ]]) : d("", !0),
1064
+ !f(X) && f(Q) ? x((a(), u(r, {
1064
1065
  key: 3,
1065
- active: p(_t) !== "aspect",
1066
- "menu-open": p($e)?.isOpen,
1067
- onClick: n[4] ||= (e) => p($e)?.toggleMenu(e)
1066
+ active: f(_t) !== "aspect",
1067
+ "menu-open": f(et)?.isOpen,
1068
+ onClick: n[4] ||= (e) => f(et)?.toggleMenu(e)
1068
1069
  }, {
1069
- icon: h(() => [E(y, {
1070
+ icon: m(() => [T(v, {
1070
1071
  width: "100%",
1071
1072
  height: "100%"
1072
1073
  })]),
1073
1074
  _: 1
1074
1075
  }, 8, ["active", "menu-open"])), [[
1075
- j,
1076
+ A,
1076
1077
  { value: t.$t("views.camview.card_fit") },
1077
1078
  void 0,
1078
1079
  { bottom: !0 }
1079
- ]]) : f("", !0),
1080
- !p(X) && p(Q) ? S((a(), d(r, {
1080
+ ]]) : d("", !0),
1081
+ !f(X) && f(Q) ? x((a(), u(r, {
1081
1082
  key: 4,
1082
- active: p(U),
1083
- onClick: n[5] ||= (e) => U.value = !p(U)
1083
+ active: f(H),
1084
+ onClick: n[5] ||= (e) => H.value = !f(H)
1084
1085
  }, {
1085
- icon: h(() => [p(U) ? (a(), d(C, {
1086
+ icon: m(() => [f(H) ? (a(), u(S, {
1086
1087
  key: 1,
1087
1088
  width: "100%",
1088
1089
  height: "100%"
1089
- })) : (a(), d(b, {
1090
+ })) : (a(), u(y, {
1090
1091
  key: 0,
1091
1092
  width: "100%",
1092
1093
  height: "100%"
1093
1094
  }))]),
1094
1095
  _: 1
1095
1096
  }, 8, ["active"])), [[
1096
- j,
1097
- { value: p(U) ? t.$t("components.form.tooltip.hide_timeline") : t.$t("components.form.tooltip.show_timeline") },
1097
+ A,
1098
+ { value: f(H) ? t.$t("components.form.tooltip.hide_timeline") : t.$t("components.form.tooltip.show_timeline") },
1098
1099
  void 0,
1099
1100
  { bottom: !0 }
1100
- ]]) : f("", !0),
1101
- !p(X) && p(Q) ? (a(), d(w, {
1101
+ ]]) : d("", !0),
1102
+ !f(X) && f(Q) ? (a(), u(C, {
1102
1103
  key: 5,
1103
1104
  layout: "vertical"
1104
- })) : f("", !0),
1105
- !p(X) && p(Q) ? S((a(), d(r, {
1105
+ })) : d("", !0),
1106
+ !f(X) && f(Q) ? x((a(), u(r, {
1106
1107
  key: 6,
1107
- disabled: p(H),
1108
+ disabled: f(V),
1108
1109
  onClick: n[6] ||= (e) => Mt("removeView")
1109
1110
  }, {
1110
- icon: h(() => [E(T, {
1111
+ icon: m(() => [T(w, {
1111
1112
  width: "100%",
1112
1113
  height: "100%"
1113
1114
  })]),
1114
1115
  _: 1
1115
1116
  }, 8, ["disabled"])), [[
1116
- j,
1117
+ A,
1117
1118
  { value: t.$t("components.form.tooltip.delete") },
1118
1119
  void 0,
1119
1120
  { bottom: !0 }
1120
- ]]) : f("", !0),
1121
- !p(B) && !p(V) && p(Q) ? S((a(), d(r, {
1121
+ ]]) : d("", !0),
1122
+ !f(z) && !f(B) && f(Q) ? x((a(), u(r, {
1122
1123
  key: 7,
1123
- disabled: p(H),
1124
- onClick: n[7] ||= (e) => B.value = !0
1124
+ disabled: f(V),
1125
+ onClick: n[7] ||= (e) => z.value = !0
1125
1126
  }, {
1126
- icon: h(() => [E(D, {
1127
+ icon: m(() => [T(E, {
1127
1128
  width: "100%",
1128
1129
  height: "100%"
1129
1130
  })]),
1130
1131
  _: 1
1131
1132
  }, 8, ["disabled"])), [[
1132
- j,
1133
+ A,
1133
1134
  { value: t.$t("components.form.tooltip.edit") },
1134
1135
  void 0,
1135
1136
  { bottom: !0 }
1136
- ]]) : f("", !0),
1137
- !p(B) && !p(V) ? S((a(), d(r, {
1137
+ ]]) : d("", !0),
1138
+ !f(z) && !f(B) ? x((a(), u(r, {
1138
1139
  key: 8,
1139
- disabled: p(H),
1140
- onClick: p(Qe)?.toggleMenu
1140
+ disabled: f(V),
1141
+ onClick: f($e)?.toggleMenu
1141
1142
  }, {
1142
- icon: h(() => [E(ee, {
1143
- class: c(["transform transition-transform duration-300", { "rotate-45": p(Qe)?.isOpen }]),
1143
+ icon: m(() => [T(te, {
1144
+ class: c(["transform transition-transform duration-300", { "rotate-45": f($e)?.isOpen }]),
1144
1145
  width: "100%",
1145
1146
  height: "100%"
1146
1147
  }, null, 8, ["class"])]),
1147
1148
  _: 1
1148
1149
  }, 8, ["disabled", "onClick"])), [[
1149
- j,
1150
+ A,
1150
1151
  { value: t.$t("components.form.tooltip.new") },
1151
1152
  void 0,
1152
1153
  { bottom: !0 }
1153
- ]]) : f("", !0),
1154
- p(B) || p(V) ? (a(), d(r, {
1154
+ ]]) : d("", !0),
1155
+ f(z) || f(B) ? (a(), u(r, {
1155
1156
  key: 9,
1156
1157
  label: t.$t("components.form.button.cancel"),
1157
- onClick: n[8] ||= (e) => p(B) ? B.value = !1 : V.value = !1
1158
- }, null, 8, ["label"])) : f("", !0),
1159
- p(B) || p(V) ? (a(), d(r, {
1158
+ onClick: n[8] ||= (e) => f(z) ? z.value = !1 : B.value = !1
1159
+ }, null, 8, ["label"])) : d("", !0),
1160
+ f(z) || f(B) ? (a(), u(r, {
1160
1161
  key: 10,
1161
1162
  label: t.$t("components.form.button.save"),
1162
- disabled: p(J).every((e) => e.lastDroppedCamera === void 0),
1163
+ disabled: f(J).every((e) => e.lastDroppedCamera === void 0),
1163
1164
  primary: "",
1164
1165
  onClick: Ft
1165
- }, null, 8, ["label", "disabled"])) : f("", !0)
1166
+ }, null, 8, ["label", "disabled"])) : d("", !0)
1166
1167
  ]),
1167
1168
  _: 1
1168
1169
  }, 8, ["left-offset"]),
1169
- x("div", {
1170
+ b("div", {
1170
1171
  class: c(["w-full h-full flex relative", {
1171
- "flex-row": p(k),
1172
- "flex-col": !p(k)
1172
+ "flex-row": f(O),
1173
+ "flex-col": !f(O)
1173
1174
  }]),
1174
- style: v({ paddingTop: `${p(55)}px` })
1175
- }, [x("div", {
1175
+ style: _({ paddingTop: `${f(55)}px` })
1176
+ }, [b("div", {
1176
1177
  class: c(["flex relative z-1 camview-content-transition", {
1177
- "h-full items-center justify-center": p(k) || !p(L)?.result.length,
1178
- "w-full items-start justify-start": !p(k) && p(L)?.result.length
1178
+ "h-full items-center justify-center": f(O) || !f(I)?.result.length,
1179
+ "w-full items-start justify-start": !f(O) && f(I)?.result.length
1179
1180
  }]),
1180
- style: v(p(xt))
1181
- }, [p(Y) ? (a(), _("div", nn, [(a(), d(ie, {
1181
+ style: _(f(xt))
1182
+ }, [f(Y) ? (a(), g("div", nn, [(a(), u(ce, {
1182
1183
  key: 0,
1183
1184
  class: "w-[30px] h-[30px] m-0",
1184
1185
  "stroke-width": "5"
1185
- }))])) : !p(Q) && !p(V) ? (a(), _("div", rn, [x("div", an, [E(ae, { class: "w-12 h-12 text-muted" }), x("span", on, o(t.$t("views.camview.no_views_configured")), 1)])])) : p(Q) || p(V) ? (a(), _("div", {
1186
+ }))])) : !f(Q) && !f(B) ? (a(), g("div", rn, [b("div", an, [T(le, { class: "w-12 h-12 text-muted" }), b("span", on, o(t.$t("views.camview.no_views_configured")), 1)])])) : f(Q) || f(B) ? (a(), g("div", {
1186
1187
  key: 2,
1187
- class: c(["w-full h-full", { "p-2 pb-0": !p(O) }])
1188
- }, [(a(), d(je, {
1188
+ class: c(["w-full h-full", { "p-2 pb-0": !f(D) }])
1189
+ }, [(a(), u(Me, {
1189
1190
  ref_key: "viewDndRef",
1190
- ref: R,
1191
- key: p(M).camview.viewid + (p(V) ? "-new" : p(B) ? "-edit" : "-view"),
1192
- cameras: p(I)?.result || [],
1193
- "edit-mode": p(V) || p(B),
1194
- "rearrange-mode": p(H),
1195
- "view-size": p(V) ? p(z).viewSize : p(kt),
1196
- title: p(z).name,
1197
- cards: p(J),
1198
- "camera-card-props": p(bt),
1199
- "camera-card-models": p(ft),
1191
+ ref: L,
1192
+ key: f(N).camview.viewid + (f(B) ? "-new" : f(z) ? "-edit" : "-view"),
1193
+ cameras: f(P)?.result || [],
1194
+ "edit-mode": f(B) || f(z),
1195
+ "rearrange-mode": f(V),
1196
+ "view-size": f(B) ? f(R).viewSize : f(kt),
1197
+ title: f(R).name,
1198
+ cards: f(J),
1199
+ "camera-card-props": f(bt),
1200
+ "camera-card-models": f(ft),
1200
1201
  onDrop: It,
1201
1202
  onRemove: Lt,
1202
1203
  onChangeViewSize: n[9] ||= (e) => Mt("editView"),
@@ -1211,37 +1212,37 @@ var vt = u({
1211
1212
  "cards",
1212
1213
  "camera-card-props",
1213
1214
  "camera-card-models"
1214
- ]))], 2)) : f("", !0)], 6), E(e, {
1215
- name: p(k) ? "slide-left" : "slide-up",
1216
- onBeforeEnter: n[10] ||= (e) => W.value = !0,
1217
- onAfterEnter: n[11] ||= (e) => it.value = !1,
1218
- onBeforeLeave: n[12] ||= (e) => W.value = !1
1215
+ ]))], 2)) : d("", !0)], 6), T(e, {
1216
+ name: f(O) ? "slide-left" : "slide-up",
1217
+ onBeforeEnter: n[10] ||= (e) => U.value = !0,
1218
+ onAfterEnter: n[11] ||= (e) => at.value = !1,
1219
+ onBeforeLeave: n[12] ||= (e) => U.value = !1
1219
1220
  }, {
1220
- default: h(() => [p(U) ? (a(), d(p(se), {
1221
+ default: m(() => [f(H) ? (a(), u(f(se), {
1221
1222
  key: 0,
1222
- "camera-ids": p(Tt),
1223
- "event-camera-ids": p($),
1224
- "camera-names": p(Et),
1225
- "initial-timestamp": p(Ot),
1223
+ "camera-ids": f(Tt),
1224
+ "event-camera-ids": f($),
1225
+ "camera-names": f(Et),
1226
+ "initial-timestamp": f(Ot),
1226
1227
  onEventSelect: Vt,
1227
- loading: p(it),
1228
- type: p(k) ? "vertical" : "horizontal",
1228
+ loading: f(at),
1229
+ type: f(O) ? "vertical" : "horizontal",
1229
1230
  "dark-mode": "",
1230
- "md-breakpoint": p(ce),
1231
+ "md-breakpoint": f(oe),
1231
1232
  class: c(["shrink-0 transition-[left] duration-200", {
1232
- "h-full w-[400px] pt-2 pr-2": p(k),
1233
- "h-[200px] pt-2 px-2 pb-2 pb-safe-offset fixed right-safe-offset-0 z-10": !p(k),
1234
- "p-0! pt-2! border-color": p(O)
1233
+ "h-full w-[400px] pt-2 pr-2": f(O),
1234
+ "h-[200px] pt-2 px-2 pb-2 pb-safe-offset fixed right-safe-offset-0 z-10": !f(O),
1235
+ "p-0! pt-2! border-color": f(D)
1235
1236
  }]),
1236
1237
  "card-class": {
1237
1238
  "!shadow-xl": !0,
1238
- "!rounded-none border-l-0! border-r-0!": p(O)
1239
+ "!rounded-none border-l-0! border-r-0!": f(D)
1239
1240
  },
1240
- style: v(p(k) ? void 0 : {
1241
- left: `${p(mt)}px`,
1242
- bottom: `calc(${p(re)}px + var(--safe-area-inset-bottom))`
1241
+ style: _(f(O) ? void 0 : {
1242
+ left: `${f(mt)}px`,
1243
+ bottom: `calc(${f(ie)}px + var(--safe-area-inset-bottom))`
1243
1244
  }),
1244
- "locale-settings": p(gt)
1245
+ "locale-settings": f(gt)
1245
1246
  }, null, 8, [
1246
1247
  "camera-ids",
1247
1248
  "event-camera-ids",
@@ -1254,12 +1255,12 @@ var vt = u({
1254
1255
  "card-class",
1255
1256
  "style",
1256
1257
  "locale-settings"
1257
- ])) : f("", !0)]),
1258
+ ])) : d("", !0)]),
1258
1259
  _: 1
1259
1260
  }, 8, ["name"])], 6),
1260
- !p(X) && p(Q) ? (a(), d(ue, {
1261
+ !f(X) && f(Q) ? (a(), u(ue, {
1261
1262
  key: 0,
1262
- model: p(wt),
1263
+ model: f(wt),
1263
1264
  direction: "up",
1264
1265
  "transition-delay": 80,
1265
1266
  "tooltip-options": {
@@ -1268,23 +1269,23 @@ var vt = u({
1268
1269
  },
1269
1270
  class: "absolute right-2 z-11 dark-mode",
1270
1271
  pt: { root: { style: "pointer-events: none" } },
1271
- style: v({
1272
- bottom: p(k) ? "0" : `calc(${p(W) ? 192 : 0}px + ${p(re) > 0 ? "0.5rem" : "0px"})`,
1273
- right: p(k) ? `calc(${p(W) ? 400 : 0}px + 0.5rem)` : "0.5rem",
1272
+ style: _({
1273
+ bottom: f(O) ? "0" : `calc(${f(U) ? 192 : 0}px + ${f(ie) > 0 ? "0.5rem" : "0px"})`,
1274
+ right: f(O) ? `calc(${f(U) ? 400 : 0}px + 0.5rem)` : "0.5rem",
1274
1275
  transition: "bottom 0.25s ease-out, right 0.25s ease-out"
1275
1276
  })
1276
1277
  }, {
1277
- button: h(({ visible: e, toggleCallback: t }) => [E(le, {
1278
+ button: m(({ visible: e, toggleCallback: t }) => [T(k, {
1278
1279
  severity: "secondary",
1279
1280
  class: c(["dark-mode opacity-40 hover:opacity-100 active:opacity-100 focus:opacity-100 transition pointer-events-auto", { "opacity-100": e }]),
1280
1281
  rounded: "",
1281
- loading: p(Y),
1282
+ loading: f(Y),
1282
1283
  onClick: t
1283
1284
  }, {
1284
- icon: h(() => [x("div", sn, [
1285
- x("div", { class: c(["bg-white absolute top-0.5 left-1/2 -translate-x-1/2 w-1.5 h-1.5 rounded-full transform transition-all duration-100 origin-center", { "w-4 h-[2px] rotate-45 top-1/2 -translate-y-1/2 rounded-none": e }]) }, null, 2),
1286
- x("div", { class: c(["bg-white absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-1.5 h-1.5 rounded-full transition-all duration-100", { "opacity-0 scale-0": e }]) }, null, 2),
1287
- x("div", { class: c(["bg-white absolute bottom-0.5 left-1/2 -translate-x-1/2 w-1.5 h-1.5 rounded-full transform transition-all duration-100 origin-center", { "w-4 h-[2px] -rotate-45 bottom-1/2 translate-y-1/2 rounded-none": e }]) }, null, 2)
1285
+ icon: m(() => [b("div", sn, [
1286
+ b("div", { class: c(["bg-white absolute top-0.5 left-1/2 -translate-x-1/2 w-1.5 h-1.5 rounded-full transform transition-all duration-100 origin-center", { "w-4 h-[2px] rotate-45 top-1/2 -translate-y-1/2 rounded-none": e }]) }, null, 2),
1287
+ b("div", { class: c(["bg-white absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-1.5 h-1.5 rounded-full transition-all duration-100", { "opacity-0 scale-0": e }]) }, null, 2),
1288
+ b("div", { class: c(["bg-white absolute bottom-0.5 left-1/2 -translate-x-1/2 w-1.5 h-1.5 rounded-full transform transition-all duration-100 origin-center", { "w-4 h-[2px] -rotate-45 bottom-1/2 translate-y-1/2 rounded-none": e }]) }, null, 2)
1288
1289
  ])]),
1289
1290
  _: 2
1290
1291
  }, 1032, [
@@ -1292,34 +1293,34 @@ var vt = u({
1292
1293
  "loading",
1293
1294
  "onClick"
1294
1295
  ])]),
1295
- item: h(({ item: e, toggleCallback: t }) => [S((a(), d(le, s({
1296
- loading: p(Y),
1296
+ item: m(({ item: e, toggleCallback: t }) => [x((a(), u(k, s({
1297
+ loading: f(Y),
1297
1298
  severity: "secondary"
1298
1299
  }, e.buttonProps, {
1299
1300
  rounded: "",
1300
1301
  onClick: t
1301
1302
  }), {
1302
- icon: h(() => [(a(), d(l(e.icon)))]),
1303
+ icon: m(() => [(a(), u(ee(e.icon)))]),
1303
1304
  _: 2
1304
- }, 1040, ["loading", "onClick"])), [[j, { value: e.label }]])]),
1305
+ }, 1040, ["loading", "onClick"])), [[A, { value: e.label }]])]),
1305
1306
  _: 1
1306
- }, 8, ["model", "style"])) : f("", !0),
1307
- E(A, {
1307
+ }, 8, ["model", "style"])) : d("", !0),
1308
+ T(de, {
1308
1309
  ref_key: "menuRef",
1309
- ref: Xe,
1310
- items: p(At),
1310
+ ref: Ze,
1311
+ items: f(At),
1311
1312
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1312
1313
  }, null, 8, ["items"]),
1313
- E(A, {
1314
+ T(de, {
1314
1315
  ref_key: "cardFitMenuRef",
1315
- ref: $e,
1316
- items: p(yt),
1316
+ ref: et,
1317
+ items: f(yt),
1317
1318
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1318
1319
  }, null, 8, ["items"]),
1319
- E(A, {
1320
+ T(de, {
1320
1321
  ref_key: "newViewMenuRef",
1321
- ref: Qe,
1322
- items: p(jt),
1322
+ ref: $e,
1323
+ items: f(jt),
1323
1324
  popover: { pt: { content: { class: "p-0! rounded-xl! overflow-hidden!" } } }
1324
1325
  }, null, 8, ["items"])
1325
1326
  ]);