"use strict";(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[4190],{44190:function(e,n,r){r.r(n),r.d(n,{default:function(){return B}});var t=r(1413),o=r(29439),s=r(45987),a=r(47313),i=r(2135),l=r(75908),c=r(19860),h=r(33131),d=r(24813),p=r(47825),m=r(9289),x=r(42832),y=r(61113),Z=r(66212),j=r(90891),u=r(57829),g=r(69099),v=r(46923),b=r(48310),f=r(89840),k=r(74748),w=r(83213),D=r(36287),C=r(94044),_=r(51404),z=r(79876),A=r(87462),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},T=r(16141),S=function(e,n){return a.createElement(T.Z,(0,A.Z)({},e,{ref:n,icon:P}))};var H=a.forwardRef(S),I={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 476H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"line",theme:"outlined"},K=function(e,n){return a.createElement(T.Z,(0,A.Z)({},e,{ref:n,icon:I}))};var M=a.forwardRef(K),N=r(46417),R=["handleDrawerOpen","layout"];function U(e){var n=e.layout,r=e.children,t=e.window,o=(0,c.Z)(),s=(0,h.Z)({disableHysteresis:!0,threshold:10,target:t?t():void 0}),i=o.palette.mode===D.hY.DARK?o.palette.grey[50]:o.palette.grey[800],l="landing"!==n?i:"transparent";return a.cloneElement(r,{style:{backgroundColor:s?i:l}})}var B=function(e){var n=e.handleDrawerOpen,r=e.layout,h=void 0===r?"landing":r,A=(0,s.Z)(e,R),P=(0,c.Z)(),T=(0,d.Z)(P.breakpoints.down("md")),S=(0,a.useState)(!1),I=(0,o.Z)(S,2),K=I[0],B=I[1],E=function(e){return function(n){("keydown"!==n.type||"Tab"!==n.key&&"Shift"!==n.key)&&B(e)}};return(0,N.jsx)(U,(0,t.Z)((0,t.Z)({layout:h},A),{},{children:(0,N.jsx)(l.Z,{sx:{bgcolor:"transparent",color:P.palette.text.primary,boxShadow:"none"},children:(0,N.jsx)(p.Z,{disableGutters:T,children:(0,N.jsxs)(m.Z,{sx:{px:{xs:1.5,md:0,lg:0},py:2},children:[(0,N.jsxs)(x.Z,{direction:"row",sx:{flexGrow:1,display:{xs:"none",md:"block"}},alignItems:"center",children:[(0,N.jsx)(y.Z,{component:"div",sx:{textAlign:"left",display:"inline-block"},children:(0,N.jsx)(z.Z,{reverse:!0,to:"/"})}),(0,N.jsx)(Z.Z,{label:"v2.1.0",variant:"outlined",size:"small",color:"secondary",sx:{mt:.5,ml:1,fontSize:"0.725rem",height:20,"& .MuiChip-label":{px:.5}}})]}),(0,N.jsxs)(x.Z,{direction:"row",sx:{"& .header-link":{px:1,"&:hover":{color:P.palette.primary.main}},display:{xs:"none",md:"block"}},spacing:2,children:[(0,N.jsx)(j.Z,{className:"header-link",color:"white",component:i.rU,to:"/login",target:"_blank",underline:"none",children:"Dashboard"}),(0,N.jsx)(j.Z,{className:"header-link",color:n?"primary":"white",component:i.rU,to:"/components-overview/buttons",underline:"none",children:"Components"}),(0,N.jsx)(j.Z,{className:"header-link",color:"white",href:"https://links.codedthemes.com/BQFrl",target:"_blank",underline:"none",children:"Documentation"}),(0,N.jsx)(u.Z,{sx:{display:"inline-block"},children:(0,N.jsx)(_.Z,{children:(0,N.jsx)(g.Z,{component:j.Z,href:"https://links.codedthemes.com/Aprwb",disableElevation:!0,color:"primary",variant:"contained",children:"Purchase Now"})})})]}),(0,N.jsxs)(u.Z,{sx:{width:"100%",alignItems:"center",justifyContent:"space-between",display:{xs:"flex",md:"none"}},children:[(0,N.jsx)(y.Z,{component:"div",sx:{textAlign:"left",display:"inline-block"},children:(0,N.jsx)(z.Z,{reverse:!0,to:"/"})}),(0,N.jsxs)(x.Z,{direction:"row",spacing:2,children:["component"===h&&(0,N.jsx)(g.Z,{variant:"outlined",size:"small",color:"warning",component:i.rU,to:D.dk,sx:{mt:.5,height:28},children:"Dashboard"}),"component"!==h&&(0,N.jsx)(g.Z,{variant:"outlined",size:"small",color:"warning",component:i.rU,to:"/components-overview/buttons",sx:{mt:.5,height:28},children:"All Components"}),(0,N.jsx)(C.Z,(0,t.Z)((0,t.Z)({color:"secondary"},"component"===h?{onClick:n}:{onClick:E(!0)}),{},{sx:{"&:hover":{bgcolor:P.palette.mode===D.hY.DARK?"secondary.lighter":"secondary.dark"}},children:(0,N.jsx)(H,{style:{color:P.palette.mode===D.hY.DARK?"inherit":P.palette.grey[100]}})}))]}),(0,N.jsx)(v.ZP,{anchor:"top",open:K,onClose:E(!1),sx:{"& .MuiDrawer-paper":{backgroundImage:"none"}},children:(0,N.jsx)(u.Z,{sx:{width:"auto","& .MuiListItemIcon-root":{fontSize:"1rem",minWidth:28}},role:"presentation",onClick:E(!1),onKeyDown:E(!1),children:(0,N.jsxs)(b.Z,{children:[(0,N.jsx)(j.Z,{style:{textDecoration:"none"},href:"/login",target:"_blank",children:(0,N.jsxs)(f.Z,{component:"span",children:[(0,N.jsx)(k.Z,{children:(0,N.jsx)(M,{})}),(0,N.jsx)(w.Z,{primary:"Dashboard",primaryTypographyProps:{variant:"h6",color:"text.primary"}})]})}),(0,N.jsx)(j.Z,{style:{textDecoration:"none"},href:"/components-overview/buttons",target:"_blank",children:(0,N.jsxs)(f.Z,{component:"span",children:[(0,N.jsx)(k.Z,{children:(0,N.jsx)(M,{})}),(0,N.jsx)(w.Z,{primary:"All Components",primaryTypographyProps:{variant:"h6",color:"text.primary"}})]})}),(0,N.jsx)(j.Z,{style:{textDecoration:"none"},href:"https://links.codedthemes.com/sTUAK",target:"_blank",children:(0,N.jsxs)(f.Z,{component:"span",children:[(0,N.jsx)(k.Z,{children:(0,N.jsx)(M,{})}),(0,N.jsx)(w.Z,{primary:"Free Version",primaryTypographyProps:{variant:"h6",color:"text.primary"}})]})}),(0,N.jsx)(j.Z,{style:{textDecoration:"none"},href:"https://links.codedthemes.com/BQFrl",target:"_blank",children:(0,N.jsxs)(f.Z,{component:"span",children:[(0,N.jsx)(k.Z,{children:(0,N.jsx)(M,{})}),(0,N.jsx)(w.Z,{primary:"Documentation",primaryTypographyProps:{variant:"h6",color:"text.primary"}})]})}),(0,N.jsx)(j.Z,{style:{textDecoration:"none"},href:"https://codedthemes.support-hub.io/",target:"_blank",children:(0,N.jsxs)(f.Z,{component:"span",children:[(0,N.jsx)(k.Z,{children:(0,N.jsx)(M,{})}),(0,N.jsx)(w.Z,{primary:"Support",primaryTypographyProps:{variant:"h6",color:"text.primary"}})]})}),(0,N.jsx)(j.Z,{style:{textDecoration:"none"},href:"https://links.codedthemes.com/Aprwb",target:"_blank",children:(0,N.jsxs)(f.Z,{component:"span",children:[(0,N.jsx)(k.Z,{children:(0,N.jsx)(M,{})}),(0,N.jsx)(w.Z,{primary:"Purchase Now",primaryTypographyProps:{variant:"h6",color:"text.primary"}}),(0,N.jsx)(Z.Z,{color:"primary",label:"v1.0",size:"small"})]})})]})})})]})]})})})}))}}}]);