PageSourceSearch

https://www.cattherapysb.com/cdn/shop/t/15/assets/product-model.js?v=24093562005154662591790309715

js cattherapysb.com collected 2026-10-04 15:37:28 UTC 2,093 bytes, 2 lines download raw bytes

1class ProductModel extends HTMLElement{constructor(){super(),this.coverButton=this.querySelector(".product-model__cover-button"),this.mediaType=this.dataset.mediaType,this.loaded=JSON.parse(this.dataset.loaded),this.coverButton&&this.coverButton.addEventListener("click",()=>this.loadContent())}loadContent(){if(theme.pauseAllMedia(),!this.loaded){const content=document.createElement("div");content.appendChild(this.querySelector("template").content.firstElementChild.cloneNode(!0)),this.appendChild(content.querySelector("video, model-viewer, iframe")).focus(),this.dataset.loaded=!0}Shopify.loadFeatures([{name:"model-viewer-ui",version:"1.0",onLoad:this.setupModelViewerUI.bind(this)}]),this.modelViewer||(this.modelViewer=this.querySelector("model-viewer")),this.mutationObserver||(this.mutationObserver=new MutationObserver(()=>{this.watchModelViewer()}),this.mutationObserver.observe(this.modelViewer,{attributeFilter:["class"]}),this.manageSlider())}watchModelViewer(){this.manageSlider()}manageSlider(){this.mediaSlideshow=this.closest("media-slideshow"),this.modelViewer.classList.contains("shopify-model-viewer-ui__disabled")?this.mediaSlideshow.enableDrag():this.mediaSlideshow.disableDrag()}setupModelViewerUI(errors){errors||(this.modelViewerUI=new Shopify.ModelViewerUI(this.querySelector("model-viewer")),this.modelViewer||(this.modelViewer=this.querySelector("model-viewer")),this.modelViewer.focu
1s())}}customElements.define("product-model",ProductModel),window.ProductModel={loadShopifyXR(){Shopify.loadFeatures([{name:"shopify-xr",version:"1.0",onLoad:this.setupShopifyXR.bind(this)}])},setupShopifyXR(errors){if(!errors){if(!window.ShopifyXR){document.addEventListener("shopify_xr_initialized",()=>this.setupShopifyXR());return}document.querySelectorAll('[id^="ProductJSON-"]').forEach(modelJSON=>{window.ShopifyXR.addModels(JSON.parse(modelJSON.textContent)),modelJSON.remove()}),window.ShopifyXR.setupXRElements()}}},window.ProductModel&&window.ProductModel.loadShopifyXR();
2//# sourceMappingURL=/cdn/shop/t/15/assets/product-model.js.map?v=24093562005154662591790309715

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.