@camera.ui/server 2.1.15 → 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 (417) hide show
  1. package/dist/interface/assets/{404-DwgMdXqW.js → 404-Cg1J2LX8.js} +1 -1
  2. package/dist/interface/assets/{About-REFUgZk_.js → About-CW7G6onF.js} +1 -1
  3. package/dist/interface/assets/Automation-CIwBJK1Y.js +3 -0
  4. package/dist/interface/assets/AutomationImport-CHkNv7C-.js +2 -0
  5. package/dist/interface/assets/AutomationStore-5bTym-Gl.js +2 -0
  6. package/dist/interface/assets/AutomationStoreDetail-BF8UoG_l.js +2 -0
  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-S61HjIGA.js → CameraConsole-CB1HEFKJ.js} +2 -2
  11. package/dist/interface/assets/{Cameras-57rPP3Y_.js → Cameras-CyCY0rW9.js} +2 -2
  12. package/dist/interface/assets/Camview-CZct5cnP.css +1 -0
  13. package/dist/interface/assets/Camview-Dia7G1u_.js +1 -0
  14. package/dist/interface/assets/{CertificateUpload-CBSLHn_I.js → CertificateUpload-jP-JIxmY.js} +1 -1
  15. package/dist/interface/assets/Config-DOa7WHyQ.js +2 -0
  16. package/dist/interface/assets/{ConfigActionCameraControl-B7KwK7vb.js → ConfigActionCameraControl-BmCE3XLC.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionDelay-DwTGfeP4.js → ConfigActionDelay-CfHCZ0uf.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionHttp-idm-FKXM.js → ConfigActionHttp-DdM7gEb0.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionImageInput-C-v-_UEM.js → ConfigActionImageInput-CrPPNT4K.js} +1 -1
  20. package/dist/interface/assets/{ConfigActionMqtt-CG1o9_6A.js → ConfigActionMqtt-D7-u4zri.js} +1 -1
  21. package/dist/interface/assets/ConfigActionNotification-BSuUI2FP.js +1 -0
  22. package/dist/interface/assets/{ConfigActionNotificationControl-BvHIqHE7.js → ConfigActionNotificationControl-DfvAxKnx.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionOutput-BQvDZGKV.js → ConfigActionOutput-DPplSpm_.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionPlugin-C7mcZ0Kz.js → ConfigActionPlugin-BnRn_p26.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionSensor-BFnb75FI.js → ConfigActionSensor-CoEoqFAY.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionSnapshot-BfzPScY6.js → ConfigActionSnapshot-wXdFiyU-.js} +1 -1
  27. package/dist/interface/assets/{ConfigActionVariable-CjIeZnOV.js → ConfigActionVariable-BqJvOOHH.js} +1 -1
  28. package/dist/interface/assets/{ConfigConditionIfElse-Dgcqs9QP.js → ConfigConditionIfElse-DG2Kgqn5.js} +1 -1
  29. package/dist/interface/assets/{ConfigConditionSensorState-DtLt1AvW.js → ConfigConditionSensorState-BytECo6r.js} +1 -1
  30. package/dist/interface/assets/{ConfigConditionSwitch-C6BfIozf.js → ConfigConditionSwitch-DaSt9uZE.js} +1 -1
  31. package/dist/interface/assets/{ConfigConditionTime-NcjSe4RM.js → ConfigConditionTime-D42OsshU.js} +1 -1
  32. package/dist/interface/assets/{ConfigSensorValueInput-DuvBl4YL.js → ConfigSensorValueInput-BtEmtZSm.js} +1 -1
  33. package/dist/interface/assets/{ConfigTriggerDetection-DsVb-Svo.js → ConfigTriggerDetection-CDH2fzsu.js} +1 -1
  34. package/dist/interface/assets/ConfigTriggerGeofence-Dopegic5.js +1 -0
  35. package/dist/interface/assets/{ConfigTriggerManual-vG37zALd.js → ConfigTriggerManual-DAtWfH0-.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerMqtt-BPl_Puje.js → ConfigTriggerMqtt-CB3_PxqD.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSchedule-Bn2drGV5.js → ConfigTriggerSchedule-BUzOrF23.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSensor-DP0CXRLo.js → ConfigTriggerSensor-D5kRIb7I.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerSystem-DQikAjbB.js → ConfigTriggerSystem-Cud77VMR.js} +1 -1
  40. package/dist/interface/assets/{ConfigTriggerWebhook-Cl7KWuRQ.js → ConfigTriggerWebhook-CeG5R3kV.js} +1 -1
  41. package/dist/interface/assets/Console-DdOD6Pd5.js +1 -0
  42. package/dist/interface/assets/{CuiAutomationRunsDialog-D_rNvqan.js → CuiAutomationRunsDialog-Cym6xMVJ.js} +1 -1
  43. package/dist/interface/assets/CuiBottomSheet-B3QSHp4-.js +1 -0
  44. package/dist/interface/assets/CuiBottomSheet-BSoMhymR.js +1 -0
  45. package/dist/interface/assets/CuiBottomSheet-_KXSb13N.css +1 -0
  46. package/dist/interface/assets/CuiCameraPipCard-DGgrxZJd.js +1 -0
  47. package/dist/interface/assets/{CuiCameraRecordings-h6Yel4J4.js → CuiCameraRecordings-Bu68AFdM.js} +1 -1
  48. package/dist/interface/assets/CuiCameraShares-BOhfTcxQ.js +1 -0
  49. package/dist/interface/assets/CuiCameraTable-C1CHYnda.js +1 -0
  50. package/dist/interface/assets/{CuiCameraTable-CfXoLbtY.js → CuiCameraTable-D0lc0VAJ.js} +2 -2
  51. package/dist/interface/assets/{CuiChartTable-BWRwoTLX.js → CuiChartTable-DcrFI8tT.js} +1 -1
  52. package/dist/interface/assets/{CuiConsole-Cb3wDLZr.js → CuiConsole-ICLBq4Q-.js} +2 -2
  53. package/dist/interface/assets/{CuiDataTable-aAZV_F3r.js → CuiDataTable-BooFPsGH.js} +1 -1
  54. package/dist/interface/assets/CuiLightControl-D1ih2hO-.js +1 -0
  55. package/dist/interface/assets/{CuiList-BZYxCLqz.js → CuiList-ChI82KjI.js} +1 -1
  56. package/dist/interface/assets/CuiPluginCard-DqdSWrwb.js +2 -0
  57. package/dist/interface/assets/{CuiPluginCategoryChip-C9trJ_ql.js → CuiPluginCategoryChip-DsRcMb72.js} +1 -1
  58. package/dist/interface/assets/CuiPluginOAuthButton-BSvRKUSY.js +2 -0
  59. package/dist/interface/assets/{CuiPluginTrustBadge-D5gkIhJv.js → CuiPluginTrustBadge-DXL7N1LC.js} +1 -1
  60. package/dist/interface/assets/{CuiQRCode-DY5Q-Xel.js → CuiQRCode-DHln6Lo9.js} +1 -1
  61. package/dist/interface/assets/CuiSchema-B7i2O3Fy.js +1 -0
  62. package/dist/interface/assets/{CuiTopNavbarItem-CJqOqVMt.css → CuiTopNavbarItem-7673AFGS.css} +1 -1
  63. package/dist/interface/assets/CuiTopNavbarItem-TMfTyt8u.js +1 -0
  64. package/dist/interface/assets/Faces-CyTkMqMW.js +1 -0
  65. package/dist/interface/assets/FirstSteps-B4gb7Sgn.js +1 -0
  66. package/dist/interface/assets/{Floorplan-Bxhdg4C2.css → Floorplan-B1lItPnM.css} +1 -1
  67. package/dist/interface/assets/Floorplan-DBwWnuys.js +1 -0
  68. package/dist/interface/assets/Instances-D9fnwItz.js +1 -0
  69. package/dist/interface/assets/{Logs-CfYTWOv2.js → Logs-Brk6fJa0.js} +2 -2
  70. package/dist/interface/assets/{Menu-HzmLhy40.js → Menu-CrdBz1Er.js} +1 -1
  71. package/dist/interface/assets/Metrics-DXMgfNIL.js +9 -0
  72. package/dist/interface/assets/{OAuthDeviceFlow-DBac627V.js → OAuthDeviceFlow-D5hSwHeO.js} +1 -1
  73. package/dist/interface/assets/Plugin-C65oNZ9N.js +1 -0
  74. package/dist/interface/assets/{PluginConsole-C5dZgdl9.js → PluginConsole-Bs3Z5u9-.js} +2 -2
  75. package/dist/interface/assets/PluginDetail-C3KUrHvq.js +2 -0
  76. package/dist/interface/assets/{PluginSchema-DJ8NY8hW.js → PluginSchema-D22zRDkZ.js} +1 -1
  77. package/dist/interface/assets/PluginSearch-4ngDmZQ2.js +1 -0
  78. package/dist/interface/assets/PluginSearch-D7XYJzl4.js +2 -0
  79. package/dist/interface/assets/{PluginUpdateProgress-DgqaTwSS.js → PluginUpdateProgress-MEdR7mID.js} +1 -1
  80. package/dist/interface/assets/Plugins-DQTlb12n.js +1 -0
  81. package/dist/interface/assets/Recordings-CfSTX_Mw.css +1 -0
  82. package/dist/interface/assets/Recordings-CqBwRvn-.js +1 -0
  83. package/dist/interface/assets/SensorEdit-BM2zHAM7.js +1 -0
  84. package/dist/interface/assets/{SensorHistory-bCcPH0_I.js → SensorHistory-Dbv2ODqn.js} +1 -1
  85. package/dist/interface/assets/Sensors-B4YzyU7R.js +2 -0
  86. package/dist/interface/assets/{Sensors-CaKl4PQY.css → Sensors-DETviyjO.css} +1 -1
  87. package/dist/interface/assets/Settings--wgPYOyK.js +1 -0
  88. package/dist/interface/assets/{Settings-jQIhZFRY.css → Settings-D7495zbV.css} +1 -1
  89. package/dist/interface/assets/SettingsAccount-BF6Cp8Rt.js +1 -0
  90. package/dist/interface/assets/SettingsAccount-D7CHP0f1.js +1 -0
  91. package/dist/interface/assets/SettingsAppearance-Ba0jbbVW.js +1 -0
  92. package/dist/interface/assets/SettingsAppearance-BpXZwBjO.js +1 -0
  93. package/dist/interface/assets/SettingsBackup-qEYm-6De.js +1 -0
  94. package/dist/interface/assets/{SettingsList-Nc7OCZrn.js → SettingsList-1brGZ2E_.js} +1 -1
  95. package/dist/interface/assets/SettingsMqtt-Ds8YpoLA.js +1 -0
  96. package/dist/interface/assets/SettingsNotifications-Diqpfbrh.js +1 -0
  97. package/dist/interface/assets/{SettingsPermissions-BZXAgxUl.js → SettingsPermissions-GmGacrLc.js} +1 -1
  98. package/dist/interface/assets/{SettingsRecordings-Biyy3rTF.js → SettingsRecordings-CtEm_7PE.js} +1 -1
  99. package/dist/interface/assets/SettingsRemote-CENHI51U.js +2 -0
  100. package/dist/interface/assets/SettingsSystem-YkigO2-V.js +2 -0
  101. package/dist/interface/assets/SettingsUsers-BNPa87gu.js +1 -0
  102. package/dist/interface/assets/{Terminal-AsI0lb5n.js → Terminal-uxOHZpUp.js} +3 -3
  103. package/dist/interface/assets/Training-BRZKDa8S.js +1 -0
  104. package/dist/interface/assets/Training-DMNjB3uX.css +1 -0
  105. package/dist/interface/assets/Updates-CbscgL60.js +2 -0
  106. package/dist/interface/assets/{VariableInput-__I-FsBF.js → VariableInput-Dqg4sqBD.js} +1 -1
  107. package/dist/interface/assets/{VariableSuggestions-B-7auf15.js → VariableSuggestions-DZCkPAVs.js} +1 -1
  108. package/dist/interface/assets/{VersionsHandler-BTe1Ev3b.js → VersionsHandler-BYFshrhO.js} +2 -2
  109. package/dist/interface/assets/{VirtualSensorCreate-DdLgJECI.js → VirtualSensorCreate-CQ-C4si3.js} +1 -1
  110. package/dist/interface/assets/Workers-DC77SjZQ.js +2 -0
  111. package/dist/interface/assets/api-Cb8_C_se.js +4 -0
  112. package/dist/interface/assets/{api-84bL4zpk.js → api-CbYNh0N1.js} +1 -1
  113. package/dist/interface/assets/api-DIyogyx5.css +2 -0
  114. package/dist/interface/assets/{auth-F2wU_mtw.js → auth-Bev1OdHw.js} +1 -1
  115. package/dist/interface/assets/{automations-D6fqhxhY.js → automations-DrpESBB_.js} +1 -1
  116. package/dist/interface/assets/cameraSources-QF2xqMxX.js +1 -0
  117. package/dist/interface/assets/cloudHandoff-BknPGUc0.js +1 -0
  118. package/dist/interface/assets/{config-Jzs6YXbB.js → config-DCK7k2P4.js} +1 -1
  119. package/dist/interface/assets/{flowSchema-C1fWwuQa.js → flowSchema-D3Ddm5sW.js} +1 -1
  120. package/dist/interface/assets/{intercomService-fFto_C1t.js → intercomService-DIwpkwG4.js} +1 -1
  121. package/dist/interface/assets/main-Cb5Z8N7b.css +1 -0
  122. package/dist/interface/assets/main-DVwdxi04.js +3 -0
  123. package/dist/interface/assets/mqtt-COWs_r7k.js +1 -0
  124. package/dist/interface/assets/{notifications-CIJEGR7A.js → notifications-sIv1-H85.js} +1 -1
  125. package/dist/interface/assets/{plugins-HYHSAzD-.js → plugins-CXQj6XQt.js} +1 -1
  126. package/dist/interface/assets/rooms-DScX89Ks.js +1 -0
  127. package/dist/interface/assets/{sensorIcons-ByPd6LR6.js → sensorIcons-CvVtOgZB.js} +1 -1
  128. package/dist/interface/assets/sensorSlots-DsfKs8_k.js +1 -0
  129. package/dist/interface/assets/{sensors-BgjfSfk6.js → sensors-Bf_gYmB5.js} +1 -1
  130. package/dist/interface/assets/{server-CIDx_I6S.js → server-CahE6_Pv.js} +1 -1
  131. package/dist/interface/assets/{theme-GSy1mQOB.js → theme-DmUc7UHl.js} +1 -1
  132. package/dist/interface/assets/{types-Do9v0d7I.js → types-D4kUDpid.js} +1 -1
  133. package/dist/interface/assets/{types-Dlk_iSoE.js → types-Dse8_nTX.js} +1 -1
  134. package/dist/interface/assets/types-hwOSxlNg.js +1 -0
  135. package/dist/interface/assets/ungrouped-Byxe4LNR.js +1 -0
  136. package/dist/interface/assets/ungrouped-n3OnGhCH.css +1 -0
  137. package/dist/interface/assets/{updates-73Yq11IN.js → updates-C4gAnNY6.js} +1 -1
  138. package/dist/interface/assets/{useAppVersion-B0_bYa9V.js → useAppVersion--b5Zj7tl.js} +1 -1
  139. package/dist/interface/assets/useBackupRestore-Bx13MgrJ.js +1 -0
  140. package/dist/interface/assets/{useCameraOptions-DKeZhfOM.js → useCameraOptions-DN4gJjIl.js} +1 -1
  141. package/dist/interface/assets/{useLogsSocket-CmyTTUGN.js → useLogsSocket-DqVa6Hky.js} +1 -1
  142. package/dist/interface/assets/{useNavLayout-DOFS3269.js → useNavLayout-CuQ9F9cj.js} +1 -1
  143. package/dist/interface/assets/{usePermissions-D5I3gACT.js → usePermissions-C1L7m3Nc.js} +1 -1
  144. package/dist/interface/assets/{usePluginUpdates-BWxJ04h7.js → usePluginUpdates-CvQPy02x.js} +1 -1
  145. package/dist/interface/assets/{usePushRegistration-DWreQ-Hn.js → usePushRegistration-BKvefMFq.js} +1 -1
  146. package/dist/interface/assets/{useServerRestart-DDW-nw_t.js → useServerRestart-ByN6484v.js} +1 -1
  147. package/dist/interface/assets/{useStreamStatus-COIha2d8.js → useStreamStatus-BbtTnidZ.js} +1 -1
  148. package/dist/interface/assets/{useTabSwipe-aoMqro29.js → useTabSwipe-D9udGzPx.js} +1 -1
  149. package/dist/interface/assets/{useUpdateChannel-CM9MYCZy.js → useUpdateChannel-8t3W9dNr.js} +1 -1
  150. package/dist/interface/assets/{useUpdatesSocket-DY4i32ml.js → useUpdatesSocket-D9s_5T3l.js} +1 -1
  151. package/dist/interface/assets/{useUserOptions-DHfprGgA.js → useUserOptions-CEPYkuSm.js} +1 -1
  152. package/dist/interface/assets/{vendor-cameraui-BRv7o4zz.js → vendor-cameraui-Dlzn4pyz.js} +26 -26
  153. package/dist/interface/assets/vendor-core-COMSlypG.js +1 -0
  154. package/dist/interface/assets/{vendor-primevue-C85v-zl5.js → vendor-primevue-DF71EsUM.js} +55 -55
  155. package/dist/interface/ha/{404-TwTUCqDv.js → 404-Bm-oxxip.js} +1 -1
  156. package/dist/interface/ha/{About-BeZkyUdW.js → About-CDcN0Q2J.js} +6 -6
  157. package/dist/interface/ha/{Automation-CL7j0Vgh.js → Automation-BQd4b0ym.js} +149 -149
  158. package/dist/interface/ha/{AutomationImport-D7arOHP-.js → AutomationImport-CX1C76Wb.js} +6 -6
  159. package/dist/interface/ha/{AutomationStore-DN0yBk6X.js → AutomationStore-D4B0KpoW.js} +27 -27
  160. package/dist/interface/ha/{AutomationStoreDetail-DUuLEnvx.js → AutomationStoreDetail-B53Giz4B.js} +24 -24
  161. package/dist/interface/ha/{Automations-Dfbren5V.js → Automations-BXlwOElS.js} +94 -94
  162. package/dist/interface/ha/{Camera-BxWpvZM8.js → Camera-CauwMneE.js} +182 -180
  163. package/dist/interface/ha/{CameraConsole-DT7BFGXD.js → CameraConsole-CmsMjuIR.js} +5 -5
  164. package/dist/interface/ha/{Cameras-ClmwBeNf.js → Cameras-CyHDmgs0.js} +117 -117
  165. package/dist/interface/ha/{Camview-CFAKNI6-.js → Camview-BwwvU5k8.js} +112 -112
  166. package/dist/interface/ha/{Config-D83QNz1P.js → Config-C_Zuyeoc.js} +9 -9
  167. package/dist/interface/ha/{ConfigActionCameraControl-D-2_gkM-.js → ConfigActionCameraControl-C1_QyuX8.js} +3 -3
  168. package/dist/interface/ha/{ConfigActionHttp-CDmzaJOb.js → ConfigActionHttp-C0d433mh.js} +2 -2
  169. package/dist/interface/ha/{ConfigActionImageInput-7mA-jNIj.js → ConfigActionImageInput-BYys2FwC.js} +1 -1
  170. package/dist/interface/ha/{ConfigActionMqtt-CGLqAswk.js → ConfigActionMqtt-DznDfzze.js} +4 -4
  171. package/dist/interface/ha/{ConfigActionNotification-DyhLsVfe.js → ConfigActionNotification-CC2qfBLm.js} +3 -3
  172. package/dist/interface/ha/{ConfigActionNotificationControl-C381uizv.js → ConfigActionNotificationControl-3jlm7_A4.js} +2 -2
  173. package/dist/interface/ha/{ConfigActionOutput-Cg6IMq5u.js → ConfigActionOutput-BEf1U3_l.js} +1 -1
  174. package/dist/interface/ha/{ConfigActionPlugin-vFD_OHt8.js → ConfigActionPlugin-C57BUrJD.js} +5 -5
  175. package/dist/interface/ha/{ConfigActionSensor-B0JYbb-_.js → ConfigActionSensor-BkoSPCUJ.js} +5 -5
  176. package/dist/interface/ha/{ConfigActionSnapshot-DlYRwdII.js → ConfigActionSnapshot-CC3EpmCq.js} +2 -2
  177. package/dist/interface/ha/{ConfigActionVariable-6HNVpSjs.js → ConfigActionVariable-JDyDhSzZ.js} +1 -1
  178. package/dist/interface/ha/{ConfigConditionIfElse-b5UhYSf4.js → ConfigConditionIfElse-BVg-TUpv.js} +3 -3
  179. package/dist/interface/ha/{ConfigConditionSensorState-CI1CS9qa.js → ConfigConditionSensorState-YYeWly1H.js} +4 -4
  180. package/dist/interface/ha/{ConfigConditionSwitch-DGoKb_ZM.js → ConfigConditionSwitch-DQHXX-4U.js} +5 -5
  181. package/dist/interface/ha/{ConfigSensorValueInput-BGQytgns.js → ConfigSensorValueInput-BuuzQ1nJ.js} +8 -8
  182. package/dist/interface/ha/{ConfigTriggerDetection-l_h4kt0X.js → ConfigTriggerDetection-CUvkAmpJ.js} +3 -3
  183. package/dist/interface/ha/{ConfigTriggerGeofence-Y2Od0L2_.js → ConfigTriggerGeofence-CCHELnfy.js} +7 -7
  184. package/dist/interface/ha/{ConfigTriggerMqtt-DttCVDHe.js → ConfigTriggerMqtt-BfLnCiWZ.js} +1 -1
  185. package/dist/interface/ha/{ConfigTriggerSensor-O4mWaXnJ.js → ConfigTriggerSensor-Bi-Jld2G.js} +1 -1
  186. package/dist/interface/ha/{ConfigTriggerSystem-C_uWI6kc.js → ConfigTriggerSystem-_HXrWjaJ.js} +2 -2
  187. package/dist/interface/ha/{ConfigTriggerWebhook-CY5vDxZe.js → ConfigTriggerWebhook-CFYsVF_r.js} +2 -2
  188. package/dist/interface/ha/{Console-DdOU0_jE.js → Console-CR95JZFd.js} +101 -101
  189. package/dist/interface/ha/{CuiAutomationRunsDialog-_WF5J4hV.js → CuiAutomationRunsDialog--mpkPFmw.js} +2 -2
  190. package/dist/interface/ha/{CuiBottomSheet-Bzr2zhm3.js → CuiBottomSheet-DfFzwDjq.js} +3 -3
  191. package/dist/interface/ha/{CuiCameraRecordings-HqWrHpr-.js → CuiCameraRecordings-DCIFFbFk.js} +13 -13
  192. package/dist/interface/ha/{CuiCameraShares-Bw1RlqC-.js → CuiCameraShares-Dwv_XtX4.js} +7 -7
  193. package/dist/interface/ha/{CuiCameraTable-DvIlmfmW.js → CuiCameraTable-L6wd-VYz.js} +9 -9
  194. package/dist/interface/ha/{CuiChartTable-C6vRR9ny.js → CuiChartTable-CxJR8u6U.js} +16 -16
  195. package/dist/interface/ha/{CuiConsole-B6fDJfvq.js → CuiConsole-CvL9TXZY.js} +7 -7
  196. package/dist/interface/ha/{CuiDataTable-BLL7vWD1.js → CuiDataTable-Bn80WJXi.js} +7 -7
  197. package/dist/interface/ha/{CuiPluginCard-CsJ-dlra.js → CuiPluginCard-CtOzPAal.js} +32 -32
  198. package/dist/interface/ha/CuiPluginOAuthButton-1LgNMLII.js +79 -0
  199. package/dist/interface/ha/{CuiPluginTrustBadge-CQtfi3UI.js → CuiPluginTrustBadge-mHuy3ab9.js} +3 -3
  200. package/dist/interface/ha/{CuiQRCode-DOj5PJo2.js → CuiQRCode-CloepWte.js} +6 -6
  201. package/dist/interface/ha/{CuiSchema-Dg43r2Vo.js → CuiSchema-CJsEWewj.js} +132 -132
  202. package/dist/interface/ha/{CuiTopNavbarItem-CMu_hCIP.js → CuiTopNavbarItem-B2EM-tmz.js} +3 -3
  203. package/dist/interface/ha/{Faces-Ed0ytbse.js → Faces-BMkZfxDm.js} +66 -66
  204. package/dist/interface/ha/{FirstSteps-Dkw2Enre.js → FirstSteps-BH0mga3u.js} +67 -67
  205. package/dist/interface/ha/{Floorplan-IdC1tgDr.js → Floorplan-CyfIUI4Z.js} +220 -220
  206. package/dist/interface/ha/{Instances-dvDlInn-.js → Instances-BwNXc91J.js} +18 -18
  207. package/dist/interface/ha/{Logs-rUL_mLTJ.js → Logs-CcSiN16r.js} +11 -11
  208. package/dist/interface/ha/{Menu-CfMgYCN9.js → Menu-qdN0OBb7.js} +15 -15
  209. package/dist/interface/ha/{Metrics-DYNvEdb-.js → Metrics-ClM5lhvC.js} +93 -93
  210. package/dist/interface/ha/{OAuthDeviceFlow-vgBWOkzP.js → OAuthDeviceFlow-BBr-rER_.js} +5 -5
  211. package/dist/interface/ha/{Plugin-PqUW_696.js → Plugin-BBkSXygO.js} +104 -104
  212. package/dist/interface/ha/{PluginConsole-CFJKNhQw.js → PluginConsole-DqrBnXSX.js} +4 -4
  213. package/dist/interface/ha/{PluginDetail-cC8nut35.js → PluginDetail-Clu6nv-B.js} +12 -12
  214. package/dist/interface/ha/{PluginSearch-BzSs0ibh.js → PluginSearch-Dn-24FLX.js} +53 -53
  215. package/dist/interface/ha/{PluginUpdateProgress-CtM7lrl9.js → PluginUpdateProgress-CzhHUKDg.js} +3 -3
  216. package/dist/interface/ha/{Plugins-CzvlXEaH.js → Plugins-qYJD5ioU.js} +27 -27
  217. package/dist/interface/ha/{Recordings-BtsW8I5D.js → Recordings-CBIt3vL7.js} +384 -366
  218. package/dist/interface/ha/{SensorEdit-DMwyTDIG.js → SensorEdit-BbG6apZA.js} +353 -353
  219. package/dist/interface/ha/{SensorHistory-DoJhFbTC.js → SensorHistory-CqGsnQPW.js} +2 -2
  220. package/dist/interface/ha/{Sensors-BoRfutfx.js → Sensors-mKWkCDF8.js} +507 -481
  221. package/dist/interface/ha/{Settings-vmfs1rfj.js → Settings-C5J4ubiA.js} +24 -24
  222. package/dist/interface/ha/SettingsAccount-tCyZsBxG.js +970 -0
  223. package/dist/interface/ha/{SettingsAppearance-v9zeetcx.js → SettingsAppearance-DqJp4Clt.js} +14 -14
  224. package/dist/interface/ha/{SettingsBackup-eO4r8MZe.js → SettingsBackup-CHnCKYgz.js} +6 -6
  225. package/dist/interface/ha/{SettingsList-burOi4S6.js → SettingsList-DsQOPeKW.js} +5 -5
  226. package/dist/interface/ha/{SettingsMqtt-CjZERKR8.js → SettingsMqtt-TPIsEcXe.js} +124 -124
  227. package/dist/interface/ha/SettingsNotifications-DH3T_xyh.js +529 -0
  228. package/dist/interface/ha/{SettingsRecordings-DzsXkzeu.js → SettingsRecordings-Ay8lj8Lm.js} +7 -7
  229. package/dist/interface/ha/{SettingsRemote-B0HZwZj3.js → SettingsRemote-CHiBADuu.js} +202 -202
  230. package/dist/interface/ha/{SettingsSystem-Bc_c8XYh.js → SettingsSystem-tqs40pUW.js} +10 -10
  231. package/dist/interface/ha/{SettingsUsers-CxL65q1C.js → SettingsUsers-BUbC_Qc7.js} +29 -29
  232. package/dist/interface/ha/{Terminal-DsX-_5R2.js → Terminal-f_b-089t.js} +76 -76
  233. package/dist/interface/ha/Training-Dcxo9PFi.js +1479 -0
  234. package/dist/interface/ha/{Updates-DG9i-tQu.js → Updates-aGl5hy8Q.js} +14 -14
  235. package/dist/interface/ha/{VariableInput-CcevSEwK.js → VariableInput-yJGbaZEo.js} +1 -1
  236. package/dist/interface/ha/{VersionsHandler-5GeFt6Lw.js → VersionsHandler-Q4PfRpbs.js} +10 -10
  237. package/dist/interface/ha/{VirtualSensorCreate-dWN8FANX.js → VirtualSensorCreate-Gbi6aJBh.js} +8 -8
  238. package/dist/interface/ha/{Workers-D1y6eFKT.js → Workers-BbBqOc0H.js} +167 -167
  239. package/dist/interface/ha/{api-DDUXI4DG.js → api-DBu4gh4_.js} +9705 -9275
  240. package/dist/interface/ha/{api-BgQ9AVgK.js → api-DY0z6Sp_.js} +3 -3
  241. package/dist/interface/ha/{auth-C8Vp1TkJ.js → auth-C2V-kpRp.js} +38 -38
  242. package/dist/interface/ha/{automationBlueprint-DhRjWL2p.js → automationBlueprint-MGUZJTFY.js} +4 -4
  243. package/dist/interface/ha/cameraui-cards.js +1 -1
  244. package/dist/interface/ha/{cards-BGikU5nh.js → cards-BA6g_9R5.js} +573 -573
  245. package/dist/interface/ha/cloud-check-BFJzoUtz.js +33 -0
  246. package/dist/interface/ha/{config-WqhFqx8D.js → config-BGlhgEOa.js} +16 -16
  247. package/dist/interface/ha/{dist-BQFunPaA.js → dist-BqTZri2H.js} +743 -725
  248. package/dist/interface/ha/{mqtt-CQopAljB.js → mqtt-BLKZNA-E.js} +12 -12
  249. package/dist/interface/ha/{notifications-C4IU7Zbu.js → notifications-BW0RNMnG.js} +22 -22
  250. package/dist/interface/ha/{pinia-3D39Do4a.js → pinia-DINxhtY-.js} +188 -162
  251. package/dist/interface/ha/{plugins-C2n0mAnr.js → plugins-Cj-B4Nwy.js} +62 -62
  252. package/dist/interface/ha/{rooms-qqdOrA2J.js → rooms-C32i51p-.js} +7 -7
  253. package/dist/interface/ha/{server-D6Yglz-z.js → server-CfbE_0Z9.js} +31 -31
  254. package/dist/interface/ha/{types-BtcJ7st-.js → types-Ry6RjBNa.js} +32 -32
  255. package/dist/interface/ha/{ungrouped-aASsOUNF.js → ungrouped-CO29-tSV.js} +415 -211
  256. package/dist/interface/ha/{updates-BuAFU-ZQ.js → updates-CZPI8XJ1.js} +38 -38
  257. package/dist/interface/ha/{useAppVersion-D0EOwpoO.js → useAppVersion-9jfqRo_z.js} +1 -1
  258. package/dist/interface/ha/{useLogsSocket-CCewWMZM.js → useLogsSocket-B0E7a3ys.js} +1 -1
  259. package/dist/interface/ha/{useNavLayout-B_QzdVtJ.js → useNavLayout-B2wfeha-.js} +19 -19
  260. package/dist/interface/ha/{useServerRestart-B0OMNlwZ.js → useServerRestart-CCH-yMWR.js} +1 -1
  261. package/dist/interface/ha/{useTabSwipe-DG6Gx2Md.js → useTabSwipe-D2uqGEvR.js} +1 -1
  262. package/dist/interface/ha/{useUpdateChannel-CXDGlWX2.js → useUpdateChannel--SP3Wjym.js} +2 -2
  263. package/dist/interface/ha/{useUpdatesSocket-BgCJLp_W.js → useUpdatesSocket-BBbUCMU-.js} +1 -1
  264. package/dist/interface/ha/{useUserOptions-rirRksyl.js → useUserOptions-Bh54UAkH.js} +1 -1
  265. package/dist/interface/index.html +28 -27
  266. package/dist/interface/sw.js +1 -1
  267. package/dist/server/package.json +8 -8
  268. package/dist/server/src/api/controllers/training.controller.d.ts +40 -0
  269. package/dist/server/src/api/controllers/training.controller.js +97 -0
  270. package/dist/server/src/api/controllers/training.controller.js.map +1 -0
  271. package/dist/server/src/api/database/constants.d.ts +1 -0
  272. package/dist/server/src/api/database/constants.js +1 -0
  273. package/dist/server/src/api/database/constants.js.map +1 -1
  274. package/dist/server/src/api/database/index.d.ts +3 -2
  275. package/dist/server/src/api/database/index.js +4 -2
  276. package/dist/server/src/api/database/index.js.map +1 -1
  277. package/dist/server/src/api/database/migrations/v2-1-19.d.ts +3 -0
  278. package/dist/server/src/api/database/migrations/v2-1-19.js +24 -0
  279. package/dist/server/src/api/database/migrations/v2-1-19.js.map +1 -0
  280. package/dist/server/src/api/database/record-schemas.d.ts +7 -1
  281. package/dist/server/src/api/database/record-schemas.js +8 -0
  282. package/dist/server/src/api/database/record-schemas.js.map +1 -1
  283. package/dist/server/src/api/database/types.d.ts +27 -0
  284. package/dist/server/src/api/index.js +1 -1
  285. package/dist/server/src/api/index.js.map +1 -1
  286. package/dist/server/src/api/render-index.js +1 -1
  287. package/dist/server/src/api/render-index.js.map +1 -1
  288. package/dist/server/src/api/routes/index.js +2 -0
  289. package/dist/server/src/api/routes/index.js.map +1 -1
  290. package/dist/server/src/api/routes/training.routes.d.ts +2 -0
  291. package/dist/server/src/api/routes/training.routes.js +107 -0
  292. package/dist/server/src/api/routes/training.routes.js.map +1 -0
  293. package/dist/server/src/api/schemas/cameras.schema.d.ts +76 -76
  294. package/dist/server/src/api/schemas/remote.schema.d.ts +1 -1
  295. package/dist/server/src/api/schemas/training.schema.d.ts +46 -0
  296. package/dist/server/src/api/schemas/training.schema.js +45 -0
  297. package/dist/server/src/api/schemas/training.schema.js.map +1 -0
  298. package/dist/server/src/api/services/cameras.service.js +7 -2
  299. package/dist/server/src/api/services/cameras.service.js.map +1 -1
  300. package/dist/server/src/api/services/sensors.service.d.ts +1 -0
  301. package/dist/server/src/api/services/sensors.service.js +1 -0
  302. package/dist/server/src/api/services/sensors.service.js.map +1 -1
  303. package/dist/server/src/api/types/index.d.ts +2 -1
  304. package/dist/server/src/api/websocket/index.js +3 -1
  305. package/dist/server/src/api/websocket/index.js.map +1 -1
  306. package/dist/server/src/api/websocket/nsp/training.d.ts +11 -0
  307. package/dist/server/src/api/websocket/nsp/training.js +29 -0
  308. package/dist/server/src/api/websocket/nsp/training.js.map +1 -0
  309. package/dist/server/src/api/websocket/types.d.ts +1 -1
  310. package/dist/server/src/camera/decoder/detection-coordinator.d.ts +1 -0
  311. package/dist/server/src/camera/decoder/detection-coordinator.js +48 -2
  312. package/dist/server/src/camera/decoder/detection-coordinator.js.map +1 -1
  313. package/dist/server/src/camera/decoder/detection-window.d.ts +5 -0
  314. package/dist/server/src/camera/decoder/detection-window.js +5 -5
  315. package/dist/server/src/camera/decoder/detection-window.js.map +1 -1
  316. package/dist/server/src/camera/decoder/event-manager.d.ts +10 -0
  317. package/dist/server/src/camera/decoder/event-manager.js +50 -1
  318. package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
  319. package/dist/server/src/camera/decoder/training-sink.d.ts +37 -0
  320. package/dist/server/src/camera/decoder/training-sink.js +146 -0
  321. package/dist/server/src/camera/decoder/training-sink.js.map +1 -0
  322. package/dist/server/src/camera/decoder/types.d.ts +4 -0
  323. package/dist/server/src/camera/decoder/types.js +8 -0
  324. package/dist/server/src/camera/decoder/types.js.map +1 -1
  325. package/dist/server/src/manager/coreManager.d.ts +3 -1
  326. package/dist/server/src/manager/coreManager.js +18 -0
  327. package/dist/server/src/manager/coreManager.js.map +1 -1
  328. package/dist/server/src/manager/trainingCandidateManager.d.ts +41 -0
  329. package/dist/server/src/manager/trainingCandidateManager.js +249 -0
  330. package/dist/server/src/manager/trainingCandidateManager.js.map +1 -0
  331. package/dist/server/src/manager/types.d.ts +23 -0
  332. package/dist/server/src/manager/types.js.map +1 -1
  333. package/dist/server/src/remote/api/index.d.ts +2 -0
  334. package/dist/server/src/remote/api/index.js +3 -0
  335. package/dist/server/src/remote/api/index.js.map +1 -1
  336. package/dist/server/src/remote/api/routes/oauth.js +1 -1
  337. package/dist/server/src/remote/api/routes/oauth.js.map +1 -1
  338. package/dist/server/src/remote/api/routes/train.d.ts +24 -0
  339. package/dist/server/src/remote/api/routes/train.js +51 -0
  340. package/dist/server/src/remote/api/routes/train.js.map +1 -0
  341. package/dist/server/src/rpc/index.d.ts +2 -0
  342. package/dist/server/src/rpc/index.js +5 -0
  343. package/dist/server/src/rpc/index.js.map +1 -1
  344. package/dist/server/src/rpc/interfaces/core.d.ts +21 -0
  345. package/dist/server/src/rpc/server.js +2 -0
  346. package/dist/server/src/rpc/server.js.map +1 -1
  347. package/dist/server/src/sensors/registry.d.ts +1 -0
  348. package/dist/server/src/sensors/registry.js +10 -0
  349. package/dist/server/src/sensors/registry.js.map +1 -1
  350. package/package.json +8 -8
  351. package/dist/interface/assets/Automation-DThD-djr.js +0 -3
  352. package/dist/interface/assets/AutomationImport-CHKkZqA4.js +0 -2
  353. package/dist/interface/assets/AutomationStore-Aon4kqZU.js +0 -2
  354. package/dist/interface/assets/AutomationStoreDetail-CfZ45tLW.js +0 -2
  355. package/dist/interface/assets/Automations-BkRuMd-d.js +0 -2
  356. package/dist/interface/assets/Camera-BWdUUW_H.css +0 -1
  357. package/dist/interface/assets/Camera-G6xTnRAk.js +0 -2
  358. package/dist/interface/assets/Camview-BZS4_jv1.css +0 -1
  359. package/dist/interface/assets/Camview-BjCuw7nI.js +0 -1
  360. package/dist/interface/assets/Config-BTXb1LHN.js +0 -2
  361. package/dist/interface/assets/ConfigActionNotification-DtoP3c7I.js +0 -1
  362. package/dist/interface/assets/ConfigTriggerGeofence-DLuNWaN6.js +0 -1
  363. package/dist/interface/assets/Console-hUeddOJc.js +0 -1
  364. package/dist/interface/assets/CuiBottomSheet-BGVpKjqe.js +0 -1
  365. package/dist/interface/assets/CuiBottomSheet-DOW6gNj0.js +0 -1
  366. package/dist/interface/assets/CuiBottomSheet-DsjZEdig.css +0 -1
  367. package/dist/interface/assets/CuiCameraPipCard-BBMkU-eN.js +0 -1
  368. package/dist/interface/assets/CuiCameraShares-C9Th3jEn.js +0 -1
  369. package/dist/interface/assets/CuiCameraTable-Cti7FZma.js +0 -1
  370. package/dist/interface/assets/CuiLightControl-BhBIiPv-.js +0 -1
  371. package/dist/interface/assets/CuiPluginCard-yYGvVtDJ.js +0 -2
  372. package/dist/interface/assets/CuiPluginOAuthButton-C8VRPoMj.js +0 -2
  373. package/dist/interface/assets/CuiSchema-Dy2eRCu2.js +0 -1
  374. package/dist/interface/assets/CuiTopNavbarItem-Btig8IUi.js +0 -1
  375. package/dist/interface/assets/Faces-D5PMl5Bx.js +0 -1
  376. package/dist/interface/assets/FirstSteps-BcjeaLz_.js +0 -1
  377. package/dist/interface/assets/Floorplan-DHl3zibU.js +0 -1
  378. package/dist/interface/assets/Instances-DXksjsQR.js +0 -1
  379. package/dist/interface/assets/Metrics-BWTImHsV.js +0 -9
  380. package/dist/interface/assets/Plugin-D5WuhMPO.js +0 -1
  381. package/dist/interface/assets/PluginDetail-3qrahg0_.js +0 -2
  382. package/dist/interface/assets/PluginSearch-D8zmSpkN.js +0 -2
  383. package/dist/interface/assets/PluginSearch-D_ba5x-O.js +0 -1
  384. package/dist/interface/assets/Plugins-5MzJrkSA.js +0 -1
  385. package/dist/interface/assets/Recordings-BuGuUwYE.js +0 -1
  386. package/dist/interface/assets/Recordings-D4NzYCO9.css +0 -1
  387. package/dist/interface/assets/SensorEdit-DF4sw0EW.js +0 -1
  388. package/dist/interface/assets/Sensors-D6GwAXQ2.js +0 -2
  389. package/dist/interface/assets/Settings-BZf-ziEZ.js +0 -1
  390. package/dist/interface/assets/SettingsAccount--5p79E6E.js +0 -1
  391. package/dist/interface/assets/SettingsAccount-Dlc0Wddo.js +0 -1
  392. package/dist/interface/assets/SettingsAppearance-B59zzxu4.js +0 -1
  393. package/dist/interface/assets/SettingsAppearance-xPKxmDpp.js +0 -1
  394. package/dist/interface/assets/SettingsBackup-CJJ5VBzp.js +0 -1
  395. package/dist/interface/assets/SettingsMqtt-DUUAcYuG.js +0 -1
  396. package/dist/interface/assets/SettingsNotifications-BH63oRsc.js +0 -1
  397. package/dist/interface/assets/SettingsRemote-Dbaxaq5H.js +0 -2
  398. package/dist/interface/assets/SettingsSystem-DzHIleOc.js +0 -2
  399. package/dist/interface/assets/SettingsUsers-D5YuEr7c.js +0 -1
  400. package/dist/interface/assets/Updates-DnAut-3U.js +0 -2
  401. package/dist/interface/assets/Workers-6aoL2zvF.js +0 -2
  402. package/dist/interface/assets/api-BI5TkcMD.js +0 -4
  403. package/dist/interface/assets/api-BTWXbCPQ.css +0 -2
  404. package/dist/interface/assets/cameraSources-C3PFkewy.js +0 -1
  405. package/dist/interface/assets/cloudHandoff-B1HA65AZ.js +0 -1
  406. package/dist/interface/assets/main-C6AqiNZK.js +0 -3
  407. package/dist/interface/assets/main-Qqk3RyYP.css +0 -1
  408. package/dist/interface/assets/mqtt-DGNlVikj.js +0 -1
  409. package/dist/interface/assets/rooms-DL_uUrGc.js +0 -1
  410. package/dist/interface/assets/types-QIK1kdY6.js +0 -1
  411. package/dist/interface/assets/ungrouped-CupkuPIQ.js +0 -1
  412. package/dist/interface/assets/ungrouped-DTYy_Pud.css +0 -1
  413. package/dist/interface/assets/useBackupRestore-jdHT_hab.js +0 -1
  414. package/dist/interface/assets/vendor-core-BUse5adB.js +0 -1
  415. package/dist/interface/ha/CuiPluginOAuthButton-ChNW42ux.js +0 -105
  416. package/dist/interface/ha/SettingsAccount-xJy6kGf6.js +0 -970
  417. package/dist/interface/ha/SettingsNotifications-QCKfSffa.js +0 -529
