plugin updates

This commit is contained in:
Tony Volpe
2024-11-20 22:40:39 -05:00
parent 0238f0c4ca
commit 3362947c6e
434 changed files with 13405 additions and 9202 deletions

View File

@@ -12,7 +12,7 @@
(0,c.__)("Optimize your SEO content with %s","wordpress-seo"),"Yoast AI")),(0,e.createElement)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm"},(0,l.createInterpolateElement)((0,c.sprintf)(/* translators: %1$s is a break tag; %2$s and %3$s are anchor tags; %4$s is the arrow icon. */
(0,c.__)("Make content editing a breeze! Optimize your SEO content with quick, actionable suggestions at the click of a button.%1$s%2$sLearn more%3$s%4$s","wordpress-seo"),"<br/>","<a>","<ArrowNarrowRightIcon />","</a>"),d))),(0,e.createElement)("div",{className:"yst-w-full yst-flex yst-mt-6"},(0,e.createElement)(i.Button,{as:"a",className:"yst-grow",size:"extra-large",variant:"upsell",href:a,target:"_blank",ref:m},(0,e.createElement)(j,{className:"yst--ml-1 yst-mr-2 yst-h-5 yst-w-5"}),n,(0,e.createElement)("span",{className:"yst-sr-only"},/* translators: Hidden accessibility text. */
(0,c.__)("(Opens in a new browser tab)","wordpress-seo")))),(0,e.createElement)(i.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:o},(0,c.__)("Close","wordpress-seo"))))};_e.propTypes={learnMoreLink:I().string.isRequired,upsellLink:I().string.isRequired,thumbnail:I().shape({src:I().string.isRequired,width:I().string,height:I().string}).isRequired,wistiaEmbedPermission:I().shape({value:I().bool.isRequired,status:I().string.isRequired,set:I().func.isRequired}).isRequired,upsellLabel:I().string},_e.defaultProps={upsellLabel:(0,c.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */
(0,c.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium")},e.forwardRef((function(t,s){return e.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:s},t),e.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"}))})),I().bool.isRequired,I().func,I().string.isRequired,I().string.isRequired,I().func.isRequired,I().string.isRequired,I().string.isRequired;const ke=({premiumLink:t,premiumUpsellConfig:s,academyLink:r,isPromotionActive:a})=>(0,e.createElement)("div",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-1 yst-gap-4"},(0,e.createElement)(ve,{link:t,linkProps:s,isPromotionActive:a}),(0,e.createElement)(T,{link:r}));ke.propTypes={premiumLink:I().string.isRequired,premiumUpsellConfig:I().object.isRequired,academyLink:I().string.isRequired,isPromotionActive:I().func.isRequired};const Ne=ke,Se="@yoast/support",Pe=(e,t=[],...s)=>(0,r.useSelect)((t=>{var r,a;return null===(r=(a=t(Se))[e])||void 0===r?void 0:r.call(a,...s)}),t),Re=({id:t,children:s,title:r,description:a=null})=>{const n=Pe("selectPreference",[],"isPremium");return(0,e.createElement)(H,{id:t,title:r,description:a,variant:n?"lg":"xl"},s)};Re.propTypes={id:I().string,children:I().node.isRequired,title:I().node.isRequired,description:I().node};const Le=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),qe=({imageSrc:t,title:s,description:r,linkHref:a,linkText:n})=>(0,e.createElement)(i.Card,null,(0,e.createElement)(i.Card.Header,{className:"yst-h-auto yst-p-0"},(0,e.createElement)("img",{className:"yst-w-full yst-transition yst-duration-200",src:t,alt:"",width:500,height:250,loading:"lazy",decoding:"async"})),(0,e.createElement)(i.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},(0,e.createElement)(i.Title,{as:"h3"},s),r),(0,e.createElement)(i.Link,{href:a,className:"yst-flex yst-items-center yst-mt-[18px] yst-no-underline yst-font-medium yst-text-primary-500",target:"_blank"},n,(0,e.createElement)("span",{className:"yst-sr-only"},/* translators: Hidden accessibility text. */
(0,c.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium")},e.forwardRef((function(t,s){return e.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:s},t),e.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"}))})),I().bool.isRequired,I().func,I().func,I().string.isRequired,I().string.isRequired,I().string.isRequired,I().string.isRequired;const ke=({premiumLink:t,premiumUpsellConfig:s,academyLink:r,isPromotionActive:a})=>(0,e.createElement)("div",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-1 yst-gap-4"},(0,e.createElement)(ve,{link:t,linkProps:s,isPromotionActive:a}),(0,e.createElement)(T,{link:r}));ke.propTypes={premiumLink:I().string.isRequired,premiumUpsellConfig:I().object.isRequired,academyLink:I().string.isRequired,isPromotionActive:I().func.isRequired};const Ne=ke,Se="@yoast/support",Pe=(e,t=[],...s)=>(0,r.useSelect)((t=>{var r,a;return null===(r=(a=t(Se))[e])||void 0===r?void 0:r.call(a,...s)}),t),Re=({id:t,children:s,title:r,description:a=null})=>{const n=Pe("selectPreference",[],"isPremium");return(0,e.createElement)(H,{id:t,title:r,description:a,variant:n?"lg":"xl"},s)};Re.propTypes={id:I().string,children:I().node.isRequired,title:I().node.isRequired,description:I().node};const Le=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))})),qe=({imageSrc:t,title:s,description:r,linkHref:a,linkText:n})=>(0,e.createElement)(i.Card,null,(0,e.createElement)(i.Card.Header,{className:"yst-h-auto yst-p-0"},(0,e.createElement)("img",{className:"yst-w-full yst-transition yst-duration-200",src:t,alt:"",width:500,height:250,loading:"lazy",decoding:"async"})),(0,e.createElement)(i.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},(0,e.createElement)(i.Title,{as:"h3"},s),r),(0,e.createElement)(i.Link,{href:a,className:"yst-flex yst-items-center yst-mt-[18px] yst-no-underline yst-font-medium yst-text-primary-500",target:"_blank"},n,(0,e.createElement)("span",{className:"yst-sr-only"},/* translators: Hidden accessibility text. */
(0,c.__)("(Opens in a new browser tab)","wordpress-seo")),(0,e.createElement)(Le,{className:"yst-h-4 yst-w-4 yst-ml-1 yst-icon-rtl"})));qe.propTypes={imageSrc:I().string.isRequired,title:I().string.isRequired,description:I().string.isRequired,linkHref:I().string.isRequired,linkText:I().string.isRequired};const Oe=()=>{document.querySelector("#beacon-container .BeaconFabButtonFrame iframe")?window.Beacon("open"):document.querySelector("#yoast-helpscout-beacon button").click()},$e=()=>{const t=Pe("selectPreference",[],"isPremium",!1),s=Pe("selectUpsellSettingsAsProps"),a=Pe("selectPreference",[],"pluginUrl",""),n=Pe("selectLinkParams"),o=Pe("selectLink",[],"https://yoa.st/3t6"),m=Pe("selectLink",[],"https://yoa.st/jj"),d=Pe("selectLink",[],"https://yoa.st/help-center-support-card"),u=Pe("selectLink",[],"https://yoa.st/support-forums-support-card"),p=Pe("selectLink",[],"https://yoa.st/github-repository-support-card"),g=Pe("selectLink",[],"https://yoa.st/contact-support-to-unlock-premium-support-section"),{isPromotionActive:w}=(0,r.useSelect)(Se),f=(0,l.useMemo)((()=>[{title:(0,e.createElement)("span",null,"How do I set up ",(0,e.createElement)("strong",null,"canonical URLs"),"?"),link:(0,y.addQueryArgs)("https://yoa.st/canonical-urls-support-faq",n)},{title:(0,e.createElement)("span",null,"How do I use ",(0,e.createElement)("strong",null,"XML sitemaps"),"?"),link:(0,y.addQueryArgs)("https://yoa.st/xml-sitemaps-support-faq",n)},{title:(0,e.createElement)("span",null,"How do I implement ",(0,e.createElement)("strong",null,"breadcrumbs"),"?"),link:(0,y.addQueryArgs)("https://yoa.st/implement-breadcrumbs-support-faq",n)},{title:(0,e.createElement)("span",null,"How do I ",(0,e.createElement)("strong",null,"submit my sitemap")," to search engines?"),link:(0,y.addQueryArgs)("https://yoa.st/submit-sitemap-support-faq",n)},{title:(0,e.createElement)("span",null,"How do I edit my ",(0,e.createElement)("strong",null,"robots.txt file"),"?"),link:(0,y.addQueryArgs)("https://yoa.st/edit-robots-txt-support-faq",n)},{title:(0,e.createElement)("span",null,"What are the ",(0,e.createElement)("strong",null,"meta robots advanced settings"),"?"),link:(0,y.addQueryArgs)("https://yoa.st/meta-robots-settings-support-faq",n)},{title:(0,e.createElement)("span",null,"Where can I find a ",(0,e.createElement)("strong",null,"glossary")," of SEO terms?"),link:(0,y.addQueryArgs)("https://yoa.st/seo-terms-vocabulary-support-faq",n)},{title:(0,e.createElement)("span",null,"What are ",(0,e.createElement)("strong",null,"transition words"),"?"),link:(0,y.addQueryArgs)("https://yoa.st/transition-words-support-faq",n)}]),[]);return(0,e.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8"},(0,e.createElement)("div",{className:C()("yst-flex yst-flex-grow yst-flex-wrap",!t&&"xl:yst-pr-[17.5rem]")},(0,e.createElement)(i.Paper,{as:"main",className:"yst-flex-grow yst-mb-8 xl:yst-mb-0"},(0,e.createElement)(i.Paper.Header,null,(0,e.createElement)("div",{className:"yst-max-w-screen-sm"},(0,e.createElement)(i.Title,null,(0,c.__)("Support","wordpress-seo")),(0,e.createElement)("p",{className:"yst-text-tiny yst-mt-3"},(0,c.__)("If you have any questions, need a hand with a technical issue, or just want to say hi, we've got you covered. Get in touch with us and we'll be happy to assist you!","wordpress-seo")))),(0,e.createElement)(i.Paper.Content,null,(0,e.createElement)("div",{className:"yst-max-w-6xl"},(0,e.createElement)(Re,{title:(0,c.__)("Frequently asked questions","wordpress-seo"),description:(0,c.sprintf)(/* translators: %1$s expands to Yoast SEO. */
(0,c.__)("Here, you'll find answers to commonly asked questions about using %1$s. If you don't see your question listed, you can have a look at the section below.","wordpress-seo"),"Yoast SEO")},(0,e.createElement)("ul",null,f.map((({title:t,link:s},r)=>(0,e.createElement)(l.Fragment,{key:`faq-${r}`},r>0&&(0,e.createElement)("hr",{className:"yst-my-3"}),(0,e.createElement)("li",null,(0,e.createElement)(i.Link,{href:s,className:"yst-flex yst-items-center yst-font-medium yst-no-underline",target:"_blank"},t,(0,e.createElement)(O,{className:"yst-inline-block yst-ml-1.5 yst-h-3 yst-w-3 yst-icon-rtl"})))))))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(Re,{title:(0,c.__)("Additional resources","wordpress-seo"),description:(0,c.sprintf)(/* translators: %1$s expands to Yoast SEO. */
(0,c.__)("Need help with %1$s? These resources are a great place to start!","wordpress-seo"),"Yoast SEO")},(0,e.createElement)("div",{className:"yst-grid yst-gap-6 yst-grid-cols-3 max-sm:yst-grid-cols-1"},(0,e.createElement)(qe,{imageSrc:`${a}/images/support/help_center.png`,title:(0,c.sprintf)(/* translators: %1$s expands to Yoast. */