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,gBACRc,GAAK,SAACjB,GAAD,QAAWG,eAAa,GAAKY,EAA7B,CAAoCC,IAAKA,MAG5CD,EAAMX,WACRa,GAAK,SAACjB,GAAD,QAAWI,UAAQ,GAAKW,EAAxB,CAA+BC,IAAKA,MAEvCD,EAAMV,YACRY,GAAK,SAACjB,GAAD,QAAWK,WAAS,GAAKU,EAAzB,CAAgCC,IAAKA,MAGxCD,EAAMK,YACRH,GAAK,SAACX,GAAD,UAAeS,EAAf,CAAsBC,IAAKA,MAG9BD,EAAMR,gBACRU,GAAK,SAACX,GAAD,QAAWC,eAAa,GAAKQ,EAA7B,CAAoCC,IAAKA,MAG5CD,EAAMM,SACRJ,GAAK,SAACT,GAAD,UAAUO,EAAV,CAAiBC,IAAKA,MAGzBD,EAAMO,WACRL,GAAK,SAACR,GAAD,QAAUc,KAAK,UAAU,aAAW,KAAQR,EAA5C,CAAmDC,IAAKA,MAG3DD,EAAMS,WACRP,GAAK,SAACP,GAAD,QAAUa,KAAK,UAAU,aAAW,KAAQR,EAA5C,CAAmDC,IAAKA,MAG3DD,EAAMU,WACRR,GAAK,SAACN,GAAD,QAAUY,KAAK,UAAU,aAAW,KAAQR,EAA5C,CAAmDC,IAAKA,MAG3DD,EAAMW,WACRT,GAAK,SAACL,GAAD,QAAUW,KAAK,UAAU,aAAW,KAAQR,EAA5C,CAAmDC,IAAKA,MAG3DD,EAAMG,WACRD,GAAK,SAAC/B,GAAD,UAAoB6B,EAApB,CAA2BC,IAAKA,MAGhCC,KAGTJ,EAAcc,YAAc,gBAE5B","sources":["webpack://audioeye-web/./src/components/common/Text.jsx"],"sourcesContent":["/* eslint-disable indent */\n\nimport React from 'react'\nimport styled from '@emotion/styled'\nimport { theme } from '../../styles'\n\nconst RichTextStyles = styled.div`\n /* Fallbacks */\n font-size: ${theme.fonts.size.body};\n font-family: ${theme.fonts.family.body};\n line-height: ${theme.fonts.lineHeight.body};\n letter-spacing: ${theme.fonts.letterSpacing.body};\n /* Prop based font styles (i.e. font=\"heading2\" - only for RichText fields) */\n font-size: ${p => p.font && theme.fonts.size[p.font]}!important;\n font-family: ${p => p.font && theme.fonts.family[p.font]}!important;\n line-height: ${p => p.font && theme.fonts.lineHeight[p.font]}!important;\n letter-spacing: ${p => p.font && theme.fonts.letterSpacing[p.font]}!important;\n color: ${p => (p.color ? theme.color[p.color] : theme.color.offBlack)};\n text-transform: ${p => (p.font === 'smallCaps' ? 'uppercase' : '')};\n text-align: ${p => (p.center ? 'center' : 'left')};\n z-index: 1;\n\n * {\n /* Fallbacks */\n font-size: ${theme.fonts.size.body};\n font-family: ${theme.fonts.family.body};\n line-height: ${theme.fonts.lineHeight.body};\n letter-spacing: ${theme.fonts.letterSpacing.body};\n /* Prop based font styles (i.e. font=\"heading2\" - only for RichText fields) */\n font-size: ${p => p.font && theme.fonts.size[p.font]}!important;\n font-family: ${p => p.font && theme.fonts.family[p.font]}!important;\n line-height: ${p => p.font && theme.fonts.lineHeight[p.font]}!important;\n letter-spacing: ${p => p.font && theme.fonts.letterSpacing[p.font]}!important;\n color: ${p => (p.color ? theme.color[p.color] : theme.color.offBlack)};\n text-transform: ${p => (p.font === 'smallCaps' ? 'uppercase' : '')};\n text-align: ${p => (p.center ? 'center' : 'left')};\n z-index: 1;\n\n a,\n a strong {\n color: ${theme.color.purple500};\n }\n }\n\n p {\n margin-bottom: 1em;\n }\n\n pre {\n font-family: ${theme.fonts.family.smallCaps};\n font-size: ${theme.fonts.size.smallBody};\n }\n\n a[target='_blank'],\n a[target='blank'] {\n ::before {\n content: '(Opens in a new tab)';\n position: absolute;\n left: -9000px;\n width: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n font-size: ${theme.fonts.size.tinyBody};\n text-align: center;\n padding: 4px;\n border-radius: 3px;\n background-color: ${theme.color.white};\n }\n &:focus,\n &:hover,\n &:active {\n ::before {\n top: 2em;\n left: 1em;\n width: auto;\n color: ${theme.color.offBlack};\n clip: unset;\n z-index: 9999;\n border: 1px solid ${theme.color.gray400};\n background-color: ${theme.color.white};\n @media (max-width: 800px) {\n display: none;\n }\n }\n }\n }\n`\n\nconst Text = styled.p`\n color: ${p => (p.color ? theme.color[p.color] : theme.color.offBlack)};\n font-size: ${theme.fonts.size.body};\n font-family: ${theme.fonts.family.body};\n line-height: ${theme.fonts.lineHeight.body};\n z-index: 1;\n\n ${p =>\n p.bodyHeavy &&\n `\n font-size: ${theme.fonts.size.bodyHeavy};\n font-family: ${theme.fonts.family.bodyHeavy};\n line-height: ${theme.fonts.lineHeight.bodyHeavy};\n `};\n ${p =>\n p.largeBody &&\n `\n font-size: ${theme.fonts.size.largeBody};\n font-family: ${theme.fonts.family.largeBody};\n line-height: ${theme.fonts.lineHeight.largeBody};\n `};\n ${p => p.center && `text-align: center;`}\n ${p =>\n p.underline &&\n `\n text-decoration: underline;\n text-underline-offset: 4px;\n `};\n ${p => p.strikeThrough && `text-decoration: line-through;`}\n ${p =>\n p.numberOfLines &&\n `overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ${p.numberOfLines};`}\n * {\n color: ${p => (p.color ? theme.color[p.color] : theme.color.offBlack)};\n font-size: ${theme.fonts.size.body};\n font-family: ${theme.fonts.family.body};\n line-height: ${theme.fonts.lineHeight.body};\n ${p =>\n p.bodyHeavy &&\n `\n font-size: ${theme.fonts.size.bodyHeavy};\n font-family: ${theme.fonts.family.bodyHeavy};\n line-height: ${theme.fonts.lineHeight.bodyHeavy};\n `};\n ${p =>\n p.largeBody &&\n `\n font-size: ${theme.fonts.size.largeBody};\n font-family: ${theme.fonts.family.largeBody};\n line-height: ${theme.fonts.lineHeight.largeBody};\n `};\n ${p => p.center && `text-align: center;`}\n ${p =>\n p.uppercase &&\n `\n text-transform: uppercase;\n letter-spacing: .5px;\n `};\n ${p =>\n p.underline &&\n `\n text-decoration: underline;\n text-underline-offset: 4px;\n `};\n ${p =>\n p.strikeThrough &&\n `\n text-decoration: line-through;\n `};\n ${p => p.onClick && `cursor: pointer;`}\n ${p =>\n p.numberOfLines &&\n `overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ${p.numberOfLines};`}\n a,\n a em,\n a strong,\n li a,\n a p {\n text-decoration: underline;\n text-underline-offset: 4px;\n color: ${theme.color.purple500};\n\n &:hover {\n color: ${theme.color.white};\n }\n }\n\n a[target='_blank'],\n a[target='blank'] {\n ::before {\n content: '(Opens in a new tab)';\n position: absolute;\n left: -9000px;\n width: 0;\n overflow: hidden;\n clip: rect(0 0 0 0);\n white-space: nowrap;\n font-size: ${theme.fonts.size.tinyBody};\n text-align: center;\n padding: 4px;\n border-radius: 3px;\n background-color: ${theme.color.white};\n }\n &:focus,\n &:hover,\n &:active {\n ::before {\n top: 2em;\n left: 1em;\n width: auto;\n color: ${theme.color.offBlack};\n clip: unset;\n z-index: 9999;\n border: 1px solid ${theme.color.gray400};\n background-color: ${theme.color.white};\n @media (max-width: 800px) {\n display: none;\n }\n }\n }\n }\n }\n\n a,\n a em,\n a strong,\n li a,\n a p {\n text-decoration: underline;\n text-underline-offset: 4px;\n color: ${theme.color.purple500};\n\n &:hover {\n color: ${theme.color.white};\n }\n }\n`\n\nconst SmallText = styled.p`\n color: ${p => (p.color ? theme.color[p.color] : theme.color.offBlack)};\n font-size: ${theme.fonts.size.smallBody};\n font-family: ${theme.fonts.family.smallBody};\n line-height: ${theme.fonts.lineHeight.smallBody};\n ${p =>\n p.smallBody &&\n `\n font-size: ${theme.fonts.size.smallBody};\n font-family: ${theme.fonts.family.smallBody};\n line-height: ${theme.fonts.lineHeight.smallBody};\n `};\n ${p =>\n p.smallBodyHeavy &&\n `\n font-size: ${theme.fonts.size.smallBodyHeavy};\n font-family: ${theme.fonts.family.smallBodyHeavy};\n line-height: ${theme.fonts.lineHeight.smallBodyHeavy};\n `};\n ${p =>\n p.smallBodyBold &&\n `\n font-size: ${theme.fonts.size.smallBodyBold};\n font-family: ${theme.fonts.family.smallBodyBold};\n line-height: ${theme.fonts.lineHeight.smallBodyBold};\n `};\n ${p =>\n p.tinyBody &&\n `\n font-size: ${theme.fonts.size.tinyBody};\n font-family: ${theme.fonts.family.tinyBody};\n line-height: ${theme.fonts.lineHeight.tinyBody};\n `};\n ${p =>\n p.microBody &&\n `\n font-size: ${theme.fonts.size.microBody};\n font-family: ${theme.fonts.family.microBody};\n line-height: ${theme.fonts.lineHeight.microBody};\n `};\n z-index: 1;\n ${p => p.center && `text-align: center;`}\n ${p =>\n p.underline &&\n `\n text-decoration: underline;\n text-underline-offset: 4px;\n `};\n ${p =>\n p.uppercase &&\n `\n text-transform: uppercase;\n letter-spacing: .5px;\n `};\n ${p =>\n p.numberOfLines &&\n `overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ${p.numberOfLines};`}\n`\n\nconst SmallCaps = styled.p`\n color: ${p => (p.color ? theme.color[p.color] : theme.color.offBlack)};\n font-size: ${theme.fonts.size.smallCaps};\n font-family: ${theme.fonts.family.smallCaps};\n line-height: ${theme.fonts.lineHeight.smallCaps};\n letter-spacing: ${theme.fonts.letterSpacing.smallCaps};\n text-transform: uppercase;\n z-index: 1;\n\n ${p =>\n p.smallCapsSans &&\n `\n font-size: ${theme.fonts.size.smallCapsSans};\n font-family: ${theme.fonts.family.smallCapsSans};\n line-height: ${theme.fonts.lineHeight.smallCapsSans};\n letter-spacing: ${theme.fonts.letterSpacing.smallCapsSans};\n `};\n ${p => p.center && `text-align: center;`}\n ${p =>\n p.underline &&\n `\n text-decoration: underline;\n text-underline-offset: 4px;\n `};\n ${p =>\n p.uppercase &&\n `\n text-transform: uppercase;\n letter-spacing: .5px;\n `};\n ${p =>\n p.numberOfLines &&\n `overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ${p.numberOfLines};`}\n`\n\nconst Span = styled.span`\n font-size: ${theme.fonts.size.body};\n font-family: ${theme.fonts.family.body};\n line-height: ${theme.fonts.lineHeight.body};\n font-size: ${p => p.font && theme.fonts.size[p.font]};\n font-family: ${p => p.font && theme.fonts.family[p.font]};\n line-height: ${p => p.font && theme.fonts.lineHeight[p.font]};\n color: ${p => (p.color ? theme.color[p.color] : theme.color.offBlack)};\n z-index: 1;\n ${p => p.center && `text-align: center;`}\n ${p =>\n p.underline &&\n `\n text-decoration: underline;\n text-underline-offset: 4px;\n `};\n ${p =>\n p.uppercase &&\n `\n text-transform: uppercase;\n letter-spacing: .5px;\n `};\n ${p => p.strikeThrough && `text-decoration: line-through;`}\n`\n\nconst Heading1 = styled.h1`\n color: ${p => (p.color ? theme.color[p.color] : theme.color.offBlack)};\n ${p => p.center && `text-align: center;`}\n z-index: 1;\n ${p =>\n p.underline &&\n `\n text-decoration: underline;\n text-underline-offset: 4px;\n `};\n ${p =>\n p.uppercase &&\n `\n text-transform: uppercase;\n letter-spacing: .5px;\n `};\n ${p =>\n p.numberOfLines &&\n `overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ${p.numberOfLines};`}\n`\n\nconst Heading2 = styled.h2`\n color: ${p => (p.color ? theme.color[p.color] : theme.color.offBlack)};\n z-index: 1;\n ${p => p.center && `text-align: center;`}\n ${p =>\n p.underline &&\n `\n text-decoration: underline;\n text-underline-offset: 4px;\n `};\n ${p =>\n p.uppercase &&\n `\n text-transform: uppercase;\n letter-spacing: .5px;\n `};\n ${p =>\n p.numberOfLines &&\n `overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ${p.numberOfLines};`}\n`\n\nconst Heading3 = styled.h3`\n color: ${p => (p.color ? theme.color[p.color] : theme.color.offBlack)};\n z-index: 1;\n ${p => p.center && `text-align: center;`}\n ${p =>\n p.underline &&\n `\n text-decoration: underline;\n text-underline-offset: 4px;\n `};\n ${p =>\n p.uppercase &&\n `\n text-transform: uppercase;\n letter-spacing: .5px;\n `};\n ${p =>\n p.numberOfLines &&\n `overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ${p.numberOfLines};`}\n`\n\nconst Heading4 = styled.h4`\n color: ${p => (p.color ? theme.color[p.color] : theme.color.offBlack)};\n z-index: 1;\n ${p => p.center && `text-align: center;`}\n ${p =>\n p.underline &&\n `\n text-decoration: underline;\n text-underline-offset: 4px;\n `};\n ${p =>\n p.uppercase &&\n `\n text-transform: uppercase;\n letter-spacing: .5px;\n `};\n ${p =>\n p.numberOfLines &&\n `overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: ${p.numberOfLines};`}\n`\n\nconst TextComponent = React.forwardRef((props, ref) => {\n let el = \n\n if (props.richText) {\n el = \n }\n\n if (props.body) {\n el = \n }\n\n if (props.bodyHeavy) {\n el = \n }\n\n if (props.largeBody) {\n el = \n }\n\n if (props.smallBody) {\n el = \n }\n\n if (props.smallBodyHeavy) {\n el = \n }\n\n if (props.smallBodyBold) {\n el = \n }\n\n if (props.tinyBody) {\n el = \n }\n if (props.microBody) {\n el = \n }\n\n if (props.smallCaps) {\n el = \n }\n\n if (props.smallCapsSans) {\n el = \n }\n\n if (props.isSpan) {\n el = \n }\n\n if (props.heading1) {\n el = \n }\n\n if (props.heading2) {\n el = \n }\n\n if (props.heading3) {\n el = \n }\n\n if (props.heading4) {\n el = \n }\n\n if (props.richText) {\n el = \n }\n\n return el\n})\n\nTextComponent.displayName = 'TextComponent'\n\nexport default TextComponent\n"],"names":["RichTextStyles","theme","p","font","color","center","Text","bodyHeavy","largeBody","underline","strikeThrough","numberOfLines","uppercase","onClick","SmallText","smallBody","smallBodyHeavy","smallBodyBold","tinyBody","microBody","SmallCaps","smallCapsSans","Span","Heading1","Heading2","Heading3","Heading4","TextComponent","React","props","ref","el","richText","body","smallCaps","isSpan","heading1","role","heading2","heading3","heading4","displayName"],"sourceRoot":""}