HEX
Server: Apache
System: Linux vps.rockyroadprinting.net 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: rockyroadprintin (1011)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/rockyroadprintin/www/wp-content/themes/woodmart/js/scripts/wc/updateCartFragmentsFix.min.js
!function(n){n(document).ready(function(){n("body").on("added_to_cart removed_from_cart",function(e,t){t&&n.each(t,function(e,t){n(e.replace("_wd","")).replaceWith(t)})})}),n("body").on("wc_fragments_refreshed wc_fragments_loaded",function(){if("undefined"!=typeof wd_cart_fragments_params&&"undefined"!=typeof Cookies){var e=JSON.parse(sessionStorage.getItem(wd_cart_fragments_params.fragment_name)),t=wd_cart_fragments_params.cart_hash_key,t=sessionStorage.getItem(t),a=Cookies.get("woocommerce_cart_hash"),r=sessionStorage.getItem("wc_cart_created");if(null!=a&&""!==a||(a=""),(t=null!=t&&""!==t?t:"")&&(null==r||""===r))throw"No cart_created";if(r)if(+r+864e5<(new Date).getTime())throw"Fragment expired";e&&e["div.widget_shopping_cart_content"]&&t===a&&n.each(e,function(e,t){n(e.replace("_wd","")).replaceWith(t)})}})}(jQuery);