"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("../../../../../../utils/cn/cn.cjs.js"),n=require("../../../../../../src/modules/HighestStandards/components/TabsMenu/components/TabsMenutem/tabsMenuItem.module.css"),s=require("../../../../../../components/Icon/Icon.cjs.js"),c=require("../../../../../../components/Icon/constants.cjs.js"),t=require("../../../../../../components/Typography/Typography.cjs.js"),d=({title:i,content:l,isOpen:a,index:o,onClick:m})=>e.jsxs("div",{onClick:()=>m(o!=null?o:0),className:n.root,children:[e.jsxs("div",{className:n.header,children:[e.jsxs("div",{className:n.titleWithPrefixIconWrapper,children:[e.jsx(s.Icon,{name:c.EIconName.CIRCLE_CHECK_FILL,className:n.prefixIcon}),e.jsx(t.Typography,{defaultVariant:"headingSm",mobileVariant:"headingXxs",children:i})]}),e.jsxs("div",{className:n.closeButtonWrapper,children:[e.jsx(s.Icon,{name:c.EIconName.BRACKET_LEFT}),e.jsx("div",{className:r.cn(n.closeButton,{[n.closeButtonActive]:a}),children:e.jsx(s.Icon,{name:c.EIconName.PLUS})}),e.jsx(s.Icon,{name:c.EIconName.BRACKET_RIGHT})]})]}),e.jsx("div",{className:r.cn(n.description,{[n.descriptionShow]:a}),children:e.jsx("div",{className:n.descriptionInner,children:e.jsx(t.Typography,{as:"p",defaultVariant:"bodySm",mobileVariant:"bodyXs",children:l})})})]});exports.TabsMenuItem=d;
