"use strict";(globalThis.webpackChunknewfold_Onboarding=globalThis.webpackChunknewfold_Onboarding||[]).push([[622],{6999:(e,n,t)=>{t.d(n,{A:()=>g});var a=t(1609),o=t(6942),s=t.n(o),i=t(148),d=t(7143),r=t(6427),c=t(7677),l=t(6655),_=t(7675);const g=({text:e,className:n,callback:t=null,disabled:o=!1,showChevronRight:g=!0})=>{const m=(0,i.Zp)(),{nextStep:b}=(0,d.useSelect)((e=>({nextStep:e(_.M).getNextStep()})));return(0,a.createElement)(r.Button,{className:s()("nfd-onboarding-button--site-gen-next",{"nfd-onboarding-button--site-gen-next--disabled":o},n),onClick:()=>{o||(t&&"function"==typeof t&&t(),b&&m(b.path))}},(0,a.createElement)("p",{className:"nfd-onboarding-button--site-gen-next--text"},e),g&&(0,a.createElement)(c.A,{className:"nfd-onboarding-button--site-gen-next--icon",icon:l.A}))}},9622:(e,n,t)=>{t.r(n),t.d(n,{default:()=>g});var a=t(1609),o=t(8468),s=t(7143),i=t(3988),d=t(6999),r=t(7675),c=t(8969),l=t(7723);var _=t(7673);const g=(0,o.memo)((()=>{const{setIsHeaderEnabled:e,setSidebarActiveView:n,setHeaderActiveView:t,setDrawerActiveView:g,setHideFooterNav:m,setIsHeaderNavigationEnabled:b}=(0,s.useDispatch)(r.M);(0,o.useEffect)((()=>{m(!0),e(!0),n(!1),t(c.Ix),b(!0),g(!1)}));const u={heading:(0,l.__)("Website Creator for WordPress","wp-module-onboarding"),subHeading:(0,l.__)("Tell our AI engine what kind of site you want to make and let it handle the content and design for you.","wp-module-onboarding"),buttonText:(0,l.__)("Get Started","wp-module-onboarding")};return(0,a.createElement)(i.A,{className:"nfd-onboarding-step--site-gen__welcome"},(0,a.createElement)("div",{className:"nfd-onboarding-step--site-gen__welcome__container"},(0,a.createElement)("div",{className:"nfd-onboarding-step--site-gen__welcome__container__orb"},(0,a.createElement)(_.A,{height:"100px"})),(0,a.createElement)("div",{className:"nfd-onboarding-step--site-gen__welcome__container__heading"},(0,a.createElement)("div",{className:"nfd-onboarding-step--site-gen__welcome__container__heading__image"}),(0,a.createElement)("p",{className:"nfd-onboarding-step--site-gen__welcome__container__heading__text"},u.heading)),(0,a.createElement)("div",{className:"nfd-onboarding-step--site-gen__welcome__container__sub-heading"},(0,a.createElement)("p",{className:"nfd-onboarding-step--site-gen__welcome__container__sub-heading__text"},u.subHeading)),(0,a.createElement)(d.A,{className:"nfd-onboarding-step--site-gen__welcome--button",text:u.buttonText,showChevronRight:!1})))}))}}]);