@camstack/addon-admin-ui 1.2.333 → 1.2.334

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 (84) hide show
  1. package/dist/assets/{AddonCollectionPage-CIoBP3mw.js → AddonCollectionPage-DkGiGxFC.js} +1 -1
  2. package/dist/assets/{Addons-CYurife8.js → Addons-CypCkppm.js} +1 -1
  3. package/dist/assets/{AdminTabs-B6i9albo.js → AdminTabs-C-9638Z4.js} +1 -1
  4. package/dist/assets/{AiProfiles-DefatWNN.js → AiProfiles-DkpVWrOo.js} +1 -1
  5. package/dist/assets/{BrokerForm-G9XrjKGE.js → BrokerForm-BoqJv1y6.js} +1 -1
  6. package/dist/assets/{Build-CK9gMbbG.js → Build-BKZMT62f.js} +1 -1
  7. package/dist/assets/{Calendars-BU6Opl9z.js → Calendars-CJVnOCH_.js} +1 -1
  8. package/dist/assets/{Capabilities-BcBe9s9N.js → Capabilities-BZJAqIuD.js} +1 -1
  9. package/dist/assets/{Cluster-BGRlp6bl.js → Cluster-BGSXOpQy.js} +1 -1
  10. package/dist/assets/{CompositionEditor-BfaSspe0.js → CompositionEditor-BTXI8CyL.js} +1 -1
  11. package/dist/assets/{CompositionEditorPage-BWKUZAx6.js → CompositionEditorPage-DGHrMSg4.js} +1 -1
  12. package/dist/assets/{Data-DEJ5vWM-.js → Data-ButIQAfx.js} +1 -1
  13. package/dist/assets/{DetectionIntelligence-Cc_2j_mn.js → DetectionIntelligence-BympJspD.js} +1 -1
  14. package/dist/assets/{DeviceDetail-DxJV7LWW.js → DeviceDetail--ETe_7bv.js} +1 -1
  15. package/dist/assets/{DeviceDoActionFields-C6Nra0tf.js → DeviceDoActionFields-CL-Luh8D.js} +1 -1
  16. package/dist/assets/{Devices-C-W0tVdZ.js → Devices-o5JY5ofE.js} +1 -1
  17. package/dist/assets/{EmbedPlayerPage-Oe0FvFvc.js → EmbedPlayerPage-2-YMD083.js} +1 -1
  18. package/dist/assets/{Events-BdA-6EKT.js → Events-DhEga6oU.js} +1 -1
  19. package/dist/assets/{Identity-C_IYW5aQ.js → Identity-C95oOYFv.js} +1 -1
  20. package/dist/assets/{IntegrationDetail-Czw5cBu7.js → IntegrationDetail-DeIElUcJ.js} +1 -1
  21. package/dist/assets/{Integrations-CsFlTyRZ.js → Integrations-BazAzEMd.js} +1 -1
  22. package/dist/assets/{Integrations-OGUJuSLW.js → Integrations-DVEpMOw5.js} +1 -1
  23. package/dist/assets/{Locations-CVb8yN7M.js → Locations-zWb53nNH.js} +1 -1
  24. package/dist/assets/{Logs-BbynUTpr.js → Logs-BYpt5JFC.js} +1 -1
  25. package/dist/assets/{MotionZonesSettings-Dmy-ak3d.js → MotionZonesSettings-bKzkWJjQ.js} +1 -1
  26. package/dist/assets/{MyAccess-B5Uxj7sU.js → MyAccess-NJqkim7o.js} +1 -1
  27. package/dist/assets/Network-Cx0uFr46.js +1 -0
  28. package/dist/assets/{NodeAddonsSettingsPanel-Cz-r_jWX.js → NodeAddonsSettingsPanel-CAP-fBly.js} +1 -1
  29. package/dist/assets/{NodeInferenceDevices-doGYVV9k.js → NodeInferenceDevices-BOd1WFKM.js} +1 -1
  30. package/dist/assets/{Notifications-BrTqbS8-.js → Notifications-CWbXNwe2.js} +1 -1
  31. package/dist/assets/{Pipeline-DtJwSOxo.js → Pipeline-DGhwoZa0.js} +1 -1
  32. package/dist/assets/{Plates-BhYnK-Qp.js → Plates-C-KOXIHU.js} +1 -1
  33. package/dist/assets/{PrivacyMaskSettings-gkZ-rfwF.js → PrivacyMaskSettings-XhoJopqN.js} +1 -1
  34. package/dist/assets/{Recordings-CiHg63L8.js → Recordings-CT4fc1Sq.js} +1 -1
  35. package/dist/assets/{ScanNetworkModal-Dr6k6rqq.js → ScanNetworkModal-DfKFx4sF.js} +1 -1
  36. package/dist/assets/{SceneMonitorEditor-BMMaRKDr.js → SceneMonitorEditor-DC6wXmBZ.js} +1 -1
  37. package/dist/assets/{Scenes-D9zdPqnF.js → Scenes-Dg5VtqBs.js} +1 -1
  38. package/dist/assets/{Settings-BZFl8FPw.js → Settings-DKMsokq7.js} +1 -1
  39. package/dist/assets/{Showroom-CGTdP_g0.js → Showroom-Deofs3m7.js} +1 -1
  40. package/dist/assets/{StorageLocationsPanel-DAo5m1nf.js → StorageLocationsPanel-B9rC8lZZ.js} +1 -1
  41. package/dist/assets/{Terminal--lzgL3Lj.js → Terminal-UfI_P5VX.js} +1 -1
  42. package/dist/assets/{Viewer-IeXI_isS.js → Viewer-afn842p3.js} +1 -1
  43. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-Bcj9N3f0.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-DXtigMeT.js} +1 -1
  44. package/dist/assets/{archive-qf7N61oH.js → archive-CgE_tiDE.js} +1 -1
  45. package/dist/assets/{authed-media-C9V1ivi6.js → authed-media-BDiLsx7P.js} +1 -1
  46. package/dist/assets/{boxes-DI7VfA4R.js → boxes-Djrey7Kg.js} +1 -1
  47. package/dist/assets/circle-slash-DC-FdH7L.js +1 -0
  48. package/dist/assets/{client-DdkMztV3.js → client-BomCPWqx.js} +1 -1
  49. package/dist/assets/{debounced-invalidate-VXpqhQzk.js → debounced-invalidate-BBMxbAO8.js} +1 -1
  50. package/dist/assets/{device-integration-icon-CQ0lcROK.js → device-integration-icon-CUB_TUPi.js} +1 -1
  51. package/dist/assets/device-picker-model-CIAVHmGN.js +1 -0
  52. package/dist/assets/{dist-C46hxek7.js → dist-C9j-Z3IC.js} +1 -1
  53. package/dist/assets/{dist-B67uohsT.js → dist-D3d-qpdz.js} +1 -1
  54. package/dist/assets/{face-bbox-C6dI1IVr.js → face-bbox-BEqNiQQm.js} +1 -1
  55. package/dist/assets/{hard-drive-download-BeXr3Yea.js → hard-drive-download-D5JUf3nQ.js} +1 -1
  56. package/dist/assets/{hostInit-GxNoqHp-.js → hostInit-DDZ7WAlQ.js} +1 -1
  57. package/dist/assets/{index-C3bM5bVy.js → index-CoHcNeUl.js} +3 -3
  58. package/dist/assets/{layers-CEVsj3Mc.js → layers-C3hsGCP9.js} +1 -1
  59. package/dist/assets/{location-owned-usage-DaMm5XW4.js → location-owned-usage-IYI9fhtY.js} +1 -1
  60. package/dist/assets/{mf-entry-bootstrap-0-8e3d3b2f.js → mf-entry-bootstrap-0-a9aeeea6.js} +2 -2
  61. package/dist/assets/mount-CIAVHmGN.js +1 -0
  62. package/dist/assets/{notification-schedule-field-AJALoXSU.js → notification-schedule-field-CyIr-I5n.js} +1 -1
  63. package/dist/assets/{player-overlays-DcmYuIcm.js → player-overlays-B-iWFodj.js} +1 -1
  64. package/dist/assets/remoteEntry-Dfah9M5_.js +1 -0
  65. package/dist/assets/{send-Pxs6MTZ3.js → send-CcrlY-kL.js} +1 -1
  66. package/dist/assets/{settings-2-ByTmMAiB.js → settings-2-DTTOE57Z.js} +1 -1
  67. package/dist/assets/{square-check-big-3sO0xl1v.js → square-check-big-Be2zuYRA.js} +1 -1
  68. package/dist/assets/{src-P5a2SjeK.js → src-D3Zan8Or.js} +3 -3
  69. package/dist/assets/{use-scenes-feed-C0imVbjH.js → use-scenes-feed-D3Ym3rpZ.js} +1 -1
  70. package/dist/assets/{use-stationary-objects-DXtL7ZNW.js → use-stationary-objects-DU3fanWH.js} +1 -1
  71. package/dist/assets/useEventInvalidation-CIAVHmGN.js +1 -0
  72. package/dist/assets/{useNodeUrlSelection-CgmUsFO-.js → useNodeUrlSelection-CHHUJ1Xd.js} +1 -1
  73. package/dist/assets/user-round-t202JDZh.js +1 -0
  74. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-CrirQ440.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-D8iKHaJ9.js} +2 -2
  75. package/dist/index.html +7 -7
  76. package/dist/server/addon.js +1 -1
  77. package/package.json +1 -1
  78. package/dist/assets/Network-CrBcxi3k.js +0 -1
  79. package/dist/assets/circle-slash-0zFYNJN7.js +0 -1
  80. package/dist/assets/device-picker-model-J_d064JI.js +0 -1
  81. package/dist/assets/mount-J_d064JI.js +0 -1
  82. package/dist/assets/remoteEntry-AD1D53Cu.js +0 -1
  83. package/dist/assets/useEventInvalidation-J_d064JI.js +0 -1
  84. package/dist/assets/user-round-DORFYqPs.js +0 -1
@@ -354,4 +354,4 @@ ${r.triggers.map((e,t)=>$d(e,t)).join(`
354
354
  `).replace(/<[^>]+>/g,``);for(let[e,n]of rq)t=t.replace(e,n);return t.replace(/\n{3,}/g,`
355
355
 
356
356
  `).trim()}var aq=[[/&/g,`&amp;`],[/</g,`&lt;`],[/>/g,`&gt;`],[/"/g,`&quot;`],[/'/g,`&#39;`]];function oq(e){let t=e;for(let[e,n]of aq)t=t.replace(e,n);return t}function sq(e){return oq(e).replace(/\n/g,`<br>`)}function cq(e){return oq(e).replace(/(\*\*|__)(.*?)\1/g,`<b>$2</b>`).replace(/(\*|_)(.*?)\1/g,`<i>$2</i>`).replace(/`([^`]*)`/g,`<code>$1</code>`).replace(/\[([^\]]*)\]\(([^)]*)\)/g,`<a href="$2">$1</a>`).replace(/\n/g,`<br>`)}var lq={text:[`text`,`markdown`,`html`],markdown:[`markdown`,`html`,`text`],html:[`html`,`text`,`markdown`]};function uq(e,t){for(let n of lq[e]??lq.text)if(t.includes(n))return n;return t[0]??`text`}function dq(e,t,n){if(t===n)return e;if(n===`text`){if(t===`markdown`)return nq(e);if(t===`html`)return iq(e)}if(n===`html`){if(t===`text`)return sq(e);if(t===`markdown`)return cq(e)}if(n===`markdown`){if(t===`text`)return e;if(t===`html`)return iq(e)}return e}function fq(e){return{id:e.id,ordinal:e.ordinal,...e.flags?{flags:e.flags}:{},...e.requires?{requires:e.requires}:{}}}function pq(e,t){if(e.length===0)return null;if(t.level!==void 0){let n=e.find(e=>e.id===t.level);if(n)return fq(n)}let n=e.filter(e=>e.ordinal!==null);if(n.length===0)return fq(e[0]);let r=t.priority;return fq([...n].sort((e,t)=>{let n=Math.abs((e.ordinal??0)-r),i=Math.abs((t.ordinal??0)-r);return n===i?(t.ordinal??0)-(e.ordinal??0):n-i})[0])}function mq(e,t){if(!Number.isFinite(t)||t<=0||e.length<=t)return[e];let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n}function hq(e,t){let n=[],r=t.format,i=uq(r,e.format);i!==r&&n.push(`format`);let a=dq(t.body,r,i),o=pq(e.levels,t),s=t.attachments??[],c=[];for(let t of s){if(!e.attachments.mediaTypes.includes(t.mediaType)){n.push(`attachment:${t.mediaType}`);continue}if(e.attachments.mode===`url`&&t.url===void 0){n.push(`attachment:noUrl`);continue}if(t.bytes!==void 0&&e.attachments.maxBytes!==void 0&&t.bytes.length>e.attachments.maxBytes){n.push(`attachment:maxBytes`);continue}if(c.length>=e.attachments.max){n.push(`attachment:max`);continue}let r=e.attachments.mode===`bytes`&&t.bytes===void 0&&t.url!==void 0;c.push({mediaType:t.mediaType,...t.url===void 0?{}:{url:t.url},...t.bytes===void 0?{}:{bytes:t.bytes},...t.mime===void 0?{}:{mime:t.mime},...t.name===void 0?{}:{name:t.name},needsFetch:r})}let l=t.actions??[],u=l.slice(0,Math.max(0,e.actions));l.length>u.length&&n.push(`actions`);let d=e.actionIcons===!0;!d&&u.some(e=>e.icon!==void 0)&&n.push(`actionIcons`);let f=d?u:u.map(({icon:e,...t})=>t),p=null;t.clickUrl!==void 0&&(e.clickUrl?p=t.clickUrl:n.push(`clickUrl`));let m=null;t.sound!==void 0&&(e.sound?m=t.sound:n.push(`sound`));let h=null;t.ttl!==void 0&&(e.ttl?h=t.ttl:n.push(`ttl`));let g=t.tag??null,ee=mq(a,e.bodyMaxLen),te=ee.length>1,ne={level:o?.id??``,format:i,attachmentsSent:c.length,actionsSent:f.length,truncated:te,dropped:n};return{body:ee[0]??``,...t.title===void 0?{}:{title:t.title},format:i,level:o,attachments:c,actions:f,clickUrl:p,sound:m,ttl:h,tag:g,bodyParts:ee,renderedAs:ne}}var gq=[`deviceIds`,`deviceTypes`,`nodeIds`,`packageNames`,`consumableLowPercent`];function _q(e,t){switch(t){case`deviceIds`:return e.startsWith(`device-`)||e.startsWith(`stream-`)||e===`detection-blind`||e===`alarm-triggered`;case`deviceTypes`:return e.startsWith(`device-`)||e===`detection-blind`;case`nodeIds`:return e.startsWith(`node-`)||e===`addon-crash-loop`||e===`addon-update-available`||e===`addon-updated`||e===`server-update-available`||e===`wrapper-update-available`||e===`server-updated`;case`packageNames`:return e.endsWith(`update-available`)||e===`addon-updated`||e===`node-updating`||e===`server-updated`;case`consumableLowPercent`:return NS.includes(e)}}function vq(e,t){return e.some(e=>_q(e,t))}var yq=[`device-events`,`system`,`alarm`];function bq(e){return yq.some(t=>t===e)}var xq={"device-online":`device-events`,"device-offline":`device-events`,"device-disabled":`device-events`,"device-enabled":`device-events`,"device-battery-low":`device-events`,"device-battery-normal":`device-events`,"device-consumable-low":`device-events`,"device-consumable-normal":`device-events`,"device-tank-low":`device-events`,"device-tank-full":`device-events`,"device-tank-normal":`device-events`,"stream-online":`device-events`,"stream-offline":`device-events`,"detection-blind":`device-events`,"node-online":`system`,"node-offline":`system`,"node-restarting":`system`,"node-updating":`system`,"node-inference-unavailable":`system`,"addon-crash-loop":`system`,"addon-update-available":`system`,"addon-updated":`system`,"server-update-available":`system`,"server-updated":`system`,"wrapper-update-available":`system`,"backup-completed":`system`,"export-completed":`system`,"alarm-triggered":`alarm`,"alarm-armed":`alarm`,"alarm-disarmed":`alarm`,"alarm-arming":`alarm`,"alarm-arm-refused":`alarm`,"alarm-pending":`alarm`,"alarm-rearmed":`alarm`,"alarm-sensor-bypass":`alarm`,"alarm-check-failed":`alarm`,"camera-online":null,"camera-offline":null,"camera-disabled":null,"camera-enabled":null},Sq=new Map(Object.entries(xq)),Cq=[...gq,`excludeDeviceIds`],wq={"device-events":[`deviceIds`,`excludeDeviceIds`,`deviceTypes`,`consumableLowPercent`],system:[`nodeIds`,`packageNames`],alarm:[`deviceIds`]},Tq=[{id:`device-state`,family:`device-events`,label:`Device state`,kinds:[`device-offline`,`device-online`,`device-disabled`,`device-enabled`]},{id:`streams`,family:`device-events`,label:`Streams`,kinds:[`stream-offline`,`stream-online`]},{id:`battery`,family:`device-events`,label:`Battery`,kinds:[`device-battery-low`,`device-battery-normal`]},{id:`consumables`,family:`device-events`,label:`Consumables`,kinds:[`device-consumable-low`,`device-consumable-normal`]},{id:`tanks`,family:`device-events`,label:`Tanks`,kinds:[`device-tank-low`,`device-tank-full`,`device-tank-normal`]},{id:`detection-blind`,family:`device-events`,label:`Detecting nothing`,kinds:[`detection-blind`]},{id:`nodes`,family:`system`,label:`Nodes`,kinds:[`node-offline`,`node-online`,`node-restarting`,`node-inference-unavailable`]},{id:`addons`,family:`system`,label:`Addons stopped`,kinds:[`addon-crash-loop`]},{id:`addon-updates`,family:`system`,label:`Addon updates`,kinds:[`addon-update-available`,`addon-updated`]},{id:`updates`,family:`system`,label:`Server & container updates`,kinds:[`server-update-available`,`node-updating`,`server-updated`,`wrapper-update-available`]},{id:`backups-exports`,family:`system`,label:`Backups & exports`,kinds:[`backup-completed`,`export-completed`]},{id:`alarm`,family:`alarm`,label:`Alarm`,kinds:jS}];function Eq(e){return Tq.filter(t=>t.family===e).flatMap(e=>e.kinds)}function Dq(e){if(typeof e!=`object`||!e||!(`kinds`in e))return;let t=e.kinds;if(Array.isArray(t))return t.filter(e=>typeof e==`string`)}function Oq(e){let t=new Set;for(let n of e){let e=Sq.get(n);if(e==null)return{kind:`mixed`};t.add(e)}let[n]=[...t];return t.size===1&&n!==void 0?{kind:`family`,family:n}:{kind:`mixed`}}function kq(e){if(e===void 0||e.kinds.length===0)return[{code:`no-kinds`}];let t=[],n=new Set;for(let r of e.kinds){let e=xq[r];e===null?t.push({code:`legacy-kind`,kind:r}):n.add(e)}let r=yq.filter(e=>n.has(e));r.length>1&&t.push({code:`mixed-families`,families:r});let[i]=r;if(r.length!==1||i===void 0)return t;let a=wq[i];for(let n of Cq)e[n]!==void 0&&!a.includes(n)&&t.push({code:`filter-outside-family`,filter:n,family:i});return t}function Aq(e){switch(e.code){case`no-kinds`:return`a system-event rule needs at least one event kind`;case`legacy-kind`:return`'${e.kind}' is a legacy kind and cannot be authored`;case`mixed-families`:return`event kinds span ${e.families.join(` + `)} — one rule per family`;case`filter-outside-family`:return`filter '${e.filter}' is not allowed on a ${e.family} rule`}}var jq=[`device-events`,`system`,`alarm`,`mixed`];function Mq(e){return jq.some(t=>t===e)}function Nq(e){return bq(e)?e:void 0}var Pq=`An occupancy edge is not a sensor event: it carries no sensor kind, so this condition can never match one.`,Fq=`An occupancy edge carries no device event-type token — that comes from an event-emitter slice, which a count crossing has none of.`,Iq=`An occupancy edge is a count crossing, not a sensor reading: it has no raise or clear, so this choice could never narrow it.`,Lq=`An occupancy edge is always produced by the pipeline, so any other source can never match and “pipeline” narrows nothing.`,Rq=`A confirmed sound window is always stamped as an audio subject, so any other source can never match.`,zq=`A sound rule fires on what the camera HEARD. Its subject carries no detection, so this condition can never match one — name the sounds in the Sound condition instead.`,Bq=`A sound window’s evidence is a percentage of samples, not a detector score, so a confidence threshold can never be satisfied.`,Vq=`A sound has no position in the frame, so a zone or a drawn polygon can never match it.`,Hq=[{kind:`detection`,label:`Conditions`,excluded:{audio:`A detection rule fires on what the camera SAW. Sounds are a Sound rule of their own — adding one here turned the rule into a sound rule and dropped every detection condition.`},editable:!0,carriesMedia:!0,carriesSubjectCrop:!0},{kind:`sensor`,label:`Conditions`,excluded:{},editable:!0,carriesMedia:!0,carriesSubjectCrop:!0,blurb:`A doorbell press or a linked sensor changing state. The picture comes from the camera the sensor is attributed to.`},{kind:`occupancy`,label:`Occupancy`,discriminator:`occupancy`,excluded:{sensorKinds:Pq,eventTypeTokens:Fq,sensorTransition:Iq,source:Lq},editable:!0,carriesMedia:!0,carriesSubjectCrop:!0,blurb:`Fires when the count in a camera frame or a zone crosses your threshold and holds. Pick the camera first — the zone list is that camera’s.`},{kind:`sound`,label:`Sound`,discriminator:`audio`,excluded:{classes:zq,classesExclude:zq,minConfidence:Bq,zones:Vq,zonesExclude:Vq,customZones:Vq,crossing:Vq,labelEquals:zq,identities:zq,identitiesExclude:zq,plates:zq,source:Rq},editable:!0,carriesMedia:!0,carriesSubjectCrop:!1,blurb:`Fires on a confirmed sampling window of audio, never on a picture. Name the sounds and/or keep a level threshold — with neither it can never match.`,mediaBlurb:`A sound owns no frame, so the picture is a photograph of the camera taken at the moment of the match — the whole scene, never a crop. The GIF and the clip are cut around the same instant, from the camera.`},{kind:`device-events`,label:`Device events`,discriminator:`systemEvent`,excluded:{},editable:!0,carriesMedia:!1,carriesSubjectCrop:!1,blurb:`A device or its stream going away or coming back, switched off or on, a battery or consumable running low, a camera detecting nothing. There is no frame to attach.`},{kind:`system`,label:`System events`,discriminator:`systemEvent`,excluded:{},editable:!0,carriesMedia:!1,carriesSubjectCrop:!1,blurb:`The installation itself: a node leaving, an addon crash-looping, an update available or installed, a backup or an export finishing.`},{kind:`alarm`,label:`Alarm`,discriminator:`systemEvent`,excluded:{},editable:!0,carriesMedia:!1,carriesSubjectCrop:!1,blurb:`The alarm panel: refused, arming, armed, entry delay, triggered, re-armed, sensor bypass, disarmed.`,mediaBlurb:`An alarm set off by a rule arrives with THAT rule's pictures, combined into one notification. This rule adds none of its own.`},{kind:`mixed`,label:`To recreate`,discriminator:`systemEvent`,excluded:{},editable:!1,carriesMedia:!1,carriesSubjectCrop:!1,blurb:`This rule mixes events from more than one family (device events, system, alarm). It keeps firing as it is, but it can no longer be edited: create one rule per family, then delete this one.`}];function Uq(e){return Hq.find(t=>t.kind===e)??Hq[0]}function Wq(e){return Hq.filter(t=>t.discriminator===e).map(e=>e.kind)}var Gq=`system-event`;function Kq(e){return e===Gq}function qq(e){switch(e){case`sensor`:return sA;case`detection`:case`occupancy`:return[`detection-pipeline`];case`sound`:return[`audio-metrics`];case`device-events`:case`system`:case`alarm`:case`mixed`:return null}}var Jq=`camera-streams`;function Yq(e){let t=qq(e);return t===null?null:e===`sensor`?[t,[Jq]]:[t]}function Xq(e){return Kq(e.delivery)?Qq(e.conditions.systemEvent):e.conditions.occupancy!==void 0&&e.delivery===`device-event`?`occupancy`:e.conditions.audio!==void 0&&e.delivery===`immediate`?`sound`:e.delivery===`device-event`?`sensor`:`detection`}function Zq(e){return e.delivery===`immediate`&&Xq(e)===`detection`}function Qq(e){let t=Oq(Dq(e)??[]);return t.kind===`family`?t.family:`mixed`}function $q(e,t,n){let r=Uq(n);return e.id===r.discriminator?!0:e.appliesTo.includes(t)?r.excluded[e.id]===void 0:!1}function eJ(e,t){let n=Uq(t);return e===n.discriminator?null:n.excluded[e]??null}function tJ(e,t){let n=Uq(t),r=[];for(let[t,i]of Object.entries(e)){if(i===void 0||Array.isArray(i)&&i.length===0)continue;let e=n.excluded[t];e!==void 0&&r.push({conditionId:t,reason:e})}return r}var nJ=[{key:`all`,label:`All rules`,blurb:`Every notification rule, whatever its trigger. Each rule picks a trigger, matches conditions and fans out to one or more delivery targets.`,newRuleLabel:`New rule`,emptyHint:`No notification rules yet. Create one to be told what your cameras see.`,creatable:!0},{key:`detection`,label:`Detections`,blurb:`Rules driven by what the cameras SEE — detections, tracks and package events.`,newRuleLabel:`New detection rule`,emptyHint:`No detection rules yet. Create one to be told what your cameras see.`,creatable:!0},{key:`sensor`,label:`Sensors`,blurb:`Rules driven by a device or sensor CHANGING STATE — a doorbell press, a linked sensor opening or closing. The picture comes from the camera the sensor is attributed to.`,newRuleLabel:`New sensor rule`,emptyHint:`No sensor rules yet. Create one to be told when a doorbell is pressed or a linked sensor changes.`,creatable:!0},{key:`audio`,label:`Sound`,blurb:`Rules on what the cameras HEAR: a sustained window of sound loud enough, or classified as one of the sounds you name. A sound rule fires only on a confirmed sampling window, never on a picture.`,newRuleLabel:`New sound rule`,emptyHint:`No sound rules yet. A new sound rule opens on the sound condition already filled in with a level threshold, so you only have to name the sounds and the targets.`,creatable:!0},{key:`occupancy`,label:`Occupancy`,blurb:`Rules on how many objects are in a camera frame or a zone, and for how long: "the driveway became occupied", "the garden emptied".`,newRuleLabel:`New occupancy rule`,emptyHint:`No occupancy rules yet. A new occupancy rule opens on the occupancy condition; pick the camera first, then the zone and the count.`,creatable:!0},{key:`device-events`,label:`Device events`,blurb:`Rules about your devices: offline or back, switched off or on, a stream dropping, a battery or consumable running low, a camera detecting nothing.`,newRuleLabel:`New device-event rule`,emptyHint:`No device-event rules yet. These tell you when a device drops, a battery runs low or a camera goes blind.`,creatable:!0},{key:`system`,label:`System events`,blurb:`Rules about the installation: a node leaving the cluster, an addon crash-looping, an update available or installed, a backup or export finishing.`,newRuleLabel:`New system rule`,emptyHint:`No system rules yet. These tell you when a node leaves, an update lands or a backup finishes.`,creatable:!0},{key:`alarm`,label:`Alarm`,blurb:`Rules about the alarm panel: arming, armed, triggered, disarmed, and the refusals in between.`,newRuleLabel:`New alarm rule`,emptyHint:`No alarm rules yet. These tell you when the alarm arms, goes off or is disarmed.`,creatable:!0},{key:`mixed`,label:`To recreate`,blurb:`System rules authored before the three families existed. Each mixes families, keeps firing as it is, and can only be read or deleted: recreate it as one rule per family.`,newRuleLabel:`New rule`,emptyHint:`Nothing to recreate.`,creatable:!1}];function rJ(e){return nJ.find(t=>t.key===e)??nJ[0]}function iJ(e){return nJ.find(t=>t.key===e)?.key}function aJ(e){return e.conditions.audio!==void 0}function oJ(e){return e.conditions.occupancy!==void 0}function sJ(e,t){return t===`all`?!0:Kq(e.delivery)?Xq(e)===t:t===`audio`?aJ(e):t===`occupancy`?oJ(e):t===`sensor`?e.delivery===`device-event`&&!oJ(e):t===`detection`?!aJ(e)&&!oJ(e)&&e.delivery!==`device-event`:!1}function cJ(e){return Kq(e.delivery)?Qq(e.conditions.systemEvent):aJ(e)?`audio`:oJ(e)?`occupancy`:e.delivery===`device-event`?`sensor`:`detection`}var lJ={op:`became-occupied`,count:1,sustainSeconds:15},uJ={hitPercent:MK.hitPercent,samplingSeconds:MK.samplingSeconds,dbThreshold:xK};function dJ(e){switch(e){case`device-events`:return{delivery:Gq,conditions:{systemEvent:{kinds:[`device-offline`,`device-online`]}}};case`system`:return{delivery:Gq,conditions:{systemEvent:{kinds:[`node-offline`,`node-online`]}}};case`alarm`:return{delivery:Gq,conditions:{systemEvent:{kinds:[`alarm-triggered`]}}};case`audio`:return{delivery:`immediate`,conditions:{audio:uJ}};case`occupancy`:return{delivery:`device-event`,conditions:{occupancy:lJ}};case`sensor`:return{delivery:`device-event`,conditions:{}};default:return{delivery:`immediate`,conditions:{source:`pipeline`}}}}function fJ(e){return dJ(e).delivery}var pJ=[`rule`,`devices`,`conditions`,`notification`,`actions`,`advanced`],mJ={rule:`Rule`,devices:`Cameras`,conditions:`Conditions`,notification:`Notification`,actions:`Actions`,advanced:`Advanced`};function hJ(e){let t=Uq(e),n=[];for(let r of pJ)r===`devices`&&Mq(e)||n.push({key:r,label:r===`conditions`?t.label:mJ[r]});return n}var gJ={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6},_J=new Map;function vJ(e){let t=_J.get(e);if(t!==void 0)return t;let n;try{n=new Intl.DateTimeFormat(`en-US`,{timeZone:e,weekday:`short`,hour:`numeric`,minute:`numeric`,hourCycle:`h23`})}catch{n=null}return _J.set(e,n),n}function yJ(e,t){let n=new Date(e),r=t===void 0?null:vJ(t);if(r!==null)try{let e=r.formatToParts(n),t,i,a;for(let n of e)n.type===`weekday`?t=n.value:n.type===`hour`?i=Number(n.value):n.type===`minute`&&(a=Number(n.value));let o=t===void 0?void 0:gJ[t];if(o!==void 0&&i!==void 0&&a!==void 0)return{day:o,minute:i*60+a}}catch{}return{day:n.getDay(),minute:n.getHours()*60+n.getMinutes()}}function bJ(e,t){if(e===void 0)return!0;let{day:n,minute:r}=yJ(t,e.timezone),i=(n+6)%7,a=!1;for(let t of e.windows)if(t.startMinute<=t.endMinute){if(t.days.includes(n)&&r>=t.startMinute&&r<t.endMinute){a=!0;break}}else if(t.days.includes(n)&&r>=t.startMinute||t.days.includes(i)&&r<t.endMinute){a=!0;break}return e.invert===!0?!a:a}var xJ=`armed_`,SJ=`alarm-panel`,CJ=`trigger`,wJ=[`contact`,`cover`,`lock`,`switch`],TJ=[`cover`,`lock-control`,`switch`];function EJ(e){return TJ.includes(e)}function DJ(e,t){if(e.kind===`do`){let t=e.action;return t.kind===`cap`&&t.cap===SJ&&t.method===CJ}let n=t?.(e.sequenceId);return n===void 0?!1:n.some(e=>e.kind===`cap`&&e.cap===SJ&&e.method===CJ)}function OJ(e){return(e.conditions.deviceState?.states??[]).some(e=>e.trim().toLowerCase().startsWith(xJ))}function kJ(e){if(OJ(e))return!0;for(let t of e.actions?.onTrigger??[])if(DJ(t,e.sequenceActionsOf))return!0;return!1}function AJ(e){return OJ(e)}function jJ(e){let t=e.trim().toLowerCase();return wJ.some(e=>e===t)}var MJ=`This rule belongs to the alarm, and an alarm rule fires only when an opening OPENS. Set to “only when it clears”, it can never fire.`;function NJ(e){if(e.conditions.sensorTransition!==`cleared`)return!1;let t=e.conditions.sensorKinds??[];return t.length===0||!t.every(jJ)?!1:kJ(e)}function PJ(e){return e.controllable?e.blocking.includes(e.deviceId):!e.nonBlocking.includes(e.deviceId)}function FJ(e){return e.controllable?!e.secureOnArmOff.includes(e.deviceId):!1}function IJ(e){if(!EJ(e))return null;switch(e){case`cover`:return{cap:e,method:`close`,args:{}};case`lock-control`:return{cap:e,method:`lock`,args:{}};case`switch`:return{cap:e,method:`setState`,args:{on:!1}}}}var LJ=[`exitDelaySec`,`entryDelaySec`,`triggeredDurationSec`],RJ=30,zJ=[`notifyDuringEntryDelay`,`notifySensorRewatched`];function BJ(e,t){let n=(e.modeDelays??[]).find(e=>e.mode===t);return{notifyDuringEntryDelay:n?.notifyDuringEntryDelay===!0,notifySensorRewatched:n?.notifySensorRewatched===!0}}function VJ(e,t){return e===void 0?t>0?`rearmAfter`:`doNothing`:e}function HJ(e,t){return e===void 0?{value:t,source:`default`}:{value:e,source:`mode`}}function UJ(e,t){let n=(e.modeDelays??[]).find(e=>e.mode===t),r=HJ(n?.exitDelaySec,e.exitDelaySec),i=HJ(n?.entryDelaySec,e.entryDelaySec),a=HJ(n?.triggeredDurationSec,e.triggeredDurationSec),o=n?.postTriggeredAction,s=o===void 0?`default`:`mode`,c=VJ(o??e.postTriggeredAction,a.value);return{exitDelaySec:r.value,entryDelaySec:i.value,triggeredDurationSec:a.value,postTriggeredAction:c,source:{exitDelaySec:r.source,entryDelaySec:i.source,triggeredDurationSec:a.source,postTriggeredAction:s}}}function WJ(e,t){return t===void 0?e:t===null?void 0:t}function GJ(e,t){return t===void 0?e:t===null?void 0:t}function KJ(e,t){return t===void 0?e:t===null?void 0:t}function qJ(e,t){return t===void 0?e:t===null?void 0:t}function JJ(e,t){if(e===void 0&&t===void 0)return!0;if(e===void 0||t===void 0||e.invert!==t.invert||e.timezone!==t.timezone||e.windows.length!==t.windows.length)return!1;for(let n=0;n<e.windows.length;n++){let r=e.windows[n],i=t.windows[n];if(r===void 0||i===void 0||r.startMinute!==i.startMinute||r.endMinute!==i.endMinute||r.days.length!==i.days.length)return!1;for(let e=0;e<r.days.length;e++)if(r.days[e]!==i.days[e])return!1}return!0}function YJ(e,t){let n=e.map(e=>({...e}));for(let e of t){let t=n.findIndex(t=>t.mode===e.mode),r=t>=0?n[t]??{mode:e.mode}:{mode:e.mode},i={mode:e.mode},a=WJ(r.exitDelaySec,e.exitDelaySec),o=WJ(r.entryDelaySec,e.entryDelaySec),s=WJ(r.triggeredDurationSec,e.triggeredDurationSec),c=GJ(r.postTriggeredAction,e.postTriggeredAction),l=qJ(r.schedule,e.schedule),u=KJ(r.notifyDuringEntryDelay,e.notifyDuringEntryDelay),d=KJ(r.notifySensorRewatched,e.notifySensorRewatched);a!==void 0&&(i.exitDelaySec=a),o!==void 0&&(i.entryDelaySec=o),s!==void 0&&(i.triggeredDurationSec=s),c!==void 0&&(i.postTriggeredAction=c),l!==void 0&&(i.schedule=l),u!==void 0&&(i.notifyDuringEntryDelay=u),d!==void 0&&(i.notifySensorRewatched=d),t>=0?n[t]=i:n.push(i)}return n.filter(e=>e.exitDelaySec!==void 0||e.entryDelaySec!==void 0||e.triggeredDurationSec!==void 0||e.postTriggeredAction!==void 0||e.schedule!==void 0||e.notifyDuringEntryDelay!==void 0||e.notifySensorRewatched!==void 0)}function XJ(e,t){let n=e.map(e=>({mode:e.mode,deviceIds:[...e.deviceIds]})),r=n.findIndex(e=>e.mode===t.mode),i=r>=0?n[r]?.deviceIds??[]:[],a=i.includes(t.deviceId);if(t.present===a)return{kind:`applied`,lists:n,changed:!1};if(t.present){if(i.length>=200)return{kind:`refused`,reason:`list-full`,mode:t.mode,max:200};let e={mode:t.mode,deviceIds:[...i,t.deviceId]};r>=0?n[r]=e:n.push(e)}else{let e={mode:t.mode,deviceIds:i.filter(e=>e!==t.deviceId)};r>=0&&(n[r]=e)}return{kind:`applied`,lists:n.filter(e=>e.deviceIds.length>0),changed:!0}}function ZJ(e,t){return XJ(e,{mode:t.mode,deviceId:t.deviceId,present:t.nonBlocking})}function QJ(e,t){return XJ(e,{mode:t.mode,deviceId:t.deviceId,present:t.blocking})}function $J(e,t){return XJ(e,{mode:t.mode,deviceId:t.deviceId,present:!t.secureOnArm})}function eY(e,t){let n=new Set(e),r=new Set(t);return n.size===r.size&&[...n].every(e=>r.has(e))}function tY(e){let t=new Map;for(let n of e)n.deviceIds.length>0&&t.set(n.mode,new Set(n.deviceIds));return t}function nY(e,t){let n=tY(e),r=tY(t);if(n.size!==r.size)return!1;for(let[e,t]of n){let n=r.get(e);if(n===void 0||!eY([...t],[...n]))return!1}return!0}function rY(e,t){if(e!==void 0)switch(t){case`exitDelaySec`:return e.exitDelaySec;case`entryDelaySec`:return e.entryDelaySec;case`triggeredDurationSec`:return e.triggeredDurationSec}}function iY(e,t){switch(t){case`exitDelaySec`:return e.exitDelaySec;case`entryDelaySec`:return e.entryDelaySec;case`triggeredDurationSec`:return e.triggeredDurationSec}}function aY(e,t,n){return e?.find(e=>e.mode===t)?.deviceIds.includes(n)??!1}function oY(e,t){if(e.exitDelaySec!==void 0&&e.exitDelaySec!==t.exitDelaySec||e.entryDelaySec!==void 0&&e.entryDelaySec!==t.entryDelaySec||e.triggeredDurationSec!==void 0&&e.triggeredDurationSec!==t.triggeredDurationSec||e.postTriggeredAction!==void 0&&e.postTriggeredAction!==VJ(t.postTriggeredAction,t.triggeredDurationSec)||e.announceTargets!==void 0&&!eY(e.announceTargets,t.announceTargets)||e.nonBlocking!==void 0&&!nY(e.nonBlocking,t.nonBlocking??[])||e.blocking!==void 0&&!nY(e.blocking,t.blocking??[])||e.secureOnArmOff!==void 0&&!nY(e.secureOnArmOff,t.secureOnArmOff??[]))return!1;for(let n of e.modeDelays??[]){let e=(t.modeDelays??[]).find(e=>e.mode===n.mode);for(let t of LJ){let r=iY(n,t);if(r===void 0)continue;let i=rY(e,t);if(r===null?i!==void 0:i!==r)return!1}if(n.postTriggeredAction!==void 0){let t=e?.postTriggeredAction;if(n.postTriggeredAction===null?t!==void 0:t!==n.postTriggeredAction)return!1}for(let t of zJ){let r=n[t];if(r===void 0)continue;let i=e?.[t];if(r===null?i!==void 0:i!==r)return!1}if(n.schedule!==void 0){let t=e?.schedule;if(n.schedule===null?t!==void 0:!JJ(t,n.schedule))return!1}}if(e.nonBlockingEdit!==void 0){let n=e.nonBlockingEdit;if(aY(t.nonBlocking,n.mode,n.deviceId)!==n.nonBlocking)return!1}if(e.blockingEdit!==void 0){let n=e.blockingEdit;if(aY(t.blocking,n.mode,n.deviceId)!==n.blocking)return!1}if(e.secureOnArmEdit!==void 0){let n=e.secureOnArmEdit;if(aY(t.secureOnArmOff,n.mode,n.deviceId)===n.secureOnArm)return!1}return!0}var sY=`default`,cY=`Default`,lY={exitDelaySec:30,entryDelaySec:20,triggeredDurationSec:10,postTriggeredAction:`rearmAfter`};function uY(){return{...lY,announceTargets:[],nonBlocking:[],blocking:[],secureOnArmOff:[],modeDelays:[]}}function dY(e){return e===sY}function fY(e){return{exitDelaySec:e.exitDelaySec,entryDelaySec:e.entryDelaySec,triggeredDurationSec:e.triggeredDurationSec,...e.postTriggeredAction===void 0?{}:{postTriggeredAction:e.postTriggeredAction},...e.announceArm===void 0?{}:{announceArm:e.announceArm},announceTargets:[...e.announceTargets],nonBlocking:e.nonBlocking.map(e=>({mode:e.mode,deviceIds:[...e.deviceIds]})),blocking:e.blocking.map(e=>({mode:e.mode,deviceIds:[...e.deviceIds]})),secureOnArmOff:e.secureOnArmOff.map(e=>({mode:e.mode,deviceIds:[...e.deviceIds]})),modeDelays:e.modeDelays.map(e=>({mode:e.mode,...e.exitDelaySec===void 0?{}:{exitDelaySec:e.exitDelaySec},...e.entryDelaySec===void 0?{}:{entryDelaySec:e.entryDelaySec},...e.triggeredDurationSec===void 0?{}:{triggeredDurationSec:e.triggeredDurationSec},...e.postTriggeredAction===void 0?{}:{postTriggeredAction:e.postTriggeredAction},...e.schedule===void 0?{}:{schedule:{windows:e.schedule.windows.map(e=>({days:[...e.days],startMinute:e.startMinute,endMinute:e.endMinute})),...e.schedule.timezone===void 0?{}:{timezone:e.schedule.timezone},...e.schedule.invert===!0?{invert:!0}:{}}}}))}}function pY(e,t){return e!=null&&e.profiles.length>0?e.profiles.some(e=>e.id==="default")?e.profiles.some(t=>t.id===e.activeId)?e:{activeId:sY,profiles:e.profiles}:{activeId:e.activeId,profiles:[{id:sY,name:cY,settings:fY(t)},...e.profiles]}:{activeId:sY,profiles:[{id:sY,name:cY,settings:fY(t)}]}}function mY(e){return e.trim()}function hY(e,t,n){let r=t.toLowerCase();return e.profiles.some(e=>e.id!==n&&e.name.trim().toLowerCase()===r)}function gY(e,t){let n=mY(t.name);if(n.length===0)return{kind:`refused`,reason:`name-empty`};if(hY(e,n))return{kind:`refused`,reason:`name-taken`,detail:n};if(dY(t.id))return{kind:`refused`,reason:`cannot-rename-default-id`};let r;if(t.source.kind===`defaults`)r=uY();else{let n=t.source.fromId,i=e.profiles.find(e=>e.id===n);if(i===void 0)return{kind:`refused`,reason:`clone-source-missing`,detail:n};r=fY(i.settings)}return{kind:`ok`,state:{activeId:e.activeId,profiles:[...e.profiles,{id:t.id,name:n,settings:r}]}}}function _Y(e,t){let n=mY(t.name);if(n.length===0)return{kind:`refused`,reason:`name-empty`};let r=e.profiles.findIndex(e=>e.id===t.id);if(r<0)return{kind:`refused`,reason:`not-found`,detail:t.id};if(hY(e,n,t.id))return{kind:`refused`,reason:`name-taken`,detail:n};let i=e.profiles.map((e,t)=>t===r?{...e,name:n}:e);return{kind:`ok`,state:{activeId:e.activeId,profiles:i}}}function vY(e,t){if(dY(t))return{kind:`refused`,reason:`cannot-delete-default`};if(!e.profiles.some(e=>e.id===t))return{kind:`refused`,reason:`not-found`,detail:t};let n=e.profiles.filter(e=>e.id!==t);return{kind:`ok`,state:{activeId:e.activeId===t?sY:e.activeId,profiles:n}}}function yY(e,t){return e.profiles.some(e=>e.id===t)?{kind:`ok`,state:{activeId:t,profiles:e.profiles}}:{kind:`refused`,reason:`not-found`,detail:t}}function bY(e,t){return{activeId:e.activeId,profiles:e.profiles.map(n=>n.id===e.activeId?{...n,settings:fY(t)}:n)}}function xY(e,t){return e.profiles.find(e=>e.id===t)}var SY=Object.freeze(Object.fromEntries(Object.entries(oA).flatMap(([e,t])=>{let n=vr[e];return n===void 0||t.category!==`sensor`?[]:[[t.kind,n]]}))),CY=Object.freeze(Object.keys(SY));function wY(e){return e.trim().toLowerCase()}function TY(e,t){if(t===null)return;let n=SY[wY(e)];if(n===void 0)return;let r=Object.entries(t).find(([e])=>e===n)?.[1];return typeof r==`boolean`?r:void 0}function EY(e){return e===void 0||e.length===0?!1:e.every(e=>CY.includes(wY(e)))}var DY=`Only a sensor that raises and clears (water, smoke, gas, CO, vibration, tamper, motion, contact) can fire on one edge. Pick only such sensor kinds, or the rule fires on every change.`,OY=[`body`],Q=[`title`,`body`],kY=[`device-battery-low`,`device-battery-normal`],AY=[`device-consumable-low`,`device-consumable-normal`],jY=[`device-tank-low`,`device-tank-full`,`device-tank-normal`],MY=[`addon-update-available`,`server-update-available`,`wrapper-update-available`],NY=[`addon-update-available`,`server-update-available`],PY=[`alarm-triggered`,`alarm-armed`,`alarm-disarmed`,`alarm-arming`,`alarm-arm-refused`,`alarm-pending`,`alarm-rearmed`,`alarm-sensor-bypass`,`alarm-check-failed`],FY=[`alarm-triggered`],IY=[`device-online`,`device-offline`,`device-disabled`,`device-enabled`,...kY,...AY,...jY,`stream-online`,`stream-offline`,`detection-blind`,...PY],LY=[...Eq(`device-events`),...Eq(`system`)],RY=[{name:`summaryDevices`,label:`Summary: devices offline / switched off`,example:`Garage — offline since 07:12`,kinds:[`device-offline`,`device-online`,`device-disabled`,`device-enabled`]},{name:`summaryStreams`,label:`Summary: streams offline`,example:`Ingresso (high) — since 06:40`,kinds:[`stream-offline`,`stream-online`]},{name:`summaryBattery`,label:`Summary: low batteries`,example:`Sensore porta — 8 %`,kinds:kY},{name:`summaryConsumables`,label:`Summary: consumables`,example:`Robot — filter 10 %`,kinds:AY},{name:`summaryTanks`,label:`Summary: tanks`,example:`Robot — clean water low`,kinds:jY},{name:`summaryDetection`,label:`Summary: cameras detecting nothing`,example:`Ingresso — since 05:10`,kinds:[`detection-blind`]},{name:`summaryNodes`,label:`Summary: nodes`,example:`little-unraid — offline since 03:00`,kinds:[`node-offline`,`node-online`,`node-restarting`,`node-inference-unavailable`]},{name:`summaryAddons`,label:`Summary: addons stopped`,example:`hub — recorder stopped after repeated crashes`,kinds:[`addon-crash-loop`]},{name:`summaryAddonUpdates`,label:`Summary: addon updates`,example:`hub:
357
- • @camstack/addon-recorder 1.2.3 → 1.2.4`,kinds:[`addon-update-available`,`addon-updated`]},{name:`summaryUpdates`,label:`Summary: server & container updates`,example:`server 1.2.377 → 1.2.378`,kinds:[`server-update-available`,`node-updating`,`server-updated`,`wrapper-update-available`]}],zY=[{name:`summaryText`,label:`Summary: every section`,description:`One block per section with something to report, one line per item.`,example:`Batterie scariche: Sensore porta — 8 %`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...LY],systemEventDeliveries:[`summary`]},{name:`summaryCount`,label:`Summary: items reported`,example:`3`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...LY],systemEventDeliveries:[`summary`]},{name:`summarySection`,label:`Summary: this section`,description:`The section a per-section summary row is about (D698); on a summary sent as one message, every section it reports, comma-separated.`,example:`Batterie scariche`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...LY],systemEventDeliveries:[`summary`]},...RY.map(e=>({name:e.name,label:e.label,example:e.example,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...e.kinds],systemEventDeliveries:[`summary`]}))],BY=[{name:`camera`,label:`Camera`,example:`Ingresso`,group:`subject`,families:[`rule`,`timelapse`],systemEventKinds:[...IY,`export-completed`]},{name:`class`,label:`Detected class`,description:`The wire class id (e.g. "person", "cat"); the counted class on an occupancy row.`,example:`person`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`sensor`,`sound`,`occupancy`,`system`],systemEventKinds:[...FY]},{name:`classLabel`,label:`Detected class (translated)`,description:`Human label of {{class}} in the notification language (EVENT_KIND_LABELS); falls back to the raw id.`,example:`Persona`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`sensor`,`sound`,`occupancy`,`system`],systemEventKinds:[...FY]},{name:`label`,label:`Name or plate`,description:`Recognised person or read plate; empty otherwise.`,example:`Mario`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`system`],systemEventKinds:[...FY]},{name:`subject`,label:`Subject sentence`,description:`Composed in the notification language, e.g. "person (Mario)".`,example:`persona (Mario)`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`sensor`,`sound`,`occupancy`]},{name:`confidence`,label:`Confidence`,example:`87%`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`system`],systemEventKinds:[...FY]},{name:`count`,label:`Count`,description:`Occupancy count, subjects in a grouped notification, or the event count of a system notice.`,example:`3`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[`addon-crash-loop`,...NY,`addon-updated`]},{name:`detectionSummary`,label:`Detection summary`,description:`Class composition, e.g. "2 persons and 1 car".`,example:`2 persone e 1 auto`,group:`subject`,families:[`rule`,`timelapse`,`summary`],fields:[...Q],kinds:[`detection`]},{name:`zones`,label:`Zones`,example:`Cancello, Vialetto`,group:`place`,families:[`rule`],fields:[...Q],kinds:[`detection`,`system`],systemEventKinds:[...FY]},{name:`zone`,label:`Zone`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...Q],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[...FY]},{name:`inZones`,label:`"in <zones>" fragment`,description:`Leading space included; empty when no zone.`,example:` in Cancello`,group:`place`,families:[`rule`],fields:[...Q],kinds:[`detection`,`system`],systemEventKinds:[...FY]},{name:`scope`,label:`Occupancy scope`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...Q],kinds:[`occupancy`]},{name:`time`,label:`Time`,description:`Hours and minutes, in the notification language.`,example:`20:05`,group:`time`,families:[`rule`,`timelapse`,`summary`],fields:[...Q]},{name:`rule`,label:`Rule name`,example:`Ingresso notte`,group:`rule`,families:[`rule`,`timelapse`,`summary`]},{name:`from`,label:`Window start`,example:`07:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`to`,label:`Window end`,example:`08:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`capacity`,label:`Capacity`,example:`2`,group:`occupancy`,families:[`rule`],fields:[...Q],kinds:[`occupancy`]},{name:`op`,label:`Occupied / free`,example:`occupata`,group:`occupancy`,families:[`rule`],fields:[...Q],kinds:[`occupancy`]},{name:`sounds`,label:`Sounds heard`,example:`abbaio, clacson`,group:`sound`,families:[`rule`],fields:[...Q],kinds:[`sound`]},{name:`hitPercent`,label:`Share of the window`,description:`Level mode only: percentage of samples above the threshold.`,example:`42`,group:`sound`,families:[`rule`],fields:[...Q],kinds:[`sound`]},{name:`db`,label:`Peak level (dBFS)`,example:`-18`,group:`sound`,families:[`rule`],fields:[...Q],kinds:[`sound`]},{name:`eventType`,label:`Event type`,description:`Raw device event token, e.g. "press" or "open"; empty when the device sends none.`,example:`press`,group:`sensor`,families:[`rule`],fields:[...Q],kinds:[`sensor`]},{name:`ai`,label:`AI sentence`,description:`Where the AI description goes; appended on its own line when absent.`,example:`Una persona lascia un pacco.`,group:`ai`,families:[`rule`,`summary`],fields:[...OY],kinds:[`detection`,`occupancy`]},{name:`eventKind`,label:`Event kind`,example:`device-offline`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventDeliveries:[`instant`]},{name:`deviceName`,label:`Device`,example:`Ingresso`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...IY]},{name:`locations`,label:`Intrusion locations`,example:`Ingresso, Corridoio, Salone`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...FY]},{name:`deviceId`,label:`Device id`,example:`617`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...IY,`export-completed`]},{name:`percentage`,label:`Percentage`,example:`15`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...kY,...AY]},{name:`item`,label:`Consumable`,example:`Filtro`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...AY]},{name:`tank`,label:`Tank`,description:`Which tank: clean water, dirty water, detergent or dust bin.`,example:`clean water`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...jY]},{name:`profile`,label:`Stream profile`,example:`high`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`stream-online`,`stream-offline`]},{name:`node`,label:`Node`,example:`hub`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-restarting`,`node-updating`,`node-inference-unavailable`,`addon-crash-loop`,...MY,`addon-updated`,`server-updated`]},{name:`nodeId`,label:`Node id`,example:`hub`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-restarting`,`node-updating`,`node-inference-unavailable`,`addon-crash-loop`,...MY,`server-updated`]},{name:`devices`,label:`Devices`,description:`node-inference-unavailable: the affected cameras, comma-joined. Alarm arm / arming / refusal: HOW MANY devices are armed (or open).`,example:`Ingresso, Garage`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`node-inference-unavailable`,`alarm-armed`,`alarm-arming`,`alarm-arm-refused`]},{name:`addons`,label:`Addons`,example:`stream-broker`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`addon-crash-loop`]},{name:`minutes`,label:`Minutes`,example:`12`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`detection-blind`]},{name:`package`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...MY,`addon-updated`,`node-updating`,`server-updated`]},{name:`packageName`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...NY,`node-updating`,`server-updated`]},{name:`nodes`,label:`Nodes`,description:"Comma-joined node ids, when an update spans more than one — the single-node case names it through {{nodeId}} instead. `incomingFromUpdateAvailable` (event-intake.ts) fills `nodes` from ONE shared textParams object for both addon- and server-update-available, exactly like packageName/currentVersion/latestVersion/count — only the shipped TEXT (system.server-update-available.body.onNodes) reads it today, but the var is real on both kinds.",example:`hub, little-unraid`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...NY]},{name:`currentVersion`,label:`Current version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...MY]},{name:`latestVersion`,label:`Latest version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...MY]},{name:`list`,label:`Updated packages`,description:"One line per package. `incomingFromUpdateAvailable` fills it for addon-/server-update-available too (the SAME shared textParams object as `nodes`) — `system.addon-update-available.body` reads it; `incomingFromAddonUpdates` fills it again, independently, for the completed `addon-updated` event.",example:`recorder, notifiers`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...NY,`addon-updated`]},{name:`fromVersion`,label:`From version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`node-updating`,`server-updated`]},{name:`toVersion`,label:`To version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`node-updating`,`server-updated`]},{name:`destinationsOk`,label:`Destinations ok`,example:`2`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsTotal`,label:`Destinations`,example:`2`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsFailed`,label:`Destinations failed`,example:`0`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`sizeMB`,label:`Size (MB)`,example:`412`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`backupId`,label:`Backup id`,example:`bk-20260924`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`title`,label:`Export title`,example:`Ingresso 08:00`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`exportId`,label:`Export id`,example:`exp-20260924`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`bytes`,label:`Export size (bytes)`,example:`10485760`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`mode`,label:`Alarm mode`,example:`away`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`,`alarm-pending`,`alarm-rearmed`,`alarm-check-failed`]},{name:`seconds`,label:`Seconds`,description:`Arming: the exit delay left. Pending: the entry delay left to disarm.`,example:`30`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-arming`,`alarm-pending`]},{name:`rules`,label:`Covering rules`,description:`How many enabled rules the armed / arming mode gates.`,example:`2`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`names`,label:`Device names`,description:`Armed / arming: the Active devices (or every skipped name when none are Active). Refusal: the open sensors.`,example:`Ingresso, Garage`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`]},{name:`skippedNames`,label:`Skipped devices`,description:`Devices the mode names but cannot arm (muted, detection off, offline).`,example:`Garage`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`active`,label:`Active count`,description:`How many named devices the armed / arming mode is watching (title: n attivi / n active).`,example:`3`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`skipped`,label:`Skipped count`,description:`How many named devices the mode cannot arm — muted, detection off, offline (title: m saltati).`,example:`1`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`bypassedNames`,label:`Bypassed sensors`,description:`Sensors the operator armed around because they were open.`,example:`Finestra veranda`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`coverage`,label:`Coverage %`,example:`96`,group:`digest`,families:[`timelapse`],fields:[...Q]},{name:`events`,label:`Events`,example:`4`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Q]},{name:`detections`,label:`Detections`,example:`7`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Q]},{name:`count_person`,label:`Count of one class`,description:`count_<class>, e.g. count_person, count_car.`,example:`3`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Q],dynamic:{prefix:`count_`,from:`classes`}},{name:`cameras`,label:`Cameras`,example:`3`,group:`digest`,families:[`summary`],fields:[...Q]},{name:`matched`,label:`Matched events`,example:`12`,group:`digest`,families:[`summary`],fields:[...Q]},{name:`shown`,label:`Events shown`,example:`9`,group:`digest`,families:[`summary`],fields:[...Q]},{name:`total`,label:`Events total`,example:`12`,group:`digest`,families:[`summary`],fields:[...Q]},...zY],VY=[`device-tank-low`,`device-tank-full`,`device-tank-normal`,`node-restarting`,`node-updating`];function HY(){return BY.filter(e=>!UY(e)).map(e=>e.systemEventKinds===void 0?e:{...e,systemEventKinds:e.systemEventKinds.filter(e=>!VY.includes(e))})}function UY(e){return e.systemEventDeliveries!==void 0&&!e.systemEventDeliveries.includes(`instant`)}function WY(e,t){if(!Mq(t.kind))return!0;let n=t.systemEventDelivery??`instant`;return(e.systemEventDeliveries??(e.systemEventKinds===void 0?[n]:[`instant`])).includes(n)}var GY={previewText:[`camera`,`rule`,`from`,`to`],captionText:[`rule`,`from`,`to`]};function KY(e,t){return e===void 0||t===void 0||e.includes(t)}function qY(e,t){return e===void 0||t===void 0||e.some(e=>e===t)?!0:Mq(t)&&e.includes(`system`)}function JY(e,t){if(!Mq(t.kind)||e.systemEventKinds===void 0)return!0;let n=e.systemEventKinds,r=t.systemEventKinds??[];if(r.length>0)return r.some(e=>n.includes(e));let i=t.kind===void 0?void 0:Nq(t.kind);if(i===void 0)return!0;let a=Eq(i);return n.some(e=>a.includes(e))}function YY(e){if(e.field===`previewText`||e.field===`captionText`){let t=GY[e.field];return BY.filter(n=>n.families.includes(e.family)&&t.includes(n.name)&&n.dynamic===void 0)}return BY.filter(t=>t.families.includes(e.family)&&KY(t.fields,e.field)&&qY(t.kinds,e.kind)&&KY(t.deliveries,e.delivery)&&JY(t,e)&&WY(t,e))}function XY(e,t){return YY(t).some(t=>t.dynamic===void 0?t.name===e:e.startsWith(t.dynamic.prefix)&&e.length>t.dynamic.prefix.length)}var ZY=[`device-events`,`system`];function QY(e){if(!Kq(e.delivery))return null;let t=e.systemEventDelivery;return t?.mode===`summary`?t.schedule:null}function $Y(e){let t=e.systemEventDelivery;return t?.mode===`summary`?t.split??`rule`:`rule`}function eX(e){return QY(e)!==null}function tX(e){return e===void 0?!1:(e.onActivation?.length??0)>0||(e.onDeactivation?.length??0)>0||(e.onTrigger?.length??0)>0||(e.onTriggerOff?.length??0)>0||(e.buttons?.length??0)>0}function nX(e){if(e.systemEventDelivery?.mode!==`summary`)return[];if(!Kq(e.delivery))return[{code:`not-a-system-rule`,delivery:e.delivery}];let t=[],n=Oq(e.conditions.systemEvent?.kinds??[]),r=n.kind===`family`?n.family:`mixed`;(r===`mixed`||!ZY.includes(r))&&t.push({code:`family-not-summarisable`,family:r});let i=e.systemEventDelivery.schedule.windows;return i.length===0&&t.push({code:`empty-schedule`}),i.forEach((e,n)=>{(e.days.length===0||e.startMinute===e.endMinute)&&t.push({code:`degenerate-window`,index:n})}),e.schedule!==void 0&&t.push({code:`schedule-beside-summary`}),tX(e.actions)&&t.push({code:`actions-beside-summary`}),t}function rX(e){switch(e.code){case`not-a-system-rule`:return`a '${e.delivery}' rule has no summary delivery — only device-events and system rules do`;case`family-not-summarisable`:return e.family===`alarm`?`an alarm rule cannot be a scheduled summary — the alarm stays instant`:`a ${e.family} rule cannot be a scheduled summary — only device-events and system rules`;case`degenerate-window`:return`send time ${String(e.index+1)} has no day, or starts and ends on the same minute — it never closes, so nothing would be sent`;case`empty-schedule`:return`a summary rule needs at least one send time — its schedule has no window`;case`schedule-beside-summary`:return`a summary rule is sent on its summary schedule — remove the active-hours schedule`;case`actions-beside-summary`:return`a summary rule never matches an event, so its actions would never run — remove them`}}var iX=1440;function aX(e,t){return{windows:e.map(e=>{let t=(e.minute+iX-1)%iX;return{days:(e.minute===0?e.days.map(e=>(e+6)%7):[...e.days]).toSorted((e,t)=>e-t),startMinute:t,endMinute:e.minute}}),...t===void 0?{}:{timezone:t}}}function oX(e){if(e.invert===!0)return null;let t=[];for(let n of e.windows){if((n.endMinute-n.startMinute+iX)%iX!==1)return null;let e=n.endMinute===0?n.days.map(e=>(e+1)%7):n.days;t.push({days:e.toSorted((e,t)=>e-t),minute:n.endMinute})}return t}function sX(e){let t=oX(e);if(t!==null)return{times:t,approximated:!1};if(e.invert===!0)return null;let n=[];for(let t of e.windows){let e=t.endMinute===0?t.days.map(e=>(e+1)%7):t.days;n.push({days:e.toSorted((e,t)=>e-t),minute:t.endMinute})}return{times:n,approximated:n.length>0}}var cX=/\{\{\s*summary(?:Text|Devices|Streams|Battery|Consumables|Tanks|Detection|Nodes|Addons|AddonUpdates|Updates)\s*\}\}/;function lX(e){return e===void 0||e.trim().length===0?!0:cX.test(e)}function uX(e){return e.map(e=>({id:e.id,name:e.name,type:e.isHub?`hub`:`agent`,location:e.isOnline?`online`:`offline`,...e.name===e.id?{}:{detail:e.id}}))}var dX=`@camstack/server`,fX=[dX,`@camstack/system`,`camstack-wrapper`],pX={"@camstack/server":`server`,"@camstack/system":`framework`,"camstack-wrapper":`wrapper`};function mX(e){return fX.some(t=>t===e)}function hX(e){let t=new Map(e.map(e=>[e.name,e.version])),n=fX.map(e=>{let n=t.get(e);return{id:e,name:e,type:pX[e],location:null,...n===void 0?{}:{detail:n}}}),r=e.filter(e=>!mX(e.name)).map(e=>({id:e.name,name:e.name,type:`addon`,location:null,detail:e.version})).sort((e,t)=>e.name.localeCompare(t.name));return[...n,...r]}var gX=`disarmed.armed_home.armed_away.armed_night.armed_vacation.armed_custom_bypass.arming.disarming.pending.triggered.open.opening.closing.closed.stopped.locked.unlocked.locking.unlocking.jammed.on.off.home.not_home.matched.diverged.unknown.latched.live`.split(`.`),_X={disarmed:{en:`Disarmed`,it:`Disinserito`},armed_home:{en:`Armed (home)`,it:`Inserito (in casa)`},armed_away:{en:`Armed (away)`,it:`Inserito (fuori casa)`},armed_night:{en:`Armed (night)`,it:`Inserito (notte)`},armed_vacation:{en:`Armed (vacation)`,it:`Inserito (vacanza)`},armed_custom_bypass:{en:`Armed (custom)`,it:`Inserito (personalizzato)`},arming:{en:`Arming`,it:`In inserimento`},disarming:{en:`Disarming`,it:`In disinserimento`},pending:{en:`Pending (entry delay)`,it:`In attesa (ritardo ingresso)`},triggered:{en:`Triggered`,it:`In allarme`},open:{en:`Open`,it:`Aperto`},opening:{en:`Opening`,it:`In apertura`},closing:{en:`Closing`,it:`In chiusura`},closed:{en:`Closed`,it:`Chiuso`},stopped:{en:`Stopped`,it:`Fermo`},locked:{en:`Locked`,it:`Bloccata`},unlocked:{en:`Unlocked`,it:`Sbloccata`},locking:{en:`Locking`,it:`In blocco`},unlocking:{en:`Unlocking`,it:`In sblocco`},jammed:{en:`Jammed`,it:`Inceppata`},on:{en:`On`,it:`Acceso`},off:{en:`Off`,it:`Spento`},home:{en:`Home`,it:`In casa`},not_home:{en:`Away`,it:`Fuori casa`},matched:{en:`Matched (as captured)`,it:`Corrisponde (come acquisita)`},diverged:{en:`Diverged (changed)`,it:`Diversa (cambiata)`},unknown:{en:`Cannot judge`,it:`Non valutabile`},latched:{en:`Latched`,it:`Memorizzato`},live:{en:`Live`,it:`In tempo reale`}},vX=new Set(gX);function yX(e){return vX.has(e)}function bX(e,t){return yX(e)?_X[e][t]:e}var xX=`motion.audio.person.vehicle.animal.package.sensor.control.car.truck.bus.motorcycle.bicycle.airplane.boat.train.bird.cat.dog.horse.sheep.cow.elephant.bear.zebra.giraffe.package-delivered.package-picked-up.contact.motion-sensor.smoke.flood.gas.carbon-monoxide.vibration.tamper.presence.enum-sensor.device-event.lock.cover.switch.siren.button.doorbell.audio-speech.audio-scream.audio-crying.audio-laughter.audio-music.audio-dog.audio-cat.audio-bird.audio-animal.audio-alarm.audio-doorbell.audio-glass_breaking.audio-gunshot.audio-vehicle.audio-siren.audio-fire.audio-water.audio-wind.audio-door.audio-footsteps.audio-crowd.audio-telephone.audio-engine.audio-tools.audio-silence`.split(`.`),SX={motion:{en:`Motion`,it:`Movimento`},audio:{en:`Audio`,it:`Audio`},person:{en:`Person`,it:`Persona`},vehicle:{en:`Vehicle`,it:`Veicolo`},animal:{en:`Animal`,it:`Animale`},package:{en:`Package`,it:`Pacco`},sensor:{en:`Sensor`,it:`Sensore`},control:{en:`Control`,it:`Controllo`},car:{en:`Car`,it:`Auto`},truck:{en:`Truck`,it:`Camion`},bus:{en:`Bus`,it:`Autobus`},motorcycle:{en:`Motorcycle`,it:`Motocicletta`},bicycle:{en:`Bicycle`,it:`Bicicletta`},airplane:{en:`Airplane`,it:`Aereo`},boat:{en:`Boat`,it:`Barca`},train:{en:`Train`,it:`Treno`},bird:{en:`Bird`,it:`Uccello`},cat:{en:`Cat`,it:`Gatto`},dog:{en:`Dog`,it:`Cane`},horse:{en:`Horse`,it:`Cavallo`},sheep:{en:`Sheep`,it:`Pecora`},cow:{en:`Cow`,it:`Mucca`},elephant:{en:`Elephant`,it:`Elefante`},bear:{en:`Bear`,it:`Orso`},zebra:{en:`Zebra`,it:`Zebra`},giraffe:{en:`Giraffe`,it:`Giraffa`},"package-delivered":{en:`Package delivered`,it:`Pacco consegnato`},"package-picked-up":{en:`Package picked up`,it:`Pacco ritirato`},contact:{en:`Contact`,it:`Contatto`},"motion-sensor":{en:`Motion sensor`,it:`Sensore movimento`},smoke:{en:`Smoke`,it:`Fumo`},flood:{en:`Water leak`,it:`Allagamento`},gas:{en:`Gas`,it:`Gas`},"carbon-monoxide":{en:`Carbon monoxide`,it:`Monossido di carbonio`},vibration:{en:`Vibration`,it:`Vibrazione`},tamper:{en:`Tamper`,it:`Manomissione`},presence:{en:`Presence`,it:`Presenza`},"enum-sensor":{en:`Sensor state`,it:`Stato sensore`},"device-event":{en:`Device event`,it:`Evento dispositivo`},lock:{en:`Lock`,it:`Serratura`},cover:{en:`Cover`,it:`Tapparella`},switch:{en:`Switch`,it:`Interruttore`},siren:{en:`Siren`,it:`Sirena`},button:{en:`Button`,it:`Pulsante`},doorbell:{en:`Doorbell`,it:`Campanello`},"audio-speech":{en:`Speech`,it:`Voce`},"audio-scream":{en:`Scream / Shout`,it:`Urlo`},"audio-crying":{en:`Crying / Baby`,it:`Pianto / Neonato`},"audio-laughter":{en:`Laughter`,it:`Risata`},"audio-music":{en:`Music`,it:`Musica`},"audio-dog":{en:`Dog`,it:`Cane`},"audio-cat":{en:`Cat`,it:`Gatto`},"audio-bird":{en:`Bird`,it:`Uccello`},"audio-animal":{en:`Animal (other)`,it:`Animale (altro)`},"audio-alarm":{en:`Alarm / Siren`,it:`Allarme`},"audio-doorbell":{en:`Doorbell / Knock`,it:`Campanello`},"audio-glass_breaking":{en:`Glass Breaking`,it:`Vetro rotto`},"audio-gunshot":{en:`Gunshot / Explosion`,it:`Sparo / Esplosione`},"audio-vehicle":{en:`Vehicle`,it:`Veicolo`},"audio-siren":{en:`Emergency Siren`,it:`Sirena`},"audio-fire":{en:`Fire / Smoke`,it:`Fuoco / Fumo`},"audio-water":{en:`Water`,it:`Acqua`},"audio-wind":{en:`Wind / Weather`,it:`Vento / Maltempo`},"audio-door":{en:`Door`,it:`Porta`},"audio-footsteps":{en:`Footsteps`,it:`Passi`},"audio-crowd":{en:`Crowd / Chatter`,it:`Folla / Chiacchiericcio`},"audio-telephone":{en:`Telephone`,it:`Telefono`},"audio-engine":{en:`Engine / Motor`,it:`Motore`},"audio-tools":{en:`Tools / Construction`,it:`Utensili / Lavori`},"audio-silence":{en:`Silence`,it:`Silenzio`}},CX=new Set(xX);function wX(e){return CX.has(e)}function TX(e,t){let n=e.trim().toLowerCase();return wX(n)?SX[n][t]:e}var EX=u({title:c().max(500).optional(),body:c().max(2e3).optional()}),DX=c().min(1).max(200),OX=x(i()).min(1),kX=i().int().min(2).max(3600),AX=i().int().min(1).max(60),jX=x(fC).min(1),MX=i().int().min(1).max(5),NX=.1,PX=i().min(NX).max(3600),FX=i().min(0).max(60),IX=c().max(200),LX=b([`image`,`gif`]),RX=x(c().min(1).max(40)).max(20),zX=u({name:DX,enabled:S().default(!0),deviceIds:OX,schedule:US,cadenceSec:kX.default(15),framerate:AX.default(10),denseCadenceSec:PX.optional(),minDwellSec:FX.optional(),targets:jX,template:EX.optional(),previewText:IX.optional(),previewMode:LX.default(`image`),reportClasses:RX.optional(),priority:MX.default(3)}),BX=`Timelapse {{camera}}`,VX=u({name:DX.optional(),enabled:S().optional(),deviceIds:OX.optional(),schedule:US.optional(),cadenceSec:kX.optional(),framerate:AX.optional(),denseCadenceSec:PX.optional(),minDwellSec:FX.optional(),targets:jX.optional(),template:EX.nullable().optional(),previewText:IX.optional(),previewMode:LX.optional(),reportClasses:RX.optional(),priority:MX.optional()}),HX=zX.extend({id:c(),ownerUserId:c().optional(),lastGeneratedAt:i().optional(),generatedByDevice:v(c(),i()).optional(),createdBy:c(),createdAt:i(),updatedAt:i()});function UX(e){let t=e.denseCadenceSec;if(t!==void 0&&t>=e.cadenceSec)throw Error(`denseCadenceSec (${t}s) must be strictly smaller than cadenceSec (${e.cadenceSec}s) — a dense cadence that is not denser renders a uniform timelapse`)}function WX(e,t){let n=e.generatedByDevice;return n===void 0?e.lastGeneratedAt??0:n[String(t)]??0}function GX(e){return e.some(e=>e!==`analyzer`)}async function KX(e,t){try{return await e.getCapSlice.query({deviceId:t,capName:`motion`})}catch(e){let n=e instanceof Error?e.message:String(e);throw Error(`motion state of device ${t} is unreadable: ${n}`,{cause:e})}}async function qX(e,t){let n=await KX(e,t);if(n===null)return null;let r=mI.safeParse(n);if(!r.success)throw Error(`motion state of device ${t} is malformed on the hub: ${r.error.message}`);return r.data}async function JX(e,t){let n=(await KX(e,t))?.detected;if(typeof n!=`boolean`)throw Error(`motion state of device ${t} is not published yet (unknown)`);return n}function YX(e,t,n){let r=e=>{if(e!==t)throw Error(`${n}: motion deviceId mismatch, expected ${t}, got ${e}`)};return{isDetected:async({deviceId:n})=>(r(n),JX(e,t)),getStatus:async({deviceId:n})=>(r(n),qX(e,t))}}var XX=hI.omit({triggeredBy:!0});function ZX(e,t){return Re(he.ProviderMotion,e,t)}function QX(e,t){return!!e.formats[t]}function $X(e,t,n){if(t!=null){let r=e.find(e=>e.id===t);if(r!==void 0&&QX(r,n))return!0}return e.some(e=>e.legacy!==!0&&QX(e,n))}var eZ=`detail-crop`,tZ=`detailCropPaddingRatio`,nZ=`detailCropSquare`,rZ=u({paddingRatio:i().min(0).max(4),square:S()}),iZ={paddingRatio:.15,square:!1};function aZ(e){let t=rZ.shape.paddingRatio.safeParse(e[tZ]),n=rZ.shape.square.safeParse(e[nZ]);return{paddingRatio:t.success?t.data:iZ.paddingRatio,square:n.success?n.data:iZ.square}}function oZ(e){return typeof e==`object`&&!!e&&`key`in e}function sZ(e){if(e===null)return iZ;let t={};for(let n of e.sections)for(let e of n.fields)!oZ(e)||typeof e.key!=`string`||(e.key===`detailCropPaddingRatio`||e.key===`detailCropSquare`)&&(t[e.key]=e.value);return aZ(t)}var cZ=Object.freeze({x:0,y:0,w:1,h:1}),lZ={min:0,max:1,step:.05,default:iZ.paddingRatio};function uZ(e,t,n,r){let i=r.paddingRatio*e.w,a=r.paddingRatio*e.h,o={x:e.x-i,y:e.y-a,w:e.w+2*i,h:e.h+2*a};return r.square?pZ(dZ(o,t,n),t,n):fZ(o,t,n)}function dZ(e,t,n){let r=Math.min(Math.max(e.w,e.h),Math.min(t,n)),i=e.x+e.w/2,a=e.y+e.h/2;return{x:i-r/2,y:a-r/2,w:r,h:r}}function fZ(e,t,n){let r=Math.max(0,e.x),i=Math.max(0,e.y),a=Math.min(t,e.x+e.w),o=Math.min(n,e.y+e.h);return{x:r,y:i,w:Math.max(0,a-r),h:Math.max(0,o-i)}}function pZ(e,t,n){let r=Math.max(0,Math.min(e.w,t)),i=Math.max(0,Math.min(e.h,n));return{x:Math.min(Math.max(0,e.x),Math.max(0,t-r)),y:Math.min(Math.max(0,e.y),Math.max(0,n-i)),w:r,h:i}}var mZ=`native-lease`,hZ=`nativeLeaseHoldFrames`,gZ=`nativeLeaseBudgetMb`,_Z=`nativeLeaseActivityMs`,vZ=`nativeLeaseAdmission`,yZ=`nativeTileBudgetMb`,bZ=`nativeSceneBudgetMb`,xZ=b([`all`,`inferred`]),SZ=u({holdFrames:i().int().min(1).max(64),budgetMb:i().int().min(0).max(4096),activityMs:i().int().min(0).max(12e4),admission:xZ,tileBudgetMb:i().int().min(0).max(1024),sceneBudgetMb:i().int().min(0).max(1024)}),CZ={holdFrames:8,budgetMb:1024,activityMs:15e3,tileBudgetMb:64,sceneBudgetMb:48,admission:`inferred`},wZ={min:1,max:64,step:1,default:CZ.holdFrames},TZ={min:0,max:4096,step:64,default:CZ.budgetMb},EZ={min:0,max:12e4,step:1e3,default:CZ.activityMs},DZ={min:0,max:1024,step:16,default:CZ.tileBudgetMb},OZ={min:0,max:1024,step:16,default:CZ.sceneBudgetMb},kZ={options:[{value:`all`,label:`Every delivered frame`},{value:`inferred`,label:`Only frames sent to inference`}],default:CZ.admission};function AZ(e,t){let n=SZ.shape[e].safeParse(t);return n.success?n.data===CZ[e]?null:n.data:null}function jZ(e){let t=xZ.safeParse(e);return t.success?t.data===CZ.admission?null:t.data:null}function MZ(e){let t=AZ(`holdFrames`,e[hZ]),n=AZ(`budgetMb`,e[gZ]),r=AZ(`activityMs`,e[_Z]),i=jZ(e[vZ]),a=AZ(`tileBudgetMb`,e[yZ]),o=AZ(`sceneBudgetMb`,e[bZ]);return{...t===null?{}:{holdFrames:t},...n===null?{}:{budgetMb:n},...r===null?{}:{activityMs:r},...i===null?{}:{admission:i},...a===null?{}:{tileBudgetMb:a},...o===null?{}:{sceneBudgetMb:o}}}function NZ(e){return typeof e==`object`&&!!e&&`key`in e}var PZ=[hZ,gZ,_Z,vZ,yZ,bZ];function FZ(e){if(e===null)return{};let t={};for(let n of e.sections)for(let e of n.fields)!NZ(e)||typeof e.key!=`string`||PZ.includes(e.key)&&(t[e.key]=e.value);return MZ(t)}var IZ=[{id:`viewer`,label:`View`,description:`Watch live and recorded video, browse events and read device state. Cannot change anything.`,deviceAccess:[`view`],systemAccess:[`view`]},{id:`operator`,label:`Operate`,description:`Everything View does, plus acting on a device: PTZ, lights, sirens, locks, and snoozing notifications. Cannot delete.`,deviceAccess:[`view`,`create`],systemAccess:[`view`,`create`]},{id:`manager`,label:`Full management`,description:`Everything Operate does, plus deleting devices, recordings and events. Short of admin — no user or cluster administration.`,deviceAccess:[`view`,`create`,`delete`],systemAccess:[`view`,`create`,`delete`]}];function LZ(e){let t=IZ.find(t=>t.id===e);if(!t)throw Error(`Unknown access role '${e}'`);return t}function RZ(e){let t=LZ(e.roleId);return[{type:`device`,selector:e.selector,access:[...t.deviceAccess],includeLinked:e.includeLinked},{type:`category`,target:`system`,access:[...t.systemAccess]}]}function zZ(e,t){if(e.length!==t.length)return!1;let n=new Set(e);return t.every(e=>n.has(e))}function BZ(e){if(e.length!==2)return null;let t=e.filter(e=>e.type===`device`),n=e.filter(e=>e.type===`category`&&e.target===`system`);if(t.length!==1||n.length!==1)return null;let[r]=t,[i]=n;if(r===void 0||i===void 0||r.type!==`device`||r.includeLinked===void 0)return null;let a=IZ.find(e=>zZ(e.deviceAccess,r.access)&&zZ(e.systemAccess,i.access));return a?{roleId:a.id,selector:r.selector,includeLinked:r.includeLinked}:null}var VZ=8;function HZ(e,t){switch(e.kind){case`all`:return!0;case`ids`:return e.ids.includes(t.id);case`types`:return e.types.some(e=>String(e)===t.type);case`locations`:return t.location!==null&&e.locations.includes(t.location)}}function UZ(e,t){return e.some(e=>e.type===`category`&&e.target===`device`&&e.access.includes(t))}function WZ(e,t){return e.filter(e=>e.type===`device`&&e.access.includes(t))}function GZ(e,t){return e.includeLinked??t===`view`}function KZ(e,t){let n=[],r=e;for(let e=0;e<VZ;e++){let e=r===null?null:t.get(r)?.parentDeviceId??null;if(e===null||e===r)break;n.push(e),r=e}return n}function qZ(e,t,n){if(UZ(e,n))return new Set(t.map(e=>e.id));let r=new Map;for(let e of t)r.set(e.id,e);let i=WZ(e,n),a=new Set;for(let e of t)for(let t of i){if(HZ(t.selector,e)){a.add(e.id);break}if(GZ(t,n)&&KZ(e.id,r).some(e=>{let n=r.get(e);return n!==void 0&&HZ(t.selector,n)})){a.add(e.id);break}}return a}function JZ(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){let e=X.safeParse(n);e.success&&t.push(e.data)}return t}var YZ=[`view`,`create`,`delete`];function XZ(e,t,n,r){return r?{all:!0,deviceCount:t.length}:{all:UZ(e,n)||WZ(e,n).some(e=>e.selector.kind===`all`),deviceCount:qZ(e,t,n).size}}function ZZ(e){let t=[];for(let n of e)n.type===`capability`&&t.push({name:n.target,access:n.access});return t}function QZ(e){let t=[];for(let n of e)n.type===`addon`&&t.push({name:n.target,access:n.access});return t}function $Z(e,t,n){let r={view:XZ(e,t,`view`,n),create:XZ(e,t,`create`,n),delete:XZ(e,t,`delete`,n)},i=n?YZ:YZ.filter(t=>e.some(e=>e.type===`category`&&e.target===`system`&&e.access.includes(t)));return{isAdmin:n,allDevicesViewable:r.view.all,viewableDeviceCount:r.view.deviceCount,device:r,system:i,capabilities:ZZ(e),addons:QZ(e)}}var eQ={camera:{type:`camera`,label:`Camera`,icon:`camera`}};function tQ(e,t){let n=e.length,r=t.length;if(n===0)return r;if(r===0)return n;let i=Array.from({length:r+1},(e,t)=>t),a=Array.from({length:r+1},()=>0);for(let o=1;o<=n;o++){a[0]=o;let n=i[0]??0;for(let s=1;s<=r;s++){let r=i[s]??0,c=a[s-1]??0,l=e.charCodeAt(o-1)===t.charCodeAt(s-1)?0:1;a[s]=Math.min(r+1,c+1,n+l),n=r}for(let e=0;e<=r;e++)i[e]=a[e]??0}return i[r]??0}function nQ(e,t){let n=e.trim().toLowerCase(),r=t.trim().toLowerCase();return n===r?1:n.length===0||r.length===0?0:1-tQ(n,r)/Math.max(n.length,r.length)}function rQ(e,t,n=.8){let r=null,i=0;for(let a of t){let t=nQ(e,a);t>=n&&t>i&&(r=a,i=t)}return r}var iQ=`addon:`;function aQ(e){return e.startsWith(iQ)?e.slice(6):e}function oQ(e,t){return aQ(e)===aQ(t)}function sQ(e){return{runId:e.runId,state:e.state,startedAtMs:e.startedAtMs,finishedAtMs:e.finishedAtMs,progress:e.progress,result:e.result,error:e.error}}var cQ=class{opts;runs=new Map;now;constructor(e){this.opts=e,this.now=e.now??Date.now}get runningCount(){let e=0;for(let t of this.runs.values())t.state===`running`&&(e+=1);return e}start(e,t){let n=this.runs.get(e);if(n!==void 0&&n.state===`running`)throw Error(`run '${e}' is already running`);if(this.runningCount>=this.opts.maxConcurrent)throw Error(`busy: ${this.runningCount}/${this.opts.maxConcurrent} run(s) already in progress — wait for one to finish or abort it`);let r={runId:e,state:`running`,startedAtMs:this.now(),finishedAtMs:null,progress:null,result:null,error:null,controller:new AbortController};this.runs.delete(e),this.runs.set(e,r);let i={signal:r.controller.signal,report:e=>{r.progress=e}},a=e=>{e.error===void 0?(r.state=r.controller.signal.aborted?`aborted`:`done`,r.result=e.result??null):(r.state=`failed`,r.error=e.error),r.finishedAtMs=this.now(),this.prune(),this.opts.onSettled?.(sQ(r))},o;try{o=t(i)}catch(e){o=Promise.reject(e)}return o.then(e=>a({result:e}),e=>a({error:e instanceof Error?e.message:String(e)})),sQ(r)}status(e){let t=this.runs.get(e);return t===void 0?null:sQ(t)}list(){let e=[...this.runs.values()],t=e.filter(e=>e.state===`running`).toSorted((e,t)=>t.startedAtMs-e.startedAtMs),n=e.filter(e=>e.state!==`running`).toSorted((e,t)=>(t.finishedAtMs??0)-(e.finishedAtMs??0));return[...t,...n].map(sQ)}abort(e){let t=this.runs.get(e);return t===void 0||t.state!==`running`?!1:(t.controller.abort(),!0)}abortAll(){for(let e of this.runs.values())e.state===`running`&&e.controller.abort()}prune(){let e=[...this.runs.values()].filter(e=>e.state!==`running`).toSorted((e,t)=>(e.finishedAtMs??0)-(t.finishedAtMs??0)),t=e.length-this.opts.keepFinished;for(let n=0;n<t;n++){let t=e[n];t!==void 0&&this.runs.delete(t.runId)}}};function lQ(e,t){if(e.length!==t.length)return 0;let n=0,r=0,i=0;for(let a=0;a<e.length;a++)n+=e[a]*t[a],r+=e[a]*e[a],i+=t[a]*t[a];let a=Math.sqrt(r)*Math.sqrt(i);return a===0?0:n/a}var uQ=class{elementId;cache={};listeners=new Set;loaded=!1;getBackend;constructor(e,t){this.elementId=e,this.getBackend=typeof t==`function`?t:()=>t}async ensureLoaded(){if(this.loaded)return;let e=this.getBackend();if(!e)throw Error(`ElementConfigStore(${this.elementId}): settings backend not available`);let t=await e.query({collection:`config`,filter:{where:{id:this.elementId},limit:1}});t.length>0&&(this.cache=t[0].data??{}),this.loaded=!0}getAll(){return{...this.cache}}get(e){let t=e.split(`.`),n=this.cache;for(let e of t){if(typeof n!=`object`||!n||Array.isArray(n))return;n=Reflect.get(n,e)}return n}async set(e,t){await this.ensureLoaded(),dQ(this.cache,e,t),await this.persist(),this.notifyListeners()}async setAll(e){await this.ensureLoaded(),this.cache={...e},await this.persist(),this.notifyListeners()}onChange(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}async load(){await this.ensureLoaded()}async loadDefaults(e){await this.ensureLoaded(),Object.keys(this.cache).length===0&&(this.cache={...e},await this.persist())}async persist(){let e=this.getBackend();if(!e)throw Error(`ElementConfigStore(${this.elementId}): settings backend not available — cannot persist config`);await e.set({collection:`config`,key:this.elementId,value:this.cache})}notifyListeners(){let e=this.getAll();for(let t of this.listeners)try{t(e)}catch{}}};function dQ(e,t,n){let r=t.split(`.`),i=e;for(let e=0;e<r.length-1;e++){let t=r[e],n=i[t];if(typeof n!=`object`||!n||Array.isArray(n)){let e={};i[t]=e,i=e}else i=n}i[r[r.length-1]]=n}function fQ(e,t){return`https://huggingface.co/${e}/resolve/main/${t}`}var pQ=[/^user$/i,/^usr$/i,/^username$/i,/^password$/i,/^pwd$/i,/^pass$/i,/^passwd$/i,/^secret$/i,/^token$/i,/^auth$/i,/^auth[_-]?token$/i,/^bearer$/i,/^api[_-]?key$/i,/^access[_-]?token$/i,/^refresh[_-]?token$/i];function mQ(e){return pQ.some(t=>t.test(e))}function hQ(e){try{let t=new URL(e),n=!1;(t.username||t.password)&&(t.username=``,t.password=``,n=!0);for(let e of Array.from(t.searchParams.keys()))mQ(e)&&(t.searchParams.set(e,`***`),n=!0);return n?t.toString():e}catch{return e}}var $=1024*1024,gQ={sampleIntervalMs:6e4,baselineSettleSamples:5,baselineSampleCount:3,restartMultiple:4,floorBytes:1024*$,ceilingBytes:3072*$,cooldownMs:30*6e4,maxRestartsPerWindow:6,restartWindowMs:1440*6e4};function _Q(e){let t=(t,n,r)=>{let i=e[t];if(i===void 0)return n;let a=Number(i);return Number.isFinite(a)&&a>=r?a:n},n=gQ;return{sampleIntervalMs:t(`CAMSTACK_POOL_MEM_INTERVAL_MS`,n.sampleIntervalMs,5e3),baselineSettleSamples:n.baselineSettleSamples,baselineSampleCount:n.baselineSampleCount,restartMultiple:t(`CAMSTACK_POOL_MEM_MULTIPLE`,n.restartMultiple,1.5),floorBytes:t(`CAMSTACK_POOL_MEM_FLOOR_MB`,n.floorBytes/$,128)*$,ceilingBytes:t(`CAMSTACK_POOL_MEM_CEILING_MB`,n.ceilingBytes/$,256)*$,cooldownMs:t(`CAMSTACK_POOL_MEM_COOLDOWN_MS`,n.cooldownMs,6e4),maxRestartsPerWindow:t(`CAMSTACK_POOL_MEM_MAX_RESTARTS`,n.maxRestartsPerWindow,1),restartWindowMs:t(`CAMSTACK_POOL_MEM_RESTART_WINDOW_MS`,n.restartWindowMs,6e4)}}function vQ(e){let t=t=>{let n=e.match(RegExp(`^${t}:\\s+(\\d+)\\s*kB`,`m`));return n?Number(n[1])*1024:null},n=t(`VmRSS`);if(n===null)return null;let r=e.match(/^Threads:\s+(\d+)/m);return{rssBytes:n,vmBytes:t(`VmSize`)??0,hwmBytes:t(`VmHWM`)??0,swapBytes:t(`VmSwap`)??0,threads:r?Number(r[1]):0}}function yQ(){return{settleSeen:0,baselineWindow:[],baselineBytes:null,restartsAt:[],lastRestartAt:null}}function bQ(e){let t=[...e].sort((e,t)=>e-t);return t[Math.floor(t.length/2)]}function xQ(e,t,n){if(e.baselineBytes!==null)return e;if(e.settleSeen<n.baselineSettleSamples)return{...e,settleSeen:e.settleSeen+1};let r=[...e.baselineWindow,t];return r.length<n.baselineSampleCount?{...e,baselineWindow:r}:{...e,baselineWindow:r,baselineBytes:bQ(r)}}function SQ(e,t){return e===null?t.ceilingBytes:Math.min(t.ceilingBytes,Math.max(t.floorBytes,t.restartMultiple*e))}function CQ(e,t,n){return e.filter(e=>t-e<n.restartWindowMs)}function wQ(e,t,n,r){let i=xQ(e,t,r),a=SQ(i.baselineBytes,r);if(t<=a)return{state:i,action:i.baselineBytes===null?`baseline-pending`:`ok`,baselineBytes:i.baselineBytes,thresholdBytes:a};let o=CQ(i.restartsAt,n,r),s={...i,restartsAt:o};return o.length>=r.maxRestartsPerWindow?{state:s,action:`exhausted`,baselineBytes:i.baselineBytes,thresholdBytes:a}:s.lastRestartAt!==null&&n-s.lastRestartAt<r.cooldownMs?{state:s,action:`cooldown`,baselineBytes:i.baselineBytes,thresholdBytes:a}:{state:s,action:`restart`,baselineBytes:i.baselineBytes,thresholdBytes:a}}function TQ(e,t){return{...yQ(),restartsAt:[...e.restartsAt,t],lastRestartAt:t}}function EQ(e){return{...yQ(),restartsAt:e.restartsAt,lastRestartAt:e.lastRestartAt}}function DQ(e){if(e.length===0)return null;let t=e[0];for(let n of e)n.rssBytes/n.thresholdBytes>t.rssBytes/t.thresholdBytes&&(t=n);return t.key}var OQ=class{pools=new Map;timer=null;sweeping=!1;stopped=!1;opts;now;setTimer;clearTimer;constructor(e){this.opts=e,this.now=e.now??(()=>Date.now()),this.setTimer=e.setTimer??((e,t)=>setTimeout(e,t)),this.clearTimer=e.clearTimer??(e=>clearTimeout(e))}start(){this.timer||this.stopped||this.arm()}stop(){this.stopped=!0,this.timer&&=(this.clearTimer(this.timer),null)}arm(){let e=this.setTimer(()=>{this.sweep().finally(()=>{this.stopped||this.arm()})},this.opts.policy.sampleIntervalMs);typeof e.unref==`function`&&e.unref(),this.timer=e}async sweep(){if(!this.sweeping){this.sweeping=!0;try{await this.doSweep()}catch(e){this.opts.log.warn(`pool memory sweep failed`,{meta:{error:e instanceof Error?e.message:String(e)}})}finally{this.sweeping=!1}}}async doSweep(){let e=this.now(),t=await this.opts.sample(),n=[],r=new Map;for(let i of t){let t=this.pools.get(i.key),a=t?.state??yQ();t&&t.pids.length>0&&!kQ(t.pids,i.pids)&&(this.opts.log.warn(`pool process changed outside the watchdog — re-baselining`,{meta:{poolKey:i.key,previousPids:t.pids,pids:i.pids}}),a=EQ(a));let o=wQ(a,i.rssBytes,e,this.opts.policy);this.pools.set(i.key,{state:o.state,pids:i.pids}),r.set(i.key,o),this.opts.log.info(`pool memory`,{meta:{poolKey:i.key,pids:i.pids,rssMb:Math.round(i.rssBytes/$),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),action:o.action,...i.meta}}),o.action===`restart`?n.push({key:i.key,rssBytes:i.rssBytes,thresholdBytes:o.thresholdBytes}):o.action===`cooldown`?this.opts.log.warn(`pool over memory threshold but inside restart cooldown`,{meta:{poolKey:i.key,rssMb:Math.round(i.rssBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),cooldownMs:this.opts.policy.cooldownMs}}):o.action===`exhausted`&&this.opts.log.error(`pool memory watchdog gave up — restart budget exhausted, pool leaks faster than restarts can pay for; needs a heap profile (py-spy / tracemalloc)`,{meta:{poolKey:i.key,rssMb:Math.round(i.rssBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),maxRestartsPerWindow:this.opts.policy.maxRestartsPerWindow,restartWindowMs:this.opts.policy.restartWindowMs}})}for(let e of[...this.pools.keys()])t.some(t=>t.key===e)||this.pools.delete(e);let i=DQ(n);if(i===null)return;let a=n.find(e=>e.key===i),o=r.get(i),s=this.pools.get(i),c=s.state.restartsAt.length+1;this.opts.log.warn(`pool memory watchdog restarting pool — RSS over threshold`,{meta:{poolKey:i,pids:s.pids,rssMb:Math.round(a.rssBytes/$),thresholdMb:Math.round(a.thresholdBytes/$),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/$),restartsInWindow:c,deferredCandidates:n.filter(e=>e.key!==i).map(e=>e.key)}});try{await this.opts.restart(i),this.pools.set(i,{state:TQ(s.state,this.now()),pids:[]})}catch(e){this.opts.log.error(`pool memory watchdog restart failed`,{meta:{poolKey:i,error:e instanceof Error?e.message:String(e)}})}}};function kQ(e,t){if(e.length!==t.length)return!1;let n=[...e].sort((e,t)=>e-t),r=[...t].sort((e,t)=>e-t);return n.every((e,t)=>e===r[t])}function AQ(e,t,n){let r=t*n;if(r<=0||e.length===0)return Array.from({length:Math.max(0,r)}).fill(!1);let i=Array.from({length:r}).fill(!1);for(let r=0;r<n;r++)for(let a=0;a<t;a++){let o=(a+.5)/t,s=(r+.5)/n;for(let n of e)if(o>=n.x&&o<=n.x+n.w&&s>=n.y&&s<=n.y+n.h){i[r*t+a]=!0;break}}return i}function jQ(e,t,n,r){if(t<=0||n<=0||r<=0)return[];let i=t*n,a=Array.from({length:i}).fill(!1),o=Math.min(e.length,i);for(let t=0;t<o;t++)a[t]=e[t]===!0;let s=[],c=[];for(let e=0;e<=n;e++){let r=[];if(e<n){let n=-1;for(let i=0;i<=t;i++){let o=i<t&&a[e*t+i]===!0;o&&n===-1?n=i:!o&&n!==-1&&(r.push({colStart:n,colEnd:i-1}),n=-1)}}let i=new Set,o=[];for(let t of c){let n=r.findIndex(e=>e.colStart===t.colStart&&e.colEnd===t.colEnd);n>=0?(o.push(t),i.add(n)):s.push({...t,rowEnd:e-1})}for(let t=0;t<r.length;t++)if(!i.has(t)){let n=r[t];o.push({colStart:n.colStart,colEnd:n.colEnd,rowStart:e})}c.length=0;for(let e of o)c.push(e)}if(s.length===0)return[];let l=s.slice().toSorted((e,t)=>{let n=(e.colEnd-e.colStart+1)*(e.rowEnd-e.rowStart+1);return(t.colEnd-t.colStart+1)*(t.rowEnd-t.rowStart+1)-n});return(r>0?l.slice(0,r):l).map(e=>({x:e.colStart/t,y:e.rowStart/n,w:(e.colEnd-e.colStart+1)/t,h:(e.rowEnd-e.rowStart+1)/n}))}var MQ=class{capacity;items;head=0;tail=0;count=0;constructor(e){this.capacity=e,this.items=Array.from({length:e})}get size(){return this.count}push(e){this.items[this.tail]=e,this.tail=(this.tail+1)%this.capacity,this.count<this.capacity?this.count++:this.head=(this.head+1)%this.capacity}drain(e){let t=[],n=Math.min(e,this.count);for(let e=0;e<n;e++)t.push(this.items[this.head]),this.items[this.head]=void 0,this.head=(this.head+1)%this.capacity;return this.count-=n,t}};async function NQ(e,t){let n=performance.now();try{return{output:t===void 0?await e():await FQ(e(),t),durationMs:PQ(performance.now()-n),ok:!0}}catch(e){return{output:void 0,durationMs:PQ(performance.now()-n),ok:!1,error:In(e)}}}function PQ(e){return Math.round(e*100)/100}function FQ(e,t){return new Promise((n,r)=>{let i=setTimeout(()=>r(Error(`Inference timeout after ${t}ms`)),t);e.then(e=>{clearTimeout(i),n(e)}).catch(e=>{clearTimeout(i),r(e)})})}var IQ={openvino:`openvino`,edgetpu:`tflite`,coreml:`coreml`,onnx:`onnx`,cpu:`onnx`,cuda:`onnx`};function LQ(e){return IQ[e]??`onnx`}var RQ={onnx:`onnx`,coreml:`coreml`,openvino:`openvino`,tflite:`tflite`,pytorch:`pt`},zQ={coreml:`coreml_inference.py`,pytorch:`pytorch_inference.py`,openvino:`openvino_inference.py`};function BQ(e){return RQ[e]}function VQ(e){return zQ[e]}function HQ(e){return e===`coreml`||e===`pytorch`||e===`openvino`}function UQ(e){let t=e instanceof Float32Array?e:Float32Array.from(e),n=new Uint8Array(t.length*4),r=new DataView(n.buffer);for(let e=0;e<t.length;e+=1)r.setFloat32(e*4,t[e]??0,!0);return Buffer.from(n).toString(`base64`)}function WQ(e){let t=Buffer.from(e,`base64`);if(t.byteLength%4!=0)throw Error(`decodeVectorBase64: ${t.byteLength} bytes is not a whole number of Float32 values`);let n=new Float32Array(t.byteLength/4);for(let e=0;e<n.length;e+=1)n[e]=t.readFloatLE(e*4);return n}function GQ(e){return Math.floor(Buffer.from(e,`base64`).byteLength/4)}function KQ(e,t,n,r,i){if(n.length===0||t.length===0)return{passed:e,excluded:[]};let a=n.filter(e=>e.enabled!==!1),o=a.filter(e=>e.mode===`include`),s=a.filter(e=>e.mode===`exclude`),c=o.length>0,l=new Map(t.map(e=>[e.id,e])),u=[],d=[];for(let t of e){let e=r(t),n=i?.(t),a=o.some(t=>qQ(t,e,n,l)),f=s.some(t=>qQ(t,e,n,l));c?a&&!f?u.push(t):d.push(t):f?d.push(t):u.push(t)}return{passed:u,excluded:d}}function qQ(e,t,n,r){if(e.classFilter&&e.classFilter.length>0&&n!==void 0&&!e.classFilter.includes(n))return!1;for(let n of e.zoneIds){let e=r.get(n);if(e&&JQ(t,e.polygon))return!0}return!1}function JQ(e,t){if(t.length<3)return!1;let n=!1,{x:r,y:i}=e;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a];o.y>i!=s.y>i&&r<(s.x-o.x)*(i-o.y)/(s.y-o.y||2**-52)+o.x&&(n=!n)}return n}function YQ(e,t,n){let r={};for(let i of Object.keys(n))r[i]=n=>e.addons.custom.mutate({addonId:t,action:i,input:n});return r}var XQ={value:`auto`,label:`Auto`},ZQ={value:`cpu`,label:`CPU`},QQ={value:`usb`,label:`Coral USB`},$Q=[{id:`onnx`,supports:()=>!0,devices:e=>{if(!e)return[ZQ];let t=[ZQ];return e.gpu?.type===`nvidia`&&t.push({value:`cuda`,label:`CUDA`}),e.npu?.type===`apple-ane`&&t.push({value:`coreml`,label:`CoreML EP`}),t},defaultDevice:`cpu`},{id:`openvino`,supports:e=>e?.arch===`x64`&&e.platform!==`darwin`&&e.gpu?.type===`intel`,devices:e=>{if(!e)return[XQ];let t=[XQ,ZQ];return e.gpu?.type===`intel`&&t.push({value:`gpu`,label:`GPU`}),e.npu?.type===`intel-npu`&&t.push({value:`npu`,label:`NPU`}),t},defaultDevice:`auto`},{id:`coreml`,supports:e=>e?.platform===`darwin`,devices:e=>{let t={value:`all`,label:`All (ANE + GPU + CPU)`};if(!e)return[t];let n=[t];return e.npu?.type===`apple-ane`&&n.push({value:`ane`,label:`Apple Neural Engine`}),n.push({value:`gpu`,label:`GPU`},ZQ),n},defaultDevice:`all`},{id:`edgetpu`,supports:e=>e?.coral!=null,devices:()=>[QQ],defaultDevice:`usb`}];function e$(e){let t=$Q.find(t=>t.id===e);if(!t)throw Error(`Unknown runtime: ${e}`);return t}function t$(e){return $Q.filter(t=>t.supports(e)).map(e=>e.id)}function n$(e,t){return e$(e).devices(t)}function r$(e){return e$(e).defaultDevice}function i$(e){return e===`edgetpu`?`tflite`:BQ(e)}function a$(e){let t=[];if(e.platform===`darwin`&&e.arch===`arm64`&&t.push({runtime:`python`,backend:`coreml`,format:`coreml`,score:95,reason:`Apple Neural Engine (Python CoreML)`,available:!0}),e.gpu?.type===`nvidia`&&t.push({runtime:`python`,backend:`cuda`,format:`onnx`,score:85,reason:`NVIDIA CUDA (Python ONNX Runtime)`,available:!0}),e.gpu?.type===`intel`){let n=e.npu?.type===`intel-npu`?90:80;t.push({runtime:`python`,backend:`openvino`,format:`openvino`,score:n,reason:`Intel OpenVINO`,available:!0})}e.coral!=null&&t.push({runtime:`python`,backend:`edgetpu`,format:`tflite`,score:70,reason:`Coral Edge TPU (Python LiteRT)`,available:!0}),t.push({runtime:`python`,backend:`cpu`,format:`onnx`,score:50,reason:`CPU (Python ONNX Runtime)`,available:!0});let n=t.toSorted((e,t)=>t.score-e.score);return{scores:n,best:n.find(e=>e.available)??n[n.length-1]}}var o$={cuda:`gpu`,edgetpu:`usb`,coreml:`all`,cpu:`cpu`};function s$(e,t,n,r){return{key:e===`cpu`?`cpu`:`${e}:${t}`,backend:e,device:t,format:n,runtime:`python`,score:r,available:!0}}function c$(e){let{scores:t}=a$(e),n=[];for(let r of t){if(r.backend===`openvino`){e.npu?.type===`intel-npu`&&n.push(s$(`openvino`,`npu`,r.format,r.score+2)),e.gpu?.type===`intel`&&n.push(s$(`openvino`,`gpu`,r.format,r.score));continue}if(r.backend===`edgetpu`){let t=Math.max(1,e.coral?.count??1);for(let e=0;e<t;e++){let t=e===0?`usb`:`usb:${e}`;n.push(s$(`edgetpu`,t,r.format,r.score))}continue}let t=o$[r.backend]??r.backend;n.push(s$(r.backend,t,r.format,r.score))}return n}export{qU as ACCESSORY_LABEL,IZ as ACCESS_ROLES,Ba as ALEXA_EGRESS_PROFILE,ZG as ALL_CAPABILITY_DEFINITIONS,vu as APPEARANCE_BIN_COUNT,yu as APPEARANCE_BLOCKS,_u as APPEARANCE_DESCRIPTOR_VERSION,bu as APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT,Zx as APPLE_SA_TO_MACRO,os as ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT,Io as AUDIO_ANALYSIS_CAP_NAME,Wf as AUDIO_BACKEND_CHOICES,ye as AUDIO_CHUNK_FORMATS,Yx as AUDIO_MACRO_LABELS,If as AUDIO_NOT_CLASSIFIED_REASONS,zn as AUDIO_PRESETS,uK as AUDIO_SCALE_EPOCH_ISO,dK as AUDIO_SCALE_EPOCH_MS,MM as AccessoriesStatusSchema,KU as AccessoryKind,bx as AddBrokerInputSchema,eN as AddonAutoUpdateSchema,JM as AddonListItemSchema,of as AddonPageDeclarationSchema,rf as AddonPageInfoSchema,__ as AdminLinkTargetEnum,W_ as AdoptionAdoptInputSchema,G_ as AdoptionAdoptResultSchema,To as AdoptionCandidateResultSchema,L_ as AdoptionFilterSchema,V_ as AdoptionGetCandidateInputSchema,Eo as AdoptionJobSchema,Co as AdoptionJobStateSchema,z_ as AdoptionListCandidatesInputSchema,B_ as AdoptionListCandidatesOutputSchema,wo as AdoptionOutcomeSchema,K_ as AdoptionReleaseInputSchema,H_ as AdoptionStatusSchema,Sk as AgentLoadSummarySchema,fN as AirQualitySensorStatusSchema,Y as AlarmArmModeSchema,gS as AlarmPanelStatusSchema,hS as AlarmStateSchema,Df as AlertSchema,wf as AlertSeveritySchema,Ef as AlertSourceSchema,Tf as AlertStatusSchema,mN as AmbientLightSensorStatusSchema,RD as AnalyticsLtsSeriesSchema,dT as ApiKeyRecordSchema,gH as ApiKeySummarySchema,ub as AppleFmAvailabilitySchema,lb as AppleFmUnavailableReasonSchema,mp as ArchiveEntrySchema,hp as ArchiveManifestSchema,lp as ArchiveSqliteSnapshotSchema,cs as ArchivedDebugNoteQueryInputSchema,ss as ArchivedDebugNoteSchema,Mx as AttachmentMediaTypeSchema,Nx as AttachmentSchema,Rf as AudioAnalysisResultSchema,zf as AudioAnalysisSettingsSchema,Bf as AudioAttachDeviceInputSchema,Vf as AudioAttachDeviceResultSchema,St as AudioChunkFormatSchema,Nf as AudioChunkInputSchema,gN as AudioClassSummarySchema,Ff as AudioClassificationLabelSchema,Uf as AudioClassificationResultSchema,Lf as AudioClassifyOutcomeSchema,Jf as AudioCodecInfoSchema,Yf as AudioDecodeSessionConfigSchema,Hf as AudioDetachDeviceResultSchema,Aa as AudioEncodeSchema,Xf as AudioEncodeSessionConfigSchema,Qf as AudioEncodedChunkSchema,RE as AudioEventSchema,Pf as AudioLevelSchema,vN as AudioMetricsHistoryPointSchema,yN as AudioMetricsHistorySchema,_N as AudioMetricsSnapshotSchema,Zf as AudioPcmChunkSchema,at as AudioStreamPickSchema,tp as AuthResultSchema,$M as AutoUpdateSettingsSchema,Gd as AutomationActionSchema,Bd as AutomationConditionOperatorSchema,Ud as AutomationConditionSchema,xN as AutomationControlStatusSchema,Kd as AutomationRecipeSchema,Wd as AutomationTriggerSchema,DF as AvailableIntegrationTypeSchema,eg as BASE_DEVICE_CAPS,Ra as BASE_LIVE_EGRESS_PROFILE,tG as BATTERY_DEVICE_PROFILE,sW as BATTERY_UNREACHABLE_AFTER_MS,es as BIRTH_DECISION_DEFAULT_LIMIT,Cn as BOOT_RECOVERY_BACKOFF_MS,_h as BUILTIN_RESULT_KINDS,cQ as BackgroundRunRegistry,yF as BacklightModeSchema,dp as BackupDestinationInfoSchema,pp as BackupEntrySchema,vp as BackupRunPhaseSchema,yp as BackupRunSchema,_p as BackupRunStateSchema,bp as BackupTriggerResultSchema,Ke as BaseAddon,$U as BaseDevice,oW as BaseDeviceProvider,CN as BatteryStatusSchema,TN as BinaryStatusSchema,is as BirthDecisionQueryInputSchema,rs as BirthDecisionRecordSchema,ns as BirthDecisionVerdictSchema,H as BoundingBoxSchema,DN as BrightnessStatusSchema,kp as BrokerAddInputSchema,$p as BrokerAudioClientSchema,rm as BrokerClientsSchema,yx as BrokerConnectionDetailsSchema,tm as BrokerConsumerAttributionSchema,em as BrokerConsumerKindSchema,Qp as BrokerDecodedClientSchema,nm as BrokerEncodedClientSchema,Hp as BrokerGetStateInputSchema,wp as BrokerInfoSchema,wp as UnifiedBrokerInfoSchema,Ep as BrokerProviderInfoSchema,Rp as BrokerPublishInputSchema,Tp as BrokerRegistryStatusSchema,Zp as BrokerRtspClientSchema,Dt as BrokerStatsSchema,Cp as BrokerStatusEnum,Et as BrokerStatusSchema,zp as BrokerSubscribeInputSchema,Bp as BrokerSubscribeResultSchema,Mp as BrokerTestConnectionResultSchema,Vp as BrokerUnsubscribeInputSchema,o_ as BulkRecordSchema,NT as CAMERA_SENSORS_NOT_LOADED,vT as CAMERA_SENSORS_SETTINGS_KEY,Bo as CAMERA_SWITCH_CATALOG,ko as CAMERA_SWITCH_ORDER,gT as CAMERA_TRIGGER,pM as CAMSTACK_APP_LINK_ORIGIN,it as CAM_PROFILE_ORDER,YG as CAPABILITY_NAMES,XG as CAPABILITY_ROUTER_KEYS,JG as CAP_NAMES_WITH_STATUS,Lt as CAP_NODE_PIN_CONTEXT_KEY,eK as CAP_PROVIDER_KIND_MAP,Ks as CLASS_MAP_MACRO_TARGETS,aM as CLIP_BROKER_PACED_RATES,fM as CLIP_PLAYBACK_OPTIONS,sM as CLIP_REALTIME_SOURCE_RATES,Wj as CLIP_REASON_HEADER_MAX,Bu as CLIP_SEARCH_STRICTNESS,qj as CLIP_STILL_DISPOSITION_HEADER,Kj as CLIP_STILL_REASON_CODE_HEADER,Uj as CLIP_STILL_REASON_HEADER,oM as CLIP_STREAM_SOURCE_RATES,Jj as CLIP_STREAM_TRANSPORT_HEADER,Hu as CLIP_STRICTNESS_FACTOR,Ru as CLIP_VECTOR_INDEX_PATTERN,PT as CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS,FT as CLUSTER_MODEL_SCOPED_STEPS,IT as CLUSTER_MODEL_SECTION_ID,XT as CLUSTER_STEP_SETTING_FIELDS,Wu as COCO_80_LABELS,Ju as COCO_TO_MACRO,Mi as COMPOSED_DEVICE_STABLE_ID_PREFIX,Lh as COMPOSED_ITEM_FIXED_FIELDS,Ai as COMPOSER_ADDON_ID,ch as COMPOSER_RUNNER_ID,Vm as COMPOSITION_EVENT_CATEGORY,Ji as COMPOSITION_ITEM_ARRAY_PATH,Ki as COMPOSITION_ITEM_KEY_RE,oP as CONNECTION_TEST_TIMEOUT_MS,uW as CONTAINER_CHILD_PRIORITY,Dg as CORE_BLOCKS_ADDON_ID,Eg as CORE_BLOCK_ADDON_PREFIX,ji as CUSTOMIZATION_BLOCK_NAME_PREFIX,FN as CalendarColorSchema,IN as CalendarEntrySchema,MN as CalendarEventSchema,jN as CalendarInfoSchema,NN as CalendarListEventsInputSchema,LN as CalendarPreferenceEntrySchema,RN as CalendarPreferencesSchema,zN as CalendarSetPreferenceInputSchema,AN as CalendarSourceKindSchema,C as CamProfileSchema,fV as CamStreamDescriptorSchema,ot as CamStreamKindSchema,st as CamStreamResolutionSchema,Ok as CameraAssignmentStatusSchema,Rk as CameraAudioStatusSchema,kk as CameraBrokerProfileSchema,Ak as CameraBrokerStatusSchema,VN as CameraCredentialsSchema,HN as CameraCredentialsStatusSchema,jk as CameraDecoderShmSchema,Mk as CameraDecoderStatusSchema,Ik as CameraDetectionPhaseSchema,Fk as CameraDetectionProvisioningSchema,Pk as CameraDetectionProvisioningStateSchema,Lk as CameraDetectionStatusSchema,TO as CameraMetricsSchema,EO as CameraMetricsWithDeviceIdSchema,Nk as CameraMotionStatusSchema,UH as CameraOccupancySnapshotForDeviceSchema,kT as CameraOwnMotionSchema,jT as CameraRawLevelSchema,zk as CameraRecordingModeSchema,Bk as CameraRecordingStatusSchema,DT as CameraSensorAttachmentSchema,wT as CameraSensorEntrySchema,ST as CameraSensorModeSchema,bT as CameraSensorRefSchema,TT as CameraSensorsConfigSchema,AT as CameraSensorsNotEnforcedSchema,OT as CameraSensorsNotForwardedSchema,MT as CameraSensorsStatusSchema,Dk as CameraSourceStatusSchema,Ek as CameraSourceStreamSchema,Hk as CameraStatusDegradationReasonSchema,Uk as CameraStatusDegradationSchema,Gk as CameraStatusSchema,Vk as CameraStatusStageSchema,ct as CameraStreamSchema,Ao as CameraSwitchAuthoritySchema,Po as CameraSwitchGroupSchema,Oo as CameraSwitchIdSchema,No as CameraSwitchSchema,jo as CameraSwitchUnavailableReasonSchema,Mo as CameraSwitchWarningSchema,R_ as CandidateQueryFilterSchema,oT as CapScopeSchema,wk as CapabilityBindingsSchema,XN as CarbonMonoxideStatusSchema,Fn as ChargingStatus,hy as ClaimOutcomeSchema,_y as ClaimsListingSchema,vs as ClearTrackRelationInputSchema,ys as ClearTrackRelationResultSchema,eL as ClientNetworkStatsSchema,$N as ClimateControlStatusSchema,tM as ClipBytesOfferSchema,eM as ClipBytesSchema,Hz as ClipExportFailureSchema,zu as ClipModelMetaSchema,cM as ClipPlaybackOptionsSchema,Xj as ClipPlaybackSchema,Yj as ClipSchema,Vu as ClipSearchStrictnessSchema,lM as ClipSourceAvailabilitySchema,uM as ClipSourceSchema,Hj as ClipStillDispositionSchema,Vj as ClipStillRefusalCodeSchema,rM as ClipStreamAudioReasonSchema,nM as ClipStreamAudioSchema,iM as ClipStreamDialSchema,Zj as ClipWakeSchema,uL as ClusterAddonNodeDeploymentSchema,dL as ClusterAddonStatusEntrySchema,Yk as ClusterModelChoiceSchema,s_ as CollectionColumnSchema,c_ as CollectionIndexSchema,iP as ColorStatusSchema,Cg as ComposableCapabilitiesSchema,Sg as ComposableCapabilitySchema,xg as ComposableFieldSchema,dh as ComposerApplyInputSchema,ph as ComposerApplyResultSchema,lh as ComposerBlockSchema,fh as ComposerBlockVerdictSchema,uh as ComposerUnreadableBlockSchema,Bi as CompositionBindingSchema,Vg as CompositionBlockInputSchema,sh as CompositionBlockStateSchema,Hi as CompositionCodeSourceSchema,Gi as CompositionCommandTargetSchema,Yg as CompositionCustomizationReadSchema,Um as CompositionEventPlanSchema,ta as CompositionExistingTargetSchema,Vi as CompositionExpressionSourceSchema,th as CompositionFeatureModeSchema,nh as CompositionFeaturePlanSchema,Qi as CompositionFeatureSchema,Qm as CompositionFieldItemSchema,Ym as CompositionFieldKindSchema,$m as CompositionFieldPlanSchema,Li as CompositionFieldReadSchema,Zm as CompositionFieldRoleSchema,Ui as CompositionFieldSourceSchema,ah as CompositionFieldStateKindSchema,oh as CompositionFieldStateSchema,Xi as CompositionFieldsFeatureSchema,Wi as CompositionForwardCommandSchema,Ri as CompositionFromSourceSchema,Jg as CompositionGetReadSchema,Uh as CompositionGraphError,Yi as CompositionItemEntrySchema,qg as CompositionListReadSchema,zi as CompositionLiteralBindingSchema,ea as CompositionNewTargetSchema,Zi as CompositionPassthroughFeatureSchema,qm as CompositionProblemCodeSchema,Jm as CompositionProblemSchema,ih as CompositionRunStatusSchema,ra as CompositionSchema,Ii as CompositionSourceRefSchema,Wg as CompositionStateReadSchema,na as CompositionTargetSchema,Xm as CompositionUnavailableModeSchema,rh as CompositionValidationSchema,Gg as CompositionViewSchema,Dv as ConfigEntrySchema,pf as ConfigSectionWithValuesSchema,ff as ConfigTabDeclarationSchema,lP as ConnectionTestDescriptorSchema,cP as ConnectionTestInputSchema,sP as ConnectionTestOutcomeSchema,dP as ConnectivityStatusSchema,hP as ConsumableItemSchema,mP as ConsumableRemainingSchema,pP as ConsumableRemainingUnitSchema,gP as ConsumablesStatusSchema,vP as ContactStatusSchema,bP as ControlKindSchema,xP as ControlStatusSchema,Ed as ConvertArtifactSchema,Dd as ConvertResultSchema,wd as ConvertTargetSchema,Zg as CoreBlockCompileInputSchema,Xg as CoreBlockCompileResultSchema,Ng as CoreBlockFilesSchema,Fg as CoreBlockInputFieldsSchema,Ig as CoreBlockInputSchema,Ag as CoreBlockPlacementSchema,K as CoreBlockSchema,Bg as CoreBlockSourceSchema,jg as CoreBlockStatusSchema,wP as CoverStateSchema,TP as CoverStatusSchema,_H as CreateApiKeyInputSchema,vH as CreateApiKeyResultSchema,AF as CreateIntegrationInputSchema,bH as CreateScopedTokenInputSchema,xH as CreateScopedTokenResultSchema,mH as CreateUserInputSchema,uN as CustomActionInputSchema,$g as CustomModelDescriptorSchema,ip as DATABASE_SNAPSHOT_PARTIAL_SUFFIX,rp as DATABASE_SNAPSHOT_SUFFIX,ap as DATABASE_SNAPSHOT_TIMEOUT_MS,Ze as DATAPLANE_SECRET_HEADER,pB as DAYS_PER_WEEK,gB as DAY_NAMES,bW as DECLARED_DEVICE_SWEEP_LIMIT,vW as DECLARED_INTEGRATION_FIXED_KEY,ho as DEFAULT_ADDON_PLACEMENT,Gf as DEFAULT_AUDIO_ANALYZER_CONFIG,CT as DEFAULT_CAMERA_SENSOR_MODE,zT as DEFAULT_CLUSTER_STEP_MODELS,tE as DEFAULT_CLUSTER_STEP_SETTINGS,Mg as DEFAULT_CORE_BLOCK_ENTRY,p_ as DEFAULT_DECODER_HWACCEL_CONFIG,iZ as DEFAULT_DETAIL_CROP_CONVENTION,lc as DEFAULT_EVENTS_BAND_BUFFER_SEC,tS as DEFAULT_EVENT_COLOR,Fs as DEFAULT_FEATURES,Tr as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS,td as DEFAULT_LABEL_LINK_POLICY,YT as DEFAULT_MIN_LANDMARK_FACE_SIZE_PX,CZ as DEFAULT_NATIVE_LEASE_SETTINGS,Su as DEFAULT_OVERLAY_LAYERS,gQ as DEFAULT_POOL_MEMORY_POLICY,hc as DEFAULT_RECORDING_PROFILES,Do as DEFAULT_RETENTION,Vt as DEFAULT_RUNTIME_STATE_DURABILITY,BX as DEFAULT_TIMELAPSE_PREVIEW_TEXT,WU as DEFAULT_TOKEN_EXPIRY,zo as DERIVED_CAMERA_SILENCED_CAP_NAMES,lZ as DETAIL_CROP_PADDING_FIELD,tZ as DETAIL_CROP_PADDING_KEY,eZ as DETAIL_CROP_SECTION_ID,nZ as DETAIL_CROP_SQUARE_KEY,Ku as DETECTION_MACRO_CLASSES,Fo as DETECTION_PIPELINE_CAP_NAME,IQ as DEVICE_BACKEND_TO_FORMAT,IW as DEVICE_CAP_NAMES,sn as DEVICE_CHILDREN_BATCH_MAX,RW as DEVICE_DO_ACTIONS,nG as DEVICE_PROFILES,tW as DEVICE_RESTORE_RETRY_CONCURRENCY,eW as DEVICE_RESTORE_RETRY_DELAYS_MS,xn as DEVICE_SCOPED_CAPS,Kt as DEVICE_SETTINGS_CONTRIBUTION_METHODS,zU as DEVICE_STATE_READERS,qt as DEVICE_STATUS_METHOD,wW as DEVICE_TYPE_CONTROL_KIND,UW as DEVICE_TYPE_DO_CAPS,eQ as DEVICE_TYPE_INFO,iG as DISPLAY_ICON_GROUPS,oG as DISPLAY_ICON_KEYS,sG as DISPLAY_ICON_OFFERED_KEYS,aG as DISPLAY_ICON_VOCABULARY,DU as DOORBELL_RISE_DEBOUNCE_MS,u_ as DataStoreEngineInfoSchema,cp as DatabaseSnapshotResultSchema,sp as DatabaseSnapshotTableSchema,op as DatabaseSnapshotTargetsSchema,DP as DayNightModeSchema,AP as DayNightOptionsSchema,jP as DayNightSettingsPatchSchema,kP as DayNightStatusSchema,xW as DeclaredDevices,Ct as DecodedAudioChunkSchema,vt as DecodedFrameSchema,Ll as DecoderSessionConfigSchema,Il as DecoderStatsSchema,MF as DeleteIntegrationResultSchema,rZ as DetailCropConventionSchema,Ys as DetectionCatalogClassMapSchema,NE as DetectionSourceSchema,tk as DetectionSourcesSchema,v_ as DeviceAdminLinkSchema,zF as DeviceCodeSeveritySchema,YU as DeviceConfig,F_ as DeviceDiscoveryStatusSchema,nv as DeviceExportExposeInputSchema,$_ as DeviceExportStatusSchema,rv as DeviceExportUnexposeInputSchema,Pn as DeviceFeature,Ev as DeviceInfoSchema,tL as DeviceNetworkStatsSchema,iW as DeviceRestoreRetryScheduler,O as DeviceRole,XU as DeviceRuntimeState,sT as DeviceSelectorSchema,NP as DeviceStatusSchema,D as DeviceType,HV as DiagnosticIdSchema,YV as DiagnosticWindowPatchSchema,JV as DiagnosticWindowSchema,P_ as DiscoveredChildDeviceSchema,N_ as DiscoveredChildStatusSchema,gv as DiscoveredDeviceSchema,Ux as DiscoveredTargetSchema,Wk as DiskReconcileJobSchema,Xe as DisposerChain,IP as DoorbellPressEventSchema,FP as DoorbellStatusSchema,wy as EMBEDDING_MODEL_FAILED,Ey as EMBEDDING_REQUIREMENTS_FAILED,Ty as EMBEDDING_REQUIREMENTS_UNAVAILABLE,sA as EVENTFUL_CAP_NAMES,_D as EVENT_DENSITY_BATCH_MAX,oA as EVENT_KIND_BY_CAP,SX as EVENT_KIND_LABELS,xX as EVENT_KIND_LABEL_KEYS,ya as EVENT_OWNER_TYPES,Xs as EVENT_PAD_MS,oS as EVENT_TAXONOMY,Nz as EXPORT_DENSE_MAX_RANGES,Br as EXPRESSION_BUILTINS,Vr as EXPRESSION_BUILTIN_NAMES,qr as EXPRESSION_COMPILE_CACHE_CAPACITY,Jr as EXPRESSION_IDENTIFIER_RE,Ei as EXPRESSION_INJECTED_NOW,Xv as EXTENSION_HOST_DEVICE_TYPES,Jv as EXTENSION_SLOTS,Kv as EXTENSION_SLOT_IDS,Qv as EXTENSION_SLOT_LISTING_METHOD,Zv as EXTENSION_SLOT_REF_SEPARATOR,JD as EffectiveTuningSchema,lm as EgressEncodeSchema,um as EgressRateControlSchema,dm as EgressTranscodeRequestSchema,fm as EgressTranscodeSchema,uQ as ElementConfigStore,xy as EmbeddingFailedModelSchema,Sy as EmbeddingFailedRequirementSchema,Cy as EmbeddingInfoSchema,Dy as EmbeddingRefusalCodeSchema,yy as EmbeddingResultSchema,by as EmbeddingTowerSchema,ja as EncodeProfileSchema,_t as EncodedPacketSchema,Sf as EnrichedWidgetMetadataSchema,RP as EnumSensorDateTimeFormatSchema,zP as EnumSensorStatusSchema,he as EventCategory,gD as EventDensityBucketSchema,vD as EventDensityForDeviceSchema,HP as EventEmitterStatusSchema,VP as EventFireSchema,cE as EventKindCategorySchema,uE as EventKindDescriptorSchema,sE as EventKindIconSchema,aE as EventKindSchema,dE as EventKindsForDeviceSchema,qp as EventMediaArtifactSchema,Jp as EventMediaCoverageSchema,Kp as EventMediaKindSchema,Yp as EventMediaProductionSchema,ba as EventOwnerTypeSchema,fa as EventSourceType,qz as ExportBytesSchema,zz as ExportClipSubjectSchema,Mz as ExportDenseRangeSchema,Pz as ExportDenseSchema,Gz as ExportDownloadSchema,Rz as ExportFootageSubjectSchema,Iz as ExportOptionsSchema,Vz as ExportRecordSchema,Z_ as ExportSetupFieldSchema,Q_ as ExportSetupSchema,jz as ExportSpeedSchema,Lz as ExportStateSchema,Bz as ExportSubjectSchema,Fz as ExportTimelapseSchema,tv as ExposedDeviceSchema,vF as ExposureModeSchema,Id as ExpressionBindingSourceSchema,A as ExpressionEvalError,Nd as ExpressionFieldBindingSchema,Fd as ExpressionGlobalBindingSchema,Pd as ExpressionLiteralBindingSchema,k as ExpressionParseError,Ld as ExpressionSourceSchema,cy as ExtensionCandidateSchema,ly as ExtensionCandidatesSchema,uy as ExtensionSetResultSchema,fy as ExtensionSetSlotInputSchema,ry as ExtensionSlotActivationSchema,qv as ExtensionSlotIdSchema,dy as ExtensionSlotRefInputSchema,oy as ExtensionSlotRowSchema,ny as ExtensionSlotSourceSchema,iy as ExtensionSlotStateSchema,ay as ExtensionSlotUnreachableSchema,Yv as ExtensionSlotValueSchema,$v as ExtensionSourceAvailabilitySchema,ty as ExtensionSourceHealthSchema,ey as ExtensionSourceSchema,wU as FEEDER_EXAMPLE_ADDON_ID,CU as FEEDER_EXAMPLE_HA_DEVICE_ID,_r as FFMPEG_PATH_ENV,Yu as FILLABLE_STEP_IDS,Qu as FILLABLE_STEP_MACRO,Zu as FILLABLE_STEP_VOCABULARIES,qs as FIRST_LEVEL_MACRO_CLASSES,FU as FRIGATE_PLUS_TO_MACRO,IU as FRIGATE_PLUS_UNMAPPED_LABELS,cZ as FULL_IMAGE_BBOX,Ry as FailureContributionSchema,ru as FailureCounters,Ly as FailureReasonCountSchema,nF as FanControlStatusSchema,tF as FanDirectionSchema,OV as FeatureManifestSchema,iF as FeatureProbeStatusSchema,my as FieldClaimModeSchema,gy as FieldClaimSchema,Sd as FillsClassifierEffectSchema,oF as FloodStatusSchema,dr as Fmp4BoxSplitter,yt as FrameHandleFormatSchema,w as FrameHandleSchema,jf as FrameInputSchema,lk as FrameLazyCountersSchema,uk as FrameLazyMetricsSchema,fK as G711_SCALE_CORRECTION_DB,cF as GasStatusSchema,tH as GetLoggingSettingsInputSchema,sm as GetStreamWithCodecInputSchema,Ck as GlobalMetricsSchema,JN as GridLayoutPatchSchema,qN as GridLayoutViewSchema,Ka as HAP_AUDIO_BASE,Ga as HAP_AUDIO_BITRATE_KBPS,qa as HAP_AUDIO_VBV_KBITS,Ja as HAP_KEYFRAME_INTERVAL_SEC,UU as HF_BASE_URL,HU as HF_REPO,mB as HOURS_PER_DAY,mM as HUB_VIEWER_MOUNT,f_ as HWACCEL_OPTIONS,kV as HealthStatusSchema,Sb as HfModelResolutionSchema,KH as HistoryPointSchema,WH as HistoryResolutionEnum,uF as HumidifierStatusSchema,fF as HumiditySensorStatusSchema,QN as HvacModeSchema,Kk as INFERENCE_DEVICE_EXCLUSION_REASONS,AU as INVERTIBLE_CAPS,fA as ImageContractSchema,dA as ImageContractStateSchema,gF as ImageRotateSchema,SF as ImageSettingsOptionsSchema,CF as ImageSettingsPatchSchema,xF as ImageSettingsStatusSchema,mF as ImageStatusSchema,qk as InferenceDeviceExclusionReasonSchema,Tk as IngestOwnerSchema,YM as InstalledPackageSchema,EF as IntegrationLiteSchema,TF as IntegrationWithStateSchema,PF as IntercomAbilitySchema,FF as IntercomStatusSchema,FW as KNOWN_CAP_NAMES,pD as KeyEventSchema,ed as LABEL_LINK_POLICIES,nd as LABEL_LINK_SETTING_KEY,hl as LEGACY_READ_ONLY_CONFIG_KEY,jv as LINKED_DEVICES_SLOT,rd as LINKED_LABEL_STEP_PREFIX,Ob as LOAD_CONTRIBUTION_ATTRIBUTIONS,Db as LOAD_CONTRIBUTION_ROLES,dv as LOCATION_DESCRIPTION_MAX,ov as LOCATION_ICON_FALLBACK,av as LOCATION_ICON_IDS,Zl as LOG_CHANNEL_TICK_MS,Is as LOG_LEVEL_RANK,zD as LTS_SCOPE_CLASS_SEPARATOR,EE as LabelAttributionSchema,Gs as LabelDefinitionSchema,TE as LabelTierSchema,RF as LawnMowerActivitySchema,BF as LawnMowerControlStatusSchema,nl as LedgerWalkDeviceReportSchema,Qc as LedgerWalkInputSchema,$c as LedgerWalkRefusalSchema,rl as LedgerWalkReportSchema,tl as LedgerWalkSkipCountsSchema,el as LedgerWalkSkipReasonSchema,Ol as LegacyStorageLocationDefaultSchema,kv as LinkedDeviceSchema,Ov as LinkedDevicesModeSchema,Av as LinkedDevicesSlotValueSchema,Ss as ListTrackRelationsInputSchema,Cs as ListTrackRelationsResultSchema,yb as LlmDefaultSchema,vb as LlmDefaultSelectorSchema,ib as LlmDownloadProgressSchema,Ky as LlmErrorCodeSchema,eb as LlmGenerateBaseInputSchema,Yy as LlmGenerateErrSchema,qy as LlmGenerateOkSchema,Xy as LlmGenerateResultSchema,Zy as LlmImageSchema,ob as LlmNodeModelSchema,_b as LlmProfileKindDescriptorSchema,mb as LlmProfileKindSchema,hb as LlmProfileSchema,Jy as LlmRefusalSourceSchema,Qy as LlmRetryPolicySchema,db as LlmRuntimeAppleCompleteInputSchema,fb as LlmRuntimeCancelInputSchema,cb as LlmRuntimeCompleteInputSchema,sb as LlmRuntimeDiskUsageSchema,Cb as LlmRuntimeNodeSchema,ab as LlmRuntimeStatusSchema,$y as LlmTimeoutDefaults,bb as LlmUsageRollupSchema,Gy as LlmUsageSchema,kb as LoadContributionSchema,Ez as LocateSegmentResultSchema,fv as LocationDescriptionAssignmentSchema,cv as LocationIconAssignmentSchema,sv as LocationIconIdSchema,gp as LocationStatSchema,nI as LockControlStatusSchema,tI as LockStateSchema,jb as LogChannelApplyResultSchema,Ul as LogChannelDescriptorSchema,Gl as LogChannelGate,Hl as LogChannelLevelSchema,Kl as LogChannelRegistry,ZV as LogChannelWindowPatchSchema,Wl as LogChannelWindowSchema,XV as LogChannelWindowStateSchema,Pb as LogEntrySchema,Nb as LogLevelSchema,cN as LogStreamEntrySchema,KV as LoggingEffectiveSchema,qV as LoggingExplicitSchema,GV as LoggingLevelLayerSchema,WV as LoggingLevelSourceSchema,UV as LoggingScopeKindSchema,QV as LoggingSettingsPatchSchema,rH as LoggingSettingsStateSchema,Bb as LoginMethodContributionSchema,Ib as LoginStageEnum,HD as LtsBucketSchema,Gu as MACRO_LABELS,as as MAX_ARCHIVED_DEBUG_NOTES,$o as MAX_BIRTH_DECISION_RECORDS,ts as MAX_BIRTH_LATENCY_PROXY_MS,yT as MAX_CAMERA_SENSORS,zj as MAX_CLIP_EVENT_IDS,Bj as MAX_CLIP_LABELS,Fi as MAX_COMPOSITION_CODE_LENGTH,Ni as MAX_COMPOSITION_FEATURES,Pi as MAX_COMPOSITION_FIELDS_PER_FEATURE,qi as MAX_COMPOSITION_ITEMS,Rd as MAX_CONDITION_DEPTH,zd as MAX_CONDITION_LEAVES,Ur as MAX_EXPRESSION_AST_NODES,Gr as MAX_EXPRESSION_BINDINGS,Kr as MAX_EXPRESSION_CALL_ARGS,Wr as MAX_EXPRESSION_EVAL_STEPS,Hr as MAX_EXPRESSION_SOURCE_LENGTH,eu as MAX_KEYS,$l as MAX_REASONS_PER_KEY,nc as MAX_SENSOR_TRIGGER_DEVICES,bE as MAX_TRACK_DEBUG_NOTE_LEN,us as MAX_TRACK_PURITIES,ls as MAX_TRACK_RELATIONS,pa as MEDIA_OWNER_TYPES,xa as MEDIA_PRESENCE_OWNER_KINDS,PW as METHOD_ACCESS_MAP,QG as METHOD_DEVICE_SELECTORS,fB as MINUTES_PER_DAY,fd as MODEL_FORMATS,bd as MODEL_HOSTING,_d as MODEL_PROVIDER_IDS,pI as MOTION_CLOSE_AFTER_MS,QO as MOTION_SOURCE_LABELS,DW as MOTION_TRIGGER_FEATURE,xb as ManagedModelCatalogEntrySchema,tb as ManagedModelExtraFileSchema,nb as ManagedModelRefSchema,rb as ManagedRuntimeConfigSchema,ES as MaskGridDimsSchema,xS as MaskGridShapeSchema,SS as MaskLineShapeSchema,vS as MaskPointSchema,bS as MaskPolygonShapeSchema,TS as MaskPolygonVerticesSchema,yS as MaskRectShapeSchema,wS as MaskShapeKindSchema,CS as MaskShapeSchema,HE as MediaFileInfoSchema,zE as MediaFileKindEnum,BE as MediaFileRefSchema,VE as MediaFileSchema,aI as MediaPlayerRepeatSchema,iI as MediaPlayerStateSchema,sI as MediaPlayerStatusSchema,Sa as MediaPresenceOwnerKindSchema,Oc as MediaRelocateModeSchema,uI as MeshPeerSchema,dI as MeshStatusSchema,rT as MethodAccessSchema,Wv as MigrateDeviceResultSchema,Hv as MigrateSwitchOutcomeSchema,Uv as MigrateSwitchReportSchema,Cd as ModelCatalogEntrySchema,cx as ModelConvertInputSchema,Td as ModelConvertMetadataSchema,ux as ModelDistributeInputSchema,dx as ModelDistributeResultSchema,md as ModelExtraFileSchema,pd as ModelFormatEntrySchema,hd as ModelFormatsSchema,xd as ModelLicenseSchema,vd as ModelProviderIdSchema,oO as ModelSubstitutionSchema,gd as ModelVariantGroupSchema,mx as MotionAnalysisResultSchema,ME as MotionEventSchema,hI as MotionOnMotionChangedDataSchema,px as MotionRegionSchema,YO as MotionSourceEnum,ZO as MotionSourcesSchema,mI as MotionStatusSchema,vI as MotionTriggerRuntimeStateSchema,_I as MotionTriggerStatusSchema,hT as MotionTriggeredBySchema,SI as MotionZoneOptionsSchema,CI as MotionZonePatchSchema,bI as MotionZoneRegionSchema,xI as MotionZoneStatusSchema,vx as MqttBrokerInfoSchema,Ex as MqttBrokerStatusSchema,n_ as MutationFilterSchema,EZ as NATIVE_LEASE_ACTIVITY_FIELD,_Z as NATIVE_LEASE_ACTIVITY_KEY,kZ as NATIVE_LEASE_ADMISSION_FIELD,vZ as NATIVE_LEASE_ADMISSION_KEY,TZ as NATIVE_LEASE_BUDGET_FIELD,gZ as NATIVE_LEASE_BUDGET_KEY,wZ as NATIVE_LEASE_HOLD_FIELD,hZ as NATIVE_LEASE_HOLD_KEY,OZ as NATIVE_LEASE_SCENE_BUDGET_FIELD,bZ as NATIVE_LEASE_SCENE_BUDGET_KEY,mZ as NATIVE_LEASE_SECTION_ID,DZ as NATIVE_LEASE_TILE_BUDGET_FIELD,yZ as NATIVE_LEASE_TILE_BUDGET_KEY,LI as NAVIGATION_ACTION_CATALOG,HI as NAVIGATION_LIGHT_LEVEL_MAX,VI as NAVIGATION_LIGHT_LEVEL_MIN,TJ as NC_ALARM_CONTROLLABLE_CAPS,sY as NC_ALARM_DEFAULT_PROFILE_ID,cY as NC_ALARM_DEFAULT_PROFILE_NAME,RJ as NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC,LJ as NC_ALARM_DELAY_FIELDS,fw as NC_ALARM_DELAY_MAX_SEC,mw as NC_ALARM_NONBLOCKING_MAX,zJ as NC_ALARM_NOTIFY_FIELDS,wJ as NC_ALARM_OPENING_EVENT_KINDS,Jw as NC_ALARM_SENSORS_MAX,lY as NC_ALARM_SYSTEM_DEFAULT_DELAYS,jS as NC_ALARM_SYSTEM_EVENT_KINDS,pw as NC_ALARM_TRIGGERED_MAX_SEC,EK as NC_AUDIO_CONFIRM_HITS_DEFAULT,kK as NC_AUDIO_CONFIRM_HITS_MAX,OK as NC_AUDIO_CONFIRM_HITS_MIN,jK as NC_AUDIO_CONFIRM_WINDOW_MAX_SEC,AK as NC_AUDIO_CONFIRM_WINDOW_MIN_SEC,DK as NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT,YS as NC_AUDIO_DBFS_FLOOR,yK as NC_AUDIO_DB_MAX,vK as NC_AUDIO_DB_MIN,xK as NC_AUDIO_DB_OFFERED,bK as NC_AUDIO_DB_STEP,MK as NC_AUDIO_DEFAULTS,CK as NC_AUDIO_HIT_PERCENT_MAX,SK as NC_AUDIO_HIT_PERCENT_MIN,TK as NC_AUDIO_SAMPLING_MAX_SEC,wK as NC_AUDIO_SAMPLING_MIN_SEC,uJ as NC_AUDIO_SEED,AS as NC_AUTHORABLE_SYSTEM_EVENT_KINDS,$K as NC_BASE_CONDITION_KEYS,MS as NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS,Jq as NC_CAMERA_SCOPE_CAP_NAME,gC as NC_CLIP_POST_ROLL_DEFAULT_SEC,hC as NC_CLIP_PRE_ROLL_DEFAULT_SEC,$w as NC_CLIP_RETENTION_MAX_SEC,QC as NC_CONDITION_CATALOG,CC as NC_CONFIRM_DEFAULT_MAX_IMAGE_PX,SC as NC_CONFIRM_DEFAULT_TIMEOUT_MS,xC as NC_CONFIRM_MAX_TIMEOUT_MS,bC as NC_CONFIRM_MIN_TIMEOUT_MS,FS as NC_CONSUMABLE_LOW_PERCENT_DEFAULT,IS as NC_CONSUMABLE_LOW_PERCENT_MAX,NS as NC_CONSUMABLE_SYSTEM_EVENT_KINDS,VS as NC_DEFAULT_SNOOZE_MINUTES,DC as NC_GROUPING_DEFAULT_SEC,OC as NC_GROUPING_MAX_SEC,EC as NC_GROUPING_MIN_SEC,rw as NC_HISTORY_LIMIT_DEFAULT,iw as NC_HISTORY_LIMIT_MAX,zS as NC_MAX_PER_TRACK_IMMEDIATE,lJ as NC_OCCUPANCY_DEFAULTS,NC as NC_RULE_CLEARABLE_KEYS,pJ as NC_RULE_EDITOR_SECTION_ORDER,Hq as NC_RULE_KIND_SPECS,jC as NC_RULE_RETIRED_CLEAR_KEYS,nJ as NC_RULE_SECTIONS,SY as NC_SENSOR_RAISED_FIELD_BY_KIND,CY as NC_SENSOR_TRANSITION_KINDS,MJ as NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING,DY as NC_SENSOR_TRANSITION_UNSUPPORTED_REASON,dX as NC_SERVER_PACKAGE_NAME,BS as NC_SNOOZE_MAX_MINUTES,Gq as NC_SYSTEM_DELIVERY,Cq as NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS,yq as NC_SYSTEM_EVENT_FAMILIES,xq as NC_SYSTEM_EVENT_FAMILY,wq as NC_SYSTEM_EVENT_FAMILY_FILTERS,gq as NC_SYSTEM_EVENT_FILTER_KEYS,Tq as NC_SYSTEM_EVENT_KIND_GROUP_SPECS,ZY as NC_SYSTEM_EVENT_SUMMARY_FAMILIES,jq as NC_SYSTEM_RULE_KINDS,PS as NC_TANK_SYSTEM_EVENT_KINDS,mS as NC_TAXONOMY,VY as NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS,BY as NC_TEMPLATE_VARS,fX as NC_UPDATE_EVENT_PACKAGE_NAMES,qI as NETWORK_LINK_TYPES,YI as NETWORK_LINK_UNKNOWN,jO as NativeCropBboxSchema,WD as NativeCropRefSchema,MO as NativeCropResultSchema,EI as NativeDetectionSchema,xZ as NativeLeaseAdmissionSchema,SZ as NativeLeaseSettingsSchema,TI as NativeObjectClassEnum,kI as NativeObjectDetectionOptionsSchema,jI as NativeObjectDetectionRuntimeStateSchema,AI as NativeObjectDetectionSettingsPatchSchema,DI as NativeObjectDetectionStatusSchema,OI as NativeObjectGeometryEnum,II as NavigationActionEntrySchema,PI as NavigationActionIdSchema,FI as NavigationEntryKindSchema,zI as NavigationFeaturesSchema,BI as NavigationLightModeSchema,UI as NavigationModeSchema,NI as NavigationMoveCommandSchema,RI as NavigationPointSchema,GI as NavigationRuntimeStateSchema,WI as NavigationStatusSchema,rC as NcActionBindingSchema,ww as NcAlarmBlockingEditSchema,Ow as NcAlarmBlockingSchema,qw as NcAlarmConfigSchema,Iw as NcAlarmCreateProfileInputSchema,Hw as NcAlarmModeCoverageSchema,xw as NcAlarmModeDelaysEditSchema,yw as NcAlarmModeDelaysSchema,Ew as NcAlarmModeDeviceListSchema,Cw as NcAlarmNonBlockingEditSchema,Dw as NcAlarmNonBlockingSchema,vw as NcAlarmPostTriggeredActionSchema,Rw as NcAlarmProfileIdInputSchema,Pw as NcAlarmProfileMetaSchema,Fw as NcAlarmProfilesViewSchema,Lw as NcAlarmRenameProfileInputSchema,Tw as NcAlarmSecureOnArmEditSchema,kw as NcAlarmSecureOnArmOffSchema,Yw as NcAlarmSensorReadingSchema,Xw as NcAlarmSensorStateSchema,Zw as NcAlarmSensorsInputSchema,Qw as NcAlarmSensorsSchema,zw as NcAlarmSettingsPatchSchema,Nw as NcAlarmSettingsSchema,Bw as NcAlarmSkipReasonSchema,Vw as NcAlarmSkippedDeviceSchema,XS as NcAudioConditionSchema,eT as NcClipRetentionAskSchema,tT as NcClipRetentionPlanSchema,ZC as NcConditionDescriptorSchema,dC as NcConditionsSchema,wC as NcConfirmExpectSchema,TC as NcConfirmSchema,ZS as NcCrossingSchema,DS as NcDeliverySchema,lC as NcDeviceStateConditionSchema,nw as NcHistoryEntrySchema,aw as NcHistoryFilterSchema,ew as NcHistoryRecordKindSchema,$C as NcHistoryStatusSchema,tw as NcHistorySubjectSchema,iC as NcHookBindingsSchema,sC as NcLegacyRuleActionSequenceSchema,mC as NcLinkedCameraModeSchema,pC as NcMediaFrameSchema,_C as NcMediaPolicySchema,JS as NcOccupancyConditionSchema,qS as NcPlateMatcherSchema,eC as NcRuleActionSchema,cC as NcRuleActionSequenceSchema,oC as NcRuleActionsSchema,PC as NcRuleClearableKeySchema,kC as NcRuleInputSchema,HC as NcRuleKindSchema,ow as NcRuleLastRunSchema,sw as NcRuleLastRunsSchema,aC as NcRuleNotificationButtonSchema,AC as NcRulePatchSchema,IC as NcRuleSchema,fC as NcRuleTargetSchema,FC as NcRuleUpdateInputSchema,uC as NcSceneConditionSchema,US as NcScheduleSchema,HS as NcScheduleWindowSchema,QS as NcSensorTransitionSchema,nC as NcSharedSequenceInputSchema,tC as NcSharedSequenceSchema,lw as NcSnoozeInputSchema,uw as NcSnoozeSchema,cw as NcSnoozeScopeSchema,dw as NcSnoozeSuppressedSchema,zC as NcStateSummaryPreviewRowSchema,BC as NcStateSummaryPreviewSchema,RC as NcStateSummaryPreviewSectionSchema,LC as NcStateSummarySectionIdSchema,GS as NcStateSummarySplitSchema,LS as NcSystemEventConditionSchema,WS as NcSystemEventDeliveryModeSchema,KS as NcSystemEventDeliverySchema,OS as NcSystemEventKindSchema,uS as NcTaxonomyEntrySchema,dS as NcTaxonomySchema,WC as NcTemplateFamilySchema,GC as NcTemplateFieldSchema,YC as NcTemplatePreviewInputSchema,XC as NcTemplatePreviewSchema,JC as NcTemplateVarContextSchema,qC as NcTemplateVarDescriptorSchema,KC as NcTemplateVarGroupSchema,UC as NcTemplateVarKindSchema,VC as NcTestResultSchema,vC as NcThrottleGranularitySchema,yC as NcThrottleSchema,$S as NcZoneConditionSchema,kx as NetworkAccessStatusSchema,AV as NetworkAddressSchema,Ox as NetworkEndpointSchema,JI as NetworkLinkStatusSchema,vL as NodeDirectoryEntrySchema,yL as NodeDirectorySchema,Fx as NotificationActionIconSchema,Ix as NotificationActionSchema,Px as NotificationFormatSchema,Lx as NotificationSchema,wL as NotifierStatusSchema,OL as NumericSensorStatusSchema,EG as OPERATOR_WRITTEN_STALE_MS,Ws as OPS_LOG_DEFAULT_LIMIT,Us as OPS_LOG_RING_DEFAULT_MAX,tu as OVERFLOW_REASON,xu as OVERLAY_LAYERS,ge as OWNER_ONLY_EVENT_CATEGORIES,pT as OauthIntegrationDescriptorSchema,LE as ObjectEventSchema,fk as OccupancyBurstRefusalSchema,eA as OccupancyLookAnswerSchema,Qk as OccupancyLookRefusalSchema,$k as OccupancyLookRequestSchema,sB as OnboardFieldSupportSchema,rB as OnboardRecordTrackSchema,cB as OnboardScheduleSupportSchema,nB as OnboardStorageSchema,tB as OnboardStorageVolumeSchema,Rs as OpsLogDomainSchema,Vs as OpsLogEntrySchema,zs as OpsLogOpSchema,Hs as OpsLogQueryInputSchema,Bs as OpsLogReasonSchema,wO as OrchestratorMetricsSchema,BL as OsdNamedTemplateSchema,AL as OsdOverlayKindEnum,PL as OsdOverlayPatchSchema,ML as OsdOverlaySchema,jL as OsdPositionEnum,WL as OsdRenderOutcomeEnum,GL as OsdRenderResultSchema,HL as OsdSlotBindingSchema,UL as OsdSlotViewSchema,qL as OsdSourceOptionSchema,VL as OsdSourceSchema,KL as OsdSourceValueTypeEnum,NL as OsdStatusSchema,zL as OsdTemplateBindingSchema,LL as OsdTemplateFormatSchema,RL as OsdTemplatePickSchema,IL as OsdTemplateTokenKindSchema,nt as PEER_BYTES_CHUNK_BYTES,et as PEER_BYTES_MAX_OUTSTANDING,tt as PEER_BYTES_STALL_MS,$e as PEER_BYTES_TICKET_TTL_MS,ng as PENDING_BLOCK_ID,XL as PET_FEEDER_MANUAL_FEED_MAX,YL as PET_FEEDER_MANUAL_FEED_MIN,Ro as PIPELINE_ANALYTICS_CAP_NAME,XH as PIPELINE_FLOW_CAPABILITY_NAMES,ZH as PIPELINE_OWNER_CAPABILITY_NAMES,Lo as PRIVACY_MASK_CAP_NAME,tK as PROVIDER_KIND_CAP_NAMES,Ut as PROVIDER_PIN_FIELD,zQ as PYTHON_SCRIPT,XM as PackageUpdateSchema,ZM as PackageVersionInfoSchema,PO as ParkRefusalSchema,FO as ParkTrackFrameResultSchema,NO as ParkedFrameKindSchema,IO as ParkedTrackFrameSchema,zb as PasskeyLoginMethodSchema,fj as PasskeySummarySchema,qf as PcmSampleFormatSchema,rt as PeerBytesTicketSchema,zH as PerScopeBreakdownSchema,$L as PetFeederStatusSchema,gm as PickStreamPreferencesSchema,hm as PickStreamRequirementsSchema,_m as PickedCamStreamSchema,xk as PipelineAssignmentSchema,XD as PipelineDefaultStepSchema,Z as PipelineEngineChoiceSchema,SO as PipelineRunResultBridge,aO as PipelineStepInputSchema,sO as PipelineValidationIssueSchema,cO as PipelineValidationResultSchema,im as PlaceholderReasonSchema,OO as PolygonPointSchema,OQ as PoolMemoryWatchdog,CR as PowerMeterStatusSchema,ER as PresenceStatusSchema,OR as PressureSensorStatusSchema,NR as PrivacyMaskOptionsSchema,PR as PrivacyMaskPatchSchema,jR as PrivacyMaskRegionSchema,AR as PrivacyMaskShapeSchema,MR as PrivacyMaskStatusSchema,qx as ProbeTargetConfigResultSchema,Ot as ProfileRtspEntrySchema,ut as ProfileSlotSchema,lt as ProfileSlotStatusSchema,XX as ProviderMotionDataSchema,hv as ProviderStatusSchema,YR as PtzAutotrackRuntimeStateSchema,KR as PtzAutotrackSettingsSchema,JR as PtzAutotrackStatusSchema,qR as PtzAutotrackTargetOptionSchema,UR as PtzHomePresetSchema,WR as PtzHomeReturnSchema,BR as PtzMoveCommandSchema,HR as PtzOptionsSchema,zR as PtzPositionSchema,LR as PtzPresetFunctionSchema,RR as PtzPresetSchema,VR as PtzStatusSchema,t_ as QueryFilterSchema,Ha as RATE_CONTROL_RELAXED,Va as RATE_CONTROL_TIGHT,bG as REACHABILITY_FAILURES_TO_OFFLINE,yG as REACHABILITY_POLL_INTERVAL_MS,xG as REACHABILITY_PROBE_TIMEOUT_MS,dl as RECOGNITION_TYPES,rc as RECORDING_AUDIO_TRIGGER_OFFERED_DBFS,Kz as RECORDING_EXPORT_MAX_READ_BYTES,QR as RECORDING_SOURCE_CAMSTACK,$R as RECORDING_SOURCE_CAMSTACK_ADDON,dz as RECORDING_TIMELINE_BATCH_MAX,Go as REDACTED_SECRET,Yr as RESERVED_BINDING_NAMES,FB as RESERVED_COLLECTION_SOURCES,sK as RESTORED_CAP_NAMES,yU as ROOM_EXAMPLE_MOTION_SOURCES,vU as ROOM_EXAMPLE_TEMPERATURE_SOURCES,_U as ROOM_OCCUPANCY_WINDOW_MS,ou as ROOT_BUCKET_KEY,GU as RUNTIME_DEFAULTS,rK as RUNTIME_STATE_POLICY,TG as RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS,RQ as RUNTIME_TO_FORMAT,pn as RawStateResultSchema,Oz as ReadGopBytesResultSchema,Dz as ReadSegmentBytesResultSchema,kz as ReadWindowBytesResultSchema,Pt as ReadinessRegistry,kt as ReadinessTimeoutError,MD as RebuildObjectEmbeddingsRefusalSchema,lD as RecentTracksPageSchema,cD as RecentTracksQueryInput,$z as RecordTriggerSchema,eB as RecordWindowSchema,fz as RecordingAvailabilityForDeviceSchema,nz as RecordingAvailabilitySchema,sc as RecordingBandAudioSchema,ac as RecordingBandModeSchema,cc as RecordingBandSchema,oc as RecordingBandTriggersSchema,pc as RecordingConfigSchema,pz as RecordingDaysForDeviceSchema,rz as RecordingDaysSchema,mz as RecordingDeviceUsageSchema,hz as RecordingLocationUsageSchema,iz as RecordingManifestSchema,ec as RecordingObjectTriggerClassSchema,lB as RecordingOnboardOptionsSchema,uB as RecordingOnboardPatchSchema,iB as RecordingOnboardStatusSchema,cz as RecordingPlaybackSchema,ez as RecordingRangeSchema,tz as RecordingReadSchema,xz as RecordingRebalanceInputSchema,_z as RecordingRebalanceMoveSchema,bz as RecordingRebalancePlanSchema,vz as RecordingRebalanceSkipReasonSchema,yz as RecordingRebalanceSkipSchema,fc as RecordingRetentionSchema,NB as RecordingSignalRuntimeStateSchema,MB as RecordingSignalStatusSchema,az as RecordingSourceAvailabilitySchema,sz as RecordingSourceOptionsSchema,oz as RecordingSourceSchema,uz as RecordingStatusSchema,$s as RecordingStorageModeSchema,gz as RecordingStorageUsageSchema,ic as RecordingTriggersSchema,Zs as RecordingWeekdaySchema,Lb as RedirectLoginMethodSchema,al as RelocatableMediaCountInputSchema,il as RelocatableMediaCountSchema,Tc as RelocateFootageClassSchema,Ec as RelocateFootageInputSchema,wc as RelocateJobSchema,Cc as RelocateJobStateSchema,kc as RelocateMediaInputSchema,Xc as RelocateResidueInputSchema,Zc as RelocateResidueSchema,Wx as RenderedAsSchema,nk as ReportMotionInputSchema,eH as ReportedFailureContributionSchema,$V as ReportedLoadContributionSchema,LV as RequestCensusGroupSchema,RV as RequestCensusProcedureSchema,zV as RequestCensusSnapshotSchema,BV as RequestCensusStatusSchema,JE as RetrainAnnotationDraftSchema,WE as RetrainAnnotationKindSchema,qE as RetrainAnnotationSchema,GE as RetrainAnnotationSourceSchema,nD as RetrainAssistResultSchema,tD as RetrainAssistSubjectSchema,QE as RetrainCopyRefusalSchema,XE as RetrainFrameCandidateSchema,eD as RetrainFrameListSchema,ZE as RetrainFrameSchema,$E as RetrainFrameSelectionSchema,UE as RetrainMacroClassSchema,yE as RetrainStatusSchema,YE as RetrainTrackSchema,rD as RetrainTransitionResultSchema,MQ as RingBuffer,cm as RtpSourceSchema,Xp as RtspRestreamEntrySchema,ok as RunnerCameraConfigSchema,sk as RunnerCameraDeviceUIFields,rk as RunnerFrameSourceSchema,ak as RunnerInferenceDeviceSchema,ik as RunnerJumpStepProvisioningSchema,ck as RunnerLocalLoadSchema,dk as RunnerLocalMetricsSchema,RB as SCENE_CONDITIONS,QB as SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX,ZB as SCENE_CONFIRM_DEFAULT_TIMEOUT_MS,YB as SCENE_DEFAULT_ANCHOR_THRESHOLD,JB as SCENE_DEFAULT_CHECK_INTERVAL_SEC,qB as SCENE_DEFAULT_OBSERVATION_SPACING_SEC,KB as SCENE_DEFAULT_QUIET_SECONDS,XB as SCENE_DEFAULT_UNCOVERED_POLICY,BB as SCENE_DIVERGED,$B as SCENE_RESET_RECAPTURES,cK as SCOPE_PRESETS,kW as SENSOR_FEATURES,jW as SENSOR_MAP,Qe as SHARE_VIEW_KINDS,br as SOURCE_CAPS,vr as SOURCE_CAP_ACTIVE_FIELD,yr as SOURCE_CAP_CHANGED_AT_FIELD,xr as SOURCE_DEVICE_TYPES,j_ as SOURCE_INFO_METADATA_KEY,_X as STATE_LABELS,gX as STATE_LABEL_KEYS,Cu as STATIONARY_OVERLAY_STYLE,Pl as STORAGE_ACCESS_FALLBACK,Al as STORAGE_BYTES_PER_GB,fl as STORAGE_LOCATION_MODES,SV as STREAM_PROFILE_META,Ts as STREAM_QUALITY_LABELS,ul as SUB_DETECTION_TYPES,LW as SYSTEM_CAP_NAMES,$G as SYSTEM_SCOPE_DEVICE_METHODS,GB as SceneCheckSchema,LB as SceneConditionSchema,eV as SceneConfirmSchema,tV as SceneMonitorSchema,WB as SceneMonitorStateSchema,rV as SceneMonitorStatusForDeviceSchema,nV as SceneMonitorStatusSchema,UB as SceneReferenceSchema,HB as SceneUnavailableSchema,zB as SceneUncoveredPolicySchema,VB as SceneVerdictSchema,fT as ScopedTokenSchema,yH as ScopedTokenSummarySchema,xD as ScoredObjectEventSchema,cV as ScriptRunnerStatusSchema,QM as SearchResultSchema,CA as SendEmailInputSchema,wA as SendEmailResultSchema,Gx as SendResultSchema,fE as SensorEventSchema,lA as ServerBootModeSchema,_A as ServerPackageStatusSchema,gA as ServerRollbackInfoSchema,bA as ServerUpdateActionResultSchema,vA as ServerUpdateCheckResultSchema,yA as ServerUpdateOutcomeSchema,uA as ServerUpdateStateSchema,XO as SessionTriggerSchema,Zk as SetCameraSensorsInputSchema,nH as SetLoggingSettingsInputSchema,PV as SetSiteLocationInputSchema,bs as SetTrackPurityInputSchema,xs as SetTrackPurityResultSchema,_s as SetTrackRelationInputSchema,mf as SettingsPatchSchema,a_ as SettingsRecordSchema,V as SettingsSchemaWithValuesSchema,hf as SettingsUpdateResultSchema,m_ as ShmRingStatsSchema,MV as SiteLocationSchema,jV as SiteLocationSourceSchema,NV as SiteLocationStatusSchema,pv as SiteZoneSchema,uV as SmokeStatusSchema,TA as SmtpStatusSchema,DA as SnapshotImageSchema,D_ as SourceInfoSchema,Mf as SpatialDetectionSchema,AA as SsoBridgeClaimsSchema,wx as StartEmbeddedInputSchema,VH as StationaryObjectSchema,KA as StorageAbortUploadInputSchema,Nl as StorageAccessSchema,qA as StorageBeginDownloadInputSchema,JA as StorageBeginDownloadResultSchema,HA as StorageBeginUploadInputSchema,UA as StorageBeginUploadResultSchema,sl as StorageCleanupInputSchema,cl as StorageCleanupJobSchema,ol as StorageCleanupPhaseSchema,ll as StorageCleanupStatusInputSchema,Ml as StorageDrainProgressSchema,XA as StorageEndDownloadInputSchema,ml as StorageEvictionPolicySchema,GA as StorageFinalizeUploadInputSchema,Fl as StorageLocationDeclarationSchema,pl as StorageLocationModeSchema,z as StorageLocationRefSchema,R as StorageLocationSchema,Dl as StorageLocationTypeSchema,Nc as StorageMigrationClassSchema,Pc as StorageMigrationDestinationsSchema,Yc as StorageMigrationDrainInputSchema,Uc as StorageMigrationFindingCodeSchema,Wc as StorageMigrationFindingSchema,Dc as StorageMigrationFootageMoveInputSchema,Lc as StorageMigrationInputSchema,Hc as StorageMigrationJobSchema,Kc as StorageMigrationLaneSchema,L as StorageMigrationLeaseInputSchema,Mc as StorageMigrationMediaMoveInputSchema,Ic as StorageMigrationModeSchema,Bc as StorageMigrationMoveProgressSchema,Vc as StorageMigrationMoveSchema,qc as StorageMigrationMoverSchema,zc as StorageMigrationParticipantSchema,Rc as StorageMigrationPhaseSchema,Gc as StorageMigrationPlanSchema,Jc as StorageMigrationResidueSchema,Fc as StorageMigrationSourcesSchema,RA as StorageOccupancyReportSchema,BA as StorageProviderInfoSchema,YA as StorageReadChunkInputSchema,VA as StorageTestLocationResultSchema,WA as StorageWriteChunkInputSchema,mm as StreamCodecSchema,Gp as StreamFormatSchema,$I as StreamNetworkStatsSchema,yV as StreamParamsOptionsSchema,_V as StreamParamsStatusSchema,gV as StreamProfileConfigSchema,vV as StreamProfileOptionsSchema,bV as StreamProfilePatchSchema,hV as StreamProfileSchema,QA as StreamSignalSchema,$A as StreamSignalsStatusSchema,ht as StreamSourceEntrySchema,gt as StreamSourceSchema,wt as SubscribeAudioChunksInputSchema,Tt as SubscribeAudioChunksResultSchema,bt as SubscribeFramesInputSchema,xt as SubscribeFramesResultSchema,EV as SwitchStatusSchema,ox as SystemMetricsSchema,NG as SystemMirror,q as TAXONOMY_COLORS,NX as TIMELAPSE_DENSE_FLOOR_SEC,Bl as TIMEZONES,ds as TRACK_RELATIONS_DEFAULT_LIMIT,Wa as TRANSCODE_DOWN_MAX_BITRATE_KBPS,Ua as TRANSCODE_DOWN_MAX_HEIGHT,aH as TamperStatusSchema,DH as TankStatusSchema,zx as TargetKindCapsSchema,Rx as TargetKindLevelSchema,Vx as TargetKindSchema,Hx as TargetSchema,sH as TemperatureSensorStatusSchema,aj as TerminalInstanceInfoSchema,oj as TerminalLegacyCameraSchema,cj as TerminalOutputBatchSchema,sj as TerminalOutputEventSchema,ij as TerminalProfileInfoSchema,rj as TerminalSessionInfoSchema,kF as TestConnectionResultSchema,OF as TestConnectionStatusEnum,Kx as TestResultSchema,zX as TimelapseRuleInputSchema,VX as TimelapseRulePatchSchema,HX as TimelapseRuleSchema,EX as TimelapseTemplateSchema,lH as ToastSchema,X as TokenScopeSchema,cL as TopologyNodeSchema,iL as TopologyProcessSchema,rL as TopologyServiceSchema,CD as TrackCascadeCountsSchema,hE as TrackEnvelopeSchema,CE as TrackFlagsPatchSchema,wE as TrackFlagsSchema,gE as TrackProjectionSchema,gs as TrackPuritySchema,ms as TrackPurityValueSchema,fs as TrackRelationKindSchema,ws as TrackRelationRefusalSchema,hs as TrackRelationSchema,AE as TrackSchema,ps as TrackSideSchema,vE as TrackSourceSchema,iE as TrackStateSchema,oE as TrackZoneFilterSchema,yD as TrackedDetectionSchema,OE as TrainingExportDeviceTotalsSchema,kE as TrainingExportSummarySchema,IV as TransportPlaneCountsSchema,FV as TransportPlaneSchema,uj as TurnServerSchema,au as UNATTRIBUTED_BUCKET_KEY,nU as UNIT_TABLE,rU as UnitConversionError,jc as UnstampedEventMediaCountSchema,Ac as UnstampedRowsSchema,jF as UpdateIntegrationInputSchema,dH as UpdateStatusSchema,hH as UpdateUserInputSchema,uT as UserRecordSchema,pH as UserSummarySchema,Nj as VECTOR_INDEX_DIM_CONFLICT,$j as VIDEOCLIPS_MAX_OFFER_BYTES,Qj as VIDEOCLIPS_MAX_READ_BYTES,dc as VISIT_MERGE_GAP_MS,OH as VacuumControlStatusSchema,EH as VacuumStateSchema,AH as ValveStateSchema,jH as ValveStatusSchema,yj as VectorDeclareIndexInputSchema,Tj as VectorDeleteByFilterInputSchema,wj as VectorDeleteInputSchema,Ej as VectorDeleteResultSchema,gj as VectorFilterSchema,Dj as VectorGetInputSchema,Oj as VectorGetResultSchema,_j as VectorItemSchema,vj as VectorMatchSchema,hj as VectorMetadataSchema,mj as VectorMetricSchema,Sj as VectorQueryInputSchema,Cj as VectorQueryResultSchema,Ij as VectorStatsInputSchema,Lj as VectorStatsResultSchema,bj as VectorUpsertInputSchema,xj as VectorUpsertResultSchema,NH as VibrationStatusSchema,ka as VideoEncodeSchema,EM as WEBRTC_CLIMB_HOLD_CODES,za as WEBRTC_EGRESS_PROFILE,DM as WEBRTC_TRY_BLOCKERS,hB as WEEKLY_MASK_LENGTH,De as WELL_KNOWN_TABS,Oe as WELL_KNOWN_TAB_MAP,FH as WaterHeaterStatusSchema,LH as WeatherStatusSchema,OM as WebrtcClimbHoldSchema,TM as WebrtcLadderDecisionSchema,AM as WebrtcSessionDebugSchema,wM as WebrtcStreamChoiceSchema,CM as WebrtcStreamTargetSchema,kM as WebrtcTierFailureSchema,_F as WhiteBalanceModeSchema,_f as WidgetHostEnum,Rb as WidgetLoginMethodSchema,bf as WidgetMetadataSchema,yf as WidgetRemoteSchema,vf as WidgetSizeEnum,Pv as WrapperActivationReadSchema,mA as WrapperEvidenceSchema,hA as WrapperIdentitySchema,pA as WrapperKindSchema,Xx as YAMNET_TO_MACRO,PE as ZoneCrossingDirectionSchema,FE as ZoneCrossingSchema,DO as ZoneKindEnum,aV as ZoneRuleModeEnum,oV as ZoneRuleSchema,JH as ZoneRuleStageEnum,sV as ZoneRulesArraySchema,kO as ZoneSchema,BH as ZoneScopeBreakdownSchema,Xl as __resetLogChannelRegistryForTests,NM as accessoriesCapability,JU as accessoryStableId,qW as actionsForBoundCaps,YW as actionsForDevice,JW as actionsForDeviceType,XW as actionsForDevices,yY as activateAlarmProfile,af as addonPagesCapability,sf as addonPagesSourceCapability,df as addonRoutesCapability,gf as addonSettingsCapability,Cf as addonWidgetsCapability,xf as addonWidgetsSourceCapability,dN as addonsCapability,tn as adminUiCapability,pN as airQualitySensorCapability,PJ as alarmDeviceBlocksArming,FJ as alarmDeviceSecureOnArm,_S as alarmPanelCapability,oY as alarmPatchLanded,xY as alarmProfileById,Of as alertsCapability,ZW as allDoActions,hN as ambientLightSensorCapability,QJ as applyBlockingEdit,YJ as applyModeDelaysEdits,XJ as applyModeDeviceListEdit,ZJ as applyNonBlockingEdit,$J as applySecureOnArmEdit,kn as asBoolean,En as asJsonArray,Tn as asJsonObject,On as asNumber,Dn as asString,UX as assertTimelapseCadences,kf as audioAnalysisCapability,Kf as audioAnalyzerCapability,xe as audioChunkBytesPerSample,ep as audioCodecCapability,FK as audioIsFailClosed,_K as audioKindId,zK as audioLabelChoices,bN as audioMetricsCapability,PK as audioModeOf,NK as audioOrDefaults,or as audioPlanFromEncodeProfile,mK as audioScaleEraOf,np as authProviderCapability,Ps as autoAssignProfiles,SN as automationControlCapability,Sp as backupCapability,aQ as bareAddonId,wN as batteryCapability,rQ as bestLocationMatch,EN as binaryCapability,YQ as bindAddonActions,ON as brightnessCapability,Up as brokerCapability,Ta as buildAddonRouteProvider,Jn as buildAudioArgs,$h as buildCapabilityLookup,T_ as buildDeviceAdminUrl,kU as buildDoorbellCompositionFeature,cA as buildEventKindDescriptor,rr as buildFfmpegArgs,LU as buildFrigateClassMap,Hn as buildInputArgs,Fu as buildModelVariantGroups,pS as buildNcTaxonomy,RZ as buildRoleScopes,wV as buildStreamParamsConfigSchema,qn as buildVideoArgs,xM as buildViewerLink,wg as builtCapabilityBlockers,kN as buttonCapability,PN as calendarSourceCapability,BN as calendarsCapability,UN as cameraCredentialsCapability,YN as cameraGridLayoutCapability,GX as cameraOwnsMotionViaSensor,Wp as cameraPipelineConfigCapability,xT as cameraSensorRefKey,vm as cameraStreamsCapability,uU as canConvertUnit,oo as canonicalEgressPlan,ZN as carbonMonoxideCapability,jQ as cellsToRects,jd as classifyBearerPrincipal,ks as classifyStream,Os as classifyStreams,eP as climateControlCapability,Uz as clipExportFailure,Wz as clipExportFailureOf,Gj as clipReasonHeaderValue,fY as cloneAlarmSettings,wi as cloneStatefulExpressionMemory,LT as clusterModelSettingKey,QT as clusterStepSettingFieldsFor,ZT as clusterStepSettingKey,Fa as codecIsAccepted,Ae as collectHydratedFieldEntries,Me as collectHydratedFieldValues,qo as collectSecretConfigKeys,aP as colorCapability,cS as colorForKind,TQ as commitWatchdogRestart,Na as compareToTarget,di as compileExpression,fi as compileExpressionSafe,Wo as composeSwitchedOff,sa as composedDeviceRef,oa as composedDeviceStableId,mh as composerCapability,Jh as compositionEdges,$i as compositionFeatureEnabled,eh as compositionFieldKey,la as compositionItemFieldPath,aa as compositionReadKey,ia as compositionSliceKey,F as compositionSourceKey,dg as compositionSourceRefs,qd as conditionDepth,eJ as conditionExclusionReason,$q as conditionVisibleForKind,uP as connectionTestCapability,fP as connectivityCapability,RS as consumableLowPercentOf,_P as consumablesCapability,yP as contactCapability,CP as controlCapability,NU as convertPresetFeature,cU as convertUnit,Og as coreBlockAddonId,Ug as coreBlockComposition,kg as coreBlockIdFromAddonId,Hg as coreBlockSourceKind,Qg as coreBlocksCapability,lQ as cosineSimilarity,Jd as countConditionLeaves,EP as coverCapability,gY as createAlarmProfile,tU as createDeviceExtensionProvider,bn as createDeviceProxy,Be as createDurableState,Re as createEvent,_n as createEventBusSliceSource,mi as createExpressionScope,Ya as createHwAccelCache,gn as createLazyTrpcSource,Ql as createLogChannelsProvider,vn as createMirrorSource,DG as createRuntimeStateBridge,E as createSliceHandle,Ci as createStatefulExpressionMemory,lK as createSystemProxy,rn as customAction,e_ as customModelRegistryCapability,d_ as dataStoreProviderCapability,up as databaseSnapshotCapability,MP as dayNightCapability,AB as dayOfWeekToIndex,yW as declarationOwnerNodeId,Yl as declareLogChannel,WQ as decodeVectorBase64,h_ as decoderCapability,fJ as defaultDeliveryForSection,r$ as defaultDeviceFor,nn as defineCustomActions,$H as defineExtensionSlotProvider,vY as deleteAlarmProfile,cW as deriveBatteryPresence,Ho as deriveCameraSwitches,cd as deriveClassifierFills,uZ as deriveDetailCropRect,VJ as derivePostTriggeredAction,mc as deriveRecordingMode,Tg as describeComposableCaps,on as describeCustomActions,Lu as describeModelVariant,jB as describeOnboardClamp,_B as describeOnboardRefusal,Lm as describeStateField,rX as describeSystemEventDeliveryProblem,Aq as describeSystemEventFamilyProblem,Rm as describeTopLevelStateFields,BZ as detectAccessRole,g_ as detectionPipelineCapability,y_ as deviceAdminLinkCapability,Y_ as deviceAdoptionCapability,LQ as deviceBackendToFormat,an as deviceCustomAction,I_ as deviceDiscoveryCapability,GW as deviceDoFamily,iv as deviceExportCapability,py as deviceExtensionCapability,Gv as deviceManagerCapability,eG as deviceMatchesProfile,mn as deviceOpsCapability,xv as deviceProviderCapability,HZ as deviceSelectorMatches,vy as deviceStateCapability,PP as deviceStatusCapability,Ir as disarmRoseMemory,uG as displayIconEntry,dG as displayIconsInGroup,$W as doActionSelectValue,LP as doorbellCapability,OU as doorbellFeatureSources,tJ as droppedConditionsForKind,so as egressTranscodeSharingKey,no as egressTransportFromRequest,Iy as embeddingEncoderCapability,ky as embeddingModelFailedError,Fy as embeddingModelFailedOf,Ny as embeddingRefusalOf,jy as embeddingRequirementsFailedError,Ay as embeddingRequirementsUnavailableError,It as emitDownForOwnedCaps,ze as emitReadiness,ym as emitsCollectionSelector,Ma as encodeProfileFromStreamShape,UQ as encodeVectorBase64,pY as ensureAlarmProfiles,BP as enumSensorCapability,c$ as enumerateInferenceDevices,Fm as enumerateItemArrayFields,Pm as enumerateSchemaFields,In as errMsg,Si as evaluateAst,gU as evaluateCompositionField,Lr as evaluateCount,ki as evaluateExpressionSource,wQ as evaluatePoolMemory,Fr as evaluateRose,Dr as evaluateSensorEdge,Er as evaluateSensorLevelEdge,Ti as evaluateStatefulExpressionCall,KQ as evaluateZoneRules,Zt as event,UP as eventEmitterCapability,TX as eventKindLabel,vl as evictionPolicyForMode,wl as evictionPolicyOfLocation,Se as expandAudioChunkToF32le,Jt as expandCapMethods,gW as expandContainer,Zz as exportSubjectOf,CW as exposeBlockDevices,Oh as expressionContainsBuiltinCall,eU as extensionSlotRef,Tm as extractNestedAddonId,M_ as extractSourceInfoFromMetadata,eF as faceGalleryCapability,zy as failureContributionCapability,iu as failureRate,rF as fanControlCapability,ua as featureFieldEntries,aF as featureProbeCapability,da as featureSources,EU as feederCustomizationExample,TU as feederExampleSources,Qa as ffmpegRate,ca as fieldReads,Hy as filesystemBrowseCapability,ld as fillFor,Qh as findCandidateCycles,Yh as findCompositionCycles,Vl as findTimezone,sF as floodCapability,lu as foldSnapshotByFunction,BQ as formatForRuntime,va as formatMediaOwnerKey,CB as formatMinutes,wu as formatParkedFor,RU as frigateLabelFields,lF as gasCapability,jl as gbToBytes,tf as generateAutomationBlock,eS as getAudioMacroClassIds,_G as getByPath,nK as getCapsByProviderKind,Jl as getLogChannelRegistry,sS as getTaxonomyEntry,$a as gifDeriveSpeed,eo as gifFilterComplex,to as gifFromMp4Args,OW as hasMotionTrigger,fQ as hfModelUrl,iq as htmlToText,YX as hubMotionNativeProvider,dF as humidifierCapability,pF as humiditySensorCapability,Pe as hydrateSchema,hF as imageCapability,wF as imageSettingsCapability,kh as inferExpressionKinds,yd as inferModelProvider,yQ as initialPoolMemoryState,NF as integrationsCapability,LF as intercomCapability,BT as interpretStoredClusterModel,VT as invalidClusterStepModelEntries,jU as invertPresetFeature,sr as invocationFromEncodeProfile,vo as isAgentOnlyPlacement,EJ as isAlarmControllableCap,hM as isAppLinkBase,Sm as isArrayOutputSchema,be as isAudioChunkFormat,ZK as isAudioClassName,BK as isAudioLabelSelected,aJ as isAudioRule,tq as isBaseConditionKey,lW as isBatteryPresenceFault,RT as isClusterScopedStep,od as isCocoLabelmap,Cm as isCollectionArrayMethod,dY as isDefaultAlarmProfileId,_o as isDeployableToAgent,qu as isDetectionMacroClass,Qt as isDeviceConfigCap,Sn as isDeviceScopedCap,lG as isDisplayIconKey,zW as isDoActionActuatable,WW as isDoPickerDeviceType,Py as isEmbeddingModelFailed,Le as isEvent,wX as isEventKindLabelKey,wa as isEventOwnerType,Xu as isFillableStepId,Js as isFirstLevelMacroClass,UY as isHeldBackTemplateVar,So as isIsolatedBuiltin,XY as isKnownTemplateVar,kl as isLocationEnabled,ga as isMediaOwnerType,MW as isNode,xm as isObjectInput,oJ as isOccupancyRule,_e as isOwnerOnlyEventCategory,oK as isRestoredCap,MC as isRetiredClearKey,oQ as isSameAddonId,bJ as isScheduleActive,Ko as isSecretConfigField,Vn as isSoftwareDecode,Sr as isSourceCap,yX as isStateLabelKey,Or as isStatefulBuiltin,xl as isStorageLocationMode,Kq as isSystemDelivery,bq as isSystemEventFamily,eX as isSystemEventSummaryRule,Mq as isSystemRuleKind,Fj as isVectorIndexDimConflict,bm as isVoidInput,pK as ituDbfsFromPreEpoch,PM as jobKindSchema,jm as kebabToCamel,yh as kindOfValue,Wq as kindsForDiscriminator,QK as knownValues,VF as lawnMowerControlCapability,_W as legacyAutoLinkIds,yl as legacyModeOf,VM as lifecycleJobSchema,BM as lifecycleJobScopeSchema,zM as lifecycleJobStateSchema,RM as lifecycleTaskSchema,id as linkedLabelStepId,ad as linkedStepOf,Eb as llmCapability,pb as llmRuntimeCapability,Ab as loadContributionCapability,eI as localNetworkCapability,lv as locationIconKey,nQ as locationSimilarity,rI as lockControlCapability,Bn as logBannerArgs,Mb as logChannelsCapability,Fb as logDestinationCapability,Ls as logLevelAtMost,Vb as loginMethodCapability,wm as looseSchema,dt as makeProfileBrokerId,ft as makeSourceBrokerId,$x as mapAudioLabelToMacro,cq as markdownToHtmlLite,nq as markdownToText,hQ as maskUrlCredentials,QW as matchDoAction,Cl as mayReadLocation,Sl as mayWriteToLocation,cI as mediaPlayerCapability,co as memoizePinnedFfmpeg,k_ as mergeSourceInfo,fI as meshNetworkCapability,T as method,Od as methodAccessForHttpMethod,sx as metricsProviderCapability,Sc as migrateLegacyDeviceSignalConfig,kB as minutesToTimeOfDay,_l as modeMayRead,gl as modeMayWrite,lx as modelConvertCapability,fx as modelDistributorCapability,i$ as modelFormatForRuntime,gI as motionCapability,hx as motionDetectionCapability,$O as motionSourceLabel,yI as motionTriggerCapability,wI as motionZonesCapability,Dx as mqttBrokerCapability,MI as nativeObjectDetectionCapability,KI as navigationCapability,uY as ncAlarmSystemDefaultSettings,jx as networkAccessCapability,QI as networkLinkCapability,nL as networkQualityCapability,uX as nodePickerItems,Rt as nodePin,bL as nodesCapability,Ye as normalizeAddonInitResult,gK as normalizeAudioLabel,zg as normalizeCoreBlockWrite,Ve as normalizeNodeId,JZ as normalizeTokenScopes,A_ as normalizeUnit,Jx as notificationOutputCapability,nT as notificationRulesCapability,DL as notifierCapability,kL as numericSensorCapability,mT as oauthIntegrationCapability,Em as objectInputDeclaresAddonId,Dm as objectInputDeclaresRequiredDeviceId,BD as occupancyScope,Bm as optionalAncestors,Xt as optionalMethod,FL as osdCapability,JL as osdManagerCapability,rE as overlayClusterStepSettings,hX as packagePickerItems,E_ as parseAdminBase,Ns as parseCameraStreamConfig,ci as parseExpression,jn as parseJsonArray,An as parseJsonObject,wn as parseJsonUnknown,_a as parseMediaOwnerKey,VD as parseOccupancyScope,vQ as parseProcStatus,pt as parseProfileBrokerId,iJ as parseRuleSection,TV as parseStreamParamsFormPatch,RK as patchAudio,eR as petFeederCapability,AW as pickAccessoryControl,vM as pickAppLinkHub,WT as pickClusterStepModels,nE as pickClusterStepSettings,sZ as pickDetailCropConvention,GT as pickInvalidClusterStepModels,FZ as pickNativeLeaseOverride,hu as pickPreferredRtspEntry,DQ as pickRestartCandidate,ar as pickVideoEncoder,JK as pickerForCondition,XK as pickerForRuleClasses,UD as pipelineAnalyticsCapability,CO as pipelineExecutorCapability,tA as pipelineOrchestratorCapability,pk as pipelineRunnerCapability,ug as planComposition,Km as planCompositionEvents,Hh as planItems,oR as plateGalleryCapability,SR as platformProbeCapability,SQ as poolMemoryThreshold,wR as powerMeterCapability,hq as prepareNotification,DR as presenceCapability,kR as pressureSensorCapability,Md as principalMayReachAddon,FR as privacyMaskCapability,Am as procedureAuthKey,ZX as providerMotionEvent,XR as ptzAutotrackCapability,GR as ptzCapability,ve as publicEventCategories,VQ as pythonScriptForBackend,La as rankStreams,HT as readClusterStepModels,eE as readClusterStepSettings,aZ as readDetailCropConvention,BU as readDeviceStateFrom,JX as readHubMotionDetected,qX as readHubMotionStatus,ud as readLabelLinkPolicy,_T as readMotionTriggeredBy,MZ as readNativeLeaseOverride,Bt as readNodePin,WX as readTimelapseGeneratedAt,At as readinessKey,ZR as rebootCapability,SW as reconcileBlockDevices,Az as recordingArchiveCapability,lz as recordingCapability,Qz as recordingExportCapability,dB as recordingOnboardCapability,PB as recordingSignalCapability,AQ as rectsToCells,mu as reducePoints,_Y as renameAlarmProfile,pg as replacedFieldKeys,zm as requiredTopLevelKeys,HQ as requiresPython,IB as reservedSourceOwner,EQ as resetPoolBaseline,go as resolveAddonExecution,yo as resolveAddonGroup,xo as resolveAddonPlacement,pu as resolveBucketMs,Ht as resolveCapMount,Uu as resolveClipSearchMinScore,JT as resolveClusterStepModelId,hW as resolveContainerPrimaryChild,Lg as resolveCoreBlockEntry,Rg as resolveCoreBlockFiles,Xz as resolveCreateExportSubject,EW as resolveDeviceControlKind,rG as resolveDeviceProfile,Za as resolveEgressDecodeHwAccel,Jz as resolveExportProfiles,uq as resolveFormat,Ne as resolveHydratedFieldValue,dd as resolveLabelLink,uv as resolveLocationIcon,bl as resolveLocationMode,km as resolveMethodAuth,UJ as resolveModeDelays,BJ as resolveModeNotifyPolicy,NW as resolveMutate,_Q as resolvePoolMemoryPolicy,gc as resolveRecordingProfiles,bo as resolveRunnerId,Un as resolveStreamMaps,Iu as resolveVariantModelId,qZ as resolveViewableDeviceIds,LZ as roleSpec,SU as roomCompositionExample,AJ as ruleAutoTriggersAlarm,kJ as ruleBelongsToAlarm,qq as ruleDeviceCompatCapNames,Yq as ruleDeviceCompatCapQueries,hJ as ruleEditorSectionsForKind,OJ as ruleGatedOnArmedState,Zq as ruleGroupingApplies,Xq as ruleKindOf,Uq as ruleKindSpec,sJ as ruleMatchesSection,rJ as ruleSection,cJ as ruleSectionOf,dJ as ruleSeedForSection,NQ as runInferenceStep,n$ as runtimeDevices,iK as runtimeStatePolicyFor,KW as sameDoFamily,iV as sceneMonitorCapability,aX as scheduleForSendTimes,Jo as schemaDeclaresAnyField,GZ as scopeInherits,jt as scopeKey,Ad as scopesAllowAddon,kd as scopesAllowDeviceCap,a$ as scoreRuntimes,lV as scriptRunnerCapability,hG as searchDisplayIcons,IJ as secureActuationFor,mt as selectAssignedProfileSlots,sX as sendTimesForEditor,oX as sendTimesOfSchedule,TY as sensorRaisedOf,NJ as sensorTransitionNeverFires,EY as sensorTransitionOffered,HY as servedTemplateVars,xA as serverManagementCapability,vG as setByPath,l_ as settingsStoreCapability,XI as signalPercentFromBars,ZI as signalPercentFromRssi,mv as siteZoneKey,Mn as sleep,Nn as sleepCancellable,Cr as sliceActiveValue,wr as sliceChangedAt,dV as smokeCapability,EA as smtpProviderCapability,kA as snapshotCapability,jA as ssoBridgeCapability,CG as startReachabilityPoll,bX as stateLabel,VU as stateVocabularyFor,$X as stepModelRunsOnFormat,NA as storageCapability,IA as storageEvictableCapability,LA as storageMigrationCapability,zA as storageOccupancyCapability,ZA as storageProviderCapability,pm as streamBrokerCapability,mV as streamCatalogCapability,xV as streamParamsCapability,Ds as streamPixels,Es as streamQualityLabel,ej as streamSignalsCapability,uc as stripRetiredBandPreBufferSec,Tl as strippedOfLegacyReadOnly,lS as subKindsOf,IR as summarisePrivacyAudio,$Z as summarizeEffectiveScope,t$ as supportedRuntimes,DV as switchCapability,Uo as switchedOffIds,bY as syncActiveAlarmProfileSettings,O_ as synthesizeSourceInfo,iH as systemCapability,nX as systemEventDeliveryProblems,Oq as systemEventFamilyOf,kq as systemEventFamilyProblems,_q as systemEventFilterApplies,vq as systemEventFilterAppliesToAnyKind,Dq as systemEventKindNamesOf,Eq as systemEventKindsOfFamily,QY as systemEventSummaryScheduleOf,$Y as systemEventSummarySplitOf,Nq as systemFamilyOfKind,Qq as systemRuleKindOf,oH as tamperCapability,LM as taskLogEntrySchema,FM as taskPhaseSchema,IM as taskTargetSchema,cH as temperatureSensorCapability,lX as templateCarriesSummary,WY as templateVarDeliveryApplies,qY as templateVarKindApplies,JY as templateVarSystemEventApplies,YY as templateVarsFor,lj as terminalSessionCapability,sq as textToHtml,OB as timeOfDayToMinutes,_M as toAppLinkHubOrigin,aW as toDeviceSummary,Di as toExpressionValue,zt as toNodeId,As as toStreamSourceEntry,uH as toastCapability,VK as toggleAudioLabel,ti as tokenize,dq as transcodeBody,lU as tryConvertUnit,dj as turnProviderCapability,aU as unitDimension,dU as unitsForDimension,sy as unreachableExtensionSlotRow,Mm as unwrapSchema,fH as updateCapability,TH as userManagementCapability,pj as userPasskeysCapability,kH as vacuumControlCapability,bg as validateComposition,Oi as validateExpressionSource,Xd as validateRecipeBounds,MH as valveCapability,GQ as vectorDimFromBase64,Pj as vectorIndexDimConflictError,Rj as vectorStoreCapability,PH as vibrationCapability,dM as videoclipsCapability,gM as viewerLinkBaseOf,un as viewerUiCapability,IH as waterHeaterCapability,RH as weatherCapability,SM as webrtcClientHintsSchema,jM as webrtcSessionCapability,wB as weeklyMaskIndex,TB as weeklyMaskIsUniform,EB as weeklyMaskToWindows,DB as windowsToWeeklyMask,fo as wiringAddonHealthSchema,mo as wiringHealthSnapshotSchema,po as wiringNodeHealthSchema,lo as wiringProbeKindSchema,uo as wiringProbeResultSchema,El as withLocationMode,zG as zodEntriesToConfigUI,qH as zoneAnalyticsCapability,YH as zoneRulesCapability,AO as zonesCapability};
357
+ • @camstack/addon-recorder 1.2.3 → 1.2.4`,kinds:[`addon-update-available`,`addon-updated`]},{name:`summaryUpdates`,label:`Summary: server & container updates`,example:`server 1.2.377 → 1.2.378`,kinds:[`server-update-available`,`node-updating`,`server-updated`,`wrapper-update-available`]}],zY=[{name:`summaryText`,label:`Summary: every section`,description:`One block per section with something to report, one line per item.`,example:`Batterie scariche: Sensore porta — 8 %`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...LY],systemEventDeliveries:[`summary`]},{name:`summaryCount`,label:`Summary: items reported`,example:`3`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...LY],systemEventDeliveries:[`summary`]},{name:`summarySection`,label:`Summary: this section`,description:`The section a per-section summary row is about (D698); on a summary sent as one message, every section it reports, comma-separated.`,example:`Batterie scariche`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...LY],systemEventDeliveries:[`summary`]},...RY.map(e=>({name:e.name,label:e.label,example:e.example,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...e.kinds],systemEventDeliveries:[`summary`]}))],BY=[{name:`camera`,label:`Camera`,example:`Ingresso`,group:`subject`,families:[`rule`,`timelapse`],systemEventKinds:[...IY,`export-completed`]},{name:`class`,label:`Detected class`,description:`The wire class id (e.g. "person", "cat"); the counted class on an occupancy row.`,example:`person`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`sensor`,`sound`,`occupancy`,`system`],systemEventKinds:[...FY]},{name:`classLabel`,label:`Detected class (translated)`,description:`Human label of {{class}} in the notification language (EVENT_KIND_LABELS); falls back to the raw id.`,example:`Persona`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`sensor`,`sound`,`occupancy`,`system`],systemEventKinds:[...FY]},{name:`label`,label:`Name or plate`,description:`Recognised person or read plate; empty otherwise.`,example:`Mario`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`system`],systemEventKinds:[...FY]},{name:`subject`,label:`Subject sentence`,description:`Composed in the notification language, e.g. "person (Mario)".`,example:`persona (Mario)`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`sensor`,`sound`,`occupancy`]},{name:`confidence`,label:`Confidence`,example:`87%`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`system`],systemEventKinds:[...FY]},{name:`count`,label:`Count`,description:`Occupancy count, subjects in a grouped notification, or the event count of a system notice.`,example:`3`,group:`subject`,families:[`rule`],fields:[...Q],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[`addon-crash-loop`,...NY,`addon-updated`]},{name:`detectionSummary`,label:`Detection summary`,description:`Class composition, e.g. "2 persons and 1 car".`,example:`2 persone e 1 auto`,group:`subject`,families:[`rule`,`timelapse`,`summary`],fields:[...Q],kinds:[`detection`]},{name:`zones`,label:`Zones`,example:`Cancello, Vialetto`,group:`place`,families:[`rule`],fields:[...Q],kinds:[`detection`,`system`],systemEventKinds:[...FY]},{name:`zone`,label:`Zone`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...Q],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[...FY]},{name:`inZones`,label:`"in <zones>" fragment`,description:`Leading space included; empty when no zone.`,example:` in Cancello`,group:`place`,families:[`rule`],fields:[...Q],kinds:[`detection`,`system`],systemEventKinds:[...FY]},{name:`scope`,label:`Occupancy scope`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...Q],kinds:[`occupancy`]},{name:`time`,label:`Time`,description:`Hours and minutes, in the notification language.`,example:`20:05`,group:`time`,families:[`rule`,`timelapse`,`summary`],fields:[...Q]},{name:`rule`,label:`Rule name`,example:`Ingresso notte`,group:`rule`,families:[`rule`,`timelapse`,`summary`]},{name:`from`,label:`Window start`,example:`07:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`to`,label:`Window end`,example:`08:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`capacity`,label:`Capacity`,example:`2`,group:`occupancy`,families:[`rule`],fields:[...Q],kinds:[`occupancy`]},{name:`op`,label:`Occupied / free`,example:`occupata`,group:`occupancy`,families:[`rule`],fields:[...Q],kinds:[`occupancy`]},{name:`sounds`,label:`Sounds heard`,example:`abbaio, clacson`,group:`sound`,families:[`rule`],fields:[...Q],kinds:[`sound`]},{name:`hitPercent`,label:`Share of the window`,description:`Level mode only: percentage of samples above the threshold.`,example:`42`,group:`sound`,families:[`rule`],fields:[...Q],kinds:[`sound`]},{name:`db`,label:`Peak level (dBFS)`,example:`-18`,group:`sound`,families:[`rule`],fields:[...Q],kinds:[`sound`]},{name:`eventType`,label:`Event type`,description:`Raw device event token, e.g. "press" or "open"; empty when the device sends none.`,example:`press`,group:`sensor`,families:[`rule`],fields:[...Q],kinds:[`sensor`]},{name:`ai`,label:`AI sentence`,description:`Where the AI description goes; appended on its own line when absent.`,example:`Una persona lascia un pacco.`,group:`ai`,families:[`rule`,`summary`],fields:[...OY],kinds:[`detection`,`occupancy`]},{name:`eventKind`,label:`Event kind`,example:`device-offline`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventDeliveries:[`instant`]},{name:`deviceName`,label:`Device`,example:`Ingresso`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...IY]},{name:`locations`,label:`Intrusion locations`,example:`Ingresso, Corridoio, Salone`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...FY]},{name:`deviceId`,label:`Device id`,example:`617`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...IY,`export-completed`]},{name:`percentage`,label:`Percentage`,example:`15`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...kY,...AY]},{name:`item`,label:`Consumable`,example:`Filtro`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...AY]},{name:`tank`,label:`Tank`,description:`Which tank: clean water, dirty water, detergent or dust bin.`,example:`clean water`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...jY]},{name:`profile`,label:`Stream profile`,example:`high`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`stream-online`,`stream-offline`]},{name:`node`,label:`Node`,example:`hub`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-restarting`,`node-updating`,`node-inference-unavailable`,`addon-crash-loop`,...MY,`addon-updated`,`server-updated`]},{name:`nodeId`,label:`Node id`,example:`hub`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-restarting`,`node-updating`,`node-inference-unavailable`,`addon-crash-loop`,...MY,`server-updated`]},{name:`devices`,label:`Devices`,description:`node-inference-unavailable: the affected cameras, comma-joined. Alarm arm / arming / refusal: HOW MANY devices are armed (or open).`,example:`Ingresso, Garage`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`node-inference-unavailable`,`alarm-armed`,`alarm-arming`,`alarm-arm-refused`]},{name:`addons`,label:`Addons`,example:`stream-broker`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`addon-crash-loop`]},{name:`minutes`,label:`Minutes`,example:`12`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`detection-blind`]},{name:`package`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...MY,`addon-updated`,`node-updating`,`server-updated`]},{name:`packageName`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...NY,`node-updating`,`server-updated`]},{name:`nodes`,label:`Nodes`,description:"Comma-joined node ids, when an update spans more than one — the single-node case names it through {{nodeId}} instead. `incomingFromUpdateAvailable` (event-intake.ts) fills `nodes` from ONE shared textParams object for both addon- and server-update-available, exactly like packageName/currentVersion/latestVersion/count — only the shipped TEXT (system.server-update-available.body.onNodes) reads it today, but the var is real on both kinds.",example:`hub, little-unraid`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...NY]},{name:`currentVersion`,label:`Current version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...MY]},{name:`latestVersion`,label:`Latest version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...MY]},{name:`list`,label:`Updated packages`,description:"One line per package. `incomingFromUpdateAvailable` fills it for addon-/server-update-available too (the SAME shared textParams object as `nodes`) — `system.addon-update-available.body` reads it; `incomingFromAddonUpdates` fills it again, independently, for the completed `addon-updated` event.",example:`recorder, notifiers`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[...NY,`addon-updated`]},{name:`fromVersion`,label:`From version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`node-updating`,`server-updated`]},{name:`toVersion`,label:`To version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`node-updating`,`server-updated`]},{name:`destinationsOk`,label:`Destinations ok`,example:`2`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsTotal`,label:`Destinations`,example:`2`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsFailed`,label:`Destinations failed`,example:`0`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`sizeMB`,label:`Size (MB)`,example:`412`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`backupId`,label:`Backup id`,example:`bk-20260924`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`title`,label:`Export title`,example:`Ingresso 08:00`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`exportId`,label:`Export id`,example:`exp-20260924`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`bytes`,label:`Export size (bytes)`,example:`10485760`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`mode`,label:`Alarm mode`,example:`away`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`,`alarm-pending`,`alarm-rearmed`,`alarm-check-failed`]},{name:`seconds`,label:`Seconds`,description:`Arming: the exit delay left. Pending: the entry delay left to disarm.`,example:`30`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-arming`,`alarm-pending`]},{name:`rules`,label:`Covering rules`,description:`How many enabled rules the armed / arming mode gates.`,example:`2`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`names`,label:`Device names`,description:`Armed / arming: the Active devices (or every skipped name when none are Active). Refusal: the open sensors.`,example:`Ingresso, Garage`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`]},{name:`skippedNames`,label:`Skipped devices`,description:`Devices the mode names but cannot arm (muted, detection off, offline).`,example:`Garage`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`active`,label:`Active count`,description:`How many named devices the armed / arming mode is watching (title: n attivi / n active).`,example:`3`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`skipped`,label:`Skipped count`,description:`How many named devices the mode cannot arm — muted, detection off, offline (title: m saltati).`,example:`1`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`bypassedNames`,label:`Bypassed sensors`,description:`Sensors the operator armed around because they were open.`,example:`Finestra veranda`,group:`system`,families:[`rule`],fields:[...Q],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`coverage`,label:`Coverage %`,example:`96`,group:`digest`,families:[`timelapse`],fields:[...Q]},{name:`events`,label:`Events`,example:`4`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Q]},{name:`detections`,label:`Detections`,example:`7`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Q]},{name:`count_person`,label:`Count of one class`,description:`count_<class>, e.g. count_person, count_car.`,example:`3`,group:`digest`,families:[`timelapse`,`summary`],fields:[...Q],dynamic:{prefix:`count_`,from:`classes`}},{name:`cameras`,label:`Cameras`,example:`3`,group:`digest`,families:[`summary`],fields:[...Q]},{name:`matched`,label:`Matched events`,example:`12`,group:`digest`,families:[`summary`],fields:[...Q]},{name:`shown`,label:`Events shown`,example:`9`,group:`digest`,families:[`summary`],fields:[...Q]},{name:`total`,label:`Events total`,example:`12`,group:`digest`,families:[`summary`],fields:[...Q]},...zY],VY=[`device-tank-low`,`device-tank-full`,`device-tank-normal`,`node-restarting`,`node-updating`];function HY(){return BY.filter(e=>!UY(e)).map(e=>e.systemEventKinds===void 0?e:{...e,systemEventKinds:e.systemEventKinds.filter(e=>!VY.includes(e))})}function UY(e){return e.systemEventDeliveries!==void 0&&!e.systemEventDeliveries.includes(`instant`)}function WY(e,t){if(!Mq(t.kind))return!0;let n=t.systemEventDelivery??`instant`;return(e.systemEventDeliveries??(e.systemEventKinds===void 0?[n]:[`instant`])).includes(n)}var GY={previewText:[`camera`,`rule`,`from`,`to`],captionText:[`rule`,`from`,`to`]};function KY(e,t){return e===void 0||t===void 0||e.includes(t)}function qY(e,t){return e===void 0||t===void 0||e.some(e=>e===t)?!0:Mq(t)&&e.includes(`system`)}function JY(e,t){if(!Mq(t.kind)||e.systemEventKinds===void 0)return!0;let n=e.systemEventKinds,r=t.systemEventKinds??[];if(r.length>0)return r.some(e=>n.includes(e));let i=t.kind===void 0?void 0:Nq(t.kind);if(i===void 0)return!0;let a=Eq(i);return n.some(e=>a.includes(e))}function YY(e){if(e.field===`previewText`||e.field===`captionText`){let t=GY[e.field];return BY.filter(n=>n.families.includes(e.family)&&t.includes(n.name)&&n.dynamic===void 0)}return BY.filter(t=>t.families.includes(e.family)&&KY(t.fields,e.field)&&qY(t.kinds,e.kind)&&KY(t.deliveries,e.delivery)&&JY(t,e)&&WY(t,e))}function XY(e,t){return YY(t).some(t=>t.dynamic===void 0?t.name===e:e.startsWith(t.dynamic.prefix)&&e.length>t.dynamic.prefix.length)}var ZY=[`device-events`,`system`];function QY(e){if(!Kq(e.delivery))return null;let t=e.systemEventDelivery;return t?.mode===`summary`?t.schedule:null}function $Y(e){let t=e.systemEventDelivery;return t?.mode===`summary`?t.split??`rule`:`rule`}function eX(e){return QY(e)!==null}function tX(e){return e===void 0?!1:(e.onActivation?.length??0)>0||(e.onDeactivation?.length??0)>0||(e.onTrigger?.length??0)>0||(e.onTriggerOff?.length??0)>0||(e.buttons?.length??0)>0}function nX(e){if(e.systemEventDelivery?.mode!==`summary`)return[];if(!Kq(e.delivery))return[{code:`not-a-system-rule`,delivery:e.delivery}];let t=[],n=Oq(e.conditions.systemEvent?.kinds??[]),r=n.kind===`family`?n.family:`mixed`;(r===`mixed`||!ZY.includes(r))&&t.push({code:`family-not-summarisable`,family:r});let i=e.systemEventDelivery.schedule.windows;return i.length===0&&t.push({code:`empty-schedule`}),i.forEach((e,n)=>{(e.days.length===0||e.startMinute===e.endMinute)&&t.push({code:`degenerate-window`,index:n})}),e.schedule!==void 0&&t.push({code:`schedule-beside-summary`}),tX(e.actions)&&t.push({code:`actions-beside-summary`}),t}function rX(e){switch(e.code){case`not-a-system-rule`:return`a '${e.delivery}' rule has no summary delivery — only device-events and system rules do`;case`family-not-summarisable`:return e.family===`alarm`?`an alarm rule cannot be a scheduled summary — the alarm stays instant`:`a ${e.family} rule cannot be a scheduled summary — only device-events and system rules`;case`degenerate-window`:return`send time ${String(e.index+1)} has no day, or starts and ends on the same minute — it never closes, so nothing would be sent`;case`empty-schedule`:return`a summary rule needs at least one send time — its schedule has no window`;case`schedule-beside-summary`:return`a summary rule is sent on its summary schedule — remove the active-hours schedule`;case`actions-beside-summary`:return`a summary rule never matches an event, so its actions would never run — remove them`}}var iX=1440;function aX(e,t){return{windows:e.map(e=>{let t=(e.minute+iX-1)%iX;return{days:(e.minute===0?e.days.map(e=>(e+6)%7):[...e.days]).toSorted((e,t)=>e-t),startMinute:t,endMinute:e.minute}}),...t===void 0?{}:{timezone:t}}}function oX(e){if(e.invert===!0)return null;let t=[];for(let n of e.windows){if((n.endMinute-n.startMinute+iX)%iX!==1)return null;let e=n.endMinute===0?n.days.map(e=>(e+1)%7):n.days;t.push({days:e.toSorted((e,t)=>e-t),minute:n.endMinute})}return t}function sX(e){let t=oX(e);if(t!==null)return{times:t,approximated:!1};if(e.invert===!0)return null;let n=[];for(let t of e.windows){let e=t.endMinute===0?t.days.map(e=>(e+1)%7):t.days;n.push({days:e.toSorted((e,t)=>e-t),minute:t.endMinute})}return{times:n,approximated:n.length>0}}var cX=/\{\{\s*summary(?:Text|Devices|Streams|Battery|Consumables|Tanks|Detection|Nodes|Addons|AddonUpdates|Updates)\s*\}\}/;function lX(e){return e===void 0||e.trim().length===0?!0:cX.test(e)}function uX(e){return e.map(e=>({id:e.id,name:e.name,type:e.isHub?`hub`:`agent`,location:e.isOnline?`online`:`offline`,...e.name===e.id?{}:{detail:e.id}}))}var dX=`@camstack/server`,fX=[dX,`@camstack/system`,`camstack-wrapper`],pX={"@camstack/server":`server`,"@camstack/system":`framework`,"camstack-wrapper":`wrapper`};function mX(e){return fX.some(t=>t===e)}function hX(e){let t=new Map(e.map(e=>[e.name,e.version])),n=fX.map(e=>{let n=t.get(e);return{id:e,name:e,type:pX[e],location:null,...n===void 0?{}:{detail:n}}}),r=e.filter(e=>!mX(e.name)).map(e=>({id:e.name,name:e.name,type:`addon`,location:null,detail:e.version})).sort((e,t)=>e.name.localeCompare(t.name));return[...n,...r]}var gX=`disarmed.armed_home.armed_away.armed_night.armed_vacation.armed_custom_bypass.arming.disarming.pending.triggered.open.opening.closing.closed.stopped.locked.unlocked.locking.unlocking.jammed.on.off.home.not_home.matched.diverged.unknown.latched.live`.split(`.`),_X={disarmed:{en:`Disarmed`,it:`Disinserito`},armed_home:{en:`Armed (home)`,it:`Inserito (in casa)`},armed_away:{en:`Armed (away)`,it:`Inserito (fuori casa)`},armed_night:{en:`Armed (night)`,it:`Inserito (notte)`},armed_vacation:{en:`Armed (vacation)`,it:`Inserito (vacanza)`},armed_custom_bypass:{en:`Armed (custom)`,it:`Inserito (personalizzato)`},arming:{en:`Arming`,it:`In inserimento`},disarming:{en:`Disarming`,it:`In disinserimento`},pending:{en:`Pending (entry delay)`,it:`In attesa (ritardo ingresso)`},triggered:{en:`Triggered`,it:`In allarme`},open:{en:`Open`,it:`Aperto`},opening:{en:`Opening`,it:`In apertura`},closing:{en:`Closing`,it:`In chiusura`},closed:{en:`Closed`,it:`Chiuso`},stopped:{en:`Stopped`,it:`Fermo`},locked:{en:`Locked`,it:`Bloccata`},unlocked:{en:`Unlocked`,it:`Sbloccata`},locking:{en:`Locking`,it:`In blocco`},unlocking:{en:`Unlocking`,it:`In sblocco`},jammed:{en:`Jammed`,it:`Inceppata`},on:{en:`On`,it:`Acceso`},off:{en:`Off`,it:`Spento`},home:{en:`Home`,it:`In casa`},not_home:{en:`Away`,it:`Fuori casa`},matched:{en:`Matched (as captured)`,it:`Corrisponde (come acquisita)`},diverged:{en:`Diverged (changed)`,it:`Diversa (cambiata)`},unknown:{en:`Cannot judge`,it:`Non valutabile`},latched:{en:`Latched`,it:`Memorizzato`},live:{en:`Live`,it:`In tempo reale`}},vX=new Set(gX);function yX(e){return vX.has(e)}function bX(e,t){return yX(e)?_X[e][t]:e}var xX=`motion.audio.person.vehicle.animal.package.sensor.control.car.truck.bus.motorcycle.bicycle.airplane.boat.train.bird.cat.dog.horse.sheep.cow.elephant.bear.zebra.giraffe.package-delivered.package-picked-up.contact.motion-sensor.smoke.flood.gas.carbon-monoxide.vibration.tamper.presence.enum-sensor.device-event.lock.cover.switch.siren.button.doorbell.audio-speech.audio-scream.audio-crying.audio-laughter.audio-music.audio-dog.audio-cat.audio-bird.audio-animal.audio-alarm.audio-doorbell.audio-glass_breaking.audio-gunshot.audio-vehicle.audio-siren.audio-fire.audio-water.audio-wind.audio-door.audio-footsteps.audio-crowd.audio-telephone.audio-engine.audio-tools.audio-silence`.split(`.`),SX={motion:{en:`Motion`,it:`Movimento`},audio:{en:`Audio`,it:`Audio`},person:{en:`Person`,it:`Persona`},vehicle:{en:`Vehicle`,it:`Veicolo`},animal:{en:`Animal`,it:`Animale`},package:{en:`Package`,it:`Pacco`},sensor:{en:`Sensor`,it:`Sensore`},control:{en:`Control`,it:`Controllo`},car:{en:`Car`,it:`Auto`},truck:{en:`Truck`,it:`Camion`},bus:{en:`Bus`,it:`Autobus`},motorcycle:{en:`Motorcycle`,it:`Motocicletta`},bicycle:{en:`Bicycle`,it:`Bicicletta`},airplane:{en:`Airplane`,it:`Aereo`},boat:{en:`Boat`,it:`Barca`},train:{en:`Train`,it:`Treno`},bird:{en:`Bird`,it:`Uccello`},cat:{en:`Cat`,it:`Gatto`},dog:{en:`Dog`,it:`Cane`},horse:{en:`Horse`,it:`Cavallo`},sheep:{en:`Sheep`,it:`Pecora`},cow:{en:`Cow`,it:`Mucca`},elephant:{en:`Elephant`,it:`Elefante`},bear:{en:`Bear`,it:`Orso`},zebra:{en:`Zebra`,it:`Zebra`},giraffe:{en:`Giraffe`,it:`Giraffa`},"package-delivered":{en:`Package delivered`,it:`Pacco consegnato`},"package-picked-up":{en:`Package picked up`,it:`Pacco ritirato`},contact:{en:`Contact`,it:`Contatto`},"motion-sensor":{en:`Motion sensor`,it:`Sensore movimento`},smoke:{en:`Smoke`,it:`Fumo`},flood:{en:`Water leak`,it:`Allagamento`},gas:{en:`Gas`,it:`Gas`},"carbon-monoxide":{en:`Carbon monoxide`,it:`Monossido di carbonio`},vibration:{en:`Vibration`,it:`Vibrazione`},tamper:{en:`Tamper`,it:`Manomissione`},presence:{en:`Presence`,it:`Presenza`},"enum-sensor":{en:`Sensor state`,it:`Stato sensore`},"device-event":{en:`Device event`,it:`Evento dispositivo`},lock:{en:`Lock`,it:`Serratura`},cover:{en:`Cover`,it:`Tapparella`},switch:{en:`Switch`,it:`Interruttore`},siren:{en:`Siren`,it:`Sirena`},button:{en:`Button`,it:`Pulsante`},doorbell:{en:`Doorbell`,it:`Campanello`},"audio-speech":{en:`Speech`,it:`Voce`},"audio-scream":{en:`Scream / Shout`,it:`Urlo`},"audio-crying":{en:`Crying / Baby`,it:`Pianto / Neonato`},"audio-laughter":{en:`Laughter`,it:`Risata`},"audio-music":{en:`Music`,it:`Musica`},"audio-dog":{en:`Dog`,it:`Cane`},"audio-cat":{en:`Cat`,it:`Gatto`},"audio-bird":{en:`Bird`,it:`Uccello`},"audio-animal":{en:`Animal (other)`,it:`Animale (altro)`},"audio-alarm":{en:`Alarm / Siren`,it:`Allarme`},"audio-doorbell":{en:`Doorbell / Knock`,it:`Campanello`},"audio-glass_breaking":{en:`Glass Breaking`,it:`Vetro rotto`},"audio-gunshot":{en:`Gunshot / Explosion`,it:`Sparo / Esplosione`},"audio-vehicle":{en:`Vehicle`,it:`Veicolo`},"audio-siren":{en:`Emergency Siren`,it:`Sirena`},"audio-fire":{en:`Fire / Smoke`,it:`Fuoco / Fumo`},"audio-water":{en:`Water`,it:`Acqua`},"audio-wind":{en:`Wind / Weather`,it:`Vento / Maltempo`},"audio-door":{en:`Door`,it:`Porta`},"audio-footsteps":{en:`Footsteps`,it:`Passi`},"audio-crowd":{en:`Crowd / Chatter`,it:`Folla / Chiacchiericcio`},"audio-telephone":{en:`Telephone`,it:`Telefono`},"audio-engine":{en:`Engine / Motor`,it:`Motore`},"audio-tools":{en:`Tools / Construction`,it:`Utensili / Lavori`},"audio-silence":{en:`Silence`,it:`Silenzio`}},CX=new Set(xX);function wX(e){return CX.has(e)}function TX(e,t){let n=e.trim().toLowerCase();return wX(n)?SX[n][t]:e}var EX=u({title:c().max(500).optional(),body:c().max(2e3).optional()}),DX=c().min(1).max(200),OX=x(i()).min(1),kX=i().int().min(2).max(3600),AX=i().int().min(1).max(60),jX=x(fC).min(1),MX=i().int().min(1).max(5),NX=.1,PX=i().min(NX).max(3600),FX=i().min(0).max(60),IX=c().max(200),LX=b([`image`,`gif`]),RX=x(c().min(1).max(40)).max(20),zX=u({name:DX,enabled:S().default(!0),deviceIds:OX,schedule:US,cadenceSec:kX.default(15),framerate:AX.default(10),denseCadenceSec:PX.optional(),minDwellSec:FX.optional(),targets:jX,template:EX.optional(),previewText:IX.optional(),previewMode:LX.default(`image`),reportClasses:RX.optional(),priority:MX.default(3)}),BX=`Timelapse {{camera}}`,VX=u({name:DX.optional(),enabled:S().optional(),deviceIds:OX.optional(),schedule:US.optional(),cadenceSec:kX.optional(),framerate:AX.optional(),denseCadenceSec:PX.optional(),minDwellSec:FX.optional(),targets:jX.optional(),template:EX.nullable().optional(),previewText:IX.optional(),previewMode:LX.optional(),reportClasses:RX.optional(),priority:MX.optional()}),HX=zX.extend({id:c(),ownerUserId:c().optional(),lastGeneratedAt:i().optional(),generatedByDevice:v(c(),i()).optional(),createdBy:c(),createdAt:i(),updatedAt:i()});function UX(e){let t=e.denseCadenceSec;if(t!==void 0&&t>=e.cadenceSec)throw Error(`denseCadenceSec (${t}s) must be strictly smaller than cadenceSec (${e.cadenceSec}s) — a dense cadence that is not denser renders a uniform timelapse`)}function WX(e,t){let n=e.generatedByDevice;return n===void 0?e.lastGeneratedAt??0:n[String(t)]??0}function GX(e){return e.some(e=>e!==`analyzer`)}async function KX(e,t){try{return await e.getCapSlice.query({deviceId:t,capName:`motion`})}catch(e){let n=e instanceof Error?e.message:String(e);throw Error(`motion state of device ${t} is unreadable: ${n}`,{cause:e})}}async function qX(e,t){let n=await KX(e,t);if(n===null)return null;let r=mI.safeParse(n);if(!r.success)throw Error(`motion state of device ${t} is malformed on the hub: ${r.error.message}`);return r.data}async function JX(e,t){let n=(await KX(e,t))?.detected;if(typeof n!=`boolean`)throw Error(`motion state of device ${t} is not published yet (unknown)`);return n}function YX(e,t,n){let r=e=>{if(e!==t)throw Error(`${n}: motion deviceId mismatch, expected ${t}, got ${e}`)};return{isDetected:async({deviceId:n})=>(r(n),JX(e,t)),getStatus:async({deviceId:n})=>(r(n),qX(e,t))}}var XX=hI.omit({triggeredBy:!0});function ZX(e,t){return Re(he.ProviderMotion,e,t)}function QX(e,t){return!!e.formats[t]}function $X(e,t,n){if(t!=null){let r=e.find(e=>e.id===t);if(r!==void 0&&QX(r,n))return!0}return e.some(e=>e.legacy!==!0&&QX(e,n))}var eZ={"object-detection":[`efficientdet-lite0-edgetpu`,`ssdlite-mobiledet-coco-edgetpu`],"face-detection":[`scrypted-yolov9t-face`,`scrfd-2.5g`,`ssd-mobilenet-v2-face-edgetpu`],"face-embedding":[`arcface-r100`,`inception-resnet-v1`],"plate-detection":[`yolov8n-plate`],"plate-ocr":[`vgg-english-g2`],"clip-embedding":[`mobileclip-s1`,`mobileclip-s2`],"package-detection":[`yolov8n-package`],"bird-classifier":[`bird-classifier-aiy-edgetpu`,`bird-nabirds-404`],"animal-classifier":[`animals-10`],"vehicle-classifier":[`vehicle-type-efficientnet`]};function tZ(e,t){return eZ[e]?.includes(t)??!1}var nZ=`detail-crop`,rZ=`detailCropPaddingRatio`,iZ=`detailCropSquare`,aZ=u({paddingRatio:i().min(0).max(4),square:S()}),oZ={paddingRatio:.15,square:!1};function sZ(e){let t=aZ.shape.paddingRatio.safeParse(e[rZ]),n=aZ.shape.square.safeParse(e[iZ]);return{paddingRatio:t.success?t.data:oZ.paddingRatio,square:n.success?n.data:oZ.square}}function cZ(e){return typeof e==`object`&&!!e&&`key`in e}function lZ(e){if(e===null)return oZ;let t={};for(let n of e.sections)for(let e of n.fields)!cZ(e)||typeof e.key!=`string`||(e.key===`detailCropPaddingRatio`||e.key===`detailCropSquare`)&&(t[e.key]=e.value);return sZ(t)}var uZ=Object.freeze({x:0,y:0,w:1,h:1}),dZ={min:0,max:1,step:.05,default:oZ.paddingRatio};function fZ(e,t,n,r){let i=r.paddingRatio*e.w,a=r.paddingRatio*e.h,o={x:e.x-i,y:e.y-a,w:e.w+2*i,h:e.h+2*a};return r.square?hZ(pZ(o,t,n),t,n):mZ(o,t,n)}function pZ(e,t,n){let r=Math.min(Math.max(e.w,e.h),Math.min(t,n)),i=e.x+e.w/2,a=e.y+e.h/2;return{x:i-r/2,y:a-r/2,w:r,h:r}}function mZ(e,t,n){let r=Math.max(0,e.x),i=Math.max(0,e.y),a=Math.min(t,e.x+e.w),o=Math.min(n,e.y+e.h);return{x:r,y:i,w:Math.max(0,a-r),h:Math.max(0,o-i)}}function hZ(e,t,n){let r=Math.max(0,Math.min(e.w,t)),i=Math.max(0,Math.min(e.h,n));return{x:Math.min(Math.max(0,e.x),Math.max(0,t-r)),y:Math.min(Math.max(0,e.y),Math.max(0,n-i)),w:r,h:i}}var gZ=`native-lease`,_Z=`nativeLeaseHoldFrames`,vZ=`nativeLeaseBudgetMb`,yZ=`nativeLeaseActivityMs`,bZ=`nativeLeaseAdmission`,xZ=`nativeTileBudgetMb`,SZ=`nativeSceneBudgetMb`,CZ=b([`all`,`inferred`]),wZ=u({holdFrames:i().int().min(1).max(64),budgetMb:i().int().min(0).max(4096),activityMs:i().int().min(0).max(12e4),admission:CZ,tileBudgetMb:i().int().min(0).max(1024),sceneBudgetMb:i().int().min(0).max(1024)}),TZ={holdFrames:8,budgetMb:1024,activityMs:15e3,tileBudgetMb:64,sceneBudgetMb:48,admission:`inferred`},EZ={min:1,max:64,step:1,default:TZ.holdFrames},DZ={min:0,max:4096,step:64,default:TZ.budgetMb},OZ={min:0,max:12e4,step:1e3,default:TZ.activityMs},kZ={min:0,max:1024,step:16,default:TZ.tileBudgetMb},AZ={min:0,max:1024,step:16,default:TZ.sceneBudgetMb},jZ={options:[{value:`all`,label:`Every delivered frame`},{value:`inferred`,label:`Only frames sent to inference`}],default:TZ.admission};function MZ(e,t){let n=wZ.shape[e].safeParse(t);return n.success?n.data===TZ[e]?null:n.data:null}function NZ(e){let t=CZ.safeParse(e);return t.success?t.data===TZ.admission?null:t.data:null}function PZ(e){let t=MZ(`holdFrames`,e[_Z]),n=MZ(`budgetMb`,e[vZ]),r=MZ(`activityMs`,e[yZ]),i=NZ(e[bZ]),a=MZ(`tileBudgetMb`,e[xZ]),o=MZ(`sceneBudgetMb`,e[SZ]);return{...t===null?{}:{holdFrames:t},...n===null?{}:{budgetMb:n},...r===null?{}:{activityMs:r},...i===null?{}:{admission:i},...a===null?{}:{tileBudgetMb:a},...o===null?{}:{sceneBudgetMb:o}}}function FZ(e){return typeof e==`object`&&!!e&&`key`in e}var IZ=[_Z,vZ,yZ,bZ,xZ,SZ];function LZ(e){if(e===null)return{};let t={};for(let n of e.sections)for(let e of n.fields)!FZ(e)||typeof e.key!=`string`||IZ.includes(e.key)&&(t[e.key]=e.value);return PZ(t)}var RZ=[{id:`viewer`,label:`View`,description:`Watch live and recorded video, browse events and read device state. Cannot change anything.`,deviceAccess:[`view`],systemAccess:[`view`]},{id:`operator`,label:`Operate`,description:`Everything View does, plus acting on a device: PTZ, lights, sirens, locks, and snoozing notifications. Cannot delete.`,deviceAccess:[`view`,`create`],systemAccess:[`view`,`create`]},{id:`manager`,label:`Full management`,description:`Everything Operate does, plus deleting devices, recordings and events. Short of admin — no user or cluster administration.`,deviceAccess:[`view`,`create`,`delete`],systemAccess:[`view`,`create`,`delete`]}];function zZ(e){let t=RZ.find(t=>t.id===e);if(!t)throw Error(`Unknown access role '${e}'`);return t}function BZ(e){let t=zZ(e.roleId);return[{type:`device`,selector:e.selector,access:[...t.deviceAccess],includeLinked:e.includeLinked},{type:`category`,target:`system`,access:[...t.systemAccess]}]}function VZ(e,t){if(e.length!==t.length)return!1;let n=new Set(e);return t.every(e=>n.has(e))}function HZ(e){if(e.length!==2)return null;let t=e.filter(e=>e.type===`device`),n=e.filter(e=>e.type===`category`&&e.target===`system`);if(t.length!==1||n.length!==1)return null;let[r]=t,[i]=n;if(r===void 0||i===void 0||r.type!==`device`||r.includeLinked===void 0)return null;let a=RZ.find(e=>VZ(e.deviceAccess,r.access)&&VZ(e.systemAccess,i.access));return a?{roleId:a.id,selector:r.selector,includeLinked:r.includeLinked}:null}var UZ=8;function WZ(e,t){switch(e.kind){case`all`:return!0;case`ids`:return e.ids.includes(t.id);case`types`:return e.types.some(e=>String(e)===t.type);case`locations`:return t.location!==null&&e.locations.includes(t.location)}}function GZ(e,t){return e.some(e=>e.type===`category`&&e.target===`device`&&e.access.includes(t))}function KZ(e,t){return e.filter(e=>e.type===`device`&&e.access.includes(t))}function qZ(e,t){return e.includeLinked??t===`view`}function JZ(e,t){let n=[],r=e;for(let e=0;e<UZ;e++){let e=r===null?null:t.get(r)?.parentDeviceId??null;if(e===null||e===r)break;n.push(e),r=e}return n}function YZ(e,t,n){if(GZ(e,n))return new Set(t.map(e=>e.id));let r=new Map;for(let e of t)r.set(e.id,e);let i=KZ(e,n),a=new Set;for(let e of t)for(let t of i){if(WZ(t.selector,e)){a.add(e.id);break}if(qZ(t,n)&&JZ(e.id,r).some(e=>{let n=r.get(e);return n!==void 0&&WZ(t.selector,n)})){a.add(e.id);break}}return a}function XZ(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){let e=X.safeParse(n);e.success&&t.push(e.data)}return t}var ZZ=[`view`,`create`,`delete`];function QZ(e,t,n,r){return r?{all:!0,deviceCount:t.length}:{all:GZ(e,n)||KZ(e,n).some(e=>e.selector.kind===`all`),deviceCount:YZ(e,t,n).size}}function $Z(e){let t=[];for(let n of e)n.type===`capability`&&t.push({name:n.target,access:n.access});return t}function eQ(e){let t=[];for(let n of e)n.type===`addon`&&t.push({name:n.target,access:n.access});return t}function tQ(e,t,n){let r={view:QZ(e,t,`view`,n),create:QZ(e,t,`create`,n),delete:QZ(e,t,`delete`,n)},i=n?ZZ:ZZ.filter(t=>e.some(e=>e.type===`category`&&e.target===`system`&&e.access.includes(t)));return{isAdmin:n,allDevicesViewable:r.view.all,viewableDeviceCount:r.view.deviceCount,device:r,system:i,capabilities:$Z(e),addons:eQ(e)}}var nQ={camera:{type:`camera`,label:`Camera`,icon:`camera`}};function rQ(e,t){let n=e.length,r=t.length;if(n===0)return r;if(r===0)return n;let i=Array.from({length:r+1},(e,t)=>t),a=Array.from({length:r+1},()=>0);for(let o=1;o<=n;o++){a[0]=o;let n=i[0]??0;for(let s=1;s<=r;s++){let r=i[s]??0,c=a[s-1]??0,l=e.charCodeAt(o-1)===t.charCodeAt(s-1)?0:1;a[s]=Math.min(r+1,c+1,n+l),n=r}for(let e=0;e<=r;e++)i[e]=a[e]??0}return i[r]??0}function iQ(e,t){let n=e.trim().toLowerCase(),r=t.trim().toLowerCase();return n===r?1:n.length===0||r.length===0?0:1-rQ(n,r)/Math.max(n.length,r.length)}function aQ(e,t,n=.8){let r=null,i=0;for(let a of t){let t=iQ(e,a);t>=n&&t>i&&(r=a,i=t)}return r}var oQ=`addon:`;function sQ(e){return e.startsWith(oQ)?e.slice(6):e}function cQ(e,t){return sQ(e)===sQ(t)}function lQ(e){return{runId:e.runId,state:e.state,startedAtMs:e.startedAtMs,finishedAtMs:e.finishedAtMs,progress:e.progress,result:e.result,error:e.error}}var uQ=class{opts;runs=new Map;now;constructor(e){this.opts=e,this.now=e.now??Date.now}get runningCount(){let e=0;for(let t of this.runs.values())t.state===`running`&&(e+=1);return e}start(e,t){let n=this.runs.get(e);if(n!==void 0&&n.state===`running`)throw Error(`run '${e}' is already running`);if(this.runningCount>=this.opts.maxConcurrent)throw Error(`busy: ${this.runningCount}/${this.opts.maxConcurrent} run(s) already in progress — wait for one to finish or abort it`);let r={runId:e,state:`running`,startedAtMs:this.now(),finishedAtMs:null,progress:null,result:null,error:null,controller:new AbortController};this.runs.delete(e),this.runs.set(e,r);let i={signal:r.controller.signal,report:e=>{r.progress=e}},a=e=>{e.error===void 0?(r.state=r.controller.signal.aborted?`aborted`:`done`,r.result=e.result??null):(r.state=`failed`,r.error=e.error),r.finishedAtMs=this.now(),this.prune(),this.opts.onSettled?.(lQ(r))},o;try{o=t(i)}catch(e){o=Promise.reject(e)}return o.then(e=>a({result:e}),e=>a({error:e instanceof Error?e.message:String(e)})),lQ(r)}status(e){let t=this.runs.get(e);return t===void 0?null:lQ(t)}list(){let e=[...this.runs.values()],t=e.filter(e=>e.state===`running`).toSorted((e,t)=>t.startedAtMs-e.startedAtMs),n=e.filter(e=>e.state!==`running`).toSorted((e,t)=>(t.finishedAtMs??0)-(e.finishedAtMs??0));return[...t,...n].map(lQ)}abort(e){let t=this.runs.get(e);return t===void 0||t.state!==`running`?!1:(t.controller.abort(),!0)}abortAll(){for(let e of this.runs.values())e.state===`running`&&e.controller.abort()}prune(){let e=[...this.runs.values()].filter(e=>e.state!==`running`).toSorted((e,t)=>(e.finishedAtMs??0)-(t.finishedAtMs??0)),t=e.length-this.opts.keepFinished;for(let n=0;n<t;n++){let t=e[n];t!==void 0&&this.runs.delete(t.runId)}}};function dQ(e,t){if(e.length!==t.length)return 0;let n=0,r=0,i=0;for(let a=0;a<e.length;a++)n+=e[a]*t[a],r+=e[a]*e[a],i+=t[a]*t[a];let a=Math.sqrt(r)*Math.sqrt(i);return a===0?0:n/a}var fQ=class{elementId;cache={};listeners=new Set;loaded=!1;getBackend;constructor(e,t){this.elementId=e,this.getBackend=typeof t==`function`?t:()=>t}async ensureLoaded(){if(this.loaded)return;let e=this.getBackend();if(!e)throw Error(`ElementConfigStore(${this.elementId}): settings backend not available`);let t=await e.query({collection:`config`,filter:{where:{id:this.elementId},limit:1}});t.length>0&&(this.cache=t[0].data??{}),this.loaded=!0}getAll(){return{...this.cache}}get(e){let t=e.split(`.`),n=this.cache;for(let e of t){if(typeof n!=`object`||!n||Array.isArray(n))return;n=Reflect.get(n,e)}return n}async set(e,t){await this.ensureLoaded(),pQ(this.cache,e,t),await this.persist(),this.notifyListeners()}async setAll(e){await this.ensureLoaded(),this.cache={...e},await this.persist(),this.notifyListeners()}onChange(e){return this.listeners.add(e),()=>{this.listeners.delete(e)}}async load(){await this.ensureLoaded()}async loadDefaults(e){await this.ensureLoaded(),Object.keys(this.cache).length===0&&(this.cache={...e},await this.persist())}async persist(){let e=this.getBackend();if(!e)throw Error(`ElementConfigStore(${this.elementId}): settings backend not available — cannot persist config`);await e.set({collection:`config`,key:this.elementId,value:this.cache})}notifyListeners(){let e=this.getAll();for(let t of this.listeners)try{t(e)}catch{}}};function pQ(e,t,n){let r=t.split(`.`),i=e;for(let e=0;e<r.length-1;e++){let t=r[e],n=i[t];if(typeof n!=`object`||!n||Array.isArray(n)){let e={};i[t]=e,i=e}else i=n}i[r[r.length-1]]=n}function mQ(e,t){return`https://huggingface.co/${e}/resolve/main/${t}`}var hQ=[/^user$/i,/^usr$/i,/^username$/i,/^password$/i,/^pwd$/i,/^pass$/i,/^passwd$/i,/^secret$/i,/^token$/i,/^auth$/i,/^auth[_-]?token$/i,/^bearer$/i,/^api[_-]?key$/i,/^access[_-]?token$/i,/^refresh[_-]?token$/i];function gQ(e){return hQ.some(t=>t.test(e))}function _Q(e){try{let t=new URL(e),n=!1;(t.username||t.password)&&(t.username=``,t.password=``,n=!0);for(let e of Array.from(t.searchParams.keys()))gQ(e)&&(t.searchParams.set(e,`***`),n=!0);return n?t.toString():e}catch{return e}}var $=1024*1024,vQ={sampleIntervalMs:6e4,baselineSettleSamples:5,baselineSampleCount:3,restartMultiple:4,floorBytes:1024*$,ceilingBytes:3072*$,cooldownMs:30*6e4,maxRestartsPerWindow:6,restartWindowMs:1440*6e4};function yQ(e){let t=(t,n,r)=>{let i=e[t];if(i===void 0)return n;let a=Number(i);return Number.isFinite(a)&&a>=r?a:n},n=vQ;return{sampleIntervalMs:t(`CAMSTACK_POOL_MEM_INTERVAL_MS`,n.sampleIntervalMs,5e3),baselineSettleSamples:n.baselineSettleSamples,baselineSampleCount:n.baselineSampleCount,restartMultiple:t(`CAMSTACK_POOL_MEM_MULTIPLE`,n.restartMultiple,1.5),floorBytes:t(`CAMSTACK_POOL_MEM_FLOOR_MB`,n.floorBytes/$,128)*$,ceilingBytes:t(`CAMSTACK_POOL_MEM_CEILING_MB`,n.ceilingBytes/$,256)*$,cooldownMs:t(`CAMSTACK_POOL_MEM_COOLDOWN_MS`,n.cooldownMs,6e4),maxRestartsPerWindow:t(`CAMSTACK_POOL_MEM_MAX_RESTARTS`,n.maxRestartsPerWindow,1),restartWindowMs:t(`CAMSTACK_POOL_MEM_RESTART_WINDOW_MS`,n.restartWindowMs,6e4)}}function bQ(e){let t=t=>{let n=e.match(RegExp(`^${t}:\\s+(\\d+)\\s*kB`,`m`));return n?Number(n[1])*1024:null},n=t(`VmRSS`);if(n===null)return null;let r=e.match(/^Threads:\s+(\d+)/m);return{rssBytes:n,vmBytes:t(`VmSize`)??0,hwmBytes:t(`VmHWM`)??0,swapBytes:t(`VmSwap`)??0,threads:r?Number(r[1]):0}}function xQ(){return{settleSeen:0,baselineWindow:[],baselineBytes:null,restartsAt:[],lastRestartAt:null}}function SQ(e){let t=[...e].sort((e,t)=>e-t);return t[Math.floor(t.length/2)]}function CQ(e,t,n){if(e.baselineBytes!==null)return e;if(e.settleSeen<n.baselineSettleSamples)return{...e,settleSeen:e.settleSeen+1};let r=[...e.baselineWindow,t];return r.length<n.baselineSampleCount?{...e,baselineWindow:r}:{...e,baselineWindow:r,baselineBytes:SQ(r)}}function wQ(e,t){return e===null?t.ceilingBytes:Math.min(t.ceilingBytes,Math.max(t.floorBytes,t.restartMultiple*e))}function TQ(e,t,n){return e.filter(e=>t-e<n.restartWindowMs)}function EQ(e,t,n,r){let i=CQ(e,t,r),a=wQ(i.baselineBytes,r);if(t<=a)return{state:i,action:i.baselineBytes===null?`baseline-pending`:`ok`,baselineBytes:i.baselineBytes,thresholdBytes:a};let o=TQ(i.restartsAt,n,r),s={...i,restartsAt:o};return o.length>=r.maxRestartsPerWindow?{state:s,action:`exhausted`,baselineBytes:i.baselineBytes,thresholdBytes:a}:s.lastRestartAt!==null&&n-s.lastRestartAt<r.cooldownMs?{state:s,action:`cooldown`,baselineBytes:i.baselineBytes,thresholdBytes:a}:{state:s,action:`restart`,baselineBytes:i.baselineBytes,thresholdBytes:a}}function DQ(e,t){return{...xQ(),restartsAt:[...e.restartsAt,t],lastRestartAt:t}}function OQ(e){return{...xQ(),restartsAt:e.restartsAt,lastRestartAt:e.lastRestartAt}}function kQ(e){if(e.length===0)return null;let t=e[0];for(let n of e)n.rssBytes/n.thresholdBytes>t.rssBytes/t.thresholdBytes&&(t=n);return t.key}var AQ=class{pools=new Map;timer=null;sweeping=!1;stopped=!1;opts;now;setTimer;clearTimer;constructor(e){this.opts=e,this.now=e.now??(()=>Date.now()),this.setTimer=e.setTimer??((e,t)=>setTimeout(e,t)),this.clearTimer=e.clearTimer??(e=>clearTimeout(e))}start(){this.timer||this.stopped||this.arm()}stop(){this.stopped=!0,this.timer&&=(this.clearTimer(this.timer),null)}arm(){let e=this.setTimer(()=>{this.sweep().finally(()=>{this.stopped||this.arm()})},this.opts.policy.sampleIntervalMs);typeof e.unref==`function`&&e.unref(),this.timer=e}async sweep(){if(!this.sweeping){this.sweeping=!0;try{await this.doSweep()}catch(e){this.opts.log.warn(`pool memory sweep failed`,{meta:{error:e instanceof Error?e.message:String(e)}})}finally{this.sweeping=!1}}}async doSweep(){let e=this.now(),t=await this.opts.sample(),n=[],r=new Map;for(let i of t){let t=this.pools.get(i.key),a=t?.state??xQ();t&&t.pids.length>0&&!jQ(t.pids,i.pids)&&(this.opts.log.warn(`pool process changed outside the watchdog — re-baselining`,{meta:{poolKey:i.key,previousPids:t.pids,pids:i.pids}}),a=OQ(a));let o=EQ(a,i.rssBytes,e,this.opts.policy);this.pools.set(i.key,{state:o.state,pids:i.pids}),r.set(i.key,o),this.opts.log.info(`pool memory`,{meta:{poolKey:i.key,pids:i.pids,rssMb:Math.round(i.rssBytes/$),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),action:o.action,...i.meta}}),o.action===`restart`?n.push({key:i.key,rssBytes:i.rssBytes,thresholdBytes:o.thresholdBytes}):o.action===`cooldown`?this.opts.log.warn(`pool over memory threshold but inside restart cooldown`,{meta:{poolKey:i.key,rssMb:Math.round(i.rssBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),cooldownMs:this.opts.policy.cooldownMs}}):o.action===`exhausted`&&this.opts.log.error(`pool memory watchdog gave up — restart budget exhausted, pool leaks faster than restarts can pay for; needs a heap profile (py-spy / tracemalloc)`,{meta:{poolKey:i.key,rssMb:Math.round(i.rssBytes/$),thresholdMb:Math.round(o.thresholdBytes/$),maxRestartsPerWindow:this.opts.policy.maxRestartsPerWindow,restartWindowMs:this.opts.policy.restartWindowMs}})}for(let e of[...this.pools.keys()])t.some(t=>t.key===e)||this.pools.delete(e);let i=kQ(n);if(i===null)return;let a=n.find(e=>e.key===i),o=r.get(i),s=this.pools.get(i),c=s.state.restartsAt.length+1;this.opts.log.warn(`pool memory watchdog restarting pool — RSS over threshold`,{meta:{poolKey:i,pids:s.pids,rssMb:Math.round(a.rssBytes/$),thresholdMb:Math.round(a.thresholdBytes/$),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/$),restartsInWindow:c,deferredCandidates:n.filter(e=>e.key!==i).map(e=>e.key)}});try{await this.opts.restart(i),this.pools.set(i,{state:DQ(s.state,this.now()),pids:[]})}catch(e){this.opts.log.error(`pool memory watchdog restart failed`,{meta:{poolKey:i,error:e instanceof Error?e.message:String(e)}})}}};function jQ(e,t){if(e.length!==t.length)return!1;let n=[...e].sort((e,t)=>e-t),r=[...t].sort((e,t)=>e-t);return n.every((e,t)=>e===r[t])}function MQ(e,t,n){let r=t*n;if(r<=0||e.length===0)return Array.from({length:Math.max(0,r)}).fill(!1);let i=Array.from({length:r}).fill(!1);for(let r=0;r<n;r++)for(let a=0;a<t;a++){let o=(a+.5)/t,s=(r+.5)/n;for(let n of e)if(o>=n.x&&o<=n.x+n.w&&s>=n.y&&s<=n.y+n.h){i[r*t+a]=!0;break}}return i}function NQ(e,t,n,r){if(t<=0||n<=0||r<=0)return[];let i=t*n,a=Array.from({length:i}).fill(!1),o=Math.min(e.length,i);for(let t=0;t<o;t++)a[t]=e[t]===!0;let s=[],c=[];for(let e=0;e<=n;e++){let r=[];if(e<n){let n=-1;for(let i=0;i<=t;i++){let o=i<t&&a[e*t+i]===!0;o&&n===-1?n=i:!o&&n!==-1&&(r.push({colStart:n,colEnd:i-1}),n=-1)}}let i=new Set,o=[];for(let t of c){let n=r.findIndex(e=>e.colStart===t.colStart&&e.colEnd===t.colEnd);n>=0?(o.push(t),i.add(n)):s.push({...t,rowEnd:e-1})}for(let t=0;t<r.length;t++)if(!i.has(t)){let n=r[t];o.push({colStart:n.colStart,colEnd:n.colEnd,rowStart:e})}c.length=0;for(let e of o)c.push(e)}if(s.length===0)return[];let l=s.slice().toSorted((e,t)=>{let n=(e.colEnd-e.colStart+1)*(e.rowEnd-e.rowStart+1);return(t.colEnd-t.colStart+1)*(t.rowEnd-t.rowStart+1)-n});return(r>0?l.slice(0,r):l).map(e=>({x:e.colStart/t,y:e.rowStart/n,w:(e.colEnd-e.colStart+1)/t,h:(e.rowEnd-e.rowStart+1)/n}))}var PQ=class{capacity;items;head=0;tail=0;count=0;constructor(e){this.capacity=e,this.items=Array.from({length:e})}get size(){return this.count}push(e){this.items[this.tail]=e,this.tail=(this.tail+1)%this.capacity,this.count<this.capacity?this.count++:this.head=(this.head+1)%this.capacity}drain(e){let t=[],n=Math.min(e,this.count);for(let e=0;e<n;e++)t.push(this.items[this.head]),this.items[this.head]=void 0,this.head=(this.head+1)%this.capacity;return this.count-=n,t}};async function FQ(e,t){let n=performance.now();try{return{output:t===void 0?await e():await LQ(e(),t),durationMs:IQ(performance.now()-n),ok:!0}}catch(e){return{output:void 0,durationMs:IQ(performance.now()-n),ok:!1,error:In(e)}}}function IQ(e){return Math.round(e*100)/100}function LQ(e,t){return new Promise((n,r)=>{let i=setTimeout(()=>r(Error(`Inference timeout after ${t}ms`)),t);e.then(e=>{clearTimeout(i),n(e)}).catch(e=>{clearTimeout(i),r(e)})})}var RQ={openvino:`openvino`,edgetpu:`tflite`,coreml:`coreml`,onnx:`onnx`,cpu:`onnx`,cuda:`onnx`};function zQ(e){return RQ[e]??`onnx`}var BQ={onnx:`onnx`,coreml:`coreml`,openvino:`openvino`,tflite:`tflite`,pytorch:`pt`},VQ={coreml:`coreml_inference.py`,pytorch:`pytorch_inference.py`,openvino:`openvino_inference.py`};function HQ(e){return BQ[e]}function UQ(e){return VQ[e]}function WQ(e){return e===`coreml`||e===`pytorch`||e===`openvino`}function GQ(e){let t=e instanceof Float32Array?e:Float32Array.from(e),n=new Uint8Array(t.length*4),r=new DataView(n.buffer);for(let e=0;e<t.length;e+=1)r.setFloat32(e*4,t[e]??0,!0);return Buffer.from(n).toString(`base64`)}function KQ(e){let t=Buffer.from(e,`base64`);if(t.byteLength%4!=0)throw Error(`decodeVectorBase64: ${t.byteLength} bytes is not a whole number of Float32 values`);let n=new Float32Array(t.byteLength/4);for(let e=0;e<n.length;e+=1)n[e]=t.readFloatLE(e*4);return n}function qQ(e){return Math.floor(Buffer.from(e,`base64`).byteLength/4)}function JQ(e,t,n,r,i){if(n.length===0||t.length===0)return{passed:e,excluded:[]};let a=n.filter(e=>e.enabled!==!1),o=a.filter(e=>e.mode===`include`),s=a.filter(e=>e.mode===`exclude`),c=o.length>0,l=new Map(t.map(e=>[e.id,e])),u=[],d=[];for(let t of e){let e=r(t),n=i?.(t),a=o.some(t=>YQ(t,e,n,l)),f=s.some(t=>YQ(t,e,n,l));c?a&&!f?u.push(t):d.push(t):f?d.push(t):u.push(t)}return{passed:u,excluded:d}}function YQ(e,t,n,r){if(e.classFilter&&e.classFilter.length>0&&n!==void 0&&!e.classFilter.includes(n))return!1;for(let n of e.zoneIds){let e=r.get(n);if(e&&XQ(t,e.polygon))return!0}return!1}function XQ(e,t){if(t.length<3)return!1;let n=!1,{x:r,y:i}=e;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a];o.y>i!=s.y>i&&r<(s.x-o.x)*(i-o.y)/(s.y-o.y||2**-52)+o.x&&(n=!n)}return n}function ZQ(e,t,n){let r={};for(let i of Object.keys(n))r[i]=n=>e.addons.custom.mutate({addonId:t,action:i,input:n});return r}var QQ={value:`auto`,label:`Auto`},$Q={value:`cpu`,label:`CPU`},e$={value:`usb`,label:`Coral USB`},t$=[{id:`onnx`,supports:()=>!0,devices:e=>{if(!e)return[$Q];let t=[$Q];return e.gpu?.type===`nvidia`&&t.push({value:`cuda`,label:`CUDA`}),e.npu?.type===`apple-ane`&&t.push({value:`coreml`,label:`CoreML EP`}),t},defaultDevice:`cpu`},{id:`openvino`,supports:e=>e?.arch===`x64`&&e.platform!==`darwin`&&e.gpu?.type===`intel`,devices:e=>{if(!e)return[QQ];let t=[QQ,$Q];return e.gpu?.type===`intel`&&t.push({value:`gpu`,label:`GPU`}),e.npu?.type===`intel-npu`&&t.push({value:`npu`,label:`NPU`}),t},defaultDevice:`auto`},{id:`coreml`,supports:e=>e?.platform===`darwin`,devices:e=>{let t={value:`all`,label:`All (ANE + GPU + CPU)`};if(!e)return[t];let n=[t];return e.npu?.type===`apple-ane`&&n.push({value:`ane`,label:`Apple Neural Engine`}),n.push({value:`gpu`,label:`GPU`},$Q),n},defaultDevice:`all`},{id:`edgetpu`,supports:e=>e?.coral!=null,devices:()=>[e$],defaultDevice:`usb`}];function n$(e){let t=t$.find(t=>t.id===e);if(!t)throw Error(`Unknown runtime: ${e}`);return t}function r$(e){return t$.filter(t=>t.supports(e)).map(e=>e.id)}function i$(e,t){return n$(e).devices(t)}function a$(e){return n$(e).defaultDevice}function o$(e){return e===`edgetpu`?`tflite`:HQ(e)}function s$(e){let t=[];if(e.platform===`darwin`&&e.arch===`arm64`&&t.push({runtime:`python`,backend:`coreml`,format:`coreml`,score:95,reason:`Apple Neural Engine (Python CoreML)`,available:!0}),e.gpu?.type===`nvidia`&&t.push({runtime:`python`,backend:`cuda`,format:`onnx`,score:85,reason:`NVIDIA CUDA (Python ONNX Runtime)`,available:!0}),e.gpu?.type===`intel`){let n=e.npu?.type===`intel-npu`?90:80;t.push({runtime:`python`,backend:`openvino`,format:`openvino`,score:n,reason:`Intel OpenVINO`,available:!0})}e.coral!=null&&t.push({runtime:`python`,backend:`edgetpu`,format:`tflite`,score:70,reason:`Coral Edge TPU (Python LiteRT)`,available:!0}),t.push({runtime:`python`,backend:`cpu`,format:`onnx`,score:50,reason:`CPU (Python ONNX Runtime)`,available:!0});let n=t.toSorted((e,t)=>t.score-e.score);return{scores:n,best:n.find(e=>e.available)??n[n.length-1]}}var c$={cuda:`gpu`,edgetpu:`usb`,coreml:`all`,cpu:`cpu`};function l$(e,t,n,r){return{key:e===`cpu`?`cpu`:`${e}:${t}`,backend:e,device:t,format:n,runtime:`python`,score:r,available:!0}}function u$(e){let{scores:t}=s$(e),n=[];for(let r of t){if(r.backend===`openvino`){e.npu?.type===`intel-npu`&&n.push(l$(`openvino`,`npu`,r.format,r.score+2)),e.gpu?.type===`intel`&&n.push(l$(`openvino`,`gpu`,r.format,r.score));continue}if(r.backend===`edgetpu`){let t=Math.max(1,e.coral?.count??1);for(let e=0;e<t;e++){let t=e===0?`usb`:`usb:${e}`;n.push(l$(`edgetpu`,t,r.format,r.score))}continue}let t=c$[r.backend]??r.backend;n.push(l$(r.backend,t,r.format,r.score))}return n}export{qU as ACCESSORY_LABEL,RZ as ACCESS_ROLES,Ba as ALEXA_EGRESS_PROFILE,ZG as ALL_CAPABILITY_DEFINITIONS,vu as APPEARANCE_BIN_COUNT,yu as APPEARANCE_BLOCKS,_u as APPEARANCE_DESCRIPTOR_VERSION,bu as APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT,Zx as APPLE_SA_TO_MACRO,os as ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT,Io as AUDIO_ANALYSIS_CAP_NAME,Wf as AUDIO_BACKEND_CHOICES,ye as AUDIO_CHUNK_FORMATS,Yx as AUDIO_MACRO_LABELS,If as AUDIO_NOT_CLASSIFIED_REASONS,zn as AUDIO_PRESETS,uK as AUDIO_SCALE_EPOCH_ISO,dK as AUDIO_SCALE_EPOCH_MS,MM as AccessoriesStatusSchema,KU as AccessoryKind,bx as AddBrokerInputSchema,eN as AddonAutoUpdateSchema,JM as AddonListItemSchema,of as AddonPageDeclarationSchema,rf as AddonPageInfoSchema,__ as AdminLinkTargetEnum,W_ as AdoptionAdoptInputSchema,G_ as AdoptionAdoptResultSchema,To as AdoptionCandidateResultSchema,L_ as AdoptionFilterSchema,V_ as AdoptionGetCandidateInputSchema,Eo as AdoptionJobSchema,Co as AdoptionJobStateSchema,z_ as AdoptionListCandidatesInputSchema,B_ as AdoptionListCandidatesOutputSchema,wo as AdoptionOutcomeSchema,K_ as AdoptionReleaseInputSchema,H_ as AdoptionStatusSchema,Sk as AgentLoadSummarySchema,fN as AirQualitySensorStatusSchema,Y as AlarmArmModeSchema,gS as AlarmPanelStatusSchema,hS as AlarmStateSchema,Df as AlertSchema,wf as AlertSeveritySchema,Ef as AlertSourceSchema,Tf as AlertStatusSchema,mN as AmbientLightSensorStatusSchema,RD as AnalyticsLtsSeriesSchema,dT as ApiKeyRecordSchema,gH as ApiKeySummarySchema,ub as AppleFmAvailabilitySchema,lb as AppleFmUnavailableReasonSchema,mp as ArchiveEntrySchema,hp as ArchiveManifestSchema,lp as ArchiveSqliteSnapshotSchema,cs as ArchivedDebugNoteQueryInputSchema,ss as ArchivedDebugNoteSchema,Mx as AttachmentMediaTypeSchema,Nx as AttachmentSchema,Rf as AudioAnalysisResultSchema,zf as AudioAnalysisSettingsSchema,Bf as AudioAttachDeviceInputSchema,Vf as AudioAttachDeviceResultSchema,St as AudioChunkFormatSchema,Nf as AudioChunkInputSchema,gN as AudioClassSummarySchema,Ff as AudioClassificationLabelSchema,Uf as AudioClassificationResultSchema,Lf as AudioClassifyOutcomeSchema,Jf as AudioCodecInfoSchema,Yf as AudioDecodeSessionConfigSchema,Hf as AudioDetachDeviceResultSchema,Aa as AudioEncodeSchema,Xf as AudioEncodeSessionConfigSchema,Qf as AudioEncodedChunkSchema,RE as AudioEventSchema,Pf as AudioLevelSchema,vN as AudioMetricsHistoryPointSchema,yN as AudioMetricsHistorySchema,_N as AudioMetricsSnapshotSchema,Zf as AudioPcmChunkSchema,at as AudioStreamPickSchema,tp as AuthResultSchema,$M as AutoUpdateSettingsSchema,Gd as AutomationActionSchema,Bd as AutomationConditionOperatorSchema,Ud as AutomationConditionSchema,xN as AutomationControlStatusSchema,Kd as AutomationRecipeSchema,Wd as AutomationTriggerSchema,DF as AvailableIntegrationTypeSchema,eg as BASE_DEVICE_CAPS,Ra as BASE_LIVE_EGRESS_PROFILE,tG as BATTERY_DEVICE_PROFILE,sW as BATTERY_UNREACHABLE_AFTER_MS,es as BIRTH_DECISION_DEFAULT_LIMIT,Cn as BOOT_RECOVERY_BACKOFF_MS,_h as BUILTIN_RESULT_KINDS,uQ as BackgroundRunRegistry,yF as BacklightModeSchema,dp as BackupDestinationInfoSchema,pp as BackupEntrySchema,vp as BackupRunPhaseSchema,yp as BackupRunSchema,_p as BackupRunStateSchema,bp as BackupTriggerResultSchema,Ke as BaseAddon,$U as BaseDevice,oW as BaseDeviceProvider,CN as BatteryStatusSchema,TN as BinaryStatusSchema,is as BirthDecisionQueryInputSchema,rs as BirthDecisionRecordSchema,ns as BirthDecisionVerdictSchema,H as BoundingBoxSchema,DN as BrightnessStatusSchema,kp as BrokerAddInputSchema,$p as BrokerAudioClientSchema,rm as BrokerClientsSchema,yx as BrokerConnectionDetailsSchema,tm as BrokerConsumerAttributionSchema,em as BrokerConsumerKindSchema,Qp as BrokerDecodedClientSchema,nm as BrokerEncodedClientSchema,Hp as BrokerGetStateInputSchema,wp as BrokerInfoSchema,wp as UnifiedBrokerInfoSchema,Ep as BrokerProviderInfoSchema,Rp as BrokerPublishInputSchema,Tp as BrokerRegistryStatusSchema,Zp as BrokerRtspClientSchema,Dt as BrokerStatsSchema,Cp as BrokerStatusEnum,Et as BrokerStatusSchema,zp as BrokerSubscribeInputSchema,Bp as BrokerSubscribeResultSchema,Mp as BrokerTestConnectionResultSchema,Vp as BrokerUnsubscribeInputSchema,o_ as BulkRecordSchema,NT as CAMERA_SENSORS_NOT_LOADED,vT as CAMERA_SENSORS_SETTINGS_KEY,Bo as CAMERA_SWITCH_CATALOG,ko as CAMERA_SWITCH_ORDER,gT as CAMERA_TRIGGER,pM as CAMSTACK_APP_LINK_ORIGIN,it as CAM_PROFILE_ORDER,YG as CAPABILITY_NAMES,XG as CAPABILITY_ROUTER_KEYS,JG as CAP_NAMES_WITH_STATUS,Lt as CAP_NODE_PIN_CONTEXT_KEY,eK as CAP_PROVIDER_KIND_MAP,Ks as CLASS_MAP_MACRO_TARGETS,aM as CLIP_BROKER_PACED_RATES,fM as CLIP_PLAYBACK_OPTIONS,sM as CLIP_REALTIME_SOURCE_RATES,Wj as CLIP_REASON_HEADER_MAX,Bu as CLIP_SEARCH_STRICTNESS,qj as CLIP_STILL_DISPOSITION_HEADER,Kj as CLIP_STILL_REASON_CODE_HEADER,Uj as CLIP_STILL_REASON_HEADER,oM as CLIP_STREAM_SOURCE_RATES,Jj as CLIP_STREAM_TRANSPORT_HEADER,Hu as CLIP_STRICTNESS_FACTOR,Ru as CLIP_VECTOR_INDEX_PATTERN,PT as CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS,FT as CLUSTER_MODEL_SCOPED_STEPS,IT as CLUSTER_MODEL_SECTION_ID,XT as CLUSTER_STEP_SETTING_FIELDS,Wu as COCO_80_LABELS,Ju as COCO_TO_MACRO,Mi as COMPOSED_DEVICE_STABLE_ID_PREFIX,Lh as COMPOSED_ITEM_FIXED_FIELDS,Ai as COMPOSER_ADDON_ID,ch as COMPOSER_RUNNER_ID,Vm as COMPOSITION_EVENT_CATEGORY,Ji as COMPOSITION_ITEM_ARRAY_PATH,Ki as COMPOSITION_ITEM_KEY_RE,oP as CONNECTION_TEST_TIMEOUT_MS,uW as CONTAINER_CHILD_PRIORITY,Dg as CORE_BLOCKS_ADDON_ID,Eg as CORE_BLOCK_ADDON_PREFIX,ji as CUSTOMIZATION_BLOCK_NAME_PREFIX,FN as CalendarColorSchema,IN as CalendarEntrySchema,MN as CalendarEventSchema,jN as CalendarInfoSchema,NN as CalendarListEventsInputSchema,LN as CalendarPreferenceEntrySchema,RN as CalendarPreferencesSchema,zN as CalendarSetPreferenceInputSchema,AN as CalendarSourceKindSchema,C as CamProfileSchema,fV as CamStreamDescriptorSchema,ot as CamStreamKindSchema,st as CamStreamResolutionSchema,Ok as CameraAssignmentStatusSchema,Rk as CameraAudioStatusSchema,kk as CameraBrokerProfileSchema,Ak as CameraBrokerStatusSchema,VN as CameraCredentialsSchema,HN as CameraCredentialsStatusSchema,jk as CameraDecoderShmSchema,Mk as CameraDecoderStatusSchema,Ik as CameraDetectionPhaseSchema,Fk as CameraDetectionProvisioningSchema,Pk as CameraDetectionProvisioningStateSchema,Lk as CameraDetectionStatusSchema,TO as CameraMetricsSchema,EO as CameraMetricsWithDeviceIdSchema,Nk as CameraMotionStatusSchema,UH as CameraOccupancySnapshotForDeviceSchema,kT as CameraOwnMotionSchema,jT as CameraRawLevelSchema,zk as CameraRecordingModeSchema,Bk as CameraRecordingStatusSchema,DT as CameraSensorAttachmentSchema,wT as CameraSensorEntrySchema,ST as CameraSensorModeSchema,bT as CameraSensorRefSchema,TT as CameraSensorsConfigSchema,AT as CameraSensorsNotEnforcedSchema,OT as CameraSensorsNotForwardedSchema,MT as CameraSensorsStatusSchema,Dk as CameraSourceStatusSchema,Ek as CameraSourceStreamSchema,Hk as CameraStatusDegradationReasonSchema,Uk as CameraStatusDegradationSchema,Gk as CameraStatusSchema,Vk as CameraStatusStageSchema,ct as CameraStreamSchema,Ao as CameraSwitchAuthoritySchema,Po as CameraSwitchGroupSchema,Oo as CameraSwitchIdSchema,No as CameraSwitchSchema,jo as CameraSwitchUnavailableReasonSchema,Mo as CameraSwitchWarningSchema,R_ as CandidateQueryFilterSchema,oT as CapScopeSchema,wk as CapabilityBindingsSchema,XN as CarbonMonoxideStatusSchema,Fn as ChargingStatus,hy as ClaimOutcomeSchema,_y as ClaimsListingSchema,vs as ClearTrackRelationInputSchema,ys as ClearTrackRelationResultSchema,eL as ClientNetworkStatsSchema,$N as ClimateControlStatusSchema,tM as ClipBytesOfferSchema,eM as ClipBytesSchema,Hz as ClipExportFailureSchema,zu as ClipModelMetaSchema,cM as ClipPlaybackOptionsSchema,Xj as ClipPlaybackSchema,Yj as ClipSchema,Vu as ClipSearchStrictnessSchema,lM as ClipSourceAvailabilitySchema,uM as ClipSourceSchema,Hj as ClipStillDispositionSchema,Vj as ClipStillRefusalCodeSchema,rM as ClipStreamAudioReasonSchema,nM as ClipStreamAudioSchema,iM as ClipStreamDialSchema,Zj as ClipWakeSchema,uL as ClusterAddonNodeDeploymentSchema,dL as ClusterAddonStatusEntrySchema,Yk as ClusterModelChoiceSchema,s_ as CollectionColumnSchema,c_ as CollectionIndexSchema,iP as ColorStatusSchema,Cg as ComposableCapabilitiesSchema,Sg as ComposableCapabilitySchema,xg as ComposableFieldSchema,dh as ComposerApplyInputSchema,ph as ComposerApplyResultSchema,lh as ComposerBlockSchema,fh as ComposerBlockVerdictSchema,uh as ComposerUnreadableBlockSchema,Bi as CompositionBindingSchema,Vg as CompositionBlockInputSchema,sh as CompositionBlockStateSchema,Hi as CompositionCodeSourceSchema,Gi as CompositionCommandTargetSchema,Yg as CompositionCustomizationReadSchema,Um as CompositionEventPlanSchema,ta as CompositionExistingTargetSchema,Vi as CompositionExpressionSourceSchema,th as CompositionFeatureModeSchema,nh as CompositionFeaturePlanSchema,Qi as CompositionFeatureSchema,Qm as CompositionFieldItemSchema,Ym as CompositionFieldKindSchema,$m as CompositionFieldPlanSchema,Li as CompositionFieldReadSchema,Zm as CompositionFieldRoleSchema,Ui as CompositionFieldSourceSchema,ah as CompositionFieldStateKindSchema,oh as CompositionFieldStateSchema,Xi as CompositionFieldsFeatureSchema,Wi as CompositionForwardCommandSchema,Ri as CompositionFromSourceSchema,Jg as CompositionGetReadSchema,Uh as CompositionGraphError,Yi as CompositionItemEntrySchema,qg as CompositionListReadSchema,zi as CompositionLiteralBindingSchema,ea as CompositionNewTargetSchema,Zi as CompositionPassthroughFeatureSchema,qm as CompositionProblemCodeSchema,Jm as CompositionProblemSchema,ih as CompositionRunStatusSchema,ra as CompositionSchema,Ii as CompositionSourceRefSchema,Wg as CompositionStateReadSchema,na as CompositionTargetSchema,Xm as CompositionUnavailableModeSchema,rh as CompositionValidationSchema,Gg as CompositionViewSchema,Dv as ConfigEntrySchema,pf as ConfigSectionWithValuesSchema,ff as ConfigTabDeclarationSchema,lP as ConnectionTestDescriptorSchema,cP as ConnectionTestInputSchema,sP as ConnectionTestOutcomeSchema,dP as ConnectivityStatusSchema,hP as ConsumableItemSchema,mP as ConsumableRemainingSchema,pP as ConsumableRemainingUnitSchema,gP as ConsumablesStatusSchema,vP as ContactStatusSchema,bP as ControlKindSchema,xP as ControlStatusSchema,Ed as ConvertArtifactSchema,Dd as ConvertResultSchema,wd as ConvertTargetSchema,Zg as CoreBlockCompileInputSchema,Xg as CoreBlockCompileResultSchema,Ng as CoreBlockFilesSchema,Fg as CoreBlockInputFieldsSchema,Ig as CoreBlockInputSchema,Ag as CoreBlockPlacementSchema,K as CoreBlockSchema,Bg as CoreBlockSourceSchema,jg as CoreBlockStatusSchema,wP as CoverStateSchema,TP as CoverStatusSchema,_H as CreateApiKeyInputSchema,vH as CreateApiKeyResultSchema,AF as CreateIntegrationInputSchema,bH as CreateScopedTokenInputSchema,xH as CreateScopedTokenResultSchema,mH as CreateUserInputSchema,uN as CustomActionInputSchema,$g as CustomModelDescriptorSchema,ip as DATABASE_SNAPSHOT_PARTIAL_SUFFIX,rp as DATABASE_SNAPSHOT_SUFFIX,ap as DATABASE_SNAPSHOT_TIMEOUT_MS,Ze as DATAPLANE_SECRET_HEADER,pB as DAYS_PER_WEEK,gB as DAY_NAMES,bW as DECLARED_DEVICE_SWEEP_LIMIT,vW as DECLARED_INTEGRATION_FIXED_KEY,ho as DEFAULT_ADDON_PLACEMENT,Gf as DEFAULT_AUDIO_ANALYZER_CONFIG,CT as DEFAULT_CAMERA_SENSOR_MODE,zT as DEFAULT_CLUSTER_STEP_MODELS,tE as DEFAULT_CLUSTER_STEP_SETTINGS,Mg as DEFAULT_CORE_BLOCK_ENTRY,p_ as DEFAULT_DECODER_HWACCEL_CONFIG,oZ as DEFAULT_DETAIL_CROP_CONVENTION,lc as DEFAULT_EVENTS_BAND_BUFFER_SEC,tS as DEFAULT_EVENT_COLOR,Fs as DEFAULT_FEATURES,Tr as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS,td as DEFAULT_LABEL_LINK_POLICY,YT as DEFAULT_MIN_LANDMARK_FACE_SIZE_PX,TZ as DEFAULT_NATIVE_LEASE_SETTINGS,Su as DEFAULT_OVERLAY_LAYERS,vQ as DEFAULT_POOL_MEMORY_POLICY,hc as DEFAULT_RECORDING_PROFILES,Do as DEFAULT_RETENTION,Vt as DEFAULT_RUNTIME_STATE_DURABILITY,BX as DEFAULT_TIMELAPSE_PREVIEW_TEXT,WU as DEFAULT_TOKEN_EXPIRY,zo as DERIVED_CAMERA_SILENCED_CAP_NAMES,dZ as DETAIL_CROP_PADDING_FIELD,rZ as DETAIL_CROP_PADDING_KEY,nZ as DETAIL_CROP_SECTION_ID,iZ as DETAIL_CROP_SQUARE_KEY,Ku as DETECTION_MACRO_CLASSES,Fo as DETECTION_PIPELINE_CAP_NAME,RQ as DEVICE_BACKEND_TO_FORMAT,IW as DEVICE_CAP_NAMES,sn as DEVICE_CHILDREN_BATCH_MAX,RW as DEVICE_DO_ACTIONS,nG as DEVICE_PROFILES,tW as DEVICE_RESTORE_RETRY_CONCURRENCY,eW as DEVICE_RESTORE_RETRY_DELAYS_MS,xn as DEVICE_SCOPED_CAPS,Kt as DEVICE_SETTINGS_CONTRIBUTION_METHODS,zU as DEVICE_STATE_READERS,qt as DEVICE_STATUS_METHOD,wW as DEVICE_TYPE_CONTROL_KIND,UW as DEVICE_TYPE_DO_CAPS,nQ as DEVICE_TYPE_INFO,iG as DISPLAY_ICON_GROUPS,oG as DISPLAY_ICON_KEYS,sG as DISPLAY_ICON_OFFERED_KEYS,aG as DISPLAY_ICON_VOCABULARY,DU as DOORBELL_RISE_DEBOUNCE_MS,u_ as DataStoreEngineInfoSchema,cp as DatabaseSnapshotResultSchema,sp as DatabaseSnapshotTableSchema,op as DatabaseSnapshotTargetsSchema,DP as DayNightModeSchema,AP as DayNightOptionsSchema,jP as DayNightSettingsPatchSchema,kP as DayNightStatusSchema,xW as DeclaredDevices,Ct as DecodedAudioChunkSchema,vt as DecodedFrameSchema,Ll as DecoderSessionConfigSchema,Il as DecoderStatsSchema,MF as DeleteIntegrationResultSchema,aZ as DetailCropConventionSchema,Ys as DetectionCatalogClassMapSchema,NE as DetectionSourceSchema,tk as DetectionSourcesSchema,v_ as DeviceAdminLinkSchema,zF as DeviceCodeSeveritySchema,YU as DeviceConfig,F_ as DeviceDiscoveryStatusSchema,nv as DeviceExportExposeInputSchema,$_ as DeviceExportStatusSchema,rv as DeviceExportUnexposeInputSchema,Pn as DeviceFeature,Ev as DeviceInfoSchema,tL as DeviceNetworkStatsSchema,iW as DeviceRestoreRetryScheduler,O as DeviceRole,XU as DeviceRuntimeState,sT as DeviceSelectorSchema,NP as DeviceStatusSchema,D as DeviceType,HV as DiagnosticIdSchema,YV as DiagnosticWindowPatchSchema,JV as DiagnosticWindowSchema,P_ as DiscoveredChildDeviceSchema,N_ as DiscoveredChildStatusSchema,gv as DiscoveredDeviceSchema,Ux as DiscoveredTargetSchema,Wk as DiskReconcileJobSchema,Xe as DisposerChain,IP as DoorbellPressEventSchema,FP as DoorbellStatusSchema,wy as EMBEDDING_MODEL_FAILED,Ey as EMBEDDING_REQUIREMENTS_FAILED,Ty as EMBEDDING_REQUIREMENTS_UNAVAILABLE,sA as EVENTFUL_CAP_NAMES,_D as EVENT_DENSITY_BATCH_MAX,oA as EVENT_KIND_BY_CAP,SX as EVENT_KIND_LABELS,xX as EVENT_KIND_LABEL_KEYS,ya as EVENT_OWNER_TYPES,Xs as EVENT_PAD_MS,oS as EVENT_TAXONOMY,Nz as EXPORT_DENSE_MAX_RANGES,Br as EXPRESSION_BUILTINS,Vr as EXPRESSION_BUILTIN_NAMES,qr as EXPRESSION_COMPILE_CACHE_CAPACITY,Jr as EXPRESSION_IDENTIFIER_RE,Ei as EXPRESSION_INJECTED_NOW,Xv as EXTENSION_HOST_DEVICE_TYPES,Jv as EXTENSION_SLOTS,Kv as EXTENSION_SLOT_IDS,Qv as EXTENSION_SLOT_LISTING_METHOD,Zv as EXTENSION_SLOT_REF_SEPARATOR,JD as EffectiveTuningSchema,lm as EgressEncodeSchema,um as EgressRateControlSchema,dm as EgressTranscodeRequestSchema,fm as EgressTranscodeSchema,fQ as ElementConfigStore,xy as EmbeddingFailedModelSchema,Sy as EmbeddingFailedRequirementSchema,Cy as EmbeddingInfoSchema,Dy as EmbeddingRefusalCodeSchema,yy as EmbeddingResultSchema,by as EmbeddingTowerSchema,ja as EncodeProfileSchema,_t as EncodedPacketSchema,Sf as EnrichedWidgetMetadataSchema,RP as EnumSensorDateTimeFormatSchema,zP as EnumSensorStatusSchema,he as EventCategory,gD as EventDensityBucketSchema,vD as EventDensityForDeviceSchema,HP as EventEmitterStatusSchema,VP as EventFireSchema,cE as EventKindCategorySchema,uE as EventKindDescriptorSchema,sE as EventKindIconSchema,aE as EventKindSchema,dE as EventKindsForDeviceSchema,qp as EventMediaArtifactSchema,Jp as EventMediaCoverageSchema,Kp as EventMediaKindSchema,Yp as EventMediaProductionSchema,ba as EventOwnerTypeSchema,fa as EventSourceType,qz as ExportBytesSchema,zz as ExportClipSubjectSchema,Mz as ExportDenseRangeSchema,Pz as ExportDenseSchema,Gz as ExportDownloadSchema,Rz as ExportFootageSubjectSchema,Iz as ExportOptionsSchema,Vz as ExportRecordSchema,Z_ as ExportSetupFieldSchema,Q_ as ExportSetupSchema,jz as ExportSpeedSchema,Lz as ExportStateSchema,Bz as ExportSubjectSchema,Fz as ExportTimelapseSchema,tv as ExposedDeviceSchema,vF as ExposureModeSchema,Id as ExpressionBindingSourceSchema,A as ExpressionEvalError,Nd as ExpressionFieldBindingSchema,Fd as ExpressionGlobalBindingSchema,Pd as ExpressionLiteralBindingSchema,k as ExpressionParseError,Ld as ExpressionSourceSchema,cy as ExtensionCandidateSchema,ly as ExtensionCandidatesSchema,uy as ExtensionSetResultSchema,fy as ExtensionSetSlotInputSchema,ry as ExtensionSlotActivationSchema,qv as ExtensionSlotIdSchema,dy as ExtensionSlotRefInputSchema,oy as ExtensionSlotRowSchema,ny as ExtensionSlotSourceSchema,iy as ExtensionSlotStateSchema,ay as ExtensionSlotUnreachableSchema,Yv as ExtensionSlotValueSchema,$v as ExtensionSourceAvailabilitySchema,ty as ExtensionSourceHealthSchema,ey as ExtensionSourceSchema,wU as FEEDER_EXAMPLE_ADDON_ID,CU as FEEDER_EXAMPLE_HA_DEVICE_ID,_r as FFMPEG_PATH_ENV,Yu as FILLABLE_STEP_IDS,Qu as FILLABLE_STEP_MACRO,Zu as FILLABLE_STEP_VOCABULARIES,qs as FIRST_LEVEL_MACRO_CLASSES,FU as FRIGATE_PLUS_TO_MACRO,IU as FRIGATE_PLUS_UNMAPPED_LABELS,uZ as FULL_IMAGE_BBOX,Ry as FailureContributionSchema,ru as FailureCounters,Ly as FailureReasonCountSchema,nF as FanControlStatusSchema,tF as FanDirectionSchema,OV as FeatureManifestSchema,iF as FeatureProbeStatusSchema,my as FieldClaimModeSchema,gy as FieldClaimSchema,Sd as FillsClassifierEffectSchema,oF as FloodStatusSchema,dr as Fmp4BoxSplitter,yt as FrameHandleFormatSchema,w as FrameHandleSchema,jf as FrameInputSchema,lk as FrameLazyCountersSchema,uk as FrameLazyMetricsSchema,fK as G711_SCALE_CORRECTION_DB,cF as GasStatusSchema,tH as GetLoggingSettingsInputSchema,sm as GetStreamWithCodecInputSchema,Ck as GlobalMetricsSchema,JN as GridLayoutPatchSchema,qN as GridLayoutViewSchema,Ka as HAP_AUDIO_BASE,Ga as HAP_AUDIO_BITRATE_KBPS,qa as HAP_AUDIO_VBV_KBITS,Ja as HAP_KEYFRAME_INTERVAL_SEC,UU as HF_BASE_URL,HU as HF_REPO,mB as HOURS_PER_DAY,mM as HUB_VIEWER_MOUNT,f_ as HWACCEL_OPTIONS,kV as HealthStatusSchema,Sb as HfModelResolutionSchema,KH as HistoryPointSchema,WH as HistoryResolutionEnum,uF as HumidifierStatusSchema,fF as HumiditySensorStatusSchema,QN as HvacModeSchema,Kk as INFERENCE_DEVICE_EXCLUSION_REASONS,AU as INVERTIBLE_CAPS,fA as ImageContractSchema,dA as ImageContractStateSchema,gF as ImageRotateSchema,SF as ImageSettingsOptionsSchema,CF as ImageSettingsPatchSchema,xF as ImageSettingsStatusSchema,mF as ImageStatusSchema,qk as InferenceDeviceExclusionReasonSchema,Tk as IngestOwnerSchema,YM as InstalledPackageSchema,EF as IntegrationLiteSchema,TF as IntegrationWithStateSchema,PF as IntercomAbilitySchema,FF as IntercomStatusSchema,FW as KNOWN_CAP_NAMES,pD as KeyEventSchema,ed as LABEL_LINK_POLICIES,nd as LABEL_LINK_SETTING_KEY,hl as LEGACY_READ_ONLY_CONFIG_KEY,jv as LINKED_DEVICES_SLOT,rd as LINKED_LABEL_STEP_PREFIX,Ob as LOAD_CONTRIBUTION_ATTRIBUTIONS,Db as LOAD_CONTRIBUTION_ROLES,dv as LOCATION_DESCRIPTION_MAX,ov as LOCATION_ICON_FALLBACK,av as LOCATION_ICON_IDS,Zl as LOG_CHANNEL_TICK_MS,Is as LOG_LEVEL_RANK,zD as LTS_SCOPE_CLASS_SEPARATOR,EE as LabelAttributionSchema,Gs as LabelDefinitionSchema,TE as LabelTierSchema,RF as LawnMowerActivitySchema,BF as LawnMowerControlStatusSchema,nl as LedgerWalkDeviceReportSchema,Qc as LedgerWalkInputSchema,$c as LedgerWalkRefusalSchema,rl as LedgerWalkReportSchema,tl as LedgerWalkSkipCountsSchema,el as LedgerWalkSkipReasonSchema,Ol as LegacyStorageLocationDefaultSchema,kv as LinkedDeviceSchema,Ov as LinkedDevicesModeSchema,Av as LinkedDevicesSlotValueSchema,Ss as ListTrackRelationsInputSchema,Cs as ListTrackRelationsResultSchema,yb as LlmDefaultSchema,vb as LlmDefaultSelectorSchema,ib as LlmDownloadProgressSchema,Ky as LlmErrorCodeSchema,eb as LlmGenerateBaseInputSchema,Yy as LlmGenerateErrSchema,qy as LlmGenerateOkSchema,Xy as LlmGenerateResultSchema,Zy as LlmImageSchema,ob as LlmNodeModelSchema,_b as LlmProfileKindDescriptorSchema,mb as LlmProfileKindSchema,hb as LlmProfileSchema,Jy as LlmRefusalSourceSchema,Qy as LlmRetryPolicySchema,db as LlmRuntimeAppleCompleteInputSchema,fb as LlmRuntimeCancelInputSchema,cb as LlmRuntimeCompleteInputSchema,sb as LlmRuntimeDiskUsageSchema,Cb as LlmRuntimeNodeSchema,ab as LlmRuntimeStatusSchema,$y as LlmTimeoutDefaults,bb as LlmUsageRollupSchema,Gy as LlmUsageSchema,kb as LoadContributionSchema,Ez as LocateSegmentResultSchema,fv as LocationDescriptionAssignmentSchema,cv as LocationIconAssignmentSchema,sv as LocationIconIdSchema,gp as LocationStatSchema,nI as LockControlStatusSchema,tI as LockStateSchema,jb as LogChannelApplyResultSchema,Ul as LogChannelDescriptorSchema,Gl as LogChannelGate,Hl as LogChannelLevelSchema,Kl as LogChannelRegistry,ZV as LogChannelWindowPatchSchema,Wl as LogChannelWindowSchema,XV as LogChannelWindowStateSchema,Pb as LogEntrySchema,Nb as LogLevelSchema,cN as LogStreamEntrySchema,KV as LoggingEffectiveSchema,qV as LoggingExplicitSchema,GV as LoggingLevelLayerSchema,WV as LoggingLevelSourceSchema,UV as LoggingScopeKindSchema,QV as LoggingSettingsPatchSchema,rH as LoggingSettingsStateSchema,Bb as LoginMethodContributionSchema,Ib as LoginStageEnum,HD as LtsBucketSchema,Gu as MACRO_LABELS,as as MAX_ARCHIVED_DEBUG_NOTES,$o as MAX_BIRTH_DECISION_RECORDS,ts as MAX_BIRTH_LATENCY_PROXY_MS,yT as MAX_CAMERA_SENSORS,zj as MAX_CLIP_EVENT_IDS,Bj as MAX_CLIP_LABELS,Fi as MAX_COMPOSITION_CODE_LENGTH,Ni as MAX_COMPOSITION_FEATURES,Pi as MAX_COMPOSITION_FIELDS_PER_FEATURE,qi as MAX_COMPOSITION_ITEMS,Rd as MAX_CONDITION_DEPTH,zd as MAX_CONDITION_LEAVES,Ur as MAX_EXPRESSION_AST_NODES,Gr as MAX_EXPRESSION_BINDINGS,Kr as MAX_EXPRESSION_CALL_ARGS,Wr as MAX_EXPRESSION_EVAL_STEPS,Hr as MAX_EXPRESSION_SOURCE_LENGTH,eu as MAX_KEYS,$l as MAX_REASONS_PER_KEY,nc as MAX_SENSOR_TRIGGER_DEVICES,bE as MAX_TRACK_DEBUG_NOTE_LEN,us as MAX_TRACK_PURITIES,ls as MAX_TRACK_RELATIONS,pa as MEDIA_OWNER_TYPES,xa as MEDIA_PRESENCE_OWNER_KINDS,PW as METHOD_ACCESS_MAP,QG as METHOD_DEVICE_SELECTORS,fB as MINUTES_PER_DAY,fd as MODEL_FORMATS,bd as MODEL_HOSTING,_d as MODEL_PROVIDER_IDS,pI as MOTION_CLOSE_AFTER_MS,QO as MOTION_SOURCE_LABELS,DW as MOTION_TRIGGER_FEATURE,xb as ManagedModelCatalogEntrySchema,tb as ManagedModelExtraFileSchema,nb as ManagedModelRefSchema,rb as ManagedRuntimeConfigSchema,ES as MaskGridDimsSchema,xS as MaskGridShapeSchema,SS as MaskLineShapeSchema,vS as MaskPointSchema,bS as MaskPolygonShapeSchema,TS as MaskPolygonVerticesSchema,yS as MaskRectShapeSchema,wS as MaskShapeKindSchema,CS as MaskShapeSchema,HE as MediaFileInfoSchema,zE as MediaFileKindEnum,BE as MediaFileRefSchema,VE as MediaFileSchema,aI as MediaPlayerRepeatSchema,iI as MediaPlayerStateSchema,sI as MediaPlayerStatusSchema,Sa as MediaPresenceOwnerKindSchema,Oc as MediaRelocateModeSchema,uI as MeshPeerSchema,dI as MeshStatusSchema,rT as MethodAccessSchema,Wv as MigrateDeviceResultSchema,Hv as MigrateSwitchOutcomeSchema,Uv as MigrateSwitchReportSchema,Cd as ModelCatalogEntrySchema,cx as ModelConvertInputSchema,Td as ModelConvertMetadataSchema,ux as ModelDistributeInputSchema,dx as ModelDistributeResultSchema,md as ModelExtraFileSchema,pd as ModelFormatEntrySchema,hd as ModelFormatsSchema,xd as ModelLicenseSchema,vd as ModelProviderIdSchema,oO as ModelSubstitutionSchema,gd as ModelVariantGroupSchema,mx as MotionAnalysisResultSchema,ME as MotionEventSchema,hI as MotionOnMotionChangedDataSchema,px as MotionRegionSchema,YO as MotionSourceEnum,ZO as MotionSourcesSchema,mI as MotionStatusSchema,vI as MotionTriggerRuntimeStateSchema,_I as MotionTriggerStatusSchema,hT as MotionTriggeredBySchema,SI as MotionZoneOptionsSchema,CI as MotionZonePatchSchema,bI as MotionZoneRegionSchema,xI as MotionZoneStatusSchema,vx as MqttBrokerInfoSchema,Ex as MqttBrokerStatusSchema,n_ as MutationFilterSchema,OZ as NATIVE_LEASE_ACTIVITY_FIELD,yZ as NATIVE_LEASE_ACTIVITY_KEY,jZ as NATIVE_LEASE_ADMISSION_FIELD,bZ as NATIVE_LEASE_ADMISSION_KEY,DZ as NATIVE_LEASE_BUDGET_FIELD,vZ as NATIVE_LEASE_BUDGET_KEY,EZ as NATIVE_LEASE_HOLD_FIELD,_Z as NATIVE_LEASE_HOLD_KEY,AZ as NATIVE_LEASE_SCENE_BUDGET_FIELD,SZ as NATIVE_LEASE_SCENE_BUDGET_KEY,gZ as NATIVE_LEASE_SECTION_ID,kZ as NATIVE_LEASE_TILE_BUDGET_FIELD,xZ as NATIVE_LEASE_TILE_BUDGET_KEY,LI as NAVIGATION_ACTION_CATALOG,HI as NAVIGATION_LIGHT_LEVEL_MAX,VI as NAVIGATION_LIGHT_LEVEL_MIN,TJ as NC_ALARM_CONTROLLABLE_CAPS,sY as NC_ALARM_DEFAULT_PROFILE_ID,cY as NC_ALARM_DEFAULT_PROFILE_NAME,RJ as NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC,LJ as NC_ALARM_DELAY_FIELDS,fw as NC_ALARM_DELAY_MAX_SEC,mw as NC_ALARM_NONBLOCKING_MAX,zJ as NC_ALARM_NOTIFY_FIELDS,wJ as NC_ALARM_OPENING_EVENT_KINDS,Jw as NC_ALARM_SENSORS_MAX,lY as NC_ALARM_SYSTEM_DEFAULT_DELAYS,jS as NC_ALARM_SYSTEM_EVENT_KINDS,pw as NC_ALARM_TRIGGERED_MAX_SEC,EK as NC_AUDIO_CONFIRM_HITS_DEFAULT,kK as NC_AUDIO_CONFIRM_HITS_MAX,OK as NC_AUDIO_CONFIRM_HITS_MIN,jK as NC_AUDIO_CONFIRM_WINDOW_MAX_SEC,AK as NC_AUDIO_CONFIRM_WINDOW_MIN_SEC,DK as NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT,YS as NC_AUDIO_DBFS_FLOOR,yK as NC_AUDIO_DB_MAX,vK as NC_AUDIO_DB_MIN,xK as NC_AUDIO_DB_OFFERED,bK as NC_AUDIO_DB_STEP,MK as NC_AUDIO_DEFAULTS,CK as NC_AUDIO_HIT_PERCENT_MAX,SK as NC_AUDIO_HIT_PERCENT_MIN,TK as NC_AUDIO_SAMPLING_MAX_SEC,wK as NC_AUDIO_SAMPLING_MIN_SEC,uJ as NC_AUDIO_SEED,AS as NC_AUTHORABLE_SYSTEM_EVENT_KINDS,$K as NC_BASE_CONDITION_KEYS,MS as NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS,Jq as NC_CAMERA_SCOPE_CAP_NAME,gC as NC_CLIP_POST_ROLL_DEFAULT_SEC,hC as NC_CLIP_PRE_ROLL_DEFAULT_SEC,$w as NC_CLIP_RETENTION_MAX_SEC,QC as NC_CONDITION_CATALOG,CC as NC_CONFIRM_DEFAULT_MAX_IMAGE_PX,SC as NC_CONFIRM_DEFAULT_TIMEOUT_MS,xC as NC_CONFIRM_MAX_TIMEOUT_MS,bC as NC_CONFIRM_MIN_TIMEOUT_MS,FS as NC_CONSUMABLE_LOW_PERCENT_DEFAULT,IS as NC_CONSUMABLE_LOW_PERCENT_MAX,NS as NC_CONSUMABLE_SYSTEM_EVENT_KINDS,VS as NC_DEFAULT_SNOOZE_MINUTES,DC as NC_GROUPING_DEFAULT_SEC,OC as NC_GROUPING_MAX_SEC,EC as NC_GROUPING_MIN_SEC,rw as NC_HISTORY_LIMIT_DEFAULT,iw as NC_HISTORY_LIMIT_MAX,zS as NC_MAX_PER_TRACK_IMMEDIATE,lJ as NC_OCCUPANCY_DEFAULTS,NC as NC_RULE_CLEARABLE_KEYS,pJ as NC_RULE_EDITOR_SECTION_ORDER,Hq as NC_RULE_KIND_SPECS,jC as NC_RULE_RETIRED_CLEAR_KEYS,nJ as NC_RULE_SECTIONS,SY as NC_SENSOR_RAISED_FIELD_BY_KIND,CY as NC_SENSOR_TRANSITION_KINDS,MJ as NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING,DY as NC_SENSOR_TRANSITION_UNSUPPORTED_REASON,dX as NC_SERVER_PACKAGE_NAME,BS as NC_SNOOZE_MAX_MINUTES,Gq as NC_SYSTEM_DELIVERY,Cq as NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS,yq as NC_SYSTEM_EVENT_FAMILIES,xq as NC_SYSTEM_EVENT_FAMILY,wq as NC_SYSTEM_EVENT_FAMILY_FILTERS,gq as NC_SYSTEM_EVENT_FILTER_KEYS,Tq as NC_SYSTEM_EVENT_KIND_GROUP_SPECS,ZY as NC_SYSTEM_EVENT_SUMMARY_FAMILIES,jq as NC_SYSTEM_RULE_KINDS,PS as NC_TANK_SYSTEM_EVENT_KINDS,mS as NC_TAXONOMY,VY as NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS,BY as NC_TEMPLATE_VARS,fX as NC_UPDATE_EVENT_PACKAGE_NAMES,qI as NETWORK_LINK_TYPES,YI as NETWORK_LINK_UNKNOWN,jO as NativeCropBboxSchema,WD as NativeCropRefSchema,MO as NativeCropResultSchema,EI as NativeDetectionSchema,CZ as NativeLeaseAdmissionSchema,wZ as NativeLeaseSettingsSchema,TI as NativeObjectClassEnum,kI as NativeObjectDetectionOptionsSchema,jI as NativeObjectDetectionRuntimeStateSchema,AI as NativeObjectDetectionSettingsPatchSchema,DI as NativeObjectDetectionStatusSchema,OI as NativeObjectGeometryEnum,II as NavigationActionEntrySchema,PI as NavigationActionIdSchema,FI as NavigationEntryKindSchema,zI as NavigationFeaturesSchema,BI as NavigationLightModeSchema,UI as NavigationModeSchema,NI as NavigationMoveCommandSchema,RI as NavigationPointSchema,GI as NavigationRuntimeStateSchema,WI as NavigationStatusSchema,rC as NcActionBindingSchema,ww as NcAlarmBlockingEditSchema,Ow as NcAlarmBlockingSchema,qw as NcAlarmConfigSchema,Iw as NcAlarmCreateProfileInputSchema,Hw as NcAlarmModeCoverageSchema,xw as NcAlarmModeDelaysEditSchema,yw as NcAlarmModeDelaysSchema,Ew as NcAlarmModeDeviceListSchema,Cw as NcAlarmNonBlockingEditSchema,Dw as NcAlarmNonBlockingSchema,vw as NcAlarmPostTriggeredActionSchema,Rw as NcAlarmProfileIdInputSchema,Pw as NcAlarmProfileMetaSchema,Fw as NcAlarmProfilesViewSchema,Lw as NcAlarmRenameProfileInputSchema,Tw as NcAlarmSecureOnArmEditSchema,kw as NcAlarmSecureOnArmOffSchema,Yw as NcAlarmSensorReadingSchema,Xw as NcAlarmSensorStateSchema,Zw as NcAlarmSensorsInputSchema,Qw as NcAlarmSensorsSchema,zw as NcAlarmSettingsPatchSchema,Nw as NcAlarmSettingsSchema,Bw as NcAlarmSkipReasonSchema,Vw as NcAlarmSkippedDeviceSchema,XS as NcAudioConditionSchema,eT as NcClipRetentionAskSchema,tT as NcClipRetentionPlanSchema,ZC as NcConditionDescriptorSchema,dC as NcConditionsSchema,wC as NcConfirmExpectSchema,TC as NcConfirmSchema,ZS as NcCrossingSchema,DS as NcDeliverySchema,lC as NcDeviceStateConditionSchema,nw as NcHistoryEntrySchema,aw as NcHistoryFilterSchema,ew as NcHistoryRecordKindSchema,$C as NcHistoryStatusSchema,tw as NcHistorySubjectSchema,iC as NcHookBindingsSchema,sC as NcLegacyRuleActionSequenceSchema,mC as NcLinkedCameraModeSchema,pC as NcMediaFrameSchema,_C as NcMediaPolicySchema,JS as NcOccupancyConditionSchema,qS as NcPlateMatcherSchema,eC as NcRuleActionSchema,cC as NcRuleActionSequenceSchema,oC as NcRuleActionsSchema,PC as NcRuleClearableKeySchema,kC as NcRuleInputSchema,HC as NcRuleKindSchema,ow as NcRuleLastRunSchema,sw as NcRuleLastRunsSchema,aC as NcRuleNotificationButtonSchema,AC as NcRulePatchSchema,IC as NcRuleSchema,fC as NcRuleTargetSchema,FC as NcRuleUpdateInputSchema,uC as NcSceneConditionSchema,US as NcScheduleSchema,HS as NcScheduleWindowSchema,QS as NcSensorTransitionSchema,nC as NcSharedSequenceInputSchema,tC as NcSharedSequenceSchema,lw as NcSnoozeInputSchema,uw as NcSnoozeSchema,cw as NcSnoozeScopeSchema,dw as NcSnoozeSuppressedSchema,zC as NcStateSummaryPreviewRowSchema,BC as NcStateSummaryPreviewSchema,RC as NcStateSummaryPreviewSectionSchema,LC as NcStateSummarySectionIdSchema,GS as NcStateSummarySplitSchema,LS as NcSystemEventConditionSchema,WS as NcSystemEventDeliveryModeSchema,KS as NcSystemEventDeliverySchema,OS as NcSystemEventKindSchema,uS as NcTaxonomyEntrySchema,dS as NcTaxonomySchema,WC as NcTemplateFamilySchema,GC as NcTemplateFieldSchema,YC as NcTemplatePreviewInputSchema,XC as NcTemplatePreviewSchema,JC as NcTemplateVarContextSchema,qC as NcTemplateVarDescriptorSchema,KC as NcTemplateVarGroupSchema,UC as NcTemplateVarKindSchema,VC as NcTestResultSchema,vC as NcThrottleGranularitySchema,yC as NcThrottleSchema,$S as NcZoneConditionSchema,kx as NetworkAccessStatusSchema,AV as NetworkAddressSchema,Ox as NetworkEndpointSchema,JI as NetworkLinkStatusSchema,vL as NodeDirectoryEntrySchema,yL as NodeDirectorySchema,Fx as NotificationActionIconSchema,Ix as NotificationActionSchema,Px as NotificationFormatSchema,Lx as NotificationSchema,wL as NotifierStatusSchema,OL as NumericSensorStatusSchema,EG as OPERATOR_WRITTEN_STALE_MS,Ws as OPS_LOG_DEFAULT_LIMIT,Us as OPS_LOG_RING_DEFAULT_MAX,tu as OVERFLOW_REASON,xu as OVERLAY_LAYERS,ge as OWNER_ONLY_EVENT_CATEGORIES,pT as OauthIntegrationDescriptorSchema,LE as ObjectEventSchema,fk as OccupancyBurstRefusalSchema,eA as OccupancyLookAnswerSchema,Qk as OccupancyLookRefusalSchema,$k as OccupancyLookRequestSchema,sB as OnboardFieldSupportSchema,rB as OnboardRecordTrackSchema,cB as OnboardScheduleSupportSchema,nB as OnboardStorageSchema,tB as OnboardStorageVolumeSchema,Rs as OpsLogDomainSchema,Vs as OpsLogEntrySchema,zs as OpsLogOpSchema,Hs as OpsLogQueryInputSchema,Bs as OpsLogReasonSchema,wO as OrchestratorMetricsSchema,BL as OsdNamedTemplateSchema,AL as OsdOverlayKindEnum,PL as OsdOverlayPatchSchema,ML as OsdOverlaySchema,jL as OsdPositionEnum,WL as OsdRenderOutcomeEnum,GL as OsdRenderResultSchema,HL as OsdSlotBindingSchema,UL as OsdSlotViewSchema,qL as OsdSourceOptionSchema,VL as OsdSourceSchema,KL as OsdSourceValueTypeEnum,NL as OsdStatusSchema,zL as OsdTemplateBindingSchema,LL as OsdTemplateFormatSchema,RL as OsdTemplatePickSchema,IL as OsdTemplateTokenKindSchema,nt as PEER_BYTES_CHUNK_BYTES,et as PEER_BYTES_MAX_OUTSTANDING,tt as PEER_BYTES_STALL_MS,$e as PEER_BYTES_TICKET_TTL_MS,ng as PENDING_BLOCK_ID,XL as PET_FEEDER_MANUAL_FEED_MAX,YL as PET_FEEDER_MANUAL_FEED_MIN,Ro as PIPELINE_ANALYTICS_CAP_NAME,XH as PIPELINE_FLOW_CAPABILITY_NAMES,ZH as PIPELINE_OWNER_CAPABILITY_NAMES,Lo as PRIVACY_MASK_CAP_NAME,tK as PROVIDER_KIND_CAP_NAMES,Ut as PROVIDER_PIN_FIELD,VQ as PYTHON_SCRIPT,XM as PackageUpdateSchema,ZM as PackageVersionInfoSchema,PO as ParkRefusalSchema,FO as ParkTrackFrameResultSchema,NO as ParkedFrameKindSchema,IO as ParkedTrackFrameSchema,zb as PasskeyLoginMethodSchema,fj as PasskeySummarySchema,qf as PcmSampleFormatSchema,rt as PeerBytesTicketSchema,zH as PerScopeBreakdownSchema,$L as PetFeederStatusSchema,gm as PickStreamPreferencesSchema,hm as PickStreamRequirementsSchema,_m as PickedCamStreamSchema,xk as PipelineAssignmentSchema,XD as PipelineDefaultStepSchema,Z as PipelineEngineChoiceSchema,SO as PipelineRunResultBridge,aO as PipelineStepInputSchema,sO as PipelineValidationIssueSchema,cO as PipelineValidationResultSchema,im as PlaceholderReasonSchema,OO as PolygonPointSchema,AQ as PoolMemoryWatchdog,CR as PowerMeterStatusSchema,ER as PresenceStatusSchema,OR as PressureSensorStatusSchema,NR as PrivacyMaskOptionsSchema,PR as PrivacyMaskPatchSchema,jR as PrivacyMaskRegionSchema,AR as PrivacyMaskShapeSchema,MR as PrivacyMaskStatusSchema,qx as ProbeTargetConfigResultSchema,Ot as ProfileRtspEntrySchema,ut as ProfileSlotSchema,lt as ProfileSlotStatusSchema,XX as ProviderMotionDataSchema,hv as ProviderStatusSchema,YR as PtzAutotrackRuntimeStateSchema,KR as PtzAutotrackSettingsSchema,JR as PtzAutotrackStatusSchema,qR as PtzAutotrackTargetOptionSchema,UR as PtzHomePresetSchema,WR as PtzHomeReturnSchema,BR as PtzMoveCommandSchema,HR as PtzOptionsSchema,zR as PtzPositionSchema,LR as PtzPresetFunctionSchema,RR as PtzPresetSchema,VR as PtzStatusSchema,t_ as QueryFilterSchema,Ha as RATE_CONTROL_RELAXED,Va as RATE_CONTROL_TIGHT,bG as REACHABILITY_FAILURES_TO_OFFLINE,yG as REACHABILITY_POLL_INTERVAL_MS,xG as REACHABILITY_PROBE_TIMEOUT_MS,dl as RECOGNITION_TYPES,rc as RECORDING_AUDIO_TRIGGER_OFFERED_DBFS,Kz as RECORDING_EXPORT_MAX_READ_BYTES,QR as RECORDING_SOURCE_CAMSTACK,$R as RECORDING_SOURCE_CAMSTACK_ADDON,dz as RECORDING_TIMELINE_BATCH_MAX,Go as REDACTED_SECRET,eZ as REMOVED_MODEL_IDS,Yr as RESERVED_BINDING_NAMES,FB as RESERVED_COLLECTION_SOURCES,sK as RESTORED_CAP_NAMES,yU as ROOM_EXAMPLE_MOTION_SOURCES,vU as ROOM_EXAMPLE_TEMPERATURE_SOURCES,_U as ROOM_OCCUPANCY_WINDOW_MS,ou as ROOT_BUCKET_KEY,GU as RUNTIME_DEFAULTS,rK as RUNTIME_STATE_POLICY,TG as RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS,BQ as RUNTIME_TO_FORMAT,pn as RawStateResultSchema,Oz as ReadGopBytesResultSchema,Dz as ReadSegmentBytesResultSchema,kz as ReadWindowBytesResultSchema,Pt as ReadinessRegistry,kt as ReadinessTimeoutError,MD as RebuildObjectEmbeddingsRefusalSchema,lD as RecentTracksPageSchema,cD as RecentTracksQueryInput,$z as RecordTriggerSchema,eB as RecordWindowSchema,fz as RecordingAvailabilityForDeviceSchema,nz as RecordingAvailabilitySchema,sc as RecordingBandAudioSchema,ac as RecordingBandModeSchema,cc as RecordingBandSchema,oc as RecordingBandTriggersSchema,pc as RecordingConfigSchema,pz as RecordingDaysForDeviceSchema,rz as RecordingDaysSchema,mz as RecordingDeviceUsageSchema,hz as RecordingLocationUsageSchema,iz as RecordingManifestSchema,ec as RecordingObjectTriggerClassSchema,lB as RecordingOnboardOptionsSchema,uB as RecordingOnboardPatchSchema,iB as RecordingOnboardStatusSchema,cz as RecordingPlaybackSchema,ez as RecordingRangeSchema,tz as RecordingReadSchema,xz as RecordingRebalanceInputSchema,_z as RecordingRebalanceMoveSchema,bz as RecordingRebalancePlanSchema,vz as RecordingRebalanceSkipReasonSchema,yz as RecordingRebalanceSkipSchema,fc as RecordingRetentionSchema,NB as RecordingSignalRuntimeStateSchema,MB as RecordingSignalStatusSchema,az as RecordingSourceAvailabilitySchema,sz as RecordingSourceOptionsSchema,oz as RecordingSourceSchema,uz as RecordingStatusSchema,$s as RecordingStorageModeSchema,gz as RecordingStorageUsageSchema,ic as RecordingTriggersSchema,Zs as RecordingWeekdaySchema,Lb as RedirectLoginMethodSchema,al as RelocatableMediaCountInputSchema,il as RelocatableMediaCountSchema,Tc as RelocateFootageClassSchema,Ec as RelocateFootageInputSchema,wc as RelocateJobSchema,Cc as RelocateJobStateSchema,kc as RelocateMediaInputSchema,Xc as RelocateResidueInputSchema,Zc as RelocateResidueSchema,Wx as RenderedAsSchema,nk as ReportMotionInputSchema,eH as ReportedFailureContributionSchema,$V as ReportedLoadContributionSchema,LV as RequestCensusGroupSchema,RV as RequestCensusProcedureSchema,zV as RequestCensusSnapshotSchema,BV as RequestCensusStatusSchema,JE as RetrainAnnotationDraftSchema,WE as RetrainAnnotationKindSchema,qE as RetrainAnnotationSchema,GE as RetrainAnnotationSourceSchema,nD as RetrainAssistResultSchema,tD as RetrainAssistSubjectSchema,QE as RetrainCopyRefusalSchema,XE as RetrainFrameCandidateSchema,eD as RetrainFrameListSchema,ZE as RetrainFrameSchema,$E as RetrainFrameSelectionSchema,UE as RetrainMacroClassSchema,yE as RetrainStatusSchema,YE as RetrainTrackSchema,rD as RetrainTransitionResultSchema,PQ as RingBuffer,cm as RtpSourceSchema,Xp as RtspRestreamEntrySchema,ok as RunnerCameraConfigSchema,sk as RunnerCameraDeviceUIFields,rk as RunnerFrameSourceSchema,ak as RunnerInferenceDeviceSchema,ik as RunnerJumpStepProvisioningSchema,ck as RunnerLocalLoadSchema,dk as RunnerLocalMetricsSchema,RB as SCENE_CONDITIONS,QB as SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX,ZB as SCENE_CONFIRM_DEFAULT_TIMEOUT_MS,YB as SCENE_DEFAULT_ANCHOR_THRESHOLD,JB as SCENE_DEFAULT_CHECK_INTERVAL_SEC,qB as SCENE_DEFAULT_OBSERVATION_SPACING_SEC,KB as SCENE_DEFAULT_QUIET_SECONDS,XB as SCENE_DEFAULT_UNCOVERED_POLICY,BB as SCENE_DIVERGED,$B as SCENE_RESET_RECAPTURES,cK as SCOPE_PRESETS,kW as SENSOR_FEATURES,jW as SENSOR_MAP,Qe as SHARE_VIEW_KINDS,br as SOURCE_CAPS,vr as SOURCE_CAP_ACTIVE_FIELD,yr as SOURCE_CAP_CHANGED_AT_FIELD,xr as SOURCE_DEVICE_TYPES,j_ as SOURCE_INFO_METADATA_KEY,_X as STATE_LABELS,gX as STATE_LABEL_KEYS,Cu as STATIONARY_OVERLAY_STYLE,Pl as STORAGE_ACCESS_FALLBACK,Al as STORAGE_BYTES_PER_GB,fl as STORAGE_LOCATION_MODES,SV as STREAM_PROFILE_META,Ts as STREAM_QUALITY_LABELS,ul as SUB_DETECTION_TYPES,LW as SYSTEM_CAP_NAMES,$G as SYSTEM_SCOPE_DEVICE_METHODS,GB as SceneCheckSchema,LB as SceneConditionSchema,eV as SceneConfirmSchema,tV as SceneMonitorSchema,WB as SceneMonitorStateSchema,rV as SceneMonitorStatusForDeviceSchema,nV as SceneMonitorStatusSchema,UB as SceneReferenceSchema,HB as SceneUnavailableSchema,zB as SceneUncoveredPolicySchema,VB as SceneVerdictSchema,fT as ScopedTokenSchema,yH as ScopedTokenSummarySchema,xD as ScoredObjectEventSchema,cV as ScriptRunnerStatusSchema,QM as SearchResultSchema,CA as SendEmailInputSchema,wA as SendEmailResultSchema,Gx as SendResultSchema,fE as SensorEventSchema,lA as ServerBootModeSchema,_A as ServerPackageStatusSchema,gA as ServerRollbackInfoSchema,bA as ServerUpdateActionResultSchema,vA as ServerUpdateCheckResultSchema,yA as ServerUpdateOutcomeSchema,uA as ServerUpdateStateSchema,XO as SessionTriggerSchema,Zk as SetCameraSensorsInputSchema,nH as SetLoggingSettingsInputSchema,PV as SetSiteLocationInputSchema,bs as SetTrackPurityInputSchema,xs as SetTrackPurityResultSchema,_s as SetTrackRelationInputSchema,mf as SettingsPatchSchema,a_ as SettingsRecordSchema,V as SettingsSchemaWithValuesSchema,hf as SettingsUpdateResultSchema,m_ as ShmRingStatsSchema,MV as SiteLocationSchema,jV as SiteLocationSourceSchema,NV as SiteLocationStatusSchema,pv as SiteZoneSchema,uV as SmokeStatusSchema,TA as SmtpStatusSchema,DA as SnapshotImageSchema,D_ as SourceInfoSchema,Mf as SpatialDetectionSchema,AA as SsoBridgeClaimsSchema,wx as StartEmbeddedInputSchema,VH as StationaryObjectSchema,KA as StorageAbortUploadInputSchema,Nl as StorageAccessSchema,qA as StorageBeginDownloadInputSchema,JA as StorageBeginDownloadResultSchema,HA as StorageBeginUploadInputSchema,UA as StorageBeginUploadResultSchema,sl as StorageCleanupInputSchema,cl as StorageCleanupJobSchema,ol as StorageCleanupPhaseSchema,ll as StorageCleanupStatusInputSchema,Ml as StorageDrainProgressSchema,XA as StorageEndDownloadInputSchema,ml as StorageEvictionPolicySchema,GA as StorageFinalizeUploadInputSchema,Fl as StorageLocationDeclarationSchema,pl as StorageLocationModeSchema,z as StorageLocationRefSchema,R as StorageLocationSchema,Dl as StorageLocationTypeSchema,Nc as StorageMigrationClassSchema,Pc as StorageMigrationDestinationsSchema,Yc as StorageMigrationDrainInputSchema,Uc as StorageMigrationFindingCodeSchema,Wc as StorageMigrationFindingSchema,Dc as StorageMigrationFootageMoveInputSchema,Lc as StorageMigrationInputSchema,Hc as StorageMigrationJobSchema,Kc as StorageMigrationLaneSchema,L as StorageMigrationLeaseInputSchema,Mc as StorageMigrationMediaMoveInputSchema,Ic as StorageMigrationModeSchema,Bc as StorageMigrationMoveProgressSchema,Vc as StorageMigrationMoveSchema,qc as StorageMigrationMoverSchema,zc as StorageMigrationParticipantSchema,Rc as StorageMigrationPhaseSchema,Gc as StorageMigrationPlanSchema,Jc as StorageMigrationResidueSchema,Fc as StorageMigrationSourcesSchema,RA as StorageOccupancyReportSchema,BA as StorageProviderInfoSchema,YA as StorageReadChunkInputSchema,VA as StorageTestLocationResultSchema,WA as StorageWriteChunkInputSchema,mm as StreamCodecSchema,Gp as StreamFormatSchema,$I as StreamNetworkStatsSchema,yV as StreamParamsOptionsSchema,_V as StreamParamsStatusSchema,gV as StreamProfileConfigSchema,vV as StreamProfileOptionsSchema,bV as StreamProfilePatchSchema,hV as StreamProfileSchema,QA as StreamSignalSchema,$A as StreamSignalsStatusSchema,ht as StreamSourceEntrySchema,gt as StreamSourceSchema,wt as SubscribeAudioChunksInputSchema,Tt as SubscribeAudioChunksResultSchema,bt as SubscribeFramesInputSchema,xt as SubscribeFramesResultSchema,EV as SwitchStatusSchema,ox as SystemMetricsSchema,NG as SystemMirror,q as TAXONOMY_COLORS,NX as TIMELAPSE_DENSE_FLOOR_SEC,Bl as TIMEZONES,ds as TRACK_RELATIONS_DEFAULT_LIMIT,Wa as TRANSCODE_DOWN_MAX_BITRATE_KBPS,Ua as TRANSCODE_DOWN_MAX_HEIGHT,aH as TamperStatusSchema,DH as TankStatusSchema,zx as TargetKindCapsSchema,Rx as TargetKindLevelSchema,Vx as TargetKindSchema,Hx as TargetSchema,sH as TemperatureSensorStatusSchema,aj as TerminalInstanceInfoSchema,oj as TerminalLegacyCameraSchema,cj as TerminalOutputBatchSchema,sj as TerminalOutputEventSchema,ij as TerminalProfileInfoSchema,rj as TerminalSessionInfoSchema,kF as TestConnectionResultSchema,OF as TestConnectionStatusEnum,Kx as TestResultSchema,zX as TimelapseRuleInputSchema,VX as TimelapseRulePatchSchema,HX as TimelapseRuleSchema,EX as TimelapseTemplateSchema,lH as ToastSchema,X as TokenScopeSchema,cL as TopologyNodeSchema,iL as TopologyProcessSchema,rL as TopologyServiceSchema,CD as TrackCascadeCountsSchema,hE as TrackEnvelopeSchema,CE as TrackFlagsPatchSchema,wE as TrackFlagsSchema,gE as TrackProjectionSchema,gs as TrackPuritySchema,ms as TrackPurityValueSchema,fs as TrackRelationKindSchema,ws as TrackRelationRefusalSchema,hs as TrackRelationSchema,AE as TrackSchema,ps as TrackSideSchema,vE as TrackSourceSchema,iE as TrackStateSchema,oE as TrackZoneFilterSchema,yD as TrackedDetectionSchema,OE as TrainingExportDeviceTotalsSchema,kE as TrainingExportSummarySchema,IV as TransportPlaneCountsSchema,FV as TransportPlaneSchema,uj as TurnServerSchema,au as UNATTRIBUTED_BUCKET_KEY,nU as UNIT_TABLE,rU as UnitConversionError,jc as UnstampedEventMediaCountSchema,Ac as UnstampedRowsSchema,jF as UpdateIntegrationInputSchema,dH as UpdateStatusSchema,hH as UpdateUserInputSchema,uT as UserRecordSchema,pH as UserSummarySchema,Nj as VECTOR_INDEX_DIM_CONFLICT,$j as VIDEOCLIPS_MAX_OFFER_BYTES,Qj as VIDEOCLIPS_MAX_READ_BYTES,dc as VISIT_MERGE_GAP_MS,OH as VacuumControlStatusSchema,EH as VacuumStateSchema,AH as ValveStateSchema,jH as ValveStatusSchema,yj as VectorDeclareIndexInputSchema,Tj as VectorDeleteByFilterInputSchema,wj as VectorDeleteInputSchema,Ej as VectorDeleteResultSchema,gj as VectorFilterSchema,Dj as VectorGetInputSchema,Oj as VectorGetResultSchema,_j as VectorItemSchema,vj as VectorMatchSchema,hj as VectorMetadataSchema,mj as VectorMetricSchema,Sj as VectorQueryInputSchema,Cj as VectorQueryResultSchema,Ij as VectorStatsInputSchema,Lj as VectorStatsResultSchema,bj as VectorUpsertInputSchema,xj as VectorUpsertResultSchema,NH as VibrationStatusSchema,ka as VideoEncodeSchema,EM as WEBRTC_CLIMB_HOLD_CODES,za as WEBRTC_EGRESS_PROFILE,DM as WEBRTC_TRY_BLOCKERS,hB as WEEKLY_MASK_LENGTH,De as WELL_KNOWN_TABS,Oe as WELL_KNOWN_TAB_MAP,FH as WaterHeaterStatusSchema,LH as WeatherStatusSchema,OM as WebrtcClimbHoldSchema,TM as WebrtcLadderDecisionSchema,AM as WebrtcSessionDebugSchema,wM as WebrtcStreamChoiceSchema,CM as WebrtcStreamTargetSchema,kM as WebrtcTierFailureSchema,_F as WhiteBalanceModeSchema,_f as WidgetHostEnum,Rb as WidgetLoginMethodSchema,bf as WidgetMetadataSchema,yf as WidgetRemoteSchema,vf as WidgetSizeEnum,Pv as WrapperActivationReadSchema,mA as WrapperEvidenceSchema,hA as WrapperIdentitySchema,pA as WrapperKindSchema,Xx as YAMNET_TO_MACRO,PE as ZoneCrossingDirectionSchema,FE as ZoneCrossingSchema,DO as ZoneKindEnum,aV as ZoneRuleModeEnum,oV as ZoneRuleSchema,JH as ZoneRuleStageEnum,sV as ZoneRulesArraySchema,kO as ZoneSchema,BH as ZoneScopeBreakdownSchema,Xl as __resetLogChannelRegistryForTests,NM as accessoriesCapability,JU as accessoryStableId,qW as actionsForBoundCaps,YW as actionsForDevice,JW as actionsForDeviceType,XW as actionsForDevices,yY as activateAlarmProfile,af as addonPagesCapability,sf as addonPagesSourceCapability,df as addonRoutesCapability,gf as addonSettingsCapability,Cf as addonWidgetsCapability,xf as addonWidgetsSourceCapability,dN as addonsCapability,tn as adminUiCapability,pN as airQualitySensorCapability,PJ as alarmDeviceBlocksArming,FJ as alarmDeviceSecureOnArm,_S as alarmPanelCapability,oY as alarmPatchLanded,xY as alarmProfileById,Of as alertsCapability,ZW as allDoActions,hN as ambientLightSensorCapability,QJ as applyBlockingEdit,YJ as applyModeDelaysEdits,XJ as applyModeDeviceListEdit,ZJ as applyNonBlockingEdit,$J as applySecureOnArmEdit,kn as asBoolean,En as asJsonArray,Tn as asJsonObject,On as asNumber,Dn as asString,UX as assertTimelapseCadences,kf as audioAnalysisCapability,Kf as audioAnalyzerCapability,xe as audioChunkBytesPerSample,ep as audioCodecCapability,FK as audioIsFailClosed,_K as audioKindId,zK as audioLabelChoices,bN as audioMetricsCapability,PK as audioModeOf,NK as audioOrDefaults,or as audioPlanFromEncodeProfile,mK as audioScaleEraOf,np as authProviderCapability,Ps as autoAssignProfiles,SN as automationControlCapability,Sp as backupCapability,sQ as bareAddonId,wN as batteryCapability,aQ as bestLocationMatch,EN as binaryCapability,ZQ as bindAddonActions,ON as brightnessCapability,Up as brokerCapability,Ta as buildAddonRouteProvider,Jn as buildAudioArgs,$h as buildCapabilityLookup,T_ as buildDeviceAdminUrl,kU as buildDoorbellCompositionFeature,cA as buildEventKindDescriptor,rr as buildFfmpegArgs,LU as buildFrigateClassMap,Hn as buildInputArgs,Fu as buildModelVariantGroups,pS as buildNcTaxonomy,BZ as buildRoleScopes,wV as buildStreamParamsConfigSchema,qn as buildVideoArgs,xM as buildViewerLink,wg as builtCapabilityBlockers,kN as buttonCapability,PN as calendarSourceCapability,BN as calendarsCapability,UN as cameraCredentialsCapability,YN as cameraGridLayoutCapability,GX as cameraOwnsMotionViaSensor,Wp as cameraPipelineConfigCapability,xT as cameraSensorRefKey,vm as cameraStreamsCapability,uU as canConvertUnit,oo as canonicalEgressPlan,ZN as carbonMonoxideCapability,NQ as cellsToRects,jd as classifyBearerPrincipal,ks as classifyStream,Os as classifyStreams,eP as climateControlCapability,Uz as clipExportFailure,Wz as clipExportFailureOf,Gj as clipReasonHeaderValue,fY as cloneAlarmSettings,wi as cloneStatefulExpressionMemory,LT as clusterModelSettingKey,QT as clusterStepSettingFieldsFor,ZT as clusterStepSettingKey,Fa as codecIsAccepted,Ae as collectHydratedFieldEntries,Me as collectHydratedFieldValues,qo as collectSecretConfigKeys,aP as colorCapability,cS as colorForKind,DQ as commitWatchdogRestart,Na as compareToTarget,di as compileExpression,fi as compileExpressionSafe,Wo as composeSwitchedOff,sa as composedDeviceRef,oa as composedDeviceStableId,mh as composerCapability,Jh as compositionEdges,$i as compositionFeatureEnabled,eh as compositionFieldKey,la as compositionItemFieldPath,aa as compositionReadKey,ia as compositionSliceKey,F as compositionSourceKey,dg as compositionSourceRefs,qd as conditionDepth,eJ as conditionExclusionReason,$q as conditionVisibleForKind,uP as connectionTestCapability,fP as connectivityCapability,RS as consumableLowPercentOf,_P as consumablesCapability,yP as contactCapability,CP as controlCapability,NU as convertPresetFeature,cU as convertUnit,Og as coreBlockAddonId,Ug as coreBlockComposition,kg as coreBlockIdFromAddonId,Hg as coreBlockSourceKind,Qg as coreBlocksCapability,dQ as cosineSimilarity,Jd as countConditionLeaves,EP as coverCapability,gY as createAlarmProfile,tU as createDeviceExtensionProvider,bn as createDeviceProxy,Be as createDurableState,Re as createEvent,_n as createEventBusSliceSource,mi as createExpressionScope,Ya as createHwAccelCache,gn as createLazyTrpcSource,Ql as createLogChannelsProvider,vn as createMirrorSource,DG as createRuntimeStateBridge,E as createSliceHandle,Ci as createStatefulExpressionMemory,lK as createSystemProxy,rn as customAction,e_ as customModelRegistryCapability,d_ as dataStoreProviderCapability,up as databaseSnapshotCapability,MP as dayNightCapability,AB as dayOfWeekToIndex,yW as declarationOwnerNodeId,Yl as declareLogChannel,KQ as decodeVectorBase64,h_ as decoderCapability,fJ as defaultDeliveryForSection,a$ as defaultDeviceFor,nn as defineCustomActions,$H as defineExtensionSlotProvider,vY as deleteAlarmProfile,cW as deriveBatteryPresence,Ho as deriveCameraSwitches,cd as deriveClassifierFills,fZ as deriveDetailCropRect,VJ as derivePostTriggeredAction,mc as deriveRecordingMode,Tg as describeComposableCaps,on as describeCustomActions,Lu as describeModelVariant,jB as describeOnboardClamp,_B as describeOnboardRefusal,Lm as describeStateField,rX as describeSystemEventDeliveryProblem,Aq as describeSystemEventFamilyProblem,Rm as describeTopLevelStateFields,HZ as detectAccessRole,g_ as detectionPipelineCapability,y_ as deviceAdminLinkCapability,Y_ as deviceAdoptionCapability,zQ as deviceBackendToFormat,an as deviceCustomAction,I_ as deviceDiscoveryCapability,GW as deviceDoFamily,iv as deviceExportCapability,py as deviceExtensionCapability,Gv as deviceManagerCapability,eG as deviceMatchesProfile,mn as deviceOpsCapability,xv as deviceProviderCapability,WZ as deviceSelectorMatches,vy as deviceStateCapability,PP as deviceStatusCapability,Ir as disarmRoseMemory,uG as displayIconEntry,dG as displayIconsInGroup,$W as doActionSelectValue,LP as doorbellCapability,OU as doorbellFeatureSources,tJ as droppedConditionsForKind,so as egressTranscodeSharingKey,no as egressTransportFromRequest,Iy as embeddingEncoderCapability,ky as embeddingModelFailedError,Fy as embeddingModelFailedOf,Ny as embeddingRefusalOf,jy as embeddingRequirementsFailedError,Ay as embeddingRequirementsUnavailableError,It as emitDownForOwnedCaps,ze as emitReadiness,ym as emitsCollectionSelector,Ma as encodeProfileFromStreamShape,GQ as encodeVectorBase64,pY as ensureAlarmProfiles,BP as enumSensorCapability,u$ as enumerateInferenceDevices,Fm as enumerateItemArrayFields,Pm as enumerateSchemaFields,In as errMsg,Si as evaluateAst,gU as evaluateCompositionField,Lr as evaluateCount,ki as evaluateExpressionSource,EQ as evaluatePoolMemory,Fr as evaluateRose,Dr as evaluateSensorEdge,Er as evaluateSensorLevelEdge,Ti as evaluateStatefulExpressionCall,JQ as evaluateZoneRules,Zt as event,UP as eventEmitterCapability,TX as eventKindLabel,vl as evictionPolicyForMode,wl as evictionPolicyOfLocation,Se as expandAudioChunkToF32le,Jt as expandCapMethods,gW as expandContainer,Zz as exportSubjectOf,CW as exposeBlockDevices,Oh as expressionContainsBuiltinCall,eU as extensionSlotRef,Tm as extractNestedAddonId,M_ as extractSourceInfoFromMetadata,eF as faceGalleryCapability,zy as failureContributionCapability,iu as failureRate,rF as fanControlCapability,ua as featureFieldEntries,aF as featureProbeCapability,da as featureSources,EU as feederCustomizationExample,TU as feederExampleSources,Qa as ffmpegRate,ca as fieldReads,Hy as filesystemBrowseCapability,ld as fillFor,Qh as findCandidateCycles,Yh as findCompositionCycles,Vl as findTimezone,sF as floodCapability,lu as foldSnapshotByFunction,HQ as formatForRuntime,va as formatMediaOwnerKey,CB as formatMinutes,wu as formatParkedFor,RU as frigateLabelFields,lF as gasCapability,jl as gbToBytes,tf as generateAutomationBlock,eS as getAudioMacroClassIds,_G as getByPath,nK as getCapsByProviderKind,Jl as getLogChannelRegistry,sS as getTaxonomyEntry,$a as gifDeriveSpeed,eo as gifFilterComplex,to as gifFromMp4Args,OW as hasMotionTrigger,mQ as hfModelUrl,iq as htmlToText,YX as hubMotionNativeProvider,dF as humidifierCapability,pF as humiditySensorCapability,Pe as hydrateSchema,hF as imageCapability,wF as imageSettingsCapability,kh as inferExpressionKinds,yd as inferModelProvider,xQ as initialPoolMemoryState,NF as integrationsCapability,LF as intercomCapability,BT as interpretStoredClusterModel,VT as invalidClusterStepModelEntries,jU as invertPresetFeature,sr as invocationFromEncodeProfile,vo as isAgentOnlyPlacement,EJ as isAlarmControllableCap,hM as isAppLinkBase,Sm as isArrayOutputSchema,be as isAudioChunkFormat,ZK as isAudioClassName,BK as isAudioLabelSelected,aJ as isAudioRule,tq as isBaseConditionKey,lW as isBatteryPresenceFault,RT as isClusterScopedStep,od as isCocoLabelmap,Cm as isCollectionArrayMethod,dY as isDefaultAlarmProfileId,_o as isDeployableToAgent,qu as isDetectionMacroClass,Qt as isDeviceConfigCap,Sn as isDeviceScopedCap,lG as isDisplayIconKey,zW as isDoActionActuatable,WW as isDoPickerDeviceType,Py as isEmbeddingModelFailed,Le as isEvent,wX as isEventKindLabelKey,wa as isEventOwnerType,Xu as isFillableStepId,Js as isFirstLevelMacroClass,UY as isHeldBackTemplateVar,So as isIsolatedBuiltin,XY as isKnownTemplateVar,kl as isLocationEnabled,ga as isMediaOwnerType,MW as isNode,xm as isObjectInput,oJ as isOccupancyRule,_e as isOwnerOnlyEventCategory,tZ as isRemovedModelId,oK as isRestoredCap,MC as isRetiredClearKey,cQ as isSameAddonId,bJ as isScheduleActive,Ko as isSecretConfigField,Vn as isSoftwareDecode,Sr as isSourceCap,yX as isStateLabelKey,Or as isStatefulBuiltin,xl as isStorageLocationMode,Kq as isSystemDelivery,bq as isSystemEventFamily,eX as isSystemEventSummaryRule,Mq as isSystemRuleKind,Fj as isVectorIndexDimConflict,bm as isVoidInput,pK as ituDbfsFromPreEpoch,PM as jobKindSchema,jm as kebabToCamel,yh as kindOfValue,Wq as kindsForDiscriminator,QK as knownValues,VF as lawnMowerControlCapability,_W as legacyAutoLinkIds,yl as legacyModeOf,VM as lifecycleJobSchema,BM as lifecycleJobScopeSchema,zM as lifecycleJobStateSchema,RM as lifecycleTaskSchema,id as linkedLabelStepId,ad as linkedStepOf,Eb as llmCapability,pb as llmRuntimeCapability,Ab as loadContributionCapability,eI as localNetworkCapability,lv as locationIconKey,iQ as locationSimilarity,rI as lockControlCapability,Bn as logBannerArgs,Mb as logChannelsCapability,Fb as logDestinationCapability,Ls as logLevelAtMost,Vb as loginMethodCapability,wm as looseSchema,dt as makeProfileBrokerId,ft as makeSourceBrokerId,$x as mapAudioLabelToMacro,cq as markdownToHtmlLite,nq as markdownToText,_Q as maskUrlCredentials,QW as matchDoAction,Cl as mayReadLocation,Sl as mayWriteToLocation,cI as mediaPlayerCapability,co as memoizePinnedFfmpeg,k_ as mergeSourceInfo,fI as meshNetworkCapability,T as method,Od as methodAccessForHttpMethod,sx as metricsProviderCapability,Sc as migrateLegacyDeviceSignalConfig,kB as minutesToTimeOfDay,_l as modeMayRead,gl as modeMayWrite,lx as modelConvertCapability,fx as modelDistributorCapability,o$ as modelFormatForRuntime,gI as motionCapability,hx as motionDetectionCapability,$O as motionSourceLabel,yI as motionTriggerCapability,wI as motionZonesCapability,Dx as mqttBrokerCapability,MI as nativeObjectDetectionCapability,KI as navigationCapability,uY as ncAlarmSystemDefaultSettings,jx as networkAccessCapability,QI as networkLinkCapability,nL as networkQualityCapability,uX as nodePickerItems,Rt as nodePin,bL as nodesCapability,Ye as normalizeAddonInitResult,gK as normalizeAudioLabel,zg as normalizeCoreBlockWrite,Ve as normalizeNodeId,XZ as normalizeTokenScopes,A_ as normalizeUnit,Jx as notificationOutputCapability,nT as notificationRulesCapability,DL as notifierCapability,kL as numericSensorCapability,mT as oauthIntegrationCapability,Em as objectInputDeclaresAddonId,Dm as objectInputDeclaresRequiredDeviceId,BD as occupancyScope,Bm as optionalAncestors,Xt as optionalMethod,FL as osdCapability,JL as osdManagerCapability,rE as overlayClusterStepSettings,hX as packagePickerItems,E_ as parseAdminBase,Ns as parseCameraStreamConfig,ci as parseExpression,jn as parseJsonArray,An as parseJsonObject,wn as parseJsonUnknown,_a as parseMediaOwnerKey,VD as parseOccupancyScope,bQ as parseProcStatus,pt as parseProfileBrokerId,iJ as parseRuleSection,TV as parseStreamParamsFormPatch,RK as patchAudio,eR as petFeederCapability,AW as pickAccessoryControl,vM as pickAppLinkHub,WT as pickClusterStepModels,nE as pickClusterStepSettings,lZ as pickDetailCropConvention,GT as pickInvalidClusterStepModels,LZ as pickNativeLeaseOverride,hu as pickPreferredRtspEntry,kQ as pickRestartCandidate,ar as pickVideoEncoder,JK as pickerForCondition,XK as pickerForRuleClasses,UD as pipelineAnalyticsCapability,CO as pipelineExecutorCapability,tA as pipelineOrchestratorCapability,pk as pipelineRunnerCapability,ug as planComposition,Km as planCompositionEvents,Hh as planItems,oR as plateGalleryCapability,SR as platformProbeCapability,wQ as poolMemoryThreshold,wR as powerMeterCapability,hq as prepareNotification,DR as presenceCapability,kR as pressureSensorCapability,Md as principalMayReachAddon,FR as privacyMaskCapability,Am as procedureAuthKey,ZX as providerMotionEvent,XR as ptzAutotrackCapability,GR as ptzCapability,ve as publicEventCategories,UQ as pythonScriptForBackend,La as rankStreams,HT as readClusterStepModels,eE as readClusterStepSettings,sZ as readDetailCropConvention,BU as readDeviceStateFrom,JX as readHubMotionDetected,qX as readHubMotionStatus,ud as readLabelLinkPolicy,_T as readMotionTriggeredBy,PZ as readNativeLeaseOverride,Bt as readNodePin,WX as readTimelapseGeneratedAt,At as readinessKey,ZR as rebootCapability,SW as reconcileBlockDevices,Az as recordingArchiveCapability,lz as recordingCapability,Qz as recordingExportCapability,dB as recordingOnboardCapability,PB as recordingSignalCapability,MQ as rectsToCells,mu as reducePoints,_Y as renameAlarmProfile,pg as replacedFieldKeys,zm as requiredTopLevelKeys,WQ as requiresPython,IB as reservedSourceOwner,OQ as resetPoolBaseline,go as resolveAddonExecution,yo as resolveAddonGroup,xo as resolveAddonPlacement,pu as resolveBucketMs,Ht as resolveCapMount,Uu as resolveClipSearchMinScore,JT as resolveClusterStepModelId,hW as resolveContainerPrimaryChild,Lg as resolveCoreBlockEntry,Rg as resolveCoreBlockFiles,Xz as resolveCreateExportSubject,EW as resolveDeviceControlKind,rG as resolveDeviceProfile,Za as resolveEgressDecodeHwAccel,Jz as resolveExportProfiles,uq as resolveFormat,Ne as resolveHydratedFieldValue,dd as resolveLabelLink,uv as resolveLocationIcon,bl as resolveLocationMode,km as resolveMethodAuth,UJ as resolveModeDelays,BJ as resolveModeNotifyPolicy,NW as resolveMutate,yQ as resolvePoolMemoryPolicy,gc as resolveRecordingProfiles,bo as resolveRunnerId,Un as resolveStreamMaps,Iu as resolveVariantModelId,YZ as resolveViewableDeviceIds,zZ as roleSpec,SU as roomCompositionExample,AJ as ruleAutoTriggersAlarm,kJ as ruleBelongsToAlarm,qq as ruleDeviceCompatCapNames,Yq as ruleDeviceCompatCapQueries,hJ as ruleEditorSectionsForKind,OJ as ruleGatedOnArmedState,Zq as ruleGroupingApplies,Xq as ruleKindOf,Uq as ruleKindSpec,sJ as ruleMatchesSection,rJ as ruleSection,cJ as ruleSectionOf,dJ as ruleSeedForSection,FQ as runInferenceStep,i$ as runtimeDevices,iK as runtimeStatePolicyFor,KW as sameDoFamily,iV as sceneMonitorCapability,aX as scheduleForSendTimes,Jo as schemaDeclaresAnyField,qZ as scopeInherits,jt as scopeKey,Ad as scopesAllowAddon,kd as scopesAllowDeviceCap,s$ as scoreRuntimes,lV as scriptRunnerCapability,hG as searchDisplayIcons,IJ as secureActuationFor,mt as selectAssignedProfileSlots,sX as sendTimesForEditor,oX as sendTimesOfSchedule,TY as sensorRaisedOf,NJ as sensorTransitionNeverFires,EY as sensorTransitionOffered,HY as servedTemplateVars,xA as serverManagementCapability,vG as setByPath,l_ as settingsStoreCapability,XI as signalPercentFromBars,ZI as signalPercentFromRssi,mv as siteZoneKey,Mn as sleep,Nn as sleepCancellable,Cr as sliceActiveValue,wr as sliceChangedAt,dV as smokeCapability,EA as smtpProviderCapability,kA as snapshotCapability,jA as ssoBridgeCapability,CG as startReachabilityPoll,bX as stateLabel,VU as stateVocabularyFor,$X as stepModelRunsOnFormat,NA as storageCapability,IA as storageEvictableCapability,LA as storageMigrationCapability,zA as storageOccupancyCapability,ZA as storageProviderCapability,pm as streamBrokerCapability,mV as streamCatalogCapability,xV as streamParamsCapability,Ds as streamPixels,Es as streamQualityLabel,ej as streamSignalsCapability,uc as stripRetiredBandPreBufferSec,Tl as strippedOfLegacyReadOnly,lS as subKindsOf,IR as summarisePrivacyAudio,tQ as summarizeEffectiveScope,r$ as supportedRuntimes,DV as switchCapability,Uo as switchedOffIds,bY as syncActiveAlarmProfileSettings,O_ as synthesizeSourceInfo,iH as systemCapability,nX as systemEventDeliveryProblems,Oq as systemEventFamilyOf,kq as systemEventFamilyProblems,_q as systemEventFilterApplies,vq as systemEventFilterAppliesToAnyKind,Dq as systemEventKindNamesOf,Eq as systemEventKindsOfFamily,QY as systemEventSummaryScheduleOf,$Y as systemEventSummarySplitOf,Nq as systemFamilyOfKind,Qq as systemRuleKindOf,oH as tamperCapability,LM as taskLogEntrySchema,FM as taskPhaseSchema,IM as taskTargetSchema,cH as temperatureSensorCapability,lX as templateCarriesSummary,WY as templateVarDeliveryApplies,qY as templateVarKindApplies,JY as templateVarSystemEventApplies,YY as templateVarsFor,lj as terminalSessionCapability,sq as textToHtml,OB as timeOfDayToMinutes,_M as toAppLinkHubOrigin,aW as toDeviceSummary,Di as toExpressionValue,zt as toNodeId,As as toStreamSourceEntry,uH as toastCapability,VK as toggleAudioLabel,ti as tokenize,dq as transcodeBody,lU as tryConvertUnit,dj as turnProviderCapability,aU as unitDimension,dU as unitsForDimension,sy as unreachableExtensionSlotRow,Mm as unwrapSchema,fH as updateCapability,TH as userManagementCapability,pj as userPasskeysCapability,kH as vacuumControlCapability,bg as validateComposition,Oi as validateExpressionSource,Xd as validateRecipeBounds,MH as valveCapability,qQ as vectorDimFromBase64,Pj as vectorIndexDimConflictError,Rj as vectorStoreCapability,PH as vibrationCapability,dM as videoclipsCapability,gM as viewerLinkBaseOf,un as viewerUiCapability,IH as waterHeaterCapability,RH as weatherCapability,SM as webrtcClientHintsSchema,jM as webrtcSessionCapability,wB as weeklyMaskIndex,TB as weeklyMaskIsUniform,EB as weeklyMaskToWindows,DB as windowsToWeeklyMask,fo as wiringAddonHealthSchema,mo as wiringHealthSnapshotSchema,po as wiringNodeHealthSchema,lo as wiringProbeKindSchema,uo as wiringProbeResultSchema,El as withLocationMode,zG as zodEntriesToConfigUI,qH as zoneAnalyticsCapability,YH as zoneRulesCapability,AO as zonesCapability};