{"ast":null,"code":"import _objectWithoutProperties from \"/Users/matthewmcelwee/fcprepos/webtest1/flex-template-web/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _jsxFileName = \"/Users/matthewmcelwee/fcprepos/webtest1/flex-template-web/src/components/Logo/Logo.js\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport config from '../../config';\nimport IconLogo from './IconLogo';\nimport LogoImage from './saunatime-logo.png';\nimport css from './Logo.css';\n\nconst Logo = props => {\n  const className = props.className,\n        format = props.format,\n        rest = _objectWithoutProperties(props, [\"className\", \"format\"]);\n\n  const mobileClasses = classNames(css.logoMobile, className);\n\n  if (format === 'desktop') {\n    return React.createElement(\"img\", Object.assign({\n      className: className,\n      src: LogoImage,\n      alt: config.siteTitle\n    }, rest, {\n      __source: {\n        fileName: _jsxFileName,\n        lineNumber: 15\n      },\n      __self: this\n    }));\n  }\n\n  return React.createElement(IconLogo, Object.assign({\n    className: mobileClasses\n  }, rest, {\n    __source: {\n      fileName: _jsxFileName,\n      lineNumber: 18\n    },\n    __self: this\n  }));\n};\n\nconst oneOf = PropTypes.oneOf,\n      string = PropTypes.string;\nLogo.defaultProps = {\n  className: null,\n  format: 'desktop'\n};\nLogo.propTypes = {\n  className: string,\n  format: oneOf(['desktop', 'mobile'])\n};\nexport default Logo;","map":{"version":3,"sources":["/Users/matthewmcelwee/fcprepos/webtest1/flex-template-web/src/components/Logo/Logo.js"],"names":["React","PropTypes","classNames","config","IconLogo","LogoImage","css","Logo","props","className","format","rest","mobileClasses","logoMobile","siteTitle","oneOf","string","defaultProps","propTypes"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AAEA,OAAOC,MAAP,MAAmB,cAAnB;AACA,OAAOC,QAAP,MAAqB,YAArB;AACA,OAAOC,SAAP,MAAsB,sBAAtB;AACA,OAAOC,GAAP,MAAgB,YAAhB;;AAEA,MAAMC,IAAI,GAAGC,KAAK,IAAI;AAAA,QACZC,SADY,GACmBD,KADnB,CACZC,SADY;AAAA,QACDC,MADC,GACmBF,KADnB,CACDE,MADC;AAAA,QACUC,IADV,4BACmBH,KADnB;;AAEpB,QAAMI,aAAa,GAAGV,UAAU,CAACI,GAAG,CAACO,UAAL,EAAiBJ,SAAjB,CAAhC;;AAEA,MAAIC,MAAM,KAAK,SAAf,EAA0B;AACxB,WAAO;AAAK,MAAA,SAAS,EAAED,SAAhB;AAA2B,MAAA,GAAG,EAAEJ,SAAhC;AAA2C,MAAA,GAAG,EAAEF,MAAM,CAACW;AAAvD,OAAsEH,IAAtE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,OAAP;AACD;;AAED,SAAO,oBAAC,QAAD;AAAU,IAAA,SAAS,EAAEC;AAArB,KAAwCD,IAAxC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAAP;AACD,CATD;;MAWQI,K,GAAkBd,S,CAAlBc,K;MAAOC,M,GAAWf,S,CAAXe,M;AAEfT,IAAI,CAACU,YAAL,GAAoB;AAClBR,EAAAA,SAAS,EAAE,IADO;AAElBC,EAAAA,MAAM,EAAE;AAFU,CAApB;AAKAH,IAAI,CAACW,SAAL,GAAiB;AACfT,EAAAA,SAAS,EAAEO,MADI;AAEfN,EAAAA,MAAM,EAAEK,KAAK,CAAC,CAAC,SAAD,EAAY,QAAZ,CAAD;AAFE,CAAjB;AAKA,eAAeR,IAAf","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\nimport config from '../../config';\nimport IconLogo from './IconLogo';\nimport LogoImage from './saunatime-logo.png';\nimport css from './Logo.css';\n\nconst Logo = props => {\n  const { className, format, ...rest } = props;\n  const mobileClasses = classNames(css.logoMobile, className);\n\n  if (format === 'desktop') {\n    return <img className={className} src={LogoImage} alt={config.siteTitle} {...rest} />;\n  }\n\n  return <IconLogo className={mobileClasses} {...rest} />;\n};\n\nconst { oneOf, string } = PropTypes;\n\nLogo.defaultProps = {\n  className: null,\n  format: 'desktop',\n};\n\nLogo.propTypes = {\n  className: string,\n  format: oneOf(['desktop', 'mobile']),\n};\n\nexport default Logo;\n"]},"metadata":{},"sourceType":"module"}