PATH:
home
/
centosnipponia
/
public_html
/
BAK_tradeandtraffic
/
wp-content
/
cache
/
wpo-minify
/
tmp
{"request":{"hurl":"https:\/\/www.trade-traffic.com\/wp-content\/themes\/chromium\/assets\/js\/theme-helper.js","inline":"","enable_minification":true,"type":"js","handle":"chromium-theme-helper","version":"1.0"},"log":{"url":"\/wp-content\/themes\/chromium\/assets\/js\/theme-helper.js","success":true},"code":"jQuery(document).ready(function($){\"use strict\";if((\"ontouchstart\" in document.documentElement)){document.documentElement.className+=\" touch-enabled\"}\n$('.site-sidebar .widget select, .variations_form select').each(function(){$(this).wrap(\"<div class='select-wrapper'><\/div>\")});if((window.matchMedia(\"(max-width: 768px)\").matches)){$('.wc-tabs a').on('click',function(){$(this).closest(\"ul\").toggleClass(\"open\")})}\n$.fn.resizeselect=function(settings){return this.each(function(){$(this).change(function(){var $this=$(this);var text=$this.find(\"option:selected\").text();var $test=$(\"<span>\").html(text).css({\"font-size\":$this.css(\"font-size\"),\"visibility\":\"hidden\"});$test.appendTo($this.parent());var width=$test.width();$test.remove();$this.width(width)}).change()})};if(!$('body').hasClass('grid-variations')&&$('body').hasClass('single-product')){$('.variations select').resizeselect()}\nvar offset=600,offset_opacity=1800,scroll_top_duration=500,back_to_top=$('.to-top');$(window).scroll(function(){($(this).scrollTop()>offset)?back_to_top.addClass('top-is-visible'):back_to_top.removeClass('top-is-visible top-fade-out');if($(this).scrollTop()>offset_opacity){back_to_top.addClass('top-fade-out')}});back_to_top.on('click',function(event){event.preventDefault();$('body,html').animate({scrollTop:0,},scroll_top_duration)});function get_compare_count(){var compare_wrapper=$('.tm-woocompare-widget-wrapper')\nvar compare_count=compare_wrapper.find('.tm-woocompare-widget-products').children().length;if(compare_count>0){if(compare_wrapper.find('.compare-count-wrapper').length){compare_wrapper.find('.compare-count-wrapper').text(compare_count)}else{compare_wrapper.append('<span class=\"compare-count-wrapper\">'+compare_count+'<\/span>')}}else{compare_wrapper.find('.compare-count-wrapper').remove();compare_wrapper.append('<span class=\"compare-count-wrapper\">0<\/span>')}}\nget_compare_count();function get_wishlist_count(){var wishlist_wrapper=$('.tm-woocomerce-wishlist-widget-wrapper')\nvar wishlist_count=wishlist_wrapper.find('.tm-woowishlist-widget-products').children().length;if(wishlist_count>0){if(wishlist_wrapper.find('.wishlist-count-wrapper').length){wishlist_wrapper.find('.wishlist-count-wrapper').text(wishlist_count)}else{wishlist_wrapper.append('<span class=\"wishlist-count-wrapper\">'+wishlist_count+'<\/span>')}}else{wishlist_wrapper.find('.wishlist-count-wrapper').remove();wishlist_wrapper.append('<span class=\"wishlist-count-wrapper\">0<\/span>')}}\nget_wishlist_count();$(document).ajaxComplete(function(event,xhr,settings){var event_url=settings.url;var event_data=settings.data;if(~event_url.indexOf(\"action=tm_compare_get_fragments\")){get_compare_count()}\nif(event_data&&('function'===typeof event_data.indexOf)){if(~event_data.indexOf(\"action=tm_woocompare_update\")||~event_data.indexOf(\"action=tm_woocompare_remove\")||~event_data.indexOf(\"action=tm_woocompare_empty\")){get_compare_count()}\nif(~event_data.indexOf(\"action=tm_woowishlist_update\")||~event_data.indexOf(\"action=tm_woowishlist_remove\")){get_wishlist_count()}}});var header_widget=$('.site-header .widget');var settings={interval:100,timeout:200,over:mousein_triger,out:mouseout_triger};function mousein_triger(){if($(this).hasClass('widget_tm_woocompare_recent_compare_list')){$(this).find('.tm-woocompare-widget-products').css('visibility','visible');$(this).addClass('opened')}else if($(this).hasClass('widget_tm_woocommerce_wishlist')){$(this).find('.tm-woowishlist-widget-products').css('visibility','visible');$(this).addClass('opened')}}\nfunction mouseout_triger(){if($(this).hasClass('widget_tm_woocompare_recent_compare_list')){$(this).removeClass('opened');$(this).find('.tm-woocompare-widget-products').delay(300).queue(function(){$(this).css('visibility','hidden').dequeue()})}else if($(this).hasClass('widget_tm_woocommerce_wishlist')){$(this).removeClass('opened');$(this).find('.tm-woowishlist-widget-products').delay(300).queue(function(){$(this).css('visibility','hidden').dequeue()})}}\nif(window.matchMedia(\"(min-width: 801px)\").matches){header_widget.hoverIntent(settings)}else{header_widget.on('click',function(){if(window.matchMedia(\"(max-width: 767px)\").matches){var screen_width=$(window).width();var widget_container_width=300;var widget_offset=$(this).offset();var widget_padding_width=(screen_width-widget_container_width)\/2;var new_widget_right_pos=screen_width-widget_offset.left-$(this).width()-widget_padding_width;var new_widget_btn_pos=new_widget_right_pos-20;if($(this).hasClass('widget_tm_woocompare_recent_compare_list')){$(this).find('.tm-woocompare-widget-products').css('right','-'+new_widget_right_pos+'px');$(this).find('.compare_link_btn').css('right','-'+new_widget_btn_pos+'px')}else if($(this).hasClass('widget_tm_woocommerce_wishlist')){$(this).find('.tm-woowishlist-widget-products').css('right','-'+new_widget_right_pos+'px');$(this).find('.tm-woowishlist-page-button').css('right','-'+new_widget_btn_pos+'px')}}\nif($(this).hasClass('widget_tm_woocompare_recent_compare_list')&&$(this).hasClass('opened')){$(this).removeClass('opened');$(this).find('.tm-woocompare-widget-products').delay(300).queue(function(){$(this).css('visibility','hidden').dequeue()})}else if($(this).hasClass('widget_tm_woocompare_recent_compare_list')){$(this).find('.tm-woocompare-widget-products').css('visibility','visible');$(this).addClass('opened')}else if($(this).hasClass('widget_tm_woocommerce_wishlist')&&$(this).hasClass('opened')){$(this).removeClass('opened');$(this).find('.tm-woowishlist-widget-products').delay(300).queue(function(){$(this).css('visibility','hidden').dequeue()})}else if($(this).hasClass('widget_tm_woocommerce_wishlist')){$(this).find('.tm-woowishlist-widget-products').css('visibility','visible');$(this).addClass('opened')}})}\nfunction product_tooltips(){$('.product-tooltip').hide().empty();$('.buttons-wrapper .button').each(function(){$(this).hoverIntent(mousein_triger,mouseout_triger);function mousein_triger(){if($(this).hasClass('in_compare')&&$(this).hasClass('tm-woocompare-button')){$(this).parent().find('.product-tooltip').html(msg_compare_added).show()}else if($(this).hasClass('tm-woocompare-button')){$(this).parent().find('.product-tooltip').html(msg_compare).show()}else if($(this).hasClass('in_wishlist')&&$(this).hasClass('tm-woowishlist-button')){$(this).parent().find('.product-tooltip').html(msg_wish_added).show()}else if($(this).hasClass('tm-woowishlist-button')){$(this).parent().find('.product-tooltip').html(msg_wish).show()}else if($(this).hasClass('product_type_variable')||$(this).parent().parent().parent().parent().hasClass('outofstock')){$(this).parent().find('.product-tooltip').html(msg_select_options).show()}else if($(this).hasClass('add_to_cart_button')){$(this).parent().find('.product-tooltip').html(msg_add_cart).show()}}\nfunction mouseout_triger(){$(this).parent().find('.product-tooltip').hide().empty()}})}\nproduct_tooltips();function view_switcher(){var container=$('ul.products');if($('.list-grid-switcher span.list').hasClass('active')){container.addClass('list-view')};$('.list-grid-switcher').on('click','span',function(e){e.preventDefault();if((e.currentTarget.className=='grid active')||(e.currentTarget.className=='list active')){return!1}\nif($(this).hasClass('grid')&&$(this).not('.active')){container.animate({opacity:0},function(){$('.list-grid-switcher .list').removeClass('active');$('.list-grid-switcher .grid').addClass('active');container.removeClass('list-view');container.stop().animate({opacity:1})})}\nif($(this).hasClass('list')&&$(this).not('.active')){container.animate({opacity:0},function(){$('.list-grid-switcher .grid').removeClass('active');$('.list-grid-switcher .list').addClass('active');container.addClass('list-view');container.stop().animate({opacity:1})})}})}\nview_switcher();$(\"ul.extra-gallery-thumbs li a\").on('click',function(e){e.preventDefault();var mainImageUrl=$(this).attr(\"href\");var imgSrcset=$(this).find('img').attr(\"srcset\");var mainImage=$(this).parent().parent().parent().find(\".woocommerce-LoopProduct-link img\");mainImage.attr({src:mainImageUrl,srcset:imgSrcset})});$('.woocommerce-widget-layered-nav-list .count').each(function(){$(this).html(\/(\\d+)\/g.exec($(this).html())[0])});function new_product_qty_input(){$('.site-content div.quantity').each(function(){var spinner=$(this),input=spinner.find('input[type=\"number\"]');if(spinner.find('.quantity-button').length===0){spinner.append('<span class=\"quantity-button quantity-up\"><\/span><span class=\"quantity-button quantity-down\"><\/span>');var btnUp=spinner.find('.quantity-up'),btnDown=spinner.find('.quantity-down'),min=input.attr('min'),max=input.attr('max');if(!max){max=999}\nbtnUp.on('click',function(){var oldValue=parseFloat(input.val());if(oldValue>=max){var newVal=oldValue}else{var newVal=oldValue+1}\ninput.val(newVal).trigger(\"change\")});btnDown.on('click',function(){var oldValue=parseFloat(input.val());if(oldValue<=min){var newVal=oldValue}else{var newVal=oldValue-1}\ninput.val(newVal).trigger(\"change\")})}})}\nnew_product_qty_input();$(document).ajaxComplete(function(event,xhr,settings){var event_url=settings.url;if(~event_url.indexOf(\"wc-ajax=get_refreshed_fragments\")&&!$('body').hasClass('single-product')){new_product_qty_input()}});function recount_product_height(){if($('body').hasClass('chromium-product-style-2')){$('ul.products li.product').each(function(){var pr_height=$(this).css('height');$(this).css({height:pr_height,}).find('.inner-wrapper').css({position:'absolute',top:0,left:0,})})}}\nrecount_product_height();$(window).load(function(){var options={animationDuration:0.3,filter:'1',layout:'sameWidth',delay:30,filterOutCss:{\"opacity\":0,\"transform\":\"scale(0.75)\"},filterInCss:{\"opacity\":1,\"transform\":\"scale(1)\"}};var filterizd=$('#chromium-gallery');$('.filters-wrapper .filtr').on('click',function(){$('.filters-wrapper .filtr').removeClass('filtr-active');$(this).addClass('filtr-active')});if(filterizd.hasClass('filtr-container')){$('.filtr-container').filterizr(options)}});$('#chromium-gallery').magnificPopup({removalDelay:300,delegate:'.quick-view',type:'image',closeOnContentClick:!0,closeBtnInside:!0,midClick:!0,mainClass:'mfp-zoom-in mfp-img-mobile',image:{verticalFit:!0,titleSrc:function(item){var img_desc=item.el.parent().parent().find('h3').html();return img_desc+' · <a class=\"image-source-link\" href=\"'+item.el.attr('href')+'\" target=\"_blank\">source<\/a>'}},gallery:{enabled:!0,},callbacks:{beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace('mfp-figure','mfp-figure mfp-with-anim')},},});var wp_gallery=$('.single-post .entry-content .gallery.with-popup');wp_gallery.each(function(){var this_gallery=$(this);this_gallery.magnificPopup({removalDelay:300,delegate:'a.quick-view',type:'image',closeOnContentClick:!0,closeBtnInside:!0,midClick:!0,mainClass:'mfp-zoom-in mfp-img-mobile',image:{verticalFit:!0,titleSrc:function(item){var img_desc=item.el.parent().find('.gallery-caption').html();if(img_desc){return img_desc+' · <a class=\"image-source-link\" href=\"'+item.el.attr('href')+'\" target=\"_blank\">source<\/a>'}else{return'<a class=\"image-source-link\" href=\"'+item.el.attr('href')+'\" target=\"_blank\">source<\/a>'}}},gallery:{enabled:!0,},callbacks:{beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace('mfp-figure','mfp-figure mfp-with-anim')},},})})});\n","status":true}
[+]
..
[-] js-657c1d1f.js.transient
[edit]
[-] js-c87d2175.js.transient
[edit]
[-] js-55de256e.js.transient
[edit]
[-] js-c3ae2f69.js.transient
[edit]
[-] js-40f8228a.js.transient
[edit]
[-] js-1fc824cc.js.transient
[edit]
[-] js-eaa72b9f.js.transient
[edit]
[-] js-e4fa272e.js.transient
[edit]
[-] js-c676292c.js.transient
[edit]
[-] js-32492eb2.js.transient
[edit]
[-] js-51802a56.js.transient
[edit]
[-] js-776d285c.js.transient
[edit]
[-] js-235e2a6f.js.transient
[edit]
[-] js-8a8c2d72.js.transient
[edit]
[-] js-86d92667.js.transient
[edit]
[-] js-32d21c66.js.transient
[edit]
[-] js-0fce2787.js.transient
[edit]
[-] js-4c1125b4.js.transient
[edit]
[-] js-63e3281e.js.transient
[edit]
[-] js-8d5a2d57.js.transient
[edit]
[-] js-30942a54.js.transient
[edit]
[-] js-fc082778.js.transient
[edit]
[-] js-9bf620d8.js.transient
[edit]
[-] js-3d6327ca.js.transient
[edit]
[-] js-3f051fff.js.transient
[edit]
[-] js-950a2d96.js.transient
[edit]
[-] css-a29c23c3.css.transient
[edit]
[-] css-63b56da5.css.transient
[edit]
[-] css-f9213815.css.transient
[edit]
[-] css-9c2431b9.css.transient
[edit]
[-] css-e128219a.css.transient
[edit]
[-] css-926f2630.css.transient
[edit]
[-] css-87ea2d0f.css.transient
[edit]
[-] css-8fd52d77.css.transient
[edit]
[-] css-87b22f9c.css.transient
[edit]
[-] css-270c21bb.css.transient
[edit]
[-] css-7eb62fd2.css.transient
[edit]
[-] css-e83124b3.css.transient
[edit]
[-] css-636a2091.css.transient
[edit]
[-] css-f3651b8a.css.transient
[edit]
[-] css-eb7b1f07.css.transient
[edit]
[-] css-56702333.css.transient
[edit]
[-] css-841f263d.css.transient
[edit]
[-] css-d153272b.css.transient
[edit]
[-] css-814728af.css.transient
[edit]
[-] css-c96e2de1.css.transient
[edit]
[-] css-a5b02d9f.css.transient
[edit]
[-] css-4ea7285b.css.transient
[edit]
[-] css-9bf422ef.css.transient
[edit]
[-] css-fee62be3.css.transient
[edit]
[-] css-151f2e1c.css.transient
[edit]
[-] css-0a3a223f.css.transient
[edit]
[-] css-60862273.css.transient
[edit]
[-] js-b8472d44.js.transient
[edit]
[-] js-4dbf2ce0.js.transient
[edit]
[-] js-b3192dcf.js.transient
[edit]
[-] js-3a8a2d16.js.transient
[edit]
[-] js-d3871e40.js.transient
[edit]
[-] js-0c8f2522.js.transient
[edit]
[-] js-caca291e.js.transient
[edit]
[-] js-8bbc289c.js.transient
[edit]
[-] js-fdb62783.js.transient
[edit]
[-] js-3bf02a77.js.transient
[edit]
[-] css-58562aeb.css.transient
[edit]
[-] css-27e36698.css.transient
[edit]
[-] css-9a5222e5.css.transient
[edit]
[-] css-bde92440.css.transient
[edit]
[-] css-3e02201e.css.transient
[edit]
[-] css-d3671b17.css.transient
[edit]
[-] css-c81e1e94.css.transient
[edit]
[-] css-2e2922c0.css.transient
[edit]
[-] css-57fa25ca.css.transient
[edit]
[-] css-a4d126b8.css.transient
[edit]
[-] css-531d283c.css.transient
[edit]
[-] css-41d42574.css.transient
[edit]
[-] css-94ad2d6e.css.transient
[edit]
[-] css-71fa2d2c.css.transient
[edit]
[-] css-20b827e8.css.transient
[edit]
[-] css-731a227c.css.transient
[edit]
[-] css-cc4e2b70.css.transient
[edit]
[-] css-dfc22da9.css.transient
[edit]
[-] css-e30221cc.css.transient
[edit]
[-] css-385d2200.css.transient
[edit]
[-] js-43de1cac.js.transient
[edit]
[-] js-a2072102.js.transient
[edit]
[-] js-f6be249c.js.transient
[edit]
[-] js-83df2cd1.js.transient
[edit]
[-] css-3d8b2857.css.transient
[edit]
[-] css-9da622f9.css.transient
[edit]
[-] css-640720a9.css.transient
[edit]
[-] css-6d3825e7.css.transient
[edit]
[-] css-970e22d1.css.transient
[edit]
[-] css-98fe22dd.css.transient
[edit]
[-] css-adb631ca.css.transient
[edit]
[-] css-9c922f78.css.transient
[edit]
[-] js-3c2b3152.js.transient
[edit]
[-] js-63952308.js.transient
[edit]
[-] js-fc991bae.js.transient
[edit]
[-] css-98aa22db.css.transient
[edit]
[-] css-f40e21ad.css.transient
[edit]
[-] js-f248222c.js.transient
[edit]
[-] css-97be22d5.css.transient
[edit]
[-] css-9b4822eb.css.transient
[edit]
[-] js-9c253771.js.transient
[edit]
[-] css-dc893236.css.transient
[edit]
[-] js-488118de.js.transient
[edit]
[-] js-05f4324a.js.transient
[edit]
[-] css-ea9c21f5.css.transient
[edit]
[-] css-28c53a77.css.transient
[edit]
[-] css-995a22df.css.transient
[edit]
[-] css-9c0622ef.css.transient
[edit]
[-] css-99fc22e3.css.transient
[edit]
[-] css-1b95226a.css.transient
[edit]
[-] js-9e7c2db8.js.transient
[edit]
[-] js-9e232adc.js.transient
[edit]
[-] js-3d53258a.js.transient
[edit]
[-] js-651c2acf.js.transient
[edit]
[-] css-9a4a22e5.css.transient
[edit]
[-] css-3e9f2036.css.transient
[edit]
[-] css-72702278.css.transient
[edit]
[-] css-75ba228c.css.transient
[edit]
[-] js-684a1d06.js.transient
[edit]
[-] js-b1f71a79.js.transient
[edit]
[-] js-57f018b1.js.transient
[edit]
[-] js-efb3249e.js.transient
[edit]
[-] js-29a234e8.js.transient
[edit]
[-] js-43ab2cfa.js.transient
[edit]
[-] css-9e9c22ff.css.transient
[edit]
[-] css-732c227c.css.transient
[edit]
[-] css-71282270.css.transient
[edit]
[-] css-da9e1ae8.css.transient
[edit]
[-] css-a82c26ad.css.transient
[edit]
[-] css-653e26b1.css.transient
[edit]
[-] css-256f2b2e.css.transient
[edit]
[-] js-f5a81fe0.js.transient
[edit]
[-] js-af752730.js.transient
[edit]
[-] js-214b250f.js.transient
[edit]
[-] js-1b531f40.js.transient
[edit]
[-] js-1c5e2220.js.transient
[edit]
[-] js-7c0619a4.js.transient
[edit]
[-] js-aff32fbe.js.transient
[edit]
[-] js-c8be2b6c.js.transient
[edit]
[-] js-f5872c21.js.transient
[edit]
[-] js-8c592609.js.transient
[edit]
[-] js-77451d2e.js.transient
[edit]
[-] js-3dce27fd.js.transient
[edit]
[-] js-5aa725d5.js.transient
[edit]
[-] js-84e2288d.js.transient
[edit]
[-] js-e9281eba.js.transient
[edit]
[-] js-a4411a10.js.transient
[edit]
[-] .htaccess.disabled
[edit]