!function(e){var n=wp.customize,i=!1,t=!1;n.bind("pane-contents-reflowed",function(){i&&i.hide(),t&&t.show()}),e(function(){n.previewer.bind("page-settings",function(n){var o=e("#accordion-section-page_settings_"+n[0]+"_"+n[1]),c=e('[id^="accordion-section-page_settings_"]').not('[id$="template_404"], [id$="template_search"]');e('[id^="accordion-section-page_settings_"].open');i=c.not(o).hide(),t=o.show(),i.filter(".open").length&&i.filter(".open").find(".customize-section-back").click()})})}(jQuery);