@camstack/addon-pipeline-orchestrator 1.2.107 → 1.2.108
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/assets/viewer/.viewer-current-files.json +1 -1
- package/assets/viewer/.viewer-version +1 -1
- package/assets/viewer/_expo/static/js/web/{index-97b1091a3c03411ca6be8670dbcbe49f.js → index-8bdd37a92161eb68c6072b45d0e95ec7.js} +4 -4
- package/assets/viewer/index.html +1 -1
- package/dist/_stub.js +1 -1
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-DcIWCEao.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-BNn7Bzgk.mjs} +1 -1
- package/dist/{_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-BH38XQ0l.mjs → _virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-1epPtfef.mjs} +1 -1
- package/dist/{hostInit-ycXbg-98.mjs → hostInit-CcV6z0wH.mjs} +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/remoteEntry.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
".well-known/apple-app-site-association",
|
|
3
3
|
"_expo/static/js/web/Clipboard-ee7ae34169ca2d68fe084d39e9fef00b.js",
|
|
4
4
|
"_expo/static/js/web/Haptics-b62a143efa8f68a1cbda40d8760ab797.js",
|
|
5
|
-
"_expo/static/js/web/index-
|
|
5
|
+
"_expo/static/js/web/index-8bdd37a92161eb68c6072b45d0e95ec7.js",
|
|
6
6
|
"_expo/static/js/web/node-fs-b99e52574672725e8ee272ca6b46f65a.js",
|
|
7
7
|
"_expo/static/js/web/node-path-d306bb4f4e105efcc19308a8ba49699b.js",
|
|
8
8
|
"assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.398+251de9b
|
|
@@ -405,7 +405,7 @@ __d(function(g,r,i,_a,m,_e,_d){'use strict';m.exports=function(e,n,o,t,a,f,s,d){
|
|
|
405
405
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}});var t={}},324,[]);
|
|
406
406
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.installOnUIRuntime=function(t){const o=globalThis?.expo?.installOnUIRuntime;if(!o)throw Error("Native method to install Expo Modules on the worklets UI runtime wasn't found in `expo-modules-core`.");o(t)}},325,[]);
|
|
407
407
|
__d(function(g,r,i,a,m,e,d){"use strict";var t,n,o;Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"AppOwnership",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"ExecutionEnvironment",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"UserInterfaceIdiom",{enumerable:!0,get:function(){return o}}),(function(t){t.Expo="expo"})(t||(t={})),(function(t){t.Bare="bare",t.Standalone="standalone",t.StoreClient="storeClient"})(n||(n={})),(function(t){t.Handset="handset",t.Tablet="tablet",t.Desktop="desktop",t.TV="tv",t.Unsupported="unsupported"})(o||(o={}))},326,[]);
|
|
408
|
-
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s}});var t=r(d[0]);const n=(Date.now()+'-'+Math.floor(1e9*Math.random())).toString();function o(){if('undefined'!=typeof navigator&&'string'==typeof navigator.userAgent){const t=navigator.userAgent.toLowerCase();if(t.includes('edge'))return'Edge';if(t.includes('edg'))return'Chromium Edge';if(t.includes('opr')&&'opr'in window&&window.opr)return'Opera';if(t.includes('chrome')&&'chrome'in window&&window.chrome)return'Chrome';if(t.includes('trident'))return'IE';if(t.includes('firefox'))return'Firefox';if(t.includes('safari'))return'Safari'}}var s={get appOwnership(){return null},get executionEnvironment(){return t.ExecutionEnvironment.Bare},get sessionId(){return n},get isHeadless(){return'undefined'==typeof navigator||/\bHeadlessChrome\//.test(navigator.userAgent)},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){return'undefined'!=typeof location?location.origin:''},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){return o()},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return"{\"name\":\"CamStack\",\"slug\":\"camstack\",\"version\":\"1.0.
|
|
408
|
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s}});var t=r(d[0]);const n=(Date.now()+'-'+Math.floor(1e9*Math.random())).toString();function o(){if('undefined'!=typeof navigator&&'string'==typeof navigator.userAgent){const t=navigator.userAgent.toLowerCase();if(t.includes('edge'))return'Edge';if(t.includes('edg'))return'Chromium Edge';if(t.includes('opr')&&'opr'in window&&window.opr)return'Opera';if(t.includes('chrome')&&'chrome'in window&&window.chrome)return'Chrome';if(t.includes('trident'))return'IE';if(t.includes('firefox'))return'Firefox';if(t.includes('safari'))return'Safari'}}var s={get appOwnership(){return null},get executionEnvironment(){return t.ExecutionEnvironment.Bare},get sessionId(){return n},get isHeadless(){return'undefined'==typeof navigator||/\bHeadlessChrome\//.test(navigator.userAgent)},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){return'undefined'!=typeof location?location.origin:''},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){return o()},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return"{\"name\":\"CamStack\",\"slug\":\"camstack\",\"version\":\"1.0.398\",\"sdkVersion\":\"57.0.0\",\"platforms\":[\"ios\",\"android\",\"web\"],\"runtimeVersion\":\"1.0.374\",\"orientation\":\"default\",\"icon\":\"./assets/images/icon.png\",\"scheme\":\"camstack\",\"userInterfaceStyle\":\"automatic\",\"web\":{\"output\":\"single\",\"favicon\":\"./assets/images/favicon.png\",\"shortName\":\"CamStack\",\"backgroundColor\":\"#e67e22\",\"name\":\"CamStack\"},\"experiments\":{\"typedRoutes\":true,\"reactCompiler\":true,\"baseUrl\":\"/viewer/camstack\"},\"extra\":{\"router\":{\"root\":\"app\"},\"eas\":{\"projectId\":\"8fb06894-6375-41ff-959f-1a22a03dbd73\"}},\"updates\":{\"url\":\"https://u.expo.dev/8fb06894-6375-41ff-959f-1a22a03dbd73\"},\"owner\":\"zentik-notifier\"}"},get manifest2(){return null},get experienceUrl(){return'undefined'!=typeof location?location.origin:''},get debugMode(){return!1},getWebViewUserAgentAsync:async()=>'undefined'!=typeof navigator?navigator.userAgent:null}},327,[326]);
|
|
409
409
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SITEMAP_ROUTE_NAME=e.NOT_FOUND_ROUTE_NAME=e.INTERNAL_SLOT_NAME=void 0,e.INTERNAL_SLOT_NAME='__root',e.NOT_FOUND_ROUTE_NAME='+not-found',e.SITEMAP_ROUTE_NAME='_sitemap'},328,[]);
|
|
410
410
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useCurrentRouteInfo=function(){const n=(0,u.useStateForPath)();return(0,t.useMemo)(()=>n?(0,o.getCachedRouteInfo)(n):void 0,[n])};const t=r(d[0]),o=r(d[1]),u=r(d[2])},329,[17,330,338]);
|
|
411
411
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.routeInfoSubscribe=e.routeInfoSubscribers=void 0,e.getCachedRouteInfo=function(s){let u=o.get(s);if(!u){u=(0,t.getRouteInfoFromState)(s);const f=JSON.stringify(u),c=n.get(f);c?u=c:n.set(f,u),o.set(s,u)}return u},e.setCachedRouteInfo=function(t,s){o.set(t,s),n.set(JSON.stringify(s),s)};const t=r(d[0]),o=new WeakMap,n=new Map;e.routeInfoSubscribers=new Set;e.routeInfoSubscribe=t=>(e.routeInfoSubscribers.add(t),()=>{e.routeInfoSubscribers.delete(t)})},330,[331]);
|
|
@@ -3345,7 +3345,7 @@ __d(function(g,_r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{
|
|
|
3345
3345
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return x}});var n=r(d[0]);r(d[1]);var t=r(d[2]),o=r(d[3]),s=r(d[4]),c=r(d[5]),l=r(d[6]),u=r(d[7]),f=r(d[8]),h=r(d[9]),p=r(d[10]),v=r(d[11]),j=r(d[12]);function _(){return(0,u.useLiveInvalidation)(),null}function b(){return(0,f.useResumeReconcile)(),null}function P(t){const o=(0,n.c)(9),{children:s}=t;let c;o[0]===Symbol.for("react.memo_cache_sentinel")?(c={includeHidden:!0},o[0]=c):c=o[0];const{data:l}=(0,h.useCameras)(c),u=(0,v.useAppForeground)();let f,_;o[1]!==l?(f=l??[],o[1]=l,o[2]=f):f=o[2],o[3]!==f?(_=f.map(S),o[3]=f,o[4]=_):_=o[4];const b=_,P=b.length>0&&u;let x;return o[5]!==s||o[6]!==b||o[7]!==P?(x=(0,j.jsx)(p.SnapshotOverviewProvider,{deviceIds:b,enabled:P,children:s}),o[5]=s,o[6]=b,o[7]=P,o[8]=x):x=o[8],x}function S(n){return n.id}function x(){const u=(0,n.c)(17),{server:f,token:h,initialCandidates:p,initialPinnedRouteUrl:v,onEndpointsDiscovered:S,clearToken:x,persistToken:R}=(0,o.useServer)(),k=f?.serverUrl,U=(0,t.usePathname)(),O=(0,t.useGlobalSearchParams)();let C;u[0]!==p||u[1]!==v||u[2]!==S||u[3]!==k||u[4]!==h?(C=k?{serverUrl:k,token:h??void 0,candidates:p.length>0?[...p]:[k],pinnedRouteUrl:v,onEndpointsDiscovered:S}:null,u[0]=p,u[1]=v,u[2]=S,u[3]=k,u[4]=h,u[5]=C):C=u[5];const $=C;if(!f||!h||!$){let n;return(0,s.stashPendingDeepLink)(`${U}${y(O)}`),u[6]===Symbol.for("react.memo_cache_sentinel")?(n=(0,j.jsx)(t.Redirect,{href:"/"}),u[6]=n):n=u[6],n}let A,I,T,D,w,z;return u[7]!==x?(A=()=>{x()},u[7]=x,u[8]=A):A=u[8],u[9]===Symbol.for("react.memo_cache_sentinel")?(I=(0,j.jsx)(l.AppPhaseTracer,{}),T=(0,j.jsx)(_,{}),D=(0,j.jsx)(b,{}),u[9]=I,u[10]=T,u[11]=D):(I=u[9],T=u[10],D=u[11]),u[12]===Symbol.for("react.memo_cache_sentinel")?(w=(0,j.jsx)(P,{children:(0,j.jsx)(t.Stack,{screenOptions:{headerShown:!1,freezeOnBlur:!1}})}),u[12]=w):w=u[12],u[13]!==$||u[14]!==R||u[15]!==A?(z=(0,j.jsxs)(c.ConnectionProvider,{config:$,onUnauthorized:A,onTokenRefreshed:R,children:[I,T,D,w]}),u[13]=$,u[14]=R,u[15]=A,u[16]=z):z=u[16],z}function y(n){const t=[];for(const[o,s]of Object.entries(n))for(const n of Array.isArray(s)?s:[s])t.push(`${encodeURIComponent(o)}=${encodeURIComponent(n)}`);return t.length>0?`?${t.join("&")}`:""}},1984,[15,17,743,1567,1985,1034,1986,1987,1990,1501,1576,1597,10]);
|
|
3346
3346
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.isStashableDeepLink=s,e.stashPendingDeepLink=function(n){if(!s(n))return;t=n},e.takePendingDeepLink=function(){const n=t;return t=null,n},e._resetPendingDeepLink=function(){t=null};const n=['/camera/','/events','/grid/','/notifications'];let t=null;function s(t){return n.some(n=>t===n||t.startsWith(n))}},1985,[]);
|
|
3347
3347
|
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.AppPhaseTracer=function(){const e=(0,n.c)(3),u=(0,t.useRef)(null),{controller:f}=(0,l.useConnection)();let p,v;e[0]!==f?(p=()=>{const e=c.default.addEventListener("change",e=>{if("active"===e){const e=u.current;u.current=null;const n=null===e?null:Date.now()-e;return(0,o.traceAppPhase)("foreground",n),f.verifyAfterResume(n),void s.useSnapshotRefreshStore.getState().bumpSnapshots()}"background"!==e&&"inactive"!==e||(null===u.current&&(u.current=Date.now()),(0,o.traceAppPhase)("background",null))});return()=>e.remove()},v=[f],e[0]=f,e[1]=p,e[2]=v):(p=e[1],v=e[2]);return(0,t.useEffect)(p,v),null};var e,n=r(d[0]),t=r(d[1]),u=r(d[2]),c=(e=u)&&e.__esModule?e:{default:e},o=r(d[3]),l=r(d[4]),s=r(d[5])},1986,[15,17,226,1150,1034,1159]);
|
|
3348
|
-
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.useLiveInvalidation=function(){const
|
|
3348
|
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.trackLifecycleInvalidationKeys=f,e.useLiveInvalidation=function(){const p=(0,c.c)(5),{controller:E,state:k}=(0,s.useConnection)(),I=(0,n.useQueryClient)();let _,C;p[0]!==E||p[1]!==I||p[2]!==k?(_=()=>{if("connected"!==k)return;const c=E.getSystem();if(!c)return;const t=(0,o.createInvalidationDebouncer)(o.INVALIDATION_DEBOUNCE_MS,c=>{I.invalidateQueries({queryKey:c,refetchType:"active"},{cancelRefetch:!1})}),n=b.map(n=>{const[s,v]=n;return c.subscribeEvent(s,()=>{for(const c of v)t.schedule(c)})});return n.push(c.subscribeEvent(y,c=>{(0,u.isDeviceStatusChange)(c)&&t.schedule(["v2","cameras"])}),c.subscribeEvent("pipeline-analytics.face-gallery-changed",h),c.subscribeEvent("pipeline-analytics.track-lifecycle",c=>{const n=(0,u.readEventField)(c,"phase");"end"===n&&(0,l.refreshEventsEmbeds)("track-ended");for(const c of f(n))t.schedule(c)})),v.log.debug("data","live invalidation armed",{categories:b.length}),()=>{for(const c of n)c();t.dispose()}},C=[E,k,I],p[0]=E,p[1]=I,p[2]=k,p[3]=_,p[4]=C):(_=p[3],C=p[4]);(0,t.useEffect)(_,C)};var c=r(d[0]),t=r(d[1]),n=r(d[2]),s=r(d[3]),v=r(d[4]),l=r(d[5]),o=r(d[6]),u=r(d[7]);function f(c){return'start'!==c&&'end'!==c?[]:[['v2','analytics','device-tracks'],['v2','events'],['v2','analytics','activity'],['v2','recording','availability']]}const y='device.state-changed',b=[[y,[['v2','children-states'],['v2','accessories'],['v2','cap-status'],['v2','linked-devices'],['v2','camera-badges'],['v2','device-live-fields']]],['device.registered',[['v2','cameras']]],['device.unregistered',[['v2','cameras']]],['device.enabled',[['v2','cameras'],['v2','camera-switches']]],['device.disabled',[['v2','cameras'],['v2','camera-switches']]],['device.meta-changed',[['v2','cameras']]],['device.ready',[['v2','cameras']]],['capability.binding-changed',[['v2','camera-switches']]],['zone-analytics.occupancy-changed',[['v2','occupancy']]],['pipeline-analytics.stationary-changed',[['v2','occupancy']]],['event-emitter.event',[['v2','cap-status']]],['pipeline-analytics.face-gallery-changed',[['v2','faces']]],['battery.onStatusChanged',[['v2','battery'],['v2','camera-badges']]],['battery.onWakeStarted',[['v2','battery'],['v2','camera-badges']]]];function h(c){"buffered"!==(0,u.readEventField)(c,"kind")?(0,l.reloadEventsEmbeds)("face-gallery-changed"):(0,l.refreshEventsEmbeds)("face-buffered")}},1987,[15,17,1502,1034,814,1661,1988,1989]);
|
|
3349
3349
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"INVALIDATION_DEBOUNCE_MS",{enumerable:!0,get:function(){return t}}),e.serializeQueryKey=n,e.createInvalidationDebouncer=function(t,o){const u=new Map;return{schedule:c=>{const s=n(c),l=u.get(s);void 0!==l&&clearTimeout(l),u.set(s,setTimeout(()=>{u.delete(s),o(c)},t))},dispose:()=>{for(const t of u.values())clearTimeout(t);u.clear()}}};const t=300;function n(t){return t.join('\0')}},1988,[]);
|
|
3350
3350
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"DEVICE_STATUS_CAP",{enumerable:!0,get:function(){return t}}),e.readEventField=n,e.isDeviceStatusChange=function(u){return n(u,'capName')===t};const t='device-status';function n(t,n){if('object'!=typeof t||null===t)return;const u=t;if(n in u)return u[n];const c=u.data;return'object'==typeof c&&null!==c?c[n]:void 0}},1989,[]);
|
|
3351
3351
|
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"RECONCILE_SCOPE",{enumerable:!0,get:function(){return E}}),_e.useResumeReconcile=function(){const e=(0,t.c)(10),{state:c}=(0,s.useConnection)(),_=(0,o.useQueryClient)(),w=(0,n.useRef)(f.INITIAL_RECONCILE_STATE),C=(0,n.useRef)(null),R=(0,n.useRef)("connected"===c),I=(0,n.useRef)(!1),M=(0,n.useRef)(void 0),D=(0,n.useRef)(y);let L;e[0]!==_?(L=e=>{const t=(0,f.decideReconcile)(w.current,e);if(w.current=t.state,l.log.info(E,`${e.kind} \u2192 ${t.reason}`,{trigger:e.kind,reason:t.reason,run:t.run,retryInMs:t.retryInMs,attempt:t.state.attempt}),null!==t.retryInMs&&(void 0!==M.current&&clearTimeout(M.current),M.current=setTimeout(()=>{M.current=void 0,D.current({kind:"retry",nowMs:Date.now()})},t.retryInMs)),!t.run)return;void 0!==M.current&&(clearTimeout(M.current),M.current=void 0);const n=Date.now();v(_,n).then(e=>{D.current({kind:"outcome",landed:e,nowMs:Date.now()})})},e[0]=_,e[1]=L):L=e[1];const O=L;let T,A,p,k,K,b;e[2]!==O?(T=()=>{D.current=O},A=[O],e[2]=O,e[3]=T,e[4]=A):(T=e[3],A=e[4]);(0,n.useEffect)(T,A),e[5]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{const e=u.default.addEventListener("change",e=>{if("active"===e){const e=C.current;return C.current=null,void D.current({kind:"foreground",awayMs:null===e?null:Date.now()-e,connected:R.current,nowMs:Date.now()})}null===C.current&&(C.current=Date.now())});return()=>{e.remove(),void 0!==M.current&&(clearTimeout(M.current),M.current=void 0)}},k=[],e[5]=p,e[6]=k):(p=e[5],k=e[6]);(0,n.useEffect)(p,k),e[7]!==c?(K=()=>{if(R.current="connected"===c,"connected"===c)return I.current?void D.current({kind:"reconnected",nowMs:Date.now()}):(I.current=!0,void D.current({kind:"first-connect",nowMs:Date.now()}))},b=[c],e[7]=c,e[8]=K,e[9]=b):(K=e[8],b=e[9]);(0,n.useEffect)(K,b)};var e,t=r(d[0]),n=r(d[1]),c=r(d[2]),u=(e=c)&&e.__esModule?e:{default:e},o=r(d[3]),s=r(d[4]),l=r(d[5]),f=r(d[6]);const E='data:reconcile';async function v(e,t){for(const t of f.VOLATILE_QUERY_KEYS)t!==f.RECONCILE_HEAD_KEY&&e.invalidateQueries({queryKey:t,refetchType:'active'});await e.invalidateQueries({queryKey:f.RECONCILE_HEAD_KEY,refetchType:'active'});const n=e.getQueryCache().find({queryKey:f.RECONCILE_HEAD_KEY,exact:!0});return(0,f.reconcileLanded)({dataUpdatedAt:n?.state.dataUpdatedAt,startedAtMs:t,observed:(n?.getObserversCount()??0)>0})}function y(){}},1990,[15,17,226,1502,1034,814,1991]);
|
|
@@ -3398,7 +3398,7 @@ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{v
|
|
|
3398
3398
|
__d(function(g,r,_i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"ZoneDrawOverlay",{enumerable:!0,get:function(){return C}});var t=r(d[0]),o=r(d[1]),n=e(r(d[2])),l=e(r(d[3])),i=e(r(d[4])),s=e(r(d[5])),c=r(d[6]),u=r(d[7]),h=e(u),y=r(d[8]),b=r(d[9]),f=r(d[10]),p=r(d[11]),x=r(d[12]);const S='#ffffff',j='rgba(0, 0, 0, 0.55)',C=(0,o.memo)(function(e){const f=(0,t.c)(122),{zone:j,onConfirm:C,onCancel:R}=e,{t:z}=(0,c.useTranslation)(),{colors:k}=(0,b.useTheme)();let I;f[0]===Symbol.for("react.memo_cache_sentinel")?(I={width:0,height:0},f[0]=I):I=f[0];const[T,W]=(0,o.useState)(I),[A,E]=(0,o.useState)("rect"===j?.kind?j.rect:null);let M;f[1]!==j?(M="polygon"===j?.kind?j.points:[],f[1]=j,f[2]=M):M=f[2];const[G,$]=(0,o.useState)(M),[D,N]=(0,o.useState)("polygon"===j?.kind?"polygon":"rect");let H;f[3]===Symbol.for("react.memo_cache_sentinel")?(H={x:0,y:0},f[3]=H):H=f[3];const U=(0,o.useRef)(H),F=(0,o.useRef)(!1);let O;f[4]===Symbol.for("react.memo_cache_sentinel")?(O=e=>{const{width:t,height:o}=e.nativeEvent.layout;W({width:t,height:o})},f[4]=O):O=f[4];const V=O;let X;f[5]===Symbol.for("react.memo_cache_sentinel")?(X=e=>{U.current={x:e.nativeEvent.locationX,y:e.nativeEvent.locationY},F.current=!1},f[5]=X):X=f[5];const Y=X;let q;f[6]!==T||f[7]!==D?(q=e=>{if(F.current=!0,"rect"!==D)return;const t=(0,p.dragToRect)(U.current.x,U.current.y,e.nativeEvent.locationX,e.nativeEvent.locationY,T.width,T.height);null!==t&&E(t)},f[6]=T,f[7]=D,f[8]=q):q=f[8];const L=q;let Z;f[9]!==T||f[10]!==D?(Z=()=>{if("polygon"!==D||F.current)return;if(T.width<=0||T.height<=0)return;const e={x:Math.min(1,Math.max(0,U.current.x/T.width)),y:Math.min(1,Math.max(0,U.current.y/T.height))};$(t=>[...t,e])},f[9]=T,f[10]=D,f[11]=Z):Z=f[11];const B=Z;let J;f[12]===Symbol.for("react.memo_cache_sentinel")?(J=()=>$(v),f[12]=J):J=f[12];const K=J;let Q;f[13]===Symbol.for("react.memo_cache_sentinel")?(Q=()=>$([]),f[13]=Q):Q=f[13];const ee=Q;let te,oe;f[14]!==D||f[15]!==G||f[16]!==A?(te="rect"===D?null===A?null:(0,p.rectShape)(A):G.length>=3?{kind:"polygon",points:G}:null,oe=null!==te&&(0,p.isShapeUsable)(te),f[14]=D,f[15]=G,f[16]=A,f[17]=te,f[18]=oe):(te=f[17],oe=f[18]);const ne=oe;let le;f[19]!==te||f[20]!==C?(le=()=>{null!==te&&(0,p.isShapeUsable)(te)&&C(te)},f[19]=te,f[20]=C,f[21]=le):le=f[21];const re=le;let ie,se,ae,ce,de,ue,he,ye;f[22]===Symbol.for("react.memo_cache_sentinel")?(ie=[s.default.absoluteFill,_.container],f[22]=ie):ie=f[22],f[23]!==D||f[24]!==z?(se=z("polygon"===D?"v2.theater.zoneHintPolygon":"v2.theater.zoneHint"),f[23]=D,f[24]=z,f[25]=se):se=f[25],f[26]!==se?(ae=(0,x.jsx)(n.default,{style:_.hintWrap,pointerEvents:"none",children:(0,x.jsx)(n.default,{style:_.hintPill,children:(0,x.jsx)(l.default,{style:_.hintText,children:se})})}),f[26]=se,f[27]=ae):ae=f[27],f[28]!==T||f[29]!==k||f[30]!==D||f[31]!==A?(ce="rect"===D&&null!==A&&T.width>0?(0,x.jsx)(n.default,{pointerEvents:"none",style:[_.zoneRect,{borderColor:k.warning,backgroundColor:`${k.warning}26`,left:A.x*T.width,top:A.y*T.height,width:A.w*T.width,height:A.h*T.height}]}):null,f[28]=T,f[29]=k,f[30]=D,f[31]=A,f[32]=ce):ce=f[32],f[33]!==T||f[34]!==k||f[35]!==D||f[36]!==G?(de="polygon"===D&&G.length>0&&T.width>0?(0,x.jsxs)(h.default,{style:s.default.absoluteFill,pointerEvents:"none",children:[G.length>=3?(0,x.jsx)(u.Polygon,{points:G.map(e=>`${e.x*T.width},${e.y*T.height}`).join(" "),fill:`${k.warning}26`,stroke:k.warning,strokeWidth:1.5}):(0,x.jsx)(u.Polyline,{points:G.map(e=>`${e.x*T.width},${e.y*T.height}`).join(" "),fill:"none",stroke:k.warning,strokeWidth:1.5}),G.map((e,t)=>(0,x.jsx)(u.Circle,{cx:e.x*T.width,cy:e.y*T.height,r:5,fill:k.warning},`${e.x}:${e.y}:${t}`))]}):null,f[33]=T,f[34]=k,f[35]=D,f[36]=G,f[37]=de):de=f[37],f[38]!==k||f[39]!==D?(ue="rect"===D&&{backgroundColor:k.primary},f[38]=k,f[39]=D,f[40]=ue):ue=f[40],f[41]!==ue?(he=[_.modeChip,ue],f[41]=ue,f[42]=he):he=f[42],f[43]===Symbol.for("react.memo_cache_sentinel")?(ye=()=>N("rect"),f[43]=ye):ye=f[43];const be="rect"===D;let ge,fe,me,pe,xe,Se,je,Ce;f[44]!==be?(ge={selected:be},f[44]=be,f[45]=ge):ge=f[45],f[46]===Symbol.for("react.memo_cache_sentinel")?(fe=(0,x.jsx)(y.Square,{size:14,color:S}),f[46]=fe):fe=f[46],f[47]!==z?(me=z("v2.theater.zoneModeRect"),f[47]=z,f[48]=me):me=f[48],f[49]!==me?(pe=(0,x.jsx)(l.default,{style:_.modeText,children:me}),f[49]=me,f[50]=pe):pe=f[50],f[51]!==he||f[52]!==ge||f[53]!==pe?(xe=(0,x.jsxs)(i.default,{style:he,onPress:ye,accessibilityRole:"button",accessibilityState:ge,children:[fe,pe]}),f[51]=he,f[52]=ge,f[53]=pe,f[54]=xe):xe=f[54],f[55]!==k||f[56]!==D?(Se="polygon"===D&&{backgroundColor:k.primary},f[55]=k,f[56]=D,f[57]=Se):Se=f[57],f[58]!==Se?(je=[_.modeChip,Se],f[58]=Se,f[59]=je):je=f[59],f[60]===Symbol.for("react.memo_cache_sentinel")?(Ce=()=>N("polygon"),f[60]=Ce):Ce=f[60];const ve="polygon"===D;let we,Pe,Re,ze,ke,Ie,Te,We,Ae,Ee,Me;f[61]!==ve?(we={selected:ve},f[61]=ve,f[62]=we):we=f[62],f[63]===Symbol.for("react.memo_cache_sentinel")?(Pe=(0,x.jsx)(y.Pentagon,{size:14,color:S}),f[63]=Pe):Pe=f[63],f[64]!==z?(Re=z("v2.theater.zoneModePolygon"),f[64]=z,f[65]=Re):Re=f[65],f[66]!==Re?(ze=(0,x.jsx)(l.default,{style:_.modeText,children:Re}),f[66]=Re,f[67]=ze):ze=f[67],f[68]!==je||f[69]!==we||f[70]!==ze?(ke=(0,x.jsxs)(i.default,{style:je,onPress:Ce,accessibilityRole:"button",accessibilityState:we,children:[Pe,ze]}),f[68]=je,f[69]=we,f[70]=ze,f[71]=ke):ke=f[71],f[72]!==xe||f[73]!==ke?(Ie=(0,x.jsxs)(n.default,{style:_.modeWrap,pointerEvents:"box-none",children:[xe,ke]}),f[72]=xe,f[73]=ke,f[74]=Ie):Ie=f[74],f[75]!==D||f[76]!==G||f[77]!==z?(Te="polygon"===D&&G.length>0?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(i.default,{style:_.button,onPress:K,accessibilityRole:"button",children:(0,x.jsx)(y.Undo2,{size:14,color:S})}),(0,x.jsx)(i.default,{style:_.button,onPress:ee,accessibilityRole:"button",children:(0,x.jsx)(l.default,{style:_.buttonText,children:z("v2.theater.zoneClearPoints")})})]}):null,f[75]=D,f[76]=G,f[77]=z,f[78]=Te):Te=f[78],f[79]!==z?(We=z("v2.theater.zoneCancel"),f[79]=z,f[80]=We):We=f[80],f[81]!==We?(Ae=(0,x.jsx)(l.default,{style:_.buttonText,children:We}),f[81]=We,f[82]=Ae):Ae=f[82],f[83]!==R||f[84]!==Ae?(Ee=(0,x.jsx)(i.default,{style:_.button,onPress:R,accessibilityRole:"button",children:Ae}),f[83]=R,f[84]=Ae,f[85]=Ee):Ee=f[85],f[86]!==k||f[87]!==ne?(Me=ne&&{backgroundColor:k.primary,borderColor:k.primary},f[86]=k,f[87]=ne,f[88]=Me):Me=f[88];const Ge=!ne&&_.buttonDisabled;let $e;f[89]!==Me||f[90]!==Ge?($e=[_.button,Me,Ge],f[89]=Me,f[90]=Ge,f[91]=$e):$e=f[91];const De=!ne,Ne=!ne;let He,Ue,Fe,Oe,Ve,Xe,Ye,qe;return f[92]!==Ne?(He={disabled:Ne},f[92]=Ne,f[93]=He):He=f[93],f[94]!==k||f[95]!==ne?(Ue=ne&&{color:k.primaryForeground},f[94]=k,f[95]=ne,f[96]=Ue):Ue=f[96],f[97]!==Ue?(Fe=[_.buttonText,Ue],f[97]=Ue,f[98]=Fe):Fe=f[98],f[99]!==z?(Oe=z("v2.theater.zoneConfirm"),f[99]=z,f[100]=Oe):Oe=f[100],f[101]!==Fe||f[102]!==Oe?(Ve=(0,x.jsx)(l.default,{style:Fe,children:Oe}),f[101]=Fe,f[102]=Oe,f[103]=Ve):Ve=f[103],f[104]!==re||f[105]!==$e||f[106]!==De||f[107]!==He||f[108]!==Ve?(Xe=(0,x.jsx)(i.default,{style:$e,onPress:re,disabled:De,accessibilityRole:"button",accessibilityState:He,children:Ve}),f[104]=re,f[105]=$e,f[106]=De,f[107]=He,f[108]=Ve,f[109]=Xe):Xe=f[109],f[110]!==Te||f[111]!==Ee||f[112]!==Xe?(Ye=(0,x.jsxs)(n.default,{style:_.actions,pointerEvents:"box-none",children:[Te,Ee,Xe]}),f[110]=Te,f[111]=Ee,f[112]=Xe,f[113]=Ye):Ye=f[113],f[114]!==L||f[115]!==B||f[116]!==ae||f[117]!==ce||f[118]!==de||f[119]!==Ie||f[120]!==Ye?(qe=(0,x.jsxs)(n.default,{style:ie,onLayout:V,onStartShouldSetResponder:w,onMoveShouldSetResponder:P,onResponderGrant:Y,onResponderMove:L,onResponderRelease:B,children:[ae,ce,de,Ie,Ye]}),f[114]=L,f[115]=B,f[116]=ae,f[117]=ce,f[118]=de,f[119]=Ie,f[120]=Ye,f[121]=qe):qe=f[121],qe}),_=s.default.create({modeWrap:{position:'absolute',top:10,right:10,flexDirection:'row',gap:6},modeChip:{flexDirection:'row',alignItems:'center',gap:5,paddingHorizontal:9,paddingVertical:5,borderRadius:999,backgroundColor:j},modeText:{color:S,fontSize:11,fontWeight:'600'},container:{zIndex:60,backgroundColor:'rgba(0, 0, 0, 0.25)'},hintWrap:{position:'absolute',top:f.SPACING.md,left:0,right:0,alignItems:'center'},hintPill:{backgroundColor:j,paddingHorizontal:f.SPACING.md,paddingVertical:f.SPACING.xs+2,borderRadius:f.RADIUS.lg,maxWidth:'90%'},hintText:{color:S,fontSize:11,fontWeight:'600',textAlign:'center'},zoneRect:{position:'absolute',borderWidth:2,borderRadius:2},actions:{position:'absolute',right:f.SPACING.md,bottom:f.SPACING.md,flexDirection:'row',gap:f.SPACING.md},button:{backgroundColor:j,borderColor:'rgba(255, 255, 255, 0.35)',borderWidth:1,paddingHorizontal:f.SPACING.lg,paddingVertical:f.SPACING.sm+2,borderRadius:f.RADIUS.lg},buttonDisabled:{opacity:.5},buttonText:{color:S,fontSize:12,fontWeight:'700'}});function v(e){return e.slice(0,-1)}function w(){return!0}function P(){return!0}},2037,[15,17,20,112,252,33,782,839,833,827,829,1832,10]);
|
|
3399
3399
|
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"ZoneActiveOverlay",{enumerable:!0,get:function(){return f}});var t=r(d[0]),n=r(d[1]),o=e(r(d[2])),l=e(r(d[3])),h=r(d[4]),c=e(h),s=r(d[5]),u=r(d[6]);const f=(0,n.memo)(function(e){const f=(0,t.c)(9),{zone:y}=e,{colors:b}=(0,s.useTheme)();let _;f[0]===Symbol.for("react.memo_cache_sentinel")?(_={width:0,height:0},f[0]=_):_=f[0];const[p,v]=(0,n.useState)(_);let j;f[1]===Symbol.for("react.memo_cache_sentinel")?(j=e=>{const{width:t,height:n}=e.nativeEvent.layout;v({width:t,height:n})},f[1]=j):j=f[1];const x=j;let k,$;return f[2]!==p.height||f[3]!==p.width||f[4]!==b||f[5]!==y?(k=p.width<=0||p.height<=0?null:"rect"===y.kind?(0,u.jsx)(o.default,{style:[w.zoneRect,{borderColor:b.warning,backgroundColor:`${b.warning}14`,left:y.rect.x*p.width,top:y.rect.y*p.height,width:y.rect.w*p.width,height:y.rect.h*p.height}]}):(0,u.jsx)(c.default,{style:l.default.absoluteFill,pointerEvents:"none",children:(0,u.jsx)(h.Polygon,{points:y.points.map(e=>`${e.x*p.width},${e.y*p.height}`).join(" "),fill:`${b.warning}14`,stroke:b.warning,strokeWidth:1.5})}),f[2]=p.height,f[3]=p.width,f[4]=b,f[5]=y,f[6]=k):k=f[6],f[7]!==k?($=(0,u.jsx)(o.default,{style:l.default.absoluteFill,onLayout:x,pointerEvents:"none",children:k}),f[7]=k,f[8]=$):$=f[8],$}),w=l.default.create({zoneRect:{position:'absolute',borderWidth:1.5,borderRadius:2}})},2038,[15,17,20,33,839,827,10]);
|
|
3400
3400
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.serializeAdhocDeviceIds=function(t){return t.filter(t=>Number.isInteger(t)&&t>0).join(',')},e.parseAdhocDeviceIds=function(t){if(void 0===t)return[];const n='string'==typeof t?t:t.join(','),o=new Set,s=[];for(const t of n.split(',')){const n=Number(t.trim());Number.isInteger(n)&&n>0&&!o.has(n)&&(o.add(n),s.push(n))}return s}},2039,[]);
|
|
3401
|
-
__d(function(g,r,i,a,m,_e,_d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"TheaterTimeline",{enumerable:!0,get:function(){return ee}});var t=r(_d[0]),n=e(r(_d[1])),o=e(r(_d[2])),l=r(_d[3]),s=r(_d[4]),c=r(_d[5]),u=r(_d[6]),d=r(_d[7]),p=r(_d[8]),h=r(_d[9]),f=r(_d[10]),v=r(_d[11]),b=r(_d[12]),M=r(_d[13]),k=r(_d[14]),y=r(_d[15]),S=r(_d[16]),C=r(_d[17]),E=r(_d[18]),T=r(_d[19]),x=r(_d[20]),B=r(_d[21]),I=r(_d[22]),L=r(_d[23]),D=r(_d[24]),O=r(_d[25]),P=r(_d[26]),w=r(_d[27]),A=r(_d[28]),R=r(_d[29]),F=r(_d[30]),_=r(_d[31]),z=r(_d[32]),j=r(_d[33]),H=r(_d[34]),N=r(_d[35]),W=r(_d[36]),Z=r(_d[37]),q=r(_d[38]),G=r(_d[39]),K=r(_d[40]),Y=r(_d[41]),Q=r(_d[42]),U=r(_d[43]),J=r(_d[44]),V=r(_d[45]),X=r(_d[46]);const $=864e5,ee=(0,t.memo)(function(e){const{t:ee}=(0,l.useTranslation)(),{colors:le}=(0,c.useTheme)(),se=(0,s.useSafeAreaInsets)(),[re,ce]=(0,t.useState)(()=>Date.now());(0,t.useEffect)(()=>{const e=setInterval(()=>ce(Date.now()),1e3);return()=>clearInterval(e)},[]);const ue=(0,H.useSettings)().settings.clusters,[de,pe]=(0,t.useState)(E.DEFAULT_ZOOM_INDEX),me=de<E.ZOOM_LEVELS.length-1,ge=de>0,he=(0,t.useCallback)(()=>pe(e=>(0,E.clampZoomIndex)(e+1)),[]),fe=(0,t.useCallback)(()=>pe(e=>(0,E.clampZoomIndex)(e-1)),[]),[ve,be]=(0,t.useState)(!1),[Me,ke]=(0,t.useState)(null),ye=(0,t.useCallback)(()=>{be(e=>!e),ke(null)},[]),Se=(0,C.useTimelinePanels)(),{panel:Ce,body:Ee,close:Te}=Se,xe=Se.toggle,Be=(0,t.useCallback)(()=>xe('filter'),[xe]),Ie=(0,t.useCallback)(()=>xe('captureActions'),[xe]),Le=(0,t.useCallback)(()=>xe('ptz'),[xe]),De=(0,t.useCallback)(()=>xe('devices'),[xe]),Oe=(0,t.useCallback)(()=>xe('viewOptions'),[xe]),Pe=(0,t.useCallback)(()=>xe('legend'),[xe]),[we,Ae]=(0,t.useState)(!1),Re=(0,t.useCallback)(()=>Ae(e=>!e),[]),Fe=(0,t.useMemo)(()=>b.QUALITY_ORDER.map(e=>({value:e,label:ee((0,b.qualityLabelKey)(e))})),[ee]),ze=(0,t.useCallback)(t=>{const n=b.QUALITY_ORDER.find(e=>e===t);n&&e.streamBinding.onSelectQuality(n),Ae(!1)},[e.streamBinding]),je=(0,t.useCallback)(()=>xe('cameraSwitcher'),[xe]),He=Se.open,Ne=(0,t.useCallback)(()=>He('storage'),[He]),We=(0,t.useCallback)(()=>He('eventStore'),[He]),Ze=(0,t.useCallback)(()=>He('viewOptions'),[He]),qe=(0,t.useRef)(0),Ge=(0,t.useCallback)(e=>{qe.current=e},[]),[Ke,Ye]=(0,t.useState)(0),[Qe,Ue]=(0,t.useState)(0),Je=(0,t.useCallback)(e=>{const{height:t,width:n}=e.nativeEvent.layout;t>0&&Ye(t),n>0&&Ue(n)},[]),Ve=(0,t.useMemo)(()=>(0,B.indicatorOffsetPx)(Ke,B.FIXED_INDICATOR_POSITION_PCT),[Ke]),Xe=(0,M.useTimelineFilter)(e.deviceId),{filter:$e,classFilter:et,filterAll:tt,classToMacro:nt}=Xe,ot=e.zoneRect,it=re,at=(0,t.useMemo)(()=>(0,T.layoutAnchorMs)(re,de),[re,de]),lt='live'===e.mode&&null===e.activeEpoch,st=e.activeEpoch??re,rt=(0,t.useMemo)(()=>{const e=new Date(st);return e.setHours(0,0,0,0),e.getTime()},[st]),ct=(0,t.useMemo)(()=>({from:rt,to:rt+$}),[rt]),[ut,dt]=(0,t.useState)(1),pt=rt-(ut-1)*$,mt=(0,t.useCallback)(()=>dt(e=>Math.min(30,e+1)),[]);(0,t.useEffect)(()=>{dt(1)},[rt]);const gt=(0,t.useMemo)(()=>{const e=new Date(re);return e.setHours(0,0,0,0),e.getTime()},[re]),[ht,ft]=(0,t.useState)(rt),{fromMs:vt,toMs:bt}=(0,t.useMemo)(()=>(0,z.monthBoundsForMs)(ht),[ht]),Mt=(0,P.useDaysWithRecordings)(e.deviceId,vt,bt,'date'===Ce?.kind),kt=Mt.data,yt=e.onSeek,St=(0,t.useCallback)(()=>{yt((0,j.dayAtSameTime)(st,rt-$,re),'timeline')},[yt,st,rt,re]),Ct=(0,t.useCallback)(()=>{rt>=gt||yt((0,j.dayAtSameTime)(st,rt+$,re),'timeline')},[yt,st,rt,gt,re]),Et=(0,t.useCallback)(()=>{ft(rt),xe('date')},[rt,xe]),Tt=(0,t.useCallback)(e=>{Te(),yt((0,j.dayAtSameTime)(st,e,re),'timeline')},[Te,yt,st,re]),xt=(0,t.useCallback)(e=>{Te(),yt(e,'timeline')},[Te,yt]),Bt=(0,t.useCallback)(e=>{ft(t=>{const n=new Date(t);return new Date(n.getFullYear(),n.getMonth()+e,1,0,0,0,0).getTime()})},[]),It=e.activeEpoch,Lt=Se.openExport,Dt=(0,t.useCallback)(()=>{Lt(It??Date.now())},[Lt,It]),Ot=(0,L.useTimelineDeferral)(e.loading),{state:Pt}=(0,Z.useConnection)(),wt=(0,N.useDeviceTracks)(e.deviceId,pt,ct.to,Ot,ot,{pollLive:'live'===e.mode}),At=wt.data??te,Rt=wt.refetch,Ft=At,_t=(0,t.useMemo)(()=>{const e=new Set;for(const t of Ft)t.className.length>0&&e.add(t.className);return[...(0,_.collapseToMacro)([...e],nt)].sort()},[Ft,nt]),zt=(0,t.useMemo)(()=>(0,F.filterEventsByZone)(Ft,ot),[Ft,ot]),jt=(0,t.useMemo)(()=>(0,R.filterDetectionsByKind)(zt,$e,et,nt),[zt,$e,et,nt]),Ht=(0,K.useTimelineActivity)(e.deviceId,pt,ct.to,Ot),Nt=Ht.activity,Wt=(0,t.useMemo)(()=>Qe>0?Math.round(Qe*ue.cardWidthFraction):0,[Qe,ue.cardWidthFraction]),Zt=(0,t.useMemo)(()=>Wt>0?Math.round(.5625*Wt):0,[Wt]),{sizePx:qt,gapPx:Gt}=(0,t.useMemo)(()=>{const e=Math.max(8,Zt);return{sizePx:e,gapPx:ue.gapPercent/100*e}},[Zt,ue.gapPercent]),Kt=(0,t.useMemo)(()=>(0,Y.clusterByZoom)(jt,{topMs:at,zoomIndex:de,sizePx:qt,gapPx:Gt}),[jt,at,de,qt,Gt]),Yt=(0,t.useMemo)(()=>ve?(0,Q.deriveClipsFromClusters)({clusters:Kt,recording:Nt.recording,deviceId:e.deviceId}):ne,[ve,Kt,Nt.recording,e.deviceId]),Qt=(0,t.useMemo)(()=>(0,Q.clipStartByCardId)(Yt),[Yt]),Ut=(0,t.useMemo)(()=>(0,Q.clipEndByCardId)(Yt),[Yt]),Jt=(0,t.useMemo)(()=>Yt.map(e=>e.clip),[Yt]),Vt=(0,t.useMemo)(()=>ve?(0,U.buildClipAxis)(Jt,{topMs:at,sizePx:qt,gapPx:Gt,minGapMs:2e3}):null,[ve,Jt,at,qt,Gt]),Xt=(0,t.useMemo)(()=>null!==Vt?(0,Q.positionDerivedClips)(Vt,Yt):Kt,[Vt,Yt,Kt]),$t=(0,t.useMemo)(()=>null===Vt?null:{epochToOffset:e=>(0,U.clipAxisEpochToOffset)(Vt,e),offsetToEpoch:e=>(0,U.clipAxisOffsetToEpoch)(Vt,it,e),contentSpanPx:Vt.contentSpanPx},[Vt,it]),en=(0,t.useMemo)(()=>{if(null!==Vt)return Vt.slots.filter(e=>'gap'===e.kind&&e.durationMs>=2e3).map(e=>({topPx:e.topPx,heightPx:e.heightPx,durationMs:e.durationMs}))},[Vt]),tn=(0,t.useMemo)(()=>{if(null!==Vt)return(0,U.clipAxisTicks)(Vt,{targetSpacingPx:E.TIMELINE_ROW_HEIGHT})},[Vt]),nn='live'===e.mode||null===e.activeEpoch?null:e.activeEpoch,on=(0,t.useMemo)(()=>(0,V.buildExpansionMap)(Xt,nn,de),[Xt,nn,de]),an=(0,t.useRef)(on);(0,V.expansionMapsEqual)(an.current,on)||(an.current=on);const ln=an.current;(0,t.useEffect)(()=>{const t=qe.current,n=Xt.filter(e=>e.topPx>=t-80-e.heightPx&&e.topPx<=t+Ke+80).length,o=e=>new Date(e).toLocaleTimeString(),l=Ft.map(e=>e.timestamp);A.log.info('theater:clusters','render state',{deviceId:e.deviceId,objectEvents:Ft.length,objectEventRange:l.length>0?{first:o(Math.min(...l)),last:o(Math.max(...l))}:null,zone:null===ot?null:{kind:ot.kind,points:'polygon'===ot.kind?ot.points.length:4,kept:zt.length,dropped:Ft.length-zt.length,frame:(0,F.resolveFrameSize)(Ft)},clusters:Xt.length,visibleClusters:n,activity:{recording:Nt.recording.length,motion:Nt.motion.length,audio:Nt.audio.length},geometry:{cardWidth:Wt,viewportHeight:Ke,listWrapWidth:Qe,scrollOffsetY:t,sizePx:qt,gapPx:Gt,zoomIndex:de},dayWindow:ct})},[e.deviceId,Ft,Xt,ot,zt,Nt.recording.length,Nt.motion.length,Nt.audio.length,Wt,Ke,Qe,qt,Gt,de,ct]);const sn=(0,P.useRecordingAvailability)(e.deviceId,ct.from,ct.to,!0),rn=sn.data??oe,cn=sn.refetch,un=Ht.refetch,{failed:dn,fetching:pn,reason:mn,onRetry:gn}=e.streamFault,hn=(0,t.useMemo)(()=>({stream:{failed:dn,fetching:pn,reason:mn},recordings:{failed:sn.isError||Ht.failed,fetching:sn.isFetching||Ht.fetching,reason:null},events:{failed:wt.isError,fetching:wt.isFetching,reason:null}}),[dn,pn,mn,sn.isError,sn.isFetching,Ht.failed,Ht.fetching,wt.isError,wt.isFetching]),[fn,vn]=(0,t.useState)([]),bn=(0,t.useMemo)(()=>(0,q.activeFaultSources)(hn),[hn]);(0,t.useEffect)(()=>{vn(e=>(0,q.pruneDismissals)(e,bn))},[bn]);const Mn=(0,t.useMemo)(()=>(0,q.resolveTimelineFaults)({connected:'connected'===Pt,sources:hn,dismissed:fn}),[Pt,hn,fn]),kn=(0,G.resolveRecordingDaysStatus)({connected:'connected'===Pt,failed:Mt.isError,fetching:Mt.isFetching}),yn=(0,t.useCallback)(e=>{if('stream'!==e)return'recordings'===e?(cn(),void un()):void Rt();gn()},[gn,cn,un,Rt]),Sn=(0,t.useCallback)(e=>{vn(t=>t.includes(e)?t:[...t,e])},[]),Cn=(0,t.useMemo)(()=>{const t=e.activeEpoch;return null===t?(0,E.heatmapCursorFraction)(re):(0,x.epochToDayFraction)(t,ct.from,ct.to)},[e.activeEpoch,ct,re]),En=e.onScrubBegin,Tn=e.onScrubCommit,xn=e.onGoLive,Bn=(0,t.useRef)(O.DETENT_INITIAL),In=(0,t.useRef)(Xt),Ln=(0,t.useRef)(de);(0,t.useEffect)(()=>{In.current=Xt},[Xt]),(0,t.useEffect)(()=>{Ln.current=de},[de]);const Dn=e.onScrubMove,On=(0,t.useCallback)((e,t)=>{const n=(0,O.resolveDetent)(Bn.current,(0,V.nearestClusterId)(In.current,e,Ln.current),Date.now());Bn.current=n.state,n.tick&&(0,D.hapticDetent)(),Dn(e,t)},[Dn]),Pn=(0,t.useCallback)(e=>{(0,D.hapticTap)(),Bn.current={key:null,lastTickMs:Date.now()},En(e)},[En]),wn=(0,t.useCallback)((e,t)=>{(0,D.hapticTap)(),Tn(e,t)},[Tn]),An=(0,t.useCallback)(()=>{(0,D.hapticTap)(),xn()},[xn]),Rn=(0,I.useTimelineScrub)({deviceId:e.deviceId,topMs:it,zoomIndex:de,isLive:lt,indicatorPx:Ve,viewportHeight:Ke,timelineFromMs:pt,lookbackDays:ut,maxLookbackDays:30,onScrubBegin:Pn,onScrubMove:On,onScrubCommit:wn,onGoLive:An,onScrollOffset:Ge,onExtendLookback:mt,epochMap:$t}),Fn=Rn.scrollListTo,_n=e.onGoLive,zn=(0,t.useCallback)(()=>{Fn(0,!0),_n()},[_n,Fn]),jn=e.mode;(0,t.useEffect)(()=>{'playback'===jn&&null!==It&&Fn((0,T.mappedEpochToOffset)(It,it,de,$t),!1)},[jn,It,it,de,Fn,$t]);const Hn=null!==$t,Nn=(0,t.useRef)(Hn);(0,t.useEffect)(()=>{Nn.current!==Hn&&(Nn.current=Hn,Fn((0,T.mappedEpochToOffset)(It??it,it,de,$t),!1))},[Hn,It,it,de,$t,Fn]);const Wn=(0,t.useRef)(Yt);(0,t.useEffect)(()=>{Wn.current=Yt},[Yt]);const Zn=(0,t.useCallback)((e,t)=>{const n=ve?(0,Q.clipForCardId)(Wn.current,t.id):null;if(null!==n)return ke(n.clipId),void yt(n.startMs,'cluster');ke(null),yt(e.timestamp,'cluster')},[ve,yt]),qn=Se.openCluster,Gn=(0,t.useCallback)(e=>{yt(e,'cluster'),Te()},[yt,Te]),Kn=ye,Yn=(0,t.useMemo)(()=>ve?Object.assign({},J.EMPTY_RIBBON,{clips:(0,J.normalizeClips)(Jt)}):J.EMPTY_RIBBON,[ve,Jt]),Qn=e.onSeek;(0,t.useEffect)(()=>{if(!ve)return;if(null!==e.seekAnchor)return;const t=(0,J.resolveClipAdvance)({layout:Yn,currentClipId:Me,playheadMs:e.activeEpoch,endGuardMs:J.DEFAULT_END_GUARD_MS});'advance'===t.kind?(ke(t.clip.clipId),Qn(t.clip.startMs,'cluster')):'finished'===t.kind&&ke(null)},[ve,Yn,Me,e.activeEpoch,e.seekAnchor,Qn]);const Un=(0,t.useMemo)(()=>(0,W.resolveClipsStatus)({active:ve,connected:'connected'===Pt,loading:wt.isLoading||Ht.loading,failed:wt.isError||Ht.failed,clipCount:Jt.length}),[ve,Pt,wt.isLoading,wt.isError,Ht.loading,Ht.failed,Jt.length]),{data:Jn=null}=(0,v.useBattery)(e.deviceId,e.deviceBinding.hasBattery),Vn=(0,t.useMemo)(()=>({from:pt,to:ct.to}),[pt,ct.to]),Xn=e.deviceBinding.onSwitchCamera,$n=e.deviceBinding.onOpenAdhocGrid,eo=(0,t.useCallback)(e=>{Te(),Xn(e)},[Te,Xn]),to=(0,t.useCallback)(e=>{Te(),$n(e)},[Te,$n]),no=(0,t.useCallback)(e=>'absent'!==(0,w.recordingKnownAt)(rn,ct.from,ct.to,e.representative.timestamp),[rn,ct.from,ct.to]),oo=(0,t.useCallback)(e=>(0,x.dayFractionToEpoch)(e,ct.from,ct.to),[ct.from,ct.to]),io=e.onScrubBegin,ao=e.onScrubMove,lo=e.onScrubCommit,so=(0,t.useCallback)(e=>yt(oo(e),'heatmap'),[oo,yt]),ro=(0,t.useCallback)(()=>io('heatmap'),[io]),co=(0,t.useCallback)(e=>ao(oo(e),'heatmap'),[oo,ao]),uo=(0,t.useCallback)(e=>lo(oo(e),'heatmap'),[oo,lo]),po=tt||$e.has('motion'),mo=tt||$e.has('audio'),go=(0,t.useMemo)(()=>po?jt:[],[po,jt]),ho=(0,t.useMemo)(()=>{const e=(0,R.objectEventsToHeatmapBins)(go,rt,nt),t=po?(0,R.mergeMotionIntoHeatmapBins)(e,Nt.motion,rt):e;return mo?(0,R.mergeAudioIntoHeatmapBins)(t,Nt.audio,rt):t},[go,rt,po,mo,Nt.audio,Nt.motion,nt]),fo=(0,t.useMemo)(()=>new Date(e.activeEpoch??re).toLocaleTimeString(void 0,{hour:'2-digit',minute:'2-digit',second:'2-digit'}),[e.activeEpoch,re]),vo=e.layoutMode??'stack',bo=!0===e.inAppPip,Mo=e.railWidth??p.TIMELINE_RAIL_WIDTH_NARROW,ko=(0,X.jsx)(u.TimelineToolbarInline,{onBack:e.onBack,hideBack:e.hideBack,dateLabel:(0,j.dateLabel)(rt,re,ee),onPrevDay:St,onOpenDatePicker:Et,onNextDay:Ct,nextDayDisabled:rt>=gt,hasPtz:e.deviceBinding.hasPtz,battery:Jn,ptzOpen:'ptz'===Ce?.kind,onTogglePtz:Le,devicesOpen:'devices'===Ce?.kind,onToggleDevices:De,menuOpen:'viewOptions'===Ce?.kind,onToggleMenu:Oe,qualityOpen:we,onToggleQuality:Re,qualityLabel:ee((0,b.qualityLabelKey)(e.streamBinding.quality)),qualityOptions:Fe,qualityValue:e.streamBinding.quality,onSelectQuality:ze,exportMenuOpen:'captureActions'===Ce?.kind,onToggleExportMenu:Ie,snapshotBusy:e.snapshotBusy,exportMenuLabel:ee('v2.exportActions.title'),legendOpen:'legend'===Ce?.kind,onToggleLegend:Pe}),yo='panel'===Ee.kind,So=(0,X.jsxs)(n.default,{style:ae.bodyStack,children:[(0,X.jsx)(n.default,{style:ae.bodyLayer,pointerEvents:yo?'none':'auto',children:(0,X.jsx)(y.FreezeWhileCovered,{frozen:yo,children:(0,X.jsx)(k.TimelineView,{onBodyLayout:Je,scrollerRef:Rn.scrollerRef,playback:{mode:e.mode,rate:e.playbackRate,paused:e.paused,loading:e.loading,faulted:dn,scrubDirection:e.scrubDirection,onTogglePause:e.onTogglePlayPause,onJogBack:e.onJogBack,onJogForward:e.onJogForward,onStepFrame:e.onStepFrame,onSelectRate:e.onSelectRate,onGoLive:zn,liveLocked:e.liveLocked,onToggleLiveLock:e.onToggleLiveLock,capturing:e.capturing,captureElapsedLabel:e.captureElapsedLabel,onToggleCapture:e.onToggleCapture},heatmap:{bins:ho,cursorFraction:Cn,coverage:rn,dayStartMs:ct.from,dayEndMs:ct.to,onSeekFraction:so,onScrubStart:ro,onScrubFraction:co,onScrubEnd:uo},scroller:{topMs:at,zoomIndex:de,dayWindow:Vn,clusters:Xt,activity:Nt,showMotionLane:po,showAudioLane:mo,cardWidth:Wt,viewportHeight:Ke,indicatorOffsetPx:Ve,isLive:lt,onScroll:Rn.onScroll,onScrollBeginDrag:Rn.onScrollBeginDrag,onScrollEndDrag:Rn.onScrollEndDrag,onMomentumScrollBegin:Rn.onMomentumScrollBegin,onMomentumScrollEnd:Rn.onMomentumScrollEnd,onClusterPress:Zn,onClusterOpenDetail:ve?void 0:qn,expansion:ln,clusterLabel:Xe.clusterLabelMode,eventKinds:Xe.eventKinds,epochMap:$t,gapMarkers:en,axisTicks:tn,hideActivity:ve,enableClusterActions:!ve,clipStartByCardId:Qt,clipEndByCardId:Ut},faults:{faults:Mn,onRetry:yn,onDismiss:Sn},history:{visible:wt.hasMoreHistory,loading:wt.isLoadingMoreHistory,onLoadMore:wt.loadMoreHistory},clipsStatus:Un,indicator:{offsetPx:Ve,measured:Ke>0,isLive:lt,timeLabel:fo},footer:{onZoomIn:he,onZoomOut:fe,onFilter:Be,onZoneFilter:null!==ot?e.onClearZone:e.onRequestZoneDraw,onOpenClips:Kn,onPickCamera:je,canZoomIn:me&&!ve,canZoomOut:ge&&!ve,filterActive:Xe.filterActive,zoneActive:null!==ot,clipsActive:ve,bottomInset:se.bottom}})})}),'panel'===Ee.kind?(0,X.jsx)(n.default,{style:ae.panelLayer,children:(0,X.jsx)(S.TimelineBodyPanel,{panel:Ee.panel,deviceId:e.deviceId,onClose:Se.close,filterBinding:{filter:$e,onToggleKind:Xe.onToggleKind,classes:_t,classFilter:et,onToggleClass:Xe.onToggleClass,onSetClasses:Xe.onSetClasses,onReset:Xe.onReset,eventKinds:Xe.eventKinds},dateBinding:{monthAnchorMs:ht,selectedDayMs:rt,daysSet:kt??ie,daysStatus:kn,nowMs:re,onChangeMonth:Bt,onPick:Tt,onPickTime:xt},captureBinding:{onSnapshot:e.onSnapshot,snapshotBusy:e.snapshotBusy,onOpenExport:Dt,exportAnchorMs:Se.exportAnchorMs,onExportCreated:e.onExportCreated},clusterBinding:{onSeek:Gn,seekAvailable:no},deviceBinding:{cameraName:e.name,hasPtz:e.deviceBinding.hasPtz,hasBattery:e.deviceBinding.hasBattery,onSwitchCamera:eo,onOpenAdhocGrid:to},streamBinding:e.streamBinding,viewOptionsBinding:e.viewOptionsBinding,overlayBinding:e.overlayBinding,managementBinding:{onOpenStorage:Ne,onOpenEventStore:We,onBackToViewOptions:Ze}})}):null]}),Co=!0===e.transparent||'fill'===vo||bo;return(0,X.jsxs)(n.default,{pointerEvents:bo?'box-none':'auto',style:[ae.container,'wide'!==vo||bo?null:ae.wideRow,{backgroundColor:Co?'transparent':le.background},bo?o.default.absoluteFill:null],children:['stack'!==vo||bo?null:ko,(0,X.jsx)(n.default,{pointerEvents:bo?'box-none':'auto',style:bo?[o.default.absoluteFill,{zIndex:f.STREAM_SLOT_Z}]:(0,f.streamSlotStyle)(vo),children:e.stream??null}),bo?null:'fill'===vo?(0,X.jsxs)(h.LandscapeTimelineOverlay,{open:!0===e.drawerExpanded,children:[ko,So]}):'wide'===vo?(0,X.jsx)(n.default,{style:[ae.wideRail,{width:Mo}],children:(0,X.jsxs)(d.TimelineScaleProvider,{availableWidth:Mo,children:[ko,So]})}):So]})}),te=[],ne=[],oe=[],ie=new Set,ae=o.default.create({container:{flex:1},bodyStack:{flex:1,minHeight:0,position:'relative'},bodyLayer:{flex:1,minHeight:0},panelLayer:{position:'absolute',top:0,left:0,right:0,bottom:0},wideRow:{flexDirection:'row',minHeight:0},wideRail:{minHeight:0}})},2040,[17,20,33,782,466,827,2041,2042,2044,2045,2047,1593,2048,2049,2050,2073,2074,2127,1557,2055,2052,2128,2129,2133,809,2134,1630,1631,814,1797,1832,1641,2078,2082,1594,2081,2072,1034,2135,2136,2137,2139,2140,2141,2062,2142,10]);
|
|
3401
|
+
__d(function(g,r,i,a,m,_e,_d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"TheaterTimeline",{enumerable:!0,get:function(){return te}});var t=r(_d[0]),n=e(r(_d[1])),o=e(r(_d[2])),s=r(_d[3]),l=r(_d[4]),c=r(_d[5]),u=r(_d[6]),d=r(_d[7]),p=r(_d[8]),h=r(_d[9]),f=r(_d[10]),v=r(_d[11]),b=r(_d[12]),k=r(_d[13]),y=r(_d[14]),M=r(_d[15]),S=r(_d[16]),C=r(_d[17]),E=r(_d[18]),T=r(_d[19]),x=r(_d[20]),B=r(_d[21]),I=r(_d[22]),D=r(_d[23]),L=r(_d[24]),O=r(_d[25]),P=r(_d[26]),w=r(_d[27]),A=r(_d[28]),F=r(_d[29]),R=r(_d[30]),_=r(_d[31]),z=r(_d[32]),j=r(_d[33]),H=r(_d[34]),N=r(_d[35]),W=r(_d[36]),Z=r(_d[37]),q=r(_d[38]),G=r(_d[39]),K=r(_d[40]),Y=r(_d[41]),Q=r(_d[42]),U=r(_d[43]),J=r(_d[44]),V=r(_d[45]),X=r(_d[46]),$=r(_d[47]);const ee=864e5,te=(0,t.memo)(function(e){const{t:te}=(0,s.useTranslation)(),{colors:le}=(0,c.useTheme)(),re=(0,l.useSafeAreaInsets)(),[ce,ue]=(0,t.useState)(()=>Date.now());(0,t.useEffect)(()=>{const e=setInterval(()=>ue(Date.now()),1e3);return()=>clearInterval(e)},[]);const de=(0,N.useSettings)().settings.clusters,[pe,me]=(0,t.useState)(E.DEFAULT_ZOOM_INDEX),ge=pe<E.ZOOM_LEVELS.length-1,he=pe>0,fe=(0,t.useCallback)(()=>me(e=>(0,E.clampZoomIndex)(e+1)),[]),ve=(0,t.useCallback)(()=>me(e=>(0,E.clampZoomIndex)(e-1)),[]),[be,ke]=(0,t.useState)(!1),[ye,Me]=(0,t.useState)(null),Se=(0,t.useCallback)(()=>{ke(e=>!e),Me(null)},[]),Ce=(0,C.useTimelinePanels)(),{panel:Ee,body:Te,close:xe}=Ce,Be=Ce.toggle,Ie=(0,t.useCallback)(()=>Be('filter'),[Be]),De=(0,t.useCallback)(()=>Be('captureActions'),[Be]),Le=(0,t.useCallback)(()=>Be('ptz'),[Be]),Oe=(0,t.useCallback)(()=>Be('devices'),[Be]),Pe=(0,t.useCallback)(()=>Be('viewOptions'),[Be]),we=(0,t.useCallback)(()=>Be('legend'),[Be]),[Ae,Fe]=(0,t.useState)(!1),Re=(0,t.useCallback)(()=>Fe(e=>!e),[]),ze=(0,t.useMemo)(()=>b.QUALITY_ORDER.map(e=>({value:e,label:te((0,b.qualityLabelKey)(e))})),[te]),je=(0,t.useCallback)(t=>{const n=b.QUALITY_ORDER.find(e=>e===t);n&&e.streamBinding.onSelectQuality(n),Fe(!1)},[e.streamBinding]),He=(0,t.useCallback)(()=>Be('cameraSwitcher'),[Be]),Ne=Ce.open,We=(0,t.useCallback)(()=>Ne('storage'),[Ne]),Ze=(0,t.useCallback)(()=>Ne('eventStore'),[Ne]),qe=(0,t.useCallback)(()=>Ne('viewOptions'),[Ne]),Ge=(0,t.useRef)(0),Ke=(0,t.useCallback)(e=>{Ge.current=e},[]),[Ye,Qe]=(0,t.useState)(0),[Ue,Je]=(0,t.useState)(0),Ve=(0,t.useCallback)(e=>{const{height:t,width:n}=e.nativeEvent.layout;t>0&&Qe(t),n>0&&Je(n)},[]),Xe=(0,t.useMemo)(()=>(0,B.indicatorOffsetPx)(Ye,B.FIXED_INDICATOR_POSITION_PCT),[Ye]),$e=(0,k.useTimelineFilter)(e.deviceId),{filter:et,classFilter:tt,filterAll:nt,classToMacro:ot}=$e,at=e.zoneRect,it=ce,st=(0,t.useMemo)(()=>(0,T.layoutAnchorMs)(ce,pe),[ce,pe]),lt='live'===e.mode&&null===e.activeEpoch,rt=e.activeEpoch??ce,ct=(0,t.useMemo)(()=>{const e=new Date(rt);return e.setHours(0,0,0,0),e.getTime()},[rt]),ut=(0,t.useMemo)(()=>({from:ct,to:ct+ee}),[ct]),[dt,pt]=(0,t.useState)(1),mt=ct-(dt-1)*ee,gt=(0,t.useCallback)(()=>pt(e=>Math.min(30,e+1)),[]),ht=(0,t.useRef)(ct);(0,t.useEffect)(()=>{(0,F.isSettledDayChange)({mode:e.mode,previousSettledDayFrom:ht.current,nextDayFrom:ct})&&pt(e=>(0,F.nextLookbackDaysAfterDayChange)({previousDayFrom:ht.current,previousLookbackDays:e,nextDayFrom:ct,dayMs:ee,maxLookbackDays:30})),'seeking'!==e.mode&&(ht.current=ct)},[ct,e.mode]);const ft=(0,t.useMemo)(()=>{const e=new Date(ce);return e.setHours(0,0,0,0),e.getTime()},[ce]),[vt,bt]=(0,t.useState)(ct),{fromMs:kt,toMs:yt}=(0,t.useMemo)(()=>(0,j.monthBoundsForMs)(vt),[vt]),Mt=(0,P.useDaysWithRecordings)(e.deviceId,kt,yt,'date'===Ee?.kind),St=Mt.data,Ct=e.onSeek,Et=(0,t.useCallback)(()=>{Ct((0,H.dayAtSameTime)(rt,ct-ee,ce),'timeline')},[Ct,rt,ct,ce]),Tt=(0,t.useCallback)(()=>{ct>=ft||Ct((0,H.dayAtSameTime)(rt,ct+ee,ce),'timeline')},[Ct,rt,ct,ft,ce]),xt=(0,t.useCallback)(()=>{bt(ct),Be('date')},[ct,Be]),Bt=(0,t.useCallback)(e=>{xe(),Ct((0,H.dayAtSameTime)(rt,e,ce),'timeline')},[xe,Ct,rt,ce]),It=(0,t.useCallback)(e=>{xe(),Ct(e,'timeline')},[xe,Ct]),Dt=(0,t.useCallback)(e=>{bt(t=>{const n=new Date(t);return new Date(n.getFullYear(),n.getMonth()+e,1,0,0,0,0).getTime()})},[]),Lt=e.activeEpoch,Ot=Ce.openExport,Pt=(0,t.useCallback)(()=>{Ot(Lt??Date.now())},[Ot,Lt]),wt=(0,D.useTimelineDeferral)(e.loading),{state:At}=(0,q.useConnection)(),Ft=(0,W.useDeviceTracks)(e.deviceId,mt,ut.to,wt,at,{pollLive:'live'===e.mode}),Rt=Ft.data??ne,_t=Ft.refetch,zt=Rt,jt=(0,t.useMemo)(()=>{const e=new Set;for(const t of zt)t.className.length>0&&e.add(t.className);return[...(0,z.collapseToMacro)([...e],ot)].sort()},[zt,ot]),Ht=(0,t.useMemo)(()=>(0,_.filterEventsByZone)(zt,at),[zt,at]),Nt=(0,t.useMemo)(()=>(0,R.filterDetectionsByKind)(Ht,et,tt,ot),[Ht,et,tt,ot]),Wt=(0,Y.useTimelineActivity)(e.deviceId,mt,ut.to,wt),Zt=Wt.activity,qt=(0,t.useMemo)(()=>Ue>0?Math.round(Ue*de.cardWidthFraction):0,[Ue,de.cardWidthFraction]),Gt=(0,t.useMemo)(()=>qt>0?Math.round(.5625*qt):0,[qt]),{sizePx:Kt,gapPx:Yt}=(0,t.useMemo)(()=>{const e=Math.max(8,Gt);return{sizePx:e,gapPx:de.gapPercent/100*e}},[Gt,de.gapPercent]),Qt=(0,t.useMemo)(()=>(0,Q.clusterByZoom)(Nt,{topMs:st,zoomIndex:pe,sizePx:Kt,gapPx:Yt}),[Nt,st,pe,Kt,Yt]),Ut=(0,t.useMemo)(()=>be?(0,U.deriveClipsFromClusters)({clusters:Qt,recording:Zt.recording,deviceId:e.deviceId}):oe,[be,Qt,Zt.recording,e.deviceId]),Jt=(0,t.useMemo)(()=>(0,U.clipStartByCardId)(Ut),[Ut]),Vt=(0,t.useMemo)(()=>(0,U.clipEndByCardId)(Ut),[Ut]),Xt=(0,t.useMemo)(()=>Ut.map(e=>e.clip),[Ut]),$t=(0,t.useMemo)(()=>be?(0,J.buildClipAxis)(Xt,{topMs:st,sizePx:Kt,gapPx:Yt,minGapMs:2e3}):null,[be,Xt,st,Kt,Yt]),en=(0,t.useMemo)(()=>null!==$t?(0,U.positionDerivedClips)($t,Ut):Qt,[$t,Ut,Qt]),tn=(0,t.useMemo)(()=>null===$t?null:{epochToOffset:e=>(0,J.clipAxisEpochToOffset)($t,e),offsetToEpoch:e=>(0,J.clipAxisOffsetToEpoch)($t,it,e),contentSpanPx:$t.contentSpanPx},[$t,it]),nn=(0,t.useMemo)(()=>{if(null!==$t)return $t.slots.filter(e=>'gap'===e.kind&&e.durationMs>=2e3).map(e=>({topPx:e.topPx,heightPx:e.heightPx,durationMs:e.durationMs}))},[$t]),on=(0,t.useMemo)(()=>{if(null!==$t)return(0,J.clipAxisTicks)($t,{targetSpacingPx:E.TIMELINE_ROW_HEIGHT})},[$t]),an='live'===e.mode||null===e.activeEpoch?null:e.activeEpoch,sn=(0,t.useMemo)(()=>(0,X.buildExpansionMap)(en,an,pe),[en,an,pe]),ln=(0,t.useRef)(sn);(0,X.expansionMapsEqual)(ln.current,sn)||(ln.current=sn);const rn=ln.current;(0,t.useEffect)(()=>{const t=Ge.current,n=en.filter(e=>e.topPx>=t-80-e.heightPx&&e.topPx<=t+Ye+80).length,o=e=>new Date(e).toLocaleTimeString(),s=zt.map(e=>e.timestamp);A.log.info('theater:clusters','render state',{deviceId:e.deviceId,objectEvents:zt.length,objectEventRange:s.length>0?{first:o(Math.min(...s)),last:o(Math.max(...s))}:null,zone:null===at?null:{kind:at.kind,points:'polygon'===at.kind?at.points.length:4,kept:Ht.length,dropped:zt.length-Ht.length,frame:(0,_.resolveFrameSize)(zt)},clusters:en.length,visibleClusters:n,activity:{recording:Zt.recording.length,motion:Zt.motion.length,audio:Zt.audio.length},geometry:{cardWidth:qt,viewportHeight:Ye,listWrapWidth:Ue,scrollOffsetY:t,sizePx:Kt,gapPx:Yt,zoomIndex:pe},dayWindow:ut})},[e.deviceId,zt,en,at,Ht,Zt.recording.length,Zt.motion.length,Zt.audio.length,qt,Ye,Ue,Kt,Yt,pe,ut]);const cn=(0,P.useRecordingAvailability)(e.deviceId,ut.from,ut.to,!0),un=cn.data??ae,dn=cn.refetch,pn=Wt.refetch,{failed:mn,fetching:gn,reason:hn,onRetry:fn}=e.streamFault,vn=(0,t.useMemo)(()=>({stream:{failed:mn,fetching:gn,reason:hn},recordings:{failed:cn.isError||Wt.failed,fetching:cn.isFetching||Wt.fetching,reason:null},events:{failed:Ft.isError,fetching:Ft.isFetching,reason:null}}),[mn,gn,hn,cn.isError,cn.isFetching,Wt.failed,Wt.fetching,Ft.isError,Ft.isFetching]),[bn,kn]=(0,t.useState)([]),yn=(0,t.useMemo)(()=>(0,G.activeFaultSources)(vn),[vn]);(0,t.useEffect)(()=>{kn(e=>(0,G.pruneDismissals)(e,yn))},[yn]);const Mn=(0,t.useMemo)(()=>(0,G.resolveTimelineFaults)({connected:'connected'===At,sources:vn,dismissed:bn}),[At,vn,bn]),Sn=(0,K.resolveRecordingDaysStatus)({connected:'connected'===At,failed:Mt.isError,fetching:Mt.isFetching}),Cn=(0,t.useCallback)(e=>{if('stream'!==e)return'recordings'===e?(dn(),void pn()):void _t();fn()},[fn,dn,pn,_t]),En=(0,t.useCallback)(e=>{kn(t=>t.includes(e)?t:[...t,e])},[]),Tn=(0,t.useMemo)(()=>{const t=e.activeEpoch;return null===t?(0,E.heatmapCursorFraction)(ce):(0,x.epochToDayFraction)(t,ut.from,ut.to)},[e.activeEpoch,ut,ce]),xn=e.onScrubBegin,Bn=e.onScrubCommit,In=e.onGoLive,Dn=(0,t.useRef)(O.DETENT_INITIAL),Ln=(0,t.useRef)(en),On=(0,t.useRef)(pe);(0,t.useEffect)(()=>{Ln.current=en},[en]),(0,t.useEffect)(()=>{On.current=pe},[pe]);const Pn=e.onScrubMove,wn=(0,t.useCallback)((e,t)=>{const n=(0,O.resolveDetent)(Dn.current,(0,X.nearestClusterId)(Ln.current,e,On.current),Date.now());Dn.current=n.state,n.tick&&(0,L.hapticDetent)(),Pn(e,t)},[Pn]),An=(0,t.useCallback)(e=>{(0,L.hapticTap)(),Dn.current={key:null,lastTickMs:Date.now()},xn(e)},[xn]),Fn=(0,t.useCallback)((e,t)=>{(0,L.hapticTap)(),Bn(e,t)},[Bn]),Rn=(0,t.useCallback)(()=>{(0,L.hapticTap)(),In()},[In]),_n=(0,I.useTimelineScrub)({deviceId:e.deviceId,topMs:it,zoomIndex:pe,isLive:lt,indicatorPx:Xe,viewportHeight:Ye,timelineFromMs:mt,lookbackDays:dt,maxLookbackDays:30,onScrubBegin:An,onScrubMove:wn,onScrubCommit:Fn,onGoLive:Rn,onScrollOffset:Ke,onExtendLookback:gt,epochMap:tn}),zn=_n.scrollListTo,jn=e.onGoLive,Hn=(0,t.useCallback)(()=>{zn(0,!0),jn()},[jn,zn]),Nn=e.mode;(0,t.useEffect)(()=>{'playback'===Nn&&null!==Lt&&zn((0,T.mappedEpochToOffset)(Lt,it,pe,tn),!1)},[Nn,Lt,it,pe,zn,tn]);const Wn=null!==tn,Zn=(0,t.useRef)(Wn);(0,t.useEffect)(()=>{Zn.current!==Wn&&(Zn.current=Wn,zn((0,T.mappedEpochToOffset)(Lt??it,it,pe,tn),!1))},[Wn,Lt,it,pe,tn,zn]);const qn=(0,t.useRef)(Ut);(0,t.useEffect)(()=>{qn.current=Ut},[Ut]);const Gn=(0,t.useCallback)((e,t)=>{const n=be?(0,U.clipForCardId)(qn.current,t.id):null;if(null!==n)return Me(n.clipId),void Ct(n.startMs,'cluster');Me(null),Ct(e.timestamp,'cluster')},[be,Ct]),Kn=Ce.openCluster,Yn=(0,t.useCallback)(e=>{Ct(e,'cluster'),xe()},[Ct,xe]),Qn=Se,Un=(0,t.useMemo)(()=>be?Object.assign({},V.EMPTY_RIBBON,{clips:(0,V.normalizeClips)(Xt)}):V.EMPTY_RIBBON,[be,Xt]),Jn=e.onSeek;(0,t.useEffect)(()=>{if(!be)return;if(null!==e.seekAnchor)return;const t=(0,V.resolveClipAdvance)({layout:Un,currentClipId:ye,playheadMs:e.activeEpoch,endGuardMs:V.DEFAULT_END_GUARD_MS});'advance'===t.kind?(Me(t.clip.clipId),Jn(t.clip.startMs,'cluster')):'finished'===t.kind&&Me(null)},[be,Un,ye,e.activeEpoch,e.seekAnchor,Jn]);const Vn=(0,t.useMemo)(()=>(0,Z.resolveClipsStatus)({active:be,connected:'connected'===At,loading:Ft.isLoading||Wt.loading,failed:Ft.isError||Wt.failed,clipCount:Xt.length}),[be,At,Ft.isLoading,Ft.isError,Wt.loading,Wt.failed,Xt.length]),{data:Xn=null}=(0,v.useBattery)(e.deviceId,e.deviceBinding.hasBattery),$n=(0,t.useMemo)(()=>({from:mt,to:ut.to}),[mt,ut.to]),eo=e.deviceBinding.onSwitchCamera,to=e.deviceBinding.onOpenAdhocGrid,no=(0,t.useCallback)(e=>{xe(),eo(e)},[xe,eo]),oo=(0,t.useCallback)(e=>{xe(),to(e)},[xe,to]),ao=(0,t.useCallback)(e=>'absent'!==(0,w.recordingKnownAt)(un,ut.from,ut.to,e.representative.timestamp),[un,ut.from,ut.to]),io=(0,t.useCallback)(e=>(0,x.dayFractionToEpoch)(e,ut.from,ut.to),[ut.from,ut.to]),so=e.onScrubBegin,lo=e.onScrubMove,ro=e.onScrubCommit,co=(0,t.useCallback)(e=>Ct(io(e),'heatmap'),[io,Ct]),uo=(0,t.useCallback)(()=>so('heatmap'),[so]),po=(0,t.useCallback)(e=>lo(io(e),'heatmap'),[io,lo]),mo=(0,t.useCallback)(e=>ro(io(e),'heatmap'),[io,ro]),go=nt||et.has('motion'),ho=nt||et.has('audio'),fo=(0,t.useMemo)(()=>go?Nt:[],[go,Nt]),vo=(0,t.useMemo)(()=>{const e=(0,R.objectEventsToHeatmapBins)(fo,ct,ot),t=go?(0,R.mergeMotionIntoHeatmapBins)(e,Zt.motion,ct):e;return ho?(0,R.mergeAudioIntoHeatmapBins)(t,Zt.audio,ct):t},[fo,ct,go,ho,Zt.audio,Zt.motion,ot]),bo=(0,t.useMemo)(()=>new Date(e.activeEpoch??ce).toLocaleTimeString(void 0,{hour:'2-digit',minute:'2-digit',second:'2-digit'}),[e.activeEpoch,ce]),ko=e.layoutMode??'stack',yo=!0===e.inAppPip,Mo=e.railWidth??p.TIMELINE_RAIL_WIDTH_NARROW,So=(0,$.jsx)(u.TimelineToolbarInline,{onBack:e.onBack,hideBack:e.hideBack,dateLabel:(0,H.dateLabel)(ct,ce,te),onPrevDay:Et,onOpenDatePicker:xt,onNextDay:Tt,nextDayDisabled:ct>=ft,hasPtz:e.deviceBinding.hasPtz,battery:Xn,ptzOpen:'ptz'===Ee?.kind,onTogglePtz:Le,devicesOpen:'devices'===Ee?.kind,onToggleDevices:Oe,menuOpen:'viewOptions'===Ee?.kind,onToggleMenu:Pe,qualityOpen:Ae,onToggleQuality:Re,qualityLabel:te((0,b.qualityLabelKey)(e.streamBinding.quality)),qualityOptions:ze,qualityValue:e.streamBinding.quality,onSelectQuality:je,exportMenuOpen:'captureActions'===Ee?.kind,onToggleExportMenu:De,snapshotBusy:e.snapshotBusy,exportMenuLabel:te('v2.exportActions.title'),legendOpen:'legend'===Ee?.kind,onToggleLegend:we}),Co='panel'===Te.kind,Eo=(0,$.jsxs)(n.default,{style:se.bodyStack,children:[(0,$.jsx)(n.default,{style:se.bodyLayer,pointerEvents:Co?'none':'auto',children:(0,$.jsx)(M.FreezeWhileCovered,{frozen:Co,children:(0,$.jsx)(y.TimelineView,{onBodyLayout:Ve,scrollerRef:_n.scrollerRef,playback:{mode:e.mode,rate:e.playbackRate,paused:e.paused,loading:e.loading,faulted:mn,scrubDirection:e.scrubDirection,onTogglePause:e.onTogglePlayPause,onJogBack:e.onJogBack,onJogForward:e.onJogForward,onStepFrame:e.onStepFrame,onSelectRate:e.onSelectRate,onGoLive:Hn,liveLocked:e.liveLocked,onToggleLiveLock:e.onToggleLiveLock,capturing:e.capturing,captureElapsedLabel:e.captureElapsedLabel,onToggleCapture:e.onToggleCapture},heatmap:{bins:vo,cursorFraction:Tn,coverage:un,dayStartMs:ut.from,dayEndMs:ut.to,onSeekFraction:co,onScrubStart:uo,onScrubFraction:po,onScrubEnd:mo},scroller:{topMs:st,zoomIndex:pe,dayWindow:$n,clusters:en,activity:Zt,showMotionLane:go,showAudioLane:ho,cardWidth:qt,viewportHeight:Ye,indicatorOffsetPx:Xe,isLive:lt,onScroll:_n.onScroll,onScrollBeginDrag:_n.onScrollBeginDrag,onScrollEndDrag:_n.onScrollEndDrag,onMomentumScrollBegin:_n.onMomentumScrollBegin,onMomentumScrollEnd:_n.onMomentumScrollEnd,onClusterPress:Gn,onClusterOpenDetail:be?void 0:Kn,expansion:rn,clusterLabel:$e.clusterLabelMode,eventKinds:$e.eventKinds,epochMap:tn,gapMarkers:nn,axisTicks:on,hideActivity:be,enableClusterActions:!be,clipStartByCardId:Jt,clipEndByCardId:Vt},faults:{faults:Mn,onRetry:Cn,onDismiss:En},history:{visible:Ft.hasMoreHistory,loading:Ft.isLoadingMoreHistory,onLoadMore:Ft.loadMoreHistory},clipsStatus:Vn,indicator:{offsetPx:Xe,measured:Ye>0,isLive:lt,timeLabel:bo},footer:{onZoomIn:fe,onZoomOut:ve,onFilter:Ie,onZoneFilter:null!==at?e.onClearZone:e.onRequestZoneDraw,onOpenClips:Qn,onPickCamera:He,canZoomIn:ge&&!be,canZoomOut:he&&!be,filterActive:$e.filterActive,zoneActive:null!==at,clipsActive:be,bottomInset:re.bottom}})})}),'panel'===Te.kind?(0,$.jsx)(n.default,{style:se.panelLayer,children:(0,$.jsx)(S.TimelineBodyPanel,{panel:Te.panel,deviceId:e.deviceId,onClose:Ce.close,filterBinding:{filter:et,onToggleKind:$e.onToggleKind,classes:jt,classFilter:tt,onToggleClass:$e.onToggleClass,onSetClasses:$e.onSetClasses,onReset:$e.onReset,eventKinds:$e.eventKinds},dateBinding:{monthAnchorMs:vt,selectedDayMs:ct,daysSet:St??ie,daysStatus:Sn,nowMs:ce,onChangeMonth:Dt,onPick:Bt,onPickTime:It},captureBinding:{onSnapshot:e.onSnapshot,snapshotBusy:e.snapshotBusy,onOpenExport:Pt,exportAnchorMs:Ce.exportAnchorMs,onExportCreated:e.onExportCreated},clusterBinding:{onSeek:Yn,seekAvailable:ao},deviceBinding:{cameraName:e.name,hasPtz:e.deviceBinding.hasPtz,hasBattery:e.deviceBinding.hasBattery,onSwitchCamera:no,onOpenAdhocGrid:oo},streamBinding:e.streamBinding,viewOptionsBinding:e.viewOptionsBinding,overlayBinding:e.overlayBinding,managementBinding:{onOpenStorage:We,onOpenEventStore:Ze,onBackToViewOptions:qe}})}):null]}),To=!0===e.transparent||'fill'===ko||yo;return(0,$.jsxs)(n.default,{pointerEvents:yo?'box-none':'auto',style:[se.container,'wide'!==ko||yo?null:se.wideRow,{backgroundColor:To?'transparent':le.background},yo?o.default.absoluteFill:null],children:['stack'!==ko||yo?null:So,(0,$.jsx)(n.default,{pointerEvents:yo?'box-none':'auto',style:yo?[o.default.absoluteFill,{zIndex:f.STREAM_SLOT_Z}]:(0,f.streamSlotStyle)(ko),children:e.stream??null}),yo?null:'fill'===ko?(0,$.jsxs)(h.LandscapeTimelineOverlay,{open:!0===e.drawerExpanded,children:[So,Eo]}):'wide'===ko?(0,$.jsx)(n.default,{style:[se.wideRail,{width:Mo}],children:(0,$.jsxs)(d.TimelineScaleProvider,{availableWidth:Mo,children:[So,Eo]})}):Eo]})}),ne=[],oe=[],ae=[],ie=new Set,se=o.default.create({container:{flex:1},bodyStack:{flex:1,minHeight:0,position:'relative'},bodyLayer:{flex:1,minHeight:0},panelLayer:{position:'absolute',top:0,left:0,right:0,bottom:0},wideRow:{flexDirection:'row',minHeight:0},wideRail:{minHeight:0}})},2040,[17,20,33,782,466,827,2041,2042,2044,2045,2047,1593,2048,2049,2050,2073,2074,2127,1557,2055,2052,2128,2129,2133,809,2134,1630,1631,814,2132,1797,1832,1641,2078,2082,1594,2081,2072,1034,2135,2136,2137,2139,2140,2141,2062,2142,10]);
|
|
3402
3402
|
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"TimelineToolbarInline",{enumerable:!0,get:function(){return z}});var o=r(d[0]),t=r(d[1]),n=e(r(d[2])),l=e(r(d[3])),s=e(r(d[4])),c=e(r(d[5])),u=e(r(d[6])),p=r(d[7]),y=r(d[8]),x=r(d[9]),b=r(d[10]),f=r(d[11]),h=r(d[12]),O=r(d[13]),j=r(d[14]);const z=(0,t.memo)(function(e){const t=(0,o.c)(186),{t:c}=(0,p.useTranslation)(),{colors:O}=(0,h.useTheme)(),z=(0,y.useTimelineScale)(),T=z.control.button,P=z.control.arrow,v=z.space.sm+z.space.xs,M=z.space.xs+z.space.xs;let q;t[0]!==T||t[1]!==O.primary||t[2]!==z.radius.md?(q=e=>[S.iconBtn,{minWidth:T,height:T,borderRadius:z.radius.md},{backgroundColor:e?O.primary:"transparent"}],t[0]=T,t[1]=O.primary,t[2]=z.radius.md,t[3]=q):q=t[3];const C=q;let D;t[4]!==O.foregroundMuted||t[5]!==O.primaryForeground?(D=e=>e?O.primaryForeground:O.foregroundMuted,t[4]=O.foregroundMuted,t[5]=O.primaryForeground,t[6]=D):D=t[6];const w=D;let k,R,I;t[7]!==O.background||t[8]!==O.border?(k=[S.container,{backgroundColor:O.background,borderBottomColor:O.border}],t[7]=O.background,t[8]=O.border,t[9]=k):k=t[9],t[10]!==v||t[11]!==z.space.md||t[12]!==z.space.xs?(R=[S.row,{paddingVertical:v,gap:z.space.xs,paddingHorizontal:z.space.md}],t[10]=v,t[11]=z.space.md,t[12]=z.space.xs,t[13]=R):R=t[13],t[14]!==T||t[15]!==O.foreground||t[16]!==e||t[17]!==c||t[18]!==z.icon.md?(I=e.hideBack?null:(0,j.jsx)(s.default,{style:[S.backBtn,{width:T,height:T,borderRadius:T/2}],onPress:()=>{(0,f.hapticTap)(),e.onBack()},hitSlop:6,accessibilityLabel:c("v2.common.back"),children:(0,j.jsx)(b.ArrowLeft,{size:z.icon.md,color:O.foreground})}),t[14]=T,t[15]=O.foreground,t[16]=e,t[17]=c,t[18]=z.icon.md,t[19]=I):I=t[19];const L=P/2;let A,B,G,H,N;t[20]!==P||t[21]!==L?(A=[S.dateArrow,{width:P,height:P,borderRadius:L}],t[20]=P,t[21]=L,t[22]=A):A=t[22],t[23]!==e?(B=()=>{(0,f.hapticTap)(),e.onPrevDay?.()},t[23]=e,t[24]=B):B=t[24],t[25]!==z?(G=z.px(16),t[25]=z,t[26]=G):G=t[26],t[27]!==O.foregroundMuted||t[28]!==G?(H=(0,j.jsx)(b.ChevronLeft,{size:G,color:O.foregroundMuted}),t[27]=O.foregroundMuted,t[28]=G,t[29]=H):H=t[29],t[30]!==A||t[31]!==B||t[32]!==H?(N=(0,j.jsx)(s.default,{style:A,onPress:B,hitSlop:6,children:H}),t[30]=A,t[31]=B,t[32]=H,t[33]=N):N=t[33];const W=e.onOpenDatePicker;let _,E,V,Q,F,U,J,K,X;t[34]!==O.surface||t[35]!==M||t[36]!==z.radius.lg||t[37]!==z.space.md||t[38]!==z.space.sm?(_=[S.datePill,{backgroundColor:O.surface,paddingVertical:M,paddingHorizontal:z.space.md,gap:z.space.sm,borderRadius:z.radius.lg}],t[34]=O.surface,t[35]=M,t[36]=z.radius.lg,t[37]=z.space.md,t[38]=z.space.sm,t[39]=_):_=t[39],t[40]!==z?(E=z.px(12),t[40]=z,t[41]=E):E=t[41],t[42]!==O.foregroundSubtle||t[43]!==E?(V=(0,j.jsx)(b.Calendar,{size:E,color:O.foregroundSubtle}),t[42]=O.foregroundSubtle,t[43]=E,t[44]=V):V=t[44],t[45]!==O.foreground||t[46]!==z.font.sm?(Q=[S.dateText,{color:O.foreground,fontSize:z.font.sm}],t[45]=O.foreground,t[46]=z.font.sm,t[47]=Q):Q=t[47],t[48]!==e.dateLabel||t[49]!==Q?(F=(0,j.jsx)(l.default,{style:Q,children:e.dateLabel}),t[48]=e.dateLabel,t[49]=Q,t[50]=F):F=t[50],t[51]!==z?(U=z.px(10),t[51]=z,t[52]=U):U=t[52],t[53]!==O.foregroundSubtle||t[54]!==U?(J=(0,j.jsx)(b.ChevronDown,{size:U,color:O.foregroundSubtle}),t[53]=O.foregroundSubtle,t[54]=U,t[55]=J):J=t[55],t[56]!==_||t[57]!==V||t[58]!==F||t[59]!==J?(K=(0,j.jsxs)(n.default,{style:_,children:[V,F,J]}),t[56]=_,t[57]=V,t[58]=F,t[59]=J,t[60]=K):K=t[60],t[61]!==e.onOpenDatePicker||t[62]!==K?(X=(0,j.jsx)(s.default,{onPress:W,children:K}),t[61]=e.onOpenDatePicker,t[62]=K,t[63]=X):X=t[63];const Y=P/2;let Z,$;t[64]!==P||t[65]!==Y?(Z=[S.dateArrow,{width:P,height:P,borderRadius:Y}],t[64]=P,t[65]=Y,t[66]=Z):Z=t[66],t[67]!==e?($=()=>{(0,f.hapticTap)(),e.onNextDay?.()},t[67]=e,t[68]=$):$=t[68];const ee=e.nextDayDisabled;let oe;t[69]!==z?(oe=z.px(16),t[69]=z,t[70]=oe):oe=t[70];const te=e.nextDayDisabled?O.foregroundSubtle:O.foregroundMuted;let ne,re,le,ie,se,ae,de;t[71]!==oe||t[72]!==te?(ne=(0,j.jsx)(b.ChevronRight,{size:oe,color:te}),t[71]=oe,t[72]=te,t[73]=ne):ne=t[73],t[74]!==e.nextDayDisabled||t[75]!==Z||t[76]!==$||t[77]!==ne?(re=(0,j.jsx)(s.default,{style:Z,onPress:$,disabled:ee,hitSlop:6,children:ne}),t[74]=e.nextDayDisabled,t[75]=Z,t[76]=$,t[77]=ne,t[78]=re):re=t[78],t[79]===Symbol.for("react.memo_cache_sentinel")?(le=(0,j.jsx)(n.default,{style:S.spacer}),t[79]=le):le=t[79],t[80]!==O||t[81]!==e.battery||t[82]!==z.icon.sm||t[83]!==z.space.xs?(ie=e.battery?(0,j.jsx)(n.default,{style:{paddingHorizontal:z.space.xs},children:(0,j.jsx)(x.BatteryBadge,{battery:e.battery,colors:O,size:z.icon.sm})}):null,t[80]=O,t[81]=e.battery,t[82]=z.icon.sm,t[83]=z.space.xs,t[84]=ie):ie=t[84],t[85]!==C||t[86]!==w||t[87]!==e.exportMenuLabel||t[88]!==e.exportMenuOpen||t[89]!==e.onToggleExportMenu||t[90]!==e.snapshotBusy||t[91]!==z.icon.sm?(se=e.onToggleExportMenu?(0,j.jsx)(s.default,{style:C(e.exportMenuOpen),onPress:e.onToggleExportMenu,hitSlop:6,accessibilityLabel:e.exportMenuLabel,children:e.snapshotBusy?(0,j.jsx)(u.default,{size:"small",color:w(e.exportMenuOpen)}):(0,j.jsx)(b.Camera,{size:z.icon.sm,color:w(e.exportMenuOpen)})}):null,t[85]=C,t[86]=w,t[87]=e.exportMenuLabel,t[88]=e.exportMenuOpen,t[89]=e.onToggleExportMenu,t[90]=e.snapshotBusy,t[91]=z.icon.sm,t[92]=se):se=t[92],t[93]!==C||t[94]!==w||t[95]!==e.hasPtz||t[96]!==e.onTogglePtz||t[97]!==e.ptzOpen||t[98]!==z.icon.sm?(ae=e.hasPtz&&e.onTogglePtz?(0,j.jsx)(s.default,{style:C(e.ptzOpen),onPress:e.onTogglePtz,hitSlop:6,children:(0,j.jsx)(b.Move,{size:z.icon.sm,color:w(e.ptzOpen)})}):null,t[93]=C,t[94]=w,t[95]=e.hasPtz,t[96]=e.onTogglePtz,t[97]=e.ptzOpen,t[98]=z.icon.sm,t[99]=ae):ae=t[99],t[100]!==C||t[101]!==e.devicesOpen?(de=C(e.devicesOpen),t[100]=C,t[101]=e.devicesOpen,t[102]=de):de=t[102];const ce=e.onToggleDevices,ue=z.icon.sm;let pe,ge,ye,me;t[103]!==w||t[104]!==e.devicesOpen?(pe=w(e.devicesOpen),t[103]=w,t[104]=e.devicesOpen,t[105]=pe):pe=t[105],t[106]!==pe||t[107]!==z.icon.sm?(ge=(0,j.jsx)(b.LayoutGrid,{size:ue,color:pe}),t[106]=pe,t[107]=z.icon.sm,t[108]=ge):ge=t[108],t[109]!==e.onToggleDevices||t[110]!==de||t[111]!==ge?(ye=(0,j.jsx)(s.default,{style:de,onPress:ce,hitSlop:6,children:ge}),t[109]=e.onToggleDevices,t[110]=de,t[111]=ge,t[112]=ye):ye=t[112],t[113]!==C||t[114]!==e.menuOpen?(me=C(e.menuOpen),t[113]=C,t[114]=e.menuOpen,t[115]=me):me=t[115];const xe=e.onToggleMenu,be=z.icon.sm;let fe,he,Oe,je;t[116]!==w||t[117]!==e.menuOpen?(fe=w(e.menuOpen),t[116]=w,t[117]=e.menuOpen,t[118]=fe):fe=t[118],t[119]!==fe||t[120]!==z.icon.sm?(he=(0,j.jsx)(b.List,{size:be,color:fe}),t[119]=fe,t[120]=z.icon.sm,t[121]=he):he=t[121],t[122]!==e.onToggleMenu||t[123]!==me||t[124]!==he?(Oe=(0,j.jsx)(s.default,{style:me,onPress:xe,hitSlop:6,children:he}),t[122]=e.onToggleMenu,t[123]=me,t[124]=he,t[125]=Oe):Oe=t[125],t[126]!==C||t[127]!==e.qualityOpen?(je=C(e.qualityOpen),t[126]=C,t[127]=e.qualityOpen,t[128]=je):je=t[128];const ze=e.onToggleQuality,Se=!0===e.qualityOpen;let Te,Pe,ve,Me,qe,Ce,De,we,ke,Re,Ie,Le,Ae;return t[129]!==Se?(Te={expanded:Se},t[129]=Se,t[130]=Te):Te=t[130],t[131]!==w||t[132]!==e.qualityOpen?(Pe=w(e.qualityOpen),t[131]=w,t[132]=e.qualityOpen,t[133]=Pe):Pe=t[133],t[134]!==Pe||t[135]!==z.font.xs?(ve=[S.qualityText,{color:Pe,fontSize:z.font.xs}],t[134]=Pe,t[135]=z.font.xs,t[136]=ve):ve=t[136],t[137]!==e.qualityLabel||t[138]!==ve?(Me=(0,j.jsx)(l.default,{style:ve,children:e.qualityLabel}),t[137]=e.qualityLabel,t[138]=ve,t[139]=Me):Me=t[139],t[140]!==z?(qe=z.px(12),t[140]=z,t[141]=qe):qe=t[141],t[142]!==w||t[143]!==e.qualityOpen?(Ce=w(e.qualityOpen),t[142]=w,t[143]=e.qualityOpen,t[144]=Ce):Ce=t[144],t[145]!==qe||t[146]!==Ce?(De=(0,j.jsx)(b.ChevronDown,{size:qe,color:Ce}),t[145]=qe,t[146]=Ce,t[147]=De):De=t[147],t[148]!==e.onToggleQuality||t[149]!==je||t[150]!==Te||t[151]!==Me||t[152]!==De?(we=(0,j.jsxs)(s.default,{style:je,onPress:ze,hitSlop:6,accessibilityRole:"button",accessibilityState:Te,children:[Me,De]}),t[148]=e.onToggleQuality,t[149]=je,t[150]=Te,t[151]=Me,t[152]=De,t[153]=we):we=t[153],t[154]!==O.backgroundElevated||t[155]!==O.border||t[156]!==O.foreground||t[157]!==O.primary||t[158]!==e||t[159]!==z?(ke=e.qualityOpen&&e.qualityOptions&&e.qualityOptions.length>0?(0,j.jsx)(n.default,{style:[S.qualityMenu,{marginTop:z.space.xs,borderRadius:z.radius.lg,backgroundColor:O.backgroundElevated,borderColor:O.border}],accessibilityRole:"menu",children:e.qualityOptions.map(o=>{const t=o.value===e.qualityValue;return(0,j.jsxs)(s.default,{onPress:()=>{(0,f.hapticTap)(),e.onSelectQuality?.(o.value)},style:S.qualityRow,accessibilityRole:"menuitem",accessibilityState:{selected:t},children:[(0,j.jsx)(l.default,{style:{fontSize:z.font.sm,color:t?O.primary:O.foreground,fontWeight:t?"700":"500"},children:o.label}),t?(0,j.jsx)(b.Check,{size:z.px(14),color:O.primary}):null]},o.value)})}):null,t[154]=O.backgroundElevated,t[155]=O.border,t[156]=O.foreground,t[157]=O.primary,t[158]=e,t[159]=z,t[160]=ke):ke=t[160],t[161]!==we||t[162]!==ke?(Re=(0,j.jsxs)(n.default,{style:S.qualityAnchor,children:[we,ke]}),t[161]=we,t[162]=ke,t[163]=Re):Re=t[163],t[164]!==C||t[165]!==w||t[166]!==e||t[167]!==c||t[168]!==z.icon.sm?(Ie=e.onToggleLegend?(0,j.jsx)(s.default,{style:C(e.legendOpen),onPress:()=>{(0,f.hapticTap)(),e.onToggleLegend?.()},hitSlop:6,accessibilityRole:"button",accessibilityLabel:c("v2.theater.legend.open"),children:(0,j.jsx)(b.HelpCircle,{size:z.icon.sm,color:w(e.legendOpen)})}):null,t[164]=C,t[165]=w,t[166]=e,t[167]=c,t[168]=z.icon.sm,t[169]=Ie):Ie=t[169],t[170]!==N||t[171]!==X||t[172]!==re||t[173]!==R||t[174]!==ie||t[175]!==se||t[176]!==ae||t[177]!==ye||t[178]!==I||t[179]!==Oe||t[180]!==Re||t[181]!==Ie?(Le=(0,j.jsxs)(n.default,{style:R,children:[I,N,X,re,le,ie,se,ae,ye,Oe,Re,Ie]}),t[170]=N,t[171]=X,t[172]=re,t[173]=R,t[174]=ie,t[175]=se,t[176]=ae,t[177]=ye,t[178]=I,t[179]=Oe,t[180]=Re,t[181]=Ie,t[182]=Le):Le=t[182],t[183]!==k||t[184]!==Le?(Ae=(0,j.jsx)(n.default,{style:k,children:Le}),t[183]=k,t[184]=Le,t[185]=Ae):Ae=t[185],Ae}),S=c.default.create({container:{borderBottomWidth:1,zIndex:20},row:{flexDirection:'row',alignItems:'center',gap:O.SPACING.xs,paddingHorizontal:O.SPACING.md,paddingVertical:O.SPACING.sm+2},backBtn:{width:30,height:30,borderRadius:15,alignItems:'center',justifyContent:'center'},dateArrow:{width:28,height:28,borderRadius:14,alignItems:'center',justifyContent:'center'},datePill:{flexDirection:'row',alignItems:'center',gap:O.SPACING.sm,paddingHorizontal:O.SPACING.md,paddingVertical:O.SPACING.xs+2,borderRadius:O.RADIUS.lg},dateText:{fontSize:12,fontWeight:'600'},spacer:{flex:1},iconBtn:{minWidth:30,height:30,paddingHorizontal:O.SPACING.sm,borderRadius:O.RADIUS.lg,alignItems:'center',justifyContent:'center'},qualityAnchor:{position:'relative'},qualityMenu:{position:'absolute',top:'100%',right:0,minWidth:132,borderWidth:1,paddingVertical:4,zIndex:40,elevation:8},qualityRow:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',gap:12,paddingHorizontal:12,paddingVertical:8},qualityText:{fontSize:10,fontWeight:'700'}})},2041,[15,17,20,112,252,33,240,782,2042,1595,833,809,827,829,10]);
|
|
3403
3403
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.TimelineScaleProvider=function(n){const u=(0,t.c)(5),{availableWidth:s,children:v}=n;let _;u[0]!==s?(_=(0,c.timelineTokens)(s),u[0]=s,u[1]=_):_=u[1];const f=_;let S;u[2]!==v||u[3]!==f?(S=(0,l.jsx)(o.Provider,{value:f,children:v}),u[2]=v,u[3]=f,u[4]=S):S=u[4];return S},e.useTimelineScale=function(){return(0,n.useContext)(o)};var t=r(d[0]),n=r(d[1]),c=r(d[2]),l=r(d[3]);const o=(0,n.createContext)(c.FULL_SIZE_TOKENS)},2042,[15,17,2043,10]);
|
|
3404
3404
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"REFERENCE_WIDTH",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"MIN_SCALE",{enumerable:!0,get:function(){return o}}),Object.defineProperty(e,"MAX_SCALE",{enumerable:!0,get:function(){return u}}),e.scaleForWidth=f,e.timelineTokens=b,Object.defineProperty(e,"FULL_SIZE_TOKENS",{enumerable:!0,get:function(){return l}});var t=r(d[0]);const n=390,o=.66,u=1;function c(t,n){return!Number.isFinite(t)||t<=0?t:Math.max(1,Math.round(t*n))}function s(t,n){const o={};for(const u of Object.keys(t))o[u]=c(t[u],n);return o}function f(t){if(!Number.isFinite(t)||t<=0)return u;const c=t/n;return Math.min(u,Math.max(o,c))}function b(n){const o=f(n);return{scale:o,space:s(t.SPACING,o),radius:s(t.RADIUS,o),font:s(t.TYPOGRAPHY.size,o),control:{button:c(30,o),arrow:c(28,o),primary:c(40,o)},icon:{xs:c(11,o),sm:c(14,o),md:c(18,o)},px:t=>c(t,o)}}const l=b(n)},2043,[829]);
|
|
@@ -3490,7 +3490,7 @@ __d(function(g,r,i,a,m,e,d){"use strict";function t(t){return Number.isFinite(t)
|
|
|
3490
3490
|
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"LIVE_EDGE_TOLERANCE_MS",{enumerable:!0,get:function(){return l}}),_e.useTimelineScrub=function(S){const E=(0,e.c)(50),{deviceId:R,topMs:_,zoomIndex:y,isLive:x,indicatorPx:L,viewportHeight:O,timelineFromMs:T,lookbackDays:D,maxLookbackDays:M,onScrubBegin:w,onScrubMove:I,onScrubCommit:P,onGoLive:G,onScrollOffset:B,onExtendLookback:H,epochMap:j}=S,z=void 0===j?null:j,C=(0,t.useRef)(null),N=(0,t.useRef)(0),q=(0,t.useRef)(o.idleScrubGesture),A=(0,t.useRef)(!1),F=(0,t.useRef)(!1),V=(0,t.useRef)(null),W=(0,t.useRef)(null),Y=(0,t.useRef)(!1),J=(0,t.useRef)(0),K=(0,t.useRef)(x),Q=(0,t.useRef)(L),U=(0,t.useRef)(O),X=(0,t.useRef)(T),Z=(0,t.useRef)(z),$=(0,t.useRef)(u.idleLookbackWalk);let ee,te;E[0]!==z||E[1]!==L||E[2]!==x||E[3]!==D||E[4]!==T||E[5]!==O?(ee=()=>{K.current=x,Q.current=L,U.current=O,X.current=T,Z.current=z,$.current=(0,u.observeLookbackDays)($.current,D)},te=[x,L,O,T,D,z],E[0]=z,E[1]=L,E[2]=x,E[3]=D,E[4]=T,E[5]=O,E[6]=ee,E[7]=te):(ee=E[6],te=E[7]);(0,t.useEffect)(ee,te);const re=(0,t.useRef)(!1),ne=(0,t.useRef)(0),ce=(0,t.useRef)(null);let oe;E[8]===Symbol.for("react.memo_cache_sentinel")?(oe=()=>{re.current=!1,ce.current&&(clearTimeout(ce.current),ce.current=null)},E[8]=oe):oe=E[8];const ue=oe;let se;E[9]===Symbol.for("react.memo_cache_sentinel")?(se=(e,t)=>{re.current=!0,ne.current=e,ce.current&&clearTimeout(ce.current),ce.current=setTimeout(()=>{re.current=!1,ce.current=null},h),C.current?.scrollToOffset({offset:e,animated:t})},E[9]=se):se=E[9];const le=se;let ie;E[10]===Symbol.for("react.memo_cache_sentinel")?(ie=()=>{V.current&&(clearTimeout(V.current),V.current=null)},E[10]=ie):ie=E[10];const ae=ie;let fe;E[11]===Symbol.for("react.memo_cache_sentinel")?(fe=()=>{W.current&&(clearTimeout(W.current),W.current=null)},E[11]=fe):fe=E[11];const me=fe;let de;E[12]!==L||E[13]!==G||E[14]!==w||E[15]!==P||E[16]!==I||E[17]!==_||E[18]!==O||E[19]!==y?(de=e=>{for(const t of e)e:switch(t.kind){case"begin":w("timeline");break e;case"move":I(t.epoch,"timeline");break e;case"commit":s.log.info("theater:scrub","seek committed",{epoch:t.epoch,at:new Date(t.epoch).toISOString(),indicatorPx:L,viewportHeight:O,zoomIndex:y,topMs:_}),P(t.epoch,"timeline");break e;case"goLive":K.current||(s.log.debug("theater:live-edge","go-live (scrolled into live edge)",{}),G())}},E[12]=L,E[13]=G,E[14]=w,E[15]=P,E[16]=I,E[17]=_,E[18]=O,E[19]=y,E[20]=de):de=E[20];const be=de;let ve;E[21]!==be?(ve=e=>{const{state:t,commands:n}=(0,o.reduceScrubGesture)(q.current,e);q.current=t,be(n)},E[21]=be,E[22]=ve):ve=E[22];const ke=ve;let he;E[23]!==ke?(he=()=>{ae(),V.current=setTimeout(()=>{V.current=null,A.current||F.current||ke({kind:"end"})},b)},E[23]=ke,E[24]=he):he=E[24];const ge=he;let pe;E[25]!==ke||E[26]!==_||E[27]!==y?(pe=e=>{if(ae(),!q.current.active||re.current)return;const t=Math.round((0,n.mappedOffsetToEpoch)(e,_,y,Z.current));(0,c.atLiveEdge)(_-t,l)?ke({kind:"liveEdge"}):(ke({kind:"frame",epoch:t}),ke({kind:"end"}))},E[25]=ke,E[26]=_,E[27]=y,E[28]=pe):pe=E[28];const Se=pe;let Ee;E[29]===Symbol.for("react.memo_cache_sentinel")?(Ee=()=>{A.current=!0,F.current=!1,Y.current=!1,ae(),me()},E[29]=Ee):Ee=E[29];const Re=Ee;let ye;E[30]!==Se?(ye=e=>{A.current=!1,ae();const t=e.nativeEvent.contentOffset.y;me(),W.current=setTimeout(()=>{W.current=null,F.current||(Y.current=!0,Se(t))},v)},E[30]=Se,E[31]=ye):ye=E[31];const xe=ye;let Le;E[32]===Symbol.for("react.memo_cache_sentinel")?(Le=()=>{F.current=!0,me()},E[32]=Le):Le=E[32];const Oe=Le;let Te;E[33]!==Se?(Te=e=>{F.current=!1,me(),Y.current?Y.current=!1:Se(e.nativeEvent.contentOffset.y)},E[33]=Se,E[34]=Te):Te=E[34];const De=Te;let Me,we,Ie;E[35]===Symbol.for("react.memo_cache_sentinel")?(Me=()=>()=>{ae(),me()},we=[ae,me],E[35]=Me,E[36]=we):(Me=E[35],we=E[36]);(0,t.useEffect)(Me,we),E[37]!==ge||E[38]!==R||E[39]!==ke||E[40]!==M||E[41]!==H||E[42]!==B||E[43]!==_||E[44]!==y?(Ie=e=>{const t=e.nativeEvent.contentOffset.y;B(t);const o=Q.current,b=U.current,v=(0,n.mappedEpochToOffset)(X.current,_,y,Z.current),h=o+Math.max(b,v)-b;if((0,u.nearOldestEnd)({offsetY:t,maxScrollPx:h,viewportHeightPx:b,compressed:null!==Z.current})){const e=$.current,t=(0,u.decideLookbackExtension)(e,M);if("extend"===t)$.current=(0,u.markLookbackRequested)(e),s.log.info("theater","back-scroll extending lookback",{deviceId:R,fromDays:e.observedDays,oldest:new Date(X.current).toISOString()}),H();else{const n=Date.now();n-J.current>=p&&(J.current=n,s.log.info("theater","back-scroll did NOT extend",{deviceId:R,outcome:t,days:e.observedDays,maxLookbackDays:M}))}}if(re.current)return void(Math.abs(t-ne.current)<=k&&ue());if(F.current&&Y.current)return;const S=Math.round((0,n.mappedOffsetToEpoch)(t,_,y,Z.current)),E=_-S;if((0,c.atLiveEdge)(E,l))return ae(),void ke({kind:"liveEdge"});const x=Date.now();q.current.active&&x-N.current<f||(N.current=x,ke({kind:"frame",epoch:S})),ge()},E[37]=ge,E[38]=R,E[39]=ke,E[40]=M,E[41]=H,E[42]=B,E[43]=_,E[44]=y,E[45]=Ie):Ie=E[45];const Pe=Ie;let Ge;E[46]!==De||E[47]!==Pe||E[48]!==xe?(Ge={scrollerRef:C,scrollListTo:le,onScroll:Pe,onScrollBeginDrag:Re,onScrollEndDrag:xe,onMomentumScrollBegin:Oe,onMomentumScrollEnd:De},E[46]=De,E[47]=Pe,E[48]=xe,E[49]=Ge):Ge=E[49];return Ge};var e=r(d[0]),t=r(d[1]),n=r(d[2]),c=r(d[3]),o=r(d[4]),u=r(d[5]),s=r(d[6]);const l=15e3,f=50,b=300,v=80,k=2,h=500,p=5e3},2129,[15,17,2055,2130,2131,2132,814]);
|
|
3491
3491
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.atLiveEdge=function(t,n){return t<=n}},2130,[]);
|
|
3492
3492
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"idleScrubGesture",{enumerable:!0,get:function(){return t}}),e.reduceScrubGesture=function(c,n){switch(n.kind){case'frame':return c.active?{state:Object.assign({},c,{lastEpoch:n.epoch}),commands:[{kind:'move',epoch:n.epoch}]}:{state:{active:!0,lastEpoch:n.epoch},commands:[{kind:'begin'},{kind:'move',epoch:n.epoch}]};case'liveEdge':return{state:t,commands:[{kind:'goLive'}]};case'end':return c.active&&null!==c.lastEpoch?{state:t,commands:[{kind:'commit',epoch:c.lastEpoch}]}:{state:t,commands:[]}}};const t={active:!1,lastEpoch:null}},2131,[]);
|
|
3493
|
-
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"idleLookbackWalk",{enumerable:!0,get:function(){return t}}),e.observeLookbackDays=function(t,
|
|
3493
|
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"idleLookbackWalk",{enumerable:!0,get:function(){return t}}),e.observeLookbackDays=function(t,o){return o===t.observedDays?t:{observedDays:o,requestedAtDays:-1}},e.decideLookbackExtension=function(t,o){return t.observedDays>=o?'capped':t.requestedAtDays===t.observedDays?'pending':'extend'},Object.defineProperty(e,"COMPRESSED_LOOKBACK_THRESHOLD_PX",{enumerable:!0,get:function(){return o}}),e.nearOldestEnd=function(t){const n=t.compressed?o:Math.max(0,t.viewportHeightPx);return t.offsetY>=t.maxScrollPx-n},e.markLookbackRequested=function(t){return{observedDays:t.observedDays,requestedAtDays:t.observedDays}},e.isSettledDayChange=function(t){return'seeking'!==t.mode&&t.previousSettledDayFrom!==t.nextDayFrom},e.nextLookbackDaysAfterDayChange=function(t){const o=t.previousDayFrom-(t.previousLookbackDays-1)*t.dayMs;if(!(t.nextDayFrom>=o&&t.nextDayFrom<=t.previousDayFrom))return 1;const n=Math.round((t.nextDayFrom-o)/t.dayMs)+1;return Math.min(t.maxLookbackDays,Math.max(1,n))};const t={observedDays:-1,requestedAtDays:-1};const o=32},2132,[]);
|
|
3494
3494
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"TIMELINE_DEFER_MS",{enumerable:!0,get:function(){return u}}),e.useTimelineDeferral=function(c){const o=(0,t.c)(3),[f,s]=(0,n.useState)(!1),l=(0,n.useRef)(!1);let _,E;o[0]!==c?(_=()=>{if(l.current)return;if(!c)return l.current=!0,void s(!0);const t=setTimeout(()=>{l.current=!0,s(!0)},u);return()=>clearTimeout(t)},E=[c],o[0]=c,o[1]=_,o[2]=E):(_=o[1],E=o[2]);return(0,n.useEffect)(_,E),f};var t=r(d[0]),n=r(d[1]);const u=1200},2133,[15,17]);
|
|
3495
3495
|
__d(function(g,r,i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"DETENT_INITIAL",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"DETENT_MIN_INTERVAL_MS",{enumerable:!0,get:function(){return n}}),e.resolveDetent=function(t,s,c,l=n){if(s===t.key)return{state:t,tick:!1};if(null===s)return{state:{key:null,lastTickMs:t.lastTickMs},tick:!1};if(c-t.lastTickMs<l)return{state:{key:s,lastTickMs:t.lastTickMs},tick:!1};return{state:{key:s,lastTickMs:c},tick:!0}},e.detentKeyForIds=function(t){const n=[...new Set(t)];return 0===n.length?null:n.sort((t,n)=>t-n).join(',')};const t={key:null,lastTickMs:0},n=80},2134,[]);
|
|
3496
3496
|
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FAULT_PRIORITY",{enumerable:!0,get:function(){return n}}),e.resolveTimelineFaults=function(t){if(!t.connected)return[];const s=[];for(const c of n){const n=t.sources[c];n.failed&&(t.dismissed.includes(c)||s.push({source:c,phase:n.fetching?'retrying':'failed',reason:n.reason}))}return s},e.activeFaultSources=function(t){return n.filter(n=>t[n].failed)},e.pruneDismissals=function(n,t){const s=n.filter(n=>t.includes(n));return s.length===n.length?n:s};const n=['stream','recordings','events']},2135,[]);
|
package/assets/viewer/index.html
CHANGED
|
@@ -36,6 +36,6 @@
|
|
|
36
36
|
</noscript>
|
|
37
37
|
<!-- The root element for your Expo app. -->
|
|
38
38
|
<div id="root"></div>
|
|
39
|
-
<script src="/viewer/camstack/_expo/static/js/web/index-
|
|
39
|
+
<script src="/viewer/camstack/_expo/static/js/web/index-8bdd37a92161eb68c6072b45d0e95ec7.js" defer></script>
|
|
40
40
|
</body>
|
|
41
41
|
</html>
|
package/dist/_stub.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-BiLBDmU5.mjs";
|
|
2
|
-
import { n as t, r as n, t as r } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
2
|
+
import { n as t, r as n, t as r } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-1epPtfef.mjs";
|
|
3
3
|
import { a as i, c as a, i as o, n as s, o as c, r as l, s as u, t as d } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react__loadShare__.js-a8tvh93M.mjs";
|
|
4
4
|
import { C as f, S as p, _ as m, a as h, b as g, c as _, d as v, f as y, g as b, h as x, i as S, l as C, m as w, n as T, o as E, p as D, r as O, s as k, t as ee, u as A, v as j, w as M, x as te, y as N } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-oRC8Serl.mjs";
|
|
5
5
|
import { n as P, r as F, t as I } from "./_virtual_mf___mfe_internal__addon_pipeline_orchestrator_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-yD-rMaFX.mjs";
|
|
@@ -16,7 +16,7 @@ globalThis[r] ||= {
|
|
|
16
16
|
remote: {}
|
|
17
17
|
}, globalThis[r].share ||= {}, globalThis[r].remote ||= {};
|
|
18
18
|
var i = globalThis[r], a, o, s, c = (e) => {
|
|
19
|
-
e.ACCESSORY_LABEL, e.ACCESS_ROLES, e.ALEXA_EGRESS_PROFILE, e.ALL_CAPABILITY_DEFINITIONS, e.APPLE_SA_TO_MACRO, e.AUDIO_ANALYSIS_CAP_NAME, e.AUDIO_BACKEND_CHOICES, e.AUDIO_MACRO_LABELS, e.AUDIO_PRESETS, e.AccessoriesStatusSchema, e.AccessoryKind, e.AddBrokerInputSchema, e.AddonAutoUpdateSchema, e.AddonListItemSchema, e.AddonPageDeclarationSchema, e.AddonPageInfoSchema, e.AdoptionAdoptInputSchema, e.AdoptionAdoptResultSchema, e.AdoptionCandidateResultSchema, e.AdoptionFilterSchema, e.AdoptionGetCandidateInputSchema, e.AdoptionJobSchema, e.AdoptionJobStateSchema, e.AdoptionListCandidatesInputSchema, e.AdoptionListCandidatesOutputSchema, e.AdoptionOutcomeSchema, e.AdoptionReleaseInputSchema, e.AdoptionStatusSchema, e.AgentLoadSummarySchema, e.AirQualitySensorStatusSchema, e.AlarmArmModeSchema, e.AlarmPanelStatusSchema, e.AlarmStateSchema, e.AlertSchema, e.AlertSeveritySchema, e.AlertSourceSchema, e.AlertStatusSchema, e.AmbientLightSensorStatusSchema, e.AnalyticsGroupDetailSchema, e.AnalyticsGroupMemberSchema, e.AnalyticsGroupRecordSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, e.AttachmentMediaTypeSchema, e.AttachmentSchema, e.AudioAnalysisResultSchema, e.AudioAnalysisSettingsSchema, e.AudioChunkInputSchema, e.AudioClassSummarySchema, e.AudioClassificationLabelSchema, e.AudioClassificationResultSchema, e.AudioCodecInfoSchema, e.AudioDecodeSessionConfigSchema, e.AudioEncodeSchema, e.AudioEncodeSessionConfigSchema, e.AudioEncodedChunkSchema, e.AudioEventSchema, e.AudioLevelSchema, e.AudioMetricsHistoryPointSchema, e.AudioMetricsHistorySchema, e.AudioMetricsSnapshotSchema, e.AudioPcmChunkSchema, e.AuthResultSchema, e.AutoUpdateSettingsSchema, e.AutomationActionSchema, e.AutomationConditionOperatorSchema, e.AutomationConditionSchema, e.AutomationControlStatusSchema, e.AutomationRecipeSchema, e.AutomationTriggerSchema, e.AvailableIntegrationTypeSchema, e.BACKEND_TO_FORMAT, e.BASE_LIVE_EGRESS_PROFILE, e.BATTERY_DEVICE_PROFILE, e.BATTERY_UNREACHABLE_AFTER_MS, e.BOOT_RECOVERY_BACKOFF_MS, e.BacklightModeSchema, e.BackupDestinationInfoSchema, e.BackupEntrySchema, e.BaseAddon, e.BaseDevice, e.BaseDeviceProvider, e.BatteryStatusSchema, e.BinaryStatusSchema, e.BoundingBoxSchema, e.BrightnessStatusSchema, e.BrokerAddInputSchema, e.BrokerAudioClientSchema, e.BrokerClientsSchema, e.BrokerConnectionDetailsSchema, e.BrokerConsumerAttributionSchema, e.BrokerConsumerKindSchema, e.BrokerDecodedClientSchema, e.BrokerEncodedClientSchema, e.BrokerGetStateInputSchema, e.BrokerInfoSchema, e.BrokerProviderInfoSchema, e.BrokerPublishInputSchema, e.BrokerRegistryStatusSchema, e.BrokerRtspClientSchema, e.BrokerStatsSchema, e.BrokerStatusEnum, e.BrokerStatusSchema, e.BrokerSubscribeInputSchema, e.BrokerSubscribeResultSchema, e.BrokerTestConnectionResultSchema, e.BrokerUnsubscribeInputSchema, e.CAMERA_SWITCH_CATALOG, e.CAMERA_SWITCH_ORDER, e.CAM_PROFILE_ORDER, e.CAPABILITY_NAMES, e.CAPABILITY_ROUTER_KEYS, e.CAP_NAMES_WITH_STATUS, e.CAP_NODE_PIN_CONTEXT_KEY, e.CAP_PROVIDER_KIND_MAP, e.CLASS_MAP_MACRO_TARGETS, e.CLUSTER_MODEL_SCOPED_STEPS, e.CLUSTER_MODEL_SECTION_ID, e.CLUSTER_STEP_SETTING_FIELDS, e.COCO_80_LABELS, e.COCO_TO_MACRO, e.CONNECTION_TEST_TIMEOUT_MS, e.CORE_BLOCKS_ADDON_ID, e.CORE_BLOCK_ADDON_PREFIX, e.CamProfileSchema, e.CamStreamDescriptorSchema, e.CamStreamKindSchema, e.CamStreamResolutionSchema, e.CameraAssignmentStatusSchema, e.CameraAudioStatusSchema, e.CameraBrokerProfileSchema, e.CameraBrokerStatusSchema, e.CameraCredentialsSchema, e.CameraCredentialsStatusSchema, e.CameraDecoderShmSchema, e.CameraDecoderStatusSchema, e.CameraDetectionPhaseSchema, e.CameraDetectionProvisioningSchema, e.CameraDetectionProvisioningStateSchema, e.CameraDetectionStatusSchema, e.CameraMetricsSchema, e.CameraMetricsWithDeviceIdSchema, e.CameraMotionStatusSchema, e.CameraRecordingModeSchema, e.CameraRecordingStatusSchema, e.CameraSourceStatusSchema, e.CameraSourceStreamSchema, e.CameraStatusDegradationReasonSchema, e.CameraStatusDegradationSchema, e.CameraStatusSchema, e.CameraStatusStageSchema, e.CameraStreamSchema, e.CameraSwitchAuthoritySchema, e.CameraSwitchGroupSchema, e.CameraSwitchIdSchema, e.CameraSwitchSchema, e.CameraSwitchUnavailableReasonSchema, e.CandidateQueryFilterSchema, e.CapScopeSchema, e.CapabilityBindingsSchema, e.CarbonMonoxideStatusSchema, e.ChargingStatus, e.ClassMapDefinitionSchema, e.ClientNetworkStatsSchema, e.ClimateControlStatusSchema, e.ClipPlaybackSchema, e.ClipSchema, e.ClusterAddonNodeDeploymentSchema, e.ClusterAddonStatusEntrySchema, e.CollectionColumnSchema, e.CollectionIndexSchema, e.ColorStatusSchema, e.ConfigEntrySchema, e.ConfigSectionWithValuesSchema, e.ConfigTabDeclarationSchema, e.ConnectionTestDescriptorSchema, e.ConnectionTestInputSchema, e.ConnectionTestOutcomeSchema, e.ConnectivityStatusSchema, e.ConsumableItemSchema, e.ConsumablesStatusSchema, e.ContactStatusSchema, e.ControlKindSchema, e.ControlStatusSchema, e.ConvertArtifactSchema, e.ConvertResultSchema, e.ConvertTargetSchema, e.CoreBlockCompileResultSchema, e.CoreBlockInputSchema, e.CoreBlockPlacementSchema, e.CoreBlockSchema, e.CoreBlockStatusSchema, e.CoverStateSchema, e.CoverStatusSchema, e.CreateApiKeyInputSchema, e.CreateApiKeyResultSchema, e.CreateIntegrationInputSchema, e.CreateScopedTokenInputSchema, e.CreateScopedTokenResultSchema, e.CreateUserInputSchema, e.CustomActionInputSchema, e.CustomModelDescriptorSchema, e.DATAPLANE_SECRET_HEADER, e.DECLARED_DEVICE_SWEEP_LIMIT, e.DECLARED_INTEGRATION_FIXED_KEY, e.DEFAULT_ADDON_PLACEMENT, e.DEFAULT_AUDIO_ANALYZER_CONFIG, e.DEFAULT_CLUSTER_STEP_MODELS, e.DEFAULT_CLUSTER_STEP_SETTINGS, e.DEFAULT_DECODER_HWACCEL_CONFIG, e.DEFAULT_DETAIL_CROP_CONVENTION, e.DEFAULT_EVENTS_BAND_BUFFER_SEC, e.DEFAULT_EVENT_COLOR, e.DEFAULT_FEATURES, e.DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, e.DEFAULT_NATIVE_LEASE_SETTINGS, e.DEFAULT_POOL_MEMORY_POLICY, e.DEFAULT_RECORDING_PROFILES, e.DEFAULT_RETENTION, e.DEFAULT_RUNTIME_STATE_DURABILITY, e.DEFAULT_TIMELAPSE_PREVIEW_TEXT, e.DETAIL_CROP_PADDING_FIELD, e.DETAIL_CROP_PADDING_KEY, e.DETAIL_CROP_SECTION_ID, e.DETAIL_CROP_SQUARE_KEY, e.DETECTION_MACRO_CLASSES, e.DETECTION_PIPELINE_CAP_NAME, e.DEVICE_BACKEND_TO_FORMAT, e.DEVICE_CAP_NAMES, e.DEVICE_PROFILES, e.DEVICE_SCOPED_CAPS, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATE_READERS, e.DEVICE_STATUS_METHOD, e.DEVICE_TYPE_CONTROL_KIND, e.DEVICE_TYPE_INFO, e.DataStoreEngineInfoSchema, e.DayNightModeSchema, e.DayNightOptionsSchema, e.DayNightSettingsPatchSchema, e.DayNightStatusSchema, e.DeclaredDevices, e.DecodedAudioChunkSchema, e.DecodedFrameSchema, e.DecoderSessionConfigSchema, e.DecoderStatsSchema, e.DeleteIntegrationResultSchema, e.DetailCropConventionSchema, e.DetectionSourceSchema, e.DeviceCodeSeveritySchema, e.DeviceConfig, e.DeviceDiscoveryStatusSchema, e.DeviceExportExposeInputSchema, e.DeviceExportStatusSchema, e.DeviceExportUnexposeInputSchema, e.DeviceFeature, e.DeviceInfoSchema, e.DeviceNetworkStatsSchema, e.DeviceRole, e.DeviceRuntimeState, e.DeviceSelectorSchema, e.DeviceStatusSchema, e.DeviceType, e.DiscoveredChildDeviceSchema, e.DiscoveredChildStatusSchema, e.DiscoveredDeviceSchema, e.DiscoveredTargetSchema, e.DiskReconcileJobSchema, e.DisposerChain, e.DoorbellPressEventSchema, e.DoorbellStatusSchema, e.EVENTFUL_CAP_NAMES, e.EVENT_KIND_BY_CAP, e.EVENT_PAD_MS, e.EVENT_TAXONOMY, e.EXPORT_DENSE_MAX_RANGES, e.EXPRESSION_BUILTINS, e.EXPRESSION_BUILTIN_NAMES, e.EXPRESSION_COMPILE_CACHE_CAPACITY, e.EXPRESSION_IDENTIFIER_RE, e.EXPRESSION_INJECTED_NOW, e.EgressEncodeSchema, e.EgressRateControlSchema, e.EgressTranscodeRequestSchema, e.EgressTranscodeSchema, e.ElementConfigStore, e.EmbeddingInfoSchema, e.EmbeddingResultSchema, e.EncodeProfileSchema, e.EncodedPacketSchema, e.EnrichedWidgetMetadataSchema, e.EnumSensorDateTimeFormatSchema, e.EnumSensorStatusSchema, e.EventCategory, e.EventEmitterStatusSchema, e.EventFireSchema, e.EventItemSchema, e.EventKindCategorySchema, e.EventKindDescriptorSchema, e.EventKindIconSchema, e.EventKindSchema, e.EventKindsForDeviceSchema, e.EventMediaArtifactSchema, e.EventMediaCoverageSchema, e.EventMediaKindSchema, e.EventMediaProductionSchema, e.EventSourceType, e.ExportBytesSchema, e.ExportDenseRangeSchema, e.ExportDenseSchema, e.ExportDownloadSchema, e.ExportOptionsSchema, e.ExportRecordSchema, e.ExportSetupFieldSchema, e.ExportSetupSchema, e.ExportSpeedSchema, e.ExportStateSchema, e.ExportTimelapseSchema, e.ExposedDeviceSchema, e.ExposureModeSchema, e.ExpressionBindingSourceSchema, e.ExpressionEvalError, e.ExpressionFieldBindingSchema, e.ExpressionGlobalBindingSchema, e.ExpressionLiteralBindingSchema, e.ExpressionParseError, e.ExpressionSourceSchema, e.FULL_IMAGE_BBOX, e.FanControlStatusSchema, e.FanDirectionSchema, e.FeatureManifestSchema, e.FeatureProbeStatusSchema, e.FloodStatusSchema, e.Fmp4BoxSplitter, e.FrameHandleFormatSchema, e.FrameHandleSchema, e.FrameInputSchema, e.FrameLazyCountersSchema, e.FrameLazyMetricsSchema, e.GasStatusSchema, e.GetStreamWithCodecInputSchema, e.GlobalMetricsSchema, e.HAP_AUDIO_BASE, e.HAP_AUDIO_BITRATE_KBPS, e.HAP_AUDIO_VBV_KBITS, e.HAP_KEYFRAME_INTERVAL_SEC, e.HF_BASE_URL, e.HF_REPO, e.HWACCEL_OPTIONS, e.HealthStatusSchema, e.HfModelResolutionSchema, e.HistoryPointSchema, e.HistoryResolutionEnum, e.HumidifierStatusSchema, e.HumiditySensorStatusSchema, e.HvacModeSchema, e.INFERENCE_DEVICE_EXCLUSION_REASONS, e.ImageContractSchema, e.ImageContractStateSchema, e.ImageRotateSchema, e.ImageSettingsOptionsSchema, e.ImageSettingsPatchSchema, e.ImageSettingsStatusSchema, e.ImageStatusSchema, e.InferenceDeviceExclusionReasonSchema, e.IngestOwnerSchema, e.InstalledPackageSchema, e.IntegrationLiteSchema, e.IntegrationWithStateSchema, e.IntercomAbilitySchema, e.IntercomStatusSchema, e.KNOWN_CAP_NAMES, e.KeyEventSchema, e.LOG_LEVEL_RANK, e.LabelAttributionSchema, e.LabelDefinitionSchema, e.LabelTierSchema, e.LawnMowerActivitySchema, e.LawnMowerControlStatusSchema, e.LinkedDeviceSchema, e.LinkedDevicesModeSchema, e.ListGroupsPageSchema, e.ListGroupsQueryInput, e.LlmDefaultSchema, e.LlmDefaultSelectorSchema, e.LlmDownloadProgressSchema, e.LlmErrorCodeSchema, e.LlmGenerateBaseInputSchema, e.LlmGenerateErrSchema, e.LlmGenerateOkSchema, e.LlmGenerateResultSchema, e.LlmImageSchema, e.LlmNodeModelSchema, e.LlmProfileKindDescriptorSchema, e.LlmProfileKindSchema, e.LlmProfileSchema, e.LlmRetryPolicySchema, e.LlmRuntimeCompleteInputSchema, e.LlmRuntimeDiskUsageSchema, e.LlmRuntimeNodeSchema, e.LlmRuntimeStatusSchema, e.LlmTimeoutDefaults, e.LlmUsageRollupSchema, e.LlmUsageSchema, e.LocateSegmentResultSchema, e.LocationStatSchema, e.LockControlStatusSchema, e.LockStateSchema, e.LogEntrySchema, e.LogLevelSchema, e.LogStreamEntrySchema, e.LoginMethodContributionSchema, e.LoginStageEnum, a = e.MACRO_LABELS, e.MAX_CLIP_EVENT_IDS, e.MAX_CLIP_LABELS, e.MAX_CONDITION_DEPTH, e.MAX_CONDITION_LEAVES, e.MAX_EXPRESSION_AST_NODES, e.MAX_EXPRESSION_BINDINGS, e.MAX_EXPRESSION_CALL_ARGS, e.MAX_EXPRESSION_EVAL_STEPS, e.MAX_EXPRESSION_SOURCE_LENGTH, e.METHOD_ACCESS_MAP, e.METHOD_DEVICE_SELECTORS, e.MODEL_FORMATS, e.MODEL_PROVIDER_IDS, e.MOTION_TRIGGER_FEATURE, e.ManagedModelCatalogEntrySchema, e.ManagedModelExtraFileSchema, e.ManagedModelRefSchema, e.ManagedRuntimeConfigSchema, e.MaskGridDimsSchema, e.MaskGridShapeSchema, e.MaskLineShapeSchema, e.MaskPointSchema, e.MaskPolygonShapeSchema, e.MaskPolygonVerticesSchema, e.MaskRectShapeSchema, e.MaskShapeKindSchema, e.MaskShapeSchema, e.MediaFileInfoSchema, e.MediaFileSchema, e.MediaPlayerRepeatSchema, e.MediaPlayerStateSchema, e.MediaPlayerStatusSchema, e.MeshPeerSchema, e.MeshStatusSchema, e.MethodAccessSchema, e.ModelCatalogEntrySchema, e.ModelConvertInputSchema, e.ModelConvertMetadataSchema, e.ModelDistributeInputSchema, e.ModelDistributeResultSchema, e.ModelExtraFileSchema, e.ModelFormatEntrySchema, e.ModelFormatsSchema, e.ModelProviderIdSchema, e.ModelSubstitutionSchema, e.ModelVariantGroupSchema, e.MotionAnalysisResultSchema, e.MotionEventSchema, e.MotionOnMotionChangedDataSchema, e.MotionRegionSchema, e.MotionSourceEnum, e.MotionSourcesSchema, e.MotionStatusSchema, e.MotionTriggerRuntimeStateSchema, e.MotionTriggerStatusSchema, e.MotionZoneOptionsSchema, e.MotionZonePatchSchema, e.MotionZoneRegionSchema, e.MotionZoneStatusSchema, e.MqttBrokerStatusSchema, e.MutationFilterSchema, e.NATIVE_LEASE_ACTIVITY_FIELD, e.NATIVE_LEASE_ACTIVITY_KEY, e.NATIVE_LEASE_ADMISSION_FIELD, e.NATIVE_LEASE_ADMISSION_KEY, e.NATIVE_LEASE_BUDGET_FIELD, e.NATIVE_LEASE_BUDGET_KEY, e.NATIVE_LEASE_HOLD_FIELD, e.NATIVE_LEASE_HOLD_KEY, e.NATIVE_LEASE_SECTION_ID, e.NATIVE_LEASE_TILE_BUDGET_FIELD, e.NATIVE_LEASE_TILE_BUDGET_KEY, e.NC_ALARM_SYSTEM_EVENT_KINDS, e.NC_AUDIO_CONFIRM_HITS_DEFAULT, e.NC_AUDIO_CONFIRM_HITS_MAX, e.NC_AUDIO_CONFIRM_HITS_MIN, e.NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, e.NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, e.NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, e.NC_AUDIO_DBFS_FLOOR, e.NC_AUDIO_DB_MAX, e.NC_AUDIO_DB_MIN, e.NC_AUDIO_DB_OFFERED, e.NC_AUDIO_DB_STEP, e.NC_AUDIO_DEFAULTS, e.NC_AUDIO_HIT_PERCENT_MAX, e.NC_AUDIO_HIT_PERCENT_MIN, e.NC_AUDIO_SAMPLING_MAX_SEC, e.NC_AUDIO_SAMPLING_MIN_SEC, e.NC_AUDIO_SEED, e.NC_AUTHORABLE_SYSTEM_EVENT_KINDS, e.NC_BASE_CONDITION_KEYS, e.NC_CONDITION_CATALOG, e.NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, e.NC_CONFIRM_DEFAULT_TIMEOUT_MS, e.NC_CONFIRM_MAX_TIMEOUT_MS, e.NC_CONFIRM_MIN_TIMEOUT_MS, e.NC_DEFAULT_SNOOZE_MINUTES, e.NC_HISTORY_LIMIT_DEFAULT, e.NC_HISTORY_LIMIT_MAX, e.NC_MAX_PER_TRACK_IMMEDIATE, e.NC_OCCUPANCY_DEFAULTS, e.NC_RULE_EDITOR_SECTION_ORDER, e.NC_RULE_KIND_SPECS, e.NC_RULE_SECTIONS, e.NC_SNOOZE_MAX_MINUTES, e.NC_SYSTEM_DELIVERY, e.NC_SYSTEM_EVENT_FILTER_KEYS, e.NC_TAXONOMY, e.NativeCropBboxSchema, e.NativeCropRefSchema, e.NativeCropResultSchema, e.NativeDetectionSchema, e.NativeLeaseAdmissionSchema, e.NativeLeaseSettingsSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionStatusSchema, e.NcAlarmConfigSchema, e.NcAlarmModeCoverageSchema, e.NcAlarmSettingsPatchSchema, e.NcAlarmSettingsSchema, e.NcAlarmSkipReasonSchema, e.NcAlarmSkippedDeviceSchema, e.NcAudioConditionSchema, e.NcConditionDescriptorSchema, e.NcConditionsSchema, e.NcConfirmExpectSchema, e.NcConfirmSchema, e.NcCrossingSchema, e.NcDeliverySchema, e.NcDeviceStateConditionSchema, e.NcHistoryEntrySchema, e.NcHistoryFilterSchema, e.NcHistoryRecordKindSchema, e.NcHistoryStatusSchema, e.NcHistorySubjectSchema, e.NcMediaFrameSchema, e.NcMediaPolicySchema, e.NcOccupancyConditionSchema, e.NcPlateMatcherSchema, e.NcRuleActionSchema, e.NcRuleActionSequenceSchema, e.NcRuleActionsSchema, e.NcRuleInputSchema, e.NcRuleNotificationButtonSchema, e.NcRulePatchSchema, e.NcRuleSchema, e.NcRuleTargetSchema, e.NcSceneConditionSchema, e.NcScheduleSchema, e.NcScheduleWindowSchema, e.NcSnoozeInputSchema, e.NcSnoozeSchema, e.NcSnoozeScopeSchema, e.NcSnoozeSuppressedSchema, e.NcSystemEventConditionSchema, e.NcSystemEventKindSchema, e.NcTaxonomyEntrySchema, e.NcTaxonomySchema, e.NcTestResultSchema, e.NcThrottleGranularitySchema, e.NcThrottleSchema, e.NcZoneConditionSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NotificationActionIconSchema, e.NotificationActionSchema, e.NotificationFormatSchema, e.NotificationSchema, e.NotifierStatusSchema, e.NumericSensorStatusSchema, e.OPERATOR_WRITTEN_STALE_MS, e.OPS_LOG_DEFAULT_LIMIT, e.OPS_LOG_RING_DEFAULT_MAX, e.OauthIntegrationDescriptorSchema, e.ObjectEventSchema, e.OpsLogDomainSchema, e.OpsLogEntrySchema, e.OpsLogOpSchema, e.OpsLogQueryInputSchema, e.OpsLogReasonSchema, e.OrchestratorMetricsSchema, e.OsdOverlayKindEnum, e.OsdOverlayPatchSchema, e.OsdOverlaySchema, e.OsdPositionEnum, e.OsdRenderOutcomeEnum, e.OsdRenderResultSchema, e.OsdSlotBindingSchema, e.OsdSlotViewSchema, e.OsdSourceOptionSchema, e.OsdSourceSchema, e.OsdSourceValueTypeEnum, e.OsdStatusSchema, e.PET_FEEDER_MANUAL_FEED_MAX, e.PET_FEEDER_MANUAL_FEED_MIN, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, e.PRIVACY_MASK_CAP_NAME, e.PROVIDER_KIND_CAP_NAMES, e.PYTHON_SCRIPT, e.PackageUpdateSchema, e.PackageVersionInfoSchema, e.PasskeyLoginMethodSchema, e.PasskeySummarySchema, e.PcmSampleFormatSchema, e.PerScopeBreakdownSchema, e.PetFeederStatusSchema, e.PickStreamPreferencesSchema, e.PickStreamRequirementsSchema, e.PickedCamStreamSchema, e.PipelineAssignmentSchema, e.PipelineDefaultStepSchema, e.PipelineEngineChoiceSchema, e.PipelineRunResultBridge, e.PipelineStepInputSchema, e.PipelineValidationIssueSchema, e.PipelineValidationResultSchema, e.PlaceholderReasonSchema, e.PolygonPointSchema, e.PoolMemoryWatchdog, e.PowerMeterStatusSchema, e.PresenceStatusSchema, e.PressureSensorStatusSchema, e.PrivacyMaskOptionsSchema, e.PrivacyMaskPatchSchema, e.PrivacyMaskRegionSchema, e.PrivacyMaskShapeSchema, e.PrivacyMaskStatusSchema, e.ProfileRtspEntrySchema, e.ProfileSlotSchema, e.ProfileSlotStatusSchema, e.ProviderStatusSchema, e.PtzAutotrackRuntimeStateSchema, e.PtzAutotrackSettingsSchema, e.PtzAutotrackStatusSchema, e.PtzAutotrackTargetOptionSchema, e.PtzMoveCommandSchema, e.PtzOptionsSchema, e.PtzPositionSchema, e.PtzPresetSchema, e.PtzStatusSchema, e.QueryFilterSchema, e.RATE_CONTROL_RELAXED, e.RATE_CONTROL_TIGHT, e.REACHABILITY_FAILURES_TO_OFFLINE, e.REACHABILITY_POLL_INTERVAL_MS, e.REACHABILITY_PROBE_TIMEOUT_MS, e.RECOGNITION_TYPES, e.RECORDING_EXPORT_MAX_READ_BYTES, e.RESERVED_BINDING_NAMES, e.RESTORED_CAP_NAMES, e.RUNTIME_DEFAULTS, e.RUNTIME_STATE_POLICY, e.RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, e.RUNTIME_TO_FORMAT, e.RawStateResultSchema, e.ReadGopBytesResultSchema, e.ReadSegmentBytesResultSchema, e.ReadinessRegistry, e.ReadinessTimeoutError, e.RecentTracksPageSchema, e.RecentTracksQueryInput, e.RecordingAvailabilitySchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, e.RecordingDaysSchema, e.RecordingDeviceUsageSchema, e.RecordingLocationUsageSchema, e.RecordingManifestSchema, e.RecordingRangeSchema, e.RecordingRebalanceInputSchema, e.RecordingRebalanceMoveSchema, e.RecordingRebalancePlanSchema, e.RecordingRebalanceSkipReasonSchema, e.RecordingRebalanceSkipSchema, e.RecordingRetentionSchema, e.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RedirectLoginMethodSchema, e.RelocateFootageClassSchema, e.RelocateFootageInputSchema, e.RelocateJobSchema, e.RelocateJobStateSchema, e.RelocateMediaInputSchema, e.RenderedAsSchema, e.ReportMotionInputSchema, e.RetrainAnnotationDraftSchema, e.RetrainAnnotationKindSchema, e.RetrainAnnotationSchema, e.RetrainAnnotationSourceSchema, e.RetrainAssistResultSchema, e.RetrainAssistSubjectSchema, e.RetrainCopyRefusalSchema, e.RetrainFrameCandidateSchema, e.RetrainFrameListSchema, e.RetrainFrameSchema, e.RetrainFrameSelectionSchema, e.RetrainMacroClassSchema, e.RetrainStatusSchema, e.RetrainTrackSchema, e.RetrainTransitionResultSchema, e.RingBuffer, e.RtpSourceSchema, e.RtspRestreamEntrySchema, e.RunnerCameraConfigSchema, e.RunnerCameraDeviceUIFields, e.RunnerFrameSourceSchema, e.RunnerInferenceDeviceSchema, e.RunnerLocalLoadSchema, e.RunnerLocalMetricsSchema, e.SCENE_CONDITIONS, e.SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, e.SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, e.SCENE_DEFAULT_ANCHOR_THRESHOLD, e.SCENE_DEFAULT_CHECK_INTERVAL_SEC, e.SCENE_DEFAULT_OBSERVATION_SPACING_SEC, e.SCENE_DEFAULT_QUIET_SECONDS, e.SCENE_DEFAULT_UNCOVERED_POLICY, e.SCENE_DIVERGED, e.SCENE_RESET_RECAPTURES, e.SCOPE_PRESETS, e.SENSOR_FEATURES, e.SENSOR_MAP, e.SOURCE_INFO_METADATA_KEY, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SYSTEM_CAP_NAMES, e.SYSTEM_SCOPE_DEVICE_METHODS, e.SceneCheckSchema, e.SceneConditionSchema, e.SceneConfirmSchema, e.SceneMonitorSchema, e.SceneMonitorStateSchema, e.SceneMonitorStatusSchema, e.SceneReferenceSchema, e.SceneUnavailableSchema, e.SceneUncoveredPolicySchema, e.SceneVerdictSchema, e.ScopedTokenSchema, e.ScopedTokenSummarySchema, e.ScoredObjectEventSchema, e.ScriptRunnerStatusSchema, e.SearchResultSchema, e.SendEmailInputSchema, e.SendEmailResultSchema, e.SendResultSchema, e.SensorEventSchema, e.ServerBootModeSchema, e.ServerPackageStatusSchema, e.ServerRollbackInfoSchema, e.ServerUpdateActionResultSchema, e.ServerUpdateCheckResultSchema, e.ServerUpdateStateSchema, e.SetSiteLocationInputSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SiteLocationSchema, e.SiteLocationSourceSchema, e.SiteLocationStatusSchema, e.SmokeStatusSchema, e.SmtpStatusSchema, e.SnapshotImageSchema, e.SourceInfoSchema, e.SpatialDetectionSchema, e.SsoBridgeClaimsSchema, e.StartEmbeddedInputSchema, e.StationaryObjectSchema, e.StorageAbortUploadInputSchema, e.StorageBeginDownloadInputSchema, e.StorageBeginDownloadResultSchema, e.StorageBeginUploadInputSchema, e.StorageBeginUploadResultSchema, e.StorageEndDownloadInputSchema, e.StorageFinalizeUploadInputSchema, e.StorageLocationDeclarationSchema, e.StorageLocationRefSchema, e.StorageLocationSchema, e.StorageLocationTypeSchema, e.StorageMigrationClassSchema, e.StorageMigrationDestinationsSchema, e.StorageMigrationFootageMoveInputSchema, e.StorageMigrationInputSchema, e.StorageMigrationJobSchema, e.StorageMigrationLeaseInputSchema, e.StorageMigrationMediaMoveInputSchema, e.StorageMigrationMoveSchema, e.StorageMigrationParticipantSchema, e.StorageMigrationPhaseSchema, e.StorageMigrationPlanSchema, e.StorageProviderInfoSchema, e.StorageReadChunkInputSchema, e.StorageTestLocationResultSchema, e.StorageWriteChunkInputSchema, e.StreamCodecSchema, e.StreamFormatSchema, e.StreamNetworkStatsSchema, e.StreamParamsOptionsSchema, e.StreamParamsStatusSchema, e.StreamProfileConfigSchema, e.StreamProfileOptionsSchema, e.StreamProfilePatchSchema, e.StreamProfileSchema, e.StreamSourceEntrySchema, e.StreamSourceSchema, e.SubscribeAudioChunksInputSchema, e.SubscribeAudioChunksResultSchema, e.SubscribeFramesInputSchema, e.SubscribeFramesResultSchema, e.SwitchStatusSchema, e.SystemMetricsSchema, e.SystemMirror, e.TAXONOMY_COLORS, e.TIMELAPSE_DENSE_FLOOR_SEC, e.TIMEZONES, e.TRANSCODE_DOWN_MAX_BITRATE_KBPS, e.TRANSCODE_DOWN_MAX_HEIGHT, e.TamperStatusSchema, e.TankStatusSchema, e.TargetKindCapsSchema, e.TargetKindLevelSchema, e.TargetKindSchema, e.TargetSchema, e.TemperatureSensorStatusSchema, e.TerminalInstanceInfoSchema, e.TerminalLegacyCameraSchema, e.TerminalOutputBatchSchema, e.TerminalOutputEventSchema, e.TerminalProfileInfoSchema, e.TerminalSessionInfoSchema, e.TestConnectionResultSchema, e.TestConnectionStatusEnum, e.TestResultSchema, e.TimelapseRuleInputSchema, e.TimelapseRulePatchSchema, e.TimelapseRuleSchema, e.TimelapseTemplateSchema, e.ToastSchema, e.TokenScopeSchema, e.TopologyNodeSchema, e.TopologyProcessSchema, e.TopologyServiceSchema, e.TrackCascadeCountsSchema, e.TrackEnvelopeSchema, e.TrackFlagsPatchSchema, e.TrackFlagsSchema, e.TrackProjectionSchema, e.TrackSchema, e.TrackSourceSchema, e.TrackStateSchema, e.TrackZoneFilterSchema, e.TrackedDetectionSchema, e.TrainingExportDeviceTotalsSchema, e.TrainingExportSummarySchema, e.TurnServerSchema, e.UNIT_TABLE, e.UnifiedBrokerInfoSchema, e.UnitConversionError, e.UpdateIntegrationInputSchema, e.UpdateStatusSchema, e.UpdateUserInputSchema, e.UserRecordSchema, e.UserSummarySchema, e.VISIT_MERGE_GAP_MS, e.VacuumControlStatusSchema, e.VacuumStateSchema, e.ValveStateSchema, e.ValveStatusSchema, e.VectorDeclareIndexInputSchema, e.VectorDeleteByFilterInputSchema, e.VectorDeleteInputSchema, e.VectorDeleteResultSchema, e.VectorFilterSchema, e.VectorGetInputSchema, e.VectorGetResultSchema, e.VectorItemSchema, e.VectorMatchSchema, e.VectorMetadataSchema, e.VectorMetricSchema, e.VectorQueryInputSchema, e.VectorQueryResultSchema, e.VectorStatsInputSchema, e.VectorStatsResultSchema, e.VectorUpsertInputSchema, e.VectorUpsertResultSchema, e.VibrationStatusSchema, e.VideoEncodeSchema, e.WEBRTC_EGRESS_PROFILE, e.WELL_KNOWN_TABS, e.WELL_KNOWN_TAB_MAP, e.WaterHeaterStatusSchema, e.WeatherStatusSchema, e.WebrtcStreamChoiceSchema, e.WebrtcStreamTargetSchema, e.WhiteBalanceModeSchema, e.WidgetHostEnum, e.WidgetLoginMethodSchema, e.WidgetMetadataSchema, e.WidgetRemoteSchema, e.WidgetSizeEnum, e.YAMNET_TO_MACRO, e.ZoneCrossingDirectionSchema, e.ZoneCrossingSchema, e.ZoneKindEnum, e.ZoneRuleModeEnum, e.ZoneRuleSchema, o = e.ZoneRuleStageEnum, e.ZoneRulesArraySchema, e.ZoneSchema, e.ZoneScopeBreakdownSchema, e.accessoriesCapability, e.accessoryStableId, e.addonPagesCapability, e.addonPagesSourceCapability, e.addonRoutesCapability, e.addonSettingsCapability, e.addonWidgetsCapability, e.addonWidgetsSourceCapability, e.addonsCapability, e.adminUiCapability, e.airQualitySensorCapability, e.alarmPanelCapability, e.alertsCapability, e.ambientLightSensorCapability, e.asBoolean, e.asJsonArray, e.asJsonObject, e.asNumber, e.asString, e.assertTimelapseCadences, e.audioAnalysisCapability, e.audioAnalyzerCapability, e.audioCodecCapability, e.audioIsFailClosed, e.audioKindId, e.audioLabelChoices, e.audioMetricsCapability, e.audioModeOf, e.audioOrDefaults, e.audioPlanFromEncodeProfile, e.authProviderCapability, e.autoAssignProfiles, e.automationControlCapability, e.backupCapability, e.bareAddonId, e.batteryCapability, e.bestLocationMatch, e.binaryCapability, e.bindAddonActions, e.brightnessCapability, e.brokerCapability, e.buildAddonRouteProvider, e.buildAudioArgs, e.buildEventKindDescriptor, e.buildFfmpegArgs, e.buildInputArgs, e.buildModelVariantGroups, e.buildNcTaxonomy, e.buildRoleScopes, e.buildStreamParamsConfigSchema, e.buildVideoArgs, e.buttonCapability, e.cameraCredentialsCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, e.canConvertUnit, e.canonicalEgressPlan, e.carbonMonoxideCapability, e.cellsToRects, e.classifyBearerPrincipal, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.clusterModelSettingKey, e.clusterStepSettingFieldsFor, e.clusterStepSettingKey, e.collectHydratedFieldEntries, e.collectHydratedFieldValues, e.colorCapability, e.colorForKind, e.commitWatchdogRestart, e.compileExpression, e.compileExpressionSafe, e.composeSwitchedOff, e.conditionDepth, e.conditionExclusionReason, e.conditionVisibleForKind, e.connectionTestCapability, e.connectivityCapability, e.consumablesCapability, e.contactCapability, e.controlCapability, e.convertUnit, e.coreBlockAddonId, e.coreBlockIdFromAddonId, e.coreBlocksCapability, e.cosineSimilarity, e.countConditionLeaves, e.coverCapability, e.createDeviceProxy, e.createDurableState, e.createEvent, e.createEventBusSliceSource, e.createExpressionScope, e.createHwAccelCache, e.createLazyTrpcSource, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, e.customAction, e.customModelRegistryCapability, e.dataStoreProviderCapability, e.dayNightCapability, e.declarationOwnerNodeId, e.decodeVectorBase64, e.decoderCapability, e.defaultDeliveryForSection, e.defaultDeviceFor, e.defineCustomActions, e.deriveBatteryPresence, e.deriveCameraSwitches, e.deriveDetailCropRect, e.deriveRecordingMode, e.describeModelVariant, e.detectAccessRole, e.detectionPipelineCapability, e.deviceAdoptionCapability, e.deviceBackendToFormat, e.deviceCustomAction, e.deviceDiscoveryCapability, e.deviceExportCapability, e.deviceManagerCapability, e.deviceMatchesProfile, e.deviceOpsCapability, e.deviceProviderCapability, e.deviceSelectorMatches, e.deviceStateCapability, e.deviceStatusCapability, e.doorbellCapability, e.droppedConditionsForKind, e.egressTranscodeSharingKey, e.egressTransportFromRequest, e.embeddingEncoderCapability, e.emitDownForOwnedCaps, e.emitReadiness, e.encodeProfileFromStreamShape, e.encodeVectorBase64, e.enumSensorCapability, e.enumerateInferenceDevices, e.enumerateItemArrayFields, e.enumerateSchemaFields, e.errMsg, e.evaluateAst, e.evaluateExpressionSource, e.evaluatePoolMemory, e.evaluateZoneRules, e.event, e.eventEmitterCapability, e.eventsCapability, e.expandCapMethods, e.extractNestedAddonId, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.formatForBackend, e.formatForRuntime, e.gasCapability, e.generateAutomationBlock, e.getAudioMacroClassIds, e.getByPath, e.getCapsByProviderKind, e.getTaxonomyEntry, e.hasMotionTrigger, e.hfModelUrl, e.htmlToText, e.humidifierCapability, e.humiditySensorCapability, e.hydrateSchema, e.imageCapability, e.imageSettingsCapability, e.inferModelProvider, e.initialPoolMemoryState, e.integrationsCapability, e.intercomCapability, e.invocationFromEncodeProfile, e.isAgentOnlyPlacement, e.isArrayOutputSchema, e.isAudioLabelSelected, e.isAudioRule, e.isBaseConditionKey, e.isBatteryPresenceFault, e.isClusterScopedStep, e.isCollectionArrayMethod, e.isDeployableToAgent, e.isDetectionMacroClass, e.isDeviceConfigCap, e.isDeviceScopedCap, e.isEvent, e.isIsolatedBuiltin, e.isNode, e.isObjectInput, e.isOccupancyRule, e.isRestoredCap, e.isSameAddonId, e.isScheduleActive, e.isSoftwareDecode, e.isSystemDelivery, e.isVoidInput, e.jobKindSchema, e.kebabToCamel, e.knownValues, e.lawnMowerControlCapability, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.llmCapability, e.llmRuntimeCapability, e.localNetworkCapability, e.locationSimilarity, e.lockControlCapability, e.logBannerArgs, e.logDestinationCapability, e.logLevelAtMost, e.loginMethodCapability, e.looseSchema, e.makeProfileBrokerId, e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.markdownToHtmlLite, e.markdownToText, e.maskUrlCredentials, e.mediaPlayerCapability, e.mergeSourceInfo, e.meshNetworkCapability, e.method, e.methodAccessForHttpMethod, e.metricsProviderCapability, e.modelConvertCapability, e.modelDistributorCapability, e.modelFormatForRuntime, e.motionCapability, e.motionDetectionCapability, e.motionTriggerCapability, e.motionZonesCapability, e.mqttBrokerCapability, e.nativeObjectDetectionCapability, e.networkAccessCapability, e.networkQualityCapability, e.nodePin, e.nodesCapability, e.normalizeAddonInitResult, e.normalizeAudioLabel, e.normalizeTokenScopes, e.normalizeUnit, e.notificationOutputCapability, e.notificationRulesCapability, e.notifierCapability, e.numericSensorCapability, e.oauthIntegrationCapability, e.objectInputDeclaresAddonId, e.osdCapability, e.osdManagerCapability, e.overlayClusterStepSettings, e.parseCameraStreamConfig, e.parseExpression, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseProcStatus, e.parseProfileBrokerId, e.parseRuleSection, e.parseStreamParamsFormPatch, e.patchAudio, e.petFeederCapability, e.pickAccessoryControl, e.pickClusterStepModels, e.pickClusterStepSettings, e.pickDetailCropConvention, e.pickNativeLeaseOverride, e.pickPreferredRtspEntry, e.pickRestartCandidate, e.pickVideoEncoder, e.pickerForCondition, e.pipelineAnalyticsCapability, e.pipelineExecutorCapability, e.pipelineOrchestratorCapability, e.pipelineRunnerCapability, e.plateGalleryCapability, e.platformProbeCapability, e.poolMemoryThreshold, e.powerMeterCapability, e.prepareNotification, e.presenceCapability, e.pressureSensorCapability, e.principalMayReachAddon, e.privacyMaskCapability, e.procedureAuthKey, e.ptzAutotrackCapability, e.ptzCapability, e.pythonScriptForBackend, e.readClusterStepModels, e.readClusterStepSettings, e.readDetailCropConvention, e.readDeviceStateFrom, e.readNativeLeaseOverride, e.readNodePin, e.readTimelapseGeneratedAt, e.readinessKey, e.rebootCapability, e.recordingCapability, e.recordingExportCapability, e.rectsToCells, e.requiresPython, e.resetPoolBaseline, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveCapMount, e.resolveClusterStepModelId, e.resolveDetectionRuntime, e.resolveDeviceControlKind, e.resolveDeviceProfile, e.resolveEgressDecodeHwAccel, e.resolveFormat, s = e.resolveHydratedFieldValue, e.resolveModelFormat, e.resolveMutate, e.resolvePoolMemoryPolicy, e.resolveRecordingProfiles, e.resolveRunnerId, e.resolveVariantModelId, e.resolveViewableDeviceIds, e.roleSpec, e.ruleEditorSectionsForKind, e.ruleKindOf, e.ruleKindSpec, e.ruleMatchesSection, e.ruleSection, e.ruleSectionOf, e.ruleSeedForSection, e.runInferenceStep, e.runtimeDevices, e.runtimeStatePolicyFor, e.sceneMonitorCapability, e.scopeInherits, e.scopeKey, e.scopesAllowAddon, e.scopesAllowDeviceCap, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, e.sleep, e.sleepCancellable, e.smokeCapability, e.smtpProviderCapability, e.snapshotCapability, e.ssoBridgeCapability, e.startReachabilityPoll, e.stateVocabularyFor, e.storageCapability, e.storageEvictableCapability, e.storageMigrationCapability, e.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, e.subKindsOf, e.summarisePrivacyAudio, e.summarizeEffectiveScope, e.supportedRuntimes, e.switchCapability, e.switchedOffIds, e.synthesizeSourceInfo, e.systemCapability, e.systemEventFilterApplies, e.systemEventFilterAppliesToAnyKind, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.terminalSessionCapability, e.textToHtml, e.toDeviceSummary, e.toExpressionValue, e.toNodeId, e.toStreamSourceEntry, e.toastCapability, e.toggleAudioLabel, e.tokenize, e.transcodeBody, e.tryConvertUnit, e.turnProviderCapability, e.unitDimension, e.unitsForDimension, e.updateCapability, e.userManagementCapability, e.userPasskeysCapability, e.vacuumControlCapability, e.validateExpressionSource, e.validateRecipeBounds, e.valveCapability, e.vectorDimFromBase64, e.vectorStoreCapability, e.vibrationCapability, e.videoclipsCapability, e.viewerUiCapability, e.waterHeaterCapability, e.weatherCapability, e.webrtcClientHintsSchema, e.webrtcSessionCapability, e.wiringAddonHealthSchema, e.wiringHealthSnapshotSchema, e.wiringNodeHealthSchema, e.wiringProbeKindSchema, e.wiringProbeResultSchema, e.zodEntriesToConfigUI, e.zoneAnalyticsCapability, e.zoneRulesCapability, e.zonesCapability, e.default;
|
|
19
|
+
e.ACCESSORY_LABEL, e.ACCESS_ROLES, e.ALEXA_EGRESS_PROFILE, e.ALL_CAPABILITY_DEFINITIONS, e.APPLE_SA_TO_MACRO, e.AUDIO_ANALYSIS_CAP_NAME, e.AUDIO_BACKEND_CHOICES, e.AUDIO_MACRO_LABELS, e.AUDIO_PRESETS, e.AccessoriesStatusSchema, e.AccessoryKind, e.AddBrokerInputSchema, e.AddonAutoUpdateSchema, e.AddonListItemSchema, e.AddonPageDeclarationSchema, e.AddonPageInfoSchema, e.AdoptionAdoptInputSchema, e.AdoptionAdoptResultSchema, e.AdoptionCandidateResultSchema, e.AdoptionFilterSchema, e.AdoptionGetCandidateInputSchema, e.AdoptionJobSchema, e.AdoptionJobStateSchema, e.AdoptionListCandidatesInputSchema, e.AdoptionListCandidatesOutputSchema, e.AdoptionOutcomeSchema, e.AdoptionReleaseInputSchema, e.AdoptionStatusSchema, e.AgentLoadSummarySchema, e.AirQualitySensorStatusSchema, e.AlarmArmModeSchema, e.AlarmPanelStatusSchema, e.AlarmStateSchema, e.AlertSchema, e.AlertSeveritySchema, e.AlertSourceSchema, e.AlertStatusSchema, e.AmbientLightSensorStatusSchema, e.AnalyticsGroupDetailSchema, e.AnalyticsGroupMemberSchema, e.AnalyticsGroupRecordSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, e.AttachmentMediaTypeSchema, e.AttachmentSchema, e.AudioAnalysisResultSchema, e.AudioAnalysisSettingsSchema, e.AudioChunkInputSchema, e.AudioClassSummarySchema, e.AudioClassificationLabelSchema, e.AudioClassificationResultSchema, e.AudioCodecInfoSchema, e.AudioDecodeSessionConfigSchema, e.AudioEncodeSchema, e.AudioEncodeSessionConfigSchema, e.AudioEncodedChunkSchema, e.AudioEventSchema, e.AudioLevelSchema, e.AudioMetricsHistoryPointSchema, e.AudioMetricsHistorySchema, e.AudioMetricsSnapshotSchema, e.AudioPcmChunkSchema, e.AuthResultSchema, e.AutoUpdateSettingsSchema, e.AutomationActionSchema, e.AutomationConditionOperatorSchema, e.AutomationConditionSchema, e.AutomationControlStatusSchema, e.AutomationRecipeSchema, e.AutomationTriggerSchema, e.AvailableIntegrationTypeSchema, e.BACKEND_TO_FORMAT, e.BASE_LIVE_EGRESS_PROFILE, e.BATTERY_DEVICE_PROFILE, e.BATTERY_UNREACHABLE_AFTER_MS, e.BOOT_RECOVERY_BACKOFF_MS, e.BacklightModeSchema, e.BackupDestinationInfoSchema, e.BackupEntrySchema, e.BaseAddon, e.BaseDevice, e.BaseDeviceProvider, e.BatteryStatusSchema, e.BinaryStatusSchema, e.BoundingBoxSchema, e.BrightnessStatusSchema, e.BrokerAddInputSchema, e.BrokerAudioClientSchema, e.BrokerClientsSchema, e.BrokerConnectionDetailsSchema, e.BrokerConsumerAttributionSchema, e.BrokerConsumerKindSchema, e.BrokerDecodedClientSchema, e.BrokerEncodedClientSchema, e.BrokerGetStateInputSchema, e.BrokerInfoSchema, e.BrokerProviderInfoSchema, e.BrokerPublishInputSchema, e.BrokerRegistryStatusSchema, e.BrokerRtspClientSchema, e.BrokerStatsSchema, e.BrokerStatusEnum, e.BrokerStatusSchema, e.BrokerSubscribeInputSchema, e.BrokerSubscribeResultSchema, e.BrokerTestConnectionResultSchema, e.BrokerUnsubscribeInputSchema, e.CAMERA_SWITCH_CATALOG, e.CAMERA_SWITCH_ORDER, e.CAM_PROFILE_ORDER, e.CAPABILITY_NAMES, e.CAPABILITY_ROUTER_KEYS, e.CAP_NAMES_WITH_STATUS, e.CAP_NODE_PIN_CONTEXT_KEY, e.CAP_PROVIDER_KIND_MAP, e.CLASS_MAP_MACRO_TARGETS, e.CLUSTER_MODEL_SCOPED_STEPS, e.CLUSTER_MODEL_SECTION_ID, e.CLUSTER_STEP_SETTING_FIELDS, e.COCO_80_LABELS, e.COCO_TO_MACRO, e.CONNECTION_TEST_TIMEOUT_MS, e.CORE_BLOCKS_ADDON_ID, e.CORE_BLOCK_ADDON_PREFIX, e.CamProfileSchema, e.CamStreamDescriptorSchema, e.CamStreamKindSchema, e.CamStreamResolutionSchema, e.CameraAssignmentStatusSchema, e.CameraAudioStatusSchema, e.CameraBrokerProfileSchema, e.CameraBrokerStatusSchema, e.CameraCredentialsSchema, e.CameraCredentialsStatusSchema, e.CameraDecoderShmSchema, e.CameraDecoderStatusSchema, e.CameraDetectionPhaseSchema, e.CameraDetectionProvisioningSchema, e.CameraDetectionProvisioningStateSchema, e.CameraDetectionStatusSchema, e.CameraMetricsSchema, e.CameraMetricsWithDeviceIdSchema, e.CameraMotionStatusSchema, e.CameraRecordingModeSchema, e.CameraRecordingStatusSchema, e.CameraSourceStatusSchema, e.CameraSourceStreamSchema, e.CameraStatusDegradationReasonSchema, e.CameraStatusDegradationSchema, e.CameraStatusSchema, e.CameraStatusStageSchema, e.CameraStreamSchema, e.CameraSwitchAuthoritySchema, e.CameraSwitchGroupSchema, e.CameraSwitchIdSchema, e.CameraSwitchSchema, e.CameraSwitchUnavailableReasonSchema, e.CandidateQueryFilterSchema, e.CapScopeSchema, e.CapabilityBindingsSchema, e.CarbonMonoxideStatusSchema, e.ChargingStatus, e.ClassMapDefinitionSchema, e.ClientNetworkStatsSchema, e.ClimateControlStatusSchema, e.ClipPlaybackSchema, e.ClipSchema, e.ClusterAddonNodeDeploymentSchema, e.ClusterAddonStatusEntrySchema, e.CollectionColumnSchema, e.CollectionIndexSchema, e.ColorStatusSchema, e.ConfigEntrySchema, e.ConfigSectionWithValuesSchema, e.ConfigTabDeclarationSchema, e.ConnectionTestDescriptorSchema, e.ConnectionTestInputSchema, e.ConnectionTestOutcomeSchema, e.ConnectivityStatusSchema, e.ConsumableItemSchema, e.ConsumablesStatusSchema, e.ContactStatusSchema, e.ControlKindSchema, e.ControlStatusSchema, e.ConvertArtifactSchema, e.ConvertResultSchema, e.ConvertTargetSchema, e.CoreBlockCompileResultSchema, e.CoreBlockInputSchema, e.CoreBlockPlacementSchema, e.CoreBlockSchema, e.CoreBlockStatusSchema, e.CoverStateSchema, e.CoverStatusSchema, e.CreateApiKeyInputSchema, e.CreateApiKeyResultSchema, e.CreateIntegrationInputSchema, e.CreateScopedTokenInputSchema, e.CreateScopedTokenResultSchema, e.CreateUserInputSchema, e.CustomActionInputSchema, e.CustomModelDescriptorSchema, e.DATAPLANE_SECRET_HEADER, e.DECLARED_DEVICE_SWEEP_LIMIT, e.DECLARED_INTEGRATION_FIXED_KEY, e.DEFAULT_ADDON_PLACEMENT, e.DEFAULT_AUDIO_ANALYZER_CONFIG, e.DEFAULT_CLUSTER_STEP_MODELS, e.DEFAULT_CLUSTER_STEP_SETTINGS, e.DEFAULT_DECODER_HWACCEL_CONFIG, e.DEFAULT_DETAIL_CROP_CONVENTION, e.DEFAULT_EVENTS_BAND_BUFFER_SEC, e.DEFAULT_EVENT_COLOR, e.DEFAULT_FEATURES, e.DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, e.DEFAULT_NATIVE_LEASE_SETTINGS, e.DEFAULT_POOL_MEMORY_POLICY, e.DEFAULT_RECORDING_PROFILES, e.DEFAULT_RETENTION, e.DEFAULT_RUNTIME_STATE_DURABILITY, e.DEFAULT_TIMELAPSE_PREVIEW_TEXT, e.DETAIL_CROP_PADDING_FIELD, e.DETAIL_CROP_PADDING_KEY, e.DETAIL_CROP_SECTION_ID, e.DETAIL_CROP_SQUARE_KEY, e.DETECTION_MACRO_CLASSES, e.DETECTION_PIPELINE_CAP_NAME, e.DEVICE_BACKEND_TO_FORMAT, e.DEVICE_CAP_NAMES, e.DEVICE_PROFILES, e.DEVICE_SCOPED_CAPS, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATE_READERS, e.DEVICE_STATUS_METHOD, e.DEVICE_TYPE_CONTROL_KIND, e.DEVICE_TYPE_INFO, e.DataStoreEngineInfoSchema, e.DayNightModeSchema, e.DayNightOptionsSchema, e.DayNightSettingsPatchSchema, e.DayNightStatusSchema, e.DeclaredDevices, e.DecodedAudioChunkSchema, e.DecodedFrameSchema, e.DecoderSessionConfigSchema, e.DecoderStatsSchema, e.DeleteIntegrationResultSchema, e.DetailCropConventionSchema, e.DetectionSourceSchema, e.DeviceCodeSeveritySchema, e.DeviceConfig, e.DeviceDiscoveryStatusSchema, e.DeviceExportExposeInputSchema, e.DeviceExportStatusSchema, e.DeviceExportUnexposeInputSchema, e.DeviceFeature, e.DeviceInfoSchema, e.DeviceNetworkStatsSchema, e.DeviceRole, e.DeviceRuntimeState, e.DeviceSelectorSchema, e.DeviceStatusSchema, e.DeviceType, e.DiscoveredChildDeviceSchema, e.DiscoveredChildStatusSchema, e.DiscoveredDeviceSchema, e.DiscoveredTargetSchema, e.DiskReconcileJobSchema, e.DisposerChain, e.DoorbellPressEventSchema, e.DoorbellStatusSchema, e.EVENTFUL_CAP_NAMES, e.EVENT_KIND_BY_CAP, e.EVENT_PAD_MS, e.EVENT_TAXONOMY, e.EXPORT_DENSE_MAX_RANGES, e.EXPRESSION_BUILTINS, e.EXPRESSION_BUILTIN_NAMES, e.EXPRESSION_COMPILE_CACHE_CAPACITY, e.EXPRESSION_IDENTIFIER_RE, e.EXPRESSION_INJECTED_NOW, e.EgressEncodeSchema, e.EgressRateControlSchema, e.EgressTranscodeRequestSchema, e.EgressTranscodeSchema, e.ElementConfigStore, e.EmbeddingInfoSchema, e.EmbeddingResultSchema, e.EncodeProfileSchema, e.EncodedPacketSchema, e.EnrichedWidgetMetadataSchema, e.EnumSensorDateTimeFormatSchema, e.EnumSensorStatusSchema, e.EventCategory, e.EventEmitterStatusSchema, e.EventFireSchema, e.EventItemSchema, e.EventKindCategorySchema, e.EventKindDescriptorSchema, e.EventKindIconSchema, e.EventKindSchema, e.EventKindsForDeviceSchema, e.EventMediaArtifactSchema, e.EventMediaCoverageSchema, e.EventMediaKindSchema, e.EventMediaProductionSchema, e.EventSourceType, e.ExportBytesSchema, e.ExportDenseRangeSchema, e.ExportDenseSchema, e.ExportDownloadSchema, e.ExportOptionsSchema, e.ExportRecordSchema, e.ExportSetupFieldSchema, e.ExportSetupSchema, e.ExportSpeedSchema, e.ExportStateSchema, e.ExportTimelapseSchema, e.ExposedDeviceSchema, e.ExposureModeSchema, e.ExpressionBindingSourceSchema, e.ExpressionEvalError, e.ExpressionFieldBindingSchema, e.ExpressionGlobalBindingSchema, e.ExpressionLiteralBindingSchema, e.ExpressionParseError, e.ExpressionSourceSchema, e.FULL_IMAGE_BBOX, e.FanControlStatusSchema, e.FanDirectionSchema, e.FeatureManifestSchema, e.FeatureProbeStatusSchema, e.FloodStatusSchema, e.Fmp4BoxSplitter, e.FrameHandleFormatSchema, e.FrameHandleSchema, e.FrameInputSchema, e.FrameLazyCountersSchema, e.FrameLazyMetricsSchema, e.GasStatusSchema, e.GetStreamWithCodecInputSchema, e.GlobalMetricsSchema, e.HAP_AUDIO_BASE, e.HAP_AUDIO_BITRATE_KBPS, e.HAP_AUDIO_VBV_KBITS, e.HAP_KEYFRAME_INTERVAL_SEC, e.HF_BASE_URL, e.HF_REPO, e.HWACCEL_OPTIONS, e.HealthStatusSchema, e.HfModelResolutionSchema, e.HistoryPointSchema, e.HistoryResolutionEnum, e.HumidifierStatusSchema, e.HumiditySensorStatusSchema, e.HvacModeSchema, e.INFERENCE_DEVICE_EXCLUSION_REASONS, e.ImageContractSchema, e.ImageContractStateSchema, e.ImageRotateSchema, e.ImageSettingsOptionsSchema, e.ImageSettingsPatchSchema, e.ImageSettingsStatusSchema, e.ImageStatusSchema, e.InferenceDeviceExclusionReasonSchema, e.IngestOwnerSchema, e.InstalledPackageSchema, e.IntegrationLiteSchema, e.IntegrationWithStateSchema, e.IntercomAbilitySchema, e.IntercomStatusSchema, e.KNOWN_CAP_NAMES, e.KeyEventSchema, e.LOG_LEVEL_RANK, e.LabelAttributionSchema, e.LabelDefinitionSchema, e.LabelTierSchema, e.LawnMowerActivitySchema, e.LawnMowerControlStatusSchema, e.LinkedDeviceSchema, e.LinkedDevicesModeSchema, e.ListGroupsPageSchema, e.ListGroupsQueryInput, e.LlmDefaultSchema, e.LlmDefaultSelectorSchema, e.LlmDownloadProgressSchema, e.LlmErrorCodeSchema, e.LlmGenerateBaseInputSchema, e.LlmGenerateErrSchema, e.LlmGenerateOkSchema, e.LlmGenerateResultSchema, e.LlmImageSchema, e.LlmNodeModelSchema, e.LlmProfileKindDescriptorSchema, e.LlmProfileKindSchema, e.LlmProfileSchema, e.LlmRetryPolicySchema, e.LlmRuntimeCompleteInputSchema, e.LlmRuntimeDiskUsageSchema, e.LlmRuntimeNodeSchema, e.LlmRuntimeStatusSchema, e.LlmTimeoutDefaults, e.LlmUsageRollupSchema, e.LlmUsageSchema, e.LocateSegmentResultSchema, e.LocationStatSchema, e.LockControlStatusSchema, e.LockStateSchema, e.LogEntrySchema, e.LogLevelSchema, e.LogStreamEntrySchema, e.LoginMethodContributionSchema, e.LoginStageEnum, a = e.MACRO_LABELS, e.MAX_CLIP_EVENT_IDS, e.MAX_CLIP_LABELS, e.MAX_CONDITION_DEPTH, e.MAX_CONDITION_LEAVES, e.MAX_EXPRESSION_AST_NODES, e.MAX_EXPRESSION_BINDINGS, e.MAX_EXPRESSION_CALL_ARGS, e.MAX_EXPRESSION_EVAL_STEPS, e.MAX_EXPRESSION_SOURCE_LENGTH, e.METHOD_ACCESS_MAP, e.METHOD_DEVICE_SELECTORS, e.MODEL_FORMATS, e.MODEL_PROVIDER_IDS, e.MOTION_TRIGGER_FEATURE, e.ManagedModelCatalogEntrySchema, e.ManagedModelExtraFileSchema, e.ManagedModelRefSchema, e.ManagedRuntimeConfigSchema, e.MaskGridDimsSchema, e.MaskGridShapeSchema, e.MaskLineShapeSchema, e.MaskPointSchema, e.MaskPolygonShapeSchema, e.MaskPolygonVerticesSchema, e.MaskRectShapeSchema, e.MaskShapeKindSchema, e.MaskShapeSchema, e.MediaFileInfoSchema, e.MediaFileSchema, e.MediaPlayerRepeatSchema, e.MediaPlayerStateSchema, e.MediaPlayerStatusSchema, e.MeshPeerSchema, e.MeshStatusSchema, e.MethodAccessSchema, e.ModelCatalogEntrySchema, e.ModelConvertInputSchema, e.ModelConvertMetadataSchema, e.ModelDistributeInputSchema, e.ModelDistributeResultSchema, e.ModelExtraFileSchema, e.ModelFormatEntrySchema, e.ModelFormatsSchema, e.ModelProviderIdSchema, e.ModelSubstitutionSchema, e.ModelVariantGroupSchema, e.MotionAnalysisResultSchema, e.MotionEventSchema, e.MotionOnMotionChangedDataSchema, e.MotionRegionSchema, e.MotionSourceEnum, e.MotionSourcesSchema, e.MotionStatusSchema, e.MotionTriggerRuntimeStateSchema, e.MotionTriggerStatusSchema, e.MotionZoneOptionsSchema, e.MotionZonePatchSchema, e.MotionZoneRegionSchema, e.MotionZoneStatusSchema, e.MqttBrokerStatusSchema, e.MutationFilterSchema, e.NATIVE_LEASE_ACTIVITY_FIELD, e.NATIVE_LEASE_ACTIVITY_KEY, e.NATIVE_LEASE_ADMISSION_FIELD, e.NATIVE_LEASE_ADMISSION_KEY, e.NATIVE_LEASE_BUDGET_FIELD, e.NATIVE_LEASE_BUDGET_KEY, e.NATIVE_LEASE_HOLD_FIELD, e.NATIVE_LEASE_HOLD_KEY, e.NATIVE_LEASE_SECTION_ID, e.NATIVE_LEASE_TILE_BUDGET_FIELD, e.NATIVE_LEASE_TILE_BUDGET_KEY, e.NC_ALARM_SYSTEM_EVENT_KINDS, e.NC_AUDIO_CONFIRM_HITS_DEFAULT, e.NC_AUDIO_CONFIRM_HITS_MAX, e.NC_AUDIO_CONFIRM_HITS_MIN, e.NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, e.NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, e.NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, e.NC_AUDIO_DBFS_FLOOR, e.NC_AUDIO_DB_MAX, e.NC_AUDIO_DB_MIN, e.NC_AUDIO_DB_OFFERED, e.NC_AUDIO_DB_STEP, e.NC_AUDIO_DEFAULTS, e.NC_AUDIO_HIT_PERCENT_MAX, e.NC_AUDIO_HIT_PERCENT_MIN, e.NC_AUDIO_SAMPLING_MAX_SEC, e.NC_AUDIO_SAMPLING_MIN_SEC, e.NC_AUDIO_SEED, e.NC_AUTHORABLE_SYSTEM_EVENT_KINDS, e.NC_BASE_CONDITION_KEYS, e.NC_CONDITION_CATALOG, e.NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, e.NC_CONFIRM_DEFAULT_TIMEOUT_MS, e.NC_CONFIRM_MAX_TIMEOUT_MS, e.NC_CONFIRM_MIN_TIMEOUT_MS, e.NC_DEFAULT_SNOOZE_MINUTES, e.NC_HISTORY_LIMIT_DEFAULT, e.NC_HISTORY_LIMIT_MAX, e.NC_MAX_PER_TRACK_IMMEDIATE, e.NC_OCCUPANCY_DEFAULTS, e.NC_RULE_EDITOR_SECTION_ORDER, e.NC_RULE_KIND_SPECS, e.NC_RULE_SECTIONS, e.NC_SNOOZE_MAX_MINUTES, e.NC_SYSTEM_DELIVERY, e.NC_SYSTEM_EVENT_FILTER_KEYS, e.NC_TAXONOMY, e.NativeCropBboxSchema, e.NativeCropRefSchema, e.NativeCropResultSchema, e.NativeDetectionSchema, e.NativeLeaseAdmissionSchema, e.NativeLeaseSettingsSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionStatusSchema, e.NcAlarmConfigSchema, e.NcAlarmModeCoverageSchema, e.NcAlarmSettingsPatchSchema, e.NcAlarmSettingsSchema, e.NcAlarmSkipReasonSchema, e.NcAlarmSkippedDeviceSchema, e.NcAudioConditionSchema, e.NcConditionDescriptorSchema, e.NcConditionsSchema, e.NcConfirmExpectSchema, e.NcConfirmSchema, e.NcCrossingSchema, e.NcDeliverySchema, e.NcDeviceStateConditionSchema, e.NcHistoryEntrySchema, e.NcHistoryFilterSchema, e.NcHistoryRecordKindSchema, e.NcHistoryStatusSchema, e.NcHistorySubjectSchema, e.NcMediaFrameSchema, e.NcMediaPolicySchema, e.NcOccupancyConditionSchema, e.NcPlateMatcherSchema, e.NcRuleActionSchema, e.NcRuleActionSequenceSchema, e.NcRuleActionsSchema, e.NcRuleInputSchema, e.NcRuleNotificationButtonSchema, e.NcRulePatchSchema, e.NcRuleSchema, e.NcRuleTargetSchema, e.NcSceneConditionSchema, e.NcScheduleSchema, e.NcScheduleWindowSchema, e.NcSnoozeInputSchema, e.NcSnoozeSchema, e.NcSnoozeScopeSchema, e.NcSnoozeSuppressedSchema, e.NcSystemEventConditionSchema, e.NcSystemEventKindSchema, e.NcTaxonomyEntrySchema, e.NcTaxonomySchema, e.NcTestResultSchema, e.NcThrottleGranularitySchema, e.NcThrottleSchema, e.NcZoneConditionSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NotificationActionIconSchema, e.NotificationActionSchema, e.NotificationFormatSchema, e.NotificationSchema, e.NotifierStatusSchema, e.NumericSensorStatusSchema, e.OPERATOR_WRITTEN_STALE_MS, e.OPS_LOG_DEFAULT_LIMIT, e.OPS_LOG_RING_DEFAULT_MAX, e.OauthIntegrationDescriptorSchema, e.ObjectEventSchema, e.OpsLogDomainSchema, e.OpsLogEntrySchema, e.OpsLogOpSchema, e.OpsLogQueryInputSchema, e.OpsLogReasonSchema, e.OrchestratorMetricsSchema, e.OsdOverlayKindEnum, e.OsdOverlayPatchSchema, e.OsdOverlaySchema, e.OsdPositionEnum, e.OsdRenderOutcomeEnum, e.OsdRenderResultSchema, e.OsdSlotBindingSchema, e.OsdSlotViewSchema, e.OsdSourceOptionSchema, e.OsdSourceSchema, e.OsdSourceValueTypeEnum, e.OsdStatusSchema, e.PET_FEEDER_MANUAL_FEED_MAX, e.PET_FEEDER_MANUAL_FEED_MIN, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, e.PRIVACY_MASK_CAP_NAME, e.PROVIDER_KIND_CAP_NAMES, e.PYTHON_SCRIPT, e.PackageUpdateSchema, e.PackageVersionInfoSchema, e.PasskeyLoginMethodSchema, e.PasskeySummarySchema, e.PcmSampleFormatSchema, e.PerScopeBreakdownSchema, e.PetFeederStatusSchema, e.PickStreamPreferencesSchema, e.PickStreamRequirementsSchema, e.PickedCamStreamSchema, e.PipelineAssignmentSchema, e.PipelineDefaultStepSchema, e.PipelineEngineChoiceSchema, e.PipelineRunResultBridge, e.PipelineStepInputSchema, e.PipelineValidationIssueSchema, e.PipelineValidationResultSchema, e.PlaceholderReasonSchema, e.PolygonPointSchema, e.PoolMemoryWatchdog, e.PowerMeterStatusSchema, e.PresenceStatusSchema, e.PressureSensorStatusSchema, e.PrivacyMaskOptionsSchema, e.PrivacyMaskPatchSchema, e.PrivacyMaskRegionSchema, e.PrivacyMaskShapeSchema, e.PrivacyMaskStatusSchema, e.ProfileRtspEntrySchema, e.ProfileSlotSchema, e.ProfileSlotStatusSchema, e.ProviderStatusSchema, e.PtzAutotrackRuntimeStateSchema, e.PtzAutotrackSettingsSchema, e.PtzAutotrackStatusSchema, e.PtzAutotrackTargetOptionSchema, e.PtzMoveCommandSchema, e.PtzOptionsSchema, e.PtzPositionSchema, e.PtzPresetSchema, e.PtzStatusSchema, e.QueryFilterSchema, e.RATE_CONTROL_RELAXED, e.RATE_CONTROL_TIGHT, e.REACHABILITY_FAILURES_TO_OFFLINE, e.REACHABILITY_POLL_INTERVAL_MS, e.REACHABILITY_PROBE_TIMEOUT_MS, e.RECOGNITION_TYPES, e.RECORDING_EXPORT_MAX_READ_BYTES, e.RESERVED_BINDING_NAMES, e.RESTORED_CAP_NAMES, e.RUNTIME_DEFAULTS, e.RUNTIME_STATE_POLICY, e.RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, e.RUNTIME_TO_FORMAT, e.RawStateResultSchema, e.ReadGopBytesResultSchema, e.ReadSegmentBytesResultSchema, e.ReadinessRegistry, e.ReadinessTimeoutError, e.RecentTracksPageSchema, e.RecentTracksQueryInput, e.RecordingAvailabilitySchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, e.RecordingDaysSchema, e.RecordingDeviceUsageSchema, e.RecordingLocationUsageSchema, e.RecordingManifestSchema, e.RecordingRangeSchema, e.RecordingRebalanceInputSchema, e.RecordingRebalanceMoveSchema, e.RecordingRebalancePlanSchema, e.RecordingRebalanceSkipReasonSchema, e.RecordingRebalanceSkipSchema, e.RecordingRetentionSchema, e.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RedirectLoginMethodSchema, e.RelocateFootageClassSchema, e.RelocateFootageInputSchema, e.RelocateJobSchema, e.RelocateJobStateSchema, e.RelocateMediaInputSchema, e.RenderedAsSchema, e.ReportMotionInputSchema, e.RetrainAnnotationDraftSchema, e.RetrainAnnotationKindSchema, e.RetrainAnnotationSchema, e.RetrainAnnotationSourceSchema, e.RetrainAssistResultSchema, e.RetrainAssistSubjectSchema, e.RetrainCopyRefusalSchema, e.RetrainFrameCandidateSchema, e.RetrainFrameListSchema, e.RetrainFrameSchema, e.RetrainFrameSelectionSchema, e.RetrainMacroClassSchema, e.RetrainStatusSchema, e.RetrainTrackSchema, e.RetrainTransitionResultSchema, e.RingBuffer, e.RtpSourceSchema, e.RtspRestreamEntrySchema, e.RunnerCameraConfigSchema, e.RunnerCameraDeviceUIFields, e.RunnerFrameSourceSchema, e.RunnerInferenceDeviceSchema, e.RunnerLocalLoadSchema, e.RunnerLocalMetricsSchema, e.SCENE_CONDITIONS, e.SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, e.SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, e.SCENE_DEFAULT_ANCHOR_THRESHOLD, e.SCENE_DEFAULT_CHECK_INTERVAL_SEC, e.SCENE_DEFAULT_OBSERVATION_SPACING_SEC, e.SCENE_DEFAULT_QUIET_SECONDS, e.SCENE_DEFAULT_UNCOVERED_POLICY, e.SCENE_DIVERGED, e.SCENE_RESET_RECAPTURES, e.SCOPE_PRESETS, e.SENSOR_FEATURES, e.SENSOR_MAP, e.SOURCE_INFO_METADATA_KEY, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SYSTEM_CAP_NAMES, e.SYSTEM_SCOPE_DEVICE_METHODS, e.SceneCheckSchema, e.SceneConditionSchema, e.SceneConfirmSchema, e.SceneMonitorSchema, e.SceneMonitorStateSchema, e.SceneMonitorStatusSchema, e.SceneReferenceSchema, e.SceneUnavailableSchema, e.SceneUncoveredPolicySchema, e.SceneVerdictSchema, e.ScopedTokenSchema, e.ScopedTokenSummarySchema, e.ScoredObjectEventSchema, e.ScriptRunnerStatusSchema, e.SearchResultSchema, e.SendEmailInputSchema, e.SendEmailResultSchema, e.SendResultSchema, e.SensorEventSchema, e.ServerBootModeSchema, e.ServerPackageStatusSchema, e.ServerRollbackInfoSchema, e.ServerUpdateActionResultSchema, e.ServerUpdateCheckResultSchema, e.ServerUpdateStateSchema, e.SetSiteLocationInputSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SiteLocationSchema, e.SiteLocationSourceSchema, e.SiteLocationStatusSchema, e.SmokeStatusSchema, e.SmtpStatusSchema, e.SnapshotImageSchema, e.SourceInfoSchema, e.SpatialDetectionSchema, e.SsoBridgeClaimsSchema, e.StartEmbeddedInputSchema, e.StationaryObjectSchema, e.StorageAbortUploadInputSchema, e.StorageBeginDownloadInputSchema, e.StorageBeginDownloadResultSchema, e.StorageBeginUploadInputSchema, e.StorageBeginUploadResultSchema, e.StorageEndDownloadInputSchema, e.StorageFinalizeUploadInputSchema, e.StorageLocationDeclarationSchema, e.StorageLocationRefSchema, e.StorageLocationSchema, e.StorageLocationTypeSchema, e.StorageMigrationClassSchema, e.StorageMigrationDestinationsSchema, e.StorageMigrationFootageMoveInputSchema, e.StorageMigrationInputSchema, e.StorageMigrationJobSchema, e.StorageMigrationLeaseInputSchema, e.StorageMigrationMediaMoveInputSchema, e.StorageMigrationMoveSchema, e.StorageMigrationParticipantSchema, e.StorageMigrationPhaseSchema, e.StorageMigrationPlanSchema, e.StorageProviderInfoSchema, e.StorageReadChunkInputSchema, e.StorageTestLocationResultSchema, e.StorageWriteChunkInputSchema, e.StreamCodecSchema, e.StreamFormatSchema, e.StreamNetworkStatsSchema, e.StreamParamsOptionsSchema, e.StreamParamsStatusSchema, e.StreamProfileConfigSchema, e.StreamProfileOptionsSchema, e.StreamProfilePatchSchema, e.StreamProfileSchema, e.StreamSourceEntrySchema, e.StreamSourceSchema, e.SubscribeAudioChunksInputSchema, e.SubscribeAudioChunksResultSchema, e.SubscribeFramesInputSchema, e.SubscribeFramesResultSchema, e.SwitchStatusSchema, e.SystemMetricsSchema, e.SystemMirror, e.TAXONOMY_COLORS, e.TIMELAPSE_DENSE_FLOOR_SEC, e.TIMEZONES, e.TRANSCODE_DOWN_MAX_BITRATE_KBPS, e.TRANSCODE_DOWN_MAX_HEIGHT, e.TamperStatusSchema, e.TankStatusSchema, e.TargetKindCapsSchema, e.TargetKindLevelSchema, e.TargetKindSchema, e.TargetSchema, e.TemperatureSensorStatusSchema, e.TerminalInstanceInfoSchema, e.TerminalLegacyCameraSchema, e.TerminalOutputBatchSchema, e.TerminalOutputEventSchema, e.TerminalProfileInfoSchema, e.TerminalSessionInfoSchema, e.TestConnectionResultSchema, e.TestConnectionStatusEnum, e.TestResultSchema, e.TimelapseRuleInputSchema, e.TimelapseRulePatchSchema, e.TimelapseRuleSchema, e.TimelapseTemplateSchema, e.ToastSchema, e.TokenScopeSchema, e.TopologyNodeSchema, e.TopologyProcessSchema, e.TopologyServiceSchema, e.TrackCascadeCountsSchema, e.TrackEnvelopeSchema, e.TrackFlagsPatchSchema, e.TrackFlagsSchema, e.TrackProjectionSchema, e.TrackSchema, e.TrackSourceSchema, e.TrackStateSchema, e.TrackZoneFilterSchema, e.TrackedDetectionSchema, e.TrainingExportDeviceTotalsSchema, e.TrainingExportSummarySchema, e.TurnServerSchema, e.UNIT_TABLE, e.UnifiedBrokerInfoSchema, e.UnitConversionError, e.UpdateIntegrationInputSchema, e.UpdateStatusSchema, e.UpdateUserInputSchema, e.UserRecordSchema, e.UserSummarySchema, e.VISIT_MERGE_GAP_MS, e.VacuumControlStatusSchema, e.VacuumStateSchema, e.ValveStateSchema, e.ValveStatusSchema, e.VectorDeclareIndexInputSchema, e.VectorDeleteByFilterInputSchema, e.VectorDeleteInputSchema, e.VectorDeleteResultSchema, e.VectorFilterSchema, e.VectorGetInputSchema, e.VectorGetResultSchema, e.VectorItemSchema, e.VectorMatchSchema, e.VectorMetadataSchema, e.VectorMetricSchema, e.VectorQueryInputSchema, e.VectorQueryResultSchema, e.VectorStatsInputSchema, e.VectorStatsResultSchema, e.VectorUpsertInputSchema, e.VectorUpsertResultSchema, e.VibrationStatusSchema, e.VideoEncodeSchema, e.WEBRTC_EGRESS_PROFILE, e.WELL_KNOWN_TABS, e.WELL_KNOWN_TAB_MAP, e.WaterHeaterStatusSchema, e.WeatherStatusSchema, e.WebrtcStreamChoiceSchema, e.WebrtcStreamTargetSchema, e.WhiteBalanceModeSchema, e.WidgetHostEnum, e.WidgetLoginMethodSchema, e.WidgetMetadataSchema, e.WidgetRemoteSchema, e.WidgetSizeEnum, e.YAMNET_TO_MACRO, e.ZoneCrossingDirectionSchema, e.ZoneCrossingSchema, e.ZoneKindEnum, e.ZoneRuleModeEnum, e.ZoneRuleSchema, o = e.ZoneRuleStageEnum, e.ZoneRulesArraySchema, e.ZoneSchema, e.ZoneScopeBreakdownSchema, e.accessoriesCapability, e.accessoryStableId, e.addonPagesCapability, e.addonPagesSourceCapability, e.addonRoutesCapability, e.addonSettingsCapability, e.addonWidgetsCapability, e.addonWidgetsSourceCapability, e.addonsCapability, e.adminUiCapability, e.airQualitySensorCapability, e.alarmPanelCapability, e.alertsCapability, e.ambientLightSensorCapability, e.asBoolean, e.asJsonArray, e.asJsonObject, e.asNumber, e.asString, e.assertTimelapseCadences, e.audioAnalysisCapability, e.audioAnalyzerCapability, e.audioCodecCapability, e.audioIsFailClosed, e.audioKindId, e.audioLabelChoices, e.audioMetricsCapability, e.audioModeOf, e.audioOrDefaults, e.audioPlanFromEncodeProfile, e.authProviderCapability, e.autoAssignProfiles, e.automationControlCapability, e.backupCapability, e.bareAddonId, e.batteryCapability, e.bestLocationMatch, e.binaryCapability, e.bindAddonActions, e.brightnessCapability, e.brokerCapability, e.buildAddonRouteProvider, e.buildAudioArgs, e.buildEventKindDescriptor, e.buildFfmpegArgs, e.buildInputArgs, e.buildModelVariantGroups, e.buildNcTaxonomy, e.buildRoleScopes, e.buildStreamParamsConfigSchema, e.buildVideoArgs, e.buttonCapability, e.cameraCredentialsCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, e.canConvertUnit, e.canonicalEgressPlan, e.carbonMonoxideCapability, e.cellsToRects, e.classifyBearerPrincipal, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.clusterModelSettingKey, e.clusterStepSettingFieldsFor, e.clusterStepSettingKey, e.collectHydratedFieldEntries, e.collectHydratedFieldValues, e.colorCapability, e.colorForKind, e.commitWatchdogRestart, e.compileExpression, e.compileExpressionSafe, e.composeSwitchedOff, e.conditionDepth, e.conditionExclusionReason, e.conditionVisibleForKind, e.connectionTestCapability, e.connectivityCapability, e.consumablesCapability, e.contactCapability, e.controlCapability, e.convertUnit, e.coreBlockAddonId, e.coreBlockIdFromAddonId, e.coreBlocksCapability, e.cosineSimilarity, e.countConditionLeaves, e.coverCapability, e.createDeviceProxy, e.createDurableState, e.createEvent, e.createEventBusSliceSource, e.createExpressionScope, e.createHwAccelCache, e.createLazyTrpcSource, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, e.customAction, e.customModelRegistryCapability, e.dataStoreProviderCapability, e.dayNightCapability, e.declarationOwnerNodeId, e.decodeVectorBase64, e.decoderCapability, e.defaultDeliveryForSection, e.defaultDeviceFor, e.defineCustomActions, e.deriveBatteryPresence, e.deriveCameraSwitches, e.deriveDetailCropRect, e.deriveRecordingMode, e.describeModelVariant, e.detectAccessRole, e.detectionPipelineCapability, e.deviceAdoptionCapability, e.deviceBackendToFormat, e.deviceCustomAction, e.deviceDiscoveryCapability, e.deviceExportCapability, e.deviceManagerCapability, e.deviceMatchesProfile, e.deviceOpsCapability, e.deviceProviderCapability, e.deviceSelectorMatches, e.deviceStateCapability, e.deviceStatusCapability, e.doorbellCapability, e.droppedConditionsForKind, e.egressTranscodeSharingKey, e.egressTransportFromRequest, e.embeddingEncoderCapability, e.emitDownForOwnedCaps, e.emitReadiness, e.encodeProfileFromStreamShape, e.encodeVectorBase64, e.enumSensorCapability, e.enumerateInferenceDevices, e.enumerateItemArrayFields, e.enumerateSchemaFields, e.errMsg, e.evaluateAst, e.evaluateExpressionSource, e.evaluatePoolMemory, e.evaluateZoneRules, e.event, e.eventEmitterCapability, e.eventsCapability, e.expandCapMethods, e.extractNestedAddonId, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.formatForBackend, e.formatForRuntime, e.gasCapability, e.generateAutomationBlock, e.getAudioMacroClassIds, e.getByPath, e.getCapsByProviderKind, e.getTaxonomyEntry, e.hasMotionTrigger, e.hfModelUrl, e.htmlToText, e.humidifierCapability, e.humiditySensorCapability, e.hydrateSchema, e.imageCapability, e.imageSettingsCapability, e.inferModelProvider, e.initialPoolMemoryState, e.integrationsCapability, e.intercomCapability, e.invocationFromEncodeProfile, e.isAgentOnlyPlacement, e.isArrayOutputSchema, e.isAudioLabelSelected, e.isAudioRule, e.isBaseConditionKey, e.isBatteryPresenceFault, e.isClusterScopedStep, e.isCollectionArrayMethod, e.isDeployableToAgent, e.isDetectionMacroClass, e.isDeviceConfigCap, e.isDeviceScopedCap, e.isEvent, e.isIsolatedBuiltin, e.isNode, e.isObjectInput, e.isOccupancyRule, e.isRestoredCap, e.isSameAddonId, e.isScheduleActive, e.isSoftwareDecode, e.isSystemDelivery, e.isVoidInput, e.jobKindSchema, e.kebabToCamel, e.knownValues, e.lawnMowerControlCapability, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.llmCapability, e.llmRuntimeCapability, e.localNetworkCapability, e.locationSimilarity, e.lockControlCapability, e.logBannerArgs, e.logDestinationCapability, e.logLevelAtMost, e.loginMethodCapability, e.looseSchema, e.makeProfileBrokerId, e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.markdownToHtmlLite, e.markdownToText, e.maskUrlCredentials, e.mediaPlayerCapability, e.mergeSourceInfo, e.meshNetworkCapability, e.method, e.methodAccessForHttpMethod, e.metricsProviderCapability, e.modelConvertCapability, e.modelDistributorCapability, e.modelFormatForRuntime, e.motionCapability, e.motionDetectionCapability, e.motionTriggerCapability, e.motionZonesCapability, e.mqttBrokerCapability, e.nativeObjectDetectionCapability, e.networkAccessCapability, e.networkQualityCapability, e.nodePin, e.nodesCapability, e.normalizeAddonInitResult, e.normalizeAudioLabel, e.normalizeTokenScopes, e.normalizeUnit, e.notificationOutputCapability, e.notificationRulesCapability, e.notifierCapability, e.numericSensorCapability, e.oauthIntegrationCapability, e.objectInputDeclaresAddonId, e.osdCapability, e.osdManagerCapability, e.overlayClusterStepSettings, e.parseCameraStreamConfig, e.parseExpression, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseProcStatus, e.parseProfileBrokerId, e.parseRuleSection, e.parseStreamParamsFormPatch, e.patchAudio, e.petFeederCapability, e.pickAccessoryControl, e.pickClusterStepModels, e.pickClusterStepSettings, e.pickDetailCropConvention, e.pickNativeLeaseOverride, e.pickPreferredRtspEntry, e.pickRestartCandidate, e.pickVideoEncoder, e.pickerForCondition, e.pipelineAnalyticsCapability, e.pipelineExecutorCapability, e.pipelineOrchestratorCapability, e.pipelineRunnerCapability, e.plateGalleryCapability, e.platformProbeCapability, e.poolMemoryThreshold, e.powerMeterCapability, e.prepareNotification, e.presenceCapability, e.pressureSensorCapability, e.principalMayReachAddon, e.privacyMaskCapability, e.procedureAuthKey, e.ptzAutotrackCapability, e.ptzCapability, e.pythonScriptForBackend, e.readClusterStepModels, e.readClusterStepSettings, e.readDetailCropConvention, e.readDeviceStateFrom, e.readNativeLeaseOverride, e.readNodePin, e.readTimelapseGeneratedAt, e.readinessKey, e.rebootCapability, e.recordingCapability, e.recordingExportCapability, e.rectsToCells, e.requiresPython, e.resetPoolBaseline, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveCapMount, e.resolveClusterStepModelId, e.resolveDetectionRuntime, e.resolveDeviceControlKind, e.resolveDeviceProfile, e.resolveEgressDecodeHwAccel, e.resolveFormat, s = e.resolveHydratedFieldValue, e.resolveMethodAuth, e.resolveModelFormat, e.resolveMutate, e.resolvePoolMemoryPolicy, e.resolveRecordingProfiles, e.resolveRunnerId, e.resolveVariantModelId, e.resolveViewableDeviceIds, e.roleSpec, e.ruleEditorSectionsForKind, e.ruleKindOf, e.ruleKindSpec, e.ruleMatchesSection, e.ruleSection, e.ruleSectionOf, e.ruleSeedForSection, e.runInferenceStep, e.runtimeDevices, e.runtimeStatePolicyFor, e.sceneMonitorCapability, e.scopeInherits, e.scopeKey, e.scopesAllowAddon, e.scopesAllowDeviceCap, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, e.sleep, e.sleepCancellable, e.smokeCapability, e.smtpProviderCapability, e.snapshotCapability, e.ssoBridgeCapability, e.startReachabilityPoll, e.stateVocabularyFor, e.storageCapability, e.storageEvictableCapability, e.storageMigrationCapability, e.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, e.subKindsOf, e.summarisePrivacyAudio, e.summarizeEffectiveScope, e.supportedRuntimes, e.switchCapability, e.switchedOffIds, e.synthesizeSourceInfo, e.systemCapability, e.systemEventFilterApplies, e.systemEventFilterAppliesToAnyKind, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.terminalSessionCapability, e.textToHtml, e.toDeviceSummary, e.toExpressionValue, e.toNodeId, e.toStreamSourceEntry, e.toastCapability, e.toggleAudioLabel, e.tokenize, e.transcodeBody, e.tryConvertUnit, e.turnProviderCapability, e.unitDimension, e.unitsForDimension, e.updateCapability, e.userManagementCapability, e.userPasskeysCapability, e.vacuumControlCapability, e.validateExpressionSource, e.validateRecipeBounds, e.valveCapability, e.vectorDimFromBase64, e.vectorStoreCapability, e.vibrationCapability, e.videoclipsCapability, e.viewerUiCapability, e.waterHeaterCapability, e.weatherCapability, e.webrtcClientHintsSchema, e.webrtcSessionCapability, e.wiringAddonHealthSchema, e.wiringHealthSnapshotSchema, e.wiringNodeHealthSchema, e.wiringProbeKindSchema, e.wiringProbeResultSchema, e.zodEntriesToConfigUI, e.zoneAnalyticsCapability, e.zoneRulesCapability, e.zonesCapability, e.default;
|
|
20
20
|
}, l = i.share["default:@camstack/types"];
|
|
21
21
|
l === void 0 ? n.then(() => {
|
|
22
22
|
if (l = i.share["default:@camstack/types"], l === void 0) throw Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
|
package/dist/index.js
CHANGED
|
@@ -7174,7 +7174,7 @@ function method(input, output, options) {
|
|
|
7174
7174
|
input,
|
|
7175
7175
|
output,
|
|
7176
7176
|
kind: options?.kind ?? "query",
|
|
7177
|
-
auth: options
|
|
7177
|
+
...options?.auth !== void 0 ? { auth: options.auth } : {},
|
|
7178
7178
|
...options?.access !== void 0 ? { access: options.access } : {},
|
|
7179
7179
|
...options?.caller !== void 0 ? { caller: options.caller } : {},
|
|
7180
7180
|
timeoutMs: options?.timeoutMs
|
package/dist/index.mjs
CHANGED
|
@@ -7146,7 +7146,7 @@ function method(input, output, options) {
|
|
|
7146
7146
|
input,
|
|
7147
7147
|
output,
|
|
7148
7148
|
kind: options?.kind ?? "query",
|
|
7149
|
-
auth: options
|
|
7149
|
+
...options?.auth !== void 0 ? { auth: options.auth } : {},
|
|
7150
7150
|
...options?.access !== void 0 ? { access: options.access } : {},
|
|
7151
7151
|
...options?.caller !== void 0 ? { caller: options.caller } : {},
|
|
7152
7152
|
timeoutMs: options?.timeoutMs
|
package/dist/remoteEntry.js
CHANGED
|
@@ -30,7 +30,7 @@ async function d(e) {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
async function f() {
|
|
33
|
-
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-
|
|
33
|
+
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_pipeline_orchestrator_widgets-BNn7Bzgk.mjs")).catch((e) => {
|
|
34
34
|
throw l = void 0, e;
|
|
35
35
|
}), l;
|
|
36
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-pipeline-orchestrator",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.108",
|
|
4
4
|
"description": "Hub-side camera-to-agent load balancer — tracks runner capacity and dispatches attachCamera calls to the optimal pipeline-runner instance",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|