{"version":3,"file":"static/chunks/405.6b968210abf88758.js","mappings":"AAyFA,cAAAA,KAAAC,gBAAA,CAAAD,KAAAC,gBAAA,MAAAC,IAAA,sBAAAC,CAAA,CAAAC,CAAA,CAAAC,CAAA,EAAAA,EAAAA,CAAA,CAAAD,GAAAC,EAAA,WAAAC,EAAAD,EAAA,MAAAE,EAAAF,EAAA,gBAAAG,EAAAL,CAAA,MAAAC,EAAAD,EAAAM,QAAA,CAAAJ,EAAAF,EAAAO,GAAA,CAAAF,EAAAL,EAAAQ,EAAA,CAAAC,EAAAT,EAAAU,SAAA,CAAAC,EAAAX,EAAAY,MAAA,CAAAC,EAAAb,EAAAc,SAAA,CAAAC,EAAAf,EAAAgB,WAAA,KAAAf,EAAA,gBAAAgB,EAAA,GAAAd,EAAAe,EAAA,EAAAjB,GAAAkB,EAAA,GAAAhB,EAAAiB,EAAA,EAAAnB,GAAA,OAAAQ,EAAAA,EAAA,cAAAY,MAAA,CAAAZ,GAAA,gBAAAL,EAAAkB,GAAA,EAAApB,EAAA,CAAAM,GAAAH,EAAAK,UAAAD,EAAA,kBAAAI,EAAA,iBAAAE,EAAAQ,MAAAZ,EAAAL,SAAAa,EAAA,+BAAAlB,EAAAuB,GAAA,CAAAvB,EAAAA,EAAAuB,GAAA,UAAAxB,CAAA,SAAAA,CAAA,SAAAA,EAAA,CAAAyB,QAAAC,GAAA,iBAAAzB,EAAA,KAAAgB,EAAA,GAAAb,EAAAkB,GAAA,UAAAK,wBAAA,CAAAC,OAAA3B,CAAA,SAAAI,EAAAwB,YAAA,EAAAtB,IAAA,IAAAG,UAAA,GAAAE,OAAA,GAAAE,UAAA,IAAAb,EAAA6B,OAAA,CAAAzB,CAAA","sources":["webpack://_N_E/./components/Eyebrow/Eyebrow.js","webpack://_N_E/"],"sourcesContent":["import PropTypes from 'prop-types'\nimport React from 'react'\nimport {isString, isObject} from '../../adapters/helpers/Utils';\n\nfunction Eyebrow({children, tag: Tag, id, className, styles, whiteText, blueEyebrow}) {\n\n if (!children) {\n return null\n }\n\n const isStringChildren = isString(children);\n const isObjectChildren = isObject(children);\n\n className = className ? `ob-eyebrow ${className}` : 'ob-eyebrow';\n\n const renderChildren = () => {\n try {\n if (typeof children.map == 'undefined') {\n return children\n } else {\n return children.map((child)=> child);\n }\n }\n catch {\n console.log('Eyebrow error', children);\n }\n }\n\n return (\n \n\n { isObjectChildren ? (\n renderChildren()\n ) : (\n isStringChildren ? ( ) : ('')\n )}\n\n \n )\n}\n\nEyebrow.propTypes = {\n /**\n * The html to be structured\n */\n children: PropTypes.node,\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 * Add custom styles to the eyebrow\n */\n styles: PropTypes.object,\n\n /**\n * Set white text if needed\n */\n whiteText: PropTypes.bool,\n\n /**\n * Set blue primary color on the eyebrow\n */\n blueEyebrow: PropTypes.bool,\n}\n\nEyebrow.defaultProps = {\n tag: 'p',\n className: '',\n styles: {},\n whiteText: false\n }\n\nexport default Eyebrow\n\n","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{405:function(e,t,r){r.r(t);r(67294);var a=r(8996),n=r(85893);function s(e){var t=e.children,r=e.tag,s=e.id,l=e.className,o=e.styles,u=e.whiteText,c=e.blueEyebrow;if(!t)return null;var i=(0,a.HD)(t),b=(0,a.Kn)(t);l=l?\"ob-eyebrow \".concat(l):\"ob-eyebrow\";return(0,n.jsx)(r,{id:s,className:l,\"data-white-text\":u,\"data-blue-text\":c,style:o,children:b?function(){try{return void 0===t.map?t:t.map((function(e){return e}))}catch(e){console.log(\"Eyebrow error\",t)}}():i?(0,n.jsx)(\"span\",{dangerouslySetInnerHTML:{__html:t}}):\"\"})}s.defaultProps={tag:\"p\",className:\"\",styles:{},whiteText:!1},t.default=s}}]);"],"names":["self","webpackChunk_N_E","push","e","t","r","a","n","s","children","tag","id","l","className","o","styles","u","whiteText","c","blueEyebrow","i","HD","b","Kn","concat","jsx","style","map","console","log","dangerouslySetInnerHTML","__html","defaultProps","default"],"sourceRoot":""}