{"version":3,"sources":["webpack:///./src/components/ResourcesComponents/ResourcesCard.tsx","webpack:///./src/components/CustomerStories/CustomerTemplateLayout.tsx","webpack:///./src/components/CustomerStories/CustomerRightCol.tsx","webpack:///./node_modules/@material-ui/icons/Twitter.js","webpack:///./node_modules/@material-ui/core/esm/Typography/Typography.js","webpack:///./node_modules/@material-ui/core/esm/Link/Link.js","webpack:///./src/components/ResourcesComponents/ResourceLeftCol.tsx","webpack:///./src/templates/resource.tsx","webpack:///./src/images/back-left-arrow.svg","webpack:///./node_modules/@material-ui/icons/LinkedIn.js","webpack:///./node_modules/@material-ui/icons/Facebook.js"],"names":["getResourceCardColor","text","ResourcesItem","post","index","formatDate","date","formatedMonth","substring","featureImage","resources","featuredImage","localFile","childImageSharp","fluid","FirstPostContainer","FirstImageContainer","FirstImage","TextContainer","FirstPostInfoBar","Pill","color","category","Date","FirstPostTitle","title","FirstDescription","description","ReadMoreLink","to","appendUrlPartnerTracking","slug","src","Arrow","PostCard","SecondaryImage","TextContainerBackground","PostTitle","styled","h3","p","h5","div","Link","props","Img","span","CustomerTemplateLayout","children","Container","CustomerRightCol","_interopRequireDefault","_interopRequireWildcard","Object","defineProperty","exports","value","default","React","_default","createElement","d","defaultVariantMapping","h1","h2","h4","h6","subtitle1","subtitle2","body1","body2","ref","_props$align","align","classes","className","_props$color","component","_props$display","display","_props$gutterBottom","gutterBottom","_props$noWrap","noWrap","_props$paragraph","paragraph","_props$variant","variant","_props$variantMapping","variantMapping","other","Component","root","concat","capitalize","withStyles","theme","margin","typography","caption","button","overline","srOnly","position","height","width","overflow","alignLeft","textAlign","alignCenter","alignRight","alignJustify","textOverflow","whiteSpace","marginBottom","colorInherit","colorPrimary","palette","primary","main","colorSecondary","secondary","colorTextPrimary","colorTextSecondary","colorError","error","displayInline","displayBlock","name","_props$component","onBlur","onFocus","TypographyClasses","_props$underline","underline","_useIsFocusVisible","useIsFocusVisible","isFocusVisible","onBlurVisible","focusVisibleRef","_React$useState","focusVisible","setFocusVisible","handlerRef","useForkRef","event","underlineNone","textDecoration","underlineHover","underlineAlways","WebkitTapHighlightColor","backgroundColor","outline","border","borderRadius","padding","cursor","userSelect","verticalAlign","borderStyle","useStyles","makeStyles","customHoverFocus","marginRight","icon","fill","ResourceLeftCol","useState","URL","setURL","useEffect","window","location","href","Inner","Title","Course","BackLink","arrhead","alt","Line","SocialIcons","StyledIconButton","aria-label","target","second","img","brand","blue","IconButton","BackToResources","resourceTemplate","data","wpPost","pageContext","breadcrumbData","url","featImg","mediaItemUrl","e","renderedBlocks","LazyBlocksFactory","lazy_data","Layout","MainGrid","noPaddingMobile","noPaddingTablet","backgroundMobile","Breadcrumb","style","downloadLink","DownloadLink","download","Button","MainImage","map","v","a","module"],"mappings":"8FAAA,2KAOO,SAASA,EAAqBC,GACnC,OAAQA,GACN,IAAK,OACH,MAAO,UACT,IAAK,SACH,MAAO,UACT,IAAK,YACH,MAAO,UACT,IAAK,eACH,MAAO,UACT,QACE,MAAO,WAUN,IAAMC,EAAkD,SAAH,GAGtD,IAFJC,EAAI,EAAJA,KACAC,EAAK,EAALA,MAIA,SAASC,EAAWC,GAChB,IACIC,EAAe,GACnB,OAFcD,EAAKE,UAAU,EAAG,IAG9B,IAAK,KAAKD,EAAgB,UAC1B,MACA,IAAK,KAAKA,EAAgB,WAC1B,MACA,IAAK,KAAKA,EAAgB,QAC1B,MACA,IAAK,KAAKA,EAAgB,QAC1B,MACA,IAAK,KAAKA,EAAgB,MAC1B,MACA,IAAK,KAAKA,EAAgB,OAC1B,MACA,IAAK,KAAKA,EAAgB,OAC1B,MACA,IAAK,KAAKA,EAAgB,SAC1B,MACA,IAAK,KAAKA,EAAgB,YAC1B,MACA,IAAK,KAAKA,EAAgB,UAC1B,MACA,IAAK,KAAKA,EAAgB,WAC1B,MACA,IAAK,KAAKA,EAAgB,WAQ5B,OAJoBD,EAAKE,UAAU,EAAG,IAGF,IAAKD,EAAgB,KAFpCD,EAAKE,UAAU,EAAG,GAK3C,IAAIC,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hL,IAAOQ,KAAI,oEAAXR,CAAW,mDAKNA,YAAOO,KAAI,yEAAXP,CAAW,gCAIvB6K,GAAe7K,IAAOmL,EAAC,4EAARnL,CAAQ,0C,mBCtN7BoL,EAAOnK,QAAU,kpC,kCCEjB,IAAIJ,EAAyB,EAAQ,QACjCC,EAA0B,EAAQ,QACtCC,OAAOC,eAAeC,EAAS,aAAc,CAC3CC,OAAO,IAETD,EAAQE,aAAU,EAClB,IAAIC,EAAQN,EAAwB,EAAQ,SAExCO,GAAW,EADMR,EAAuB,EAAQ,SAClBM,SAAuBC,EAAME,cAAc,OAAQ,CACnFC,EAAG,4WACD,YACJN,EAAQE,QAAUE,G,kCCXlB,IAAIR,EAAyB,EAAQ,QACjCC,EAA0B,EAAQ,QACtCC,OAAOC,eAAeC,EAAS,aAAc,CAC3CC,OAAO,IAETD,EAAQE,aAAU,EAClB,IAAIC,EAAQN,EAAwB,EAAQ,SAExCO,GAAW,EADMR,EAAuB,EAAQ,SAClBM,SAAuBC,EAAME,cAAc,OAAQ,CACnFC,EAAG,wJACD,YACJN,EAAQE,QAAUE","file":"component---src-templates-resource-tsx-e9836db5a2e09da1884f.js","sourcesContent":["import React from 'react'\nimport styled from 'styled-components'\nimport { Link } from 'gatsby'\nimport Img from 'gatsby-image'\nimport Arrow from '../../images/link-arrow.svg'\nimport { appendUrlPartnerTracking } from '../../util/url'\n\nexport function getResourceCardColor(text: string) {\n switch (text) {\n case 'Blog':\n return '#00A3C7'\n case 'Events':\n return '#66C1BF'\n case 'Downloads':\n return '#C70F55'\n case 'White Papers':\n return '#F7A823'\n default:\n return '#00A3C7'\n }\n}\n\n\ninterface ResourcesCardInterface {\n post: any\n index: number\n}\n\nexport const ResourcesItem: React.FC = ({\n post,\n index,\n}) => {\n\n\n function formatDate(date: string){\n const month = date.substring(5, 7)\n let formatedMonth =''\n switch (month){\n case '01':formatedMonth = 'January'\n break\n case '02':formatedMonth = 'February'\n break\n case '03':formatedMonth = 'March' \n break\n case '04':formatedMonth = 'April'\n break\n case '05':formatedMonth = 'May' \n break \n case '06':formatedMonth = 'June' \n break \n case '07':formatedMonth = 'July' \n break \n case '08':formatedMonth = 'August' \n break \n case '09':formatedMonth = 'September' \n break \n case '10':formatedMonth = 'October' \n break \n case '11':formatedMonth = 'November' \n break\n case '12':formatedMonth = 'December'\n break\n }\n\n const formatedDay = date.substring(8, 10) \n const formatedYear = date.substring(0, 4) \n \n const formatedDate = formatedDay + \" \" +formatedMonth + \", \" + formatedYear \n return formatedDate\n }\n let featureImage = null;\n\n if(post.resources.featuredImage){\n featureImage= post.resources.featuredImage.localFile.childImageSharp.fluid\n \n }\n if (index === 0) {\n return (\n \n {featureImage && }\n \n \n \n {post.resources.category}\n \n {formatDate(post.date)}\n \n {post.title}\n {post.resources.description}\n \n Read more \n \n \n \n )\n } else {\n return (\n \n {featureImage &&(\n\n \n )}\n \n \n \n {post.resources.category}\n \n {formatDate(post.date)}\n \n {post.title}\n

{post.resources.description}

\n \n
\n )\n }\n}\n\nconst FirstPostTitle = styled.h3`\n font-weight: 700;\n line-height: 40px;\n padding-bottom: 16px;\n color: #1d1e22;\n`\nconst FirstDescription = styled.p`\n font-weight: 300;\n line-height: 30px;\n padding-bottom: 30px;\n color: #1d1e22;\n`\n\nconst PostTitle = styled.h5`\n font-weight: 700;\n font-size: 20px;\n line-height: 30px;\n padding-bottom: 16px;\n color: #1d1e22;\n`\nconst TextContainer = styled.div`\n flex: 1;\n \n width: 50%;\n @media (max-width: 768px ){\nwidth: 100%;\n}\n`\ninterface TextContainerBackground {\n color: string\n}\n\nconst ReadMoreLink = styled(Link)`\ndisplay: flex;\nflex-direction: row;\nheight: 20px;\n\nalign-items:center;\n& img{\nheight: 15px;\nmargin-left: 10px;\n}\n`\n\nconst TextContainerBackground = styled.div`\n flex: 1;\n background-color: #fafafa;\n padding-left: 30px;\n padding-right: 30px;\n padding-top: 20px;\n border-top: 3px solid ${(props) => props.color};\n min-height: 360px;\n \n /* max-height: 360px; */\n`\nconst FirstImageContainer = styled.div`\nwidth: 50%;\npadding-right: 49px;\ndisplay:flex;\nalign-items: center;\n@media (max-width: 768px ){\nwidth: 100%;\npadding-right: 0px;\n}\n`\nconst FirstImage = styled(Img)`\n width: 100%;\n\n`\n\nconst SecondaryImage = styled(Img)`\n //height: 270px;\n width:100%;\n // padding: 40px;\n /* min-width: 420px; */\n \n`\nconst FirstPostContainer = styled.div`\n display: flex;\n border-bottom: 1px solid #dadada;\n\n flex-direction: row;\n grid-area: 1 / 1 / 2 / 4;\n padding-bottom: 50px;\n margin-bottom: 50px;\n @media (max-width: 1024px) {\n grid-area: 1 / 1 / 2 / 3;\n }\n@media (max-width: 768px ){\nflex-direction: column;\n}\n \n`\n\nconst FirstPostInfoBar = styled.div`\n padding-top: 20px;\n padding-bottom: 20px;\n`\n\nconst PostCard = styled(Link)`\n &:hover {\n text-decoration: none;\n }\n`\n\ninterface PillBackground {\n color: string\n}\nconst Pill = styled.span`\n background-color: ${(props) => props.color};\n padding: 3px 8px;\n border-radius: 9px;\n color: white;\n font-size: 9px;\n text-transform: uppercase;\n margin-right: 9px;\n`\nconst Date = styled.span`\n font-size: 10px;\n font-weight: 700;\n color: #1d1e22;\n`\n","import React, { FunctionComponent } from 'react'\nimport styled from 'styled-components'\nimport MainGrid from '../styling/MainGrid'\n\nconst CustomerTemplateLayout: FunctionComponent = ({ children }) => {\n return (\n \n {children}\n \n )\n}\n\nexport default CustomerTemplateLayout\n\nconst Container = styled.div`\n display: flex;\n padding: 65px 0 0;\n`\n","import React, { FunctionComponent } from 'react'\nimport styled from 'styled-components'\n\nconst CustomerRightCol: FunctionComponent = ({ children }) => {\n return {children}\n}\n\nexport default CustomerRightCol\n\nconst Container = styled.div`\n width: 100%;\n padding-left: 0;\n \n /* p {\n padding-bottom: 55px !important;\n } */\n h2 {\n padding-bottom: 20px !important;\n }\n @media (min-width: 1024px) {\n padding-left: 11%;\n }\n`\n","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z\"\n}), 'Twitter');\nexports.default = _default;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n margin: 0\n },\n /* Styles applied to the root element if `variant=\"body2\"`. */\n body2: theme.typography.body2,\n /* Styles applied to the root element if `variant=\"body1\"`. */\n body1: theme.typography.body1,\n /* Styles applied to the root element if `variant=\"caption\"`. */\n caption: theme.typography.caption,\n /* Styles applied to the root element if `variant=\"button\"`. */\n button: theme.typography.button,\n /* Styles applied to the root element if `variant=\"h1\"`. */\n h1: theme.typography.h1,\n /* Styles applied to the root element if `variant=\"h2\"`. */\n h2: theme.typography.h2,\n /* Styles applied to the root element if `variant=\"h3\"`. */\n h3: theme.typography.h3,\n /* Styles applied to the root element if `variant=\"h4\"`. */\n h4: theme.typography.h4,\n /* Styles applied to the root element if `variant=\"h5\"`. */\n h5: theme.typography.h5,\n /* Styles applied to the root element if `variant=\"h6\"`. */\n h6: theme.typography.h6,\n /* Styles applied to the root element if `variant=\"subtitle1\"`. */\n subtitle1: theme.typography.subtitle1,\n /* Styles applied to the root element if `variant=\"subtitle2\"`. */\n subtitle2: theme.typography.subtitle2,\n /* Styles applied to the root element if `variant=\"overline\"`. */\n overline: theme.typography.overline,\n /* Styles applied to the root element if `variant=\"srOnly\"`. Only accessible to screen readers. */\n srOnly: {\n position: 'absolute',\n height: 1,\n width: 1,\n overflow: 'hidden'\n },\n /* Styles applied to the root element if `align=\"left\"`. */\n alignLeft: {\n textAlign: 'left'\n },\n /* Styles applied to the root element if `align=\"center\"`. */\n alignCenter: {\n textAlign: 'center'\n },\n /* Styles applied to the root element if `align=\"right\"`. */\n alignRight: {\n textAlign: 'right'\n },\n /* Styles applied to the root element if `align=\"justify\"`. */\n alignJustify: {\n textAlign: 'justify'\n },\n /* Styles applied to the root element if `nowrap={true}`. */\n noWrap: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n },\n /* Styles applied to the root element if `gutterBottom={true}`. */\n gutterBottom: {\n marginBottom: '0.35em'\n },\n /* Styles applied to the root element if `paragraph={true}`. */\n paragraph: {\n marginBottom: 16\n },\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main\n },\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n /* Styles applied to the root element if `color=\"textPrimary\"`. */\n colorTextPrimary: {\n color: theme.palette.text.primary\n },\n /* Styles applied to the root element if `color=\"textSecondary\"`. */\n colorTextSecondary: {\n color: theme.palette.text.secondary\n },\n /* Styles applied to the root element if `color=\"error\"`. */\n colorError: {\n color: theme.palette.error.main\n },\n /* Styles applied to the root element if `display=\"inline\"`. */\n displayInline: {\n display: 'inline'\n },\n /* Styles applied to the root element if `display=\"block\"`. */\n displayBlock: {\n display: 'block'\n }\n };\n};\nvar defaultVariantMapping = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n subtitle1: 'h6',\n subtitle2: 'h6',\n body1: 'p',\n body2: 'p'\n};\nvar Typography = /*#__PURE__*/React.forwardRef(function Typography(props, ref) {\n var _props$align = props.align,\n align = _props$align === void 0 ? 'inherit' : _props$align,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'initial' : _props$color,\n component = props.component,\n _props$display = props.display,\n display = _props$display === void 0 ? 'initial' : _props$display,\n _props$gutterBottom = props.gutterBottom,\n gutterBottom = _props$gutterBottom === void 0 ? false : _props$gutterBottom,\n _props$noWrap = props.noWrap,\n noWrap = _props$noWrap === void 0 ? false : _props$noWrap,\n _props$paragraph = props.paragraph,\n paragraph = _props$paragraph === void 0 ? false : _props$paragraph,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'body1' : _props$variant,\n _props$variantMapping = props.variantMapping,\n variantMapping = _props$variantMapping === void 0 ? defaultVariantMapping : _props$variantMapping,\n other = _objectWithoutProperties(props, [\"align\", \"classes\", \"className\", \"color\", \"component\", \"display\", \"gutterBottom\", \"noWrap\", \"paragraph\", \"variant\", \"variantMapping\"]);\n var Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className, variant !== 'inherit' && classes[variant], color !== 'initial' && classes[\"color\".concat(capitalize(color))], noWrap && classes.noWrap, gutterBottom && classes.gutterBottom, paragraph && classes.paragraph, align !== 'inherit' && classes[\"align\".concat(capitalize(align))], display !== 'initial' && classes[\"display\".concat(capitalize(display))]),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiTypography'\n})(Typography);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport capitalize from '../utils/capitalize';\nimport withStyles from '../styles/withStyles';\nimport { elementTypeAcceptingRef } from '@material-ui/utils';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport useForkRef from '../utils/useForkRef';\nimport Typography from '../Typography';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {},\n /* Styles applied to the root element if `underline=\"none\"`. */\n underlineNone: {\n textDecoration: 'none'\n },\n /* Styles applied to the root element if `underline=\"hover\"`. */\n underlineHover: {\n textDecoration: 'none',\n '&:hover': {\n textDecoration: 'underline'\n }\n },\n /* Styles applied to the root element if `underline=\"always\"`. */\n underlineAlways: {\n textDecoration: 'underline'\n },\n // Same reset as ButtonBase.root\n\n /* Styles applied to the root element if `component=\"button\"`. */\n button: {\n position: 'relative',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n '-moz-appearance': 'none',\n // Reset\n '-webkit-appearance': 'none',\n // Reset\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n },\n\n '&$focusVisible': {\n outline: 'auto'\n }\n },\n /* Pseudo-class applied to the root element if the link is keyboard focused. */\n focusVisible: {}\n};\nvar Link = /*#__PURE__*/React.forwardRef(function Link(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$component = props.component,\n component = _props$component === void 0 ? 'a' : _props$component,\n onBlur = props.onBlur,\n onFocus = props.onFocus,\n TypographyClasses = props.TypographyClasses,\n _props$underline = props.underline,\n underline = _props$underline === void 0 ? 'hover' : _props$underline,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'inherit' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"component\", \"onBlur\", \"onFocus\", \"TypographyClasses\", \"underline\", \"variant\"]);\n var _useIsFocusVisible = useIsFocusVisible(),\n isFocusVisible = _useIsFocusVisible.isFocusVisible,\n onBlurVisible = _useIsFocusVisible.onBlurVisible,\n focusVisibleRef = _useIsFocusVisible.ref;\n var _React$useState = React.useState(false),\n focusVisible = _React$useState[0],\n setFocusVisible = _React$useState[1];\n var handlerRef = useForkRef(ref, focusVisibleRef);\n var handleBlur = function handleBlur(event) {\n if (focusVisible) {\n onBlurVisible();\n setFocusVisible(false);\n }\n if (onBlur) {\n onBlur(event);\n }\n };\n var handleFocus = function handleFocus(event) {\n if (isFocusVisible(event)) {\n setFocusVisible(true);\n }\n if (onFocus) {\n onFocus(event);\n }\n };\n return /*#__PURE__*/React.createElement(Typography, _extends({\n className: clsx(classes.root, classes[\"underline\".concat(capitalize(underline))], className, focusVisible && classes.focusVisible, component === 'button' && classes.button),\n classes: TypographyClasses,\n color: color,\n component: component,\n onBlur: handleBlur,\n onFocus: handleFocus,\n ref: handlerRef,\n variant: variant\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nexport default withStyles(styles, {\n name: 'MuiLink'\n})(Link);","import React, { useEffect, useState } from 'react'\nimport styled from 'styled-components'\nimport theme from '../styling/theme'\nimport arrhead from '../../images/back-left-arrow.svg'\nimport { appendUrlPartnerTracking } from '../../util/url'\n\nimport IconButton from '@material-ui/core/IconButton'\nimport TwitterIcon from '@material-ui/icons/Twitter'\nimport LinkedInIcon from '@material-ui/icons/LinkedIn'\nimport FacebookIcon from '@material-ui/icons/Facebook'\n\nimport { Link, makeStyles } from '@material-ui/core'\n\nconst useStyles = makeStyles((theme) => ({\n customHoverFocus: {\n width: 35,\n height: 35,\n '&:hover, &.Mui-focusVisible': { backgroundColor: '#2e2e2e' },\n backgroundColor: 'black',\n color: 'white',\n marginRight: 5,\n },\n icon: {\n width: 20,\n height: 20,\n fill: 'white',\n color: 'white',\n },\n}))\n\nconst ResourceLeftCol = ({ title }) => {\n const classes = useStyles()\n const [URL, setURL] = useState('')\n useEffect(() => {\n setURL(typeof window !== 'undefined' ? window.location.href : '')\n }, [])\n return (\n \n \n \n <Course>{title}</Course>\n \n \n \n \n \n {/* {description && (\n {description}\n )} */}\n\n SHARE THIS ARTICLE\n\n \n \n \n \n\n \n \n \n\n \n \n \n \n \n \n )\n}\n\nexport default ResourceLeftCol\n\nconst Container = styled.div`\n display: none;\n @media (min-width: 1024px) {\n display: block;\n width: 100%;\n max-width: 264px;\n position: relative;\n }\n`\nconst Inner = styled.div`\n position: sticky;\n left: 0;\n bottom: 0;\n top: 100px;\n`\n\nconst Title = styled.div`\n display: flex;\n flex-direction: column;\n margin-bottom: 25px;\n`\n\nconst Course = styled.h6`\n color: ${theme.text.second};\n padding-bottom: 15px;\n margin-top: 18px;\n`\n\nconst BackLink = styled(Link)`\n display: flex;\n align-items: center;\n width: 280px;\n margin-bottom: 18px;\n`\n\nconst Arrow = styled.img`\n height: 40px;\n transition: all 0.5s ease;\n position: relative;\n left: -10px;\n animation: arrowCourseTemplate ease 0.5s forwards 0.5s;\n ${BackLink}:hover & {\n transform: translateX(-20px);\n }\n`\n\nconst Line = styled.div`\n display: inline;\n position: relative;\n width: 0%;\n height: 1px;\n background: ${theme.brand.blue};\n transition: all 0.5s ease;\n animation: growLineCourseTemplate ease 0.5s forwards 0.5s;\n ${BackLink}:hover & {\n transform: translateX(-40px);\n }\n`\n\nconst Description = styled.p`\n color: ${theme.text.second};\n font-weight: 300;\n`\nconst SocialIcons = styled.div`\n flex-direction: row;\n`\n\nconst StyledIconButton = styled(IconButton)`\n background-color: ${theme.brand.blue} !important;\n color: white;\n margin: 4px;\n\n .root {\n background-color: ${theme.brand.blue} !important;\n }\n`\n","import React from 'react'\nimport { graphql, Link } from 'gatsby'\n// import TrackVisibility from 'react-on-screen'\nimport Layout from '../components/Layout'\nimport MainGrid from '../components/styling/MainGrid'\nimport Breadcrumb from '../components/shared/Breadcrumb/Breadcrumb'\nimport Img from 'gatsby-image'\nimport CustomerTemplateLayout from '../components/CustomerStories/CustomerTemplateLayout'\nimport CustomerRightCol from '../components/CustomerStories/CustomerRightCol'\nimport ResourceLeftCol from '../components/ResourcesComponents/ResourceLeftCol'\nimport { LazyBlocksFactory } from '../components/LazyBlocksFactory/LazyBlocksFactory'\nimport TrackVisibility from 'react-on-screen'\nimport PromotionBannerAnimation from '../components/PromotionBannerAnimation'\nimport { getResourceCardColor } from '../components/ResourcesComponents/ResourcesCard'\nimport styled from 'styled-components'\nimport Button from '../components/shared/Button/Button'\nimport { RichTextContainer } from '../components/RichTextContainer/RichTextContainer'\nimport { Helmet } from 'react-helmet'\n\ninterface Props {\n data: any\n pageContext: any\n}\nconst resourceTemplate = ({ data, pageContext }: Props) => {\n const { wpPost } = data\n const breadcrumbData = [\n {\n title: 'Home',\n url: '/',\n },\n {\n title: 'Resources',\n url: '/resources',\n },\n {\n title: wpPost.title,\n url: '/' + wpPost.slug,\n },\n ]\n // const { acfCourse2: courseData2 } = courseData\n let featImg = null\n try {\n featImg = wpPost.resources.featuredImage.mediaItemUrl\n } catch (e) {}\n\n \n const renderedBlocks = LazyBlocksFactory(\n wpPost.lazy_data,\n wpPost.title,\n featImg\n )\n //console.log(wpPost.lazy_data);\n\n function formatDate(date: string) {\n const month = date.substring(5, 7)\n let formatedMonth = ''\n switch (month) {\n case '01':\n formatedMonth = 'January'\n break\n case '02':\n formatedMonth = 'February'\n break\n case '03':\n formatedMonth = 'March'\n break\n case '04':\n formatedMonth = 'April'\n break\n case '05':\n formatedMonth = 'May'\n break\n case '06':\n formatedMonth = 'June'\n break\n case '07':\n formatedMonth = 'July'\n break\n case '08':\n formatedMonth = 'August'\n break\n case '09':\n formatedMonth = 'September'\n break\n case '10':\n formatedMonth = 'October'\n break\n case '11':\n formatedMonth = 'November'\n break\n case '12':\n formatedMonth = 'December'\n break\n }\n\n const formatedDay = date.substring(8, 10)\n const formatedYear = date.substring(0, 4)\n\n const formatedDate = formatedDay + ' ' + formatedMonth + ', ' + formatedYear\n return formatedDate\n }\n\n return (\n \n \n \n \n \n {/* */}\n \n\n \n \n {wpPost.resources.category}\n \n\n

