38217-vm/wp-content/plugins/wordpress-seo/js/dist/installation-success.js
2026-02-05 17:08:59 +03:00

6 lines
6.2 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(()=>{"use strict";var t={n:s=>{var e=s&&s.__esModule?()=>s.default:()=>s;return t.d(e,{a:e}),e},d:(s,e)=>{for(var r in e)t.o(e,r)&&!t.o(s,r)&&Object.defineProperty(s,r,{enumerable:!0,get:e[r]})},o:(t,s)=>Object.prototype.hasOwnProperty.call(t,s)};const s=window.wp.domReady;var e=t.n(s);const r=window.wp.i18n,n=window.wp.element,a=window.React,o=a.forwardRef((function(t,s){return a.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),a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))})),i=a.forwardRef((function(t,s){return a.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),a.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"}))}));window.lodash;const l=(t,s)=>{try{return(0,n.createInterpolateElement)(t,s)}catch(s){return console.error("Error in translation for:",t,s),t}},y=window.yoast.uiLibrary,c=a.forwardRef((function(t,s){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),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"}))})),d=window.ReactJSXRuntime;function m(){return(0,d.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,d.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,d.jsx)(c,{className:"yst-w-8 yst-text-green-600"})}),(0,d.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:l((0,r.sprintf)(/* translators: %s expands to Yoast SEO. */
(0,r.__)("You've successfully installed %s!","wordpress-seo"),"<span>Yoast SEO</span>"),{span:(0,d.jsx)("span",{className:"yst-text-primary-500"})})}),(0,d.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,d.jsx)("br",{}),(0,r.sprintf)(/* translators: %s expands to Yoast SEO. */
(0,r.__)("Let's finish setup to make the most of %s.","wordpress-seo"),"Yoast SEO")]}),(0,d.jsx)("div",{className:"installation-success-content",children:(0,d.jsxs)("div",{className:"yst-flex yst-flex-col yst-justify-center yst-items-center yst-gap-8",children:[(0,d.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,d.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,d.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,d.jsx)("div",{className:"yst-flex yst-grow-1 yst-mt-auto",children:(0,d.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,d.jsx)(o,{className:"yst-w-5 yst-h-5 yst-ms-3 yst-me-1 rtl:yst-rotate-180"})]})}),(0,d.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,d.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,d.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,d.jsx)("p",{className:"yst-text-slate-600 yst-text-sm yst-mb-1",children:(0,r.sprintf)(/* translators: %s expands to Yoast SEO Premium. */
(0,r.__)("Consider %s for faster, easier SEO with AI features that save time.","wordpress-seo"),"Yoast SEO Premium")}),(0,d.jsxs)(y.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,d.jsx)("span",{className:"yst-sr-only",children:/* translators: Hidden accessibility text. */
(0,r.__)("(Opens in a new browser tab)","wordpress-seo")}),(0,d.jsx)(i,{className:"yst-w-4 yst-h-4 yst-icon-rtl yst-text-slate-400"})]}),(0,d.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,d.jsx)("br",{}),(0,r.__)("30-day money-back guarantee","wordpress-seo")]})]}),(0,d.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 ' »'. */
(0,r.sprintf)((0,r.__)("Skip%s","wordpress-seo")," »")})]})})]})}e()((()=>{const t=document.getElementById("wpseo-installation-successful-free");t&&(0,n.createRoot)(t).render((0,d.jsx)(m,{}))}))})();