(function(a){wp.customize.bind("preview-ready",function(){wp.customize.preview.bind("section-highlight-footerwidgets",function(b){if(true===b.expanded){a(".top-footer-wrap").addClass("panel-placeholder-focus");a(".panel-placeholder.footerwidgets").slideDown("slow");Foundation.SmoothScroll.scrollToLoc("#footer",{threshold:50,duration:400,offset:100},function(){console.log("scrolled")})}else{a(".top-footer-wrap").removeClass("panel-placeholder-focus");a(".panel-placeholder.footerwidgets").fadeOut("slow")}})});wp.customize("blogname",function(b){b.bind(function(c){a(".site-title a").text(c)})});wp.customize("blogdescription",function(b){b.bind(function(c){a(".site-description").text(c)})});wp.customize("azeen_footertext",function(b){b.bind(function(c){a(".footer-copy .top-bar-left p").text(c)})})}(jQuery));