/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
astra-addon
/
addons
/
blog-pro
/
assets
/
js
/
minified
/
Upload File
HOME
function astra_refresh_customizer_iframe(t){wp.customize(t,function(t){t.bind(function(t){wp.customize.preview.send("refresh")})})}function rtl_alignment(t,a,i){var o=AstraAddon.rtl;return"center"===t?"center":t===(o?"right":"left")?a:i}function astra_addon_get_shop_items_shadow_css(t,a,i,o){var s="";return s=""!=a.x&&""!=a.y&&""!=a.blur&&""!=a.spread?(s=t+" {")+"box-shadow:"+(""!==a.x?a.x+"px ":"0px ")+(""!==a.y?a.y+"px ":"0px ")+(""!==a.blur?a.blur+"px ":"0px ")+(""!==a.spread?a.spread+"px ":"0px ")+(""!==o?o+" ":"rgba(0,0,0,0.5) ")+(void 0!==i&&"inset"==i?"inset":"")+";}":s}(()=>{let r=AstraAddon.tablet_break_point||768,l=AstraAddon.mobile_break_point||544,s=AstraAddon.rtl,m=s?"right":"left",b=s?"left":"right";var t=AstraAddon.soc_position;let o=(t="left-content"===t||"right-content"===t)?"top":m,e=t?"bottom":b,n=(astra_css("astra-settings[post-card-height]","height",".ast-blog-layout-6-grid .ast-article-post","px"),astraGenerateResponsiveSpacingStyle("blog-pro-content-text-border-radius","post-card-content-text-border-radius","div.ast-blog-layout-6-grid .blog-layout-6 .ast-blog-single-element *:not(img)","border-radius"),wp.customize("astra-settings[blog-space-bet-posts]",function(t){t.bind(function(t){var a;t?(jQuery(".ast-archive-post").addClass("ast-separate-posts"),a=".ast-separate-container .ast-grid-2 > .site-main > .ast-row, .ast-separate-container .ast-grid-3 > .site-main > .ast-row, .ast-separate-container .ast-grid-4 > .site-main > .ast-row {",a+="\tmargin-left: -1em;\tmargin-right: -1em;}"):(jQuery(".ast-archive-post").removeClass("ast-separate-posts"),a=".ast-separate-container .ast-grid-2 > .site-main > .ast-row, .ast-separate-container .ast-grid-3 > .site-main > .ast-row, .ast-separate-container .ast-grid-4 > .site-main > .ast-row {",a+="\tmargin-left: 0;\tmargin-right: 0;}"),astra_add_dynamic_css("archive-title-spacing-layout",a)})}),".ast-post-social-sharing"),c=".ast-author-box-sharing",i=(astra_color_responsive_css("ss-soc-color","astra-settings[single-post-social-sharing-icon-color]","fill",n+" .ast-social-color-type-custom .ast-social-icon-a svg, "+c+" .ast-social-color-type-custom .ast-social-icon-a svg"),astra_color_responsive_css("ss-soc-svg-color-h","astra-settings[single-post-social-sharing-icon-h-color]","fill",n+" .ast-social-color-type-custom .ast-social-icon-a:hover svg, "+c+" .ast-social-color-type-custom .ast-social-icon-a:hover svg"),astra_color_responsive_css("ss-soc-bg-color","astra-settings[single-post-social-sharing-icon-background-color]","background-color",n+" .ast-social-color-type-custom .ast-social-element, "+c+" .ast-social-color-type-custom .ast-social-element"),astra_color_responsive_css("ss-soc-bg-color-h","astra-settings[single-post-social-sharing-icon-background-h-color]","background-color",n+" .ast-social-color-type-custom .ast-social-icon-a:hover .ast-social-element, "+c+" .ast-social-color-type-custom .ast-social-icon-a:hover .ast-social-element"),astra_color_responsive_css("ss-soc-label-color","astra-settings[single-post-social-sharing-icon-label-color]","color",n+" .ast-social-icon-a span.social-item-label, "+c+" .ast-social-icon-a span.social-item-label"),astra_color_responsive_css("ss-soc-label-color-h","astra-settings[single-post-social-sharing-icon-label-h-color]","color",n+" .ast-social-icon-a:hover span.social-item-label, "+c+" .ast-social-icon-a:hover span.social-item-label"),astra_color_responsive_css("ss-soc-heading-color","astra-settings[single-post-social-sharing-heading-color]","color",n+" .ast-social-sharing-heading, "+c+" .ast-social-sharing-heading"),astra_color_responsive_css("ss-soc-heading-color-h","astra-settings[single-post-social-sharing-heading-h-color]","color",n+" .ast-social-sharing-heading:hover, "+c+" .ast-social-sharing-heading:hover"),astra_color_responsive_css("ss-soc-background-color","astra-settings[single-post-social-sharing-background-color]","background-color",n+" .ast-social-inner-wrap, "+c+" .ast-social-inner-wrap"),wp.customize("astra-settings[single-post-social-sharing-alignment]",function(t){t.bind(function(t){var a=t===m?"flex-start":"flex-end",t="center"===t?"center":a,a="",a=(a+=n+", "+c+"{")+("align-items: "+t+";")+"} ";astra_add_dynamic_css("ss-soc-alignment",a)})}),wp.customize("astra-settings[single-post-social-sharing-icon-size]",function(t){t.bind(function(t){var a;""==t.desktop&&""==t.tablet&&""==t.mobile||(a="",a=(a=(a=(a=(a=(a=(a=(a=(a+=n+" .ast-social-inner-wrap .ast-social-element svg, "+c+" .ast-social-inner-wrap .ast-social-element svg {")+"height: "+t.desktop+"px;")+"width: "+t.desktop+"px;} ")+"@media (max-width: "+r+"px) {")+n+" .ast-social-inner-wrap .ast-social-element svg, "+c+" .ast-social-inner-wrap .ast-social-element svg {")+"height: "+t.tablet+"px;width: "+t.tablet+"px;} } ")+"@media (max-width: "+l+"px) {")+n+" .ast-social-inner-wrap .ast-social-element svg, "+c+" .ast-social-inner-wrap .ast-social-element svg {")+"height: "+t.mobile+"px;width: "+t.mobile+"px;} } ",astra_add_dynamic_css("ss-soc-icon-size",a))})}),wp.customize("astra-settings[single-post-social-sharing-icon-spacing]",function(t){t.bind(function(t){let a="",i="";""!=t.desktop&&(a=t.desktop/2,i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i+=n+" .ast-social-inner-wrap .ast-social-icon-a {")+"margin-"+o+": "+a+"px;")+"margin-"+e+": "+a+"px;} ")+n+" .ast-social-inner-wrap .ast-social-icon-a:first-child {")+"margin-"+o+": 0;} ")+n+" .ast-social-inner-wrap .ast-social-icon-a:last-child {")+"margin-"+e+": 0;} ")+c+" .ast-social-inner-wrap .ast-social-icon-a {")+"margin-"+m+": "+a+"px;")+"margin-"+b+": "+a+"px;} ")+c+" .ast-social-inner-wrap .ast-social-icon-a:first-child {")+"margin-"+m+": 0;} ")+c+" .ast-social-inner-wrap .ast-social-icon-a:last-child {")+"margin-"+b+": 0;} "),""!=t.tablet&&(a=t.tablet/2,i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i+="@media (max-width: "+r+"px) {")+n+" .ast-social-inner-wrap .ast-social-icon-a {")+"margin-"+o+": "+a+"px;")+"margin-"+e+": "+a+"px;} ")+n+" .ast-social-inner-wrap .ast-social-icon-a:first-child {")+"margin-"+o+": 0;} ")+n+" .ast-social-inner-wrap .ast-social-icon-a:last-child {")+"margin-"+e+": 0;")+"} } ")+"@media (max-width: "+r+"px) {")+c+" .ast-social-inner-wrap .ast-social-icon-a {")+"margin-"+m+": "+a+"px;")+"margin-"+b+": "+a+"px;} ")+c+" .ast-social-inner-wrap .ast-social-icon-a:first-child {")+"margin-"+m+": 0;} ")+c+" .ast-social-inner-wrap .ast-social-icon-a:last-child {")+"margin-"+b+": 0;")+"} } "),""!=t.mobile&&(a=t.mobile/2,i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i=(i+="@media (max-width: "+l+"px) {")+n+" .ast-social-inner-wrap .ast-social-icon-a {")+"margin-"+o+": "+a+"px;")+"margin-"+e+": "+a+"px;} ")+n+" .ast-social-inner-wrap .ast-social-icon-a:first-child {")+"margin-"+o+": 0;} ")+n+" .ast-social-inner-wrap .ast-social-icon-a:last-child {")+"margin-"+e+": 0;")+"} } ")+"@media (max-width: "+l+"px) {")+c+" .ast-social-inner-wrap .ast-social-icon-a {")+"margin-"+m+": "+a+"px;")+"margin-"+b+": "+a+"px;} ")+c+" .ast-social-inner-wrap .ast-social-icon-a:first-child {")+"margin-"+m+": 0;} ")+c+" .ast-social-inner-wrap .ast-social-icon-a:last-child {")+"margin-"+b+": 0;")+"} } "),astra_add_dynamic_css("ss-soc-icon-spacing",i)})}),wp.customize("astra-settings[single-post-social-sharing-icon-radius]",function(t){t.bind(function(t){var a;""==t.desktop&&""==t.tablet&&""==t.mobile||(a="",a=(a=(a=(a=(a=(a=(a=(a+=n+" .ast-social-inner-wrap .ast-social-element, "+c+" .ast-social-inner-wrap .ast-social-element {")+"border-radius: "+t.desktop+"px;} ")+"@media (max-width: "+r+"px) {")+n+" .ast-social-inner-wrap .ast-social-element, "+c+" .ast-social-inner-wrap .ast-social-element {")+"border-radius: "+t.tablet+"px;} } ")+"@media (max-width: "+l+"px) {")+n+" .ast-social-inner-wrap .ast-social-element, "+c+" .ast-social-inner-wrap .ast-social-element {")+"border-radius: "+t.mobile+"px;} } ",astra_add_dynamic_css("ss-soc-icon-radius",a))})}),wp.customize("astra-settings[single-post-social-sharing-icon-background-spacing]",function(t){t.bind(function(t){var a;""==t.desktop&&""==t.tablet&&""==t.mobile||(a="",a=(a=(a=(a=(a=(a=(a=(a+=n+" .ast-social-inner-wrap .ast-social-element, "+c+" .ast-social-inner-wrap .ast-social-element {")+"padding: "+t.desktop+"px;} ")+"@media (max-width: "+r+"px) {")+n+" .ast-social-inner-wrap .ast-social-element, "+c+" .ast-social-inner-wrap .ast-social-element {")+"padding: "+t.tablet+"px;} } ")+"@media (max-width: "+l+"px) {")+n+" .ast-social-inner-wrap .ast-social-element, "+c+" .ast-social-inner-wrap .ast-social-element {")+"padding: "+t.mobile+"px;} } ",astra_add_dynamic_css("ss-soc-icon-bg-spacing",a))})}),wp.customize("astra-settings[single-post-social-sharing-padding]",function(t){t.bind(function(t){var a;""==t.desktop.bottom&&""==t.desktop.top&&""==t.desktop.left&&""==t.desktop.right&&""==t.tablet.bottom&&""==t.tablet.top&&""==t.tablet.left&&""==t.tablet.right&&""==t.mobile.bottom&&""==t.mobile.top&&""==t.mobile.left&&""==t.mobile.right||(a="",a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a+="body "+n+" .ast-social-inner-wrap, body "+c+" .ast-social-inner-wrap {")+"padding-left: "+t.desktop.left+t["desktop-unit"]+";")+"padding-right: "+t.desktop.right+t["desktop-unit"]+";")+"padding-top: "+t.desktop.top+t["desktop-unit"]+";")+"padding-bottom: "+t.desktop.bottom+t["desktop-unit"]+";} ")+"@media (max-width: "+r+"px) {")+n+" .ast-social-inner-wrap, "+c+" .ast-social-inner-wrap { {")+"padding-left: "+t.tablet.left+t["tablet-unit"]+";")+"padding-right: "+t.tablet.right+t["tablet-unit"]+";")+"padding-top: "+t.tablet.top+t["tablet-unit"]+";")+"padding-bottom: "+t.tablet.bottom+t["tablet-unit"]+";} } ")+"@media (max-width: "+l+"px) {")+n+" .ast-social-inner-wrap, "+c+" .ast-social-inner-wrap { {")+"padding-left: "+t.mobile.left+t["mobile-unit"]+";")+"padding-right: "+t.mobile.right+t["mobile-unit"]+";")+"padding-top: "+t.mobile.top+t["mobile-unit"]+";")+"padding-bottom: "+t.mobile.bottom+t["mobile-unit"]+";} } ",astra_add_dynamic_css("ss-soc-padding",a))})}),wp.customize("astra-settings[single-post-social-sharing-margin]",function(t){t.bind(function(t){var a;""==t.desktop.bottom&&""==t.desktop.top&&""==t.desktop.left&&""==t.desktop.right&&""==t.tablet.bottom&&""==t.tablet.top&&""==t.tablet.left&&""==t.tablet.right&&""==t.mobile.bottom&&""==t.mobile.top&&""==t.mobile.left&&""==t.mobile.right||(a="",a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a+=n+" .ast-social-inner-wrap, "+c+" .ast-social-inner-wrap {")+"margin-left: "+t.desktop.left+t["desktop-unit"]+";")+"margin-right: "+t.desktop.right+t["desktop-unit"]+";")+"margin-top: "+t.desktop.top+t["desktop-unit"]+";")+"margin-bottom: "+t.desktop.bottom+t["desktop-unit"]+";} ")+"@media (max-width: "+r+"px) {")+n+" .ast-social-inner-wrap, "+c+" .ast-social-inner-wrap {")+"margin-left: "+t.tablet.left+t["tablet-unit"]+";")+"margin-right: "+t.tablet.right+t["tablet-unit"]+";")+"margin-top: "+t.tablet.top+t["tablet-unit"]+";")+"margin-bottom: "+t.tablet.bottom+t["tablet-unit"]+";} } ")+"@media (max-width: "+l+"px) {")+n+" .ast-social-inner-wrap, "+c+" .ast-social-inner-wrap {")+"margin-left: "+t.mobile.left+t["mobile-unit"]+";")+"margin-right: "+t.mobile.right+t["mobile-unit"]+";")+"margin-top: "+t.mobile.top+t["mobile-unit"]+";")+"margin-bottom: "+t.mobile.bottom+t["mobile-unit"]+";} } ",astra_add_dynamic_css("ss-soc-margin",a))})}),wp.customize("astra-settings[single-post-social-sharing-border-radius]",function(t){t.bind(function(t){var a;""==t.desktop.bottom&&""==t.desktop.top&&""==t.desktop.left&&""==t.desktop.right&&""==t.tablet.bottom&&""==t.tablet.top&&""==t.tablet.left&&""==t.tablet.right&&""==t.mobile.bottom&&""==t.mobile.top&&""==t.mobile.left&&""==t.mobile.right||(a="",a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a+=n+" .ast-social-inner-wrap, "+c+" .ast-social-inner-wrap {")+"border-top-left-radius: "+t.desktop.top_left+t["desktop-unit"]+";")+"border-top-right-radius: "+t.desktop.top_right+t["desktop-unit"]+";")+"border-bottom-left-radius: "+t.desktop.bottom_left+t["desktop-unit"]+";")+"border-bottom-right-radius: "+t.desktop.bottom_right+t["desktop-unit"]+";} ")+"@media (max-width: "+r+"px) {")+n+" .ast-social-inner-wrap, "+c+" .ast-social-inner-wrap {")+"border-top-left-radius: "+t.tablet.top_left+t["tablet-unit"]+";")+"border-top-right-radius: "+t.tablet.top_right+t["tablet-unit"]+";")+"border-bottom-left-radius: "+t.tablet.bottom_left+t["tablet-unit"]+";")+"border-bottom-right-radius: "+t.tablet.bottom_right+t["tablet-unit"]+";} } ")+"@media (max-width: "+l+"px) {")+n+" .ast-social-inner-wrap, "+c+" .ast-social-inner-wrap {")+"border-top-left-radius: "+t.mobile.top_left+t["mobile-unit"]+";")+"border-top-right-radius: "+t.mobile.top_right+t["mobile-unit"]+";")+"border-bottom-left-radius: "+t.mobile.bottom_left+t["mobile-unit"]+";")+"border-bottom-right-radius: "+t.mobile.bottom_right+t["mobile-unit"]+";} } ",astra_add_dynamic_css("ss-soc-border-radius",a))})}),wp.customize("astra-settings[single-post-social-sharing-heading-text]",function(t){t.bind(function(t){var a=document.querySelector(".ast-social-sharing-heading");a&&(a.textContent=t)})}),wp.customize("astra-settings[author-box-background]",function(t){t.bind(function(t){astra_background_obj_css(wp.customize,t,"author-box-background",".single .ast-single-author-box .ast-author-meta, .single.ast-separate-container .site-main .ast-author-meta { {{css}} } ")})}),astra_border_spacing_advanced_css("ast-sub-section-author-box",".single .ast-single-author-box .ast-author-meta"),astra_refresh_customizer_iframe("astra-settings[blog-post-structure]"),astra_refresh_customizer_iframe("astra-settings[blog-meta-author-avatar-prefix-label]"),astra_refresh_customizer_iframe("astra-settings[blog-meta-author-avatar]"),astra_refresh_customizer_iframe("astra-settings[blog-read-more-as-button]"),astra_refresh_customizer_iframe("astra-settings[blog-excerpt-count]"),wp.customize("astra-settings[blog-meta-author-avatar-size]",function(t){t.bind(function(t){var a;""!=t&&(a="",a=(a+=".ast-article-post .ast-author-image {")+"width: "+t+"px;} ",astra_add_dynamic_css("ss-bm-author-img-size",a))})}),wp.customize("astra-settings[blog-read-more-text]",function(t){t.bind(function(a){document.querySelectorAll(".ast-article-post .read-more a").forEach(t=>{t&&(t.textContent=a)})})}),wp.customize("astra-settings[blog-item-box-shadow-control]",function(t){t.bind(function(i){var o="";if(""!=i.x&&""!=i.y&&""!=i.blur&&""!=i.spread&&wp.customize("astra-settings[blog-layout]").get()){var s=wp.customize("astra-settings[blog-item-box-shadow-position]").get(),e=wp.customize("astra-settings[blog-item-box-shadow-color]").get(),n=wp.customize("astra-settings[blog-grid-resp]").get();let t=n,a=("object"==typeof n&&(t=window.innerWidth<=l?parseInt(n.mobile):window.innerWidth<=r?parseInt(n.tablet):parseInt(n.desktop)),"");o=astra_addon_get_shop_items_shadow_css(a=1===t?".ast-separate-container .ast-blog-layout-4-grid .ast-article-post, .ast-separate-container .ast-blog-layout-5-grid .ast-article-post, .ast-separate-container .ast-blog-layout-6-grid .ast-article-post":".ast-separate-container .ast-blog-layout-4-grid .ast-article-inner, .ast-separate-container .ast-blog-layout-5-grid .ast-article-inner, .ast-separate-container .ast-blog-layout-6-grid .ast-article-inner",i,s,e)}astra_add_dynamic_css("blog-item-box-shadow-control",o)})}),wp.customize("astra-settings[blog-item-box-shadow-color]",function(t){t.bind(function(i){let o="";if(""!=i&&wp.customize("astra-settings[blog-layout]").get()){var s=wp.customize("astra-settings[blog-item-box-shadow-control]").get(),e=wp.customize("astra-settings[blog-item-box-shadow-position]").get(),n=wp.customize("astra-settings[blog-grid-resp]").get();let t=n,a=("object"==typeof n&&(t=window.innerWidth<=l?parseInt(n.mobile):window.innerWidth<=r?parseInt(n.tablet):parseInt(n.desktop)),"");a=1===t?".ast-separate-container .ast-blog-layout-4-grid .ast-article-post, .ast-separate-container .ast-blog-layout-5-grid .ast-article-post, .ast-separate-container .ast-blog-layout-6-grid .ast-article-post":".ast-separate-container .ast-blog-layout-4-grid .ast-article-inner, .ast-separate-container .ast-blog-layout-5-grid .ast-article-inner, .ast-separate-container .ast-blog-layout-6-grid .ast-article-inner",o=astra_addon_get_shop_items_shadow_css(a,s,e,i)}astra_add_dynamic_css("blog-item-box-shadow-color",o)})}),wp.customize("astra-settings[blog-item-box-shadow-position]",function(t){t.bind(function(i){let o="";if(""!=i&&wp.customize("astra-settings[blog-layout]").get()){var s=wp.customize("astra-settings[blog-item-box-shadow-control]").get(),e=wp.customize("astra-settings[blog-item-box-shadow-color]").get(),n=wp.customize("astra-settings[blog-grid-resp]").get();let t=n,a=("object"==typeof n&&(t=window.innerWidth<=l?parseInt(n.mobile):window.innerWidth<=r?parseInt(n.tablet):parseInt(n.desktop)),"");a=1===t?".ast-separate-container .ast-blog-layout-4-grid .ast-article-post, .ast-separate-container .ast-blog-layout-5-grid .ast-article-post, .ast-separate-container .ast-blog-layout-6-grid .ast-article-post":".ast-separate-container .ast-blog-layout-4-grid .ast-article-inner, .ast-separate-container .ast-blog-layout-5-grid .ast-article-inner, .ast-separate-container .ast-blog-layout-6-grid .ast-article-inner",o=astra_addon_get_shop_items_shadow_css(a,s,i,e)}astra_add_dynamic_css("blog-item-box-shadow-position",o)})}),astra_generate_outside_font_family_css("astra-settings[single-post-social-sharing-icon-label-font-family]",n+" .social-item-label"),astra_generate_font_weight_css("astra-settings[single-post-social-sharing-icon-label-font-family]","astra-settings[single-post-social-sharing-icon-label-font-weight]","font-weight",n+" .social-item-label"),astra_responsive_font_size("astra-settings[single-post-social-sharing-icon-label-font-size]",n+" .social-item-label"),astra_font_extras_css("single-post-social-sharing-icon-label-font-extras",n+" .social-item-label"),astra_generate_outside_font_family_css("astra-settings[single-post-social-sharing-heading-font-family]",n+" .ast-social-sharing-heading"),astra_generate_font_weight_css("astra-settings[single-post-social-sharing-heading-font-family]","astra-settings[single-post-social-sharing-heading-font-weight]","font-weight",n+" .ast-social-sharing-heading"),astra_responsive_font_size("astra-settings[single-post-social-sharing-heading-font-size]",n+" .ast-social-sharing-heading"),astra_font_extras_css("single-post-social-sharing-heading-font-extras",n+" .ast-social-sharing-heading"),astra_css("astra-settings[navigation-link-text-color]","color",".single .post-navigation a"),astra_css("astra-settings[navigation-link-text-h-color]","color",".single .post-navigation a:hover"),astra_css("astra-settings[navigation-link-bg-color]","background-color",".single .post-navigation a"),astra_css("astra-settings[navigation-link-bg-h-color]","background-color",".single .post-navigation a:hover"),"a.ast-post-filter-single"),g=".ast-post-filter ul",d=".ast-post-filter";astra_generate_outside_font_family_css("astra-settings[font-family-blog-filter-taxonomy]",i),astra_generate_font_weight_css("astra-settings[font-family-blog-filter-taxonomy]","astra-settings[font-weight-blog-filter-taxonomy]","font-weight",i),astra_responsive_font_size("astra-settings[font-size-blog-filter-taxonomy]",i),astra_font_extras_css("font-extras-blog-filter-taxonomy",i),astra_css("astra-settings[blog-filter-taxonomy-text-normal-color]","color",i+":not(.active)"),astra_css("astra-settings[blog-filter-taxonomy-text-hover-color]","color",i+":not(.active):hover"),astra_css("astra-settings[blog-filter-taxonomy-text-active-color]","color",i+".active"),astra_css("astra-settings[blog-filter-taxonomy-bg-normal-color]","background-color",i+":not(.active)"),astra_css("astra-settings[blog-filter-taxonomy-bg-hover-color]","background-color",i+":not(.active):hover"),astra_css("astra-settings[blog-filter-taxonomy-bg-active-color]","background-color",i+".active"),wp.customize("astra-settings[blog-filter-inside-spacing]",function(t){t.bind(function(t){var a;""==t.desktop.bottom&&""==t.desktop.top&&""==t.desktop.left&&""==t.desktop.right&&""==t.tablet.bottom&&""==t.tablet.top&&""==t.tablet.left&&""==t.tablet.right&&""==t.mobile.bottom&&""==t.mobile.top&&""==t.mobile.left&&""==t.mobile.right||(a="",a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a+=i+" {")+"padding-left: "+t.desktop.left+t["desktop-unit"]+";")+"padding-right: "+t.desktop.right+t["desktop-unit"]+";")+"padding-top: "+t.desktop.top+t["desktop-unit"]+";")+"padding-bottom: "+t.desktop.bottom+t["desktop-unit"]+";} ")+"@media (max-width: "+r+"px) {")+i+" {")+"padding-left: "+t.tablet.left+t["tablet-unit"]+";")+"padding-right: "+t.tablet.right+t["tablet-unit"]+";")+"padding-top: "+t.tablet.top+t["tablet-unit"]+";")+"padding-bottom: "+t.tablet.bottom+t["tablet-unit"]+";} } ")+"@media (max-width: "+l+"px) {")+i+" {")+"padding-left: "+t.mobile.left+t["mobile-unit"]+";")+"padding-right: "+t.mobile.right+t["mobile-unit"]+";")+"padding-top: "+t.mobile.top+t["mobile-unit"]+";")+"padding-bottom: "+t.mobile.bottom+t["mobile-unit"]+";} } ",astra_add_dynamic_css("ss-bf-padding",a))})}),wp.customize("astra-settings[blog-filter-border-radius]",function(t){t.bind(function(t){var a;""==t.desktop.bottom&&""==t.desktop.top&&""==t.desktop.left&&""==t.desktop.right&&""==t.tablet.bottom&&""==t.tablet.top&&""==t.tablet.left&&""==t.tablet.right&&""==t.mobile.bottom&&""==t.mobile.top&&""==t.mobile.left&&""==t.mobile.right||(a="",a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a+=i+" {")+"border-top-left-radius: "+t.desktop.top_left+t["desktop-unit"]+";")+"border-top-right-radius: "+t.desktop.top_right+t["desktop-unit"]+";")+"border-bottom-left-radius: "+t.desktop.bottom_left+t["desktop-unit"]+";")+"border-bottom-right-radius: "+t.desktop.bottom_right+t["desktop-unit"]+";} ")+"@media (max-width: "+r+"px) {")+i+" {")+"border-top-left-radius: "+t.tablet.top_left+t["tablet-unit"]+";")+"border-top-right-radius: "+t.tablet.top_right+t["tablet-unit"]+";")+"border-bottom-left-radius: "+t.tablet.bottom_left+t["tablet-unit"]+";")+"border-bottom-right-radius: "+t.tablet.bottom_right+t["tablet-unit"]+";} } ")+"@media (max-width: "+l+"px) {")+i+" {")+"border-top-left-radius: "+t.mobile.top_left+t["mobile-unit"]+";")+"border-top-right-radius: "+t.mobile.top_right+t["mobile-unit"]+";")+"border-bottom-left-radius: "+t.mobile.bottom_left+t["mobile-unit"]+";")+"border-bottom-right-radius: "+t.mobile.bottom_right+t["mobile-unit"]+";} } ",astra_add_dynamic_css("ss-bf-border-radius",a))})}),wp.customize("astra-settings[blog-filter-outer-parent-spacing]",function(t){t.bind(function(t){var a;""==t.desktop.bottom&&""==t.desktop.top&&""==t.desktop.left&&""==t.desktop.right&&""==t.tablet.bottom&&""==t.tablet.top&&""==t.tablet.left&&""==t.tablet.right&&""==t.mobile.bottom&&""==t.mobile.top&&""==t.mobile.left&&""==t.mobile.right||(a="",a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a+=d+" {")+"margin-left: "+t.desktop.left+t["desktop-unit"]+";")+"margin-right: "+t.desktop.right+t["desktop-unit"]+";")+"margin-top: "+t.desktop.top+t["desktop-unit"]+";")+"margin-bottom: "+t.desktop.bottom+t["desktop-unit"]+";} ")+"@media (max-width: "+r+"px) {")+d+" {")+"margin-left: "+t.tablet.left+t["tablet-unit"]+";")+"margin-right: "+t.tablet.right+t["tablet-unit"]+";")+"margin-top: "+t.tablet.top+t["tablet-unit"]+";")+"margin-bottom: "+t.tablet.bottom+t["tablet-unit"]+";} } ")+"@media (max-width: "+l+"px) {")+d+" {")+"margin-left: "+t.mobile.left+t["mobile-unit"]+";")+"margin-right: "+t.mobile.right+t["mobile-unit"]+";")+"margin-top: "+t.mobile.top+t["mobile-unit"]+";")+"margin-bottom: "+t.mobile.bottom+t["mobile-unit"]+";} } ",astra_add_dynamic_css("ss-bf-outer-margin",a))})}),wp.customize("astra-settings[blog-filter-outside-spacing]",function(t){t.bind(function(t){var a;""==t.desktop.bottom&&""==t.desktop.top&&""==t.desktop.left&&""==t.desktop.right&&""==t.tablet.bottom&&""==t.tablet.top&&""==t.tablet.left&&""==t.tablet.right&&""==t.mobile.bottom&&""==t.mobile.top&&""==t.mobile.left&&""==t.mobile.right||(a="",a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a=(a+=i+" {")+"margin-left: "+t.desktop.left+t["desktop-unit"]+";")+"margin-right: "+t.desktop.right+t["desktop-unit"]+";")+"margin-top: "+t.desktop.top+t["desktop-unit"]+";")+"margin-bottom: "+t.desktop.bottom+t["desktop-unit"]+";} ")+g+" {")+"margin-left: -"+t.desktop.left+t["desktop-unit"]+";")+"margin-right: -"+t.desktop.right+t["desktop-unit"]+";} ")+"@media (max-width: "+r+"px) {")+i+" {")+"margin-left: "+t.tablet.left+t["tablet-unit"]+";")+"margin-right: "+t.tablet.right+t["tablet-unit"]+";")+"margin-top: "+t.tablet.top+t["tablet-unit"]+";")+"margin-bottom: "+t.tablet.bottom+t["tablet-unit"]+";} ")+g+" {")+"margin-left: -"+t.tablet.left+t["tablet-unit"]+";")+"margin-right: -"+t.tablet.right+t["tablet-unit"]+";} } ")+"@media (max-width: "+l+"px) {")+i+" {")+"margin-left: "+t.mobile.left+t["mobile-unit"]+";")+"margin-right: "+t.mobile.right+t["mobile-unit"]+";")+"margin-top: "+t.mobile.top+t["mobile-unit"]+";")+"margin-bottom: "+t.mobile.bottom+t["mobile-unit"]+";} ")+g+" {")+"margin-left: -"+t.mobile.left+t["mobile-unit"]+";")+"margin-right: -"+t.mobile.right+t["mobile-unit"]+";} } ",astra_add_dynamic_css("ss-bf-margin",a))})}),wp.customize("astra-settings[blog-filter-alignment]",function(t){t.bind(function(t){var a;""==t.desktop&&""==t.tablet&&""==t.mobile||(a="",a=(a=(a=(a=(a=(a=(a=(a+=g+" {")+"justify-content: "+rtl_alignment(t.desktop,"flex-start","flex-end")+";} ")+"@media (max-width: "+r+"px) {")+g+" {")+"justify-content: "+rtl_alignment(t.tablet,"flex-start","flex-end")+";} } ")+"@media (max-width: "+l+"px) {")+g+" {")+"justify-content: "+rtl_alignment(t.mobile,"flex-start","flex-end")+";} } ",astra_add_dynamic_css("ss-bf-alignment",a))})}),wp.customize("astra-settings[responsive-blog-filter-visibility]",function(t){t.bind(function(t){var a=t.desktop?"block":"none",i=astraBuilderPreview.tablet_break_point||921;astra_add_dynamic_css("responsive-blog-filter-visibility",".ast-post-filter { display: "+a+";} @media( max-width: "+i+"px) { .ast-post-filter { display: "+(t.tablet?"block":"none")+";} } @media( max-width: "+(astraBuilderPreview.mobile_break_point||544)+"px) { .ast-post-filter { display: "+(t.mobile?"block":"none")+";} }")})}),wp.customize("astra-settings[blog-card-content-alignment-h]",function(t){t.bind(function(a){var i=wp.customize("astra-settings[blog-card-content-alignment-v]").get();if(a||i){if(a||i){var o={left:s?"flex-end":"flex-start",center:"center",right:s?"flex-start":"flex-end"},o=a&&o[a]||"center",a=a||"center",i=i||"middle";let t="";t=(t=(t=(t=t+".post-content {"+"display: flex;")+"flex-direction: column;"+("align-items: "+o+";"))+("text-align: "+a+";")+"height: 100%;")+"} "+".post-content .ast-blog-featured-section { align-self: stretch; width: 100%; } ","top"!==i&&(t+=".post-content > *:first-child { margin-top: auto; } ","middle"===i&&(t+=".post-content > *:last-child { margin-bottom: auto; } "),t+=".post-content > .ast-blog-featured-section:first-child { margin-top: 0; } .post-content > .ast-blog-featured-section:first-child + * { margin-top: auto; } "),wp.customize("astra-settings[related-posts-inherit-card-style]").get()&&(t=(t=(t=(t+=".ast-related-post-content {display: flex;")+"flex-direction: column;align-items: "+o+";")+"text-align: "+a+";height: 100%;")+"} .ast-related-post-content .ast-blog-featured-section { align-self: stretch; width: 100%; } ","top"!==i)&&(t+=".ast-related-post-content > *:first-child { margin-top: auto; } ","middle"===i&&(t+=".ast-related-post-content > *:last-child { margin-bottom: auto; } "),t+=".ast-related-post-content > .ast-blog-featured-section:first-child { margin-top: 0; } .ast-related-post-content > .ast-blog-featured-section:first-child + * { margin-top: auto; } "),astra_add_dynamic_css("blog-card-content-alignment-h",t)}}else{let t="";t=(t=(t=(t=(t=(t=t+".post-content {"+"display: initial;")+"flex-direction: initial;"+"align-items: initial;")+"text-align: initial;"+"height: initial;")+"} "+".post-content .ast-blog-featured-section { align-self: initial; width: initial; } ")+".post-content > *:first-child { margin-top: initial; } "+".post-content > *:last-child { margin-bottom: initial; } ")+".post-content > .ast-blog-featured-section:first-child { margin-top: initial; } "+".post-content > .ast-blog-featured-section:first-child + * { margin-top: initial; } ",wp.customize("astra-settings[related-posts-inherit-card-style]").get()&&(t=(t=(t=(t=(t=(t+=".ast-related-post-content {display: initial;")+"flex-direction: initial;align-items: initial;")+"text-align: initial;height: initial;")+"} .ast-related-post-content .ast-blog-featured-section { align-self: initial; width: initial; } ")+".ast-related-post-content > *:first-child { margin-top: initial; } .ast-related-post-content > *:last-child { margin-bottom: initial; } ")+".ast-related-post-content > .ast-blog-featured-section:first-child { margin-top: initial; } .ast-related-post-content > .ast-blog-featured-section:first-child + * { margin-top: initial; } "),astra_add_dynamic_css("blog-card-content-alignment-h",t)}})}),wp.customize("astra-settings[blog-card-content-alignment-v]",function(t){t.bind(function(a){var i=wp.customize("astra-settings[blog-card-content-alignment-h]").get();if(a||i){if(a||i){var o={left:s?"flex-end":"flex-start",center:"center",right:s?"flex-start":"flex-end"},o=i&&o[i]||"center",i=i||"center",a=a||"middle";let t="";t=(t=(t=(t=t+".post-content {"+"display: flex;")+"flex-direction: column;"+("align-items: "+o+";"))+("text-align: "+i+";")+"height: 100%;")+"} "+".post-content .ast-blog-featured-section { align-self: stretch; width: 100%; } ","top"!==a&&(t+=".post-content > *:first-child { margin-top: auto; } ","middle"===a&&(t+=".post-content > *:last-child { margin-bottom: auto; } "),t+=".post-content > .ast-blog-featured-section:first-child { margin-top: 0; } .post-content > .ast-blog-featured-section:first-child + * { margin-top: auto; } "),wp.customize("astra-settings[related-posts-inherit-card-style]").get()&&(t=(t=(t=(t+=".ast-related-post-content {display: flex;")+"flex-direction: column;align-items: "+o+";")+"text-align: "+i+";height: 100%;")+"} .ast-related-post-content .ast-blog-featured-section { align-self: stretch; width: 100%; } ","top"!==a)&&(t+=".ast-related-post-content > *:first-child { margin-top: auto; } ","middle"===a&&(t+=".ast-related-post-content > *:last-child { margin-bottom: auto; } "),t+=".ast-related-post-content > .ast-blog-featured-section:first-child { margin-top: 0; } .ast-related-post-content > .ast-blog-featured-section:first-child + * { margin-top: auto; } "),astra_add_dynamic_css("blog-card-content-alignment-v",t)}}else{let t="";t=(t=(t=(t=(t=(t=t+".post-content {"+"display: initial;")+"flex-direction: initial;"+"align-items: initial;")+"text-align: initial;"+"height: initial;")+"} "+".post-content .ast-blog-featured-section { align-self: initial; width: initial; } ")+".post-content > *:first-child { margin-top: initial; } "+".post-content > *:last-child { margin-bottom: initial; } ")+".post-content > .ast-blog-featured-section:first-child { margin-top: initial; } "+".post-content > .ast-blog-featured-section:first-child + * { margin-top: initial; } ",wp.customize("astra-settings[related-posts-inherit-card-style]").get()&&(t=(t=(t=(t=(t=(t+=".ast-related-post-content {display: initial;")+"flex-direction: initial;align-items: initial;")+"text-align: initial;height: initial;")+"} .ast-related-post-content .ast-blog-featured-section { align-self: initial; width: initial; } ")+".ast-related-post-content > *:first-child { margin-top: initial; } .ast-related-post-content > *:last-child { margin-bottom: initial; } ")+".ast-related-post-content > .ast-blog-featured-section:first-child { margin-top: initial; } .ast-related-post-content > .ast-blog-featured-section:first-child + * { margin-top: initial; } "),astra_add_dynamic_css("blog-card-content-alignment-v",t)}})}),wp.customize("astra-settings[blog-category-alignment-h]",function(t){t.bind(function(a){var i=wp.customize("astra-settings[blog-layout]").get(),o=wp.customize("astra-settings[blog-category-alignment-v]").get(),s=".ast-blog-single-element.ast-taxonomy-container.cat-links";let e="";if("blog-layout-4"===i||"blog-layout-5"===i){if(o){var n="."+i,r="20px",l={h:{left:{[m]:r,[b]:"auto"},center:{[m]:"50%",[b]:"auto",transform:"translateX(-50%)"},right:{[m]:"auto",[b]:r}},v:{top:{top:r,bottom:"auto"},middle:{top:"50%",bottom:"auto",transform:"translateY(-50%)"},bottom:{top:"auto",bottom:r}}};let t=n+" .post-thumb-img-content { position: relative; }";t+=n+" "+s+" { position: absolute !important;";var c,g,n=a?l.h[a]:{left:r,right:"auto"},r=l.v[o];Object.assign(n,r);for([c,g]of Object.entries(n))"transform"!==c&&(t+=" "+c+": "+g+";");"center"===a&&"middle"===o?t+=" transform: translate(-50%, -50%);":"center"===a?t+=" transform: translateX(-50%);":"middle"===o&&(t+=" transform: translateY(-50%);"),t+=" }",e=t}else a&&(e="."+i+" "+s+" { text-align: "+a+"; }");astra_add_dynamic_css("blog-category-alignment-h",e)}else if("blog-layout-6"===i&&(a||o)){l="20px",r={h:{left:{[m]:l,[b]:"auto"},center:{[m]:"50%",[b]:"auto",transform:"translateX(-50%)"},right:{[m]:"auto",[b]:l}},v:{top:{top:l,bottom:"auto"},middle:{top:"50%",bottom:"auto",transform:"translateY(-50%)"},bottom:{top:"auto",bottom:l}}};let t="top"===o?".blog-layout-6 .ast-article-inner { position: relative; margin-top: 25px; }":".blog-layout-6 .ast-article-inner { position: relative; }";t+=".blog-layout-6 "+s+" { position: absolute !important;";var d,p,n=a?r.h[a]:{left:l,right:"auto"},i=o?r.v[o]:{top:l,bottom:"auto"};Object.assign(n,i);for([d,p]of Object.entries(n))"transform"!==d&&(t+=" "+d+": "+p+";");"center"===a&&"middle"===o?t+=" transform: translate(-50%, -50%);":"center"===a?t+=" transform: translateX(-50%);":"middle"===o&&(t+=" transform: translateY(-50%);"),t+=" }",astra_add_dynamic_css("blog-category-alignment-h",t)}else astra_add_dynamic_css("blog-category-alignment-h","")})}),wp.customize("astra-settings[blog-category-alignment-v]",function(t){t.bind(function(a){var i=wp.customize("astra-settings[blog-layout]").get(),o=wp.customize("astra-settings[blog-category-alignment-h]").get(),s=".ast-blog-single-element.ast-taxonomy-container.cat-links";if("blog-layout-4"===i||"blog-layout-5"===i)if(a){var e="."+i,n="20px",r={h:{left:{[m]:n,[b]:"auto"},center:{[m]:"50%",[b]:"auto",transform:"translateX(-50%)"},right:{[m]:"auto",[b]:n}},v:{top:{top:n,bottom:"auto"},middle:{top:"50%",bottom:"auto",transform:"translateY(-50%)"},bottom:{top:"auto",bottom:n}}};let t=e+" .post-thumb-img-content { position: relative; }";t+=e+" "+s+" { position: absolute !important;";var l,c,e=r.v[a],r=o?r.h[o]:{left:n,right:"auto"};Object.assign(e,r);for([l,c]of Object.entries(e))"transform"!==l&&(t+=" "+l+": "+c+";");"middle"===a&&"center"===o?t+=" transform: translate(-50%, -50%);":"middle"===a?t+=" transform: translateY(-50%);":"center"===o&&(t+=" transform: translateX(-50%);"),t+=" }",astra_add_dynamic_css("blog-category-alignment-v",t)}else astra_add_dynamic_css("blog-category-alignment-v","");else if("blog-layout-6"===i&&(a||o)){n="20px",r={h:{left:{[m]:n,[b]:"auto"},center:{[m]:"50%",[b]:"auto",transform:"translateX(-50%)"},right:{[m]:"auto",[b]:n}},v:{top:{top:n,bottom:"auto"},middle:{top:"50%",bottom:"auto",transform:"translateY(-50%)"},bottom:{top:"auto",bottom:n}}};let t="top"===a?".blog-layout-6 .ast-article-inner { position: relative; margin-top: 25px; }":".blog-layout-6 .ast-article-inner { position: relative; }";t+=".blog-layout-6 "+s+" { position: absolute !important;";var g,d,e=a?r.v[a]:{top:n,bottom:"auto"},i=o?r.h[o]:{left:n,right:"auto"};Object.assign(e,i);for([g,d]of Object.entries(e))"transform"!==g&&(t+=" "+g+": "+d+";");"middle"===a&&"center"===o?t+=" transform: translate(-50%, -50%);":"middle"===a?t+=" transform: translateY(-50%);":"center"===o&&(t+=" transform: translateX(-50%);"),t+=" }",astra_add_dynamic_css("blog-category-alignment-v",t)}else astra_add_dynamic_css("blog-category-alignment-v","")})}),wp.customize("astra-settings[blog-layout]",function(t){t.bind(function(t){var a=wp.customize("astra-settings[blog-category-alignment-h]").get(),i=wp.customize("astra-settings[blog-category-alignment-v]").get();a&&wp.customize("astra-settings[blog-category-alignment-h]").trigger("change"),i&&wp.customize("astra-settings[blog-category-alignment-v]").trigger("change")})}),wp.customize("astra-settings[related-posts-inherit-card-style]",function(t){t.bind(function(t){var a=wp.customize("astra-settings[blog-card-content-alignment-h]").get(),i=wp.customize("astra-settings[blog-card-content-alignment-v]").get();a&&wp.customize("astra-settings[blog-card-content-alignment-h]").set(a),i&&wp.customize("astra-settings[blog-card-content-alignment-v]").set(i)})})})(jQuery);