1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7818,80119],{80119:function(e,t,l){l.r(t);var n=l(85893),i=l(67294);let a=e=>{let{collapseRef:t}=e,l=(0,i.useRef)(null),a=e.type||"vertical";(0,i.useImperativeHandle)(t,()=>({updateCollapseHeight:e=>{let{height:t,increase:n}=e;l.current.style.height=l.current.scrollHeight,l.current.style.height="auto"}}));let s=e=>{let t=e.scrollHeight,l=e.scrollWidth;requestAnimationFrame(function(){switch(a){case"horizontal":e.style.width=l+"px",requestAnimationFrame(function(){e.style.width="0px"});break;case"vertical":e.style.height=t+"px",requestAnimationFrame(function(){e.style.height="0px"})}})},r=e=>{let t=e.scrollHeight+8,l=e.scrollWidth,n=0;switch(a){case"horizontal":e.style.width=l+"px",n=setTimeout(()=>{e.style.width="auto"},400);break;case"vertical":e.style.height=t+"px",n=setTimeout(()=>{e.style.height="auto"},400)}clearTimeout(n)};return(0,i.useEffect)(()=>{e.isOpen?r(l.current):s(l.current),(null==e?void 0:e.onHeightChange)&&e.onHeightChange({height:l.current.scrollHeight,increase:e.isOpen})},[e.isOpen]),(0,n.jsx)("div",{ref:l,style:"vertical"===a?{height:"0px",willChange:"height"}:{width:"0px",willChange:"width"},className:"".concat(e.className||""," overflow-hidden duration-200 "),children:e.children})};a.defaultProps={isOpen:!1},t.default=a},7818:function(e,t,l){l.r(t),l.d(t,{MenuItem:function(){return o}});var n=l(85893),i=l(41664),a=l.n(i),s=l(67294),r=l(80119);let o=e=>{var t;let{link:l}=e;l.selected=!0;let[i,o]=(0,s.useState)(null==l?void 0:l.selected);if(!l||!l.show)return null;let c=(null==l?void 0:l.href)==="#",h=c?"#".concat(l.name):l.href;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{onClick:()=>{o(!i)},className:"nav-menu dark:text-neutral-400 text-gray-500 hover:text-black dark:hover:text-white text-sm text-gray w-full items-center duration-300 pt-2 font-light select-none flex justify-between cursor-pointer",children:(null==l?void 0:l.subMenus)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("span",{className:"dark:text-neutral-400 dark:hover:text-white font-bold w-full display-block",children:[(0,n.jsx)("i",{className:"text-base ".concat((null==l?void 0:l.icon)?null==l?void 0:l.icon:""," mr-1")}),null==l?void 0:l.title]}),(0,n.jsx)("div",{className:"inline-flex items-center select-none pointer-events-none ",children:(0,n.jsx)("i",{className:"".concat(i?"-rotate-90":""," text-xs dark:text-neutral-500 text-gray-300 hover:text-black dark:hover:text-white-400 px-2 fas fa-chevron-left transition-all duration-200")})})]}):(0,n.jsxs)(a(),{href:h,className:"dark:text-neutral-400 dark:hover:text-white font-bold w-full display-block",children:[(0,n.jsx)("i",{className:"text-base ".concat((null==l?void 0:l.icon)?null==l?void 0:l.icon:c?"fas fa-hashtag":""," mr-1")}),null==l?void 0:l.title]})},null==l?void 0:l.href),(null==l?void 0:l.subMenus)&&(0,n.jsx)(r.default,{isOpen:i,children:null==l?void 0:null===(t=l.subMenus)||void 0===t?void 0:t.map((e,t)=>{let l=(null==e?void 0:e.href)==="#",i=l?"#".concat(e.name):e.href;return(0,n.jsx)("div",{className:"nav-submenu",children:(0,n.jsx)(a(),{href:i,children:(0,n.jsxs)("span",{className:"dark:text-neutral-400 text-gray-500 hover:text-black dark:hover:text-white text-xs font-bold",children:[(0,n.jsx)("i",{className:"text-xs mr-1 ".concat((null==e?void 0:e.icon)?null==e?void 0:e.icon:l?"fas fa-hashtag":"")}),e.title]})})},t)})},"collapse")]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.