{"ast":null,"code":"import classNames from 'classnames';\nimport * as React from 'react';\nimport FormGroup from './FormGroup';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst FloatingLabel = /*#__PURE__*/React.forwardRef((_ref, ref) => {\n  let {\n    bsPrefix,\n    className,\n    children,\n    controlId,\n    label,\n    ...props\n  } = _ref;\n  bsPrefix = useBootstrapPrefix(bsPrefix, 'form-floating');\n  return /*#__PURE__*/_jsxs(FormGroup, {\n    ref: ref,\n    className: classNames(className, bsPrefix),\n    controlId: controlId,\n    ...props,\n    children: [children, /*#__PURE__*/_jsx(\"label\", {\n      htmlFor: controlId,\n      children: label\n    })]\n  });\n});\nFloatingLabel.displayName = 'FloatingLabel';\nexport default FloatingLabel;","map":{"version":3,"sources":["/home/mohammed/project/React_M/node_modules/react-bootstrap/esm/FloatingLabel.js"],"names":["classNames","React","FormGroup","useBootstrapPrefix","jsx","_jsx","jsxs","_jsxs","FloatingLabel","forwardRef","ref","bsPrefix","className","children","controlId","label","props","htmlFor","displayName"],"mappings":"AAAA,OAAOA,UAAP,MAAuB,YAAvB;AACA,OAAO,KAAKC,KAAZ,MAAuB,OAAvB;AACA,OAAOC,SAAP,MAAsB,aAAtB;AACA,SAASC,kBAAT,QAAmC,iBAAnC;AACA,SAASC,GAAG,IAAIC,IAAhB,QAA4B,mBAA5B;AACA,SAASC,IAAI,IAAIC,KAAjB,QAA8B,mBAA9B;AACA,MAAMC,aAAa,GAAG,aAAaP,KAAK,CAACQ,UAAN,CAAiB,OAOjDC,GAPiD,KAOzC;AAAA,MAP0C;AACnDC,IAAAA,QADmD;AAEnDC,IAAAA,SAFmD;AAGnDC,IAAAA,QAHmD;AAInDC,IAAAA,SAJmD;AAKnDC,IAAAA,KALmD;AAMnD,OAAGC;AANgD,GAO1C;AACTL,EAAAA,QAAQ,GAAGR,kBAAkB,CAACQ,QAAD,EAAW,eAAX,CAA7B;AACA,SAAO,aAAaJ,KAAK,CAACL,SAAD,EAAY;AACnCQ,IAAAA,GAAG,EAAEA,GAD8B;AAEnCE,IAAAA,SAAS,EAAEZ,UAAU,CAACY,SAAD,EAAYD,QAAZ,CAFc;AAGnCG,IAAAA,SAAS,EAAEA,SAHwB;AAInC,OAAGE,KAJgC;AAKnCH,IAAAA,QAAQ,EAAE,CAACA,QAAD,EAAW,aAAaR,IAAI,CAAC,OAAD,EAAU;AAC9CY,MAAAA,OAAO,EAAEH,SADqC;AAE9CD,MAAAA,QAAQ,EAAEE;AAFoC,KAAV,CAA5B;AALyB,GAAZ,CAAzB;AAUD,CAnBkC,CAAnC;AAoBAP,aAAa,CAACU,WAAd,GAA4B,eAA5B;AACA,eAAeV,aAAf","sourcesContent":["import classNames from 'classnames';\nimport * as React from 'react';\nimport FormGroup from './FormGroup';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst FloatingLabel = /*#__PURE__*/React.forwardRef(({\n  bsPrefix,\n  className,\n  children,\n  controlId,\n  label,\n  ...props\n}, ref) => {\n  bsPrefix = useBootstrapPrefix(bsPrefix, 'form-floating');\n  return /*#__PURE__*/_jsxs(FormGroup, {\n    ref: ref,\n    className: classNames(className, bsPrefix),\n    controlId: controlId,\n    ...props,\n    children: [children, /*#__PURE__*/_jsx(\"label\", {\n      htmlFor: controlId,\n      children: label\n    })]\n  });\n});\nFloatingLabel.displayName = 'FloatingLabel';\nexport default FloatingLabel;"]},"metadata":{},"sourceType":"module"}