@camera.ui/server 2.1.16 → 2.1.17

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 (345) hide show
  1. package/dist/interface/assets/{404-CqZDSHs_.js → 404-Cg1J2LX8.js} +1 -1
  2. package/dist/interface/assets/{About-Dk4SUTxo.js → About-CW7G6onF.js} +1 -1
  3. package/dist/interface/assets/Automation-CIwBJK1Y.js +3 -0
  4. package/dist/interface/assets/{AutomationImport-DDywNuRK.js → AutomationImport-CHkNv7C-.js} +2 -2
  5. package/dist/interface/assets/{AutomationStore-o0JYwGRr.js → AutomationStore-5bTym-Gl.js} +2 -2
  6. package/dist/interface/assets/{AutomationStoreDetail-DeAGahaF.js → AutomationStoreDetail-BF8UoG_l.js} +2 -2
  7. package/dist/interface/assets/Automations-CaX2fHhJ.js +2 -0
  8. package/dist/interface/assets/Camera-1zdmJnP-.js +2 -0
  9. package/dist/interface/assets/Camera-DSyI4J5-.css +1 -0
  10. package/dist/interface/assets/{CameraConsole-32WtMX1a.js → CameraConsole-CB1HEFKJ.js} +2 -2
  11. package/dist/interface/assets/{Cameras-zffI0fD9.js → Cameras-CyCY0rW9.js} +2 -2
  12. package/dist/interface/assets/Camview-Dia7G1u_.js +1 -0
  13. package/dist/interface/assets/{CertificateUpload-Dg0V9Hei.js → CertificateUpload-jP-JIxmY.js} +1 -1
  14. package/dist/interface/assets/{Config-CKrqFe-g.js → Config-DOa7WHyQ.js} +1 -1
  15. package/dist/interface/assets/{ConfigActionCameraControl-sbvBJQr3.js → ConfigActionCameraControl-BmCE3XLC.js} +1 -1
  16. package/dist/interface/assets/{ConfigActionDelay-CiPxydTn.js → ConfigActionDelay-CfHCZ0uf.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionHttp-UqiZm0kq.js → ConfigActionHttp-DdM7gEb0.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionImageInput-DkGVZ-ti.js → ConfigActionImageInput-CrPPNT4K.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionMqtt-DQu5H4bY.js → ConfigActionMqtt-D7-u4zri.js} +1 -1
  20. package/dist/interface/assets/ConfigActionNotification-BSuUI2FP.js +1 -0
  21. package/dist/interface/assets/{ConfigActionNotificationControl-B_EpM5m9.js → ConfigActionNotificationControl-DfvAxKnx.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionOutput-DeOsk0T1.js → ConfigActionOutput-DPplSpm_.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionPlugin-CSZHcNQ6.js → ConfigActionPlugin-BnRn_p26.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionSensor-Dx7DcDVr.js → ConfigActionSensor-CoEoqFAY.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionSnapshot-Baj-r4Cd.js → ConfigActionSnapshot-wXdFiyU-.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionVariable-Ccu___aS.js → ConfigActionVariable-BqJvOOHH.js} +1 -1
  27. package/dist/interface/assets/{ConfigConditionIfElse-0hU7UW8q.js → ConfigConditionIfElse-DG2Kgqn5.js} +1 -1
  28. package/dist/interface/assets/{ConfigConditionSensorState-BX19KYLJ.js → ConfigConditionSensorState-BytECo6r.js} +1 -1
  29. package/dist/interface/assets/{ConfigConditionSwitch-D-XUhwcE.js → ConfigConditionSwitch-DaSt9uZE.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionTime-B6OO8cmh.js → ConfigConditionTime-D42OsshU.js} +1 -1
  31. package/dist/interface/assets/{ConfigSensorValueInput-DZHYQez8.js → ConfigSensorValueInput-BtEmtZSm.js} +1 -1
  32. package/dist/interface/assets/{ConfigTriggerDetection-BNyR5aOG.js → ConfigTriggerDetection-CDH2fzsu.js} +1 -1
  33. package/dist/interface/assets/ConfigTriggerGeofence-Dopegic5.js +1 -0
  34. package/dist/interface/assets/{ConfigTriggerManual-DFSTAuUt.js → ConfigTriggerManual-DAtWfH0-.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerMqtt-D_O8RyrQ.js → ConfigTriggerMqtt-CB3_PxqD.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerSchedule-BFZnBfCM.js → ConfigTriggerSchedule-BUzOrF23.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSensor-D1Tst2wQ.js → ConfigTriggerSensor-D5kRIb7I.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSystem-BNfatCp8.js → ConfigTriggerSystem-Cud77VMR.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerWebhook--nEO_Odl.js → ConfigTriggerWebhook-CeG5R3kV.js} +1 -1
  40. package/dist/interface/assets/Console-DdOD6Pd5.js +1 -0
  41. package/dist/interface/assets/{CuiAutomationRunsDialog-CkMRT1C8.js → CuiAutomationRunsDialog-Cym6xMVJ.js} +1 -1
  42. package/dist/interface/assets/CuiBottomSheet-B3QSHp4-.js +1 -0
  43. package/dist/interface/assets/{CuiBottomSheet-mKu68LHd.js → CuiBottomSheet-BSoMhymR.js} +1 -1
  44. package/dist/interface/assets/{CuiCameraPipCard-Djp8qBvZ.js → CuiCameraPipCard-DGgrxZJd.js} +1 -1
  45. package/dist/interface/assets/CuiCameraRecordings-Bu68AFdM.js +1 -0
  46. package/dist/interface/assets/{CuiCameraShares-B73pWIFh.js → CuiCameraShares-BOhfTcxQ.js} +1 -1
  47. package/dist/interface/assets/CuiCameraTable-C1CHYnda.js +1 -0
  48. package/dist/interface/assets/{CuiCameraTable-DripFD6D.js → CuiCameraTable-D0lc0VAJ.js} +2 -2
  49. package/dist/interface/assets/{CuiChartTable-DyyQV7mt.js → CuiChartTable-DcrFI8tT.js} +1 -1
  50. package/dist/interface/assets/{CuiConsole-UxJwQqNG.js → CuiConsole-ICLBq4Q-.js} +2 -2
  51. package/dist/interface/assets/{CuiDataTable-DZm0I8k7.js → CuiDataTable-BooFPsGH.js} +1 -1
  52. package/dist/interface/assets/{CuiLightControl-CB3l0ZLj.js → CuiLightControl-D1ih2hO-.js} +1 -1
  53. package/dist/interface/assets/{CuiList-DMQgYqaU.js → CuiList-ChI82KjI.js} +1 -1
  54. package/dist/interface/assets/{CuiPluginCard-HpQMNND1.js → CuiPluginCard-DqdSWrwb.js} +2 -2
  55. package/dist/interface/assets/{CuiPluginCategoryChip-C6aEP-ug.js → CuiPluginCategoryChip-DsRcMb72.js} +1 -1
  56. package/dist/interface/assets/{CuiPluginOAuthButton-DpGacvsa.js → CuiPluginOAuthButton-BSvRKUSY.js} +2 -2
  57. package/dist/interface/assets/{CuiPluginTrustBadge-Dl1PEsm6.js → CuiPluginTrustBadge-DXL7N1LC.js} +1 -1
  58. package/dist/interface/assets/CuiQRCode-DHln6Lo9.js +1 -0
  59. package/dist/interface/assets/CuiSchema-B7i2O3Fy.js +1 -0
  60. package/dist/interface/assets/{CuiTopNavbarItem-qPj6XwXr.js → CuiTopNavbarItem-TMfTyt8u.js} +1 -1
  61. package/dist/interface/assets/{Faces-DRWIPDfH.js → Faces-CyTkMqMW.js} +1 -1
  62. package/dist/interface/assets/FirstSteps-B4gb7Sgn.js +1 -0
  63. package/dist/interface/assets/Floorplan-DBwWnuys.js +1 -0
  64. package/dist/interface/assets/{Instances-VC4-anOF.js → Instances-D9fnwItz.js} +1 -1
  65. package/dist/interface/assets/{Logs-DROgZxLH.js → Logs-Brk6fJa0.js} +2 -2
  66. package/dist/interface/assets/{Menu-CmTk2or7.js → Menu-CrdBz1Er.js} +1 -1
  67. package/dist/interface/assets/Metrics-DXMgfNIL.js +9 -0
  68. package/dist/interface/assets/{OAuthDeviceFlow-BrdiDoCh.js → OAuthDeviceFlow-D5hSwHeO.js} +1 -1
  69. package/dist/interface/assets/Plugin-C65oNZ9N.js +1 -0
  70. package/dist/interface/assets/{PluginConsole-CxiW1w6K.js → PluginConsole-Bs3Z5u9-.js} +2 -2
  71. package/dist/interface/assets/PluginDetail-C3KUrHvq.js +2 -0
  72. package/dist/interface/assets/{PluginSchema-BgVZ_4if.js → PluginSchema-D22zRDkZ.js} +1 -1
  73. package/dist/interface/assets/PluginSearch-4ngDmZQ2.js +1 -0
  74. package/dist/interface/assets/PluginSearch-D7XYJzl4.js +2 -0
  75. package/dist/interface/assets/{PluginUpdateProgress-DEcle8-x.js → PluginUpdateProgress-MEdR7mID.js} +1 -1
  76. package/dist/interface/assets/Plugins-DQTlb12n.js +1 -0
  77. package/dist/interface/assets/Recordings-CqBwRvn-.js +1 -0
  78. package/dist/interface/assets/SensorEdit-BM2zHAM7.js +1 -0
  79. package/dist/interface/assets/{SensorHistory-H03yZia0.js → SensorHistory-Dbv2ODqn.js} +1 -1
  80. package/dist/interface/assets/Sensors-B4YzyU7R.js +2 -0
  81. package/dist/interface/assets/{Sensors-DzGV2Ngo.css → Sensors-DETviyjO.css} +1 -1
  82. package/dist/interface/assets/{Settings-9nC18KH8.js → Settings--wgPYOyK.js} +1 -1
  83. package/dist/interface/assets/{SettingsAccount-BTYvhCJP.js → SettingsAccount-BF6Cp8Rt.js} +1 -1
  84. package/dist/interface/assets/SettingsAccount-D7CHP0f1.js +1 -0
  85. package/dist/interface/assets/SettingsAppearance-Ba0jbbVW.js +1 -0
  86. package/dist/interface/assets/SettingsAppearance-BpXZwBjO.js +1 -0
  87. package/dist/interface/assets/{SettingsBackup-Bu48xw4v.js → SettingsBackup-qEYm-6De.js} +1 -1
  88. package/dist/interface/assets/{SettingsList-74c5OMQf.js → SettingsList-1brGZ2E_.js} +1 -1
  89. package/dist/interface/assets/{SettingsMqtt-81rJ4zV6.js → SettingsMqtt-Ds8YpoLA.js} +1 -1
  90. package/dist/interface/assets/SettingsNotifications-Diqpfbrh.js +1 -0
  91. package/dist/interface/assets/{SettingsPermissions-DqyVtVKE.js → SettingsPermissions-GmGacrLc.js} +1 -1
  92. package/dist/interface/assets/{SettingsRecordings-Bxn28Frz.js → SettingsRecordings-CtEm_7PE.js} +1 -1
  93. package/dist/interface/assets/SettingsRemote-CENHI51U.js +2 -0
  94. package/dist/interface/assets/SettingsSystem-YkigO2-V.js +2 -0
  95. package/dist/interface/assets/{SettingsUsers-DUOJN7uO.js → SettingsUsers-BNPa87gu.js} +1 -1
  96. package/dist/interface/assets/{Terminal-45QW5yPE.js → Terminal-uxOHZpUp.js} +3 -3
  97. package/dist/interface/assets/Training-BRZKDa8S.js +1 -0
  98. package/dist/interface/assets/Training-DMNjB3uX.css +1 -0
  99. package/dist/interface/assets/{Updates-B32Pra5E.js → Updates-CbscgL60.js} +1 -1
  100. package/dist/interface/assets/{VariableInput-CyTGQFtz.js → VariableInput-Dqg4sqBD.js} +1 -1
  101. package/dist/interface/assets/{VariableSuggestions-BLlD4F87.js → VariableSuggestions-DZCkPAVs.js} +1 -1
  102. package/dist/interface/assets/{VersionsHandler-CIq6v6lE.js → VersionsHandler-BYFshrhO.js} +2 -2
  103. package/dist/interface/assets/{VirtualSensorCreate-Di2IyYAg.js → VirtualSensorCreate-CQ-C4si3.js} +1 -1
  104. package/dist/interface/assets/{Workers-tb039NGc.js → Workers-DC77SjZQ.js} +2 -2
  105. package/dist/interface/assets/api-Cb8_C_se.js +4 -0
  106. package/dist/interface/assets/{api-4JRK8ya0.js → api-CbYNh0N1.js} +1 -1
  107. package/dist/interface/assets/api-DIyogyx5.css +2 -0
  108. package/dist/interface/assets/{auth-ISkWvJbZ.js → auth-Bev1OdHw.js} +1 -1
  109. package/dist/interface/assets/{automations-CeH81DN-.js → automations-DrpESBB_.js} +1 -1
  110. package/dist/interface/assets/cameraSources-QF2xqMxX.js +1 -0
  111. package/dist/interface/assets/cloudHandoff-BknPGUc0.js +1 -0
  112. package/dist/interface/assets/{config-DthCyQJv.js → config-DCK7k2P4.js} +1 -1
  113. package/dist/interface/assets/{flowSchema-DZ2bDhJt.js → flowSchema-D3Ddm5sW.js} +1 -1
  114. package/dist/interface/assets/{intercomService-Bd71KwsB.js → intercomService-DIwpkwG4.js} +1 -1
  115. package/dist/interface/assets/{main-ExPfCNlz.css → main-Cb5Z8N7b.css} +1 -1
  116. package/dist/interface/assets/main-DVwdxi04.js +3 -0
  117. package/dist/interface/assets/{mqtt-oPORDio9.js → mqtt-COWs_r7k.js} +1 -1
  118. package/dist/interface/assets/{notifications-BirFkpbF.js → notifications-sIv1-H85.js} +1 -1
  119. package/dist/interface/assets/{plugins-vyA7MMhx.js → plugins-CXQj6XQt.js} +1 -1
  120. package/dist/interface/assets/{rooms-MfPQPywT.js → rooms-DScX89Ks.js} +1 -1
  121. package/dist/interface/assets/{sensorIcons-B4H11BbT.js → sensorIcons-CvVtOgZB.js} +1 -1
  122. package/dist/interface/assets/sensorSlots-DsfKs8_k.js +1 -0
  123. package/dist/interface/assets/{sensors-xryx8Wvn.js → sensors-Bf_gYmB5.js} +1 -1
  124. package/dist/interface/assets/{server-BK9gwxH8.js → server-CahE6_Pv.js} +1 -1
  125. package/dist/interface/assets/{theme-DQeAzJ1v.js → theme-DmUc7UHl.js} +1 -1
  126. package/dist/interface/assets/{types-Bcj_K26s.js → types-D4kUDpid.js} +1 -1
  127. package/dist/interface/assets/{types-kN1Tn2Og.js → types-Dse8_nTX.js} +1 -1
  128. package/dist/interface/assets/{types-D626ASim.js → types-hwOSxlNg.js} +1 -1
  129. package/dist/interface/assets/ungrouped-Byxe4LNR.js +1 -0
  130. package/dist/interface/assets/ungrouped-n3OnGhCH.css +1 -0
  131. package/dist/interface/assets/{updates-Dzqxen12.js → updates-C4gAnNY6.js} +1 -1
  132. package/dist/interface/assets/{useAppVersion-JY7cdzlr.js → useAppVersion--b5Zj7tl.js} +1 -1
  133. package/dist/interface/assets/{useBackupRestore-CeShFVWy.js → useBackupRestore-Bx13MgrJ.js} +1 -1
  134. package/dist/interface/assets/{useCameraOptions-BeUNT5Rz.js → useCameraOptions-DN4gJjIl.js} +1 -1
  135. package/dist/interface/assets/{useLogsSocket-DDSuX00j.js → useLogsSocket-DqVa6Hky.js} +1 -1
  136. package/dist/interface/assets/{useNavLayout-DgAgRNq2.js → useNavLayout-CuQ9F9cj.js} +1 -1
  137. package/dist/interface/assets/{usePermissions-DFzwIs8L.js → usePermissions-C1L7m3Nc.js} +1 -1
  138. package/dist/interface/assets/{usePluginUpdates-Bb-LOOyL.js → usePluginUpdates-CvQPy02x.js} +1 -1
  139. package/dist/interface/assets/{usePushRegistration-iverdyzz.js → usePushRegistration-BKvefMFq.js} +1 -1
  140. package/dist/interface/assets/{useServerRestart-BchofDLe.js → useServerRestart-ByN6484v.js} +1 -1
  141. package/dist/interface/assets/{useStreamStatus-BOJt1v1c.js → useStreamStatus-BbtTnidZ.js} +1 -1
  142. package/dist/interface/assets/{useTabSwipe-v0Yet-YZ.js → useTabSwipe-D9udGzPx.js} +1 -1
  143. package/dist/interface/assets/{useUpdateChannel-K9ADk5yx.js → useUpdateChannel-8t3W9dNr.js} +1 -1
  144. package/dist/interface/assets/{useUpdatesSocket-sj1-DmFM.js → useUpdatesSocket-D9s_5T3l.js} +1 -1
  145. package/dist/interface/assets/{useUserOptions-BnF_qBdZ.js → useUserOptions-CEPYkuSm.js} +1 -1
  146. package/dist/interface/assets/{vendor-cameraui-BPX4wReW.js → vendor-cameraui-Dlzn4pyz.js} +26 -26
  147. package/dist/interface/assets/vendor-core-COMSlypG.js +1 -0
  148. package/dist/interface/assets/{vendor-primevue-iEFYdXsu.js → vendor-primevue-DF71EsUM.js} +55 -55
  149. package/dist/interface/ha/{404-DlQnv9jN.js → 404-Bm-oxxip.js} +1 -1
  150. package/dist/interface/ha/{About-BLQJmllv.js → About-CDcN0Q2J.js} +3 -3
  151. package/dist/interface/ha/{Automation-DLMPArOd.js → Automation-BQd4b0ym.js} +102 -102
  152. package/dist/interface/ha/{AutomationImport-Qzz3Ta4D.js → AutomationImport-CX1C76Wb.js} +6 -6
  153. package/dist/interface/ha/{AutomationStore-DNXC9s6h.js → AutomationStore-D4B0KpoW.js} +56 -56
  154. package/dist/interface/ha/{AutomationStoreDetail-CTqydRKj.js → AutomationStoreDetail-B53Giz4B.js} +6 -6
  155. package/dist/interface/ha/{Automations-DRxe1fli.js → Automations-BXlwOElS.js} +124 -124
  156. package/dist/interface/ha/{Camera-OrI4Wf4F.js → Camera-CauwMneE.js} +21 -19
  157. package/dist/interface/ha/{CameraConsole-6yGhoHmu.js → CameraConsole-CmsMjuIR.js} +5 -5
  158. package/dist/interface/ha/{Cameras-DpEaKKDG.js → Cameras-CyHDmgs0.js} +259 -259
  159. package/dist/interface/ha/{Camview-CnPz4cGs.js → Camview-BwwvU5k8.js} +70 -70
  160. package/dist/interface/ha/{Config-Bb2ERyAA.js → Config-C_Zuyeoc.js} +10 -10
  161. package/dist/interface/ha/{ConfigActionCameraControl-CC2tWFz2.js → ConfigActionCameraControl-C1_QyuX8.js} +3 -3
  162. package/dist/interface/ha/{ConfigActionHttp-DBsEL44i.js → ConfigActionHttp-C0d433mh.js} +2 -2
  163. package/dist/interface/ha/{ConfigActionImageInput-Rt3AOJ3I.js → ConfigActionImageInput-BYys2FwC.js} +1 -1
  164. package/dist/interface/ha/{ConfigActionMqtt-BYSSc954.js → ConfigActionMqtt-DznDfzze.js} +4 -4
  165. package/dist/interface/ha/{ConfigActionNotification-DKlIsZJd.js → ConfigActionNotification-CC2qfBLm.js} +3 -3
  166. package/dist/interface/ha/{ConfigActionNotificationControl-D5AVW2tR.js → ConfigActionNotificationControl-3jlm7_A4.js} +2 -2
  167. package/dist/interface/ha/{ConfigActionOutput-DIlu8Ujc.js → ConfigActionOutput-BEf1U3_l.js} +1 -1
  168. package/dist/interface/ha/{ConfigActionPlugin-o1YNBh-g.js → ConfigActionPlugin-C57BUrJD.js} +5 -5
  169. package/dist/interface/ha/{ConfigActionSensor-BEvwg0tf.js → ConfigActionSensor-BkoSPCUJ.js} +5 -5
  170. package/dist/interface/ha/{ConfigActionSnapshot-Bnw0JNNj.js → ConfigActionSnapshot-CC3EpmCq.js} +2 -2
  171. package/dist/interface/ha/{ConfigActionVariable-oGPagsvF.js → ConfigActionVariable-JDyDhSzZ.js} +1 -1
  172. package/dist/interface/ha/{ConfigConditionIfElse-7LCDNDvS.js → ConfigConditionIfElse-BVg-TUpv.js} +3 -3
  173. package/dist/interface/ha/{ConfigConditionSensorState-nO-s7wi6.js → ConfigConditionSensorState-YYeWly1H.js} +4 -4
  174. package/dist/interface/ha/{ConfigConditionSwitch-GrIKkY-P.js → ConfigConditionSwitch-DQHXX-4U.js} +5 -5
  175. package/dist/interface/ha/{ConfigSensorValueInput-Cthp3KXt.js → ConfigSensorValueInput-BuuzQ1nJ.js} +4 -4
  176. package/dist/interface/ha/{ConfigTriggerDetection-CJE9QFaK.js → ConfigTriggerDetection-CUvkAmpJ.js} +12 -12
  177. package/dist/interface/ha/{ConfigTriggerGeofence-Cyeu7Cit.js → ConfigTriggerGeofence-CCHELnfy.js} +7 -7
  178. package/dist/interface/ha/{ConfigTriggerMqtt-D5EoOztE.js → ConfigTriggerMqtt-BfLnCiWZ.js} +1 -1
  179. package/dist/interface/ha/{ConfigTriggerSensor-DYg_HRjO.js → ConfigTriggerSensor-Bi-Jld2G.js} +1 -1
  180. package/dist/interface/ha/{ConfigTriggerSystem-DzpajiyS.js → ConfigTriggerSystem-_HXrWjaJ.js} +2 -2
  181. package/dist/interface/ha/{ConfigTriggerWebhook-IE4PVb4O.js → ConfigTriggerWebhook-CFYsVF_r.js} +1 -1
  182. package/dist/interface/ha/{Console-BYgny5Dy.js → Console-CR95JZFd.js} +8 -8
  183. package/dist/interface/ha/{CuiAutomationRunsDialog-CoYgpbW0.js → CuiAutomationRunsDialog--mpkPFmw.js} +2 -2
  184. package/dist/interface/ha/{CuiBottomSheet-C4cK3fYK.js → CuiBottomSheet-DfFzwDjq.js} +1 -1
  185. package/dist/interface/ha/{CuiCameraRecordings-BAxchc71.js → CuiCameraRecordings-DCIFFbFk.js} +17 -18
  186. package/dist/interface/ha/{CuiCameraShares-CfQr1iyX.js → CuiCameraShares-Dwv_XtX4.js} +2 -2
  187. package/dist/interface/ha/{CuiCameraTable-B60mcEl_.js → CuiCameraTable-L6wd-VYz.js} +2 -2
  188. package/dist/interface/ha/{CuiChartTable-CbUVz-Cj.js → CuiChartTable-CxJR8u6U.js} +42 -42
  189. package/dist/interface/ha/{CuiConsole-DEjAQFwC.js → CuiConsole-CvL9TXZY.js} +20 -20
  190. package/dist/interface/ha/{CuiDataTable-005ptLsa.js → CuiDataTable-Bn80WJXi.js} +6 -6
  191. package/dist/interface/ha/{CuiPluginCard-BWwPLJ6m.js → CuiPluginCard-CtOzPAal.js} +18 -18
  192. package/dist/interface/ha/{CuiPluginOAuthButton-CgmDgRY9.js → CuiPluginOAuthButton-1LgNMLII.js} +3 -3
  193. package/dist/interface/ha/{CuiPluginTrustBadge-BWnP1whX.js → CuiPluginTrustBadge-mHuy3ab9.js} +1 -1
  194. package/dist/interface/ha/{CuiQRCode-ONkk6Wqy.js → CuiQRCode-CloepWte.js} +2 -2
  195. package/dist/interface/ha/{CuiSchema-C3uI1GwG.js → CuiSchema-CJsEWewj.js} +19 -19
  196. package/dist/interface/ha/{CuiTopNavbarItem-Bhws0XkE.js → CuiTopNavbarItem-B2EM-tmz.js} +1 -1
  197. package/dist/interface/ha/{Faces-DuxYlZGd.js → Faces-BMkZfxDm.js} +107 -107
  198. package/dist/interface/ha/{FirstSteps-BAlqShSK.js → FirstSteps-BH0mga3u.js} +11 -11
  199. package/dist/interface/ha/{Floorplan-BVwSNFd6.js → Floorplan-CyfIUI4Z.js} +275 -275
  200. package/dist/interface/ha/{Instances-BM9sRNSP.js → Instances-BwNXc91J.js} +70 -70
  201. package/dist/interface/ha/{Logs-KISz4BU-.js → Logs-CcSiN16r.js} +8 -8
  202. package/dist/interface/ha/{Menu-DYI6PeIn.js → Menu-qdN0OBb7.js} +10 -10
  203. package/dist/interface/ha/{Metrics-BjpKFunA.js → Metrics-ClM5lhvC.js} +89 -89
  204. package/dist/interface/ha/{OAuthDeviceFlow-DG-KUGZj.js → OAuthDeviceFlow-BBr-rER_.js} +3 -3
  205. package/dist/interface/ha/{Plugin-BjWyUUhe.js → Plugin-BBkSXygO.js} +50 -50
  206. package/dist/interface/ha/{PluginConsole-BK3cotea.js → PluginConsole-DqrBnXSX.js} +6 -6
  207. package/dist/interface/ha/{PluginDetail-BDzDeShX.js → PluginDetail-Clu6nv-B.js} +9 -9
  208. package/dist/interface/ha/{PluginSearch-DsFUuPC-.js → PluginSearch-Dn-24FLX.js} +32 -32
  209. package/dist/interface/ha/{PluginUpdateProgress-BMrdkjRq.js → PluginUpdateProgress-CzhHUKDg.js} +3 -3
  210. package/dist/interface/ha/{Plugins-3WPnsHXw.js → Plugins-qYJD5ioU.js} +16 -16
  211. package/dist/interface/ha/{Recordings-0wDF4ArK.js → Recordings-CBIt3vL7.js} +354 -355
  212. package/dist/interface/ha/{SensorEdit-B0L2zIha.js → SensorEdit-BbG6apZA.js} +349 -349
  213. package/dist/interface/ha/{SensorHistory-CQJEY1sW.js → SensorHistory-CqGsnQPW.js} +2 -2
  214. package/dist/interface/ha/{Sensors-BYdBTCLo.js → Sensors-mKWkCDF8.js} +474 -448
  215. package/dist/interface/ha/{Settings-BaqGiBCa.js → Settings-C5J4ubiA.js} +10 -10
  216. package/dist/interface/ha/{SettingsAccount-B0Sth0EF.js → SettingsAccount-tCyZsBxG.js} +39 -39
  217. package/dist/interface/ha/{SettingsAppearance-B_oylmTa.js → SettingsAppearance-DqJp4Clt.js} +6 -6
  218. package/dist/interface/ha/{SettingsBackup-BLmoV5AW.js → SettingsBackup-CHnCKYgz.js} +5 -5
  219. package/dist/interface/ha/{SettingsList-CMX7wMye.js → SettingsList-DsQOPeKW.js} +1 -1
  220. package/dist/interface/ha/{SettingsMqtt-C-sGwxOZ.js → SettingsMqtt-TPIsEcXe.js} +180 -180
  221. package/dist/interface/ha/{SettingsNotifications-tc9FCCUF.js → SettingsNotifications-DH3T_xyh.js} +3 -3
  222. package/dist/interface/ha/{SettingsRecordings-DDs16z2A.js → SettingsRecordings-Ay8lj8Lm.js} +4 -4
  223. package/dist/interface/ha/{SettingsRemote-0c0umjFJ.js → SettingsRemote-CHiBADuu.js} +314 -314
  224. package/dist/interface/ha/{SettingsSystem-DfXxWXQk.js → SettingsSystem-tqs40pUW.js} +8 -8
  225. package/dist/interface/ha/{SettingsUsers-CmjC0zsF.js → SettingsUsers-BUbC_Qc7.js} +39 -39
  226. package/dist/interface/ha/{Terminal-nbUX6PPZ.js → Terminal-f_b-089t.js} +4 -4
  227. package/dist/interface/ha/Training-Dcxo9PFi.js +1479 -0
  228. package/dist/interface/ha/{Updates-UaxBGn6D.js → Updates-aGl5hy8Q.js} +11 -11
  229. package/dist/interface/ha/{VariableInput-0bF2H1Bm.js → VariableInput-yJGbaZEo.js} +1 -1
  230. package/dist/interface/ha/{VersionsHandler-CnXVnfBl.js → VersionsHandler-Q4PfRpbs.js} +10 -10
  231. package/dist/interface/ha/{VirtualSensorCreate-BE60rAkJ.js → VirtualSensorCreate-Gbi6aJBh.js} +8 -8
  232. package/dist/interface/ha/{Workers-CaX3Z3w-.js → Workers-BbBqOc0H.js} +129 -129
  233. package/dist/interface/ha/{api-CmcbBFTx.js → api-DBu4gh4_.js} +8390 -8315
  234. package/dist/interface/ha/{api-S-NnjUWl.js → api-DY0z6Sp_.js} +3 -3
  235. package/dist/interface/ha/{auth-CqYE7s1-.js → auth-C2V-kpRp.js} +38 -38
  236. package/dist/interface/ha/{automationBlueprint-Dmp54JD1.js → automationBlueprint-MGUZJTFY.js} +4 -4
  237. package/dist/interface/ha/cameraui-cards.js +1 -1
  238. package/dist/interface/ha/{cards-MnCBmBIR.js → cards-BA6g_9R5.js} +566 -566
  239. package/dist/interface/ha/{config-C94KN4WM.js → config-BGlhgEOa.js} +15 -15
  240. package/dist/interface/ha/{dist-BQFunPaA.js → dist-BqTZri2H.js} +743 -725
  241. package/dist/interface/ha/{mqtt-HDLqlOJt.js → mqtt-BLKZNA-E.js} +15 -15
  242. package/dist/interface/ha/{notifications-C2_2_NRh.js → notifications-BW0RNMnG.js} +22 -22
  243. package/dist/interface/ha/{pinia-DLNUke3Q.js → pinia-DINxhtY-.js} +168 -165
  244. package/dist/interface/ha/{plugins-l2i4DgqO.js → plugins-Cj-B4Nwy.js} +68 -68
  245. package/dist/interface/ha/{rooms-Bp1ZVAzT.js → rooms-C32i51p-.js} +8 -8
  246. package/dist/interface/ha/{server-BsduJDAB.js → server-CfbE_0Z9.js} +32 -32
  247. package/dist/interface/ha/{types-iZUCCt1P.js → types-Ry6RjBNa.js} +17 -17
  248. package/dist/interface/ha/ungrouped-CO29-tSV.js +1320 -0
  249. package/dist/interface/ha/{updates-CDsPvhpo.js → updates-CZPI8XJ1.js} +37 -37
  250. package/dist/interface/ha/{useAppVersion-BJtSGn4X.js → useAppVersion-9jfqRo_z.js} +1 -1
  251. package/dist/interface/ha/{useLogsSocket-Ck-ZQpQD.js → useLogsSocket-B0E7a3ys.js} +1 -1
  252. package/dist/interface/ha/{useNavLayout-Bn6HYs-i.js → useNavLayout-B2wfeha-.js} +2 -2
  253. package/dist/interface/ha/{useServerRestart-fff_KK9Y.js → useServerRestart-CCH-yMWR.js} +1 -1
  254. package/dist/interface/ha/{useTabSwipe-B1CQZuyT.js → useTabSwipe-D2uqGEvR.js} +1 -1
  255. package/dist/interface/ha/{useUpdateChannel-DUBmGEDe.js → useUpdateChannel--SP3Wjym.js} +2 -2
  256. package/dist/interface/ha/{useUpdatesSocket-DoLb2kcJ.js → useUpdatesSocket-BBbUCMU-.js} +1 -1
  257. package/dist/interface/ha/{useUserOptions-D0kNSHFH.js → useUserOptions-Bh54UAkH.js} +1 -1
  258. package/dist/interface/index.html +28 -27
  259. package/dist/interface/sw.js +1 -1
  260. package/dist/server/package.json +1 -1
  261. package/dist/server/src/api/controllers/training.controller.d.ts +4 -2
  262. package/dist/server/src/api/controllers/training.controller.js +2 -2
  263. package/dist/server/src/api/controllers/training.controller.js.map +1 -1
  264. package/dist/server/src/api/database/record-schemas.d.ts +1 -0
  265. package/dist/server/src/api/database/record-schemas.js +1 -0
  266. package/dist/server/src/api/database/record-schemas.js.map +1 -1
  267. package/dist/server/src/api/routes/training.routes.js +3 -2
  268. package/dist/server/src/api/routes/training.routes.js.map +1 -1
  269. package/dist/server/src/api/schemas/training.schema.d.ts +4 -0
  270. package/dist/server/src/api/schemas/training.schema.js +3 -0
  271. package/dist/server/src/api/schemas/training.schema.js.map +1 -1
  272. package/dist/server/src/api/services/sensors.service.d.ts +1 -0
  273. package/dist/server/src/api/services/sensors.service.js +1 -0
  274. package/dist/server/src/api/services/sensors.service.js.map +1 -1
  275. package/dist/server/src/api/types/index.d.ts +2 -1
  276. package/dist/server/src/camera/decoder/detection-coordinator.js +23 -7
  277. package/dist/server/src/camera/decoder/detection-coordinator.js.map +1 -1
  278. package/dist/server/src/camera/decoder/detection-window.d.ts +5 -0
  279. package/dist/server/src/camera/decoder/detection-window.js +5 -5
  280. package/dist/server/src/camera/decoder/detection-window.js.map +1 -1
  281. package/dist/server/src/camera/decoder/event-manager.d.ts +5 -1
  282. package/dist/server/src/camera/decoder/event-manager.js +21 -14
  283. package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
  284. package/dist/server/src/camera/decoder/training-sink.d.ts +14 -3
  285. package/dist/server/src/camera/decoder/training-sink.js +32 -17
  286. package/dist/server/src/camera/decoder/training-sink.js.map +1 -1
  287. package/dist/server/src/camera/decoder/types.d.ts +1 -1
  288. package/dist/server/src/camera/decoder/types.js +2 -6
  289. package/dist/server/src/camera/decoder/types.js.map +1 -1
  290. package/dist/server/src/manager/trainingCandidateManager.d.ts +2 -3
  291. package/dist/server/src/manager/trainingCandidateManager.js +17 -18
  292. package/dist/server/src/manager/trainingCandidateManager.js.map +1 -1
  293. package/dist/server/src/manager/types.d.ts +5 -0
  294. package/dist/server/src/remote/api/routes/train.d.ts +6 -1
  295. package/dist/server/src/remote/api/routes/train.js +6 -2
  296. package/dist/server/src/remote/api/routes/train.js.map +1 -1
  297. package/dist/server/src/sensors/registry.d.ts +1 -0
  298. package/dist/server/src/sensors/registry.js +10 -0
  299. package/dist/server/src/sensors/registry.js.map +1 -1
  300. package/package.json +1 -1
  301. package/dist/interface/assets/Automation-CDvt2MXN.js +0 -3
  302. package/dist/interface/assets/Automations-2K-7hZfK.js +0 -2
  303. package/dist/interface/assets/Camera-B72IU-UF.js +0 -2
  304. package/dist/interface/assets/Camera-Cm9I0H6c.css +0 -1
  305. package/dist/interface/assets/Camview-KzzN0Q1w.js +0 -1
  306. package/dist/interface/assets/ConfigActionNotification-C2uXIMpm.js +0 -1
  307. package/dist/interface/assets/ConfigTriggerGeofence-Cuq1SnOZ.js +0 -1
  308. package/dist/interface/assets/Console-DkylrXI4.js +0 -1
  309. package/dist/interface/assets/CuiBottomSheet-DILQuWKb.js +0 -1
  310. package/dist/interface/assets/CuiCameraRecordings-Bi0I7jeO.js +0 -1
  311. package/dist/interface/assets/CuiCameraTable-CUdAnRJP.js +0 -1
  312. package/dist/interface/assets/CuiQRCode-D04Onyhk.js +0 -1
  313. package/dist/interface/assets/CuiRecordingsGrid-BhATIjIf.css +0 -1
  314. package/dist/interface/assets/CuiRecordingsGrid-BzyJWpFt.js +0 -1
  315. package/dist/interface/assets/CuiSchema-thjfmEWw.js +0 -1
  316. package/dist/interface/assets/FirstSteps-C6GVpZVr.js +0 -1
  317. package/dist/interface/assets/Floorplan-Q-UYDnrE.js +0 -1
  318. package/dist/interface/assets/Metrics-CYZF-em9.js +0 -9
  319. package/dist/interface/assets/Plugin-DuPHiiYJ.js +0 -1
  320. package/dist/interface/assets/PluginDetail-DWP7_hNa.js +0 -2
  321. package/dist/interface/assets/PluginSearch-1djFQUjL.js +0 -1
  322. package/dist/interface/assets/PluginSearch-Ba-hQHxm.js +0 -2
  323. package/dist/interface/assets/Plugins-BZ3U4pcG.js +0 -1
  324. package/dist/interface/assets/Recordings-CI5MIFR-.js +0 -1
  325. package/dist/interface/assets/SensorEdit-B6s-VZ3F.js +0 -1
  326. package/dist/interface/assets/Sensors-DDPUwbb-.js +0 -2
  327. package/dist/interface/assets/SettingsAccount-CKi0z3Bm.js +0 -1
  328. package/dist/interface/assets/SettingsAppearance-CDbQnSvl.js +0 -1
  329. package/dist/interface/assets/SettingsAppearance-D9Y28zzz.js +0 -1
  330. package/dist/interface/assets/SettingsNotifications-xHV5KiZg.js +0 -1
  331. package/dist/interface/assets/SettingsRemote-7h2dKJlF.js +0 -2
  332. package/dist/interface/assets/SettingsSystem-D-MLhCdN.js +0 -2
  333. package/dist/interface/assets/Training-B5SzDUAC.css +0 -1
  334. package/dist/interface/assets/Training-DWrQVSS0.js +0 -1
  335. package/dist/interface/assets/api-CFf063x3.js +0 -4
  336. package/dist/interface/assets/api-eoOLTOnS.css +0 -2
  337. package/dist/interface/assets/cameraSources-CgAEmb37.js +0 -1
  338. package/dist/interface/assets/cloudHandoff-B_kCnm4R.js +0 -1
  339. package/dist/interface/assets/main--lW4P3A4.js +0 -3
  340. package/dist/interface/assets/ungrouped-C6pQb0X4.css +0 -1
  341. package/dist/interface/assets/ungrouped-C_gJm6d7.js +0 -1
  342. package/dist/interface/assets/vendor-core-D0ANiY7g.js +0 -1
  343. package/dist/interface/ha/CuiRecordingsGrid-D6HHyF1D.js +0 -735
  344. package/dist/interface/ha/Training-GMcD4Qg9.js +0 -1440
  345. package/dist/interface/ha/ungrouped-wz-KNJpA.js +0 -426
