import{r as a,i as c,x as u,t as d}from"../chunks/BR4fxmeU.min.js";const h="";var p=Object.getOwnPropertyDescriptor,v=(o,i,l,n)=>{for(var t=n>1?void 0:n?p(i,l):i,e=o.length-1,r;e>=0;e--)(r=o[e])&&(t=r(t)||t);return t};let s=class extends c{connectedCallback(){super.connectedCallback(),this.responsiveVideo=this.querySelector("photos-responsive-video"),this.customPlayButton=this.querySelector("[data-custom-play-button]"),this.customPlayButton&&this.responsiveVideo&&(this.responsiveVideo.addEventListener("playing",()=>{this.customPlayButton?.setAttribute("aria-hidden","true"),this.customPlayButton?.setAttribute("inert","")}),this.customPlayButton.addEventListener("click",()=>{this.responsiveVideo.dispatchEvent(new CustomEvent("play"))}))}render(){return u` `}};s.styles=a(h);s=v([d("photos-video-tile")],s);