@camera.ui/server 2.1.11 → 2.1.13

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 (644) hide show
  1. package/dist/interface/assets/{404-B4_ZWIGx.js → 404-CVkDpT0X.js} +1 -1
  2. package/dist/interface/assets/{About-Cd8Ipr7a.js → About-CUgIR2xi.js} +1 -1
  3. package/dist/interface/assets/Automation-BYRKp0AC.js +3 -0
  4. package/dist/interface/assets/{AutomationImport-BTkkRikE.js → AutomationImport-L_OzZZgi.js} +2 -2
  5. package/dist/interface/assets/{AutomationStore-VdGEOwci.js → AutomationStore-DaNQqJoT.js} +2 -2
  6. package/dist/interface/assets/AutomationStoreDetail-Seor4Ohh.js +2 -0
  7. package/dist/interface/assets/Automations-BMQIkpUa.js +2 -0
  8. package/dist/interface/assets/Camera-3umh2Xjc.js +2 -0
  9. package/dist/interface/assets/{CameraConsole-KqRFGZzT.js → CameraConsole-BLlgkKDp.js} +2 -2
  10. package/dist/interface/assets/Cameras-DvK8E1Vk.js +651 -0
  11. package/dist/interface/assets/{Camview-Lp3QU0de.css → Camview-DIEa8IRE.css} +1 -1
  12. package/dist/interface/assets/Camview-DSO2lWxT.js +1 -0
  13. package/dist/interface/assets/{CertificateUpload-Dd4Ec7bt.js → CertificateUpload-BsnlaxRS.js} +1 -1
  14. package/dist/interface/assets/{Config-Db-Eh4Lf.js → Config-BXj83-No.js} +1 -1
  15. package/dist/interface/assets/{ConfigActionCameraControl-CbG-HEuU.js → ConfigActionCameraControl-BGfvT6ME.js} +1 -1
  16. package/dist/interface/assets/{ConfigActionDelay-BoGIhNHr.js → ConfigActionDelay-D10_C6yo.js} +1 -1
  17. package/dist/interface/assets/{ConfigActionHttp-DyPo2XvQ.js → ConfigActionHttp-DL4jh9Wz.js} +1 -1
  18. package/dist/interface/assets/{ConfigActionImageInput-C9aYztb6.js → ConfigActionImageInput-DVvMUzrT.js} +1 -1
  19. package/dist/interface/assets/{ConfigActionMqtt-kQz9Y9OZ.js → ConfigActionMqtt-BqK3q4cC.js} +1 -1
  20. package/dist/interface/assets/ConfigActionNotification-D_H5Q68D.js +1 -0
  21. package/dist/interface/assets/{ConfigActionNotificationControl-DEOv_FGO.js → ConfigActionNotificationControl-BnTJl4dr.js} +1 -1
  22. package/dist/interface/assets/{ConfigActionOutput-CGtG-8PF.js → ConfigActionOutput-udY95_rH.js} +1 -1
  23. package/dist/interface/assets/{ConfigActionPlugin-C8v0CWrz.js → ConfigActionPlugin-C51LrkZb.js} +1 -1
  24. package/dist/interface/assets/{ConfigActionSensor-CESXnRuQ.js → ConfigActionSensor-B2tFf8x6.js} +1 -1
  25. package/dist/interface/assets/{ConfigActionSnapshot-TVhjeFKP.js → ConfigActionSnapshot-BzmeByH3.js} +1 -1
  26. package/dist/interface/assets/{ConfigActionVariable-DwRFwopb.js → ConfigActionVariable-BagC3lj5.js} +1 -1
  27. package/dist/interface/assets/{ConfigConditionIfElse-CmtoYTUU.js → ConfigConditionIfElse-CQOZJ19Y.js} +1 -1
  28. package/dist/interface/assets/{ConfigConditionSensorState-3B9Sjxdb.js → ConfigConditionSensorState-SGYpkNP5.js} +1 -1
  29. package/dist/interface/assets/ConfigConditionSwitch-BXR6xUN8.js +1 -0
  30. package/dist/interface/assets/{ConfigConditionTime-Djq2yOCr.js → ConfigConditionTime-BrEhw1R9.js} +1 -1
  31. package/dist/interface/assets/{ConfigSensorValueInput-DZ7r71aU.js → ConfigSensorValueInput-DezTWtbA.js} +1 -1
  32. package/dist/interface/assets/{ConfigTriggerDetection-B62txb4H.js → ConfigTriggerDetection-xo0imE_3.js} +1 -1
  33. package/dist/interface/assets/ConfigTriggerGeofence-BmJpP4Ew.js +1 -0
  34. package/dist/interface/assets/{ConfigTriggerManual-nrYy4xBP.js → ConfigTriggerManual-CmAdnZQK.js} +1 -1
  35. package/dist/interface/assets/{ConfigTriggerMqtt-CK8FEVxs.js → ConfigTriggerMqtt-F19dhVm1.js} +1 -1
  36. package/dist/interface/assets/{ConfigTriggerSchedule-DN3Tl7f4.js → ConfigTriggerSchedule-BGci3Aed.js} +1 -1
  37. package/dist/interface/assets/{ConfigTriggerSensor-DBXrlYyS.js → ConfigTriggerSensor-DSEDGB2X.js} +1 -1
  38. package/dist/interface/assets/{ConfigTriggerSystem-QFLNb9GC.js → ConfigTriggerSystem-DPy8Zir4.js} +1 -1
  39. package/dist/interface/assets/{ConfigTriggerWebhook-46mdJk6X.js → ConfigTriggerWebhook-Dv0Kmwg8.js} +1 -1
  40. package/dist/interface/assets/Console-Cuh-Vc4u.js +1 -0
  41. package/dist/interface/assets/{CuiAutomationRunsDialog-BvtQfpTx.js → CuiAutomationRunsDialog-B1UeVC6Q.js} +1 -1
  42. package/dist/interface/assets/{CuiBottomSheet-UiJcO4M3.js → CuiBottomSheet-BjkDE7_9.js} +1 -1
  43. package/dist/interface/assets/CuiBottomSheet-C9G-NoMU.js +1 -0
  44. package/dist/interface/assets/CuiCameraPipCard-nrln9zp-.js +1 -0
  45. package/dist/interface/assets/CuiCameraRecordings-B7BhgPpP.css +1 -0
  46. package/dist/interface/assets/CuiCameraRecordings-HKwhFpea.js +1 -0
  47. package/dist/interface/assets/{CuiCameraShares-46_p-wPD.js → CuiCameraShares-D-fhJCro.js} +1 -1
  48. package/dist/interface/assets/{CuiCameraTable-BXm5THd1.js → CuiCameraTable-BTVfK-HY.js} +2 -2
  49. package/dist/interface/assets/CuiCameraTable-DGg4_c_u.js +1 -0
  50. package/dist/interface/assets/{CuiChartTable-ByHWgFTc.js → CuiChartTable-DAUYP-EW.js} +1 -1
  51. package/dist/interface/assets/{CuiConsole-BOyrbC0a.js → CuiConsole-C7aZj4wK.js} +2 -2
  52. package/dist/interface/assets/{CuiDataTable-BDyku8Vr.js → CuiDataTable-1B8aaZQO.js} +1 -1
  53. package/dist/interface/assets/CuiLightControl-CSA1PYc8.js +1 -0
  54. package/dist/interface/assets/{CuiList-D1d-S_-K.js → CuiList-D-hOSNou.js} +1 -1
  55. package/dist/interface/assets/CuiMarkdownContent-D2bWw1GN.js +1 -0
  56. package/dist/interface/assets/{CuiMarkdownContent-bAQw35id.js → CuiMarkdownContent-gJ8gvmYA.js} +1 -1
  57. package/dist/interface/assets/CuiPluginCard-D1Hkyiy4.js +2 -0
  58. package/dist/interface/assets/{CuiPluginCategoryChip-CCnZkkL5.js → CuiPluginCategoryChip-qnn-HD6g.js} +1 -1
  59. package/dist/interface/assets/{CuiPluginOAuthButton-CTKbdFZJ.js → CuiPluginOAuthButton-CXextmBv.js} +2 -2
  60. package/dist/interface/assets/{CuiPluginTrustBadge-B_1b1iYf.js → CuiPluginTrustBadge-C-8MN2Qc.js} +1 -1
  61. package/dist/interface/assets/{CuiQRCode-B0CF6e-5.js → CuiQRCode-D1qmU4qU.js} +1 -1
  62. package/dist/interface/assets/CuiSchema-DnHOpBg4.js +1 -0
  63. package/dist/interface/assets/{CuiTopNavbarItem-Bs4iRb31.js → CuiTopNavbarItem-Csb3O1-n.js} +1 -1
  64. package/dist/interface/assets/Faces-C0QpQxuF.js +1 -0
  65. package/dist/interface/assets/FirstSteps-BqZQovY7.js +1 -0
  66. package/dist/interface/assets/{Floorplan-Da5gt435.css → Floorplan-Bxhdg4C2.css} +1 -1
  67. package/dist/interface/assets/Floorplan-CW-W5ZkV.js +1 -0
  68. package/dist/interface/assets/Instances-VSkiqKKf.js +1 -0
  69. package/dist/interface/assets/{Logs-Bnq3wEXS.js → Logs-DQFS2AUi.js} +2 -2
  70. package/dist/interface/assets/{Menu-M1PaPt5e.js → Menu-COvvZ_vz.js} +1 -1
  71. package/dist/interface/assets/Metrics-cvbQzChA.js +9 -0
  72. package/dist/interface/assets/OAuthDeviceFlow-3ZC2QCAs.js +1 -0
  73. package/dist/interface/assets/Plugin-DjQd3Y9J.js +1 -0
  74. package/dist/interface/assets/{PluginConsole-f5xf7P3Y.js → PluginConsole-BaUkghQD.js} +2 -2
  75. package/dist/interface/assets/PluginDetail-Ofj1hk2q.js +2 -0
  76. package/dist/interface/assets/{PluginSchema-DMjDPtOB.js → PluginSchema-f-ER7hlx.js} +1 -1
  77. package/dist/interface/assets/PluginSearch-Ce3S1HDv.js +1 -0
  78. package/dist/interface/assets/PluginSearch-D5eQsj5p.js +2 -0
  79. package/dist/interface/assets/{PluginUpdateProgress-FVY9RtmB.js → PluginUpdateProgress-BfYNLvVX.js} +1 -1
  80. package/dist/interface/assets/Plugins-DtDN9z0k.js +1 -0
  81. package/dist/interface/assets/Recordings-CQGnTZFt.js +1 -0
  82. package/dist/interface/assets/SensorEdit-BZtiJyoI.js +1 -0
  83. package/dist/interface/assets/{SensorHistory-5nCWisih.js → SensorHistory-BFkT3teu.js} +1 -1
  84. package/dist/interface/assets/{Sensors-BsLHVGqk.css → Sensors-CaKl4PQY.css} +1 -1
  85. package/dist/interface/assets/Sensors-DSR-AUqb.js +2 -0
  86. package/dist/interface/assets/{Settings-DsxjHlTb.js → Settings-DV3JZFjc.js} +1 -1
  87. package/dist/interface/assets/SettingsAccount-Cd5JPsv2.js +1 -0
  88. package/dist/interface/assets/SettingsAccount-D4ib7Asi.js +1 -0
  89. package/dist/interface/assets/SettingsAppearance-BYsQmdyo.js +1 -0
  90. package/dist/interface/assets/{SettingsAppearance-Dc5qomCw.js → SettingsAppearance-CC6StMAi.js} +1 -1
  91. package/dist/interface/assets/{SettingsBackup-xZ6fRlMp.js → SettingsBackup-BcVFCbhB.js} +1 -1
  92. package/dist/interface/assets/{SettingsList-M3eOiLIi.js → SettingsList-04HiM3OT.js} +1 -1
  93. package/dist/interface/assets/SettingsMqtt-XaJdsYPn.js +1 -0
  94. package/dist/interface/assets/SettingsNotifications-CUoYMHwr.js +1 -0
  95. package/dist/interface/assets/{SettingsPermissions-g6ppqzcI.js → SettingsPermissions-gFDNSlTh.js} +1 -1
  96. package/dist/interface/assets/SettingsRecordings-Bw64UZWe.js +1 -0
  97. package/dist/interface/assets/SettingsRemote-BnFW-uT-.js +2 -0
  98. package/dist/interface/assets/{SettingsSystem-EaqPKfS_.js → SettingsSystem-Cdjg5GNY.js} +2 -2
  99. package/dist/interface/assets/{SettingsUsers-B3m7YHzN.js → SettingsUsers-DphPL78H.js} +1 -1
  100. package/dist/interface/assets/{Terminal-BXQKgvte.js → Terminal-CrNjqzTs.js} +2 -2
  101. package/dist/interface/assets/{Updates-Difs3xzH.js → Updates-V5B9LSD-.js} +2 -2
  102. package/dist/interface/assets/{VariableInput-DNlqv5NS.js → VariableInput-n0TxKRqq.js} +1 -1
  103. package/dist/interface/assets/{VariableSuggestions-cR1Q4nfD.js → VariableSuggestions-C4LmaCAo.js} +1 -1
  104. package/dist/interface/assets/{VersionsHandler-BHyZgGCP.js → VersionsHandler-BPocJcb0.js} +2 -2
  105. package/dist/interface/assets/{VirtualSensorCreate-CSzlXcHk.js → VirtualSensorCreate-BPvbrzGS.js} +1 -1
  106. package/dist/interface/assets/Workers-DEvQNzUi.js +2 -0
  107. package/dist/interface/assets/{lightbulb-outline-BtraGBwO.js → alert-outline-DtiCgufF.js} +1 -1
  108. package/dist/interface/assets/{api-Bpl4Sd0_.js → api-BXmkXIE8.js} +1 -1
  109. package/dist/interface/assets/api-DO5wBndX.css +2 -0
  110. package/dist/interface/assets/api-x8zXlvtm.js +4 -0
  111. package/dist/interface/assets/{auth-O2tHbgZf.js → auth-BKJnreuu.js} +1 -1
  112. package/dist/interface/assets/{automations-C3f5HUy2.js → automations-CVuIXlAQ.js} +1 -1
  113. package/dist/interface/assets/cameraSources-C3cl6FVD.js +1 -0
  114. package/dist/interface/assets/cloudHandoff-BZvvihwX.js +1 -0
  115. package/dist/interface/assets/{config-BIxANITl.js → config-Sw94rZxF.js} +1 -1
  116. package/dist/interface/assets/{flowSchema-Cu_f8mZr.js → flowSchema-BOrDqdeG.js} +1 -1
  117. package/dist/interface/assets/{intercomService-JoKcW49f.js → intercomService-CfCIMUlA.js} +1 -1
  118. package/dist/interface/assets/main-Jl93jEZK.js +3 -0
  119. package/dist/interface/assets/{main-BF8Mg561.css → main-Qqk3RyYP.css} +1 -1
  120. package/dist/interface/assets/{mqtt-D_ToI2JF.js → mqtt-BaCMJJk_.js} +1 -1
  121. package/dist/interface/assets/nodeDefinitions-a8iyp3yk.js +1 -0
  122. package/dist/interface/assets/{notifications-BZCPhbuG.js → notifications-l-x8vA4D.js} +1 -1
  123. package/dist/interface/assets/{plugins-DXYT--j6.js → plugins-GA9v-eQx.js} +1 -1
  124. package/dist/interface/assets/{rooms-BXXhWbYq.js → rooms-DX7PBdpP.js} +1 -1
  125. package/dist/interface/assets/sensorIcons-BTgouEmX.js +1 -0
  126. package/dist/interface/assets/{sensors-ud0INKWh.js → sensors-LJkBCaMk.js} +1 -1
  127. package/dist/interface/assets/{server-_f9tZajz.js → server-dOx3q8o1.js} +1 -1
  128. package/dist/interface/assets/theme-DgrclY58.js +1 -0
  129. package/dist/interface/assets/types-CSWXRySW.js +1 -0
  130. package/dist/interface/assets/{types-CCCcoJBr.js → types-D19FOdYo.js} +1 -1
  131. package/dist/interface/assets/types-Yq0FH8fa.js +1 -0
  132. package/dist/interface/assets/ungrouped-B_u9a5wm.js +1 -0
  133. package/dist/interface/assets/{ungrouped-uv64nr5n.css → ungrouped-DTYy_Pud.css} +1 -1
  134. package/dist/interface/assets/{updates-i-Ukebxe.js → updates-BVN6uGXy.js} +1 -1
  135. package/dist/interface/assets/{useAppVersion-DY0h_lct.js → useAppVersion-BUDIkitU.js} +1 -1
  136. package/dist/interface/assets/useBackupRestore-CnSZNCC8.js +1 -0
  137. package/dist/interface/assets/{useCameraOptions-C-rXBi8d.js → useCameraOptions-Cgb4eV2d.js} +1 -1
  138. package/dist/interface/assets/{useLogsSocket-Bigb4u3j.js → useLogsSocket-CGKtL049.js} +1 -1
  139. package/dist/interface/assets/{useNavLayout-C9FWniNC.js → useNavLayout-Dcngcb73.js} +1 -1
  140. package/dist/interface/assets/{usePermissions-C_4RPiE4.js → usePermissions-zJF4LCPm.js} +1 -1
  141. package/dist/interface/assets/{usePluginUpdates-CQwLK3om.js → usePluginUpdates-DP--lRxm.js} +1 -1
  142. package/dist/interface/assets/{usePushRegistration-sYPibp5s.js → usePushRegistration-BhPBp28J.js} +1 -1
  143. package/dist/interface/assets/{useServerRestart-B0Cfu10q.js → useServerRestart-BpCDYbPH.js} +1 -1
  144. package/dist/interface/assets/{useStreamStatus-BLXdLAvK.js → useStreamStatus-BoVMk6KT.js} +1 -1
  145. package/dist/interface/assets/{useTabSwipe-C3qfclkm.js → useTabSwipe--t-Qqa31.js} +1 -1
  146. package/dist/interface/assets/{useUpdateChannel-DvO5NQPE.js → useUpdateChannel-DAuhU-__.js} +1 -1
  147. package/dist/interface/assets/{useUpdatesSocket-C6wTDGIg.js → useUpdatesSocket-C-j3b3tU.js} +1 -1
  148. package/dist/interface/assets/{useUserOptions-B9T46skV.js → useUserOptions-CcLVC73O.js} +1 -1
  149. package/dist/interface/assets/vendor-cameraui-phsC2Mmi.js +2326 -0
  150. package/dist/interface/assets/vendor-core-C0ZWoGJD.js +1 -0
  151. package/dist/interface/assets/{vendor-markdown-pUmink8s.js → vendor-markdown-aj6qAoLx.js} +3 -3
  152. package/dist/interface/assets/{vendor-primevue-CvHDsVi_.js → vendor-primevue-nPess0JU.js} +76 -76
  153. package/dist/interface/assets/vendor-zod-CJ7LAMqQ.js +99 -0
  154. package/dist/interface/ha/404-PedrGUiq.js +60 -0
  155. package/dist/interface/ha/About-l5fkBqG7.js +55 -0
  156. package/dist/interface/ha/Automation-CaSlGjT4.js +2015 -0
  157. package/dist/interface/ha/AutomationImport-BNavtjDq.js +206 -0
  158. package/dist/interface/ha/AutomationStore-BVSW8TVt.js +335 -0
  159. package/dist/interface/ha/AutomationStoreDetail-DHZwlpz0.js +122 -0
  160. package/dist/interface/ha/Automations-CZ2jvH6d.js +437 -0
  161. package/dist/interface/ha/Camera-CggUrrPm.js +625 -0
  162. package/dist/interface/ha/CameraConsole-DpzF48TF.js +52 -0
  163. package/dist/interface/ha/Cameras-K-kQF5tG.js +1970 -0
  164. package/dist/interface/ha/Camview-zJVP7JwZ.js +1337 -0
  165. package/dist/interface/ha/CertificateUpload-DbBQ87OT.js +117 -0
  166. package/dist/interface/ha/Config-Bsud2DYI.js +356 -0
  167. package/dist/interface/ha/ConfigActionCameraControl-Czkfw_NO.js +152 -0
  168. package/dist/interface/ha/ConfigActionDelay-BHug57u7.js +61 -0
  169. package/dist/interface/ha/ConfigActionHttp-LfbxbfgG.js +134 -0
  170. package/dist/interface/ha/ConfigActionImageInput-Ce2GJzCm.js +171 -0
  171. package/dist/interface/ha/ConfigActionMqtt-KmCGcNZb.js +81 -0
  172. package/dist/interface/ha/ConfigActionNotification-DUMY_3IT.js +199 -0
  173. package/dist/interface/ha/ConfigActionNotificationControl-B9Z2i5WR.js +111 -0
  174. package/dist/interface/ha/ConfigActionOutput-CX-ZQjcs.js +98 -0
  175. package/dist/interface/ha/ConfigActionPlugin-y5PuPwdk.js +172 -0
  176. package/dist/interface/ha/ConfigActionSensor-CC39Rpxi.js +139 -0
  177. package/dist/interface/ha/ConfigActionSnapshot-CWyhx6rk.js +48 -0
  178. package/dist/interface/ha/ConfigActionVariable-BNRLCthd.js +88 -0
  179. package/dist/interface/ha/ConfigConditionIfElse-BayS5_Dr.js +124 -0
  180. package/dist/interface/ha/ConfigConditionSensorState-DLXNqL-R.js +192 -0
  181. package/dist/interface/ha/ConfigConditionSwitch-BBesQgWi.js +128 -0
  182. package/dist/interface/ha/ConfigConditionTime-aD8mk2aa.js +95 -0
  183. package/dist/interface/ha/ConfigSensorValueInput-5JzesEuD.js +169 -0
  184. package/dist/interface/ha/ConfigTriggerDetection--BcjPuyh.js +241 -0
  185. package/dist/interface/ha/ConfigTriggerGeofence-BZi5a2Yv.js +4896 -0
  186. package/dist/interface/ha/ConfigTriggerManual-ConxhgNx.js +14 -0
  187. package/dist/interface/ha/ConfigTriggerMqtt-B6C9injX.js +134 -0
  188. package/dist/interface/ha/ConfigTriggerSchedule-Vv5iNKL3.js +72 -0
  189. package/dist/interface/ha/ConfigTriggerSensor-beixHfSD.js +73 -0
  190. package/dist/interface/ha/ConfigTriggerSystem-BHDpn485.js +188 -0
  191. package/dist/interface/ha/ConfigTriggerWebhook-D9cuCU_p.js +94 -0
  192. package/dist/interface/ha/Console-CbQnrt6X.js +348 -0
  193. package/dist/interface/ha/CuiAutomationRunsDialog-CckgCRNS.js +130 -0
  194. package/dist/interface/ha/CuiBottomSheet-juhGdTsO.js +270 -0
  195. package/dist/interface/ha/CuiCameraRecordings-CLzZiXhk.js +552 -0
  196. package/dist/interface/ha/CuiCameraShares-Dzx1jZGE.js +121 -0
  197. package/dist/interface/ha/CuiCameraTable-ug0ik9N-.js +153 -0
  198. package/dist/interface/ha/CuiChartTable-7EnAA-WG.js +6784 -0
  199. package/dist/interface/ha/CuiConsole-DOnyBSL7.js +244 -0
  200. package/dist/interface/ha/CuiDataTable-Cx9GBqsV.js +8725 -0
  201. package/dist/interface/ha/CuiList-C45psxFZ.js +57 -0
  202. package/dist/interface/ha/CuiMarkdownContent-D7sCtnNQ.js +4716 -0
  203. package/dist/interface/ha/CuiPluginCard-ChLIfOms.js +769 -0
  204. package/dist/interface/ha/CuiPluginOAuthButton-B6vPOEx2.js +105 -0
  205. package/dist/interface/ha/CuiPluginTrustBadge-BvPV93D0.js +123 -0
  206. package/dist/interface/ha/CuiQRCode-Djr3z54t.js +86 -0
  207. package/dist/interface/ha/CuiSchema-dl7TXv-k.js +963 -0
  208. package/dist/interface/ha/CuiTopNavbarItem-BXoda5eM.js +141 -0
  209. package/dist/interface/ha/Faces-DnqWMGWW.js +1281 -0
  210. package/dist/interface/ha/FirstSteps-CFawb017.js +251 -0
  211. package/dist/interface/ha/Floorplan-Mv-Ootly.js +3677 -0
  212. package/dist/interface/ha/Instances-DJjZ3btI.js +680 -0
  213. package/dist/interface/ha/Logs-CLFhW1xq.js +418 -0
  214. package/dist/interface/ha/Menu-D7QTRqMJ.js +161 -0
  215. package/dist/interface/ha/Metrics-CCvFtezL.js +1330 -0
  216. package/dist/interface/ha/OAuthDeviceFlow-4YupTNsK.js +112 -0
  217. package/dist/interface/ha/Plugin-BHU0yhBa.js +1404 -0
  218. package/dist/interface/ha/PluginConsole-CNrLuFQM.js +56 -0
  219. package/dist/interface/ha/PluginDetail-Bm3X-xN4.js +230 -0
  220. package/dist/interface/ha/PluginSearch-C0be8cYD.js +475 -0
  221. package/dist/interface/ha/PluginUpdateProgress-DVvgYMLG.js +34 -0
  222. package/dist/interface/ha/Plugins-R-uz0Se-.js +705 -0
  223. package/dist/interface/ha/Recordings-DAwbihs8.js +1463 -0
  224. package/dist/interface/ha/SensorEdit-BxE1cRLR.js +1460 -0
  225. package/dist/interface/ha/SensorHistory-DUGlH2pU.js +54 -0
  226. package/dist/interface/ha/Sensors-Cax5RlPH.js +1358 -0
  227. package/dist/interface/ha/Settings-DKtlCoyz.js +218 -0
  228. package/dist/interface/ha/SettingsAccount-2e_Vjpev.js +970 -0
  229. package/dist/interface/ha/SettingsAppearance-DCm60FhX.js +220 -0
  230. package/dist/interface/ha/SettingsBackup-CiM_nNWt.js +556 -0
  231. package/dist/interface/ha/SettingsList-D4D3cmLo.js +40 -0
  232. package/dist/interface/ha/SettingsMqtt-CID4L0PD.js +526 -0
  233. package/dist/interface/ha/SettingsNotifications-DGJkhm8T.js +529 -0
  234. package/dist/interface/ha/SettingsPermissions-Cd0rtgli.js +84 -0
  235. package/dist/interface/ha/SettingsRecordings-pR4L0wgy.js +151 -0
  236. package/dist/interface/ha/SettingsRemote-CYg-LSQK.js +1810 -0
  237. package/dist/interface/ha/SettingsSystem-BeYJN1Ut.js +376 -0
  238. package/dist/interface/ha/SettingsUsers-F4CZggSR.js +379 -0
  239. package/dist/interface/ha/Terminal-iQahUx9P.js +631 -0
  240. package/dist/interface/ha/Updates-ClQ77p-o.js +356 -0
  241. package/dist/interface/ha/VariableInput-BOHBmNff.js +52 -0
  242. package/dist/interface/ha/VariableSuggestions-BE06z6SW.js +201 -0
  243. package/dist/interface/ha/VersionsHandler-Cx9u0oj8.js +211 -0
  244. package/dist/interface/ha/VirtualSensorCreate-CvSzLo4N.js +101 -0
  245. package/dist/interface/ha/Workers-CEJtdSu-.js +765 -0
  246. package/dist/interface/ha/accordion-BT2wHwK8.js +577 -0
  247. package/dist/interface/ha/account-B1xL2wxD.js +19 -0
  248. package/dist/interface/ha/ace-Dh61T4RV.js +13238 -0
  249. package/dist/interface/ha/ace.config-HyzcNHkM.js +1429 -0
  250. package/dist/interface/ha/alert-circle-CLRn5GAd.js +19 -0
  251. package/dist/interface/ha/alert-outline-CGTMAqXf.js +75 -0
  252. package/dist/interface/ha/api-BmNBy1ay.js +29 -0
  253. package/dist/interface/ha/api-CWJkvtnM.js +60866 -0
  254. package/dist/interface/ha/arrow-left-DkvcResi.js +19 -0
  255. package/dist/interface/ha/auth-X6tkVYJs.js +271 -0
  256. package/dist/interface/ha/autocomplete-L_jK3s3m.js +1373 -0
  257. package/dist/interface/ha/automationBlueprint-D1TiCF7R.js +249 -0
  258. package/dist/interface/ha/back-filled-Cxzg5vQg.js +20 -0
  259. package/dist/interface/ha/base-D_LAf3cS.js +26 -0
  260. package/dist/interface/ha/base-c1lsE5TW.js +125 -0
  261. package/dist/interface/ha/bell-ring-xrXdzNHW.js +19 -0
  262. package/dist/interface/ha/brain-DyOOk3m3.js +19 -0
  263. package/dist/interface/ha/browser-Bxx7joo_.js +1227 -0
  264. package/dist/interface/ha/browserconfig.xml +11 -0
  265. package/dist/interface/ha/button-BlYuI0Q7.js +406 -0
  266. package/dist/interface/ha/cameraui-cards.js +190 -0
  267. package/dist/interface/ha/cards-CNOyNWMA.js +13316 -0
  268. package/dist/interface/ha/cctv-Bz6BH0ns.js +19 -0
  269. package/dist/interface/ha/check-circle-D_wDxrLs.js +19 -0
  270. package/dist/interface/ha/chevron-down-P5MtUhJO.js +19 -0
  271. package/dist/interface/ha/chip-DxGABeun.js +149 -0
  272. package/dist/interface/ha/clock-outline-JxApewmA.js +19 -0
  273. package/dist/interface/ha/close-Eq3txTBS.js +19 -0
  274. package/dist/interface/ha/close-circle-C2nTtN_-.js +19 -0
  275. package/dist/interface/ha/config-E4Jkelkr.js +116 -0
  276. package/dist/interface/ha/content-copy-DpPXKtKE.js +19 -0
  277. package/dist/interface/ha/copy-C48Ur26H.js +22 -0
  278. package/dist/interface/ha/datepicker-BuvKhBWJ.js +3236 -0
  279. package/dist/interface/ha/definitions-E-sY7Cxg.js +23 -0
  280. package/dist/interface/ha/delete-D-m8mqly.js +19 -0
  281. package/dist/interface/ha/dist-B7lgvbyI.js +279 -0
  282. package/dist/interface/ha/dist-Ca9_5rzq.js +3457 -0
  283. package/dist/interface/ha/divider-jkWvVbPJ.js +110 -0
  284. package/dist/interface/ha/download-Cnr7IQKX.js +19 -0
  285. package/dist/interface/ha/esm-1sIZN4t7.js +6 -0
  286. package/dist/interface/ha/esm-6hnPZcZr.js +15 -0
  287. package/dist/interface/ha/esm-B72ViJ7F.js +5 -0
  288. package/dist/interface/ha/esm-BGlkcEes.js +156 -0
  289. package/dist/interface/ha/esm-BKPZuThK.js +5 -0
  290. package/dist/interface/ha/esm-BMx7MsZ_.js +15 -0
  291. package/dist/interface/ha/esm-CChFtwcx.js +21 -0
  292. package/dist/interface/ha/esm-CMTmAdHP.js +5 -0
  293. package/dist/interface/ha/esm-CkoEL9YX.js +7 -0
  294. package/dist/interface/ha/esm-CvxDASXR.js +23 -0
  295. package/dist/interface/ha/esm-Demxl4zQ.js +5 -0
  296. package/dist/interface/ha/esm-DiBhi9zp.js +5 -0
  297. package/dist/interface/ha/esm-XFPB9fYb.js +15 -0
  298. package/dist/interface/ha/eventLabels-B4C1_4vT.js +42 -0
  299. package/dist/interface/ha/eye-off-AdumIw0H.js +33 -0
  300. package/dist/interface/ha/eye-off-outline-DO3xfiua.js +19 -0
  301. package/dist/interface/ha/fonts/InterVariable.woff2 +0 -0
  302. package/dist/interface/ha/history-BoZc8mgf.js +19 -0
  303. package/dist/interface/ha/home-am0tRTsk.js +19 -0
  304. package/dist/interface/ha/information-outline-DIdNxPCN.js +19 -0
  305. package/dist/interface/ha/inputicon-6-vaPLbw.js +324 -0
  306. package/dist/interface/ha/inputnumber-B1Buq8Nc.js +1033 -0
  307. package/dist/interface/ha/inputtext-DGIESrd0.js +257 -0
  308. package/dist/interface/ha/intercomService-jB2mTgsn.js +1406 -0
  309. package/dist/interface/ha/message-C8U_kMBA.js +244 -0
  310. package/dist/interface/ha/minus-DKa9TXat.js +19 -0
  311. package/dist/interface/ha/minus-QyTgaT70.js +46 -0
  312. package/dist/interface/ha/mqtt-BmDCmG9h.js +56 -0
  313. package/dist/interface/ha/multiselect-BbgV_fPx.js +1492 -0
  314. package/dist/interface/ha/native-BaNeloQn.js +35 -0
  315. package/dist/interface/ha/native-C8PbNqsJ.js +29 -0
  316. package/dist/interface/ha/notifications-B51yvrGL.js +159 -0
  317. package/dist/interface/ha/og-share.png +0 -0
  318. package/dist/interface/ha/pencil-outline-BqfTDXIh.js +19 -0
  319. package/dist/interface/ha/pinia-3D39Do4a.js +6934 -0
  320. package/dist/interface/ha/platformLabels-C3d1PLg-.js +27 -0
  321. package/dist/interface/ha/plugin-DAGqBiG_.js +38 -0
  322. package/dist/interface/ha/plugins-dkWbXWVM.js +592 -0
  323. package/dist/interface/ha/plus-CNdrByQb.js +46 -0
  324. package/dist/interface/ha/plus-d_caPq5l.js +19 -0
  325. package/dist/interface/ha/progressbar-CIoPoMSe.js +95 -0
  326. package/dist/interface/ha/protocol-BB4jdtUC-K1r3LFCq.js +706 -0
  327. package/dist/interface/ha/pwa/apple-splash-landscape-dark-1136x640.png +0 -0
  328. package/dist/interface/ha/pwa/apple-splash-landscape-dark-1334x750.png +0 -0
  329. package/dist/interface/ha/pwa/apple-splash-landscape-dark-1792x828.png +0 -0
  330. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2048x1536.png +0 -0
  331. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2160x1620.png +0 -0
  332. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2208x1242.png +0 -0
  333. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2224x1668.png +0 -0
  334. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2388x1668.png +0 -0
  335. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2436x1125.png +0 -0
  336. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2532x1170.png +0 -0
  337. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2556x1179.png +0 -0
  338. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2688x1242.png +0 -0
  339. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2732x2048.png +0 -0
  340. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2778x1284.png +0 -0
  341. package/dist/interface/ha/pwa/apple-splash-landscape-dark-2796x1290.png +0 -0
  342. package/dist/interface/ha/pwa/apple-splash-landscape-light-1136x640.png +0 -0
  343. package/dist/interface/ha/pwa/apple-splash-landscape-light-1334x750.png +0 -0
  344. package/dist/interface/ha/pwa/apple-splash-landscape-light-1792x828.png +0 -0
  345. package/dist/interface/ha/pwa/apple-splash-landscape-light-2048x1536.png +0 -0
  346. package/dist/interface/ha/pwa/apple-splash-landscape-light-2160x1620.png +0 -0
  347. package/dist/interface/ha/pwa/apple-splash-landscape-light-2208x1242.png +0 -0
  348. package/dist/interface/ha/pwa/apple-splash-landscape-light-2224x1668.png +0 -0
  349. package/dist/interface/ha/pwa/apple-splash-landscape-light-2388x1668.png +0 -0
  350. package/dist/interface/ha/pwa/apple-splash-landscape-light-2436x1125.png +0 -0
  351. package/dist/interface/ha/pwa/apple-splash-landscape-light-2532x1170.png +0 -0
  352. package/dist/interface/ha/pwa/apple-splash-landscape-light-2556x1179.png +0 -0
  353. package/dist/interface/ha/pwa/apple-splash-landscape-light-2688x1242.png +0 -0
  354. package/dist/interface/ha/pwa/apple-splash-landscape-light-2732x2048.png +0 -0
  355. package/dist/interface/ha/pwa/apple-splash-landscape-light-2778x1284.png +0 -0
  356. package/dist/interface/ha/pwa/apple-splash-landscape-light-2796x1290.png +0 -0
  357. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1125x2436.png +0 -0
  358. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1170x2532.png +0 -0
  359. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1179x2556.png +0 -0
  360. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1242x2208.png +0 -0
  361. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1242x2688.png +0 -0
  362. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1284x2778.png +0 -0
  363. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1290x2796.png +0 -0
  364. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1536x2048.png +0 -0
  365. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1620x2160.png +0 -0
  366. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1668x2224.png +0 -0
  367. package/dist/interface/ha/pwa/apple-splash-portrait-dark-1668x2388.png +0 -0
  368. package/dist/interface/ha/pwa/apple-splash-portrait-dark-2048x2732.png +0 -0
  369. package/dist/interface/ha/pwa/apple-splash-portrait-dark-640x1136.png +0 -0
  370. package/dist/interface/ha/pwa/apple-splash-portrait-dark-750x1334.png +0 -0
  371. package/dist/interface/ha/pwa/apple-splash-portrait-dark-828x1792.png +0 -0
  372. package/dist/interface/ha/pwa/apple-splash-portrait-light-1125x2436.png +0 -0
  373. package/dist/interface/ha/pwa/apple-splash-portrait-light-1170x2532.png +0 -0
  374. package/dist/interface/ha/pwa/apple-splash-portrait-light-1179x2556.png +0 -0
  375. package/dist/interface/ha/pwa/apple-splash-portrait-light-1242x2208.png +0 -0
  376. package/dist/interface/ha/pwa/apple-splash-portrait-light-1242x2688.png +0 -0
  377. package/dist/interface/ha/pwa/apple-splash-portrait-light-1284x2778.png +0 -0
  378. package/dist/interface/ha/pwa/apple-splash-portrait-light-1290x2796.png +0 -0
  379. package/dist/interface/ha/pwa/apple-splash-portrait-light-1536x2048.png +0 -0
  380. package/dist/interface/ha/pwa/apple-splash-portrait-light-1620x2160.png +0 -0
  381. package/dist/interface/ha/pwa/apple-splash-portrait-light-1668x2224.png +0 -0
  382. package/dist/interface/ha/pwa/apple-splash-portrait-light-1668x2388.png +0 -0
  383. package/dist/interface/ha/pwa/apple-splash-portrait-light-2048x2732.png +0 -0
  384. package/dist/interface/ha/pwa/apple-splash-portrait-light-640x1136.png +0 -0
  385. package/dist/interface/ha/pwa/apple-splash-portrait-light-750x1334.png +0 -0
  386. package/dist/interface/ha/pwa/apple-splash-portrait-light-828x1792.png +0 -0
  387. package/dist/interface/ha/pwa/apple-touch-icon-180x180.png +0 -0
  388. package/dist/interface/ha/pwa/favicon-16.ico +0 -0
  389. package/dist/interface/ha/pwa/favicon-32.ico +0 -0
  390. package/dist/interface/ha/pwa/favicon-48.ico +0 -0
  391. package/dist/interface/ha/pwa/favicon-64.ico +0 -0
  392. package/dist/interface/ha/pwa/logo.svg +1 -0
  393. package/dist/interface/ha/pwa/maskable-icon-1240x600.png +0 -0
  394. package/dist/interface/ha/pwa/maskable-icon-512x512.png +0 -0
  395. package/dist/interface/ha/pwa/maskable-icon-620x300.png +0 -0
  396. package/dist/interface/ha/pwa/pwa-1024x1024.png +0 -0
  397. package/dist/interface/ha/pwa/pwa-120x120.png +0 -0
  398. package/dist/interface/ha/pwa/pwa-144x144.png +0 -0
  399. package/dist/interface/ha/pwa/pwa-152x152.png +0 -0
  400. package/dist/interface/ha/pwa/pwa-167x167.png +0 -0
  401. package/dist/interface/ha/pwa/pwa-180x180.png +0 -0
  402. package/dist/interface/ha/pwa/pwa-192x192.png +0 -0
  403. package/dist/interface/ha/pwa/pwa-24x24.png +0 -0
  404. package/dist/interface/ha/pwa/pwa-300x300.png +0 -0
  405. package/dist/interface/ha/pwa/pwa-36x36.png +0 -0
  406. package/dist/interface/ha/pwa/pwa-48x48.png +0 -0
  407. package/dist/interface/ha/pwa/pwa-50x50.png +0 -0
  408. package/dist/interface/ha/pwa/pwa-64x64.png +0 -0
  409. package/dist/interface/ha/pwa/pwa-72x72.png +0 -0
  410. package/dist/interface/ha/pwa/pwa-88x88.png +0 -0
  411. package/dist/interface/ha/pwa/pwa-96x96.png +0 -0
  412. package/dist/interface/ha/radar-C7lI26j4.js +19 -0
  413. package/dist/interface/ha/refresh-BIhepekY.js +19 -0
  414. package/dist/interface/ha/ring-resize-VS4MSeBv.js +16 -0
  415. package/dist/interface/ha/ripple-BilzxWfY.js +2928 -0
  416. package/dist/interface/ha/robots.txt +2 -0
  417. package/dist/interface/ha/rolldown-runtime-CEFd7nDs.js +30 -0
  418. package/dist/interface/ha/rooms-B-FUXQ1p.js +45 -0
  419. package/dist/interface/ha/round-alt-arrow-left-bold-CWEg-ZLF.js +37 -0
  420. package/dist/interface/ha/runtime-core.esm-bundler-D8slQ3BU.js +3295 -0
  421. package/dist/interface/ha/search-CoOsbgeb.js +19 -0
  422. package/dist/interface/ha/select-DjWkRqsI.js +1382 -0
  423. package/dist/interface/ha/server-CKJKoFfg.js +239 -0
  424. package/dist/interface/ha/settings-EKkSQLzv.js +22 -0
  425. package/dist/interface/ha/source-branch-CZwSOrQA.js +19 -0
  426. package/dist/interface/ha/speeddial-Dv9txWte.js +682 -0
  427. package/dist/interface/ha/spinner-D6iUldg9.js +46 -0
  428. package/dist/interface/ha/synapse-CGrlyQDE.js +35 -0
  429. package/dist/interface/ha/tag-CXgC9OZ6.js +95 -0
  430. package/dist/interface/ha/textarea-DvLkfUX7.js +130 -0
  431. package/dist/interface/ha/tooltip-BIrD_hC8.js +277 -0
  432. package/dist/interface/ha/trash-2-C4zSCZfs.js +23 -0
  433. package/dist/interface/ha/trash-can-outline-DCqsCOd2.js +19 -0
  434. package/dist/interface/ha/trash-fill-BPsrwR8X.js +21 -0
  435. package/dist/interface/ha/types-C7MzwoQR.js +28 -0
  436. package/dist/interface/ha/types-J_J0HKlK.js +1032 -0
  437. package/dist/interface/ha/ungrouped-BpaM88Y-.js +1116 -0
  438. package/dist/interface/ha/updates-BdVmkKAa.js +341 -0
  439. package/dist/interface/ha/upload-2xJkVPZE.js +19 -0
  440. package/dist/interface/ha/upload-wQHBRZX_.js +23 -0
  441. package/dist/interface/ha/useAppVersion-DzDaOsKc.js +22 -0
  442. package/dist/interface/ha/useLogsSocket-CWUE-KXV.js +59 -0
  443. package/dist/interface/ha/useNavLayout-BqpyvD2F.js +125 -0
  444. package/dist/interface/ha/usePermissions-BIUeW4ef.js +72 -0
  445. package/dist/interface/ha/useServerRestart-0c4gA1fG.js +23 -0
  446. package/dist/interface/ha/useTabSwipe-C8LdKw23.js +45 -0
  447. package/dist/interface/ha/useUpdateChannel-CHVLthZB.js +22 -0
  448. package/dist/interface/ha/useUpdatesSocket-CaxEs511.js +34 -0
  449. package/dist/interface/ha/useUserOptions-Rk_71WAK.js +15 -0
  450. package/dist/interface/ha/utils-DYtBrGDz.js +7 -0
  451. package/dist/interface/ha/virtualscroller-s_gNqN5p.js +996 -0
  452. package/dist/interface/ha/vue-flow-background-B0Vu4-8M.js +6840 -0
  453. package/dist/interface/ha/vue-i18n-Dcb07o5U.js +2409 -0
  454. package/dist/interface/ha/web-0Kyq65na.js +78 -0
  455. package/dist/interface/ha/web-B7Dt2zZN.js +340 -0
  456. package/dist/interface/ha/web-BNdrPSpb.js +102 -0
  457. package/dist/interface/ha/web-BPBZBCtX.js +8 -0
  458. package/dist/interface/ha/web-BjKL51lK-qwJdIpM1.js +221 -0
  459. package/dist/interface/ha/web-C01i9qI1.js +57 -0
  460. package/dist/interface/ha/web-CH3JeXWa.js +211 -0
  461. package/dist/interface/ha/web-Cpm1-DVe.js +33 -0
  462. package/dist/interface/ha/web-DqRMXrnx.js +31 -0
  463. package/dist/interface/ha/web-DtVT7WYt.js +17 -0
  464. package/dist/interface/ha/web-DxJQZCiR.js +59 -0
  465. package/dist/interface/ha/web-I7Urp4AE.js +46 -0
  466. package/dist/interface/ha/web-aSaPk7kr.js +57 -0
  467. package/dist/interface/ha/web-pMey9p3Y.js +79 -0
  468. package/dist/interface/ha/xterm-B6xA6E5i.js +14833 -0
  469. package/dist/interface/ha/zoom-in-CNVB9H3D.js +41 -0
  470. package/dist/interface/index.html +29 -29
  471. package/dist/interface/sw.js +1 -1
  472. package/dist/server/package.json +10 -10
  473. package/dist/server/requirements.txt +3 -3
  474. package/dist/server/src/_camera_ui_tools/camera_ui_rpc/client.py +9 -6
  475. package/dist/server/src/_camera_ui_tools/camera_ui_rpc/types.py +2 -2
  476. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/__init__.py +4 -2
  477. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/config.py +8 -0
  478. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/camera/device.py +4 -3
  479. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/internal/__init__.py +6 -0
  480. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/internal/sensor_rpc.py +17 -6
  481. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/manager/__init__.py +24 -70
  482. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/plugin/interfaces.py +46 -19
  483. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/sensor/__init__.py +2 -0
  484. package/dist/server/src/_camera_ui_tools/camera_ui_sdk/sensor/base.py +65 -8
  485. package/dist/server/src/api/database/index.d.ts +1 -1
  486. package/dist/server/src/api/database/index.js +4 -32
  487. package/dist/server/src/api/database/index.js.map +1 -1
  488. package/dist/server/src/api/database/migrations/v2-1-17.d.ts +3 -0
  489. package/dist/server/src/api/database/migrations/v2-1-17.js +14 -0
  490. package/dist/server/src/api/database/migrations/v2-1-17.js.map +1 -0
  491. package/dist/server/src/api/database/migrations/v2-1-18.d.ts +3 -0
  492. package/dist/server/src/api/database/migrations/v2-1-18.js +24 -0
  493. package/dist/server/src/api/database/migrations/v2-1-18.js.map +1 -0
  494. package/dist/server/src/api/database/record-schemas.d.ts +1 -0
  495. package/dist/server/src/api/database/types.d.ts +4 -3
  496. package/dist/server/src/api/schemas/cameras.schema.d.ts +53 -15
  497. package/dist/server/src/api/schemas/cameras.schema.js +5 -1
  498. package/dist/server/src/api/schemas/cameras.schema.js.map +1 -1
  499. package/dist/server/src/api/schemas/users.schema.d.ts +7 -0
  500. package/dist/server/src/api/schemas/users.schema.js +1 -1
  501. package/dist/server/src/api/schemas/users.schema.js.map +1 -1
  502. package/dist/server/src/api/services/cameras.service.js +14 -21
  503. package/dist/server/src/api/services/cameras.service.js.map +1 -1
  504. package/dist/server/src/api/services/sensors.service.d.ts +3 -3
  505. package/dist/server/src/api/services/sensors.service.js +3 -24
  506. package/dist/server/src/api/services/sensors.service.js.map +1 -1
  507. package/dist/server/src/api/services/server.service.js +1 -1
  508. package/dist/server/src/api/services/server.service.js.map +1 -1
  509. package/dist/server/src/api/utils/cert.js +18 -8
  510. package/dist/server/src/api/utils/cert.js.map +1 -1
  511. package/dist/server/src/api/utils/regex.d.ts +2 -0
  512. package/dist/server/src/api/utils/regex.js +2 -0
  513. package/dist/server/src/api/utils/regex.js.map +1 -1
  514. package/dist/server/src/api/websocket/nsp/sensors.d.ts +3 -1
  515. package/dist/server/src/api/websocket/nsp/sensors.js +13 -3
  516. package/dist/server/src/api/websocket/nsp/sensors.js.map +1 -1
  517. package/dist/server/src/camera/decoder/debug/detection-record.d.ts +3 -1
  518. package/dist/server/src/camera/decoder/debug/detection-record.js +6 -2
  519. package/dist/server/src/camera/decoder/debug/detection-record.js.map +1 -1
  520. package/dist/server/src/camera/decoder/detection-coordinator.d.ts +2 -0
  521. package/dist/server/src/camera/decoder/detection-coordinator.js +44 -25
  522. package/dist/server/src/camera/decoder/detection-coordinator.js.map +1 -1
  523. package/dist/server/src/camera/decoder/detection-pipeline.d.ts +3 -1
  524. package/dist/server/src/camera/decoder/detection-pipeline.js +3 -22
  525. package/dist/server/src/camera/decoder/detection-pipeline.js.map +1 -1
  526. package/dist/server/src/camera/decoder/event-manager.d.ts +4 -3
  527. package/dist/server/src/camera/decoder/event-manager.js +17 -5
  528. package/dist/server/src/camera/decoder/event-manager.js.map +1 -1
  529. package/dist/server/src/camera/decoder/event-thumbnailer.d.ts +3 -0
  530. package/dist/server/src/camera/decoder/event-thumbnailer.js +13 -8
  531. package/dist/server/src/camera/decoder/event-thumbnailer.js.map +1 -1
  532. package/dist/server/src/camera/decoder/event-trace.d.ts +58 -0
  533. package/dist/server/src/camera/decoder/event-trace.js +118 -0
  534. package/dist/server/src/camera/decoder/event-trace.js.map +1 -0
  535. package/dist/server/src/camera/decoder/nvr-sink.d.ts +2 -0
  536. package/dist/server/src/camera/decoder/nvr-sink.js.map +1 -1
  537. package/dist/server/src/camera/decoder/reconnect-backoff.js +1 -1
  538. package/dist/server/src/camera/decoder/reconnect-backoff.js.map +1 -1
  539. package/dist/server/src/camera/decoder/sources/analysis-source.d.ts +1 -0
  540. package/dist/server/src/camera/decoder/sources/buffered-source.d.ts +7 -1
  541. package/dist/server/src/camera/decoder/sources/buffered-source.js +27 -15
  542. package/dist/server/src/camera/decoder/sources/buffered-source.js.map +1 -1
  543. package/dist/server/src/camera/decoder/sources/frame-handle.d.ts +2 -1
  544. package/dist/server/src/camera/decoder/sources/frame-handle.js +5 -3
  545. package/dist/server/src/camera/decoder/sources/frame-handle.js.map +1 -1
  546. package/dist/server/src/camera/decoder/sources/frame-source.d.ts +1 -0
  547. package/dist/server/src/camera/decoder/sources/frame-source.js +7 -2
  548. package/dist/server/src/camera/decoder/sources/frame-source.js.map +1 -1
  549. package/dist/server/src/camera/decoder/sources/rtp-index.d.ts +9 -0
  550. package/dist/server/src/camera/decoder/sources/rtp-index.js +24 -0
  551. package/dist/server/src/camera/decoder/sources/rtp-index.js.map +1 -0
  552. package/dist/server/src/camera/decoder/worker.js +1 -0
  553. package/dist/server/src/camera/decoder/worker.js.map +1 -1
  554. package/dist/server/src/camera/streaming/rtp-session.js +12 -9
  555. package/dist/server/src/camera/streaming/rtp-session.js.map +1 -1
  556. package/dist/server/src/go2rtc/types.d.ts +1 -1
  557. package/dist/server/src/go2rtc/types.js +1 -1
  558. package/dist/server/src/go2rtc/types.js.map +1 -1
  559. package/dist/server/src/plugins/runtime/node/child.js +1 -0
  560. package/dist/server/src/plugins/runtime/node/child.js.map +1 -1
  561. package/dist/server/src/plugins/runtime/node/proxy/cameraDevice.js +3 -0
  562. package/dist/server/src/plugins/runtime/node/proxy/cameraDevice.js.map +1 -1
  563. package/dist/server/src/plugins/runtime/node/proxy/sensorManager.d.ts +2 -5
  564. package/dist/server/src/plugins/runtime/node/proxy/sensorManager.js +95 -24
  565. package/dist/server/src/plugins/runtime/node/proxy/sensorManager.js.map +1 -1
  566. package/dist/server/src/plugins/runtime/python/child.py +1 -0
  567. package/dist/server/src/plugins/runtime/python/proxy/camera_device.py +9 -0
  568. package/dist/server/src/plugins/runtime/python/proxy/sensor.py +2 -1
  569. package/dist/server/src/plugins/runtime/python/proxy/sensor_manager.py +185 -88
  570. package/dist/server/src/plugins/runtime/python/typings.py +18 -0
  571. package/dist/server/src/rpc/interfaces/sensor.d.ts +19 -4
  572. package/dist/server/src/sensors/discovery.d.ts +1 -1
  573. package/dist/server/src/sensors/discovery.js +12 -21
  574. package/dist/server/src/sensors/discovery.js.map +1 -1
  575. package/dist/server/src/sensors/registry.d.ts +6 -2
  576. package/dist/server/src/sensors/registry.js +75 -6
  577. package/dist/server/src/sensors/registry.js.map +1 -1
  578. package/dist/server/src/services/config/defaults.js +1 -1
  579. package/dist/server/src/services/config/defaults.js.map +1 -1
  580. package/dist/server/src/services/config/index.js +4 -6
  581. package/dist/server/src/services/config/index.js.map +1 -1
  582. package/dist/server/src/utils/camera.d.ts +12 -2
  583. package/dist/server/src/utils/camera.js +27 -1
  584. package/dist/server/src/utils/camera.js.map +1 -1
  585. package/dist/server/src/workers/pairing.js +17 -8
  586. package/dist/server/src/workers/pairing.js.map +1 -1
  587. package/package.json +10 -10
  588. package/dist/interface/assets/Automation-COZFDnKK.js +0 -3
  589. package/dist/interface/assets/AutomationStoreDetail-BQ2fER7x.js +0 -2
  590. package/dist/interface/assets/Automations-QmfGIQXO.js +0 -2
  591. package/dist/interface/assets/Camera-g95slrO0.js +0 -2
  592. package/dist/interface/assets/Cameras-BO4SDgY0.js +0 -652
  593. package/dist/interface/assets/Camview-yzOY3cnD.js +0 -1
  594. package/dist/interface/assets/ConfigActionNotification-CbhQpAqn.js +0 -1
  595. package/dist/interface/assets/ConfigConditionSwitch-CA-tuT-G.js +0 -1
  596. package/dist/interface/assets/ConfigTriggerGeofence-sbEglk8c.js +0 -1
  597. package/dist/interface/assets/Console-B78qXoaH.js +0 -1
  598. package/dist/interface/assets/CuiBottomSheet-BjkvcU8T.js +0 -1
  599. package/dist/interface/assets/CuiCameraPipCard-BOky075i.js +0 -1
  600. package/dist/interface/assets/CuiCameraRecordings-BzbwSK8-.css +0 -1
  601. package/dist/interface/assets/CuiCameraRecordings-DIBgpGaS.js +0 -1
  602. package/dist/interface/assets/CuiCameraTable-DwRywA0z.js +0 -1
  603. package/dist/interface/assets/CuiLightControl-CsK2cn7L.js +0 -1
  604. package/dist/interface/assets/CuiMarkdownContent-CckAX6Ci.js +0 -1
  605. package/dist/interface/assets/CuiPluginCard-C-1ZhHi8.js +0 -2
  606. package/dist/interface/assets/CuiSchema-CxRd72K7.js +0 -1
  607. package/dist/interface/assets/Faces-kl1hwT5M.js +0 -1
  608. package/dist/interface/assets/FirstSteps-BYGvfH-S.js +0 -1
  609. package/dist/interface/assets/Floorplan-DNd9aQv3.js +0 -1
  610. package/dist/interface/assets/Instances-aZApGeHu.js +0 -1
  611. package/dist/interface/assets/Metrics-D5UHs6wj.js +0 -9
  612. package/dist/interface/assets/OAuthDeviceFlow-o2Irbs3_.js +0 -1
  613. package/dist/interface/assets/Plugin-CEpSsNQA.js +0 -1
  614. package/dist/interface/assets/PluginDetail-Ca-NJcL1.js +0 -2
  615. package/dist/interface/assets/PluginSearch-DurGrb4n.js +0 -1
  616. package/dist/interface/assets/PluginSearch-Tmg5vCQF.js +0 -2
  617. package/dist/interface/assets/Plugins-ocuSdXhB.js +0 -1
  618. package/dist/interface/assets/Recordings-CtSj2RuO.js +0 -1
  619. package/dist/interface/assets/SensorEdit-CcD4LvZr.js +0 -1
  620. package/dist/interface/assets/Sensors-CWjmo27p.js +0 -2
  621. package/dist/interface/assets/SettingsAccount-DQm9vFIT.js +0 -1
  622. package/dist/interface/assets/SettingsAccount-DekJwq5r.js +0 -1
  623. package/dist/interface/assets/SettingsAppearance-B7mm_vGf.js +0 -1
  624. package/dist/interface/assets/SettingsMqtt-D8grttey.js +0 -1
  625. package/dist/interface/assets/SettingsNotifications-BtFyN8J3.js +0 -1
  626. package/dist/interface/assets/SettingsRecordings-DVEsPab-.js +0 -1
  627. package/dist/interface/assets/SettingsRemote-Dqs-d-Xk.js +0 -2
  628. package/dist/interface/assets/Workers-L7PPidAd.js +0 -2
  629. package/dist/interface/assets/alert-outline-KxFvd3i6.js +0 -1
  630. package/dist/interface/assets/api-CEbDxsSY.css +0 -2
  631. package/dist/interface/assets/api-ou2-S3Z9.js +0 -2
  632. package/dist/interface/assets/cameras.schema-BzSBpeUl.js +0 -1
  633. package/dist/interface/assets/cloudHandoff-ChRx5fsr.js +0 -1
  634. package/dist/interface/assets/main-CT2dZ3bR.js +0 -3
  635. package/dist/interface/assets/nodeDefinitions-D6zhuw60.js +0 -1
  636. package/dist/interface/assets/sensorIcons-tORVN7ay.js +0 -1
  637. package/dist/interface/assets/theme-t4dIArYy.js +0 -1
  638. package/dist/interface/assets/types-D889aM6c.js +0 -1
  639. package/dist/interface/assets/types-Dg1X10xd.js +0 -1
  640. package/dist/interface/assets/ungrouped-Pn6rAXZt.js +0 -1
  641. package/dist/interface/assets/useBackupRestore-BcAR3KYA.js +0 -1
  642. package/dist/interface/assets/vendor-cameraui-OySaGjmo.js +0 -2326
  643. package/dist/interface/assets/vendor-core-BZ52eUwC.js +0 -1
  644. package/dist/interface/assets/vendor-zod-B0ZFM2Pr.js +0 -127
