/*! For license information please see theme-scripts-library-woocommerce.js.LICENSE.txt */
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=88)}({88:function(e,t){!function(e){var t=e(window);function n(){if(et_is_fixed_nav&&!(980>=parseInt(t.width()))){var n=parseInt(e("#main-header").length?e("#main-header").innerHeight():0);e("html, body").animate({scrollTop:e("form.checkout").offset().top-100-n},1e3)}}document.addEventListener("DOMContentLoaded",(function(){e("body").hasClass("et_fixed_nav")||e("body").hasClass("et_vertical_fixed");var t=e("#et-secondary-menu a.et-cart-info");if(e(".woocommerce .woocommerce-product-gallery").length>0){var n=e(".woocommerce-product-gallery")[0],o=n.outerHTML.replace("data-columns","data-cols");n.outerHTML=o}t.length>0&&e(".shop_table.cart").length>0&&e(document.body).on("updated_wc_div",(function(){var n,o=0;e(".shop_table.cart").find(".product-quantity input").each((function(){o+=parseInt(e(this).val())})),n=(n=1===o?DIVI.item_count:DIVI.items_count).replace("%d",o),t.find("span").text(n)}))})),e(document.body).on("checkout_error",(function(){n()})),e(document.body).on("updated_checkout",(function(e){"failure"===e.result&&n()}))}(jQuery)}});