PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | js/dist/installation-success.js +6 -11 18.2 → trunk View file →
@@ -1,11 +1,6 @@
1 -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=205)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},10:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},11:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},118:function(e,t){e.exports=window.wp.domReady},12:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},13:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},130:function(e,t,n){"use strict";n.d(t,"b",(function(){return E})),n.d(t,"a",(function(){return g}));var r=n(25),o=n.n(r),c=n(10),s=n.n(c),i=n(11),a=n.n(i),l=n(18),u=n.n(l),p=n(19),f=n.n(p),m=n(12),b=n.n(m),d=n(0),O=n(21),y=n(23),j=n(76);var w=[],h=null,v=function(e){u()(c,e);var t,n,r=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return f()(this,e)});function c(e){var t;return s()(this,c),(t=r.call(this,e)).state={registeredComponents:[]},t}return a()(c,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(o()(this.state.registeredComponents),[{key:e,Component:t}])})}},{key:"render",value:function(){return this.state.registeredComponents.map((function(e){var t=e.Component,n=e.key;return Object(d.createElement)(t,{key:n})}))}}]),c}(d.Component);function E(e,t){var n=Object(y.a)();h=Object(d.createRef)();var r={isRtl:n.isRtl};Object(d.render)(Object(d.createElement)(j.a,{theme:r,location:"sidebar"},Object(d.createElement)(O.SlotFillProvider,null,Object(d.createElement)(d.Fragment,null,t,Object(d.createElement)(v,{ref:h})))),document.getElementById(e)),w.forEach((function(e){h.current.registerComponent(e.key,e.Component)}))}function g(e,t){null===h||null===h.current?w.push({key:e,Component:t}):h.current.registerComponent(e,t)}},18:function(e,t,n){var r=n(46);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},19:function(e,t,n){var r=n(36),o=n(13);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},2:function(e,t){e.exports=window.wp.i18n},205:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return l}));var r=n(0),o=n(118),c=n.n(o),s=n(2),i=n(130),a=n(5);function l(){return Object(r.createElement)("ul",{className:"step-list"},Object(r.createElement)("li",{className:"step-complete"},Object(r.createElement)("div",{className:"step-first-div","aria-hidden":"true"},Object(r.createElement)("div",{className:"step-second-div"})),Object(r.createElement)("span",{className:"step-list-complete-circle"},Object(r.createElement)("span",{className:"complete-check-icon"}))),Object(r.createElement)("li",{className:"step-current"},Object(r.createElement)("span",{className:"step-list-current-circle","aria-current":"step"},Object(r.createElement)("span",{className:"step-list-current-inner-circle","aria-hidden":"true"}))))}function u(){return Object(r.createElement)("div",{className:"installation-success-page"},Object(r.createElement)("h1",{className:"installation-success-title"},Object(s.sprintf)(
2 -/* translators: %s expands to Yoast SEO. */
3 -Object(s.__)("You've successfully installed %s!","wordpress-seo"),"Yoast SEO")),Object(r.createElement)("div",{className:"installation-success-content"},Object(r.createElement)("div",{className:"installation-success-steps"},Object(r.createElement)(l,null)),Object(r.createElement)("div",{className:"installation-success-cards"},Object(r.createElement)("div",{id:"installation-success-card-optimized-site",className:"installation-success-card"},Object(r.createElement)("h2",null,Object(s.__)("Your site is now easy to find for search engines!","wordpress-seo")),Object(r.createElement)("p",null,Object(s.sprintf)(
4 -/* translators: %s expands to Yoast SEO. */
5 -Object(s.__)("%s rolls out the red carpet for the search bots, which helps your site perform better in search engines.","wordpress-seo"),"Yoast SEO")),Object(r.createElement)("div",{className:"card-button-section"},Object(r.createElement)("img",{className:"man-with-tablet",src:window.wpseoInstallationSuccess.pluginUrl+"/images/man_with_tablet.png",alt:Object(s.__)("Man holding a tablet.","wordpress-seo")}))),Object(r.createElement)("div",{id:"installation-success-card-configuration-workout",className:"installation-success-card active"},Object(r.createElement)("h2",null,Object(s.sprintf)(
6 -/* translators: %s expands to Yoast SEO. */
7 -Object(s.__)("Configure %s!","wordpress-seo"),"Yoast SEO")),Object(r.createElement)("p",null,Object(s.sprintf)(
8 -/* translators: %s expands to Yoast SEO. */
9 -Object(s.__)("Set the essential %s settings in a few steps.","wordpress-seo"),"Yoast SEO")),Object(r.createElement)("img",{src:window.wpseoInstallationSuccess.pluginUrl+"/images/mirrored_fit_bubble_woman_1_optim.svg",alt:""}),Object(r.createElement)("div",{className:"card-button-section"},Object(r.createElement)(a.ButtonStyledLink,{id:"installation-successful-configuration-workout-link",href:window.wpseoInstallationSuccess.configurationWorkoutUrl,variant:"primary"},Object(s.__)("Start configuration workout!","wordpress-seo")))))),Object(r.createElement)("a",{id:"installation-success-skip-link",href:"/wp-admin/admin.php?page=wpseo_dashboard"},
10 -/* translators: %s expands to ' »'. */
11 -Object(s.sprintf)(Object(s.__)("Skip%s","wordpress-seo")," »")))}c()((function(){Object(i.b)("wpseo-installation-successful-free",Object(r.createElement)(u,null))}))},21:function(e,t){e.exports=window.wp.components},23:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},25:function(e,t,n){var r=n(73),o=n(74),c=n(75);e.exports=function(e){return r(e)||o(e)||c()}},3:function(e,t){e.exports=window.lodash},31:function(e,t){e.exports=window.yoast.externals.contexts},36:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},46:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},5:function(e,t){e.exports=window.yoast.componentsNew},73:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},74:function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},75:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},76:function(e,t,n){"use strict";var r=n(0),o=n(1),c=n.n(o),s=n(8),i=n(31),a=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(i.LocationProvider,{value:n},Object(r.createElement)(s.ThemeProvider,{theme:t},o))};a.propTypes={theme:c.a.object.isRequired,location:c.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:c.a.element.isRequired},t.a=a},8:function(e,t){e.exports=window.yoast.styledComponents}});
1 +(()=>{var t={1609(t){"use strict";t.exports=window.React},1878(t,s,e){const r=e(1609),n=r.forwardRef(function(t,s){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),r.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"}))});t.exports=n},3473(t,s,e){const r=e(1609),n=r.forwardRef(function(t,s){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:s},t),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))});t.exports=n},6702(t,s,e){const r=e(1609),n=r.forwardRef(function(t,s){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:s},t),r.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"}))});t.exports=n}},s={};function e(r){var n=s[r];if(void 0!==n)return n.exports;var o=s[r]={exports:{}};return t[r](o,o.exports,e),o.exports}e.n=t=>{var s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},e.d=(t,s)=>{for(var r in s)e.o(s,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:s[r]})},e.o=(t,s)=>Object.prototype.hasOwnProperty.call(t,s),(()=>{"use strict";const t=window.wp.domReady;var s=e.n(t);const r=window.wp.i18n,n=window.wp.element;var o=e(3473),a=e.n(o),i=e(6702),l=e.n(i);window.lodash;const y=(t,s)=>{try{return(0,n.createInterpolateElement)(t,s)}catch(s){return console.error("Error in translation for:",t,s),t}},c=window.yoast.uiLibrary;var d=e(1878),m=e.n(d);const u=window.ReactJSXRuntime;function x(){return(0,u.jsxs)("div",{className:"yst-root yst-my-auto yst-flex yst-flex-col yst-min-h-[84vh] yst-py-12 yst-justify-center",children:[(0,u.jsx)("div",{className:"yst-bg-green-200 yst-w-20 yst-h-20 yst-rounded-full yst-mx-auto yst-my-0 yst-flex yst-items-center yst-justify-center",children:(0,u.jsx)(m(),{className:"yst-w-8 yst-text-green-600"})}),(0,u.jsx)("h1",{className:"yst-text-4xl yst-text-slate-900 yst-w-[350px] yst-font-extrabold yst-leading-10 yst-mx-auto yst-mt-8 yst-mb-0 yst-text-center yst-tracking-tight",children:y((0,r.sprintf)(/* translators: %s expands to Yoast SEO. */ /* translators: %s expands to Yoast SEO. */
2 +(0,r.__)("You've successfully installed %s!","wordpress-seo"),"<span>Yoast SEO</span>"),{span:(0,u.jsx)("span",{className:"yst-text-primary-500"})})}),(0,u.jsxs)("p",{className:"yst-font-normal yst-text-slate-600 yst-text-lg yst-text-center yst-mt-4 yst-mb-8",children:[(0,r.__)("Your site is now easier for search engines to find.","wordpress-seo"),(0,u.jsx)("br",{}),(0,r.sprintf)(/* translators: %s expands to Yoast SEO. */ /* translators: %s expands to Yoast SEO. */
3 +(0,r.__)("Let's finish setup to make the most of %s.","wordpress-seo"),"Yoast SEO")]}),(0,u.jsx)("div",{className:"installation-success-content",children:(0,u.jsxs)("div",{className:"yst-flex yst-flex-col yst-justify-center yst-items-center yst-gap-8",children:[(0,u.jsxs)("div",{id:"installation-success-card-configuration",className:"yst-shrink-0 yst-shadow-xl yst-bg-primary-500 yst-rounded-lg yst-p-6 yst-flex yst-flex-col yst-max-w-sm yst-h-4/5 yst-leading-6",children:[(0,u.jsx)("h2",{className:" yst-text-white yst-text-2xl yst-leading-8 yst-font-extrabold",children:(0,r.__)("Get better results with the First-time configuration","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-font-normal yst-text-white yst-text-base yst-mb-4 yst-mt-2",children:(0,r.__)("Complete quick setup to enable essential SEO settings for your site.","wordpress-seo")}),(0,u.jsx)("div",{className:"yst-flex yst-grow-1 yst-mt-auto",children:(0,u.jsxs)("a",{id:"installation-successful-configuration-link",href:window.wpseoInstallationSuccess.firstTimeConfigurationUrl,className:"yst-inline-flex yst-items-center yst-w-full yst-justify-center yst-no-underline yst-px-6 yst-py-3 yst-border yst-border-transparent yst-text-base yst-font-medium yst-rounded-md yst-shadow-none yst-text-primary-500 yst-bg-white hover:yst-bg-gray-50 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-white yst-ring-offset-2 yst-ring-offset-primary-500","data-hiive-event-name":"clicked_start_first_time_configuration",children:[(0,r.__)("Start configuration","wordpress-seo"),(0,u.jsx)(a(),{className:"yst-w-5 yst-h-5 yst-ms-3 yst-me-1 rtl:yst-rotate-180"})]})}),(0,u.jsx)("p",{className:"yst-font-normal yst-italic yst-text-center yst-text-white yst-text-sm yst-mt-3",children:(0,r.__)("Takes a few minutes · Recommended","wordpress-seo")})]}),(0,u.jsxs)("div",{id:"installation-success-card-optimized-site",className:"yst-shrink-0 yst-bg-white yst-rounded-lg yst-p-4 yst-flex yst-flex-col yst-max-w-xs yst-shadow-md yst-h-4/5 yst-leading-6",children:[(0,u.jsx)("h2",{className:"yst-tracking-tight yst-text-primary-500 yst-text-lg yst-leading-8 yst-font-extrabold",children:(0,r.__)("Unlock more powerful SEO tools","wordpress-seo")}),(0,u.jsx)("p",{className:"yst-text-slate-600 yst-text-sm yst-mb-1",children:(0,r.sprintf)(/* translators: %s expands to Yoast SEO Premium. */ /* translators: %s expands to Yoast SEO Premium. */
4 +(0,r.__)("Consider %s for faster, easier SEO with AI features that save time.","wordpress-seo"),"Yoast SEO Premium")}),(0,u.jsxs)(c.Button,{as:"a",variant:"secondary",size:"small",href:window.wpseoInstallationSuccess.explorePremiumUrl,className:"yst-gap-2 yst-text-xs yst-mt-2",target:"_blank",rel:"noopener",children:[(0,r.__)("Explore Premium features","wordpress-seo"),(0,u.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */ /* translators: Hidden accessibility text. */
5 +(0,r.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,u.jsx)(l(),{className:"yst-w-4 yst-h-4 yst-icon-rtl yst-text-slate-400"})]}),(0,u.jsxs)("p",{className:"yst-font-normal yst-italic yst-text-center yst-text-slate-500 yst-text-xs yst-mt-2",children:[(0,r.__)("Trusted by millions of site owners","wordpress-seo"),(0,u.jsx)("br",{}),(0,r.__)("30-day money-back guarantee","wordpress-seo")]})]}),(0,u.jsx)("a",{id:"installation-success-skip-link",className:"yst-bottom-12 yst-right-0 yst-mr-5 yst-self-end yst-text-base md:yst-absolute",href:window.wpseoInstallationSuccess.dashboardUrl,"data-hiive-event-name":"clicked_skip_button | installation successful screen",children:/* translators: %s expands to ' »'. */ /* translators: %s expands to ' »'. */
6 +(0,r.sprintf)((0,r.__)("Skip%s","wordpress-seo")," »")})]})})]})}s()(()=>{const t=document.getElementById("wpseo-installation-successful-free");t&&(0,n.createRoot)(t).render((0,u.jsx)(x,{}))})})()})();