!function(){"use strict";var e={n:function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},d:function(t,r){for(var i in r)e.o(r,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:r[i]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t=window.ctEvents,r=e.n(t),i=window.blocksyCustomizerSync;r().on("ct:customizer:sync:collect-variable-descriptors",function(e){e.result={...e.result,[`${o}_filter_items_horizontal_spacing`]:{selector:(0,i.applyPrefixFor)(".ct-dynamic-filter",o),variable:"items-horizontal-spacing",responsive:!0,unit:"px"},[`${o}_filter_items_vertical_spacing`]:{selector:(0,i.applyPrefixFor)(".ct-dynamic-filter",o),variable:"items-vertical-spacing",responsive:!0,unit:"px"},[`${o}_filter_container_spacing`]:{selector:(0,i.applyPrefixFor)(".ct-dynamic-filter",o),variable:"container-spacing",responsive:!0,unit:"px"},[`${o}_horizontal_alignment`]:{selector:(0,i.applyPrefixFor)(".ct-dynamic-filter",o),variable:"filter-items-alignment",unit:"",responsive:!0},...(0,i.typographyOption)({id:`${o}_filter_font`,selector:(0,i.applyPrefixFor)(".ct-dynamic-filter",o)}),[`${o}_filter_font_color`]:[{selector:(0,i.applyPrefixFor)('.ct-dynamic-filter[data-type="simple"]',o),variable:"theme-link-initial-color",type:"color:default"},{selector:(0,i.applyPrefixFor)('.ct-dynamic-filter[data-type="simple"]',o),variable:"theme-link-hover-color",type:"color:hover"},{selector:(0,i.applyPrefixFor)('.ct-dynamic-filter[data-type="buttons"]',o),variable:"theme-link-initial-color",type:"color:default_2"},{selector:(0,i.applyPrefixFor)('.ct-dynamic-filter[data-type="buttons"]',o),variable:"theme-link-hover-color",type:"color:hover_2"}],[`${o}_filter_button_color`]:[{selector:(0,i.applyPrefixFor)('.ct-dynamic-filter[data-type="buttons"]',o),variable:"theme-button-background-initial-color",type:"color:default"},{selector:(0,i.applyPrefixFor)('.ct-dynamic-filter[data-type="buttons"]',o),variable:"theme-button-background-hover-color",type:"color:hover"}],[`${o}_filter_button_padding`]:{selector:(0,i.applyPrefixFor)('.ct-dynamic-filter[data-type="buttons"]',o),type:"spacing",variable:"padding",responsive:!0,unit:""},[`${o}_filter_button_border_radius`]:{selector:(0,i.applyPrefixFor)('.ct-dynamic-filter[data-type="buttons"]',o),type:"spacing",variable:"theme-border-radius",emptyValue:3,responsive:!0}}});const o=(0,i.getPrefixFor)({allowed_prefixes:["blog","woo_categories"],default_prefix:"blog"});(0,i.watchOptionsWithPrefix)({getPrefix:function(){return o},getOptionsForPrefix:function(){return[`${o}_filter_visibility`,`${o}_filter_type`]},render:function(){[...document.querySelectorAll(".ct-dynamic-filter")].map(function(e){(0,i.responsiveClassesFor)((0,i.getOptionFor)("filter_visibility",o),e),e.closest("main").classList.add("ct-no-transition"),requestAnimationFrame(function(){e.dataset.type=(0,i.getOptionFor)("filter_type",o),setTimeout(function(){e.closest("main").classList.remove("ct-no-transition")})})})}});const a=(0,i.getPrefixFor)();r().on("ct:customizer:sync:collect-variable-descriptors",function(e){e.result={...e.result,[`${a}_read_progress_height`]:[{selector:(0,i.applyPrefixFor)(".ct-read-progress-bar",a),variable:"progress-bar-height",unit:"px"}],[`${a}_progress_bar_filled_color`]:[{selector:(0,i.applyPrefixFor)(".ct-read-progress-bar",a),variable:"progress-bar-scroll",type:"color:default",responsive:!0}],[`${a}_progress_bar_background_color`]:[{selector:(0,i.applyPrefixFor)(".ct-read-progress-bar",a),variable:"progress-bar-background",type:"color:default",responsive:!0}]}}),(0,i.watchOptionsWithPrefix)({getPrefix:function(){return a},getOptionsForPrefix:function(){return[`${a}_read_progress_visibility`,`${a}_has_auto_hide`]},render:function(){[...document.querySelectorAll(".ct-read-progress-bar")].map(function(e){(0,i.responsiveClassesFor)((0,i.getOptionFor)("read_progress_visibility",a),e),e.classList.remove("ct-auto-hide"),"yes"===(0,i.getOptionFor)("has_auto_hide",a)&&e.classList.add("ct-auto-hide")})}})}();