{"version":3,"sources":["components/Header.js","components/Footer.js","components/About.js","components/Resume.js","App.js","registerServiceWorker.js","index.js"],"names":["Header","this","props","data","name","occupation","description","city","address","networks","social","map","network","key","href","url","className","id","title","Component","Footer","email","emailLink","About","profilepic","image","bio","street","state","zip","phone","resumeDownload","resumedownload","src","alt","Resume","skillmessage","education","school","degree","graduated","work","company","years","skills","toLowerCase","style","width","level","App","foo","resumeData","ReactGA","initialize","pageview","window","location","pathname","$","ajax","dataType","cache","success","setState","bind","error","xhr","status","err","console","log","alert","getResumeData","main","resume","isLocalhost","Boolean","hostname","match","registerValidSW","swUrl","navigator","serviceWorker","register","then","registration","onupdatefound","installingWorker","installing","onstatechange","controller","catch","ReactDOM","render","document","getElementById","URL","process","origin","addEventListener","fetch","response","headers","get","indexOf","ready","unregister","reload","checkValidServiceWorker","registerServiceWorker"],"mappings":"iTAkDeA,G,uLA7Cb,GAAGC,KAAKC,MAAMC,KACb,IAAIC,EAAOH,KAAKC,MAAMC,KAAKC,KACvBC,EAAYJ,KAAKC,MAAMC,KAAKE,WAC5BC,EAAaL,KAAKC,MAAMC,KAAKG,YAC7BC,EAAMN,KAAKC,MAAMC,KAAKK,QAAQD,KAC9BE,EAAUR,KAAKC,MAAMC,KAAKO,OAAOC,IAAI,SAASC,GACjD,OAAO,wBAAIC,IAAKD,EAAQR,MAAM,uBAAGU,KAAMF,EAAQG,KAAK,uBAAGC,UAAWJ,EAAQI,gBAI5E,OACC,4BAAQC,GAAG,QACV,yBAAKA,GAAG,YACP,uBAAGD,UAAU,aAAaF,KAAK,YAAYI,MAAM,mBAAjD,mBACA,uBAAGF,UAAU,aAAaF,KAAK,QAAQI,MAAM,mBAA7C,mBAEA,wBAAID,GAAG,MAAMD,UAAU,OACtB,wBAAIA,UAAU,WAAU,uBAAGA,UAAU,eAAeF,KAAK,SAAjC,SACxB,4BAAI,uBAAGE,UAAU,eAAeF,KAAK,UAAjC,UACJ,4BAAI,uBAAGE,UAAU,eAAeF,KAAK,WAAj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,WAC3B,IAAMC,EAAmBF,EAAaG,WACtCD,EAAiBE,cAAgB,WACA,cAA3BF,EAAiB3D,QACfqD,UAAUC,cAAcQ,WAK1BrB,QAAQC,IAAI,6CAKZD,QAAQC,IAAI,2CAMrBqB,MAAM,SAAA1B,GACLI,QAAQJ,MAAM,4CAA6CA,KChEjE2B,IAASC,OAAO,kBAAC,EAAD,MAASC,SAASC,eAAe,SDclC,WACb,GAA6C,kBAAmBd,UAAW,CAGzE,GADkB,IAAIe,IAAIC,GAAwB1C,OAAOC,UAC3C0C,SAAW3C,OAAOC,SAAS0C,OAIvC,OAGF3C,OAAO4C,iBAAiB,OAAQ,WAC9B,IAAMnB,EAAK,UAAMiB,GAAN,sBAEPtB,EAwCV,SAAiCK,GAE/BoB,MAAMpB,GACHI,KAAK,SAAAiB,GAGkB,MAApBA,EAASlC,SACuD,IAAhEkC,EAASC,QAAQC,IAAI,gBAAgBC,QAAQ,cAG7CvB,UAAUC,cAAcuB,MAAMrB,KAAK,SAAAC,GACjCA,EAAaqB,aAAatB,KAAK,WAC7B7B,OAAOC,SAASmD,aAKpB5B,EAAgBC,KAGnBW,MAAM,WACLtB,QAAQC,IACN,mEA5DAsC,CAAwB5B,GAGxBD,EAAgBC,MChCxB6B,K","file":"static/js/main.b70d71b3.chunk.js","sourcesContent":["import React, { Component } from 'react';\n\nclass Header extends Component {\n\trender() {\n\n\t\tif(this.props.data){\n\t\t\tvar name = this.props.data.name;\n\t\t\tvar occupation= this.props.data.occupation;\n\t\t\tvar description= this.props.data.description;\n\t\t\tvar city= this.props.data.address.city;\n\t\t\tvar networks= this.props.data.social.map(function(network){\n\t\t\t\treturn
  • \n\t\t\t})\n\t\t}\n\n\t\treturn (\n\t\t\t
    \n\t\t\t\t\n\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    I'm {name}.

    \n\t\t\t\t\t\t\t

    I'm a {city} based {occupation} {description}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t{networks}\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t

    \n\t\t\t\t\t\n\t\t\t\t

    \n\t\t\t
    \n\t\t);\n\t}\n}\n\nexport default Header;\n","import React, { Component } from 'react';\n\nclass Footer extends Component {\n\trender() {\n\n\t\tif(this.props.data) {\n\t\t\tvar networks= this.props.data.social.map(function(network){\n\t\t\t\treturn (\n\t\t\t\t\t
  • \n\t\t\t\t);\n\t\t\t})\n\t\t\tvar email = this.props.data.email;\n\t\t\tvar emailLink = \"mailto:\" + email;\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t);\n\t}\n}\n\nexport default Footer;\n","import React, { Component } from 'react';\n\nclass About extends Component {\n\trender() {\n\t\tif(this.props.data){\n\t\t\tvar name = this.props.data.name;\n\t\t\tvar profilepic= \"images/\"+this.props.data.image;\n\t\t\tvar bio = this.props.data.bio;\n\t\t\tvar street = this.props.data.address.street;\n\t\t\tvar city = this.props.data.address.city;\n\t\t\tvar state = this.props.data.address.state;\n\t\t\tvar zip = this.props.data.address.zip;\n\t\t\tvar phone= this.props.data.phone;\n\t\t\tvar email = this.props.data.email;\n\t\t\tvar emailLink = \"mailto:\" + email;\n\t\t\tvar resumeDownload = this.props.data.resumedownload;\n\t\t}\n\n\t\treturn (\n\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\"Zachary\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    About Me

    \n\t\t\t\t\t

    {bio}

    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    Contact Details

    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t{name}
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{/* {street}
    */}\n\t\t\t\t\t\t\t\t{city}, {state} {zip}\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t{/* {phone}
    */}\n\t\t\t\t\t\t\t\t{email}\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\tDownload Resume\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\n\t\t
    \n\t\t);\n\t}\n}\n\nexport default About;\n","import React, { Component } from 'react';\n\nclass Resume extends Component {\n\trender() {\n\n\t\tif(this.props.data) {\n\t\t\tvar skillmessage = this.props.data.skillmessage;\n\t\t\tvar education = this.props.data.education.map( function(education) {\n\t\t\t\treturn (\n\t\t\t\t
    \n\t\t\t\t\t

    {education.school}

    \n\t\t\t\t\t

    {education.degree} {education.graduated}

    \n\t\t\t\t\t

    {education.description}

    \n\t\t\t\t
    \n\t\t\t\t);\n\t\t\t})\n\t\t\tvar work = this.props.data.work.map( function(work) {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t

    {work.company}

    \n\t\t\t\t\t\t

    {work.title} {work.years}

    \n\t\t\t\t\t\t

    {work.description}

    \n\t\t\t\t\t
    \n\t\t\t\t);\n\t\t\t})\n\t\t\tvar skills = this.props.data.skills.map( function(skills) {\n\t\t\t\tvar className = 'bar-expand '+skills.name.toLowerCase();\n\t\t\t\treturn (\n\t\t\t\t\t
  • {skills.name}
  • \n\t\t\t\t);\n\t\t\t})\n\t\t}\n\n\t\treturn (\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    Education

    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t{education}\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    Work

    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t{work}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t{/*
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    Skills

    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    {skillmessage}

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t{skills}\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    */}\n\t\t\t
    \n\t\t);\n\t}\n}\n\nexport default Resume;\n","import React, { Component } from 'react';\nimport ReactGA from 'react-ga';\nimport $ from 'jquery';\nimport './App.css';\nimport Header from './components/Header';\nimport Footer from './components/Footer';\nimport About from './components/About';\nimport Resume from './components/Resume';\n// import Contact from './components/Contact';\n// import Testimonials from './components/Testimonials';\n// import Portfolio from './components/Portfolio';\n\nclass App extends Component {\n\n\tconstructor(props){\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tfoo: 'bar',\n\t\t\tresumeData: {}\n\t\t};\n\t\tReactGA.initialize('UA-154553214-1');\n\t\tReactGA.pageview(window.location.pathname);\n\t}\n\n\tgetResumeData(){\n\t\t$.ajax({\n\t\t\turl:'/resumeData.json',\n\t\t\tdataType:'json',\n\t\t\tcache: false,\n\t\t\tsuccess: function(data){\n\t\t\t\tthis.setState({resumeData: data});\n\t\t\t}.bind(this),\n\t\t\terror: function(xhr, status, err){\n\t\t\t\tconsole.log(err);\n\t\t\t\talert(err);\n\t\t\t}\n\t\t});\n\t}\n\n\tcomponentDidMount(){\n\t\tthis.getResumeData();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t\t{/* */}\n\t\t\t\t{/* */}\n\t\t\t\t{/* */}\n\t\t\t\t
    \n\t\t);\n\t}\n}\n\nexport default App;\n","// In production, we register a service worker to serve assets from local cache.\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 the \"N+1\" visit to a page, since previously\n// cached resources are updated in the background.\n\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\n// This link also includes instructions on opting out of this behavior.\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.1/8 is 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 default function register() {\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);\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/facebookincubator/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. Lets check if a service worker still exists or not.\n checkValidServiceWorker(swUrl);\n } else {\n // Is not local host. Just register service worker\n registerValidSW(swUrl);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and\n // the fresh content will have been added to the cache.\n // It's the perfect time to display a \"New content is\n // available; please refresh.\" message in your web app.\n console.log('New content is available; please refresh.');\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 }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n if (\n response.status === 404 ||\n response.headers.get('content-type').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);\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.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport registerServiceWorker from './registerServiceWorker';\n\nReactDOM.render(, document.getElementById('root'));\nregisterServiceWorker();\n"],"sourceRoot":""}