PageSourceSearch

https://editorafundamento.com.br/cdn/shop/t/6/assets/product-quick-view.js?v=110624273134434009711775331679

js editorafundamento.com.br collected 2026-10-02 05:42:30 UTC 1,850 bytes, 1 lines download raw bytes

1const{MinimogThemeStyles:MinimogThemeStyles,MinimogThemeScripts:MinimogThemeScripts}=window;class QuickView{constructor(){this.modal=new MinimogTheme.Modal,this.isOpen=!1,this.isLoading=!1,addEventDelegate({selector:".m-product-quickview-button",handler:(t,e)=>{if(t.preventDefault(),this.isLoading)return;this.target=e,this.toggleLoading(!0);const i=e.dataset.productHandle;i&&this.loadProductQuickView(i)}}),window.MinimogEvents.subscribe(MinimogTheme.pubSubEvents.cartUpdate,()=>{this.modal&&this.modal.close()}),window.MinimogEvents.subscribe("ON_MODAL_CLOSED",t=>{this.close()})}loadProductQuickView(t){this.isOpen&&this.modal&&this.modal.close(),this.isLoading=!0,fetchSection("product-quickview",{url:`${window.MinimogSettings.base_url}products/${t}`}).then(t=>{this.modalContent=t.querySelector("#MainProduct-quick-view__content");const e=t.querySelector("product-info").dataset.colorScheme;this.modal.appendChild(this.modalContent),this.modal.setWidth("960px");this.modal.modal.querySelector("#MainProduct-quick-view__content").querySelectorAll("script").forEach(t=>{const e=document.createElement("script");Array.from(t.attributes).forEach(t=>{e.setAttribute(t.name,t.value)}),e.appendChild(document.createTextNode(t.innerHTML)),t.parentNode.replaceChild(e,t)}),this.modal.open(),this.modal.setSizes(`m-gradient ${e}`),this.toggleLoading(!1),this.isOpen=!0,this.isLoading=!1}).then(()=>{document.dispatchEvent(new CustomEvent("tcustomizer-custom-show-quick-view",{detail:{productHandle:this.target.dataset.productHandle}})),document.dispatchEvent(new CustomEvent("quick-view:loaded",{detail:{productUrl:this.target.dataset.productHandle}}))}).catch(t=>{})}close(){this.isOpen=!1}toggleLoading(t){t?this.target.classList.add("m-spinner-loading"):this.target.classList.remove("m-spinner-loading")}}MinimogTheme.ProductQuickView=new QuickView;

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.