{"ast":null,"code":"import _objectSpread from \"C:/Users/user/Desktop/000newport/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";\nimport _objectWithoutProperties from \"C:/Users/user/Desktop/000newport/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nvar _excluded = [\"rest\"],\n  _excluded2 = [\"rest\"],\n  _excluded3 = [\"className\", \"size\", \"display\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { sectionPropDefs } from './section.props';\nimport { extractMarginProps, withMarginProps, extractLayoutProps, withLayoutProps, withBreakpoints } from '../helpers';\nvar Section = React.forwardRef(function (props, forwardedRef) {\n  var _extractMarginProps = extractMarginProps(props),\n    marginRest = _extractMarginProps.rest,\n    marginProps = _objectWithoutProperties(_extractMarginProps, _excluded);\n  var _extractLayoutProps = extractLayoutProps(marginRest),\n    layoutRest = _extractLayoutProps.rest,\n    layoutProps = _objectWithoutProperties(_extractLayoutProps, _excluded2);\n  var className = layoutRest.className,\n    _layoutRest$size = layoutRest.size,\n    size = _layoutRest$size === void 0 ? sectionPropDefs.size.default : _layoutRest$size,\n    _layoutRest$display = layoutRest.display,\n    display = _layoutRest$display === void 0 ? sectionPropDefs.display.default : _layoutRest$display,\n    sectionProps = _objectWithoutProperties(layoutRest, _excluded3);\n  return React.createElement(\"section\", _objectSpread(_objectSpread({}, sectionProps), {}, {\n    ref: forwardedRef,\n    className: classNames('rt-Section', className, withBreakpoints(size, 'rt-r-size'), withBreakpoints(display, 'rt-r-display'), withLayoutProps(layoutProps), withMarginProps(marginProps))\n  }));\n});\nSection.displayName = 'Section';\nexport { Section };","map":{"version":3,"names":["React","classNames","sectionPropDefs","extractMarginProps","withMarginProps","extractLayoutProps","withLayoutProps","withBreakpoints","Section","forwardRef","props","forwardedRef","_extractMarginProps","marginRest","rest","marginProps","_objectWithoutProperties","_excluded","_extractLayoutProps","layoutRest","layoutProps","_excluded2","className","_layoutRest$size","size","default","_layoutRest$display","display","sectionProps","_excluded3","createElement","_objectSpread","ref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