%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/businessmultisite/wp-content/plugins/wordpress-seo/js/dist/
Upload File :
Create Path :
Current File : /var/www/businessmultisite/wp-content/plugins/wordpress-seo/js/dist/workouts.js

!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=209)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.React},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.yoast.helpers},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(46);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(34).default,o=n(10);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.components},,function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t,n){var r=n(70),o=n(71),a=n(41),i=n(72);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(60),o=n(61),a=n(41),i=n(62);e.exports=function(e,t){return r(e)||o(e,t)||a(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},,,function(e,t){e.exports=window.yoast.externals.contexts},,,,function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r={configuration:"configuration",cornerstone:"cornerstone",orphaned:"orphaned"},o={configuration:{optimizeSeoData:"optimizeSeoData",siteRepresentation:"siteRepresentation",socialProfiles:"socialProfiles",enableTracking:"enableTracking",newsletterSignup:"newsletterSignup"},cornerstone:{chooseCornerstones:"chooseCornerstones",checkLinks:"checkLinks",addLinks:"addLinks",improved:"improved",skipped:"skipped"},orphaned:{improveRemove:"improveRemove",update:"update",addLinks:"addLinks",removed:"removed",noindexed:"noindexed",improved:"improved",skipped:"skipped"}},a={configuration:[o.configuration.optimizeSeoData,o.configuration.siteRepresentation,o.configuration.socialProfiles,o.configuration.enableTracking,o.configuration.newsletterSignup],cornerstone:[o.cornerstone.chooseCornerstones,o.cornerstone.checkLinks,o.cornerstone.addLinks],orphaned:[o.orphaned.improveRemove,o.orphaned.update,o.orphaned.addLinks]}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){var r=n(84);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){var r=n(39);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){"use strict";n.d(t,"a",(function(){return Ke})),n.d(t,"b",(function(){return Xe})),n.d(t,"c",(function(){return Je})),n.d(t,"d",(function(){return Qe}));var r,o=n(3),a=n(14),i=n(12),s=n.n(i),c=n(13),l=n.n(c),u=n(10),p=n.n(u),d=n(16),f=n.n(d),m=n(17),h=n.n(m),b=n(11),g=n.n(b),w=n(8),y=n.n(w),O=n(0),v=n(4),E=n.n(v),k=n(1),j=n.n(k),x=n(7),_=n.n(x),S=_.a.p(r||(r=y()(["\n\tcolor: #606770;\n\tflex-shrink: 0;\n\tfont-size: 12px;\n\tline-height: 16px;\n\toverflow: hidden;\n\tpadding: 0;\n\ttext-overflow: ellipsis;\n\ttext-transform: uppercase;\n\twhite-space: nowrap;\n\tmargin: 0;\n\tposition: ",";\n"])),(function(e){return"landscape"===e.mode?"relative":"static"})),M=function(e){var t=e.siteUrl;return Object(O.createElement)(v.Fragment,null,Object(O.createElement)("span",{className:"screen-reader-text"},t),Object(O.createElement)(S,{"aria-hidden":"true"},Object(O.createElement)("span",null,t)))};M.propTypes={siteUrl:j.a.string.isRequired};var z,P,R,C=M,I=n(15),T=n.n(I),F=n(9),A=n.n(F),D=n(2),L=n(23),B=_.a.img(z||(z=y()(["\n\t&& {\n\t\tmax-width: ","px;\n\t\theight: ","px;\n\t\tposition: absolute;\n\t\ttop: 50%;\n\t\tleft: 50%;\n\t\ttransform: translate(-50%, -50%);\n\t\tmax-width: none;\n\t}\n"])),(function(e){return e.width}),(function(e){return e.height})),U=_.a.img(P||(P=y()(["\n\t&&{\n\t\theight: 100%;\n\t\tposition: absolute;\n\t\twidth: 100%;\n\t\tobject-fit: cover;\n\t}\n"]))),W=_.a.div(R||(R=y()(["\n\tpadding-bottom: ","%;\n"])),(function(e){return e.aspectRatio})),N=function(e){var t=e.imageProps,n=e.width,r=e.height;return"landscape"===e.imageMode?Object(O.createElement)(W,{aspectRatio:t.aspectRatio},Object(O.createElement)(U,{src:t.src,alt:t.alt})):Object(O.createElement)(B,{src:t.src,alt:t.alt,width:n,height:r,imageProperties:t})};N.propTypes={imageProps:j.a.shape({src:j.a.string.isRequired,alt:j.a.string.isRequired,aspectRatio:j.a.number.isRequired}).isRequired,width:j.a.number.isRequired,height:j.a.number.isRequired,imageMode:j.a.string},N.defaultProps={imageMode:"landscape"};var q,H,G={squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},$={squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}};function V(e){var t=$.largeThreshold;return e.height>e.width?"portrait":e.width<t.width||e.height<t.height||e.height===e.width?"square":"landscape"}function Y(e){return"Twitter"===e?G:$}function K(e){return new Promise((function(t,n){var r=new Image;r.onload=function(){t({width:r.width,height:r.height})},r.onerror=n,r.src=e}))}function X(e,t,n){return"square"===n&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:function(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}(t,function(e,t,n){return"landscape"===n?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===n?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}(e,t,n))}function J(_x,e){return Q.apply(this,arguments)}function Q(){return(Q=T()(A.a.mark((function e(t,n){var r,o,a,i,s,c=arguments;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=c.length>2&&void 0!==c[2]&&c[2],e.next=3,K(t);case 3:return o=e.sent,a=r?"landscape":"square","Facebook"===n&&(a=V(o)),i=Y(n),s=X(i,o,a),e.abrupt("return",{mode:a,height:s.height,width:s.width});case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Z(e,t){return ee.apply(this,arguments)}function ee(){return(ee=T()(A.a.mark((function e(t,n){var r,o,a=arguments;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>2&&void 0!==a[2]&&a[2],e.prev=1,e.next=4,J(t,n,r);case 4:return o=e.sent,e.abrupt("return",{imageProperties:o,status:"loaded"});case 8:return e.prev=8,e.t0=e.catch(1),e.abrupt("return",{imageProperties:null,status:"errored"});case 11:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}var te=_.a.div(q||(q=y()(["\n\tposition: relative;\n\t",";\n\toverflow: hidden;\n\tbackground-color: ",";\n"])),(function(e){return"landscape"===e.mode?"max-width: ".concat(e.dimensions.width):"min-width: ".concat(e.dimensions.width,"; height: ").concat(e.dimensions.height)}),L.colors.$color_white),ne=_.a.div(H||(H=y()(["\n\tbox-sizing: border-box;\n\tmax-width: ","px;\n\theight: ","px;\n\tbackground-color: ",";\n\tborder-style: dashed;\n\tborder-width: 1px;\n\t// We're not using standard colors to increase contrast for accessibility.\n\tcolor: #006DAC;\n\t// We're not using standard colors to increase contrast for accessibility.\n\tbackground-color: #f1f1f1;\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\ttext-decoration: underline;\n\tfont-size: 14px;\n\tcursor: pointer;\n"])),$.landscapeWidth,$.landscapeHeight,L.colors.$color_grey),re=function(e){f()(a,e);var t,n,r,o=(n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g()(n);if(r){var o=g()(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return h()(this,e)});function a(e){var t;return s()(this,a),(t=o.call(this,e)).state={imageProperties:null,status:"loading"},t.socialMedium="Facebook",t.handleFacebookImage=t.handleFacebookImage.bind(p()(t)),t.setState=t.setState.bind(p()(t)),t}return l()(a,[{key:"handleFacebookImage",value:(t=T()(A.a.mark((function e(){var t;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Z(this.props.src,this.socialMedium);case 3:t=e.sent,this.setState(t),this.props.onImageLoaded(t.imageProperties.mode||"landscape"),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),this.setState(e.t0),this.props.onImageLoaded("landscape");case 12:case"end":return e.stop()}}),e,this,[[0,8]])}))),function(){return t.apply(this,arguments)})},{key:"componentDidUpdate",value:function(e){e.src!==this.props.src&&this.handleFacebookImage()}},{key:"componentDidMount",value:function(){this.handleFacebookImage()}},{key:"retrieveContainerDimensions",value:function(e){switch(e){case"square":return{height:$.squareHeight+"px",width:$.squareWidth+"px"};case"portrait":return{height:$.portraitHeight+"px",width:$.portraitWidth+"px"};case"landscape":return{height:$.landscapeHeight+"px",width:$.landscapeWidth+"px"}}}},{key:"render",value:function(){var e=this.state,t=e.imageProperties,n=e.status;if("loading"===n||""===this.props.src||"errored"===n)return Object(O.createElement)(ne,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(D.__)("Select image","wordpress-seo"));var r=this.retrieveContainerDimensions(t.mode);return Object(O.createElement)(te,{mode:t.mode,dimensions:r,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},Object(O.createElement)(N,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:$.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}]),a}(v.Component);re.propTypes={src:j.a.string,alt:j.a.string,onImageLoaded:j.a.func,onImageClick:j.a.func,onMouseEnter:j.a.func,onMouseLeave:j.a.func},re.defaultProps={src:"",alt:"",onImageLoaded:o.noop,onImageClick:o.noop,onMouseEnter:o.noop,onMouseLeave:o.noop};var oe,ae,ie,se,ce=re,le=_.a.span(oe||(oe=y()(["\n\tline-height: ","px;\n\tmin-height : ","px;\n\tcolor: #1d2129;\n\tfont-weight: 600;\n\toverflow: hidden;\n\tfont-size: 16px;\n\tmargin: 3px 0 0;\n\tletter-spacing: normal;\n\twhite-space: normal;\n\tflex-shrink: 0;\n\tcursor: pointer;\n\tdisplay: -webkit-box;\n\t-webkit-line-clamp: ",";\n\t-webkit-box-orient: vertical;\n\toverflow: hidden;\n"])),20,20,(function(e){return e.lineCount})),ue=_.a.p(ae||(ae=y()(["\n\tline-height: ","px;\n\tmin-height : ","px;\n\tcolor: #606770;\n\tfont-size: 14px;\n\tpadding: 0;\n\ttext-overflow: ellipsis;\n\tmargin: 3px 0 0 0;\n\tdisplay: -webkit-box;\n\tcursor: pointer;\n\t-webkit-line-clamp: ",";\n\t-webkit-box-orient: vertical;\n\toverflow: hidden;\n\n\t@media all and ( max-width: "," ) {\n\t\tdisplay: none;\n\t}\n"])),16,16,(function(e){return e.lineCount}),(function(e){return e.maxWidth}));var pe=function(e){switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},de=_.a.div(ie||(ie=y()(["\n\tbox-sizing: border-box;\n\tdisplay: flex;\n\tflex-direction: ",";\n\tbackground-color: #f2f3f5;\n\tmax-width: 527px;\n"])),(function(e){return"landscape"===e.mode?"column":"row"})),fe=_.a.div(se||(se=y()(["\n\tbox-sizing: border-box;\n\tbackground-color: #f2f3f5;\n\tmargin: 0;\n\tpadding: 10px 12px;\n\tposition: relative;\n\tborder-bottom: ",";\n\tborder-top: ",";\n\tborder-right: ",";\n\tborder: ",";\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex-grow: 1;\n\tjustify-content: ",";\n\tfont-size: 12px;\n\toverflow: hidden;\n"])),(function(e){return"landscape"===e.mode?"":"1px solid #dddfe2"}),(function(e){return"landscape"===e.mode?"":"1px solid #dddfe2"}),(function(e){return"landscape"===e.mode?"":"1px solid #dddfe2"}),(function(e){return"landscape"===e.mode?"1px solid #dddfe2":""}),(function(e){return"landscape"===e.mode?"flex-start":"center"})),me=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).state={imageMode:null,maxLineCount:0,descriptionLineCount:0},t.facebookTitleRef=E.a.createRef(),t.onImageLoaded=t.onImageLoaded.bind(p()(t)),t.onImageEnter=t.props.onMouseHover.bind(p()(t),"image"),t.onTitleEnter=t.props.onMouseHover.bind(p()(t),"title"),t.onDescriptionEnter=t.props.onMouseHover.bind(p()(t),"description"),t.onLeave=t.props.onMouseHover.bind(p()(t),""),t.onSelectTitle=t.props.onSelect.bind(p()(t),"title"),t.onSelectDescription=t.props.onSelect.bind(p()(t),"description"),t}return l()(o,[{key:"onImageLoaded",value:function(e){this.setState({imageMode:e})}},{key:"getTitleLineCount",value:function(){return this.facebookTitleRef.current.offsetHeight/20}},{key:"maybeSetMaxLineCount",value:function(){var e=this.state,t="landscape"===e.imageMode?2:5;t!==e.maxLineCount&&this.setState({maxLineCount:t})}},{key:"maybeSetDescriptionLineCount",value:function(){var e=this.state,t=e.descriptionLineCount,n=e.maxLineCount,r=e.imageMode,o=this.getTitleLineCount(),a=n-o;"portrait"===r&&(a=5===o?0:4),a!==t&&this.setState({descriptionLineCount:a})}},{key:"componentDidUpdate",value:function(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}},{key:"render",value:function(){var e=this.state,t=e.imageMode,n=e.maxLineCount,r=e.descriptionLineCount;return Object(O.createElement)(de,{id:"facebookPreview",mode:t},Object(O.createElement)(ce,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(O.createElement)(fe,{mode:t},Object(O.createElement)(C,{siteUrl:this.props.siteUrl,mode:t}),Object(O.createElement)(le,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:n},this.props.title),r>0&&Object(O.createElement)(ue,{maxWidth:pe(t),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:r},this.props.description)))}}]),o}(v.Component);me.propTypes={siteUrl:j.a.string.isRequired,title:j.a.string.isRequired,description:j.a.string,imageUrl:j.a.string,imageFallbackUrl:j.a.string,alt:j.a.string,onSelect:j.a.func,onImageClick:j.a.func,onMouseHover:j.a.func},me.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:function(){},onImageClick:function(){},onMouseHover:function(){}};var he,be=me,ge=_.a.div(he||(he=y()(["\n\ttext-transform: lowercase;\n\tcolor: rgb(83, 100, 113);\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tmargin: 0;\n\tfill: currentcolor;\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: flex-end;\n"]))),we=function(e){return Object(O.createElement)(ge,null,Object(O.createElement)("span",null,e.siteUrl))};we.propTypes={siteUrl:j.a.string.isRequired};var ye,Oe,ve,Ee=we;var ke,je=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e?"\n\t\t\tmax-width: ".concat(G.landscapeWidth,"px;\n\t\t\t").concat(t?"border-bottom: 1px solid #E1E8ED;":"","\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t"):"\n\t\twidth: ".concat(G.squareWidth,"px;\n\t\t").concat(t?"border-right: 1px solid #E1E8ED;":"","\n\t\tborder-radius: 14px 0 0 14px;\n\t\t")},xe=_.a.div(ye||(ye=y()(["\n\tposition: relative;\n\tbox-sizing: content-box;\n\toverflow: hidden;\n\tbackground-color: #e1e8ed;\n\tflex-shrink: 0;\n\t","\n"])),(function(e){return je(e.isLarge)})),_e=_.a.div(Oe||(Oe=y()(["\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tbox-sizing: border-box;\n\tmax-width: 100%;\n\tmargin: 0;\n\tpadding: 1em;\n\ttext-align: center;\n\tfont-size: 1rem;\n\t","\n"])),(function(e){return je(e.isLarge,!1)})),Se=_()(_e)(ve||(ve=y()(["\n\t","\n\tborder-top-left-radius: 14px;\n\t",": 14px;\n\tborder-style: dashed;\n\tborder-width: 1px;\n\t// We're not using standard colors to increase contrast for accessibility.\n\tcolor: #006DAC;\n\t// We're not using standard colors to increase contrast for accessibility.\n\tbackground-color: #f1f1f1;\n\ttext-decoration: underline;\n\tfont-size: 14px;\n\tcursor: pointer;\n"])),(function(e){return e.isLarge&&"height: ".concat(G.landscapeHeight,"px;")}),(function(e){return e.isLarge?"border-top-right-radius":"border-bottom-left-radius"})),Me=function(e){f()(a,e);var t,n,r,o=(n=a,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g()(n);if(r){var o=g()(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return h()(this,e)});function a(e){var t;return s()(this,a),(t=o.call(this,e)).state={status:"loading"},t.socialMedium="Twitter",t.handleTwitterImage=t.handleTwitterImage.bind(p()(t)),t.setState=t.setState.bind(p()(t)),t}return l()(a,[{key:"handleTwitterImage",value:(t=T()(A.a.mark((function e(){var t;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==this.props.src){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Z(this.props.src,this.socialMedium,this.props.isLarge);case 4:t=e.sent,this.setState(t);case 6:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"componentDidUpdate",value:function(e){e.src!==this.props.src&&this.handleTwitterImage()}},{key:"componentDidMount",value:function(){this.handleTwitterImage()}},{key:"render",value:function(){var e=this.state,t=e.status,n=e.imageProperties;return"loading"===t||""===this.props.src||"errored"===t?Object(O.createElement)(Se,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(D.__)("Select image","wordpress-seo")):Object(O.createElement)(xe,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(O.createElement)(N,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:G.aspectRatio},width:n.width,height:n.height,imageMode:n.mode}))}}]),a}(E.a.Component);Me.propTypes={isLarge:j.a.bool.isRequired,src:j.a.string,alt:j.a.string,onImageClick:j.a.func,onMouseEnter:j.a.func,onMouseLeave:j.a.func},Me.defaultProps={src:"",alt:"",onMouseEnter:o.noop,onImageClick:o.noop,onMouseLeave:o.noop};var ze=_.a.div(ke||(ke=y()(["\n\tdisplay: flex;\n\tflex-direction: column;\n\tpadding: 12px;\n\tjustify-content: center;\n\tmargin: 0;\n\tbox-sizing: border-box;\n\tflex: auto;\n\tmin-width: 0px;\n\tgap:2px;\n\t> * {\n\t\tline-height:20px;\n\t\tmin-height:20px;\n\t\tfont-size:15px;\n    }\n"]))),Pe=function(e){return Object(O.createElement)(ze,null,e.children)};Pe.propTypes={children:j.a.array.isRequired};var Re,Ce,Ie,Te,Fe,Ae=Pe,De=_.a.p(Re||(Re=y()(["\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tmargin: 0;\n\tcolor: rgb(15, 20, 25);\n\tcursor: pointer;\n"]))),Le=_.a.p(Ce||(Ce=y()(["\n\tmax-height: 55px;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tmargin: 0;\n\tcolor: rgb(83, 100, 113);\n\tdisplay: -webkit-box;\n\tcursor: pointer;\n\t-webkit-line-clamp: 2;\n\t-webkit-box-orient: vertical;\n\n\t@media all and ( max-width: ","px ) {\n\t\tdisplay: none;\n\t}\n"])),G.landscapeWidth);var Be=_.a.div(Ie||(Ie=y()(['\n\tfont-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;\n\tfont-size: 15px;\n\tfont-weight: 400;\n\tline-height: 20px;\n\tmax-width: 507px;\n\tborder: 1px solid #E1E8ED;\n\tbox-sizing: border-box;\n\tborder-radius: 14px;\n\tcolor: #292F33;\n\tbackground: #FFFFFF;\n\ttext-overflow: ellipsis;\n\tdisplay: flex;\n\n\t&:hover {\n\t\tbackground: #f5f8fa;\n\t\tborder: 1px solid rgba(136,153,166,.5);\n\t}\n']))),Ue=_()(Be)(Te||(Te=y()(["\n\tflex-direction: column;\n\tmax-height: 370px;\n"]))),We=_()(Be)(Fe||(Fe=y()(["\n\tflex-direction: row;\n\theight: 125px;\n"]))),Ne=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).onImageEnter=t.props.onMouseHover.bind(p()(t),"image"),t.onTitleEnter=t.props.onMouseHover.bind(p()(t),"title"),t.onDescriptionEnter=t.props.onMouseHover.bind(p()(t),"description"),t.onLeave=t.props.onMouseHover.bind(p()(t),""),t.onSelectTitle=t.props.onSelect.bind(p()(t),"title"),t.onSelectDescription=t.props.onSelect.bind(p()(t),"description"),t}return l()(o,[{key:"render",value:function(){var e=this.props,t=e.isLarge,n=e.imageUrl,r=e.imageFallbackUrl,o=e.alt,a=e.title,i=e.description,s=e.siteUrl,c=t?Ue:We;return Object(O.createElement)(c,{id:"twitterPreview"},Object(O.createElement)(Me,{src:n||r,alt:o,isLarge:t,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(O.createElement)(Ae,null,Object(O.createElement)(Ee,{siteUrl:s}),Object(O.createElement)(De,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},a),Object(O.createElement)(Le,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},i)))}}]),o}(v.Component);Ne.propTypes={siteUrl:j.a.string.isRequired,title:j.a.string.isRequired,description:j.a.string,isLarge:j.a.bool,imageUrl:j.a.string,imageFallbackUrl:j.a.string,alt:j.a.string,onSelect:j.a.func,onImageClick:j.a.func,onMouseHover:j.a.func},Ne.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:function(){},onImageClick:function(){},onMouseHover:function(){},isLarge:!0};var qe=Ne,He=n(5),Ge=n(63),$e=n(36);var Ve=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.SocialPreview="Facebook"===e.socialMediumName?be:qe,t.setHoveredField=t.setHoveredField.bind(p()(t)),t.setActiveField=t.setActiveField.bind(p()(t)),t.setEditorRef=t.setEditorRef.bind(p()(t)),t.setEditorFocus=t.setEditorFocus.bind(p()(t)),t}return l()(o,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,a=e.socialMediumName,i=e.imageWarnings,s=e.siteUrl,c=e.description,l=e.descriptionInputPlaceholder,u=e.descriptionPreviewFallback,p=e.imageUrl,d=e.imageFallbackUrl,f=e.alt,m=e.title,h=e.titleInputPlaceholder,b=e.titlePreviewFallback,g=e.replacementVariables,w=e.recommendedReplacementVariables,y=e.applyReplacementVariables,v=e.isPremium,k=e.isLarge,j=e.socialPreviewLabel,x=e.idSuffix,_=e.activeMetaTabId,S=y({title:m||b,description:c||u});return Object(O.createElement)(E.a.Fragment,null,j&&Object(O.createElement)(He.SimulatedLabel,null,j),Object(O.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:r,siteUrl:s,title:S.title,description:S.description,imageUrl:p,imageFallbackUrl:d,alt:f,isLarge:k,activeMetaTabId:_}),Object(O.createElement)(Ge.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:a,title:m,titleInputPlaceholder:h,onRemoveImageClick:o,imageSelected:!!p,imageUrl:p,onTitleChange:n,onSelectImageClick:r,description:c,descriptionInputPlaceholder:l,imageWarnings:i,replacementVariables:g,recommendedReplacementVariables:w,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:v,setEditorRef:this.setEditorRef,idSuffix:x}))}}]),o}(v.Component);Ve.propTypes={title:j.a.string.isRequired,onTitleChange:j.a.func.isRequired,description:j.a.string.isRequired,onDescriptionChange:j.a.func.isRequired,imageUrl:j.a.string.isRequired,imageFallbackUrl:j.a.string.isRequired,onSelectImageClick:j.a.func.isRequired,onRemoveImageClick:j.a.func.isRequired,socialMediumName:j.a.string.isRequired,alt:j.a.string,isPremium:j.a.bool,imageWarnings:j.a.array,isLarge:j.a.bool,siteUrl:j.a.string,descriptionInputPlaceholder:j.a.string,titleInputPlaceholder:j.a.string,descriptionPreviewFallback:j.a.string,titlePreviewFallback:j.a.string,replacementVariables:$e.replacementVariablesShape,recommendedReplacementVariables:$e.recommendedReplacementVariablesShape,applyReplacementVariables:j.a.func,socialPreviewLabel:j.a.string,idSuffix:j.a.string,activeMetaTabId:j.a.string},Ve.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:function(e){return e},socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};var Ye=function(e){return{type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name}};function Ke(e){return new Promise((function(t,n){window.wp.media.attachment||n(),window.wp.media.attachment(e).fetch().then((function(e){t(Ye(e))})).catch((function(){return n()}))}))}function Xe(e){(function(e){var t=window.wp.media();return t.on("select",(function(){var n=t.state().get("selection").first();e(Ye(n.attributes))})),t})(e).open()}var Je=function(e){var t=V({width:e.width,height:e.height}),n=$[t+"Width"],r=$[t+"Height"],o=Object.values(e.sizes).find((function(e){return e.width>=n&&e.height>=r}));return{url:o?o.url:e.url,id:e.id,warnings:Object(a.validateFacebookImage)(e),alt:e.alt||""}},Qe=function(e){var t="summary"!==Object(o.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",n=G[t+"Width"],r=G[t+"Height"],i=Object.values(e.sizes).find((function(e){return e.width>=n&&e.height>=r}));return{url:i?i.url:e.url,id:e.id,warnings:Object(a.validateTwitterImage)(e),alt:e.alt||""}}},function(e,t){e.exports=window.wp.url},,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var r=n(0);function o(e){return e.charAt(0).toUpperCase()+e.slice(1)}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(r.createInterpolateElement)(e,{a:Object(r.createElement)("a",{id:n,href:t,target:"_blank",rel:"noopener noreferrer"})})}},,,,,,,,,,,,,function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],_n=!0,i=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==n.return||n.return()}finally{if(i)throw o}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.yoast.socialMetadataForms},,,,,,,function(e,t,n){var r=n(39);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=n(7),s=n(30),c=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},o))};c.propTypes={theme:a.a.object.isRequired,location:a.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:a.a.element.isRequired},t.a=c},,,,,,,function(e,t,n){var r=n(11),o=n(46),a=n(151),i=n(152);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!a(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return i(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},,,,function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},,,,,,,,,,function(e,t){e.exports=window.wp.domReady},,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(13),o=n.n(r),a=n(12),i=n.n(a),s=n(16),c=n.n(s),l=n(17),u=n.n(l),p=n(11),d=n.n(p),f=n(80);var m=function(e){c()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=d()(t);if(n){var o=d()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return u()(this,e)});function a(e,t,n,o,s){var c;return i()(this,a),(c=r.call(this,e)).name="RequestError",c.url=t,c.method=n,c.statusCode=o,c.stackTrace=s,c}return o()(a)}(n.n(f)()(Error))},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(27),o=n.n(r),a=n(0),i=n(1),s=n.n(i),c=n(2),l=n(6),u=n(5),p=n(14);function d(e){var t=e.name,n=e.title,r=e.subtitle,i=e.usps,s=e.id,d=e.image,f=e.finishableSteps,m=e.finishedSteps,h=e.upsellLink,b=e.upsellText,g=e.workout,w=e.badges,y=e.blocked,O=Object(l.useDispatch)("yoast-seo/workouts"),v=O.openWorkout,E=O.toggleWorkout,k=Object(l.useSelect)((function(e){return e("yoast-seo/workouts").getActiveWorkout()}),[]),j=Object(a.useState)(!1),x=o()(j,2),_=x[0],S=x[1],M=g,z=d;Object(a.useEffect)((function(){f&&m&&m.length===f.length?S(!0):S(!1)}),[m,f]);var P=Object(a.useMemo)((function(){return m&&0!==m.length?m.length<f.length?Object(c.__)("Continue workout!","wordpress-seo"):Object(c.__)("Do workout again","wordpress-seo"):Object(c.__)("Start workout!","wordpress-seo")}),[m,f]),R=Object(a.useCallback)((function(){v(t),_&&E(t)}),[g,_,v,E]),C=Object(p.makeOutboundLink)(),I=b||Object(c.sprintf)(
/* translators: %s : Expands to the add-on name. */
Object(c.__)("Unlock with %s!","wordpress-seo"),"Premium"),T=g&&!y?"":" card-disabled";return Object(a.createElement)(a.Fragment,null,!k&&Object(a.createElement)("div",{id:s,className:"card card-small".concat(T)},Object(a.createElement)("h2",null,n," ",w),Object(a.createElement)("h3",null,r),Object(a.createElement)("div",{className:"workout-card-content-flex"},Object(a.createElement)("ul",{id:"".concat(s,"-usp-list"),className:"yoast-list--usp"},i.map((function(e,t){return Object(a.createElement)("li",{id:"".concat(s,"-usp-").concat(t),key:"".concat(s,"-").concat(t)},e)}))),d&&Object(a.createElement)(z,null)),Object(a.createElement)("span",null,!y&&g&&Object(a.createElement)(u.NewButton,{id:"".concat(s,"-action-button"),className:"yoast-button yoast-button--".concat(_?"secondary":"primary"),onClick:R},P),!g&&Object(a.createElement)(C,{id:"".concat(s,"-upsell-button"),href:h,className:"yoast-button yoast-button-upsell"},I,Object(a.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),f&&m&&Object(a.createElement)("div",{className:"workout-card-progress"},Object(a.createElement)(u.ProgressBar,{id:"".concat(s,"-progress"),max:f.length,value:m.length}),Object(a.createElement)("label",{htmlFor:"".concat(s,"-progress")},Object(a.createElement)("i",null,Object(c.sprintf)(// translators: %1$s: number of finished steps, %2$s: number of finishable steps
Object(c.__)("%1$s/%2$s steps completed","wordpress-seo"),m.length,f.length))))),y&&g&&Object(a.createElement)("div",{id:"".concat(s,"-blocked-section"),className:"workout-card-blocked"},Object(a.createElement)("p",{id:"".concat(s,"-blocked-title"),className:"workout-card-blocked-title"},Object(c.__)("Configuration required","wordpress-seo")),Object(a.createElement)("p",{id:"".concat(s,"-blocked-description")},Object(c.__)("Please finish the Configuration workout first in order for this workout to be effective.","wordpress-seo")))),g&&k===t&&Object(a.createElement)(M,null))}d.propTypes={name:s.a.string.isRequired,title:s.a.string.isRequired,subtitle:s.a.string.isRequired,usps:s.a.arrayOf(s.a.string).isRequired,id:s.a.string,finishableSteps:s.a.arrayOf(s.a.string),finishedSteps:s.a.arrayOf(s.a.string),image:s.a.func,upsellLink:s.a.string,upsellText:s.a.string,workout:s.a.func,badges:s.a.arrayOf(s.a.element),blocked:s.a.bool},d.defaultProps={id:"",finishableSteps:null,finishedSteps:null,image:null,upsellLink:null,upsellText:null,workout:null,badges:[],blocked:!1}},,,,,,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return E})),n.d(t,"a",(function(){return k}));var r=n(25),o=n.n(r),a=n(12),i=n.n(a),s=n(13),c=n.n(s),l=n(16),u=n.n(l),p=n(17),d=n.n(p),f=n(11),m=n.n(f),h=n(0),b=n(21),g=n(24),w=n(73);var y=[],O=null,v=function(e){u()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var o=m()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return d()(this,e)});function a(e){var t;return i()(this,a),(t=r.call(this,e)).state={registeredComponents:[]},t}return c()(a,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(o()(this.state.registeredComponents),[{key:e,Component:t}])})}},{key:"render",value:function(){return this.state.registeredComponents.map((function(e){var t=e.Component,n=e.key;return Object(h.createElement)(t,{key:n})}))}}]),a}(h.Component);function E(e,t){var n=Object(g.a)();O=Object(h.createRef)();var r={isRtl:n.isRtl};Object(h.render)(Object(h.createElement)(w.a,{theme:r,location:"sidebar"},Object(h.createElement)(b.SlotFillProvider,null,Object(h.createElement)(h.Fragment,null,t,Object(h.createElement)(v,{ref:O})))),document.getElementById(e)),y.forEach((function(e){O.current.registerComponent(e.key,e.Component)}))}function k(e,t){null===O||null===O.current?y.push({key:e,Component:t}):O.current.registerComponent(e,t)}},,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(13),o=n.n(r),a=n(12),i=n.n(a),s=n(16),c=n.n(s),l=n(17),u=n.n(l),p=n(11),d=n.n(p),f=n(80);var m=function(e){c()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=d()(t);if(n){var o=d()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return u()(this,e)});function a(e,t){var n;return i()(this,a),(n=r.call(this,e)).name="ParseError",n.parseString=t,n}return o()(a)}(n.n(f)()(Error))},,,,,,,,,,,,,,,,,function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(46),o=n(153);function a(t,n,i){return o()?(e.exports=a=Reflect.construct,e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=a=function(e,t,n){var o=[null];o.push.apply(o,t);var a=new(Function.bind.apply(e,o));return n&&r(a,n.prototype),a},e.exports.__esModule=!0,e.exports.default=e.exports),a.apply(null,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},,,,,,,function(e,t,n){"use strict";var r,o=n(18),a=n.n(o),i=n(12),s=n.n(i),c=n(13),l=n.n(c),u=n(10),p=n.n(u),d=n(16),f=n.n(d),m=n(17),h=n.n(m),b=n(11),g=n.n(b),w=n(8),y=n.n(w),O=n(0),v=n(161),E=n.n(v),k=n(1),j=n.n(k),x=n(3),_=n(7),S=n(2),M=n(5),z=n(14);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var R=Object(_.createGlobalStyle)(r||(r=y()(["\n\t.yoast-person-selector-container {\n\t\tmax-width: 400px;\n\t\tmin-width: 250px;\n\t\tmargin: 7px 0;\n\n\t\t.yoast-person-selector {\n\t\t\t&__control {\n\t\t\t\tborder-radius: 0;\n\t\t\t\tbox-shadow: inset 0 1px 2px rgba(0,0,0,.07);\n\t\t\t\tmin-height: 28px;\n\t\t\t}\n\n\t\t\t&__input input {\n\t\t\t\tbox-shadow: none;\n\t\t\t\tmargin: 0;\n\t\t\t\tmin-height: 0;\n\t\t\t\tline-height: 1.4;\n\n\t\t\t\t&:focus {\n\t\t\t\t\tbox-shadow: none;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__menu {\n\t\t\t\tmargin: 0;\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\n\t\t\t&__menu-list {\n\t\t\t\tpadding: 0;\n\t\t\t}\n\n\t\t\t&__option--is-selected {\n\t\t\t\tbackground-color: #0085ba;\n\t\t\t}\n\n\t\t\t&__indicators {\n\t\t\t\tpadding: 0 10px;\n\t\t\t}\n\t\t}\n\t}\n"]))),C={"X-WP-NONCE":wpApiSettings.nonce},I=wpApiSettings.root,T=function(){return Object(O.createElement)(M.SvgIcon,{icon:"arrow-down",color:"#72777c",size:"10px"})},F=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return h()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).state={selectedOption:null,loading:!!t.props.value},t.fetchUsers=Object(x.debounce)(t.fetchUsers,500).bind(p()(t)),t.fetchUser=t.fetchUser.bind(p()(t)),t.mapUserToSelectOption=t.mapUserToSelectOption.bind(p()(t)),t.onChange=t.onChange.bind(p()(t)),t}return l()(o,[{key:"render",value:function(){return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(R,null),Object(O.createElement)(E.a,{placeholder:Object(S.__)("Select a user...","wordpress-seo"),isDisabled:this.state.loading,inputId:this.props.name,className:"yoast-person-selector-container",classNamePrefix:"yoast-person-selector",value:this.state.selectedOption,onChange:this.onChange,defaultOptions:!0,loadOptions:this.fetchUsers,components:{IndicatorSeparator:null,DropdownIndicator:T}}))}},{key:"componentDidMount",value:function(){this.props.value&&this.fetchUser(this.props.value)}},{key:"onChange",value:function(e){var t=this;this.setState({selectedOption:e,loading:!1},(function(){t.props.onChange(e.value,e.label)}))}},{key:"mapUserToSelectOption",value:function(e){return{value:e.id,label:e.name}}},{key:"fetchUser",value:function(e){var t=this;Object(z.sendRequest)("".concat(I,"wp/v2/users/").concat(e),{method:"GET",headers:C}).then((function(e){e?t.onChange(t.mapUserToSelectOption(e)):t.setState({loading:!1})})).catch((function(){t.setState({loading:!1})}))}},{key:"fetchUsers",value:function(e,t){var n=this,r={per_page:10,search:e},a=o.addQueryParams("".concat(I,"wp/v2/users"),r);Object(z.sendRequest)(a,{method:"GET",headers:C}).then((function(e){var r=e.map(n.mapUserToSelectOption);t(r)}))}}],[{key:"addQueryParams",value:function(e,t){var n=e.split("?");e=n[0];var r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t);2===n.length&&n[1].split("&").forEach((function(e){var t=e.split("=");r[t[0]]=t[1]}));var o=Object.keys(r).filter((function(e){return!!r[e]})).map((function(e){return"".concat(e,"=").concat(encodeURIComponent(r[e]))})).join("&");return"".concat(e,"?").concat(o)}}]),o}(O.Component),A={name:j.a.string.isRequired,value:j.a.number.isRequired,onChange:j.a.func.isRequired};F.propTypes=A,t.a=F},function(e,t){e.exports=window.yoast.reactSelectAsync},,function(e,t,n){"use strict";var r,o,a=n(15),i=n.n(a),s=n(12),c=n.n(s),l=n(13),u=n.n(l),p=n(10),d=n.n(p),f=n(16),m=n.n(f),h=n(17),b=n.n(h),g=n(11),w=n.n(g),y=n(0),O=n(9),v=n.n(O),E=n(2),k=n(5),j=n(23),x=n(1),_=n.n(x),S=n(8),M=n.n(S),z=n(107),P=n(7),R=n.n(P),C=R.a.div(r||(r=M()(["\n\tmargin-top: 8px;\n"]))),I=R.a.pre(o||(o=M()(["\n\toverflow-x: scroll;\n\tmax-width: 500px;\n\tborder: 1px solid;\n\tpadding: 16px;\n"])));function T(e){var t=e.title,n=e.value;return n?Object(y.createElement)("p",null,Object(y.createElement)("strong",null,t),Object(y.createElement)("br",null),n):null}function F(e){var t=e.title,n=e.value;return n?Object(y.createElement)("details",null,Object(y.createElement)("summary",null,t),Object(y.createElement)(I,null,n)):null}function A(e){var t=e.message,n=e.error;return Object(y.createElement)(k.Alert,{type:"error"},Object(y.createElement)("div",{dangerouslySetInnerHTML:{__html:t}}),Object(y.createElement)("details",null,Object(y.createElement)("summary",null,Object(E.__)("Error details","wordpress-seo")),Object(y.createElement)(C,null,Object(y.createElement)(T,{title:Object(E.__)("Request URL","wordpress-seo"),value:n.url}),Object(y.createElement)(T,{title:Object(E.__)("Request method","wordpress-seo"),value:n.method}),Object(y.createElement)(T,{title:Object(E.__)("Status code","wordpress-seo"),value:n.statusCode}),Object(y.createElement)(T,{title:Object(E.__)("Error message","wordpress-seo"),value:n.message}),Object(y.createElement)(F,{title:Object(E.__)("Response","wordpress-seo"),value:n.parseString}),Object(y.createElement)(F,{title:Object(E.__)("Error stack trace","wordpress-seo"),value:n.stackTrace}))))}T.propTypes={title:_.a.string.isRequired,value:_.a.any},T.defaultProps={value:""},F.propTypes={title:_.a.string.isRequired,value:_.a.string},F.defaultProps={value:""},A.propTypes={message:_.a.string.isRequired,error:_.a.oneOfType([_.a.instanceOf(Error),_.a.instanceOf(z.a)]).isRequired};var D=n(134);var L=function(e){m()(h,e);var t,n,r,o,a,s,l,p,f=(l=h,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w()(l);if(p){var n=w()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return b()(this,e)});function h(e){var t;return c()(this,h),(t=f.call(this,e)).settings=yoastIndexingData,t.state={state:"idle",processed:0,error:null,amount:parseInt(t.settings.amount,10),firstTime:"1"===t.settings.firstTime},t.startIndexing=t.startIndexing.bind(d()(t)),t.stopIndexing=t.stopIndexing.bind(d()(t)),t}return u()(h,[{key:"doIndexingRequest",value:(s=i()(v.a.mark((function e(t,n){var r,o,a,i;return v.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t,{method:"POST",headers:{"X-WP-Nonce":n}});case 2:return r=e.sent,e.next=5,r.text();case 5:o=e.sent,e.prev=6,a=JSON.parse(o),e.next=13;break;case 10:throw e.prev=10,e.t0=e.catch(6),new D.a("Error parsing the response to JSON.",o);case 13:if(r.ok){e.next=16;break}throw i=a.data?a.data.stackTrace:"",new z.a(a.message,t,"POST",r.status,i);case 16:return e.abrupt("return",a);case 17:case"end":return e.stop()}}),e,null,[[6,10]])}))),function(_x,e){return s.apply(this,arguments)})},{key:"doPreIndexingAction",value:(a=i()(v.a.mark((function e(t){return v.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof this.props.preIndexingActions[t]){e.next=3;break}return e.next=3,this.props.preIndexingActions[t](this.settings);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"doPostIndexingAction",value:(o=i()(v.a.mark((function e(t,n){return v.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof this.props.indexingActions[t]){e.next=3;break}return e.next=3,this.props.indexingActions[t](n.objects,this.settings);case 3:case"end":return e.stop()}}),e,this)}))),function(e,t){return o.apply(this,arguments)})},{key:"doIndexing",value:(r=i()(v.a.mark((function e(t){var n,r=this;return v.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=this.settings.restApi.root+this.settings.restApi.indexing_endpoints[t];case 1:if(!this.isState("in_progress")||!1===n){e.next=11;break}return e.prev=2,e.delegateYield(v.a.mark((function e(){var o;return v.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.doPreIndexingAction(t);case 2:return e.next=4,r.doIndexingRequest(n,r.settings.restApi.nonce);case 4:return o=e.sent,e.next=7,r.doPostIndexingAction(t,o);case 7:r.setState((function(e){return{processed:e.processed+o.objects.length,firstTime:!1}})),n=o.next_url;case 9:case"end":return e.stop()}}),e)}))(),"t0",4);case 4:e.next=9;break;case 6:e.prev=6,e.t1=e.catch(2),this.setState({state:"errored",error:e.t1,firstTime:!1});case 9:e.next=1;break;case 11:case"end":return e.stop()}}),e,this,[[2,6]])}))),function(e){return r.apply(this,arguments)})},{key:"index",value:(n=i()(v.a.mark((function e(){var t,n,r;return v.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=0,n=Object.keys(this.settings.restApi.indexing_endpoints);case 1:if(!(t<n.length)){e.next=8;break}return r=n[t],e.next=5,this.doIndexing(r);case 5:t++,e.next=1;break;case 8:this.isState("errored")||this.isState("idle")||this.completeIndexing();case 9:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"startIndexing",value:(t=i()(v.a.mark((function e(){return v.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.setState({processed:0,state:"in_progress"},this.index);case 1:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"completeIndexing",value:function(){this.setState({state:"completed"})}},{key:"stopIndexing",value:function(){this.setState((function(e){return{state:"idle",processed:0,amount:e.amount-e.processed}}))}},{key:"componentDidMount",value:function(){var e,t;if(!this.settings.disabled&&(this.props.indexingStateCallback(0===this.state.amount?"completed":this.state.state),"true"===new URLSearchParams(window.location.search).get("start-indexation"))){var n=function(e,t){var n=new URL(e);return n.searchParams.delete("start-indexation"),n.href}(window.location.href);null,e=document.title,t=n,window.history.pushState(null,e,t),this.startIndexing()}}},{key:"componentDidUpdate",value:function(e,t){this.state.state!==t.state&&this.props.indexingStateCallback(this.state.state)}},{key:"isState",value:function(e){return this.state.state===e}},{key:"renderFirstIndexationNotice",value:function(){return Object(y.createElement)(k.Alert,{type:"info"},Object(E.__)("This feature includes and replaces the Text Link Counter and Internal Linking Analysis","wordpress-seo"))}},{key:"renderStartButton",value:function(){return Object(y.createElement)(k.NewButton,{variant:"primary",onClick:this.startIndexing},Object(E.__)("Start SEO data optimization","wordpress-seo"))}},{key:"renderStopButton",value:function(){return Object(y.createElement)(k.NewButton,{variant:"secondary",onClick:this.stopIndexing},Object(E.__)("Stop SEO data optimization","wordpress-seo"))}},{key:"renderDisabledTool",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)("p",null,Object(y.createElement)(k.NewButton,{variant:"secondary",disabled:!0},Object(E.__)("Start SEO data optimization","wordpress-seo"))),Object(y.createElement)(k.Alert,{type:"info"},Object(E.__)("SEO data optimization is disabled for non-production environments.","wordpress-seo")))}},{key:"renderProgressBar",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(k.ProgressBar,{style:{height:"16px",margin:"8px 0"},progressColor:j.colors.$color_pink_dark,max:parseInt(this.state.amount,10),value:this.state.processed}),Object(y.createElement)("p",{style:{color:j.colors.$palette_grey_text}},Object(E.__)("Optimizing SEO data... This may take a while.","wordpress-seo")))}},{key:"renderErrorAlert",value:function(){return Object(y.createElement)(A,{message:yoastIndexingData.errorMessage,error:this.state.error})}},{key:"renderTool",value:function(){return Object(y.createElement)(y.Fragment,null,this.isState("in_progress")&&this.renderProgressBar(),this.isState("errored")&&this.renderErrorAlert(),this.isState("idle")&&this.state.firstTime&&this.renderFirstIndexationNotice(),this.isState("in_progress")?this.renderStopButton():this.renderStartButton())}},{key:"render",value:function(){return this.settings.disabled?this.renderDisabledTool():this.isState("completed")||0===this.state.amount?Object(y.createElement)(k.Alert,{type:"success"},Object(E.__)("SEO data optimization complete","wordpress-seo")):this.renderTool()}}]),h}(y.Component);L.propTypes={indexingActions:_.a.object,preIndexingActions:_.a.object,indexingStateCallback:_.a.func},L.defaultProps={indexingActions:{},preIndexingActions:{},indexingStateCallback:function(){}},t.a=L},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r,o=n(0),a=n(1),i=n.n(a),s=n(2),c=n(6),l=n(115),u=n(4);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e){return u.createElement("svg",p({viewBox:"0 0 296 317",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),r||(r=u.createElement("g",{transform:"matrix(-1 0 0 1 295.274 .96)",fill:"none"},u.createElement("circle",{fill:"#F0ECF0",cx:131.18,cy:184.261,r:131.18}),u.createElement("g",{fill:"#EAB881"},u.createElement("path",{d:"M236.42 96.56c-.15-.43-.29-.87-.44-1.3.15.43.29.87.44 1.3zm-31.98 59.96a11 11 0 00-2.11.82c.67-.3 1.4-.56 2.11-.82zm-2.11.82a58.65 58.65 0 00-6 2.81c2.67-1.11 4.56-2.11 6-2.81z"}),u.createElement("path",{d:"M293.49 164.27c-8.58-10.51-1.05-27.75-34.52-86.31-3-5.22-5.26-14.52-12.85-17.58-9.11-3.67-12.77-9.16-21.89-12.83-6.85-2.76-4-1.36-3.21-.49 1.49 1.67-2-1.31-5.72 7.13-.38.85 2.86 1.63 4 5 .36 1.07.49 1.14 1.23 1.33 4.71 1.2 6.52 6.89 4.2 10.06-.7-1.43.18-6-4.68-6.36 2 1.44 4.06 3.42 4 5.88 9.4 16.64 17.56 14 20 15 12.43 4.92-17.28 64.57 23 86.13-7.34-1.94-14.31-5.46-23.92-1.33 7.28-5.53 2.46-7.57.86-10.89-2.17-2.92-2.29-11.71-2.6-22.62a103.2 103.2 0 001.09 20.32 54.8 54.8 0 00-38-.12c5.19-1.21 15.45 48.34 20.15 53.9 3.8-1.4 23-8.57 35.17-14.11 21.52-9.81 34.94-25.76 35.44-28.31.24-1.47-.85-2.71-1.75-3.8zm-41.62-99.13c.06.1 8.87 19.59.56 1.21-.2-.44-.38-.84-.56-1.21z"}),u.createElement("path",{d:"M215.17 56.04c.46.17 2 1.49-.23-.93-.88 2.39-.6 4.42 2 6.74 1.06-3 0-3.51-1.77-5.81zm-4.33 23.82c.28-.07.36.05-.35-.38l.35.38z"})),u.createElement("path",{d:"M203.74 73.77c0 .4-.33-.06 2.94 2.38l-2.94-2.38zm5.26 4.27c2.3 2 3.13 2.53 2.19 1.77L209 78.04zm6.17-22c.05.06 1.79 2.31 1.83 2.38-.49-1.27-.83-2.01-1.83-2.38zm-.52 11.73c1.38-.08.73 1.34 2.16-.5.52-.67 1.91-3.21.71-2.6.56-2.33-.09-6.71-.19-4.75-.13 2.46-3.7 10.77-8.67 9.87a7.6 7.6 0 003.25.22c2.74-.39 2.36-.97 2.74-2.24zm-5.99 2.02a6.27 6.27 0 01-1.42-.59c.42.309.906.51 1.42.59z",fill:"#D38053"}),u.createElement("path",{d:"M214.2 69.33a4.13 4.13 0 01-.85 3.73c3.38-1.27 3.66-3.51 2.48-4.78-1.18-1.27-1.34.03-1.63 1.05zm-32.31 1.85c.11.84 2.61 2.33 3.3 2.78a13.33 13.33 0 01-3.3-2.78zm10 4.39c-.21.13-.45.1.31 0-.28-.12-.13-.1-.31 0zm-6.51-1.53a29.79 29.79 0 004.51 2.28c2.54-1.52.8.82-4.51-2.28z",fill:"#D38053"}),u.createElement("path",{d:"M202.61 77.13c-.91.35-5.67.26-10.41-1.57-6.74 1-6.41 12.08-1 12.4 8.18.48 10.11 3 13.48 1.92 6.82-2.28 2.4-11.62-2.07-12.75z",fill:"#EAB881"}),u.createElement("path",{d:"M217.52 64.67a4.92 4.92 0 012.54-.48c4.87.36 4 5 4.68 6.36 2.31-3.16.52-8.86-4.2-10.06-2.25-.57.56-2.91-7.86-7.27a10.79 10.79 0 014.84 11.45zm15.23 112.51c-6.79 1.78-17.9 1.65-21-5.2 3.71 11.1 9 26.86 12.86 37.68 2.88-.89 7.41-1.86 8.89-3.4-3.52-4.16-8.67-10.41-8.74-15.89-.07-5.48 2.92-11.16 7.99-13.19zm-26.31-20.36c-.14.17-.15 0 .53 1.27-.18-.46-.35-.89-.53-1.27z",fill:"#D38053"}),u.createElement("path",{d:"M246.11 86.55c-2.26-3.64-4.21.58 2.23-3.3-10.49 4.56-18.5-2.9-24.34-13.21-.05 1.82-1.23 3.13-2.61 4.36-9.64 8.64-10.89 4.95-12.39 3.64-8-7-3.86-2.44-6.09-1-.71.46 4.08 1 5.31 7.11a5.26 5.26 0 01-2.67 5.38c7.41 5.8 14.7 2.46 25.68-4.09 14.67 22.17 7.38 66.27 12.78 73.54 1.6 3.32 6.42 5.36-.86 10.89 9.61-4.13 16.58-.61 23.92 1.33-37.63-20.16-14.29-73.91-20.96-84.65z",fill:"#D38053"}),u.createElement("path",{d:"M190.92 211.52a81.3 81.3 0 00-9.26-12.14c6.41 7.94 17.18 24.84 9.26 12.14z",fill:"#A52A6A"}),u.createElement("path",{d:"M205.85 156.04c-31.36 13.6-26.45 13.21-42 8.34-18.87-5.91-37.14-.76-32.1-1.07 11.82-.72 29.07 49.31 35.44 66.88l62.17-10.35c.64 7.64-20.9-59.34-23.51-63.8z",fill:"#A52A6A"}),u.createElement("path",{d:"M214.23 180.31c-8.73 13.9-32.09 11.23-35.71-4.78 8 32.54 8.23 20.07-9.5 9.69 25.36 25.8 22.47 41.74 28.27 44.5 3.49 1.65 13.65-3.77 26.3-7.69 3.3-1 4.88-1.61 4.76-2.19l-14.12-39.53z",fill:"#7C2050"}),u.createElement("path",{d:"M192.93 72.9a3 3 0 01-.92 2.58 25.5 25.5 0 009.52 1.8c2.47-.02.6.27-8.6-4.38z",fill:"#EAB881"}),u.createElement("path",{d:"M220.06 64.19c-3.36-.25-1 1.37-4.23 4.09 1.18 1.27.9 3.51-2.48 4.78a4.07 4.07 0 00.85-3.73c-2.67 1.26-5.78.74-7-.13 4.38 2.46 8.07-2.64 9.69-7.37-2.58-2.31-2.87-4.34-2-6.74-1.19-1.31-4.4-3.35.19-.49a25 25 0 012.94-5.18c1.27-1.71 5.22-.83 1.65-3.46-1.76-1.3-8.08-2.63-8.81-2.59a4.11 4.11 0 00-3.06 1.53c-4.33-1.59-9.29-1.86-11.78 2-4.24-3.58-9.38 2.15-7.77 6.69 1.44 4-1.86.15-7.06 14.62-1.27 3.54 5.07 7 8.77 7.58 7.7 1.25-18.75-8.93 2.24-.45 3.4 2.66 5.28 1.49 10.44 1.8 1.08-.47 1-1.92 1.05-3.09 0-1.84 6.81 8.52 10.32 5.44 8.71-4.45 13.99-9.58 6.05-15.3z",fill:"#EAB881"}),u.createElement("path",{d:"M192.51 69.95c.38.94.28.45 0-2.57a4.18 4.18 0 000 2.57z",fill:"#EAB881"}),u.createElement("path",{d:"M194.68 57.19a15.87 15.87 0 00.36-1.77c-.14.62-.25 1.18-.36 1.77z",fill:"#D38053"}),u.createElement("path",{d:"M59 167.04c-7.75 3.79-5.09 3.25-3.46 3.59a74.937 74.937 0 003.46-3.59zm69-3.33l-.77-.17c.242.112.504.17.77.17z",fill:"#A52A6A"}),u.createElement("path",{d:"M200.06 262.44c1.23-17.17 10-35.47-31-77.22-8.89-9-13.84-13.86-31.69-19.13 6.35 7.45-.5 40.2-3.43 38.36-25.84-16.17-70.31-19.82-79.39-32.84 6.7-6.24-28.46 5.48-39.7 16.24-3.57 3.42-8.13 12.77-12.22 22.43 8.53 42.43 41.23 74.66 42.5 72 3.64-7.7 7.17-15.66 6.64-14.47 11.84 12.23 19.29 19.48 23.78 35.23A131 131 0 00201 295.25c-.06-16.21-1.3-27.79-.94-32.81zm-145.78-.4c.1 0 0-.08-1.06 2.38.36-.79.71-1.59 1.06-2.38z",fill:"#A52A6A"}),u.createElement("path",{d:"M53.29 267.84c5.65 7.53 33.06 17 44.3 27a280 280 0 01-35.06-36.66 203.23 203.23 0 0049.54 9.79l-47.15-13.12c.667-5.7 1.333-11.393 2-17.08-3.35 4.49-11.74 22.07-13.63 30.07zm125.12-18.17c-12.42-1.14-45.91 6.44-50.79 17 18.32-12.22 51.08-16.81 54.55.56-.17-1.02 12.83-16.03-3.76-17.56z",fill:"#7C2050"}),u.createElement("path",{d:"M124.39 155.75c0 .21.1.43.16.64-.06-.21-.11-.43-.16-.64zm-57.05-39.34c-.59 0-.52-.25 0 1.56 1.53 2.37.74 1.51 0-1.56zm56.8 38.33l.12.46-.12-.46zm-69.63 16.87c9.09 13 53.53 16.65 79.39 32.84 2.16 1.35 8.75-21.75 4.69-36.08-1.9-6.72-10.19-4.65-10.62-4.66-1 0-1.46-.64-1.83-1.66-.68-1.91-1.52-5.36-1.48-5.21-1.23 4.07-1.68 6.59-3.49 7.5-6.48 3.24-37.85-9.4-52.25-41 .62 2.53 1.06 5.26-1 3.64 3.8 16.54 5.92 26.64-13.41 44.63z",fill:"#EAB881"}),u.createElement("path",{d:"M107.65 148.64c-20.65-5.6-33.72-12.94-37.72-32.87-3.26 1.48-3.22-1.55-1 7.6 14.4 31.56 45.77 44.21 52.25 41 2.15-1.07 3.54-7.31 3.38-8-2.21-8.85 2.2-2.53-16.91-7.73z",fill:"#D38053"}),u.createElement("path",{d:"M140.75 66.31c-3-9.44-7.65-19.56-11.74-25.21a15.73 15.73 0 01-8.82-3.17c-7.48 8.26-15.45 4.83-16.65 0-1.68 5.91-9.62 9-14.83 5.74a6.35 6.35 0 004.78-2.95 18.42 18.42 0 01-15.21-2.12c-6-.8-4.66-.93-1.31 4.28 7.29 11.35 4.24 15-4.14 23.72C62.7 77.12 70.69 82.04 74 85.14c6.7 6.17 1.74 13-5.65 12.35 4.88 8.65 5.25 9.2 5.41 10.7.34 3.25-1 6.28-3.86 7.58 4 19.73 16.77 27.17 37.72 32.87 6.48 1.76 13.43 3.33 20 1.88 6.57-1.45 12.87-6.74 13.24-13.51.22-4.11-1.69-10-1.26-14 .68-6.64 5.94-5 6.24-21a112.12 112.12 0 00-5.1-35.45",fill:"#EAB881"}),u.createElement("path",{d:"M121.63 67.04c-.14 1.89.33 11.5 1.43 14.94 2.29 7.11 7.13 6.6 10.67 8.13 4.36 1.9 5.64 6.66-1.58 8.75-3.85 1.12-7.92 2.25-11.82 1.33 1.4 1.63 3.81 1.84 6 1.84 14.73 0 15.5-9 13.14-12.25-3.67-5.06-12.38-1.31-15.58-12.81-.81-2.74.11-8.51-2.26-9.93z",fill:"#D38053"}),u.createElement("path",{d:"M110.39 112.3c-10.66-3-13.86-7.32-14.77-5.86-1.15 1.83 18.2 12.62 29.48 6.84-5.03.06-9.69.44-14.71-.98zM86.23 73.61c1.75 0 7-6 8.82-7.15 3.63-2.2 7.63-1.08 11.78-2-.51-1.34-3.51-5.43-4.18-5.29-3.17.68-9.2.3-9.2.3s-13.18 14.27-7.22 14.14zm39.37-15.85c-5.09.43-3.23 1.61-2.29 5.5a18.92 18.92 0 0117.63 3.35c-5.31-8.47-9.64-9.34-15.34-8.85z",fill:"#000"}),u.createElement("path",{d:"M91.39 85.5c4.56 6.52 15.3 4.23 18.45-1.77-.92-5.69-16.99-9.33-18.45 1.77zm9.87 1.69c-6.09 3.06-8.18-7.15-1.85-7.15 4.07 0 5.74 5.19 1.85 7.15zm25.58-4.58c2.38 3.65 14 2.53 14.28-3.35-4.19-9.42-16-4.69-14.28 3.35zm8.47-1.63a3.56 3.56 0 01-5.31 1.29c-2.29-1.87-1-6.45 2.58-6a3.57 3.57 0 012.73 4.71z",fill:"#FFF"}),u.createElement("path",{d:"M126.72 79.53c1.76-6.07 10.8-8.36 14.4-.27 1.07 2.38.95-6.79-5.3-7.23-3.92-.28-10.17.09-9.49 10a11.4 11.4 0 01.39-2.5zm-27.31.51c-6.34 0-4.24 10.2 1.85 7.15 3.89-1.95 2.23-7.15-1.85-7.15z",fill:"#000"}),u.createElement("path",{d:"M132.6 76.26c-3.61-.44-4.87 4.14-2.58 6a3.4 3.4 0 102.58-6zm-63.68 47.11c-2.54-10.52-.32-4.66-9.77-9 5.12 9 12.19 18.98 9.77 9zM129 41.1c5.48 7.57 6.11 13.42 5.52 9.56a51.53 51.53 0 00-2.44-9.71 16.7 16.7 0 01-3.08.15z",fill:"#000"}),u.createElement("path",{d:"M137.16 26.23c3.42-12.58-5.26-13.54-7.57-11.18A10.51 10.51 0 00113.3 5.04c-3.11-5.35-12.48-8.78-24.25 2.14C88-.5 72.44 1.9 70.12 17.68c-5.8 1.09-8.67 4.26-10 6.8-5.74.56-24.3 24.19-25.12 32.06-.51 4.69 2 9.11 3.31 13.65.84 2.89 1.22 6 2.75 8.59 4 6.77 0 3.56 5 2.71 4.44-.75 16.29 5.15 22.4 16 3.66.32 7.38-.9 8.67-5.17 1.72-5.69-6.59-8.6-8.54-13.18-4.08-9.57 10.77-15 12.37-23.84 1-5.78-3.41-11.93-7.06-17.09 1.24 0 2.7.15 4.46.38-.16-.1-.3-.21-.45-.32a17.59 17.59 0 0015.66 2.44 6.35 6.35 0 01-4.78 2.95c5.21 3.24 13.15.17 14.83-5.74 1.2 4.84 9.14 8.31 16.65 0a16.12 16.12 0 0018.08.78 11.39 11.39 0 01-5.61-4.34c3.19.61 6.37-1.64 7.88-4.5 1.51-2.86 1.74-6.22 1.9-9.46a9.68 9.68 0 01-5.36 5.83zm-77.44 3.81l-.08-.11.08.11zm-.5-3.51v.09c0-.37.06-.82.09-1.36-.05.48-.07.89-.09 1.24v.03zm14.53 7.72a18.09 18.09 0 004.06 4 16.75 16.75 0 01-4.06-4.03v.03zm-.59-.86l.24.35-.24-.35z",fill:"#000"}),u.createElement("path",{d:"M97.49 76.04c-3.73.6-7.38 4.53-6.58 9 1-2.29 1.84-4.94 5.06-6.12 4.28-1.56 11.29-.39 13.75 4.36 1.38 2.65.02-9.24-12.23-7.24z",fill:"#000"}),u.createElement("path",{d:"M73.79 108.19c-.16-1.5-.53-2.05-5.41-10.7-6.11-10.84-17.95-16.75-22.38-16-7.48 1.27-15.82 21.55 15.3 33.82 8.33 3.28 13.12-1.13 12.49-7.12z",fill:"#EAB881"}),u.createElement("path",{d:"M96 105.92c2.11-2.9 10.26 2.05 16.39-5.72.79-1 1.41-4 3.31-3.71-5.06-.88-6.61 8.28-14.23 6.32-3.12-.81-9-5.15-10 11.67a58.56 58.56 0 014.53-8.56zm-33.55-5.55c4.3-10.34-20.92-21.24-19.6-7 .3 3.21 2.29 8.83 5.31 9.81-2.45-5.37.27-12.44 1.57-13.5 2-1.61 4.51.76 7.4 2.9-.13 1.68-2.51 2.46-2.65 4.09-.12 1.31 1.07 2.94 5.05 2a7.72 7.72 0 01-2.17 5 5.2 5.2 0 005.09-3.3zm130.32-29.93a3.7 3.7 0 01-.27-3.06c4.45-17.69 1.95-7.91-1.07-3.12-2.38 3.78-3.24 6.3.67 8.22 23 11.28 1.9-.25.67-2.04z",fill:"#D38053"}),u.createElement("path",{d:"M192.25 75.29c-2.41-1-6.47-3.9-6.5-5.61 0-1.15 4.89-8.09 3.9-14.36-1.07 1.71-6.51 12.19-6.39 14.2.23 3.86 9.09 5.81 8.99 5.77zm13.21-25.34c-.16 1.86-6.76 14.12-6.76 18.83.36 1.09 4.49 2.16 4.71 3.29-6.82-5.17 3.5-20.43 2.05-22.12z",fill:"#D38053"}))))}var f=n(35);function m(e){var t=e.workout,n=e.badges,r=e.upsellLink,a=e.upsellText,i=Object(c.useSelect)((function(e){return e("yoast-seo/workouts").getFinishedSteps(f.c.cornerstone)})),u=r||"https://yoa.st/workout-cornerstone-upsell";return Object(o.createElement)(l.a,{id:"cornerstone-workout-card",name:f.c.cornerstone,title:Object(s.__)("The cornerstone approach","wordpress-seo"),subtitle:Object(s.__)("Rank with articles you want to rank with","wordpress-seo"),usps:[Object(s.__)("Make your important articles rank higher","wordpress-seo"),Object(s.__)("Bring more visitors to your articles","wordpress-seo")],image:d,finishableSteps:f.a.cornerstone,finishedSteps:i,upsellLink:u,upsellText:a,workout:t,badges:n})}m.propTypes={workout:i.a.func,badges:i.a.arrayOf(i.a.element),upsellLink:i.a.string,upsellText:i.a.string},m.defaultProps={workout:null,badges:[],upsellLink:null,upsellText:null}},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r,o=n(0),a=n(1),i=n.n(a),s=n(2),c=n(6),l=n(115),u=n(4);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e){return u.createElement("svg",p({viewBox:"0 0 299 322",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),r||(r=u.createElement("g",{transform:"matrix(-1 0 0 1 298.412 0)",fill:"none"},u.createElement("circle",{fill:"#F0ECF0",cx:131.2,cy:190.029,r:131.2}),u.createElement("path",{d:"M262.5 92.23c-1 1.2-3 2.9-7.5 5a18.4 18.4 0 01-10.9 1.6c-.5-1-1-2.2-1.7-3.3l.4-.2.3-.2a14 14 0 003.3-.2c2.4.2 4.7-.6 6.9-3.2 3.1-3.9 1.7-10.7-1.3-14.6 2.6 2.5 4 5.7 6.4 8.6a231 231 0 013.3 4c.1.4 1.5 1.8.8 2.5zm-90.9 98.2a17.1 17.1 0 014 14.3c-11-7.9-22-18.9-31.8-37.8 26.5 1 39.4 8.8 39.5 8.7 43-17.2 51.7 1.5 66.8-6.3 2.3 4.7 5.3 6.3 8.4 9.4-13.5-13.9 5.7-22-5.1-57.7 7.3 0 20.8-4.8 22.9-9.7 14.8 26.3 10.5 39.9 17.8 54.6.6 1.2 2.3 6.7 3.5 8.2 2 2.8 0 7.7-2.7 10.6-29.7 32.8-68.9 33.6-93.5 36.8-6.4-4.6-13.8-8.5-21.5-13.7-1-5.1-1.2-11.2-8.3-17.4z",fill:"#F9BF8C"}),u.createElement("path",{d:"M253.4 121.03c10.8 35.8-8.4 43.8 5.1 57.8-3-3.2-6-4.8-8.4-9.5a52.999 52.999 0 01-.3-2.2 50.2 50.2 0 01-.4-5v-2l.1-3.6.1-1.8.3-3.7.4-3.7.6-5.6a153.4 153.4 0 00.6-9.5v-2a69 69 0 00-.3-7.8l-.2-1.6a10.5 10.5 0 002.4.3v-.1zm-11-25.6l1.7 3.4h-.1c-1.9-.1-2.3-2.3-2.7-2.6l-.1-.2 1.2-.6z",fill:"#DB7A53"}),u.createElement("path",{d:"M219.7 95.53c-.7-1.6-3-3-5.5-3.6.1-.011.2-.011.3 0a8.4 8.4 0 005.1-1.3l-.3-.2a1.6 1.6 0 00.2 0 3.3 3.3 0 002.7-.6 34.2 34.2 0 006.4-4 5 5 0 002-2.8l.4.3c-.7 6.5 5.4 11.5 12.1 11.9l-.3.1-.4.2-1.2.6c-3.8 1.9-11 5.7-13.6 5.6-2.9 0-6.9-2.2-9.8-3.9 1.4-.5 2.3-1.2 1.9-2.3z",fill:"#DB7A53"}),u.createElement("path",{d:"M223.7 76.23v.3a3.7 3.7 0 01-.2 1.3c-1.3-.7-2.4-1.5-2.6-2.6a3.2 3.2 0 01.3-1.7 7.1 7.1 0 012.5 2.7z",fill:"#F9BF8C"}),u.createElement("path",{d:"M253.3 91.73c-2.1 2.6-4.5 3.4-6.9 3.2a13 13 0 005.2-2.3c-6 2.7-10.5 1.1-13.8-1.5a36.9 36.9 0 01-4.7-5.3c-1.1-1.6-1.8-2.8-2.1-2.9a3 3 0 000 .3l-.3-.3a2.4 2.4 0 00-.9-2 10.2 10.2 0 00-3.2-1.9 5.5 5.5 0 012.9.6c1.6.9 1 2.1 1.8 3.1a3.3 3.3 0 00.2-3.7c-.8-1.3-4-1.1-6.1-1.3a2.3 2.3 0 000-.2l.8-1a1.3 1.3 0 01-.7-.8c-.8-1.2-2.4-2-4.2-2.6l.1-.2a16.4 16.4 0 012.2-3.5c.7-.8 5.5-.3 6.1-.6a21 21 0 002.5.7l16.8 5.1a7.8 7.8 0 013 2.5c3 3.9 4.4 10.7 1.3 14.6z",fill:"#F9BF8C"}),u.createElement("path",{d:"M228.6 85.73a34.2 34.2 0 01-6.4 4 3.3 3.3 0 01-2.6.6c1.5-.6 2.1-2.3.7-2.8l-.8-3.8a10 10 0 002-.7v.1c.5.8.4 4-.4 4.6 1-.2 2.2-3.1 2.5-4a1.3 1.3 0 00-.6-1.5 5.2 5.2 0 00.8-.8 6.7 6.7 0 001.3-2 6.3 6.3 0 011.5-.4 10.2 10.2 0 013.2 1.9 2.4 2.4 0 01.9 2 5 5 0 01-2.1 2.8zm-5-16.3a16.4 16.4 0 00-2.2 3.5l-.1.2a39 39 0 00-2.4-.6 9 9 0 012.3 1 3.2 3.2 0 00-.3 1.7c.3 1.1 1.3 2 2.6 2.6a11.3 11.3 0 01-.9 1.8 9.3 9.3 0 01-2.7 3.3l-.5.3-3.4-15.4-2.1-.3a4.4 4.4 0 012.7-1.4 35.6 35.6 0 0113 2.7c-.5.3-5.3-.2-6 .6z",fill:"#F9BF8C"}),u.createElement("path",{d:"M219.4 83.23a6 6 0 01-2.8.7 7.8 7.8 0 01-1.5-.2 4 4 0 001.5.2 9.8 9.8 0 003-.2l.7 3.8c1.4.5.8 2.2-.7 2.8h-.1a1.6 1.6 0 01-.2 0 39 39 0 00-7-3c-.3-3.4-.6-6.7-2-9.7 1.7-2.8 3.2-5.6 1.7-6.6 0 1.3-1.1 3.4-2.4 5.4a13.3 13.3 0 00-1.2-1.7 13 13 0 00-5.2-3.6c.8-1.7 1.4-3.5 3.7-3.8a24.3 24.3 0 016.9.2l2.1.3 3.5 15.4z",fill:"#F9BF8C"}),u.createElement("path",{d:"M223.7 76.23a5 5 0 01.6 3.4 7 7 0 01.8-.3 6.7 6.7 0 01-1.3 2.1 5.2 5.2 0 01-.8.8 1.7 1.7 0 00-1.2-.2l-.2 1a10 10 0 01-2 .7 9.8 9.8 0 01-3 .2 6 6 0 002.8-.7l.5-.3a9.3 9.3 0 002.7-3.3 11.3 11.3 0 001-1.9 3.7 3.7 0 00.1-1.3v-.2zm1.6 1.3c.007.1.007.2 0 .3v-.3z",fill:"#DB7A53"}),u.createElement("path",{d:"M223 82.23c.524.3.773.92.6 1.5-.3.9-1.4 3.8-2.5 4 .8-.7 1-3.8.5-4.6v-.1l.3-1a1.7 1.7 0 011.1.2z",fill:"#DB7A53"}),u.createElement("path",{d:"M201.4 91.73a3.1 3.1 0 00-.8.7c-2-.9-3.9-2.7-5.7-3.4-.5-.1-2.7-.8-2.9-1.4a13.7 13.7 0 005.2 2 43 43 0 004.2 2v.1zm.1-2.2h.1a30.3 30.3 0 005.4.4 30 30 0 003.6 1.6c-2.6-.3-5.7-1-8-.4l-2.2-1.3a2.7 2.7 0 001.1-.3zm13 2.5a1.4 1.4 0 00-.3 0 10.6 10.6 0 00-2-.4h-.4a26.6 26.6 0 01-3-1.8l1.7-.1a3.2 3.2 0 001.3-.4 1.2 1.2 0 00.5-1l6.7 2.7-6.7-3.6a39 39 0 017 3c.1.2.3.2.4.3a8.4 8.4 0 01-5.2 1.3z",fill:"#F9BF8C"}),u.createElement("path",{d:"M225 79.33a7 7 0 00-.7.3 5 5 0 00-.6-3.4 7.1 7.1 0 00-2.5-2.7 9 9 0 00-2.2-1l2.3.7c1.8.5 3.4 1.3 4.2 2.6a1.3 1.3 0 00.6.6c.2 0-.5.7-.8 1.1v.3c2.2 0 5.4-.1 6.2 1.2a3.3 3.3 0 01-.2 3.8c-.8-1-.2-2.3-1.8-3.2a5.5 5.5 0 00-3-.6 6.3 6.3 0 00-1.4.3h-.1zm6 3.9a3 3 0 010-.3c.3 0 1 1.3 2 3a23.8 23.8 0 004.8 5.2c3.3 2.6 7.8 4.2 13.8 1.6a13 13 0 01-5.2 2.2 14 14 0 01-3.3.2c-6.7-.4-12.8-5.4-12.1-11.9z",fill:"#DB7A53"}),u.createElement("path",{d:"M208.4 74.73c.478.53.913 1.099 1.3 1.7-1.4 2.2-3 4.3-3.5 5.3s-1.3 2.6-.3 3.6a38.8 38.8 0 006.4 3 1.2 1.2 0 01-.6 1 3.2 3.2 0 01-1.2.4l-1.8.1a14.4 14.4 0 00-3.6-1.9 13.4 13.4 0 01-3-1.2c0-.9-.3-2.4-.5-4 1.6-3 5-8.2 2.7-10.1.9 1.6-1.4 5.5-3 8l-.8-4a3.8 3.8 0 000-2 3.5 3.5 0 01-.2 1c-.4-1.6-.7-2.6-1-2.7-.9-.3-2 .6-3 2 1-2.2 1.5-4.1 4.7-4.1a7.3 7.3 0 012.2.4 13 13 0 015.2 3.5zm-6.1 13a39.6 39.6 0 014.7 2.2 30.3 30.3 0 01-5.3-.5 1.7 1.7 0 00.6-1.7z",fill:"#F9BF8C"}),u.createElement("path",{d:"M207 84.53c-.2-1.3 1.6-4.1 3.3-6.9a27 27 0 012 9.7l-5.3-2.8zm-7.6-11.7c.3 0 .6 1.2 1 2.7-1.2 2.7-5.5 6.5-6.7 8.9a3.4 3.4 0 00-.6 2c.2.7 2 2 4.1 3.2a13.7 13.7 0 01-5.2-2l-.4-.3a1.7 1.7 0 01-.5-.5 1.5 1.5 0 010-1.2c.5-1.2 2.8-7.5 5.2-10.9 1-1.3 2.1-2.2 3-1.9h.1z",fill:"#F9BF8C"}),u.createElement("path",{d:"M199.4 86.63a5 5 0 002 .8l.9.3a1.7 1.7 0 01-.7 1.7v.1a2.7 2.7 0 01-1.2.3c-1.8-1-3.4-2.1-4.1-2.6-.4-.3-.8-.6-.9-1a1.7 1.7 0 01.4-1c1.2-2 4-5.9 4.7-8.7l.7 4-1 1.5c-1 1.5-2.2 3.5-.8 4.6z",fill:"#F9BF8C"}),u.createElement("path",{d:"M201.2 86.03c-.5-.7-.6-.8-.4-1.7a9.9 9.9 0 01.8-1.6l.5 4a3 3 0 01-.9-.7z",fill:"#F9BF8C"}),u.createElement("path",{d:"M211.8 91.63h-1.2a30 30 0 01-3.6-1.7 39.6 39.6 0 00-4.7-2.2l-.8-.3a5 5 0 01-2-.8c-1.5-1.1-.3-3 .8-4.6l1-1.4c1.6-2.5 4-6.5 3.1-8 2.2 2-1.2 7-2.8 10.1a9.9 9.9 0 00-.7 1.6c-.3.9-.2 1 .4 1.7a3 3 0 00.9.7 13.4 13.4 0 003 1.3 14.4 14.4 0 013.6 1.9 26.6 26.6 0 003 1.7z",fill:"#DB7A53"}),u.createElement("path",{d:"M195.8 85.33a1.7 1.7 0 00-.4 1c0 .4.5.7.9.9l4 2.6c.8.5 1.6 1 2.4 1.3a4.2 4.2 0 00-1.3.6 43 43 0 01-4.2-2c-2.1-1.3-4-2.6-4-3.3a3.4 3.4 0 01.5-2c1.2-2.3 5.5-6.1 6.6-8.8a3.5 3.5 0 00.3-1 3.8 3.8 0 010 2c-.8 2.8-3.6 6.6-4.8 8.7zm11.2-.8l5.3 2.8 6.7 3.7-6.7-2.6a38.8 38.8 0 01-6.4-3c-1-1-.4-2.4.3-3.5l3.5-5.4c1.3-2.2 2.4-4 2.4-5.3 1.5 1 0 3.7-1.8 6.5s-3.6 5.6-3.2 7l-.1-.2z",fill:"#DB7A53"}),u.createElement("path",{d:"M201.4 91.73a4.2 4.2 0 011.3-.6c2.2-.5 5.3.1 7.9.4l1.2.1h.4a10.6 10.6 0 012 .3c2.4.6 4.8 2 5.4 3.6.5 1-.5 1.8-1.8 2.2a11.1 11.1 0 01-2 .4c-4.2.6-5.5 2-11.5 2.8-2.6.4-4.4-4-4.4-5.9a4.2 4.2 0 01.7-2.6 3.1 3.1 0 01.8-.7z",fill:"#F9BF8C"}),u.createElement("path",{d:"M253.4 121.03a10.5 10.5 0 01-2.4-.2 5.3 5.3 0 01-.7-.2c-2.4-.9-8.6-17.6-9.3-21-.3-1.2-.3-3.5.3-3.4.3.3.8 2.5 2.7 2.5h.1a18.4 18.4 0 0010.9-1.5c4.6-2.1 6.6-3.8 7.6-5 .6-.8-.7-2.2-.9-2.5.4-.4 1.3.1 1.7.3 5.9 2.8 10.2 12.7 13.1 19.4a2.9 2.9 0 01-.1 1.9c-2.1 5-15.6 9.8-23 9.8v-.1z",fill:"#A52A6A"}),u.createElement("path",{d:"M171.6 190.43c7 6.2 7.3 12.3 8.3 17.4l-4.4-3a17 17 0 00-3.9-14.4z",fill:"#DB7A53"}),u.createElement("path",{d:"M41.3 265.93l-.5.2c6.5 8.6 14.1 17.5 21 30.5a28.8 28.8 0 012.8 7.7c45.714 25.792 102.423 21.736 144-10.3-.8-3.5-1.7-7.1-2.8-11 12.67-7.311 18.506-22.484 14-36.4a43 43 0 00-18.4-25.1c-6.4-4.6-13.8-8.5-21.5-13.7l-4.4-3c-10.8-8-22-19-31.7-37.9l-.1-.2a71 71 0 00-19.9-2.3c12 5.8 41 37 4.2 43-29 3.1-47.3-27.9-84-28.7a47.8 47.8 0 00-13.5 9.4l-1 1a37 37 0 014.7-2c16.4 1 27 15.3 32.9 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.3 2.7-20-3.7l-1.5.7-1 .6-.7.3z",fill:"#009288"}),u.createElement("path",{d:"M29.5 189.23a37 37 0 014.5-2.2c16.4 1 27 15.3 33 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.4 2.7-20-3.7l-1.5.7c6.9-5.7 4.9-6.8 18-4.4-10.8-6.4-16.1-9.1-38.7 6.1a122.2 122.2 0 01-21.4-53.5 133 133 0 0128.7-24.1v.2z",fill:"#F9BF8C"}),u.createElement("path",{d:"M61 260.63c-13.2-2.4-11.1-1.3-18 4.4l-1 .6-.6.2-.6.3-.5.3-.6.3-1.1.6-.7.3-1 .6-.7.4-1.2.6-.6.3-1.3.7-.6.3-1.3.7-.5.3-1.4.8-.3.1-1.6 1-.6-.9-4.5-5.8c22.6-15.2 27.9-12.4 38.7-6v-.1z",fill:"#DB7A53"}),u.createElement("path",{d:"M128 207.43c-29.2 3.1-47.5-28.2-84.5-28.7 14.2-5.2 23-11.3 23-27.1 0-8.8-2.7-25.8-3.6-38.2 0 0 57 21.4 57.8 36.1l2 14.3c11.2 4.3 43.3 37.4 5.3 43.6z",fill:"#F9BF8C"}),u.createElement("path",{d:"M87.3 151.73a56.8 56.8 0 01-17.1-22.8 62.4 62.4 0 0043 22c2.5-.1 5-.2 7.3-.5v.5l.2 1.2c-4.7 11.9-7.3 19.5-33.4-.4z",fill:"#DB7A53"}),u.createElement("path",{d:"M162 280.43c.5 7.4-16.2 16.2-30.8 17.3-19.8 1.4-54.8-9.2-48-40.7 18.2 35 68.8 31.3 78.8 23.4z",fill:"#216D64"}),u.createElement("path",{d:"M122.5 72.33a9.8 9.8 0 00-2.1-.8h2.6l-.5.8zm-9.9.8a4.8 4.8 0 00-.6-1.7c7.3 0 4-.6.6 1.7zm12.6 14l.8.8c-.9-1.5-1.5-4.6-2.9-12.6l-.4-.3a16 16 0 002.5 12.1z",fill:"#F9BF8C"}),u.createElement("path",{d:"M154.7 95.83a44.5 44.5 0 00-1.6-8.2c-2-6-4.8-6.6-7.3-9.6a50.6 50.6 0 00-1-23.9c0 .1-8.7-35.8-54.2-22a44.6 44.6 0 00-10 5.9c-10.6 8.2-7.6 13.4-10 25.4a74.9 74.9 0 01-4.4 11.9c-4.8 3.8-7.6 6.5-8.1 9.9 1 4.7 5.4 18.3 5 28.1 6 27.2 36.6 38.3 50 37.6 2.6-.1 5-.2 7.4-.5 6.5-.7 11.9-2.8 17-11.3 6.4-10.8 5.6-16.5 9.4-22.5 2.5-4.1 9-9.7 7.8-20.8zm-42.2-19.5c-1 7.6-2.5 10.5-5.3 11.4a18.3 18.3 0 001.3-3.3c-4.6 2.5-17 2.8-21.2-3-.9.4-2 .4-4-.6l.2-.1c4.2-.1 2.6-1 4.1-3.8a10.6 10.6 0 01.6-1h17.1a11 11 0 013.8 6.7 58.3 58.3 0 001.2-6.8l3-.2-.8.7z",fill:"#F9BF8C"}),u.createElement("path",{d:"M112.6 124.23c-4-2-5.6-6.3-11.6-10.8 10 5.2 19.3 6.3 26.5 3.8-1.7 1.7 1.2 6.3-3.5 8.4-4 1.7-7.3.5-11.4-1.4z",fill:"#D86060"}),u.createElement("path",{d:"M101 113.43l-1.6-.8c7.9-.3 12.9-.7 17.2-.3 2.2.3 2.2 2 3.8 2 1.6 0 2.7-1.6 4.4-1.4 1.2.2 3 1.1 5.6 3a20.3 20.3 0 01-2.9 1.2c-7.2 2.6-16.6 1.5-26.5-3.7z",fill:"#BC3939"}),u.createElement("path",{d:"M108.5 84.43l.2-.5a15.2 15.2 0 00-2.3-3.8c-5-5.8-13.6-5.1-16.5-1.6-.9 1.3-1.5 2.4-2.6 3 4.1 5.7 16.6 5.4 21.2 3v-.1zM97 85.63a4.8 4.8 0 11.408-9.592A4.8 4.8 0 0197 85.629z",fill:"#FFF"}),u.createElement("path",{d:"M89.9 78.53c-.9 1.3-1.5 2.4-2.6 3-1.1.6-2 .2-4-.7l.2-.2c4.2 0 2.6-1 4.1-3.7 2.8-5.2 9-4.8 14.6-3 .1 0 5.9 2.4 6.8 8.7l-.3 1.2a14.4 14.4 0 00-2.3-3.7c-5-5.8-13.6-5.1-16.5-1.6z",fill:"#000"}),u.createElement("path",{d:"M127.5 83.03h-.1a27 27 0 0011.6.6c2.7-1 4.8-4 5-6.8-1.8-1.2-2.8-4.6-8.2-2.9-5 1.6-7 4.2-8.3 9v.1zm2.8-3.7a4.4 4.4 0 118.798-.2 4.4 4.4 0 01-8.798.2z",fill:"#FFF"}),u.createElement("path",{d:"M145.1 75.33c0 .5.5.7 1 .9a8 8 0 001.2.1l.1.2a5 5 0 01-1.4.6 2.4 2.4 0 01-2-.4c-1.8-1.2-2.8-4.6-8.2-2.8-4.9 1.6-7 4.2-8.3 9h-.2c-1.2-6.7 4-11.3 9-12.5l3.1-.2c2.8.2 5.2 1.8 5.7 5.1z",fill:"#000"}),u.createElement("path",{d:"M106.7 61.53c-4 0-8.2-.4-11.7-.3-3.6.1-8.3 1.7-12.8 4.6 1.9-4 8.5-7.2 12.5-7.7 2.9-.3 6.8-.7 9.7-.2 3.7.7 5.6 3.1 2.3 3.6zm24.7 5.6c2.3-2.6 6.8-6.2 9.4-5.8 3 .4 3.5 1.2 5.4 3.6.056.898.056 1.8 0 2.7H145a7.6 7.6 0 00-4.7-2.2c-1.9-.1-7 1.2-8.8 1.7h-.1z",fill:"#B2512B"}),u.createElement("circle",{fill:"#000",transform:"rotate(-78.1 97.1 80.83)",cx:97.1,cy:80.829,r:4.8}),u.createElement("circle",{fill:"#000",cx:134.7,cy:79.329,r:4.4}),u.createElement("path",{d:"M106.3 109.73a40 40 0 01-10.3-1.3c-1.9 2-.1 6.6-.7 9.2-1-3.4-4-8-2.2-12.4a28.7 28.7 0 0013.2-1c9-2.8 6.6-6.2 12.6-6.5-5.2 1-4.4 11.4-12.6 12z",fill:"#DB7A53"}),u.createElement("path",{d:"M54 29.03c3-3.6 13.5-5.8 20-6-.5 1.3 4.5 2.7 4 4a37.3 37.3 0 008.4-.2 3.5 3.5 0 00.4 2.7l3.8 2.6a44.6 44.6 0 00-10.1 5.9c-10.5 8.2-7.5 13.4-9.9 25.4a74.9 74.9 0 01-4.4 11.9l-12.4 7a10.3 10.3 0 00-5.3-.7l-.3-.4c-2.2-4-6.8-14.2-7.2-18.8-1.4-11.4 1.2-25 10-32.4a18.5 18.5 0 013-2 9.8 9.8 0 00.1 1H54zm2.7 55l1.4.7 3.5-1.6a5.5 5.5 0 01-2.4 1.9 10.4 10.4 0 01-1.2.2l-1.2-1.2h-.1z",fill:"#838BC5"}),u.createElement("path",{d:"M127 22.23c-7.5-4.7-7-2-15.6-4l5.2-.4c-13.3-1-28.6 3.4-30.1 9a37.3 37.3 0 01-8.4.2c.5-1.3-4.6-2.6-4-4-6.6.2-17 2.4-20.1 6a9.8 9.8 0 010-1c0-8.2 10.8-17.8 30.3-15.8 13.4-14.3 42.4-21 61 8.1-13-7.3-16.2-.2-19.3.8 7.8-1.6 27.3 3 28.9 24.3-1.7-7.8-8.4-8.6-13.6-8-1.7-2.3-3.5-4.3-4.9-5.9-4.5-5.2-3.5-5.7-9.4-9.3z",fill:"#0071BC"}),u.createElement("path",{d:"M137.4 46.73c3.4 14.5-3.1 19.3-22.4 18.8 12.5-8.9 11.5-19.3 2-26.1-8.2-6-14 .2-26.4-7.3a46 46 0 01-3.8-2.6 3.5 3.5 0 01-.3-2.7c1.5-5.6 16.8-10 30-9l-5 .3c8.6 2.2 8-.6 15.5 4 5.9 3.7 4.9 4.2 9.4 9.5 1.4 1.6 3.2 3.5 4.8 5.8 3 4.2 5.5 9.6 3.5 16.7a26 26 0 01-2.6 6.2 14.6 14.6 0 00-4.7-13.6z",fill:"#0071BC"}),u.createElement("path",{d:"M126.1 69.33h-.7a14.6 14.6 0 013.2-1.7 14.8 14.8 0 00-2.5 1.7zm-.9 17.8l.8.8c1.2 1.8 2.7 1.5 6.3 4.8l.6.2c1.8 1.7 2.8 3.7 2 6.4-.2 3.2-5.3 8.2-12 5.8 5.3-1 6.9-.8 7.6-5.6-.2-6.7-8.3-4-10-16.5a17.3 17.3 0 01.9-8.8 9 9 0 011.3.8 16 16 0 002.5 12.1zm-2.1-14.5a6.3 6.3 0 00-.6-.3l.5-.9c1 0 .4.2.1 1.2z",fill:"#DB7A53"}),u.createElement("path",{d:"M56.7 84.03a12.7 12.7 0 00-3-1.7l12.4-7 9.2-5.2c-1.3 1.7-1.6 4.2-1.1 7l-12.6 6-3.5 1.7-1.4-.8z",fill:"#93278F"}),u.createElement("path",{d:"M151 92.03c5.5-1.8 14.3-20.4 5.8-23.5-5.4-2-24.6-.6-29.9.8-29.7-.4-42.2-3.3-49.3-.7a5 5 0 00-2.3 1.6c-4.3 5.5 3.1 20.2 8 21.8a46.3 46.3 0 0012.5 1.6c11.6 0 14.8-2.2 16.6-17.3 1-.6 4.4-4.3 9-2a10.6 10.6 0 011.8 1c2.9 17.6 2.5 11.3 9.1 17.5l.6.1c5.8 1.4 13.9.5 18.1-.9zm-40.5-17.9c-.4 3.6-1.7 13.4-4.8 15.4-4.2 2.8-17 2-21.7.4-4-1.4-11.5-17.2-5.7-19.3 5.6-2 23.8 0 29.6.6 0 .2 2.8.3 2.6 3v-.1zm2.1-1a4.8 4.8 0 00-.6-1.8c7.3.2 4-.5.6 1.8zm10.5-.5a10 10 0 00-2.7-1.2c4.2.1 3.1-.3 2.7 1.2zm27.2 17.4c-4.7 1.6-16.3 2.5-20.6-.4-1-.7-2.8-5.1-4.5-15.3-.4-2.8 2.6-2.5 2.6-2.8.9-.2 4.3-.7 8.5-1 4.2-.3 15.6-1.2 19.7.2 5.8 2.1-1.6 18-5.7 19.3z",fill:"#5D237A"}),u.createElement("path",{d:"M45.5 82.33c-4.2 1.7-4.4 10-3 14.8 2.8 9.2 12 17.6 21.7 16.1 5.2-.7 1.5-5.7-1-16.4l-1-5.6c-3.3-7-9.4-11.7-16.7-8.9zm13.2 13c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z",fill:"#F9BF8C"}),u.createElement("path",{d:"M58.7 95.33c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z",fill:"#CE6D42"}))))}var f=n(35);function m(e){var t=e.workout,n=e.badges,r=e.upsellLink,a=e.upsellText,i=Object(c.useSelect)((function(e){return e("yoast-seo/workouts").getFinishedSteps(f.c.orphaned)})),u=r||"https://yoa.st/workout-orphaned-content-upsell";return Object(o.createElement)(l.a,{id:"orphaned-workout-card",name:f.c.orphaned,title:Object(s.__)("Orphaned content","wordpress-seo"),subtitle:Object(s.__)("Clean up your unlinked content to make sure people can find it","wordpress-seo"),usps:[Object(s.__)("Make pages easier for Google and visitors to find","wordpress-seo"),Object(s.__)("Add internal links to your posts and pages","wordpress-seo")],image:d,finishableSteps:f.a.orphaned,finishedSteps:i,upsellLink:u,upsellText:a,workout:t,badges:n})}m.propTypes={workout:i.a.func,badges:i.a.arrayOf(i.a.element),upsellLink:i.a.string,upsellText:i.a.string},m.defaultProps={workout:null,badges:[],upsellLink:null,upsellText:null}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"REGISTER_WORKOUT",(function(){return q})),n.d(r,"FINISH_STEPS",(function(){return H})),n.d(r,"REVISE_STEP",(function(){return G})),n.d(r,"TOGGLE_WORKOUT",(function(){return $})),n.d(r,"SET_WORKOUTS",(function(){return V})),n.d(r,"OPEN_WORKOUT",(function(){return Y})),n.d(r,"CLEAR_ACTIVE_WORKOUT",(function(){return K})),n.d(r,"TOGGLE_STEP",(function(){return X})),n.d(r,"MOVE_INDEXABLES",(function(){return J})),n.d(r,"CLEAR_INDEXABLES",(function(){return Q})),n.d(r,"CLEAR_INDEXABLES_IN_STEPS",(function(){return Z})),n.d(r,"registerWorkout",(function(){return ee})),n.d(r,"finishSteps",(function(){return te})),n.d(r,"reviseStep",(function(){return ne})),n.d(r,"toggleWorkout",(function(){return re})),n.d(r,"initWorkouts",(function(){return oe})),n.d(r,"openWorkout",(function(){return ae})),n.d(r,"clearActiveWorkout",(function(){return ie})),n.d(r,"toggleStep",(function(){return se})),n.d(r,"moveIndexables",(function(){return ce})),n.d(r,"clearIndexables",(function(){return le})),n.d(r,"clearIndexablesInSteps",(function(){return ue}));var o={};n.r(o),n.d(o,"getWorkouts",(function(){return pe})),n.d(o,"getFinishedSteps",(function(){return de})),n.d(o,"getIndexablesByStep",(function(){return fe})),n.d(o,"getFinishedWorkouts",(function(){return me})),n.d(o,"getLoading",(function(){return he})),n.d(o,"getActiveWorkout",(function(){return be}));var a=n(0),i=n(6),s=n(21),c=n(94),l=n.n(c),u=n(15),p=n.n(u),d=n(9),f=n.n(d),m=n(38),h=n.n(m),b=n(20),g=n(3),w=n(18),y=n.n(w),O=n(1),v=n.n(O),E=n(2),k=n(5);function j(e){return Object(a.createElement)(s.Slot,{name:e.name},(function(t){return 0===t.length?e.children:t}))}j.propTypes={name:v.a.string.isRequired,children:v.a.oneOfType([v.a.node,v.a.arrayOf(v.a.node)])},j.defaultProps={children:null};var x,_=n(164),S=n(165),M=n(35);function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R=window.wpseoWorkoutsData,C=R.workouts,I=R.upsellLink,T=R.upsellText,F=(x={},y()(x,M.c.cornerstone,(function(){return Object(a.createElement)(_.a,{badges:[Object(a.createElement)(k.PremiumBadge,{key:"premium-badge-cornerstone-workout"})],upsellLink:I,upsellText:T})})),y()(x,M.c.orphaned,(function(){return Object(a.createElement)(S.a,{badges:[Object(a.createElement)(k.PremiumBadge,{key:"premium-badge-orphaned-workout"})],upsellLink:I,upsellText:T})})),x);function A(e){var t=e.activeWorkout,n=e.clearActiveWorkout,r=e.openWorkout,o=e.workouts,i=e.loading,c=e.initWorkouts,l=e.saveWorkouts;Object(a.useEffect)((function(){if(!0===i)return c(C),void(window.location.hash&&window.location.hash.length>1&&r(window.location.hash.substr(1)));l(o)}),[o,i]);var u=Object(a.useMemo)((function(){var e=Object.keys(o);return Object(g.sortBy)(e.map((function(e){return P(P({},o[e]),{},{id:e})})),"priority").map((function(e){if(F[e.id]){var t=F[e.id];return Object(a.createElement)(j,{key:e.id,name:"".concat(e.id)},Object(a.createElement)(t,null))}return Object(a.createElement)(s.Slot,{key:e.id,name:"".concat(e.id)})}))}),[o]);return Object(a.createElement)("div",null,Object(a.createElement)("h1",{id:"workouts-page-title"},Object(E.__)("SEO workouts","wordpress-seo")),Object(a.createElement)("p",{id:"workouts-page-description"},Object(E.__)("Getting your site in shape and keeping it SEO fit can be hard. We can help you get started! Take these step-by-step workouts, and you’ll be tackling some of the most fundamental SEO challenges!","wordpress-seo")),t&&Object(a.createElement)(k.Button,{id:"yoast-workouts-back-to-workouts-button",onClick:n},// translators: %1$s translates to a leftward pointing arrow ( ← )
Object(E.sprintf)(Object(E.__)("%1$sBack to all workouts","worpdress-seo"),"← ")),Object(a.createElement)("div",{className:t?"":"workflows__index"},u))}A.propTypes={activeWorkout:v.a.string.isRequired,clearActiveWorkout:v.a.func.isRequired,openWorkout:v.a.func.isRequired,workouts:v.a.object.isRequired,loading:v.a.bool.isRequired,initWorkouts:v.a.func.isRequired,saveWorkouts:v.a.func.isRequired};var D=function(e){var t=Object(g.cloneDeep)(e);return Object.keys(e).forEach((function(n){e[n].indexablesByStep&&Object.keys(e[n].indexablesByStep).forEach((function(e){t[n].indexablesByStep[e]=t[n].indexablesByStep[e].filter((function(e){return!e.purge}))}))})),t};function L(_x){return B.apply(this,arguments)}function B(){return(B=p()(f.a.mark((function e(t){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,h()({path:"yoast/v1/workouts",method:"POST",data:D(t)});case 3:return n=e.sent,e.next=6,n.json;case 6:return e.abrupt("return",e.sent);case 9:return e.prev=9,e.t0=e.catch(0),console.error(e.t0.message),e.abrupt("return",!1);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})))).apply(this,arguments)}var U,W,N=Object(b.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/workouts").getWorkouts(),n=e("yoast-seo/workouts").getLoading(),r=e("yoast-seo/workouts").getActiveWorkout(),o=e("yoast-seo/workouts").getFinishedWorkouts(),a=e("yoast-seo/workouts").getIndexablesByStep;return{workouts:t,loading:n,activeWorkout:r,finishedWorkouts:o,isStepFinished:function(e,n){return t[e].finishedSteps.includes(n)},getIndexablesByStep:a}})),Object(i.withDispatch)((function(e){var t=e("yoast-seo/workouts");return{finishSteps:t.finishSteps,toggleStep:t.toggleStep,toggleWorkout:t.toggleWorkout,initWorkouts:t.initWorkouts,clearActiveWorkout:t.clearActiveWorkout,openWorkout:t.openWorkout,moveIndexables:t.moveIndexables,clearIndexablesInSteps:t.clearIndexablesInSteps,saveWorkouts:L}}))])(A),q="REGISTER_WORKOUT",H="FINISH_STEPS",G="REVISE_STEP",$="TOGGLE_WORKOUT",V="SET_WORKOUTS",Y="OPEN_WORKOUT",K="CLEAR_ACTIVE_WORKOUT",X="TOGGLE_STEP",J="MOVE_INDEXABLES",Q="CLEAR_INDEXABLES",Z="CLEAR_INDEXABLES_IN_STEPS",ee=function(e,t){return{type:q,payload:{key:e,priority:t}}},te=function(e,t){return{type:H,workout:e,steps:t}},ne=function(e,t){return{type:G,workout:e,step:t}},re=function(e){return{type:$,workout:e}},oe=function(e){return{type:V,workouts:e}},ae=function(e){return window.location.hash=e,{type:Y,workout:e}},ie=function(){return window.location.hash="",{type:K}},se=function(e,t){return{type:X,workout:e,step:t}},ce=function(e,t,n,r){return{type:J,workout:e,indexables:t,fromStep:n,toStep:r}},le=function(e){return{type:Q,workout:e}},ue=function(e,t){return{type:Z,workout:e,steps:t}},pe=function(e){return e.workouts},de=function(e,t){return Object(g.get)(e,"workouts.".concat(t,".finishedSteps"),[])},fe=function(e,t,n){return e.workouts[t].indexablesByStep[n]},me=function(e){var t=[];return Object.keys(e.workouts).forEach((function(n){M.a[n]&&e.workouts[n].finishedSteps.length===M.a[n].length&&t.push(n)})),t},he=function(e){return e.loading},be=function(e){return e.activeWorkout};function ge(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return we(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?we(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw a}}}}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ve,Ee={loading:!0,activeWorkout:"",workouts:{configuration:{priority:10,finishedSteps:[]},cornerstone:{priority:50,finishedSteps:[],indexablesByStep:(U={},y()(U,M.b.cornerstone.addLinks,[]),y()(U,M.b.cornerstone.checkLinks,[]),y()(U,M.b.cornerstone.chooseCornerstones,[]),y()(U,M.b.orphaned.improved,[]),y()(U,M.b.orphaned.skipped,[]),U)},orphaned:{priority:50,finishedSteps:[],indexablesByStep:(W={},y()(W,M.b.orphaned.improveRemove,Object(g.get)(window,"wpseoPremiumWorkoutsData.orphaned",[])),y()(W,M.b.orphaned.update,[]),y()(W,M.b.orphaned.addLinks,[]),y()(W,M.b.orphaned.removed,[]),y()(W,M.b.orphaned.noindexed,[]),y()(W,M.b.orphaned.improved,[]),y()(W,M.b.orphaned.skipped,[]),W)}}},ke=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ee,n=arguments.length>1?arguments[1]:void 0,r=Object(g.cloneDeep)(t);switch(n.type){case q:return r.workouts[n.payload.key]=Oe(Oe({finishedSteps:[],indexablesByStep:{}},r.workouts[n.payload.key]),{},{priority:n.payload.priority}),r;case H:return r.workouts[n.workout].finishedSteps=Object(g.union)(t.workouts[n.workout].finishedSteps,n.steps),r;case G:return r.workouts[n.workout].finishedSteps=r.workouts[n.workout].finishedSteps.filter((function(e){return e!==n.step})),r;case X:return t.workouts[n.workout].finishedSteps.includes(n.step)?((e=t.workouts[n.workout].finishedSteps.indexOf(n.step))>-1&&(r.workouts[n.workout].finishedSteps=t.workouts[n.workout].finishedSteps.slice(),r.workouts[n.workout].finishedSteps.splice(e,1)),r):(r.workouts[n.workout].finishedSteps=Object(g.union)(t.workouts[n.workout].finishedSteps,[n.step]),r);case $:if(M.a[n.workout].length===t.workouts[n.workout].finishedSteps.length){r.workouts[n.workout].finishedSteps=[];var o,a=ge(M.a[n.workout]);try{for(a.s();!(o=a.n()).done;){var i=o.value;Ee.workouts[n.workout].indexablesByStep&&(r.workouts[n.workout].indexablesByStep[i]=Ee.workouts[n.workout].indexablesByStep[i])}}catch(e){a.e(e)}finally{a.f()}}else r.workouts[n.workout].finishedSteps=M.a[n.workout];return r;case Y:return r.activeWorkout=n.workout,r;case K:return r.activeWorkout="",r;case V:return r.workouts=Object(g.merge)(r.workouts,n.workouts),r.loading=!1,r;case J:return n.indexables.forEach((function(e){if(""!==n.fromStep){var t=r.workouts[n.workout].indexablesByStep[n.fromStep].findIndex((function(t){return t.id===e.id}));r.workouts[n.workout].indexablesByStep[n.fromStep][t].purge=!0,r.workouts[n.workout].indexablesByStep[n.fromStep][t].movedTo=n.toStep}if(""!==n.toStep){var o=r.workouts[n.workout].indexablesByStep[n.toStep].findIndex((function(t){return t.id===e.id}));-1===o?r.workouts[n.workout].indexablesByStep[n.toStep].push(e):(r.workouts[n.workout].indexablesByStep[n.toStep][o].purge=!1,r.workouts[n.workout].indexablesByStep[n.toStep][o].movedTo="")}})),r;case Q:return r.workouts[n.workout].indexablesByStep=Ee.workouts[n.workout].indexablesByStep,r;case Z:var s,c=ge(n.steps);try{for(c.s();!(s=c.n()).done;){var l=s.value;r.workouts[n.workout].indexablesByStep[l]=[]}}catch(e){c.e(e)}finally{c.f()}return r;default:return t}},je=n(124),xe=n(115),_e=n(4);function Se(){return(Se=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e){return _e.createElement("svg",Se({viewBox:"0 0 299 318",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),ve||(ve=_e.createElement("g",{transform:"matrix(-1 0 0 1 298.366 0)",fill:"none"},_e.createElement("circle",{fill:"#F0ECF0",cx:131.2,cy:186.088,r:131.2}),_e.createElement("path",{d:"M144.8 100.788c10.5 9 34.6 4.3 35.4 40.7-1.8-14.3-16.6-16-35.9-39.6l.5-1v-.1zm-83.8.8c3.6-1.2.5-3.3 5 3.5 4 37.1 8.6 47.9-7.8 55.8-1.6.6-4.6 1-10.1 3.3-18-25.7 1-45.6 3-67.1 4.1 3.4 8.2 5 10 4.5H61z",fill:"#42210B"}),_e.createElement("path",{d:"M166.5 157.588c-54.6-16-50.2 7.4-54.3-23.3 7.1 1.3 20 1.8 21.8-10.4 1.8-12.2 7.2-16 10.3-22 12.4 15 27.3 21.2 30.7 56-4.2.1-7.3 0-8.5-.3zm-122-96.2a68.021 68.021 0 00-1.2 5.3c-18.1-24 5.7-52.2 10-54 2.6-1.1-10.4 7.2-11.8 27a47 47 0 003 21.7z",fill:"#42210B"}),_e.createElement("path",{d:"M254.9 135.888l.2 3.5-.2-3.5zm-.8-8.9l.8 8.9-.8-8.9zm-11.1-38.4l-3.4-5.8 3.3 5.8h.1zm.4.8l.5.8-.5-.8zm2.4 4.5l.3.5-.3-.5zm-1-1.9l.3.5-.3-.5z",fill:"#F4A269"}),_e.createElement("path",{d:"M243.7 83.188c35 57.8 6.6 68.9 23.2 85.9-4.2-4.3-7.4-5.2-10-13.5-2.4 0 1.3-40.2-13.5-66.2-5.3-9.3-4.8-6 .3-6.2zm-11.6-9.4a37.9 37.9 0 004.8 5.4 24.4 24.4 0 01-4.8-5.4z",fill:"#CE6D42"}),_e.createElement("path",{d:"M220.3 61.988c1.9 1.3 2.9 1.5 2.1 3.6-2-1-3.1-2.2-2.3-4.3 2.2 1.4.7.7.3.6l-.1.1zm-2 16.4l-.5-.2.5.2z",fill:"#F4A269"}),_e.createElement("path",{d:"M220.3 61.988c.7 0 1.1.2 2 1.3l-2-1.3zm-6.3 9.6a7.9 7.9 0 001.5.3 4 4 0 01-1.5-.3z",fill:"#CE6D42"}),_e.createElement("path",{d:"M193.5 76.988c-.6-.1-2.8-.8-3-1.4a12.9 12.9 0 003 1.5v-.1zm22.8.4l-2.3-1 2.3 1z",fill:"#D38053"}),_e.createElement("path",{d:"M217.8 78.188l.7.5c-3 2.2-1.3.2-13.5-.8 11.9.2 0-3.6 12.8.3z",fill:"#F4A269"}),_e.createElement("path",{d:"M215.1 79.788c1.1-.2 2.6-1.5 3.4-2.1-.4-.4-.5-.2-.2-.3 2.4.7 11.2-5.8 11.5-8.2a23.2 23.2 0 00.2 2.6c.2-5 6.2 14.7 21 9-7.2 5-15.1.5-14 1-10.3 5.3-12.2 8.5-22.4 3 4.6-1 4.3-3.1.5-5z",fill:"#CE6D42"}),_e.createElement("path",{d:"M193 210.788l1.6-.4-1.6.4zm-6.8 1.5l1.5-.3-1.5.3zm27.4-14.8c-3 .4-27.4 3.3-29 1.7-.5-.4 10.2-18 10-24.1-1.6 6-12.6 18-14.9 23.8-6.5-4.1-18.7-11.2-22.7-27-2.6 6.7 2.5-6.6-27.1-15.1-5.5-3.4-9.8-4.5-12.4-5.6a128.5 128.5 0 0149 6.4c3.7 1.2 31-1.5 45.2.4-5.3 8.3-2 34.8 4.5 44.9 1.2 1.8 1.8 1.3-1.2 2 1.7-.3-.3.4-1.4-7.4z",fill:"#A52A6A"}),_e.createElement("path",{d:"M157 174.988c-.8-1.4-1-.8 0-3.1 4 15.9 16.2 22.9 22.7 27 2.3-5.9 13.3-17.8 15-23.8 0 6-10.6 23.7-10.1 24.2 1.5 1.5 26-1.4 29-1.8 2.6 8.8 15.5 5.8-30.1 15.4a158 158 0 01-26.5-37.8v-.1z",fill:"#7C2050"}),_e.createElement("path",{d:"M200.3 78.488c-3.7 2-1 8.9 2.7 8.4 6.9-1 22.6-2 12.6-7a3.2 3.2 0 002.9-1.6c1.5.2 11.6-4.1 10.9-8.1 3.4 4.1 5.6 7 8.4 9a14.3 14.3 0 0011.9 2.3 22.5 22.5 0 01-6 1.7c35 57.8 6.7 68.9 23.2 85.9-4-4.2-7.4-5.2-10-13.5-33.6 2.7-56.2 1-45.1 2.5-5.3 8.3-2 34.7 4.5 44.8 33.6-4.2 67-19.4 78.5-28.9 3-2.6 4.7-8 2.7-10.7-1.1-1.6-3-7.2-3.5-8.3-9.4-19.2 6.3-3.6-36.2-78-9.7-16.9-1.8-11.9-29-20.4.3-.2-12.5-5.2-16.1-1.4h.1c-9.4-1.3-9.5.8-10.9 3.7-4.4-1.4-8.2 1-7 3.7.3-.4-2 2.3-5.2 11-1 2.8 7.6 5 10.6 5v-.1zm-2.7-18c-.8 0-1.7.8-2.6 2 1.2-1.6 2-2.2 2.6-2z",fill:"#F4A269"}),_e.createElement("path",{d:"M200.3 73.688a2.7 2.7 0 010-2.5c.4 3 .5 3.2 0 2.5z",fill:"#F4A269"}),_e.createElement("path",{d:"M198 74.588c-1.8-1.4.4-4 1.9-6 6.8-9.8 4-9.3.4 2.5-.6 2.2-.5 3 2.7 4 19.2 4.8-3.1 1-5-.5z",fill:"#CE6D42"}),_e.createElement("path",{d:"M204 61.688l.4-1.1a4.3 4.3 0 01-.3 1.1h-.1zm0 16.3a10.2 10.2 0 00-3.1.3c-8.7-2.2-9.9-3.7-8.7-6a69.8 69.8 0 014.3-8.2c3 8.6-11.1 10.8 7.6 13.9h-.1zm14.3.4c-14.7-4.4-15.5-5.2-13.4-8.7 1.2-2 6-8.2 6-10.9 3 2-5 13.4-4.6 14.1 13 5.8 13.2 5.8 12 5.5z",fill:"#CE6D42"}),_e.createElement("path",{fill:"#A52A6A",d:"M61 159.588l-2.8 1.3 2.9-1.3z"}),_e.createElement("path",{d:"M51.7 252.088a52 52 0 01-4.1-5.1c29.9-17 26.8-17.9 9.5 2.6 22.6 3.2 24.7 3.7-5.4 2.5z",fill:"#7C2050"}),_e.createElement("path",{d:"M48.1 164.188c3.2-1.4 17.8-6.2 2.7-.6 35.7 12.2 41.2 28.1 52.3 44 10.7 0 52.5-9.3 52.5-11.1 0-5.3-5.5-27.3-25.7-39.7 33.5 9.7 21 21 53.6 56.1 21.7 21.8 17.7 32 6.7 48.4 2.5 21.9-2 34.5-4.5 43.8a130.1 130.1 0 01-101.7 3.5c3.7-20-17.7-38.9-33.7-58.2 1.8 1.3 5.5.9 23.5 1.6l-16.7-2.4c22.2-26.3 19-16.8-34.1 11.6a129.6 129.6 0 01-20-44.6c13.5-21.5 23-43 45.1-52.4z",fill:"#A52A6A"}),_e.createElement("path",{d:"M50.8 163.588c10.5-4.2 19-5.4 19-22.8 0-9.4-4.2-36.4-3.8-35.7a27 27 0 001.7 3c11.7 19.5 30.2 57.2 46.5 39 1.8 7.7 11.1 1.7 28.5 20.5a57 57 0 0113.5 29c0 2-41.3 11-53.1 11-11.1-15.9-16.6-31.8-52.3-44z",fill:"#F4A269"}),_e.createElement("path",{d:"M66 105.288c-.1-2 13.4 19.6 46.8 29.4.5 3.2.3 7.8 1.4 12.5-16.8 18.4-35.8-19-48.1-42l-.1.1z",fill:"#CE6D42"}),_e.createElement("path",{d:"M63.1 100.288c14.9 27.7 67.3 48.3 70.9 23.6 2.6-18.3 20.2-27.2 18-46.1-.9-7.6-3.9-14.2-6.8-16a79.4 79.4 0 00.9-10.7c0-34.9-61.3-19.7-84 .9.8 7.2 3.6 16.1-2.2 24.7-7-5-10.7-9.2-17.8-6.5-13 5 14.4 39.2 21 30v.1z",fill:"#F4A269"}),_e.createElement("path",{d:"M126.1 106.788c-1 .7-2 12.5-14.5 5.3a59.4 59.4 0 01-13.4-11.8 52.9 52.9 0 0027.9 6.5z",fill:"#D17154"}),_e.createElement("path",{d:"M96 99.088c12.2 2.7 15.3.9 18.6.9 2.3 0 2.6 2.4 4.3 2.5 1.7.1 2.9-1 4.5-.5 1.3.2 2 2.8 7.2 3.5-9.5 4.3-25.3-1.3-34.6-6.4z",fill:"#B24736"}),_e.createElement("path",{d:"M86.7 65.988c4.2 6 17.4 5.5 21.8 3a12.4 12.4 0 00-12-8.6c-7.3-.2-7.5 4.4-9.8 5.6zm10.1-5.2c6.5.3 6 10-.4 9.7-6.4-.3-6-10 .4-9.8v.1z",fill:"#FFF"}),_e.createElement("path",{d:"M96.5 60.288c-10.1-.2-6.7 8.7-13.8 5 .5-.9 2.6 1 3.5-2 2.1-6.6 9-7.4 15-5.2 7 2.5 8.2 10.7 7.5 11a12.7 12.7 0 00-12.2-8.8z",fill:"#000"}),_e.createElement("path",{d:"M128 65.788l1.4 2.2c7.3 1.4 14 .7 14.8-6.8-.8-.5-1.4-1.4-2.3-2-3.6-2.8-11-.9-14 6.6h.1zm6.7-6.4c5.8 0 5.8 8.8 0 8.8s-5.9-8.8 0-8.8z",fill:"#FFF"}),_e.createElement("path",{d:"M142 59.088c-3.7-2.7-11.2-.8-14 6.7l-1-1.3c1.6-10.7 16.6-13.3 18.2-5.1.4 2 2 1 2.4 1.5-3.3 2-3.8-.5-5.7-1.8h.1z",fill:"#000"}),_e.createElement("path",{d:"M44.5 61.388c-10.5-26 2.1-64.4 51.7-61.2 12.1.8 30.6 6 38.4 16.5-22.5-14.1-78.6 3-90 44.7h-.1z",fill:"#42210B"}),_e.createElement("path",{d:"M52 70.988c0-6.7 3.9-13.2 10.2-19 .7 7.2 3.5 16.1-2.3 24.7l-7.9-5.7z",fill:"#42210B"}),_e.createElement("path",{d:"M128 65.788c3 4.5 13.5 21.8 10.3 26.1-1.8 2.5-13.3.5-20-2 5.2-1 14.1 1 15.8-.6 3-5.7-8.3-20.8-10.4-26.2-1.8-4.4-2.7-7.8 5.9-11.2-8.8 5.1-6.1 7.5-1.7 13.9h.1z",fill:"#CE6D42"}),_e.createElement("path",{d:"M52 70.988c-6.4-3.8-10.6 2-7.4-9.6 13.3-48.5 87-63.6 98-35.3 2.4 6 4.3 13.1 2.7 19.4-5.8-32-93.7-6.1-93.3 25.5z",fill:"#80C416"}),_e.createElement("path",{d:"M106.3 46.788c-7.4 0-12.5-4.5-24.9 3.3 5.6-11.3 34-4.7 24.9-3.3zm25.1 4.7a11.9 11.9 0 019.4-3.7c4.7.7 6.4 4.4 5.3 5.4-3.6-5.1-8.6-3.4-14.7-1.7zm-34.6 9.2c6.5.3 6 10-.4 9.8-6.4-.2-6-10 .4-9.8zm37.9-1.3c5.8 0 5.8 8.8 0 8.8s-5.9-8.8 0-8.8z",fill:"#000"}),_e.createElement("path",{d:"M103.6 96.488c-11 .9-8.8-7-12.2 8.3-1-3.5-1.8-6.1 0-10.8 3.2.4 5.3-.3 11.1-2.2 9-3 6.6-7.7 12.7-8-5.2 1.2-3.2 12.2-11.6 12.9v-.2z",fill:"#CE6D42"}),_e.createElement("path",{d:"M99.5 275.788c-5.7-3-16.4-17-14.6-25.4 13 18.6 33.3 23 52.1 20.5-9.8 4.9-28.3 9.7-37.5 4.9z",fill:"#7C2050"}),_e.createElement("path",{d:"M56.4 81.788c-.3.5-3.5 3.4 0 4.4 2.3.8 4-.3 4 1.5 0 1.2.5 2.7-1.3 2.8 1.3-2.8-2-3-3.4-1.9s-6.6-3.3-1-6.9c-4.9-3.2-9.8-9-9.7 1.4-4.9-7.3-.2-14.8 11.4-1.3zm164.3-11.5c-.5 1.4.8 1.8-.7 3.3 2.3-1 3.8-2.7 1.5-3.7 1 .4 2-1.6 2.2-2.6-.6.2-.3 0 0 0 5.8-2.2 6.4 3 6.7 3.4 1.8-2.2 0-6-4.7-6.3-2.1-.2.2-2-7.9-4.1 3.6 1 4.7 2.9 5.2 4.4-1.4-3.6 1 7.1-7.6 7.2 4.2.3 4.9-.9 5.3-1.6zm.7-.4z",fill:"#CE6D42"}))))}var ze,Pe,Re,Ce,Ie,Te,Fe,Ae,De,Le,Be,Ue,We,Ne,qe,He,Ge,$e,Ve,Ye,Ke,Xe,Je,Qe,Ze,et,tt,nt,rt,ot,at,it,st,ct,lt,ut,pt,dt,ft,mt,ht,bt=n(27),gt=n.n(bt),wt=n(25),yt=n.n(wt);function Ot(){return(Ot=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function vt(e){return _e.createElement("svg",Ot({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 277.7 317.3"},e),ze||(ze=_e.createElement("circle",{cx:146.5,cy:186.1,r:131.2,fill:"#f0ecf0"})),Pe||(Pe=_e.createElement("path",{fill:"#54311e",d:"M95 41.1c4.8-22 19-41.6 42.7-38.8 21 2.4 34.5 17.4 47.4 33.6 16.5 20.8 14.7 46.5 22.6 71.8.5 1.9 1.4 4.1 1 6-.6 2.4-.6 3.8-2.6 5.3-15.6 11.7-21.5 26-32.4 42.2-2.7 4-5.3 8-9.3 10.5-2.5 1.5-.3.5-2.7 2.2-14.8 10.2-41.3 11-56.6 8.4 5.9-26 6.3-38.3 6.3-38.3l-15 39.3c-8 4.8-20.8 1.4-28.8-3.4C80 155.6 89 112.6 90.2 82.6c.5-14.4 1.8-27.4 4.8-41.5z"})),Re||(Re=_e.createElement("path",{fill:"#54311e",d:"M93.9 43.6c-4 34.7-3.2 73-15 105.8 3-4.8 5.4-9.2 8.5-14 3.9-6 4.3-15 6.2-22 2-7.2-.3-16-.5-23.5-.6-17 .9-34 2.2-51"})),Ce||(Ce=_e.createElement("path",{fill:"#ce6d42",d:"M21 236.3c7.5-7.6 35.2-26.2 43.7-33.2 11.1-9.3 52.2 8.7 37.4 21.9-32.5 29-93.9 58.6-99.6 43-2.8-7.4 13.4-26.8 18.4-31.8z"})),Ie||(Ie=_e.createElement("path",{fill:"#77375a",d:"M138 152c-11.1-2.1-35.6 6.3-43.7 14.4C86 174.6 81.6 189 59 206.8c6.7 6.3 15.9 28.4 19.8 36.5 16.2-9.8 29-22.6 40.2-32.4 1.5-1.4-5-22.8-4.2-24.4.5-1.1-1.1-5.7-1-7.2 0-4 24.1-20.5 15-17.7z"})),Te||(Te=_e.createElement("path",{fill:"#f0ecf0",d:"M262.1 248.1c-10.1-3.4-25-8.2-31.7-10.6a216.5 216.5 0 01-2.9 34.8c-.9 5.1.5 10.2 2.7 14.7a131.6 131.6 0 0032-38.9z"})),Fe||(Fe=_e.createElement("path",{fill:"#a52a6a",d:"M227.5 272.3a216.5 216.5 0 002.9-34.8l-3.4-1.2a51.7 51.7 0 003.4-5c0-7.6-.1-15.3.2-24 .5-18 1.3-22.5-17-41.6-22.8-24-91-23.3-111.5 5.6-17.8 25.2-7.7 40.4-9.9 58C90.1 246 65 286 112.6 295.5c1.9 4.5 7.5 13 12.2 19.9A131.3 131.3 0 00230.2 287a24.5 24.5 0 01-2.7-14.7z"})),Ae||(Ae=_e.createElement("path",{fill:"#f4a269",d:"M256.7 192.5c-7.3 9.2-20.2 29.5-26.3 38.8v6.2l31.7 10.6a130.3 130.3 0 0013.7-39.5c-7.9-6.3-16-12.9-19.1-16.1z"})),De||(De=_e.createElement("path",{fill:"#f4a269",d:"M230.4 231.3a51.7 51.7 0 01-3.4 5l3.4 1.2v-6.2z"})),Le||(Le=_e.createElement("path",{fill:"#a52a6a",d:"M248.8 243.2c-36.8-3.1-61.4-25.4-95.7-33.9 9-20.8 16.4-62 45-58.4 52.2 6.6 47 33.3 74.9 54.8-2.9 9-17.5 31.4-24.2 37.5z"})),Be||(Be=_e.createElement("path",{fill:"#f4a269",d:"M204.4 160c-8.8 25.2-10 40.6-21.1 56.5-12 0-76.7.7-79.8-6.4-.3-.7 6-18.4 13.4-30.3 9.2-14.9 25.4-21 27-25.4 1.7-4.7-6.5-26-5.3-28.7.7-1.4-3.7.9 44.8-38.9 2.8 7.6 6 42.2 6 55.5 0 17.7 3.1 13.4 15 17.7z"})),Ue||(Ue=_e.createElement("path",{fill:"#ce6d42",d:"M185.5 105.9c-12 11-29.5 23-46.1 25.5 1.5 6.3 4.6 16 4.7 20.8 21-1.9 41.3-46.2 41.4-46.3z"})),We||(We=_e.createElement("path",{fill:"#54311e",d:"M163.5 2.5c27 4.9 45.3 49 44.8 72.9-1 52.3 34.6 49 34.3 94.3-35.3-32.2-45.6-3-59.3 25-7.8-2.9-18.4-5-22-6.4-.6-25.4 7.1-31.8 8.7-43.9-7.2 12.5-11 15.4-15.7 29 .3-31.8 16-39 26.7-66.6v-1.3c.4-8.2 1-13.8 1.5-22.5s5.2-12.5 5.6-23.6c.6-17.6-19.9-40.5-24.6-57z"})),Ne||(Ne=_e.createElement("path",{fill:"#7c2050",d:"M190.6 257.2c2.5 5.3.4 11.5-1.8 16.9a27.4 27.4 0 01-6.9 11.2c-3 2.5-6.8 3.7-10.6 4.4a65.3 65.3 0 01-27.1-.8c19-1.8 37.8-10.5 46.4-31.7z"})),qe||(qe=_e.createElement("path",{fill:"#f4a269",d:"M98 72.3c-3.3 4.1-3.4 9.9-3 18.7.6 11.2 13.6 31.2 16.4 39.3 4.2 12.1 15.3 12.1 28.4 6.3 10.9-4.9 36.1-18.3 41-29.7A74.3 74.3 0 00187 81s9.4-25.8 6.2-47.1-55.7-21.8-55.7-21.8S87 23.6 98 72.3z"})),He||(He=_e.createElement("path",{fill:"#d17154",d:"M110.2 109.8c.8-2.6 7.5-.3 27-1.9-7.5 3.2-11.5 9.2-17 10-4.5.6-6 .7-8.3-.9-3.3-2.3-3.9-5-1.8-7.3z"})),Ge||(Ge=_e.createElement("path",{fill:"#b24736",d:"M140.8 106.7c-10 1.6-16.7-1.6-21.9-1.4-1.7 0-2.5 1.8-3.7 1.5s-2.8-1.9-4.1-2c-1 0-2.8.1-3.5 2.8-.8 1.5 1 3 2.2 2.9-.1-.6 2-1 3.3-.4.8.4 1.8 2.6 4.7-.2 3.7 1 13 1 23-3.2z"})),$e||($e=_e.createElement("path",{fill:"#54311e",d:"M151.6 5c46.8-13.5 65.1 42.1 55.6 76.3-2.7 1.3-12.1-9.3-19-3.9-20.4-11.8-18.4-31-21-37.5-12-14.2-59-27.4-68.2-1.4-2-18.3 24.8-51 52.6-33.5z"})),Ve||(Ve=_e.createElement("path",{d:"M102.8 50.2c-4 .8-6.7 5.5-6.5 10.5.9-1.3 3.6-7.1 6.4-7.4 2.5-.2 4.9 1.6 6.6 2 1 .2 1.3-1.2.6-3-2.6-2.4-4.4-2.6-7-2.1z"})),Ye||(Ye=_e.createElement("path",{fill:"#ce6d42",d:"M186.8 86.6c11-14 16-6.7 11.5.8-.3-10.5-5-4.4-9.8-1 5.8 3.4.9 8.1-.7 7s-4.8-.8-3.4 2c-1.8 0-1.2-1.6-1.3-2.8 0-1.8 1.6-.7 4-1.6 3.4-1.2 0-4-.3-4.4z"})),Ke||(Ke=_e.createElement("path",{fill:"#f4a269",d:"M183.5 82.6c2.4-5.6 8.2-12.7 16.8-9.8 4.3 1.5 7.2 6.2-.5 19.2-3.5 6-8 15.4-15.1 15-5.1-.4-5.6-7-4-15z"})),Xe||(Xe=_e.createElement("path",{fill:"#ce6d42",d:"M187 85.1c8.6-15.6 16.6-10 13.2-1.9-2-10.3-7.4-2.6-11.6 1.5 6.3 2.4 2.2 7.8.5 7s-4.9 0-3 2.4c-1.8.3-1.5-1.3-1.7-2.5-.4-1.7 1.4-1 3.6-2.2 3.1-1.7-.7-4-1-4.3z"})),Je||(Je=_e.createElement("path",{fill:"#fff",d:"M104.6 65.4c-3.4-.8-5 .6-6.5 3.7.3 3 1 6 3.7 6.8s10.4.3 13.5-1c-4.2-7-4.4-8-10.7-9.5z"})),Qe||(Qe=_e.createElement("path",{d:"M97.6 71c.1 2.4 2.6 5.1 5 5s3.7-3 3.6-5.5a4 4 0 00-4-3.8h-.4a4.1 4.1 0 00-4.2 4z"})),Ze||(Ze=_e.createElement("path",{fill:"#fff",d:"M140.6 66.3c-3.5 1.2-5.2 5.1-6.4 8.6 1.3 4 17.6 3 21.7-3-6.6-3.4-9.8-7.6-15.3-5.6z"})),et||(et=_e.createElement("path",{d:"M134.5 72.2c-1.6 4 1.9 5.2 4.6 5a5.1 5.1 0 004.6-5.4c-.2-2.7-2.2-5.4-4.9-5.2s-2.8 2-4.3 5.6z"})),tt||(tt=_e.createElement("path",{fill:"#ce6d42",d:"M144.5 60c7.3.5 10 9.9 11.2 12-9.9-8.3-17.7-5.1-21.5-.2-.2-5.5 4-12 10.3-11.7z"})),nt||(nt=_e.createElement("path",{d:"M159.8 70.8c-8.9 0-6.5-8-16.7-6.4-6 1.1-9.7 7.6-9.3 11.3.5.2 1.8-10 12-8.2 4.5.7 6.7 6 10.7 5 .9-.2 3.5-1.3 3.3-1.7z"})),rt||(rt=_e.createElement("path",{fill:"#ce6d42",d:"M108.1 59.2c-9.4-4.4-10.4 9.2-10.1 10 1.4-4.5 10.5-4.5 16.4 4.1-.2-3.8-3.2-12.6-6.3-14z"})),ot||(ot=_e.createElement("path",{d:"M115.1 74.8c-2-5.7-4.4-10.6-9.7-11.5a7.2 7.2 0 00-8.1 5.3c-.4 1.4-2.8.3-3.4.3.4.9 3 3.5 4 2.8 1.7-1 2.6-4.7 4.5-4.7a17.2 17.2 0 017.4 2c3.5 1.9 4.7 6 5.3 5.8z"})),at||(at=_e.createElement("path",{fill:"#ce6d42",d:"M115.3 72c-4 6-13.5 23.7-10.1 27.8 1.8 2.4 13.2 0 19.9-2.8-5.3-.7-14.1 1.5-15.9 0-3.3-5.6 7.5-21.1 9.4-26.7 1.6-4.5.5-9.4-6.2-13.9 8.7 7.4 5.7 11 2.9 15.7z"})),it||(it=_e.createElement("path",{fill:"#54311e",d:"M148.3 48.7c-21.5-2.5-33.3-17.5-15.9-33.4 2.4 13.5 0 25.4 16 33.4z"})),st||(st=_e.createElement("path",{fill:"#54311e",d:"M127.7 21c-19.9 4.7-16.4 27.6-6.7 41-5.7-12.7.3-30 5.7-39.5"})),ct||(ct=_e.createElement("path",{fill:"#f4a269",d:"M39.8 236c-5.6 35.6-27.5 41.4-35.4 37-6.4-3.4-4.1-8.3-3.5-14.8.7-7.4-1.2-11.5 0-21 1.3-11.3 27.3-62 37.3-80.4 7.8-14 25.3-4.8 20.3 2.8-20.4 40.6-14 46.3-18.7 76.3z"})),lt||(lt=_e.createElement("path",{fill:"#f4a269",d:"M54.6 162.1c6.3.9 4.7 1.8 13.3-4.4 5.7-4.2 1.3-3.4 6.4-8.4 8.3-8.2 7.4-21.2 19.6-24.1 7.5-1.9 19 5 23.5-4.2-10.5-1.5-14.5-2.9-21.9-4.7a6.3 6.3 0 00-3.5.2c-5.1 2-7.6 2.8-10.2 4.3-3.5-.1-6.3-.5-9.5 3-9.5 10.6-25.2 19.7-32.2 30.2-6.7 10 4.5 7.4 14.5 8.1z"})),ut||(ut=_e.createElement("path",{fill:"#f4a269",d:"M67.7 138.5a35 35 0 0110.3 6.9c2.9 4.1 6 8.8 5.8 10.3-.4 4.3-3.6 5.2-6 5.6-2.4.4-8.4 2.6-9.4 1.6-3.5-3.7-3.2-5-3.4-7.5-.3-5 3.3-4.4 4.5-2.7-2.8-3.2-2-2.5-2.6-6.9-.5-4.2-3.5-6.9.8-7.3z"})),pt||(pt=_e.createElement("path",{fill:"#f4a269",d:"M79 127.3c3.7 2 5.2 8 7.3 11.5 1.7 2.7 5.3 9.8 5.2 13.1-.2 4-12 5-14.4 4.2a87.6 87.6 0 01-7.2-13.9C67 135 76.4 132 80.5 127.1a5.5 5.5 0 001 .5"})),dt||(dt=_e.createElement("path",{fill:"#f4a269",d:"M84.8 152.3c3.4-.6 13.6-1.2 12-6.5-1-3.5-4-8.3-6.2-11.4-2.5-3.5-3.6-10.3-7.7-8.3-13.8 6.8-4.7 27.8 1.9 26.2z"})),ft||(ft=_e.createElement("path",{fill:"#ce6d42",d:"M87.5 129.2c-.6-2.4-1.5-3.6.5-6 0 4-.5 6 1.6 9.6zm4 22.9c-2-8.5-15.8-16.4-10.5-23.2-1.6 5.2 3 7.7 5.9 12 2.3 3.3 4.8 7.9 4.6 11.2zm-7.8 4.3c.5-3-1.7-8.3-4.3-12.4a9 9 0 00-7-4.6c3.2 1.3 3.5 2.2 5.2 4.8 2 3 5.4 7.9 6 12.2zm-7.5 3.6c-2-.6-5.1-1-6.6-2.7-2-2.1-2.5-9-2.5-11.8.3 2 1.2 6.5 2.6 8.2s5.1 4.3 6.5 6.2z"})),mt||(mt=_e.createElement("path",{fill:"#ce6d42",d:"M69.1 155.7c-1 1.2-1 5.2.6 6.1-.3-1.4-.5-3.9 1-4.7m-3.3-8.1c.8 6-6.4 12.5-17.9 10.4 3.4 2 7.8 4.4 11.3 3.1a14.8 14.8 0 007.8-7.3c.6-1.4-1-3.7-1.2-6.2zm49-24.3a3.1 3.1 0 001.7-2.3c-.1-.5-.4-.9-1.8-1.1-4.2-.7-10.5-1.4-14-3.3 5.7 1.8 15.8 2.7 16.6 3a1.2 1.2 0 01.7 1.4c-2 6.3-13.2 3.8-21.4 2.4 4.8.4 12 2.2 18.2-.1zm22.3-17.7c2-.7 3.2-2.5 2.5-5.8 1.6.7 4.5 5.8 4.8 7.8-2.4-2.7-4.6-1.7-6-2"})),ht||(ht=_e.createElement("path",{d:"M144.3 56.5c-3-.3-10 2.4-12.7 2.6-1.7 0-2 1.6-.6 3 5.4.8 10-3 13.5-3 3.7 0 9.4.6 14.1 3.3-2.1-3.9-10.3-5.7-14.3-6z"})))}var Et,kt=n(47),jt=n(26),xt=n.n(jt);function _t(){return(_t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function St(e){return _e.createElement("svg",_t({width:16,height:16,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",stroke:"currentColor"},e),Et||(Et=_e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 14l-7 7m0 0l-7-7m7 7V3"})))}function Mt(e){return Object(a.createElement)("ol",{id:e.id,className:"workflow yoast"},e.children)}function zt(e){var t=e.stepNumber,n=e.onFinishClick,r=e.buttonId,o=e.finishText,i=e.hasDownArrow,s=e.isFinished,c=e.additionalButtonProps,l=e.isSaved,u=e.isReady,p=e.children;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("hr",{id:t?"hr-scroll-target-step-".concat(t+1):null}),p,Object(a.createElement)("div",{className:"finish-button-section"},Object(a.createElement)(k.NewButton,xt()({className:"yoast-button yoast-button--".concat(u?"primary":"secondary").concat(s?" yoast-button--finished":""),onClick:n,id:r},c),o,i&&Object(a.createElement)(St,{className:"yoast-button--arrow-down"})),l&&Object(a.createElement)("span",{className:"finish-button-saved"},Object(E.__)("Saved!","wordpress-seo"))))}function Pt(e){var t=e.id,n=e.title,r=e.subtitle,o=e.subtitleClass,i=e.isFinished,s=e.ImageComponent,c=e.children,l=i?" finished":"";return Object(a.createElement)("li",{id:t,className:"step".concat(l)},Object(a.createElement)("h4",{id:"".concat(t,"-title")},n),Object(a.createElement)("div",{id:"".concat(t,"-subtitle"),style:{display:"flex"}},r&&Object(a.createElement)("p",{className:o},r),s&&Object(a.createElement)(s,{style:{height:"119px",width:"100px",flexShrink:0}})),c)}Mt.propTypes={id:v.a.string.isRequired,children:v.a.any.isRequired},zt.propTypes={finishText:v.a.string.isRequired,onFinishClick:v.a.func.isRequired,buttonId:v.a.string.isRequired,stepNumber:v.a.number,hasDownArrow:v.a.bool,isFinished:v.a.bool,additionalButtonProps:v.a.object,isSaved:v.a.bool,isReady:v.a.bool,children:v.a.any},zt.defaultProps={stepNumber:NaN,hasDownArrow:!1,isFinished:!1,additionalButtonProps:{},isSaved:!1,children:null,isReady:!1},Pt.propTypes={title:v.a.string.isRequired,id:v.a.string.isRequired,subtitle:v.a.oneOfType([v.a.string,v.a.object]),subtitleClass:v.a.string,isFinished:v.a.bool,ImageComponent:v.a.func,children:v.a.any.isRequired},Pt.defaultProps={subtitle:null,subtitleClass:"",ImageComponent:null,isFinished:!1};var Rt=n(43);function Ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function It(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tt(e){var t=e.dispatch,n=e.imageUrl,r=e.organizationName,o=e.isDisabled,i=Object(a.useCallback)((function(){Object(Rt.b)((function(e){t({type:"SET_COMPANY_LOGO",payload:It({},e)})}))}),[Rt.b]),s=Object(a.useCallback)((function(){t({type:"REMOVE_COMPANY_LOGO"})})),c=Object(a.useCallback)((function(e){t({type:"CHANGE_COMPANY_NAME",payload:e})}));return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(k.TextInput,{id:"organization-name-input",name:"organization-name",label:Object(E.__)("Organization name (important)","wordpress-seo"),value:r,onChange:c,readOnly:o}),Object(a.createElement)(k.ImageSelect,{imageUrl:n,onClick:i,onRemoveImageClick:s,imageAltText:"",hasPreview:!0,label:Object(E.__)("Organization logo (important)","wordpress-seo"),isDisabled:o,replaceImageButtonId:"organization-logo-replace-button",selectImageButtonId:"organization-logo-select-button",removeImageButtonId:"organization-logo-remove-button"}))}Tt.propTypes={dispatch:v.a.func.isRequired,imageUrl:v.a.string,organizationName:v.a.string,isDisabled:v.a.bool},Tt.defaultProps={imageUrl:"",organizationName:"",isDisabled:!1};var Ft=n(160);function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?At(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lt(e){var t=e.dispatch,n=e.imageUrl,r=e.personId,o=e.isDisabled,i=Object(a.useState)(""),s=gt()(i,2),c=s[0],l=s[1],u=Object(a.useCallback)((function(){Object(Rt.b)((function(e){t({type:"SET_PERSON_LOGO",payload:Dt({},e)})}))}),[Rt.b]),p=Object(a.useCallback)((function(){t({type:"REMOVE_PERSON_LOGO"})})),d=Object(a.useCallback)((function(e,n){l(n),t({type:"SET_PERSON_ID",payload:e})}),[t]),f=Object(a.createInterpolateElement)(Object(E.sprintf)(// translators: %1$s is replaced by the selected user's name, and %2$s and %3$s are opening and closing anchor tags.
Object(E.__)("You have selected the user %1$s as the person this site represents. Their user profile information will now be used in search results. %2$sUpdate their profile to make sure the information is correct.%3$s Alternatively, ask the user or an admin to do it if you are not allowed.","wordpress-seo"),"<b>".concat(c,"</b>"),"<a>","</a>"),{b:Object(a.createElement)("b",null),a:Object(a.createElement)("a",{id:"yoast-configuration-workout-user-selector-user-link",href:window.wpseoScriptData.searchAppearance.userEditUrl.replace("{user_id}",r),target:"_blank",rel:"noopener noreferrer"})});return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(k.FieldGroup,{label:Object(E.__)("Name (important)","wordpress-seo"),htmlFor:"person_id"},Object(a.createElement)(Ft.a,{value:r,onChange:d,name:"person_id"}),0!==r&&Object(a.createElement)("p",null,f)),Object(a.createElement)(k.ImageSelect,{imageUrl:n,onClick:u,onRemoveImageClick:p,imageAltText:"",hasPreview:!0,label:Object(E.__)("Person logo / avatar (important)","wordpress-seo"),isDisabled:o,replaceImageButtonId:"person-logo-replace-button",selectImageButtonId:"person-logo-select-button",removeImageButtonId:"person-logo-remove-button"}))}Lt.propTypes={dispatch:v.a.func.isRequired,imageUrl:v.a.string,personId:v.a.number,isDisabled:v.a.bool},Lt.defaultProps={imageUrl:"",personId:0,isDisabled:!1};var Bt=n(44),Ut=n(37),Wt=n.n(Ut),Nt=["inputExplanation","feedbackState","feedbackMessage"];function qt(e){var t=e.inputExplanation,n=e.feedbackState,r=e.feedbackMessage,o=Wt()(e,Nt);return Object(a.createElement)("div",{className:"yoast-validated-text-input"},Object(a.createElement)(k.TextInput,o),t&&Object(a.createElement)("p",{className:"yoast-validated-text-input--explanation"},t),["error","success"].includes(n)&&Object(a.createElement)("p",{className:"yoast-validated-text-input--feedback ".concat(n)},r))}function Ht(_x){return Gt.apply(this,arguments)}function Gt(){return(Gt=p()(f.a.mark((function e(t){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("https://my.yoast.com/api/Mailing-list/subscribe",{method:"POST",mode:"cors",cache:"no-cache",credentials:"same-origin",headers:{"Content-Type":"application/json"},redirect:"follow",referrerPolicy:"no-referrer",body:JSON.stringify({customerDetails:{firstName:"",email:t},list:"Yoast newsletter"})});case 2:return n=e.sent,e.abrupt("return",n.json());case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}qt.propTypes={inputExplanation:v.a.any,feedbackState:v.a.string,feedbackMessage:v.a.string},qt.defaultProps={inputExplanation:"",feedbackState:"",feedbackMessage:""};var $t=Object(E.__)("Oops! Something went wrong. Check your email address and try again.","wordpress-seo"),Vt=Object(E.__)("That is not a valid email address. Check your email address and try again.","wordpress-seo"),Yt=Object(E.__)("That email address has already been subscribed.","wordpress-seo"),Kt=Object(E.__)("Thanks! Please click the link in the email we just sent you to confirm your newsletter subscription.","wordpress-seo");function Xt(e){var t=e.gdprLink,n=Object(a.useState)(""),r=gt()(n,2),o=r[0],i=r[1],s=Object(a.useState)("waiting"),c=gt()(s,2),l=c[0],u=c[1],d=Object(a.useState)(""),m=gt()(d,2),h=m[0],b=m[1],g=Object(a.useCallback)(p()(f.a.mark((function e(){var t;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Object(Bt.isEmail)(o)){e.next=4;break}return u("error"),b(Vt),e.abrupt("return");case 4:return u("loading"),e.next=7,Ht(o);case 7:(t=e.sent).error?(u("error"),b($t)):(u("success"),b("alreadySubscribed"===t.status?Yt:Kt));case 9:case"end":return e.stop()}}),e)}))),[o]);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("ul",{className:"yoast-list--usp"},Object(a.createElement)("li",null,Object(E.__)("Receive best-practice tips and learn how to rank on search engines","wordpress-seo")),Object(a.createElement)("li",null,Object(E.__)("Stay up-to-date with the latest SEO news","wordpress-seo")),Object(a.createElement)("li",null,Object(E.__)("Get guidance on how to use Yoast SEO to the fullest","wordpress-seo"))),Object(a.createElement)("div",{className:"yoast-newsletter-signup"},Object(a.createElement)(qt,{label:Object(E.__)("Email address","wordpress-seo"),id:"newsletter-email",name:"newsletter email",value:o,onChange:i,type:"email",feedbackState:l,feedbackMessage:h,inputExplanation:Object(kt.a)(Object(E.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing anchor tags.
Object(E.__)("Yoast respects your privacy. Read %1$sour privacy policy%2$s on how we handle your personal information.","wordpress-seo"),"<a>","</a>"),t,"yoast-configuration-workout-gdpr-link")}),Object(a.createElement)(k.NewButton,{id:"newsletter-sign-up-button",variant:"primary",onClick:g,disabled:"loading"===l},Object(E.__)("Sign up!","wordpress-seo"))))}Xt.propTypes={gdprLink:v.a.string},Xt.defaultProps={gdprLink:""};var Jt=n(163),Qt={},Zt={};function en(e){var t=e.indexingStateCallback,n=e.indexingState;return e.isEnabled?Object(a.createElement)(Jt.a,{preIndexingActions:Qt,indexingActions:Zt,indexingStateCallback:t}):"completed"===n?Object(a.createElement)(k.Alert,{type:"success"},Object(E.__)("SEO data optimization complete","wordpress-seo")):Object(a.createElement)("button",{className:"yoast-button yoast-button--primary",type:"button",disabled:!0},"Start SEO data optimization")}window.yoast=window.yoast||{},window.yoast.indexing=window.yoast.indexing||{},en.propTypes={indexingStateCallback:v.a.func.isRequired,indexingState:v.a.string.isRequired,isEnabled:v.a.bool},en.defaultProps={isEnabled:!0},window.yoast.indexing.registerPreIndexingAction=function(e,t){Qt[e]=t},window.yoast.indexing.registerIndexingAction=function(e,t){Zt[e]=t};var tn=["onChange","socialMedium","isDisabled"];function nn(e){var t=e.onChange,n=e.socialMedium,r=e.isDisabled,o=Wt()(e,tn),i=Object(a.useCallback)((function(e){return t(e,n)}),[n]);return Object(a.createElement)(qt,xt()({onChange:i,readOnly:r},o))}function rn(e){var t=e.socialProfiles,n=e.errorFields,r=e.dispatch,o=e.isDisabled,i=Object(a.useCallback)((function(e,t){r({type:"CHANGE_SOCIAL_PROFILE",payload:{socialMedium:t,value:e}})}),[]),s=Object(a.useCallback)((function(e){return n.includes(e)?{feedbackState:"error",feedbackMessage:"twitter_site"===e?Object(E.__)("Could not save this value. Please check the URL or username.","wordpress-seo"):Object(E.__)("Could not save this value. Please check the URL.","wordpress-seo")}:{}}),[n]);return Object(a.createElement)("div",{id:"social-input-section",className:"yoast-social-profiles-input-fields"},Object(a.createElement)(nn,xt()({label:Object(E.__)("Facebook URL","wordpress-seo"),id:"social-input-facebook-url",value:t.facebookUrl,socialMedium:"facebookUrl",onChange:i,isDisabled:o},s("facebook_site"))),Object(a.createElement)(nn,xt()({label:Object(E.__)("Twitter URL","wordpress-seo"),id:"social-input-twitter-url",value:t.twitterUsername,socialMedium:"twitterUsername",onChange:i,isDisabled:o},s("twitter_site"))),Object(a.createElement)(nn,xt()({label:Object(E.__)("Instagram URL","wordpress-seo"),id:"social-input-instagram-url",value:t.instagramUrl,socialMedium:"instagramUrl",onChange:i,isDisabled:o},s("instagram_url"))),Object(a.createElement)(nn,xt()({label:Object(E.__)("LinkedIn URL","wordpress-seo"),id:"social-input-linkedin-url",value:t.linkedinUrl,socialMedium:"linkedinUrl",onChange:i,isDisabled:o},s("linkedin_url"))),Object(a.createElement)(nn,xt()({label:Object(E.__)("MySpace URL","wordpress-seo"),id:"social-input-myspace-url",value:t.myspaceUrl,socialMedium:"myspaceUrl",onChange:i,isDisabled:o},s("myspace_url"))),Object(a.createElement)(nn,xt()({label:Object(E.__)("Pinterest URL","wordpress-seo"),id:"social-input-pinterest-url",value:t.pinterestUrl,socialMedium:"pinterestUrl",onChange:i,isDisabled:o},s("pinterest_url"))),Object(a.createElement)(nn,xt()({label:Object(E.__)("YouTube URL","wordpress-seo"),id:"social-input-youtube-url",value:t.youtubeUrl,socialMedium:"youtubeUrl",onChange:i,isDisabled:o},s("youtube_url"))),Object(a.createElement)(nn,xt()({label:Object(E.__)("Wikipedia URL","wordpress-seo"),id:"social-input-wikipedia-url",value:t.wikipediaUrl,socialMedium:"wikipediaUrl",onChange:i,isDisabled:o},s("wikipedia_url"))))}function on(e){var t=e.personId;return Object(a.createElement)("div",null,0===t&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)(k.Alert,{type:"info"},Object(a.createInterpolateElement)(Object(E.sprintf)(Object(E.__)(// translators: %1$s and %2$s are replaced by opening and closing <b> tags, %3$s and %4$s are replaced by opening and closing anchor tags
"%1$sImportant%2$s: Please select a name in step 2 for this step to be effective.","wordpress-seo"),"<b>","</b>"),{b:Object(a.createElement)("b",null)})),Object(a.createElement)("p",null,Object(a.createInterpolateElement)(Object(E.sprintf)(Object(E.__)(// translators: %1$s and %2$s are replaced by opening and closing anchor tags
"In this step, you need to add the personal social profiles of the person your site represents. To do that, you should go to the %1$sUsers%2$s > Profile page in a new browser tab. Alternatively, ask the user or an admin to do it if you are not allowed.","wordpress-seo"),"<a>","</a>"),{b:Object(a.createElement)("b",null),a:Object(a.createElement)("a",{id:"yoast-configuration-workout-user-page-link-1",href:window.wpseoWorkoutsData.usersPageUrl,target:"_blank",rel:"noopener noreferrer"})})),Object(a.createElement)("p",null,Object(kt.a)(Object(E.sprintf)(Object(E.__)(// translators: %1$s and %2$s are replaced by opening and closing anchor tags.
"On the %1$sUsers%2$s page, hover your mouse over the username you want to edit. Click ‘Edit’ to access the user’s profile. Then, scroll down to the ‘Contact info’ section (see screenshot below) and fill in the URLs of the personal social profiles you want to add.","wordpress-seo"),"<a>","</a>"),window.wpseoWorkoutsData.usersPageUrl,"yoast-configuration-workout-user-page-link-2"))),0!==t&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(kt.a)(Object(E.sprintf)(Object(E.__)(// translators: %1$s and %2$s are replaced by opening and closing <b> tags, %3$s and %4$s are replaced by opening and closing anchor tags
"In this step, you need to add the personal social profiles of the person your site represents. To do that, you should go to the user’s %1$sProfile page%2$s (opens in a new browser tab). Then, scroll down to the ‘Contact info’ section (see screenshot below) and fill in the URLs of the personal social profiles you want to add. Alternatively, ask the user or an admin to do it if you are not allowed.","wordpress-seo"),"<a>","</a>"),window.wpseoScriptData.searchAppearance.userEditUrl.replace("{user_id}",t),"yoast-configuration-workout-user-page-link-direct"))),Object(a.createElement)("p",null,Object(a.createElement)("b",null,Object(E.__)("Screenshot:","wordpress-seo")),Object(a.createElement)("img",{src:window.wpseoWorkoutsData.pluginUrl+"/images/profile-social-fields.png",alt:Object(E.__)("A screenshot of the Contact Info section of a user's Profile page","wordpress-seo")})))}nn.propTypes={onChange:v.a.func.isRequired,socialMedium:v.a.string,isDisabled:v.a.bool},nn.defaultProps={socialMedium:"",isDisabled:!1},rn.propTypes={socialProfiles:v.a.object.isRequired,dispatch:v.a.func.isRequired,errorFields:v.a.array,isDisabled:v.a.bool},rn.defaultProps={errorFields:[],isDisabled:!1};var an=on;function sn(e){if(1!==e){var t=document.getElementById("hr-scroll-target-step-".concat(e)).getBoundingClientRect().top+window.pageYOffset+-50;window.scrollTo({top:t,behavior:"smooth",block:"start"})}else window.scrollTo({top:0,behavior:"smooth"})}function cn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cn(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function un(e,t){var n=function(e,t){return e.includes(t)?yt()(e):[].concat(yt()(e),[t])}(e.editedSteps,t),r=function(e,t){return e.filter((function(e){return e!==t}))}(e.savedSteps,t);return ln(ln({},e),{},{editedSteps:n,savedSteps:r})}function pn(e,t){var n=Object(g.cloneDeep)(e);switch(t.type){case"SET_COMPANY_OR_PERSON":return(n=un(n,2)).companyOrPerson=t.payload,n.companyOrPersonLabel=window.wpseoWorkoutsData.configuration.companyOrPersonOptions.filter((function(e){return e.value===t.payload})).pop().name,n;case"CHANGE_COMPANY_NAME":return(n=un(n,2)).companyName=t.payload,n;case"SET_COMPANY_LOGO":return(n=un(n,2)).companyLogo=t.payload.url,n.companyLogoId=t.payload.id,n;case"REMOVE_COMPANY_LOGO":return(n=un(n,2)).companyLogo="",n.companyLogoId="",n;case"SET_PERSON_LOGO":return(n=un(n,2)).personLogo=t.payload.url,n.personLogoId=t.payload.id,n;case"REMOVE_PERSON_LOGO":return(n=un(n,2)).personLogo="",n.personLogoId="",n;case"SET_PERSON_ID":return(n=un(n,2)).personId=t.payload,n;case"CHANGE_SOCIAL_PROFILE":return(n=un(n,3)).socialProfiles[t.payload.socialMedium]=t.payload.value,n;case"SET_ERROR_FIELDS":return n.errorFields=t.payload,n;case"CHANGE_SITE_TAGLINE":return(n=un(n,2)).siteTagline=t.payload,n;case"SET_TRACKING":return(n=un(n,4)).tracking=t.payload,n;case"SET_STEP_SAVED":return n.savedSteps.includes(t.payload)||(n.savedSteps=[].concat(yt()(n.savedSteps),[t.payload])),n.editedSteps=n.editedSteps.filter((function(e){return e!==t.payload})),n;case"SET_STEP_NOT_SAVED":return n.savedSteps=n.savedSteps.filter((function(e){return e!==t.payload})),n;case"SET_ALL_STEPS_NOT_SAVED":return n.savedSteps=[],n;default:return n}}function dn(_x){return fn.apply(this,arguments)}function fn(){return(fn=p()(f.a.mark((function e(t){var n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={company_or_person:t.companyOrPerson,company_name:t.companyName,company_logo:t.companyLogo,company_logo_id:t.companyLogoId?t.companyLogoId:0,person_logo:t.personLogo,person_logo_id:t.personLogoId?t.personLogoId:0,company_or_person_user_id:t.personId},window.wpseoWorkoutsData.canEditWordPressOptions&&(n.description=t.siteTagline),e.next=4,h()({path:"yoast/v1/workouts/site_representation",method:"POST",data:n});case 4:return r=e.sent,e.next=7,r.json;case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function mn(e){return hn.apply(this,arguments)}function hn(){return(hn=p()(f.a.mark((function e(t){var n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={facebook_site:t.socialProfiles.facebookUrl,twitter_site:t.socialProfiles.twitterUsername,instagram_url:t.socialProfiles.instagramUrl,linkedin_url:t.socialProfiles.linkedinUrl,myspace_url:t.socialProfiles.myspaceUrl,pinterest_url:t.socialProfiles.pinterestUrl,youtube_url:t.socialProfiles.youtubeUrl,wikipedia_url:t.socialProfiles.wikipediaUrl},e.next=3,h()({path:"yoast/v1/workouts/social_profiles",method:"POST",data:n});case 3:return r=e.sent,e.next=6,r.json;case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function bn(e){return gn.apply(this,arguments)}function gn(){return(gn=p()(f.a.mark((function e(t){var n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0===t.tracking||1===t.tracking){e.next=2;break}throw"Value not set!";case 2:return n={tracking:t.tracking},e.next=5,h()({path:"yoast/v1/workouts/enable_tracking",method:"POST",data:n});case 5:return r=e.sent,e.next=8,r.json;case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}on.propTypes={personId:v.a.number},on.defaultProps={personId:0},n(23),window.wpseoScriptData=window.wpseoScriptData||{},window.wpseoScriptData.searchAppearance=ln(ln({},window.wpseoScriptData.searchAppearance),{},{userEditUrl:"/wp-admin/user-edit.php?user_id={user_id}"});var wn={1:M.b.configuration.optimizeSeoData,2:M.b.configuration.siteRepresentation,3:M.b.configuration.socialProfiles,4:M.b.configuration.enableTracking,5:M.b.configuration.newsletterSignup};function yn(e){var t=e.finishSteps,n=e.reviseStep,r=e.toggleWorkout,o=e.clearActiveWorkout,i=e.isStepFinished,s=Object(a.useReducer)(pn,ln(ln({},window.wpseoWorkoutsData.configuration),{},{errorFields:[],editedSteps:[],savedSteps:[]})),c=gt()(s,2),l=c[0],u=c[1],d=Object(a.useState)((function(){return"0"===window.yoastIndexingData.amount?"completed":"idle"})),m=gt()(d,2),h=m[0],b=m[1],g=Object(a.useState)(!1),w=gt()(g,2),y=w[0],O=w[1],v=M.b.configuration,j=0===l.tracking||1===l.tracking;Object(a.useEffect)((function(){"completed"===h?(window.yoastIndexingData.amount="0",t("configuration",[v.optimizeSeoData])):n("configuration",v.optimizeSeoData)}),[h]),Object(a.useEffect)((function(){l.editedSteps.forEach((function(e){n("configuration",wn[e])}))}),[l.editedSteps]);var x=function(e){u({type:"SET_STEP_SAVED",payload:e})},_=i("configuration",v.optimizeSeoData),S=i("configuration",v.siteRepresentation),z=i("configuration",v.socialProfiles),P=i("configuration",v.enableTracking),R=i("configuration",v.newsletterSignup),C=[_,S,z,P,R].every(Boolean);function I(e){switch(e){case 1:return["in_progress","completed"].includes(h);case 2:return"company"===l.companyOrPerson?Boolean(l.companyLogo&&l.companyName):Boolean(l.personLogo&&l.personId);case 3:case 4:return!0;case 5:return[_,S,z,P].every(Boolean)&&"completed"===h;default:return!1}}var T=Object(a.useCallback)((function(e){u({type:"SET_TRACKING",payload:parseInt(e,10)})})),F=Object(a.useCallback)((function(e){u({type:"SET_ERROR_FIELDS",payload:e})})),A=Object(a.useCallback)((function(){sn(2)}),[_]),D=Object(a.useCallback)(p()(f.a.mark((function e(){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=[],!C){e.next=8;break}return n("configuration",v.siteRepresentation),n("configuration",v.socialProfiles),n("configuration",v.enableTracking),n("configuration",v.newsletterSignup),u({type:"SET_ALL_STEPS_NOT_SAVED"}),e.abrupt("return");case 8:if(S){e.next=19;break}return e.prev=9,e.next=12,dn(l);case 12:x(2),r.push(v.siteRepresentation),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(9),console.error(e.t0.message);case 19:if(z){e.next=32;break}return e.prev=20,e.next=23,mn(l);case 23:x(3),F([]),r.push(v.socialProfiles),e.next=32;break;case 28:e.prev=28,e.t1=e.catch(20),e.t1.failures&&F(e.t1.failures),sn(3);case 32:if(P){e.next=43;break}return e.prev=33,e.next=36,bn(l);case 36:x(4),r.push(v.enableTracking),e.next=43;break;case 40:e.prev=40,e.t2=e.catch(33),console.error(e.t2.message);case 43:R||r.push(v.newsletterSignup),t("configuration",r);case 45:case"end":return e.stop()}}),e,null,[[9,16],[20,28],[33,40]])}))),[r,C,_,S,z,P,R,l]),L=Object(a.useCallback)((function(e){return u({type:"SET_COMPANY_OR_PERSON",payload:e})}),[u]),B=Object(a.useCallback)((function(e){return u({type:"CHANGE_SITE_TAGLINE",payload:e})}),[u]),U="person"===l.companyOrPerson;return Object(a.createElement)("div",{id:"yoast-configuration-workout",className:"card"},Object(a.createElement)("h2",{id:"yoast-configuration-workout-title"},Object(E.__)("Configuration","wordpress-seo")),Object(a.createElement)("h3",{id:"yoast-configuration-workout-tagline"},// translators: %1$s is replaced by "Yoast SEO"
Object(E.sprintf)(Object(E.__)("Configure %1$s with optimal SEO settings for your site","wordpress-seo"),"Yoast SEO")),Object(a.createElement)("p",null,Object(E.sprintf)(// translators: %1$s is replaced by "Yoast SEO"
Object(E.__)("Do the five steps in this workout to configure the essential %1$s settings!","wordpress-seo"),"Yoast SEO")),Object(a.createElement)("p",null,Object(a.createElement)("i",null,Object(kt.a)(Object(E.sprintf)(Object(E.__)(// translators: %1$s and %3$s are replaced by opening and closing anchor tags. %2$s is replaced by "Yoast SEO"
"Need more guidance? We've covered every step in more detail in the %1$s%2$s configuration workout guide.%3$s","wordpress-seo"),"<a>","Yoast SEO","</a>"),window.wpseoWorkoutsData.configuration.shortlinks.workoutGuide,"yoast-configuration-workout-guide-link"))),Object(a.createElement)("hr",{id:"configuration-workout-hr-top"}),Object(a.createElement)("p",{id:"configuration-workout-important-message"},Object(a.createInterpolateElement)(Object(E.sprintf)(Object(E.__)(// translators: %1$s and %2$s are replaced by opening and closing <b> tags.
"%1$sImportant:%2$s If the SEO data optimization in step 1 is running, you can already continue to the next steps.","wordpress-seo"),"<b>","</b>"),{b:Object(a.createElement)("b",null)})),Object(a.createElement)(Mt,{id:"yoast-configuration-workout-steps"},Object(a.createElement)(Pt,{id:"yoast-configuration-workout-step-optimize-seo-data",title:Object(E.__)("Optimize SEO data","wordpress-seo"),subtitle:Object(kt.a)(Object(E.sprintf)(Object(E.__)("Click the button below to optimize your SEO data. It will let us see your site as Google does, so we can give you the best SEO tips and improve technical SEO issues in the background! If you have a lot of content the optimization might take a while. But trust us, it's worth it! %1$sLearn more about the benefits of optimized SEO data.%2$s","wordpress-seo"),"<a>","</a>"),window.wpseoWorkoutsData.configuration.shortlinks.indexData,"yoast-configuration-workout-index-data-link"),subtitleClass:window.wpseoWorkoutsData.shouldUpdatePremium?"disabled":"",ImageComponent:vt,isFinished:_},Object(a.createElement)("div",{id:"yoast-configuration-workout-indexing-container",className:"indexation-container"},Object(a.createElement)(en,{indexingStateCallback:b,isEnabled:!window.wpseoWorkoutsData.shouldUpdatePremium,indexingState:h})),window.wpseoWorkoutsData.shouldUpdatePremium&&"completed"!==h&&Object(a.createElement)(k.Alert,{type:"warning"},Object(a.createElement)("p",null,// translators: %1$s is replaced by a version number.
Object(E.sprintf)(Object(E.__)("This workout step is currently disabled, because you're not running the latest version of Yoast SEO Premium. Please update to the latest version (at least %1$s). ","wordpress-seo"),"17.7")),Object(a.createElement)("p",null,Object(kt.a)(Object(E.sprintf)(// translators: %1$s and %2$s are replaced by anchor tags to make a link to the tool section.
Object(E.__)("You can still run the SEO data optimization in the %1$sTools section%2$s. Once that is finished, please refresh this workout.","wordpress-seo"),"<a>","</a>"),window.wpseoWorkoutsData.toolsPageUrl))),Object(a.createElement)(zt,{buttonId:"yoast-configuration-workout-step-optimize-seo-data-button",stepNumber:1,hasDownArrow:!0,finishText:Object(E.__)("Continue","wordpress-seo"),onFinishClick:A,isFinished:_,isReady:I(1)})),Object(a.createElement)("p",{className:"extra-list-content"},Object(a.createInterpolateElement)(Object(E.sprintf)(Object(E.__)(// translators: %1$s and %2$s are replaced by opening and closing <b> tags.
"%1$sImportant:%2$s After you’ve completed (or made any changes to) a step below, please make sure to save your changes by clicking the ‘Save and continue’ button below that step.","wordpress-seo"),"<b>","</b>"),{b:Object(a.createElement)("b",null)})),Object(a.createElement)(Pt,{id:"yoast-configuration-workout-step-site-representation",title:Object(E.__)("Site representation","wordpress-seo"),subtitle:Object(E.__)("Tell Google what kind of site you have and increase the chance it gets features in a Google Knowledge Panel. Select ‘Organization’ if you are working on a site for a business or an organization. Select ‘Person’ if you have, say, a personal blog.","wordpress-seo"),isFinished:S},window.wpseoWorkoutsData.configuration.knowledgeGraphMessage&&Object(a.createElement)(k.Alert,{type:"warning"},window.wpseoWorkoutsData.configuration.knowledgeGraphMessage),0===window.wpseoWorkoutsData.configuration.shouldForceCompany&&Object(a.createElement)(k.SingleSelect,{id:"organization-person-select",htmlFor:"organization-person-select",name:"organization",label:Object(E.__)("Does your site represent an Organization or Person?","wordpress-seo"),selected:l.companyOrPerson,onChange:L,options:window.wpseoWorkoutsData.configuration.companyOrPersonOptions}),1===window.wpseoWorkoutsData.configuration.shouldForceCompany&&Object(a.createElement)(k.TextInput,{id:"organization-forced-readonly-text",name:"organization",label:Object(E.__)("Does your site represent an Organization or Person?","wordpress-seo"),value:l.companyOrPersonLabel,readOnly:!0}),"company"===l.companyOrPerson&&Object(a.createElement)(a.Fragment,null,(!l.companyName||!l.companyLogo)&&Object(a.createElement)(k.Alert,{type:"warning"},Object(E.__)("You need to set an organization name and logo for structured data to work properly.","wordpress-seo")),Object(a.createElement)(Tt,{dispatch:u,imageUrl:l.companyLogo,organizationName:l.companyName})),U&&Object(a.createElement)(a.Fragment,null,(!l.personLogo||0===l.personId)&&Object(a.createElement)(k.Alert,{type:"warning"},Object(E.__)("You need to set a person name and logo for structured data to work properly.","wordpress-seo")),Object(a.createElement)(Lt,{dispatch:u,imageUrl:l.personLogo,personId:l.personId})),window.wpseoWorkoutsData.canEditWordPressOptions&&Object(a.createElement)(k.TextInput,{id:"site-tagline-input",name:"site-tagline",label:Object(E.__)("Site tagline","wordpress-seo"),description:Object(E.sprintf)(Object(E.__)("Add a catchy tagline that describes your site in the best light. Use the keywords you want people to find your site with. Example: %1$s’s tagline is ‘SEO for everyone.’","wordpress-seo"),"Yoast"),value:l.siteTagline,onChange:B}),y&&Object(a.createElement)(k.Alert,{type:"warning"},Object(E.__)("Please be aware that you need to set a name and logo in step 2 for structured data to work properly.","wordpress-seo")),Object(a.createElement)(zt,{buttonId:"yoast-configuration-workout-step-site-representation-button",stepNumber:2,isSaved:l.savedSteps.includes(2),hasDownArrow:!0,finishText:Object(E.__)("Save and continue","wordpress-seo"),onFinishClick:function(){(y||"company"!==l.companyOrPerson||l.companyName&&l.companyLogo)&&(y||"person"!==l.companyOrPerson||l.personId&&l.personLogo)?(O(!1),dn(l).then((function(){return x(2)})).then((function(){return t("configuration",[v.siteRepresentation])})),sn(3)):O(!0)},isFinished:S,isReady:I(2)})),Object(a.createElement)(Pt,{id:"yoast-configuration-workout-step-social-profiles",title:Object(E.__)("Social profiles","wordpress-seo"),subtitle:"company"===l.companyOrPerson?Object(E.__)("Do you have profiles for your site on social media? Then, add all of their URLs here, so your social profiles may also appear in a Google Knowledge Panel.","wordpress-seo"):"",isFinished:z},"company"===l.companyOrPerson&&Object(a.createElement)(rn,{socialProfiles:l.socialProfiles,dispatch:u,errorFields:l.errorFields,setErrorFields:F}),U&&Object(a.createElement)(an,{personId:l.personId}),Object(a.createElement)(zt,{buttonId:"yoast-configuration-workout-step-social-profiles-button",stepNumber:3,isSaved:!U&&l.savedSteps.includes(3),hasDownArrow:!0,finishText:U?Object(E.__)("Continue","wordpress-seo"):Object(E.__)("Save and continue","wordpress-seo"),onFinishClick:function(){mn(l).then((function(){return x(3)})).then((function(){F([]),t("configuration",[v.socialProfiles]),sn(4)})).catch((function(e){return e.failures&&F(e.failures),!1}))},isFinished:z,isReady:I(3)})),Object(a.createElement)(Pt,{id:"yoast-configuration-workout-step-tracking",title:Object(E.__)("Help us improve Yoast SEO","wordpress-seo"),isFinished:P},Object(a.createElement)("p",null,Object(E.__)("To provide the best experience for you, we need your permission to do the following things:","wordpress-seo")),Object(a.createElement)("ul",{className:"yoast-tracking"},Object(a.createElement)("li",null," ",Object(E.__)("collect info about the plugins and themes you have installed;","wordpress-seo")," "),Object(a.createElement)("li",null," ",Object(E.sprintf)(// translators: translates to Yoast SEO.
Object(E.__)("see which %s features you use or don't use;","wordpress-seo"),"Yoast SEO")," "),Object(a.createElement)("li",null," ",Object(E.__)("always load our customer support window so we can immediately assist you when you need help.","wordpress-seo")," ")),Object(a.createElement)(k.RadioButtonGroup,{id:"yoast-configuration-workout-tracking-radio-button",label:Object(E.__)("Can we collect anonymous information about your website and how you use it?","wordpress-seo"),groupName:"yoast-configuration-workout-tracking",selected:l.tracking,onChange:T,vertical:!0,wrapperClassName:"tracking-radiobuttons",options:[{value:0,label:Object(E.__)("No, don’t track my site data","wordpress-seo")},{value:1,label:Object(E.__)("Yes, you can track my site data","wordpress-seo")}]}),Object(a.createElement)("p",null,Object(a.createElement)("i",null,Object(E.__)("Important: We will never sell this data. And of course, as always, we won't collect any personal data about you or your visitors!","wordpress-seo"))),!j&&Object(a.createElement)(k.Alert,{type:"warning"},Object(E.__)("In order to complete this step please select if we are allowed to improve Yoast SEO with your data.","wordpress-seo")),Object(a.createElement)(zt,{buttonId:"yoast-configuration-workout-step-tracking-button",stepNumber:4,isSaved:l.savedSteps.includes(4),hasDownArrow:!0,finishText:Object(E.__)("Save and continue","wordpress-seo"),onFinishClick:function(){bn(l).then((function(){return x(4)})).then((function(){return t("configuration",[v.enableTracking])})),sn(5)},isFinished:P,additionalButtonProps:{disabled:!j},isReady:I(4)})),Object(a.createElement)(Pt,{id:"yoast-configuration-workout-step-newsletter",title:Object(E.__)("Sign up for the Yoast newsletter!","wordpress-seo"),isFinished:R},Object(a.createElement)("br",null),Object(a.createElement)(Xt,{gdprLink:window.wpseoWorkoutsData.configuration.shortlinks.gdpr})),Object(a.createElement)(zt,{buttonId:"yoast-configuration-workout-finish-workout-button",finishText:C?Object(E.__)("Do workout again","wordpress-seo"):Object(E.__)("Finish this workout","wordpress-seo"),onFinishClick:D,isFinished:!1,isReady:!C&&I(5),additionalButtonProps:{disabled:"completed"!==h||!j}},"completed"!==h&&Object(a.createElement)(k.Alert,{type:"warning"},"idle"===h&&Object(E.__)("Before you finish this workout, please start the SEO data optimization in step 1 and wait until it is completed...","wordpress-seo"),"in_progress"===h&&Object(E.__)("Before you finish this workout, please wait on this page until the SEO data optimization in step 1 is completed...","wordpress-seo")))),C&&Object(a.createElement)("div",{id:"yoast-configuration-workout-congratulations"},Object(a.createElement)("hr",null),Object(a.createElement)("h3",{id:"yoast-configuration-workout-congratulations-title",style:{marginBottom:0}},Object(E.__)("Congratulations!","wordpress-seo")),Object(a.createElement)("div",{id:"yoast-configuration-workout-congratulations-content",style:{display:"flex"}},Object(a.createElement)("div",null,Object(a.createElement)("p",null,// translators: %1$s is replaced by "Yoast SEO"
Object(E.sprintf)(Object(E.__)("Amazing! You’ve successfully finished the Configuration workout! %1$s now outputs the essential structured data for your site.","wordpress-seo"),"Yoast SEO")),Object(a.createElement)("p",null,Object(E.__)("Make sure to also check out our other SEO workouts to really get your site into shape!","wordpress-seo"))),Object(a.createElement)(Me,{style:{height:"119px",width:"100px",flexShrink:0}})),Object(a.createElement)(k.NewButton,{id:"yoast-configuration-workout-congratulations-button",onClick:o,variant:"primary"},// translators: %1$s translates to a rightward pointing arrow ( → )
Object(E.sprintf)(Object(E.__)("View other SEO workouts%1$s","wordpress-seo")," →"))))}yn.propTypes={finishSteps:v.a.func.isRequired,reviseStep:v.a.func.isRequired,toggleWorkout:v.a.func.isRequired,isStepFinished:v.a.func.isRequired,clearActiveWorkout:v.a.func.isRequired};var On=Object(b.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/workouts").getWorkouts(),n=e("yoast-seo/workouts").getFinishedWorkouts(),r=n.includes(M.c.cornerstone);return{finishedWorkouts:n,isStepFinished:function(e,n){return t[e].finishedSteps.includes(n)},isWorkoutFinished:r,getIndexablesByStep:e("yoast-seo/workouts").getIndexablesByStep}})),Object(i.withDispatch)((function(e){var t=e("yoast-seo/workouts");return{toggleStep:t.toggleStep,finishSteps:t.finishSteps,reviseStep:t.reviseStep,toggleWorkout:t.toggleWorkout,moveIndexables:t.moveIndexables,clearActiveWorkout:t.clearActiveWorkout}}))])(yn);function vn(e){var t=e.badges,n=Object(i.useSelect)((function(e){return e("yoast-seo/workouts").getFinishedSteps("configuration")}));return Object(a.createElement)(xe.a,{id:"configuration-workout-card",name:"configuration",title:Object(E.__)("Configuration","wordpress-seo"),subtitle:Object(E.sprintf)(Object(E.__)("Configure %s","wordpress-seo"),"Yoast SEO"),usps:[Object(E.sprintf)(Object(E.__)("Configure %s in a few steps","wordpress-seo"),"Yoast SEO"),Object(E.__)("Apply the optimal SEO settings to your site","wordpress-seo")],image:Me,finishableSteps:M.a.configuration,finishedSteps:n,upsell:null,workout:On,badges:t})}if(vn.propTypes={badges:v.a.arrayOf(v.a.element)},vn.defaultProps={badges:[]},window.wp.data.createReduxStore){var En=Object(i.createReduxStore)("yoast-seo/workouts",{reducer:ke,actions:r,selectors:o});Object(i.register)(En)}else Object(i.registerStore)("yoast-seo/workouts",{reducer:ke,actions:r,selectors:o});function kn(e,t,n){Object(i.dispatch)("yoast-seo/workouts").registerWorkout(e,t),Object(je.a)(e,(function(){return Object(a.createElement)(s.Fill,{name:"".concat(e)},Object(a.createElement)(n,null))}))}window.wpseoWorkoutsData=window.wpseoWorkoutsData||{},window.wpseoWorkoutsData.registerWorkout=kn,window.wpseoWorkoutsData.canDoConfigurationWorkout&&kn("configuration",1,(function(){return Object(a.createElement)(vn,null)})),l()((function(){Object(je.b)("wpseo-workouts-container-free",Object(a.createElement)(N,null))}))}]);

Zerion Mini Shell 1.0