'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../../text/components/Text.js");exports.default=({data:s,menu:r,styles:l})=>e.jsx(e.Fragment,{children:r?.map(r=>e.jsxs("div",{children:[e.jsx("span",{className:"gp-cursor-pointer gp-truncate gp-transition-all gp-duration-[200ms]",children:e.jsx(t.default,{styles:l,setting:{htmlTag:"span",text:s?.[r]?.title,excludeFlex:!0}})}),e.jsx("div",{className:"gp-mt-3",children:!!s?.[r]?.childrens?.length&&s?.[r]?.childrens?.map(r=>e.jsx("div",{className:"gp-cursor-pointer gp-truncate gp-py-1 gp-transition-all gp-duration-[200ms]",children:e.jsx(t.default,{styles:l,setting:{htmlTag:"span",text:s?.[r]?.title,excludeFlex:!0}})},r))})]},r))});
