'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),DesktopMenuItem=require("./DesktopMenuItem.js");const DesktopMenu=({menu:e,height:t,arrow:r,textColor:s,menuTextColor:o,typography:p,typo:n,headerBg:u,menuBg:l,className:c,itemEnableHoverEffect:a,enableDropdownHoverEffect:m})=>{let i=e?.ROOT,x=core.composeTypographyClassName(n,p);return jsxRuntime.jsx("div",{className:core.cls("gp-flex gp-flex-1 gp-items-center gp-justify-center gp-px-3",c),children:jsxRuntime.jsx("ul",{className:core.cls("gp-flex gp-flex-wrap gp-justify-center",x),style:{...core.makeStyleResponsive("h",t)},children:i?.childrens?.map(t=>jsxRuntime.jsx(DesktopMenuItem.default,{id:t,menu:e,arrow:r,depth:0,maxDepth:2,menuTextColor:o,textColor:s,headerBg:u,menuBg:l,typography:p,typo:n,enableHoverEffect:a,enableDropdownHoverEffect:m},t))})})};exports.default=DesktopMenu;
