Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
wordpress-seo
/
js
/
dist
:
introductions.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
(()=>{"use strict";var e={n:t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},d:(t,s)=>{for(var a in s)e.o(s,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:s[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.apiFetch;var s=e.n(t);const a=window.wp.data,r=window.wp.domReady;var n=e.n(r);const i=window.wp.hooks,o=window.wp.element,l=window.yoast.uiLibrary,c=window.lodash,d=window.yoast.reduxJsToolkit,m="adminUrl",p=(0,d.createSlice)({name:m,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),u=(p.getInitialState,{selectAdminUrl:e=>(0,c.get)(e,m,"")});u.selectAdminLink=(0,d.createSelector)([u.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),p.actions,p.reducer;const y="hasConsent",h=`${y}/storeConsent`,g=(0,d.createSlice)({name:y,initialState:{hasConsent:!1,endpoint:"yoast/v1/ai_generator/consent"},reducers:{giveAiGeneratorConsent:(e,{payload:t})=>{e.hasConsent=t},setAiGeneratorConsentEndpoint:(e,{payload:t})=>{e.endpoint=t}}}),f=g.getInitialState,w={selectHasAiGeneratorConsent:e=>(0,c.get)(e,[y,"hasConsent"],g.getInitialState().hasConsent),selectAiGeneratorConsentEndpoint:e=>(0,c.get)(e,[y,"endpoint"],g.getInitialState().endpoint)},x={...g.actions,storeAiGeneratorConsent:function*(e,t){try{yield{type:h,payload:{consent:e,endpoint:t}}}catch(e){return!1}return yield{type:`${y}/giveAiGeneratorConsent`,payload:e},!0}},v={[h]:async({payload:e})=>await s()({path:e.endpoint,method:"POST",data:{consent:e.consent},parse:!1})},b=g.reducer,_=window.wp.url,j="linkParams",E=(0,d.createSlice)({name:j,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),k=E.getInitialState,S={selectLinkParam:(e,t,s={})=>(0,c.get)(e,`${j}.${t}`,s),selectLinkParams:e=>(0,c.get)(e,j,{})};S.selectLink=(0,d.createSelector)([S.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,_.addQueryArgs)(t,{...e,...s})));const O=E.actions,N=E.reducer,C=(0,d.createSlice)({name:"notifications",initialState:{},reducers:{addNotification:{reducer:(e,{payload:t})=>{e[t.id]={id:t.id,variant:t.variant,size:t.size,title:t.title,description:t.description}},prepare:({id:e,variant:t="info",size:s="default",title:a,description:r})=>({payload:{id:e||(0,d.nanoid)(),variant:t,size:s,title:a||"",description:r}})},removeNotification:(e,{payload:t})=>(0,c.omit)(e,t)}}),P=(C.getInitialState,C.actions,C.reducer,"pluginUrl"),I=(0,d.createSlice)({name:P,initialState:"",reducers:{setPluginUrl:(e,{payload:t})=>t}}),L=I.getInitialState,$={selectPluginUrl:e=>(0,c.get)(e,P,"")};$.selectImageLink=(0,d.createSelector)([$.selectPluginUrl,(e,t,s="images")=>s,(e,t)=>t],((e,t,s)=>[(0,c.trimEnd)(e,"/"),(0,c.trim)(t,"/"),(0,c.trimStart)(s,"/")].join("/")));const M=I.actions,A=I.reducer,B="request",R="success",W="error",Z="idle",U="wistiaEmbedPermission",V=(0,d.createSlice)({name:U,initialState:{value:!1,status:Z,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${U}/${B}`,(e=>{e.status="loading"})),e.addCase(`${U}/${R}`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${U}/${W}`,((e,{payload:t})=>{e.status="error",e.value=Boolean(t&&t.value),e.error={code:(0,c.get)(t,"error.code",500),message:(0,c.get)(t,"error.message","Unknown")}}))}}),F=V.getInitialState,Y={selectWistiaEmbedPermission:e=>(0,c.get)(e,U,{value:!1,status:Z}),selectWistiaEmbedPermissionValue:e=>(0,c.get)(e,[U,"value"],!1),selectWistiaEmbedPermissionStatus:e=>(0,c.get)(e,[U,"status"],Z),selectWistiaEmbedPermissionError:e=>(0,c.get)(e,[U,"error"],{})},z={...V.actions,setWistiaEmbedPermission:function*(e){yield{type:`${U}/${B}`};try{return yield{type:U,payload:e},{type:`${U}/${R}`,payload:{value:e}}}catch(t){return{type:`${U}/${W}`,payload:{error:t,value:e}}}}},G={[U]:async({payload:e})=>s()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})},T=V.reducer;var H;const q=(0,d.createSlice)({name:"documentTitle",initialState:(0,c.defaultTo)(null===(H=document)||void 0===H?void 0:H.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),D=(q.getInitialState,q.actions,q.reducer,"yoast-seo/introductions"),J=window.yoast.propTypes;var X=e.n(J);const K=window.ReactJSXRuntime;window.YoastSEO=window.YoastSEO||{};const Q=(0,o.createContext)({}),ee=({children:e,initialComponents:t})=>{const[s,r]=(0,o.useState)(t),n=(0,a.useSelect)((e=>e(D).selectIntroductions()),[]),l=(0,o.useCallback)(((e,t)=>{(0,c.find)(n,{id:e})&&r((s=>({...s,[e]:t})))}),[n,r]);return(0,o.useEffect)((()=>{window.YoastSEO._registerIntroductionComponent=l,(0,i.doAction)("yoast.introductions.ready")}),[l]),(0,K.jsx)(Q.Provider,{value:s,children:e})};ee.propTypes={children:X().node.isRequired,initialComponents:X().object.isRequired};const te=()=>{const e=(0,a.useSelect)((e=>e(D).selectCurrentIntroduction()),[]),t=(0,o.useContext)(Q),s=(0,o.useMemo)((()=>null==t?void 0:t[null==e?void 0:e.id]),[e,t]);return s?(0,K.jsx)(s,{}):null},se=({children:e,maxWidth:t="yst-max-w-lg"})=>{const[s,a]=(0,o.useState)(!0),r=(0,o.useRef)(null),n=(0,o.useCallback)((()=>a(!1)),[]);return(0,K.jsx)(l.Modal,{className:"yst-introduction-modal yst-h-[calc(100vh - 1rem)] sm:yst-h-[calc(100vh - 2rem)] md:yst-h-[calc(100vh - 5rem)]) yst-overflow-y-auto",isOpen:s,onClose:n,initialFocus:r,children:(0,K.jsx)(l.Modal.Panel,{className:`${t} yst-p-0 yst-rounded-3xl`,children:e})})};se.propTypes={children:X().node.isRequired,maxWidth:X().string};const ae=window.wp.i18n,re=window.React,ne=re.forwardRef((function(e,t){return re.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),re.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"}))})),ie=({thumbnail:e,buttonLink:t,buttonLabel:s=(0,ae.__)("Join the waitlist","wordpress-seo"),productName:a=(0,ae.sprintf)(/* translators: %1$s expands to Yoast AI brand insights. */ (0,ae.__)("Introducing %1$s","wordpress-seo"),"Yoast AI brand insights"),description:r=(0,ae.__)("Track visibility, control perception, and stay ahead - tools to manage your AI presence are coming soon!","wordpress-seo")})=>{const{onClose:n,initialFocus:i}=(0,l.useModalContext)();return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)("div",{className:"yst-px-10 yst-pt-10 yst-introduction-gradient yst-text-center",children:[(0,K.jsx)("img",{className:"yst-w-full yst-h-auto yst-rounded-md yst-drop-shadow-md",alt:(0,ae.__)("Web chart showing aspects of brand visibility in AI responses","wordpress-seo"),loading:"lazy",decoding:"async",...e}),(0,K.jsx)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium yst-flex yst-flex-col yst-items-center",children:(0,K.jsxs)("span",{className:"yst-introduction-modal-uppercase yst-flex yst-gap-2 yst-items-center",children:[(0,K.jsx)("span",{className:"yst-ai-insights-icon"}),a]})})]}),(0,K.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,K.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,K.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,ae.__)("How does your brand show up in AI responses?","wordpress-seo")}),(0,K.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:(0,K.jsx)("p",{children:r})})]}),(0,K.jsx)("div",{className:"yst-w-full yst-flex yst-mt-6",children:(0,K.jsxs)(l.Button,{as:"a",className:"yst-grow yst-border-slate-200 yst-ai-insights-waitlist-button",size:"extra-large",variant:"upsell",href:t,target:"_blank",ref:i,children:[(0,K.jsx)(ne,{className:"yst--ms-1 yst-me-2 yst-h-5 yst-w-5 yst-text-white"}),s,(0,K.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,ae.__)("(Opens in a new browser tab)","wordpress-seo")})]})}),(0,K.jsx)(l.Button,{className:"yst-mt-2",variant:"tertiary",onClick:n,children:(0,ae.__)("Close","wordpress-seo")})]})]})},oe=()=>{const e=(0,a.useSelect)((e=>e(D).selectImageLink("ai-brand-insights-pre-launch.png")),[]),t=(0,a.useSelect)((e=>e(D).selectLink("https://yoa.st/ai-brand-insights-introduction-pre-launch/")),[]),s=(0,o.useMemo)((()=>({src:e,width:"432",height:"243"})),[e]);return(0,K.jsx)(se,{children:(0,K.jsx)(ie,{buttonLink:t,thumbnail:s})})},le=re.forwardRef((function(e,t){return re.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),re.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"}))})),ce=({thumbnail:e,buttonLink:t,isWooEnabled:s})=>{const{onClose:a,initialFocus:r}=(0,l.useModalContext)(),n=(0,o.useMemo)((()=>s?"Yoast WooCommerce SEO":"Yoast SEO Premium"),[s]),i=(0,o.useMemo)((()=>{const e=s?"WooCommerce SEO":"Premium";return(0,ae.sprintf)(/* translators: %1$s expands to either Premium or WooCommerce SEO. */ (0,ae.__)("Get %1$s with 30%% off","wordpress-seo"),e)}),[s]),c=(0,o.useMemo)((()=>s?"yst-cart-icon":"yst-logo-icon"),[s]),d=(0,o.useMemo)((()=>s?"yst-woo-introduction-gradient":"yst-introduction-gradient"),[s]),m=(0,o.useMemo)((()=>s?"c7e7baa1-2020-420c-a427-89701700b607":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"),[s]),p=(0,o.useMemo)((()=>s?(0,ae.sprintf)(/* translators: %1$s expands to Premium, %2$s expands to Local, %3$s expands to News, %4$s expands to Video SEO, %5$s expands to Google. */ (0,ae.__)("We added even more value than ever this year: %1$s, %2$s, %3$s, %4$s, and seamless %5$s Docs add-on, all included. If you've been waiting to upgrade, now’s the time..","wordpress-seo"),"Premium","Local","News","Video SEO","Google"):(0,ae.sprintf)(/* translators: %1$s expands to Local, %2$s expands to News, %3$s expands to Video SEO, %4$s expands to Google. */ (0,ae.__)("We added even more value than ever this year: %1$s, %2$s, %3$s, and seamless %4$s Docs add-on, all included. If you've been waiting to upgrade, now’s the time.","wordpress-seo"),"Local","News","Video SEO","Google")),[s]);return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)("div",{className:`yst-px-10 yst-pt-10 yst-text-center ${d}`,children:[(0,K.jsx)("img",{className:"yst-w-full yst-h-auto yst-rounded-md yst-drop-shadow-md",alt:(0,ae.__)("Thumbnail for the Black Friday announcement","wordpress-seo"),loading:"lazy",decoding:"async",...e}),(0,K.jsx)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium yst-flex yst-flex-col yst-items-center",children:(0,K.jsxs)("span",{className:"yst-introduction-modal-uppercase yst-flex yst-gap-2 yst-items-center",children:[(0,K.jsx)("span",{className:c}),n]})})]}),(0,K.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,K.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,K.jsx)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium",children:(0,ae.__)("Black Friday: Our biggest sale just dropped!","wordpress-seo")}),(0,K.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:(0,K.jsx)("p",{children:p})})]}),(0,K.jsx)("div",{className:"yst-w-full yst-flex yst-mt-6",children:(0,K.jsxs)(l.Button,{as:"a",className:"yst-grow yst-border-slate-200",size:"extra-large",variant:"upsell",href:t,target:"_blank",ref:r,"data-action":"load-nfd-ctb","data-ctb-id":m,children:[(0,K.jsx)(le,{className:"yst--ms-1 yst-me-2 yst-h-5 yst-w-5"}),i,(0,K.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ (0,ae.__)("(Opens in a new browser tab)","wordpress-seo")})]})}),(0,K.jsx)(l.Button,{className:"yst-mt-2",variant:"tertiary",onClick:a,children:(0,ae.__)("Close","wordpress-seo")})]})]})},de=()=>{const e=(0,a.useSelect)((e=>e(D).selectImageLink("black-friday-2025.gif")),[]),t=(0,o.useMemo)((()=>Boolean((0,c.get)(window,"wpseoIntroductions.isWooEnabled",!1))),[]),s=(0,a.useSelect)((e=>e(D).selectLink("https://yoa.st/black-friday-modal-premium/")),[]),r=(0,a.useSelect)((e=>e(D).selectLink("https://yoa.st/black-friday-modal-ecommerce/")),[]),n=(0,o.useMemo)((()=>({src:e,width:"432",height:"243"})),[e]);return(0,K.jsx)(se,{children:(0,K.jsx)(ce,{buttonLink:t?r:s,thumbnail:n,isWooEnabled:t})})},me=({icon:e,title:t,description:s})=>{const a=e;return(0,K.jsxs)("div",{className:"yst-flex yst-gap-6",children:[(0,K.jsx)(a,{className:"yst-mt-1 yst-shrink-0"}),(0,K.jsxs)("div",{className:"yst-flex yst-flex-col",children:[(0,K.jsx)("span",{className:"yst-text-base yst-text-slate-900 yst-leading-6 yst-font-medium",children:t}),(0,K.jsxs)("span",{className:"yst-text-sm yst-text-slate-600",children:[" ",s," "]})]})]})};var pe,ue;function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},ye.apply(this,arguments)}const he=e=>re.createElement("svg",ye({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none"},e),pe||(pe=re.createElement("g",{clipPath:"url(#icon-sparkles_svg__a)"},re.createElement("path",{fill:"url(#icon-sparkles_svg__b)",d:"M42.42-.42H-.42v42.84h42.84V-.42Z"}),re.createElement("path",{fill:"#fff",d:"M22.058 31.5a.96.96 0 0 1-.907-.651l-2.28-6.842-5.633-2.112a.956.956 0 0 1 0-1.79l5.633-2.112 2.28-6.842a.96.96 0 0 1 1.814 0l2.281 6.842 5.637 2.112a.956.956 0 0 1 0 1.79l-5.637 2.112-2.28 6.842a.954.954 0 0 1-.908.651ZM16.296 21l3.68 1.378c.268.1.478.319.57.592l1.52 4.557 1.521-4.557a.962.962 0 0 1 .571-.592L27.838 21l-3.68-1.378a.962.962 0 0 1-.57-.592l-1.521-4.557-1.52 4.557a.962.962 0 0 1-.572.592L16.296 21Zm-1.659 10.5a.953.953 0 0 1-.953-.953v-1.168h-1.168a.953.953 0 1 1 0-1.907h1.168v-1.167a.953.953 0 1 1 1.906 0v1.167h1.168a.953.953 0 1 1 0 1.907H15.59v1.168c0 .529-.428.953-.953.953Zm-1.063-14.847a.953.953 0 0 1-.953-.953v-1.168h-1.168a.953.953 0 1 1 0-1.907h1.168v-1.167a.953.953 0 1 1 1.907 0v1.167h1.167a.953.953 0 1 1 0 1.907h-1.167V15.7c0 .529-.429.953-.954.953Z"}))),ue||(ue=re.createElement("defs",null,re.createElement("linearGradient",{id:"icon-sparkles_svg__b",x1:-3.436,x2:45.436,y1:16.691,y2:25.309,gradientUnits:"userSpaceOnUse"},re.createElement("stop",{stopColor:"#A61E69"}),re.createElement("stop",{offset:1,stopColor:"#6366F1"})),re.createElement("clipPath",{id:"icon-sparkles_svg__a"},re.createElement("rect",{width:42,height:42,fill:"#fff",rx:6})))));var ge,fe,we,xe,ve,be,_e,je;function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},Ee.apply(this,arguments)}function ke(){return ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},ke.apply(this,arguments)}function Se(){return Se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},Se.apply(this,arguments)}function Oe(){return Oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e},Oe.apply(this,arguments)}const Ne=[{icon:he,title:(0,ae.__)("Generate titles & meta descriptions","wordpress-seo"),description:(0,ae.__)("Take the hassle out of publishing content with ready-made, optimized titles and meta descriptions","wordpress-seo")},{icon:he,title:(0,ae.__)("Improve content with AI suggestions","wordpress-seo"),description:(0,ae.__)("Remove the frustration out of manual SEO tweaks with AI-suggested improvements","wordpress-seo")},{icon:e=>re.createElement("svg",Ee({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none"},e),ge||(ge=re.createElement("g",{clipPath:"url(#icon-redirect-manager_svg__a)"},re.createElement("path",{fill:"#015B5B",d:"M42.42-.42H-.42v42.84h42.84V-.42Z"}),re.createElement("path",{fill:"#fff",d:"M29.346 22.121a.607.607 0 0 0-1.004.37l-.185 1.373a7.029 7.029 0 0 1-1.873-.29c-3.684-1.108-5.695-2.868-7.64-4.573-2.062-1.806-4.196-3.68-8.064-4.566a1.178 1.178 0 0 0-1.415.89 1.186 1.186 0 0 0 .89 1.42c3.284.756 5.107 2.352 7.035 4.04 2.033 1.782 4.339 3.806 8.518 5.058.726.218 1.474.34 2.234.382l-.172 1.272a.598.598 0 0 0 .247.572.599.599 0 0 0 .353.113.633.633 0 0 0 .273-.063l3.995-2.008a.601.601 0 0 0 .134-.987l-3.318-2.994-.008-.009ZM10.084 25.402c-.558.13-.907.688-.78 1.243.108.474.524.806 1.011.806.08 0 .156-.008.236-.025 3.8-.874 5.917-2.71 7.95-4.49-.571-.453-1.1-.907-1.609-1.352-1.84 1.604-3.65 3.09-6.803 3.817h-.005Z"}),re.createElement("path",{fill:"#fff",d:"M26.246 18.291a7.192 7.192 0 0 1 1.894-.298l.206 1.516a.608.608 0 0 0 .6.525c.147 0 .29-.055.404-.155l3.318-2.995a.6.6 0 0 0 .193-.53.611.611 0 0 0-.328-.457l-3.994-2.008a.602.602 0 0 0-.87.618l.194 1.415a9.39 9.39 0 0 0-2.214.374 18.875 18.875 0 0 0-5.745 2.818c.542.466 1.096.92 1.692 1.348a16.883 16.883 0 0 1 4.654-2.175l-.004.004Z"}))),fe||(fe=re.createElement("defs",null,re.createElement("clipPath",{id:"icon-redirect-manager_svg__a"},re.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,ae.__)("Manage redirects without hassle","wordpress-seo"),description:(0,ae.__)("Keep your website running properly and prevent losing visitors to broken links","wordpress-seo")},{icon:e=>re.createElement("svg",ke({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none"},e),we||(we=re.createElement("g",{clipPath:"url(#icon-seo-analysis_svg__a)"},re.createElement("path",{fill:"#0E1E65",d:"M42.42-.42H-.42v42.84h42.84V-.42Z"}),re.createElement("path",{fill:"#fff",d:"M24.39 10.5H17.5a3.678 3.678 0 0 0-3.507 3.57v13.818a3.58 3.58 0 0 0 3.55 3.612h6.845a3.58 3.58 0 0 0 3.612-3.549V14.07a3.688 3.688 0 0 0-3.612-3.57Zm1.994 16.884c0 1.365-1.1 2.478-2.465 2.486h-5.867a2.484 2.484 0 0 1-2.466-2.486V14.553c0-1.365 1.1-2.478 2.466-2.486h5.867a2.484 2.484 0 0 1 2.465 2.486v12.831Z"}),re.createElement("path",{fill:"#fff",d:"M20.979 23.234a2.255 2.255 0 1 0 0-4.51 2.255 2.255 0 0 0 0 4.51ZM20.979 17.678a2.255 2.255 0 1 0 0-4.51 2.255 2.255 0 0 0 0 4.51ZM20.979 28.829a2.255 2.255 0 1 0 0-4.51 2.255 2.255 0 0 0 0 4.51Z"}))),xe||(xe=re.createElement("defs",null,re.createElement("clipPath",{id:"icon-seo-analysis_svg__a"},re.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,ae.__)("Get the SEO Premium Analysis","wordpress-seo"),description:(0,ae.__)("Optimize content to reach more people, improve search visibility across more queries","wordpress-seo")},{icon:e=>re.createElement("svg",Se({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none"},e),ve||(ve=re.createElement("g",{clipPath:"url(#icon-duplicate_svg__a)"},re.createElement("path",{fill:"#2F4A54",d:"M42.42-.42H-.42v42.84h42.84V-.42Z"}),re.createElement("path",{fill:"#fff",d:"m29.61 13.205-2.13-2.13c-.37-.37-.869-.575-1.39-.575h-7.06a1.97 1.97 0 0 0-1.97 1.97v1.97h-3.28a1.97 1.97 0 0 0-1.97 1.97v13.124a1.97 1.97 0 0 0 1.97 1.97h9.186a1.97 1.97 0 0 0 1.97-1.97v-1.97h3.28a1.97 1.97 0 0 0 1.97-1.97V14.6c0-.52-.206-1.025-.576-1.39M22.722 29.53h-8.694a.248.248 0 0 1-.248-.248V16.65c0-.135.11-.248.248-.248h3.036v9.19a1.97 1.97 0 0 0 1.97 1.97h3.936v1.721c0 .135-.11.248-.248.248Zm5.25-3.935h-8.694a.248.248 0 0 1-.248-.248V12.713c0-.134.11-.247.248-.247h4.347v3.607c0 .542.44.983.983.983h3.607v8.287c0 .134-.109.248-.247.248m.252-10.496h-2.625V12.47h.395c.067 0 .126.025.172.071l1.982 1.983c.046.046.072.109.072.172v.395l.004.004Z"}))),be||(be=re.createElement("defs",null,re.createElement("clipPath",{id:"icon-duplicate_svg__a"},re.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,ae.__)("Easily add internal links","wordpress-seo"),description:(0,ae.__)("Build relevant internal links faster while strengthening your site’s structure","wordpress-seo")},{icon:e=>re.createElement("svg",Oe({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none"},e),_e||(_e=re.createElement("g",{clipPath:"url(#icon-open-graph_svg__a)"},re.createElement("path",{fill:"#760B65",d:"M42.42-.42H-.42v42.84h42.84V-.42Z"}),re.createElement("path",{fill:"#fff",d:"M27.56 18.375a3.939 3.939 0 0 0 3.94-3.935 3.942 3.942 0 0 0-3.936-3.94 3.939 3.939 0 0 0-3.91 4.423l-6.485 3.242a3.94 3.94 0 0 0-5.569.1 3.94 3.94 0 0 0 5.57 5.57l6.484 3.242a3.937 3.937 0 0 0 7.812.975 3.937 3.937 0 0 0-6.64-3.322l-6.485-3.243a4.164 4.164 0 0 0 0-.97l6.485-3.242a3.93 3.93 0 0 0 2.734 1.1Z"}))),je||(je=re.createElement("defs",null,re.createElement("clipPath",{id:"icon-open-graph_svg__a"},re.createElement("rect",{width:42,height:42,fill:"#fff",rx:6}))))),title:(0,ae.__)("Ensure content looks good on social","wordpress-seo"),description:(0,ae.__)("Make every post share-ready as you publish, boosting visibility and clicks from Facebook & X","wordpress-seo")}],Ce=[(0,ae.__)("24/7 Premium support via chat & email","wordpress-seo"),(0,ae.__)("Access to all courses in Yoast SEO Academy","wordpress-seo"),(0,ae.__)("Free seat for the Google Docs add‑on","wordpress-seo"),(0,ae.__)("Access to all Yoast plugins","wordpress-seo")],Pe=(e,t)=>{try{return(0,o.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},Ie=re.forwardRef((function(e,t){return re.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),re.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"}))})),Le=re.forwardRef((function(e,t){return re.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),re.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"}))})),$e=({buttonUpgradeLink:e,exploreFeaturesLink:t})=>{const{onClose:s}=(0,l.useModalContext)();return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)("div",{className:"yst-px-10 yst-pt-10 yst-mb-8 yst-delayed-introduction-gradient",children:[(0,K.jsx)("h1",{className:"yst-text-black yst-font yst-font-medium yst-text-2xl yst-leading-7",children:(0,ae.sprintf)(/* translators: %1$s expands to Yoast SEO. */ (0,ae.__)("You've been optimizing with %1$s for a while!","wordpress-seo"),"Yoast SEO")}),(0,K.jsx)("div",{className:"yst-text-slate-600 yst-mt-4 yst-mb-8",children:Pe((0,ae.sprintf)(/* translators: %1$s and %3$s expand to <strong> and </strong> respectively. %2$s expands to Yoast SEO Premium. */ (0,ae.__)("Upgrade to %1$s%2$s%3$s and unlock more features to grow your traffic while making SEO easier, faster and more effective!","wordpress-seo"),"<strong>","Yoast SEO Premium","</strong>"),{strong:(0,K.jsx)("strong",{className:"yst-font-semibold yst-text-primary-500"})})})]}),(0,K.jsx)("div",{className:"yst-@container yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 yst-gap-4 yst-px-10",children:Ne.map(((e,t)=>(0,K.jsx)(me,{icon:e.icon,title:e.title,description:e.description},t)))}),(0,K.jsxs)("div",{className:"yst-text-slate-600 yst-mt-4 yst-mb-8 yst-text-center",children:[Pe((0,ae.sprintf)(/* translators: %1$s and %3$s expand to <a> and </a> respectively. %2$s expands to Yoast SEO Premium. */ (0,ae.__)("%1$sExplore all %2$s features%3$s","wordpress-seo"),"<a>","Yoast SEO Premium","</a>"),{a:(0,K.jsx)("a",{id:"delayed-upsell",href:t,className:"yst-mt-6 yst-mb-8 yst-underline yst-text-indigo-600 yst-text-sm"})}),(0,K.jsx)(Ie,{className:" yst-inline yst--me-2 yst-ms-2 yst-h-3 yst-w-3 yst-text-indigo-600 rtl:yst-rotate-[270deg]"})]}),(0,K.jsx)("div",{className:"yst-mt-8 yst-mx-10 yst-text-slate-900 yst-text-[16px] yst-border-b yst-border-black yst-pb-2 yst-font-medium",children:(0,ae.__)("Extra perks & help to make SEO even easier","wordpress-seo")}),(0,K.jsx)("div",{className:"yst-grid yst-grid-cols-2 yst-gap-4 yst-px-10 yst-my-4",children:Ce.map(((e,t)=>(0,K.jsxs)("div",{children:[(0,K.jsx)(Le,{className:"yst-inline yst-text-green-600 yst-w-6 yst-h-6"}),(0,K.jsx)("span",{className:"yst-text-slate-800 yst-font-medium",children:e})]},t)))}),(0,K.jsxs)("div",{className:"yst-px-10 yst-mt-8 yst-mb-4 yst-text-center",children:[(0,K.jsx)(l.Button,{as:"a",className:"yst-w-full yst-h-11 yst-font-medium yst-text-base yst-text-amber-900",variant:"upsell",href:e,target:"_blank",rel:"noreferrer",children:(0,ae.sprintf)(/* translators: %1$s expands to Yoast SEO Premium. */ (0,ae.__)("Upgrade to %1$s","wordpress-seo"),"Yoast SEO Premium")}),(0,K.jsx)(l.Button,{className:"yst-text-center yst-mt-4 yst-font-medium yst-text-base yst-text-primary-500",onClick:s,variant:"tertiary",children:(0,ae.__)("Close","wordpress-seo")})]})]})},Me=()=>{const e=(0,a.useSelect)((e=>e(D).selectLink("https://yoa.st/delayed-upsell-premium-upgrade")),[]),t=(0,a.useSelect)((e=>e(D).selectLink("https://yoa.st/delayed-upsell-explore-premium-features")),[]);return(0,K.jsx)(se,{maxWidth:"yst-max-w-3xl",children:(0,K.jsx)($e,{buttonUpgradeLink:e,exploreFeaturesLink:t})})},Ae="introductions",Be=(0,d.createEntityAdapter)({selectId:e=>e.id,sortComparer:(e,t)=>e.priority===t.priority?0:e.priority<t.priority?-1:1}),Re=e=>({id:e.id||(0,d.nanoid)(),priority:e.priority||0}),We=(0,d.createSlice)({name:Ae,initialState:Be.getInitialState({current:0}),reducers:{addIntroduction:{reducer:Be.addOne,prepare:e=>({payload:Re(e)})},addIntroductions:{reducer:Be.addMany,prepare:e=>({payload:(0,c.map)(e,Re)})},setIntroductions:{reducer:Be.setAll,prepare:e=>({payload:(0,c.map)(e,Re)})}}}),Ze=We.getInitialState,Ue=Be.getSelectors((e=>(0,c.get)(e,Ae,{}))),Ve={selectCurrentIntroductionIndex:e=>(0,c.get)(e,[Ae,"current"],0),selectIntroduction:Ue.selectById,selectIntroductions:Ue.selectAll};Ve.selectCurrentIntroduction=(0,d.createSelector)([Ve.selectCurrentIntroductionIndex,Ve.selectIntroductions],((e,t)=>t[e]));const Fe=We.actions,Ye=We.reducer,ze="wpseoIntroductions";n()((()=>{const e=(0,c.get)(window,`${ze}.introductions`,[]);if((0,c.isEmpty)(e))return;const t={"ai-brand-insights-pre-launch":oe,"black-friday-announcement":de,"delayed-premium-upsell":Me};if(-1!==location.href.indexOf("page=wpseo_dashboard#/first-time-configuration"))return window.YoastSEO._registerIntroductionComponent=t=>{(0,c.find)(e,{id:t})&&s()({path:`/yoast/v1/introductions/${t}/seen`,method:"POST",data:{is_seen:!1}})},Object.keys(t).forEach((e=>{window.YoastSEO._registerIntroductionComponent(e)})),void(0,i.doAction)("yoast.introductions.ready");((e={})=>{(0,a.register)((e=>(0,a.createReduxStore)(D,{actions:{...Fe,...O,...M,...z,...x},selectors:{...Ve,...S,...$,...Y,...w},initialState:(0,c.merge)({},{[Ae]:Ze(),[j]:k(),[P]:L(),[U]:F(),[y]:f()},e),reducer:(0,a.combineReducers)({[Ae]:Ye,[j]:N,[P]:A,[U]:T,[y]:b}),controls:{...G,...v}}))(e))})({[j]:(0,c.get)(window,`${ze}.linkParams`,{}),[P]:(0,c.get)(window,`${ze}.pluginUrl`,""),[U]:{value:"1"===(0,c.get)(window,`${ze}.wistiaEmbedPermission`,!1)}}),(0,a.dispatch)(D).setIntroductions(e);const r={isRtl:Boolean((0,c.get)(window,`${ze}.isRtl`,!1))},n=document.createElement("div");n.id="wpseo-introductions",document.body.appendChild(n),(0,o.createRoot)(n).render((0,K.jsx)(l.Root,{context:r,children:(0,K.jsx)(ee,{initialComponents:t,children:(0,K.jsx)(te,{})})}))}))})();