@camstack/addon-admin-ui 1.2.132 → 1.2.133
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.
- package/dist/assets/{AddLocationWizard-6ATNYrjM.js → AddLocationWizard-D6XT4vuA.js} +1 -1
- package/dist/assets/{AddonCollectionPage-DCbev8Bt.js → AddonCollectionPage-Dk9GuUTX.js} +1 -1
- package/dist/assets/{Addons-CV31BuBn.js → Addons-D4VNdHei.js} +1 -1
- package/dist/assets/{AdminTabs-CjKVzLow.js → AdminTabs-DuCWG_SL.js} +1 -1
- package/dist/assets/{AiProfiles-PhDyeFeH.js → AiProfiles-DrI7Fkzi.js} +1 -1
- package/dist/assets/{BrokerForm-BnBFXJav.js → BrokerForm-TGCkG5i5.js} +1 -1
- package/dist/assets/{Build-BX8ZYYvI.js → Build-CBOhgWFX.js} +1 -1
- package/dist/assets/{Capabilities-JzhDiKH3.js → Capabilities-DQnPc_lf.js} +1 -1
- package/dist/assets/{CapabilityBadges-Di-XG_V2.js → CapabilityBadges-C-pQEsun.js} +1 -1
- package/dist/assets/Cluster-ClHxs8rX.js +11 -0
- package/dist/assets/{Data-BLbDw3Qi.js → Data-D2N8AR1i.js} +1 -1
- package/dist/assets/DetectionIntelligence-CrtM4Kiw.js +1 -0
- package/dist/assets/{DeviceAggregateSection-B21sSDU8.js → DeviceAggregateSection-CdjE-CGt.js} +1 -1
- package/dist/assets/DeviceDetail-aGiYyTVI.js +2 -0
- package/dist/assets/{Devices-CFyp-bTP.js → Devices-BWxp2jk-.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-BrYe9pWI.js → EmbedPlayerPage-IBU9zhwj.js} +1 -1
- package/dist/assets/Events-CA0HdPtp.js +1 -0
- package/dist/assets/{FormBuilder-C9W0JD97.js → FormBuilder-q2oxATW0.js} +1 -1
- package/dist/assets/Identity-D3Knqaix.js +1 -0
- package/dist/assets/IntegrationDetail-B83JX-1S.js +1 -0
- package/dist/assets/{Integrations-lxasor4g.js → Integrations-DQ1IW9-8.js} +1 -1
- package/dist/assets/Integrations-ubDaE5Ry.js +1 -0
- package/dist/assets/{Locations-D_gKD5A1.js → Locations-DyH744t2.js} +1 -1
- package/dist/assets/{Logs-CBBpDiQM.js → Logs-CA_ESxSr.js} +1 -1
- package/dist/assets/{MotionZonesSettings-C6Z9rAIP.js → MotionZonesSettings-r9nFEi6f.js} +1 -1
- package/dist/assets/{MyAccess-B7WRNyXp.js → MyAccess-rBqNPgL3.js} +1 -1
- package/dist/assets/Network-8rv_2JtZ.js +1 -0
- package/dist/assets/{NodeAddonsSettingsPanel-DUCth2UR.js → NodeAddonsSettingsPanel-CPmp4-C9.js} +1 -1
- package/dist/assets/{NodeInferenceDevices-mv81Y6ys.js → NodeInferenceDevices-CgahPSSt.js} +1 -1
- package/dist/assets/Notifications-DLcYsAj1.js +1 -0
- package/dist/assets/Pipeline-BP6PG2Q9.js +1 -0
- package/dist/assets/Plates-Bpk78-gE.js +1 -0
- package/dist/assets/{PrivacyMaskSettings-2ca_qpO6.js → PrivacyMaskSettings-BiT9hQAV.js} +1 -1
- package/dist/assets/{ProviderIcon-B4SKpCgj.js → ProviderIcon-CGNG0pBW.js} +1 -1
- package/dist/assets/Recordings-Dr52wK0e.js +1 -0
- package/dist/assets/{ScanNetworkModal-ClJO8ogE.js → ScanNetworkModal-BP25rTbA.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-BgKnMQKe.js → SceneMonitorEditor-x1YamDSu.js} +1 -1
- package/dist/assets/{Scenes-BxhKK3pU.js → Scenes-y5wrmuur.js} +1 -1
- package/dist/assets/{Settings-BBoYKSUm.js → Settings-8R9EwlR_.js} +1 -1
- package/dist/assets/{Showroom-BmA1_lSy.js → Showroom-Ba2_YT1t.js} +1 -1
- package/dist/assets/{StorageLocationsPanel-Ci1yYy5-.js → StorageLocationsPanel-Cb7e27Jf.js} +1 -1
- package/dist/assets/{Terminal-BaaG1pLz.js → Terminal-DpwlBosE.js} +3 -3
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-T7wDosHe.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-DXVDbHW6.js} +1 -1
- package/dist/assets/{bell-off-CgMq4Ogk.js → bell-off-BkVNCTlz.js} +1 -1
- package/dist/assets/{bell-ring-_12GgrIl.js → bell-ring-C1kgYVgL.js} +1 -1
- package/dist/assets/{boxes-B7-ii2is.js → boxes-CQKMwHBZ.js} +1 -1
- package/dist/assets/circle-check-big-CcXivLUy.js +1 -0
- package/dist/assets/circle-dot-CIfo-znS.js +1 -0
- package/dist/assets/{circle-x-BzuFiVRH.js → circle-x-B8ZmC37F.js} +1 -1
- package/dist/assets/clock-CXPKH2dT.js +1 -0
- package/dist/assets/{copy-DZ-3SVnz.js → copy-CXDTREVv.js} +1 -1
- package/dist/assets/{debounced-invalidate-C5ZjlpDr.js → debounced-invalidate-Dox8ZS-q.js} +1 -1
- package/dist/assets/{dist-Db4oRh-1.js → dist-CQ2ppZs-.js} +1 -1
- package/dist/assets/{dist-fFpE9HRC.js → dist-nYn-S-oV.js} +1 -1
- package/dist/assets/{download-H1rzCXbR.js → download-C0pNnlKj.js} +1 -1
- package/dist/assets/{face-bbox-D1LZDm5v.js → face-bbox-xu8Qlb8r.js} +1 -1
- package/dist/assets/{flame-BxWqD-L5.js → flame-BGjdV319.js} +1 -1
- package/dist/assets/{hard-drive-CKV8Uv6O.js → hard-drive-DjGNtDXr.js} +1 -1
- package/dist/assets/{hostInit-B-TKp2C_.js → hostInit-CAl5QIPS.js} +1 -1
- package/dist/assets/index-DalvuwcK.js +4 -0
- package/dist/assets/{key-round-BE22kGDo.js → key-round-DRCVL-kM.js} +1 -1
- package/dist/assets/{layers-Cka_FcYP.js → layers-2uukXT60.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-04182267.js → mf-entry-bootstrap-0-6dddcdbf.js} +2 -2
- package/dist/assets/{pencil-41O4eHNy.js → pencil-BUEAYwqN.js} +1 -1
- package/dist/assets/play-ckP7J5Zm.js +1 -0
- package/dist/assets/{player-overlays-HI_DHIYc.js → player-overlays-C3I025v9.js} +1 -1
- package/dist/assets/plus-D3CNZJcK.js +1 -0
- package/dist/assets/power-Brm2XE3X.js +1 -0
- package/dist/assets/{radio-Cxr9zukJ.js → radio-DqmqIUdo.js} +1 -1
- package/dist/assets/{refresh-cw-ce0Y6OiJ.js → refresh-cw-CAAh5XyA.js} +1 -1
- package/dist/assets/remoteEntry-DFM4kowH.js +1 -0
- package/dist/assets/rotate-ccw-DveK8I3_.js +1 -0
- package/dist/assets/rotate-cw-BJ98_Cry.js +1 -0
- package/dist/assets/{send-CpLK_Aw9.js → send-f9IDxhNs.js} +1 -1
- package/dist/assets/{server-B3ndDUUe.js → server-qATQnJsr.js} +1 -1
- package/dist/assets/{shield-CBwbYZVU.js → shield-DBssjAHv.js} +1 -1
- package/dist/assets/{shield-alert-CJwq6N1w.js → shield-alert-CbUkH_Ei.js} +1 -1
- package/dist/assets/square-DAOZKEHV.js +1 -0
- package/dist/assets/{square-check-big-DMFYVKb-.js → square-check-big-D9_A7Oa5.js} +1 -1
- package/dist/assets/{src-6ex6NLOy.js → src-CCr5jG67.js} +1 -1
- package/dist/assets/src-Coe6ub7W.js +67 -0
- package/dist/assets/{undo-2-mhYO9tDJ.js → undo-2-ChKaXm2M.js} +1 -1
- package/dist/assets/{use-scenes-feed-C_M33v5A.js → use-scenes-feed-Cat2HDbh.js} +1 -1
- package/dist/assets/useEventInvalidation-C-NK7msH.js +1 -0
- package/dist/assets/{useNodeUrlSelection-Btm6dt7x.js → useNodeUrlSelection-CWge_OOL.js} +1 -1
- package/dist/assets/user-round-Z2N0daFf.js +1 -0
- package/dist/assets/{video-YKC2IG7f.js → video-C19I6iDt.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-BtU5ksYm.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-HDWx7Yhh.js} +2 -2
- package/dist/assets/{wifi-DeHxhh4Q.js → wifi-BvXQSpsq.js} +1 -1
- package/dist/assets/{zap-GMacvpp9.js → zap-D2a6f3rc.js} +1 -1
- package/dist/index.html +5 -5
- package/dist/server/addon.js +1 -1
- package/package.json +1 -1
- package/dist/assets/Cluster-DKT-5oGQ.js +0 -11
- package/dist/assets/DetectionIntelligence-B20t_MhC.js +0 -1
- package/dist/assets/DeviceDetail-BOrGL8yW.js +0 -2
- package/dist/assets/Events-vNu7UDgj.js +0 -1
- package/dist/assets/Identity-DofnEoKm.js +0 -1
- package/dist/assets/IntegrationDetail-CkZ8IayK.js +0 -1
- package/dist/assets/Integrations-BBeoFrfr.js +0 -1
- package/dist/assets/Network-WS1yYKUK.js +0 -1
- package/dist/assets/Notifications-rmQpKvbM.js +0 -1
- package/dist/assets/Pipeline-C6NAgFvf.js +0 -1
- package/dist/assets/Plates-BI88dIIE.js +0 -1
- package/dist/assets/Recordings-C2Q08D8R.js +0 -1
- package/dist/assets/circle-check-big-CHPVKL0g.js +0 -1
- package/dist/assets/circle-dot-BKyKwObP.js +0 -1
- package/dist/assets/clock-DMPflx2t.js +0 -1
- package/dist/assets/index-Bo0PCWht.js +0 -4
- package/dist/assets/play-C85bN_h1.js +0 -1
- package/dist/assets/plus-bLL0eB3V.js +0 -1
- package/dist/assets/power-BTldCr7T.js +0 -1
- package/dist/assets/remoteEntry-xd5aBrYf.js +0 -1
- package/dist/assets/rotate-ccw-DYpZ87lM.js +0 -1
- package/dist/assets/rotate-cw-BF-BmrTI.js +0 -1
- package/dist/assets/square-B6FVyKkr.js +0 -1
- package/dist/assets/src-CCK0xLZ1.js +0 -67
- package/dist/assets/useEventInvalidation-BSlACo3I.js +0 -1
- package/dist/assets/user-round-D4jxB6Rr.js +0 -1
|
@@ -346,4 +346,4 @@ ${r.triggers.map((e,t)=>ic(e,t)).join(`
|
|
|
346
346
|
`).replace(/<\s*\/\s*(p|div|li|h[1-6])\s*>/gi,`
|
|
347
347
|
`).replace(/<[^>]+>/g,``);for(let[e,n]of mM)t=t.replace(e,n);return t.replace(/\n{3,}/g,`
|
|
348
348
|
|
|
349
|
-
`).trim()}var gM=[[/&/g,`&`],[/</g,`<`],[/>/g,`>`],[/"/g,`"`],[/'/g,`'`]];function _M(e){let t=e;for(let[e,n]of gM)t=t.replace(e,n);return t}function vM(e){return _M(e).replace(/\n/g,`<br>`)}function yM(e){return _M(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 bM={text:[`text`,`markdown`,`html`],markdown:[`markdown`,`html`,`text`],html:[`html`,`text`,`markdown`]};function xM(e,t){for(let n of bM[e]??bM.text)if(t.includes(n))return n;return t[0]??`text`}function SM(e,t,n){if(t===n)return e;if(n===`text`){if(t===`markdown`)return pM(e);if(t===`html`)return hM(e)}if(n===`html`){if(t===`text`)return vM(e);if(t===`markdown`)return yM(e)}if(n===`markdown`){if(t===`text`)return e;if(t===`html`)return hM(e)}return e}function CM(e){return{id:e.id,ordinal:e.ordinal,...e.flags?{flags:e.flags}:{},...e.requires?{requires:e.requires}:{}}}function wM(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 CM(n)}let n=e.filter(e=>e.ordinal!==null);if(n.length===0)return CM(e[0]);let r=t.priority;return CM([...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 TM(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 EM(e,t){let n=[],r=t.format,i=xM(r,e.format);i!==r&&n.push(`format`);let a=SM(t.body,r,i),o=wM(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 ee=null;t.sound!==void 0&&(e.sound?ee=t.sound:n.push(`sound`));let te=null;t.ttl!==void 0&&(e.ttl?te=t.ttl:n.push(`ttl`));let ne=t.tag??null,re=TM(a,e.bodyMaxLen),m=re.length>1,ie={level:o?.id??``,format:i,attachmentsSent:c.length,actionsSent:f.length,truncated:m,dropped:n};return{body:re[0]??``,...t.title===void 0?{}:{title:t.title},format:i,level:o,attachments:c,actions:f,clickUrl:p,sound:ee,ttl:te,tag:ne,bodyParts:re,renderedAs:ie}}var DM=`An occupancy edge is not a sensor event: it carries no sensor kind, so this condition can never match one.`,OM=`An occupancy edge carries no device event-type token — that comes from an event-emitter slice, which a count crossing has none of.`,kM=`An occupancy edge is always produced by the pipeline, so any other source can never match and “pipeline” narrows nothing.`,AM=`A confirmed sound window is always stamped as an audio subject, so any other source can never match.`,jM=`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.`,MM=`A sound window’s evidence is a percentage of samples, not a detector score, so a confidence threshold can never be satisfied.`,NM=`A sound has no position in the frame, so a zone or a drawn polygon can never match it.`,PM=[{kind:`detection`,label:`Conditions`,excluded:{},carriesMedia:!0,carriesSubjectCrop:!0},{kind:`sensor`,label:`Conditions`,excluded:{},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:DM,eventTypeTokens:OM,source:kM},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:jM,classesExclude:jM,minConfidence:MM,zones:NM,zonesExclude:NM,customZones:NM,crossing:NM,labelEquals:jM,identities:jM,identitiesExclude:jM,plates:jM,source:AM},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:`system`,label:`Events`,discriminator:`systemEvent`,excluded:{},carriesMedia:!1,carriesSubjectCrop:!1,blurb:`The installation itself: a camera or stream dropping, a node leaving, an update landing. There is no detection behind it and no frame to attach.`}];function FM(e){return PM.find(t=>t.kind===e)??PM[0]}var IM=`system-event`;function LM(e){return e===IM}function RM(e){return LM(e.delivery)?`system`: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 zM(e,t,n){let r=FM(n);return e.id===r.discriminator?!0:e.appliesTo.includes(t)?r.excluded[e.id]===void 0:!1}function BM(e,t){let n=FM(t);return e===n.discriminator?null:n.excluded[e]??null}function VM(e,t){let n=FM(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 HM=[{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.`},{key:`detection`,label:`Detections & devices`,blurb:`Rules driven by what the cameras and sensors SEE — detections, tracks, doorbell presses and package events.`,newRuleLabel:`New detection rule`,emptyHint:`No detection rules yet. Create one to be told what your cameras see.`},{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.`},{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.`},{key:`system`,label:`System events`,blurb:`Rules about the installation itself: a camera or stream dropping, a node leaving the cluster, an addon or server update becoming available. These carry no image and are not tied to a detection.`,newRuleLabel:`New system rule`,emptyHint:`No system-event rules yet. These tell you when a camera drops, a node leaves or an update lands.`}];function UM(e){return HM.find(t=>t.key===e)??HM[0]}function WM(e){return HM.find(t=>t.key===e)?.key}function GM(e){return e.conditions.audio!==void 0}function KM(e){return e.conditions.occupancy!==void 0}function qM(e,t){return t===`all`?!0:t===`system`?LM(e.delivery):t===`audio`?GM(e):t===`occupancy`?KM(e):!LM(e.delivery)&&!GM(e)&&!KM(e)}function JM(e){return qM(e,`system`)?`system`:qM(e,`audio`)?`audio`:qM(e,`occupancy`)?`occupancy`:`detection`}var YM={op:`became-occupied`,count:1,sustainSeconds:15},XM={hitPercent:Kj.hitPercent,samplingSeconds:Kj.samplingSeconds,dbThreshold:-55};function ZM(e){switch(e){case`system`:return{delivery:IM,conditions:{}};case`audio`:return{delivery:`immediate`,conditions:{audio:XM}};case`occupancy`:return{delivery:`device-event`,conditions:{occupancy:YM}};default:return{delivery:`immediate`,conditions:{}}}}function QM(e){return ZM(e).delivery}var $M=[`rule`,`devices`,`conditions`,`notification`,`actions`,`advanced`],eN={rule:`Rule`,devices:`Cameras`,conditions:`Conditions`,notification:`Notification`,actions:`Actions`,advanced:`Advanced`};function tN(e){let t=FM(e),n=[];for(let r of $M)r===`devices`&&e===`system`||n.push({key:r,label:r===`conditions`?t.label:eN[r]});return n}var nN={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};function rN(e,t){let n=new Date(e);if(t!==void 0)try{let e=new Intl.DateTimeFormat(`en-US`,{timeZone:t,weekday:`short`,hour:`numeric`,minute:`numeric`,hourCycle:`h23`}).formatToParts(n),r,i,a;for(let t of e)t.type===`weekday`?r=t.value:t.type===`hour`?i=Number(t.value):t.type===`minute`&&(a=Number(t.value));let o=r===void 0?void 0:nN[r];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 iN(e,t){if(e===void 0)return!0;let{day:n,minute:r}=rN(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 aN=[`deviceIds`,`deviceTypes`,`nodeIds`,`packageNames`];function oN(e,t){switch(t){case`deviceIds`:return e.startsWith(`device-`)||e.startsWith(`stream-`)||e===`detection-blind`||e===`alarm-triggered`||e===`export-completed`;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===`server-updated`;case`packageNames`:return e.endsWith(`update-available`)||e===`addon-updated`||e===`server-updated`}}function sN(e,t){return e.some(e=>oN(e,t))}var cN=i({title:g().max(500).optional(),body:g().max(2e3).optional()}),lN=g().min(1).max(200),uN=p(a()).min(1),dN=a().int().min(2).max(3600),fN=a().int().min(1).max(60),pN=p(_h).min(1),mN=a().int().min(1).max(5),hN=.1,gN=a().min(hN).max(3600),_N=a().min(0).max(60),vN=g().max(200),yN=m([`image`,`gif`]),bN=p(g().min(1).max(40)).max(20),xN=i({name:lN,enabled:v().default(!0),deviceIds:uN,schedule:rh,cadenceSec:dN.default(15),framerate:fN.default(10),denseCadenceSec:gN.optional(),minDwellSec:_N.optional(),targets:pN,template:cN.optional(),previewText:vN.optional(),previewMode:yN.default(`image`),reportClasses:bN.optional(),priority:mN.default(3)}),SN=`Timelapse {{camera}}`,CN=i({name:lN.optional(),enabled:v().optional(),deviceIds:uN.optional(),schedule:rh.optional(),cadenceSec:dN.optional(),framerate:fN.optional(),denseCadenceSec:gN.optional(),minDwellSec:_N.optional(),targets:pN.optional(),template:cN.nullable().optional(),previewText:vN.optional(),previewMode:yN.optional(),reportClasses:bN.optional(),priority:mN.optional()}),wN=xN.extend({id:g(),ownerUserId:g().optional(),lastGeneratedAt:a().optional(),generatedByDevice:n(g(),a()).optional(),createdBy:g(),createdAt:a(),updatedAt:a()});function TN(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 EN(e,t){let n=e.generatedByDevice;return n===void 0?e.lastGeneratedAt??0:n[String(t)]??0}var DN=[{stepId:`face-embedding`,label:`Face recognition model`,defaultModelId:`arcface-r100`,indexName:`the enrolled face gallery`,options:[{id:`arcface-r100`,label:`ArcFace (ResNet34)`},{id:`auraface-r100`,label:`AuraFace R100`},{id:`inception-resnet-v1`,label:`Inception ResNet V1`}]},{stepId:`clip-embedding`,label:`Semantic search model`,defaultModelId:`mobileclip-s1`,indexName:`the object semantic-search index`,options:[{id:`mobileclip-s1`,label:`MobileCLIP S1`},{id:`mobileclip-s2`,label:`MobileCLIP S2`}]}],ON=`cluster-step-models`;function kN(e){return`clusterModel:${e}`}function AN(e){return DN.some(t=>t.stepId===e)}var jN=Object.freeze(Object.fromEntries(DN.map(e=>[e.stepId,e.defaultModelId]))),MN=g().min(1);function NN(e){let t={};for(let n of DN){let r=MN.safeParse(e[kN(n.stepId)]);t[n.stepId]=r.success?r.data:n.defaultModelId}return t}function PN(e){return typeof e==`object`&&!!e&&`key`in e}function FN(e){if(e===null)return jN;let t={},n=new Set(DN.map(e=>kN(e.stepId)));for(let r of e.sections)for(let e of r.fields)!PN(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return NN(t)}function IN(e,t){let n=DN.find(t=>t.stepId===e);if(n===void 0)return null;let r=t[e];return r!==void 0&&r!==``?r:n.defaultModelId}var LN=24,RN=[{stepId:`face-embedding`,key:`minLandmarkFaceSize`,label:`Min face size for recognition (detection px)`,description:`Refuse to embed a face smaller than this IN THE DETECTION FRAME. Applies to every node — the enrolled gallery is one index, and two admission floors would fill it from two policies. 0 disables the gate.`,type:`slider`,min:0,max:64,step:2,default:24}];function zN(e,t){return`clusterStepSetting:${e}:${t}`}function BN(e){return RN.filter(t=>t.stepId===e)}var VN=a().finite();function HN(e){let t={};for(let n of RN){let r=VN.safeParse(e[zN(n.stepId,n.key)]),i=r.success?r.data:n.default,a=t[n.stepId]??{};t[n.stepId]={...a,[n.key]:i}}return t}var UN=HN({});function WN(e){if(e===null)return UN;let t={},n=new Set(RN.map(e=>zN(e.stepId,e.key)));for(let r of e.sections)for(let e of r.fields)!PN(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return HN(t)}function GN(e,t,n){let r=n[e];return r===void 0||Object.keys(r).length===0?t===void 0?void 0:{...t}:t===void 0?{...r}:{...t,...r}}var KN=`detail-crop`,qN=`detailCropPaddingRatio`,JN=`detailCropSquare`,YN=i({paddingRatio:a().min(0).max(4),square:v()}),XN={paddingRatio:.15,square:!1};function ZN(e){let t=YN.shape.paddingRatio.safeParse(e[qN]),n=YN.shape.square.safeParse(e[JN]);return{paddingRatio:t.success?t.data:XN.paddingRatio,square:n.success?n.data:XN.square}}function QN(e){return typeof e==`object`&&!!e&&`key`in e}function $N(e){if(e===null)return XN;let t={};for(let n of e.sections)for(let e of n.fields)!QN(e)||typeof e.key!=`string`||(e.key===`detailCropPaddingRatio`||e.key===`detailCropSquare`)&&(t[e.key]=e.value);return ZN(t)}var eP=Object.freeze({x:0,y:0,w:1,h:1}),tP={min:0,max:1,step:.05,default:XN.paddingRatio};function nP(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?aP(rP(o,t,n),t,n):iP(o,t,n)}function rP(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 iP(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 aP(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 oP=`native-lease`,sP=`nativeLeaseHoldFrames`,cP=`nativeLeaseBudgetMb`,lP=`nativeLeaseActivityMs`,uP=`nativeLeaseAdmission`,dP=`nativeTileBudgetMb`,fP=`nativeSceneBudgetMb`,pP=m([`all`,`inferred`]),mP=i({holdFrames:a().int().min(1).max(64),budgetMb:a().int().min(0).max(4096),activityMs:a().int().min(0).max(12e4),admission:pP,tileBudgetMb:a().int().min(0).max(1024),sceneBudgetMb:a().int().min(0).max(1024)}),Q={holdFrames:8,budgetMb:1024,activityMs:15e3,tileBudgetMb:64,sceneBudgetMb:48,admission:`inferred`},hP={min:1,max:64,step:1,default:Q.holdFrames},gP={min:0,max:4096,step:64,default:Q.budgetMb},_P={min:0,max:12e4,step:1e3,default:Q.activityMs},vP={min:0,max:1024,step:16,default:Q.tileBudgetMb},yP={min:0,max:1024,step:16,default:Q.sceneBudgetMb},bP={options:[{value:`all`,label:`Every delivered frame`},{value:`inferred`,label:`Only frames sent to inference`}],default:Q.admission};function xP(e,t){let n=mP.shape[e].safeParse(t);return n.success?n.data===Q[e]?null:n.data:null}function SP(e){let t=pP.safeParse(e);return t.success?t.data===Q.admission?null:t.data:null}function CP(e){let t=xP(`holdFrames`,e[sP]),n=xP(`budgetMb`,e[cP]),r=xP(`activityMs`,e[lP]),i=SP(e[uP]),a=xP(`tileBudgetMb`,e[dP]),o=xP(`sceneBudgetMb`,e[fP]);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 wP(e){return typeof e==`object`&&!!e&&`key`in e}var TP=[sP,cP,lP,uP,dP,fP];function EP(e){if(e===null)return{};let t={};for(let n of e.sections)for(let e of n.fields)!wP(e)||typeof e.key!=`string`||TP.includes(e.key)&&(t[e.key]=e.value);return CP(t)}var DP=[{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 OP(e){let t=DP.find(t=>t.id===e);if(!t)throw Error(`Unknown access role '${e}'`);return t}function kP(e){let t=OP(e.roleId);return[{type:`device`,selector:e.selector,access:[...t.deviceAccess],includeLinked:e.includeLinked},{type:`category`,target:`system`,access:[...t.systemAccess]}]}function AP(e,t){if(e.length!==t.length)return!1;let n=new Set(e);return t.every(e=>n.has(e))}function jP(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=DP.find(e=>AP(e.deviceAccess,r.access)&&AP(e.systemAccess,i.access));return a?{roleId:a.id,selector:r.selector,includeLinked:r.includeLinked}:null}var MP=8;function NP(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 PP(e,t){return e.some(e=>e.type===`category`&&e.target===`device`&&e.access.includes(t))}function FP(e,t){return e.filter(e=>e.type===`device`&&e.access.includes(t))}function IP(e,t){return e.includeLinked??t===`view`}function LP(e,t){let n=[],r=e;for(let e=0;e<MP;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 RP(e,t,n){if(PP(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=FP(e,n),a=new Set;for(let e of t)for(let t of i){if(NP(t.selector,e)){a.add(e.id);break}if(IP(t,n)&&LP(e.id,r).some(e=>{let n=r.get(e);return n!==void 0&&NP(t.selector,n)})){a.add(e.id);break}}return a}function zP(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){let e=q.safeParse(n);e.success&&t.push(e.data)}return t}var BP=[`view`,`create`,`delete`];function VP(e,t,n,r){return r?{all:!0,deviceCount:t.length}:{all:PP(e,n)||FP(e,n).some(e=>e.selector.kind===`all`),deviceCount:RP(e,t,n).size}}function HP(e){let t=[];for(let n of e)n.type===`capability`&&t.push({name:n.target,access:n.access});return t}function UP(e){let t=[];for(let n of e)n.type===`addon`&&t.push({name:n.target,access:n.access});return t}function WP(e,t,n){let r={view:VP(e,t,`view`,n),create:VP(e,t,`create`,n),delete:VP(e,t,`delete`,n)},i=n?BP:BP.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:HP(e),addons:UP(e)}}var GP={camera:{type:`camera`,label:`Camera`,icon:`camera`}},KP={"°C":{dimension:`temperature`,factor:1,offset:0},"°F":{dimension:`temperature`,factor:5/9,offset:-160/9},K:{dimension:`temperature`,factor:1,offset:-273.15},hPa:{dimension:`pressure`,factor:1,offset:0},kPa:{dimension:`pressure`,factor:10,offset:0},Pa:{dimension:`pressure`,factor:.01,offset:0},mbar:{dimension:`pressure`,factor:1,offset:0},bar:{dimension:`pressure`,factor:1e3,offset:0},inHg:{dimension:`pressure`,factor:33.8639,offset:0},mmHg:{dimension:`pressure`,factor:1.33322,offset:0},psi:{dimension:`pressure`,factor:68.9476,offset:0},"m/s":{dimension:`speed`,factor:1,offset:0},"km/h":{dimension:`speed`,factor:1/3.6,offset:0},mph:{dimension:`speed`,factor:.44704,offset:0},kn:{dimension:`speed`,factor:.514444,offset:0},"mm/h":{dimension:`precipitation-rate`,factor:1,offset:0},"in/h":{dimension:`precipitation-rate`,factor:25.4,offset:0},m:{dimension:`length`,factor:1,offset:0},mm:{dimension:`length`,factor:.001,offset:0},cm:{dimension:`length`,factor:.01,offset:0},km:{dimension:`length`,factor:1e3,offset:0},in:{dimension:`length`,factor:.0254,offset:0},ft:{dimension:`length`,factor:.3048,offset:0},mi:{dimension:`length`,factor:1609.344,offset:0},lx:{dimension:`illuminance`,factor:1,offset:0},"W/m²":{dimension:`irradiance`,factor:1,offset:0},W:{dimension:`power`,factor:1,offset:0},kW:{dimension:`power`,factor:1e3,offset:0},VA:{dimension:`apparent-power`,factor:1,offset:0},Wh:{dimension:`energy`,factor:1,offset:0},kWh:{dimension:`energy`,factor:1e3,offset:0},MWh:{dimension:`energy`,factor:1e6,offset:0},V:{dimension:`voltage`,factor:1,offset:0},mV:{dimension:`voltage`,factor:.001,offset:0},A:{dimension:`current`,factor:1,offset:0},mA:{dimension:`current`,factor:.001,offset:0},ppm:{dimension:`concentration-volume`,factor:1,offset:0},ppb:{dimension:`concentration-volume`,factor:.001,offset:0},"µg/m³":{dimension:`concentration-mass`,factor:1,offset:0},"mg/m³":{dimension:`concentration-mass`,factor:1e3,offset:0},kg:{dimension:`mass`,factor:1,offset:0},g:{dimension:`mass`,factor:.001,offset:0},lb:{dimension:`mass`,factor:.453592,offset:0},oz:{dimension:`mass`,factor:.0283495,offset:0},"%":{dimension:`percentage`,factor:1,offset:0}},qP=class extends Error{from;to;reason;constructor(e,t,n){super(`[units] cannot convert '${e}' → '${t}': ${n}`),this.name=`UnitConversionError`,this.from=e,this.to=t,this.reason=n}};function JP(e){return Object.hasOwn(KP,e)?KP[e]:void 0}function YP(e){return JP(e)?.dimension}function XP(e,t){return e*t.factor+t.offset}function ZP(e,t){return(e-t.offset)/t.factor}function QP(e,t,n){if(t===n)return e;let r=JP(t);if(!r)throw new qP(t,n,`unknown-from`);let i=JP(n);if(!i)throw new qP(t,n,`unknown-to`);if(r.dimension!==i.dimension)throw new qP(t,n,`cross-dimension`);return ZP(XP(e,r),i)}function $P(e,t,n){if(t===n)return e;let r=JP(t);if(!r)return;let i=JP(n);if(i&&r.dimension===i.dimension)return ZP(XP(e,r),i)}function eF(e,t){if(e===t)return!0;let n=YP(e);return n===void 0?!1:n===YP(t)}function tF(e){let t=[];for(let[n,r]of Object.entries(KP))r.dimension===e&&t.push(n);return t}function nF(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 rF(e,t){let n=e.trim().toLowerCase(),r=t.trim().toLowerCase();return n===r?1:n.length===0||r.length===0?0:1-nF(n,r)/Math.max(n.length,r.length)}function iF(e,t,n=.8){let r=null,i=0;for(let a of t){let t=rF(e,a);t>=n&&t>i&&(r=a,i=t)}return r}var aF=`addon:`;function oF(e){return e.startsWith(aF)?e.slice(6):e}function sF(e,t){return oF(e)===oF(t)}function cF(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 lF=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(),uF(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 uF(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 dF(e,t){return`https://huggingface.co/${e}/resolve/main/${t}`}var fF=[/^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 pF(e){return fF.some(t=>t.test(e))}function mF(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()))pF(e)&&(t.searchParams.set(e,`***`),n=!0);return n?t.toString():e}catch{return e}}var $=1024*1024,hF={sampleIntervalMs:6e4,baselineSettleSamples:5,baselineSampleCount:3,restartMultiple:4,floorBytes:1024*$,ceilingBytes:3072*$,cooldownMs:30*6e4,maxRestartsPerWindow:6,restartWindowMs:1440*6e4};function gF(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=hF;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 _F(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 vF(){return{settleSeen:0,baselineWindow:[],baselineBytes:null,restartsAt:[],lastRestartAt:null}}function yF(e){let t=[...e].sort((e,t)=>e-t);return t[Math.floor(t.length/2)]}function bF(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:yF(r)}}function xF(e,t){return e===null?t.ceilingBytes:Math.min(t.ceilingBytes,Math.max(t.floorBytes,t.restartMultiple*e))}function SF(e,t,n){return e.filter(e=>t-e<n.restartWindowMs)}function CF(e,t,n,r){let i=bF(e,t,r),a=xF(i.baselineBytes,r);if(t<=a)return{state:i,action:i.baselineBytes===null?`baseline-pending`:`ok`,baselineBytes:i.baselineBytes,thresholdBytes:a};let o=SF(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 wF(e,t){return{...vF(),restartsAt:[...e.restartsAt,t],lastRestartAt:t}}function TF(e){return{...vF(),restartsAt:e.restartsAt,lastRestartAt:e.lastRestartAt}}function EF(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 DF=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??vF();t&&t.pids.length>0&&!OF(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=TF(a));let o=CF(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=EF(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:wF(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 OF(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 kF(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 AF(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 jF=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 MF(e,t){let n=performance.now();try{return{output:t===void 0?await e():await PF(e(),t),durationMs:NF(performance.now()-n),ok:!0}}catch(e){return{output:void 0,durationMs:NF(performance.now()-n),ok:!1,error:Ln(e)}}}function NF(e){return Math.round(e*100)/100}function PF(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 FF={cpu:`onnx`,coreml:`onnx`,cuda:`onnx`,tensorrt:`onnx`,"onnx-py":`onnx`,pytorch:`pt`,openvino:`openvino`},IF={openvino:`openvino`,edgetpu:`tflite`,coreml:`coreml`,onnx:`onnx`,cpu:`onnx`,cuda:`onnx`};function LF(e){return IF[e]??`onnx`}var RF={onnx:`onnx`,coreml:`coreml`,openvino:`openvino`,tflite:`tflite`,pytorch:`pt`},zF={coreml:`coreml_inference.py`,pytorch:`pytorch_inference.py`,openvino:`openvino_inference.py`};function BF(e,t){return e===`node`?`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pytorch`,"onnx-py":`onnx`,cpu:`onnx`}[t]??t}function VF(e,t){return e===`node`?FF[t]??`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pt`,"onnx-py":`onnx`,cpu:`onnx`}[t]??`onnx`}function HF(e,t){return!e||e===`auto`?`auto`:BF(e,t??`cpu`)}function UF(e){return FF[e]??`onnx`}function WF(e){return RF[e]}function GF(e){return zF[e]}function KF(e){return e===`coreml`||e===`pytorch`||e===`openvino`}function qF(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 JF(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 YF(e){return Math.floor(Buffer.from(e,`base64`).byteLength/4)}function XF(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=>ZF(t,e,n,l)),f=s.some(t=>ZF(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 ZF(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&&QF(t,e.polygon))return!0}return!1}function QF(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 $F(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 eI={value:`auto`,label:`Auto`},tI={value:`cpu`,label:`CPU`},nI={value:`usb`,label:`Coral USB`},rI=[{id:`onnx`,supports:()=>!0,devices:e=>{if(!e)return[tI];let t=[tI];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[eI];let t=[eI,tI];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`},tI),n},defaultDevice:`all`},{id:`edgetpu`,supports:e=>e?.coral!=null,devices:()=>[nI],defaultDevice:`usb`}];function iI(e){let t=rI.find(t=>t.id===e);if(!t)throw Error(`Unknown runtime: ${e}`);return t}function aI(e){return rI.filter(t=>t.supports(e)).map(e=>e.id)}function oI(e,t){return iI(e).devices(t)}function sI(e){return iI(e).defaultDevice}function cI(e){return e===`edgetpu`?`tflite`:WF(e)}function lI(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 uI={cuda:`gpu`,edgetpu:`usb`,coreml:`all`,cpu:`cpu`};function dI(e,t,n,r){return{key:e===`cpu`?`cpu`:`${e}:${t}`,backend:e,device:t,format:n,runtime:`python`,score:r,available:!0}}function fI(e){let{scores:t}=lI(e),n=[];for(let r of t){if(r.backend===`openvino`){e.npu?.type===`intel-npu`&&n.push(dI(`openvino`,`npu`,r.format,r.score+2)),e.gpu?.type===`intel`&&n.push(dI(`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(dI(`edgetpu`,t,r.format,r.score))}continue}let t=uI[r.backend]??r.backend;n.push(dI(r.backend,t,r.format,r.score))}return n}export{Zk as ACCESSORY_LABEL,DP as ACCESS_ROLES,Jn as ALEXA_EGRESS_PROFILE,fj as ALL_CAPABILITY_DEFINITIONS,_m as APPLE_SA_TO_MACRO,Lr as AUDIO_ANALYSIS_CAP_NAME,Uc as AUDIO_BACKEND_CHOICES,hm as AUDIO_MACRO_LABELS,un as AUDIO_PRESETS,yx as AccessoriesStatusSchema,Z as AccessoryKind,Ip as AddBrokerInputSchema,Vx as AddonAutoUpdateSchema,Fx as AddonListItemSchema,uc as AddonPageDeclarationSchema,cc as AddonPageInfoSchema,ld as AdoptionAdoptInputSchema,ud as AdoptionAdoptResultSchema,Dr as AdoptionCandidateResultSchema,nd as AdoptionFilterSchema,od as AdoptionGetCandidateInputSchema,Or as AdoptionJobSchema,Tr as AdoptionJobStateSchema,id as AdoptionListCandidatesInputSchema,ad as AdoptionListCandidatesOutputSchema,Er as AdoptionOutcomeSchema,dd as AdoptionReleaseInputSchema,sd as AdoptionStatusSchema,uy as AgentLoadSummarySchema,$x as AirQualitySensorStatusSchema,Fm as AlarmArmModeSchema,Im as AlarmPanelStatusSchema,Pm as AlarmStateSchema,jc as AlertSchema,Oc as AlertSeveritySchema,Ac as AlertSourceSchema,kc as AlertStatusSchema,tS as AmbientLightSensorStatusSchema,og as ApiKeyRecordSchema,$O as ApiKeySummarySchema,al as ArchiveEntrySchema,ol as ArchiveManifestSchema,Jp as AttachmentMediaTypeSchema,Yp as AttachmentSchema,Bc as AudioAnalysisResultSchema,Vc as AudioAnalysisSettingsSchema,Lc as AudioChunkInputSchema,rS as AudioClassSummarySchema,zc as AudioClassificationLabelSchema,Hc as AudioClassificationResultSchema,qc as AudioCodecInfoSchema,Jc as AudioDecodeSessionConfigSchema,Un as AudioEncodeSchema,Yc as AudioEncodeSessionConfigSchema,Zc as AudioEncodedChunkSchema,E_ as AudioEventSchema,Rc as AudioLevelSchema,aS as AudioMetricsHistoryPointSchema,oS as AudioMetricsHistorySchema,iS as AudioMetricsSnapshotSchema,Xc as AudioPcmChunkSchema,el as AuthResultSchema,Bx as AutoUpdateSettingsSchema,Xs as AutomationActionSchema,Gs as AutomationConditionOperatorSchema,Js as AutomationConditionSchema,cS as AutomationControlStatusSchema,Zs as AutomationRecipeSchema,Ys as AutomationTriggerSchema,YC as AvailableIntegrationTypeSchema,FF as BACKEND_TO_FORMAT,Kn as BASE_LIVE_EGRESS_PROFILE,wA as BATTERY_DEVICE_PROFILE,oA as BATTERY_UNREACHABLE_AFTER_MS,Xt as BOOT_RECOVERY_BACKOFF_MS,VC as BacklightModeSchema,nl as BackupDestinationInfoSchema,il as BackupEntrySchema,Fe as BaseAddon,rA as BaseDevice,aA as BaseDeviceProvider,uS as BatteryStatusSchema,fS as BinaryStatusSchema,V as BoundingBoxSchema,mS as BrightnessStatusSchema,gl as BrokerAddInputSchema,Bl as BrokerAudioClientSchema,Wl as BrokerClientsSchema,Fp as BrokerConnectionDetailsSchema,Hl as BrokerConsumerAttributionSchema,Vl as BrokerConsumerKindSchema,zl as BrokerDecodedClientSchema,Ul as BrokerEncodedClientSchema,kl as BrokerGetStateInputSchema,Pp as BrokerInfoSchema,pl as BrokerProviderInfoSchema,Tl as BrokerPublishInputSchema,fl as BrokerRegistryStatusSchema,Rl as BrokerRtspClientSchema,st as BrokerStatsSchema,ul as BrokerStatusEnum,ot as BrokerStatusSchema,El as BrokerSubscribeInputSchema,Dl as BrokerSubscribeResultSchema,yl as BrokerTestConnectionResultSchema,Ol as BrokerUnsubscribeInputSchema,Fu as BulkRecordSchema,zr as CAMERA_SWITCH_CATALOG,jr as CAMERA_SWITCH_ORDER,Ve as CAM_PROFILE_ORDER,uj as CAPABILITY_NAMES,dj as CAPABILITY_ROUTER_KEYS,lj as CAP_NAMES_WITH_STATUS,_t as CAP_NODE_PIN_CONTEXT_KEY,yj as CAP_PROVIDER_KIND_MAP,Ai as CLASS_MAP_MACRO_TARGETS,DN as CLUSTER_MODEL_SCOPED_STEPS,ON as CLUSTER_MODEL_SECTION_ID,RN as CLUSTER_STEP_SETTING_FIELDS,um as COCO_80_LABELS,mm as COCO_TO_MACRO,AS as CONNECTION_TEST_TIMEOUT_MS,vu as CORE_BLOCKS_ADDON_ID,_u as CORE_BLOCK_ADDON_PREFIX,S as CamProfileSchema,YD as CamStreamDescriptorSchema,He as CamStreamKindSchema,C as CamStreamResolutionSchema,gy as CameraAssignmentStatusSchema,Ey as CameraAudioStatusSchema,_y as CameraBrokerProfileSchema,vy as CameraBrokerStatusSchema,_S as CameraCredentialsSchema,vS as CameraCredentialsStatusSchema,yy as CameraDecoderShmSchema,by as CameraDecoderStatusSchema,wy as CameraDetectionPhaseSchema,Cy as CameraDetectionProvisioningSchema,Sy as CameraDetectionProvisioningStateSchema,Ty as CameraDetectionStatusSchema,kv as CameraMetricsSchema,Av as CameraMetricsWithDeviceIdSchema,xy as CameraMotionStatusSchema,Ek as CameraOccupancySnapshotForDeviceSchema,Dy as CameraRecordingModeSchema,Oy as CameraRecordingStatusSchema,hy as CameraSourceStatusSchema,my as CameraSourceStreamSchema,Ay as CameraStatusDegradationReasonSchema,jy as CameraStatusDegradationSchema,Ny as CameraStatusSchema,ky as CameraStatusStageSchema,Ue as CameraStreamSchema,Mr as CameraSwitchAuthoritySchema,Fr as CameraSwitchGroupSchema,Ar as CameraSwitchIdSchema,Pr as CameraSwitchSchema,Nr as CameraSwitchUnavailableReasonSchema,rd as CandidateQueryFilterSchema,tg as CapScopeSchema,fy as CapabilityBindingsSchema,bS as CarbonMonoxideStatusSchema,Pt as ChargingStatus,Qw as ClientNetworkStatsSchema,CS as ClimateControlStatusSchema,px as ClipPlaybackSchema,fx as ClipSchema,cT as ClusterAddonNodeDeploymentSchema,lT as ClusterAddonStatusEntrySchema,Iu as CollectionColumnSchema,Lu as CollectionIndexSchema,OS as ColorStatusSchema,Ld as ConfigEntrySchema,_c as ConfigSectionWithValuesSchema,gc as ConfigTabDeclarationSchema,NS as ConnectionTestDescriptorSchema,MS as ConnectionTestInputSchema,jS as ConnectionTestOutcomeSchema,FS as ConnectivityStatusSchema,LS as ConsumableItemSchema,RS as ConsumablesStatusSchema,BS as ContactStatusSchema,HS as ControlKindSchema,US as ControlStatusSchema,Bo as ConvertArtifactSchema,Vo as ConvertResultSchema,Ro as ConvertTargetSchema,wu as CoreBlockCompileResultSchema,Cu as CoreBlockInputSchema,xu as CoreBlockPlacementSchema,H as CoreBlockSchema,Su as CoreBlockStatusSchema,KS as CoverStateSchema,qS as CoverStatusSchema,ek as CreateApiKeyInputSchema,tk as CreateApiKeyResultSchema,QC as CreateIntegrationInputSchema,rk as CreateScopedTokenInputSchema,ik as CreateScopedTokenResultSchema,ZO as CreateUserInputSchema,Zx as CustomActionInputSchema,ku as CustomModelDescriptorSchema,Be as DATAPLANE_SECRET_HEADER,dA as DECLARED_DEVICE_SWEEP_LIMIT,lA as DECLARED_INTEGRATION_FIXED_KEY,_r as DEFAULT_ADDON_PLACEMENT,Wc as DEFAULT_AUDIO_ANALYZER_CONFIG,jN as DEFAULT_CLUSTER_STEP_MODELS,UN as DEFAULT_CLUSTER_STEP_SETTINGS,Hu as DEFAULT_DECODER_HWACCEL_CONFIG,XN as DEFAULT_DETAIL_CROP_CONVENTION,Gi as DEFAULT_EVENTS_BAND_BUFFER_SEC,xm as DEFAULT_EVENT_COLOR,ci as DEFAULT_FEATURES,Gk as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS,LN as DEFAULT_MIN_LANDMARK_FACE_SIZE_PX,Q as DEFAULT_NATIVE_LEASE_SETTINGS,hF as DEFAULT_POOL_MEMORY_POLICY,Xi as DEFAULT_RECORDING_PROFILES,kr as DEFAULT_RETENTION,xt as DEFAULT_RUNTIME_STATE_DURABILITY,SN as DEFAULT_TIMELAPSE_PREVIEW_TEXT,Yk as DEFAULT_TOKEN_EXPIRY,tP as DETAIL_CROP_PADDING_FIELD,qN as DETAIL_CROP_PADDING_KEY,KN as DETAIL_CROP_SECTION_ID,JN as DETAIL_CROP_SQUARE_KEY,fm as DETECTION_MACRO_CLASSES,Ir as DETECTION_PIPELINE_CAP_NAME,IF as DEVICE_BACKEND_TO_FORMAT,hj as DEVICE_CAP_NAMES,jd as DEVICE_CHILDREN_BATCH_MAX,TA as DEVICE_PROFILES,Jt as DEVICE_SCOPED_CAPS,Tt as DEVICE_SETTINGS_CONTRIBUTION_METHODS,Fk as DEVICE_STATE_READERS,Et as DEVICE_STATUS_METHOD,pA as DEVICE_TYPE_CONTROL_KIND,GP as DEVICE_TYPE_INFO,zu as DataStoreEngineInfoSchema,YS as DayNightModeSchema,QS as DayNightOptionsSchema,$S as DayNightSettingsPatchSchema,ZS as DayNightStatusSchema,fA as DeclaredDevices,rt as DecodedAudioChunkSchema,$e as DecodedFrameSchema,Ka as DecoderSessionConfigSchema,Ga as DecoderStatsSchema,ew as DeleteIntegrationResultSchema,YN as DetailCropConventionSchema,Ni as DetectionCatalogClassMapSchema,S_ as DetectionSourceSchema,sw as DeviceCodeSeveritySchema,$k as DeviceConfig,ed as DeviceDiscoveryStatusSchema,xd as DeviceExportExposeInputSchema,vd as DeviceExportStatusSchema,Sd as DeviceExportUnexposeInputSchema,Nt as DeviceFeature,Id as DeviceInfoSchema,$w as DeviceNetworkStatsSchema,O as DeviceRole,eA as DeviceRuntimeState,ng as DeviceSelectorSchema,tC as DeviceStatusSchema,D as DeviceType,TO as DiagnosticIdSchema,MO as DiagnosticWindowPatchSchema,jO as DiagnosticWindowSchema,$u as DiscoveredChildDeviceSchema,Qu as DiscoveredChildStatusSchema,Td as DiscoveredDeviceSchema,am as DiscoveredTargetSchema,My as DiskReconcileJobSchema,ze as DisposerChain,iC as DoorbellPressEventSchema,rC as DoorbellStatusSchema,Wy as EVENTFUL_CAP_NAMES,av as EVENT_DENSITY_BATCH_MAX,Uy as EVENT_KIND_BY_CAP,Pi as EVENT_PAD_MS,Tm as EVENT_TAXONOMY,pD as EXPORT_DENSE_MAX_RANGES,Zo as EXPRESSION_BUILTINS,Qo as EXPRESSION_BUILTIN_NAMES,is as EXPRESSION_COMPILE_CACHE_CAPACITY,as as EXPRESSION_IDENTIFIER_RE,Ps as EXPRESSION_INJECTED_NOW,Xl as EgressEncodeSchema,Zl as EgressRateControlSchema,Ql as EgressTranscodeRequestSchema,$l as EgressTranscodeSchema,lF as ElementConfigStore,tf as EmbeddingInfoSchema,ef as EmbeddingResultSchema,Wn as EncodeProfileSchema,Qe as EncodedPacketSchema,Ec as EnrichedWidgetMetadataSchema,oC as EnumSensorDateTimeFormatSchema,sC as EnumSensorStatusSchema,he as EventCategory,iv as EventDensityBucketSchema,ov as EventDensityForDeviceSchema,uC as EventEmitterStatusSchema,lC as EventFireSchema,fC as EventItemSchema,Qg as EventKindCategorySchema,e_ as EventKindDescriptorSchema,Zg as EventKindIconSchema,Yg as EventKindSchema,t_ as EventKindsForDeviceSchema,Pl as EventMediaArtifactSchema,Fl as EventMediaCoverageSchema,Nl as EventMediaKindSchema,Il as EventMediaProductionSchema,In as EventSourceType,xD as ExportBytesSchema,fD as ExportDenseRangeSchema,mD as ExportDenseSchema,yD as ExportDownloadSchema,gD as ExportOptionsSchema,vD as ExportRecordSchema,gd as ExportSetupFieldSchema,_d as ExportSetupSchema,dD as ExportSpeedSchema,_D as ExportStateSchema,hD as ExportTimelapseSchema,bd as ExposedDeviceSchema,BC as ExposureModeSchema,Vs as ExpressionBindingSourceSchema,F as ExpressionEvalError,Rs as ExpressionFieldBindingSchema,Bs as ExpressionGlobalBindingSchema,zs as ExpressionLiteralBindingSchema,P as ExpressionParseError,Hs as ExpressionSourceSchema,ji as FIRST_LEVEL_MACRO_CLASSES,eP as FULL_IMAGE_BBOX,af as FailureContributionSchema,mo as FailureCounters,rf as FailureReasonCountSchema,wC as FanControlStatusSchema,CC as FanDirectionSchema,dO as FeatureManifestSchema,EC as FeatureProbeStatusSchema,OC as FloodStatusSchema,Nn as Fmp4BoxSplitter,et as FrameHandleFormatSchema,w as FrameHandleSchema,Fc as FrameInputSchema,Qv as FrameLazyCountersSchema,$v as FrameLazyMetricsSchema,AC as GasStatusSchema,RO as GetLoggingSettingsInputSchema,Jl as GetStreamWithCodecInputSchema,dy as GlobalMetricsSchema,er as HAP_AUDIO_BASE,$n as HAP_AUDIO_BITRATE_KBPS,tr as HAP_AUDIO_VBV_KBITS,nr as HAP_KEYFRAME_INTERVAL_SEC,Jk as HF_BASE_URL,qk as HF_REPO,Vu as HWACCEL_OPTIONS,fO as HealthStatusSchema,If as HfModelResolutionSchema,kk as HistoryPointSchema,Dk as HistoryResolutionEnum,MC as HumidifierStatusSchema,PC as HumiditySensorStatusSchema,SS as HvacModeSchema,Py as INFERENCE_DEVICE_EXCLUSION_REASONS,Yy as ImageContractSchema,Jy as ImageContractStateSchema,RC as ImageRotateSchema,WC as ImageSettingsOptionsSchema,GC as ImageSettingsPatchSchema,UC as ImageSettingsStatusSchema,IC as ImageStatusSchema,Fy as InferenceDeviceExclusionReasonSchema,py as IngestOwnerSchema,Ix as InstalledPackageSchema,JC as IntegrationLiteSchema,qC as IntegrationWithStateSchema,nw as IntercomAbilitySchema,rw as IntercomStatusSchema,mj as KNOWN_CAP_NAMES,tv as KeyEventSchema,Hf as LOAD_CONTRIBUTION_ATTRIBUTIONS,Vf as LOAD_CONTRIBUTION_ROLES,bi as LOG_CHANNEL_TICK_MS,li as LOG_LEVEL_RANK,h_ as LabelAttributionSchema,ki as LabelDefinitionSchema,m_ as LabelTierSchema,ow as LawnMowerActivitySchema,cw as LawnMowerControlStatusSchema,ja as LedgerWalkDeviceReportSchema,Da as LedgerWalkInputSchema,Oa as LedgerWalkRefusalSchema,Ma as LedgerWalkReportSchema,Aa as LedgerWalkSkipCountsSchema,ka as LedgerWalkSkipReasonSchema,zd as LinkedDeviceSchema,Rd as LinkedDevicesModeSchema,Nf as LlmDefaultSchema,Mf as LlmDefaultSelectorSchema,Sf as LlmDownloadProgressSchema,df as LlmErrorCodeSchema,vf as LlmGenerateBaseInputSchema,pf as LlmGenerateErrSchema,ff as LlmGenerateOkSchema,mf as LlmGenerateResultSchema,hf as LlmImageSchema,wf as LlmNodeModelSchema,jf as LlmProfileKindDescriptorSchema,Of as LlmProfileKindSchema,kf as LlmProfileSchema,gf as LlmRetryPolicySchema,Ef as LlmRuntimeCompleteInputSchema,Tf as LlmRuntimeDiskUsageSchema,Lf as LlmRuntimeNodeSchema,Cf as LlmRuntimeStatusSchema,_f as LlmTimeoutDefaults,Pf as LlmUsageRollupSchema,uf as LlmUsageSchema,Uf as LoadContributionSchema,oD as LocateSegmentResultSchema,sl as LocationStatSchema,ww as LockControlStatusSchema,Cw as LockStateSchema,Gf as LogChannelApplyResultSchema,fi as LogChannelDescriptorSchema,mi as LogChannelGate,di as LogChannelLevelSchema,hi as LogChannelRegistry,PO as LogChannelWindowPatchSchema,pi as LogChannelWindowSchema,NO as LogChannelWindowStateSchema,Jf as LogEntrySchema,qf as LogLevelSchema,Yx as LogStreamEntrySchema,kO as LoggingEffectiveSchema,AO as LoggingExplicitSchema,OO as LoggingLevelLayerSchema,DO as LoggingLevelSourceSchema,EO as LoggingScopeKindSchema,FO as LoggingSettingsPatchSchema,BO as LoggingSettingsStateSchema,ep as LoginMethodContributionSchema,Xf as LoginStageEnum,dm as MACRO_LABELS,ux as MAX_CLIP_EVENT_IDS,dx as MAX_CLIP_LABELS,Us as MAX_CONDITION_DEPTH,Ws as MAX_CONDITION_LEAVES,es as MAX_EXPRESSION_AST_NODES,ns as MAX_EXPRESSION_BINDINGS,rs as MAX_EXPRESSION_CALL_ARGS,ts as MAX_EXPRESSION_EVAL_STEPS,$o as MAX_EXPRESSION_SOURCE_LENGTH,uo as MAX_KEYS,lo as MAX_REASONS_PER_KEY,Bi as MAX_SENSOR_TRIGGER_DEVICES,pj as METHOD_ACCESS_MAP,_j as METHOD_DEVICE_SELECTORS,ko as MODEL_FORMATS,Po as MODEL_PROVIDER_IDS,gA as MOTION_TRIGGER_FEATURE,Ff as ManagedModelCatalogEntrySchema,yf as ManagedModelExtraFileSchema,bf as ManagedModelRefSchema,xf as ManagedRuntimeConfigSchema,Km as MaskGridDimsSchema,Vm as MaskGridShapeSchema,Hm as MaskLineShapeSchema,Rm as MaskPointSchema,Bm as MaskPolygonShapeSchema,Gm as MaskPolygonVerticesSchema,zm as MaskRectShapeSchema,Wm as MaskShapeKindSchema,Um as MaskShapeSchema,A_ as MediaFileInfoSchema,D_ as MediaFileKindEnum,O_ as MediaFileRefSchema,k_ as MediaFileSchema,Dw as MediaPlayerRepeatSchema,Ew as MediaPlayerStateSchema,kw as MediaPlayerStatusSchema,ra as MediaRelocateModeSchema,Mw as MeshPeerSchema,Nw as MeshStatusSchema,Qh as MethodAccessSchema,Lo as ModelCatalogEntrySchema,wp as ModelConvertInputSchema,zo as ModelConvertMetadataSchema,Ep as ModelDistributeInputSchema,Dp as ModelDistributeResultSchema,jo as ModelExtraFileSchema,Ao as ModelFormatEntrySchema,Mo as ModelFormatsSchema,Fo as ModelProviderIdSchema,wg as ModelSubstitutionSchema,No as ModelVariantGroupSchema,Ap as MotionAnalysisResultSchema,x_ as MotionEventSchema,Iw as MotionOnMotionChangedDataSchema,kp as MotionRegionSchema,Wv as MotionSourceEnum,Gv as MotionSourcesSchema,Fw as MotionStatusSchema,zw as MotionTriggerRuntimeStateSchema,Rw as MotionTriggerStatusSchema,Uw as MotionZoneOptionsSchema,Ww as MotionZonePatchSchema,Vw as MotionZoneRegionSchema,Hw as MotionZoneStatusSchema,Hp as MqttBrokerStatusSchema,ju as MutationFilterSchema,_P as NATIVE_LEASE_ACTIVITY_FIELD,lP as NATIVE_LEASE_ACTIVITY_KEY,bP as NATIVE_LEASE_ADMISSION_FIELD,uP as NATIVE_LEASE_ADMISSION_KEY,gP as NATIVE_LEASE_BUDGET_FIELD,cP as NATIVE_LEASE_BUDGET_KEY,hP as NATIVE_LEASE_HOLD_FIELD,sP as NATIVE_LEASE_HOLD_KEY,yP as NATIVE_LEASE_SCENE_BUDGET_FIELD,fP as NATIVE_LEASE_SCENE_BUDGET_KEY,oP as NATIVE_LEASE_SECTION_ID,vP as NATIVE_LEASE_TILE_BUDGET_FIELD,dP as NATIVE_LEASE_TILE_BUDGET_KEY,Zm as NC_ALARM_SYSTEM_EVENT_KINDS,Bj as NC_AUDIO_CONFIRM_HITS_DEFAULT,Uj as NC_AUDIO_CONFIRM_HITS_MAX,Hj as NC_AUDIO_CONFIRM_HITS_MIN,Gj as NC_AUDIO_CONFIRM_WINDOW_MAX_SEC,Wj as NC_AUDIO_CONFIRM_WINDOW_MIN_SEC,Vj as NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT,oh as NC_AUDIO_DBFS_FLOOR,Nj as NC_AUDIO_DB_MAX,Mj as NC_AUDIO_DB_MIN,Fj as NC_AUDIO_DB_OFFERED,Pj as NC_AUDIO_DB_STEP,Kj as NC_AUDIO_DEFAULTS,Lj as NC_AUDIO_HIT_PERCENT_MAX,Ij as NC_AUDIO_HIT_PERCENT_MIN,zj as NC_AUDIO_SAMPLING_MAX_SEC,Rj as NC_AUDIO_SAMPLING_MIN_SEC,XM as NC_AUDIO_SEED,Xm as NC_AUTHORABLE_SYSTEM_EVENT_KINDS,uM as NC_BASE_CONDITION_KEYS,Nh as NC_CONDITION_CATALOG,Th as NC_CONFIRM_DEFAULT_MAX_IMAGE_PX,wh as NC_CONFIRM_DEFAULT_TIMEOUT_MS,Ch as NC_CONFIRM_MAX_TIMEOUT_MS,Sh as NC_CONFIRM_MIN_TIMEOUT_MS,th as NC_DEFAULT_SNOOZE_MINUTES,Rh as NC_HISTORY_LIMIT_DEFAULT,zh as NC_HISTORY_LIMIT_MAX,$m as NC_MAX_PER_TRACK_IMMEDIATE,YM as NC_OCCUPANCY_DEFAULTS,$M as NC_RULE_EDITOR_SECTION_ORDER,PM as NC_RULE_KIND_SPECS,HM as NC_RULE_SECTIONS,eh as NC_SNOOZE_MAX_MINUTES,IM as NC_SYSTEM_DELIVERY,aN as NC_SYSTEM_EVENT_FILTER_KEYS,Nm as NC_TAXONOMY,jv as NativeCropBboxSchema,ug as NativeCropRefSchema,Mv as NativeCropResultSchema,qw as NativeDetectionSchema,pP as NativeLeaseAdmissionSchema,mP as NativeLeaseSettingsSchema,Kw as NativeObjectClassEnum,Yw as NativeObjectDetectionRuntimeStateSchema,Jw as NativeObjectDetectionStatusSchema,Xh as NcAlarmConfigSchema,Yh as NcAlarmModeCoverageSchema,Kh as NcAlarmSettingsPatchSchema,Gh as NcAlarmSettingsSchema,qh as NcAlarmSkipReasonSchema,Jh as NcAlarmSkippedDeviceSchema,sh as NcAudioConditionSchema,Mh as NcConditionDescriptorSchema,gh as NcConditionsSchema,Eh as NcConfirmExpectSchema,Dh as NcConfirmSchema,ch as NcCrossingSchema,qm as NcDeliverySchema,mh as NcDeviceStateConditionSchema,Lh as NcHistoryEntrySchema,Bh as NcHistoryFilterSchema,Fh as NcHistoryRecordKindSchema,Ph as NcHistoryStatusSchema,Ih as NcHistorySubjectSchema,vh as NcMediaFrameSchema,yh as NcMediaPolicySchema,ah as NcOccupancyConditionSchema,ih as NcPlateMatcherSchema,uh as NcRuleActionSchema,dh as NcRuleActionSequenceSchema,ph as NcRuleActionsSchema,Oh as NcRuleInputSchema,fh as NcRuleNotificationButtonSchema,kh as NcRulePatchSchema,Ah as NcRuleSchema,_h as NcRuleTargetSchema,hh as NcSceneConditionSchema,rh as NcScheduleSchema,nh as NcScheduleWindowSchema,Hh as NcSnoozeInputSchema,Uh as NcSnoozeSchema,Vh as NcSnoozeScopeSchema,Wh as NcSnoozeSuppressedSchema,Qm as NcSystemEventConditionSchema,Jm as NcSystemEventKindSchema,km as NcTaxonomyEntrySchema,Am as NcTaxonomySchema,jh as NcTestResultSchema,bh as NcThrottleGranularitySchema,xh as NcThrottleSchema,lh as NcZoneConditionSchema,Gp as NetworkAccessStatusSchema,pO as NetworkAddressSchema,Wp as NetworkEndpointSchema,Zp as NotificationActionIconSchema,Qp as NotificationActionSchema,Xp as NotificationFormatSchema,$p as NotificationSchema,bT as NotifierStatusSchema,wT as NumericSensorStatusSchema,LA as OPERATOR_WRITTEN_STALE_MS,Oi as OPS_LOG_DEFAULT_LIMIT,Di as OPS_LOG_RING_DEFAULT_MAX,fo as OVERFLOW_REASON,cg as OauthIntegrationDescriptorSchema,T_ as ObjectEventSchema,Si as OpsLogDomainSchema,Ti as OpsLogEntrySchema,Ci as OpsLogOpSchema,Ei as OpsLogQueryInputSchema,wi as OpsLogReasonSchema,Ov as OrchestratorMetricsSchema,ET as OsdOverlayKindEnum,AT as OsdOverlayPatchSchema,OT as OsdOverlaySchema,DT as OsdPositionEnum,FT as OsdRenderOutcomeEnum,IT as OsdRenderResultSchema,NT as OsdSlotBindingSchema,PT as OsdSlotViewSchema,RT as OsdSourceOptionSchema,MT as OsdSourceSchema,LT as OsdSourceValueTypeEnum,kT as OsdStatusSchema,VT as PET_FEEDER_MANUAL_FEED_MAX,BT as PET_FEEDER_MANUAL_FEED_MIN,Nk as PIPELINE_FLOW_CAPABILITY_NAMES,Pk as PIPELINE_OWNER_CAPABILITY_NAMES,Rr as PRIVACY_MASK_CAP_NAME,bj as PROVIDER_KIND_CAP_NAMES,zF as PYTHON_SCRIPT,Lx as PackageUpdateSchema,Rx as PackageVersionInfoSchema,$f as PasskeyLoginMethodSchema,Bb as PasskeySummarySchema,Kc as PcmSampleFormatSchema,Sk as PerScopeBreakdownSchema,WT as PetFeederStatusSchema,ru as PickStreamPreferencesSchema,nu as PickStreamRequirementsSchema,iu as PickedCamStreamSchema,ly as PipelineAssignmentSchema,hg as PipelineDefaultStepSchema,J as PipelineEngineChoiceSchema,Bg as PipelineRunResultBridge,Y as PipelineStepInputSchema,Tg as PipelineValidationIssueSchema,Eg as PipelineValidationResultSchema,Gl as PlaceholderReasonSchema,Gg as PolygonPointSchema,DF as PoolMemoryWatchdog,mE as PowerMeterStatusSchema,_E as PresenceStatusSchema,yE as PressureSensorStatusSchema,wE as PrivacyMaskOptionsSchema,TE as PrivacyMaskPatchSchema,SE as PrivacyMaskRegionSchema,xE as PrivacyMaskShapeSchema,CE as PrivacyMaskStatusSchema,ct as ProfileRtspEntrySchema,Ge as ProfileSlotSchema,We as ProfileSlotStatusSchema,wd as ProviderStatusSchema,LE as PtzAutotrackRuntimeStateSchema,PE as PtzAutotrackSettingsSchema,IE as PtzAutotrackStatusSchema,FE as PtzAutotrackTargetOptionSchema,AE as PtzMoveCommandSchema,ME as PtzOptionsSchema,kE as PtzPositionSchema,OE as PtzPresetSchema,jE as PtzStatusSchema,U as QueryFilterSchema,Xn as RATE_CONTROL_RELAXED,Yn as RATE_CONTROL_TIGHT,jA as REACHABILITY_FAILURES_TO_OFFLINE,AA as REACHABILITY_POLL_INTERVAL_MS,MA as REACHABILITY_PROBE_TIMEOUT_MS,Ba as RECOGNITION_TYPES,bD as RECORDING_EXPORT_MAX_READ_BYTES,WE as RECORDING_TIMELINE_BATCH_MAX,Wr as REDACTED_SECRET,os as RESERVED_BINDING_NAMES,Ej as RESTORED_CAP_NAMES,eo as ROOT_BUCKET_KEY,Xk as RUNTIME_DEFAULTS,Sj as RUNTIME_STATE_POLICY,IA as RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS,RF as RUNTIME_TO_FORMAT,Bt as RawStateResultSchema,cD as ReadGopBytesResultSchema,sD as ReadSegmentBytesResultSchema,lD as ReadWindowBytesResultSchema,mt as ReadinessRegistry,lt as ReadinessTimeoutError,Z_ as RecentTracksPageSchema,X_ as RecentTracksQueryInput,GE as RecordingAvailabilityForDeviceSchema,HE as RecordingAvailabilitySchema,Hi as RecordingBandModeSchema,Wi as RecordingBandSchema,Ui as RecordingBandTriggersSchema,Ji as RecordingConfigSchema,KE as RecordingDaysForDeviceSchema,UE as RecordingDaysSchema,JE as RecordingDeviceUsageSchema,YE as RecordingLocationUsageSchema,qE as RecordingManifestSchema,Ri as RecordingObjectTriggerClassSchema,VE as RecordingRangeSchema,tD as RecordingRebalanceInputSchema,ZE as RecordingRebalanceMoveSchema,eD as RecordingRebalancePlanSchema,QE as RecordingRebalanceSkipReasonSchema,$E as RecordingRebalanceSkipSchema,qi as RecordingRetentionSchema,BE as RecordingStatusSchema,Li as RecordingStorageModeSchema,XE as RecordingStorageUsageSchema,Vi as RecordingTriggersSchema,Fi as RecordingWeekdaySchema,Zf as RedirectLoginMethodSchema,Pa as RelocatableMediaCountInputSchema,Na as RelocatableMediaCountSchema,ea as RelocateFootageClassSchema,ta as RelocateFootageInputSchema,$i as RelocateJobSchema,Qi as RelocateJobStateSchema,ia as RelocateMediaInputSchema,Ta as RelocateResidueInputSchema,Ea as RelocateResidueSchema,om as RenderedAsSchema,Kv as ReportMotionInputSchema,LO as ReportedFailureContributionSchema,IO as ReportedLoadContributionSchema,bO as RequestCensusGroupSchema,xO as RequestCensusProcedureSchema,SO as RequestCensusSnapshotSchema,CO as RequestCensusStatusSchema,I_ as RetrainAnnotationDraftSchema,M_ as RetrainAnnotationKindSchema,F_ as RetrainAnnotationSchema,N_ as RetrainAnnotationSourceSchema,W_ as RetrainAssistResultSchema,U_ as RetrainAssistSubjectSchema,B_ as RetrainCopyRefusalSchema,R_ as RetrainFrameCandidateSchema,H_ as RetrainFrameListSchema,z_ as RetrainFrameSchema,V_ as RetrainFrameSelectionSchema,j_ as RetrainMacroClassSchema,l_ as RetrainStatusSchema,L_ as RetrainTrackSchema,G_ as RetrainTransitionResultSchema,jF as RingBuffer,Yl as RtpSourceSchema,Ll as RtspRestreamEntrySchema,Yv as RunnerCameraConfigSchema,Xv as RunnerCameraDeviceUIFields,qv as RunnerFrameSourceSchema,Jv as RunnerInferenceDeviceSchema,Zv as RunnerLocalLoadSchema,ey as RunnerLocalMetricsSchema,wD as SCENE_CONDITIONS,RD as SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX,LD as SCENE_CONFIRM_DEFAULT_TIMEOUT_MS,FD as SCENE_DEFAULT_ANCHOR_THRESHOLD,PD as SCENE_DEFAULT_CHECK_INTERVAL_SEC,ND as SCENE_DEFAULT_OBSERVATION_SPACING_SEC,MD as SCENE_DEFAULT_QUIET_SECONDS,ID as SCENE_DEFAULT_UNCOVERED_POLICY,ED as SCENE_DIVERGED,zD as SCENE_RESET_RECAPTURES,Dj as SCOPE_PRESETS,vA as SENSOR_FEATURES,bA as SENSOR_MAP,Bk as SOURCE_CAPS,Rk as SOURCE_CAP_ACTIVE_FIELD,zk as SOURCE_CAP_CHANGED_AT_FIELD,Vk as SOURCE_DEVICE_TYPES,Xu as SOURCE_INFO_METADATA_KEY,Ua as STORAGE_ACCESS_FALLBACK,aO as STREAM_PROFILE_META,Qr as STREAM_QUALITY_LABELS,za as SUB_DETECTION_TYPES,gj as SYSTEM_CAP_NAMES,vj as SYSTEM_SCOPE_DEVICE_METHODS,jD as SceneCheckSchema,CD as SceneConditionSchema,BD as SceneConfirmSchema,VD as SceneMonitorSchema,AD as SceneMonitorStateSchema,UD as SceneMonitorStatusForDeviceSchema,HD as SceneMonitorStatusSchema,kD as SceneReferenceSchema,OD as SceneUnavailableSchema,TD as SceneUncoveredPolicySchema,DD as SceneVerdictSchema,sg as ScopedTokenSchema,nk as ScopedTokenSummarySchema,lv as ScoredObjectEventSchema,GD as ScriptRunnerStatusSchema,zx as SearchResultSchema,nb as SendEmailInputSchema,rb as SendEmailResultSchema,sm as SendResultSchema,n_ as SensorEventSchema,Ky as ServerBootModeSchema,Zy as ServerPackageStatusSchema,Xy as ServerRollbackInfoSchema,$y as ServerUpdateActionResultSchema,Qy as ServerUpdateCheckResultSchema,qy as ServerUpdateStateSchema,zO as SetLoggingSettingsInputSchema,_O as SetSiteLocationInputSchema,vc as SettingsPatchSchema,Pu as SettingsRecordSchema,B as SettingsSchemaWithValuesSchema,yc as SettingsUpdateResultSchema,Uu as ShmRingStatsSchema,hO as SiteLocationSchema,mO as SiteLocationSourceSchema,gO as SiteLocationStatusSchema,qD as SmokeStatusSchema,ib as SmtpStatusSchema,ob as SnapshotImageSchema,Ku as SourceInfoSchema,Ic as SpatialDetectionSchema,lb as SsoBridgeClaimsSchema,Bp as StartEmbeddedInputSchema,wk as StationaryObjectSchema,Cb as StorageAbortUploadInputSchema,Ha as StorageAccessSchema,wb as StorageBeginDownloadInputSchema,Tb as StorageBeginDownloadResultSchema,yb as StorageBeginUploadInputSchema,bb as StorageBeginUploadResultSchema,Ia as StorageCleanupInputSchema,La as StorageCleanupJobSchema,Fa as StorageCleanupPhaseSchema,Ra as StorageCleanupStatusInputSchema,Db as StorageEndDownloadInputSchema,Sb as StorageFinalizeUploadInputSchema,Wa as StorageLocationDeclarationSchema,N as StorageLocationRefSchema,M as StorageLocationSchema,Va as StorageLocationTypeSchema,ca as StorageMigrationClassSchema,la as StorageMigrationDestinationsSchema,wa as StorageMigrationDrainInputSchema,va as StorageMigrationFindingCodeSchema,ya as StorageMigrationFindingSchema,na as StorageMigrationFootageMoveInputSchema,fa as StorageMigrationInputSchema,_a as StorageMigrationJobSchema,xa as StorageMigrationLaneSchema,j as StorageMigrationLeaseInputSchema,sa as StorageMigrationMediaMoveInputSchema,da as StorageMigrationModeSchema,ha as StorageMigrationMoveProgressSchema,ga as StorageMigrationMoveSchema,Sa as StorageMigrationMoverSchema,ma as StorageMigrationParticipantSchema,pa as StorageMigrationPhaseSchema,ba as StorageMigrationPlanSchema,Ca as StorageMigrationResidueSchema,ua as StorageMigrationSourcesSchema,_b as StorageProviderInfoSchema,Eb as StorageReadChunkInputSchema,vb as StorageTestLocationResultSchema,xb as StorageWriteChunkInputSchema,tu as StreamCodecSchema,Ml as StreamFormatSchema,Zw as StreamNetworkStatsSchema,nO as StreamParamsOptionsSchema,eO as StreamParamsStatusSchema,$D as StreamProfileConfigSchema,tO as StreamProfileOptionsSchema,rO as StreamProfilePatchSchema,QD as StreamProfileSchema,Xe as StreamSourceEntrySchema,Ze as StreamSourceSchema,it as SubscribeAudioChunksInputSchema,at as SubscribeAudioChunksResultSchema,tt as SubscribeFramesInputSchema,nt as SubscribeFramesResultSchema,lO as SwitchStatusSchema,Sp as SystemMetricsSchema,JA as SystemMirror,W as TAXONOMY_COLORS,hN as TIMELAPSE_DENSE_FLOOR_SEC,Ya as TIMEZONES,Qn as TRANSCODE_DOWN_MAX_BITRATE_KBPS,Zn as TRANSCODE_DOWN_MAX_HEIGHT,HO as TamperStatusSchema,uk as TankStatusSchema,tm as TargetKindCapsSchema,em as TargetKindLevelSchema,rm as TargetKindSchema,im as TargetSchema,WO as TemperatureSensorStatusSchema,Nb as TerminalInstanceInfoSchema,Pb as TerminalLegacyCameraSchema,Ib as TerminalOutputBatchSchema,Fb as TerminalOutputEventSchema,Mb as TerminalProfileInfoSchema,jb as TerminalSessionInfoSchema,ZC as TestConnectionResultSchema,XC as TestConnectionStatusEnum,cm as TestResultSchema,xN as TimelapseRuleInputSchema,CN as TimelapseRulePatchSchema,wN as TimelapseRuleSchema,cN as TimelapseTemplateSchema,KO as ToastSchema,q as TokenScopeSchema,oT as TopologyNodeSchema,nT as TopologyProcessSchema,tT as TopologyServiceSchema,dv as TrackCascadeCountsSchema,a_ as TrackEnvelopeSchema,f_ as TrackFlagsPatchSchema,p_ as TrackFlagsSchema,o_ as TrackProjectionSchema,y_ as TrackSchema,c_ as TrackSourceSchema,Jg as TrackStateSchema,Xg as TrackZoneFilterSchema,sv as TrackedDetectionSchema,__ as TrainingExportDeviceTotalsSchema,v_ as TrainingExportSummarySchema,yO as TransportPlaneCountsSchema,vO as TransportPlaneSchema,Rb as TurnServerSchema,$a as UNATTRIBUTED_BUCKET_KEY,KP as UNIT_TABLE,dl as UnifiedBrokerInfoSchema,qP as UnitConversionError,oa as UnstampedEventMediaCountSchema,aa as UnstampedRowsSchema,$C as UpdateIntegrationInputSchema,JO as UpdateStatusSchema,QO as UpdateUserInputSchema,ag as UserRecordSchema,XO as UserSummarySchema,Ki as VISIT_MERGE_GAP_MS,dk as VacuumControlStatusSchema,lk as VacuumStateSchema,pk as ValveStateSchema,mk as ValveStatusSchema,qb as VectorDeclareIndexInputSchema,$b as VectorDeleteByFilterInputSchema,Qb as VectorDeleteInputSchema,ex as VectorDeleteResultSchema,Wb as VectorFilterSchema,tx as VectorGetInputSchema,nx as VectorGetResultSchema,Gb as VectorItemSchema,Kb as VectorMatchSchema,Ub as VectorMetadataSchema,Hb as VectorMetricSchema,Xb as VectorQueryInputSchema,Zb as VectorQueryResultSchema,sx as VectorStatsInputSchema,cx as VectorStatsResultSchema,Jb as VectorUpsertInputSchema,Yb as VectorUpsertResultSchema,gk as VibrationStatusSchema,Hn as VideoEncodeSchema,qn as WEBRTC_EGRESS_PROFILE,ge as WELL_KNOWN_TABS,_e as WELL_KNOWN_TAB_MAP,vk as WaterHeaterStatusSchema,bk as WeatherStatusSchema,_x as WebrtcStreamChoiceSchema,gx as WebrtcStreamTargetSchema,zC as WhiteBalanceModeSchema,xc as WidgetHostEnum,Qf as WidgetLoginMethodSchema,wc as WidgetMetadataSchema,Cc as WidgetRemoteSchema,Sc as WidgetSizeEnum,gm as YAMNET_TO_MACRO,C_ as ZoneCrossingDirectionSchema,w_ as ZoneCrossingSchema,Wg as ZoneKindEnum,Hg as ZoneRuleModeEnum,X as ZoneRuleSchema,jk as ZoneRuleStageEnum,Ug as ZoneRulesArraySchema,Kg as ZoneSchema,Ck as ZoneScopeBreakdownSchema,yi as __resetLogChannelRegistryForTests,bx as accessoriesCapability,Qk as accessoryStableId,lc as addonPagesCapability,dc as addonPagesSourceCapability,hc as addonRoutesCapability,bc as addonSettingsCapability,Dc as addonWidgetsCapability,Tc as addonWidgetsSourceCapability,Qx as addonsCapability,Mt as adminUiCapability,eS as airQualitySensorCapability,Lm as alarmPanelCapability,Mc as alertsCapability,nS as ambientLightSensorCapability,nn as asBoolean,$t as asJsonArray,Qt as asJsonObject,tn as asNumber,en as asString,TN as assertTimelapseCadences,Nc as audioAnalysisCapability,Gc as audioAnalyzerCapability,$c as audioCodecCapability,Yj as audioIsFailClosed,jj as audioKindId,$j as audioLabelChoices,sS as audioMetricsCapability,Jj as audioModeOf,qj as audioOrDefaults,On as audioPlanFromEncodeProfile,tl as authProviderCapability,si as autoAssignProfiles,lS as automationControlCapability,ll as backupCapability,oF as bareAddonId,dS as batteryCapability,iF as bestLocationMatch,pS as binaryCapability,$F as bindAddonActions,hS as brightnessCapability,Al as brokerCapability,Rn as buildAddonRouteProvider,_n as buildAudioArgs,Gy as buildEventKindDescriptor,Tn as buildFfmpegArgs,pn as buildInputArgs,Eo as buildModelVariantGroups,Mm as buildNcTaxonomy,kP as buildRoleScopes,sO as buildStreamParamsConfigSchema,gn as buildVideoArgs,gS as buttonCapability,yS as cameraCredentialsCapability,jl as cameraPipelineConfigCapability,au as cameraStreamsCapability,eF as canConvertUnit,ur as canonicalEgressPlan,xS as carbonMonoxideCapability,AF as cellsToRects,Go as classifyBearerPrincipal,ni as classifyStream,ti as classifyStreams,wS as climateControlCapability,kN as clusterModelSettingKey,BN as clusterStepSettingFieldsFor,zN as clusterStepSettingKey,ye as collectHydratedFieldEntries,xe as collectHydratedFieldValues,Kr as collectSecretConfigKeys,kS as colorCapability,Dm as colorForKind,wF as commitWatchdogRestart,Ss as compileExpression,Cs as compileExpressionSafe,Ur as composeSwitchedOff,Qs as conditionDepth,BM as conditionExclusionReason,zM as conditionVisibleForKind,PS as connectionTestCapability,IS as connectivityCapability,zS as consumablesCapability,VS as contactCapability,GS as controlCapability,QP as convertUnit,yu as coreBlockAddonId,bu as coreBlockIdFromAddonId,Tu as coreBlocksCapability,cF as cosineSimilarity,$s as countConditionLeaves,JS as coverCapability,qt as createDeviceProxy,ke as createDurableState,De as createEvent,Wt as createEventBusSliceSource,Ts as createExpressionScope,rr as createHwAccelCache,Ut as createLazyTrpcSource,xi as createLogChannelsProvider,Gt as createMirrorSource,RA as createRuntimeStateBridge,k as createSliceHandle,Oj as createSystemProxy,Du as customAction,Au as customModelRegistryCapability,Bu as dataStoreProviderCapability,eC as dayNightCapability,uA as declarationOwnerNodeId,vi as declareLogChannel,JF as decodeVectorBase64,Wu as decoderCapability,QM as defaultDeliveryForSection,sI as defaultDeviceFor,Eu as defineCustomActions,sA as deriveBatteryPresence,Vr as deriveCameraSwitches,nP as deriveDetailCropRect,Yi as deriveRecordingMode,Oo as describeModelVariant,jP as detectAccessRole,Gu as detectionPipelineCapability,md as deviceAdoptionCapability,LF as deviceBackendToFormat,Ou as deviceCustomAction,td as deviceDiscoveryCapability,Cd as deviceExportCapability,Qd as deviceManagerCapability,CA as deviceMatchesProfile,Vt as deviceOpsCapability,Ad as deviceProviderCapability,NP as deviceSelectorMatches,$d as deviceStateCapability,nC as deviceStatusCapability,aC as doorbellCapability,VM as droppedConditionsForKind,dr as egressTranscodeSharingKey,or as egressTransportFromRequest,nf as embeddingEncoderCapability,gt as emitDownForOwnedCaps,Oe as emitReadiness,Gn as encodeProfileFromStreamShape,qF as encodeVectorBase64,cC as enumSensorCapability,fI as enumerateInferenceDevices,HA as enumerateItemArrayFields,VA as enumerateSchemaFields,Ln as errMsg,Ns as evaluateAst,Ls as evaluateExpressionSource,CF as evaluatePoolMemory,Kk as evaluateSensorEdge,XF as evaluateZoneRules,E as event,dC as eventEmitterCapability,pC as eventsCapability,Dt as expandCapMethods,du as extractNestedAddonId,Zu as extractSourceInfoFromMetadata,SC as faceGalleryCapability,of as failureContributionCapability,ho as failureRate,TC as fanControlCapability,DC as featureProbeCapability,lf as filesystemBrowseCapability,Xa as findTimezone,kC as floodCapability,ro as foldSnapshotByFunction,UF as formatForBackend,WF as formatForRuntime,jC as gasCapability,oc as generateAutomationBlock,bm as getAudioMacroClassIds,OA as getByPath,xj as getCapsByProviderKind,_i as getLogChannelRegistry,Em as getTaxonomyEntry,_A as hasMotionTrigger,dF as hfModelUrl,hM as htmlToText,NC as humidifierCapability,FC as humiditySensorCapability,Ce as hydrateSchema,LC as imageCapability,KC as imageSettingsCapability,Io as inferModelProvider,vF as initialPoolMemoryState,tw as integrationsCapability,aw as intercomCapability,kn as invocationFromEncodeProfile,br as isAgentOnlyPlacement,cu as isArrayOutputSchema,eM as isAudioLabelSelected,GM as isAudioRule,fM as isBaseConditionKey,cA as isBatteryPresenceFault,AN as isClusterScopedStep,lu as isCollectionArrayMethod,yr as isDeployableToAgent,pm as isDetectionMacroClass,kt as isDeviceConfigCap,Yt as isDeviceScopedCap,Ee as isEvent,Mi as isFirstLevelMacroClass,wr as isIsolatedBuiltin,xA as isNode,su as isObjectInput,KM as isOccupancyRule,Tj as isRestoredCap,sF as isSameAddonId,iN as isScheduleActive,Gr as isSecretConfigField,fn as isSoftwareDecode,Hk as isSourceCap,LM as isSystemDelivery,ou as isVoidInput,xx as jobKindSchema,gu as kebabToCamel,lM as knownValues,lw as lawnMowerControlCapability,Ox as lifecycleJobSchema,Dx as lifecycleJobScopeSchema,Ex as lifecycleJobStateSchema,Tx as lifecycleTaskSchema,Bf as llmCapability,Df as llmRuntimeCapability,Wf as loadContributionCapability,Sw as localNetworkCapability,rF as locationSimilarity,Tw as lockControlCapability,dn as logBannerArgs,Kf as logChannelsCapability,Yf as logDestinationCapability,ui as logLevelAtMost,tp as loginMethodCapability,uu as looseSchema,Ke as makeProfileBrokerId,qe as makeSourceBrokerId,ym as mapAudioLabelToMacro,yM as markdownToHtmlLite,pM as markdownToText,mF as maskUrlCredentials,Aw as mediaPlayerCapability,Ju as mergeSourceInfo,Pw as meshNetworkCapability,T as method,Ho as methodAccessForHttpMethod,Cp as metricsProviderCapability,Tp as modelConvertCapability,Op as modelDistributorCapability,cI as modelFormatForRuntime,Lw as motionCapability,jp as motionDetectionCapability,Bw as motionTriggerCapability,Gw as motionZonesCapability,Up as mqttBrokerCapability,Xw as nativeObjectDetectionCapability,qp as networkAccessCapability,eT as networkQualityCapability,vt as nodePin,gT as nodesCapability,Re as normalizeAddonInitResult,Aj as normalizeAudioLabel,zP as normalizeTokenScopes,Yu as normalizeUnit,lm as notificationOutputCapability,Zh as notificationRulesCapability,CT as notifierCapability,TT as numericSensorCapability,lg as oauthIntegrationCapability,fu as objectInputDeclaresAddonId,jT as osdCapability,zT as osdManagerCapability,GN as overlayClusterStepSettings,oi as parseCameraStreamConfig,ys as parseExpression,an as parseJsonArray,rn as parseJsonObject,Zt as parseJsonUnknown,_F as parseProcStatus,Je as parseProfileBrokerId,WM as parseRuleSection,cO as parseStreamParamsFormPatch,Qj as patchAudio,GT as petFeederCapability,yA as pickAccessoryControl,FN as pickClusterStepModels,WN as pickClusterStepSettings,$N as pickDetailCropConvention,EP as pickNativeLeaseOverride,Za as pickPreferredRtspEntry,EF as pickRestartCandidate,Dn as pickVideoEncoder,cM as pickerForCondition,Dv as pipelineAnalyticsCapability,Vg as pipelineExecutorCapability,Ry as pipelineOrchestratorCapability,ty as pipelineRunnerCapability,ZT as plateGalleryCapability,pE as platformProbeCapability,xF as poolMemoryThreshold,hE as powerMeterCapability,EM as prepareNotification,vE as presenceCapability,bE as pressureSensorCapability,Ko as principalMayReachAddon,EE as privacyMaskCapability,hu as procedureAuthKey,RE as ptzAutotrackCapability,NE as ptzCapability,GF as pythonScriptForBackend,NN as readClusterStepModels,HN as readClusterStepSettings,ZN as readDetailCropConvention,Ik as readDeviceStateFrom,CP as readNativeLeaseOverride,bt as readNodePin,EN as readTimelapseGeneratedAt,ut as readinessKey,zE as rebootCapability,uD as recordingCapability,SD as recordingExportCapability,kF as rectsToCells,co as reducePoints,KF as requiresPython,TF as resetPoolBaseline,vr as resolveAddonExecution,xr as resolveAddonGroup,Cr as resolveAddonPlacement,HF as resolveAddonRuntime,so as resolveBucketMs,St as resolveCapMount,IN as resolveClusterStepModelId,BF as resolveDetectionRuntime,hA as resolveDeviceControlKind,EA as resolveDeviceProfile,ar as resolveEgressDecodeHwAccel,xM as resolveFormat,Se as resolveHydratedFieldValue,mu as resolveMethodAuth,VF as resolveModelFormat,SA as resolveMutate,gF as resolvePoolMemoryPolicy,Zi as resolveRecordingProfiles,Sr as resolveRunnerId,Do as resolveVariantModelId,RP as resolveViewableDeviceIds,OP as roleSpec,tN as ruleEditorSectionsForKind,RM as ruleKindOf,FM as ruleKindSpec,qM as ruleMatchesSection,UM as ruleSection,JM as ruleSectionOf,ZM as ruleSeedForSection,MF as runInferenceStep,oI as runtimeDevices,Cj as runtimeStatePolicyFor,WD as sceneMonitorCapability,qr as schemaDeclaresAnyField,IP as scopeInherits,dt as scopeKey,Wo as scopesAllowAddon,Uo as scopesAllowDeviceCap,lI as scoreRuntimes,KD as scriptRunnerCapability,Ye as selectAssignedProfileSlots,eb as serverManagementCapability,kA as setByPath,Ru as settingsStoreCapability,on as sleep,sn as sleepCancellable,Uk as sliceActiveValue,Wk as sliceChangedAt,JD as smokeCapability,ab as smtpProviderCapability,cb as snapshotCapability,ub as ssoBridgeCapability,PA as startReachabilityPoll,Lk as stateVocabularyFor,fb as storageCapability,hb as storageEvictableCapability,gb as storageMigrationCapability,Ob as storageProviderCapability,eu as streamBrokerCapability,ZD as streamCatalogCapability,iO as streamParamsCapability,ei as streamPixels,$r as streamQualityLabel,Om as subKindsOf,DE as summarisePrivacyAudio,WP as summarizeEffectiveScope,aI as supportedRuntimes,uO as switchCapability,Hr as switchedOffIds,qu as synthesizeSourceInfo,VO as systemCapability,oN as systemEventFilterApplies,sN as systemEventFilterAppliesToAnyKind,UO as tamperCapability,wx as taskLogEntrySchema,Sx as taskPhaseSchema,Cx as taskTargetSchema,GO as temperatureSensorCapability,Lb as terminalSessionCapability,vM as textToHtml,iA as toDeviceSummary,Fs as toExpressionValue,yt as toNodeId,ri as toStreamSourceEntry,qO as toastCapability,tM as toggleAudioLabel,fs as tokenize,SM as transcodeBody,$P as tryConvertUnit,zb as turnProviderCapability,YP as unitDimension,tF as unitsForDimension,YO as updateCapability,ck as userManagementCapability,Vb as userPasskeysCapability,fk as vacuumControlCapability,Is as validateExpressionSource,tc as validateRecipeBounds,hk as valveCapability,YF as vectorDimFromBase64,lx as vectorStoreCapability,_k as vibrationCapability,mx as videoclipsCapability,Lt as viewerUiCapability,yk as waterHeaterCapability,xk as weatherCapability,hx as webrtcClientHintsSchema,vx as webrtcSessionCapability,mr as wiringAddonHealthSchema,gr as wiringHealthSnapshotSchema,hr as wiringNodeHealthSchema,fr as wiringProbeKindSchema,pr as wiringProbeResultSchema,ej as zodEntriesToConfigUI,Ak as zoneAnalyticsCapability,Mk as zoneRulesCapability,qg as zonesCapability};
|
|
349
|
+
`).trim()}var gM=[[/&/g,`&`],[/</g,`<`],[/>/g,`>`],[/"/g,`"`],[/'/g,`'`]];function _M(e){let t=e;for(let[e,n]of gM)t=t.replace(e,n);return t}function vM(e){return _M(e).replace(/\n/g,`<br>`)}function yM(e){return _M(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 bM={text:[`text`,`markdown`,`html`],markdown:[`markdown`,`html`,`text`],html:[`html`,`text`,`markdown`]};function xM(e,t){for(let n of bM[e]??bM.text)if(t.includes(n))return n;return t[0]??`text`}function SM(e,t,n){if(t===n)return e;if(n===`text`){if(t===`markdown`)return pM(e);if(t===`html`)return hM(e)}if(n===`html`){if(t===`text`)return vM(e);if(t===`markdown`)return yM(e)}if(n===`markdown`){if(t===`text`)return e;if(t===`html`)return hM(e)}return e}function CM(e){return{id:e.id,ordinal:e.ordinal,...e.flags?{flags:e.flags}:{},...e.requires?{requires:e.requires}:{}}}function wM(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 CM(n)}let n=e.filter(e=>e.ordinal!==null);if(n.length===0)return CM(e[0]);let r=t.priority;return CM([...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 TM(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 EM(e,t){let n=[],r=t.format,i=xM(r,e.format);i!==r&&n.push(`format`);let a=SM(t.body,r,i),o=wM(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 ee=null;t.sound!==void 0&&(e.sound?ee=t.sound:n.push(`sound`));let te=null;t.ttl!==void 0&&(e.ttl?te=t.ttl:n.push(`ttl`));let ne=t.tag??null,re=TM(a,e.bodyMaxLen),m=re.length>1,ie={level:o?.id??``,format:i,attachmentsSent:c.length,actionsSent:f.length,truncated:m,dropped:n};return{body:re[0]??``,...t.title===void 0?{}:{title:t.title},format:i,level:o,attachments:c,actions:f,clickUrl:p,sound:ee,ttl:te,tag:ne,bodyParts:re,renderedAs:ie}}var DM=`An occupancy edge is not a sensor event: it carries no sensor kind, so this condition can never match one.`,OM=`An occupancy edge carries no device event-type token — that comes from an event-emitter slice, which a count crossing has none of.`,kM=`An occupancy edge is always produced by the pipeline, so any other source can never match and “pipeline” narrows nothing.`,AM=`A confirmed sound window is always stamped as an audio subject, so any other source can never match.`,jM=`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.`,MM=`A sound window’s evidence is a percentage of samples, not a detector score, so a confidence threshold can never be satisfied.`,NM=`A sound has no position in the frame, so a zone or a drawn polygon can never match it.`,PM=[{kind:`detection`,label:`Conditions`,excluded:{},carriesMedia:!0,carriesSubjectCrop:!0},{kind:`sensor`,label:`Conditions`,excluded:{},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:DM,eventTypeTokens:OM,source:kM},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:jM,classesExclude:jM,minConfidence:MM,zones:NM,zonesExclude:NM,customZones:NM,crossing:NM,labelEquals:jM,identities:jM,identitiesExclude:jM,plates:jM,source:AM},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:`system`,label:`Events`,discriminator:`systemEvent`,excluded:{},carriesMedia:!1,carriesSubjectCrop:!1,blurb:`The installation itself: a camera or stream dropping, a node leaving, an update landing. There is no detection behind it and no frame to attach.`}];function FM(e){return PM.find(t=>t.kind===e)??PM[0]}var IM=`system-event`;function LM(e){return e===IM}function RM(e){return LM(e.delivery)?`system`: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 zM(e,t,n){let r=FM(n);return e.id===r.discriminator?!0:e.appliesTo.includes(t)?r.excluded[e.id]===void 0:!1}function BM(e,t){let n=FM(t);return e===n.discriminator?null:n.excluded[e]??null}function VM(e,t){let n=FM(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 HM=[{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.`},{key:`detection`,label:`Detections & devices`,blurb:`Rules driven by what the cameras and sensors SEE — detections, tracks, doorbell presses and package events.`,newRuleLabel:`New detection rule`,emptyHint:`No detection rules yet. Create one to be told what your cameras see.`},{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.`},{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.`},{key:`system`,label:`System events`,blurb:`Rules about the installation itself: a camera or stream dropping, a node leaving the cluster, an addon or server update becoming available. These carry no image and are not tied to a detection.`,newRuleLabel:`New system rule`,emptyHint:`No system-event rules yet. These tell you when a camera drops, a node leaves or an update lands.`}];function UM(e){return HM.find(t=>t.key===e)??HM[0]}function WM(e){return HM.find(t=>t.key===e)?.key}function GM(e){return e.conditions.audio!==void 0}function KM(e){return e.conditions.occupancy!==void 0}function qM(e,t){return t===`all`?!0:t===`system`?LM(e.delivery):t===`audio`?GM(e):t===`occupancy`?KM(e):!LM(e.delivery)&&!GM(e)&&!KM(e)}function JM(e){return qM(e,`system`)?`system`:qM(e,`audio`)?`audio`:qM(e,`occupancy`)?`occupancy`:`detection`}var YM={op:`became-occupied`,count:1,sustainSeconds:15},XM={hitPercent:Kj.hitPercent,samplingSeconds:Kj.samplingSeconds,dbThreshold:-55};function ZM(e){switch(e){case`system`:return{delivery:IM,conditions:{}};case`audio`:return{delivery:`immediate`,conditions:{audio:XM}};case`occupancy`:return{delivery:`device-event`,conditions:{occupancy:YM}};default:return{delivery:`immediate`,conditions:{}}}}function QM(e){return ZM(e).delivery}var $M=[`rule`,`devices`,`conditions`,`notification`,`actions`,`advanced`],eN={rule:`Rule`,devices:`Cameras`,conditions:`Conditions`,notification:`Notification`,actions:`Actions`,advanced:`Advanced`};function tN(e){let t=FM(e),n=[];for(let r of $M)r===`devices`&&e===`system`||n.push({key:r,label:r===`conditions`?t.label:eN[r]});return n}var nN={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};function rN(e,t){let n=new Date(e);if(t!==void 0)try{let e=new Intl.DateTimeFormat(`en-US`,{timeZone:t,weekday:`short`,hour:`numeric`,minute:`numeric`,hourCycle:`h23`}).formatToParts(n),r,i,a;for(let t of e)t.type===`weekday`?r=t.value:t.type===`hour`?i=Number(t.value):t.type===`minute`&&(a=Number(t.value));let o=r===void 0?void 0:nN[r];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 iN(e,t){if(e===void 0)return!0;let{day:n,minute:r}=rN(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 aN=[`deviceIds`,`deviceTypes`,`nodeIds`,`packageNames`];function oN(e,t){switch(t){case`deviceIds`:return e.startsWith(`device-`)||e.startsWith(`stream-`)||e===`detection-blind`||e===`alarm-triggered`||e===`export-completed`;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===`server-updated`;case`packageNames`:return e.endsWith(`update-available`)||e===`addon-updated`||e===`server-updated`}}function sN(e,t){return e.some(e=>oN(e,t))}var cN=i({title:g().max(500).optional(),body:g().max(2e3).optional()}),lN=g().min(1).max(200),uN=p(a()).min(1),dN=a().int().min(2).max(3600),fN=a().int().min(1).max(60),pN=p(_h).min(1),mN=a().int().min(1).max(5),hN=.1,gN=a().min(hN).max(3600),_N=a().min(0).max(60),vN=g().max(200),yN=m([`image`,`gif`]),bN=p(g().min(1).max(40)).max(20),xN=i({name:lN,enabled:v().default(!0),deviceIds:uN,schedule:rh,cadenceSec:dN.default(15),framerate:fN.default(10),denseCadenceSec:gN.optional(),minDwellSec:_N.optional(),targets:pN,template:cN.optional(),previewText:vN.optional(),previewMode:yN.default(`image`),reportClasses:bN.optional(),priority:mN.default(3)}),SN=`Timelapse {{camera}}`,CN=i({name:lN.optional(),enabled:v().optional(),deviceIds:uN.optional(),schedule:rh.optional(),cadenceSec:dN.optional(),framerate:fN.optional(),denseCadenceSec:gN.optional(),minDwellSec:_N.optional(),targets:pN.optional(),template:cN.nullable().optional(),previewText:vN.optional(),previewMode:yN.optional(),reportClasses:bN.optional(),priority:mN.optional()}),wN=xN.extend({id:g(),ownerUserId:g().optional(),lastGeneratedAt:a().optional(),generatedByDevice:n(g(),a()).optional(),createdBy:g(),createdAt:a(),updatedAt:a()});function TN(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 EN(e,t){let n=e.generatedByDevice;return n===void 0?e.lastGeneratedAt??0:n[String(t)]??0}var DN=[{stepId:`face-embedding`,label:`Face recognition model`,defaultModelId:`arcface-r100`,indexName:`the enrolled face gallery`,options:[{id:`arcface-r100`,label:`ArcFace (ResNet34)`},{id:`auraface-r100`,label:`AuraFace R100`},{id:`inception-resnet-v1`,label:`Inception ResNet V1`}]},{stepId:`clip-embedding`,label:`Semantic search model`,defaultModelId:`mobileclip-s1`,indexName:`the object semantic-search index`,options:[{id:`mobileclip-s1`,label:`MobileCLIP S1`},{id:`mobileclip-s2`,label:`MobileCLIP S2`}]}],ON=`cluster-step-models`;function kN(e){return`clusterModel:${e}`}function AN(e){return DN.some(t=>t.stepId===e)}var jN=Object.freeze(Object.fromEntries(DN.map(e=>[e.stepId,e.defaultModelId]))),MN=g().min(1);function NN(e){let t={};for(let n of DN){let r=MN.safeParse(e[kN(n.stepId)]);t[n.stepId]=r.success?r.data:n.defaultModelId}return t}function PN(e){return typeof e==`object`&&!!e&&`key`in e}function FN(e){if(e===null)return jN;let t={},n=new Set(DN.map(e=>kN(e.stepId)));for(let r of e.sections)for(let e of r.fields)!PN(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return NN(t)}function IN(e,t){let n=DN.find(t=>t.stepId===e);if(n===void 0)return null;let r=t[e];return r!==void 0&&r!==``?r:n.defaultModelId}var LN=24,RN=[{stepId:`face-embedding`,key:`minLandmarkFaceSize`,label:`Min face size for recognition (detection px)`,description:`Refuse to embed a face smaller than this IN THE DETECTION FRAME. Applies to every node — the enrolled gallery is one index, and two admission floors would fill it from two policies. 0 disables the gate.`,type:`slider`,min:0,max:64,step:2,default:24}];function zN(e,t){return`clusterStepSetting:${e}:${t}`}function BN(e){return RN.filter(t=>t.stepId===e)}var VN=a().finite();function HN(e){let t={};for(let n of RN){let r=VN.safeParse(e[zN(n.stepId,n.key)]),i=r.success?r.data:n.default,a=t[n.stepId]??{};t[n.stepId]={...a,[n.key]:i}}return t}var UN=HN({});function WN(e){if(e===null)return UN;let t={},n=new Set(RN.map(e=>zN(e.stepId,e.key)));for(let r of e.sections)for(let e of r.fields)!PN(e)||typeof e.key!=`string`||n.has(e.key)&&(t[e.key]=e.value);return HN(t)}function GN(e,t,n){let r=n[e];return r===void 0||Object.keys(r).length===0?t===void 0?void 0:{...t}:t===void 0?{...r}:{...t,...r}}var KN=`detail-crop`,qN=`detailCropPaddingRatio`,JN=`detailCropSquare`,YN=i({paddingRatio:a().min(0).max(4),square:v()}),XN={paddingRatio:.15,square:!1};function ZN(e){let t=YN.shape.paddingRatio.safeParse(e[qN]),n=YN.shape.square.safeParse(e[JN]);return{paddingRatio:t.success?t.data:XN.paddingRatio,square:n.success?n.data:XN.square}}function QN(e){return typeof e==`object`&&!!e&&`key`in e}function $N(e){if(e===null)return XN;let t={};for(let n of e.sections)for(let e of n.fields)!QN(e)||typeof e.key!=`string`||(e.key===`detailCropPaddingRatio`||e.key===`detailCropSquare`)&&(t[e.key]=e.value);return ZN(t)}var eP=Object.freeze({x:0,y:0,w:1,h:1}),tP={min:0,max:1,step:.05,default:XN.paddingRatio};function nP(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?aP(rP(o,t,n),t,n):iP(o,t,n)}function rP(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 iP(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 aP(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 oP=`native-lease`,sP=`nativeLeaseHoldFrames`,cP=`nativeLeaseBudgetMb`,lP=`nativeLeaseActivityMs`,uP=`nativeLeaseAdmission`,dP=`nativeTileBudgetMb`,fP=`nativeSceneBudgetMb`,pP=m([`all`,`inferred`]),mP=i({holdFrames:a().int().min(1).max(64),budgetMb:a().int().min(0).max(4096),activityMs:a().int().min(0).max(12e4),admission:pP,tileBudgetMb:a().int().min(0).max(1024),sceneBudgetMb:a().int().min(0).max(1024)}),Q={holdFrames:8,budgetMb:1024,activityMs:15e3,tileBudgetMb:64,sceneBudgetMb:48,admission:`inferred`},hP={min:1,max:64,step:1,default:Q.holdFrames},gP={min:0,max:4096,step:64,default:Q.budgetMb},_P={min:0,max:12e4,step:1e3,default:Q.activityMs},vP={min:0,max:1024,step:16,default:Q.tileBudgetMb},yP={min:0,max:1024,step:16,default:Q.sceneBudgetMb},bP={options:[{value:`all`,label:`Every delivered frame`},{value:`inferred`,label:`Only frames sent to inference`}],default:Q.admission};function xP(e,t){let n=mP.shape[e].safeParse(t);return n.success?n.data===Q[e]?null:n.data:null}function SP(e){let t=pP.safeParse(e);return t.success?t.data===Q.admission?null:t.data:null}function CP(e){let t=xP(`holdFrames`,e[sP]),n=xP(`budgetMb`,e[cP]),r=xP(`activityMs`,e[lP]),i=SP(e[uP]),a=xP(`tileBudgetMb`,e[dP]),o=xP(`sceneBudgetMb`,e[fP]);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 wP(e){return typeof e==`object`&&!!e&&`key`in e}var TP=[sP,cP,lP,uP,dP,fP];function EP(e){if(e===null)return{};let t={};for(let n of e.sections)for(let e of n.fields)!wP(e)||typeof e.key!=`string`||TP.includes(e.key)&&(t[e.key]=e.value);return CP(t)}var DP=[{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 OP(e){let t=DP.find(t=>t.id===e);if(!t)throw Error(`Unknown access role '${e}'`);return t}function kP(e){let t=OP(e.roleId);return[{type:`device`,selector:e.selector,access:[...t.deviceAccess],includeLinked:e.includeLinked},{type:`category`,target:`system`,access:[...t.systemAccess]}]}function AP(e,t){if(e.length!==t.length)return!1;let n=new Set(e);return t.every(e=>n.has(e))}function jP(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=DP.find(e=>AP(e.deviceAccess,r.access)&&AP(e.systemAccess,i.access));return a?{roleId:a.id,selector:r.selector,includeLinked:r.includeLinked}:null}var MP=8;function NP(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 PP(e,t){return e.some(e=>e.type===`category`&&e.target===`device`&&e.access.includes(t))}function FP(e,t){return e.filter(e=>e.type===`device`&&e.access.includes(t))}function IP(e,t){return e.includeLinked??t===`view`}function LP(e,t){let n=[],r=e;for(let e=0;e<MP;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 RP(e,t,n){if(PP(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=FP(e,n),a=new Set;for(let e of t)for(let t of i){if(NP(t.selector,e)){a.add(e.id);break}if(IP(t,n)&&LP(e.id,r).some(e=>{let n=r.get(e);return n!==void 0&&NP(t.selector,n)})){a.add(e.id);break}}return a}function zP(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){let e=q.safeParse(n);e.success&&t.push(e.data)}return t}var BP=[`view`,`create`,`delete`];function VP(e,t,n,r){return r?{all:!0,deviceCount:t.length}:{all:PP(e,n)||FP(e,n).some(e=>e.selector.kind===`all`),deviceCount:RP(e,t,n).size}}function HP(e){let t=[];for(let n of e)n.type===`capability`&&t.push({name:n.target,access:n.access});return t}function UP(e){let t=[];for(let n of e)n.type===`addon`&&t.push({name:n.target,access:n.access});return t}function WP(e,t,n){let r={view:VP(e,t,`view`,n),create:VP(e,t,`create`,n),delete:VP(e,t,`delete`,n)},i=n?BP:BP.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:HP(e),addons:UP(e)}}var GP={camera:{type:`camera`,label:`Camera`,icon:`camera`}},KP={"°C":{dimension:`temperature`,factor:1,offset:0},"°F":{dimension:`temperature`,factor:5/9,offset:-160/9},K:{dimension:`temperature`,factor:1,offset:-273.15},hPa:{dimension:`pressure`,factor:1,offset:0},kPa:{dimension:`pressure`,factor:10,offset:0},Pa:{dimension:`pressure`,factor:.01,offset:0},mbar:{dimension:`pressure`,factor:1,offset:0},bar:{dimension:`pressure`,factor:1e3,offset:0},inHg:{dimension:`pressure`,factor:33.8639,offset:0},mmHg:{dimension:`pressure`,factor:1.33322,offset:0},psi:{dimension:`pressure`,factor:68.9476,offset:0},"m/s":{dimension:`speed`,factor:1,offset:0},"km/h":{dimension:`speed`,factor:1/3.6,offset:0},mph:{dimension:`speed`,factor:.44704,offset:0},kn:{dimension:`speed`,factor:.514444,offset:0},"mm/h":{dimension:`precipitation-rate`,factor:1,offset:0},"in/h":{dimension:`precipitation-rate`,factor:25.4,offset:0},m:{dimension:`length`,factor:1,offset:0},mm:{dimension:`length`,factor:.001,offset:0},cm:{dimension:`length`,factor:.01,offset:0},km:{dimension:`length`,factor:1e3,offset:0},in:{dimension:`length`,factor:.0254,offset:0},ft:{dimension:`length`,factor:.3048,offset:0},mi:{dimension:`length`,factor:1609.344,offset:0},lx:{dimension:`illuminance`,factor:1,offset:0},"W/m²":{dimension:`irradiance`,factor:1,offset:0},W:{dimension:`power`,factor:1,offset:0},kW:{dimension:`power`,factor:1e3,offset:0},VA:{dimension:`apparent-power`,factor:1,offset:0},Wh:{dimension:`energy`,factor:1,offset:0},kWh:{dimension:`energy`,factor:1e3,offset:0},MWh:{dimension:`energy`,factor:1e6,offset:0},V:{dimension:`voltage`,factor:1,offset:0},mV:{dimension:`voltage`,factor:.001,offset:0},A:{dimension:`current`,factor:1,offset:0},mA:{dimension:`current`,factor:.001,offset:0},ppm:{dimension:`concentration-volume`,factor:1,offset:0},ppb:{dimension:`concentration-volume`,factor:.001,offset:0},"µg/m³":{dimension:`concentration-mass`,factor:1,offset:0},"mg/m³":{dimension:`concentration-mass`,factor:1e3,offset:0},kg:{dimension:`mass`,factor:1,offset:0},g:{dimension:`mass`,factor:.001,offset:0},lb:{dimension:`mass`,factor:.453592,offset:0},oz:{dimension:`mass`,factor:.0283495,offset:0},"%":{dimension:`percentage`,factor:1,offset:0}},qP=class extends Error{from;to;reason;constructor(e,t,n){super(`[units] cannot convert '${e}' → '${t}': ${n}`),this.name=`UnitConversionError`,this.from=e,this.to=t,this.reason=n}};function JP(e){return Object.hasOwn(KP,e)?KP[e]:void 0}function YP(e){return JP(e)?.dimension}function XP(e,t){return e*t.factor+t.offset}function ZP(e,t){return(e-t.offset)/t.factor}function QP(e,t,n){if(t===n)return e;let r=JP(t);if(!r)throw new qP(t,n,`unknown-from`);let i=JP(n);if(!i)throw new qP(t,n,`unknown-to`);if(r.dimension!==i.dimension)throw new qP(t,n,`cross-dimension`);return ZP(XP(e,r),i)}function $P(e,t,n){if(t===n)return e;let r=JP(t);if(!r)return;let i=JP(n);if(i&&r.dimension===i.dimension)return ZP(XP(e,r),i)}function eF(e,t){if(e===t)return!0;let n=YP(e);return n===void 0?!1:n===YP(t)}function tF(e){let t=[];for(let[n,r]of Object.entries(KP))r.dimension===e&&t.push(n);return t}function nF(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 rF(e,t){let n=e.trim().toLowerCase(),r=t.trim().toLowerCase();return n===r?1:n.length===0||r.length===0?0:1-nF(n,r)/Math.max(n.length,r.length)}function iF(e,t,n=.8){let r=null,i=0;for(let a of t){let t=rF(e,a);t>=n&&t>i&&(r=a,i=t)}return r}var aF=`addon:`;function oF(e){return e.startsWith(aF)?e.slice(6):e}function sF(e,t){return oF(e)===oF(t)}function cF(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 lF=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(),uF(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 uF(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 dF(e,t){return`https://huggingface.co/${e}/resolve/main/${t}`}var fF=[/^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 pF(e){return fF.some(t=>t.test(e))}function mF(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()))pF(e)&&(t.searchParams.set(e,`***`),n=!0);return n?t.toString():e}catch{return e}}var $=1024*1024,hF={sampleIntervalMs:6e4,baselineSettleSamples:5,baselineSampleCount:3,restartMultiple:4,floorBytes:1024*$,ceilingBytes:3072*$,cooldownMs:30*6e4,maxRestartsPerWindow:6,restartWindowMs:1440*6e4};function gF(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=hF;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 _F(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 vF(){return{settleSeen:0,baselineWindow:[],baselineBytes:null,restartsAt:[],lastRestartAt:null}}function yF(e){let t=[...e].sort((e,t)=>e-t);return t[Math.floor(t.length/2)]}function bF(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:yF(r)}}function xF(e,t){return e===null?t.ceilingBytes:Math.min(t.ceilingBytes,Math.max(t.floorBytes,t.restartMultiple*e))}function SF(e,t,n){return e.filter(e=>t-e<n.restartWindowMs)}function CF(e,t,n,r){let i=bF(e,t,r),a=xF(i.baselineBytes,r);if(t<=a)return{state:i,action:i.baselineBytes===null?`baseline-pending`:`ok`,baselineBytes:i.baselineBytes,thresholdBytes:a};let o=SF(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 wF(e,t){return{...vF(),restartsAt:[...e.restartsAt,t],lastRestartAt:t}}function TF(e){return{...vF(),restartsAt:e.restartsAt,lastRestartAt:e.lastRestartAt}}function EF(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 DF=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??vF();t&&t.pids.length>0&&!OF(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=TF(a));let o=CF(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=EF(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:wF(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 OF(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 kF(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 AF(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 jF=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 MF(e,t){let n=performance.now();try{return{output:t===void 0?await e():await PF(e(),t),durationMs:NF(performance.now()-n),ok:!0}}catch(e){return{output:void 0,durationMs:NF(performance.now()-n),ok:!1,error:Ln(e)}}}function NF(e){return Math.round(e*100)/100}function PF(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 FF={cpu:`onnx`,coreml:`onnx`,cuda:`onnx`,tensorrt:`onnx`,"onnx-py":`onnx`,pytorch:`pt`,openvino:`openvino`},IF={openvino:`openvino`,edgetpu:`tflite`,coreml:`coreml`,onnx:`onnx`,cpu:`onnx`,cuda:`onnx`};function LF(e){return IF[e]??`onnx`}var RF={onnx:`onnx`,coreml:`coreml`,openvino:`openvino`,tflite:`tflite`,pytorch:`pt`},zF={coreml:`coreml_inference.py`,pytorch:`pytorch_inference.py`,openvino:`openvino_inference.py`};function BF(e,t){return e===`node`?`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pytorch`,"onnx-py":`onnx`,cpu:`onnx`}[t]??t}function VF(e,t){return e===`node`?FF[t]??`onnx`:{coreml:`coreml`,openvino:`openvino`,pytorch:`pt`,"onnx-py":`onnx`,cpu:`onnx`}[t]??`onnx`}function HF(e,t){return!e||e===`auto`?`auto`:BF(e,t??`cpu`)}function UF(e){return FF[e]??`onnx`}function WF(e){return RF[e]}function GF(e){return zF[e]}function KF(e){return e===`coreml`||e===`pytorch`||e===`openvino`}function qF(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 JF(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 YF(e){return Math.floor(Buffer.from(e,`base64`).byteLength/4)}function XF(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=>ZF(t,e,n,l)),f=s.some(t=>ZF(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 ZF(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&&QF(t,e.polygon))return!0}return!1}function QF(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 $F(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 eI={value:`auto`,label:`Auto`},tI={value:`cpu`,label:`CPU`},nI={value:`usb`,label:`Coral USB`},rI=[{id:`onnx`,supports:()=>!0,devices:e=>{if(!e)return[tI];let t=[tI];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[eI];let t=[eI,tI];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`},tI),n},defaultDevice:`all`},{id:`edgetpu`,supports:e=>e?.coral!=null,devices:()=>[nI],defaultDevice:`usb`}];function iI(e){let t=rI.find(t=>t.id===e);if(!t)throw Error(`Unknown runtime: ${e}`);return t}function aI(e){return rI.filter(t=>t.supports(e)).map(e=>e.id)}function oI(e,t){return iI(e).devices(t)}function sI(e){return iI(e).defaultDevice}function cI(e){return e===`edgetpu`?`tflite`:WF(e)}function lI(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 uI={cuda:`gpu`,edgetpu:`usb`,coreml:`all`,cpu:`cpu`};function dI(e,t,n,r){return{key:e===`cpu`?`cpu`:`${e}:${t}`,backend:e,device:t,format:n,runtime:`python`,score:r,available:!0}}function fI(e){let{scores:t}=lI(e),n=[];for(let r of t){if(r.backend===`openvino`){e.npu?.type===`intel-npu`&&n.push(dI(`openvino`,`npu`,r.format,r.score+2)),e.gpu?.type===`intel`&&n.push(dI(`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(dI(`edgetpu`,t,r.format,r.score))}continue}let t=uI[r.backend]??r.backend;n.push(dI(r.backend,t,r.format,r.score))}return n}export{Zk as ACCESSORY_LABEL,DP as ACCESS_ROLES,Jn as ALEXA_EGRESS_PROFILE,fj as ALL_CAPABILITY_DEFINITIONS,_m as APPLE_SA_TO_MACRO,Lr as AUDIO_ANALYSIS_CAP_NAME,Uc as AUDIO_BACKEND_CHOICES,hm as AUDIO_MACRO_LABELS,un as AUDIO_PRESETS,yx as AccessoriesStatusSchema,Z as AccessoryKind,Ip as AddBrokerInputSchema,Vx as AddonAutoUpdateSchema,Fx as AddonListItemSchema,uc as AddonPageDeclarationSchema,cc as AddonPageInfoSchema,ld as AdoptionAdoptInputSchema,ud as AdoptionAdoptResultSchema,Dr as AdoptionCandidateResultSchema,nd as AdoptionFilterSchema,od as AdoptionGetCandidateInputSchema,Or as AdoptionJobSchema,Tr as AdoptionJobStateSchema,id as AdoptionListCandidatesInputSchema,ad as AdoptionListCandidatesOutputSchema,Er as AdoptionOutcomeSchema,dd as AdoptionReleaseInputSchema,sd as AdoptionStatusSchema,uy as AgentLoadSummarySchema,$x as AirQualitySensorStatusSchema,Fm as AlarmArmModeSchema,Im as AlarmPanelStatusSchema,Pm as AlarmStateSchema,jc as AlertSchema,Oc as AlertSeveritySchema,Ac as AlertSourceSchema,kc as AlertStatusSchema,tS as AmbientLightSensorStatusSchema,og as ApiKeyRecordSchema,$O as ApiKeySummarySchema,al as ArchiveEntrySchema,ol as ArchiveManifestSchema,Jp as AttachmentMediaTypeSchema,Yp as AttachmentSchema,Bc as AudioAnalysisResultSchema,Vc as AudioAnalysisSettingsSchema,Lc as AudioChunkInputSchema,rS as AudioClassSummarySchema,zc as AudioClassificationLabelSchema,Hc as AudioClassificationResultSchema,qc as AudioCodecInfoSchema,Jc as AudioDecodeSessionConfigSchema,Un as AudioEncodeSchema,Yc as AudioEncodeSessionConfigSchema,Zc as AudioEncodedChunkSchema,E_ as AudioEventSchema,Rc as AudioLevelSchema,aS as AudioMetricsHistoryPointSchema,oS as AudioMetricsHistorySchema,iS as AudioMetricsSnapshotSchema,Xc as AudioPcmChunkSchema,el as AuthResultSchema,Bx as AutoUpdateSettingsSchema,Xs as AutomationActionSchema,Gs as AutomationConditionOperatorSchema,Js as AutomationConditionSchema,cS as AutomationControlStatusSchema,Zs as AutomationRecipeSchema,Ys as AutomationTriggerSchema,YC as AvailableIntegrationTypeSchema,FF as BACKEND_TO_FORMAT,Kn as BASE_LIVE_EGRESS_PROFILE,wA as BATTERY_DEVICE_PROFILE,oA as BATTERY_UNREACHABLE_AFTER_MS,Xt as BOOT_RECOVERY_BACKOFF_MS,VC as BacklightModeSchema,nl as BackupDestinationInfoSchema,il as BackupEntrySchema,Fe as BaseAddon,rA as BaseDevice,aA as BaseDeviceProvider,uS as BatteryStatusSchema,fS as BinaryStatusSchema,V as BoundingBoxSchema,mS as BrightnessStatusSchema,gl as BrokerAddInputSchema,Bl as BrokerAudioClientSchema,Wl as BrokerClientsSchema,Fp as BrokerConnectionDetailsSchema,Hl as BrokerConsumerAttributionSchema,Vl as BrokerConsumerKindSchema,zl as BrokerDecodedClientSchema,Ul as BrokerEncodedClientSchema,kl as BrokerGetStateInputSchema,Pp as BrokerInfoSchema,pl as BrokerProviderInfoSchema,Tl as BrokerPublishInputSchema,fl as BrokerRegistryStatusSchema,Rl as BrokerRtspClientSchema,st as BrokerStatsSchema,ul as BrokerStatusEnum,ot as BrokerStatusSchema,El as BrokerSubscribeInputSchema,Dl as BrokerSubscribeResultSchema,yl as BrokerTestConnectionResultSchema,Ol as BrokerUnsubscribeInputSchema,Fu as BulkRecordSchema,zr as CAMERA_SWITCH_CATALOG,jr as CAMERA_SWITCH_ORDER,Ve as CAM_PROFILE_ORDER,uj as CAPABILITY_NAMES,dj as CAPABILITY_ROUTER_KEYS,lj as CAP_NAMES_WITH_STATUS,_t as CAP_NODE_PIN_CONTEXT_KEY,yj as CAP_PROVIDER_KIND_MAP,Ai as CLASS_MAP_MACRO_TARGETS,DN as CLUSTER_MODEL_SCOPED_STEPS,ON as CLUSTER_MODEL_SECTION_ID,RN as CLUSTER_STEP_SETTING_FIELDS,um as COCO_80_LABELS,mm as COCO_TO_MACRO,AS as CONNECTION_TEST_TIMEOUT_MS,vu as CORE_BLOCKS_ADDON_ID,_u as CORE_BLOCK_ADDON_PREFIX,S as CamProfileSchema,YD as CamStreamDescriptorSchema,He as CamStreamKindSchema,C as CamStreamResolutionSchema,gy as CameraAssignmentStatusSchema,Ey as CameraAudioStatusSchema,_y as CameraBrokerProfileSchema,vy as CameraBrokerStatusSchema,_S as CameraCredentialsSchema,vS as CameraCredentialsStatusSchema,yy as CameraDecoderShmSchema,by as CameraDecoderStatusSchema,wy as CameraDetectionPhaseSchema,Cy as CameraDetectionProvisioningSchema,Sy as CameraDetectionProvisioningStateSchema,Ty as CameraDetectionStatusSchema,kv as CameraMetricsSchema,Av as CameraMetricsWithDeviceIdSchema,xy as CameraMotionStatusSchema,Ek as CameraOccupancySnapshotForDeviceSchema,Dy as CameraRecordingModeSchema,Oy as CameraRecordingStatusSchema,hy as CameraSourceStatusSchema,my as CameraSourceStreamSchema,Ay as CameraStatusDegradationReasonSchema,jy as CameraStatusDegradationSchema,Ny as CameraStatusSchema,ky as CameraStatusStageSchema,Ue as CameraStreamSchema,Mr as CameraSwitchAuthoritySchema,Fr as CameraSwitchGroupSchema,Ar as CameraSwitchIdSchema,Pr as CameraSwitchSchema,Nr as CameraSwitchUnavailableReasonSchema,rd as CandidateQueryFilterSchema,tg as CapScopeSchema,fy as CapabilityBindingsSchema,bS as CarbonMonoxideStatusSchema,Pt as ChargingStatus,Qw as ClientNetworkStatsSchema,CS as ClimateControlStatusSchema,px as ClipPlaybackSchema,fx as ClipSchema,cT as ClusterAddonNodeDeploymentSchema,lT as ClusterAddonStatusEntrySchema,Iu as CollectionColumnSchema,Lu as CollectionIndexSchema,OS as ColorStatusSchema,Ld as ConfigEntrySchema,_c as ConfigSectionWithValuesSchema,gc as ConfigTabDeclarationSchema,NS as ConnectionTestDescriptorSchema,MS as ConnectionTestInputSchema,jS as ConnectionTestOutcomeSchema,FS as ConnectivityStatusSchema,LS as ConsumableItemSchema,RS as ConsumablesStatusSchema,BS as ContactStatusSchema,HS as ControlKindSchema,US as ControlStatusSchema,Bo as ConvertArtifactSchema,Vo as ConvertResultSchema,Ro as ConvertTargetSchema,wu as CoreBlockCompileResultSchema,Cu as CoreBlockInputSchema,xu as CoreBlockPlacementSchema,H as CoreBlockSchema,Su as CoreBlockStatusSchema,KS as CoverStateSchema,qS as CoverStatusSchema,ek as CreateApiKeyInputSchema,tk as CreateApiKeyResultSchema,QC as CreateIntegrationInputSchema,rk as CreateScopedTokenInputSchema,ik as CreateScopedTokenResultSchema,ZO as CreateUserInputSchema,Zx as CustomActionInputSchema,ku as CustomModelDescriptorSchema,Be as DATAPLANE_SECRET_HEADER,dA as DECLARED_DEVICE_SWEEP_LIMIT,lA as DECLARED_INTEGRATION_FIXED_KEY,_r as DEFAULT_ADDON_PLACEMENT,Wc as DEFAULT_AUDIO_ANALYZER_CONFIG,jN as DEFAULT_CLUSTER_STEP_MODELS,UN as DEFAULT_CLUSTER_STEP_SETTINGS,Hu as DEFAULT_DECODER_HWACCEL_CONFIG,XN as DEFAULT_DETAIL_CROP_CONVENTION,Gi as DEFAULT_EVENTS_BAND_BUFFER_SEC,xm as DEFAULT_EVENT_COLOR,ci as DEFAULT_FEATURES,Gk as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS,LN as DEFAULT_MIN_LANDMARK_FACE_SIZE_PX,Q as DEFAULT_NATIVE_LEASE_SETTINGS,hF as DEFAULT_POOL_MEMORY_POLICY,Xi as DEFAULT_RECORDING_PROFILES,kr as DEFAULT_RETENTION,xt as DEFAULT_RUNTIME_STATE_DURABILITY,SN as DEFAULT_TIMELAPSE_PREVIEW_TEXT,Yk as DEFAULT_TOKEN_EXPIRY,tP as DETAIL_CROP_PADDING_FIELD,qN as DETAIL_CROP_PADDING_KEY,KN as DETAIL_CROP_SECTION_ID,JN as DETAIL_CROP_SQUARE_KEY,fm as DETECTION_MACRO_CLASSES,Ir as DETECTION_PIPELINE_CAP_NAME,IF as DEVICE_BACKEND_TO_FORMAT,hj as DEVICE_CAP_NAMES,jd as DEVICE_CHILDREN_BATCH_MAX,TA as DEVICE_PROFILES,Jt as DEVICE_SCOPED_CAPS,Tt as DEVICE_SETTINGS_CONTRIBUTION_METHODS,Fk as DEVICE_STATE_READERS,Et as DEVICE_STATUS_METHOD,pA as DEVICE_TYPE_CONTROL_KIND,GP as DEVICE_TYPE_INFO,zu as DataStoreEngineInfoSchema,YS as DayNightModeSchema,QS as DayNightOptionsSchema,$S as DayNightSettingsPatchSchema,ZS as DayNightStatusSchema,fA as DeclaredDevices,rt as DecodedAudioChunkSchema,$e as DecodedFrameSchema,Ka as DecoderSessionConfigSchema,Ga as DecoderStatsSchema,ew as DeleteIntegrationResultSchema,YN as DetailCropConventionSchema,Ni as DetectionCatalogClassMapSchema,S_ as DetectionSourceSchema,sw as DeviceCodeSeveritySchema,$k as DeviceConfig,ed as DeviceDiscoveryStatusSchema,xd as DeviceExportExposeInputSchema,vd as DeviceExportStatusSchema,Sd as DeviceExportUnexposeInputSchema,Nt as DeviceFeature,Id as DeviceInfoSchema,$w as DeviceNetworkStatsSchema,O as DeviceRole,eA as DeviceRuntimeState,ng as DeviceSelectorSchema,tC as DeviceStatusSchema,D as DeviceType,TO as DiagnosticIdSchema,MO as DiagnosticWindowPatchSchema,jO as DiagnosticWindowSchema,$u as DiscoveredChildDeviceSchema,Qu as DiscoveredChildStatusSchema,Td as DiscoveredDeviceSchema,am as DiscoveredTargetSchema,My as DiskReconcileJobSchema,ze as DisposerChain,iC as DoorbellPressEventSchema,rC as DoorbellStatusSchema,Wy as EVENTFUL_CAP_NAMES,av as EVENT_DENSITY_BATCH_MAX,Uy as EVENT_KIND_BY_CAP,Pi as EVENT_PAD_MS,Tm as EVENT_TAXONOMY,pD as EXPORT_DENSE_MAX_RANGES,Zo as EXPRESSION_BUILTINS,Qo as EXPRESSION_BUILTIN_NAMES,is as EXPRESSION_COMPILE_CACHE_CAPACITY,as as EXPRESSION_IDENTIFIER_RE,Ps as EXPRESSION_INJECTED_NOW,Xl as EgressEncodeSchema,Zl as EgressRateControlSchema,Ql as EgressTranscodeRequestSchema,$l as EgressTranscodeSchema,lF as ElementConfigStore,tf as EmbeddingInfoSchema,ef as EmbeddingResultSchema,Wn as EncodeProfileSchema,Qe as EncodedPacketSchema,Ec as EnrichedWidgetMetadataSchema,oC as EnumSensorDateTimeFormatSchema,sC as EnumSensorStatusSchema,he as EventCategory,iv as EventDensityBucketSchema,ov as EventDensityForDeviceSchema,uC as EventEmitterStatusSchema,lC as EventFireSchema,fC as EventItemSchema,Qg as EventKindCategorySchema,e_ as EventKindDescriptorSchema,Zg as EventKindIconSchema,Yg as EventKindSchema,t_ as EventKindsForDeviceSchema,Pl as EventMediaArtifactSchema,Fl as EventMediaCoverageSchema,Nl as EventMediaKindSchema,Il as EventMediaProductionSchema,In as EventSourceType,xD as ExportBytesSchema,fD as ExportDenseRangeSchema,mD as ExportDenseSchema,yD as ExportDownloadSchema,gD as ExportOptionsSchema,vD as ExportRecordSchema,gd as ExportSetupFieldSchema,_d as ExportSetupSchema,dD as ExportSpeedSchema,_D as ExportStateSchema,hD as ExportTimelapseSchema,bd as ExposedDeviceSchema,BC as ExposureModeSchema,Vs as ExpressionBindingSourceSchema,F as ExpressionEvalError,Rs as ExpressionFieldBindingSchema,Bs as ExpressionGlobalBindingSchema,zs as ExpressionLiteralBindingSchema,P as ExpressionParseError,Hs as ExpressionSourceSchema,ji as FIRST_LEVEL_MACRO_CLASSES,eP as FULL_IMAGE_BBOX,af as FailureContributionSchema,mo as FailureCounters,rf as FailureReasonCountSchema,wC as FanControlStatusSchema,CC as FanDirectionSchema,dO as FeatureManifestSchema,EC as FeatureProbeStatusSchema,OC as FloodStatusSchema,Nn as Fmp4BoxSplitter,et as FrameHandleFormatSchema,w as FrameHandleSchema,Fc as FrameInputSchema,Qv as FrameLazyCountersSchema,$v as FrameLazyMetricsSchema,AC as GasStatusSchema,RO as GetLoggingSettingsInputSchema,Jl as GetStreamWithCodecInputSchema,dy as GlobalMetricsSchema,er as HAP_AUDIO_BASE,$n as HAP_AUDIO_BITRATE_KBPS,tr as HAP_AUDIO_VBV_KBITS,nr as HAP_KEYFRAME_INTERVAL_SEC,Jk as HF_BASE_URL,qk as HF_REPO,Vu as HWACCEL_OPTIONS,fO as HealthStatusSchema,If as HfModelResolutionSchema,kk as HistoryPointSchema,Dk as HistoryResolutionEnum,MC as HumidifierStatusSchema,PC as HumiditySensorStatusSchema,SS as HvacModeSchema,Py as INFERENCE_DEVICE_EXCLUSION_REASONS,Yy as ImageContractSchema,Jy as ImageContractStateSchema,RC as ImageRotateSchema,WC as ImageSettingsOptionsSchema,GC as ImageSettingsPatchSchema,UC as ImageSettingsStatusSchema,IC as ImageStatusSchema,Fy as InferenceDeviceExclusionReasonSchema,py as IngestOwnerSchema,Ix as InstalledPackageSchema,JC as IntegrationLiteSchema,qC as IntegrationWithStateSchema,nw as IntercomAbilitySchema,rw as IntercomStatusSchema,mj as KNOWN_CAP_NAMES,tv as KeyEventSchema,Hf as LOAD_CONTRIBUTION_ATTRIBUTIONS,Vf as LOAD_CONTRIBUTION_ROLES,bi as LOG_CHANNEL_TICK_MS,li as LOG_LEVEL_RANK,h_ as LabelAttributionSchema,ki as LabelDefinitionSchema,m_ as LabelTierSchema,ow as LawnMowerActivitySchema,cw as LawnMowerControlStatusSchema,ja as LedgerWalkDeviceReportSchema,Da as LedgerWalkInputSchema,Oa as LedgerWalkRefusalSchema,Ma as LedgerWalkReportSchema,Aa as LedgerWalkSkipCountsSchema,ka as LedgerWalkSkipReasonSchema,zd as LinkedDeviceSchema,Rd as LinkedDevicesModeSchema,Nf as LlmDefaultSchema,Mf as LlmDefaultSelectorSchema,Sf as LlmDownloadProgressSchema,df as LlmErrorCodeSchema,vf as LlmGenerateBaseInputSchema,pf as LlmGenerateErrSchema,ff as LlmGenerateOkSchema,mf as LlmGenerateResultSchema,hf as LlmImageSchema,wf as LlmNodeModelSchema,jf as LlmProfileKindDescriptorSchema,Of as LlmProfileKindSchema,kf as LlmProfileSchema,gf as LlmRetryPolicySchema,Ef as LlmRuntimeCompleteInputSchema,Tf as LlmRuntimeDiskUsageSchema,Lf as LlmRuntimeNodeSchema,Cf as LlmRuntimeStatusSchema,_f as LlmTimeoutDefaults,Pf as LlmUsageRollupSchema,uf as LlmUsageSchema,Uf as LoadContributionSchema,oD as LocateSegmentResultSchema,sl as LocationStatSchema,ww as LockControlStatusSchema,Cw as LockStateSchema,Gf as LogChannelApplyResultSchema,fi as LogChannelDescriptorSchema,mi as LogChannelGate,di as LogChannelLevelSchema,hi as LogChannelRegistry,PO as LogChannelWindowPatchSchema,pi as LogChannelWindowSchema,NO as LogChannelWindowStateSchema,Jf as LogEntrySchema,qf as LogLevelSchema,Yx as LogStreamEntrySchema,kO as LoggingEffectiveSchema,AO as LoggingExplicitSchema,OO as LoggingLevelLayerSchema,DO as LoggingLevelSourceSchema,EO as LoggingScopeKindSchema,FO as LoggingSettingsPatchSchema,BO as LoggingSettingsStateSchema,ep as LoginMethodContributionSchema,Xf as LoginStageEnum,dm as MACRO_LABELS,ux as MAX_CLIP_EVENT_IDS,dx as MAX_CLIP_LABELS,Us as MAX_CONDITION_DEPTH,Ws as MAX_CONDITION_LEAVES,es as MAX_EXPRESSION_AST_NODES,ns as MAX_EXPRESSION_BINDINGS,rs as MAX_EXPRESSION_CALL_ARGS,ts as MAX_EXPRESSION_EVAL_STEPS,$o as MAX_EXPRESSION_SOURCE_LENGTH,uo as MAX_KEYS,lo as MAX_REASONS_PER_KEY,Bi as MAX_SENSOR_TRIGGER_DEVICES,pj as METHOD_ACCESS_MAP,_j as METHOD_DEVICE_SELECTORS,ko as MODEL_FORMATS,Po as MODEL_PROVIDER_IDS,gA as MOTION_TRIGGER_FEATURE,Ff as ManagedModelCatalogEntrySchema,yf as ManagedModelExtraFileSchema,bf as ManagedModelRefSchema,xf as ManagedRuntimeConfigSchema,Km as MaskGridDimsSchema,Vm as MaskGridShapeSchema,Hm as MaskLineShapeSchema,Rm as MaskPointSchema,Bm as MaskPolygonShapeSchema,Gm as MaskPolygonVerticesSchema,zm as MaskRectShapeSchema,Wm as MaskShapeKindSchema,Um as MaskShapeSchema,A_ as MediaFileInfoSchema,D_ as MediaFileKindEnum,O_ as MediaFileRefSchema,k_ as MediaFileSchema,Dw as MediaPlayerRepeatSchema,Ew as MediaPlayerStateSchema,kw as MediaPlayerStatusSchema,ra as MediaRelocateModeSchema,Mw as MeshPeerSchema,Nw as MeshStatusSchema,Qh as MethodAccessSchema,Zd as MigrateDeviceResultSchema,Yd as MigrateSwitchOutcomeSchema,Xd as MigrateSwitchReportSchema,Lo as ModelCatalogEntrySchema,wp as ModelConvertInputSchema,zo as ModelConvertMetadataSchema,Ep as ModelDistributeInputSchema,Dp as ModelDistributeResultSchema,jo as ModelExtraFileSchema,Ao as ModelFormatEntrySchema,Mo as ModelFormatsSchema,Fo as ModelProviderIdSchema,wg as ModelSubstitutionSchema,No as ModelVariantGroupSchema,Ap as MotionAnalysisResultSchema,x_ as MotionEventSchema,Iw as MotionOnMotionChangedDataSchema,kp as MotionRegionSchema,Wv as MotionSourceEnum,Gv as MotionSourcesSchema,Fw as MotionStatusSchema,zw as MotionTriggerRuntimeStateSchema,Rw as MotionTriggerStatusSchema,Uw as MotionZoneOptionsSchema,Ww as MotionZonePatchSchema,Vw as MotionZoneRegionSchema,Hw as MotionZoneStatusSchema,Hp as MqttBrokerStatusSchema,ju as MutationFilterSchema,_P as NATIVE_LEASE_ACTIVITY_FIELD,lP as NATIVE_LEASE_ACTIVITY_KEY,bP as NATIVE_LEASE_ADMISSION_FIELD,uP as NATIVE_LEASE_ADMISSION_KEY,gP as NATIVE_LEASE_BUDGET_FIELD,cP as NATIVE_LEASE_BUDGET_KEY,hP as NATIVE_LEASE_HOLD_FIELD,sP as NATIVE_LEASE_HOLD_KEY,yP as NATIVE_LEASE_SCENE_BUDGET_FIELD,fP as NATIVE_LEASE_SCENE_BUDGET_KEY,oP as NATIVE_LEASE_SECTION_ID,vP as NATIVE_LEASE_TILE_BUDGET_FIELD,dP as NATIVE_LEASE_TILE_BUDGET_KEY,Zm as NC_ALARM_SYSTEM_EVENT_KINDS,Bj as NC_AUDIO_CONFIRM_HITS_DEFAULT,Uj as NC_AUDIO_CONFIRM_HITS_MAX,Hj as NC_AUDIO_CONFIRM_HITS_MIN,Gj as NC_AUDIO_CONFIRM_WINDOW_MAX_SEC,Wj as NC_AUDIO_CONFIRM_WINDOW_MIN_SEC,Vj as NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT,oh as NC_AUDIO_DBFS_FLOOR,Nj as NC_AUDIO_DB_MAX,Mj as NC_AUDIO_DB_MIN,Fj as NC_AUDIO_DB_OFFERED,Pj as NC_AUDIO_DB_STEP,Kj as NC_AUDIO_DEFAULTS,Lj as NC_AUDIO_HIT_PERCENT_MAX,Ij as NC_AUDIO_HIT_PERCENT_MIN,zj as NC_AUDIO_SAMPLING_MAX_SEC,Rj as NC_AUDIO_SAMPLING_MIN_SEC,XM as NC_AUDIO_SEED,Xm as NC_AUTHORABLE_SYSTEM_EVENT_KINDS,uM as NC_BASE_CONDITION_KEYS,Nh as NC_CONDITION_CATALOG,Th as NC_CONFIRM_DEFAULT_MAX_IMAGE_PX,wh as NC_CONFIRM_DEFAULT_TIMEOUT_MS,Ch as NC_CONFIRM_MAX_TIMEOUT_MS,Sh as NC_CONFIRM_MIN_TIMEOUT_MS,th as NC_DEFAULT_SNOOZE_MINUTES,Rh as NC_HISTORY_LIMIT_DEFAULT,zh as NC_HISTORY_LIMIT_MAX,$m as NC_MAX_PER_TRACK_IMMEDIATE,YM as NC_OCCUPANCY_DEFAULTS,$M as NC_RULE_EDITOR_SECTION_ORDER,PM as NC_RULE_KIND_SPECS,HM as NC_RULE_SECTIONS,eh as NC_SNOOZE_MAX_MINUTES,IM as NC_SYSTEM_DELIVERY,aN as NC_SYSTEM_EVENT_FILTER_KEYS,Nm as NC_TAXONOMY,jv as NativeCropBboxSchema,ug as NativeCropRefSchema,Mv as NativeCropResultSchema,qw as NativeDetectionSchema,pP as NativeLeaseAdmissionSchema,mP as NativeLeaseSettingsSchema,Kw as NativeObjectClassEnum,Yw as NativeObjectDetectionRuntimeStateSchema,Jw as NativeObjectDetectionStatusSchema,Xh as NcAlarmConfigSchema,Yh as NcAlarmModeCoverageSchema,Kh as NcAlarmSettingsPatchSchema,Gh as NcAlarmSettingsSchema,qh as NcAlarmSkipReasonSchema,Jh as NcAlarmSkippedDeviceSchema,sh as NcAudioConditionSchema,Mh as NcConditionDescriptorSchema,gh as NcConditionsSchema,Eh as NcConfirmExpectSchema,Dh as NcConfirmSchema,ch as NcCrossingSchema,qm as NcDeliverySchema,mh as NcDeviceStateConditionSchema,Lh as NcHistoryEntrySchema,Bh as NcHistoryFilterSchema,Fh as NcHistoryRecordKindSchema,Ph as NcHistoryStatusSchema,Ih as NcHistorySubjectSchema,vh as NcMediaFrameSchema,yh as NcMediaPolicySchema,ah as NcOccupancyConditionSchema,ih as NcPlateMatcherSchema,uh as NcRuleActionSchema,dh as NcRuleActionSequenceSchema,ph as NcRuleActionsSchema,Oh as NcRuleInputSchema,fh as NcRuleNotificationButtonSchema,kh as NcRulePatchSchema,Ah as NcRuleSchema,_h as NcRuleTargetSchema,hh as NcSceneConditionSchema,rh as NcScheduleSchema,nh as NcScheduleWindowSchema,Hh as NcSnoozeInputSchema,Uh as NcSnoozeSchema,Vh as NcSnoozeScopeSchema,Wh as NcSnoozeSuppressedSchema,Qm as NcSystemEventConditionSchema,Jm as NcSystemEventKindSchema,km as NcTaxonomyEntrySchema,Am as NcTaxonomySchema,jh as NcTestResultSchema,bh as NcThrottleGranularitySchema,xh as NcThrottleSchema,lh as NcZoneConditionSchema,Gp as NetworkAccessStatusSchema,pO as NetworkAddressSchema,Wp as NetworkEndpointSchema,Zp as NotificationActionIconSchema,Qp as NotificationActionSchema,Xp as NotificationFormatSchema,$p as NotificationSchema,bT as NotifierStatusSchema,wT as NumericSensorStatusSchema,LA as OPERATOR_WRITTEN_STALE_MS,Oi as OPS_LOG_DEFAULT_LIMIT,Di as OPS_LOG_RING_DEFAULT_MAX,fo as OVERFLOW_REASON,cg as OauthIntegrationDescriptorSchema,T_ as ObjectEventSchema,Si as OpsLogDomainSchema,Ti as OpsLogEntrySchema,Ci as OpsLogOpSchema,Ei as OpsLogQueryInputSchema,wi as OpsLogReasonSchema,Ov as OrchestratorMetricsSchema,ET as OsdOverlayKindEnum,AT as OsdOverlayPatchSchema,OT as OsdOverlaySchema,DT as OsdPositionEnum,FT as OsdRenderOutcomeEnum,IT as OsdRenderResultSchema,NT as OsdSlotBindingSchema,PT as OsdSlotViewSchema,RT as OsdSourceOptionSchema,MT as OsdSourceSchema,LT as OsdSourceValueTypeEnum,kT as OsdStatusSchema,VT as PET_FEEDER_MANUAL_FEED_MAX,BT as PET_FEEDER_MANUAL_FEED_MIN,Nk as PIPELINE_FLOW_CAPABILITY_NAMES,Pk as PIPELINE_OWNER_CAPABILITY_NAMES,Rr as PRIVACY_MASK_CAP_NAME,bj as PROVIDER_KIND_CAP_NAMES,zF as PYTHON_SCRIPT,Lx as PackageUpdateSchema,Rx as PackageVersionInfoSchema,$f as PasskeyLoginMethodSchema,Bb as PasskeySummarySchema,Kc as PcmSampleFormatSchema,Sk as PerScopeBreakdownSchema,WT as PetFeederStatusSchema,ru as PickStreamPreferencesSchema,nu as PickStreamRequirementsSchema,iu as PickedCamStreamSchema,ly as PipelineAssignmentSchema,hg as PipelineDefaultStepSchema,J as PipelineEngineChoiceSchema,Bg as PipelineRunResultBridge,Y as PipelineStepInputSchema,Tg as PipelineValidationIssueSchema,Eg as PipelineValidationResultSchema,Gl as PlaceholderReasonSchema,Gg as PolygonPointSchema,DF as PoolMemoryWatchdog,mE as PowerMeterStatusSchema,_E as PresenceStatusSchema,yE as PressureSensorStatusSchema,wE as PrivacyMaskOptionsSchema,TE as PrivacyMaskPatchSchema,SE as PrivacyMaskRegionSchema,xE as PrivacyMaskShapeSchema,CE as PrivacyMaskStatusSchema,ct as ProfileRtspEntrySchema,Ge as ProfileSlotSchema,We as ProfileSlotStatusSchema,wd as ProviderStatusSchema,LE as PtzAutotrackRuntimeStateSchema,PE as PtzAutotrackSettingsSchema,IE as PtzAutotrackStatusSchema,FE as PtzAutotrackTargetOptionSchema,AE as PtzMoveCommandSchema,ME as PtzOptionsSchema,kE as PtzPositionSchema,OE as PtzPresetSchema,jE as PtzStatusSchema,U as QueryFilterSchema,Xn as RATE_CONTROL_RELAXED,Yn as RATE_CONTROL_TIGHT,jA as REACHABILITY_FAILURES_TO_OFFLINE,AA as REACHABILITY_POLL_INTERVAL_MS,MA as REACHABILITY_PROBE_TIMEOUT_MS,Ba as RECOGNITION_TYPES,bD as RECORDING_EXPORT_MAX_READ_BYTES,WE as RECORDING_TIMELINE_BATCH_MAX,Wr as REDACTED_SECRET,os as RESERVED_BINDING_NAMES,Ej as RESTORED_CAP_NAMES,eo as ROOT_BUCKET_KEY,Xk as RUNTIME_DEFAULTS,Sj as RUNTIME_STATE_POLICY,IA as RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS,RF as RUNTIME_TO_FORMAT,Bt as RawStateResultSchema,cD as ReadGopBytesResultSchema,sD as ReadSegmentBytesResultSchema,lD as ReadWindowBytesResultSchema,mt as ReadinessRegistry,lt as ReadinessTimeoutError,Z_ as RecentTracksPageSchema,X_ as RecentTracksQueryInput,GE as RecordingAvailabilityForDeviceSchema,HE as RecordingAvailabilitySchema,Hi as RecordingBandModeSchema,Wi as RecordingBandSchema,Ui as RecordingBandTriggersSchema,Ji as RecordingConfigSchema,KE as RecordingDaysForDeviceSchema,UE as RecordingDaysSchema,JE as RecordingDeviceUsageSchema,YE as RecordingLocationUsageSchema,qE as RecordingManifestSchema,Ri as RecordingObjectTriggerClassSchema,VE as RecordingRangeSchema,tD as RecordingRebalanceInputSchema,ZE as RecordingRebalanceMoveSchema,eD as RecordingRebalancePlanSchema,QE as RecordingRebalanceSkipReasonSchema,$E as RecordingRebalanceSkipSchema,qi as RecordingRetentionSchema,BE as RecordingStatusSchema,Li as RecordingStorageModeSchema,XE as RecordingStorageUsageSchema,Vi as RecordingTriggersSchema,Fi as RecordingWeekdaySchema,Zf as RedirectLoginMethodSchema,Pa as RelocatableMediaCountInputSchema,Na as RelocatableMediaCountSchema,ea as RelocateFootageClassSchema,ta as RelocateFootageInputSchema,$i as RelocateJobSchema,Qi as RelocateJobStateSchema,ia as RelocateMediaInputSchema,Ta as RelocateResidueInputSchema,Ea as RelocateResidueSchema,om as RenderedAsSchema,Kv as ReportMotionInputSchema,LO as ReportedFailureContributionSchema,IO as ReportedLoadContributionSchema,bO as RequestCensusGroupSchema,xO as RequestCensusProcedureSchema,SO as RequestCensusSnapshotSchema,CO as RequestCensusStatusSchema,I_ as RetrainAnnotationDraftSchema,M_ as RetrainAnnotationKindSchema,F_ as RetrainAnnotationSchema,N_ as RetrainAnnotationSourceSchema,W_ as RetrainAssistResultSchema,U_ as RetrainAssistSubjectSchema,B_ as RetrainCopyRefusalSchema,R_ as RetrainFrameCandidateSchema,H_ as RetrainFrameListSchema,z_ as RetrainFrameSchema,V_ as RetrainFrameSelectionSchema,j_ as RetrainMacroClassSchema,l_ as RetrainStatusSchema,L_ as RetrainTrackSchema,G_ as RetrainTransitionResultSchema,jF as RingBuffer,Yl as RtpSourceSchema,Ll as RtspRestreamEntrySchema,Yv as RunnerCameraConfigSchema,Xv as RunnerCameraDeviceUIFields,qv as RunnerFrameSourceSchema,Jv as RunnerInferenceDeviceSchema,Zv as RunnerLocalLoadSchema,ey as RunnerLocalMetricsSchema,wD as SCENE_CONDITIONS,RD as SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX,LD as SCENE_CONFIRM_DEFAULT_TIMEOUT_MS,FD as SCENE_DEFAULT_ANCHOR_THRESHOLD,PD as SCENE_DEFAULT_CHECK_INTERVAL_SEC,ND as SCENE_DEFAULT_OBSERVATION_SPACING_SEC,MD as SCENE_DEFAULT_QUIET_SECONDS,ID as SCENE_DEFAULT_UNCOVERED_POLICY,ED as SCENE_DIVERGED,zD as SCENE_RESET_RECAPTURES,Dj as SCOPE_PRESETS,vA as SENSOR_FEATURES,bA as SENSOR_MAP,Bk as SOURCE_CAPS,Rk as SOURCE_CAP_ACTIVE_FIELD,zk as SOURCE_CAP_CHANGED_AT_FIELD,Vk as SOURCE_DEVICE_TYPES,Xu as SOURCE_INFO_METADATA_KEY,Ua as STORAGE_ACCESS_FALLBACK,aO as STREAM_PROFILE_META,Qr as STREAM_QUALITY_LABELS,za as SUB_DETECTION_TYPES,gj as SYSTEM_CAP_NAMES,vj as SYSTEM_SCOPE_DEVICE_METHODS,jD as SceneCheckSchema,CD as SceneConditionSchema,BD as SceneConfirmSchema,VD as SceneMonitorSchema,AD as SceneMonitorStateSchema,UD as SceneMonitorStatusForDeviceSchema,HD as SceneMonitorStatusSchema,kD as SceneReferenceSchema,OD as SceneUnavailableSchema,TD as SceneUncoveredPolicySchema,DD as SceneVerdictSchema,sg as ScopedTokenSchema,nk as ScopedTokenSummarySchema,lv as ScoredObjectEventSchema,GD as ScriptRunnerStatusSchema,zx as SearchResultSchema,nb as SendEmailInputSchema,rb as SendEmailResultSchema,sm as SendResultSchema,n_ as SensorEventSchema,Ky as ServerBootModeSchema,Zy as ServerPackageStatusSchema,Xy as ServerRollbackInfoSchema,$y as ServerUpdateActionResultSchema,Qy as ServerUpdateCheckResultSchema,qy as ServerUpdateStateSchema,zO as SetLoggingSettingsInputSchema,_O as SetSiteLocationInputSchema,vc as SettingsPatchSchema,Pu as SettingsRecordSchema,B as SettingsSchemaWithValuesSchema,yc as SettingsUpdateResultSchema,Uu as ShmRingStatsSchema,hO as SiteLocationSchema,mO as SiteLocationSourceSchema,gO as SiteLocationStatusSchema,qD as SmokeStatusSchema,ib as SmtpStatusSchema,ob as SnapshotImageSchema,Ku as SourceInfoSchema,Ic as SpatialDetectionSchema,lb as SsoBridgeClaimsSchema,Bp as StartEmbeddedInputSchema,wk as StationaryObjectSchema,Cb as StorageAbortUploadInputSchema,Ha as StorageAccessSchema,wb as StorageBeginDownloadInputSchema,Tb as StorageBeginDownloadResultSchema,yb as StorageBeginUploadInputSchema,bb as StorageBeginUploadResultSchema,Ia as StorageCleanupInputSchema,La as StorageCleanupJobSchema,Fa as StorageCleanupPhaseSchema,Ra as StorageCleanupStatusInputSchema,Db as StorageEndDownloadInputSchema,Sb as StorageFinalizeUploadInputSchema,Wa as StorageLocationDeclarationSchema,N as StorageLocationRefSchema,M as StorageLocationSchema,Va as StorageLocationTypeSchema,ca as StorageMigrationClassSchema,la as StorageMigrationDestinationsSchema,wa as StorageMigrationDrainInputSchema,va as StorageMigrationFindingCodeSchema,ya as StorageMigrationFindingSchema,na as StorageMigrationFootageMoveInputSchema,fa as StorageMigrationInputSchema,_a as StorageMigrationJobSchema,xa as StorageMigrationLaneSchema,j as StorageMigrationLeaseInputSchema,sa as StorageMigrationMediaMoveInputSchema,da as StorageMigrationModeSchema,ha as StorageMigrationMoveProgressSchema,ga as StorageMigrationMoveSchema,Sa as StorageMigrationMoverSchema,ma as StorageMigrationParticipantSchema,pa as StorageMigrationPhaseSchema,ba as StorageMigrationPlanSchema,Ca as StorageMigrationResidueSchema,ua as StorageMigrationSourcesSchema,_b as StorageProviderInfoSchema,Eb as StorageReadChunkInputSchema,vb as StorageTestLocationResultSchema,xb as StorageWriteChunkInputSchema,tu as StreamCodecSchema,Ml as StreamFormatSchema,Zw as StreamNetworkStatsSchema,nO as StreamParamsOptionsSchema,eO as StreamParamsStatusSchema,$D as StreamProfileConfigSchema,tO as StreamProfileOptionsSchema,rO as StreamProfilePatchSchema,QD as StreamProfileSchema,Xe as StreamSourceEntrySchema,Ze as StreamSourceSchema,it as SubscribeAudioChunksInputSchema,at as SubscribeAudioChunksResultSchema,tt as SubscribeFramesInputSchema,nt as SubscribeFramesResultSchema,lO as SwitchStatusSchema,Sp as SystemMetricsSchema,JA as SystemMirror,W as TAXONOMY_COLORS,hN as TIMELAPSE_DENSE_FLOOR_SEC,Ya as TIMEZONES,Qn as TRANSCODE_DOWN_MAX_BITRATE_KBPS,Zn as TRANSCODE_DOWN_MAX_HEIGHT,HO as TamperStatusSchema,uk as TankStatusSchema,tm as TargetKindCapsSchema,em as TargetKindLevelSchema,rm as TargetKindSchema,im as TargetSchema,WO as TemperatureSensorStatusSchema,Nb as TerminalInstanceInfoSchema,Pb as TerminalLegacyCameraSchema,Ib as TerminalOutputBatchSchema,Fb as TerminalOutputEventSchema,Mb as TerminalProfileInfoSchema,jb as TerminalSessionInfoSchema,ZC as TestConnectionResultSchema,XC as TestConnectionStatusEnum,cm as TestResultSchema,xN as TimelapseRuleInputSchema,CN as TimelapseRulePatchSchema,wN as TimelapseRuleSchema,cN as TimelapseTemplateSchema,KO as ToastSchema,q as TokenScopeSchema,oT as TopologyNodeSchema,nT as TopologyProcessSchema,tT as TopologyServiceSchema,dv as TrackCascadeCountsSchema,a_ as TrackEnvelopeSchema,f_ as TrackFlagsPatchSchema,p_ as TrackFlagsSchema,o_ as TrackProjectionSchema,y_ as TrackSchema,c_ as TrackSourceSchema,Jg as TrackStateSchema,Xg as TrackZoneFilterSchema,sv as TrackedDetectionSchema,__ as TrainingExportDeviceTotalsSchema,v_ as TrainingExportSummarySchema,yO as TransportPlaneCountsSchema,vO as TransportPlaneSchema,Rb as TurnServerSchema,$a as UNATTRIBUTED_BUCKET_KEY,KP as UNIT_TABLE,dl as UnifiedBrokerInfoSchema,qP as UnitConversionError,oa as UnstampedEventMediaCountSchema,aa as UnstampedRowsSchema,$C as UpdateIntegrationInputSchema,JO as UpdateStatusSchema,QO as UpdateUserInputSchema,ag as UserRecordSchema,XO as UserSummarySchema,Ki as VISIT_MERGE_GAP_MS,dk as VacuumControlStatusSchema,lk as VacuumStateSchema,pk as ValveStateSchema,mk as ValveStatusSchema,qb as VectorDeclareIndexInputSchema,$b as VectorDeleteByFilterInputSchema,Qb as VectorDeleteInputSchema,ex as VectorDeleteResultSchema,Wb as VectorFilterSchema,tx as VectorGetInputSchema,nx as VectorGetResultSchema,Gb as VectorItemSchema,Kb as VectorMatchSchema,Ub as VectorMetadataSchema,Hb as VectorMetricSchema,Xb as VectorQueryInputSchema,Zb as VectorQueryResultSchema,sx as VectorStatsInputSchema,cx as VectorStatsResultSchema,Jb as VectorUpsertInputSchema,Yb as VectorUpsertResultSchema,gk as VibrationStatusSchema,Hn as VideoEncodeSchema,qn as WEBRTC_EGRESS_PROFILE,ge as WELL_KNOWN_TABS,_e as WELL_KNOWN_TAB_MAP,vk as WaterHeaterStatusSchema,bk as WeatherStatusSchema,_x as WebrtcStreamChoiceSchema,gx as WebrtcStreamTargetSchema,zC as WhiteBalanceModeSchema,xc as WidgetHostEnum,Qf as WidgetLoginMethodSchema,wc as WidgetMetadataSchema,Cc as WidgetRemoteSchema,Sc as WidgetSizeEnum,gm as YAMNET_TO_MACRO,C_ as ZoneCrossingDirectionSchema,w_ as ZoneCrossingSchema,Wg as ZoneKindEnum,Hg as ZoneRuleModeEnum,X as ZoneRuleSchema,jk as ZoneRuleStageEnum,Ug as ZoneRulesArraySchema,Kg as ZoneSchema,Ck as ZoneScopeBreakdownSchema,yi as __resetLogChannelRegistryForTests,bx as accessoriesCapability,Qk as accessoryStableId,lc as addonPagesCapability,dc as addonPagesSourceCapability,hc as addonRoutesCapability,bc as addonSettingsCapability,Dc as addonWidgetsCapability,Tc as addonWidgetsSourceCapability,Qx as addonsCapability,Mt as adminUiCapability,eS as airQualitySensorCapability,Lm as alarmPanelCapability,Mc as alertsCapability,nS as ambientLightSensorCapability,nn as asBoolean,$t as asJsonArray,Qt as asJsonObject,tn as asNumber,en as asString,TN as assertTimelapseCadences,Nc as audioAnalysisCapability,Gc as audioAnalyzerCapability,$c as audioCodecCapability,Yj as audioIsFailClosed,jj as audioKindId,$j as audioLabelChoices,sS as audioMetricsCapability,Jj as audioModeOf,qj as audioOrDefaults,On as audioPlanFromEncodeProfile,tl as authProviderCapability,si as autoAssignProfiles,lS as automationControlCapability,ll as backupCapability,oF as bareAddonId,dS as batteryCapability,iF as bestLocationMatch,pS as binaryCapability,$F as bindAddonActions,hS as brightnessCapability,Al as brokerCapability,Rn as buildAddonRouteProvider,_n as buildAudioArgs,Gy as buildEventKindDescriptor,Tn as buildFfmpegArgs,pn as buildInputArgs,Eo as buildModelVariantGroups,Mm as buildNcTaxonomy,kP as buildRoleScopes,sO as buildStreamParamsConfigSchema,gn as buildVideoArgs,gS as buttonCapability,yS as cameraCredentialsCapability,jl as cameraPipelineConfigCapability,au as cameraStreamsCapability,eF as canConvertUnit,ur as canonicalEgressPlan,xS as carbonMonoxideCapability,AF as cellsToRects,Go as classifyBearerPrincipal,ni as classifyStream,ti as classifyStreams,wS as climateControlCapability,kN as clusterModelSettingKey,BN as clusterStepSettingFieldsFor,zN as clusterStepSettingKey,ye as collectHydratedFieldEntries,xe as collectHydratedFieldValues,Kr as collectSecretConfigKeys,kS as colorCapability,Dm as colorForKind,wF as commitWatchdogRestart,Ss as compileExpression,Cs as compileExpressionSafe,Ur as composeSwitchedOff,Qs as conditionDepth,BM as conditionExclusionReason,zM as conditionVisibleForKind,PS as connectionTestCapability,IS as connectivityCapability,zS as consumablesCapability,VS as contactCapability,GS as controlCapability,QP as convertUnit,yu as coreBlockAddonId,bu as coreBlockIdFromAddonId,Tu as coreBlocksCapability,cF as cosineSimilarity,$s as countConditionLeaves,JS as coverCapability,qt as createDeviceProxy,ke as createDurableState,De as createEvent,Wt as createEventBusSliceSource,Ts as createExpressionScope,rr as createHwAccelCache,Ut as createLazyTrpcSource,xi as createLogChannelsProvider,Gt as createMirrorSource,RA as createRuntimeStateBridge,k as createSliceHandle,Oj as createSystemProxy,Du as customAction,Au as customModelRegistryCapability,Bu as dataStoreProviderCapability,eC as dayNightCapability,uA as declarationOwnerNodeId,vi as declareLogChannel,JF as decodeVectorBase64,Wu as decoderCapability,QM as defaultDeliveryForSection,sI as defaultDeviceFor,Eu as defineCustomActions,sA as deriveBatteryPresence,Vr as deriveCameraSwitches,nP as deriveDetailCropRect,Yi as deriveRecordingMode,Oo as describeModelVariant,jP as detectAccessRole,Gu as detectionPipelineCapability,md as deviceAdoptionCapability,LF as deviceBackendToFormat,Ou as deviceCustomAction,td as deviceDiscoveryCapability,Cd as deviceExportCapability,Qd as deviceManagerCapability,CA as deviceMatchesProfile,Vt as deviceOpsCapability,Ad as deviceProviderCapability,NP as deviceSelectorMatches,$d as deviceStateCapability,nC as deviceStatusCapability,aC as doorbellCapability,VM as droppedConditionsForKind,dr as egressTranscodeSharingKey,or as egressTransportFromRequest,nf as embeddingEncoderCapability,gt as emitDownForOwnedCaps,Oe as emitReadiness,Gn as encodeProfileFromStreamShape,qF as encodeVectorBase64,cC as enumSensorCapability,fI as enumerateInferenceDevices,HA as enumerateItemArrayFields,VA as enumerateSchemaFields,Ln as errMsg,Ns as evaluateAst,Ls as evaluateExpressionSource,CF as evaluatePoolMemory,Kk as evaluateSensorEdge,XF as evaluateZoneRules,E as event,dC as eventEmitterCapability,pC as eventsCapability,Dt as expandCapMethods,du as extractNestedAddonId,Zu as extractSourceInfoFromMetadata,SC as faceGalleryCapability,of as failureContributionCapability,ho as failureRate,TC as fanControlCapability,DC as featureProbeCapability,lf as filesystemBrowseCapability,Xa as findTimezone,kC as floodCapability,ro as foldSnapshotByFunction,UF as formatForBackend,WF as formatForRuntime,jC as gasCapability,oc as generateAutomationBlock,bm as getAudioMacroClassIds,OA as getByPath,xj as getCapsByProviderKind,_i as getLogChannelRegistry,Em as getTaxonomyEntry,_A as hasMotionTrigger,dF as hfModelUrl,hM as htmlToText,NC as humidifierCapability,FC as humiditySensorCapability,Ce as hydrateSchema,LC as imageCapability,KC as imageSettingsCapability,Io as inferModelProvider,vF as initialPoolMemoryState,tw as integrationsCapability,aw as intercomCapability,kn as invocationFromEncodeProfile,br as isAgentOnlyPlacement,cu as isArrayOutputSchema,eM as isAudioLabelSelected,GM as isAudioRule,fM as isBaseConditionKey,cA as isBatteryPresenceFault,AN as isClusterScopedStep,lu as isCollectionArrayMethod,yr as isDeployableToAgent,pm as isDetectionMacroClass,kt as isDeviceConfigCap,Yt as isDeviceScopedCap,Ee as isEvent,Mi as isFirstLevelMacroClass,wr as isIsolatedBuiltin,xA as isNode,su as isObjectInput,KM as isOccupancyRule,Tj as isRestoredCap,sF as isSameAddonId,iN as isScheduleActive,Gr as isSecretConfigField,fn as isSoftwareDecode,Hk as isSourceCap,LM as isSystemDelivery,ou as isVoidInput,xx as jobKindSchema,gu as kebabToCamel,lM as knownValues,lw as lawnMowerControlCapability,Ox as lifecycleJobSchema,Dx as lifecycleJobScopeSchema,Ex as lifecycleJobStateSchema,Tx as lifecycleTaskSchema,Bf as llmCapability,Df as llmRuntimeCapability,Wf as loadContributionCapability,Sw as localNetworkCapability,rF as locationSimilarity,Tw as lockControlCapability,dn as logBannerArgs,Kf as logChannelsCapability,Yf as logDestinationCapability,ui as logLevelAtMost,tp as loginMethodCapability,uu as looseSchema,Ke as makeProfileBrokerId,qe as makeSourceBrokerId,ym as mapAudioLabelToMacro,yM as markdownToHtmlLite,pM as markdownToText,mF as maskUrlCredentials,Aw as mediaPlayerCapability,Ju as mergeSourceInfo,Pw as meshNetworkCapability,T as method,Ho as methodAccessForHttpMethod,Cp as metricsProviderCapability,Tp as modelConvertCapability,Op as modelDistributorCapability,cI as modelFormatForRuntime,Lw as motionCapability,jp as motionDetectionCapability,Bw as motionTriggerCapability,Gw as motionZonesCapability,Up as mqttBrokerCapability,Xw as nativeObjectDetectionCapability,qp as networkAccessCapability,eT as networkQualityCapability,vt as nodePin,gT as nodesCapability,Re as normalizeAddonInitResult,Aj as normalizeAudioLabel,zP as normalizeTokenScopes,Yu as normalizeUnit,lm as notificationOutputCapability,Zh as notificationRulesCapability,CT as notifierCapability,TT as numericSensorCapability,lg as oauthIntegrationCapability,fu as objectInputDeclaresAddonId,jT as osdCapability,zT as osdManagerCapability,GN as overlayClusterStepSettings,oi as parseCameraStreamConfig,ys as parseExpression,an as parseJsonArray,rn as parseJsonObject,Zt as parseJsonUnknown,_F as parseProcStatus,Je as parseProfileBrokerId,WM as parseRuleSection,cO as parseStreamParamsFormPatch,Qj as patchAudio,GT as petFeederCapability,yA as pickAccessoryControl,FN as pickClusterStepModels,WN as pickClusterStepSettings,$N as pickDetailCropConvention,EP as pickNativeLeaseOverride,Za as pickPreferredRtspEntry,EF as pickRestartCandidate,Dn as pickVideoEncoder,cM as pickerForCondition,Dv as pipelineAnalyticsCapability,Vg as pipelineExecutorCapability,Ry as pipelineOrchestratorCapability,ty as pipelineRunnerCapability,ZT as plateGalleryCapability,pE as platformProbeCapability,xF as poolMemoryThreshold,hE as powerMeterCapability,EM as prepareNotification,vE as presenceCapability,bE as pressureSensorCapability,Ko as principalMayReachAddon,EE as privacyMaskCapability,hu as procedureAuthKey,RE as ptzAutotrackCapability,NE as ptzCapability,GF as pythonScriptForBackend,NN as readClusterStepModels,HN as readClusterStepSettings,ZN as readDetailCropConvention,Ik as readDeviceStateFrom,CP as readNativeLeaseOverride,bt as readNodePin,EN as readTimelapseGeneratedAt,ut as readinessKey,zE as rebootCapability,uD as recordingCapability,SD as recordingExportCapability,kF as rectsToCells,co as reducePoints,KF as requiresPython,TF as resetPoolBaseline,vr as resolveAddonExecution,xr as resolveAddonGroup,Cr as resolveAddonPlacement,HF as resolveAddonRuntime,so as resolveBucketMs,St as resolveCapMount,IN as resolveClusterStepModelId,BF as resolveDetectionRuntime,hA as resolveDeviceControlKind,EA as resolveDeviceProfile,ar as resolveEgressDecodeHwAccel,xM as resolveFormat,Se as resolveHydratedFieldValue,mu as resolveMethodAuth,VF as resolveModelFormat,SA as resolveMutate,gF as resolvePoolMemoryPolicy,Zi as resolveRecordingProfiles,Sr as resolveRunnerId,Do as resolveVariantModelId,RP as resolveViewableDeviceIds,OP as roleSpec,tN as ruleEditorSectionsForKind,RM as ruleKindOf,FM as ruleKindSpec,qM as ruleMatchesSection,UM as ruleSection,JM as ruleSectionOf,ZM as ruleSeedForSection,MF as runInferenceStep,oI as runtimeDevices,Cj as runtimeStatePolicyFor,WD as sceneMonitorCapability,qr as schemaDeclaresAnyField,IP as scopeInherits,dt as scopeKey,Wo as scopesAllowAddon,Uo as scopesAllowDeviceCap,lI as scoreRuntimes,KD as scriptRunnerCapability,Ye as selectAssignedProfileSlots,eb as serverManagementCapability,kA as setByPath,Ru as settingsStoreCapability,on as sleep,sn as sleepCancellable,Uk as sliceActiveValue,Wk as sliceChangedAt,JD as smokeCapability,ab as smtpProviderCapability,cb as snapshotCapability,ub as ssoBridgeCapability,PA as startReachabilityPoll,Lk as stateVocabularyFor,fb as storageCapability,hb as storageEvictableCapability,gb as storageMigrationCapability,Ob as storageProviderCapability,eu as streamBrokerCapability,ZD as streamCatalogCapability,iO as streamParamsCapability,ei as streamPixels,$r as streamQualityLabel,Om as subKindsOf,DE as summarisePrivacyAudio,WP as summarizeEffectiveScope,aI as supportedRuntimes,uO as switchCapability,Hr as switchedOffIds,qu as synthesizeSourceInfo,VO as systemCapability,oN as systemEventFilterApplies,sN as systemEventFilterAppliesToAnyKind,UO as tamperCapability,wx as taskLogEntrySchema,Sx as taskPhaseSchema,Cx as taskTargetSchema,GO as temperatureSensorCapability,Lb as terminalSessionCapability,vM as textToHtml,iA as toDeviceSummary,Fs as toExpressionValue,yt as toNodeId,ri as toStreamSourceEntry,qO as toastCapability,tM as toggleAudioLabel,fs as tokenize,SM as transcodeBody,$P as tryConvertUnit,zb as turnProviderCapability,YP as unitDimension,tF as unitsForDimension,YO as updateCapability,ck as userManagementCapability,Vb as userPasskeysCapability,fk as vacuumControlCapability,Is as validateExpressionSource,tc as validateRecipeBounds,hk as valveCapability,YF as vectorDimFromBase64,lx as vectorStoreCapability,_k as vibrationCapability,mx as videoclipsCapability,Lt as viewerUiCapability,yk as waterHeaterCapability,xk as weatherCapability,hx as webrtcClientHintsSchema,vx as webrtcSessionCapability,mr as wiringAddonHealthSchema,gr as wiringHealthSnapshotSchema,hr as wiringNodeHealthSchema,fr as wiringProbeKindSchema,pr as wiringProbeResultSchema,ej as zodEntriesToConfigUI,Ak as zoneAnalyticsCapability,Mk as zoneRulesCapability,qg as zonesCapability};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{J as e}from"./index-
|
|
1
|
+
import{J as e}from"./index-DalvuwcK.js";var t=e(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as e}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js";import{J as t}from"./index-
|
|
1
|
+
import{x as e}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js";import{J as t}from"./index-DalvuwcK.js";import{i as n,t as r}from"./authed-media-BPd_L9jr.js";var i=t(`crop`,[[`path`,{d:`M6 2v14a2 2 0 0 0 2 2h14`,key:`ron5a4`}],[`path`,{d:`M18 22V8a2 2 0 0 0-2-2H2`,key:`7s9ehn`}]]),a=t(`scan`,[[`path`,{d:`M3 7V5a2 2 0 0 1 2-2h2`,key:`aa7l1z`}],[`path`,{d:`M17 3h2a2 2 0 0 1 2 2v2`,key:`4qcy5o`}],[`path`,{d:`M21 17v2a2 2 0 0 1-2 2h-2`,key:`6vwrx8`}],[`path`,{d:`M7 21H5a2 2 0 0 1-2-2v-2`,key:`ioqczr`}]]),o=t(`user-check`,[[`path`,{d:`m16 11 2 2 4-4`,key:`9rsbq5`}],[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}]]),s=t(`user-x`,[[`path`,{d:`M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2`,key:`1yyitq`}],[`circle`,{cx:`9`,cy:`7`,r:`4`,key:`nufk8`}],[`line`,{x1:`17`,x2:`22`,y1:`8`,y2:`13`,key:`3nzzx3`}],[`line`,{x1:`22`,x2:`17`,y1:`8`,y2:`13`,key:`1swrse`}]]);function c(e){return`${r}/${encodeURIComponent(e)}`}function l({mediaKey:t,base64:r,alt:i,className:a,placeholder:o}){let{src:s,failed:l}=n(t!==void 0&&t!==``?c(t):void 0);return s===null?(t===void 0||t===``||l)&&r!==void 0&&r!==``?e(`img`,{src:`data:image/jpeg;base64,${r}`,alt:i,className:a}):o:e(`img`,{src:s,alt:i,className:a})}function u(e){return e<0?0:e>1?1:e}function d(e,t,n){if(!Number.isFinite(t)||!Number.isFinite(n)||t<=0||n<=0)return null;let r=u(e.x/t),i=u(e.y/n),a=u((e.x+e.w)/t),o=u((e.y+e.h)/n);return{x:r,y:i,width:Math.max(0,a-r),height:Math.max(0,o-i)}}export{a,o as i,l as n,i as o,s as r,d as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{J as e}from"./index-
|
|
1
|
+
import{J as e}from"./index-DalvuwcK.js";var t=e(`flame`,[[`path`,{d:`M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z`,key:`96xj49`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{J as e}from"./index-
|
|
1
|
+
import{J as e}from"./index-DalvuwcK.js";var t=e(`hard-drive`,[[`line`,{x1:`22`,x2:`2`,y1:`12`,y2:`12`,key:`1y58io`}],[`path`,{d:`M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`oot6mr`}],[`line`,{x1:`6`,x2:`6.01`,y1:`16`,y2:`16`,key:`sgf278`}],[`line`,{x1:`10`,x2:`10.01`,y1:`16`,y2:`16`,key:`1l4acy`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./vite-preload-helper-zJ_50EbN.js";var t=`__mf_module_cache__`;globalThis[t]||={share:{},remote:{}},globalThis[t].share||={},globalThis[t].remote||={};var n=globalThis[t],r;async function i(){return r||=(async()=>{let t=await(await e(()=>import(`./remoteEntry-
|
|
1
|
+
import{t as e}from"./vite-preload-helper-zJ_50EbN.js";var t=`__mf_module_cache__`;globalThis[t]||={share:{},remote:{}},globalThis[t].share||={},globalThis[t].remote||={};var n=globalThis[t],r;async function i(){return r||=(async()=>{let t=await(await e(()=>import(`./remoteEntry-DFM4kowH.js`),[])).init(),r={react:{version:`19.2.7`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^19.2.7`}},"react-dom":{version:`19.2.7`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^19.2.7`}},"react/jsx-runtime":{version:`19.2.7`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^19.2.7`}},"@camstack/types":{version:`1.2.137`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^1.2.137`}},"@camstack/sdk":{version:`1.2.57`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^1.2.57`}},"@tanstack/react-query":{version:`5.101.0`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^5.101.0`}},"@trpc/client":{version:`11.18.0`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^11.18.0`}},"@trpc/react-query":{version:`11.18.0`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^11.18.0`}},konva:{version:`10.3.0`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^10.3.0`}},"react-konva":{version:`19.2.5`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^19.2.5`}},"@camstack/ui-library":{version:`1.2.103`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^1.2.103`}},"react-dom/client":{version:`19.2.7`,scope:`default`,shareConfig:{singleton:!0,requiredVersion:`^19.2.7`}}},i=(e,t,n,r)=>{let i=((Array.isArray(r)?r[0]:r)||`default`)+`:`;return t||!n?i+e:i+e+`@`+n},a=e=>{let t=e;for(let e=0;e<5;e++){let e=t?.default;if(!e||typeof e!=`object`||Object.keys(e).length===0)break;let n=Object.keys(t).filter(e=>e!=="default").map(e=>t[e]);if(n.length>0&&n.some(e=>e!==void 0))break;t=e}return t};for(let[e,o]of Object.entries(r)){let r=i(e,o.shareConfig?.singleton,o.version,o.scope);n.share[r]===void 0&&await t.loadShare(e,{customShareInfo:{shareConfig:o.shareConfig}}).then(e=>{let t=typeof e==`function`?e():e;return Promise.resolve(t).then(e=>{n.share[r]=a(e)})})}return await Promise.all([]),t})(),r}r=i();export{r as hostInitPromise,i as initHost};
|