yoastWebpackJsonp([16],{2152:function(e,t,a){"use strict";var n=a(813),o=function(e){return e&&e.__esModule?e:{default:e}}(n);!function(){function e(e){var t=!1,a="",n=[],r=["userid","name","user_description"],i=["date"],s=["title","parent_title","excerpt","excerpt_only","caption","focuskw","pt_single","pt_plural","modified","id"],c=["term404","searchphrase"],l=["term_title","term_description"],u=["category","category_description","tag","tag_description"];e.hasClass("posttype-template")?n=n.concat(c,l):e.hasClass("homepage-template")?n=n.concat(r,i,s,c,l,u):e.hasClass("taxonomy-template")?n=n.concat(r,i,s,c):e.hasClass("author-template")?n=n.concat(s,i,c,l,u):e.hasClass("date-template")?n=n.concat(r,s,c,l,u):e.hasClass("search-template")?n=n.concat(r,i,s,l,u,["term404"]):e.hasClass("error404-template")&&(n=n.concat(r,i,s,l,u,["searchphrase"])),jQuery.each(n,function(n,r){if(a=e.attr("id")+"-"+r+"-warning",-1!==e.val().search("%%"+r+"%%")){e.addClass("wpseo-variable-warning-element");var i=wpseoAdminGlobalL10n.variable_warning.replace("%s","%%"+r+"%%");jQuery("#"+a).length?jQuery("#"+a).html(i):e.after('
'+i+"
"),(0,o.default)(wpseoAdminGlobalL10n.variable_warning.replace("%s",r),"assertive"),t=!0}else jQuery("#"+a).length&&jQuery("#"+a).remove()}),!1===t&&e.removeClass("wpseo-variable-warning-element")}function t(e,t,a,n){jQuery.post(ajaxurl,{action:"wpseo_set_option",option:e,newval:t,_wpnonce:n},function(e){e&&jQuery("#"+a).hide()})}function a(){jQuery("#copy-home-meta-description").on("click",function(){jQuery("#og_frontpage_desc").val(jQuery("#meta_description").val())})}function n(){var e=jQuery("#wpseo-conf");if(e.length){var t=e.attr("action").split("#")[0];e.attr("action",t+window.location.hash)}}function r(){jQuery("#company_or_person").select2({width:"400px",language:wpseoSelect2Locale}),jQuery("#twitter_card_type").select2({width:"400px",language:wpseoSelect2Locale}),jQuery("#breadcrumbs select").select2({width:"400px",language:wpseoSelect2Locale}),jQuery("#profile").select2({width:"400px",language:wpseoSelect2Locale})}function i(){var e=window.location.hash.replace("#top#","");-1!==e.search("#top")&&(e=window.location.hash.replace("#top%23","")),""!==e&&"#"!==e.charAt(0)||(e=jQuery(".wpseotab").attr("id")),jQuery("#"+e).addClass("active"),jQuery("#"+e+"-tab").addClass("nav-tab-active").click()}jQuery(window).on("hashchange",n),window.wpseoDetectWrongVariables=e,window.setWPOption=t,window.wpseoCopyHomeMeta=a,window.wpseoSetTabHash=n,jQuery(document).ready(function(){n(),jQuery("#disable-author input[type='radio']").change(function(){jQuery(this).is(":checked")&&jQuery("#author-archives-titles-metas-content").toggle("off"===jQuery(this).val())}).change(),jQuery("#disable-date input[type='radio']").change(function(){jQuery(this).is(":checked")&&jQuery("#date-archives-titles-metas-content").toggle("off"===jQuery(this).val())}).change(),jQuery("#disable-attachment input[type='radio']").change(function(){jQuery(this).is(":checked")&&jQuery("#media_settings").toggle("off"===jQuery(this).val())}).change(),jQuery("#disable-post_format").change(function(){jQuery("#post_format-titles-metas").toggle(jQuery(this).is(":not(:checked)"))}).change(),jQuery("#breadcrumbs-enable").change(function(){jQuery("#breadcrumbsinfo").toggle(jQuery(this).is(":checked"))}).change(),jQuery("#wpseo-tabs").find("a").click(function(){jQuery("#wpseo-tabs").find("a").removeClass("nav-tab-active"),jQuery(".wpseotab").removeClass("active");var e=jQuery(this).attr("id").replace("-tab",""),t=jQuery("#"+e);t.addClass("active"),jQuery(this).addClass("nav-tab-active"),t.hasClass("nosave")?jQuery("#submit").hide():jQuery("#submit").show()}),jQuery("#company_or_person").change(function(){var e=jQuery(this).val();"company"===e?(jQuery("#knowledge-graph-company").show(),jQuery("#knowledge-graph-person").hide()):"person"===e?(jQuery("#knowledge-graph-company").hide(),jQuery("#knowledge-graph-person").show()):(jQuery("#knowledge-graph-company").hide(),jQuery("#knowledge-graph-person").hide())}).change(),jQuery(".template").on("input",function(){e(jQuery(this))}),jQuery(".switch-yoast-seo input").on("keydown",function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()}),jQuery("body").on("click","button.toggleable-container-trigger",function(e){var t=jQuery(e.currentTarget),a=t.parent().siblings(".toggleable-container");a.toggleClass("toggleable-container-hidden"),t.attr("aria-expanded",!a.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")}),a(),i(),r()})}()},813:function(e,t){var a,n,o="",r=function(e){e=e||"polite";var t=document.createElement("div");t.id="a11y-speak-"+e,t.className="a11y-speak-region";return t.setAttribute("style","clip: rect(1px, 1px, 1px, 1px); position: absolute; height: 1px; width: 1px; overflow: hidden; word-wrap: normal;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t};!function(e){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return e();document.addEventListener("DOMContentLoaded",e)}(function(){a=document.getElementById("a11y-speak-polite"),n=document.getElementById("a11y-speak-assertive"),null===a&&(a=r("polite")),null===n&&(n=r("assertive"))});var i=function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t]+>/g," "),o===e&&(e+=" "),o=e,n&&"assertive"===t?n.textContent=e:a&&(a.textContent=e)};e.exports=s}},[2152]);