{"version":3,"file":"static/chunks/5061.2d9af9e47772f0f8.js","mappings":"AA0DA,cAAAA,KAAAC,gBAAA,CAAAD,KAAAC,gBAAA,MAAAC,IAAA,8BAAAC,CAAA,CAAAC,CAAA,CAAAC,CAAA,EAAAA,EAAAC,CAAA,CAAAF,GAAAC,EAAA,WAAAE,EAAAF,EAAA,OAAAG,EAAAH,EAAAG,CAAA,CAAAD,GAAAE,EAAAJ,EAAA,gBAAAK,EAAAP,CAAA,MAAAC,EAAAD,EAAAQ,QAAA,CAAAN,EAAAF,EAAAS,GAAA,CAAAL,EAAAJ,EAAAU,EAAA,CAAAH,EAAAP,EAAAW,SAAA,CAAAC,EAAAZ,EAAAa,MAAA,CAAAC,EAAAd,EAAAe,SAAA,QAAAd,EAAAM,CAAAA,EAAAA,EAAA,cAAAS,MAAA,CAAAT,GAAA,gBAAAD,EAAAW,GAAA,EAAAf,EAAA,CAAAQ,GAAAN,EAAAO,UAAAJ,EAAA,kBAAAO,EAAAI,MAAAN,EAAAJ,SAAA,GAAAF,EAAAW,GAAA,UAAAE,wBAAA,CAAAC,OAAAf,IAAAgB,QAAA,CAAApB,EAAA,YAAAM,EAAAe,YAAA,EAAAb,IAAA,KAAAE,UAAA,GAAAE,OAAA,GAAAE,UAAA,IAAAd,EAAAsB,OAAA,CAAAhB,CAAA","sources":["webpack://_N_E/./components/Heading/Heading.js","webpack://_N_E/"],"sourcesContent":["import React from 'react'\nimport PropTypes from 'prop-types'\nimport DOMPurify from 'isomorphic-dompurify';\n\nfunction Heading({children, tag: Tag, id, className, styles, whiteText}) {\n\n if (!children) {\n return null\n }\n\n className = className ? `ob-heading ${className}` : 'ob-heading';\n\n return (\n \n \n \n )\n}\n\nHeading.propTypes = {\n /**\n * The html to be structured\n */\n children: PropTypes.string,\n\n /**\n * The tag to be used for the containing element\n */\n tag: PropTypes.string,\n\n /**\n * The ID attribute be added to the element\n */\n id: PropTypes.string,\n\n /**\n * The Class attribute be added to the element\n */\n className: PropTypes.string,\n\n /**\n * Set white text if needed\n */\n whiteText: PropTypes.bool,\n\n /**\n * Add custom styles to the heading\n */\n styles: PropTypes.object\n}\n\nHeading.defaultProps = {\n tag: 'h2',\n className: '',\n styles: {},\n whiteText: false\n }\n\nexport default Heading\n\n","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5061,2116],{92116:function(e,t,a){a.r(t);a(67294);var s=a(29238),n=a.n(s),l=a(85893);function i(e){var t=e.children,a=e.tag,s=e.id,i=e.className,c=e.styles,h=e.whiteText;return t?(i=i?\"ob-heading \".concat(i):\"ob-heading\",(0,l.jsx)(a,{id:s,className:i,\"data-white-text\":h,style:c,children:(0,l.jsx)(\"span\",{dangerouslySetInnerHTML:{__html:n().sanitize(t)}})})):null}i.defaultProps={tag:\"h2\",className:\"\",styles:{},whiteText:!1},t.default=i}}]);"],"names":["self","webpackChunk_N_E","push","e","t","a","r","s","n","l","i","children","tag","id","className","c","styles","h","whiteText","concat","jsx","style","dangerouslySetInnerHTML","__html","sanitize","defaultProps","default"],"sourceRoot":""}