(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[11],{434:function(o,t,a){"use strict";!function(o){function t(){o("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),o(".yoast-issue-added").fadeOut(200)}function a(t,a){if(o(".yoast-alert-holder").off("click",".restore").off("click",".dismiss"),void 0!==a.html){a.html&&(t.closest(".yoast-container").html(a.html),e());var s=o("#wp-admin-bar-wpseo-menu"),n=s.find(".yoast-issue-counter");n.length||(s.find("> a:first-child").append('
'),n=s.find(".yoast-issue-counter")),n.html(a.total),0===a.total?n.hide():n.show(),o("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+a.total),o("#toplevel_page_wpseo_dashboard .plugin-count").html(a.total)}}function e(){var t=o(".yoast-alert-holder");t.on("click",".dismiss",function(){var t=o(this),e=t.closest(".yoast-alert-holder");t.closest(".yoast-container").append(''),o.post(ajaxurl,{action:"yoast_dismiss_alert",notification:e.attr("id"),nonce:e.data("nonce"),data:e.data("json")},a.bind(this,e),"json")}),t.on("click",".restore",function(){var t=o(this),e=t.closest(".yoast-alert-holder");t.closest(".yoast-container").append(''),o.post(ajaxurl,{action:"yoast_restore_alert",notification:e.attr("id"),nonce:e.data("nonce"),data:e.data("json")},a.bind(this,e),"json")})}function s(o){o.is(":hidden")||(o.outerWidth()>o.parent().outerWidth()?(o.data("scrollHint").addClass("yoast-has-scroll"),o.data("scrollContainer").addClass("yoast-has-scroll")):(o.data("scrollHint").removeClass("yoast-has-scroll"),o.data("scrollContainer").removeClass("yoast-has-scroll")))}function n(){window.wpseoScrollableTables=o(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each(function(){var t=o(this);if(!t.data("scrollContainer")){var a=o("",{class:"yoast-table-scrollable__hintwrapper",html:""}).insertBefore(t),e=o("",{class:"yoast-table-scrollable__container",html:""}).insertBefore(t);a.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),t.data("scrollContainer",e),t.data("scrollHint",a),t.appendTo(e.find(".yoast-table-scrollable__inner")),s(t)}})}jQuery(document).ready(function(){if(void 0!==window.wpseoConsoleNotifications&&"undefined"!=typeof console)for(var o=0;o