{"version":3,"sources":["Components/Header.js","Components/Footer.js","Components/About.js","Components/Resume.js","Components/Contact.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","About","profilepic","image","bio","src","alt","Resume","skillmessage","education","school","degree","work","picClassName","companyPic","length","company","roleType","industry","technology","description2","skills","toLowerCase","style","width","level","Contact","message","contactmessage","htmlFor","type","defaultValue","size","onChange","handleChange","cols","rows","App","state","resumeData","$","ajax","dataType","cache","success","setState","bind","error","xhr","status","err","console","log","alert","getResumeData","main","resume","isLocalhost","Boolean","window","location","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":"sPAsDeA,G,6KAjDX,GAAGC,KAAKC,MAAMC,KACZ,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,KAAI,SAASC,GAChD,OAAO,wBAAIC,IAAKD,EAAQR,MAAM,uBAAGU,KAAMF,EAAQG,KAAK,uBAAGC,UAAWJ,EAAQI,iBAI9E,OACE,4BAAQC,GAAG,QAEX,yBAAKA,GAAG,YAEL,uBAAGD,UAAU,aAAaF,KAAK,YAAYI,MAAM,mBAAjD,mBACF,uBAAGF,UAAU,aAAaF,KAAK,QAAQI,MAAM,mBAA7C,mBAEE,wBAAID,GAAG,MAAMD,UAAU,OACpB,wBAAIA,UAAU,WAAU,uBAAGA,UAAU,eAAeF,KAAK,SAAjC,SACxB,4BAAI,uBAAGE,UAAU,eAAeF,KAAK,UAAjC,UACN,4BAAI,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AAQC,IAAI,6CAKZD,QAAQC,IAAI,4CAMrBuB,OAAM,SAAA5B,GACLI,QAAQJ,MAAM,4CAA6CA,MChEjE6B,IAASC,OAAO,kBAAC,EAAD,MAASC,SAASC,eAAe,SDclC,WACb,GAA6C,kBAAmBd,UAAW,CAGzE,GADkB,IAAIe,IAAIC,GAAwBtB,OAAOC,UAC3CsB,SAAWvB,OAAOC,SAASsB,OAIvC,OAGFvB,OAAOwB,iBAAiB,QAAQ,WAC9B,IAAMnB,EAAK,UAAMiB,GAAN,sBAEPxB,EAwCV,SAAiCO,GAE/BoB,MAAMpB,GACHI,MAAK,SAAAiB,GAGkB,MAApBA,EAASpC,SACuD,IAAhEoC,EAASC,QAAQC,IAAI,gBAAgBC,QAAQ,cAG7CvB,UAAUC,cAAcuB,MAAMrB,MAAK,SAAAC,GACjCA,EAAaqB,aAAatB,MAAK,WAC7BT,OAAOC,SAAS+B,eAKpB5B,EAAgBC,MAGnBW,OAAM,WACLxB,QAAQC,IACN,oEA5DAwC,CAAwB5B,GAGxBD,EAAgBC,OChCxB6B,I","file":"static/js/main.c7d54c99.chunk.js","sourcesContent":["import React, { Component } from 'react';\r\n\r\nclass Header extends Component {\r\n render() {\r\n\r\n if(this.props.data){\r\n var name = this.props.data.name;\r\n var occupation= this.props.data.occupation;\r\n var description= this.props.data.description;\r\n var city= this.props.data.address.city;\r\n var networks= this.props.data.social.map(function(network){\r\n return
  • \r\n })\r\n }\r\n\r\n return (\r\n
    \r\n\r\n \r\n\r\n
    \r\n
    \r\n

    I'm {name}

    \r\n

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

    \r\n

    \r\n

    {description}

    \r\n
    \r\n
      \r\n {networks}\r\n
    \r\n
    \r\n
    \r\n\r\n

    \r\n \r\n

    \r\n\r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default Header;\r\n","import React, { Component } from 'react';\r\n\r\nclass Footer extends Component {\r\n render() {\r\n\r\n if(this.props.data){\r\n var networks= this.props.data.social.map(function(network){\r\n return
  • \r\n })\r\n }\r\n\r\n return (\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default Footer;\r\n","import React, { Component } from 'react';\r\n\r\nclass About extends Component {\r\n render() {\r\n\r\n if(this.props.data){\r\n var profilepic= \"images/\"+this.props.data.image;\r\n var bio = this.props.data.bio;\r\n var networks= this.props.data.social.map(function(network){\r\n return
  • \r\n })\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n \"Mathew\r\n
    \r\n
    \r\n

    About Me

    \r\n\r\n

    {bio}

    \r\n
      \r\n {networks}\r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default About;\r\n","import React, { Component } from 'react';\r\n\r\nclass Resume extends Component {\r\n render() {\r\n\r\n if(this.props.data){\r\n var pic = \"images/company/\";\r\n var skillmessage = this.props.data.skillmessage;\r\n var education = this.props.data.education.map(function(education){\r\n return

    {education.school}

    \r\n

    {education.degree} \r\n

    \r\n

    {education.description}

    \r\n });\r\n\r\n var work = this.props.data.work.map(function(work){\r\n\r\n var picClassName =\"company-pic\" + (work.companyPic.length===0?\" hidden\":\"\");\r\n\r\n return
    \r\n

    {work.company} {work.company}

    \r\n \r\n

    \r\n {work.title}\r\n \r\n {work.roleType}\r\n

    \r\n

    Industries: {work.industry}

    \r\n

    \r\n Technology Highlights: {work.technology}\r\n

    \r\n

    {work.description}

    \r\n

    {work.description2}

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

    Education

    \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n {education}\r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n
    \r\n\r\n
    \r\n

    Work

    \r\n
    \r\n\r\n
    \r\n {work}\r\n
    \r\n
    \r\n\r\n\r\n\r\n
    \r\n\r\n
    \r\n

    Skills

    \r\n
    \r\n\r\n
    \r\n\r\n

    {skillmessage}\r\n

    \r\n\r\n\t\t\t\t
    \r\n\t\t\t\t
      \r\n\t\t\t\t\t {skills}\r\n\t\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default Resume;\r\n","import React, { Component } from 'react';\r\n\r\nclass Contact extends Component {\r\n\r\n render() {\r\n\r\n if(this.props.data){\r\n var message = this.props.data.contactmessage;\r\n var networks= this.props.data.social.map(function(network){\r\n return
  • \r\n })\r\n }\r\n\r\n return (\r\n
    \r\n\r\n
    \r\n\r\n
    \r\n\r\n

    Get In Touch.

    \r\n\r\n
    \r\n\r\n
    \r\n\r\n

    {message}

    \r\n\r\n
    \r\n\r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n\t\t\t\t\t
    \r\n\r\n
    \r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t \r\n
    \r\n\r\n
    \r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t \r\n
    \r\n\r\n
    \r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t \r\n
    \r\n\r\n
    \r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n \"\"\r\n \r\n
    \r\n\t\t\t\t\t
    \r\n\t\t\t\t
    \r\n\r\n
    Error body
    \r\n\t\t\t\t
    \r\n Your message was sent, thank you!
    \r\n\t\t\t\t
    \r\n
    \r\n\r\n\r\n \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default Contact;\r\n","import React, { Component } from 'react';\r\n\r\nimport $ from 'jquery';\r\nimport './App.css';\r\n\r\nimport Header from './Components/Header';\r\nimport Footer from './Components/Footer';\r\nimport About from './Components/About';\r\nimport Resume from './Components/Resume';\r\nimport Contact from './Components/Contact';\r\n\r\nclass App extends Component {\r\n\r\n constructor(props){\r\n super(props);\r\n this.state = {\r\n resumeData: {}\r\n };\r\n }\r\n\r\n getResumeData(){\r\n $.ajax({\r\n url:'/resumeData.json',\r\n dataType:'json',\r\n cache: false,\r\n success: function(data){\r\n this.setState({resumeData: data});\r\n }.bind(this),\r\n error: function(xhr, status, err){\r\n console.log(err);\r\n alert(err);\r\n }\r\n });\r\n }\r\n\r\n componentDidMount(){\r\n this.getResumeData();\r\n }\r\n\r\n render() {\r\n return (\r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default App;\r\n","// In production, we register a service worker to serve assets from local cache.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on the \"N+1\" visit to a page, since previously\r\n// cached resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\r\n// This link also includes instructions on opting out of this behavior.\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.1/8 is considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n);\r\n\r\nexport default function register() {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location);\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets; see https://github.com/facebookincubator/create-react-app/issues/2374\r\n return;\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Lets check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl);\r\n } else {\r\n // Is not local host. Just register service worker\r\n registerValidSW(swUrl);\r\n }\r\n });\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing;\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the old content will have been purged and\r\n // the fresh content will have been added to the cache.\r\n // It's the perfect time to display a \"New content is\r\n // available; please refresh.\" message in your web app.\r\n console.log('New content is available; please refresh.');\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.');\r\n }\r\n }\r\n };\r\n };\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error);\r\n });\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl)\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n if (\r\n response.status === 404 ||\r\n response.headers.get('content-type').indexOf('javascript') === -1\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload();\r\n });\r\n });\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl);\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.'\r\n );\r\n });\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister();\r\n });\r\n }\r\n}\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport './index.css';\r\nimport App from './App';\r\nimport registerServiceWorker from './registerServiceWorker';\r\n\r\nReactDOM.render(, document.getElementById('root'));\r\nregisterServiceWorker();\r\n"],"sourceRoot":""}