1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2267],{22267:function(e,l,a){a.r(l);var d=a(57437),i=a(36886),s=a(30166),t=a(27648),n=a(2265);let o=(0,s.default)(()=>a.e(6928).then(a.bind(a,6928)),{loadableGenerated:{webpack:()=>[6928]}});l.default=e=>{var l;let{menus:a,megaType:s=""}=e,[c,u]=(0,n.useState)((null==a?void 0:null===(l=a[0])||void 0===l?void 0:l.id)||null),r=e=>{c!==e&&u(e)};return(0,d.jsx)("div",{className:"item dropdown custom-shadow absolute left-0 top-[70px] z-10 hidden w-full rounded-bl-[5px] rounded-br-[5px] p-6",children:(0,d.jsx)("div",{className:"flex max-h-[450px] flex-wrap justify-start overflow-y-auto",children:(0,d.jsxs)("div",{className:"flex gap-3",children:[(0,d.jsx)("ul",{className:"nav-tab-links custom-rounded flex w-[200px] flex-[0_0_200px] flex-col gap-1 bg-secondary",children:null==a?void 0:a.map(e=>(0,d.jsx)("li",{children:(0,d.jsx)("button",{role:"button",className:"tab-item ".concat(c===e.id?"active":""),onClick:()=>r(e.id),children:e.menu_title})},e.id))}),null==a?void 0:a.map(e=>{var l,a,n,u,r;return(0,d.jsx)("div",{className:"tab",style:{display:c===e.id?"block":"none"},children:(0,d.jsxs)("div",{className:"flex flex-wrap justify-start",children:[(null==e?void 0:null===(l=e.children)||void 0===l?void 0:l.length)>0&&(0,d.jsx)(o,{categories:e.children,megaType:s}),(null===(n=e.category)||void 0===n?void 0:null===(a=n.packages)||void 0===a?void 0:a.length)>0&&(0,d.jsx)("ul",{className:"megamenu-items columns-2 xl:columns-3",children:null===(r=e.category)||void 0===r?void 0:null===(u=r.packages)||void 0===u?void 0:u.map(e=>(0,d.jsx)("li",{className:"p-0 lg:p-2",children:(0,d.jsx)(t.default,{className:"text-sm font-medium text-text_color duration-200 hover:text-secondary",href:(0,i.Z)("package.detail.index",{slug:e.slug}),children:e.package_title})},e.id))})]})},e.id)})]})})})}}}]);
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.