"use strict";(globalThis.webpackChunknewfold_Onboarding=globalThis.webpackChunknewfold_Onboarding||[]).push([[859],{4859:(e,t,a)=>{a.r(t),a.d(t,{default:()=>d});var r=a(1609),l=a(7143),n=a(8468),s=a(3988),i=a(1032),m=a(7044),c=a(8969),_=a(7675);const d=()=>{const{headerMenu:e}=(0,l.useSelect)((e=>({headerMenu:e(_.M).getHeaderMenuData()})),[]),[t,a]=(0,n.useState)(),{setDrawerActiveView:d,setSidebarActiveView:h}=(0,l.useDispatch)(_.M);return(0,n.useLayoutEffect)((()=>{a(e)}),[e]),(0,n.useEffect)((()=>{h(c.Qe),d(c.HJ)}),[]),(0,r.createElement)(i.UX,null,(0,r.createElement)(m.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)(m.pA,{styling:"large",viewportWidth:1300}),t&&(0,r.createElement)(m.pA,{blockGrammer:t,styling:"large",viewportWidth:1300}))))}}}]);