import r from"../../../@babel/runtime/helpers/esm/defineProperty.js";import e from"./responsivePropType.js";import{handleBreakpoints as n}from"./breakpoints.js";function t(r,e){return e&&"string"==typeof e?e.split(".").reduce((function(r,e){return r&&r[e]?r[e]:null}),r):null}function o(o){var p=o.prop,i=o.cssProperty,u=void 0===i?o.prop:i,s=o.themeKey,f=o.transform,l=function(e){if(null==e[p])return null;var o=e[p],i=t(e.theme,s)||{};return n(e,o,(function(e){var n;return"function"==typeof i?n=i(e):Array.isArray(i)?n=i[e]||e:(n=t(i,e)||e,f&&(n=f(n))),!1===u?n:r({},u,n)}))};return l.propTypes="production"!==process.env.NODE_ENV?r({},p,e):{},l.filterProps=[p],l}export default o;
//# sourceMappingURL=style.js.map
