PageSourceSearch

https://www.mysafety.se/wp-content/themes/mysafety-wordpress/build/assets/inline-videos-ByigGkzc.js

js mysafety.se collected 2026-09-26 11:14:12 UTC 1,218 bytes, 2 lines download raw bytes

1var r=Object.defineProperty;var a=(i,e,t)=>e in i?r(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var s=(i,e,t)=>a(i,typeof e!="symbol"?e+"":e,t);function n(i){i.forEach(e=>{new d(e)})}class d{constructor(e){s(this,"video");s(this,"options",{root:null,rootMargin:"0px",threshold:[.3]});this.video=e,this.init()}init(){this.video.hasAttribute("autoplay")&&this.setupAutoplayObserver();const e=this.video.getAttribute("preload");e&&e.toLowerCase()!=="auto"&&this.setupLazyLoadObserver()}setupAutoplayObserver(){new IntersectionObserver(t=>this.handleAutoplay(t),this.options).observe(this.video)}setupLazyLoadObserver(){new IntersectionObserver((t,o)=>this.handleLazyLoad(t,o),this.options).observe(this.video)}handleAutoplay(e){e.forEach(t=>{!t.isIntersecting&&!this.video.paused?this.video.pause():t.isIntersecting&&this.video.paused&&this.video.play()})}handleLazyLoad(e,t){e.forEach(o=>{o.isIntersecting&&this.video.getAttribute("preload")!=="auto"&&(this.video.load(),this.video.play(),this.video.removeAttribute("preload"),this.video.setAttribute("autoplay","true"),this.setupAutoplayObserver(),t.unobserve(this.video))})}}export{n as default};
2//# sourceMappingURL=inline-videos-ByigGkzc.js.map

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.