{wpPost.title}

\n {formatDate(wpPost.date)}\n\n {wpPost.resources.downloadLink ? (\n \n \n \n ) : (\n ''\n )}\n {wpPost.resources.featuredImage && (\n \n )}\n {/* */}\n {renderedBlocks.map((v) => v)}\n {wpPost.resources.downloadLink ? (\n \n \n \n ) : (\n ''\n )}\n Back to resources\n
\n
\n
\n )\n}\n\nexport default resourceTemplate\n\nexport const pageQuery = graphql`\n query RescoureById($id: String!) {\n wpPost(id: { eq: $id }) {\n id\n slug\n lazy_data\n date\n title\n resources {\n fieldGroupName\n demoLink\n downloadLink {\n mediaItemUrl\n }\n category\n description\n isolatedForLandingPage\n featuredImage {\n mediaItemUrl\n localFile {\n childImageSharp {\n fluid(maxWidth: 1080, toFormat: WEBP) {\n ...GatsbyImageSharpFluid\n }\n }\n }\n }\n }\n }\n }\n`\n\nconst BackToResources = styled(Link)`\n font-weight: 900;\n`\n\ninterface PillBackground {\n color: string\n}\nconst Pill = styled.span`\n background-color: ${(props) => props.color};\n padding: 3px 8px;\n border-radius: 9px;\n color: white;\n font-size: 9px;\n text-transform: uppercase;\n margin-right: 9px;\n`\nconst Date = styled.span`\n font-size: 10px;\n font-weight: 700;\n color: #1d1e22;\n`\nconst MainImage = styled(Img)`\n width: 100%;\n margin: 25px 0;\n`\nconst DownloadLink = styled.a`\n max-width: 220px;\n margin: 37px 0 55px;\n`\n","module.exports = \"data:image/svg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LjIsMjYuMiAxOC42LDEwLjEgMTcuNSw5IAkJCQkJIi8+CgkJCQk8L2c+CgkJCTwvZz4KCQk8L2c+Cgk8L2c+CjwvZz4KPC9zdmc+Cg==\"","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z\"\n}), 'LinkedIn');\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z\"\n}), 'Facebook');\nexports.default = _default;"],"sourceRoot":""}