@@ -3,110 +3,110 @@ 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 { Dt as re, Et as ie, F as ae, Li as w, N as T, Ot as oe, P as E, Pi as D, Tt as se, Wi as ce, Yi as O, Zi as k, Zr as le, _i as A, a as ue, gi as j, kn as de, lt as fe, mi as M, n as pe, ot as me, qi as N, r as P, ra as he, tt as ge, vr as F, yr as _e } from "./api-DDUXI4DG.js";
7
- import { i as ve, o as ye } from "./intercomService-jB2mTgsn.js";
8
- import { R as be, k as I } from "./pinia-3D39Do4a.js";
9
- import { n as xe } from "./vue-i18n-Dcb07o5U.js";
10
- import { t as Se } from "./button-BlYuI0Q7.js";
11
- import { t as Ce } from "./inputtext-DGIESrd0.js";
12
- import { t as we } from "./select-DjWkRqsI.js";
13
- import { t as Te } from "./multiselect-BbgV_fPx.js";
14
- import { t as Ee } from "./information-outline-DIdNxPCN.js";
15
- import { t as De } from "./CuiQRCode-DOj5PJo2.js";
16
- import { t as Oe } from "./server-D6Yglz-z.js";
17
- import { t as ke } from "./api-BgQ9AVgK.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 Ae = /^(10\.|127\.|192\.168\.|169\.254\.|172\.(1[6-9]|2\d|3[01])\.)/, je = /^f[cd][0-9a-f]{2}:/, L = [
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 Me(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 Ne(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" || je.test(t) || t.startsWith("fe80:") : Ae.test(t) || !t.includes(".") ? !0 : L.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 Pe(e) {
38
- let t = e ? Me(e) : void 0;
39
- return t ? Ne(t) : !1;
37
+ function I(e) {
38
+ let t = e ? Pe(e) : void 0;
39
+ return t ? Fe(t) : !1;
40
40
  }
41
- function Fe(e, t) {
42
- return e ? t === "direct" ? Pe(e.url) : e.mode === "direct-lan" : !1;
41
+ function Ie(e, t) {
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
46
- var Ie = {
46
+ var Le = {
47
47
  viewBox: "0 0 24 24",
48
48
  width: "1.2em",
49
49
  height: "1.2em"
50
50
  };
51
- function Le(e, t) {
52
- return n(), g("svg", Ie, [...t[0] ||= [v("path", {
51
+ function Re(e, t) {
52
+ return n(), g("svg", Le, [...t[0] ||= [v("path", {
53
53
  fill: "currentColor",
54
54
  d: "M20.454 21.87L17.612 19H6.5q-1.896 0-3.198-1.302T2 14.5q0-1.829 1.226-3.098t2.87-1.368q.018-.373.208-.925q.19-.553.438-.951l-3.88-3.881l.707-.708l17.593 17.593zm.454-3.812L8.78 5.937q.875-.523 1.612-.73T12 5q2.502 0 4.251 1.749T18 11v1h.616q1.436.046 2.41 1.055T22 15.5q0 .687-.25 1.332t-.842 1.226"
55
55
  }, null, -1)]]);
56
56
  }
57
- var Re = c({
57
+ var ze = c({
58
58
  name: "material-symbols-light-cloud-off",
59
- render: Le
60
- }), ze = {
59
+ render: Re
60
+ }), Be = {
61
61
  viewBox: "0 0 24 24",
62
62
  width: "1.2em",
63
63
  height: "1.2em"
64
64
  };
65
- function Be(e, t) {
66
- return n(), g("svg", ze, [...t[0] ||= [v("path", {
65
+ function Ve(e, t) {
66
+ return n(), g("svg", Be, [...t[0] ||= [v("path", {
67
67
  fill: "currentColor",
68
68
  d: "m9.55 18l-5.7-5.7l1.425-1.425L9.55 15.15l9.175-9.175L20.15 7.4z"
69
69
  }, null, -1)]]);
70
70
  }
71
- var Ve = c({
71
+ var He = c({
72
72
  name: "material-symbols-check",
73
- render: Be
74
- }), He = {
73
+ render: Ve
74
+ }), Ue = {
75
75
  viewBox: "0 0 24 24",
76
76
  width: "1.2em",
77
77
  height: "1.2em"
78
78
  };
79
- function Ue(e, t) {
80
- return n(), g("svg", He, [...t[0] ||= [v("path", {
79
+ function We(e, t) {
80
+ return n(), g("svg", Ue, [...t[0] ||= [v("path", {
81
81
  fill: "currentColor",
82
82
  d: "M20.5 16H15v-1h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v9c0 1.1.9 2 2 2h4v1H3.5c-.83 0-1.5.67-1.5 1.5v3c0 .83.67 1.5 1.5 1.5h17c.83 0 1.5-.67 1.5-1.5v-3c0-.83-.67-1.5-1.5-1.5M5 4h14v9H5zm10 16H5v-2h10zm3 0c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1",
83
83
  class: "b"
84
84
  }, null, -1)]]);
85
85
  }
86
- var We = c({
86
+ var Ge = c({
87
87
  name: "boxicons-computer-filled",
88
- render: Ue
89
- }), Ge = {
88
+ render: We
89
+ }), Ke = {
90
90
  viewBox: "0 0 24 24",
91
91
  width: "1.2em",
92
92
  height: "1.2em"
93
93
  };
94
- function Ke(e, t) {
95
- return n(), g("svg", Ge, [...t[0] ||= [v("path", {
94
+ function qe(e, t) {
95
+ return n(), g("svg", Ke, [...t[0] ||= [v("path", {
96
96
  fill: "currentColor",
97
97
  d: "M17.9 17.39c-.26-.8-1.01-1.39-1.9-1.39h-1v-3a1 1 0 0 0-1-1H8v-2h2a1 1 0 0 0 1-1V7h2a2 2 0 0 0 2-2v-.41a7.984 7.984 0 0 1 2.9 12.8M11 19.93c-3.95-.49-7-3.85-7-7.93c0-.62.08-1.22.21-1.79L9 15v1a2 2 0 0 0 2 2m1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2"
98
98
  }, null, -1)]]);
99
99
  }
100
- var qe = c({
100
+ var Je = c({
101
101
  name: "mdi-earth",
102
- render: Ke
103
- }), Je = {
102
+ render: qe
103
+ }), L = {
104
104
  viewBox: "0 0 24 24",
105
105
  width: "1.2em",
106
106
  height: "1.2em"
107
107
  };
108
108
  function R(e, t) {
109
- return n(), g("svg", Je, [...t[0] ||= [v("path", {
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)]]);
@@ -118,54 +118,54 @@ var Ye = c({
118
118
  //#endregion
119
119
  //#region src/api/routes/remote.ts
120
120
  async function Xe({ signal: e }) {
121
- return (await N.get("/remote", { signal: e })).data;
121
+ return (await k.get("/remote", { signal: e })).data;
122
122
  }
123
123
  async function Ze(e) {
124
- return (await N.patch("/remote", e)).data;
124
+ return (await k.patch("/remote", e)).data;
125
125
  }
126
126
  async function Qe(e) {
127
- return (await N.post("/remote/pair/init", e ? { name: e } : {})).data;
127
+ return (await k.post("/remote/pair/init", e ? { name: e } : {})).data;
128
128
  }
129
129
  async function $e({ name: e } = {}) {
130
- return (await N.post("/remote/pair/poll", e ? { name: e } : {})).data;
130
+ return (await k.post("/remote/pair/poll", e ? { name: e } : {})).data;
131
131
  }
132
132
  async function et() {
133
- await N.delete("/remote/unregister");
133
+ await k.delete("/remote/unregister");
134
134
  }
135
135
  async function tt({ signal: e }) {
136
- return (await N.get("/remote/status", { signal: e })).data;
136
+ return (await k.get("/remote/status", { signal: e })).data;
137
137
  }
138
138
  async function nt(e) {
139
- await N.patch("/remote/name", { name: e });
139
+ await k.patch("/remote/name", { name: e });
140
140
  }
141
141
  async function rt({ signal: e }) {
142
- return (await N.get("/remote/tunnel", { signal: e })).data;
142
+ return (await k.get("/remote/tunnel", { signal: e })).data;
143
143
  }
144
144
  async function z({ signal: e } = {}) {
145
- return (await N.get("/remote/connection-info", { signal: e })).data;
145
+ return (await k.get("/remote/connection-info", { signal: e })).data;
146
146
  }
147
147
  async function B(e) {
148
- return (await N.post(`/remote/test/${e}`)).data;
148
+ return (await k.post(`/remote/test/${e}`)).data;
149
149
  }
150
150
  async function V({ signal: e } = {}) {
151
- return (await N.get("/remote/cloudflare/managed/status", { signal: e })).data;
151
+ return (await k.get("/remote/cloudflare/managed/status", { signal: e })).data;
152
152
  }
153
153
  async function H(e) {
154
- await N.post("/remote/cloudflare/managed/connect", { hostname: e });
154
+ await k.post("/remote/cloudflare/managed/connect", { hostname: e });
155
155
  }
156
156
  async function U() {
157
- await N.post("/remote/cloudflare/managed/cancel");
157
+ await k.post("/remote/cloudflare/managed/cancel");
158
158
  }
159
159
  async function W() {
160
- await N.post("/remote/cloudflare/managed/disconnect");
160
+ await k.post("/remote/cloudflare/managed/disconnect");
161
161
  }
162
162
  async function G() {
163
- await N.post("/remote/cloudflare/managed/logout");
163
+ await k.post("/remote/cloudflare/managed/logout");
164
164
  }
165
165
  var it = class {
166
- _queryClient = D();
167
- t = he.global.t;
168
- toast = j();
166
+ _queryClient = ce();
167
+ t = _e.global.t;
168
+ toast = ie();
169
169
  queryActivator = S([
170
170
  {
171
171
  name: "getRemoteInfoQuery",
@@ -192,7 +192,7 @@ var it = class {
192
192
  return this._queryClient;
193
193
  }
194
194
  getRemoteInfoQuery() {
195
- return M({
195
+ return N({
196
196
  queryKey: ["remote"],
197
197
  queryFn: ({ signal: e }) => Xe({ signal: e }),
198
198
  enabled: () => this.queryActivator.value.some((e) => e.name === "getRemoteInfoQuery" && e.enabled),
@@ -200,7 +200,7 @@ var it = class {
200
200
  });
201
201
  }
202
202
  patchRemoteInfoQuery() {
203
- return A({
203
+ return M({
204
204
  mutationFn: Ze,
205
205
  onSuccess: async () => {
206
206
  await this._queryClient.refetchQueries({
@@ -215,7 +215,7 @@ var it = class {
215
215
  });
216
216
  }
217
217
  getRegistrationStatusQuery() {
218
- return M({
218
+ return N({
219
219
  queryKey: ["remote", "status"],
220
220
  queryFn: ({ signal: e }) => tt({ signal: e }),
221
221
  enabled: () => this.queryActivator.value.some((e) => e.name === "getRegistrationStatusQuery" && e.enabled),
@@ -223,10 +223,10 @@ var it = class {
223
223
  });
224
224
  }
225
225
  pairInitMutation() {
226
- return A({ mutationFn: Qe });
226
+ return M({ mutationFn: Qe });
227
227
  }
228
228
  pairPollMutation() {
229
- return A({
229
+ return M({
230
230
  mutationFn: $e,
231
231
  onSuccess: async (e) => {
232
232
  e.state === "confirmed" && (await this._queryClient.refetchQueries({
@@ -244,7 +244,7 @@ var it = class {
244
244
  });
245
245
  }
246
246
  unregisterServerQuery() {
247
- return A({
247
+ return M({
248
248
  mutationFn: et,
249
249
  onSuccess: async () => {
250
250
  await this._queryClient.refetchQueries({
@@ -262,7 +262,7 @@ var it = class {
262
262
  });
263
263
  }
264
264
  getTunnelStatusQuery() {
265
- return M({
265
+ return N({
266
266
  queryKey: ["remote", "tunnel"],
267
267
  queryFn: ({ signal: e }) => rt({ signal: e }),
268
268
  enabled: () => this.queryActivator.value.some((e) => e.name === "getTunnelStatusQuery" && e.enabled),
@@ -271,7 +271,7 @@ var it = class {
271
271
  });
272
272
  }
273
273
  updateServerNameQuery() {
274
- return A({
274
+ return M({
275
275
  mutationFn: nt,
276
276
  onSuccess: async () => {
277
277
  await this._queryClient.refetchQueries({
@@ -286,7 +286,7 @@ var it = class {
286
286
  });
287
287
  }
288
288
  getConnectionInfoQuery() {
289
- return M({
289
+ return N({
290
290
  queryKey: ["remote", "connection-info"],
291
291
  queryFn: ({ signal: e }) => z({ signal: e }),
292
292
  enabled: () => this.queryActivator.value.some((e) => e.name === "getConnectionInfoQuery" && e.enabled),
@@ -294,10 +294,10 @@ var it = class {
294
294
  });
295
295
  }
296
296
  testRemoteModeMutation() {
297
- return A({ mutationFn: B });
297
+ return M({ mutationFn: B });
298
298
  }
299
299
  getCloudflareManagedStatusQuery() {
300
- return M({
300
+ return N({
301
301
  queryKey: [
302
302
  "remote",
303
303
  "cloudflare",
@@ -314,7 +314,7 @@ var it = class {
314
314
  });
315
315
  }
316
316
  cloudflareManagedConnectMutation() {
317
- return A({
317
+ return M({
318
318
  mutationFn: H,
319
319
  onSuccess: async () => {
320
320
  await this._queryClient.refetchQueries({
@@ -329,7 +329,7 @@ var it = class {
329
329
  });
330
330
  }
331
331
  cloudflareManagedCancelMutation() {
332
- return A({
332
+ return M({
333
333
  mutationFn: U,
334
334
  onSuccess: async () => {
335
335
  await this._queryClient.refetchQueries({
@@ -344,7 +344,7 @@ var it = class {
344
344
  });
345
345
  }
346
346
  cloudflareManagedDisconnectMutation() {
347
- return A({
347
+ return M({
348
348
  mutationFn: W,
349
349
  onSuccess: async () => {
350
350
  await this._queryClient.refetchQueries({
@@ -362,7 +362,7 @@ var it = class {
362
362
  });
363
363
  }
364
364
  cloudflareManagedLogoutMutation() {
365
- return A({
365
+ return M({
366
366
  mutationFn: G,
367
367
  onSuccess: async () => {
368
368
  await this._queryClient.refetchQueries({
@@ -396,7 +396,7 @@ var it = class {
396
396
  currentAddress: {}
397
397
  },
398
398
  setup(e, { expose: r }) {
399
- let a = e, s = new ke(), c = j(), { t: l } = xe(), { data: u } = s.apiInfoQuery(), d = k() ? O() : void 0, h = pe(), 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) => ({
@@ -407,21 +407,21 @@ var it = class {
407
407
  })
408
408
  })) ?? []);
409
409
  function ne(e) {
410
- return Fe(e, h) ? l("components.connection_details.mode_lan") : l("components.connection_details.mode_wan");
410
+ return Ie(e, h) ? l("components.connection_details.mode_lan") : l("components.connection_details.mode_wan");
411
411
  }
412
412
  function re(e) {
413
413
  return e.outcome === "connected" && e.url === x.value;
414
414
  }
415
- function ie(e) {
415
+ function w(e) {
416
416
  return re(e) ? "bg-green-500" : e.outcome === "failed" ? "bg-red-500" : "bg-neutral-400";
417
417
  }
418
- function ae(e) {
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 w(e) {
421
+ function ae(e) {
422
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 T() {
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 it = class {
430
430
  `server sees: ${a.currentType} ${a.currentAddress}`,
431
431
  ""
432
432
  ];
433
- for (let t of ee.value) e.push(`${re(t) ? "+" : "-"} ${t.modeLabel} ${t.url} ${ae(t)} ${w(t)}`);
434
- if (y.value?.reason && e.push("", y.value.reason), await P(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,7 +445,7 @@ var it = class {
445
445
  life: 3e3
446
446
  }), null;
447
447
  }
448
- return r({ onConfirm: T }), (r, a) => {
448
+ return r({ onConfirm: oe }), (r, a) => {
449
449
  let s = te;
450
450
  return n(), g("div", at, [
451
451
  v("div", K, [
@@ -477,17 +477,17 @@ var it = 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", ie(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
- b(" " + i(ae(e)) + " ", 1),
483
+ b(" " + i(T(e)) + " ", 1),
484
484
  a[1] ||= v("span", { class: "text-muted" }, "·", -1),
485
- b(" " + i(w(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 = be, ht = I, 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,16 +559,16 @@ var it = class {
559
559
  }, Un = {
560
560
  for: "localUrl",
561
561
  class: "cui-label"
562
- }, Wn = /*#__PURE__*/ F(/* @__PURE__ */ x({
562
+ }, Wn = /*#__PURE__*/ w(/* @__PURE__ */ x({
563
563
  __name: "SettingsRemote",
564
564
  setup(t) {
565
- let c = new Oe(), x = new it(), D = ye(), O = me(), k = j(), { t: A } = xe(), { endpoint: M, isOnline: pe } = w(), { data: N, isBusy: he } = c.getServerInfoQuery(), { data: F, isBusy: be } = x.getRemoteInfoQuery(), { data: I, isBusy: ke } = x.getRegistrationStatusQuery(), { data: Ae, isLoading: je } = x.getTunnelStatusQuery(), { data: L } = x.getConnectionInfoQuery(), { mutateAsync: Me, isPending: Ne } = c.patchSystemInfoQuery(), { mutateAsync: Pe, isPending: Fe } = x.patchRemoteInfoQuery(), { mutateAsync: Ie, isPending: Le } = x.pairInitMutation(), { mutateAsync: ze } = x.pairPollMutation(), { mutateAsync: Be, isPending: He } = x.unregisterServerQuery(), { mutateAsync: Ue, isPending: Ge } = x.updateServerNameQuery(), { mutateAsync: Ke, isPending: Je } = 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(() => Ne.value || Fe.value || he.value || be.value || ke.value || He.value), lt = p(() => !!(B.value?.enabled || B.value?.directEnabled)), ut = p(() => F.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(() => I.value?.isRegistered ?? !1), dt = p(() => I.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
570
  let e = V.value.trim();
571
- return !e || e.length > 100 ? !1 : e !== (I.value?.serverName ?? "");
571
+ return !e || e.length > 100 ? !1 : e !== (P.value?.serverName ?? "");
572
572
  }), Gn = p(() => {
573
573
  if (!B.value) return !1;
574
574
  if (B.value.directMode === "customDomain") {
@@ -579,10 +579,10 @@ var it = class {
579
579
  } catch {
580
580
  return !1;
581
581
  }
582
- return e !== (F.value?.remoteSettings.customDomain.url ?? "");
582
+ return e !== (N.value?.remoteSettings.customDomain.url ?? "");
583
583
  }
584
584
  if (B.value.directMode === "cloudflare") {
585
- let e = F.value?.remoteSettings.cloudflare, t = F.value?.remoteSettings.directMode !== "cloudflare", n = U.value;
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
587
  let r = W.value.trim();
588
588
  if (!r || !/^[a-z0-9.-]+\.[a-z]{2,}$/i.test(r)) return !1;
@@ -594,7 +594,7 @@ var it = class {
594
594
  }
595
595
  return n === "managed" ? t || e?.mode !== "managed" || e?.hostname !== r : !1;
596
596
  }
597
- return B.value.directMode !== F.value?.remoteSettings.directMode;
597
+ return B.value.directMode !== N.value?.remoteSettings.directMode;
598
598
  }), Kn = p(() => [{
599
599
  value: "cloudflare",
600
600
  label: A("components.form.label.cloudflare"),
@@ -621,41 +621,41 @@ var it = class {
621
621
  }
622
622
  ]), Yn = p(() => Jn.value.find((e) => e.value === U.value)?.description ?? ""), Xn = p(() => {
623
623
  if (U.value === "quick") return !0;
624
- let e = F.value?.remoteSettings.cloudflare;
624
+ let e = N.value?.remoteSettings.cloudflare;
625
625
  return e?.mode === U.value && !!e?.hostname;
626
626
  }), Q = p(() => R.value?.state ?? "idle"), Zn = p(() => {
627
627
  if (Q.value !== "idle") return !1;
628
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 = L.value?.currentConnection.type ?? "lan";
631
+ let e = F.value?.currentConnection.type ?? "lan";
632
632
  return A(`views.settings.connection_type.${e}`);
633
633
  }), $n = p(() => {
634
- let e = L.value?.currentConnection.type;
635
- return e === "external" ? qe : e === "local" ? We : Ye;
634
+ let e = F.value?.currentConnection.type;
635
+ return e === "external" ? Je : e === "local" ? Ge : Ye;
636
636
  }), er = p(() => {
637
- let e = L.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
- O.openComponentDialog(pt, { data: {
641
+ ce.openComponentDialog(pt, { data: {
642
642
  title: A("components.connection_details.title"),
643
643
  confirmText: A("components.connection_details.copy"),
644
644
  cancelText: A("components.form.button.close"),
645
645
  contentProps: {
646
646
  currentType: Qn,
647
- currentAddress: p(() => L.value?.currentConnection.address ?? "")
647
+ currentAddress: p(() => F.value?.currentConnection.address ?? "")
648
648
  }
649
649
  } });
650
650
  }
651
651
  async function nr() {
652
652
  let e = V.value.trim();
653
653
  if (e) try {
654
- await Ue(e);
654
+ await We(e);
655
655
  } catch {}
656
656
  }
657
657
  function rr() {
658
- O.openTextDialog({
658
+ ce.openTextDialog({
659
659
  data: {
660
660
  title: A("components.dialog.title.unregister_server"),
661
661
  confirmText: A("components.form.button.unregister"),
@@ -664,7 +664,7 @@ var it = class {
664
664
  },
665
665
  onConfirm: async () => {
666
666
  try {
667
- await Be();
667
+ await Ve();
668
668
  } catch {}
669
669
  }
670
670
  });
@@ -703,7 +703,7 @@ var it = class {
703
703
  if (!K.value) return;
704
704
  let e = K.value;
705
705
  try {
706
- let t = await ze({ name: V.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
  $();
@@ -728,17 +728,17 @@ var it = class {
728
728
  t.state === "slow_down" && (st.value = Math.min(st.value + 2, 10)), sr();
729
729
  } catch (t) {
730
730
  if (!K.value || K.value !== e) return;
731
- D.error("pair poll failed:", t), sr();
731
+ w.error("pair poll failed:", t), sr();
732
732
  }
733
733
  }
734
734
  async function lr() {
735
735
  $();
736
736
  try {
737
737
  let e = V.value.trim();
738
- if (e && e !== (I.value?.serverName ?? "")) try {
739
- await Ue(e);
738
+ if (e && e !== (P.value?.serverName ?? "")) try {
739
+ await We(e);
740
740
  } catch {}
741
- let t = await Ie(e || void 0);
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
744
  k.add({
@@ -753,20 +753,20 @@ var it = class {
753
753
  }
754
754
  async function dr() {
755
755
  if (K.value) try {
756
- await P(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 P(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", O.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
771
  title: A("components.dialog.title.confirm"),
772
772
  contentText: A(n),
@@ -776,7 +776,7 @@ var it = class {
776
776
  },
777
777
  onConfirm: async () => {
778
778
  try {
779
- await Pe(e ? { enabled: !0 } : { enabled: !1 });
779
+ await I(e ? { enabled: !0 } : { enabled: !1 });
780
780
  } catch {
781
781
  B.value && (B.value.enabled = !e);
782
782
  }
@@ -787,7 +787,7 @@ var it = class {
787
787
  });
788
788
  }
789
789
  function hr(e) {
790
- Pe({ directEnabled: e }).catch(() => {
790
+ I({ directEnabled: e }).catch(() => {
791
791
  B.value && (B.value.directEnabled = !e);
792
792
  });
793
793
  }
@@ -800,7 +800,7 @@ var it = class {
800
800
  async function vr() {
801
801
  let e = W.value.trim();
802
802
  if (e) try {
803
- await Pe({
803
+ await I({
804
804
  directMode: "cloudflare",
805
805
  cloudflare: {
806
806
  mode: "managed",
@@ -826,7 +826,7 @@ var it = class {
826
826
  }
827
827
  async function Sr(e) {
828
828
  try {
829
- await P(e);
829
+ await j(e);
830
830
  } catch {}
831
831
  }
832
832
  function Cr(e) {
@@ -834,7 +834,7 @@ var it = class {
834
834
  }
835
835
  async function wr(e) {
836
836
  try {
837
- let t = await Ke(e);
837
+ let t = await qe(e);
838
838
  t.ok ? k.add({
839
839
  severity: "success",
840
840
  detail: A("components.toast.remote_test_success"),
@@ -876,26 +876,26 @@ var it = class {
876
876
  });
877
877
  }
878
878
  try {
879
- await Pe(t);
879
+ await I(t);
880
880
  } catch {}
881
881
  }
882
882
  async function Er(e) {
883
883
  try {
884
- await Me(e);
884
+ await Pe(e);
885
885
  } catch {}
886
886
  }
887
- return h(() => I.value?.serverName, (e) => {
887
+ return h(() => P.value?.serverName, (e) => {
888
888
  e && (V.value = e);
889
889
  }, { immediate: !0 }), h(Z, (e) => {
890
890
  e && K.value && $();
891
- }), h([pe, M], ([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(N, (e) => {
896
+ }), h(_e, (e) => {
897
897
  if (e) {
898
- let t = ue(e);
898
+ let t = le(e);
899
899
  z.value = {
900
900
  ...t,
901
901
  serverAddresses: (t.serverAddresses || []).filter(Boolean),
@@ -905,9 +905,9 @@ var it = class {
905
905
  }, {
906
906
  deep: !0,
907
907
  immediate: !0
908
- }), h(F, (e) => {
908
+ }), h(N, (e) => {
909
909
  if (e) {
910
- let t = ue(e);
910
+ let t = le(e);
911
911
  B.value = { ...t.remoteSettings }, H.value = t.remoteSettings.customDomain.url ?? "";
912
912
  let n = t.remoteSettings.cloudflare;
913
913
  U.value = n?.mode ?? "quick", W.value = n?.hostname ?? "", G.value = "", at.value = t.cloudflareTokenSet ?? !1;
@@ -918,12 +918,12 @@ var it = class {
918
918
  }), r(() => {
919
919
  ir();
920
920
  }), (t, r) => {
921
- let c = _e, p = te, h = Ee, x = Se, S = ve, w = de, D = Ce, ce = Ve, O = re, k = oe, A = ne, ue = De, j = ie, M = le, pe = Re, me = we, P = ge, he = Te, F = ee;
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
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(L) ? (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 it = class {
932
932
  size: "small",
933
933
  class: "cui-input-switch-hint truncate"
934
934
  }, {
935
- default: m(() => [b(i(f(L).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 it = class {
946
946
  icon: m(() => [C(h, { class: "w-5 h-5" })]),
947
947
  _: 1
948
948
  }, 8, ["aria-label"])), [[
949
- F,
949
+ N,
950
950
  { value: t.$t("components.connection_details.title") },
951
951
  void 0,
952
952
  { left: !0 }
@@ -962,7 +962,7 @@ var it = 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(E), {
965
+ C(f(T), {
966
966
  "model-value": f(B).enabled,
967
967
  value: !0,
968
968
  "unchecked-value": !1,
@@ -983,13 +983,13 @@ var it = class {
983
983
  _: 1
984
984
  }),
985
985
  C(e, { name: "fade" }, {
986
- default: m(() => [C(f(T), {
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(B).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",
@@ -1004,8 +1004,8 @@ var it = 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(k, null, {
1008
- default: m(() => [C(D, {
1007
+ C(O, null, {
1008
+ default: m(() => [C(w, {
1009
1009
  id: "serverName",
1010
1010
  modelValue: f(V),
1011
1011
  "onUpdate:modelValue": r[2] ||= (e) => d(V) ? V.value = e : null,
@@ -1018,18 +1018,18 @@ var it = class {
1018
1018
  "modelValue",
1019
1019
  "disabled",
1020
1020
  "loading"
1021
- ]), C(O, null, {
1021
+ ]), C(D, null, {
1022
1022
  default: m(() => [y((n(), l(x, {
1023
1023
  text: "",
1024
1024
  severity: "secondary",
1025
- loading: f(Ge),
1025
+ loading: f(Ke),
1026
1026
  disabled: !f(Wn),
1027
1027
  type: "button",
1028
1028
  onClick: nr
1029
1029
  }, {
1030
1030
  icon: m(() => [C(ce)]),
1031
1031
  _: 1
1032
- }, 8, ["loading", "disabled"])), [[F, { 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 it = 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(je) ? (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(A, {
1072
+ })) : (n(), l(le, {
1073
1073
  key: 1,
1074
- severity: f(Ae)?.connected ? "success" : "secondary",
1075
- value: f(Ae)?.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 it = 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(ue, {
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(k, null, {
1097
- default: m(() => [C(D, {
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
- }, null, 8, ["model-value"]), C(O, null, {
1102
- default: m(() => [C(j, {
1101
+ }, null, 8, ["model-value"]), C(D, null, {
1102
+ default: m(() => [C(A, {
1103
1103
  "action-text": t.$t("components.form.tooltip.copied"),
1104
- icon: f(se),
1104
+ icon: f(pe),
1105
1105
  "button-props": {
1106
1106
  severity: "secondary",
1107
1107
  text: !0
@@ -1122,17 +1122,17 @@ var it = class {
1122
1122
  _: 1
1123
1123
  })
1124
1124
  ]),
1125
- v("div", qt, [v("label", Jt, i(t.$t("views.settings.pair_url")), 1), C(k, 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(D, {
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
- C(O, null, {
1133
- default: m(() => [C(j, {
1132
+ C(D, null, {
1133
+ default: m(() => [C(A, {
1134
1134
  "action-text": t.$t("components.form.tooltip.copied"),
1135
- icon: f(se),
1135
+ icon: f(pe),
1136
1136
  "button-props": {
1137
1137
  severity: "secondary",
1138
1138
  text: !0
@@ -1141,16 +1141,16 @@ var it = class {
1141
1141
  }, null, 8, ["action-text", "icon"])]),
1142
1142
  _: 1
1143
1143
  }),
1144
- C(O, null, {
1144
+ C(D, null, {
1145
1145
  default: m(() => [y((n(), l(x, {
1146
1146
  type: "button",
1147
1147
  severity: "secondary",
1148
1148
  text: "",
1149
1149
  onClick: pr
1150
1150
  }, {
1151
- icon: m(() => [C(f(fe))]),
1151
+ icon: m(() => [C(f(ge))]),
1152
1152
  _: 1
1153
- })), [[F, { 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,28 +1181,28 @@ var it = 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(M, {
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"])), [[F, { 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,
1198
- loading: f(Le),
1198
+ loading: f(Re),
1199
1199
  class: "cui-button-medium",
1200
1200
  label: t.$t("components.form.button.register_server"),
1201
1201
  onClick: lr
1202
1202
  }, null, 8, ["loading", "label"])) : u("", !0),
1203
1203
  f(dt) && !f(K) ? (n(), l(x, {
1204
1204
  key: 1,
1205
- loading: f(Le),
1205
+ loading: f(Re),
1206
1206
  severity: "warn",
1207
1207
  class: "cui-button-medium",
1208
1208
  label: t.$t("components.form.button.reconnect_server"),
@@ -1226,7 +1226,7 @@ var it = 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(E), {
1229
+ content: m(() => [v("div", en, [C(f(T), {
1230
1230
  "model-value": f(B).directEnabled,
1231
1231
  value: !0,
1232
1232
  "unchecked-value": !1,
@@ -1247,13 +1247,13 @@ var it = class {
1247
1247
  _: 1
1248
1248
  }),
1249
1249
  C(e, { name: "fade" }, {
1250
- default: m(() => [C(f(T), {
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
1259
  disabled: f(B).enabled,
@@ -1281,10 +1281,10 @@ var it = 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(D, {
1284
+ C(w, {
1285
1285
  readonly: "",
1286
1286
  type: "text",
1287
- value: f(L)?.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,7 +1296,7 @@ var it = class {
1296
1296
  _: 1
1297
1297
  })
1298
1298
  ]),
1299
- C(f(E), {
1299
+ C(f(T), {
1300
1300
  "model-value": f(B).directMode,
1301
1301
  name: "directMode",
1302
1302
  as: "div",
@@ -1304,7 +1304,7 @@ var it = class {
1304
1304
  }, {
1305
1305
  default: m(({ errors: n }) => [
1306
1306
  v("label", sn, i(t.$t("views.settings.connection_method")), 1),
1307
- C(me, {
1307
+ C(j, {
1308
1308
  "model-value": f(B).directMode,
1309
1309
  options: f(Kn),
1310
1310
  "option-label": "label",
@@ -1319,7 +1319,7 @@ var it = class {
1319
1319
  "loading"
1320
1320
  ]),
1321
1321
  C(e, { name: "fade" }, {
1322
- default: m(() => [C(f(T), {
1322
+ default: m(() => [C(f(E), {
1323
1323
  name: "directMode",
1324
1324
  class: "cui-input-error"
1325
1325
  })]),
@@ -1339,7 +1339,7 @@ var it = class {
1339
1339
  }, 8, ["model-value"]),
1340
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(me, {
1342
+ C(j, {
1343
1343
  "model-value": f(U),
1344
1344
  options: f(Jn),
1345
1345
  "option-label": "label",
@@ -1363,14 +1363,14 @@ var it = class {
1363
1363
  ]), f(U) === "quick" ? (n(), g("div", dn, [C(x, {
1364
1364
  type: "button",
1365
1365
  severity: "secondary",
1366
- loading: f(Je),
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
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(D, {
1373
+ C(w, {
1374
1374
  id: "cloudflareHostname",
1375
1375
  modelValue: f(W),
1376
1376
  "onUpdate:modelValue": r[9] ||= (e) => d(W) ? W.value = e : null,
@@ -1392,7 +1392,7 @@ var it = class {
1392
1392
  ]),
1393
1393
  v("div", mn, [
1394
1394
  v("label", hn, i(t.$t("components.form.label.tunnel_token")), 1),
1395
- C(P, {
1395
+ C(ve, {
1396
1396
  id: "cloudflareToken",
1397
1397
  modelValue: f(G),
1398
1398
  "onUpdate:modelValue": r[10] ||= (e) => d(G) ? G.value = e : null,
@@ -1420,7 +1420,7 @@ var it = class {
1420
1420
  v("div", gn, [C(x, {
1421
1421
  type: "button",
1422
1422
  severity: "secondary",
1423
- loading: f(Je),
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"),
@@ -1441,7 +1441,7 @@ var it = 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(D, {
1444
+ C(w, {
1445
1445
  id: "cloudflareHostnameManaged",
1446
1446
  modelValue: f(W),
1447
1447
  "onUpdate:modelValue": r[12] ||= (e) => d(W) ? W.value = e : null,
@@ -1482,7 +1482,7 @@ var it = class {
1482
1482
  "disabled",
1483
1483
  "label"
1484
1484
  ])])
1485
- ], 64)) : f(Q) === "awaiting_login" ? (n(), g(_, { key: 1 }, [f(R)?.loginUrl ? (n(), g("div", bn, [v("div", xn, [C(ue, {
1485
+ ], 64)) : f(Q) === "awaiting_login" ? (n(), g(_, { key: 1 }, [f(R)?.loginUrl ? (n(), g("div", bn, [v("div", xn, [C(k, {
1486
1486
  value: f(R).loginUrl,
1487
1487
  size: 160,
1488
1488
  "logo-size": 32
@@ -1495,17 +1495,17 @@ var it = class {
1495
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(k, 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(D, {
1500
+ C(w, {
1501
1501
  "model-value": f(R).loginUrl,
1502
1502
  readonly: "",
1503
1503
  class: "font-mono text-sm"
1504
1504
  }, null, 8, ["model-value"]),
1505
- C(O, null, {
1506
- default: m(() => [C(j, {
1505
+ C(D, null, {
1506
+ default: m(() => [C(A, {
1507
1507
  "action-text": t.$t("components.form.tooltip.copied"),
1508
- icon: f(se),
1508
+ icon: f(pe),
1509
1509
  "button-props": {
1510
1510
  severity: "secondary",
1511
1511
  text: !0
@@ -1514,16 +1514,16 @@ var it = class {
1514
1514
  }, null, 8, ["action-text", "icon"])]),
1515
1515
  _: 1
1516
1516
  }),
1517
- C(O, null, {
1517
+ C(D, null, {
1518
1518
  default: m(() => [y((n(), l(x, {
1519
1519
  type: "button",
1520
1520
  severity: "secondary",
1521
1521
  text: "",
1522
1522
  onClick: r[14] ||= (e) => Cr(f(R).loginUrl)
1523
1523
  }, {
1524
- icon: m(() => [C(f(fe))]),
1524
+ icon: m(() => [C(f(ge))]),
1525
1525
  _: 1
1526
- })), [[F, { 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
  ]),
@@ -1575,7 +1575,7 @@ var it = 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(D, {
1578
+ C(w, {
1579
1579
  readonly: "",
1580
1580
  value: `https://${f(R)?.hostname ?? ""}`,
1581
1581
  type: "text"
@@ -1592,7 +1592,7 @@ var it = class {
1592
1592
  ]),
1593
1593
  f(R)?.tunnelId ? (n(), g("div", Nn, [
1594
1594
  v("label", Pn, i(t.$t("components.form.label.tunnel_id")), 1),
1595
- C(D, {
1595
+ C(w, {
1596
1596
  readonly: "",
1597
1597
  value: f(R).tunnelId,
1598
1598
  type: "text"
@@ -1611,7 +1611,7 @@ var it = class {
1611
1611
  C(x, {
1612
1612
  type: "button",
1613
1613
  severity: "secondary",
1614
- loading: f(Je),
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")
@@ -1635,7 +1635,7 @@ var it = class {
1635
1635
  ])
1636
1636
  ], 64)) : u("", !0)]))]),
1637
1637
  _: 1
1638
- })) : u("", !0)])) : f(B).directMode === "customDomain" ? (n(), g("div", In, [C(f(E), {
1638
+ })) : u("", !0)])) : f(B).directMode === "customDomain" ? (n(), g("div", In, [C(f(T), {
1639
1639
  modelValue: f(H),
1640
1640
  "onUpdate:modelValue": r[16] ||= (e) => d(H) ? H.value = e : null,
1641
1641
  modelModifiers: { trim: !0 },
@@ -1646,14 +1646,14 @@ var it = 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(D, 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(T), {
1656
+ default: m(() => [C(f(E), {
1657
1657
  name: "customDomain.url",
1658
1658
  class: "cui-input-error"
1659
1659
  })]),
@@ -1664,7 +1664,7 @@ var it = class {
1664
1664
  }, 8, ["modelValue", "loading"]), v("div", Rn, [C(x, {
1665
1665
  type: "button",
1666
1666
  severity: "secondary",
1667
- loading: f(Je),
1667
+ loading: f(L),
1668
1668
  disabled: !f(H),
1669
1669
  class: "cui-button-small",
1670
1670
  label: t.$t("components.form.button.test_connection"),
@@ -1699,7 +1699,7 @@ var it = 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(E), {
1702
+ C(f(T), {
1703
1703
  "model-value": f(z).serverAddresses,
1704
1704
  name: "serverAddresses",
1705
1705
  as: "div",
@@ -1707,10 +1707,10 @@ var it = class {
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(k, null, {
1711
- default: m(() => [C(he, a(o, {
1710
+ C(O, null, {
1711
+ default: m(() => [C(M, a(o, {
1712
1712
  "model-value": f(z).serverAddresses,
1713
- options: f(N)?.availableAddresses || [],
1713
+ options: f(_e)?.availableAddresses || [],
1714
1714
  invalid: s.length > 0,
1715
1715
  loading: f(X),
1716
1716
  "max-selected-labels": 2,
@@ -1730,7 +1730,7 @@ var it = class {
1730
1730
  _: 2
1731
1731
  }, 1024),
1732
1732
  C(e, { name: "fade" }, {
1733
- default: m(() => [C(f(T), {
1733
+ default: m(() => [C(f(E), {
1734
1734
  name: "serverAddresses",
1735
1735
  class: "cui-input-error"
1736
1736
  })]),
@@ -1749,7 +1749,7 @@ var it = class {
1749
1749
  ]),
1750
1750
  _: 1
1751
1751
  }, 8, ["model-value"]),
1752
- C(f(E), {
1752
+ C(f(T), {
1753
1753
  "model-value": f(z).localUrl,
1754
1754
  name: "localUrl",
1755
1755
  as: "div",
@@ -1757,8 +1757,8 @@ var it = class {
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(k, null, {
1761
- default: m(() => [C(D, a(o, {
1760
+ C(O, null, {
1761
+ default: m(() => [C(w, a(o, {
1762
1762
  "model-value": f(z).localUrl,
1763
1763
  invalid: s.length > 0,
1764
1764
  loading: f(X),
@@ -1772,7 +1772,7 @@ var it = class {
1772
1772
  _: 2
1773
1773
  }, 1024),
1774
1774
  C(e, { name: "fade" }, {
1775
- default: m(() => [C(f(T), {
1775
+ default: m(() => [C(f(E), {
1776
1776
  name: "localUrl",
1777
1777
  class: "cui-input-error"
1778
1778
  })]),