import{runIfFn as r}from"../../../../utils/dist/esm/function.js";import{isObject as i}from"../../../../utils/dist/esm/assertion.js";var s=s=>e=>{if(!e.__breakpoints)return s;var{isResponsive:t,toArrayValue:a,media:n}=e.__breakpoints,o={};for(var l in s){var u=r(s[l],e);if(null!=u)if(u=i(u)&&t(u)?a(u):u,Array.isArray(u))for(var f=u.slice(0,n.length).length,v=0;v<f;v+=1){var m=null==n?void 0:n[v];m?(o[m]=o[m]||{},null!=u[v]&&(o[m][l]=u[v])):o[l]=u[v]}else o[l]=u}return o};export{s as expandResponsive};
//# sourceMappingURL=expand-responsive.js.map