@@ -0,0 +1,996 @@
1
+ import { Ct as e, Et as t, F as n, R as r, et as i, gt as a, i as o, r as s, rt as c, s as l, y as u } from "./ripple-BilzxWfY.js";
2
+ import { G as d, H as f, K as p, M as m, d as h, f as g, o as _, p as v, q as y, r as b, u as x, y as S } from "./runtime-core.esm-bundler-D8slQ3BU.js";
3
+ import { t as C } from "./spinner-D6iUldg9.js";
4
+ //#region node_modules/@primeuix/utils/dist/zindex/index.mjs
5
+ function ee() {
6
+ let e = [], t = (t, n, r = 999) => {
7
+ let a = i(t, n, r), o = a.value + (a.key === t ? 0 : r) + 1;
8
+ return e.push({
9
+ key: t,
10
+ value: o
11
+ }), o;
12
+ }, n = (t) => {
13
+ e = e.filter((e) => e.value !== t);
14
+ }, r = (e, t) => i(e, t).value, i = (t, n, r = 0) => [...e].reverse().find((e) => n ? !0 : e.key === t) || {
15
+ key: t,
16
+ value: r
17
+ }, a = (e) => e && parseInt(e.style.zIndex, 10) || 0;
18
+ return {
19
+ get: a,
20
+ set: (e, n, r) => {
21
+ n && (n.style.zIndex = String(t(e, !0, r)));
22
+ },
23
+ clear: (e) => {
24
+ e && (n(a(e)), e.style.zIndex = "");
25
+ },
26
+ getCurrent: (e) => r(e, !0)
27
+ };
28
+ }
29
+ var w = ee();
30
+ //#endregion
31
+ //#region node_modules/@primevue/core/utils/index.mjs
32
+ function T(e) {
33
+ "@babel/helpers - typeof";
34
+ return T = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
35
+ return typeof e;
36
+ } : function(e) {
37
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
38
+ }, T(e);
39
+ }
40
+ function te(e, t) {
41
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
42
+ }
43
+ function ne(e, t) {
44
+ for (var n = 0; n < t.length; n++) {
45
+ var r = t[n];
46
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, D(r.key), r);
47
+ }
48
+ }
49
+ function E(e, t, n) {
50
+ return t && ne(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
51
+ }
52
+ function D(e) {
53
+ var t = re(e, "string");
54
+ return T(t) == "symbol" ? t : t + "";
55
+ }
56
+ function re(e, t) {
57
+ if (T(e) != "object" || !e) return e;
58
+ var n = e[Symbol.toPrimitive];
59
+ if (n !== void 0) {
60
+ var r = n.call(e, t);
61
+ if (T(r) != "object") return r;
62
+ throw TypeError("@@toPrimitive must return a primitive value.");
63
+ }
64
+ return String(e);
65
+ }
66
+ var O = /*#__PURE__*/ function() {
67
+ function e(t) {
68
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : function() {};
69
+ te(this, e), this.element = t, this.listener = n;
70
+ }
71
+ return E(e, [
72
+ {
73
+ key: "bindScrollListener",
74
+ value: function() {
75
+ this.scrollableParents = r(this.element);
76
+ for (var e = 0; e < this.scrollableParents.length; e++) this.scrollableParents[e].addEventListener("scroll", this.listener);
77
+ }
78
+ },
79
+ {
80
+ key: "unbindScrollListener",
81
+ value: function() {
82
+ if (this.scrollableParents) for (var e = 0; e < this.scrollableParents.length; e++) this.scrollableParents[e].removeEventListener("scroll", this.listener);
83
+ }
84
+ },
85
+ {
86
+ key: "destroy",
87
+ value: function() {
88
+ this.unbindScrollListener(), this.element = null, this.listener = null, this.scrollableParents = null;
89
+ }
90
+ }
91
+ ]);
92
+ }();
93
+ function k(e) {
94
+ "@babel/helpers - typeof";
95
+ return k = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
96
+ return typeof e;
97
+ } : function(e) {
98
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
99
+ }, k(e);
100
+ }
101
+ function A(e) {
102
+ return oe(e) || ae(e) || ie(e) || j();
103
+ }
104
+ function j() {
105
+ throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
106
+ }
107
+ function ie(e, t) {
108
+ if (e) {
109
+ if (typeof e == "string") return M(e, t);
110
+ var n = {}.toString.call(e).slice(8, -1);
111
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? M(e, t) : void 0;
112
+ }
113
+ }
114
+ function ae(e) {
115
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
116
+ }
117
+ function oe(e) {
118
+ if (Array.isArray(e)) return M(e);
119
+ }
120
+ function M(e, t) {
121
+ (t == null || t > e.length) && (t = e.length);
122
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
123
+ return r;
124
+ }
125
+ function N(e, t) {
126
+ if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
127
+ }
128
+ function P(e, t) {
129
+ for (var n = 0; n < t.length; n++) {
130
+ var r = t[n];
131
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, L(r.key), r);
132
+ }
133
+ }
134
+ function F(e, t, n) {
135
+ return t && P(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
136
+ }
137
+ function I(e, t, n) {
138
+ return (t = L(t)) in e ? Object.defineProperty(e, t, {
139
+ value: n,
140
+ enumerable: !0,
141
+ configurable: !0,
142
+ writable: !0
143
+ }) : e[t] = n, e;
144
+ }
145
+ function L(e) {
146
+ var t = R(e, "string");
147
+ return k(t) == "symbol" ? t : t + "";
148
+ }
149
+ function R(e, t) {
150
+ if (k(e) != "object" || !e) return e;
151
+ var n = e[Symbol.toPrimitive];
152
+ if (n !== void 0) {
153
+ var r = n.call(e, t);
154
+ if (k(r) != "object") return r;
155
+ throw TypeError("@@toPrimitive must return a primitive value.");
156
+ }
157
+ return String(e);
158
+ }
159
+ var z = /*#__PURE__*/ function() {
160
+ function e(t) {
161
+ var n = t.init, r = t.type;
162
+ N(this, e), I(this, "helpers", void 0), I(this, "type", void 0), this.helpers = new Set(n), this.type = r;
163
+ }
164
+ return F(e, [
165
+ {
166
+ key: "add",
167
+ value: function(e) {
168
+ this.helpers.add(e);
169
+ }
170
+ },
171
+ {
172
+ key: "update",
173
+ value: function() {}
174
+ },
175
+ {
176
+ key: "delete",
177
+ value: function(e) {
178
+ this.helpers.delete(e);
179
+ }
180
+ },
181
+ {
182
+ key: "clear",
183
+ value: function() {
184
+ this.helpers.clear();
185
+ }
186
+ },
187
+ {
188
+ key: "get",
189
+ value: function(e, t) {
190
+ var r = this._get(e, t), i = r ? this._recursive(A(this.helpers), r) : null;
191
+ return n(i) ? i : null;
192
+ }
193
+ },
194
+ {
195
+ key: "_isMatched",
196
+ value: function(e, t) {
197
+ var n, r = e?.parent;
198
+ return (r == null || (n = r.vnode) == null ? void 0 : n.key) === t || r && this._isMatched(r, t) || !1;
199
+ }
200
+ },
201
+ {
202
+ key: "_get",
203
+ value: function(e, t) {
204
+ var n, r;
205
+ return ((n = t || e?.$slots) == null || (r = n.default) == null ? void 0 : r.call(n)) || null;
206
+ }
207
+ },
208
+ {
209
+ key: "_recursive",
210
+ value: function() {
211
+ var e = this, t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], i = [];
212
+ return r.forEach(function(r) {
213
+ r.children instanceof Array ? i = i.concat(e._recursive(t, r.children)) : r.type.name === e.type ? i.push(r) : n(r.key) && (i = i.concat(t.filter(function(t) {
214
+ return e._isMatched(t, r.key);
215
+ }).map(function(e) {
216
+ return e.vnode;
217
+ })));
218
+ }), i;
219
+ }
220
+ }
221
+ ]);
222
+ }();
223
+ function B(e, t) {
224
+ if (e) {
225
+ var n = e.props;
226
+ if (n) {
227
+ var r = t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), i = Object.prototype.hasOwnProperty.call(n, r) ? r : t;
228
+ return e.type.extends.props[t].type === Boolean && n[i] === "" || n[i];
229
+ }
230
+ }
231
+ return null;
232
+ }
233
+ //#endregion
234
+ //#region node_modules/primevue/portal/index.mjs
235
+ var V = {
236
+ name: "Portal",
237
+ props: {
238
+ appendTo: {
239
+ type: [String, Object],
240
+ default: "body"
241
+ },
242
+ disabled: {
243
+ type: Boolean,
244
+ default: !1
245
+ }
246
+ },
247
+ data: function() {
248
+ return { mounted: !1 };
249
+ },
250
+ mounted: function() {
251
+ this.mounted = e();
252
+ },
253
+ computed: { inline: function() {
254
+ return this.disabled || this.appendTo === "self";
255
+ } }
256
+ };
257
+ function H(e, t, n, r, i, a) {
258
+ return a.inline ? p(e.$slots, "default", { key: 0 }) : i.mounted ? (f(), h(_, {
259
+ key: 1,
260
+ to: n.appendTo
261
+ }, [p(e.$slots, "default")], 8, ["to"])) : g("", !0);
262
+ }
263
+ V.render = H;
264
+ //#endregion
265
+ //#region node_modules/@primevue/icons/chevrondown/index.mjs
266
+ var U = {
267
+ name: "ChevronDownIcon",
268
+ extends: s
269
+ };
270
+ function W(e) {
271
+ return ce(e) || se(e) || K(e) || G();
272
+ }
273
+ function G() {
274
+ throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
275
+ }
276
+ function K(e, t) {
277
+ if (e) {
278
+ if (typeof e == "string") return q(e, t);
279
+ var n = {}.toString.call(e).slice(8, -1);
280
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? q(e, t) : void 0;
281
+ }
282
+ }
283
+ function se(e) {
284
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
285
+ }
286
+ function ce(e) {
287
+ if (Array.isArray(e)) return q(e);
288
+ }
289
+ function q(e, t) {
290
+ (t == null || t > e.length) && (t = e.length);
291
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
292
+ return r;
293
+ }
294
+ function le(e, t, n, r, i, a) {
295
+ return f(), v("svg", m({
296
+ width: "14",
297
+ height: "14",
298
+ viewBox: "0 0 14 14",
299
+ fill: "none",
300
+ xmlns: "http://www.w3.org/2000/svg"
301
+ }, e.pti()), W(t[0] ||= [x("path", {
302
+ d: "M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",
303
+ fill: "currentColor"
304
+ }, null, -1)]), 16);
305
+ }
306
+ U.render = le;
307
+ //#endregion
308
+ //#region node_modules/primevue/overlayeventbus/index.mjs
309
+ var ue = u(), J = l.extend({
310
+ name: "virtualscroller",
311
+ css: "\n.p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n transform: translateZ(0);\n will-change: scroll-position;\n outline: 0 none;\n}\n\n.p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n}\n\n.p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n transform-origin: 0 0;\n pointer-events: none;\n}\n\n.p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-virtualscroller-loader-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-virtualscroller-horizontal > .p-virtualscroller-content {\n display: flex;\n}\n\n.p-virtualscroller-inline .p-virtualscroller-content {\n position: static;\n}\n\n.p-virtualscroller .p-virtualscroller-loading {\n transform: none !important;\n min-height: 0;\n position: sticky;\n inset-block-start: 0;\n inset-inline-start: 0;\n}\n",
312
+ style: "\n .p-virtualscroller-loader {\n background: dt('virtualscroller.loader.mask.background');\n color: dt('virtualscroller.loader.mask.color');\n }\n\n .p-virtualscroller-loading-icon {\n font-size: dt('virtualscroller.loader.icon.size');\n width: dt('virtualscroller.loader.icon.size');\n height: dt('virtualscroller.loader.icon.size');\n }\n"
313
+ }), de = {
314
+ name: "BaseVirtualScroller",
315
+ extends: o,
316
+ props: {
317
+ id: {
318
+ type: String,
319
+ default: null
320
+ },
321
+ style: null,
322
+ class: null,
323
+ items: {
324
+ type: Array,
325
+ default: null
326
+ },
327
+ itemSize: {
328
+ type: [Number, Array],
329
+ default: 0
330
+ },
331
+ scrollHeight: null,
332
+ scrollWidth: null,
333
+ orientation: {
334
+ type: String,
335
+ default: "vertical"
336
+ },
337
+ numToleratedItems: {
338
+ type: Number,
339
+ default: null
340
+ },
341
+ delay: {
342
+ type: Number,
343
+ default: 0
344
+ },
345
+ resizeDelay: {
346
+ type: Number,
347
+ default: 10
348
+ },
349
+ lazy: {
350
+ type: Boolean,
351
+ default: !1
352
+ },
353
+ disabled: {
354
+ type: Boolean,
355
+ default: !1
356
+ },
357
+ loaderDisabled: {
358
+ type: Boolean,
359
+ default: !1
360
+ },
361
+ columns: {
362
+ type: Array,
363
+ default: null
364
+ },
365
+ loading: {
366
+ type: Boolean,
367
+ default: !1
368
+ },
369
+ showSpacer: {
370
+ type: Boolean,
371
+ default: !0
372
+ },
373
+ showLoader: {
374
+ type: Boolean,
375
+ default: !1
376
+ },
377
+ tabindex: {
378
+ type: Number,
379
+ default: 0
380
+ },
381
+ inline: {
382
+ type: Boolean,
383
+ default: !1
384
+ },
385
+ step: {
386
+ type: Number,
387
+ default: 0
388
+ },
389
+ appendOnly: {
390
+ type: Boolean,
391
+ default: !1
392
+ },
393
+ autoSize: {
394
+ type: Boolean,
395
+ default: !1
396
+ }
397
+ },
398
+ style: J,
399
+ provide: function() {
400
+ return {
401
+ $pcVirtualScroller: this,
402
+ $parentInstance: this
403
+ };
404
+ },
405
+ beforeMount: function() {
406
+ var e;
407
+ J.loadCSS({ nonce: (e = this.$primevueConfig) == null || (e = e.csp) == null ? void 0 : e.nonce });
408
+ }
409
+ };
410
+ function Y(e) {
411
+ "@babel/helpers - typeof";
412
+ return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
413
+ return typeof e;
414
+ } : function(e) {
415
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
416
+ }, Y(e);
417
+ }
418
+ function X(e, t) {
419
+ var n = Object.keys(e);
420
+ if (Object.getOwnPropertySymbols) {
421
+ var r = Object.getOwnPropertySymbols(e);
422
+ t && (r = r.filter(function(t) {
423
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
424
+ })), n.push.apply(n, r);
425
+ }
426
+ return n;
427
+ }
428
+ function Z(e) {
429
+ for (var t = 1; t < arguments.length; t++) {
430
+ var n = arguments[t] == null ? {} : arguments[t];
431
+ t % 2 ? X(Object(n), !0).forEach(function(t) {
432
+ Q(e, t, n[t]);
433
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X(Object(n)).forEach(function(t) {
434
+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
435
+ });
436
+ }
437
+ return e;
438
+ }
439
+ function Q(e, t, n) {
440
+ return (t = fe(t)) in e ? Object.defineProperty(e, t, {
441
+ value: n,
442
+ enumerable: !0,
443
+ configurable: !0,
444
+ writable: !0
445
+ }) : e[t] = n, e;
446
+ }
447
+ function fe(e) {
448
+ var t = pe(e, "string");
449
+ return Y(t) == "symbol" ? t : t + "";
450
+ }
451
+ function pe(e, t) {
452
+ if (Y(e) != "object" || !e) return e;
453
+ var n = e[Symbol.toPrimitive];
454
+ if (n !== void 0) {
455
+ var r = n.call(e, t);
456
+ if (Y(r) != "object") return r;
457
+ throw TypeError("@@toPrimitive must return a primitive value.");
458
+ }
459
+ return (t === "string" ? String : Number)(e);
460
+ }
461
+ var $ = {
462
+ name: "VirtualScroller",
463
+ extends: de,
464
+ inheritAttrs: !1,
465
+ emits: [
466
+ "update:numToleratedItems",
467
+ "scroll",
468
+ "scroll-index-change",
469
+ "lazy-load"
470
+ ],
471
+ data: function() {
472
+ var e = this.isBoth();
473
+ return {
474
+ first: e ? {
475
+ rows: 0,
476
+ cols: 0
477
+ } : 0,
478
+ last: e ? {
479
+ rows: 0,
480
+ cols: 0
481
+ } : 0,
482
+ page: e ? {
483
+ rows: 0,
484
+ cols: 0
485
+ } : 0,
486
+ numItemsInViewport: e ? {
487
+ rows: 0,
488
+ cols: 0
489
+ } : 0,
490
+ lastScrollPos: e ? {
491
+ top: 0,
492
+ left: 0
493
+ } : 0,
494
+ d_numToleratedItems: this.numToleratedItems,
495
+ d_loading: this.loading,
496
+ loaderArr: [],
497
+ spacerStyle: {},
498
+ contentStyle: {}
499
+ };
500
+ },
501
+ element: null,
502
+ content: null,
503
+ lastScrollPos: null,
504
+ scrollTimeout: null,
505
+ resizeTimeout: null,
506
+ defaultWidth: 0,
507
+ defaultHeight: 0,
508
+ defaultContentWidth: 0,
509
+ defaultContentHeight: 0,
510
+ isRangeChanged: !1,
511
+ lazyLoadState: {},
512
+ resizeListener: null,
513
+ resizeObserver: null,
514
+ initialized: !1,
515
+ watch: {
516
+ numToleratedItems: function(e) {
517
+ this.d_numToleratedItems = e;
518
+ },
519
+ loading: function(e, t) {
520
+ this.lazy && e !== t && e !== this.d_loading && (this.d_loading = e);
521
+ },
522
+ items: {
523
+ handler: function(e, t) {
524
+ (!t || t.length !== (e || []).length) && (this.init(), this.calculateAutoSize());
525
+ },
526
+ deep: !0
527
+ },
528
+ itemSize: function() {
529
+ this.init(), this.calculateAutoSize();
530
+ },
531
+ orientation: function() {
532
+ this.lastScrollPos = this.isBoth() ? {
533
+ top: 0,
534
+ left: 0
535
+ } : 0;
536
+ },
537
+ scrollHeight: function() {
538
+ this.init(), this.calculateAutoSize();
539
+ },
540
+ scrollWidth: function() {
541
+ this.init(), this.calculateAutoSize();
542
+ }
543
+ },
544
+ mounted: function() {
545
+ this.viewInit(), this.lastScrollPos = this.isBoth() ? {
546
+ top: 0,
547
+ left: 0
548
+ } : 0, this.lazyLoadState = this.lazyLoadState || {};
549
+ },
550
+ updated: function() {
551
+ !this.initialized && this.viewInit();
552
+ },
553
+ unmounted: function() {
554
+ this.unbindResizeListener(), this.initialized = !1;
555
+ },
556
+ methods: {
557
+ viewInit: function() {
558
+ a(this.element) && (this.setContentEl(this.content), this.init(), this.calculateAutoSize(), this.defaultWidth = i(this.element), this.defaultHeight = c(this.element), this.defaultContentWidth = i(this.content), this.defaultContentHeight = c(this.content), this.initialized = !0), this.element && this.bindResizeListener();
559
+ },
560
+ init: function() {
561
+ this.disabled || (this.setSize(), this.calculateOptions(), this.setSpacerSize());
562
+ },
563
+ isVertical: function() {
564
+ return this.orientation === "vertical";
565
+ },
566
+ isHorizontal: function() {
567
+ return this.orientation === "horizontal";
568
+ },
569
+ isBoth: function() {
570
+ return this.orientation === "both";
571
+ },
572
+ scrollTo: function(e) {
573
+ this.element && this.element.scrollTo(e);
574
+ },
575
+ scrollToIndex: function(e) {
576
+ var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "auto", r = this.isBoth(), i = this.isHorizontal();
577
+ if (r ? e.every(function(e) {
578
+ return e > -1;
579
+ }) : e > -1) {
580
+ var a = this.first, o = this.element, s = o.scrollTop, c = s === void 0 ? 0 : s, l = o.scrollLeft, u = l === void 0 ? 0 : l, d = this.calculateNumItems().numToleratedItems, f = this.getContentPosition(), p = this.itemSize, m = function() {
581
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
582
+ return e <= (arguments.length > 1 ? arguments[1] : void 0) ? 0 : e;
583
+ }, h = function(e, t, n) {
584
+ return e * t + n;
585
+ }, g = function() {
586
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
587
+ return t.scrollTo({
588
+ left: e,
589
+ top: r,
590
+ behavior: n
591
+ });
592
+ }, _ = r ? {
593
+ rows: 0,
594
+ cols: 0
595
+ } : 0, v = !1, y = !1;
596
+ r ? (_ = {
597
+ rows: m(e[0], d[0]),
598
+ cols: m(e[1], d[1])
599
+ }, g(h(_.cols, p[1], f.left), h(_.rows, p[0], f.top)), y = this.lastScrollPos.top !== c || this.lastScrollPos.left !== u, v = _.rows !== a.rows || _.cols !== a.cols) : (_ = m(e, d), i ? g(h(_, p, f.left), c) : g(u, h(_, p, f.top)), y = this.lastScrollPos !== (i ? u : c), v = _ !== a), this.isRangeChanged = v, y && (this.first = _);
600
+ }
601
+ },
602
+ scrollInView: function(e, t) {
603
+ var n = this, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "auto";
604
+ if (t) {
605
+ var i = this.isBoth(), a = this.isHorizontal();
606
+ if (i ? e.every(function(e) {
607
+ return e > -1;
608
+ }) : e > -1) {
609
+ var o = this.getRenderedRange(), s = o.first, c = o.viewport, l = function() {
610
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
611
+ return n.scrollTo({
612
+ left: e,
613
+ top: t,
614
+ behavior: r
615
+ });
616
+ }, u = t === "to-start", d = t === "to-end";
617
+ if (u) {
618
+ if (i) c.first.rows - s.rows > e[0] ? l(c.first.cols * this.itemSize[1], (c.first.rows - 1) * this.itemSize[0]) : c.first.cols - s.cols > e[1] && l((c.first.cols - 1) * this.itemSize[1], c.first.rows * this.itemSize[0]);
619
+ else if (c.first - s > e) {
620
+ var f = (c.first - 1) * this.itemSize;
621
+ a ? l(f, 0) : l(0, f);
622
+ }
623
+ } else if (d) {
624
+ if (i) c.last.rows - s.rows <= e[0] + 1 ? l(c.first.cols * this.itemSize[1], (c.first.rows + 1) * this.itemSize[0]) : c.last.cols - s.cols <= e[1] + 1 && l((c.first.cols + 1) * this.itemSize[1], c.first.rows * this.itemSize[0]);
625
+ else if (c.last - s <= e + 1) {
626
+ var p = (c.first + 1) * this.itemSize;
627
+ a ? l(p, 0) : l(0, p);
628
+ }
629
+ }
630
+ }
631
+ } else this.scrollToIndex(e, r);
632
+ },
633
+ getRenderedRange: function() {
634
+ var e = function(e, t) {
635
+ return Math.floor(e / (t || e));
636
+ }, t = this.first, n = 0;
637
+ if (this.element) {
638
+ var r = this.isBoth(), i = this.isHorizontal(), a = this.element, o = a.scrollTop, s = a.scrollLeft;
639
+ r ? (t = {
640
+ rows: e(o, this.itemSize[0]),
641
+ cols: e(s, this.itemSize[1])
642
+ }, n = {
643
+ rows: t.rows + this.numItemsInViewport.rows,
644
+ cols: t.cols + this.numItemsInViewport.cols
645
+ }) : (t = e(i ? s : o, this.itemSize), n = t + this.numItemsInViewport);
646
+ }
647
+ return {
648
+ first: this.first,
649
+ last: this.last,
650
+ viewport: {
651
+ first: t,
652
+ last: n
653
+ }
654
+ };
655
+ },
656
+ calculateNumItems: function() {
657
+ var e = this.isBoth(), t = this.isHorizontal(), n = this.itemSize, r = this.getContentPosition(), i = this.element ? this.element.offsetWidth - r.left : 0, a = this.element ? this.element.offsetHeight - r.top : 0, o = function(e, t) {
658
+ return Math.ceil(e / (t || e));
659
+ }, s = function(e) {
660
+ return Math.ceil(e / 2);
661
+ }, c = e ? {
662
+ rows: o(a, n[0]),
663
+ cols: o(i, n[1])
664
+ } : o(t ? i : a, n);
665
+ return {
666
+ numItemsInViewport: c,
667
+ numToleratedItems: this.d_numToleratedItems || (e ? [s(c.rows), s(c.cols)] : s(c))
668
+ };
669
+ },
670
+ calculateOptions: function() {
671
+ var e = this, t = this.isBoth(), n = this.first, r = this.calculateNumItems(), i = r.numItemsInViewport, a = r.numToleratedItems, o = function(t, n, r) {
672
+ var i = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
673
+ return e.getLast(t + n + (t < r ? 2 : 3) * r, i);
674
+ }, s = t ? {
675
+ rows: o(n.rows, i.rows, a[0]),
676
+ cols: o(n.cols, i.cols, a[1], !0)
677
+ } : o(n, i, a);
678
+ this.last = s, this.numItemsInViewport = i, this.d_numToleratedItems = a, this.$emit("update:numToleratedItems", this.d_numToleratedItems), this.showLoader && (this.loaderArr = t ? Array.from({ length: i.rows }).map(function() {
679
+ return Array.from({ length: i.cols });
680
+ }) : Array.from({ length: i })), this.lazy && Promise.resolve().then(function() {
681
+ e.lazyLoadState = {
682
+ first: e.step ? t ? {
683
+ rows: 0,
684
+ cols: n.cols
685
+ } : 0 : n,
686
+ last: Math.min(e.step ? e.step : s, e.items?.length || 0)
687
+ }, e.$emit("lazy-load", e.lazyLoadState);
688
+ });
689
+ },
690
+ calculateAutoSize: function() {
691
+ var e = this;
692
+ this.autoSize && !this.d_loading && Promise.resolve().then(function() {
693
+ if (e.content) {
694
+ var t = e.isBoth(), n = e.isHorizontal(), r = e.isVertical();
695
+ e.content.style.minHeight = e.content.style.minWidth = "auto", e.content.style.position = "relative", e.element.style.contain = "none";
696
+ var a = [i(e.element), c(e.element)], o = a[0], s = a[1];
697
+ (t || n) && (e.element.style.width = o < e.defaultWidth ? o + "px" : e.scrollWidth || e.defaultWidth + "px"), (t || r) && (e.element.style.height = s < e.defaultHeight ? s + "px" : e.scrollHeight || e.defaultHeight + "px"), e.content.style.minHeight = e.content.style.minWidth = "", e.content.style.position = "", e.element.style.contain = "";
698
+ }
699
+ });
700
+ },
701
+ getLast: function() {
702
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, t = arguments.length > 1 ? arguments[1] : void 0;
703
+ return this.items ? Math.min(t ? (this.columns || this.items[0])?.length || 0 : this.items?.length || 0, e) : 0;
704
+ },
705
+ getContentPosition: function() {
706
+ if (this.content) {
707
+ var e = getComputedStyle(this.content), t = parseFloat(e.paddingLeft) + Math.max(parseFloat(e.left) || 0, 0), n = parseFloat(e.paddingRight) + Math.max(parseFloat(e.right) || 0, 0), r = parseFloat(e.paddingTop) + Math.max(parseFloat(e.top) || 0, 0), i = parseFloat(e.paddingBottom) + Math.max(parseFloat(e.bottom) || 0, 0);
708
+ return {
709
+ left: t,
710
+ right: n,
711
+ top: r,
712
+ bottom: i,
713
+ x: t + n,
714
+ y: r + i
715
+ };
716
+ }
717
+ return {
718
+ left: 0,
719
+ right: 0,
720
+ top: 0,
721
+ bottom: 0,
722
+ x: 0,
723
+ y: 0
724
+ };
725
+ },
726
+ setSize: function() {
727
+ var e = this;
728
+ if (this.element) {
729
+ var t = this.isBoth(), n = this.isHorizontal(), r = this.element.parentElement, i = this.scrollWidth || `${this.element.offsetWidth || r.offsetWidth}px`, a = this.scrollHeight || `${this.element.offsetHeight || r.offsetHeight}px`, o = function(t, n) {
730
+ return e.element.style[t] = n;
731
+ };
732
+ t || n ? (o("height", a), o("width", i)) : o("height", a);
733
+ }
734
+ },
735
+ setSpacerSize: function() {
736
+ var e = this, t = this.items;
737
+ if (t) {
738
+ var n = this.isBoth(), r = this.isHorizontal(), i = this.getContentPosition(), a = function(t, n, r) {
739
+ var i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0;
740
+ return e.spacerStyle = Z(Z({}, e.spacerStyle), Q({}, `${t}`, (n || []).length * r + i + "px"));
741
+ };
742
+ n ? (a("height", t, this.itemSize[0], i.y), a("width", this.columns || t[1], this.itemSize[1], i.x)) : r ? a("width", this.columns || t, this.itemSize, i.x) : a("height", t, this.itemSize, i.y);
743
+ }
744
+ },
745
+ setContentPosition: function(e) {
746
+ var t = this;
747
+ if (this.content && !this.appendOnly) {
748
+ var n = this.isBoth(), r = this.isHorizontal(), i = e ? e.first : this.first, a = function(e, t) {
749
+ return e * t;
750
+ }, o = function() {
751
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
752
+ return t.contentStyle = Z(Z({}, t.contentStyle), { transform: `translate3d(${e}px, ${n}px, 0)` });
753
+ };
754
+ if (n) o(a(i.cols, this.itemSize[1]), a(i.rows, this.itemSize[0]));
755
+ else {
756
+ var s = a(i, this.itemSize);
757
+ r ? o(s, 0) : o(0, s);
758
+ }
759
+ }
760
+ },
761
+ onScrollPositionChange: function(e) {
762
+ var t = this, n = e.target, r = this.isBoth(), i = this.isHorizontal(), a = this.getContentPosition(), o = function(e, t) {
763
+ return e ? e > t ? e - t : e : 0;
764
+ }, s = function(e, t) {
765
+ return Math.floor(e / (t || e));
766
+ }, c = function(e, t, n, r, i, a) {
767
+ return e <= i ? i : a ? n - r - i : t + i - 1;
768
+ }, l = function(e, n, r, i, a, o, s, c) {
769
+ if (e <= o) return 0;
770
+ var l = Math.max(0, s ? e < n ? r : e - o : e > n ? r : e - 2 * o), u = t.getLast(l, c);
771
+ return l > u ? u - a : l;
772
+ }, u = function(e, n, r, i, a, o) {
773
+ var s = n + i + 2 * a;
774
+ return e >= a && (s += a + 1), t.getLast(s, o);
775
+ }, d = o(n.scrollTop, a.top), f = o(n.scrollLeft, a.left), p = r ? {
776
+ rows: 0,
777
+ cols: 0
778
+ } : 0, m = this.last, h = !1, g = this.lastScrollPos;
779
+ if (r) {
780
+ var _ = this.lastScrollPos.top <= d, v = this.lastScrollPos.left <= f;
781
+ if (!this.appendOnly || this.appendOnly && (_ || v)) {
782
+ var y = {
783
+ rows: s(d, this.itemSize[0]),
784
+ cols: s(f, this.itemSize[1])
785
+ }, b = {
786
+ rows: c(y.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], _),
787
+ cols: c(y.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], v)
788
+ };
789
+ p = {
790
+ rows: l(y.rows, b.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], _),
791
+ cols: l(y.cols, b.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], v, !0)
792
+ }, m = {
793
+ rows: u(y.rows, p.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
794
+ cols: u(y.cols, p.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], !0)
795
+ }, h = p.rows !== this.first.rows || m.rows !== this.last.rows || p.cols !== this.first.cols || m.cols !== this.last.cols || this.isRangeChanged, g = {
796
+ top: d,
797
+ left: f
798
+ };
799
+ }
800
+ } else {
801
+ var x = i ? f : d, S = this.lastScrollPos <= x;
802
+ if (!this.appendOnly || this.appendOnly && S) {
803
+ var C = s(x, this.itemSize);
804
+ p = l(C, c(C, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, S), this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, S), m = u(C, p, this.last, this.numItemsInViewport, this.d_numToleratedItems), h = p !== this.first || m !== this.last || this.isRangeChanged, g = x;
805
+ }
806
+ }
807
+ return {
808
+ first: p,
809
+ last: m,
810
+ isRangeChanged: h,
811
+ scrollPos: g
812
+ };
813
+ },
814
+ onScrollChange: function(e) {
815
+ var t = this.onScrollPositionChange(e), n = t.first, r = t.last, i = t.isRangeChanged, a = t.scrollPos;
816
+ if (i) {
817
+ var o = {
818
+ first: n,
819
+ last: r
820
+ };
821
+ if (this.setContentPosition(o), this.first = n, this.last = r, this.lastScrollPos = a, this.$emit("scroll-index-change", o), this.lazy && this.isPageChanged(n)) {
822
+ var s = {
823
+ first: this.step ? Math.min(this.getPageByFirst(n) * this.step, (this.items?.length || 0) - this.step) : n,
824
+ last: Math.min(this.step ? (this.getPageByFirst(n) + 1) * this.step : r, this.items?.length || 0)
825
+ };
826
+ (this.lazyLoadState.first !== s.first || this.lazyLoadState.last !== s.last) && this.$emit("lazy-load", s), this.lazyLoadState = s;
827
+ }
828
+ }
829
+ },
830
+ onScroll: function(e) {
831
+ var t = this;
832
+ this.$emit("scroll", e), this.delay ? (this.scrollTimeout && clearTimeout(this.scrollTimeout), this.isPageChanged() && (!this.d_loading && this.showLoader && (this.onScrollPositionChange(e).isRangeChanged || this.step && this.isPageChanged()) && (this.d_loading = !0), this.scrollTimeout = setTimeout(function() {
833
+ t.onScrollChange(e), t.d_loading && t.showLoader && (!t.lazy || t.loading === void 0) && (t.d_loading = !1, t.page = t.getPageByFirst());
834
+ }, this.delay))) : this.onScrollChange(e);
835
+ },
836
+ onResize: function() {
837
+ var e = this;
838
+ this.resizeTimeout && clearTimeout(this.resizeTimeout), this.resizeTimeout = setTimeout(function() {
839
+ if (a(e.element)) {
840
+ var t = e.isBoth(), n = e.isVertical(), r = e.isHorizontal(), o = [i(e.element), c(e.element)], s = o[0], l = o[1], u = s !== e.defaultWidth, d = l !== e.defaultHeight;
841
+ (t ? u || d : r ? u : n && d) && (e.d_numToleratedItems = e.numToleratedItems, e.defaultWidth = s, e.defaultHeight = l, e.defaultContentWidth = i(e.content), e.defaultContentHeight = c(e.content), e.init());
842
+ }
843
+ }, this.resizeDelay);
844
+ },
845
+ bindResizeListener: function() {
846
+ var e = this;
847
+ this.resizeListener || (this.resizeListener = this.onResize.bind(this), window.addEventListener("resize", this.resizeListener), window.addEventListener("orientationchange", this.resizeListener), this.resizeObserver = new ResizeObserver(function() {
848
+ e.onResize();
849
+ }), this.resizeObserver.observe(this.element));
850
+ },
851
+ unbindResizeListener: function() {
852
+ this.resizeListener &&= (window.removeEventListener("resize", this.resizeListener), window.removeEventListener("orientationchange", this.resizeListener), null), this.resizeObserver &&= (this.resizeObserver.disconnect(), null);
853
+ },
854
+ getOptions: function(e) {
855
+ var t = (this.items || []).length, n = this.isBoth() ? this.first.rows + e : this.first + e;
856
+ return {
857
+ index: n,
858
+ count: t,
859
+ first: n === 0,
860
+ last: n === t - 1,
861
+ even: n % 2 == 0,
862
+ odd: n % 2 != 0
863
+ };
864
+ },
865
+ getLoaderOptions: function(e, t) {
866
+ var n = this.loaderArr.length;
867
+ return Z({
868
+ index: e,
869
+ count: n,
870
+ first: e === 0,
871
+ last: e === n - 1,
872
+ even: e % 2 == 0,
873
+ odd: e % 2 != 0
874
+ }, t);
875
+ },
876
+ getPageByFirst: function(e) {
877
+ return Math.floor(((e ?? this.first) + this.d_numToleratedItems * 4) / (this.step || 1));
878
+ },
879
+ isPageChanged: function(e) {
880
+ return this.step && !this.lazy ? this.page !== this.getPageByFirst(e ?? this.first) : !0;
881
+ },
882
+ setContentEl: function(e) {
883
+ this.content = e || this.content || t(this.element, "[data-pc-section=\"content\"]");
884
+ },
885
+ elementRef: function(e) {
886
+ this.element = e;
887
+ },
888
+ contentRef: function(e) {
889
+ this.content = e;
890
+ }
891
+ },
892
+ computed: {
893
+ containerClass: function() {
894
+ return [
895
+ "p-virtualscroller",
896
+ this.class,
897
+ {
898
+ "p-virtualscroller-inline": this.inline,
899
+ "p-virtualscroller-both p-both-scroll": this.isBoth(),
900
+ "p-virtualscroller-horizontal p-horizontal-scroll": this.isHorizontal()
901
+ }
902
+ ];
903
+ },
904
+ contentClass: function() {
905
+ return ["p-virtualscroller-content", { "p-virtualscroller-loading": this.d_loading }];
906
+ },
907
+ loaderClass: function() {
908
+ return ["p-virtualscroller-loader", { "p-virtualscroller-loader-mask": !this.$slots.loader }];
909
+ },
910
+ loadedItems: function() {
911
+ var e = this;
912
+ return this.items && !this.d_loading ? this.isBoth() ? this.items.slice(this.appendOnly ? 0 : this.first.rows, this.last.rows).map(function(t) {
913
+ return e.columns ? t : t.slice(e.appendOnly ? 0 : e.first.cols, e.last.cols);
914
+ }) : this.isHorizontal() && this.columns ? this.items : this.items.slice(this.appendOnly ? 0 : this.first, this.last) : [];
915
+ },
916
+ loadedRows: function() {
917
+ return this.d_loading ? this.loaderDisabled ? this.loaderArr : [] : this.loadedItems;
918
+ },
919
+ loadedColumns: function() {
920
+ if (this.columns) {
921
+ var e = this.isBoth(), t = this.isHorizontal();
922
+ if (e || t) return this.d_loading && this.loaderDisabled ? e ? this.loaderArr[0] : this.loaderArr : this.columns.slice(e ? this.first.cols : this.first, e ? this.last.cols : this.last);
923
+ }
924
+ return this.columns;
925
+ }
926
+ },
927
+ components: { SpinnerIcon: C }
928
+ }, me = ["tabindex"];
929
+ function he(e, t, n, r, i, a) {
930
+ var o = y("SpinnerIcon");
931
+ return e.disabled ? (f(), v(b, { key: 1 }, [p(e.$slots, "default"), p(e.$slots, "content", {
932
+ items: e.items,
933
+ rows: e.items,
934
+ columns: a.loadedColumns
935
+ })], 64)) : (f(), v("div", m({
936
+ key: 0,
937
+ ref: a.elementRef,
938
+ class: a.containerClass,
939
+ tabindex: e.tabindex,
940
+ style: e.style,
941
+ onScroll: t[0] ||= function() {
942
+ return a.onScroll && a.onScroll.apply(a, arguments);
943
+ }
944
+ }, e.ptmi("root")), [
945
+ p(e.$slots, "content", {
946
+ styleClass: a.contentClass,
947
+ items: a.loadedItems,
948
+ getItemOptions: a.getOptions,
949
+ loading: i.d_loading,
950
+ getLoaderOptions: a.getLoaderOptions,
951
+ itemSize: e.itemSize,
952
+ rows: a.loadedRows,
953
+ columns: a.loadedColumns,
954
+ contentRef: a.contentRef,
955
+ spacerStyle: i.spacerStyle,
956
+ contentStyle: i.contentStyle,
957
+ vertical: a.isVertical(),
958
+ horizontal: a.isHorizontal(),
959
+ both: a.isBoth()
960
+ }, function() {
961
+ return [x("div", m({
962
+ ref: a.contentRef,
963
+ class: a.contentClass,
964
+ style: i.contentStyle
965
+ }, e.ptm("content")), [(f(!0), v(b, null, d(a.loadedItems, function(t, n) {
966
+ return p(e.$slots, "item", {
967
+ key: n,
968
+ item: t,
969
+ options: a.getOptions(n)
970
+ });
971
+ }), 128))], 16)];
972
+ }),
973
+ e.showSpacer ? (f(), v("div", m({
974
+ key: 0,
975
+ class: "p-virtualscroller-spacer",
976
+ style: i.spacerStyle
977
+ }, e.ptm("spacer")), null, 16)) : g("", !0),
978
+ !e.loaderDisabled && e.showLoader && i.d_loading ? (f(), v("div", m({
979
+ key: 1,
980
+ class: a.loaderClass
981
+ }, e.ptm("loader")), [e.$slots && e.$slots.loader ? (f(!0), v(b, { key: 0 }, d(i.loaderArr, function(t, n) {
982
+ return p(e.$slots, "loader", {
983
+ key: n,
984
+ options: a.getLoaderOptions(n, a.isBoth() && { numCols: e.d_numItemsInViewport.cols })
985
+ });
986
+ }), 128)) : g("", !0), p(e.$slots, "loadingicon", {}, function() {
987
+ return [S(o, m({
988
+ spin: "",
989
+ class: "p-virtualscroller-loading-icon"
990
+ }, e.ptm("loadingIcon")), null, 16)];
991
+ })], 16)) : g("", !0)
992
+ ], 16, me));
993
+ }
994
+ $.render = he;
995
+ //#endregion
996
+ export { V as a, B as c, U as i, w as l, J as n, O as o, ue as r, z as s, $ as t };