HEX
Server: LiteSpeed
System: Linux server53.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User: nahevttf (6494)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/nahevttf/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){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);