{"version":3,"sources":["styles/media.js","App.js","styles/globalStyles.js","serviceWorker.js","index.js","images/byy-logo.PNG","images/prints-logo.PNG"],"names":["breakpoints","xxs","xs","sm","md","lg","xl","media","Object","keys","reduce","acc","label","css","Wrap","styled","div","App","useEffect","window","gtag","event_category","event_label","src","BYY","alt","href","onClick","target","rel","PurchasePrints","GlobalStyle","createGlobalStyle","normalize","Boolean","location","hostname","match","ReactDOM","render","StrictMode","document","getElementById","navigator","serviceWorker","ready","then","registration","unregister","catch","error","console","message","module","exports"],"mappings":"6WAIO,IAAMA,EAAc,CACzBC,IAAK,IACLC,GAAI,IACJC,GAAI,IACJC,GAAI,IACJC,GAAI,KACJC,GAAI,MAYSC,EATDC,OAAOC,KAAKT,GAAaU,QAAO,SAACC,EAAKC,GAMlD,OALAD,EAAIC,GAAS,kBAAaC,YAAZ,IACSb,EAAYY,GAC7BC,IAAG,WAAH,eAGCF,IACN,I,+mBCZH,IAAMG,EAAOC,IAAOC,IAAV,IA6BNT,EAAMF,GA7BA,MAuEKY,MAlCf,WAmBE,OAlBAC,qBAAU,WACJC,QAAUA,OAAOC,MACnBD,OAAOC,KAAK,QAAS,aAAc,CACjCC,eAAgB,OAChBC,YAAa,+BAGhB,IAYD,kBAACR,EAAD,KACE,yBAAKS,IAAKC,IAAKC,IAAI,sBACnB,wHAE0C,6BAAK,6BAF/C,sDAKA,uBAAGC,KAAK,yCAAyCC,QAjBrC,WACVR,QAAUA,OAAOC,MACnBD,OAAOC,KAAK,QAAS,QAAS,CAC5BC,eAAgB,SAChBC,YAAa,gBAaoDM,OAAO,SAASC,IAAI,uBACrF,yBAAKN,IAAKO,IAAgBL,IAAI,oC,kZCpEtC,IAwBeM,EAxBKC,YAAH,IACbC,eCMgBC,QACW,cAA7Bf,OAAOgB,SAASC,UAEe,UAA7BjB,OAAOgB,SAASC,UAEhBjB,OAAOgB,SAASC,SAASC,MACvB,2DCZNC,IAASC,OACP,kBAAC,IAAMC,WAAP,KACE,kBAAC,EAAD,MACA,kBAAC,EAAD,OAEFC,SAASC,eAAe,SDwHpB,kBAAmBC,WACrBA,UAAUC,cAAcC,MACrBC,MAAK,SAAAC,GACJA,EAAaC,gBAEdC,OAAM,SAAAC,GACLC,QAAQD,MAAMA,EAAME,a,kBEzI5BC,EAAOC,QAAU,IAA0B,sC,kBCA3CD,EAAOC,QAAU,IAA0B,0C","file":"static/js/main.7f2b7857.chunk.js","sourcesContent":["// Copyright 2019 BraveYoungYears Inc. All Rights Reserved.\n\nimport { css } from 'styled-components';\n\nexport const breakpoints = {\n xxs: 375,\n xs: 576,\n sm: 768,\n md: 992,\n lg: 1200,\n xl: 1600\n};\n\nconst media = Object.keys(breakpoints).reduce((acc, label) => {\n acc[label] = (...args) => css`\n @media (min-width: ${breakpoints[label]}px) {\n ${css(...args)};\n }\n `;\n return acc;\n}, {});\n\nexport default media;\n","// Copyright 2020 BraveYoungYears Inc. All Rights Reserved.\n\nimport React, { useEffect } from 'react';\nimport styled from 'styled-components';\nimport BYY from './images/byy-logo.PNG';\nimport PurchasePrints from './images/prints-logo.PNG';\nimport media from './styles/media';\n\nconst Wrap = styled.div`\n width: 100%;\n height: 100%;\n padding: 60px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n > img:first-child {\n width: 100%;\n max-width: 900px;\n }\n\n > h1 {\n font-size: 12px;\n text-align: center;\n margin: 72px 0 88px 0;\n }\n\n > a {\n width: 50%;\n max-width: 250px;\n cursor: pointer;\n img {\n width: 100%;\n }\n }\n\n ${media.lg`\n h1 {\n font-size: 16px;\n }\n `}\n\n`;\n\nfunction App() {\n useEffect(()=> {\n if (window && window.gtag) {\n window.gtag('event', 'impression', {\n event_category: 'page',\n event_label: 'impression landing page ',\n });\n }\n }, []);\n\n const onClick = () => {\n if (window && window.gtag) {\n window.gtag('event', 'click', {\n event_category: 'button',\n event_label: 'buy prints',\n });\n }\n }\n\n return (\n \n \"Brave\n

\n The movement to accept and encourage your choice \n to live outside of the social standard.

Be Brave, and remain Young\n for the Years to come.\n

\n \n \"Brave\n \n
\n );\n}\n\nexport default App;\n","// Copyright 2019 enzoames Inc. All Rights Reserved.\n\nimport { createGlobalStyle } from 'styled-components';\nimport { normalize } from 'polished';\n\nconst GlobalStyle = createGlobalStyle`\n ${normalize()} \n\n * {\n box-sizing: border-box;\n }\n\n html, body {\n height: 100%;\n }\n\n #root {\n height: 100%;\n }\n\n body {\n height: 100%;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-family: \"Montserrat\";\n }\n`;\n\nexport default GlobalStyle;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' },\n })\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then(registration => {\n registration.unregister();\n })\n .catch(error => {\n console.error(error.message);\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App';\nimport GlobalStyles from './styles/globalStyles'\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(\n \n \n \n ,\n document.getElementById('root')\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","module.exports = __webpack_public_path__ + \"static/media/byy-logo.f2525285.PNG\";","module.exports = __webpack_public_path__ + \"static/media/prints-logo.1ab6f5e0.PNG\";"],"sourceRoot":""}