text: jQuery(function(t){t(".accordion").accordion({clearStyle:!0,autoHeight:!1,heightStyle:"content",collapsible:!0,icons:{header:"ui-icon-triangle-1-s",activeHeader:"ui-icon-triangle-1-n"}}),t('input[type="submit"], button[type="submit"]').click(function(e){var i=t(this),n=!1;if((n=i.attr("data-confirm"))&&!confirm(n))return void e.preventDefault();if(i.attr("name").indexOf("_proxy")!=-1){var a=i.attr("data-proxy-value");a||(a=i.attr("value"));var r=i.attr("name").replace("_proxy",""),l=t('input[name="'+r+'"]');l.length>0?l.val(a):(l=t("<input/>").attr({type:"hidden",name:r,value:a}),i.parents("form").append(l))}}),t(".nextgen_advanced_toggle_link").on("click",function(e){e.preventDefault();var i="#"+t(this).attr("rel"),n=t(this);t(i).toggle(500,"swing",function(){t(this).hasClass("hidden")?(t(this).removeClass("hidden"),n.text(n.attr("active_label"))):(t(this).addClass("hidden"),n.text(n.attr("hidden_label")))})}),t("input.nextgen_settings_field_colorpicker").wpColorPicker(),t("#ngg_page_content").css("visibility","visible")});