File: /home/bt667/public_html/wp-content/themes/news-event/inc/customizer/assets/extras.min.js
!function(n,e){const{ajaxUrl:t,_wpnonce:o,custom_callback:c,custom:i}=customizerExtrasObject;e.each(c,(function(n,t){wp.customize(n,(function(n){n.bind((function(n){e.each(t,(function(t,o){JSON.stringify(n)==t?e.each(o,(function(n,e){wp.customize.control(e).activate()})):e.each(o,(function(n,e){wp.customize.control(e).deactivate()}))})),n in t&&e.each(t[n],(function(n,e){wp.customize.control(e).activate()}))}))}))})),e(document).on("click",".customize-info-box-action-control .info-box-button",(function(){var n=e(this),c=n.data("action"),i=n.html();e.ajax({method:"post",url:t,data:{action:c,_wpnonce:o},beforeSend:function(e){n.html("Processing"),n.attr("disabled",!0)},success:function(e){n.html(i)},complete:function(){window.location.reload()}})})),e.each(i,(function(e,t){["news_event_blog_post_archive_panel","news_event_single_panel"].includes(e)?n.panel(e,(function(e){e.expanded.bind((function(e){e&&n.previewer.previewUrl.set(t)}))})):n.section(e,(function(e){e.expanded.bind((function(o){const{id:c}=e;"news_event_blog_post_archive_panel"===c&&n.previewer.previewUrl()===t||o&&n.previewer.previewUrl.set(t)}))}))}))}(wp.customize,jQuery);