@camera.ui/server 2.2.1 → 2.2.3

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 (490) hide show
  1. package/dist/interface/assets/{404-Ci4V-7l9.js → 404-D0S6IGok.js} +1 -1
  2. package/dist/interface/assets/{About-BSGYUvI7.js → About-DAw9u8ZY.js} +1 -1
  3. package/dist/interface/assets/Assistant-Gi6_YkEY.js +1 -0
  4. package/dist/interface/assets/Automation-6eFKPJPu.js +3 -0
  5. package/dist/interface/assets/AutomationImport-95PfbPvG.js +2 -0
  6. package/dist/interface/assets/AutomationStore-BHxzzx7a.js +2 -0
  7. package/dist/interface/assets/AutomationStoreDetail-DEVlRllt.js +2 -0
  8. package/dist/interface/assets/Automations-DEivoiS1.js +2 -0
  9. package/dist/interface/assets/Camera-B5l_gv7t.js +2 -0
  10. package/dist/interface/assets/{CameraConsole-DbmJ9PNU.js → CameraConsole-B8bBYQzk.js} +1 -1
  11. package/dist/interface/assets/Cameras-HblWPGCv.js +651 -0
  12. package/dist/interface/assets/Camview-DEKrbg5R.js +1 -0
  13. package/dist/interface/assets/{CertificateUpload-_VQx5fjA.js → CertificateUpload-CC6YtX7h.js} +1 -1
  14. package/dist/interface/assets/{Config-BuuQmMOC.js → Config-DQEaOnaN.js} +1 -1
  15. package/dist/interface/assets/{ConfigActionAssistant-DforDPLT.js → ConfigActionAssistant-C_XRnBzo.js} +1 -1
  16. package/dist/interface/assets/{ConfigActionCameraControl-LwL8BSZX.js → ConfigActionCameraControl-oRzM9rjX.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionDelay-C6u-CHFE.js → ConfigActionDelay-Dc-NZS5L.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionHttp-CxbJVkf2.js → ConfigActionHttp-Nw0wt-JZ.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionImageInput-BpDXjbnf.js → ConfigActionImageInput-Do60Upqm.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionMqtt-BkbAAepo.js → ConfigActionMqtt-BeQVgaGX.js} +1 -1
  21. package/dist/interface/assets/{ConfigActionNotification-B2Dtkf2b.js → ConfigActionNotification-BA0FjOWs.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionNotificationControl-DMW2_Vez.js → ConfigActionNotificationControl-Ce3Kd_Xv.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionOutput-WVe74xXz.js → ConfigActionOutput-ChiOMWDy.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionPlugin-C3iZfPRv.js → ConfigActionPlugin-Cn3r0glk.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionSensor-DSW92VVP.js → ConfigActionSensor-DkdBCu-6.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionSnapshot-Cl3NLmyn.js → ConfigActionSnapshot-CLlaDFUV.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionVariable-Due14Kwt.js → ConfigActionVariable-D4x3Luxl.js} +1 -1
  28. package/dist/interface/assets/{ConfigConditionIfElse-mIXw954j.js → ConfigConditionIfElse-BpL8KZ5X.js} +1 -1
  29. package/dist/interface/assets/{ConfigConditionSensorState-C_FpJLnM.js → ConfigConditionSensorState-CSQexUF_.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionSwitch-CYRUg-Uo.js → ConfigConditionSwitch-CB2J_5kr.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionTime-WkevpYaO.js → ConfigConditionTime-X9fsNsYu.js} +1 -1
  32. package/dist/interface/assets/{ConfigSensorValueInput-BDz5olLY.js → ConfigSensorValueInput-VPhPxrQl.js} +1 -1
  33. package/dist/interface/assets/{ConfigTriggerDetection-Cb_BObEL.js → ConfigTriggerDetection-Dhzng4X5.js} +1 -1
  34. package/dist/interface/assets/{ConfigTriggerGeofence-B7Iugx3i.js → ConfigTriggerGeofence-Cm0CLNf5.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerManual-D7w6C58j.js → ConfigTriggerManual-CRi3rsgG.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerMqtt-D_ozlopI.js → ConfigTriggerMqtt-Ck__CWck.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSchedule-1UcaRD5S.js → ConfigTriggerSchedule-C1PZrHEu.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSensor-D9_lg6yH.js → ConfigTriggerSensor-9xVgCtkn.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerSystem-COPR6t7r.js → ConfigTriggerSystem-Denf1gkO.js} +1 -1
  40. package/dist/interface/assets/{ConfigTriggerWebhook-C0v6uR67.js → ConfigTriggerWebhook-im24LkCn.js} +1 -1
  41. package/dist/interface/assets/Console-Q1HpmyO_.js +1 -0
  42. package/dist/interface/assets/CuiAssistantConversation-BxJf9sdu.js +5 -0
  43. package/dist/interface/assets/{CuiAssistantConversation-BkWDr6uX.css → CuiAssistantConversation-DmSdiv1b.css} +1 -1
  44. package/dist/interface/assets/{CuiAutomationRunsDialog-CGBqZXR4.js → CuiAutomationRunsDialog-B3tJ-Cma.js} +1 -1
  45. package/dist/interface/assets/CuiBottomSheet-C37blNu-.js +1 -0
  46. package/dist/interface/assets/{CuiBottomSheet-DomRjKV8.js → CuiBottomSheet-kvvLw1MQ.js} +1 -1
  47. package/dist/interface/assets/CuiCameraPipCard-TVAf5ZYQ.js +1 -0
  48. package/dist/interface/assets/CuiCameraRecordings-C26rX8dh.css +1 -0
  49. package/dist/interface/assets/CuiCameraRecordings-IHg1dNf4.js +1 -0
  50. package/dist/interface/assets/{CuiCameraShares-CVbWZZ_i.js → CuiCameraShares-B5ghuJS-.js} +1 -1
  51. package/dist/interface/assets/{CuiCameraTable-B1F2UjZk.js → CuiCameraTable-Y5XUkU7w.js} +1 -1
  52. package/dist/interface/assets/CuiCameraTable-xDZz7Wpe.js +1 -0
  53. package/dist/interface/assets/{CuiChartTable-CcovDii1.js → CuiChartTable-CXdupaj5.js} +1 -1
  54. package/dist/interface/assets/CuiChartTable-DXY7rY3O.css +1 -0
  55. package/dist/interface/assets/{CuiConsole-BzJJnQTd.js → CuiConsole-5KgXSOS5.js} +2 -2
  56. package/dist/interface/assets/CuiDataTable-DPIbKnvU.css +1 -0
  57. package/dist/interface/assets/CuiDataTable-hArZWV9B.js +1 -0
  58. package/dist/interface/assets/CuiLightControl-MRpR0XIZ.js +1 -0
  59. package/dist/interface/assets/{CuiList-Dfklll0h.js → CuiList-D-l4HrBP.js} +1 -1
  60. package/dist/interface/assets/CuiPluginCard-whoQ5YHn.js +2 -0
  61. package/dist/interface/assets/CuiPluginCategoryChip-CH53zk2o.js +1 -0
  62. package/dist/interface/assets/CuiPluginOAuthButton-BBA0AzVO.js +2 -0
  63. package/dist/interface/assets/{CuiPluginTrustBadge-CILKiExH.js → CuiPluginTrustBadge-C0EX5aCI.js} +1 -1
  64. package/dist/interface/assets/{CuiQRCode-DHUwFLQz.js → CuiQRCode-BRT0NO5c.js} +1 -1
  65. package/dist/interface/assets/CuiSchema-DBY1x1BT.js +1 -0
  66. package/dist/interface/assets/{CuiTopNavbarItem-DBsbHvkJ.js → CuiTopNavbarItem-CpMT8_0r.js} +1 -1
  67. package/dist/interface/assets/Faces-Dqi30qs9.js +1 -0
  68. package/dist/interface/assets/FirstSteps-B8n4fGK3.js +1 -0
  69. package/dist/interface/assets/Floorplan-ZHXNaZA8.js +1 -0
  70. package/dist/interface/assets/{Instances-cgw_Xzu0.js → Instances-DEj3gs6H.js} +1 -1
  71. package/dist/interface/assets/{Logs-BrTGt33Q.js → Logs-CwHvSKd6.js} +2 -2
  72. package/dist/interface/assets/Menu-C4BxUV0P.js +1 -0
  73. package/dist/interface/assets/Metrics-BCOE-rcw.js +9 -0
  74. package/dist/interface/assets/{OAuthDeviceFlow-Bx6YBLUX.js → OAuthDeviceFlow-D6bjZOYS.js} +1 -1
  75. package/dist/interface/assets/Plugin-ppCvxkl4.js +1 -0
  76. package/dist/interface/assets/{PluginConsole-C6xky2l3.js → PluginConsole-BP42Qpee.js} +1 -1
  77. package/dist/interface/assets/PluginDetail-BnX5lZGz.js +2 -0
  78. package/dist/interface/assets/{PluginSchema-D5dmitq0.js → PluginSchema-uVKXzfo6.js} +1 -1
  79. package/dist/interface/assets/PluginSearch-C4MvWyLb.js +1 -0
  80. package/dist/interface/assets/PluginSearch-no79fTuf.js +2 -0
  81. package/dist/interface/assets/{PluginUpdateProgress-Cj4Ilm8M.js → PluginUpdateProgress-73jprYHA.js} +1 -1
  82. package/dist/interface/assets/Plugins-DtEqS6_j.js +1 -0
  83. package/dist/interface/assets/RecentEventsFilter-CtyCbt6Z.js +1 -0
  84. package/dist/interface/assets/Recordings-DrcOsRLn.js +1 -0
  85. package/dist/interface/assets/{SensorEdit-BBTdSbok.js → SensorEdit-D4-mMg8S.js} +1 -1
  86. package/dist/interface/assets/{SensorHistory-BmGYTFWx.js → SensorHistory-C-X7VI-f.js} +1 -1
  87. package/dist/interface/assets/Sensors-BJh8BkCR.js +2 -0
  88. package/dist/interface/assets/{Settings-B-lq2Bls.js → Settings-B9CZvA-d.js} +1 -1
  89. package/dist/interface/assets/SettingsAccount-CkvScQmF.js +1 -0
  90. package/dist/interface/assets/SettingsAccount-D3zF2kLc.js +1 -0
  91. package/dist/interface/assets/{SettingsAppearance-DMhqHxXU.js → SettingsAppearance-CbG8M38w.js} +1 -1
  92. package/dist/interface/assets/SettingsAppearance-ZHqNXXIL.js +1 -0
  93. package/dist/interface/assets/SettingsAssistant-BESab92C.css +1 -0
  94. package/dist/interface/assets/SettingsAssistant-DxYPnbms.js +1 -0
  95. package/dist/interface/assets/{SettingsBackup-C9clJ_2F.js → SettingsBackup-DZBzUyQm.js} +1 -1
  96. package/dist/interface/assets/{SettingsList-Ba5TjVzD.js → SettingsList-DFg8g7IM.js} +1 -1
  97. package/dist/interface/assets/{SettingsMqtt-4tFIdfzL.js → SettingsMqtt-BeujOZkh.js} +1 -1
  98. package/dist/interface/assets/SettingsNotifications-DtSTE76r.js +1 -0
  99. package/dist/interface/assets/{SettingsPermissions-B6vNyFvJ.js → SettingsPermissions-CPOAefv0.js} +1 -1
  100. package/dist/interface/assets/SettingsRecordings-ClAtT4Bh.js +1 -0
  101. package/dist/interface/assets/SettingsRemote-58S4Thfp.js +2 -0
  102. package/dist/interface/assets/SettingsSystem-tTGpuiRW.js +2 -0
  103. package/dist/interface/assets/{SettingsUsers-DOUvMVjf.js → SettingsUsers-D8b7I5c2.js} +1 -1
  104. package/dist/interface/assets/{Terminal-BoMq8civ.js → Terminal-1_Fi0VW-.js} +2 -2
  105. package/dist/interface/assets/Training-CQHfQjUP.css +1 -0
  106. package/dist/interface/assets/Training-DfOqDTHJ.js +1 -0
  107. package/dist/interface/assets/{Updates-Cceza_vs.js → Updates-BW0p7Wc5.js} +1 -1
  108. package/dist/interface/assets/{VariableInput-Ds5NaShw.js → VariableInput-sqnLuk6S.js} +1 -1
  109. package/dist/interface/assets/{VariableSuggestions-B0Y5QsCw.js → VariableSuggestions-3pbnxhyT.js} +1 -1
  110. package/dist/interface/assets/{VersionsHandler-D3ugTFh9.js → VersionsHandler-CWmjDygB.js} +1 -1
  111. package/dist/interface/assets/VirtualSensorCreate-BzmFlvYD.js +1 -0
  112. package/dist/interface/assets/Workers-Dm9o2wMo.js +2 -0
  113. package/dist/interface/assets/api-B6TtU9Ew.css +2 -0
  114. package/dist/interface/assets/{api-C4b9FQa5.js → api-CQ-3I3-i.js} +1 -1
  115. package/dist/interface/assets/api-DPgKdIQZ.js +4 -0
  116. package/dist/interface/assets/{assistant-DfBoMwZZ.js → assistant-0UymvpMy.js} +1 -1
  117. package/dist/interface/assets/{auth-jXwc9evv.js → auth-C0jhqNaz.js} +1 -1
  118. package/dist/interface/assets/{automations-Bx7_-5ll.js → automations-Bj30nb8s.js} +1 -1
  119. package/dist/interface/assets/cameraSources-CiMjIjsh.js +1 -0
  120. package/dist/interface/assets/cloudHandoff-Cxljjl7N.js +1 -0
  121. package/dist/interface/assets/{config-4L2n-1_z.js → config-D-uVfwYp.js} +1 -1
  122. package/dist/interface/assets/dots-vertical-C4DlXZyp.js +1 -0
  123. package/dist/interface/assets/eventIcons-BPQ-zSnz.js +1 -0
  124. package/dist/interface/assets/{flowSchema-ZMBzlKJI.js → flowSchema-D3nNJVLL.js} +1 -1
  125. package/dist/interface/assets/{intercomService-DQ4LZJfW.js → intercomService-BeoNs-09.js} +1 -1
  126. package/dist/interface/assets/main-BrNGfemk.js +3 -0
  127. package/dist/interface/assets/{mqtt-DEt78fr7.js → mqtt-D7jRwifB.js} +1 -1
  128. package/dist/interface/assets/{notifications-mJrKtTFp.js → notifications-BpRVoerg.js} +1 -1
  129. package/dist/interface/assets/pause-B7ud2O8d.js +1 -0
  130. package/dist/interface/assets/{plugins-IMJg5aI8.js → plugins-wZ4RDxCb.js} +1 -1
  131. package/dist/interface/assets/{rooms-Dt3X1UEj.js → rooms-CFcu2dU1.js} +1 -1
  132. package/dist/interface/assets/sensorIcons-B117n8l2.js +1 -0
  133. package/dist/interface/assets/{sensorSlots-CUWphRrL.js → sensorSlots-CAr3prFc.js} +1 -1
  134. package/dist/interface/assets/{sensors-DG-GPuvr.js → sensors-oriEG3KR.js} +1 -1
  135. package/dist/interface/assets/{server-CFtdMCM4.js → server-Ce6ou2NV.js} +1 -1
  136. package/dist/interface/assets/{theme-C8wlVvxI.js → theme-CBTC6-Lp.js} +1 -1
  137. package/dist/interface/assets/{types-BxQYBZ2c.js → types-C-amdBz6.js} +1 -1
  138. package/dist/interface/assets/types-CjU6-JvD.js +1 -0
  139. package/dist/interface/assets/types-CzjppLwt.js +1 -0
  140. package/dist/interface/assets/{ungrouped-Dbr16vFt.css → ungrouped-AYNBKz52.css} +1 -1
  141. package/dist/interface/assets/ungrouped-BQzKp2PT.js +1 -0
  142. package/dist/interface/assets/{updates-DqHYjhVs.js → updates-Cohtc6vb.js} +1 -1
  143. package/dist/interface/assets/{useAppVersion-iJHv6EYQ.js → useAppVersion-xxi6fR7J.js} +1 -1
  144. package/dist/interface/assets/{useAssistantActions-BeXqj2-6.js → useAssistantActions-BkRK1FBg.js} +1 -1
  145. package/dist/interface/assets/useBackupRestore-BGvhSqJB.js +1 -0
  146. package/dist/interface/assets/{useCameraOptions-DVcUIXzh.js → useCameraOptions-ophs2V4p.js} +1 -1
  147. package/dist/interface/assets/{useKeyboardInset-DpxykA20.js → useKeyboardInset-Cpz6Hs5c.js} +1 -1
  148. package/dist/interface/assets/{useLogsSocket-D2gJ0e00.js → useLogsSocket-CB07yhv4.js} +1 -1
  149. package/dist/interface/assets/{useNavLayout-D-KmCM3U.js → useNavLayout-BYEejBpb.js} +1 -1
  150. package/dist/interface/assets/{usePermissions-CsWQ7pWp.js → usePermissions-yWhjYMcr.js} +1 -1
  151. package/dist/interface/assets/{usePluginUpdates-D0bz8TeJ.js → usePluginUpdates-9rvsWfdJ.js} +1 -1
  152. package/dist/interface/assets/{usePushRegistration-B9vouC4k.js → usePushRegistration-b5owOzjH.js} +1 -1
  153. package/dist/interface/assets/{useServerRestart-CaYRL38s.js → useServerRestart-yRXDWnH_.js} +1 -1
  154. package/dist/interface/assets/{useStreamStatus-BSl9TJlX.js → useStreamStatus-BHyWrAHu.js} +1 -1
  155. package/dist/interface/assets/{useTabSwipe-B6GIPOrZ.js → useTabSwipe-Dr9HYP1J.js} +1 -1
  156. package/dist/interface/assets/{useUpdateChannel-BuIKUKQ9.js → useUpdateChannel-IVj0XKlN.js} +1 -1
  157. package/dist/interface/assets/{useUpdatesSocket-B8F-9tUI.js → useUpdatesSocket-CuPHbSF7.js} +1 -1
  158. package/dist/interface/assets/{useUserOptions-9Lcq7htw.js → useUserOptions-zIfrMDiG.js} +1 -1
  159. package/dist/interface/assets/{vendor-cameraui-zaB6gIk1.js → vendor-cameraui-Dhg7MEnt.js} +2 -2
  160. package/dist/interface/assets/{vendor-core-CfoDuMvj.js → vendor-core-CQ2HVu0L.js} +1 -1
  161. package/dist/interface/assets/{vendor-primevue-5HrOunkM.js → vendor-primevue-CeWNZxSE.js} +1 -1
  162. package/dist/interface/assets/vendor-zod-CBbC1rE7.js +109 -0
  163. package/dist/interface/ha/{404-BA6DAi0I.js → 404-B70KNhsW.js} +1 -1
  164. package/dist/interface/ha/{About-D3tEPbYC.js → About-DLNqqctZ.js} +3 -3
  165. package/dist/interface/ha/{Assistant-BSlIm7T1.js → Assistant-Duvvoz2B.js} +1004 -988
  166. package/dist/interface/ha/{Automation-B7ZCtbpe.js → Automation-DZ8zvsvo.js} +199 -199
  167. package/dist/interface/ha/{AutomationImport-CVEGBlET.js → AutomationImport-DOCdim5O.js} +7 -7
  168. package/dist/interface/ha/{AutomationStore-hW-ReFbV.js → AutomationStore-Bjoubp-m.js} +52 -51
  169. package/dist/interface/ha/{AutomationStoreDetail-R-1XPudW.js → AutomationStoreDetail-H-RWNpwm.js} +20 -20
  170. package/dist/interface/ha/{Automations-9CLEXB1U.js → Automations-GyofQfo7.js} +87 -100
  171. package/dist/interface/ha/{Camera-CQK1LgJe.js → Camera-Bo5nMQaU.js} +30 -30
  172. package/dist/interface/ha/{CameraConsole-C6CZ3tzc.js → CameraConsole-BmDQ3rcS.js} +5 -5
  173. package/dist/interface/ha/{Cameras-Bw_Co8e9.js → Cameras-BfHoFjpC.js} +224 -224
  174. package/dist/interface/ha/{Camview-fb7D6KvD.js → Camview-DVoIdM3o.js} +332 -331
  175. package/dist/interface/ha/{Config-Cf0XlhJ-.js → Config-CC8tQiOy.js} +110 -110
  176. package/dist/interface/ha/{ConfigActionAssistant-BtnJwaka.js → ConfigActionAssistant-hfsz38an.js} +4 -4
  177. package/dist/interface/ha/{ConfigActionCameraControl-B1NtlCI4.js → ConfigActionCameraControl-C0-wxlAS.js} +5 -5
  178. package/dist/interface/ha/{ConfigActionHttp-BpI7XQC3.js → ConfigActionHttp-CM_3bIUq.js} +2 -2
  179. package/dist/interface/ha/{ConfigActionImageInput-tLzrOm0l.js → ConfigActionImageInput-B5306Z_7.js} +1 -1
  180. package/dist/interface/ha/{ConfigActionMqtt-DIuCKfQL.js → ConfigActionMqtt-DLiM83Kz.js} +4 -4
  181. package/dist/interface/ha/{ConfigActionNotification-CotMZbgF.js → ConfigActionNotification-36VBlfim.js} +4 -4
  182. package/dist/interface/ha/{ConfigActionNotificationControl-ClnOPBa2.js → ConfigActionNotificationControl-DRjDvA1H.js} +2 -2
  183. package/dist/interface/ha/{ConfigActionOutput-DFRh3xK2.js → ConfigActionOutput-BkGHERoJ.js} +1 -1
  184. package/dist/interface/ha/{ConfigActionPlugin-BSUdCGwz.js → ConfigActionPlugin-Ds1_Pow7.js} +5 -5
  185. package/dist/interface/ha/{ConfigActionSensor-B-PHlt11.js → ConfigActionSensor-22uKE0d0.js} +6 -6
  186. package/dist/interface/ha/{ConfigActionSnapshot-DomyiKiQ.js → ConfigActionSnapshot-uTTsTfo2.js} +2 -2
  187. package/dist/interface/ha/{ConfigActionVariable-D4QZ0GSg.js → ConfigActionVariable-DNMJBiQV.js} +1 -1
  188. package/dist/interface/ha/{ConfigConditionIfElse-Din_LVbb.js → ConfigConditionIfElse-BVzmIDKK.js} +3 -3
  189. package/dist/interface/ha/{ConfigConditionSensorState-cnMbVYSj.js → ConfigConditionSensorState-Di7Ic1xI.js} +4 -4
  190. package/dist/interface/ha/{ConfigConditionSwitch-nLCPZ02V.js → ConfigConditionSwitch-D8CcTHJ1.js} +10 -10
  191. package/dist/interface/ha/{ConfigConditionTime-CcZFjBil.js → ConfigConditionTime-CRn4k6uE.js} +2 -2
  192. package/dist/interface/ha/{ConfigSensorValueInput-CrZoNX72.js → ConfigSensorValueInput-DthsOthT.js} +5 -4
  193. package/dist/interface/ha/{ConfigTriggerDetection-MsrbiErr.js → ConfigTriggerDetection-BDYanDEV.js} +4 -4
  194. package/dist/interface/ha/{ConfigTriggerGeofence-BxQ0n4-f.js → ConfigTriggerGeofence-Binp0lYx.js} +7 -7
  195. package/dist/interface/ha/{ConfigTriggerMqtt-ti8xd7vF.js → ConfigTriggerMqtt-BaPzSHbK.js} +1 -1
  196. package/dist/interface/ha/{ConfigTriggerSensor-CNlsV9yo.js → ConfigTriggerSensor-DiTaTZXm.js} +2 -2
  197. package/dist/interface/ha/{ConfigTriggerSystem-CsULDPX-.js → ConfigTriggerSystem-CsdWiz-S.js} +2 -2
  198. package/dist/interface/ha/{ConfigTriggerWebhook-BnUer9x_.js → ConfigTriggerWebhook-Ca0PsUmU.js} +2 -2
  199. package/dist/interface/ha/{Console-B1Y6mBPP.js → Console-0amlIoZR.js} +100 -100
  200. package/dist/interface/ha/{CuiAutomationRunsDialog-BHJIQ0Tj.js → CuiAutomationRunsDialog-DNBuwkgL.js} +2 -2
  201. package/dist/interface/ha/{CuiBottomSheet-DyCegs0G.js → CuiBottomSheet-CdXBYz4P.js} +1 -1
  202. package/dist/interface/ha/{CuiCameraRecordings-Cfzu3-OA.js → CuiCameraRecordings-D4ZB56nd.js} +21 -21
  203. package/dist/interface/ha/{CuiCameraShares-CE2Z9Osp.js → CuiCameraShares-YmzZusZR.js} +5 -5
  204. package/dist/interface/ha/{CuiCameraTable-DCm-DNjq.js → CuiCameraTable-DFzhCO3J.js} +8 -8
  205. package/dist/interface/ha/{CuiChartTable-BYkhLvXA.js → CuiChartTable-BvfJbFNS.js} +20 -18
  206. package/dist/interface/ha/{CuiConsole-DTDUpQ_E.js → CuiConsole-DtxyD6Sd.js} +5 -5
  207. package/dist/interface/ha/{CuiDataTable-Cxk-gD0O.js → CuiDataTable-CHvx6ALQ.js} +19 -12
  208. package/dist/interface/ha/{CuiPluginCard-CaJWPBXm.js → CuiPluginCard-B3vU57eD.js} +50 -50
  209. package/dist/interface/ha/{CuiPluginOAuthButton--RbsaIiq.js → CuiPluginOAuthButton-DgOFfP5e.js} +8 -8
  210. package/dist/interface/ha/{CuiPluginTrustBadge-G79t87hq.js → CuiPluginTrustBadge-udmtgGHt.js} +3 -3
  211. package/dist/interface/ha/{CuiQRCode-C0o0cS3C.js → CuiQRCode-8yDZMC3o.js} +7 -7
  212. package/dist/interface/ha/{CuiSchema-BmfjaboJ.js → CuiSchema-0Hikg2mm.js} +125 -125
  213. package/dist/interface/ha/{CuiTopNavbarItem-KlOpTPMA.js → CuiTopNavbarItem-B139fVxP.js} +1 -1
  214. package/dist/interface/ha/{Faces-CG1S8jsV.js → Faces-YdAf9USr.js} +45 -44
  215. package/dist/interface/ha/{FirstSteps-B4cODn_E.js → FirstSteps-Dts6TJ6O.js} +64 -64
  216. package/dist/interface/ha/{Floorplan-CM5cL4_h.js → Floorplan-D6XXe8ni.js} +428 -427
  217. package/dist/interface/ha/{Instances-B1KAGADd.js → Instances-DsIsonqp.js} +71 -71
  218. package/dist/interface/ha/{Logs-CNVJvujx.js → Logs-Cyo3LC94.js} +11 -11
  219. package/dist/interface/ha/{Menu-hlaVYE5G.js → Menu-yh_sI9d9.js} +20 -25
  220. package/dist/interface/ha/{Metrics-CUllrnJc.js → Metrics-VehQmsmN.js} +91 -90
  221. package/dist/interface/ha/{OAuthDeviceFlow-kYPoT4p2.js → OAuthDeviceFlow-CXp9NvbY.js} +9 -9
  222. package/dist/interface/ha/{Plugin-QvBE-VHD.js → Plugin-BqvlXx43.js} +127 -126
  223. package/dist/interface/ha/{PluginConsole-Cpd8sx5a.js → PluginConsole-Dx84BNoO.js} +6 -6
  224. package/dist/interface/ha/{PluginDetail-CqSaIeH-.js → PluginDetail-DUpDS2nD.js} +10 -10
  225. package/dist/interface/ha/{PluginSearch-C-3nAbyu.js → PluginSearch-Cvh0P9VB.js} +127 -126
  226. package/dist/interface/ha/{PluginUpdateProgress-Izcgxa6-.js → PluginUpdateProgress-CfyI2Qdp.js} +3 -3
  227. package/dist/interface/ha/Plugins-DXreIUwr.js +692 -0
  228. package/dist/interface/ha/RecentEventsFilter-C1deXNIS.js +79 -0
  229. package/dist/interface/ha/{Recordings-BSR6AGq2.js → Recordings-Cb8ifRcB.js} +352 -383
  230. package/dist/interface/ha/{SensorEdit-KLS5N1YP.js → SensorEdit-CsNXxcdj.js} +353 -351
  231. package/dist/interface/ha/{SensorHistory-nHGwqzDW.js → SensorHistory-DToDalOm.js} +2 -2
  232. package/dist/interface/ha/{Sensors-VAy09hDh.js → Sensors-B6giaowJ.js} +191 -189
  233. package/dist/interface/ha/{Settings-DINmP-PB.js → Settings-CVed7MM_.js} +22 -22
  234. package/dist/interface/ha/{SettingsAccount-B-3XO53P.js → SettingsAccount-CvvsLPoT.js} +263 -262
  235. package/dist/interface/ha/{SettingsAppearance-B7ONsdV3.js → SettingsAppearance-BDJeNGTd.js} +19 -19
  236. package/dist/interface/ha/SettingsAssistant-B168p5HB.js +1857 -0
  237. package/dist/interface/ha/{SettingsBackup-CRzyW7Ce.js → SettingsBackup-Bz_9xJ61.js} +42 -42
  238. package/dist/interface/ha/{SettingsList-GWb7HKeq.js → SettingsList-B42rajJc.js} +2 -2
  239. package/dist/interface/ha/{SettingsMqtt-Db8CUtzi.js → SettingsMqtt-B5Qy6bxD.js} +23 -23
  240. package/dist/interface/ha/SettingsNotifications-C59UxYic.js +529 -0
  241. package/dist/interface/ha/{SettingsRecordings-s52rT7TX.js → SettingsRecordings-CkJGOiyQ.js} +11 -10
  242. package/dist/interface/ha/{SettingsRemote-DYUJdmKW.js → SettingsRemote-Cc-qt3si.js} +340 -340
  243. package/dist/interface/ha/{SettingsSystem-Bkfc5Tky.js → SettingsSystem-Cco2XXsS.js} +9 -9
  244. package/dist/interface/ha/{SettingsUsers-BHLsFMG9.js → SettingsUsers-BDh-3saR.js} +36 -36
  245. package/dist/interface/ha/{Terminal-CDZjjg7e.js → Terminal-D2U-kFPW.js} +41 -41
  246. package/dist/interface/ha/Training-DWcaCI-3.js +1499 -0
  247. package/dist/interface/ha/{Updates-DM5YITjv.js → Updates-DGHNcvO9.js} +13 -13
  248. package/dist/interface/ha/{VariableInput-DOiVQbEb.js → VariableInput-Bujz1T1I.js} +1 -1
  249. package/dist/interface/ha/{VersionsHandler-CjzF5jII.js → VersionsHandler-CXvbeKbl.js} +10 -10
  250. package/dist/interface/ha/{VirtualSensorCreate-q7b13gfi.js → VirtualSensorCreate-DOYONbgu.js} +3 -3
  251. package/dist/interface/ha/{Workers-Vf16lK9P.js → Workers-tQbC3WS6.js} +28 -28
  252. package/dist/interface/ha/{accordion-DdpJ2jcK.js → accordion-X9Wa7KVq.js} +1 -1
  253. package/dist/interface/ha/{api-C0pVlzsW.js → api-BI6_Fcag.js} +9483 -9888
  254. package/dist/interface/ha/{api-Bnk0paIs.js → api-DfJZj7ht.js} +3 -3
  255. package/dist/interface/ha/{assistant-DJPdidEd.js → assistant-BqSg4N8v.js} +55 -55
  256. package/dist/interface/ha/{auth-CmCJIpis.js → auth-BFoSqfzS.js} +39 -39
  257. package/dist/interface/ha/{automationBlueprint-CtX7AOzy.js → automationBlueprint-Q0yt2MdH.js} +4 -3
  258. package/dist/interface/ha/cameraui-cards.js +1 -1
  259. package/dist/interface/ha/{cards-Cn0baEOx.js → cards-BW9I5B5Z.js} +561 -560
  260. package/dist/interface/ha/checkbox-D012nd17.js +279 -0
  261. package/dist/interface/ha/{config-DxaLI3Wy.js → config-CeNHEP9A.js} +16 -16
  262. package/dist/interface/ha/{datepicker-DpDmhDeD.js → datepicker-44Ub2Hx0.js} +329 -604
  263. package/dist/interface/ha/dist-BTp4AyuI.js +287 -0
  264. package/dist/interface/ha/{dist-aGnBxAoZ.js → dist-BV3OfApt.js} +763 -1048
  265. package/dist/interface/ha/dots-vertical-BEPlUtxU.js +19 -0
  266. package/dist/interface/ha/eventIcons-DrjNuTS2.js +676 -0
  267. package/dist/interface/ha/{mqtt-BSUalkMz.js → mqtt-BkYa2CXH.js} +12 -12
  268. package/dist/interface/ha/{multiselect-Cedfen4P.js → multiselect-B0fAnW75.js} +1 -1
  269. package/dist/interface/ha/{notifications-DuVSTES6.js → notifications-E3WSCGpc.js} +22 -22
  270. package/dist/interface/ha/pause-Ch6v65wA.js +19 -0
  271. package/dist/interface/ha/{pinia-Dk3LfWcE.js → pinia-DoDLbPZ3.js} +2293 -2274
  272. package/dist/interface/ha/{plugins-XTsvVLj3.js → plugins-2jjU7TfW.js} +68 -68
  273. package/dist/interface/ha/pwa/favicon-16.ico +0 -0
  274. package/dist/interface/ha/pwa/favicon-32.ico +0 -0
  275. package/dist/interface/ha/pwa/favicon-48.ico +0 -0
  276. package/dist/interface/ha/pwa/pwa-120x120.png +0 -0
  277. package/dist/interface/ha/pwa/pwa-24x24.png +0 -0
  278. package/dist/interface/ha/pwa/pwa-36x36.png +0 -0
  279. package/dist/interface/ha/pwa/pwa-48x48.png +0 -0
  280. package/dist/interface/ha/pwa/pwa-50x50.png +0 -0
  281. package/dist/interface/ha/pwa/pwa-64x64.png +0 -0
  282. package/dist/interface/ha/pwa/pwa-72x72.png +0 -0
  283. package/dist/interface/ha/pwa/pwa-88x88.png +0 -0
  284. package/dist/interface/ha/pwa/pwa-96x96.png +0 -0
  285. package/dist/interface/ha/{rooms-Ch5UrfPN.js → rooms-BkEw1ev-.js} +8 -8
  286. package/dist/interface/ha/{server-h-kQ6sSS.js → server-CuK4o2fS.js} +31 -31
  287. package/dist/interface/ha/{types-DjunpV_X.js → types-BRHWeX0a.js} +48 -34
  288. package/dist/interface/ha/{ungrouped-DkDSBlpG.js → ungrouped-BDwep3kg.js} +189 -206
  289. package/dist/interface/ha/{updates-D0cNiMIr.js → updates-R4xTxour.js} +42 -42
  290. package/dist/interface/ha/{useAppVersion-Cpv2npEz.js → useAppVersion-uaFjqUpx.js} +1 -1
  291. package/dist/interface/ha/{useLogsSocket-Du83S3Wz.js → useLogsSocket-BZq9GXfy.js} +1 -1
  292. package/dist/interface/ha/{useNavLayout-XBJRTK3F.js → useNavLayout-BJdDE__R.js} +11 -11
  293. package/dist/interface/ha/{useServerRestart-CWhJrEyy.js → useServerRestart-DDCKnE6c.js} +1 -1
  294. package/dist/interface/ha/{useTabSwipe-BSlykGzV.js → useTabSwipe-CEH6ltIZ.js} +1 -1
  295. package/dist/interface/ha/{useUpdateChannel-DZttbpyK.js → useUpdateChannel-CHt1il2V.js} +2 -2
  296. package/dist/interface/ha/{useUpdatesSocket-DI15Udke.js → useUpdatesSocket-BnVaNioY.js} +1 -1
  297. package/dist/interface/ha/{useUserOptions-CQL8tMr4.js → useUserOptions-C7cQ1P3Q.js} +1 -1
  298. package/dist/interface/index.html +35 -34
  299. package/dist/interface/pwa/favicon-16.ico +0 -0
  300. package/dist/interface/pwa/favicon-32.ico +0 -0
  301. package/dist/interface/pwa/favicon-48.ico +0 -0
  302. package/dist/interface/pwa/pwa-120x120.png +0 -0
  303. package/dist/interface/pwa/pwa-24x24.png +0 -0
  304. package/dist/interface/pwa/pwa-36x36.png +0 -0
  305. package/dist/interface/pwa/pwa-48x48.png +0 -0
  306. package/dist/interface/pwa/pwa-50x50.png +0 -0
  307. package/dist/interface/pwa/pwa-64x64.png +0 -0
  308. package/dist/interface/pwa/pwa-72x72.png +0 -0
  309. package/dist/interface/pwa/pwa-88x88.png +0 -0
  310. package/dist/interface/pwa/pwa-96x96.png +0 -0
  311. package/dist/interface/sw.js +1 -1
  312. package/dist/server/package.json +7 -8
  313. package/dist/server/requirements.txt +1 -1
  314. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/__init__.py +2 -0
  315. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/__init__.py +2 -0
  316. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/frames.py +9 -5
  317. package/dist/server/src/api/controllers/assistant.controller.js +2 -1
  318. package/dist/server/src/api/controllers/assistant.controller.js.map +1 -1
  319. package/dist/server/src/api/controllers/plugins.controller.js +3 -3
  320. package/dist/server/src/api/controllers/plugins.controller.js.map +1 -1
  321. package/dist/server/src/api/controllers/users.controller.d.ts +3 -1
  322. package/dist/server/src/api/controllers/users.controller.js +38 -0
  323. package/dist/server/src/api/controllers/users.controller.js.map +1 -1
  324. package/dist/server/src/api/database/index.d.ts +1 -1
  325. package/dist/server/src/api/database/index.js +1 -1
  326. package/dist/server/src/api/database/index.js.map +1 -1
  327. package/dist/server/src/api/database/migrations/v2-2-3.d.ts +3 -0
  328. package/dist/server/src/api/database/migrations/v2-2-3.js +22 -0
  329. package/dist/server/src/api/database/migrations/v2-2-3.js.map +1 -0
  330. package/dist/server/src/api/database/record-schemas.d.ts +44 -1
  331. package/dist/server/src/api/database/record-schemas.js +3 -3
  332. package/dist/server/src/api/database/record-schemas.js.map +1 -1
  333. package/dist/server/src/api/database/types.d.ts +4 -2
  334. package/dist/server/src/api/routes/users.routes.js +24 -1
  335. package/dist/server/src/api/routes/users.routes.js.map +1 -1
  336. package/dist/server/src/api/schemas/assistant.schema.d.ts +43 -1
  337. package/dist/server/src/api/schemas/assistant.schema.js +2 -1
  338. package/dist/server/src/api/schemas/assistant.schema.js.map +1 -1
  339. package/dist/server/src/api/schemas/cameras.schema.d.ts +32 -16
  340. package/dist/server/src/api/schemas/cameras.schema.js +5 -5
  341. package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
  342. package/dist/server/src/api/schemas/users.schema.d.ts +8 -0
  343. package/dist/server/src/api/schemas/users.schema.js +45 -0
  344. package/dist/server/src/api/schemas/users.schema.js.map +1 -1
  345. package/dist/server/src/api/services/users.service.d.ts +3 -1
  346. package/dist/server/src/api/services/users.service.js +33 -0
  347. package/dist/server/src/api/services/users.service.js.map +1 -1
  348. package/dist/server/src/api/types/index.d.ts +4 -1
  349. package/dist/server/src/api/types/index.js.map +1 -1
  350. package/dist/server/src/api/websocket/nsp/logs.d.ts +5 -2
  351. package/dist/server/src/api/websocket/nsp/logs.js +20 -5
  352. package/dist/server/src/api/websocket/nsp/logs.js.map +1 -1
  353. package/dist/server/src/api/websocket/nsp/training.d.ts +1 -1
  354. package/dist/server/src/api/websocket/nsp/training.js +3 -2
  355. package/dist/server/src/api/websocket/nsp/training.js.map +1 -1
  356. package/dist/server/src/assistant/manager.d.ts +1 -0
  357. package/dist/server/src/assistant/manager.js +24 -2
  358. package/dist/server/src/assistant/manager.js.map +1 -1
  359. package/dist/server/src/assistant/prompt.d.ts +1 -0
  360. package/dist/server/src/assistant/prompt.js +10 -1
  361. package/dist/server/src/assistant/prompt.js.map +1 -1
  362. package/dist/server/src/assistant/reasoning.d.ts +1 -1
  363. package/dist/server/src/assistant/reasoning.js +6 -3
  364. package/dist/server/src/assistant/reasoning.js.map +1 -1
  365. package/dist/server/src/assistant/retry.d.ts +4 -0
  366. package/dist/server/src/assistant/retry.js +3 -0
  367. package/dist/server/src/assistant/retry.js.map +1 -1
  368. package/dist/server/src/assistant/search.js +4 -2
  369. package/dist/server/src/assistant/search.js.map +1 -1
  370. package/dist/server/src/assistant/skills.js +3 -2
  371. package/dist/server/src/assistant/skills.js.map +1 -1
  372. package/dist/server/src/assistant/tool-names.d.ts +2 -0
  373. package/dist/server/src/assistant/tool-names.js +23 -0
  374. package/dist/server/src/assistant/tool-names.js.map +1 -0
  375. package/dist/server/src/assistant/tools/api.js +2 -0
  376. package/dist/server/src/assistant/tools/api.js.map +1 -1
  377. package/dist/server/src/assistant/tools/docs.js +1 -0
  378. package/dist/server/src/assistant/tools/docs.js.map +1 -1
  379. package/dist/server/src/assistant/tools/index.js +2 -2
  380. package/dist/server/src/assistant/tools/index.js.map +1 -1
  381. package/dist/server/src/assistant/tools/memory.js +1 -0
  382. package/dist/server/src/assistant/tools/memory.js.map +1 -1
  383. package/dist/server/src/assistant/tools/notifications.d.ts +2 -1
  384. package/dist/server/src/assistant/tools/notifications.js +69 -35
  385. package/dist/server/src/assistant/tools/notifications.js.map +1 -1
  386. package/dist/server/src/assistant/tools/plugins.d.ts +7 -1
  387. package/dist/server/src/assistant/tools/plugins.js +13 -9
  388. package/dist/server/src/assistant/tools/plugins.js.map +1 -1
  389. package/dist/server/src/assistant/tools/settings.js +1 -0
  390. package/dist/server/src/assistant/tools/settings.js.map +1 -1
  391. package/dist/server/src/assistant/uploads.js +8 -1
  392. package/dist/server/src/assistant/uploads.js.map +1 -1
  393. package/dist/server/src/automations/utilities/imageInput.js +4 -2
  394. package/dist/server/src/automations/utilities/imageInput.js.map +1 -1
  395. package/dist/server/src/camera/controller.d.ts +3 -0
  396. package/dist/server/src/camera/controller.js +41 -28
  397. package/dist/server/src/camera/controller.js.map +1 -1
  398. package/dist/server/src/camera/index.d.ts +1 -7
  399. package/dist/server/src/camera/index.js +0 -13
  400. package/dist/server/src/camera/index.js.map +1 -1
  401. package/dist/server/src/camera/privacy/snapshot.js +4 -2
  402. package/dist/server/src/camera/privacy/snapshot.js.map +1 -1
  403. package/dist/server/src/camera/snapshot-store.d.ts +22 -0
  404. package/dist/server/src/camera/snapshot-store.js +78 -0
  405. package/dist/server/src/camera/snapshot-store.js.map +1 -0
  406. package/dist/server/src/camera/streaming/fmp4-session.d.ts +2 -1
  407. package/dist/server/src/camera/streaming/fmp4-session.js +4 -0
  408. package/dist/server/src/camera/streaming/fmp4-session.js.map +1 -1
  409. package/dist/server/src/camera/streaming/rtp-session.js +1 -0
  410. package/dist/server/src/camera/streaming/rtp-session.js.map +1 -1
  411. package/dist/server/src/manager/downloadManager.d.ts +1 -0
  412. package/dist/server/src/manager/downloadManager.js +3 -0
  413. package/dist/server/src/manager/downloadManager.js.map +1 -1
  414. package/dist/server/src/manager/notificationManager.d.ts +1 -0
  415. package/dist/server/src/manager/notificationManager.js +13 -2
  416. package/dist/server/src/manager/notificationManager.js.map +1 -1
  417. package/dist/server/src/manager/trainingCandidateManager.js +17 -13
  418. package/dist/server/src/manager/trainingCandidateManager.js.map +1 -1
  419. package/dist/server/src/manager/types.d.ts +4 -0
  420. package/dist/server/src/rpc/interfaces/device.d.ts +1 -0
  421. package/dist/server/src/sensors/registry.js +2 -2
  422. package/dist/server/src/sensors/registry.js.map +1 -1
  423. package/dist/server/src/utils/image.d.ts +1 -0
  424. package/dist/server/src/utils/image.js +95 -0
  425. package/dist/server/src/utils/image.js.map +1 -0
  426. package/package.json +7 -8
  427. package/dist/interface/assets/Assistant-CblA57eC.js +0 -1
  428. package/dist/interface/assets/Automation-WFaHCnEO.js +0 -3
  429. package/dist/interface/assets/AutomationImport-HRMq3VvF.js +0 -2
  430. package/dist/interface/assets/AutomationStore-BaaFYySv.js +0 -2
  431. package/dist/interface/assets/AutomationStoreDetail-IiLAbn4L.js +0 -2
  432. package/dist/interface/assets/Automations-DRTUxje4.js +0 -2
  433. package/dist/interface/assets/Camera-CaNYoR20.js +0 -2
  434. package/dist/interface/assets/Cameras-DnLbeJFs.js +0 -651
  435. package/dist/interface/assets/Camview-uZ50ebLh.js +0 -1
  436. package/dist/interface/assets/Console-CHdFH_Ip.js +0 -1
  437. package/dist/interface/assets/CuiAssistantConversation-B_eSNMuO.js +0 -5
  438. package/dist/interface/assets/CuiBottomSheet-B7hreGA-.js +0 -1
  439. package/dist/interface/assets/CuiCameraPipCard-BXCRph8M.js +0 -1
  440. package/dist/interface/assets/CuiCameraRecordings-B7BhgPpP.css +0 -1
  441. package/dist/interface/assets/CuiCameraRecordings-CztUs6YM.js +0 -1
  442. package/dist/interface/assets/CuiCameraTable-BmsSlihU.js +0 -1
  443. package/dist/interface/assets/CuiChartTable-DCGY-zVy.css +0 -1
  444. package/dist/interface/assets/CuiDataTable-CNFiiz_X.js +0 -1
  445. package/dist/interface/assets/CuiDataTable-DbkFXZeg.css +0 -1
  446. package/dist/interface/assets/CuiLightControl-u_yM0oyh.js +0 -1
  447. package/dist/interface/assets/CuiPluginCard-Bib3KXMs.js +0 -2
  448. package/dist/interface/assets/CuiPluginCategoryChip-CKSV5COz.js +0 -1
  449. package/dist/interface/assets/CuiPluginOAuthButton-Cug_uTVq.js +0 -2
  450. package/dist/interface/assets/CuiSchema-ycZ4rNC_.js +0 -1
  451. package/dist/interface/assets/Faces-D6pm4dxq.js +0 -1
  452. package/dist/interface/assets/FirstSteps-DotR0zU_.js +0 -1
  453. package/dist/interface/assets/Floorplan-xxlvYsYV.js +0 -1
  454. package/dist/interface/assets/Menu-6FMKvbpH.js +0 -1
  455. package/dist/interface/assets/Metrics-SQdgeJrD.js +0 -9
  456. package/dist/interface/assets/Plugin-CsT7_OZp.js +0 -1
  457. package/dist/interface/assets/PluginDetail-Bz65OQlN.js +0 -2
  458. package/dist/interface/assets/PluginSearch-CrzD6rwo.js +0 -1
  459. package/dist/interface/assets/PluginSearch-DKSrC539.js +0 -2
  460. package/dist/interface/assets/Plugins-BvuGEkhs.js +0 -1
  461. package/dist/interface/assets/Recordings-6MHDmY05.js +0 -1
  462. package/dist/interface/assets/Sensors-XQLst9D2.js +0 -2
  463. package/dist/interface/assets/SettingsAccount-BwC-JLu1.js +0 -1
  464. package/dist/interface/assets/SettingsAccount-D8txIS7w.js +0 -1
  465. package/dist/interface/assets/SettingsAppearance-D1PEIzvU.js +0 -1
  466. package/dist/interface/assets/SettingsAssistant-BpTwRGXe.css +0 -1
  467. package/dist/interface/assets/SettingsAssistant-C_9kjVnu.js +0 -1
  468. package/dist/interface/assets/SettingsNotifications-DhXKEfw0.js +0 -1
  469. package/dist/interface/assets/SettingsRecordings-BqRtaATr.js +0 -1
  470. package/dist/interface/assets/SettingsRemote-9YXNd_d3.js +0 -2
  471. package/dist/interface/assets/SettingsSystem-CwlTgN12.js +0 -2
  472. package/dist/interface/assets/Training-DMNjB3uX.css +0 -1
  473. package/dist/interface/assets/Training-DQP1EUdI.js +0 -1
  474. package/dist/interface/assets/VirtualSensorCreate-VIHqPQuq.js +0 -1
  475. package/dist/interface/assets/Workers-CJXGSHP0.js +0 -2
  476. package/dist/interface/assets/api-0KzHya6g.js +0 -4
  477. package/dist/interface/assets/api-C85p0Dk3.css +0 -2
  478. package/dist/interface/assets/cameraSources-B5dOcB7w.js +0 -1
  479. package/dist/interface/assets/cloudHandoff-DzrB62Ot.js +0 -1
  480. package/dist/interface/assets/main-BREBoPYq.js +0 -3
  481. package/dist/interface/assets/sensorIcons-Dwg45YYo.js +0 -1
  482. package/dist/interface/assets/types-B5ZroTch.js +0 -1
  483. package/dist/interface/assets/types-BZz-3rol.js +0 -1
  484. package/dist/interface/assets/ungrouped-CH2Ug0hy.js +0 -1
  485. package/dist/interface/assets/useBackupRestore-5E-Y8DMu.js +0 -1
  486. package/dist/interface/assets/vendor-zod-BMOt_yT8.js +0 -109
  487. package/dist/interface/ha/Plugins-BkvUlAHi.js +0 -705
  488. package/dist/interface/ha/SettingsAssistant-VQkALMWq.js +0 -1699
  489. package/dist/interface/ha/SettingsNotifications-lNH9mh9I.js +0 -529
  490. package/dist/interface/ha/Training-BbRm4L9a.js +0 -1469
