{"ast":null,"code":"'use client';\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport * as SeparatorPrimitive from '@radix-ui/react-separator';\nimport { separatorPropDefs } from './separator.props';\nimport { extractMarginProps, withMarginProps, withBreakpoints } from '../helpers';\nconst Separator = React.forwardRef((props, forwardedRef) => {\n  const {\n    rest: marginRest,\n    ...marginProps\n  } = extractMarginProps(props);\n  const {\n    className,\n    size = separatorPropDefs.size.default,\n    color = separatorPropDefs.color.default,\n    ...separatorProps\n  } = marginRest;\n  return React.createElement(SeparatorPrimitive.Root, {\n    \"data-accent-color\": color,\n    ...separatorProps,\n    ref: forwardedRef,\n    className: classNames('rt-Separator', className, withBreakpoints(size, 'rt-r-size'), withMarginProps(marginProps))\n  });\n});\nSeparator.displayName = 'Separator';\nexport { Separator };","map":{"version":3,"names":["React","classNames","SeparatorPrimitive","separatorPropDefs","extractMarginProps","withMarginProps","withBreakpoints","Separator","forwardRef","props","forwardedRef","rest","marginRest","marginProps","className","size","default","color","separatorProps","createElement","Root","ref","displayName"],"sources":["../../../src/components/separator.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAY;;AAEZ,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAO,KAAKC,kBAAkB,MAAM,2BAA2B;AAC/D,SAASC,iBAAiB,QAAQ,mBAAmB;AACrD,SAASC,kBAAkB,EAAEC,eAAe,EAAEC,eAAe,QAAQ,YAAY;AAUjF,MAAMC,SAAS,GAAGP,KAAK,CAACQ,UAAU,CAAmC,CAACC,KAAK,EAAEC,YAAY,KAAI;EAC3F,MAAM;IAAEC,IAAI,EAAEC,UAAU;IAAE,GAAGC;EAAW,CAAE,GAAGT,kBAAkB,CAACK,KAAK,CAAC;EACtE,MAAM;IACJK,SAAS;IACTC,IAAI,GAAGZ,iBAAiB,CAACY,IAAI,CAACC,OAAO;IACrCC,KAAK,GAAGd,iBAAiB,CAACc,KAAK,CAACD,OAAO;IACvC,GAAGE;EAAc,CAClB,GAAGN,UAAU;EACd,OACEZ,KAAA,CAAAmB,aAAA,CAACjB,kBAAkB,CAACkB,IAAI;IAAA,qBACHH,KAAK;IAAA,GACpBC,cAAc;IAClBG,GAAG,EAAEX,YAAY;IACjBI,SAAS,EAAEb,UAAU,CACnB,cAAc,EACda,SAAS,EACTR,eAAe,CAACS,IAAI,EAAE,WAAW,CAAC,EAClCV,eAAe,CAACQ,WAAW,CAAC;EAC7B,EACD;AAEN,CAAC,CAAC;AACFN,SAAS,CAACe,WAAW,GAAG,WAAW;AAEnC,SAASf,SAAS"},"metadata":{},"sourceType":"module","externalDependencies":[]}