!function(){"use strict";var e={};function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function o(e){var o=function(e,o){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,o||"default");if("object"!=t(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(e)}(e,"string");return"symbol"==t(o)?o:o+""}function r(e,t,r){return(t=o(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,{a:o}),o},e.d=function(t,o){for(var r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var n=window.blocksyCustomizerSync,i=window.ctEvents;function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,r)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach(function(t){r(e,t,o[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))})}return e}e.n(i)().on("ct:customizer:sync:collect-variable-descriptors",function(e){e.result=l(l(l(l(l(l(l({trending_block_thumbnails_width:{selector:".ct-trending-block-item",variable:"trending-block-image-width",responsive:!0,unit:"px"},trendingItemsVerticalAlignment:{selector:".ct-trending-block-item",variable:"vertical-alignment",responsive:!0,unit:""}},(0,n.typographyOption)({id:"trendingBlockHeadingFont",selector:".ct-trending-block .ct-module-title"})),{},{trendingBlockHeadingFontColor:{selector:".ct-trending-block .ct-module-title",variable:"theme-heading-color",type:"color",responsive:!0}},(0,n.typographyOption)({id:"trendingBlockPostsFont",selector:".ct-trending-block-item .ct-post-title"})),{},{trendingBlockFontColor:[{selector:".ct-trending-block-item .ct-post-title",variable:"theme-link-initial-color",type:"color:default",responsive:!0},{selector:".ct-trending-block-item .ct-post-title",variable:"theme-link-hover-color",type:"color:hover",responsive:!0}]},(0,n.typographyOption)({id:"trendingBlockTaxonomyFont",selector:".ct-trending-block-item-content .entry-meta"})),{},{trending_categories_font_colors:[{selector:".ct-trending-block-item-content .entry-meta",variable:"theme-link-initial-color",type:"color:default",responsive:!0},{selector:".ct-trending-block-item-content .entry-meta",variable:"theme-link-hover-color",type:"color:hover",responsive:!0}],trending_categories_button_type_font_colors:[{selector:'.ct-trending-block-item-content [data-type="pill"]',variable:"theme-button-text-initial-color",type:"color:default",responsive:!0},{selector:'.ct-trending-block-item-content [data-type="pill"]',variable:"theme-button-text-hover-color",type:"color:hover",responsive:!0}],trending_categories_button_type_background_colors:[{selector:'.ct-trending-block-item-content [data-type="pill"]',variable:"theme-button-background-initial-color",type:"color:default",responsive:!0},{selector:'.ct-trending-block-item-content [data-type="pill"]',variable:"theme-button-background-hover-color",type:"color:hover",responsive:!0}]},(0,n.typographyOption)({id:"trendingBlockPriceFont",selector:".ct-trending-block-item-content .price"})),{},{trendingBlockPriceFontColor:{selector:".ct-trending-block-item-content .price",variable:"theme-text-color",type:"color",responsive:!0},trendingBlockImageRadius:{selector:".ct-trending-block-item",type:"spacing",variable:"trending-block-image-radius",responsive:!0},trendingBlockArrowsColor:[{selector:'.ct-trending-block [class*="ct-arrow"]',variable:"theme-text-color",type:"color:default",responsive:!0},{selector:'.ct-trending-block [class*="ct-arrow"]',variable:"theme-link-hover-color",type:"color:hover",responsive:!0}]},(0,n.handleBackgroundOptionFor)({id:"trending_block_background",selector:".ct-trending-block",responsive:!0})),e.result),{},{trendingBlockContainerSpacing:{selector:".ct-trending-block",variable:"padding",responsive:!0,unit:""}})}),wp.customize("trending_block_visibility",function(e){return e.bind(function(e){return(0,n.responsiveClassesFor)("trending_block_visibility",document.querySelector(".ct-trending-block"))})}),wp.customize("trending_block_label",function(e){return e.bind(function(e){const t=document.querySelector(".ct-trending-block .ct-module-title");if(t){const o=t.innerHTML.split("<svg");o[0]=e,t.innerHTML=o.join("<svg")}})})}();