"use strict";(globalThis.webpackChunknewfold_Onboarding=globalThis.webpackChunknewfold_Onboarding||[]).push([[910],{3910:(e,n,t)=>{t.r(n),t.d(n,{default:()=>m});var r=t(1609),a=t(6427),i=t(7143),s=t(5573);const o=(0,r.createElement)(s.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(s.Path,{d:"m19 7.5h-7.628c-.3089-.87389-1.1423-1.5-2.122-1.5-.97966 0-1.81309.62611-2.12197 1.5h-2.12803v1.5h2.12803c.30888.87389 1.14231 1.5 2.12197 1.5.9797 0 1.8131-.62611 2.122-1.5h7.628z"}),(0,r.createElement)(s.Path,{d:"m19 15h-2.128c-.3089-.8739-1.1423-1.5-2.122-1.5s-1.8131.6261-2.122 1.5h-7.628v1.5h7.628c.3089.8739 1.1423 1.5 2.122 1.5s1.8131-.6261 2.122-1.5h2.128z"}));var d=t(7675),c=t(8969),l=t(6942),u=t.n(l),b=t(7723);const m=()=>{const{isSidebarOpened:e,sideBarView:n,currentStep:t}=(0,i.useSelect)((e=>({isSidebarOpened:e(d.M).isSidebarOpened(),sideBarView:e(d.M).getSidebarView(),currentStep:e(d.M).getCurrentStep()}))),{setIsSidebarOpened:s,setSidebarActiveView:l}=(0,i.useDispatch)(d.M);return(0,r.createElement)(r.Fragment,null,n&&t?.sidebars?.Customize&&(0,r.createElement)(a.Fill,{name:`${c.Qs}/Customize`},(0,r.createElement)(a.Button,{style:{backgroundColor:"var(--nfd-onboarding-navigation-back-background)",color:"var(--nfd-onboarding-primary)",borderRadius:"8px",height:"36px"},className:u()("nfd-onboarding-sidebar-learn-more__menu-button",{"is-pressed":e&&"Customize"===n}),disabled:!t,onClick:()=>{const t="Customize"===n?!e:e;l("Customize"),s(t)},icon:o},(0,b.__)("Customize","wp-module-onboarding"))))}}}]);