!function(e){var t={};function i(n){if(t[n])return t[n].exports;var c=t[n]={i:n,l:!1,exports:{}};return e[n].call(c.exports,c,c.exports,i),c.l=!0,c.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)i.d(n,c,function(t){return e[t]}.bind(null,c));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=302)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.wp.i18n},11:function(e,t){e.exports=window.yoast.styledComponents},12:function(e,t){function i(){return e.exports=i=Object.assign||function(e){for(var t=1;twpseoApi.post("alerts/dismiss",{key:t},()=>e()))}i.r(t),i.d(t,"DISMISS_ALERT",(function(){return n}))},135:function(e,t,i){"use strict";var n=i(20),c=i(5);const o=Object(n.compose)([Object(c.withSelect)((e,t)=>{const{isAlertDismissed:i}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:i(t.alertKey)}}),Object(c.withDispatch)((e,t)=>{const{dismissAlert:i}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>i(t.alertKey)}})]);t.a=o},16:function(e,t){e.exports=window.yoast.externals.redux},168:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i(1),c=i(4);function o(e){function t(){e("#copy-home-meta-description").on("click",(function(){e("#open_graph_frontpage_desc").val(e("#meta_description").val())}))}function i(){var t=e("#wpseo-conf");if(t.length){var i=t.attr("action").split("#")[0];t.attr("action",i+window.location.hash)}}function o(){var t=window.location.hash.replace("#top#","");-1!==t.search("#top")&&(t=window.location.hash.replace("#top%23","")),""!==t&&"#"!==t.charAt(0)||(t=e(".wpseotab").attr("id")),e("#"+t).addClass("active"),e("#"+t+"-tab").addClass("nav-tab-active").trigger("click")}function a(t){const i=e("#noindex-author-noposts-wpseo-container");t?i.show():i.hide()}e.fn._wpseoIsInViewport=function(){const t=e(this).offset().top,i=t+e(this).outerHeight(),n=e(window).scrollTop(),c=n+e(window).height();return t>n&&i{e(this).is(":checked")||a(!1)}),r.on("change",()=>{e(this).is(":checked")||a(!0)}),e("#disable-date input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#date-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change"),e("#disable-attachment input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#media_settings").toggle("off"===e(this).val())})).trigger("change"),e("#disable-post_format").on("change",(function(){e("#post_format-titles-metas").toggle(e(this).is(":not(:checked)"))})).trigger("change"),e("#zapier_integration_active input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#zapier-connection").toggle("on"===e(this).val())})).trigger("change"),e("#wincher_integration_active input[type='radio']").change((function(){e(this).is(":checked")&&e("#wincher-connection").toggle("on"===e(this).val())})).change(),e("#wpseo-tabs").find("a").on("click",(function(t){var i,c,o,a=!0;if(i=e(this),c=!!e("#first-time-configuration-tab").filter(".nav-tab-active").length,o=!!i.filter("#first-time-configuration-tab").length,c&&!o&&window.isStepBeingEdited&&(a=confirm(Object(n.__)("There are unsaved changes in one or more steps. Leaving means that those changes may not be saved. Are you sure you want to leave?","wordpress-seo"))),a){window.isStepBeingEdited=!1,e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var r=e(this).attr("id").replace("-tab",""),s=e("#"+r);s.addClass("active"),e(this).addClass("nav-tab-active"),s.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change"),"first-time-configuration"===r?e("#yoast-first-time-configuration-notice").slideUp():e("#yoast-first-time-configuration-notice").slideDown()}else t.preventDefault(),e("#first-time-configuration-tab").trigger("focus")})),e("#yoast-first-time-configuration-notice a").on("click",(function(){e("#first-time-configuration-tab").click()})),e("#company_or_person").on("change",(function(){var t=e(this).val();"company"===t?(e("#knowledge-graph-company").show(),e("#knowledge-graph-person").hide()):"person"===t?(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").show()):(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").hide())})).trigger("change"),e(".switch-yoast-seo input").on("keydown",(function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()})),e("body").on("click","button.toggleable-container-trigger",t=>{const i=e(t.currentTarget),n=i.parent().siblings(".toggleable-container");n.toggleClass("toggleable-container-hidden"),i.attr("aria-expanded",!n.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")});const l=e("#opengraph"),d=e("#wpseo-opengraph-settings");l.length&&d.length&&(d.toggle(l[0].checked),l.on("change",e=>{d.toggle(e.target.checked)})),t(),o(),function(){if(!e("#enable_xml_sitemap input[type=radio]").length)return;const t=e("#yoast-seo-sitemaps-disabled-warning");e("#enable_xml_sitemap input[type=radio]").on("change",(function(){"off"===this.value?t.show():t.hide()}))}(),function(){const t=e("#wpseo-submit-container-float"),i=e("#wpseo-submit-container-fixed");if(!t.length||!i.length)return;function n(){t._wpseoIsInViewport()?i.hide():i.show()}e(window).on("resize scroll",Object(c.debounce)(n,100)),e(window).on("yoast-seo-tab-change",n);const o=e(".wpseo-message");o.length&&window.setTimeout(()=>{o.fadeOut()},5e3),n()}(),"undefined"!=typeof ClipboardJS&&new ClipboardJS("#copy-zapier-api-key").on("success",(function(t){t.clearSelection(),e(t.trigger).trigger("focus")}))}))}},169:function(e,t,i){"use strict";function n(e){e(document).ready((function(e){void 0!==wp.media&&e(".wpseo_image_upload_button").each((function(t,i){const n=function(t){let i=(t=e(t)).data("target");return i&&""!==i||(i=e(t).attr("id").replace(/_button$/,"")),i}(i),c=e(i).data("target-id"),o=e("#"+n),a=e("#"+c);var r=wp.media.frames.file_frame=wp.media({title:wpseoScriptData.media.choose_image,button:{text:wpseoScriptData.media.choose_image},multiple:!1,library:{type:"image"}});r.on("select",(function(){var e=r.state().get("selection").first().toJSON();o.val(e.url),a.val(e.id)}));const s=e(i);s.click((function(e){e.preventDefault(),r.open()})),s.siblings(".wpseo_image_remove_button").on("click",e=>{e.preventDefault(),o.val(""),a.val("")})}))}))}i.d(t,"a",(function(){return n}))},171:function(e,t,i){"use strict";var n=i(12),c=i.n(n),o=i(0),a=i(1),r=i(5),s=i(2),l=i.n(s),d=i(135);const p=e=>{let{children:t,id:i,hasIcon:n=!0,title:c,image:r=null,isAlertDismissed:s,onDismissed:l}=e;return s?null:Object(o.createElement)("div",{id:i,className:"notice-yoast yoast is-dismissible"},Object(o.createElement)("div",{className:"notice-yoast__container"},Object(o.createElement)("div",null,Object(o.createElement)("div",{className:"notice-yoast__header"},n&&Object(o.createElement)("span",{className:"yoast-icon"}),Object(o.createElement)("h2",{className:"notice-yoast__header-heading"},c)),Object(o.createElement)("p",null,t)),r&&Object(o.createElement)(r,{height:"60"})),Object(o.createElement)("button",{className:"notice-dismiss",onClick:l},Object(o.createElement)("span",{className:"screen-reader-text"},Object(a.__)("Dismiss this notice.","wordpress-seo"))))};p.propTypes={children:l.a.node.isRequired,id:l.a.string.isRequired,hasIcon:l.a.bool,title:l.a.string.isRequired,image:l.a.elementType,isAlertDismissed:l.a.bool.isRequired,onDismissed:l.a.func.isRequired};var f,u,m,h,g,w,b,y,v,E,x,_,O,j,k,S,z,M,D,A,C,P,T,R,I,N,q,B,F,J,L,K,H,U,V,Q,W,Y,$,G,X,Z,ee,te,ie,ne,ce,oe=Object(d.a)(p),ae=i(3);function re(){return(re=Object.assign||function(e){for(var t=1;t{let{store:t="yoast-seo/editor",image:i=se,url:n,...s}=e;return Object(r.useSelect)(e=>e(t).getIsPremium())?null:Object(o.createElement)(oe,c()({alertKey:"webinar-promo-notification",store:t,id:"webinar-promo-notification",title:Object(a.__)("Join our FREE webinar for SEO success","wordpress-seo"),image:i,url:n},s),Object(a.__)("Feeling lost when it comes to optimizing your site for the search engines? Join our FREE webinar to gain the confidence that you need in order to start optimizing like a pro! You'll obtain the knowledge and tools to start effectively implementing SEO.","wordpress-seo")," ",Object(o.createElement)("a",{href:n,target:"_blank",rel:"noreferrer"},Object(a.__)("Sign up today!","wordpress-seo")))};le.propTypes={store:l.a.string,image:l.a.elementType,url:l.a.string.isRequired},t.a=le},2:function(e,t){e.exports=window.yoast.propTypes},20:function(e,t){e.exports=window.wp.compose},21:function(e,t){e.exports=window.jQuery},3:function(e,t){e.exports=window.React},302:function(e,t,i){"use strict";i.r(t);var n=i(52),c=i.n(n),o=i(21),a=i.n(o),r=i(168),s=i(169),l=i(5),d=i(16),p=i(4),f=i(131);const{dismissedAlerts:u,isPremium:m}=d.reducers,{isAlertDismissed:h,getIsPremium:g}=d.selectors,{dismissAlert:w,setDismissedAlerts:b,setIsPremium:y}=d.actions;var v,E=i(0),x=i(11),_=i(171);Object(r.a)(a.a),wpseoScriptData&&(void 0!==wpseoScriptData.media&&Object(s.a)(a.a),void 0!==wpseoScriptData.dismissedAlerts&&((v=Object(l.registerStore)("yoast-seo/settings",{reducer:Object(l.combineReducers)({dismissedAlerts:u,isPremium:m}),selectors:{isAlertDismissed:h,getIsPremium:g},actions:{dismissAlert:w,setDismissedAlerts:b,setIsPremium:y},controls:f})).dispatch(b(Object(p.get)(window,"wpseoScriptData.dismissedAlerts",{}))),v.dispatch(y(Boolean(Object(p.get)(window,"wpseoScriptData.isPremium",!1))))),c()(()=>{(()=>{const e=document.getElementById("yst-settings-header-root"),t=Boolean(Object(p.get)(window,"wpseoScriptData.isRtl",!1)),i=Object(p.get)(window,"wpseoScriptData.webinarIntroSettingsUrl","https://yoa.st/webinar-intro-settings");e&&Object(E.render)(Object(E.createElement)(x.ThemeProvider,{theme:{isRtl:t}},Object(E.createElement)(_.a,{store:"yoast-seo/settings",url:i})),e)})()}))},4:function(e,t){e.exports=window.lodash},5:function(e,t){e.exports=window.wp.data},52:function(e,t){e.exports=window.wp.domReady}});