!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+""}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 r=window.blocksyCustomizerSync,n=window.ctEvents;function i(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 c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){var n,i,c;n=e,i=t,c=r[t],(i=o(i))in n?Object.defineProperty(n,i,{value:c,enumerable:!0,configurable:!0,writable:!0}):n[i]=c})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}e.n(n)().on("ct:customizer:sync:collect-variable-descriptors",(function(e){e.result=c(c(c(c(c(c(c({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,r.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,r.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,r.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,r.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,r.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,r.responsiveClassesFor)("trending_block_visibility",document.querySelector(".ct-trending-block"))}))})),wp.customize("trending_block_label",(function(e){return e.bind((function(e){var t=document.querySelector(".ct-trending-block .ct-module-title");if(t){var o=t.innerHTML.split("<svg");o[0]=e,t.innerHTML=o.join("<svg")}}))}))}();