File: /home/predezso/elegantprints.it.com/wp-content/plugins/wordpress-seo/js/dist/introductions.js
(()=>{"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,n=window.wp.domReady;var i=e.n(n);const r=window.wp.hooks,o=window.wp.element,l=window.yoast.uiLibrary,c=window.lodash,d=window.yoast.reduxJsToolkit,m="adminUrl",u=(0,d.createSlice)({name:m,initialState:"",reducers:{setAdminUrl:(e,{payload:t})=>t}}),p=(u.getInitialState,{selectAdminUrl:e=>(0,c.get)(e,m,"")});p.selectAdminLink=(0,d.createSelector)([p.selectAdminUrl,(e,t)=>t],((e,t="")=>{try{return new URL(t,e).href}catch(t){return e}})),u.actions,u.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)},v={...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}},x={[h]:async({payload:e})=>await s()({path:e.endpoint,method:"POST",data:{consent:e.consent},parse:!1})},_=g.reducer,b=window.wp.url,k="linkParams",E=(0,d.createSlice)({name:k,initialState:{},reducers:{setLinkParams:(e,{payload:t})=>t}}),j=E.getInitialState,S={selectLinkParam:(e,t,s={})=>(0,c.get)(e,`${k}.${t}`,s),selectLinkParams:e=>(0,c.get)(e,k,{})};S.selectLink=(0,d.createSelector)([S.selectLinkParams,(e,t)=>t,(e,t,s={})=>s],((e,t,s)=>(0,b.addQueryArgs)(t,{...e,...s})));const N=E.actions,O=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:n})=>({payload:{id:e||(0,d.nanoid)(),variant:t,size:s,title:a||"",description:n}})},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}}),$=I.getInitialState,z={selectPluginUrl:e=>(0,c.get)(e,P,"")};z.selectImageLink=(0,d.createSelector)([z.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,L=I.reducer,U="request",A="success",V="error",H="idle",B="wistiaEmbedPermission",R=(0,d.createSlice)({name:B,initialState:{value:!1,status:H,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,{payload:t})=>{e.value=Boolean(t)}},extraReducers:e=>{e.addCase(`${B}/${U}`,(e=>{e.status="loading"})),e.addCase(`${B}/${A}`,((e,{payload:t})=>{e.status="success",e.value=Boolean(t&&t.value)})),e.addCase(`${B}/${V}`,((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")}}))}}),W=R.getInitialState,T={selectWistiaEmbedPermission:e=>(0,c.get)(e,B,{value:!1,status:H}),selectWistiaEmbedPermissionValue:e=>(0,c.get)(e,[B,"value"],!1),selectWistiaEmbedPermissionStatus:e=>(0,c.get)(e,[B,"status"],H),selectWistiaEmbedPermissionError:e=>(0,c.get)(e,[B,"error"],{})},Y={...R.actions,setWistiaEmbedPermission:function*(e){yield{type:`${B}/${U}`};try{return yield{type:B,payload:e},{type:`${B}/${A}`,payload:{value:e}}}catch(t){return{type:`${B}/${V}`,payload:{error:t,value:e}}}}},F={[B]:async({payload:e})=>s()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(e)}})},G=R.reducer;var q;const D=(0,d.createSlice)({name:"documentTitle",initialState:(0,c.defaultTo)(null===(q=document)||void 0===q?void 0:q.title,""),reducers:{setDocumentTitle:(e,{payload:t})=>t}}),J=(D.getInitialState,D.actions,D.reducer,"yoast-seo/introductions"),X=window.yoast.propTypes;var K=e.n(X);const Q=window.ReactJSXRuntime;window.YoastSEO=window.YoastSEO||{};const Z=(0,o.createContext)({}),ee=({children:e,initialComponents:t})=>{const[s,n]=(0,o.useState)(t),i=(0,a.useSelect)((e=>e(J).selectIntroductions()),[]),l=(0,o.useCallback)(((e,t)=>{(0,c.find)(i,{id:e})&&n((s=>({...s,[e]:t})))}),[i,n]);return(0,o.useEffect)((()=>{window.YoastSEO._registerIntroductionComponent=l,(0,r.doAction)("yoast.introductions.ready")}),[l]),(0,Q.jsx)(Z.Provider,{value:s,children:e})};ee.propTypes={children:K().node.isRequired,initialComponents:K().object.isRequired};const te=()=>{const e=(0,a.useSelect)((e=>e(J).selectCurrentIntroduction()),[]),t=(0,o.useContext)(Z),s=(0,o.useMemo)((()=>null==t?void 0:t[null==e?void 0:e.id]),[e,t]);return s?(0,Q.jsx)(s,{}):null},se=({children:e,maxWidth:t="yst-max-w-lg"})=>{const[s,a]=(0,o.useState)(!0),n=(0,o.useRef)(null),i=(0,o.useCallback)((()=>a(!1)),[]);return(0,Q.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:i,initialFocus:n,children:(0,Q.jsx)(l.Modal.Panel,{className:`${t} yst-p-0 yst-rounded-3xl`,children:e})})};se.propTypes={children:K().node.isRequired,maxWidth:K().string};const ae=window.wp.i18n,ne=({thumbnail:e,buttonLink:t,buttonLabel:s=(0,ae.__)("Discover Brand Insights now","wordpress-seo"),productName:a=(0,ae.sprintf)(/* translators: %1$s expands to Yoast SEO AI+. */
(0,ae.__)("New - Upgrade to %1$s","wordpress-seo"),"Yoast SEO AI+")})=>{const{onClose:n,initialFocus:i}=(0,l.useModalContext)(),r=(0,ae.__)("Track visibility, control perception, and stay ahead - tools to manage your AI presence are now live!","wordpress-seo");return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)("div",{className:"yst-px-10 yst-pt-10 yst-introduction-gradient yst-text-center",children:[(0,Q.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,Q.jsx)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium yst-flex yst-flex-col yst-items-center",children:(0,Q.jsxs)("span",{className:"yst-introduction-modal-uppercase yst-flex yst-gap-2 yst-items-center",children:[(0,Q.jsx)("span",{className:"yst-ai-insights-icon"}),a]})})]}),(0,Q.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,Q.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,Q.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,Q.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:(0,Q.jsx)("p",{children:r})})]}),(0,Q.jsx)("div",{className:"yst-w-full yst-flex yst-mt-6",children:(0,Q.jsxs)(l.Button,{as:"a",className:"yst-grow",size:"extra-large",variant:"ai-primary",href:t,target:"_blank",ref:i,children:[s,(0,Q.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */
(0,ae.__)("(Opens in a new browser tab)","wordpress-seo")})]})}),(0,Q.jsx)(l.Button,{className:"yst-mt-2",variant:"tertiary",onClick:n,children:(0,ae.__)("Close","wordpress-seo")})]})]})},ie=()=>{const e=(0,a.useSelect)((e=>e(J).selectImageLink("ai-brand-insights-pre-launch.png")),[]),t=(0,a.useSelect)((e=>e(J).selectLink("https://yoa.st/ai-brand-insights-introduction-post-launch/")),[]),s=(0,o.useMemo)((()=>({src:e,width:"432",height:"243"})),[e]);return(0,Q.jsx)(se,{children:(0,Q.jsx)(ne,{buttonLink:t,thumbnail:s})})},re=window.React,oe=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"}))})),le=({thumbnail:e,buttonLink:t,isWooEnabled:s})=>{const{onClose:a,initialFocus:n}=(0,l.useModalContext)(),i=(0,o.useMemo)((()=>s?"Yoast WooCommerce SEO":"Yoast SEO Premium"),[s]),r=(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]),u=(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,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)("div",{className:`yst-px-10 yst-pt-10 yst-text-center ${d}`,children:[(0,Q.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,Q.jsx)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium yst-flex yst-flex-col yst-items-center",children:(0,Q.jsxs)("span",{className:"yst-introduction-modal-uppercase yst-flex yst-gap-2 yst-items-center",children:[(0,Q.jsx)("span",{className:c}),i]})})]}),(0,Q.jsxs)("div",{className:"yst-px-10 yst-pb-4 yst-flex yst-flex-col yst-items-center",children:[(0,Q.jsxs)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center",children:[(0,Q.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,Q.jsx)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm",children:(0,Q.jsx)("p",{children:u})})]}),(0,Q.jsx)("div",{className:"yst-w-full yst-flex yst-mt-6",children:(0,Q.jsxs)(l.Button,{as:"a",className:"yst-grow yst-border-slate-200",size:"extra-large",variant:"upsell",href:t,target:"_blank",ref:n,"data-action":"load-nfd-ctb","data-ctb-id":m,children:[(0,Q.jsx)(oe,{className:"yst--ms-1 yst-me-2 yst-h-5 yst-w-5"}),r,(0,Q.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */
(0,ae.__)("(Opens in a new browser tab)","wordpress-seo")})]})}),(0,Q.jsx)(l.Button,{className:"yst-mt-2",variant:"tertiary",onClick:a,children:(0,ae.__)("Close","wordpress-seo")})]})]})},ce=()=>{const e=(0,a.useSelect)((e=>e(J).selectImageLink("black-friday-2025.gif")),[]),t=(0,o.useMemo)((()=>Boolean((0,c.get)(window,"wpseoIntroductions.isWooEnabled",!1))),[]),s=(0,a.useSelect)((e=>e(J).selectLink("https://yoa.st/black-friday-modal-premium/")),[]),n=(0,a.useSelect)((e=>e(J).selectLink("https://yoa.st/black-friday-modal-ecommerce/")),[]),i=(0,o.useMemo)((()=>({src:e,width:"432",height:"243"})),[e]);return(0,Q.jsx)(se,{children:(0,Q.jsx)(le,{buttonLink:t?n:s,thumbnail:i,isWooEnabled:t})})},de=({icon:e,title:t,description:s,iconClassName:a})=>{const n=e;return(0,Q.jsxs)("div",{className:"yst-flex yst-gap-6",children:[(0,Q.jsx)(n,{className:`yst-mt-1 yst-shrink-0 ${a} yst-rounded-md`}),(0,Q.jsxs)("div",{className:"yst-flex yst-flex-col",children:[(0,Q.jsx)("span",{className:"yst-text-base yst-text-slate-900 yst-leading-6 yst-font-medium",children:t}),(0,Q.jsxs)("span",{className:"yst-text-sm yst-text-slate-600",children:[" ",s," "]})]})]})};var me,ue;function pe(){return pe=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},pe.apply(this,arguments)}const ye=e=>re.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),me||(me=re.createElement("g",{fill:"#fff",clipPath:"url(#icon-sparkles_svg__a)"},re.createElement("path",{d:"M13.76 31.68h1.725a1.03 1.03 0 0 0 1.03-1.028 1.03 1.03 0 0 0-1.03-1.03H13.76v-1.725a1.03 1.03 0 0 0-1.029-1.03 1.03 1.03 0 0 0-1.029 1.03v1.726H9.975a1.03 1.03 0 0 0-1.029 1.029 1.03 1.03 0 0 0 1.029 1.029h1.726v1.726a1.03 1.03 0 0 0 1.03 1.03 1.03 1.03 0 0 0 1.028-1.03v-1.726zM11.348 7.56a1.03 1.03 0 0 0-1.029 1.03v1.725H8.593a1.03 1.03 0 0 0-1.029 1.03 1.03 1.03 0 0 0 1.03 1.028h1.725V14.1a1.03 1.03 0 0 0 1.03 1.029 1.03 1.03 0 0 0 1.028-1.03v-1.726h1.726a1.03 1.03 0 0 0 1.03-1.029 1.03 1.03 0 0 0-1.03-1.029h-1.726V8.59a1.03 1.03 0 0 0-1.029-1.029zm7.056 17.187 2.995 8.987a1.03 1.03 0 0 0 1.957 0l2.995-8.988 7.417-2.78c.399-.151.668-.538.668-.966 0-.428-.269-.815-.668-.966l-7.417-2.78-.034-.097-2.965-8.891a1.03 1.03 0 0 0-1.957 0L18.4 17.254l-7.417 2.78a1.037 1.037 0 0 0-.668.966c0 .428.269.815.668.966l7.417 2.78h.004zm1.185-5.738c.294-.109.516-.344.617-.638l2.172-6.523 2.175 6.519c.101.298.324.529.618.638l5.304 1.99-5.304 1.992a1.034 1.034 0 0 0-.618.638l-2.175 6.518-2.172-6.518a1.013 1.013 0 0 0-.617-.638l-5.305-1.991 5.305-1.99v.003z"}))),ue||(ue=re.createElement("defs",null,re.createElement("clipPath",{id:"icon-sparkles_svg__a"},re.createElement("rect",{width:42,height:42,fill:"#fff",rx:6})))));var he,ge,fe,we,ve,xe,_e,be,ke,Ee,je,Se,Ne,Oe,Ce,Pe,Ie,$e;function ze(){return ze=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},ze.apply(this,arguments)}function Me(){return Me=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},Me.apply(this,arguments)}function Le(){return Le=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},Le.apply(this,arguments)}function Ue(){return Ue=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},Ue.apply(this,arguments)}const Ae=[{iconClassName:"yst-bg-ai-500",icon:ye,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")},{iconClassName:"yst-bg-ai-500",icon:ye,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")},{iconClassName:"yst-bg-gradient-technical-seo",icon:e=>re.createElement("svg",ze({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),he||(he=re.createElement("g",{clipPath:"url(#icon-redirect-manager_svg__a)"},re.createElement("path",{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.338 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-.009zm-19.262 3.28c-.558.13-.907.69-.78 1.244.108.474.524.806 1.011.806.08 0 .156-.008.236-.025 3.8-.874 5.917-2.71 7.95-4.49a43.6 43.6 0 0 1-1.609-1.352c-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"}))),ge||(ge=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")},{iconClassName:"yst-bg-gradient-content-optimization",icon:e=>re.createElement("svg",Me({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),re.createElement("g",{clipPath:"url(#icon-seo-analysis_svg__a)"},re.createElement("mask",{id:"icon-seo-analysis_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},fe||(fe=re.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),re.createElement("g",{mask:"url(#icon-seo-analysis_svg__b)"},re.createElement("mask",{id:"icon-seo-analysis_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},we||(we=re.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),ve||(ve=re.createElement("g",{mask:"url(#icon-seo-analysis_svg__c)"},re.createElement("path",{fill:"url(#icon-seo-analysis_svg__pattern0_657_2290)",d:"M-2.234-2.217h46.368v46.368H-2.234z"})))),xe||(xe=re.createElement("path",{fill:"#fff",d:"M25.41 7.35h-8.954a4.775 4.775 0 0 0-4.557 4.641v17.963a4.653 4.653 0 0 0 4.611 4.696h8.9a4.653 4.653 0 0 0 4.696-4.611V11.99a4.794 4.794 0 0 0-4.696-4.64zm2.591 21.95a3.233 3.233 0 0 1-3.208 3.233H17.16a3.236 3.236 0 0 1-3.209-3.234V12.617a3.233 3.233 0 0 1 3.21-3.234h7.63a3.236 3.236 0 0 1 3.21 3.234v16.682z"})),_e||(_e=re.createElement("path",{fill:"#fff",d:"M20.975 23.906a2.936 2.936 0 1 0 0-5.871 2.936 2.936 0 0 0 0 5.871zm0-7.22a2.936 2.936 0 1 0 0-5.871 2.936 2.936 0 0 0 0 5.871zm0 14.499a2.936 2.936 0 1 0 0-5.871 2.936 2.936 0 0 0 0 5.871z"}))),be||(be=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")},{iconClassName:"yst-bg-gradient-site-structure",icon:e=>re.createElement("svg",Le({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),re.createElement("g",{clipPath:"url(#icon-internal-linking-suggestions_svg__a)"},re.createElement("mask",{id:"icon-internal-linking-suggestions_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},ke||(ke=re.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),re.createElement("g",{mask:"url(#icon-internal-linking-suggestions_svg__b)"},re.createElement("mask",{id:"icon-internal-linking-suggestions_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Ee||(Ee=re.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),je||(je=re.createElement("g",{mask:"url(#icon-internal-linking-suggestions_svg__c)"},re.createElement("path",{fill:"url(#icon-internal-linking-suggestions_svg__pattern0_686_278)",d:"M-2.1-2.15h46.368v46.368H-2.1z"})))),Se||(Se=re.createElement("path",{fill:"#fff",d:"m31.416 12.092-4.208-4.217a1.766 1.766 0 0 0-1.26-.521h-9.341c-1.185 0-2.15.966-2.15 2.15v2.554h-2.243c-1.185 0-2.15.966-2.15 2.15V32.5c0 1.185.965 2.15 2.15 2.15h13.175c1.184 0 2.15-.965 2.15-2.15v-2.553h2.243c1.185 0 2.15-.966 2.15-2.15V13.346c0-.474-.184-.92-.52-1.255h.004zm-1.588 1.39v.143H25.81a.206.206 0 0 1-.206-.206V9.454h.21l4.015 4.028zm-4.393 19.017a.047.047 0 0 1-.046.047H12.214a.047.047 0 0 1-.047-.047V14.21c0-.026.021-.047.047-.047h2.242v13.633c0 1.185.966 2.15 2.15 2.15h8.825V32.5h.004zm4.347-4.662H16.607a.047.047 0 0 1-.046-.046V9.501c0-.026.02-.047.046-.047h6.888v3.965a2.314 2.314 0 0 0 2.31 2.31h4.02V27.79a.047.047 0 0 1-.047.046h.004z"}))),Ne||(Ne=re.createElement("defs",null,re.createElement("clipPath",{id:"icon-internal-linking-suggestions_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")},{iconClassName:"yst-bg-gradient-social-sharing",icon:e=>re.createElement("svg",Ue({xmlns:"http://www.w3.org/2000/svg",width:42,height:42,fill:"none","aria-hidden":"true"},e),re.createElement("g",{clipPath:"url(#icon-open-graph_svg__a)"},re.createElement("mask",{id:"icon-open-graph_svg__b",width:42,height:42,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Oe||(Oe=re.createElement("path",{fill:"#fff",d:"M42 0H0v42h42V0z"}))),re.createElement("g",{mask:"url(#icon-open-graph_svg__b)"},re.createElement("mask",{id:"icon-open-graph_svg__c",width:48,height:48,x:-3,y:-3,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},Ce||(Ce=re.createElement("path",{fill:"#fff",d:"M44.1-2.1H-2.1v46.2h46.2V-2.1z"}))),Pe||(Pe=re.createElement("g",{mask:"url(#icon-open-graph_svg__c)"},re.createElement("path",{fill:"url(#icon-open-graph_svg__pattern0_686_1455)",d:"M-2.167-2.217h46.368v46.368H-2.167z"})))),Ie||(Ie=re.createElement("path",{fill:"#fff",d:"M29.53 17.585a5.121 5.121 0 0 0 5.12-5.12 5.121 5.121 0 0 0-5.12-5.12 5.121 5.121 0 0 0-5.082 5.75l-8.43 4.213a5.12 5.12 0 0 0-7.236.13 5.12 5.12 0 0 0 .13 7.237 5.121 5.121 0 0 0 7.107 0l8.43 4.212a5.12 5.12 0 1 0 1.524-3.053l-8.43-4.212c.05-.42.05-.845 0-1.265l8.43-4.212a5.103 5.103 0 0 0 3.553 1.432l.004.008z"}))),$e||($e=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")}],Ve=[(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")],He=(e,t)=>{try{return(0,o.createInterpolateElement)(e,t)}catch(t){return console.error("Error in translation for:",e,t),e}},Be=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"}))})),Re=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"}))})),We=({buttonUpgradeLink:e,exploreFeaturesLink:t})=>{const{onClose:s}=(0,l.useModalContext)();return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)("div",{className:"yst-px-10 yst-pt-10 yst-mb-8 yst-delayed-introduction-gradient",children:[(0,Q.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,Q.jsx)("div",{className:"yst-text-slate-600 yst-mt-4 yst-mb-8",children:He((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,Q.jsx)("strong",{className:"yst-font-semibold yst-text-primary-500"})})})]}),(0,Q.jsx)("div",{className:"yst-@container yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 yst-gap-4 yst-px-10",children:Ae.map(((e,t)=>(0,Q.jsx)(de,{icon:e.icon,title:e.title,description:e.description,iconClassName:e.iconClassName},t)))}),(0,Q.jsxs)("div",{className:"yst-text-slate-600 yst-mt-4 yst-mb-8 yst-text-center",children:[He((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,Q.jsx)("a",{id:"delayed-upsell",href:t,className:"yst-mt-6 yst-mb-8 yst-underline yst-text-indigo-600 yst-text-sm"})}),(0,Q.jsx)(Be,{className:" yst-inline yst--me-2 yst-ms-2 yst-h-3 yst-w-3 yst-text-indigo-600 rtl:yst-rotate-[270deg]"})]}),(0,Q.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,Q.jsx)("div",{className:"yst-grid yst-grid-cols-2 yst-gap-4 yst-px-10 yst-my-4",children:Ve.map(((e,t)=>(0,Q.jsxs)("div",{children:[(0,Q.jsx)(Re,{className:"yst-inline yst-text-green-600 yst-w-6 yst-h-6"}),(0,Q.jsx)("span",{className:"yst-text-slate-800 yst-font-medium",children:e})]},t)))}),(0,Q.jsxs)("div",{className:"yst-px-10 yst-mt-8 yst-mb-4 yst-text-center",children:[(0,Q.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,Q.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")})]})]})},Te=()=>{const e=(0,a.useSelect)((e=>e(J).selectLink("https://yoa.st/delayed-upsell-premium-upgrade")),[]),t=(0,a.useSelect)((e=>e(J).selectLink("https://yoa.st/delayed-upsell-explore-premium-features")),[]);return(0,Q.jsx)(se,{maxWidth:"yst-max-w-3xl",children:(0,Q.jsx)(We,{buttonUpgradeLink:e,exploreFeaturesLink:t})})},Ye="introductions",Fe=(0,d.createEntityAdapter)({selectId:e=>e.id,sortComparer:(e,t)=>e.priority===t.priority?0:e.priority<t.priority?-1:1}),Ge=e=>({id:e.id||(0,d.nanoid)(),priority:e.priority||0}),qe=(0,d.createSlice)({name:Ye,initialState:Fe.getInitialState({current:0}),reducers:{addIntroduction:{reducer:Fe.addOne,prepare:e=>({payload:Ge(e)})},addIntroductions:{reducer:Fe.addMany,prepare:e=>({payload:(0,c.map)(e,Ge)})},setIntroductions:{reducer:Fe.setAll,prepare:e=>({payload:(0,c.map)(e,Ge)})}}}),De=qe.getInitialState,Je=Fe.getSelectors((e=>(0,c.get)(e,Ye,{}))),Xe={selectCurrentIntroductionIndex:e=>(0,c.get)(e,[Ye,"current"],0),selectIntroduction:Je.selectById,selectIntroductions:Je.selectAll};Xe.selectCurrentIntroduction=(0,d.createSelector)([Xe.selectCurrentIntroductionIndex,Xe.selectIntroductions],((e,t)=>t[e]));const Ke=qe.actions,Qe=qe.reducer,Ze="wpseoIntroductions";i()((()=>{const e=(0,c.get)(window,`${Ze}.introductions`,[]);if((0,c.isEmpty)(e))return;const t={"ai-brand-insights-post-launch":ie,"black-friday-announcement":ce,"delayed-premium-upsell":Te};if(-1!==location.href.indexOf("page=wpseo_dashboard#/first-time-configuration"))return window.YoastSEO._registerIntroductionComponent=async t=>{if((0,c.find)(e,{id:t}))try{await s()({path:`/yoast/v1/introductions/${t}/seen`,method:"POST",data:{is_seen:!1}})}catch(e){console.error(e)}},void(async()=>{for(const e of Object.keys(t))await window.YoastSEO._registerIntroductionComponent(e);(0,r.doAction)("yoast.introductions.ready")})();((e={})=>{(0,a.register)((e=>(0,a.createReduxStore)(J,{actions:{...Ke,...N,...M,...Y,...v},selectors:{...Xe,...S,...z,...T,...w},initialState:(0,c.merge)({},{[Ye]:De(),[k]:j(),[P]:$(),[B]:W(),[y]:f()},e),reducer:(0,a.combineReducers)({[Ye]:Qe,[k]:O,[P]:L,[B]:G,[y]:_}),controls:{...F,...x}}))(e))})({[k]:(0,c.get)(window,`${Ze}.linkParams`,{}),[P]:(0,c.get)(window,`${Ze}.pluginUrl`,""),[B]:{value:"1"===(0,c.get)(window,`${Ze}.wistiaEmbedPermission`,!1)}}),(0,a.dispatch)(J).setIntroductions(e);const n={isRtl:Boolean((0,c.get)(window,`${Ze}.isRtl`,!1))},i=document.createElement("div");i.id="wpseo-introductions",document.body.appendChild(i),(0,o.createRoot)(i).render((0,Q.jsx)(l.Root,{context:n,children:(0,Q.jsx)(ee,{initialComponents:t,children:(0,Q.jsx)(te,{})})}))}))})();