(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[5],{375:function(e,t,a){"use strict";!function(e){function t(e){e&&(e.focus(),e.click())}function a(){var e=jQuery(".yoast-aria-tabs"),a=e.find("[role='tab']"),s=e.attr("aria-orientation")||"horizontal";a.attr({"aria-selected":!1,tabIndex:"-1"}),a.filter(".yoast-active-tab").removeAttr("tabindex").attr("aria-selected","true"),a.on("keydown",function(e){-1!==[32,35,36,37,38,39,40].indexOf(e.which)&&("horizontal"===s&&-1!==[38,40].indexOf(e.which)||"vertical"===s&&-1!==[37,39].indexOf(e.which)||function(e,a){var s=e.which,o=a.index(jQuery(e.target));switch(s){case 32:e.preventDefault(),t(a[o]);break;case 35:e.preventDefault(),t(a[a.length-1]);break;case 36:e.preventDefault(),t(a[0]);break;case 37:case 38:e.preventDefault(),t(a[o-1<0?a.length-1:o-1]);break;case 39:case 40:e.preventDefault(),t(a[o+1===a.length?0:o+1])}}(e,a))})}function s(){var e=jQuery("#wpseo-meta-section-addons .wpseo_tablink");if(1===e.length&&e.replaceWith("<span class='"+e[0].className+"'>"+e.text()+"</span>"),jQuery(".wpseo-metabox-tabs-div").length>0&&jQuery(".wpseo-metabox-tabs").on("click","a.wpseo_tablink",function(e){e.preventDefault(),jQuery(".wpseo-meta-section.active .wpseo-metabox-tabs li").removeClass("active"),jQuery(".wpseo-meta-section.active .wpseotab").removeClass("active");var t=jQuery(jQuery(this).attr("href"));t.addClass("active"),jQuery(this).parent("li").addClass("active"),jQuery(this).hasClass("scroll")&&jQuery("html, body").animate({scrollTop:jQuery(t).offset().top},500)}),jQuery(".wpseo-meta-section").length>0){var t=jQuery(".wpseo-meta-section-link");jQuery(".wpseo-metabox-menu li").filter(function(){return"#wpseo-meta-section-content"===jQuery(this).find(".wpseo-meta-section-link").attr("href")}).addClass("active").find("[role='tab']").addClass("yoast-active-tab"),jQuery("#wpseo-meta-section-content, .wpseo-meta-section-react").addClass("active"),t.on("click",function(e){var a=jQuery(this).attr("href"),s=jQuery(a);e.preventDefault(),jQuery(".wpseo-metabox-menu li").removeClass("active").find("[role='tab']").removeClass("yoast-active-tab"),jQuery(".wpseo-meta-section").removeClass("active"),jQuery(".wpseo-meta-section-react.active").removeClass("active"),"#wpseo-meta-section-content"===a&&jQuery(".wpseo-meta-section-react").addClass("active"),s.addClass("active"),jQuery(this).parent("li").addClass("active").find("[role='tab']").addClass("yoast-active-tab"),function(e,t){e&&(function(e){e.attr({"aria-selected":"false",tabIndex:"-1"})}(t),e.removeAttribute("tabindex"),e.setAttribute("aria-selected","true"))}(this,t)})}jQuery(".wpseo-metabox-tabs").show()}window.wpseoInitTabs=s,window.wpseo_init_tabs=s,jQuery(document).ready(function(){jQuery(".wpseo-meta-section").each(function(e,t){jQuery(t).find(".wpseo-metabox-tabs li:first").addClass("active"),jQuery(t).find(".wpseotab:first").addClass("active")}),window.wpseo_init_tabs(),a(),e("#yoast_wpseo_meta-robots-noindex").select2({width:"100%",language:wpseoSelect2Locale}),e("#yoast_wpseo_meta-robots-adv").select2({width:"100%",language:wpseoSelect2Locale})})}(jQuery)}},[[375,0]]]);