From 9d4123cee1867ee7199b06bdc92d40611f547ecc Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Wed, 21 Jul 2021 14:54:07 -0500 Subject: Initial unmodified import from Astra (Version: 3.6.5) @ /wp-content/themes/astra/. --- .../js/minified/customizer-controls-toggle.min.js | 1 + assets/js/minified/customizer-controls.min.js | 1 + assets/js/minified/customizer-dependency.min.js | 0 assets/js/minified/customizer-preview.min.js | 1 + assets/js/minified/extend-customizer.min.js | 1 + assets/js/minified/flexibility.min.js | 1 + assets/js/minified/frontend.min.js | 1 + assets/js/minified/mobile-cart.min.js | 1 + assets/js/minified/navigation.min.js | 1 + assets/js/minified/skip-link-focus-fix.min.js | 1 + assets/js/minified/style.min.js | 1 + assets/js/minified/wp-color-picker-alpha.min.js | 1 + assets/js/unminified/customizer-controls-toggle.js | 134 ++ assets/js/unminified/customizer-controls.js | 96 ++ assets/js/unminified/customizer-preview.js | 1587 ++++++++++++++++++++ assets/js/unminified/extend-customizer.js | 349 +++++ assets/js/unminified/flexibility.js | 466 ++++++ assets/js/unminified/frontend.js | 976 ++++++++++++ assets/js/unminified/mobile-cart.js | 152 ++ assets/js/unminified/navigation.js | 595 ++++++++ assets/js/unminified/skip-link-focus-fix.js | 37 + assets/js/unminified/style.js | 595 ++++++++ 22 files changed, 4998 insertions(+) create mode 100644 assets/js/minified/customizer-controls-toggle.min.js create mode 100644 assets/js/minified/customizer-controls.min.js create mode 100644 assets/js/minified/customizer-dependency.min.js create mode 100644 assets/js/minified/customizer-preview.min.js create mode 100644 assets/js/minified/extend-customizer.min.js create mode 100644 assets/js/minified/flexibility.min.js create mode 100644 assets/js/minified/frontend.min.js create mode 100644 assets/js/minified/mobile-cart.min.js create mode 100644 assets/js/minified/navigation.min.js create mode 100644 assets/js/minified/skip-link-focus-fix.min.js create mode 100644 assets/js/minified/style.min.js create mode 100644 assets/js/minified/wp-color-picker-alpha.min.js create mode 100644 assets/js/unminified/customizer-controls-toggle.js create mode 100644 assets/js/unminified/customizer-controls.js create mode 100644 assets/js/unminified/customizer-preview.js create mode 100644 assets/js/unminified/extend-customizer.js create mode 100644 assets/js/unminified/flexibility.js create mode 100644 assets/js/unminified/frontend.js create mode 100644 assets/js/unminified/mobile-cart.js create mode 100644 assets/js/unminified/navigation.js create mode 100644 assets/js/unminified/skip-link-focus-fix.js create mode 100644 assets/js/unminified/style.js (limited to 'assets/js') diff --git a/assets/js/minified/customizer-controls-toggle.min.js b/assets/js/minified/customizer-controls-toggle.min.js new file mode 100644 index 0000000..8925dcd --- /dev/null +++ b/assets/js/minified/customizer-controls-toggle.min.js @@ -0,0 +1 @@ +!function(e){ASTControlTrigger={triggerHook:function(t,s){e("body").trigger("astra-control-trigger."+t,s)},addHook:function(t,s){e("body").on("astra-control-trigger."+t,s)},removeHook:function(t,s){e("body").off("astra-control-trigger."+t,s)}},ASTCustomizerToggles={"astra-settings[display-site-title-responsive]":[],"astra-settings[display-site-tagline-responsive]":[],"astra-settings[ast-header-retina-logo]":[],custom_logo:[],"astra-settings[header-main-rt-section]":[],"astra-settings[hide-custom-menu-mobile]":[],"astra-settings[blog-width]":[],"astra-settings[blog-post-structure]":[],"astra-settings[blog-single-post-structure]":[],"astra-settings[blog-single-width]":[],"astra-settings[blog-single-meta]":[],"astra-settings[footer-sml-layout]":[],"astra-settings[footer-sml-section-1]":[],"astra-settings[footer-sml-section-2]":[],"astra-settings[footer-sml-divider]":[],"astra-settings[header-main-sep]":[],"astra-settings[disable-primary-nav]":[],"astra-settings[footer-adv]":[],"astra-settings[shop-archive-width]":[],"astra-settings[mobile-header-logo]":[],"astra-settings[different-mobile-logo]":[]}}(jQuery); \ No newline at end of file diff --git a/assets/js/minified/customizer-controls.min.js b/assets/js/minified/customizer-controls.min.js new file mode 100644 index 0000000..2dd09df --- /dev/null +++ b/assets/js/minified/customizer-controls.min.js @@ -0,0 +1 @@ +!function(c){var e=wp.customize;ASTCustomizer={controls:{},init:function(){ASTCustomizer._initToggles()},_initToggles:function(){ASTControlTrigger.triggerHook("astra-toggle-control",e),c.each(ASTCustomizerToggles,function(t,n){e(t,function(i){c.each(n,function(t,o){c.each(o.controls,function(t,n){e.control(n,function(n){function t(t){n.container.toggle(o.callback(t))}t(i.get()),i.bind(t)})})})})})}},c(function(){ASTCustomizer.init()})}(jQuery),function(t){t.sectionConstructor["astra-pro"]=t.Section.extend({attachEvents:function(){},isContextuallyActive:function(){return!0}})}(wp.customize); \ No newline at end of file diff --git a/assets/js/minified/customizer-dependency.min.js b/assets/js/minified/customizer-dependency.min.js new file mode 100644 index 0000000..e69de29 diff --git a/assets/js/minified/customizer-preview.min.js b/assets/js/minified/customizer-preview.min.js new file mode 100644 index 0000000..5358a11 --- /dev/null +++ b/assets/js/minified/customizer-preview.min.js @@ -0,0 +1 @@ +function astra_font_size_rem(t,e,o){var s="";return""!=t&&(o=null!=typeof o?o:"desktop",s="font-size: "+t+"px;",e&&((e=wp.customize("astra-settings[font-size-body]").get()).desktop=""!=e.desktop?e.desktop:15,e.tablet=""!=e.tablet?e.tablet:e.desktop,e.mobile=""!=e.mobile?e.mobile:e.tablet,s+="font-size: "+t/e[o]+"rem;")),s}function astra_color_responsive_css(n,a,r,i){wp.customize(a,function(t){t.bind(function(t){var e,o,s;t.desktop||t.mobile||t.tablet?(a=(a=a.replace("[","-")).replace("]",""),jQuery("style#"+a+"-"+n).remove(),(s=o=e="")!=t.desktop&&(e=r+": "+t.desktop),""!=t.tablet&&(o=r+": "+t.tablet),""!=t.mobile&&(s=r+": "+t.mobile),jQuery("head").append('")):jQuery("style#"+a+"-"+n).remove()})})}function astra_responsive_font_size(a,r){wp.customize(a,function(t){t.bind(function(t){var e,o,s,n;t.desktop||t.mobile||t.tablet?(a=(a=a.replace("[","-")).replace("]",""),s=o=e="",n="font-size",jQuery("style#"+a+"-"+n).remove(),""!=t.desktop&&(e="font-size: "+t.desktop+t["desktop-unit"]),""!=t.tablet&&(o="font-size: "+t.tablet+t["tablet-unit"]),""!=t.mobile&&(s="font-size: "+t.mobile+t["mobile-unit"]),"px"==t["desktop-unit"]&&(e=astra_font_size_rem(t.desktop,!0,"desktop")),jQuery("head").append('")):jQuery("style#"+a+"-font-size").remove()})})}function astra_responsive_spacing(i,u,c,l){wp.customize(i,function(t){t.bind(function(o){var s,n,a,t,e="",r="padding";o.desktop.top||o.desktop.right||o.desktop.bottom||o.desktop.left||o.tablet.top||o.tablet.right||o.tablet.bottom||o.tablet.left||o.mobile.top||o.mobile.right||o.mobile.bottom||o.mobile.left?(null!=typeof l&&(e=(e=l+"").replace(/,/g,"-")),null!=typeof c&&(r=c+""),i=(i=i.replace("[","-")).replace("]",""),jQuery("style#"+i+"-"+r+"-"+e).remove(),a=n=s="",t=null!=typeof l?l:["top","bottom","right","left"],jQuery.each(t,function(t,e){""!=o.desktop[e]&&(s+=r+"-"+e+": "+o.desktop[e]+o["desktop-unit"]+";")}),jQuery.each(t,function(t,e){""!=o.tablet[e]&&(n+=r+"-"+e+": "+o.tablet[e]+o["tablet-unit"]+";")}),jQuery.each(t,function(t,e){""!=o.mobile[e]&&(a+=r+"-"+e+": "+o.mobile[e]+o["mobile-unit"]+";")}),jQuery("head").append('")):(wp.customize.preview.send("refresh"),jQuery("style#"+i+"-"+r+"-"+e).remove())})})}function astra_css_font_size(o,s){wp.customize(o,function(t){t.bind(function(t){var e;t?(o=(o=o.replace("[","-")).replace("]",""),jQuery("style#"+o).remove(),e="font-size: "+t,(!isNaN(t)||0<=t.indexOf("px"))&&(e=astra_font_size_rem(t=t.replace("px",""),!0)),jQuery("head").append('")):jQuery("style#"+o).remove()})})}function get_hexdec(t){t=t.toString(16);return parseInt(t,16)}function astra_css(e,o,s,n){wp.customize(e,function(t){t.bind(function(t){e=(e=e.replace("[","-")).replace("]",""),t||0===t?(void 0!==n&&("url"===n?t="url("+t+")":t+=n),jQuery("style#"+e+"-"+o).remove(),jQuery("head").append('"),"unset"===t&&jQuery("style#"+e+"-"+o).remove()):jQuery("style#"+e+"-"+o).remove()})})}function astra_add_dynamic_css(t,e){t=(t=t.replace("[","-")).replace("]",""),jQuery("style#"+t).remove(),jQuery("head").append('")}function astra_background_obj_css(t,e,o,s){var n="",a=e["background-image"],r=e["background-color"];""===r&&""===a?jQuery("style#"+o).remove():(void 0!==e["background-type"]&&""!==e["background-type"]&&("color"===e["background-type"]?""!==a&&""!==r&&void 0!==r&&"unset"!==r?n="background-image: linear-gradient(to right, "+r+", "+r+"), url("+a+");":void 0!==a&&""!==a&&"unset"!==a||(n="background-color: "+r+";"):"image"===e["background-type"]?(""===a||""===r||void 0===r||"unset"===r||r.includes("linear-gradient")||r.includes("radial-gradient")||(n="background-image: linear-gradient(to right, "+r+", "+r+"), url("+a+");"),(void 0===r||""===r||"unset"===r||r.includes("linear-gradient")||r.includes("radial-gradient"))&&""!==a&&(n="background-image: url("+a+");")):"gradient"===e["background-type"]&&""!==r&&"unset"!==r&&(n="background-image: "+r+";")),""!==a&&(n+="background-repeat: "+e["background-repeat"]+";",n+="background-position: "+e["background-position"]+";",n+="background-size: "+e["background-size"]+";",n+="background-attachment: "+e["background-attachment"]+";"),astra_add_dynamic_css(o,s.replace("{{css}}",n)))}function astra_generate_outside_font_family_css(a,r){wp.customize(a,function(t){t.bind(function(t,e){var o="font-family",s="",n=t.split(",")[0];n=n.replace(/'/g,""),a=(a=a.replace("[","-")).replace("]",""),jQuery("style#"+a+"-"+o).remove(),n in astraCustomizer.googleFonts&&(n=n.split(" ").join("+"),jQuery("link#"+a).remove(),s=''),jQuery("head").append('"+s)})})}function astra_generate_font_weight_css(s,n,a,r){wp.customize(n,function(t){t.bind(function(t){n=(n=n.replace("[","-")).replace("]","");var e,o="";t?("undefined"!=typeof unit&&("url"===unit?t="url("+t+")":t+=unit),e=(e=(e=wp.customize._value[s]._value).split(","))[0].replace(/'/g,""),jQuery("style#"+n+"-"+a).remove(),e in astraCustomizer.googleFonts&&(jQuery("#"+s).remove(),o="inherit"===t?'':''),jQuery("head").append('"+o)):jQuery("style#"+n).remove()})})}function astra_apply_responsive_background_css(c,l,d,t,m){wp.customize(c,function(t){t.bind(function(t){var e,o,s,n,a,r,i,u;m=(m=m||"")||"header",c=(c=c.replace("[","-")).replace("]",""),""!==t[d]&&void 0!==t[d]&&(e="",o=t[d]["background-image"],s=t.tablet["background-image"],n=t.desktop["background-image"],a=t[d]["background-color"],r=!!t.tablet["background-image"],i=!!t.desktop["background-image"],void 0!==t[d]["background-type"]&&""!==t[d]["background-type"]&&("color"===t[d]["background-type"]?""!==o&&""!==a&&void 0!==a&&"unset"!==a?e="background-image: linear-gradient(to right, "+a+", "+a+"), url("+o+");":"mobile"===d?i?e="background-image: linear-gradient(to right, "+a+", "+a+"), url("+n+");":r?e="background-image: linear-gradient(to right, "+a+", "+a+"), url("+s+");":(e="background-color: "+a+";",e+="background-image: none;"):"tablet"===d?i?e="background-image: linear-gradient(to right, "+a+", "+a+"), url("+n+");":(e="background-color: "+a+";",e+="background-image: none;"):void 0!==o&&""!==o||(e="background-color: "+a+";",e+="background-image: none;"):"image"===t[d]["background-type"]?(""===o||""===a||void 0===a||"unset"===a||a.includes("linear-gradient")||a.includes("radial-gradient")||(e="background-image: linear-gradient(to right, "+a+", "+a+"), url("+o+");"),(void 0===a||""===a||"unset"===a||a.includes("linear-gradient")||a.includes("radial-gradient"))&&""!==o&&(e="background-image: url("+o+");")):"gradient"===t[d]["background-type"]&&""!==a&&"unset"!==a&&(e="background-image: "+a+";")),""!==o&&(e+="background-repeat: "+t[d]["background-repeat"]+";",e+="background-position: "+t[d]["background-position"]+";",e+="background-size: "+t[d]["background-size"]+";",e+="background-attachment: "+t[d]["background-attachment"]+";"),jQuery("style#"+c+"-"+d+"-"+m).remove(),"desktop"==d&&(u='"),"tablet"==d&&(u='"),"mobile"==d&&(u='"),jQuery("head").append(u))})})}function getChangedKey(t,e){t=isJsonString(t)?JSON.parse(t):t,e=isJsonString(e)?JSON.parse(e):e;for(var o in t){if(!e.hasOwnProperty(o)||!t.hasOwnProperty(o))return o;if(!1===function(t,e){var o=Object.prototype.toString.call(t);if(0<=["[object Array]","[object Object]"].indexOf(o)){if("string"==typeof getChangedKey(t,e))return!1}else{if(o!==Object.prototype.toString.call(e))return!1;if("[object Function]"===o){if(t.toString()!==e.toString())return!1}else if(t!==e)return!1}}(t[o],e[o]))return o}return!0}function isJsonString(t){try{JSON.parse(t)}catch(t){return!1}return!0}function hasWordPressWidgetBlockEditor(){return astraCustomizer.has_block_editor_support||!1}!function(a){wp.customize("astra-settings[ast-header-responsive-logo-width]",function(t){t.bind(function(t){""!=t.desktop||""!=t.tablet||""!=t.mobile?(astra_add_dynamic_css("ast-header-responsive-logo-width","#masthead .site-logo-img .custom-logo-link img { max-width: "+t.desktop+"px; } @media( max-width: 768px ) { #masthead .site-logo-img .custom-logo-link img { max-width: "+t.tablet+"px; } #masthead .site-logo-img img { max-height: "+t.tablet+"px; } } @media( max-width: 544px ) { .ast-header-break-point .site-branding img, .ast-header-break-point #masthead .site-logo-img .custom-logo-link img { max-width: "+t.mobile+"px; }#masthead .site-logo-img img { max-height: "+t.mobile+"px; } .astra-logo-svg{width: "+t.mobile+"px !important; } }"),astra_add_dynamic_css("mobile-header-logo-width",".ast-header-break-point #masthead .site-logo-img .custom-mobile-logo-link img { max-width: "+t.tablet+"px; } @media( max-width: 768px ) { .ast-header-break-point #masthead .site-logo-img .custom-mobile-logo-link img { max-width: "+t.tablet+"px; } @media( max-width: 544px ) { .ast-header-break-point #masthead .site-logo-img .custom-mobile-logo-link img { max-width: "+t.mobile+"px; }")):wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[display-site-title-responsive]",function(t){t.bind(function(t){var e=t.desktop?"block":"none",o=t.tablet?"block":"none",t=t.mobile?"block":"none";astra_add_dynamic_css("display-site-title-responsive",".ast-site-title-wrap .site-title { display: "+e+";} @media( max-width: "+(astraBuilderPreview.tablet_break_point||768)+"px) { .ast-site-title-wrap .site-title { display: "+o+";} } @media( max-width: "+(astraBuilderPreview.mobile_break_point||544)+"px) { .ast-site-title-wrap .site-title { display: "+t+";} }")})}),wp.customize("astra-settings[display-site-tagline-responsive]",function(t){t.bind(function(t){var e=t.desktop?"block":"none",o=t.tablet?"block":"none",t=t.mobile?"block":"none";astra_add_dynamic_css("display-site-tagline-responsive",".ast-site-title-wrap .site-description { display: "+e+";} @media( max-width: "+(astraBuilderPreview.tablet_break_point||768)+"px) { .ast-site-title-wrap .site-description { display: "+o+";} } @media( max-width: "+(astraBuilderPreview.mobile_break_point||544)+"px) { .ast-site-title-wrap .site-description { display: "+t+";} }")})}),wp.customize("astra-settings[site-content-width]",function(t){t.bind(function(t){var e="@media (min-width: 554px) {";e+=".ast-container, .fl-builder #content .entry-header { max-width: "+(40+parseInt(t))+"px } ",e+="}",jQuery("body").hasClass("ast-page-builder-template")&&(e+="@media (min-width: 554px) {",e+=".ast-page-builder-template .comments-area { max-width: "+(40+parseInt(t))+"px } ",e+="}"),astra_add_dynamic_css("site-content-width",e)})}),wp.customize("astra-settings[header-main-menu-label]",function(t){t.bind(function(t){var e;0'+t+" "),a("button.main-header-menu-toggle").html(e))})}),astra_apply_responsive_background_css("astra-settings[site-layout-outside-bg-obj-responsive]","body, .ast-separate-container","desktop"),astra_apply_responsive_background_css("astra-settings[site-layout-outside-bg-obj-responsive]","body, .ast-separate-container","tablet"),astra_apply_responsive_background_css("astra-settings[site-layout-outside-bg-obj-responsive]","body, .ast-separate-container","mobile"),wp.customize("astra-settings[blog-max-width]",function(t){t.bind(function(t){var e="@media all and ( min-width: 921px ) {";jQuery("body").hasClass("ast-woo-shop-archive")||(e+=".blog .site-content > .ast-container,.archive .site-content > .ast-container{ max-width: "+parseInt(t)+"px } "),jQuery("body").hasClass("ast-fluid-width-layout")&&(e+=".blog .site-content > .ast-container,.archive .site-content > .ast-container{ padding-left:20px; padding-right:20px; } "),astra_add_dynamic_css("blog-max-width",e+="}")})}),wp.customize("astra-settings[blog-single-max-width]",function(t){t.bind(function(t){var e="@media all and ( min-width: 921px ) {";e+=".single-post .site-content > .ast-container{ max-width: "+(40+parseInt(t))+"px } ",jQuery("body").hasClass("ast-fluid-width-layout")&&(e+=".single-post .site-content > .ast-container{ padding-left:20px; padding-right:20px; } "),astra_add_dynamic_css("blog-single-max-width",e+="}")})}),wp.customize("astra-settings[edd-archive-max-width]",function(t){t.bind(function(t){astra_add_dynamic_css("edd-archive-max-width",".ast-edd-archive-page .site-content > .ast-container { max-width: "+parseInt(t)+"px } ")})}),wp.customize("astra-settings[site-sidebar-width]",function(t){t.bind(function(t){var e;!jQuery("body").hasClass("ast-no-sidebar")&&15<=t&&t<=50&&(e="@media (min-width: 769px) {",e+="#primary { width: "+(100-parseInt(t))+"% } ",e+="#secondary { width: "+t+"% } ",astra_add_dynamic_css("site-sidebar-width",e+="}"))})}),wp.customize("astra-settings[header-main-sep]",function(t){t.bind(function(t){var e="body.ast-header-break-point .main-header-bar { border-bottom-width: "+t+"px }";e+=".ast-desktop .main-header-bar {",e+="border-bottom-width: "+t+"px",astra_add_dynamic_css("header-main-sep",e+="}")})}),wp.customize("astra-settings[footer-sml-divider]",function(t){t.bind(function(t){jQuery(".ast-small-footer").css("border-top-width",t+"px")})}),wp.customize("astra-settings[footer-adv-border-width]",function(t){t.bind(function(t){jQuery(".footer-adv .footer-adv-overlay").css("border-top-width",t+"px")})}),wp.customize("astra-settings[footer-adv-border-color]",function(t){t.bind(function(t){jQuery(".footer-adv .footer-adv-overlay").css("border-top-color",t)})}),wp.customize("astra-settings[footer-sml-divider-color]",function(t){t.bind(function(t){jQuery(".ast-small-footer").css("border-top-color",t)})}),wp.customize("astra-settings[button-radius]",function(t){t.bind(function(t){var e='.menu-toggle, button, .ast-button, .ast-custom-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"]'+(hasWordPressWidgetBlockEditor()?', form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button':"")+"{ border-radius: "+parseInt(t)+"px } ";jQuery("body").hasClass("woocommerce")&&(e+=".woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled] { border-radius: "+parseInt(t)+"px } "),astra_add_dynamic_css("button-radius",e)})}),wp.customize("astra-settings[header-main-sep]",function(t){t.bind(function(t){var e=" body.ast-header-break-point .main-header-bar { border-bottom-width: "+t+"px } ";e+=".ast-desktop .main-header-bar {",e+="border-bottom-width: "+t+"px",astra_add_dynamic_css("header-main-sep",e+="}")})}),wp.customize("astra-settings[header-main-sep-color]",function(t){t.bind(function(t){var e;""==t&&wp.customize.preview.send("refresh"),t&&(e=" .ast-desktop .main-header-bar { border-bottom-color: "+t+"; } ",astra_add_dynamic_css("header-main-sep-color",e+=" body.ast-header-break-point .main-header-bar { border-bottom-color: "+t+"; } "))})}),wp.customize("astra-settings[mobile-header-toggle-btn-style-color]",function(t){t.bind(function(t){""!=t?astra_add_dynamic_css("primary-toggle-button-color",jQuery(".menu-toggle").hasClass("ast-mobile-menu-buttons-fill")?".ast-header-break-point .ast-mobile-menu-buttons-fill.menu-toggle { background: "+t+"}":jQuery(".menu-toggle").hasClass("ast-mobile-menu-buttons-outline")?".ast-header-break-point .ast-mobile-menu-buttons-outline.menu-toggle { border: 1px solid "+t+"; color: "+t+"}":".ast-header-break-point .ast-mobile-menu-buttons-minimal.menu-toggle { color: "+t+"}"):wp.customize.preview.send("refresh")})}),astra_responsive_font_size("astra-settings[font-size-site-tagline]",".site-header .site-description"),astra_responsive_font_size("astra-settings[font-size-site-title]",".site-title"),astra_responsive_font_size("astra-settings[font-size-entry-title]",".ast-single-post .entry-title, .page-title"),astra_responsive_font_size("astra-settings[font-size-archive-summary-title]",".ast-archive-description .ast-archive-title"),astra_responsive_font_size("astra-settings[font-size-page-title]","body:not(.ast-single-post) .entry-title"),1==astraCustomizer.includeAnchorsInHeadindsCss?(astra_responsive_font_size("astra-settings[font-size-h1]","h1, .entry-content h1, .entry-content h1 a"),astra_responsive_font_size("astra-settings[font-size-h2]","h2, .entry-content h2, .entry-content h2 a"),astra_responsive_font_size("astra-settings[font-size-h3]","h3, .entry-content h3, .entry-content h3 a"),astra_responsive_font_size("astra-settings[font-size-h4]","h4, .entry-content h4, .entry-content h4 a"),astra_responsive_font_size("astra-settings[font-size-h5]","h5, .entry-content h5, .entry-content h5 a"),astra_responsive_font_size("astra-settings[font-size-h6]","h6, .entry-content h6, .entry-content h6 a")):(astra_responsive_font_size("astra-settings[font-size-h1]","h1, .entry-content h1"),astra_responsive_font_size("astra-settings[font-size-h2]","h2, .entry-content h2"),astra_responsive_font_size("astra-settings[font-size-h3]","h3, .entry-content h3"),astra_responsive_font_size("astra-settings[font-size-h4]","h4, .entry-content h4"),astra_responsive_font_size("astra-settings[font-size-h5]","h5, .entry-content h5"),astra_responsive_font_size("astra-settings[font-size-h6]","h6, .entry-content h6")),wp.customize("astra-settings[para-margin-bottom]",function(t){t.bind(function(t){""==t&&wp.customize.preview.send("refresh"),t&&astra_add_dynamic_css("para-margin-bottom"," p, .entry-content p { margin-bottom: "+t+"em; } ")})}),wp.customize("astra-settings[underline-content-links]",function(t){t.bind(function(t){astra_add_dynamic_css("underline-content-links",t?".ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) { text-decoration: underline; } ":".ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) { text-decoration: unset; } ")})}),astraCustomizer.page_builder_button_style_css?1==astraCustomizer.includeAnchorsInHeadindsCss?("color-typo"!=astraCustomizer.elementor_default_color_font_setting&&"typo"!=astraCustomizer.elementor_default_color_font_setting||astra_css("astra-settings[headings-line-height]","line-height",".elementor-widget-heading h1.elementor-heading-title, .elementor-widget-heading h2.elementor-heading-title, .elementor-widget-heading h3.elementor-heading-title, .elementor-widget-heading h4.elementor-heading-title, .elementor-widget-heading h5.elementor-heading-title, .elementor-widget-heading h6.elementor-heading-title"),astra_css("astra-settings[headings-line-height]","line-height","h1, .entry-content h1, .entry-content h1 a, h2, .entry-content h2, .entry-content h2 a, h3, .entry-content h3, .entry-content h3 a, h4, .entry-content h4, .entry-content h4 a, h5, .entry-content h5, .entry-content h5 a, h6, .entry-content h6, .entry-content h6 a, .site-title, .site-title a")):("color-typo"!=astraCustomizer.elementor_default_color_font_setting&&"typo"!=astraCustomizer.elementor_default_color_font_setting||astra_css("astra-settings[headings-line-height]","line-height",".elementor-widget-heading h1.elementor-heading-title, .elementor-widget-heading h2.elementor-heading-title, .elementor-widget-heading h3.elementor-heading-title, .elementor-widget-heading h4.elementor-heading-title, .elementor-widget-heading h5.elementor-heading-title, .elementor-widget-heading h6.elementor-heading-title"),astra_css("astra-settings[headings-line-height]","line-height","h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6, .site-title, .site-title a")):1==astraCustomizer.includeAnchorsInHeadindsCss?astra_css("astra-settings[headings-line-height]","line-height","h1, .entry-content h1, .entry-content h1 a, h2, .entry-content h2, .entry-content h2 a, h3, .entry-content h3, .entry-content h3 a, h4, .entry-content h4, .entry-content h4 a, h5, .entry-content h5, .entry-content h5 a, h6, .entry-content h6, .entry-content h6 a, .site-title, .site-title a"):astra_css("astra-settings[headings-line-height]","line-height","h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6, .site-title, .site-title a"),1==astraCustomizer.includeAnchorsInHeadindsCss?(astra_generate_outside_font_family_css("astra-settings[headings-font-family]","h1, .entry-content h1, .entry-content h1 a, h2, .entry-content h2, .entry-content h2 a, h3, .entry-content h3, .entry-content h3 a, h4, .entry-content h4, .entry-content h4 a, h5, .entry-content h5, .entry-content h5 a, h6, .entry-content h6, .entry-content h6 a, .site-title, .site-title a"),astra_generate_font_weight_css("astra-settings[headings-font-family]","astra-settings[headings-font-weight]","font-weight","h1, .entry-content h1, .entry-content h1 a, h2, .entry-content h2, .entry-content h2 a, h3, .entry-content h3, .entry-content h3 a, h4, .entry-content h4, .entry-content h4 a, h5, .entry-content h5, .entry-content h5 a, h6, .entry-content h6, .entry-content h6 a, .site-title, .site-title a"),astra_css("astra-settings[headings-text-transform]","text-transform","h1, .entry-content h1, .entry-content h1 a, h2, .entry-content h2, .entry-content h2 a, h3, .entry-content h3, .entry-content h3 a, h4, .entry-content h4, .entry-content h4 a, h5, .entry-content h5, .entry-content h5 a, h6, .entry-content h6, .entry-content h6 a, .site-title, .site-title a")):(astra_generate_outside_font_family_css("astra-settings[headings-font-family]","h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6, .site-title, .site-title a"),astra_generate_font_weight_css("astra-settings[headings-font-family]","astra-settings[headings-font-weight]","font-weight","h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6, .site-title, .site-title a"),astra_css("astra-settings[headings-text-transform]","text-transform","h1, .entry-content h1, h2, .entry-content h2, h3, .entry-content h3, h4, .entry-content h4, h5, .entry-content h5, h6, .entry-content h6, .site-title, .site-title a")),astra_css("astra-settings[footer-color]","color",".ast-small-footer"),astra_css("astra-settings[footer-link-color]","color",".ast-small-footer a"),astra_css("astra-settings[footer-link-h-color]","color",".ast-small-footer a:hover"),wp.customize("astra-settings[footer-bg-obj]",function(t){t.bind(function(t){astra_background_obj_css(wp.customize,t,"footer-bg-obj"," .ast-small-footer > .ast-footer-overlay { {{css}} }")})}),astra_css("astra-settings[footer-adv-wgt-title-color]","color",".footer-adv .widget-title, .footer-adv .widget-title a"),astra_css("astra-settings[footer-adv-text-color]","color",".footer-adv"),astra_css("astra-settings[footer-adv-link-color]","color",".footer-adv a"),astra_css("astra-settings[footer-adv-link-h-color]","color",".footer-adv a:hover, .footer-adv .no-widget-text a:hover, .footer-adv a:focus, .footer-adv .no-widget-text a:focus"),wp.customize("astra-settings[footer-adv-bg-obj]",function(t){t.bind(function(t){astra_background_obj_css(wp.customize,t,"footer-adv-bg-obj"," .footer-adv-overlay { {{css}} }")})}),wp.customize("astra-settings[shop-archive-max-width]",function(t){t.bind(function(t){var e="@media all and ( min-width: 921px ) {";e+=".ast-woo-shop-archive .site-content > .ast-container{ max-width: "+parseInt(t)+"px } ",jQuery("body").hasClass("ast-fluid-width-layout")&&(e+=".ast-woo-shop-archive .site-content > .ast-container{ padding-left:20px; padding-right:20px; } "),astra_add_dynamic_css("shop-archive-max-width",e+="}")})}),wp.customize("astra-settings[mobile-header-toggle-btn-style]",function(t){t.bind(function(t){astra_add_dynamic_css("mobile-header-toggle-btn-style",""===wp.customize("astra-settings[mobile-header-toggle-btn-color]").get()&&"fill"===t?n=' [data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg { fill: #ffffff; } ':"");var e=a(document).find(".ast-mobile-menu-buttons .menu-toggle");e.removeClass("ast-mobile-menu-buttons-default ast-mobile-menu-buttons-fill ast-mobile-menu-buttons-outline"),e.removeClass("ast-mobile-menu-buttons-default ast-mobile-menu-buttons-fill ast-mobile-menu-buttons-minimal"),e.addClass("ast-mobile-menu-buttons-"+t);var o=wp.customize("astra-settings[theme-color]").get(),s="#ffffff",e=wp.customize("astra-settings[mobile-header-toggle-btn-color]").get(),s=s="fill"!==t?o:s,n='[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {';n+="fill: "+(s=""!==e&&null!=e?e:s)+";",n+="}",n+='[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-wrap .mobile-menu {',n+="color: "+s+";",n+="}",n+='[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-fill, [data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal {',n+="color: "+s+";",n+="border: none;",n+="}",n+='[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-outline {',n+="color: "+s+";",astra_add_dynamic_css("mobile-header-toggle-btn-style",n+="}")})}),wp.customize("astra-settings[mobile-header-toggle-btn-border-radius]",function(t){t.bind(function(t){astra_add_dynamic_css("mobile-header-toggle-btn-border-radius",".ast-header-break-point .main-header-bar .ast-button-wrap .menu-toggle { border-radius: "+parseInt(t)+"px } ")})}),wp.customize("astra-settings[primary-submenu-border]",function(t){t.bind(function(t){var e,o=wp.customize("astra-settings[primary-submenu-b-color]").get();""!=t.top||""!=t.right||""!=t.bottom||""!=t.left?(e=".ast-desktop .main-header-menu.submenu-with-border .sub-menu",e+="{",e+="border-top-width:"+t.top+"px;",e+="border-right-width:"+t.right+"px;",e+="border-left-width:"+t.left+"px;",e+="border-bottom-width:"+t.bottom+"px;",e+="border-color:"+o+";",e+="border-style: solid;",e+="}",e+=".ast-desktop .main-header-menu.submenu-with-border .sub-menu .sub-menu",e+="{",e+="top:-"+t.top+"px;",e+="}",e+="@media (min-width: 769px){",e+=".main-header-menu .sub-menu .menu-item.ast-left-align-sub-menu:hover > .sub-menu, .main-header-menu .sub-menu .menu-item.ast-left-align-sub-menu.focus > .sub-menu",e+="{",e+="margin-left:-"+(+t.left+ +t.right)+"px;",e+="}",astra_add_dynamic_css("primary-submenu-border",e+="}")):wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[primary-submenu-b-color]",function(t){t.bind(function(t){var e,o=wp.customize("astra-settings[primary-submenu-border]").get();""!=t?""==o.top&&""==o.right&&""==o.bottom&&""==o.left||(e=".ast-desktop .main-header-menu.submenu-with-border .sub-menu",e+="{",e+="border-top-width:"+o.top+"px;",e+="border-right-width:"+o.right+"px;",e+="border-left-width:"+o.left+"px;",e+="border-bottom-width:"+o.bottom+"px;",e+="border-color:"+t+";",e+="border-style: solid;",e+="}",e+=".ast-desktop .main-header-menu.submenu-with-border .sub-menu .sub-menu",e+="{",e+="top:-"+o.top+"px;",e+="}",e+="@media (min-width: 769px){",e+=".main-header-menu .sub-menu .menu-item.ast-left-align-sub-menu:hover > .sub-menu, .main-header-menu .sub-menu .menu-item.ast-left-align-sub-menu.focus > .sub-menu",e+="{",e+="margin-left:-"+(+o.left+ +o.right)+"px;",e+="}",astra_add_dynamic_css("primary-submenu-border-color",e+="}")):wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[primary-submenu-item-b-color]",function(t){t.bind(function(t){var e,o=wp.customize("astra-settings[primary-submenu-item-border]").get();""!=t?1==o&&(e="",e+=".ast-desktop .main-header-menu.submenu-with-border .sub-menu .menu-link",e+="{",e+="border-bottom-width:"+(!0===o?"1px;":"0px;"),e+="border-color:"+t+";",e+="border-style: solid;",astra_add_dynamic_css("primary-submenu-item-b-color",e+="}")):wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[primary-submenu-item-border]",function(t){t.bind(function(t){var e,o=wp.customize("astra-settings[primary-submenu-item-b-color]").get();!0===t?(e=".ast-desktop .main-header-menu.submenu-with-border .sub-menu .menu-link",e+="{",e+="border-bottom-width:"+(!0===t?"1px;":"0px;"),e+="border-color:"+o+";",e+="border-style: solid;",astra_add_dynamic_css("primary-submenu-item-border",e+="}")):wp.customize.preview.send("refresh")})}),astra_css("astra-settings[header-main-rt-section-button-text-color]","color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button"),astra_css("astra-settings[header-main-rt-section-button-back-color]","background-color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button"),astra_css("astra-settings[header-main-rt-section-button-text-h-color]","color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button:hover"),astra_css("astra-settings[header-main-rt-section-button-back-h-color]","background-color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button:hover"),astra_css("astra-settings[header-main-rt-section-button-border-radius]","border-radius",".main-header-bar .ast-container .button-custom-menu-item .ast-custom-button-link .ast-custom-button","px"),astra_css("astra-settings[header-main-rt-section-button-border-color]","border-color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button"),astra_css("astra-settings[header-main-rt-section-button-border-h-color]","border-color",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button:hover"),astra_responsive_spacing("astra-settings[header-main-rt-section-button-padding]",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button","padding",["top","right","bottom","left"]),astra_generate_outside_font_family_css("astra-settings[primary-header-button-font-family]",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button, .ast-theme-transparent-header .main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button"),astra_responsive_font_size("astra-settings[primary-header-button-font-size]",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button, .ast-theme-transparent-header .main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button"),astra_css("astra-settings[primary-header-button-font-weight]","font-weight",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button, .ast-theme-transparent-header .main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button"),astra_css("astra-settings[primary-header-button-line-height]","line-height",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button, .ast-theme-transparent-header .main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button"),astra_css("astra-settings[primary-header-button-text-transform]","text-transform",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button, .ast-theme-transparent-header .main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button"),astra_css("astra-settings[primary-header-button-letter-spacing]","letter-spacing",".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button, .ast-theme-transparent-header .main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button","px"),wp.customize("astra-settings[header-main-rt-section-button-border-size]",function(t){t.bind(function(t){var e;""==t.top&&""==t.right&&""==t.bottom&&""==t.left||(e=".main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button",e+="{",e+="border-top-width:"+t.top+"px;",e+="border-right-width:"+t.right+"px;",e+="border-left-width:"+t.left+"px;",e+="border-bottom-width:"+t.bottom+"px;",e+="border-style: solid;",astra_add_dynamic_css("header-main-rt-section-button-border-size",e+="}"))})});var t="",o="",e="";astraCustomizer.page_builder_button_style_css&&("color-typo"!=astraCustomizer.elementor_default_color_font_setting&&"color"!=astraCustomizer.elementor_default_color_font_setting&&"font"!=astraCustomizer.elementor_default_color_font_setting||(o=", .elementor-button-wrapper .elementor-button, .elementor-button-wrapper .elementor-button:visited",e=t=", .elementor-button-wrapper .elementor-button.elementor-size-sm, .elementor-button-wrapper .elementor-button.elementor-size-xs, .elementor-button-wrapper .elementor-button.elementor-size-md, .elementor-button-wrapper .elementor-button.elementor-size-lg, .elementor-button-wrapper .elementor-button.elementor-size-xl, .elementor-button-wrapper .elementor-button")),astra_css("astra-settings[button-radius]","border-radius",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"]'+t,"px"),wp.customize("astra-settings[theme-button-border-group-border-size]",function(t){t.bind(function(t){var e;""==t.top&&""==t.right&&""==t.bottom&&""==t.left||(astraCustomizer.gb_outline_buttons_patterns_support&&!astraCustomizer.updated_gb_outline_button_patterns?wp.customize.preview.send("refresh"):(e=hasWordPressWidgetBlockEditor()?', form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button':"",e='.menu-toggle, button, .ast-button, .ast-custom-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .wp-block-button .wp-block-button__link'+o+e,e+="{",e+="border-top-width:"+t.top+"px;",e+="border-right-width:"+t.right+"px;",e+="border-left-width:"+t.left+"px;",e+="border-bottom-width:"+t.bottom+"px;",e+="border-style: solid;",astra_add_dynamic_css("theme-button-border-group-border-size",e+="}")))})}),astra_responsive_spacing("astra-settings[theme-button-padding]",'.menu-toggle, button, .ast-button, .ast-custom-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled], .wp-block-button .wp-block-button__link'+e+(u=hasWordPressWidgetBlockEditor()?', form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button':""),"padding",["top","bottom"]),astra_responsive_spacing("astra-settings[theme-button-padding]",'.menu-toggle, button, .ast-button, .ast-custom-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled], .wp-block-button .wp-block-button__link'+e+u,"padding",["left","right"]),wp.customize("astra-settings[transparent-header-button-border-group]",function(t){t.bind(function(t){var e=JSON.parse(t)["header-main-rt-trans-section-button-border-size"];""==e.top&&""==e.right&&""==e.bottom&&""==e.left||(t=".ast-theme-transparent-header .main-header-bar .button-custom-menu-item .ast-custom-button-link .ast-custom-button",t+="{",t+="border-top-width:"+e.top+"px;",t+="border-right-width:"+e.right+"px;",t+="border-left-width:"+e.left+"px;",t+="border-bottom-width:"+e.bottom+"px;",t+="border-style: solid;",astra_add_dynamic_css("header-main-rt-trans-section-button-border-size",t+="}"))})}),astra_generate_outside_font_family_css("astra-settings[font-family-site-title]",".site-title, .site-title a"),astra_generate_font_weight_css("astra-settings[font-family-site-title]","astra-settings[font-weight-site-title]","font-weight",".site-title, .site-title a"),astra_responsive_font_size("astra-settings[font-size-site-title]",".site-title, .site-title a"),astra_css("astra-settings[line-height-site-title]","line-height",".site-title, .site-title a"),astra_css("astra-settings[text-transform-site-title]","text-transform",".site-title, .site-title a"),astra_generate_outside_font_family_css("astra-settings[font-family-site-tagline]",".site-header .site-description"),astra_generate_font_weight_css("astra-settings[font-family-site-tagline]","astra-settings[font-weight-site-tagline]","font-weight",".site-header .site-description"),astra_responsive_font_size("astra-settings[font-size-site-tagline]",".site-header .site-description"),astra_css("astra-settings[line-height-site-tagline]","line-height",".site-header .site-description"),astra_css("astra-settings[text-transform-site-tagline]","text-transform",".site-header .site-description");var s,n,r,i,u=hasWordPressWidgetBlockEditor()?', form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button':"",c=hasWordPressWidgetBlockEditor()?', form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:hover, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:focus':"";astraCustomizer.page_builder_button_style_css?(e=t=i=r=n=s="","color-typo"!=astraCustomizer.elementor_default_color_font_setting&&"color"!=astraCustomizer.elementor_default_color_font_setting||(n=s=",.elementor-button-wrapper .elementor-button, .elementor-button-wrapper .elementor-button:visited",t=", .elementor-button-wrapper .elementor-button, .elementor-button-wrapper .elementor-button:visited",e=i=r=",.elementor-button-wrapper .elementor-button:hover, .elementor-button-wrapper .elementor-button:focus"),astra_css("astra-settings[button-color]","color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .wp-block-button .wp-block-button__link, .ast-custom-button'+s+u),astra_css("astra-settings[button-bg-color]","background-color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .wp-block-button .wp-block-button__link, .ast-custom-button'+n+u),astra_css("astra-settings[button-h-color]","color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus, .ast-custom-button:hover, .ast-custom-button:focus'+r+c),astra_css("astra-settings[button-bg-h-color]","background-color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus, .ast-custom-button:hover, .ast-custom-button:focus'+i+c),astra_css("astra-settings[theme-button-border-group-border-color]","border-color",'.menu-toggle, button, .ast-button, .ast-custom-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .wp-block-button .wp-block-button__link'+t+u),astra_css("astra-settings[theme-button-border-group-border-h-color]","border-color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .ast-custom-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus'+e+c)):(astra_css("astra-settings[button-color]","color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .ast-custom-button'+u),astra_css("astra-settings[button-bg-color]","background-color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .ast-custom-button'+u),astra_css("astra-settings[button-bg-color]","border-color",'.menu-toggle, button, .ast-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .ast-custom-button'+u),astra_css("astra-settings[button-h-color]","color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, .ast-custom-button:hover, .ast-custom-button:focus'+c),astra_css("astra-settings[button-bg-h-color]","background-color",'button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, .ast-custom-button:hover, .ast-custom-button:focus'+c),astra_responsive_spacing("astra-settings[theme-button-padding]",'.menu-toggle, button, .ast-button, .ast-custom-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled]'+u,"padding",["top","bottom"]),astra_responsive_spacing("astra-settings[theme-button-padding]",'.menu-toggle, button, .ast-button, .ast-custom-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], .woocommerce a.button, .woocommerce button.button, .woocommerce .product a.button, .woocommerce .woocommerce-message a.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce input.button,.woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled]'+u,"padding",["left","right"])),wp.customize.bind("preview-ready",function(){wp.customize.selectiveRefresh.bind("render-partials-response",function(t){return!(t.contents.hasOwnProperty("astra-settings[footer-desktop-items]")||!t.contents.hasOwnProperty("astra-settings[header-desktop-items]")&&!t.contents.hasOwnProperty("astra-settings[header-mobile-items]"))&&void setTimeout(function(){document.dispatchEvent(new CustomEvent("astLayoutWidthChanged",{detail:{response:t}}))},10)}),wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){return!t.partial.id.includes("footer")&&(sessionStorage.setItem("astPartialContentRendered",!0),void document.dispatchEvent(new CustomEvent("astPartialContentRendered",{detail:{response:t}})))}),wp.customize.selectiveRefresh.bind("partial-content-rendered",function(t){wp.customize.preview.send("AstraBuilderPartialContentRendered",t)}),wp.customize.preview.bind("astPreviewDeviceChanged",function(t){document.dispatchEvent(new CustomEvent("astPreviewDeviceChanged",{detail:t}))})}),wp.customize("astra-settings[related-posts-based-on]",function(t){t.bind(function(){wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[related-posts-order-by]",function(t){t.bind(function(){wp.customize.preview.send("refresh")})}),wp.customize("astra-settings[related-posts-order]",function(t){t.bind(function(){wp.customize.preview.send("refresh")})}),astra_css("astra-settings[related-posts-text-color]","color",".ast-related-post-content .entry-header .ast-related-post-title a, .ast-related-post-content .ast-related-post-excerpt"),astra_css("astra-settings[related-posts-meta-color]","color",".ast-related-post-content .entry-meta, .ast-related-post-content .entry-meta *"),astra_css("astra-settings[related-posts-title-color]","color",".ast-single-related-posts-container .ast-related-posts-title-section .ast-related-posts-title"),astra_css("astra-settings[related-posts-background-color]","background-color",".ast-single-related-posts-container"),astra_css("astra-settings[related-posts-link-color]","color",".ast-related-post-content .ast-related-post-cta a"),astra_css("astra-settings[related-posts-link-hover-color]","color",".ast-related-post-content .ast-related-post-cta a:hover"),astra_css("astra-settings[related-posts-meta-link-hover-color]","color",".ast-related-post-content .entry-meta a:hover, .ast-related-post-content .entry-meta span a span:hover"),astra_generate_outside_font_family_css("astra-settings[related-posts-title-font-family]",".ast-related-post-content .entry-header .ast-related-post-title, .ast-related-post-content .entry-header .ast-related-post-title a"),astra_css("astra-settings[related-posts-title-font-weight]","font-weight",".ast-related-post-content .entry-header .ast-related-post-title, .ast-related-post-content .entry-header .ast-related-post-title a"),astra_responsive_font_size("astra-settings[related-posts-title-font-size]",".ast-related-post-content .entry-header .ast-related-post-title, .ast-related-post-content .entry-header .ast-related-post-title a"),astra_css("astra-settings[related-posts-title-line-height]","line-height",".ast-related-post-content .entry-header .ast-related-post-title, .ast-related-post-content .entry-header .ast-related-post-title a"),astra_css("astra-settings[related-posts-title-text-transform]","text-transform",".ast-related-post-content .entry-header .ast-related-post-title, .ast-related-post-content .entry-header .ast-related-post-title a"),astra_generate_outside_font_family_css("astra-settings[related-posts-section-title-font-family]",".ast-single-related-posts-container .ast-related-posts-title-section .ast-related-posts-title"),astra_css("astra-settings[related-posts-section-title-font-weight]","font-weight",".ast-single-related-posts-container .ast-related-posts-title-section .ast-related-posts-title"),astra_responsive_font_size("astra-settings[related-posts-section-title-font-size]",".ast-single-related-posts-container .ast-related-posts-title-section .ast-related-posts-title"),astra_css("astra-settings[related-posts-section-title-line-height]","line-height",".ast-single-related-posts-container .ast-related-posts-title-section .ast-related-posts-title"),astra_css("astra-settings[related-posts-section-title-text-transform]","text-transform",".ast-single-related-posts-container .ast-related-posts-title-section .ast-related-posts-title"),astra_css("astra-settings[releted-posts-title-alignment]","text-align",".ast-single-related-posts-container .ast-related-posts-title-section .ast-related-posts-title"),astra_generate_outside_font_family_css("astra-settings[related-posts-meta-font-family]",".ast-related-post-content .entry-meta, .ast-related-post-content .entry-meta *"),astra_css("astra-settings[related-posts-meta-font-weight]","font-weight",".ast-related-post-content .entry-meta, .ast-related-post-content .entry-meta *"),astra_responsive_font_size("astra-settings[related-posts-meta-font-size]",".ast-related-post-content .entry-meta, .ast-related-post-content .entry-meta *"),astra_css("astra-settings[related-posts-meta-line-height]","line-height",".ast-related-post-content .entry-meta, .ast-related-post-content .entry-meta *"),astra_css("astra-settings[related-posts-meta-text-transform]","text-transform",".ast-related-post-content .entry-meta, .ast-related-post-content .entry-meta *"),astra_generate_outside_font_family_css("astra-settings[related-posts-content-font-family]",".ast-related-post-content .ast-related-post-excerpt"),astra_css("astra-settings[related-posts-content-font-weight]","font-weight",".ast-related-post-content .ast-related-post-excerpt"),astra_responsive_font_size("astra-settings[related-posts-content-font-size]",".ast-related-post-content .ast-related-post-excerpt"),astra_css("astra-settings[related-posts-content-line-height]","line-height",".ast-related-post-content .ast-related-post-excerpt"),astra_css("astra-settings[related-posts-content-text-transform]","text-transform",".ast-related-post-content .ast-related-post-excerpt"),astra_css("astra-settings[header-color-site-title]","color",".ast-site-identity .site-title a, .ast-site-identity .site-title"),astra_css("astra-settings[header-color-h-site-title]","color",".ast-site-identity .site-title a:hover, .ast-site-identity .site-title:hover"),astra_css("astra-settings[header-color-site-tagline]","color",".ast-site-identity .site-description")}(jQuery); \ No newline at end of file diff --git a/assets/js/minified/extend-customizer.min.js b/assets/js/minified/extend-customizer.min.js new file mode 100644 index 0000000..5b7a9a3 --- /dev/null +++ b/assets/js/minified/extend-customizer.min.js @@ -0,0 +1 @@ +!function(a){var i=wp.customize;i.bind("pane-contents-reflowed",function(){var e=[];i.section.each(function(t){"ast_section"===t.params.type&&void 0!==t.params.section&&e.push(t)}),e.sort(i.utils.prioritySort).reverse(),a.each(e,function(t,e){a("#sub-accordion-section-"+e.params.section).children(".section-meta").after(e.headContainer)});var n=[];i.panel.each(function(t){"ast_panel"===t.params.type&&void 0!==t.params.panel&&n.push(t)}),n.sort(i.utils.prioritySort).reverse(),a.each(n,function(t,e){a("#sub-accordion-panel-"+e.params.panel).children(".panel-meta").after(e.headContainer)})});var t=wp.customize.Panel.prototype.embed,s=wp.customize.Panel.prototype.isContextuallyActive,e=wp.customize.Panel.prototype.attachEvents;wp.customize.Panel=wp.customize.Panel.extend({attachEvents:function(){var n;"ast_panel"===this.params.type&&void 0!==this.params.panel?(e.call(this),(n=this).expanded.bind(function(t){var e=i.panel(n.params.panel);t?e.contentContainer.addClass("current-panel-parent"):e.contentContainer.removeClass("current-panel-parent")}),n.container.find(".customize-panel-back").off("click keydown").on("click keydown",function(t){i.utils.isKeydownButNotEnterEvent(t)||(t.preventDefault(),n.expanded()&&i.panel(n.params.panel).expand())})):e.call(this)},embed:function(){"ast_panel"===this.params.type&&void 0!==this.params.panel?(t.call(this),a("#sub-accordion-panel-"+this.params.panel).append(this.headContainer)):t.call(this)},isContextuallyActive:function(){if("ast_panel"!==this.params.type)return s.call(this);var e=this,n=this._children("panel","section");i.panel.each(function(t){t.params.panel&&t.params.panel===e.id&&n.push(t)}),n.sort(i.utils.prioritySort);var a=0;return _(n).each(function(t){t.active()&&t.isContextuallyActive()&&(a+=1)}),0!==a}});var n=wp.customize.Section.prototype.embed,o=wp.customize.Section.prototype.isContextuallyActive,c=wp.customize.Section.prototype.attachEvents;wp.customize.Section=wp.customize.Section.extend({attachEvents:function(){var n;"ast_section"===this.params.type&&void 0!==this.params.section?(c.call(this),(n=this).expanded.bind(function(t){var e=i.section(n.params.section);t?e.contentContainer.addClass("current-section-parent"):e.contentContainer.removeClass("current-section-parent")}),n.container.find(".customize-section-back").off("click keydown").on("click keydown",function(t){i.utils.isKeydownButNotEnterEvent(t)||(t.preventDefault(),n.expanded()&&i.section(n.params.section).expand())})):c.call(this)},embed:function(){"ast_section"===this.params.type&&void 0!==this.params.section?(n.call(this),a("#sub-accordion-section-"+this.params.section).append(this.headContainer)):n.call(this)},isContextuallyActive:function(){if("ast_section"!==this.params.type)return o.call(this);var e=this,n=this._children("section","control");i.section.each(function(t){t.params.section&&t.params.section===e.id&&n.push(t)}),n.sort(i.utils.prioritySort);var a=0;return _(n).each(function(t){void 0!==t.isContextuallyActive?t.active()&&t.isContextuallyActive()&&(a+=1):t.active()&&(a+=1)}),0!==a}})}(jQuery); \ No newline at end of file diff --git a/assets/js/minified/flexibility.min.js b/assets/js/minified/flexibility.min.js new file mode 100644 index 0000000..03bf78f --- /dev/null +++ b/assets/js/minified/flexibility.min.js @@ -0,0 +1 @@ +!function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).flexibility=e()}(function(){return function l(n,o,f){function i(r,e){if(!o[r]){if(!n[r]){var t="function"==typeof require&&require;if(!e&&t)return t(r,!0);if(s)return s(r,!0);t=new Error("Cannot find module '"+r+"'");throw t.code="MODULE_NOT_FOUND",t}t=o[r]={exports:{}};n[r][0].call(t.exports,function(e){var t=n[r][1][e];return i(t||e)},t,t.exports,l,n,o,f)}return o[r].exports}for(var s="function"==typeof require&&require,e=0;e=t.main+r.flexStyle.mainOuter?(t.main+=r.flexStyle.mainOuter,t.cross=Math.max(t.cross,r.flexStyle.crossOuter)):e.lines.push(t={main:r.flexStyle.mainOuter,cross:r.flexStyle.crossOuter,children:[]}),t.children.push(r);e.flexStyle.mainLines=n(e.lines,function(e,t){return Math.max(e,t.main)},0),e.flexStyle.crossLines=n(e.lines,function(e,t){return e+t.cross},0),"auto"===e.flexStyle.main&&(e.flexStyle.main=Math.max(e.flexStyle.mainOffset,e.flexStyle.mainLines+e.flexStyle.mainInnerBefore+e.flexStyle.mainInnerAfter+e.flexStyle.mainBorderBefore+e.flexStyle.mainBorderAfter)),"auto"===e.flexStyle.cross&&(e.flexStyle.cross=Math.max(e.flexStyle.crossOffset,e.flexStyle.crossLines+e.flexStyle.crossInnerBefore+e.flexStyle.crossInnerAfter+e.flexStyle.crossBorderBefore+e.flexStyle.crossBorderAfter)),e.flexStyle.crossSpace=e.flexStyle.cross-e.flexStyle.crossInnerBefore-e.flexStyle.crossInnerAfter-e.flexStyle.crossBorderBefore-e.flexStyle.crossBorderAfter-e.flexStyle.crossLines,e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter,e.flexStyle.crossOuter=e.flexStyle.cross+e.flexStyle.crossBefore+e.flexStyle.crossAfter}},{"../reduce":12}],7:[function(n,e,t){e.exports=function(e){for(var t,r,l=-1;t=e.children[++l];)n("./flex-direction")(t,e.style.flexDirection);for(n("./flex-direction")(e,e.style.flexDirection),n("./order")(e),n("./flexbox-lines")(e),n("./align-content")(e),l=-1;r=e.lines[++l];)r.mainSpace=e.flexStyle.main-e.flexStyle.mainInnerBefore-e.flexStyle.mainInnerAfter-e.flexStyle.mainBorderBefore-e.flexStyle.mainBorderAfter-r.main,n("./flex-grow")(r),n("./flex-shrink")(r),n("./margin-main")(r),n("./margin-cross")(r),n("./justify-content")(r,e.style.justifyContent,e);n("./align-items")(e)}},{"./align-content":1,"./align-items":2,"./flex-direction":3,"./flex-grow":4,"./flex-shrink":5,"./flexbox-lines":6,"./justify-content":8,"./margin-cross":9,"./margin-main":10,"./order":11}],8:[function(e,t,r){t.exports=function(e,t,r){var l,n,o,r=r.flexStyle.mainInnerBefore,f=-1;if("flex-end"===t)for(l=e.mainSpace,l+=r;o=e.children[++f];)o.flexStyle.mainStart=l,l+=o.flexStyle.mainOuter;else if("center"===t)for(l=e.mainSpace/2,l+=r;o=e.children[++f];)o.flexStyle.mainStart=l,l+=o.flexStyle.mainOuter;else if("space-between"===t)for(n=e.mainSpace/(e.children.length-1),l=0,l+=r;o=e.children[++f];)o.flexStyle.mainStart=l,l+=o.flexStyle.mainOuter+n;else if("space-around"===t)for(l=(n=2*e.mainSpace/(2*e.children.length))/2,l+=r;o=e.children[++f];)o.flexStyle.mainStart=l,l+=o.flexStyle.mainOuter+n;else for(l=0,l+=r;o=e.children[++f];)o.flexStyle.mainStart=l,l+=o.flexStyle.mainOuter}},{}],9:[function(e,t,r){t.exports=function(e){for(var t,r=-1;t=e.children[++r];){var l=0;"auto"===t.flexStyle.crossBefore&&++l,"auto"===t.flexStyle.crossAfter&&++l;var n=e.cross-t.flexStyle.crossOuter;"auto"===t.flexStyle.crossBefore&&(t.flexStyle.crossBefore=n/l),"auto"===t.flexStyle.crossAfter&&(t.flexStyle.crossAfter=n/l),"auto"===t.flexStyle.cross?t.flexStyle.crossOuter=t.flexStyle.crossOffset+t.flexStyle.crossBefore+t.flexStyle.crossAfter:t.flexStyle.crossOuter=t.flexStyle.cross+t.flexStyle.crossBefore+t.flexStyle.crossAfter}}},{}],10:[function(e,t,r){t.exports=function(e){for(var t,r=0,l=-1;t=e.children[++l];)"auto"===t.flexStyle.mainBefore&&++r,"auto"===t.flexStyle.mainAfter&&++r;if(0 #ast-desktop-header .ast-desktop-header-content"),n=document.querySelector(".elementor-editor-active"),a&&(a.style.display="none"),window.innerWidth!==s&&(t&&null===n&&t.click(),document.body.classList.remove("ast-main-header-nav-open","ast-popup-nav-open")),e&&null===n&&e.click(),o(),"dropdown"===d&&AstraToggleSetup())}),document.addEventListener("DOMContentLoaded",function(){var e,t;for(AstraToggleSetup(),e=document.querySelectorAll(".navigation-accessibility"),t=0;t<=e.length-1;t++)e[t]&&function(e){if(e){var t=e.getElementsByTagName("button")[0];if(void 0!==t||void 0!==(t=e.getElementsByTagName("a")[0])){var a=e.getElementsByTagName("ul")[0];if(void 0!==a){a.setAttribute("aria-expanded","false"),-1===a.className.indexOf("nav-menu")&&(a.className+=" nav-menu"),t.onclick=function(){-1!==e.className.indexOf("toggled")?(e.className=e.className.replace(" toggled",""),t.setAttribute("aria-expanded","false"),a.setAttribute("aria-expanded","false")):(e.className+=" toggled",t.setAttribute("aria-expanded","true"),a.setAttribute("aria-expanded","true"))};for(var n=a.getElementsByTagName("a"),s=a.getElementsByTagName("ul"),o=0,l=s.length;o .menu-link, ul.main-header-menu .ast-menu-toggle"):e[s].querySelectorAll("ul.main-header-menu .ast-menu-toggle")).length)for(var o=0;o #ast-desktop-header .ast-desktop-header-content");n=null!=t&&""!==t?t.querySelector(".main-header-menu-toggle"):document.querySelector("#masthead > #ast-desktop-header .main-header-menu-toggle");t=document.querySelector("#masthead > #ast-desktop-header .ast-desktop-header-content .main-header-bar-navigation");if("desktop"===e.currentTarget.trigger_type)return null!==t&&""!==t&&void 0!==t&&(astraToggleClass(t,"toggle-on"),t.classList.contains("toggle-on")?t.style.display="block":t.style.display=""),astraToggleClass(n,"toggled"),void(n.classList.contains("toggled")?(u.classList.add("ast-main-header-nav-open"),"dropdown"===d&&(a.style.display="block")):(u.classList.remove("ast-main-header-nav-open"),a.style.display="none"));t=document.querySelectorAll("#masthead > #ast-mobile-header .main-header-bar-navigation");i=document.querySelectorAll("#masthead > #ast-mobile-header .main-header-menu-toggle");var n="0",a=!1;if(null!==this.closest("#ast-fixed-header")&&(t=document.querySelectorAll("#ast-fixed-header > #ast-mobile-header .main-header-bar-navigation"),i=document.querySelectorAll("#ast-fixed-header .main-header-menu-toggle"),n="0",a=!0),void 0===t[n])return!1;for(var s=t[n].querySelectorAll(".menu-item-has-children"),o=0;o .menu-link, .ast-header-break-point ul.main-header-menu .ast-menu-toggle"):e[a].querySelectorAll("ul.main-header-menu .ast-menu-toggle")).length)for(var s=0;s .menu-link, .ast-header-break-point ul.main-header-menu .ast-menu-toggle"):e[a].querySelectorAll("ul.main-header-menu .ast-menu-toggle")).length)for(var s=0;s':(s='',p="",c=''),Color.fn.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var t=parseInt(this._color,10).toString(16);return this.error?"":(t.length<6&&(t=("00000"+t).substr(-6)),"#"+t)},n.widget("wp.wpColorPicker",n.wp.wpColorPicker,{_hasAlpha:!0,_create:function(){if(n.support.iris){var r=this,t=r.element;if(n.extend(r.options,t.data()),"hue"===r.options.type)return r._createHueOnly();r.close=n.proxy(r.close,r),r.initialValue=t.val(),t.addClass("wp-color-picker"),i?(t.hide().wrap(e),r.wrap=t.parent(),r.toggler=n(s).insertBefore(t).css({backgroundColor:r.initialValue}).attr("title",wpColorPickerL10n.pick).attr("data-current",wpColorPickerL10n.current),r.pickerContainer=n(o).insertAfter(t),r.button=n(a).addClass("hidden")):(t.parent("label").length||(t.wrap(p),r.wrappingLabelText=n(c).insertBefore(t).text(wpColorPickerL10n.defaultLabel)),r.wrappingLabel=t.parent(),r.wrappingLabel.wrap(e),r.wrap=r.wrappingLabel.parent(),r.toggler=n(s).insertBefore(r.wrappingLabel).css({backgroundColor:r.initialValue}),r.toggler.find(".wp-color-result-text").text(wpColorPickerL10n.pick),r.pickerContainer=n(o).insertAfter(r.wrappingLabel),r.button=n(a)),r.options.defaultColor?(r.button.addClass("wp-picker-default").val(wpColorPickerL10n.defaultString),i||r.button.attr("aria-label",wpColorPickerL10n.defaultAriaLabel)):(r.button.addClass("wp-picker-clear").val(wpColorPickerL10n.clear),i||r.button.attr("aria-label",wpColorPickerL10n.clearAriaLabel)),i?t.wrap('').after(r.button):(r.wrappingLabel.wrap('