'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),ChildrenDroppable=require("../../grid/components/ChildrenDroppable.js"),system=require("@gem-sdk/system"),classes=require("../common/classes.js"),styles=require("../common/styles.js");const TabItem=e=>{let{children:s,builderAttrs:t,className:r,parentUid:l,isActive:i,style:a}=e,m=system.createStyle({...styles.getTabItemStyle(a,i)}),o=system.createClass({...classes.getTabItemClasses({parentUid:l,className:r,isNotLiquid:!0,isActive:i})});return jsxRuntime.jsx("div",{...t,className:o,style:m,children:core.isEmptyChildren(s)?jsxRuntime.jsx(ChildrenDroppable.default,{}):s})};exports.default=TabItem;
