@camstack/addon-admin-ui 1.2.634 → 1.2.636

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 (161) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/assets/Addons-BPHEBwgB.js +5 -0
  3. package/dist/assets/{AdminPage-CPPoleZA.js → AdminPage-D13CJb8Q.js} +1 -1
  4. package/dist/assets/{AdminSectionedPage-C_DLslGH.js → AdminSectionedPage-BMFLLxeJ.js} +1 -1
  5. package/dist/assets/AiProfiles-BS82tvr_.js +3 -0
  6. package/dist/assets/Authentication-Fcsaeo6T.js +1 -0
  7. package/dist/assets/{Build-DMEXJqf9.js → Build-L6hr034C.js} +3 -3
  8. package/dist/assets/Calendars-Sq4Gc6IV.js +1 -0
  9. package/dist/assets/{CameraGrids-CIJubNTN.js → CameraGrids-SZQaxv-J.js} +1 -1
  10. package/dist/assets/Cluster-AYu0bC0y.js +1 -0
  11. package/dist/assets/CompositionBlockEditor-DLKzOT_Z.js +2 -0
  12. package/dist/assets/CompositionEditorPage-D9X-zVQH.js +1 -0
  13. package/dist/assets/Data-m24XW_1A.js +2 -0
  14. package/dist/assets/DeviceDetail-CtBuTHpi.js +2 -0
  15. package/dist/assets/{Devices-Ddhmovvw.js → Devices-DruLtWCC.js} +1 -1
  16. package/dist/assets/{EmbedPlayerPage-B9wkgcPc.js → EmbedPlayerPage-BDyIh4lQ.js} +1 -1
  17. package/dist/assets/History-B7zXtCqx.js +1 -0
  18. package/dist/assets/Identity-D7h9VlxP.js +1 -0
  19. package/dist/assets/InstancesTable-DJAoGLT7.js +1 -0
  20. package/dist/assets/IntegrationDetail-_DjBAUfS.js +1 -0
  21. package/dist/assets/Integrations-D_D9IsZx.js +2 -0
  22. package/dist/assets/Integrations-RdXuFBLO.js +1 -0
  23. package/dist/assets/{Library-COZVDG1J.js → Library-Bo5VMPHU.js} +1 -1
  24. package/dist/assets/Locations-Bzbx2I8T.js +3 -0
  25. package/dist/assets/{Logs-_Lymv-hK.js → Logs-DPHzCD-k.js} +1 -1
  26. package/dist/assets/{MaskShapeCanvas-Dkn9mTx5.js → MaskShapeCanvas-ByGbdZex.js} +1 -1
  27. package/dist/assets/{MotionZonesSettings-DbJd1q0y.js → MotionZonesSettings-CiobfarF.js} +1 -1
  28. package/dist/assets/MyAccess-a5m99pH9.js +2 -0
  29. package/dist/assets/Network-6_mGQvda.js +1 -0
  30. package/dist/assets/NodeAddonsSettingsPanel-8E1KZ_Zn.js +1 -0
  31. package/dist/assets/Notifications-CANpi0fl.js +1 -0
  32. package/dist/assets/{Pipeline-CBIucM6P.js → Pipeline-DXy1uxGI.js} +1 -1
  33. package/dist/assets/{PrivacyMaskSettings-B7mOaiDG.js → PrivacyMaskSettings-CG3fC1u9.js} +1 -1
  34. package/dist/assets/Recordings-U1FdSuDg.js +1 -0
  35. package/dist/assets/{ScanSubnetEditor-g4rMYaaa.js → ScanSubnetEditor-Daxor7Ws.js} +1 -1
  36. package/dist/assets/{SceneMonitorEditor-B99BtkWG.js → SceneMonitorEditor-DoUH3vKa.js} +1 -1
  37. package/dist/assets/SessionsList-CLG4ubwk.js +2 -0
  38. package/dist/assets/{Showroom-BlMJHK6P.js → Showroom-BHPAz8BT.js} +1 -1
  39. package/dist/assets/{StorageLocationsTable-BCc20Y-P.js → StorageLocationsTable-R3JA97a5.js} +1 -1
  40. package/dist/assets/{System-_om1Qy_Z.js → System-BP4Cs93o.js} +1 -1
  41. package/dist/assets/{Templates-ClUtf6zo.js → Templates-XTi8n4d2.js} +1 -1
  42. package/dist/assets/{Terminal-CK-OPJi8.js → Terminal-BCojSdwl.js} +3 -3
  43. package/dist/assets/{TrainingProviders-CMfEG1p0.js → TrainingProviders-DNZfikzc.js} +1 -1
  44. package/dist/assets/{Viewer-D8ErfEDa.js → Viewer-B5-4q7UR.js} +1 -1
  45. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-D5EjGbog.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CsPCUaXy.js} +1 -1
  46. package/dist/assets/{action-draft-BF1Yv5wJ.js → action-draft-BOfrcBkB.js} +1 -1
  47. package/dist/assets/{ai-page.helpers-7-YKMWA7.js → ai-page.helpers-C_Yr1xBa.js} +1 -1
  48. package/dist/assets/{archive-WByIhorf.js → archive-CbCQODIH.js} +1 -1
  49. package/dist/assets/{assignment-candidates-CerZJluZ.js → assignment-candidates-BVHvGld8.js} +1 -1
  50. package/dist/assets/{authed-media-vTZUQ8BO.js → authed-media-D1AyMZAW.js} +1 -1
  51. package/dist/assets/{bell-off-HUbueWAa.js → bell-off-0BRa5Xnw.js} +1 -1
  52. package/dist/assets/{board-model-BeY6U40R.js → board-model-Dhq6ifuR.js} +1 -1
  53. package/dist/assets/{boxes-Sn1wqpgK.js → boxes-DwaGiTWo.js} +1 -1
  54. package/dist/assets/{calendar-clock-TWIEL7Fd.js → calendar-clock-DxXmjbX-.js} +1 -1
  55. package/dist/assets/{circle-arrow-up-BZb1tft0.js → circle-arrow-up-QFgY2pDM.js} +1 -1
  56. package/dist/assets/circle-slash-D1PU0Pws.js +1 -0
  57. package/dist/assets/client-C0lbTORN.js +839 -0
  58. package/dist/assets/create-composition-rjKVG7Ea.js +2 -0
  59. package/dist/assets/crop-BE9be46d.js +1 -0
  60. package/dist/assets/{database-zap-DDQJWo1I.js → database-zap-DM49YcQ2.js} +1 -1
  61. package/dist/assets/{device-integration-icon-BEojiV6j.js → device-integration-icon-DpDOvLri.js} +1 -1
  62. package/dist/assets/device-picker-model-CUDIDEin.js +1 -0
  63. package/dist/assets/dist-CqSJqAHI.js +839 -0
  64. package/dist/assets/{dist-BAkSt7-o.js → dist-HZnBedB7.js} +1 -1
  65. package/dist/assets/{eraser-BXfY9g0S.js → eraser-C49V6Xgz.js} +1 -1
  66. package/dist/assets/{file-up-CGHZOKg0.js → file-up-DJCy37j8.js} +1 -1
  67. package/dist/assets/{format-C6WZEo_1.js → format-ClefNnBA.js} +1 -1
  68. package/dist/assets/{framework-packages-DoBKjjer.js → framework-packages-B0ugw-Ay.js} +1 -1
  69. package/dist/assets/{hard-drive-download-B12jnOmz.js → hard-drive-download-CvIZPfEe.js} +1 -1
  70. package/dist/assets/{hostInit-DvgZnKz2.js → hostInit-CfH1B74s.js} +1 -1
  71. package/dist/assets/i18n-xBJb_nV7.js +1 -0
  72. package/dist/assets/icons-BAw5ExT5.js +1 -0
  73. package/dist/assets/index-BZIzoUuI.css +2 -0
  74. package/dist/assets/index-DosV7QmO.js +4 -0
  75. package/dist/assets/{key-C7vcpiqV.js → key-QeyFcY2r.js} +1 -1
  76. package/dist/assets/{languages-NIG6fIsC.js → languages-flftEeCc.js} +1 -1
  77. package/dist/assets/{layers-igKznkhu.js → layers-I2gIsH5w.js} +1 -1
  78. package/dist/assets/{link-2-off-ViXG09ia.js → link-2-off-CDW3nS2X.js} +1 -1
  79. package/dist/assets/{linked-devices-model-Coihabk7.js → linked-devices-model-BTKuEEFr.js} +1 -1
  80. package/dist/assets/{memory-stick-Cb3rfsma.js → memory-stick-3dE96Zxv.js} +1 -1
  81. package/dist/assets/{message-square-plus-MY_vmmYC.js → message-square-plus-DGwEztIa.js} +1 -1
  82. package/dist/assets/{mf-entry-bootstrap-0-bf765b1e.js → mf-entry-bootstrap-0-eac89cb1.js} +2 -2
  83. package/dist/assets/{mic-off-DQbHj0Dp.js → mic-off-BmdlN5My.js} +1 -1
  84. package/dist/assets/{monitor-off-KvLmRgXm.js → monitor-off-wdJY3-q4.js} +1 -1
  85. package/dist/assets/{monitor-smartphone-wbkRUoUy.js → monitor-smartphone-Bl6voNmx.js} +1 -1
  86. package/dist/assets/mount-CUDIDEin.js +1 -0
  87. package/dist/assets/{notification-rule-status-DSPA2LGi.js → notification-rule-status-CSdUF_tS.js} +1 -1
  88. package/dist/assets/{player-overlays-D2iM_dnq.js → player-overlays-K3LnyuXU.js} +1 -1
  89. package/dist/assets/remoteEntry-R0h-c7zx.js +1 -0
  90. package/dist/assets/{ruler-Cnh0qH1K.js → ruler-2SK6v4x2.js} +1 -1
  91. package/dist/assets/{scan-eye-B57MjUsN.js → scan-eye-C8_EFUcN.js} +1 -1
  92. package/dist/assets/{scissors-jk6_pSRI.js → scissors-C6KYQIFW.js} +1 -1
  93. package/dist/assets/{search-x-KiZ1cgFX.js → search-x-D-Hg9O-Y.js} +1 -1
  94. package/dist/assets/{send-DAC8bZ9x.js → send-CAIDeIAh.js} +1 -1
  95. package/dist/assets/{settings-2-B5Wblm0D.js → settings-2-CjaITzm2.js} +1 -1
  96. package/dist/assets/{shapes-C877FMvu.js → shapes-DtaNsx8G.js} +1 -1
  97. package/dist/assets/{sigma-48mqbKtS.js → sigma-PjHLdD5t.js} +1 -1
  98. package/dist/assets/src-BnhYqWbx.js +169 -0
  99. package/dist/assets/{sso-popup-zJECU9yL.js → sso-popup-C1hR2YBu.js} +1 -1
  100. package/dist/assets/{step-inspector-model-flcREGWU.js → step-inspector-model-vWbbAD3j.js} +1 -1
  101. package/dist/assets/{table-2-Dcc8x9NW.js → table-2-C9VskvlI.js} +1 -1
  102. package/dist/assets/{timer-reset-DPB7Vi_P.js → timer-reset-5MpoA_ms.js} +1 -1
  103. package/dist/assets/{ungroup-CaRYV5oo.js → ungroup-BA2l_gxU.js} +1 -1
  104. package/dist/assets/{unlink-B1jawH2n.js → unlink-iGZ9azi9.js} +1 -1
  105. package/dist/assets/{usb-B566yDR8.js → usb-B7ktYeJc.js} +1 -1
  106. package/dist/assets/{use-scenes-feed-Cv3Lv9tp.js → use-scenes-feed-Z9dHPg2s.js} +1 -1
  107. package/dist/assets/{use-stationary-objects-DPdFLI4G.js → use-stationary-objects-xEWFdcbm.js} +1 -1
  108. package/dist/assets/{useAdminDeviceRemoval-CK79vXvY.js → useAdminDeviceRemoval-BskV-B_E.js} +1 -1
  109. package/dist/assets/useEventInvalidation-CUDIDEin.js +1 -0
  110. package/dist/assets/useNodeUrlSelection-PpcSePkt.js +1 -0
  111. package/dist/assets/useTemplateSave-DlVM9rMd.js +1 -0
  112. package/dist/assets/user-round-Bo7YdtBg.js +1 -0
  113. package/dist/assets/{user-x-Dalx5dz-.js → user-x-D3xK9W1_.js} +1 -1
  114. package/dist/assets/{variable-CxFXQLx9.js → variable-CWUlGlqi.js} +1 -1
  115. package/dist/assets/{video-DFWp1_fo.js → video-DBmZRVRb.js} +1 -1
  116. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-Dbfg8wPM.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BDhTmtK9.js} +2 -2
  117. package/dist/index.html +10 -10
  118. package/dist/server/addon.js +329 -19
  119. package/package.json +2 -2
  120. package/dist/assets/Addons-Cng9jF6c.js +0 -5
  121. package/dist/assets/AiProfiles-B6Xt0CM1.js +0 -3
  122. package/dist/assets/Authentication-CkLg9Az9.js +0 -1
  123. package/dist/assets/Calendars-BHc1dbvk.js +0 -1
  124. package/dist/assets/Cluster-CSTB-np5.js +0 -1
  125. package/dist/assets/CompositionBlockEditor-B4WN_aXq.js +0 -2
  126. package/dist/assets/CompositionEditorPage-jP0e8vX8.js +0 -1
  127. package/dist/assets/Data-DJFzG2dC.js +0 -2
  128. package/dist/assets/DeviceDetail-3P3i5bd9.js +0 -2
  129. package/dist/assets/History-Cv6TryZt.js +0 -1
  130. package/dist/assets/Identity-Dmwp8J7o.js +0 -1
  131. package/dist/assets/InstanceSwitchCell-xSu6VGOy.js +0 -1
  132. package/dist/assets/InstancesTable-dSeWjA48.js +0 -1
  133. package/dist/assets/IntegrationDetail-oEpvT757.js +0 -1
  134. package/dist/assets/IntegrationHub-CIVmSeKd.js +0 -1
  135. package/dist/assets/Integrations-C5BzsIy2.js +0 -2
  136. package/dist/assets/Integrations-zlHqQ0X9.js +0 -1
  137. package/dist/assets/Locations-CpG6tIMC.js +0 -3
  138. package/dist/assets/MyAccess-3IH5sTuq.js +0 -2
  139. package/dist/assets/Network-DNJ2W_md.js +0 -1
  140. package/dist/assets/NodeAddonsSettingsPanel-BleYmajR.js +0 -1
  141. package/dist/assets/Notifications-C5S8_cBI.js +0 -1
  142. package/dist/assets/Recordings-Dzfu0JHh.js +0 -1
  143. package/dist/assets/SessionsList-DB9t5c5h.js +0 -2
  144. package/dist/assets/circle-slash-Yb1HMMEU.js +0 -1
  145. package/dist/assets/client-BT1qTuWk.js +0 -839
  146. package/dist/assets/create-composition-BCz5rteK.js +0 -2
  147. package/dist/assets/crop-Rp-pMXj8.js +0 -1
  148. package/dist/assets/device-picker-model-DxRFIJt2.js +0 -1
  149. package/dist/assets/dist-MZVzWw2Y.js +0 -839
  150. package/dist/assets/i18n-DO003gOw.js +0 -1
  151. package/dist/assets/icons-CSB91nWL.js +0 -1
  152. package/dist/assets/index-BtIAcMod.js +0 -4
  153. package/dist/assets/index-W6guS92q.css +0 -2
  154. package/dist/assets/key-square-wAKOa45w.js +0 -1
  155. package/dist/assets/mount-DxRFIJt2.js +0 -1
  156. package/dist/assets/remoteEntry-CjzR4ng6.js +0 -1
  157. package/dist/assets/src-Djs5D3BM.js +0 -169
  158. package/dist/assets/useEventInvalidation-DxRFIJt2.js +0 -1
  159. package/dist/assets/useNodeUrlSelection-B4V72DKj.js +0 -1
  160. package/dist/assets/useTemplateSave-sDhvqUj4.js +0 -1
  161. package/dist/assets/user-round-gyXn4SEe.js +0 -1
