1import{b as D}from"./chunk-HJM4BOIA.js";import{a as $}from"./chunk-YIKHX72X.js";import"./chunk-HLOHHFCD.js";import"./chunk-HJHBSEUQ.js";import{k as C}from"./chunk-CXWAFE77.js";import{$ as o,C as r,Da as m,Eb as l,F as n,Kb as b,Mb as g,Nb as f,Ob as w,Pb as u,Qb as v,ab as p,eb as s,ka as c,lc as W,qb as d,u as a,vc as h,wc as y}from"./chunk-P5UROMFP.js";function x(i,e){if(i&1&&v(0,"img",1),i&2){let t=e.$implicit;l("src",t,p)}}var M=class i{reload=3e4;widget=m.required();metadatatoolService=c($);webcams$;constructor(){this.webcams$=D(this.widget).pipe(o(()=>this.metadatatoolService.metadata$),a(e=>e.webcams),n(e=>!!e.length),o(e=>r(0,this.reload).pipe(a(()=>e.map(t=>`${t}?nocache=${Math.floor(Date.now()/1e3)}`)))))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=d({type:i,selectors:[["app-widget-webcam"]],inputs:{widget:[1,"widget"]},decls:5,vars:2,consts:[[1,"gap-16","flex","flex-col"],["alt","Webcam",3,"src"]],template:function(t,S){if(t&1&&(W(0),h(1,"async"),w(2,"div",0),g(3,x,1,1,"img",1,b),u()),t&2){let _=y(1,0,S.webcams$);s(3),f(_)}},dependencies:[C],encapsulation:2,changeDetection:0})};export{M as WidgetWebcamComponent};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.