import{_ as d,b as s}from"./OdysseyThemeProvider-Bh0Bu-2o.js";import{r as c,m as P,a as m}from"./resolveComponentProps-DXQ8X87i.js";import{u as v}from"./useIsFocusVisible-DH0qxT5e.js";import{r as S}from"./index-NdkWRN8K.js";const x=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function b(o){var r;const{elementType:n,externalSlotProps:p,ownerState:t,skipResolvingSlotProps:l=!1}=o,a=d(o,x),e=l?{}:c(p,t),{props:i,internalRef:u}=P(s({},a,{externalSlotProps:e})),f=v(u,e==null?void 0:e.ref,(r=o.additionalProps)==null?void 0:r.ref);return m(n,s({},i,{ref:f}),t)}function y(o){if(parseInt(S.version,10)>=19){var r;return(o==null||(r=o.props)==null?void 0:r.ref)||null}return(o==null?void 0:o.ref)||null}export{y as g,b as u};
