This commit is contained in:
zbatte committed 2026-07-02 15:54:39 -06:00
commit 9883323161
17470 files changed
+4470592

No files matched your search

@@ -0,0 +1,257 @@
(()=>{var e={9939(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(51609)),o=i(r(21679)),a=i(r(71802));function i(e){return e&&e.__esModule?e:{default:e}}const s=o.default.div`
text-transform: lowercase;
color: rgb(83, 100, 113);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
fill: currentcolor;
display: flex;
flex-direction: row;
align-items: flex-end;
`,c=e=>n.default.createElement(s,null,n.default.createElement("span",null,e.siteUrl));c.propTypes={siteUrl:a.default.string.isRequired},t.default=c},12129(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(51609)),o=i(r(21679)),a=i(r(71802));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}const c=o.default.p`
color: #606770;
flex-shrink: 0;
font-size: 12px;
line-height: 16px;
overflow: hidden;
padding: 0;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: nowrap;
margin: 0;
position: ${e=>"landscape"===e.mode?"relative":"static"};
`,l=e=>{const{siteUrl:t}=e;return n.default.createElement(n.Fragment,null,n.default.createElement("span",{className:"screen-reader-text"},t),n.default.createElement(c,{"aria-hidden":"true"},n.default.createElement("span",null,t)))};l.propTypes={siteUrl:a.default.string.isRequired},t.default=l},12379(e){"use strict";e.exports=window.yoast.socialMetadataForms},14192(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(51609)),o=p(r(21679)),a=p(r(71802)),i=r(27723),s=r(66087),c=r(12379),l=r(18495),u=r(47248),d=r(68511);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}const h=o.default.div`
position: relative;
${e=>"landscape"===e.mode?`max-width: ${e.dimensions.width}`:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`};
overflow: hidden;
background-color: ${l.colors.$color_white};
`,m=o.default.div`
box-sizing: border-box;
max-width: ${c.FACEBOOK_IMAGE_SIZES.landscapeWidth}px;
height: ${c.FACEBOOK_IMAGE_SIZES.landscapeHeight}px;
background-color: ${l.colors.$color_grey};
border-style: dashed;
border-width: 1px;
// We're not using standard colors to increase contrast for accessibility.
color: #006DAC;
// We're not using standard colors to increase contrast for accessibility.
background-color: #f1f1f1;
display: flex;
justify-content: center;
align-items: center;
text-decoration: underline;
font-size: 14px;
cursor: pointer;
`;class y extends n.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await(0,d.handleImage)(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:c.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:c.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:c.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:c.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:c.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:c.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return n.default.createElement(m,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,i.__)("Select image","wordpress-seo"));const r=this.retrieveContainerDimensions(e.mode);return n.default.createElement(h,{mode:e.mode,dimensions:r,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},n.default.createElement(u.SocialImage,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:c.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}y.propTypes={src:a.default.string,alt:a.default.string,onImageLoaded:a.default.func,onImageClick:a.default.func,onMouseEnter:a.default.func,onMouseLeave:a.default.func},y.defaultProps={src:"",alt:"",onImageLoaded:s.noop,onImageClick:s.noop,onMouseEnter:s.noop,onMouseLeave:s.noop},t.default=y},18495(e){"use strict";e.exports=window.yoast.styleGuide},21679(e){"use strict";e.exports=window.yoast.styledComponents},25948(e,t,r){"use strict";r.r(t),r.d(t,{CompactEncrypt:()=>ct,CompactSign:()=>ut,EmbeddedJWK:()=>bt,EncryptJWT:()=>yt,FlattenedEncrypt:()=>qe,FlattenedSign:()=>lt,GeneralEncrypt:()=>Ve,GeneralSign:()=>pt,SignJWT:()=>mt,UnsecuredJWT:()=>It,base64url:()=>o,calculateJwkThumbprint:()=>vt,calculateJwkThumbprintUri:()=>wt,compactDecrypt:()=>Ke,compactVerify:()=>Qe,createLocalJWKSet:()=>At,createRemoteJWKSet:()=>Ot,cryptoRuntime:()=>Ut,decodeJwt:()=>jt,decodeProtectedHeader:()=>Rt,errors:()=>n,experimental_jwksCache:()=>Pt,exportJWK:()=>$e,exportPKCS8:()=>Ge,exportSPKI:()=>Je,flattenedDecrypt:()=>Ue,flattenedVerify:()=>Xe,generalDecrypt:()=>De,generalVerify:()=>et,generateKeyPair:()=>Nt,generateSecret:()=>Wt,importJWK:()=>Pe,importPKCS8:()=>Oe,importSPKI:()=>xe,importX509:()=>Te,jwksCache:()=>xt,jwtDecrypt:()=>st,jwtVerify:()=>it});var n={};r.r(n),r.d(n,{JOSEAlgNotAllowed:()=>S,JOSEError:()=>b,JOSENotSupported:()=>k,JWEDecryptionFailed:()=>A,JWEInvalid:()=>C,JWKInvalid:()=>O,JWKSInvalid:()=>P,JWKSMultipleMatchingKeys:()=>L,JWKSNoMatchingKey:()=>I,JWKSTimeout:()=>M,JWSInvalid:()=>x,JWSSignatureVerificationFailed:()=>R,JWTClaimValidationFailed:()=>E,JWTExpired:()=>_,JWTInvalid:()=>T});var o={};r.r(o),r.d(o,{decode:()=>Mt,encode:()=>Lt});const a=crypto,i=e=>e instanceof CryptoKey,s=async(e,t)=>{const r=`SHA-${e.slice(-3)}`;return new Uint8Array(await a.subtle.digest(r,t))},c=new TextEncoder,l=new TextDecoder,u=2**32;function d(...e){const t=e.reduce((e,{length:t})=>e+t,0),r=new Uint8Array(t);let n=0;for(const t of e)r.set(t,n),n+=t.length;return r}function p(e,t,r){if(t<0||t>=u)throw new RangeError(`value must be >= 0 and <= 4294967295. Received ${t}`);e.set([t>>>24,t>>>16,t>>>8,255&t],r)}function f(e){const t=Math.floor(e/u),r=e%u,n=new Uint8Array(8);return p(n,t,0),p(n,r,4),n}function h(e){const t=new Uint8Array(4);return p(t,e),t}function m(e){return d(h(e.length),e)}const y=e=>{let t=e;"string"==typeof t&&(t=c.encode(t));const r=[];for(let e=0;e<t.length;e+=32768)r.push(String.fromCharCode.apply(null,t.subarray(e,e+32768)));return btoa(r.join(""))},g=e=>y(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),v=e=>{const t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r},w=e=>{let t=e;t instanceof Uint8Array&&(t=l.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return v(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}};class b extends Error{constructor(e,t){super(e,t),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}b.code="ERR_JOSE_GENERIC";class E extends b{constructor(e,t,r="unspecified",n="unspecified"){super(e,{cause:{claim:r,reason:n,payload:t}}),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=r,this.reason=n,this.payload=t}}E.code="ERR_JWT_CLAIM_VALIDATION_FAILED";class Line truncated
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
color: rgb(15, 20, 25);
cursor: pointer;
`;t.default=o},43473(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(51609)),o=i(r(21679)),a=i(r(71802));function i(e){return e&&e.__esModule?e:{default:e}}const s=o.default.div`
display: flex;
flex-direction: column;
padding: 12px;
justify-content: center;
margin: 0;
box-sizing: border-box;
flex: auto;
min-width: 0px;
gap:2px;
> * {
line-height:20px;
min-height:20px;
font-size:15px;
}
`,c=e=>n.default.createElement(s,null,e.children);c.propTypes={children:a.default.array.isRequired},t.default=c},45831(e){"use strict";e.exports=window.yoast.uiLibrary},46775(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.facebookTitleLineHeight=t.default=void 0;var n,o=(n=r(21679))&&n.__esModule?n:{default:n};const a=t.facebookTitleLineHeight=20,i=o.default.span`
line-height: ${a}px;
min-height : ${a}px;
color: #1d2129;
font-weight: 600;
overflow: hidden;
font-size: 16px;
margin: 3px 0 0;
letter-spacing: normal;
white-space: normal;
flex-shrink: 0;
cursor: pointer;
display: -webkit-box;
-webkit-line-clamp: ${e=>e.lineCount};
-webkit-box-orient: vertical;
overflow: hidden;
`;t.default=i},47248(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SocialImage=void 0;var n=i(r(71802)),o=i(r(51609)),a=i(r(21679));function i(e){return e&&e.__esModule?e:{default:e}}const s=a.default.img`
&& {
max-width: ${e=>e.width}px;
height: ${e=>e.height}px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: none;
}
`,c=a.default.img`
&& {
height: 100%;
position: absolute;
width: 100%;
object-fit: cover;
}
`,l=a.default.div`
padding-bottom: ${e=>e.aspectRatio}%;
`,u=({imageProps:e,width:t,height:r,imageMode:n="landscape"})=>"landscape"===n?o.default.createElement(l,{aspectRatio:e.aspectRatio},o.default.createElement(c,{src:e.src,alt:e.alt})):o.default.createElement(s,{src:e.src,alt:e.alt,width:t,height:r,imageProperties:e});t.SocialImage=u,u.propTypes={imageProps:n.default.shape({src:n.default.string.isRequired,alt:n.default.string.isRequired,aspectRatio:n.default.number.isRequired}).isRequired,width:n.default.number.isRequired,height:n.default.number.isRequired,imageMode:n.default.string}},48598(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logOnce=t.createObjectWrapper=void 0;var n=r(66087);const o={};t.logOnce=(e,t,{log:r=console.warn}={})=>{o[e]||(o[e]=!0,r(t))},t.createObjectWrapper=(e,t=n.noop)=>{const r={};for(const n in e)Object.hasOwn(e,n)&&Object.defineProperty(r,n,{set:r=>{e[n]=r,t("set",n,r)},get:()=>(t("get",n),e[n])});return r}},50197(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=p(r(51609)),o=u(r(71802)),a=u(r(21679)),i=u(r(12129)),s=u(r(14192)),c=p(r(46775)),l=u(r(78279));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}const f=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},h=a.default.div`
box-sizing: border-box;
display: flex;
flex-direction: ${e=>"landscape"===e.mode?"column":"row"};
background-color: #f2f3f5;
max-width: 527px;
`,m=a.default.div`
box-sizing: border-box;
background-color: #f2f3f5;
margin: 0;
padding: 10px 12px;
position: relative;
border-bottom: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"};
border-top: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"};
border-right: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"};
border: ${e=>"landscape"===e.mode?"1px solid #dddfe2":""};
display: flex;
flex-direction: column;
flex-grow: 1;
justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"};
font-size: 12px;
overflow: hidden;
`;class y extends n.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=n.default.createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/c.facebookTitleLineHeight}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,r="landscape"===e?2:5;r!==t&&this.setState({maxLineCount:r})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:r}=this.state,n=this.getTitleLineCount();let o=t-n;"portrait"===r&&(o=5===n?0:4),o!==e&&this.setState({descriptionLineCount:o})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:r}=this.state;return n.default.createElement(h,{id:"facebookPreview",mode:e},n.default.createElement(s.default,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),n.default.createElement(m,{mode:e},n.default.createElement(i.default,{siteUrl:this.props.siteUrl,mode:e}),n.default.createElement(c.default,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t},this.props.title),r>0&&n.default.createElement(l.default,{maxWidth:f(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:r},this.props.description)))}}y.propTypes={siteUrl:o.default.string.isRequired,title:o.default.string.isRequired,description:o.default.string,imageUrl:o.default.string,imageFallbackUrl:o.default.string,alt:o.default.string,onSelect:o.default.func,onImageClick:o.default.func,onMouseHover:o.default.func},y.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}},t.default=y},51609(e){"use strict";e.exports=window.React},52547(e){"use strict";e.exports=window.yoast.replacementVariableEditor},53324(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(56554),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=d(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(51609)),a=u(r(71802)),i=r(12379),s=u(r(50197)),c=u(r(66459)),l=r(52547);function u(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(d=function(e){return e?r:t})(e)}class p extends o.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?s.default:c.default,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:r,onRemoveImageClick:a,socialMediumName:s,imageWarnings:c,siteUrl:l,description:u,descriptionInputPlaceholder:d,descriptionPreviewFallback:p,imageUrl:f,imageFallbackUrl:h,alt:m,title:y,titleInputPlaceholder:g,titlePreviewFallback:v,replacementVariables:w,recommendedReplacementVariables:b,applyReplacementVariables:E,onReplacementVariableSearchChange:_,isPremium:S,isLarge:k,socialPreviewLabel:A,idSuffix:C,activeMetaTabId:x}=this.props,T=E({title:y||v,description:u||p});return o.default.createElement(o.default.Fragment,null,A&&o.default.createElement(n.SimulatedLabel,null,A),o.default.createElement(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:r,siteUrl:l,title:T.title,description:T.description,imageUrl:f,imageFallbackUrl:h,alt:m,isLarge:k Line truncated
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
font-size: 15px;
font-weight: 400;
line-height: 20px;
max-width: 507px;
border: 1px solid #E1E8ED;
box-sizing: border-box;
border-radius: 14px;
color: #292F33;
background: #FFFFFF;
text-overflow: ellipsis;
display: flex;
&:hover {
background: #f5f8fa;
border: 1px solid rgba(136,153,166,.5);
}
`,h=(0,a.default)(f)`
flex-direction: column;
max-height: 370px;
`,m=(0,a.default)(f)`
flex-direction: row;
height: 125px;
`;class y extends n.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:r,alt:o,title:a,description:d,siteUrl:p}=this.props,f=e?h:m;return n.default.createElement(f,{id:"twitterPreview"},n.default.createElement(s.default,{src:t||r,alt:o,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),n.default.createElement(c.default,null,n.default.createElement(i.default,{siteUrl:p}),n.default.createElement(l.default,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},a),n.default.createElement(u.default,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},d)))}}y.propTypes={siteUrl:o.default.string.isRequired,title:o.default.string.isRequired,description:o.default.string,isLarge:o.default.bool,imageUrl:o.default.string,imageFallbackUrl:o.default.string,alt:o.default.string,onSelect:o.default.func,onImageClick:o.default.func,onMouseHover:o.default.func},y.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0},t.default=y},68511(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calculateImageDimensions=s,t.calculateImageRatios=a,t.calculateLargestDimensions=i,t.determineImageProperties=c,t.handleImage=async function(e,t,r=!1){try{return{imageProperties:await c(e,t,r),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}},t.retrieveExpectedDimensions=o;var n=r(12379);function o(e){return"Twitter"===e?n.TWITTER_IMAGE_SIZES:n.FACEBOOK_IMAGE_SIZES}function a(e,t,r){return"landscape"===r?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===r?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function i(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)}}function s(e,t,r){return"square"===r&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:i(t,a(e,t,r))}async function c(e,t,r=!1){const a=await function(e){return new Promise((t,r)=>{const n=new Image;n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=r,n.src=e})}(e);let i=r?"landscape":"square";"Facebook"===t&&(i=(0,n.determineFacebookImageMode)(a));const c=s(o(t),a,i);return{mode:i,height:c.height,width:c.width}}},69248(e,t,r){var n;n=()=>(()=>{"use strict";var e={n:t=>{var r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{AIGenerator:()=>Wt,AIOptimize:()=>Dr,ASSESSMENTS_MAP:()=>Kr,AiClient:()=>F,ClientError:()=>O,ConsentModal:()=>Or,ConsentRevokeConfirmModal:()=>Lr,ConsentSavedNotification:()=>yt,DialogContent:()=>At,ErrorCode:()=>x,ErrorModal:()=>Rr,FacebookDescriptionGenerator:()=>Bt,FacebookTitleGenerator:()=>Jt,GradientButton:()=>Jr,GradientToast:()=>ct,IntroModal:()=>xr,MIN_CONTENT_CHARACTERS_DEFAULT:()=>Ze,MIN_CONTENT_CHARACTERS_IRREGULAR:()=>Xe,MoreContentTipNotification:()=>pt,PartnerVerifiedAccessTokenProvider:()=>Z,ReuseValidJWTProvider:()=>le,ReuseValidSessionJWTProvider:()=>ge,SearchDescriptionGenerator:()=>dr,SearchTitleGenerator:()=>ar,SparksLimitReachedNotification:()=>mt,TOAST_SIZE_MAP:()=>st,ToastContent:()=>Ct,ToastSkeleton:()=>gt,Undo:()=>Ot,UsageCounter:()=>ze,XDescriptionGenerator:()=>Xt,XTitleGenerator:()=>Vt,apiBaseURL:()=>ve,createErrorMessageFactory:()=>Ye,getErrorMessageWithMarkup:()=>Ve,getRecommendedMinimumContentLength:()=>et,withLocalStorage:()=>ft});const n=r(51609);var o=e.n(n);const a=r(71802);var i=e.n(a);const s=r(32485);var c=e.n(s);const l=r(45831);var u=["title","titleId"];const d=n.forwardRef(function(e,t){var r=e.title,o=e.titleId,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,u);return n.createElement("svg",Object.assign({xmlns:"htt Line truncated
(0,we._n)("You have %1$s%2$s spark left this month.","You have %1$s%2$s sparks left this month.",h,"wordpress-seo-premium"),[o().createElement("span",{key:"requests"},h)]):-1===c?(0,we.__)("You have unlimited sparks left.","wordpress-seo-premium"):$e(/* translators: %1$s is the number of sparks, %2$s is the span element tags that wrap the number of sparks */ /* translators: %1$s is the number of sparks, %2$s is the span element tags that wrap the number of sparks */ /* translators: %1$s is the number of sparks, %2$s is the span element tags that wrap the number of sparks */ /* translators: %1$s is the number of sparks, %2$s is the span element tags that wrap the number of sparks */
(0,we._n)("You have %1$s%2$s spark left.","You have %1$s%2$s sparks left.",h,"wordpress-seo-premium"),[o().createElement("span",{key:"requests"},h)]);var m=(0,n.useMemo)(function(){var e=new Date,t=new Date;return t.setUTCDate(1),t.setUTCMonth(e.getUTCMonth()+1),t.setUTCDate(0),t.getUTCDate()-e.getUTCDate()},[]),y=$e(/* translators: %1$s is the number of days, %2$s is the span element tags that wrap the number of days */ /* translators: %1$s is the number of days, %2$s is the span element tags that wrap the number of days */ /* translators: %1$s is the number of days, %2$s is the span element tags that wrap the number of days */ /* translators: %1$s is the number of days, %2$s is the span element tags that wrap the number of days */
(0,we._n)("The next reset is in %1$s%2$s day.","The next reset is in %1$s%2$s days.",m,"wordpress-seo-premium"),[o().createElement("span",{key:"daysLeft"},m)]);return r?o().createElement(l.Tooltip,{counts:i,className:"yst-leading-4 yst-max-w-none","date-testid":"tooltip"},t," ",d&&y,f&&o().createElement(o().Fragment,null,o().createElement("br",null),f)):null};qe.propTypes={isVisible:i().bool.isRequired,requests:i().number,limit:i().number,mentionResetInTooltip:i().bool,children:i().node};var ze=function(e){var t=e.requests,r=void 0===t?0:t,n=e.limit,a=void 0===n?0:n,i=e.className,s=void 0===i?"":i,c=e.isSkeleton,u=void 0!==c&&c,d=e.mentionBetaInTooltip,p=void 0===d||d,f=e.mentionResetInTooltip,h=void 0===f||f,m=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,a,i=[],s=!0,c=!1;try{for(o=(t=t.call(e)).next,!5;!(s=(r=o.call(t)).done)&&(i.push(r.value),5!==i.length);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw n}}return i}}(e)||function(e){if(e){if("string"==typeof e)return Be(e,5);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Be(e,5):void 0}}(e)||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.")}()}((0,l.useToggleState)(!1)),y=m[0],g=m[3],v=m[4],w=-1===a?(0,we.__)("unlimited","wordpress-seo-premium"):a;return o().createElement(l.Root,{"data-testid":"UsageCounter",className:s},o().createElement(qe,{isVisible:y,requests:r,limit:a,mentionResetInTooltip:h},p&&(0,we.__)("While this feature is in beta, you have unlimited sparks.","wordpress-seo-premium")),u?o().createElement(l.SkeletonLoader,null,o().createElement(l.Badge,{variant:"info",size:"small",className:"yst-w-[65px]"}," ")):o().createElement(l.Badge,{"data-testid":"badge",className:"styles-module__badge--rMVjT",size:"small",onMouseEnter:g,onMouseLeave:v},o().createElement(Je,{className:"styles-module__icon--y4uAf"}),o().createElement("span",{className:"styles-module__data--C2k4_"},r)," / ",w))};function Ve(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.contactSupport,a=void 0===n?"https://yoa.st/shopify-support":n,i=r.rateLimitHelpArticle,s=void 0===i?"https://yoa.st/ai-generator-rate-limit-help":i,c=r.aiUsagePolicy,u=void 0===c?"https://openai.com/policies/usage-policies":c,d=r.commonErrorsHelpArticle,p=void 0===d?"https://yoa.st/ai-common-errors":d,f=o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},(0,we.__)("Something went wrong","wordpress-seo-premium")),o().createElement("p",{className:"yst-mt-2"},(0,Ge.createInterpolateElement)((0,we.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ /* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ /* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ /* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */
(0,we.__)("Please try again later. If this issue persists, you can learn more about possible reasons for this error on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo-premium"),"<a1>","</a1>","<a2>","</a2>"),{a1:o().createElement(l.Link,{variant:"error",href:p}),a2:o().createElement(l.Link,{variant:"error",href:a})}))),h=o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},(0,we.__)("You've reached the Yoast AI rate limit","wordpress-seo-premium")),o().createElement("p",{className:"yst-mt-2"},$e(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ /* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
(0,we.__)("You might have reached your Yoast AI rate limit for a specific time frame or your sparks limit for this month. If you have reached your rate limit, please reduce the frequency of your requests to continue using Yoast AI features. Our %1$shelp article%2$s provides guidance on effectively planning and pacing your requests for an optimized workflow.","wordpress-seo-premium"),o().createElement(l.Link,{variant:"error",href:s}," "))));if(!e.code)return e.message;switch(e.code){case x.AI_CONTENT_FILTER:return o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},(0,we.__)("Usage policy violation","wordpress-seo-premium")),o().createElement("p",{className:"yst-mt-2"},(0,Ge.createInterpolateElement)((0,we.sprintf)(
/* translators: %1$s, %2$s, %3$s, %4$s are anchor tags.
* %5$s expands to OpenAI.
*/
/* translators: %1$s, %2$s, %3$s, %4$s are anchor tags.
* %5$s expands to OpenAI.
*/
/* translators: %1$s, %2$s, %3$s, %4$s are anchor tags.
* %5$s expands to OpenAI.
*/
/* translators: %1$s, %2$s, %3$s, %4$s are anchor tags.
* %5$s expands to OpenAI.
*/
(0,we.__)("Due to %5$s's strict ethical guidelines and %1$susage policies%2$s, we cannot generate suggestions for the content on this page. If you intend to use AI, kindly avoid the use of explicit, violent, copyrighted, or sexually explicit content. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo-premium"),"<a1>","</a1>","<a2>","</a2>","OpenAI"),{a1:o().createElement(l.Link,{variant:"error",href:u}," "),a2:o().createElement(l.Link,{variant:"error",href:a}," ")})));case x.MISSING_LICENSE:return null!==(t=e.missingLicenses)&&void 0!==t&&t.length?o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},(0,we.__)("Subscription required","wordpress-seo-premium")),o().createElement("p",{className:"yst-mt-2"},(0,we.sprintf)(
/**
* translators:
* %1$s expands to a comma-separated list of all but the last product names that the user is missing a license for.
* %2$s expands to the last product name that the user is missing a license for.
*/
/**
* translators:
* %1$s expands to a comma-separated list of all but the last product names that the user is missing a license for.
* %2$s expands to the last product name that the user is missing a license for.
*/
/**
* translators:
* %1$s expands to a comma-separated list of all but the last product names that the user is missing a license for.
* %2$s expands to the last product name that the user is missing a license for.
*/
/**
* translators:
* %1$s expands to a comma-separated list of all but the last product names that the user is missing a license for.
* %2$s expands to the last product name that the user is missing a license for.
*/
(0,we._n)("To access this feature, you need an active %1$s subscription. Please activate your subscription or get a new subscription. Afterward, refresh this page. It may take up to 30 seconds for the feature to function correctly.","To access this feature, you need active %1$s subscriptions. Please activate your subscriptions or get new subscriptions. Afterward, refresh this page. It may take up to 30 seconds for the feature to function correctly.",e.missingLicenses.length,"wordpress-seo-premium"),e.missingLicenses.join(" and ")))):f;case x.RATE_LIMITED:return h;case x.REQUEST_TIMEOUT:return o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},(0,we.__)("Connection timeout","wordpress-seo-premium")),o().createElement("p",{className:"yst-mt-2"},(0,Ge.createInterpolateElement)((0,we.sprintf)(/* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ /* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ /* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */ /* translators: %1$s and %3$s expand to an opening tag. %2$s and %4$s expand to a closing tag. */
(0,we.__)("It seems that a connection timeout has occurred. Please check your internet connection and try again later. Learn more on our page about %1$scommon AI feature problems and errors%2$s. In case you need further help, please %3$scontact our support team%4$s.","wordpress-seo-premium"),"<a1>","</a1>","<a2>","</a2>"),{a1:o().createElement(l.Link,{variant:"error",href:p}," "),a2:o().createElement(l.Link,{variant:"error",href:a}," ")})));case x.NETWORK_ERROR:return o().createElement(o().Fragment,null,o().createElement("span",{className:"yst-block yst-font-medium"},(0,we.__)("Connection timeout","wordpress-seo-premium")),o().createElement("p",{className:"yst-mt-2"},(0,we.__)("It seems that a connection timeout has occurred. Please check your internet connection and try again later.","wordpress-seo-premium")));case x.CONSENT_REVOKED:case x.FAILED_TO_LOGIN:case x.UNCATEGORIZED:case x.UNAUTHORIZED:default:return f}}function Ye(e){return function(t){return Ve(t,e)}}ze.propTypes={requests:i().number,limit:i().number,className:i().string,isSkeleton:i().bool,mentionBetaInTooltip:i().bool,mentionResetInTooltip:i().bool};var Ze=300,Xe=150,Qe=["suggestions/product-seo-title","suggestions/product-meta-description","suggestions/taxonomy-seo-title","suggestions/taxonomy-meta-description"],et=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Qe.includes(e)?Xe:Ze};const tt=r(29491);var rt="styles-module__buttonGroup--BqLdI",nt="styles-module__skeleton--u4mld",ot="styles-module__skeletonLoaderButtons--HkdNq",at=["children","className","size"];function it(){return it=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},it.apply(null,arguments)}var st={large:"yst-w-96"},ct=function(e){var t=e.children,r=e.className,n=void 0===r?"":r,a=e.size,i=void 0===a?"large":a,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,at);return o().createElement(l.Toast,it({className:c()("styles-module__yst-toast--ai--GbPe7",st[i],n)},s),t)};const lt=JSON.parse('{"UU":"@yoast/ai-frontend"}');function ut(){return ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ut.apply(null,arguments)}function dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var pt=function(e){var t=e.content,r=e.recommendedMinimumContentLength,a=e.promptType,i=e.size,s=void 0===i?"large":i,c=e.isPermanentlyDismissed,u=void 0!==c&&c,d=e.onDismiss,p=void 0===d?Re.noop:d,f=e.onDismissPermanently,h=void 0===f?Re.noop:f,m=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,n,o,a,i=[],s=!0,c=!1;try{for(o=(t=t.call(e)).next,!4;!(s=(r=o.call(t)).done)&&(i.push(r.value),4!==i.length);s=!0);}catch(e){c=!0,n=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(c)throw n}}return i}}(e)||function(e){if(e){if("string"==typeof e)return dt(e,4);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?dt(e,4):void 0}}(e)||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.")}()}((0,l.useToggleState)(!1)),y=m[0],g=m[3],v=null!=a&&a.includes("meta-description")?/* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */ /* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */ /* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */ /* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */(0,we.__)("%1$sTip%2$s: Improve the accuracy of your generated AI descriptions by writing more content in your page.","wordpress-seo-premium"):/* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */ /* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */ /* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */ /* translators: %1$s and %2$s expand to opening and closing of a span in order to emphasise the word. */(0,we.__)("%1$sTip%2$s: Improve the accuracyLine truncated
(0,we._n)("You've used %s spark this month!","You've used %s sparks this month!",r,"wordpress-seo-premium"),r);return u&&o().createElement(l.Notifications.Notification,{id:"ai-sparks-limit",variant:"info",size:a,dismissScreenReaderLabel:(0,we.__)("Got it!","wordpress-seo-premium"),className:s,title:f},o().createElement("p",null,(0,we.__)("As long as this is a beta feature, you get unlimited sparks.","wordpress-seo-premium")),o().createElement("div",{className:rt},o().createElement(l.Button,{type:"button",variant:"tertiary",onClick:p},(0,we.__)("Got it!","wordpress-seo-premium"))))},yt=function(e){var t=e.granted,r=e.size,n=void 0===r?"large":r,a=e.autoDismiss,i=void 0===a?5e3:a,s=e.className,c=void 0===s?"":s,u=t?(0,we.__)("You now have access to Yoast AI features.","wordpress-seo-premium"):(0,we.__)("You've revoked your consent for Yoast AI.","wordpress-seo-premium");return o().createElement(l.Notifications.Notification,{id:"ai-consent-saved",variant:"success",size:n,title:(0,we.__)("Changes successfully saved!","wordpress-seo-premium"),dismissScreenReaderLabel:(0,we.__)("Dismiss","wordpress-seo-premium"),className:c,autoDismiss:i},o().createElement("p",null,u))},gt=function(){return o().createElement(o().Fragment,null,o().createElement("div",{className:"styles-module__skeletonWrapperTop--TovVH"},o().createElement(l.SkeletonLoader,{className:nt}),o().createElement("div",{className:"styles-module__skeletonLoaderWrapper--HI7Rm"},o().createElement(l.SkeletonLoader,{className:"styles-module__skeletonLoader1--acDyN"}),o().createElement(l.SkeletonLoader,{className:"styles-module__skeletonLoader2--f4AbH"}),o().createElement(l.SkeletonLoader,{className:"styles-module__skeletonLoader3--pI6W5"}),o().createElement(l.SkeletonLoader,{className:"styles-module__skeletonLoader4--l4uCY"})),o().createElement(l.SkeletonLoader,{className:nt}),o().createElement(l.SkeletonLoader,{className:nt})),o().createElement("div",{className:"styles-module__skeletonWrapperBottom--HMog6"},o().createElement(l.SkeletonLoader,{className:ot}),o().createElement(l.SkeletonLoader,{className:ot})))},vt=["title","titleId"];const wt=n.forwardRef(function(e,t){var r=e.title,o=e.titleId,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,vt);return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":o},a),r?n.createElement("title",{id:o},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))});var bt=["title","titleId"];const Et=n.forwardRef(function(e,t){var r=e.title,o=e.titleId,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,bt);return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":o},a),r?n.createElement("title",{id:o},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 8.25 21 12m0 0-3.75 3.75M21 12H3"}))});var _t=["title","titleId"];const St=n.forwardRef(function(e,t){var r=e.title,o=e.titleId,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.includes(r)||{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,_t);return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":o},a),r?n.createElement("title",{id:o},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});function kt(){return kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kt.apply(null,arguments)}var At=(0,n.forwardRef)(function(e,t){var r=e.title,n=void 0===r?"":r,a=e.badgeText,i=void 0===a?"":a,s=e.description,c=e.learnMoreLink,u=void 0===c?"":c,d=e.learnMoreLinkText,p=void 0===d?(0,we.__)("Learn more about AI OptimizLine truncated
// translators: %1$s is replaced by "Yoast".
// translators: %1$s is replaced by "Yoast".
// translators: %1$s is replaced by "Yoast".
// translators: %1$s is replaced by "Yoast".
(0,we.__)("By revoking your consent, you will no longer have access to %1$s AI features. Are you sure you want to revoke your consent?","wordpress-seo-premium"),"Yoast"),h=(0,we.__)("Yes, revoke consent","wordpress-seo-premium"),m=(0,we.__)("Close","wordpress-seo-premium"),y=function(){return o().createElement(o().Fragment,null,o().createElement("div",{className:Cr},o().createElement("div",{className:mr},o().createElement("div",{className:Ar},o().createElement(Ir,{className:vr,"aria-hidden":"true"})),o().createElement("div",{className:Sr},o().createElement(l.Title,{size:"2"},p),o().createElement("p",{className:gr},f))),o().createElement("div",{className:yr},o().createElement(l.Button,{variant:"error",isLoading:d,disabled:d,onClick:t},h),n&&n!==Re.noop&&o().createElement(l.Button,{variant:"secondary",onClick:n},m))))};return i?o().createElement(l.Root,null,o().createElement(l.Modal,{isOpen:c,onClose:n},o().createElement(l.Modal.Panel,null,y()))):o().createElement(l.Root,null,y())}function Mr(){return Mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mr.apply(null,arguments)}var Rr=function(e){var t=e.modal,r=void 0===t||t,n=e.aiModalHelperLink,a=e.onClose,i=void 0===a?function(){}:a,s=e.title,c=e.badgeText,u=e.isOpen,p=void 0===u||u,f=e.children,h=s,m=(0,l.useSvgAria)(),y=(0,we.__)("Close modal","wordpress-seo-premium"),g=function(){return o().createElement(o().Fragment,null,o().createElement("div",{className:"styles-module__errorModalHeader--_cNpd"},o().createElement("span",{className:br}),o().createElement(l.Title,{className:"styles-module__errorModalTitle--vms_Y",as:"h1",size:"2"},h),o().createElement(l.Link,{variant:"primary",id:"ai-optimize-modal-learn-more",className:"styles-module__aiErrorModalLink--WHw0z",href:n,"aria-label":(0,we.__)("Learn more about AI (Opens in a new browser tab)","wordpress-seo-premium"),target:"_blank",rel:"noopener noreferrer"},o().createElement(d,Mr({},m,{className:"styles-module__questionMarkCircle--rbmIj"}))),o().createElement(l.Badge,{variant:"info"},c)),o().createElement("hr",{className:"yst-mt-6 yst--mx-6"}),o().createElement("div",null,o().createElement("div",{className:"styles-module__errorModalContentWrapper--c24iV"},f)))};return r?o().createElement(l.Root,null,o().createElement(l.Modal,{isOpen:p,onClose:i},o().createElement(l.Modal.Panel,{style:{maxWidth:"48rem"},closeButtonScreenReaderText:y},o().createElement(l.Modal.Container,null,o().createElement(l.Modal.Container.Header,null,g()))))):o().createElement(l.Root,null,g())};function jr(e){return jr="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},jr(e)}function Hr(){Hr=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,i=Object.create(a.prototype),s=new P(n||[]);return o(i,"_invoke",{value:C(e,r,s)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",f="suspendedYield",h="executing",m="completed",y={};function g(){}function v(){}function w(){}var b={};l(b,i,function(){return this});var E=Object.getPrototypeOf,_=E&&E(E(I([])));_&&_!==r&&n.call(_,i)&&(b=_);var S=w.prototype=g.prototype=Object.create(b);function k(e){["next","throw","return"].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}function A(e,t){function r(o,a,i,s){var c=d(e[o],e,a);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==jr(u)&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){r("next",e,i,s)},function(e){r("throw",e,i,s)}):t.resolve(u).then(function(e){l.value=e,i(l)},function(e){return r("throw",e,i,s)})}s(c.arg)}var a;o(this,"_invoke",{value:function(e,n){function o(){return new t(function(t,o){r(e,n,t,o)})}return a=a?a.then(o,o):o()}})}function C(t,r,n){var o=p;return function(a,i){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:e,done:!0}}for(n.method=a,n.arg=i;;){var s=n.delegate;if(s){var c=x(s,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var l=d(t,r,n);if("normal"===l.type){if(o=n.done?m:f,l.arg===y)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function x(t,r){var Line truncated
line-height: ${16}px;
min-height : ${16}px;
color: #606770;
font-size: 14px;
padding: 0;
text-overflow: ellipsis;
margin: 3px 0 0 0;
display: -webkit-box;
cursor: pointer;
-webkit-line-clamp: ${e=>e.lineCount};
-webkit-box-orient: vertical;
overflow: hidden;
@media all and ( max-width: ${e=>e.maxWidth} ) {
display: none;
}
`;t.default=o},79013(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=r(12379);const a=((n=r(21679))&&n.__esModule?n:{default:n}).default.p`
max-height: 55px;
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
color: rgb(83, 100, 113);
display: -webkit-box;
cursor: pointer;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
@media all and ( max-width: ${o.TWITTER_IMAGE_SIZES.landscapeWidth}px ) {
display: none;
}
`;t.default=a},81238(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(27723),o=r(12379),a=r(66087),i=d(r(71802)),s=d(r(51609)),c=d(r(21679)),l=r(68511),u=r(47248);function d(e){return e&&e.__esModule?e:{default:e}}const p=(e,t=!0)=>e?`\n\t\t\tmax-width: ${o.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${o.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`,f=c.default.div`
position: relative;
box-sizing: content-box;
overflow: hidden;
background-color: #e1e8ed;
flex-shrink: 0;
${e=>p(e.isLarge)}
`,h=c.default.div`
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
max-width: 100%;
margin: 0;
padding: 1em;
text-align: center;
font-size: 1rem;
${e=>p(e.isLarge,!1)}
`,m=(0,c.default)(h)`
${e=>e.isLarge&&`height: ${o.TWITTER_IMAGE_SIZES.landscapeHeight}px;`}
border-top-left-radius: 14px;
${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px;
border-style: dashed;
border-width: 1px;
// We're not using standard colors to increase contrast for accessibility.
color: #006DAC;
// We're not using standard colors to increase contrast for accessibility.
background-color: #f1f1f1;
text-decoration: underline;
font-size: 14px;
cursor: pointer;
`;class y extends s.default.Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await(0,l.handleImage)(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?s.default.createElement(m,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},(0,n.__)("Select image","wordpress-seo")):s.default.createElement(f,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},s.default.createElement(u.SocialImage,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:o.TWITTER_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}t.default=y,y.propTypes={isLarge:i.default.bool.isRequired,src:i.default.string,alt:i.default.string,onImageClick:i.default.func,onMouseEnter:i.default.func,onMouseLeave:i.default.func},y.defaultProps={src:"",alt:"",onMouseEnter:a.noop,onImageClick:a.noop,onMouseLeave:a.noop}},86087(e){"use strict";e.exports=window.wp.element}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n].call(a.exports,a,a.exports,r),a.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n=r(69248);(window.yoast=window.yoast||{}).aiFrontend=n})();
@@ -0,0 +1,409 @@
(()=>{var e={179(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(66087),n=r(27304),i=o(r(16530)),a=o(r(62896));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){const r=t.getConfig("functionWords"),o=t.getHelper("customGetStemmer"),l=o?o(t):t.getHelper("getStemmer")(t),u=t.getHelper("getWordsCustomHelper");let c=e.getText();c=(0,i.default)(c),c=(0,a.default)(c);const d=u?[]:(0,n.retrieveAbbreviations)(c),h=(0,n.getProminentWords)(c,d,l,r,u),f=(0,n.collapseProminentWordsOnStem)(h);return(0,n.sortProminentWords)(f),(0,s.take)((0,n.filterProminentWords)(f,5),20)}},191(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,s){if(0===s)return 0;const i=t*s/(100*(0,n.default)(e));return i<2?2:"min"===r?Math.ceil(i):Math.floor(i)};var s,n=(s=r(87131))&&s.__esModule?s:{default:s}},251(e,t){t.read=function(e,t,r,s,n){var i,a,o=8*n-s-1,l=(1<<o)-1,u=l>>1,c=-7,d=r?n-1:0,h=r?-1:1,f=e[t+d];for(d+=h,i=f&(1<<-c)-1,f>>=-c,c+=o;c>0;i=256*i+e[t+d],d+=h,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=h,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,s),i-=u}return(f?-1:1)*a*Math.pow(2,i-s)},t.write=function(e,t,r,s,n,i){var a,o,l,u=8*i-n-1,c=(1<<u)-1,d=c>>1,h=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,f=s?0:i-1,p=s?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=c?(o=0,a=c):a+d>=1?(o=(t*l-1)*Math.pow(2,n),a+=d):(o=t*Math.pow(2,d-1)*Math.pow(2,n),a=0));n>=8;e[r+f]=255&o,f+=p,o/=256,n-=8);for(a=a<<n|o,u+=n;u>0;e[r+f]=255&a,f+=p,a/=256,u-=8);e[r+f-p]|=128*g}},652(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,n.default)();for(let r=0;r<t.length;r++)e=e.replace(t[r].letters,t[r].base);return e};var s,n=(s=r(12486))&&s.__esModule?s:{default:s}},678(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"scoreToRating",{enumerable:!0,get:function(){return n.default}});var s,n=(s=r(28092))&&s.__esModule?s:{default:s}},699(e,t,r){"use strict";r.r(t),r.d(t,{ErrorCodes:()=>g,Parser:()=>De,Token:()=>s,Tokenizer:()=>Q,TokenizerMode:()=>W,defaultTreeAdapter:()=>he,foreignContent:()=>i,html:()=>n,parse:()=>Ht,parseFragment:()=>jt,serialize:()=>xt,serializeOuter:()=>Ft});var s={};r.r(s),r.d(s,{TokenType:()=>m,getTokenAttr:()=>y});var n={};r.r(n),r.d(n,{ATTRS:()=>C,DOCUMENT_MODE:()=>w,NS:()=>O,NUMBERED_HEADERS:()=>B,SPECIAL_ELEMENTS:()=>U,TAG_ID:()=>N,TAG_NAMES:()=>I,getTagID:()=>x,hasUnescapedText:()=>j});var i={};r.r(i),r.d(i,{SVG_TAG_NAMES_ADJUSTMENT_MAP:()=>Ae,adjustTokenMathMLAttrs:()=>Oe,adjustTokenSVGAttrs:()=>Ce,adjustTokenSVGTagName:()=>Ie,adjustTokenXMLAttrs:()=>we,causesExit:()=>Se,isIntegrationPoint:()=>Ne});const a=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),o="�";var l;!function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"}(l||(l={}));const u="[CDATA[",c="doctype",d="script";function h(e){return e>=55296&&e<=57343}function f(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function p(e){return e>=64976&&e<=65007||a.has(e)}var g,m;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-chaLine truncated
(0,s.__)("%1$sMeta description length%3$s: No meta description has been specified. Search engines will display copy from the page instead. %2$sMake sure to write one%3$s!","wordpress-seo"),t.urlTitle,t.urlCallToAction,"</a>"):e<=t.recommendedMaximumLength?(0,s.sprintf)(
/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag,
%4$d expands to the number of characters in the meta description, %5$d expands to
the total available number of characters in the meta description */
/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag,
%4$d expands to the number of characters in the meta description, %5$d expands to
the total available number of characters in the meta description */
(0,s.__)("%1$sMeta description length%3$s: The meta description is too short (under %4$d characters). Up to %5$d characters are available. %2$sUse the space%3$s!","wordpress-seo"),t.urlTitle,t.urlCallToAction,"</a>",t.recommendedMaximumLength,t.maximumLength):e>t.maximumLength?(0,s.sprintf)(
/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag,
%4$d expands to the total available number of characters in the meta description */
/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag,
%4$d expands to the total available number of characters in the meta description */
(0,s.__)("%1$sMeta description length%3$s: The meta description is over %4$d characters. To ensure the entire description will be visible, %2$syou should reduce the length%3$s!","wordpress-seo"),t.urlTitle,t.urlCallToAction,"</a>",t.maximumLength):(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sMeta description length%2$s: Well done!","wordpress-seo"),t.urlTitle,"</a>")}}t.default=c},4011(e){var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return s[this.type]||s.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},s={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach(function(e){var s=r[e];Object.defineProperty(t,e,{get:function(){return this[s]||null},set:function(e){return this[s]=e,e}})})},4031(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(70563),i=r(20188),a=r(84617),o=r(12679),l=r(94754),u=r(89511),c=r(9011),d=(s=r(48319))&&s.__esModule?s:{default:s},h=r(12075),f=r(27723),p=r(51212);const g=[{identifier:"binge",nonInclusivePhrases:["binge"],inclusiveAlternatives:"<i>indulge, satiate, wallow, spree, marathon, consume excessively</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i>, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["drink","drinks","drinking","eating disorder","and purge","behavior","behaviors","behaviour","behaviours"])),ruleDescription:(0,p.notFollowed)(["drink","drinks","drinking","eating disorder","and purge","behavior","behaviors","behaviour","behaviours"])},{identifier:"bingeing",nonInclusivePhrases:["bingeing","binging"],inclusiveAlternatives:"<i>indulging, satiating, wallowing, spreeing, marathoning, consuming excessively</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i>, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["and purging","behavior","behaviors","behaviour","behaviours"])),ruleDescription:(0,p.notFollowed)(["and purging","behavior","behaviors","behaviour","behaviours"])},{identifier:"binged",nonInclusivePhrases:["binged"],inclusiveAlternatives:"<i>indulged, satiated, wallowed, spreed, marathoned, consumed excessively</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i>, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["and purged"])),ruleDescription:(0,p.notFollowed)(["and purged"])},{identifier:"binges",nonInclusivePhrases:["binges"],inclusiveAlternatives:"<i>indulges, satiates, wallows, sprees, marathons, consumes excessively</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:"Be careful when using <i>%1$s</i>, unless talking about a symptom of a medical condition. If you are not referencing a symptom, consider other alternatives to describe the trait or behavior, such as %2$s.",rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["and purges"])),ruleDescription:(0,p.notFollowed)(["and purges"])},{identifier:"wheelchairBound",nonInclusivePhrases:["wheelchair-bound","wheelchair bound","confined to a wheelchair"],inclusiveAlternatives:"<i>uses a wheelchair, is a wheelchair user</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"mentallyRetarded",nonInclusivePhrases:["mentally retarded"],inclusiveAlternatives:"<i>person with an intellectual disability</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"retarded",nonInclusivePhrases:["retarded"],inclusiveAlternatives:"<i>uninformed, ignorant, foolish, irrational, insensible</i>",score:c.SCORES.NON_INCLUSIVE,feedbackFormat:[n.avoidDerogatory,n.alternative].join(" "),rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,["mentally"])),ruleDescription:(0,p.notPreceded)(["mentally"])},{identifier:"alcoholic",nonInclusivePhrases:["an alcoholic"],inclusiveAlternatives:"<i>person with alcohol use disorder</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["drink","beverage"])),ruleDescription:(0,p.notFollowed)(["drink","beverage"])},{identifier:"alcoholics",nonInclusivePhrases:["alcoholics"],inclusiveAlternatives:"<i>people with alcohol use disorder</i>",score:c.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants,rule:(e,t)=>(0,u.includesConsecutiveWords)(e,t).filter((0,o.isNotFollowedByException)(e,t,["anonymous"])),ruleDescriptionLine truncated
(0,s.__)("%1$sKeyphrase in subheading%3$s: You are not using any higher-level subheadings containing the keyphrase or its synonyms. %2$sFix that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:e<this._config.parameters.recommendedMaximumLength?{score:this._config.scores.goodShortTextNoSubheadings,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com and %2$s expands to the anchor end tag. */ /* translators: %1$s expands to a link on yoast.com and %2$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in subheading%2$s: You are not using any higher-level subheadings containing the keyphrase or its synonyms, but your text is short enough and probably doesn't need them.","wordpress-seo"),this._config.urlTitle,"</a>")}:void 0}calculateResult(e){return e.hasKeyword()&&e.hasText()?this._subHeadingsResearchResult.count?this.hasTooFewMatches()?{score:this._config.scores.tooFewMatches,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in subheading%3$s: %2$sUse more keyphrases or synonyms in your H2 and H3 subheadings%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasTooManyMatches()?{score:this._config.scores.tooManyMatches,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in subheading%3$s: More than 75%% of your H2 and H3 subheadings reflect the topic of your copy. That's too much. %2$sDon't over-optimize%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.isOneOfOne()?{score:this._config.scores.goodNumberOfMatches,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com and %2$s expands to the anchor end tag. */ /* translators: %1$s expands to a link on yoast.com and %2$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in subheading%2$s: Your H2 or H3 subheading reflects the topic of your copy. Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:this.hasGoodNumberOfMatches()?{score:this._config.scores.goodNumberOfMatches,resultText:(0,s.sprintf)(
/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag,
%3$d expands to the number of subheadings containing the keyphrase. */
/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag,
%3$d expands to the number of subheadings containing the keyphrase. */
(0,s._n)("%1$sKeyphrase in subheading%2$s: %3$d of your H2 and H3 subheadings reflects the topic of your copy. Good job!","%1$sKeyphrase in subheading%2$s: %3$d of your H2 and H3 subheadings reflect the topic of your copy. Good job!",this._subHeadingsResearchResult.matches.numberOfSubheadings,"wordpress-seo"),this._config.urlTitle,"</a>",this._subHeadingsResearchResult.matches.numberOfSubheadings)}:{score:this._config.scores.noMatches,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in subheading%3$s: %2$sUse more keyphrases or synonyms in your H2 and H3 subheadings%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.getResultForNoSubheadings():{score:this._config.scores.noKeyphraseOrText,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in subheading%3$s: %2$sPlease add both a keyphrase and some text to receive relevant feedback%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}t.default=c},7528(e,t,r){"use strict";var s="undefined"!=typeof Symbol&&Symbol,n=r(59162);e.exports=function(){return"function"==typeof s&&"function"==typeof Symbol&&"symbol"==typeof s("foo")&&"symbol"==typeof Symbol("bar")&&n()}},7540(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"<yoastmark class='yoast-text-mark'>"+e+"</yoastmark>"}},8302(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(27723),n=r(66087),i=f(r(91416)),a=r(37570),o=f(r(7540)),l=r(86620),u=r(49268),c=f(r(76994)),d=f(r(82840)),h=f(r(81840));function f(e){return e&&e.__esModule?e:{default:e}}class p extends h.default{constructor(e={}){super();const t={urlTitle:(0,l.createAnchorOpeningTag)("https://yoa.st/34t"),urlCallToAction:(0,l.createAnchorOpeningTag)("https://yoa.st/34u")};this.identifier="passiveVoice",this._config=(0,n.merge)(t,e)}calculatePassiveVoiceResult(e){let t=0,r=0;0!==e.total&&(r=(0,i.default)(e.passives.length/e.total*100));const n=r>0;return r<=10&&(t=9),(0,a.inRangeEndInclusive)(r,10,15)&&(t=6),r>15&&(t=3),t>=7?{score:t,hasMarks:n,text:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
(0,s.__)("%1$sPassive voice%2$s: You are not using too much passive voice. That's great!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:t,hasMarks:n,text:(0,s.sprintf)(
/* translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag,
%3$s expands to the percentage of sentences in passive voice, %4$s expands to the recommended value. */
/* translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag,
%3$s expands to the percentage of sentences in passive voice, %4$s expands to the recommended value. */
(0,s.__)("%1$sPassive voice%2$s: %3$s of the sentences contain passive voice, which is more than the recommended maximum of %4$s. %5$sTry to use their active counterparts%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",r+"%","10%",this._config.urlCallToAction)}}getMarks(e,t){const r=t.getResearch("getPassiveVoiceResult");return(0,n.map)(r.passives,function(e){e=(0,u.stripIncompleteTags)(e);const t=(0,o.default)(e);return new d.default({original:e,marked:t})})}getResult(e,t){const r=t.getResearch("getPassiveVoiceResult"),s=this.calculatePassiveVoiceResult(r),n=new c.default;return n.setScore(s.score),n.setText(s.text),n.setHasMarks(s.hasMarks),n}isApplicable(e,t){return t.hasResearch("getPassiveVoiceResult")}}t.default=p},8886(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.getTree().findAll(e=>"p"===e.name),n=[];return r.forEach(e=>{const r=t.getHelper("customCountLength"),i=e.sentences.map(e=>e.tokens).flat(),a=r?r(e.innerText()):(0,s.getWordsFromTokens)(i,!1).length;a>0&&n.push({paragraph:e,paragraphLength:a})}),n};var s=r(18261)},8905(e){var t=function(e,t){var r;for(r=0;r<e.length;r++)if(e[r].regex.test(t))return e[r]},r=function(e,r){var s,n,i;for(s=0;s<r.length;s++)if(n=t(e,r.substring(0,s+1)))i=n;else if(i)return{max_index:s,rule:i};return i?{max_index:r.length,rule:i}:void 0};e.exports=function(e){var s="",n=[],i=1,a=1,o=function(t,r){e({type:r,src:t,line:i,col:a});var s=t.split("\n");i+=s.length-1,a=(s.length>1?1:a)+s[s.length-1].length};return{addRule:function(e,t){n.push({regex:e,type:t})},onText:function(e){for(var t=s+e,i=r(n,t);i&&i.max_index!==t.length;)o(t.substring(0,i.max_index),i.rule.type),t=t.substring(i.max_index),i=r(n,t);s=t},end:function(){if(0!==s.length){var e=t(n,s);if(!e){var r=new Error("unable to tokenize");throw r.tokenizer2={buffer:s,line:i,col:a},r}o(s,e.type)}}}}},9011(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SCORES=void 0,t.SCORES={NON_INCLUSIVE:3,POTENTIALLY_NON_INCLUSIVE:6}},9587(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(15698))&&s.__esModule?s:{default:s};t.default=n.default},10290(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addMark",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"removeMarks",{enumerable:!0,get:function(){return s.default}});var s=i(r(83176)),n=i(r(7540));function i(e){return e&&e.__esModule?e:{default:e}}},10419(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.isUndefined)(e))return[];let t=a;return t=t.concat(function(e){switch(e){case"de":return o;case"da":return l;case"ca":return u;case"sr":case"bs":return c;default:return[]}}((0,n.default)(e))),t};var s,n=(s=r(28457))&&s.__esModule?s:{default:s},i=r(66087);const a=[{letter:/[\u00A3]/g,alternative:""},{letter:/[\u20AC]/g,alternative:"E"},{letter:/[\u00AA]/g,alternative:"a"},{letter:/[\u00BA]/g,alternative:"o"},{letter:/[\u00C0]/g,alternative:"A"},{letter:/[\u00C1]/g,alternative:"A"},{letter:/[\u00C2]/g,alternative:"A"},{letter:/[\u00C3]/g,alternative:"A"},{letter:/[\u00C4]/g,alternative:"A"},{letter:/[\u00C5]/g,alternative:"A"},{letter:/[\u00C6]/g,alternative:"AE"},{letter:/[\u00C7]/g,alternative:"C"},{letter:/[\u00C8]/g,alternative:"E"},{letter:/[\u00C9]/g,alternative:"E"},{letter:/[\u00CA]/g,alternative:"E"},{letter:/[\u00CB]/g,alternative:"E"},{letter:/[\u00CC]/g,alternative:"I"},{letter:/[\u00CD]/g,alternative:"I"},{letter:/[\u00CE]/g,alternative:"I"},{letter:/[\u00CF]/g,alternative:"I"},{letter:/[\u00D0]/g,alternative:"D"},{letter:/[\u00D1]/g,alternative:"N"},{letter:/[\u00D2]/g,alternative:"O"},{letter:/[\u00D3]/g,alternative:"O"},{letter:/[\u00D4]/g,alternative:"O"},{letter:/[\u00D5]/g,alternative:"O"},{letter:/[\u00D6]/g,alternative:"O"},{letter:/[\u00D8]/g,alternative:"O"},{letter:/[\u00D9]/g,alternative:"U"},{letter:/[\u00DA]/g,alternative:"U"},{letter:/[\u00DB]/g,alternative:"U"},{letter:/[\u00DC]/g,alternative:"U"},{letter:/[\u00DD]/g,alternative:"Y"},{letter:/[\u00DE]/g,alternative:"TH"},{letter:/[\u00DF]/g,alternative:"s"},{letter:/[\u00E0]/g,alternative:"a"},{letter:/[\u00E1]/g,alternative:"a"},{letter:/[\u00E2]/g,alternative:"a"},{letter:/[\u00E3]/g,alternative:"a"},{letter:/[\u00E4]/g,alternative:"a"},{letter:/[\u00E5]/g,alternative:"a"},{letter:/[\u00E6]/g,alternative:"ae"},{letter:/[\u00E7]/g,alternative:"c"},{letter:/[\u00E8]/g,alternative:"e"},{letter:/[\u00E9]/g,alternative:"e"},{letter:/[\u00EA]/g,alternative:"e"},{letter:/[\u00EB]/g,alternative:"e"},{letter:/[\u00EC]/g,alternative:"i"},{letter:/[\u00ED]/g,alternative:"i"},{letter:/[\u00EE]/g,alternative:"i"},{letter:/[\u00EF]/g,alternative:"i"},{letter:/[\u00F0]/g,alternative:"d"},{letter:/[\u00F1]/g,alternative:"n"},{letter:/[\u00F2]/g,alternative:"o"},{letter:/[\u00F3]/g,alternative:"o"},{letter:/[\u00F4]/g,alternative:"o"},{letter:/[\u00F5]/g,alternativeLine truncated
(0,s.__)("%1$sKeyphrase in image alt attributes%3$s: Images on this page do not have alt attributes with at least half of the words from your keyphrase. %2$sFix that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasTooFewMatches()?{score:this._config.scores.withAltTooFewKeywordMatches,resultText:(0,s.sprintf)(
/* translators: %1$d expands to the number of images containing an alt attribute with the keyphrase,
* %2$d expands to the total number of images, %3$s and %4$s expand to links on yoast.com,
* %5$s expands to the anchor end tag. */
/* translators: %1$d expands to the number of images containing an alt attribute with the keyphrase,
* %2$d expands to the total number of images, %3$s and %4$s expand to links on yoast.com,
* %5$s expands to the anchor end tag. */
(0,s._n)("%3$sKeyphrase in image alt attributes%5$s: Out of %2$d images on this page, only %1$d has an alt attribute that reflects the topic of your text. %4$sAdd your keyphrase or synonyms to the alt tags of more relevant images%5$s!","%3$sKeyphrase in image alt attributes%5$s: Out of %2$d images on this page, only %1$d have alt attributes that reflect the topic of your text. %4$sAdd your keyphrase or synonyms to the alt tags of more relevant images%5$s!",this.altProperties.withAltKeyword,"wordpress-seo"),this.altProperties.withAltKeyword,this.imageCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.hasGoodNumberOfMatches()?{score:this._config.scores.withAltGoodNumberOfKeywordMatches,resultText:(0,s.sprintf)(
/* translators: %1$s expands to a link on yoast.com,
* %2$s expands to the anchor end tag. */
/* translators: %1$s expands to a link on yoast.com,
* %2$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in image alt attributes%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:this.hasTooManyMatches()?{score:this._config.scores.withAltTooManyKeywordMatches,resultText:(0,s.sprintf)(
/* translators: %1$d expands to the number of images containing an alt attribute with the keyphrase,
* %2$d expands to the total number of images, %3$s and %4$s expand to a link on yoast.com,
* %5$s expands to the anchor end tag. */
/* translators: %1$d expands to the number of images containing an alt attribute with the keyphrase,
* %2$d expands to the total number of images, %3$s and %4$s expand to a link on yoast.com,
* %5$s expands to the anchor end tag. */
(0,s.__)("%3$sKeyphrase in image alt attributes%5$s: Out of %2$d images on this page, %1$d have alt attributes with words from your keyphrase or synonyms. That's a bit much. %4$sOnly include the keyphrase or its synonyms when it really fits the image%5$s.","wordpress-seo"),this.altProperties.withAltKeyword,this.imageCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.noAlt,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sKeyphrase in image alt attributes%3$s: Images on this page do not have alt attributes that reflect the topic of your text. %2$sAdd your keyphrase or synonyms to the alt tags of relevant images%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.noImagesOrKeyphrase,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sKeyphrase in image alt attributes%3$s: This page does not have images, a keyphrase, or both. %2$sAdd some images with alt attributes that include the keyphrase or synonyms%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}t.default=c},17665(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=[]){return(0,s.filter)(e,function(e){return!(0,s.includes)(t,e.trim().toLocaleLowerCase())})};var s=r(66087)},17681(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,s.flatten)(Object.values(e)).sort((e,t)=>t.length-e.length||e.localeCompare(t))};var s=r(66087)},17874(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(27723),n=r(66087),i=l(r(81840)),a=r(86620),o=l(r(76994));function l(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{constructor(e={}){super();const t={parameters:{recommendedMaximum:0},scores:{good:8,bad:2},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/34l"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/34m")};this.identifier="textCompetingLinks",this._config=(0,n.merge)(t,e)}getResult(e,t){const r=new o.default;this.totalAnchorsWithKeyphrase=t.getResearch("getAnchorsWithKeyphrase").anchorsWithKeyphraseCount;const s=this.calculateResult();return r.setScore(s.score),r.setText(s.resultText),r.setHasMarks(!1),r}calculateResult(){return this.totalAnchorsWithKeyphrase===this._config.parameters.recommendedMaximum?{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sCompeting links%2$s: There are no links which use your keyphrase or synonym as their anchor text. Nice!","wordpress-seo"),this._config.urlTitle,"</a>")}:this.totalAnchorsWithKeyphrase>this._config.parameters.recommendedMaximum?{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sCompeting links%3$s: You have a link which uses your keyphrase or synonym as its anchor text. %2$sFix that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:void 0}}t.default=u},17998(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(49960)),n=a(r(37994)),i=a(r(93474));function a(e){return e&&e.__esModule?e:{default:e}}class o extends s.default{constructor(e,t){super(e,t),this.type="keyphraseAssessor",this._assessments=[new n.default,new i.default]}}t.default=o},18076(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=e.getText();r=(0,a.default)(r),r=(0,o.filterShortcodesFromHTML)(r,e._attributes&&e._attributes.shortcodes);const l=(0,s.default)(r),u=t.getHelper("customCountLength"),c=[];(0,i.forEach)(l,function(e){c.push({subheading:e.subheading,text:e.text,countLength:u?u(e.text):(0,n.default)(e.text),index:e.index})});let d=0,h="";if(c.length>0){const e=c[0];h=r.slice(0,e.index),d=u?u(h):(0,n.default)(h)}return d>0&&""!==h&&c.unshift({subheading:"",text:h,countLength:d}),c};var s=l(r(61398)),n=l(r(66321)),i=r(66087),a=l(r(74096)),o=r(43460);function l(e){return e&&e.__esModule?e:{default:e}}},18204(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(27723),n=r(66087),i=l(r(59947)),a=r(86620),o=l(r(76994));function l(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e,t){if((0,n.isUndefined)(e))throw new i.default("The previously keyword plugin requires the YoastSEO app");(0,n.isUndefined)(t)&&(t={usedKeywords:{},usedKeywordsPostTypes:{},searchUrl:"",postUrl:""}),this.app=e,this.usedKeywords=t.usedKeywords,this.usedKeywordsPostTypes=t.usedKeywordsPostTypes,this.searchUrl=t.searchUrl,this.postUrl=t.postUrl,this.urlTitle=(0,a.createAnchorOpeningTag)("https://yoa.st/33x"),this.urlCallToAction=(0,a.createAnchorOpeningTag)("https://yoa.st/33y")}registerPlugin(){this.app.registerAssessment("usedKeywords",{getResult:this.assess.bind(this)},"previouslyUsedKeywords")}updateKeywordUsage(e,t){this.usedKeywords=e,this.usedKeywordsPostTypes=t}scoreAssessment(e,t){if(0===Object.keys(e).length)return{text:(0,s.sprintf)(
/* translators:
%1$s and %2$s expand to a link to an article on yoast.com,
%3$s expands to an anchor end tag. */
/* translators:
%1$s and %2$s expand to a link to an article on yoast.com,
%3$s expands to an anchor end tag. */
(0,s.__)("%1$sPreviously used keyphrase%3$s: No focus keyphrase was set for this page. %2$sPlease add a focus keyphrase you haven't used before on other content%3$s.","wordpress-seo"),this.urlTitle,this.urlCallToAction,"</a>"),score:1};const r=e.count,n=e.id,i=e.postTypeToDisplay;let a;return 0===r?{text:(0,s.sprintf)(
/* translators:
%1$s expands to a link to an article on yoast.com,
%2$s expands to an anchor end tag. */
/* translators:
%1$s expands to a link to an article on yoast.com,
%2$s expands to an anchor end tag. */
(0,s.__)("%1$sPreviously used keyphrase%2$s: You've not used this keyphrase before, very good.","wordpress-seo"),this.urlTitle,"</a>"),score:9}:1===r?(a=`<a href='${this.postUrl.replace("{id}",n)}' target='_blank'>`,{
/* translators: %1$s expands to an admin link where the keyphrase is already used,
%2$s expands to the anchor end tag, %3$s and %4$s expand to links on yoast.com. */
text:(0,s.sprintf)((0,s.__)("%3$sPreviously used keyphrase%2$s: You've used this keyphrase %1$sonce before%2$s. %4$sDo not use your keyphrase more than once%2$s.","wordpress-seo"),a,"</a>",this.urlTitle,this.urlCallToAction),score:6}):r>1?(a=i?`<a href='${this.searchUrl.replace("{keyword}",encodeURIComponent(t.getKeyword()))}&post_type=${i}' target='_blank'>`:`<a href='${this.searchUrl.replace("{keyword}",encodeURIComponent(t.getKeyword()))}' target='_blank'>`,{
/* translators: %1$s expands to a link to the admin search page for the keyphrase,
%2$s expands to the anchor end tag, %3$s and %4$s expand to links to yoast.com */
text:(0,s.sprintf)((0,s.__)("%3$sPreviously used keyphrase%2$s: You've used this keyphrase %1$smultiple times before%2$s. %4$sDo not use your keyphrase more than once%2$s.","wordpress-seo"),a,"</a>",this.urlTitle,this.urlCallToAction),score:1}):void 0}researchPreviouslyUsedKeywords(e){const t=e.getKeyword();if(!t)return{};let r=0,s="",i=0;return!(0,n.isUndefined)(this.usedKeywords[t])&&this.usedKeywords[t].length>0&&(r=this.usedKeywords[t].length,t in this.usedKeywordsPostTypes&&(s=this.usedKeywordsPostTypes[t][0]),i=this.usedKeywords[t][0]),{id:i,count:r,postTypeToDisplay:s}}assess(e){const t=this.researchPreviouslyUsedKeywords(e),r=this.scoreAssessment(t,e),s=new o.default;return s.setScore(r.score),s.setText(r.text),s}}},18261(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,s.default)(e.getTree());return o((0,n.flatMap)(t.map(e=>e.tokens)))},t.getWordsFromTokens=o;var s=a(r(16740)),n=r(66087),i=a(r(36278));function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t=!0){let r=e.map(e=>e.text);return t||function(e,t){for(;-1!==e.indexOf(t);){if(0===e.indexOf(t)||e.indexOf(t)===e.length-1){e.splice(e.indexOf(t),1);continue}const r=e.indexOf(t),s=e[r-1],n=e[r+1];e.splice(r-1,3,s+t+n)}}(r,"-"),r=r.map(e=>(0,i.default)(e)),r.filter(e=>""!==e.trim())}},18447(e,t,r){var s=r(4011),n=e.exports=Object.create(s),i={tagName:"name"};Object.keys(i).forEach(function(e){var t=i[e];Object.defineProperty(n,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})})},18480(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getResearch("morphology"),s=t.getConfig("functionWords");return{keyphraseLength:r.keyphraseForms.length,functionWords:s}}},18504(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("functionWords"),o=t.getHelper("getWordsCustomHelper"),l=e.getKeyword();if((0,i.default)(l).exactMatchRequested)return!1;let u=o?o(l):(0,n.default)(l,a.WORD_BOUNDARY_WITH_HYPHEN);return u=(0,s.filter)(u,function(e){return!(0,s.includes)(r,e.trim().toLocaleLowerCase())}),(0,s.isEmpty)(u)};var s=r(66087),n=o(r(14160)),i=o(r(35674)),a=r(52371);function o(e){return e&&e.__esModule?e:{default:e}}},19004(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlEntitiesRegex=t.htmlEntities=t.hashedHtmlEntitiesRegexStart=t.hashedHtmlEntitiesRegexEnd=t.hashedHtmlEntities=void 0;const r=t.htmlEntities=new Map([["amp;","&"],["lt;","<"],["gt;",">"],["quot;",'"'],["apos;","'"],["ndash;","–"],["mdash;","—"],["copy;","©"],["reg;","®"],["trade;","™"],["pound;","£"],["yen;","¥"],["euro;","€"],["dollar;","$"],["deg;","°"],["asymp;","≈"],["ne;","≠"],["nbsp;"," "]]),s=(t.htmlEntitiesRegex=new RegExp("&("+[...r.keys()].join("|")+")","ig"),t.hashedHtmlEntities=new Map);r.forEach((e,t)=>s.set("#"+t,e)),t.hashedHtmlEntitiesRegexStart=new RegExp("^("+[...s.keys()].join("|")+")"),t.hashedHtmlEntitiesRegexEnd=new RegExp("("+[...s.keys()].join("|")+")$")},19030(e,t,r){"use strict";var s=r(66743);e.exports=s.call(Function.call,Object.prototype.hasOwnProperty)},19278(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orangeUnlessCultureUsesTerm=t.orangeUnlessCultureOfOrigin=void 0;var s=r(70563);t.orangeUnlessCultureOfOrigin=[s.beCarefulHarmful,"Consider using an alternative, such as %2$s instead, unless you are referring to the culture in which this term originated."].join(" "),t.orangeUnlessCultureUsesTerm=[s.beCarefulHarmful,"Consider using an alternative, such as %2$s instead, unless you are referring to a culture that uses this term."].join(" ")},19293(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){for(let r=0;r<t.length;r++)if((0,s.includes)(e,t[r]))return!0;return!1};var s=r(66087)},19624(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"Node",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Paragraph",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return a.default}});var s=o(r(98902)),n=o(r(29910)),i=o(r(51818)),a=o(r(68313));function o(e){return e&&e.__esModule?e:{default:e}}},19696(e,t,r){var s=r(32956),n=r(46827),i=r(68445);i.elementNames.__proto__=null,i.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},o={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var r="",n=0;n<e.length;n++){var i=e[n];"root"===i.type?r+=l(i.children,t):s.isTag(i)?r+=c(i,t):i.type===sLine truncated
/* translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag,
%3$d expands to the number of consecutive sentences starting with the same word,
%4$d expands to the number of instances where 3 or more consecutive sentences start with the same word. */
/* translators: %1$s and %5$s expand to a link on yoast.com, %2$s expands to the anchor end tag,
%3$d expands to the number of consecutive sentences starting with the same word,
%4$d expands to the number of instances where 3 or more consecutive sentences start with the same word. */
(0,n._n)("%1$sConsecutive sentences%2$s: The text contains %3$d consecutive sentences starting with the same word. %5$sTry to mix things up%2$s!","%1$sConsecutive sentences%2$s: The text contains %4$d instances where %3$d or more consecutive sentences start with the same word. %5$sTry to mix things up%2$s!",e.total,"wordpress-seo"),this._config.urlTitle,"</a>",e.lowestCount,e.total,this._config.urlCallToAction))):(t.setScore(9),t.setHasMarks(!1),t.setText((0,n.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,n.__)("%1$sConsecutive sentences%2$s: There are no repetitive sentence beginnings. That's great!","wordpress-seo"),this._config.urlTitle,"</a>"))),t}getMarks(e,t){return t.getResearch("getSentenceBeginnings").filter(e=>e.count>2).flatMap(e=>e.sentences).map(e=>{var t,r;const s=(null===(t=e.getFirstToken())||void 0===t?void 0:t.sourceCodeRange.startOffset)||0,n=(null===(r=e.getLastToken())||void 0===r?void 0:r.sourceCodeRange.endOffset)||0;return new o.default({position:{startOffset:s,endOffset:n,startOffsetBlock:s-(e.parentStartOffset||0),endOffsetBlock:n-(e.parentStartOffset||0),clientId:e.parentClientId||"",attributeId:e.parentAttributeId||"",isFirstSection:e.isParentFirstSectionOfBlock||!1}})})}getResult(e,t){const r=t.getResearch("getSentenceBeginnings"),s=this.groupSentenceBeginnings(r);return this.calculateSentenceBeginningsResult(s)}isApplicable(e,t){return t.hasResearch("getSentenceBeginnings")}}t.default=c},24675(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyAllReplacements=function(e,t){return t.forEach(function(t){e=e.replace(new RegExp(t[0]),t[1])}),e},t.doesWordMatchRegex=function(e,t){return RegExp(t).test(e)},t.searchAndReplaceWithRegex=function(e,t){for(const r of t)if(-1!==e.search(new RegExp(r[0])))return e.replace(new RegExp(r[0]),r[1])}},25227(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(66087);const n={keyword:"",synonyms:"",description:"",title:"",titleWidth:0,slug:"",locale:"en_US",permalink:"",date:"",customData:{},textTitle:"",writingDirection:"LTR",wpBlocks:[],isFrontPage:!1,shortcodes:[]};class i{constructor(e,t){this._text=e||"",this._tree=null,t=t||{},(0,s.defaults)(t,n),""===t.locale&&(t.locale=n.locale),t.hasOwnProperty("url")&&(console.warn("The 'url' attribute is deprecated, use 'slug' instead."),t.slug=t.url||t.slug);const r=t.keyword.replace(/[‘’“”"'.?!:;,¿¡«»&*@#±^%|~`[\](){}⟨⟩<>/\\–\-\u2014\u00d7\u002b\s]/g,"");(0,s.isEmpty)(r)&&(t.keyword=n.keyword),this._attributes=t}hasKeyword(){return""!==this._attributes.keyword}getKeyword(){return this._attributes.keyword}hasSynonyms(){return""!==this._attributes.synonyms}getSynonyms(){return this._attributes.synonyms}hasText(){return""!==this._text}getText(){return this._text}setTree(e){this._tree=e}getTree(){return this._tree}hasDescription(){return""!==this._attributes.description}getDescription(){return this._attributes.description}hasTitle(){return""!==this._attributes.title}getTitle(){return this._attributes.title}hasTitleWidth(){return 0!==this._attributes.titleWidth}getTitleWidth(){return this._attributes.titleWidth}hasSlug(){return""!==this._attributes.slug}getSlug(){return this._attributes.slug}isFrontPage(){return this._attributes.isFrontPage}hasUrl(){return console.warn("This function is deprecated, use hasSlug instead"),this.hasSlug()}getUrl(){return console.warn("This function is deprecated, use getSlug instead"),this.getSlug()}hasLocale(){return""!==this._attributes.locale}getLocale(){return this._attributes.locale}getWritingDirection(){return this._attributes.writingDirection}hasPermalink(){return""!==this._attributes.permalink}getPermalink(){return this._attributes.permalink}hasDate(){return""!==this._attributes.date}getDate(){return this._attributes.date}hasCustomData(){return!(0,s.isEmpty)(this._attributes.customData)}getCustomData(){return this._attributes.customData}hasTextTitle(){return""!==this._attributes.textTitle&&!(0,s.isNil)(this._attributes.textTitle)}getTextTitle(){return this._attributes.textTitle}serialize(){return{_parseClass:"Paper",text:this._text,...this._attributes}}equals(e){return this._text===e.getText()&&(0,s.isEqual)(this._attributes,e._attributes)}hasSameTreeInputsAs(e){var t,r,n,i;return!!e&&this._text===e.getText()&&this._attributes.locale===e._attributes.locale&&!!(0,s.isEqual)(null!==(t=this._attributes.shortcodes)&&void 0!==t?t:[],null!==(r=e._attributes.shortcodes)&&void 0!==r?r:[])&&(0,s.isEqual)(null!==(n=this._attributes.wpBlocks)&&void 0!==n?n:[],null!==(i=e._attributes.wpBlocks)&&void 0!==i?i:[])}static parse(e){if(e instanceof i)return e;const{text:t,_parseClass:r,...s}=e;return new i(t,s)}}t.default=i},25833(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{constructor(e){e.startTag&&(this.startTag={startOffset:e.startTag.startOffset,endOffset:e.startTag.endOffset}),e.endTag&&(this.endTag={startOffset:e.endTag.startOffset,endOffset:e.endTag.endOffset}),this.startOffset=e.startOffset,this.endOffset=e.endOffset}}},25879(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(13039))&&s.__esModule?s:{default:s},i=r(66087);t.default=class{constructor(e){this.countSteps=[],(0,i.isUndefined)(e)||this.createSyllableCountSteps(e.deviations.vowels)}createSyllableCountSteps(e){(0,i.forEach)(e,function(e){this.countSteps.push(new n.default(e))}.bind(this))}getAvailableSyllableCountSteps(){return thLine truncated
(0,s.__)("%1$sKeyphrase in slug%2$s: Great work!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.okay,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sKeyphrase in slug%3$s: (Part of) your keyphrase does not appear in the slug. %2$sChange that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this._keywordInSlug.percentWordMatches>50?{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sKeyphrase in slug%2$s: More than half of your keyphrase appears in the slug. That's great!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.okay,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sKeyphrase in slug%3$s: (Part of) your keyphrase does not appear in the slug. %2$sChange that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sKeyphrase in slug%3$s: %2$sPlease add both a keyphrase and a slug containing the keyphrase%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}t.SlugKeywordAssessment=t.default=u,t.UrlKeywordAssessment=class extends u{constructor(e={}){super(e),this.identifier="urlKeyword",console.warn("This object is deprecated, use SlugKeywordAssessment instead.")}}},33799(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(66087),n=o(r(81840)),i=o(r(76994)),a=r(86620);function o(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{constructor(e={}){super(),this.identifier="productIdentifier",this._config=(0,s.merge)({scores:{good:9,ok:6},urlTitle:"https://yoa.st/4ly",urlCallToAction:"https://yoa.st/4lz",assessVariants:!1,shouldShowEditButton:!1,editFieldAriaLabel:"Edit your product identifiers",callbacks:{}},e)}getResult(e){const t=e.getCustomData(),r=this.scoreProductIdentifier(t,this._config),s=new i.default;return r&&(s.setScore(r.score),s.setText(r.text)),s.getScore()<9&&this._config.shouldShowEditButton&&(s.setHasJumps(!0),s.setEditFieldName("productIdentifier"),s.setEditFieldAriaLabel(this._config.editFieldAriaLabel)),s}isApplicable(e){const t=e.getCustomData();return!(!1===t.canRetrieveGlobalIdentifier&&(["simple","external","grouped"].includes(t.productType)||!1===t.hasVariants)||!1===t.canRetrieveVariantIdentifiers&&!0===t.hasVariants&&"variable"===t.productType||!1===this._config.assessVariants&&t.hasVariants)}scoreProductIdentifier(e,t){const{good:r,okay:s}=this.getFeedbackStrings();return["simple","grouped","external"].includes(e.productType)||"variable"===e.productType&&!e.hasVariants?e.hasGlobalIdentifier?{score:t.scores.good,text:r.withoutVariants}:{score:t.scores.ok,text:s.withoutVariants}:"variable"===e.productType&&e.hasVariants?e.doAllVariantsHaveIdentifier?{score:t.scores.good,text:r.withVariants}:{score:t.scores.ok,text:s.withVariants}:{}}getFeedbackStrings(){const e=(0,a.createAnchorOpeningTag)(this._config.urlTitle),t=(0,a.createAnchorOpeningTag)(this._config.urlCallToAction);if(!this._config.callbacks.getResultTexts){const r={good:{withoutVariants:"%1$sProduct identifier%3$s: Your product has an identifier. Good job!",withVariants:"%1$sProduct identifier%3$s: All your product variants have an identifier. Good job!"},okay:{withoutVariants:"%1$sProduct identifier%3$s: Your product is missing an identifier (like a GTIN code). %2$sInclude it if you can, as it will help search engines to better understand your content.%3$s",withVariants:"%1$sProduct identifier%3$s: Not all your product variants have an identifier. %2$sInclude it if you can, as it will help search engines to better understand your content.%3$s"}};return r.good=(0,s.mapValues)(r.good,r=>this.formatResultText(r,e,t)),r.okay=(0,s.mapValues)(r.okay,r=>this.formatResultText(r,e,t)),r}return this._config.callbacks.getResultTexts({urlTitleAnchorOpeningTag:e,urlActionAnchorOpeningTag:t})}}t.default=l},34038(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=class{setLocale(e){this.locale=e}aggregate(e){console.warn("'aggregate' must be implemented by a child class of 'ScoreAggregator'")}}},34603(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class r{constructor(e={}){this.configure(e)}configure(e){this._config={params:{},...e}}static createQueryString(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}append(e,t={}){let s=encodeURI(e);const n=r.createQueryString({...this._config.params,...t});return""!==n&&(s+="?"+n),s}createAnchorOpeningTag(e,t={}){return`<a href='${this.append(e,t)}' target='_blank'>`}}t.default=r},35060(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=i(r(61431)),n=i(r(75678));function i(e){return e&&e.__esModule?e:{default:e}}t.default={parse:s.default,serialize:n.default}},35495(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(66087),n=u(r(81840)),i=u(r(82840)),a=u(r(76994)),o=r(86620),l=r(47304);function u(e){return e&&e.__esModule?e:{default:e}}class c extends n.default{constructor(e={}){super(),this.identifier="wordComplexity",this._config=(0,s.merge)({scores:{acceptableAmount:6,goodAmount:9},urlTitle:"https://yoa.st/4ls",urlCallToAction:"https://yoa.st/4lt",callbacks:{}},e)}getResult(e,t){this._wordComplexity=t.getResearch("wordComplexity");const r=this.calculateResult(),s=new a.default;return s.setScore(r.score),s.setText(r.resultText),s.setHasMarks(r.hasMarks),s}calculateResult(){const e=this._wordComplexity.percentage,t=e>0,{goodAmount:r,acceptableAmount:s}=this.getFeedbackStrings();return e<10?{score:this._config.scores.goodAmount,hasMarks:t,resultText:r}:{score:this._config.scores.acceptableAmount,hasMarks:t,resultText:s}}getFeedbackStrings(){const e=(0,o.createAnchorOpeningTag)(this._config.urlTitle),tLine truncated
(0,s._n)("%2$sKeyphrase length%3$s: The keyphrase contains %1$d word.","%2$sKeyphrase length%3$s: The keyphrase contains %1$d words.",this._keyphraseLengthData.keyphraseLength,"wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._config.urlTitle,"</a>"),r=(0,s.sprintf)(/* translators: %1$d expands to the number of content words, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of content words, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s._n)("%2$sKeyphrase length%3$s: The keyphrase contains %1$d content word.","%2$sKeyphrase length%3$s: The keyphrase contains %1$d content words.",this._keyphraseLengthData.keyphraseLength,"wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._config.urlTitle,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of characters, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s._n)("%2$sKeyphrase length%3$s: The keyphrase contains %1$d character.","%2$sKeyphrase length%3$s: The keyphrase contains %1$d characters.",this._keyphraseLengthData.keyphraseLength,"wordpress-seo"),this._keyphraseLengthData.keyphraseLength,this._config.urlTitle,"</a>");return e===d.WORDS?t:e===d.CONTENT_WORDS?r:n},moreThanMinimum:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's more than the recommended maximum of %1$d word. %3$sMake it shorter%4$s!","%2$s That's more than the recommended maximum of %1$d words. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's more than the recommended maximum of %1$d content word. %3$sMake it shorter%4$s!","%2$s That's more than the recommended maximum of %1$d content words. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>"),i=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's more than the recommended maximum of %1$d character. %3$sMake it shorter%4$s!","%2$s That's more than the recommended maximum of %1$d characters. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>");return e===d.WORDS?r:e===d.CONTENT_WORDS?n:i},wayMoreThanMinimum:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's way more than the recommended maximum of %1$d word. %3$sMake it shorter%4$s!","%2$s That's way more than the recommended maximum of %1$d words. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's way more than the recommended maximum of %1$d content word. %3$sMake it shorter%4$s!","%2$s That's way more than the recommended maximum of %1$d content words. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>"),i=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's way more than the recommended maximum of %1$d character. %3$sMake it shorter%4$s!","%2$s That's way more than the recommended maximum of %1$d characters. %3$sMake it shorter%4$s!",this._boundaries.recommendedMaximum,"wordpress-seo"),this._boundaries.recommendedMaximum,t,this._config.urlCallToAction,"</a>");return e===d.WORDS?r:e===d.CONTENT_WORDS?n:i},lessThanMinimum:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's less than the recommended minimum of %1$d word. %3$sMake it longer%4$s!","%2$s That's less than the recommended minimum of %1$d words. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's less than the recommended minimum of %1$d content word. %3$sMake it longer%4$s!","%2$s That's less than the recommended minimum of %1$d content words. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),i=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's less than the recommended minimum of %1$d character. %3$sMake it longer%4$s!","%2$s That's less than the recommended minimum of %1$d characters. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>");return e===d.WORDS?r:e===d.CONTENT_WORDS?n:i},wayLessThanMinimum:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of words, %2$s expands to the sentence "The keyphrase contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's way less than the recommended minimum of %1$d word. %3$sMake it longer%4$s!","%2$s That's way less than the recommended minimum of %1$d words. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of content words, %2$s expands to the sentence "The keyphrase contains X content word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's way less than the recommended minimum of %1$d content word. %3$sMake it longer%4$s!","%2$s That's way less than the recommended minimum of %1$d content words. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),i=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The keyphrase contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s That's way less than the recommended minimum of %1$d character. %3$sMake it longer%4$s!","%2$s That's way less than the recommended minimum of %1$d characters. %3$sMake it longer%4$s!",this._boundaries.recommendedMinimum,"wordpress-seo"),this._boundaries.recommendedMinimum,t,this._config.urlCallToAction,"</a>");return e===d.WORDS?r:e===d.CONTENT_WORDS?n:i}}}calculateResultForProduct(){if(0===this._keyphraseLengthData.keyphraseLength)return this.getNoKeyphraseFeedback();if((0,l.inRangeStartEndInclusive)(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._boundaries.recommendedMaximum))return{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase length%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")};const e=this.getFeedbackTexts(),t=e.firstSentence(this._config.countTextIn);return this._keyphraseLengthData.keyphraseLength<=this._boundaries.acceptableMinimum?{score:this._config.scores.bad,resultText:e.wayLessThanMinimum(this._config.countTextIn,t)}:this._keyphraseLengthData.keyphraseLength>this._boundaries.acceptableMaximum?{score:this._config.scores.bad,resultText:e.wayMoreThanMinimum(this._config.countTextIn,t)}:(0,n.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.acceptableMinimum,this._boundaries.recommendedMinimum)?{score:this._config.scores.okay,resultText:e.lessThanMinimum(this._config.countTextIn,t)}:{score:this._config.scores.okay,resultText:e.moreThanMinimum(this._config.countTextIn,t)}}getNoKeyphraseFeedback(){return this._config.isRelatedKeyphrase?{score:this._config.scores.veryBad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sKeyphrase length%3$s: %2$sSet a keyphrase in order to calculate your SEO score%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.veryBad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sKeyphrase length%3$s: No focus keyphrase was set for this page. %2$sSet a keyphrase in order to calculate your SEO score%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}calculateResult(){if(this._isProductPage)return this.calculateResultForProduct();if(this._keyphraseLengthData.keyphraseLength<this._boundaries.recommendedMinimum)return this.getNoKeyphraseFeedback();if((0,n.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMinimum,this._boundaries.recommendedMaximum+1))return{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase length%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")};const e=this.getFeedbackTexts(),t=e.firstSentence(this._config.countTextIn);return(0,n.inRange)(this._keyphraseLengthData.keyphraseLength,this._boundaries.recommendedMaximum+1,this._boundaries.acceptableMaximum+1)?{score:this._config.scores.okay,resultText:e.moreThanMinimum(this._config.countTextIn,t)}:{score:this._config.scores.bad,resultText:e.wayMoreThanMinimum(this._config.countTextIn,t)}}}t.default=h},38075(e,t,r){"use strict";var s=r(98991),n=r(10487),i=n(s("String.prototype.indexOf"));e.exports=function(e,t){var r=s(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?n(r):r}},38476(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(27723),n=r(66087),i=u(r(28457)),a=u(r(81840)),o=r(86620),l=u(r(76994));function u(e){return e&&e.__esModule?e:{default:e}}class c extends a.default{constructor(e={}){super();const t={parameters:{recommendedPosition:0},scores:{good:9,okay:6,bad:2},urlTitle:(0,o.createAnchorOpeningTag)("https://yoa.st/33g"),urlCallToAction:(0,o.createAnchorOpeningTag)("https://yoa.st/33h"),feedbackStrings:{bad:(0,s.__)("For the best SEO results write the exact match of your keyphrase in the SEO title, and put the keyphrase at the beginning of the title","wordpress-seo")}};this.identifier="keyphraseInSEOTitle",
/* translators: This is the name of the 'Keyphrase in SEO title' SEO assessment.
It appears before the feedback in the analysis, for example in the feedback string:
"Keyphrase in SEO title: The focus keyphrase appears at the beginning of the SEO title. Good job!" */
this.name=(0,s.__)("Keyphrase in SEO title","wordpress-seo"),this._config=(0,n.merge)(t,e)}getResult(e,t){const r=(0,i.default)(e.getLocale());this._canAssess=!1,e.hasKeyword()&&e.hasTitle()&&(this._keyphraseMatches=t.getResearch("findKeyphraseInSEOTitle"),this._keyphrase=(0,n.escape)(e.getKeyword()),this._canAssess=!0);const a=new l.default,o=this.calculateResult(this._keyphrase,r);return a.setScore(o.score),a.setText(o.resultText),a.getScore()<9&&(a.setHasJumps(!0),e.hasKeyword()?(a.setEditFieldName("title"),a.setEditFieldAriaLabel((0,s.__)("Edit your SEO title","wordpress-seo"))):(a.setEditFieldName("keyphrase"),a.setEditFieldAriaLabel((0,s.__)("Edit your keyphrase","wordpress-seo")))),a}calculateResult(e,t){const r=this._config.urlTitle+this.name+"</a>";if(!this._canAssess)return{score:this._config.scores.bad,resultText:(0,s.sprintf)(
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$s: %2$sPlease add both a keyphrase and an SEO title beginning with the keyphrase%3$s.","wordpress-seo"),r,this._config.urlCallToAction,"</a>")};const n=this._config.feedbackStrings;"ja"===t&&(n.bad=(0,s.__)("For the best SEO results include all words of your keyphrase in the SEO title, and put the keyphrase at the beginning of the title","wordpress-seo"));const i=this._keyphraseMatches.exactMatchFound,a=this._keyphraseMatches.position,o=this._keyphraseMatches.allWordsFound,l=this._keyphraseMatches.exactMatchKeyphrase;return!0===i?0===a?{score:this._config.scores.good,resultText:(0,s.sprintf)(
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. */
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. */
(0,s.__)("%1$s: The exact match of the focus keyphrase appears at the beginning of the SEO title. Good job!","wordpress-seo"),r)}:{score:this._config.scores.okay,resultText:(0,s.sprintf)(
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$s: The exact match of the focus keyphrase appears in the SEO title, but not at the beginning. %2$sMove it to the beginning for the best results%3$s.","wordpress-seo"),r,this._config.urlCallToAction,"</a>")}:o?"ja"===t?0===a?{score:this._config.scores.good,resultText:(0,s.sprintf)(
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. */
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. */
(0,s.__)("%1$s: The focus keyphrase appears at the beginning of the SEO title. Good job!","wordpress-seo"),r,"</a>")}:{score:this._config.scores.okay,resultText:(0,s.sprintf)(
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$s: Title does not begin with the focus keyphrase. %2$sMove your focus keyphrase to the beginning of the title%3$s.","wordpress-seo"),r,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.okay,resultText:(0,s.sprintf)(
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$s: Does not contain the exact match. %2$sTry to write the exact match of your keyphrase in the SEO title and put it at the beginning of the title%3$s.","wordpress-seo"),r,this._config.urlCallToAction,"</a>")}:l?{score:this._config.scores.bad,resultText:(0,s.sprintf)(
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$s: Does not contain the exact match. %2$sTry to write the exact match of your keyphrase in the SEO title and put it at the beginning of the title%3$s.","wordpress-seo"),r,this._config.urlCallToAction,"</a>",e)}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag,
%4$s expands to the keyphrase of the article, %5$s expands to the call to action text. */
/* translators: %1$s expands to the title of the "Keyphrase in SEO title" assessment (translated to the current language)
and links to an article on yoast.com. %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag,
%4$s expands to the keyphrase of the article, %5$s expands to the call to action text. */
(0,s.__)('%1$s: Not all the words from your keyphrase "%4$s" appear in the SEO title. %2$s%5$s%3$s.',"wordpress-seo"),r,this._config.urlCallToAction,"</a>",e,n.bad)}}}t.default=c},38827(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(27723),n=r(66087),i=l(r(81840)),a=r(86620),o=l(r(76994));function l(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{constructor(e={}){super();const t={scores:{good:9,okay:6,bad:3},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/33e"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/33f")};this.identifier="introductionKeyword",this._config=(0,n.merge)(t,e)}getResult(e,t){const r=new o.default;this._canAssess=!1,e.hasKeyword()&&e.hasText()&&(this._firstParagraphMatches=t.getResearch("findKeywordInFirstParagraph"),this._canAssess=!0);const s=this.calculateResult();return r.setScore(s.score),r.setText(s.resultText),s.score<9&&r.setHasAIFixes(!0),r}calculateResult(){return this._canAssess?this._firstParagraphMatches.foundInOneSentence?{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in introduction%2$s: Well done!","wordpress-seo"),this._config.urlTitle,"</a>")}:this._firstParagraphMatches.foundInParagraph?{score:this._config.scores.okay,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in introduction%3$s: Your keyphrase or its synonyms appear in the first paragraph of the copy, but not within one sentence. %2$sFix that%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in introduction%3$s: Your keyphrase or its synonyms do not appear in the first paragraph. %2$sMake sure the topic is clear immediately%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in introduction%3$s: %2$sPlease add both a keyphrase and an introduction containing the keyphrase%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}t.default=u},39215(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i,t.getKeywordDensity=function(e,t){return console.warn("This function is deprecated, use getKeyphraseDensity instead."),i(e,t)};var s,n=(s=r(18261))&&s.__esModule?s:{default:s};function i(e,t){const r=t.getHelper("getWordsCustomHelper");let s=0;return s=r?r(e.getText()).length:(0,n.default)(e).length,0===s?{density:0,textLength:0}:{density:t.getResearch("getKeyphraseCount").count/s*100,textLength:s}}},40145(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(27723),n=r(66087),i=c(r(81840)),a=r(86620),o=c(r(7540)),l=c(r(76994)),u=c(r(82840));function c(e){return e&&e.__esModule?e:{default:e}}class d extends i.default{constructor(e={}){super();const t={scores:{good:8,bad:1},urlTitle:(0,a.createAnchorOpeningTag)("https://yoa.st/3a6"),urlCallToAction:(0,a.createAnchorOpeningTag)("https://yoa.st/3a7")};this.identifier="singleH1",this._config=(0,n.merge)(t,e)}getResult(e,t){this._h1s=t.getResearch("h1s");const r=new l.default,s=this.calculateResult();return r.setScore(s.score),r.setText(s.resultText),1===s.score&&r.setHasMarks(!0),r}calculateResult(){return this._h1s.length<=1?{score:this._config.scores.good,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sSingle title%2$s: You don't have multiple H1 headings, well done!","wordpress-seo"),this._config.urlTitle,"</a>")}:this._h1s.length>1?{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sSingle title%3$s: H1s should only be used as your main title. Find all H1s in your text that aren't your main title and %2$schange them to a lower heading level%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:void 0}getMarks(){return this._h1s.map(function(e){return new u.default({original:"<h1>"+e.content+"</h1>",marked:"<h1>"+(0,o.default)(e.content)+"</h1>",position:{startOffset:e.position.startOffset,endOffset:e.position.endOffset,startOffsetBlock:0,endOffsetBlock:e.position.endOffset-e.position.startOffset,clientId:e.position.clientId}})})}}t.default=d},40198(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(27723),n=r(66087),i=d(r(81840)),a=d(r(91416)),o=r(37570),l=r(86620),u=d(r(76994)),c=d(r(82840));function d(e){return e&&e.__esModule?e:{default:e}}class h extends i.default{constructor(e={},t=!1,r=!1){super();const s={recommendedLength:20,slightlyTooMany:25,farTooMany:30,urlTitle:(0,l.createAnchorOpeningTag)("https://yoa.st/34v"),urlCallToAction:(0,l.createAnchorOpeningTag)("https://yoa.st/34w"),countCharacters:!1};this._config=(0,n.merge)(s,e),this._isCornerstone=t,this._isProduct=r,this.identifier="textSentenceLength"}getResult(e,t){const r=t.getResearch("countSentencesFromText");t.getConfig("sentenceLength")&&(this._config=this.getLanguageSpecificConfig(t)),this._config.countCharacters=!!t.getConfig("countCharacters");const s=this.calculatePercentage(r),n=this.calculateScore(s),i=new u.default;return n<9&&i.setHasAIFixes(!0),i.setScore(n),i.setText(this.translateScore(n,s)),i.setHasMarks(s>0),i}getMarks(e,t){const r=t.getResearch("countSentencesFromText");return t.getConfig("sentenceLength")&&(this._config=this.getLanguageSpecificConfig(t)),this.getTooLongSentences(r).map(e=>{const{sentence:t,firstToken:r,lastToken:s}=e,n=r.sourceCodeRange.startOffset,i=s.sourceCodeRange.endOffset;return new c.default({position:{startOffset:n,endOffset:i,startOffsetBlock:n-(t.parentStartOffset||0),endOffsetBlock:i-(t.parentStartOffset||0),clientId:t.parentClientId||"",attributeId:t.parentAttributeId||"",isFirstSection:t.isParentFirstSectionOfBlock||!1}})})}getLanguageSpecificConfig(e){const t=this._config,r=e.getConfig("sentenceLength");return r.hasOwnProperty("recommendedLength")&&(t.recommendedLength=r.recommendedLength),!0===this._isCornerstone&&!1===this._isProduct&&r.hasOwnProperty("cornerstonePercentages")?(0,n.merge)(t,r.cornerstonePercentages):!1===this._isCornerstone&&!1===this._isProduct&&r.hasOwnProperty("percentages")?(0,n.merge)(t,r.percentages):t}translateScore(e,t){if(e>=7)return(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sSentence length%2$s: Great!","wordpress-seo"),this._config.urlTitle,"</a>");const r=(0,s.sprintf)(
/* translators: %1$s and %6$s expand to links on yoast.com, %2$s expands to the anchor end tag,
%3$s expands to percentage of sentences, %4$d expands to the recommended maximum sentence length,
%5$s expands to the recommended maximum percentage. */
/* translators: %1$s and %6$s expand to links on yoast.com, %2$s expands to the anchor end tag,
%3$s expands to percentage of sentences, %4$d expands to the recommended maximum sentence length,
%5$s expands to the recommended maximum percentage. */
(0,s._n)("%1$sSentence length%2$s: %3$s of the sentences contain more than %4$d word, which is more than the recommended maximum of %5$s. %6$sTry to shorten the sentences%2$s.","%1$sSentence length%2$s: %3$s of the sentences contain more than %4$d words, which is more than the recommended maximum of %5$s. %6$sTry to shorten the sentences%2$s.",this._config.recommendedLength,"wordpress-seo"),this._config.urlTitle,"</a>",t+"%",this._config.recommendedLength,this._config.slightlyTooMany+"%",this._config.urlCallToAction),n=(0,s.sprintf)(
/* translators: %1$s and %6$s expand to links on yoast.com, %2$s expands to the anchor end tag,
%3$s expands to percentage of sentences, %4$d expands to the recommended maximum sentence length,
%5$s expands to the recommended maximum percentage. */
/* translators: %1$s and %6$s expand to links on yoast.com, %2$s expands to the anchor end tag,
%3$s expands to percentage of sentences, %4$d expands to the recommended maximum sentence length,
%5$s expands to the recommended maximum percentage. */
(0,s._n)("%1$sSentence length%2$s: %3$s of the sentences contain more than %4$d character, which is more than the recommended maximum of %5$s. %6$sTry to shorten the sentences%2$s.","%1$sSentence length%2$s: %3$s of the sentences contain more than %4$d characters, which is more than the recommended maximum of %5$s. %6$sTry to shorten the sentences%2$s.",this._config.recommendedLength,"wordpress-seo"),this._config.urlTitle,"</a>",t+"%",this._config.recommendedLength,this._config.slightlyTooMany+"%",this._config.urlCallToAction);return this._config.countCharacters?n:r}calculatePercentage(e){let t=0;if(0!==e.length){const r=this.getTooLongSentences(e).length;t=(0,a.default)(r/e.length*100)}return t}calculateScore(e){let t;return e<=this._config.slightlyTooMany&&(t=9),(0,o.inRangeEndInclusive)(e,this._config.slightlyTooMany,this._config.farTooMany)&&(t=6),e>this._config.farTooMany&&(t=3),t}getTooLongSentences(e){return e.filter(e=>e.sentenceLength>this._config.recommendedLength)}}t.default=h},40729(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(27723),n=r(66087),i=g(r(43634)),a=r(86620),o=g(r(59947)),l=g(r(25227)),u=g(r(80411)),c=g(r(74096)),d=g(r(857)),h=g(r(30104)),f=g(r(22876)),p=g(r(98797));function g(e){return e&&e.__esModule?e:{default:e}}const m={callbacks:{bindElementEvents:n.noop,updateSnippetValues:n.noop,saveScores:n.noop,saveContentScore:n.noop,updatedContentResults:n.noop,updatedKeywordsResults:n.noop},sampleText:{baseUrl:"example.org/",snippetCite:"example-post/",title:"",keyword:"Choose a focus keyword",meta:"",text:"Start writing your text!"},queue:["wordCount","keywordDensity","subHeadings","stopwords","fleschReading","linkCount","imageCount","slugKeyword","urlLength","metaDescription","pageTitleKeyword","pageTitleWidth","firstParagraph","'keywordDoubles"],typeDelay:3e3,typeDelayStep:1500,maxTypeDelay:5e3,dynamicDelay:!0,locale:"en_US",translations:{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}},replaceTarget:[],resetTarget:[],elementTarget:[],marker:n.noop,keywordAnalysisActive:!0,contentAnalysisActive:!0,debounceRefresh:!0};t.default=class{constructor(e){(0,n.isObject)(e)||(e={}),(0,n.defaultsDeep)(e,m),function(e){if(!(0,n.isObject)(e.callbacks.getData))throw new o.default("The app requires an object with a getdata callback.");if(!(0,n.isObject)(e.targets))throw new o.default("`targets` is a required App argument, `targets` is not an object.")}(e),this.config=e,!0===e.debouncedRefresh&&(this.refresh=(0,n.debounce)(this.refresh.bind(this),800)),this._pureRefresh=(0,n.throttle)(this._pureRefresh.bind(this),this.config.typeDelay),this.callbacks=this.config.callbacks,this.researcher=this.config.researcher,(0,s.setLocaleData)(this.config.translations.locale_data["wordpress-seo"],"wordpress-seo"),this.initializeAssessors(e),this.pluggable=new u.default(this),this.getData(),this.defaultOutputElement=this.getDefaultOutputElement(e),""!==this.defaultOutputElement&&this.showLoadingDialog(),this._assessorOptions={useCornerStone:!1},this.initAssessorPresenters()}getDefaultOutputElement(e){return e.keywordAnalysisActive?e.targets.output:e.contentAnalysisActive?e.targets.contentOutput:""}changeAssessorOptions(e){this._assessorOptions=(0,n.merge)(this._assessorOptions,e),this.seoAssessor=this.getSeoAssessor(),this.contentAssessor=this.getContentAssessor(),this.initAssessorPresenters(),this.refresh()}getSeoAssessor(){const{useCornerStone:e}=this._assessorOptions;return e?this.cornerStoneSeoAssessor:this.defaultSeoAssessor}getContentAssessor(){const{useCornerStone:e}=this._assessorOptions;return e?this.cornerStoneContentAssessor:this.defaultContentAssessor}initializeAssessors(e){this.initializeSEOAssessor(e),this.initializeContentAssessor(e)}initializeSEOAssessor(e){e.keywordAnalysisActive&&(this.defaultSeoAssessor=new p.default(this.researcher,{marker:this.config.marker}),this.cornerStoneSeoAssessor=new f.default(this.researcher,{marker:this.config.marker}),(0,n.isUndefined)(e.seoAssessor)?this.seoAssessor=this.defaultSeoAssessor:this.seoAssessor=e.seoAssessor)}initializeContentAssessor(e){e.contentAnalysisActive&&(this.defaultContentAssessor=new d.default(this.researcher,{marker:this.config.marker,locale:this.config.locale}),this.cornerStoneContentAssessor=new h.default(this.researcher,{marker:this.config.marker,locale:this.config.locale}),(0,n.isUndefined)(e._contentAssessor)?this.contentAssessor=this.defaultContentAssessor:this.contentAssessor=e._contentAssessor)}extendConfig(e){return e.sampleText=this.extendSampleText(e.sampleText),e.locale=e.locale||"en_US",e}extendSampleText(e){const t=m.sampleText;if((0,n.isUndefined)(e))return t;for(const r in e)(0,n.isUndefined)(e[r])&&(e[r]=t[r]);return e}registerCustomDataCallback(e){this.callbacks.custom||(this.callbacks.custom=[]),(0,n.isFunction)(e)&&this.callbacks.custom.push(e)}getData(){this.rawData=this.callbacks.getData(),(0,n.isArray)(this.callbacks.custom)&&this.callbacks.custom.forEach(e=>Line truncated
(0,s.__)("%1$sInternal links%3$s: No internal links appear in this page, %2$smake sure to add some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.linkStatistics.internalNofollow===this.linkStatistics.internalTotal?{score:this._config.scores.noneInternalFollow,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sInternal links%3$s: The internal links in this page are all nofollowed. %2$sAdd some good internal links%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:this.linkStatistics.internalDofollow===this.linkStatistics.internalTotal?{score:this._config.scores.allInternalFollow,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sInternal links%2$s: You have enough internal links. Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.someInternalFollow,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sInternal links%2$s: There are both nofollowed and normal internal links on this page. Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}}}t.default=u},43447(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"!=typeof e?[]:e.match(r)||[]},t.imageRegex=void 0;const r=t.imageRegex=new RegExp("<img(?:[^>]+)?>(</img>)*","ig")},43460(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createShortcodeTagsRegex",{enumerable:!0,get:function(){return n.createShortcodeTagsRegex}}),Object.defineProperty(t,"filterShortcodesFromHTML",{enumerable:!0,get:function(){return n.filterShortcodesFromHTML}}),Object.defineProperty(t,"normalize",{enumerable:!0,get:function(){return s.normalize}}),Object.defineProperty(t,"processExactMatchRequest",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"removeHtmlBlocks",{enumerable:!0,get:function(){return a.default}});var s=r(37701),n=r(42182),i=o(r(35674)),a=o(r(74096));function o(e){return e&&e.__esModule?e:{default:e}}},43537(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(27723),n=r(66087),i=m(r(7540)),a=m(r(82840)),o=m(r(81840)),l=r(37570),u=r(86620),c=r(23047),d=m(r(14160)),h=m(r(76994)),f=r(49268),p=m(r(74096)),g=r(43460);function m(e){return e&&e.__esModule?e:{default:e}}class _ extends o.default{constructor(e={}){super();const t={parameters:{recommendedMaximumLength:300,slightlyTooMany:300,farTooMany:350},urlTitle:(0,u.createAnchorOpeningTag)("https://yoa.st/34x"),urlCallToAction:(0,u.createAnchorOpeningTag)("https://yoa.st/34y"),scores:{goodShortTextNoSubheadings:9,goodSubheadings:9,okSubheadings:6,badSubheadings:3,badLongTextNoSubheadings:2},cornerstoneContent:!1,countCharacters:!1};this.identifier="subheadingsTooLong",this._config=(0,n.merge)(t,e)}checkTextBeforeFirstSubheadingLength(e){let t={isLong:!1,isVeryLong:!1};if(e.length>0&&""===e[0].subheading&&""!==e[0].text){const r=e[0].countLength;t={isLong:(0,l.inRangeEndInclusive)(r,this._config.parameters.slightlyTooMany,this._config.parameters.farTooMany),isVeryLong:r>this._config.parameters.farTooMany}}return t}getTextLength(e,t){const r=t.getHelper("customCountLength");let s=e.getText();return s=(0,p.default)(s),s=(0,g.filterShortcodesFromHTML)(s,e._attributes&&e._attributes.shortcodes),r?r(s):(0,d.default)(s).length}getResult(e,t){this._subheadingTextsLength=t.getResearch("getSubheadingTextLengths"),t.getConfig("subheadingsTooLong")&&(this._config=this.getLanguageSpecificConfig(t)),this._config.countCharacters=!!t.getConfig("countCharacters"),this._hasSubheadings=this.hasSubheadings(e),this._tooLongTextsNumber=this.getTooLongSubheadingTexts().length,this._textLength=this.getTextLength(e,t);const r=this.checkTextBeforeFirstSubheadingLength(this._subheadingTextsLength);this._subheadingTextsLength=this._subheadingTextsLength.sort((e,t)=>t.countLength-e.countLength);const s=this.calculateResult(r),n=new h.default;return n.setIdentifier(this.identifier),n.setScore(s.score),n.setText(s.resultText),n.setHasMarks(s.hasMarks),n}getLanguageSpecificConfig(e){const t=this._config,r=e.getConfig("subheadingsTooLong");return!0===t.cornerstoneContent&&Object.hasOwn(r,"cornerstoneParameters")?(0,n.merge)(t,r.cornerstoneParameters):(0,n.merge)(t,r.defaultParameters)}hasSubheadings(e){let t=e.getText();return t=(0,p.default)(t),t=(0,g.filterShortcodesFromHTML)(t,e._attributes&&e._attributes.shortcodes),(0,c.getSubheadings)(t).length>0}getMarks(){return this.getTooLongSubheadingTexts().map(({subheading:e})=>{e=(0,f.stripFullTags)(e);const t=(0,i.default)(e);return new a.default({original:e,marked:t,fieldsToMark:["heading"]})}).filter(e=>""!==e.getOriginal())}getTooLongSubheadingTexts(){return this._subheadingTextsLength.filter(e=>e.countLength>this._config.parameters.recommendedMaximumLength)}getFeedbackTexts(){return{beginning:e=>{const t=(0,s.sprintf)(/* translators: %1$s and %3$s expand to links on yoast.com, %2$s expands to the anchor end tag, %4$s expands to the recommended maximum length of a text without subheading. */ /* translators: %1$s and %3$s expand to links on yoast.com, %2$s expands to the anchor end tag, %4$s expands to the recommended maximum length of a text without subheading. */
(0,s._n)("%1$sSubheading distribution%2$s: The beginning of your text is longer than %4$d word and is not separated by any subheadings. %3$sAdd subheadings to improve readability.%2$s","%1$sSubheading distribution%2$s: The beginning of your text is longer than %4$d words and is not separated by any subheadings. %3$sAdd subheadings to improve readability.%2$s",this._config.parameters.recommendedMaximumLength,"wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction,this._config.parameters.recommendedMaximumLength),r=(0,s.sprintf)(/* translators: %1$s and %3$s expand to links on yoast.com, %2$s expands to the anchor end tag, %4$s expands to the recommended maximum length of a text without subheading. */ /* translators: %1$s and %3$s expand to links on yoast.com, %2$s expands to the anchor end tag, %4$s expands to the recommended maximum length of a text without subheading. */
(0,s._n)("%1$sSubheading distribution%2$s: The beginning of your text is longer than %4$d character and is not separated by any subheadings. %3$sAdd subheadings to improve readability.%2$s","%1$sSubheading distribution%2$s: The beginning of your text is longer than %4$d characters and is not separated by any subheadings. %3$sAdd subheadings to improve readability.%2$s",this._config.parameters.recommendedMaximumLength,"wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction,this._config.parameters.recommendedMaximumLength);return e?r:t},nonBeginning:e=>{const t=(0,s.sprintf)(/* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of sections that are too long, %4$s expands to the recommended maximum length of a text without subheading. */ /* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of sections that are too long, %4$s expands to the recommended maximum length of a text without subheading. */
(0,s._n)("%1$sSubheading distribution%2$s: %3$d section of your text is longer than the recommended number of words (%4$d) and is not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.","%1$sSubheading distribution%2$s: %3$d sections of your text are longer than the recommended number of words (%4$d) and are not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.",this._tooLongTextsNumber,"wordpress-seo"),this._config.urlTitle,"</a>",this._tooLongTextsNumber,this._config.parameters.recommendedMaximumLength,this._config.urlCallToAction),r=(0,s.sprintf)(/* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of sections that are too long, %4$s expands to the recommended maximum length of a text without subheading. */ /* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag, %3$d expands to the number of sections that are too long, %4$s expands to the recommended maximum length of a text without subheading. */
(0,s._n)("%1$sSubheading distribution%2$s: %3$d section of your text is longer than the recommended number of characters (%4$d) and is not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.","%1$sSubheading distribution%2$s: %3$d sections of your text are longer than the recommended number of characters (%4$d) and are not separated by any subheadings. %5$sAdd subheadings to improve readability%2$s.",this._tooLongTextsNumber,"wordpress-seo"),this._config.urlTitle,"</a>",this._tooLongTextsNumber,this._config.parameters.recommendedMaximumLength,this._config.urlCallToAction);return e?r:t}}}calculateResultForLongTextWithoutSubheadings(e){const t=this.getFeedbackTexts();if(this._hasSubheadings){if(e.isLong&&this._tooLongTextsNumber<2)return{score:this._config.scores.okSubheadings,hasMarks:!1,resultText:t.beginning(this._config.countCharacters)};if(e.isVeryLong&&this._tooLongTextsNumber<2)return{score:this._config.scores.badSubheadings,hasMarks:!1,resultText:t.beginning(this._config.countCharacters)};const r=this._subheadingTextsLength[0].countLength;return r<=this._config.parameters.slightlyTooMany?{score:this._config.scores.goodSubheadings,hasMarks:!1,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sSubheading distribution%2$s: Great job!","wordpress-seo"),this._config.urlTitle,"</a>")}:(0,l.inRangeEndInclusive)(r,this._config.parameters.slightlyTooMany,this._config.parameters.farTooMany)?{score:this._config.scores.okSubheadings,hasMarks:!0,resultText:t.nonBeginning(this._config.countCharacters)}:{score:this._config.scores.badSubheadings,hasMarks:!0,resultText:t.nonBeginning(this._config.countCharacters)}}return{score:this._config.scores.badLongTextNoSubheadings,hasMarks:!1,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sSubheading distribution%2$s: You are not using any subheadings, although your text is rather long. %3$sTry and add some subheadings%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction)}}calculateResult(e){return this._textLength>this._config.parameters.recommendedMaximumLength?this.calculateResultForLongTextWithoutSubheadings(e):this._hasSubheadings?{score:this._config.scores.goodSubheadings,hasMarks:!1,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sSubheading distribution%2$s: Great job!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.goodShortTextNoSubheadings,hasMarks:!1,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sSubheading distribution%2$s: You are not using any subheadings, but your text is short enough and probably doesn't need them.","wordpress-seo"),this._config.urlTitle,"</a>")}}}t.default=_},43634(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(66087),n=a(r(28092)),i=a(r(99777));function a(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e){this.keyword=e.keyword,this.assessor=e.assessor,this.output=e.targets.output,this.overall=e.targets.overall||"overallScore",this.presenterConfig=(0,i.default)(),this._disableMarkerButtons=!1,this._activeMarker=!1}setKeyword(e){this.keyword=e}configHasProperty(e){return this.presenterConfig.hasOwnProperty(e)}getIndicator(e){return{className:this.getIndicatorColorClass(e),screenReaderText:this.getIndicatorScreenReaderText(e),fullText:this.getIndicatorFullText(e),screenReaderReadabilityText:this.getIndicatorScreenReaderReadabilityText(e)}}getIndicatorColorClass(e){return this.configHasProperty(e)?this.presenterConfig[e].className:""}getIndicatorScreenReaderText(e){return this.configHasProperty(e)?this.presenterConfig[e].screenReaderText:""}getIndicatorScreenReaderReadabilityText(e){return this.configHasProperty(e)?this.presenterConfig[e].screenReaderReadabilityText:""}getIndicatorFullText(e){return this.configHasProperty(e)?this.presenterConfig[e].fullText:""}resultToRating(e){return(0,s.isObject)(e)?(e.rating=(0,n.default)(e.score),e):""}getIndividualRatings(){const e={},t=this.sort(this.assessor.getValidResults()).map(this.resultToRating);return(0,s.forEach)(t,function(t,r){e[r]=this.addRating(t)}.bind(this)),e}excludeFromResults(e,t){return(0,s.difference)(e,t)}sort(e){const t=this.getUndefinedScores(e),r=this.excludeFromResults(e,t);return r.sort(function(e,t){return e.score-t.score}),t.concat(r)}getUndefinedScores(e){return e.filter(function(e){return(0,s.isUndefined)(e.score)||0===e.score})}addRating(e){const t=this.getIndicator(e.rating);return t.text=e.text,t.identifier=e.getIdentifier(),e.hasMarker()&&(t.marker=e.getMarker()),t}getOverallRating(e){let t=0;return""===this.keyword||(0,s.isNumber)(e)&&(t=e/10),this.resultToRating({score:t})}markAssessment(e,t){this._activeMarker===e?(this.removeAllMarks(),this._activeMarker=!1):(t(),this._activeMarker=e),this.render()}disableMarker(){this._activeMarker=!1,this.render()}disableMarkerButtons(){this._disableMarkerButtons=!0,this.render()}enableMarkerButtons(){this._disableMarkerButtons=!1,this.render()}addMarkerEventHandler(e,t){document.getElementById(this.output).getElementsByClassName("js-assessment-results__mark-"+e)[0].addEventListener("click",this.markAssessment.bind(this,e,t))}render(){this.renderIndividualRatings(),this.renderOverallRating()}bindMarkButtons(e){(0,s.forEach)(e,function(e){e.hasOwnProperty("marker")&&this.addMarkerEventHandler(e.identifier,e.marker)}.bind(this))}removeAllMarks(){this.assessor.getSpecificMarker()(this.assessor.getPaper(),[])}renderIndividualRatings(){}renderOverallRating(){const e=this.getOverallRating(this.assessor.calculateOverallScore()),t=document.getElementById(this.overall);t&&(t.className="overallScore "+this.getIndicatorColorClass(e.rating))}}},43689(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,n.default)(e,t);let s=0;for(let e=0;e<r.length;e++)s++;return s};var s,n=(s=r(32132))&&s.__esModule?s:{default:s}},44023(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(9011),n=r(70563);const i=[{identifier:"homosexuals",nonInclusivePhrases:["homosexuals"],inclusiveAlternatives:"<i>gay people, queer people, lesbians, gay men, people in same-gender relationships</i>",score:s.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,"Be as specific possible and use people's preferred labels if they are known."].join(" ")}];i.forEach(e=>{e.category="sexualOrientation",e.learnMoreUrl="https://yoa.st/inclusive-language-orientation"}),t.default=i},44638(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getConfig("passiveConstructionType");return"periphrastic"===r?d(e,t):"morphological"===r?c(e,t):function(e,t){const r=c(e,t),s=d(e,t).passives;return{total:r.total,passives:s.concat(r.passives)}}(e,t)},t.getPeriphrasticPassives=t.getMorphologicalPassives=void 0;var s=u(r(32132)),n=r(49268),i=u(r(88964)),a=r(66087),o=u(r(74096)),l=r(43460);function u(e){return e&&e.__esModule?e:{default:e}}const c=function(e,t){const r=t.getHelper("isPassiveSentence");let u=e.getText();u=(0,o.default)(u),u=(0,l.filterShortcodesFromHTML)(u,e._attributes&&e._attributes.shortcodes);const c=t.getHelper("memoizedTokenizer"),d=(0,s.default)(u,c).map(function(e){return new i.default(e)}),h=d.length,f=[];return(0,a.forEach)(d,function(e){const t=(0,n.stripFullTags)(e.getSentenceText()).toLocaleLowerCase();e.setPassive(r(t)),!0===e.isPassive()&&f.push(e.getSentenceText(Line truncated
(0,s.__)("%1$sParagraph length%2$s: There are no paragraphs that are too long. Great job!","wordpress-seo"),t.urlTitle,"</a>")),n;const a=(0,s.sprintf)(
/* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag,
%3$d expands to the number of paragraphs over the recommended limit, %4$d expands to the limit. */
/* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag,
%3$d expands to the number of paragraphs over the recommended limit, %4$d expands to the limit. */
(0,s._n)("%1$sParagraph length%2$s: %3$d of the paragraphs contains more than the recommended maximum number of words (%4$d). %5$sShorten your paragraphs%2$s!","%1$sParagraph length%2$s: %3$d of the paragraphs contain more than the recommended maximum number of words (%4$d). %5$sShorten your paragraphs%2$s!",r.length,"wordpress-seo"),t.urlTitle,"</a>",r.length,t.parameters.recommendedLength,t.urlCallToAction),l=(0,s.sprintf)(
/* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag,
%3$d expands to the number of paragraphs over the recommended limit, %4$d expands to the limit. */
/* translators: %1$s and %5$s expand to links on yoast.com, %2$s expands to the anchor end tag,
%3$d expands to the number of paragraphs over the recommended limit, %4$d expands to the limit. */
(0,s._n)("%1$sParagraph length%2$s: %3$d of the paragraphs contains more than the recommended maximum number of characters (%4$d). %5$sShorten your paragraphs%2$s!","%1$sParagraph length%2$s: %3$d of the paragraphs contain more than the recommended maximum number of characters (%4$d). %5$sShorten your paragraphs%2$s!",r.length,"wordpress-seo"),t.urlTitle,"</a>",r.length,t.parameters.recommendedLength,t.urlCallToAction);return n.setHasMarks(!0),n.setText(t.countCharacters?l:a),n.setHasAIFixes(!0),n}getMarks(e,t){const r=t.getResearch("getParagraphLength");return this.getTooLongParagraphs(r,this.getConfig(t)).flatMap(({paragraph:e})=>{const t=e.sourceCodeLocation;return new l.default({position:{startOffset:t.startTag?t.startTag.endOffset:t.startOffset,endOffset:t.endTag?t.endTag.startOffset:t.endOffset,startOffsetBlock:0,endOffsetBlock:t.endOffset-t.startOffset,clientId:e.clientId||"",attributeId:e.attributeId||"",isFirstSection:e.isFirstSection||!1}})})}getResult(e,t){const r=t.getResearch("getParagraphLength");return this._config.countCharacters=!!t.getConfig("countCharacters"),this.calculateResult(r,this.getConfig(t))}}t.default=d},49258(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.measureTextWidth=void 0;const r="yoast-measurement-element";t.measureTextWidth=function(e){let t=document.getElementById(r);return t||(t=function(){const e=document.createElement("div");return e.id=r,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}},49268(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripIncompleteTags=t.stripFullTags=t.stripBlockTagsAtStartEnd=t.default=void 0;var s,n=(s=r(86715))&&s.__esModule?s:{default:s},i=r(30267);const a=new RegExp("^<("+i.blockElements.join("|")+")[^>]*?>","i"),o=new RegExp("</("+i.blockElements.join("|")+")[^>]*?>$","i"),l=function(e){return(e=e.replace(/^(<\/([^>]+)>)+/i,"")).replace(/(<([^/>]+)>)+$/i,"")};t.stripIncompleteTags=l;const u=function(e){return(e=e.replace(a,"")).replace(o,"")};t.stripBlockTagsAtStartEnd=u;const c=function(e){return e=e.replace(/(<([^>]+)>)/gi," "),(0,n.default)(e)};t.stripFullTags=c,t.default={stripFullTags:c,stripIncompleteTags:l,stripBlockTagsAtStartEnd:u}},49380(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filterIndices=t.default=void 0,t.getIndicesByWord=o,t.sortIndices=t.getIndicesByWordListSorted=t.getIndicesByWordList=void 0;var s,n=r(66087),i=(s=r(86715))&&s.__esModule?s:{default:s},a=r(69346);function o(e,t){let r=0;const s=e.length;let n;const i=[];for(;(n=t.indexOf(e,r))>-1;){const o=(0,a.characterInBoundary)(t[n-1])||0===n,l=(0,a.characterInBoundary)(t[n+s])||t.length===n+s;o&&l&&i.push({index:n,match:e}),r=n+s}return i}const l=function(e,t){let r=[];return(0,n.forEach)(e,function(e){e=(0,i.default)(e),(0,a.isWordInSentence)(e,t)&&(r=r.concat(o(e,t)))}),r};t.getIndicesByWordList=l;const u=function(e){return e.sort(function(e,t){return e.index-t.index})};t.sortIndices=u;const c=function(e){e=u(e);const t=[];for(let r=0;r<e.length;r++)!(0,n.isUndefined)(e[r+1])&&e[r+1].index<e[r].index+e[r].match.length?(t.push(e[r]),r++):t.push(e[r]);return t};t.filterIndices=c;const d=function(e,t){let r=[];return(0,n.forEach)(e,function(e){if(e=(0,i.default)(e),!(0,a.isWordInSentence)(e,t))return r;r=r.concat(o(e,t))}),r=r.sort(function(e,t){return e.index<t.index?-1:e.index>t.index?1:0}),r};t.getIndicesByWordListSorted=d,t.default={getIndicesByWord:o,getIndicesByWordList:l,filterIndices:c,sortIndices:u,getIndicesByWordListSorted:d}},49607(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},49677(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.showTrace=n;var s=r(66087);function n(e){(0,s.isUndefined)(e)&&(e=""),(0,s.isUndefined)(console)||(0,s.isUndefined)(console.trace)||console.trace(e)}t.default={showTrace:n}},49699(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=h(r(98797)),n=h(r(37994)),i=h(r(91374)),a=h(r(3093)),o=h(r(38476)),l=h(r(89779)),u=h(r(33514)),c=h(r(93474)),d=r(86620);function h(e){return e&&e.__esModule?e:{default:e}}class f extends s.default{constructor(e,t){super(e,t),this.type="storeBlogSEOAssessor",this._assessments=[new n.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify10"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify11")}),new i.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify14"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify15")}),new a.default({urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify46"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/shopify47")}),new o.default({urlTitle:(0,d.createAnchorOpeningTagLine truncated
(0,s.__)("An error occurred in the '%1$s' assessment","wordpress-seo"),r.identifier,e))}return n}getValidResults(){return this.results.filter(e=>this.isValidResult(e))}isValidResult(e){return e.hasScore()&&e.hasText()}calculateOverallScore(){const e=this.getValidResults(),t=e.reduce((e,t)=>e+t.getScore(),0);return Math.round(t/(9*e.length)*100)||0}addAssessment(e,t){return Object.hasOwn(t,"identifier")||(t.identifier=e),this.getAssessment(t.identifier)&&this.removeAssessment(t.identifier),this._assessments.push(t),!0}removeAssessment(e){const t=this._assessments.findIndex(t=>Object.hasOwn(t,"identifier")&&e===t.identifier);-1!==t&&this._assessments.splice(t,1)}getAssessment(e){return this._assessments.find(t=>Object.hasOwn(t,"identifier")&&e===t.identifier)}getApplicableAssessments(){return this.getAvailableAssessments().filter(e=>this.isApplicable(e,this.getPaper(),this._researcher))}getScoreAggregator(){return this._scoreAggregator}}},50352(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=["“","”","〝","〞","〟","‟","„",'"',"「","」","『","』"]},50778(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=d(r(52218)),n=d(r(91583)),i=d(r(4031)),a=d(r(1634)),o=d(r(92545)),l=d(r(99724)),u=d(r(79997)),c=d(r(44023));function d(e){return e&&e.__esModule?e:{default:e}}t.default=[...s.default,...n.default,...i.default,...a.default,...o.default,...l.default,...u.default,...c.default]},50946(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=(0,a.default)(e),o=t.getResearch("morphology"),l=t.getHelper("matchWordCustomHelper");return function(e,t,r,a){const o={noAlt:0,withAlt:0,withAltKeyword:0,withAltNonKeyword:0};return e.forEach(e=>{const l=(0,s.default)(e);""!==l?(0,i.isEmpty)(t.keyphraseForms)?o.withAlt++:(0,n.findTopicFormsInString)(t,l,!0,r,a).percentWordMatches>=50?o.withAltKeyword++:o.withAltNonKeyword++:o.noAlt++}),o}(r,o,e.getLocale(),l)};var s=o(r(61547)),n=r(95687),i=r(66087),a=o(r(73895));function o(e){return e&&e.__esModule?e:{default:e}}},50994(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(66087),n=u(r(8905)),i=r(37701),a=u(r(28878)),o=u(r(83570)),l=u(r(23775));function u(e){return e&&e.__esModule?e:{default:e}}const c=new RegExp("^[.]$"),d=/^<[^><]*$/,h=/^<([^>\s/]+)[^>]*>$/im,f=/^<\/([^>\s]+)[^>]*>$/im,p=/^\s*[[({]\s*$/,g=/^\s*[\])}]\s*$/,m=a.default.map(e=>e.replace(".","\\.")),_=(0,o.default)(m),y="(^|$|["+(0,l.default)().map(e=>"\\"+e).join("")+"])",T=new RegExp(y+"[A-Za-z]$"),E=/<\/?([^\s]+?)(\s|>)/,v=["p","div","h1","h2","h3","h4","h5","h6","span","li","main"];t.default=class{constructor(){this.sentenceDelimiters='”〞〟„』›»’‛`"?!…۔؟'}getSentenceDelimiters(){return this.sentenceDelimiters}isNumber(e){return!(0,s.isNaN)(parseInt(e,10))}isBreakTag(e){return/<\/?br/.test(e)}isQuotation(e){return"'"===(e=(0,i.normalize)(e))||'"'===e}endsWithOrdinalDot(){return!1}isPunctuation(e){return"¿"===e||"¡"===e}removeDuplicateWhitespace(e){return e.replace(/\s+/," ")}isCapitalLetter(e){return e!==e.toLocaleLowerCase()}isSmallerThanSign(e){return"<"===e}getNextTwoCharacters(e){let t="";return(0,s.isUndefined)(e[0])||(t+=e[0].src),(0,s.isUndefined)(e[1])||(t+=e[1].src),t=this.removeDuplicateWhitespace(t),t}isLetterFromSpecificLanguage(e){return[/^[\u0590-\u05fe]+$/i,/^[\u0600-\u06FF]+$/i,/^[\uFB8A\u067E\u0686\u06AF]+$/i].some(t=>t.test(e))}isValidSentenceBeginning(e){return this.isCapitalLetter(e)||this.isLetterFromSpecificLanguage(e)||this.isNumber(e)||this.isQuotation(e)||this.isPunctuation(e)||this.isSmallerThanSign(e)}isSentenceStart(e){return!(0,s.isUndefined)(e)&&("html-start"===e.type||"html-end"===e.type||"block-start"===e.type)}isSentenceEnding(e){return!(0,s.isUndefined)(e)&&("full-stop"===e.type||"sentence-delimiter"===e.type)}isPartOfPersonInitial(e,t,r,n){return!(0,s.isUndefined)(e)&&!(0,s.isUndefined)(r)&&!(0,s.isUndefined)(n)&&!(0,s.isUndefined)(t)&&"full-stop"===e.type&&"sentence"===t.type&&T.test(t.src)&&"sentence"===r.type&&1===r.src.trim().length&&"full-stop"===n.type}tokenizeSmallerThanContent(e,t,r){const n=e.src.substring(1),i=this.createTokenizer();this.tokenize(i.tokenizer,n);const a=this.getSentencesFromTokens(i.tokens,!1);if(a[0]=(0,s.isUndefined)(a[0])?"<":"<"+a[0],this.isValidSentenceBeginning(a[0])&&(t.push(r),r=""),r+=a[0],a.length>1){t.push(r),r="",a.shift();const e=a.pop();a.forEach(e=>{t.push(e)});const s=new RegExp("[."+this.getSentenceDelimiters()+"]$");e.match(s)?t.push(e):r=e}return{tokenSentences:t,currentSentence:r}}createTokenizer(){const e=new RegExp("^["+this.getSentenceDelimiters()+"]$"),t=new RegExp("^[^."+this.getSentenceDelimiters()+"<\\(\\)\\[\\]]+$"),r=[],s=(0,n.default)(function(e){r.push(e)});return s.addRule(c,"full-stop"),s.addRule(d,"smaller-than-sign-content"),s.addRule(h,"html-start"),s.addRule(f,"html-end"),s.addRule(p,"block-start"),s.addRulLine truncated
(0,s.__)("%1$sImages and videos%3$s: No images or videos appear on this page. %2$sAdd some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sImages%3$s: No images appear on this page. %2$sAdd some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")};if(this._config.scores.okay){if((0,i.inRangeStartEndInclusive)(e,1,3)&&!this._countVideos)return{score:this._config.scores.okay,resultText:(0,s.sprintf)(
/* translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
* %1$d expands to the number of images found in the text,
* %2$d expands to the recommended number of images in the text, */
/* translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
* %1$d expands to the number of images found in the text,
* %2$d expands to the recommended number of images in the text, */
(0,s._n)("%3$sImages%5$s: Only %1$d image appears on this page. We recommend at least %2$d. %4$sAdd more relevant images%5$s!","%3$sImages%5$s: Only %1$d images appear on this page. We recommend at least %2$d. %4$sAdd more relevant images%5$s!",e,"wordpress-seo"),e,this._config.recommendedCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")};if((0,i.inRangeStartEndInclusive)(e,1,3)&&this._countVideos)return{score:this._config.scores.okay,resultText:(0,s.sprintf)(
/* translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
* %1$d expands to the number of images found in the text,
* %2$d expands to the recommended number of images in the text, */
/* translators: %3$s and %4$s expand to links on yoast.com, %5$s expands to the anchor end tag,
* %1$d expands to the number of images found in the text,
* %2$d expands to the recommended number of images in the text, */
(0,s._n)("%3$sImages and videos%5$s: Only %1$d image or video appears on this page. We recommend at least %2$d. %4$sAdd more relevant images or videos%5$s!","%3$sImages and videos%5$s: Only %1$d images or videos appear on this page. We recommend at least %2$d. %4$sAdd more relevant images or videos%5$s!",e,"wordpress-seo"),e,this._config.recommendedCount,this._config.urlTitle,this._config.urlCallToAction,"</a>")}}return this._countVideos?{score:this._config.scores.good,resultText:(0,s.sprintf)(
/* translators: %1$s expands to a link on yoast.com,
* %2$s expands to the anchor end tag. */
/* translators: %1$s expands to a link on yoast.com,
* %2$s expands to the anchor end tag. */
(0,s.__)("%1$sImages and videos%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:this._config.scores.good,resultText:(0,s.sprintf)(
/* translators: %1$s expands to a link on yoast.com,
* %2$s expands to the anchor end tag. */
/* translators: %1$s expands to a link on yoast.com,
* %2$s expands to the anchor end tag. */
(0,s.__)("%1$sImages%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>")}}}t.default=c},52104(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLanguagesWithWordFormSupport=function(){return["en","de","es","fr","it","nl","ru","id","pt","pl","ar","sv","he","hu","nb","tr","cs","sk","el","ja"]}},52218(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(70563),i=r(86689),a=r(84617),o=r(12679),l=r(89511),u=r(9011),c=(s=r(48319))&&s.__esModule?s:{default:s},d=r(51212);const h=[{identifier:"seniorCitizen",nonInclusivePhrases:["senior citizen"],inclusiveAlternatives:["<i>older person, older citizen</i>","<i>person older than 70</i>"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,i.specificAgeGroup].join(" ")},{identifier:"seniorCitizens",nonInclusivePhrases:["senior citizens"],inclusiveAlternatives:["<i>older people, older citizens</i>","<i>people older than 70</i>"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,i.specificAgeGroup].join(" ")},{identifier:"agingDependants",nonInclusivePhrases:["aging dependants"],inclusiveAlternatives:["<i>older people</i>","<i>people older than 70</i>"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,i.specificAgeGroup].join(" ")},{identifier:"elderly",nonInclusivePhrases:["elderly"],inclusiveAlternatives:["<i>older people</i>","<i>people older than 70</i>"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,i.specificAgeGroup].join(" ")},{identifier:"senile",nonInclusivePhrases:["senile"],inclusiveAlternatives:"a specific characteristic or experience if it is known (e.g. <i>has Alzheimer's</i>)",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"senility",nonInclusivePhrases:["senility"],inclusiveAlternatives:"<i>dementia</i>",score:u.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"seniors",nonInclusivePhrases:["seniors"],inclusiveAlternatives:["<i>older people</i>","<i>people older than 70</i>"],score:u.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,i.specificAgeGroup].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,a.isNotPrecededByException)(e,["high school","college","graduating","juniors and"])).filter((0,o.isNotFollowedByException)(e,t,["in high school","in college","who are graduating"])),ruleDescription:(0,d.notPrecededAndNotFollowed)(["high school","college","graduating","juniors and"],["in high school","in college","who are graduating"])},{identifier:"theAged",nonInclusivePhrases:["the aged"],inclusiveAlternatives:["<i>older people</i>","<i>people older than 70</i>"],score:u.SCORES.NON_INCLUSIVE,feedbackFormat:[n.redHarmful,i.specificAgeGroup].join(" "),rule:(e,t)=>(0,l.includesConsecutiveWords)(e,t).filter((0,c.default)(e,t)),ruleDescription:d.nonInclusiveWhenStandalone}];h.forEach(e=>{e.category="age",e.learnMoreUrl="https://yoa.st/inclusive-language-age"}),t.default=h},52231(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TopicFormsResult=void 0,t.default=function(e,t){const r=t.getConfig("functionWords"),s=t.getHelper("getStemmer")(t),i=t.getHelper("createBasicWordForms"),l=t.getConfig("language"),f=t.getConfig("areHyphensWordBoundaries"),p=(0,a.default)(e,f).map(e=>e.toLocaleLowerCase(l));return((e,t,r,s,i,a,o)=>{const l=(0,n.collectStems)(e,t,i,s,o),f=l.keyphraseStems,p=l.synonymsStems;if(0===f.stemOriginalPairs.length&&0===p.length)return new c;if([f,...p].every(e=>!0===e.exactMatch))return new c([[f.stemOriginalPairs[0].stem]],p.map(e=>[[e.stemOriginalPairs[0].stem]]));const g=[...new Set(d(f,p))],m=[...new Set(r.filter(e=>!s.includes(e)))].map(e=>new n.StemOriginalPair(i(e),e)).filter(e=>g.includes(e.stem)).sort((e,t)=>e.stem.localeCompare(t.stem)).reduce((e,t)=>{const r=e[e.length-1];return 0===e.length||r.stem!==t.stem?e.push(new u(t.stem,[t.original])):r.forms.push(t.original),e},[]);return new c(h(f,m,a),p.map(e=>h(e,m,a)))})(e.getKeyword().toLocaleLowerCase(l).trim(),(0,o.default)(e.getSynonyms().toLocaleLowerCase(l).trim()),p,r,s,i,f)};var s=r(37701),n=r(74648),i=r(66087),a=l(r(41641)),o=l(r(54927));function l(e){return e&&e.__esModule?e:{default:e}}class u{constructor(e,t){this.stem=e,this.forms=t}}class c{constructor(e=[],t=[]){this.keyphraseForms=e,this.synonymsForms=t}}t.TopicFormsResult=c;const d=(e,t)=>{const r=0===e.stemOriginalPairs.length?[]:e.getStems(),s=0===t.length?[]:t.map(e=>e.getStems());return[...r,...(0,i.flattenDeep)(s)]},h=(e,t,r)=>0===e.stemOriginalPairs.length?[]:e.exactMatch?[[e.stemOriginalPairs[0].stem]]:e.stemOriginalPairs.map(e=>((e,t,r)=>{const n=t.find(t=>t.stem===e.stem),a=(0,s.normalizeSingle)((0,i.escapeRegExp)(e.original)),o=n?[a,...n.forms]:[a];return r&&o.push(...r(e.original)),[...new Set(o)]})(e,t,r))},52371(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WORD_BOUNDARY_WITH_HLine truncated
/* translators: %1$s and %3$s expand to links to articles on Yoast.com,
%2$s expands to the anchor end tag*/
/* translators: %1$s and %3$s expand to links to articles on Yoast.com,
%2$s expands to the anchor end tag*/
(0,s.__)("%1$sNot enough content%2$s: %3$sPlease add some content to enable a good analysis%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction)),e.setScore(3),e}return new i.default}}t.default=u},60761(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(65115))&&s.__esModule?s:{default:s};const i=/([\s\t\u00A0\u2013\u2014\u002d[\]]|#nbsp;)/;t.default=e=>{if(!e)return[];const t=e.split(i).filter(e=>""!==e);return(0,n.default)(t)}},60969(e,t,r){"use strict";var s=r(62795),n=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:s.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},o=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,r,s){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,o=r.depth>0&&/(\[[^[\]]*])/.exec(i),u=o?i.slice(0,o.index):i,c=[];if(u){if(!r.plainObjects&&n.call(Object.prototype,u)&&!r.allowPrototypes)return;c.push(u)}for(var d=0;r.depth>0&&null!==(o=a.exec(i))&&d<r.depth;){if(d+=1,!r.plainObjects&&n.call(Object.prototype,o[1].slice(1,-1))&&!r.allowPrototypes)return;c.push(o[1])}return o&&c.push("["+i.slice(o.index)+"]"),function(e,t,r,s){for(var n=s?t:l(t,r),i=e.length-1;i>=0;--i){var a,o=e[i];if("[]"===o&&r.parseArrays)a=[].concat(n);else{a=r.plainObjects?Object.create(null):{};var u="["===o.charAt(0)&&"]"===o.charAt(o.length-1)?o.slice(1,-1):o,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&o!==u&&String(c)===u&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(a=[])[c]=n:"__proto__"!==u&&(a[u]=n):a={0:n}}n=a}return n}(c,t,r,s)}};e.exports=function(e,t){var r=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||s.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var r,u={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,h=c.split(t.delimiter,d),f=-1,p=t.charset;if(t.charsetSentinel)for(r=0;r<h.length;++r)0===h[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===h[r]?p="utf-8":"utf8=%26%2310003%3B"===h[r]&&(p="iso-8859-1"),f=r,r=h.length);for(r=0;r<h.length;++r)if(r!==f){var g,m,_=h[r],y=_.indexOf("]="),T=-1===y?_.indexOf("="):y+1;-1===T?(g=t.decoder(_,a.decoder,p,"key"),m=t.strictNullHandling?null:""):(g=t.decoder(_.slice(0,T),a.decoder,p,"key"),m=s.maybeMap(l(_.slice(T+1),t),function(e){return t.decoder(e,a.decoder,p,"value")})),m&&t.interpretNumericEntities&&"iso-8859-1"===p&&(m=o(m)),_.indexOf("[]=")>-1&&(m=i(m)?[m]:m),n.call(u,g)?u[g]=s.combine(u[g],m):u[g]=m}return u}(e,r):e,d=r.plainObjects?Object.create(null):{},h=Object.keys(c),f=0;f<h.length;++f){var p=h[f],g=u(p,c[p],r,"string"==typeof e);d=s.merge(d,g,r)}return!0===r.allowSparse?d:s.compact(d)}},61270(e,t,r){var s;e=r.nmd(e),function(){t&&t.nodeType,e&&e.nodeType;var n="object"==typeof globalThis&&globalThis;n.global!==n&&n.window!==n&&n.self;var i,a=2147483647,o=36,l=/^xn--/,u=/[^\x20-\x7E]/,c=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,f=String.fromCharCode;function p(e){throw new RangeError(d[e])}function g(e,t){for(var r=e.length,s=[];r--;)s[rLine truncated
(0,s._n)("%2$sText length%3$s: The text contains %1$d word.","%2$sText length%3$s: The text contains %1$d words.",t,"wordpress-seo"),t,this._config.urlTitle,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of characters, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s._n)("%2$sText length%3$s: The text contains %1$d character.","%2$sText length%3$s: The text contains %1$d characters.",t,"wordpress-seo"),t,this._config.urlTitle,"</a>");return e?n:r},good:e=>(0,s.sprintf)(/* translators: %1$s expands to the sentence "The text contains X word(s)." or "The text contains X character(s)." */ /* translators: %1$s expands to the sentence "The text contains X word(s)." or "The text contains X character(s)." */
(0,s.__)("%1$s Good job!","wordpress-seo"),e),slightlyBelow:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The text contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of words, %2$s expands to the sentence "The text contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s This is slightly below the recommended minimum of %1$d word. %3$sAdd more content%4$s.","%2$s This is slightly below the recommended minimum of %1$d words. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The text contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The text contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s This is slightly below the recommended minimum of %1$d character. %3$sAdd more content%4$s.","%2$s This is slightly below the recommended minimum of %1$d characters. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>");return e?n:r},below:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The text contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of words, %2$s expands to the sentence "The text contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s This is below the recommended minimum of %1$d word. %3$sAdd more content%4$s.","%2$s This is below the recommended minimum of %1$d words. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The text contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The text contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s This is below the recommended minimum of %1$d character. %3$sAdd more content%4$s.","%2$s This is below the recommended minimum of %1$d characters. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>");return e?n:r},farBelow:(e,t)=>{const r=(0,s.sprintf)(/* translators: %1$d expands to the number of words, %2$s expands to the sentence "The text contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of words, %2$s expands to the sentence "The text contains X word(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s This is far below the recommended minimum of %1$d word. %3$sAdd more content%4$s.","%2$s This is far below the recommended minimum of %1$d words. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>"),n=(0,s.sprintf)(/* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The text contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */ /* translators: %1$d expands to the number of characters, %2$s expands to the sentence "The text contains X character(s).", %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag. */
(0,s._n)("%2$s This is far below the recommended minimum of %1$d character. %3$sAdd more content%4$s.","%2$s This is far below the recommended minimum of %1$d characters. %3$sAdd more content%4$s.",this._config.recommendedMinimum,"wordpress-seo"),this._config.recommendedMinimum,t,this._config.urlCallToAction,"</a>");return e?n:r}}}calculateTaxonomyResult(e){const t=this.getFeedbackTexts(),r=t.firstSentence(this._config.countCharacters,e);return e>=this._config.recommendedMinimum?{score:this._config.scores.recommendedMinimum,resultText:t.good(r)}:(0,n.inRange)(e,this._config.slightlyBelowMinimum,this._config.recommendedMinimum)?{score:this._config.scores.slightlyBelowMinimum,resultText:t.slightlyBelow(this._config.countCharacters,r)}:(0,n.inRange)(e,this._config.veryFarBelowMinimum,this._config.slightlyBelowMinimum)?{score:this._config.scores.belowMinimum,resultText:t.below(this._config.countCharacters,r)}:{score:this._config.scores.veryFarBelowMinimum,resultText:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$sText length%3$s: %2$sPlease add some content%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}calculateResult(e){if(["taxonomyAssessor","collectionSEOAssessor","collectionCornerstoneSEOAssessor"].includes(this._config.customContentType))return this.calculateTaxonomyResult(e);const t=this.getFeedbackTexts(),r=t.firstSentence(this._config.countCharacters,e);if(e>=this._config.recommendedMinimum)return{score:this._config.scores.recommendedMinimum,resultText:t.good(r)};if((0,n.inRange)(e,0,this._config.belowMinimum)){let s=this._config.scores.farBelowMinimum;return(0,n.inRange)(e,0,this._config.veryFarBelowMinimum)&&(s=this._config.scores.veryFarBelowMinimum),{score:s,resultText:t.farBelow(this._config.countCharacters,r)}}return(0,n.inRange)(e,this._config.slightlyBelowMinimum,this._config.recommendedMinimum)?!1===this._config.cornerstoneContent?{score:this._config.scores.slightlyBelowMinimum,resultText:t.slightlyBelow(this._config.countCharacters,r)}:{score:this._config.scores.slightlyBelowMinimum,resultText:t.below(this._config.countCharacters,r)}:{score:this._config.scores.belowMinimum,resultText:t.below(this._config.countCharacters,r)}}}t.default=u},64152(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e._attributes.wpBlocks||[];n.lastIndex=0,i(r,e.getText());const s=(e=>{const t=e._attributes.wpBlocks,r=[];return t&&t.length>0?(t.forEach(e=>{if(e.innerBlocks.length>0){const t=e.innerBlocks;r.push(e,...t)}else r.push(e)}),r):[]})(e);a(t,s,void 0)},t.updateBlocksOffset=i;var s=r(66087);const n=/<!--\s+wp:([a-z][a-z0-9_-]*\/)?([a-z][a-z0-9_-]*)\s+({(?:(?=([^}]+|}+(?=})|(?!}\s+\/?-->)[^])*)\5|[^]*?)}\s+)?(\/)?-->/g;function i(e,t){0!==e.length&&e.forEach((r,s)=>{const a=n.exec(t);if("core/freeform"===r.name){const t=e[s-1];if(t){const e=t.endOffset+2;r.startOffset=e,r.endOffset=e+r.blockLength,r.contentOffset=e}else r.startOffset=0,r.endOffset=0+r.blockLength,r.contentOffset=0}else{if(null===a)return;const[e]=a,t=a.index,s=e.length;r.startOffset=t,r.endOffset=t+r.blockLength,r.contentOffset=t+s+1}r.innerBlocks&&r.innerBlocks.length>0&&i(r.innerBlocks,t)})}function a(e,t,r){if(!e)return;let n=r;if(e.sourceCodeLocation&&!(0,s.isUndefined)(e.sourceCodeLocation.startOffset)){const r=t.find(t=>t.contentOffset===e.sourceCodeLocation.startOffset);r&&(n=r.clientId)}n&&(e.clientId=n),(e.childNodes||[]).forEach(e=>{e.attributes&&e.attributes.id&&e.childNodes&&e.childNodes.length>3&&(e.childNodes[0].attributeId=e.attributes.id,e.childNodes[0].isFirstSection=!0,e.childNodes[2].attributeId=e.attributes.id,e.childNodes[2].isFirstSection=!1),a(e,t,n)})}},64279(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,o){const l=(0,s.uniq)(r),u=(0,a.getIndicesByWordListSorted)(l,e),c=e.indexOf(t),d=(0,n.default)(o),h=u.filter(e=>e.index<c);if(0===h.length)return!1;const f=h[h.length-1];return(0,i.default)(e,d).filter(e=>e.index>f.index&&e.index<c).length>0};var s=r(66087),n=o(r(83570)),i=o(r(84805)),a=r(49380);function o(e){return e&&e.__esModule?e:{default:e}}},64487(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},65115(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(36278),i=r(19004);const a=((s=r(28878))&&s.__esModule?s:{default:s}).default.map(e=>e.toLocaleLowerCase());t.default=e=>{const t=[];return e.forEach(e=>{const r=[],s=[];for(;n.punctuationRegexStart.test(e)&&!i.hashedHtmlEntitiesRegexStart.test(e);)r.push(e[0]),e=e.slice(1);for(;n.punctuationRegexEnd.test(e)&&!i.hashedHtmlEntitiesRegexEnd.test(e)&&!a.incluLine truncated
/* translators:
%1$s expands to a link to Yoast.com,
%2$s expands to the anchor end tag,
%3$d expands to the number of times the keyphrase occurred in the text. */
/* translators:
%1$s expands to a link to Yoast.com,
%2$s expands to the anchor end tag,
%3$d expands to the number of times the keyphrase occurred in the text. */
(0,s._n)("%1$sKeyphrase density%2$s: The keyphrase was found %3$d time.","%1$sKeyphrase density%2$s: The keyphrase was found %3$d times.",this._keyphraseCount.count,"wordpress-seo"),this._config.urlTitle,"</a>",this._keyphraseCount.count)}calculateResultShortText(){if(this.hasNoMatches())return{score:this._config.scores.underMinimum,resultText:(0,s.sprintf)(
/* translators:
%1$s and %4$s expand to links to Yoast.com,
%2$s expands to the anchor end tag,
%3$d expands to the recommended minimal number of times the keyphrase should occur in the text. */
/* translators:
%1$s and %4$s expand to links to Yoast.com,
%2$s expands to the anchor end tag,
%3$d expands to the recommended minimal number of times the keyphrase should occur in the text. */
(0,s._n)("%1$sKeyphrase density%2$s: The keyphrase was found 0 times. That's less than the recommended minimum of %3$d time for a text of this length. %4$sFocus on your keyphrase%2$s!","%1$sKeyphrase density%2$s: The keyphrase was found 0 times. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!",this._minRecommendedKeyphraseCount,"wordpress-seo"),this._config.urlTitle,"</a>",this._minRecommendedKeyphraseCount,this._config.urlCallToAction)};if(this.hasGoodNumberOfMatchesShortText())return{score:this._config.scores.correctDensity,resultText:(0,s.sprintf)(
/* translators:
%1$s expands to a link to Yoast.com,
%2$s expands to the anchor end tag,
%3$d expands to the number of times the keyphrase occurred in the text. */
/* translators:
%1$s expands to a link to Yoast.com,
%2$s expands to the anchor end tag,
%3$d expands to the number of times the keyphrase occurred in the text. */
(0,s._n)("%1$sKeyphrase density%2$s: The keyphrase was found %3$d time. This is great!","%1$sKeyphrase density%2$s: The keyphrase was found %3$d times. This is great!",this._keyphraseCount.count,"wordpress-seo"),this._config.urlTitle,"</a>",this._keyphraseCount.count)};const e=this.getFeedbackStringsFirstSentence();return this.hasTooManyMatchesShortText()?{score:this._config.scores.overMaximum,resultText:(0,s.sprintf)(
/* translators:
%1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).",
%2$d expands to the recommended maximum number of times the keyphrase should occur in the text,
%3$s expands to a link to Yoast.com.,
%4$s expands to the anchor end tag,
*/
/* translators:
%1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).",
%2$d expands to the recommended maximum number of times the keyphrase should occur in the text,
%3$s expands to a link to Yoast.com.,
%4$s expands to the anchor end tag,
*/
(0,s._n)("%1$s That's more than the recommended maximum of %2$d time for a text of this length. %3$sDon't overoptimize%4$s!","%1$s That's more than the recommended maximum of %2$d times for a text of this length. %3$sDon't overoptimize%4$s!",this._maxRecommendedKeyphraseCount,"wordpress-seo"),e,this._maxRecommendedKeyphraseCount,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.wayOverMaximum,resultText:(0,s.sprintf)(
/* translators:
%1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).",
%2$d expands to the recommended maximum number of times the keyphrase should occur in the text,
%3$s expands to a link to Yoast.com.,
%4$s expands to the anchor end tag,
*/
/* translators:
%1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).",
%2$d expands to the recommended maximum number of times the keyphrase should occur in the text,
%3$s expands to a link to Yoast.com.,
%4$s expands to the anchor end tag,
*/
(0,s._n)("%1$s That's way more than the recommended maximum of %2$d time for a text of this length. %3$sDon't overoptimize%4$s!","%1$s That's way more than the recommended maximum of %2$d times for a text of this length. %3$sDon't overoptimize%4$s!",this._maxRecommendedKeyphraseCount,"wordpress-seo"),e,this._maxRecommendedKeyphraseCount,this._config.urlCallToAction,"</a>")}}calculateResult(){if(!this._canAssess)return{score:this._config.scores.noKeyphraseOrText,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase density%3$s: %2$sPlease add both a keyphrase and some text containing the keyphrase%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")};if(this.hasNoMatches())return{score:this._config.scores.underMinimum,resultText:(0,s.sprintf)(
/* translators:
%1$s and %4$s expand to links to Yoast.com,
%2$s expands to the anchor end tag,
%3$d expands to the recommended minimal number of times the keyphrase should occur in the text. */
/* translators:
%1$s and %4$s expand to links to Yoast.com,
%2$s expands to the anchor end tag,
%3$d expands to the recommended minimal number of times the keyphrase should occur in the text. */
(0,s._n)("%1$sKeyphrase density%2$s: The keyphrase was found 0 times. That's less than the recommended minimum of %3$d time for a text of this length. %4$sFocus on your keyphrase%2$s!","%1$sKeyphrase density%2$s: The keyphrase was found 0 times. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!",this._minRecommendedKeyphraseCount,"wordpress-seo"),this._config.urlTitle,"</a>",this._minRecommendedKeyphraseCount,this._config.urlCallToAction)};const e=this.getFeedbackStringsFirstSentence();return this.hasTooFewMatches()?{score:this._config.scores.underMinimum,resultText:(0,s.sprintf)(
/* translators:
%1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).",
%2$d expands to the recommended minimum number of times the keyphrase should occur in the text,
%3$s expands to a link to Yoast.com.,
%4$s expands to the anchor end tag,
*/
/* translators:
%1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).",
%2$d expands to the recommended minimum number of times the keyphrase should occur in the text,
%3$s expands to a link to Yoast.com.,
%4$s expands to the anchor end tag,
*/
(0,s._n)("%1$s That's less than the recommended minimum of %2$d time for a text of this length. %3$sFocus on your keyphrase%4$s!","%1$s That's less than the recommended minimum of %2$d times for a text of this length. %3$sFocus on your keyphrase%4$s!",this._minRecommendedKeyphraseCount,"wordpress-seo"),e,this._minRecommendedKeyphraseCount,this._config.urlCallToAction,"</a>")}:this.hasGoodNumberOfMatches()?{score:this._config.scores.correctDensity,resultText:(0,s.sprintf)(
/* translators:
%1$s expands to a link to Yoast.com,
%2$s expands to the anchor end tag,
%3$d expands to the number of times the keyphrase occurred in the text. */
/* translators:
%1$s expands to a link to Yoast.com,
%2$s expands to the anchor end tag,
%3$d expands to the number of times the keyphrase occurred in the text. */
(0,s._n)("%1$sKeyphrase density%2$s: The keyphrase was found %3$d time. This is great!","%1$sKeyphrase density%2$s: The keyphrase was found %3$d times. This is great!",this._keyphraseCount.count,"wordpress-seo"),this._config.urlTitle,"</a>",this._keyphraseCount.count)}:this.hasTooManyMatches()?{score:this._config.scores.overMaximum,resultText:(0,s.sprintf)(
/* translators:
%1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).",
%2$d expands to the recommended maximum number of times the keyphrase should occur in the text,
%3$s expands to a link to Yoast.com.,
%4$s expands to the anchor end tag,
*/
/* translators:
%1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).",
%2$d expands to the recommended maximum number of times the keyphrase should occur in the text,
%3$s expands to a link to Yoast.com.,
%4$s expands to the anchor end tag,
*/
(0,s._n)("%1$s That's more than the recommended maximum of %2$d time for a text of this length. %3$sDon't overoptimize%4$s!","%1$s That's more than the recommended maximum of %2$d times for a text of this length. %3$sDon't overoptimize%4$s!",this._maxRecommendedKeyphraseCount,"wordpress-seo"),e,this._maxRecommendedKeyphraseCount,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.wayOverMaximum,resultText:(0,s.sprintf)(
/* translators:
%1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).",
%2$d expands to the recommended maximum number of times the keyphrase should occur in the text,
%3$s expands to a link to Yoast.com.,
%4$s expands to the anchor end tag,
*/
/* translators:
%1$s expands to the sentence "Keyphrase density: The keyphrase was found X time(s).",
%2$d expands to the recommended maximum number of times the keyphrase should occur in the text,
%3$s expands to a link to Yoast.com.,
%4$s expands to the anchor end tag,
*/
(0,s._n)("%1$s That's way more than the recommended maximum of %2$d time for a text of this length. %3$sDon't overoptimize%4$s!","%1$s That's way more than the recommended maximum of %2$d times for a text of this length. %3$sDon't overoptimize%4$s!",this._maxRecommendedKeyphraseCount,"wordpress-seo"),e,this._maxRecommendedKeyphraseCount,this._config.urlCallToAction,"</a>")}}getMarks(){return this._keyphraseCount.markings}}t.KeyphraseDensityAssessment=h,t.KeywordDensityAssessment=class extends h{constructor(e={}){super(e),this.identifier="keywordDensity",console.warn("This object is deprecated, use KeyphraseDensityAssessment instead.")}},t.default=h},72827(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.singleWords=t.multipleWords=t.default=t.allWords=void 0;const r=t.singleWords=["accordingly","additionally","afterward","afterwards","albeit","also","although","altogether","another","basically","because","before","besides","but","certainly","chiefly","comparatively","concurrently","consequently","contrarily","conversely","correspondingly","despite","doubtedly","during","e.g.","earlier","emphatically","equally","especially","eventually","evidently","explicitly","finally","firstly","following","formerly","forthwith","fourthly","further","furthermore","generally","hence","henceforth","however","i.e.","identically","indeed","initially","instead","last","lastly","later","lest","likewise","markedly","meanwhile","moreover","nevertheless","nonetheless","nor","notwithstanding","obviously","occasionally","otherwise","overall","particularly","presently","previously","rather","regardless","secondly","shortly","significantly","similarly","simultaneously","since","so","soon","specifically","still","straightaway","subsequently","surely","surprisingly","than","then","thereafter","therefore","thereupon","thirdly","though","thus","till","undeniably","undoubtedly","unless","unlike","unquestionably","until","when","whenever","whereas","while","whether","if","actually","anyway","anyways","anyhow","mostly","namely","including","suddenly"],s=t.multipleWords=["above all","after all","after that","all in all","all of a sudden","all things considered","analogous to","although this may be true","analogous to","another key point","as a matter of fact","as a result","as an illustration","as can be seen","as has been noted","as I have noted","as I have said","as I have shown","as long as","as much as","as opposed to","as shown above","as soon as","as well as","at any rate","at first","at last","at least","at length","at the present time","at the same time","at this instant","at this point","at this time","balanced against","being that","by all means","by and large","by comparison","by the same token","by the time","compared to","be that as it may","coupled with","different from","due to","equally important","even if","even more","even so","even though","first thing to remember","for example","for fear that","for instance","for one thing","for that reason","for the most part","for the purpose of","for the same reason","for this purpose","for this reason","from time to time","given that","given these points","important to realize","in a word","in addition","in another case","in any case","in any event","in brief","in case","in conclusion","in contrast","in detail","in due time","in effect","in either case","either way","in essence","in fact","in general","in light of","in like fashion","in like manner","in order that","in order to","in other words","in particular","in reality","in short","in similar fashion","in spite of","in sum","in summary","in that case","in the event that","in the final analysis","in the first place","in the fourth place","in the hope that","in the light of","in the long run","in the meantime","in the same fashion","in the same way","in the second place","in the third place","in this case","in this situation","in time","in truth","in view of","inasmuch as","most compelling evidence","most important","must be remembered","not only","not to mention","note that","now that","of course","on account of","on balance","on condition that","on one hand","on the condition that","on the contrary","on the negative side","on the other hand","on the positive side","on the whole","on this occasion","all at once","once in a while","only if","owing to","point often overlooked","prior to","provided that","seeing that","so as to","so far","so long as","so that","sooner or later","such as","summing up","take the case of","that is","that is to say","then again","this time","to be sure","to begin with","to clarify","to conclude","to demonstrate","to emphasize","to enumerate","to explain","to illustrate","to list","to point out","to put it another way","to put it differently","to repeat","to rephrase it","to say nothing of","to sum up","to summarize","to that end","to the end that","to this end","together with","under those circumstances","until now","up against","up to the present time","vis a vis","what's more","what Line truncated
(0,s.__)("%1$sTransition words%2$s: Well done!","wordpress-seo"),this._config.urlTitle,"</a>")}:{score:(0,i.default)(9),hasMarks:n,text:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
(0,s.__)("%1$sTransition words%2$s: You are not using any transition words, but your text is short enough and probably doesn't need them.","wordpress-seo"),this._config.urlTitle,"</a>")}:r<7&&0===t?{score:(0,i.default)(r),hasMarks:n,text:(0,s.sprintf)(/* translators: %1$s and %3$s expand to a link to yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s and %3$s expand to a link to yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sTransition words%2$s: None of the sentences contain transition words. %3$sUse some%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction)}:r<7?{score:(0,i.default)(r),hasMarks:n,text:(0,s.sprintf)(
/* translators: %1$s and %4$s expand to a link to yoast.com, %2$s expands to the anchor end tag,
%3$s expands to the percentage of sentences containing transition words */
/* translators: %1$s and %4$s expand to a link to yoast.com, %2$s expands to the anchor end tag,
%3$s expands to the percentage of sentences containing transition words */
(0,s.__)("%1$sTransition words%2$s: Only %3$s of the sentences contain transition words, which is not enough. %4$sUse more of them%2$s.","wordpress-seo"),this._config.urlTitle,"</a>",t+"%",this._config.urlCallToAction)}:{score:(0,i.default)(r),hasMarks:n,text:(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag. */
(0,s.__)("%1$sTransition words%2$s: Well done!","wordpress-seo"),this._config.urlTitle,"</a>")}}getResult(e,t){const r=t.getConfig("assessmentApplicability").transitionWords;r&&(this._config.transitionWordsNeededIfTextLongerThan=r);const s=t.getResearch("findTransitionWords"),n=this.calculateTransitionWordResult(s),i=new l.default;return i.setScore(n.score),i.setText(n.text),i.setHasMarks(n.hasMarks),i}getMarks(e,t){return t.getResearch("findTransitionWords").sentenceResults.map(({sentence:e})=>{var t,r;const s=(null===(t=e.getFirstToken())||void 0===t?void 0:t.sourceCodeRange.startOffset)||0,n=(null===(r=e.getLastToken())||void 0===r?void 0:r.sourceCodeRange.endOffset)||0;return new u.default({position:{startOffset:s,endOffset:n,startOffsetBlock:s-(e.parentStartOffset||0),endOffsetBlock:n-(e.parentStartOffset||0),clientId:e.parentClientId||"",attributeId:e.parentAttributeId||"",isFirstSection:e.isParentFirstSectionOfBlock||!1}})})}isApplicable(e,t){return t.hasResearch("findTransitionWords")}}t.default=h},76994(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(66087),i=(s=r(82840))&&s.__esModule?s:{default:s};const a=()=>[];class o{constructor(e){this._hasScore=!1,this._identifier="",this._hasAIFixes=!1,this._hasMarks=!1,this._hasJumps=!1,this._hasEditFieldName=!1,this._hasEditFieldAriaLabel=!1,this._marker=a,this._hasBetaBadge=!1,this.score=0,this.text="",this.marks=[],this.editFieldName="",this.editFieldAriaLabel="",(0,n.isUndefined)(e)&&(e={}),(0,n.isUndefined)(e.score)||this.setScore(e.score),(0,n.isUndefined)(e.text)||this.setText(e.text),(0,n.isUndefined)(e.marks)||this.setMarks(e.marks),(0,n.isUndefined)(e._hasBetaBadge)||this.setHasBetaBadge(e._hasBetaBadge),(0,n.isUndefined)(e._hasJumps)||this.setHasJumps(e._hasJumps),(0,n.isUndefined)(e.editFieldName)||this.setEditFieldName(e.editFieldName),(0,n.isUndefined)(e.editFieldAriaLabel)||this.setEditFieldAriaLabel(e.editFieldAriaLabel),(0,n.isUndefined)(e._hasAIFixes)||this.setHasAIFixes(e._hasAIFixes)}hasScore(){return this._hasScore}getScore(){return this.score}setScore(e){(0,n.isNumber)(e)&&(this.score=e,this._hasScore=!0)}hasText(){return""!==this.text}getText(){return this.text}setText(e){(0,n.isUndefined)(e)&&(e=""),this.text=e}getMarks(){return this.marks}setMarks(e){(0,n.isArray)(e)&&(this.marks=e,this._hasMarks=e.length>0)}setIdentifier(e){this._identifier=e}getIdentifier(){return this._identifier}setMarker(e){this._marker=e}hasMarker(){return this._hasMarks&&this._marker!==a}getMarker(){return this._marker}setHasMarks(e){this._hasMarks=e}hasMarks(){return this._hasMarks}setHasBetaBadge(e){this._hasBetaBadge=e}hasBetaBadge(){return this._hasBetaBadge}setHasJumps(e){this._hasJumps=e}hasJumps(){return this._hasJumps}hasEditFieldName(){return this._hasEditFieldName}getEditFieldName(){return this.editFieldName}setEditFieldName(e){""!==e&&(this.editFieldName=e,this._hasEditFieldName=!0)}hasEditFieldAriaLabel(){return this._hasEditFieldAriaLabel}getEditFieldAriaLabel(){return this.editFieldAriaLabel}setEditFieldAriaLabel(e){""!==e&&(this.editFieldAriaLabel=e,this._hasEditFieldAriaLabel=!0)}setHasAIFixes(e){this._hasAIFixes=e}hasAIFixes(){return this._hasAIFixes}serialize(){return{_parseClass:"AssessmentResult",identifier:this._identifier,score:this.score,text:this.text,marks:this.marks.map(e=>e.serialize()),_hasBetaBadge:this._hasBetaBadge,_hasJumps:this._hasJumps,_hasAIFixes:this._hasAIFixes,editFieldName:this.editFieldName,editFieldAriaLabel:this.editFieldAriaLabel}}static parse(e){const t=new o({text:e.text,score:e.score,marks:e.marks.map(e=>i.default.parse(e)),_hasBetaBadge:e._hasBetaBadge,_hasJumps:e._hasJumps,_hasAIFixes:e._hasAIFixes,editFieldName:e.editFieldName,editFieldAriaLabel:e.editFieldAriaLabel});return t.setIdentifier(e.identifier),t}}t.default=o},77581(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFieldsToMark=function(e,t){const r=(0,s.uniq)((0,s.flatten)(e.map(e=>{if(!(0,s.isUndefined)(e.getFieldsToMark()))return e.getFieldsToMark()}))),i=[];return r.forEach(e=>{"heading"===e&&(0,n.getSubheadings)(t).forEach(e=>{i.push(e[0])})}),{fieldsToMark:r,selectedHTML:i}};var s=r(66087),n=r(23047)},78005(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=n.default.getFromAnchorTag(e),s=n.default.getProtocol(r);return s&&!n.default.protocolIsHttpScheme(s)||n.default.isRelativeFragmentURL(r)?"other":n.default.isInternalLink(r,t)?"internal":"external"};var s,n=(s=r(92223))&&s.__esModule?s:{default:s}},78432(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const i=e.wordLength,a=r.frequencyList.list;if(t=(0,s.normalizeSingle)(t),n.test(t)&&(t=t.replace(n,"")),t.length<=i)return!1;if(a.includes(t))return!1;if(t[0].toLowerCase()===t[0]){const e=new RegExp(r.suffixGroupsComplexity.standardSuffixesWithSplural),s=new RegExp(r.suffixGroupsComplexity.standardSuffixesWithXplural),n=r.suLine truncated
(0,s.__)("%1$sOutbound links%3$s: No outbound links appear in this page. %2$sAdd some%3$s!","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):e.externalNofollow===e.externalTotal?(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sOutbound links%3$s: All outbound links on this page are nofollowed. %2$sAdd some normal links%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):e.externalDofollow===e.externalTotal?(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sOutbound links%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):e.externalDofollow<e.externalTotal?(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sOutbound links%2$s: There are both nofollowed and normal outbound links on this page. Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):""}}t.default=u},89779(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(27723),n=r(66087),i=u(r(81840)),a=r(37570),o=r(32458),l=u(r(76994));function u(e){return e&&e.__esModule?e:{default:e}}class c extends i.default{constructor(e={},t=!1){super();const r={minLength:400,maxLength:600,scores:{noTitle:1,widthTooShort:6,widthTooLong:3,widthCorrect:9},urlTitle:(0,o.createAnchorOpeningTag)("https://yoa.st/34h"),urlCallToAction:(0,o.createAnchorOpeningTag)("https://yoa.st/34i")};this._allowShortTitle=t,this.identifier="titleWidth",this._config=(0,n.merge)(r,e)}getMaximumLength(){return 600}getResult(e,t){const r=t.getResearch("pageTitleWidth"),n=new l.default;return n.setScore(this.calculateScore(r)),n.setText(this.translateScore(r)),n.getScore()<9&&(n.setHasJumps(!0),n.setEditFieldName("title"),n.setEditFieldAriaLabel((0,s.__)("Edit your SEO title","wordpress-seo"))),n.max=this._config.maxLength,n.actual=r,n}calculateScore(e){return(0,a.inRangeEndInclusive)(e,1,400)?this._config.scores.widthTooShort:(0,a.inRangeEndInclusive)(e,this._config.minLength,this._config.maxLength)?this._config.scores.widthCorrect:e>this._config.maxLength?this._config.scores.widthTooLong:this._config.scores.noTitle}translateScore(e){return(0,a.inRangeEndInclusive)(e,1,400)?this._allowShortTitle?(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sSEO title width%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sSEO title width%3$s: The SEO title is too short. %2$sUse the space to add keyphrase variations or create compelling call-to-action copy%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):(0,a.inRangeEndInclusive)(e,this._config.minLength,this._config.maxLength)?(0,s.sprintf)(/* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */ /* translators: %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag */
(0,s.__)("%1$sSEO title width%2$s: Good job!","wordpress-seo"),this._config.urlTitle,"</a>"):e>this._config.maxLength?(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sSEO title width%3$s: The SEO title is wider than the viewable limit. %2$sTry to make it shorter%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>"):(0,s.sprintf)(/* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */ /* translators: %1$s and %2$s expand to links on yoast.com, %3$s expands to the anchor end tag */
(0,s.__)("%1$sSEO title width%3$s: %2$sPlease create an SEO title%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}t.default=c},89891(e,t){t.removeSubsets=function(e){for(var t,r,s,n=e.length;--n>-1;){for(t=r=e[n],e[n]=null,s=!0;r;){if(e.indexOf(r)>-1){s=!1,e.splice(n,1);break}r=r.parent}s&&(e[n]=t)}return e};var r=t.compareDocumentPosition=function(e,t){var r,s,n,i,a,o,l=[],u=[];if(e===t)return 0;for(r=e;r;)l.unshift(r),r=r.parent;for(r=t;r;)u.unshift(r),r=r.parent;for(o=0;l[o]===u[o];)o++;return 0===o?1:(n=(s=l[o-1]).children,i=l[o],a=u[o],n.indexOf(i)>n.indexOf(a)?s===t?20:4:s===e?10:2)};t.uniqueSort=function(e){var t,s,n=e.length;for(e=e.slice();--n>-1;)t=e[n],(s=e.indexOf(t))>-1&&s<n&&e.splice(n,1);return e.sort(function(e,t){var s=r(e,t);return 2&s?-1:4&s?1:0}),e}},89991(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(r(85296)),n=a(r(17003)),i=r(86620);function a(e){return e&&e.__esModule?e:{default:e}}class o extends s.default{constructor(e,t){super(e,t),this.type="productPageCornerstoneRelatedKeywordAssessor",this.addAssessment("imageKeyphrase",new n.default({scores:{withAltNonKeyword:3,withAlt:3,noAlt:3},urlTitle:(0,i.createAnchorOpeningTag)(t.imageKeyphraseUrlTitle),urlCallToAction:(0,i.createAnchorOpeningTag)(t.imageKeyphraseCTAUrl)}))}}t.default=o},90337(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.hasTitle()?e.getTitleWidth():0}},91166(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=e.replace(s,"")).replace(n,"")};const r="[\\–\\-\\(\\)_\\[\\]’'.?!:;,¿¡«»‹›—×+&<>]+",s=new RegExp("^"+r),n=new RegExp(r+"$")},91207(e,t,r){"use strict";var s=r(920),n=r(62795),i=r(95902),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,h=i.default,f={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:h,formatter:i.formatters[h],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},p={},g=function e(t,r,i,a,o,u,d,h,g,m,_,y,T,E,v,A){for(var b,S=t,O=A,C=0,w=!1;void 0!==(O=O.get(p))&&!w;){var I=O.get(t);if(C+=1,void 0!==I){if(I===C)throw new RangeError("Cyclic object value");w=!0}void 0===O.get(p)&&(C=0)}if("function"==typeof h?S=h(r,S):S instanceof Date?S=_(S):"comma"===i&&l(S)&&(S=n.maybeMap(S,function(e){return e instanceof Date?_(e):e})),null===S){if(o)return d&&!E?d(r,f.encoder,v,"key",y):r;S=""}if("string"==typeof(b=S)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||n.isBuffer(S))return d?[T(E?r:d(r,f.encoder,v,"key",y))+"="+T(d(S,f.encoder,v,"value",y))]:[T(r)+"="+T(String(S))];var N,k=[];if(void 0===S)return k;if("comma"===i&&l(S))E&&d&&(S=n.maybeMap(S,d)),N=[{value:S.length>0?S.join(",")||null:void 0}];else if(l(h))N=h;else{var P=Object.keys(S);N=g?P.sort(g):P}for(var L=a&&l(S)&&1===S.length?r+"[]":r,R=0;R<N.length;++R){var D=N[R],M="object"==typeof D&&void 0!==D.value?D.value:S[D];if(!u||null!==M){var x=l(S)?"function"==typeof i?i(L,D):L:L+(m?"."+D:"["+D+"]");A.set(t,C);var F=s();F.set(p,A),c(k,e(M,x,i,a,o,u,"comma"===i&&E&&l(S)?null:d,h,g,m,_,y,T,E,v,F))}}return k};e.exports=function(e,t){var r,n=e,u=function(e){if(!e)return f;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var s=i.formatters[r],n=f.filter;return("function"==typeof e.filter||l(e.filter))&&(n=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:void 0===e.allowDots?f.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:n,format:r,formatter:s,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof u.filter?n=(0,u.filter)("",n):l(u.filter)&&(r=u.filter);var d,h=[];if("Line truncated
(0,s.__)("%1$sKeyphrase in meta description%2$s: Keyphrase or synonym appear in the meta description. Well done!","wordpress-seo"),this._config.urlTitle,"</a>")}:this._keyphraseCounts>=3?{score:this._config.scores.bad,resultText:(0,s.sprintf)(
/**
* translators:
* %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag,
* %3$s expands to the number of sentences containing the keyphrase,
* %4$s expands to a link on yoast.com, %5$s expands to the anchor end tag.
*/
/**
* translators:
* %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag,
* %3$s expands to the number of sentences containing the keyphrase,
* %4$s expands to a link on yoast.com, %5$s expands to the anchor end tag.
*/
(0,s.__)("%1$sKeyphrase in meta description%2$s: The meta description contains the keyphrase %3$s times, which is over the advised maximum of 2 times. %4$sLimit that%5$s!","wordpress-seo"),this._config.urlTitle,"</a>",this._keyphraseCounts,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(
/**
* translators:
* %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag.
* %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag.
*/
/**
* translators:
* %1$s expands to a link on yoast.com, %2$s expands to the anchor end tag.
* %3$s expands to a link on yoast.com, %4$s expands to the anchor end tag.
*/
(0,s.__)("%1$sKeyphrase in meta description%2$s: The meta description has been specified, but it does not contain the keyphrase. %3$sFix that%4$s!","wordpress-seo"),this._config.urlTitle,"</a>",this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:(0,s.sprintf)(/* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */ /* translators: %1$s and %2$s expand to a link on yoast.com, %3$s expands to the anchor end tag. */
(0,s.__)("%1$sKeyphrase in meta description%3$s: %2$sPlease add both a keyphrase and a meta description containing the keyphrase%3$s.","wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}t.default=u},91416(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.round(e)===e?Math.round(e):Math.round(10*e)/10}},91583(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=r(70563),i=r(9011),a=r(89511),o=(s=r(48319))&&s.__esModule?s:{default:s},l=r(51212);const u=[{identifier:"albinos",nonInclusivePhrases:["albinos"],inclusiveAlternatives:"<i>people with albinism, albino people</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants},{identifier:"anAlbino",nonInclusivePhrases:["an albino"],inclusiveAlternatives:"<i>person with albinism, albino person</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:n.orangeUnlessSomeoneWants,rule:(e,t)=>(0,a.includesConsecutiveWords)(e,t).filter((0,o.default)(e,t)),ruleDescription:l.nonInclusiveWhenStandalone},{identifier:"obese",nonInclusivePhrases:["obese","overweight"],inclusiveAlternatives:"<i>has a higher weight, higher-weight person, person in higher weight body, heavier person</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,n.preferredDescriptorIfKnown].join(" ")},{identifier:"obesitySingular",nonInclusivePhrases:["person with obesity","fat person"],inclusiveAlternatives:"<i>person who has a higher weight, higher-weight person, person in higher weight body, heavier person</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants,n.preferredDescriptorIfKnown].join(" ")},{identifier:"obesityPlural",nonInclusivePhrases:["people with obesity","fat people"],inclusiveAlternatives:"<i>people who have a higher weight, higher-weight people, people in higher weight bodies, heavier people</i>",score:i.SCORES.POTENTIALLY_NON_INCLUSIVE,feedbackFormat:[n.orangeUnlessSomeoneWants].join(" ")},{identifier:"verticallyChallenged",nonInclusivePhrases:["vertically challenged"],inclusiveAlternatives:"<i>little person, has short stature, someone with dwarfism</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"midget",nonInclusivePhrases:["midget"],inclusiveAlternatives:"<i>little person, has short stature, someone with dwarfism</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"midgets",nonInclusivePhrases:["midgets"],inclusiveAlternatives:"<i>little people, have short stature, people with dwarfism</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful},{identifier:"harelip",nonInclusivePhrases:["harelip"],inclusiveAlternatives:"<i>cleft lip, cleft palate</i>",score:i.SCORES.NON_INCLUSIVE,feedbackFormat:n.redHarmful}];u.forEach(e=>{e.category="appearance",e.learnMoreUrl="https://yoa.st/inclusive-language-appearance"}),t.default=u},91595(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFollowedByParticiple=function(e,t){return r=>{const s=r+t.length;return s<e.length&&o(e[s])}},t.isParticiple=o;var s,n=r(66087),i=(s=r(54882))&&s.__esModule?s:{default:s},a=r(13068);function o(e){const t=e.match(a.regularParticiplesRegex);return!(0,n.isNull)(t)&&t[0]===e||(0,n.includes)(i.default,e)}},91710(e,t,r){var s=e.exports;[r(65247),r(21840),r(27049),r(28620),r(86851),r(89891)].forEach(function(e){Object.keys(e).forEach(function(t){s[t]=e[t].bind(s)})})},92223(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(88835))&&s.__esModule?s:{default:s};const i=/href=(["'])([^"']+)\1/i;function a(e){return e.split("#")[0]}function o(e){return e.split("?")[0]}function l(e){return e.replace(/\/$/,"")}function u(e){return l(e)+"/"}t.default={removeHash:a,removeQueryArgs:o,removeTrailingSlash:l,addTrailingSlash:u,getFromAnchorTag:function(e){const t=i.exec(e);return null===t?"":t[2]},areEqual:function(e,t){return e=o(a(e)),t=o(a(t)),u(e)===u(t)},getHostname:function(e){return(e=n.default.parse(e)).hostname},getProtocol:function(e){return n.default.parse(e).protocol},isInternalLink:function(e,t){const r=n.default.parse(e,!1,!0).hostname;return-1===e.indexOf("//")&&0===e.indexOf("/")||0!==e.indexOf("#")&&(!r||r===t||r===n.default.parse(t).hostname)},protocolIsHttpScheme:function(e){return!!e&&("http:"===e||"https:"===e)},isRelativeFragmentURL:function(e){return 0===e.indexOf("#")}}},92291(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const c=(0,u.getLanguage)(r);let h=d(t,c);if("tr"===c){const e=(0,l.replaceTurkishIsMemoized)(t);h=new RegExp(e.map(e=>(0,n.default)(e)).join("|"),"ig")}const f=e.match(h)||[];e=e.replace(h,"");const p=(0,a.default)(t,r),g=d(p,c),m=e.match(g)||[];let _=f.concat(m);const y=(0,o.default)(t,r);if(y!==p){const t=d(y,c),r=e.match(t)||[];_=_.concat(r)}return(0,s.map)(_,function(e){return(0,i.defaultLine truncated
/**
* translators:
* %1$s and %2$s expand to links on yoast.com,
* %3$s expands to the anchor end tag,
* %4$s expands to the focus keyphrase of the article.
*/
/**
* translators:
* %1$s and %2$s expand to links on yoast.com,
* %3$s expands to the anchor end tag,
* %4$s expands to the focus keyphrase of the article.
*/
(0,s.__)('%1$sFunction words in keyphrase%3$s: Your keyphrase "%4$s" contains function words only. %2$sLearn more about what makes a good keyphrase.%3$s',"wordpress-seo"),this._config.urlTitle,this._config.urlCallToAction,"</a>",this._keyword)),r.setHasJumps(!0),r.setEditFieldName("keyphrase"),r.setEditFieldAriaLabel((0,s.__)("Edit your keyphrase","wordpress-seo"))),r}isApplicable(e,t){return e.hasKeyword()&&t.hasResearch("functionWordsInKeyphrase")}}t.default=u},93810(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.countKeyphraseInText=f,t.default=p,t.keywordCount=function(e,t){return console.warn("This function is deprecated, use getKeyphraseCount instead."),p(e,t)};var s=r(66087),n=h(r(16740)),i=r(37701),a=h(r(94107)),o=h(r(33353)),l=h(r(66717)),u=r(47304),c=h(r(32132)),d=r(43460);function h(e){return e&&e.__esModule?e:{default:e}}function f(e,t,r,n,i,l){const c={count:0,markings:[]};return e.forEach(e=>{const d=t.map(t=>(0,o.default)(e,t,r,n,i,l));if(d.every(e=>e.count>0)){const t=d.map(e=>e.count),r=Math.min(...t),i=(0,s.flattenDeep)(d.map(e=>e.matches));let o=[];o=n?(0,u.markWordsInASentence)(e,i,n):(0,a.default)(e,i),c.count+=r,c.markings.push(o)}}),c}function p(e,t){const r={count:0,markings:[],keyphraseLength:0};let a=t.getResearch("morphology").keyphraseForms;const o=a.length;if(a=a.map(e=>e.map(e=>(0,i.normalizeSingle)(e))),0===o)return r;const u=t.getHelper("matchWordCustomHelper"),h=t.getHelper("memoizedTokenizer"),p=t.getHelper("splitIntoTokensCustom"),g=e.getLocale(),m=u?(0,d.filterShortcodesFromHTML)(e.getText(),e._attributes&&e._attributes.shortcodes):e.getText(),_=f(u?(0,c.default)(m,h):(0,n.default)(e.getTree()),a,g,u,(0,l.default)(e.getKeyword()),p);return r.count=_.count,r.markings=(0,s.flatten)(_.markings),r.keyphraseLength=o,r}},94107(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,n=(s=r(82840))&&s.__esModule?s:{default:s};t.default=function(e,t,r=!1){if(0===t.length)return[];const s=((e,t)=>{const r=e.tokens,s=[];for(let e=r.length-1;e>=0;e--){const n=r[e];t.some(e=>e.sourceCodeRange.startOffset===n.sourceCodeRange.startOffset||e.sourceCodeRange.endOffset===n.sourceCodeRange.endOffset)?s.unshift("<yoastmark class='yoast-text-mark'>",n.text,"</yoastmark>"):s.unshift(n.text)}return s.join("").replace(new RegExp("</yoastmark>([  ]?)<yoastmark class='yoast-text-mark'>","ig"),"$1")})(e,t);return(e=>{const t=[];return e.sort(function(e,t){return e.getPositionStart()-t.getPositionStart()}),e.forEach(e=>{if(0===t.length)return void t.push(e);const r=t[t.length-1];r.getPositionEnd()+1===e.getPositionStart()||e.getPositionStart()<=r.getPositionEnd()?(r.setPositionEnd(e.getPositionEnd()),r.setBlockPositionEnd(e.getBlockPositionEnd())):t.push(e)}),t})(t.map(t=>{const i=e.parentAttributeId,a=e.isParentFirstSectionOfBlock;let o=e.parentStartOffset,l=e.parentClientId;if(r&&!i){const r=e.sentenceParentNode,s=Array.isArray(r)&&r.find(e=>{const r=e.sourceCodeLocation;return t.sourceCodeRange.startOffset>=r.startOffset&&t.sourceCodeRange.endOffset<=r.endOffset});s&&(o=s.sourceCodeLocation.startTag.endOffset,l=s.clientId)}const u=t.sourceCodeRange.startOffset,c=t.sourceCodeRange.endOffset;return new n.default({position:{startOffset:u,endOffset:c,startOffsetBlock:u-(o||0),endOffsetBlock:c-(o||0),clientId:l||"",attributeId:i||"",isFirstSection:a||!1},marked:s,original:e.text})}))}},94735(e,t,r){"use strict";var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=s(r(26870)),i=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in n.default&&(e=n.default[e]),i(e))}},94754(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFollowedAndPrecededByException=i,t.isNotFollowedAndPrecededByException=function(e,t,r,s){return n=>!i(e,t,r,s)(n)};var s=r(12679),n=r(84617);function i(e,t,r,i){return a=>(0,s.isFollowedByException)(e,t,i)(a)&&(0,n.isPrecededByException)(e,r)(a)}},95098(){},95390(e,t,r){var s=r(80953);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in s&&(e=s[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},95614(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=t.getHelper("customCountLength");return e.map(e=>{const t=r?r(e.text):(0,s.getWordsFromTokens)(e.tokens,!1).length;if(t>0)return{sentence:e,sentenceLength:t,firstToken:e.getFirstToken()||null,lastToken:e.getLastToken()||null}}).filter(Boolean)};var s=r(18261)},95687(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findWordFormsInString=t.findTopicFormsInString=void 0;var s,n=r(66087),i=(s=r(85083))&&s.__esModule?s:{default:s};const a=function(eLine truncated
@@ -0,0 +1,41 @@
(()=>{"use strict";var s={n:e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},d:(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},o:(s,e)=>Object.prototype.hasOwnProperty.call(s,e),r:s=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})}},e={};s.r(e),s.d(e,{AnalysisList:()=>_,AnalysisResult:()=>w,ContentAnalysis:()=>S,SiteSEOReport:()=>j,renderRatingToColor:()=>I});const t=window.wp.i18n,o=window.yoast.styleGuide,r=window.lodash.noop;var n=s.n(r);const i=window.yoast.propTypes;var l=s.n(i);const a=window.React;var u=s.n(a);const d=window.yoast.styledComponents;var p=s.n(d);const g=window.yoast.componentsNew,c=window.yoast.helpers,m=window.lodash,h=window.ReactJSXRuntime,{stripTagsFromHtmlString:k}=c.strings,B=["a","b","strong","em","i"],b=p().div`
display: grid;
grid-template-rows: 1fr;
max-width: 32px;
// This gap value is half the gap value between assessment result list items, which is 12px.
gap: 6px;
`,C=p().li`
// This is the height of the IconButtonToggle.
min-height: 24px;
margin-bottom: 12px;
padding: 0;
display: flex;
align-items: flex-start;
position: relative;
gap: 12px;
`,x=p()(g.SvgIcon)`
margin: 3px 0 0 0;
`,y=p().p`
margin: 0;
flex: 1 1 auto;
color: ${s=>s.suppressedText?"rgba(30,30,30,0.5)":"inherit"};
`,R=({ariaLabel:s,id:e,className:t,status:o,onClick:r,isPressed:n})=>(0,h.jsx)(g.IconButtonToggle,{marksButtonStatus:o,className:t,onClick:r,id:e,icon:"eye",pressed:n,ariaLabel:s}),f=({ariaLabelMarks:s,ariaLabelEdit:e="",bulletColor:t,buttonIdMarks:o,buttonIdEdit:r="",editButtonClassName:n="",hasAIFixes:i=!1,hasBetaBadgeLabel:l=!1,hasEditButton:u=!1,hasMarksButton:d,id:p="",isPremium:c=!1,marker:f=m.noop,markButtonFactory:w=null,marksButtonStatus:v="enabled",marksButtonClassName:I="",onButtonClickMarks:_,onButtonClickEdit:N=m.noop,onResultChange:A=m.noop,pressed:M,renderHighlightingUpsell:S=m.noop,renderAIOptimizeButton:H=m.noop,shouldUpsellHighlighting:E=!1,suppressedText:T=!1,text:j})=>{const[L,O]=(0,a.useState)(!1),P=(0,a.useCallback)(()=>O(!1),[]),U=(0,a.useCallback)(()=>O(!0),[]);w=w||R;let F=null;return function(s,e){return!s||"hidden"===e}(d,v)||(F=w({onClick:E?U:_,status:v,className:I,id:o,isPressed:M,ariaLabel:s})),(0,a.useEffect)(()=>{A(p,f,d)},[p,f,d]),(0,h.jsxs)(C,{children:[(0,h.jsx)(x,{icon:"circle",color:t,size:"13px"}),(0,h.jsxs)(y,{suppressedText:T,children:[l&&(0,h.jsx)(g.BetaBadge,{}),(0,h.jsx)("span",{dangerouslySetInnerHTML:{__html:k(j,B)}})]}),(0,h.jsxs)(b,{children:[F,S(L,P),u&&c&&(0,h.jsx)(g.IconCTAEditButton,{className:n,onClick:N,id:r,icon:"edit",ariaLabel:e}),H(i,p)]})]})};f.propTypes={text:l().string.isRequired,suppressedText:l().bool,bulletColor:l().string.isRequired,hasMarksButton:l().bool.isRequired,hasEditButton:l().bool,hasAIFixes:l().bool,buttonIdMarks:l().string.isRequired,buttonIdEdit:l().string,pressed:l().bool.isRequired,ariaLabelMarks:l().string.isRequired,ariaLabelEdit:l().string,onButtonClickMarks:l().func.isRequired,onButtonClickEdit:l().func,marksButtonStatus:l().string,marksButtonClassName:l().string,markButtonFactory:l().func,editButtonClassName:l().string,hasBetaBadgeLabel:l().bool,isPremium:l().bool,onResultChange:l().func,id:l().string,marker:l().oneOfType([l().func,l().array]),shouldUpsellHighlighting:l().bool,renderHighlightingUpsell:l().func,renderAIOptimizeButton:l().func};const w=f,v=p().ul`
margin: 8px 0;
padding: 0;
list-style: none;
`;function I(s){switch(s){case"good":return o.colors.$color_good;case"OK":return o.colors.$color_ok;case"bad":return o.colors.$color_bad;default:return o.colors.$color_score_icon}}function _({results:s,marksButtonActivatedResult:e="",marksButtonStatus:o="enabled",marksButtonClassName:r="",editButtonClassName:i="",markButtonFactory:l=null,onMarksButtonClick:a=n(),onEditButtonClick:u=n(),isPremium:d=!1,onResultChange:p=n(),shouldUpsellHighlighting:g=!1,renderHighlightingUpsell:c=n(),renderAIOptimizeButton:m=n()}){return(0,h.jsx)(v,{role:"list",children:s.map(s=>{const n=I(s.rating),k=s.markerId===e,B=s.editFieldName,b=s.id+"Mark",C=B+"Edit";let x="";x="disabled"===o?(0,t.__)("Highlighting is currently disabled","wordpress-seo"):k?(0,t.__)("Remove highlight from the text","wordpress-seo"):(0,t.__)("Highlight this result in the text","wordpress-seo");const y=s.editFieldAriaLabel;return(0,h.jsx)(w,{id:s.id,text:s.text,marker:s.marker,bulletColor:n,hasMarksButton:s.hasMarks,hasEditButton:s.hasJumps,hasAIFixes:s.hasAIFixes,ariaLabelMarks:x,ariaLabelEdit:y,pressed:k,suppressedText:"upsell"===s.rating,buttonIdMarks:b,buttonIdEdit:C,onButtonClickMarks:()=>a(s.id,s.marker),onButtonClickEdit:s=>u(B,s),marksButtonClassName:r,editButtonClassName:i,marksButtonStatus:o,hasBetaBadgeLabel:s.hasBetaBadge,isPremium:d,onResultChange:p,markButtonFactory:l,shouldUpsellHighlighting:g,renderAIOptimizeButton:m,renderHighlightingUpsell:c},s.id)})})}_.propTypes={results:l().array.isRequired,marksButtonActivatedResult:l().string,marksButtonStatus:l().string,marksButtonClassName:l().string,editButtonClassName:l().string,markButtonFactory:l().func,onMarksButtonClick:l().func,onEditButtonClick:l().func,isPremium:l().bool,onResultChange:l().func,shouldUpsellHighlighting:l().bool,renderHighlightingUpsell:l().func,renderAIOptimizeButton:l().func};const N=p().div`
width: 100%;
background-color: white;
border-bottom: 1px solid transparent; // Avoid parent and child margin collapsing.
`,A=p()(g.Collapsible)`
margin-bottom: 8px;
${g.StyledIconsButton} {
padding: 8px 0;
color: ${o.colors.$color_blue};
margin: -2px 8px 0 -2px; // Compensate icon size set to 18px.
}
`;class M extends u().Component{renderCollapsible(s,e,t,r=null){return(0,h.jsx)(A,{id:r?`${r}-collapsible`:null,initialIsOpen:!0,title:`${s} (${t.length})`,prefixIcon:{icon:"angle-up",color:o.colors.$color_grey_dark,size:"18px"},prefixIconCollapsed:{icon:"angle-down",color:o.colors.$color_grey_dark,size:"18px"},suffixIcon:null,suffixIconCollapsed:null,headingProps:{level:e,fontSize:"13px",fontWeight:"500",color:"#1e1e1e"},children:(0,h.jsx)(_,{results:t,marksButtonActivatedResult:this.props.activeMarker,marksButtonStatus:this.props.marksButtonStatus,marksButtonClassName:this.props.marksButtonClassName,editButtonClassName:this.props.editButtonClassName,markButtonFactory:this.props.markButtonFactory,onMarksButtonClick:this.props.onMarkButtonClick,onEditButtonClick:this.props.onEditButtonClick,renderAIOptimizeButton:this.props.renderAIOptimizeButton,isPremium:this.props.isPremium,onResultChange:this.props.onResultChange,shouldUpsellHighlighting:this.props.shouldUpsellHighlighting,renderHighlightingUpsell:this.props.renderHighlightingUpsell})})}render(){const{problemsResults:s,improvementsResults:e,goodResults:o,considerationsResults:r,errorsResults:n,upsellResults:i,headingLevel:l,resultCategoryLabels:a,id:u}=this.props,d=n.length,p=s.length,g=e.length,c=r.length,m=o.length,k=i.length,B={errors:(0,t.__)("Errors","wordpress-seo"),problems:(0,t.__)("Problems","wordpress-seo"),improvements:(0,t.__)("Improvements","wordpress-seo"),considerations:(0,t.__)("Considerations","wordpress-seo"),goodResults:(0,t.__)("Good results","wordpress-seo")},b=Object.assign(B,a);return(0,h.jsxs)(N,{children:[d>0&&this.renderCollapsible(b.errors,l,n),p+k>0&&this.renderCollapsible(b.problems,l,[...i,...s],u?`${u}-problems`:null),g>0&&this.renderCollapsible(b.improvements,l,e),c>0&&this.renderCollapsible(b.considerations,l,r),m>0&&this.renderCollapsible(b.goodResults,l,o)]})}}M.propTypes={onMarkButtonClick:l().func,onEditButtonClick:l().func,problemsResults:l().array,improvementsResults:l().array,goodResults:l().array,considerationsResults:l().array,errorsResults:l().array,upsellResults:l().array,headingLevel:l().number,marksButtonStatus:l().string,marksButtonClassName:l().string,markButtonFactory:l().func,editButtonClassName:l().string,activeMarker:l().string,isPremium:l().bool,resultCategoryLabels:l().shape({errors:l().string,problems:l().string,improvements:l().string,considerations:l().string,goodResults:l().string}),onResultChange:l().func,shouldUpsellHighlighting:l().bool,renderHighlightingUpsell:l().func,renderAIOptimizeButton:l().func,id:l().string},M.defaultProps={onMarkButtonClick:()=>{},onEditButtonClick:()=>{},problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[],errorsResults:[],upsellResults:[],headingLevel:4,marksButtonStatus:"enabled",marksButtonClassName:"",markButtonFactory:null,editButtonClassName:"",activeMarker:"",isPremium:!1,resultCategoryLabels:{},onResultChange:()=>{},shouldUpsellHighlighting:!1,renderHighlightingUpsell:()=>{},renderAIOptimizeButton:()=>{},id:""};const S=M,H=p().div`
`,E=p().p`
font-size: 14px;
`,T=({className:s="seo-assessment",seoAssessmentText:e="SEO Assessment",seoAssessmentItems:t=null,barHeight:o="24px"})=>(0,h.jsxs)(H,{className:s,children:[(0,h.jsx)(E,{className:`${s}__text`,children:e}),(0,h.jsx)(g.StackedProgressBar,{className:"progress",items:t,barHeight:o}),(0,h.jsx)(g.ScoreAssessments,{className:"assessments",items:t})]});T.propTypes={className:l().string,seoAssessmentText:l().string,seoAssessmentItems:l().arrayOf(l().shape({html:l().string.isRequired,value:l().number.isRequired,color:l().string.isRequired})),barHeight:l().string};const j=T;(window.yoast=window.yoast||{}).analysisReport=e})();
@@ -0,0 +1 @@
(()=>{"use strict";var t={d:(e,i)=>{for(var s in i)t.o(i,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:i[s]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function i(t){return t+.5|0}t.r(e),t.d(e,{Animation:()=>Mi,Animations:()=>wi,ArcElement:()=>Pn,BarController:()=>$i,BarElement:()=>Hn,BasePlatform:()=>ys,BasicPlatform:()=>vs,BubbleController:()=>Yi,CategoryScale:()=>No,Chart:()=>Mn,Colors:()=>Kn,DatasetController:()=>Ii,Decimation:()=>Jn,DomPlatform:()=>zs,DoughnutController:()=>Ui,Element:()=>Vs,Filler:()=>po,Interaction:()=>rs,Legend:()=>_o,LineController:()=>Xi,LineElement:()=>Rn,LinearScale:()=>$o,LogarithmicScale:()=>Ko,PieController:()=>Ki,PointElement:()=>zn,PolarAreaController:()=>qi,RadarController:()=>Gi,RadialLinearScale:()=>na,Scale:()=>Xs,ScatterController:()=>Zi,SubTitle:()=>wo,Ticks:()=>Gt,TimeScale:()=>ua,TimeSeriesScale:()=>ga,Title:()=>vo,Tooltip:()=>Vo,_adapters:()=>es,_detectPlatform:()=>Fs,animator:()=>_i,controllers:()=>Ji,defaults:()=>ie,elements:()=>jn,layouts:()=>_s,plugins:()=>Bo,registerables:()=>ma,registry:()=>Gs,scales:()=>pa});const s=(t,e,i)=>Math.max(Math.min(t,i),e);function n(t){return s(i(2.55*t),0,255)}function o(t){return s(i(255*t),0,255)}function a(t){return s(i(t/2.55)/100,0,1)}function r(t){return s(i(100*t),0,100)}const l={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},h=[..."0123456789ABCDEF"],c=t=>h[15&t],d=t=>h[(240&t)>>4]+h[15&t],u=t=>(240&t)>>4==(15&t);const f=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function g(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function p(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function m(t,e,i){const s=g(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function b(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e<i?6:0):e===n?(i-t)/s+2:(t-e)/s+4}(e,i,s,h,n),r=60*r+.5),[0|r,l||0,a]}function x(t,e,i,s){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,s)).map(o)}function _(t,e,i){return x(g,t,e,i)}function y(t){return(t%360+360)%360}const v={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},M={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTeLine truncated
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,10 @@
(()=>{var e={1509(e,t,a){const s=a(51609),r=s.forwardRef(function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v16m8-8H4"}))});e.exports=r},15074(e,t,a){const s=a(51609),r=s.forwardRef(function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))});e.exports=r},16141(e,t,a){const s=a(51609),r=s.forwardRef(function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))});e.exports=r},38780(e,t,a){const s=a(51609),r=s.forwardRef(function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"}))});e.exports=r},40780(e,t,a){const s=a(51609),r=s.forwardRef(function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 11l7-7 7 7M5 19l7-7 7 7"}))});e.exports=r},43941(e,t,a){const s=a(51609),r=s.forwardRef(function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"}))});e.exports=r},50998(e,t,a){const s=a(51609),r=s.forwardRef(function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))});e.exports=r},51609(e){"use strict";e.exports=window.React},57503(e,t,a){const s=a(51609),r=s.forwardRef(function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 8h16M4 16h16"}))});e.exports=r},59642(e,t,a){const s=a(51609),r=s.forwardRef(function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"}))});e.exports=r},63224(e,t){var a;!function(){"use strict";var s={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=o(e,n(a)))}return e}function n(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var a in e)s.call(e,a)&&e[a]&&(t=o(t,a));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},69679(e,t,a){const s=a(51609),r=s.forwardRef(function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))});e.exports=r},70541(e,t,a){const s=a(51609),r=s.forwardRef(function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 13l-7 7-7-7m14-8l-7 7-7-7"}))});e.exportLine truncated
(0,r.__)("The request timed out. Try refreshing the page. If the problem persists, please check our %1$sSupport page%2$s.","wordpress-seo"),t);case 403===e.status:return m(/* translators: %1$s expands to an anchor start tag, %2$s to an anchor end tag. */ /* translators: %1$s expands to an anchor start tag, %2$s to an anchor end tag. */
(0,r.__)("You don’t have permission to access this resource. Please contact your admin for access. In case you need further help, please check our %1$sSupport page%2$s.","wordpress-seo"),t);default:return m(/* translators: %1$s expands to an anchor start tag, %2$s to an anchor end tag. */ /* translators: %1$s expands to an anchor start tag, %2$s to an anchor end tag. */
(0,r.__)("Something went wrong. Try refreshing the page. If the problem persists, please check our %1$sSupport page%2$s.","wordpress-seo"),t)}})(e,s))},u=({className:e="yst-mt-4"})=>React.createElement("p",{className:e},(0,r.__)("No data to display: Your site hasn't received any visitors yet.","wordpress-seo"));function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e},p.apply(null,arguments)}var y=a(72957),f=a.n(y);const g=({children:e})=>React.createElement(n.TooltipContainer,{as:"div",className:"yst-h-fit yst-leading-[0]"},React.createElement(n.TooltipTrigger,null,React.createElement(f(),{className:"yst-w-5 yst-h-5 yst-text-slate-400"})),React.createElement(n.TooltipWithContext,{variant:"light",className:"yst-leading-normal yst-max-w-80 yst-p-4 yst-shadow-md",position:"left"},e)),h=({children:e,...t})=>React.createElement(n.Title,p({as:"h2"},t),e);h.displayName="Widget.Title";const E=({content:e,children:t})=>React.createElement(g,null,React.createElement("p",{className:"yst-mb-2 yst-text-slate-600"},e),t);E.displayName="Widget.Tooltip";const R=({dataSources:e})=>React.createElement("div",{className:"yst-border-t yst-mt-3 yst-border-slate-200 yst-italic yst-text-xxs"},React.createElement("div",{className:"yst-mt-3 yst-font-semibold yst-text-slate-800"},(0,r.__)("Data provided by:","wordpress-seo")),React.createElement("ul",null,e.map((e,t)=>React.createElement("li",{className:"yst-text-slate-500",key:t},e.feature?React.createElement(React.Fragment,null,React.createElement("span",{className:"yst-font-medium"},e.source," - "),e.feature):e.source))));R.displayName="Widget.DataSources";const b=({className:e="yst-mt-4",supportLink:t,children:a,...s})=>{const r=(0,o.useCallback)(({error:a})=>React.createElement(d,{error:a,className:e,supportLink:t}),[e,t]);return React.createElement(n.ErrorBoundary,p({},s,{FallbackComponent:r}),a)};b.displayName="Widget.ErrorBoundary";const w=({className:e="yst-paper__content",title:t,tooltip:a,dataSources:s,children:r,errorSupportLink:o})=>React.createElement(n.Paper,{className:c()("yst-shadow-md",e)},(t||a)&&React.createElement("div",{className:"yst-flex yst-justify-between"},t&&React.createElement(h,null,t),a&&React.createElement(E,{content:a},s&&s.length>0&&React.createElement(R,{dataSources:s}))),o?React.createElement(b,{supportLink:o},r):r),v={good:{label:(0,r.__)("Good","wordpress-seo"),color:"yst-bg-analysis-good",hex:"#7ad03a"},ok:{label:(0,r.__)("OK","wordpress-seo"),color:"yst-bg-analysis-ok",hex:"#ee7c1b"},bad:{label:(0,r.__)("Needs improvement","wordpress-seo"),color:"yst-bg-analysis-bad",hex:"#dc3232"},notAnalyzed:{label:(0,r.__)("Not analyzed","wordpress-seo"),color:"yst-bg-analysis-na",hex:"#cbd5e1"}},k={seo:{good:(0,r.__)("Most of your content has a good SEO score. Well done!","wordpress-seo"),ok:(0,r.__)("Your content has an average SEO score. Time to find opportunities for improvement!","wordpress-seo"),bad:(0,r.__)("Some of your content could use a little extra care. Take a look and start improving!","wordpress-seo"),notAnalyzed:(0,r.__)("Some of your content hasn't been analyzed yet. Please open it in your editor, ensure a focus keyphrase is entered, and save it so we can start the analysis.","wordpress-seo")},readability:{good:(0,r.__)("Most of your content has a good readability score. Well done!","wordpress-seo"),ok:(0,r.__)("Your content has an average readability score. Time to find opportunities for improvement!","wordpress-seo"),bad:(0,r.__)("Some of your content could use a little extra care. Take a look and start improving!","wordpress-seo"),notAnalyzed:(0,r.__)("Some of your content hasn't been analyzed yet. Please open it and save it in your editor so we can start the analysis.","wordpress-seo")}},N={seo:{notAnalyzed:(0,r.__)("We haven’t analyzed this content yet. Please open it in your editor, ensure a focus keyphrase is entered, and save it so we can start the analysis.","wordpress-seo")},readability:{notAnalyzed:(0,r.__)("We haven’t analyzed this content yet. Please open it in your editor and save it so we can start the analysis.","wordpress-seo")}};var x=a(50998),_=a.n(x);const T=({tooltip:e,id:t})=>React.createElement(n.TooltipContainer,{className:"yst-h-4"},React.createElement(n.TooltipTrigger,{ariaDescribedby:t},React.createElement(_(),{className:"yst-w-4 yst-h-4 yst-text-slate-400"}),React.createElement("span",{className:"yst-sr-only"},(0,r.__)("Disabled","wordpress-seo"))),e&&React.createElement(n.TooltipWithContext,{position:"left",id:t},e)),S=({score:e,id:t})=>{var a;return React.createElement(n.TooltipContainer,{className:"yst-h-4 yst-flex yst-items-center yst-justify-center"},React.createElement(n.TooltipTrigger,{ariaDescribedby:t},React.createElement("div",{className:c()("yst-shrink-0 yst-w-3 yst-aspect-square yst-rounded-full",v[e].color)},React.createElement("span",{className:"yst-sr-only"},v[eLine truncated
(0,r.__)("%1$s score","wordpress-seo"),"Yoast SEO")}],errorSupportLink:e.getLink("errorSupport")},React.createElement(z,{dataProvider:e,remoteDataProvider:t,dataFormatter:a,limit:s})),W=({index:e})=>React.createElement(L.Row,{index:e},React.createElement(L.Cell,null,React.createElement(n.SkeletonLoader,null,"focus keyphrase")),React.createElement(L.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"10")),React.createElement(L.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"100")),React.createElement(L.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"0.12")),React.createElement(L.Cell,null,React.createElement(n.SkeletonLoader,{className:"yst-ms-auto"},"12.34"))),H=({data:e,children:t})=>React.createElement(L,null,React.createElement(L.Head,null,React.createElement(L.Header,null,(0,r.__)("Query","wordpress-seo")),React.createElement(L.Header,{className:"yst-text-end"},(0,r.__)("Clicks","wordpress-seo")),React.createElement(L.Header,{className:"yst-text-end"},(0,r.__)("Impressions","wordpress-seo")),React.createElement(L.Header,{className:"yst-text-end"},(0,r.__)("CTR","wordpress-seo")),React.createElement(L.Header,null,React.createElement("div",{className:"yst-flex yst-justify-end"},React.createElement("div",{className:"yst-w-min yst-text-end"},(0,r.__)("Average position","wordpress-seo"))))),React.createElement(L.Body,null,t||e.map(({subject:e,clicks:t,impressions:a,ctr:s,position:r},n)=>React.createElement(L.Row,{key:`most-popular-content-${n}`,index:n},React.createElement(L.Cell,{className:"yst-text-slate-900 yst-font-medium"},e),React.createElement(L.Cell,{className:"yst-text-end"},t),React.createElement(L.Cell,{className:"yst-text-end"},a),React.createElement(L.Cell,{className:"yst-text-end"},s),React.createElement(L.Cell,{className:"yst-text-end"},r))))),B=({dataProvider:e,remoteDataProvider:t,dataFormatter:a,limit:s=5})=>{const{data:r,error:n,isPending:l}=(({dataProvider:e,remoteDataProvider:t,dataFormatter:a,limit:s})=>{const r=(0,o.useCallback)(a=>t.fetchJson(e.getEndpoint("timeBasedSeoMetrics"),{limit:s.toString(10),options:{widget:"query"}},a),[e,s]),n=(0,o.useMemo)(()=>(e=>(t=[])=>t.map(t=>({subject:e.format(t.subject,"subject",{widget:"topQueries"}),clicks:e.format(t.clicks,"clicks",{widget:"topQueries"}),impressions:e.format(t.impressions,"impressions",{widget:"topQueries"}),ctr:e.format(t.ctr,"ctr",{widget:"topQueries"}),position:e.format(t.position,"position",{widget:"topQueries"})})))(a),[a]);return M(r,n)})({dataProvider:e,remoteDataProvider:t,dataFormatter:a,limit:s});return l?React.createElement(H,null,Array.from({length:s},(e,t)=>React.createElement(W,{key:`top-queries-table--row__${t}`,index:t}))):n?React.createElement(d,{error:n,supportLink:e.getLink("errorSupport"),className:"yst-mt-4"}):0===r.length?React.createElement(u,null):React.createElement(H,{data:r})},$=({dataProvider:e,remoteDataProvider:t,dataFormatter:a,limit:s=5})=>React.createElement(w,{className:"yst-paper__content yst-col-span-4",title:(0,r.__)("Top 5 search queries","wordpress-seo"),tooltip:(0,r.__)("The top 5 search queries on your website with the highest number of clicks over the last 28 days.","wordpress-seo"),dataSources:[{source:"Site Kit by Google"}],errorSupportLink:e.getLink("errorSupport")},React.createElement(B,{dataProvider:e,remoteDataProvider:t,dataFormatter:a,limit:s})),U=({value:e,formattedValue:t,moreIsGood:a})=>{if(!e)return null;const s=e>=0,r=a?"yst-text-green-600":"yst-text-red-600",n=a?"yst-text-red-600":"yst-text-green-600";return React.createElement("div",{className:c()("yst-flex yst-items-center yst-font-semibold",s?r:n)},[s?"+":"",t].join(""))},G=({className:e,children:t})=>React.createElement("div",{className:c()("yst-flex yst-gap-4 yst-justify-center yst-bg-white","yst-col-span-4 @lg:yst-col-span-2 @3xl:yst-col-span-1","yst-ps-0 yst-pe-0 yst-pt-4 yst-pb-4 first:yst-pt-0 last:yst-pb-0","@lg:yst-ps-0 @lg:yst-pe-0 @lg:yst-pt-0 @lg:yst-pb-0","@3xl:yst-ps-4 @3xl:yst-pe-4 @3xl:yst-pt-0 @3xl:yst-pb-0 @3xl:first:yst-ps-0 @3xl:last:yst-pe-0",e)},t),Y=({children:e})=>React.createElement("div",{className:"yst-flex yst-flex-col yst-items-center yst-min-w-28 @3xl:yst-min-w-0"},e),V=({className:e,tooltipLocalizedContent:t,dataSources:a})=>React.createElement(G,{className:e},React.createElement("div",{className:"yst-w-5"}),React.createElement(Y,null,React.createElement(n.SkeletonLoader,{className:"yst-text-center yst-text-2xl yst-font-bold yst-text-slate-900"},"12345"),React.createElement(n.SkeletonLoader,{className:"yst-text-center yst-text-sm yst-mt-2"},"Dummy"),React.createElement(n.SkeletonLoader,{className:"yst-text-center yst-text-sm yst-mt-2 yst-font-semibold"},"- 13%")),React.createElement("div",{className:"yst-mt-2"},React.createElement(E,{content:t},React.createElement(R,{dataSources:a})))),q=({className:e,metricName:t,data:a,dataSources:s,tooltipLocalizedContent:r,moreIsGood:n})=>React.createElement(G,{className:e},React.Line truncated
(0,r.__)("%1$d out of %2$d tasks completed","wordpress-seo"),t,a),u=(0,n.useSvgAria)(),y={};if("button"===m){const e=!o||!l||s;y.type="button",y.disabled=e,y.onClick=()=>o(l)}return React.createElement(m,p({},y,{className:c()("yst-max-w-80 sm:yst-max-w-full yst-min-w-0 yst-truncate",i)}),React.createElement(n.Badge,{size:"large",className:"yst-bg-white yst-border yst-border-slate-200 yst-ps-1.5 yst-pe-2 yst-shadow-sm yst-h-6 yst-w-full"},React.createElement("span",{className:"yst-flex yst-gap-1 yst-items-center yst-leading-4"},!s&&t>=a&&React.createElement(us(),p({className:"yst-text-green-500 yst-h-4 yst-w-4 yst-shrink-0"},u)),!s&&t<a&&React.createElement(ys,{completedValue:t,totalValue:a}),s?React.createElement(React.Fragment,null,React.createElement(n.SkeletonLoader,{className:"yst-h-3 yst-w-3 yst-mx-0.5"}),React.createElement(n.SkeletonLoader,{className:"yst-h-3 yst-w-7"})):React.createElement(React.Fragment,null,React.createElement("span",{className:"yst-text-xs yst-flex yst-gap-0.5"},React.createElement("span",{className:"yst-text-slate-600 yst-font-medium"},t),"/",React.createElement("span",{className:"yst-text-slate-500 yst-font-normal"},a)),e&&React.createElement("span",{className:"yst-text-xs yst-font-medium yst-text-slate-900 yst-truncate yst-max-w-64 sm:yst-max-w-full"}," ",e," "))),React.createElement("span",{className:"yst-sr-only"},e," ",d)))},gs=e=>React.createElement("svg",p({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{x:"3",y:"3",width:"18",height:"18",rx:"9",stroke:"currentColor",strokeWidth:"2"}),React.createElement("circle",{cx:"12",cy:"12",r:"2",fill:"currentColor"})),hs=({isCompleted:e,isLoading:t})=>t?React.createElement(gs,{className:"yst-w-6 yst-text-slate-200 yst-shrink-0",role:"img","aria-label":(0,r.__)("Task loading","wordpress-seo")}):e?React.createElement(us(),{className:"yst-w-6 yst-text-green-500 yst-shrink-0 yst-self-start",role:"img","aria-hidden":"false","aria-label":(0,r.__)("Task completed","wordpress-seo")}):React.createElement(gs,{className:"yst-w-6 yst-text-primary-500 yst-shrink-0",role:"img","aria-label":(0,r.__)("Task not completed","wordpress-seo")}),Es=({type:e,title:t,result:a,resultLabel:s,resultDescription:r})=>{const o=$a.sanitize(r);return React.createElement("div",{className:"yst-flex yst-bg-slate-50 yst-border yst-border-slate-200 yst-rounded-md yst-w-full yst-p-4 yst-gap-4 yst-justify-between yst-mb-5"},"score"===e?React.createElement(n.ScoreIcon,{score:a,className:"yst-mt-0.5"}):null,React.createElement("div",{className:"yst-flex-grow"},React.createElement("div",{className:"yst-text-black yst-mb-2"},React.createElement("span",null,t),": ",React.createElement("span",{className:"yst-font-semibold"},s)),React.createElement("div",{className:"yst-text-slate-600",dangerouslySetInnerHTML:{__html:o}})))},Rs=({isOpen:e,onClose:t,callToAction:a,title:s,duration:o,priority:i,about:c,taskId:m,isCompleted:d,isLoading:u=!1,isError:y=!1,errorMessage:f,totalTasks:g,completedTasks:h,parentTaskTitle:E,onProgressBadgeClick:R,parentTaskId:b,children:w,analyzer:v})=>{const k=(0,l.useMemo)(()=>$a.sanitize(c),[c]),N=(0,l.useRef)();(0,l.useEffect)(()=>{m&&N.current&&N.current.focus()},[m]);const x=(0,l.useCallback)(e=>!!e&&g>0,[g,h]);return React.createElement(n.Modal,{isOpen:e,onClose:t,position:"center"},React.createElement(n.Modal.Panel,{className:"yst-p-0 yst-max-w-2xl",hasCloseButton:!1},React.createElement(n.Modal.Container,null,React.createElement(n.Modal.Container.Header,{className:"yst-p-6 yst-border-b yst-border-slate-200"},x(E)&&React.createElement(fs,{completedTasks:h,totalTasks:g,label:E,onClick:R,parentTaskId:b,className:"yst-mb-2",as:"button"}),React.createElement("div",{className:"yst-flex yst-gap-3 yst-items-start yst-justify-between"},React.createElement(hs,{isCompleted:d,isLoading:u}),React.createElement("div",{className:"yst-flex-grow"},React.createElement(n.Modal.Title,{as:"h3",className:"yst-mb-2 yst-text-lg yst-max-w-lg "+(d?"yst-text-slate-500":"")},s),React.createElement("div",{className:"yst-flex yst-gap-2 yst-items-center"},x(!E)&&React.createElement(React.Fragment,null,React.createElement(fs,{completedTasks:h,totalTasks:g}),React.createElement("span",{"aria-hidden":"true"},"·")),React.createElement(rs,{level:i,isCompleted:d}),React.createElement("span",{"aria-hidden":"true"},"·")," ",React.createElement(ms,{minutes:o,isCompleted:d}))),React.createElement(n.Modal.CloseButton,{ref:N,onClick:t}))),React.createElement(n.Modal.Container.Content,{className:"yst-pt-6 yst-px-6 yst-mx-0 yst-overflow-y-auto yst-relative"},y&&React.createElement(n.Alert,{role:"alert",variant:"error",className:"yst-mb-3"},React.createElement("p",{className:"yst-font-medium yst-mb-2"},(0,r.__)("Oops! Something went wrong.","wordpress-seo")),React.createElement("p",null,f||(0,r.__)("Please try again.","wordpress-seo")," ",(0,r.__)("If the issue continues, our support team is here to help!","wordpresLine truncated
(0,r.__)("%1$d out of %2$d tasks completed","wordpress-seo"),e,t);return React.createElement("div",{className:s},React.createElement(Ss,{label:o,size:l},React.createElement("span",{className:c()("yst-font-medium yst-flex yst-gap-0.5",null===(i=Ts[l])||void 0===i?void 0:i.count)},React.createElement("span",{className:"yst-text-slate-600"},e),"/",React.createElement("span",{className:"yst-text-slate-500"},t))),React.createElement(n.ProgressBar,{progress:e,min:0,max:t,className:"yst-h-2",progressClassName:"yst-bg-green-500 yst-h-2"}),React.createElement("span",{className:"yst-sr-only"},m))};var Ds=a(15074),Ps=a.n(Ds),Ms=a(38780),Os=a.n(Ms);const Fs=({message:e})=>{const t=(0,l.useCallback)(()=>{window.location.reload()},[]);return(0,l.useEffect)(()=>{e&&console.error("Error fetching tasks:",e)},[e]),React.createElement(n.Table.Row,null,React.createElement(n.Table.Cell,{colSpan:3,className:"yst-text-center lg:yst-py-[155px] yst-py-10"},React.createElement("div",{className:"yst-flex yst-justify-center yst-items-center yst-flex-col yst-max-w-[300px] yst-m-auto"},React.createElement("div",{className:"yst-rounded-full yst-bg-red-100 yst-p-2 yst-w-12 yst-h-12 yst-flex yst-items-center yst-justify-center yst-mb-4 yst-m-auto"},React.createElement(Ps(),{className:"yst-h-7 yst-w-7 yst-text-red-600"})),React.createElement(n.Title,{className:"yst-mb-2",size:"2",as:"h3"},(0,r.__)("Oops! Something went wrong","wordpress-seo")),React.createElement("p",null,(0,r.__)("Please refresh the page. If the issue continues, our support team is here to help!","wordpress-seo")),React.createElement(n.Button,{className:"yst-mt-6 yst-ps-2 yst-flex yst-items-center yst-gap-1.5",onClick:t},React.createElement(Os(),{className:"yst-w-4 yst-h-4"}),(0,r.__)("Refresh Page","wordpress-seo")))))},Is=({children:e,className:t})=>React.createElement(n.Table,{className:t},React.createElement(n.Table.Head,null,React.createElement(n.Table.Row,null,React.createElement(n.Table.Header,null,(0,r.__)("Task","wordpress-seo")),React.createElement(n.Table.Header,{className:"yst-max-w-36 yst-hidden sm:yst-table-cell sm:yst-bg-slate-50"},(0,r.__)("Priority","wordpress-seo")),React.createElement(n.Table.Header,{className:"yst-max-w-36 yst-hidden sm:yst-table-cell sm:yst-bg-slate-50"},(0,r.__)("Est. duration","wordpress-seo")),React.createElement(n.Table.Header,{className:"yst-max-w-44 yst-hidden sm:yst-table-cell sm:yst-bg-slate-50"},(0,r.__)("Progress","wordpress-seo")))),React.createElement(n.Table.Body,null,e));var zs=a(74508),js=a.n(zs);const Ws=({tasks:e,singleTaskOnClick:t})=>{var a,s;const o=(0,n.useSvgAria)(),[i,c]=(0,l.useState)(1),m=(0,D.isEmpty)(e)?null:null===(a=e[0])||void 0===a?void 0:a.parentTaskId;if((0,l.useEffect)(()=>{c(1)},[m]),(0,D.isEmpty)(e))return React.createElement("div",{className:"yst-italic yst-pt-6 yst-mt-6 yst-text-center yst-text-sm yst-text-slate-600 yst-border-t yst-border-t-slate-200"},(0,r.__)("No tasks detected","wordpress-seo"));const d=null==e?void 0:e.length,u=null===(s=e.filter(e=>e.isCompleted))||void 0===s?void 0:s.length,y=Math.ceil(d/4),f=4*(i-1),g=f+4,h=(0,l.useMemo)(()=>e.slice(f,g),[e,f,g]),E=(0,l.useCallback)(()=>{c(e=>Math.max(e-1,1))},[]),R=(0,l.useCallback)(()=>{c(e=>Math.min(e+1,y))},[y]),b=1===i,w=i===y||0===y;return React.createElement("div",null,React.createElement(As,{label:(0,r.__)("Progress","wordpress-seo"),completedTasks:u,totalTasks:d,size:"small",className:"yst-mb-4"}),h.map(e=>React.createElement(Ns,p({key:e.id},e,{onClick:t,className:"yst-rounded-md yst-p-3 yst-pe-5 yst-border-b yst-border-slate-300 yst-shadow-sm yst-mb-3 last:yst-mb-0 yst-border hover:yst-bg-slate-50"}))),y>1&&React.createElement("div",{className:"yst-flex yst-justify-between yst-items-center yst-mt-3"},React.createElement("div",{className:"yst-text-slate-500 yst-text-xs"},(0,r.sprintf)(/* translators: %1$d: current page number, %2$d: total number of pages */ /* translators: %1$d: current page number, %2$d: total number of pages */
(0,r.__)("Page %1$d out of %2$d","wordpress-seo"),i,y)),React.createElement("div",{className:"yst-flex yst-items-center"},React.createElement(n.Button,{variant:"tertiary",className:"yst-flex yst-gap-1.5",onClick:E,disabled:b},React.createElement(js(),p({className:"yst-w-4 rtl:yst-rotate-180"},o)),(0,r.__)("Previous","wordpress-seo"),React.createElement("span",{className:"yst-sr-only"},(0,r.sprintf)(/* translators: %d: current page number */ /* translators: %d: current page number */
(0,r.__)("Child tasks, current page %d","wordpress-seo"),i))),React.createElement(n.Button,{variant:"tertiary",className:"yst-flex yst-gap-1.5",onClick:R,disabled:w},(0,r.__)("Next","wordpress-seo"),React.createElement(Ka(),p({className:"yst-w-4 rtl:yst-rotate-180"},o)),React.createElement("span",{className:"yst-sr-only"},(0,r.sprintf)(/* translators: %d: current page number */ /* translators: %d: current page number */
(0,r.__)("Child tasks, current page %d","wordpress-seo"),i))))))},Hs="taskList",Bs="completeTask",$s="fetchTasks",Us={enabled:!1,tasks:{},endpoints:{completeTask:"",getTasks:""},nonce:"",status:Ye,error:null,currentOpenTaskId:null};function Gs(e){const t={high:1,medium:2,low:3};return(0,D.sortBy)((0,D.values)(e),[e=>e.isCompleted,e=>t[e.priority],e=>e.duration,e=>e.title.toLowerCase()]).reduce((e,t)=>(e[t.id]=t,e),{})}const Ys=(0,A.createSlice)({name:Hs,initialState:Us,reducers:{setTasks(e,{payload:t}){const a={};(0,D.keys)(t).forEach(e=>{a[e]={...t[e],status:Ye,error:null,badge:null}}),e.tasks=a},setTaskCompleted(e,{payload:t}){e.tasks[t]&&(e.tasks[t].isCompleted=!0)},resetTaskError(e,{payload:t}){e.tasks[t]&&e.tasks[t].status===qe&&(e.tasks[t].error=null,e.tasks[t].status=Ye)},setCurrentOpenTaskId(e,{payload:t}){e.currentOpenTaskId=t}},extraReducers:e=>{e.addCase(`${Bs}/${Ke}`,(e,{payload:{id:t}})=>{e.tasks[t].status=Ve}),e.addCase(`${Bs}/${Qe}`,(e,{payload:{id:t}})=>{e.tasks[t].status="success",e.tasks[t].error=null,e.tasks[t].isCompleted=!0}),e.addCase(`${Bs}/${Je}`,(e,{payload:{error:t,id:a}})=>{e.tasks[a].status=qe,e.tasks[a].error=t.message}),e.addCase(`${$s}/${Qe}`,(e,{payload:{tasks:t}})=>{Ys.caseReducers.setTasks(e,{payload:Gs(t)}),e.status=Ye,e.error=null}),e.addCase(`${$s}/${Ke}`,e=>{e.status=Ve,e.error=null}),e.addCase(`${$s}/${Je}`,(e,{payload:{error:t}})=>{e.status=qe,e.error=t.message})}}),Vs=Ys.getInitialState,qs={selectIsTaskListEnabled:e=>(0,D.get)(e,[Hs,"enabled"],!1),selectTasks:e=>(0,D.get)(e,[Hs,"tasks"],{}),selectTaskStatus:(e,t)=>(0,D.get)(e,[Hs,"tasks",t,"status"],Ye),selectTaskError:(e,t)=>(0,D.get)(e,[Hs,"tasks",t,"error"],null),selectTasksEndpoints:e=>(0,D.get)(e,[Hs,"endpoints"],{}),selectNonce:e=>(0,D.get)(e,[Hs,"nonce"],""),selectIsTaskCompleted:(e,t)=>(0,D.get)(e,[Hs,"tasks",t,"isCompleted"],null),selectTasksStatus:e=>(0,D.get)(e,[Hs,"status"],Ye),selectTasksError:e=>(0,D.get)(e,[Hs,"error"],null),selectSortedTasks:(0,A.createSelector)(e=>(0,D.get)(e,[Hs,"tasks"],{}),e=>Gs(e)),selectTotalTasksCount:(e,t=!1)=>{const a=(0,D.get)(e,[Hs,"tasks"],{});return t?(0,D.size)(a):(0,D.size)((0,D.values)(a).filter(e=>!e.parentTaskId))},selectCompletedTasksCount:(e,t=!1)=>{const a=(0,D.get)(e,[Hs,"tasks"],{});return t?(0,D.size)((0,D.values)(a).filter(e=>e.isCompleted)):(0,D.size)((0,D.values)(a).filter(e=>e.isCompleted&&!e.parentTaskId))},selectCurrentOpenTask:e=>{const t=(0,D.get)(e,[Hs,"currentOpenTaskId"],null),a=(0,D.get)(e,[Hs,"tasks"],{});return t&&a[t]?a[t]:null},selectTaskTitle:(e,t)=>(0,D.get)(e,[Hs,"tasks",t,"title"],null)},Ks={...Ys.actions,completeTask:function*(e,t,a){yield{type:`${Bs}/${Ke}`,payload:{id:e}};try{const s=yield{type:Bs,payload:{id:e,nonce:a,endpoint:t}};if(!s.success)throw new Error(s.error);return{type:`${Bs}/${Qe}`,payload:{id:e}}}catch(t){return{type:`${Bs}/${Je}`,payload:{error:t,id:e}}}},fetchTasks:function*(e,t){yield{type:`${$s}/${Ke}`};try{const a=yield{type:$s,payload:{nonce:t,endpoint:e}};if(!0!==a.success)throw new Error(a.error);return{type:`${$s}/${Qe}`,payload:{tasks:a.tasks}}}catch(e){return{type:`${$s}/${Je}`,payload:{error:e}}}}},Qs={[Bs]:async({payload:e})=>{const t=new URLSearchParams({"options[task]":e.id}),a=`${e.endpoint}?${t.toString()}`;try{const t=await fetch(a,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":e.nonce}});return await t.json()}catch(e){return e}},[$s]:async({payload:e})=>{try{const t=await fetch(e.endpoint,{method:"GET",headers:{"Content-Type":"application/json","X-WP-Nonce":e.nonce}});return await t.json()}catch(e){return e}}},Js=Ys.reducer})(),(window.yoast=window.yoast||{}).dashboardFrontend=s})();
@@ -0,0 +1 @@
(()=>{var t={679(t){"use strict";t.exports=function(t){return Object.keys(t).map(function(e){return t[e]})}},723(t,e,r){"use strict";var n=r(90646),i=/\.textClipping$/,o={"text/plain":!0,"text/html":!0,"text/rtf":!0};t.exports=function(t,e){var r=0,a=[];t.forEach(function(s){!function(t,e){if(!globalThis.FileReader||t.type&&!(t.type in o))e("");else{if(""===t.type){var r="";return i.test(t.name)&&(r=t.name.replace(i,"")),void e(r)}var a=new FileReader;a.onload=function(){var t=a.result;"string"!=typeof t&&n(!1),e(t)},a.onerror=function(){e("")},a.readAsText(t)}}(s,function(n){r++,n&&a.push(n.slice(0,5e3)),r==t.length&&e(a.join("\r"))})})}},953(t){"use strict";t.exports={initODS:function(){},handleExtensionCausedError:function(){}}},2383(t,e,r){"use strict";var n=r(12242),i=r(50580),o=r(55419),a=r(5188);t.exports=function(t){var e=a(t,function(t){var e=t.getSelection(),r=t.getCurrentContent(),n=e.getAnchorKey(),a=e.getAnchorOffset(),s=r.getBlockForKey(n).getText()[a];return o(t,s?i.getUTF16Length(s,0):1)},"forward");if(e===t.getCurrentContent())return t;var r=t.getSelection();return n.push(t,e.set("selectionBefore",r),r.isCollapsed()?"delete-character":"remove-range")}},2505(t){"use strict";var e={isImage:function(t){return"image"===r(t)[0]},isJpeg:function(t){var n=r(t);return e.isImage(t)&&("jpeg"===n[1]||"pjpeg"===n[1])}};function r(t){return t.split("/")}t.exports=e},2935(t,e,r){"use strict";function n(t,e){var r=i.get(t,e);return"auto"===r||"scroll"===r}var i={get:r(46892),getScrollParent:function(t){if(!t)return null;for(var e=t.ownerDocument;t&&t!==e.body;){if(n(t,"overflow")||n(t,"overflowY")||n(t,"overflowX"))return t;t=t.parentNode}return e.defaultView||e.parentWindow}};t.exports=i},3136(t,e,r){"use strict";var n=r(9404),i=r(56269),o=r(90646),a=n.Repeat;t.exports=function(t,e,r,n){e.isCollapsed()||o(!1);var s=null;if(null!=r&&(s=r.length),null==s||0===s)return t;var u=t.getBlockMap(),c=e.getStartKey(),l=e.getStartOffset(),f=u.get(c),p=f.getText(),h=f.merge({text:p.slice(0,l)+r+p.slice(l,f.getLength()),characterList:i(f.getCharacterList(),a(n,s).toList(),l)}),d=l+s;return t.merge({blockMap:u.set(c,h),selectionAfter:e.merge({anchorOffset:d,focusOffset:d})})}},3694(t,e,r){"use strict";var n=r(31296);t.exports=function(t,e){t._latestEditorState.getSelection().isCollapsed()?e.preventDefault():t.setClipboard(n(t._latestEditorState))}},3885(t){"use strict";var e="-",r={encode:function(t,r,n){return t+e+r+e+n},decode:function(t){var r=t.split(e).reverse(),n=r[0],i=r[1];return{blockKey:r.slice(2).reverse().join(e),decoratorKey:parseInt(i,10),leafKey:parseInt(n,10)}}};t.exports=r},3914(t,e,r){"use strict";var n,i=r(61708),o=r(9404),a=r(56408),s=o.OrderedMap,u={getDirectionMap:function(t,e){n?n.reset():n=new i;var r=t.getBlockMap(),u=r.valueSeq().map(function(t){return a(n).getDirection(t.getText())}),c=s(r.keySeq().zip(u));return null!=e&&o.is(e,c)?e:c}};t.exports=u},4909(t,e,r){"use strict";var n=r(95423);t.exports=function t(e,r){return!(!e||!r)&&(e===r||!n(e)&&(n(r)?t(e,r.parentNode):"contains"in e?e.contains(r):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(r))))}},5091(t,e,r){"use strict";var n=r(49938),i=r(3885),o=r(12242),a=r(14134),s=r(51103).notEmptyKey,u=r(88372),c=r(47381),l=r(56408),f=a.isEngine("Gecko");t.exports=function(t,e){void 0!==t._pendingStateFromBeforeInput&&(t.update(t._pendingStateFromBeforeInput),t._pendingStateFromBeforeInput=void 0);var r=t.editor.ownerDocument.defaultView.getSelection(),a=r.anchorNode,p=r.isCollapsed,h=(null==a?void 0:a.nodeType)!==Node.TEXT_NODE&&(null==a?void 0:a.nodeType)!==Node.ELEMENT_NODE;if(null!=a&&!h){if(a.nodeType===Node.TEXT_NODE&&(null!==a.previousSibling||null!==a.nextSibling)){var d=a.parentNode;if(null==d)return;a.nodeValue=d.textContent;for(var g=d.firstChild;null!=g;g=g.nextSibling)g!==a&&d.removeChild(g)}var y=a.textContent,v=t._latestEditorState,m=l(u(a)),_=i.decode(m),b=_.blockKey,S=_.decoratorKey,w=_.leafKey,x=v.getBlockTree(b).getIn([S,"leaves",w]),k=x.start,C=x.end,E=v.getCurrentContent(),O=E.getBlockForKey(b),D=O.getText().slice(k,C);if(y.endsWith("\n\n")&&(y=y.slice(0,-1)),y!==D){var K,T,M,A,I=v.getSelection(),B=I.merge({anchorOffset:k,focusOffset:C,isBackward:!1}),L=O.getEntityAt(k),R=s(L)?E.getEntity(L):null,N="MUTABLE"===(null!=R?R.getMutability():null),F=N?"spellcheck-change":"apply-entity",P=n.replaceText(E,B,y,O.getInlineStyleAt(k),N?O.getEntityAt(k):null);if(f)K=r.anchorOffset,T=r.focusOffset,A=(M=k+Math.min(K,T))+Math.abs(K-T),K=M,T=A;else{var z=y.length-D.length;M=I.getStartOffset(),A=I.getEndOffset(),K=p?A+z:M,T=A+z}var j=P.merge({selectionBefore:E.getSelectionAfter(),selectionAfter:I.merge({anchorOffset:K,focusOffset:T})});t.update(o.push(v,j,F))}else{var U=e.nativeEvent.inputType;if(U){var q=function(t,e){return"deleteContentBackward"===t?c(e):e}(U,v);if(q!==v)return t.restoreEditorDOM(),void t.update(q)}}}}},5188(t,e,r){"use strict";var n=r(49938),i=r(47282)("draft_tree_data_support");t.exports=function(t,e,r){vLine truncated
@@ -0,0 +1 @@
(()=>{"use strict";var e,s={};e=s,Object.defineProperty(e,"__esModule",{value:!0}),e.isFeatureEnabled=e.enabledFeatures=e.enableFeatures=void 0,e.isFeatureEnabled=function(e){return!!self.wpseoFeatureFlags&&self.wpseoFeatureFlags.includes(e)},e.enableFeatures=function(e){self.wpseoFeatureFlags||(self.wpseoFeatureFlags=[]),e.forEach(e=>{self.wpseoFeatureFlags.includes(e)||self.wpseoFeatureFlags.push(e)})},e.enabledFeatures=function(){return self.wpseoFeatureFlags||[]},(window.yoast=window.yoast||{}).featureFlag=s})();
@@ -0,0 +1,34 @@
(()=>{var e={788(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripTagsFromHtmlString=void 0;const n=["script","style"],r=[":","https:","http:"],o={a:["href","target","rel"]},i=(e,t,a)=>{const s=[];e.forEach(e=>{if(e.nodeType!==Node.ELEMENT_NODE)return;const u=e.nodeName.toLowerCase();n.includes(u)?e.remove():(i(e.childNodes,t,a),t.includes(u)?((e,t)=>{e.getAttributeNames().forEach(n=>{t.includes(n)?"href"===n&&"a"===e.nodeName.toLowerCase()&&(r.includes(e.protocol)||e.removeAttribute(n)):e.removeAttribute(n)})})(e,a[u]||o[u]||[]):s.push(e))}),s.forEach(e=>e.replaceWith(...e.childNodes))};t.stripTagsFromHtmlString=(e,t=[],n={})=>{const r=(new DOMParser).parseFromString(e,"text/html");return i(r.body.childNodes,t,n),r.body.innerHTML}},5043(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validatesBytes=t.validateType=t.validateSize=t.default=void 0;var r,o=n(27723),i=(r=n(74840))&&r.__esModule?r:{default:r};const a=4096,s=4096,u=(e,t)=>{const{width:n,height:r}=e,i=(0,o.__)("Your image dimensions are not suitable. The minimum dimensions are %1$dx%2$d pixels. The maximum dimensions are %3$dx%4$d pixels.","wordpress-seo"),u=n>a||r>s;
/* Translators: %1$d expands to the minimum width, %2$d expands to the minimum height,
%3$d expands to the maximum width, %4$d expands to the maximum height. */return t&&(n<300||r<157||u)?(0,o.sprintf)(i,300,157,a,s):!(n<200||r<200||u)||(0,o.sprintf)(i,200,200,a,s)};t.validateSize=u;const l=e=>{const{type:t}=e,n=(0,o.sprintf)(/* Translators: %1$s expands to the gif format, %2$s expands to the gif format. */ /* Translators: %1$s expands to the gif format, %2$s expands to the gif format. */
(0,o.__)("You have uploaded a %1$s. Please note that, if it’s an animated %2$s, only the first frame will be used.","wordpress-seo"),"GIF","GIF"),r=(0,o.sprintf)(
/* Translators: %1$s expands to the jpg format, %2$s expands to the png format,
%3$s expands to the webp format, %4$s expands to the gif format. */
/* Translators: %1$s expands to the jpg format, %2$s expands to the png format,
%3$s expands to the webp format, %4$s expands to the gif format. */
(0,o.__)("The format of the uploaded image is not supported. The supported formats are: %1$s, %2$s, %3$s and %4$s.","wordpress-seo"),"JPG","PNG","WEBP","GIF");return!!["jpg","jpeg","png","webp"].includes(t)||("gif"===t?n:r)};t.validateType=l;const c=e=>{const{bytes:t}=e,n=(0,o.sprintf)(/* translators: %1$s expands to X, %2$s expands to the 5MB size. */ /* translators: %1$s expands to X, %2$s expands to the 5MB size. */
(0,o.__)("The file size of the uploaded image is too large for %1$s. File size must be less than %2$s.","wordpress-seo"),"X","5MB");return!(t>=5)||n};t.validatesBytes=c;const f=(0,i.default)([u,l,c]);t.default=f},8905(e){var t=function(e,t){var n;for(n=0;n<e.length;n++)if(e[n].regex.test(t))return e[n]},n=function(e,n){var r,o,i;for(r=0;r<n.length;r++)if(o=t(e,n.substring(0,r+1)))i=o;else if(i)return{max_index:r,rule:i};return i?{max_index:n.length,rule:i}:void 0};e.exports=function(e){var r="",o=[],i=1,a=1,s=function(t,n){e({type:n,src:t,line:i,col:a});var r=t.split("\n");i+=r.length-1,a=(r.length>1?1:a)+r[r.length-1].length};return{addRule:function(e,t){o.push({regex:e,type:t})},onText:function(e){for(var t=r+e,i=n(o,t);i&&i.max_index!==t.length;)s(t.substring(0,i.max_index),i.rule.type),t=t.substring(i.max_index),i=n(o,t);r=t},end:function(){if(0!==r.length){var e=t(o,r);if(!e){var n=new Error("unable to tokenize");throw n.tokenizer2={buffer:r,line:i,col:a},n}s(r,e.type)}}}}},9694(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeOutboundLink=void 0;var r=s(n(51609)),o=s(n(71802)),i=n(27723),a=n(45098);function s(e){return e&&e.__esModule?e:{default:e}}t.makeOutboundLink=(e="a")=>{class t extends r.default.Component{constructor(e){super(e),this.isYoastLink=this.isYoastLink.bind(this)}isYoastLink(e){return/yoast\.com|yoast\.test|yoa\.st/.test(e)}render(){if(!this.props.href)return null;const t=this.isYoastLink(this.props.href),n=Object.assign({},this.props,{target:"_blank",rel:t?this.props.rel:"noopener"});return r.default.createElement(e,n,this.props.children,r.default.createElement(a.A11yNotice,null,/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
(0,i.__)("(Opens in a new browser tab)","wordpress-seo")))}}return t.propTypes={children:o.default.oneOfType([o.default.node]),href:o.default.string,rel:o.default.string},t.defaultProps={children:null,href:null,rel:null},t}},10810(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e=(e=e.replace(/\s{2,}/g," ")).replace(/\s\.$/,".")).replace(/^\s+|\s+$/g,"")}},19777(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripIncompleteTags=t.stripFullTags=t.stripBlockTagsAtStartEnd=t.default=void 0;var r,o=(r=n(10810))&&r.__esModule?r:{default:r},i=n(64129),a=new RegExp("^<("+i.blockElements.join("|")+")[^>]*?>","i"),s=new RegExp("</("+i.blockElements.join("|")+")[^>]*?>$","i"),u=function(e){return(e=e.replace(/^(<\/([^>]+)>)+/i,"")).replace(/(<([^/>]+)>)+$/i,"")};t.stripIncompleteTags=u;var l=function(e){return(e=e.replace(a,"")).replace(s,"")};t.stripBlockTagsAtStartEnd=l;var c=function(e){return e=e.replace(/(<([^>]+)>)/gi," "),(0,o.default)(e)};t.stripFullTags=c,t.default={stripFullTags:c,stripIncompleteTags:u,stripBlockTagsAtStartEnd:l}},21679(e){"use strict";e.exports=window.yoast.styledComponents},27723(e){"use strict";e.exports=window.wp.i18n},32736(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e,t,i)},t.parseFeedItem=i;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(63790));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function i(e,t,n){const o={};return o.title=(0,r.getXPathText)("child::title",e,t),o.link=(0,r.getXPathText)("child::link",e,t),o.content=(0,r.getXPathText)("child::content:encoded",e,t,n),o.description=(0,r.getXPathText)("child::description",e,t),o.creator=(0,r.getXPathText)("child::dc:creator",e,t,n),o.date=(0,r.getXPathText)("child::pubDate",e,t),o}},43617(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=e=>{var t=document.createElement("textarea");return t.innerHTML=e,t.value}},45098(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.A11yNotice=void 0;var r,o=(r=n(21679))&&r.__esModule?r:{default:r};t.A11yNotice=o.default.span`
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
word-wrap: normal !important;
// Safari+VoiceOver bug see PR 308 and My Yoast issues 445, 712 and PR 715.
transform: translateY(1em);
`},46726(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(78624);const r=(e,t)=>{const n=((e,t)=>{for(const n in t)Object.hasOwn(t,n)&&(void 0!==e[n]&&""!==e[n]||(e[n]=t[n]));return e})(e,{dataType:"json",method:"POST",contentType:"application/json"});return void 0===n.headers&&""===n.headers||((e,t)=>{"jquery"===e&&Object.assign(t,{beforeSend:e=>{jQuery.each(t.headers,(t,n)=>{e.setRequestHeader(t,n)})}}),"fetch"===e&&"json"===t.dataType&&Object.assign(t.headers,{Accepts:"application/json","Content-Type":"application/json"})})(t,n),"json"===n.dataType&&(n.data=JSON.stringify(n.data)),"fetch"===t&&Object.assign(n,{body:n.data}),n};t.default=(e,t)=>"undefined"!=typeof jQuery&&jQuery&&jQuery.ajax?((e,t)=>(Object.assign(t,{url:e}),new Promise((e,n)=>{jQuery.ajax(t).done(t=>{e(t)}).fail(()=>{n("Wrong request")})})))(e,r(t,"jquery")):((e,t)=>{const n=fetch(e,t);return new Promise((e,t)=>{n.then(n=>200===n.status?e(n.json()):t("Response status is not 200")).catch(()=>t("Wrong request"))})})(e,r(t,"fetch"))},51152(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateType=t.validateSize=t.default=void 0;var r,o=n(27723),i=(r=n(74840))&&r.__esModule?r:{default:r};const a=e=>{const{width:t,height:n}=e,r=(0,o.sprintf)(/* Translators: %1$d expands to the minimum width, %2$d expands to the minimum height */ /* Translators: %1$d expands to the minimum width, %2$d expands to the minimum height */
(0,o.__)("Your image dimensions are not suitable. The minimum dimensions are %1$dx%2$d pixels.","wordpress-seo"),200,200);return!(t<200||n<200)||r};t.validateSize=a;const s=e=>{const{type:t}=e,n=(0,o.sprintf)(
/* Translators: %1$s expands to the jpg format, %2$s expands to the png format,
%3$s expands to the webp format, %4$s expands to the gif format. */
/* Translators: %1$s expands to the jpg format, %2$s expands to the png format,
%3$s expands to the webp format, %4$s expands to the gif format. */
(0,o.__)("The format of the uploaded image is not supported. The supported formats are: %1$s, %2$s, %3$s and %4$s.","wordpress-seo"),"JPG","PNG","WEBP","GIF");return!!["jpg","png","gif","jpeg","webp"].includes(t)||n};t.validateType=s;const u=(0,i.default)([a,s]);t.default=u},51609(e){"use strict";e.exports=window.React},53187(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"stripHTMLTags",{enumerable:!0,get:function(){return o.stripFullTags}}),Object.defineProperty(t,"stripSpaces",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"stripTagsFromHtmlString",{enumerable:!0,get:function(){return a.stripTagsFromHtmlString}});var r,o=n(19777),i=(r=n(10810))&&r.__esModule?r:{default:r},a=n(788)},62210(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={getDirectionalStyle:!0,sendRequest:!0,decodeHTML:!0,getFeed:!0,getCourseFeed:!0,getPostFeed:!0,createSvgIconComponent:!0,getWordBoundaries:!0,strings:!0,join:!0,makeOutboundLink:!0,validateFacebookImage:!0,validateTwitterImage:!0};Object.defineProperty(t,"createSvgIconComponent",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"getCourseFeed",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"getDirectionalStyle",{enumerable:!0,get:function(){return o.getDirectionalStyle}}),Object.defineProperty(t,"getFeed",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"getPostFeed",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"getWordBoundaries",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"join",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"makeOutboundLink",{enumerable:!0,get:function(){return h.makeOutboundLink}}),Object.defineProperty(t,"sendRequest",{enumerable:!0,get:function(){return i.default}}),t.strings=void 0,Object.defineProperty(t,"validateFacebookImage",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"validateTwitterImage",{enumerable:!0,get:function(){return g.default}});var o=n(63232),i=v(n(46726)),a=v(n(43617)),s=v(n(63790)),u=v(n(96475)),l=v(n(32736)),c=v(n(96990)),f=v(n(82830)),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=m(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&{}.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(53187));t.strings=d;var p=v(n(65560)),h=n(9694),y=v(n(51152)),g=v(n(5043)),b=n(79554);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n:t})(e)}function v(e){return e&&e.__esModule?e:{default:e}}Object.keys(b).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===b[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}}))})},63232(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDirectionalStyle=function(e,t){return n=>n.theme.isRtl?t:e}},63790(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=0,n=i.parseFeedItem){return fetch(e).then(function(e){return e.text()}).then(function(e){return s(e,t,n)})},t.getXPathText=a,t.parseFeed=s;var r,o=(r=n(70432))&&r.__esModule?r:{default:r},i=n(32736);function a(e,t,n=null,r=null){if(0===t.evaluate("count("+e+")",n||t,r,XPathResult.ANY_TYPE,null).numberValue)return;const o=t.evaluate(e,n||t,r,XPathResult.STRING_TYPE,null);return o.stringValue?o.stringValue:null}function s(e,t=0,n=i.parseFeedItem){return new Promise(function(r,i){try{"evaluate"in document==0&&o.default.install();const i=(new DOMParser).parseFromString(e,"application/xml"),s=i.createNSResolver(i.documentElement),u=function(e){const t={};return t.title=a("/rss/channel/title",e),t.description=a("/rss/channel/description",e),t.link=a("/rss/channel/link",e),t}(i);u.items=function(e,t,n,r){const o=function(e,t,n=null,r=null){return t.evaluate(e,n||t,r,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,null)}("/rss/channel/item",e);let i=o.snapshotLength;const a=[];0!==n&&(i=Math.min(i,n));for(let n=0;n<i;n++){const i=o.snapshotItem(n);a.push(r(e,i,t))}return a}(i,s,t,n),r(u)}catch(e){i(e)}})}},64129(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inlineElements=t.getBlocks=t.default=t.blockElements=void 0,t.isBlockElement=E,t.isInlineElement=_;var r,o,i=n(66087),a=(r=n(8905))&&r.__esModule?r:{default:r},s=t.blockElements=["address","article","aside","blockquote","canvas","dd","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hLine truncated
width: ${e=>e.size};
height: ${e=>e.size};
flex: none;
`;class l extends o.default.Component{render(){const{iconSet:e,icon:t,className:n,color:r,size:i}=this.props,s=e[t];if(!s)return console.warn(`Invalid icon name ("${t}") passed to the SvgIcon component.`),null;const l=s.path,c=s.viewbox,f=["yoast-svg-icon","yoast-svg-icon-"+t,n].filter(Boolean).join(" "),d=s.CustomComponent?s.CustomComponent:u;return o.default.createElement(d,{"aria-hidden":!0,role:"img",focusable:"false",size:i,className:f,xmlns:"http://www.w3.org/2000/svg",viewBox:c,fill:r},(0,a.isArray)(l)?l:o.default.createElement("path",{d:l}))}}l.propTypes={icon:r.default.string.isRequired,iconSet:r.default.object.isRequired,color:r.default.string,size:r.default.string,className:r.default.string},l.defaultProps={size:"16px",color:"currentColor",className:""},t.default=e=>{const t=({icon:t,className:n="",color:r="currentColor",size:i="16px"})=>o.default.createElement(l,{iconSet:e,icon:t,className:n,color:r,size:i});return t.propTypes={icon:r.default.string.isRequired,color:r.default.string,size:r.default.string,className:r.default.string},t}}},t={},n=function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(62210);(window.yoast=window.yoast||{}).helpers=n})();
@@ -0,0 +1 @@
(()=>{var t={69407(t,e){!function(r,n){var i=Array.prototype,s=Object.prototype,o=i.slice,l=s.hasOwnProperty,a=i.forEach,h={},c={forEach:function(t,e,r){var n,i,s;if(null!==t)if(a&&t.forEach===a)t.forEach(e,r);else if(t.length===+t.length){for(n=0,i=t.length;n<i;n++)if(n in t&&e.call(r,t[n],n,t)===h)return}else for(s in t)if(l.call(t,s)&&e.call(r,t[s],s,t)===h)return},extend:function(t){return this.forEach(o.call(arguments,1),function(e){for(var r in e)t[r]=e[r]}),t}},u=function(t){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=c.extend({},this.defaults,t),this.textdomain(this.options.domain),t.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+t.domain+"`")};function p(t){return u.PF.compile(t||"nplurals=2; plural=(n != 1);")}function f(t,e){this._key=t,this._i18n=e}u.context_delimiter=String.fromCharCode(4),c.extend(f.prototype,{onDomain:function(t){return this._domain=t,this},withContext:function(t){return this._context=t,this},ifPlural:function(t,e){return this._val=t,this._pkey=e,this},fetch:function(t){return"[object Array]"!={}.toString.call(t)&&(t=[].slice.call(arguments,0)),(t&&t.length?u.sprintf:function(t){return t})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),t)}}),c.extend(u.prototype,{translate:function(t){return new f(t,this)},textdomain:function(t){if(!t)return this._textdomain;this._textdomain=t},gettext:function(t){return this.dcnpgettext.call(this,n,n,t)},dgettext:function(t,e){return this.dcnpgettext.call(this,t,n,e)},dcgettext:function(t,e){return this.dcnpgettext.call(this,t,n,e)},ngettext:function(t,e,r){return this.dcnpgettext.call(this,n,n,t,e,r)},dngettext:function(t,e,r,i){return this.dcnpgettext.call(this,t,n,e,r,i)},dcngettext:function(t,e,r,i){return this.dcnpgettext.call(this,t,n,e,r,i)},pgettext:function(t,e){return this.dcnpgettext.call(this,n,t,e)},dpgettext:function(t,e,r){return this.dcnpgettext.call(this,t,e,r)},dcpgettext:function(t,e,r){return this.dcnpgettext.call(this,t,e,r)},npgettext:function(t,e,r,i){return this.dcnpgettext.call(this,n,t,e,r,i)},dnpgettext:function(t,e,r,n,i){return this.dcnpgettext.call(this,t,e,r,n,i)},dcnpgettext:function(t,e,r,n,i){var s;if(n=n||r,t=t||this._textdomain,!this.options)return(s=new u).dcnpgettext.call(s,void 0,void 0,r,n,i);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[t])throw new Error("Domain `"+t+"` was not found.");if(!this.options.locale_data[t][""])throw new Error("No locale meta information provided.");if(!r)throw new Error("No translation key found.");var o,l,a,h=e?e+u.context_delimiter+r:r,c=this.options.locale_data,f=c[t],g=(c.messages||this.defaults.locale_data.messages)[""],y=f[""].plural_forms||f[""]["Plural-Forms"]||f[""]["plural-forms"]||g.plural_forms||g["Plural-Forms"]||g["plural-forms"];if(void 0===i)a=0;else{if("number"!=typeof i&&(i=parseInt(i,10),isNaN(i)))throw new Error("The number that was passed in is not a number.");a=p(y)(i)}if(!f)throw new Error("No domain named `"+t+"` could be found.");return!(o=f[h])||a>o.length?(this.options.missing_key_callback&&this.options.missing_key_callback(h,t),l=[r,n],!0===this.options.debug&&console.log(l[p(y)(i)]),l[p()(i)]):(l=o[a])||(l=[r,n])[p()(i)]}});var g,y=function(){function t(t){return Object.prototype.toString.call(t).slice(8,-1).toLowerCase()}function e(t,e){for(var r=[];e>0;r[--e]=t);return r.join("")}var r=function(){return r.cache.hasOwnProperty(arguments[0])||(r.cache[arguments[0]]=r.parse(arguments[0])),r.format.call(null,r.cache[arguments[0]],arguments)};return r.format=function(r,n){var i,s,o,l,a,h,c,u=1,p=r.length,f="",g=[];for(s=0;s<p;s++)if("string"===(f=t(r[s])))g.push(r[s]);else if("array"===f){if((l=r[s])[2])for(i=n[u],o=0;o<l[2].length;o++){if(!i.hasOwnProperty(l[2][o]))throw y('[sprintf] property "%s" does not exist',l[2][o]);i=i[l[2][o]]}else i=l[1]?n[l[1]]:n[u++];if(/[^s]/.test(l[8])&&"number"!=t(i))throw y("[sprintf] expecting number but found %s",t(i));switch(null==i&&(i=""),l[8]){case"b":i=i.toString(2);break;case"c":i=String.fromCharCode(i);break;case"d":i=parseInt(i,10);break;case"e":i=l[7]?i.toExponential(l[7]):i.toExponential();break;case"f":i=l[7]?parseFloat(i).toFixed(l[7]):parseFloat(i);break;case"o":i=i.toString(8);break;case"s":i=(i=String(i))&&l[7]?i.substring(0,l[7]):i;break;case"u":i=Math.abs(i);break;case"x":i=i.toString(16);break;case"X":i=i.toString(16).toUpperCase()}i=/[def]/.test(l[8])&&l[3]&&i>=0?"+"+i:i,h=l[4]?"0"==l[4]?"0":l[4].charAt(1):" ",c=l[6]-String(i).length,a=l[6]?e(h,c):"",g.push(l[5]?i+a:a+i)}return g.join("")},r.cache={},r.parse=function(t){for(var e=t,r=[],n=[],i=0;e;){if(null!==(r=/^[^\x25]+/.exec(e)))n.push(r[0]);else if(null!==(r=/^\x25{2}/.exec(e)))n.push("%");else{if(null===(r=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)Line truncated
@@ -0,0 +1 @@
(()=>{var e={2694(e,r,t){"use strict";var o=t(6925);function n(){}function p(){}p.resetWarningCache=n,e.exports=function(){function e(e,r,t,n,p,s){if(s!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:p,resetWarningCache:n};return t.PropTypes=t,t}},5556(e,r,t){e.exports=t(2694)()},6925(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},r={},t=function t(o){var n=r[o];if(void 0!==n)return n.exports;var p=r[o]={exports:{}};return e[o](p,p.exports,t),p.exports}(5556);(window.yoast=window.yoast||{}).propTypes=t})();
@@ -0,0 +1 @@
(()=>{var e={30115(e){var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var u,c,s,f;if(Array.isArray(e)){if((u=e.length)!=a.length)return!1;for(c=u;0!==c--;)if(!i(e[c],a[c]))return!1;return!0}if(r&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(f=e.entries();!(c=f.next()).done;)if(!a.has(c.value[0]))return!1;for(f=e.entries();!(c=f.next()).done;)if(!i(c.value[1],a.get(c.value[0])))return!1;return!0}if(n&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(f=e.entries();!(c=f.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((u=e.length)!=a.length)return!1;for(c=u;0!==c--;)if(e[c]!==a[c])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((u=(s=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(c=u;0!==c--;)if(!Object.prototype.hasOwnProperty.call(a,s[c]))return!1;if(t&&e instanceof Element)return!1;for(c=u;0!==c--;)if(("_owner"!==s[c]&&"__v"!==s[c]&&"__o"!==s[c]||!e.$$typeof)&&!i(e[s[c]],a[s[c]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},45228(e){"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,a,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),c=1;c<arguments.length;c++){for(var s in i=Object(arguments[c]))r.call(i,s)&&(u[s]=i[s]);if(t){a=t(i);for(var f=0;f<a.length;f++)n.call(i,a[f])&&(u[a[f]]=i[a[f]])}}return u}},51609(e){"use strict";e.exports=window.React},52098(e,t,r){"use strict";var n,o=r(51609),i=(n=o)&&"object"==typeof n&&"default"in n?n.default:n;function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,r){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==r&&"function"!=typeof r)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(n){if("function"!=typeof n)throw new Error("Expected WrappedComponent to be a React component.");var c,s=[];function f(){c=e(s.map(function(e){return e.props})),l.canUseDOM?t(c):r&&(c=r(c))}var l=function(e){var t,r;function o(){return e.apply(this,arguments)||this}r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r,o.peek=function(){return c},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=c;return c=void 0,s=[],e};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){s.push(this),f()},a.componentDidUpdate=function(){f()},a.componentWillUnmount=function(){var e=s.indexOf(this);s.splice(e,1),f()},a.render=function(){return i.createElement(n,this.props)},o}(o.PureComponent);return a(l,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),a(l,"canUseDOM",u),l}}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{Helmet:()=>re,default:()=>ne});const e=window.yoast.propTypes;var t,o,i,a,u=r.n(e),c=r(52098),s=r.n(c),f=r(30115),l=r.n(f),p=r(51609),d=r.n(p),y=r(45228),h=r.n(y),b="bodyAttributes",m="htmlAttributes",T={BASE:"base",BODY:"body",HEAD:"hLine truncated
@@ -0,0 +1 @@
(()=>{"use strict";var r={d:(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o:(r,t)=>Object.prototype.hasOwnProperty.call(r,t),r:r=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})}},t={};function e(r){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e(r)}function n(r){var t=function(r){if("object"!=e(r)||!r)return r;var t=r[Symbol.toPrimitive];if(void 0!==t){var n=t.call(r,"string");if("object"!=e(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}(r);return"symbol"==e(t)?t:String(t)}function o(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),e.push.apply(e,n)}return e}function i(r){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?o(Object(e),!0).forEach(function(t){var o,i,f;o=r,i=t,f=e[t],(i=n(i))in o?Object.defineProperty(o,i,{value:f,enumerable:!0,configurable:!0,writable:!0}):o[i]=f}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})}return r}function f(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}r.r(t),r.d(t,{__DO_NOT_USE__ActionTypes:()=>y,applyMiddleware:()=>w,bindActionCreators:()=>s,combineReducers:()=>l,compose:()=>v,createStore:()=>a,legacy_createStore:()=>p});var u="function"==typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},y={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function a(r,t,e){var n;if("function"==typeof t&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(f(0));if("function"==typeof t&&void 0===e&&(e=t,t=void 0),void 0!==e){if("function"!=typeof e)throw new Error(f(1));return e(a)(r,t)}if("function"!=typeof r)throw new Error(f(2));var o=r,i=t,c=[],p=c,l=!1;function b(){p===c&&(p=c.slice())}function s(){if(l)throw new Error(f(3));return i}function v(r){if("function"!=typeof r)throw new Error(f(4));if(l)throw new Error(f(5));var t=!0;return b(),p.push(r),function(){if(t){if(l)throw new Error(f(6));t=!1,b();var e=p.indexOf(r);p.splice(e,1),c=null}}}function w(r){if(!function(r){if("object"!=typeof r||null===r)return!1;for(var t=r;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}(r))throw new Error(f(7));if(void 0===r.type)throw new Error(f(8));if(l)throw new Error(f(9));try{l=!0,i=o(i,r)}finally{l=!1}for(var t=c=p,e=0;e<t.length;e++)(0,t[e])();return r}return w({type:y.INIT}),(n={dispatch:w,subscribe:v,getState:s,replaceReducer:function(r){if("function"!=typeof r)throw new Error(f(10));o=r,w({type:y.REPLACE})}})[u]=function(){var r,t=v;return(r={subscribe:function(r){if("object"!=typeof r||null===r)throw new Error(f(11));function e(){r.next&&r.next(s())}return e(),{unsubscribe:t(e)}}})[u]=function(){return this},r},n}var p=a;function l(r){for(var t=Object.keys(r),e={},n=0;n<t.length;n++){var o=t[n];"function"==typeof r[o]&&(e[o]=r[o])}var i,u=Object.keys(e);try{!function(r){Object.keys(r).forEach(function(t){var e=r[t];if(void 0===e(void 0,{type:y.INIT}))throw new Error(f(12));if(void 0===e(void 0,{type:y.PROBE_UNKNOWN_ACTION()}))throw new Error(f(13))})}(e)}catch(r){i=r}return function(r,t){if(void 0===r&&(r={}),i)throw i;for(var n=!1,o={},c=0;c<u.length;c++){var y=u[c],a=e[y],p=r[y],l=a(p,t);if(void 0===l)throw t&&t.type,new Error(f(14));o[y]=l,n=n||l!==p}return(n=n||u.length!==Object.keys(r).length)?o:r}}function b(r,t){return function(){return t(r.apply(this,arguments))}}function s(r,t){if("function"==typeof r)return b(r,t);if("object"!=typeof r||null===r)throw new Error(f(16));var e={};for(var n in r){var o=r[n];"function"==typeof o&&(e[n]=b(o,t))}return e}function v(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];return 0===t.length?function(r){return r}:1===t.length?t[0]:t.reduce(function(r,t){return function(){return r(t.apply(void 0,arguments))}})}function w(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];return function(r){return function(){var e=r.apply(void 0,arguments),n=function(){throw new Error(f(15))},o={getState:e.getState,dispatch:function(){return n.apply(void 0,arguments)}},u=t.map(function(r){return r(o)});return n=v.apply(void 0,u)(e.dispatch),i(i({},e),{},{dispatch:n})}}}(windLine truncated
@@ -0,0 +1 @@
(()=>{"use strict";var e={16535(e,t,n){function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(e){return"'"+e+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[B]}function o(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Q}(e)||Array.isArray(e)||!!e[K]||!!e.constructor[K]||d(e)||p(e))}function u(e){return i(e)||r(23,e),e[B].t}function a(e,t,n){void 0===n&&(n=!1),0===c(e)?(n?Object.keys:G)(e).forEach(function(r){n&&"symbol"==typeof r||t(r,e[r],e)}):e.forEach(function(n,r){return t(r,n,e)})}function c(e){var t=e[B];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:p(e)?3:0}function f(e,t){return 2===c(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t,n){var r=c(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function s(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return V&&e instanceof Map}function p(e){return W&&e instanceof Set}function v(e){return e.o||e.t}function y(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=J(e);delete t[B];for(var n=G(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function h(e,t){return void 0===t&&(t=!1),b(e)||i(e)||!o(e)||(c(e)>1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&a(e,function(e,t){return h(t,!0)},!0)),e}function g(){r(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function m(e){var t=$[e];return t||r(18,e),t}function w(){return N}function O(e,t){t&&(m("Patches"),e.u=[],e.s=[],e.v=t)}function A(e){j(e),e.p.forEach(S),e.p=null}function j(e){e===N&&(N=e.l)}function P(e){return N={p:[],l:N,h:e,m:!0,_:0}}function S(e){var t=e[B];0===t.i||1===t.i?t.j():t.O=!0}function E(e,t){t._=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.g||m("ES5").S(t,e,i),i?(n[B].P&&(A(t),r(4)),o(e)&&(e=x(t,e),t.l||_(t,e)),t.u&&m("Patches").M(n[B].t,e,t.u,t.s)):e=x(t,n,[]),A(t),t.u&&t.v(t.u,t.s),e!==X?e:void 0}function x(e,t,n){if(b(t))return t;var r=t[B];if(!r)return a(t,function(i,o){return k(e,r,t,i,o,n)},!0),t;if(r.A!==e)return t;if(!r.P)return _(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=y(r.k):r.o;a(3===r.i?new Set(i):i,function(t,o){return k(e,r,i,t,o,n)}),_(e,i,!1),n&&e.u&&m("Patches").R(r,n,e.u,e.s)}return r.o}function k(e,t,n,r,u,a){if(i(u)){var c=x(e,u,a&&t&&3!==t.i&&!f(t.D,r)?a.concat(r):void 0);if(l(n,r,c),!i(c))return;e.m=!1}if(o(u)&&!b(u)){if(!e.h.F&&e._<1)return;x(e,u),t&&t.A.l||_(e,u)}}function _(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&h(t,n)}function M(e,t){var n=e[B];return(n?v(n):e)[t]}function I(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function D(e){e.P||(e.P=!0,e.l&&D(e.l))}function T(e){e.o||(e.o=y(e.t))}function R(e,t,n){var r=d(t)?m("MapSet").N(t,n):p(t)?m("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:w(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=H;n&&(i=[r],o=Y);var u=Proxy.revocable(i,o),a=u.revoke,c=u.proxy;return r.k=c,r.j=a,c}(t,n):m("ES5").J(t,n);return(n?n.A:w()).p.push(r),r}function C(e){return i(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[B],i=c(t);if(r){if(!r.P&&(r.i<4||!m("ES5").K(r)))return r.t;r.I=!0,n=z(t,i),r.I=!1}else n=z(t,i);return a(n,function(t,i){r&&function(e,t){return 2===c(e)?e.get(t):e[t]}(r.t,t)===i||l(n,t,e(i))}),3===i?new Set(n):n}(e)}function z(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return y(e)}function F(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[B];return H.get(t,e)},set:function(t){var n=this[B];H.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][B];if(!i.P)switch(i.i){case 5:r(i)&&D(i);break;case 4:n(i)&&D(i)}}}function n(e){for(var t=e.t,n=e.k,r=G(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==B){var u=t[o];if(void 0===u&&!f(t,o))return!0;var a=n[o],c=a&&a[B];if(c?c.t!==u:!s(a,u))return!0}}var l=!!t[B];return r.length!==G(t).length+(l?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};!function(e,t){$[e]||($[e]=t)}("ES5",{J:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=J(n);delete o[B];for(var u=G(o),a=0;a<u.length;a++){var c=u[a];o[c]=e(c,t||!!o[c].enuLine truncated
@@ -0,0 +1,7 @@
(()=>{var e={1509(e,a,t){const l=t(51609),s=l.forwardRef(function(e,a){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v16m8-8H4"}))});e.exports=s},16141(e,a,t){const l=t(51609),s=l.forwardRef(function(e,a){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))});e.exports=s},17219(e,a,t){const l=t(51609),s=l.forwardRef(function(e,a){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}))});e.exports=s},43527(e,a,t){const l=t(51609),s=l.forwardRef(function(e,a){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))});e.exports=s},46702(e,a,t){const l=t(51609),s=l.forwardRef(function(e,a){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))});e.exports=s},51609(e){"use strict";e.exports=window.React},56621(e,a){var t;!function(){"use strict";var l={}.hasOwnProperty;function s(){for(var e="",a=0;a<arguments.length;a++){var t=arguments[a];t&&(e=n(e,r(t)))}return e}function r(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return s.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var a="";for(var t in e)l.call(e,t)&&e[t]&&(a=n(a,t));return a}function n(e,a){return a?e?e+" "+a:e+a:e}e.exports?(s.default=s,e.exports=s):void 0===(t=function(){return s}.apply(a,[]))||(e.exports=t)}()},72514(e,a,t){const l=t(51609),s=l.forwardRef(function(e,a){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))});e.exports=s},83473(e,a,t){const l=t(51609),s=l.forwardRef(function(e,a){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:a},e),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))});e.exports=s}},a={};function t(l){var s=a[l];if(void 0!==s)return s.exports;var r=a[l]={exports:{}};return e[l](r,r.exports,t),r.exports}t.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a}),a},t.d=(e,a)=>{for(var l in a)t.o(a,l)&&!t.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:a[l]})},t.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};(()=>{"use strict";t.r(l),t.d(l,{CountrySelector:()=>j,DifficultyBullet:()=>w,IntentBadge:()=>v,KeyphrasesTable:()=>_,Modal:()=>$,PremiumUpsell:()=>q,TableButton:()=>O,TrendGraph:()=>c,UserMessage:()=>Y});var e=t(51609),a=t.n(e);const s=window.yoast.propTypes;var r=t.n(s);const n=window.wp.i18n,o=[(0,n.__)("Twelve months ago","wordpress-seo"),(0,n.__)("Eleven months ago","wordpress-seo"),(0,n.__)("Ten months ago","wordpress-seo"),(0,n.__)("Nine months ago","wordpress-seo"),(0,n.__)("Eight months ago","wordpress-seo"),(0,n.__)("Seven months ago","wordpress-seo"),(0,n.__)("Six months ago","wordpress-seo"),(0,n.__)("Five months ago","wordpress-seo"),(0,n.__)("Four months ago","wordpress-seo"),(0,n.__)("Three months ago","wordpress-seo"),(0,n.__)("Two months ago","wordpress-seo"),(0,n.__)("Last month","wordpress-seo")],i=({data:e})=>{if(e.length!==o.length)throw new Error("The number of headers and header labels don't match.");return a().createElement("div",{className:"yst-sr-only"},a().createElement("table",null,a().createElement("caption",null,(0,n.__)("Keyphrase volume in the last 12 months on a scale from 0 to 1Line truncated
(0,n.__)("You’ll reach more people with multiple keyphrases! Want to quickly add these related keyphrases to the %s analyses for even better content optimization?","wordpress-seo"),"Yoast SEO")),a().createElement(m.Button,{variant:"upsell",as:"a",href:e,className:"yst-mt-4 yst-gap-2",target:"_blank"},a().createElement(I(),{className:"yst-w-4 yst-h-4 yst-text-amber-900"}),(0,n.sprintf)(/* translators: %s: Expands to "Yoast SEO Premium". */ /* translators: %s: Expands to "Yoast SEO Premium". */
(0,n.__)("Explore %s!","wordpress-seo"),"Yoast SEO Premium"),a().createElement("span",{className:"yst-sr-only"},(0,n.__)("(Opens in a new browser tab)","wordpress-seo"))));q.propTypes={url:r().string.isRequired,className:r().string};var z=t(83473),P=t.n(z);const K=({upsellLink:e="",className:t=""})=>a().createElement(m.Alert,{variant:"warning",className:t},a().createElement("div",{className:"yst-flex yst-flex-col yst-items-start"},(0,n.sprintf)(/* translators: %s : Expands to "Semrush". */ /* translators: %s : Expands to "Semrush". */
(0,n.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush"),e&&a().createElement(m.Button,{variant:"upsell",className:"yst-mt-3 yst-gap-1.5",as:"a",href:e,target:"_blank"},(0,n.sprintf)(/* translators: %s : Expands to "Semrush". */ /* translators: %s : Expands to "Semrush". */
(0,n.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),a().createElement(P(),{className:"yst-w-4 yst-h-4 yst-text-amber-900 rtl:yst-rotate-180"}))));K.propTypes={upsellLink:r().string,className:r().string};const D=({className:e=""})=>a().createElement(m.Alert,{variant:"error",className:e},(0,n.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"));D.propTypes={className:r().string};const U=({className:e=""})=>a().createElement(m.Alert,{variant:"info",className:e},(0,n.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"));U.propTypes={className:r().string};const V=({className:e=""})=>a().createElement(m.Alert,{variant:"warning",className:e},(0,n.sprintf)(/* translators: %s: Expands to "Yoast SEO". */ /* translators: %s: Expands to "Yoast SEO". */
(0,n.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"));V.propTypes={className:r().string};const Y=({variant:e=null,upsellLink:t="",className:l=""})=>{switch(e){case"requestLimitReached":return a().createElement(K,{upsellLink:t,className:l});case"requestFailed":return a().createElement(D,{className:l});case"requestEmpty":return a().createElement(U,{className:l});case"maxRelatedKeyphrases":return a().createElement(V,{className:l});default:return null}};Y.propTypes={variant:r().oneOf(["requestLimitReached","requestFailed","requestEmpty","maxRelatedKeyphrases"]),upsellLink:r().string,className:r().string};var F=t(46702),G=t.n(F);const W=()=>a().createElement("svg",{className:"yst-w-[17px] yst-h-[17px] yst-fill-primary-500 yst-mt-[3px]",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27",role:"img","aria-hidden":"true",focusable:"false"},a().createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 0 0-56.45-81.28z"}),a().createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"3.81"})),$=({isOpen:e,onClose:t,insightsLink:l,learnMoreLink:s,children:r=null})=>a().createElement(m.Modal,{onClose:t,isOpen:e},a().createElement(m.Modal.Panel,{className:"yst-p-0 yst-max-w-2xl"},a().createElement(m.Modal.Container.Header,{className:"yst-flex yst-gap-3 yst-p-6 yst-border-b-slate-200 yst-border-b yst-flex-row"},a().createElement(W,null),a().createElement(m.Modal.Title,{as:"h3",className:"yst-text-lg yst-font-medium"},(0,n.__)("Related keyphrases","wordpress-seo"))),a().createElement(m.Modal.Container.Content,{className:"yst-related-keyphrase-modal-content yst-m-0"},r),a().createElement(m.Modal.Container.Footer,{className:"yst-p-6 yst-border-t yst-border-t-slate-200 yst-flex yst-justify-between"},a().createElement(m.Link,{href:l,className:"yst-modal-footer-link",target:"_blank"},(0,n.sprintf)(/* translators: %s expands to Semrush */ /* translators: %s expands to Semrush */
(0,n.__)("Get more insights at %s","wordpress-seo"),"Semrush"),a().createElement("span",{className:"yst-sr-only"},(0,n.__)("(Opens in a new browser tab)","wordpress-seo")),a().createElement(G(),{className:"yst-link-icon rtl:yst-rotate-[270deg]"})),a().createElement(m.Link,{href:s,className:"yst-modal-footer-link yst-text-primary-500",target:"_blank"},(0,n.__)("Learn more about the metrics","wordpress-seo"),a().createElement("span",{className:"yst-sr-only"},(0,n.__)("(Opens in a new browser tab)","wordpress-seo")),a().createElement(P(),{className:"yst-link-icon rtl:yst-rotate-180"})))));$.propTypes={isOpen:r().bool.isRequired,onClose:r().func.isRequired,insightsLink:r().string.isRequired,learnMoreLink:r().string.isRequired,children:r().node}})(),(window.yoast=window.yoast||{}).relatedKeyphraseSuggestions=l})();
@@ -0,0 +1,86 @@
(()=>{var t={5504(t){"use strict";t.exports=window.lodash.debounce},9404(t){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return s(t)?t:U(t)}function r(t){return a(t)?t:W(t)}function i(t){return u(t)?t:N(t)}function o(t){return s(t)&&!c(t)?t:H(t)}function s(t){return!(!t||!t[l])}function a(t){return!(!t||!t[h])}function u(t){return!(!t||!t[p])}function c(t){return a(t)||u(t)}function f(t){return!(!t||!t[d])}e(r,n),e(i,n),e(o,n),n.isIterable=s,n.isKeyed=a,n.isIndexed=u,n.isAssociative=c,n.isOrdered=f,n.Keyed=r,n.Indexed=i,n.Set=o;var l="@@__IMMUTABLE_ITERABLE__@@",h="@@__IMMUTABLE_KEYED__@@",p="@@__IMMUTABLE_INDEXED__@@",d="@@__IMMUTABLE_ORDERED__@@",v="delete",_=32,y=31,g={},m={value:!1},b={value:!1};function w(t){return t.value=!1,t}function S(t){t&&(t.value=!0)}function E(){}function O(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;i<n;i++)r[i]=t[i+e];return r}function x(t){return void 0===t.size&&(t.size=t.__iterate(z)),t.size}function I(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?x(t)+e:e}function z(){return!0}function M(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function C(t,e){return k(t,e,0)}function D(t,e){return k(t,e,e)}function k(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var R="function"==typeof Symbol&&Symbol.iterator,A="@@iterator",q=R||A;function j(t){this.next=t}function P(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function B(){return{value:void 0,done:!0}}function T(t){return!!V(t)}function F(t){return t&&"function"==typeof t.next}function K(t){var e=V(t);return e&&e.call(t)}function V(t){var e=t&&(R&&t[R]||t[A]);if("function"==typeof e)return e}function L(t){return t&&"number"==typeof t.length}function U(t){return null==t?nt():s(t)?t.toSeq():function(t){var e=ot(t)||"object"==typeof t&&new Q(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function W(t){return null==t?nt().toKeyedSeq():s(t)?a(t)?t.toSeq():t.fromEntrySeq():rt(t)}function N(t){return null==t?nt():s(t)?a(t)?t.entrySeq():t.toIndexedSeq():it(t)}function H(t){return(null==t?nt():s(t)?a(t)?t.entrySeq():t:it(t)).toSetSeq()}j.prototype.toString=function(){return"[Iterator]"},j.KEYS=0,j.VALUES=1,j.ENTRIES=2,j.prototype.inspect=j.prototype.toSource=function(){return this.toString()},j.prototype[q]=function(){return this},e(U,n),U.of=function(){return U(arguments)},U.prototype.toSeq=function(){return this},U.prototype.toString=function(){return this.__toString("Seq {","}")},U.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},U.prototype.__iterate=function(t,e){return st(this,t,e,!0)},U.prototype.__iterator=function(t,e){return at(this,t,e,!0)},e(W,U),W.prototype.toKeyedSeq=function(){return this},e(N,U),N.of=function(){return N(arguments)},N.prototype.toIndexedSeq=function(){return this},N.prototype.toString=function(){return this.__toString("Seq [","]")},N.prototype.__iterate=function(t,e){return st(this,t,e,!1)},N.prototype.__iterator=function(t,e){return at(this,t,e,!1)},e(H,U),H.of=function(){return H(arguments)},H.prototype.toSetSeq=function(){return this},U.isSeq=et,U.Keyed=W,U.Set=H,U.Indexed=N;var J,$,Y,X="@@__IMMUTABLE_SEQ__@@";function G(t){this._array=t,this.size=t.length}function Q(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function Z(t){this._iterable=t,this.size=t.length||t.size}function tt(t){this._iterator=t,this._iteratorCache=[]}function et(t){return!(!t||!t[X])}function nt(){return J||(J=new G([]))}function rt(t){var e=Array.isArray(t)?new G(t).fromEntrySeq():F(t)?new tt(t).fromEntrySeq():T(t)?new Z(t).fromEntrySeq():"object"==typeof t?new Q(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function it(t){var e=ot(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function ot(t){return L(t)?new G(t):F(t)?new tt(t):T(t)?new Z(t):void 0}function st(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,s=0;s<=o;s++){var a=i[n?o-s:s];if(!1===e(a[1],r?a[0]:s,t))return s+1}return s}return t.__iterateUncached(e,n)}function at(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,s=0;return new j(function(){var t=i[n?o-s:s];return s++>o?{value:void 0,done:!0}:P(e,r?t[0]:s-1,t[1])})}return t.__iteratorUncached(e,n)}function ut(t,e){return e?ct(e,t,"",{"":t}):ft(t)}function ct(t,e,n,r){return Array.isArray(e)?t.call(r,n,N(e).map(function(n,r){return ct(t,n,r,e)})):lt(e)?t.call(r,n,W(e).map(function(n,r){return ct(t,n,r,e)})):e}function ft(t){return Array.isArray(t)?N(t).map(ft).toList():lt(t)?W(t).map(ft).toMap():t}function lt(t){return t&&(t.constructor===Object||voiLine truncated
.public-DraftStyleDefault-block {
line-height: 1.85714285; // 26px based on 14px font-size
}
.public-DraftEditorPlaceholder-root {
color: ${u};
line-height: 1.85714285; // 26px based on 14px font-size
}
.public-DraftEditorPlaceholder-hasFocus {
color: ${u};
}
`,e.DescriptionInputContainer=(0,i.default)(a.VariableEditorInputContainer)`
min-height: 72px;
padding: 4px 5px;
line-height: 1.85714285; // 26px based on 14px font-size
.public-DraftEditorPlaceholder-root {
color: ${u};
position: absolute;
line-height: 1.85714285; // 26px based on 14px font-size
}
.public-DraftEditorPlaceholder-hasFocus {
color: ${u};
position: absolute;
}
`,e.FormSection=i.default.div`
display: flex;
flex-wrap: wrap;
align-items: center;
margin: 16px 0 0 0;
`,e.StandardButton=(0,i.default)(a.Button)`
color: #303030;
box-sizing: border-box;
border-radius: 4px;
box-shadow: inset 0 -2px 0 0 rgba(0,0,0,0.1);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
padding: 4px;
border: 1px solid #dbdbdb;
font-size: 14px;
font-weight: 400;
line-height: 1.5;
margin-bottom: 5px;
max-width: 200px;
padding: 0 0.5em;
`);e.TriggerReplacementVariableSuggestionsButton=(0,i.default)(c)`
font-size: 13px;
margin-bottom: 0; /* Override StandardButton margin instead of changing that. */
& svg {
${(0,o.getDirectionalStyle)("margin-right","margin-left")}: 7px;
fill: ${s.colors.$color_grey_dark};
}
`,e.ButtonsContainer=i.default.div`
display: inline-flex;
gap: 0.5em;
margin-inline-start: auto;
margin-bottom: 5px;
`},32485(t,e){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var o=typeof n;if("string"===o||"number"===o)t.push(n);else if(Array.isArray(n)){if(n.length){var s=i.apply(null,n);s&&t.push(s)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){t.push(n.toString());continue}for(var a in n)r.call(n,a)&&n[a]&&t.push(a)}}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(n=function(){return i}.apply(e,[]))||(t.exports=n)}()},40385(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.replacementVariablesShape=e.recommendedReplacementVariablesShape=void 0;var r,i=(r=n(71802))&&r.__esModule?r:{default:r};e.replacementVariablesShape=i.default.arrayOf(i.default.shape({name:i.default.string.isRequired,value:i.default.string.isRequired,label:i.default.string,description:i.default.string,hidden:i.default.bool})),e.recommendedReplacementVariablesShape=i.default.arrayOf(i.default.string)},41210(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ReplacementVariableEditorStandaloneInnerComponent=void 0;var r=E(n(51609)),i=E(n(67228)),o=E(n(52099)),s=E(n(11470)),a=E(n(5504)),u=E(n(84646)),c=E(n(89567)),f=E(n(17630)),l=E(n(55809)),h=E(n(71802)),p=n(20195),d=n(52619),v=n(27723),_=function(t,e){if(t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=S(e);if(n&&n.has(t))return n.get(t);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if("default"!==o&&{}.hasOwnProperty.call(t,o)){var s=i?Object.getOwnPropertyDescriptor(t,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=t[o]}return r.default=t,n&&n.set(t,r),r}(n(21679)),y=n(40385),g=n(48082),m=n(80286),b=n(74345),w=n(99212);function S(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(S=function(t){return t?n:e})(t)}function E(t){return t&&t.__esModule?t:{default:t}}const O=_.default.div`
div {
z-index: 10995;
}
> div {
max-height: 450px;
overflow-y: auto;
}
`,x=new RegExp("(?:\\p{RI}\\p{RI}|\\p{Emoji}(?:\\p{Emoji_Modifier}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(?:\\u{200D}\\p{Emoji}(?:\\p{Emoji_Modifier}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*)","gu");class I extends r.default.Component{constructor(t){super(t);const{content:e,replacementVariables:n,recommendedReplacementVariables:r}=this.props,i=(0,m.unserializeEditor)(e,n),o=this.determineCurrentReplacementVariables(n,r);this.state={editorState:i,searchValue:"",isSuggestionsOpen:!1,editorKey:this.props.fieldId,suggestions:this.mapReplacementVariablesToSuggestions(o)},this._serializedContent=e,this.initializeBinds(),this.initializeDraftJsPlugins()}initializeBinds(){this.onChange=this.onChange.bind(this),this.handleKeyCommand=this.handleKeyCommand.bind(this),this.onSearchChange=this.onSearchChange.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.handleCopyCutEvent=this.handleCopyCutEvent.bind(this),this.debouncedA11ySpeak=(0,a.default)(p.speak.bind(this),500),this.onSuggestionsOpenChange=this.onSuggestionsOpenChange.bind(this)}initializeDraftJsPlugins(){const t=(0,o.default)({mentionTrigger:"%",entityMutability:"IMMUTABLE",mentionComponent:g.Mention}),e=(0,s.default)({stripEntities:!1});this.pluginList={mentionsPlugin:t,singleLinePlugin:{...e,handleReturn:()=>{}}},this.pluginList=(0,d.applyFilters)("yoast.replacementVariableEditor.pluginList",this.pluginList)}serializeContent(t){const e=(0,m.serializeEditor)(t.getCurrentContent());this._serializedContent!==e&&(this._serializedContent=e,this.props.onChange(this._serializedContent))}onChange(t){return new Promise(e=>{t=(0,m.replaceReplacementVariables)(t,this.props.replacementVariables),t=(0,w.selectReplacementVariables)(t,this.state.editorState),this.setState({editorState:t},()=>{this.serializeContent(t),e()})})}handleKeyCommand(t){if("backspace"!==t&&"delete"!==t)return"not-handled";let e=(0,b.removeSelectedText)(this.state.editorState);const n=e.getCurrentContent(),r=e.getSelection();if(!r.isCollapsed())return"not-handled";const i=r.getStartOffset();if(i<0)return"not-handled";const o=n.getBlockForKey(r.getStartKey()).getText(),s="backspace"===t?i-1:i+1;if((o.codePointAt(s)||0)<=127)return"not-handled";let a;return a="backspace"===t?this.getBackwardMatch(o,i):this.getForwardMatch(o,i),a?(e=(0,b.removeEmojiCompletely)(e,a,t),this.onChange(e).then(()=>this.focus()),"handled"):"not-handled"}getForwardMatch(t,e){let n=1;return[2,3,4,5,6,7,8,9,10,11,12,13,14].every(r=>{const i=t.slice(e,e+r);return!(null===i.match(x)||i.match(x).length>1||(n=r,0))}),t.slice(e,e+n).match(x)}getBackwardMatch(t,e){return t.slice(0,e).match(x)}mapReplacementVariablesToSuggestions(t){return t.map(t=>({...t,name:t.label,replaceName:t.name}))}suggestionsFilter(t,e){const n=t.toLowerCase();return e.filter(function(t){return!(t.hidden||n&&0!==t.name.toLowerCase().indexOf(n))})}determineCurrentReplacementVariables(t,e,n=""){if(""===n&&!(0,u.default)(e)){const n=(0,c.default)(t,t=>(0,f.default)(e,t.name));if(0!==n.length)return n}return t}onSearchChange({value:t}){this.props.onSearchChange&&this.props.onSearchChange(t);const e=this.determineCurrentReplacementVariables(this.props.replacementVariables,this.props.recommendedReplacementVariables,t),n=this.mapReplacementVariablesToSuggestions(e);this.setState({searchValue:t,suggestions:this.suggestionsFilter(t,n)}),setTimeout(()=>{this.announceSearchResults()})}onSuggestionsOpenChange(t){this.setState({isSuggestionsOpen:t})}announceSearchResults(){const{suggestions:t}=this.state;t.length?this.debouncedA11ySpeak((0,v.sprintf)(/* translators: %d expands to the number of results found. */ /* translators: %d expands to the number of results found. */
(0,v._n)("%d result found, use up and down arrow keys to navigate","%d results found, use up and down arrow keys to navigate",t.length,"wordpress-seo"),t.length),"assertive"):this.debouncedA11ySpeak((0,v.__)("No results","wordpress-seo"),"assertive")}focus(){this.editor.focus()}setEditorRef(t){this.editor=t}setEditorFieldId(){(0,l.default)(this.editor,"editor.editor").id=this.props.fieldId}triggerReplacementVariableSuggestions(){let t=(0,b.removeSelectedText)(this.state.editorState);const e=t.getSelection(),n=t.getCurrentContent(),r=(0,b.getAnchorBlock)(n,e).getText(),i=(0,b.getCaretOffset)(e),o=!(0,b.hasWhitespaceAt)(r,i-1),s=!(0,b.hasWhitespaceAt)(r,i),a=(0,b.getTrigger)(o,s);if(t=(0,b.insertText)(t,a),s){const e=i+a.length-1;t=(0,b.moveCaret)(t,e)}this.onChange(t).then(()=>this.focus())}componentDidUpdate(t,e){const{content:n,replacementVariables:r,recommendedReplacementVariables:i}=t,{searchValue:o}=this.state,s={},a=this.props,u=a.content!==this._serializedContent&&a.content!==n,c=a.replacementVariables!==r,f=a.replacementVariables.map(t=>t.name).filter(t=>!r.map(t=>t.name).includes(t)).some(t=>n.includes("%%"+t+"%%"));if(u&&(this._serializedContent=a.content,s.editorState=(0,m.unserializeEditor)(a.content,a.replacementVariables)),!u&&c&&f&&(this._serializedContent=a.content,s.editorState=(0,m.unserializeEditor)(a.content,a.replacementVariables)),c){const t=this.determineCurrentReplacementVariables(a.replacementVariables,i,o);s.suggestions=this.suggestionsFilter(o,this.mapReplacementVariablesToSuggestions(t))}(c||u)&&this.setState({...e,...s})}handleCopyCutEvent(t){const{editorState:e}=this.state,n=e.getSelection();if(n.getHasFocus())try{const r=t.clipboardData,i=e.getCurrentContent(),o=(0,m.serializeSelection)(i,n);r.setData("text/plain",o),t.preventDefault()}catch(t){console.error("Couldn't copy content of editor to clipboard, defaulting to browser copy behavior."),console.error("Original error: ",t)}}componentDidMount(){document.addEventListener("copy",this.handleCopyCutEvent),document.addEventListener("cut",this.handleCopyCutEvent),this.setEditorFieldId()}componentWillUnmount(){this.debouncedA11ySpeak.cancel(),document.removeEventListener("copy",this.handleCopyCutEvent),document.removeEventListener("cut",this.handleCopyCutEvent)}render(){const{MentionSuggestions:t}=this.pluginList.mentionsPlugin,{onFocus:e,onBlur:n,ariaLabelledBy:o,placeholder:s,theme:a,isDisabled:u,fieldId:c}=this.props,{editorState:f,suggestions:l,isSuggestionsOpen:h}=this.state;return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{key:this.state.editorKey,textDirectionality:a.isRtl?"RTL":"LTR",editorState:f,handleKeyCommand:this.handleKeyCommand,onChange:this.onChange,onFocus:e,onBlur:n,plugins:Object.values(this.pluginList),ref:this.setEditorRef,stripPastedStyles:!0,ariaLabelledBy:o,placeholder:s,spellCheck:!0,readOnly:u}),(0,d.applyFilters)("yoast.replacementVariableEditor.additionalPlugins",r.default.createElement(r.default.Fragment,null),this.pluginList,c),r.default.createElement(O,null,r.default.createElement(t,{onSearchChange:this.onSearchChange,suggestions:l,onOpenChange:this.onSuggestionsOpenChange,open:h})))}}e.ReplacementVariableEditorStandaloneInnerComponent=I,I.propTypes={content:h.default.string.isRequired,replacementVariables:y.replacementVariablesShape.isRequired,recommendedReplacementVariables:y.recommendedReplacementVariablesShape,ariaLabelledBy:h.default.string.isRequired,onSearchChange:h.default.func,onChange:h.default.func.isRequired,onFocus:h.default.func,onBlur:h.default.func,theme:h.default.object,placeholder:h.default.string,fieldId:h.default.string.isRequired,isDisabled:h.default.bool},I.defaultProps={onSearchChange:null,onFocus:()=>{},onBlur:()=>{},placeholder:"",theme:{isRtl:!1},recommendedReplacementVariables:[],isDisabled:!1},e.default=(0,_.withTheme)(I)},44186(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.StyledEditor=void 0;var r=c(n(51609)),i=c(n(71802)),o=n(27723),s=c(n(21679)),a=c(n(61893)),u=n(40385);function c(t){return t&&t.__esModule?t:{default:t}}const f=e.StyledEditor=s.default.section`
padding: ${t=>t.padding?t.padding:"0 20px"};
`;class l extends r.default.Component{constructor(t){super(t),this.elements={title:null,description:null},this.setRef=this.setRef.bind(this),this.setTitleRef=this.setTitleRef.bind(this),this.setDescriptionRef=this.setDescriptionRef.bind(this),this.triggerReplacementVariableSuggestions=this.triggerReplacementVariableSuggestions.bind(this),this.onFocusTitle=this.onFocusTitle.bind(this),this.onChangeTitle=this.onChangeTitle.bind(this),this.onFocusDescription=this.onFocusDescription.bind(this),this.onChangeDescription=this.onChangeDescription.bind(this)}setRef(t,e){this.elements[t]=e}setTitleRef(t){this.setRef("title",t)}setDescriptionRef(t){this.setRef("description",t)}componentDidUpdate(t){this.focusOnActiveFieldChange(t.activeField)}focusOnActiveFieldChange(t){const{activeField:e}=this.props;e&&e!==t&&this.elements[e].focus()}triggerReplacementVariableSuggestions(t){this.elements[t].triggerReplacementVariableSuggestions()}onFocusTitle(){this.props.onFocus("title")}onChangeTitle(t){this.props.onChange("title",t)}onFocusDescription(){this.props.onFocus("description")}onChangeDescription(t){this.props.onChange("description",t)}render(){const{descriptionEditorFieldPlaceholder:t,activeField:e,hoveredField:n,replacementVariables:i,recommendedReplacementVariables:s,onBlur:u,data:{title:c,description:l},containerPadding:h,fieldIds:p,labels:d,hasNewBadge:v,isDisabled:_,hasPremiumBadge:y}=this.props;return r.default.createElement(f,{padding:h},r.default.createElement(a.default,{type:"title",label:d.title||(0,o.__)("SEO title","wordpress-seo"),onFocus:this.onFocusTitle,onBlur:u,isActive:"title"===e,isHovered:"title"===n,editorRef:this.setTitleRef,replacementVariables:i,recommendedReplacementVariables:s,content:c,onChange:this.onChangeTitle,fieldId:p.title,hasNewBadge:v,isDisabled:_,hasPremiumBadge:y}),r.default.createElement(a.default,{type:"description",placeholder:t,label:d.description||(0,o.__)("Meta description","wordpress-seo"),onFocus:this.onFocusDescription,onBlur:u,isActive:"description"===e,isHovered:"description"===n,editorRef:this.setDescriptionRef,replacementVariables:i,recommendedReplacementVariables:s,content:l,onChange:this.onChangeDescription,fieldId:p.description,hasNewBadge:v,isDisabled:_,hasPremiumBadge:y}))}}l.propTypes={replacementVariables:u.replacementVariablesShape,recommendedReplacementVariables:u.recommendedReplacementVariablesShape,onChange:i.default.func.isRequired,onFocus:i.default.func,onBlur:i.default.func,data:i.default.shape({title:i.default.string,description:i.default.string}).isRequired,activeField:i.default.oneOf(["title","description"]),hoveredField:i.default.oneOf(["title","description"]),descriptionEditorFieldPlaceholder:i.default.string,containerPadding:i.default.string,fieldIds:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,labels:i.default.shape({title:i.default.string,description:i.default.string}),hasNewBadge:i.default.bool,isDisabled:i.default.bool,hasPremiumBadge:i.default.bool},l.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],onFocus:()=>{},onBlur:()=>{},containerPadding:"0 20px",descriptionEditorFieldPlaceholder:null,labels:{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,activeField:"",hoveredField:""},e.default=l},45831(t){"use strict";t.exports=window.yoast.uiLibrary},48082(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mention=void 0;var r=a(n(51609)),i=a(n(21679)),o=a(n(71802)),s=a(n(32485));function a(t){return t&&t.__esModule?t:{default:t}}const u=i.default.span`
color: rgb(15 23 42);
background-color: rgb(226 232 240);
padding: 0.125rem 0.5rem;
margin: 0 0.125rem;
border-radius: 17px;
font-size: .75rem;
font-weight: 500;
line-height: 1.25;
}
&:hover {
color: rgb(15 23 42);
background-color: rgb(226 232 240);
cursor: auto;
}
`,c=({children:t,className:e})=>r.default.createElement(u,{className:(0,s.default)("yst-replacevar__mention",e),spellCheck:!1},t);e.Mention=c,c.propTypes={children:o.default.node.isRequired,className:o.default.string.isRequired}},50491(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=u(n(51609)),i=u(n(71802)),o=n(56554),s=u(n(44186)),a=n(40385);function u(t){return t&&t.__esModule?t:{default:t}}class c extends r.default.Component{constructor(t){super(t),this.state={activeField:null,hoveredField:null},this.setFieldFocus=this.setFieldFocus.bind(this),this.handleChange=this.handleChange.bind(this),this.onClick=this.onClick.bind(this),this.onBlur=this.onBlur.bind(this)}handleChange(t,e){this.props.onChange(t,e)}setFieldFocus(t){this.setState({activeField:t})}onBlur(){this.setState({activeField:null})}onClick(t){this.setFieldFocus(t)}render(){const{data:t,replacementVariables:e,recommendedReplacementVariables:n,descriptionEditorFieldPlaceholder:i,hasPaperStyle:a,fieldIds:u,labels:c,hasNewBadge:f,isDisabled:l,hasPremiumBadge:h}=this.props,{activeField:p,hoveredField:d}=this.state;return r.default.createElement(o.ErrorBoundary,null,r.default.createElement(s.default,{descriptionEditorFieldPlaceholder:i,data:t,activeField:p,hoveredField:d,onChange:this.handleChange,onFocus:this.setFieldFocus,onBlur:this.onBlur,replacementVariables:e,recommendedReplacementVariables:n,containerPadding:a?"0 20px":"0",fieldIds:u,labels:c,hasNewBadge:f,isDisabled:l,hasPremiumBadge:h}))}}c.propTypes={replacementVariables:a.replacementVariablesShape,recommendedReplacementVariables:a.recommendedReplacementVariablesShape,data:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,onChange:i.default.func.isRequired,descriptionEditorFieldPlaceholder:i.default.string,hasPaperStyle:i.default.bool,fieldIds:i.default.shape({title:i.default.string.isRequired,description:i.default.string.isRequired}).isRequired,labels:i.default.shape({title:i.default.string,description:i.default.string}),hasNewBadge:i.default.bool,isDisabled:i.default.bool,hasPremiumBadge:i.default.bool},c.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],hasPaperStyle:!0,descriptionEditorFieldPlaceholder:null,labels:{},hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1},e.default=c},51609(t){"use strict";t.exports=window.React},52099(t,e,n){"use strict";n.r(e),n.d(e,{MentionSuggestions:()=>Jt,addMention:()=>Pt,default:()=>te,defaultSuggestionsFilter:()=>ee,defaultTheme:()=>Xt});var r=n(9404),i=n(51609),o=n.n(i);function s(t){var e,n,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=s(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function a(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=s(t))&&(r&&(r+=" "),r+=e);return r}var u=n(71802),c=n.n(u),f=n(18136);const l=window.lodash.escapeRegExp;var h=n.n(l);function p(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function d(t){return t instanceof p(t).Element||t instanceof Element}function v(t){return t instanceof p(t).HTMLElement||t instanceof HTMLElement}function _(t){return"undefined"!=typeof ShadowRoot&&(t instanceof p(t).ShadowRoot||t instanceof ShadowRoot)}var y=Math.max,g=Math.min,m=Math.round;function b(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),r=1,i=1;if(v(t)&&e){var o=t.offsetHeight,s=t.offsetWidth;s>0&&(r=m(n.width)/s||1),o>0&&(i=m(n.height)/o||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function w(t){var e=p(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function S(t){return t?(t.nodeName||"").toLowerCase():null}function E(t){return((d(t)?t.ownerDocument:t.document)||window.document).documentElement}function O(t){return b(E(t)).left+w(t).scrollLeft}function x(t){return p(t).getComputedStyle(t)}function I(t){var e=x(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function z(t,e,n){void 0===n&&(n=!1);var r,i,o=v(e),s=v(e)&&function(t){var e=t.getBoundingClientRect(),n=m(e.width)/t.offsetWidth||1,r=m(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),a=E(e),u=b(t,s),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(o||!o&&!n)&&(("body"!==S(e)||I(a))&&(c=(r=e)!==p(r)&&v(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:w(r)),v(e)?((f=b(e,!0)).x+=e.clientLeft,f.y+=e.clientTop):a&&(f.x=O(a))),{x:u.left+c.scrollLeft-f.x,y:u.top+c.scrollTop-f.y,width:u.width,height:u.height}}function M(t){var e=b(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function C(t){return"html"===S(t)?t:t.assignedSlot||t.parentNode||(_(t)?t.host:null)||E(t)}function D(t) Line truncated
@@ -0,0 +1,293 @@
(()=>{var e={554(e,t,n){"use strict";var r;t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,(r=n(71802))&&r.__esModule,t.timeoutsShape=null,t.classNamesShape=null},1369(e,t,n){"use strict";t.__esModule=!0,t.default=void 0,s(n(71802));var r=s(n(51609)),i=n(75795),o=s(n(2312));function s(e){return e&&e.__esModule?e:{default:e}}var a=function(e){var t,n;function s(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}n=e,(t=s).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=s.prototype;return a.handleLifecycle=function(e,t,n){var o,s=this.props.children,a=r.default.Children.toArray(s)[t];a.props[e]&&(o=a.props)[e].apply(o,n),this.props[e]&&this.props[e]((0,i.findDOMNode)(this))},a.render=function(){var e=this.props,t=e.children,n=e.in,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["children","in"]),s=r.default.Children.toArray(t),a=s[0],l=s[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,r.default.createElement(o.default,i,n?r.default.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},s}(r.default.Component);a.propTypes={};var l=a;t.default=l,e.exports=t.default},2312(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=a(n(71802)),i=a(n(51609)),o=n(71345),s=n(52958);function a(e){return e&&e.__esModule?e:{default:e}}function l(){return l=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},l.apply(this,arguments)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var u=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},p=function(e){var t,n;function r(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(d(d(r)));return r.state={handleExited:i,firstRender:!0},r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},o.componentDidMount=function(){this.appeared=!0,this.mounted=!0},o.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,s.getInitialChildMapping)(e,r):(0,s.getNextChildMapping)(e,n,r),firstRender:!1}},o.handleExited=function(e,t){var n=(0,s.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=l({},t.children);return delete n[e.key],{children:n}}))},o.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,["component","childFactory"]),o=u(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o:i.default.createElement(t,r,o)},r}(i.default.Component);p.childContextTypes={transitionGroup:r.default.object.isRequired},p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};var c=(0,o.polyfill)(p);t.default=c,e.exports=t.default},4493(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.safeCreateInterpolateElement=void 0;var r=n(86087);t.safeCreateInterpolateElement=(e,t)=>{try{return(0,r.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}}},5504(e){"use strict";e.exports=window.lodash.debounce},12523(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(51609)),i=p(n(71802)),o=p(n(21679)),s=p(n(19019)),a=n(56554),l=n(53335),d=n(18495),u=n(81018);function p(e){return e&&e.__esMoLine truncated
max-width: 600px;
font-weight: normal;
// Don't apply a bottom margin to avoid "jumpiness".
margin: ${(0,l.getDirectionalStyle)("0 20px 0 25px","0 20px 0 15px")};
`,f=o.default.div`
max-width: ${e=>e.panelMaxWidth};
`,h=(0,o.default)(a.Button)`
min-width: 14px;
min-height: 14px;
width: 30px;
height: 30px;
border-radius: 50%;
border: 1px solid transparent;
box-shadow: none;
display: block;
margin: -44px -10px 10px 0;
background-color: transparent;
float: ${(0,l.getDirectionalStyle)("right","left")};
padding: ${(0,l.getDirectionalStyle)("3px 0 0 6px","3px 0 0 5px")};
&:hover {
color: ${d.colors.$color_blue};
}
&:focus {
border: 1px solid ${d.colors.$color_blue};
outline: none;
box-shadow: 0 0 3px ${(0,d.rgba)(d.colors.$color_blue_dark,.8)};
svg {
fill: ${d.colors.$color_blue};
color: ${d.colors.$color_blue};
}
}
&:active {
box-shadow: none;
}
`,g=(0,o.default)(a.SvgIcon)`
&:hover {
fill: ${d.colors.$color_blue};
}
`;class m extends r.default.Component{constructor(e){super(e),this.state={isExpanded:!1},this.uniqueId=(0,s.default)("yoast-help-"),this.onButtonClick=this.onButtonClick.bind(this)}onButtonClick(){this.setState(e=>({isExpanded:!e.isExpanded}))}render(){const e=`${this.uniqueId}-panel`,{isExpanded:t}=this.state;return r.default.createElement(c,{className:this.props.className},r.default.createElement(h,{className:this.props.className+"__button",onClick:this.onButtonClick,"aria-expanded":t,"aria-controls":t?e:null,"aria-label":this.props.helpTextButtonLabel},r.default.createElement(g,{size:"16px",color:d.colors.$color_grey_text,icon:"question-circle"})),r.default.createElement(u.YoastSlideToggle,{isOpen:t},r.default.createElement(f,{id:e,className:this.props.className+"__panel",panelMaxWidth:this.props.panelMaxWidth},r.default.createElement(a.HelpText,null,this.props.helpText))))}}m.propTypes={className:i.default.string,helpTextButtonLabel:i.default.string.isRequired,panelMaxWidth:i.default.string,helpText:i.default.oneOfType([i.default.string,i.default.array])},m.defaultProps={className:"yoast-help",panelMaxWidth:null,helpText:""},t.default=m},18495(e){"use strict";e.exports=window.yoast.styleGuide},19019(e){"use strict";e.exports=window.lodash.uniqueId},19059(e){"use strict";e.exports=window.lodash.truncate},21679(e){"use strict";e.exports=window.yoast.styledComponents},21801(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHeight=function(e){return Math.max(e.clientHeight,e.offsetHeight,e.scrollHeight)}},23213(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(51609)),i=l(n(21679)),o=l(n(71802)),s=l(n(5504)),a=n(27723);function l(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}const u=/mobi/i,p=i.default.div`
overflow: auto;
width: ${e=>e.widthValue}px;
padding: 0 ${e=>e.paddingValue}px;
max-width: 100%;
box-sizing: border-box;
`,c=i.default.div`
width: ${e=>e.widthValue}px;
`,f=i.default.div`
text-align: center;
margin: 1rem 0 0.5rem;
`,h=i.default.div`
display: inline-block;
box-sizing: border-box;
&:before{
display: inline-block;
margin-right: 10px;
font-size: 20px;
line-height: 20px;
vertical-align: text-top;
content: "\\21c4";
box-sizing: border-box;
}
`;class g extends r.Component{constructor(e){super(e),this.state={showScrollHint:!1,isMobileUserAgent:!1},this.setContainerRef=this.setContainerRef.bind(this),this.determineSize=(0,s.default)(this.determineSize.bind(this),100)}setContainerRef(e){if(!e)return null;this._container=e,this.determineSize(),window.addEventListener("resize",this.determineSize)}determineSize(){var e,t,n,r;this.setState({showScrollHint:(null===(e=this._container)||void 0===e?void 0:e.offsetWidth)!==(null===(t=this._container)||void 0===t?void 0:t.scrollWidth),isMobileUserAgent:u.test(null===(n=window)||void 0===n||null===(r=n.navigator)||void 0===r?void 0:r.userAgent)})}componentWillUnmount(){window.removeEventListener("resize",this.determineSize)}render(){const{width:e,padding:t,children:n,className:i,id:o}=this.props,s=i||o,l=e-2*t;return r.default.createElement("div",{className:`${s}__wrapper`},r.default.createElement(p,{id:o,className:s,widthValue:e,paddingValue:t,ref:this.setContainerRef},r.default.createElement(c,{widthValue:l},n)),this.state.showScrollHint&&r.default.createElement(f,null,r.default.createElement(h,null,this.state.isMobileUserAgent?(0,a.__)("Drag to view the full preview.","wordpress-seo"):(0,a.__)("Scroll to see the preview content.","wordpress-seo"))))}}t.default=g,g.propTypes={id:o.default.string,width:o.default.number.isRequired,padding:o.default.number,children:o.default.node.isRequired,className:o.default.string},g.defaultProps={id:"",padding:0,className:""}},24994(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},27723(e){"use strict";e.exports=window.wp.i18n},28447(e,t,n){const r=n(51609),i=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M3 5a2 2 0 012-2h10a2 2 0 012 2v8a2 2 0 01-2 2h-2.22l.123.489.804.804A1 1 0 0113 18H7a1 1 0 01-.707-1.707l.804-.804L7.22 15H5a2 2 0 01-2-2V5zm5.771 7H5V5h10v7H8.771z",clipRule:"evenodd"}))});e.exports=i},28514(e,t,n){"use strict";t.__esModule=!0,t.default=void 0,function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(71802));var r=a(n(72963)),i=a(n(90788)),o=a(n(51609)),s=a(n(50495));function a(e){return e&&e.__esModule?e:{default:e}}function l(){return l=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},l.apply(this,arguments)}n(554);var d=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,r.default)(e,t)})},u=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,i.default)(e,t)})},p=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter").className;t.removeClasses(e,"exit"),d(e,r),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter").activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.getClassNames("appear").doneClassName,i=t.getClassNames("enter").doneClassName,o=n?r+" "+i:i;t.removeClasses(e,n?"appear":"enter"),d(e,o),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),d(e,n),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,n),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),d(e,n),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?(r&&n?n+"-":"")+e:n[e];return{className:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,i=n.activeClassName,o=n.doneClassName;r&&u(e,r),i&&u(e,i),o&&u(e,o)},i.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,d(e,t))},i.render=function(){var e=l({},this.props);return delete e.classNames,o.default.createElement(s.default,l({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(o.default.Component);p.defaultProps={classNames:""},p.propTypes={};var c=p;t.default=c,e.exports=t.default},36752(e){"use strict";e Line truncated
margin: 0 0 16px;
padding: 0;
color: ${u.colors.$color_headings};
font-size: 12px;
font-weight: 300;
`,w=(0,r.default)(d.Button)`
height: 33px;
border: 1px solid #dbdbdb;
box-shadow: none;
font-family: Arial, Roboto-Regular, HelveticaNeue, sans-serif;
`,_=(0,r.default)(w)`
margin: ${(0,p.getDirectionalStyle)("10px 0 0 4px","10px 4px 0 0")};
fill: ${u.colors.$color_grey_dark};
padding-left: 8px;
& svg {
${(0,p.getDirectionalStyle)("margin-right","margin-left")}: 7px;
}
`,S=(0,r.default)(w)`
margin-top: 24px;
`,M=new RegExp("(%%sep%%|%%sitename%%)","g");class O extends i.default.Component{constructor(e){super(e);const t=this.mapDataToMeasurements(e.data);this.state={isOpen:!e.showCloseButton,activeField:null,hoveredField:null,titleLengthProgress:(0,f.getTitleProgress)(t.filteredSEOTitle),descriptionLengthProgress:(0,f.getDescriptionProgress)(t.description,this.props.date,this.props.isCornerstone,this.props.isTaxonomy,this.props.locale)},this.setFieldFocus=this.setFieldFocus.bind(this),this.unsetFieldFocus=this.unsetFieldFocus.bind(this),this.onChangeMode=this.onChangeMode.bind(this),this.onMouseUp=this.onMouseUp.bind(this),this.onMouseEnter=this.onMouseEnter.bind(this),this.onMouseLeave=this.onMouseLeave.bind(this),this.open=this.open.bind(this),this.close=this.close.bind(this),this.setEditButtonRef=this.setEditButtonRef.bind(this),this.handleChange=this.handleChange.bind(this),this.haveReplaceVarsChanged=this.haveReplaceVarsChanged.bind(this)}shallowCompareData(e,t){let n=!1;return e.data.description===t.data.description&&e.data.slug===t.data.slug&&e.data.title===t.data.title&&e.isCornerstone===t.isCornerstone&&e.isTaxonomy===t.isTaxonomy&&e.locale===t.locale||(n=!0),this.haveReplaceVarsChanged(e.replacementVariables,t.replacementVariables)&&(n=!0),n}haveReplaceVarsChanged(e,t){return JSON.stringify(e)!==JSON.stringify(t)}componentDidUpdate(e){if(this.shallowCompareData(this.props,e)){const e=this.mapDataToMeasurements(this.props.data,this.props.replacementVariables);this.setState({titleLengthProgress:(0,f.getTitleProgress)(e.filteredSEOTitle),descriptionLengthProgress:(0,f.getDescriptionProgress)(e.description,this.props.date,this.props.isCornerstone,this.props.isTaxonomy,this.props.locale)}),this.props.onChangeAnalysisData(e)}}handleChange(e,t){this.props.onChange(e,t);const n=this.mapDataToMeasurements({...this.props.data,[e]:t});this.props.onChangeAnalysisData(n)}renderEditor(){const{data:e,descriptionEditorFieldPlaceholder:t,onReplacementVariableSearchChange:n,replacementVariables:r,recommendedReplacementVariables:o,hasPaperStyle:a,showCloseButton:l,idSuffix:d}=this.props,{activeField:u,hoveredField:c,isOpen:f,titleLengthProgress:h,descriptionLengthProgress:g}=this.state;return f?i.default.createElement(i.default.Fragment,null,i.default.createElement(m.default,{data:e,activeField:u,hoveredField:c,onChange:this.handleChange,onFocus:this.setFieldFocus,onBlur:this.unsetFieldFocus,onReplacementVariableSearchChange:n,replacementVariables:r,recommendedReplacementVariables:o,titleLengthProgress:h,descriptionLengthProgress:g,descriptionEditorFieldPlaceholder:t,containerPadding:a?"0 20px":"0",titleInputId:(0,p.join)(["yoast-google-preview-title",d]),slugInputId:(0,p.join)(["yoast-google-preview-slug",d]),descriptionInputId:(0,p.join)(["yoast-google-preview-description",d])}),l&&i.default.createElement(S,{onClick:this.close},(0,s.__)("Close snippet editor","wordpress-seo"))):null}setFieldFocus(e){e=this.mapFieldToEditor(e),this.setState({activeField:e})}unsetFieldFocus(){this.setState({activeField:null})}onChangeMode(e){this.props.onChange("mode",e)}onMouseUp(e){this.state.isOpen?this.setFieldFocus(e):this.open().then(this.setFieldFocus.bind(this,e))}onMouseEnter(e){this.setState({hoveredField:this.mapFieldToEditor(e)})}onMouseLeave(){this.setState({hoveredField:null})}open(){return new Promise(e=>{this.setState({isOpen:!0},e)})}close(){this.setState({isOpen:!1,activeField:null},()=>{this._editButton.focus()})}processReplacementVariables(e,t=this.props.replacementVariables){if(this.props.applyReplacementVariables)return this.props.applyReplacementVariables(e);for(const{name:n,value:r}of t)e=e.replace(new RegExp("%%"+(0,a.escapeRegExp)(n)+"%%","g"),r);return e}mapDataToMeasurements(e,t=this.props.replacementVariables){const{baseUrl:n,mapEditorDataToPreview:r}=this.props;let i=this.processReplacementVariables(e.description,t);i=l.languageProcessing.stripSpaces(i);const o=n.replace(/^https?:\/\//i,""),s=e.title.replace(M,""),a={title:this.processReplacementVariables(e.title,t),url:n+e.slug,description:i,filteredSEOTitle:this.processReplacementVariables(s,t)};return r?r(a,{shortenedBaseUrl:o}):a}mapDataToPreview(e){return{title:e.title,url:e.url,description:e.description}}mapFieldToPreview(e){return"slug"===e&&(e="url"),e}mapFieldToEditor(e){return"url"===e&&(e="slug"),e}setEditButtonRef(e){this._editButton=e}render(){const{data:e,mode:t,date:n,locale:r,keyword:o,wordsToHighlight:a,showCloseButton:l,faviconSrc:u,mobileImageSrc:p,idSuffix:c,shoppingData:f,siteName:h}=this.props,{activeField:m,hoveredField:v,isOpen:b}=this.state,w=this.mapDataToMeasurements(e),S=this.mapDataToPreview(w);return i.default.createElement(d.ErrorBoundary,null,i.default.createElement("div",null,i.default.createElement(y,null,(0,s.__)("Determine how your post should look in the search results.","wordpress-seo")),i.default.createElement(E.default,{onChange:this.onChangeMode,active:t,id:`yoast-google-preview-mode-switcher-${c}`}),i.default.create Line truncated
color: #70757a;
line-height: 1.7;
`;function f(e){const{shoppingData:t}=e,{rating:n,bestRating:i=d.DEFAULT_BEST_RATING,reviewCount:o,availability:u,price:p}=t,f=(0,s.sprintf)((0,s.__)("Rating: %s","wordpress-seo"),(0,a.round)(n,1)+(i===d.DEFAULT_BEST_RATING?"":`/${i}`)),h=(0,s.sprintf)((0,s._n)("%s review","%s reviews",o,"wordpress-seo"),o),g=Boolean(p)||Boolean(u);return r.default.createElement(c,null,n>0&&n<=i&&o>0&&r.default.createElement(r.Fragment,null,r.default.createElement(l.StarRating,{rating:n/i*d.DEFAULT_BEST_RATING}),r.default.createElement("span",null," ",f," · "),r.default.createElement("span",null,h,g?" · ":"")),p&&r.default.createElement(r.Fragment,null,r.default.createElement("span",{dangerouslySetInnerHTML:{__html:p}})),u&&r.default.createElement("span",null,` · ${(0,a.capitalize)(u)}`))}t.default=f,f.propTypes={shoppingData:i.default.shape({rating:i.default.number,reviewCount:i.default.number,availability:i.default.string,price:i.default.string}).isRequired}},50495(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(71802)),i=a(n(51609)),o=a(n(75795)),s=n(71345);function a(e){return e&&e.__esModule?e:{default:e}}n(554);var l="unmounted";t.UNMOUNTED=l;var d="exited";t.EXITED=d;var u="entering";t.ENTERING=u;var p="entered";t.ENTERED=p;var c="exiting";t.EXITING=c;var f=function(e){var t,n;function r(t,n){var r;r=e.call(this,t,n)||this;var i,o=n.transitionGroup,s=o&&!o.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?s?(i=d,r.appearStatus=u):i=p:i=t.unmountOnExit||t.mountOnEnter?l:d,r.state={status:i},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=r.prototype;return s.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===l?{status:d}:null},s.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},s.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==u&&n!==p&&(t=u):n!==u&&n!==p||(t=c)}this.updateStatus(!1,t)},s.componentWillUnmount=function(){this.cancelNextCallback()},s.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},s.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=o.default.findDOMNode(this);t===u?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:l})},s.performEnter=function(e,t){var n=this,r=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts(),s=i?o.appear:o.enter;t||r?(this.props.onEnter(e,i),this.safeSetState({status:u},function(){n.props.onEntering(e,i),n.onTransitionEnd(e,s,function(){n.safeSetState({status:p},function(){n.props.onEntered(e,i)})})})):this.safeSetState({status:p},function(){n.props.onEntered(e)})},s.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:c},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:d},function(){t.props.onExited(e)})})})):this.safeSetState({status:d},function(){t.props.onExited(e)})},s.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},s.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},s.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},s.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},s.render=function(){var e=this.state.status;if(e===l)return null;var t=this.props,n=t.children,r=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var o=i.default.Children.only(n);return i.default.cloneElement(o,r)},r}(i.default.Component);function h(){}f.contextTypes={transitionGroup:r.object},f.childContextTypes={transitionGroup:function(){} Line truncated
border: none;
width: 100%;
height: inherit;
line-height: 1.71428571; // 24px based on 14px font-size
font-family: inherit;
font-size: inherit;
color: inherit;
&:focus {
outline: 0;
}
`,g=(0,l.withCaretStyles)(u.VariableEditorInputContainer);class m extends r.default.Component{constructor(e){super(e),this.elements={title:null,slug:null,description:null},this.uniqueId=(0,s.default)("snippet-editor-field-"),this.setRef=this.setRef.bind(this),this.setTitleRef=this.setTitleRef.bind(this),this.setSlugRef=this.setSlugRef.bind(this),this.setDescriptionRef=this.setDescriptionRef.bind(this),this.triggerReplacementVariableSuggestions=this.triggerReplacementVariableSuggestions.bind(this),this.onFocusTitle=this.onFocusTitle.bind(this),this.onChangeTitle=this.onChangeTitle.bind(this),this.onFocusSlug=this.onFocusSlug.bind(this),this.focusSlug=this.focusSlug.bind(this),this.onChangeSlug=this.onChangeSlug.bind(this),this.onFocusDescription=this.onFocusDescription.bind(this),this.onChangeDescription=this.onChangeDescription.bind(this)}setRef(e,t){this.elements[e]=t}setTitleRef(e){this.setRef("title",e)}setSlugRef(e){this.setRef("slug",e)}setDescriptionRef(e){this.setRef("description",e)}componentDidUpdate(e){e.activeField!==this.props.activeField&&this.focusOnActiveFieldChange()}focusOnActiveFieldChange(){const{activeField:e}=this.props,t=e?this.elements[e]:null;t&&t.focus()}triggerReplacementVariableSuggestions(e){this.elements[e].triggerReplacementVariableSuggestions()}onFocusTitle(){this.props.onFocus("title")}onChangeTitle(e){this.props.onChange("title",e)}onFocusSlug(){this.props.onFocus("slug")}focusSlug(){this.elements.slug.focus()}onChangeSlug(e){this.props.onChange("slug",e.target.value)}onFocusDescription(){this.props.onFocus("description")}onChangeDescription(e){this.props.onChange("description",e)}render(){const{activeField:e,hoveredField:t,onReplacementVariableSearchChange:n,replacementVariables:i,recommendedReplacementVariables:o,titleLengthProgress:s,descriptionLengthProgress:l,onBlur:p,descriptionEditorFieldPlaceholder:f,data:{title:m,slug:v,description:E},containerPadding:b,titleInputId:x,slugInputId:y,descriptionInputId:w}=this.props,_=`${this.uniqueId}-slug`;return r.default.createElement(d.StyledEditor,{padding:b},r.default.createElement(d.ReplacementVariableEditor,{withCaret:!0,label:(0,a.__)("SEO title","wordpress-seo"),onFocus:this.onFocusTitle,onBlur:p,isActive:"title"===e,isHovered:"title"===t,editorRef:this.setTitleRef,replacementVariables:i,recommendedReplacementVariables:o,content:m,onChange:this.onChangeTitle,onSearchChange:n,fieldId:x,type:"title"}),r.default.createElement(u.ProgressBar,{max:s.max,value:s.actual,progressColor:(0,c.getProgressColor)(s.score)}),r.default.createElement(u.SimulatedLabel,{id:_,onClick:this.onFocusSlug},(0,a.__)("Slug","wordpress-seo")),r.default.createElement(g,{onClick:this.focusSlug,isActive:"slug"===e,isHovered:"slug"===t},r.default.createElement(h,{value:v,onChange:this.onChangeSlug,onFocus:this.onFocusSlug,onBlur:p,ref:this.setSlugRef,"aria-labelledby":this.uniqueId+"-slug",id:y})),r.default.createElement(d.ReplacementVariableEditor,{withCaret:!0,type:"description",placeholder:f,label:(0,a.__)("Meta description","wordpress-seo"),onFocus:this.onFocusDescription,onBlur:p,isActive:"description"===e,isHovered:"description"===t,editorRef:this.setDescriptionRef,replacementVariables:i,recommendedReplacementVariables:o,content:E,onChange:this.onChangeDescription,onSearchChange:n,fieldId:w}),r.default.createElement(u.ProgressBar,{max:l.max,value:l.actual,progressColor:(0,c.getProgressColor)(l.score)}))}}m.propTypes={replacementVariables:d.replacementVariablesShape,recommendedReplacementVariables:d.recommendedReplacementVariablesShape,onChange:o.default.func.isRequired,onFocus:o.default.func,onBlur:o.default.func,onReplacementVariableSearchChange:o.default.func,data:o.default.shape({title:o.default.string.isRequired,slug:o.default.string.isRequired,description:o.default.string.isRequired}).isRequired,activeField:o.default.oneOf(["title","slug","description"]),hoveredField:o.default.oneOf(["title","slug","description"]),titleLengthProgress:p.lengthProgressShape,descriptionLengthProgress:p.lengthProgressShape,descriptionEditorFieldPlaceholder:o.default.string,containerPadding:o.default.string,titleInputId:o.default.string,slugInputId:o.default.string,descriptionInputId:o.default.string},m.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],onFocus:()=>{},onBlur:()=>{},onReplacementVariableSearchChange:null,activeField:null,hoveredField:null,titleLengthProgress:{max:600,actual:0,score:0},descriptionLengthProgress:{max:156,actual:0,score:0},descriptionEditorFieldPlaceholder:null,containerPadding:"0 20px",titleInputId:"yoast-google-preview-title",slugInputId:"yoast-google-preview-slug",descriptionInputId:"yoast-google-preview-description"},t.default=m},71345(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function i(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function o(e,t){try{va Line truncated
display: flex;
margin-top: -16px;
line-height: 1.6;
`,c=o.default.div`
flex: 1;
max-width: 50%;
`,f=o.default.div`
flex: 1;
max-width: 25%;
`,h=o.default.div`
color: #70757a;
`;function g(e){const{shoppingData:t}=e,{rating:n,bestRating:i=d.DEFAULT_BEST_RATING,reviewCount:o,availability:u,price:g}=t;return r.default.createElement(p,null,n>0&&n<=i&&o>0&&r.default.createElement(c,{className:"yoast-shopping-data-preview__column"},r.default.createElement("div",{className:"yoast-shopping-data-preview__upper"},(0,s.__)("Rating","wordpress-seo")),r.default.createElement(h,{className:"yoast-shopping-data-preview__lower"},r.default.createElement("span",null,(0,a.round)(n,1),i===d.DEFAULT_BEST_RATING?"":`/${i}`," "),r.default.createElement(l.StarRating,{rating:n/i*d.DEFAULT_BEST_RATING}),r.default.createElement("span",null," (",o,")"))),g&&r.default.createElement(f,{className:"yoast-shopping-data-preview__column"},r.default.createElement("div",{className:"yoast-shopping-data-preview__upper"},(0,s.__)("Price","wordpress-seo")),r.default.createElement(h,{className:"yoast-shopping-data-preview__lower",dangerouslySetInnerHTML:{__html:g}})),u&&r.default.createElement(f,{className:"yoast-shopping-data-preview__column"},r.default.createElement("div",{className:"yoast-shopping-data-preview__upper"},(0,s.__)("Availability","wordpress-seo")),r.default.createElement(h,{className:"yoast-shopping-data-preview__lower"},(0,a.capitalize)(u))))}t.default=g,g.propTypes={shoppingData:i.default.shape({rating:i.default.number,bestRating:i.default.number,reviewCount:i.default.number,availability:i.default.string,price:i.default.string}).isRequired}},75795(e){"use strict";e.exports=window.ReactDOM},81018(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YoastSlideToggle=void 0;var r=l(n(51609)),i=l(n(71802)),o=l(n(21679)),s=n(49790),a=n(21801);function l(e){return e&&e.__esModule?e:{default:e}}const d=o.default.div`
& > :first-child {
overflow: hidden;
transition: height ${e=>`${e.duration}ms`} ease-out;
}
`;class u extends r.default.Component{resetHeight(e){e.style.height="0"}setHeight(e){const t=(0,a.getHeight)(e);e.style.height=t+"px"}removeHeight(e){e.style.height=null}render(){return r.default.createElement(d,{duration:this.props.duration},r.default.createElement(s.CSSTransition,{in:this.props.isOpen,timeout:this.props.duration,classNames:"slide",unmountOnExit:!0,onEnter:this.resetHeight,onEntering:this.setHeight,onEntered:this.removeHeight,onExit:this.setHeight,onExiting:this.resetHeight},this.props.children))}}t.YoastSlideToggle=u,u.propTypes={isOpen:i.default.bool.isRequired,duration:i.default.number,children:i.default.node},u.defaultProps={duration:300,children:[]}},86087(e){"use strict";e.exports=window.wp.element},87705(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=E(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(51609)),i=v(n(21679)),o=v(n(71802)),s=v(n(19059)),a=n(27723),l=n(18495),d=n(36752),u=n(53335),p=n(56554),c=n(4493),f=v(n(23213)),h=v(n(50159)),g=v(n(75757)),m=n(95321);function v(e){return e&&e.__esModule?e:{default:e}}function E(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(E=function(e){return e?n:t})(e)}function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(null,arguments)}const{transliterate:x,createRegexFromArray:y,replaceDiacritics:w}=d.languageProcessing,_=600,S=(0,i.default)(f.default)`
background-color: #fff;
font-family: arial, sans-serif;
box-sizing: border-box;
`,M=i.default.div`
border-bottom: 1px hidden #fff;
border-radius: 8px;
box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
font-family: Arial, Roboto-Regular, HelveticaNeue, sans-serif;
max-width: ${400}px;
box-sizing: border-box;
font-size: 14px;
`,O=i.default.div`
cursor: pointer;
position: relative;
`;function D(e,t,n){return(0,i.default)(e)`
&::before {
display: block;
position: absolute;
top: 0;
${(0,u.getDirectionalStyle)("left","right")}: ${()=>n===m.MODE_DESKTOP?"-22px":"-40px"};
width: 22px;
height: 22px;
background-image: url( ${(0,u.getDirectionalStyle)((0,l.angleRight)(t),(0,l.angleLeft)(t))} );
background-size: 24px;
background-repeat: no-repeat;
background-position: center;
content: "";
}
`}const C=i.default.div`
color: ${e=>e.screenMode===m.MODE_DESKTOP?"#1a0dab":"#1558d6"};
text-decoration: none;
font-size: ${e=>(e.screenMode,m.MODE_DESKTOP,"20px")};
line-height: ${e=>e.screenMode===m.MODE_DESKTOP?"1.3":"26px"};
font-weight: normal;
margin: 0;
display: inline-block;
overflow: hidden;
max-width: ${_}px;
vertical-align: top;
text-overflow: ellipsis;
`,P=(0,i.default)(C)`
max-width: ${_}px;
vertical-align: top;
text-overflow: ellipsis;
`,T=i.default.span`
display: inline-block;
max-width: ${240}px;
overflow: hidden;
vertical-align: top;
text-overflow: ellipsis;
margin-left: 4px;
`,R=i.default.span`
white-space: nowrap;
`,A=i.default.span`
display: inline-block;
max-height: 52px; // max two lines of text
padding-top: 1px;
vertical-align: top;
overflow: hidden;
text-overflow: ellipsis;
`,F=i.default.div`
display: inline-block;
cursor: pointer;
position: relative;
width: calc( 100% + 7px );
white-space: nowrap;
font-size: 14px;
line-height: 16px;
vertical-align: top;
`;F.displayName="BaseUrl";const N=(0,i.default)(F)`
display: flex;
align-items: center;
overflow: hidden;
justify-content: space-between;
text-overflow: ellipsis;
max-width: 100%;
margin-bottom: 12px;
padding-top: 1px;
line-height: 20px;
vertical-align: bottom;
column-gap: 12px;
`;N.displayName="BaseUrlOverflowContainer";const j=i.default.span`
font-size: ${e=>e.screenMode===m.MODE_DESKTOP?"14px":"12px"};
line-height: ${e=>e.screenMode===m.MODE_DESKTOP?"1.3":"20px"};
color: ${e=>e.screenMode===m.MODE_DESKTOP?"#4d5156":"#3c4043"};
flex-grow: 1;
`,L=i.default.span`
color: ${e=>e.screenMode===m.MODE_DESKTOP?"#4d5156":"#70757a"};
`,k=i.default.div`
width: 28px;
height: 28px;
border-radius: 50px;
display: flex;
align-items: center;
justify-content: center;
background: #f1f3f4;
min-width: 28px;
`;N.displayName="SnippetPreview__BaseUrlOverflowContainer";const I=i.default.div`
color: ${e=>(e.isDescriptionPlaceholder,"#4d5156")};
cursor: pointer;
position: relative;
max-width: ${_}px;
padding-top: ${e=>e.screenMode===m.MODE_DESKTOP?"0":"1px"};
font-size: 14px;
line-height: 1.58;
`,U=i.default.div`
color: ${"#3c4043"};
font-size: 14px;
cursor: pointer;
position: relative;
line-height: 1.4;
max-width: ${_}px;
/* Clearing pseudo element to contain the floated image. */
&:after {
display: table;
content: "";
clear: both;
}
`,V=i.default.div`
float: right;
width: 104px;
height: 104px;
margin: 4px 0 4px 16px;
border-radius: 8px;
overflow: hidden;
`,B=i.default.img`
/* Higher specificity is necessary to make sure inherited CSS rules don't alter the image ratio. */
&&& {
display: block;
width: 104px;
height: 104px;
object-fit: cover;
}
`,$=i.default.div`
padding: 12px 16px;
&:first-child {
margin-bottom: -16px;
}
`,W=i.default.div`
line-height: 18px;
font-size: 14px;
color: black;
max-width: ${e=>e.screenMode===m.MODE_DESKTOP?"100%":"300px"};
overflow: hidden;
`,H=i.default.div`
`,z=i.default.span`
display: inline-block;
height: 18px;
line-height: 18px;
padding-left: 8px;
vertical-align:bottom;
`,K=i.default.span`
color: ${e=>e.screenMode===m.MODE_DESKTOP?"#777":"#70757a"};
`,G=i.default.img`
width: 18px;
height: 18px;
margin: 0 5px;
vertical-align: middle;
`,q=i.default.div`
background-size: 100% 100%;
display: inline-block;
height: 12px;
width: 12px;
margin-bottom: -1px;
opacity: 0.46;
margin-right: 6px;
background-image: url( ${"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAQAAABLCVATAAABr0lEQVR4AbWWJYCUURhFD04Zi7hrLzgFd4nzV9x6wKHinmYb7g4zq71gIw2LWBnZ3Q8df/fh96Tn/t2HVIw4CVKk+fSFNCkSxInxW1pFkhLmoMRjVvFLmkEX5ocuZuBVPw5jv8hh+iEU5QEmuMK+prz7RN3dPMMEGQYzxpH/lGjzou5jgl7mAvOdZfcbF+jbm3MAbFZ7VX9SJnlL1D8UMyjLe+BrAYDb+jJUr59JrlNWRtcqX9GkrPCR4QBAf4qYJAkQoyQrbKKs8RiaEjEI0GvvQ1mLMC9xaBFFBaZS1TbMSwJSomg39erDF+TxpCCNOXjGQJTCvG6qn4ZPzkcxA61Tjhaf4KMj+6Q3XvW6Lopraa8IozRQxIi0a7NXorULc5JyHX/3F3q+0PsFYytVTaGgjz/AvCyiegE69IUsPxHNBMpa738i6tGWlzkAABjKe/+j9YeRHGVd9oWRnwe2ewDASp/L/UqoPQ5AmFeYZMavBP8dAJz0GWWDHQlzXApMdz4KYUfKICcxkKeOfGmQyrIPcgE9m+g/+kT812/Nr3+0kqzitxQjoKXh6xfor99nlEdFjyvH15gAAAAASUVORK5CYII="} );
`,Y=e=>{try{return decodeURI(e)}catch(t){return e}},Q=({screenMode:e})=>r.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:e===m.MODE_DESKTOP?"#4d5156":"#70757a",style:{width:"18px"}},r.default.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}));Q.propTypes={screenMode:o.default.string.isRequired};class X extends r.PureComponent{constructor(e){super(e),this.state={title:e.title,description:e.description,isDescriptionPlaceholder:!0},this.setTitleRef=this.setTitleRef.bind(this),this.setDescriptionRef=this.setDescriptionRef.bind(this)}setTitleRef(e){this._titleElement=e}setDescriptionRef(e){this._descriptionElement=e}hasOverflowedContent(e){return Math.abs(e.clientHeight-e.scrollHeight)>=2}fitTitle(){const e=this._titleElement;if(this.hasOverflowedContent(e)){let t=this.state.title;const n=e.clientWidth/3;t.length>n&&(t=t.substring(0,n));const r=this.dropLastWord(t);this.setState({title:r})}}dropLastWord(e){const t=e.split(" ");return t.pop(),t.join(" ")}getTitle(){return this.props.title!==this.state.title?this.state.title+" ...":this.props.title}getDescription(){return this.props.description?(0,s.default)(this.props.description,{length:156,separator:" ",omission:" ..."}):(0,a.__)("Please provide a meta description by editing the snippet below. If you don’t, Google will try to find a relevant part of your post to show in the search results.","wordpress-seo")}renderDate(){const e=this.props.mode===m.MODE_DESKTOP?"—":"-";return this.props.date&&r.default.createElement(K,{screenMode:this.props.mode},this.props.date," ",e," ")}addCaretStyles(e,t){const{mode:n,hoveredField:r,activeField:i}=this.props;return i===e?D(t,l.colors.$color_snippet_active,n):r===e?D(t,l.colors.$color_snippet_hover,n):t}getBreadcrumbs(e){const{breadcrumbs:t}=this.props;let n;try{n=new URL(e)}catch(t){return{hostname:e,breadcrumbs:""}}const r=Y(n.hostname);let i=t||n.pathname.split("/");return i=i.filter(e=>Boolean(e)).map(e=>Y(e)),{hostname:r,breadcrumbs:" › "+i.join(" › ")}}renderUrl(){const{url:e,onMouseUp:t,onMouseEnter:n,onMouseLeave:i,mode:o,faviconSrc:s,siteName:l}=this.props,d=o===m.MODE_MOBILE,{hostname:u,breadcrumbs:c}=this.getBreadcrumbs(e),f=this.addCaretStyles("url",F);return r.default.createElement(r.default.Fragment,null,r.default.createElement(p.ScreenReaderText,null,/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
(0,a.__)("Url preview","wordpress-seo")+":"),r.default.createElement(f,null,r.default.createElement(N,{onMouseUp:t.bind(null,"url"),onMouseEnter:n.bind(null,"url"),onMouseLeave:i.bind(null),screenMode:o},r.default.createElement(k,null,r.default.createElement(G,{src:s||"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABs0lEQVR4AWL4//8/RRjO8Iucx+noO0MWUDo16FYABMGP6ZfUcRnWtm27jVPbtm3bttuH2t3eFPcY9pLz7NxiLjCyVd87pKnHyqXyxtCs8APd0rnyxiu4qSeA3QEDrAwBDrT1s1Rc/OrjLZwqVmOSu6+Lamcpp2KKMA9PH1BYXMe1mUP5qotvXTywsOEEYHXxrY+3cqk6TMkYpNr2FeoY3KIr0RPtn9wQ2unlA+GMkRw6+9TFw4YTwDUzx/JVvARj9KaedXRO8P5B1Du2S32smzqUrcKGEyA+uAgQjKX7zf0boWHGfn71jIKj2689gxp7OAGShNcBUmLMPVjZuiKcA2vuWHHDCQxMCz629kXAIU4ApY15QwggAFbfOP9DhgBJ+nWVJ1AZAfICAj1pAlY6hCADZnveQf7bQIwzVONGJonhLIlS9gr5mFg44Xd+4S3XHoGNPdJl1INIwKyEgHckEhgTe1bGiFY9GSFBYUwLh1IkiJUbY407E7syBSFxKTszEoiE/YdrgCEayDmtaJwCI9uu8TKMuZSVfSa4BpGgzvomBR/INhLGzrqDotp01ZR8pn/1L0JN9d9XNyx0AAAAAElFTkSuQmCC",alt:""})),r.default.createElement(j,{screenMode:o},r.default.createElement(W,{screenMode:o},l),r.default.createElement(L,{screenMode:o},u),!d&&r.default.createElement(T,null,c),!d&&r.default.createElement(z,null,r.default.createElement(Q,{screenMode:o}))),d&&r.default.createElement(Q,{screenMode:o}))))}componentDidUpdate(e){const t={};this.props.title!==e.title&&(t.title=this.props.title),this.props.description!==e.description&&(t.description=this.props.description),this.setState({...t,isDescriptionPlaceholder:!this.props.description}),this.props.mode===m.MODE_MOBILE&&(clearTimeout(this.fitTitleTimeout),this.fitTitleTimeout=setTimeout(()=>{this.fitTitle()},10))}componentDidMount(){this.setState({isDescriptionPlaceholder:!this.props.description})}componentWillUnmount(){clearTimeout(this.fitTitleTimeout)}renderDescription(){const{wordsToHighlight:e,locale:t,onMouseUp:n,onMouseLeave:i,onMouseEnter:o,mode:s,mobileImageSrc:a}=this.props,l=this.renderDate(),d={isDescriptionPlaceholder:this.state.isDescriptionPlaceholder,onMouseUp:n.bind(null,"description"),onMouseEnter:o.bind(null,"description"),onMouseLeave:i.bind(null)};if(s===m.MODE_DESKTOP){const n=this.addCaretStyles("description",I);return r.default.createElement(n,b({},d,{ref:this.setDescriptionRef}),l,function(e,t,n){if(0===t.length)return n;let i=n;const o=[];t.forEach(function(t){o.push(t);const n=x(t,e);n!==t&&o.push(n)});const s=y(o,!1,"",!1);return i=i.replace(s,function(e){return`<strong>${e}</strong>`}),(0,c.safeCreateInterpolateElement)(i,{strong:r.default.createElement("strong",null)})}(t,e,this.getDescription()))}if(s===m.MODE_MOBILE){const e=this.addCaretStyles("description",U);return r.default.createElement(e,d,r.default.createElement(U,{isDescriptionPlaceholder:this.state.isDescriptionPlaceholder,ref:this.setDescriptionRef},a&&r.default.createElement(V,null,r.default.createElement(B,{src:a,alt:""})),l,this.getDescription()))}return null}renderProductData(e){const{mode:t,shoppingData:n}=this.props;if(0===Object.values(n).length)return null;const i={availability:n.availability||"",price:n.price?(0,u.decodeHTML)(n.price):"",rating:n.rating||0,bestRating:n.bestRating||m.DEFAULT_BEST_RATING,reviewCount:n.reviewCount||0};return t===m.MODE_DESKTOP?r.default.createElement(e,{className:"yoast-shopping-data-preview--desktop"},r.default.createElement(p.ScreenReaderText,null,/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
(0,a.__)("Shopping data preview:","wordpress-seo")),r.default.createElement(h.default,{shoppingData:i})):t===m.MODE_MOBILE?r.default.createElement(e,{className:"yoast-shopping-data-preview--mobile"},r.default.createElement(p.ScreenReaderText,null,/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
(0,a.__)("Shopping data preview:","wordpress-seo")),r.default.createElement(g.default,{shoppingData:i})):null}render(){const{onMouseUp:e,onMouseLeave:t,onMouseEnter:n,mode:i,isAmp:o}=this.props,{PartContainer:s,Container:l,TitleUnbounded:d,SnippetTitle:u}=this.getPreparedComponents(i),c=i===m.MODE_DESKTOP,f=c||!o?null:r.default.createElement(q,null);return r.default.createElement("section",{className:"yoast-snippet-preview-section"},r.default.createElement(l,{id:"yoast-snippet-preview-container",className:"yoast-snippet-preview-container",width:c?640:null,padding:20},r.default.createElement(s,null,this.renderUrl(),r.default.createElement(p.ScreenReaderText,null,(0,a.__)("SEO title preview","wordpress-seo")+":"),r.default.createElement(u,{onMouseUp:e.bind(null,"title"),onMouseEnter:n.bind(null,"title"),onMouseLeave:t.bind(null)},r.default.createElement(P,{screenMode:i},r.default.createElement(d,{ref:this.setTitleRef},this.getTitle()))),f),r.default.createElement(s,null,r.default.createElement(p.ScreenReaderText,null,(0,a.__)("Meta description preview:","wordpress-seo")),this.renderDescription()),this.renderProductData(s)))}getPreparedComponents(e){return{PartContainer:e===m.MODE_DESKTOP?H:$,Container:e===m.MODE_DESKTOP?S:M,TitleUnbounded:e===m.MODE_DESKTOP?R:A,SnippetTitle:this.addCaretStyles("title",O)}}}t.default=X,X.propTypes={title:o.default.string.isRequired,url:o.default.string.isRequired,siteName:o.default.string.isRequired,description:o.default.string.isRequired,date:o.default.string,breadcrumbs:o.default.array,hoveredField:o.default.string,activeField:o.default.string,keyword:o.default.string,wordsToHighlight:o.default.array,locale:o.default.string,mode:o.default.oneOf(m.MODES),isAmp:o.default.bool,faviconSrc:o.default.string,mobileImageSrc:o.default.string,shoppingData:o.default.object,onMouseUp:o.default.func.isRequired,onHover:o.default.func,onMouseEnter:o.default.func,onMouseLeave:o.default.func},X.defaultProps={date:"",keyword:"",wordsToHighlight:[],breadcrumbs:null,locale:"en",hoveredField:"",activeField:"",mode:m.DEFAULT_MODE,isAmp:!1,faviconSrc:"",mobileImageSrc:"",shoppingData:{},onHover:()=>{},onMouseEnter:()=>{},onMouseLeave:()=>{}}},89280(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lengthProgressShape=void 0;var r,i=(r=n(71802))&&r.__esModule?r:{default:r};t.lengthProgressShape=i.default.shape({max:i.default.number,actual:i.default.number,score:i.default.number})},89457(e,t,n){const r=n(51609),i=r.forwardRef(function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z"}))});e.exports=i},90788(e){"use strict";function t(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,n){e.classList?e.classList.remove(n):"string"==typeof e.className?e.className=t(e.className,n):e.setAttribute("class",t(e.className&&e.className.baseVal||"",n))}},95321(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MODE_MOBILE=t.MODE_DESKTOP=t.MODES=t.DEFAULT_MODE=t.DEFAULT_BEST_RATING=void 0;const n=t.MODE_MOBILE="mobile",r=t.MODE_DESKTOP="desktop",i=t.MODES=[r,n],o=t.DEFAULT_MODE=n,s=t.DEFAULT_BEST_RATING=5;t.default={MODE_MOBILE:n,MODE_DESKTOP:r,MODES:i,DEFAULT_MODE:o,DEFAULT_BEST_RATING:s}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FixedWidthContainer",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"HelpTextWrapper",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"ModeSwitcher",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"SnippetEditor",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"SnippetPreview",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"getDescriptionProgress",{enumerable:!0,get:function(){return d.getDescriptionProgress}}),Object.defineProperty(e,"getProgressColor",{enumerable:!0,get:function(){return d.getProgressColor}}),Object.defineProperty(e,"getTitleProgress",{enumerable:!0,get:function(){return d.getTitleProgress}}),Object.defineProperty(e,"lengthProgressShape",{enumerable:!0,get:function(){return l.lengthProgressShape}});var t=u(n(23213)),i=u(n(1252Line truncated
@@ -0,0 +1,23 @@
(()=>{"use strict";var e={13887(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(27723),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=l(t);if(i&&i.has(e))return i.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var n=o?Object.getOwnPropertyDescriptor(e,a):null;n&&(n.get||n.set)?Object.defineProperty(r,a,n):r[a]=e[a]}return r.default=e,i&&i.set(e,r),r}(i(51609)),a=i(66087),n=i(45831);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,i=new WeakMap;return(l=function(e){return e?i:t})(e)}t.default=function({imageAltText:e="",hasPreview:t,usingFallback:i=!1,imageUrl:l="",defaultImageUrl:s="",warnings:d=[],onClick:c=a.noop,onRemoveImageClick:u=a.noop,isDisabled:p=!1,onMouseEnter:f=a.noop,onMouseLeave:g=a.noop,label:m,id:_}){const E=!1===i&&""!==l,S=l||s||"",I=d.length>0&&(E||i),h=(0,o.useCallback)(e=>{var t;null===(t=e.target.previousElementSibling)||void 0===t||t.focus(),u()},[u]);return o.default.createElement("div",{onMouseEnter:f,onMouseLeave:g},o.default.createElement(n.Root,null,o.default.createElement(n.ImageSelect,{label:m,imageUrl:S,selectButtonLabel:(0,r.__)("Select image","wordpress-seo"),replaceButtonLabel:(0,r.__)("Replace image","wordpress-seo"),onSelectImage:c,isDisabled:p,id:_},t&&o.default.createElement(n.ImageSelect.Preview,{imageAltText:e}),I&&o.default.createElement("div",{role:"alert",className:"yst-mt-4"},d.map((e,t)=>o.default.createElement(n.Alert,{key:`warning${t}`,variant:"warning"},e))),o.default.createElement(n.ImageSelect.Buttons,{removeLabel:(0,r.__)("Remove image","wordpress-seo"),onRemoveImage:h}))))}},15181(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"socialReducer",{enumerable:!0,get:function(){return o.default}});var r,o=(r=i(81867))&&r.__esModule?r:{default:r}},18495(e){e.exports=window.yoast.styleGuide},21522(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.withCaretStyle=t.default=void 0;var r=i(27723),o=f(i(13887)),a=i(53335),n=i(52547),l=i(18495),s=i(66087),d=f(i(71802)),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var i=p(t);if(i&&i.has(e))return i.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&{}.hasOwnProperty.call(e,a)){var n=o?Object.getOwnPropertyDescriptor(e,a):null;n&&(n.get||n.set)?Object.defineProperty(r,a,n):r[a]=e[a]}return r.default=e,i&&i.set(e,r),r}(i(51609)),u=f(i(21679));function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,i=new WeakMap;return(p=function(e){return e?i:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}const g=e=>e?l.colors.$color_snippet_focus:l.colors.$color_snippet_hover,m=u.default.div`
position: relative;
margin-top: 1.7em;
margin-bottom: 1.7em;
`,_=u.default.div`
display: ${e=>e.isActive||e.isHovered?"block":"none"};
::before {
position: absolute;
top: -2px;
${(0,a.getDirectionalStyle)("left","right")}: -25px;
width: 24px;
height: 24px;
background-image: url(
${e=>(0,a.getDirectionalStyle)((0,l.angleRight)(g(e.isActive)),(0,l.angleLeft)(g(e.isActive)))}
);
color: ${e=>g(e.isActive)};
background-size: 24px;
background-repeat: no-repeat;
background-position: center;
content: "";
}
`;_.propTypes={isActive:d.default.bool,isHovered:d.default.bool},_.defaultProps={isActive:!1,isHovered:!1};const E=e=>{function t({isActive:t,isHovered:i,...r}){return c.default.createElement(m,null,c.default.createElement(_,{isActive:t,isHovered:i}),c.default.createElement(e,r))}return t.propTypes={isActive:d.default.bool.isRequired,isHovered:d.default.bool.isRequired},t};t.withCaretStyle=E;const S=E(o.default);class I extends c.Component{constructor(e){super(e),this.onImageEnter=e.onMouseHover.bind(this,"image"),this.onTitleEnter=e.onMouseHover.bind(this,"title"),this.onDescriptionEnter=e.onMouseHover.bind(this,"description"),this.onLeave=e.onMouseHover.bind(this,""),this.onImageSelectBlur=e.onSelect.bind(this,""),this.onSelectTitleEditor=this.onSelectEditor.bind(this,"title"),this.onSelectDescriptionEditor=this.onSelectEditor.bind(this,"description"),this.onDeselectEditor=this.onSelectEditor.bind(this,""),this.onTitleEditorRef=this.onSetEditorRef.bind(this,"title"),this.onDescriptionEditorRef=this.onSetEditorRef.bind(this,"description")}onSelectEditor(e){this.props.onSelect(e)}onSetEditorRef(e,t){this.props.setEditorRef(e,t)}getFieldsTitles(e){return"Twitter"===e?{imageSelectTitle:(0,r.__)("Twitter image","wordpress-seo"),titleEditorTitle:(0,r.__)("Twitter title","wordpress-seo"),descEditorTitle:(0,r.__)("Twitter description","wordpress-seo")}:"X"===e?{imageSelectTitle:(0,r.__)("X image","wordpress-seo"),titleEditorTitle:(0,r.__)("X title","wordpress-seo"),descEditorTitle:(0,r.__)("X description","wordpress-seo")}:{imageSelectTitle:(0,r.__)("Social image","wordpress-seo"),titleEditorTitle:(0,r.__)("Social title","wordpress-seo"),descEditorTitle:(0,r.__)("Social description","wordpress-seo")}}render(){const{socialMediumName:e,onSelectImageClick:t,onRemoveImageClick:i,title:r,titleInputPlaceholder:o,description:l,descriptionInputPlaceholder:s,onTitleChange:d,onDescriptionChange:u,onReplacementVariableSearchChange:p,hoveredField:f,activeField:g,isPremium:m,replacementVariables:_,recommendedReplacementVariables:E,imageWarnings:I,imageUrl:h,imageFallbackUrl:v,imageAltText:b,idSuffix:T}=this.props,w=this.getFieldsTitles(e),y=!!h,A=w.imageSelectTitle,O=w.titleEditorTitle,M=w.descEditorTitle,C=e.toLowerCase();return c.default.createElement(c.Fragment,null,c.default.createElement(S,{label:A,onClick:t,onRemoveImageClick:i,warnings:I,imageSelected:y,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave,isActive:"image"===g,isHovered:"image"===f,imageUrl:h,usingFallback:!h&&""!==v,imageAltText:b,hasPreview:!m,id:(0,a.join)([C,"image-select",T])}),c.default.createElement(n.ReplacementVariableEditor,{onChange:d,content:r,placeholder:o,replacementVariables:_,recommendedReplacementVariables:E,type:"title",fieldId:(0,a.join)([C,"title-input",T]),label:O,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onSearchChange:p,isActive:"title"===g,isHovered:"title"===f,withCaret:!0,onFocus:this.onSelectTitleEditor,onBlur:this.onDeselectEditor,editorRef:this.onTitleEditorRef}),c.default.createElement(n.ReplacementVariableEditor,{onChange:u,content:l,placeholder:s,replacementVariables:_,recommendedReplacementVariables:E,type:"description",fieldId:(0,a.join)([C,"description-input",T]),label:M,onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onSearchChange:p,isActive:"description"===g,isHovered:"description"===f,withCaret:!0,onFocus:this.onSelectDescriptionEditor,onBlur:this.onDeselectEditor,editorRef:this.onDescriptionEditorRef}))}}I.propTypes={socialMediumName:d.default.oneOf(["Twitter","X","Social"]).isRequired,onSelectImageClick:d.default.func.isRequired,onRemoveImageClick:d.default.func.isRequired,title:d.default.string.isRequired,description:d.default.string.isRequired,onTitleChange:d.default.func.isRequired,onDescriptionChange:d.default.func.isRequired,onReplacementVariableSearchChange:d.default.func,isPremium:d.default.bool,hoveredField:d.default.string,activeField:d.default.string,onSelect:d.default.func,replacementVariables:n.replacementVariablesShape,recommendedReplacementVariables:d.default.arrayOf(d.default.string),imageWarnings:d.default.array,imageUrl:d.default.string,imageFallbackUrl:d.default.string,imageAltText:d.default.string,titleInputPlaceholder:d.default.string,descriptionInputPlaceholder:d.default.string,setEditorRef:d.default.func,onMouseHover:d.default.func,idSuffix:d.default.string},I.defaultProps={replacementVariables:[],recommendedReplacementVariables:[],imageWarnings:[],hoveredField:"",activeField:"",onSelect:s.noop,onReplacementVariableSearchChange:null,imageUrl:"",imageFallbackUrl:"",imageAltText:"",titleInputPlaceholder:"",descriptionInputPlaceholder:"",isPremium:!1,setEditorRef:s.noop,onMouseHover:s.noop,idSuffix:""},t.default=I},21679(e){e.exports=window.yoast.styledComponents},27482(e){e.exports=window.yoast.redux},27723(e){e.exports=window.wp.i18n},34115(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(36099);t.default=function(e){const{lar Line truncated
@@ -0,0 +1,13 @@
(()=>{"use strict";var e={21679(e){e.exports=window.yoast.styledComponents},53335(e){e.exports=window.yoast.helpers},69543(e){e.exports=JSON.parse('{"mobile":"768px","tablet":"1224px"}')},74352(e){e.exports=JSON.parse('{"$palette_white":"#fff","$palette_grey_ultra_light":"#f7f7f7","$palette_grey_light":"#f1f1f1","$palette_grey_medium_light":"#e2e4e7","$palette_grey":"#ddd","$palette_grey_medium":"#ccc","$palette_grey_disabled":"#a0a5aa","$palette_grey_medium_dark":"#888","$palette_grey_text_light":"#767676","$palette_grey_text":"#616161","$palette_grey_dark":"#555","$palette_black":"#000","$palette_purple":"#5d237a","$palette_purple_dark":"#6c2548","$palette_pink":"#d73763","$palette_pink_light":"#e1bee7","$palette_pink_dark":"#a4286a","$palette_blue":"#0066cd","$palette_blue_light":"#a9a9ce","$palette_blue_medium":"#1e8cbe","$palette_blue_link":"#0073aa","$palette_blue_focus":"#5b9dd9","$palette_yoast_focus":"#007fff","$palette_blue_dark":"#084a67","$palette_green":"#77b227","$palette_green_light":"#7ad03a","$palette_green_medium_light":"#64a60a","$palette_green_medium":"#008a00","$palette_green_blue":"#009288","$palette_orange":"#dc5c04","$palette_orange_light":"#ee7c1b","$palette_red":"#dc3232","$palette_red_light":"#f9bdbd","$palette_yellow":"#ffeb3b","$palette_yellow_score":"#f5c819","$palette_button_upsell":"#fec228","$palette_button_upsell_hover":"#f2ae01","$palette_link_text":"#004973","$palette_error_background":"#f9dcdc","$palette_error_text":"#8f1919","$palette_error_emphasis":"#dc3232","$palette_info_background":"#cce5ff","$palette_info_text":"#00468f","$palette_info_emphasis":"#007dff","$palette_success_background":"#e2f2cc","$palette_success_text":"#395315","$palette_success_emphasis":"#6ea029","$palette_warning_background":"#fff3cd","$palette_warning_text":"#674e00","$palette_warning_emphasis":"#ffc201","$color_bad":"#dc3232","$color_ok":"#ee7c1b","$color_good":"#7ad03a","$color_noindex":"#1e8cbe","$color_score_icon":"#888","$color_white":"#fff","$color_black":"#000","$color_green":"#77b227","$color_green_medium":"#008a00","$color_green_blue":"#009288","$color_grey":"#ddd","$color_grey_dark":"#555","$color_purple":"#5d237a","$color_purple_dark":"#6c2548","$color_pink":"#d73763","$color_pink_light":"#e1bee7","$color_pink_dark":"#a4286a","$color_blue":"#0066cd","$color_blue_light":"#a9a9ce","$color_blue_dark":"#084a67","$color_red":"#dc3232","$color_border_light":"#f7f7f7","$color_border_gutenberg":"#e2e4e7","$color_border":"#ccc","$color_input_border":"#ddd","$color_help_text":"#767676","$color_upsell_text":"#767676","$color_background_light":"#f7f7f7","$color_button":"#f7f7f7","$color_button_text":"#555","$color_button_border":"#ccc","$color_button_hover":"#fff","$color_button_border_hover":"#888","$color_button_text_hover":"#000","$color_button_border_active":"#000","$color_button_upsell":"#fec228","$color_button_upsell_hover":"#f2ae01","$color_headings":"#555","$color_marker_inactive":"#555","$color_marker_active":"#fff","$color_marker_disabled":"#a0a5aa","$color_error":"#dc3232","$color_orange":"#dc5c04","$color_orange_hover":"#c35204","$color_grey_hover":"#cecece","$color_pink_hover":"#cc2956","$color_grey_cta":"#ddd","$color_grey_line":"#ddd","$color_grey_quote":"#616161","$color_grey_text":"#616161","$color_grey_text_light":"#767676","$color_snippet_focus":"#1e8cbe","$color_snippet_hover":"#ccc","$color_snippet_active":"#555","$color_blue_link":"#0073aa","$color_blue_focus":"#5b9dd9","$color_blue_focus_shadow":"#1e8cbe","$color_yoast_focus":"#007fff","$color_yoast_focus_outer":"rgba(0,127,255,0.25)","$color_grey_medium_dark":"#888","$color_green_medium_light":"#64a60a","$color_grey_disabled":"#a0a5aa","$color_grey_medium":"#ccc","$color_grey_light":"#f1f1f1","$color_yellow":"#ffeb3b","$color_yellow_score":"#f5c819","$color_error_message":"#f9bdbd","$color_alert_link_text":"#004973","$color_alert_error_text":"#8f1919","$color_alert_error_background":"#f9dcdc","$color_alert_info_text":"#00468f","$color_alert_info_background":"#cce5ff","$color_alert_success_text":"#395315","$color_alert_success_background":"#e2f2cc","$color_alert_warning_text":"#674e00","$color_alert_warning_background":"#fff3cd"}')},98898(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.angleRight=t.angleLeft=void 0,t.rgba=function(e,t){return"rgba( "+function(e){if("string"!=typeof e)throw new Error("Please pass a string representation of a color in hex notation.");if(e.match(/^#[a-fA-F0-9]{6}$/))return parseInt(`${e[1]}${e[2]}`,16)+", "+parseInt(`${e[3]}${e[4]}`,16)+", "+parseInt(`${e[5]}${e[6]}`,16);if(e.match(/^#[a-fA-F0-9]{3}$/))return parseInt(`${e[1]}${e[1]}`,16)+", "+parseInt(`${e[2]}${e[2]}`,16)+", "+parseInt(` ${e[3]}${e[3]}`,16);throw new Error("Couldn't parse the color string. Please provide the color as a string in hex notation.")}(e)+", "+t+" )"},t.withCaretStyles=void 0;var o=a(r(21679)),l=r(53335),_=a(r(74352));function a(e){return e&&e.__esModule?e:{default:e}}const c=e=>"data:image/svg+xml;charLine truncated
&::before {
display: block;
position: absolute;
top: 4px;
${(0,l.getDirectionalStyle)("left","right")}: -25px;
width: 24px;
height: 24px;
background-image: url( ${i} );
background-size: 25px;
content: "";
}
`}},t={};function r(o){var l=t[o];if(void 0!==l)return l.exports;var _=t[o]={exports:{}};return e[o](_,_.exports,r),_.exports}var o={};(()=>{var e=o;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"angleLeft",{enumerable:!0,get:function(){return _.angleLeft}}),Object.defineProperty(e,"angleRight",{enumerable:!0,get:function(){return _.angleRight}}),Object.defineProperty(e,"breakpoints",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"colors",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"rgba",{enumerable:!0,get:function(){return _.rgba}}),Object.defineProperty(e,"withCaretStyles",{enumerable:!0,get:function(){return _.withCaretStyles}});var t=a(r(74352)),l=a(r(69543)),_=r(98898);function a(e){return e&&e.__esModule?e:{default:e}}})(),(window.yoast=window.yoast||{}).styleGuide=o})();
@@ -0,0 +1 @@
(()=>{var e={2833(e){e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var l=a[c];if(!s(l))return!1;var u=e[l],f=t[l];if(!1===(o=r?r.call(n,u,f,l):void 0)||void 0===o&&u!==f)return!1}return!0}},22799(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case l:case d:case g:case m:case c:return e;default:return t}}case o:return t}}}function k(e){return w(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===S||e.$$typeof===y)},t.typeOf=w},40650(e,t,r){"use strict";var n=r(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=p(r);o&&o!==h&&e(t,o,n)}var i=u(r);f&&(i=i.concat(f(r)));for(var s=c(t),m=c(r),g=0;g<i.length;++g){var y=i[g];if(!(a[y]||n&&n[y]||m&&m[y]||s&&s[y])){var v=d(r,y);try{l(t,y,v)}catch(e){}}}}return t}},44363(e,t,r){"use strict";e.exports=r(22799)}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var n={};(()=>{"use strict";r.r(n),r.d(n,{ServerStyleSheet:()=>Fe,StyleSheetConsumer:()=>oe,StyleSheetContext:()=>ne,StyleSheetManager:()=>ue,ThemeConsumer:()=>je,ThemeContext:()=>Te,ThemeProvider:()=>_e,__PRIVATE__:()=>He,createGlobalStyle:()=>De,css:()=>Se,default:()=>We,isStyledComponent:()=>S,keyframes:()=>Le,useTheme:()=>Ge,version:()=>k,withTheme:()=>Be});var e=r(44363);const t=window.React;var o=r.n(t),a=r(2833),i=r.n(a);const s=function(e){function t(e,n,c,l,d){for(var p,h,m,g,S,k=0,C=0,A=0,x=0,P=0,j=0,$=m=p=0,N=0,z=0,D=0,L=0,F=c.length,B=F-1,G="",H="",W="",Y="";N<F;){if(h=c.charCodeAt(N),N===B&&0!==C+x+A+k&&(0!==C&&(h=47===C?10:47),x=A=k=0,F++,B++),0===C+x+A+k){if(N===B&&(0<z&&(G=G.replace(f,"")),0<G.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:G+=c.charAt(N)}h=59}switch(h){case 123:for(p=(G=G.trim()).charCodeAt(0),m=1,L=+Line truncated
@@ -0,0 +1 @@
(()=>{var e={4984(e,t,n){const a=n(51609),r=a.forwardRef(function(e,t){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),a.createElement("path",{fillRule:"evenodd",d:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z",clipRule:"evenodd"}))});e.exports=r},8738(e,t,n){const a=n(51609),r=a.forwardRef(function(e,t){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),a.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))});e.exports=r},21878(e,t,n){const a=n(51609),r=a.forwardRef(function(e,t){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),a.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))});e.exports=r},22455(e,t,n){const a=n(51609),r=a.forwardRef(function(e,t){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),a.createElement("path",{fillRule:"evenodd",d:"M8.257 3.099c.765-1.36 2.722-1.36 3.486 0l5.58 9.92c.75 1.334-.213 2.98-1.742 2.98H4.42c-1.53 0-2.493-1.646-1.743-2.98l5.58-9.92zM11 13a1 1 0 11-2 0 1 1 0 012 0zm-1-8a1 1 0 00-1 1v3a1 1 0 002 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))});e.exports=r},24740(e,t,n){!function(e,t){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var a=n(t);function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}var s={error:null},o=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return(t=e.call.apply(e,[this].concat(a))||this).state=s,t.resetErrorBoundary=function(){for(var e,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];null==t.props.onReset||(e=t.props).onReset.apply(e,a),t.reset()},t}var n,o;o=e,(n=t).prototype=Object.create(o.prototype),n.prototype.constructor=n,r(n,o),t.getDerivedStateFromError=function(e){return{error:e}};var i=t.prototype;return i.reset=function(){this.setState(s)},i.componentDidCatch=function(e,t){var n,a;null==(n=(a=this.props).onError)||n.call(a,e,t)},i.componentDidUpdate=function(e,t){var n,a,r,s,o=this.state.error,i=this.props.resetKeys;null!==o&&null!==t.error&&(void 0===(r=e.resetKeys)&&(r=[]),void 0===(s=i)&&(s=[]),r.length!==s.length||r.some(function(e,t){return!Object.is(e,s[t])}))&&(null==(n=(a=this.props).onResetKeysChange)||n.call(a,e.resetKeys,i),this.reset())},i.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,r=t.FallbackComponent,s=t.fallback;if(null!==e){var o={error:e,resetErrorBoundary:this.resetErrorBoundary};if(a.isValidElement(s))return s;if("function"==typeof n)return n(o);if(r)return a.createElement(r,o);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(a.Component);e.ErrorBoundary=o,e.useErrorHandler=function(e){var t=a.useState(null),n=t[0],r=t[1];if(null!=e)throw e;if(null!=n)throw n;return r},e.withErrorBoundary=function(e,t){var n=function(n){return a.createElement(o,t,a.createElement(e,n))},r=e.displayName||e.name||"Unknown";return n.displayName="withErrorBoundary("+r+")",n},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(51609))},26997(e,t,n){const a=n(51609),r=a.forwardRef(function(e,t){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),a.createElement("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"}))});e.exports=r},32485(e,t){var n;!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var s=typeof n;if("string"===s||"number"===s)e.push(n);else if(Array.isArray(n)){if(n.length){var o=r.apply(null,n);o&&e.push(o)}}else if("object"===s){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var i in n)a.call(n,i)&&n[i]&&e.push(i)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},34237(e,t,n){const a=n(5Line truncated