HEX
Server: Apache/2.4.58 (IUS)
System: Linux fromcolo1.linveo.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: u100898694 (7904)
PHP: 8.1.29
Disabled: symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,passthru,escapeshellarg,escapeshellcmd,proc_get_status,proc_nice,proc_terminate,pclose,ini_alter,virtual,openlog,apache_child_terminate,apache_setenv,define_syslog_variables,highlight_file,ini_get_all,ini_restore,inject_code,openlog,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,posix_setuid,posix_uname,syslog,system,show_source,pcntl_exec,virtual,suexec,dbmopen,dl,disk_free_space,diskfreespace,leak,apache_get_modules,apache_get_version,apache_note,apache_setenv,highlight_file
Upload Files
File: /home/u100898694/public_html/wp-content/themes/bloglo/assets/js/bloglo-wc.min.js
"use strict";!function(o){var e=!1,t=o("body"),n=o("#page"),r={init:function(){o(document).ready(r.ready),o(document).ajaxComplete(r.ajaxComplete),t.on("added_to_cart",r.addedToCart),r.bindUIActions()},ready:function(){r.customDropdown(),r.quantButtons()},ajaxComplete:function(){r.quantButtons()},addedToCart:function(){r.showCartDropdown()},bindUIActions:function(){r.removeCartItem()},quantButtons:function(){var e,t,n,r,a=o("div.quantity:not(.appended), td.quantity:not(.appended)").find(".qty");a.length&&"date"!==a.prop("type")&&"hidden"!==a.prop("type")&&(a.parent().addClass("appended"),a.after('<a href="#" class="bloglo-woo-minus">-</a><a href="#" class="bloglo-woo-plus">+</a>'),o(".bloglo-woo-plus, .bloglo-woo-minus").unbind("click"),o(".bloglo-woo-plus, .bloglo-woo-minus").on("click",function(l){l.preventDefault(),r=o(this),n=r.parent().find("input"),t=n.val(),e=0,r.hasClass("bloglo-woo-plus")?e=parseInt(t)+1:t>0&&(e=parseInt(t)-1),n.val(e),a.trigger("change")}))},showCartDropdown:function(){o(".bloglo-header-widget__cart").length&&(o(".bloglo-header-widget__cart").addClass("dropdown-visible"),setTimeout(function(){o("#bloglo-header-inner").find(".bloglo-cart").find(".bloglo-cart-count").addClass("animate-pop")},100),e&&(clearTimeout(e),e=!1),e=setTimeout(function(){o(".bloglo-header-widget__cart").removeClass("dropdown-visible").find(".dropdown-item").removeAttr("style")},5e3))},customDropdown:function(){if(o("form.woocommerce-ordering").length){var e=o("form.woocommerce-ordering .orderby"),t=o("form.woocommerce-ordering"),n=o("form.woocommerce-ordering .orderby option:selected").text();t.append('<span id="bloglo-orderby"><span>'+n+'</span><svg class="bloglo-icon" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M24.958 10.483a1.29 1.29 0 00-1.868 0l-7.074 7.074-7.074-7.074c-.534-.534-1.335-.534-1.868 0s-.534 1.335 0 1.868l8.008 8.008c.267.267.667.4.934.4s.667-.133.934-.4l8.008-8.008a1.29 1.29 0 000-1.868z"/></svg></span>'),e.addClass("custom-select-loaded");var r=o("#bloglo-orderby");e.width(r.width()).css("height",r.height()+"px"),e.change(function(){r.find("span").html(o("form.woocommerce-ordering .orderby option:selected").text()),o(this).width(r.width())})}},removeCartItem:function(){var e;o(".bloglo-remove-cart-item").length&&n.on("click",".bloglo-remove-cart-item",function(n){n.preventDefault(),(e=o(this)).closest(".bloglo-cart-item").addClass("removing");var r={action:"bloglo_remove_wc_cart_item",_ajax_nonce:bloglo_vars.nonce,product_key:e.data("product_key")};o.post(bloglo_vars.ajaxurl,r,function(o){o.success?t.trigger("wc_fragment_refresh"):e.closest(".bloglo-cart-item").removeClass("removing")})})}};r.init(),window.bloglo_wc=r}(jQuery);