File: /home/pokaorgani/public_html/wp-content/themes/sydney/js/customizer.min.js
function hideControls(t){for(var e=0;e<t.length;e++)window.parent.window.wp.customize.control(t[e])&&(window.parent.window.wp.customize.control(t[e]).toggle(!1),jQuery(window.parent.window.wp.customize.control(t[e]).container[0]).css("display","none"))}function showControls(t){for(var e=0;e<t.length;e++)window.parent.window.wp.customize.control(t[e])&&window.parent.window.wp.customize.control(t[e]).toggle(!0)}function hexToRGB(t,e){var o=parseInt(t.slice(1,3),16),n=parseInt(t.slice(3,5),16),i=parseInt(t.slice(5,7),16);return e?"rgba("+o+", "+n+", "+i+", "+e+")":"rgb("+o+", "+n+", "+i+")"}(function(t){wp.customize("blogname",function(e){e.bind(function(e){t(".site-title a").text(e)})}),wp.customize("blogdescription",function(e){e.bind(function(e){t(".site-description").text(e)})}),wp.customize("header_textcolor",function(e){e.bind(function(e){"blank"===e?t(".site-title, .site-description").css({clip:"rect(1px, 1px, 1px, 1px)",position:"absolute"}):t(".site-title, .site-description").css({clip:"auto",color:e,position:"relative"})})}),wp.customize("site_title_color",function(e){e.bind(function(e){t(".site-title a").css("color",e)})}),wp.customize("site_desc_color",function(e){e.bind(function(e){t(".site-description").css("color",e)})}),wp.customize("top_items_color",function(e){e.bind(function(e){t("#mainnav ul li a").not("#mainnav .sub-menu li a").css("color",e)})}),wp.customize("submenu_items_color",function(e){e.bind(function(e){t("#mainnav .sub-menu li a ").css("color",e)})}),wp.customize("slider_text",function(e){e.bind(function(e){t(".text-slider .maintitle, .text-slider .subtitle").css("color",e)})}),wp.customize("body_text_color",function(e){e.bind(function(e){t("body").css("color",e)})}),wp.customize("sidebar_background",function(e){e.bind(function(e){t(".widget-area").css("background-color",e)})}),wp.customize("sidebar_color",function(e){e.bind(function(e){t(".widget-area,.widget-area a, .widget-area .widget-title").css("color",e)})}),wp.customize("footer_widgets_background",function(e){e.bind(function(e){t(".footer-widgets").css("background-color",e)})}),wp.customize("footer_widgets_color",function(e){e.bind(function(e){t(".sidebar-column .widget").css("color",e)})}),wp.customize("footer_widgets_links_color",function(e){e.bind(function(e){t(".sidebar-column .widget a").css("color",e)})}),wp.customize("footer_background",function(e){e.bind(function(e){t(".site-footer").css("background-color",e)})}),wp.customize("footer_color",function(e){e.bind(function(e){t(".sydney-credits,.sydney-credits a").css("color",e)})}),wp.customize("slider_image_1",function(e){e.bind(function(e){t(".slide-item:eq(0)").css("background-image","url("+e+")")})}),wp.customize("slider_image_2",function(e){e.bind(function(e){t(".slide-item:eq(1)").css("background-image","url("+e+")")})}),wp.customize("slider_image_3",function(e){e.bind(function(e){t(".slide-item:eq(2)").css("background-image","url("+e+")")})}),wp.customize("slider_image_4",function(e){e.bind(function(e){t(".slide-item:eq(3)").css("background-image","url("+e+")")})}),wp.customize("slider_image_5",function(e){e.bind(function(e){t(".slide-item:eq(4)").css("background-image","url("+e+")")})}),wp.customize("slider_button_url",function(e){e.bind(function(e){t(".button-slider").attr("href",e)})}),wp.customize("primary_color",function(e){e.bind(function(e){var o=t("#sydney-style-min-inline-css").text(),n=o+".go-top:hover svg,.sydney_contact_info_widget span { fill:"+e+'}.widget-area .widget_fp_social a,#mainnav ul li a:hover, .sydney_contact_info_widget span, .roll-team .team-content .name,.roll-team .team-item .team-pop .team-social li:hover a,.roll-infomation li.address:before,.roll-infomation li.phone:before,.roll-infomation li.email:before,.roll-testimonials .name,.roll-button.border,.roll-button:hover,.roll-icon-list .icon i,.roll-icon-list .content h3 a:hover,.roll-icon-box.white .content h3 a,.roll-icon-box .icon i,.roll-icon-box .content h3 a:hover,.switcher-container .switcher-icon a:focus,.go-top:hover,.hentry .meta-post a:hover,#mainnav > ul > li > a.active, #mainnav > ul > li > a:hover, button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .text-color, .social-menu-widget a, .social-menu-widget a:hover, .archive .team-social li a, a, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,.classic-alt .meta-post a,.single .hentry .meta-post a { color:'+e+'}.reply,.woocommerce div.product .woocommerce-tabs ul.tabs li.active,.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.project-filter li a.active, .project-filter li a:hover,.preloader .pre-bounce1, .preloader .pre-bounce2,.roll-team .team-item .team-pop,.roll-progress .progress-animate,.roll-socials li a:hover,.roll-project .project-item .project-pop,.roll-project .project-filter li.active,.roll-project .project-filter li:hover,.roll-button.light:hover,.roll-button.border:hover,.roll-button,.roll-icon-box.white .icon,.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span,.go-top,.bottom .socials li:hover a,.sidebar .widget:before,.blog-pagination ul li.active,.blog-pagination ul li:hover a,.content-area .hentry:after,.text-slider .maintitle:after,.error-wrap #search-submit:hover,#mainnav .sub-menu li:hover > a,#mainnav ul li ul:after, button, input[type="button"], input[type="reset"], input[type="submit"], .panel-grid-cell .widget-title:after, .cart-amount { background-color:'+e+'}.roll-socials li a:hover,.roll-socials li a,.roll-button.light:hover,.roll-button.border,.roll-button,.roll-icon-list .icon,.roll-icon-box .icon,.owl-theme .owl-controls .owl-page span,.comment .comment-detail,.widget-tags .tag-list a:hover,.blog-pagination ul li,.hentry blockquote,.error-wrap #search-submit:hover,textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus, button, input[type="button"], input[type="reset"], input[type="submit"], .archive .team-social li a { border-color:'+e+"}";t("#sydney-style-min-inline-css").text(n)})}),wp.customize("body_font",function(e){e.bind(function(e){t("#sydney-preview-google-fonts-body-css").attr("href","https://fonts.googleapis.com/css?family="+e.replace(/ /g,"+")+"&display=swap"),t("body, #mainnav ul ul a").css("font-family",e)})}),wp.customize("headings_font",function(e){e.bind(function(e){t("#sydney-preview-google-fonts-headings-css").attr("href","https://fonts.googleapis.com/css?family="+e.replace(/ /g,"+")+"&display=swap"),t('h1, h2, h3, h4, h5, h6, #mainnav ul li a, .portfolio-info, .roll-testimonials .name, .roll-team .team-content .name, .roll-team .team-item .team-pop .name, .roll-tabs .menu-tab li a, .roll-testimonials .name, .roll-project .project-filter li a, .roll-button, .roll-counter .name-count, .roll-counter .numb-count button, input[type="button"], input[type="reset"], input[type="submit"]').css("font-family",e)})}),wp.customize("scrolltop_radius",function(e){e.bind(function(e){t(".go-top.show").css("border-radius",e+"px")})}),wp.customize("scrolltop_side_offset",function(e){e.bind(function(e){t(".go-top.position-right").css("right",e+"px"),t(".go-top.position-left").css("left",e+"px")})}),wp.customize("scrolltop_bottom_offset",function(e){e.bind(function(e){t(".go-top").css("bottom",e+"px")})}),wp.customize("scrolltop_icon_size",function(e){e.bind(function(e){t(".go-top .sydney-svg-icon, .go-top .sydney-svg-icon svg").css("width",e+"px"),t(".go-top .sydney-svg-icon, .go-top .sydney-svg-icon svg").css("height",e+"px")})}),wp.customize("scrolltop_padding",function(e){e.bind(function(e){t(".go-top").css("padding",e+"px")})});var e={color_forms_background:'input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea,select,.woocommerce .select2-container .select2-selection--single,.woocommerce-page .select2-container .select2-selection--single,.woocommerce-cart .woocommerce-cart-form .actions .coupon input[type="text"]',shop_product_card_background:".woocommerce-page ul.products li.product",offcanvas_menu_background:".sydney-offcanvas-menu",mobile_header_background:"#masthead-mobile",main_header_submenu_background:".mainnav ul ul li",main_header_bottom_background:".bottom-header-row",main_header_background:".main-header,.header-search-form",main_header_background_sticky:".main-header.sticky-active",topbar_background:".top-bar",button_background_color:'button,.roll-button,a.button,.wp-block-button:not(.is-style-outline) a,input[type="button"],input[type="reset"],input[type="submit"]',scrolltop_bg_color:".go-top"};t.each(e,function(e,o){wp.customize(e,function(e){e.bind(function(e){t(o).css("background-color",e)})})});var o={color_forms_text:'input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea,select,.woocommerce .select2-container .select2-selection--single,input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,input[type="number"]:focus,input[type="tel"]:focus,input[type="range"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="time"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="color"]:focus,textarea:focus,select:focus,.woocommerce .select2-container .select2-selection--single:focus,.woocommerce-page .select2-container .select2-selection--single,.select2-container--default .select2-selection--single .select2-selection__rendered',color_link_default:".entry-content a:not(.button):not(.elementor-button-link)",color_heading_1:"h1",color_heading_2:"h2,.wp-block-search .wp-block-search__label",color_heading_3:"h3",color_heading_4:"h4,.product-gallery-summary .product_meta,.product-gallery-summary .product_meta a,.woocommerce-breadcrumb,.woocommerce-breadcrumb a,.woocommerce-tabs ul.tabs li a,.product-gallery-summary .woocommerce-Price-amount,.woocommerce-mini-cart-item .quantity,.woocommerce-mini-cart__total .woocommerce-Price-amount,.order-total .woocommerce-Price-amount",color_heading_5:"h5:not(.sticky-addtocart-title)",color_heading_6:"h6",offcanvas_menu_color:".sydney-offcanvas-menu, .sydney-offcanvas-menu a:not(.button)",mobile_header_color:"#masthead-mobile,#masthead-mobile .site-description,#masthead-mobile a:not(.button)",main_header_submenu_color:".mainnav ul ul a",main_header_bottom_color:".bottom-header-row, .bottom-header-row .header-contact a,.bottom-header-row .mainnav .menu > li > a",main_header_color:".main-header .site-title a,.main-header .site-description,.main-header .mainnav .menu > li > a, .main-header .header-contact a",topbar_color:".top-bar, .top-bar a",single_post_meta_color:".single .entry-header .entry-meta,.single .entry-header .entry-meta a",single_post_title_color:".single .entry-header .entry-title",loop_post_text_color:".posts-layout .entry-post",loop_post_title_color:".posts-layout .entry-title a",loop_post_meta_color:".posts-layout .entry-meta,.posts-layout .entry-meta a",button_color:'button,.roll-button,a.button,.wp-block-button__link,input[type="button"],input[type="reset"],input[type="submit"]',scrolltop_color:".go-top",footer_widgets_headings_color:".sidebar-column .widget h1, .sidebar-column .widget h2, .sidebar-column .widget h3, .sidebar-column .widget h4, .sidebar-column .widget h5, .sidebar-column .widget h6",footer_widgets_title_color:".sidebar-column .widget .widget-title"};t.each(o,function(e,o){wp.customize(e,function(e){e.bind(function(e){t(o).css("color",e)})})});var n={scrolltop_color:".go-top svg"};t.each(n,function(e,o){wp.customize(e,function(e){e.bind(function(e){t(o).css("stroke",e)})})});var i={button_background_color_hover:'button:hover,.roll-button:hover,a.button:hover,.wp-block-button__link:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover',scrolltop_bg_color_hover:".go-top:hover"};t.each(i,function(e,o){wp.customize(e,function(n){n.bind(function(n){t("head").find("#sydney-customizer-styles-"+e).remove();var i=o+" { background-color:"+n+"!important; }";t("head").append('<style id="sydney-customizer-styles-'+e+'">'+i+"</style>")})})});var s={button_border_color_hover:'button:hover,.roll-button:hover,a.button:hover,.wp-block-button__link:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover'};t.each(s,function(e,o){wp.customize(e,function(n){n.bind(function(n){t("head").find("#sydney-customizer-styles-"+e).remove();var i=o+" { border-color:"+n+"!important; }";t("head").append('<style id="sydney-customizer-styles-'+e+'">'+i+"</style>")})})});var r={scrolltop_color_hover:".go-top:hover svg"};t.each(r,function(e,o){wp.customize(e,function(n){n.bind(function(n){t("head").find("#sydney-customizer-stroke-"+e).remove();var i=o+" { stroke:"+n+"!important; }";t("head").append('<style id="sydney-customizer-stroke-'+e+'">'+i+"</style>")})})});var a={color_link_hover:".entry-content a:not(.button):not(.elementor-button-link):hover",button_color_hover:'button:hover,.roll-button:hover,a.button:hover,.wp-block-button__link:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover',scrolltop_color_hover:".go-top:hover",footer_widgets_links_hover_color:".sidebar-column .widget a:hover"};t.each(a,function(e,o){wp.customize(e,function(n){n.bind(function(n){t("head").find("#sydney-customizer-styles-"+e).remove();var i=o+" { color:"+n+"!important; }";t("head").append('<style id="sydney-customizer-styles-'+e+'">'+i+"</style>")})})});var c={main_header_submenu_color:".mainnav ul ul li svg",offcanvas_menu_color:".sydney-offcanvas-menu svg",mobile_header_color:"#masthead-mobile svg",offcanvas_menu_color:".sydney-offcanvas-menu svg",mobile_header_color:"#masthead-mobile svg",main_header_bottom_color:".bottom-header-row .sydney-svg-icon svg,.dropdown-symbol .ws-svg-icon svg",main_header_color:".main-header .header-item svg, .main-header .dropdown-symbol .sydney-svg-icon svg",topbar_color:".top-bar svg",footer_color:".site-info .sydney-svg-icon svg"};t.each(c,function(e,o){wp.customize(e,function(e){e.bind(function(e){t(o).css("fill",e)})})});var l={color_forms_borders:'input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea,select,.woocommerce .select2-container .select2-selection--single,.woocommerce-page .select2-container .select2-selection--single,.woocommerce-account fieldset,.woocommerce-account .woocommerce-form-login, .woocommerce-account .woocommerce-form-register,.woocommerce-cart .woocommerce-cart-form .actions .coupon input[type="text"]',shop_product_card_border_color:".woocommerce-page ul.products li.product",link_separator_color:".sydney-offcanvas-menu .mainnav ul li",button_border_color:'button,.roll-button,a.button,.wp-block-button__link,input[type="button"],input[type="reset"],input[type="submit"]',footer_credits_divider_color:".site-info,.site-footer",footer_widgets_divider_color:".footer-widgets,.footer-widgets-grid"};t.each(l,function(e,o){wp.customize(e,function(e){e.bind(function(e){t(o).css("border-color",e)})})});var u={desktop:"(min-width: 992px)",tablet:"(min-width: 576px) and (max-width: 991px)",mobile:"(max-width: 575px)"},d={breadcrumbs_padding:".sydney-breadcrumb-trail",footer_widgets_padding:".footer-widgets-grid",button_top_bottom_padding:"button,.roll-button,a.button,.wp-block-button__link,input[type='button'],input[type='reset'],input[type='submit']"};t.each(d,function(e,o){t.each(u,function(n,i){wp.customize(e+"_"+n,function(s){s.bind(function(s){t("head").find("#sydney-customizer-styles-"+e+"_"+n).remove();var r="@media "+i+" {"+o+" { padding-top:"+s+"px;padding-bottom:"+s+"px; } }";t("head").append('<style id="sydney-customizer-styles-'+e+"_"+n+'">'+r+"</style>")})})})});var p={button_left_right_padding:"button,.roll-button,a.button,.wp-block-button__link,input[type='button'],input[type='reset'],input[type='submit']"};t.each(p,function(e,o){t.each(u,function(n,i){wp.customize(e+"_"+n,function(s){s.bind(function(s){t("head").find("#sydney-customizer-styles-"+e+"_"+n).remove();var r="@media "+i+" {"+o+" { padding-left:"+s+"px;padding-right:"+s+"px; } }";t("head").append('<style id="sydney-customizer-styles-'+e+"_"+n+'">'+r+"</style>")})})})});var m={button_font_size:"button,.roll-button,a.button,.wp-block-button__link,input[type='button'],input[type='reset'],input[type='submit']",sydney_menu_font_size:"#mainnav > div > ul > li > a",single_product_title_size:".woocommerce div.product .product-gallery-summary .entry-title",single_product_price_size:".woocommerce div.product .product-gallery-summary .price .amount",site_desc_font_size:".site-description",site_title_font_size:".site-title",body_font_size:"body, .posts-layout .entry-post",h1_font_size:"h1:not(.site-title)",h2_font_size:"h2",h3_font_size:"h3",h4_font_size:"h4",h5_font_size:"h5",h6_font_size:"h6",single_product_title_size:".product-gallery-summary .entry-title",single_product_price_size:".product-gallery-summary .price",loop_post_text_size:".posts-layout .entry-post",loop_post_meta_size:".posts-layout .entry-meta",loop_post_title_size:".posts-layout .entry-title",single_post_title_size:".single .entry-header .entry-title",single_post_meta_size:".single .entry-meta",footer_widgets_title_size:".sidebar-column .widget .widget-title",footer_widgets_body_size:".footer-widgets"};t.each(m,function(e,o){t.each(u,function(n,i){wp.customize(e+"_"+n,function(s){s.bind(function(s){t("head").find("#sydney-customizer-styles-"+e+"_"+n).remove();var r="@media "+i+" {"+o+" { font-size:"+s+"px; } }";t("head").append('<style id="sydney-customizer-styles-'+e+"_"+n+'">'+r+"</style>")})})})}),wp.customize("footer_widgets_column_spacing_desktop",function(e){e.bind(function(e){t(".footer-widgets-grid").css("gap",e+"px")})}),wp.customize("footer_widgets_divider_size",function(e){e.bind(function(e){t(".footer-widgets,.footer-widgets-grid").css("border-top-width",e+"px")})}),wp.customize("footer_credits_divider_size",function(e){e.bind(function(e){t(".site-info,.site-footer").css("border-top-width",e+"px")})}),wp.customize("footer_credits_padding_desktop",function(e){e.bind(function(e){t(".site-info").css({"padding-top":e+"px","padding-bottom":e+"px"})})}),wp.customize("archive_featured_image_size_desktop",function(e){e.bind(function(e){t(".posts-layout .list-image").css("width",e+"%"),t(".posts-layout .list-content").css("width",100-e+"%")})}),wp.customize("archive_featured_image_size_desktop",function(e){e.bind(function(e){t(".posts-layout .list-image").css("width",e+"%"),t(".posts-layout .list-content").css("width",100-e+"%")})}),wp.customize("archive_meta_spacing",function(e){e.bind(function(e){t(".posts-layout .entry-meta.below-excerpt").css("margin-top",e+"px"),t(".posts-layout .entry-meta.above-title").css("margin-bottom",e+"px")})}),wp.customize("archive_title_spacing",function(e){e.bind(function(e){t(".posts-layout .entry-header").css("margin-bottom",e+"px")})}),wp.customize("single_post_header_spacing",function(e){e.bind(function(e){t(".single .entry-header").css("margin-bottom",e+"px")})}),wp.customize("single_post_image_spacing",function(e){e.bind(function(e){t(".single-post .entry-thumb").css("margin-bottom",e+"px")})}),wp.customize("single_post_meta_spacing",function(e){e.bind(function(e){t(".single .entry-meta-above").css("margin-bottom",e+"px"),t(".single .entry-meta-below").css("margin-top",e+"px")})}),wp.customize("main_header_padding",function(e){e.bind(function(e){t(".site-header-inner, .top-header-row").css({paddingTop:e+"px",paddingBottom:e+"px"})})}),wp.customize("main_header_bottom_padding",function(e){e.bind(function(e){t(".bottom-header-inner").css({paddingTop:e+"px",paddingBottom:e+"px"})})}),wp.customize("main_header_divider_color",function(e){e.bind(function(e){t(".main-header, .bottom-header-row,.top-header-row,.site-header-inner, .bottom-header-inner").css("border-color",e)})}),wp.customize("mobile_menu_alignment",function(e){e.bind(function(e){t(".sydney-offcanvas-menu .mainnav ul li").css("text-align",e)})}),wp.customize("mobile_menu_link_spacing",function(e){e.bind(function(e){t(".sydney-offcanvas-menu .mainnav a").css("padding-top",e/2),t(".sydney-offcanvas-menu .mainnav a").css("padding-bottom",e/2)})}),wp.customize("mobile_header_padding",function(e){e.bind(function(e){t(".mobile-header").css({paddingTop:e+"px",paddingBottom:e+"px"})})}),wp.customize("mobile_header_separator_width",function(e){e.bind(function(e){t(".sydney-offcanvas-menu .mainnav ul li").css("border-bottom-width",e+"px")})});var f={site_logo_size:".site-logo"};t.each(f,function(e,o){t.each(u,function(n,i){wp.customize(e+"_"+n,function(s){s.bind(function(s){t("head").find("#sydney-customizer-styles-"+e+"_"+n).remove();var r="@media "+i+" {"+o+" { max-height:"+s+"px; } }";t("head").append('<style id="sydney-customizer-styles-'+e+"_"+n+'">'+r+"</style>")})})})}),wp.customize("sydney_body_font",function(e){e.bind(function(e){t("head").find("#sydney-preview-google-fonts-body-css").remove(),t("head").find("#sydney-preview-body-weight-css").remove(),t("head").append('<link id="sydney-preview-google-fonts-body-css" href="" rel="stylesheet">'),t("#sydney-preview-google-fonts-body-css").attr("href","https://fonts.googleapis.com/css?family="+jQuery.parseJSON(e).font.replace(/ /g,"+")+":"+jQuery.parseJSON(e).regularweight+"&display=swap"),t("body").css("font-family",jQuery.parseJSON(e).font),t("head").append('<style id="sydney-preview-body-weight-css" type="text/css">body {font-weight:'+jQuery.parseJSON(e).regularweight+";}</style>")})}),wp.customize("sydney_headings_font",function(e){e.bind(function(e){t("head").find("#sydney-preview-google-fonts-headings-css").remove(),t("head").find("#sydney-preview-headings-weight-css").remove(),t("head").append('<link id="sydney-preview-google-fonts-headings-css" href="" rel="stylesheet">'),t("#sydney-preview-google-fonts-headings-css").attr("href","https://fonts.googleapis.com/css?family="+jQuery.parseJSON(e).font.replace(/ /g,"+")+":"+jQuery.parseJSON(e).regularweight+"&display=swap"),t("h1,h2,h3,h4,h5,h6,.site-title").css("font-family",jQuery.parseJSON(e).font),t("head").append('<style id="sydney-preview-headings-weight-css" type="text/css">h1,h2,h3,h4,h5,h6,.site-title {font-weight:'+jQuery.parseJSON(e).regularweight+";}</style>")})}),wp.customize("sydney_menu_font",function(e){e.bind(function(e){t("head").find("#sydney-preview-google-fonts-menu-css").remove(),t("head").find("#sydney-preview-menu-weight-css").remove(),t("head").append('<link id="sydney-preview-google-fonts-menu-css" href="" rel="stylesheet">'),t("#sydney-preview-google-fonts-menu-css").attr("href","https://fonts.googleapis.com/css?family="+jQuery.parseJSON(e).font.replace(/ /g,"+")+":"+jQuery.parseJSON(e).regularweight+"&display=swap"),t("#mainnav > div > ul > li > a").css("font-family",jQuery.parseJSON(e).font),t("head").append('<style id="sydney-preview-menu-weight-css" type="text/css">#mainnav > div > ul > li > a {font-weight:'+jQuery.parseJSON(e).regularweight+";}</style>")})}),wp.customize("headings_font_style",function(e){e.bind(function(e){t("h1,h2,h3,h4,h5,h6,.site-title").css("font-style",e)})}),wp.customize("headings_line_height",function(e){e.bind(function(e){t("h1,h2,h3,h4,h5,h6,.site-title").css("line-height",e)})}),wp.customize("headings_letter_spacing",function(e){e.bind(function(e){t("h1,h2,h3,h4,h5,h6,.site-title").css("letter-spacing",e+"px")})}),wp.customize("headings_text_transform",function(e){e.bind(function(e){t("h1,h2,h3,h4,h5,h6,.site-title").css("text-transform",e)})}),wp.customize("menu_items_text_transform",function(e){e.bind(function(e){t("#mainnav > div > ul > li > a").css("text-transform",e)})}),wp.customize("headings_text_decoration",function(e){e.bind(function(e){t("h1,h2,h3,h4,h5,h6,.site-title").css("text-decoration",e)})}),wp.customize("body_font_style",function(e){e.bind(function(e){t("body").css("font-style",e)})}),wp.customize("body_line_height",function(e){e.bind(function(e){t("body").css("line-height",e)})}),wp.customize("body_letter_spacing",function(e){e.bind(function(e){t("body").css("letter-spacing",e+"px")})}),wp.customize("body_text_transform",function(e){e.bind(function(e){t("body").css("text-transform",e)})}),wp.customize("body_text_decoration",function(e){e.bind(function(e){t("p, .posts-layout .entry-post").css("text-decoration",e)})}),wp.customize("swc_single_product_title_font_size",function(e){e.bind(function(e){t(".woocommerce .product-gallery-summary .product_title").css("font-size",e+"px")})}),wp.customize("swc_single_product_title_color",function(e){e.bind(function(e){t(".woocommerce .product-gallery-summary .product_title").css("color",e)})}),wp.customize("shop_cart_show_coupon_form",function(e){e.bind(function(e){e?t(".woocommerce-cart .coupon").css("display","block"):t(".woocommerce-cart .coupon").css("display","none")})}),wp.customize("shop_product_element_spacing",function(e){e.bind(function(e){t(".woocommerce ul.products li.product .col-md-7 > *,.woocommerce ul.products li.product .col-md-8 > *,.woocommerce ul.products li.product > *").css("margin-bottom",e+"px")})}),wp.customize("shop_sale_tag_radius",function(e){e.bind(function(e){t(".wc-block-grid__product-onsale, span.onsale").css("border-radius",e+"px")})}),wp.customize("shop_product_card_radius",function(e){e.bind(function(e){t(".woocommerce ul.products li.product").css("border-radius",e+"px")})}),wp.customize("shop_product_card_thumb_radius",function(e){e.bind(function(e){t(".woocommerce ul.products li.product .loop-image-wrap").css("border-radius",e+"px")})}),wp.customize("shop_product_card_border_size",function(e){e.bind(function(e){t(".woocommerce ul.products li.product").css("border-width",e+"px")})}),wp.customize("color_forms_placeholder",function(e){e.bind(function(e){t("head").find("#sydney-customizer-styles-color_forms_placeholder").remove();var o="input::placeholder {color:"+e+";opacity:1;} input:-ms-input-placeholder {color:"+e+";} input::-ms-input-placeholder {color:"+e+";}";t("head").append('<style id="sydney-customizer-styles-color_forms_placeholder">'+o+"</style>")})});var _=syd_data.post_types;t.each(_,function(e,o){wp.customize(o+"_boxed_content",function(e){e.bind(function(e){"unboxed"===e?t(".content-inner").css({padding:0,background:"transparent","box-shadow":"none"}):t(".content-inner").css({padding:60,background:"#fff","box-shadow":"0 0 15px 0 rgba(0,0,0,0.05)"})})}),wp.customize("sidebar_single_"+o+"_position",function(e){e.bind(function(e){"page"===o?t(".page").find(".content-area").removeClass("sidebar-left sidebar-right").addClass(e):t(".single-"+o).find(".content-area").removeClass("sidebar-left sidebar-right").addClass(e)})})});o=sydney_theme_options;t.each(o,function(e,n){wp.customize(n.option,function(e){e.bind(function(e,i){var s="";t.each(o,function(o,i){if(n.option===i.option){var r=void 0!==i.unit?i.unit:"";if(void 0!==i.condition&&void 0!==window.parent.window.wp.customize(i.condition)&&window.parent.window.wp.customize.control(i.condition).setting._value!==i.cond_value)return;e||(e="transparent"),r||(e=void 0!==i.rgba?hexToRGB(e,i.rgba):e),void 0===i.pseudo?"string"==typeof i.prop?t(i.selector).css(i.prop,e+r):t.each(i.prop,function(o,n){t(i.selector).css(n,e+r)}):"string"==typeof i.prop?s+=i.selector+"{ "+i.prop+": "+e+"!important; }":t.each(i.prop,function(t,o){s+=i.selector+"{ "+o+": "+e+"!important; }"})}}),s&&(t("#sydney-customizer-styles-misc-"+n.option).get(0)?t("#sydney-customizer-styles-misc-"+n.option).text(s):t("head").append('<style id="sydney-customizer-styles-misc-'+n.option+'">'+s+"</style>"))})})}),wp.customize("container_width",function(e){e.bind(function(e){t("head").find("#sydney-customizer-styles-container_width").remove();var o="@media (min-width: 1200px) { .container { width:100%;max-width: "+e+"px; } }";t("head").append('<style id="sydney-customizer-styles-container_width">'+o+"</style>")})}),wp.customize("narrow_container_width",function(e){e.bind(function(e){t("head").find("#sydney-customizer-styles-narrow_container_width").remove();var o="@media (min-width: 1200px) { .container-narrow { width:100%;max-width: "+e+"px; } }";t("head").append('<style id="sydney-customizer-styles-narrow_container_width">'+o+"</style>")})}),wp.customize("wrapper_top_padding",function(e){e.bind(function(e){t(".page-wrap").css("padding-top",e+"px")})}),wp.customize("wrapper_bottom_padding",function(e){e.bind(function(e){t(".page-wrap").css("padding-bottom",e+"px")})}),wp.customize("breadcrumbs_position",function(e){e.bind(function(e){"sydney_before_title"===e?t(".sydney-breadcrumb-trail").insertBefore(".entry-header").find(".container").css("padding","0"):t(".sydney-breadcrumb-trail").insertAfter("#masthead-mobile").find(".container").css("padding","0 15px")})}),wp.customize("scrolltop_position",function(e){e.bind(function(e){"left"===e?t(".go-top").removeClass("position-right").addClass("position-left").css("right","auto").css("left",""):t(".go-top").removeClass("position-left").addClass("position-right").css("left","auto").css("right","")})}),wp.customize("buttons_radius",function(e){e.bind(function(e){t('button,.roll-button,a.button,.wp-block-button__link,input[type="button"],input[type="reset"],input[type="submit"], .wp-block-button__link').css("border-radius",e+"px")})}),wp.customize("button_text_transform",function(e){e.bind(function(e){t('button,.roll-button,a.button,.wp-block-button__link,input[type="button"],input[type="reset"],input[type="submit"]').css("text-transform",e)})}),wp.customize("modal_popup_layout",function(e){e.bind(function(e){t(".sydney-popup-wrapper").removeClass("sydney-popup-wrapper--layout-style1 sydney-popup-wrapper--layout-style2 sydney-popup-wrapper--layout-style3").addClass("sydney-popup-wrapper--layout-"+e),"style3"===e?t(".sydney-popup-wrapper__content-side-image").hide():t(".sydney-popup-wrapper__content-side-image").show()})}),wp.customize("live_chat_position",function(e){e.bind(function(e){"left"===e?t(".sydney-whatsapp-live-chat").removeClass("live-chat-right").addClass("live-chat-left"):t(".sydney-whatsapp-live-chat").removeClass("live-chat-left").addClass("live-chat-right")})}),wp.customize("live_chat_popup_header_title",function(e){e.bind(function(e){t(".live-chat-popup-header").find("h5").text(e)})}),wp.customize("live_chat_whatsapp_cta",function(e){e.bind(function(e){t(".live-chat-popup-body").text(e)})}),wp.customize("live_chat_popup_button_text",function(e){e.bind(function(e){t(".live-chat-popup-button").text(e)})}),wp.customize("live_chat_terms",function(e){e.bind(function(e){t(".live-chat-terms").find("label").html(e)})}),wp.customize("live_chat_only_mobile",function(e){e.bind(function(e){!0===e?t(".sydney-whatsapp-live-chat").addClass("live-chat-mobile"):t(".sydney-whatsapp-live-chat").removeClass("live-chat-mobile")})}),wp.customize("live_chat_whatsapp",function(e){e.bind(function(e){t(".live-chat-popup-button").attr("href","https://wa.me/"+e)})}),
wp.customize("live_chat_whatsapp_initial_text",function(e){e.bind(function(e){var o=t(".live-chat-popup-button").attr("href");o=o.replace(/(\?text=)(.*)/,""),t(".live-chat-popup-button").attr("href",o+"?text="+e)})}),wp.customize("topbar_container",function(e){e.bind(function(e){"container"===e?t(".top-bar > div").removeClass("container-fluid").addClass("container"):t(".top-bar > div").removeClass("container").addClass("container-fluid")})}),wp.customize("topbar_delimiter",function(e){e.bind(function(e){"none"===e?t(".top-bar .header-elements").removeClass("delimiter-dot delimiter-vertical delimiter-horizontal").addClass("delimiter-none"):"dot"===e?t(".top-bar .header-elements").removeClass("delimiter-none delimiter-vertical delimiter-horizontal").addClass("delimiter-dot"):"vertical"===e?t(".top-bar .header-elements").removeClass("delimiter-none delimiter-dot delimiter-horizontal").addClass("delimiter-vertical"):"horizontal"===e&&t(".top-bar .header-elements").removeClass("delimiter-none delimiter-dot delimiter-vertical").addClass("delimiter-horizontal")})}),wp.customize("topbar_contact_mail",function(e){e.bind(function(e){t(".topbar_contact_mail span").text(e),t(".topbar_contact_mail").attr("href","mailto:"+e)})}),wp.customize("topbar_contact_phone",function(e){e.bind(function(e){t(".topbar_contact_phone span").text(e),t(".topbar_contact_phone").attr("href","tel:"+e)})}),wp.customize("topbar_text",function(e){e.bind(function(e){t(".topbar-text").text(e)})}),wp.customize("topbar_html_content",function(e){e.bind(function(e){t(".topbar-html").html(e)})}),wp.customize("header_layout_desktop",function(e){e.bind(function(e){t(".bottom-header-row").remove(),t("body").removeClass("has-header_layout_1 has-header_layout_2 has-header_layout_3 has-header_layout_4 has-header_layout_5 has-header_layout_6 has-header_layout_7").addClass("has-"+e)})}),wp.customize("header_container",function(e){e.bind(function(e){"container-fluid"===e?(t(".main-header > .container").removeClass("container").addClass("container-fluid"),t(".bottom-header-row > .container").removeClass("container").addClass("container-fluid")):(t(".main-header > .container-fluid").removeClass("container-fluid").addClass("container"),t(".bottom-header-row > .container-fluid").removeClass("container-fluid").addClass("container"))})}),wp.customize("main_header_menu_position",function(e){e.bind(function(e){t(".header-col.menu-col").removeClass("menu-left menu-center menu-right").addClass("menu-"+e)})}),wp.customize("enable_sticky_header",function(e){var o=wp.customize.instance("sticky_header_type").get();e.bind(function(e){!0===e?t(".main-header").addClass("sticky-header sticky-"+o):t(".main-header").removeClass("sticky-header sticky-always sticky-scrolltop")})}),wp.customize("enable_sticky_header_mobile",function(e){var o=wp.customize.instance("sticky_header_type").get();e.bind(function(e){!0===e?t(".mobile-header").addClass("sticky-header sticky-"+o):t(".mobile-header").removeClass("sticky-header sticky-always sticky-scrolltop")})});var h=["header_components_l1","header_components_l3left","header_components_l3right","header_components_l4top","header_components_l4bottom","header_components_l5topleft","header_components_l5topright","header_components_l5bottom","social_profiles_header_layouts_6_7"];t.each(h,function(e,o){wp.customize(o,function(e){e.bind(function(e){t(".bottom-header-row").remove()})})}),wp.customize("header_button_text",function(e){e.bind(function(e){t(".button.roll-button.header-item").text(e)})}),wp.customize("header_button_link",function(e){e.bind(function(e){t(".button.roll-button.header-item").attr("href",e)})}),wp.customize("header_contact_mail",function(e){e.bind(function(e){t(".header-contact-email span").text(e),t(".header-contact-email").attr("href","mailto:"+e)})}),wp.customize("header_contact_phone",function(e){e.bind(function(e){t(".header-contact-phone span").text(e),t(".header-contact-phone").attr("href","tel:"+e)})}),wp.customize("header_html_content",function(e){e.bind(function(e){t(".main-header .header-item.html-item").html(e)})}),wp.customize("header_logout_text",function(e){e.bind(function(e){t(".main-header .header-item .logout-link span").text(e)})}),wp.customize("topbar_logout_text",function(e){e.bind(function(e){t(".top-bar .header-item .logout-link span").text(e)})}),wp.customize("mobile_menu_breakpoint",function(e){e.bind(function(e){t("head").find("#sydney-customizer-styles-mobile_menu_breakpoint").remove();var o="@media only screen and (max-width: "+e+"px) {.bottom-header-row, .main-header,.mobile-logo-link ~ .desktop-logo-link { display: none; } .sydney-offcanvas-menu, .mobile-header, .mobile-logo-link { display: block; }}",n="@media only screen and (min-width: "+e+"1px) {#mainnav > div > ul,.bottom-header-row #mainnav > div > ul {align-items: initial;} #mainnav > div > ul { -ms-flex-wrap: wrap; flex-wrap: wrap; }}";t("head").append('<style id="sydney-customizer-styles-mobile_menu_breakpoint">'+o+n+"</style>")})}),wp.customize("header_offcanvas_mode",function(e){e.bind(function(e){"layout2"===e?t(".sydney-offcanvas-menu").css("max-width","100%"):t(".sydney-offcanvas-menu").css("max-width","")})}),wp.customize("mobile_menu_icon",function(e){e.bind(function(e){"mobile-icon1"===e?t(".menu-toggle i").html('<svg width="16" height="7" viewBox="0 0 16 7" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="16" height="1"/><rect y="6" width="16" height="1"/></svg>'):"mobile-icon2"===e?t(".menu-toggle i").html('<svg width="16" height="11" viewBox="0 0 16 11" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="16" height="1"/><rect y="5" width="16" height="1"/><rect y="10" width="16" height="1"/></svg>'):"mobile-icon3"===e?t(".menu-toggle i").html('<svg width="16" height="11" viewBox="0 0 16 11" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="16" height="1"/><rect y="5" width="10" height="1"/><rect y="10" width="16" height="1"/></svg>'):"mobile-icon4"===e&&t(".menu-toggle i").html('<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><rect y="7" width="14" height="1"/><rect x="7.5" y="0.5" width="14" height="1" transform="rotate(90 7.5 0.5)"/></svg>')})}),wp.customize("sidebar_archives_position",function(e){e.bind(function(e){t(".content-area.archive-wrapper").removeClass("sidebar-left sidebar-right").addClass(e)})}),wp.customize("archive_title_container",function(e){e.bind(function(e){t(".page-banner > .container").removeClass("container").addClass(e),t(".page-banner > .container-fluid").removeClass("container-fluid").addClass(e),"container-fluid"===e?t(".page-wrap").css("padding-top","0"):t(".page-wrap").css("padding-top","")})}),wp.customize("feat_image_hover",function(e){e.bind(function(e){t(".posts-layout .entry-thumb").removeClass("hover-effect-opacity hover-effect-zoom hover-effect-rotate hover-effect-none").addClass("hover-effect-"+e)})}),wp.customize("archive_text_align",function(e){e.bind(function(e){t(".posts-layout article").removeClass("post-align-left post-align-center post-align-right").addClass("post-align-"+e)})}),wp.customize("archive_meta_elements",function(t){t.bind(function(t){var e={updated_date:["archive_before_updated_date_text"],custom_field:["post_archive_custom_field_before_div","post_archive_custom_field_title","post_archive_before_custom_field","post_archive_custom_field","post_archive_after_custom_field"],reading_time:["reading_time_title","reading_time_speed","reading_time_before","reading_time_after"],post_author:["show_avatar"]};for(var o in e)t.includes(o)?showControls(e[o]):hideControls(e[o])})}),wp.customize("read_more_link",function(t){t.bind(function(t){var e=["read_more_text","read_more_display"];!0===t?showControls(e):hideControls(e)})}),wp.customize("show_excerpt",function(t){t.bind(function(t){var e=["archive_content_type","exc_lenght","read_more_link","read_more_text","read_more_display"];!0===t?showControls(e):hideControls(e)})}),wp.customize("pagination_display",function(e){e.bind(function(e){if(t("#sydney-customizer-styles-pagination_display").remove(),"circle"===e)var o=".woocommerce nav.woocommerce-pagination ul li .page-numbers, .nav-links .page-numbers { border-radius: 50%;}";else o=".woocommerce nav.woocommerce-pagination ul li .page-numbers, .nav-links .page-numbers { border-radius: 0;}";t("head").append('<style id="sydney-customizer-styles-pagination_display">'+o+"</style>")})}),wp.customize("pagination_align",function(e){e.bind(function(e){t(".navigation.pagination").css("text-align",e)})}),wp.customize("post_header_container",function(e){e.bind(function(e){t(".single-post .page-banner > .container").removeClass("container").addClass(e),t(".single-post .page-banner > .container-fluid").removeClass("container-fluid").addClass(e),"container-fluid"===e?t(".single-post .page-wrap").css("padding-top","0"):t(".single-post .page-wrap").css("padding-top","")})}),wp.customize("single_post_show_related_posts",function(t){t.bind(function(t){var e=["related_posts_title","related_posts_number","related_posts_columns"];!0===t?showControls(e):hideControls(e)})}),wp.customize("enable_post_sharing",function(t){t.bind(function(t){var e=["single_post_share_title","single_post_sharing_networks"];!0===t?showControls(e):hideControls(e)})}),wp.customize("footer_background_image",function(e){e.bind(function(e){var o=wp.customize.instance("footer_background_overlay").get();e?(t(".footer-wrapper").css("background-image","url("+e+")"),t(".site-footer, .footer-widgets, .footer-separator div").css("background",o)):(t(".footer-wrapper").css("background-image",""),t(".site-footer, .footer-widgets, .footer-separator div").css("background",""))})}),wp.customize("footer_container",function(e){e.bind(function(e){"container"===e?t("#sidebar-footer > div").removeClass("container-fluid").addClass("container"):t("#sidebar-footer > div").removeClass("container").addClass("container-fluid")})}),wp.customize("footer_widgets_alignment",function(e){e.bind(function(e){t(".footer-widgets-grid").removeClass("align-top align-middle align-bottom").addClass("align-"+e)})}),wp.customize("footer_credits_container",function(e){e.bind(function(e){"container"===e?t(".site-footer > div").removeClass("container-fluid").addClass("container"):t(".site-footer > div").removeClass("container").addClass("container-fluid")})}),t.each([1,2,3,4,5,6,7,8,9],function(e){wp.customize("global_color_"+e,function(o){o.bind(function(o){t("html").css("--sydney-global-color-"+e,o),t("html").css("--e-global-color-global_color_"+e,o)})})})})(jQuery);