PageSourceSearch

https://embarkvet.com/cdn/shop/t/992/assets/video-with-text-Cm1KHN4Z.js

js embarkvet.com collected 2026-09-24 09:42:10 UTC 1,669 bytes, 1 lines download raw bytes

1import{r,n,t as s}from"./index-CaapfkI4.js";import{b as d}from"./a11y-CNHqO0kf.js";import{p as l}from"./play-button-block-MmLupWCC.js";import{c,a as m}from"./checkAutoPlay-CgHuUcoJ.js";import{s as u}from"./shouldAnimate-B0ZG9BX7.js";import{a as h}from"./at-breakpoint-change-DVsQWIFj.js";import{g as p}from"./media-queries-CokWIw5y.js";import"./load-vimeo-api-BcPJx7z4.js";import"./delay-offset-BjN0AgqN.js";import"./intersection-watcher-DVwovAmA.js";const t={mediaContainer:".video-with-text__media-container",video:".video-with-text__video",videoSourceDesktop:".desktop-source",videoSourceMobile:".mobile-source",playButtonVideo:"[data-play-button-block]",playButtonBlock:".play-button-block"};r("video-with-text",{videoHandler:null,onLoad(){const o=s(t.playButtonVideo,this.container);this.mediaContainer=n(t.mediaContainer,this.container),o.length&&(this.playButtons=o.map(a=>l(a.closest(t.playButtonBlock)))),this.mediaContainer.dataset.hasMobileVideo==="true"&&h(720,()=>{window.matchMedia(p("below-720")).matches?this._updateVideo("mobile"):this._updateVideo("default")}),u(this.container)&&(this.animateVideoHero=m(this.container))},_updateVideo(o){const i=o==="mobile"?t.videoSourceMobile:t.videoSourceDesktop,a=n(i,this.mediaContainer),e=n(t.video,this.mediaContainer);e.src!==a.src&&(e.src=a.src,e.load(),e&&(e.muted=!0),this._playVideo(e))},_playVideo(o){this.videoHandler=d(this.container),o&&(o.play(),c(o,this.mediaContainer)),o&&o.paused&&(this.mediaContainer.dataset.videoLoading="true")},onUnload(){var o;this.playButtons&&this.playButtons.forEach(i=>i.unload()),this.videoHandler&&this.videoHandler(),(o=this.animateVideoHero)==null||o.destroy()}});

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.