@@ -1 +1 @@
1
- import{Ca as e}from"./player-overlays-D2iM_dnq.js";var t=e(`key`,[[`path`,{d:`m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4`,key:`g0fldk`}],[`path`,{d:`m21 2-9.6 9.6`,key:`1j0ho8`}],[`circle`,{cx:`7.5`,cy:`15.5`,r:`5.5`,key:`yqb3hr`}]]);export{t};
1
+ import{Ca as e}from"./player-overlays-K3LnyuXU.js";var t=e(`key`,[[`path`,{d:`m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4`,key:`g0fldk`}],[`path`,{d:`m21 2-9.6 9.6`,key:`1j0ho8`}],[`circle`,{cx:`7.5`,cy:`15.5`,r:`5.5`,key:`yqb3hr`}]]);export{t};
@@ -1 +1 @@
1
- import{Ca as e}from"./player-overlays-D2iM_dnq.js";var t=e(`images`,[[`path`,{d:`m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16`,key:`9kzy35`}],[`path`,{d:`M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2`,key:`1t0f0t`}],[`circle`,{cx:`13`,cy:`7`,r:`1`,fill:`currentColor`,key:`1obus6`}],[`rect`,{x:`8`,y:`2`,width:`14`,height:`14`,rx:`2`,key:`1gvhby`}]]),n=e(`languages`,[[`path`,{d:`m5 8 6 6`,key:`1wu5hv`}],[`path`,{d:`m4 14 6-6 2-3`,key:`1k1g8d`}],[`path`,{d:`M2 5h12`,key:`or177f`}],[`path`,{d:`M7 2h1`,key:`1t2jsx`}],[`path`,{d:`m22 22-5-10-5 10`,key:`don7ne`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]);export{t as n,n as t};
1
+ import{Ca as e}from"./player-overlays-K3LnyuXU.js";var t=e(`images`,[[`path`,{d:`m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16`,key:`9kzy35`}],[`path`,{d:`M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2`,key:`1t0f0t`}],[`circle`,{cx:`13`,cy:`7`,r:`1`,fill:`currentColor`,key:`1obus6`}],[`rect`,{x:`8`,y:`2`,width:`14`,height:`14`,rx:`2`,key:`1gvhby`}]]),n=e(`languages`,[[`path`,{d:`m5 8 6 6`,key:`1wu5hv`}],[`path`,{d:`m4 14 6-6 2-3`,key:`1k1g8d`}],[`path`,{d:`M2 5h12`,key:`or177f`}],[`path`,{d:`M7 2h1`,key:`1t2jsx`}],[`path`,{d:`m22 22-5-10-5 10`,key:`don7ne`}],[`path`,{d:`M14 18h6`,key:`1m8k6r`}]]);export{t as n,n as t};
@@ -1 +1 @@
1
- import{Ca as e}from"./player-overlays-D2iM_dnq.js";var t=e(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]);export{t};
1
+ import{Ca as e}from"./player-overlays-K3LnyuXU.js";var t=e(`layers`,[[`path`,{d:`M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z`,key:`zw3jo`}],[`path`,{d:`M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12`,key:`1wduqc`}],[`path`,{d:`M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17`,key:`kqbvx6`}]]);export{t};
@@ -1 +1 @@
1
- import{Ca as e}from"./player-overlays-D2iM_dnq.js";var t=e(`link-2-off`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`,key:`10o201`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`,key:`1d3206`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`,key:`rvw6j4`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]);export{t};
1
+ import{Ca as e}from"./player-overlays-K3LnyuXU.js";var t=e(`link-2-off`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`,key:`10o201`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`,key:`1d3206`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`,key:`rvw6j4`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]);export{t};
@@ -1 +1 @@
1
- import{Go as e,Ni as t}from"./client-BT1qTuWk.js";import{t as n}from"./i18n-DO003gOw.js";import{t as r}from"./assignment-candidates-CerZJluZ.js";function i(n,r){let i=t[n];return i.hostDeviceTypes.some(e=>e===r)?`host`:i.descriptor.sourceCaps===`any`&&r!==e.Container?`guest`:null}function a(e){return e.slot===`linked-devices`}function o(e){if(e.status===`error`)return{kind:`unknown`,reason:e.error?.message??n.t(`helpers.customize.requestFailed`)};if(e.status===`pending`||e.data===void 0)return{kind:`pending`};for(let t of e.data)if(t.state===`ok`&&t.slot===`linked-devices`&&a(t.value))return{kind:`present`,slot:t,value:t.value};let t=e.data.find(e=>e.state===`unreachable`);return t!==void 0&&t.state===`unreachable`?{kind:`unknown`,reason:t.reason}:{kind:`absent`}}function s(e,t){let n=t.trackedDeviceIds??[],r=e=>t=>({deviceId:t.deviceId,name:t.name,health:t.health,implied:e,tracked:n.includes(t.deviceId)});return[...e.sources.map(r(!1)),...(e.impliedSources??[]).map(r(!0))]}function c(e,t){let n=new Set([...e.sources,...e.impliedSources??[]].map(e=>e.deviceId));return(t.trackedDeviceIds??[]).filter(e=>!n.has(e))}function l(e,t){return{...e,deviceIds:[...e.deviceIds,...t.filter(t=>!e.deviceIds.includes(t))]}}function u(e,t){return{...e,deviceIds:e.deviceIds.filter(e=>e!==t),...e.trackedDeviceIds===void 0?{}:{trackedDeviceIds:e.trackedDeviceIds.filter(e=>e!==t)}}}function d(e,t,n){let r=e.trackedDeviceIds??[],i=n?[...r.filter(e=>e!==t),t]:r.filter(e=>e!==t);return{...e,trackedDeviceIds:i}}function f(e,t,n){return e.flatMap(e=>{let i=t.get(e.deviceId);return n.has(e.deviceId)||i===void 0?[]:[{deviceId:e.deviceId,ref:{addonId:i.addonId,stableId:i.stableId},name:e.parentName===null?e.name:`${e.parentName} · ${e.name}`,detail:r(i.integration,e.location),meta:e.type,caps:[],value:null}]})}function p(e,t,n){return n?l(e,[t]):u(e,t)}function m(e,t,n){if(t.deviceIds.includes(n))return{linked:!0,implied:!1};let r=(e.impliedSources??[]).some(e=>e.deviceId===n);return{linked:r,implied:r}}export{c as a,l as c,m as i,d as l,s as n,i as o,o as r,p as s,f as t,u};
1
+ import{Li as e,Yo as t}from"./client-C0lbTORN.js";import{t as n}from"./i18n-xBJb_nV7.js";import{t as r}from"./assignment-candidates-BVHvGld8.js";function i(n,r){let i=e[n];return i.hostDeviceTypes.some(e=>e===r)?`host`:i.descriptor.sourceCaps===`any`&&r!==t.Container?`guest`:null}function a(e){return e.slot===`linked-devices`}function o(e){if(e.status===`error`)return{kind:`unknown`,reason:e.error?.message??n.t(`helpers.customize.requestFailed`)};if(e.status===`pending`||e.data===void 0)return{kind:`pending`};for(let t of e.data)if(t.state===`ok`&&t.slot===`linked-devices`&&a(t.value))return{kind:`present`,slot:t,value:t.value};let t=e.data.find(e=>e.state===`unreachable`);return t!==void 0&&t.state===`unreachable`?{kind:`unknown`,reason:t.reason}:{kind:`absent`}}function s(e,t){let n=t.trackedDeviceIds??[],r=e=>t=>({deviceId:t.deviceId,name:t.name,health:t.health,implied:e,tracked:n.includes(t.deviceId)});return[...e.sources.map(r(!1)),...(e.impliedSources??[]).map(r(!0))]}function c(e,t){let n=new Set([...e.sources,...e.impliedSources??[]].map(e=>e.deviceId));return(t.trackedDeviceIds??[]).filter(e=>!n.has(e))}function l(e,t){return{...e,deviceIds:[...e.deviceIds,...t.filter(t=>!e.deviceIds.includes(t))]}}function u(e,t){return{...e,deviceIds:e.deviceIds.filter(e=>e!==t),...e.trackedDeviceIds===void 0?{}:{trackedDeviceIds:e.trackedDeviceIds.filter(e=>e!==t)}}}function d(e,t,n){let r=e.trackedDeviceIds??[],i=n?[...r.filter(e=>e!==t),t]:r.filter(e=>e!==t);return{...e,trackedDeviceIds:i}}function f(e,t,n){return e.flatMap(e=>{let i=t.get(e.deviceId);return n.has(e.deviceId)||i===void 0?[]:[{deviceId:e.deviceId,ref:{addonId:i.addonId,stableId:i.stableId},name:e.parentName===null?e.name:`${e.parentName} · ${e.name}`,detail:r(i.integration,e.location),meta:e.type,caps:[],value:null}]})}function p(e,t,n){return n?l(e,[t]):u(e,t)}function m(e,t,n){if(t.deviceIds.includes(n))return{linked:!0,implied:!1};let r=(e.impliedSources??[]).some(e=>e.deviceId===n);return{linked:r,implied:r}}export{c as a,l as c,m as i,d as l,s as n,i as o,o as r,p as s,f as t,u};
@@ -1 +1 @@
1
- import{Ca as e}from"./player-overlays-D2iM_dnq.js";var t=e(`memory-stick`,[[`path`,{d:`M12 12v-2`,key:`fwoke6`}],[`path`,{d:`M12 18v-2`,key:`qj6yno`}],[`path`,{d:`M16 12v-2`,key:`heuere`}],[`path`,{d:`M16 18v-2`,key:`s1ct0w`}],[`path`,{d:`M2 11h1.5`,key:`15p63e`}],[`path`,{d:`M20 18v-2`,key:`12ehxp`}],[`path`,{d:`M20.5 11H22`,key:`khsy7a`}],[`path`,{d:`M4 18v-2`,key:`1c3oqr`}],[`path`,{d:`M8 12v-2`,key:`1mwtfd`}],[`path`,{d:`M8 18v-2`,key:`qcmpov`}],[`rect`,{x:`2`,y:`6`,width:`20`,height:`10`,rx:`2`,key:`1qcswk`}]]);export{t};
1
+ import{Ca as e}from"./player-overlays-K3LnyuXU.js";var t=e(`memory-stick`,[[`path`,{d:`M12 12v-2`,key:`fwoke6`}],[`path`,{d:`M12 18v-2`,key:`qj6yno`}],[`path`,{d:`M16 12v-2`,key:`heuere`}],[`path`,{d:`M16 18v-2`,key:`s1ct0w`}],[`path`,{d:`M2 11h1.5`,key:`15p63e`}],[`path`,{d:`M20 18v-2`,key:`12ehxp`}],[`path`,{d:`M20.5 11H22`,key:`khsy7a`}],[`path`,{d:`M4 18v-2`,key:`1c3oqr`}],[`path`,{d:`M8 12v-2`,key:`1mwtfd`}],[`path`,{d:`M8 18v-2`,key:`qcmpov`}],[`rect`,{x:`2`,y:`6`,width:`20`,height:`10`,rx:`2`,key:`1qcswk`}]]);export{t};
@@ -1 +1 @@
1
- import{Ca as e}from"./player-overlays-D2iM_dnq.js";var t=e(`message-square-plus`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M12 8v6`,key:`1ib9pf`}],[`path`,{d:`M9 11h6`,key:`1fldmi`}]]);export{t};
1
+ import{Ca as e}from"./player-overlays-K3LnyuXU.js";var t=e(`message-square-plus`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}],[`path`,{d:`M12 8v6`,key:`1ib9pf`}],[`path`,{d:`M9 11h6`,key:`1fldmi`}]]);export{t};
@@ -12,8 +12,8 @@ const __mfImport = (src) =>
12
12
 
13
13
 
14
14
  (async () => {
15
- const __mfHostInit = await __mfImport("./hostInit-DvgZnKz2.js");
15
+ const __mfHostInit = await __mfImport("./hostInit-CfH1B74s.js");
16
16
  await __mfHostInit.__tla;
17
17
  const { initHost } = __mfHostInit;
18
18
  await initHost();
19
- })().then(() => __mfImport("./index-BtIAcMod.js"));
19
+ })().then(() => __mfImport("./index-DosV7QmO.js"));
@@ -1 +1 @@
1
- import{Ca as e}from"./player-overlays-D2iM_dnq.js";var t=e(`hexagon`,[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`,key:`yt0hxn`}]]),n=e(`mic-off`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M15 9.34V5a3 3 0 0 0-5.68-1.33`,key:`1gzdoj`}],[`path`,{d:`M16.95 16.95A7 7 0 0 1 5 12v-2`,key:`cqa7eg`}],[`path`,{d:`M18.89 13.23A7 7 0 0 0 19 12v-2`,key:`16hl24`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M9 9v3a3 3 0 0 0 5.12 2.12`,key:`r2i35w`}]]);export{t as n,n as t};
1
+ import{Ca as e}from"./player-overlays-K3LnyuXU.js";var t=e(`hexagon`,[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`,key:`yt0hxn`}]]),n=e(`mic-off`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M15 9.34V5a3 3 0 0 0-5.68-1.33`,key:`1gzdoj`}],[`path`,{d:`M16.95 16.95A7 7 0 0 1 5 12v-2`,key:`cqa7eg`}],[`path`,{d:`M18.89 13.23A7 7 0 0 0 19 12v-2`,key:`16hl24`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M9 9v3a3 3 0 0 0 5.12 2.12`,key:`r2i35w`}]]);export{t as n,n as t};
@@ -1 +1 @@
1
- import{Ca as e}from"./player-overlays-D2iM_dnq.js";var t=e(`monitor-off`,[[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826`,key:`cv7jms`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`path`,{d:`M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042`,key:`z8ni2w`}]]);export{t};
1
+ import{Ca as e}from"./player-overlays-K3LnyuXU.js";var t=e(`monitor-off`,[[`path`,{d:`M12 17v4`,key:`1riwvh`}],[`path`,{d:`M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826`,key:`cv7jms`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}],[`path`,{d:`M8 21h8`,key:`1ev6f3`}],[`path`,{d:`M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042`,key:`z8ni2w`}]]);export{t};
@@ -1 +1 @@
1
- import{Ca as e}from"./player-overlays-D2iM_dnq.js";var t=e(`monitor-smartphone`,[[`path`,{d:`M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8`,key:`10dyio`}],[`path`,{d:`M10 19v-3.96 3.15`,key:`1irgej`}],[`path`,{d:`M7 19h5`,key:`qswx4l`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`12`,rx:`2`,key:`1egngj`}]]);export{t};
1
+ import{Ca as e}from"./player-overlays-K3LnyuXU.js";var t=e(`monitor-smartphone`,[[`path`,{d:`M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8`,key:`10dyio`}],[`path`,{d:`M10 19v-3.96 3.15`,key:`1irgej`}],[`path`,{d:`M7 19h5`,key:`qswx4l`}],[`rect`,{width:`6`,height:`10`,x:`16`,y:`12`,rx:`2`,key:`1egngj`}]]);export{t};
@@ -0,0 +1 @@
1
+ import"./src-BnhYqWbx.js";
@@ -1 +1 @@
1
- import{t as e}from"./i18n-DO003gOw.js";var t=`pipeline-analytics`,n=`nc.getRuleStatus`,r=`nc.testRule`;function i(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function a(e,t){let n=e[t];return typeof n==`number`&&Number.isFinite(n)?n:void 0}function o(e,t){let n=e[t];return typeof n==`string`&&n.length>0?n:void 0}function s(e){if(!i(e))return;let t=o(e,`id`),n=o(e,`downloadPath`),r=a(e,`capturedAt`);if(!(t===void 0||n===void 0||r===void 0))return{id:t,mediaType:o(e,`mediaType`)??`video`,sizeBytes:a(e,`sizeBytes`)??0,capturedAt:r,downloadPath:n}}function c(e){if(!i(e))return;let t=a(e,`startMs`),n=a(e,`endMs`);if(!(t===void 0||n===void 0))return{startMs:t,endMs:n}}function l(e){if(!i(e))return null;let t=a(e,`deviceId`);if(t===void 0)return null;let n=a(e,`lastGeneratedAt`),r=s(e.lastArtifact),o=e.rendering,c=i(o)?{startedAt:a(o,`startedAt`)??0,windowStartMs:a(o,`windowStartMs`)??0,windowEndMs:a(o,`windowEndMs`)??0}:void 0;return{deviceId:t,...n===void 0?{}:{lastGeneratedAt:n},...r===void 0?{}:{lastArtifact:r},...c===void 0?{}:{rendering:c}}}function u(e){if(!i(e))return null;let t=a(e,`deviceId`),n=o(e,`windowKey`),r=a(e,`openedAt`),s=a(e,`closesAt`),c=a(e,`members`),l=a(e,`pending`);return t===void 0||n===void 0||r===void 0||s===void 0||c===void 0||l===void 0?null:{deviceId:t,windowKey:n,openedAt:r,closesAt:s,members:c,pending:l}}function d(e){if(!i(e))return null;let t=o(e,`kind`);if(t===`none`)return{kind:`none`,reason:o(e,`reason`)??``};if(t===`occupancy`){let t=a(e,`deviceId`),n=a(e,`threshold`),r=a(e,`sustainSeconds`);if(t===void 0||n===void 0||r===void 0)return null;let i=o(e,`unavailable`),s=i===`no-snapshot`||i===`zone-absent`?i:void 0,c=a(e,`count`),l=a(e,`observedAt`),u=a(e,`since`),d=o(e,`scope`),f=o(e,`className`),p=o(e,`warning`);return{kind:`occupancy`,deviceId:t,threshold:n,sustainSeconds:r,...d===void 0?{}:{scope:d},...f===void 0?{}:{className:f},...c===void 0?{}:{count:c},...typeof e.occupied==`boolean`?{occupied:e.occupied}:{},...l===void 0?{}:{observedAt:l},...u===void 0?{}:{since:u},...s===void 0?{}:{unavailable:s},...p===void 0?{}:{warning:p}}}if(t===`grouped`){let t=a(e,`groupingSec`);if(t===void 0)return null;if(e.openWindows===null){let n=o(e,`reason`);return{kind:`grouped`,groupingSec:t,openWindows:null,...n===void 0?{}:{reason:n}}}if(!Array.isArray(e.openWindows))return null;let n=[];for(let t of e.openWindows){let e=u(t);if(e===null)return null;n.push(e)}return{kind:`grouped`,groupingSec:t,openWindows:n}}if(t===`timelapse`){let t=Array.isArray(e.devices)?e.devices:[],n=[];for(let e of t){let t=l(e);t!==null&&n.push(t)}let r=c(e.lastWindow),o=e.nextWindow,s=i(o)?{startMs:a(o,`startMs`)??0,endMs:a(o,`endMs`)??null}:void 0;return{kind:`timelapse`,devices:n,...r===void 0?{}:{lastWindow:r},...s===void 0?{}:{nextWindow:s},settleMs:a(e,`settleMs`)??0}}return null}function f(t){let n=Math.max(0,Math.floor(t/6e4));if(n<1)return e.t(`helpers.notificationRuleStatus.lessThanMinute`);if(n<60)return e.t(`helpers.notificationRuleStatus.durMin`,{count:n});let r=Math.floor(n/60),i=n%60;if(r<24)return i===0?e.t(`helpers.notificationRuleStatus.durH`,{count:r}):e.t(`helpers.notificationRuleStatus.durHMin`,{hours:r,minutes:i});let a=Math.floor(r/24),o=r%24;return o===0?e.t(`helpers.notificationRuleStatus.durD`,{count:a}):e.t(`helpers.notificationRuleStatus.durDH`,{days:a,hours:o})}function p(t){if(t<1024)return`${String(t)} B`;let n=t/1024;if(n<1024)return e.t(`helpers.notificationRuleStatus.sizeKb`,{value:n.toFixed(0)});let r=n/1024;return r<1024?e.t(`helpers.notificationRuleStatus.sizeMb`,{value:r.toFixed(1)}):e.t(`helpers.notificationRuleStatus.sizeGb`,{value:(r/1024).toFixed(2)})}function m(e,t){let n=e.scope??`the whole frame`,r=e.className??`objects`;if(e.unavailable!==void 0){let t=e.unavailable===`no-snapshot`?`no live count for this camera yet — the condition fails closed until one arrives`:`“${n}” is not in this camera’s current snapshot — the condition fails closed (deleted zone?)`;return e.warning===void 0?t:`${e.warning} · ${t}`}let i=[`Now: ${String(e.count??0)}/${String(e.threshold)} ${r} in ${n}`,e.occupied===!0?`condition TRUE`:`condition false`];e.since!==void 0&&i.push(`for ${f(Math.max(0,t-e.since))}`),i.push(`holds ${String(e.sustainSeconds)} s before firing`);let a=i.join(` · `);return e.warning===void 0?a:`${e.warning} · ${a}`}function h(t,n,r){if(t.rendering!==void 0)return e.t(`helpers.notificationRuleStatus.tlRendering`,{camera:n,duration:f(Math.max(0,r-t.rendering.startedAt)),from:new Date(t.rendering.windowStartMs).toLocaleString(),to:new Date(t.rendering.windowEndMs).toLocaleString()});if(t.lastGeneratedAt===void 0)return e.t(`helpers.notificationRuleStatus.tlNever`,{camera:n});let i=new Date(t.lastGeneratedAt).toLocaleString(),a=t.lastArtifact;return a===void 0?e.t(`helpers.notificationRuleStatus.tlGone`,{camera:n,when:i}):e.t(`helpers.notificationRuleStatus.tlLast`,{camera:n,when:i,size:p(a.sizeBytes)})}function g(e){return{windows:e.length,waiting:e.reduce((e,t)=>e+t.pending,0)}}export{f as a,h as c,g as i,n,m as o,r,d as s,t};
1
+ import{t as e}from"./i18n-xBJb_nV7.js";var t=`pipeline-analytics`,n=`nc.getRuleStatus`,r=`nc.testRule`;function i(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function a(e,t){let n=e[t];return typeof n==`number`&&Number.isFinite(n)?n:void 0}function o(e,t){let n=e[t];return typeof n==`string`&&n.length>0?n:void 0}function s(e){if(!i(e))return;let t=o(e,`id`),n=o(e,`downloadPath`),r=a(e,`capturedAt`);if(!(t===void 0||n===void 0||r===void 0))return{id:t,mediaType:o(e,`mediaType`)??`video`,sizeBytes:a(e,`sizeBytes`)??0,capturedAt:r,downloadPath:n}}function c(e){if(!i(e))return;let t=a(e,`startMs`),n=a(e,`endMs`);if(!(t===void 0||n===void 0))return{startMs:t,endMs:n}}function l(e){if(!i(e))return null;let t=a(e,`deviceId`);if(t===void 0)return null;let n=a(e,`lastGeneratedAt`),r=s(e.lastArtifact),o=e.rendering,c=i(o)?{startedAt:a(o,`startedAt`)??0,windowStartMs:a(o,`windowStartMs`)??0,windowEndMs:a(o,`windowEndMs`)??0}:void 0;return{deviceId:t,...n===void 0?{}:{lastGeneratedAt:n},...r===void 0?{}:{lastArtifact:r},...c===void 0?{}:{rendering:c}}}function u(e){if(!i(e))return null;let t=a(e,`deviceId`),n=o(e,`windowKey`),r=a(e,`openedAt`),s=a(e,`closesAt`),c=a(e,`members`),l=a(e,`pending`);return t===void 0||n===void 0||r===void 0||s===void 0||c===void 0||l===void 0?null:{deviceId:t,windowKey:n,openedAt:r,closesAt:s,members:c,pending:l}}function d(e){if(!i(e))return null;let t=o(e,`kind`);if(t===`none`)return{kind:`none`,reason:o(e,`reason`)??``};if(t===`occupancy`){let t=a(e,`deviceId`),n=a(e,`threshold`),r=a(e,`sustainSeconds`);if(t===void 0||n===void 0||r===void 0)return null;let i=o(e,`unavailable`),s=i===`no-snapshot`||i===`zone-absent`?i:void 0,c=a(e,`count`),l=a(e,`observedAt`),u=a(e,`since`),d=o(e,`scope`),f=o(e,`className`),p=o(e,`warning`);return{kind:`occupancy`,deviceId:t,threshold:n,sustainSeconds:r,...d===void 0?{}:{scope:d},...f===void 0?{}:{className:f},...c===void 0?{}:{count:c},...typeof e.occupied==`boolean`?{occupied:e.occupied}:{},...l===void 0?{}:{observedAt:l},...u===void 0?{}:{since:u},...s===void 0?{}:{unavailable:s},...p===void 0?{}:{warning:p}}}if(t===`grouped`){let t=a(e,`groupingSec`);if(t===void 0)return null;if(e.openWindows===null){let n=o(e,`reason`);return{kind:`grouped`,groupingSec:t,openWindows:null,...n===void 0?{}:{reason:n}}}if(!Array.isArray(e.openWindows))return null;let n=[];for(let t of e.openWindows){let e=u(t);if(e===null)return null;n.push(e)}return{kind:`grouped`,groupingSec:t,openWindows:n}}if(t===`timelapse`){let t=Array.isArray(e.devices)?e.devices:[],n=[];for(let e of t){let t=l(e);t!==null&&n.push(t)}let r=c(e.lastWindow),o=e.nextWindow,s=i(o)?{startMs:a(o,`startMs`)??0,endMs:a(o,`endMs`)??null}:void 0;return{kind:`timelapse`,devices:n,...r===void 0?{}:{lastWindow:r},...s===void 0?{}:{nextWindow:s},settleMs:a(e,`settleMs`)??0}}return null}function f(t){let n=Math.max(0,Math.floor(t/6e4));if(n<1)return e.t(`helpers.notificationRuleStatus.lessThanMinute`);if(n<60)return e.t(`helpers.notificationRuleStatus.durMin`,{count:n});let r=Math.floor(n/60),i=n%60;if(r<24)return i===0?e.t(`helpers.notificationRuleStatus.durH`,{count:r}):e.t(`helpers.notificationRuleStatus.durHMin`,{hours:r,minutes:i});let a=Math.floor(r/24),o=r%24;return o===0?e.t(`helpers.notificationRuleStatus.durD`,{count:a}):e.t(`helpers.notificationRuleStatus.durDH`,{days:a,hours:o})}function p(t){if(t<1024)return`${String(t)} B`;let n=t/1024;if(n<1024)return e.t(`helpers.notificationRuleStatus.sizeKb`,{value:n.toFixed(0)});let r=n/1024;return r<1024?e.t(`helpers.notificationRuleStatus.sizeMb`,{value:r.toFixed(1)}):e.t(`helpers.notificationRuleStatus.sizeGb`,{value:(r/1024).toFixed(2)})}function m(e,t){let n=e.scope??`the whole frame`,r=e.className??`objects`;if(e.unavailable!==void 0){let t=e.unavailable===`no-snapshot`?`no live count for this camera yet — the condition fails closed until one arrives`:`“${n}” is not in this camera’s current snapshot — the condition fails closed (deleted zone?)`;return e.warning===void 0?t:`${e.warning} · ${t}`}let i=[`Now: ${String(e.count??0)}/${String(e.threshold)} ${r} in ${n}`,e.occupied===!0?`condition TRUE`:`condition false`];e.since!==void 0&&i.push(`for ${f(Math.max(0,t-e.since))}`),i.push(`holds ${String(e.sustainSeconds)} s before firing`);let a=i.join(` · `);return e.warning===void 0?a:`${e.warning} · ${a}`}function h(t,n,r){if(t.rendering!==void 0)return e.t(`helpers.notificationRuleStatus.tlRendering`,{camera:n,duration:f(Math.max(0,r-t.rendering.startedAt)),from:new Date(t.rendering.windowStartMs).toLocaleString(),to:new Date(t.rendering.windowEndMs).toLocaleString()});if(t.lastGeneratedAt===void 0)return e.t(`helpers.notificationRuleStatus.tlNever`,{camera:n});let i=new Date(t.lastGeneratedAt).toLocaleString(),a=t.lastArtifact;return a===void 0?e.t(`helpers.notificationRuleStatus.tlGone`,{camera:n,when:i}):e.t(`helpers.notificationRuleStatus.tlLast`,{camera:n,when:i,size:p(a.sizeBytes)})}function g(e){return{windows:e.length,waiting:e.reduce((e,t)=>e+t.pending,0)}}export{f as a,h as c,g as i,n,m as o,r,d as s,t};