@@ -1,57 +1,57 @@
1
1
  import { c as e, m as t } from "./ripple-B_itunQV.js";
2
2
  import { B as n, D as r, Dt as i, G as a, H as o, Jt as s, K as c, M as l, Wt as u, _t as d, bt as f, d as p, f as m, ft as h, gt as g, kt as _, l as v, lt as y, ot as b, p as x, qt as S, r as C, rt as w, u as T, ut as E, v as D, x as O, xt as k, y as A, yt as j, z as M } from "./runtime-core.esm-bundler-DCktklpY.js";
3
3
  import { t as ee } from "./tooltip-X5MY9FoG.js";
4
- import { t as te } from "./message-BExXUXHN.js";
5
- import { A as N, D as P, F, I, L, Ln as ne, Lr as re, Nt as ie, O as R, Or as ae, Pr as oe, Pt as z, _t as se, a as B, bi as V, en as ce, ft as H, hi as le, k as U, ki as W, kr as ue, m as de, yr as fe } from "./api-C0pVlzsW.js";
6
- import { M as pe } from "./protocol-BB4jdtUC-BcZnYd-h.js";
7
- import { i as me, o as he } from "./intercomService-Dwd0bhSN.js";
8
- import { $ as ge, Q as _e, X as ve, Y as ye, Z as be } from "./pinia-Dk3LfWcE.js";
9
- import { n as G } from "./vue-i18n-BBObX4QY.js";
10
- import { n as xe, t as K } from "./button-DJDZxmKj.js";
11
- import { t as q } from "./inputtext-vdcrNX6K.js";
12
- import { t as Se } from "./close-C_ajB9j7.js";
13
- import { t as Ce } from "./select-CaVzuLaS.js";
14
- import { i as we, n as Te, r as Ee, t as De } from "./accordion-DdpJ2jcK.js";
15
- import { t as Oe } from "./chip-BIYZHiP1.js";
16
- import { i as ke, t as Ae } from "./CuiDataTable-Cxk-gD0O.js";
17
- import { n as je, r as Me, t as Ne } from "./CuiSchema-BmfjaboJ.js";
18
- import { t as Pe } from "./ring-resize-11TaovpK.js";
19
- import { t as Fe } from "./CuiCameraTable-DCm-DNjq.js";
20
- import { u as Ie } from "./cards-Cn0baEOx.js";
21
- import { t as Le } from "./plus-QEeSdL0x.js";
22
- import { t as Re } from "./radar-BCSebLvk.js";
23
- import { n as ze, t as Be } from "./eye-off-BIuZGpjA.js";
24
- import { t as Ve } from "./rooms-Ch5UrfPN.js";
4
+ import { t as N } from "./message-BExXUXHN.js";
5
+ import { A as P, D as F, Dt as I, Et as te, F as L, I as R, L as z, O as B, On as ne, Or as re, Tr as ie, a as V, ai as ae, br as oe, bt as se, ht as H, k as U, m as ce, qt as le, ui as ue, ur as W, yi as G, yr as de } from "./api-BI6_Fcag.js";
6
+ import { M as fe } from "./protocol-BB4jdtUC-BcZnYd-h.js";
7
+ import { i as pe, o as me } from "./intercomService-Dwd0bhSN.js";
8
+ import { $ as he, et as ge, nt as _e, rt as ve, tt as ye } from "./pinia-DoDLbPZ3.js";
9
+ import { n as K } from "./vue-i18n-BBObX4QY.js";
10
+ import { n as be, t as q } from "./button-DJDZxmKj.js";
11
+ import { t as J } from "./inputtext-vdcrNX6K.js";
12
+ import { t as xe } from "./close-C_ajB9j7.js";
13
+ import { t as Se } from "./select-CaVzuLaS.js";
14
+ import { i as Ce, n as we, r as Te, t as Ee } from "./accordion-X9Wa7KVq.js";
15
+ import { t as De } from "./chip-BIYZHiP1.js";
16
+ import { i as Oe, t as ke } from "./CuiDataTable-CHvx6ALQ.js";
17
+ import { n as Ae, r as je, t as Me } from "./CuiSchema-0Hikg2mm.js";
18
+ import { t as Ne } from "./ring-resize-11TaovpK.js";
19
+ import { t as Pe } from "./CuiCameraTable-DFzhCO3J.js";
20
+ import { u as Fe } from "./cards-BW9I5B5Z.js";
21
+ import { t as Ie } from "./plus-QEeSdL0x.js";
22
+ import { t as Le } from "./radar-BCSebLvk.js";
23
+ import { n as Re, t as ze } from "./eye-off-BIuZGpjA.js";
24
+ import { t as Be } from "./rooms-BkEw1ev-.js";
25
25
  //#region ~icons/material-symbols/camera-rounded
