PageSourceSearch

https://devin-miles.com/cdn/shop/t/7/assets/background-video.js?v=26566371739913046821780633817

js devin-miles.com collected 2026-10-03 01:35:33 UTC 1,913 bytes, 2 lines download raw bytes

1if(!customElements.get("background-video")){class BackgroundVideo extends HTMLElement{constructor(){super()}connectedCallback(){let _this=this;document.body.classList.contains("animations-true")&&typeof gsap<"u"&&this.prepareAnimations();let video_container=this.querySelector(".background-video__iframe");video_container&&video_container.querySelector("iframe")&&(video_container.querySelector("iframe").onload=function(){_this.videoPlay(video_container)})}videoPlay(video_container){setTimeout(()=>{video_container.dataset.provider==="youtube"?video_container.querySelector("iframe").contentWindow.postMessage(JSON.stringify({event:"command",func:"playVideo",args:""}),"*"):video_container.dataset.provider==="vimeo"&&video_container.querySelector("iframe").contentWindow.postMessage(JSON.stringify({method:"play"}),"*")},10)}prepareAnimations(){let section=this,tl=gsap.timeline({scrollTrigger:{trigger:section,start:"top center"}}),button_offset=0;document.fonts.ready.then(function(){if(new SplitText(section.querySelectorAll("h3, p"),{type:"lines, words",linesClass:"line-child"}),section.querySelector("h3")){let h3_duration=.7+(section.querySelectorAll("h3 .line-child div").length-1)*.05;tl.from(section.querySelectorAll("h3 .line-child div"),{duration:h3_duration,yPercent:"100",stagger:.05},0),button_offset+=h3_duration}if(section.querySelector("p")){let p_duration=.7+(section.querySelectorAll("p .line-child div").length-1)*.02;tl.from(section.querySelectorAll("p .line-child div"),{duration:p_duration,yPercent:"100",stagger:.02},0),button_offset+=p_duration}section.querySelector(".video-lightbox-modal__button")&&tl.fromTo(section.querySelector(".video-lightbox-modal__button"),{autoAlpha:0},{duration:.5,autoAlpha:1},button_offset*.4)})}}customElements.define("background-video",BackgroundVideo)}
2//# sourceMappingURL=/cdn/shop/t/7/assets/background-video.js.map?v=26566371739913046821780633817

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.