import{r as e}from"./redux-1.0.63-Df-eBzJn.js";import{j as l}from"./cm-1.0.63-CSIRHMXC.js";import{u as p,g as u,d as m}from"./TabPanel-1.0.63-CSMGfwNU.js";import{a as c}from"./Tabs-1.0.63-6c0rSlLk.js";const v=e.forwardRef(function(o,a){const{children:n,...s}=o,r=p();if(r===null)throw new TypeError("No TabContext provided");const i=e.Children.map(n,t=>e.isValidElement(t)?e.cloneElement(t,{"aria-controls":m(r,t.props.value),id:u(r,t.props.value)}):null);return l.jsx(c,{...s,ref:a,value:r.value,children:i})});export{v as T};
