1var l=Object.defineProperty;var n=(s,t,e)=>t in s?l(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var i=(s,t,e)=>n(s,typeof t!="symbol"?t+"":t,e);import{C as c}from"./main-Dx0A6mkR.js";class a extends c{connect(){const t=document.querySelector("body div.wp-site-blocks header.primary-header");if(this.mainEl=document.querySelector("body"),t&&this.positionValue==="top"&&this.element.parentNode!==t){const e=this.element.cloneNode(!0);t.prepend(e),this.mainEl.classList.add("has-banner-ad-top")}if(this.current=0,this.total=this.slideTargets.length,this.total===1){this.slideTargets[0].classList.add("active");return}this.slideTargets.forEach((e,r)=>{e.classList.toggle("active",r===0)}),this.start()}disconnect(){this.interval&&clearInterval(this.interval)}start(){this.interval=setInterval(()=>this.showNext(),this.speedValue*1e3)}showNext(){const t=this.slideTargets[this.current];this.current=(this.current+1)%this.total;const e=this.slideTargets[this.current];t.classList.remove("active"),e.classList.add("active")}}i(a,"targets",["slide"]),i(a,"values",{speed:Number,position:String});export{a 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.