"use strict";(self.webpackChunknewfold_Onboarding=self.webpackChunknewfold_Onboarding||[]).push([[859],{4859:(e,t,a)=>{a.r(t),a.d(t,{default:()=>d});var r=a(1609),n=a(7143),l=a(8468),s=a(3988),m=a(1032),c=a(7044),i=a(8969),_=a(7675);const d=()=>{const{headerMenu:e}=(0,n.useSelect)((e=>({headerMenu:e(_.M).getHeaderMenuData()})),[]),[t,a]=(0,l.useState)(),{setDrawerActiveView:d,setSidebarActiveView:u}=(0,n.useDispatch)(_.M);return(0,l.useLayoutEffect)((()=>{a(e)}),[e]),(0,l.useEffect)((()=>{u(i.Qe),d(i.HJ)}),[]),(0,r.createElement)(m.UX,null,(0,r.createElement)(c.Th,null,(0,r.createElement)(s.A,{className:"theme-header-menu-preview"},(0,r.createElement)("div",{className:"theme-header-menu-preview__title-bar"},(0,r.createElement)("div",{className:"theme-header-menu-preview__title-bar__browser"},(0,r.createElement)("span",{className:"theme-header-menu-preview__title-bar__browser__dot"}),(0,r.createElement)("span",{className:"theme-header-menu-preview__title-bar__browser__dot"}),(0,r.createElement)("span",{className:"theme-header-menu-preview__title-bar__browser__dot"}))),!t&&(0,r.createElement)(c.pA,{styling:"large",viewportWidth:1300}),t&&(0,r.createElement)(c.pA,{blockGrammer:t,styling:"large",viewportWidth:1300}))))}}}]);