1class CustomElementPatcher{constructor(){}patchCustomElement(tagElement,defineElement,classElement){const selector=`${tagElement}[is="${defineElement}"]`;document.querySelectorAll(selector).forEach(el=>{el instanceof classElement||(Object.setPrototypeOf(el,classElement.prototype),typeof el.init=="function"&&el.init())})}patchAllCustomElements(elements={}){Object.entries(elements).forEach(([defineElement,{tagElement,classElement}])=>{this.patchCustomElement(tagElement,defineElement,classElement)})}observeAndPatchCustomElements(elements={}){const config={attributes:!0,childList:!0,subtree:!0},patchIfNeeded=()=>{this.patchAllCustomElements(elements)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",patchIfNeeded):patchIfNeeded(),new MutationObserver(patchIfNeeded).observe(document.body,config),window.Shopify&&Shopify.designMode&&(document.addEventListener("shopify:section:load",patchIfNeeded),document.addEventListener("shopify:section:select",patchIfNeeded),document.addEventListener("shopify:section:deselect",patchIfNeeded),document.addEventListener("shopify:block:select",patchIfNeeded),document.addEventListener("shopify:block:deselect",patchIfNeeded))}}export const CustomElement=new CustomElementPatcher; 2//# sourceMappingURL=/cdn/shop/t/7/assets/safari-element-patch.js.map?v=183235132010684099751776494716
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.