HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/lacalita/wp-content/plugins/rey-core/inc/compatibility/pitchprint/script.js
!function(e){"use strict";new function(){var e=this;this.init=function(){this.replaceImages(),this.events()},this.events=function(){jQuery(document.body).on("wc_fragments_loaded updated_checkout wc_update_cart",(function(t){e.handleCheckout(),e.replaceImages()}))},this.isCheckout=function(){return document.body.classList.contains("woocommerce-checkout")},this.handleCheckout=function(){if(this.isCheckout()){var e=this.getFragments();if(e&&void 0!==e["div.widget_shopping_cart_content"]&&"undefined"!=typeof rey){var t=rey.dom.createElementFromHTML(e["div.widget_shopping_cart_content"]).querySelectorAll("img[pp-cart-image-preview]"),r=document.querySelectorAll(".woocommerce-checkout-review-order-table .rey-classic-reviewOrder-img > img");if(r.length===t.length){var i=[].slice.call(t,0);i.reverse(),i.forEach(((e,t)=>{var i=e.getAttribute("pp-cart-image-preview");r[t].setAttribute("src",i)}))}}}},this.replaceImages=function(){this.isCheckout()||document.querySelectorAll("img[pp-cart-image-preview]").forEach((e=>{var t=e.getAttribute("src"),r=e.getAttribute("pp-cart-image-preview");t!==r&&(e.setAttribute("src",r),e.removeAttribute("srcset"))}))},this.getFragments=function(){return"undefined"==typeof wc_cart_fragments_params?{}:wc_cart_fragments_params.fragment_name&&JSON.parse(sessionStorage.getItem(wc_cart_fragments_params.fragment_name))||{}},this.init()}}(jQuery);