!function(o){"use strict";var n,e,t=wp.customize,r=o("body"),l=(o("head"),[]),i=[];function a(e){return l[e]?l[e]:((n=o("head").find("#blogun-dynamic-"+e)).length||(o("head").append(''),n=o("head").find("#blogun-dynamic-"+e)),l[e]=n,n)}function b(o,n){o.length&&(o.removeClass("blogun-hide-mobile blogun-hide-tablet blogun-hide-mobile-tablet"),"all"!==n&&o.addClass("blogun-"+n))}function c(o,n){if("rgba"===o.substring(0,4))return o;o=o.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(o,n,e,t){return n+n+e+e+t+t});var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(o);return n&&(1'),e=o("head").find("#blogun-dynamic-link-"+t)),i[t]=e,e)}}function m(o,n,e){var t="";if("background"===e){var r=n["background-type"];t+=o+"{","color"===r?(n["background-color"]=n["background-color"]?n["background-color"]:"inherit",t+="background: "+n["background-color"]+";"):"gradient"===r?(t+="background: "+n["gradient-color-1"]+";","linear"===n["gradient-type"]?t+="background: -webkit-linear-gradient("+n["gradient-linear-angle"]+"deg, "+n["gradient-color-1"]+" "+n["gradient-color-1-location"]+"%, "+n["gradient-color-2"]+" "+n["gradient-color-2-location"]+"%);background: -o-linear-gradient("+n["gradient-linear-angle"]+"deg, "+n["gradient-color-1"]+" "+n["gradient-color-1-location"]+"%, "+n["gradient-color-2"]+" "+n["gradient-color-2-location"]+"%);background: linear-gradient("+n["gradient-linear-angle"]+"deg, "+n["gradient-color-1"]+" "+n["gradient-color-1-location"]+"%, "+n["gradient-color-2"]+" "+n["gradient-color-2-location"]+"%);":"radial"===n["gradient-type"]&&(t+="background: -webkit-radial-gradient("+n["gradient-position"]+", circle, "+n["gradient-color-1"]+" "+n["gradient-color-1-location"]+"%, "+n["gradient-color-2"]+" "+n["gradient-color-2-location"]+"%);background: -o-radial-gradient("+n["gradient-position"]+", circle, "+n["gradient-color-1"]+" "+n["gradient-color-1-location"]+"%, "+n["gradient-color-2"]+" "+n["gradient-color-2-location"]+"%);background: radial-gradient(circle at "+n["gradient-position"]+", "+n["gradient-color-1"]+" "+n["gradient-color-1-location"]+"%, "+n["gradient-color-2"]+" "+n["gradient-color-2-location"]+"%);")):"image"===r&&(t+="background-image: url("+n["background-image"]+");background-size: "+n["background-size"]+";background-attachment: "+n["background-attachment"]+";background-position: "+n["background-position-x"]+"% "+n["background-position-y"]+"%;background-repeat: "+n["background-repeat"]+";"),t+="}","image"===r&&n["background-color-overlay"]&&n["background-image"]?t+=o+"::after { background-color: "+n["background-color-overlay"]+"; }":t+=o+"::after { background-color: initial; }"}else"color"===e?(n["text-color"]=n["text-color"]?n["text-color"]:"inherit",n["link-color"]=n["link-color"]?n["link-color"]:"inherit",n["link-hover-color"]=n["link-hover-color"]?n["link-hover-color"]:"inherit",t+=o+" { color: "+n["text-color"]+"; }",t+=o+" a { color: "+n["link-color"]+"; }",t+=o+" a:hover { color: "+n["link-hover-color"]+" !important; }"):"border"===e?(n["border-color"]=n["border-color"]?n["border-color"]:"inherit",n["border-style"]=n["border-style"]?n["border-style"]:"solid",n["border-left-width"]=n["border-left-width"]?n["border-left-width"]:0,n["border-top-width"]=n["border-top-width"]?n["border-top-width"]:0,n["border-right-width"]=n["border-right-width"]?n["border-right-width"]:0,n["border-bottom-width"]=n["border-bottom-width"]?n["border-bottom-width"]:0,t+=o+"{",t+="border-color: "+n["border-color"]+";",t+="border-style: "+n["border-style"]+";",t+="border-left-width: "+n["border-left-width"]+"px;",t+="border-top-width: "+n["border-top-width"]+"px;",t+="border-right-width: "+n["border-right-width"]+"px;",t+="border-bottom-width: "+n["border-bottom-width"]+"px;",t+="}"):"separator_color"===e&&(t+=o+":after{ background-color: "+n["separator-color"]+"; }");return t}t("blogun_logo_max_height",function(e){e.bind(function(e){if(o(".blogun-logo").length){n=a("blogun_logo_max_height");var t="";t+=h(".blogun-logo img","max-height",e,!0,"px"),t+=h(".blogun-logo img.blogun-svg-logo","height",e,!0,"px"),n.html(t)}})}),t("blogun_logo_text_font_size",function(e){e.bind(function(e){if(o("#blogun-header .blogun-logo .site-title").length){n=a("blogun_logo_text_font_size");var t="";t+=h("#blogun-header .blogun-logo .site-title","font-size",e,!0,e.unit),n.html(t)}})}),t("blogun_logo_margin",function(e){e.bind(function(e){if(o(".blogun-logo").length){n=a("blogun_logo_margin");var t=d(".blogun-logo .logo-inner","margin",e,!0);n.html(t)}})}),t("blogdescription",function(n){n.bind(function(n){o(".blogun-logo").find(".site-description").length&&o(".blogun-logo").find(".site-description").html(n)})}),t("blogname",function(n){n.bind(function(n){o(".blogun-logo").find(".site-title").length&&o(".blogun-logo").find(".site-title").find("a").html(n)})}),t("blogun_site_layout",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-layout__(?!boxed-separated)\S+/g)||[]).join(" ")}),r.addClass("blogun-layout__"+o)})}),t("blogun_sidebar_sticky",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-sticky-\S+/g)||[]).join(" ")}),o&&r.addClass("blogun-sticky-"+o)})}),t("blogun_sidebar_width",function(e){e.bind(function(e){if(o("#secondary").length){n=a("blogun_sidebar_width");var t="#secondary { width: "+e.value+"%; }";t+="body:not(.blogun-no-sidebar) #primary { max-width: "+(100-parseInt(e.value))+"%;};",n.html(t)}})}),t("blogun_sidebar_style",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-sidebar-style-\S+/g)||[]).join(" ")}),r.addClass("blogun-sidebar-style-"+o)})}),t("blogun_sidebar_responsive_position",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-sidebar-r__\S+/g)||[]).join(" ")}),o&&r.addClass("blogun-sidebar-r__"+o)})}),t("blogun_blog_image_position",function(n){n.bind(function(n){o(".blogun-blog-entry-wrapper").removeClass(function(o,n){return(n.match(/(^|\s)blogun-thumb-\S+/g)||[]).join(" ")}),o(".blogun-blog-entry-wrapper").addClass("blogun-thumb-"+n)})}),t("blogun_single_title_alignment",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-page-title-align-\S+/g)||[]).join(" ")}),r.addClass("blogun-page-title-align-"+o)})}),t("blogun_single_title_spacing",function(e){e.bind(function(e){if(o(".page-header").length){n=a("blogun_single_title_spacing");var t=d(".blogun-single-title-in-page-header #page .page-header .blogun-page-header-wrapper","padding",e,!0);n.html(t)}})}),t("blogun_single_narrow_container_width",function(o){o.bind(function(o){n=a("blogun_single_narrow_container_width");var e="";e+='.single-post.narrow-content .entry-content > :not([class*="align"]):not([class*="gallery"]):not(.wp-block-image):not(.quote-inner):not(.quote-post-bg), .single-post.narrow-content .mce-content-body:not([class*="page-template-full-width"]) > :not([class*="align"]):not([data-wpview-type*="gallery"]):not(blockquote):not(.mceTemp), .single-post.narrow-content .entry-footer, .single-post.narrow-content .post-nav, .single-post.narrow-content .entry-content > .alignwide, .single-post.narrow-content p.has-background:not(.alignfull):not(.alignwide).single-post.narrow-content #blogun-comments-toggle, .single-post.narrow-content #comments, .single-post.narrow-content .entry-content .aligncenter, .single-post.narrow-content .blogun-narrow-element, .single-post.narrow-content.blogun-single-title-in-content .entry-header, .single-post.narrow-content.blogun-single-title-in-content .entry-meta, .single-post.narrow-content.blogun-single-title-in-content .post-category, .single-post.narrow-content.blogun-no-sidebar .blogun-page-header-wrapper, .single-post.narrow-content.blogun-no-sidebar .blogun-breadcrumbs > .blogun-container > nav {max-width: '+parseInt(o.value)+"px; margin-left: auto; margin-right: auto; }",e+=".single-post.narrow-content .author-box, .single-post.narrow-content .entry-content > .alignwide { max-width: "+(parseInt(o.value)+70)+"px;}",n.html(e)})}),t("blogun_single_content_font_size",function(e){e.bind(function(e){if(o(".single-post").length){n=a("blogun_single_content_font_size");var t="";t+=h(".single-post .entry-content","font-size",e,!0,e.unit),n.html(t)}})}),t("blogun_header_container_width",function(n){n.bind(function(n){var e=o("#blogun-header");e.length&&("full-width"===n?e.addClass("blogun-container__wide"):e.removeClass("blogun-container__wide"))})}),t("blogun_main_nav_mobile_breakpoint",function(e){e.bind(function(e){if(o("#blogun-header-inner .blogun-nav").length){n=a("blogun_main_nav_mobile_breakpoint");var t="";t+="@media screen and (min-width: "+parseInt(e)+"px) {#blogun-header-inner .blogun-nav {display:flex} .blogun-mobile-nav,.blogun-mobile-toggen,#blogun-header-inner .blogun-nav .menu-item-has-children>a > .blogun-icon,#blogun-header-inner .blogun-nav .page_item_has_children>a > .blogun-icon {display:none;} }",t+="@media screen and (max-width: "+parseInt(e)+"px) {#blogun-header-inner .blogun-nav {display:none} .blogun-mobile-nav,.blogun-mobile-toggen {display:inline-flex;} }",n.html(t)}})}),t("blogun_main_nav_mobile_label",function(n){n.bind(function(n){o(".blogun-hamburger-blogun-primary-nav").find(".hamburger-label").length&&o(".blogun-hamburger-blogun-primary-nav").find(".hamburger-label").html(n)})}),t("blogun_main_nav_font_color",function(e){e.bind(function(e){if(o("#blogun-header-inner .blogun-nav").length){n=a("blogun_main_nav_font_color");var r="";e["link-color"]=e["link-color"]?e["link-color"]:"inherit",r+="#blogun-header-inner .blogun-nav > ul > li > a { color: "+e["link-color"]+"; }",e["link-hover-color"]=e["link-hover-color"]?e["link-hover-color"]:t.value("blogun_accent_color")(),r+="#blogun-header-inner .blogun-nav > ul > li > a:hover, #blogun-header-inner .blogun-nav > ul > li.menu-item-has-children:hover > a, #blogun-header-inner .blogun-nav > ul > li.current-menu-item > a, #blogun-header-inner .blogun-nav > ul > li.current-menu-ancestor > a #blogun-header-inner .blogun-nav > ul > li.page_item_has_children:hover > a, #blogun-header-inner .blogun-nav > ul > li.current_page_item > a, #blogun-header-inner .blogun-nav > ul > li.current_page_ancestor > a { color: "+e["link-hover-color"]+"; }",n.html(r)}})}),t("blogun_main_nav_background",function(e){e.bind(function(e){if(o(".blogun-header-layout-3 .blogun-nav-container").length){n=a("blogun_main_nav_background");var t=m(".blogun-header-layout-3 .blogun-nav-container",e,"background");n.html(t)}})}),t("blogun_main_nav_border",function(e){e.bind(function(e){if(o(".blogun-header-layout-3 .blogun-nav-container").length){n=a("blogun_main_nav_border");var t=m(".blogun-header-layout-3 .blogun-nav-container",e,"border");n.html(t)}})}),t("blogun_main_nav_font_size",function(e){e.bind(function(e){if(o("#blogun-header-inner").length){n=a("blogun_main_nav_font_size");var t="";t+=h(".blogun-nav.blogun-header-element, .blogun-header-layout-1 .blogun-header-widgets, .blogun-header-layout-2 .blogun-header-widgets","font-size",e,!1,e.unit),n.html(t)}})}),t("blogun_top_bar_container_width",function(n){n.bind(function(n){var e=o("#blogun-topbar");e.length&&("full-width"===n?e.addClass("blogun-container__wide"):e.removeClass("blogun-container__wide"))})}),t("blogun_top_bar_visibility",function(n){n.bind(function(n){b(o("#blogun-topbar"),n)})}),t("blogun_top_bar_widgets_separator",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-topbar__separators-\S+/g)||[]).join(" ")}),r.addClass("blogun-topbar__separators-"+o)})}),t("blogun_top_bar_background",function(e){e.bind(function(e){if(o("#blogun-topbar").length){n=a("blogun_top_bar_background");var t=m("#blogun-topbar",e,"background");n.html(t)}})}),t("blogun_top_bar_text_color",function(e){e.bind(function(e){if(o("#blogun-topbar").length){n=a("blogun_top_bar_text_color");var t="";e["text-color"]=e["text-color"]?e["text-color"]:"inherit",e["link-color"]=e["link-color"]?e["link-color"]:"inherit",e["link-hover-color"]=e["link-hover-color"]?e["link-hover-color"]:"inherit",t+="#blogun-topbar { color: "+e["text-color"]+"; }",t+=".blogun-topbar-widget__text a, .blogun-topbar-widget .blogun-nav > ul > li > a, .blogun-topbar-widget__socials .blogun-social-nav > ul > li > a, #blogun-topbar .blogun-topbar-widget__text .blogun-icon { color: "+e["link-color"]+"; }",t+="#blogun-topbar .blogun-nav > ul > li > a:hover, #blogun-topbar .blogun-nav > ul > li.menu-item-has-children:hover > a, #blogun-topbar .blogun-nav > ul > li.current-menu-item > a, #blogun-topbar .blogun-nav > ul > li.current-menu-ancestor > a, #blogun-topbar .blogun-topbar-widget__text a:hover, #blogun-topbar .blogun-social-nav > ul > li > a .blogun-icon.bottom-icon { color: "+e["link-hover-color"]+"; }",n.html(t)}})}),t("blogun_top_bar_border",function(e){e.bind(function(e){if(o("#blogun-topbar").length){n=a("blogun_top_bar_border");var t=m("#blogun-topbar",e,"border");t+=m("#blogun-topbar .blogun-topbar-widget",e,"separator_color"),n.html(t)}})}),t("blogun_main_nav_hover_animation",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-menu-animation-\S+/g)||[]).join(" ")}),r.addClass("blogun-menu-animation-"+o)})}),t("blogun_header_widgets_separator",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-header__separators-\S+/g)||[]).join(" ")}),r.addClass("blogun-header__separators-"+o)})}),t("blogun_header_background",function(e){e.bind(function(e){if(o("#blogun-header-inner").length){n=a("blogun_header_background");var t=m("#blogun-header-inner",e,"background");"color"===e["background-type"]&&e["background-color"]?t+=".blogun-header-widget__cart .blogun-cart .blogun-cart-count { border: 2px solid "+e["background-color"]+"; }":t+=".blogun-header-widget__cart .blogun-cart .blogun-cart-count { border: none; }",n.html(t)}})}),t("blogun_header_text_color",function(e){e.bind(function(e){if(o("#blogun-header").length){n=a("blogun_header_text_color");var t="";t+=".blogun-logo .site-description { color: "+e["text-color"]+"; }",e["link-color"]&&(t+="#blogun-header, .blogun-header-widgets a:not(.blogun-btn), .blogun-logo a,.blogun-hamburger { color: "+e["link-color"]+"; }",t+=".hamburger-inner,.hamburger-inner::before,.hamburger-inner::after { background-color: "+e["link-color"]+"; }"),e["link-hover-color"]&&(t+=".blogun-header-widgets a:not(.blogun-btn):hover, #blogun-header-inner .blogun-header-widgets .blogun-active,.blogun-logo .site-title a:hover, .blogun-hamburger:hover .hamburger-label, .is-mobile-menu-active .blogun-hamburger .hamburger-label,#blogun-header-inner .blogun-nav > ul > li > a:hover,#blogun-header-inner .blogun-nav > ul > li.menu-item-has-children:hover > a,#blogun-header-inner .blogun-nav > ul > li.current-menu-item > a,#blogun-header-inner .blogun-nav > ul > li.current-menu-ancestor > a,#blogun-header-inner .blogun-nav > ul > li.page_item_has_children:hover > a,#blogun-header-inner .blogun-nav > ul > li.current_page_item > a,#blogun-header-inner .blogun-nav > ul > li.current_page_ancestor > a { color: "+e["link-hover-color"]+"; }",t+=".blogun-hamburger:hover .hamburger-inner,.blogun-hamburger:hover .hamburger-inner::before,.blogun-hamburger:hover .hamburger-inner::after,.is-mobile-menu-active .blogun-hamburger .hamburger-inner,.is-mobile-menu-active .blogun-hamburger .hamburger-inner::before,.is-mobile-menu-active .blogun-hamburger .hamburger-inner::after { background-color: "+e["link-hover-color"]+"; }"),n.html(t)}})}),t("blogun_header_border",function(e){e.bind(function(e){if(o("#blogun-header-inner").length){n=a("blogun_header_border");var t=m("#blogun-header-inner",e,"border");e["separator-color"]=e["separator-color"]?e["separator-color"]:"inherit",t+=".blogun-header-widget:after { background-color: "+e["separator-color"]+"; }",n.html(t)}})}),t("blogun_hero_hover_slider_container",function(n){n.bind(function(n){var e=o("#hero .blogun-hero-container");e.length&&("full-width"===n?e.addClass("blogun-container__wide"):e.removeClass("blogun-container__wide"))})}),t("blogun_hero_hover_slider_overlay",function(n){n.bind(function(n){var e=o("#hero .blogun-hover-slider");e.length&&e.removeClass(function(o,n){return(n.match(/(^|\s)slider-overlay-\S+/g)||[]).join(" ")}).addClass("slider-overlay-"+n)})}),t("blogun_hero_hover_slider_height",function(n){n.bind(function(n){var e=o("#hero");e.length&&e.find(".hover-slide-item").css("height",n.value+"px")})}),t("blogun_hero_visibility",function(n){n.bind(function(n){b(o("#hero"),n)})}),t("blogun_pyml_title",function(n){n.bind(function(n){o("#pyml .widget-title").text(n)})}),t("blogun_pyml_container",function(n){n.bind(function(n){var e=o("#pyml .blogun-pyml-container");e.length&&("full-width"===n?e.addClass("blogun-container__wide"):e.removeClass("blogun-container__wide"))})}),t("blogun_pyml_visibility",function(n){n.bind(function(n){b(o("#pyml"),n)})}),t("blogun_ticker_title",function(n){n.bind(function(n){o("#ticker .ticker-title .title").text(n)})}),t("blogun_ticker_container",function(n){n.bind(function(n){var e=o("#ticker .blogun-ticker-container");e.length&&("full-width"===n?e.addClass("blogun-container__wide"):e.removeClass("blogun-container__wide"))})}),t("blogun_ticker_visibility",function(n){n.bind(function(n){b(o("#ticker"),n)})}),t("blogun_custom_input_style",function(o){o.bind(function(o){o?r.addClass("blogun-input-supported"):r.removeClass("blogun-input-supported")})}),t("blogun_enable_pre_footer_cta",function(o){o.bind(function(o){o?r.addClass("blogun-pre-footer-cta-style-"+t.value("blogun_pre_footer_cta_style")()):r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-pre-footer-cta-style-\S+/g)||[]).join(" ")})})}),t("blogun_pre_footer_cta_visibility",function(n){n.bind(function(n){var e=o(".blogun-pre-footer-cta");e.length&&b(e,n)})}),t("blogun_pre_footer_cta_text",function(n){n.bind(function(n){var e=o("#blogun-pre-footer .blogun-pre-footer-cta");e.length&&e.find("p.h3").html(n)})}),t("blogun_pre_footer_cta_style",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-pre-footer-cta-style-\S+/g)||[]).join(" ")}).addClass("blogun-pre-footer-cta-style-"+t.value("blogun_pre_footer_cta_style")())})}),t("blogun_pre_footer_cta_btn_text",function(n){n.bind(function(n){var e=o("#blogun-pre-footer .blogun-pre-footer-cta");e.length&&(n?e.find("a").css("display","inline-flex").html(n):e.find("a").css("display","none").html(""))})}),t("blogun_pre_footer_cta_background",function(e){e.bind(function(e){if(o("#blogun-pre-footer .blogun-pre-footer-cta").length){n=a("blogun_pre_footer_cta_background");var t="";"color"===e["background-type"]?(t+=m(".blogun-pre-footer-cta-style-1 #blogun-pre-footer .blogun-flex-row::before, .blogun-pre-footer-cta-style-2 #blogun-pre-footer::before",e,"background"),t+=".blogun-pre-footer-cta-style-1 #blogun-pre-footer .blogun-flex-row::after,.blogun-pre-footer-cta-style-2 #blogun-pre-footer::after{ background-image: none; }"):(t+=m(".blogun-pre-footer-cta-style-1 #blogun-pre-footer .blogun-flex-row::after",e,"background"),t+=m(".blogun-pre-footer-cta-style-2 #blogun-pre-footer::after",e,"background")),"image"===e["background-type"]&&e["background-color-overlay"]&&e["background-image"]&&(t+=".blogun-pre-footer-cta-style-1 #blogun-pre-footer .blogun-flex-row::before,.blogun-pre-footer-cta-style-2 #blogun-pre-footer::before{ background-color: "+e["background-color-overlay"]+"; }"),n.html(t)}})}),t("blogun_pre_footer_cta_text_color",function(e){e.bind(function(e){if(o("#blogun-pre-footer .blogun-pre-footer-cta").length){n=a("blogun_pre_footer_cta_text_color");var t="";t+=m("#blogun-pre-footer .h2",e,"color"),t+=m("#blogun-pre-footer .h3",e,"color"),t+=m("#blogun-pre-footer .h4",e,"color"),n.html(t)}})}),t("blogun_pre_footer_cta_border",function(e){e.bind(function(e){if(o("#blogun-pre-footer .blogun-pre-footer-cta").length){n=a("blogun_pre_footer_cta_border");var t=m(".blogun-pre-footer-cta-style-1 #blogun-pre-footer .blogun-flex-row::before, .blogun-pre-footer-cta-style-2 #blogun-pre-footer::before",e,"border");n.html(t)}})}),t("blogun_pre_footer_cta_font_size",function(e){e.bind(function(e){if(o("#blogun-pre-footer .blogun-pre-footer-cta").length){n=a("blogun_pre_footer_cta_font_size");var t=h("#blogun-pre-footer .h3","font-size",e,!0,e.unit);n.html(t)}})}),t("blogun_product_sale_badge_text",function(n){n.bind(function(n){var e=o(".woocommerce ul.products li.product .onsale, .woocommerce span.onsale").not(".sold-out");e.length&&e.html(n)})}),t("blogun_accent_color",function(o){o.bind(function(o){var e;n=a("blogun_accent_color"),e=":root { --blogun-primary: "+o+";--blogun-primary_15: "+function o(n,e){n.includes("rgb")&&(n=function o(n){e=(e=n.split("(")[1].split(")")[0].trim()).split(",");for(var e,t,r="",l=0;3>l;l++)r+=1===(t=parseInt(e[l]).toString(16)).length?"0"+t:t;return!!r&&"#"+r}(n)),n=n.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(o,n,e,t){return n+n+e+e+t+t});var t,r,l=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(n);if(!/^#[0-9A-F]{6}$/i.test(n))return n;for(var i=1;3>=i;i++)l[i]=parseInt(l[i],16),t=0>e?0:l[i],r=0>e?l[i]:255,l[i]=l[i]+Math.ceil((r-t)*e);return"#"+g(l[1])+g(l[2])+g(l[3])}(o,.15)+";--blogun-primary_09: "+c(o,.09)+";--blogun-primary_04: "+c(o,.04)+";}",e+=".blogun-pre-footer-cta-style-1 #blogun-pre-footer .blogun-flex-row::before,.blogun-pre-footer-cta-style-2 #blogun-pre-footer::before { background: linear-gradient(to right, "+c(o,.9)+" 0%, "+c(o,.82)+" 35%, "+c(o,.4)+" 100% );-webkit-gradient(linear, left top, right top, from("+c(o,.9)+"), color-stop(35%, "+c(o,.82)+"), to("+c(o,.4)+")); }",n.html(e)})}),t("blogun_boxed_content_background_color",function(o){o.bind(function(o){n=a("blogun_boxed_content_background_color");var e="";o&&(e=".blogun-layout__boxed #page, .blogun-layout__boxed-separated #content, .blogun-layout__boxed-separated.blogun-sidebar-style-3 #secondary .blogun-widget, .blogun-layout__boxed-separated.blogun-sidebar-style-3 .elementor-widget-sidebar .blogun-widget, .blogun-layout__boxed-separated.blog .blogun-article, .blogun-layout__boxed-separated.search-results .blogun-article, .blogun-layout__boxed-separated.category .blogun-article { background-color: "+o+"; }",e+="@media screen and (max-width: 960px) { .blogun-layout__boxed-separated #page { background-color: "+o+"; }}"),n.html(e)})}),t("blogun_content_text_color",function(o){o.bind(function(o){n=a("blogun_content_text_color");var e="";o&&(e="body { color: "+o+";}:root { --blogun-secondary_38: "+o+";}.comment-form .comment-notes, #comments .no-comments, #page .wp-caption .wp-caption-text,#comments .comment-meta,.comments-closed,.entry-meta,.blogun-entry cite,legend,.blogun-page-header-description,.page-links em,.site-content .page-links em,.single .entry-footer .last-updated,.single .post-nav .post-nav-title,#main .widget_recent_comments span,#main .widget_recent_entries span,#main .widget_calendar table > caption,.post-thumb-caption, .wp-block-image figcaption, .blogun-cart-item .blogun-x,.woocommerce form.login .lost_password a,.woocommerce form.register .lost_password a,.woocommerce a.remove,#add_payment_method .cart-collaterals .cart_totals .woocommerce-shipping-destination, .woocommerce-cart .cart-collaterals .cart_totals .woocommerce-shipping-destination, .woocommerce-checkout .cart-collaterals .cart_totals .woocommerce-shipping-destination,.woocommerce ul.products li.product .blogun-loop-product__category-wrap a,.woocommerce ul.products li.product .blogun-loop-product__category-wrap,.woocommerce .woocommerce-checkout-review-order table.shop_table thead th,#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box,#add_payment_method #payment ul.payment_methods .about_paypal, .woocommerce-cart #payment ul.payment_methods .about_paypal, .woocommerce-checkout #payment ul.payment_methods .about_paypal,.woocommerce table dl,.woocommerce table .wc-item-meta,.widget.woocommerce .reviewer,.woocommerce.widget_shopping_cart .cart_list li a.remove:before,.woocommerce .widget_shopping_cart .cart_list li a.remove:before,.woocommerce .widget_shopping_cart .cart_list li .quantity, .woocommerce.widget_shopping_cart .cart_list li .quantity,.woocommerce div.product .woocommerce-product-rating .woocommerce-review-link,.woocommerce div.product .woocommerce-tabs table.shop_attributes td,.woocommerce div.product .product_meta > span span:not(.blogun-woo-meta-title), .woocommerce div.product .product_meta > span a,.woocommerce .star-rating::before,.woocommerce div.product #reviews #comments ol.commentlist li .comment-text p.meta,.ywar_review_count,.woocommerce .add_to_cart_inline del, .woocommerce div.product p.price del, .woocommerce div.product span.price del { color: "+c(o,.75)+"; }"),n.html(e)})}),t("blogun_content_link_hover_color",function(o){o.bind(function(o){n=a("blogun_content_link_hover_color");var e="";o&&(e+=".content-area a:not(.blogun-btn):not(.wp-block-button__link):hover, .blogun-woo-before-shop select.custom-select-loaded:hover ~ #blogun-orderby, #add_payment_method #payment ul.payment_methods .about_paypal:hover, .woocommerce-cart #payment ul.payment_methods .about_paypal:hover, .woocommerce-checkout #payment ul.payment_methods .about_paypal:hover, .blogun-breadcrumbs a:hover, .woocommerce div.product .woocommerce-product-rating .woocommerce-review-link:hover, .woocommerce ul.products li.product .meta-wrap .woocommerce-loop-product__link:hover, .woocommerce ul.products li.product .blogun-loop-product__category-wrap a:hover { color: "+o+";}"),n.html(e)})}),t("blogun_headings_color",function(o){o.bind(function(o){n=a("blogun_headings_color");var e="";o&&(e="h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .blogun-logo .site-title, .error-404 .page-header h1 { color: "+o+";} :root { --blogun-secondary: "+o+";}"),n.html(e)})}),t("blogun_scroll_top_visibility",function(n){n.bind(function(n){b(o("#blogun-scroll-top"),n)})}),t("blogun_preloader_visibility",function(n){n.bind(function(n){b(o("#blogun-preloader"),n)})}),t("blogun_footer_visibility",function(n){n.bind(function(n){b(o("#blogun-footer"),n)})}),t("blogun_footer_widget_heading_style",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)is-footer-heading-init-s\S+/g)||[]).join(" ")}).addClass("is-footer-heading-init-s"+t.value("blogun_footer_widget_heading_style")())})}),t("blogun_footer_background",function(e){e.bind(function(e){if(o("#colophon").length){n=a("blogun_footer_background");var t=m("#colophon",e,"background");n.html(t)}})}),t("blogun_footer_text_color",function(e){var t,r,l=o("#blogun-footer");e.bind(function(o){l.length&&(n=a("blogun_footer_text_color"),r="",o["text-color"]=o["text-color"]?o["text-color"]:"inherit",o["link-color"]=o["link-color"]?o["link-color"]:"inherit",o["link-hover-color"]=o["link-hover-color"]?o["link-hover-color"]:"inherit",o["widget-title-color"]=o["widget-title-color"]?o["widget-title-color"]:"inherit",r+="#colophon { color: "+o["text-color"]+"; }",r+="#colophon a { color: "+o["link-color"]+"; }",r+="#colophon a:hover, #colophon li.current_page_item > a, #colophon .blogun-social-nav > ul > li > a .blogun-icon.bottom-icon { color: "+o["link-hover-color"]+"; }",r+="#colophon .widget-title, #colophon .wp-block-heading { color: "+o["widget-title-color"]+"; }",r+="#blogun-copyright.contained-separator > .blogun-container:before { background-color: "+(t=function o(n,e="#000000",t="#FFFFFF"){return!function o(n=""){var e,t,r,l;return n.match(/^rgb/)?(e=(n=n.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/))[1],t=n[2],r=n[3]):(e=(n=+("0x"+n.slice(1).replace(5>n.length&&/./g,"$&$&")))>>16,t=n>>8&255,r=255&n),137<(l=(299*e+587*t+114*r)/1e3)}(n)?t:e}(o["text-color"],"rgba(255,255,255,0.1)","rgba(0,0,0,0.1)"))+"; }",r+="#blogun-copyright.fw-separator { border-top-color: "+t+"; }",n.html(r))})}),t("blogun_footer_border",function(e){e.bind(function(e){if(o("#blogun-footer").length){n=a("blogun_footer_border");var t="";e["border-top-width"]&&(t+="#colophon { border-top-width: "+e["border-top-width"]+"px;border-top-style: "+e["border-style"]+";border-top-color: "+e["border-color"]+";}"),e["border-bottom-width"]&&(t+="#colophon { border-bottom-width: "+e["border-bottom-width"]+"px;border-bottom-style: "+e["border-style"]+";border-bottom-color: "+e["border-color"]+";}"),n.html(t)}})}),t("blogun_copyright_layout",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-copyright-layout-\S+/g)||[]).join(" ")}),r.addClass("blogun-copyright-"+o)})}),t("blogun_copyright_separator",function(n){n.bind(function(n){var e=o("#blogun-copyright");e.length&&(e.removeClass("fw-separator contained-separator"),"none"!==n&&e.addClass(n))})}),t("blogun_copyright_visibility",function(n){n.bind(function(n){b(o("#blogun-copyright"),n)})}),t("blogun_copyright_background",function(e){e.bind(function(e){if(o("#blogun-copyright").length){n=a("blogun_copyright_background");var t=m("#blogun-copyright",e,"background");n.html(t)}})}),t("blogun_copyright_text_color",function(e){e.bind(function(e){if(o("#blogun-copyright").length){n=a("blogun_copyright_text_color");var t="";e["text-color"]=e["text-color"]?e["text-color"]:"inherit",e["link-color"]=e["link-color"]?e["link-color"]:"inherit",e["link-hover-color"]=e["link-hover-color"]?e["link-hover-color"]:"inherit",t+="#blogun-copyright { color: "+e["text-color"]+"; }",t+="#blogun-copyright a { color: "+e["link-color"]+"; }",t+="#blogun-copyright a:hover, #blogun-copyright .blogun-social-nav > ul > li > a .blogun-icon.bottom-icon, #blogun-copyright li.current_page_item > a, #blogun-copyright .blogun-nav > ul > li.current-menu-item > a, #blogun-copyright .blogun-nav > ul > li.current-menu-ancestor > a #blogun-copyright .blogun-nav > ul > li:hover > a, #blogun-copyright .blogun-social-nav > ul > li > a .blogun-icon.bottom-icon { color: "+e["link-hover-color"]+"; }",n.html(t)}})}),t("blogun_container_width",function(o){o.bind(function(o){var e;n=a("blogun_container_width"),e=".blogun-container,.alignfull > div { max-width: "+o.value+"px;}",e+=".blogun-layout__boxed #page, .blogun-layout__boxed.blogun-sticky-header.blogun-is-mobile #blogun-header-inner, .blogun-layout__boxed.blogun-sticky-header:not(.blogun-header-layout-3) #blogun-header-inner, .blogun-layout__boxed.blogun-sticky-header:not(.blogun-is-mobile).blogun-header-layout-3 #blogun-header-inner .blogun-nav-container > .blogun-container { max-width: "+(parseInt(o.value)+100)+"px; }",n.html(e)})}),t("blogun_tsp_logo_max_height",function(e){e.bind(function(e){if(o(".blogun-tsp-header .blogun-logo").length){n=a("blogun_tsp_logo_max_height");var t="";t+=h(".blogun-tsp-header .blogun-logo img","max-height",e,!0,"px"),t+=h(".blogun-tsp-header .blogun-logo img.blogun-svg-logo","height",e,!0,"px"),n.html(t)}})}),t("blogun_tsp_logo_margin",function(e){e.bind(function(e){if(o(".blogun-tsp-header .blogun-logo").length){n=a("blogun_tsp_logo_margin");var t=d(".blogun-tsp-header .blogun-logo .logo-inner","margin",e,!0);n.html(t)}})}),t("blogun_tsp_header_background",function(e){e.bind(function(e){if(o(".blogun-tsp-header").length){n=a("blogun_tsp_header_background");var t="";t+=m(".blogun-tsp-header #blogun-header-inner",e,"background"),n.html(t)}})}),t("blogun_tsp_header_font_color",function(e){e.bind(function(e){if(o(".blogun-tsp-header").length){n=a("blogun_tsp_header_font_color");var t="";e["text-color"]=e["text-color"]?e["text-color"]:"inherit",e["link-color"]=e["link-color"]?e["link-color"]:"inherit",e["link-hover-color"]=e["link-hover-color"]?e["link-hover-color"]:"inherit",t+=".blogun-tsp-header .blogun-logo .site-description { color: "+e["text-color"]+"; }",e["link-color"]&&(t+=".blogun-tsp-header #blogun-header, .blogun-tsp-header .blogun-header-widgets a:not(.blogun-btn), .blogun-tsp-header .blogun-logo a,.blogun-tsp-header .blogun-hamburger, .blogun-tsp-header #blogun-header-inner .blogun-nav > ul > li > a { color: "+e["link-color"]+"; }",t+=".blogun-tsp-header .hamburger-inner,.blogun-tsp-header .hamburger-inner::before,.blogun-tsp-header .hamburger-inner::after { background-color: "+e["link-color"]+"; }"),e["link-hover-color"]&&(t+=".blogun-tsp-header .blogun-header-widgets a:not(.blogun-btn):hover, .blogun-tsp-header #blogun-header-inner .blogun-header-widgets .blogun-active,.blogun-tsp-header .blogun-logo .site-title a:hover, .blogun-tsp-header .blogun-hamburger:hover .hamburger-label, .is-mobile-menu-active .blogun-tsp-header .blogun-hamburger .hamburger-label,.blogun-tsp-header.using-keyboard .site-title a:focus,.blogun-tsp-header.using-keyboard .blogun-header-widgets a:not(.blogun-btn):focus,.blogun-tsp-header #blogun-header-inner .blogun-nav > ul > li.hovered > a,.blogun-tsp-header #blogun-header-inner .blogun-nav > ul > li > a:hover,.blogun-tsp-header #blogun-header-inner .blogun-nav > ul > li.menu-item-has-children:hover > a,.blogun-tsp-header #blogun-header-inner .blogun-nav > ul > li.current-menu-item > a,.blogun-tsp-header #blogun-header-inner .blogun-nav > ul > li.current-menu-ancestor > a,.blogun-tsp-header #blogun-header-inner .blogun-nav > ul > li.page_item_has_children:hover > a,.blogun-tsp-header #blogun-header-inner .blogun-nav > ul > li.current_page_item > a,.blogun-tsp-header #blogun-header-inner .blogun-nav > ul > li.current_page_ancestor > a { color: "+e["link-hover-color"]+"; }",t+=".blogun-tsp-header .blogun-hamburger:hover .hamburger-inner,.blogun-tsp-header .blogun-hamburger:hover .hamburger-inner::before,.blogun-tsp-header .blogun-hamburger:hover .hamburger-inner::after,.is-mobile-menu-active .blogun-tsp-header .blogun-hamburger .hamburger-inner,.is-mobile-menu-active .blogun-tsp-header .blogun-hamburger .hamburger-inner::before,.is-mobile-menu-active .blogun-tsp-header .blogun-hamburger .hamburger-inner::after { background-color: "+e["link-hover-color"]+"; }"),n.html(t)}})}),t("blogun_tsp_header_border",function(e){e.bind(function(e){if(o(".blogun-tsp-header").length){n=a("blogun_tsp_header_border");var t="";t+=m(".blogun-tsp-header #blogun-header-inner",e,"border"),e["separator-color"]=e["separator-color"]?e["separator-color"]:"inherit",t+=".blogun-tsp-header .blogun-header-widget:after { background-color: "+e["separator-color"]+"; }",n.html(t)}})}),t("blogun_page_header_alignment",function(o){o.bind(function(o){!r.hasClass("single-post")&&(r.removeClass(function(o,n){return(n.match(/(^|\s)blogun-page-title-align-\S+/g)||[]).join(" ")}),r.addClass("blogun-page-title-align-"+o))})}),t("blogun_page_header_spacing",function(e){e.bind(function(e){if(o(".page-header").length){n=a("blogun_page_header_spacing");var t=d(".blogun-page-title-align-left .page-header.blogun-has-page-title, .blogun-page-title-align-right .page-header.blogun-has-page-title, .blogun-page-title-align-center .page-header .blogun-page-header-wrapper","padding",e,!0);n.html(t)}})}),t("blogun_page_header_background",function(e){e.bind(function(e){if(o(".page-header").length){n=a("blogun_page_header_background");var t="";t+=m(".page-header",e,"background"),t+=m(".blogun-tsp-header:not(.blogun-tsp-absolute) #masthead",e,"background"),n.html(t)}})}),t("blogun_page_header_text_color",function(e){e.bind(function(e){if(o(".page-header").length){n=a("blogun_page_header_text_color");var t="";e["text-color"]=e["text-color"]?e["text-color"]:"inherit",e["link-color"]=e["link-color"]?e["link-color"]:"inherit",e["link-hover-color"]=e["link-hover-color"]?e["link-hover-color"]:"inherit",t+=".page-header .page-title { color: "+e["text-color"]+"; }",t+=".page-header .blogun-page-header-description{ color: "+c(e["text-color"],.75)+"}",t+=".page-header .blogun-breadcrumbs a{ color: "+e["link-color"]+"; }",t+=".page-header .blogun-breadcrumbs span,.page-header .breadcrumb-trail .trail-items li::after, .page-header .blogun-breadcrumbs .separator{ color: "+c(e["link-color"],.75)+"}",n.html(t)}})}),t("blogun_page_header_border",function(e){e.bind(function(e){if(o(".page-header").length){n=a("blogun_page_header_border");var t=m(".page-header",e,"border");n.html(t)}})}),t("blogun_breadcrumbs_alignment",function(n){n.bind(function(n){var e=o("#main > .blogun-breadcrumbs > .blogun-container");e.length&&(e.removeClass(function(o,n){return(n.match(/(^|\s)blogun-text-align\S+/g)||[]).join(" ")}),e.addClass("blogun-text-align-"+n))})}),t("blogun_breadcrumbs_spacing",function(e){e.bind(function(e){if(o(".blogun-breadcrumbs").length){n=a("blogun_breadcrumbs_spacing");var t=d(".blogun-breadcrumbs","padding",e,!0);n.html(t)}})}),t("blogun_breadcrumbs_background",function(e){e.bind(function(e){if(o(".blogun-breadcrumbs").length){n=a("blogun_breadcrumbs_background");var t=m(".blogun-breadcrumbs",e,"background");n.html(t)}})}),t("blogun_breadcrumbs_text_color",function(e){e.bind(function(e){if(o(".blogun-breadcrumbs").length){n=a("blogun_breadcrumbs_text_color");var t=m(".blogun-breadcrumbs",e,"color");n.html(t)}})}),t("blogun_breadcrumbs_border",function(e){e.bind(function(e){if(o(".blogun-breadcrumbs").length){n=a("blogun_breadcrumbs_border");var t=m(".blogun-breadcrumbs",e,"border");n.html(t)}})}),t("blogun_html_base_font_size",function(o){o.bind(function(o){n=a("blogun_html_base_font_size");var e=h("html","font-size",o,!0,"%");n.html(e)})}),t("blogun_font_smoothing",function(o){o.bind(function(o){n=a("blogun_font_smoothing"),o?n.html("*,*::before,*::after {-moz-osx-font-smoothing: grayscale;-webkit-font-smoothing: antialiased;}"):n.html("*,*::before,*::after {-moz-osx-font-smoothing: auto;-webkit-font-smoothing: auto;}"),n=a("blogun_html_base_font_size");var e=h("html","font-size",o,!0,"%");n.html(e)})}),t("blogun_body_font",function(o){o.bind(function(o){n=a("blogun_body_font");var e=u("body",o);s(o["font-family"]),n.html(e)})}),t("blogun_headings_font",function(o){var e,t;o.bind(function(o){t="h1, .h1, .blogun-logo .site-title, .page-header h1.page-title",t+=", h2, .h2, .woocommerce div.product h1.product_title",t+=", h3, .h3, .woocommerce #reviews #comments h2",t+=", h4, .h4, .woocommerce .cart_totals h2, .woocommerce .cross-sells > h4, .woocommerce #reviews #respond .comment-reply-title",t+=", h5, h6, .h5, .h6",e=u(t,o),s(o["font-family"]),(n=a("blogun_headings_font")).html(e)})}),t("blogun_h1_font",function(o){o.bind(function(o){n=a("blogun_h1_font");var e=u("h1, .h1, .blogun-logo .site-title, .page-header h1.page-title",o);s(o["font-family"]),n.html(e)})}),t("blogun_h2_font",function(o){o.bind(function(o){n=a("blogun_h2_font");var e=u("h2, .h2, .woocommerce div.product h1.product_title",o);s(o["font-family"]),n.html(e)})}),t("blogun_h3_font",function(o){o.bind(function(o){n=a("blogun_h3_font");var e=u("h3, .h3, .woocommerce #reviews #comments h2",o);s(o["font-family"]),n.html(e)})}),t("blogun_h4_font",function(o){o.bind(function(o){n=a("blogun_h4_font");var e=u("h4, .h4, .woocommerce .cart_totals h2, .woocommerce .cross-sells > h4, .woocommerce #reviews #respond .comment-reply-title",o);s(o["font-family"]),n.html(e)})}),t("blogun_h5_font",function(o){o.bind(function(o){n=a("blogun_h5_font");var e=u("h5, .h5",o);s(o["font-family"]),n.html(e)})}),t("blogun_h6_font",function(o){o.bind(function(o){n=a("blogun_h6_font");var e=u("h6, .h6",o);s(o["font-family"]),n.html(e)})}),t("blogun_heading_em_font",function(o){o.bind(function(o){n=a("blogun_heading_em_font");var e=u("h1 em, h2 em, h3 em, h4 em, h5 em, h6 em, .h1 em, .h2 em, .h3 em, .h4 em, .h5 em, .h6 em, .blogun-logo .site-title em, .error-404 .page-header h1 em",o);s(o["font-family"]),n.html(e)})}),t("blogun_sidebar_widget_title_font_size",function(e){e.bind(function(e){if(o("#main .widget-title, .widget-area .wp-block-heading").length){n=a("blogun_sidebar_widget_title_font_size");var t="";t+=h("#main .widget-title, .widget-area .wp-block-heading","font-size",e,!0,e.unit),n.html(t)}})}),t("blogun_footer_widget_title_font_size",function(e){e.bind(function(e){if(o("#colophon .widget-title, #colophon .wp-block-heading").length){n=a("blogun_footer_widget_title_font_size");var t="";t+=h("#colophon .widget-title, #colophon .wp-block-heading","font-size",e,!0,e.unit),n.html(t)}})}),t("blogun_page_header_font_size",function(e){e.bind(function(e){if(o(".page-header .page-title").length){n=a("blogun_page_header_font_size");var t="";t+=h("#page .page-header .page-title","font-size",e,!0,e.unit),n.html(t)}})});var f=".blogun-btn, body:not(.wp-customizer) input[type=submit], .site-main .woocommerce #respond input#submit, .site-main .woocommerce a.button, .site-main .woocommerce button.button, .site-main .woocommerce input.button, .woocommerce ul.products li.product .added_to_cart, .woocommerce ul.products li.product .button, .woocommerce div.product form.cart .button, .woocommerce #review_form #respond .form-submit input, #infinite-handle span",p=".blogun-btn:hover, .blogun-btn:focus, body:not(.wp-customizer) input[type=submit]:hover, body:not(.wp-customizer) input[type=submit]:focus, .site-main .woocommerce #respond input#submit:hover, .site-main .woocommerce #respond input#submit:focus, .site-main .woocommerce a.button:hover, .site-main .woocommerce a.button:focus, .site-main .woocommerce button.button:hover, .site-main .woocommerce button.button:focus, .site-main .woocommerce input.button:hover, .site-main .woocommerce input.button:focus, .woocommerce ul.products li.product .added_to_cart:hover, .woocommerce ul.products li.product .added_to_cart:focus, .woocommerce ul.products li.product .button:hover, .woocommerce ul.products li.product .button:focus, .woocommerce div.product form.cart .button:hover, .woocommerce div.product form.cart .button:focus, .woocommerce #review_form #respond .form-submit input:hover, .woocommerce #review_form #respond .form-submit input:focus, #infinite-handle span:hover";t("blogun_primary_button_bg_color",function(o){o.bind(function(o){n=a("blogun_primary_button_bg_color");var e="";o&&(e=f+"{ background-color: "+o+"; }"),n.html(e)})}),t("blogun_primary_button_hover_bg_color",function(o){o.bind(function(o){n=a("blogun_primary_button_hover_bg_color");var e="";o&&(e=p+" { background-color: "+o+"; }"),n.html(e)})}),t("blogun_primary_button_text_color",function(o){o.bind(function(o){n=a("blogun_primary_button_text_color");var e="";o&&(e=f+" { color: "+o+"; }"),n.html(e)})}),t("blogun_primary_button_hover_text_color",function(o){o.bind(function(o){n=a("blogun_primary_button_hover_text_color");var e="";o&&(e=p+" { color: "+o+"; }"),n.html(e)})}),t("blogun_primary_button_border_width",function(o){o.bind(function(o){n=a("blogun_primary_button_border_width");var e="";o&&(e=f+" { border-width: "+o.value+"rem; }"),n.html(e)})}),t("blogun_primary_button_border_radius",function(o){o.bind(function(o){n=a("blogun_primary_button_border_radius");var e="";o&&(e=f+" { border-top-left-radius: "+o["top-left"]+"rem;border-top-right-radius: "+o["top-right"]+"rem;border-bottom-left-radius: "+o["bottom-left"]+"rem;border-bottom-right-radius: "+o["bottom-right"]+"rem; }"),n.html(e)})}),t("blogun_primary_button_border_color",function(o){o.bind(function(o){n=a("blogun_primary_button_border_color");var e="";o&&(e=f+" { border-color: "+o+"; }"),n.html(e)})}),t("blogun_primary_button_hover_border_color",function(o){o.bind(function(o){n=a("blogun_primary_button_hover_border_color");var e="";o&&(e=p+" { border-color: "+o+"; }"),n.html(e)})}),t("blogun_primary_button_typography",function(o){o.bind(function(o){n=a("blogun_primary_button_typography");var e=u(f,o);s(o["font-family"]),n.html(e)})});var v=".btn-secondary, .blogun-btn.btn-secondary",y=".btn-secondary:hover, .btn-secondary:focus, .blogun-btn.btn-secondary:hover, .blogun-btn.btn-secondary:focus";t("blogun_secondary_button_bg_color",function(o){o.bind(function(o){n=a("blogun_secondary_button_bg_color");var e="";o&&(e=v+"{ background-color: "+o+"; }"),n.html(e)})}),t("blogun_secondary_button_hover_bg_color",function(o){o.bind(function(o){n=a("blogun_secondary_button_hover_bg_color");var e="";o&&(e=y+"{ background-color: "+o+"; }"),n.html(e)})}),t("blogun_secondary_button_text_color",function(o){o.bind(function(o){n=a("blogun_secondary_button_text_color");var e="";o&&(e=v+"{ color: "+o+"; }"),n.html(e)})}),t("blogun_secondary_button_hover_text_color",function(o){o.bind(function(o){n=a("blogun_secondary_button_hover_text_color");var e="";o&&(e=y+"{ color: "+o+"; }"),n.html(e)})}),t("blogun_secondary_button_border_width",function(o){o.bind(function(o){n=a("blogun_secondary_button_border_width");var e="";o&&(e=v+" { border-width: "+o.value+"rem; }"),n.html(e)})}),t("blogun_secondary_button_border_radius",function(o){o.bind(function(o){n=a("blogun_secondary_button_border_radius");var e="";o&&(e=v+" { border-top-left-radius: "+o["top-left"]+"rem;border-top-right-radius: "+o["top-right"]+"rem;border-bottom-left-radius: "+o["bottom-left"]+"rem;border-bottom-right-radius: "+o["bottom-right"]+"rem; }"),n.html(e)})}),t("blogun_secondary_button_border_color",function(o){o.bind(function(o){n=a("blogun_secondary_button_border_color");var e="";o&&(e=v+" { border-color: "+o+"; }"),n.html(e)})}),t("blogun_secondary_button_hover_border_color",function(o){o.bind(function(o){n=a("blogun_secondary_button_hover_border_color");var e="";o&&(e=y+" { border-color: "+o+"; }"),n.html(e)})}),t("blogun_secondary_button_typography",function(o){o.bind(function(o){n=a("blogun_secondary_button_typography");var e=u(v,o);s(o["font-family"]),n.html(e)})});var w=".blogun-btn.btn-text-1, .btn-text-1";t("blogun_text_button_text_color",function(o){o.bind(function(o){n=a("blogun_text_button_text_color");var e="";o&&(e=w+"{ color: "+o+"; }"),n.html(e)})}),t("blogun_text_button_hover_text_color",function(o){o.bind(function(o){n=a("blogun_text_button_hover_text_color");var e="";o&&(e=".blogun-btn.btn-text-1:hover, .blogun-btn.btn-text-1:focus, .btn-text-1:hover, .btn-text-1:focus{ color: "+o+"; }",e+=".blogun-btn.btn-text-1 > span::before { background-color: "+o+" }"),n.html(e)})}),t("blogun_text_button_typography",function(o){o.bind(function(o){n=a("blogun_text_button_typography");var e=u(w,o);s(o["font-family"]),n.html(e)})}),t("blogun_section_heading_style",function(o){o.bind(function(o){r.removeClass(function(o,n){return(n.match(/(^|\s)is-section-heading-init-s\S+/g)||[]).join(" ")}).addClass("is-section-heading-init-s"+t.value("blogun_section_heading_style")())})}),t.selectiveRefresh&&t.selectiveRefresh.bind("partial-content-rendered",function(o){("blogun_hero_hover_slider_post_number"===o.partial.id||"blogun_hero_hover_slider_elements"===o.partial.id)&&(document.querySelectorAll(o.partial.params.selector).forEach(o=>{blogunHoverSlider(o)}),t("blogun_hero_hover_slider_height",function(o){o.callbacks.fireWith(o,[o.get()])})),"blogun_preloader_style"===o.partial.id&&(r.removeClass("blogun-loaded"),setTimeout(function(){window.blogun.preloader()},300))}),t.blogunCustomizerPreview={init:function(){var n=this;n.preview.body.on("click",".blogun-set-widget",function(){n.preview.send("set-footer-widget",o(this).data("sidebar-id"))})}};var k=t.Preview;t.Preview=k.extend({initialize:function(o,n){t.blogunCustomizerPreview.preview=this,k.prototype.initialize.call(this,o,n)}}),o(function(){t.blogunCustomizerPreview.init()})}(jQuery);