{"version":3,"file":"978-a0385a88169d57fb0df8.js","mappings":"yMAOMA,GAAqBC,EAAAA,EAAAA,KACzB,SAAAC,GAOM,IANJC,EAAID,EAAJC,KACAC,EAAKF,EAALE,MACAC,EAAIH,EAAJG,KAAIC,EAAAJ,EACJK,QAAAA,OAAO,IAAAD,GAAQA,EACfE,EAAIN,EAAJM,KAAIC,EAAAP,EACJQ,SAAAA,OAAQ,IAAAD,GAAQA,EAEhB,OACEE,IAAAA,cAACC,IAAAA,MAAU,CAAC,qBAAoBT,EAAMU,UAAU,0BAC7CT,GAASO,IAAAA,cAACC,IAAAA,aAAiB,KACzBR,EACAC,GAAQE,GAAWI,IAAAA,cAACC,IAAAA,SAAa,CAACL,SAAO,GAAEF,GAC3CK,GAAYC,IAAAA,cAACG,EAAAA,GAAY,OAE5BH,IAAAA,cAACI,EAAAA,GAAW,CAACP,KAAMA,IAClBH,IAASE,GAAWI,IAAAA,cAACC,IAAAA,SAAa,KAAEP,GAG3C,GACA,CAAC,QAAS,OAAQ,UAEpBW,EAAAA,EAAAA,GAAM,8BAEN,W","sources":["webpack:///./react-rsuite5/placeholder/index.js"],"sourcesContent":["import React from 'react';\nimport Form from 'rsuite/Form';\n\nimport { RequiredIcon, I18N } from '../../components';\nimport { Placeholder } from '../../common';\nimport { lfLog } from '../../helpers/lf-log';\n\nconst PlaceholderRSuite5 = I18N(\n  ({\n    name,\n    label,\n    hint,\n    tooltip = false,\n    text,\n    required = false\n  }) => {\n    return (\n      <Form.Group data-lf-field-name={name} className=\"lf-control-placeholder\">\n        {label && <Form.ControlLabel>\n          {label}\n          {hint && tooltip && <Form.HelpText tooltip>{hint}</Form.HelpText>}\n          {required && <RequiredIcon />}\n        </Form.ControlLabel>}\n        <Placeholder text={text} />\n        {hint && !tooltip && <Form.HelpText>{hint}</Form.HelpText>}\n      </Form.Group>\n    );\n  },\n  ['label', 'hint', 'text']\n);\nlfLog('Loaded RSuite5.Placeholder');\n\nexport default PlaceholderRSuite5;\n"],"names":["PlaceholderRSuite5","I18N","_ref","name","label","hint","_ref$tooltip","tooltip","text","_ref$required","required","React","Form","className","RequiredIcon","Placeholder","lfLog"],"sourceRoot":""}