PageSourceSearch

https://chiemgaukorn.de/cdn/shop/t/3/assets/model-media.js?v=72293555598817173731744275110

js chiemgaukorn.de collected 2026-09-24 23:00:15 UTC 1,347 bytes, 2 lines download raw bytes

1import BaseMedia from"@archetype-themes/custom-elements/base-media";import{loadProduct}from"@archetype-themes/utils/product-loader";export class ModelMedia extends BaseMedia{getPlayerTarget(){return new Promise(resolve=>{this.setAttribute("loaded",""),window.Shopify.loadFeatures([{name:"shopify-xr",version:"1.0",onLoad:this.setupShopifyXr.bind(this)},{name:"model-viewer-ui",version:"1.0",onLoad:()=>{const modelViewerUi=this.setupModelViewerUi();resolve(modelViewerUi)}}])})}playerHandler(target,prop){target[prop]()}async setupShopifyXr(){if(!window.ShopifyXR)document.addEventListener("shopify_xr_initialized",this.setupShopifyXr.bind(this));else{const productModels=(await loadProduct(this.getAttribute("handle"))).media.filter(media=>media.media_type==="model");window.ShopifyXR.addModels(productModels),window.ShopifyXR.setupXRElements()}}setupModelViewerUi(){const modelViewer=this.querySelector("model-viewer");return modelViewer.addEventListener("shopify_model_viewer_ui_toggle_play",()=>{this.setAttribute("playing","")}),modelViewer.addEventListener("shopify_model_viewer_ui_toggle_pause",()=>{this.removeAttribute("playing")}),new window.Shopify.ModelViewerUI(modelViewer,{focusOnPlay:!1})}}customElements.define("model-media",ModelMedia);
2//# sourceMappingURL=/cdn/shop/t/3/assets/model-media.js.map?v=72293555598817173731744275110

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.