@@ -3,43 +3,43 @@ import { G as t, H as n, I as r, Jt as i, M as a, Wt as o, Y as s, _t as c, d as
3
3
  import { t as ee } from "./tooltip-BIrD_hC8.js";
4
4
  import { t as te } from "./message-C8U_kMBA.js";
5
5
  import { t as ne } from "./tag-CXgC9OZ6.js";
6
- import { $i as w, At as re, Bi as T, Ci as E, Cr as D, F as O, I as ie, Mt as ae, P as k, Pn as oe, Si as A, Ui as se, Xi as ce, a as le, at as ue, bi as j, jt as de, kt as fe, la as pe, n as me, pt as he, r as M, ra as ge, ri as _e, ta as N, ut as P, wr as ve } from "./api-CmcbBFTx.js";
7
- import { i as ye, o as be } from "./intercomService-jB2mTgsn.js";
8
- import { R as xe, k as F } from "./pinia-DLNUke3Q.js";
9
- import { n as Se } from "./vue-i18n-Dcb07o5U.js";
10
- import { t as Ce } from "./button-BlYuI0Q7.js";
11
- import { t as we } from "./inputtext-DGIESrd0.js";
12
- import { t as Te } from "./select-DjWkRqsI.js";
13
- import { t as Ee } from "./multiselect-BbgV_fPx.js";
14
- import { t as De } from "./information-outline-DIdNxPCN.js";
15
- import { t as Oe } from "./CuiQRCode-ONkk6Wqy.js";
16
- import { t as ke } from "./server-BsduJDAB.js";
17
- import { t as Ae } from "./api-S-NnjUWl.js";
6
+ import { At as re, Ci as ie, Cr as w, F as T, I as ae, Mt as oe, P as E, Pn as se, Vi as ce, Wi as D, Zi as O, a as le, at as ue, ea as k, ia as A, ii as de, jt as fe, kt as pe, n as me, na as he, pt as ge, r as j, ua as _e, ut as ve, wi as M, wr as ye, xi as N } from "./api-DBu4gh4_.js";
7
+ import { i as be, o as xe } from "./intercomService-jB2mTgsn.js";
8
+ import { V as Se, k as P } from "./pinia-DINxhtY-.js";
9
+ import { n as Ce } from "./vue-i18n-Dcb07o5U.js";
10
+ import { t as we } from "./button-BlYuI0Q7.js";
11
+ import { t as Te } from "./inputtext-DGIESrd0.js";
12
+ import { t as Ee } from "./select-DjWkRqsI.js";
13
+ import { t as De } from "./multiselect-BbgV_fPx.js";
14
+ import { t as Oe } from "./information-outline-DIdNxPCN.js";
15
+ import { t as ke } from "./CuiQRCode-CloepWte.js";
16
+ import { t as Ae } from "./server-CfbE_0Z9.js";
17
+ import { t as je } from "./api-DY0z6Sp_.js";
18
18
  //#region src/connection/endpointScope.ts
19
- var je = /^(10\.|127\.|192\.168\.|169\.254\.|172\.(1[6-9]|2\d|3[01])\.)/, Me = /^f[cd][0-9a-f]{2}:/, I = [
19
+ var Me = /^(10\.|127\.|192\.168\.|169\.254\.|172\.(1[6-9]|2\d|3[01])\.)/, Ne = /^f[cd][0-9a-f]{2}:/, F = [
20
20
  ".local",
21
21
  ".lan",
22
22
  ".home",
23
23
  ".internal",
24
24
  ".localdomain"
25
25
  ];
26
- function Ne(e) {
26
+ function Pe(e) {
27
27
  try {
28
28
  return new URL(e).hostname.toLowerCase();
29
29
  } catch {
30
30
  return;
31
31
  }
32
32
  }
33
- function Pe(e) {
33
+ function Fe(e) {
34
34
  let t = e.startsWith("[") && e.endsWith("]") ? e.slice(1, -1) : e;
35
- return t === "localhost" ? !0 : t.includes(":") ? t === "::1" || Me.test(t) || t.startsWith("fe80:") : je.test(t) || !t.includes(".") ? !0 : I.some((e) => t.endsWith(e));
35
+ return t === "localhost" ? !0 : t.includes(":") ? t === "::1" || Ne.test(t) || t.startsWith("fe80:") : Me.test(t) || !t.includes(".") ? !0 : F.some((e) => t.endsWith(e));
36
36
  }
37
- function Fe(e) {
38
- let t = e ? Ne(e) : void 0;
39
- return t ? Pe(t) : !1;
37
+ function I(e) {
38
+ let t = e ? Pe(e) : void 0;
39
+ return t ? Fe(t) : !1;
40
40
  }
41
41
  function Ie(e, t) {
42
- return e ? t === "direct" ? Fe(e.url) : e.mode === "direct-lan" : !1;
42
+ return e ? t === "direct" ? I(e.url) : e.mode === "direct-lan" : !1;
43
43
  }
44
44
  //#endregion
45
45
  //#region ~icons/material-symbols-light/cloud-off
@@ -100,72 +100,72 @@ function qe(e, t) {
100
100
  var Je = c({
101
101
  name: "mdi-earth",
102
102
  render: qe
103
- }), Ye = {
103
+ }), L = {
104
104
  viewBox: "0 0 24 24",
105
105
  width: "1.2em",
106
106
  height: "1.2em"
107
107
  };
108
- function L(e, t) {
109
- return n(), g("svg", Ye, [...t[0] ||= [v("path", {
108
+ function R(e, t) {
109
+ return n(), g("svg", L, [...t[0] ||= [v("path", {
110
110
  fill: "currentColor",
111
111
  d: "M10 2c-1.11 0-2 .89-2 2v3c0 1.11.89 2 2 2h1v2H2v2h4v2H5c-1.11 0-2 .89-2 2v3c0 1.11.89 2 2 2h4c1.11 0 2-.89 2-2v-3c0-1.11-.89-2-2-2H8v-2h8v2h-1c-1.11 0-2 .89-2 2v3c0 1.11.89 2 2 2h4c1.11 0 2-.89 2-2v-3c0-1.11-.89-2-2-2h-1v-2h4v-2h-9V9h1c1.11 0 2-.89 2-2V4c0-1.11-.89-2-2-2zm0 2h4v3h-4zM5 17h4v3H5zm10 0h4v3h-4z"
112
112
  }, null, -1)]]);
113
113
  }
114
- var Xe = c({
114
+ var Ye = c({
115
115
  name: "mdi-lan",
116
- render: L
116
+ render: R
117
117
  });
118
118
  //#endregion
119
119
  //#region src/api/routes/remote.ts
120
- async function Ze({ signal: e }) {
121
- return (await w.get("/remote", { signal: e })).data;
122
- }
123
- async function Qe(e) {
124
- return (await w.patch("/remote", e)).data;
120
+ async function Xe({ signal: e }) {
121
+ return (await k.get("/remote", { signal: e })).data;
125
122
  }
126
- async function $e(e) {
127
- return (await w.post("/remote/pair/init", e ? { name: e } : {})).data;
123
+ async function Ze(e) {
124
+ return (await k.patch("/remote", e)).data;
128
125
  }
129
- async function et({ name: e } = {}) {
130
- return (await w.post("/remote/pair/poll", e ? { name: e } : {})).data;
126
+ async function Qe(e) {
127
+ return (await k.post("/remote/pair/init", e ? { name: e } : {})).data;
131
128
  }
132
- async function tt() {
133
- await w.delete("/remote/unregister");
129
+ async function $e({ name: e } = {}) {
130
+ return (await k.post("/remote/pair/poll", e ? { name: e } : {})).data;
134
131
  }
135
- async function nt({ signal: e }) {
136
- return (await w.get("/remote/status", { signal: e })).data;
132
+ async function et() {
133
+ await k.delete("/remote/unregister");
137
134
  }
138
- async function rt(e) {
139
- await w.patch("/remote/name", { name: e });
135
+ async function tt({ signal: e }) {
136
+ return (await k.get("/remote/status", { signal: e })).data;
140
137
  }
141
- async function it({ signal: e }) {
142
- return (await w.get("/remote/tunnel", { signal: e })).data;
138
+ async function nt(e) {
139
+ await k.patch("/remote/name", { name: e });
143
140
  }
144
- async function R({ signal: e } = {}) {
145
- return (await w.get("/remote/connection-info", { signal: e })).data;
141
+ async function rt({ signal: e }) {
142
+ return (await k.get("/remote/tunnel", { signal: e })).data;
146
143
  }
147
- async function z(e) {
148
- return (await w.post(`/remote/test/${e}`)).data;
144
+ async function z({ signal: e } = {}) {
145
+ return (await k.get("/remote/connection-info", { signal: e })).data;
149
146
  }
150
- async function B({ signal: e } = {}) {
151
- return (await w.get("/remote/cloudflare/managed/status", { signal: e })).data;
147
+ async function B(e) {
148
+ return (await k.post(`/remote/test/${e}`)).data;
152
149
  }
153
- async function V(e) {
154
- await w.post("/remote/cloudflare/managed/connect", { hostname: e });
150
+ async function V({ signal: e } = {}) {
151
+ return (await k.get("/remote/cloudflare/managed/status", { signal: e })).data;
155
152
  }
156
- async function H() {
157
- await w.post("/remote/cloudflare/managed/cancel");
153
+ async function H(e) {
154
+ await k.post("/remote/cloudflare/managed/connect", { hostname: e });
158
155
  }
159
156
  async function U() {
160
- await w.post("/remote/cloudflare/managed/disconnect");
157
+ await k.post("/remote/cloudflare/managed/cancel");
161
158
  }
162
159
  async function W() {
163
- await w.post("/remote/cloudflare/managed/logout");
160
+ await k.post("/remote/cloudflare/managed/disconnect");
161
+ }
162
+ async function G() {
163
+ await k.post("/remote/cloudflare/managed/logout");
164
164
  }
165
- var at = class {
166
- _queryClient = T();
167
- t = pe.global.t;
168
- toast = A();
165
+ var it = class {
166
+ _queryClient = ce();
167
+ t = _e.global.t;
168
+ toast = ie();
169
169
  queryActivator = S([
170
170
  {
171
171
  name: "getRemoteInfoQuery",
@@ -192,16 +192,16 @@ var at = class {
192
192
  return this._queryClient;
193
193
  }
194
194
  getRemoteInfoQuery() {
195
- return j({
195
+ return N({
196
196
  queryKey: ["remote"],
197
- queryFn: ({ signal: e }) => Ze({ signal: e }),
197
+ queryFn: ({ signal: e }) => Xe({ signal: e }),
198
198
  enabled: () => this.queryActivator.value.some((e) => e.name === "getRemoteInfoQuery" && e.enabled),
199
199
  staleTime: 1e3
200
200
  });
201
201
  }
202
202
  patchRemoteInfoQuery() {
203
- return E({
204
- mutationFn: Qe,
203
+ return M({
204
+ mutationFn: Ze,
205
205
  onSuccess: async () => {
206
206
  await this._queryClient.refetchQueries({
207
207
  queryKey: ["remote"],
@@ -215,19 +215,19 @@ var at = class {
215
215
  });
216
216
  }
217
217
  getRegistrationStatusQuery() {
218
- return j({
218
+ return N({
219
219
  queryKey: ["remote", "status"],
220
- queryFn: ({ signal: e }) => nt({ signal: e }),
220
+ queryFn: ({ signal: e }) => tt({ signal: e }),
221
221
  enabled: () => this.queryActivator.value.some((e) => e.name === "getRegistrationStatusQuery" && e.enabled),
222
222
  staleTime: 1e3
223
223
  });
224
224
  }
225
225
  pairInitMutation() {
226
- return E({ mutationFn: $e });
226
+ return M({ mutationFn: Qe });
227
227
  }
228
228
  pairPollMutation() {
229
- return E({
230
- mutationFn: et,
229
+ return M({
230
+ mutationFn: $e,
231
231
  onSuccess: async (e) => {
232
232
  e.state === "confirmed" && (await this._queryClient.refetchQueries({
233
233
  queryKey: ["remote"],
@@ -244,8 +244,8 @@ var at = class {
244
244
  });
245
245
  }
246
246
  unregisterServerQuery() {
247
- return E({
248
- mutationFn: tt,
247
+ return M({
248
+ mutationFn: et,
249
249
  onSuccess: async () => {
250
250
  await this._queryClient.refetchQueries({
251
251
  queryKey: ["remote"],
@@ -262,17 +262,17 @@ var at = class {
262
262
  });
263
263
  }
264
264
  getTunnelStatusQuery() {
265
- return j({
265
+ return N({
266
266
  queryKey: ["remote", "tunnel"],
267
- queryFn: ({ signal: e }) => it({ signal: e }),
267
+ queryFn: ({ signal: e }) => rt({ signal: e }),
268
268
  enabled: () => this.queryActivator.value.some((e) => e.name === "getTunnelStatusQuery" && e.enabled),
269
269
  refetchInterval: 3e4,
270
270
  staleTime: 1e4
271
271
  });
272
272
  }
273
273
  updateServerNameQuery() {
274
- return E({
275
- mutationFn: rt,
274
+ return M({
275
+ mutationFn: nt,
276
276
  onSuccess: async () => {
277
277
  await this._queryClient.refetchQueries({
278
278
  queryKey: ["remote", "status"],
@@ -286,24 +286,24 @@ var at = class {
286
286
  });
287
287
  }
288
288
  getConnectionInfoQuery() {
289
- return j({
289
+ return N({
290
290
  queryKey: ["remote", "connection-info"],
291
- queryFn: ({ signal: e }) => R({ signal: e }),
291
+ queryFn: ({ signal: e }) => z({ signal: e }),
292
292
  enabled: () => this.queryActivator.value.some((e) => e.name === "getConnectionInfoQuery" && e.enabled),
293
293
  refetchInterval: 1e4
294
294
  });
295
295
  }
296
296
  testRemoteModeMutation() {
297
- return E({ mutationFn: z });
297
+ return M({ mutationFn: B });
298
298
  }
299
299
  getCloudflareManagedStatusQuery() {
300
- return j({
300
+ return N({
301
301
  queryKey: [
302
302
  "remote",
303
303
  "cloudflare",
304
304
  "managed"
305
305
  ],
306
- queryFn: ({ signal: e }) => B({ signal: e }),
306
+ queryFn: ({ signal: e }) => V({ signal: e }),
307
307
  enabled: () => this.queryActivator.value.some((e) => e.name === "getCloudflareManagedStatusQuery" && e.enabled),
308
308
  refetchInterval: (e) => {
309
309
  let t = e.state.data?.state;
@@ -314,8 +314,8 @@ var at = class {
314
314
  });
315
315
  }
316
316
  cloudflareManagedConnectMutation() {
317
- return E({
318
- mutationFn: V,
317
+ return M({
318
+ mutationFn: H,
319
319
  onSuccess: async () => {
320
320
  await this._queryClient.refetchQueries({
321
321
  queryKey: [
@@ -329,8 +329,8 @@ var at = class {
329
329
  });
330
330
  }
331
331
  cloudflareManagedCancelMutation() {
332
- return E({
333
- mutationFn: H,
332
+ return M({
333
+ mutationFn: U,
334
334
  onSuccess: async () => {
335
335
  await this._queryClient.refetchQueries({
336
336
  queryKey: [
@@ -344,8 +344,8 @@ var at = class {
344
344
  });
345
345
  }
346
346
  cloudflareManagedDisconnectMutation() {
347
- return E({
348
- mutationFn: U,
347
+ return M({
348
+ mutationFn: W,
349
349
  onSuccess: async () => {
350
350
  await this._queryClient.refetchQueries({
351
351
  queryKey: ["remote"],
@@ -362,8 +362,8 @@ var at = class {
362
362
  });
363
363
  }
364
364
  cloudflareManagedLogoutMutation() {
365
- return E({
366
- mutationFn: W,
365
+ return M({
366
+ mutationFn: G,
367
367
  onSuccess: async () => {
368
368
  await this._queryClient.refetchQueries({
369
369
  queryKey: ["remote"],
@@ -383,7 +383,7 @@ var at = class {
383
383
  let n = this.queryActivator.value.find((t) => t.name === e);
384
384
  return n && (n.enabled = t), this;
385
385
  }
386
- }, G = { class: "flex flex-col gap-6" }, K = { class: "flex flex-col field-gap" }, q = { class: "section-chip" }, ot = { class: "text-sm font-bold text-color" }, st = { class: "flex flex-col field-gap" }, ct = { class: "section-chip" }, J = { class: "text-sm text-color" }, Y = { class: "flex flex-col field-gap" }, X = { class: "section-chip" }, lt = {
386
+ }, at = { class: "flex flex-col gap-6" }, K = { class: "flex flex-col field-gap" }, q = { class: "section-chip" }, ot = { class: "text-sm font-bold text-color" }, st = { class: "flex flex-col field-gap" }, ct = { class: "section-chip" }, J = { class: "text-sm text-color" }, Y = { class: "flex flex-col field-gap" }, X = { class: "section-chip" }, lt = {
387
387
  key: 0,
388
388
  class: "text-sm text-muted"
389
389
  }, ut = {
@@ -396,7 +396,7 @@ var at = class {
396
396
  currentAddress: {}
397
397
  },
398
398
  setup(e, { expose: r }) {
399
- let a = e, s = new Ae(), c = A(), { t: l } = Se(), { data: u } = s.apiInfoQuery(), d = ge() ? N() : void 0, h = me(), y = p(() => d?.attempts.rounds.value[0]), x = p(() => d?.target.value?.endpoint.url ?? l("components.connection_details.no_target")), S = p(() => {
399
+ let a = e, s = new je(), c = ie(), { t: l } = Ce(), { data: u } = s.apiInfoQuery(), d = A() ? he() : void 0, h = me(), y = p(() => d?.attempts.rounds.value[0]), x = p(() => d?.target.value?.endpoint.url ?? l("components.connection_details.no_target")), S = p(() => {
400
400
  let e = d?.target.value?.endpoint;
401
401
  return e ? ne(e) : l("components.connection_details.no_target");
402
402
  }), ee = p(() => y.value?.attempts.map((e) => ({
@@ -409,19 +409,19 @@ var at = class {
409
409
  function ne(e) {
410
410
  return Ie(e, h) ? l("components.connection_details.mode_lan") : l("components.connection_details.mode_wan");
411
411
  }
412
- function w(e) {
412
+ function re(e) {
413
413
  return e.outcome === "connected" && e.url === x.value;
414
414
  }
415
- function re(e) {
416
- return w(e) ? "bg-green-500" : e.outcome === "failed" ? "bg-red-500" : "bg-neutral-400";
415
+ function w(e) {
416
+ return re(e) ? "bg-green-500" : e.outcome === "failed" ? "bg-red-500" : "bg-neutral-400";
417
417
  }
418
418
  function T(e) {
419
419
  return e.durationMs === void 0 ? "…" : e.durationMs >= 1e3 ? `${(e.durationMs / 1e3).toFixed(1)} s` : `${e.durationMs} ms`;
420
420
  }
421
- function E(e) {
422
- return w(e) ? l("components.connection_details.outcome_connected") : e.outcome === "connected" ? l("components.connection_details.outcome_reachable") : e.outcome === "superseded" ? l("components.connection_details.outcome_superseded") : e.outcome === "pending" ? l("components.connection_details.outcome_pending") : e.reason?.includes("timeout") ? l("components.connection_details.outcome_timeout") : e.reason ?? l("components.connection_details.outcome_failed");
421
+ function ae(e) {
422
+ return re(e) ? l("components.connection_details.outcome_connected") : e.outcome === "connected" ? l("components.connection_details.outcome_reachable") : e.outcome === "superseded" ? l("components.connection_details.outcome_superseded") : e.outcome === "pending" ? l("components.connection_details.outcome_pending") : e.reason?.includes("timeout") ? l("components.connection_details.outcome_timeout") : e.reason ?? l("components.connection_details.outcome_failed");
423
423
  }
424
- async function D() {
424
+ async function oe() {
425
425
  let e = [
426
426
  (/* @__PURE__ */ new Date()).toISOString(),
427
427
  `camera.ui ${u.value?.version ?? "?"}`,
@@ -430,8 +430,8 @@ var at = class {
430
430
  `server sees: ${a.currentType} ${a.currentAddress}`,
431
431
  ""
432
432
  ];
433
- for (let t of ee.value) e.push(`${w(t) ? "+" : "-"} ${t.modeLabel} ${t.url} ${T(t)} ${E(t)}`);
434
- if (y.value?.reason && e.push("", y.value.reason), await M(e.join("\n"))) {
433
+ for (let t of ee.value) e.push(`${re(t) ? "+" : "-"} ${t.modeLabel} ${t.url} ${T(t)} ${ae(t)}`);
434
+ if (y.value?.reason && e.push("", y.value.reason), await j(e.join("\n"))) {
435
435
  c.add({
436
436
  severity: "success",
437
437
  detail: l("components.connection_details.copied"),
@@ -445,9 +445,9 @@ var at = class {
445
445
  life: 3e3
446
446
  }), null;
447
447
  }
448
- return r({ onConfirm: D }), (r, a) => {
448
+ return r({ onConfirm: oe }), (r, a) => {
449
449
  let s = te;
450
- return n(), g("div", G, [
450
+ return n(), g("div", at, [
451
451
  v("div", K, [
452
452
  v("span", q, i(r.$t("components.connection_details.current")), 1),
453
453
  v("span", ot, i(f(S)), 1),
@@ -477,17 +477,17 @@ var at = class {
477
477
  v("div", Y, [v("span", X, i(r.$t("components.connection_details.last_attempt")), 1), f(ee).length === 0 ? (n(), g("p", lt, i(r.$t("components.connection_details.no_attempts")), 1)) : (n(), g("div", ut, [(n(!0), g(_, null, t(f(ee), (e) => (n(), g("div", {
478
478
  key: e.url,
479
479
  class: "flex items-start gap-3"
480
- }, [v("span", { class: o(["mt-1.5 w-2 h-2 rounded-full shrink-0", re(e)]) }, null, 2), v("div", Z, [v("span", dt, [
480
+ }, [v("span", { class: o(["mt-1.5 w-2 h-2 rounded-full shrink-0", w(e)]) }, null, 2), v("div", Z, [v("span", dt, [
481
481
  b(i(e.modeLabel) + " ", 1),
482
482
  a[0] ||= v("span", { class: "text-muted" }, "·", -1),
483
483
  b(" " + i(T(e)) + " ", 1),
484
484
  a[1] ||= v("span", { class: "text-muted" }, "·", -1),
485
- b(" " + i(E(e)), 1)
485
+ b(" " + i(ae(e)), 1)
486
486
  ]), v("span", ft, i(e.url), 1)])]))), 128))]))])
487
487
  ]);
488
488
  };
489
489
  }
490
- }), mt = xe, ht = F, gt = { class: "w-full h-full" }, _t = {
490
+ }), mt = Se, ht = P, gt = { class: "w-full h-full" }, _t = {
491
491
  key: 0,
492
492
  class: "w-full h-full flex items-center justify-center"
493
493
  }, vt = {
@@ -559,20 +559,20 @@ var at = class {
559
559
  }, Un = {
560
560
  for: "localUrl",
561
561
  class: "cui-label"
562
- }, Wn = /*#__PURE__*/ D(/* @__PURE__ */ x({
562
+ }, Wn = /*#__PURE__*/ w(/* @__PURE__ */ x({
563
563
  __name: "SettingsRemote",
564
564
  setup(t) {
565
- let c = new ke(), x = new at(), w = be(), T = P(), E = A(), { t: D } = Se(), { endpoint: j, isOnline: pe } = se(), { data: me, isBusy: ge } = c.getServerInfoQuery(), { data: N, isBusy: xe } = x.getRemoteInfoQuery(), { data: F, isBusy: Ae } = x.getRegistrationStatusQuery(), { data: je, isLoading: Me } = x.getTunnelStatusQuery(), { data: I } = x.getConnectionInfoQuery(), { mutateAsync: Ne, isPending: Pe } = c.patchSystemInfoQuery(), { mutateAsync: Fe, isPending: Ie } = x.patchRemoteInfoQuery(), { mutateAsync: Le, isPending: Re } = x.pairInitMutation(), { mutateAsync: Be } = x.pairPollMutation(), { mutateAsync: Ve, isPending: Ue } = x.unregisterServerQuery(), { mutateAsync: We, isPending: Ke } = x.updateServerNameQuery(), { mutateAsync: qe, isPending: Ye } = x.testRemoteModeMutation(), { data: L } = x.getCloudflareManagedStatusQuery(), { mutateAsync: Ze, isPending: Qe } = x.cloudflareManagedConnectMutation(), { mutateAsync: $e, isPending: et } = x.cloudflareManagedCancelMutation(), { mutateAsync: tt, isPending: nt } = x.cloudflareManagedDisconnectMutation(), { mutateAsync: rt, isPending: it } = x.cloudflareManagedLogoutMutation(), R = S(), z = S(), B = S(""), V = S(""), H = S("quick"), U = S(""), W = S(""), G = S(!1), K = S(null), q = S(""), ot = S(null), st = S(2), ct = S(""), J = null, Y = null, X = p(() => Pe.value || Ie.value || ge.value || xe.value || Ae.value || Ue.value), lt = p(() => !!(z.value?.enabled || z.value?.directEnabled)), ut = p(() => N.value?.directOverride ?? {
565
+ let c = new Ae(), x = new it(), w = xe(), ce = ve(), k = ie(), { t: A } = Ce(), { endpoint: me, isOnline: he } = D(), { data: _e, isBusy: M } = c.getServerInfoQuery(), { data: N, isBusy: Se } = x.getRemoteInfoQuery(), { data: P, isBusy: je } = x.getRegistrationStatusQuery(), { data: Me, isLoading: Ne } = x.getTunnelStatusQuery(), { data: F } = x.getConnectionInfoQuery(), { mutateAsync: Pe, isPending: Fe } = c.patchSystemInfoQuery(), { mutateAsync: I, isPending: Ie } = x.patchRemoteInfoQuery(), { mutateAsync: Le, isPending: Re } = x.pairInitMutation(), { mutateAsync: Be } = x.pairPollMutation(), { mutateAsync: Ve, isPending: Ue } = x.unregisterServerQuery(), { mutateAsync: We, isPending: Ke } = x.updateServerNameQuery(), { mutateAsync: qe, isPending: L } = x.testRemoteModeMutation(), { data: R } = x.getCloudflareManagedStatusQuery(), { mutateAsync: Xe, isPending: Ze } = x.cloudflareManagedConnectMutation(), { mutateAsync: Qe, isPending: $e } = x.cloudflareManagedCancelMutation(), { mutateAsync: et, isPending: tt } = x.cloudflareManagedDisconnectMutation(), { mutateAsync: nt, isPending: rt } = x.cloudflareManagedLogoutMutation(), z = S(), B = S(), V = S(""), H = S(""), U = S("quick"), W = S(""), G = S(""), at = S(!1), K = S(null), q = S(""), ot = S(null), st = S(2), ct = S(""), J = null, Y = null, X = p(() => Fe.value || Ie.value || M.value || Se.value || je.value || Ue.value), lt = p(() => !!(B.value?.enabled || B.value?.directEnabled)), ut = p(() => N.value?.directOverride ?? {
566
566
  active: !1,
567
567
  fallback: !1
568
- }), Z = p(() => F.value?.isRegistered ?? !1), dt = p(() => F.value?.needsReauth ?? !1), ft = p(() => !X.value), Wn = p(() => {
568
+ }), Z = p(() => P.value?.isRegistered ?? !1), dt = p(() => P.value?.needsReauth ?? !1), ft = p(() => !X.value), Wn = p(() => {
569
569
  if (!ft.value) return !1;
570
- let e = B.value.trim();
571
- return !e || e.length > 100 ? !1 : e !== (F.value?.serverName ?? "");
570
+ let e = V.value.trim();
571
+ return !e || e.length > 100 ? !1 : e !== (P.value?.serverName ?? "");
572
572
  }), Gn = p(() => {
573
- if (!z.value) return !1;
574
- if (z.value.directMode === "customDomain") {
575
- let e = V.value.trim();
573
+ if (!B.value) return !1;
574
+ if (B.value.directMode === "customDomain") {
575
+ let e = H.value.trim();
576
576
  if (!e) return !1;
577
577
  try {
578
578
  new URL(e);
@@ -581,85 +581,85 @@ var at = class {
581
581
  }
582
582
  return e !== (N.value?.remoteSettings.customDomain.url ?? "");
583
583
  }
584
- if (z.value.directMode === "cloudflare") {
585
- let e = N.value?.remoteSettings.cloudflare, t = N.value?.remoteSettings.directMode !== "cloudflare", n = H.value;
584
+ if (B.value.directMode === "cloudflare") {
585
+ let e = N.value?.remoteSettings.cloudflare, t = N.value?.remoteSettings.directMode !== "cloudflare", n = U.value;
586
586
  if (n === "quick") return t || e?.mode !== "quick";
587
- let r = U.value.trim();
587
+ let r = W.value.trim();
588
588
  if (!r || !/^[a-z0-9.-]+\.[a-z]{2,}$/i.test(r)) return !1;
589
589
  if (n === "token") {
590
- let n = W.value.trim();
591
- if (!n && !G.value) return !1;
590
+ let n = G.value.trim();
591
+ if (!n && !at.value) return !1;
592
592
  let i = n.length > 0;
593
593
  return t || e?.mode !== "token" || e?.hostname !== r || i;
594
594
  }
595
595
  return n === "managed" ? t || e?.mode !== "managed" || e?.hostname !== r : !1;
596
596
  }
597
- return z.value.directMode !== N.value?.remoteSettings.directMode;
597
+ return B.value.directMode !== N.value?.remoteSettings.directMode;
598
598
  }), Kn = p(() => [{
599
599
  value: "cloudflare",
600
- label: D("components.form.label.cloudflare"),
601
- description: D("components.form.hint.cloudflare_mode_info")
600
+ label: A("components.form.label.cloudflare"),
601
+ description: A("components.form.hint.cloudflare_mode_info")
602
602
  }, {
603
603
  value: "customDomain",
604
- label: D("components.form.label.custom_domain"),
605
- description: D("components.form.hint.custom_domain_mode_info")
606
- }]), qn = p(() => Kn.value.find((e) => e.value === z.value?.directMode)?.description ?? ""), Jn = p(() => [
604
+ label: A("components.form.label.custom_domain"),
605
+ description: A("components.form.hint.custom_domain_mode_info")
606
+ }]), qn = p(() => Kn.value.find((e) => e.value === B.value?.directMode)?.description ?? ""), Jn = p(() => [
607
607
  {
608
608
  value: "quick",
609
- label: D("components.form.label.cloudflare_variant_quick"),
610
- description: D("components.form.hint.cloudflare_variant_quick")
609
+ label: A("components.form.label.cloudflare_variant_quick"),
610
+ description: A("components.form.hint.cloudflare_variant_quick")
611
611
  },
612
612
  {
613
613
  value: "token",
614
- label: D("components.form.label.cloudflare_variant_token"),
615
- description: D("components.form.hint.cloudflare_variant_token")
614
+ label: A("components.form.label.cloudflare_variant_token"),
615
+ description: A("components.form.hint.cloudflare_variant_token")
616
616
  },
617
617
  {
618
618
  value: "managed",
619
- label: D("components.form.label.cloudflare_variant_managed"),
620
- description: D("components.form.hint.cloudflare_variant_managed")
619
+ label: A("components.form.label.cloudflare_variant_managed"),
620
+ description: A("components.form.hint.cloudflare_variant_managed")
621
621
  }
622
- ]), Yn = p(() => Jn.value.find((e) => e.value === H.value)?.description ?? ""), Xn = p(() => {
623
- if (H.value === "quick") return !0;
622
+ ]), Yn = p(() => Jn.value.find((e) => e.value === U.value)?.description ?? ""), Xn = p(() => {
623
+ if (U.value === "quick") return !0;
624
624
  let e = N.value?.remoteSettings.cloudflare;
625
- return e?.mode === H.value && !!e?.hostname;
626
- }), Q = p(() => L.value?.state ?? "idle"), Zn = p(() => {
625
+ return e?.mode === U.value && !!e?.hostname;
626
+ }), Q = p(() => R.value?.state ?? "idle"), Zn = p(() => {
627
627
  if (Q.value !== "idle") return !1;
628
- let e = U.value.trim();
628
+ let e = W.value.trim();
629
629
  return !!e && /^[a-z0-9.-]+\.[a-z]{2,}$/i.test(e);
630
630
  }), Qn = p(() => {
631
- let e = I.value?.currentConnection.type ?? "lan";
632
- return D(`views.settings.connection_type.${e}`);
631
+ let e = F.value?.currentConnection.type ?? "lan";
632
+ return A(`views.settings.connection_type.${e}`);
633
633
  }), $n = p(() => {
634
- let e = I.value?.currentConnection.type;
635
- return e === "external" ? Je : e === "local" ? Ge : Xe;
634
+ let e = F.value?.currentConnection.type;
635
+ return e === "external" ? Je : e === "local" ? Ge : Ye;
636
636
  }), er = p(() => {
637
- let e = I.value?.currentConnection.type;
637
+ let e = F.value?.currentConnection.type;
638
638
  return e === "external" ? "text-info" : e === "local" ? "text-primary" : "text-success";
639
639
  });
640
640
  function tr() {
641
- T.openComponentDialog(pt, { data: {
642
- title: D("components.connection_details.title"),
643
- confirmText: D("components.connection_details.copy"),
644
- cancelText: D("components.form.button.close"),
641
+ ce.openComponentDialog(pt, { data: {
642
+ title: A("components.connection_details.title"),
643
+ confirmText: A("components.connection_details.copy"),
644
+ cancelText: A("components.form.button.close"),
645
645
  contentProps: {
646
646
  currentType: Qn,
647
- currentAddress: p(() => I.value?.currentConnection.address ?? "")
647
+ currentAddress: p(() => F.value?.currentConnection.address ?? "")
648
648
  }
649
649
  } });
650
650
  }
651
651
  async function nr() {
652
- let e = B.value.trim();
652
+ let e = V.value.trim();
653
653
  if (e) try {
654
654
  await We(e);
655
655
  } catch {}
656
656
  }
657
657
  function rr() {
658
- T.openTextDialog({
658
+ ce.openTextDialog({
659
659
  data: {
660
- title: D("components.dialog.title.unregister_server"),
661
- confirmText: D("components.form.button.unregister"),
662
- contentText: D("components.dialog.message.confirm_unregister_server"),
660
+ title: A("components.dialog.title.unregister_server"),
661
+ confirmText: A("components.form.button.unregister"),
662
+ contentText: A("components.dialog.message.confirm_unregister_server"),
663
663
  loading: X
664
664
  },
665
665
  onConfirm: async () => {
@@ -685,9 +685,9 @@ var at = class {
685
685
  if (!ot.value) return;
686
686
  let e = ot.value - Date.now();
687
687
  if (e <= 0) {
688
- $(), E.add({
688
+ $(), k.add({
689
689
  severity: "warn",
690
- detail: D("components.toast.pair_expired"),
690
+ detail: A("components.toast.pair_expired"),
691
691
  life: 3e3
692
692
  });
693
693
  return;
@@ -703,24 +703,24 @@ var at = class {
703
703
  if (!K.value) return;
704
704
  let e = K.value;
705
705
  try {
706
- let t = await Be({ name: B.value.trim() || void 0 });
706
+ let t = await Be({ name: V.value.trim() || void 0 });
707
707
  if (!K.value || K.value !== e) return;
708
708
  if (t.state === "confirmed") {
709
709
  $();
710
710
  return;
711
711
  }
712
712
  if (t.state === "expired") {
713
- $(), E.add({
713
+ $(), k.add({
714
714
  severity: "warn",
715
- detail: D("components.toast.pair_expired"),
715
+ detail: A("components.toast.pair_expired"),
716
716
  life: 3e3
717
717
  });
718
718
  return;
719
719
  }
720
720
  if (t.state === "denied") {
721
- $(), E.add({
721
+ $(), k.add({
722
722
  severity: "warn",
723
- detail: D("components.toast.pair_denied"),
723
+ detail: A("components.toast.pair_denied"),
724
724
  life: 3e3
725
725
  });
726
726
  return;
@@ -734,14 +734,14 @@ var at = class {
734
734
  async function lr() {
735
735
  $();
736
736
  try {
737
- let e = B.value.trim();
738
- if (e && e !== (F.value?.serverName ?? "")) try {
737
+ let e = V.value.trim();
738
+ if (e && e !== (P.value?.serverName ?? "")) try {
739
739
  await We(e);
740
740
  } catch {}
741
741
  let t = await Le(e || void 0);
742
742
  K.value = t.userCode, q.value = t.verificationUriComplete, ot.value = Date.now() + t.expiresIn * 1e3, st.value = Math.max(1, t.pollInterval), or(), sr();
743
743
  } catch (e) {
744
- E.add({
744
+ k.add({
745
745
  severity: "error",
746
746
  detail: e,
747
747
  life: 3e3
@@ -753,80 +753,80 @@ var at = class {
753
753
  }
754
754
  async function dr() {
755
755
  if (K.value) try {
756
- await M(K.value);
756
+ await j(K.value);
757
757
  } catch {}
758
758
  }
759
759
  async function fr() {
760
760
  if (q.value) try {
761
- await M(q.value);
761
+ await j(q.value);
762
762
  } catch {}
763
763
  }
764
764
  function pr() {
765
765
  q.value && window.open(q.value, "_blank", "noopener");
766
766
  }
767
767
  function mr(e) {
768
- let t = window.location.host === ce || !1, n;
769
- n = e ? "components.dialog.message.confirm_enable_cloud" : t ? "components.dialog.message.confirm_disable_cloud_remote" : "components.dialog.message.confirm_disable_cloud_local", T.openTextDialog({
768
+ let t = window.location.host === O || !1, n;
769
+ n = e ? "components.dialog.message.confirm_enable_cloud" : t ? "components.dialog.message.confirm_disable_cloud_remote" : "components.dialog.message.confirm_disable_cloud_local", ce.openTextDialog({
770
770
  data: {
771
- title: D("components.dialog.title.confirm"),
772
- contentText: D(n),
773
- confirmText: D(e ? "components.form.button.enable" : "components.form.button.disable"),
771
+ title: A("components.dialog.title.confirm"),
772
+ contentText: A(n),
773
+ confirmText: A(e ? "components.form.button.enable" : "components.form.button.disable"),
774
774
  loading: X,
775
775
  confirmButtonProps: e ? void 0 : { severity: "danger" }
776
776
  },
777
777
  onConfirm: async () => {
778
778
  try {
779
- await Fe(e ? { enabled: !0 } : { enabled: !1 });
779
+ await I(e ? { enabled: !0 } : { enabled: !1 });
780
780
  } catch {
781
- z.value && (z.value.enabled = !e);
781
+ B.value && (B.value.enabled = !e);
782
782
  }
783
783
  },
784
784
  onCancel: () => {
785
- z.value && (z.value.enabled = !e);
785
+ B.value && (B.value.enabled = !e);
786
786
  }
787
787
  });
788
788
  }
789
789
  function hr(e) {
790
- Fe({ directEnabled: e }).catch(() => {
791
- z.value && (z.value.directEnabled = !e);
790
+ I({ directEnabled: e }).catch(() => {
791
+ B.value && (B.value.directEnabled = !e);
792
792
  });
793
793
  }
794
794
  function gr(e) {
795
- z.value && (z.value.directMode = e);
795
+ B.value && (B.value.directMode = e);
796
796
  }
797
797
  function _r(e) {
798
- H.value = e;
798
+ U.value = e;
799
799
  }
800
800
  async function vr() {
801
- let e = U.value.trim();
801
+ let e = W.value.trim();
802
802
  if (e) try {
803
- await Fe({
803
+ await I({
804
804
  directMode: "cloudflare",
805
805
  cloudflare: {
806
806
  mode: "managed",
807
807
  hostname: e
808
808
  }
809
- }), await Ze(e);
809
+ }), await Xe(e);
810
810
  } catch {}
811
811
  }
812
812
  async function yr() {
813
813
  try {
814
- await $e();
814
+ await Qe();
815
815
  } catch {}
816
816
  }
817
817
  async function br() {
818
818
  try {
819
- await tt();
819
+ await et();
820
820
  } catch {}
821
821
  }
822
822
  async function xr() {
823
823
  try {
824
- await rt();
824
+ await nt();
825
825
  } catch {}
826
826
  }
827
827
  async function Sr(e) {
828
828
  try {
829
- await M(e);
829
+ await j(e);
830
830
  } catch {}
831
831
  }
832
832
  function Cr(e) {
@@ -835,68 +835,68 @@ var at = class {
835
835
  async function wr(e) {
836
836
  try {
837
837
  let t = await qe(e);
838
- t.ok ? E.add({
838
+ t.ok ? k.add({
839
839
  severity: "success",
840
- detail: D("components.toast.remote_test_success"),
840
+ detail: A("components.toast.remote_test_success"),
841
841
  life: 3e3
842
- }) : E.add({
842
+ }) : k.add({
843
843
  severity: "error",
844
- detail: D("components.toast.remote_test_failed", { message: t.message ?? "" }),
844
+ detail: A("components.toast.remote_test_failed", { message: t.message ?? "" }),
845
845
  life: 5e3
846
846
  });
847
847
  } catch (e) {
848
- E.add({
848
+ k.add({
849
849
  severity: "error",
850
- detail: D("components.toast.remote_test_failed", { message: e?.message ?? "" }),
850
+ detail: A("components.toast.remote_test_failed", { message: e?.message ?? "" }),
851
851
  life: 5e3
852
852
  });
853
853
  }
854
854
  }
855
855
  async function Tr(e) {
856
856
  let t = { directMode: e.directMode };
857
- if (e.directMode === "customDomain") t.customDomain = { url: V.value.trim() };
857
+ if (e.directMode === "customDomain") t.customDomain = { url: H.value.trim() };
858
858
  else if (e.directMode === "cloudflare") {
859
- let e = H.value;
859
+ let e = U.value;
860
860
  if (e === "quick") t.cloudflare = {
861
861
  mode: "quick",
862
862
  hostname: null,
863
863
  token: null
864
864
  };
865
865
  else if (e === "token") {
866
- let e = W.value.trim();
866
+ let e = G.value.trim();
867
867
  t.cloudflare = {
868
868
  mode: "token",
869
- hostname: U.value.trim(),
869
+ hostname: W.value.trim(),
870
870
  ...e ? { token: e } : {}
871
871
  };
872
872
  } else e === "managed" && (t.cloudflare = {
873
873
  mode: "managed",
874
- hostname: U.value.trim(),
874
+ hostname: W.value.trim(),
875
875
  token: null
876
876
  });
877
877
  }
878
878
  try {
879
- await Fe(t);
879
+ await I(t);
880
880
  } catch {}
881
881
  }
882
882
  async function Er(e) {
883
883
  try {
884
- await Ne(e);
884
+ await Pe(e);
885
885
  } catch {}
886
886
  }
887
- return h(() => F.value?.serverName, (e) => {
888
- e && (B.value = e);
887
+ return h(() => P.value?.serverName, (e) => {
888
+ e && (V.value = e);
889
889
  }, { immediate: !0 }), h(Z, (e) => {
890
890
  e && K.value && $();
891
- }), h([pe, j], ([e]) => {
891
+ }), h([he, me], ([e]) => {
892
892
  e && x.queryClient.refetchQueries({
893
893
  queryKey: ["remote", "connection-info"],
894
894
  exact: !0
895
895
  });
896
- }), h(me, (e) => {
896
+ }), h(_e, (e) => {
897
897
  if (e) {
898
898
  let t = le(e);
899
- R.value = {
899
+ z.value = {
900
900
  ...t,
901
901
  serverAddresses: (t.serverAddresses || []).filter(Boolean),
902
902
  localUrl: t.localUrl ?? ""
@@ -908,9 +908,9 @@ var at = class {
908
908
  }), h(N, (e) => {
909
909
  if (e) {
910
910
  let t = le(e);
911
- z.value = { ...t.remoteSettings }, V.value = t.remoteSettings.customDomain.url ?? "";
911
+ B.value = { ...t.remoteSettings }, H.value = t.remoteSettings.customDomain.url ?? "";
912
912
  let n = t.remoteSettings.cloudflare;
913
- H.value = n?.mode ?? "quick", U.value = n?.hostname ?? "", W.value = "", G.value = t.cloudflareTokenSet ?? !1;
913
+ U.value = n?.mode ?? "quick", W.value = n?.hostname ?? "", G.value = "", at.value = t.cloudflareTokenSet ?? !1;
914
914
  }
915
915
  }, {
916
916
  deep: !0,
@@ -918,12 +918,12 @@ var at = class {
918
918
  }), r(() => {
919
919
  ir();
920
920
  }), (t, r) => {
921
- let c = ve, p = te, h = De, x = Ce, S = ye, w = oe, T = we, E = He, D = de, A = ae, se = ne, ce = Oe, le = re, j = _e, pe = ze, M = Te, ge = ue, N = Ee, P = ee;
922
- return n(), g("div", gt, [!f(R) || !f(z) ? (n(), g("div", _t, [C(c, {
921
+ let c = ye, p = te, h = Oe, x = we, S = be, ie = se, w = Te, ce = He, D = fe, O = oe, le = ne, k = ke, A = re, me = de, he = ze, j = Ee, ve = ue, M = De, N = ee;
922
+ return n(), g("div", gt, [!f(z) || !f(B) ? (n(), g("div", _t, [C(c, {
923
923
  class: "w-[30px] h-[30px] m-0",
924
924
  "stroke-width": "5"
925
925
  })])) : (n(), g("div", vt, [
926
- f(I) ? (n(), g("div", yt, [v("span", bt, i(t.$t("views.settings.connection_status")), 1), C(S, { class: "cui-card" }, {
926
+ f(F) ? (n(), g("div", yt, [v("span", bt, i(t.$t("views.settings.connection_status")), 1), C(S, { class: "cui-card" }, {
927
927
  content: m(() => [v("div", xt, [
928
928
  (n(), l(s(f($n)), { class: o(["shrink-0 w-6 h-6", f(er)]) }, null, 8, ["class"])),
929
929
  v("div", St, [v("span", Ct, i(f(Qn)), 1), C(p, {
@@ -932,7 +932,7 @@ var at = class {
932
932
  size: "small",
933
933
  class: "cui-input-switch-hint truncate"
934
934
  }, {
935
- default: m(() => [b(i(f(I).currentConnection.address), 1)]),
935
+ default: m(() => [b(i(f(F).currentConnection.address), 1)]),
936
936
  _: 1
937
937
  })]),
938
938
  y((n(), l(x, {
@@ -946,7 +946,7 @@ var at = class {
946
946
  icon: m(() => [C(h, { class: "w-5 h-5" })]),
947
947
  _: 1
948
948
  }, 8, ["aria-label"])), [[
949
- P,
949
+ N,
950
950
  { value: t.$t("components.connection_details.title") },
951
951
  void 0,
952
952
  { left: !0 }
@@ -954,7 +954,7 @@ var at = class {
954
954
  ])]),
955
955
  _: 1
956
956
  })])) : u("", !0),
957
- C(f(ie), {
957
+ C(f(ae), {
958
958
  ref: "remoteFormRef",
959
959
  class: "flex flex-col w-full gap-6",
960
960
  "validation-schema": f(mt),
@@ -962,8 +962,8 @@ var at = class {
962
962
  }, {
963
963
  default: m(() => [v("div", null, [v("span", wt, i(t.$t("views.settings.cloud")), 1), C(S, { class: "cui-card" }, {
964
964
  content: m(() => [v("div", Tt, [
965
- C(f(O), {
966
- "model-value": f(z).enabled,
965
+ C(f(T), {
966
+ "model-value": f(B).enabled,
967
967
  value: !0,
968
968
  "unchecked-value": !1,
969
969
  type: "checkbox",
@@ -983,17 +983,17 @@ var at = class {
983
983
  _: 1
984
984
  }),
985
985
  C(e, { name: "fade" }, {
986
- default: m(() => [C(f(k), {
986
+ default: m(() => [C(f(E), {
987
987
  name: "enabled",
988
988
  class: "cui-input-switch-error"
989
989
  })]),
990
990
  _: 1
991
991
  })
992
- ]), C(w, a({ "model-value": f(z).enabled }, n, {
992
+ ]), C(ie, a({ "model-value": f(B).enabled }, n, {
993
993
  invalid: o.length > 0,
994
994
  loading: f(X),
995
995
  class: "ml-auto shrink-0",
996
- onValueChange: r[0] ||= (e) => f(z).enabled = e,
996
+ onValueChange: r[0] ||= (e) => f(B).enabled = e,
997
997
  "onUpdate:modelValue": r[1] ||= (e) => mr(e)
998
998
  }), null, 16, [
999
999
  "model-value",
@@ -1004,11 +1004,11 @@ var at = class {
1004
1004
  }, 8, ["model-value"]),
1005
1005
  v("div", kt, [
1006
1006
  v("label", At, i(t.$t("views.settings.server_name_label")), 1),
1007
- C(A, null, {
1008
- default: m(() => [C(T, {
1007
+ C(O, null, {
1008
+ default: m(() => [C(w, {
1009
1009
  id: "serverName",
1010
- modelValue: f(B),
1011
- "onUpdate:modelValue": r[2] ||= (e) => d(B) ? B.value = e : null,
1010
+ modelValue: f(V),
1011
+ "onUpdate:modelValue": r[2] ||= (e) => d(V) ? V.value = e : null,
1012
1012
  modelModifiers: { trim: !0 },
1013
1013
  disabled: !f(ft),
1014
1014
  loading: f(X),
@@ -1027,9 +1027,9 @@ var at = class {
1027
1027
  type: "button",
1028
1028
  onClick: nr
1029
1029
  }, {
1030
- icon: m(() => [C(E)]),
1030
+ icon: m(() => [C(ce)]),
1031
1031
  _: 1
1032
- }, 8, ["loading", "disabled"])), [[P, { value: t.$t("components.form.button.save") }]])]),
1032
+ }, 8, ["loading", "disabled"])), [[N, { value: t.$t("components.form.button.save") }]])]),
1033
1033
  _: 1
1034
1034
  })]),
1035
1035
  _: 1
@@ -1065,14 +1065,14 @@ var at = class {
1065
1065
  }, {
1066
1066
  default: m(() => [b(i(t.$t("views.settings.tunnel_status_info")), 1)]),
1067
1067
  _: 1
1068
- })]), v("div", Bt, [f(Me) ? (n(), l(c, {
1068
+ })]), v("div", Bt, [f(Ne) ? (n(), l(c, {
1069
1069
  key: 0,
1070
1070
  class: "w-[15px] h-[15px] m-0",
1071
1071
  "stroke-width": "5"
1072
- })) : (n(), l(se, {
1072
+ })) : (n(), l(le, {
1073
1073
  key: 1,
1074
- severity: f(je)?.connected ? "success" : "secondary",
1075
- value: f(je)?.connected ? t.$t("views.settings.tunnel_connected") : t.$t("views.settings.tunnel_disconnected")
1074
+ severity: f(Me)?.connected ? "success" : "secondary",
1075
+ value: f(Me)?.connected ? t.$t("views.settings.tunnel_connected") : t.$t("views.settings.tunnel_disconnected")
1076
1076
  }, null, 8, ["severity", "value"]))])])) : u("", !0),
1077
1077
  C(e, {
1078
1078
  name: "fade",
@@ -1086,22 +1086,22 @@ var at = class {
1086
1086
  }, {
1087
1087
  default: m(() => [b(i(t.$t("views.settings.pair_instructions")), 1)]),
1088
1088
  _: 1
1089
- }), v("div", Ht, [v("div", Ut, [C(ce, {
1089
+ }), v("div", Ht, [v("div", Ut, [C(k, {
1090
1090
  value: f(q),
1091
1091
  size: 180,
1092
1092
  "logo-size": 36
1093
1093
  }, null, 8, ["value"])]), v("div", Wt, [
1094
1094
  v("div", Gt, [
1095
1095
  v("label", Kt, i(t.$t("views.settings.pair_code")), 1),
1096
- C(A, null, {
1097
- default: m(() => [C(T, {
1096
+ C(O, null, {
1097
+ default: m(() => [C(w, {
1098
1098
  "model-value": f(K),
1099
1099
  readonly: "",
1100
1100
  class: "font-mono text-lg text-center tracking-widest"
1101
1101
  }, null, 8, ["model-value"]), C(D, null, {
1102
- default: m(() => [C(le, {
1102
+ default: m(() => [C(A, {
1103
1103
  "action-text": t.$t("components.form.tooltip.copied"),
1104
- icon: f(fe),
1104
+ icon: f(pe),
1105
1105
  "button-props": {
1106
1106
  severity: "secondary",
1107
1107
  text: !0
@@ -1122,17 +1122,17 @@ var at = class {
1122
1122
  _: 1
1123
1123
  })
1124
1124
  ]),
1125
- v("div", qt, [v("label", Jt, i(t.$t("views.settings.pair_url")), 1), C(A, null, {
1125
+ v("div", qt, [v("label", Jt, i(t.$t("views.settings.pair_url")), 1), C(O, null, {
1126
1126
  default: m(() => [
1127
- C(T, {
1127
+ C(w, {
1128
1128
  "model-value": f(q),
1129
1129
  readonly: "",
1130
1130
  class: "font-mono text-sm"
1131
1131
  }, null, 8, ["model-value"]),
1132
1132
  C(D, null, {
1133
- default: m(() => [C(le, {
1133
+ default: m(() => [C(A, {
1134
1134
  "action-text": t.$t("components.form.tooltip.copied"),
1135
- icon: f(fe),
1135
+ icon: f(pe),
1136
1136
  "button-props": {
1137
1137
  severity: "secondary",
1138
1138
  text: !0
@@ -1148,9 +1148,9 @@ var at = class {
1148
1148
  text: "",
1149
1149
  onClick: pr
1150
1150
  }, {
1151
- icon: m(() => [C(f(he))]),
1151
+ icon: m(() => [C(f(ge))]),
1152
1152
  _: 1
1153
- })), [[P, { value: t.$t("components.form.button.open_in_browser") }]])]),
1153
+ })), [[N, { value: t.$t("components.form.button.open_in_browser") }]])]),
1154
1154
  _: 1
1155
1155
  })
1156
1156
  ]),
@@ -1181,17 +1181,17 @@ var at = class {
1181
1181
  disabled: !f(Z),
1182
1182
  onClick: r[3] ||= (e) => t.$router.absUrl(f("https://cloud.cameraui.com"), !0)
1183
1183
  }, {
1184
- icon: m(() => [f(Z) ? (n(), l(j, {
1184
+ icon: m(() => [f(Z) ? (n(), l(me, {
1185
1185
  key: 0,
1186
1186
  width: "100%",
1187
1187
  height: "100%"
1188
- })) : (n(), l(pe, {
1188
+ })) : (n(), l(he, {
1189
1189
  key: 1,
1190
1190
  width: "100%",
1191
1191
  height: "100%"
1192
1192
  }))]),
1193
1193
  _: 1
1194
- }, 8, ["disabled"])), [[P, { value: f(Z) ? t.$t("views.settings.registered") : t.$t("views.settings.not_registered") }]])]),
1194
+ }, 8, ["disabled"])), [[N, { value: f(Z) ? t.$t("views.settings.registered") : t.$t("views.settings.not_registered") }]])]),
1195
1195
  r[22] ||= v("div", { class: "ml-auto" }, null, -1),
1196
1196
  !f(Z) && !f(K) ? (n(), l(x, {
1197
1197
  key: 0,
@@ -1226,8 +1226,8 @@ var at = class {
1226
1226
  ])]),
1227
1227
  _: 1
1228
1228
  })]), v("div", null, [v("span", $t, i(t.$t("views.settings.direct_connection")), 1), C(S, { class: "cui-card" }, {
1229
- content: m(() => [v("div", en, [C(f(O), {
1230
- "model-value": f(z).directEnabled,
1229
+ content: m(() => [v("div", en, [C(f(T), {
1230
+ "model-value": f(B).directEnabled,
1231
1231
  value: !0,
1232
1232
  "unchecked-value": !1,
1233
1233
  type: "checkbox",
@@ -1247,18 +1247,18 @@ var at = class {
1247
1247
  _: 1
1248
1248
  }),
1249
1249
  C(e, { name: "fade" }, {
1250
- default: m(() => [C(f(k), {
1250
+ default: m(() => [C(f(E), {
1251
1251
  name: "directEnabled",
1252
1252
  class: "cui-input-switch-error"
1253
1253
  })]),
1254
1254
  _: 1
1255
1255
  })
1256
- ]), C(w, a({ "model-value": f(lt) }, o, {
1256
+ ]), C(ie, a({ "model-value": f(lt) }, o, {
1257
1257
  invalid: s.length > 0,
1258
1258
  loading: f(X),
1259
- disabled: f(z).enabled,
1259
+ disabled: f(B).enabled,
1260
1260
  class: "ml-auto shrink-0",
1261
- onValueChange: r[4] ||= (e) => f(z).directEnabled = e,
1261
+ onValueChange: r[4] ||= (e) => f(B).directEnabled = e,
1262
1262
  "onUpdate:modelValue": r[5] ||= (e) => hr(e)
1263
1263
  }), null, 16, [
1264
1264
  "model-value",
@@ -1281,10 +1281,10 @@ var at = class {
1281
1281
  }, 8, ["model-value"]), f(lt) ? (n(), g(_, { key: 0 }, [
1282
1282
  v("div", an, [
1283
1283
  v("label", on, i(t.$t("views.settings.external_url")), 1),
1284
- C(T, {
1284
+ C(w, {
1285
1285
  readonly: "",
1286
1286
  type: "text",
1287
- value: f(I)?.externalUrl ?? t.$t("components.form.label.disconnected")
1287
+ value: f(F)?.externalUrl ?? t.$t("components.form.label.disconnected")
1288
1288
  }, null, 8, ["value"]),
1289
1289
  C(p, {
1290
1290
  severity: "secondary",
@@ -1296,16 +1296,16 @@ var at = class {
1296
1296
  _: 1
1297
1297
  })
1298
1298
  ]),
1299
- C(f(O), {
1300
- "model-value": f(z).directMode,
1299
+ C(f(T), {
1300
+ "model-value": f(B).directMode,
1301
1301
  name: "directMode",
1302
1302
  as: "div",
1303
1303
  class: "flex flex-col field-gap"
1304
1304
  }, {
1305
1305
  default: m(({ errors: n }) => [
1306
1306
  v("label", sn, i(t.$t("views.settings.connection_method")), 1),
1307
- C(M, {
1308
- "model-value": f(z).directMode,
1307
+ C(j, {
1308
+ "model-value": f(B).directMode,
1309
1309
  options: f(Kn),
1310
1310
  "option-label": "label",
1311
1311
  "option-value": "value",
@@ -1319,7 +1319,7 @@ var at = class {
1319
1319
  "loading"
1320
1320
  ]),
1321
1321
  C(e, { name: "fade" }, {
1322
- default: m(() => [C(f(k), {
1322
+ default: m(() => [C(f(E), {
1323
1323
  name: "directMode",
1324
1324
  class: "cui-input-error"
1325
1325
  })]),
@@ -1337,10 +1337,10 @@ var at = class {
1337
1337
  ]),
1338
1338
  _: 1
1339
1339
  }, 8, ["model-value"]),
1340
- f(z).directMode === "cloudflare" ? (n(), g("div", cn, [v("div", ln, [
1340
+ f(B).directMode === "cloudflare" ? (n(), g("div", cn, [v("div", ln, [
1341
1341
  v("label", un, i(t.$t("components.form.label.cloudflare_variant")), 1),
1342
- C(M, {
1343
- "model-value": f(H),
1342
+ C(j, {
1343
+ "model-value": f(U),
1344
1344
  options: f(Jn),
1345
1345
  "option-label": "label",
1346
1346
  "option-value": "value",
@@ -1360,20 +1360,20 @@ var at = class {
1360
1360
  default: m(() => [b(i(f(Yn)), 1)]),
1361
1361
  _: 1
1362
1362
  })
1363
- ]), f(H) === "quick" ? (n(), g("div", dn, [C(x, {
1363
+ ]), f(U) === "quick" ? (n(), g("div", dn, [C(x, {
1364
1364
  type: "button",
1365
1365
  severity: "secondary",
1366
- loading: f(Ye),
1366
+ loading: f(L),
1367
1367
  class: "cui-button-small",
1368
1368
  label: t.$t("components.form.button.test_connection"),
1369
1369
  onClick: r[8] ||= (e) => wr("cloudflare")
1370
- }, null, 8, ["loading", "label"])])) : f(H) === "token" ? (n(), g(_, { key: 1 }, [
1370
+ }, null, 8, ["loading", "label"])])) : f(U) === "token" ? (n(), g(_, { key: 1 }, [
1371
1371
  v("div", fn, [
1372
1372
  v("label", pn, i(t.$t("components.form.label.hostname")), 1),
1373
- C(T, {
1373
+ C(w, {
1374
1374
  id: "cloudflareHostname",
1375
- modelValue: f(U),
1376
- "onUpdate:modelValue": r[9] ||= (e) => d(U) ? U.value = e : null,
1375
+ modelValue: f(W),
1376
+ "onUpdate:modelValue": r[9] ||= (e) => d(W) ? W.value = e : null,
1377
1377
  modelModifiers: { trim: !0 },
1378
1378
  loading: f(X),
1379
1379
  type: "text",
@@ -1392,16 +1392,16 @@ var at = class {
1392
1392
  ]),
1393
1393
  v("div", mn, [
1394
1394
  v("label", hn, i(t.$t("components.form.label.tunnel_token")), 1),
1395
- C(ge, {
1395
+ C(ve, {
1396
1396
  id: "cloudflareToken",
1397
- modelValue: f(W),
1398
- "onUpdate:modelValue": r[10] ||= (e) => d(W) ? W.value = e : null,
1397
+ modelValue: f(G),
1398
+ "onUpdate:modelValue": r[10] ||= (e) => d(G) ? G.value = e : null,
1399
1399
  modelModifiers: { trim: !0 },
1400
1400
  loading: f(X),
1401
1401
  feedback: !1,
1402
1402
  "toggle-mask": "",
1403
1403
  fluid: "",
1404
- placeholder: f(G) ? "••••••••••••" : "eyJ..."
1404
+ placeholder: f(at) ? "••••••••••••" : "eyJ..."
1405
1405
  }, null, 8, [
1406
1406
  "modelValue",
1407
1407
  "loading",
@@ -1413,14 +1413,14 @@ var at = class {
1413
1413
  size: "small",
1414
1414
  class: "cui-input-hint"
1415
1415
  }, {
1416
- default: m(() => [b(i(f(G) ? t.$t("components.form.hint.cloudflare_token_already_set") : t.$t("components.form.hint.cloudflare_token_info")), 1)]),
1416
+ default: m(() => [b(i(f(at) ? t.$t("components.form.hint.cloudflare_token_already_set") : t.$t("components.form.hint.cloudflare_token_info")), 1)]),
1417
1417
  _: 1
1418
1418
  })
1419
1419
  ]),
1420
1420
  v("div", gn, [C(x, {
1421
1421
  type: "button",
1422
1422
  severity: "secondary",
1423
- loading: f(Ye),
1423
+ loading: f(L),
1424
1424
  disabled: !f(Xn),
1425
1425
  class: "cui-button-small",
1426
1426
  label: t.$t("components.form.button.test_connection"),
@@ -1430,7 +1430,7 @@ var at = class {
1430
1430
  "disabled",
1431
1431
  "label"
1432
1432
  ])])
1433
- ], 64)) : f(H) === "managed" ? (n(), l(e, {
1433
+ ], 64)) : f(U) === "managed" ? (n(), l(e, {
1434
1434
  key: 2,
1435
1435
  name: "fade",
1436
1436
  mode: "out-in"
@@ -1441,10 +1441,10 @@ var at = class {
1441
1441
  }, [f(Q) === "idle" ? (n(), g(_, { key: 0 }, [
1442
1442
  v("div", _n, [
1443
1443
  v("label", vn, i(t.$t("components.form.label.hostname")), 1),
1444
- C(T, {
1444
+ C(w, {
1445
1445
  id: "cloudflareHostnameManaged",
1446
- modelValue: f(U),
1447
- "onUpdate:modelValue": r[12] ||= (e) => d(U) ? U.value = e : null,
1446
+ modelValue: f(W),
1447
+ "onUpdate:modelValue": r[12] ||= (e) => d(W) ? W.value = e : null,
1448
1448
  modelModifiers: { trim: !0 },
1449
1449
  loading: f(X),
1450
1450
  type: "text",
@@ -1461,18 +1461,18 @@ var at = class {
1461
1461
  _: 1
1462
1462
  })
1463
1463
  ]),
1464
- f(L)?.lastError ? (n(), l(p, {
1464
+ f(R)?.lastError ? (n(), l(p, {
1465
1465
  key: 0,
1466
1466
  severity: "error",
1467
1467
  variant: "simple",
1468
1468
  size: "small"
1469
1469
  }, {
1470
- default: m(() => [b(i(f(L).lastError), 1)]),
1470
+ default: m(() => [b(i(f(R).lastError), 1)]),
1471
1471
  _: 1
1472
1472
  })) : u("", !0),
1473
1473
  v("div", yn, [C(x, {
1474
1474
  type: "button",
1475
- loading: f(Qe),
1475
+ loading: f(Ze),
1476
1476
  disabled: !f(Zn),
1477
1477
  class: "cui-button-medium",
1478
1478
  label: t.$t("components.form.button.connect_cloudflare"),
@@ -1482,8 +1482,8 @@ var at = class {
1482
1482
  "disabled",
1483
1483
  "label"
1484
1484
  ])])
1485
- ], 64)) : f(Q) === "awaiting_login" ? (n(), g(_, { key: 1 }, [f(L)?.loginUrl ? (n(), g("div", bn, [v("div", xn, [C(ce, {
1486
- value: f(L).loginUrl,
1485
+ ], 64)) : f(Q) === "awaiting_login" ? (n(), g(_, { key: 1 }, [f(R)?.loginUrl ? (n(), g("div", bn, [v("div", xn, [C(k, {
1486
+ value: f(R).loginUrl,
1487
1487
  size: 160,
1488
1488
  "logo-size": 32
1489
1489
  }, null, 8, ["value"])]), v("div", Sn, [
@@ -1492,25 +1492,25 @@ var at = class {
1492
1492
  size: "small",
1493
1493
  class: "text-primary"
1494
1494
  }, {
1495
- default: m(() => [b(i(t.$t("components.form.hint.cloudflare_managed_awaiting_login", { hostname: f(U) })), 1)]),
1495
+ default: m(() => [b(i(t.$t("components.form.hint.cloudflare_managed_awaiting_login", { hostname: f(W) })), 1)]),
1496
1496
  _: 1
1497
1497
  }),
1498
- v("div", Cn, [v("label", wn, i(t.$t("components.form.label.cloudflare_url")), 1), C(A, null, {
1498
+ v("div", Cn, [v("label", wn, i(t.$t("components.form.label.cloudflare_url")), 1), C(O, null, {
1499
1499
  default: m(() => [
1500
- C(T, {
1501
- "model-value": f(L).loginUrl,
1500
+ C(w, {
1501
+ "model-value": f(R).loginUrl,
1502
1502
  readonly: "",
1503
1503
  class: "font-mono text-sm"
1504
1504
  }, null, 8, ["model-value"]),
1505
1505
  C(D, null, {
1506
- default: m(() => [C(le, {
1506
+ default: m(() => [C(A, {
1507
1507
  "action-text": t.$t("components.form.tooltip.copied"),
1508
- icon: f(fe),
1508
+ icon: f(pe),
1509
1509
  "button-props": {
1510
1510
  severity: "secondary",
1511
1511
  text: !0
1512
1512
  },
1513
- onAction: r[13] ||= (e) => Sr(f(L).loginUrl)
1513
+ onAction: r[13] ||= (e) => Sr(f(R).loginUrl)
1514
1514
  }, null, 8, ["action-text", "icon"])]),
1515
1515
  _: 1
1516
1516
  }),
@@ -1519,11 +1519,11 @@ var at = class {
1519
1519
  type: "button",
1520
1520
  severity: "secondary",
1521
1521
  text: "",
1522
- onClick: r[14] ||= (e) => Cr(f(L).loginUrl)
1522
+ onClick: r[14] ||= (e) => Cr(f(R).loginUrl)
1523
1523
  }, {
1524
- icon: m(() => [C(f(he))]),
1524
+ icon: m(() => [C(f(ge))]),
1525
1525
  _: 1
1526
- })), [[P, { value: t.$t("components.form.button.open_in_browser") }]])]),
1526
+ })), [[N, { value: t.$t("components.form.button.open_in_browser") }]])]),
1527
1527
  _: 1
1528
1528
  })
1529
1529
  ]),
@@ -1538,7 +1538,7 @@ var at = class {
1538
1538
  C(x, {
1539
1539
  type: "button",
1540
1540
  severity: "secondary",
1541
- loading: f(et),
1541
+ loading: f($e),
1542
1542
  class: "cui-button-small ml-auto",
1543
1543
  label: t.$t("components.form.button.cancel"),
1544
1544
  onClick: yr
@@ -1553,7 +1553,7 @@ var at = class {
1553
1553
  C(x, {
1554
1554
  type: "button",
1555
1555
  severity: "secondary",
1556
- loading: f(et),
1556
+ loading: f($e),
1557
1557
  class: "cui-button-small ml-auto",
1558
1558
  label: t.$t("components.form.button.cancel"),
1559
1559
  onClick: yr
@@ -1563,11 +1563,11 @@ var at = class {
1563
1563
  class: "w-[20px] h-[20px] m-0",
1564
1564
  "stroke-width": "5"
1565
1565
  }),
1566
- v("span", An, i(f(Q) === "creating_tunnel" ? t.$t("components.form.hint.cloudflare_managed_creating_tunnel") : t.$t("components.form.hint.cloudflare_managed_setting_dns", { hostname: f(U) })), 1),
1566
+ v("span", An, i(f(Q) === "creating_tunnel" ? t.$t("components.form.hint.cloudflare_managed_creating_tunnel") : t.$t("components.form.hint.cloudflare_managed_setting_dns", { hostname: f(W) })), 1),
1567
1567
  C(x, {
1568
1568
  type: "button",
1569
1569
  severity: "secondary",
1570
- loading: f(et),
1570
+ loading: f($e),
1571
1571
  class: "cui-button-small ml-auto",
1572
1572
  label: t.$t("components.form.button.cancel"),
1573
1573
  onClick: yr
@@ -1575,9 +1575,9 @@ var at = class {
1575
1575
  ])) : f(Q) === "running" ? (n(), g(_, { key: 3 }, [
1576
1576
  v("div", jn, [
1577
1577
  v("label", Mn, i(t.$t("components.form.label.hostname")), 1),
1578
- C(T, {
1578
+ C(w, {
1579
1579
  readonly: "",
1580
- value: `https://${f(L)?.hostname ?? ""}`,
1580
+ value: `https://${f(R)?.hostname ?? ""}`,
1581
1581
  type: "text"
1582
1582
  }, null, 8, ["value"]),
1583
1583
  C(p, {
@@ -1590,11 +1590,11 @@ var at = class {
1590
1590
  _: 1
1591
1591
  })
1592
1592
  ]),
1593
- f(L)?.tunnelId ? (n(), g("div", Nn, [
1593
+ f(R)?.tunnelId ? (n(), g("div", Nn, [
1594
1594
  v("label", Pn, i(t.$t("components.form.label.tunnel_id")), 1),
1595
- C(T, {
1595
+ C(w, {
1596
1596
  readonly: "",
1597
- value: f(L).tunnelId,
1597
+ value: f(R).tunnelId,
1598
1598
  type: "text"
1599
1599
  }, null, 8, ["value"]),
1600
1600
  C(p, {
@@ -1611,7 +1611,7 @@ var at = class {
1611
1611
  C(x, {
1612
1612
  type: "button",
1613
1613
  severity: "secondary",
1614
- loading: f(Ye),
1614
+ loading: f(L),
1615
1615
  class: "cui-button-small",
1616
1616
  label: t.$t("components.form.button.test_connection"),
1617
1617
  onClick: r[15] ||= (e) => wr("cloudflare")
@@ -1619,7 +1619,7 @@ var at = class {
1619
1619
  C(x, {
1620
1620
  type: "button",
1621
1621
  severity: "secondary",
1622
- loading: f(nt),
1622
+ loading: f(tt),
1623
1623
  class: "cui-button-small ml-auto",
1624
1624
  label: t.$t("components.form.button.disconnect"),
1625
1625
  onClick: br
@@ -1627,7 +1627,7 @@ var at = class {
1627
1627
  C(x, {
1628
1628
  type: "button",
1629
1629
  severity: "danger",
1630
- loading: f(it),
1630
+ loading: f(rt),
1631
1631
  class: "cui-button-small",
1632
1632
  label: t.$t("components.form.button.logout"),
1633
1633
  onClick: xr
@@ -1635,9 +1635,9 @@ var at = class {
1635
1635
  ])
1636
1636
  ], 64)) : u("", !0)]))]),
1637
1637
  _: 1
1638
- })) : u("", !0)])) : f(z).directMode === "customDomain" ? (n(), g("div", In, [C(f(O), {
1639
- modelValue: f(V),
1640
- "onUpdate:modelValue": r[16] ||= (e) => d(V) ? V.value = e : null,
1638
+ })) : u("", !0)])) : f(B).directMode === "customDomain" ? (n(), g("div", In, [C(f(T), {
1639
+ modelValue: f(H),
1640
+ "onUpdate:modelValue": r[16] ||= (e) => d(H) ? H.value = e : null,
1641
1641
  modelModifiers: { trim: !0 },
1642
1642
  loading: f(X),
1643
1643
  name: "customDomain.url",
@@ -1646,14 +1646,14 @@ var at = class {
1646
1646
  }, {
1647
1647
  default: m(({ field: n, errors: r }) => [
1648
1648
  v("label", Ln, i(t.$t("components.form.label.url")), 1),
1649
- C(T, a(n, {
1649
+ C(w, a(n, {
1650
1650
  invalid: r.length > 0,
1651
1651
  loading: f(X),
1652
1652
  type: "text",
1653
1653
  placeholder: "https://my.example.com"
1654
1654
  }), null, 16, ["invalid", "loading"]),
1655
1655
  C(e, { name: "fade" }, {
1656
- default: m(() => [C(f(k), {
1656
+ default: m(() => [C(f(E), {
1657
1657
  name: "customDomain.url",
1658
1658
  class: "cui-input-error"
1659
1659
  })]),
@@ -1664,8 +1664,8 @@ var at = class {
1664
1664
  }, 8, ["modelValue", "loading"]), v("div", Rn, [C(x, {
1665
1665
  type: "button",
1666
1666
  severity: "secondary",
1667
- loading: f(Ye),
1668
- disabled: !f(V),
1667
+ loading: f(L),
1668
+ disabled: !f(H),
1669
1669
  class: "cui-button-small",
1670
1670
  label: t.$t("components.form.button.test_connection"),
1671
1671
  onClick: r[17] ||= (e) => wr("customDomain")
@@ -1690,7 +1690,7 @@ var at = class {
1690
1690
  })])]),
1691
1691
  _: 1
1692
1692
  }, 8, ["validation-schema"]),
1693
- C(f(ie), {
1693
+ C(f(ae), {
1694
1694
  ref: "serverFormRef",
1695
1695
  class: "flex flex-col w-full gap-6",
1696
1696
  "validation-schema": f(ht),
@@ -1699,18 +1699,18 @@ var at = class {
1699
1699
  default: m(() => [v("div", null, [v("span", zn, i(t.$t("views.settings.network")), 1), C(S, { class: "cui-card" }, {
1700
1700
  content: m(() => [v("div", Bn, [
1701
1701
  v("span", Vn, i(t.$t("views.settings.network_info")), 1),
1702
- C(f(O), {
1703
- "model-value": f(R).serverAddresses,
1702
+ C(f(T), {
1703
+ "model-value": f(z).serverAddresses,
1704
1704
  name: "serverAddresses",
1705
1705
  as: "div",
1706
1706
  class: "flex flex-col field-gap"
1707
1707
  }, {
1708
1708
  default: m(({ field: o, errors: s }) => [
1709
1709
  v("label", Hn, i(t.$t("components.form.label.server_addresses")), 1),
1710
- C(A, null, {
1711
- default: m(() => [C(N, a(o, {
1712
- "model-value": f(R).serverAddresses,
1713
- options: f(me)?.availableAddresses || [],
1710
+ C(O, null, {
1711
+ default: m(() => [C(M, a(o, {
1712
+ "model-value": f(z).serverAddresses,
1713
+ options: f(_e)?.availableAddresses || [],
1714
1714
  invalid: s.length > 0,
1715
1715
  loading: f(X),
1716
1716
  "max-selected-labels": 2,
@@ -1720,7 +1720,7 @@ var at = class {
1720
1720
  "option-value": "address",
1721
1721
  type: "text",
1722
1722
  display: "chip",
1723
- onValueChange: r[19] ||= (e) => f(R).serverAddresses = e
1723
+ onValueChange: r[19] ||= (e) => f(z).serverAddresses = e
1724
1724
  }), null, 16, [
1725
1725
  "model-value",
1726
1726
  "options",
@@ -1730,7 +1730,7 @@ var at = class {
1730
1730
  _: 2
1731
1731
  }, 1024),
1732
1732
  C(e, { name: "fade" }, {
1733
- default: m(() => [C(f(k), {
1733
+ default: m(() => [C(f(E), {
1734
1734
  name: "serverAddresses",
1735
1735
  class: "cui-input-error"
1736
1736
  })]),
@@ -1749,21 +1749,21 @@ var at = class {
1749
1749
  ]),
1750
1750
  _: 1
1751
1751
  }, 8, ["model-value"]),
1752
- C(f(O), {
1753
- "model-value": f(R).localUrl,
1752
+ C(f(T), {
1753
+ "model-value": f(z).localUrl,
1754
1754
  name: "localUrl",
1755
1755
  as: "div",
1756
1756
  class: "flex flex-col field-gap"
1757
1757
  }, {
1758
1758
  default: m(({ field: o, errors: s }) => [
1759
1759
  v("label", Un, i(t.$t("components.form.label.local_url")), 1),
1760
- C(A, null, {
1761
- default: m(() => [C(T, a(o, {
1762
- "model-value": f(R).localUrl,
1760
+ C(O, null, {
1761
+ default: m(() => [C(w, a(o, {
1762
+ "model-value": f(z).localUrl,
1763
1763
  invalid: s.length > 0,
1764
1764
  loading: f(X),
1765
1765
  placeholder: "https://camera.home.lan",
1766
- onValueChange: r[20] ||= (e) => f(R).localUrl = e
1766
+ onValueChange: r[20] ||= (e) => f(z).localUrl = e
1767
1767
  }), null, 16, [
1768
1768
  "model-value",
1769
1769
  "invalid",
@@ -1772,7 +1772,7 @@ var at = class {
1772
1772
  _: 2
1773
1773
  }, 1024),
1774
1774
  C(e, { name: "fade" }, {
1775
- default: m(() => [C(f(k), {
1775
+ default: m(() => [C(f(E), {
1776
1776
  name: "localUrl",
1777
1777
  class: "cui-input-error"
1778
1778
  })]),