1function fusionCalcWoocommerceTabsLayout(e){jQuery(e).each((function(){var e=jQuery(this).parent().width(),t=jQuery(this).find("li").length,r=(e-e%t)/t,o=e-r*(t-1);jQuery(this).css("width",e+"px"),jQuery(this).find("li").css("width",r+"px"),jQuery(this).find("li:last").css("width",o+"px").addClass("no-border-right")}))}var avadaLastCartCount=null;function avadaUpdateCartCount(e){var t,r=jQuery(".awb-cart-count-live");e=parseInt(e,10),e=isNaN(e)?0:e,jQuery(".awb-cart-count-data").attr("data-cart-count",e),jQuery(".fusion-widget-cart-number").attr("data-cart-count",e).attr("data-digits",String(e).length),null!==avadaLastCartCount&&e!==avadaLastCartCount&&r.length&&(t=1===e?r.data("singular"):r.data("plural"))&&r.text(String(t).replace("%s",e)),avadaLastCartCount=e}function reinitAftarAjax(){jQuery('.fusion-update-cart, a[href="#updateCart"]').off("click"),jQuery('.fusion-update-cart, a[href="#updateCart"]').on("click",(function(e){return e.preventDefault(),jQuery(".cart .actions > .button").trigger("click"),!1})),setTimeout((function(){jQuery(".crossfade-images").each((function(){fusionResizeCrossfadeImagesContainer(jQuery(this))}))}),1e3)}jQuery(document).ready((function(){var e=parseInt(jQuery(".awb-cart-count-data").attr("data-cart-count"),10);avadaLastCartCount=isNaN(e)?null:e,jQuery(document.body).on("wc_fragments_refreshed wc_fragments_loaded added_to_cart removed_from_cart",(function(){avadaUpdateCartCount(jQuery(".awb-cart-count-data").attr("data-cart-count"))}))})),jQuery(window).on("load",(function(){jQuery(".woocommerce-store-notice__dismiss-link").on("click",(function(){var e=fusion.getAdminbarHeight();jQuery("#wrapper").css("margin-top",""),jQuery(".fusion-header").css("top",e)})),jQuery(".variations_form").find(".variations .single_variation_wrap .woocommerce-variation-description").remove(),"function"==typeof jQuery.fn.equalHeights&&0<jQuery(".double-sidebars.woocommerce .social-share > li").length&&jQuery(".double-sidebars.woocommerce .social-share > li").equalHeights(),jQuery(".adsw-attribute-option").length&&jQuery("body").on("show_variation",".variations_form",(function(){jQuery(".product-type-variable .variations_form > .single_variation_wrap .woocommerce-variation-price").css("display","inline-block"),jQuery(".product-type-variable .variations_form > .single_variation_wrap .woocommerce-variation-price .price").css("margin-top","0"),jQuery(".product-type-variable .variations_form > .single_variation_wrap .woocommerce-variation-availability").css("display","inline-block")}))})),jQuery(document).ready((function(){var e;jQuery(window).on("updated_cart_totals updated_wc_div",(function(){const e=jQuery(".awb-dynamic-free-shipping-min-amount"),t=jQuery(".awb-dynamic-free-shipping-min-amount-progress");(t.length||t.length)&&jQuery.ajax({type:"POST",url:avadaWooCommerceVars.ajaxurl,data:{action:"live_update_cart_free_shipping_amount",security:avadaWooCommerceVars.cart_nonce},success:function(r){r.success&&(e.length&&e.each((function(){"missing"===jQuery(this).data("type")?jQuery(this).replaceWith(r.data.free_shipping_missing):jQuery(this).html(r.data.free_shipping_percentage)})),t.length&&t.each((function(){jQuery(this).find(".progress").attr("aria-valuenow",r.data.free_shipping_percentage);const e=jQuery(this).find(".fusion-progressbar-value");if(e.length){const t=jQuery(this).data("value-type");let o="";o="min-amount-percentage"===t?e.text().includes("%")?r.data.free_shipping_percentage+"%":r.data.free_shipping_percentage:"sub-totals-discounts"===t?r.data.sub_totals_discounts:r.data.sub_totals,e.html(o)}jQuery(window).trigger("fusion-dynamic-content-render",jQuery(this).parent())})))}})})),"1"===avadaWooCommerceVars.ajax_update_cart_values&&jQuery("body").on("change",".woocommerce-cart-form .qty",(function(e){const t=jQuery(this),r=t.closest("tr"),o=r.length?r.index():0,a=parseInt(t.val()),i=t.attr("name").replace("cart[","").replace("][qty]",""),n=t.closest(".cart_item").find(".product-subtotal"),c=jQuery(".fusion-dynamic-cart-count-wrapper"),u=jQuery(".fusion-widget-cart-number"),s=jQuery(".fusion-menu-cart-items"),d=jQuery(".awb-woo-mini-cart"),l=jQuery(".fusion-dynamic-cart-total-wrapper"),m=jQuery(".awb-dynamic-free-shipping-min-amount"),y=jQuery(".awb-dynamic-free-shipping-min-amount-progress"),h=jQuery(".woocommerce-cart-form .shop_table").prev("h2");jQuery(".post-content").find(".fusion-woo-cart-totals-wrapper table, .fusion-button, .cart_totals table").addClass("awb-disabled"),jQuery.ajax({type:"POST",url:avadaWooCommerceVars.ajaxurl,data:{action:"live_update_cart",cart_item_key:i,product_id:void 0!==t.data("product-id")?t.data("product-id"):"",quantity:a,security:avadaWooCommerceVars.cart_nonce},success:function(e){if(e.success){0===a&&t.data("product-id",e.data.product_id);const r=parseInt(e.data.cart_items);if(c.length){let e=1===r?c.data("singular"):c.data("plural");c.contents().filter((function(){return 3===this.nodeType})).first().replaceWith(e),c.children(".fusion-dynamic-cart-count").text(r)}if(u.length&&u.html(r),avadaUpdateCartCount(r),s.length){const e=s.find('.fusion-menu-cart-item[data-cart-item-key="'+i+'"]');e.length&&e.find(".fusion-menu-cart-item-quantity .awb-quantity").html(a)}if(d.length){let t=d.find(".woocommerce-mini-cart li").eq(o);t.length&&t.find(".quantity").contents().filter((function(){return 3===this.nodeType})).first().each((function(){let e=this.nodeValue.match(/^(\d+)(\D*)/);e&&(this.nodeValue=a+e[2])})),d.find(".woocommerce-mini-cart__total").find(".woocommerce-Price-amount").html(jQuery(e.data.fragments[".cart_totals"]).find(".woocommerce-Price-amount").html())}l.length&&(l.children(".fusion-dynamic-cart-sub-totals").length&&l.children(".fusion-dynamic-cart-sub-totals").html(e.data.sub_totals),l.children(".fusion-dynamic-cart-sub-totals-discounts").length&&l.children(".fusion-dynamic-cart-sub-totals-discounts").html(e.data.sub_totals_discounts),l.children(".fusion-dynamic-cart-totals").length&&l.children(".fusion-dynamic-cart-totals").html(e.data.totals),l.children(".fusion-dynamic-cart-totals-tax").length&&l.children(".fusion-dynamic-cart-totals-tax").html(e.data.totals_tax)),m.length&&m.each((function(){"missing"===jQuery(this).data("type")?jQuery(this).replaceWith(e.data.free_shipping_missing):jQuery(this).html(e.data.free_shipping_percentage)})),y.length&&y.each((function(){jQuery(this).find(".progress").attr("aria-valuenow",e.data.free_shipping_percentage);const t=jQuery(this).find(".fusion-progressbar-value");if(t.length){const r=jQuery(this).data("value-type");let o="";o="min-amount-percentage"===r?t.text().includes("%")?e.data.free_shipping_percentage+"%":e.data.free_shipping_percentage:"sub-totals-discounts"===r?e.data.sub_totals_discounts:e.data.sub_totals,t.html(o)}jQuery(window).trigger("fusion-dynamic-content-render",jQuery(this).parent())}
1)),h.length&&h.html(h.html().replace(/\d+/,r)),n.html(e.data.item_sub_totals),jQuery(".cart_totals").html(jQuery(e.data.fragments[".cart_totals"]).html())}jQuery(document.body).trigger("updated_cart_totals")},complete:function(){jQuery(".post-content").find(".fusion-woo-cart-totals-wrapper table, .fusion-button, .cart_totals table").removeClass("awb-disabled")}})}));let t=!1;jQuery(document).on("click",".woocommerce-cart-form .product-remove > a",(function(e){t=!0})),jQuery(document).on("click",".woocommerce-cart .restore-item",(function(e){t=!0})),jQuery(window).on("updated_wc_div",(function(){if(t){const e=jQuery(".fusion-dynamic-cart-count-wrapper"),r=jQuery(".fusion-widget-cart-number");let o=0;if(jQuery(".woocommerce-cart-form").first().find(".cart_item input.qty").each((function(){let e=parseInt(jQuery(this).val(),10);isNaN(e)||(o+=e)})),e.length){let t=1===o?e.data("singular"):e.data("plural");e.contents().filter((function(){return 3===this.nodeType})).first().replaceWith(t),e.children(".fusion-dynamic-cart-count").text(o)}r.length&&r.html(o),avadaUpdateCartCount(o),t=!1}})),jQuery('.fusion-update-cart, a[href="#updateCart"]').on("click",(function(e){return e.preventDefault(),jQuery(".cart .actions > .button").trigger("click"),!1})),jQuery(".fusion-apply-coupon").on("click",(function(e){e.preventDefault(),jQuery(".cart .actions .coupon #coupon_code").val(jQuery("#avada_coupon_code").val()),jQuery(".cart .actions .coupon .button").trigger("click")})),jQuery(window).on("updated_wc_div",(function(){!jQuery(".fusion-woo-notices-tb").length&&jQuery("#coupon_code").length&&jQuery("#coupon_code").hasClass("has-error")&&jQuery(".woocommerce-notices-wrapper").append('<div class="avada-woocommerce-error wc-block-components-notice-banner is-error" role="alert"><div class="wc-block-components-notice-banner__content">'+jQuery("#coupon-error-notice").html()+"</div></div>")})),jQuery(".woocommerce-store-notice").length&&jQuery(".woocommerce-store-notice").is(":visible")&&!jQuery(".fusion-top-frame").is(":visible")&&(jQuery("#wrapper").css("margin-top",jQuery(".woocommerce-store-notice").outerHeight()),0<jQuery("#slidingbar-area").outerHeight()&&jQuery(".header-wrapper").css("margin-top","0"),jQuery(".sticky-header").length&&jQuery(".sticky-header").css("margin-top",jQuery(".woocommerce-store-notice").outerHeight())),jQuery(".catalog-ordering .orderby .current-li a").html(jQuery(".catalog-ordering .orderby ul li.current a").html()),jQuery(".catalog-ordering .sort-count .current-li a").html(jQuery(".catalog-ordering .sort-count ul li.current a").html()),jQuery(".woocommerce .avada-myaccount-data th.woocommerce-orders-table__cell-order-actions").text(avadaWooCommerceVars.order_actions),jQuery("body.rtl .avada-myaccount-data .my_account_orders .woocommerce-orders-table__cell-order-status").each((function(){jQuery(this).css("text-align","right")})),jQuery(".woocommerce input").each((function(){jQuery(this).has("#coupon_code")||(e=jQuery(this).attr("id"),jQuery(this).attr("placeholder",jQuery(this).parent().find("label[for="+e+"]").text()))})),jQuery(".woocommerce #reviews #comments .comment_container .comment-text").length&&jQuery(".woocommerce #reviews #comments .comment_container").append('<div class="clear"></div>'),jQuery(".woocommerce-tabs #comments > h2").each((function(){jQuery(this).replaceWith((function(){return"<h3>"+jQuery(this).html()+"</h3>"}))})),"block"===jQuery("body .sidebar").css("display")&&fusionCalcWoocommerceTabsLayout(".woocommerce-tabs .tabs-horizontal"),jQuery(".sidebar .products,.fusion-footer-widget-area .products,#slidingbar-area .products").each((function(){jQuery(this).removeClass("products-4"),jQuery(this).removeClass("products-3"),jQuery(this).removeClass("products-2"),jQuery(this).addClass("products-1")})),jQuery(".subcategory-products").each((function(){jQuery(this).addClass("products-"+avadaWooCommerceVars.woocommerce_shop_page_columns)}
1)),jQuery(".woocommerce-tabs ul.tabs li a").off("click"),jQuery("body").on("click",".woocommerce-tabs > ul.tabs li a",(function(){var e=jQuery(this),t=e.closest(".woocommerce-tabs");return jQuery("ul.tabs li",t).removeClass("active"),jQuery("> div.panel",t).hide(),jQuery("div"+e.attr("href"),t).show(),e.parent().addClass("active"),!1})),jQuery(".continue-checkout").length||jQuery(document).on("checkout_error",(function(){var e=fusion.getAdminbarHeight(),t=jQuery(".fusion-header-wrapper").find("div"),r=0;jQuery("html, body").stop(),t.each((function(){"fixed"===jQuery(this).css("position")&&(r=jQuery(this).height())})),jQuery(".woocommerce-NoticeGroup-checkout").length&&jQuery("html, body").animate({scrollTop:jQuery(".woocommerce-NoticeGroup-checkout").offset().top-e-r-10},500)})),jQuery("body").on("click",".woocommerce-checkout-nav a,.continue-checkout",(function(e){var t,r,o,a=fusion.getAdminbarHeight(),i=jQuery(".fusion-header-wrapper").find("div"),n=0;i.each((function(){"fixed"===jQuery(this).css("position")&&(n=jQuery(this).height())})),e.preventDefault(),jQuery(".avada-woocommerce-error").remove(),0<jQuery(".validate-required:visible").length&&jQuery.each(jQuery(".validate-required:visible"),(function(e,t){var r=jQuery(t).find(":input");"hidden"===r.attr("type")||"radio"===r.attr("type")?jQuery(t).addClass("woocommerce-validated"):r.trigger("change")})),jQuery(".woocommerce").trigger("avada_checkout_continue_field_validation"),jQuery(".woocommerce .woocommerce-billing-fields, .woocommerce .woocommerce-shipping-fields, .woocommerce .woocommerce-account-fields").find(".input-text, select, input:checkbox").closest(".validate-required:not(.woocommerce-validated)").is(":visible")?(jQuery(".avada-woocommerce-error").length||jQuery(".woocommerce .avada-checkout .woocommerce-checkout").prepend('<div class="avada-woocommerce-error wc-block-components-notice-banner is-error" role="alert"><div class="wc-block-components-notice-banner__content">'+avadaWooCommerceVars.woocommerce_checkout_error+"</div></div>"),jQuery(document.body).trigger("avada_checkout_error",[avadaWooCommerceVars.woocommerce_checkout_error]),0<jQuery(".avada-woocommerce-error").length&&jQuery("html, body").animate({scrollTop:jQuery(".avada-woocommerce-error").offset().top-a-n-10},500)):(r=t=jQuery(this).attr("data-name"),r="order_review"===t?"#"+t:"."+t,jQuery("form.checkout .col-1, form.checkout .col-2, form.checkout #order_review_heading, form.checkout #order_review").hide(),jQuery("form.checkout").find(r).fadeIn(),"order_review"===r&&jQuery("form.checkout").find("#order_review_heading ").fadeIn(),jQuery(".woocommerce-checkout-nav li").removeClass("is-active"),jQuery(".woocommerce-checkout-nav").find("[data-name="+t+"]").parent().addClass("is-active"),jQuery(this).hasClass("continue-checkout")&&0<jQuery(window).scrollTop()&&(o=jQuery(".woo-tabs-horizontal").length?jQuery(".woocommerce-checkout-nav"):jQuery(".woocommerce-content-box.avada-checkout"),jQuery("html, body").animate({scrollTop:o.offset().top-a-n},500))),calcSelectArrowDimensions()})),jQuery("body").on("click","input[name=ship_to_different_address]",(function(){jQuery(this).is(":checked")&&setTimeout((function(){calcSelectArrowDimensions()}),1)})),Modernizr.mq("only screen and (max-width: 479px)")&&jQuery(".overlay-full.layout-text-left .slide-excerpt p").each((function(){var e,t=jQuery(this).html().split(/[\s\.\?]+/),r="";if(t.length>11){for(e=0;e<10;e++)r+=t[e]+" ";jQuery(this).html(r)}})),jQuery(".wc-tabs li").on("click",(function(){var e=jQuery(this).attr("aria-controls");setTimeout((function(){jQuery("#"+e).find(".awb-carousel").length&&"function"==typeof generateSwiperCarousel&&generateSwiperCarousel(),jQuery("#"+e).find(".fusion-gallery").each((function(){jQuery(this).isotope()})),jQuery("#"+e).find(".fusion-blog-shortcode").each((function(){jQuery(this).find(".fusion-blog-layout-grid").isotope()})),jQuery("#"+e).find(".crossfade-images").each((function(){fusionResizeCrossfadeImagesContainer(jQuery(this))})),"function"==typeof jQuery.fn.fusionCalcFlipBoxesHeight&&jQuery("#"+e).find(".flip-box-inner-wrapper").each((function(){jQuery(this).fusionCalcFlipBoxesHeight()})),jQuery("#"+e).find(".fusion-portfolio").each((function(){jQuery(this).find(".fusion-portfolio-wrapper").isotope()})),"function"==typeof jQuery.fn.reinitializeGoogleMap&&jQuery("#"+e).find(".shortcode-map").each((function(){jQuery(this).reinitializeGoogleMap()}))}),150)}))})),jQuery(document).ready((function(){var e=jQuery("#calc_shipping_country").parents(".avada-shipping-calculator-form").find("#calc_shipping_state_field");e.length&&("hidden"===e.find("#calc_shipping_state").attr("type")?e.hide():e.show())})),jQuery(window).on("updated_wc_div",(function(){reinitAftarAjax()})),jQuery(window).on("fusion-dynamic-content-render",(function(e,t){var r=jQuery(t).find(".fusion-woo-slider");0<r.length&&r.parents(".fusion-tabs").css("height",""),0<(r=jQuery(t).find(".crossfade-images")).length&&r.each((function(){fusionResizeCrossfadeImagesContainer(jQuery(this))}))})),jQuery(window).on("updated_wc_div",(function(){jQuery(".cart_totals.fusion-animated").removeClass("fusion-animated")}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.