import{o as e}from"./chunk.DuxOD-Sk.js";import{c as t,p as n}from"./emotion-styled.browser.esm.BPUx6WuE.js";import{vt as r}from"./src.sR_9Xh2m.js";import{i}from"./useWindowDimensionsContext.gRLzw0wB.js";var a=e(n()),o=e=>{let n=n=>{let{width:a,elementRef:o}=i();return t(r,{ref:o,children:t(e,{...n,width:a})})};return n.displayName=`withCalculatedWidth(${e.displayName||e.name})`,(0,a.default)(n,e)};export{o as t};