26
- var He = {
26
+ var Ve = {
27
27
  viewBox: "0 0 24 24",
28
28
  width: "1.2em",
29
29
  height: "1.2em"
30
30
  };
31
- function Ue(e, t) {
32
- return o(), x("svg", He, [...t[0] ||= [T("path", {
31
+ function He(e, t) {
32
+ return o(), x("svg", Ve, [...t[0] ||= [T("path", {
33
33
  fill: "currentColor",
34
34
  d: "M12.5 9q-.275 0-.425-.25t0-.5L15 3.175q.2-.325.5-.387t.65.112q1.725.775 3.05 2.162T21.25 8.2q.125.325-.038.563T20.7 9zm-3.575 1.225l-3-5.2q-.2-.325-.1-.65t.4-.525Q7.425 3 8.888 2.5T12 2q.375 0 .825.038t.75.087q.35.05.463.3t-.063.55L9.8 10.225q-.15.25-.437.25t-.438-.25M2.85 14q-.275 0-.5-.187t-.275-.463t-.062-.6T2 12q0-1.575.513-3.137T4.1 5.9q.275-.35.638-.35t.562.375l4.2 7.325q.15.25-.012.5T9.05 14zm5 7.1q-1.65-.8-3.025-2.175T2.75 15.8q-.125-.325.05-.562T3.325 15h8.15q.275 0 .425.25t0 .5l-2.875 5.025q-.2.325-.5.425t-.675-.1M12 22q-.35 0-.788-.038t-.762-.087q-.35-.05-.475-.3t.05-.55l4.125-7.2q.15-.25.5-.25t.5.25l2.95 5.125q.175.275.113.6t-.413.6q-1.15.85-2.687 1.35T12 22m6.775-3.875l-4.25-7.375q-.15-.25.013-.5t.437-.25h6.175q.275 0 .5.188t.275.462t.062.6T22 12q0 1.575-.513 3.163T19.9 18.125q-.2.275-.575.288t-.55-.288"
35
35
  }, null, -1)]]);
36
36
  }
37
- var We = d({
37
+ var Ue = d({
38
38
  name: "material-symbols-camera-rounded",
39
- render: Ue
40
- }), Ge = "#### Source: Bubble\n\nOther names: [ESeeCloud](http://www.eseecloud.com/), [dvr163](http://help.dvr163.com/).\n\n- you can skip `username`, `password`, `port`, `ch` and `stream` if they are default\n- setup separate streams for different channels and streams\n\n```yaml\nstreams:\n camera1: bubble://username:password@192.168.1.123:34567/bubble/live?ch=0&stream=0\n```\n\n_Source: [Go2Rtc Bubble](https://github.com/seydx/go2rtc#source-bubble)_\n", Ke = "#### Source: CUI\n\nThis source can be used to stream dynamically generated, go2rtc compatible, URLs. The source is just a placeholder for a `https://` URL.\n\n```yaml\nstreams:\n camera1: cui://192.168.1.123:34567/some-identifier-if-you-want\n```\n\nThe URL will be changed to `https://192.168.1.123:34567/some-identifier-if-you-want` and the response must be like this:\n\n```json\n{\n {\n \"streamUrl\": \"rtsp://192.168.1.1:554/stream\",\n }\n}\n```\n\nGo2rtc will then use the `streamUrl` to stream the video. The `streamUrl` can be any URL that is compatible with go2rtc. The response must be a valid JSON object with the `streamUrl` key.\n", qe = "#### Source: Doorbird\n\n[Doorbird](https://www.doorbird.com/) proprietary camera protocol with **two way audio** support.\n\n```yaml\nstreams:\n video-audio:\n - rtsp://user:pass@123.123.123.123:554/mpeg/media.amp\n - doorbird://user:pass@123.123.123.123?media=audio\n two-way:\n - rtsp://user:pass@123.123.123.123:554/mpeg/media.amp\n - doorbird://user:pass@123.123.123.123?media=audio\n - doorbird://user:pass@123.123.123.123\n mjpeg-video:\n - doorbird://user:pass@123.123.123.123?media=video\n```\n\n_Source: [Go2Rtc Tuya](https://github.com/seydx/go2rtc#source-doorbird)_\n", Je = "#### Source: DVRIP\n\nOther names: DVR-IP, NetSurveillance, Sofia protocol (NETsurveillance ActiveX plugin XMeye SDK).\n\n- you can skip `username`, `password`, `port`, `channel` and `subtype` if they are default\n- setup separate streams for different channels\n- use `subtype=0` for Main stream, and `subtype=1` for Extra1 stream\n- only the TCP protocol is supported\n\n```yaml\nstreams:\n only_stream: dvrip://username:password@192.168.1.123:34567?channel=0&subtype=0\n only_tts: dvrip://username:password@192.168.1.123:34567?backchannel=1\n two_way_audio:\n - dvrip://username:password@192.168.1.123:34567?channel=0&subtype=0\n - dvrip://username:password@192.168.1.123:34567?backchannel=1\n```\n\n_Source: [Go2Rtc DVRIP](https://github.com/seydx/go2rtc#source-dvrip)_\n", Ye = "#### Source: Echo\n\nSome sources may have a dynamic link. And you will need to get it using a bash or python script. Your script should echo a link to the source. RTSP, FFmpeg or any of the [supported sources](https://github.com/seydx/go2rtc#module-streams).\n\n**Docker** and **Hass Add-on** users has preinstalled `python3`, `curl`, `jq`.\nCheck examples in [wiki](https://github.com/seydx/go2rtc/wiki/Source-Echo-examples).\n\n```yaml\nstreams:\n apple_hls: echo:python3 hls.py https://developer.apple.com/streaming/examples/basic-stream-osx-ios5.html\n```\n\n_Source: [Go2Rtc Echo](https://github.com/seydx/go2rtc#source-echo)_\n", Xe = "#### Source: Exec\n\nExec source can run any external application and expect data from it. Two transports are supported - **pipe** and **RTSP**.\n\nIf you want to use **RTSP** transport - the command must contain the `{output}` argument in any place. On launch, it will be replaced by the local address of the RTSP server.\n\n**pipe** reads data from app stdout in different formats: **MJPEG**, **H.264/H.265 bitstream**, **MPEG-TS**. Also pipe can write data to app stdin in two formats: **PCMA** and **PCM/48000**.\n\nThe source can be used with:\n\n- [FFmpeg](https://ffmpeg.org/) - go2rtc ffmpeg source just a shortcut to exec source\n- [FFplay](https://ffmpeg.org/ffplay.html) - play audio on your server\n- [GStreamer](https://gstreamer.freedesktop.org/)\n- [Raspberry Pi Cameras](https://www.raspberrypi.com/documentation/computers/camera_software.html)\n- any your own software\n\n```yaml\nstreams:\n stream: exec:ffmpeg -re -i /media/BigBuckBunny.mp4 -c copy -rtsp_transport tcp -f rtsp {output}\n picam_h264: exec:libcamera-vid -t 0 --inline -o -\n picam_mjpeg: exec:libcamera-vid -t 0 --codec mjpeg -o -\n pi5cam_h264: exec:libcamera-vid -t 0 --libav-format h264 -o -\n canon: exec:gphoto2 --capture-movie --stdout#killsignal=2#killtimeout=5\n play_pcma: exec:ffplay -fflags nobuffer -f alaw -ar 8000 -i -#backchannel=1\n play_pcm48k: exec:ffplay -fflags nobuffer -f s16be -ar 48000 -i -#backchannel=1\n```\n\n_Source: [Go2Rtc Exec](https://github.com/seydx/go2rtc#source-exec)_\n", Ze = "#### Source: Expr\n\n[Expr](https://github.com/antonmedv/expr) - expression language and expression evaluation for Go.\n\n- [language definition](https://expr.medv.io/docs/Language-Definition) - takes best from JS, Python, Jinja2 syntax\n- your expression should return a link of any supported source\n- expression supports multiple operation, but:\n - all operations must be separated by a semicolon\n - all operations, except the last one, must declare a new variable (`let s = \"abc\";`)\n - the last operation should return a string\n- go2rtc supports additional functions:\n - `fetch` - JS-like HTTP requests\n - `match` - JS-like RegExp queries\n\n## Examples\n\n**Two way audio for Dahua VTO**\n\n```yaml\nstreams:\n dahua_vto: |\n expr: let host = \"admin:password@192.168.1.123\";\n fetch(\"http://\"+host+\"/cgi-bin/configManager.cgi?action=setConfig&Encode[0].MainFormat[0].Audio.Compression=G.711A&Encode[0].MainFormat[0].Audio.Frequency=8000\").ok\n ? \"rtsp://\"+host+\"/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif\" : \"\"\n```\n\n**dom.ru**\n\nYou can get credentials via:\n\n- https://github.com/alexmorbo/domru (file `/share/domru/accounts`)\n- https://github.com/ad/domru\n\n```yaml\nstreams:\n dom_ru: |\n expr: let camera = \"99999999\"; let token = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"; let operator = 99;\n fetch(\"https://myhome.novotelecom.ru/rest/v1/forpost/cameras/\"+camera+\"/video\", {\n headers: {Authorization: \"Bearer \"+token, Operator: operator}\n }).json().data.URL\n```\n\n**Parse HLS files from Apple**\n\nSame example in two languages - python and expr.\n\n```yaml\nstreams:\n example_python: |\n echo:python -c 'from urllib.request import urlopen; import re\n\n # url1 = \"https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8\"\n html1 = urlopen(\"https://developer.apple.com/streaming/examples/basic-stream-osx-ios5.html\").read().decode(\"utf-8\")\n url1 = re.search(r\"https.+?m3u8\", html1)[0]\n\n # url2 = \"gear1/prog_index.m3u8\"\n html2 = urlopen(url1).read().decode(\"utf-8\")\n url2 = re.search(r\"^[a-z0-1/_]+\\.m3u8$\", html2, flags=re.MULTILINE)[0]\n\n # url3 = \"https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/gear1/prog_index.m3u8\"\n url3 = url1[:url1.rindex(\"/\")+1] + url2\n\n print(\"ffmpeg:\" + url3 + \"#video=copy\")'\n\n example_expr: |\n expr:\n\n let html1 = fetch(\"https://developer.apple.com/streaming/examples/basic-stream-osx-ios5.html\").text;\n let url1 = match(html1, \"https.+?m3u8\")[0];\n\n let html2 = fetch(url1).text;\n let url2 = match(html2, \"^[a-z0-1/_]+\\\\.m3u8$\", \"m\")[0];\n\n let url3 = url1[:lastIndexOf(url1, \"/\")+1] + url2;\n\n \"ffmpeg:\" + url3 + \"#video=copy\"\n```\n\n## Comparsion\n\n| expr | python | js |\n| ---------------------------- | -------------------------- | ------------------------------ |\n| let x = 1; | x = 1 | let x = 1 |\n| {a: 1, b: 2} | {\"a\": 1, \"b\": 2} | {a: 1, b: 2} |\n| let r = fetch(url, {method}) | r = request(method, url) | r = await fetch(url, {method}) |\n| r.ok | r.ok | r.ok |\n| r.status | r.status_code | r.status |\n| r.text | r.text | await r.text() |\n| r.json() | r.json() | await r.json() |\n| r.headers | r.headers | r.headers |\n| let m = match(text, \"abc\") | m = re.search(\"abc\", text) | let m = text.match(/abc/) |\n\n_Source: [Go2Rtc Expr](https://github.com/seydx/go2rtc#source-expr)_\n", Qe = "#### Source: FFmpeg\n\nYou can get any stream or file or device via FFmpeg and push it to go2rtc. The app will automatically start FFmpeg with the proper arguments when someone starts watching the stream.\n\n- FFmpeg preistalled for **Docker** and **Hass Add-on** users\n- **Hass Add-on** users can target files from [/media](https://www.home-assistant.io/more-info/local-media/setup-media/) folder\n\nFormat: `ffmpeg:{input}#{param1}#{param2}#{param3}`. Examples:\n\n```yaml\nstreams:\n # [FILE] all tracks will be copied without transcoding codecs\n file1: ffmpeg:/media/BigBuckBunny.mp4\n\n # [FILE] video will be transcoded to H264, audio will be skipped\n file2: ffmpeg:/media/BigBuckBunny.mp4#video=h264\n\n # [FILE] video will be copied, audio will be transcoded to pcmu\n file3: ffmpeg:/media/BigBuckBunny.mp4#video=copy#audio=pcmu\n\n # [HLS] video will be copied, audio will be skipped\n hls: ffmpeg:https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/gear5/prog_index.m3u8#video=copy\n\n # [MJPEG] video will be transcoded to H264\n mjpeg: ffmpeg:http://185.97.122.128/cgi-bin/faststream.jpg#video=h264\n\n # [RTSP] video with rotation, should be transcoded, so select H264\n rotate: ffmpeg:rtsp://rtsp:12345678@192.168.1.123/av_stream/ch0#video=h264#rotate=90\n```\n\nAll trascoding formats has [built-in templates](https://github.com/seydx/go2rtc/blob/master/internal/ffmpeg/ffmpeg.go): `h264`, `h265`, `opus`, `pcmu`, `pcmu/16000`, `pcmu/48000`, `pcma`, `pcma/16000`, `pcma/48000`, `aac`, `aac/16000`.\n\nBut you can override them via YAML config. You can also add your own formats to config and use them with source params.\n\n```yaml\nffmpeg:\n bin: ffmpeg # path to ffmpeg binary\n h264: '-codec:v libx264 -g:v 30 -preset:v superfast -tune:v zerolatency -profile:v main -level:v 4.1'\n mycodec: '-any args that supported by ffmpeg...'\n myinput: '-fflags nobuffer -flags low_delay -timeout 5000000 -i {input}'\n myraw: '-ss 00:00:20'\n```\n\n- You can use go2rtc stream name as ffmpeg input (ex. `ffmpeg:camera1#video=h264`)\n- You can use `video` and `audio` params multiple times (ex. `#video=copy#audio=copy#audio=pcmu`)\n- You can use `rotate` param with `90`, `180`, `270` or `-90` values, important with transcoding (ex. `#video=h264#rotate=90`)\n- You can use `width` and/or `height` params, important with transcoding (ex. `#video=h264#width=1280`)\n- You can use `drawtext` to add a timestamp (ex. `drawtext=x=2:y=2:fontsize=12:fontcolor=white:box=1:boxcolor=black`)\n - This will greatly increase the CPU of the server, even with hardware acceleration\n- You can use `raw` param for any additional FFmpeg arguments (ex. `#raw=-vf transpose=1`)\n- You can use `input` param to override default input template (ex. `#input=rtsp/udp` will change RTSP transport from TCP to UDP+TCP)\n - You can use raw input value (ex. `#input=-timeout 5000000 -i {input}`)\n - You can add your own input templates\n\nRead more about [hardware acceleration](https://github.com/seydx/go2rtc/wiki/Hardware-acceleration).\n\n**PS.** It is recommended to check the available hardware in the WebUI add page.\n\n<hr>\n\n#### Source: FFmpeg Device\n\nYou can get video from any USB-camera or Webcam as RTSP or WebRTC stream. This is part of FFmpeg integration.\n\n- check available devices in Web interface\n- `video_size` and `framerate` must be supported by your camera!\n- for Linux supported only video for now\n- for macOS you can stream Facetime camera or whole Desktop!\n- for macOS important to set right framerate\n\nFormat: `ffmpeg:device?{input-params}#{param1}#{param2}#{param3}`\n\n```yaml\nstreams:\n linux_usbcam: ffmpeg:device?video=0&video_size=1280x720#video=h264\n windows_webcam: ffmpeg:device?video=0#video=h264\n macos_facetime: ffmpeg:device?video=0&audio=1&video_size=1280x720&framerate=30#video=h264#audio=pcma\n```\n\n**PS.** It is recommended to check the available devices in the WebUI add page.\n\n_Source: [Go2Rtc FFmpeg](https://github.com/seydx/go2rtc#source-ffmpeg) & [Go2Rtc FFmpeg Device](https://github.com/seydx/go2rtc#source-ffmpeg-device)_\n", $e = "#### Source: GoPro\n\nSupported models: HERO9, HERO10, HERO11, HERO12. \nSupported OS: Linux, Mac, Windows, [HassOS](https://www.home-assistant.io/installation/)\n\nThe other camera models have different APIs. I will try to add them in the next versions.\n\n## Config\n\n- USB-connected cameras create a new network interface in the system\n- Linux users do not need to install anything\n- Windows users should install the [network driver](https://community.gopro.com/s/article/GoPro-Webcam)\n- if the camera is detected but the stream does not start - you need to disable firewall\n\n1. Discover camera address: WebUI > Add > GoPro\n2. Add camera to config\n\n```yaml\nstreams:\n hero12: gopro://172.20.100.51\n```\n\n## Useful links\n\n- https://gopro.github.io/OpenGoPro/\n\n_Source: [Go2Rtc Hass](https://github.com/seydx/go2rtc#source-hass)_\n", et = "#### Source: Hass\n\nSupport import camera links from [Home Assistant](https://www.home-assistant.io/) config files:\n\n- [Generic Camera](https://www.home-assistant.io/integrations/generic/), setup via GUI\n- [HomeKit Camera](https://www.home-assistant.io/integrations/homekit_controller/)\n- [ONVIF](https://www.home-assistant.io/integrations/onvif/)\n- [Roborock](https://github.com/humbertogontijo/homeassistant-roborock) vacuums with camera\n\n```yaml\nhass:\n config: '/config' # skip this setting if you Hass Add-on user\n\nstreams:\n generic_camera: hass:Camera1 # Settings > Integrations > Integration Name\n aqara_g3: hass:Camera-Hub-G3-AB12\n```\n\n**WebRTC Cameras**\n\nAny cameras in WebRTC format are supported. But at the moment Home Assistant only supports some [Nest](https://www.home-assistant.io/integrations/nest/) cameras in this fomat.\n\nThe Nest API only allows you to get a link to a stream for 5 minutes. So every 5 minutes the stream will be reconnected.\n\n```yaml\nstreams:\n # link to Home Assistant Supervised\n hass-webrtc1: hass://supervisor?entity_id=camera.nest_doorbell\n # link to external Hass with Long-Lived Access Tokens\n hass-webrtc2: hass://192.168.1.123:8123?entity_id=camera.nest_doorbell&token=eyXYZ...\n```\n\n_Source: [Go2Rtc Hass](https://github.com/seydx/go2rtc#source-hass)_\n", tt = "#### Source: HomeKit\n\n**Important:**\n\n- You can use HomeKit Cameras **without Apple devices** (iPhone, iPad, etc.), it's just a yet another protocol\n- HomeKit device can be paired with only one ecosystem. So, if you have paired it to an iPhone (Apple Home) - you can't pair it with Home Assistant or go2rtc. Or if you have paired it to go2rtc - you can't pair it with iPhone\n- HomeKit device should be in same network with working [mDNS](https://en.wikipedia.org/wiki/Multicast_DNS) between device and go2rtc\n\ngo2rtc support import paired HomeKit devices from [Home Assistant](#source-hass). So you can use HomeKit camera with Hass and go2rtc simultaneously. If you using Hass, I recommend pairing devices with it, it will give you more options.\n\nYou can pair device with go2rtc on the HomeKit page. If you can't see your devices - reload the page. Also try reboot your HomeKit device (power off). If you still can't see it - you have a problems with mDNS.\n\nIf you see a device but it does not have a pair button - it is paired to some ecosystem (Apple Home, Home Assistant etc). You need to delete device from that ecosystem, and it will be available for pairing. If you cannot unpair device, you will have to reset it.\n\n**Important:**\n\n- HomeKit audio uses very non-standard **AAC-ELD** codec with very non-standard params and specification violation\n- Audio can't be played in `VLC` and probably any other player\n- Audio should be transcoded for using with MSE, WebRTC, etc.\n\nRecommended settings for using HomeKit Camera with WebRTC, MSE, MP4, RTSP:\n\n```\nstreams:\n aqara_g3:\n - hass:Camera-Hub-G3-AB12\n - ffmpeg:aqara_g3#audio=aac#audio=opus\n```\n\nRTSP link with \"normal\" audio for any player: `rtsp://192.168.1.123:8554/aqara_g3?video&audio=aac`\n\n**This source is in active development!** Tested only with [Aqara Camera Hub G3](https://www.aqara.com/eu/product/camera-hub-g3) (both EU and CN versions).\n\n_Source: [Go2Rtc HomeKit](https://github.com/seydx/go2rtc#source-homekit)_\n", nt = "#### Source: HTTP\n\nSupport Content-Type:\n\n- **HTTP-FLV** (`video/x-flv`) - same as RTMP, but over HTTP\n- **HTTP-JPEG** (`image/jpeg`) - camera snapshot link, can be converted by go2rtc to MJPEG stream\n- **HTTP-MJPEG** (`multipart/x`) - simple MJPEG stream over HTTP\n- **MPEG-TS** (`video/mpeg`) - legacy [streaming format](https://en.wikipedia.org/wiki/MPEG_transport_stream)\n\nSource also support HTTP and TCP streams with autodetection for different formats: **MJPEG**, **H.264/H.265 bitstream**, **MPEG-TS**.\n\n```yaml\nstreams:\n # [HTTP-FLV] stream in video/x-flv format\n http_flv: http://192.168.1.123:20880/api/camera/stream/780900131155/657617\n\n # [JPEG] snapshots from Dahua camera, will be converted to MJPEG stream\n dahua_snap: http://admin:password@192.168.1.123/cgi-bin/snapshot.cgi?channel=1\n\n # [MJPEG] stream will be proxied without modification\n http_mjpeg: https://mjpeg.sanford.io/count.mjpeg\n\n # [MJPEG or H.264/H.265 bitstream or MPEG-TS]\n tcp_magic: tcp://192.168.1.123:12345\n\n # Add custom header\n custom_header: 'https://mjpeg.sanford.io/count.mjpeg#header=Authorization: Bearer XXX'\n```\n\n**PS.** Dahua camera has bug: if you select MJPEG codec for RTSP second stream - snapshot won't work.\n\n_Source: [Go2Rtc Http](https://github.com/seydx/go2rtc#source-http)_\n", rt = "#### Source: ISAPI\n\nThis source type support only backchannel audio for Hikvision ISAPI protocol. So it should be used as second source in addition to the RTSP protocol.\n\n```yaml\nstreams:\n hikvision1:\n - rtsp://admin:password@192.168.1.123:554/Streaming/Channels/101\n - isapi://admin:password@192.168.1.123:80/\n```\n\n_Source: [Go2Rtc Isapi](https://github.com/seydx/go2rtc#source-isapi)_\n", it = "#### Source: Ivideon\n\nSupport public cameras from service [Ivideon](https://tv.ivideon.com/).\n\n```yaml\nstreams:\n quailcam: ivideon:100-tu5dkUPct39cTp9oNEN2B6/0\n```\n\n_Source: [Go2Rtc Ivideon](https://github.com/seydx/go2rtc#source-ivideon)_\n", at = "#### Source: Kasa\n\n[TP-Link Kasa](https://www.kasasmart.com/) non-standard protocol [more info](https://medium.com/@hu3vjeen/reverse-engineering-tp-link-kc100-bac4641bf1cd).\n\n- `username` - urlsafe email, `alex@gmail.com` -> `alex%40gmail.com`\n- `password` - base64password, `secret1` -> `c2VjcmV0MQ==`\n\n```yaml\nstreams:\n kc401: kasa://username:password@192.168.1.123:19443/https/stream/mixed\n```\n\nTested: KD110, KC200, KC401, KC420WS, EC71.\n\n_Source: [Go2Rtc Kasa](https://github.com/seydx/go2rtc#source-kasa)_\n", ot = "#### Source: Nest\n\nCurrently only WebRTC cameras are supported.\n\nFor simplicity, it is recommended to connect the Nest/WebRTC camera to the [Home Assistant](#source-hass). But if you can somehow get the below parameters - Nest/WebRTC source will work without Hass.\n\n```yaml\nstreams:\n nest-doorbell: nest:?client_id=***&client_secret=***&refresh_token=***&project_id=***&device_id=***\n```\n\n_Source: [Go2Rtc Nest](https://github.com/seydx/go2rtc#source-nest)_\n", st = "#### Source: ONVIF\n\nThe source is not very useful if you already know RTSP and snapshot links for your camera. But it can be useful if you don't.\n\n**WebUI > Add** webpage support ONVIF autodiscovery. Your server must be on the same subnet as the camera. If you use docker, you must use \"network host\".\n\n```yaml\nstreams:\n dahua1: onvif://admin:password@192.168.1.123\n reolink1: onvif://admin:password@192.168.1.123:8000\n tapo1: onvif://admin:password@192.168.1.123:2020\n```\n\n_Source: [Go2Rtc Onvif](https://github.com/seydx/go2rtc#source-onvif)_\n", ct = "#### Source: Ring\n\nThis source type support Ring cameras with [two way audio](#two-way-audio) support. If you have a `refresh_token` and `device_id` - you can use it in `go2rtc.yaml` config file. Otherwise, you can use the go2rtc interface and add your ring account (WebUI > Add > Ring). Once added, it will list all your Ring cameras.\n\n```yaml\nstreams:\n ring: ring:?device_id=XXX&refresh_token=XXX\n ring_snapshot: ring:?device_id=XXX&refresh_token=XXX&snapshot\n```\n\n_Source: [Go2Rtc Ring](https://github.com/seydx/go2rtc#source-ring)_\n", lt = "#### Source: Roborock\n\nThis source type support Roborock vacuums with cameras. Known working models:\n\n- Roborock S6 MaxV - only video (the vacuum has no microphone)\n- Roborock S7 MaxV - video and two way audio\n- Roborock Qrevo MaxV - video and two way audio\n\nSource support load Roborock credentials from Home Assistant [custom integration](https://github.com/humbertogontijo/homeassistant-roborock) or the [core integration](https://www.home-assistant.io/integrations/roborock). Otherwise, you need to log in to your Roborock account (MiHome account is not supported). Go to: go2rtc WebUI > Add webpage. Copy `roborock://...` source for your vacuum and paste it to `go2rtc.yaml` config.\n\nIf you have graphic pin for your vacuum - add it as numeric pin (lines: 123, 456, 789) to the end of the roborock-link.\n\n_Source: [Go2Rtc Roborock](https://github.com/seydx/go2rtc#source-roborock)_\n", ut = "#### Source: RTMP\n\nYou can get stream from RTMP server, for example [Nginx with nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module).\n\n```yaml\nstreams:\n rtmp_stream: rtmp://192.168.1.123/live/camera1\n```\n\n_Source: [Go2Rtc RTMP](https://github.com/seydx/go2rtc#source-rtmp)_\n", dt = "#### Source: RTSP\n\n```yaml\nstreams:\n sonoff_camera: rtsp://rtsp:12345678@192.168.1.123/av_stream/ch0\n dahua_camera:\n - rtsp://admin:password@192.168.1.123/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif\n - rtsp://admin:password@192.168.1.123/cam/realmonitor?channel=1&subtype=1\n amcrest_doorbell:\n - rtsp://username:password@192.168.1.123:554/cam/realmonitor?channel=1&subtype=0#backchannel=0\n unifi_camera: rtspx://192.168.1.123:7441/fD6ouM72bWoFijxK\n glichy_camera: ffmpeg:rtsp://username:password@192.168.1.123/live/ch00_1\n```\n\n**Recommendations**\n\n- **Amcrest Doorbell** users may want to disable two way audio, because with an active stream you won't have a call button working. You need to add `#backchannel=0` to the end of your RTSP link in YAML config file\n- **Dahua Doorbell** users may want to change backchannel [audio codec](https://github.com/AlexxIT/go2rtc/issues/52)\n- **Reolink** users may want NOT to use RTSP protocol at all, some camera models have a very awful unusable stream implementation\n- **Ubiquiti UniFi** users may want to disable HTTPS verification. Use `rtspx://` prefix instead of `rtsps://`. And don't use `?enableSrtp` [suffix](https://github.com/AlexxIT/go2rtc/issues/81)\n- **TP-Link Tapo** users may skip login and password, because go2rtc support login [without them](https://drmnsamoliu.github.io/video.html)\n- If your camera has two RTSP links - you can add both of them as sources. This is useful when streams has different codecs, as example AAC audio with main stream and PCMU/PCMA audio with second stream\n- If the stream from your camera is glitchy, try using [ffmpeg source](#source-ffmpeg). It will not add CPU load if you won't use transcoding\n- If the stream from your camera is very glitchy, try to use transcoding with [ffmpeg source](#source-ffmpeg)\n\n**Other options**\n\nFormat: `rtsp...#{param1}#{param2}#{param3}`\n\n- Ignore audio - `#media=video` or ignore video - `#media=audio`\n- Ignore two way audio API `#backchannel=0` - important for some glitchy cameras\n- Use WebSocket transport `#transport=ws...`\n\n**RTSP over WebSocket**\n\n```yaml\nstreams:\n # WebSocket with authorization, RTSP - without\n axis-rtsp-ws: rtsp://192.168.1.123:4567/axis-media/media.amp?overview=0&camera=1&resolution=1280x720&videoframeskipmode=empty&Axis-Orig-Sw=true#transport=ws://user:pass@192.168.1.123:4567/rtsp-over-websocket\n # WebSocket without authorization, RTSP - with\n dahua-rtsp-ws: rtsp://user:pass@192.168.1.123/cam/realmonitor?channel=1&subtype=1&proto=Private3#transport=ws://192.168.1.123/rtspoverwebsocket\n```\n\n_Source: [Go2Rtc RTSP](https://github.com/seydx/go2rtc#source-rtsp)_\n", ft = "#### Source: Tapo\n\n[TP-Link Tapo](https://www.tapo.com/) proprietary camera protocol with **two way audio** support.\n\n- stream quality is the same as [RTSP protocol](https://www.tapo.com/en/faq/34/)\n- use the **cloud password**, this is not the RTSP password! you do not need to add a login!\n- you can also use UPPERCASE MD5 hash from your cloud password with `admin` username\n- some new camera firmwares requires SHA256 instead of MD5\n\n```yaml\nstreams:\n # cloud password without username\n camera1: tapo://cloud-password@192.168.1.123\n # admin username and UPPERCASE MD5 cloud-password hash\n camera2: tapo://admin:UPPERCASE-MD5@192.168.1.123\n # admin username and UPPERCASE SHA256 cloud-password hash\n camera3: tapo://admin:UPPERCASE-SHA256@192.168.1.123\n```\n\n```bash\necho -n \"cloud password\" | md5 | awk '{print toupper($0)}'\necho -n \"cloud password\" | shasum -a 256 | awk '{print toupper($0)}'\n```\n\n_Source: [Go2Rtc Tapo](https://github.com/seydx/go2rtc#source-tapo)_\n", pt = "#### Source: Tuya\n\n[Tuya](https://www.tuya.com/) proprietary camera protocol with **two way audio** support. Go2rtc supports `Tuya Smart API` and `Tuya Cloud API`.\n\n**Tuya Smart API (recommended)**:\n\n- Cameras can be discovered through the go2rtc web interface via Tuya Smart account (Add > Tuya > Select region and fill in email and password > Login).\n- **Smart Life accounts are not supported**, you need to create a Tuya Smart account. If the cameras are already added to the Smart Life app, you need to remove them and add them again to the Tuya Smart app.\n\n**Tuya Cloud API**:\n\n- Requires setting up a cloud project in the Tuya Developer Platform.\n- Obtain `device_id`, `client_id`, `client_secret`, and `uid` from [Tuya IoT Platform](https://iot.tuya.com/). [Here's a guide](https://xzetsubou.github.io/hass-localtuya/cloud_api/).\n- Please ensure that you have subscribed to the `IoT Video Live Stream` service (Free Trial) in the Tuya Developer Platform, otherwise the stream will not work (Tuya Developer Platform > Service API > Authorize > IoT Video Live Stream).\n\n**Configuring the stream:**\n\n- Use `resolution` parameter to select the stream (not all cameras support `hd` stream through WebRTC even if the camera has it):\n - `hd` - HD stream (default)\n - `sd` - SD stream\n\n```yaml\nstreams:\n # Tuya Smart API: WebRTC main stream (use Add > Tuya to discover the URL)\n tuya_main:\n - tuya://protect-us.ismartlife.me?device_id=XXX&email=XXX&password=XXX\n\n # Tuya Smart API: WebRTC sub stream (use Add > Tuya to discover the URL)\n tuya_sub:\n - tuya://protect-us.ismartlife.me?device_id=XXX&email=XXX&password=XXX&resolution=sd\n\n # Tuya Cloud API: WebRTC main stream\n tuya_webrtc:\n - tuya://openapi.tuyaus.com?device_id=XXX&uid=XXX&client_id=XXX&client_secret=XXX\n\n # Tuya Cloud API: WebRTC sub stream\n tuya_webrtc_sd:\n - tuya://openapi.tuyaus.com?device_id=XXX&uid=XXX&client_id=XXX&client_secret=XXX&resolution=sd\n```\n\n_Source: [Go2Rtc Tuya](https://github.com/seydx/go2rtc#source-tuya)_\n", mt = "#### Source: WebRTC\n\nThis source type support four connection formats.\n\n**whep**\n\n[WebRTC/WHEP](https://datatracker.ietf.org/doc/draft-murillo-whep/) - is replaced by [WebRTC/WISH](https://datatracker.ietf.org/doc/charter-ietf-wish/02/) standard for WebRTC video/audio viewers. But it may already be supported in some third-party software. It is supported in go2rtc.\n\n**go2rtc**\n\nThis format is only supported in go2rtc. Unlike WHEP it supports asynchronous WebRTC connection and two way audio.\n\n**openipc**\n\nSupport connection to [OpenIPC](https://openipc.org/) cameras.\n\n**wyze**\n\nSupports connection to [Wyze](https://www.wyze.com/) cameras, using WebRTC protocol. You can use [docker-wyze-bridge](https://github.com/mrlt8/docker-wyze-bridge) project to get connection credentials.\n\n**kinesis**\n\nSupports [Amazon Kinesis Video Streams](https://aws.amazon.com/kinesis/video-streams/), using WebRTC protocol. You need to specify signalling WebSocket URL with all credentials in query params, `client_id` and `ice_servers` list in [JSON format](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer).\n\n```yaml\nstreams:\n webrtc-whep: webrtc:http://192.168.1.123:1984/api/webrtc?src=camera1\n webrtc-go2rtc: webrtc:ws://192.168.1.123:1984/api/ws?src=camera1\n webrtc-openipc: webrtc:ws://192.168.1.123/webrtc_ws#format=openipc#ice_servers=[{\"urls\":\"stun:stun.kinesisvideo.eu-north-1.amazonaws.com:443\"}]\n webrtc-wyze: webrtc:http://192.168.1.123:5000/signaling/camera1?kvs#format=wyze\n webrtc-kinesis: webrtc:wss://...amazonaws.com/?...#format=kinesis#client_id=...#ice_servers=[{...},{...}]\n```\n\n**PS.** For `kinesis` sources you can use [echo](#source-echo) to get connection params using `bash`/`python` or any other script language.\n\n_Source: [Go2Rtc WebRTC](https://github.com/seydx/go2rtc#source-webrtc)_\n", ht = "#### Source: WebTorrent\n\nThis source can get a stream from another go2rtc via [WebTorrent](#module-webtorrent) protocol.\n\n```yaml\nstreams:\n webtorrent1: webtorrent:?share=huofssuxaty00izc&pwd=k3l2j9djeg8v8r7e\n```\n\n_Source: [Go2Rtc Webtorrent](https://github.com/seydx/go2rtc#source-webtorrent)_\n", gt = "#### Source: Wyze\n\nThis source allows you to stream from [Wyze](https://wyze.com/) cameras using native P2P protocol without the Wyze app or SDK.\n\n**Important:**\n\n1. **Requires Wyze account**. You need to login once via the WebUI to load your cameras.\n2. **Requires firmware with DTLS**. Only cameras with DTLS-enabled firmware are supported.\n3. Internet access is only needed when loading cameras from your account. After that, all streaming is local P2P.\n4. Connection to the camera is local only (direct P2P to camera IP).\n\n**Features:**\n\n- H.264 and H.265 video codec support\n- AAC, G.711, PCM, and Opus audio codec support\n- Two-way audio (intercom) support\n- Resolution switching (HD/SD)\n\n## Setup\n\n1. Get your API Key from [Wyze Developer Portal](https://support.wyze.com/hc/en-us/articles/16129834216731)\n2. Go to go2rtc WebUI > Add > Wyze\n3. Enter your API ID, API Key, email, and password\n4. Select cameras to add - stream URLs are generated automatically\n\n**Example Config**\n\n```yaml\nwyze:\n user@email.com:\n api_id: 'your-api-id'\n api_key: 'your-api-key'\n password: 'yourpassword' # or MD5 triple-hash with \"md5:\" prefix\n\nstreams:\n wyze_cam: wyze://192.168.1.123?uid=WYZEUID1234567890AB&enr=xxx&mac=AABBCCDDEEFF&model=HL_CAM4&dtls=true\n```\n\n## Stream URL Format\n\nThe stream URL is automatically generated when you add cameras via the WebUI:\n\n```\nwyze://[IP]?uid=[P2P_ID]&enr=[ENR]&mac=[MAC]&model=[MODEL]&subtype=[hd|sd]&dtls=true\n```\n\n| Parameter | Description |\n| --------- | ----------------------------------------------- |\n| `IP` | Camera's local IP address |\n| `uid` | P2P identifier (20 chars) |\n| `enr` | Encryption key for DTLS |\n| `mac` | Device MAC address |\n| `model` | Camera model (e.g., HL_CAM4) |\n| `dtls` | Enable DTLS encryption (default: true) |\n| `subtype` | Camera resolution: `hd` or `sd` (default: `hd`) |\n\n## Configuration\n\n### Resolution\n\nYou can change the camera's resolution using the `subtype` parameter:\n\n```yaml\nstreams:\n wyze_hd: wyze://...&subtype=hd\n wyze_sd: wyze://...&subtype=sd\n```\n\n### Two-Way Audio\n\nTwo-way audio (intercom) is supported automatically. When a consumer sends audio to the stream, it will be transmitted to the camera's speaker.\n", _t = "#### Source: Xiaomi\n\nThis source allows you to view cameras from the [Xiaomi Mi Home](https://home.mi.com/) ecosystem.\n\n**Important:**\n\n1. **Not all cameras are supported**. There are several P2P protocol vendors in the Xiaomi ecosystem.\n Currently, the **CS2** vendor is supported. However, the **TUTK** vendor is not supported.\n2. Each time you connect to the camera, you need internet access to obtain encryption keys.\n3. Connection to the camera is local only.\n\n**Features:**\n\n- Multiple Xiaomi accounts supported\n- Cameras from multiple regions are supported for a single account\n- Two-way audio is supported\n- Cameras with multiple lenses are supported\n\n## Setup\n\n1. Goto go2rtc WebUI > Add > Xiaomi > Login with username and password\n2. Receive verification code by email or phone if required.\n3. Complete the captcha if required.\n4. If everything is OK, your account will be added and you can load cameras from it.\n\n**Example**\n\n```yaml\nxiaomi:\n 1234567890: V1:***\n\nstreams:\n xiaomi1: xiaomi://1234567890:cn@192.168.1.123?did=9876543210&model=isa.camera.hlc7\n```\n\n## Configuration\n\nYou can change camera's quality: `subtype=hd/sd/auto`\n\n```yaml\nstreams:\n xiaomi1: xiaomi://***&subtype=sd\n```\n\nYou can use second channel for Dual cameras: `channel=1`\n\n```yaml\nstreams:\n xiaomi1: xiaomi://***&channel=1\n```\n", vt = "# Yandex\n\nSource for receiving stream from new [Yandex IP camera](https://alice.yandex.ru/smart-home/security/ipcamera).\n\n## Get Yandex token\n\n1. Install HomeAssistant integration [YandexStation](https://github.com/AlexxIT/YandexStation).\n2. Copy token from HomeAssistant config folder: `/config/.storage/core.config_entries`, key: `\"x_token\"`.\n\n## Get device ID\n\n1. Open this link in any browser: https://iot.quasar.yandex.ru/m/v3/user/devices\n2. Copy ID of your camera, key: `\"id\"`.\n\n## Config examples\n\n```yaml\nstreams:\n yandex_stream: yandex:?x_token=XXXX&device_id=XXXX\n yandex_snapshot: yandex:?x_token=XXXX&device_id=XXXX&snapshot\n yandex_snapshot_custom_size: yandex:?x_token=XXXX&device_id=XXXX&snapshot=h=540\n```\n\n_Source: [Go2Rtc Yandex](https://github.com/AlexxIT/go2rtc/tree/master/internal/yandex)_\n", yt = [
39
+ render: He
40
+ }), We = "#### Source: Bubble\n\nOther names: [ESeeCloud](http://www.eseecloud.com/), [dvr163](http://help.dvr163.com/).\n\n- you can skip `username`, `password`, `port`, `ch` and `stream` if they are default\n- setup separate streams for different channels and streams\n\n```yaml\nstreams:\n camera1: bubble://username:password@192.168.1.123:34567/bubble/live?ch=0&stream=0\n```\n\n_Source: [Go2Rtc Bubble](https://github.com/seydx/go2rtc#source-bubble)_\n", Ge = "#### Source: CUI\n\nThis source can be used to stream dynamically generated, go2rtc compatible, URLs. The source is just a placeholder for a `https://` URL.\n\n```yaml\nstreams:\n camera1: cui://192.168.1.123:34567/some-identifier-if-you-want\n```\n\nThe URL will be changed to `https://192.168.1.123:34567/some-identifier-if-you-want` and the response must be like this:\n\n```json\n{\n {\n \"streamUrl\": \"rtsp://192.168.1.1:554/stream\",\n }\n}\n```\n\nGo2rtc will then use the `streamUrl` to stream the video. The `streamUrl` can be any URL that is compatible with go2rtc. The response must be a valid JSON object with the `streamUrl` key.\n", Ke = "#### Source: Doorbird\n\n[Doorbird](https://www.doorbird.com/) proprietary camera protocol with **two way audio** support.\n\n```yaml\nstreams:\n video-audio:\n - rtsp://user:pass@123.123.123.123:554/mpeg/media.amp\n - doorbird://user:pass@123.123.123.123?media=audio\n two-way:\n - rtsp://user:pass@123.123.123.123:554/mpeg/media.amp\n - doorbird://user:pass@123.123.123.123?media=audio\n - doorbird://user:pass@123.123.123.123\n mjpeg-video:\n - doorbird://user:pass@123.123.123.123?media=video\n```\n\n_Source: [Go2Rtc Tuya](https://github.com/seydx/go2rtc#source-doorbird)_\n", qe = "#### Source: DVRIP\n\nOther names: DVR-IP, NetSurveillance, Sofia protocol (NETsurveillance ActiveX plugin XMeye SDK).\n\n- you can skip `username`, `password`, `port`, `channel` and `subtype` if they are default\n- setup separate streams for different channels\n- use `subtype=0` for Main stream, and `subtype=1` for Extra1 stream\n- only the TCP protocol is supported\n\n```yaml\nstreams:\n only_stream: dvrip://username:password@192.168.1.123:34567?channel=0&subtype=0\n only_tts: dvrip://username:password@192.168.1.123:34567?backchannel=1\n two_way_audio:\n - dvrip://username:password@192.168.1.123:34567?channel=0&subtype=0\n - dvrip://username:password@192.168.1.123:34567?backchannel=1\n```\n\n_Source: [Go2Rtc DVRIP](https://github.com/seydx/go2rtc#source-dvrip)_\n", Je = "#### Source: Echo\n\nSome sources may have a dynamic link. And you will need to get it using a bash or python script. Your script should echo a link to the source. RTSP, FFmpeg or any of the [supported sources](https://github.com/seydx/go2rtc#module-streams).\n\n**Docker** and **Hass Add-on** users has preinstalled `python3`, `curl`, `jq`.\nCheck examples in [wiki](https://github.com/seydx/go2rtc/wiki/Source-Echo-examples).\n\n```yaml\nstreams:\n apple_hls: echo:python3 hls.py https://developer.apple.com/streaming/examples/basic-stream-osx-ios5.html\n```\n\n_Source: [Go2Rtc Echo](https://github.com/seydx/go2rtc#source-echo)_\n", Ye = "#### Source: Exec\n\nExec source can run any external application and expect data from it. Two transports are supported - **pipe** and **RTSP**.\n\nIf you want to use **RTSP** transport - the command must contain the `{output}` argument in any place. On launch, it will be replaced by the local address of the RTSP server.\n\n**pipe** reads data from app stdout in different formats: **MJPEG**, **H.264/H.265 bitstream**, **MPEG-TS**. Also pipe can write data to app stdin in two formats: **PCMA** and **PCM/48000**.\n\nThe source can be used with:\n\n- [FFmpeg](https://ffmpeg.org/) - go2rtc ffmpeg source just a shortcut to exec source\n- [FFplay](https://ffmpeg.org/ffplay.html) - play audio on your server\n- [GStreamer](https://gstreamer.freedesktop.org/)\n- [Raspberry Pi Cameras](https://www.raspberrypi.com/documentation/computers/camera_software.html)\n- any your own software\n\n```yaml\nstreams:\n stream: exec:ffmpeg -re -i /media/BigBuckBunny.mp4 -c copy -rtsp_transport tcp -f rtsp {output}\n picam_h264: exec:libcamera-vid -t 0 --inline -o -\n picam_mjpeg: exec:libcamera-vid -t 0 --codec mjpeg -o -\n pi5cam_h264: exec:libcamera-vid -t 0 --libav-format h264 -o -\n canon: exec:gphoto2 --capture-movie --stdout#killsignal=2#killtimeout=5\n play_pcma: exec:ffplay -fflags nobuffer -f alaw -ar 8000 -i -#backchannel=1\n play_pcm48k: exec:ffplay -fflags nobuffer -f s16be -ar 48000 -i -#backchannel=1\n```\n\n_Source: [Go2Rtc Exec](https://github.com/seydx/go2rtc#source-exec)_\n", Xe = "#### Source: Expr\n\n[Expr](https://github.com/antonmedv/expr) - expression language and expression evaluation for Go.\n\n- [language definition](https://expr.medv.io/docs/Language-Definition) - takes best from JS, Python, Jinja2 syntax\n- your expression should return a link of any supported source\n- expression supports multiple operation, but:\n - all operations must be separated by a semicolon\n - all operations, except the last one, must declare a new variable (`let s = \"abc\";`)\n - the last operation should return a string\n- go2rtc supports additional functions:\n - `fetch` - JS-like HTTP requests\n - `match` - JS-like RegExp queries\n\n## Examples\n\n**Two way audio for Dahua VTO**\n\n```yaml\nstreams:\n dahua_vto: |\n expr: let host = \"admin:password@192.168.1.123\";\n fetch(\"http://\"+host+\"/cgi-bin/configManager.cgi?action=setConfig&Encode[0].MainFormat[0].Audio.Compression=G.711A&Encode[0].MainFormat[0].Audio.Frequency=8000\").ok\n ? \"rtsp://\"+host+\"/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif\" : \"\"\n```\n\n**dom.ru**\n\nYou can get credentials via:\n\n- https://github.com/alexmorbo/domru (file `/share/domru/accounts`)\n- https://github.com/ad/domru\n\n```yaml\nstreams:\n dom_ru: |\n expr: let camera = \"99999999\"; let token = \"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"; let operator = 99;\n fetch(\"https://myhome.novotelecom.ru/rest/v1/forpost/cameras/\"+camera+\"/video\", {\n headers: {Authorization: \"Bearer \"+token, Operator: operator}\n }).json().data.URL\n```\n\n**Parse HLS files from Apple**\n\nSame example in two languages - python and expr.\n\n```yaml\nstreams:\n example_python: |\n echo:python -c 'from urllib.request import urlopen; import re\n\n # url1 = \"https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8\"\n html1 = urlopen(\"https://developer.apple.com/streaming/examples/basic-stream-osx-ios5.html\").read().decode(\"utf-8\")\n url1 = re.search(r\"https.+?m3u8\", html1)[0]\n\n # url2 = \"gear1/prog_index.m3u8\"\n html2 = urlopen(url1).read().decode(\"utf-8\")\n url2 = re.search(r\"^[a-z0-1/_]+\\.m3u8$\", html2, flags=re.MULTILINE)[0]\n\n # url3 = \"https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/gear1/prog_index.m3u8\"\n url3 = url1[:url1.rindex(\"/\")+1] + url2\n\n print(\"ffmpeg:\" + url3 + \"#video=copy\")'\n\n example_expr: |\n expr:\n\n let html1 = fetch(\"https://developer.apple.com/streaming/examples/basic-stream-osx-ios5.html\").text;\n let url1 = match(html1, \"https.+?m3u8\")[0];\n\n let html2 = fetch(url1).text;\n let url2 = match(html2, \"^[a-z0-1/_]+\\\\.m3u8$\", \"m\")[0];\n\n let url3 = url1[:lastIndexOf(url1, \"/\")+1] + url2;\n\n \"ffmpeg:\" + url3 + \"#video=copy\"\n```\n\n## Comparsion\n\n| expr | python | js |\n| ---------------------------- | -------------------------- | ------------------------------ |\n| let x = 1; | x = 1 | let x = 1 |\n| {a: 1, b: 2} | {\"a\": 1, \"b\": 2} | {a: 1, b: 2} |\n| let r = fetch(url, {method}) | r = request(method, url) | r = await fetch(url, {method}) |\n| r.ok | r.ok | r.ok |\n| r.status | r.status_code | r.status |\n| r.text | r.text | await r.text() |\n| r.json() | r.json() | await r.json() |\n| r.headers | r.headers | r.headers |\n| let m = match(text, \"abc\") | m = re.search(\"abc\", text) | let m = text.match(/abc/) |\n\n_Source: [Go2Rtc Expr](https://github.com/seydx/go2rtc#source-expr)_\n", Ze = "#### Source: FFmpeg\n\nYou can get any stream or file or device via FFmpeg and push it to go2rtc. The app will automatically start FFmpeg with the proper arguments when someone starts watching the stream.\n\n- FFmpeg preistalled for **Docker** and **Hass Add-on** users\n- **Hass Add-on** users can target files from [/media](https://www.home-assistant.io/more-info/local-media/setup-media/) folder\n\nFormat: `ffmpeg:{input}#{param1}#{param2}#{param3}`. Examples:\n\n```yaml\nstreams:\n # [FILE] all tracks will be copied without transcoding codecs\n file1: ffmpeg:/media/BigBuckBunny.mp4\n\n # [FILE] video will be transcoded to H264, audio will be skipped\n file2: ffmpeg:/media/BigBuckBunny.mp4#video=h264\n\n # [FILE] video will be copied, audio will be transcoded to pcmu\n file3: ffmpeg:/media/BigBuckBunny.mp4#video=copy#audio=pcmu\n\n # [HLS] video will be copied, audio will be skipped\n hls: ffmpeg:https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/gear5/prog_index.m3u8#video=copy\n\n # [MJPEG] video will be transcoded to H264\n mjpeg: ffmpeg:http://185.97.122.128/cgi-bin/faststream.jpg#video=h264\n\n # [RTSP] video with rotation, should be transcoded, so select H264\n rotate: ffmpeg:rtsp://rtsp:12345678@192.168.1.123/av_stream/ch0#video=h264#rotate=90\n```\n\nAll trascoding formats has [built-in templates](https://github.com/seydx/go2rtc/blob/master/internal/ffmpeg/ffmpeg.go): `h264`, `h265`, `opus`, `pcmu`, `pcmu/16000`, `pcmu/48000`, `pcma`, `pcma/16000`, `pcma/48000`, `aac`, `aac/16000`.\n\nBut you can override them via YAML config. You can also add your own formats to config and use them with source params.\n\n```yaml\nffmpeg:\n bin: ffmpeg # path to ffmpeg binary\n h264: '-codec:v libx264 -g:v 30 -preset:v superfast -tune:v zerolatency -profile:v main -level:v 4.1'\n mycodec: '-any args that supported by ffmpeg...'\n myinput: '-fflags nobuffer -flags low_delay -timeout 5000000 -i {input}'\n myraw: '-ss 00:00:20'\n```\n\n- You can use go2rtc stream name as ffmpeg input (ex. `ffmpeg:camera1#video=h264`)\n- You can use `video` and `audio` params multiple times (ex. `#video=copy#audio=copy#audio=pcmu`)\n- You can use `rotate` param with `90`, `180`, `270` or `-90` values, important with transcoding (ex. `#video=h264#rotate=90`)\n- You can use `width` and/or `height` params, important with transcoding (ex. `#video=h264#width=1280`)\n- You can use `drawtext` to add a timestamp (ex. `drawtext=x=2:y=2:fontsize=12:fontcolor=white:box=1:boxcolor=black`)\n - This will greatly increase the CPU of the server, even with hardware acceleration\n- You can use `raw` param for any additional FFmpeg arguments (ex. `#raw=-vf transpose=1`)\n- You can use `input` param to override default input template (ex. `#input=rtsp/udp` will change RTSP transport from TCP to UDP+TCP)\n - You can use raw input value (ex. `#input=-timeout 5000000 -i {input}`)\n - You can add your own input templates\n\nRead more about [hardware acceleration](https://github.com/seydx/go2rtc/wiki/Hardware-acceleration).\n\n**PS.** It is recommended to check the available hardware in the WebUI add page.\n\n<hr>\n\n#### Source: FFmpeg Device\n\nYou can get video from any USB-camera or Webcam as RTSP or WebRTC stream. This is part of FFmpeg integration.\n\n- check available devices in Web interface\n- `video_size` and `framerate` must be supported by your camera!\n- for Linux supported only video for now\n- for macOS you can stream Facetime camera or whole Desktop!\n- for macOS important to set right framerate\n\nFormat: `ffmpeg:device?{input-params}#{param1}#{param2}#{param3}`\n\n```yaml\nstreams:\n linux_usbcam: ffmpeg:device?video=0&video_size=1280x720#video=h264\n windows_webcam: ffmpeg:device?video=0#video=h264\n macos_facetime: ffmpeg:device?video=0&audio=1&video_size=1280x720&framerate=30#video=h264#audio=pcma\n```\n\n**PS.** It is recommended to check the available devices in the WebUI add page.\n\n_Source: [Go2Rtc FFmpeg](https://github.com/seydx/go2rtc#source-ffmpeg) & [Go2Rtc FFmpeg Device](https://github.com/seydx/go2rtc#source-ffmpeg-device)_\n", Qe = "#### Source: GoPro\n\nSupported models: HERO9, HERO10, HERO11, HERO12. \nSupported OS: Linux, Mac, Windows, [HassOS](https://www.home-assistant.io/installation/)\n\nThe other camera models have different APIs. I will try to add them in the next versions.\n\n## Config\n\n- USB-connected cameras create a new network interface in the system\n- Linux users do not need to install anything\n- Windows users should install the [network driver](https://community.gopro.com/s/article/GoPro-Webcam)\n- if the camera is detected but the stream does not start - you need to disable firewall\n\n1. Discover camera address: WebUI > Add > GoPro\n2. Add camera to config\n\n```yaml\nstreams:\n hero12: gopro://172.20.100.51\n```\n\n## Useful links\n\n- https://gopro.github.io/OpenGoPro/\n\n_Source: [Go2Rtc Hass](https://github.com/seydx/go2rtc#source-hass)_\n", $e = "#### Source: Hass\n\nSupport import camera links from [Home Assistant](https://www.home-assistant.io/) config files:\n\n- [Generic Camera](https://www.home-assistant.io/integrations/generic/), setup via GUI\n- [HomeKit Camera](https://www.home-assistant.io/integrations/homekit_controller/)\n- [ONVIF](https://www.home-assistant.io/integrations/onvif/)\n- [Roborock](https://github.com/humbertogontijo/homeassistant-roborock) vacuums with camera\n\n```yaml\nhass:\n config: '/config' # skip this setting if you Hass Add-on user\n\nstreams:\n generic_camera: hass:Camera1 # Settings > Integrations > Integration Name\n aqara_g3: hass:Camera-Hub-G3-AB12\n```\n\n**WebRTC Cameras**\n\nAny cameras in WebRTC format are supported. But at the moment Home Assistant only supports some [Nest](https://www.home-assistant.io/integrations/nest/) cameras in this fomat.\n\nThe Nest API only allows you to get a link to a stream for 5 minutes. So every 5 minutes the stream will be reconnected.\n\n```yaml\nstreams:\n # link to Home Assistant Supervised\n hass-webrtc1: hass://supervisor?entity_id=camera.nest_doorbell\n # link to external Hass with Long-Lived Access Tokens\n hass-webrtc2: hass://192.168.1.123:8123?entity_id=camera.nest_doorbell&token=eyXYZ...\n```\n\n_Source: [Go2Rtc Hass](https://github.com/seydx/go2rtc#source-hass)_\n", et = "#### Source: HomeKit\n\n**Important:**\n\n- You can use HomeKit Cameras **without Apple devices** (iPhone, iPad, etc.), it's just a yet another protocol\n- HomeKit device can be paired with only one ecosystem. So, if you have paired it to an iPhone (Apple Home) - you can't pair it with Home Assistant or go2rtc. Or if you have paired it to go2rtc - you can't pair it with iPhone\n- HomeKit device should be in same network with working [mDNS](https://en.wikipedia.org/wiki/Multicast_DNS) between device and go2rtc\n\ngo2rtc support import paired HomeKit devices from [Home Assistant](#source-hass). So you can use HomeKit camera with Hass and go2rtc simultaneously. If you using Hass, I recommend pairing devices with it, it will give you more options.\n\nYou can pair device with go2rtc on the HomeKit page. If you can't see your devices - reload the page. Also try reboot your HomeKit device (power off). If you still can't see it - you have a problems with mDNS.\n\nIf you see a device but it does not have a pair button - it is paired to some ecosystem (Apple Home, Home Assistant etc). You need to delete device from that ecosystem, and it will be available for pairing. If you cannot unpair device, you will have to reset it.\n\n**Important:**\n\n- HomeKit audio uses very non-standard **AAC-ELD** codec with very non-standard params and specification violation\n- Audio can't be played in `VLC` and probably any other player\n- Audio should be transcoded for using with MSE, WebRTC, etc.\n\nRecommended settings for using HomeKit Camera with WebRTC, MSE, MP4, RTSP:\n\n```\nstreams:\n aqara_g3:\n - hass:Camera-Hub-G3-AB12\n - ffmpeg:aqara_g3#audio=aac#audio=opus\n```\n\nRTSP link with \"normal\" audio for any player: `rtsp://192.168.1.123:8554/aqara_g3?video&audio=aac`\n\n**This source is in active development!** Tested only with [Aqara Camera Hub G3](https://www.aqara.com/eu/product/camera-hub-g3) (both EU and CN versions).\n\n_Source: [Go2Rtc HomeKit](https://github.com/seydx/go2rtc#source-homekit)_\n", tt = "#### Source: HTTP\n\nSupport Content-Type:\n\n- **HTTP-FLV** (`video/x-flv`) - same as RTMP, but over HTTP\n- **HTTP-JPEG** (`image/jpeg`) - camera snapshot link, can be converted by go2rtc to MJPEG stream\n- **HTTP-MJPEG** (`multipart/x`) - simple MJPEG stream over HTTP\n- **MPEG-TS** (`video/mpeg`) - legacy [streaming format](https://en.wikipedia.org/wiki/MPEG_transport_stream)\n\nSource also support HTTP and TCP streams with autodetection for different formats: **MJPEG**, **H.264/H.265 bitstream**, **MPEG-TS**.\n\n```yaml\nstreams:\n # [HTTP-FLV] stream in video/x-flv format\n http_flv: http://192.168.1.123:20880/api/camera/stream/780900131155/657617\n\n # [JPEG] snapshots from Dahua camera, will be converted to MJPEG stream\n dahua_snap: http://admin:password@192.168.1.123/cgi-bin/snapshot.cgi?channel=1\n\n # [MJPEG] stream will be proxied without modification\n http_mjpeg: https://mjpeg.sanford.io/count.mjpeg\n\n # [MJPEG or H.264/H.265 bitstream or MPEG-TS]\n tcp_magic: tcp://192.168.1.123:12345\n\n # Add custom header\n custom_header: 'https://mjpeg.sanford.io/count.mjpeg#header=Authorization: Bearer XXX'\n```\n\n**PS.** Dahua camera has bug: if you select MJPEG codec for RTSP second stream - snapshot won't work.\n\n_Source: [Go2Rtc Http](https://github.com/seydx/go2rtc#source-http)_\n", nt = "#### Source: ISAPI\n\nThis source type support only backchannel audio for Hikvision ISAPI protocol. So it should be used as second source in addition to the RTSP protocol.\n\n```yaml\nstreams:\n hikvision1:\n - rtsp://admin:password@192.168.1.123:554/Streaming/Channels/101\n - isapi://admin:password@192.168.1.123:80/\n```\n\n_Source: [Go2Rtc Isapi](https://github.com/seydx/go2rtc#source-isapi)_\n", rt = "#### Source: Ivideon\n\nSupport public cameras from service [Ivideon](https://tv.ivideon.com/).\n\n```yaml\nstreams:\n quailcam: ivideon:100-tu5dkUPct39cTp9oNEN2B6/0\n```\n\n_Source: [Go2Rtc Ivideon](https://github.com/seydx/go2rtc#source-ivideon)_\n", it = "#### Source: Kasa\n\n[TP-Link Kasa](https://www.kasasmart.com/) non-standard protocol [more info](https://medium.com/@hu3vjeen/reverse-engineering-tp-link-kc100-bac4641bf1cd).\n\n- `username` - urlsafe email, `alex@gmail.com` -> `alex%40gmail.com`\n- `password` - base64password, `secret1` -> `c2VjcmV0MQ==`\n\n```yaml\nstreams:\n kc401: kasa://username:password@192.168.1.123:19443/https/stream/mixed\n```\n\nTested: KD110, KC200, KC401, KC420WS, EC71.\n\n_Source: [Go2Rtc Kasa](https://github.com/seydx/go2rtc#source-kasa)_\n", at = "#### Source: Nest\n\nCurrently only WebRTC cameras are supported.\n\nFor simplicity, it is recommended to connect the Nest/WebRTC camera to the [Home Assistant](#source-hass). But if you can somehow get the below parameters - Nest/WebRTC source will work without Hass.\n\n```yaml\nstreams:\n nest-doorbell: nest:?client_id=***&client_secret=***&refresh_token=***&project_id=***&device_id=***\n```\n\n_Source: [Go2Rtc Nest](https://github.com/seydx/go2rtc#source-nest)_\n", ot = "#### Source: ONVIF\n\nThe source is not very useful if you already know RTSP and snapshot links for your camera. But it can be useful if you don't.\n\n**WebUI > Add** webpage support ONVIF autodiscovery. Your server must be on the same subnet as the camera. If you use docker, you must use \"network host\".\n\n```yaml\nstreams:\n dahua1: onvif://admin:password@192.168.1.123\n reolink1: onvif://admin:password@192.168.1.123:8000\n tapo1: onvif://admin:password@192.168.1.123:2020\n```\n\n_Source: [Go2Rtc Onvif](https://github.com/seydx/go2rtc#source-onvif)_\n", st = "#### Source: Ring\n\nThis source type support Ring cameras with [two way audio](#two-way-audio) support. If you have a `refresh_token` and `device_id` - you can use it in `go2rtc.yaml` config file. Otherwise, you can use the go2rtc interface and add your ring account (WebUI > Add > Ring). Once added, it will list all your Ring cameras.\n\n```yaml\nstreams:\n ring: ring:?device_id=XXX&refresh_token=XXX\n ring_snapshot: ring:?device_id=XXX&refresh_token=XXX&snapshot\n```\n\n_Source: [Go2Rtc Ring](https://github.com/seydx/go2rtc#source-ring)_\n", ct = "#### Source: Roborock\n\nThis source type support Roborock vacuums with cameras. Known working models:\n\n- Roborock S6 MaxV - only video (the vacuum has no microphone)\n- Roborock S7 MaxV - video and two way audio\n- Roborock Qrevo MaxV - video and two way audio\n\nSource support load Roborock credentials from Home Assistant [custom integration](https://github.com/humbertogontijo/homeassistant-roborock) or the [core integration](https://www.home-assistant.io/integrations/roborock). Otherwise, you need to log in to your Roborock account (MiHome account is not supported). Go to: go2rtc WebUI > Add webpage. Copy `roborock://...` source for your vacuum and paste it to `go2rtc.yaml` config.\n\nIf you have graphic pin for your vacuum - add it as numeric pin (lines: 123, 456, 789) to the end of the roborock-link.\n\n_Source: [Go2Rtc Roborock](https://github.com/seydx/go2rtc#source-roborock)_\n", lt = "#### Source: RTMP\n\nYou can get stream from RTMP server, for example [Nginx with nginx-rtmp-module](https://github.com/arut/nginx-rtmp-module).\n\n```yaml\nstreams:\n rtmp_stream: rtmp://192.168.1.123/live/camera1\n```\n\n_Source: [Go2Rtc RTMP](https://github.com/seydx/go2rtc#source-rtmp)_\n", ut = "#### Source: RTSP\n\n```yaml\nstreams:\n sonoff_camera: rtsp://rtsp:12345678@192.168.1.123/av_stream/ch0\n dahua_camera:\n - rtsp://admin:password@192.168.1.123/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif\n - rtsp://admin:password@192.168.1.123/cam/realmonitor?channel=1&subtype=1\n amcrest_doorbell:\n - rtsp://username:password@192.168.1.123:554/cam/realmonitor?channel=1&subtype=0#backchannel=0\n unifi_camera: rtspx://192.168.1.123:7441/fD6ouM72bWoFijxK\n glichy_camera: ffmpeg:rtsp://username:password@192.168.1.123/live/ch00_1\n```\n\n**Recommendations**\n\n- **Amcrest Doorbell** users may want to disable two way audio, because with an active stream you won't have a call button working. You need to add `#backchannel=0` to the end of your RTSP link in YAML config file\n- **Dahua Doorbell** users may want to change backchannel [audio codec](https://github.com/AlexxIT/go2rtc/issues/52)\n- **Reolink** users may want NOT to use RTSP protocol at all, some camera models have a very awful unusable stream implementation\n- **Ubiquiti UniFi** users may want to disable HTTPS verification. Use `rtspx://` prefix instead of `rtsps://`. And don't use `?enableSrtp` [suffix](https://github.com/AlexxIT/go2rtc/issues/81)\n- **TP-Link Tapo** users may skip login and password, because go2rtc support login [without them](https://drmnsamoliu.github.io/video.html)\n- If your camera has two RTSP links - you can add both of them as sources. This is useful when streams has different codecs, as example AAC audio with main stream and PCMU/PCMA audio with second stream\n- If the stream from your camera is glitchy, try using [ffmpeg source](#source-ffmpeg). It will not add CPU load if you won't use transcoding\n- If the stream from your camera is very glitchy, try to use transcoding with [ffmpeg source](#source-ffmpeg)\n\n**Other options**\n\nFormat: `rtsp...#{param1}#{param2}#{param3}`\n\n- Ignore audio - `#media=video` or ignore video - `#media=audio`\n- Ignore two way audio API `#backchannel=0` - important for some glitchy cameras\n- Use WebSocket transport `#transport=ws...`\n\n**RTSP over WebSocket**\n\n```yaml\nstreams:\n # WebSocket with authorization, RTSP - without\n axis-rtsp-ws: rtsp://192.168.1.123:4567/axis-media/media.amp?overview=0&camera=1&resolution=1280x720&videoframeskipmode=empty&Axis-Orig-Sw=true#transport=ws://user:pass@192.168.1.123:4567/rtsp-over-websocket\n # WebSocket without authorization, RTSP - with\n dahua-rtsp-ws: rtsp://user:pass@192.168.1.123/cam/realmonitor?channel=1&subtype=1&proto=Private3#transport=ws://192.168.1.123/rtspoverwebsocket\n```\n\n_Source: [Go2Rtc RTSP](https://github.com/seydx/go2rtc#source-rtsp)_\n", dt = "#### Source: Tapo\n\n[TP-Link Tapo](https://www.tapo.com/) proprietary camera protocol with **two way audio** support.\n\n- stream quality is the same as [RTSP protocol](https://www.tapo.com/en/faq/34/)\n- use the **cloud password**, this is not the RTSP password! you do not need to add a login!\n- you can also use UPPERCASE MD5 hash from your cloud password with `admin` username\n- some new camera firmwares requires SHA256 instead of MD5\n\n```yaml\nstreams:\n # cloud password without username\n camera1: tapo://cloud-password@192.168.1.123\n # admin username and UPPERCASE MD5 cloud-password hash\n camera2: tapo://admin:UPPERCASE-MD5@192.168.1.123\n # admin username and UPPERCASE SHA256 cloud-password hash\n camera3: tapo://admin:UPPERCASE-SHA256@192.168.1.123\n```\n\n```bash\necho -n \"cloud password\" | md5 | awk '{print toupper($0)}'\necho -n \"cloud password\" | shasum -a 256 | awk '{print toupper($0)}'\n```\n\n_Source: [Go2Rtc Tapo](https://github.com/seydx/go2rtc#source-tapo)_\n", ft = "#### Source: Tuya\n\n[Tuya](https://www.tuya.com/) proprietary camera protocol with **two way audio** support. Go2rtc supports `Tuya Smart API` and `Tuya Cloud API`.\n\n**Tuya Smart API (recommended)**:\n\n- Cameras can be discovered through the go2rtc web interface via Tuya Smart account (Add > Tuya > Select region and fill in email and password > Login).\n- **Smart Life accounts are not supported**, you need to create a Tuya Smart account. If the cameras are already added to the Smart Life app, you need to remove them and add them again to the Tuya Smart app.\n\n**Tuya Cloud API**:\n\n- Requires setting up a cloud project in the Tuya Developer Platform.\n- Obtain `device_id`, `client_id`, `client_secret`, and `uid` from [Tuya IoT Platform](https://iot.tuya.com/). [Here's a guide](https://xzetsubou.github.io/hass-localtuya/cloud_api/).\n- Please ensure that you have subscribed to the `IoT Video Live Stream` service (Free Trial) in the Tuya Developer Platform, otherwise the stream will not work (Tuya Developer Platform > Service API > Authorize > IoT Video Live Stream).\n\n**Configuring the stream:**\n\n- Use `resolution` parameter to select the stream (not all cameras support `hd` stream through WebRTC even if the camera has it):\n - `hd` - HD stream (default)\n - `sd` - SD stream\n\n```yaml\nstreams:\n # Tuya Smart API: WebRTC main stream (use Add > Tuya to discover the URL)\n tuya_main:\n - tuya://protect-us.ismartlife.me?device_id=XXX&email=XXX&password=XXX\n\n # Tuya Smart API: WebRTC sub stream (use Add > Tuya to discover the URL)\n tuya_sub:\n - tuya://protect-us.ismartlife.me?device_id=XXX&email=XXX&password=XXX&resolution=sd\n\n # Tuya Cloud API: WebRTC main stream\n tuya_webrtc:\n - tuya://openapi.tuyaus.com?device_id=XXX&uid=XXX&client_id=XXX&client_secret=XXX\n\n # Tuya Cloud API: WebRTC sub stream\n tuya_webrtc_sd:\n - tuya://openapi.tuyaus.com?device_id=XXX&uid=XXX&client_id=XXX&client_secret=XXX&resolution=sd\n```\n\n_Source: [Go2Rtc Tuya](https://github.com/seydx/go2rtc#source-tuya)_\n", pt = "#### Source: WebRTC\n\nThis source type support four connection formats.\n\n**whep**\n\n[WebRTC/WHEP](https://datatracker.ietf.org/doc/draft-murillo-whep/) - is replaced by [WebRTC/WISH](https://datatracker.ietf.org/doc/charter-ietf-wish/02/) standard for WebRTC video/audio viewers. But it may already be supported in some third-party software. It is supported in go2rtc.\n\n**go2rtc**\n\nThis format is only supported in go2rtc. Unlike WHEP it supports asynchronous WebRTC connection and two way audio.\n\n**openipc**\n\nSupport connection to [OpenIPC](https://openipc.org/) cameras.\n\n**wyze**\n\nSupports connection to [Wyze](https://www.wyze.com/) cameras, using WebRTC protocol. You can use [docker-wyze-bridge](https://github.com/mrlt8/docker-wyze-bridge) project to get connection credentials.\n\n**kinesis**\n\nSupports [Amazon Kinesis Video Streams](https://aws.amazon.com/kinesis/video-streams/), using WebRTC protocol. You need to specify signalling WebSocket URL with all credentials in query params, `client_id` and `ice_servers` list in [JSON format](https://developer.mozilla.org/en-US/docs/Web/API/RTCIceServer).\n\n```yaml\nstreams:\n webrtc-whep: webrtc:http://192.168.1.123:1984/api/webrtc?src=camera1\n webrtc-go2rtc: webrtc:ws://192.168.1.123:1984/api/ws?src=camera1\n webrtc-openipc: webrtc:ws://192.168.1.123/webrtc_ws#format=openipc#ice_servers=[{\"urls\":\"stun:stun.kinesisvideo.eu-north-1.amazonaws.com:443\"}]\n webrtc-wyze: webrtc:http://192.168.1.123:5000/signaling/camera1?kvs#format=wyze\n webrtc-kinesis: webrtc:wss://...amazonaws.com/?...#format=kinesis#client_id=...#ice_servers=[{...},{...}]\n```\n\n**PS.** For `kinesis` sources you can use [echo](#source-echo) to get connection params using `bash`/`python` or any other script language.\n\n_Source: [Go2Rtc WebRTC](https://github.com/seydx/go2rtc#source-webrtc)_\n", mt = "#### Source: WebTorrent\n\nThis source can get a stream from another go2rtc via [WebTorrent](#module-webtorrent) protocol.\n\n```yaml\nstreams:\n webtorrent1: webtorrent:?share=huofssuxaty00izc&pwd=k3l2j9djeg8v8r7e\n```\n\n_Source: [Go2Rtc Webtorrent](https://github.com/seydx/go2rtc#source-webtorrent)_\n", ht = "#### Source: Wyze\n\nThis source allows you to stream from [Wyze](https://wyze.com/) cameras using native P2P protocol without the Wyze app or SDK.\n\n**Important:**\n\n1. **Requires Wyze account**. You need to login once via the WebUI to load your cameras.\n2. **Requires firmware with DTLS**. Only cameras with DTLS-enabled firmware are supported.\n3. Internet access is only needed when loading cameras from your account. After that, all streaming is local P2P.\n4. Connection to the camera is local only (direct P2P to camera IP).\n\n**Features:**\n\n- H.264 and H.265 video codec support\n- AAC, G.711, PCM, and Opus audio codec support\n- Two-way audio (intercom) support\n- Resolution switching (HD/SD)\n\n## Setup\n\n1. Get your API Key from [Wyze Developer Portal](https://support.wyze.com/hc/en-us/articles/16129834216731)\n2. Go to go2rtc WebUI > Add > Wyze\n3. Enter your API ID, API Key, email, and password\n4. Select cameras to add - stream URLs are generated automatically\n\n**Example Config**\n\n```yaml\nwyze:\n user@email.com:\n api_id: 'your-api-id'\n api_key: 'your-api-key'\n password: 'yourpassword' # or MD5 triple-hash with \"md5:\" prefix\n\nstreams:\n wyze_cam: wyze://192.168.1.123?uid=WYZEUID1234567890AB&enr=xxx&mac=AABBCCDDEEFF&model=HL_CAM4&dtls=true\n```\n\n## Stream URL Format\n\nThe stream URL is automatically generated when you add cameras via the WebUI:\n\n```\nwyze://[IP]?uid=[P2P_ID]&enr=[ENR]&mac=[MAC]&model=[MODEL]&subtype=[hd|sd]&dtls=true\n```\n\n| Parameter | Description |\n| --------- | ----------------------------------------------- |\n| `IP` | Camera's local IP address |\n| `uid` | P2P identifier (20 chars) |\n| `enr` | Encryption key for DTLS |\n| `mac` | Device MAC address |\n| `model` | Camera model (e.g., HL_CAM4) |\n| `dtls` | Enable DTLS encryption (default: true) |\n| `subtype` | Camera resolution: `hd` or `sd` (default: `hd`) |\n\n## Configuration\n\n### Resolution\n\nYou can change the camera's resolution using the `subtype` parameter:\n\n```yaml\nstreams:\n wyze_hd: wyze://...&subtype=hd\n wyze_sd: wyze://...&subtype=sd\n```\n\n### Two-Way Audio\n\nTwo-way audio (intercom) is supported automatically. When a consumer sends audio to the stream, it will be transmitted to the camera's speaker.\n", gt = "#### Source: Xiaomi\n\nThis source allows you to view cameras from the [Xiaomi Mi Home](https://home.mi.com/) ecosystem.\n\n**Important:**\n\n1. **Not all cameras are supported**. There are several P2P protocol vendors in the Xiaomi ecosystem.\n Currently, the **CS2** vendor is supported. However, the **TUTK** vendor is not supported.\n2. Each time you connect to the camera, you need internet access to obtain encryption keys.\n3. Connection to the camera is local only.\n\n**Features:**\n\n- Multiple Xiaomi accounts supported\n- Cameras from multiple regions are supported for a single account\n- Two-way audio is supported\n- Cameras with multiple lenses are supported\n\n## Setup\n\n1. Goto go2rtc WebUI > Add > Xiaomi > Login with username and password\n2. Receive verification code by email or phone if required.\n3. Complete the captcha if required.\n4. If everything is OK, your account will be added and you can load cameras from it.\n\n**Example**\n\n```yaml\nxiaomi:\n 1234567890: V1:***\n\nstreams:\n xiaomi1: xiaomi://1234567890:cn@192.168.1.123?did=9876543210&model=isa.camera.hlc7\n```\n\n## Configuration\n\nYou can change camera's quality: `subtype=hd/sd/auto`\n\n```yaml\nstreams:\n xiaomi1: xiaomi://***&subtype=sd\n```\n\nYou can use second channel for Dual cameras: `channel=1`\n\n```yaml\nstreams:\n xiaomi1: xiaomi://***&channel=1\n```\n", _t = "# Yandex\n\nSource for receiving stream from new [Yandex IP camera](https://alice.yandex.ru/smart-home/security/ipcamera).\n\n## Get Yandex token\n\n1. Install HomeAssistant integration [YandexStation](https://github.com/AlexxIT/YandexStation).\n2. Copy token from HomeAssistant config folder: `/config/.storage/core.config_entries`, key: `\"x_token\"`.\n\n## Get device ID\n\n1. Open this link in any browser: https://iot.quasar.yandex.ru/m/v3/user/devices\n2. Copy ID of your camera, key: `\"id\"`.\n\n## Config examples\n\n```yaml\nstreams:\n yandex_stream: yandex:?x_token=XXXX&device_id=XXXX\n yandex_snapshot: yandex:?x_token=XXXX&device_id=XXXX&snapshot\n yandex_snapshot_custom_size: yandex:?x_token=XXXX&device_id=XXXX&snapshot=h=540\n```\n\n_Source: [Go2Rtc Yandex](https://github.com/AlexxIT/go2rtc/tree/master/internal/yandex)_\n", vt = [
41
41
  "nest:",
42
42
  "ring:",
43
43
  "yandex:",
44
44
  "webtorrent:"
45
45
  ];
46
- function J(e) {
46
+ function yt(e) {
47
47
  let t = e.trim(), n;
48
- for (let e of ye) t.startsWith(e) && (!n || e.length > n.length) && (n = e);
48
+ for (let e of he) t.startsWith(e) && (!n || e.length > n.length) && (n = e);
49
49
  return n;
50
50
  }
51
51
  function bt(e) {
52
52
  let t = e.trim();
53
53
  if (!t) return "";
54
- for (let e of yt) if (t.startsWith(e)) {
54
+ for (let e of vt) if (t.startsWith(e)) {
55
55
  let n = t.slice(e.length);
56
56
  return n && !n.startsWith("?") ? `${e}?${n}` : t;
57
57
  }
@@ -76,35 +76,35 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
76
76
  }
77
77
  },
78
78
  setup(n, { expose: r }) {
79
- let i = new ce(), c = n, d = H(), { t: f } = G(), { mutateAsync: h, isPending: b } = i.previewCameraQuery(), S = /* #__PURE__ */ Object.assign({
80
- "../../markdowns/bubble.md": Ge,
81
- "../../markdowns/cui.md": Ke,
82
- "../../markdowns/doorbird.md": qe,
83
- "../../markdowns/dvrip.md": Je,
84
- "../../markdowns/echo.md": Ye,
85
- "../../markdowns/exec.md": Xe,
86
- "../../markdowns/expr.md": Ze,
87
- "../../markdowns/ffmpeg.md": Qe,
88
- "../../markdowns/gopro.md": $e,
89
- "../../markdowns/hass.md": et,
90
- "../../markdowns/homekit.md": tt,
91
- "../../markdowns/http.md": nt,
92
- "../../markdowns/isapi.md": rt,
93
- "../../markdowns/ivideon.md": it,
94
- "../../markdowns/kasa.md": at,
95
- "../../markdowns/nest.md": ot,
96
- "../../markdowns/onvif.md": st,
97
- "../../markdowns/ring.md": ct,
98
- "../../markdowns/roborock.md": lt,
99
- "../../markdowns/rtmp.md": ut,
100
- "../../markdowns/rtsp.md": dt,
101
- "../../markdowns/tapo.md": ft,
102
- "../../markdowns/tuya.md": pt,
103
- "../../markdowns/webrtc.md": mt,
104
- "../../markdowns/webtorrent.md": ht,
105
- "../../markdowns/wyze.md": gt,
106
- "../../markdowns/xiaomi.md": _t,
107
- "../../markdowns/yandex.md": vt
79
+ let i = new le(), c = n, d = H(), { t: f } = K(), { mutateAsync: h, isPending: b } = i.previewCameraQuery(), S = /* #__PURE__ */ Object.assign({
80
+ "../../markdowns/bubble.md": We,
81
+ "../../markdowns/cui.md": Ge,
82
+ "../../markdowns/doorbird.md": Ke,
83
+ "../../markdowns/dvrip.md": qe,
84
+ "../../markdowns/echo.md": Je,
85
+ "../../markdowns/exec.md": Ye,
86
+ "../../markdowns/expr.md": Xe,
87
+ "../../markdowns/ffmpeg.md": Ze,
88
+ "../../markdowns/gopro.md": Qe,
89
+ "../../markdowns/hass.md": $e,
90
+ "../../markdowns/homekit.md": et,
91
+ "../../markdowns/http.md": tt,
92
+ "../../markdowns/isapi.md": nt,
93
+ "../../markdowns/ivideon.md": rt,
94
+ "../../markdowns/kasa.md": it,
95
+ "../../markdowns/nest.md": at,
96
+ "../../markdowns/onvif.md": ot,
97
+ "../../markdowns/ring.md": st,
98
+ "../../markdowns/roborock.md": ct,
99
+ "../../markdowns/rtmp.md": lt,
100
+ "../../markdowns/rtsp.md": ut,
101
+ "../../markdowns/tapo.md": dt,
102
+ "../../markdowns/tuya.md": ft,
103
+ "../../markdowns/webrtc.md": pt,
104
+ "../../markdowns/webtorrent.md": mt,
105
+ "../../markdowns/wyze.md": ht,
106
+ "../../markdowns/xiaomi.md": gt,
107
+ "../../markdowns/yandex.md": _t
108
108
  }), w = k([
109
109
  "high-resolution",
110
110
  "mid-resolution",
@@ -114,30 +114,30 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
114
114
  function M(e) {
115
115
  return e.urls.some(xt);
116
116
  }
117
- function N(e) {
118
- let t = J(e);
117
+ function P(e) {
118
+ let t = yt(e);
119
119
  if (!t) return;
120
120
  let n = t.replace(/[:/]+$/, "");
121
121
  return S[`../../markdowns/${n}.md`];
122
122
  }
123
- function P(e) {
124
- return !!N(e);
123
+ function F(e) {
124
+ return !!P(e);
125
125
  }
126
- function L(e) {
126
+ function z(e) {
127
127
  c.sources[e].urls.push("");
128
128
  }
129
- function re(e, t) {
129
+ function B(e, t) {
130
130
  c.sources[e].urls.splice(t, 1);
131
131
  }
132
- function R(e, t, n) {
132
+ function re(e, t, n) {
133
133
  c.sources[e].urls[t] = n;
134
134
  }
135
- function ae(e, t) {
135
+ function ie(e, t) {
136
136
  e.role = t, t === "snapshot" && (e.useForSnapshot = !1, e.hotMode = !1, e.preload = !1);
137
137
  }
138
- function oe() {
138
+ function V() {
139
139
  c.sources.push({
140
- _id: de(8),
140
+ _id: ce(8),
141
141
  name: "",
142
142
  role: null,
143
143
  urls: [""],
@@ -147,11 +147,11 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
147
147
  muted: !1
148
148
  }), O.value = [c.sources.length];
149
149
  }
150
- function se(e) {
150
+ function ae(e) {
151
151
  c.sources.splice(e, 1);
152
152
  }
153
- function B(e) {
154
- let t = N(e);
153
+ function oe(e) {
154
+ let t = P(e);
155
155
  t && d.openTextDialog({ data: {
156
156
  title: f("components.dialog.title.information"),
157
157
  hideConfirmButton: !0,
@@ -159,7 +159,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
159
159
  markdown: !0
160
160
  } });
161
161
  }
162
- async function V(e) {
162
+ async function se(e) {
163
163
  let t = bt(e);
164
164
  if (t) try {
165
165
  let e = await h({ cameraData: { url: t } });
@@ -170,14 +170,14 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
170
170
  } });
171
171
  } catch {}
172
172
  }
173
- return r({ newSource: oe }), (r, i) => {
174
- let c = Oe, d = Se, f = K, h = Ee, v = q, b = z, S = te, k = Ce, N = ne, oe = je, ce = We, H = ie, le = we, U = Te, W = De, ue = ee;
175
- return o(), x("div", St, [A(W, {
173
+ return r({ newSource: V }), (r, i) => {
174
+ let c = De, d = xe, f = q, h = Te, v = J, b = I, S = N, k = Se, P = ne, V = Ae, H = Ue, U = te, ce = Ce, le = we, ue = Ee, W = ee;
175
+ return o(), x("div", St, [A(ue, {
176
176
  value: _(O),
177
177
  "onUpdate:value": i[0] ||= (e) => g(O) ? O.value = e : null,
178
178
  multiple: ""
179
179
  }, {
180
- default: y(() => [(o(!0), x(C, null, a(n.sources, (i, g) => (o(), p(U, {
180
+ default: y(() => [(o(!0), x(C, null, a(n.sources, (i, g) => (o(), p(le, {
181
181
  key: i._id,
182
182
  value: g,
183
183
  class: u({ "border-b-0": g === n.sources.length - 1 })
@@ -197,7 +197,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
197
197
  severity: "danger",
198
198
  class: "cui-icon-md ml-auto mr-2",
199
199
  loading: _(j),
200
- onClick: (e) => se(g)
200
+ onClick: (e) => ae(g)
201
201
  }, {
202
202
  icon: y(() => [A(d, {
203
203
  width: "100%",
@@ -206,12 +206,12 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
206
206
  _: 1
207
207
  }, 8, ["loading", "onClick"])) : m("", !0)])]),
208
208
  _: 2
209
- }, 1032, ["class"]), A(le, { pt: { content: { class: {
209
+ }, 1032, ["class"]), A(ce, { pt: { content: { class: {
210
210
  "px-0": !0,
211
211
  "pb-5": g === n.sources.length - 1
212
212
  } } } }, {
213
213
  default: y(() => [T("div", Et, [
214
- A(_(I), {
214
+ A(_(R), {
215
215
  modelValue: i.name,
216
216
  "onUpdate:modelValue": (e) => i.name = e,
217
217
  modelModifiers: { trim: !0 },
@@ -233,7 +233,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
233
233
  _: 2
234
234
  }, 1024),
235
235
  A(e, { name: "fade" }, {
236
- default: y(() => [A(_(F), {
236
+ default: y(() => [A(_(L), {
237
237
  name: `sources[${g}].name`,
238
238
  class: "cui-input-error"
239
239
  }, null, 8, ["name"])]),
@@ -256,7 +256,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
256
256
  "onUpdate:modelValue",
257
257
  "name"
258
258
  ]),
259
- A(_(I), {
259
+ A(_(R), {
260
260
  "model-value": i.role,
261
261
  name: `sources[${g}].role`,
262
262
  as: "div",
@@ -273,7 +273,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
273
273
  options: _(w).filter((e) => !n.sources.some((t) => t.role === e && t._id !== i._id)),
274
274
  invalid: t.length > 0,
275
275
  loading: _(j),
276
- onValueChange: (e) => ae(i, e)
276
+ onValueChange: (e) => ie(i, e)
277
277
  }, null, 8, [
278
278
  "model-value",
279
279
  "options",
@@ -284,7 +284,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
284
284
  _: 2
285
285
  }, 1024),
286
286
  A(e, { name: "fade" }, {
287
- default: y(() => [A(_(F), {
287
+ default: y(() => [A(_(L), {
288
288
  name: `sources[${g}].role`,
289
289
  class: "cui-input-error"
290
290
  }, null, 8, ["name"])]),
@@ -304,7 +304,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
304
304
  _: 2
305
305
  }, 1032, ["model-value", "name"]),
306
306
  T("div", kt, [
307
- i.role !== "snapshot" && n.sources.length > 1 ? (o(), p(_(I), {
307
+ i.role !== "snapshot" && n.sources.length > 1 ? (o(), p(_(R), {
308
308
  key: 0,
309
309
  "model-value": i.useForSnapshot,
310
310
  value: !0,
@@ -329,13 +329,13 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
329
329
  _: 1
330
330
  }),
331
331
  A(e, { name: "fade" }, {
332
- default: y(() => [A(_(F), {
332
+ default: y(() => [A(_(L), {
333
333
  name: `sources[${g}].useForSnapshot`,
334
334
  class: "cui-input-switch-error"
335
335
  }, null, 8, ["name"])]),
336
336
  _: 2
337
337
  }, 1024)
338
- ]), A(N, l({ "model-value": i.useForSnapshot }, { ref_for: !0 }, t, {
338
+ ]), A(P, l({ "model-value": i.useForSnapshot }, { ref_for: !0 }, t, {
339
339
  invalid: a.length > 0,
340
340
  loading: _(j),
341
341
  disabled: n.sources.some((e) => (e.useForSnapshot || e.role === "snapshot") && e._id !== i._id),
@@ -350,7 +350,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
350
350
  ])])]),
351
351
  _: 2
352
352
  }, 1032, ["model-value", "name"])) : m("", !0),
353
- i.role === "snapshot" ? m("", !0) : (o(), p(_(I), {
353
+ i.role === "snapshot" ? m("", !0) : (o(), p(_(R), {
354
354
  key: 1,
355
355
  "model-value": i.hotMode,
356
356
  value: !0,
@@ -375,13 +375,13 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
375
375
  _: 1
376
376
  }),
377
377
  A(e, { name: "fade" }, {
378
- default: y(() => [A(_(F), {
378
+ default: y(() => [A(_(L), {
379
379
  name: `sources[${g}].hotMode`,
380
380
  class: "cui-input-switch-error"
381
381
  }, null, 8, ["name"])]),
382
382
  _: 2
383
383
  }, 1024)
384
- ]), A(N, l({ "model-value": i.hotMode }, { ref_for: !0 }, t, {
384
+ ]), A(P, l({ "model-value": i.hotMode }, { ref_for: !0 }, t, {
385
385
  invalid: n.length > 0,
386
386
  loading: _(j),
387
387
  class: "ml-auto shrink-0",
@@ -394,7 +394,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
394
394
  ])])]),
395
395
  _: 2
396
396
  }, 1032, ["model-value", "name"])),
397
- i.role === "snapshot" ? m("", !0) : (o(), p(_(I), {
397
+ i.role === "snapshot" ? m("", !0) : (o(), p(_(R), {
398
398
  key: 2,
399
399
  "model-value": i.preload,
400
400
  value: !0,
@@ -419,13 +419,13 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
419
419
  _: 1
420
420
  }),
421
421
  A(e, { name: "fade" }, {
422
- default: y(() => [A(_(F), {
422
+ default: y(() => [A(_(L), {
423
423
  name: `sources[${g}].preload`,
424
424
  class: "cui-input-switch-error"
425
425
  }, null, 8, ["name"])]),
426
426
  _: 2
427
427
  }, 1024)
428
- ]), A(N, l({ "model-value": i.preload }, { ref_for: !0 }, t, {
428
+ ]), A(P, l({ "model-value": i.preload }, { ref_for: !0 }, t, {
429
429
  invalid: n.length > 0,
430
430
  loading: _(j),
431
431
  class: "ml-auto shrink-0",
@@ -438,7 +438,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
438
438
  ])])]),
439
439
  _: 2
440
440
  }, 1032, ["model-value", "name"])),
441
- i.role === "snapshot" ? m("", !0) : (o(), p(_(I), {
441
+ i.role === "snapshot" ? m("", !0) : (o(), p(_(R), {
442
442
  key: 3,
443
443
  "model-value": i.muted,
444
444
  value: !0,
@@ -463,13 +463,13 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
463
463
  _: 1
464
464
  }),
465
465
  A(e, { name: "fade" }, {
466
- default: y(() => [A(_(F), {
466
+ default: y(() => [A(_(L), {
467
467
  name: `sources[${g}].muted`,
468
468
  class: "cui-input-switch-error"
469
469
  }, null, 8, ["name"])]),
470
470
  _: 2
471
471
  }, 1024)
472
- ]), A(N, l({ "model-value": i.muted }, { ref_for: !0 }, t, {
472
+ ]), A(P, l({ "model-value": i.muted }, { ref_for: !0 }, t, {
473
473
  invalid: n.length > 0,
474
474
  loading: _(j),
475
475
  class: "ml-auto shrink-0",
@@ -504,7 +504,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
504
504
  type: "text"
505
505
  }, null, 8, ["model-value", "loading"])]),
506
506
  _: 2
507
- }, 1024)])) : (o(), p(_(I), {
507
+ }, 1024)])) : (o(), p(_(R), {
508
508
  key: 1,
509
509
  "model-value": n,
510
510
  name: `sources[${g}].urls[${a}]`,
@@ -519,29 +519,29 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
519
519
  loading: _(j),
520
520
  type: "text",
521
521
  placeholder: Kt,
522
- "onUpdate:modelValue": (e) => R(g, a, e ?? "")
522
+ "onUpdate:modelValue": (e) => re(g, a, e ?? "")
523
523
  }, null, 8, [
524
524
  "model-value",
525
525
  "invalid",
526
526
  "loading",
527
527
  "onUpdate:modelValue"
528
- ]), A(H, null, {
528
+ ]), A(U, null, {
529
529
  default: y(() => [
530
530
  E((o(), p(f, {
531
531
  text: "",
532
532
  rounded: "",
533
533
  severity: "secondary",
534
- disabled: _(j) || !P(n),
534
+ disabled: _(j) || !F(n),
535
535
  class: "border-right-color",
536
- onClick: (e) => B(n)
536
+ onClick: (e) => oe(n)
537
537
  }, {
538
- icon: y(() => [A(oe, {
538
+ icon: y(() => [A(V, {
539
539
  width: "100%",
540
540
  height: "100%"
541
541
  })]),
542
542
  _: 1
543
543
  }, 8, ["disabled", "onClick"])), [[
544
- ue,
544
+ W,
545
545
  { value: r.$t("components.dialog.components.new_camera.protocol_info") },
546
546
  void 0,
547
547
  { top: !0 }
@@ -550,17 +550,17 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
550
550
  text: "",
551
551
  rounded: "",
552
552
  severity: "secondary",
553
- disabled: _(j) || !_(J)(n),
553
+ disabled: _(j) || !_(yt)(n),
554
554
  class: "border-right-color",
555
- onClick: (e) => V(n)
555
+ onClick: (e) => se(n)
556
556
  }, {
557
- icon: y(() => [A(ce, {
557
+ icon: y(() => [A(H, {
558
558
  width: "100%",
559
559
  height: "100%"
560
560
  })]),
561
561
  _: 1
562
562
  }, 8, ["disabled", "onClick"])), [[
563
- ue,
563
+ W,
564
564
  { value: r.$t("components.dialog.components.new_camera.test_source") },
565
565
  void 0,
566
566
  { top: !0 }
@@ -571,7 +571,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
571
571
  rounded: "",
572
572
  severity: "danger",
573
573
  disabled: _(j),
574
- onClick: t((e) => re(g, a), ["prevent"])
574
+ onClick: t((e) => B(g, a), ["prevent"])
575
575
  }, {
576
576
  icon: y(() => [A(d, {
577
577
  width: "100%",
@@ -585,7 +585,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
585
585
  _: 2
586
586
  }, 1024),
587
587
  A(e, { name: "fade" }, {
588
- default: y(() => [A(_(F), {
588
+ default: y(() => [A(_(L), {
589
589
  name: `sources[${g}].urls[${a}]`,
590
590
  class: "cui-input-error"
591
591
  }, null, 8, ["name"])]),
@@ -597,7 +597,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
597
597
  size: "small",
598
598
  class: "cui-input-hint"
599
599
  }, {
600
- default: y(() => [D(s(_(J)(n) ? r.$t("components.form.hint.source_detected_protocol", { protocol: _(J)(n) }) : r.$t("components.form.hint.source_url")), 1)]),
600
+ default: y(() => [D(s(_(yt)(n) ? r.$t("components.form.hint.source_detected_protocol", { protocol: _(yt)(n) }) : r.$t("components.form.hint.source_url")), 1)]),
601
601
  _: 2
602
602
  }, 1024)
603
603
  ]),
@@ -608,7 +608,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
608
608
  loading: _(j),
609
609
  label: r.$t("components.form.button.add_source"),
610
610
  class: "ml-auto cui-button-medium",
611
- onClick: (e) => L(g)
611
+ onClick: (e) => z(g)
612
612
  }, null, 8, [
613
613
  "loading",
614
614
  "label",
@@ -632,7 +632,7 @@ var St = { class: "flex flex-col gap-6" }, Ct = { class: "flex gap-2 items-cente
632
632
  setup(e, { expose: t }) {
633
633
  let n = k("");
634
634
  return t({ onConfirm: async () => n.value.trim() || null }), (e, t) => {
635
- let r = q;
635
+ let r = J;
636
636
  return o(), x("div", Jt, [T("label", Yt, s(e.$t("components.form.label.name")), 1), A(r, {
637
637
  id: "roomName",
638
638
  modelValue: _(n),
@@ -702,7 +702,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
702
702
  isLoading: { type: Boolean }
703
703
  },
704
704
  setup(t) {
705
- let n = new Ve(), r = t, i = H(), { t: a } = G(), { data: u, isBusy: d } = n.getRoomsQuery(), { mutateAsync: f } = n.createRoomMutation(), h = k(["camera", "doorbell"]), g = v(() => (u.value?.levels.length ?? 0) > 0), b = v(() => Zt(u.value, a));
705
+ let n = new Be(), r = t, i = H(), { t: a } = K(), { data: u, isBusy: d } = n.getRoomsQuery(), { mutateAsync: f } = n.createRoomMutation(), h = k(["camera", "doorbell"]), g = v(() => (u.value?.levels.length ?? 0) > 0), b = v(() => Zt(u.value, a));
706
706
  function S(e) {
707
707
  r.form.roomId = e;
708
708
  }
@@ -725,9 +725,9 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
725
725
  });
726
726
  }
727
727
  return (n, r) => {
728
- let i = q, a = z, u = te, f = Ce, v = Ie, w = K, O = Ee, k = we, j = Te, M = De, N = ee;
728
+ let i = J, a = I, u = N, f = Se, v = Fe, w = q, O = Te, k = Ce, j = we, M = Ee, P = ee;
729
729
  return o(), x("div", Qt, [
730
- A(_(I), {
730
+ A(_(R), {
731
731
  modelValue: t.form.name,
732
732
  "onUpdate:modelValue": r[0] ||= (e) => t.form.name = e,
733
733
  modelModifiers: { trim: !0 },
@@ -746,7 +746,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
746
746
  _: 2
747
747
  }, 1024),
748
748
  A(e, { name: "fade" }, {
749
- default: y(() => [A(_(F), {
749
+ default: y(() => [A(_(L), {
750
750
  name: "name",
751
751
  class: "cui-input-error"
752
752
  })]),
@@ -806,7 +806,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
806
806
  icon: y(() => [A(v, { class: "w-4 h-4" })]),
807
807
  _: 1
808
808
  })), [[
809
- N,
809
+ P,
810
810
  n.$t("components.form.button.create_room"),
811
811
  void 0,
812
812
  { top: !0 }
@@ -829,7 +829,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
829
829
  _: 1
830
830
  }), A(k, { pt: { content: { class: "px-0" } } }, {
831
831
  default: y(() => [T("div", sn, [
832
- A(_(I), {
832
+ A(_(R), {
833
833
  modelValue: t.form.info.manufacturer,
834
834
  "onUpdate:modelValue": r[3] ||= (e) => t.form.info.manufacturer = e,
835
835
  modelModifiers: { trim: !0 },
@@ -848,7 +848,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
848
848
  _: 2
849
849
  }, 1024),
850
850
  A(e, { name: "fade" }, {
851
- default: y(() => [A(_(F), {
851
+ default: y(() => [A(_(L), {
852
852
  name: "info.manufacturer",
853
853
  class: "cui-input-error"
854
854
  })]),
@@ -857,7 +857,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
857
857
  ]),
858
858
  _: 1
859
859
  }, 8, ["modelValue"]),
860
- A(_(I), {
860
+ A(_(R), {
861
861
  modelValue: t.form.info.model,
862
862
  "onUpdate:modelValue": r[4] ||= (e) => t.form.info.model = e,
863
863
  modelModifiers: { trim: !0 },
@@ -876,7 +876,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
876
876
  _: 2
877
877
  }, 1024),
878
878
  A(e, { name: "fade" }, {
879
- default: y(() => [A(_(F), {
879
+ default: y(() => [A(_(L), {
880
880
  name: "info.model",
881
881
  class: "cui-input-error"
882
882
  })]),
@@ -885,7 +885,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
885
885
  ]),
886
886
  _: 1
887
887
  }, 8, ["modelValue"]),
888
- A(_(I), {
888
+ A(_(R), {
889
889
  modelValue: t.form.info.hardware,
890
890
  "onUpdate:modelValue": r[5] ||= (e) => t.form.info.hardware = e,
891
891
  modelModifiers: { trim: !0 },
@@ -904,7 +904,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
904
904
  _: 2
905
905
  }, 1024),
906
906
  A(e, { name: "fade" }, {
907
- default: y(() => [A(_(F), {
907
+ default: y(() => [A(_(L), {
908
908
  name: "info.hardware",
909
909
  class: "cui-input-error"
910
910
  })]),
@@ -913,7 +913,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
913
913
  ]),
914
914
  _: 1
915
915
  }, 8, ["modelValue"]),
916
- A(_(I), {
916
+ A(_(R), {
917
917
  modelValue: t.form.info.serialNumber,
918
918
  "onUpdate:modelValue": r[6] ||= (e) => t.form.info.serialNumber = e,
919
919
  modelModifiers: { trim: !0 },
@@ -932,7 +932,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
932
932
  _: 2
933
933
  }, 1024),
934
934
  A(e, { name: "fade" }, {
935
- default: y(() => [A(_(F), {
935
+ default: y(() => [A(_(L), {
936
936
  name: "info.serialNumber",
937
937
  class: "cui-input-error"
938
938
  })]),
@@ -941,7 +941,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
941
941
  ]),
942
942
  _: 1
943
943
  }, 8, ["modelValue"]),
944
- A(_(I), {
944
+ A(_(R), {
945
945
  modelValue: t.form.info.firmwareVersion,
946
946
  "onUpdate:modelValue": r[7] ||= (e) => t.form.info.firmwareVersion = e,
947
947
  modelModifiers: { trim: !0 },
@@ -960,7 +960,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
960
960
  _: 2
961
961
  }, 1024),
962
962
  A(e, { name: "fade" }, {
963
- default: y(() => [A(_(F), {
963
+ default: y(() => [A(_(L), {
964
964
  name: "info.firmwareVersion",
965
965
  class: "cui-input-error"
966
966
  })]),
@@ -969,7 +969,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
969
969
  ]),
970
970
  _: 1
971
971
  }, 8, ["modelValue"]),
972
- A(_(I), {
972
+ A(_(R), {
973
973
  modelValue: t.form.info.supportUrl,
974
974
  "onUpdate:modelValue": r[8] ||= (e) => t.form.info.supportUrl = e,
975
975
  modelModifiers: { trim: !0 },
@@ -988,7 +988,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
988
988
  _: 2
989
989
  }, 1024),
990
990
  A(e, { name: "fade" }, {
991
- default: y(() => [A(_(F), {
991
+ default: y(() => [A(_(L), {
992
992
  name: "info.supportUrl",
993
993
  class: "cui-input-error"
994
994
  })]),
@@ -1007,25 +1007,25 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
1007
1007
  ]);
1008
1008
  };
1009
1009
  }
1010
- }), hn = RegExp(`^(${ye.join("|")})`), gn = N().trim().min(1, "Camera Source is required").regex(hn, "Unsupported protocol — start the URL with a supported one (e.g. rtsp://)"), _n = U({
1011
- name: N().trim().min(1, "Camera Source Name is required"),
1010
+ }), hn = RegExp(`^(${he.join("|")})`), gn = P().trim().min(1, "Camera Source is required").regex(hn, "Unsupported protocol — start the URL with a supported one (e.g. rtsp://)"), _n = U({
1011
+ name: P().trim().min(1, "Camera Source Name is required"),
1012
1012
  urls: gn.array(),
1013
1013
  role: _e,
1014
- useForSnapshot: P().default(!1),
1015
- hotMode: P().default(!0),
1016
- preload: P().default(!0),
1017
- muted: P().default(!1),
1018
- backchannelDisabled: P().default(!1),
1019
- timeout: R().int().min(5).max(120).nullish(),
1020
- handshakeTimeout: R().int().min(1).max(60).nullish(),
1021
- childSourceId: N().trim().nullish()
1014
+ useForSnapshot: F().default(!1),
1015
+ hotMode: F().default(!0),
1016
+ preload: F().default(!0),
1017
+ muted: F().default(!1),
1018
+ backchannelDisabled: F().default(!1),
1019
+ timeout: B().int().min(5).max(120).nullish(),
1020
+ handshakeTimeout: B().int().min(1).max(60).nullish(),
1021
+ childSourceId: P().trim().nullish()
1022
1022
  }).strict().transform((e) => e.role === "snapshot" ? {
1023
1023
  ...e,
1024
1024
  useForSnapshot: !1,
1025
1025
  hotMode: !1,
1026
1026
  preload: !1
1027
1027
  } : e), vn = U({
1028
- ...ve.shape,
1028
+ ...ge.shape,
1029
1029
  sources: _n.array().refine((e) => e.some((e) => e.role === "high-resolution" || e.role === "mid-resolution" || e.role === "low-resolution"), {
1030
1030
  path: ["sources[].role"],
1031
1031
  message: "One of the roles \"high-resolution\", \"mid-resolution\" or \"low-resolution\" is required"
@@ -1038,7 +1038,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
1038
1038
  }, {
1039
1039
  message: "Each source role can be assigned to only one source",
1040
1040
  path: ["sources"]
1041
- }).superRefine(ge)
1041
+ }).superRefine(ve)
1042
1042
  }).strict(), yn = {
1043
1043
  disabled: !1,
1044
1044
  name: "",
@@ -1054,7 +1054,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
1054
1054
  supportUrl: ""
1055
1055
  },
1056
1056
  sources: [{
1057
- _id: de(8),
1057
+ _id: ce(8),
1058
1058
  name: "",
1059
1059
  role: "high-resolution",
1060
1060
  urls: [""],
@@ -1077,15 +1077,15 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
1077
1077
  __name: "AddCamera",
1078
1078
  props: { camera: { default: () => yn } },
1079
1079
  setup(e, { expose: t }) {
1080
- let n = new ce(), r = e, a = W(), { t: c } = G(), { mutateAsync: l, isPending: u } = n.createCameraQuery(), { camera: d } = i(r), f = w("formRef"), p = w("sourcesRef"), m = k(B(d.value)), h = v(() => u.value);
1080
+ let n = new le(), r = e, a = G(), { t: c } = K(), { mutateAsync: l, isPending: u } = n.createCameraQuery(), { camera: d } = i(r), f = w("formRef"), p = w("sourcesRef"), m = k(V(d.value)), h = v(() => u.value);
1081
1081
  async function g() {
1082
1082
  if (!(await f.value?.validate())?.valid) return a.add({
1083
1083
  severity: "error",
1084
1084
  detail: c("components.toast.validation_failed"),
1085
1085
  life: 3e3
1086
1086
  }), null;
1087
- let e = B(m.value), t = {
1088
- ...be(),
1087
+ let e = V(m.value), t = {
1088
+ ...ye(),
1089
1089
  ...e,
1090
1090
  sources: e.sources.map((e) => ({
1091
1091
  ...e,
@@ -1101,8 +1101,8 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
1101
1101
  onSave: g,
1102
1102
  onConfirm: g
1103
1103
  }), (e, t) => {
1104
- let n = mn, r = me, i = qt, a = Me, c = K;
1105
- return o(), x("div", null, [A(_(L), {
1104
+ let n = mn, r = pe, i = qt, a = je, c = q;
1105
+ return o(), x("div", null, [A(_(z), {
1106
1106
  ref_key: "formRef",
1107
1107
  ref: f,
1108
1108
  class: "flex flex-col w-full gap-6",
@@ -1157,7 +1157,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
1157
1157
  onConfirm: { type: Function }
1158
1158
  },
1159
1159
  setup(e, { expose: t }) {
1160
- let n = U({ name: N().trim().min(1) }).passthrough(), r = e, i = W(), { t: c } = G(), l = w("formRef"), u = k(B(r.draft)), d = k({
1160
+ let n = U({ name: P().trim().min(1) }).passthrough(), r = e, i = G(), { t: c } = K(), l = w("formRef"), u = k(V(r.draft)), d = k({
1161
1161
  name: u.value.name,
1162
1162
  type: u.value.type,
1163
1163
  room: u.value.room,
@@ -1213,8 +1213,8 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
1213
1213
  isLoading: h,
1214
1214
  onConfirm: g
1215
1215
  }), (e, t) => {
1216
- let r = q, i = z, c = mn, u = me, f = qt;
1217
- return o(), x("div", null, [A(_(L), {
1216
+ let r = J, i = I, c = mn, u = pe, f = qt;
1217
+ return o(), x("div", null, [A(_(z), {
1218
1218
  ref_key: "formRef",
1219
1219
  ref: l,
1220
1220
  class: "flex flex-col w-full gap-6",
@@ -1268,7 +1268,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
1268
1268
  onConnect: { type: Function }
1269
1269
  },
1270
1270
  setup(e, { expose: t }) {
1271
- let n = e, a = he(), c = W(), { t: l } = G(), u = r("dialogRefProps"), { schema: d } = i(n), f = w("schemaFormRef"), h = k(!1), g = v(() => ({
1271
+ let n = e, a = me(), c = G(), { t: l } = K(), u = r("dialogRefProps"), { schema: d } = i(n), f = w("schemaFormRef"), h = k(!1), g = v(() => ({
1272
1272
  schema: d.value,
1273
1273
  config: {}
1274
1274
  })), y = v(() => !!(u.loading?.value || h.value));
@@ -1301,7 +1301,7 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
1301
1301
  isLoading: y,
1302
1302
  onConfirm: b
1303
1303
  }), (t, n) => {
1304
- let r = q, i = Ne;
1304
+ let r = J, i = Me;
1305
1305
  return o(), x("div", kn, [e.camera.address ? (o(), x("div", An, [T("label", jn, s(t.$t("views.devices.address")), 1), A(r, {
1306
1306
  "model-value": e.camera.address,
1307
1307
  readonly: ""
@@ -1321,17 +1321,17 @@ var Qt = { class: "flex flex-col gap-6" }, $t = {
1321
1321
  hiddenDevices: [],
1322
1322
  showHidden: !1,
1323
1323
  error: null
1324
- }), X = null, Z = null, Q = !1, $ = 0, In = null;
1324
+ }), In = null, X = null, Z = !1, Q = 0, $ = null;
1325
1325
  function Ln() {
1326
1326
  Y.isLoading = !0, Y.devices = [], Y.isScanning = !1, Y.hiddenDevices = [], Y.showHidden = !1, Y.error = null;
1327
1327
  }
1328
1328
  function Rn() {
1329
- return Z || (X = h(!0), X.run(() => {
1330
- let e = V("/cameras");
1331
- Z = e, e.onReady(() => {
1329
+ return X || (In = h(!0), In.run(() => {
1330
+ let e = ue("/cameras");
1331
+ X = e, e.onReady(() => {
1332
1332
  zn();
1333
1333
  }), b(e.connected, (e, t) => {
1334
- !e && t && (Q = !1);
1334
+ !e && t && (Z = !1);
1335
1335
  }), e.on("cameras:discovered", (e) => {
1336
1336
  for (let t of e.devices) {
1337
1337
  let e = Y.devices.findIndex((e) => e.id === t.id);
@@ -1347,50 +1347,50 @@ function Rn() {
1347
1347
  }), e.on("cameras:deleted", (e) => {
1348
1348
  Y.devices = Y.devices.filter((t) => t.cameraId !== e.cameraId);
1349
1349
  });
1350
- }), Z);
1350
+ }), X);
1351
1351
  }
1352
1352
  async function zn() {
1353
- if (!Z || Q) return {
1354
- success: Q,
1353
+ if (!X || Z) return {
1354
+ success: Z,
1355
1355
  devices: Y.devices,
1356
1356
  isScanning: Y.isScanning,
1357
1357
  hiddenDevices: Y.hiddenDevices
1358
1358
  };
1359
1359
  try {
1360
- let e = await Z.request("cameras:subscribe", {});
1361
- return Q = e.success, e.devices && (Y.devices = e.devices), e.isScanning !== void 0 && (Y.isScanning = e.isScanning), e.hiddenDevices && (Y.hiddenDevices = e.hiddenDevices), Y.isLoading = !1, e;
1360
+ let e = await X.request("cameras:subscribe", {});
1361
+ return Z = e.success, e.devices && (Y.devices = e.devices), e.isScanning !== void 0 && (Y.isScanning = e.isScanning), e.hiddenDevices && (Y.hiddenDevices = e.hiddenDevices), Y.isLoading = !1, e;
1362
1362
  } catch (e) {
1363
1363
  return Y.isLoading = !1, Y.error = e instanceof Error ? e.message : "subscribe failed", { success: !1 };
1364
1364
  }
1365
1365
  }
1366
1366
  async function Bn() {
1367
- if (!Z || !Q) return { success: !0 };
1367
+ if (!X || !Z) return { success: !0 };
1368
1368
  try {
1369
- let e = await Z.request("cameras:unsubscribe", {});
1370
- return Q = !e.success, e;
1369
+ let e = await X.request("cameras:unsubscribe", {});
1370
+ return Z = !e.success, e;
1371
1371
  } catch {
1372
1372
  return { success: !1 };
1373
1373
  }
1374
1374
  }
1375
1375
  function Vn() {
1376
- Q && Bn(), X?.stop(), X = null, Z = null, Q = !1, Ln();
1376
+ Z && Bn(), In?.stop(), In = null, X = null, Z = !1, Ln();
1377
1377
  }
1378
1378
  function Hn() {
1379
- In &&= (clearTimeout(In), null), $++;
1379
+ $ &&= (clearTimeout($), null), Q++;
1380
1380
  function e() {
1381
- Rn(), Z?.connected.value && !Q && zn();
1381
+ Rn(), X?.connected.value && !Z && zn();
1382
1382
  }
1383
1383
  function t() {
1384
- Q && Bn();
1384
+ Z && Bn();
1385
1385
  }
1386
1386
  async function n() {
1387
- if (!Z?.ready.value) return {
1387
+ if (!X?.ready.value) return {
1388
1388
  success: !1,
1389
1389
  error: "Not connected"
1390
1390
  };
1391
1391
  Y.devices = [], Y.isScanning = !0;
1392
1392
  try {
1393
- let e = await Z.request("cameras:rescan", {});
1393
+ let e = await X.request("cameras:rescan", {});
1394
1394
  return e.success || (Y.isScanning = !1), e;
1395
1395
  } catch (e) {
1396
1396
  return Y.isScanning = !1, {
@@ -1400,12 +1400,12 @@ function Hn() {
1400
1400
  }
1401
1401
  }
1402
1402
  async function r(e) {
1403
- if (!Z?.ready.value) return {
1403
+ if (!X?.ready.value) return {
1404
1404
  success: !1,
1405
1405
  error: "Not connected"
1406
1406
  };
1407
1407
  try {
1408
- return await Z.request("cameras:get-schema", { discoveredId: e });
1408
+ return await X.request("cameras:get-schema", { discoveredId: e });
1409
1409
  } catch (e) {
1410
1410
  return {
1411
1411
  success: !1,
@@ -1414,12 +1414,12 @@ function Hn() {
1414
1414
  }
1415
1415
  }
1416
1416
  async function i(e, t) {
1417
- if (!Z?.ready.value) return {
1417
+ if (!X?.ready.value) return {
1418
1418
  success: !1,
1419
1419
  error: "Not connected"
1420
1420
  };
1421
1421
  try {
1422
- return await Z.request("cameras:connect", {
1422
+ return await X.request("cameras:connect", {
1423
1423
  discoveredId: e,
1424
1424
  credentials: t
1425
1425
  });
@@ -1431,8 +1431,8 @@ function Hn() {
1431
1431
  }
1432
1432
  }
1433
1433
  async function a(e, t) {
1434
- if (!Z?.ready.value) throw Error("Not connected");
1435
- let n = await Z.request("cameras:prepare", {
1434
+ if (!X?.ready.value) throw Error("Not connected");
1435
+ let n = await X.request("cameras:prepare", {
1436
1436
  discoveredId: e,
1437
1437
  credentials: t
1438
1438
  });
@@ -1440,8 +1440,8 @@ function Hn() {
1440
1440
  return n.draft;
1441
1441
  }
1442
1442
  async function o(e, t) {
1443
- if (!Z?.ready.value) throw Error("Not connected");
1444
- let n = await Z.request("cameras:confirm", {
1443
+ if (!X?.ready.value) throw Error("Not connected");
1444
+ let n = await X.request("cameras:confirm", {
1445
1445
  draft: e,
1446
1446
  discoveredId: t
1447
1447
  });
@@ -1452,7 +1452,7 @@ function Hn() {
1452
1452
  };
1453
1453
  }
1454
1454
  async function s(e) {
1455
- if (!Z?.ready.value) return {
1455
+ if (!X?.ready.value) return {
1456
1456
  success: !1,
1457
1457
  error: "Not connected"
1458
1458
  };
@@ -1462,7 +1462,7 @@ function Hn() {
1462
1462
  model: e.model
1463
1463
  };
1464
1464
  try {
1465
- let e = await Z.request("cameras:hide-device", { device: t });
1465
+ let e = await X.request("cameras:hide-device", { device: t });
1466
1466
  return e.success && e.hiddenDevices && (Y.hiddenDevices = e.hiddenDevices), e;
1467
1467
  } catch (e) {
1468
1468
  return {
@@ -1472,12 +1472,12 @@ function Hn() {
1472
1472
  }
1473
1473
  }
1474
1474
  async function c(e) {
1475
- if (!Z?.ready.value) return {
1475
+ if (!X?.ready.value) return {
1476
1476
  success: !1,
1477
1477
  error: "Not connected"
1478
1478
  };
1479
1479
  try {
1480
- let t = await Z.request("cameras:unhide-device", { deviceId: e });
1480
+ let t = await X.request("cameras:unhide-device", { deviceId: e });
1481
1481
  return t.success && t.hiddenDevices && (Y.hiddenDevices = t.hiddenDevices), t;
1482
1482
  } catch (e) {
1483
1483
  return {
@@ -1500,13 +1500,13 @@ function Hn() {
1500
1500
  ...i
1501
1501
  ];
1502
1502
  });
1503
- return pe(() => {
1504
- $--, !($ > 0) && ($ = 0, In = setTimeout(() => {
1505
- $ <= 0 && (Vn(), In = null);
1503
+ return fe(() => {
1504
+ Q--, !(Q > 0) && (Q = 0, $ = setTimeout(() => {
1505
+ Q <= 0 && (Vn(), $ = null);
1506
1506
  }, Fn));
1507
1507
  }), {
1508
1508
  state: f(Y),
1509
- isConnected: v(() => Z?.connected.value ?? !1),
1509
+ isConnected: v(() => X?.connected.value ?? !1),
1510
1510
  isLoading: v(() => Y.isLoading),
1511
1511
  devices: v(() => Y.devices),
1512
1512
  isScanning: v(() => Y.isScanning),
@@ -1555,15 +1555,15 @@ var Un = { class: "flex flex-col" }, Wn = {
1555
1555
  }, or = { class: "flex items-center justify-center" }, sr = { class: "flex items-center justify-center" }, cr = {
1556
1556
  key: 1,
1557
1557
  class: "flex flex-col items-center justify-center py-6 gap-2"
1558
- }, lr = { class: "text-muted text-sm" }, ur = { class: "flex flex-wrap items-center gap-2 mt-4" }, dr = /*#__PURE__*/ ae(/* @__PURE__ */ O({
1558
+ }, lr = { class: "text-muted text-sm" }, ur = { class: "flex flex-wrap items-center gap-2 mt-4" }, dr = /*#__PURE__*/ de(/* @__PURE__ */ O({
1559
1559
  __name: "Cameras",
1560
1560
  setup(e) {
1561
- let { t } = G(), r = W(), i = H(), a = se(), { smBreakpoint: c } = re(), l = Hn(), d = {
1561
+ let { t } = K(), r = G(), i = H(), a = se(), { smBreakpoint: c } = re(), l = Hn(), d = {
1562
1562
  bodyRow: { class: "text-sm text-secondary" },
1563
1563
  column: { columnTitle: { class: "text-sm" } },
1564
1564
  datatable: { class: "z-0" }
1565
- }, f = v(() => fe(void 0, "admin")), h = v(() => l.sortedDevices.value), g = v(() => h.value.filter((e) => e.type === "camera")), b = v(() => h.value.filter((e) => e.type === "discovered")), w = v(() => l.isLoading.value), D = v(() => l.isScanning.value), O = v(() => l.hiddenDevices.value), k = v(() => l.showHidden.value), j = v(() => O.value.length);
1566
- function te(e) {
1565
+ }, f = v(() => W(void 0, "admin")), h = v(() => l.sortedDevices.value), g = v(() => h.value.filter((e) => e.type === "camera")), b = v(() => h.value.filter((e) => e.type === "discovered")), w = v(() => l.isLoading.value), D = v(() => l.isScanning.value), O = v(() => l.hiddenDevices.value), k = v(() => l.showHidden.value), j = v(() => O.value.length);
1566
+ function N(e) {
1567
1567
  switch (e) {
1568
1568
  case "added": return "green";
1569
1569
  case "discovered": return "orange";
@@ -1572,7 +1572,7 @@ var Un = { class: "flex flex-col" }, Wn = {
1572
1572
  default: return "gray";
1573
1573
  }
1574
1574
  }
1575
- function N(e) {
1575
+ function P(e) {
1576
1576
  switch (e) {
1577
1577
  case "added": return t("views.devices.status_added");
1578
1578
  case "discovered": return t("views.devices.status_discovered");
@@ -1581,11 +1581,11 @@ var Un = { class: "flex flex-col" }, Wn = {
1581
1581
  default: return t("views.devices.status_unknown");
1582
1582
  }
1583
1583
  }
1584
- function P(e) {
1584
+ function F(e) {
1585
1585
  return l.isHidden(e);
1586
1586
  }
1587
- async function F(e) {
1588
- if (!P(e)) {
1587
+ async function I(e) {
1588
+ if (!F(e)) {
1589
1589
  if (e.type === "camera") {
1590
1590
  a.open({ cameraName: e.name });
1591
1591
  return;
@@ -1617,7 +1617,7 @@ var Un = { class: "flex flex-col" }, Wn = {
1617
1617
  },
1618
1618
  schema: n.schema ?? [],
1619
1619
  onConnect: async (t) => {
1620
- I(await l.prepareDevice(e.discoveredId, t), e.discoveredId);
1620
+ te(await l.prepareDevice(e.discoveredId, t), e.discoveredId);
1621
1621
  }
1622
1622
  }
1623
1623
  } });
@@ -1632,7 +1632,7 @@ var Un = { class: "flex flex-col" }, Wn = {
1632
1632
  }
1633
1633
  }
1634
1634
  }
1635
- function I(e, n) {
1635
+ function te(e, n) {
1636
1636
  i.openComponentDialog(On, { data: {
1637
1637
  title: t("views.devices.confirm_title"),
1638
1638
  confirmText: t("views.devices.confirm"),
@@ -1673,14 +1673,14 @@ var Un = { class: "flex flex-col" }, Wn = {
1673
1673
  });
1674
1674
  }
1675
1675
  }
1676
- function ne() {
1676
+ function R() {
1677
1677
  i.openComponentDialog(Cn, { data: {
1678
1678
  title: t("components.dialog.components.new_camera.add_camera"),
1679
1679
  fullscreen: !0,
1680
1680
  contentProps: {}
1681
1681
  } });
1682
1682
  }
1683
- async function ie(e, n) {
1683
+ async function z(e, n) {
1684
1684
  e.stopPropagation();
1685
1685
  try {
1686
1686
  let e = await l.hideDevice(n);
@@ -1704,7 +1704,7 @@ var Un = { class: "flex flex-col" }, Wn = {
1704
1704
  });
1705
1705
  }
1706
1706
  }
1707
- async function R(e, n) {
1707
+ async function B(e, n) {
1708
1708
  e.stopPropagation();
1709
1709
  try {
1710
1710
  let e = await l.unhideDevice(n.discoveredId);
@@ -1728,18 +1728,18 @@ var Un = { class: "flex flex-col" }, Wn = {
1728
1728
  });
1729
1729
  }
1730
1730
  }
1731
- function ae() {
1731
+ function ne() {
1732
1732
  l.toggleShowHidden();
1733
1733
  }
1734
- function z(e) {
1735
- return P(e) ? "opacity-50 cursor-not-allowed" : "";
1734
+ function V(e) {
1735
+ return F(e) ? "opacity-50 cursor-not-allowed" : "";
1736
1736
  }
1737
1737
  return M(() => {
1738
1738
  f.value && l.connect();
1739
1739
  }), n(() => {
1740
1740
  f.value && l.unsubscribe();
1741
1741
  }), (e, t) => {
1742
- let n = Fe, r = me, i = ue, a = le, l = K, v = xe, O = ke, M = Oe, I = Ae, re = Pe, se = Re, B = oe, V = ee;
1742
+ let n = Pe, r = pe, i = oe, a = ae, l = q, v = be, O = Oe, M = De, te = ke, re = Ne, se = Le, H = ie, U = ee;
1743
1743
  return o(), x("div", Un, [
1744
1744
  _(c) ? m("", !0) : (o(), x("h1", Wn, s(e.$t(`views.${String(e.$route.name).toLowerCase()}.title`)), 1)),
1745
1745
  _(f) ? (o(), x(C, { key: 2 }, [
@@ -1759,12 +1759,12 @@ var Un = { class: "flex flex-col" }, Wn = {
1759
1759
  }, null, 8, ["label", "loading"])
1760
1760
  ])) : m("", !0),
1761
1761
  !_(w) && _(g).length ? (o(), x("div", Qn, [T("span", $n, s(e.$t("views.devices.status_adopted_cameras")), 1), A(r, { class: "cui-card" }, {
1762
- content: y(() => [A(I, {
1762
+ content: y(() => [A(te, {
1763
1763
  value: _(g),
1764
1764
  "striped-rows": "",
1765
1765
  pt: d,
1766
1766
  class: "w-full",
1767
- onRowClick: t[0] ||= (e) => F(e.data)
1767
+ onRowClick: t[0] ||= (e) => I(e.data)
1768
1768
  }, {
1769
1769
  default: y(() => [
1770
1770
  A(O, {
@@ -1772,7 +1772,7 @@ var Un = { class: "flex flex-col" }, Wn = {
1772
1772
  "header-class": "p-2 pl-4 w-5 max-w-5",
1773
1773
  class: "p-2 pl-4 w-5 max-w-5"
1774
1774
  }, {
1775
- body: y(({ data: e }) => [T("div", er, [E(A(v, { style: S({ background: te(e.status) }) }, null, 8, ["style"]), [[V, { value: N(e.status) }]])])]),
1775
+ body: y(({ data: e }) => [T("div", er, [E(A(v, { style: S({ background: N(e.status) }) }, null, 8, ["style"]), [[U, { value: P(e.status) }]])])]),
1776
1776
  _: 1
1777
1777
  }),
1778
1778
  A(O, {
@@ -1822,12 +1822,12 @@ var Un = { class: "flex flex-col" }, Wn = {
1822
1822
  key: 3,
1823
1823
  class: u(["flex min-h-0 flex-col", { "mt-6": _(g).length }])
1824
1824
  }, [T("span", ir, s(e.$t("views.devices.status_discovered")), 1), A(r, { class: "cui-card" }, {
1825
- content: y(() => [_(b).length ? (o(), x("div", ar, [A(I, {
1825
+ content: y(() => [_(b).length ? (o(), x("div", ar, [A(te, {
1826
1826
  value: _(b),
1827
1827
  "striped-rows": "",
1828
1828
  pt: d,
1829
1829
  class: "w-full",
1830
- onRowClick: t[1] ||= (e) => F(e.data)
1830
+ onRowClick: t[1] ||= (e) => I(e.data)
1831
1831
  }, {
1832
1832
  default: y(() => [
1833
1833
  A(O, {
@@ -1835,7 +1835,7 @@ var Un = { class: "flex flex-col" }, Wn = {
1835
1835
  "header-class": "p-2 pl-4 w-5 max-w-5",
1836
1836
  class: "p-2 pl-4 w-5 max-w-5"
1837
1837
  }, {
1838
- body: y(({ data: e }) => [T("div", or, [E(A(v, { style: S({ background: te(e.status) }) }, null, 8, ["style"]), [[V, { value: N(e.status) }]])])]),
1838
+ body: y(({ data: e }) => [T("div", or, [E(A(v, { style: S({ background: N(e.status) }) }, null, 8, ["style"]), [[U, { value: P(e.status) }]])])]),
1839
1839
  _: 1
1840
1840
  }),
1841
1841
  A(O, {
@@ -1844,7 +1844,7 @@ var Un = { class: "flex flex-col" }, Wn = {
1844
1844
  "header-class": "p-2",
1845
1845
  class: "p-2 w-full min-w-[200px] max-w-0"
1846
1846
  }, {
1847
- body: y(({ data: t }) => [T("div", { class: u(["font-bold text-color truncate", z(t)]) }, s(t.name), 3), T("div", { class: u(["text-xs text-muted truncate", z(t)]) }, s(t.manufacturer || e.$t("views.devices.unknown")) + " · " + s(t.model || e.$t("views.devices.unknown")), 3)]),
1847
+ body: y(({ data: t }) => [T("div", { class: u(["font-bold text-color truncate", V(t)]) }, s(t.name), 3), T("div", { class: u(["text-xs text-muted truncate", V(t)]) }, s(t.manufacturer || e.$t("views.devices.unknown")) + " · " + s(t.model || e.$t("views.devices.unknown")), 3)]),
1848
1848
  _: 1
1849
1849
  }, 8, ["header"]),
1850
1850
  A(O, {
@@ -1855,7 +1855,7 @@ var Un = { class: "flex flex-col" }, Wn = {
1855
1855
  }, {
1856
1856
  body: y(({ data: e }) => [e.address ? (o(), x("span", {
1857
1857
  key: 0,
1858
- class: u(["text-xs text-muted whitespace-nowrap", z(e)])
1858
+ class: u(["text-xs text-muted whitespace-nowrap", V(e)])
1859
1859
  }, s(e.address), 3)) : m("", !0)]),
1860
1860
  _: 1
1861
1861
  }, 8, ["header"]),
@@ -1867,7 +1867,7 @@ var Un = { class: "flex flex-col" }, Wn = {
1867
1867
  }, {
1868
1868
  body: y(({ data: e }) => [A(M, {
1869
1869
  label: e.provider,
1870
- class: u(["text-xs whitespace-nowrap", z(e)])
1870
+ class: u(["text-xs whitespace-nowrap", V(e)])
1871
1871
  }, null, 8, ["label", "class"])]),
1872
1872
  _: 1
1873
1873
  }, 8, ["header"]),
@@ -1876,21 +1876,21 @@ var Un = { class: "flex flex-col" }, Wn = {
1876
1876
  "header-class": "p-2 pr-4 w-12",
1877
1877
  class: "p-2 pr-4 w-12"
1878
1878
  }, {
1879
- body: y(({ data: t }) => [T("div", sr, [P(t) ? E((o(), p(l, {
1879
+ body: y(({ data: t }) => [T("div", sr, [F(t) ? E((o(), p(l, {
1880
1880
  key: 1,
1881
1881
  text: "",
1882
1882
  rounded: "",
1883
1883
  class: "cui-icon-md",
1884
- onClick: (e) => R(e, t)
1884
+ onClick: (e) => B(e, t)
1885
1885
  }, {
1886
- icon: y(() => [A(_(ze), {
1886
+ icon: y(() => [A(_(Re), {
1887
1887
  width: "100%",
1888
1888
  height: "100%",
1889
1889
  class: "text-muted"
1890
1890
  })]),
1891
1891
  _: 1
1892
1892
  }, 8, ["onClick"])), [[
1893
- V,
1893
+ U,
1894
1894
  { value: e.$t("views.devices.unhide") },
1895
1895
  void 0,
1896
1896
  { left: !0 }
@@ -1900,16 +1900,16 @@ var Un = { class: "flex flex-col" }, Wn = {
1900
1900
  text: "",
1901
1901
  rounded: "",
1902
1902
  class: "cui-icon-md",
1903
- onClick: (e) => ie(e, t)
1903
+ onClick: (e) => z(e, t)
1904
1904
  }, {
1905
- icon: y(() => [A(_(Be), {
1905
+ icon: y(() => [A(_(ze), {
1906
1906
  width: "100%",
1907
1907
  height: "100%",
1908
1908
  class: "text-muted"
1909
1909
  })]),
1910
1910
  _: 1
1911
1911
  }, 8, ["onClick"])), [[
1912
- V,
1912
+ U,
1913
1913
  { value: e.$t("views.devices.hide") },
1914
1914
  void 0,
1915
1915
  { left: !0 }
@@ -1935,7 +1935,7 @@ var Un = { class: "flex flex-col" }, Wn = {
1935
1935
  severity: "secondary",
1936
1936
  class: "cui-button-medium",
1937
1937
  label: _(k) ? e.$t("views.devices.hide_hidden") : `${e.$t("views.devices.show_hidden")} (${_(j)})`,
1938
- onClick: ae
1938
+ onClick: ne
1939
1939
  }, null, 8, ["label"])) : m("", !0),
1940
1940
  A(l, {
1941
1941
  severity: "secondary",
@@ -1951,16 +1951,16 @@ var Un = { class: "flex flex-col" }, Wn = {
1951
1951
  content: y(() => [A(n)]),
1952
1952
  _: 1
1953
1953
  })])),
1954
- ("hasPermission" in e ? e.hasPermission : _(fe))(void 0, "admin") ? (o(), p(B, {
1954
+ ("hasPermission" in e ? e.hasPermission : _(W))(void 0, "admin") ? (o(), p(H, {
1955
1955
  key: 3,
1956
1956
  "tooltip-props": { value: e.$t("views.cameras.add_camera") },
1957
1957
  "button-props": { class: "text-white" },
1958
- icon: _(Le),
1958
+ icon: _(Ie),
1959
1959
  "icon-props": {
1960
1960
  width: "30px",
1961
1961
  height: "30px"
1962
1962
  },
1963
- onClick: ne
1963
+ onClick: R
1964
1964
  }, null, 8, ["tooltip-props", "icon"])) : m("", !0)
1965
1965
  ]);
1966
1966
  };