1var o=Object.defineProperty;var c=(i,e,t)=>e in i?o(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var s=(i,e,t)=>c(i,typeof e!="symbol"?e+"":e,t);import{g as a}from"./scripts-CCb-cNvQ.js";import n from"./index-DaLqoT6F.js";class f{constructor(e){s(this,"init",()=>{this.buildVideo(),this.createVideo(),this.revealVideo()});s(this,"buildVideo",()=>{var e,t;this.src||(this.src=this.fetchUrl(),this.src&&(this.img=(t=(e=this.element.querySelector("img"))==null?void 0:e.src)==null?void 0:t.replace("_480x480",""),this.element.innerHTML=` 2 <video playsinline data-src="${this.src}" class="absolute top-0 left-0 object-cover w-full h-full js-video-hls"> 3 </video> 4 <img src="${this.img}" class="absolute inset-0 w-full h-full object-cover js-video-poster"> 5 <div class='absolute flex items-center justify-center w-16 h-16 -translate-x-1/2 -translate-y-1/2 rounded-full cursor-pointer top-1/2 left-1/2 bg-signal-primary text-signal-primary-contrast lg:w-[calc(104/16*1rem)] lg:h-[calc(104/16*1rem)] js-video-play'> 6 <span class='ll-font-play block'> 7 play 8 </span> 9 </div> 10 `))});s(this,"createVideo",()=>{this.src&&(this.video=new n(this.element))});s(this,"fetchUrl",()=>{const e=/(https?:\/\/[^\s<]+)/g,t=this.element.innerHTML.match(e);if(t)return t[0];for(let r of this.element.children){const l=findUrl(r);if(l)return l}return null});s(this,"revealVideo",()=>{a.to(this.element,{opacity:1,duration:.3,ease:"power1.out"})});var t;this.element=e,this.src=(t=this.element.dataset)==null?void 0:t.src,this.init()}}export{f as default};
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.