"use strict";(self.webpackChunknewfold_Onboarding=self.webpackChunknewfold_Onboarding||[]).push([[202],{4202:(e,n,r)=>{r.r(n),r.d(n,{default:()=>o});var t=r(1609),s=r(6427),a=r(8851),i=r(7143),d=r(7675),c=r(8969),l=r(6942),b=r.n(l);const o=()=>{const{isSidebarOpened:e,sideBarView:n,currentStep:r}=(0,i.useSelect)((e=>({isSidebarOpened:e(d.M).isSidebarOpened(),sideBarView:e(d.M).getSidebarView(),currentStep:e(d.M).getCurrentStep()}))),{setIsSidebarOpened:l,setSidebarActiveView:o}=(0,i.useDispatch)(d.M);return(0,t.createElement)(t.Fragment,null,n&&r?.sidebars?.LearnMore&&(0,t.createElement)(s.Fill,{name:`${c.Qs}/${c.Qe}`},(0,t.createElement)(s.Button,{className:b()("nfd-onboarding-sidebar-learn-more__menu-button",{"is-pressed":e&&n===c.Qe}),disabled:!r,onClick:()=>{const r=n===c.Qe?!e:e;o(c.Qe),l(r)},icon:a.A})))}}}]);