{"version":3,"file":"FormDivider.mjs","names":["AntDivider"],"sources":["../../../src/Form/components/FormDivider.tsx"],"sourcesContent":["'use client';\n\nimport { Divider as AntDivider } from 'antd';\nimport { createStaticStyles, cx } from 'antd-style';\nimport { type FC } from 'react';\n\nimport type { FormDividerProps } from '../type';\n\nconst styles = createStaticStyles(({ css }) => {\n  return {\n    root: css`\n      margin: 0;\n      opacity: 0.66;\n    `,\n  };\n});\n\nconst FormDivider: FC<FormDividerProps> = ({ visible = true, style, className, ...rest }) => {\n  return (\n    <AntDivider\n      className={cx(styles.root, className)}\n      style={{\n        opacity: visible ? 1 : 0,\n        ...style,\n      }}\n      {...rest}\n    />\n  );\n};\n\nFormDivider.displayName = 'FormDivider';\n\nexport default FormDivider;\n"],"mappings":";;;;;AAQA,MAAM,SAAS,oBAAoB,EAAE,UAAU;AAC7C,QAAO,EACL,MAAM,GAAG;;;OAIV;EACD;AAEF,MAAM,eAAqC,EAAE,UAAU,MAAM,OAAO,WAAW,GAAG,WAAW;AAC3F,QACE,oBAACA,SAAD;EACE,WAAW,GAAG,OAAO,MAAM,UAAU;EACrC,OAAO;GACL,SAAS,UAAU,IAAI;GACvB,GAAG;GACJ;EACD,GAAI;EACJ,CAAA;;AAIN,YAAY,cAAc"}