PageSourceSearch

https://muleyfreak.com/cdn/shop/t/53/assets/video-background.js?v=107325156913246386481790093714

js muleyfreak.com collected 2026-10-05 09:45:44 UTC 2,014 bytes, 1 lines download raw bytes

1!function(){"use strict";customElements.get("video-background")||customElements.define("video-background",class extends HTMLElement{constructor(){super()}connectedCallback(){this.videoId=this.querySelector("[data-video-id]"),this.videoPlayer=this.querySelector("[data-video-player]"),this.videoTemplate=this.querySelector("[data-video-template]"),this.video=null,this.powerSaverVideoPlay=this.powerSaverVideoPlay.bind(this),this.videoId&&this.renderVideo()}powerSaverVideoPlay(){this.video?.play()}renderVideo(){this.videoObserver=new IntersectionObserver(((e,i)=>{e.forEach((e=>{if(e.isIntersecting){const s=this.videoTemplate.innerHTML;this.videoPlayer.innerHTML=s,this.video=this.querySelector("[data-video-autoplay]"),this.videoPlayer.classList.remove("is-loading"),this.classList.add("is-paused"),this.video&&(this.observeVideoPlayToggle(),this.video.play().then((()=>{this.classList.remove("is-paused")})).catch((()=>{document.addEventListener("click",this.powerSaverVideoPlay,{passive:!0,once:!0}),document.addEventListener("touchstart",this.powerSaverVideoPlay,{passive:!0,once:!0})}))),i.unobserve(e.target)}}))}),{root:null,rootMargin:"300px",threshold:[0,.1,.25,.5,.75,1]}),this.videoObserver.observe(this.videoPlayer)}observeVideoPlayToggle(){if(!this.video)return;this.videoPlayObserver=new IntersectionObserver((e=>{e.forEach((e=>{const i=e.isIntersecting;if(i&&"function"==typeof this.video.play){const e=this.video.play();void 0!==e&&e.then((()=>{this.classList.remove("is-paused")})).catch((()=>{this.classList.add("is-paused")}))}i||"function"!=typeof this.video.pause||(this.video.pause(),this.classList.add("is-paused"))}))}),{rootMargin:"0px",threshold:[0,1]}),this.videoPlayObserver.observe(this.video)}disconnectedCallback(){this.videoObserver&&this.videoObserver.disconnect(),this.videoPlayObserver&&this.videoPlayObserver.disconnect(),this.videoId&&(document.removeEventListener("click",this.powerSaverVideoPlay),document.removeEventListener("touchstart",this.powerSaverVideoPlay))}})}();

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.