@camstack/addon-admin-ui 1.2.656 → 1.2.657
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/CHANGELOG.md +6 -0
- package/dist/assets/{Addons-BhVZH0QP.js → Addons-Box3Zccu.js} +1 -1
- package/dist/assets/{AdminPage-RTENI_tQ.js → AdminPage-Q2-TrrvF.js} +1 -1
- package/dist/assets/{AdminSectionedPage-DTP2ccEC.js → AdminSectionedPage-CzrpTekp.js} +1 -1
- package/dist/assets/{AiProfiles-DztctVPR.js → AiProfiles-D-w5C5-l.js} +1 -1
- package/dist/assets/{BootstrapSettingsForm-CY-ar8JI.js → BootstrapSettingsForm-5uFD2Kof.js} +1 -1
- package/dist/assets/{Build-D51aJyzH.js → Build-qZQh3hjA.js} +1 -1
- package/dist/assets/{Calendars-Cv-BlUNS.js → Calendars-DTutQb1E.js} +1 -1
- package/dist/assets/{CameraGrids-7WMb-BZZ.js → CameraGrids-CUWb60X0.js} +1 -1
- package/dist/assets/{Cluster-DmFGxPVk.js → Cluster-BJAuetBc.js} +1 -1
- package/dist/assets/{CompositionBlockEditor-Cy7IaVw5.js → CompositionBlockEditor-BIhcgdoy.js} +1 -1
- package/dist/assets/{CompositionEditorPage-CyAglaxs.js → CompositionEditorPage-BiVpjRJl.js} +1 -1
- package/dist/assets/{Data-DW2FYmS8.js → Data-BXhy6eL_.js} +1 -1
- package/dist/assets/{DeviceDetail-BNC19-R7.js → DeviceDetail-DdYnzePf.js} +2 -2
- package/dist/assets/{Devices-CErGH-zv.js → Devices-B_bfY38s.js} +1 -1
- package/dist/assets/{EmbedDevicePage-BLA3szyZ.js → EmbedDevicePage-Cla-SVQD.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-BLjzTLRB.js → EmbedPlayerPage-Xu57zxFg.js} +1 -1
- package/dist/assets/{History-DjaTVxse.js → History-DD6D7Dcs.js} +1 -1
- package/dist/assets/{Identity-eXdmqkI0.js → Identity-BeB3iubj.js} +1 -1
- package/dist/assets/{InstancesTable-DydLNHfi.js → InstancesTable-8uEgcvVT.js} +1 -1
- package/dist/assets/{IntegrationDetail-Bs7JGyOr.js → IntegrationDetail-BiOcgnb_.js} +1 -1
- package/dist/assets/{IntegrationWizard-CgWNv1nt.js → IntegrationWizard-5b0NkY3q.js} +1 -1
- package/dist/assets/{Integrations-D7u4zyk_.js → Integrations-BYkq5Tnd.js} +1 -1
- package/dist/assets/{Integrations-XrTPmImw.js → Integrations-DDXj6LGa.js} +1 -1
- package/dist/assets/{Library-NlLSLUxp.js → Library-C4HdgygP.js} +1 -1
- package/dist/assets/{Locations-CSjyKUZq.js → Locations-0P70Sc0f.js} +1 -1
- package/dist/assets/{Logs-CsKeengJ.js → Logs-Cyf77THP.js} +1 -1
- package/dist/assets/{MaskShapeCanvas-Dt7BgSTb.js → MaskShapeCanvas-Bhery5rL.js} +1 -1
- package/dist/assets/{MotionZonesSettings-TQWJKYUr.js → MotionZonesSettings-fls_8Lz_.js} +1 -1
- package/dist/assets/{MyAccess-Bg-axyuQ.js → MyAccess-Bdg6M_F2.js} +1 -1
- package/dist/assets/{Network-D16HYgfV.js → Network--k6YX0uT.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-CL__Fhbe.js → NodeAddonsSettingsPanel-Dw5WZxWi.js} +1 -1
- package/dist/assets/{Notifications-BxUff630.js → Notifications-CfesJVtl.js} +1 -1
- package/dist/assets/{Pipeline-Dn6gBJv1.js → Pipeline-Cxfq3bsX.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-DgqcFj3-.js → PrivacyMaskSettings-PI4833pX.js} +1 -1
- package/dist/assets/{Recordings-DR-QBF-p.js → Recordings-Bz1UQb_D.js} +1 -1
- package/dist/assets/{RemoteGrid-BqCvzign.js → RemoteGrid-Dn8HJQJ3.js} +1 -1
- package/dist/assets/{ScanSubnetEditor-WzwJ_cYt.js → ScanSubnetEditor-Cvg2WXEI.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-wKozvZzN.js → SceneMonitorEditor-BZZ1tdKf.js} +1 -1
- package/dist/assets/{SessionsList-BWbqSIGv.js → SessionsList-ByWStI3D.js} +1 -1
- package/dist/assets/{Showroom-BAA-O7Mc.js → Showroom-BVvEli5J.js} +1 -1
- package/dist/assets/{StorageLocationsTable-Do5gYzDw.js → StorageLocationsTable-CFaMMEmA.js} +1 -1
- package/dist/assets/{System-Do4wJg7w.js → System-BMSl-son.js} +1 -1
- package/dist/assets/{Templates-D79lQ31F.js → Templates-BNH1PKWe.js} +1 -1
- package/dist/assets/{Terminal-BotTa-Lj.js → Terminal-D-YiG_GF.js} +1 -1
- package/dist/assets/{TrainingProviders-DCCeYO34.js → TrainingProviders-B05YjzG6.js} +1 -1
- package/dist/assets/{Viewer-CPuIvDBM.js → Viewer-CZf7qfrj.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-DAMULc-A.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-GHnft27q.js} +1 -1
- package/dist/assets/{action-draft-DF8iwemN.js → action-draft-Bb_X9uYG.js} +1 -1
- package/dist/assets/{assignment-candidates-BqZ1xjQ3.js → assignment-candidates-DoS5Oo9-.js} +1 -1
- package/dist/assets/{authed-media-cVKd42Za.js → authed-media-1DN21xGd.js} +1 -1
- package/dist/assets/{client-DgZ64ybc.js → client-pLjIfKNS.js} +1 -1
- package/dist/assets/{command-vocab-DD2OUeTs.js → command-vocab-NMgNFbpU.js} +1 -1
- package/dist/assets/{create-composition-Di5M8oiu.js → create-composition-51F9Gq1x.js} +1 -1
- package/dist/assets/{device-detail-B3dHHtlD.js → device-detail-BYVgg4Sb.js} +1 -1
- package/dist/assets/{device-integration-icon-epyT0SUZ.js → device-integration-icon-C2zPAE71.js} +1 -1
- package/dist/assets/device-picker-model-BzsLEmb0.js +1 -0
- package/dist/assets/{dist-iEgwvfNA.js → dist-BnTBW9NE.js} +1 -1
- package/dist/assets/{dist-xTfmkuTR.js → dist-CuuA5imx.js} +1 -1
- package/dist/assets/{hostInit-Cimq6Asd.js → hostInit-7x1ImdlS.js} +1 -1
- package/dist/assets/{icons-koJc32Is.js → icons-BRDBUY0_.js} +1 -1
- package/dist/assets/{index-DAu-krnm.js → index-BV01fYDf.js} +3 -3
- package/dist/assets/{linked-devices-model-D7dmZ1vn.js → linked-devices-model-CuRYYWQ_.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-a785797d.js → mf-entry-bootstrap-0-43e13f36.js} +2 -2
- package/dist/assets/mount-BzsLEmb0.js +1 -0
- package/dist/assets/{player-overlays-DvzhJEEB.js → player-overlays-DuG5kk5Q.js} +1 -1
- package/dist/assets/remoteEntry-np1Yaemy.js +1 -0
- package/dist/assets/{src-gkwUr0sO.js → src-DOkmPL4F.js} +3 -3
- package/dist/assets/{step-inspector-model-ECISY9PS.js → step-inspector-model-fxfNSZXN.js} +1 -1
- package/dist/assets/{use-scenes-feed-CYZOAUZ0.js → use-scenes-feed-DocR9cuP.js} +1 -1
- package/dist/assets/{use-stationary-objects-j2l70T9w.js → use-stationary-objects-Dss1BqcD.js} +1 -1
- package/dist/assets/{useAdminDeviceRemoval-BlmPjO2C.js → useAdminDeviceRemoval-60EAneS8.js} +1 -1
- package/dist/assets/useEventInvalidation-BzsLEmb0.js +1 -0
- package/dist/assets/{useNodeUrlSelection-D8Wy9REH.js → useNodeUrlSelection-lmVrEsaf.js} +1 -1
- package/dist/assets/{useTemplateSave-0bqYGgiO.js → useTemplateSave-Bsglwi-7.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-ziMjlhZa.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-Cwr9lrJE.js} +2 -2
- package/dist/index.html +6 -6
- package/dist/server/addon.js +1 -1
- package/package.json +2 -2
- package/dist/assets/device-picker-model-Cs9JpoSv.js +0 -1
- package/dist/assets/mount-Cs9JpoSv.js +0 -1
- package/dist/assets/remoteEntry-RvN0W-Vc.js +0 -1
- package/dist/assets/useEventInvalidation-Cs9JpoSv.js +0 -1
|
@@ -1112,4 +1112,4 @@ ${d.map(({leaf:e,path:t})=>ehe(e,t)).join(`
|
|
|
1112
1112
|
`).replace(/<[^>]+>/g,``);for(let[e,n]of RHe)t=t.replace(e,n);return t.replace(/\n{3,}/g,`
|
|
1113
1113
|
|
|
1114
1114
|
`).trim()}var zHe=[[/&/g,`&`],[/</g,`<`],[/>/g,`>`],[/"/g,`"`],[/'/g,`'`]];function BHe(e){let t=e;for(let[e,n]of zHe)t=t.replace(e,n);return t}function VHe(e){return BHe(e).replace(/\n/g,`<br>`)}function HHe(e){return BHe(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 UHe={text:[`text`,`markdown`,`html`],markdown:[`markdown`,`html`,`text`],html:[`html`,`text`,`markdown`]};function WHe(e,t){for(let n of UHe[e]??UHe.text)if(t.includes(n))return n;return t[0]??`text`}function GHe(e,t,n){if(t===n)return e;if(n===`text`){if(t===`markdown`)return LHe(e);if(t===`html`)return U5(e)}if(n===`html`){if(t===`text`)return VHe(e);if(t===`markdown`)return HHe(e)}if(n===`markdown`){if(t===`text`)return e;if(t===`html`)return U5(e)}return e}function W5(e){return{id:e.id,ordinal:e.ordinal,...e.flags?{flags:e.flags}:{},...e.requires?{requires:e.requires}:{}}}function KHe(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 W5(n)}let n=e.filter(e=>e.ordinal!==null);if(n.length===0)return W5(e[0]);let r=t.priority;return W5([...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 qHe(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 JHe(e,t){let n=[],r=t.format,i=WHe(r,e.format);i!==r&&n.push(`format`);let a=GHe(t.body,r,i),o=KHe(e.levels,t),s=t.attachments??[],c=[];for(let t of s){if(!e.attachments.mediaTypes.includes(t.mediaType)){n.push(`attachment:${t.mediaType}`);continue}if(e.attachments.mode===`url`&&t.url===void 0){n.push(`attachment:noUrl`);continue}if(t.bytes!==void 0&&e.attachments.maxBytes!==void 0&&t.bytes.length>e.attachments.maxBytes){n.push(`attachment:maxBytes`);continue}if(c.length>=e.attachments.max){n.push(`attachment:max`);continue}let r=e.attachments.mode===`bytes`&&t.bytes===void 0&&t.url!==void 0;c.push({mediaType:t.mediaType,...t.url===void 0?{}:{url:t.url},...t.bytes===void 0?{}:{bytes:t.bytes},...t.mime===void 0?{}:{mime:t.mime},...t.name===void 0?{}:{name:t.name},needsFetch:r})}let l=t.actions??[],u=l.slice(0,Math.max(0,e.actions));l.length>u.length&&n.push(`actions`);let d=e.actionIcons===!0;!d&&u.some(e=>e.icon!==void 0)&&n.push(`actionIcons`);let f=d?u:u.map(({icon:e,...t})=>t),p=null;t.clickUrl!==void 0&&(e.clickUrl?p=t.clickUrl:n.push(`clickUrl`));let m=null;t.sound!==void 0&&(e.sound?m=t.sound:n.push(`sound`));let h=null;t.ttl!==void 0&&(e.ttl?h=t.ttl:n.push(`ttl`));let g=t.tag??null,_=e.text?.body??!0,ee=e.text?.title??!0;!_&&a.length>0&&n.push(`body`);let v=ee?t.title:void 0;!ee&&t.title!==void 0&&n.push(`title`);let te=qHe(_?a:``,e.bodyMaxLen),ne=te.length>1,re={level:o?.id??``,format:i,attachmentsSent:c.length,actionsSent:f.length,truncated:ne,dropped:n};return{body:te[0]??``,...v===void 0?{}:{title:v},format:i,level:o,attachments:c,actions:f,clickUrl:p,sound:m,ttl:h,tag:g,...t.delivery===void 0?{}:{delivery:t.delivery},bodyParts:te,renderedAs:re}}function YHe(e){return async()=>{try{let t=(await e.getAddresses.query()).roles.publicEndpoint.resolved;return t===null||t.length===0?{kind:`none`}:{kind:`resolved`,origin:t}}catch(e){return{kind:`failed`,error:e instanceof Error?e.message:String(e)}}}}function G5(e){return e.startsWith(`/`)&&!e.startsWith(`//`)}async function XHe(e){let{notification:t,logger:n}=e,r=t.attachments;if(r===void 0||!r.some(e=>e.url!==void 0&&G5(e.url)))return t;let i=await e.readPublicEndpoint(),a=t.deviceId===void 0?void 0:{deviceId:t.deviceId},o=[];for(let e of r){if(e.url===void 0||!G5(e.url)){o.push(e);continue}if(i.kind===`resolved`){o.push({...e,url:new URL(e.url,i.origin).toString()});continue}let t=i.kind===`none`?`no-public-endpoint: the local-network palette names no public endpoint`:`public-endpoint-read-failed: ${i.error}`;n?.warn(`notification attachment dropped (${e.mediaType}): ${t}`,{...a===void 0?{}:{tags:a},meta:{reason:i.kind===`none`?`no-public-endpoint`:`read-failed`}})}return{...t,attachments:o}}function ZHe(e,t){switch(e.type){case`enum`:return typeof t==`string`&&(e.options??[]).some(e=>e.value===t)?t:void 0;case`number`:{if(typeof t!=`number`||!Number.isFinite(t))return;let n=e.min??-1/0,r=e.max??1/0;return Math.min(r,Math.max(n,t))}case`boolean`:return typeof t==`boolean`?t:void 0;case`string`:return typeof t==`string`&&t.length>0?t:void 0}}function QHe(e,t){if(e===void 0||t===void 0)return;let n={};for(let r of e){let e=ZHe(r,t[r.key]);e!==void 0&&(n[r.key]=e)}return Object.keys(n).length>0?n:void 0}function $He(e){let t=new Set,n=[];for(let r of e)for(let e of r??[])t.has(e.key)||(t.add(e.key),n.push(e));return n}var K5=[`title`,`body`,`attachments`,`actions`,`priority`,`sound`,`clickUrl`];function eUe(e){let t=new Set(e.levels.map(e=>e.ordinal).filter(e=>e!==null)),n={title:e.text?.title??!0,body:e.text?.body??!0,attachments:e.attachments.max>0&&e.attachments.mediaTypes.length>0,actions:e.actions>0,priority:t.size>=2,sound:e.sound,clickUrl:e.clickUrl};return K5.filter(e=>n[e])}var tUe={image:`image`,video:`clip`,gif:`gif`};function nUe(e){if(e.attachments.max<=0)return[];let t=e.attachments.mediaTypes.flatMap(e=>{let t=tUe[e];return t===void 0?[]:[t]});return t.length===0?[]:[`none`,...new Set(t)]}function rUe(e,t){if(e===void 0)return!0;let n=tUe[t];return n===void 0?!0:e!==`none`&&e===n}function iUe(e){return e.levels.filter(e=>e.ordinal!==null).toSorted((e,t)=>(e.ordinal??0)-(t.ordinal??0))}function aUe(e){return K5.map(t=>{let n=e.filter(e=>e.fields!==void 0&&!e.fields.includes(t)).map(e=>e.name);return{field:t,shown:e.length===0||n.length<e.length,droppedBy:n}})}function oUe(e,t){let n=e=>t===void 0||t.includes(e),r=n(`title`)?sUe(e.template?.title):void 0,i=n(`body`)?sUe(e.template?.body):void 0,a=r!==void 0||i!==void 0?{...r===void 0?{}:{title:r},...i===void 0?{}:{body:i}}:void 0,o=n(`priority`)?e.priority:void 0,s=n(`attachments`)?e.attachment:void 0,c=n(`actions`)&&e.actions===!1,l={...a===void 0?{}:{template:a},...e.schedule!==void 0&&e.schedule.windows.length>0?{schedule:e.schedule}:{},...o===void 0?{}:{priority:o},...s===void 0?{}:{attachment:s},...c?{actions:!1}:{}};return Object.keys(l).length>0?l:void 0}function sUe(e){let t=e?.trim();return t===void 0||t.length===0?void 0:t}var cUe=new Set(lG),lUe=[`deviceIds`,`deviceTypes`,`nodeIds`,`packageNames`,`consumableLowPercent`,`commandActions`,`commandOutcomes`,`commandActorKinds`];function uUe(e,t){if(cUe.has(e))return!1;switch(t){case`deviceIds`:return e.startsWith(`device-`)||e.startsWith(`stream-`)||e===`detection-blind`||e.startsWith(`motion-`)||e.startsWith(`package-llm-`)||e.startsWith(`recording-`)||e===`alarm-triggered`;case`deviceTypes`:return e.startsWith(`device-`)||e===`detection-blind`||e.startsWith(`motion-`)||e.startsWith(`package-llm-`);case`nodeIds`:return e.startsWith(`node-`)||e===`addon-crash-loop`||e===`addon-update-available`||e===`addon-updated`||e===`server-update-available`||e===`wrapper-update-available`||e===`server-updated`||e.startsWith(`storage-location-`)||e.startsWith(`alert-`);case`packageNames`:return e.endsWith(`update-available`)||e===`addon-updated`||e===`node-updating`||e===`server-updated`;case`consumableLowPercent`:return dG.includes(e);case`commandActions`:case`commandOutcomes`:case`commandActorKinds`:return e===`device-command`}}function dUe(e,t){return e.some(e=>uUe(e,t))}var q5=[`device-events`,`system`,`alarm`];function fUe(e){return q5.some(t=>t===e)}var J5={"device-online":`device-events`,"device-offline":`device-events`,"device-disabled":`device-events`,"device-enabled":`device-events`,"device-battery-low":`device-events`,"device-battery-normal":`device-events`,"device-consumable-low":`device-events`,"device-consumable-normal":`device-events`,"stream-online":`device-events`,"stream-offline":`device-events`,"detection-blind":`device-events`,"motion-noisy":`device-events`,"motion-calm":`device-events`,"package-llm-silent":`device-events`,"package-llm-answered":`device-events`,"recording-stalled":`device-events`,"recording-healthy":`device-events`,"recording-degraded":`device-events`,"device-attention-required":`device-events`,"device-attention-resolved":`device-events`,"device-command":`device-events`,"node-online":`system`,"node-offline":`system`,"node-restarting":`system`,"node-updating":`system`,"node-inference-unavailable":`system`,"addon-crash-loop":`system`,"addon-update-available":`system`,"addon-updated":`system`,"server-update-available":`system`,"server-updated":`system`,"wrapper-update-available":`system`,"backup-completed":`system`,"export-completed":`system`,"alert-critical":`system`,"alert-error":`system`,"alert-critical-resolved":`system`,"rule-broken":`system`,"rule-repaired":`system`,"storage-location-low":`system`,"storage-location-critical":`system`,"storage-location-ok":`system`,"alarm-triggered":`alarm`,"alarm-armed":`alarm`,"alarm-disarmed":`alarm`,"alarm-arming":`alarm`,"alarm-arm-refused":`alarm`,"alarm-pending":`alarm`,"alarm-rearmed":`alarm`,"alarm-sensor-bypass":`alarm`,"alarm-check-failed":`alarm`,"camera-online":null,"camera-offline":null,"camera-disabled":null,"camera-enabled":null},pUe=new Map(Object.entries(J5)),mUe=[...lUe,`excludeDeviceIds`],hUe={"device-events":[`deviceIds`,`excludeDeviceIds`,`deviceTypes`,`consumableLowPercent`,`commandActions`,`commandOutcomes`,`commandActorKinds`],system:[`nodeIds`,`packageNames`],alarm:[`deviceIds`]},gUe=[{id:`device-state`,family:`device-events`,label:`Device state`,kinds:[`device-offline`,`device-online`,`device-disabled`,`device-enabled`]},{id:`streams`,family:`device-events`,label:`Streams`,kinds:[`stream-offline`,`stream-online`]},{id:`battery`,family:`device-events`,label:`Battery`,kinds:[`device-battery-low`,`device-battery-normal`]},{id:`consumables`,family:`device-events`,label:`Consumables`,kinds:[`device-consumable-low`,`device-consumable-normal`]},{id:`detection-blind`,family:`device-events`,label:`Detecting nothing`,kinds:[`detection-blind`]},{id:`motion-noise`,family:`device-events`,label:`Motion without a subject`,kinds:[`motion-noisy`,`motion-calm`]},{id:`package-llm`,family:`device-events`,label:`Package confirm`,kinds:[`package-llm-silent`,`package-llm-answered`]},{id:`recording`,family:`device-events`,label:`Recording`,kinds:[`recording-stalled`,`recording-healthy`,`recording-degraded`]},{id:`device-attention`,family:`device-events`,label:`Needs attention`,kinds:[`device-attention-required`,`device-attention-resolved`]},{id:`device-command`,family:`device-events`,label:`Commands given to devices`,kinds:[`device-command`]},{id:`nodes`,family:`system`,label:`Nodes`,kinds:[`node-offline`,`node-online`,`node-restarting`,`node-inference-unavailable`]},{id:`addons`,family:`system`,label:`Addons stopped`,kinds:[`addon-crash-loop`]},{id:`addon-updates`,family:`system`,label:`Addon updates`,kinds:[`addon-update-available`,`addon-updated`]},{id:`updates`,family:`system`,label:`Server & container updates`,kinds:[`server-update-available`,`node-updating`,`server-updated`,`wrapper-update-available`]},{id:`backups-exports`,family:`system`,label:`Backups & exports`,kinds:[`backup-completed`,`export-completed`]},{id:`storage`,family:`system`,label:`Storage locations`,kinds:[`storage-location-low`,`storage-location-critical`,`storage-location-ok`]},{id:`alerts`,family:`system`,label:`Alerts`,kinds:[`alert-critical`,`alert-error`,`alert-critical-resolved`]},{id:`rule-health`,family:`system`,label:`Notification rules`,kinds:[`rule-broken`,`rule-repaired`]},{id:`alarm`,family:`alarm`,label:`Alarm`,kinds:uG}];function Y5(e){return gUe.filter(t=>t.family===e).flatMap(e=>e.kinds)}function _Ue(e){if(typeof e!=`object`||!e||!(`kinds`in e))return;let t=e.kinds;if(Array.isArray(t))return t.filter(e=>typeof e==`string`)}function X5(e){let t=new Set;for(let n of e){let e=pUe.get(n);if(e==null)return{kind:`mixed`};t.add(e)}let[n]=[...t];return t.size===1&&n!==void 0?{kind:`family`,family:n}:{kind:`mixed`}}function vUe(e){if(e===void 0||e.kinds.length===0)return[{code:`no-kinds`}];let t=[],n=new Set;for(let r of e.kinds){let e=J5[r];e===null?t.push({code:`legacy-kind`,kind:r}):n.add(e)}let r=q5.filter(e=>n.has(e));r.length>1&&t.push({code:`mixed-families`,families:r});for(let n of e.commandActions??[])Pa(n)===void 0&&t.push({code:`unknown-command-action`,action:n});let[i]=r;if(r.length!==1||i===void 0)return t;let a=hUe[i];for(let n of mUe)e[n]!==void 0&&!a.includes(n)&&t.push({code:`filter-outside-family`,filter:n,family:i});return t}function yUe(e){switch(e.code){case`no-kinds`:return`a system-event rule needs at least one event kind`;case`legacy-kind`:return`'${e.kind}' is a legacy kind and cannot be authored`;case`mixed-families`:return`event kinds span ${e.families.join(` + `)} — one rule per family`;case`filter-outside-family`:return`filter '${e.filter}' is not allowed on a ${e.family} rule`;case`unknown-command-action`:return`'${e.action}' is not a vocabulary action id`}}var bUe=[`device-events`,`system`,`alarm`,`mixed`];function Z5(e){return bUe.some(t=>t===e)}function xUe(e){return fUe(e)?e:void 0}var SUe=`An occupancy edge is not a sensor event: it carries no sensor kind, so this condition can never match one.`,CUe=`An occupancy edge carries no device event-type token — that comes from an event-emitter slice, which a count crossing has none of.`,wUe=`An occupancy edge is a count crossing, not a sensor reading: it has no raise or clear, so this choice could never narrow it.`,TUe=`An occupancy edge is always produced by the pipeline, so any other source can never match and “pipeline” narrows nothing.`,EUe=`A confirmed sound window is always stamped as an audio subject, so any other source can never match.`,Q5=`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.`,DUe=`A sound window’s evidence is a percentage of samples, not a detector score, so a confidence threshold can never be satisfied.`,$5=`A sound has no position in the frame, so a zone or a drawn polygon can never match it.`,e7=[{kind:`detection`,label:`Conditions`,excluded:{audio:`A detection rule fires on what the camera SAW. Sounds are a Sound rule of their own — adding one here turned the rule into a sound rule and dropped every detection condition.`},editable:!0,carriesMedia:!0,carriesSubjectCrop:!0},{kind:`sensor`,label:`Conditions`,excluded:{},editable:!0,carriesMedia:!0,carriesSubjectCrop:!0,blurb:`A doorbell press or a linked sensor changing state. The picture comes from the camera the sensor is attributed to.`},{kind:`occupancy`,label:`Occupancy`,discriminator:`occupancy`,excluded:{sensorKinds:SUe,eventTypeTokens:CUe,sensorTransition:wUe,source:TUe},editable:!0,carriesMedia:!0,carriesSubjectCrop:!0,blurb:`Fires when the count in a camera frame or a zone crosses your threshold and holds. Pick the camera first — the zone list is that camera’s.`},{kind:`sound`,label:`Sound`,discriminator:`audio`,excluded:{classes:Q5,classesExclude:Q5,minConfidence:DUe,zones:$5,zonesExclude:$5,customZones:$5,crossing:$5,labelEquals:Q5,identities:Q5,identitiesExclude:Q5,plates:Q5,source:EUe},editable:!0,carriesMedia:!0,carriesSubjectCrop:!1,blurb:`Fires on a confirmed sampling window of audio, never on a picture. Name the sounds and/or keep a level threshold — with neither it can never match.`,mediaBlurb:`A sound owns no frame, so the picture is a photograph of the camera taken at the moment of the match — the whole scene, never a crop. The GIF and the clip are cut around the same instant, from the camera.`},{kind:`device-events`,label:`Device events`,discriminator:`systemEvent`,excluded:{},editable:!0,carriesMedia:!1,carriesSubjectCrop:!1,blurb:`A device or its stream going away or coming back, switched off or on, a battery or consumable running low, a camera detecting nothing. There is no frame to attach.`},{kind:`system`,label:`System events`,discriminator:`systemEvent`,excluded:{},editable:!0,carriesMedia:!1,carriesSubjectCrop:!1,blurb:`The installation itself: a node leaving, an addon crash-looping, an update available or installed, a backup or an export finishing.`},{kind:`alarm`,label:`Alarm`,discriminator:`systemEvent`,excluded:{},editable:!0,carriesMedia:!1,carriesSubjectCrop:!1,blurb:`The alarm panel: refused, arming, armed, entry delay, triggered, re-armed, sensor bypass, disarmed.`,mediaBlurb:`An alarm set off by a rule arrives with THAT rule's pictures, combined into one notification. This rule adds none of its own.`},{kind:`mixed`,label:`To recreate`,discriminator:`systemEvent`,excluded:{},editable:!1,carriesMedia:!1,carriesSubjectCrop:!1,blurb:`This rule mixes events from more than one family (device events, system, alarm). It keeps firing as it is, but it can no longer be edited: create one rule per family, then delete this one.`}];function t7(e){return e7.find(t=>t.kind===e)??e7[0]}function OUe(e){return e7.filter(t=>t.discriminator===e).map(e=>e.kind)}var n7=`system-event`;function r7(e){return e===n7}function kUe(e){switch(e){case`sensor`:return w4;case`detection`:case`occupancy`:return[`detection-pipeline`];case`sound`:return[`audio-metrics`];case`device-events`:case`system`:case`alarm`:case`mixed`:return null}}var AUe=`camera-streams`,jUe=16;function MUe(e,t){let n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n}function NUe(e){let t=kUe(e);if(t===null)return null;let n=MUe(t,jUe);return e===`sensor`?[...n,[AUe]]:n}function i7(e){return r7(e.delivery)?a7(e.conditions.systemEvent):e.conditions.occupancy!==void 0&&e.delivery===`device-event`?`occupancy`:e.conditions.audio!==void 0&&e.delivery===`immediate`?`sound`:e.delivery===`device-event`?`sensor`:`detection`}function PUe(e){return e.delivery===`immediate`&&i7(e)===`detection`}function a7(e){let t=X5(_Ue(e)??[]);return t.kind===`family`?t.family:`mixed`}function FUe(e,t,n){let r=t7(n);return e.id===r.discriminator?!0:e.appliesTo.includes(t)?r.excluded[e.id]===void 0:!1}function IUe(e,t){let n=t7(t);return e===n.discriminator?null:n.excluded[e]??null}function LUe(e,t){let n=t7(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 o7=[{key:`all`,label:`All rules`,blurb:`Every notification rule, whatever its trigger. Each rule picks a trigger, matches conditions and fans out to one or more delivery targets.`,newRuleLabel:`New rule`,emptyHint:`No notification rules yet. Create one to be told what your cameras see.`,creatable:!0},{key:`detection`,label:`Detections`,blurb:`Rules driven by what the cameras SEE — detections, tracks and package events.`,newRuleLabel:`New detection rule`,emptyHint:`No detection rules yet. Create one to be told what your cameras see.`,creatable:!0},{key:`sensor`,label:`Sensors`,blurb:`Rules driven by a device or sensor CHANGING STATE — a doorbell press, a linked sensor opening or closing. The picture comes from the camera the sensor is attributed to.`,newRuleLabel:`New sensor rule`,emptyHint:`No sensor rules yet. Create one to be told when a doorbell is pressed or a linked sensor changes.`,creatable:!0},{key:`audio`,label:`Sound`,blurb:`Rules on what the cameras HEAR: a sustained window of sound loud enough, or classified as one of the sounds you name. A sound rule fires only on a confirmed sampling window, never on a picture.`,newRuleLabel:`New sound rule`,emptyHint:`No sound rules yet. A new sound rule opens on the sound condition already filled in with a level threshold, so you only have to name the sounds and the targets.`,creatable:!0},{key:`occupancy`,label:`Occupancy`,blurb:`Rules on how many objects are in a camera frame or a zone, and for how long: "the driveway became occupied", "the garden emptied".`,newRuleLabel:`New occupancy rule`,emptyHint:`No occupancy rules yet. A new occupancy rule opens on the occupancy condition; pick the camera first, then the zone and the count.`,creatable:!0},{key:`device-events`,label:`Device events`,blurb:`Rules about your devices: offline or back, switched off or on, a stream dropping, a battery or consumable running low, a camera detecting nothing.`,newRuleLabel:`New device-event rule`,emptyHint:`No device-event rules yet. These tell you when a device drops, a battery runs low or a camera goes blind.`,creatable:!0},{key:`system`,label:`System events`,blurb:`Rules about the installation: a node leaving the cluster, an addon crash-looping, an update available or installed, a backup or export finishing.`,newRuleLabel:`New system rule`,emptyHint:`No system rules yet. These tell you when a node leaves, an update lands or a backup finishes.`,creatable:!0},{key:`alarm`,label:`Alarm`,blurb:`Rules about the alarm panel: arming, armed, triggered, disarmed, and the refusals in between.`,newRuleLabel:`New alarm rule`,emptyHint:`No alarm rules yet. These tell you when the alarm arms, goes off or is disarmed.`,creatable:!0},{key:`mixed`,label:`To recreate`,blurb:`System rules authored before the three families existed. Each mixes families, keeps firing as it is, and can only be read or deleted: recreate it as one rule per family.`,newRuleLabel:`New rule`,emptyHint:`Nothing to recreate.`,creatable:!1}];function RUe(e){return o7.find(t=>t.key===e)??o7[0]}function zUe(e){return o7.find(t=>t.key===e)?.key}function s7(e){return e.conditions.audio!==void 0}function c7(e){return e.conditions.occupancy!==void 0}function BUe(e,t){return t===`all`?!0:r7(e.delivery)?i7(e)===t:t===`audio`?s7(e):t===`occupancy`?c7(e):t===`sensor`?e.delivery===`device-event`&&!c7(e):t===`detection`?!s7(e)&&!c7(e)&&e.delivery!==`device-event`:!1}function VUe(e){return r7(e.delivery)?a7(e.conditions.systemEvent):s7(e)?`audio`:c7(e)?`occupancy`:e.delivery===`device-event`?`sensor`:`detection`}var HUe={op:`became-occupied`,count:1,sustainSeconds:15},UUe={hitPercent:z5.hitPercent,samplingSeconds:z5.samplingSeconds,dbThreshold:R5};function WUe(e){switch(e){case`device-events`:return{delivery:n7,conditions:{systemEvent:{kinds:[`device-offline`,`device-online`]}}};case`system`:return{delivery:n7,conditions:{systemEvent:{kinds:[`node-offline`,`node-online`]}}};case`alarm`:return{delivery:n7,conditions:{systemEvent:{kinds:[`alarm-triggered`]}}};case`audio`:return{delivery:`immediate`,conditions:{audio:UUe}};case`occupancy`:return{delivery:`device-event`,conditions:{occupancy:HUe}};case`sensor`:return{delivery:`device-event`,conditions:{}};default:return{delivery:`immediate`,conditions:{source:`pipeline`}}}}function GUe(e){return WUe(e).delivery}var KUe=[`rule`,`devices`,`conditions`,`notification`,`actions`,`advanced`],qUe={rule:`Rule`,devices:`Cameras`,conditions:`Conditions`,notification:`Notification`,actions:`Actions`,advanced:`Advanced`};function JUe(e){let t=t7(e),n=[];for(let r of KUe)r===`devices`&&Z5(e)||n.push({key:r,label:r===`conditions`?t.label:qUe[r]});return n}var YUe=`system-event`;function XUe(e){return e.groupWithinSec===void 0?e.delivery===YUe?5:0:e.groupWithinSec}var l7=[`scene-boxes`,`crop`,`clean`,`none`];function u7(e){let t=t7(e);return t.carriesMedia?t.carriesSubjectCrop?l7:l7.filter(e=>e!==`crop`):[]}function d7(e){if(e.zones!==void 0)return e.zones.ids;let t=e.occupancy?.zoneId;return t===void 0?[]:[t]}function ZUe(e){return e.attach===`none`?`none`:e.zoneCrop===!0||e.frame===`full`?`clean`:e.frame===`boxed`?`scene-boxes`:e.frame===`cropped`?`crop`:e.attach===`keyFrame`?`clean`:`crop`}function QUe(e,t){let n=u7(t);return n.length===0||n.includes(e)?e:e===`crop`?`clean`:e}function $Ue(e,t){return e.image===void 0?t===`sensor`?`clean`:QUe(ZUe(e),t):QUe(e.image,t)}function eWe(e,t){let n=i7(t),r=$Ue(e,n),{attach:i,frame:a,zoneCrop:o,showTriggerZone:s,showSubjectPath:c,image:l,...u}=e,d=(s===!0||e.image===void 0&&o===!0)&&r!==`crop`&&r!==`none`&&d7(t.conditions).length>0,f=c===!0&&r!==`none`&&f7(n);return{...u,image:r,...d?{showTriggerZone:!0}:{},...f?{showSubjectPath:!0}:{}}}function f7(e){let t=t7(e);return t.carriesMedia&&t.carriesSubjectCrop}function tWe(e,t){let n=i7(t);if(e.image!==void 0){let t=u7(n);if(t.length>0&&!t.includes(e.image))return`media.image '${e.image}' is not available for a ${n} rule (offered: ${t.join(`, `)})`}return e.showTriggerZone===!0&&d7(t.conditions).length===0?`media.showTriggerZone needs a rule triggered by a zone (a zones condition or an occupancy zone)`:e.showSubjectPath===!0&&!f7(n)?`media.showSubjectPath needs a rule whose subject is a tracked object (not a ${n} rule)`:null}var nWe={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6},rWe=new Map;function iWe(e){let t=rWe.get(e);if(t!==void 0)return t;let n;try{n=new Intl.DateTimeFormat(`en-US`,{timeZone:e,weekday:`short`,hour:`numeric`,minute:`numeric`,hourCycle:`h23`})}catch{n=null}return rWe.set(e,n),n}function aWe(e,t){let n=new Date(e),r=t===void 0?null:iWe(t);if(r!==null)try{let e=r.formatToParts(n),t,i,a;for(let n of e)n.type===`weekday`?t=n.value:n.type===`hour`?i=Number(n.value):n.type===`minute`&&(a=Number(n.value));let o=t===void 0?void 0:nWe[t];if(o!==void 0&&i!==void 0&&a!==void 0)return{day:o,minute:i*60+a}}catch{}return{day:n.getDay(),minute:n.getHours()*60+n.getMinutes()}}function oWe(e,t){if(e===void 0)return!0;let{day:n,minute:r}=aWe(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 sWe=.85,cWe=.005,lWe=120,uWe=e=>e<0?0:e>1?1:e;function dWe(e,t){return{x:e.x+e.w/2,y:e.y+e.h/2,w:e.w,h:e.h,...t===void 0?{}:{timestamp:t}}}function fWe(e){return e.w!==void 0&&e.h!==void 0&&e.w>=.85&&e.h>=.85}function pWe(e,t){if(e.length<=t||t<2)return e;let n=(e.length-1)/(t-1),r=[];for(let i=0;i<t-1;i++){let t=e[Math.round(i*n)];t!==void 0&&r.push(t)}let i=e[e.length-1];return i!==void 0&&r.push(i),r}function mWe(e){return Number.isFinite(e.x)&&Number.isFinite(e.y)}function hWe(e,t){let n=t?.untilTimestamp,r=[],i=0,a=null;for(let t=0;t<e.length;t++){let o=e[t];if(o===void 0||!mWe(o)||n!==void 0&&o.timestamp!==void 0&&o.timestamp>n)continue;if(fWe(o)){i+=1;continue}let s=o.timestamp!==void 0&&Number.isFinite(o.timestamp)?o.timestamp:t,c=uWe(o.x),l=uWe(o.y),u=r[r.length-1];if(u!==void 0&&Math.hypot(c-u.x,l-u.y)<.005){r[r.length-1]={...u,samples:u.samples+1,lastTs:Math.max(u.lastTs,s)},a={x:c,y:l,samples:1,firstTs:s,lastTs:s};continue}a=null,r.push({x:c,y:l,samples:1,firstTs:s,lastTs:s})}let o=r[r.length-1];return a!==null&&o!==void 0&&o.samples>1&&(a.x!==o.x||a.y!==o.y)&&(r[r.length-1]={...o,samples:o.samples-1},r.push(a)),{nodes:pWe(r,t?.maxPoints??120),unlocalized:i}}function gWe(e){return e.nodes.length>=2}function _We(e){return e.x>=0&&e.x<=1&&e.y>=0&&e.y<=1}function vWe(e,t){let n=t.x-e.x,r=t.y-e.y,i=0,a=1,o=[[-n,e.x],[n,1-e.x],[-r,e.y],[r,1-e.y]];for(let[e,t]of o){if(e===0){if(t<0)return null;continue}let n=t/e;if(e<0){if(n>a)return null;n>i&&(i=n)}else{if(n<i)return null;n<a&&(a=n)}}return[{x:e.x+i*n,y:e.y+i*r},{x:e.x+a*n,y:e.y+a*r}]}function yWe(e,t){return Math.abs(e.x-t.x)<1e-9&&Math.abs(e.y-t.y)<1e-9}function bWe(e,t){if(e.length<2||!(t.w>0)||!(t.h>0))return[];let n=e.map(e=>({x:(e.x-t.x)/t.w,y:(e.y-t.y)/t.h})),r=[],i=[];for(let e=1;e<n.length;e++){let t=n[e-1],a=n[e];if(t===void 0||a===void 0)continue;let o=vWe(t,a);if(o===null){i.length>=2&&r.push(i),i=[];continue}let[s,c]=o,l=i[i.length-1];(l===void 0||!yWe(l,s))&&(i.length>=2&&r.push(i),i=[s]),i.push(c),_We(a)||(i.length>=2&&r.push(i),i=[])}return i.length>=2&&r.push(i),r}function xWe(e,t,n){let r=e=>String(Math.round(e*100)/100);return e.map(e=>`${r(e.x*t)},${r(e.y*n)}`).join(` `)}var SWe=[`alarm.trigger`,`alarm.disarm`,`alarm.arm.home`,`alarm.arm.away`,`alarm.arm.night`,`alarm.arm.vacation`,`alarm.arm.custom_bypass`],CWe=`alarm.trigger`,wWe=new Set(SWe);function TWe(e){return e.kind===`command`&&wWe.has(e.actionId)}function EWe(e){return e.kind===`command`&&e.actionId===`alarm.trigger`}var DWe=`armed_`,OWe=[`contact`,`cover`,`lock`,`switch`],kWe=[`cover`,`lock-control`,`switch`];function AWe(e){return kWe.includes(e)}function jWe(e,t){let n=t?.(e);return n===void 0?!1:n.some(EWe)}function p7(e){return(e.conditions.deviceState?.states??[]).some(e=>e.trim().toLowerCase().startsWith(DWe))}function MWe(e){if(p7(e))return!0;for(let t of e.actions?.onTrigger??[])if(jWe(t,e.actionStepsOf))return!0;return!1}function NWe(e){return p7(e)}function PWe(e){let t=e.trim().toLowerCase();return OWe.some(e=>e===t)}var FWe=`This rule belongs to the alarm, and an alarm rule fires only when an opening OPENS. Set to “only when it clears”, it can never fire.`;function IWe(e){if(e.conditions.sensorTransition!==`cleared`)return!1;let t=e.conditions.sensorKinds??[];return t.length===0||!t.every(PWe)?!1:MWe(e)}function LWe(e){return e.controllable?e.blocking.includes(e.deviceId):!e.nonBlocking.includes(e.deviceId)}function RWe(e){return e.controllable?!e.secureOnArmOff.includes(e.deviceId):!1}function zWe(e){if(!AWe(e))return null;switch(e){case`cover`:return{cap:e,method:`close`,args:{}};case`lock-control`:return{cap:e,method:`lock`,args:{}};case`switch`:return{cap:e,method:`setState`,args:{on:!1}}}}var BWe=[`exitDelaySec`,`entryDelaySec`,`triggeredDurationSec`],VWe=30,HWe=[`notifyDuringEntryDelay`,`notifySensorRewatched`,`notifySensorIgnored`];function UWe(e,t){let n=(e.modeDelays??[]).find(e=>e.mode===t);return{notifyDuringEntryDelay:n?.notifyDuringEntryDelay===!0,notifySensorRewatched:n?.notifySensorRewatched===!0,notifySensorIgnored:n?.notifySensorIgnored===!0}}function m7(e,t){return e===void 0?t>0?`rearmAfter`:`doNothing`:e}function h7(e,t){return e===void 0?{value:t,source:`default`}:{value:e,source:`mode`}}function WWe(e,t){let n=(e.modeDelays??[]).find(e=>e.mode===t),r=h7(n?.exitDelaySec,e.exitDelaySec),i=h7(n?.entryDelaySec,e.entryDelaySec),a=h7(n?.triggeredDurationSec,e.triggeredDurationSec),o=n?.postTriggeredAction,s=o===void 0?`default`:`mode`,c=m7(o??e.postTriggeredAction,a.value);return{exitDelaySec:r.value,entryDelaySec:i.value,triggeredDurationSec:a.value,postTriggeredAction:c,source:{exitDelaySec:r.source,entryDelaySec:i.source,triggeredDurationSec:a.source,postTriggeredAction:s}}}function g7(e,t){return t===void 0?e:t===null?void 0:t}function GWe(e,t){return t===void 0?e:t===null?void 0:t}function _7(e,t){return t===void 0?e:t===null?void 0:t}function KWe(e,t){return t===void 0?e:t===null?void 0:t}function qWe(e,t){if(e===void 0&&t===void 0)return!0;if(e===void 0||t===void 0||e.invert!==t.invert||e.timezone!==t.timezone||e.windows.length!==t.windows.length)return!1;for(let n=0;n<e.windows.length;n++){let r=e.windows[n],i=t.windows[n];if(r===void 0||i===void 0||r.startMinute!==i.startMinute||r.endMinute!==i.endMinute||r.days.length!==i.days.length)return!1;for(let e=0;e<r.days.length;e++)if(r.days[e]!==i.days[e])return!1}return!0}function JWe(e,t){let n=e.map(e=>({...e}));for(let e of t){let t=n.findIndex(t=>t.mode===e.mode),r=t>=0?n[t]??{mode:e.mode}:{mode:e.mode},i={mode:e.mode},a=g7(r.exitDelaySec,e.exitDelaySec),o=g7(r.entryDelaySec,e.entryDelaySec),s=g7(r.triggeredDurationSec,e.triggeredDurationSec),c=GWe(r.postTriggeredAction,e.postTriggeredAction),l=KWe(r.schedule,e.schedule),u=_7(r.notifyDuringEntryDelay,e.notifyDuringEntryDelay),d=_7(r.notifySensorRewatched,e.notifySensorRewatched),f=_7(r.notifySensorIgnored,e.notifySensorIgnored);a!==void 0&&(i.exitDelaySec=a),o!==void 0&&(i.entryDelaySec=o),s!==void 0&&(i.triggeredDurationSec=s),c!==void 0&&(i.postTriggeredAction=c),l!==void 0&&(i.schedule=l),u!==void 0&&(i.notifyDuringEntryDelay=u),d!==void 0&&(i.notifySensorRewatched=d),f!==void 0&&(i.notifySensorIgnored=f),t>=0?n[t]=i:n.push(i)}return n.filter(e=>e.exitDelaySec!==void 0||e.entryDelaySec!==void 0||e.triggeredDurationSec!==void 0||e.postTriggeredAction!==void 0||e.schedule!==void 0||e.notifyDuringEntryDelay!==void 0||e.notifySensorRewatched!==void 0||e.notifySensorIgnored!==void 0)}function v7(e,t){let n=e.map(e=>({mode:e.mode,deviceIds:[...e.deviceIds]})),r=n.findIndex(e=>e.mode===t.mode),i=r>=0?n[r]?.deviceIds??[]:[],a=i.includes(t.deviceId);if(t.present===a)return{kind:`applied`,lists:n,changed:!1};if(t.present){if(i.length>=200)return{kind:`refused`,reason:`list-full`,mode:t.mode,max:200};let e={mode:t.mode,deviceIds:[...i,t.deviceId]};r>=0?n[r]=e:n.push(e)}else{let e={mode:t.mode,deviceIds:i.filter(e=>e!==t.deviceId)};r>=0&&(n[r]=e)}return{kind:`applied`,lists:n.filter(e=>e.deviceIds.length>0),changed:!0}}function YWe(e,t){return v7(e,{mode:t.mode,deviceId:t.deviceId,present:t.nonBlocking})}function XWe(e,t){return v7(e,{mode:t.mode,deviceId:t.deviceId,present:t.blocking})}function ZWe(e,t){return v7(e,{mode:t.mode,deviceId:t.deviceId,present:!t.secureOnArm})}function QWe(e,t){let n=new Set(e),r=new Set(t);return n.size===r.size&&[...n].every(e=>r.has(e))}function $We(e){let t=new Map;for(let n of e)n.deviceIds.length>0&&t.set(n.mode,new Set(n.deviceIds));return t}function y7(e,t){let n=$We(e),r=$We(t);if(n.size!==r.size)return!1;for(let[e,t]of n){let n=r.get(e);if(n===void 0||!QWe([...t],[...n]))return!1}return!0}function eGe(e,t){if(e!==void 0)switch(t){case`exitDelaySec`:return e.exitDelaySec;case`entryDelaySec`:return e.entryDelaySec;case`triggeredDurationSec`:return e.triggeredDurationSec}}function tGe(e,t){switch(t){case`exitDelaySec`:return e.exitDelaySec;case`entryDelaySec`:return e.entryDelaySec;case`triggeredDurationSec`:return e.triggeredDurationSec}}function b7(e,t,n){return e?.find(e=>e.mode===t)?.deviceIds.includes(n)??!1}function nGe(e,t){if(e.exitDelaySec!==void 0&&e.exitDelaySec!==t.exitDelaySec||e.entryDelaySec!==void 0&&e.entryDelaySec!==t.entryDelaySec||e.triggeredDurationSec!==void 0&&e.triggeredDurationSec!==t.triggeredDurationSec||e.postTriggeredAction!==void 0&&e.postTriggeredAction!==m7(t.postTriggeredAction,t.triggeredDurationSec)||e.announceTargets!==void 0&&!QWe(e.announceTargets,t.announceTargets)||e.nonBlocking!==void 0&&!y7(e.nonBlocking,t.nonBlocking??[])||e.blocking!==void 0&&!y7(e.blocking,t.blocking??[])||e.secureOnArmOff!==void 0&&!y7(e.secureOnArmOff,t.secureOnArmOff??[]))return!1;for(let n of e.modeDelays??[]){let e=(t.modeDelays??[]).find(e=>e.mode===n.mode);for(let t of BWe){let r=tGe(n,t);if(r===void 0)continue;let i=eGe(e,t);if(r===null?i!==void 0:i!==r)return!1}if(n.postTriggeredAction!==void 0){let t=e?.postTriggeredAction;if(n.postTriggeredAction===null?t!==void 0:t!==n.postTriggeredAction)return!1}for(let t of HWe){let r=n[t];if(r===void 0)continue;let i=e?.[t];if(r===null?i!==void 0:i!==r)return!1}if(n.schedule!==void 0){let t=e?.schedule;if(n.schedule===null?t!==void 0:!qWe(t,n.schedule))return!1}}if(e.nonBlockingEdit!==void 0){let n=e.nonBlockingEdit;if(b7(t.nonBlocking,n.mode,n.deviceId)!==n.nonBlocking)return!1}if(e.blockingEdit!==void 0){let n=e.blockingEdit;if(b7(t.blocking,n.mode,n.deviceId)!==n.blocking)return!1}if(e.secureOnArmEdit!==void 0){let n=e.secureOnArmEdit;if(b7(t.secureOnArmOff,n.mode,n.deviceId)===n.secureOnArm)return!1}return!0}var x7=`default`,S7=`Default`,rGe={exitDelaySec:30,entryDelaySec:20,triggeredDurationSec:10,postTriggeredAction:`rearmAfter`};function iGe(){return{...rGe,announceTargets:[],nonBlocking:[],blocking:[],secureOnArmOff:[],modeDelays:[]}}function C7(e){return e===x7}function w7(e){return{exitDelaySec:e.exitDelaySec,entryDelaySec:e.entryDelaySec,triggeredDurationSec:e.triggeredDurationSec,...e.postTriggeredAction===void 0?{}:{postTriggeredAction:e.postTriggeredAction},...e.announceArm===void 0?{}:{announceArm:e.announceArm},announceTargets:[...e.announceTargets],nonBlocking:e.nonBlocking.map(e=>({mode:e.mode,deviceIds:[...e.deviceIds]})),blocking:e.blocking.map(e=>({mode:e.mode,deviceIds:[...e.deviceIds]})),secureOnArmOff:e.secureOnArmOff.map(e=>({mode:e.mode,deviceIds:[...e.deviceIds]})),modeDelays:e.modeDelays.map(e=>({mode:e.mode,...e.exitDelaySec===void 0?{}:{exitDelaySec:e.exitDelaySec},...e.entryDelaySec===void 0?{}:{entryDelaySec:e.entryDelaySec},...e.triggeredDurationSec===void 0?{}:{triggeredDurationSec:e.triggeredDurationSec},...e.postTriggeredAction===void 0?{}:{postTriggeredAction:e.postTriggeredAction},...e.schedule===void 0?{}:{schedule:{windows:e.schedule.windows.map(e=>({days:[...e.days],startMinute:e.startMinute,endMinute:e.endMinute})),...e.schedule.timezone===void 0?{}:{timezone:e.schedule.timezone},...e.schedule.invert===!0?{invert:!0}:{}}}}))}}function aGe(e,t){return e!=null&&e.profiles.length>0?e.profiles.some(e=>e.id==="default")?e.profiles.some(t=>t.id===e.activeId)?e:{activeId:x7,profiles:e.profiles}:{activeId:e.activeId,profiles:[{id:x7,name:S7,settings:w7(t)},...e.profiles]}:{activeId:x7,profiles:[{id:x7,name:S7,settings:w7(t)}]}}function oGe(e){return e.trim()}function sGe(e,t,n){let r=t.toLowerCase();return e.profiles.some(e=>e.id!==n&&e.name.trim().toLowerCase()===r)}function cGe(e,t){let n=oGe(t.name);if(n.length===0)return{kind:`refused`,reason:`name-empty`};if(sGe(e,n))return{kind:`refused`,reason:`name-taken`,detail:n};if(C7(t.id))return{kind:`refused`,reason:`cannot-rename-default-id`};let r;if(t.source.kind===`defaults`)r=iGe();else{let n=t.source.fromId,i=e.profiles.find(e=>e.id===n);if(i===void 0)return{kind:`refused`,reason:`clone-source-missing`,detail:n};r=w7(i.settings)}return{kind:`ok`,state:{activeId:e.activeId,profiles:[...e.profiles,{id:t.id,name:n,settings:r}]}}}function lGe(e,t){let n=oGe(t.name);if(n.length===0)return{kind:`refused`,reason:`name-empty`};let r=e.profiles.findIndex(e=>e.id===t.id);if(r<0)return{kind:`refused`,reason:`not-found`,detail:t.id};if(sGe(e,n,t.id))return{kind:`refused`,reason:`name-taken`,detail:n};let i=e.profiles.map((e,t)=>t===r?{...e,name:n}:e);return{kind:`ok`,state:{activeId:e.activeId,profiles:i}}}function uGe(e,t){if(C7(t))return{kind:`refused`,reason:`cannot-delete-default`};if(!e.profiles.some(e=>e.id===t))return{kind:`refused`,reason:`not-found`,detail:t};let n=e.profiles.filter(e=>e.id!==t);return{kind:`ok`,state:{activeId:e.activeId===t?x7:e.activeId,profiles:n}}}function dGe(e,t){return e.profiles.some(e=>e.id===t)?{kind:`ok`,state:{activeId:t,profiles:e.profiles}}:{kind:`refused`,reason:`not-found`,detail:t}}function fGe(e,t){return{activeId:e.activeId,profiles:e.profiles.map(n=>n.id===e.activeId?{...n,settings:w7(t)}:n)}}function pGe(e,t){return e.profiles.find(e=>e.id===t)}var mGe={"running-state":`running`},T7=Object.freeze(Object.fromEntries(Object.entries(C4).flatMap(([e,t])=>{let n=mGe[e];if(n!==void 0)return[[t.kind,n]];let r=Eo[e];return r===void 0||t.category!==`sensor`?[]:[[t.kind,r]]}))),E7=Object.freeze(Object.keys(T7));function hGe(e){return e.trim().toLowerCase()}function gGe(e,t){if(t===null)return;let n=T7[hGe(e)];if(n===void 0)return;let r=Object.entries(t).find(([e])=>e===n)?.[1];return typeof r==`boolean`?r:void 0}function _Ge(e){return e===void 0||e.length===0?!1:e.every(e=>E7.includes(hGe(e)))}var vGe=`Only a sensor that raises and clears (water, smoke, gas, CO, vibration, tamper, motion, contact) or an appliance cycle (started / finished) can fire on one edge. Pick only such sensor kinds, or the rule fires on every change.`,yGe=Object.freeze({contact:{starts:{en:`opened`,it:`si apre`},finishes:{en:`closed`,it:`si chiude`}},"motion-sensor":{starts:{en:`motion detected`,it:`movimento rilevato`},finishes:{en:`motion stopped`,it:`movimento terminato`}},smoke:{starts:{en:`smoke detected`,it:`fumo rilevato`},finishes:{en:`smoke gone`,it:`fumo scomparso`}},flood:{starts:{en:`water detected`,it:`acqua rilevata`},finishes:{en:`dry again`,it:`di nuovo asciutto`}},gas:{starts:{en:`gas detected`,it:`gas rilevato`},finishes:{en:`gas gone`,it:`gas scomparso`}},"carbon-monoxide":{starts:{en:`carbon monoxide detected`,it:`monossido rilevato`},finishes:{en:`carbon monoxide gone`,it:`monossido scomparso`}},vibration:{starts:{en:`vibration detected`,it:`vibrazione rilevata`},finishes:{en:`vibration stopped`,it:`vibrazione terminata`}},tamper:{starts:{en:`tampered with`,it:`manomesso`},finishes:{en:`tamper cleared`,it:`manomissione rientrata`}},"appliance-cycle":{starts:{en:`the cycle started`,it:`il ciclo parte`},finishes:{en:`the cycle finished`,it:`il ciclo è terminato`}}});function bGe(e){let t=e.trim().toLowerCase();return E7.includes(t)?yGe[t]:void 0}var xGe=b({phase:x([`raised`,`resolved`]),episodeId:p().min(1),alertId:p().min(1),severity:bS,category:p(),title:p(),message:p(),sourceType:p().optional(),sourceId:p().optional(),nodeId:p().optional(),actionUrl:p().optional(),at:f()});function SGe(e){let t=xGe.safeParse(e);return t.success?t.data:null}function CGe(e){return e!==`completed`&&e!==`dismissed`}function wGe(e){return e===`critical`||e===`error`}function TGe(e){let t=e.metadata?.episodeId;return typeof t==`string`&&t.length>0?t:`${e.id}@${String(e.createdAt)}`}function EGe(e){let t=e.metadata?.nodeId;if(typeof t==`string`)return t;let n=e.metadata?.runner;if(typeof n==`object`&&n&&`nodeId`in n){let e=n.nodeId;if(typeof e==`string`)return e}return e.source?.type===`node`?e.source.id:void 0}function DGe(e,t){return e===`critical`?t===`raised`?`alert-critical`:`alert-critical-resolved`:e===`error`&&t===`raised`?`alert-error`:null}function OGe(e,t){return e===`critical`?t===`raised`?`device-attention-required`:`device-attention-resolved`:null}function kGe(e,t,n){let r=EGe(e);return{phase:t,episodeId:TGe(e),alertId:e.id,severity:e.severity,category:e.category,title:e.title,message:e.message,...e.source===void 0?{}:{sourceType:e.source.type,sourceId:e.source.id},...r===void 0?{}:{nodeId:r},...e.action?.href===void 0?{}:{actionUrl:e.action.href},at:n}}var AGe=[`body`],$=[`title`,`body`],D7=[`device-battery-low`,`device-battery-normal`],O7=[`device-consumable-low`,`device-consumable-normal`],k7=[`alert-critical`,`alert-error`,`alert-critical-resolved`],A7=[`device-attention-required`,`device-attention-resolved`],j7=[`addon-update-available`,`server-update-available`,`wrapper-update-available`],M7=[`addon-update-available`,`server-update-available`],jGe=[`alarm-triggered`,`alarm-armed`,`alarm-disarmed`,`alarm-arming`,`alarm-arm-refused`,`alarm-pending`,`alarm-rearmed`,`alarm-sensor-bypass`,`alarm-check-failed`],N7=[`alarm-triggered`],P7=[`device-online`,`device-offline`,`device-disabled`,`device-enabled`,...D7,...O7,`stream-online`,`stream-offline`,`detection-blind`,`motion-noisy`,`motion-calm`,`package-llm-silent`,`package-llm-answered`,`recording-stalled`,`recording-healthy`,`recording-degraded`,...A7,`device-command`,...jGe],F7=[...Y5(`device-events`),...Y5(`system`)],MGe=[{name:`summaryDevices`,label:`Summary: devices offline / switched off`,example:`Garage — offline since 07:12`,kinds:[`device-offline`,`device-online`,`device-disabled`,`device-enabled`]},{name:`summaryStreams`,label:`Summary: streams offline`,example:`Front door (high) — since 06:40`,kinds:[`stream-offline`,`stream-online`]},{name:`summaryBattery`,label:`Summary: low batteries`,example:`Sensore porta — 8 %`,kinds:D7},{name:`summaryConsumables`,label:`Summary: consumables`,example:`Robot — filter 10 %`,kinds:O7},{name:`summaryDetection`,label:`Summary: cameras detecting nothing`,example:`Front door — since 05:10`,kinds:[`detection-blind`]},{name:`summaryNodes`,label:`Summary: nodes`,example:`agent-a — offline since 03:00`,kinds:[`node-offline`,`node-online`,`node-restarting`,`node-inference-unavailable`]},{name:`summaryAddons`,label:`Summary: addons stopped`,example:`hub — recorder stopped after repeated crashes`,kinds:[`addon-crash-loop`]},{name:`summaryAddonUpdates`,label:`Summary: addon updates`,example:`hub:
|
|
1115
|
-
• @camstack/addon-recorder 1.2.3 → 1.2.4`,kinds:[`addon-update-available`,`addon-updated`]},{name:`summaryUpdates`,label:`Summary: server & container updates`,example:`server 1.2.377 → 1.2.378`,kinds:[`server-update-available`,`node-updating`,`server-updated`,`wrapper-update-available`]}],NGe=[{name:`summaryText`,label:`Summary: every section`,description:`One block per section with something to report, one line per item.`,example:`Batterie scariche: Sensore porta — 8 %`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...F7],systemEventDeliveries:[`summary`]},{name:`summaryCount`,label:`Summary: items reported`,example:`3`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...F7],systemEventDeliveries:[`summary`]},{name:`summarySection`,label:`Summary: this section`,description:`The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.`,example:`Batterie scariche`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...F7],systemEventDeliveries:[`summary`]},...MGe.map(e=>({name:e.name,label:e.label,example:e.example,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...e.kinds],systemEventDeliveries:[`summary`]}))],I7=[{name:`device`,label:`Device`,description:`The device the event is about: the camera for a track, the appliance or sensor for a device event.`,example:`Front door`,group:`subject`,families:[`rule`,`timelapse`],systemEventKinds:[...P7,`export-completed`]},{name:`class`,label:`Detected class`,description:`The wire class id (e.g. "person", "cat"); the counted class on an occupancy row.`,example:`person`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`sensor`,`sound`,`occupancy`,`system`],systemEventKinds:[...N7]},{name:`classLabel`,label:`Detected class (translated)`,description:`Human label of {{class}} in the notification language (EVENT_KIND_LABELS); falls back to the raw id.`,example:`Persona`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`sensor`,`sound`,`occupancy`,`system`],systemEventKinds:[...N7]},{name:`label`,label:`Name or plate`,description:`Recognised person or read plate; empty otherwise.`,example:`Mario`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`system`],systemEventKinds:[...N7]},{name:`subject`,label:`Subject sentence`,description:`Composed in the notification language, e.g. "person (Mario)".`,example:`persona (Mario)`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`sensor`,`sound`,`occupancy`]},{name:`confidence`,label:`Confidence`,example:`87%`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`system`],systemEventKinds:[...N7]},{name:`count`,label:`Count`,description:`Occupancy count, subjects in a grouped notification, or the event count of a system notice.`,example:`3`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[`addon-crash-loop`,...M7,`addon-updated`]},{name:`detectionSummary`,label:`Detection summary`,description:`Class composition, e.g. "2 persons and 1 car".`,example:`2 persone e 1 auto`,group:`subject`,families:[`rule`,`timelapse`,`summary`],fields:[...$],kinds:[`detection`]},{name:`zones`,label:`Zones`,example:`Cancello, Vialetto`,group:`place`,families:[`rule`],fields:[...$],kinds:[`detection`,`system`],systemEventKinds:[...N7]},{name:`zone`,label:`Zone`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...$],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[...N7]},{name:`inZones`,label:`"in <zones>" fragment`,description:`Leading space included; empty when no zone.`,example:` in Cancello`,group:`place`,families:[`rule`],fields:[...$],kinds:[`detection`,`system`],systemEventKinds:[...N7]},{name:`scope`,label:`Occupancy scope`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...$],kinds:[`occupancy`]},{name:`time`,label:`Time`,description:`Hours and minutes, in the notification language.`,example:`20:05`,group:`time`,families:[`rule`,`timelapse`,`summary`],fields:[...$]},{name:`rule`,label:`Rule name`,example:`Front door notte`,group:`rule`,families:[`rule`,`timelapse`,`summary`]},{name:`from`,label:`Window start`,example:`07:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`to`,label:`Window end`,example:`08:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`capacity`,label:`Capacity`,example:`2`,group:`occupancy`,families:[`rule`],fields:[...$],kinds:[`occupancy`]},{name:`op`,label:`Occupied / free`,example:`occupata`,group:`occupancy`,families:[`rule`],fields:[...$],kinds:[`occupancy`]},{name:`sounds`,label:`Sounds heard`,example:`abbaio, clacson`,group:`sound`,families:[`rule`],fields:[...$],kinds:[`sound`]},{name:`hitPercent`,label:`Share of the window`,description:`Level mode only: percentage of samples above the threshold.`,example:`42`,group:`sound`,families:[`rule`],fields:[...$],kinds:[`sound`]},{name:`db`,label:`Peak level (dBFS)`,example:`-18`,group:`sound`,families:[`rule`],fields:[...$],kinds:[`sound`]},{name:`eventType`,label:`Event type`,description:`Raw device event token, e.g. "press" or "open"; empty when the device sends none.`,example:`press`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`sensor`,label:`Sensor`,description:`The name of the sensor the event is about (the contact, the doorbell); empty when the event is not a sensor event.`,example:`Porta ingresso`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`duration`,label:`Cycle duration`,description:`How long a finished appliance cycle ran, e.g. "52 minutes" or "1 h 12 min"; empty when the start is unknown.`,example:`52 minuti`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`energy`,label:`Cycle energy`,description:`Energy an appliance used over its finished cycle, e.g. "0.84 kWh"; empty without a power meter.`,example:`0,84 kWh`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`afterDuration`,label:`"after <duration>" fragment`,description:`Leading space included; empty when the cycle duration is unknown.`,example:` dopo 52 minuti`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`usedEnergy`,label:`"used <energy>" fragment`,description:`Leading space included; empty when the energy is unknown.`,example:` e ha consumato 0,84 kWh`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`ai`,label:`AI sentence`,description:`Where the AI description goes; appended on its own line when absent.`,example:`Una persona lascia un pacco.`,group:`ai`,families:[`rule`,`summary`],fields:[...AGe],kinds:[`detection`,`occupancy`]},{name:`eventKind`,label:`Event kind`,example:`device-offline`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventDeliveries:[`instant`]},{name:`deviceName`,label:`Device`,example:`Front door`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...P7]},{name:`actionLabel`,label:`Command`,example:`Force restart`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`device-command`]},{name:`actorLabel`,label:`Who asked`,example:`velux`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`device-command`]},{name:`deviceLabel`,label:`Device with type`,description:`The device name with its type in parentheses. {{deviceName}} stays the bare name.`,example:`Front door (Camera)`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...P7]},{name:`locations`,label:`Intrusion locations`,example:`Front door, Hallway, Hall`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...N7]},{name:`changes`,label:`Intrusion changes`,example:`Laundry lock unlocked, Back door open`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...N7]},{name:`deviceId`,label:`Device id`,example:`102`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...P7,`export-completed`]},{name:`percentage`,label:`Percentage`,example:`15`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...D7,...O7]},{name:`item`,label:`Consumable`,description:`The device's own name for the item: a filter, a brush, the salt, a tank.`,example:`Filtro`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...O7]},{name:`profile`,label:`Stream profile`,example:`high`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`stream-online`,`stream-offline`]},{name:`node`,label:`Node`,example:`hub`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-restarting`,`node-updating`,`node-inference-unavailable`,`addon-crash-loop`,...j7,`addon-updated`,`server-updated`,`storage-location-low`,`storage-location-critical`,`storage-location-ok`,...k7]},{name:`nodeId`,label:`Node id`,example:`hub`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-restarting`,`node-updating`,`node-inference-unavailable`,`addon-crash-loop`,...j7,`server-updated`,`storage-location-low`,`storage-location-critical`,`storage-location-ok`,...k7]},{name:`nodeName`,label:`Node name`,example:`agent-a`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`]},{name:`offlineFor`,label:`Offline for`,example:`44 min`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-online`]},{name:`devices`,label:`Devices`,description:`node-inference-unavailable: the affected cameras, comma-joined. Alarm arm / arming / refusal: HOW MANY devices are armed (or open).`,example:`Front door, Garage`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-inference-unavailable`,`alarm-armed`,`alarm-arming`,`alarm-arm-refused`]},{name:`addons`,label:`Addons`,example:`stream-broker`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`addon-crash-loop`]},{name:`cause`,label:`Cause`,example:`Cannot find module`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`addon-crash-loop`]},{name:`minutes`,label:`Minutes`,example:`12`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`detection-blind`,`motion-noisy`,`motion-calm`,`recording-stalled`]},{name:`duty`,label:`Motion share (%)`,example:`55`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`motion-noisy`,`motion-calm`]},{name:`sessions`,label:`Detection sessions`,example:`96`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`detection-blind`,`motion-noisy`,`motion-calm`]},{name:`message`,label:`Detail`,example:`writer restart budget exhausted`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`recording-degraded`,...A7,...k7,`package-llm-silent`]},{name:`ruleName`,label:`Rule name`,example:`Robot`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`rule-broken`,`rule-repaired`]},{name:`ruleId`,label:`Rule id`,example:`3db3e226-9b82-4681-a200-de13b260aa48`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`rule-broken`,`rule-repaired`]},{name:`brokenReason`,label:`Why the rule is broken`,description:`unparseable, device-deleted or target-deleted`,example:`device-deleted`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`rule-broken`]},{name:`offendingIds`,label:`Deleted devices or destinations`,example:`4483`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`rule-broken`]},{name:`locationName`,label:`Storage location`,example:`Recordings`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`storage-location-low`,`storage-location-critical`,`storage-location-ok`]},{name:`locationId`,label:`Storage location id`,example:`recordings:default`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`storage-location-low`,`storage-location-critical`,`storage-location-ok`]},{name:`freePercent`,label:`Free space (%)`,example:`12`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`storage-location-low`]},{name:`reason`,label:`Reason`,example:`capacity-unreadable`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`storage-location-low`,`storage-location-critical`,`storage-location-ok`,`package-llm-silent`]},{name:`package`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...j7,`addon-updated`,`node-updating`,`server-updated`]},{name:`packageName`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...M7,`node-updating`,`server-updated`]},{name:`nodes`,label:`Nodes`,description:"Comma-joined node ids, when an update spans more than one — the single-node case names it through {{nodeId}} instead. `incomingFromUpdateAvailable` (event-intake.ts) fills `nodes` from ONE shared textParams object for both addon- and server-update-available, exactly like packageName/currentVersion/latestVersion/count — only the shipped TEXT (system.server-update-available.body.onNodes) reads it today, but the var is real on both kinds.",example:`hub, agent-a`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...M7]},{name:`currentVersion`,label:`Current version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...j7]},{name:`latestVersion`,label:`Latest version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...j7]},{name:`list`,label:`Updated packages`,description:"One line per package. `incomingFromUpdateAvailable` fills it for addon-/server-update-available too (the SAME shared textParams object as `nodes`) — `system.addon-update-available.body` reads it; `incomingFromAddonUpdates` fills it again, independently, for the completed `addon-updated` event.",example:`recorder, notifiers`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...M7,`addon-updated`]},{name:`fromVersion`,label:`From version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-updating`,`server-updated`]},{name:`toVersion`,label:`To version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-updating`,`server-updated`]},{name:`destinationsOk`,label:`Destinations ok`,example:`2`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsTotal`,label:`Destinations`,example:`2`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsFailed`,label:`Destinations failed`,example:`0`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`sizeMB`,label:`Size (MB)`,example:`412`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`backupId`,label:`Backup id`,example:`bk-20260924`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`title`,label:`Export or alert title`,example:`Front door 08:00`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`export-completed`,...A7,...k7]},{name:`severity`,label:`Alert severity`,example:`critical`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...k7]},{name:`category`,label:`Alert category`,example:`addon.runner-failed`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...A7,...k7]},{name:`source`,label:`Alert source (addon, node or runner)`,example:`recorder`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...k7]},{name:`actionUrl`,label:`Alert action link`,example:`/system/addons`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...A7,...k7]},{name:`exportId`,label:`Export id`,example:`exp-20260924`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`bytes`,label:`Export size (bytes)`,example:`10485760`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`mode`,label:`Alarm mode`,example:`away`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`,`alarm-pending`,`alarm-rearmed`,`alarm-check-failed`]},{name:`seconds`,label:`Seconds`,description:`Arming: the exit delay left. Pending: the entry delay left to disarm.`,example:`30`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-arming`,`alarm-pending`]},{name:`rules`,label:`Covering rules`,description:`How many enabled rules the armed / arming mode gates.`,example:`2`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`names`,label:`Device names`,description:`Armed / arming: the Active devices (or every skipped name when none are Active). Refusal: the open sensors.`,example:`Front door, Garage`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`]},{name:`skippedNames`,label:`Skipped devices`,description:`Devices the mode names but cannot arm (muted, detection off, offline).`,example:`Garage`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`active`,label:`Active count`,description:`How many named devices the armed / arming mode is watching (title: n attivi / n active).`,example:`3`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`skipped`,label:`Skipped count`,description:`How many named devices the mode cannot arm — muted, detection off, offline, or Arm-anyway exclusions (title: m saltati).`,example:`1`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`bypassedNames`,label:`Bypassed sensors`,description:`Sensors the operator armed around because they were open.`,example:`Finestra porch`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`coverage`,label:`Coverage %`,example:`96`,group:`digest`,families:[`timelapse`],fields:[...$]},{name:`events`,label:`Events`,example:`4`,group:`digest`,families:[`timelapse`,`summary`],fields:[...$]},{name:`detections`,label:`Detections`,example:`7`,group:`digest`,families:[`timelapse`,`summary`],fields:[...$]},{name:`count_person`,label:`Count of one class`,description:`count_<class>, e.g. count_person, count_car.`,example:`3`,group:`digest`,families:[`timelapse`,`summary`],fields:[...$],dynamic:{prefix:`count_`,from:`classes`}},{name:`cameras`,label:`Cameras`,example:`3`,group:`digest`,families:[`summary`],fields:[...$]},{name:`matched`,label:`Matched events`,example:`12`,group:`digest`,families:[`summary`],fields:[...$]},{name:`shown`,label:`Events shown`,example:`9`,group:`digest`,families:[`summary`],fields:[...$]},{name:`total`,label:`Events total`,example:`12`,group:`digest`,families:[`summary`],fields:[...$]},...NGe],PGe=[`alert-critical`,`alert-error`,`alert-critical-resolved`,`device-attention-required`,`device-attention-resolved`,`rule-broken`,`rule-repaired`,`package-llm-silent`,`package-llm-answered`,`device-command`];function FGe(){return I7.filter(e=>!IGe(e)).map(e=>e.systemEventKinds===void 0?e:{...e,systemEventKinds:e.systemEventKinds.filter(e=>!PGe.includes(e))})}function IGe(e){return e.systemEventDeliveries!==void 0&&!e.systemEventDeliveries.includes(`instant`)}function LGe(e,t){if(!Z5(t.kind))return!0;let n=t.systemEventDelivery??`instant`;return(e.systemEventDeliveries??(e.systemEventKinds===void 0?[n]:[`instant`])).includes(n)}var RGe={previewText:[`device`,`rule`,`from`,`to`],captionText:[`rule`,`from`,`to`]};function zGe(e,t){return e===void 0||t===void 0||e.includes(t)}function BGe(e,t){return e===void 0||t===void 0||e.some(e=>e===t)?!0:Z5(t)&&e.includes(`system`)}function VGe(e,t){if(!Z5(t.kind)||e.systemEventKinds===void 0)return!0;let n=e.systemEventKinds,r=t.systemEventKinds??[];if(r.length>0)return r.some(e=>n.includes(e));let i=t.kind===void 0?void 0:xUe(t.kind);if(i===void 0)return!0;let a=Y5(i);return n.some(e=>a.includes(e))}function HGe(e){if(e.field===`previewText`||e.field===`captionText`){let t=RGe[e.field];return I7.filter(n=>n.families.includes(e.family)&&t.includes(n.name)&&n.dynamic===void 0)}return I7.filter(t=>t.families.includes(e.family)&&zGe(t.fields,e.field)&&BGe(t.kinds,e.kind)&&zGe(t.deliveries,e.delivery)&&VGe(t,e)&&LGe(t,e))}function UGe(e,t){return HGe(t).some(t=>t.dynamic===void 0?t.name===e:e.startsWith(t.dynamic.prefix)&&e.length>t.dynamic.prefix.length)}function L7(e){let t=e.systemEventDelivery;return t===void 0||t.mode===`instant`?{activation:!0,deactivation:!0,schedule:null}:t.mode===`summary`?{activation:!1,deactivation:!1,schedule:{schedule:t.schedule,grouping:t.split??`rule`}}:{activation:t.onActivation,deactivation:t.onDeactivation,schedule:t.onSchedule??null}}var R7=[{id:`device-connectivity`,family:`device-events`,label:`Device connectivity (offline / back online)`,bad:[`device-offline`],recovery:[`device-online`],snapshotLabel:`Devices offline now`,snapshotSection:`device-state`},{id:`device-switch`,family:`device-events`,label:`Device switched off / back on`,bad:[`device-disabled`],recovery:[`device-enabled`],snapshotLabel:`Devices switched off now`,snapshotSection:`device-state`},{id:`stream-connectivity`,family:`device-events`,label:`Stream connectivity (offline / back online)`,bad:[`stream-offline`],recovery:[`stream-online`],snapshotLabel:`Streams offline now`,snapshotSection:`streams`},{id:`battery`,family:`device-events`,label:`Battery (low / back to normal)`,bad:[`device-battery-low`],recovery:[`device-battery-normal`],snapshotLabel:`Batteries low now`,snapshotSection:`battery`},{id:`consumables`,family:`device-events`,label:`Consumables (low / replaced)`,bad:[`device-consumable-low`],recovery:[`device-consumable-normal`],snapshotLabel:`Consumables low now`,snapshotSection:`consumables`},{id:`motion-noise`,family:`device-events`,label:`Motion without a subject (constant / calm again)`,bad:[`motion-noisy`],recovery:[`motion-calm`],snapshotLabel:`Cameras with constant motion now`,snapshotSection:null},{id:`package-llm-confirm`,family:`device-events`,label:`Package confirm (not answering / answering again)`,bad:[`package-llm-silent`],recovery:[`package-llm-answered`],snapshotLabel:`Cameras whose package confirm is not answering`,snapshotSection:null},{id:`recording-health`,family:`device-events`,label:`Recording health (stalled or degraded / recording again)`,bad:[`recording-stalled`,`recording-degraded`],recovery:[`recording-healthy`],snapshotLabel:`Recordings stalled now`,snapshotSection:null},{id:`device-attention`,family:`device-events`,label:`Device needs attention (raised / resolved)`,bad:[`device-attention-required`],recovery:[`device-attention-resolved`],snapshotLabel:`Devices needing attention now`,snapshotSection:null},{id:`node-connectivity`,family:`system`,label:`Node connectivity (offline / back online)`,bad:[`node-offline`],recovery:[`node-online`],snapshotLabel:`Nodes offline now`,snapshotSection:`nodes`},{id:`storage-space`,family:`system`,label:`Storage space (low or critical / ok again)`,bad:[`storage-location-low`,`storage-location-critical`],recovery:[`storage-location-ok`],snapshotLabel:`Storage locations low now`,snapshotSection:null},{id:`critical-alerts`,family:`system`,label:`Critical alerts (raised / resolved)`,bad:[`alert-critical`],recovery:[`alert-critical-resolved`],snapshotLabel:`Critical alerts open now`,snapshotSection:null},{id:`rule-health`,family:`system`,label:`Rule health (broken / repaired)`,bad:[`rule-broken`],recovery:[`rule-repaired`],snapshotLabel:`Notification rules broken now`,snapshotSection:null}],WGe=new Map(R7.flatMap(e=>[...e.bad,...e.recovery].map(t=>[t,e])));function GGe(e){return[...e.bad,...e.recovery]}function z7(e){return WGe.get(e)}function B7(e){return z7(e)?.recovery.some(t=>t===e)??!1}function KGe(e){return R7.filter(t=>t.family===e)}function V7(e){let t=[],n=new Set,r=e=>{n.has(e)||(n.add(e),t.push(e))},i=new Set(e);for(let t of e){r(t);let e=z7(t);if(e===void 0)continue;let n=e.bad.some(e=>i.has(e));if(e.bad.some(e=>e===t))for(let t of e.recovery)r(t);else if(!n)for(let t of e.bad)r(t)}return t}function qGe(e){if(e.delivery!==`system-event`)return!1;let t=L7(e);return t.activation||t.deactivation}function JGe(e){let t=L7(e),n=new Set;for(let r of e.conditions.systemEvent?.kinds??[]){let e=B7(r);if(t.activation&&!e&&n.add(r),t.deactivation)if(e)n.add(r);else for(let e of z7(r)?.recovery??[])n.add(e)}return n}function YGe(e){let t=e.systemEventDelivery;if(t?.mode===`modes`)return t;let n=L7(e);return n.schedule===null?{mode:`modes`,onActivation:!0,onDeactivation:V7(e.conditions.systemEvent?.kinds??[]).some(B7)}:{mode:`modes`,onActivation:!1,onDeactivation:!1,onSchedule:n.schedule}}function XGe(e){let t=e.conditions.systemEvent;if(e.delivery!==`system-event`||t===void 0||e.systemEventDelivery?.mode===`modes`)return e;let n=new Set(t.kinds.map(e=>J5[e]));if(n.size!==1)return e;let[r]=[...n];return r!==`device-events`&&r!==`system`?e:{...e,systemEventDelivery:YGe(e)}}function ZGe(e){let t=e.conditions.systemEvent;if(t===void 0||!qGe(e)||!L7(e).deactivation)return e;let n=new Set(t.kinds.map(e=>J5[e]));if(n.size!==1||n.has(null))return e;let r=V7(t.kinds);return r.length===t.kinds.length?e:{...e,conditions:{...e.conditions,systemEvent:{...t,kinds:r}}}}var QGe=[`device-events`,`system`];function $Ge(e){return r7(e.delivery)?L7(e).schedule?.schedule??null:null}function eKe(e){return L7(e).schedule?.grouping??`rule`}function tKe(e){return $Ge(e)!==null}function nKe(e){if(!tKe(e))return!1;let t=L7(e);return!t.activation&&!t.deactivation}function rKe(e){return e===void 0?!1:(e.onActivation?.length??0)>0||(e.onDeactivation?.length??0)>0||(e.onTrigger?.length??0)>0||(e.onTriggerOff?.length??0)>0||(e.buttons?.length??0)>0}function iKe(e){let t=e.systemEventDelivery;if(t===void 0||t.mode===`instant`)return[];if(!r7(e.delivery))return[{code:`not-a-system-rule`,delivery:e.delivery}];let n=[],r=L7(e),i=e.conditions.systemEvent?.kinds??[];if(!r.activation&&!r.deactivation&&r.schedule===null&&n.push({code:`no-mode`}),!r.activation&&r.deactivation&&r.schedule===null&&!i.some(e=>z7(e)!==void 0)&&n.push({code:`no-instant-kind`}),r.schedule===null)return n;let a=X5(i),o=a.kind===`family`?a.family:`mixed`;(o===`mixed`||!QGe.includes(o))&&n.push({code:`family-not-summarisable`,family:o});let s=r.schedule.schedule.windows;return s.length===0&&n.push({code:`empty-schedule`}),s.forEach((e,t)=>{(e.days.length===0||e.startMinute===e.endMinute)&&n.push({code:`degenerate-window`,index:t})}),!r.activation&&!r.deactivation&&(e.schedule!==void 0&&n.push({code:`schedule-beside-summary`}),rKe(e.actions)&&n.push({code:`actions-beside-summary`})),n}function aKe(e){switch(e.code){case`not-a-system-rule`:return`a '${e.delivery}' rule has no summary delivery — only device-events and system rules do`;case`family-not-summarisable`:return e.family===`alarm`?`an alarm rule cannot be a scheduled summary — the alarm stays instant`:`a ${e.family} rule cannot be a scheduled summary — only device-events and system rules`;case`degenerate-window`:return`send time ${String(e.index+1)} has no day, or starts and ends on the same minute — it never closes, so nothing would be sent`;case`empty-schedule`:return`a summary rule needs at least one send time — its schedule has no window`;case`schedule-beside-summary`:return`a schedule-only rule is sent on its summary schedule — remove the active-hours schedule`;case`actions-beside-summary`:return`a schedule-only rule never matches an event, so its actions would never run — remove them`;case`no-mode`:return`choose when the rule speaks: when it starts, when it clears, or on a schedule`;case`no-instant-kind`:return`none of the selected events ever clears — choose "when it starts" or "on a schedule"`}}var H7=1440;function oKe(e,t){return{windows:e.map(e=>{let t=(e.minute+H7-1)%H7;return{days:(e.minute===0?e.days.map(e=>(e+6)%7):[...e.days]).toSorted((e,t)=>e-t),startMinute:t,endMinute:e.minute}}),...t===void 0?{}:{timezone:t}}}function sKe(e){if(e.invert===!0)return null;let t=[];for(let n of e.windows){if((n.endMinute-n.startMinute+H7)%H7!==1)return null;let e=n.endMinute===0?n.days.map(e=>(e+1)%7):n.days;t.push({days:e.toSorted((e,t)=>e-t),minute:n.endMinute})}return t}function cKe(e){let t=sKe(e);if(t!==null)return{times:t,approximated:!1};if(e.invert===!0)return null;let n=[];for(let t of e.windows){let e=t.endMinute===0?t.days.map(e=>(e+1)%7):t.days;n.push({days:e.toSorted((e,t)=>e-t),minute:t.endMinute})}return{times:n,approximated:n.length>0}}var lKe=/\{\{\s*summary(?:Text|Devices|Streams|Battery|Consumables|Tanks|Detection|Nodes|Addons|AddonUpdates|Updates)\s*\}\}/;function uKe(e){return e===void 0||e.trim().length===0?!0:lKe.test(e)}function dKe(e){return e.map(e=>({id:e.id,name:e.name,type:e.isHub?`hub`:`agent`,location:e.isOnline?`online`:`offline`,...e.name===e.id?{}:{detail:e.id}}))}var fKe=`@camstack/server`,U7=[fKe,`camstack-wrapper`],pKe={"@camstack/server":`server`,"camstack-wrapper":`wrapper`};function mKe(e){return U7.some(t=>t===e)}function hKe(e){let t=new Map(e.map(e=>[e.name,e.version])),n=U7.map(e=>{let n=t.get(e);return{id:e,name:e,type:pKe[e],location:null,...n===void 0?{}:{detail:n}}}),r=e.filter(e=>!mKe(e.name)).map(e=>({id:e.name,name:e.name,type:`addon`,location:null,detail:e.version})).sort((e,t)=>e.name.localeCompare(t.name));return[...n,...r]}function gKe(e){let t=e.replace(/[_-]+/g,` `).replace(/\s+/g,` `).trim();return t.charAt(0).toUpperCase()+t.slice(1)}var _Ke=`disarmed.armed_home.armed_away.armed_night.armed_vacation.armed_custom_bypass.arming.disarming.pending.triggered.open.opening.closing.closed.stopped.locked.unlocked.locking.unlocking.jammed.door-open.on.off.home.not_home.matched.diverged.unknown.latched.live`.split(`.`),vKe={disarmed:{en:`Disarmed`,it:`Disinserito`},armed_home:{en:`Armed (home)`,it:`Inserito (in casa)`},armed_away:{en:`Armed (away)`,it:`Inserito (fuori casa)`},armed_night:{en:`Armed (night)`,it:`Inserito (notte)`},armed_vacation:{en:`Armed (vacation)`,it:`Inserito (vacanza)`},armed_custom_bypass:{en:`Armed (custom)`,it:`Inserito (personalizzato)`},arming:{en:`Arming`,it:`In inserimento`},disarming:{en:`Disarming`,it:`In disinserimento`},pending:{en:`Pending (entry delay)`,it:`In attesa (ritardo ingresso)`},triggered:{en:`Triggered`,it:`In allarme`},open:{en:`Open`,it:`Aperto`},opening:{en:`Opening`,it:`In apertura`},closing:{en:`Closing`,it:`In chiusura`},closed:{en:`Closed`,it:`Chiuso`},stopped:{en:`Stopped`,it:`Fermo`},locked:{en:`Locked`,it:`Bloccata`},unlocked:{en:`Unlocked`,it:`Sbloccata`},locking:{en:`Locking`,it:`In blocco`},unlocking:{en:`Unlocking`,it:`In sblocco`},jammed:{en:`Jammed`,it:`Inceppata`},"door-open":{en:`Door open`,it:`Porta aperta`},on:{en:`On`,it:`Acceso`},off:{en:`Off`,it:`Spento`},home:{en:`Home`,it:`In casa`},not_home:{en:`Away`,it:`Fuori casa`},matched:{en:`Matched (as captured)`,it:`Corrisponde (come acquisita)`},diverged:{en:`Diverged (changed)`,it:`Diversa (cambiata)`},unknown:{en:`Cannot judge`,it:`Non valutabile`},latched:{en:`Latched`,it:`Memorizzato`},live:{en:`Live`,it:`In tempo reale`}},yKe=new Set(_Ke);function bKe(e){return yKe.has(e)}function xKe(e,t){return bKe(e)?vKe[e][t]:gKe(e)}var SKe=`motion.audio.person.vehicle.animal.package.sensor.control.car.truck.bus.motorcycle.bicycle.airplane.boat.train.bird.cat.dog.horse.sheep.cow.elephant.bear.zebra.giraffe.package-delivered.package-picked-up.contact.motion-sensor.smoke.flood.gas.carbon-monoxide.vibration.tamper.presence.enum-sensor.device-event.lock.cover.switch.siren.button.doorbell.appliance-cycle.audio-speech.audio-scream.audio-crying.audio-laughter.audio-music.audio-dog.audio-cat.audio-bird.audio-animal.audio-alarm.audio-doorbell.audio-glass_breaking.audio-gunshot.audio-vehicle.audio-siren.audio-fire.audio-water.audio-wind.audio-door.audio-footsteps.audio-crowd.audio-telephone.audio-engine.audio-tools.audio-silence`.split(`.`),CKe={motion:{en:`Motion`,it:`Movimento`},audio:{en:`Audio`,it:`Audio`},person:{en:`Person`,it:`Persona`},vehicle:{en:`Vehicle`,it:`Veicolo`},animal:{en:`Animal`,it:`Animale`},package:{en:`Package`,it:`Pacco`},sensor:{en:`Sensor`,it:`Sensore`},control:{en:`Control`,it:`Controllo`},car:{en:`Car`,it:`Auto`},truck:{en:`Truck`,it:`Camion`},bus:{en:`Bus`,it:`Autobus`},motorcycle:{en:`Motorcycle`,it:`Motocicletta`},bicycle:{en:`Bicycle`,it:`Bicicletta`},airplane:{en:`Airplane`,it:`Aereo`},boat:{en:`Boat`,it:`Barca`},train:{en:`Train`,it:`Treno`},bird:{en:`Bird`,it:`Uccello`},cat:{en:`Cat`,it:`Gatto`},dog:{en:`Dog`,it:`Cane`},horse:{en:`Horse`,it:`Cavallo`},sheep:{en:`Sheep`,it:`Pecora`},cow:{en:`Cow`,it:`Mucca`},elephant:{en:`Elephant`,it:`Elefante`},bear:{en:`Bear`,it:`Orso`},zebra:{en:`Zebra`,it:`Zebra`},giraffe:{en:`Giraffe`,it:`Giraffa`},"package-delivered":{en:`Package delivered`,it:`Pacco consegnato`},"package-picked-up":{en:`Package picked up`,it:`Pacco ritirato`},contact:{en:`Contact`,it:`Contatto`},"motion-sensor":{en:`Motion sensor`,it:`Sensore movimento`},smoke:{en:`Smoke`,it:`Fumo`},flood:{en:`Water leak`,it:`Allagamento`},gas:{en:`Gas`,it:`Gas`},"carbon-monoxide":{en:`Carbon monoxide`,it:`Monossido di carbonio`},vibration:{en:`Vibration`,it:`Vibrazione`},tamper:{en:`Tamper`,it:`Manomissione`},presence:{en:`Presence`,it:`Presenza`},"enum-sensor":{en:`Sensor state`,it:`Stato sensore`},"device-event":{en:`Device event`,it:`Evento dispositivo`},lock:{en:`Lock`,it:`Serratura`},cover:{en:`Cover`,it:`Tapparella`},switch:{en:`Switch`,it:`Interruttore`},siren:{en:`Siren`,it:`Sirena`},button:{en:`Button`,it:`Pulsante`},doorbell:{en:`Doorbell`,it:`Campanello`},"appliance-cycle":{en:`Appliance cycle`,it:`Ciclo elettrodomestico`},"audio-speech":{en:`Speech`,it:`Voce`},"audio-scream":{en:`Scream / Shout`,it:`Urlo`},"audio-crying":{en:`Crying / Baby`,it:`Pianto / Neonato`},"audio-laughter":{en:`Laughter`,it:`Risata`},"audio-music":{en:`Music`,it:`Musica`},"audio-dog":{en:`Dog`,it:`Cane`},"audio-cat":{en:`Cat`,it:`Gatto`},"audio-bird":{en:`Bird`,it:`Uccello`},"audio-animal":{en:`Animal (other)`,it:`Animale (altro)`},"audio-alarm":{en:`Alarm / Siren`,it:`Allarme`},"audio-doorbell":{en:`Doorbell / Knock`,it:`Campanello`},"audio-glass_breaking":{en:`Glass Breaking`,it:`Vetro rotto`},"audio-gunshot":{en:`Gunshot / Explosion`,it:`Sparo / Esplosione`},"audio-vehicle":{en:`Vehicle`,it:`Veicolo`},"audio-siren":{en:`Emergency Siren`,it:`Sirena`},"audio-fire":{en:`Fire / Smoke`,it:`Fuoco / Fumo`},"audio-water":{en:`Water`,it:`Acqua`},"audio-wind":{en:`Wind / Weather`,it:`Vento / Maltempo`},"audio-door":{en:`Door`,it:`Porta`},"audio-footsteps":{en:`Footsteps`,it:`Passi`},"audio-crowd":{en:`Crowd / Chatter`,it:`Folla / Chiacchiericcio`},"audio-telephone":{en:`Telephone`,it:`Telefono`},"audio-engine":{en:`Engine / Motor`,it:`Motore`},"audio-tools":{en:`Tools / Construction`,it:`Utensili / Lavori`},"audio-silence":{en:`Silence`,it:`Silenzio`}},wKe=new Set(SKe);function TKe(e){return wKe.has(e)}function EKe(e,t){let n=e.trim().toLowerCase();return TKe(n)?CKe[n][t]:gKe(e)}var DKe=og,OKe=DKe.options,kKe=`en`,AKe=u(p().min(1),p());function jKe(e,t){return t===void 0?e:e.replace(/\{(\w+)\}/g,(e,n)=>{let r=t[n];return r===void 0?e:String(r)})}function MKe(e){let t=e.indexOf(`:`);return t<=0||t===e.length-1?null:{ns:e.slice(0,t),key:e.slice(t+1)}}function NKe(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var PKe=[{keyField:`labelKey`,textField:`label`},{keyField:`descriptionKey`,textField:`description`},{keyField:`titleKey`,textField:`title`}];function W7(e,t){if(Array.isArray(e)){let n=!1,r=e.map(e=>{let r=W7(e,t);return r!==e&&(n=!0),r});return n?r:e}if(!NKe(e))return e;let n={};for(let[r,i]of Object.entries(e)){let e=W7(i,t);e!==i&&(n[r]=e)}for(let{keyField:r,textField:i}of PKe){let a=e[r];if(typeof a!=`string`)continue;let o=MKe(a),s=o===null?void 0:t(o.ns,o.key);s!==void 0&&(n[i]=s)}return Object.keys(n).length===0?e:{...e,...n}}var G7=b({title:p().max(500).optional(),body:p().max(2e3).optional()}),FKe=p().min(1).max(200),IKe=S(f()).min(1),LKe=f().int().min(2).max(3600),RKe=f().int().min(1).max(60),zKe=S(PG).min(1),BKe=f().int().min(1).max(5),VKe=.1,HKe=f().min(VKe).max(3600),UKe=f().min(0).max(60),WKe=p().max(200),GKe=x([`image`,`gif`]),KKe=S(p().min(1).max(40)).max(20),qKe=b({name:FKe,enabled:v().default(!0),deviceIds:IKe,schedule:_G,cadenceSec:LKe.default(15),framerate:RKe.default(10),denseCadenceSec:HKe.optional(),minDwellSec:UKe.optional(),targets:zKe,template:G7.optional(),previewText:WKe.optional(),previewMode:GKe.default(`image`),reportClasses:KKe.optional(),priority:BKe.default(3),targetOverrides:LG.optional()}),JKe=`Timelapse {{device}}`,YKe=b({name:FKe.optional(),enabled:v().optional(),deviceIds:IKe.optional(),schedule:_G.optional(),cadenceSec:LKe.optional(),framerate:RKe.optional(),denseCadenceSec:HKe.optional(),minDwellSec:UKe.optional(),targets:zKe.optional(),template:G7.nullable().optional(),previewText:WKe.optional(),previewMode:GKe.optional(),reportClasses:KKe.optional(),priority:BKe.optional(),targetOverrides:LG.optional()}),XKe=qKe.extend({id:p(),ownerUserId:p().optional(),lastGeneratedAt:f().optional(),generatedByDevice:u(p(),f()).optional(),createdBy:p(),createdAt:f(),updatedAt:f()});function ZKe(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 QKe(e,t){let n=e.generatedByDevice;return n===void 0?e.lastGeneratedAt??0:n[String(t)]??0}function $Ke(e){return e.some(e=>e!==`analyzer`)}async function eqe(e,t){try{return await e.getCapSlice.query({deviceId:t,capName:`motion`})}catch(e){let n=e instanceof Error?e.message:String(e);throw Error(`motion state of device ${t} is unreadable: ${n}`,{cause:e})}}async function tqe(e,t){let n=await eqe(e,t);if(n===null)return null;let r=FU.safeParse(n);if(!r.success)throw Error(`motion state of device ${t} is malformed on the hub: ${r.error.message}`);return r.data}async function nqe(e,t){let n=(await eqe(e,t))?.detected;if(typeof n!=`boolean`)throw Error(`motion state of device ${t} is not published yet (unknown)`);return n}function rqe(e,t,n){let r=e=>{if(e!==t)throw Error(`${n}: motion deviceId mismatch, expected ${t}, got ${e}`)};return{isDetected:async({deviceId:n})=>(r(n),nqe(e,t)),getStatus:async({deviceId:n})=>(r(n),tqe(e,t))}}var iqe=IU.omit({triggeredBy:!0});function aqe(e,t){return ft(C.ProviderMotion,e,t)}function oqe(e,t){return!!e.formats[t]}function sqe(e,t,n){if(t!=null){let r=e.find(e=>e.id===t);if(r!==void 0&&oqe(r,n))return!0}return e.some(e=>e.legacy!==!0&&oqe(e,n))}var cqe={"object-detection":[`efficientdet-lite0-edgetpu`,`ssdlite-mobiledet-coco-edgetpu`],"face-detection":[`scrypted-yolov9t-face`,`scrfd-2.5g`,`ssd-mobilenet-v2-face-edgetpu`],"face-embedding":[`arcface-r100`,`inception-resnet-v1`],"plate-detection":[`yolov8n-plate`],"plate-ocr":[`vgg-english-g2`],"clip-embedding":[`mobileclip-s0`,`mobileclip-s1`,`mobileclip-s2`],"package-detection":[`yolov8n-package`],"bird-classifier":[`bird-classifier-aiy-edgetpu`,`bird-nabirds-404`],"animal-classifier":[`animals-10`],"vehicle-classifier":[`vehicle-type-efficientnet`]};function lqe(e,t){return cqe[e]?.includes(t)??!1}var uqe=`ModelId`;function K7(e){return`${e}${uqe}`}function dqe(e,t){let n=e?.[K7(t)];return typeof n==`string`&&n.length>0?n:void 0}function q7(e,t,n,r,i){let a=e?.[t],o=dqe(e,t);if(a!==void 0&&o===void 0)return{value:a,source:`override`};if(a!==void 0&&o!==void 0&&o===n)return{value:a,source:`override`,boundModelId:o};let s=a!==void 0&&o!==void 0?{inapplicableOverride:{value:a,modelId:o}}:{};return r===void 0?{value:i,source:`global-default`,...s}:{value:r,source:`model-default`,...s}}function fqe(e,t,n){if(e===void 0)return;let r={...e};for(let i of t){let t=dqe(e,i);t!==void 0&&t!==n&&delete r[i],delete r[K7(i)]}return r}function pqe(e,t,n,r){return{...e,[t]:n,[K7(t)]:r}}function mqe(e,t){let n={...e};return delete n[t],delete n[K7(t)],n}function hqe(e,t,n){return t.some(t=>q7(e,t,n,void 0,void 0).source===`override`)}function gqe(e,t,n){return t.reduce((e,t)=>q7(e,t,n,void 0,void 0).source===`override`?mqe(e,t):e,{...e})}function _qe(e){return e.flatMap(e=>e.type===`group`?_qe(e.fields):`key`in e&&`bindsToModel`in e&&e.bindsToModel===!0?[e.key]:[])}var J7=[`camera`,`node`];function Y7(e,t){return t.includes(e)?[e,K7(e)]:[e]}function vqe(e,t){return t.find(t=>K7(t)===e)??e}function X7(e,t){if(Object.is(e,t))return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,n)=>X7(e,t[n]));if(yqe(e)&&yqe(t)){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>X7(e[n],t[n]))}return!1}function yqe(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Z7(...e){return e.reduce((e,t)=>({...e,...t}),{})}function bqe(e,t){return Z7(...J7.slice(J7.indexOf(t)+1).toReversed().map(t=>e[t]))}function xqe(e){return Z7(e.node,e.camera)}function Sqe(e,t,n){let r=Y7(t,n);for(let t of J7){let n=e[t];if(n!==void 0&&r.some(e=>n[e]!==void 0))return t}return`default`}function Cqe(e,t,n,r){let i={...e};for(let e of Y7(t,r))n[e]===void 0?delete i[e]:i[e]=n[e];return i}function wqe(e,t,n){let r={...e};for(let e of Y7(t,n))delete r[e];return r}function Tqe(e,t){return[...new Set(Object.keys(e).map(e=>vqe(e,t)))]}function Eqe(e,t,n,r){return Y7(n,r).every(n=>X7(e[n],t[n]))}function Dqe(e,t,n){if(e===void 0)return;let r={};for(let i of Tqe(e,n))if(!Eqe(e,t,i,n))for(let t of Y7(i,n))e[t]!==void 0&&(r[t]=e[t]);return Object.keys(r).length>0?r:void 0}function Oqe(e,t,n){return e===void 0?[]:Tqe(e,n).filter(r=>Eqe(e,t,r,n)).toSorted()}var kqe=/^Apple M(\d+)(?:\s+(Pro|Max|Ultra))?\b/i,Aqe=/Core\(TM\)\s+Ultra|Core Ultra/i,jqe=/Intel\(R\)\s+N\d{2,3}\b|\bIntel\s+N\d{2,3}\b/i,Mqe=/Ryzen \d+ (7[0-9]40|8[0-9]40|8[0-9]45)[HSU]|Ryzen \d+ 8[0-9]00G/i;function Nqe(e){let t=kqe.exec(e.trim());if(t===null)return null;let n=Number(t[1]),r=(t[2]??`base`).toLowerCase();return{generation:n,variant:r===`pro`||r===`max`||r===`ultra`?r:`base`}}function Pqe(e){let t=e.cpuModel,n=Nqe(t);return n===null?Aqe.test(t)?{hardwareClass:`intel-core-ultra`,cpuModel:t}:jqe.test(t)?{hardwareClass:`intel-n-series`,cpuModel:t}:Mqe.test(t)?{hardwareClass:`amd-phoenix`,cpuModel:t}:{hardwareClass:`unknown`,cpuModel:t}:{hardwareClass:n.variant===`base`?`apple-m-base`:`apple-m-pro`,cpuModel:t,apple:n}}function Q7(e,t){let[n=``,r=``]=e.split(`:`);return n===`edgetpu`?`coral`:n===`coreml`?r===`cpu`?`arm-cpu`:`apple-ane`:n===`openvino`&&r===`npu`?`intel-npu`:n===`openvino`&&r===`gpu`?`intel-igpu`:n===`onnx`&&r===`webgpu`?`amd-igpu`:n===`vitisai`&&r===`npu`?`amd-npu`:n===`cpu`||r===`cpu`?t.arch===`arm64`?`arm-cpu`:`x86-cpu`:null}var Fqe=`yolov9`,Iqe=`yolov9s-320-edgetpu`,Lqe=.02,Rqe=.4,zqe=10,Bqe=10,Vqe={"intel-igpu":1.4};function Hqe(e,t){return!(t>0)||t>=10?1:Vqe[e]??1}function $7(e,t,n,r=1){return!(e>0)||!(n>0)||!(r>0)?0:Math.max(0,Math.floor(e*r*(1-t)/n+1e-9))}function Uqe(e,t){return e.accelerators?.find(e=>e.deviceKey===t)??null}function Wqe(e,t){if(t===void 0||Object.keys(t).length===0)return e;let n={...e};for(let[e,r]of Object.entries(t))n[e]={p50Ms:r.p50Ms,fps:r.fps,measured:!0,source:{kind:`node-benchmark`,resultId:r.resultId,measuredAtMs:r.measuredAtMs}};return n}function Gqe(e,t=3){let n=10**t;return Math.round(e*n)/n}function e9(e,t,n){return e===void 0?0:$7(e.fps,t.headroom,t.cameraFps,Hqe(n,t.cameraFps))}function Kqe(e,t,n){return e9(e.column[t],n,e.accelerator)>=n.minSessions}function qqe(e,t){return Object.keys(oY).filter(e=>e.startsWith(Fqe)).filter(n=>e.every(e=>e.column[n]!==void 0&&(t[n]??[]).includes(e.device.format))).map(e=>({modelId:e,personRecall:oY[e]?.personRecall??0})).toSorted((e,t)=>t.personRecall-e.personRecall||e.modelId.localeCompare(t.modelId))}function t9(e,t){return e.reduce((e,n)=>e+(n.column[t]?.p50Ms??1/0),0)}function n9(e,t,n){return e.reduce((e,r)=>Math.min(e,e9(r.column[t],n,r.accelerator)),1/0)}function Jqe(e,t,n){let r=qqe(e,t);if(r.length===0)return null;let i=r.filter(t=>e.every(e=>Kqe(e,t.modelId,n)));if(i.length===0){let t=r.toSorted((t,r)=>n9(e,r.modelId,n)-n9(e,t.modelId,n)||t9(e,t.modelId)-t9(e,r.modelId))[0];return t===void 0?null:{modelId:t.modelId,reasons:[{kind:`no-fit-lightest`,sessions:n9(e,t.modelId,n),minSessions:n.minSessions}]}}let a=i[0];if(a===void 0)return null;let o=i.filter(e=>a.personRecall-e.personRecall<=.02).toSorted((t,n)=>t9(e,t.modelId)-t9(e,n.modelId)||n.personRecall-t.personRecall)[0]??a,s=[],c=r[0];if(c!==void 0&&c.modelId!==a.modelId){let t=e.find(e=>!Kqe(e,c.modelId,n))?.device.key??``;s.push({kind:`stepped-down`,from:c.modelId,to:a.modelId,limitedBy:t})}return o.modelId!==a.modelId&&s.push({kind:`tie-faster`,over:a.modelId,recallDelta:Gqe(a.personRecall-o.personRecall)}),{modelId:o.modelId,reasons:s}}function r9(e,t,n){let r=e.column[t];if(r===void 0)return null;let i=r.source?.kind===`node-benchmark`?void 0:r.estimatedFrom,a=r.source??(i===void 0?{kind:`table`}:{kind:`estimated`,estimatedFrom:i});return{modelId:t,p50Ms:r.p50Ms,fps:r.fps,measured:r.measured,source:a,...i===void 0?{}:{estimatedFrom:i},capacitySessions:e9(r,n,e.accelerator),personRecall:oY[t]?.personRecall??0}}function i9(e,t){let n=[{kind:`capacity`,sessions:e.capacitySessions,minSessions:t.minSessions}];return e.measured||n.push({kind:`derived-latency`,modelId:e.modelId}),n}function a9(e,t,n){return{nodeId:e.nodeId,reachable:e.reachable,hardwareClass:n,cpuModel:e.hardware?.cpuModel??null,skipped:!0,acceleratorModelId:null,devices:e.devices.map(t=>({deviceKey:t.key,accelerator:e.hardware?Q7(t.key,e.hardware):null,enabled:t.enabled,available:t.available,chosen:null,reasons:[]})),reasons:[t]}}function Yqe(e){let{node:t}=e,n={headroom:e.headroom??.4,cameraFps:e.cameraFps??10,minSessions:e.minSessionsPerDevice??2},r=e.perf??aY;if(!t.reachable)return a9(t,{kind:`node-offline`},null);if(t.hardware===null)return a9(t,{kind:`no-hardware-facts`},null);let i=t.hardware,{hardwareClass:a,cpuModel:o}=Pqe(i),s=e.measured??{},c=Object.values(s).some(e=>Object.keys(e).length>0),l=a===`unknown`?void 0:r[a],u=(i.accelerators??[]).some(e=>{let t=Q7(e.deviceKey,i);return t!==null&&vY(e,t)});if(l===void 0&&!c&&!u)return a9(t,{kind:`no-measured-data`,hardwareClass:a},a);let d=l??{},f=t.devices.toSorted((e,t)=>e.key.localeCompare(t.key)),p=new Map,m=new Map,h=[];for(let e of f){let n=Q7(e.key,i);if(!e.enabled){m.set(e.key,[{kind:`device-disabled`}]);continue}if(!e.available){m.set(e.key,[{kind:`device-unavailable`}]);continue}if(n===`coral`){let r=Wqe(d.coral,s[e.key]),i=t.formatsByModel[`yolov9s-320-edgetpu`]??[];if(r?.[`yolov9s-320-edgetpu`]===void 0||!i.includes(e.format)){m.set(e.key,[{kind:`no-family-build`,format:e.format}]);continue}h.push({device:e,accelerator:n,column:r});continue}let o=n===null?void 0:Wqe(bY({hardwareClass:a,accelerator:n,report:Uqe(i,e.key),perf:r})?.column,s[e.key]);if(n===null||o===void 0){m.set(e.key,[{kind:`no-family-build`,format:e.format}]);continue}p.set(e.key,{device:e,accelerator:n,column:o})}let g=e=>e===`x86-cpu`||e===`arm-cpu`,_=new Map,ee=e=>{let t=e.find(e=>e.device.customPinModelId!==void 0);if(t?.device.customPinModelId===void 0)return null;let n={kind:`kept-custom-pin`,modelId:t.device.customPinModelId,deviceKey:t.device.key};for(let t of e)_.set(t.device.key,[n]);return n},v=[...p.values()].filter(e=>!g(e.accelerator)),te=ee(v),ne=te===null?v:[],re=[...p.values()].filter(e=>g(e.accelerator)).filter(e=>ee([e])===null),ie=new Map,y=new Map,ae=[],oe=null,b=ne.length>0?Jqe(ne,t.formatsByModel,n):null;if(te!==null&&ae.push(te),b!==null){oe=b.modelId,ae.push(...b.reasons);for(let e of ne){let t=r9(e,b.modelId,n);t!==null&&(ie.set(e.device.key,t),y.set(e.device.key,i9(t,n)))}}else for(let e of ne)y.set(e.device.key,[{kind:`no-family-build`,format:e.device.format}]);for(let e of h){let t=r9(e,Iqe,n);t!==null&&(ie.set(e.device.key,t),y.set(e.device.key,i9(t,n)))}for(let e of re){let r=Jqe([e],t.formatsByModel,n),i=r===null?null:r9(e,r.modelId,n);if(r===null||i===null){y.set(e.device.key,[{kind:`no-family-build`,format:e.device.format}]);continue}ie.set(e.device.key,i),y.set(e.device.key,[{kind:`cpu-device`},...r.reasons,...i9(i,n)])}return{nodeId:t.nodeId,reachable:!0,hardwareClass:a,cpuModel:o,skipped:ie.size===0,acceleratorModelId:oe,devices:f.map(e=>({deviceKey:e.key,accelerator:Q7(e.key,i),enabled:e.enabled,available:e.available,chosen:ie.get(e.key)??null,..._.has(e.key)?{kept:`custom-pin`}:{},reasons:m.get(e.key)??_.get(e.key)??y.get(e.key)??[]})),reasons:ae}}var Xqe=1e-9;function Zqe(e,t){let n=t.deficit-e.deficit;return(Math.abs(n)<Xqe?0:n)||t.candidate.share-e.candidate.share||e.candidate.key.localeCompare(t.candidate.key)}function Qqe(e){return e.spare??1/0}function $qe(e){return Math.max(e.running,0)+Math.max(e.recent??0,0)}function eJe(e){let t=e.reduce((e,t)=>e+Math.max(t.share,0),0),n=e.reduce((e,t)=>e+$qe(t),0);return e.map(r=>({candidate:r,deficit:(t>0?Math.max(r.share,0)/t:1/e.length)*(n+1)-$qe(r)})).toSorted(Zqe)}function tJe(e){return e.length===0?{kind:`none`}:nJe(eJe(e))}function nJe(e){let t=e[0].candidate;if(!t.capped&&!t.saturated)return{kind:`elected`,key:t.key,reason:`share`};let n=e.filter(e=>!e.candidate.capped&&!e.candidate.saturated).toSorted((e,t)=>Qqe(t.candidate)-Qqe(e.candidate)||Zqe(e,t)),r=t.capped?`at-cap`:`saturated`;if(n.length>0)return{kind:`elected`,key:n[0].candidate.key,reason:`yield`,turnKey:t.key,yieldReason:r};let i=e.find(e=>!e.candidate.capped);return i===void 0?{kind:`none`}:{kind:`elected`,key:i.candidate.key,reason:`share`}}var rJe=1;function iJe(e){return{key:e.candidate.key,share:e.candidate.share,running:e.candidate.running,recent:e.candidate.recent??0,deficit:e.deficit}}function aJe(e,t,n=1){let r=e.length===0?[]:eJe(e),i=r.length===0?{kind:`none`}:nJe(r),a=i.kind===`elected`?i.key:null,o=(e,n,i)=>({election:e,sticky:n,affinityReason:i,previousKey:t,turnKey:a,scored:r.map(iJe)});if(t===null)return o(i,!1,`no-previous`);if(a===t)return o(i,!0,`previous-is-turn`);let s=r.find(e=>e.candidate.key===t);if(s===void 0)return o(i,!1,`previous-ineligible`);if(s.candidate.capped||s.candidate.saturated)return o(i,!1,`previous-no-room`);let c=r.find(e=>e.candidate.key===a);return c===void 0?o(i,!1,`share-off`):s.deficit>=c.deficit-n-Xqe?o({kind:`elected`,key:t,reason:`share`},!0,`within-one-session`):o(i,!1,`share-off`)}var o9=1;function oJe(e){return e!==void 0&&e>0?e:o9}function s9(e,t,n){let r=e.reduce((e,r)=>e+(n(r)?t(r):0),0);return new Map(e.map(e=>[e,r>0&&n(e)?Math.round(t(e)/r*1e3)/10:0]))}function sJe(e){let t=gJ(e.source)&&e.auto!==null,n=t&&e.auto!==null?e.auto:e.stored,r={};for(let t of e.nodeIds)r[t]=oJe(n.nodes[t]);let i=new Set(e.eligibleNodes),a=s9(e.nodeIds,e=>r[e]??o9,()=>!0),o=s9(e.nodeIds,e=>r[e]??o9,e=>i.has(e)),s={},c=e.nodeIds.map(r=>{let c=new Set(e.eligibleDevices[r]??[]),l=n.devices[r]??{},u=new Set(e.absentDevices?.[r]??[]),d=[...new Set([...Object.keys(l),...c])].filter(e=>!u.has(e)).toSorted(),f={};for(let e of d)f[e]=oJe(l[e]);d.length>0&&(s[r]=f);let p=s9(d,e=>f[e]??o9,()=>!0),m=s9(d,e=>f[e]??o9,e=>i.has(r)&&c.has(e)),h=d.map(e=>({deviceKey:e,eligible:c.has(e),configuredPct:p.get(e)??0,effectivePct:m.get(e)??0})),g=t?e.autoCapacity?.[r]:void 0;return{nodeId:r,eligible:i.has(r),configuredPct:a.get(r)??0,effectivePct:o.get(r)??0,capacitySource:g?.source??null,capacityFallback:g?.fallback??null,devices:h}});return{source:e.source,policy:e.policy??`share`,autoPending:gJ(e.source)&&e.auto===null,computedAt:e.computedAt??null,trigger:e.trigger??null,nodes:c,nodeWeights:r,deviceWeights:s}}function cJe(e,t,n){if(!(e===void 0||n===null))return e.devices.filter(e=>e.deviceKey===t&&e.modelId===n).toSorted((e,t)=>t.measuredAtMs-e.measuredAtMs)[0]}function lJe(e,t){let n=[];for(let r of e){let e=t.get(r.nodeId);if(e!==void 0)for(let t of e.devices){let e=r.devices.find(e=>e.deviceKey===t.deviceKey)?.chosen?.modelId??null;t.modelId===null||t.modelId===e||n.push({nodeId:r.nodeId,deviceKey:t.deviceKey,measuredModelId:t.modelId,runsModelId:e})}}return n}var uJe={readMeasuredCapacity:async()=>new Map};function c9(e){let t=[...e.values()].reduce((e,t)=>e+t,0),n=new Map;if(t<=0)return n;let r=[...e].map(([e,n])=>({k:e,exact:n/t*100})),i=0;for(let e of r)n.set(e.k,Math.floor(e.exact)),i+=Math.floor(e.exact);let a=e=>Math.round((e-Math.floor(e))*1e6),o=r.toSorted((e,t)=>a(t.exact)-a(e.exact)||e.k.localeCompare(t.k));for(let e=0;e<100-i;e++){let t=o[e%o.length];if(t===void 0)break;n.set(t.k,(n.get(t.k)??0)+1)}return n}function dJe(e,t,n){return e.devices.filter(e=>e.enabled&&e.available&&e.chosen!==null).map(e=>{let r=e.chosen?.fps??0;return{deviceKey:e.deviceKey,sessions:$7(r,t,n),weight:Math.max(r,0),modelId:e.chosen?.modelId??null,fps:e.chosen?.fps??null,measured:e.chosen?.measured??!1}})}function fJe(e,t){let n=n=>{let r=e.skipped?[]:dJe(e,t.headroom,t.cameraFps),i=r.reduce((e,t)=>e+t.sessions,0);return{rec:e,devices:r,capacitySource:e.skipped?null:`hardware`,capacityFallback:e.skipped?null:n,skippedReason:e.skipped?e.reasons[0]?.kind??`skipped`:i>0?null:`no-capacity`}};if(t.source===`hardware`||!e.reachable)return n(null);let r=t.measured.get(e.nodeId),i=new Map;for(let t of e.devices){let e=cJe(r,t.deviceKey,t.chosen?.modelId??null);e!==void 0&&i.set(t.deviceKey,e)}let a=e.devices.filter(e=>e.enabled&&e.available),o=e.devices.filter(e=>e.enabled&&e.available&&e.chosen!==null),s=a.filter(e=>i.has(e.deviceKey));if(s.length===0)return n(`no-benchmark-results`);if(o.some(e=>!i.has(e.deviceKey)))return n(`partial-benchmark-results`);let c=s.map(e=>{let t=i.get(e.deviceKey),n=Math.max(0,Math.floor(t?.maxSessions??0));return{deviceKey:e.deviceKey,sessions:n,weight:n,modelId:t?.modelId??null,fps:null,measured:!0}});return{rec:e,devices:c,capacitySource:`benchmark`,capacityFallback:null,skippedReason:c.reduce((e,t)=>e+t.sessions,0)>0?null:`no-capacity`}}function pJe(e){let t=e.recommendations.map(t=>fJe(t,e)),n=new Map;for(let e of t){let t=e.devices.reduce((e,t)=>e+t.sessions,0);e.skippedReason===null&&t>0&&n.set(e.rec.nodeId,t)}let r=c9(n),i=t.map(e=>{let t=c9(new Map(e.devices.map(e=>[e.deviceKey,e.weight])));return{nodeId:e.rec.nodeId,share:r.get(e.rec.nodeId)??null,capacitySessions:e.devices.reduce((e,t)=>e+t.sessions,0),skippedReason:e.skippedReason,capacitySource:e.capacitySource,capacityFallback:e.capacityFallback,devices:e.devices.map(e=>({deviceKey:e.deviceKey,share:t.get(e.deviceKey)??0,modelId:e.modelId,fps:e.fps,measured:e.measured,suggestedMaxSessions:e.sessions}))}});return{headroom:e.headroom,source:e.source,cameraFps:e.cameraFps,minSessionsPerDevice:e.minSessionsPerDevice,nodes:i}}function mJe(e,t){if(t===null||!e.includes(t))return e;let n=e.filter(e=>e!==t);return n.length>0?n:e}function hJe(e,t,n){return e===null||t===null||e!==t?e:n.some(e=>e!==t)?null:e}function gJe(e,t){let n=[],r=[];for(let i of t.toSorted((e,t)=>e.deviceId-t.deviceId)){let t=i.placedNodeId===e,a=i.nodePin===e;!t&&!a||(i.frameSourceNodes.some(t=>t!==e)?n.push({deviceId:i.deviceId,placedOnNode:t,pinnedToNode:a}):r.push({deviceId:i.deviceId,reason:`only-frame-source`}))}return{moving:n,staying:r}}var _Je=[1,2,4,6,8,12,16,24,32],vJe=[1,2,3,4,6,8,10,12,16],yJe=3*6e4,bJe=2e4;function xJe(e,t={}){let n=((t.settleSec??kH.settleSec)+(t.measureSec??kH.measureSec))*1e3,r=yJe;if(e.phases.includes(`device`))for(let t of e.devices)r+=t.modelIds.length*(bJe+_Je.length*n);return e.phases.includes(`pipeline`)&&(r+=e.devices.length*(bJe+vJe.length*n)),Math.min(r,e.budgetMinutes*6e4)}function SJe(e){let t=[];e.activeRunNodeId!==null&&t.push({kind:`benchmark-active`,detail:`A benchmark of ${e.activeRunNodeId} is running — one node at a time.`,overridable:!1}),e.online||t.push({kind:`node-offline`,detail:`${e.plan.nodeId} is not online.`,overridable:!1});let n=e.plan.devices.map(e=>e.deviceKey).filter(t=>!e.knownDeviceKeys.includes(t));n.length>0&&t.push({kind:`unknown-device`,detail:`${e.plan.nodeId} reports no device ${n.join(`, `)}.`,overridable:!1}),e.plan.phases.length===0&&t.push({kind:`no-phase`,detail:`Choose at least one measurement.`,overridable:!1});let r=e.otherNodesCapacitySessions;return r!==null&&e.sessionsNow>r&&!e.plan.acceptInsufficientHeadroom&&t.push({kind:`insufficient-headroom`,detail:`The cluster runs ${e.sessionsNow} sessions now; the other nodes can carry ${r}.`,overridable:!0}),t}function l9(e){let{cell:t}=e,n=t.phase===`pipeline`?t.steps.toSorted().join(`,`):``;return[e.nodeId,t.deviceKey,t.phase,t.modelId,n].join(`|`)}function CJe(e,t){let n=t.staleAfterMs??kH.staleAfterDays*864e5;if(t.nowMs-e.measuredAtMs>n)return`age`;let r=t.currentPools[e.nodeId]?.[e.cell.deviceKey],i=e.fingerprint?.pools[e.cell.deviceKey];return r===void 0||i===void 0?null:r.runtime===i.runtime?r.numWorkers!==i.numWorkers||r.concurrency!==i.concurrency||r.batchMode!==i.batchMode?`pool-tuning`:null:`runtime`}function wJe(e,t){let n=new Map;for(let t of e){let e=l9(t),r=n.get(e);(r===void 0||t.measuredAtMs>r.measuredAtMs)&&n.set(e,t)}let r=new Map;for(let i of e){if(n.get(l9(i))?.id!==i.id){r.set(i.id,{standing:`superseded`,staleWhy:null});continue}let e=CJe(i,t);r.set(i.id,e===null?{standing:`fresh`,staleWhy:null}:{standing:`stale`,staleWhy:e})}return r}function u9(e,t){let n=wJe(e,t);return e.filter(e=>n.get(e.id)?.standing===`fresh`)}function TJe(e,t,n){let r={};for(let i of u9(e,n)){if(i.nodeId!==t||i.cell.phase!==`device`)continue;let e=r[i.cell.deviceKey]??{};e[i.cell.modelId]={p50Ms:Math.round(i.cell.p50Ms*100)/100,fps:i.cell.fps,resultId:i.id,measuredAtMs:i.measuredAtMs},r[i.cell.deviceKey]=e}return r}function EJe(e){return Math.max(0,Math.floor(e))}function DJe(e,t,n){let r=new Map;for(let i of u9(e,n)){if(!t.includes(i.nodeId))continue;let e=OJe(i),n=r.get(i.nodeId)??new Map,a=`${e.deviceKey}\u0000${e.modelId??``}`,o=n.get(a);(o===void 0||kJe(e,o))&&n.set(a,e),r.set(i.nodeId,n)}let i=new Map;for(let e of t){let t=r.get(e);t!==void 0&&i.set(e,{nodeId:e,devices:[...t.values()].toSorted((e,t)=>e.deviceKey.localeCompare(t.deviceKey)||(e.modelId??``).localeCompare(t.modelId??``))})}return i}function OJe(e){let{cell:t}=e;return t.phase===`pipeline`?{deviceKey:t.deviceKey,maxSessions:t.maxSessions,modelId:t.modelId,measuredAtMs:e.measuredAtMs,phase:`pipeline`}:{deviceKey:t.deviceKey,maxSessions:EJe(t.kMax),modelId:t.modelId,measuredAtMs:e.measuredAtMs,phase:`device`}}function kJe(e,t){return e.phase===t.phase?e.measuredAtMs>t.measuredAtMs:e.phase===`pipeline`}var d9=`object-detection`;function f9(e,t){return e.slots.find(e=>e.id===t)?.addons??[]}var p9=(e,t)=>t.inputClasses.some(t=>e.outputClasses.includes(t));function AJe(e){let t=f9(e,`detector`).find(e=>e.id===d9);if(t===void 0)return null;let n=f9(e,`classifier`),r=f9(e,`cropper`).filter(e=>p9(t,e)).map(e=>({cropper:e,recognizers:n.filter(t=>p9(e,t))})),i=new Set(r.flatMap(e=>e.recognizers.map(e=>e.id)));return{root:t,croppers:r,classifiers:n.filter(e=>p9(t,e)&&!i.has(e.id)),refiners:f9(e,`refiner`)}}function jJe(e){let t=AJe(e);if(t===null)return[];let n=e=>({id:e.id,name:e.name,slot:e.slot});return[...t.croppers.flatMap(e=>[n(e.cropper),...e.recognizers.map(n)]),...t.classifiers.map(n),...t.refiners.map(n)]}function MJe(e,t,n){let r=AJe(e);if(r===null)throw Error(`the node's catalog has no ${d9} step`);let i=new Set(n),a=(e,t)=>({addonId:e.id,enabled:t});return[{addonId:r.root.id,modelId:t,enabled:!0,children:[...r.croppers.map(({cropper:e,recognizers:t})=>({...a(e,i.has(e.id)||t.some(e=>i.has(e.id))),children:t.map(e=>a(e,i.has(e.id)))})),...r.classifiers.map(e=>a(e,i.has(e.id))),...r.refiners.map(e=>a(e,i.has(e.id)))]}]}var NJe=`object-detection`,PJe=640,FJe=800,IJe=.25,LJe=640,RJe=2,zJe=500,BJe=.25,VJe=.35,HJe=2e3,UJe=.5,WJe=.7,GJe=2;function m9(e){return Math.max(0,e.w)*Math.max(0,e.h)}var h9=m9;function KJe(e,t){return Math.max(0,Math.min(e.x+e.w,t.x+t.w)-Math.max(e.x,t.x))*Math.max(0,Math.min(e.y+e.h,t.y+t.h)-Math.max(e.y,t.y))}function qJe(e,t){let n=h9(e);if(n<=0)return 0;let r=0;for(let n of t)r+=KJe(e,n);return 1-Math.min(1,r/n)}function g9(e,t,n,r){return{left:Math.round(Math.max(0,Math.min(r.width-n,e-n/2))),top:Math.round(Math.max(0,Math.min(r.height-n,t-n/2))),side:n}}function JJe(e,t,n){return t>=e.left&&t<=e.left+e.side&&n>=e.top&&n<=e.top+e.side}function YJe(e,t){let n=e.w*t.width,r=e.h*t.height,i=Math.max(n,r),a=i*1.5,o=Math.round(Math.min(Math.max(a,640),800)),s=(e.x+e.w/2)*t.width,c=(e.y+e.h/2)*t.height;if(a<=800)return[g9(s,c,o,t)];let l=n>=r,u=i/4;return[g9(l?s-u:s,l?c:c-u,o,t),g9(l?s+u:s,l?c:c+u,o,t)]}function XJe(e,t){return h9(e)>.25?`too-large`:t<.35?`covered`:`eligible`}function ZJe(e){let t=0,n=0,r=0;for(let i of e.regions)switch(XJe(i,qJe(i,e.detections))){case`too-large`:t+=1;break;case`covered`:n+=1;break;case`eligible`:r+=1;break}return{tooLarge:t,covered:n,eligible:r}}function QJe(e){let{native:t}=e;if(Math.min(t.width,t.height)<640)return[];let n=e.regions.map(t=>({region:t,uncovered:qJe(t,e.detections)})).filter(({region:e,uncovered:t})=>XJe(e,t)===`eligible`).toSorted((e,t)=>h9(t.region)*t.uncovered-h9(e.region)*e.uncovered),r=[];for(let{region:e}of n)for(let n of YJe(e,t)){if(r.length>=2)return r;let e=n.left+n.side/2,t=n.top+n.side/2;r.some(n=>JJe(n,e,t))||r.push(n)}return r}function $Je(e,t,n,r,i){let a=t.side/Math.max(1,n.width),o=r.width/Math.max(1,i.width),s=r.height/Math.max(1,i.height),c=[];for(let r of e){let{x:e,y:i,width:l,height:u}=r.bbox;e<=2||i<=2||e+l>=n.width-2||i+u>=n.height-2||c.push({...r,nativeRecovery:{score:r.score,cropSidePx:t.side,viewPx:n.width},bbox:{x:(t.left+e*a)*o,y:(t.top+i*a)*s,width:l*a*o,height:u*a*s}})}return c}function eYe(e,t){return Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x))*Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y))}function tYe(e,t){let n=eYe(e,t);if(n<=0)return!1;let r=e.width*e.height,i=r+t.width*t.height-n;return i>0&&n/i>=.5?!0:r>0&&n/r>=.7}function nYe(e,t){let n=[];for(let[r,i]of t.entries())[...e,...n].some(e=>e.macroClass===i.macroClass&&tYe(i.bbox,e.bbox))||n.push({...i,id:`recovered-${r}-${i.id}`});return[...e,...n]}function rYe(e){let t=e.find(e=>e.addonId===`object-detection`&&e.enabled!==!1);return t?{addonId:t.addonId,...t.modelId===void 0?{}:{modelId:t.modelId},enabled:!0}:null}var iYe=`motionCropDispatch`;function aYe(e){return e?.motionCropDispatch===!0?`motion-crop`:`uncovered-region`}function oYe(e){return aYe(e.find(e=>e.addonId===`object-detection`&&e.enabled!==!1)?.settings)}var sYe=1.5,cYe=1.25,lYe=3,uYe=Object.freeze({person:.8,vehicle:.8});function dYe(e){let t=[],n=[];for(let r of e){let e=uYe[r.macroClass];if(e!==void 0&&r.score<e){n.push({macroClass:r.macroClass,score:r.score,floor:e});continue}t.push(r)}return{kept:t,dropped:n}}function fYe(e,t){let n=e.w*t,r=e.h*t;return{x:e.x+e.w/2-n/2,y:e.y+e.h/2-r/2,w:n,h:r}}function pYe(e,t){return Math.min(e.x+e.w,t.x+t.w)>Math.max(e.x,t.x)&&Math.min(e.y+e.h,t.y+t.h)>Math.max(e.y,t.y)}function mYe(e,t){let n=Math.min(e.x,t.x),r=Math.min(e.y,t.y);return{x:n,y:r,w:Math.max(e.x+e.w,t.x+t.w)-n,h:Math.max(e.y+e.h,t.y+t.h)-r}}function hYe(e){let t=Math.max(0,e.x),n=Math.max(0,e.y);return{x:t,y:n,w:Math.min(1,e.x+e.w)-t,h:Math.min(1,e.y+e.h)-n}}function gYe(e){let t=[];for(let n of e){let e=n,r=!0;for(;r;){r=!1;for(let n=t.length-1;n>=0;--n){let i=t[n];i===void 0||!pYe(e,i)||(e=mYe(e,i),t.splice(n,1),r=!0)}}t.push(e)}return t}function _Ye(e){if(e.regions.length===0)return[];let t=e.regions.map(e=>fYe(e,sYe));for(let n of e.detections)e.regions.some(e=>pYe(n,e))&&t.push(fYe(n,cYe));return gYe(t).map(hYe).filter(e=>e.w>0&&e.h>0).toSorted((e,t)=>m9(t)-m9(e)).slice(0,3)}function vYe(e,t){let n=e.w*t.width,r=e.h*t.height,i=Math.max(n,r),a=Math.round(Math.min(Math.max(i,640),800)),o=(e.x+e.w/2)*t.width,s=(e.y+e.h/2)*t.height;if(i<=800)return[g9(o,s,a,t)];let c=n>=r,l=i/4;return[g9(c?o-l:o,c?s:s-l,a,t),g9(c?o+l:o,c?s:s+l,a,t)]}function yYe(e,t){return t.left>=e.left&&t.top>=e.top&&t.left+t.side<=e.left+e.side&&t.top+t.side<=e.top+e.side}function bYe(e){let{native:t}=e;if(Math.min(t.width,t.height)<640)return[];let n=[];for(let r of _Ye(e))for(let e of vYe(r,t))n.some(t=>yYe(t,e))||n.push(e);return n}var xYe=1.6,SYe=160;function CYe(e,t,n){let r=Math.min(Math.max(e.w,e.h)*xYe,Math.min(t,n)),i=e.x+e.w/2,a=e.y+e.h/2;return{x:Math.min(Math.max(0,i-r/2),t-r),y:Math.min(Math.max(0,a-r/2),n-r),w:r,h:r}}var wYe=`detail-crop`,TYe=`detailCropPaddingRatio`,EYe=`detailCropSquare`,_9=b({paddingRatio:f().min(0).max(4),square:v()}),v9={paddingRatio:.15,square:!1};function DYe(e){let t=_9.shape.paddingRatio.safeParse(e[TYe]),n=_9.shape.square.safeParse(e[EYe]);return{paddingRatio:t.success?t.data:v9.paddingRatio,square:n.success?n.data:v9.square}}function OYe(e){return typeof e==`object`&&!!e&&`key`in e}function kYe(e){if(e===null)return v9;let t={};for(let n of e.sections)for(let e of n.fields)!OYe(e)||typeof e.key!=`string`||(e.key===`detailCropPaddingRatio`||e.key===`detailCropSquare`)&&(t[e.key]=e.value);return DYe(t)}var AYe=Object.freeze({x:0,y:0,w:1,h:1}),jYe={min:0,max:1,step:.05,default:v9.paddingRatio};function MYe(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?FYe(NYe(o,t,n),t,n):PYe(o,t,n)}function NYe(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 PYe(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 FYe(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 IYe=`face-rescore`,LYe=`faceRescoreIntervalMinutes`,y9={min:0,max:1440,step:5,default:60},RYe=10;function zYe(e){return typeof e!=`number`||!Number.isFinite(e)||e<0?y9.default:e===0?0:Math.min(y9.max,Math.max(10,Math.floor(e)))}function BYe(e){if(e===null)return y9.default;for(let t of e.sections)for(let e of t.fields)if(!(typeof e!=`object`||!e||!(`key`in e))&&e.key===`faceRescoreIntervalMinutes`)return zYe(`value`in e?e.value:void 0);return y9.default}var VYe=`native-lease`,b9=`nativeLeaseHoldFrames`,x9=`nativeLeaseBudgetMb`,S9=`nativeLeaseActivityMs`,C9=`nativeLeaseAdmission`,w9=`nativeTileBudgetMb`,T9=`nativeSceneBudgetMb`,E9=x([`all`,`inferred`]),HYe=b({holdFrames:f().int().min(1).max(64),budgetMb:f().int().min(0).max(4096),activityMs:f().int().min(0).max(12e4),admission:E9,tileBudgetMb:f().int().min(0).max(1024),sceneBudgetMb:f().int().min(0).max(1024)}),D9={holdFrames:8,budgetMb:1024,activityMs:15e3,tileBudgetMb:64,sceneBudgetMb:48,admission:`inferred`},UYe={min:1,max:64,step:1,default:D9.holdFrames},WYe={min:0,max:4096,step:64,default:D9.budgetMb},GYe={min:0,max:12e4,step:1e3,default:D9.activityMs},KYe={min:0,max:1024,step:16,default:D9.tileBudgetMb},qYe={min:0,max:1024,step:16,default:D9.sceneBudgetMb},JYe={options:[{value:`all`,label:`Every delivered frame`},{value:`inferred`,label:`Only frames sent to inference`}],default:D9.admission};function O9(e,t){let n=HYe.shape[e].safeParse(t);return n.success?n.data===D9[e]?null:n.data:null}function YYe(e){let t=E9.safeParse(e);return t.success?t.data===D9.admission?null:t.data:null}function XYe(e){let t=O9(`holdFrames`,e[b9]),n=O9(`budgetMb`,e[x9]),r=O9(`activityMs`,e[S9]),i=YYe(e[C9]),a=O9(`tileBudgetMb`,e[w9]),o=O9(`sceneBudgetMb`,e[T9]);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 ZYe(e){return typeof e==`object`&&!!e&&`key`in e}var QYe=[b9,x9,S9,C9,w9,T9];function $Ye(e){if(e===null)return{};let t={};for(let n of e.sections)for(let e of n.fields)!ZYe(e)||typeof e.key!=`string`||QYe.includes(e.key)&&(t[e.key]=e.value);return XYe(t)}var k9=[{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 eXe(e){let t=k9.find(t=>t.id===e);if(!t)throw Error(`Unknown access role '${e}'`);return t}function tXe(e){let t=eXe(e.roleId);return[{type:`device`,selector:e.selector,access:[...t.deviceAccess],includeLinked:e.includeLinked},{type:`category`,target:`system`,access:[...t.systemAccess]}]}function nXe(e,t){if(e.length!==t.length)return!1;let n=new Set(e);return t.every(e=>n.has(e))}function rXe(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=k9.find(e=>nXe(e.deviceAccess,r.access)&&nXe(e.systemAccess,i.access));return a?{roleId:a.id,selector:r.selector,includeLinked:r.includeLinked}:null}function A9(e){for(let t of e)if(t.type===`viewer`)return t;return null}function iXe(e,t){let n=new Map;for(let e of t)n.set(e.id,e);let r=new Set;for(let i of t)Hh(e,i.id,e=>n.has(e)?lXe(e,n):null)&&r.add(i.id);return r}var aXe=8;function j9(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 oXe(e,t){return e.some(e=>e.type===`category`&&e.target===`device`&&e.access.includes(t))}function sXe(e,t){return e.filter(e=>e.type===`device`&&e.access.includes(t))}function cXe(e,t){return e.includeLinked??t===`view`}function lXe(e,t){let n=[],r=e;for(let e=0;e<aXe;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 uXe(e,t,n){let r=A9(e);return r===null?dXe(M9(e),t,n):iXe(r,t)}function M9(e){let t=[];for(let n of e)n.type!==`viewer`&&t.push(n);return t}function dXe(e,t,n){if(oXe(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=sXe(e,n),a=new Set;for(let e of t)for(let t of i){if(j9(t.selector,e)){a.add(e.id);break}if(cXe(t,n)&&lXe(e.id,r).some(e=>{let n=r.get(e);return n!==void 0&&j9(t.selector,n)})){a.add(e.id);break}}return a}function fXe(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){let e=qh.safeParse(n);e.success&&t.push(e.data)}return t}var pXe=[`view`,`create`,`delete`];function N9(e,t,n,r){if(r)return{all:!0,deviceCount:t.length};let i=A9(e);if(i!==null){let e=iXe(i,t);return{all:e.size===t.length,deviceCount:e.size}}let a=M9(e);return{all:oXe(a,n)||sXe(a,n).some(e=>e.selector.kind===`all`),deviceCount:uXe(e,t,n).size}}function mXe(e){let t=[];for(let n of e)n.type===`capability`&&t.push({name:n.target,access:n.access});return t}function hXe(e){let t=[];for(let n of e)n.type===`addon`&&t.push({name:n.target,access:n.access});return t}function gXe(e,t,n){let r={view:N9(e,t,`view`,n),create:N9(e,t,`create`,n),delete:N9(e,t,`delete`,n)},i=n?pXe:pXe.filter(t=>e.some(e=>e.type===`category`&&e.target===`system`&&e.access.includes(t))),a=n?null:A9(e);return{isAdmin:n,role:n?`admin`:a===null?`scoped`:`viewer`,features:a?.features??[],allDevicesViewable:r.view.all,viewableDeviceCount:r.view.deviceCount,device:r,system:i,capabilities:mXe(e),addons:hXe(e)}}var _Xe={camera:{type:`camera`,label:`Camera`,icon:`camera`}};function vXe(e,t,n){return!Number.isFinite(e)||t===n?e:ml(e,t,n)??e}function yXe(e,t,n){return!Number.isFinite(e)||t===n?e:ml(e,t,n)??e}var bXe=[{value:86400,unit:`d`},{value:3600,unit:`h`},{value:60,unit:`min`}],xXe=[{factor:1024**4,unit:`TiB`},{factor:1024**3,unit:`GiB`},{factor:1024**2,unit:`MiB`},{factor:1024,unit:`KiB`}];function P9(e,t){return Number.isFinite(e)?t===void 0?Number.isInteger(e)?String(e):e.toFixed(1):e.toFixed(t):``}function SXe(e){let t=Math.abs(e);for(let n of bXe)if(t>=n.value)return{value:e/n.value,unit:n.unit};return{value:e,unit:`s`}}function CXe(e){let t=Math.abs(e);for(let n of xXe)if(t>=n.factor)return{value:e/n.factor,unit:n.unit};return{value:e,unit:`B`}}function wXe(e){return e.quantity===`device`?e.deviceQuantity??`none`:e.quantity}function TXe(e){let t=wXe(e),n=e.precision;if(!Number.isFinite(e.value))return{text:``,unit:``,value:e.value};if(t===`duration`||t===`duration-ms`){let r=SXe(t===`duration-ms`?e.value/1e3:e.value);return{text:P9(r.value,n),unit:r.unit,value:r.value}}if(t===`information`){let t=CXe(e.value);return{text:P9(t.value,n),unit:t.unit,value:t.value}}let r=e.preference??`metric`,i=zi(t),a=Bi(t,r);if(i===void 0||a===void 0)return{text:P9(e.value,n),unit:``,value:e.value};let o=ml(e.value,i,a);return o===void 0?{text:P9(e.value,n),unit:i,value:e.value}:{text:P9(o,n),unit:a,value:o}}var EXe={temperature:`temperature`,pressure:`pressure`,speed:`speed`,"precipitation-rate":`precipitation-rate`,length:`length`,area:`area`,illuminance:`illuminance`,irradiance:`irradiance`,power:`power`,"apparent-power":`apparent-power`,energy:`energy`,voltage:`voltage`,current:`current`,"concentration-volume":`concentration-volume`,"concentration-mass":`concentration-mass`,mass:`mass`,percentage:`percentage`,volume:`volume`,duration:`duration`,information:`information`,angle:`angle`,"sound-level":`sound-level`,"signal-level":`signal-level`,"colour-temperature":`colour-temperature`,bitrate:`bitrate`,rate:`rate`};function DXe(e){let t=Ag(e);if(t===void 0)return;if(t===`ppb`)return`concentration-ppb`;if(t===`ms`)return`duration-ms`;let n=dl(t);if(n!==void 0)return EXe[n]}function OXe(e){if(!Number.isFinite(e.value))return{ok:!1,reason:`non-finite`};if(e.quantity===`device`)return{ok:!1,reason:`unknown-unit`};let t=e.rawUnit?.trim();if(t===void 0||t.length===0)return{ok:!0,value:e.value};let n=Ag(t);if(n===void 0)return{ok:!1,reason:`unknown-unit`};let r=zi(e.quantity);if(r===void 0)return dl(n)===void 0?{ok:!1,reason:`unknown-unit`}:{ok:!1,reason:`cross-dimension`};let i=ml(e.value,n,r);return i===void 0?dl(n)===void 0?{ok:!1,reason:`unknown-unit`}:{ok:!1,reason:`cross-dimension`}:{ok:!0,value:i}}function kXe(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 AXe(e,t){let n=e.trim().toLowerCase(),r=t.trim().toLowerCase();return n===r?1:n.length===0||r.length===0?0:1-kXe(n,r)/Math.max(n.length,r.length)}function jXe(e,t,n=.8){let r=null,i=0;for(let a of t){let t=AXe(e,a);t>=n&&t>i&&(r=a,i=t)}return r}var MXe=`addon:`;function F9(e){return e.startsWith(MXe)?e.slice(6):e}function NXe(e,t){return F9(e)===F9(t)}var PXe=`Home`,FXe=`MQTT`;function I9(e){return e.trim().replace(/\s+/g,` `)}function IXe(e){return e.replace(/([A-Za-z])-(\d)/g,`$1$2`)}function LXe(e){let t=I9(e);return t.length===0?PXe:`${t} - ${PXe}`}function RXe(e){return`${FXe} - ${I9(e)}`}function zXe(e){let t=I9(e.providerLabel),n=e.brokerKind?.trim()??``;return e.mode===`broker`&&t===FXe&&n.length>0&&n.toLowerCase()!==`mqtt`?RXe(n):LXe(t)}function BXe(e,t){let n=IXe(I9(e)),r=I9(t??``);if(r.length===0)return n;let i=IXe(r),a=`${n.toLowerCase()} `;return i.toLowerCase()===n.toLowerCase()?n:i.toLowerCase().startsWith(a)?i:`${n} ${i}`}function L9(e){return{runId:e.runId,state:e.state,startedAtMs:e.startedAtMs,finishedAtMs:e.finishedAtMs,progress:e.progress,result:e.result,error:e.error}}var VXe=class{opts;runs=new Map;now;constructor(e){this.opts=e,this.now=e.now??Date.now}get runningCount(){let e=0;for(let t of this.runs.values())t.state===`running`&&(e+=1);return e}start(e,t){let n=this.runs.get(e);if(n!==void 0&&n.state===`running`)throw Error(`run '${e}' is already running`);if(this.runningCount>=this.opts.maxConcurrent)throw Error(`busy: ${this.runningCount}/${this.opts.maxConcurrent} run(s) already in progress — wait for one to finish or abort it`);let r={runId:e,state:`running`,startedAtMs:this.now(),finishedAtMs:null,progress:null,result:null,error:null,controller:new AbortController};this.runs.delete(e),this.runs.set(e,r);let i={signal:r.controller.signal,report:e=>{r.progress=e}},a=e=>{e.error===void 0?(r.state=r.controller.signal.aborted?`aborted`:`done`,r.result=e.result??null):(r.state=`failed`,r.error=e.error),r.finishedAtMs=this.now(),this.prune(),this.opts.onSettled?.(L9(r))},o;try{o=t(i)}catch(e){o=Promise.reject(e)}return o.then(e=>a({result:e}),e=>a({error:e instanceof Error?e.message:String(e)})),L9(r)}status(e){let t=this.runs.get(e);return t===void 0?null:L9(t)}list(){let e=[...this.runs.values()],t=e.filter(e=>e.state===`running`).toSorted((e,t)=>t.startedAtMs-e.startedAtMs),n=e.filter(e=>e.state!==`running`).toSorted((e,t)=>(t.finishedAtMs??0)-(e.finishedAtMs??0));return[...t,...n].map(L9)}abort(e){let t=this.runs.get(e);return t===void 0||t.state!==`running`?!1:(t.controller.abort(),!0)}abortAll(){for(let e of this.runs.values())e.state===`running`&&e.controller.abort()}prune(){let e=[...this.runs.values()].filter(e=>e.state!==`running`).toSorted((e,t)=>(e.finishedAtMs??0)-(t.finishedAtMs??0)),t=e.length-this.opts.keepFinished;for(let n=0;n<t;n++){let t=e[n];t!==void 0&&this.runs.delete(t.runId)}}};function HXe(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 UXe=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(),WXe(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 WXe(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}var GXe=6e4,KXe=class{#e;#t;#n;#r=new Map;constructor(e){this.#e=e.logger,this.#t=e.minIntervalMs??6e4,this.#n=e.now??Date.now}get minIntervalMs(){return this.#t}async sweep(e){if(e.listedIds===null)return{newSuspects:0,removed:[]};let t=new Set(e.listedIds),n=new Set(e.ownerIds),r=this.#n(),i=0,a=[];for(let e of[...this.#r.keys()])(t.has(e)||!n.has(e))&&(this.#r.delete(e),this.#e.info(`Orphan integration suspect cleared`,{meta:{integrationId:e,reason:t.has(e)?`listed again`:`owns no devices`}}));for(let o of n){if(t.has(o))continue;let n=this.#r.get(o);if(n===void 0){this.#r.set(o,r),i+=1,this.#e.info(`Integration owns devices but is absent from the list — suspect`,{meta:{integrationId:o,minIntervalMs:this.#t}});continue}if(!(r-n<this.#t))try{let t=await e.removeDevices(o);this.#r.delete(o),a.push(o),this.#e.warn(`Orphan integration devices removed — absent from two answered lists`,{meta:{integrationId:o,removed:t,firstMissingAt:n}})}catch(e){this.#e.warn(`Orphan integration device removal failed — kept as suspect`,{meta:{integrationId:o,error:xe(e)}})}}return{newSuspects:i,removed:a}}};async function qXe(e){let t=new Set;for(let n of e.reg.getAllForAddon(e.addonId)){if(n.parentDeviceId!==null)continue;let r=await e.devices.loadConfig(n.id).catch(()=>({})),i=e.ownerOf(r);i!==null&&t.add(i)}return[...t]}var R9=`vendor-login`,JXe=`/sso-complete`,YXe=[`access_denied`,`invalid_state`,`invalid_request`,`unknown_broker`,`not_configured`,`exchange_failed`,`no_authorization_code`,`no_refresh_token`,`unavailable`,`unknown`];function XXe(e){return YXe.some(t=>t===e)}function ZXe(e,t){let n=new URLSearchParams({return:`oauth`,status:t.status});return t.addonId!==void 0&&n.set(`addon`,t.addonId),t.brokerId!==void 0&&n.set(`broker`,t.brokerId),t.integration!==void 0&&n.set(`integration`,t.integration),t.status===`error`&&n.set(`reason`,t.reason??`unknown`),(t.action===`disconnect`||t.action===`cli-login`)&&n.set(`action`,t.action),`${e===null?``:e.replace(/\/+$/,``)}${JXe}#${n.toString()}`}function QXe(e){if(!e.startsWith(`#`))return null;let t=new URLSearchParams(e.slice(1));if(t.get(`return`)!==`oauth`)return null;let n=t.get(`status`);if(n!==`success`&&n!==`error`)return null;let r=t.get(`addon`),i=t.get(`broker`),a=t.get(`integration`),o=t.get(`reason`);return{status:n,...r!==null&&r.length>0?{addonId:r}:{},...i!==null&&i.length>0?{brokerId:i}:{},...a!==null&&a.length>0?{integration:a}:{},...n===`error`?{reason:XXe(o)?o:`unknown`}:{},...t.get(`action`)===`disconnect`?{action:`disconnect`}:{},...t.get(`action`)===`cli-login`?{action:`cli-login`}:{}}}var $Xe=new Set([`127.0.0.1`,`localhost`,`[::1]`]);function z9(e){if(e.startsWith(`[`))return e.slice(0,e.indexOf(`]`)+1);let t=e.indexOf(`:`);return t===-1?e:e.slice(0,t)}function eZe(e){return $Xe.has(z9(e.toLowerCase()))}function tZe(e){return e.host.length===0||!/^[a-z0-9.[\]:-]+$/.test(e.host)?!1:e.scheme===`https`||eZe(e.host)}function B9(e,t){let n=t.toLowerCase();return e.upstreams.find(e=>e.host===n)}function nZe(e,t,n,r=``){return`${e.basePath}/${t}${n.startsWith(`/`)?n:`/${n}`}${r}`}function rZe(e){let t=e.indexOf(`?`),n=t===-1?e:e.slice(0,t),r=t===-1?``:e.slice(t),i=/^\/([A-Za-z0-9_-]{8,128})\/([^/]+)(\/.*)?$/.exec(n);if(i===null)return null;let a=i[1],o=i[2];return a===void 0||o===void 0?null:{attemptId:a,host:o.toLowerCase(),pathname:i[3]??`/`,search:r}}function iZe(e,t){try{let n=new URL(`${e.scheme}://${e.host}${t.pathname}${t.search}`);return n.host.toLowerCase()===e.host?n:null}catch{return null}}function aZe(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function oZe(e,t,n){let r;try{r=new URL(e,`${t.scheme}://${t.host}/`)}catch{return e}if(r.protocol!==`https:`&&r.protocol!==`http:`)return e;let i=B9(n,r.host);return i===void 0?e:`${nZe(n,i.host,r.pathname,r.search)}${r.hash}`}var sZe=String.raw`(?<=^|["'(\s>,\[{])`;function cZe(e){return e.replace(/\s+integrity\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi,``)}function lZe(e,t,n,r){let i=e;for(let e of r.upstreams){let t=aZe(e.host),n=RegExp(`${sZe}(?:https?:)?//${t}(?=[/"'?#\\s)\\]},<]|$)`,`g`);i=i.replace(n,`${r.basePath}/${e.host}`);let a=`${r.basePath}/${e.host}`.replace(/\//g,`\\/`),o=RegExp(`${sZe}(?:https?:)?\\\\/\\\\/${t}(?=\\\\/|["'?#\\s)\\]},<]|$)`,`g`);i=i.replace(o,a)}t===`html`&&(i=cZe(i));let a=`${r.basePath}/${n.host}/`,o=`(?!/)(?!${aZe(r.basePath.slice(1))}/)`;if(t===`html`){let e=String.raw`(\b(?:href|src|action|formaction|poster|data-href|data-src)\s*=\s*["'])/`;i=i.replace(RegExp(`${e}${o}`,`gi`),`$1${a}`)}if(t===`html`||t===`css`){let e=String.raw`(url\(\s*["']?)/`;i=i.replace(RegExp(`${e}${o}`,`gi`),`$1${a}`)}return i}function uZe(e,t,n={}){let r=e.split(`;`).map(e=>e.trim()),i=n.browserSafe===!0?[`domain`,`path`,`secure`,`samesite`]:[`domain`,`path`],a=r.filter((e,t)=>{if(t===0)return!0;let n=e.split(`=`)[0]?.trim().toLowerCase()??``;return!i.includes(n)});return a.push(`Path=${t.basePath}/`),a.join(`; `)}function dZe(e,t,n={}){let r=Date.now(),i=new Set(e.filter(e=>!fZe(e,r)).map(V9));return e.filter(e=>!(fZe(e,r)&&i.has(V9(e)))).filter(e=>n.browserSafe!==!0||!/^__(?:host|secure)-/i.test(V9(e))).map(e=>uZe(e,t,n))}function V9(e){return e.split(`;`)[0]?.split(`=`)[0]?.trim()??``}function fZe(e,t){let n=e.split(`;`).slice(1).map(e=>e.trim()),r=n.find(e=>/^max-age=/i.test(e));if(r!==void 0)return Number(r.slice(8))<=0;let i=n.find(e=>/^expires=/i.test(e));if(i===void 0)return!1;let a=Date.parse(i.slice(8));return Number.isFinite(a)&&a<=t}function H9(e,t){let n;try{n=new URL(e,`http://hub.invalid`)}catch{return null}if(!n.pathname.startsWith(`${t.basePath}/`))return null;let r=/^\/([^/]+)(\/.*)?$/.exec(n.pathname.slice(t.basePath.length)),i=r?.[1]?.toLowerCase();if(i===void 0)return null;let a=B9(t,i);return a===void 0?null:`${a.scheme}://${a.host}${r?.[2]??`/`}${n.search}`}function pZe(e){try{return decodeURIComponent(e.replace(/\+/g,` `))}catch{return null}}function mZe(e,t){return e.split(`&`).map(e=>{let n=e.indexOf(`=`);if(n===-1)return e;let r=pZe(e.slice(n+1));if(r===null||!/^(?:https?:\/\/|\/)/i.test(r))return e;let i=H9(r,t);return i===null?e:`${e.slice(0,n+1)}${encodeURIComponent(i)}`}).join(`&`)}function hZe(e){return e.split(`;`).map(e=>e.trim()).filter(e=>e.length>0&&!e.toLowerCase().startsWith(`camstack_`)).join(`; `)}function U9(e,t){let n=e.find(e=>e.split(`=`)[0]?.trim().toLowerCase()===t);if(n===void 0)return;let r=n.indexOf(`=`);return r===-1?``:n.slice(r+1).trim()}function gZe(e,t){return e.some(e=>e.toLowerCase()===t)}function _Ze(e,t){let n=U9(e,`max-age`);if(n!==void 0&&n.length>0&&Number.isFinite(Number(n)))return t+Number(n)*1e3;let r=U9(e,`expires`);if(r===void 0)return null;let i=Date.parse(r);return Number.isFinite(i)?i:null}function vZe(e){let t=e.lastIndexOf(`/`);return t<=0?`/`:e.slice(0,t)}function yZe(e,t){return t===e?!0:t.startsWith(e)?e.endsWith(`/`)||t.charAt(e.length)===`/`:!1}function bZe(e,t){if(e.domain===null)return e.originHost===t;let n=z9(t);return n===e.domain||n.endsWith(`.${e.domain}`)}var xZe=class{#e=new Map;store(e,t,n){for(let r of e){let[e,...i]=r.split(`;`).map(e=>e.trim()),a=e?.indexOf(`=`)??-1;if(e===void 0||a<=0)continue;let o=e.slice(0,a),s=i,c=U9(s,`domain`),l=c===void 0||c.length===0?null:c.replace(/^\./,``).toLowerCase(),u=U9(s,`path`),d=u!==void 0&&u.startsWith(`/`)?u:vZe(t.pathname),f=z9(t.host);if(l!==null&&f!==l&&!f.endsWith(`.${l}`))continue;let p=_Ze(s,n),m=`${o}|${l??t.host}|${d}`;if(p!==null&&p<=n){this.#e.delete(m);continue}this.#e.set(m,{name:o,value:e.slice(a+1),originHost:t.host,domain:l,path:d,secure:gZe(s,`secure`),expiresAtMs:p})}}headerFor(e,t){let n=e.scheme===`https`||eZe(e.host),r=[...this.#e.values()].filter(r=>(r.expiresAtMs===null||r.expiresAtMs>t)&&(!r.secure||n)&&bZe(r,e.host)&&yZe(r.path,e.pathname)).sort((e,t)=>t.path.length-e.path.length);return r.length===0?null:r.map(e=>`${e.name}=${e.value}`).join(`; `)}};function SZe(e){return new Set(e.split(`;`).map(e=>e.split(`=`)[0]?.trim()??``).filter(e=>e.length>0))}function CZe(e,t){if(t===null)return e;let n=SZe(t);return[...e.split(`;`).map(e=>e.trim()).filter(e=>e.length>0&&!n.has(e.split(`=`)[0]?.trim()??``)),t].join(`; `)}function wZe(e){let t=2166136261;for(let n=0;n<e.length;n+=1)t=Math.imul(t^e.charCodeAt(n),16777619)>>>0;return t.toString(16).padStart(8,`0`)}function W9(e){let t=[],n=e.startsWith(`?`)?e.slice(1):e;for(let e of n.split(`&`)){if(e.length===0)continue;let n=e.indexOf(`=`),r=n===-1?e:e.slice(0,n),i;try{i=decodeURIComponent(r.replace(/\+/g,` `))}catch{i=r}t.includes(i)||t.push(i)}return t}function G9(e){return e.some(e=>e.startsWith(`openid.oa2.`)||e===`openid.ns.oa2`)}function TZe(e){return e.map(e=>e.split(`;`)[0]?.split(`=`)[0]?.trim()??``)}function EZe(e){return(e??`none`).split(`;`)[0]?.trim().toLowerCase()||`none`}function DZe(e,t){try{let n=new URL(e,t);return{target:`${n.host}${n.pathname}`,names:W9(n.search)}}catch{return{target:`unparsable`,names:[]}}}function OZe(e){let t=W9(e.requestSearch),n=e.formBody===null?null:W9(e.formBody),r={session:wZe(e.attemptId),method:e.method,upstream:`${e.upstreamHost}${e.upstreamPath}`,queryNames:t.join(`,`)||`none`,oa2InQuery:G9(t),status:e.status,setCookieNames:TZe(e.setCookies).join(`,`)||`none`,cookiesSent:(e.cookieHeader??``).split(`;`).filter(e=>e.trim().length>0).length};if(n!==null&&(r.contentType=EZe(e.contentType),r.formNames=n.join(`,`)||`none`,r.oa2InForm=G9(n)),e.location!==null){let t=DZe(e.location,`http://${e.upstreamHost}/`);r.location=t.target,r.locationQueryNames=t.names.join(`,`)||`none`,r.oa2InLocation=G9(t.names)}return r}var kZe=2*1024*1024,AZe=4*1024*1024,jZe=new Set([`host`,`connection`,`keep-alive`,`proxy-authorization`,`proxy-connection`,`te`,`trailer`,`transfer-encoding`,`upgrade`,`content-length`,`accept-encoding`,`authorization`,`cookie`,`origin`,`referer`,`x-camstack-dataplane-secret`,`x-forwarded-for`,`x-forwarded-host`,`x-forwarded-proto`,`x-forwarded-prefix`,`x-real-ip`,`forwarded`]),MZe=new Set([`content-security-policy`,`content-security-policy-report-only`,`x-frame-options`,`strict-transport-security`,`public-key-pins`,`report-to`,`nel`,`content-encoding`,`content-length`,`transfer-encoding`,`connection`,`keep-alive`,`set-cookie`,`location`]);function NZe(e){let t=e.toLowerCase();return t.includes(`text/html`)||t.includes(`application/xhtml`)?`html`:t.includes(`text/css`)?`css`:t.startsWith(`text/`)||t.includes(`javascript`)||t.includes(`json`)||t.includes(`xml`)?`other`:null}function PZe(e){return(K9(e)??``).toLowerCase().startsWith(`application/x-www-form-urlencoded`)}function K9(e){return Array.isArray(e)?e[0]:e}async function FZe(e){let t=[],n=0;for await(let r of e){let e=Buffer.from(r);if(n+=e.length,n>kZe)return`too-large`;t.push(e)}return Buffer.concat(t)}function IZe(e,t){return e===void 0?t===void 0?`absent`:`unmapped`:URL.canParse(e)?new URL(e).pathname:`unparsable`}function LZe(e){let t=[...e.matchAll(/<form\b[^>]*\baction\s*=\s*["']([^"']*)["']/gi)].map(e=>(e[1]??``).split(`?`)[0]??``).slice(0,5);return t.length===0?`none`:t.join(` | `)}function RZe(e){return e===void 0||e.length===0?`none`:e.split(`;`).map(e=>e.split(`=`)[0]?.trim()??``).join(`,`)}function zZe(e){let[t,...n]=e.split(`;`).map(e=>e.trim());return[t?.split(`=`)[0]??``,...n.filter(e=>!/^expires=/i.test(e))].join(`;`)}function q9(e,t,n){e.writeHead(t,{"content-type":`text/plain; charset=utf-8`,"cache-control":`no-store`}),e.end(n)}var BZe=class{#e;#t;#n;#r;#i=new Map;#a=new Map;constructor(e){this.#e=e.addonId,this.#t=e.logger,this.#n=e.now??(()=>Date.now()),this.#r=e.fetchFn??globalThis.fetch.bind(globalThis)}handler=(e,t)=>this.#s(e,t);open(e){for(let t of e.upstreams)if(!tZe(t))throw Error(`vendor login proxy: upstream ${t.host} is not allowed`);this.#i.set(e.attemptId,{expiresAtMs:e.expiresAtMs,upstreams:e.upstreams,jar:e.serverCookieJar===!0?new xZe:null,evaluate:async t=>{let n=await e.terminal(t);return n.kind===`continue`?n:{kind:`done`,landing:await e.onDone(n.payload)}}})}close(e){this.#i.delete(e),this.#a.delete(e)}isOpen(e){let t=this.#i.get(e);return t!==void 0&&this.#n()<=t.expiresAtMs}entryPath(e,t){let n=this.#i.get(e);if(n===void 0)return null;let r=new URL(t);return B9({basePath:``,upstreams:n.upstreams},r.host)===void 0?null:`/addon/${this.#e}/${R9}/${e}/${r.host}${r.pathname}${r.search}`}#o(e,t,n){return{basePath:`${n}/addon/${this.#e}/${R9}/${e}`,upstreams:t.upstreams}}async#s(e,t){try{await this.#c(e,t)}catch(e){this.#t.warn(`vendor login proxy: request failed`,{meta:{addonId:this.#e,error:e instanceof Error?e.name:`unknown`}}),t.headersSent?t.end():q9(t,502,`The sign-in page could not be reached.`)}}async#c(e,t){let n=rZe(e.url??`/`);if(n===null){q9(t,404,`Not found`);return}let r=(K9(e.headers[`x-forwarded-prefix`])??``).replace(/\/+$/,``),i=this.#i.get(n.attemptId);if(i===void 0||this.#n()>i.expiresAtMs){i!==void 0&&this.close(n.attemptId),this.#t.info(`vendor login proxy: attempt refused`,{meta:{addonId:this.#e,reason:i===void 0?`missing`:`expired`}}),this.#f(t,r,{status:`error`,addonId:this.#e,reason:`invalid_state`});return}let a=this.#o(n.attemptId,i,r),o=B9(a,n.host),s=o===void 0?null:iZe(o,n);if(o===void 0||s===null){this.#t.warn(`vendor login proxy: host refused`,{meta:{addonId:this.#e,host:n.host}}),q9(t,404,`Not found`);return}let c=(e.method??`GET`).toUpperCase(),l,u=null;if(c!==`GET`&&c!==`HEAD`){let n=await FZe(e);if(n===`too-large`){q9(t,413,`Request too large`);return}PZe(e.headers[`content-type`])?(u=n.toString(`utf8`),l=Buffer.from(mZe(u,a),`utf8`)):l=n}let d=this.#u(e,a,o,i.jar,s),f=await this.#r(s,{method:c,headers:d,redirect:`manual`,...l!==void 0&&l.length>0?{body:new Uint8Array(l)}:{}}),p=f.headers.get(`location`),m=f.headers.getSetCookie();i.jar?.store(m,{host:o.host,pathname:s.pathname},this.#n());let h=NZe(f.headers.get(`content-type`)??``),g=Number(f.headers.get(`content-length`)??`0`),_=h!==null&&!(g>AZe)&&c!==`HEAD`?await f.text():null;this.#t.info(`vendor login proxy: upstream answered`,{meta:{addonId:this.#e,host:o.host,path:s.pathname,status:f.status,method:c,refererPath:IZe(d.referer,e.headers.referer),formActions:h===`html`&&_!==null?LZe(_):void 0,sentNames:RZe(d.cookie),vendorSets:m.map(zZe).join(` | `)}}),this.#l(n.attemptId,{attemptId:n.attemptId,method:c,upstreamHost:o.host,upstreamPath:s.pathname,requestSearch:s.search,formBody:u,contentType:K9(e.headers[`content-type`]),status:f.status,location:p,setCookies:m,cookieHeader:d.cookie});let ee=await i.evaluate({status:f.status,url:s.toString(),location:p,setCookies:m,bodyText:_});if(ee.kind===`done`){this.close(n.attemptId),this.#t.info(`vendor login proxy: sign-in finished`,{meta:{addonId:this.#e,status:ee.landing.status}}),this.#f(t,r,ee.landing);return}let v={};if(f.headers.forEach((e,t)=>{MZe.has(t.toLowerCase())||(v[t]=e)}),m.length>0&&(v[`set-cookie`]=dZe(m,a,{browserSafe:i.jar!==null})),p!==null&&(v.location=oZe(p,o,a)),v[`cache-control`]=`no-store`,_!==null&&h!==null){let e=lZe(_,h,o,a);t.writeHead(f.status,v),t.end(e);return}t.writeHead(f.status,v),await this.#d(f,t)}#l(e,t){let n=this.#a.get(e)??0;n>=200||(this.#a.set(e,n+1),this.#t.info(`vendor login proxy: flow`,{meta:{addonId:this.#e,...OZe(t)}}))}#u(e,t,n,r,i){let a={};for(let[t,n]of Object.entries(e.headers)){let e=t.toLowerCase();jZe.has(e)||n===void 0||(a[e]=Array.isArray(n)?n.join(`, `):n)}let o=CZe(hZe(K9(e.headers.cookie)??``),r?.headerFor({host:n.host,pathname:i.pathname,scheme:n.scheme},this.#n())??null);o.length>0&&(a.cookie=o),e.headers.origin!==void 0&&(a.origin=`${n.scheme}://${n.host}`);let s=K9(e.headers.referer);if(s!==void 0){let e=H9(s,t);e!==null&&(a.referer=e)}return a}async#d(e,t){if(e.body===null){t.end();return}for await(let n of e.body)if(t.write(n)||await new Promise(e=>{t.once(`drain`,e),t.once(`close`,e)}),t.destroyed)return;t.end()}#f(e,t,n){e.writeHead(302,{location:`${t}${ZXe(null,n)}`,"cache-control":`no-store`}),e.end()}},J9=1024*1024,VZe={sampleIntervalMs:6e4,baselineSettleSamples:5,baselineSampleCount:3,restartMultiple:4,floorBytes:1024*J9,ceilingBytes:3072*J9,cooldownMs:30*6e4,maxRestartsPerWindow:6,restartWindowMs:1440*6e4};function HZe(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=VZe;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/J9,128)*J9,ceilingBytes:t(`CAMSTACK_POOL_MEM_CEILING_MB`,n.ceilingBytes/J9,256)*J9,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 UZe(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 Y9(){return{settleSeen:0,baselineWindow:[],baselineBytes:null,restartsAt:[],lastRestartAt:null}}function WZe(e){let t=[...e].sort((e,t)=>e-t);return t[Math.floor(t.length/2)]}function GZe(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:WZe(r)}}function KZe(e,t){return e===null?t.ceilingBytes:Math.min(t.ceilingBytes,Math.max(t.floorBytes,t.restartMultiple*e))}function qZe(e,t,n){return e.filter(e=>t-e<n.restartWindowMs)}function JZe(e,t,n,r){let i=GZe(e,t,r),a=KZe(i.baselineBytes,r);if(t<=a)return{state:i,action:i.baselineBytes===null?`baseline-pending`:`ok`,baselineBytes:i.baselineBytes,thresholdBytes:a};let o=qZe(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 YZe(e,t){return{...Y9(),restartsAt:[...e.restartsAt,t],lastRestartAt:t}}function XZe(e){return{...Y9(),restartsAt:e.restartsAt,lastRestartAt:e.lastRestartAt}}function ZZe(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 QZe=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??Y9();t&&t.pids.length>0&&!$Ze(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=XZe(a));let o=JZe(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/J9),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/J9),thresholdMb:Math.round(o.thresholdBytes/J9),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/J9),thresholdMb:Math.round(o.thresholdBytes/J9),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/J9),thresholdMb:Math.round(o.thresholdBytes/J9),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=ZZe(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/J9),thresholdMb:Math.round(a.thresholdBytes/J9),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/J9),restartsInWindow:c,deferredCandidates:n.filter(e=>e.key!==i).map(e=>e.key)}});try{await this.opts.restart(i),this.pools.set(i,{state:YZe(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 $Ze(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 eQe(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 tQe(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 nQe=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 rQe(e,t){let n=performance.now();try{return{output:t===void 0?await e():await aQe(e(),t),durationMs:iQe(performance.now()-n),ok:!0}}catch(e){return{output:void 0,durationMs:iQe(performance.now()-n),ok:!1,error:xe(e)}}}function iQe(e){return Math.round(e*100)/100}function aQe(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 oQe={openvino:`openvino`,edgetpu:`tflite`,coreml:`coreml`,onnx:`onnx`,cpu:`onnx`,cuda:`onnx`};function sQe(e){return oQe[e]??`onnx`}var cQe={onnx:`onnx`,coreml:`coreml`,openvino:`openvino`,tflite:`tflite`,pytorch:`pt`},lQe={coreml:`coreml_inference.py`,pytorch:`pytorch_inference.py`,openvino:`openvino_inference.py`};function uQe(e){return cQe[e]}function dQe(e){return lQe[e]}function fQe(e){return e===`coreml`||e===`pytorch`||e===`openvino`}function pQe(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 mQe(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 hQe(e){return Math.floor(Buffer.from(e,`base64`).byteLength/4)}function gQe(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=>_Qe(t,e,n,l)),f=s.some(t=>_Qe(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 _Qe(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&&vQe(t,e.polygon))return!0}return!1}function vQe(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 yQe(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 bQe=`Etc/Unknown`;function xQe(e){if(e.length===0||e===bQe)return!1;try{return new Intl.DateTimeFormat(`en-US`,{timeZone:e}),!0}catch{return!1}}function SQe(e={}){let t=(e.read??(()=>Intl.DateTimeFormat().resolvedOptions().timeZone))();return typeof t==`string`&&xQe(t)?t:null}var CQe=!1;function wQe(e,t,n={}){let r=SQe(n);if(r!==null)return r;if(!CQe){CQe=!0;let r=n.read??(()=>Intl.DateTimeFormat().resolvedOptions().timeZone);t?.warn(`the process time zone is not usable, using a fallback`,{meta:{rejectedTimeZone:r(),fallbackTimeZone:e}})}return e}var TQe=[`usb`,`pci`];function EQe(e,t){return t===0?e:`${e}:${t}`}function DQe(e,t){return e.units===void 0?t===(e.bus===`pci`?`pci`:`usb`)?Math.max(1,e.count??1):0:e.units.filter(e=>e.bus===t).reduce((e,t)=>e+Math.max(0,t.count),0)}function X9(e){if(e==null)return[];let t=[];for(let n of TQe){let r=DQe(e,n);for(let e=0;e<r;e++)t.push({bus:n,index:e,device:EQe(n,e)})}return t}var OQe=/^(usb|pci)(?::(\d+))?$/;function kQe(e){let t=OQe.exec(e.trim());if(t===null)throw Error(`edgetpu device "${e}" is not usb[:N] or pci[:N]`);let[,n,r]=t;return`${n}:${r??`0`}`}var AQe={value:`auto`,label:`Auto`},Z9={value:`cpu`,label:`CPU`},jQe={value:`usb`,label:`Coral USB`};function MQe(e){let t=e.bus===`pci`?`PCIe`:`USB`,n=e.index===0?`Coral ${t}`:`Coral ${t} ${e.index+1}`;return{value:e.device,label:n}}var NQe=[{id:`onnx`,supports:()=>!0,devices:e=>{if(!e)return[Z9];let t=[Z9];return e.gpu?.type===`nvidia`&&t.push({value:`cuda`,label:`CUDA`}),e.gpu?.type===`amd`&&e.platform===`linux`&&t.push({value:`webgpu`,label:`WebGPU (AMD iGPU)`}),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`||e.gpu?.type===`amd`),devices:e=>{if(!e)return[AQe];if(e.gpu?.type===`amd`)return[Z9];let t=[AQe,Z9];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`},Z9),n},defaultDevice:`all`},{id:`edgetpu`,supports:e=>X9(e?.coral).length>0,devices:e=>{let t=X9(e?.coral);return t.length>0?t.map(MQe):[jQe]},defaultDevice:`usb`}];function PQe(e){let t=NQe.find(t=>t.id===e);if(!t)throw Error(`Unknown runtime: ${e}`);return t}function FQe(e){return NQe.filter(t=>t.supports(e)).map(e=>e.id)}function IQe(e,t){return PQe(e).devices(t)}function LQe(e){return PQe(e).defaultDevice}function RQe(e){return e===`edgetpu`?`tflite`:uQe(e)}function zQe(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.gpu?.type===`amd`&&(e.platform===`linux`&&t.push({runtime:`python`,backend:`onnx`,format:`onnx`,score:75,reason:`ONNX WebGPU (AMD iGPU)`,available:!0}),t.push({runtime:`python`,backend:`openvino`,format:`openvino`,score:65,reason:`OpenVINO CPU (AMD x64)`,available:!0})),X9(e.coral).length>0&&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 BQe={cuda:`gpu`,edgetpu:`usb`,coreml:`all`,cpu:`cpu`};function Q9(e,t,n,r){return{key:e===`cpu`?`cpu`:`${e}:${t}`,backend:e,device:t,format:n,runtime:`python`,score:r,available:!0}}function VQe(e){let{scores:t}=zQe(e),n=[];for(let r of t){if(r.backend===`openvino`){e.npu?.type===`intel-npu`&&n.push(Q9(`openvino`,`npu`,r.format,r.score+2)),e.gpu?.type===`intel`&&n.push(Q9(`openvino`,`gpu`,r.format,r.score)),e.gpu?.type===`amd`&&n.push(Q9(`openvino`,`cpu`,r.format,r.score));continue}if(r.backend===`edgetpu`){for(let t of X9(e.coral))n.push(Q9(`edgetpu`,t.device,r.format,r.score));continue}if(r.backend===`onnx`&&r.reason.startsWith(`ONNX WebGPU`)){n.push(Q9(`onnx`,`webgpu`,r.format,r.score));continue}let t=BQe[r.backend]??r.backend;n.push(Q9(r.backend,t,r.format,r.score))}return n}var HQe=360*60*1e3;async function UQe(e){let t=e.now??(()=>Date.now()),n=e.api;if(n===void 0)return e.logger.warn(`device removal reconcile skipped — no device-manager api`),{read:!1,applied:0,failed:0};let r;try{r=await n.deviceManager.listDeletedSince.query({sinceMs:t()-ej})}catch(t){return e.logger.warn(`device removal reconcile skipped — tombstones unreadable, nothing deleted`,{meta:{error:xe(t)}}),{read:!1,applied:0,failed:0}}let i=0,a=0;for(let t of r)try{let n=await e.remove(t);i+=1,Object.values(n.counts).reduce((e,t)=>e+t,0)>0&&e.logger.info(`device removal reconcile cleaned a missed deletion`,{tags:{deviceId:t.deviceId},meta:{counts:n.counts,deletedAt:t.deletedAt}})}catch(n){a+=1,e.logger.warn(`device removal reconcile failed for a device — retried next pass`,{tags:{deviceId:t.deviceId},meta:{error:xe(n)}})}return{read:!0,applied:i,failed:a}}function WQe(e){let t=!1,n=()=>{t||(t=!0,UQe(e).catch(t=>{e.logger.warn(`device removal reconcile pass crashed`,{meta:{error:xe(t)}})}).finally(()=>{t=!1}))};n();let r=setInterval(n,HQe);return r.unref?.(),()=>clearInterval(r)}var GQe=38e3,KQe=32,qQe=4500,JQe=560,YQe=1690,XQe=560;function ZQe(e,t){if(!Number.isSafeInteger(e)||e<0)throw new L(`samsung-invalid`,`${t} must be a non-negative integer`)}function QQe(e){if(ZQe(e.nbits,`nbits`),ZQe(e.data,`data`),e.nbits<1||e.nbits>32)throw new L(`samsung-invalid`,`nbits must be 1..32`);if(e.data>=2**e.nbits)throw new L(`samsung-invalid`,`data does not fit in ${e.nbits} bits`);return[qQe,-4500,...Array.from({length:e.nbits},(t,n)=>{let r=e.nbits-1-n;return Math.floor(e.data/2**r)%2==1}).flatMap(e=>[JQe,-(e?YQe:XQe)]),JQe,-560]}var $Qe=.5,e$e=`sources`,t$e=b({manufacturer:p().optional(),supportedModels:S(p()).optional(),supportedController:p().optional(),commandsEncoding:p(),delay:f().nonnegative().optional(),commands:u(p(),l())});function n$e(e){return e instanceof Error?e.message:`unknown error`}function r$e(e){let t;try{t=JSON.parse(e)}catch(e){throw new L(`invalid-raw`,`Raw command is not a JSON array: ${n$e(e)}`)}let n=ZT.safeParse(t);if(!n.success)throw new L(`invalid-timings`,n.error.message);return{kind:`raw`,timings:n.data}}function i$e(e){return $T(e),{kind:`pronto`,code:e}}function a$e(e){let t=t$e.safeParse(e);if(!t.success)throw new L(`smartir-malformed`,`Not a SmartIR document: ${t.error.message}`);let n=t.data,r=n.commandsEncoding,i=[];for(let[e,t]of Object.entries(n.commands))if(e===e$e&&typeof t==`object`&&t&&!Array.isArray(t))for(let[e,n]of Object.entries(t))i.push({name:e,group:`source`,value:n});else i.push({name:e,group:`command`,value:t});let a=[],o=[],s=r===`Raw`||r===`Pronto`;for(let{name:e,group:t,value:n}of i){if(!s){o.push({name:e,group:t,reason:`${r} encoding is not supported`});continue}if(typeof n!=`string`){o.push({name:e,group:t,reason:`command is not a string`});continue}try{a.push({name:e,group:t,payload:r===`Raw`?r$e(n):i$e(n)})}catch(n){o.push({name:e,group:t,reason:n$e(n)})}}return{table:{commands:a,interCommandDelayMs:Math.round((n.delay??$Qe)*1e3),origin:{format:`smartir`,manufacturer:n.manufacturer,models:n.supportedModels,controller:n.supportedController}},skipped:o}}var o$e=class extends Error{instanceId;users;name=`InstanceInUseError`;constructor(e,t){super(`instance '${e}' is still in use by ${t.map(e=>`${e.kind} '${e.name??e.id}' (${e.id})`).join(`, `)}; unlink them first`),this.instanceId=e,this.users=t}};async function s$e(e,t){let n=[];for(let r of t)n.push(...await r.find(e));if(n.length>0)throw new o$e(e,n)}function c$e(e,t){return Array.isArray(e)?e.includes(t):e===t}function l$e(e){let t=typeof e.field==`string`?[e.field]:e.field;return{find:async n=>(await e.list()).filter(e=>t.some(t=>c$e(e.formValues[t],n))).map(t=>({kind:e.kind,id:t.id,...t.name===void 0?{}:{name:t.name}}))}}function u$e(e,t){return{...e,deleteInstance:async n=>(await s$e(n.id,t()),e.deleteInstance(n))}}function d$e(e,t,n){return{type:`instance-select`,key:e,label:n.label,...n.description===void 0?{}:{description:n.description},required:n.required??!0,...n.noneLabel===void 0?{}:{noneLabel:n.noneLabel},functionCap:t.cap,...t.kind===void 0?{}:{kind:t.kind}}}function f$e(e){let t={};for(let[n,r]of Object.entries(e.links))t[n]=Xt(r);let n=Yr({...t,...e.fields});return Xr(e.name,{title:e.title,schema:n,writeTrigger:e.writeTrigger})}function $9(e,t){let n=e[t];return typeof n==`string`&&n!==``?n:void 0}async function p$e(e,t,n){let r=await e.getResolved(t);return r===null?void 0:$9(r,n)}function m$e(e,t,n=`integration`){return{find:async r=>(await e.listResolved()).filter(e=>$9(e.body,t)===r).map(e=>({kind:n,id:e.id,name:typeof e.body.name==`string`?e.body.name:e.id}))}}function h$e(e,t){let n=Qt(t.kind),r=t.instanceKind??t.kind.name,i=new Nn(e,t.kind,{description:{...t.description,links:n.map(e=>({kind:r,field:e.field,to:e.to}))},formSchema:async e=>{let r=n[0],a=e===null||r===void 0||t.dynamicSections===void 0?void 0:$9(await i.getResolved(e)??{},r.field),o=a!==void 0&&t.dynamicSections!==void 0?await t.dynamicSections(a):[];return{sections:[{id:`links`,title:`Linked instances`,columns:1,fields:n.map(e=>d$e(e.field,e.to,t.labels?.[e.field]??{label:e.field}))},...t.linkSections??[],...o]}},initialBody:e=>t.kind.schema.parse({name:e,...Object.fromEntries(n.map(e=>[e.field,``]))}),configured:e=>n.every(t=>$9(e,t.field)!==void 0)&&(t.alsoConfigured?.(e)??!0),...t.mintId===void 0?{}:{mintId:t.mintId},...t.onChanged===void 0?{}:{onChanged:t.onChanged}});return i}function g$e(e,t){return`cal_${(0,no.createHash)(`sha1`).update(`${e}\0${t}`).digest(`hex`).slice(0,16)}`}function _$e(e){if(!Array.isArray(e))return null;let t=[];for(let n of e){if(typeof n!=`string`)return null;t.push(n)}return t}async function v$e(e,t){let n=0,r=0,i=0,a=[];for(let o of await e.listAccounts()){if(o.calendarIds===void 0||o.calendarIds===null)continue;let s=_$e(o.calendarIds);if(s===null){e.warn(`account '${o.id}': calendarIds is not a list of ids and stays as it is`),a.push(o.id);continue}try{let a=new Set,c=[];for(let e of s){let n=t.calendarIdOf(o.id,e);n===null||n===``?c.push(e):a.add(n)}for(let t of a){let r=g$e(o.id,t),i={name:t,accountId:o.id,calendarId:t};await e.readCalendar(r)===null&&(await e.putCalendar(r,i),n+=1);let a=await e.readCalendar(r);if(a?.accountId!==o.id||a.calendarId!==t)throw Error(`account '${o.id}': the calendar record '${r}' did not read back; the array stays`)}c.length>0&&(e.warn(`account '${o.id}': ${c.length} entr${c.length===1?`y`:`ies`} of calendarIds named another account or no calendar and selected nothing: ${c.join(`, `)}`),i+=c.length),await e.clearCalendarIds(o.id),r+=1}catch(t){e.warn(t instanceof Error?t.message:String(t)),a.push(o.id)}}if(a.length>0)throw Error(`calendarIds kept on ${a.length} account(s) (${a.join(`, `)}); ${n} calendar record(s) written, ${r} account(s) cleared`);return{outcome:n===0&&r===0?`already-done`:`done`,summary:{created:n,cleared:r,dropped:i}}}var y$e=1e3,b$e=/^int_\d+$/;async function x$e(e){let t=await e.listBrokers(),n=t.filter(e=>b$e.test(e.id));n.length>0&&e.warn(`${n.length} broker row(s) are keyed like a registry integration and are left as they are: ${n.map(e=>e.id).join(`, `)}`);let r=0;for(let n of t){let t=n.integrationId;if(t===void 0||t===``)continue;let i=await e.readConnection(t);if(i===null)await e.putConnection(t,{name:n.name,brokerId:n.id});else if(i.brokerId!==n.id){e.warn(`integration '${t}' already names broker '${i.brokerId??`none`}', not '${n.id}'; the link stays on the broker`);continue}if((await e.readConnection(t))?.brokerId!==n.id)throw Error(`integration '${t}': the link did not read back - broker '${n.id}' keeps it`);await e.clearBrokerLink(n.id),r+=1}return{outcome:r===0?`already-done`:`done`,summary:{brokers:t.length,moved:r,strayIntegrationRows:n.length}}}function S$e(e){return{warn:e.warn,listBrokers:async()=>(await e.brokers.query({limit:y$e})).records.map(e=>{let t=e.data.name,n=e.data.integrationId;return{id:e.id,name:typeof t==`string`&&t.length>0?t:e.id,integrationId:typeof n==`string`?n:void 0}}),readConnection:async t=>{let n=await e.connections.get(t);return n===null?null:{brokerId:n.data.brokerId}},putConnection:async(t,n)=>{await e.connections.put({id:t,data:n},{ifRev:0})},clearBrokerLink:async t=>{await e.brokers.patch(t,{integrationId:null})}}}export{OPe as ACCESSORY_LABEL,k9 as ACCESS_ROLES,cge as ACTION_RUN_MAX_MS,bx as ACTION_RUN_TIMEOUT_MS,lge as ACTION_RUN_TRANSPORT_MARGIN_MS,Hde as ACTION_TARGET_INVALIDATION_EVENTS,rc as ACTIVE_CRITERIA,I3 as ACTUATOR_METHODS,Nje as ACTUATOR_TEMPLATE_IDS,Ble as ADMIN_SCOPE,XSe as AGENT_MDNS_QUERY_NAME,YSe as AGENT_MDNS_SERVICE_TYPE,ZSe as AGENT_MDNS_TXT_KEYS,ic as AGGREGATE_REDUCERS,Vqe as AGGREGATE_THROUGHPUT_BY_KIND,Foe as ALEXA_EGRESS_PROFILE,B2 as ALL_CAPABILITY_DEFINITIONS,Ule as ALL_METHOD_ACCESS,Kce as APPEARANCE_BIN_COUNT,qce as APPEARANCE_BLOCKS,Gce as APPEARANCE_DESCRIPTOR_VERSION,Jce as APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT,JW as APPLE_SA_TO_MACRO,mBe as APPLIANCE_EXPORT,due as APP_AUTH_CALLBACK_MAX_LENGTH,uue as APP_AUTH_CALLBACK_URLS,_ue as APP_FLOW_DEFAULT_REDIRECT,xue as APP_FLOW_REFUSAL_MESSAGES,vue as APP_FLOW_STATE_PREFIX,Cue as APP_REFUSED_PATH,Sue as APP_START_REFUSAL_MESSAGES,Vse as ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT,mc as ARITHMETIC_OPS,ad as AUDIO_ANALYSIS_CAP_NAME,Mge as AUDIO_BACKEND_CHOICES,we as AUDIO_CHUNK_FORMATS,wM as AUDIO_GRADIENT_ALPHAS,KW as AUDIO_MACRO_LABELS,NS as AUDIO_NOT_CLASSIFIED_REASONS,ro as AUDIO_PRESETS,$Ve as AUDIO_SCALE_EPOCH_ISO,eHe as AUDIO_SCALE_EPOCH_MS,PSe as AUTOMATIC_HUB_ADDRESS_FLAGS,Vb as AUTOMATION_LEAF_CATALOG,Hhe as AUTOMATION_LEAF_CATEGORIES,Hb as AUTOMATION_LEAF_KINDS,bEe as AUTO_SHARE_HEADROOM,Fqe as AUTO_TUNE_FAMILY,fY as AcceleratorComputeSchema,zq as AcceleratorKindSchema,_x as AccessoriesStatusSchema,o8 as AccessoryKind,yb as ActionEntrySchema,jhe as ActionError,Ahe as ActionErrorCodeSchema,bb as ActionInputSchema,Sx as ActionLinksSchema,vb as ActionMinDelaySecSchema,wb as ActionRunChangedSchema,xb as ActionRunOriginSchema,Sb as ActionRunOutcomeSchema,Cb as ActionRunResultSchema,pb as ActionSourceKindSchema,_b as ActionStatusSchema,Y_ as ActionStepSchema,Wde as ActionTargetResolver,Rde as ActionTargetSchema,db as ActionVariableSchema,lb as ActionVariableTypeSchema,ub as ActionVariableValueSchema,sc as ActiveCriterionSchema,JU as AddBrokerInputSchema,zV as AddRetrainFrameFromRecordingResultSchema,aS as AddonAutoUpdateSchema,Qx as AddonListItemSchema,mt as AddonMigrationDefinitionError,Ne as AddonMigrationsBlockedError,Rne as AddonPageDeclarationSchema,wx as AddonPageInfoSchema,Xh as AddonRoutesScopeSchema,Bk as AdminLinkTargetEnum,Zk as AdoptionAdoptInputSchema,Qk as AdoptionAdoptResultSchema,Yu as AdoptionCandidateResultSchema,Gk as AdoptionFilterSchema,Yk as AdoptionGetCandidateInputSchema,Xu as AdoptionJobSchema,qu as AdoptionJobStateSchema,qk as AdoptionListCandidatesInputSchema,Jk as AdoptionListCandidatesOutputSchema,Ju as AdoptionOutcomeSchema,$k as AdoptionReleaseInputSchema,Xk as AdoptionStatusSchema,TJ as AgentLoadSummarySchema,oc as AggregateReducerSchema,mS as AirQualitySensorStatusSchema,_S as AlarmArmModeSchema,vS as AlarmPanelStatusSchema,gS as AlarmStateSchema,xGe as AlertEpisodePayloadSchema,CS as AlertSchema,bS as AlertSeveritySchema,SS as AlertSourceSchema,xS as AlertStatusSchema,TS as AmbientLightSensorStatusSchema,lH as AnalyticsLtsSeriesSchema,hue as AppFlowPurposeSchema,sg as AppLoginPathSchema,og as AppPageLangSchema,CL as AppleFmAvailabilitySchema,SL as AppleFmUnavailableReasonSchema,Xj as ApplianceRunDetailSchema,gC as ArchiveEntrySchema,_C as ArchiveManifestSchema,uC as ArchiveSqliteSnapshotSchema,kf as ArchivedDebugNoteQueryInputSchema,Of as ArchivedDebugNoteSchema,vae as ArithmeticHelperSpecSchema,Kl as AttachmentMediaTypeSchema,ql as AttachmentSchema,FS as AudioAnalysisResultSchema,IS as AudioAnalysisSettingsSchema,LS as AudioAttachDeviceInputSchema,RS as AudioAttachDeviceResultSchema,Xi as AudioChunkFormatSchema,AS as AudioChunkInputSchema,YS as AudioClassSummarySchema,MS as AudioClassificationLabelSchema,BS as AudioClassificationResultSchema,PS as AudioClassifyOutcomeSchema,US as AudioCodecInfoSchema,WS as AudioDecodeSessionConfigSchema,zS as AudioDetachDeviceResultSchema,Au as AudioEncodeSchema,GS as AudioEncodeSessionConfigSchema,qS as AudioEncodedChunkSchema,ZB as AudioEventSchema,jS as AudioLevelSchema,ZS as AudioMetricsHistoryPointSchema,QS as AudioMetricsHistorySchema,XS as AudioMetricsSnapshotSchema,KS as AudioPcmChunkSchema,Hi as AudioStreamPickSchema,eC as AuthResultSchema,Zq as AutoTuneApplyInputSchema,$q as AutoTuneApplyResultSchema,Yq as AutoTuneOptionsSchema,Qq as AutoTunePhaseResultSchema,Xq as AutoTunePlanSchema,Jq as AutoTuneWarningSchema,iS as AutoUpdateSettingsSchema,gv as AutomationActionSchema,hv as AutomationChooseStepSchema,U_ as AutomationCommandStepBaseSchema,G_ as AutomationCommandStepSchema,g_ as AutomationConditionOperatorSchema,$v as AutomationConditionTraceNodeSchema,nC as AutomationControlStatusSchema,ov as AutomationParallelStepSchema,xv as AutomationRecipeSchema,uv as AutomationRepeatLoopSchema,mv as AutomationRepeatStepSchema,_v as AutomationRunModeSchema,Xv as AutomationRunOutcomeSchema,ay as AutomationRunTraceSchema,ey as AutomationRunVerdictSchema,ev as AutomationSetStepSchema,oy as AutomationStateDocSchema,iy as AutomationStepTraceSchema,Z_ as AutomationStopStepSchema,Qv as AutomationTriggerTraceSchema,H_ as AutomationWaitStepSchema,rv as AutomationWaitUntilStepSchema,b_ as AutomationWhenSchema,cI as AvailableIntegrationTypeSchema,MO as BASE_DEVICE_CAPS,Fu as BASE_LIVE_EGRESS_PROFILE,Xze as BATTERY_DEVICE_PROFILE,zPe as BATTERY_UNREACHABLE_AFTER_MS,d9 as BENCH_ROOT_STEP_ID,nc as BINARY_AGGREGATES,Rse as BIRTH_DECISION_DEFAULT_LIMIT,Tre as BOOT_RECOVERY_BACKOFF_MS,U4 as BUILTIN_REMOTE_COMPONENTS,KE as BUILTIN_RESULT_KINDS,VXe as BackgroundRunRegistry,eI as BacklightModeSchema,pC as BackupArchiveEncryptionSchema,fC as BackupDestinationInfoSchema,mC as BackupEncryptionStatusSchema,hC as BackupEntrySchema,bC as BackupRunPhaseSchema,xC as BackupRunSchema,yC as BackupRunStateSchema,SC as BackupTriggerResultSchema,hr as BaseAddon,MPe as BaseDevice,RPe as BaseDeviceProvider,Kt as BatchTooLargeError,TC as BatteryStatusSchema,f_ as BecomesOperatorSchema,epe as BecomesWatch,OC as BinaryStatusSchema,Tf as BirthDecisionCropSourceSchema,Df as BirthDecisionQueryInputSchema,Ef as BirthDecisionRecordSchema,wf as BirthDecisionVerdictSchema,AC as BoardKeyFailureReasonSchema,kS as BoundingBoxSchema,NC as BrightnessStatusSchema,vw as BrokerAudioClientSchema,Sw as BrokerClientsSchema,qU as BrokerConnectionDetailsSchema,bw as BrokerConsumerAttributionSchema,yw as BrokerConsumerKindSchema,xw as BrokerEncodedClientSchema,BC as BrokerGetStateInputSchema,IC as BrokerPublishInputSchema,FC as BrokerRegistryStatusSchema,_w as BrokerRtspClientSchema,ta as BrokerStatsSchema,Uge as BrokerStatusEnum,ea as BrokerStatusSchema,LC as BrokerSubscribeInputSchema,RC as BrokerSubscribeResultSchema,zC as BrokerUnsubscribeInputSchema,SVe as BucketAccumulator,hd as BulkRecordSchema,js as CALENDAR_PERIODS,ore as CALLER_STAMPED_CAPABILITIES,wte as CALLER_USERNAME_HEADER,MCe as CAMERA_SENSORS_NOT_LOADED,ACe as CAMERA_SENSORS_SETTINGS_KEY,cd as CAMERA_SWITCH_CATALOG,Qu as CAMERA_SWITCH_ORDER,Iz as CAMERA_TRIGGER,XL as CAMSTACK_APP_LINK_ORIGIN,of as CAMSTACK_EVENT_PREFIX,Vi as CAM_PROFILE_ORDER,zOe as CAPABILITY_NAMES,BOe as CAPABILITY_ROUTER_KEYS,Ha as CAP_COMMAND_ORIGIN_CONTEXT_KEY,BE as CAP_CUSTOMIZE_CATALOG,sVe as CAP_NAMES_WITH_STATUS,Ba as CAP_NODE_PIN_CONTEXT_KEY,k5 as CAP_PROVIDER_KIND_MAP,VE as CAP_RUNTIME_FIELD_UNITS,jne as CAP_VOCABULARY,Ma as CAP_VOCABULARY_BY_NAME,OKe as CATALOG_LANGS,kpe as CHOOSE_BRANCHES_MAX,Ffe as CIVIL_TWILIGHT_ALTITUDE_DEG,$f as CLASS_MAP_MACRO_TARGETS,So as CLIMATE_ROLES,GX as CLIP_BROKER_PACED_RATES,M3 as CLIP_LABEL_EVENT_FETCH_LIMIT,CDe as CLIP_PLAYBACK_OPTIONS,qX as CLIP_REALTIME_SOURCE_RATES,gDe as CLIP_REASON_HEADER_MAX,Zm as CLIP_SEARCH_STRICTNESS,yDe as CLIP_STILL_DISPOSITION_HEADER,vDe as CLIP_STILL_REASON_CODE_HEADER,hDe as CLIP_STILL_REASON_HEADER,KX as CLIP_STREAM_SOURCE_RATES,bDe as CLIP_STREAM_TRANSPORT_HEADER,$m as CLIP_STRICTNESS_FACTOR,Ym as CLIP_VECTOR_INDEX_PATTERN,cB as CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS,lB as CLUSTER_MODEL_SCOPED_STEPS,PCe as CLUSTER_MODEL_SECTION_ID,_B as CLUSTER_STEP_SETTING_FIELDS,lfe as COCO_80_LABELS,Ig as COCO_TO_MACRO,Ce as COMPOSED_DEVICE_STABLE_ID_PREFIX,uD as COMPOSED_ITEM_FIXED_FIELDS,xc as COMPOSER_ADDON_ID,e_e as COMPOSER_RUNNER_ID,cT as COMPOSITION_EVENT_CATEGORY,Bc as COMPOSITION_ITEM_ARRAY_PATH,zc as COMPOSITION_ITEM_KEY_RE,hMe as COMPOSITION_LINK_KINDS,Y2 as COMPOSITION_TARGET_CAP_NAMES,poe as CONNECTION_TEST_TIMEOUT_MS,g8 as CONTAINER_CHILD_PRIORITY,f8 as CONTAINER_PRIMARY_CHILD_RULES,Iqe as CORAL_DEFAULT_MODEL_ID,tk as CORE_BLOCKS_ADDON_ID,ek as CORE_BLOCK_ADDON_PREFIX,cY as CORE_ULTRA_265K_IGPU_CLOCK_MHZ,IEe as CORE_ULTRA_265K_IGPU_EU,Xle as CREDENTIAL_TOKEN_AUDIENCE,eg as CREDENTIAL_TOKEN_KIND,uYe as CROP_CLASS_FLOORS,sh as CROP_SUPPLY_SOURCES,th as CROP_SUPPLY_STEP_IDS,Cae as CUSTOMIZATION_BLOCK_NAME_PREFIX,EVe as CUSTOMIZE_APPLY_AUTHORITY_KINDS,wVe as CUSTOMIZE_CARDINALITIES,TVe as CUSTOMIZE_EVENT_SHAPES,DVe as CUSTOMIZE_TARGET_SECTIONS,XC as CalendarColorSchema,ZC as CalendarEntrySchema,GC as CalendarEventSchema,WC as CalendarInfoSchema,KC as CalendarListEventsInputSchema,QC as CalendarPreferenceEntrySchema,$C as CalendarPreferencesSchema,ew as CalendarSetPreferenceInputSchema,UC as CalendarSourceKindSchema,aae as CalendarWindowSchema,j as CamProfileSchema,B$ as CamStreamDescriptorSchema,Ui as CamStreamKindSchema,Wi as CamStreamResolutionSchema,jJ as CameraAssignmentStatusSchema,BJ as CameraAudioStatusSchema,MJ as CameraBrokerProfileSchema,NJ as CameraBrokerStatusSchema,nw as CameraCredentialsSchema,rw as CameraCredentialsStatusSchema,PJ as CameraDecoderStatusSchema,RJ as CameraDetectionPhaseSchema,LJ as CameraDetectionProvisioningSchema,IJ as CameraDetectionProvisioningStateSchema,CJ as CameraDetectionSourceSchema,zJ as CameraDetectionStatusSchema,CH as CameraMetricsSchema,wH as CameraMetricsWithDeviceIdSchema,FJ as CameraMotionStatusSchema,j2 as CameraOccupancySnapshotForDeviceSchema,Kz as CameraOwnMotionSchema,Jz as CameraRawLevelSchema,VJ as CameraRecordingModeSchema,HJ as CameraRecordingStatusSchema,Wz as CameraSensorAttachmentSchema,Vz as CameraSensorEntrySchema,zz as CameraSensorModeSchema,Lz as CameraSensorRefSchema,Hz as CameraSensorsConfigSchema,qz as CameraSensorsNotEnforcedSchema,Gz as CameraSensorsNotForwardedSchema,Yz as CameraSensorsStatusSchema,AJ as CameraSourceStatusSchema,kJ as CameraSourceStreamSchema,WJ as CameraStatusDegradationReasonSchema,GJ as CameraStatusDegradationSchema,qJ as CameraStatusSchema,UJ as CameraStatusStageSchema,Gi as CameraStreamSchema,$u as CameraSwitchAuthoritySchema,rd as CameraSwitchGroupSchema,Zu as CameraSwitchIdSchema,nd as CameraSwitchSchema,ed as CameraSwitchUnavailableReasonSchema,td as CameraSwitchWarningSchema,Cr as CamstackError,Kk as CandidateQueryFilterSchema,Wh as CapScopeSchema,DJ as CapabilityBindingsSchema,lJ as CapacityFallbackSchema,cJ as CapacitySourceSchema,Iw as CarbonMonoxideStatusSchema,AKe as CatalogFileSchema,DKe as CatalogLangSchema,tee as ChargingStatus,tM as ClaimOutcomeSchema,rM as ClaimsListingSchema,nj as CleanupDeletedDevicesResultSchema,If as ClearTrackRelationInputSchema,Lf as ClearTrackRelationResultSchema,EW as ClientNetworkStatsSchema,zw as ClimateControlStatusSchema,VX as ClipBytesOfferSchema,BX as ClipBytesSchema,cZ as ClipExportFailureSchema,Xm as ClipModelMetaSchema,JX as ClipPlaybackOptionsSchema,RX as ClipPlaybackSchema,LX as ClipSchema,Qm as ClipSearchStrictnessSchema,YX as ClipSourceAvailabilitySchema,XX as ClipSourceSchema,mDe as ClipStillDispositionSchema,pDe as ClipStillRefusalCodeSchema,UX as ClipStreamAudioReasonSchema,HX as ClipStreamAudioSchema,WX as ClipStreamDialSchema,zX as ClipWakeSchema,zW as ClusterAddonNodeDeploymentSchema,BW as ClusterAddonStatusEntrySchema,XJ as ClusterModelChoiceSchema,Jw as ClusterUpdateBlockerSchema,Uw as ClusterUpdateFailureReasonSchema,Kw as ClusterUpdateJobSchema,Gw as ClusterUpdateJobStateSchema,qw as ClusterUpdateOptionsSchema,Yw as ClusterUpdatePlanSchema,Vw as ClusterUpdateStepKindSchema,Ww as ClusterUpdateStepSchema,Hw as ClusterUpdateStepStatusSchema,yd as CollectionColumnSchema,bd as CollectionIndexSchema,tT as ColorStatusSchema,Oi as CommandOriginClaimSchema,Wue as CompleteEnrollmentInputSchema,Gue as CompleteEnrollmentOutputSchema,Kue as CompleteEnrollmentResultSchema,BO as ComposableCapabilitiesSchema,zO as ComposableCapabilitySchema,RO as ComposableFieldSchema,AT as ComposerApplyInputSchema,MT as ComposerApplyResultSchema,DT as ComposerBlockSchema,jT as ComposerBlockVerdictSchema,OT as ComposerUnreadableBlockSchema,kc as CompositionAggregateSourceSchema,Ec as CompositionBindingSchema,dk as CompositionBlockInputSchema,ET as CompositionBlockStateSchema,Oc as CompositionCodeSourceSchema,Rc as CompositionCommandTargetSchema,vk as CompositionCustomizationReadSchema,lT as CompositionEventPlanSchema,Jc as CompositionExistingTargetSchema,Dc as CompositionExpressionSourceSchema,Lc as CompositionExtensionCommandSchema,bT as CompositionFeatureModeSchema,xT as CompositionFeaturePlanSchema,Wc as CompositionFeatureSchema,_T as CompositionFieldItemSchema,mT as CompositionFieldKindSchema,vT as CompositionFieldPlanSchema,Cc as CompositionFieldReadSchema,gT as CompositionFieldRoleSchema,jc as CompositionFieldSourceSchema,wT as CompositionFieldStateKindSchema,TT as CompositionFieldStateSchema,Hc as CompositionFieldsFeatureSchema,Pc as CompositionForwardArgSchema,Ic as CompositionForwardCommandSchema,wc as CompositionFromSourceSchema,_k as CompositionGetReadSchema,vO as CompositionGraphError,Vc as CompositionItemEntrySchema,gk as CompositionListReadSchema,Tc as CompositionLiteralBindingSchema,Kc as CompositionNewTargetSchema,Uc as CompositionPassthroughFeatureSchema,fT as CompositionProblemCodeSchema,pT as CompositionProblemSchema,CT as CompositionRunStatusSchema,Xc as CompositionSchema,Ac as CompositionSeriesSourceSchema,$s as CompositionSourceRefSchema,pk as CompositionStateReadSchema,Yc as CompositionTargetSchema,hT as CompositionUnavailableModeSchema,ST as CompositionValidationSchema,mk as CompositionViewSchema,zy as ConditionMirror,KA as ConfigEntrySchema,Ox as ConfigSectionWithValuesSchema,Dx as ConfigTabDeclarationSchema,PT as ConnectivityStatusSchema,LT as ConsumableFormSchema,HT as ConsumableItemSchema,IT as ConsumableKindSchema,t_e as ConsumableLevelSchema,BT as ConsumableRemainingKindSchema,VT as ConsumableRemainingSchema,RT as ConsumableStatusSchema,UT as ConsumablesStatusSchema,GT as ContactStatusSchema,qT as ControlKindSchema,JT as ControlStatusSchema,Mh as ConvertArtifactSchema,Nh as ConvertResultSchema,Ah as ConvertTargetSchema,bk as CoreBlockCompileInputSchema,yk as CoreBlockCompileResultSchema,ak as CoreBlockFilesSchema,sk as CoreBlockInputFieldsSchema,ck as CoreBlockInputSchema,nk as CoreBlockPlacementSchema,fk as CoreBlockSchema,uk as CoreBlockSourceSchema,rk as CoreBlockStatusSchema,Sk as CoverStateSchema,Ck as CoverStatusSchema,F0 as CreateUserInputSchema,Qh as CredentialScopeSchema,Qle as CredentialTokenClaimsSchema,vv as CurrentAutomationRecipeSchema,fS as CustomActionInputSchema,Tk as CustomModelDescriptorSchema,Tye as CustomizeAssignmentStatusSchema,Ige as DATABASE_SNAPSHOT_PARTIAL_SUFFIX,Fge as DATABASE_SNAPSHOT_SUFFIX,iC as DATABASE_SNAPSHOT_TIMEOUT_MS,Cte as DATAPLANE_SECRET_HEADER,dse as DATA_STORE_DATABASES,oAe as DAYS_PER_WEEK,ks as DAY_MS,T4 as DAY_NAMES,ra as DEBUG_CHANNEL_PREFIX,aa as DEBUG_WATCH_HARD_CAP_MS,pne as DEBUG_WATCH_REARM_EVERY_MS,ia as DEBUG_WATCH_WINDOW_MS,JPe as DECLARED_DEVICE_SWEEP_LIMIT,x8 as DECLARED_INTEGRATION_FIXED_KEY,$oe as DEFAULT_ADDON_PLACEMENT,Nge as DEFAULT_AUDIO_ANALYZER_CONFIG,zqe as DEFAULT_CAMERA_FPS,Bz as DEFAULT_CAMERA_SENSOR_MODE,kKe as DEFAULT_CATALOG_LANG,dB as DEFAULT_CLUSTER_STEP_MODELS,bB as DEFAULT_CLUSTER_STEP_SETTINGS,ik as DEFAULT_CORE_BLOCK_ENTRY,Nye as DEFAULT_DECODER_HWACCEL_CONFIG,v9 as DEFAULT_DETAIL_CROP_CONVENTION,sne as DEFAULT_DISPLAY_PREFERENCE,pp as DEFAULT_EVENTS_BAND_BUFFER_SEC,vTe as DEFAULT_EVENT_COLOR,$se as DEFAULT_FEATURES,Mo as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS,Rqe as DEFAULT_HEADROOM,Fs as DEFAULT_HISTORY_RETENTION,qpe as DEFAULT_HOLD_OVERRIDE,Jpe as DEFAULT_MAX_HOLD_ATTEMPTS,Nv as DEFAULT_MAX_LATE_MS,BCe as DEFAULT_MIN_LANDMARK_FACE_SIZE_PX,_Ee as DEFAULT_MIN_SESSIONS_PER_DEVICE,D9 as DEFAULT_NATIVE_LEASE_SETTINGS,Xce as DEFAULT_OVERLAY_LAYERS,VZe as DEFAULT_POOL_MEMORY_POLICY,gp as DEFAULT_RECORDING_PROFILES,ose as DEFAULT_RETENTION,ute as DEFAULT_RUNTIME_STATE_DURABILITY,loe as DEFAULT_SESSION_LOST_DEBOUNCE_MS,tJ as DEFAULT_SESSION_PLACEMENT_POLICY,hJ as DEFAULT_SHARE_SOURCE,JKe as DEFAULT_TIMELAPSE_PREVIEW_TEXT,ure as DEFAULT_TOKEN_EXPIRY,Hpe as DEFAULT_TRACE_KEEP,Ale as DEFAULT_VIEWER_SCOPE,zue as DEFINITIVE_DEVICE_REFUSALS,vc as DERIVATIVE_UNITS,sse as DERIVED_CAMERA_SILENCED_CAP_NAMES,jYe as DETAIL_CROP_PADDING_FIELD,TYe as DETAIL_CROP_PADDING_KEY,wYe as DETAIL_CROP_SECTION_ID,EYe as DETAIL_CROP_SQUARE_KEY,yfe as DETECTION_LABEL_SOURCES,dfe as DETECTION_MACRO_CLASSES,id as DETECTION_PIPELINE_CAP_NAME,oY as DETECTOR_ACCURACY,aY as DETECTOR_PERF,Fye as DEVICE_ALIAS_MAX_LENGTH,oA as DEVICE_ALIAS_PATTERN,oQe as DEVICE_BACKEND_TO_FORMAT,Dze as DEVICE_CAP_NAMES,jue as DEVICE_CERT_RENEW_WINDOW_DAYS,cg as DEVICE_CERT_SIGNATURE,Aue as DEVICE_CERT_VALIDITY_DAYS,Une as DEVICE_CHILDREN_BATCH_MAX,Bue as DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE,Mue as DEVICE_ENROLLMENT_TTL_MS,eBe as DEVICE_FEATURE_REQUIREMENTS,ube as DEVICE_HISTORY_ENERGY_KEY,bbe as DEVICE_HISTORY_ORPHAN_DELETE_MAX,ybe as DEVICE_HISTORY_ORPHAN_LIST_MAX,mbe as DEVICE_HISTORY_QUERY_MANY_MAX_ITEMS,fD as DEVICE_ID_FIELD,Nue as DEVICE_NONCE_TTL_MS,Zze as DEVICE_PROFILES,_Je as DEVICE_RAMP,Hue as DEVICE_REFRESH_REFUSAL_PREFIX,FPe as DEVICE_RESTORE_RETRY_CONCURRENCY,l8 as DEVICE_RESTORE_RETRY_DELAYS_MS,_Be as DEVICE_ROLE_ICON,wbe as DEVICE_RUNS_MAX_PAGE,Pue as DEVICE_SAN_CREDENTIAL_PREFIX,Fue as DEVICE_SAN_USER_PREFIX,Qa as DEVICE_SCOPED_CAPS,Jye as DEVICE_SEARCH_DEFAULT_LIMIT,Yye as DEVICE_SEARCH_MAX_LIMIT,Or as DEVICE_SETTINGS_CONTRIBUTION_METHODS,lg as DEVICE_SIGNATURE_MESSAGE_VERSION,r8 as DEVICE_STATE_READERS,kr as DEVICE_STATUS_METHOD,zye as DEVICE_TEMPLATE_BUDGET_MS,Gye as DEVICE_TEMPLATE_FILTERS,uA as DEVICE_TEMPLATE_MAX_LENGTH,Bye as DEVICE_TEMPLATE_MAX_OUTPUT,Hye as DEVICE_TEMPLATE_NOW_ALIAS,mA as DEVICE_TEMPLATE_REFUSAL_REASONS,Uye as DEVICE_TEMPLATE_THIS_ALIAS,gA as DEVICE_TEMPLATE_TRACE_REASONS,Vye as DEVICE_TEMPLATE_UNAVAILABLE,Wye as DEVICE_TEMPLATE_VALUES_CAP,ej as DEVICE_TOMBSTONE_RETENTION_MS,Tbe as DEVICE_TRANSITIONS_MAX_PAGE,Ebe as DEVICE_TRANSITIONS_RECORD_BATCH_MAX,$Pe as DEVICE_TYPE_CONTROL_KIND,C5 as DEVICE_TYPE_ICON,_Xe as DEVICE_TYPE_INFO,one as DISPLAY_PREFERENCES,BM as DISPLAY_PRESETS,QM as DOORBELL_RISE_DEBOUNCE_MS,hx as DRAFT_KINDS,gd as DataStoreDatabaseSchema,Ak as DataStoreEngineInfoSchema,lC as DatabaseSnapshotRequestSchema,sC as DatabaseSnapshotResultSchema,oC as DatabaseSnapshotTableSchema,aC as DatabaseSnapshotTargetsSchema,cC as DatabaseSnapshotWrittenSchema,Mk as DayNightModeSchema,Fk as DayNightOptionsSchema,Ik as DayNightSettingsPatchSchema,Pk as DayNightStatusSchema,sa as DebugInterest,mne as DebugWatchTable,Wt as DeclarationRefusedError,xd as DeclareCollectionInputSchema,gz as DeclareKindResultSchema,YPe as DeclaredDevices,Zi as DecodedAudioChunkSchema,fI as DeleteIntegrationResultSchema,Ql as DeliveryParamSchema,Zl as DeliveryParamValueSchema,bae as DerivativeHelperSpecSchema,qQ as DesktopAppStatusSchema,_9 as DetailCropConventionSchema,tp as DetectionCatalogClassMapSchema,qB as DetectionSourceSchema,SU as DetectionSourcesSchema,Lg as DetectionSubjectSchema,ghe as DetectionTriggerFilter,Vk as DeviceAdminLinkSchema,sA as DeviceAliasSchema,rA as DeviceCaStatusSchema,ide as DeviceCertificateLoginMethodSchema,iA as DeviceCertificateSettingsSchema,Xue as DeviceChallengeResultSchema,Yue as DeviceChallengeSchema,tL as DeviceCodeSeveritySchema,nne as DeviceCommandSettledEventSchema,s8 as DeviceConfig,nde as DeviceCredentialSchema,hg as DeviceCredentialStatusSchema,Hj as DeviceDataEntrySchema,Jue as DeviceEnrollProofSchema,ex as DeviceExportExposeInputSchema,Gb as DeviceExportInstancePinSchema,tx as DeviceExportSetExposedNameInputSchema,Qb as DeviceExportStatusSchema,ix as DeviceExportUnexposeInputSchema,T as DeviceFeature,y_ as DeviceFiredMatchSchema,whe as DeviceFiredWatch,Dj as DeviceHistoryKindSchema,Lj as DeviceHistoryOrphanDeleteRefusalSchema,Fj as DeviceHistoryOrphanReasonSchema,Oj as DeviceHistoryProducerKindSchema,Aj as DeviceHistoryRefusalReasonSchema,kj as DeviceHistoryResolutionSchema,Rj as DeviceHistoryStatusSchema,Ej as DeviceHistorySubjectSchema,GA as DeviceInfoSchema,Uq as DeviceModelChoiceSchema,DW as DeviceNetworkStatsSchema,ug as DevicePlatformSchema,Zue as DeviceProofInputSchema,Wq as DeviceRecommendationSchema,pg as DeviceRefusalReasonSchema,mg as DeviceRefusalSchema,Bj as DeviceRemovedInputSchema,Vj as DeviceRemovedResultSchema,u8 as DeviceRestoreRetryScheduler,E as DeviceRole,Zj as DeviceRunDetailSchema,Jj as DeviceRunEnergyMethodSchema,Wj as DeviceRunKindSchema,Kj as DeviceRunOutcomeSchema,Yj as DeviceRunPhaseSchema,Qj as DeviceRunSchema,qj as DeviceRunSourceSchema,Gj as DeviceRunStateSchema,c8 as DeviceRuntimeState,kA as DeviceSearchFacetIntegrationSchema,OA as DeviceSearchFacetValueSchema,AA as DeviceSearchFacetsSchema,wA as DeviceSearchFiltersSchema,TA as DeviceSearchInputSchema,DA as DeviceSearchItemSchema,CA as DeviceSearchRequiresSchema,jA as DeviceSearchResultSchema,Gh as DeviceSelectorSchema,kue as DeviceSignaturePurposeSchema,aM as DeviceStatusSchema,hA as DeviceTemplateRefusalSchema,vA as DeviceTemplateRenderSchema,dA as DeviceTemplateSchema,pA as DeviceTemplateThisDeviceSchema,_A as DeviceTemplateTraceEntrySchema,fA as DeviceTemplateValueSchema,$A as DeviceTombstoneSchema,Pi as DeviceTransitionSchema,w as DeviceType,EA as DeviceValueOptionSchema,_1 as DiagnosticIdSchema,w1 as DiagnosticWindowPatchSchema,C1 as DiagnosticWindowSchema,Wk as DiscoveredChildDeviceSchema,Uk as DiscoveredChildStatusSchema,Xye as DiscoveredDeviceSchema,au as DiscoveredTargetSchema,PA as DiscoveryHitSchema,NA as DiscoveryModeSchema,BA as DiscoveryObservationSchema,Zye as DiscoveryProposalBodySchema,VA as DiscoveryProposalSchema,_M as DishwasherAccessSchema,pM as DishwasherAvailabilitySchema,fM as DishwasherOperationStateSchema,vM as DishwasherOptionDescriptorSchema,bM as DishwasherOptionsSchema,yM as DishwasherProgramSchema,dM as DishwasherStateSchema,mM as DishwasherStatusSchema,gM as DishwasherValueSchema,KJ as DiskReconcileJobSchema,Ste as DisposerChain,XM as DoNotDisturbStatusSchema,eN as DoorbellPressEventSchema,$M as DoorbellStatusSchema,age as DraftKindSchema,gx as DraftSiteDeviceSchema,oge as DraftSiteSchema,sN as EMBEDDING_MODEL_FAILED,lN as EMBEDDING_REQUIREMENTS_FAILED,cN as EMBEDDING_REQUIREMENTS_UNAVAILABLE,nme as EMPTY_AUTOMATION_STATE,zDe as EMPTY_REMOTE_ASSUMED_STATE,LDe as EMPTY_REMOTE_CONFIG,MEe as ESTIMATE_COMPUTE_RATIO_MAX,sY as ESTIMATE_COMPUTE_RATIO_MIN,w4 as EVENTFUL_CAP_NAMES,twe as EVENT_DENSITY_BATCH_MAX,C4 as EVENT_KIND_BY_CAP,CKe as EVENT_KIND_LABELS,SKe as EVENT_KIND_LABEL_KEYS,__ as EVENT_LEAF_ID_RE,Dl as EVENT_OWNER_TYPES,np as EVENT_PAD_MS,tG as EVENT_TAXONOMY,Tfe as EVENT_VOCABULARY_KINDS,wDe as EXPORT_DENSE_MAX_RANGES,qb as EXPORT_INSTANCE_UNKNOWN,nx as EXPORT_NAME_REFUSED,dx as EXPOSED_NAMES_STORE_KEY,qo as EXPRESSION_BUILTINS,Jo as EXPRESSION_BUILTIN_NAMES,Cie as EXPRESSION_COMPILE_CACHE_CAPACITY,Xo as EXPRESSION_IDENTIFIER_RE,Vie as EXPRESSION_INJECTED_NOW,gc as EXPRESSION_OUTPUTS,dj as EXTENSION_HOST_DEVICE_TYPES,lj as EXTENSION_SLOTS,sj as EXTENSION_SLOT_IDS,cbe as EXTENSION_SLOT_LISTING_METHOD,sbe as EXTENSION_SLOT_REF_SEPARATOR,vJ as EffectiveDeviceShareSchema,yJ as EffectiveNodeShareSchema,bJ as EffectiveSharesSchema,_H as EffectiveTuningSchema,Ew as EgressEncodeSchema,Dw as EgressRateControlSchema,Ow as EgressTranscodeRequestSchema,kw as EgressTranscodeSchema,UXe as ElementConfigStore,iN as EmbeddingFailedModelSchema,aN as EmbeddingFailedRequirementSchema,oN as EmbeddingInfoSchema,uN as EmbeddingRefusalCodeSchema,nN as EmbeddingResultSchema,rN as EmbeddingTowerSchema,ju as EncodeProfileSchema,zx as EnrichedWidgetMetadataSchema,que as EnrollSelfInputSchema,Br as EntryDescriptorSchema,sX as EntryKindInfoSchema,cX as EntryViewSchema,cxe as EnumSensorDateTimeFormatSchema,hN as EnumSensorStatusSchema,xr as ErrorCodeSchema,Sr as ErrorI18nPayloadSchema,C as EventCategory,rH as EventDensityBucketSchema,iH as EventDensityForDeviceSchema,tb as EventEmitterStatusSchema,eb as EventFireSchema,TB as EventKindCategorySchema,EB as EventKindDescriptorSchema,wB as EventKindIconSchema,SB as EventKindSchema,DB as EventKindsForDeviceSchema,pw as EventMediaArtifactSchema,mw as EventMediaCoverageSchema,fw as EventMediaKindSchema,hw as EventMediaProductionSchema,Ol as EventOwnerTypeSchema,Nae as EventSourceType,Ofe as EventVocabularyEntrySchema,Dfe as EventVocabularyFieldSchema,Vg as EventVocabularyKindSchema,Efe as EventVocabularySourceSchema,uZ as ExportBytesSchema,aZ as ExportClipSubjectSchema,$X as ExportDenseRangeSchema,eZ as ExportDenseSchema,lZ as ExportDownloadSchema,ax as ExportEntityKindSchema,ox as ExportEntityRefSchema,iZ as ExportFootageSubjectSchema,Kb as ExportInstanceSchema,Jb as ExportInstanceUnknownError,rx as ExportNameRefusedError,nZ as ExportOptionsSchema,sZ as ExportRecordSchema,Xb as ExportSetupFieldSchema,Zb as ExportSetupSchema,QX as ExportSpeedSchema,rZ as ExportStateSchema,oZ as ExportSubjectSchema,tZ as ExportTimelapseSchema,cx as ExposeEntityInputSchema,$b as ExposedDeviceSchema,sx as ExposedEntitySchema,$F as ExposureModeSchema,Eg as ExpressionBindingSourceSchema,F as ExpressionEvalError,Gde as ExpressionFieldBindingSchema,qde as ExpressionGlobalBindingSchema,yae as ExpressionHelperSpecSchema,Kde as ExpressionLiteralBindingSchema,Po as ExpressionParseError,Jde as ExpressionSourceSchema,bj as ExtensionCandidateSchema,xj as ExtensionCandidatesSchema,Sj as ExtensionSetResultSchema,wj as ExtensionSetSlotInputSchema,gj as ExtensionSlotActivationSchema,cj as ExtensionSlotIdSchema,Cj as ExtensionSlotRefInputSchema,yj as ExtensionSlotRowSchema,hj as ExtensionSlotSourceSchema,_j as ExtensionSlotStateSchema,vj as ExtensionSlotUnreachableSchema,uj as ExtensionSlotValueSchema,fj as ExtensionSourceAvailabilitySchema,mj as ExtensionSourceHealthSchema,pj as ExtensionSourceSchema,R0 as ExternalIdentityKeySchema,L0 as ExternalIdentitySchema,y9 as FACE_RESCORE_INTERVAL_FIELD,LYe as FACE_RESCORE_INTERVAL_KEY,RYe as FACE_RESCORE_INTERVAL_MIN_RUNNING,IYe as FACE_RESCORE_SECTION_ID,XN as FAN_CAPTURE_FIELDS,wN as FAN_OSCILLATION_AXES,ON as FAN_OSCILLATION_AXIS_LIMITS,jN as FAN_OSCILLATION_AXIS_REFUSALS,EN as FAN_OSCILLATION_AXIS_SETTABLE,Q_e as FAN_OUT_CONCURRENCY,Sxe as FAN_PRESETS_MAX,GN as FAN_PRESETS_REFUSALS,o6 as FEEDER_EXAMPLE_ADDON_ID,a6 as FEEDER_EXAMPLE_HA_DEVICE_ID,$Oe as FEW_SHOT_COUNT,eie as FFMPEG_PATH_ENV,ob as FIRED_RECOVERED_NOTE,ep as FIRST_LEVEL_MACRO_CLASSES,wr as FORBIDDEN_MESSAGE_PREFIX,Mc as FORWARD_INPUT_KEY,AYe as FULL_IMAGE_BBOX,xN as FailureContributionSchema,Pce as FailureCounters,bN as FailureReasonCountSchema,ZN as FanCaptureFieldSchema,QN as FanCaptureOmissionSchema,IN as FanControlStatusSchema,CN as FanDirectionSchema,AN as FanOscillationAxesSchema,DN as FanOscillationAxisFieldSchema,TN as FanOscillationAxisNameSchema,MN as FanOscillationAxisRefusalSchema,NN as FanOscillationAxisResultSchema,kN as FanOscillationAxisSchema,YN as FanPresetApplyResultSchema,HN as FanPresetAxisSchema,$N as FanPresetCaptureResultSchema,JN as FanPresetFieldResultSchema,WN as FanPresetSchema,UN as FanPresetStateSchema,KN as FanPresetsRefusalSchema,qN as FanPresetsSetResultSchema,r1 as FeatureManifestSchema,nP as FeatureProbeStatusSchema,eM as FieldClaimModeSchema,nM as FieldClaimSchema,Lt as FilterRequiredError,aP as FloodStatusSchema,Zre as Fmp4BoxSplitter,Ht as ForeignSecretMarkerError,Yi as FrameHandleSchema,OS as FrameInputSchema,kU as FrameLazyCountersSchema,AU as FrameLazyMetricsSchema,tHe as G711_SCALE_CORRECTION_DB,QOe as GRAMMAR_MAX_LINES,OD as GROUP_TEMPLATES,ec as GROUP_TEMPLATE_IDS,sP as GasStatusSchema,A1 as GetLoggingSettingsInputSchema,ww as GetStreamWithCodecInputSchema,EJ as GlobalMetricsSchema,cw as GridLayoutPatchSchema,sw as GridLayoutViewSchema,lP as GroupActiveSchema,dP as GroupCommandResultSchema,fP as GroupCommandsSchema,lc as GroupHelperSpecSchema,mP as GroupStatusSchema,ac as GroupTemplateIdSchema,Voe as HAP_AUDIO_BASE,Boe as HAP_AUDIO_BITRATE_KBPS,Hoe as HAP_AUDIO_VBV_KBITS,Uoe as HAP_KEYFRAME_INTERVAL_SEC,xP as HEAT_PUMP_CIRCUIT_KINDS,$P as HERO_ANIMATIONS,eF as HERO_BACKGROUNDS,RLe as HERO_CAP_CONTRIBUTIONS,Cze as HERO_CAP_COVERAGE,cRe as HERO_LAYOUT_BY_TYPE,r5 as HERO_LAYOUT_DEFAULT,u5 as HERO_LOOK_BY_ROLE,l5 as HERO_LOOK_BY_TYPE,o5 as HERO_LOOK_DEFAULT,sF as HERO_MEASUREMENT_BANDS,oF as HERO_MEASUREMENT_QUANTITIES,cF as HERO_MEASUREMENT_SINCE_KINDS,DF as HERO_ROW_IDS,Vxe as HERO_ROW_LABELS,_Se as HERO_ROW_MODELS_MAX,xF as HERO_SCENES,TF as HERO_SCENE_BY_ROLE,wF as HERO_SCENE_BY_TYPE,SF as HERO_SCENE_MODES,ZP as HERO_STATES,QP as HERO_TONES,lre as HF_BASE_URL,Ua as HF_REPO,A5 as HISTORY_BUCKET_MS,jD as HISTORY_CATALOG,pte as HISTORY_DEFAULT_MIN_INTERVAL_MS,Ns as HISTORY_FAST_MS,K_e as HISTORY_ITEM_CATALOG,q_e as HISTORY_NONE_CAPS,Ps as HISTORY_SLOW_MS,eae as HISTORY_TIERS,dte as HISTORY_UNIT_LABELS,sAe as HOURS_PER_DAY,Os as HOUR_MS,tR as HUB_ADDRESS_ROLES,vR as HUB_ID_PATTERN,GSe as HUB_MDNS_QUERY_NAME,qSe as HUB_MDNS_ROLE,WSe as HUB_MDNS_SERVICE_TYPE,KSe as HUB_MDNS_TXT_KEYS,ZL as HUB_VIEWER_MOUNT,Mye as HWACCEL_OPTIONS,Rq as HardwareClassIdSchema,i1 as HealthStatusSchema,SP as HeatPumpCircuitKindSchema,TP as HeatPumpCircuitSchema,kP as HeatPumpEnergySchema,CP as HeatPumpOptionSettingSchema,DP as HeatPumpPowerSchema,wP as HeatPumpRangeSettingSchema,AP as HeatPumpStatusSchema,EP as HeatPumpSystemSchema,OP as HeatPumpTemperaturesSchema,NP as HeatingValveStatusSchema,cc as HelperMemberSchema,bc as HelperSpecSchema,UF as HeroLayoutRowsSchema,lF as HeroMeasurementReadingSchema,uF as HeroMeasurementSchema,zF as HeroRowModelSchema,HL as HfModelResolutionSchema,P2 as HistoryPointSchema,M2 as HistoryResolutionEnum,m_ as HoldCore,Mv as HoldOverrideSchema,c_ as HoldSpecSchema,qv as HoldTargetStatusSchema,l_ as HoldTraceSchema,$fe as HoldTracker,AW as HttpsLeafInfoSchema,wR as HubAddressRoleSchema,GF as HumidifierStatusSchema,qF as HumiditySensorStatusSchema,Rw as HvacModeSchema,fde as ICON_CATALOG_SOURCE,Dde as ICON_CATEGORIES,wde as ICON_ENTRIES,yg as ICON_KEYS,mde as ICON_VIEWER_MODULES,khe as IDLE_ACTION_STATUS,JJ as INFERENCE_DEVICE_EXCLUSION_REASONS,NVe as INITIAL_PULSE,PVe as INITIAL_SPAN,dc as INTEGRAL_OUTPUTS,mb as INTERNAL_ACTION_PREFIX,s6 as INVERTIBLE_CAPS,MI as IR_LEARN_TIMEOUT_DEFAULT_MS,NI as IR_LEARN_TIMEOUT_MAX_MS,lE as IR_NATIVE_CODECS,sE as IR_NATIVE_CODE_MAX_CHARS,XT as IR_TIMINGS_MAX,xg as IconKeySchema,HQ as ImageContractSchema,VQ as ImageContractStateSchema,ZF as ImageRotateSchema,rI as ImageSettingsOptionsSchema,iI as ImageSettingsPatchSchema,nI as ImageSettingsStatusSchema,YF as ImageStatusSchema,Dk as ImportModelBundleInputSchema,Ok as ImportModelBundleResultSchema,YJ as InferenceDeviceExclusionReasonSchema,OJ as IngestOwnerSchema,JQ as InstallDesktopUpdateReasonSchema,YQ as InstallDesktopUpdateResultSchema,$x as InstalledPackageSchema,o$e as InstanceInUseError,gae as IntegralHelperSpecSchema,bI as IntegrationInstanceDescriptionSchema,vI as IntegrationInstanceDiscoverySchema,mI as IntegrationInstanceIdSchema,_I as IntegrationInstanceKindSchema,yI as IntegrationInstanceLinkSchema,hI as IntegrationInstanceModeSchema,CI as IntegrationInstancePatchSchema,gI as IntegrationInstanceRoleSchema,SI as IntegrationInstanceSchema,xI as IntegrationInstanceStatusSchema,sI as IntegrationLiteSchema,foe as IntegrationSessionReporter,oI as IntegrationWithStateSchema,TI as IntercomAbilitySchema,EI as IntercomStatusSchema,D as InvalidRecordError,L as IrCodecError,PI as IrLearnResultSchema,kI as IrMediumSchema,cE as IrNativeCodeSchema,oE as IrNativeFormatSchema,uE as IrPayloadSchema,AI as IrSendResultSchema,ZT as IrTimingsSchema,jI as IrTransmitterInfoSchema,xSe as KEYCHAIN_MAX_REFS_PER_CALL,ZI as KEYCHAIN_RESET_CONFIRMATION,SSe as KEYCHAIN_RESET_TRIGGER_ACTOR,Eze as KNOWN_CAP_NAMES,gs as KWH_PER_WATT_MS,Vq as KeptReasonSchema,nH as KeyEventSchema,JI as KeychainAdminSecretSchema,YI as KeychainAuditActionSchema,XI as KeychainAuditEntrySchema,UI as KeychainKeySourceKindSchema,WI as KeychainKeySourceSchema,GI as KeychainResetRecordSchema,RI as KeychainResolveEntrySchema,zI as KeychainResolveResultSchema,BI as KeychainSecretMetaSchema,qI as KeychainSecretUsageSchema,LI as KeychainStateSchema,KI as KeychainStatusSchema,II as KeychainUnavailableReasonSchema,Un as KeychainWriteRefusedError,oh as LABEL_SUPPLY_MACRO,eh as LABEL_SUPPLY_STEP_IDS,ah as LABEL_SUPPLY_VOCABULARIES,Sze as LATER_PHASE,AAe as LAYOUT_EDIT_REFUSALS,dm as LEGACY_READ_ONLY_CONFIG_KEY,LD as LIGHT_SHARED_CAPS,XA as LINKED_DEVICES_SLOT,uh as LINKED_LABEL_STEP_PREFIX,DL as LLM_PROFILE_KIND_PATTERN,qL as LOAD_CONTRIBUTION_ATTRIBUTIONS,KL as LOAD_CONTRIBUTION_ROLES,Uv as LOCAL_DATE_PATTERN,Ide as LOCATION_DESCRIPTION_MAX,Pde as LOCATION_ICON_FALLBACK,Ace as LOG_CHANNEL_TICK_MS,Kf as LOG_LEVEL_RANK,_we as LTS_SCOPE_CLASS_SEPARATOR,zB as LabelAttributionSchema,Qf as LabelDefinitionSchema,JCe as LabelTierSchema,Hq as LatencySourceSchema,eL as LawnMowerActivitySchema,nL as LawnMowerControlStatusSchema,tm as LedgerWalkDeviceReportSchema,Qp as LedgerWalkInputSchema,$p as LedgerWalkRefusalSchema,nm as LedgerWalkReportSchema,em as LedgerWalkSkipCountsSchema,mce as LedgerWalkSkipReasonSchema,yv as LegacyAutomationRecipeSchema,L_ as LegacyConditionSchema,I_ as LegacyTriggerSchema,JA as LinkedDeviceSchema,qA as LinkedDevicesModeSchema,YA as LinkedDevicesSlotValueSchema,eU as ListNodeBenchmarkResultsInputSchema,Bf as ListTrackRelationsInputSchema,Vf as ListTrackRelationsResultSchema,Cw as LiveViewerCountSchema,zL as LlmDefaultSchema,RL as LlmDefaultSelectorSchema,_L as LlmDownloadProgressSchema,oL as LlmErrorCodeSchema,pL as LlmGenerateBaseInputSchema,lL as LlmGenerateErrSchema,sL as LlmGenerateOkSchema,uL as LlmGenerateResultSchema,dL as LlmImageSchema,IL as LlmListModelsErrorCodeSchema,FL as LlmListModelsInputSchema,LL as LlmListModelsResultSchema,kL as LlmModelFeaturesSchema,AL as LlmModelInfoSchema,yL as LlmNodeModelSchema,ML as LlmProfileFieldSchema,ESe as LlmProfileKindDescriptorSchema,OL as LlmProfileKindSchema,TSe as LlmProfileSchema,jL as LlmProviderConfigSchema,NL as LlmProviderWidgetSchema,cL as LlmRefusalSourceSchema,fL as LlmRetryPolicySchema,wL as LlmRuntimeAppleCompleteInputSchema,TL as LlmRuntimeCancelInputSchema,xL as LlmRuntimeCompleteInputSchema,bL as LlmRuntimeDiskUsageSchema,UL as LlmRuntimeNodeSchema,vL as LlmRuntimeStatusSchema,wSe as LlmTimeoutDefaults,BL as LlmUsageRollupSchema,aL as LlmUsageSchema,nJ as LoadBalancingSharesInputSchema,JL as LoadContributionSchema,MX as LocateSegmentResultSchema,Lde as LocationDescriptionAssignmentSchema,Fde as LocationIconAssignmentSchema,vC as LocationStatSchema,MR as LockControlStatusSchema,jR as LockStateSchema,PR as LogChannelApplyResultSchema,jm as LogChannelDescriptorSchema,Nm as LogChannelGate,Am as LogChannelLevelSchema,Pm as LogChannelRegistry,E1 as LogChannelWindowPatchSchema,Mm as LogChannelWindowSchema,T1 as LogChannelWindowStateSchema,LR as LogEntrySchema,IR as LogLevelSchema,VR as LogReadCapabilitiesSchema,zR as LogReadEntrySchema,RR as LogReadQuerySchema,BR as LogReadResultSchema,dS as LogStreamEntrySchema,x1 as LoggingEffectiveSchema,S1 as LoggingExplicitSchema,b1 as LoggingLevelLayerSchema,y1 as LoggingLevelSourceSchema,v1 as LoggingScopeKindSchema,D1 as LoggingSettingsPatchSchema,M1 as LoggingSettingsStateSchema,qR as LoginMethodContributionSchema,UR as LoginStageEnum,uH as LtsBucketSchema,ufe as MACRO_LABELS,fh as MASK_EMITTING_POSTPROCESSORS,nh as MASK_SUPPLY_STEP_IDS,Bse as MAX_ARCHIVED_DEBUG_NOTES,Lse as MAX_BIRTH_DECISION_RECORDS,zse as MAX_BIRTH_LATENCY_PROXY_MS,jCe as MAX_CAMERA_SENSORS,dDe as MAX_CLIP_EVENT_IDS,fDe as MAX_CLIP_LABELS,GDe as MAX_COMPONENT_BUTTONS,Sc as MAX_COMPOSITION_CODE_LENGTH,wae as MAX_COMPOSITION_FEATURES,Tae as MAX_COMPOSITION_FIELDS_PER_FEATURE,Eae as MAX_COMPOSITION_ITEMS,Wpe as MAX_CONDITION_DEPTH,Gpe as MAX_CONDITION_LEAVES,yie as MAX_EXPRESSION_AST_NODES,xie as MAX_EXPRESSION_BINDINGS,Sie as MAX_EXPRESSION_CALL_ARGS,bie as MAX_EXPRESSION_EVAL_STEPS,Yo as MAX_EXPRESSION_SOURCE_LENGTH,mae as MAX_HELPER_MEMBERS,Ype as MAX_HOLD_ATTEMPTS_LIMIT,Lm as MAX_KEYS,VDe as MAX_LAYOUT_GROUPS,BDe as MAX_LAYOUT_SPAN,Mce as MAX_REASONS_PER_KEY,jDe as MAX_REMOTE_BINDINGS,x_e as MAX_REMOTE_CHANNEL_DIGITS,MDe as MAX_REMOTE_CUSTOM_BUTTONS,y_e as MAX_REMOTE_SOURCES,b_e as MAX_REMOTE_SOURCE_STEPS,_Ve as MAX_REQUEUED_BUCKETS_PER_SERIES,ice as MAX_SENSOR_TRIGGER_DEVICES,eme as MAX_STEP_DEVICE_OUTCOMES,ime as MAX_TRACE_ARGS,ame as MAX_TRACE_ARG_LENGTH,Upe as MAX_TRACE_KEEP,qCe as MAX_TRACK_DEBUG_NOTE_LEN,Use as MAX_TRACK_PURITIES,Hse as MAX_TRACK_RELATIONS,npe as MAX_WHEN_DEPTH,rpe as MAX_WHEN_LEAVES,Tl as MEDIA_OWNER_TYPES,k_e as MEDIA_PLAYER_MAX_STEPS,kl as MEDIA_PRESENCE_OWNER_KINDS,Tze as METHOD_ACCESS_MAP,cVe as METHOD_DEVICE_SELECTORS,OCe as MIGRATION_API_V1_METHODS,Jne as MIGRATION_API_VERSION,Cd as MIGRATION_ID_PATTERN,aAe as MINUTES_PER_DAY,Ds as MINUTE_MS,tae as MIN_CUSTOM_MINUTES,m3 as MIN_RUN_MS,kte as MIN_SCRUBBED_LENGTH,Lq as MIN_SESSIONS_PER_DEVICE_RANGE,ha as MODEL_FORMATS,Eh as MODEL_HOSTING,wh as MODEL_PROVIDER_IDS,Ywe as MOTION_CLOSE_AFTER_MS,iYe as MOTION_CROP_DISPATCH_KEY,lYe as MOTION_CROP_MAX_REGIONS,sYe as MOTION_CROP_MOTION_PAD,cYe as MOTION_CROP_TRACKED_PAD,xU as MOTION_SOURCE_LABELS,PU as MOTION_SPAN_TIMEOUT_MS,nFe as MOTION_TRIGGER_FEATURE,VL as ManagedModelCatalogEntrySchema,mL as ManagedModelExtraFileSchema,hL as ManagedModelRefSchema,gL as ManagedRuntimeConfigSchema,sB as MaskGridDimsSchema,rB as MaskGridShapeSchema,iB as MaskLineShapeSchema,eB as MaskPointSchema,nB as MaskPolygonShapeSchema,oB as MaskPolygonVerticesSchema,tB as MaskRectShapeSchema,aB as MaskShapeKindSchema,NCe as MaskShapeSchema,tV as MediaFileInfoSchema,QB as MediaFileKindEnum,$B as MediaFileRefSchema,eV as MediaFileSchema,kp as MediaLocationCensusInputSchema,Ap as MediaLocationCensusRowSchema,jp as MediaLocationCensusSchema,FE as MediaPlayerAssumedFieldSchema,NE as MediaPlayerRepeatSchema,ME as MediaPlayerStateSchema,PE as MediaPlayerStateSourceSchema,IE as MediaPlayerStatusSchema,Al as MediaPresenceOwnerKindSchema,Tp as MediaRelocateModeSchema,kW as MeshLeafInfoSchema,YR as MeshPeerSchema,XR as MeshStatusSchema,QR as MeterStatusSchema,Uh as MethodAccessSchema,aj as MigrateDeviceResultSchema,rj as MigrateSwitchOutcomeSchema,ij as MigrateSwitchReportSchema,Dz as MigrationApiInfoSchema,kd as MigrationBodyKindSchema,fse as MigrationCatalogueSchema,jd as MigrationCycleError,Ud as MigrationDryRunResultSchema,Fd as MigrationEditSchema,wd as MigrationIdSchema,Vd as MigrationLedgerEntrySchema,Td as MigrationLevelSchema,Ad as MigrationMetaSchema,Od as MigrationOnFailureSchema,zd as MigrationOwnerResultSchema,Wd as MigrationOwnerStepSchema,Hd as MigrationPendingEntrySchema,Id as MigrationPlanSchema,Rd as MigrationProcedureResultSchema,Dd as MigrationScopeSchema,Bd as MigrationStatusSchema,Ed as MigrationStoreSchema,jl as MinVersionSchema,Ek as ModelBundleFileSchema,kh as ModelCatalogEntrySchema,Az as ModelConvertInputSchema,jh as ModelConvertMetadataSchema,Mz as ModelDistributeInputSchema,Nz as ModelDistributeResultSchema,xh as ModelExtraFileSchema,_h as ModelFormatEntrySchema,yh as ModelFormatPrecisionSchema,Sh as ModelFormatsSchema,Dh as ModelLicenseSchema,vh as ModelOnDiskStateSchema,Kq as ModelPinChangeSchema,Th as ModelProviderIdSchema,yH as ModelSubstitutionSchema,Ch as ModelVariantGroupSchema,Zz as MotionAnalysisResultSchema,KB as MotionEventSchema,IU as MotionOnMotionChangedDataSchema,Xz as MotionRegionSchema,vU as MotionSourceEnum,bU as MotionSourcesSchema,FU as MotionStatusSchema,zU as MotionTriggerRuntimeStateSchema,RU as MotionTriggerStatusSchema,Fz as MotionTriggeredBySchema,UU as MotionZoneOptionsSchema,WU as MotionZonePatchSchema,VU as MotionZoneRegionSchema,HU as MotionZoneStatusSchema,KU as MqttBrokerInfoSchema,ZU as MqttBrokerStatusSchema,dd as MutationFilterSchema,FEe as N100_IGPU_CLOCK_MHZ,PEe as N100_IGPU_EU,GYe as NATIVE_LEASE_ACTIVITY_FIELD,S9 as NATIVE_LEASE_ACTIVITY_KEY,JYe as NATIVE_LEASE_ADMISSION_FIELD,C9 as NATIVE_LEASE_ADMISSION_KEY,WYe as NATIVE_LEASE_BUDGET_FIELD,x9 as NATIVE_LEASE_BUDGET_KEY,UYe as NATIVE_LEASE_HOLD_FIELD,b9 as NATIVE_LEASE_HOLD_KEY,qYe as NATIVE_LEASE_SCENE_BUDGET_FIELD,T9 as NATIVE_LEASE_SCENE_BUDGET_KEY,VYe as NATIVE_LEASE_SECTION_ID,KYe as NATIVE_LEASE_TILE_BUDGET_FIELD,w9 as NATIVE_LEASE_TILE_BUDGET_KEY,eTe as NAVIGATION_ACTION_CATALOG,nTe as NAVIGATION_LIGHT_LEVEL_MAX,tTe as NAVIGATION_LIGHT_LEVEL_MIN,kWe as NC_ALARM_CONTROLLABLE_CAPS,x7 as NC_ALARM_DEFAULT_PROFILE_ID,S7 as NC_ALARM_DEFAULT_PROFILE_NAME,VWe as NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC,BWe as NC_ALARM_DELAY_FIELDS,JTe as NC_ALARM_DELAY_MAX_SEC,YTe as NC_ALARM_NONBLOCKING_MAX,HWe as NC_ALARM_NOTIFY_FIELDS,OWe as NC_ALARM_OPENING_EVENT_KINDS,SWe as NC_ALARM_PANEL_ACTION_IDS,iEe as NC_ALARM_SENSORS_MAX,rGe as NC_ALARM_SYSTEM_DEFAULT_DELAYS,uG as NC_ALARM_SYSTEM_EVENT_KINDS,kK as NC_ALARM_TRIGGERED_MAX_SEC,CWe as NC_ALARM_TRIGGER_ACTION_ID,dHe as NC_AUDIO_CONFIRM_HITS_DEFAULT,mHe as NC_AUDIO_CONFIRM_HITS_MAX,pHe as NC_AUDIO_CONFIRM_HITS_MIN,gHe as NC_AUDIO_CONFIRM_WINDOW_MAX_SEC,hHe as NC_AUDIO_CONFIRM_WINDOW_MIN_SEC,fHe as NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT,MTe as NC_AUDIO_DBFS_FLOOR,aHe as NC_AUDIO_DB_MAX,iHe as NC_AUDIO_DB_MIN,R5 as NC_AUDIO_DB_OFFERED,oHe as NC_AUDIO_DB_STEP,z5 as NC_AUDIO_DEFAULTS,cHe as NC_AUDIO_HIT_PERCENT_MAX,sHe as NC_AUDIO_HIT_PERCENT_MIN,uHe as NC_AUDIO_SAMPLING_MAX_SEC,lHe as NC_AUDIO_SAMPLING_MIN_SEC,UUe as NC_AUDIO_SEED,wTe as NC_AUTHORABLE_SYSTEM_EVENT_KINDS,PHe as NC_BASE_CONDITION_KEYS,TTe as NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS,AUe as NC_CAMERA_SCOPE_CAP_NAME,FTe as NC_CLIP_POST_ROLL_DEFAULT_SEC,PTe as NC_CLIP_PRE_ROLL_DEFAULT_SEC,aEe as NC_CLIP_RETENTION_MAX_SEC,pG as NC_COMMAND_ACTOR_KINDS,fG as NC_COMMAND_OUTCOMES,WTe as NC_CONDITION_CATALOG,ITe as NC_CONFIRM_DEFAULT_MAX_IMAGE_PX,KG as NC_CONFIRM_DEFAULT_TIMEOUT_MS,GG as NC_CONFIRM_MAX_TIMEOUT_MS,WG as NC_CONFIRM_MIN_TIMEOUT_MS,ETe as NC_CONSUMABLE_LOW_PERCENT_DEFAULT,DTe as NC_CONSUMABLE_LOW_PERCENT_MAX,dG as NC_CONSUMABLE_SYSTEM_EVENT_KINDS,ATe as NC_DEFAULT_SNOOZE_MINUTES,RTe as NC_GROUPING_DEFAULT_SEC,zTe as NC_GROUPING_MAX_SEC,LTe as NC_GROUPING_MIN_SEC,HTe as NC_GROUP_WITHIN_MAX_SEC,VTe as NC_GROUP_WITHIN_OTHER_DEFAULT_SEC,BTe as NC_GROUP_WITHIN_SYSTEM_DEFAULT_SEC,GTe as NC_HISTORY_LIMIT_DEFAULT,KTe as NC_HISTORY_LIMIT_MAX,lG as NC_LEGACY_SYSTEM_EVENT_KINDS,kTe as NC_MAX_PER_TRACK_IMMEDIATE,l7 as NC_MEDIA_IMAGE_MODES,HUe as NC_OCCUPANCY_DEFAULTS,QG as NC_RULE_CLEARABLE_KEYS,KUe as NC_RULE_EDITOR_SECTION_ORDER,e7 as NC_RULE_KIND_SPECS,ZG as NC_RULE_RETIRED_CLEAR_KEYS,o7 as NC_RULE_SECTIONS,T7 as NC_SENSOR_RAISED_FIELD_BY_KIND,E7 as NC_SENSOR_TRANSITION_KINDS,yGe as NC_SENSOR_TRANSITION_MEANINGS,FWe as NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING,vGe as NC_SENSOR_TRANSITION_UNSUPPORTED_REASON,fKe as NC_SERVER_PACKAGE_NAME,hG as NC_SNOOZE_MAX_MINUTES,nK as NC_STATE_SUMMARY_SECTION_IDS,n7 as NC_SYSTEM_DELIVERY,R7 as NC_SYSTEM_EVENT_CLASS_SPECS,mUe as NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS,q5 as NC_SYSTEM_EVENT_FAMILIES,J5 as NC_SYSTEM_EVENT_FAMILY,hUe as NC_SYSTEM_EVENT_FAMILY_FILTERS,lUe as NC_SYSTEM_EVENT_FILTER_KEYS,gUe as NC_SYSTEM_EVENT_KIND_GROUP_SPECS,QGe as NC_SYSTEM_EVENT_SUMMARY_FAMILIES,bUe as NC_SYSTEM_RULE_KINDS,STe as NC_TAXONOMY,PGe as NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS,NTe as NC_TEMPLATE_TITLE_MAX_CHARS,I7 as NC_TEMPLATE_VARS,U7 as NC_UPDATE_EVENT_PACKAGE_NAMES,xW as NETWORK_LINK_TYPES,CW as NETWORK_LINK_UNKNOWN,Jfe as NEXT_OCCURRENCE_HORIZON_DAYS,kH as NODE_BENCHMARK_DEFAULTS,ol as NODE_COLOR_IDS,K5 as NOTIFICATION_FIELDS,pu as NOTIFICATION_OUTPUT_CAP,Z as NOT_A_HERO_FACT,aF as NOT_REPORTED,uJe as NO_MEASURED_CAPACITY,tc as NUMERIC_AGGREGATES,rU as NativeCropBboxSchema,pH as NativeCropRefSchema,iU as NativeCropResultSchema,eW as NativeDetectionSchema,E9 as NativeLeaseAdmissionSchema,HYe as NativeLeaseSettingsSchema,$U as NativeObjectClassEnum,rW as NativeObjectDetectionOptionsSchema,aW as NativeObjectDetectionRuntimeStateSchema,iW as NativeObjectDetectionSettingsPatchSchema,tW as NativeObjectDetectionStatusSchema,nW as NativeObjectGeometryEnum,uW as NavigationActionEntrySchema,cW as NavigationActionIdSchema,lW as NavigationEntryKindSchema,fW as NavigationFeaturesSchema,pW as NavigationLightModeSchema,mW as NavigationModeSchema,sW as NavigationMoveCommandSchema,dW as NavigationPointSchema,gW as NavigationRuntimeStateSchema,hW as NavigationStatusSchema,DG as NcActionIdSchema,LK as NcAlarmBlockingEditSchema,VK as NcAlarmBlockingSchema,tq as NcAlarmConfigSchema,JK as NcAlarmCreateProfileInputSchema,eq as NcAlarmModeCoverageSchema,FK as NcAlarmModeDelaysEditSchema,PK as NcAlarmModeDelaysSchema,zK as NcAlarmModeDeviceListSchema,IK as NcAlarmNonBlockingEditSchema,BK as NcAlarmNonBlockingSchema,NK as NcAlarmPostTriggeredActionSchema,XK as NcAlarmProfileIdInputSchema,KK as NcAlarmProfileMetaSchema,qK as NcAlarmProfilesViewSchema,YK as NcAlarmRenameProfileInputSchema,RK as NcAlarmSecureOnArmEditSchema,HK as NcAlarmSecureOnArmOffSchema,nq as NcAlarmSensorReadingSchema,rq as NcAlarmSensorStateSchema,iq as NcAlarmSensorsInputSchema,aq as NcAlarmSensorsSchema,ZK as NcAlarmSettingsPatchSchema,GK as NcAlarmSettingsSchema,QK as NcAlarmSkipReasonSchema,$K as NcAlarmSkippedDeviceSchema,CG as NcAudioConditionSchema,oq as NcClipRetentionAskSchema,sq as NcClipRetentionPlanSchema,vK as NcConditionDescriptorSchema,NG as NcConditionsSchema,qG as NcConfirmExpectSchema,JG as NcConfirmSchema,wG as NcCrossingSchema,sG as NcDeliverySchema,jG as NcDeviceStateConditionSchema,SK as NcHistoryEntrySchema,CK as NcHistoryFilterSchema,bK as NcHistoryRecordKindSchema,yK as NcHistoryStatusSchema,xK as NcHistorySubjectSchema,OG as NcHookActionIdsSchema,BG as NcLinkedCameraModeSchema,zG as NcMediaFrameSchema,RG as NcMediaImageSchema,VG as NcMediaPolicySchema,SG as NcOccupancyConditionSchema,xG as NcPlateMatcherSchema,AG as NcRuleActionsSchema,$G as NcRuleClearableKeySchema,YG as NcRuleInputSchema,cK as NcRuleKindSchema,wK as NcRuleLastRunSchema,TK as NcRuleLastRunsSchema,kG as NcRuleNotificationButtonSchema,XG as NcRulePatchSchema,tK as NcRuleSchema,PG as NcRuleTargetSchema,eK as NcRuleUpdateInputSchema,MG as NcSceneConditionSchema,_G as NcScheduleSchema,gG as NcScheduleWindowSchema,TG as NcSensorTransitionSchema,DK as NcSnoozeInputSchema,OK as NcSnoozeSchema,EK as NcSnoozeScopeSchema,qTe as NcSnoozeSuppressedSchema,aK as NcStateSummaryPreviewRowSchema,oK as NcStateSummaryPreviewSchema,iK as NcStateSummaryPreviewSectionSchema,rK as NcStateSummarySectionIdSchema,yG as NcStateSummarySplitSchema,mG as NcSystemEventConditionSchema,vG as NcSystemEventDeliveryModeSchema,bG as NcSystemEventDeliverySchema,jTe as NcSystemEventDeliveryToggleSchema,cG as NcSystemEventKindSchema,FG as NcTargetAttachmentSchema,IG as NcTargetOverrideSchema,LG as NcTargetOverridesSchema,rG as NcTaxonomyEntrySchema,iG as NcTaxonomySchema,uK as NcTemplateDefaultSchema,dK as NcTemplateFamilySchema,fK as NcTemplateFieldSchema,gK as NcTemplatePreviewInputSchema,_K as NcTemplatePreviewSchema,hK as NcTemplateVarContextSchema,mK as NcTemplateVarDescriptorSchema,pK as NcTemplateVarGroupSchema,lK as NcTemplateVarKindSchema,sK as NcTestResultSchema,HG as NcThrottleGranularitySchema,UG as NcThrottleSchema,EG as NcZoneConditionSchema,yW as NetworkAccessStatusSchema,a1 as NetworkAddressSchema,vW as NetworkEndpointSchema,SW as NetworkLinkStatusSchema,rTe as NetworkTunnelStartedDataSchema,Gt as NoCallerError,UH as NodeBenchCellSchema,GH as NodeBenchClipSchema,VH as NodeBenchDeviceCellSchema,WH as NodeBenchFingerprintSchema,zH as NodeBenchLimitSchema,HH as NodeBenchPipelineCellSchema,RH as NodeBenchProgressSchema,BH as NodeBenchRampStepSchema,KH as NodeBenchRunnerInputSchema,qH as NodeBenchRunnerStateSchema,JH as NodeBenchRunnerStatusSchema,nU as NodeBenchmarkCandidatesSchema,jH as NodeBenchmarkDevicePlanSchema,XH as NodeBenchmarkEndReasonSchema,Vwe as NodeBenchmarkManifestSchema,FH as NodeBenchmarkMovingCameraSchema,AH as NodeBenchmarkPhaseSchema,MH as NodeBenchmarkPlanSchema,LH as NodeBenchmarkPreflightSchema,NH as NodeBenchmarkRefusalKindSchema,PH as NodeBenchmarkRefusalSchema,$H as NodeBenchmarkResultSchema,tU as NodeBenchmarkResultViewSchema,ZH as NodeBenchmarkRunSchema,YH as NodeBenchmarkStateSchema,QH as NodeBenchmarkStatusSchema,IH as NodeBenchmarkStayingCameraSchema,sl as NodeColorIdSchema,qq as NodeDeviceChangeSchema,UW as NodeDirectoryEntrySchema,WW as NodeDirectorySchema,jW as NodeHttpsStateSchema,Gq as NodeRecommendationSchema,NW as NodeRemovedInputSchema,PW as NodeRemovedResultSchema,Yl as NotificationActionIconSchema,Xl as NotificationActionSchema,hoe as NotificationFieldSchema,Jl as NotificationFormatSchema,$l as NotificationSchema,Soe as NotificationTargetStore,lq as NotifierStatusSchema,dq as NumericSensorStatusSchema,JXe as OAUTH_LANDING_PATH,YXe as OAUTH_LANDING_REASONS,NJe as OBJECT_DETECTION_STEP_ID,FBe as OPERATOR_WRITTEN_STALE_MS,nce as OPS_LOG_DEFAULT_LIMIT,tce as OPS_LOG_RING_DEFAULT_MAX,GXe as ORPHAN_SWEEP_MIN_INTERVAL_MS,xq as OSD_TEMPLATE_TEXT_MAX,Rm as OVERFLOW_REASON,Yce as OVERLAY_LAYERS,ve as OWNER_ONLY_EVENT_CATEGORIES,pq as OauthIntegrationDescriptorSchema,XB as ObjectEventSchema,MU as OccupancyBurstRefusalSchema,eY as OccupancyLookAnswerSchema,QJ as OccupancyLookRefusalSchema,$J as OccupancyLookRequestSchema,Eu as OldTargetBodySchema,xZ as OnboardFieldSupportSchema,_Z as OnboardRecordTrackSchema,SZ as OnboardScheduleSupportSchema,gZ as OnboardStorageSchema,hZ as OnboardStorageVolumeSchema,qf as OpsLogDomainSchema,Xf as OpsLogEntrySchema,Jf as OpsLogOpSchema,Zf as OpsLogQueryInputSchema,Yf as OpsLogReasonSchema,Bwe as OrchestratorMetricsSchema,tj as OrphanDeviceDataSchema,KXe as OrphanIntegrationSweep,Sq as OsdNamedTemplateSchema,hq as OsdOverlayKindEnum,yq as OsdOverlayPatchSchema,_q as OsdOverlaySchema,gq as OsdPositionEnum,Eq as OsdRenderOutcomeEnum,Dq as OsdRenderResultSchema,wq as OsdSlotBindingSchema,Tq as OsdSlotViewSchema,Cq as OsdSourceSchema,vq as OsdStatusSchema,Oq as OsdTemplatePreviewSchema,wye as OverrideDraftSchema,EM as PALETTE_BACKGROUNDS,SM as PALETTE_ENTRY_IDS,Mbe as PALETTE_MIN_CONTRAST,kbe as PALETTE_MIN_DELTA_E,Abe as PALETTE_MIN_DELTA_E_MARK,TM as PALETTE_PRESET_IDS,Ipe as PARALLEL_STEPS_MAX,Fpe as PARALLEL_STEPS_MIN,mje as PAUSE_MAX_MS,Ote as PEER_BYTES_CHUNK_BYTES,Ete as PEER_BYTES_MAX_OUTSTANDING,Dte as PEER_BYTES_STALL_MS,Tte as PEER_BYTES_TICKET_TTL_MS,Kve as PENDING_BLOCK_ID,fEe as PET_FEEDER_MANUAL_FEED_MAX,dEe as PET_FEEDER_MANUAL_FEED_MIN,Fq as PET_FOUNTAIN_WATER_KEY,LEe as PHOENIX_780M_CU,sd as PIPELINE_ANALYTICS_CAP_NAME,N4 as PIPELINE_FLOW_CAPABILITY_NAMES,CAe as PIPELINE_OWNER_CAPABILITY_NAMES,vJe as PIPELINE_RAMP,sBe as PLUG_APPLIANCE_TYPES,n8 as PLUS_CATALOG_CLASS_FLOORS,t8 as PLUS_CATALOG_STOCK_CLASS_FLOORS,$6 as PLUS_CATALOG_TO_MACRO,bPe as PLUS_CATALOG_UNMAPPED_LABELS,Bve as POWER_SOURCE_OFF_SECONDS_DEFAULT,zve as POWER_SOURCE_OFF_SECONDS_MAX,Rve as POWER_SOURCE_OFF_SECONDS_MIN,tue as PREFERENCES_MAX_DEVICE_ID_LENGTH,eue as PREFERENCES_MAX_NAMESPACES,$le as PREFERENCES_MAX_VALUE_BYTES,tg as PREFERENCES_NAMESPACE_PATTERN,Hle as PREFERENCES_SELF_SCOPE,od as PRIVACY_MASK_CAP_NAME,aje as PROPOSAL_MIN_SPAN_MS,uVe as PROVIDER_KIND_CAP_NAMES,mte as PROVIDER_PIN_FIELD,cR as PUBLIC_ENDPOINT_HTTP_REASON,p3 as PULSE_MAX_MS,lQe as PYTHON_SCRIPT,lS as PackageInstallationSchema,uS as PackageInstallationsSchema,$z as PackageLlmVerdictSchema,Qae as PackageRequiresSchema,eS as PackageUpdateSchema,tS as PackageVersionInfoSchema,GM as PaletteRejectedError,oU as ParkRefusalSchema,sU as ParkTrackFrameResultSchema,aU as ParkedFrameKindSchema,cU as ParkedTrackFrameSchema,KR as PasskeyLoginMethodSchema,B0 as PasskeySummarySchema,HS as PcmSampleFormatSchema,Qr as PeerBytesTicketSchema,D2 as PerScopeBreakdownSchema,Mq as PetFeederStatusSchema,Pq as PetFountainStatusSchema,Nw as PickStreamPreferencesSchema,Mw as PickStreamRequirementsSchema,Pw as PickedCamStreamSchema,wJ as PipelineAssignmentSchema,vH as PipelineDefaultStepSchema,gH as PipelineEngineChoiceSchema,bh as PipelineModelFormatStatusSchema,za as PipelineRunResultBridge,Ra as PipelineStepInputSchema,bH as PipelineValidationIssueSchema,xH as PipelineValidationResultSchema,Jge as PlaceholderReasonSchema,iJ as PlacementDeviceStatsSchema,aJ as PlacementNodeStatsSchema,rJ as PlacementStatsInputSchema,sJ as PlacementStatsSchema,Vt as PlaintextSecretError,EH as PolygonPointSchema,QZe as PoolMemoryWatchdog,OY as PowerMeterStatusSchema,SO as PowerSourceActionResultSchema,CO as PowerSourceInfoSchema,xO as PowerSourceRefusalReasonSchema,wO as PowerSourceStateSchema,w5 as PowerSwitchRefusedError,dY as PrecisionGopsSchema,ig as PreferenceDeviceIdSchema,ng as PreferenceNamespaceSchema,ag as PreferenceRowSchema,rg as PreferenceValueSchema,cue as PreferencesChangedSinceInputSchema,lue as PreferencesChangedSinceOutputSchema,oue as PreferencesDeleteInputSchema,sue as PreferencesDeleteOutputSchema,nue as PreferencesGetInputSchema,rue as PreferencesGetOutputSchema,iue as PreferencesPutInputSchema,aue as PreferencesPutOutputSchema,Zh as PreferencesSelfScopeSchema,MY as PresenceStatusSchema,PY as PressureSensorStatusSchema,zY as PrivacyMaskOptionsSchema,BY as PrivacyMaskPatchSchema,LY as PrivacyMaskRegionSchema,IY as PrivacyMaskShapeSchema,RY as PrivacyMaskStatusSchema,lu as ProbeTargetConfigResultSchema,na as ProfileRtspEntrySchema,qi as ProfileSlotSchema,Ki as ProfileSlotStatusSchema,c0 as ProviderJobStateSchema,l0 as ProviderJobStatusSchema,iqe as ProviderMotionDataSchema,MA as ProviderStatusSchema,eX as PtzAutotrackRuntimeStateSchema,ZY as PtzAutotrackSettingsSchema,$Y as PtzAutotrackStatusSchema,QY as PtzAutotrackTargetOptionSchema,JY as PtzHomePresetSchema,YY as PtzHomeReturnSchema,GY as PtzMoveCommandSchema,qY as PtzOptionsSchema,WY as PtzPositionSchema,HY as PtzPresetFunctionSchema,UY as PtzPresetSchema,KY as PtzStatusSchema,nX as PumpCycleStatusSchema,Ri as QUANTITY_BASE,Mg as QuantityUnitError,Ng as QuantityValueSchema,ud as QueryFilterSchema,Loe as RATE_CONTROL_RELAXED,Ioe as RATE_CONTROL_TIGHT,kBe as REACHABILITY_FAILURES_TO_OFFLINE,OBe as REACHABILITY_POLL_INTERVAL_MS,ABe as REACHABILITY_PROBE_TIMEOUT_MS,Lqe as RECALL_TIE,_ce as RECOGNITION_TYPES,ace as RECORDING_AUDIO_TRIGGER_OFFERED_DBFS,DDe as RECORDING_EXPORT_MAX_READ_BYTES,iDe as RECORDING_SOURCE_CAMSTACK,aDe as RECORDING_SOURCE_CAMSTACK_ADDON,oDe as RECORDING_TIMELINE_BATCH_MAX,kt as RECORDS_ERROR_CODES,mn as RECORD_BATCH_MAX,hn as RECORD_BATCH_MAX_BYTES,dn as RECORD_CLASSES,un as RECORD_DATABASES,fn as RECORD_DEFAULT_MAX_DATA_BYTES,_n as RECORD_DELETE_BATCH,mee as RECORD_ID_MAX_LENGTH,pn as RECORD_MAX_DATA_BYTES,hee as RECORD_MAX_INDEXES,gee as RECORD_MAX_INDEX_FIELDS,gn as RECORD_QUERY_MAX,yn as RECORD_SECRET_COLLECTION_PREFIX,vn as RECORD_SETTINGS_MAX_ROWS,_ee as RECORD_SWEEP_INTERVAL_MS,FJe as RECOVERY_CROP_MAX_SIDE_PX,PJe as RECOVERY_CROP_MIN_SIDE_PX,IJe as RECOVERY_CROP_PADDING_RATIO,GJe as RECOVERY_EDGE_MARGIN_PX,WJe as RECOVERY_FUSE_CONTAINMENT,UJe as RECOVERY_FUSE_IOU,RJe as RECOVERY_MAX_CROPS_PER_FRAME,BJe as RECOVERY_MAX_REGION_FRAME_FRACTION,zJe as RECOVERY_MIN_INTERVAL_MS,VJe as RECOVERY_MIN_UNCOVERED_FRACTION,HJe as RECOVERY_MOTION_MAX_AGE_MS,LJe as RECOVERY_VIEW_PX,dy as REDACTED_ARG,Ie as REDACTED_SECRET,pY as REFERENCE_COMPUTE,NEe as REFERENCE_MATCH_FRACTION,FZ as REMOTE_BUTTON_SHAPES,LZ as REMOTE_BUTTON_TONES,iQ as REMOTE_COMPONENT_CATEGORIES,eQ as REMOTE_CONFIG_REFUSALS,I4 as REMOTE_CUSTOM_ROLE_ICON,hE as REMOTE_CUSTOM_ROLE_PREFIX,zZ as REMOTE_GROUP_FRAMES,fE as REMOTE_KNOWN_ROLES,UDe as REMOTE_MAX_REPEAT,ZZ as REMOTE_MEDIA_COMMANDS,FF as REMOTE_OPEN_ACTION_ID,JZ as REMOTE_REFUSAL_REASONS,F4 as REMOTE_ROLE_VOCABULARY,SE as REMOTE_SOURCE_KINDS,w_e as REMOTE_STEP_DELAY_DEFAULT_MS,OE as REMOTE_STEP_DELAY_MAX_MS,T_e as REMOTE_STEP_DELAY_MIN_MS,pE as REMOTE_WIDGET_ROLES,HQe as REMOVAL_RECONCILE_INTERVAL_MS,cqe as REMOVED_MODEL_IDS,Cn as REMOVE_LEAF,Rpe as REPEAT_COUNT_MAX,Vpe as REPEAT_DEVICES_MAX,sv as REPEAT_ITEM_VAR,zpe as REPEAT_ITERATIONS_MAX,Bpe as REPEAT_STEPS_MAX,Zo as RESERVED_BINDING_NAMES,j4 as RESERVED_COLLECTION_SOURCES,$_ as RESERVED_RUN_VARS,Ms as RESET_PERIODS,gVe as RESTORED_CAP_NAMES,go as RESTREAM_INPUT_PROBE,kse as RETRAIN_REVIEW_ADJUSTED_IOU,Ose as RETRAIN_REVIEW_MATCH_IOU,vf as RETRAIN_REVIEW_STATUSES,Cf as RETRAIN_REVISION_CONFLICT,Pte as REVALIDATE_AFTER_MS,As as ROLLING_SPANS,wMe as ROOM_EXAMPLE_MOTION_SOURCES,CMe as ROOM_EXAMPLE_TEMPERATURE_SOURCES,SMe as ROOM_OCCUPANCY_WINDOW_MS,Bm as ROOT_BUCKET_KEY,xle as ROOT_CHILD_CONTAINMENT_MIN,SYe as ROOT_FACE_REFINE_INPUT_PX,xYe as ROOT_FACE_REFINE_SCALE,rh as ROOT_SUPPLIABLE_STEP_IDS,fQ as RUNNING_POWER_DEFAULTS_BY_TYPE,dQ as RUNNING_POWER_GLOBAL_DEFAULTS,JDe as RUNNING_POWER_MIN_SAMPLES,lQ as RUNNING_POWER_START_DELAY_MS,uQ as RUNNING_POWER_STOP_DELAY_MS,qDe as RUNNING_POWER_THRESHOLD_WATTS,YDe as RUNNING_STATE_COLD,dre as RUNTIME_DEFAULTS,fVe as RUNTIME_STATE_POLICY,PBe as RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS,cQe as RUNTIME_TO_FORMAT,QO as RawSecretMigrationInputSchema,$O as RawSecretMigrationReportSchema,Kne as RawStateResultSchema,PX as ReadGopBytesResultSchema,NX as ReadSegmentBytesResultSchema,FX as ReadWindowBytesResultSchema,_ne as ReadinessRegistry,ua as ReadinessTimeoutError,Ii as ReadingQuantitySchema,cH as RebuildObjectEmbeddingsRefusalSchema,$V as RecentTracksPageSchema,QV as RecentTracksQueryInput,Bq as RecommendationReasonSchema,cz as RecordBodySchema,Lr as RecordFieldPathSchema,sz as RecordIdSchema,Rr as RecordIndexSchema,lz as RecordInputSchema,Nn as RecordIntegrationInstances,Hr as RecordKindDeclarationSchema,Ur as RecordKindNameSchema,zt as RecordNotFoundError,mz as RecordQueryInputSchema,hz as RecordQueryResultSchema,zr as RecordRetentionSchema,yz as RecordSecretRefsSchema,Ut as RecordSecretUnavailableError,Ft as RecordTooLargeError,vz as RecordTransactOpSchema,pZ as RecordTriggerSchema,Bt as RecordUniqueViolationError,uz as RecordViewSchema,dz as RecordWhereSchema,mZ as RecordWindowSchema,SX as RecordingAvailabilityForDeviceSchema,pX as RecordingAvailabilitySchema,dp as RecordingBandAudioSchema,lp as RecordingBandModeSchema,fp as RecordingBandSchema,up as RecordingBandTriggersSchema,hp as RecordingConfigSchema,CX as RecordingDaysForDeviceSchema,mX as RecordingDaysSchema,wX as RecordingDeviceUsageSchema,TX as RecordingLocationUsageSchema,hX as RecordingManifestSchema,op as RecordingObjectTriggerClassSchema,CZ as RecordingOnboardOptionsSchema,wZ as RecordingOnboardPatchSchema,vZ as RecordingOnboardStatusSchema,yX as RecordingPlaybackSchema,dX as RecordingRangeSchema,fX as RecordingReadSchema,jX as RecordingRebalanceInputSchema,DX as RecordingRebalanceMoveSchema,AX as RecordingRebalancePlanSchema,OX as RecordingRebalanceSkipReasonSchema,kX as RecordingRebalanceSkipSchema,mp as RecordingRetentionSchema,DZ as RecordingSignalRuntimeStateSchema,EZ as RecordingSignalStatusSchema,gX as RecordingSourceAvailabilitySchema,vX as RecordingSourceOptionsSchema,_X as RecordingSourceSchema,xX as RecordingStatusSchema,ap as RecordingStorageModeSchema,EX as RecordingStorageUsageSchema,cp as RecordingTriggersSchema,rp as RecordingWeekdaySchema,Nt as RecordsError,WR as RedirectLoginMethodSchema,im as RelocatableMediaCountInputSchema,rm as RelocatableMediaCountSchema,xp as RelocateFootageClassSchema,Sp as RelocateFootageInputSchema,bp as RelocateJobSchema,yp as RelocateJobStateSchema,Ep as RelocateMediaInputSchema,Xp as RelocateResidueInputSchema,Zp as RelocateResidueSchema,RDe as RemoteAssumedStateSchema,kZ as RemoteBindingActionSchema,AZ as RemoteBindingSchema,KZ as RemoteBoundCommandSchema,IZ as RemoteButtonShapeSchema,RZ as RemoteButtonToneSchema,qZ as RemoteCommandListSchema,oQ as RemoteComponentButtonSchema,aQ as RemoteComponentCategorySchema,NZ as RemoteConfigSchema,jZ as RemoteCustomButtonSchema,wE as RemoteDigitsSourceSchema,BZ as RemoteGroupFrameSchema,EE as RemoteIrSourceSchema,VZ as RemoteLayoutButtonSchema,sQ as RemoteLayoutComponentSchema,HZ as RemoteLayoutGroupSchema,GZ as RemoteLayoutPayloadSchema,$Z as RemoteMediaCommandResultSchema,QZ as RemoteMediaCommandSchema,YZ as RemoteRefusalReasonSchema,MZ as RemoteRefusedSourceSchema,xE as RemoteRoleSchema,XZ as RemoteSendResultSchema,TE as RemoteSequenceSourceSchema,tQ as RemoteSetConfigResultSchema,v_e as RemoteSourceKindSchema,DE as RemoteSourceSchema,ou as RenderedAsSchema,Que as RenewDeviceCertificateOutputSchema,$ue as RenewDeviceCertificateResultSchema,CU as ReportMotionInputSchema,k1 as ReportedFailureContributionSchema,O1 as ReportedLoadContributionSchema,f1 as RequestCensusGroupSchema,p1 as RequestCensusProcedureSchema,m1 as RequestCensusSnapshotSchema,h1 as RequestCensusStatusSchema,Il as RequiredAddonUpdateSchema,fV as RetrainAnnotationDraftSchema,rV as RetrainAnnotationKindSchema,dV as RetrainAnnotationSchema,iV as RetrainAnnotationSourceSchema,NV as RetrainArchiveResultSchema,MV as RetrainArchiveTargetSchema,BV as RetrainAssistProfileSchema,FV as RetrainAssistResultSchema,PV as RetrainAssistSubjectSchema,lV as RetrainBoxReviewSchema,LV as RetrainCollectionCreateResultSchema,RV as RetrainCollectionRenameResultSchema,IV as RetrainCollectionSchema,xV as RetrainCopyRefusalSchema,TV as RetrainCorpusFilterSchema,OV as RetrainCorpusKpiCameraRowSchema,kV as RetrainCorpusKpiSchema,EV as RetrainCorpusPageFrameSchema,DV as RetrainCorpusPageSchema,WV as RetrainDatasetSelectionSchema,GV as RetrainDatasetStatsSchema,XCe as RetrainDatasetVersionSchema,sV as RetrainDismissedSchema,AV as RetrainExportFilterSchema,jV as RetrainExportLayoutSchema,_V as RetrainFrameCandidateSchema,CV as RetrainFrameListSchema,yV as RetrainFrameOriginSchema,uV as RetrainFrameReviewSchema,bV as RetrainFrameSchema,SV as RetrainFrameSelectionSchema,wV as RetrainFrameWorkStateSchema,UV as RetrainLlmAssistResultSchema,VV as RetrainLlmProposalSchema,HV as RetrainLlmReviewSchema,nV as RetrainMacroClassSchema,oV as RetrainOriginSchema,vV as RetrainPipelineBoxSchema,cV as RetrainReviewStatusSchema,PB as RetrainStatusSchema,gV as RetrainTrackSchema,qV as RetrainTrainingCorpusResolveResultSchema,KV as RetrainTrainingCorpusSelectionSchema,JV as RetrainTransitionResultSchema,mV as RetrainVerdictSchema,hV as RetrainVerdictSubjectSchema,pV as RetrainVerdictValueSchema,Pt as RevConflictError,ede as RevokeOwnDeviceCertificateResultSchema,nQe as RingBuffer,Rs as RollingWindowSchema,Oh as RootStepSupplySchema,Tw as RtpSourceSchema,gw as RtspRestreamEntrySchema,Di as RuleFireOriginSchema,The as RunGate,ZQ as RunnerBootCheckSchema,DU as RunnerCameraConfigSchema,qwe as RunnerCameraDeviceUIFields,wU as RunnerFrameSourceSchema,EU as RunnerInferenceDeviceSchema,TU as RunnerJumpStepProvisioningSchema,OU as RunnerLocalLoadSchema,jU as RunnerLocalMetricsSchema,XQ as RunnerRefusalSchema,KO as RunningProposalConfidenceSchema,YO as RunningProposalEvidenceSchema,XO as RunningProposalInsufficientEvidenceSchema,qO as RunningProposalInsufficientReasonSchema,JO as RunningProposalReplaySchema,GO as RunningProposalTierSchema,hQ as RunningStateSourceSchema,gQ as RunningStateStatusSchema,ZO as RunningThresholdProposalSchema,GQe as SAMSUNG_CARRIER_HZ,KQe as SAMSUNG_MAX_BITS,ZDe as SCENE_CONDITIONS,nOe as SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX,kQ as SCENE_CONFIRM_DEFAULT_TIMEOUT_MS,DQ as SCENE_DEFAULT_ANCHOR_THRESHOLD,tOe as SCENE_DEFAULT_CHECK_INTERVAL_SEC,eOe as SCENE_DEFAULT_OBSERVATION_SPACING_SEC,$De as SCENE_DEFAULT_QUIET_SECONDS,OQ as SCENE_DEFAULT_UNCOVERED_POLICY,QDe as SCENE_DIVERGED,rOe as SCENE_RESET_RECAPTURES,Xpe as SCHEDULER_WAIT_MAX_SECONDS,Hn as SCOPED_SETTINGS_SCOPES,ZVe as SCOPE_PRESETS,qe as SECRET_CLEAR,_te as SECRET_META,$t as SECRET_REF_SCHEME,iFe as SENSOR_FEATURES,oFe as SENSOR_MAP,Bqe as SERIAL_CAPACITY_CAMERA_FPS,Hie as SERIES_KINDS,pOe as SERVER_NAME_MAX_LENGTH,fOe as SERVER_NAME_SETTING_KEY,zl as SESSION_LOST_ALERT_CATEGORY,vEe as SESSION_PLACEMENT_SETTING_KEY,Dpe as SET_VARS_MAX,Q_ as SET_VAR_NAME_RE,Ope as SET_VAR_VALUE_MAX,rJe as SHARE_AFFINITY_TOLERANCE_SESSIONS,xEe as SHARE_SOURCE_SETTING_KEY,Zr as SHARE_VIEW_KINDS,Vle as SHARE_VIEW_MAX_DEVICES,MSe as SINGLE_HUB_ADDRESS_ROLES,sge as SLICE_MAX_LINES,vl as SMTP_INBOUND_DEFAULT_DOMAIN,Fae as SMTP_INBOUND_DEFAULT_ID,yl as SMTP_INBOUND_DEFAULT_MAX_MESSAGE_BYTES,_l as SMTP_INBOUND_DEFAULT_PORT,Pae as SMTP_INBOUND_KIND,Lae as SMTP_INBOUND_RING_MAX_AGE_MS,Iae as SMTP_INBOUND_RING_MAX_MESSAGES,bl as SMTP_INBOUND_TEXT_MAX_CHARS,Rae as SMTP_RECIPIENT_CLAIMED,Oo as SOURCE_CAPS,Eo as SOURCE_CAP_ACTIVE_FIELD,Do as SOURCE_CAP_CHANGED_AT_FIELD,cie as SOURCE_DEVICE_TYPES,jg as SOURCE_INFO_METADATA_KEY,Due as SSO_STATE_COOKIE,Oue as SSO_STATE_COOKIE_MAX_AGE_SEC,vKe as STATE_LABELS,_Ke as STATE_LABEL_KEYS,Zce as STATIONARY_OVERLAY_STYLE,vs as STATISTIC_STATS,Sme as STEP_DEVICE_CONCURRENCY,jpe as STEP_NEST_MAX,Epe as STOP_REASON_MAX,Ece as STORAGE_ACCESS_FALLBACK,Sm as STORAGE_BYTES_PER_GB,lm as STORAGE_LOCATION_MODES,M4 as STREAM_PROFILE_META,Hf as STREAM_QUALITY_LABELS,cWe as SUBJECT_PATH_DWELL_EPS,sWe as SUBJECT_PATH_FULL_FRAME_COVERAGE,lWe as SUBJECT_PATH_MAX_POINTS,gce as SUB_DETECTION_TYPES,Gg as SUNRISE_ALTITUDE_DEG,Oze as SYSTEM_CAP_NAMES,lVe as SYSTEM_SCOPE_DEVICE_METHODS,EQ as SceneCheckSchema,bQ as SceneConditionSchema,AQ as SceneConfirmSchema,jQ as SceneMonitorSchema,TQ as SceneMonitorStateSchema,NQ as SceneMonitorStatusForDeviceSchema,MQ as SceneMonitorStatusSchema,wQ as SceneReferenceSchema,CQ as SceneUnavailableSchema,xQ as SceneUncoveredPolicySchema,SQ as SceneVerdictSchema,Kv as SchedulerConflictSchema,$pe as SchedulerError,Qpe as SchedulerErrorCodeSchema,Iv as SchedulerInputSchema,Rv as SchedulerOutcomeSchema,jv as SchedulerPointModeSchema,Pv as SchedulerPointSchema,Wv as SchedulerPreviewPointSchema,Gv as SchedulerPreviewSchema,Fv as SchedulerProfileSchema,Lv as SchedulerSchema,kv as SchedulerStateTreeSchema,Jv as SchedulerStatusSchema,Av as SchedulerTimeSpecSchema,zle as ScopedTokenSchema,aH as ScoredObjectEventSchema,LQ as ScriptRunnerStatusSchema,rS as SearchResultSchema,l$ as SendEmailInputSchema,u$ as SendEmailResultSchema,su as SendResultSchema,OB as SensorEventSchema,zQ as ServerBootModeSchema,t1 as ServerNameInfoSchema,e1 as ServerNameSchema,QQ as ServerPackageStatusSchema,KQ as ServerRollbackInfoSchema,n$ as ServerUpdateActionResultSchema,$Q as ServerUpdateCheckResultSchema,e$ as ServerUpdateOutcomeSchema,BQ as ServerUpdateStateSchema,Hl as SessionHealthTracker,eJ as SessionPlacementPolicySchema,yU as SessionTriggerSchema,ZJ as SetCameraSensorsInputSchema,j1 as SetLoggingSettingsInputSchema,PN as SetOscillationAxisInputSchema,_J as SetShareSourceInputSchema,l1 as SetSiteLocationInputSchema,Rf as SetTrackPurityInputSchema,zf as SetTrackPurityResultSchema,Ff as SetTrackRelationInputSchema,Ax as SettingsPatchSchema,md as SettingsRecordSchema,kx as SettingsSchemaWithValuesSchema,Mx as SettingsUpdateResultSchema,mJ as ShareSourceSchema,Jh as ShareViewGrantSchema,Yh as ShareViewScopeSchema,CEe as ShareWeightsSchema,s1 as SiteLocationSchema,o1 as SiteLocationSourceSchema,c1 as SiteLocationStatusSchema,SA as SiteZoneSchema,a$ as SmokeStatusSchema,Cl as SmtpInboundAttachmentSchema,Bae as SmtpInboundConfigSchema,Vae as SmtpInboundFilterSchema,wl as SmtpInboundMessageSchema,zae as SmtpInboundSettingsSchema,Hae as SmtpInboundSinceSchema,Sl as SmtpRecipientSchema,d$ as SmtpStatusSchema,p$ as SnapshotImageSchema,kg as SourceInfoSchema,jge as SpatialDetectionSchema,h$ as SsoBridgeClaimsSchema,S$ as StaleDataReportSchema,oJ as StaleDevicePinSchema,b$ as StaleKindFindingSchema,x$ as StaleSettingsKeyFindingSchema,Xw as StartClusterUpdateResultSchema,XU as StartEmbeddedInputSchema,rde as StartEnrollmentOutputSchema,k2 as StationaryObjectSchema,Rg as StationarySubjectSchema,hae as StatisticHelperSpecSchema,Bs as StatisticWindowSchema,ty as StepDeviceTraceSchema,xy as StepTemplateError,P$ as StorageAbortUploadInputSchema,Tm as StorageAccessSchema,F$ as StorageBeginDownloadInputSchema,I$ as StorageBeginDownloadResultSchema,A$ as StorageBeginUploadInputSchema,j$ as StorageBeginUploadResultSchema,om as StorageCleanupInputSchema,sm as StorageCleanupJobSchema,am as StorageCleanupPhaseSchema,cm as StorageCleanupStatusInputSchema,Cm as StorageDrainProgressSchema,R$ as StorageEndDownloadInputSchema,vce as StorageEvictionPolicySchema,N$ as StorageFinalizeUploadInputSchema,y$ as StorageKindSchema,Em as StorageLocationDeclarationSchema,um as StorageLocationModeSchema,wm as StorageLocationRefSchema,xm as StorageLocationSchema,bm as StorageLocationTypeSchema,Np as StorageMigrationClassSchema,Pp as StorageMigrationDestinationsSchema,Yp as StorageMigrationDrainInputSchema,Up as StorageMigrationFindingCodeSchema,Wp as StorageMigrationFindingSchema,wp as StorageMigrationFootageMoveInputSchema,Lp as StorageMigrationInputSchema,Hp as StorageMigrationJobSchema,Kp as StorageMigrationLaneSchema,Cp as StorageMigrationLeaseInputSchema,Mp as StorageMigrationMediaMoveInputSchema,Ip as StorageMigrationModeSchema,Bp as StorageMigrationMoveProgressSchema,Vp as StorageMigrationMoveSchema,qp as StorageMigrationMoverSchema,zp as StorageMigrationParticipantSchema,Rp as StorageMigrationPhaseSchema,Gp as StorageMigrationPlanSchema,Jp as StorageMigrationResidueSchema,Fp as StorageMigrationSourcesSchema,E$ as StorageOccupancyReportSchema,O$ as StorageProviderInfoSchema,L$ as StorageReadChunkInputSchema,v$ as StorageTableSchema,k$ as StorageTestLocationResultSchema,M$ as StorageWriteChunkInputSchema,nie as StoredDeviceTypeSchema,bte as StoredRecordKindDeclarationSchema,jw as StreamCodecSchema,dw as StreamFormatSchema,TW as StreamNetworkStatsSchema,K$ as StreamParamsOptionsSchema,W$ as StreamParamsStatusSchema,U$ as StreamProfileConfigSchema,G$ as StreamProfileOptionsSchema,q$ as StreamProfilePatchSchema,H$ as StreamProfileSchema,Y$ as StreamSignalSchema,X$ as StreamSignalsStatusSchema,Ji as StreamSourceEntrySchema,fne as StreamSourceSchema,Qi as SubscribeAudioChunksInputSchema,$i as SubscribeAudioChunksResultSchema,uJ as SuggestSharesInputSchema,pJ as SuggestSharesResultSchema,dJ as SuggestedDeviceShareSchema,fJ as SuggestedNodeShareSchema,Bfe as SunEventSchema,fH as SuppliedRootOutputSchema,Q$ as SwitchStatusSchema,QI as SystemHeldSecretNameSchema,az as SystemMetricsSchema,YBe as SystemMirror,Cu as TARGET_OWNER_KEY,R1 as TEMPLATE_KINDS,B1 as TEMPLATE_PAYLOAD_SCHEMAS,H1 as TEMPLATE_WRITE_REFUSALS,_3 as THRESHOLD_GRID_W,zP as TIMED_RUN_DEVICE_ROLES,RP as TIMED_RUN_DEVICE_TYPES,IP as TIMED_RUN_HEATER_LIMIT,LP as TIMED_RUN_PET_FOUNTAIN_LIMIT,VKe as TIMELAPSE_DENSE_FLOOR_SEC,km as TIMEZONES,Wse as TRACK_RELATIONS_DEFAULT_LIMIT,rf as TRAINING_JOB_SCHEMA,af as TRAINING_RESULT_SCHEMA,zoe as TRANSCODE_DOWN_MAX_BITRATE_KBPS,Roe as TRANSCODE_DOWN_MAX_HEIGHT,hpe as TRIGGERED_BY_MAX_IDS,P1 as TamperStatusSchema,nu as TargetKindCapsSchema,eu as TargetKindLevelSchema,ru as TargetKindSchema,tu as TargetKindTextCapsSchema,iu as TargetSchema,I1 as TemperatureSensorStatusSchema,G1 as TemplateDeleteResultSchema,z1 as TemplateKindSchema,V1 as TemplateRecordSchema,W1 as TemplateUserSchema,U1 as TemplateWriteResultSchema,Y1 as TerminalInstanceInfoSchema,X1 as TerminalLegacyCameraSchema,Q1 as TerminalOutputBatchSchema,Z1 as TerminalOutputEventSchema,J1 as TerminalProfileInfoSchema,q1 as TerminalSessionInfoSchema,uI as TestConnectionResultSchema,lI as TestConnectionStatusEnum,cu as TestResultSchema,_ae as ThresholdHelperSpecSchema,Jg as TimeSpecSchema,Exe as TimedRunActuatorSchema,JP as TimedRunOptionsSchema,UP as TimedRunQuickRunSchema,GP as TimedRunRefusalSchema,KP as TimedRunResultSchema,YP as TimedRunSettingsPatchSchema,qP as TimedRunStatusSchema,FP as TimedRunUnitSchema,qKe as TimelapseRuleInputSchema,YKe as TimelapseRulePatchSchema,XKe as TimelapseRuleSchema,G7 as TimelapseTemplateSchema,e0 as ToastSchema,Kh as TokenScopeSchema,RW as TopologyNodeSchema,LW as TopologyProcessSchema,IW as TopologyServiceSchema,Zv as TraceNodeOutcomeSchema,Yv as TraceValueSchema,oH as TrackCascadeCountsSchema,AB as TrackEnvelopeSchema,LB as TrackFlagsPatchSchema,RB as TrackFlagsSchema,UB as TrackPlacementSchema,jB as TrackProjectionSchema,Pf as TrackPuritySchema,Mf as TrackPurityValueSchema,Af as TrackRelationKindSchema,Gse as TrackRelationRefusalSchema,Nf as TrackRelationSchema,WB as TrackSchema,jf as TrackSideSchema,NB as TrackSourceSchema,xB as TrackStateSchema,CB as TrackZoneFilterSchema,nwe as TrackedDetectionSchema,u0 as TrainerSourceRefSchema,w0 as TrainingAcceleratorRefSchema,h0 as TrainingBaseModelSchema,T0 as TrainingCanarySchema,E0 as TrainingCanaryTargetSchema,df as TrainingCatalogDraftSchema,m0 as TrainingCorpusSelectionSchema,ff as TrainingEvalClassSchema,pf as TrainingEvalReportSchema,_f as TrainingEventSchema,VB as TrainingExportDeviceTotalsSchema,sf as TrainingExportSchema,HB as TrainingExportSummarySchema,S0 as TrainingFailureReasonSchema,n0 as TrainingGpuOptionSchema,b0 as TrainingJobPlanSchema,_0 as TrainingJobRequestSchema,D0 as TrainingJobSchema,Ese as TrainingJobSpecSchema,x0 as TrainingJobStateSchema,f0 as TrainingLogLineSchema,g0 as TrainingPresetSchema,C0 as TrainingProgressPointSchema,i0 as TrainingProviderDefaultsSchema,s0 as TrainingProviderDescriptorSchema,o0 as TrainingProviderEntrySchema,a0 as TrainingProviderTypeSchema,y0 as TrainingRefusalReasonSchema,r0 as TrainingRegionOptionSchema,lf as TrainingResultFileSchema,mf as TrainingResultSchema,v0 as TrainingSplitPlanSchema,hf as TrainingStageSchema,qt as TransactRefusedError,ji as TransitionActorKindSchema,Ai as TransitionActorSchema,Ni as TransitionCommandSchema,Mi as TransitionOutcomeSchema,cM as TransitionRecordResultSchema,sM as TransitionRefusalReasonSchema,ki as TransitionValueSchema,lM as TransitionsStatusSchema,OI as TransmitSettingKeySchema,QT as TransmitSettingsSchema,d1 as TransportPlaneCountsSchema,u1 as TransportPlaneSchema,A0 as TurnServerSchema,zm as UNATTRIBUTED_BUCKET_KEY,cl as UNIT_TABLE,L3 as UNLOCK_CONFIRMATION,ch as USE_ROOT_MODEL_DEFAULTS,lh as USE_ROOT_MODEL_SETTING_KEY,lx as UnexposeEntityInputSchema,It as UnindexedFilterError,oS as UninstallNodeOutcomeSchema,sS as UninstallNodeResultSchema,cS as UninstallPackageResultSchema,ll as UnitConversionError,Ob as UnitWarningSchema,Ul as UnknownInstanceError,Wl as UnknownInstanceKindError,Rt as UnknownRecordKindError,Fl as UnmetRequirementSchema,kT as UnreleasedClaimSchema,Op as UnstampedEventMediaCountSchema,Dp as UnstampedRowsSchema,t$ as UpdateBlockerSchema,dI as UpdateIntegrationInputSchema,M0 as UpdateStatusSchema,I0 as UpdateUserInputSchema,Rle as UserRecordSchema,qh as UserScopeSchema,P0 as UserSummarySchema,l2 as VECTOR_INDEX_DIM_CONFLICT,R9 as VENDOR_LOGIN_PROXY_PREFIX,SDe as VIDEOCLIPS_MAX_OFFER_BYTES,xDe as VIDEOCLIPS_MAX_READ_BYTES,kle as VIEWER_FEATURES,Ih as VIEWER_FEATURE_IDS,sce as VISIT_MERGE_GAP_MS,Nze as VOCAB_TEMPLATES,U0 as VacuumControlStatusSchema,H0 as VacuumStateSchema,G0 as ValveStateSchema,K0 as ValveStatusSchema,$0 as VectorDeclareIndexInputSchema,a2 as VectorDeleteByFilterInputSchema,i2 as VectorDeleteInputSchema,o2 as VectorDeleteResultSchema,X0 as VectorFilterSchema,s2 as VectorGetInputSchema,c2 as VectorGetResultSchema,Z0 as VectorItemSchema,Q0 as VectorMatchSchema,Y0 as VectorMetadataSchema,J0 as VectorMetricSchema,n2 as VectorQueryInputSchema,r2 as VectorQueryResultSchema,u2 as VectorStatsInputSchema,d2 as VectorStatsResultSchema,e2 as VectorUpsertInputSchema,t2 as VectorUpsertResultSchema,BZe as VendorLoginProxy,p2 as VibrationStatusSchema,ku as VideoEncodeSchema,Rh as ViewerDeviceAllowSchema,Lh as ViewerFeatureIdSchema,zh as ViewerTokenScopeSchema,Ia as VocabActionError,B_ as WAIT_MAX_SECONDS,nv as WAIT_UNTIL_TIMEOUT_MAX_S,IOe as WEBRTC_CLIMB_HOLD_CODES,Poe as WEBRTC_EGRESS_PROFILE,LOe as WEBRTC_TRY_BLOCKERS,cAe as WEEKLY_MASK_LENGTH,rt as WELL_KNOWN_TABS,it as WELL_KNOWN_TAB_MAP,oke as WHEN_UNROLL_DEPTH,h2 as WaterHeaterStatusSchema,_2 as WeatherStatusSchema,C2 as WebrtcClimbHoldSchema,S2 as WebrtcLadderDecisionSchema,T2 as WebrtcSessionDebugSchema,x2 as WebrtcStreamChoiceSchema,b2 as WebrtcStreamTargetSchema,w2 as WebrtcTierFailureSchema,Yg as WeekdayKeySchema,QF as WhiteBalanceModeSchema,Px as WidgetHostEnum,GR as WidgetLoginMethodSchema,Lx as WidgetMetadataSchema,Ix as WidgetRemoteSchema,Fx as WidgetSizeEnum,QA as WrapperActivationReadSchema,WQ as WrapperEvidenceSchema,GQ as WrapperIdentitySchema,UQ as WrapperKindSchema,qW as YAMNET_TO_MACRO,JB as ZoneCrossingDirectionSchema,YB as ZoneCrossingSchema,TH as ZoneKindEnum,I2 as ZoneRuleModeEnum,L2 as ZoneRuleSchema,R2 as ZoneRuleStageEnum,ROe as ZoneRulesArraySchema,DH as ZoneSchema,O2 as ZoneScopeBreakdownSchema,hne as __resetDebugInterestForTests,kce as __resetLogChannelRegistryForTests,Q7 as acceleratorKindOf,vx as accessoriesCapability,PPe as accessoryChildrenComplete,NPe as accessoryChildrenUnknown,kPe as accessoryStableId,Fa as actionEffect,yx as actionSourceCapability,uge as actionWaitTotalMs,Cx as actionsCapability,dGe as activateAlarmProfile,$_e as activeForReducer,Pje as actuatorMethodRow,$3 as actuatorSwitchDrivesRunning,Q3 as actuatorSwitchRead,tAe as addonCatalogHref,gb as addonIdOfActionId,Tx as addonPagesCapability,zne as addonPagesSourceCapability,Ex as addonRoutesCapability,Nx as addonSettingsCapability,Bx as addonWidgetsCapability,Rx as addonWidgetsSourceCapability,pS as addonsCapability,Hne as adminUiCapability,ude as advertisedHubOrigins,Hqe as aggregateThroughputFactor,hS as airQualitySensorCapability,LWe as alarmDeviceBlocksArming,RWe as alarmDeviceSecureOnArm,yS as alarmPanelCapability,nGe as alarmPatchLanded,pGe as alarmProfileById,TGe as alertEpisodeId,DGe as alertEpisodeKind,kGe as alertEpisodePayload,EGe as alertNodeId,wS as alertsCapability,cze as allHeroLooks,Na as allVocabActions,yle as allowedSuppliedEffect,ES as ambientLightSensorCapability,N3 as annotateClipsWithEventLabels,_xe as anyAxisOscillating,Bg as anySubjectMatches,Eue as appFlowLocation,rme as appendTrace,gBe as applianceExport,XWe as applyBlockingEdit,dYe as applyCropClassFloors,JWe as applyModeDelaysEdits,v7 as applyModeDeviceListEdit,fqe as applyModelBoundSettings,YWe as applyNonBlockingEdit,m8 as applyPrimaryChildPreference,h8 as applyPrimaryChildRule,ZWe as applySecureOnArmEdit,uO as arithmeticDraft,WQe as armRemovalReconcile,sn as arrayItemFieldPath,Are as asBoolean,Dre as asJsonArray,eo as asJsonObject,kre as asNumber,Yt as asRecordsError,Ore as asString,Lne as assertDeviceOffers,s$e as assertInstanceUnused,Xhe as assertOwnExportInstance,Nhe as assertStepsOffered,ZKe as assertTimelapseCadences,ci as assertTransactScope,Wr as assertValidDeclaration,Aae as assignNodeColorId,nUe as attachmentKindsOf,DS as audioAnalysisCapability,VS as audioAnalyzerCapability,Ee as audioChunkBytesPerSample,JS as audioCodecCapability,yHe as audioIsFailClosed,L5 as audioKindId,xHe as audioLabelChoices,$S as audioMetricsCapability,vHe as audioModeOf,_He as audioOrDefaults,ho as audioPlanFromEncodeProfile,rHe as audioScaleEraOf,_re as auditedFields,tC as authProviderCapability,Qse as autoAssignProfiles,rC as automationControlCapability,wC as backupCapability,F9 as bareAddonId,Eb as baseUnitForQuantity,zi as baseUnitOf,DC as batteryCapability,jXe as bestLocationMatch,kC as binaryCapability,yQe as bindAddonActions,MC as boardKeySourceCapability,PC as brightnessCapability,VC as brokerCapability,S$e as brokerLinkPortsOver,vVe as bucketStartOf,Oy as buildActionSteps,toe as buildAddonRouteProvider,lo as buildAudioArgs,MJe as buildBenchStepTree,jO as buildCapabilityLookup,$ke as buildDeviceAdminUrl,Lue as buildDeviceEnrollmentLink,Iue as buildDeviceSignatureMessage,yke as buildDraftJsonSchema,ike as buildDraftPrompt,iAe as buildEventKindDescriptor,Kre as buildFfmpegArgs,xze as buildHeroModel,oo as buildInputArgs,h$e as buildLinkedInstances,ole as buildModelVariantGroups,oG as buildNcTaxonomy,Tu as buildNotificationTargetInstances,e8 as buildPlusCatalogClassMap,HBe as buildPowerSwitch,ake as buildRepairPrompt,tXe as buildRoleScopes,cn as buildSecretRef,Vl as buildSessionLostAlert,fy as buildStepArgsTrace,xAe as buildStreamParamsConfigSchema,hWe as buildSubjectPath,cme as buildTriggerTrace,woe as buildUserScopedNotificationTargetInstances,co as buildVideoArgs,jSe as buildViewerLink,Oke as buildVocabularySlice,VO as builtCapabilityBlockers,BAe as builtinRemoteComponent,HM as bundledCamstack,HC as buttonCapability,YC as calendarEventLocalSpan,Kge as calendarEventOnLocalDay,g$e as calendarRecordId,qC as calendarSourceCapability,tw as calendarsCapability,iw as cameraCredentialsCapability,lw as cameraGridLayoutCapability,$Ke as cameraOwnsMotionViaSensor,uw as cameraPipelineConfigCapability,Wce as cameraScopedStepSettings,Rz as cameraSensorRefKey,Fw as cameraStreamsCapability,hl as canConvertUnit,Vu as canonicalEgressPlan,bde as canonicalIconKey,Ld as canonicalJson,Dae as canonicalStoredBlockTarget,xo as canonicalStoredDeviceType,zde as canonicalStoredStepTargets,fue as canonicalizeAppCallback,sie as capAppliesToDeviceKind,kb as capUnitResolver,Kle as capabilityScopesOf,cJe as capacityForModel,$7 as capacitySessionsOf,Lw as carbonMonoxideCapability,wy as carriesDeviceTemplate,Nd as catalogueIssues,tQe as cellsToRects,Rye as checkDeviceAlias,fx as checkExposedName,lR as checkRoleAddress,COe as checkTemplatePayload,nf as claimDevicesMigration,ef as claimDevicesPortsOver,$d as claimDevicesToDefaultIntegration,lde as claimedRequestOrigins,Dle as classifyBearerPrincipal,gJe as classifyCamerasForBenchmark,g6 as classifyFieldSource,Pqe as classifyInferenceHardware,Nse as classifyRetrainReview,nt as classifySecretWrite,_r as classifyStoreError,qse as classifyStream,Wf as classifyStreams,Mte as clearKnownSecrets,gqe as clearModelBoundOverrides,mqe as clearModelBoundSetting,Bw as climateControlCapability,Co as climateRoleOf,Oje as clipEventLabelDepsFromApi,TDe as clipExportFailure,EDe as clipExportFailureOf,A3 as clipLabelsForWindow,_De as clipReasonHeaderValue,w7 as cloneAlarmSettings,Bie as cloneStatefulExpressionMemory,uB as clusterModelSettingKey,VCe as clusterStepSettingFieldsFor,vB as clusterStepSettingKey,Zw as clusterUpdateCapability,Pu as codecIsAccepted,vme as collectDeviceTemplates,ot as collectHydratedFieldEntries,ct as collectHydratedFieldValues,nee as collectKeychainStoredKeys,jme as collectMirrorSources,_qe as collectModelBoundKeys,qXe as collectOwnerIntegrationIds,ze as collectSecretConfigKeys,En as collectSecretLeaves,Gn as collectSecretMarkerRefs,Fy as collectWhenMirrorSources,Ir as collectZodSecretPaths,nT as colorCapability,bTe as colorForKind,gre as commandEffect,xD as commandMethodProblems,ere as commandOrigin,Ey as commandStepMeta,hD as commandedMethods,YZe as commitWatchdogRestart,qOe as compareDraft,Mu as compareToTarget,Pl as compareVersions,Nie as compileExpression,is as compileExpressionSafe,mO as compileHelper,U6 as compileKeyedArrayOverride,v6 as compilePulseOverride,U3 as compileScalarOverride,GMe as compileSpanOverride,Gl as composeInstanceKinds,use as composeSwitchedOff,tl as composedDeviceRef,el as composedDeviceStableId,NT as composerCapability,yO as compositionEdges,Gc as compositionFeatureEnabled,yT as compositionFieldKey,_Pe as compositionFillStatus,rl as compositionItemFieldPath,$c as compositionReadKey,Qc as compositionSliceKey,Zc as compositionSourceKey,sye as compositionSourceRefs,X2 as compositionTargetCaps,cye as compositionUnionReads,pJe as computeCapacityShares,hY as computeScores,IUe as conditionExclusionReason,FUe as conditionVisibleForKind,FT as connectivityCapability,r_e as consumableFormOf,zT as consumableKindOf,OTe as consumableLowPercentOf,WT as consumablesCapability,KT as contactCapability,_F as contactMeasurement,Sle as containingParentIndex,YT as controlCapability,Mfe as conventionalEventVocabulary,R_ as convertLegacyCondition,bv as convertLegacyRecipe,z_ as convertLegacyWhen,NMe as convertPresetFeature,Fg as convertQuantityInput,jae as convertUnit,UMe as convertUnitTargets,X9 as coralUsableUnits,Eye as coreBlockAddonId,jye as coreBlockComposition,Dye as coreBlockIdFromAddonId,Aye as coreBlockSourceKind,xk as coreBlocksCapability,HXe as cosineSimilarity,ZJe as countRecoverySkips,w_ as countWhenLeaves,wk as coverCapability,cGe as createAlarmProfile,gne as createDebugEmitter,Mje as createDeviceExtensionProvider,Za as createDeviceProxy,Rn as createDurableState,ft as createEvent,vre as createEventBusSliceSource,as as createExpressionScope,Woe as createHwAccelCache,qa as createLazyTrpcSource,jce as createLogChannelsProvider,Ja as createMirrorSource,fi as createRecordsAccess,IBe as createRuntimeStateBridge,ai as createSecretsAccess,P as createSliceHandle,zie as createStatefulExpressionMemory,QVe as createSystemProxy,rre as customAction,yE as customKeyOfRole,kk as customModelRegistryCapability,vE as customRole,jk as dataStoreProviderCapability,dC as databaseSnapshotCapability,Lk as dayNightCapability,_Ae as dayOfWeekToIndex,qPe as declarationOwnerNodeId,Jr as declarationsOf,f$e as declareLinkKind,Oce as declareLogChannel,BD as declaredSeriesKind,aPe as decodeCompositionToCards,K6 as decodeKeyedArrayOverride,$T as decodePronto,T6 as decodePulseOverride,F6 as decodeScalarOverride,aE as decodeTuya,mQe as decodeVectorBase64,Rk as decoderCapability,GUe as defaultDeliveryForSection,LQe as defaultDeviceFor,Tse as defaultIntegrationApiOver,Ot as defaultIntegrationDepsOver,tf as defaultIntegrationMigrationIds,wse as defaultIntegrationMigrations,LXe as defaultIntegrationName,Zd as defaultIntegrationOf,Sse as defaultIntegrationPortsOver,q3 as defaultThresholdSamples,ht as defineAddonMigrations,nre as defineCustomActions,Xr as defineEntryKind,jje as defineExtensionSlotProvider,_u as defineNotificationTargetKind,qr as defineRecordKinds,dt as dehydrateConfigField,oee as dehydrateSchema,uGe as deleteAlarmProfile,eUe as deliverableFields,$He as deliveryParamsDeclaredBy,WD as derivativeDraft,sve as derivativeUnitLabel,BPe as deriveBatteryPresence,cse as deriveCameraSwitches,MYe as deriveDetailCropRect,nBe as deriveFeatureProvenance,ph as deriveMaskSupplies,oLe as deriveMediaPlayerView,m7 as derivePostTriggeredAction,cce as deriveRecordingMode,CYe as deriveRootFaceRefineRect,dh as deriveRootSupplies,_ye as describeComposableCaps,are as describeCustomActions,tpe as describeHold,d_ as describeHoldMs,cle as describeModelVariant,vAe as describeOnboardClamp,lAe as describeOnboardRefusal,wle as describeRootSupplies,gh as describeRootSupply,iT as describeStateField,Cfe as describeSubject,aKe as describeSystemEventDeliveryProblem,yUe as describeSystemEventFamilyProblem,aT as describeTopLevelStateFields,eoe as describeUnmet,rXe as detectAccessRole,mhe as detectionClassMatches,zk as detectionPipelineCapability,Hk as deviceAdminLinkCapability,nA as deviceAdoptionCapability,OGe as deviceAttentionKind,sQe as deviceBackendToFormat,aA as deviceCredentialsCapability,ire as deviceCustomAction,ux as deviceExportCapability,Yb as deviceExportStatusInstanceOf,Yb as statusInstanceOf,Tj as deviceExtensionCapability,zj as deviceHistoryCapability,wBe as deviceIconKey,oj as deviceManagerCapability,Yze as deviceMatchesProfile,qne as deviceOpsCapability,zA as deviceProviderCapability,Uue as deviceRefusalFromMessage,Uj as deviceRemovalHookCapability,CBe as deviceRoleIconKey,$j as deviceRunsCapability,j9 as deviceSelectorMatches,iM as deviceStateCapability,oM as deviceStatusCapability,uM as deviceTransitionsCapability,SBe as deviceTypeIconKey,Dqe as diffStepSettings,pie as disarmRoseMemory,xM as dishwasherCapability,YM as displayPaletteCapability,Bi as displayUnitFor,ZM as doNotDisturbCapability,k3 as dominantClipLabels,tN as doorbellCapability,LUe as droppedConditionsForKind,kQe as edgetpuDelegateDevice,xqe as effectiveStepSettings,Xoe as egressTranscodeSharingKey,zu as egressTransportFromRequest,tJe as electByShare,aJe as electByShareWithAffinity,mJe as eligibleUnderBenchmark,mN as embeddingEncoderCapability,rxe as embeddingModelFailedError,pN as embeddingModelFailedOf,fN as embeddingRefusalOf,axe as embeddingRequirementsFailedError,ixe as embeddingRequirementsUnavailableError,yne as emitDownForOwnedCaps,pt as emitReadiness,Rke as emitsCollectionSelector,yF as emptyMeasurement,fPe as encodeCardsToComposition,r3 as encodeFlipperParsed,joe as encodeProfileFromStreamShape,QQe as encodeSamsung,iE as encodeTuya,pQe as encodeVectorBase64,aGe as ensureAlarmProfiles,Yr as entryBody,gN as enumSensorCapability,VQe as enumerateInferenceDevices,tfe as enumerateItemArrayFields,Og as enumerateSchemaFields,xe as errMsg,xJe as estimateNodeBenchmarkDurationMs,z3 as evaluateAggregate,ds as evaluateAst,xMe as evaluateCompositionField,Bme as evaluateConditionTree,Wo as evaluateCount,$ie as evaluateDerivative,hs as evaluateExpressionSource,JZe as evaluatePoolMemory,Vo as evaluateRose,lie as evaluateSensorEdge,No as evaluateSensorLevelEdge,fs as evaluateStatefulExpressionCall,yhe as evaluateStationaryTrigger,Jie as evaluateStatistic,Phe as evaluateStepCondition,Ky as evaluateWhenTree,gQe as evaluateZoneRules,Mr as event,nb as eventEmitterCapability,EKe as eventKindLabel,O_ as eventLeafIdAt,O3 as eventOverlapsClipWindow,Nfe as eventTypesOfVocabulary,mm as evictionPolicyForMode,bce as evictionPolicyOfLocation,De as expandAudioChunkToF32le,Ar as expandCapMethods,b8 as expandContainer,V7 as expandSystemEventClasses,ADe as exportSubjectOf,ZPe as exposeBlockDevices,mx as exposedNamePatch,nge as exposedNameStoreOf,$E as expressionContainsBuiltinCall,dO as expressionDraft,P3 as extensionSlotRef,Uke as extractNestedAddonId,ife as extractSourceInfoFromMetadata,yN as faceGalleryCapability,SN as failureContributionCapability,Fce as failureRate,FN as fanAxisPath,VN as fanControlCapability,nve as fanOutTargets,tP as fanPresetsCapability,il as featureFieldEntries,pD as featureForwards,Vh as featureOfRole,rP as featureProbeCapability,al as featureSources,Se as featuresOfBoundCaps,DMe as feederCustomizationExample,EMe as feederExampleSources,Lu as ffmpegRate,_6 as fieldEntryToSource,nl as fieldReads,aUe as fieldSupportForTargets,Y7 as fieldUnitKeys,l$e as fieldUserFinder,Oqe as fieldsPinnedAtValueBelow,iP as filesystemBrowseCapability,jAe as fillWidthScale,bO as findCandidateCycles,jE as findChannelSource,Fve as findCompositionCycles,Fe as findMigrationsBlocked,Dce as findTimezone,Pa as findVocabAction,Ug as findVocabularyEntry,ib as firedDataVars,hse as flattenNestedRecords,gse as flattenPortsOver,QAe as flipperIrDraft,i3 as flipperIrTable,a3 as flipperRole,oP as floodCapability,Lce as foldSnapshotByFunction,e6 as followSwitchRunningFeature,T_ as forEachLeaf,Tr as forbiddenError,lJe as foreignCapacityCells,ii as forgetKnownSecret,tde as formatDeviceRevoker,uQe as formatForRuntime,Yae as formatMediaOwnerKey,k4 as formatMinutes,WM as formatPaletteViolations,Qce as formatParkedFor,TXe as formatReading,on as formatSecretScope,mPe as formulaProblem,bD as forwardProblems,SD as forwardSourceProblems,mD as forwardSourceRefs,ige as freeTextNameValidator,u9 as freshResults,nYe as fuseRecoveredDetections,cP as gasCapability,BXe as gatewayDeviceName,Tce as gbToBytes,uhe as generateAutomationBlock,Lye as generateDeviceAlias,gTe as getAudioMacroClassIds,EBe as getByPath,dVe as getCapsByProviderKind,la as getDebugInterest,Im as getLogChannelRegistry,nG as getTaxonomyEntry,Koe as gifDeriveSpeed,Ru as gifFilterComplex,qoe as gifFromMp4Args,tn as globalSecretScope,$2 as grammarFor,M9 as grantRowsOf,uP as groupActiveCapability,pP as groupCommandsCapability,hP as groupStatusCapability,AD as groupTemplate,XUe as groupWithinSecOf,u$e as guardInstanceDelete,E_ as hasEventLeaves,qy as hasHoldLeaves,hqe as hasModelBoundOverrides,rFe as hasMotionTrigger,pQ as hasOwnRunningPowerDefaults,Iy as hasTimeLeaves,k_ as hasTriggeredByLeaves,mue as hasUrlScheme,bP as heatPumpControlCapability,jP as heatPumpInstantCop,MP as heatPumpStatusCapability,PP as heatingValveCapability,Sae as helperMembers,_O as helperSaveProblems,Uxe as heroArgsWithValue,WF as heroLayoutCapability,M as heroText,Ere as hfModelUrl,MD as historyFieldsFor,fte as historyItemFieldPath,rae as historyRetentionFromSettings,ine as historyUnitFor,u_ as holdOf,Vv as holdRefusalOf,_me as holdVarSlots,U5 as htmlToText,USe as hubAddressHostname,rqe as hubMotionNativeProvider,KF as humidifierCapability,hF as humidityMeasurement,JF as humiditySensorCapability,lt as hydrateSchema,Nde as iconCategoryLabel,Cde as iconEntry,Ode as iconsInCategory,D_ as identifiedEventLeaves,XF as imageCapability,u7 as imageModesForKind,aI as imageSettingsCapability,Oae as implementedMethodsOf,eD as inferExpressionKinds,Tle as inferModelProvider,OXe as ingestReading,Y9 as initialPoolMemoryState,LAe as insertComponent,Aoe as instanceApiOverTargets,fu as instanceSourceOverApi,du as instancesOfCap,JGe as instantKindsOf,pae as integralCadenceMs,GD as integralDraft,Yie as integrateReading,Jd as integrationBodyFromRows,wI as integrationInstancesCapability,St as integrationRowsApiOver,yse as integrationRowsMigration,bse as integrationRowsPortsOver,qd as integrationRowsPortsOverApi,Yd as integrationRowsToRecordId,pI as integrationsCapability,DI as intercomCapability,Ohe as internalActionId,jKe as interpolate,fB as interpretStoredClusterModel,pB as invalidClusterStepModelEntries,kMe as invertPresetFeature,Jre as invocationFromEncodeProfile,AE as irSourceProblem,FI as irTransmitterCapability,ooe as isAddonInstanceId,tse as isAgentOnlyPlacement,wo as isAirConditioner,AWe as isAlarmControllableCap,CGe as isAlertEpisodeOpen,wGe as isAlertEpisodeSeverity,QL as isAppLinkBase,wue as isAppStartRefusal,v4 as isArrayOutputSchema,Te as isAudioChunkFormat,MHe as isAudioClassName,SHe as isAudioLabelSelected,s7 as isAudioRule,gJ as isAutomaticShareSource,IHe as isBaseConditionKey,VPe as isBatteryPresenceFault,FCe as isClusterScopedStep,Vke as isCollectionArrayMethod,hre as isCommand,Zle as isCredentialTokenPayload,oa as isDebugChannelName,C7 as isDefaultAlarmProfileId,hR as isDefaultAppConnectionEndpoint,Vue as isDefinitiveDeviceRefusal,ese as isDeployableToAgent,ffe as isDetectionMacroClass,gte as isDeviceConfigCap,wre as isDeviceScopedCap,wze as isDoPickerDeviceType,gWe as isDrawableSubjectPath,sxe as isEmbeddingModelFailed,see as isEvent,TKe as isEventKindLabelKey,x_ as isEventLeaf,Zae as isEventOwnerType,rce as isFirstLevelMacroClass,Fc as isForwardInputRef,IGe as isHeldBackTemplateVar,xae as isHistoryHelper,JSe as isHubId,bg as isIconKey,jn as isInstanceEnabled,hb as isInternalActionId,ase as isIsolatedBuiltin,iBe as isKernelDerivedFeature,Re as isKeychainStoredField,UGe as isKnownTemplateVar,$g as isKnownTimeZone,ih as isLabelSupplyStepId,S_ as isLeaf,wce as isLocationEnabled,El as isMediaOwnerType,Wm as isModelScopedStepSettingKey,S8 as isNode,jxe as isNotReported,XXe as isOauthLandingReason,Bke as isObjectInput,c7 as isOccupancyRule,iie as isOutlet,ye as isOwnerOnlyEventCategory,hBe as isPlugApplianceType,QIe as isPositionTicking,Pg as isQuantityValue,Li as isReadingQuantity,_E as isRemoteCustomKey,gE as isRemoteKnownRole,bE as isRemoteRole,mE as isRemoteWidgetRole,lqe as isRemovedModelId,cA as isReservedDeviceAlias,hVe as isRestoredCap,UTe as isRetiredClearKey,G5 as isRootRelativeUrl,ule as isRootSuppliableStepId,dMe as isRunningOptOut,NXe as isSameAddonId,oWe as isScheduleActive,nKe as isScheduleOnlySystemRule,$e as isSecretClear,Le as isSecretConfigField,et as isSecretFieldView,Ze as isSecretMarker,Qe as isSecretMarkerLike,fee as isSecretRef,qn as isSecretRefOwnedBy,NSe as isSingleHubAddressRole,sy as isSkippedTrace,ao as isSoftwareDecode,ko as isSourceCap,bKe as isStateLabelKey,Fo as isStatefulBuiltin,_m as isStorageLocationMode,aie as isSwitchFan,oie as isSwitchHeater,To as isSwitchLight,r7 as isSystemDelivery,fUe as isSystemEventFamily,B7 as isSystemEventRecoveryKind,tKe as isSystemEventSummaryRule,Z5 as isSystemRuleKind,SOe as isTemplateKind,Q6 as isUnfilledRequiredProblem,xQe as isUsableTimeZone,FOe as isVectorIndexDimConflict,zke as isVoidInput,Fr as isZodSecret,nHe as ituDbfsFromPreEpoch,Vx as jobKindSchema,jy as judgeTimeWindow,b4 as kebabToCamel,$I as keychainAdminCapability,HI as keychainCapability,JE as kindOfValue,OUe as kindsForDiscriminator,jte as knownSecretCount,NHe as knownValues,rL as lawnMowerControlCapability,Uhe as leafCatalogEntry,Ghe as leafKindsFor,GPe as legacyAutoLinkIds,ZUe as legacyImageMode,hm as legacyModeOf,Du as legacyTargetsOver,Jx as lifecycleJobSchema,qx as lifecycleJobScopeSchema,Kx as lifecycleJobStateSchema,Gx as lifecycleTaskSchema,Xt as linkField,d$e as linkFieldDescriptor,m$e as linkUserFinder,$9 as linkedId,p$e as linkedIdOf,ple as linkedLabelStepId,mle as linkedStepOf,Qt as linksOfKind,jJe as listBenchDetailSteps,Ou as listNotificationTargets,GL as llmCapability,EL as llmRuntimeCapability,YL as loadContributionCapability,e_ as localDateOf,AR as localNetworkCapability,W7 as localizeConfigTree,Tg as locationIconKey,AXe as locationSimilarity,NR as lockControlCapability,OMe as lockDoorLinkOfComposition,io as logBannerArgs,FR as logChannelsCapability,HR as logDestinationCapability,ece as logLevelAtMost,JR as loginMethodCapability,Hke as looseSchema,ene as makeInMemoryRecords,cne as makeProfileBrokerId,Xe as makeSecretMarker,lne as makeSourceBrokerId,hTe as mapAudioLabelToMacro,Tn as mapSecretLeaves,X6 as markFieldEdited,HHe as markdownToHtmlLite,LHe as markdownToText,to as maskUrlCredentials,Xs as maxDurationMs,yce as mayReadLocation,vm as mayWriteToLocation,DJe as measuredCapacityFromResults,TJe as measuredDetectorCells,bF as measurementFitsRole,zE as mediaPlayerCapability,V_e as mediaPlayerExtensionCommands,kAe as mediaPlayerFeaturesOfRoles,Zoe as memoizePinnedFfmpeg,j3 as mergeClipLabels,CNe as mergeKeyedArrayItem,JM as mergeOverrides,aNe as mergeScalarTarget,ur as mergeSecretStatePaths,Z7 as mergeSettingsBags,uy as mergeSkipTraces,rfe as mergeSourceInfo,ZR as meshNetworkCapability,$R as meterCapability,O as method,Ph as methodAccessForHttpMethod,Lje as methodRefusal,Bh as methodRoleOf,oz as metricsProviderCapability,pce as migrateLegacyDeviceSignalConfig,pr as migrationSet,kz as migrationsCapability,Ml as minimumOf,gAe as minutesToTimeOfDay,Cce as modeForSwitch,pm as modeMayRead,fm as modeMayWrite,K7 as modelBindingKey,jz as modelConvertCapability,Pz as modelDistributorCapability,RQe as modelFormatForRuntime,Uce as modelScopedStepSettingKeys,LU as motionCapability,Qz as motionDetectionCapability,Gwe as motionSourceLabel,BU as motionTriggerCapability,GU as motionZonesCapability,x$e as moveBrokerLinksToConnections,v$e as moveCalendarIdsToRecords,RAe as moveGroup,Kd as moveIntegrationRowsToRecords,Fn as moveRegistrySwitchToBody,Eoe as moveTargetRows,QU as mqttBrokerCapability,RXe as mqttBrokerIntegrationName,oW as nativeObjectDetectionCapability,_W as navigationCapability,iGe as ncAlarmSystemDefaultSettings,tWe as ncMediaPolicyError,wv as nestedStepsOf,bW as networkAccessCapability,wW as networkLinkCapability,OW as networkQualityCapability,dae as nextLocalMidnight,Yfe as nextOccurrence,Ame as nextTimeBoundaryInMs,SJe as nodeBenchmarkRefusals,MW as nodeCertificatesCapability,Eee as nodeIdOfScopedKey,dKe as nodePickerItems,Qne as nodePin,FW as nodeRemovalHookCapability,GW as nodesCapability,Fb as normalizeActionUnits,br as normalizeAddonInitResult,I5 as normalizeAudioLabel,Pb as normalizeConditionUnits,kye as normalizeCoreBlockWrite,eWe as normalizeNcMediaPolicy,zn as normalizeNodeId,OO as normalizeOffSeconds,_g as normalizeOrigin,Ib as normalizeRecipeUnits,nn as normalizeSecretOwner,fXe as normalizeTokenScopes,Ag as normalizeUnit,m9 as normalizedArea,uu as notificationOutputCapability,cq as notificationRulesCapability,hu as notificationTargetKindName,voe as notificationTargetKindOf,xoe as notificationTargetKinds,Su as notificationTargetParts,uq as notifierCapability,fq as numericSensorCapability,mq as oauthIntegrationCapability,ZXe as oauthLandingUrl,Rl as oauthLinkInstanceId,soe as oauthLinkServesInstance,Wke as objectInputDeclaresAddonId,Gke as objectInputDeclaresRequiredDeviceId,zme as observeHoldLeaves,vwe as occupancyScope,i_ as occurrenceOn,Be as omitTransientConfig,uae as openReset,lae as openStatistic,sT as optionalAncestors,Zt as optionalLinkField,k as optionalMethod,Md as orderMigrations,bq as osdCapability,kq as osdManagerCapability,WCe as overlayClusterStepSettings,P6 as ownedSlice,hKe as packagePickerItems,qM as paintHex,a8 as paletteEntryLabel,Zbe as paletteFromInput,$be as paletteFromStored,DPe as paletteLegend,IM as paletteResultSchema,PM as paletteSwatchSchema,afe as paramMeta,cfe as paramMetaOf,zEe as parseAcceleratorFactsJson,eAe as parseAdminBase,SGe as parseAlertEpisodePayload,pue as parseAppAuthCallback,Tue as parseAppFlowRequest,gue as parseAppPageLang,Zse as parseCameraStreamConfig,Zge as parseColorInput,Yle as parseCredentialScopes,Rue as parseDeviceEnrollmentLink,ts as parseExpression,KAe as parseFlipperIr,Mre as parseJsonArray,jre as parseJsonObject,$a as parseJsonUnknown,Jae as parseMediaOwnerKey,QXe as parseOauthLandingFragment,ywe as parseOccupancyScope,UZe as parseProcStatus,une as parseProfileBrokerId,Ise as parseRetrainRevisionConflict,zUe as parseRuleSection,bn as parseSecretPath,ln as parseSecretRef,cr as parseSecretStatePath,yEe as parseSessionPlacementPolicy,SEe as parseShareSource,a$e as parseSmartIr,Gae as parseSmtpSinceKey,SAe as parseStreamParamsFormPatch,Dse as parseTrainingEventLine,bHe as patchAudio,Nq as petFeederCapability,Iq as petFountainCapability,RMe as petFountainFromEntitiesComposition,mEe as petFountainWaterItem,aFe as pickAccessoryControl,kSe as pickAppLinkHub,LCe as pickClusterStepModels,UCe as pickClusterStepSettings,kYe as pickDetailCropConvention,BYe as pickFaceRescoreIntervalMinutes,RCe as pickInvalidClusterStepModels,$Ye as pickNativeLeaseOverride,Vce as pickPreferredRtspEntry,dde as pickRequestOrigin,ZZe as pickRestartCandidate,mo as pickVideoEncoder,kHe as pickerForCondition,jHe as pickerForRuleClasses,hJe as pinUnderBenchmark,dH as pipelineAnalyticsCapability,SH as pipelineExecutorCapability,tY as pipelineOrchestratorCapability,NU as pipelineRunnerCapability,Hg as plainEventVocabulary,FO as planComposition,dT as planCompositionEvents,dD as planItems,_Ye as planMotionCropRegions,bYe as planMotionCrops,QJe as planRecoveryCrops,Qs as planResetTier,Zs as planStatisticTier,iY as plateGalleryCapability,DY as platformProbeCapability,SPe as plusCatalogDefaultClassFloors,xPe as plusCatalogLabelFields,KZe as poolMemoryThreshold,gF as powerMeasurement,jY as powerMeterCapability,LBe as powerOnFromSlice,VBe as powerServedBy,AO as powerSourceActuatorConflicts,DO as powerSourceCapability,Uve as powerSourceLinkOfComposition,pse as preconditionOf,zXe as prefilledIntegrationName,JHe as prepareNotification,Rb as prepareRecipeUnits,NY as presenceCapability,VM as presetById,FY as pressureSensorCapability,gPe as primaryCapForRole,p8 as primaryChildPreferenceOf,Ole as principalMayReachAddon,iUe as priorityLevelsOf,VY as privacyMaskCapability,xu as probeToTestResult,vPe as problemsBlockSave,qke as procedureAuthKey,wQe as processTimeZoneOr,hSe as projectDeviceRow,KVe as projectKeyedArrayAssignment,zVe as projectPulseAssignment,OVe as projectScalarAssignment,BVe as projectSpanAssignment,bWe as projectSubjectPath,XIe as projectedPositionMs,bje as proposeRunningThreshold,aqe as providerMotionEvent,Yhe as pruneDeletedEntities,rge as pruneExposedNames,tX as ptzAutotrackCapability,XY as ptzCapability,YHe as publicEndpointReaderFrom,be as publicEventCategories,aX as pumpCycleCapability,dQe as pythonScriptForBackend,DXe as quantityFromUnit,Noe as rankStreams,mB as readClusterStepModels,yB as readClusterStepSettings,tre as readCommandOrigin,DYe as readDetailCropConvention,CPe as readDeviceStateFrom,lte as readErrorI18n,Pfe as readEventVocabulary,ege as readExposedName,px as readExposedNames,zYe as readFaceRescoreIntervalMinutes,nqe as readHubMotionDetected,tqe as readHubMotionStatus,G6 as readKeyedArrayItems,kCe as readMotionTriggeredBy,XYe as readNativeLeaseOverride,$ne as readNodePin,aYe as readRecoveryRecipe,oYe as readRecoveryRecipeForSteps,IDe as readStoredRemoteConfig,QKe as readTimelapseGeneratedAt,hh as readUseRootModel,da as readinessKey,A as readingMeta,oX as rebootCapability,Ov as recipeSiteIssues,Yqe as recommendNode,XPe as reconcileBlockDevices,UQe as reconcileRemovedDevices,oBe as reconcileReportedFeatures,yee as recordArrayItemPath,uX as recordEntriesCapability,Dn as recordSecretCollection,On as recordSecretRef,IX as recordingArchiveCapability,bX as recordingCapability,fZ as recordingExportCapability,TZ as recordingOnboardCapability,OZ as recordingSignalCapability,bz as recordsCapability,Jt as recordsErrorFromMessage,xt as recordsOverMigrationApi,WZ as rectContains,UZ as rectsOverlap,eQe as rectsToCells,Bce as reducePoints,RD as reducerForActive,ri as registerKnownSecret,UBe as registerPowerSwitch,Ln as registrySwitchPortsOver,Pn as registrySwitchToBodyId,In as registrySwitchToBodyMigration,$Je as remapCropDetections,rQ as remoteCapability,cQ as remoteLayoutComponentsCapability,TAe as remoteRoleIcon,DAe as remoteRoleLabel,EAe as remoteRoleLegend,kE as remoteSourceSteps,V4 as removeGroup,oNe as removeScalarTarget,lGe as renameAlarmProfile,p5 as renderVocabPhrase,ume as repeatCheck,IO as replacedFieldKeys,Eje as replayDwellIntervals,vY as reportIsScalable,cde as requestMountPrefix,oT as requiredTopLevelKeys,fQe as requiresPython,yAe as reservedSourceOwner,XZe as resetPoolBaseline,Dhe as resolveActionVariables,Ku as resolveAddonExecution,nse as resolveAddonGroup,ise as resolveAddonPlacement,_R as resolveAppConnections,XHe as resolveAttachmentUrls,zce as resolveBucketMs,Er as resolveCapMount,lle as resolveClipSearchMinScore,zCe as resolveClusterStepModelId,WPe as resolveContainerPrimaryChild,lk as resolveCoreBlockEntry,Oye as resolveCoreBlockFiles,kDe as resolveCreateExportSubject,QHe as resolveDeliveryParams,tFe as resolveDeviceControlKind,Qze as resolveDeviceProfile,Dee as resolveDeviceSettings,xme as resolveDeviceTarget,sJe as resolveEffectiveShares,Goe as resolveEgressDecodeHwAccel,dZ as resolveExportProfiles,WHe as resolveFormat,uRe as resolveHeroLayout,sze as resolveHeroLook,EF as resolveHeroSceneId,HSe as resolveHubAddressRoles,iee as resolveHydratedFieldValue,xde as resolveIconKey,fR as resolveInternalAddress,bY as resolveLatencyColumn,gm as resolveLocationMode,Kke as resolveMethodAuth,jle as resolveMethodRole,WWe as resolveModeDelays,UWe as resolveModeNotifyPolicy,q7 as resolveModelBoundSetting,sFe as resolveMutate,$Ue as resolveNcMediaImage,mR as resolveNotificationTapAddress,uze as resolveOwnPower,HZe as resolvePoolMemoryPolicy,pR as resolvePublicEndpoint,lce as resolveRecordingProfiles,D_e as resolveRemoteSource,vle as resolveRootSupply,rse as resolveRunnerId,Jn as resolveSecretMarkers,Ite as resolveSecretViewsIn,_Oe as resolveServerName,by as resolveStepArgs,Ty as resolveStepArgsWithTemplates,so as resolveStreamMaps,Kye as resolveTemplateRef,sle as resolveVariantModelId,uXe as resolveViewableDeviceIds,Oee as resolvedValues,l9 as resultCellKey,wJe as resultStandings,Ooe as retiredTargetsOver,xf as retrainBoxIou,Fse as retrainRevisionConflictMessage,lZe as rewriteLoginProxyBody,oZe as rewriteLoginProxyLocation,H9 as rewriteLoginProxyReferer,uZe as rewriteLoginProxySetCookie,eXe as roleSpec,Ys as rollingDurationMs,TMe as roomCompositionExample,gle as rootSuppliesOf,ble as rootSupplyServes,Et as rowsDepsOver,NWe as ruleAutoTriggersAlarm,MWe as ruleBelongsToAlarm,kUe as ruleDeviceCompatCapNames,NUe as ruleDeviceCompatCapQueries,JUe as ruleEditorSectionsForKind,tne as ruleFireOfClaim,p7 as ruleGatedOnArmedState,PUe as ruleGroupingApplies,i7 as ruleKindOf,t7 as ruleKindSpec,BUe as ruleMatchesSection,RUe as ruleSection,VUe as ruleSectionOf,WUe as ruleSeedForSection,d7 as ruleTriggerZoneIds,vt as runAddonMigrations,qhe as runExportedAction,rve as runFanOut,Dy as runForDevices,rQe as runInferenceStep,_y as runSteps,mMe as runningFollowsSwitch,tje as runningFromDishwasherOperation,rje as runningFromLawnMower,ije as runningFromMediaPlayer,nje as runningFromVacuumState,uMe as runningOptOutFeature,mQ as runningPowerDefaultsFor,yQ as runningStateCapability,IQe as runtimeDevices,CVe as runtimeFieldUnit,pVe as runtimeStatePolicyFor,gO as sameHelperBody,zMe as sameRead,oUe as sanitizeTargetOverride,tge as saveExposedName,k6 as scalarTargetCount,PQ as sceneMonitorCapability,oKe as scheduleForSendTimes,IQ as schedulersCapability,ree as schemaDeclaresAnyField,cXe as scopeInherits,wu as scopeInstancesToCaller,fa as scopeKey,Fh as scopesAllowAddon,qle as scopesAllowAddonRoutes,Ele as scopesAllowDeviceCap,Jle as scopesAllowOwnPreferences,Gle as scopesGrantAdmin,zQe as scoreRuntimes,RQ as scriptRunnerCapability,Nte as scrubKnownSecrets,Mde as searchIcons,xn as secretArrayPrefixes,Toe as secretKeysOf,Xee as secretTreeFromPaths,sr as secretTreeFromSchema,kn as secretViewsOf,yt as secretsOverMigrationApi,zWe as secureActuationFor,KPe as seedInstanceOnce,Whe as seedLeaf,ZIe as seekPatch,gR as selectAppConnectionEndpoints,dne as selectAssignedProfileSlots,rke as selectFewShots,rYe as selectRecoveryStep,cKe as sendTimesForEditor,sKe as sendTimesOfSchedule,Jhe as sendToExportedTarget,gGe as sensorRaisedOf,bGe as sensorTransitionMeaning,IWe as sensorTransitionNeverFires,_Ge as sensorTransitionOffered,FGe as servedTemplateVars,i$ as serverManagementCapability,Bl as sessionLostAlertId,EJe as sessionsOfDeviceCell,DBe as setByPath,pPe as setFormulaExpr,LM as setPaletteInputSchema,X7 as settingValuesEqual,bqe as settingsBelow,Sd as settingsStoreCapability,aBe as settleDeviceFeatures,$h as shareViewGrantOf,Ije as sharedActuatorFeatures,Fje as sharedActuatorMethods,tve as sharedColorModes,eve as sharedLightCaps,n1 as shortHostname,ti as shortSecretRefHash,aTe as signalPercentFromBars,oTe as signalPercentFromRssi,Xfe as siteFor,qye as siteZoneKey,ly as skipSignature,Fre as sleep,Ire as sleepCancellable,Ao as sliceActiveValue,l4 as sliceCapOf,jo as sliceChangedAt,lA as slugifyDeviceAlias,K4 as smartIrDraft,o$ as smokeCapability,f$ as smtpProviderCapability,Uae as smtpSinceKey,m$ as snapshotCapability,J_e as sourcePickAcceptsDevice,PD as sourcePickForHistory,X_e as sourcePickForMath,Y_e as sourcePickForTemplate,MKe as splitTranslationRef,g9 as squareAround,g$ as ssoBridgeCapability,My as stableIdKey,kme as stableIdMapOf,hce as startMoverUnderClearance,MBe as startReachabilityPoll,xKe as stateLabel,wPe as stateVocabularyFor,fae as statisticCadenceMs,UD as statisticDraft,TWe as stepActuatesAlarmPanel,Cv as stepConditionsOf,Sv as stepGuardOf,Dv as stepGuardSiteIssues,sqe as stepModelRunsOnFormat,EWe as stepPullsAlarmTrigger,FVe as stepPulse,Sqe as stepSettingSource,IVe as stepSpan,C$ as storageAdminCapability,_$ as storageCapability,w$ as storageEvictableCapability,T$ as storageMigrationCapability,D$ as storageOccupancyCapability,z$ as storageProviderCapability,exe as storedFromReady,RM as storedPaletteSchema,Aw as streamBrokerCapability,V$ as streamCatalogCapability,J$ as streamParamsCapability,Uf as streamPixels,Kse as streamQualityLabel,Z$ as streamSignalsCapability,oce as stripRetiredBandPreBufferSec,ym as strippedOfLegacyReadOnly,bfe as subClassesOf,xTe as subKindsOf,zg as subjectFromClassName,f7 as subjectHasPath,wfe as subjectMatches,dWe as subjectPathSampleFromBox,xWe as subjectPathSvgPoints,rDe as summarisePrivacyAudio,gXe as summarizeEffectiveScope,Pse as summarizeReview,Kg as sunCrossings,Rfe as sunTimes,mh as supplyFor,FQe as supportedRuntimes,Gbe as swatchHex,$$ as switchCapability,bt as switchRecordsOverMigrationApi,Sce as switchStateOfMode,lse as switchedOffIds,fGe as syncActiveAlarmProfileSettings,nfe as synthesizeSourceInfo,N1 as systemCapability,GGe as systemEventClassKinds,z7 as systemEventClassOf,KGe as systemEventClassesFor,YGe as systemEventDeliveryAsModes,L7 as systemEventDeliveryModesOf,iKe as systemEventDeliveryProblems,X5 as systemEventFamilyOf,vUe as systemEventFamilyProblems,uUe as systemEventFilterApplies,dUe as systemEventFilterAppliesToAnyKind,_Ue as systemEventKindNamesOf,Y5 as systemEventKindsOfFamily,$Ge as systemEventSummaryScheduleOf,eKe as systemEventSummarySplitOf,xUe as systemFamilyOfKind,a7 as systemRuleKindOf,F1 as tamperCapability,rUe as targetAttachmentAllows,vu as targetBody,sNe as targetFeature,yu as targetOfRecord,koe as targetRowPortsOver,Wx as taskLogEntrySchema,Hx as taskPhaseSchema,Ux as taskTargetSchema,pF as temperatureBand,mF as temperatureMeasurement,L1 as temperatureSensorCapability,yA as templateCapKey,K1 as templateCapability,uKe as templateCarriesSummary,Dve as templateDeviceType,LGe as templateVarDeliveryApplies,BGe as templateVarKindApplies,VGe as templateVarSystemEventApplies,HGe as templateVarsFor,$1 as terminalSessionCapability,vF as textMeasurement,VHe as textToHtml,lO as thresholdDraft,vXe as thresholdToBase,yXe as thresholdToDisplay,hAe as timeOfDayToMinutes,XP as timedRunCapability,BP as timedRunLimitOf,HP as timedRunMaxIn,WP as timedRunQuickRun,VP as timedRunRemaining,kxe as timedRunSeconds,$L as toAppLinkHubOrigin,d8 as toDeviceSummary,ps as toExpressionValue,Va as toNodeId,c9 as toPercentShares,tt as toSecretFieldView,Jse as toStreamSourceEntry,dE as toTimings,t0 as toastCapability,CHe as toggleAudioLabel,es as tokenize,k0 as trainingCapability,p0 as trainingProviderCapability,GHe as transcodeBody,Bee as transformSecretWrite,Yy as triggerLeafVariables,Xme as triggerVariablesOf,j_ as triggeredByIssue,Mae as tryConvertDelta,ml as tryConvertUnit,j0 as turnProviderCapability,zfe as twilightTimes,zAe as ungroup,MMe as unitCompanionField,dl as unitDimension,gl as unitsForDimension,Db as unitsForQuantity,$ae as unmetRequirements,lbe as unreachableExtensionSlotRow,Dg as unwrapSchema,N0 as updateCapability,SQe as usableProcessTimeZone,cte as userError,z0 as userManagementCapability,V0 as userPasskeysCapability,W0 as vacuumControlCapability,LO as validateComposition,sR as validateCustomAddress,Lke as validateDraft,ms as validateExpressionSource,UM as validatePalette,Tv as validateRecipeBounds,Hv as validateSchedulerInput,a_ as validateTimeSpecForSite,F_ as validateWhenTree,q0 as valveCapability,hQe as vectorDimFromBase64,POe as vectorIndexDimConflictError,f2 as vectorStoreCapability,m2 as vibrationCapability,ZX as videoclipsCapability,Hh as viewerAdmitsDevice,Mle as viewerHoldsRole,OSe as viewerLinkBaseOf,A9 as viewerScopeOf,Zne as viewerUiCapability,Fne as vocabActionIdFor,La as vocabCall,Wze as vocabularyActionsForDevice,Jze as vocabularyTriggersForDevice,Lhe as waitTimedOutMessage,Ihe as waitUntil,g2 as waterHeaterCapability,_s as wattMillisecondsToKwh,v2 as weatherCapability,y2 as webrtcClientHintsSchema,E2 as webrtcSessionCapability,n_ as weekdayOfLocalDate,A4 as weeklyMaskIndex,fAe as weeklyMaskIsUniform,pAe as weeklyMaskToWindows,C_ as whenDepth,Ev as whenSiteIssues,QPe as widenDeviceConstructor,mAe as windowsToWeeklyMask,Wu as wiringAddonHealthSchema,Qoe as wiringHealthSnapshotSchema,Gu as wiringNodeHealthSchema,Hu as wiringProbeKindSchema,Uu as wiringProbeResultSchema,kje as withClipEventLabels,pMe as withDefaultRunning,Cqe as withFieldFrom,xce as withLocationMode,ZGe as withSystemEventClasses,XGe as withSystemEventModes,sre as withoutCallerStamp,wqe as withoutField,wNe as withoutKeyedArrayItem,pqe as writeModelBoundSetting,QBe as zodEntriesToConfigUI,F2 as zoneAnalyticsCapability,Zfe as zoneOnlySite,z2 as zoneRulesCapability,OH as zonesCapability};
|
|
1115
|
+
• @camstack/addon-recorder 1.2.3 → 1.2.4`,kinds:[`addon-update-available`,`addon-updated`]},{name:`summaryUpdates`,label:`Summary: server & container updates`,example:`server 1.2.377 → 1.2.378`,kinds:[`server-update-available`,`node-updating`,`server-updated`,`wrapper-update-available`]}],NGe=[{name:`summaryText`,label:`Summary: every section`,description:`One block per section with something to report, one line per item.`,example:`Batterie scariche: Sensore porta — 8 %`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...F7],systemEventDeliveries:[`summary`]},{name:`summaryCount`,label:`Summary: items reported`,example:`3`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...F7],systemEventDeliveries:[`summary`]},{name:`summarySection`,label:`Summary: this section`,description:`The section a per-section summary row is about; on a summary sent as one message, every section it reports, comma-separated.`,example:`Batterie scariche`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...F7],systemEventDeliveries:[`summary`]},...MGe.map(e=>({name:e.name,label:e.label,example:e.example,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...e.kinds],systemEventDeliveries:[`summary`]}))],I7=[{name:`device`,label:`Device`,description:`The device the event is about: the camera for a track, the appliance or sensor for a device event.`,example:`Front door`,group:`subject`,families:[`rule`,`timelapse`],systemEventKinds:[...P7,`export-completed`]},{name:`class`,label:`Detected class`,description:`The wire class id (e.g. "person", "cat"); the counted class on an occupancy row.`,example:`person`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`sensor`,`sound`,`occupancy`,`system`],systemEventKinds:[...N7]},{name:`classLabel`,label:`Detected class (translated)`,description:`Human label of {{class}} in the notification language (EVENT_KIND_LABELS); falls back to the raw id.`,example:`Persona`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`sensor`,`sound`,`occupancy`,`system`],systemEventKinds:[...N7]},{name:`label`,label:`Name or plate`,description:`Recognised person or read plate; empty otherwise.`,example:`Mario`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`system`],systemEventKinds:[...N7]},{name:`subject`,label:`Subject sentence`,description:`Composed in the notification language, e.g. "person (Mario)".`,example:`persona (Mario)`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`sensor`,`sound`,`occupancy`]},{name:`confidence`,label:`Confidence`,example:`87%`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`system`],systemEventKinds:[...N7]},{name:`count`,label:`Count`,description:`Occupancy count, subjects in a grouped notification, or the event count of a system notice.`,example:`3`,group:`subject`,families:[`rule`],fields:[...$],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[`addon-crash-loop`,...M7,`addon-updated`]},{name:`detectionSummary`,label:`Detection summary`,description:`Class composition, e.g. "2 persons and 1 car".`,example:`2 persone e 1 auto`,group:`subject`,families:[`rule`,`timelapse`,`summary`],fields:[...$],kinds:[`detection`]},{name:`zones`,label:`Zones`,example:`Cancello, Vialetto`,group:`place`,families:[`rule`],fields:[...$],kinds:[`detection`,`system`],systemEventKinds:[...N7]},{name:`zone`,label:`Zone`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...$],kinds:[`detection`,`occupancy`,`system`],systemEventKinds:[...N7]},{name:`inZones`,label:`"in <zones>" fragment`,description:`Leading space included; empty when no zone.`,example:` in Cancello`,group:`place`,families:[`rule`],fields:[...$],kinds:[`detection`,`system`],systemEventKinds:[...N7]},{name:`scope`,label:`Occupancy scope`,example:`Cancello`,group:`place`,families:[`rule`],fields:[...$],kinds:[`occupancy`]},{name:`time`,label:`Time`,description:`Hours and minutes, in the notification language.`,example:`20:05`,group:`time`,families:[`rule`,`timelapse`,`summary`],fields:[...$]},{name:`rule`,label:`Rule name`,example:`Front door notte`,group:`rule`,families:[`rule`,`timelapse`,`summary`]},{name:`from`,label:`Window start`,example:`07:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`to`,label:`Window end`,example:`08:00`,group:`time`,families:[`timelapse`,`summary`]},{name:`capacity`,label:`Capacity`,example:`2`,group:`occupancy`,families:[`rule`],fields:[...$],kinds:[`occupancy`]},{name:`op`,label:`Occupied / free`,example:`occupata`,group:`occupancy`,families:[`rule`],fields:[...$],kinds:[`occupancy`]},{name:`sounds`,label:`Sounds heard`,example:`abbaio, clacson`,group:`sound`,families:[`rule`],fields:[...$],kinds:[`sound`]},{name:`hitPercent`,label:`Share of the window`,description:`Level mode only: percentage of samples above the threshold.`,example:`42`,group:`sound`,families:[`rule`],fields:[...$],kinds:[`sound`]},{name:`db`,label:`Peak level (dBFS)`,example:`-18`,group:`sound`,families:[`rule`],fields:[...$],kinds:[`sound`]},{name:`eventType`,label:`Event type`,description:`Raw device event token, e.g. "press" or "open"; empty when the device sends none.`,example:`press`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`sensor`,label:`Sensor`,description:`The name of the sensor the event is about (the contact, the doorbell); empty when the event is not a sensor event.`,example:`Porta ingresso`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`duration`,label:`Cycle duration`,description:`How long a finished appliance cycle ran, e.g. "52 minutes" or "1 h 12 min"; empty when the start is unknown.`,example:`52 minuti`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`energy`,label:`Cycle energy`,description:`Energy an appliance used over its finished cycle, e.g. "0.84 kWh"; empty without a power meter.`,example:`0,84 kWh`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`afterDuration`,label:`"after <duration>" fragment`,description:`Leading space included; empty when the cycle duration is unknown.`,example:` dopo 52 minuti`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`usedEnergy`,label:`"used <energy>" fragment`,description:`Leading space included; empty when the energy is unknown.`,example:` e ha consumato 0,84 kWh`,group:`sensor`,families:[`rule`],fields:[...$],kinds:[`sensor`]},{name:`ai`,label:`AI sentence`,description:`Where the AI description goes; appended on its own line when absent.`,example:`Una persona lascia un pacco.`,group:`ai`,families:[`rule`,`summary`],fields:[...AGe],kinds:[`detection`,`occupancy`]},{name:`eventKind`,label:`Event kind`,example:`device-offline`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventDeliveries:[`instant`]},{name:`deviceName`,label:`Device`,example:`Front door`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...P7]},{name:`actionLabel`,label:`Command`,example:`Force restart`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`device-command`]},{name:`actorLabel`,label:`Who asked`,example:`velux`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`device-command`]},{name:`deviceLabel`,label:`Device with type`,description:`The device name with its type in parentheses. {{deviceName}} stays the bare name.`,example:`Front door (Camera)`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...P7]},{name:`locations`,label:`Intrusion locations`,example:`Front door, Hallway, Hall`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...N7]},{name:`changes`,label:`Intrusion changes`,example:`Laundry lock unlocked, Back door open`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...N7]},{name:`deviceId`,label:`Device id`,example:`102`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...P7,`export-completed`]},{name:`percentage`,label:`Percentage`,example:`15`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...D7,...O7]},{name:`item`,label:`Consumable`,description:`The device's own name for the item: a filter, a brush, the salt, a tank.`,example:`Filtro`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...O7]},{name:`profile`,label:`Stream profile`,example:`high`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`stream-online`,`stream-offline`]},{name:`node`,label:`Node`,example:`hub`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-restarting`,`node-updating`,`node-inference-unavailable`,`addon-crash-loop`,...j7,`addon-updated`,`server-updated`,`storage-location-low`,`storage-location-critical`,`storage-location-ok`,...k7]},{name:`nodeId`,label:`Node id`,example:`hub`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`,`node-restarting`,`node-updating`,`node-inference-unavailable`,`addon-crash-loop`,...j7,`server-updated`,`storage-location-low`,`storage-location-critical`,`storage-location-ok`,...k7]},{name:`nodeName`,label:`Node name`,example:`agent-a`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-online`,`node-offline`]},{name:`offlineFor`,label:`Offline for`,example:`44 min`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-online`]},{name:`devices`,label:`Devices`,description:`node-inference-unavailable: the affected cameras, comma-joined. Alarm arm / arming / refusal: HOW MANY devices are armed (or open).`,example:`Front door, Garage`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-inference-unavailable`,`alarm-armed`,`alarm-arming`,`alarm-arm-refused`]},{name:`addons`,label:`Addons`,example:`stream-broker`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`addon-crash-loop`]},{name:`cause`,label:`Cause`,example:`Cannot find module`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`addon-crash-loop`]},{name:`minutes`,label:`Minutes`,example:`12`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`detection-blind`,`motion-noisy`,`motion-calm`,`recording-stalled`]},{name:`duty`,label:`Motion share (%)`,example:`55`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`motion-noisy`,`motion-calm`]},{name:`sessions`,label:`Detection sessions`,example:`96`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`detection-blind`,`motion-noisy`,`motion-calm`]},{name:`message`,label:`Detail`,example:`writer restart budget exhausted`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`recording-degraded`,...A7,...k7,`package-llm-silent`]},{name:`ruleName`,label:`Rule name`,example:`Robot`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`rule-broken`,`rule-repaired`]},{name:`ruleId`,label:`Rule id`,example:`3db3e226-9b82-4681-a200-de13b260aa48`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`rule-broken`,`rule-repaired`]},{name:`brokenReason`,label:`Why the rule is broken`,description:`unparseable, device-deleted or target-deleted`,example:`device-deleted`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`rule-broken`]},{name:`offendingIds`,label:`Deleted devices or destinations`,example:`4483`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`rule-broken`]},{name:`locationName`,label:`Storage location`,example:`Recordings`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`storage-location-low`,`storage-location-critical`,`storage-location-ok`]},{name:`locationId`,label:`Storage location id`,example:`recordings:default`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`storage-location-low`,`storage-location-critical`,`storage-location-ok`]},{name:`freePercent`,label:`Free space (%)`,example:`12`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`storage-location-low`]},{name:`reason`,label:`Reason`,example:`capacity-unreadable`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`storage-location-low`,`storage-location-critical`,`storage-location-ok`,`package-llm-silent`]},{name:`package`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...j7,`addon-updated`,`node-updating`,`server-updated`]},{name:`packageName`,label:`Package`,example:`@camstack/addon-recorder`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...M7,`node-updating`,`server-updated`]},{name:`nodes`,label:`Nodes`,description:"Comma-joined node ids, when an update spans more than one — the single-node case names it through {{nodeId}} instead. `incomingFromUpdateAvailable` (event-intake.ts) fills `nodes` from ONE shared textParams object for both addon- and server-update-available, exactly like packageName/currentVersion/latestVersion/count — only the shipped TEXT (system.server-update-available.body.onNodes) reads it today, but the var is real on both kinds.",example:`hub, agent-a`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...M7]},{name:`currentVersion`,label:`Current version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...j7]},{name:`latestVersion`,label:`Latest version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...j7]},{name:`list`,label:`Updated packages`,description:"One line per package. `incomingFromUpdateAvailable` fills it for addon-/server-update-available too (the SAME shared textParams object as `nodes`) — `system.addon-update-available.body` reads it; `incomingFromAddonUpdates` fills it again, independently, for the completed `addon-updated` event.",example:`recorder, notifiers`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...M7,`addon-updated`]},{name:`fromVersion`,label:`From version`,example:`1.2.377`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-updating`,`server-updated`]},{name:`toVersion`,label:`To version`,example:`1.2.378`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`node-updating`,`server-updated`]},{name:`destinationsOk`,label:`Destinations ok`,example:`2`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsTotal`,label:`Destinations`,example:`2`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`destinationsFailed`,label:`Destinations failed`,example:`0`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`sizeMB`,label:`Size (MB)`,example:`412`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`backupId`,label:`Backup id`,example:`bk-20260924`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`backup-completed`]},{name:`title`,label:`Export or alert title`,example:`Front door 08:00`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`export-completed`,...A7,...k7]},{name:`severity`,label:`Alert severity`,example:`critical`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...k7]},{name:`category`,label:`Alert category`,example:`addon.runner-failed`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...A7,...k7]},{name:`source`,label:`Alert source (addon, node or runner)`,example:`recorder`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...k7]},{name:`actionUrl`,label:`Alert action link`,example:`/system/addons`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[...A7,...k7]},{name:`exportId`,label:`Export id`,example:`exp-20260924`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`bytes`,label:`Export size (bytes)`,example:`10485760`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`export-completed`]},{name:`mode`,label:`Alarm mode`,example:`away`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`,`alarm-pending`,`alarm-rearmed`,`alarm-check-failed`]},{name:`seconds`,label:`Seconds`,description:`Arming: the exit delay left. Pending: the entry delay left to disarm.`,example:`30`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-arming`,`alarm-pending`]},{name:`rules`,label:`Covering rules`,description:`How many enabled rules the armed / arming mode gates.`,example:`2`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`names`,label:`Device names`,description:`Armed / arming: the Active devices (or every skipped name when none are Active). Refusal: the open sensors.`,example:`Front door, Garage`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`,`alarm-arm-refused`]},{name:`skippedNames`,label:`Skipped devices`,description:`Devices the mode names but cannot arm (muted, detection off, offline).`,example:`Garage`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`active`,label:`Active count`,description:`How many named devices the armed / arming mode is watching (title: n attivi / n active).`,example:`3`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`skipped`,label:`Skipped count`,description:`How many named devices the mode cannot arm — muted, detection off, offline, or Arm-anyway exclusions (title: m saltati).`,example:`1`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`bypassedNames`,label:`Bypassed sensors`,description:`Sensors the operator armed around because they were open.`,example:`Finestra porch`,group:`system`,families:[`rule`],fields:[...$],kinds:[`system`],systemEventKinds:[`alarm-armed`,`alarm-arming`]},{name:`coverage`,label:`Coverage %`,example:`96`,group:`digest`,families:[`timelapse`],fields:[...$]},{name:`events`,label:`Events`,example:`4`,group:`digest`,families:[`timelapse`,`summary`],fields:[...$]},{name:`detections`,label:`Detections`,example:`7`,group:`digest`,families:[`timelapse`,`summary`],fields:[...$]},{name:`count_person`,label:`Count of one class`,description:`count_<class>, e.g. count_person, count_car.`,example:`3`,group:`digest`,families:[`timelapse`,`summary`],fields:[...$],dynamic:{prefix:`count_`,from:`classes`}},{name:`cameras`,label:`Cameras`,example:`3`,group:`digest`,families:[`summary`],fields:[...$]},{name:`matched`,label:`Matched events`,example:`12`,group:`digest`,families:[`summary`],fields:[...$]},{name:`shown`,label:`Events shown`,example:`9`,group:`digest`,families:[`summary`],fields:[...$]},{name:`total`,label:`Events total`,example:`12`,group:`digest`,families:[`summary`],fields:[...$]},...NGe],PGe=[`alert-critical`,`alert-error`,`alert-critical-resolved`,`device-attention-required`,`device-attention-resolved`,`rule-broken`,`rule-repaired`,`package-llm-silent`,`package-llm-answered`,`device-command`];function FGe(){return I7.filter(e=>!IGe(e)).map(e=>e.systemEventKinds===void 0?e:{...e,systemEventKinds:e.systemEventKinds.filter(e=>!PGe.includes(e))})}function IGe(e){return e.systemEventDeliveries!==void 0&&!e.systemEventDeliveries.includes(`instant`)}function LGe(e,t){if(!Z5(t.kind))return!0;let n=t.systemEventDelivery??`instant`;return(e.systemEventDeliveries??(e.systemEventKinds===void 0?[n]:[`instant`])).includes(n)}var RGe={previewText:[`device`,`rule`,`from`,`to`],captionText:[`rule`,`from`,`to`]};function zGe(e,t){return e===void 0||t===void 0||e.includes(t)}function BGe(e,t){return e===void 0||t===void 0||e.some(e=>e===t)?!0:Z5(t)&&e.includes(`system`)}function VGe(e,t){if(!Z5(t.kind)||e.systemEventKinds===void 0)return!0;let n=e.systemEventKinds,r=t.systemEventKinds??[];if(r.length>0)return r.some(e=>n.includes(e));let i=t.kind===void 0?void 0:xUe(t.kind);if(i===void 0)return!0;let a=Y5(i);return n.some(e=>a.includes(e))}function HGe(e){if(e.field===`previewText`||e.field===`captionText`){let t=RGe[e.field];return I7.filter(n=>n.families.includes(e.family)&&t.includes(n.name)&&n.dynamic===void 0)}return I7.filter(t=>t.families.includes(e.family)&&zGe(t.fields,e.field)&&BGe(t.kinds,e.kind)&&zGe(t.deliveries,e.delivery)&&VGe(t,e)&&LGe(t,e))}function UGe(e,t){return HGe(t).some(t=>t.dynamic===void 0?t.name===e:e.startsWith(t.dynamic.prefix)&&e.length>t.dynamic.prefix.length)}function L7(e){let t=e.systemEventDelivery;return t===void 0||t.mode===`instant`?{activation:!0,deactivation:!0,schedule:null}:t.mode===`summary`?{activation:!1,deactivation:!1,schedule:{schedule:t.schedule,grouping:t.split??`rule`}}:{activation:t.onActivation,deactivation:t.onDeactivation,schedule:t.onSchedule??null}}var R7=[{id:`device-connectivity`,family:`device-events`,label:`Device connectivity (offline / back online)`,bad:[`device-offline`],recovery:[`device-online`],snapshotLabel:`Devices offline now`,snapshotSection:`device-state`},{id:`device-switch`,family:`device-events`,label:`Device switched off / back on`,bad:[`device-disabled`],recovery:[`device-enabled`],snapshotLabel:`Devices switched off now`,snapshotSection:`device-state`},{id:`stream-connectivity`,family:`device-events`,label:`Stream connectivity (offline / back online)`,bad:[`stream-offline`],recovery:[`stream-online`],snapshotLabel:`Streams offline now`,snapshotSection:`streams`},{id:`battery`,family:`device-events`,label:`Battery (low / back to normal)`,bad:[`device-battery-low`],recovery:[`device-battery-normal`],snapshotLabel:`Batteries low now`,snapshotSection:`battery`},{id:`consumables`,family:`device-events`,label:`Consumables (low / replaced)`,bad:[`device-consumable-low`],recovery:[`device-consumable-normal`],snapshotLabel:`Consumables low now`,snapshotSection:`consumables`},{id:`motion-noise`,family:`device-events`,label:`Motion without a subject (constant / calm again)`,bad:[`motion-noisy`],recovery:[`motion-calm`],snapshotLabel:`Cameras with constant motion now`,snapshotSection:null},{id:`package-llm-confirm`,family:`device-events`,label:`Package confirm (not answering / answering again)`,bad:[`package-llm-silent`],recovery:[`package-llm-answered`],snapshotLabel:`Cameras whose package confirm is not answering`,snapshotSection:null},{id:`recording-health`,family:`device-events`,label:`Recording health (stalled or degraded / recording again)`,bad:[`recording-stalled`,`recording-degraded`],recovery:[`recording-healthy`],snapshotLabel:`Recordings stalled now`,snapshotSection:null},{id:`device-attention`,family:`device-events`,label:`Device needs attention (raised / resolved)`,bad:[`device-attention-required`],recovery:[`device-attention-resolved`],snapshotLabel:`Devices needing attention now`,snapshotSection:null},{id:`node-connectivity`,family:`system`,label:`Node connectivity (offline / back online)`,bad:[`node-offline`],recovery:[`node-online`],snapshotLabel:`Nodes offline now`,snapshotSection:`nodes`},{id:`storage-space`,family:`system`,label:`Storage space (low or critical / ok again)`,bad:[`storage-location-low`,`storage-location-critical`],recovery:[`storage-location-ok`],snapshotLabel:`Storage locations low now`,snapshotSection:null},{id:`critical-alerts`,family:`system`,label:`Critical alerts (raised / resolved)`,bad:[`alert-critical`],recovery:[`alert-critical-resolved`],snapshotLabel:`Critical alerts open now`,snapshotSection:null},{id:`rule-health`,family:`system`,label:`Rule health (broken / repaired)`,bad:[`rule-broken`],recovery:[`rule-repaired`],snapshotLabel:`Notification rules broken now`,snapshotSection:null}],WGe=new Map(R7.flatMap(e=>[...e.bad,...e.recovery].map(t=>[t,e])));function GGe(e){return[...e.bad,...e.recovery]}function z7(e){return WGe.get(e)}function B7(e){return z7(e)?.recovery.some(t=>t===e)??!1}function KGe(e){return R7.filter(t=>t.family===e)}function V7(e){let t=[],n=new Set,r=e=>{n.has(e)||(n.add(e),t.push(e))},i=new Set(e);for(let t of e){r(t);let e=z7(t);if(e===void 0)continue;let n=e.bad.some(e=>i.has(e));if(e.bad.some(e=>e===t))for(let t of e.recovery)r(t);else if(!n)for(let t of e.bad)r(t)}return t}function qGe(e){if(e.delivery!==`system-event`)return!1;let t=L7(e);return t.activation||t.deactivation}function JGe(e){let t=L7(e),n=new Set;for(let r of e.conditions.systemEvent?.kinds??[]){let e=B7(r);if(t.activation&&!e&&n.add(r),t.deactivation)if(e)n.add(r);else for(let e of z7(r)?.recovery??[])n.add(e)}return n}function YGe(e){let t=e.systemEventDelivery;if(t?.mode===`modes`)return t;let n=L7(e);return n.schedule===null?{mode:`modes`,onActivation:!0,onDeactivation:V7(e.conditions.systemEvent?.kinds??[]).some(B7)}:{mode:`modes`,onActivation:!1,onDeactivation:!1,onSchedule:n.schedule}}function XGe(e){let t=e.conditions.systemEvent;if(e.delivery!==`system-event`||t===void 0||e.systemEventDelivery?.mode===`modes`)return e;let n=new Set(t.kinds.map(e=>J5[e]));if(n.size!==1)return e;let[r]=[...n];return r!==`device-events`&&r!==`system`?e:{...e,systemEventDelivery:YGe(e)}}function ZGe(e){let t=e.conditions.systemEvent;if(t===void 0||!qGe(e)||!L7(e).deactivation)return e;let n=new Set(t.kinds.map(e=>J5[e]));if(n.size!==1||n.has(null))return e;let r=V7(t.kinds);return r.length===t.kinds.length?e:{...e,conditions:{...e.conditions,systemEvent:{...t,kinds:r}}}}var QGe=[`device-events`,`system`];function $Ge(e){return r7(e.delivery)?L7(e).schedule?.schedule??null:null}function eKe(e){return L7(e).schedule?.grouping??`rule`}function tKe(e){return $Ge(e)!==null}function nKe(e){if(!tKe(e))return!1;let t=L7(e);return!t.activation&&!t.deactivation}function rKe(e){return e===void 0?!1:(e.onActivation?.length??0)>0||(e.onDeactivation?.length??0)>0||(e.onTrigger?.length??0)>0||(e.onTriggerOff?.length??0)>0||(e.buttons?.length??0)>0}function iKe(e){let t=e.systemEventDelivery;if(t===void 0||t.mode===`instant`)return[];if(!r7(e.delivery))return[{code:`not-a-system-rule`,delivery:e.delivery}];let n=[],r=L7(e),i=e.conditions.systemEvent?.kinds??[];if(!r.activation&&!r.deactivation&&r.schedule===null&&n.push({code:`no-mode`}),!r.activation&&r.deactivation&&r.schedule===null&&!i.some(e=>z7(e)!==void 0)&&n.push({code:`no-instant-kind`}),r.schedule===null)return n;let a=X5(i),o=a.kind===`family`?a.family:`mixed`;(o===`mixed`||!QGe.includes(o))&&n.push({code:`family-not-summarisable`,family:o});let s=r.schedule.schedule.windows;return s.length===0&&n.push({code:`empty-schedule`}),s.forEach((e,t)=>{(e.days.length===0||e.startMinute===e.endMinute)&&n.push({code:`degenerate-window`,index:t})}),!r.activation&&!r.deactivation&&(e.schedule!==void 0&&n.push({code:`schedule-beside-summary`}),rKe(e.actions)&&n.push({code:`actions-beside-summary`})),n}function aKe(e){switch(e.code){case`not-a-system-rule`:return`a '${e.delivery}' rule has no summary delivery — only device-events and system rules do`;case`family-not-summarisable`:return e.family===`alarm`?`an alarm rule cannot be a scheduled summary — the alarm stays instant`:`a ${e.family} rule cannot be a scheduled summary — only device-events and system rules`;case`degenerate-window`:return`send time ${String(e.index+1)} has no day, or starts and ends on the same minute — it never closes, so nothing would be sent`;case`empty-schedule`:return`a summary rule needs at least one send time — its schedule has no window`;case`schedule-beside-summary`:return`a schedule-only rule is sent on its summary schedule — remove the active-hours schedule`;case`actions-beside-summary`:return`a schedule-only rule never matches an event, so its actions would never run — remove them`;case`no-mode`:return`choose when the rule speaks: when it starts, when it clears, or on a schedule`;case`no-instant-kind`:return`none of the selected events ever clears — choose "when it starts" or "on a schedule"`}}var H7=1440;function oKe(e,t){return{windows:e.map(e=>{let t=(e.minute+H7-1)%H7;return{days:(e.minute===0?e.days.map(e=>(e+6)%7):[...e.days]).toSorted((e,t)=>e-t),startMinute:t,endMinute:e.minute}}),...t===void 0?{}:{timezone:t}}}function sKe(e){if(e.invert===!0)return null;let t=[];for(let n of e.windows){if((n.endMinute-n.startMinute+H7)%H7!==1)return null;let e=n.endMinute===0?n.days.map(e=>(e+1)%7):n.days;t.push({days:e.toSorted((e,t)=>e-t),minute:n.endMinute})}return t}function cKe(e){let t=sKe(e);if(t!==null)return{times:t,approximated:!1};if(e.invert===!0)return null;let n=[];for(let t of e.windows){let e=t.endMinute===0?t.days.map(e=>(e+1)%7):t.days;n.push({days:e.toSorted((e,t)=>e-t),minute:t.endMinute})}return{times:n,approximated:n.length>0}}var lKe=/\{\{\s*summary(?:Text|Devices|Streams|Battery|Consumables|Tanks|Detection|Nodes|Addons|AddonUpdates|Updates)\s*\}\}/;function uKe(e){return e===void 0||e.trim().length===0?!0:lKe.test(e)}function dKe(e){return e.map(e=>({id:e.id,name:e.name,type:e.isHub?`hub`:`agent`,location:e.isOnline?`online`:`offline`,...e.name===e.id?{}:{detail:e.id}}))}var fKe=`@camstack/server`,U7=[fKe,`camstack-wrapper`],pKe={"@camstack/server":`server`,"camstack-wrapper":`wrapper`};function mKe(e){return U7.some(t=>t===e)}function hKe(e){let t=new Map(e.map(e=>[e.name,e.version])),n=U7.map(e=>{let n=t.get(e);return{id:e,name:e,type:pKe[e],location:null,...n===void 0?{}:{detail:n}}}),r=e.filter(e=>!mKe(e.name)).map(e=>({id:e.name,name:e.name,type:`addon`,location:null,detail:e.version})).sort((e,t)=>e.name.localeCompare(t.name));return[...n,...r]}function gKe(e){let t=e.replace(/[_-]+/g,` `).replace(/\s+/g,` `).trim();return t.charAt(0).toUpperCase()+t.slice(1)}var _Ke=`disarmed.armed_home.armed_away.armed_night.armed_vacation.armed_custom_bypass.arming.disarming.pending.triggered.open.opening.closing.closed.stopped.locked.unlocked.locking.unlocking.jammed.door-open.on.off.home.not_home.matched.diverged.unknown.latched.live`.split(`.`),vKe={disarmed:{en:`Disarmed`,it:`Disinserito`},armed_home:{en:`Armed (home)`,it:`Inserito (in casa)`},armed_away:{en:`Armed (away)`,it:`Inserito (fuori casa)`},armed_night:{en:`Armed (night)`,it:`Inserito (notte)`},armed_vacation:{en:`Armed (vacation)`,it:`Inserito (vacanza)`},armed_custom_bypass:{en:`Armed (custom)`,it:`Inserito (personalizzato)`},arming:{en:`Arming`,it:`In inserimento`},disarming:{en:`Disarming`,it:`In disinserimento`},pending:{en:`Pending (entry delay)`,it:`In attesa (ritardo ingresso)`},triggered:{en:`Triggered`,it:`In allarme`},open:{en:`Open`,it:`Aperto`},opening:{en:`Opening`,it:`In apertura`},closing:{en:`Closing`,it:`In chiusura`},closed:{en:`Closed`,it:`Chiuso`},stopped:{en:`Stopped`,it:`Fermo`},locked:{en:`Locked`,it:`Bloccata`},unlocked:{en:`Unlocked`,it:`Sbloccata`},locking:{en:`Locking`,it:`In blocco`},unlocking:{en:`Unlocking`,it:`In sblocco`},jammed:{en:`Jammed`,it:`Inceppata`},"door-open":{en:`Door open`,it:`Porta aperta`},on:{en:`On`,it:`Acceso`},off:{en:`Off`,it:`Spento`},home:{en:`Home`,it:`In casa`},not_home:{en:`Away`,it:`Fuori casa`},matched:{en:`Matched (as captured)`,it:`Corrisponde (come acquisita)`},diverged:{en:`Diverged (changed)`,it:`Diversa (cambiata)`},unknown:{en:`Cannot judge`,it:`Non valutabile`},latched:{en:`Latched`,it:`Memorizzato`},live:{en:`Live`,it:`In tempo reale`}},yKe=new Set(_Ke);function bKe(e){return yKe.has(e)}function xKe(e,t){return bKe(e)?vKe[e][t]:gKe(e)}var SKe=`motion.audio.person.vehicle.animal.package.sensor.control.car.truck.bus.motorcycle.bicycle.airplane.boat.train.bird.cat.dog.horse.sheep.cow.elephant.bear.zebra.giraffe.package-delivered.package-picked-up.contact.motion-sensor.smoke.flood.gas.carbon-monoxide.vibration.tamper.presence.enum-sensor.device-event.lock.cover.switch.siren.button.doorbell.appliance-cycle.audio-speech.audio-scream.audio-crying.audio-laughter.audio-music.audio-dog.audio-cat.audio-bird.audio-animal.audio-alarm.audio-doorbell.audio-glass_breaking.audio-gunshot.audio-vehicle.audio-siren.audio-fire.audio-water.audio-wind.audio-door.audio-footsteps.audio-crowd.audio-telephone.audio-engine.audio-tools.audio-silence`.split(`.`),CKe={motion:{en:`Motion`,it:`Movimento`},audio:{en:`Audio`,it:`Audio`},person:{en:`Person`,it:`Persona`},vehicle:{en:`Vehicle`,it:`Veicolo`},animal:{en:`Animal`,it:`Animale`},package:{en:`Package`,it:`Pacco`},sensor:{en:`Sensor`,it:`Sensore`},control:{en:`Control`,it:`Controllo`},car:{en:`Car`,it:`Auto`},truck:{en:`Truck`,it:`Camion`},bus:{en:`Bus`,it:`Autobus`},motorcycle:{en:`Motorcycle`,it:`Motocicletta`},bicycle:{en:`Bicycle`,it:`Bicicletta`},airplane:{en:`Airplane`,it:`Aereo`},boat:{en:`Boat`,it:`Barca`},train:{en:`Train`,it:`Treno`},bird:{en:`Bird`,it:`Uccello`},cat:{en:`Cat`,it:`Gatto`},dog:{en:`Dog`,it:`Cane`},horse:{en:`Horse`,it:`Cavallo`},sheep:{en:`Sheep`,it:`Pecora`},cow:{en:`Cow`,it:`Mucca`},elephant:{en:`Elephant`,it:`Elefante`},bear:{en:`Bear`,it:`Orso`},zebra:{en:`Zebra`,it:`Zebra`},giraffe:{en:`Giraffe`,it:`Giraffa`},"package-delivered":{en:`Package delivered`,it:`Pacco consegnato`},"package-picked-up":{en:`Package picked up`,it:`Pacco ritirato`},contact:{en:`Contact`,it:`Contatto`},"motion-sensor":{en:`Motion sensor`,it:`Sensore movimento`},smoke:{en:`Smoke`,it:`Fumo`},flood:{en:`Water leak`,it:`Allagamento`},gas:{en:`Gas`,it:`Gas`},"carbon-monoxide":{en:`Carbon monoxide`,it:`Monossido di carbonio`},vibration:{en:`Vibration`,it:`Vibrazione`},tamper:{en:`Tamper`,it:`Manomissione`},presence:{en:`Presence`,it:`Presenza`},"enum-sensor":{en:`Sensor state`,it:`Stato sensore`},"device-event":{en:`Device event`,it:`Evento dispositivo`},lock:{en:`Lock`,it:`Serratura`},cover:{en:`Cover`,it:`Tapparella`},switch:{en:`Switch`,it:`Interruttore`},siren:{en:`Siren`,it:`Sirena`},button:{en:`Button`,it:`Pulsante`},doorbell:{en:`Doorbell`,it:`Campanello`},"appliance-cycle":{en:`Appliance cycle`,it:`Ciclo elettrodomestico`},"audio-speech":{en:`Speech`,it:`Voce`},"audio-scream":{en:`Scream / Shout`,it:`Urlo`},"audio-crying":{en:`Crying / Baby`,it:`Pianto / Neonato`},"audio-laughter":{en:`Laughter`,it:`Risata`},"audio-music":{en:`Music`,it:`Musica`},"audio-dog":{en:`Dog`,it:`Cane`},"audio-cat":{en:`Cat`,it:`Gatto`},"audio-bird":{en:`Bird`,it:`Uccello`},"audio-animal":{en:`Animal (other)`,it:`Animale (altro)`},"audio-alarm":{en:`Alarm / Siren`,it:`Allarme`},"audio-doorbell":{en:`Doorbell / Knock`,it:`Campanello`},"audio-glass_breaking":{en:`Glass Breaking`,it:`Vetro rotto`},"audio-gunshot":{en:`Gunshot / Explosion`,it:`Sparo / Esplosione`},"audio-vehicle":{en:`Vehicle`,it:`Veicolo`},"audio-siren":{en:`Emergency Siren`,it:`Sirena`},"audio-fire":{en:`Fire / Smoke`,it:`Fuoco / Fumo`},"audio-water":{en:`Water`,it:`Acqua`},"audio-wind":{en:`Wind / Weather`,it:`Vento / Maltempo`},"audio-door":{en:`Door`,it:`Porta`},"audio-footsteps":{en:`Footsteps`,it:`Passi`},"audio-crowd":{en:`Crowd / Chatter`,it:`Folla / Chiacchiericcio`},"audio-telephone":{en:`Telephone`,it:`Telefono`},"audio-engine":{en:`Engine / Motor`,it:`Motore`},"audio-tools":{en:`Tools / Construction`,it:`Utensili / Lavori`},"audio-silence":{en:`Silence`,it:`Silenzio`}},wKe=new Set(SKe);function TKe(e){return wKe.has(e)}function EKe(e,t){let n=e.trim().toLowerCase();return TKe(n)?CKe[n][t]:gKe(e)}var DKe=og,OKe=DKe.options,kKe=`en`,AKe=u(p().min(1),p());function jKe(e,t){return t===void 0?e:e.replace(/\{(\w+)\}/g,(e,n)=>{let r=t[n];return r===void 0?e:String(r)})}function MKe(e){let t=e.indexOf(`:`);return t<=0||t===e.length-1?null:{ns:e.slice(0,t),key:e.slice(t+1)}}function NKe(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var PKe=[{keyField:`labelKey`,textField:`label`},{keyField:`descriptionKey`,textField:`description`},{keyField:`titleKey`,textField:`title`},{keyField:`contentKey`,textField:`content`}];function W7(e,t){if(Array.isArray(e)){let n=!1,r=e.map(e=>{let r=W7(e,t);return r!==e&&(n=!0),r});return n?r:e}if(!NKe(e))return e;let n={};for(let[r,i]of Object.entries(e)){let e=W7(i,t);e!==i&&(n[r]=e)}for(let{keyField:r,textField:i}of PKe){let a=e[r];if(typeof a!=`string`)continue;let o=MKe(a),s=o===null?void 0:t(o.ns,o.key);s!==void 0&&(n[i]=s)}return Object.keys(n).length===0?e:{...e,...n}}var G7=b({title:p().max(500).optional(),body:p().max(2e3).optional()}),FKe=p().min(1).max(200),IKe=S(f()).min(1),LKe=f().int().min(2).max(3600),RKe=f().int().min(1).max(60),zKe=S(PG).min(1),BKe=f().int().min(1).max(5),VKe=.1,HKe=f().min(VKe).max(3600),UKe=f().min(0).max(60),WKe=p().max(200),GKe=x([`image`,`gif`]),KKe=S(p().min(1).max(40)).max(20),qKe=b({name:FKe,enabled:v().default(!0),deviceIds:IKe,schedule:_G,cadenceSec:LKe.default(15),framerate:RKe.default(10),denseCadenceSec:HKe.optional(),minDwellSec:UKe.optional(),targets:zKe,template:G7.optional(),previewText:WKe.optional(),previewMode:GKe.default(`image`),reportClasses:KKe.optional(),priority:BKe.default(3),targetOverrides:LG.optional()}),JKe=`Timelapse {{device}}`,YKe=b({name:FKe.optional(),enabled:v().optional(),deviceIds:IKe.optional(),schedule:_G.optional(),cadenceSec:LKe.optional(),framerate:RKe.optional(),denseCadenceSec:HKe.optional(),minDwellSec:UKe.optional(),targets:zKe.optional(),template:G7.nullable().optional(),previewText:WKe.optional(),previewMode:GKe.optional(),reportClasses:KKe.optional(),priority:BKe.optional(),targetOverrides:LG.optional()}),XKe=qKe.extend({id:p(),ownerUserId:p().optional(),lastGeneratedAt:f().optional(),generatedByDevice:u(p(),f()).optional(),createdBy:p(),createdAt:f(),updatedAt:f()});function ZKe(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 QKe(e,t){let n=e.generatedByDevice;return n===void 0?e.lastGeneratedAt??0:n[String(t)]??0}function $Ke(e){return e.some(e=>e!==`analyzer`)}async function eqe(e,t){try{return await e.getCapSlice.query({deviceId:t,capName:`motion`})}catch(e){let n=e instanceof Error?e.message:String(e);throw Error(`motion state of device ${t} is unreadable: ${n}`,{cause:e})}}async function tqe(e,t){let n=await eqe(e,t);if(n===null)return null;let r=FU.safeParse(n);if(!r.success)throw Error(`motion state of device ${t} is malformed on the hub: ${r.error.message}`);return r.data}async function nqe(e,t){let n=(await eqe(e,t))?.detected;if(typeof n!=`boolean`)throw Error(`motion state of device ${t} is not published yet (unknown)`);return n}function rqe(e,t,n){let r=e=>{if(e!==t)throw Error(`${n}: motion deviceId mismatch, expected ${t}, got ${e}`)};return{isDetected:async({deviceId:n})=>(r(n),nqe(e,t)),getStatus:async({deviceId:n})=>(r(n),tqe(e,t))}}var iqe=IU.omit({triggeredBy:!0});function aqe(e,t){return ft(C.ProviderMotion,e,t)}function oqe(e,t){return!!e.formats[t]}function sqe(e,t,n){if(t!=null){let r=e.find(e=>e.id===t);if(r!==void 0&&oqe(r,n))return!0}return e.some(e=>e.legacy!==!0&&oqe(e,n))}var cqe={"object-detection":[`efficientdet-lite0-edgetpu`,`ssdlite-mobiledet-coco-edgetpu`],"face-detection":[`scrypted-yolov9t-face`,`scrfd-2.5g`,`ssd-mobilenet-v2-face-edgetpu`],"face-embedding":[`arcface-r100`,`inception-resnet-v1`],"plate-detection":[`yolov8n-plate`],"plate-ocr":[`vgg-english-g2`],"clip-embedding":[`mobileclip-s0`,`mobileclip-s1`,`mobileclip-s2`],"package-detection":[`yolov8n-package`],"bird-classifier":[`bird-classifier-aiy-edgetpu`,`bird-nabirds-404`],"animal-classifier":[`animals-10`],"vehicle-classifier":[`vehicle-type-efficientnet`]};function lqe(e,t){return cqe[e]?.includes(t)??!1}var uqe=`ModelId`;function K7(e){return`${e}${uqe}`}function dqe(e,t){let n=e?.[K7(t)];return typeof n==`string`&&n.length>0?n:void 0}function q7(e,t,n,r,i){let a=e?.[t],o=dqe(e,t);if(a!==void 0&&o===void 0)return{value:a,source:`override`};if(a!==void 0&&o!==void 0&&o===n)return{value:a,source:`override`,boundModelId:o};let s=a!==void 0&&o!==void 0?{inapplicableOverride:{value:a,modelId:o}}:{};return r===void 0?{value:i,source:`global-default`,...s}:{value:r,source:`model-default`,...s}}function fqe(e,t,n){if(e===void 0)return;let r={...e};for(let i of t){let t=dqe(e,i);t!==void 0&&t!==n&&delete r[i],delete r[K7(i)]}return r}function pqe(e,t,n,r){return{...e,[t]:n,[K7(t)]:r}}function mqe(e,t){let n={...e};return delete n[t],delete n[K7(t)],n}function hqe(e,t,n){return t.some(t=>q7(e,t,n,void 0,void 0).source===`override`)}function gqe(e,t,n){return t.reduce((e,t)=>q7(e,t,n,void 0,void 0).source===`override`?mqe(e,t):e,{...e})}function _qe(e){return e.flatMap(e=>e.type===`group`?_qe(e.fields):`key`in e&&`bindsToModel`in e&&e.bindsToModel===!0?[e.key]:[])}var J7=[`camera`,`node`];function Y7(e,t){return t.includes(e)?[e,K7(e)]:[e]}function vqe(e,t){return t.find(t=>K7(t)===e)??e}function X7(e,t){if(Object.is(e,t))return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,n)=>X7(e,t[n]));if(yqe(e)&&yqe(t)){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>X7(e[n],t[n]))}return!1}function yqe(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Z7(...e){return e.reduce((e,t)=>({...e,...t}),{})}function bqe(e,t){return Z7(...J7.slice(J7.indexOf(t)+1).toReversed().map(t=>e[t]))}function xqe(e){return Z7(e.node,e.camera)}function Sqe(e,t,n){let r=Y7(t,n);for(let t of J7){let n=e[t];if(n!==void 0&&r.some(e=>n[e]!==void 0))return t}return`default`}function Cqe(e,t,n,r){let i={...e};for(let e of Y7(t,r))n[e]===void 0?delete i[e]:i[e]=n[e];return i}function wqe(e,t,n){let r={...e};for(let e of Y7(t,n))delete r[e];return r}function Tqe(e,t){return[...new Set(Object.keys(e).map(e=>vqe(e,t)))]}function Eqe(e,t,n,r){return Y7(n,r).every(n=>X7(e[n],t[n]))}function Dqe(e,t,n){if(e===void 0)return;let r={};for(let i of Tqe(e,n))if(!Eqe(e,t,i,n))for(let t of Y7(i,n))e[t]!==void 0&&(r[t]=e[t]);return Object.keys(r).length>0?r:void 0}function Oqe(e,t,n){return e===void 0?[]:Tqe(e,n).filter(r=>Eqe(e,t,r,n)).toSorted()}var kqe=/^Apple M(\d+)(?:\s+(Pro|Max|Ultra))?\b/i,Aqe=/Core\(TM\)\s+Ultra|Core Ultra/i,jqe=/Intel\(R\)\s+N\d{2,3}\b|\bIntel\s+N\d{2,3}\b/i,Mqe=/Ryzen \d+ (7[0-9]40|8[0-9]40|8[0-9]45)[HSU]|Ryzen \d+ 8[0-9]00G/i;function Nqe(e){let t=kqe.exec(e.trim());if(t===null)return null;let n=Number(t[1]),r=(t[2]??`base`).toLowerCase();return{generation:n,variant:r===`pro`||r===`max`||r===`ultra`?r:`base`}}function Pqe(e){let t=e.cpuModel,n=Nqe(t);return n===null?Aqe.test(t)?{hardwareClass:`intel-core-ultra`,cpuModel:t}:jqe.test(t)?{hardwareClass:`intel-n-series`,cpuModel:t}:Mqe.test(t)?{hardwareClass:`amd-phoenix`,cpuModel:t}:{hardwareClass:`unknown`,cpuModel:t}:{hardwareClass:n.variant===`base`?`apple-m-base`:`apple-m-pro`,cpuModel:t,apple:n}}function Q7(e,t){let[n=``,r=``]=e.split(`:`);return n===`edgetpu`?`coral`:n===`coreml`?r===`cpu`?`arm-cpu`:`apple-ane`:n===`openvino`&&r===`npu`?`intel-npu`:n===`openvino`&&r===`gpu`?`intel-igpu`:n===`onnx`&&r===`webgpu`?`amd-igpu`:n===`vitisai`&&r===`npu`?`amd-npu`:n===`cpu`||r===`cpu`?t.arch===`arm64`?`arm-cpu`:`x86-cpu`:null}var Fqe=`yolov9`,Iqe=`yolov9s-320-edgetpu`,Lqe=.02,Rqe=.4,zqe=10,Bqe=10,Vqe={"intel-igpu":1.4};function Hqe(e,t){return!(t>0)||t>=10?1:Vqe[e]??1}function $7(e,t,n,r=1){return!(e>0)||!(n>0)||!(r>0)?0:Math.max(0,Math.floor(e*r*(1-t)/n+1e-9))}function Uqe(e,t){return e.accelerators?.find(e=>e.deviceKey===t)??null}function Wqe(e,t){if(t===void 0||Object.keys(t).length===0)return e;let n={...e};for(let[e,r]of Object.entries(t))n[e]={p50Ms:r.p50Ms,fps:r.fps,measured:!0,source:{kind:`node-benchmark`,resultId:r.resultId,measuredAtMs:r.measuredAtMs}};return n}function Gqe(e,t=3){let n=10**t;return Math.round(e*n)/n}function e9(e,t,n){return e===void 0?0:$7(e.fps,t.headroom,t.cameraFps,Hqe(n,t.cameraFps))}function Kqe(e,t,n){return e9(e.column[t],n,e.accelerator)>=n.minSessions}function qqe(e,t){return Object.keys(oY).filter(e=>e.startsWith(Fqe)).filter(n=>e.every(e=>e.column[n]!==void 0&&(t[n]??[]).includes(e.device.format))).map(e=>({modelId:e,personRecall:oY[e]?.personRecall??0})).toSorted((e,t)=>t.personRecall-e.personRecall||e.modelId.localeCompare(t.modelId))}function t9(e,t){return e.reduce((e,n)=>e+(n.column[t]?.p50Ms??1/0),0)}function n9(e,t,n){return e.reduce((e,r)=>Math.min(e,e9(r.column[t],n,r.accelerator)),1/0)}function Jqe(e,t,n){let r=qqe(e,t);if(r.length===0)return null;let i=r.filter(t=>e.every(e=>Kqe(e,t.modelId,n)));if(i.length===0){let t=r.toSorted((t,r)=>n9(e,r.modelId,n)-n9(e,t.modelId,n)||t9(e,t.modelId)-t9(e,r.modelId))[0];return t===void 0?null:{modelId:t.modelId,reasons:[{kind:`no-fit-lightest`,sessions:n9(e,t.modelId,n),minSessions:n.minSessions}]}}let a=i[0];if(a===void 0)return null;let o=i.filter(e=>a.personRecall-e.personRecall<=.02).toSorted((t,n)=>t9(e,t.modelId)-t9(e,n.modelId)||n.personRecall-t.personRecall)[0]??a,s=[],c=r[0];if(c!==void 0&&c.modelId!==a.modelId){let t=e.find(e=>!Kqe(e,c.modelId,n))?.device.key??``;s.push({kind:`stepped-down`,from:c.modelId,to:a.modelId,limitedBy:t})}return o.modelId!==a.modelId&&s.push({kind:`tie-faster`,over:a.modelId,recallDelta:Gqe(a.personRecall-o.personRecall)}),{modelId:o.modelId,reasons:s}}function r9(e,t,n){let r=e.column[t];if(r===void 0)return null;let i=r.source?.kind===`node-benchmark`?void 0:r.estimatedFrom,a=r.source??(i===void 0?{kind:`table`}:{kind:`estimated`,estimatedFrom:i});return{modelId:t,p50Ms:r.p50Ms,fps:r.fps,measured:r.measured,source:a,...i===void 0?{}:{estimatedFrom:i},capacitySessions:e9(r,n,e.accelerator),personRecall:oY[t]?.personRecall??0}}function i9(e,t){let n=[{kind:`capacity`,sessions:e.capacitySessions,minSessions:t.minSessions}];return e.measured||n.push({kind:`derived-latency`,modelId:e.modelId}),n}function a9(e,t,n){return{nodeId:e.nodeId,reachable:e.reachable,hardwareClass:n,cpuModel:e.hardware?.cpuModel??null,skipped:!0,acceleratorModelId:null,devices:e.devices.map(t=>({deviceKey:t.key,accelerator:e.hardware?Q7(t.key,e.hardware):null,enabled:t.enabled,available:t.available,chosen:null,reasons:[]})),reasons:[t]}}function Yqe(e){let{node:t}=e,n={headroom:e.headroom??.4,cameraFps:e.cameraFps??10,minSessions:e.minSessionsPerDevice??2},r=e.perf??aY;if(!t.reachable)return a9(t,{kind:`node-offline`},null);if(t.hardware===null)return a9(t,{kind:`no-hardware-facts`},null);let i=t.hardware,{hardwareClass:a,cpuModel:o}=Pqe(i),s=e.measured??{},c=Object.values(s).some(e=>Object.keys(e).length>0),l=a===`unknown`?void 0:r[a],u=(i.accelerators??[]).some(e=>{let t=Q7(e.deviceKey,i);return t!==null&&vY(e,t)});if(l===void 0&&!c&&!u)return a9(t,{kind:`no-measured-data`,hardwareClass:a},a);let d=l??{},f=t.devices.toSorted((e,t)=>e.key.localeCompare(t.key)),p=new Map,m=new Map,h=[];for(let e of f){let n=Q7(e.key,i);if(!e.enabled){m.set(e.key,[{kind:`device-disabled`}]);continue}if(!e.available){m.set(e.key,[{kind:`device-unavailable`}]);continue}if(n===`coral`){let r=Wqe(d.coral,s[e.key]),i=t.formatsByModel[`yolov9s-320-edgetpu`]??[];if(r?.[`yolov9s-320-edgetpu`]===void 0||!i.includes(e.format)){m.set(e.key,[{kind:`no-family-build`,format:e.format}]);continue}h.push({device:e,accelerator:n,column:r});continue}let o=n===null?void 0:Wqe(bY({hardwareClass:a,accelerator:n,report:Uqe(i,e.key),perf:r})?.column,s[e.key]);if(n===null||o===void 0){m.set(e.key,[{kind:`no-family-build`,format:e.format}]);continue}p.set(e.key,{device:e,accelerator:n,column:o})}let g=e=>e===`x86-cpu`||e===`arm-cpu`,_=new Map,ee=e=>{let t=e.find(e=>e.device.customPinModelId!==void 0);if(t?.device.customPinModelId===void 0)return null;let n={kind:`kept-custom-pin`,modelId:t.device.customPinModelId,deviceKey:t.device.key};for(let t of e)_.set(t.device.key,[n]);return n},v=[...p.values()].filter(e=>!g(e.accelerator)),te=ee(v),ne=te===null?v:[],re=[...p.values()].filter(e=>g(e.accelerator)).filter(e=>ee([e])===null),ie=new Map,y=new Map,ae=[],oe=null,b=ne.length>0?Jqe(ne,t.formatsByModel,n):null;if(te!==null&&ae.push(te),b!==null){oe=b.modelId,ae.push(...b.reasons);for(let e of ne){let t=r9(e,b.modelId,n);t!==null&&(ie.set(e.device.key,t),y.set(e.device.key,i9(t,n)))}}else for(let e of ne)y.set(e.device.key,[{kind:`no-family-build`,format:e.device.format}]);for(let e of h){let t=r9(e,Iqe,n);t!==null&&(ie.set(e.device.key,t),y.set(e.device.key,i9(t,n)))}for(let e of re){let r=Jqe([e],t.formatsByModel,n),i=r===null?null:r9(e,r.modelId,n);if(r===null||i===null){y.set(e.device.key,[{kind:`no-family-build`,format:e.device.format}]);continue}ie.set(e.device.key,i),y.set(e.device.key,[{kind:`cpu-device`},...r.reasons,...i9(i,n)])}return{nodeId:t.nodeId,reachable:!0,hardwareClass:a,cpuModel:o,skipped:ie.size===0,acceleratorModelId:oe,devices:f.map(e=>({deviceKey:e.key,accelerator:Q7(e.key,i),enabled:e.enabled,available:e.available,chosen:ie.get(e.key)??null,..._.has(e.key)?{kept:`custom-pin`}:{},reasons:m.get(e.key)??_.get(e.key)??y.get(e.key)??[]})),reasons:ae}}var Xqe=1e-9;function Zqe(e,t){let n=t.deficit-e.deficit;return(Math.abs(n)<Xqe?0:n)||t.candidate.share-e.candidate.share||e.candidate.key.localeCompare(t.candidate.key)}function Qqe(e){return e.spare??1/0}function $qe(e){return Math.max(e.running,0)+Math.max(e.recent??0,0)}function eJe(e){let t=e.reduce((e,t)=>e+Math.max(t.share,0),0),n=e.reduce((e,t)=>e+$qe(t),0);return e.map(r=>({candidate:r,deficit:(t>0?Math.max(r.share,0)/t:1/e.length)*(n+1)-$qe(r)})).toSorted(Zqe)}function tJe(e){return e.length===0?{kind:`none`}:nJe(eJe(e))}function nJe(e){let t=e[0].candidate;if(!t.capped&&!t.saturated)return{kind:`elected`,key:t.key,reason:`share`};let n=e.filter(e=>!e.candidate.capped&&!e.candidate.saturated).toSorted((e,t)=>Qqe(t.candidate)-Qqe(e.candidate)||Zqe(e,t)),r=t.capped?`at-cap`:`saturated`;if(n.length>0)return{kind:`elected`,key:n[0].candidate.key,reason:`yield`,turnKey:t.key,yieldReason:r};let i=e.find(e=>!e.candidate.capped);return i===void 0?{kind:`none`}:{kind:`elected`,key:i.candidate.key,reason:`share`}}var rJe=1;function iJe(e){return{key:e.candidate.key,share:e.candidate.share,running:e.candidate.running,recent:e.candidate.recent??0,deficit:e.deficit}}function aJe(e,t,n=1){let r=e.length===0?[]:eJe(e),i=r.length===0?{kind:`none`}:nJe(r),a=i.kind===`elected`?i.key:null,o=(e,n,i)=>({election:e,sticky:n,affinityReason:i,previousKey:t,turnKey:a,scored:r.map(iJe)});if(t===null)return o(i,!1,`no-previous`);if(a===t)return o(i,!0,`previous-is-turn`);let s=r.find(e=>e.candidate.key===t);if(s===void 0)return o(i,!1,`previous-ineligible`);if(s.candidate.capped||s.candidate.saturated)return o(i,!1,`previous-no-room`);let c=r.find(e=>e.candidate.key===a);return c===void 0?o(i,!1,`share-off`):s.deficit>=c.deficit-n-Xqe?o({kind:`elected`,key:t,reason:`share`},!0,`within-one-session`):o(i,!1,`share-off`)}var o9=1;function oJe(e){return e!==void 0&&e>0?e:o9}function s9(e,t,n){let r=e.reduce((e,r)=>e+(n(r)?t(r):0),0);return new Map(e.map(e=>[e,r>0&&n(e)?Math.round(t(e)/r*1e3)/10:0]))}function sJe(e){let t=gJ(e.source)&&e.auto!==null,n=t&&e.auto!==null?e.auto:e.stored,r={};for(let t of e.nodeIds)r[t]=oJe(n.nodes[t]);let i=new Set(e.eligibleNodes),a=s9(e.nodeIds,e=>r[e]??o9,()=>!0),o=s9(e.nodeIds,e=>r[e]??o9,e=>i.has(e)),s={},c=e.nodeIds.map(r=>{let c=new Set(e.eligibleDevices[r]??[]),l=n.devices[r]??{},u=new Set(e.absentDevices?.[r]??[]),d=[...new Set([...Object.keys(l),...c])].filter(e=>!u.has(e)).toSorted(),f={};for(let e of d)f[e]=oJe(l[e]);d.length>0&&(s[r]=f);let p=s9(d,e=>f[e]??o9,()=>!0),m=s9(d,e=>f[e]??o9,e=>i.has(r)&&c.has(e)),h=d.map(e=>({deviceKey:e,eligible:c.has(e),configuredPct:p.get(e)??0,effectivePct:m.get(e)??0})),g=t?e.autoCapacity?.[r]:void 0;return{nodeId:r,eligible:i.has(r),configuredPct:a.get(r)??0,effectivePct:o.get(r)??0,capacitySource:g?.source??null,capacityFallback:g?.fallback??null,devices:h}});return{source:e.source,policy:e.policy??`share`,autoPending:gJ(e.source)&&e.auto===null,computedAt:e.computedAt??null,trigger:e.trigger??null,nodes:c,nodeWeights:r,deviceWeights:s}}function cJe(e,t,n){if(!(e===void 0||n===null))return e.devices.filter(e=>e.deviceKey===t&&e.modelId===n).toSorted((e,t)=>t.measuredAtMs-e.measuredAtMs)[0]}function lJe(e,t){let n=[];for(let r of e){let e=t.get(r.nodeId);if(e!==void 0)for(let t of e.devices){let e=r.devices.find(e=>e.deviceKey===t.deviceKey)?.chosen?.modelId??null;t.modelId===null||t.modelId===e||n.push({nodeId:r.nodeId,deviceKey:t.deviceKey,measuredModelId:t.modelId,runsModelId:e})}}return n}var uJe={readMeasuredCapacity:async()=>new Map};function c9(e){let t=[...e.values()].reduce((e,t)=>e+t,0),n=new Map;if(t<=0)return n;let r=[...e].map(([e,n])=>({k:e,exact:n/t*100})),i=0;for(let e of r)n.set(e.k,Math.floor(e.exact)),i+=Math.floor(e.exact);let a=e=>Math.round((e-Math.floor(e))*1e6),o=r.toSorted((e,t)=>a(t.exact)-a(e.exact)||e.k.localeCompare(t.k));for(let e=0;e<100-i;e++){let t=o[e%o.length];if(t===void 0)break;n.set(t.k,(n.get(t.k)??0)+1)}return n}function dJe(e,t,n){return e.devices.filter(e=>e.enabled&&e.available&&e.chosen!==null).map(e=>{let r=e.chosen?.fps??0;return{deviceKey:e.deviceKey,sessions:$7(r,t,n),weight:Math.max(r,0),modelId:e.chosen?.modelId??null,fps:e.chosen?.fps??null,measured:e.chosen?.measured??!1}})}function fJe(e,t){let n=n=>{let r=e.skipped?[]:dJe(e,t.headroom,t.cameraFps),i=r.reduce((e,t)=>e+t.sessions,0);return{rec:e,devices:r,capacitySource:e.skipped?null:`hardware`,capacityFallback:e.skipped?null:n,skippedReason:e.skipped?e.reasons[0]?.kind??`skipped`:i>0?null:`no-capacity`}};if(t.source===`hardware`||!e.reachable)return n(null);let r=t.measured.get(e.nodeId),i=new Map;for(let t of e.devices){let e=cJe(r,t.deviceKey,t.chosen?.modelId??null);e!==void 0&&i.set(t.deviceKey,e)}let a=e.devices.filter(e=>e.enabled&&e.available),o=e.devices.filter(e=>e.enabled&&e.available&&e.chosen!==null),s=a.filter(e=>i.has(e.deviceKey));if(s.length===0)return n(`no-benchmark-results`);if(o.some(e=>!i.has(e.deviceKey)))return n(`partial-benchmark-results`);let c=s.map(e=>{let t=i.get(e.deviceKey),n=Math.max(0,Math.floor(t?.maxSessions??0));return{deviceKey:e.deviceKey,sessions:n,weight:n,modelId:t?.modelId??null,fps:null,measured:!0}});return{rec:e,devices:c,capacitySource:`benchmark`,capacityFallback:null,skippedReason:c.reduce((e,t)=>e+t.sessions,0)>0?null:`no-capacity`}}function pJe(e){let t=e.recommendations.map(t=>fJe(t,e)),n=new Map;for(let e of t){let t=e.devices.reduce((e,t)=>e+t.sessions,0);e.skippedReason===null&&t>0&&n.set(e.rec.nodeId,t)}let r=c9(n),i=t.map(e=>{let t=c9(new Map(e.devices.map(e=>[e.deviceKey,e.weight])));return{nodeId:e.rec.nodeId,share:r.get(e.rec.nodeId)??null,capacitySessions:e.devices.reduce((e,t)=>e+t.sessions,0),skippedReason:e.skippedReason,capacitySource:e.capacitySource,capacityFallback:e.capacityFallback,devices:e.devices.map(e=>({deviceKey:e.deviceKey,share:t.get(e.deviceKey)??0,modelId:e.modelId,fps:e.fps,measured:e.measured,suggestedMaxSessions:e.sessions}))}});return{headroom:e.headroom,source:e.source,cameraFps:e.cameraFps,minSessionsPerDevice:e.minSessionsPerDevice,nodes:i}}function mJe(e,t){if(t===null||!e.includes(t))return e;let n=e.filter(e=>e!==t);return n.length>0?n:e}function hJe(e,t,n){return e===null||t===null||e!==t?e:n.some(e=>e!==t)?null:e}function gJe(e,t){let n=[],r=[];for(let i of t.toSorted((e,t)=>e.deviceId-t.deviceId)){let t=i.placedNodeId===e,a=i.nodePin===e;!t&&!a||(i.frameSourceNodes.some(t=>t!==e)?n.push({deviceId:i.deviceId,placedOnNode:t,pinnedToNode:a}):r.push({deviceId:i.deviceId,reason:`only-frame-source`}))}return{moving:n,staying:r}}var _Je=[1,2,4,6,8,12,16,24,32],vJe=[1,2,3,4,6,8,10,12,16],yJe=3*6e4,bJe=2e4;function xJe(e,t={}){let n=((t.settleSec??kH.settleSec)+(t.measureSec??kH.measureSec))*1e3,r=yJe;if(e.phases.includes(`device`))for(let t of e.devices)r+=t.modelIds.length*(bJe+_Je.length*n);return e.phases.includes(`pipeline`)&&(r+=e.devices.length*(bJe+vJe.length*n)),Math.min(r,e.budgetMinutes*6e4)}function SJe(e){let t=[];e.activeRunNodeId!==null&&t.push({kind:`benchmark-active`,detail:`A benchmark of ${e.activeRunNodeId} is running — one node at a time.`,overridable:!1}),e.online||t.push({kind:`node-offline`,detail:`${e.plan.nodeId} is not online.`,overridable:!1});let n=e.plan.devices.map(e=>e.deviceKey).filter(t=>!e.knownDeviceKeys.includes(t));n.length>0&&t.push({kind:`unknown-device`,detail:`${e.plan.nodeId} reports no device ${n.join(`, `)}.`,overridable:!1}),e.plan.phases.length===0&&t.push({kind:`no-phase`,detail:`Choose at least one measurement.`,overridable:!1});let r=e.otherNodesCapacitySessions;return r!==null&&e.sessionsNow>r&&!e.plan.acceptInsufficientHeadroom&&t.push({kind:`insufficient-headroom`,detail:`The cluster runs ${e.sessionsNow} sessions now; the other nodes can carry ${r}.`,overridable:!0}),t}function l9(e){let{cell:t}=e,n=t.phase===`pipeline`?t.steps.toSorted().join(`,`):``;return[e.nodeId,t.deviceKey,t.phase,t.modelId,n].join(`|`)}function CJe(e,t){let n=t.staleAfterMs??kH.staleAfterDays*864e5;if(t.nowMs-e.measuredAtMs>n)return`age`;let r=t.currentPools[e.nodeId]?.[e.cell.deviceKey],i=e.fingerprint?.pools[e.cell.deviceKey];return r===void 0||i===void 0?null:r.runtime===i.runtime?r.numWorkers!==i.numWorkers||r.concurrency!==i.concurrency||r.batchMode!==i.batchMode?`pool-tuning`:null:`runtime`}function wJe(e,t){let n=new Map;for(let t of e){let e=l9(t),r=n.get(e);(r===void 0||t.measuredAtMs>r.measuredAtMs)&&n.set(e,t)}let r=new Map;for(let i of e){if(n.get(l9(i))?.id!==i.id){r.set(i.id,{standing:`superseded`,staleWhy:null});continue}let e=CJe(i,t);r.set(i.id,e===null?{standing:`fresh`,staleWhy:null}:{standing:`stale`,staleWhy:e})}return r}function u9(e,t){let n=wJe(e,t);return e.filter(e=>n.get(e.id)?.standing===`fresh`)}function TJe(e,t,n){let r={};for(let i of u9(e,n)){if(i.nodeId!==t||i.cell.phase!==`device`)continue;let e=r[i.cell.deviceKey]??{};e[i.cell.modelId]={p50Ms:Math.round(i.cell.p50Ms*100)/100,fps:i.cell.fps,resultId:i.id,measuredAtMs:i.measuredAtMs},r[i.cell.deviceKey]=e}return r}function EJe(e){return Math.max(0,Math.floor(e))}function DJe(e,t,n){let r=new Map;for(let i of u9(e,n)){if(!t.includes(i.nodeId))continue;let e=OJe(i),n=r.get(i.nodeId)??new Map,a=`${e.deviceKey}\u0000${e.modelId??``}`,o=n.get(a);(o===void 0||kJe(e,o))&&n.set(a,e),r.set(i.nodeId,n)}let i=new Map;for(let e of t){let t=r.get(e);t!==void 0&&i.set(e,{nodeId:e,devices:[...t.values()].toSorted((e,t)=>e.deviceKey.localeCompare(t.deviceKey)||(e.modelId??``).localeCompare(t.modelId??``))})}return i}function OJe(e){let{cell:t}=e;return t.phase===`pipeline`?{deviceKey:t.deviceKey,maxSessions:t.maxSessions,modelId:t.modelId,measuredAtMs:e.measuredAtMs,phase:`pipeline`}:{deviceKey:t.deviceKey,maxSessions:EJe(t.kMax),modelId:t.modelId,measuredAtMs:e.measuredAtMs,phase:`device`}}function kJe(e,t){return e.phase===t.phase?e.measuredAtMs>t.measuredAtMs:e.phase===`pipeline`}var d9=`object-detection`;function f9(e,t){return e.slots.find(e=>e.id===t)?.addons??[]}var p9=(e,t)=>t.inputClasses.some(t=>e.outputClasses.includes(t));function AJe(e){let t=f9(e,`detector`).find(e=>e.id===d9);if(t===void 0)return null;let n=f9(e,`classifier`),r=f9(e,`cropper`).filter(e=>p9(t,e)).map(e=>({cropper:e,recognizers:n.filter(t=>p9(e,t))})),i=new Set(r.flatMap(e=>e.recognizers.map(e=>e.id)));return{root:t,croppers:r,classifiers:n.filter(e=>p9(t,e)&&!i.has(e.id)),refiners:f9(e,`refiner`)}}function jJe(e){let t=AJe(e);if(t===null)return[];let n=e=>({id:e.id,name:e.name,slot:e.slot});return[...t.croppers.flatMap(e=>[n(e.cropper),...e.recognizers.map(n)]),...t.classifiers.map(n),...t.refiners.map(n)]}function MJe(e,t,n){let r=AJe(e);if(r===null)throw Error(`the node's catalog has no ${d9} step`);let i=new Set(n),a=(e,t)=>({addonId:e.id,enabled:t});return[{addonId:r.root.id,modelId:t,enabled:!0,children:[...r.croppers.map(({cropper:e,recognizers:t})=>({...a(e,i.has(e.id)||t.some(e=>i.has(e.id))),children:t.map(e=>a(e,i.has(e.id)))})),...r.classifiers.map(e=>a(e,i.has(e.id))),...r.refiners.map(e=>a(e,i.has(e.id)))]}]}var NJe=`object-detection`,PJe=640,FJe=800,IJe=.25,LJe=640,RJe=2,zJe=500,BJe=.25,VJe=.35,HJe=2e3,UJe=.5,WJe=.7,GJe=2;function m9(e){return Math.max(0,e.w)*Math.max(0,e.h)}var h9=m9;function KJe(e,t){return Math.max(0,Math.min(e.x+e.w,t.x+t.w)-Math.max(e.x,t.x))*Math.max(0,Math.min(e.y+e.h,t.y+t.h)-Math.max(e.y,t.y))}function qJe(e,t){let n=h9(e);if(n<=0)return 0;let r=0;for(let n of t)r+=KJe(e,n);return 1-Math.min(1,r/n)}function g9(e,t,n,r){return{left:Math.round(Math.max(0,Math.min(r.width-n,e-n/2))),top:Math.round(Math.max(0,Math.min(r.height-n,t-n/2))),side:n}}function JJe(e,t,n){return t>=e.left&&t<=e.left+e.side&&n>=e.top&&n<=e.top+e.side}function YJe(e,t){let n=e.w*t.width,r=e.h*t.height,i=Math.max(n,r),a=i*1.5,o=Math.round(Math.min(Math.max(a,640),800)),s=(e.x+e.w/2)*t.width,c=(e.y+e.h/2)*t.height;if(a<=800)return[g9(s,c,o,t)];let l=n>=r,u=i/4;return[g9(l?s-u:s,l?c:c-u,o,t),g9(l?s+u:s,l?c:c+u,o,t)]}function XJe(e,t){return h9(e)>.25?`too-large`:t<.35?`covered`:`eligible`}function ZJe(e){let t=0,n=0,r=0;for(let i of e.regions)switch(XJe(i,qJe(i,e.detections))){case`too-large`:t+=1;break;case`covered`:n+=1;break;case`eligible`:r+=1;break}return{tooLarge:t,covered:n,eligible:r}}function QJe(e){let{native:t}=e;if(Math.min(t.width,t.height)<640)return[];let n=e.regions.map(t=>({region:t,uncovered:qJe(t,e.detections)})).filter(({region:e,uncovered:t})=>XJe(e,t)===`eligible`).toSorted((e,t)=>h9(t.region)*t.uncovered-h9(e.region)*e.uncovered),r=[];for(let{region:e}of n)for(let n of YJe(e,t)){if(r.length>=2)return r;let e=n.left+n.side/2,t=n.top+n.side/2;r.some(n=>JJe(n,e,t))||r.push(n)}return r}function $Je(e,t,n,r,i){let a=t.side/Math.max(1,n.width),o=r.width/Math.max(1,i.width),s=r.height/Math.max(1,i.height),c=[];for(let r of e){let{x:e,y:i,width:l,height:u}=r.bbox;e<=2||i<=2||e+l>=n.width-2||i+u>=n.height-2||c.push({...r,nativeRecovery:{score:r.score,cropSidePx:t.side,viewPx:n.width},bbox:{x:(t.left+e*a)*o,y:(t.top+i*a)*s,width:l*a*o,height:u*a*s}})}return c}function eYe(e,t){return Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x))*Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y))}function tYe(e,t){let n=eYe(e,t);if(n<=0)return!1;let r=e.width*e.height,i=r+t.width*t.height-n;return i>0&&n/i>=.5?!0:r>0&&n/r>=.7}function nYe(e,t){let n=[];for(let[r,i]of t.entries())[...e,...n].some(e=>e.macroClass===i.macroClass&&tYe(i.bbox,e.bbox))||n.push({...i,id:`recovered-${r}-${i.id}`});return[...e,...n]}function rYe(e){let t=e.find(e=>e.addonId===`object-detection`&&e.enabled!==!1);return t?{addonId:t.addonId,...t.modelId===void 0?{}:{modelId:t.modelId},enabled:!0}:null}var iYe=`motionCropDispatch`;function aYe(e){return e?.motionCropDispatch===!0?`motion-crop`:`uncovered-region`}function oYe(e){return aYe(e.find(e=>e.addonId===`object-detection`&&e.enabled!==!1)?.settings)}var sYe=1.5,cYe=1.25,lYe=3,uYe=Object.freeze({person:.8,vehicle:.8});function dYe(e){let t=[],n=[];for(let r of e){let e=uYe[r.macroClass];if(e!==void 0&&r.score<e){n.push({macroClass:r.macroClass,score:r.score,floor:e});continue}t.push(r)}return{kept:t,dropped:n}}function fYe(e,t){let n=e.w*t,r=e.h*t;return{x:e.x+e.w/2-n/2,y:e.y+e.h/2-r/2,w:n,h:r}}function pYe(e,t){return Math.min(e.x+e.w,t.x+t.w)>Math.max(e.x,t.x)&&Math.min(e.y+e.h,t.y+t.h)>Math.max(e.y,t.y)}function mYe(e,t){let n=Math.min(e.x,t.x),r=Math.min(e.y,t.y);return{x:n,y:r,w:Math.max(e.x+e.w,t.x+t.w)-n,h:Math.max(e.y+e.h,t.y+t.h)-r}}function hYe(e){let t=Math.max(0,e.x),n=Math.max(0,e.y);return{x:t,y:n,w:Math.min(1,e.x+e.w)-t,h:Math.min(1,e.y+e.h)-n}}function gYe(e){let t=[];for(let n of e){let e=n,r=!0;for(;r;){r=!1;for(let n=t.length-1;n>=0;--n){let i=t[n];i===void 0||!pYe(e,i)||(e=mYe(e,i),t.splice(n,1),r=!0)}}t.push(e)}return t}function _Ye(e){if(e.regions.length===0)return[];let t=e.regions.map(e=>fYe(e,sYe));for(let n of e.detections)e.regions.some(e=>pYe(n,e))&&t.push(fYe(n,cYe));return gYe(t).map(hYe).filter(e=>e.w>0&&e.h>0).toSorted((e,t)=>m9(t)-m9(e)).slice(0,3)}function vYe(e,t){let n=e.w*t.width,r=e.h*t.height,i=Math.max(n,r),a=Math.round(Math.min(Math.max(i,640),800)),o=(e.x+e.w/2)*t.width,s=(e.y+e.h/2)*t.height;if(i<=800)return[g9(o,s,a,t)];let c=n>=r,l=i/4;return[g9(c?o-l:o,c?s:s-l,a,t),g9(c?o+l:o,c?s:s+l,a,t)]}function yYe(e,t){return t.left>=e.left&&t.top>=e.top&&t.left+t.side<=e.left+e.side&&t.top+t.side<=e.top+e.side}function bYe(e){let{native:t}=e;if(Math.min(t.width,t.height)<640)return[];let n=[];for(let r of _Ye(e))for(let e of vYe(r,t))n.some(t=>yYe(t,e))||n.push(e);return n}var xYe=1.6,SYe=160;function CYe(e,t,n){let r=Math.min(Math.max(e.w,e.h)*xYe,Math.min(t,n)),i=e.x+e.w/2,a=e.y+e.h/2;return{x:Math.min(Math.max(0,i-r/2),t-r),y:Math.min(Math.max(0,a-r/2),n-r),w:r,h:r}}var wYe=`detail-crop`,TYe=`detailCropPaddingRatio`,EYe=`detailCropSquare`,_9=b({paddingRatio:f().min(0).max(4),square:v()}),v9={paddingRatio:.15,square:!1};function DYe(e){let t=_9.shape.paddingRatio.safeParse(e[TYe]),n=_9.shape.square.safeParse(e[EYe]);return{paddingRatio:t.success?t.data:v9.paddingRatio,square:n.success?n.data:v9.square}}function OYe(e){return typeof e==`object`&&!!e&&`key`in e}function kYe(e){if(e===null)return v9;let t={};for(let n of e.sections)for(let e of n.fields)!OYe(e)||typeof e.key!=`string`||(e.key===`detailCropPaddingRatio`||e.key===`detailCropSquare`)&&(t[e.key]=e.value);return DYe(t)}var AYe=Object.freeze({x:0,y:0,w:1,h:1}),jYe={min:0,max:1,step:.05,default:v9.paddingRatio};function MYe(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?FYe(NYe(o,t,n),t,n):PYe(o,t,n)}function NYe(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 PYe(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 FYe(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 IYe=`face-rescore`,LYe=`faceRescoreIntervalMinutes`,y9={min:0,max:1440,step:5,default:60},RYe=10;function zYe(e){return typeof e!=`number`||!Number.isFinite(e)||e<0?y9.default:e===0?0:Math.min(y9.max,Math.max(10,Math.floor(e)))}function BYe(e){if(e===null)return y9.default;for(let t of e.sections)for(let e of t.fields)if(!(typeof e!=`object`||!e||!(`key`in e))&&e.key===`faceRescoreIntervalMinutes`)return zYe(`value`in e?e.value:void 0);return y9.default}var VYe=`native-lease`,b9=`nativeLeaseHoldFrames`,x9=`nativeLeaseBudgetMb`,S9=`nativeLeaseActivityMs`,C9=`nativeLeaseAdmission`,w9=`nativeTileBudgetMb`,T9=`nativeSceneBudgetMb`,E9=x([`all`,`inferred`]),HYe=b({holdFrames:f().int().min(1).max(64),budgetMb:f().int().min(0).max(4096),activityMs:f().int().min(0).max(12e4),admission:E9,tileBudgetMb:f().int().min(0).max(1024),sceneBudgetMb:f().int().min(0).max(1024)}),D9={holdFrames:8,budgetMb:1024,activityMs:15e3,tileBudgetMb:64,sceneBudgetMb:48,admission:`inferred`},UYe={min:1,max:64,step:1,default:D9.holdFrames},WYe={min:0,max:4096,step:64,default:D9.budgetMb},GYe={min:0,max:12e4,step:1e3,default:D9.activityMs},KYe={min:0,max:1024,step:16,default:D9.tileBudgetMb},qYe={min:0,max:1024,step:16,default:D9.sceneBudgetMb},JYe={options:[{value:`all`,label:`Every delivered frame`},{value:`inferred`,label:`Only frames sent to inference`}],default:D9.admission};function O9(e,t){let n=HYe.shape[e].safeParse(t);return n.success?n.data===D9[e]?null:n.data:null}function YYe(e){let t=E9.safeParse(e);return t.success?t.data===D9.admission?null:t.data:null}function XYe(e){let t=O9(`holdFrames`,e[b9]),n=O9(`budgetMb`,e[x9]),r=O9(`activityMs`,e[S9]),i=YYe(e[C9]),a=O9(`tileBudgetMb`,e[w9]),o=O9(`sceneBudgetMb`,e[T9]);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 ZYe(e){return typeof e==`object`&&!!e&&`key`in e}var QYe=[b9,x9,S9,C9,w9,T9];function $Ye(e){if(e===null)return{};let t={};for(let n of e.sections)for(let e of n.fields)!ZYe(e)||typeof e.key!=`string`||QYe.includes(e.key)&&(t[e.key]=e.value);return XYe(t)}var k9=[{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 eXe(e){let t=k9.find(t=>t.id===e);if(!t)throw Error(`Unknown access role '${e}'`);return t}function tXe(e){let t=eXe(e.roleId);return[{type:`device`,selector:e.selector,access:[...t.deviceAccess],includeLinked:e.includeLinked},{type:`category`,target:`system`,access:[...t.systemAccess]}]}function nXe(e,t){if(e.length!==t.length)return!1;let n=new Set(e);return t.every(e=>n.has(e))}function rXe(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=k9.find(e=>nXe(e.deviceAccess,r.access)&&nXe(e.systemAccess,i.access));return a?{roleId:a.id,selector:r.selector,includeLinked:r.includeLinked}:null}function A9(e){for(let t of e)if(t.type===`viewer`)return t;return null}function iXe(e,t){let n=new Map;for(let e of t)n.set(e.id,e);let r=new Set;for(let i of t)Hh(e,i.id,e=>n.has(e)?lXe(e,n):null)&&r.add(i.id);return r}var aXe=8;function j9(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 oXe(e,t){return e.some(e=>e.type===`category`&&e.target===`device`&&e.access.includes(t))}function sXe(e,t){return e.filter(e=>e.type===`device`&&e.access.includes(t))}function cXe(e,t){return e.includeLinked??t===`view`}function lXe(e,t){let n=[],r=e;for(let e=0;e<aXe;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 uXe(e,t,n){let r=A9(e);return r===null?dXe(M9(e),t,n):iXe(r,t)}function M9(e){let t=[];for(let n of e)n.type!==`viewer`&&t.push(n);return t}function dXe(e,t,n){if(oXe(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=sXe(e,n),a=new Set;for(let e of t)for(let t of i){if(j9(t.selector,e)){a.add(e.id);break}if(cXe(t,n)&&lXe(e.id,r).some(e=>{let n=r.get(e);return n!==void 0&&j9(t.selector,n)})){a.add(e.id);break}}return a}function fXe(e){if(!Array.isArray(e))return[];let t=[];for(let n of e){let e=qh.safeParse(n);e.success&&t.push(e.data)}return t}var pXe=[`view`,`create`,`delete`];function N9(e,t,n,r){if(r)return{all:!0,deviceCount:t.length};let i=A9(e);if(i!==null){let e=iXe(i,t);return{all:e.size===t.length,deviceCount:e.size}}let a=M9(e);return{all:oXe(a,n)||sXe(a,n).some(e=>e.selector.kind===`all`),deviceCount:uXe(e,t,n).size}}function mXe(e){let t=[];for(let n of e)n.type===`capability`&&t.push({name:n.target,access:n.access});return t}function hXe(e){let t=[];for(let n of e)n.type===`addon`&&t.push({name:n.target,access:n.access});return t}function gXe(e,t,n){let r={view:N9(e,t,`view`,n),create:N9(e,t,`create`,n),delete:N9(e,t,`delete`,n)},i=n?pXe:pXe.filter(t=>e.some(e=>e.type===`category`&&e.target===`system`&&e.access.includes(t))),a=n?null:A9(e);return{isAdmin:n,role:n?`admin`:a===null?`scoped`:`viewer`,features:a?.features??[],allDevicesViewable:r.view.all,viewableDeviceCount:r.view.deviceCount,device:r,system:i,capabilities:mXe(e),addons:hXe(e)}}var _Xe={camera:{type:`camera`,label:`Camera`,icon:`camera`}};function vXe(e,t,n){return!Number.isFinite(e)||t===n?e:ml(e,t,n)??e}function yXe(e,t,n){return!Number.isFinite(e)||t===n?e:ml(e,t,n)??e}var bXe=[{value:86400,unit:`d`},{value:3600,unit:`h`},{value:60,unit:`min`}],xXe=[{factor:1024**4,unit:`TiB`},{factor:1024**3,unit:`GiB`},{factor:1024**2,unit:`MiB`},{factor:1024,unit:`KiB`}];function P9(e,t){return Number.isFinite(e)?t===void 0?Number.isInteger(e)?String(e):e.toFixed(1):e.toFixed(t):``}function SXe(e){let t=Math.abs(e);for(let n of bXe)if(t>=n.value)return{value:e/n.value,unit:n.unit};return{value:e,unit:`s`}}function CXe(e){let t=Math.abs(e);for(let n of xXe)if(t>=n.factor)return{value:e/n.factor,unit:n.unit};return{value:e,unit:`B`}}function wXe(e){return e.quantity===`device`?e.deviceQuantity??`none`:e.quantity}function TXe(e){let t=wXe(e),n=e.precision;if(!Number.isFinite(e.value))return{text:``,unit:``,value:e.value};if(t===`duration`||t===`duration-ms`){let r=SXe(t===`duration-ms`?e.value/1e3:e.value);return{text:P9(r.value,n),unit:r.unit,value:r.value}}if(t===`information`){let t=CXe(e.value);return{text:P9(t.value,n),unit:t.unit,value:t.value}}let r=e.preference??`metric`,i=zi(t),a=Bi(t,r);if(i===void 0||a===void 0)return{text:P9(e.value,n),unit:``,value:e.value};let o=ml(e.value,i,a);return o===void 0?{text:P9(e.value,n),unit:i,value:e.value}:{text:P9(o,n),unit:a,value:o}}var EXe={temperature:`temperature`,pressure:`pressure`,speed:`speed`,"precipitation-rate":`precipitation-rate`,length:`length`,area:`area`,illuminance:`illuminance`,irradiance:`irradiance`,power:`power`,"apparent-power":`apparent-power`,energy:`energy`,voltage:`voltage`,current:`current`,"concentration-volume":`concentration-volume`,"concentration-mass":`concentration-mass`,mass:`mass`,percentage:`percentage`,volume:`volume`,duration:`duration`,information:`information`,angle:`angle`,"sound-level":`sound-level`,"signal-level":`signal-level`,"colour-temperature":`colour-temperature`,bitrate:`bitrate`,rate:`rate`};function DXe(e){let t=Ag(e);if(t===void 0)return;if(t===`ppb`)return`concentration-ppb`;if(t===`ms`)return`duration-ms`;let n=dl(t);if(n!==void 0)return EXe[n]}function OXe(e){if(!Number.isFinite(e.value))return{ok:!1,reason:`non-finite`};if(e.quantity===`device`)return{ok:!1,reason:`unknown-unit`};let t=e.rawUnit?.trim();if(t===void 0||t.length===0)return{ok:!0,value:e.value};let n=Ag(t);if(n===void 0)return{ok:!1,reason:`unknown-unit`};let r=zi(e.quantity);if(r===void 0)return dl(n)===void 0?{ok:!1,reason:`unknown-unit`}:{ok:!1,reason:`cross-dimension`};let i=ml(e.value,n,r);return i===void 0?dl(n)===void 0?{ok:!1,reason:`unknown-unit`}:{ok:!1,reason:`cross-dimension`}:{ok:!0,value:i}}function kXe(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 AXe(e,t){let n=e.trim().toLowerCase(),r=t.trim().toLowerCase();return n===r?1:n.length===0||r.length===0?0:1-kXe(n,r)/Math.max(n.length,r.length)}function jXe(e,t,n=.8){let r=null,i=0;for(let a of t){let t=AXe(e,a);t>=n&&t>i&&(r=a,i=t)}return r}var MXe=`addon:`;function F9(e){return e.startsWith(MXe)?e.slice(6):e}function NXe(e,t){return F9(e)===F9(t)}var PXe=`Home`,FXe=`MQTT`;function I9(e){return e.trim().replace(/\s+/g,` `)}function IXe(e){return e.replace(/([A-Za-z])-(\d)/g,`$1$2`)}function LXe(e){let t=I9(e);return t.length===0?PXe:`${t} - ${PXe}`}function RXe(e){return`${FXe} - ${I9(e)}`}function zXe(e){let t=I9(e.providerLabel),n=e.brokerKind?.trim()??``;return e.mode===`broker`&&t===FXe&&n.length>0&&n.toLowerCase()!==`mqtt`?RXe(n):LXe(t)}function BXe(e,t){let n=IXe(I9(e)),r=I9(t??``);if(r.length===0)return n;let i=IXe(r),a=`${n.toLowerCase()} `;return i.toLowerCase()===n.toLowerCase()?n:i.toLowerCase().startsWith(a)?i:`${n} ${i}`}function L9(e){return{runId:e.runId,state:e.state,startedAtMs:e.startedAtMs,finishedAtMs:e.finishedAtMs,progress:e.progress,result:e.result,error:e.error}}var VXe=class{opts;runs=new Map;now;constructor(e){this.opts=e,this.now=e.now??Date.now}get runningCount(){let e=0;for(let t of this.runs.values())t.state===`running`&&(e+=1);return e}start(e,t){let n=this.runs.get(e);if(n!==void 0&&n.state===`running`)throw Error(`run '${e}' is already running`);if(this.runningCount>=this.opts.maxConcurrent)throw Error(`busy: ${this.runningCount}/${this.opts.maxConcurrent} run(s) already in progress — wait for one to finish or abort it`);let r={runId:e,state:`running`,startedAtMs:this.now(),finishedAtMs:null,progress:null,result:null,error:null,controller:new AbortController};this.runs.delete(e),this.runs.set(e,r);let i={signal:r.controller.signal,report:e=>{r.progress=e}},a=e=>{e.error===void 0?(r.state=r.controller.signal.aborted?`aborted`:`done`,r.result=e.result??null):(r.state=`failed`,r.error=e.error),r.finishedAtMs=this.now(),this.prune(),this.opts.onSettled?.(L9(r))},o;try{o=t(i)}catch(e){o=Promise.reject(e)}return o.then(e=>a({result:e}),e=>a({error:e instanceof Error?e.message:String(e)})),L9(r)}status(e){let t=this.runs.get(e);return t===void 0?null:L9(t)}list(){let e=[...this.runs.values()],t=e.filter(e=>e.state===`running`).toSorted((e,t)=>t.startedAtMs-e.startedAtMs),n=e.filter(e=>e.state!==`running`).toSorted((e,t)=>(t.finishedAtMs??0)-(e.finishedAtMs??0));return[...t,...n].map(L9)}abort(e){let t=this.runs.get(e);return t===void 0||t.state!==`running`?!1:(t.controller.abort(),!0)}abortAll(){for(let e of this.runs.values())e.state===`running`&&e.controller.abort()}prune(){let e=[...this.runs.values()].filter(e=>e.state!==`running`).toSorted((e,t)=>(e.finishedAtMs??0)-(t.finishedAtMs??0)),t=e.length-this.opts.keepFinished;for(let n=0;n<t;n++){let t=e[n];t!==void 0&&this.runs.delete(t.runId)}}};function HXe(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 UXe=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(),WXe(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 WXe(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}var GXe=6e4,KXe=class{#e;#t;#n;#r=new Map;constructor(e){this.#e=e.logger,this.#t=e.minIntervalMs??6e4,this.#n=e.now??Date.now}get minIntervalMs(){return this.#t}async sweep(e){if(e.listedIds===null)return{newSuspects:0,removed:[]};let t=new Set(e.listedIds),n=new Set(e.ownerIds),r=this.#n(),i=0,a=[];for(let e of[...this.#r.keys()])(t.has(e)||!n.has(e))&&(this.#r.delete(e),this.#e.info(`Orphan integration suspect cleared`,{meta:{integrationId:e,reason:t.has(e)?`listed again`:`owns no devices`}}));for(let o of n){if(t.has(o))continue;let n=this.#r.get(o);if(n===void 0){this.#r.set(o,r),i+=1,this.#e.info(`Integration owns devices but is absent from the list — suspect`,{meta:{integrationId:o,minIntervalMs:this.#t}});continue}if(!(r-n<this.#t))try{let t=await e.removeDevices(o);this.#r.delete(o),a.push(o),this.#e.warn(`Orphan integration devices removed — absent from two answered lists`,{meta:{integrationId:o,removed:t,firstMissingAt:n}})}catch(e){this.#e.warn(`Orphan integration device removal failed — kept as suspect`,{meta:{integrationId:o,error:xe(e)}})}}return{newSuspects:i,removed:a}}};async function qXe(e){let t=new Set;for(let n of e.reg.getAllForAddon(e.addonId)){if(n.parentDeviceId!==null)continue;let r=await e.devices.loadConfig(n.id).catch(()=>({})),i=e.ownerOf(r);i!==null&&t.add(i)}return[...t]}var R9=`vendor-login`,JXe=`/sso-complete`,YXe=[`access_denied`,`invalid_state`,`invalid_request`,`unknown_broker`,`not_configured`,`exchange_failed`,`no_authorization_code`,`no_refresh_token`,`unavailable`,`unknown`];function XXe(e){return YXe.some(t=>t===e)}function ZXe(e,t){let n=new URLSearchParams({return:`oauth`,status:t.status});return t.addonId!==void 0&&n.set(`addon`,t.addonId),t.brokerId!==void 0&&n.set(`broker`,t.brokerId),t.integration!==void 0&&n.set(`integration`,t.integration),t.status===`error`&&n.set(`reason`,t.reason??`unknown`),(t.action===`disconnect`||t.action===`cli-login`)&&n.set(`action`,t.action),`${e===null?``:e.replace(/\/+$/,``)}${JXe}#${n.toString()}`}function QXe(e){if(!e.startsWith(`#`))return null;let t=new URLSearchParams(e.slice(1));if(t.get(`return`)!==`oauth`)return null;let n=t.get(`status`);if(n!==`success`&&n!==`error`)return null;let r=t.get(`addon`),i=t.get(`broker`),a=t.get(`integration`),o=t.get(`reason`);return{status:n,...r!==null&&r.length>0?{addonId:r}:{},...i!==null&&i.length>0?{brokerId:i}:{},...a!==null&&a.length>0?{integration:a}:{},...n===`error`?{reason:XXe(o)?o:`unknown`}:{},...t.get(`action`)===`disconnect`?{action:`disconnect`}:{},...t.get(`action`)===`cli-login`?{action:`cli-login`}:{}}}var $Xe=new Set([`127.0.0.1`,`localhost`,`[::1]`]);function z9(e){if(e.startsWith(`[`))return e.slice(0,e.indexOf(`]`)+1);let t=e.indexOf(`:`);return t===-1?e:e.slice(0,t)}function eZe(e){return $Xe.has(z9(e.toLowerCase()))}function tZe(e){return e.host.length===0||!/^[a-z0-9.[\]:-]+$/.test(e.host)?!1:e.scheme===`https`||eZe(e.host)}function B9(e,t){let n=t.toLowerCase();return e.upstreams.find(e=>e.host===n)}function nZe(e,t,n,r=``){return`${e.basePath}/${t}${n.startsWith(`/`)?n:`/${n}`}${r}`}function rZe(e){let t=e.indexOf(`?`),n=t===-1?e:e.slice(0,t),r=t===-1?``:e.slice(t),i=/^\/([A-Za-z0-9_-]{8,128})\/([^/]+)(\/.*)?$/.exec(n);if(i===null)return null;let a=i[1],o=i[2];return a===void 0||o===void 0?null:{attemptId:a,host:o.toLowerCase(),pathname:i[3]??`/`,search:r}}function iZe(e,t){try{let n=new URL(`${e.scheme}://${e.host}${t.pathname}${t.search}`);return n.host.toLowerCase()===e.host?n:null}catch{return null}}function aZe(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function oZe(e,t,n){let r;try{r=new URL(e,`${t.scheme}://${t.host}/`)}catch{return e}if(r.protocol!==`https:`&&r.protocol!==`http:`)return e;let i=B9(n,r.host);return i===void 0?e:`${nZe(n,i.host,r.pathname,r.search)}${r.hash}`}var sZe=String.raw`(?<=^|["'(\s>,\[{])`;function cZe(e){return e.replace(/\s+integrity\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi,``)}function lZe(e,t,n,r){let i=e;for(let e of r.upstreams){let t=aZe(e.host),n=RegExp(`${sZe}(?:https?:)?//${t}(?=[/"'?#\\s)\\]},<]|$)`,`g`);i=i.replace(n,`${r.basePath}/${e.host}`);let a=`${r.basePath}/${e.host}`.replace(/\//g,`\\/`),o=RegExp(`${sZe}(?:https?:)?\\\\/\\\\/${t}(?=\\\\/|["'?#\\s)\\]},<]|$)`,`g`);i=i.replace(o,a)}t===`html`&&(i=cZe(i));let a=`${r.basePath}/${n.host}/`,o=`(?!/)(?!${aZe(r.basePath.slice(1))}/)`;if(t===`html`){let e=String.raw`(\b(?:href|src|action|formaction|poster|data-href|data-src)\s*=\s*["'])/`;i=i.replace(RegExp(`${e}${o}`,`gi`),`$1${a}`)}if(t===`html`||t===`css`){let e=String.raw`(url\(\s*["']?)/`;i=i.replace(RegExp(`${e}${o}`,`gi`),`$1${a}`)}return i}function uZe(e,t,n={}){let r=e.split(`;`).map(e=>e.trim()),i=n.browserSafe===!0?[`domain`,`path`,`secure`,`samesite`]:[`domain`,`path`],a=r.filter((e,t)=>{if(t===0)return!0;let n=e.split(`=`)[0]?.trim().toLowerCase()??``;return!i.includes(n)});return a.push(`Path=${t.basePath}/`),a.join(`; `)}function dZe(e,t,n={}){let r=Date.now(),i=new Set(e.filter(e=>!fZe(e,r)).map(V9));return e.filter(e=>!(fZe(e,r)&&i.has(V9(e)))).filter(e=>n.browserSafe!==!0||!/^__(?:host|secure)-/i.test(V9(e))).map(e=>uZe(e,t,n))}function V9(e){return e.split(`;`)[0]?.split(`=`)[0]?.trim()??``}function fZe(e,t){let n=e.split(`;`).slice(1).map(e=>e.trim()),r=n.find(e=>/^max-age=/i.test(e));if(r!==void 0)return Number(r.slice(8))<=0;let i=n.find(e=>/^expires=/i.test(e));if(i===void 0)return!1;let a=Date.parse(i.slice(8));return Number.isFinite(a)&&a<=t}function H9(e,t){let n;try{n=new URL(e,`http://hub.invalid`)}catch{return null}if(!n.pathname.startsWith(`${t.basePath}/`))return null;let r=/^\/([^/]+)(\/.*)?$/.exec(n.pathname.slice(t.basePath.length)),i=r?.[1]?.toLowerCase();if(i===void 0)return null;let a=B9(t,i);return a===void 0?null:`${a.scheme}://${a.host}${r?.[2]??`/`}${n.search}`}function pZe(e){try{return decodeURIComponent(e.replace(/\+/g,` `))}catch{return null}}function mZe(e,t){return e.split(`&`).map(e=>{let n=e.indexOf(`=`);if(n===-1)return e;let r=pZe(e.slice(n+1));if(r===null||!/^(?:https?:\/\/|\/)/i.test(r))return e;let i=H9(r,t);return i===null?e:`${e.slice(0,n+1)}${encodeURIComponent(i)}`}).join(`&`)}function hZe(e){return e.split(`;`).map(e=>e.trim()).filter(e=>e.length>0&&!e.toLowerCase().startsWith(`camstack_`)).join(`; `)}function U9(e,t){let n=e.find(e=>e.split(`=`)[0]?.trim().toLowerCase()===t);if(n===void 0)return;let r=n.indexOf(`=`);return r===-1?``:n.slice(r+1).trim()}function gZe(e,t){return e.some(e=>e.toLowerCase()===t)}function _Ze(e,t){let n=U9(e,`max-age`);if(n!==void 0&&n.length>0&&Number.isFinite(Number(n)))return t+Number(n)*1e3;let r=U9(e,`expires`);if(r===void 0)return null;let i=Date.parse(r);return Number.isFinite(i)?i:null}function vZe(e){let t=e.lastIndexOf(`/`);return t<=0?`/`:e.slice(0,t)}function yZe(e,t){return t===e?!0:t.startsWith(e)?e.endsWith(`/`)||t.charAt(e.length)===`/`:!1}function bZe(e,t){if(e.domain===null)return e.originHost===t;let n=z9(t);return n===e.domain||n.endsWith(`.${e.domain}`)}var xZe=class{#e=new Map;store(e,t,n){for(let r of e){let[e,...i]=r.split(`;`).map(e=>e.trim()),a=e?.indexOf(`=`)??-1;if(e===void 0||a<=0)continue;let o=e.slice(0,a),s=i,c=U9(s,`domain`),l=c===void 0||c.length===0?null:c.replace(/^\./,``).toLowerCase(),u=U9(s,`path`),d=u!==void 0&&u.startsWith(`/`)?u:vZe(t.pathname),f=z9(t.host);if(l!==null&&f!==l&&!f.endsWith(`.${l}`))continue;let p=_Ze(s,n),m=`${o}|${l??t.host}|${d}`;if(p!==null&&p<=n){this.#e.delete(m);continue}this.#e.set(m,{name:o,value:e.slice(a+1),originHost:t.host,domain:l,path:d,secure:gZe(s,`secure`),expiresAtMs:p})}}headerFor(e,t){let n=e.scheme===`https`||eZe(e.host),r=[...this.#e.values()].filter(r=>(r.expiresAtMs===null||r.expiresAtMs>t)&&(!r.secure||n)&&bZe(r,e.host)&&yZe(r.path,e.pathname)).sort((e,t)=>t.path.length-e.path.length);return r.length===0?null:r.map(e=>`${e.name}=${e.value}`).join(`; `)}};function SZe(e){return new Set(e.split(`;`).map(e=>e.split(`=`)[0]?.trim()??``).filter(e=>e.length>0))}function CZe(e,t){if(t===null)return e;let n=SZe(t);return[...e.split(`;`).map(e=>e.trim()).filter(e=>e.length>0&&!n.has(e.split(`=`)[0]?.trim()??``)),t].join(`; `)}function wZe(e){let t=2166136261;for(let n=0;n<e.length;n+=1)t=Math.imul(t^e.charCodeAt(n),16777619)>>>0;return t.toString(16).padStart(8,`0`)}function W9(e){let t=[],n=e.startsWith(`?`)?e.slice(1):e;for(let e of n.split(`&`)){if(e.length===0)continue;let n=e.indexOf(`=`),r=n===-1?e:e.slice(0,n),i;try{i=decodeURIComponent(r.replace(/\+/g,` `))}catch{i=r}t.includes(i)||t.push(i)}return t}function G9(e){return e.some(e=>e.startsWith(`openid.oa2.`)||e===`openid.ns.oa2`)}function TZe(e){return e.map(e=>e.split(`;`)[0]?.split(`=`)[0]?.trim()??``)}function EZe(e){return(e??`none`).split(`;`)[0]?.trim().toLowerCase()||`none`}function DZe(e,t){try{let n=new URL(e,t);return{target:`${n.host}${n.pathname}`,names:W9(n.search)}}catch{return{target:`unparsable`,names:[]}}}function OZe(e){let t=W9(e.requestSearch),n=e.formBody===null?null:W9(e.formBody),r={session:wZe(e.attemptId),method:e.method,upstream:`${e.upstreamHost}${e.upstreamPath}`,queryNames:t.join(`,`)||`none`,oa2InQuery:G9(t),status:e.status,setCookieNames:TZe(e.setCookies).join(`,`)||`none`,cookiesSent:(e.cookieHeader??``).split(`;`).filter(e=>e.trim().length>0).length};if(n!==null&&(r.contentType=EZe(e.contentType),r.formNames=n.join(`,`)||`none`,r.oa2InForm=G9(n)),e.location!==null){let t=DZe(e.location,`http://${e.upstreamHost}/`);r.location=t.target,r.locationQueryNames=t.names.join(`,`)||`none`,r.oa2InLocation=G9(t.names)}return r}var kZe=2*1024*1024,AZe=4*1024*1024,jZe=new Set([`host`,`connection`,`keep-alive`,`proxy-authorization`,`proxy-connection`,`te`,`trailer`,`transfer-encoding`,`upgrade`,`content-length`,`accept-encoding`,`authorization`,`cookie`,`origin`,`referer`,`x-camstack-dataplane-secret`,`x-forwarded-for`,`x-forwarded-host`,`x-forwarded-proto`,`x-forwarded-prefix`,`x-real-ip`,`forwarded`]),MZe=new Set([`content-security-policy`,`content-security-policy-report-only`,`x-frame-options`,`strict-transport-security`,`public-key-pins`,`report-to`,`nel`,`content-encoding`,`content-length`,`transfer-encoding`,`connection`,`keep-alive`,`set-cookie`,`location`]);function NZe(e){let t=e.toLowerCase();return t.includes(`text/html`)||t.includes(`application/xhtml`)?`html`:t.includes(`text/css`)?`css`:t.startsWith(`text/`)||t.includes(`javascript`)||t.includes(`json`)||t.includes(`xml`)?`other`:null}function PZe(e){return(K9(e)??``).toLowerCase().startsWith(`application/x-www-form-urlencoded`)}function K9(e){return Array.isArray(e)?e[0]:e}async function FZe(e){let t=[],n=0;for await(let r of e){let e=Buffer.from(r);if(n+=e.length,n>kZe)return`too-large`;t.push(e)}return Buffer.concat(t)}function IZe(e,t){return e===void 0?t===void 0?`absent`:`unmapped`:URL.canParse(e)?new URL(e).pathname:`unparsable`}function LZe(e){let t=[...e.matchAll(/<form\b[^>]*\baction\s*=\s*["']([^"']*)["']/gi)].map(e=>(e[1]??``).split(`?`)[0]??``).slice(0,5);return t.length===0?`none`:t.join(` | `)}function RZe(e){return e===void 0||e.length===0?`none`:e.split(`;`).map(e=>e.split(`=`)[0]?.trim()??``).join(`,`)}function zZe(e){let[t,...n]=e.split(`;`).map(e=>e.trim());return[t?.split(`=`)[0]??``,...n.filter(e=>!/^expires=/i.test(e))].join(`;`)}function q9(e,t,n){e.writeHead(t,{"content-type":`text/plain; charset=utf-8`,"cache-control":`no-store`}),e.end(n)}var BZe=class{#e;#t;#n;#r;#i=new Map;#a=new Map;constructor(e){this.#e=e.addonId,this.#t=e.logger,this.#n=e.now??(()=>Date.now()),this.#r=e.fetchFn??globalThis.fetch.bind(globalThis)}handler=(e,t)=>this.#s(e,t);open(e){for(let t of e.upstreams)if(!tZe(t))throw Error(`vendor login proxy: upstream ${t.host} is not allowed`);this.#i.set(e.attemptId,{expiresAtMs:e.expiresAtMs,upstreams:e.upstreams,jar:e.serverCookieJar===!0?new xZe:null,evaluate:async t=>{let n=await e.terminal(t);return n.kind===`continue`?n:{kind:`done`,landing:await e.onDone(n.payload)}}})}close(e){this.#i.delete(e),this.#a.delete(e)}isOpen(e){let t=this.#i.get(e);return t!==void 0&&this.#n()<=t.expiresAtMs}entryPath(e,t){let n=this.#i.get(e);if(n===void 0)return null;let r=new URL(t);return B9({basePath:``,upstreams:n.upstreams},r.host)===void 0?null:`/addon/${this.#e}/${R9}/${e}/${r.host}${r.pathname}${r.search}`}#o(e,t,n){return{basePath:`${n}/addon/${this.#e}/${R9}/${e}`,upstreams:t.upstreams}}async#s(e,t){try{await this.#c(e,t)}catch(e){this.#t.warn(`vendor login proxy: request failed`,{meta:{addonId:this.#e,error:e instanceof Error?e.name:`unknown`}}),t.headersSent?t.end():q9(t,502,`The sign-in page could not be reached.`)}}async#c(e,t){let n=rZe(e.url??`/`);if(n===null){q9(t,404,`Not found`);return}let r=(K9(e.headers[`x-forwarded-prefix`])??``).replace(/\/+$/,``),i=this.#i.get(n.attemptId);if(i===void 0||this.#n()>i.expiresAtMs){i!==void 0&&this.close(n.attemptId),this.#t.info(`vendor login proxy: attempt refused`,{meta:{addonId:this.#e,reason:i===void 0?`missing`:`expired`}}),this.#f(t,r,{status:`error`,addonId:this.#e,reason:`invalid_state`});return}let a=this.#o(n.attemptId,i,r),o=B9(a,n.host),s=o===void 0?null:iZe(o,n);if(o===void 0||s===null){this.#t.warn(`vendor login proxy: host refused`,{meta:{addonId:this.#e,host:n.host}}),q9(t,404,`Not found`);return}let c=(e.method??`GET`).toUpperCase(),l,u=null;if(c!==`GET`&&c!==`HEAD`){let n=await FZe(e);if(n===`too-large`){q9(t,413,`Request too large`);return}PZe(e.headers[`content-type`])?(u=n.toString(`utf8`),l=Buffer.from(mZe(u,a),`utf8`)):l=n}let d=this.#u(e,a,o,i.jar,s),f=await this.#r(s,{method:c,headers:d,redirect:`manual`,...l!==void 0&&l.length>0?{body:new Uint8Array(l)}:{}}),p=f.headers.get(`location`),m=f.headers.getSetCookie();i.jar?.store(m,{host:o.host,pathname:s.pathname},this.#n());let h=NZe(f.headers.get(`content-type`)??``),g=Number(f.headers.get(`content-length`)??`0`),_=h!==null&&!(g>AZe)&&c!==`HEAD`?await f.text():null;this.#t.info(`vendor login proxy: upstream answered`,{meta:{addonId:this.#e,host:o.host,path:s.pathname,status:f.status,method:c,refererPath:IZe(d.referer,e.headers.referer),formActions:h===`html`&&_!==null?LZe(_):void 0,sentNames:RZe(d.cookie),vendorSets:m.map(zZe).join(` | `)}}),this.#l(n.attemptId,{attemptId:n.attemptId,method:c,upstreamHost:o.host,upstreamPath:s.pathname,requestSearch:s.search,formBody:u,contentType:K9(e.headers[`content-type`]),status:f.status,location:p,setCookies:m,cookieHeader:d.cookie});let ee=await i.evaluate({status:f.status,url:s.toString(),location:p,setCookies:m,bodyText:_});if(ee.kind===`done`){this.close(n.attemptId),this.#t.info(`vendor login proxy: sign-in finished`,{meta:{addonId:this.#e,status:ee.landing.status}}),this.#f(t,r,ee.landing);return}let v={};if(f.headers.forEach((e,t)=>{MZe.has(t.toLowerCase())||(v[t]=e)}),m.length>0&&(v[`set-cookie`]=dZe(m,a,{browserSafe:i.jar!==null})),p!==null&&(v.location=oZe(p,o,a)),v[`cache-control`]=`no-store`,_!==null&&h!==null){let e=lZe(_,h,o,a);t.writeHead(f.status,v),t.end(e);return}t.writeHead(f.status,v),await this.#d(f,t)}#l(e,t){let n=this.#a.get(e)??0;n>=200||(this.#a.set(e,n+1),this.#t.info(`vendor login proxy: flow`,{meta:{addonId:this.#e,...OZe(t)}}))}#u(e,t,n,r,i){let a={};for(let[t,n]of Object.entries(e.headers)){let e=t.toLowerCase();jZe.has(e)||n===void 0||(a[e]=Array.isArray(n)?n.join(`, `):n)}let o=CZe(hZe(K9(e.headers.cookie)??``),r?.headerFor({host:n.host,pathname:i.pathname,scheme:n.scheme},this.#n())??null);o.length>0&&(a.cookie=o),e.headers.origin!==void 0&&(a.origin=`${n.scheme}://${n.host}`);let s=K9(e.headers.referer);if(s!==void 0){let e=H9(s,t);e!==null&&(a.referer=e)}return a}async#d(e,t){if(e.body===null){t.end();return}for await(let n of e.body)if(t.write(n)||await new Promise(e=>{t.once(`drain`,e),t.once(`close`,e)}),t.destroyed)return;t.end()}#f(e,t,n){e.writeHead(302,{location:`${t}${ZXe(null,n)}`,"cache-control":`no-store`}),e.end()}},J9=1024*1024,VZe={sampleIntervalMs:6e4,baselineSettleSamples:5,baselineSampleCount:3,restartMultiple:4,floorBytes:1024*J9,ceilingBytes:3072*J9,cooldownMs:30*6e4,maxRestartsPerWindow:6,restartWindowMs:1440*6e4};function HZe(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=VZe;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/J9,128)*J9,ceilingBytes:t(`CAMSTACK_POOL_MEM_CEILING_MB`,n.ceilingBytes/J9,256)*J9,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 UZe(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 Y9(){return{settleSeen:0,baselineWindow:[],baselineBytes:null,restartsAt:[],lastRestartAt:null}}function WZe(e){let t=[...e].sort((e,t)=>e-t);return t[Math.floor(t.length/2)]}function GZe(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:WZe(r)}}function KZe(e,t){return e===null?t.ceilingBytes:Math.min(t.ceilingBytes,Math.max(t.floorBytes,t.restartMultiple*e))}function qZe(e,t,n){return e.filter(e=>t-e<n.restartWindowMs)}function JZe(e,t,n,r){let i=GZe(e,t,r),a=KZe(i.baselineBytes,r);if(t<=a)return{state:i,action:i.baselineBytes===null?`baseline-pending`:`ok`,baselineBytes:i.baselineBytes,thresholdBytes:a};let o=qZe(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 YZe(e,t){return{...Y9(),restartsAt:[...e.restartsAt,t],lastRestartAt:t}}function XZe(e){return{...Y9(),restartsAt:e.restartsAt,lastRestartAt:e.lastRestartAt}}function ZZe(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 QZe=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??Y9();t&&t.pids.length>0&&!$Ze(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=XZe(a));let o=JZe(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/J9),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/J9),thresholdMb:Math.round(o.thresholdBytes/J9),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/J9),thresholdMb:Math.round(o.thresholdBytes/J9),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/J9),thresholdMb:Math.round(o.thresholdBytes/J9),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=ZZe(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/J9),thresholdMb:Math.round(a.thresholdBytes/J9),baselineMb:o.baselineBytes===null?null:Math.round(o.baselineBytes/J9),restartsInWindow:c,deferredCandidates:n.filter(e=>e.key!==i).map(e=>e.key)}});try{await this.opts.restart(i),this.pools.set(i,{state:YZe(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 $Ze(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 eQe(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 tQe(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 nQe=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 rQe(e,t){let n=performance.now();try{return{output:t===void 0?await e():await aQe(e(),t),durationMs:iQe(performance.now()-n),ok:!0}}catch(e){return{output:void 0,durationMs:iQe(performance.now()-n),ok:!1,error:xe(e)}}}function iQe(e){return Math.round(e*100)/100}function aQe(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 oQe={openvino:`openvino`,edgetpu:`tflite`,coreml:`coreml`,onnx:`onnx`,cpu:`onnx`,cuda:`onnx`};function sQe(e){return oQe[e]??`onnx`}var cQe={onnx:`onnx`,coreml:`coreml`,openvino:`openvino`,tflite:`tflite`,pytorch:`pt`},lQe={coreml:`coreml_inference.py`,pytorch:`pytorch_inference.py`,openvino:`openvino_inference.py`};function uQe(e){return cQe[e]}function dQe(e){return lQe[e]}function fQe(e){return e===`coreml`||e===`pytorch`||e===`openvino`}function pQe(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 mQe(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 hQe(e){return Math.floor(Buffer.from(e,`base64`).byteLength/4)}function gQe(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=>_Qe(t,e,n,l)),f=s.some(t=>_Qe(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 _Qe(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&&vQe(t,e.polygon))return!0}return!1}function vQe(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 yQe(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 bQe=`Etc/Unknown`;function xQe(e){if(e.length===0||e===bQe)return!1;try{return new Intl.DateTimeFormat(`en-US`,{timeZone:e}),!0}catch{return!1}}function SQe(e={}){let t=(e.read??(()=>Intl.DateTimeFormat().resolvedOptions().timeZone))();return typeof t==`string`&&xQe(t)?t:null}var CQe=!1;function wQe(e,t,n={}){let r=SQe(n);if(r!==null)return r;if(!CQe){CQe=!0;let r=n.read??(()=>Intl.DateTimeFormat().resolvedOptions().timeZone);t?.warn(`the process time zone is not usable, using a fallback`,{meta:{rejectedTimeZone:r(),fallbackTimeZone:e}})}return e}var TQe=[`usb`,`pci`];function EQe(e,t){return t===0?e:`${e}:${t}`}function DQe(e,t){return e.units===void 0?t===(e.bus===`pci`?`pci`:`usb`)?Math.max(1,e.count??1):0:e.units.filter(e=>e.bus===t).reduce((e,t)=>e+Math.max(0,t.count),0)}function X9(e){if(e==null)return[];let t=[];for(let n of TQe){let r=DQe(e,n);for(let e=0;e<r;e++)t.push({bus:n,index:e,device:EQe(n,e)})}return t}var OQe=/^(usb|pci)(?::(\d+))?$/;function kQe(e){let t=OQe.exec(e.trim());if(t===null)throw Error(`edgetpu device "${e}" is not usb[:N] or pci[:N]`);let[,n,r]=t;return`${n}:${r??`0`}`}var AQe={value:`auto`,label:`Auto`},Z9={value:`cpu`,label:`CPU`},jQe={value:`usb`,label:`Coral USB`};function MQe(e){let t=e.bus===`pci`?`PCIe`:`USB`,n=e.index===0?`Coral ${t}`:`Coral ${t} ${e.index+1}`;return{value:e.device,label:n}}var NQe=[{id:`onnx`,supports:()=>!0,devices:e=>{if(!e)return[Z9];let t=[Z9];return e.gpu?.type===`nvidia`&&t.push({value:`cuda`,label:`CUDA`}),e.gpu?.type===`amd`&&e.platform===`linux`&&t.push({value:`webgpu`,label:`WebGPU (AMD iGPU)`}),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`||e.gpu?.type===`amd`),devices:e=>{if(!e)return[AQe];if(e.gpu?.type===`amd`)return[Z9];let t=[AQe,Z9];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`},Z9),n},defaultDevice:`all`},{id:`edgetpu`,supports:e=>X9(e?.coral).length>0,devices:e=>{let t=X9(e?.coral);return t.length>0?t.map(MQe):[jQe]},defaultDevice:`usb`}];function PQe(e){let t=NQe.find(t=>t.id===e);if(!t)throw Error(`Unknown runtime: ${e}`);return t}function FQe(e){return NQe.filter(t=>t.supports(e)).map(e=>e.id)}function IQe(e,t){return PQe(e).devices(t)}function LQe(e){return PQe(e).defaultDevice}function RQe(e){return e===`edgetpu`?`tflite`:uQe(e)}function zQe(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.gpu?.type===`amd`&&(e.platform===`linux`&&t.push({runtime:`python`,backend:`onnx`,format:`onnx`,score:75,reason:`ONNX WebGPU (AMD iGPU)`,available:!0}),t.push({runtime:`python`,backend:`openvino`,format:`openvino`,score:65,reason:`OpenVINO CPU (AMD x64)`,available:!0})),X9(e.coral).length>0&&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 BQe={cuda:`gpu`,edgetpu:`usb`,coreml:`all`,cpu:`cpu`};function Q9(e,t,n,r){return{key:e===`cpu`?`cpu`:`${e}:${t}`,backend:e,device:t,format:n,runtime:`python`,score:r,available:!0}}function VQe(e){let{scores:t}=zQe(e),n=[];for(let r of t){if(r.backend===`openvino`){e.npu?.type===`intel-npu`&&n.push(Q9(`openvino`,`npu`,r.format,r.score+2)),e.gpu?.type===`intel`&&n.push(Q9(`openvino`,`gpu`,r.format,r.score)),e.gpu?.type===`amd`&&n.push(Q9(`openvino`,`cpu`,r.format,r.score));continue}if(r.backend===`edgetpu`){for(let t of X9(e.coral))n.push(Q9(`edgetpu`,t.device,r.format,r.score));continue}if(r.backend===`onnx`&&r.reason.startsWith(`ONNX WebGPU`)){n.push(Q9(`onnx`,`webgpu`,r.format,r.score));continue}let t=BQe[r.backend]??r.backend;n.push(Q9(r.backend,t,r.format,r.score))}return n}var HQe=360*60*1e3;async function UQe(e){let t=e.now??(()=>Date.now()),n=e.api;if(n===void 0)return e.logger.warn(`device removal reconcile skipped — no device-manager api`),{read:!1,applied:0,failed:0};let r;try{r=await n.deviceManager.listDeletedSince.query({sinceMs:t()-ej})}catch(t){return e.logger.warn(`device removal reconcile skipped — tombstones unreadable, nothing deleted`,{meta:{error:xe(t)}}),{read:!1,applied:0,failed:0}}let i=0,a=0;for(let t of r)try{let n=await e.remove(t);i+=1,Object.values(n.counts).reduce((e,t)=>e+t,0)>0&&e.logger.info(`device removal reconcile cleaned a missed deletion`,{tags:{deviceId:t.deviceId},meta:{counts:n.counts,deletedAt:t.deletedAt}})}catch(n){a+=1,e.logger.warn(`device removal reconcile failed for a device — retried next pass`,{tags:{deviceId:t.deviceId},meta:{error:xe(n)}})}return{read:!0,applied:i,failed:a}}function WQe(e){let t=!1,n=()=>{t||(t=!0,UQe(e).catch(t=>{e.logger.warn(`device removal reconcile pass crashed`,{meta:{error:xe(t)}})}).finally(()=>{t=!1}))};n();let r=setInterval(n,HQe);return r.unref?.(),()=>clearInterval(r)}var GQe=38e3,KQe=32,qQe=4500,JQe=560,YQe=1690,XQe=560;function ZQe(e,t){if(!Number.isSafeInteger(e)||e<0)throw new L(`samsung-invalid`,`${t} must be a non-negative integer`)}function QQe(e){if(ZQe(e.nbits,`nbits`),ZQe(e.data,`data`),e.nbits<1||e.nbits>32)throw new L(`samsung-invalid`,`nbits must be 1..32`);if(e.data>=2**e.nbits)throw new L(`samsung-invalid`,`data does not fit in ${e.nbits} bits`);return[qQe,-4500,...Array.from({length:e.nbits},(t,n)=>{let r=e.nbits-1-n;return Math.floor(e.data/2**r)%2==1}).flatMap(e=>[JQe,-(e?YQe:XQe)]),JQe,-560]}var $Qe=.5,e$e=`sources`,t$e=b({manufacturer:p().optional(),supportedModels:S(p()).optional(),supportedController:p().optional(),commandsEncoding:p(),delay:f().nonnegative().optional(),commands:u(p(),l())});function n$e(e){return e instanceof Error?e.message:`unknown error`}function r$e(e){let t;try{t=JSON.parse(e)}catch(e){throw new L(`invalid-raw`,`Raw command is not a JSON array: ${n$e(e)}`)}let n=ZT.safeParse(t);if(!n.success)throw new L(`invalid-timings`,n.error.message);return{kind:`raw`,timings:n.data}}function i$e(e){return $T(e),{kind:`pronto`,code:e}}function a$e(e){let t=t$e.safeParse(e);if(!t.success)throw new L(`smartir-malformed`,`Not a SmartIR document: ${t.error.message}`);let n=t.data,r=n.commandsEncoding,i=[];for(let[e,t]of Object.entries(n.commands))if(e===e$e&&typeof t==`object`&&t&&!Array.isArray(t))for(let[e,n]of Object.entries(t))i.push({name:e,group:`source`,value:n});else i.push({name:e,group:`command`,value:t});let a=[],o=[],s=r===`Raw`||r===`Pronto`;for(let{name:e,group:t,value:n}of i){if(!s){o.push({name:e,group:t,reason:`${r} encoding is not supported`});continue}if(typeof n!=`string`){o.push({name:e,group:t,reason:`command is not a string`});continue}try{a.push({name:e,group:t,payload:r===`Raw`?r$e(n):i$e(n)})}catch(n){o.push({name:e,group:t,reason:n$e(n)})}}return{table:{commands:a,interCommandDelayMs:Math.round((n.delay??$Qe)*1e3),origin:{format:`smartir`,manufacturer:n.manufacturer,models:n.supportedModels,controller:n.supportedController}},skipped:o}}var o$e=class extends Error{instanceId;users;name=`InstanceInUseError`;constructor(e,t){super(`instance '${e}' is still in use by ${t.map(e=>`${e.kind} '${e.name??e.id}' (${e.id})`).join(`, `)}; unlink them first`),this.instanceId=e,this.users=t}};async function s$e(e,t){let n=[];for(let r of t)n.push(...await r.find(e));if(n.length>0)throw new o$e(e,n)}function c$e(e,t){return Array.isArray(e)?e.includes(t):e===t}function l$e(e){let t=typeof e.field==`string`?[e.field]:e.field;return{find:async n=>(await e.list()).filter(e=>t.some(t=>c$e(e.formValues[t],n))).map(t=>({kind:e.kind,id:t.id,...t.name===void 0?{}:{name:t.name}}))}}function u$e(e,t){return{...e,deleteInstance:async n=>(await s$e(n.id,t()),e.deleteInstance(n))}}function d$e(e,t,n){return{type:`instance-select`,key:e,label:n.label,...n.description===void 0?{}:{description:n.description},required:n.required??!0,...n.noneLabel===void 0?{}:{noneLabel:n.noneLabel},functionCap:t.cap,...t.kind===void 0?{}:{kind:t.kind}}}function f$e(e){let t={};for(let[n,r]of Object.entries(e.links))t[n]=Xt(r);let n=Yr({...t,...e.fields});return Xr(e.name,{title:e.title,schema:n,writeTrigger:e.writeTrigger})}function $9(e,t){let n=e[t];return typeof n==`string`&&n!==``?n:void 0}async function p$e(e,t,n){let r=await e.getResolved(t);return r===null?void 0:$9(r,n)}function m$e(e,t,n=`integration`){return{find:async r=>(await e.listResolved()).filter(e=>$9(e.body,t)===r).map(e=>({kind:n,id:e.id,name:typeof e.body.name==`string`?e.body.name:e.id}))}}function h$e(e,t){let n=Qt(t.kind),r=t.instanceKind??t.kind.name,i=new Nn(e,t.kind,{description:{...t.description,links:n.map(e=>({kind:r,field:e.field,to:e.to}))},formSchema:async e=>{let r=n[0],a=e===null||r===void 0||t.dynamicSections===void 0?void 0:$9(await i.getResolved(e)??{},r.field),o=a!==void 0&&t.dynamicSections!==void 0?await t.dynamicSections(a):[];return{sections:[{id:`links`,title:`Linked instances`,columns:1,fields:n.map(e=>d$e(e.field,e.to,t.labels?.[e.field]??{label:e.field}))},...t.linkSections??[],...o]}},initialBody:e=>t.kind.schema.parse({name:e,...Object.fromEntries(n.map(e=>[e.field,``]))}),configured:e=>n.every(t=>$9(e,t.field)!==void 0)&&(t.alsoConfigured?.(e)??!0),...t.mintId===void 0?{}:{mintId:t.mintId},...t.onChanged===void 0?{}:{onChanged:t.onChanged}});return i}function g$e(e,t){return`cal_${(0,no.createHash)(`sha1`).update(`${e}\0${t}`).digest(`hex`).slice(0,16)}`}function _$e(e){if(!Array.isArray(e))return null;let t=[];for(let n of e){if(typeof n!=`string`)return null;t.push(n)}return t}async function v$e(e,t){let n=0,r=0,i=0,a=[];for(let o of await e.listAccounts()){if(o.calendarIds===void 0||o.calendarIds===null)continue;let s=_$e(o.calendarIds);if(s===null){e.warn(`account '${o.id}': calendarIds is not a list of ids and stays as it is`),a.push(o.id);continue}try{let a=new Set,c=[];for(let e of s){let n=t.calendarIdOf(o.id,e);n===null||n===``?c.push(e):a.add(n)}for(let t of a){let r=g$e(o.id,t),i={name:t,accountId:o.id,calendarId:t};await e.readCalendar(r)===null&&(await e.putCalendar(r,i),n+=1);let a=await e.readCalendar(r);if(a?.accountId!==o.id||a.calendarId!==t)throw Error(`account '${o.id}': the calendar record '${r}' did not read back; the array stays`)}c.length>0&&(e.warn(`account '${o.id}': ${c.length} entr${c.length===1?`y`:`ies`} of calendarIds named another account or no calendar and selected nothing: ${c.join(`, `)}`),i+=c.length),await e.clearCalendarIds(o.id),r+=1}catch(t){e.warn(t instanceof Error?t.message:String(t)),a.push(o.id)}}if(a.length>0)throw Error(`calendarIds kept on ${a.length} account(s) (${a.join(`, `)}); ${n} calendar record(s) written, ${r} account(s) cleared`);return{outcome:n===0&&r===0?`already-done`:`done`,summary:{created:n,cleared:r,dropped:i}}}var y$e=1e3,b$e=/^int_\d+$/;async function x$e(e){let t=await e.listBrokers(),n=t.filter(e=>b$e.test(e.id));n.length>0&&e.warn(`${n.length} broker row(s) are keyed like a registry integration and are left as they are: ${n.map(e=>e.id).join(`, `)}`);let r=0;for(let n of t){let t=n.integrationId;if(t===void 0||t===``)continue;let i=await e.readConnection(t);if(i===null)await e.putConnection(t,{name:n.name,brokerId:n.id});else if(i.brokerId!==n.id){e.warn(`integration '${t}' already names broker '${i.brokerId??`none`}', not '${n.id}'; the link stays on the broker`);continue}if((await e.readConnection(t))?.brokerId!==n.id)throw Error(`integration '${t}': the link did not read back - broker '${n.id}' keeps it`);await e.clearBrokerLink(n.id),r+=1}return{outcome:r===0?`already-done`:`done`,summary:{brokers:t.length,moved:r,strayIntegrationRows:n.length}}}function S$e(e){return{warn:e.warn,listBrokers:async()=>(await e.brokers.query({limit:y$e})).records.map(e=>{let t=e.data.name,n=e.data.integrationId;return{id:e.id,name:typeof t==`string`&&t.length>0?t:e.id,integrationId:typeof n==`string`?n:void 0}}),readConnection:async t=>{let n=await e.connections.get(t);return n===null?null:{brokerId:n.data.brokerId}},putConnection:async(t,n)=>{await e.connections.put({id:t,data:n},{ifRev:0})},clearBrokerLink:async t=>{await e.brokers.patch(t,{integrationId:null})}}}export{OPe as ACCESSORY_LABEL,k9 as ACCESS_ROLES,cge as ACTION_RUN_MAX_MS,bx as ACTION_RUN_TIMEOUT_MS,lge as ACTION_RUN_TRANSPORT_MARGIN_MS,Hde as ACTION_TARGET_INVALIDATION_EVENTS,rc as ACTIVE_CRITERIA,I3 as ACTUATOR_METHODS,Nje as ACTUATOR_TEMPLATE_IDS,Ble as ADMIN_SCOPE,XSe as AGENT_MDNS_QUERY_NAME,YSe as AGENT_MDNS_SERVICE_TYPE,ZSe as AGENT_MDNS_TXT_KEYS,ic as AGGREGATE_REDUCERS,Vqe as AGGREGATE_THROUGHPUT_BY_KIND,Foe as ALEXA_EGRESS_PROFILE,B2 as ALL_CAPABILITY_DEFINITIONS,Ule as ALL_METHOD_ACCESS,Kce as APPEARANCE_BIN_COUNT,qce as APPEARANCE_BLOCKS,Gce as APPEARANCE_DESCRIPTOR_VERSION,Jce as APPEARANCE_RESOLVES_AMBIGUITY_DEFAULT,JW as APPLE_SA_TO_MACRO,mBe as APPLIANCE_EXPORT,due as APP_AUTH_CALLBACK_MAX_LENGTH,uue as APP_AUTH_CALLBACK_URLS,_ue as APP_FLOW_DEFAULT_REDIRECT,xue as APP_FLOW_REFUSAL_MESSAGES,vue as APP_FLOW_STATE_PREFIX,Cue as APP_REFUSED_PATH,Sue as APP_START_REFUSAL_MESSAGES,Vse as ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT,mc as ARITHMETIC_OPS,ad as AUDIO_ANALYSIS_CAP_NAME,Mge as AUDIO_BACKEND_CHOICES,we as AUDIO_CHUNK_FORMATS,wM as AUDIO_GRADIENT_ALPHAS,KW as AUDIO_MACRO_LABELS,NS as AUDIO_NOT_CLASSIFIED_REASONS,ro as AUDIO_PRESETS,$Ve as AUDIO_SCALE_EPOCH_ISO,eHe as AUDIO_SCALE_EPOCH_MS,PSe as AUTOMATIC_HUB_ADDRESS_FLAGS,Vb as AUTOMATION_LEAF_CATALOG,Hhe as AUTOMATION_LEAF_CATEGORIES,Hb as AUTOMATION_LEAF_KINDS,bEe as AUTO_SHARE_HEADROOM,Fqe as AUTO_TUNE_FAMILY,fY as AcceleratorComputeSchema,zq as AcceleratorKindSchema,_x as AccessoriesStatusSchema,o8 as AccessoryKind,yb as ActionEntrySchema,jhe as ActionError,Ahe as ActionErrorCodeSchema,bb as ActionInputSchema,Sx as ActionLinksSchema,vb as ActionMinDelaySecSchema,wb as ActionRunChangedSchema,xb as ActionRunOriginSchema,Sb as ActionRunOutcomeSchema,Cb as ActionRunResultSchema,pb as ActionSourceKindSchema,_b as ActionStatusSchema,Y_ as ActionStepSchema,Wde as ActionTargetResolver,Rde as ActionTargetSchema,db as ActionVariableSchema,lb as ActionVariableTypeSchema,ub as ActionVariableValueSchema,sc as ActiveCriterionSchema,JU as AddBrokerInputSchema,zV as AddRetrainFrameFromRecordingResultSchema,aS as AddonAutoUpdateSchema,Qx as AddonListItemSchema,mt as AddonMigrationDefinitionError,Ne as AddonMigrationsBlockedError,Rne as AddonPageDeclarationSchema,wx as AddonPageInfoSchema,Xh as AddonRoutesScopeSchema,Bk as AdminLinkTargetEnum,Zk as AdoptionAdoptInputSchema,Qk as AdoptionAdoptResultSchema,Yu as AdoptionCandidateResultSchema,Gk as AdoptionFilterSchema,Yk as AdoptionGetCandidateInputSchema,Xu as AdoptionJobSchema,qu as AdoptionJobStateSchema,qk as AdoptionListCandidatesInputSchema,Jk as AdoptionListCandidatesOutputSchema,Ju as AdoptionOutcomeSchema,$k as AdoptionReleaseInputSchema,Xk as AdoptionStatusSchema,TJ as AgentLoadSummarySchema,oc as AggregateReducerSchema,mS as AirQualitySensorStatusSchema,_S as AlarmArmModeSchema,vS as AlarmPanelStatusSchema,gS as AlarmStateSchema,xGe as AlertEpisodePayloadSchema,CS as AlertSchema,bS as AlertSeveritySchema,SS as AlertSourceSchema,xS as AlertStatusSchema,TS as AmbientLightSensorStatusSchema,lH as AnalyticsLtsSeriesSchema,hue as AppFlowPurposeSchema,sg as AppLoginPathSchema,og as AppPageLangSchema,CL as AppleFmAvailabilitySchema,SL as AppleFmUnavailableReasonSchema,Xj as ApplianceRunDetailSchema,gC as ArchiveEntrySchema,_C as ArchiveManifestSchema,uC as ArchiveSqliteSnapshotSchema,kf as ArchivedDebugNoteQueryInputSchema,Of as ArchivedDebugNoteSchema,vae as ArithmeticHelperSpecSchema,Kl as AttachmentMediaTypeSchema,ql as AttachmentSchema,FS as AudioAnalysisResultSchema,IS as AudioAnalysisSettingsSchema,LS as AudioAttachDeviceInputSchema,RS as AudioAttachDeviceResultSchema,Xi as AudioChunkFormatSchema,AS as AudioChunkInputSchema,YS as AudioClassSummarySchema,MS as AudioClassificationLabelSchema,BS as AudioClassificationResultSchema,PS as AudioClassifyOutcomeSchema,US as AudioCodecInfoSchema,WS as AudioDecodeSessionConfigSchema,zS as AudioDetachDeviceResultSchema,Au as AudioEncodeSchema,GS as AudioEncodeSessionConfigSchema,qS as AudioEncodedChunkSchema,ZB as AudioEventSchema,jS as AudioLevelSchema,ZS as AudioMetricsHistoryPointSchema,QS as AudioMetricsHistorySchema,XS as AudioMetricsSnapshotSchema,KS as AudioPcmChunkSchema,Hi as AudioStreamPickSchema,eC as AuthResultSchema,Zq as AutoTuneApplyInputSchema,$q as AutoTuneApplyResultSchema,Yq as AutoTuneOptionsSchema,Qq as AutoTunePhaseResultSchema,Xq as AutoTunePlanSchema,Jq as AutoTuneWarningSchema,iS as AutoUpdateSettingsSchema,gv as AutomationActionSchema,hv as AutomationChooseStepSchema,U_ as AutomationCommandStepBaseSchema,G_ as AutomationCommandStepSchema,g_ as AutomationConditionOperatorSchema,$v as AutomationConditionTraceNodeSchema,nC as AutomationControlStatusSchema,ov as AutomationParallelStepSchema,xv as AutomationRecipeSchema,uv as AutomationRepeatLoopSchema,mv as AutomationRepeatStepSchema,_v as AutomationRunModeSchema,Xv as AutomationRunOutcomeSchema,ay as AutomationRunTraceSchema,ey as AutomationRunVerdictSchema,ev as AutomationSetStepSchema,oy as AutomationStateDocSchema,iy as AutomationStepTraceSchema,Z_ as AutomationStopStepSchema,Qv as AutomationTriggerTraceSchema,H_ as AutomationWaitStepSchema,rv as AutomationWaitUntilStepSchema,b_ as AutomationWhenSchema,cI as AvailableIntegrationTypeSchema,MO as BASE_DEVICE_CAPS,Fu as BASE_LIVE_EGRESS_PROFILE,Xze as BATTERY_DEVICE_PROFILE,zPe as BATTERY_UNREACHABLE_AFTER_MS,d9 as BENCH_ROOT_STEP_ID,nc as BINARY_AGGREGATES,Rse as BIRTH_DECISION_DEFAULT_LIMIT,Tre as BOOT_RECOVERY_BACKOFF_MS,U4 as BUILTIN_REMOTE_COMPONENTS,KE as BUILTIN_RESULT_KINDS,VXe as BackgroundRunRegistry,eI as BacklightModeSchema,pC as BackupArchiveEncryptionSchema,fC as BackupDestinationInfoSchema,mC as BackupEncryptionStatusSchema,hC as BackupEntrySchema,bC as BackupRunPhaseSchema,xC as BackupRunSchema,yC as BackupRunStateSchema,SC as BackupTriggerResultSchema,hr as BaseAddon,MPe as BaseDevice,RPe as BaseDeviceProvider,Kt as BatchTooLargeError,TC as BatteryStatusSchema,f_ as BecomesOperatorSchema,epe as BecomesWatch,OC as BinaryStatusSchema,Tf as BirthDecisionCropSourceSchema,Df as BirthDecisionQueryInputSchema,Ef as BirthDecisionRecordSchema,wf as BirthDecisionVerdictSchema,AC as BoardKeyFailureReasonSchema,kS as BoundingBoxSchema,NC as BrightnessStatusSchema,vw as BrokerAudioClientSchema,Sw as BrokerClientsSchema,qU as BrokerConnectionDetailsSchema,bw as BrokerConsumerAttributionSchema,yw as BrokerConsumerKindSchema,xw as BrokerEncodedClientSchema,BC as BrokerGetStateInputSchema,IC as BrokerPublishInputSchema,FC as BrokerRegistryStatusSchema,_w as BrokerRtspClientSchema,ta as BrokerStatsSchema,Uge as BrokerStatusEnum,ea as BrokerStatusSchema,LC as BrokerSubscribeInputSchema,RC as BrokerSubscribeResultSchema,zC as BrokerUnsubscribeInputSchema,SVe as BucketAccumulator,hd as BulkRecordSchema,js as CALENDAR_PERIODS,ore as CALLER_STAMPED_CAPABILITIES,wte as CALLER_USERNAME_HEADER,MCe as CAMERA_SENSORS_NOT_LOADED,ACe as CAMERA_SENSORS_SETTINGS_KEY,cd as CAMERA_SWITCH_CATALOG,Qu as CAMERA_SWITCH_ORDER,Iz as CAMERA_TRIGGER,XL as CAMSTACK_APP_LINK_ORIGIN,of as CAMSTACK_EVENT_PREFIX,Vi as CAM_PROFILE_ORDER,zOe as CAPABILITY_NAMES,BOe as CAPABILITY_ROUTER_KEYS,Ha as CAP_COMMAND_ORIGIN_CONTEXT_KEY,BE as CAP_CUSTOMIZE_CATALOG,sVe as CAP_NAMES_WITH_STATUS,Ba as CAP_NODE_PIN_CONTEXT_KEY,k5 as CAP_PROVIDER_KIND_MAP,VE as CAP_RUNTIME_FIELD_UNITS,jne as CAP_VOCABULARY,Ma as CAP_VOCABULARY_BY_NAME,OKe as CATALOG_LANGS,kpe as CHOOSE_BRANCHES_MAX,Ffe as CIVIL_TWILIGHT_ALTITUDE_DEG,$f as CLASS_MAP_MACRO_TARGETS,So as CLIMATE_ROLES,GX as CLIP_BROKER_PACED_RATES,M3 as CLIP_LABEL_EVENT_FETCH_LIMIT,CDe as CLIP_PLAYBACK_OPTIONS,qX as CLIP_REALTIME_SOURCE_RATES,gDe as CLIP_REASON_HEADER_MAX,Zm as CLIP_SEARCH_STRICTNESS,yDe as CLIP_STILL_DISPOSITION_HEADER,vDe as CLIP_STILL_REASON_CODE_HEADER,hDe as CLIP_STILL_REASON_HEADER,KX as CLIP_STREAM_SOURCE_RATES,bDe as CLIP_STREAM_TRANSPORT_HEADER,$m as CLIP_STRICTNESS_FACTOR,Ym as CLIP_VECTOR_INDEX_PATTERN,cB as CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS,lB as CLUSTER_MODEL_SCOPED_STEPS,PCe as CLUSTER_MODEL_SECTION_ID,_B as CLUSTER_STEP_SETTING_FIELDS,lfe as COCO_80_LABELS,Ig as COCO_TO_MACRO,Ce as COMPOSED_DEVICE_STABLE_ID_PREFIX,uD as COMPOSED_ITEM_FIXED_FIELDS,xc as COMPOSER_ADDON_ID,e_e as COMPOSER_RUNNER_ID,cT as COMPOSITION_EVENT_CATEGORY,Bc as COMPOSITION_ITEM_ARRAY_PATH,zc as COMPOSITION_ITEM_KEY_RE,hMe as COMPOSITION_LINK_KINDS,Y2 as COMPOSITION_TARGET_CAP_NAMES,poe as CONNECTION_TEST_TIMEOUT_MS,g8 as CONTAINER_CHILD_PRIORITY,f8 as CONTAINER_PRIMARY_CHILD_RULES,Iqe as CORAL_DEFAULT_MODEL_ID,tk as CORE_BLOCKS_ADDON_ID,ek as CORE_BLOCK_ADDON_PREFIX,cY as CORE_ULTRA_265K_IGPU_CLOCK_MHZ,IEe as CORE_ULTRA_265K_IGPU_EU,Xle as CREDENTIAL_TOKEN_AUDIENCE,eg as CREDENTIAL_TOKEN_KIND,uYe as CROP_CLASS_FLOORS,sh as CROP_SUPPLY_SOURCES,th as CROP_SUPPLY_STEP_IDS,Cae as CUSTOMIZATION_BLOCK_NAME_PREFIX,EVe as CUSTOMIZE_APPLY_AUTHORITY_KINDS,wVe as CUSTOMIZE_CARDINALITIES,TVe as CUSTOMIZE_EVENT_SHAPES,DVe as CUSTOMIZE_TARGET_SECTIONS,XC as CalendarColorSchema,ZC as CalendarEntrySchema,GC as CalendarEventSchema,WC as CalendarInfoSchema,KC as CalendarListEventsInputSchema,QC as CalendarPreferenceEntrySchema,$C as CalendarPreferencesSchema,ew as CalendarSetPreferenceInputSchema,UC as CalendarSourceKindSchema,aae as CalendarWindowSchema,j as CamProfileSchema,B$ as CamStreamDescriptorSchema,Ui as CamStreamKindSchema,Wi as CamStreamResolutionSchema,jJ as CameraAssignmentStatusSchema,BJ as CameraAudioStatusSchema,MJ as CameraBrokerProfileSchema,NJ as CameraBrokerStatusSchema,nw as CameraCredentialsSchema,rw as CameraCredentialsStatusSchema,PJ as CameraDecoderStatusSchema,RJ as CameraDetectionPhaseSchema,LJ as CameraDetectionProvisioningSchema,IJ as CameraDetectionProvisioningStateSchema,CJ as CameraDetectionSourceSchema,zJ as CameraDetectionStatusSchema,CH as CameraMetricsSchema,wH as CameraMetricsWithDeviceIdSchema,FJ as CameraMotionStatusSchema,j2 as CameraOccupancySnapshotForDeviceSchema,Kz as CameraOwnMotionSchema,Jz as CameraRawLevelSchema,VJ as CameraRecordingModeSchema,HJ as CameraRecordingStatusSchema,Wz as CameraSensorAttachmentSchema,Vz as CameraSensorEntrySchema,zz as CameraSensorModeSchema,Lz as CameraSensorRefSchema,Hz as CameraSensorsConfigSchema,qz as CameraSensorsNotEnforcedSchema,Gz as CameraSensorsNotForwardedSchema,Yz as CameraSensorsStatusSchema,AJ as CameraSourceStatusSchema,kJ as CameraSourceStreamSchema,WJ as CameraStatusDegradationReasonSchema,GJ as CameraStatusDegradationSchema,qJ as CameraStatusSchema,UJ as CameraStatusStageSchema,Gi as CameraStreamSchema,$u as CameraSwitchAuthoritySchema,rd as CameraSwitchGroupSchema,Zu as CameraSwitchIdSchema,nd as CameraSwitchSchema,ed as CameraSwitchUnavailableReasonSchema,td as CameraSwitchWarningSchema,Cr as CamstackError,Kk as CandidateQueryFilterSchema,Wh as CapScopeSchema,DJ as CapabilityBindingsSchema,lJ as CapacityFallbackSchema,cJ as CapacitySourceSchema,Iw as CarbonMonoxideStatusSchema,AKe as CatalogFileSchema,DKe as CatalogLangSchema,tee as ChargingStatus,tM as ClaimOutcomeSchema,rM as ClaimsListingSchema,nj as CleanupDeletedDevicesResultSchema,If as ClearTrackRelationInputSchema,Lf as ClearTrackRelationResultSchema,EW as ClientNetworkStatsSchema,zw as ClimateControlStatusSchema,VX as ClipBytesOfferSchema,BX as ClipBytesSchema,cZ as ClipExportFailureSchema,Xm as ClipModelMetaSchema,JX as ClipPlaybackOptionsSchema,RX as ClipPlaybackSchema,LX as ClipSchema,Qm as ClipSearchStrictnessSchema,YX as ClipSourceAvailabilitySchema,XX as ClipSourceSchema,mDe as ClipStillDispositionSchema,pDe as ClipStillRefusalCodeSchema,UX as ClipStreamAudioReasonSchema,HX as ClipStreamAudioSchema,WX as ClipStreamDialSchema,zX as ClipWakeSchema,zW as ClusterAddonNodeDeploymentSchema,BW as ClusterAddonStatusEntrySchema,XJ as ClusterModelChoiceSchema,Jw as ClusterUpdateBlockerSchema,Uw as ClusterUpdateFailureReasonSchema,Kw as ClusterUpdateJobSchema,Gw as ClusterUpdateJobStateSchema,qw as ClusterUpdateOptionsSchema,Yw as ClusterUpdatePlanSchema,Vw as ClusterUpdateStepKindSchema,Ww as ClusterUpdateStepSchema,Hw as ClusterUpdateStepStatusSchema,yd as CollectionColumnSchema,bd as CollectionIndexSchema,tT as ColorStatusSchema,Oi as CommandOriginClaimSchema,Wue as CompleteEnrollmentInputSchema,Gue as CompleteEnrollmentOutputSchema,Kue as CompleteEnrollmentResultSchema,BO as ComposableCapabilitiesSchema,zO as ComposableCapabilitySchema,RO as ComposableFieldSchema,AT as ComposerApplyInputSchema,MT as ComposerApplyResultSchema,DT as ComposerBlockSchema,jT as ComposerBlockVerdictSchema,OT as ComposerUnreadableBlockSchema,kc as CompositionAggregateSourceSchema,Ec as CompositionBindingSchema,dk as CompositionBlockInputSchema,ET as CompositionBlockStateSchema,Oc as CompositionCodeSourceSchema,Rc as CompositionCommandTargetSchema,vk as CompositionCustomizationReadSchema,lT as CompositionEventPlanSchema,Jc as CompositionExistingTargetSchema,Dc as CompositionExpressionSourceSchema,Lc as CompositionExtensionCommandSchema,bT as CompositionFeatureModeSchema,xT as CompositionFeaturePlanSchema,Wc as CompositionFeatureSchema,_T as CompositionFieldItemSchema,mT as CompositionFieldKindSchema,vT as CompositionFieldPlanSchema,Cc as CompositionFieldReadSchema,gT as CompositionFieldRoleSchema,jc as CompositionFieldSourceSchema,wT as CompositionFieldStateKindSchema,TT as CompositionFieldStateSchema,Hc as CompositionFieldsFeatureSchema,Pc as CompositionForwardArgSchema,Ic as CompositionForwardCommandSchema,wc as CompositionFromSourceSchema,_k as CompositionGetReadSchema,vO as CompositionGraphError,Vc as CompositionItemEntrySchema,gk as CompositionListReadSchema,Tc as CompositionLiteralBindingSchema,Kc as CompositionNewTargetSchema,Uc as CompositionPassthroughFeatureSchema,fT as CompositionProblemCodeSchema,pT as CompositionProblemSchema,CT as CompositionRunStatusSchema,Xc as CompositionSchema,Ac as CompositionSeriesSourceSchema,$s as CompositionSourceRefSchema,pk as CompositionStateReadSchema,Yc as CompositionTargetSchema,hT as CompositionUnavailableModeSchema,ST as CompositionValidationSchema,mk as CompositionViewSchema,zy as ConditionMirror,KA as ConfigEntrySchema,Ox as ConfigSectionWithValuesSchema,Dx as ConfigTabDeclarationSchema,PT as ConnectivityStatusSchema,LT as ConsumableFormSchema,HT as ConsumableItemSchema,IT as ConsumableKindSchema,t_e as ConsumableLevelSchema,BT as ConsumableRemainingKindSchema,VT as ConsumableRemainingSchema,RT as ConsumableStatusSchema,UT as ConsumablesStatusSchema,GT as ContactStatusSchema,qT as ControlKindSchema,JT as ControlStatusSchema,Mh as ConvertArtifactSchema,Nh as ConvertResultSchema,Ah as ConvertTargetSchema,bk as CoreBlockCompileInputSchema,yk as CoreBlockCompileResultSchema,ak as CoreBlockFilesSchema,sk as CoreBlockInputFieldsSchema,ck as CoreBlockInputSchema,nk as CoreBlockPlacementSchema,fk as CoreBlockSchema,uk as CoreBlockSourceSchema,rk as CoreBlockStatusSchema,Sk as CoverStateSchema,Ck as CoverStatusSchema,F0 as CreateUserInputSchema,Qh as CredentialScopeSchema,Qle as CredentialTokenClaimsSchema,vv as CurrentAutomationRecipeSchema,fS as CustomActionInputSchema,Tk as CustomModelDescriptorSchema,Tye as CustomizeAssignmentStatusSchema,Ige as DATABASE_SNAPSHOT_PARTIAL_SUFFIX,Fge as DATABASE_SNAPSHOT_SUFFIX,iC as DATABASE_SNAPSHOT_TIMEOUT_MS,Cte as DATAPLANE_SECRET_HEADER,dse as DATA_STORE_DATABASES,oAe as DAYS_PER_WEEK,ks as DAY_MS,T4 as DAY_NAMES,ra as DEBUG_CHANNEL_PREFIX,aa as DEBUG_WATCH_HARD_CAP_MS,pne as DEBUG_WATCH_REARM_EVERY_MS,ia as DEBUG_WATCH_WINDOW_MS,JPe as DECLARED_DEVICE_SWEEP_LIMIT,x8 as DECLARED_INTEGRATION_FIXED_KEY,$oe as DEFAULT_ADDON_PLACEMENT,Nge as DEFAULT_AUDIO_ANALYZER_CONFIG,zqe as DEFAULT_CAMERA_FPS,Bz as DEFAULT_CAMERA_SENSOR_MODE,kKe as DEFAULT_CATALOG_LANG,dB as DEFAULT_CLUSTER_STEP_MODELS,bB as DEFAULT_CLUSTER_STEP_SETTINGS,ik as DEFAULT_CORE_BLOCK_ENTRY,Nye as DEFAULT_DECODER_HWACCEL_CONFIG,v9 as DEFAULT_DETAIL_CROP_CONVENTION,sne as DEFAULT_DISPLAY_PREFERENCE,pp as DEFAULT_EVENTS_BAND_BUFFER_SEC,vTe as DEFAULT_EVENT_COLOR,$se as DEFAULT_FEATURES,Mo as DEFAULT_FIRST_SIGHTING_FRESHNESS_MS,Rqe as DEFAULT_HEADROOM,Fs as DEFAULT_HISTORY_RETENTION,qpe as DEFAULT_HOLD_OVERRIDE,Jpe as DEFAULT_MAX_HOLD_ATTEMPTS,Nv as DEFAULT_MAX_LATE_MS,BCe as DEFAULT_MIN_LANDMARK_FACE_SIZE_PX,_Ee as DEFAULT_MIN_SESSIONS_PER_DEVICE,D9 as DEFAULT_NATIVE_LEASE_SETTINGS,Xce as DEFAULT_OVERLAY_LAYERS,VZe as DEFAULT_POOL_MEMORY_POLICY,gp as DEFAULT_RECORDING_PROFILES,ose as DEFAULT_RETENTION,ute as DEFAULT_RUNTIME_STATE_DURABILITY,loe as DEFAULT_SESSION_LOST_DEBOUNCE_MS,tJ as DEFAULT_SESSION_PLACEMENT_POLICY,hJ as DEFAULT_SHARE_SOURCE,JKe as DEFAULT_TIMELAPSE_PREVIEW_TEXT,ure as DEFAULT_TOKEN_EXPIRY,Hpe as DEFAULT_TRACE_KEEP,Ale as DEFAULT_VIEWER_SCOPE,zue as DEFINITIVE_DEVICE_REFUSALS,vc as DERIVATIVE_UNITS,sse as DERIVED_CAMERA_SILENCED_CAP_NAMES,jYe as DETAIL_CROP_PADDING_FIELD,TYe as DETAIL_CROP_PADDING_KEY,wYe as DETAIL_CROP_SECTION_ID,EYe as DETAIL_CROP_SQUARE_KEY,yfe as DETECTION_LABEL_SOURCES,dfe as DETECTION_MACRO_CLASSES,id as DETECTION_PIPELINE_CAP_NAME,oY as DETECTOR_ACCURACY,aY as DETECTOR_PERF,Fye as DEVICE_ALIAS_MAX_LENGTH,oA as DEVICE_ALIAS_PATTERN,oQe as DEVICE_BACKEND_TO_FORMAT,Dze as DEVICE_CAP_NAMES,jue as DEVICE_CERT_RENEW_WINDOW_DAYS,cg as DEVICE_CERT_SIGNATURE,Aue as DEVICE_CERT_VALIDITY_DAYS,Une as DEVICE_CHILDREN_BATCH_MAX,Bue as DEVICE_DEFINITIVE_REFUSALS_BEFORE_DELETE,Mue as DEVICE_ENROLLMENT_TTL_MS,eBe as DEVICE_FEATURE_REQUIREMENTS,ube as DEVICE_HISTORY_ENERGY_KEY,bbe as DEVICE_HISTORY_ORPHAN_DELETE_MAX,ybe as DEVICE_HISTORY_ORPHAN_LIST_MAX,mbe as DEVICE_HISTORY_QUERY_MANY_MAX_ITEMS,fD as DEVICE_ID_FIELD,Nue as DEVICE_NONCE_TTL_MS,Zze as DEVICE_PROFILES,_Je as DEVICE_RAMP,Hue as DEVICE_REFRESH_REFUSAL_PREFIX,FPe as DEVICE_RESTORE_RETRY_CONCURRENCY,l8 as DEVICE_RESTORE_RETRY_DELAYS_MS,_Be as DEVICE_ROLE_ICON,wbe as DEVICE_RUNS_MAX_PAGE,Pue as DEVICE_SAN_CREDENTIAL_PREFIX,Fue as DEVICE_SAN_USER_PREFIX,Qa as DEVICE_SCOPED_CAPS,Jye as DEVICE_SEARCH_DEFAULT_LIMIT,Yye as DEVICE_SEARCH_MAX_LIMIT,Or as DEVICE_SETTINGS_CONTRIBUTION_METHODS,lg as DEVICE_SIGNATURE_MESSAGE_VERSION,r8 as DEVICE_STATE_READERS,kr as DEVICE_STATUS_METHOD,zye as DEVICE_TEMPLATE_BUDGET_MS,Gye as DEVICE_TEMPLATE_FILTERS,uA as DEVICE_TEMPLATE_MAX_LENGTH,Bye as DEVICE_TEMPLATE_MAX_OUTPUT,Hye as DEVICE_TEMPLATE_NOW_ALIAS,mA as DEVICE_TEMPLATE_REFUSAL_REASONS,Uye as DEVICE_TEMPLATE_THIS_ALIAS,gA as DEVICE_TEMPLATE_TRACE_REASONS,Vye as DEVICE_TEMPLATE_UNAVAILABLE,Wye as DEVICE_TEMPLATE_VALUES_CAP,ej as DEVICE_TOMBSTONE_RETENTION_MS,Tbe as DEVICE_TRANSITIONS_MAX_PAGE,Ebe as DEVICE_TRANSITIONS_RECORD_BATCH_MAX,$Pe as DEVICE_TYPE_CONTROL_KIND,C5 as DEVICE_TYPE_ICON,_Xe as DEVICE_TYPE_INFO,one as DISPLAY_PREFERENCES,BM as DISPLAY_PRESETS,QM as DOORBELL_RISE_DEBOUNCE_MS,hx as DRAFT_KINDS,gd as DataStoreDatabaseSchema,Ak as DataStoreEngineInfoSchema,lC as DatabaseSnapshotRequestSchema,sC as DatabaseSnapshotResultSchema,oC as DatabaseSnapshotTableSchema,aC as DatabaseSnapshotTargetsSchema,cC as DatabaseSnapshotWrittenSchema,Mk as DayNightModeSchema,Fk as DayNightOptionsSchema,Ik as DayNightSettingsPatchSchema,Pk as DayNightStatusSchema,sa as DebugInterest,mne as DebugWatchTable,Wt as DeclarationRefusedError,xd as DeclareCollectionInputSchema,gz as DeclareKindResultSchema,YPe as DeclaredDevices,Zi as DecodedAudioChunkSchema,fI as DeleteIntegrationResultSchema,Ql as DeliveryParamSchema,Zl as DeliveryParamValueSchema,bae as DerivativeHelperSpecSchema,qQ as DesktopAppStatusSchema,_9 as DetailCropConventionSchema,tp as DetectionCatalogClassMapSchema,qB as DetectionSourceSchema,SU as DetectionSourcesSchema,Lg as DetectionSubjectSchema,ghe as DetectionTriggerFilter,Vk as DeviceAdminLinkSchema,sA as DeviceAliasSchema,rA as DeviceCaStatusSchema,ide as DeviceCertificateLoginMethodSchema,iA as DeviceCertificateSettingsSchema,Xue as DeviceChallengeResultSchema,Yue as DeviceChallengeSchema,tL as DeviceCodeSeveritySchema,nne as DeviceCommandSettledEventSchema,s8 as DeviceConfig,nde as DeviceCredentialSchema,hg as DeviceCredentialStatusSchema,Hj as DeviceDataEntrySchema,Jue as DeviceEnrollProofSchema,ex as DeviceExportExposeInputSchema,Gb as DeviceExportInstancePinSchema,tx as DeviceExportSetExposedNameInputSchema,Qb as DeviceExportStatusSchema,ix as DeviceExportUnexposeInputSchema,T as DeviceFeature,y_ as DeviceFiredMatchSchema,whe as DeviceFiredWatch,Dj as DeviceHistoryKindSchema,Lj as DeviceHistoryOrphanDeleteRefusalSchema,Fj as DeviceHistoryOrphanReasonSchema,Oj as DeviceHistoryProducerKindSchema,Aj as DeviceHistoryRefusalReasonSchema,kj as DeviceHistoryResolutionSchema,Rj as DeviceHistoryStatusSchema,Ej as DeviceHistorySubjectSchema,GA as DeviceInfoSchema,Uq as DeviceModelChoiceSchema,DW as DeviceNetworkStatsSchema,ug as DevicePlatformSchema,Zue as DeviceProofInputSchema,Wq as DeviceRecommendationSchema,pg as DeviceRefusalReasonSchema,mg as DeviceRefusalSchema,Bj as DeviceRemovedInputSchema,Vj as DeviceRemovedResultSchema,u8 as DeviceRestoreRetryScheduler,E as DeviceRole,Zj as DeviceRunDetailSchema,Jj as DeviceRunEnergyMethodSchema,Wj as DeviceRunKindSchema,Kj as DeviceRunOutcomeSchema,Yj as DeviceRunPhaseSchema,Qj as DeviceRunSchema,qj as DeviceRunSourceSchema,Gj as DeviceRunStateSchema,c8 as DeviceRuntimeState,kA as DeviceSearchFacetIntegrationSchema,OA as DeviceSearchFacetValueSchema,AA as DeviceSearchFacetsSchema,wA as DeviceSearchFiltersSchema,TA as DeviceSearchInputSchema,DA as DeviceSearchItemSchema,CA as DeviceSearchRequiresSchema,jA as DeviceSearchResultSchema,Gh as DeviceSelectorSchema,kue as DeviceSignaturePurposeSchema,aM as DeviceStatusSchema,hA as DeviceTemplateRefusalSchema,vA as DeviceTemplateRenderSchema,dA as DeviceTemplateSchema,pA as DeviceTemplateThisDeviceSchema,_A as DeviceTemplateTraceEntrySchema,fA as DeviceTemplateValueSchema,$A as DeviceTombstoneSchema,Pi as DeviceTransitionSchema,w as DeviceType,EA as DeviceValueOptionSchema,_1 as DiagnosticIdSchema,w1 as DiagnosticWindowPatchSchema,C1 as DiagnosticWindowSchema,Wk as DiscoveredChildDeviceSchema,Uk as DiscoveredChildStatusSchema,Xye as DiscoveredDeviceSchema,au as DiscoveredTargetSchema,PA as DiscoveryHitSchema,NA as DiscoveryModeSchema,BA as DiscoveryObservationSchema,Zye as DiscoveryProposalBodySchema,VA as DiscoveryProposalSchema,_M as DishwasherAccessSchema,pM as DishwasherAvailabilitySchema,fM as DishwasherOperationStateSchema,vM as DishwasherOptionDescriptorSchema,bM as DishwasherOptionsSchema,yM as DishwasherProgramSchema,dM as DishwasherStateSchema,mM as DishwasherStatusSchema,gM as DishwasherValueSchema,KJ as DiskReconcileJobSchema,Ste as DisposerChain,XM as DoNotDisturbStatusSchema,eN as DoorbellPressEventSchema,$M as DoorbellStatusSchema,age as DraftKindSchema,gx as DraftSiteDeviceSchema,oge as DraftSiteSchema,sN as EMBEDDING_MODEL_FAILED,lN as EMBEDDING_REQUIREMENTS_FAILED,cN as EMBEDDING_REQUIREMENTS_UNAVAILABLE,nme as EMPTY_AUTOMATION_STATE,zDe as EMPTY_REMOTE_ASSUMED_STATE,LDe as EMPTY_REMOTE_CONFIG,MEe as ESTIMATE_COMPUTE_RATIO_MAX,sY as ESTIMATE_COMPUTE_RATIO_MIN,w4 as EVENTFUL_CAP_NAMES,twe as EVENT_DENSITY_BATCH_MAX,C4 as EVENT_KIND_BY_CAP,CKe as EVENT_KIND_LABELS,SKe as EVENT_KIND_LABEL_KEYS,__ as EVENT_LEAF_ID_RE,Dl as EVENT_OWNER_TYPES,np as EVENT_PAD_MS,tG as EVENT_TAXONOMY,Tfe as EVENT_VOCABULARY_KINDS,wDe as EXPORT_DENSE_MAX_RANGES,qb as EXPORT_INSTANCE_UNKNOWN,nx as EXPORT_NAME_REFUSED,dx as EXPOSED_NAMES_STORE_KEY,qo as EXPRESSION_BUILTINS,Jo as EXPRESSION_BUILTIN_NAMES,Cie as EXPRESSION_COMPILE_CACHE_CAPACITY,Xo as EXPRESSION_IDENTIFIER_RE,Vie as EXPRESSION_INJECTED_NOW,gc as EXPRESSION_OUTPUTS,dj as EXTENSION_HOST_DEVICE_TYPES,lj as EXTENSION_SLOTS,sj as EXTENSION_SLOT_IDS,cbe as EXTENSION_SLOT_LISTING_METHOD,sbe as EXTENSION_SLOT_REF_SEPARATOR,vJ as EffectiveDeviceShareSchema,yJ as EffectiveNodeShareSchema,bJ as EffectiveSharesSchema,_H as EffectiveTuningSchema,Ew as EgressEncodeSchema,Dw as EgressRateControlSchema,Ow as EgressTranscodeRequestSchema,kw as EgressTranscodeSchema,UXe as ElementConfigStore,iN as EmbeddingFailedModelSchema,aN as EmbeddingFailedRequirementSchema,oN as EmbeddingInfoSchema,uN as EmbeddingRefusalCodeSchema,nN as EmbeddingResultSchema,rN as EmbeddingTowerSchema,ju as EncodeProfileSchema,zx as EnrichedWidgetMetadataSchema,que as EnrollSelfInputSchema,Br as EntryDescriptorSchema,sX as EntryKindInfoSchema,cX as EntryViewSchema,cxe as EnumSensorDateTimeFormatSchema,hN as EnumSensorStatusSchema,xr as ErrorCodeSchema,Sr as ErrorI18nPayloadSchema,C as EventCategory,rH as EventDensityBucketSchema,iH as EventDensityForDeviceSchema,tb as EventEmitterStatusSchema,eb as EventFireSchema,TB as EventKindCategorySchema,EB as EventKindDescriptorSchema,wB as EventKindIconSchema,SB as EventKindSchema,DB as EventKindsForDeviceSchema,pw as EventMediaArtifactSchema,mw as EventMediaCoverageSchema,fw as EventMediaKindSchema,hw as EventMediaProductionSchema,Ol as EventOwnerTypeSchema,Nae as EventSourceType,Ofe as EventVocabularyEntrySchema,Dfe as EventVocabularyFieldSchema,Vg as EventVocabularyKindSchema,Efe as EventVocabularySourceSchema,uZ as ExportBytesSchema,aZ as ExportClipSubjectSchema,$X as ExportDenseRangeSchema,eZ as ExportDenseSchema,lZ as ExportDownloadSchema,ax as ExportEntityKindSchema,ox as ExportEntityRefSchema,iZ as ExportFootageSubjectSchema,Kb as ExportInstanceSchema,Jb as ExportInstanceUnknownError,rx as ExportNameRefusedError,nZ as ExportOptionsSchema,sZ as ExportRecordSchema,Xb as ExportSetupFieldSchema,Zb as ExportSetupSchema,QX as ExportSpeedSchema,rZ as ExportStateSchema,oZ as ExportSubjectSchema,tZ as ExportTimelapseSchema,cx as ExposeEntityInputSchema,$b as ExposedDeviceSchema,sx as ExposedEntitySchema,$F as ExposureModeSchema,Eg as ExpressionBindingSourceSchema,F as ExpressionEvalError,Gde as ExpressionFieldBindingSchema,qde as ExpressionGlobalBindingSchema,yae as ExpressionHelperSpecSchema,Kde as ExpressionLiteralBindingSchema,Po as ExpressionParseError,Jde as ExpressionSourceSchema,bj as ExtensionCandidateSchema,xj as ExtensionCandidatesSchema,Sj as ExtensionSetResultSchema,wj as ExtensionSetSlotInputSchema,gj as ExtensionSlotActivationSchema,cj as ExtensionSlotIdSchema,Cj as ExtensionSlotRefInputSchema,yj as ExtensionSlotRowSchema,hj as ExtensionSlotSourceSchema,_j as ExtensionSlotStateSchema,vj as ExtensionSlotUnreachableSchema,uj as ExtensionSlotValueSchema,fj as ExtensionSourceAvailabilitySchema,mj as ExtensionSourceHealthSchema,pj as ExtensionSourceSchema,R0 as ExternalIdentityKeySchema,L0 as ExternalIdentitySchema,y9 as FACE_RESCORE_INTERVAL_FIELD,LYe as FACE_RESCORE_INTERVAL_KEY,RYe as FACE_RESCORE_INTERVAL_MIN_RUNNING,IYe as FACE_RESCORE_SECTION_ID,XN as FAN_CAPTURE_FIELDS,wN as FAN_OSCILLATION_AXES,ON as FAN_OSCILLATION_AXIS_LIMITS,jN as FAN_OSCILLATION_AXIS_REFUSALS,EN as FAN_OSCILLATION_AXIS_SETTABLE,Q_e as FAN_OUT_CONCURRENCY,Sxe as FAN_PRESETS_MAX,GN as FAN_PRESETS_REFUSALS,o6 as FEEDER_EXAMPLE_ADDON_ID,a6 as FEEDER_EXAMPLE_HA_DEVICE_ID,$Oe as FEW_SHOT_COUNT,eie as FFMPEG_PATH_ENV,ob as FIRED_RECOVERED_NOTE,ep as FIRST_LEVEL_MACRO_CLASSES,wr as FORBIDDEN_MESSAGE_PREFIX,Mc as FORWARD_INPUT_KEY,AYe as FULL_IMAGE_BBOX,xN as FailureContributionSchema,Pce as FailureCounters,bN as FailureReasonCountSchema,ZN as FanCaptureFieldSchema,QN as FanCaptureOmissionSchema,IN as FanControlStatusSchema,CN as FanDirectionSchema,AN as FanOscillationAxesSchema,DN as FanOscillationAxisFieldSchema,TN as FanOscillationAxisNameSchema,MN as FanOscillationAxisRefusalSchema,NN as FanOscillationAxisResultSchema,kN as FanOscillationAxisSchema,YN as FanPresetApplyResultSchema,HN as FanPresetAxisSchema,$N as FanPresetCaptureResultSchema,JN as FanPresetFieldResultSchema,WN as FanPresetSchema,UN as FanPresetStateSchema,KN as FanPresetsRefusalSchema,qN as FanPresetsSetResultSchema,r1 as FeatureManifestSchema,nP as FeatureProbeStatusSchema,eM as FieldClaimModeSchema,nM as FieldClaimSchema,Lt as FilterRequiredError,aP as FloodStatusSchema,Zre as Fmp4BoxSplitter,Ht as ForeignSecretMarkerError,Yi as FrameHandleSchema,OS as FrameInputSchema,kU as FrameLazyCountersSchema,AU as FrameLazyMetricsSchema,tHe as G711_SCALE_CORRECTION_DB,QOe as GRAMMAR_MAX_LINES,OD as GROUP_TEMPLATES,ec as GROUP_TEMPLATE_IDS,sP as GasStatusSchema,A1 as GetLoggingSettingsInputSchema,ww as GetStreamWithCodecInputSchema,EJ as GlobalMetricsSchema,cw as GridLayoutPatchSchema,sw as GridLayoutViewSchema,lP as GroupActiveSchema,dP as GroupCommandResultSchema,fP as GroupCommandsSchema,lc as GroupHelperSpecSchema,mP as GroupStatusSchema,ac as GroupTemplateIdSchema,Voe as HAP_AUDIO_BASE,Boe as HAP_AUDIO_BITRATE_KBPS,Hoe as HAP_AUDIO_VBV_KBITS,Uoe as HAP_KEYFRAME_INTERVAL_SEC,xP as HEAT_PUMP_CIRCUIT_KINDS,$P as HERO_ANIMATIONS,eF as HERO_BACKGROUNDS,RLe as HERO_CAP_CONTRIBUTIONS,Cze as HERO_CAP_COVERAGE,cRe as HERO_LAYOUT_BY_TYPE,r5 as HERO_LAYOUT_DEFAULT,u5 as HERO_LOOK_BY_ROLE,l5 as HERO_LOOK_BY_TYPE,o5 as HERO_LOOK_DEFAULT,sF as HERO_MEASUREMENT_BANDS,oF as HERO_MEASUREMENT_QUANTITIES,cF as HERO_MEASUREMENT_SINCE_KINDS,DF as HERO_ROW_IDS,Vxe as HERO_ROW_LABELS,_Se as HERO_ROW_MODELS_MAX,xF as HERO_SCENES,TF as HERO_SCENE_BY_ROLE,wF as HERO_SCENE_BY_TYPE,SF as HERO_SCENE_MODES,ZP as HERO_STATES,QP as HERO_TONES,lre as HF_BASE_URL,Ua as HF_REPO,A5 as HISTORY_BUCKET_MS,jD as HISTORY_CATALOG,pte as HISTORY_DEFAULT_MIN_INTERVAL_MS,Ns as HISTORY_FAST_MS,K_e as HISTORY_ITEM_CATALOG,q_e as HISTORY_NONE_CAPS,Ps as HISTORY_SLOW_MS,eae as HISTORY_TIERS,dte as HISTORY_UNIT_LABELS,sAe as HOURS_PER_DAY,Os as HOUR_MS,tR as HUB_ADDRESS_ROLES,vR as HUB_ID_PATTERN,GSe as HUB_MDNS_QUERY_NAME,qSe as HUB_MDNS_ROLE,WSe as HUB_MDNS_SERVICE_TYPE,KSe as HUB_MDNS_TXT_KEYS,ZL as HUB_VIEWER_MOUNT,Mye as HWACCEL_OPTIONS,Rq as HardwareClassIdSchema,i1 as HealthStatusSchema,SP as HeatPumpCircuitKindSchema,TP as HeatPumpCircuitSchema,kP as HeatPumpEnergySchema,CP as HeatPumpOptionSettingSchema,DP as HeatPumpPowerSchema,wP as HeatPumpRangeSettingSchema,AP as HeatPumpStatusSchema,EP as HeatPumpSystemSchema,OP as HeatPumpTemperaturesSchema,NP as HeatingValveStatusSchema,cc as HelperMemberSchema,bc as HelperSpecSchema,UF as HeroLayoutRowsSchema,lF as HeroMeasurementReadingSchema,uF as HeroMeasurementSchema,zF as HeroRowModelSchema,HL as HfModelResolutionSchema,P2 as HistoryPointSchema,M2 as HistoryResolutionEnum,m_ as HoldCore,Mv as HoldOverrideSchema,c_ as HoldSpecSchema,qv as HoldTargetStatusSchema,l_ as HoldTraceSchema,$fe as HoldTracker,AW as HttpsLeafInfoSchema,wR as HubAddressRoleSchema,GF as HumidifierStatusSchema,qF as HumiditySensorStatusSchema,Rw as HvacModeSchema,fde as ICON_CATALOG_SOURCE,Dde as ICON_CATEGORIES,wde as ICON_ENTRIES,yg as ICON_KEYS,mde as ICON_VIEWER_MODULES,khe as IDLE_ACTION_STATUS,JJ as INFERENCE_DEVICE_EXCLUSION_REASONS,NVe as INITIAL_PULSE,PVe as INITIAL_SPAN,dc as INTEGRAL_OUTPUTS,mb as INTERNAL_ACTION_PREFIX,s6 as INVERTIBLE_CAPS,MI as IR_LEARN_TIMEOUT_DEFAULT_MS,NI as IR_LEARN_TIMEOUT_MAX_MS,lE as IR_NATIVE_CODECS,sE as IR_NATIVE_CODE_MAX_CHARS,XT as IR_TIMINGS_MAX,xg as IconKeySchema,HQ as ImageContractSchema,VQ as ImageContractStateSchema,ZF as ImageRotateSchema,rI as ImageSettingsOptionsSchema,iI as ImageSettingsPatchSchema,nI as ImageSettingsStatusSchema,YF as ImageStatusSchema,Dk as ImportModelBundleInputSchema,Ok as ImportModelBundleResultSchema,YJ as InferenceDeviceExclusionReasonSchema,OJ as IngestOwnerSchema,JQ as InstallDesktopUpdateReasonSchema,YQ as InstallDesktopUpdateResultSchema,$x as InstalledPackageSchema,o$e as InstanceInUseError,gae as IntegralHelperSpecSchema,bI as IntegrationInstanceDescriptionSchema,vI as IntegrationInstanceDiscoverySchema,mI as IntegrationInstanceIdSchema,_I as IntegrationInstanceKindSchema,yI as IntegrationInstanceLinkSchema,hI as IntegrationInstanceModeSchema,CI as IntegrationInstancePatchSchema,gI as IntegrationInstanceRoleSchema,SI as IntegrationInstanceSchema,xI as IntegrationInstanceStatusSchema,sI as IntegrationLiteSchema,foe as IntegrationSessionReporter,oI as IntegrationWithStateSchema,TI as IntercomAbilitySchema,EI as IntercomStatusSchema,D as InvalidRecordError,L as IrCodecError,PI as IrLearnResultSchema,kI as IrMediumSchema,cE as IrNativeCodeSchema,oE as IrNativeFormatSchema,uE as IrPayloadSchema,AI as IrSendResultSchema,ZT as IrTimingsSchema,jI as IrTransmitterInfoSchema,xSe as KEYCHAIN_MAX_REFS_PER_CALL,ZI as KEYCHAIN_RESET_CONFIRMATION,SSe as KEYCHAIN_RESET_TRIGGER_ACTOR,Eze as KNOWN_CAP_NAMES,gs as KWH_PER_WATT_MS,Vq as KeptReasonSchema,nH as KeyEventSchema,JI as KeychainAdminSecretSchema,YI as KeychainAuditActionSchema,XI as KeychainAuditEntrySchema,UI as KeychainKeySourceKindSchema,WI as KeychainKeySourceSchema,GI as KeychainResetRecordSchema,RI as KeychainResolveEntrySchema,zI as KeychainResolveResultSchema,BI as KeychainSecretMetaSchema,qI as KeychainSecretUsageSchema,LI as KeychainStateSchema,KI as KeychainStatusSchema,II as KeychainUnavailableReasonSchema,Un as KeychainWriteRefusedError,oh as LABEL_SUPPLY_MACRO,eh as LABEL_SUPPLY_STEP_IDS,ah as LABEL_SUPPLY_VOCABULARIES,Sze as LATER_PHASE,AAe as LAYOUT_EDIT_REFUSALS,dm as LEGACY_READ_ONLY_CONFIG_KEY,LD as LIGHT_SHARED_CAPS,XA as LINKED_DEVICES_SLOT,uh as LINKED_LABEL_STEP_PREFIX,DL as LLM_PROFILE_KIND_PATTERN,qL as LOAD_CONTRIBUTION_ATTRIBUTIONS,KL as LOAD_CONTRIBUTION_ROLES,Uv as LOCAL_DATE_PATTERN,Ide as LOCATION_DESCRIPTION_MAX,Pde as LOCATION_ICON_FALLBACK,Ace as LOG_CHANNEL_TICK_MS,Kf as LOG_LEVEL_RANK,_we as LTS_SCOPE_CLASS_SEPARATOR,zB as LabelAttributionSchema,Qf as LabelDefinitionSchema,JCe as LabelTierSchema,Hq as LatencySourceSchema,eL as LawnMowerActivitySchema,nL as LawnMowerControlStatusSchema,tm as LedgerWalkDeviceReportSchema,Qp as LedgerWalkInputSchema,$p as LedgerWalkRefusalSchema,nm as LedgerWalkReportSchema,em as LedgerWalkSkipCountsSchema,mce as LedgerWalkSkipReasonSchema,yv as LegacyAutomationRecipeSchema,L_ as LegacyConditionSchema,I_ as LegacyTriggerSchema,JA as LinkedDeviceSchema,qA as LinkedDevicesModeSchema,YA as LinkedDevicesSlotValueSchema,eU as ListNodeBenchmarkResultsInputSchema,Bf as ListTrackRelationsInputSchema,Vf as ListTrackRelationsResultSchema,Cw as LiveViewerCountSchema,zL as LlmDefaultSchema,RL as LlmDefaultSelectorSchema,_L as LlmDownloadProgressSchema,oL as LlmErrorCodeSchema,pL as LlmGenerateBaseInputSchema,lL as LlmGenerateErrSchema,sL as LlmGenerateOkSchema,uL as LlmGenerateResultSchema,dL as LlmImageSchema,IL as LlmListModelsErrorCodeSchema,FL as LlmListModelsInputSchema,LL as LlmListModelsResultSchema,kL as LlmModelFeaturesSchema,AL as LlmModelInfoSchema,yL as LlmNodeModelSchema,ML as LlmProfileFieldSchema,ESe as LlmProfileKindDescriptorSchema,OL as LlmProfileKindSchema,TSe as LlmProfileSchema,jL as LlmProviderConfigSchema,NL as LlmProviderWidgetSchema,cL as LlmRefusalSourceSchema,fL as LlmRetryPolicySchema,wL as LlmRuntimeAppleCompleteInputSchema,TL as LlmRuntimeCancelInputSchema,xL as LlmRuntimeCompleteInputSchema,bL as LlmRuntimeDiskUsageSchema,UL as LlmRuntimeNodeSchema,vL as LlmRuntimeStatusSchema,wSe as LlmTimeoutDefaults,BL as LlmUsageRollupSchema,aL as LlmUsageSchema,nJ as LoadBalancingSharesInputSchema,JL as LoadContributionSchema,MX as LocateSegmentResultSchema,Lde as LocationDescriptionAssignmentSchema,Fde as LocationIconAssignmentSchema,vC as LocationStatSchema,MR as LockControlStatusSchema,jR as LockStateSchema,PR as LogChannelApplyResultSchema,jm as LogChannelDescriptorSchema,Nm as LogChannelGate,Am as LogChannelLevelSchema,Pm as LogChannelRegistry,E1 as LogChannelWindowPatchSchema,Mm as LogChannelWindowSchema,T1 as LogChannelWindowStateSchema,LR as LogEntrySchema,IR as LogLevelSchema,VR as LogReadCapabilitiesSchema,zR as LogReadEntrySchema,RR as LogReadQuerySchema,BR as LogReadResultSchema,dS as LogStreamEntrySchema,x1 as LoggingEffectiveSchema,S1 as LoggingExplicitSchema,b1 as LoggingLevelLayerSchema,y1 as LoggingLevelSourceSchema,v1 as LoggingScopeKindSchema,D1 as LoggingSettingsPatchSchema,M1 as LoggingSettingsStateSchema,qR as LoginMethodContributionSchema,UR as LoginStageEnum,uH as LtsBucketSchema,ufe as MACRO_LABELS,fh as MASK_EMITTING_POSTPROCESSORS,nh as MASK_SUPPLY_STEP_IDS,Bse as MAX_ARCHIVED_DEBUG_NOTES,Lse as MAX_BIRTH_DECISION_RECORDS,zse as MAX_BIRTH_LATENCY_PROXY_MS,jCe as MAX_CAMERA_SENSORS,dDe as MAX_CLIP_EVENT_IDS,fDe as MAX_CLIP_LABELS,GDe as MAX_COMPONENT_BUTTONS,Sc as MAX_COMPOSITION_CODE_LENGTH,wae as MAX_COMPOSITION_FEATURES,Tae as MAX_COMPOSITION_FIELDS_PER_FEATURE,Eae as MAX_COMPOSITION_ITEMS,Wpe as MAX_CONDITION_DEPTH,Gpe as MAX_CONDITION_LEAVES,yie as MAX_EXPRESSION_AST_NODES,xie as MAX_EXPRESSION_BINDINGS,Sie as MAX_EXPRESSION_CALL_ARGS,bie as MAX_EXPRESSION_EVAL_STEPS,Yo as MAX_EXPRESSION_SOURCE_LENGTH,mae as MAX_HELPER_MEMBERS,Ype as MAX_HOLD_ATTEMPTS_LIMIT,Lm as MAX_KEYS,VDe as MAX_LAYOUT_GROUPS,BDe as MAX_LAYOUT_SPAN,Mce as MAX_REASONS_PER_KEY,jDe as MAX_REMOTE_BINDINGS,x_e as MAX_REMOTE_CHANNEL_DIGITS,MDe as MAX_REMOTE_CUSTOM_BUTTONS,y_e as MAX_REMOTE_SOURCES,b_e as MAX_REMOTE_SOURCE_STEPS,_Ve as MAX_REQUEUED_BUCKETS_PER_SERIES,ice as MAX_SENSOR_TRIGGER_DEVICES,eme as MAX_STEP_DEVICE_OUTCOMES,ime as MAX_TRACE_ARGS,ame as MAX_TRACE_ARG_LENGTH,Upe as MAX_TRACE_KEEP,qCe as MAX_TRACK_DEBUG_NOTE_LEN,Use as MAX_TRACK_PURITIES,Hse as MAX_TRACK_RELATIONS,npe as MAX_WHEN_DEPTH,rpe as MAX_WHEN_LEAVES,Tl as MEDIA_OWNER_TYPES,k_e as MEDIA_PLAYER_MAX_STEPS,kl as MEDIA_PRESENCE_OWNER_KINDS,Tze as METHOD_ACCESS_MAP,cVe as METHOD_DEVICE_SELECTORS,OCe as MIGRATION_API_V1_METHODS,Jne as MIGRATION_API_VERSION,Cd as MIGRATION_ID_PATTERN,aAe as MINUTES_PER_DAY,Ds as MINUTE_MS,tae as MIN_CUSTOM_MINUTES,m3 as MIN_RUN_MS,kte as MIN_SCRUBBED_LENGTH,Lq as MIN_SESSIONS_PER_DEVICE_RANGE,ha as MODEL_FORMATS,Eh as MODEL_HOSTING,wh as MODEL_PROVIDER_IDS,Ywe as MOTION_CLOSE_AFTER_MS,iYe as MOTION_CROP_DISPATCH_KEY,lYe as MOTION_CROP_MAX_REGIONS,sYe as MOTION_CROP_MOTION_PAD,cYe as MOTION_CROP_TRACKED_PAD,xU as MOTION_SOURCE_LABELS,PU as MOTION_SPAN_TIMEOUT_MS,nFe as MOTION_TRIGGER_FEATURE,VL as ManagedModelCatalogEntrySchema,mL as ManagedModelExtraFileSchema,hL as ManagedModelRefSchema,gL as ManagedRuntimeConfigSchema,sB as MaskGridDimsSchema,rB as MaskGridShapeSchema,iB as MaskLineShapeSchema,eB as MaskPointSchema,nB as MaskPolygonShapeSchema,oB as MaskPolygonVerticesSchema,tB as MaskRectShapeSchema,aB as MaskShapeKindSchema,NCe as MaskShapeSchema,tV as MediaFileInfoSchema,QB as MediaFileKindEnum,$B as MediaFileRefSchema,eV as MediaFileSchema,kp as MediaLocationCensusInputSchema,Ap as MediaLocationCensusRowSchema,jp as MediaLocationCensusSchema,FE as MediaPlayerAssumedFieldSchema,NE as MediaPlayerRepeatSchema,ME as MediaPlayerStateSchema,PE as MediaPlayerStateSourceSchema,IE as MediaPlayerStatusSchema,Al as MediaPresenceOwnerKindSchema,Tp as MediaRelocateModeSchema,kW as MeshLeafInfoSchema,YR as MeshPeerSchema,XR as MeshStatusSchema,QR as MeterStatusSchema,Uh as MethodAccessSchema,aj as MigrateDeviceResultSchema,rj as MigrateSwitchOutcomeSchema,ij as MigrateSwitchReportSchema,Dz as MigrationApiInfoSchema,kd as MigrationBodyKindSchema,fse as MigrationCatalogueSchema,jd as MigrationCycleError,Ud as MigrationDryRunResultSchema,Fd as MigrationEditSchema,wd as MigrationIdSchema,Vd as MigrationLedgerEntrySchema,Td as MigrationLevelSchema,Ad as MigrationMetaSchema,Od as MigrationOnFailureSchema,zd as MigrationOwnerResultSchema,Wd as MigrationOwnerStepSchema,Hd as MigrationPendingEntrySchema,Id as MigrationPlanSchema,Rd as MigrationProcedureResultSchema,Dd as MigrationScopeSchema,Bd as MigrationStatusSchema,Ed as MigrationStoreSchema,jl as MinVersionSchema,Ek as ModelBundleFileSchema,kh as ModelCatalogEntrySchema,Az as ModelConvertInputSchema,jh as ModelConvertMetadataSchema,Mz as ModelDistributeInputSchema,Nz as ModelDistributeResultSchema,xh as ModelExtraFileSchema,_h as ModelFormatEntrySchema,yh as ModelFormatPrecisionSchema,Sh as ModelFormatsSchema,Dh as ModelLicenseSchema,vh as ModelOnDiskStateSchema,Kq as ModelPinChangeSchema,Th as ModelProviderIdSchema,yH as ModelSubstitutionSchema,Ch as ModelVariantGroupSchema,Zz as MotionAnalysisResultSchema,KB as MotionEventSchema,IU as MotionOnMotionChangedDataSchema,Xz as MotionRegionSchema,vU as MotionSourceEnum,bU as MotionSourcesSchema,FU as MotionStatusSchema,zU as MotionTriggerRuntimeStateSchema,RU as MotionTriggerStatusSchema,Fz as MotionTriggeredBySchema,UU as MotionZoneOptionsSchema,WU as MotionZonePatchSchema,VU as MotionZoneRegionSchema,HU as MotionZoneStatusSchema,KU as MqttBrokerInfoSchema,ZU as MqttBrokerStatusSchema,dd as MutationFilterSchema,FEe as N100_IGPU_CLOCK_MHZ,PEe as N100_IGPU_EU,GYe as NATIVE_LEASE_ACTIVITY_FIELD,S9 as NATIVE_LEASE_ACTIVITY_KEY,JYe as NATIVE_LEASE_ADMISSION_FIELD,C9 as NATIVE_LEASE_ADMISSION_KEY,WYe as NATIVE_LEASE_BUDGET_FIELD,x9 as NATIVE_LEASE_BUDGET_KEY,UYe as NATIVE_LEASE_HOLD_FIELD,b9 as NATIVE_LEASE_HOLD_KEY,qYe as NATIVE_LEASE_SCENE_BUDGET_FIELD,T9 as NATIVE_LEASE_SCENE_BUDGET_KEY,VYe as NATIVE_LEASE_SECTION_ID,KYe as NATIVE_LEASE_TILE_BUDGET_FIELD,w9 as NATIVE_LEASE_TILE_BUDGET_KEY,eTe as NAVIGATION_ACTION_CATALOG,nTe as NAVIGATION_LIGHT_LEVEL_MAX,tTe as NAVIGATION_LIGHT_LEVEL_MIN,kWe as NC_ALARM_CONTROLLABLE_CAPS,x7 as NC_ALARM_DEFAULT_PROFILE_ID,S7 as NC_ALARM_DEFAULT_PROFILE_NAME,VWe as NC_ALARM_DEFAULT_TRIGGERED_DURATION_SEC,BWe as NC_ALARM_DELAY_FIELDS,JTe as NC_ALARM_DELAY_MAX_SEC,YTe as NC_ALARM_NONBLOCKING_MAX,HWe as NC_ALARM_NOTIFY_FIELDS,OWe as NC_ALARM_OPENING_EVENT_KINDS,SWe as NC_ALARM_PANEL_ACTION_IDS,iEe as NC_ALARM_SENSORS_MAX,rGe as NC_ALARM_SYSTEM_DEFAULT_DELAYS,uG as NC_ALARM_SYSTEM_EVENT_KINDS,kK as NC_ALARM_TRIGGERED_MAX_SEC,CWe as NC_ALARM_TRIGGER_ACTION_ID,dHe as NC_AUDIO_CONFIRM_HITS_DEFAULT,mHe as NC_AUDIO_CONFIRM_HITS_MAX,pHe as NC_AUDIO_CONFIRM_HITS_MIN,gHe as NC_AUDIO_CONFIRM_WINDOW_MAX_SEC,hHe as NC_AUDIO_CONFIRM_WINDOW_MIN_SEC,fHe as NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT,MTe as NC_AUDIO_DBFS_FLOOR,aHe as NC_AUDIO_DB_MAX,iHe as NC_AUDIO_DB_MIN,R5 as NC_AUDIO_DB_OFFERED,oHe as NC_AUDIO_DB_STEP,z5 as NC_AUDIO_DEFAULTS,cHe as NC_AUDIO_HIT_PERCENT_MAX,sHe as NC_AUDIO_HIT_PERCENT_MIN,uHe as NC_AUDIO_SAMPLING_MAX_SEC,lHe as NC_AUDIO_SAMPLING_MIN_SEC,UUe as NC_AUDIO_SEED,wTe as NC_AUTHORABLE_SYSTEM_EVENT_KINDS,PHe as NC_BASE_CONDITION_KEYS,TTe as NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS,AUe as NC_CAMERA_SCOPE_CAP_NAME,FTe as NC_CLIP_POST_ROLL_DEFAULT_SEC,PTe as NC_CLIP_PRE_ROLL_DEFAULT_SEC,aEe as NC_CLIP_RETENTION_MAX_SEC,pG as NC_COMMAND_ACTOR_KINDS,fG as NC_COMMAND_OUTCOMES,WTe as NC_CONDITION_CATALOG,ITe as NC_CONFIRM_DEFAULT_MAX_IMAGE_PX,KG as NC_CONFIRM_DEFAULT_TIMEOUT_MS,GG as NC_CONFIRM_MAX_TIMEOUT_MS,WG as NC_CONFIRM_MIN_TIMEOUT_MS,ETe as NC_CONSUMABLE_LOW_PERCENT_DEFAULT,DTe as NC_CONSUMABLE_LOW_PERCENT_MAX,dG as NC_CONSUMABLE_SYSTEM_EVENT_KINDS,ATe as NC_DEFAULT_SNOOZE_MINUTES,RTe as NC_GROUPING_DEFAULT_SEC,zTe as NC_GROUPING_MAX_SEC,LTe as NC_GROUPING_MIN_SEC,HTe as NC_GROUP_WITHIN_MAX_SEC,VTe as NC_GROUP_WITHIN_OTHER_DEFAULT_SEC,BTe as NC_GROUP_WITHIN_SYSTEM_DEFAULT_SEC,GTe as NC_HISTORY_LIMIT_DEFAULT,KTe as NC_HISTORY_LIMIT_MAX,lG as NC_LEGACY_SYSTEM_EVENT_KINDS,kTe as NC_MAX_PER_TRACK_IMMEDIATE,l7 as NC_MEDIA_IMAGE_MODES,HUe as NC_OCCUPANCY_DEFAULTS,QG as NC_RULE_CLEARABLE_KEYS,KUe as NC_RULE_EDITOR_SECTION_ORDER,e7 as NC_RULE_KIND_SPECS,ZG as NC_RULE_RETIRED_CLEAR_KEYS,o7 as NC_RULE_SECTIONS,T7 as NC_SENSOR_RAISED_FIELD_BY_KIND,E7 as NC_SENSOR_TRANSITION_KINDS,yGe as NC_SENSOR_TRANSITION_MEANINGS,FWe as NC_SENSOR_TRANSITION_NEVER_FIRES_WARNING,vGe as NC_SENSOR_TRANSITION_UNSUPPORTED_REASON,fKe as NC_SERVER_PACKAGE_NAME,hG as NC_SNOOZE_MAX_MINUTES,nK as NC_STATE_SUMMARY_SECTION_IDS,n7 as NC_SYSTEM_DELIVERY,R7 as NC_SYSTEM_EVENT_CLASS_SPECS,mUe as NC_SYSTEM_EVENT_CONDITION_FILTER_KEYS,q5 as NC_SYSTEM_EVENT_FAMILIES,J5 as NC_SYSTEM_EVENT_FAMILY,hUe as NC_SYSTEM_EVENT_FAMILY_FILTERS,lUe as NC_SYSTEM_EVENT_FILTER_KEYS,gUe as NC_SYSTEM_EVENT_KIND_GROUP_SPECS,QGe as NC_SYSTEM_EVENT_SUMMARY_FAMILIES,bUe as NC_SYSTEM_RULE_KINDS,STe as NC_TAXONOMY,PGe as NC_TEMPLATE_HELD_BACK_SYSTEM_EVENT_KINDS,NTe as NC_TEMPLATE_TITLE_MAX_CHARS,I7 as NC_TEMPLATE_VARS,U7 as NC_UPDATE_EVENT_PACKAGE_NAMES,xW as NETWORK_LINK_TYPES,CW as NETWORK_LINK_UNKNOWN,Jfe as NEXT_OCCURRENCE_HORIZON_DAYS,kH as NODE_BENCHMARK_DEFAULTS,ol as NODE_COLOR_IDS,K5 as NOTIFICATION_FIELDS,pu as NOTIFICATION_OUTPUT_CAP,Z as NOT_A_HERO_FACT,aF as NOT_REPORTED,uJe as NO_MEASURED_CAPACITY,tc as NUMERIC_AGGREGATES,rU as NativeCropBboxSchema,pH as NativeCropRefSchema,iU as NativeCropResultSchema,eW as NativeDetectionSchema,E9 as NativeLeaseAdmissionSchema,HYe as NativeLeaseSettingsSchema,$U as NativeObjectClassEnum,rW as NativeObjectDetectionOptionsSchema,aW as NativeObjectDetectionRuntimeStateSchema,iW as NativeObjectDetectionSettingsPatchSchema,tW as NativeObjectDetectionStatusSchema,nW as NativeObjectGeometryEnum,uW as NavigationActionEntrySchema,cW as NavigationActionIdSchema,lW as NavigationEntryKindSchema,fW as NavigationFeaturesSchema,pW as NavigationLightModeSchema,mW as NavigationModeSchema,sW as NavigationMoveCommandSchema,dW as NavigationPointSchema,gW as NavigationRuntimeStateSchema,hW as NavigationStatusSchema,DG as NcActionIdSchema,LK as NcAlarmBlockingEditSchema,VK as NcAlarmBlockingSchema,tq as NcAlarmConfigSchema,JK as NcAlarmCreateProfileInputSchema,eq as NcAlarmModeCoverageSchema,FK as NcAlarmModeDelaysEditSchema,PK as NcAlarmModeDelaysSchema,zK as NcAlarmModeDeviceListSchema,IK as NcAlarmNonBlockingEditSchema,BK as NcAlarmNonBlockingSchema,NK as NcAlarmPostTriggeredActionSchema,XK as NcAlarmProfileIdInputSchema,KK as NcAlarmProfileMetaSchema,qK as NcAlarmProfilesViewSchema,YK as NcAlarmRenameProfileInputSchema,RK as NcAlarmSecureOnArmEditSchema,HK as NcAlarmSecureOnArmOffSchema,nq as NcAlarmSensorReadingSchema,rq as NcAlarmSensorStateSchema,iq as NcAlarmSensorsInputSchema,aq as NcAlarmSensorsSchema,ZK as NcAlarmSettingsPatchSchema,GK as NcAlarmSettingsSchema,QK as NcAlarmSkipReasonSchema,$K as NcAlarmSkippedDeviceSchema,CG as NcAudioConditionSchema,oq as NcClipRetentionAskSchema,sq as NcClipRetentionPlanSchema,vK as NcConditionDescriptorSchema,NG as NcConditionsSchema,qG as NcConfirmExpectSchema,JG as NcConfirmSchema,wG as NcCrossingSchema,sG as NcDeliverySchema,jG as NcDeviceStateConditionSchema,SK as NcHistoryEntrySchema,CK as NcHistoryFilterSchema,bK as NcHistoryRecordKindSchema,yK as NcHistoryStatusSchema,xK as NcHistorySubjectSchema,OG as NcHookActionIdsSchema,BG as NcLinkedCameraModeSchema,zG as NcMediaFrameSchema,RG as NcMediaImageSchema,VG as NcMediaPolicySchema,SG as NcOccupancyConditionSchema,xG as NcPlateMatcherSchema,AG as NcRuleActionsSchema,$G as NcRuleClearableKeySchema,YG as NcRuleInputSchema,cK as NcRuleKindSchema,wK as NcRuleLastRunSchema,TK as NcRuleLastRunsSchema,kG as NcRuleNotificationButtonSchema,XG as NcRulePatchSchema,tK as NcRuleSchema,PG as NcRuleTargetSchema,eK as NcRuleUpdateInputSchema,MG as NcSceneConditionSchema,_G as NcScheduleSchema,gG as NcScheduleWindowSchema,TG as NcSensorTransitionSchema,DK as NcSnoozeInputSchema,OK as NcSnoozeSchema,EK as NcSnoozeScopeSchema,qTe as NcSnoozeSuppressedSchema,aK as NcStateSummaryPreviewRowSchema,oK as NcStateSummaryPreviewSchema,iK as NcStateSummaryPreviewSectionSchema,rK as NcStateSummarySectionIdSchema,yG as NcStateSummarySplitSchema,mG as NcSystemEventConditionSchema,vG as NcSystemEventDeliveryModeSchema,bG as NcSystemEventDeliverySchema,jTe as NcSystemEventDeliveryToggleSchema,cG as NcSystemEventKindSchema,FG as NcTargetAttachmentSchema,IG as NcTargetOverrideSchema,LG as NcTargetOverridesSchema,rG as NcTaxonomyEntrySchema,iG as NcTaxonomySchema,uK as NcTemplateDefaultSchema,dK as NcTemplateFamilySchema,fK as NcTemplateFieldSchema,gK as NcTemplatePreviewInputSchema,_K as NcTemplatePreviewSchema,hK as NcTemplateVarContextSchema,mK as NcTemplateVarDescriptorSchema,pK as NcTemplateVarGroupSchema,lK as NcTemplateVarKindSchema,sK as NcTestResultSchema,HG as NcThrottleGranularitySchema,UG as NcThrottleSchema,EG as NcZoneConditionSchema,yW as NetworkAccessStatusSchema,a1 as NetworkAddressSchema,vW as NetworkEndpointSchema,SW as NetworkLinkStatusSchema,rTe as NetworkTunnelStartedDataSchema,Gt as NoCallerError,UH as NodeBenchCellSchema,GH as NodeBenchClipSchema,VH as NodeBenchDeviceCellSchema,WH as NodeBenchFingerprintSchema,zH as NodeBenchLimitSchema,HH as NodeBenchPipelineCellSchema,RH as NodeBenchProgressSchema,BH as NodeBenchRampStepSchema,KH as NodeBenchRunnerInputSchema,qH as NodeBenchRunnerStateSchema,JH as NodeBenchRunnerStatusSchema,nU as NodeBenchmarkCandidatesSchema,jH as NodeBenchmarkDevicePlanSchema,XH as NodeBenchmarkEndReasonSchema,Vwe as NodeBenchmarkManifestSchema,FH as NodeBenchmarkMovingCameraSchema,AH as NodeBenchmarkPhaseSchema,MH as NodeBenchmarkPlanSchema,LH as NodeBenchmarkPreflightSchema,NH as NodeBenchmarkRefusalKindSchema,PH as NodeBenchmarkRefusalSchema,$H as NodeBenchmarkResultSchema,tU as NodeBenchmarkResultViewSchema,ZH as NodeBenchmarkRunSchema,YH as NodeBenchmarkStateSchema,QH as NodeBenchmarkStatusSchema,IH as NodeBenchmarkStayingCameraSchema,sl as NodeColorIdSchema,qq as NodeDeviceChangeSchema,UW as NodeDirectoryEntrySchema,WW as NodeDirectorySchema,jW as NodeHttpsStateSchema,Gq as NodeRecommendationSchema,NW as NodeRemovedInputSchema,PW as NodeRemovedResultSchema,Yl as NotificationActionIconSchema,Xl as NotificationActionSchema,hoe as NotificationFieldSchema,Jl as NotificationFormatSchema,$l as NotificationSchema,Soe as NotificationTargetStore,lq as NotifierStatusSchema,dq as NumericSensorStatusSchema,JXe as OAUTH_LANDING_PATH,YXe as OAUTH_LANDING_REASONS,NJe as OBJECT_DETECTION_STEP_ID,FBe as OPERATOR_WRITTEN_STALE_MS,nce as OPS_LOG_DEFAULT_LIMIT,tce as OPS_LOG_RING_DEFAULT_MAX,GXe as ORPHAN_SWEEP_MIN_INTERVAL_MS,xq as OSD_TEMPLATE_TEXT_MAX,Rm as OVERFLOW_REASON,Yce as OVERLAY_LAYERS,ve as OWNER_ONLY_EVENT_CATEGORIES,pq as OauthIntegrationDescriptorSchema,XB as ObjectEventSchema,MU as OccupancyBurstRefusalSchema,eY as OccupancyLookAnswerSchema,QJ as OccupancyLookRefusalSchema,$J as OccupancyLookRequestSchema,Eu as OldTargetBodySchema,xZ as OnboardFieldSupportSchema,_Z as OnboardRecordTrackSchema,SZ as OnboardScheduleSupportSchema,gZ as OnboardStorageSchema,hZ as OnboardStorageVolumeSchema,qf as OpsLogDomainSchema,Xf as OpsLogEntrySchema,Jf as OpsLogOpSchema,Zf as OpsLogQueryInputSchema,Yf as OpsLogReasonSchema,Bwe as OrchestratorMetricsSchema,tj as OrphanDeviceDataSchema,KXe as OrphanIntegrationSweep,Sq as OsdNamedTemplateSchema,hq as OsdOverlayKindEnum,yq as OsdOverlayPatchSchema,_q as OsdOverlaySchema,gq as OsdPositionEnum,Eq as OsdRenderOutcomeEnum,Dq as OsdRenderResultSchema,wq as OsdSlotBindingSchema,Tq as OsdSlotViewSchema,Cq as OsdSourceSchema,vq as OsdStatusSchema,Oq as OsdTemplatePreviewSchema,wye as OverrideDraftSchema,EM as PALETTE_BACKGROUNDS,SM as PALETTE_ENTRY_IDS,Mbe as PALETTE_MIN_CONTRAST,kbe as PALETTE_MIN_DELTA_E,Abe as PALETTE_MIN_DELTA_E_MARK,TM as PALETTE_PRESET_IDS,Ipe as PARALLEL_STEPS_MAX,Fpe as PARALLEL_STEPS_MIN,mje as PAUSE_MAX_MS,Ote as PEER_BYTES_CHUNK_BYTES,Ete as PEER_BYTES_MAX_OUTSTANDING,Dte as PEER_BYTES_STALL_MS,Tte as PEER_BYTES_TICKET_TTL_MS,Kve as PENDING_BLOCK_ID,fEe as PET_FEEDER_MANUAL_FEED_MAX,dEe as PET_FEEDER_MANUAL_FEED_MIN,Fq as PET_FOUNTAIN_WATER_KEY,LEe as PHOENIX_780M_CU,sd as PIPELINE_ANALYTICS_CAP_NAME,N4 as PIPELINE_FLOW_CAPABILITY_NAMES,CAe as PIPELINE_OWNER_CAPABILITY_NAMES,vJe as PIPELINE_RAMP,sBe as PLUG_APPLIANCE_TYPES,n8 as PLUS_CATALOG_CLASS_FLOORS,t8 as PLUS_CATALOG_STOCK_CLASS_FLOORS,$6 as PLUS_CATALOG_TO_MACRO,bPe as PLUS_CATALOG_UNMAPPED_LABELS,Bve as POWER_SOURCE_OFF_SECONDS_DEFAULT,zve as POWER_SOURCE_OFF_SECONDS_MAX,Rve as POWER_SOURCE_OFF_SECONDS_MIN,tue as PREFERENCES_MAX_DEVICE_ID_LENGTH,eue as PREFERENCES_MAX_NAMESPACES,$le as PREFERENCES_MAX_VALUE_BYTES,tg as PREFERENCES_NAMESPACE_PATTERN,Hle as PREFERENCES_SELF_SCOPE,od as PRIVACY_MASK_CAP_NAME,aje as PROPOSAL_MIN_SPAN_MS,uVe as PROVIDER_KIND_CAP_NAMES,mte as PROVIDER_PIN_FIELD,cR as PUBLIC_ENDPOINT_HTTP_REASON,p3 as PULSE_MAX_MS,lQe as PYTHON_SCRIPT,lS as PackageInstallationSchema,uS as PackageInstallationsSchema,$z as PackageLlmVerdictSchema,Qae as PackageRequiresSchema,eS as PackageUpdateSchema,tS as PackageVersionInfoSchema,GM as PaletteRejectedError,oU as ParkRefusalSchema,sU as ParkTrackFrameResultSchema,aU as ParkedFrameKindSchema,cU as ParkedTrackFrameSchema,KR as PasskeyLoginMethodSchema,B0 as PasskeySummarySchema,HS as PcmSampleFormatSchema,Qr as PeerBytesTicketSchema,D2 as PerScopeBreakdownSchema,Mq as PetFeederStatusSchema,Pq as PetFountainStatusSchema,Nw as PickStreamPreferencesSchema,Mw as PickStreamRequirementsSchema,Pw as PickedCamStreamSchema,wJ as PipelineAssignmentSchema,vH as PipelineDefaultStepSchema,gH as PipelineEngineChoiceSchema,bh as PipelineModelFormatStatusSchema,za as PipelineRunResultBridge,Ra as PipelineStepInputSchema,bH as PipelineValidationIssueSchema,xH as PipelineValidationResultSchema,Jge as PlaceholderReasonSchema,iJ as PlacementDeviceStatsSchema,aJ as PlacementNodeStatsSchema,rJ as PlacementStatsInputSchema,sJ as PlacementStatsSchema,Vt as PlaintextSecretError,EH as PolygonPointSchema,QZe as PoolMemoryWatchdog,OY as PowerMeterStatusSchema,SO as PowerSourceActionResultSchema,CO as PowerSourceInfoSchema,xO as PowerSourceRefusalReasonSchema,wO as PowerSourceStateSchema,w5 as PowerSwitchRefusedError,dY as PrecisionGopsSchema,ig as PreferenceDeviceIdSchema,ng as PreferenceNamespaceSchema,ag as PreferenceRowSchema,rg as PreferenceValueSchema,cue as PreferencesChangedSinceInputSchema,lue as PreferencesChangedSinceOutputSchema,oue as PreferencesDeleteInputSchema,sue as PreferencesDeleteOutputSchema,nue as PreferencesGetInputSchema,rue as PreferencesGetOutputSchema,iue as PreferencesPutInputSchema,aue as PreferencesPutOutputSchema,Zh as PreferencesSelfScopeSchema,MY as PresenceStatusSchema,PY as PressureSensorStatusSchema,zY as PrivacyMaskOptionsSchema,BY as PrivacyMaskPatchSchema,LY as PrivacyMaskRegionSchema,IY as PrivacyMaskShapeSchema,RY as PrivacyMaskStatusSchema,lu as ProbeTargetConfigResultSchema,na as ProfileRtspEntrySchema,qi as ProfileSlotSchema,Ki as ProfileSlotStatusSchema,c0 as ProviderJobStateSchema,l0 as ProviderJobStatusSchema,iqe as ProviderMotionDataSchema,MA as ProviderStatusSchema,eX as PtzAutotrackRuntimeStateSchema,ZY as PtzAutotrackSettingsSchema,$Y as PtzAutotrackStatusSchema,QY as PtzAutotrackTargetOptionSchema,JY as PtzHomePresetSchema,YY as PtzHomeReturnSchema,GY as PtzMoveCommandSchema,qY as PtzOptionsSchema,WY as PtzPositionSchema,HY as PtzPresetFunctionSchema,UY as PtzPresetSchema,KY as PtzStatusSchema,nX as PumpCycleStatusSchema,Ri as QUANTITY_BASE,Mg as QuantityUnitError,Ng as QuantityValueSchema,ud as QueryFilterSchema,Loe as RATE_CONTROL_RELAXED,Ioe as RATE_CONTROL_TIGHT,kBe as REACHABILITY_FAILURES_TO_OFFLINE,OBe as REACHABILITY_POLL_INTERVAL_MS,ABe as REACHABILITY_PROBE_TIMEOUT_MS,Lqe as RECALL_TIE,_ce as RECOGNITION_TYPES,ace as RECORDING_AUDIO_TRIGGER_OFFERED_DBFS,DDe as RECORDING_EXPORT_MAX_READ_BYTES,iDe as RECORDING_SOURCE_CAMSTACK,aDe as RECORDING_SOURCE_CAMSTACK_ADDON,oDe as RECORDING_TIMELINE_BATCH_MAX,kt as RECORDS_ERROR_CODES,mn as RECORD_BATCH_MAX,hn as RECORD_BATCH_MAX_BYTES,dn as RECORD_CLASSES,un as RECORD_DATABASES,fn as RECORD_DEFAULT_MAX_DATA_BYTES,_n as RECORD_DELETE_BATCH,mee as RECORD_ID_MAX_LENGTH,pn as RECORD_MAX_DATA_BYTES,hee as RECORD_MAX_INDEXES,gee as RECORD_MAX_INDEX_FIELDS,gn as RECORD_QUERY_MAX,yn as RECORD_SECRET_COLLECTION_PREFIX,vn as RECORD_SETTINGS_MAX_ROWS,_ee as RECORD_SWEEP_INTERVAL_MS,FJe as RECOVERY_CROP_MAX_SIDE_PX,PJe as RECOVERY_CROP_MIN_SIDE_PX,IJe as RECOVERY_CROP_PADDING_RATIO,GJe as RECOVERY_EDGE_MARGIN_PX,WJe as RECOVERY_FUSE_CONTAINMENT,UJe as RECOVERY_FUSE_IOU,RJe as RECOVERY_MAX_CROPS_PER_FRAME,BJe as RECOVERY_MAX_REGION_FRAME_FRACTION,zJe as RECOVERY_MIN_INTERVAL_MS,VJe as RECOVERY_MIN_UNCOVERED_FRACTION,HJe as RECOVERY_MOTION_MAX_AGE_MS,LJe as RECOVERY_VIEW_PX,dy as REDACTED_ARG,Ie as REDACTED_SECRET,pY as REFERENCE_COMPUTE,NEe as REFERENCE_MATCH_FRACTION,FZ as REMOTE_BUTTON_SHAPES,LZ as REMOTE_BUTTON_TONES,iQ as REMOTE_COMPONENT_CATEGORIES,eQ as REMOTE_CONFIG_REFUSALS,I4 as REMOTE_CUSTOM_ROLE_ICON,hE as REMOTE_CUSTOM_ROLE_PREFIX,zZ as REMOTE_GROUP_FRAMES,fE as REMOTE_KNOWN_ROLES,UDe as REMOTE_MAX_REPEAT,ZZ as REMOTE_MEDIA_COMMANDS,FF as REMOTE_OPEN_ACTION_ID,JZ as REMOTE_REFUSAL_REASONS,F4 as REMOTE_ROLE_VOCABULARY,SE as REMOTE_SOURCE_KINDS,w_e as REMOTE_STEP_DELAY_DEFAULT_MS,OE as REMOTE_STEP_DELAY_MAX_MS,T_e as REMOTE_STEP_DELAY_MIN_MS,pE as REMOTE_WIDGET_ROLES,HQe as REMOVAL_RECONCILE_INTERVAL_MS,cqe as REMOVED_MODEL_IDS,Cn as REMOVE_LEAF,Rpe as REPEAT_COUNT_MAX,Vpe as REPEAT_DEVICES_MAX,sv as REPEAT_ITEM_VAR,zpe as REPEAT_ITERATIONS_MAX,Bpe as REPEAT_STEPS_MAX,Zo as RESERVED_BINDING_NAMES,j4 as RESERVED_COLLECTION_SOURCES,$_ as RESERVED_RUN_VARS,Ms as RESET_PERIODS,gVe as RESTORED_CAP_NAMES,go as RESTREAM_INPUT_PROBE,kse as RETRAIN_REVIEW_ADJUSTED_IOU,Ose as RETRAIN_REVIEW_MATCH_IOU,vf as RETRAIN_REVIEW_STATUSES,Cf as RETRAIN_REVISION_CONFLICT,Pte as REVALIDATE_AFTER_MS,As as ROLLING_SPANS,wMe as ROOM_EXAMPLE_MOTION_SOURCES,CMe as ROOM_EXAMPLE_TEMPERATURE_SOURCES,SMe as ROOM_OCCUPANCY_WINDOW_MS,Bm as ROOT_BUCKET_KEY,xle as ROOT_CHILD_CONTAINMENT_MIN,SYe as ROOT_FACE_REFINE_INPUT_PX,xYe as ROOT_FACE_REFINE_SCALE,rh as ROOT_SUPPLIABLE_STEP_IDS,fQ as RUNNING_POWER_DEFAULTS_BY_TYPE,dQ as RUNNING_POWER_GLOBAL_DEFAULTS,JDe as RUNNING_POWER_MIN_SAMPLES,lQ as RUNNING_POWER_START_DELAY_MS,uQ as RUNNING_POWER_STOP_DELAY_MS,qDe as RUNNING_POWER_THRESHOLD_WATTS,YDe as RUNNING_STATE_COLD,dre as RUNTIME_DEFAULTS,fVe as RUNTIME_STATE_POLICY,PBe as RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS,cQe as RUNTIME_TO_FORMAT,QO as RawSecretMigrationInputSchema,$O as RawSecretMigrationReportSchema,Kne as RawStateResultSchema,PX as ReadGopBytesResultSchema,NX as ReadSegmentBytesResultSchema,FX as ReadWindowBytesResultSchema,_ne as ReadinessRegistry,ua as ReadinessTimeoutError,Ii as ReadingQuantitySchema,cH as RebuildObjectEmbeddingsRefusalSchema,$V as RecentTracksPageSchema,QV as RecentTracksQueryInput,Bq as RecommendationReasonSchema,cz as RecordBodySchema,Lr as RecordFieldPathSchema,sz as RecordIdSchema,Rr as RecordIndexSchema,lz as RecordInputSchema,Nn as RecordIntegrationInstances,Hr as RecordKindDeclarationSchema,Ur as RecordKindNameSchema,zt as RecordNotFoundError,mz as RecordQueryInputSchema,hz as RecordQueryResultSchema,zr as RecordRetentionSchema,yz as RecordSecretRefsSchema,Ut as RecordSecretUnavailableError,Ft as RecordTooLargeError,vz as RecordTransactOpSchema,pZ as RecordTriggerSchema,Bt as RecordUniqueViolationError,uz as RecordViewSchema,dz as RecordWhereSchema,mZ as RecordWindowSchema,SX as RecordingAvailabilityForDeviceSchema,pX as RecordingAvailabilitySchema,dp as RecordingBandAudioSchema,lp as RecordingBandModeSchema,fp as RecordingBandSchema,up as RecordingBandTriggersSchema,hp as RecordingConfigSchema,CX as RecordingDaysForDeviceSchema,mX as RecordingDaysSchema,wX as RecordingDeviceUsageSchema,TX as RecordingLocationUsageSchema,hX as RecordingManifestSchema,op as RecordingObjectTriggerClassSchema,CZ as RecordingOnboardOptionsSchema,wZ as RecordingOnboardPatchSchema,vZ as RecordingOnboardStatusSchema,yX as RecordingPlaybackSchema,dX as RecordingRangeSchema,fX as RecordingReadSchema,jX as RecordingRebalanceInputSchema,DX as RecordingRebalanceMoveSchema,AX as RecordingRebalancePlanSchema,OX as RecordingRebalanceSkipReasonSchema,kX as RecordingRebalanceSkipSchema,mp as RecordingRetentionSchema,DZ as RecordingSignalRuntimeStateSchema,EZ as RecordingSignalStatusSchema,gX as RecordingSourceAvailabilitySchema,vX as RecordingSourceOptionsSchema,_X as RecordingSourceSchema,xX as RecordingStatusSchema,ap as RecordingStorageModeSchema,EX as RecordingStorageUsageSchema,cp as RecordingTriggersSchema,rp as RecordingWeekdaySchema,Nt as RecordsError,WR as RedirectLoginMethodSchema,im as RelocatableMediaCountInputSchema,rm as RelocatableMediaCountSchema,xp as RelocateFootageClassSchema,Sp as RelocateFootageInputSchema,bp as RelocateJobSchema,yp as RelocateJobStateSchema,Ep as RelocateMediaInputSchema,Xp as RelocateResidueInputSchema,Zp as RelocateResidueSchema,RDe as RemoteAssumedStateSchema,kZ as RemoteBindingActionSchema,AZ as RemoteBindingSchema,KZ as RemoteBoundCommandSchema,IZ as RemoteButtonShapeSchema,RZ as RemoteButtonToneSchema,qZ as RemoteCommandListSchema,oQ as RemoteComponentButtonSchema,aQ as RemoteComponentCategorySchema,NZ as RemoteConfigSchema,jZ as RemoteCustomButtonSchema,wE as RemoteDigitsSourceSchema,BZ as RemoteGroupFrameSchema,EE as RemoteIrSourceSchema,VZ as RemoteLayoutButtonSchema,sQ as RemoteLayoutComponentSchema,HZ as RemoteLayoutGroupSchema,GZ as RemoteLayoutPayloadSchema,$Z as RemoteMediaCommandResultSchema,QZ as RemoteMediaCommandSchema,YZ as RemoteRefusalReasonSchema,MZ as RemoteRefusedSourceSchema,xE as RemoteRoleSchema,XZ as RemoteSendResultSchema,TE as RemoteSequenceSourceSchema,tQ as RemoteSetConfigResultSchema,v_e as RemoteSourceKindSchema,DE as RemoteSourceSchema,ou as RenderedAsSchema,Que as RenewDeviceCertificateOutputSchema,$ue as RenewDeviceCertificateResultSchema,CU as ReportMotionInputSchema,k1 as ReportedFailureContributionSchema,O1 as ReportedLoadContributionSchema,f1 as RequestCensusGroupSchema,p1 as RequestCensusProcedureSchema,m1 as RequestCensusSnapshotSchema,h1 as RequestCensusStatusSchema,Il as RequiredAddonUpdateSchema,fV as RetrainAnnotationDraftSchema,rV as RetrainAnnotationKindSchema,dV as RetrainAnnotationSchema,iV as RetrainAnnotationSourceSchema,NV as RetrainArchiveResultSchema,MV as RetrainArchiveTargetSchema,BV as RetrainAssistProfileSchema,FV as RetrainAssistResultSchema,PV as RetrainAssistSubjectSchema,lV as RetrainBoxReviewSchema,LV as RetrainCollectionCreateResultSchema,RV as RetrainCollectionRenameResultSchema,IV as RetrainCollectionSchema,xV as RetrainCopyRefusalSchema,TV as RetrainCorpusFilterSchema,OV as RetrainCorpusKpiCameraRowSchema,kV as RetrainCorpusKpiSchema,EV as RetrainCorpusPageFrameSchema,DV as RetrainCorpusPageSchema,WV as RetrainDatasetSelectionSchema,GV as RetrainDatasetStatsSchema,XCe as RetrainDatasetVersionSchema,sV as RetrainDismissedSchema,AV as RetrainExportFilterSchema,jV as RetrainExportLayoutSchema,_V as RetrainFrameCandidateSchema,CV as RetrainFrameListSchema,yV as RetrainFrameOriginSchema,uV as RetrainFrameReviewSchema,bV as RetrainFrameSchema,SV as RetrainFrameSelectionSchema,wV as RetrainFrameWorkStateSchema,UV as RetrainLlmAssistResultSchema,VV as RetrainLlmProposalSchema,HV as RetrainLlmReviewSchema,nV as RetrainMacroClassSchema,oV as RetrainOriginSchema,vV as RetrainPipelineBoxSchema,cV as RetrainReviewStatusSchema,PB as RetrainStatusSchema,gV as RetrainTrackSchema,qV as RetrainTrainingCorpusResolveResultSchema,KV as RetrainTrainingCorpusSelectionSchema,JV as RetrainTransitionResultSchema,mV as RetrainVerdictSchema,hV as RetrainVerdictSubjectSchema,pV as RetrainVerdictValueSchema,Pt as RevConflictError,ede as RevokeOwnDeviceCertificateResultSchema,nQe as RingBuffer,Rs as RollingWindowSchema,Oh as RootStepSupplySchema,Tw as RtpSourceSchema,gw as RtspRestreamEntrySchema,Di as RuleFireOriginSchema,The as RunGate,ZQ as RunnerBootCheckSchema,DU as RunnerCameraConfigSchema,qwe as RunnerCameraDeviceUIFields,wU as RunnerFrameSourceSchema,EU as RunnerInferenceDeviceSchema,TU as RunnerJumpStepProvisioningSchema,OU as RunnerLocalLoadSchema,jU as RunnerLocalMetricsSchema,XQ as RunnerRefusalSchema,KO as RunningProposalConfidenceSchema,YO as RunningProposalEvidenceSchema,XO as RunningProposalInsufficientEvidenceSchema,qO as RunningProposalInsufficientReasonSchema,JO as RunningProposalReplaySchema,GO as RunningProposalTierSchema,hQ as RunningStateSourceSchema,gQ as RunningStateStatusSchema,ZO as RunningThresholdProposalSchema,GQe as SAMSUNG_CARRIER_HZ,KQe as SAMSUNG_MAX_BITS,ZDe as SCENE_CONDITIONS,nOe as SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX,kQ as SCENE_CONFIRM_DEFAULT_TIMEOUT_MS,DQ as SCENE_DEFAULT_ANCHOR_THRESHOLD,tOe as SCENE_DEFAULT_CHECK_INTERVAL_SEC,eOe as SCENE_DEFAULT_OBSERVATION_SPACING_SEC,$De as SCENE_DEFAULT_QUIET_SECONDS,OQ as SCENE_DEFAULT_UNCOVERED_POLICY,QDe as SCENE_DIVERGED,rOe as SCENE_RESET_RECAPTURES,Xpe as SCHEDULER_WAIT_MAX_SECONDS,Hn as SCOPED_SETTINGS_SCOPES,ZVe as SCOPE_PRESETS,qe as SECRET_CLEAR,_te as SECRET_META,$t as SECRET_REF_SCHEME,iFe as SENSOR_FEATURES,oFe as SENSOR_MAP,Bqe as SERIAL_CAPACITY_CAMERA_FPS,Hie as SERIES_KINDS,pOe as SERVER_NAME_MAX_LENGTH,fOe as SERVER_NAME_SETTING_KEY,zl as SESSION_LOST_ALERT_CATEGORY,vEe as SESSION_PLACEMENT_SETTING_KEY,Dpe as SET_VARS_MAX,Q_ as SET_VAR_NAME_RE,Ope as SET_VAR_VALUE_MAX,rJe as SHARE_AFFINITY_TOLERANCE_SESSIONS,xEe as SHARE_SOURCE_SETTING_KEY,Zr as SHARE_VIEW_KINDS,Vle as SHARE_VIEW_MAX_DEVICES,MSe as SINGLE_HUB_ADDRESS_ROLES,sge as SLICE_MAX_LINES,vl as SMTP_INBOUND_DEFAULT_DOMAIN,Fae as SMTP_INBOUND_DEFAULT_ID,yl as SMTP_INBOUND_DEFAULT_MAX_MESSAGE_BYTES,_l as SMTP_INBOUND_DEFAULT_PORT,Pae as SMTP_INBOUND_KIND,Lae as SMTP_INBOUND_RING_MAX_AGE_MS,Iae as SMTP_INBOUND_RING_MAX_MESSAGES,bl as SMTP_INBOUND_TEXT_MAX_CHARS,Rae as SMTP_RECIPIENT_CLAIMED,Oo as SOURCE_CAPS,Eo as SOURCE_CAP_ACTIVE_FIELD,Do as SOURCE_CAP_CHANGED_AT_FIELD,cie as SOURCE_DEVICE_TYPES,jg as SOURCE_INFO_METADATA_KEY,Due as SSO_STATE_COOKIE,Oue as SSO_STATE_COOKIE_MAX_AGE_SEC,vKe as STATE_LABELS,_Ke as STATE_LABEL_KEYS,Zce as STATIONARY_OVERLAY_STYLE,vs as STATISTIC_STATS,Sme as STEP_DEVICE_CONCURRENCY,jpe as STEP_NEST_MAX,Epe as STOP_REASON_MAX,Ece as STORAGE_ACCESS_FALLBACK,Sm as STORAGE_BYTES_PER_GB,lm as STORAGE_LOCATION_MODES,M4 as STREAM_PROFILE_META,Hf as STREAM_QUALITY_LABELS,cWe as SUBJECT_PATH_DWELL_EPS,sWe as SUBJECT_PATH_FULL_FRAME_COVERAGE,lWe as SUBJECT_PATH_MAX_POINTS,gce as SUB_DETECTION_TYPES,Gg as SUNRISE_ALTITUDE_DEG,Oze as SYSTEM_CAP_NAMES,lVe as SYSTEM_SCOPE_DEVICE_METHODS,EQ as SceneCheckSchema,bQ as SceneConditionSchema,AQ as SceneConfirmSchema,jQ as SceneMonitorSchema,TQ as SceneMonitorStateSchema,NQ as SceneMonitorStatusForDeviceSchema,MQ as SceneMonitorStatusSchema,wQ as SceneReferenceSchema,CQ as SceneUnavailableSchema,xQ as SceneUncoveredPolicySchema,SQ as SceneVerdictSchema,Kv as SchedulerConflictSchema,$pe as SchedulerError,Qpe as SchedulerErrorCodeSchema,Iv as SchedulerInputSchema,Rv as SchedulerOutcomeSchema,jv as SchedulerPointModeSchema,Pv as SchedulerPointSchema,Wv as SchedulerPreviewPointSchema,Gv as SchedulerPreviewSchema,Fv as SchedulerProfileSchema,Lv as SchedulerSchema,kv as SchedulerStateTreeSchema,Jv as SchedulerStatusSchema,Av as SchedulerTimeSpecSchema,zle as ScopedTokenSchema,aH as ScoredObjectEventSchema,LQ as ScriptRunnerStatusSchema,rS as SearchResultSchema,l$ as SendEmailInputSchema,u$ as SendEmailResultSchema,su as SendResultSchema,OB as SensorEventSchema,zQ as ServerBootModeSchema,t1 as ServerNameInfoSchema,e1 as ServerNameSchema,QQ as ServerPackageStatusSchema,KQ as ServerRollbackInfoSchema,n$ as ServerUpdateActionResultSchema,$Q as ServerUpdateCheckResultSchema,e$ as ServerUpdateOutcomeSchema,BQ as ServerUpdateStateSchema,Hl as SessionHealthTracker,eJ as SessionPlacementPolicySchema,yU as SessionTriggerSchema,ZJ as SetCameraSensorsInputSchema,j1 as SetLoggingSettingsInputSchema,PN as SetOscillationAxisInputSchema,_J as SetShareSourceInputSchema,l1 as SetSiteLocationInputSchema,Rf as SetTrackPurityInputSchema,zf as SetTrackPurityResultSchema,Ff as SetTrackRelationInputSchema,Ax as SettingsPatchSchema,md as SettingsRecordSchema,kx as SettingsSchemaWithValuesSchema,Mx as SettingsUpdateResultSchema,mJ as ShareSourceSchema,Jh as ShareViewGrantSchema,Yh as ShareViewScopeSchema,CEe as ShareWeightsSchema,s1 as SiteLocationSchema,o1 as SiteLocationSourceSchema,c1 as SiteLocationStatusSchema,SA as SiteZoneSchema,a$ as SmokeStatusSchema,Cl as SmtpInboundAttachmentSchema,Bae as SmtpInboundConfigSchema,Vae as SmtpInboundFilterSchema,wl as SmtpInboundMessageSchema,zae as SmtpInboundSettingsSchema,Hae as SmtpInboundSinceSchema,Sl as SmtpRecipientSchema,d$ as SmtpStatusSchema,p$ as SnapshotImageSchema,kg as SourceInfoSchema,jge as SpatialDetectionSchema,h$ as SsoBridgeClaimsSchema,S$ as StaleDataReportSchema,oJ as StaleDevicePinSchema,b$ as StaleKindFindingSchema,x$ as StaleSettingsKeyFindingSchema,Xw as StartClusterUpdateResultSchema,XU as StartEmbeddedInputSchema,rde as StartEnrollmentOutputSchema,k2 as StationaryObjectSchema,Rg as StationarySubjectSchema,hae as StatisticHelperSpecSchema,Bs as StatisticWindowSchema,ty as StepDeviceTraceSchema,xy as StepTemplateError,P$ as StorageAbortUploadInputSchema,Tm as StorageAccessSchema,F$ as StorageBeginDownloadInputSchema,I$ as StorageBeginDownloadResultSchema,A$ as StorageBeginUploadInputSchema,j$ as StorageBeginUploadResultSchema,om as StorageCleanupInputSchema,sm as StorageCleanupJobSchema,am as StorageCleanupPhaseSchema,cm as StorageCleanupStatusInputSchema,Cm as StorageDrainProgressSchema,R$ as StorageEndDownloadInputSchema,vce as StorageEvictionPolicySchema,N$ as StorageFinalizeUploadInputSchema,y$ as StorageKindSchema,Em as StorageLocationDeclarationSchema,um as StorageLocationModeSchema,wm as StorageLocationRefSchema,xm as StorageLocationSchema,bm as StorageLocationTypeSchema,Np as StorageMigrationClassSchema,Pp as StorageMigrationDestinationsSchema,Yp as StorageMigrationDrainInputSchema,Up as StorageMigrationFindingCodeSchema,Wp as StorageMigrationFindingSchema,wp as StorageMigrationFootageMoveInputSchema,Lp as StorageMigrationInputSchema,Hp as StorageMigrationJobSchema,Kp as StorageMigrationLaneSchema,Cp as StorageMigrationLeaseInputSchema,Mp as StorageMigrationMediaMoveInputSchema,Ip as StorageMigrationModeSchema,Bp as StorageMigrationMoveProgressSchema,Vp as StorageMigrationMoveSchema,qp as StorageMigrationMoverSchema,zp as StorageMigrationParticipantSchema,Rp as StorageMigrationPhaseSchema,Gp as StorageMigrationPlanSchema,Jp as StorageMigrationResidueSchema,Fp as StorageMigrationSourcesSchema,E$ as StorageOccupancyReportSchema,O$ as StorageProviderInfoSchema,L$ as StorageReadChunkInputSchema,v$ as StorageTableSchema,k$ as StorageTestLocationResultSchema,M$ as StorageWriteChunkInputSchema,nie as StoredDeviceTypeSchema,bte as StoredRecordKindDeclarationSchema,jw as StreamCodecSchema,dw as StreamFormatSchema,TW as StreamNetworkStatsSchema,K$ as StreamParamsOptionsSchema,W$ as StreamParamsStatusSchema,U$ as StreamProfileConfigSchema,G$ as StreamProfileOptionsSchema,q$ as StreamProfilePatchSchema,H$ as StreamProfileSchema,Y$ as StreamSignalSchema,X$ as StreamSignalsStatusSchema,Ji as StreamSourceEntrySchema,fne as StreamSourceSchema,Qi as SubscribeAudioChunksInputSchema,$i as SubscribeAudioChunksResultSchema,uJ as SuggestSharesInputSchema,pJ as SuggestSharesResultSchema,dJ as SuggestedDeviceShareSchema,fJ as SuggestedNodeShareSchema,Bfe as SunEventSchema,fH as SuppliedRootOutputSchema,Q$ as SwitchStatusSchema,QI as SystemHeldSecretNameSchema,az as SystemMetricsSchema,YBe as SystemMirror,Cu as TARGET_OWNER_KEY,R1 as TEMPLATE_KINDS,B1 as TEMPLATE_PAYLOAD_SCHEMAS,H1 as TEMPLATE_WRITE_REFUSALS,_3 as THRESHOLD_GRID_W,zP as TIMED_RUN_DEVICE_ROLES,RP as TIMED_RUN_DEVICE_TYPES,IP as TIMED_RUN_HEATER_LIMIT,LP as TIMED_RUN_PET_FOUNTAIN_LIMIT,VKe as TIMELAPSE_DENSE_FLOOR_SEC,km as TIMEZONES,Wse as TRACK_RELATIONS_DEFAULT_LIMIT,rf as TRAINING_JOB_SCHEMA,af as TRAINING_RESULT_SCHEMA,zoe as TRANSCODE_DOWN_MAX_BITRATE_KBPS,Roe as TRANSCODE_DOWN_MAX_HEIGHT,hpe as TRIGGERED_BY_MAX_IDS,P1 as TamperStatusSchema,nu as TargetKindCapsSchema,eu as TargetKindLevelSchema,ru as TargetKindSchema,tu as TargetKindTextCapsSchema,iu as TargetSchema,I1 as TemperatureSensorStatusSchema,G1 as TemplateDeleteResultSchema,z1 as TemplateKindSchema,V1 as TemplateRecordSchema,W1 as TemplateUserSchema,U1 as TemplateWriteResultSchema,Y1 as TerminalInstanceInfoSchema,X1 as TerminalLegacyCameraSchema,Q1 as TerminalOutputBatchSchema,Z1 as TerminalOutputEventSchema,J1 as TerminalProfileInfoSchema,q1 as TerminalSessionInfoSchema,uI as TestConnectionResultSchema,lI as TestConnectionStatusEnum,cu as TestResultSchema,_ae as ThresholdHelperSpecSchema,Jg as TimeSpecSchema,Exe as TimedRunActuatorSchema,JP as TimedRunOptionsSchema,UP as TimedRunQuickRunSchema,GP as TimedRunRefusalSchema,KP as TimedRunResultSchema,YP as TimedRunSettingsPatchSchema,qP as TimedRunStatusSchema,FP as TimedRunUnitSchema,qKe as TimelapseRuleInputSchema,YKe as TimelapseRulePatchSchema,XKe as TimelapseRuleSchema,G7 as TimelapseTemplateSchema,e0 as ToastSchema,Kh as TokenScopeSchema,RW as TopologyNodeSchema,LW as TopologyProcessSchema,IW as TopologyServiceSchema,Zv as TraceNodeOutcomeSchema,Yv as TraceValueSchema,oH as TrackCascadeCountsSchema,AB as TrackEnvelopeSchema,LB as TrackFlagsPatchSchema,RB as TrackFlagsSchema,UB as TrackPlacementSchema,jB as TrackProjectionSchema,Pf as TrackPuritySchema,Mf as TrackPurityValueSchema,Af as TrackRelationKindSchema,Gse as TrackRelationRefusalSchema,Nf as TrackRelationSchema,WB as TrackSchema,jf as TrackSideSchema,NB as TrackSourceSchema,xB as TrackStateSchema,CB as TrackZoneFilterSchema,nwe as TrackedDetectionSchema,u0 as TrainerSourceRefSchema,w0 as TrainingAcceleratorRefSchema,h0 as TrainingBaseModelSchema,T0 as TrainingCanarySchema,E0 as TrainingCanaryTargetSchema,df as TrainingCatalogDraftSchema,m0 as TrainingCorpusSelectionSchema,ff as TrainingEvalClassSchema,pf as TrainingEvalReportSchema,_f as TrainingEventSchema,VB as TrainingExportDeviceTotalsSchema,sf as TrainingExportSchema,HB as TrainingExportSummarySchema,S0 as TrainingFailureReasonSchema,n0 as TrainingGpuOptionSchema,b0 as TrainingJobPlanSchema,_0 as TrainingJobRequestSchema,D0 as TrainingJobSchema,Ese as TrainingJobSpecSchema,x0 as TrainingJobStateSchema,f0 as TrainingLogLineSchema,g0 as TrainingPresetSchema,C0 as TrainingProgressPointSchema,i0 as TrainingProviderDefaultsSchema,s0 as TrainingProviderDescriptorSchema,o0 as TrainingProviderEntrySchema,a0 as TrainingProviderTypeSchema,y0 as TrainingRefusalReasonSchema,r0 as TrainingRegionOptionSchema,lf as TrainingResultFileSchema,mf as TrainingResultSchema,v0 as TrainingSplitPlanSchema,hf as TrainingStageSchema,qt as TransactRefusedError,ji as TransitionActorKindSchema,Ai as TransitionActorSchema,Ni as TransitionCommandSchema,Mi as TransitionOutcomeSchema,cM as TransitionRecordResultSchema,sM as TransitionRefusalReasonSchema,ki as TransitionValueSchema,lM as TransitionsStatusSchema,OI as TransmitSettingKeySchema,QT as TransmitSettingsSchema,d1 as TransportPlaneCountsSchema,u1 as TransportPlaneSchema,A0 as TurnServerSchema,zm as UNATTRIBUTED_BUCKET_KEY,cl as UNIT_TABLE,L3 as UNLOCK_CONFIRMATION,ch as USE_ROOT_MODEL_DEFAULTS,lh as USE_ROOT_MODEL_SETTING_KEY,lx as UnexposeEntityInputSchema,It as UnindexedFilterError,oS as UninstallNodeOutcomeSchema,sS as UninstallNodeResultSchema,cS as UninstallPackageResultSchema,ll as UnitConversionError,Ob as UnitWarningSchema,Ul as UnknownInstanceError,Wl as UnknownInstanceKindError,Rt as UnknownRecordKindError,Fl as UnmetRequirementSchema,kT as UnreleasedClaimSchema,Op as UnstampedEventMediaCountSchema,Dp as UnstampedRowsSchema,t$ as UpdateBlockerSchema,dI as UpdateIntegrationInputSchema,M0 as UpdateStatusSchema,I0 as UpdateUserInputSchema,Rle as UserRecordSchema,qh as UserScopeSchema,P0 as UserSummarySchema,l2 as VECTOR_INDEX_DIM_CONFLICT,R9 as VENDOR_LOGIN_PROXY_PREFIX,SDe as VIDEOCLIPS_MAX_OFFER_BYTES,xDe as VIDEOCLIPS_MAX_READ_BYTES,kle as VIEWER_FEATURES,Ih as VIEWER_FEATURE_IDS,sce as VISIT_MERGE_GAP_MS,Nze as VOCAB_TEMPLATES,U0 as VacuumControlStatusSchema,H0 as VacuumStateSchema,G0 as ValveStateSchema,K0 as ValveStatusSchema,$0 as VectorDeclareIndexInputSchema,a2 as VectorDeleteByFilterInputSchema,i2 as VectorDeleteInputSchema,o2 as VectorDeleteResultSchema,X0 as VectorFilterSchema,s2 as VectorGetInputSchema,c2 as VectorGetResultSchema,Z0 as VectorItemSchema,Q0 as VectorMatchSchema,Y0 as VectorMetadataSchema,J0 as VectorMetricSchema,n2 as VectorQueryInputSchema,r2 as VectorQueryResultSchema,u2 as VectorStatsInputSchema,d2 as VectorStatsResultSchema,e2 as VectorUpsertInputSchema,t2 as VectorUpsertResultSchema,BZe as VendorLoginProxy,p2 as VibrationStatusSchema,ku as VideoEncodeSchema,Rh as ViewerDeviceAllowSchema,Lh as ViewerFeatureIdSchema,zh as ViewerTokenScopeSchema,Ia as VocabActionError,B_ as WAIT_MAX_SECONDS,nv as WAIT_UNTIL_TIMEOUT_MAX_S,IOe as WEBRTC_CLIMB_HOLD_CODES,Poe as WEBRTC_EGRESS_PROFILE,LOe as WEBRTC_TRY_BLOCKERS,cAe as WEEKLY_MASK_LENGTH,rt as WELL_KNOWN_TABS,it as WELL_KNOWN_TAB_MAP,oke as WHEN_UNROLL_DEPTH,h2 as WaterHeaterStatusSchema,_2 as WeatherStatusSchema,C2 as WebrtcClimbHoldSchema,S2 as WebrtcLadderDecisionSchema,T2 as WebrtcSessionDebugSchema,x2 as WebrtcStreamChoiceSchema,b2 as WebrtcStreamTargetSchema,w2 as WebrtcTierFailureSchema,Yg as WeekdayKeySchema,QF as WhiteBalanceModeSchema,Px as WidgetHostEnum,GR as WidgetLoginMethodSchema,Lx as WidgetMetadataSchema,Ix as WidgetRemoteSchema,Fx as WidgetSizeEnum,QA as WrapperActivationReadSchema,WQ as WrapperEvidenceSchema,GQ as WrapperIdentitySchema,UQ as WrapperKindSchema,qW as YAMNET_TO_MACRO,JB as ZoneCrossingDirectionSchema,YB as ZoneCrossingSchema,TH as ZoneKindEnum,I2 as ZoneRuleModeEnum,L2 as ZoneRuleSchema,R2 as ZoneRuleStageEnum,ROe as ZoneRulesArraySchema,DH as ZoneSchema,O2 as ZoneScopeBreakdownSchema,hne as __resetDebugInterestForTests,kce as __resetLogChannelRegistryForTests,Q7 as acceleratorKindOf,vx as accessoriesCapability,PPe as accessoryChildrenComplete,NPe as accessoryChildrenUnknown,kPe as accessoryStableId,Fa as actionEffect,yx as actionSourceCapability,uge as actionWaitTotalMs,Cx as actionsCapability,dGe as activateAlarmProfile,$_e as activeForReducer,Pje as actuatorMethodRow,$3 as actuatorSwitchDrivesRunning,Q3 as actuatorSwitchRead,tAe as addonCatalogHref,gb as addonIdOfActionId,Tx as addonPagesCapability,zne as addonPagesSourceCapability,Ex as addonRoutesCapability,Nx as addonSettingsCapability,Bx as addonWidgetsCapability,Rx as addonWidgetsSourceCapability,pS as addonsCapability,Hne as adminUiCapability,ude as advertisedHubOrigins,Hqe as aggregateThroughputFactor,hS as airQualitySensorCapability,LWe as alarmDeviceBlocksArming,RWe as alarmDeviceSecureOnArm,yS as alarmPanelCapability,nGe as alarmPatchLanded,pGe as alarmProfileById,TGe as alertEpisodeId,DGe as alertEpisodeKind,kGe as alertEpisodePayload,EGe as alertNodeId,wS as alertsCapability,cze as allHeroLooks,Na as allVocabActions,yle as allowedSuppliedEffect,ES as ambientLightSensorCapability,N3 as annotateClipsWithEventLabels,_xe as anyAxisOscillating,Bg as anySubjectMatches,Eue as appFlowLocation,rme as appendTrace,gBe as applianceExport,XWe as applyBlockingEdit,dYe as applyCropClassFloors,JWe as applyModeDelaysEdits,v7 as applyModeDeviceListEdit,fqe as applyModelBoundSettings,YWe as applyNonBlockingEdit,m8 as applyPrimaryChildPreference,h8 as applyPrimaryChildRule,ZWe as applySecureOnArmEdit,uO as arithmeticDraft,WQe as armRemovalReconcile,sn as arrayItemFieldPath,Are as asBoolean,Dre as asJsonArray,eo as asJsonObject,kre as asNumber,Yt as asRecordsError,Ore as asString,Lne as assertDeviceOffers,s$e as assertInstanceUnused,Xhe as assertOwnExportInstance,Nhe as assertStepsOffered,ZKe as assertTimelapseCadences,ci as assertTransactScope,Wr as assertValidDeclaration,Aae as assignNodeColorId,nUe as attachmentKindsOf,DS as audioAnalysisCapability,VS as audioAnalyzerCapability,Ee as audioChunkBytesPerSample,JS as audioCodecCapability,yHe as audioIsFailClosed,L5 as audioKindId,xHe as audioLabelChoices,$S as audioMetricsCapability,vHe as audioModeOf,_He as audioOrDefaults,ho as audioPlanFromEncodeProfile,rHe as audioScaleEraOf,_re as auditedFields,tC as authProviderCapability,Qse as autoAssignProfiles,rC as automationControlCapability,wC as backupCapability,F9 as bareAddonId,Eb as baseUnitForQuantity,zi as baseUnitOf,DC as batteryCapability,jXe as bestLocationMatch,kC as binaryCapability,yQe as bindAddonActions,MC as boardKeySourceCapability,PC as brightnessCapability,VC as brokerCapability,S$e as brokerLinkPortsOver,vVe as bucketStartOf,Oy as buildActionSteps,toe as buildAddonRouteProvider,lo as buildAudioArgs,MJe as buildBenchStepTree,jO as buildCapabilityLookup,$ke as buildDeviceAdminUrl,Lue as buildDeviceEnrollmentLink,Iue as buildDeviceSignatureMessage,yke as buildDraftJsonSchema,ike as buildDraftPrompt,iAe as buildEventKindDescriptor,Kre as buildFfmpegArgs,xze as buildHeroModel,oo as buildInputArgs,h$e as buildLinkedInstances,ole as buildModelVariantGroups,oG as buildNcTaxonomy,Tu as buildNotificationTargetInstances,e8 as buildPlusCatalogClassMap,HBe as buildPowerSwitch,ake as buildRepairPrompt,tXe as buildRoleScopes,cn as buildSecretRef,Vl as buildSessionLostAlert,fy as buildStepArgsTrace,xAe as buildStreamParamsConfigSchema,hWe as buildSubjectPath,cme as buildTriggerTrace,woe as buildUserScopedNotificationTargetInstances,co as buildVideoArgs,jSe as buildViewerLink,Oke as buildVocabularySlice,VO as builtCapabilityBlockers,BAe as builtinRemoteComponent,HM as bundledCamstack,HC as buttonCapability,YC as calendarEventLocalSpan,Kge as calendarEventOnLocalDay,g$e as calendarRecordId,qC as calendarSourceCapability,tw as calendarsCapability,iw as cameraCredentialsCapability,lw as cameraGridLayoutCapability,$Ke as cameraOwnsMotionViaSensor,uw as cameraPipelineConfigCapability,Wce as cameraScopedStepSettings,Rz as cameraSensorRefKey,Fw as cameraStreamsCapability,hl as canConvertUnit,Vu as canonicalEgressPlan,bde as canonicalIconKey,Ld as canonicalJson,Dae as canonicalStoredBlockTarget,xo as canonicalStoredDeviceType,zde as canonicalStoredStepTargets,fue as canonicalizeAppCallback,sie as capAppliesToDeviceKind,kb as capUnitResolver,Kle as capabilityScopesOf,cJe as capacityForModel,$7 as capacitySessionsOf,Lw as carbonMonoxideCapability,wy as carriesDeviceTemplate,Nd as catalogueIssues,tQe as cellsToRects,Rye as checkDeviceAlias,fx as checkExposedName,lR as checkRoleAddress,COe as checkTemplatePayload,nf as claimDevicesMigration,ef as claimDevicesPortsOver,$d as claimDevicesToDefaultIntegration,lde as claimedRequestOrigins,Dle as classifyBearerPrincipal,gJe as classifyCamerasForBenchmark,g6 as classifyFieldSource,Pqe as classifyInferenceHardware,Nse as classifyRetrainReview,nt as classifySecretWrite,_r as classifyStoreError,qse as classifyStream,Wf as classifyStreams,Mte as clearKnownSecrets,gqe as clearModelBoundOverrides,mqe as clearModelBoundSetting,Bw as climateControlCapability,Co as climateRoleOf,Oje as clipEventLabelDepsFromApi,TDe as clipExportFailure,EDe as clipExportFailureOf,A3 as clipLabelsForWindow,_De as clipReasonHeaderValue,w7 as cloneAlarmSettings,Bie as cloneStatefulExpressionMemory,uB as clusterModelSettingKey,VCe as clusterStepSettingFieldsFor,vB as clusterStepSettingKey,Zw as clusterUpdateCapability,Pu as codecIsAccepted,vme as collectDeviceTemplates,ot as collectHydratedFieldEntries,ct as collectHydratedFieldValues,nee as collectKeychainStoredKeys,jme as collectMirrorSources,_qe as collectModelBoundKeys,qXe as collectOwnerIntegrationIds,ze as collectSecretConfigKeys,En as collectSecretLeaves,Gn as collectSecretMarkerRefs,Fy as collectWhenMirrorSources,Ir as collectZodSecretPaths,nT as colorCapability,bTe as colorForKind,gre as commandEffect,xD as commandMethodProblems,ere as commandOrigin,Ey as commandStepMeta,hD as commandedMethods,YZe as commitWatchdogRestart,qOe as compareDraft,Mu as compareToTarget,Pl as compareVersions,Nie as compileExpression,is as compileExpressionSafe,mO as compileHelper,U6 as compileKeyedArrayOverride,v6 as compilePulseOverride,U3 as compileScalarOverride,GMe as compileSpanOverride,Gl as composeInstanceKinds,use as composeSwitchedOff,tl as composedDeviceRef,el as composedDeviceStableId,NT as composerCapability,yO as compositionEdges,Gc as compositionFeatureEnabled,yT as compositionFieldKey,_Pe as compositionFillStatus,rl as compositionItemFieldPath,$c as compositionReadKey,Qc as compositionSliceKey,Zc as compositionSourceKey,sye as compositionSourceRefs,X2 as compositionTargetCaps,cye as compositionUnionReads,pJe as computeCapacityShares,hY as computeScores,IUe as conditionExclusionReason,FUe as conditionVisibleForKind,FT as connectivityCapability,r_e as consumableFormOf,zT as consumableKindOf,OTe as consumableLowPercentOf,WT as consumablesCapability,KT as contactCapability,_F as contactMeasurement,Sle as containingParentIndex,YT as controlCapability,Mfe as conventionalEventVocabulary,R_ as convertLegacyCondition,bv as convertLegacyRecipe,z_ as convertLegacyWhen,NMe as convertPresetFeature,Fg as convertQuantityInput,jae as convertUnit,UMe as convertUnitTargets,X9 as coralUsableUnits,Eye as coreBlockAddonId,jye as coreBlockComposition,Dye as coreBlockIdFromAddonId,Aye as coreBlockSourceKind,xk as coreBlocksCapability,HXe as cosineSimilarity,ZJe as countRecoverySkips,w_ as countWhenLeaves,wk as coverCapability,cGe as createAlarmProfile,gne as createDebugEmitter,Mje as createDeviceExtensionProvider,Za as createDeviceProxy,Rn as createDurableState,ft as createEvent,vre as createEventBusSliceSource,as as createExpressionScope,Woe as createHwAccelCache,qa as createLazyTrpcSource,jce as createLogChannelsProvider,Ja as createMirrorSource,fi as createRecordsAccess,IBe as createRuntimeStateBridge,ai as createSecretsAccess,P as createSliceHandle,zie as createStatefulExpressionMemory,QVe as createSystemProxy,rre as customAction,yE as customKeyOfRole,kk as customModelRegistryCapability,vE as customRole,jk as dataStoreProviderCapability,dC as databaseSnapshotCapability,Lk as dayNightCapability,_Ae as dayOfWeekToIndex,qPe as declarationOwnerNodeId,Jr as declarationsOf,f$e as declareLinkKind,Oce as declareLogChannel,BD as declaredSeriesKind,aPe as decodeCompositionToCards,K6 as decodeKeyedArrayOverride,$T as decodePronto,T6 as decodePulseOverride,F6 as decodeScalarOverride,aE as decodeTuya,mQe as decodeVectorBase64,Rk as decoderCapability,GUe as defaultDeliveryForSection,LQe as defaultDeviceFor,Tse as defaultIntegrationApiOver,Ot as defaultIntegrationDepsOver,tf as defaultIntegrationMigrationIds,wse as defaultIntegrationMigrations,LXe as defaultIntegrationName,Zd as defaultIntegrationOf,Sse as defaultIntegrationPortsOver,q3 as defaultThresholdSamples,ht as defineAddonMigrations,nre as defineCustomActions,Xr as defineEntryKind,jje as defineExtensionSlotProvider,_u as defineNotificationTargetKind,qr as defineRecordKinds,dt as dehydrateConfigField,oee as dehydrateSchema,uGe as deleteAlarmProfile,eUe as deliverableFields,$He as deliveryParamsDeclaredBy,WD as derivativeDraft,sve as derivativeUnitLabel,BPe as deriveBatteryPresence,cse as deriveCameraSwitches,MYe as deriveDetailCropRect,nBe as deriveFeatureProvenance,ph as deriveMaskSupplies,oLe as deriveMediaPlayerView,m7 as derivePostTriggeredAction,cce as deriveRecordingMode,CYe as deriveRootFaceRefineRect,dh as deriveRootSupplies,_ye as describeComposableCaps,are as describeCustomActions,tpe as describeHold,d_ as describeHoldMs,cle as describeModelVariant,vAe as describeOnboardClamp,lAe as describeOnboardRefusal,wle as describeRootSupplies,gh as describeRootSupply,iT as describeStateField,Cfe as describeSubject,aKe as describeSystemEventDeliveryProblem,yUe as describeSystemEventFamilyProblem,aT as describeTopLevelStateFields,eoe as describeUnmet,rXe as detectAccessRole,mhe as detectionClassMatches,zk as detectionPipelineCapability,Hk as deviceAdminLinkCapability,nA as deviceAdoptionCapability,OGe as deviceAttentionKind,sQe as deviceBackendToFormat,aA as deviceCredentialsCapability,ire as deviceCustomAction,ux as deviceExportCapability,Yb as deviceExportStatusInstanceOf,Yb as statusInstanceOf,Tj as deviceExtensionCapability,zj as deviceHistoryCapability,wBe as deviceIconKey,oj as deviceManagerCapability,Yze as deviceMatchesProfile,qne as deviceOpsCapability,zA as deviceProviderCapability,Uue as deviceRefusalFromMessage,Uj as deviceRemovalHookCapability,CBe as deviceRoleIconKey,$j as deviceRunsCapability,j9 as deviceSelectorMatches,iM as deviceStateCapability,oM as deviceStatusCapability,uM as deviceTransitionsCapability,SBe as deviceTypeIconKey,Dqe as diffStepSettings,pie as disarmRoseMemory,xM as dishwasherCapability,YM as displayPaletteCapability,Bi as displayUnitFor,ZM as doNotDisturbCapability,k3 as dominantClipLabels,tN as doorbellCapability,LUe as droppedConditionsForKind,kQe as edgetpuDelegateDevice,xqe as effectiveStepSettings,Xoe as egressTranscodeSharingKey,zu as egressTransportFromRequest,tJe as electByShare,aJe as electByShareWithAffinity,mJe as eligibleUnderBenchmark,mN as embeddingEncoderCapability,rxe as embeddingModelFailedError,pN as embeddingModelFailedOf,fN as embeddingRefusalOf,axe as embeddingRequirementsFailedError,ixe as embeddingRequirementsUnavailableError,yne as emitDownForOwnedCaps,pt as emitReadiness,Rke as emitsCollectionSelector,yF as emptyMeasurement,fPe as encodeCardsToComposition,r3 as encodeFlipperParsed,joe as encodeProfileFromStreamShape,QQe as encodeSamsung,iE as encodeTuya,pQe as encodeVectorBase64,aGe as ensureAlarmProfiles,Yr as entryBody,gN as enumSensorCapability,VQe as enumerateInferenceDevices,tfe as enumerateItemArrayFields,Og as enumerateSchemaFields,xe as errMsg,xJe as estimateNodeBenchmarkDurationMs,z3 as evaluateAggregate,ds as evaluateAst,xMe as evaluateCompositionField,Bme as evaluateConditionTree,Wo as evaluateCount,$ie as evaluateDerivative,hs as evaluateExpressionSource,JZe as evaluatePoolMemory,Vo as evaluateRose,lie as evaluateSensorEdge,No as evaluateSensorLevelEdge,fs as evaluateStatefulExpressionCall,yhe as evaluateStationaryTrigger,Jie as evaluateStatistic,Phe as evaluateStepCondition,Ky as evaluateWhenTree,gQe as evaluateZoneRules,Mr as event,nb as eventEmitterCapability,EKe as eventKindLabel,O_ as eventLeafIdAt,O3 as eventOverlapsClipWindow,Nfe as eventTypesOfVocabulary,mm as evictionPolicyForMode,bce as evictionPolicyOfLocation,De as expandAudioChunkToF32le,Ar as expandCapMethods,b8 as expandContainer,V7 as expandSystemEventClasses,ADe as exportSubjectOf,ZPe as exposeBlockDevices,mx as exposedNamePatch,nge as exposedNameStoreOf,$E as expressionContainsBuiltinCall,dO as expressionDraft,P3 as extensionSlotRef,Uke as extractNestedAddonId,ife as extractSourceInfoFromMetadata,yN as faceGalleryCapability,SN as failureContributionCapability,Fce as failureRate,FN as fanAxisPath,VN as fanControlCapability,nve as fanOutTargets,tP as fanPresetsCapability,il as featureFieldEntries,pD as featureForwards,Vh as featureOfRole,rP as featureProbeCapability,al as featureSources,Se as featuresOfBoundCaps,DMe as feederCustomizationExample,EMe as feederExampleSources,Lu as ffmpegRate,_6 as fieldEntryToSource,nl as fieldReads,aUe as fieldSupportForTargets,Y7 as fieldUnitKeys,l$e as fieldUserFinder,Oqe as fieldsPinnedAtValueBelow,iP as filesystemBrowseCapability,jAe as fillWidthScale,bO as findCandidateCycles,jE as findChannelSource,Fve as findCompositionCycles,Fe as findMigrationsBlocked,Dce as findTimezone,Pa as findVocabAction,Ug as findVocabularyEntry,ib as firedDataVars,hse as flattenNestedRecords,gse as flattenPortsOver,QAe as flipperIrDraft,i3 as flipperIrTable,a3 as flipperRole,oP as floodCapability,Lce as foldSnapshotByFunction,e6 as followSwitchRunningFeature,T_ as forEachLeaf,Tr as forbiddenError,lJe as foreignCapacityCells,ii as forgetKnownSecret,tde as formatDeviceRevoker,uQe as formatForRuntime,Yae as formatMediaOwnerKey,k4 as formatMinutes,WM as formatPaletteViolations,Qce as formatParkedFor,TXe as formatReading,on as formatSecretScope,mPe as formulaProblem,bD as forwardProblems,SD as forwardSourceProblems,mD as forwardSourceRefs,ige as freeTextNameValidator,u9 as freshResults,nYe as fuseRecoveredDetections,cP as gasCapability,BXe as gatewayDeviceName,Tce as gbToBytes,uhe as generateAutomationBlock,Lye as generateDeviceAlias,gTe as getAudioMacroClassIds,EBe as getByPath,dVe as getCapsByProviderKind,la as getDebugInterest,Im as getLogChannelRegistry,nG as getTaxonomyEntry,Koe as gifDeriveSpeed,Ru as gifFilterComplex,qoe as gifFromMp4Args,tn as globalSecretScope,$2 as grammarFor,M9 as grantRowsOf,uP as groupActiveCapability,pP as groupCommandsCapability,hP as groupStatusCapability,AD as groupTemplate,XUe as groupWithinSecOf,u$e as guardInstanceDelete,E_ as hasEventLeaves,qy as hasHoldLeaves,hqe as hasModelBoundOverrides,rFe as hasMotionTrigger,pQ as hasOwnRunningPowerDefaults,Iy as hasTimeLeaves,k_ as hasTriggeredByLeaves,mue as hasUrlScheme,bP as heatPumpControlCapability,jP as heatPumpInstantCop,MP as heatPumpStatusCapability,PP as heatingValveCapability,Sae as helperMembers,_O as helperSaveProblems,Uxe as heroArgsWithValue,WF as heroLayoutCapability,M as heroText,Ere as hfModelUrl,MD as historyFieldsFor,fte as historyItemFieldPath,rae as historyRetentionFromSettings,ine as historyUnitFor,u_ as holdOf,Vv as holdRefusalOf,_me as holdVarSlots,U5 as htmlToText,USe as hubAddressHostname,rqe as hubMotionNativeProvider,KF as humidifierCapability,hF as humidityMeasurement,JF as humiditySensorCapability,lt as hydrateSchema,Nde as iconCategoryLabel,Cde as iconEntry,Ode as iconsInCategory,D_ as identifiedEventLeaves,XF as imageCapability,u7 as imageModesForKind,aI as imageSettingsCapability,Oae as implementedMethodsOf,eD as inferExpressionKinds,Tle as inferModelProvider,OXe as ingestReading,Y9 as initialPoolMemoryState,LAe as insertComponent,Aoe as instanceApiOverTargets,fu as instanceSourceOverApi,du as instancesOfCap,JGe as instantKindsOf,pae as integralCadenceMs,GD as integralDraft,Yie as integrateReading,Jd as integrationBodyFromRows,wI as integrationInstancesCapability,St as integrationRowsApiOver,yse as integrationRowsMigration,bse as integrationRowsPortsOver,qd as integrationRowsPortsOverApi,Yd as integrationRowsToRecordId,pI as integrationsCapability,DI as intercomCapability,Ohe as internalActionId,jKe as interpolate,fB as interpretStoredClusterModel,pB as invalidClusterStepModelEntries,kMe as invertPresetFeature,Jre as invocationFromEncodeProfile,AE as irSourceProblem,FI as irTransmitterCapability,ooe as isAddonInstanceId,tse as isAgentOnlyPlacement,wo as isAirConditioner,AWe as isAlarmControllableCap,CGe as isAlertEpisodeOpen,wGe as isAlertEpisodeSeverity,QL as isAppLinkBase,wue as isAppStartRefusal,v4 as isArrayOutputSchema,Te as isAudioChunkFormat,MHe as isAudioClassName,SHe as isAudioLabelSelected,s7 as isAudioRule,gJ as isAutomaticShareSource,IHe as isBaseConditionKey,VPe as isBatteryPresenceFault,FCe as isClusterScopedStep,Vke as isCollectionArrayMethod,hre as isCommand,Zle as isCredentialTokenPayload,oa as isDebugChannelName,C7 as isDefaultAlarmProfileId,hR as isDefaultAppConnectionEndpoint,Vue as isDefinitiveDeviceRefusal,ese as isDeployableToAgent,ffe as isDetectionMacroClass,gte as isDeviceConfigCap,wre as isDeviceScopedCap,wze as isDoPickerDeviceType,gWe as isDrawableSubjectPath,sxe as isEmbeddingModelFailed,see as isEvent,TKe as isEventKindLabelKey,x_ as isEventLeaf,Zae as isEventOwnerType,rce as isFirstLevelMacroClass,Fc as isForwardInputRef,IGe as isHeldBackTemplateVar,xae as isHistoryHelper,JSe as isHubId,bg as isIconKey,jn as isInstanceEnabled,hb as isInternalActionId,ase as isIsolatedBuiltin,iBe as isKernelDerivedFeature,Re as isKeychainStoredField,UGe as isKnownTemplateVar,$g as isKnownTimeZone,ih as isLabelSupplyStepId,S_ as isLeaf,wce as isLocationEnabled,El as isMediaOwnerType,Wm as isModelScopedStepSettingKey,S8 as isNode,jxe as isNotReported,XXe as isOauthLandingReason,Bke as isObjectInput,c7 as isOccupancyRule,iie as isOutlet,ye as isOwnerOnlyEventCategory,hBe as isPlugApplianceType,QIe as isPositionTicking,Pg as isQuantityValue,Li as isReadingQuantity,_E as isRemoteCustomKey,gE as isRemoteKnownRole,bE as isRemoteRole,mE as isRemoteWidgetRole,lqe as isRemovedModelId,cA as isReservedDeviceAlias,hVe as isRestoredCap,UTe as isRetiredClearKey,G5 as isRootRelativeUrl,ule as isRootSuppliableStepId,dMe as isRunningOptOut,NXe as isSameAddonId,oWe as isScheduleActive,nKe as isScheduleOnlySystemRule,$e as isSecretClear,Le as isSecretConfigField,et as isSecretFieldView,Ze as isSecretMarker,Qe as isSecretMarkerLike,fee as isSecretRef,qn as isSecretRefOwnedBy,NSe as isSingleHubAddressRole,sy as isSkippedTrace,ao as isSoftwareDecode,ko as isSourceCap,bKe as isStateLabelKey,Fo as isStatefulBuiltin,_m as isStorageLocationMode,aie as isSwitchFan,oie as isSwitchHeater,To as isSwitchLight,r7 as isSystemDelivery,fUe as isSystemEventFamily,B7 as isSystemEventRecoveryKind,tKe as isSystemEventSummaryRule,Z5 as isSystemRuleKind,SOe as isTemplateKind,Q6 as isUnfilledRequiredProblem,xQe as isUsableTimeZone,FOe as isVectorIndexDimConflict,zke as isVoidInput,Fr as isZodSecret,nHe as ituDbfsFromPreEpoch,Vx as jobKindSchema,jy as judgeTimeWindow,b4 as kebabToCamel,$I as keychainAdminCapability,HI as keychainCapability,JE as kindOfValue,OUe as kindsForDiscriminator,jte as knownSecretCount,NHe as knownValues,rL as lawnMowerControlCapability,Uhe as leafCatalogEntry,Ghe as leafKindsFor,GPe as legacyAutoLinkIds,ZUe as legacyImageMode,hm as legacyModeOf,Du as legacyTargetsOver,Jx as lifecycleJobSchema,qx as lifecycleJobScopeSchema,Kx as lifecycleJobStateSchema,Gx as lifecycleTaskSchema,Xt as linkField,d$e as linkFieldDescriptor,m$e as linkUserFinder,$9 as linkedId,p$e as linkedIdOf,ple as linkedLabelStepId,mle as linkedStepOf,Qt as linksOfKind,jJe as listBenchDetailSteps,Ou as listNotificationTargets,GL as llmCapability,EL as llmRuntimeCapability,YL as loadContributionCapability,e_ as localDateOf,AR as localNetworkCapability,W7 as localizeConfigTree,Tg as locationIconKey,AXe as locationSimilarity,NR as lockControlCapability,OMe as lockDoorLinkOfComposition,io as logBannerArgs,FR as logChannelsCapability,HR as logDestinationCapability,ece as logLevelAtMost,JR as loginMethodCapability,Hke as looseSchema,ene as makeInMemoryRecords,cne as makeProfileBrokerId,Xe as makeSecretMarker,lne as makeSourceBrokerId,hTe as mapAudioLabelToMacro,Tn as mapSecretLeaves,X6 as markFieldEdited,HHe as markdownToHtmlLite,LHe as markdownToText,to as maskUrlCredentials,Xs as maxDurationMs,yce as mayReadLocation,vm as mayWriteToLocation,DJe as measuredCapacityFromResults,TJe as measuredDetectorCells,bF as measurementFitsRole,zE as mediaPlayerCapability,V_e as mediaPlayerExtensionCommands,kAe as mediaPlayerFeaturesOfRoles,Zoe as memoizePinnedFfmpeg,j3 as mergeClipLabels,CNe as mergeKeyedArrayItem,JM as mergeOverrides,aNe as mergeScalarTarget,ur as mergeSecretStatePaths,Z7 as mergeSettingsBags,uy as mergeSkipTraces,rfe as mergeSourceInfo,ZR as meshNetworkCapability,$R as meterCapability,O as method,Ph as methodAccessForHttpMethod,Lje as methodRefusal,Bh as methodRoleOf,oz as metricsProviderCapability,pce as migrateLegacyDeviceSignalConfig,pr as migrationSet,kz as migrationsCapability,Ml as minimumOf,gAe as minutesToTimeOfDay,Cce as modeForSwitch,pm as modeMayRead,fm as modeMayWrite,K7 as modelBindingKey,jz as modelConvertCapability,Pz as modelDistributorCapability,RQe as modelFormatForRuntime,Uce as modelScopedStepSettingKeys,LU as motionCapability,Qz as motionDetectionCapability,Gwe as motionSourceLabel,BU as motionTriggerCapability,GU as motionZonesCapability,x$e as moveBrokerLinksToConnections,v$e as moveCalendarIdsToRecords,RAe as moveGroup,Kd as moveIntegrationRowsToRecords,Fn as moveRegistrySwitchToBody,Eoe as moveTargetRows,QU as mqttBrokerCapability,RXe as mqttBrokerIntegrationName,oW as nativeObjectDetectionCapability,_W as navigationCapability,iGe as ncAlarmSystemDefaultSettings,tWe as ncMediaPolicyError,wv as nestedStepsOf,bW as networkAccessCapability,wW as networkLinkCapability,OW as networkQualityCapability,dae as nextLocalMidnight,Yfe as nextOccurrence,Ame as nextTimeBoundaryInMs,SJe as nodeBenchmarkRefusals,MW as nodeCertificatesCapability,Eee as nodeIdOfScopedKey,dKe as nodePickerItems,Qne as nodePin,FW as nodeRemovalHookCapability,GW as nodesCapability,Fb as normalizeActionUnits,br as normalizeAddonInitResult,I5 as normalizeAudioLabel,Pb as normalizeConditionUnits,kye as normalizeCoreBlockWrite,eWe as normalizeNcMediaPolicy,zn as normalizeNodeId,OO as normalizeOffSeconds,_g as normalizeOrigin,Ib as normalizeRecipeUnits,nn as normalizeSecretOwner,fXe as normalizeTokenScopes,Ag as normalizeUnit,m9 as normalizedArea,uu as notificationOutputCapability,cq as notificationRulesCapability,hu as notificationTargetKindName,voe as notificationTargetKindOf,xoe as notificationTargetKinds,Su as notificationTargetParts,uq as notifierCapability,fq as numericSensorCapability,mq as oauthIntegrationCapability,ZXe as oauthLandingUrl,Rl as oauthLinkInstanceId,soe as oauthLinkServesInstance,Wke as objectInputDeclaresAddonId,Gke as objectInputDeclaresRequiredDeviceId,zme as observeHoldLeaves,vwe as occupancyScope,i_ as occurrenceOn,Be as omitTransientConfig,uae as openReset,lae as openStatistic,sT as optionalAncestors,Zt as optionalLinkField,k as optionalMethod,Md as orderMigrations,bq as osdCapability,kq as osdManagerCapability,WCe as overlayClusterStepSettings,P6 as ownedSlice,hKe as packagePickerItems,qM as paintHex,a8 as paletteEntryLabel,Zbe as paletteFromInput,$be as paletteFromStored,DPe as paletteLegend,IM as paletteResultSchema,PM as paletteSwatchSchema,afe as paramMeta,cfe as paramMetaOf,zEe as parseAcceleratorFactsJson,eAe as parseAdminBase,SGe as parseAlertEpisodePayload,pue as parseAppAuthCallback,Tue as parseAppFlowRequest,gue as parseAppPageLang,Zse as parseCameraStreamConfig,Zge as parseColorInput,Yle as parseCredentialScopes,Rue as parseDeviceEnrollmentLink,ts as parseExpression,KAe as parseFlipperIr,Mre as parseJsonArray,jre as parseJsonObject,$a as parseJsonUnknown,Jae as parseMediaOwnerKey,QXe as parseOauthLandingFragment,ywe as parseOccupancyScope,UZe as parseProcStatus,une as parseProfileBrokerId,Ise as parseRetrainRevisionConflict,zUe as parseRuleSection,bn as parseSecretPath,ln as parseSecretRef,cr as parseSecretStatePath,yEe as parseSessionPlacementPolicy,SEe as parseShareSource,a$e as parseSmartIr,Gae as parseSmtpSinceKey,SAe as parseStreamParamsFormPatch,Dse as parseTrainingEventLine,bHe as patchAudio,Nq as petFeederCapability,Iq as petFountainCapability,RMe as petFountainFromEntitiesComposition,mEe as petFountainWaterItem,aFe as pickAccessoryControl,kSe as pickAppLinkHub,LCe as pickClusterStepModels,UCe as pickClusterStepSettings,kYe as pickDetailCropConvention,BYe as pickFaceRescoreIntervalMinutes,RCe as pickInvalidClusterStepModels,$Ye as pickNativeLeaseOverride,Vce as pickPreferredRtspEntry,dde as pickRequestOrigin,ZZe as pickRestartCandidate,mo as pickVideoEncoder,kHe as pickerForCondition,jHe as pickerForRuleClasses,hJe as pinUnderBenchmark,dH as pipelineAnalyticsCapability,SH as pipelineExecutorCapability,tY as pipelineOrchestratorCapability,NU as pipelineRunnerCapability,Hg as plainEventVocabulary,FO as planComposition,dT as planCompositionEvents,dD as planItems,_Ye as planMotionCropRegions,bYe as planMotionCrops,QJe as planRecoveryCrops,Qs as planResetTier,Zs as planStatisticTier,iY as plateGalleryCapability,DY as platformProbeCapability,SPe as plusCatalogDefaultClassFloors,xPe as plusCatalogLabelFields,KZe as poolMemoryThreshold,gF as powerMeasurement,jY as powerMeterCapability,LBe as powerOnFromSlice,VBe as powerServedBy,AO as powerSourceActuatorConflicts,DO as powerSourceCapability,Uve as powerSourceLinkOfComposition,pse as preconditionOf,zXe as prefilledIntegrationName,JHe as prepareNotification,Rb as prepareRecipeUnits,NY as presenceCapability,VM as presetById,FY as pressureSensorCapability,gPe as primaryCapForRole,p8 as primaryChildPreferenceOf,Ole as principalMayReachAddon,iUe as priorityLevelsOf,VY as privacyMaskCapability,xu as probeToTestResult,vPe as problemsBlockSave,qke as procedureAuthKey,wQe as processTimeZoneOr,hSe as projectDeviceRow,KVe as projectKeyedArrayAssignment,zVe as projectPulseAssignment,OVe as projectScalarAssignment,BVe as projectSpanAssignment,bWe as projectSubjectPath,XIe as projectedPositionMs,bje as proposeRunningThreshold,aqe as providerMotionEvent,Yhe as pruneDeletedEntities,rge as pruneExposedNames,tX as ptzAutotrackCapability,XY as ptzCapability,YHe as publicEndpointReaderFrom,be as publicEventCategories,aX as pumpCycleCapability,dQe as pythonScriptForBackend,DXe as quantityFromUnit,Noe as rankStreams,mB as readClusterStepModels,yB as readClusterStepSettings,tre as readCommandOrigin,DYe as readDetailCropConvention,CPe as readDeviceStateFrom,lte as readErrorI18n,Pfe as readEventVocabulary,ege as readExposedName,px as readExposedNames,zYe as readFaceRescoreIntervalMinutes,nqe as readHubMotionDetected,tqe as readHubMotionStatus,G6 as readKeyedArrayItems,kCe as readMotionTriggeredBy,XYe as readNativeLeaseOverride,$ne as readNodePin,aYe as readRecoveryRecipe,oYe as readRecoveryRecipeForSteps,IDe as readStoredRemoteConfig,QKe as readTimelapseGeneratedAt,hh as readUseRootModel,da as readinessKey,A as readingMeta,oX as rebootCapability,Ov as recipeSiteIssues,Yqe as recommendNode,XPe as reconcileBlockDevices,UQe as reconcileRemovedDevices,oBe as reconcileReportedFeatures,yee as recordArrayItemPath,uX as recordEntriesCapability,Dn as recordSecretCollection,On as recordSecretRef,IX as recordingArchiveCapability,bX as recordingCapability,fZ as recordingExportCapability,TZ as recordingOnboardCapability,OZ as recordingSignalCapability,bz as recordsCapability,Jt as recordsErrorFromMessage,xt as recordsOverMigrationApi,WZ as rectContains,UZ as rectsOverlap,eQe as rectsToCells,Bce as reducePoints,RD as reducerForActive,ri as registerKnownSecret,UBe as registerPowerSwitch,Ln as registrySwitchPortsOver,Pn as registrySwitchToBodyId,In as registrySwitchToBodyMigration,$Je as remapCropDetections,rQ as remoteCapability,cQ as remoteLayoutComponentsCapability,TAe as remoteRoleIcon,DAe as remoteRoleLabel,EAe as remoteRoleLegend,kE as remoteSourceSteps,V4 as removeGroup,oNe as removeScalarTarget,lGe as renameAlarmProfile,p5 as renderVocabPhrase,ume as repeatCheck,IO as replacedFieldKeys,Eje as replayDwellIntervals,vY as reportIsScalable,cde as requestMountPrefix,oT as requiredTopLevelKeys,fQe as requiresPython,yAe as reservedSourceOwner,XZe as resetPoolBaseline,Dhe as resolveActionVariables,Ku as resolveAddonExecution,nse as resolveAddonGroup,ise as resolveAddonPlacement,_R as resolveAppConnections,XHe as resolveAttachmentUrls,zce as resolveBucketMs,Er as resolveCapMount,lle as resolveClipSearchMinScore,zCe as resolveClusterStepModelId,WPe as resolveContainerPrimaryChild,lk as resolveCoreBlockEntry,Oye as resolveCoreBlockFiles,kDe as resolveCreateExportSubject,QHe as resolveDeliveryParams,tFe as resolveDeviceControlKind,Qze as resolveDeviceProfile,Dee as resolveDeviceSettings,xme as resolveDeviceTarget,sJe as resolveEffectiveShares,Goe as resolveEgressDecodeHwAccel,dZ as resolveExportProfiles,WHe as resolveFormat,uRe as resolveHeroLayout,sze as resolveHeroLook,EF as resolveHeroSceneId,HSe as resolveHubAddressRoles,iee as resolveHydratedFieldValue,xde as resolveIconKey,fR as resolveInternalAddress,bY as resolveLatencyColumn,gm as resolveLocationMode,Kke as resolveMethodAuth,jle as resolveMethodRole,WWe as resolveModeDelays,UWe as resolveModeNotifyPolicy,q7 as resolveModelBoundSetting,sFe as resolveMutate,$Ue as resolveNcMediaImage,mR as resolveNotificationTapAddress,uze as resolveOwnPower,HZe as resolvePoolMemoryPolicy,pR as resolvePublicEndpoint,lce as resolveRecordingProfiles,D_e as resolveRemoteSource,vle as resolveRootSupply,rse as resolveRunnerId,Jn as resolveSecretMarkers,Ite as resolveSecretViewsIn,_Oe as resolveServerName,by as resolveStepArgs,Ty as resolveStepArgsWithTemplates,so as resolveStreamMaps,Kye as resolveTemplateRef,sle as resolveVariantModelId,uXe as resolveViewableDeviceIds,Oee as resolvedValues,l9 as resultCellKey,wJe as resultStandings,Ooe as retiredTargetsOver,xf as retrainBoxIou,Fse as retrainRevisionConflictMessage,lZe as rewriteLoginProxyBody,oZe as rewriteLoginProxyLocation,H9 as rewriteLoginProxyReferer,uZe as rewriteLoginProxySetCookie,eXe as roleSpec,Ys as rollingDurationMs,TMe as roomCompositionExample,gle as rootSuppliesOf,ble as rootSupplyServes,Et as rowsDepsOver,NWe as ruleAutoTriggersAlarm,MWe as ruleBelongsToAlarm,kUe as ruleDeviceCompatCapNames,NUe as ruleDeviceCompatCapQueries,JUe as ruleEditorSectionsForKind,tne as ruleFireOfClaim,p7 as ruleGatedOnArmedState,PUe as ruleGroupingApplies,i7 as ruleKindOf,t7 as ruleKindSpec,BUe as ruleMatchesSection,RUe as ruleSection,VUe as ruleSectionOf,WUe as ruleSeedForSection,d7 as ruleTriggerZoneIds,vt as runAddonMigrations,qhe as runExportedAction,rve as runFanOut,Dy as runForDevices,rQe as runInferenceStep,_y as runSteps,mMe as runningFollowsSwitch,tje as runningFromDishwasherOperation,rje as runningFromLawnMower,ije as runningFromMediaPlayer,nje as runningFromVacuumState,uMe as runningOptOutFeature,mQ as runningPowerDefaultsFor,yQ as runningStateCapability,IQe as runtimeDevices,CVe as runtimeFieldUnit,pVe as runtimeStatePolicyFor,gO as sameHelperBody,zMe as sameRead,oUe as sanitizeTargetOverride,tge as saveExposedName,k6 as scalarTargetCount,PQ as sceneMonitorCapability,oKe as scheduleForSendTimes,IQ as schedulersCapability,ree as schemaDeclaresAnyField,cXe as scopeInherits,wu as scopeInstancesToCaller,fa as scopeKey,Fh as scopesAllowAddon,qle as scopesAllowAddonRoutes,Ele as scopesAllowDeviceCap,Jle as scopesAllowOwnPreferences,Gle as scopesGrantAdmin,zQe as scoreRuntimes,RQ as scriptRunnerCapability,Nte as scrubKnownSecrets,Mde as searchIcons,xn as secretArrayPrefixes,Toe as secretKeysOf,Xee as secretTreeFromPaths,sr as secretTreeFromSchema,kn as secretViewsOf,yt as secretsOverMigrationApi,zWe as secureActuationFor,KPe as seedInstanceOnce,Whe as seedLeaf,ZIe as seekPatch,gR as selectAppConnectionEndpoints,dne as selectAssignedProfileSlots,rke as selectFewShots,rYe as selectRecoveryStep,cKe as sendTimesForEditor,sKe as sendTimesOfSchedule,Jhe as sendToExportedTarget,gGe as sensorRaisedOf,bGe as sensorTransitionMeaning,IWe as sensorTransitionNeverFires,_Ge as sensorTransitionOffered,FGe as servedTemplateVars,i$ as serverManagementCapability,Bl as sessionLostAlertId,EJe as sessionsOfDeviceCell,DBe as setByPath,pPe as setFormulaExpr,LM as setPaletteInputSchema,X7 as settingValuesEqual,bqe as settingsBelow,Sd as settingsStoreCapability,aBe as settleDeviceFeatures,$h as shareViewGrantOf,Ije as sharedActuatorFeatures,Fje as sharedActuatorMethods,tve as sharedColorModes,eve as sharedLightCaps,n1 as shortHostname,ti as shortSecretRefHash,aTe as signalPercentFromBars,oTe as signalPercentFromRssi,Xfe as siteFor,qye as siteZoneKey,ly as skipSignature,Fre as sleep,Ire as sleepCancellable,Ao as sliceActiveValue,l4 as sliceCapOf,jo as sliceChangedAt,lA as slugifyDeviceAlias,K4 as smartIrDraft,o$ as smokeCapability,f$ as smtpProviderCapability,Uae as smtpSinceKey,m$ as snapshotCapability,J_e as sourcePickAcceptsDevice,PD as sourcePickForHistory,X_e as sourcePickForMath,Y_e as sourcePickForTemplate,MKe as splitTranslationRef,g9 as squareAround,g$ as ssoBridgeCapability,My as stableIdKey,kme as stableIdMapOf,hce as startMoverUnderClearance,MBe as startReachabilityPoll,xKe as stateLabel,wPe as stateVocabularyFor,fae as statisticCadenceMs,UD as statisticDraft,TWe as stepActuatesAlarmPanel,Cv as stepConditionsOf,Sv as stepGuardOf,Dv as stepGuardSiteIssues,sqe as stepModelRunsOnFormat,EWe as stepPullsAlarmTrigger,FVe as stepPulse,Sqe as stepSettingSource,IVe as stepSpan,C$ as storageAdminCapability,_$ as storageCapability,w$ as storageEvictableCapability,T$ as storageMigrationCapability,D$ as storageOccupancyCapability,z$ as storageProviderCapability,exe as storedFromReady,RM as storedPaletteSchema,Aw as streamBrokerCapability,V$ as streamCatalogCapability,J$ as streamParamsCapability,Uf as streamPixels,Kse as streamQualityLabel,Z$ as streamSignalsCapability,oce as stripRetiredBandPreBufferSec,ym as strippedOfLegacyReadOnly,bfe as subClassesOf,xTe as subKindsOf,zg as subjectFromClassName,f7 as subjectHasPath,wfe as subjectMatches,dWe as subjectPathSampleFromBox,xWe as subjectPathSvgPoints,rDe as summarisePrivacyAudio,gXe as summarizeEffectiveScope,Pse as summarizeReview,Kg as sunCrossings,Rfe as sunTimes,mh as supplyFor,FQe as supportedRuntimes,Gbe as swatchHex,$$ as switchCapability,bt as switchRecordsOverMigrationApi,Sce as switchStateOfMode,lse as switchedOffIds,fGe as syncActiveAlarmProfileSettings,nfe as synthesizeSourceInfo,N1 as systemCapability,GGe as systemEventClassKinds,z7 as systemEventClassOf,KGe as systemEventClassesFor,YGe as systemEventDeliveryAsModes,L7 as systemEventDeliveryModesOf,iKe as systemEventDeliveryProblems,X5 as systemEventFamilyOf,vUe as systemEventFamilyProblems,uUe as systemEventFilterApplies,dUe as systemEventFilterAppliesToAnyKind,_Ue as systemEventKindNamesOf,Y5 as systemEventKindsOfFamily,$Ge as systemEventSummaryScheduleOf,eKe as systemEventSummarySplitOf,xUe as systemFamilyOfKind,a7 as systemRuleKindOf,F1 as tamperCapability,rUe as targetAttachmentAllows,vu as targetBody,sNe as targetFeature,yu as targetOfRecord,koe as targetRowPortsOver,Wx as taskLogEntrySchema,Hx as taskPhaseSchema,Ux as taskTargetSchema,pF as temperatureBand,mF as temperatureMeasurement,L1 as temperatureSensorCapability,yA as templateCapKey,K1 as templateCapability,uKe as templateCarriesSummary,Dve as templateDeviceType,LGe as templateVarDeliveryApplies,BGe as templateVarKindApplies,VGe as templateVarSystemEventApplies,HGe as templateVarsFor,$1 as terminalSessionCapability,vF as textMeasurement,VHe as textToHtml,lO as thresholdDraft,vXe as thresholdToBase,yXe as thresholdToDisplay,hAe as timeOfDayToMinutes,XP as timedRunCapability,BP as timedRunLimitOf,HP as timedRunMaxIn,WP as timedRunQuickRun,VP as timedRunRemaining,kxe as timedRunSeconds,$L as toAppLinkHubOrigin,d8 as toDeviceSummary,ps as toExpressionValue,Va as toNodeId,c9 as toPercentShares,tt as toSecretFieldView,Jse as toStreamSourceEntry,dE as toTimings,t0 as toastCapability,CHe as toggleAudioLabel,es as tokenize,k0 as trainingCapability,p0 as trainingProviderCapability,GHe as transcodeBody,Bee as transformSecretWrite,Yy as triggerLeafVariables,Xme as triggerVariablesOf,j_ as triggeredByIssue,Mae as tryConvertDelta,ml as tryConvertUnit,j0 as turnProviderCapability,zfe as twilightTimes,zAe as ungroup,MMe as unitCompanionField,dl as unitDimension,gl as unitsForDimension,Db as unitsForQuantity,$ae as unmetRequirements,lbe as unreachableExtensionSlotRow,Dg as unwrapSchema,N0 as updateCapability,SQe as usableProcessTimeZone,cte as userError,z0 as userManagementCapability,V0 as userPasskeysCapability,W0 as vacuumControlCapability,LO as validateComposition,sR as validateCustomAddress,Lke as validateDraft,ms as validateExpressionSource,UM as validatePalette,Tv as validateRecipeBounds,Hv as validateSchedulerInput,a_ as validateTimeSpecForSite,F_ as validateWhenTree,q0 as valveCapability,hQe as vectorDimFromBase64,POe as vectorIndexDimConflictError,f2 as vectorStoreCapability,m2 as vibrationCapability,ZX as videoclipsCapability,Hh as viewerAdmitsDevice,Mle as viewerHoldsRole,OSe as viewerLinkBaseOf,A9 as viewerScopeOf,Zne as viewerUiCapability,Fne as vocabActionIdFor,La as vocabCall,Wze as vocabularyActionsForDevice,Jze as vocabularyTriggersForDevice,Lhe as waitTimedOutMessage,Ihe as waitUntil,g2 as waterHeaterCapability,_s as wattMillisecondsToKwh,v2 as weatherCapability,y2 as webrtcClientHintsSchema,E2 as webrtcSessionCapability,n_ as weekdayOfLocalDate,A4 as weeklyMaskIndex,fAe as weeklyMaskIsUniform,pAe as weeklyMaskToWindows,C_ as whenDepth,Ev as whenSiteIssues,QPe as widenDeviceConstructor,mAe as windowsToWeeklyMask,Wu as wiringAddonHealthSchema,Qoe as wiringHealthSnapshotSchema,Gu as wiringNodeHealthSchema,Hu as wiringProbeKindSchema,Uu as wiringProbeResultSchema,kje as withClipEventLabels,pMe as withDefaultRunning,Cqe as withFieldFrom,xce as withLocationMode,ZGe as withSystemEventClasses,XGe as withSystemEventModes,sre as withoutCallerStamp,wqe as withoutField,wNe as withoutKeyedArrayItem,pqe as writeModelBoundSetting,QBe as zodEntriesToConfigUI,F2 as zoneAnalyticsCapability,Zfe as zoneOnlySite,z2 as zoneRulesCapability,OH as zonesCapability};
|