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