// source --> https://isokor.cz/wp-content/plugins/woo-free-shipping-bar/assets/js/frontend.min.js?ver=1.3.0 
!function(e){"use strict";if("undefined"==typeof _wfsb_params)return;let s,t,n,r;_wfsb_params.time_to_disappear=1,_wfsb_params.displayTime=20,e(document).ready(function(){if("undefined"!=typeof wc)if(void 0!==wc.blocksCheckout){let{registerCheckoutFilters:s}=wc.blocksCheckout;s("wfspb_add_checkout_filter",{proceedToCheckoutButtonLink:function(s,t,n){let r=t?.wfspb_message||n?.cart?.extensions?.wfspb_message;return r?(e(document).triggerHandler("wfspb-refresh-message",[r]),s):s}})}else"undefined"!=typeof wp&&wp?.data?.select&&wp?.data?.subscribe&&"undefined"!=typeof wc&&wc?.wcBlocksData?.CART_STORE_KEY&&(r||(s=wp.data.select,t=wp.data.subscribe,n=wc.wcBlocksData.CART_STORE_KEY,r=t(function(){let t=s(n).getCartData(),r=t?.extensions?.wfspb_message;r&&e(document).triggerHandler("wfspb-refresh-message",[r])},n)));if(e('[data-block-name="woocommerce/product-button"]').length&&e('[data-wp-on--click="actions.addCartItem"]').length){let s=window.fetch;window.fetch=async function(...t){let n=await s.apply(this,t);if(t[0]&&"string"==typeof t[0]&&t[0].includes("/wc/store/v1/cart")){n.clone().json().then(s=>{let t=s?.extensions?.wfspb_message;t&&e(document).triggerHandler("wfspb-refresh-message",[t])})}return n}}let a,o;e(document).on("click",".wfspb-gift-box",function(){e(document).trigger("wfspb-show-bar")}),e(document).on("wfspb-show-bar",function(){e(document).trigger("wfspb-design"),clearTimeout(o),clearTimeout(a),e(".wfspb-gift-box").addClass("wfspb-hidden"),e("#wfspb-top-bar").hasClass("wfspb-hidden")||e("#wfspb-top-bar").fadeIn(500),(void 0===wp.wfspbConditionalVariable||wp.wfspbConditionalVariable)&&_wfsb_params?.time_to_disappear&&_wfsb_params?.displayTime&&(o=setTimeout(function(){e(".wfspb-gift-box").removeClass("wfspb-hidden"),e("#wfspb-top-bar").removeClass("wfsb-fixed").fadeOut(500)},1e3*parseInt(_wfsb_params.displayTime)))}),setTimeout(function(){e(document).trigger("wfspb-bar-init")},100),e(document.body).on("wc_fragments_refreshed wc_fragments_loaded wc_fragments_ajax_error updated_checkout",function(){e(document).trigger("wfspb-design")}),e(document).on("wfspb-bar-init",function(){_wfsb_params?.initialDelay?a=setTimeout(function(){e(document).trigger("wfspb-show-bar")},1e3*parseInt(_wfsb_params.initialDelay)):e(document).trigger("wfspb-show-bar")}),e(document).on("wfspb-refresh-message",function(s,t){if(!_wfsb_params?.html_refresh||!t)return!1;let n=!1;return e.each(_wfsb_params.html_refresh,function(s,r){e(r).length&&void 0!==t[r]&&(n=!0,e(r).replaceWith(t[r]))}),e("#wfspb-top-bar").hasClass("wfspb-hidden")?e(document).trigger("wfspb-show-bar"):e(document).trigger("wfspb-design"),n}),e(document).on("wfspb-design",function(){let s="";e("#wfspb-main-content").length&&e("#wfspb-main-content").html()?e("#wfspb-top-bar, #wfspb-shortcode, .woocommerce-free-shipping-bar-order").removeClass("wfspb-hidden"):e("#wfspb-top-bar, #wfspb-shortcode").addClass("wfspb-hidden"),e("#wfspb-current-progress").length&&(s+="#wfspb-current-progress{width: "+e("#wfspb-current-progress").data("current_percent")+"%}"),e(".woocommerce-free-shipping-bar-order-bar-inner").length&&(s+=".woocommerce-free-shipping-bar-order-bar-inner{width: "+e(".woocommerce-free-shipping-bar-order-bar-inner").data("current_percent")+"%}"),e("#wfspb-design-inline-css").length||e("head").append('<style id="wfspb-design-inline-css"></style>'),e("#wfspb-design-inline-css").html(s)})})}(jQuery);
// source --> https://isokor.cz/wp-content/themes/enfold-child/js/mm.script.global.js?ver=7.0 
/*
 * Plugin - Complianz | GDPR/CCPA Cookie Consent
 *  26/03/2025
 */

jQuery(document).ready(function() {
	//alert("e");
	jQuery("#cmplz-cookiebanner-container .cmplz-buttons .cmplz-view-preferences").eq(0).bind("click", function() {
		//alert("hop");
		jQuery("#cmplz-cookiebanner-container .cmplz-body .cmplz-categories .cmplz-category .cmplz-category-header > .cmplz-banner-checkbox input")
				.each(function() {
					jQuery(this).click();
				});
	});
});

/*
 * Plugin - ...Next one.
 * d/m/Y
 */;
// source --> https://isokor.cz/wp-content/uploads/dynamic_avia/avia-head-scripts-df7886ac2fb9574a410d05285be45af0---6a156aa3040d5.js 
;var aviaJS=aviaJS||{};(function(){'use strict';if(!aviaJS.aviaJSHelpers){class aviaJSHelpers{constructor(){this.wpHooks()};debounce(callback,wait,immediate){var i;return function(){var e=this,s=arguments,t=function(){i=null;if(!immediate){callback.apply(e,s)}},l=immediate&&!i;clearTimeout(i);i=setTimeout(t,wait);if(l){callback.apply(e,s)}}};wpHooks(){if(window['wp']&&wp.hooks){return};if(!window['wp']){window['wp']={hooks:{}}}
else{window['wp'].hooks={}};let obj=window['wp'].hooks;obj.applyFilters=this.wpHooks_applyFilters;obj.doAction=this.wpHooks_applyFilters;obj.hasFilter=this.wpHooks_hasFilters;obj.hasAction=this.wpHooks_hasFilters};wpHooks_applyFilters(handle,value){return value};wpHooks_hasFilters(handle,namespace){return!1}};aviaJS.aviaJSHelpers=new aviaJSHelpers()};if(!aviaJS.aviaPlugins){class aviaPlugins{plugins=[];defaultPlugin={classFactory:null,selector:''};constructor(){this.plugins=[]};register(classFactory,selector){if('function'!=typeof classFactory){return!1};let newPlugin=Object.assign({},this.defaultPlugin);if('string'!=typeof selector){selector='body'};newPlugin.classFactory=classFactory;newPlugin.selector=selector;this.plugins.push(newPlugin);this.check_bind()};check_bind(){if(document.readyState==='complete'){this.bind_plugins()}
else{document.addEventListener('readystatechange',this.bind_plugins.bind(this))}};bind_plugins(e){if(document.readyState!=='complete'){return};let plugins=this.plugins;this.plugins=[];for(let plugin of plugins){let elements=document.querySelectorAll(plugin.selector);for(let element of elements){plugin.classFactory(element)}}}};aviaJS.aviaPlugins=new aviaPlugins()}})();