{"ast":null,"code":"import _objectSpread from \"C:/Users/user/Desktop/04portreact/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";\nimport _objectWithoutProperties from \"C:/Users/user/Desktop/04portreact/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nvar _excluded = [\"rest\"],\n  _excluded2 = [\"className\", \"side\", \"p\", \"px\", \"py\", \"pt\", \"pr\", \"pb\", \"pl\"];\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { insetPropDefs } from './inset.props';\nimport { extractMarginProps, withMarginProps, withBreakpoints } from '../helpers';\nvar Inset = React.forwardRef(function (props, forwardedRef) {\n  var _extractMarginProps = extractMarginProps(props),\n    marginRest = _extractMarginProps.rest,\n    marginProps = _objectWithoutProperties(_extractMarginProps, _excluded);\n  var className = marginRest.className,\n    _marginRest$side = marginRest.side,\n    side = _marginRest$side === void 0 ? insetPropDefs.side.default : _marginRest$side,\n    p = marginRest.p,\n    px = marginRest.px,\n    py = marginRest.py,\n    pt = marginRest.pt,\n    pr = marginRest.pr,\n    pb = marginRest.pb,\n    pl = marginRest.pl,\n    insetProps = _objectWithoutProperties(marginRest, _excluded2);\n  return React.createElement(\"div\", _objectSpread(_objectSpread({}, insetProps), {}, {\n    ref: forwardedRef,\n    className: classNames('rt-Inset', className, withBreakpoints(side, 'rt-r-side'), withBreakpoints(p, 'rt-r-p'), withBreakpoints(px, 'rt-r-px'), withBreakpoints(py, 'rt-r-py'), withBreakpoints(pt, 'rt-r-pt'), withBreakpoints(pr, 'rt-r-pr'), withBreakpoints(pb, 'rt-r-pb'), withBreakpoints(pl, 'rt-r-pl'), withMarginProps(marginProps))\n  }));\n});\nInset.displayName = 'Inset';\nexport { Inset };","map":{"version":3,"names":["React","classNames","insetPropDefs","extractMarginProps","withMarginProps","withBreakpoints","Inset","forwardRef","props","forwardedRef","_extractMarginProps","marginRest","rest","marginProps","_objectWithoutProperties","_excluded","className","_marginRest$side","side","default","p","px","py","pt","pr","pb","pl","insetProps","_excluded2","createElement","_objectSpread","ref","displayName"],"sources":["../../../src/components/inset.tsx"],"sourcesContent":[null],"mappings":";;;;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,aAAa,QAAQ,eAAe;AAC7C,SAASC,kBAAkB,EAAEC,eAAe,EAAEC,eAAe,QAAQ,YAAY;AAOjF,IAAMC,KAAK,GAAGN,KAAK,CAACO,UAAU,CAA2B,UAACC,KAAK,EAAEC,YAAY,EAAI;EAC/E,IAAAC,mBAAA,GAA6CP,kBAAkB,CAACK,KAAK,CAAC;IAAxDG,UAAU,GAAAD,mBAAA,CAAhBE,IAAI;IAAiBC,WAAW,GAAAC,wBAAA,CAAAJ,mBAAA,EAAAK,SAAA;EACxC,IACEC,SAAS,GAUPL,UAAU,CAVZK,SAAS;IAAAC,gBAAA,GAUPN,UAAU,CATZO,IAAI;IAAJA,IAAI,GAAAD,gBAAA,cAAGf,aAAa,CAACgB,IAAI,CAACC,OAAO,GAAAF,gBAAA;IACjCG,CAAC,GAQCT,UAAU,CARZS,CAAC;IACDC,EAAE,GAOAV,UAAU,CAPZU,EAAE;IACFC,EAAE,GAMAX,UAAU,CANZW,EAAE;IACFC,EAAE,GAKAZ,UAAU,CALZY,EAAE;IACFC,EAAE,GAIAb,UAAU,CAJZa,EAAE;IACFC,EAAE,GAGAd,UAAU,CAHZc,EAAE;IACFC,EAAE,GAEAf,UAAU,CAFZe,EAAE;IACCC,UAAU,GAAAb,wBAAA,CACXH,UAAU,EAAAiB,UAAA;EACd,OACE5B,KAAA,CAAA6B,aAAA,QAAAC,aAAA,CAAAA,aAAA,KACMH,UAAU;IACdI,GAAG,EAAEtB,YAAY;IACjBO,SAAS,EAAEf,UAAU,CACnB,UAAU,EACVe,SAAS,EACTX,eAAe,CAACa,IAAI,EAAE,WAAW,CAAC,EAClCb,eAAe,CAACe,CAAC,EAAE,QAAQ,CAAC,EAC5Bf,eAAe,CAACgB,EAAE,EAAE,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