PageSourceSearch

https://pandemiccovid19.netlify.app/js/app.d7dc73e7.js

js pandemiccovid19.netlify.app collected 2026-10-03 11:14:32 UTC 26,209 bytes, 2 lines download raw bytes

1(function(t){function e(e){for(var s,r,o=e[0],c=e[1],l=e[2],u=0,d=[];u<o.length;u++)r=o[u],Object.prototype.hasOwnProperty.call(n,r)&&n[r]&&d.push(n[r][0]),n[r]=0;for(s in c)Object.prototype.hasOwnProperty.call(c,s)&&(t[s]=c[s]);p&&p(e);while(d.length)d.shift()();return i.push.apply(i,l||[]),a()}function a(){for(var t,e=0;e<i.length;e++){for(var a=i[e],s=!0,r=1;r<a.length;r++){var o=a[r];0!==n[o]&&(s=!1)}s&&(i.splice(e--,1),t=c(c.s=a[0]))}return t}var s={},r={app:0},n={app:0},i=[];function o(t){return c.p+"js/"+({about:"about"}[t]||t)+"."+{about:"b6a77bac"}[t]+".js"}function c(e){if(s[e])return s[e].exports;var a=s[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,c),a.l=!0,a.exports}c.e=function(t){var e=[],a={about:1};r[t]?e.push(r[t]):0!==r[t]&&a[t]&&e.push(r[t]=new Promise((function(e,a){for(var s="css/"+({about:"about"}[t]||t)+"."+{about:"20ce64bc"}[t]+".css",n=c.p+s,i=document.getElementsByTagName("link"),o=0;o<i.length;o++){var l=i[o],u=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(u===s||u===n))return e()}var d=document.getElementsByTagName("style");for(o=0;o<d.length;o++){l=d[o],u=l.getAttribute("data-href");if(u===s||u===n)return e()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=e,p.onerror=function(e){var s=e&&e.target&&e.target.src||n,i=new Error("Loading CSS chunk "+t+" failed.\n("+s+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=s,delete r[t],p.parentNode.removeChild(p),a(i)},p.href=n;var v=document.getElementsByTagName("head")[0];v.appendChild(p)})).then((function(){r[t]=0})));var s=n[t];if(0!==s)if(s)e.push(s[2]);else{var i=new Promise((function(e,a){s=n[t]=[e,a]}));e.push(s[2]=i);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,c.nc&&u.setAttribute("nonce",c.nc),u.src=o(t);var d=new Error;l=function(e){u.onerror=u.onload=null,clearTimeout(p);var a=n[t];if(0!==a){if(a){var s=e&&("load"===e.type?"missing":e.type),r=e&&e.target&&e.target.src;d.message="Loading chunk "+t+" failed.\n("+s+": "+r+")",d.name="ChunkLoadError",d.type=s,d.request=r,a[1](d)}n[t]=void 0}};var p=setTimeout((function(){l({type:"timeout",target:u})}),12e4);u.onerror=u.onload=l,document.head.appendChild(u)}return Promise.all(e)},c.m=t,c.c=s,c.d=function(t,e,a){c.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},c.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},c.t=function(t,e){if(1&e&&(t=c(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(c.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)c.d(a,s,function(e){return t[e]}.bind(null,s));return a},c.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return c.d(e,"a",e),e},c.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},c.p="/",c.oe=function(t){throw console.error(t),t};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],u=l.push.bind(l);l.push=e,l=l.slice();for(var d=0;d<l.length;d++)e(l[d]);var p=u;i.push([0,"chunk-vendors"]),a()})({0:function(t,e,a){t.exports=a("56d7")},"56d7":function(t,e,a){"use strict";a.r(e);a("e260"),a("e6cf"),a("cca6"),a("a79d");var s=a("2b0e"),r=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"app"}},[e("div",{staticClass:"switch-wrapper"},[e("div",{staticClass:"toggle-wrapper"},[e("input",{attrs:{id:"switch",type:"checkbox",checked:""},on:{click:t.toggle}}),e("label",{attrs:{for:"switch",id:"toggle"}},[t._v("Toggle")])])]),e("About"),e("router-view",{attrs:{dark:t.dark}})],1)},n=[],i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"about-popup"},[e("div",{staticClass:"btn-about",attrs:{title:"About"},on:{click:function(e){t.showModal=!0}}},[e("span",{staticClass:"icon icon-info"})]),e("div",{staticClass:"modal",class:1==t.showModal?"is-active":"",attrs:{id:"modal"}},[e("div",{staticClass:"modal-background",on:{click:function(e){t.showModal=!1}}}),e("div",{staticClass:"modal-content"},[e("div",{staticClass:"box"},[e("div",{staticClass:"modal-head"},[e("p",{staticClass:"modal-title"},[t._v("About")]),e("button",{staticClass:"delete",attrs:{"aria-label":"close"},on:{click:function(e){t.showModal=!1}}})]),e("div",{staticClass:"card-content"},[e("div",{staticClass:"about__content"},[e("p",{staticClass:"title is-1"},[t._v("Covid-19 Tracker")]),e("p",{staticClass:"mb-3"},[t._v(" A Web app and PWA compatible worldwide tracker of Pandemic Covid-19, with visualization of graph, table, and map. The data updates always 10minutes. ")]),e("p",{staticClass:"mb-3"},[t._v(" API Used: "),e("a",{attrs:{href:t.diseaseapi,target:"_blank"}},[t._v("disease.sh")])]),e("p",{staticClass:"mb-3"},[t._v(" Data Source: "),e("a",{attrs:{href:t.jhu,target:"_blank"}},[t._v("Johns Hopkins University")]),t._v(", and "),e("a",{attrs:{href:t.worldometer,target:"_blank"}},[t._v("Worldometers")])]),e("p",{staticClass:"mb-3"},[t._v(" Built with "),e("a",{attrs:{href:t.vuejs,target:"_blank"}},[t._v("Vue JS")]),t._v(", "),e("a",{attrs:{href:t.bulma,target:"_blank"}},[t._v("Bulma")]),t._v(", "),e("a",{attrs:{href:t.leaftet,target:"_blank"}},[t._v("Leaflet")]),t._v(", "),e("a",{attrs:{href:t.chart,target:"_blank"}},[t._v("Chart")]),t._v(", and "),e("a",{attrs:{href:t.countup,target:"_blank"}},[t._v("Count Up")])]),e("p",{staticClass:"text-subtitle-2"},[t._v("Find this project useful?")]),e("p",{staticClass:"mb-5"},[t._v(" Support it by joining "),e("a",{attrs:{href:t.stargazers,target:"_blank"}},[t._v("stargazers")]),t._v(" for this repository and "),e("a",{attrs:{href:t.github,target:"_blank"}},[t._v("follow me")]),t._v(" for my next creations! ")])]),e("div",{staticClass:"about__footer"},[e("p",{staticClass:"is-size-7 has-text-centered"},[e("strong",[t._v(" Made with ❤️ by "),e("a",{attrs:{href:t.website,target:"_blank"}},[t._v("Zekinah Lecaros")]),t._v(".")])])])])])])])])},o=[],c={name:"cardcases",data:function(){return{showModal:!1,vuejs:"https://vuejs.org/",bulma:"http://bulma.io/",diseaseapi:"https://github.com/disease-sh/API",jhu:"https://github.com/CSSEGISandData/COVID-19",worldometer:"https://www.worldometers.info/coronavirus/",leaftet:"https://github.com/vue-leaflet/Vue2Leaflet",chart:"https://github.com/apertureless/vue-chartjs",countup:"https://github.com/xlsdg/vue-countup-v2",github:"https://github.com/zekinah/pandemiccovid-19",stargazers:"https://github.com/zekinah/pandemiccovid-19/stargazers",website:"http://zekinahlecaros.com/"}}},l=c,u=a("2877"),d=Object(u["a"])(l,i,o,!1,null,null,null),p=d.exports,v={name:"app",data:function(){return{dark:!0}},methods:{toggle:function(){this.dark?(this.dark=!1,this.setlightMode()):(this.dark=!0,this.setdarkMode())},setlightMode:function(){document.querySelector("body").classList.add("light-mode"),this.darkMode=!1},setdarkMode:function(){document.querySelector("body").classList.remove("light-mode"),this.darkMode=!0}},components:{About:p},metaInfo:function(){return{title:"Pandemic Covid-19 Tracker",meta:[{name:"description",content:"Worldwide Tracker of Pandemic Covid-19, with visualization of graph, table, and map"},{property:"og:title",content:"Pandemic Covid-19 Tracker"},{property:"og:description",content:"Worldwide Tracker of Pandemic Covid-19, with visualization of graph, table, and map"},{property:"og:site_name",content:"Pandemic Covid-19 Tracker"},{property:"og:image",content:"https://pandemiccovid19.netlify.app/img/covid19tracker.png"},{property:"og:type",content:"website"},{name:"robots",content:"index,follow"}]}}},h=v,f=Object(u["a"])(h,r,n,!1,null,null,null),m=f.exports,b=a("9483");Object(b["a"])("".concat("/","service-worker.js"),{ready:function(){console.log("App is being served from cache by a service worker.\nFor more details, visit https://goo.gl/AFskqB")},registered:function(){console.log("Service worker has been registered.")},cached:function(){console.log("Content has been cached for offline use.")},updatefound:function(){console.log("New content is downloading.")},updated:function(){console.log("New content is available; please refresh.")},offline:function(){console.log("No internet connection found. App is running in offline mode.")},error:function(t){console.error("Error during service worker registration:",t)}});a("d3b7");var C=a("8c4f"),y=(a("4de4"),a("d81d"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"home"},[e("Topwrapper",{attrs:{title:"Covid-19 Tracker",tagline:"Tracker of a pandemic"}}),e("div",{staticClass:"overall"},[e("h3",{staticClass:"overall_cases"},[e("ICountUp",{attrs:{endVal:parseInt(t.totalcases)}})],1),e("h5",{staticClass:"overall_cases_title"},[t._v("Total Cases")]),e("div",{staticClass:"field"},[e("div",{staticClass:"control has-icons-left"},[e("div",{staticClass:"select is-info"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.bycountry,expression:"bycountry"}],on:{change:[function(e){var a=Array.prototype.filter.call(e.target.options,
1(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.bycountry=e.target.multiple?a:a[0]},function(e){return t.viewPerCountry()}]}},[e("option",{domProps:{value:t.selectall}},[t._v("All Countries")]),t._l(t.bycountries,(function(a){return e("option",{key:a.countryInfo._id,domProps:{value:a}},[t._v(t._s(a.country))])}))],2),e("span",{staticClass:"icon is-left"},[e("svg",{staticStyle:{width:"24px",height:"24px"},attrs:{viewBox:"0 0 24 24"}},[e("path",{attrs:{fill:"currentColor",d:"M17.9,17.39C17.64,16.59 16.89,16 16,16H15V13A1,1 0 0,0 14,12H8V10H10A1,1 0 0,0 11,9V7H13A2,2 0 0,0 15,5V4.59C17.93,5.77 20,8.64 20,12C20,14.08 19.2,15.97 17.9,17.39M11,19.93C7.05,19.44 4,16.08 4,12C4,11.38 4.08,10.78 4.21,10.21L9,15V16A2,2 0 0,0 11,18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"}})])])])])])]),e("CardCases",{attrs:{active:t.active,critical:t.critical,recovered:t.recovered,deaths:t.deaths}}),e("Map",{attrs:{data:t.country,theme:t.dark}}),e("TodayCases",{attrs:{data:t.todaydata}}),e("div",{attrs:{id:"visual"}},[e("div",{staticClass:"visual__container container"},[e("div",{staticClass:"tile is-ancestor"},[e("div",{staticClass:"tile is-parent"},[e("div",{staticClass:"tile is-child box"},[e("div",{staticClass:"content"},[e("p",{staticClass:"title"},[t._v("Countries Affected")]),e("p",{staticClass:"subtitle"},[t._v(" (Covid-19 data sourced from Worldometers, updated every 10 minutes) ")]),e("div",{staticClass:"content"},[e("TableCases",{attrs:{casesbycountry:t.tablecountry,total:t.totalpopulation,affected:t.totalaffected}})],1)])])]),e("div",{staticClass:"tile is-6 is-vertical is-parent"},[e("div",{staticClass:"tile is-child box"},[e("p",{staticClass:"title"},[t._v("Records in 30 Days")]),e("p",{staticClass:"subtitle"},[t._v(" (Covid-19 data sourced from Johns Hopkins University, updated every 10 minutes) ")]),e("div",{staticClass:"content"},[e("DailyCasesGraph",{attrs:{data:t.history.timeline}})],1)])])])])]),e("SiteFooter")],1)}),g=[],_=(a("96cf"),a("1da1")),w=a("bc3a"),k=a.n(w),x=k.a.create({baseURL:"https://pandemiccovid19.netlify.app"}),O={getAllCases:function(){return Object(_["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,x.get("https://disease.sh/v3/covid-19/all?yesterday=true&allowNull=true");case 2:return e=t.sent,a=e.data,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t)})))()},getbyCountries:function(){return Object(_["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,x.get("https://disease.sh/v3/covid-19/countries?yesterday=true&sort=cases&allowNull=true");case 2:return e=t.sent,a=e.data,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t)})))()},getByCountry:function(t){return Object(_["a"])(regeneratorRuntime.mark((function e(){var a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,x.get("https://disease.sh/v3/covid-19/countries/"+t+"?yesterday=true&strict=true");case 2:return a=e.sent,s=a.data,e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)})))()},getDailyCases:function(){return Object(_["a"])(regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,x.get("https://disease.sh/v3/covid-19/historical/all?lastdays=30");case 2:return e=t.sent,a=e.data,t.abrupt("return",a);case 5:case"end":return t.stop()}}),t)})))()},getDailyCasesByCountry:function(t){return Object(_["a"])(regeneratorRuntime.mark((function e(){var a,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,x.get("https://disease.sh/v3/covid-19/historical/"+t+"?lastdays=30");case 2:return a=e.sent,s=a.data,e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)})))()}},j=function(){var t=this,e=t._self._c;return e("div",{staticClass:"topwrapper"},[e("header",{staticClass:"intro"},[e("h1",{staticClass:"intro__title"},[t._v(" "+t._s(t.title)+" "),e("p",{staticClass:"intro__tagline"},[t._v(t._s(t.tagline)+", updates every 10 minutes")])])])])},I=[],T={name:"top",props:{title:String,tagline:String}},A=T,U=Object(u["a"])(A,j,I,!1,null,null,null),L=U.exports,M=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"card-cases"}},[e("div",{staticClass:"card-cases__container container"},[e("div",{staticClass:"columns is-desktop"},[e("div",{staticClass:"column"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-content"},[e("p",{staticClass:"subtitle is-6"},[t._v("Active")]),e("p",{staticClass:"title"},[e("ICountUp",{attrs:{endVal:t.active}})],1)])])]),e("div",{staticClass:"column"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-content"},[e("p",{staticClass:"subtitle is-6"},[t._v("Critical")]),e("p",{staticClass:"title"},[e("ICountUp",{attrs:{endVal:t.critical}})],1)])])]),e("div",{staticClass:"column"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-content"},[e("p",{staticClass:"subtitle is-6"},[t._v("Recovered")]),e("p",{staticClass:"title"},[e("ICountUp",{attrs:{endVal:t.recovered}})],1)])])]),e("div",{staticClass:"column"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-content"},[e("p",{staticClass:"subtitle is-6"}
1,[t._v("Deaths")]),e("p",{staticClass:"title"},[e("ICountUp",{attrs:{endVal:t.deaths}})],1)])])])])])])},R=[],P=(a("a9e3"),a("87f4")),S=a.n(P),D={name:"cardcases",props:{active:Number,critical:Number,recovered:Number,deaths:Number},components:{ICountUp:S.a}},V=D,N=Object(u["a"])(V,M,R,!1,null,null,null),z=N.exports,B=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"map-cases"}},[e("div",{staticClass:"map-cases__container container"},[e("div",{staticClass:"card"},[e("l-map",{ref:"map",staticStyle:{"z-index":"0",height:"100%",width:"100%"},attrs:{zoom:t.zoom,center:t.center}},[e("l-tile-layer",{attrs:{url:t.tileLayerUrl}}),t._l(t.casesbycountry,(function(a){return e("l-circle-marker",{key:a.countryInfo._id,attrs:{"lat-lng":[+a.countryInfo.lat,+a.countryInfo.long],color:"#02d1a1",fillColor:"#02d1a1",fillOpacity:.35,stroke:!1}},[e("l-popup",[e("a",{staticClass:"popup-detail"},[e("div",{staticClass:"popup-main"},[e("div",{staticClass:"popup__image"},[e("img",{attrs:{src:a.countryInfo.flag,alt:a.countryInfo.iso3}})]),e("div",{staticClass:"popup__content"},[e("p",{staticClass:"title"},[t._v(t._s(a.country))]),e("div",{staticClass:"columns"},[e("div",{staticClass:"column"},[e("p",[t._v("Cases: "),e("ICountUp",{attrs:{endVal:parseInt(a.cases)}})],1)])]),e("div",{staticClass:"columns"},[e("div",{staticClass:"column"},[e("p",[t._v("Active:")]),e("ICountUp",{attrs:{endVal:parseInt(a.active)}})],1),e("div",{staticClass:"column"},[e("p",[t._v("Critical:")]),e("ICountUp",{attrs:{endVal:parseInt(a.critical)}})],1)]),e("div",{staticClass:"columns"},[e("div",{staticClass:"column"},[e("p",[t._v("Recovered:")]),e("ICountUp",{attrs:{endVal:parseInt(a.recovered)}})],1),e("div",{staticClass:"column"},[e("p",[t._v("Deaths:")]),e("ICountUp",{attrs:{endVal:parseInt(a.deaths)}})],1)])])])])])],1)}))],2)],1)])])},E=[],H=a("2699"),F=a("a40a"),$=a("ea97"),W=a("f60f"),q={name:"MapLeaflet",props:["data","theme"],data:function(){return{tileLayerUrl:"https://cartocdn_{s}.global.ssl.fastly.net/base-midnight/{z}/{x}/{y}.png",tileDarkLayerUrl:"https://cartocdn_{s}.global.ssl.fastly.net/base-midnight/{z}/{x}/{y}.png",tileLightLayerUrl:"https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png",zoom:3,center:[13,122],bounds:null,casesbycountry:[]}},created:function(){var t=this;return Object(_["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,O.getbyCountries();case 2:t.casesbycountry=e.sent;case 3:case"end":return e.stop()}}),e)})))()},mounted:function(){this.getUserLocation()},methods:{getUserLocation:function(){var t=this;navigator.geolocation&&navigator.geolocation.getCurrentPosition((function(e){var a=e.coor;t.flyTo(a.latitude,a.longitude)}))},flyTo:function(t,e){this.$refs.map.mapObject.flyTo([t,e],5,{animate:!0,duration:2})}},watch:{data:function(t){this.$refs.map.mapObject.flyTo([t.countryInfo.lat,t.countryInfo.long],5,{animate:!0,duration:2})},theme:function(t){this.tileLayerUrl=t?this.tileDarkLayerUrl:this.tileLightLayerUrl}},components:{LMap:H["a"],LTileLayer:F["a"],LCircleMarker:$["a"],LPopup:W["a"],ICountUp:S.a}},J=q,G=Object(u["a"])(J,B,E,!1,null,null,null),Z=G.exports,K=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"today-cases"}},[e("div",{staticClass:"today-cases__container container"},[e("div",{staticClass:"columns is-desktop"},[e("div",{staticClass:"column"},[e("article",{staticClass:"box"},[e("p",{staticClass:"title"},[t._v("Today Cases")]),e("p",{staticClass:"subtitle"},[t._v("(+casesperOneMillion)")]),e("p",[t._v(" "+t._s(Number(t.dataT.todayCases).toLocaleString())+" "),e("span",{staticClass:"info"},[t._v("(+"+t._s(t.dataT.casesPerOneMillion)+")")])])])]),e("div",{staticClass:"column"},[e("article",{staticClass:"box"},[e("p",{staticClass:"title"},[t._v("Tested")]),e("p",{staticClass:"subtitle"},[t._v("(+testsperOneMillion)")]),e("p",[t._v(" "+t._s(Number(t.dataT.tests).toLocaleString())+" "),e("span",{staticClass:"info"},[t._v("(+"+t._s(t.dataT.testsPerOneMillion)+")")])])])]),e("div",{staticClass:"column"},[e("article",{staticClass:"box"},[e("p",{staticClass:"title"},[t._v("Today Recovered")]),e("p",{staticClass:"subtitle"},[t._v("(+recoveredperOneMillion)")]),e("p",[t._v(" "+t._s(Number(t.dataT.todayRecovered).toLocaleStr
1ing())+" "),e("span",{staticClass:"info"},[t._v("(+"+t._s(t.dataT.recoveredPerOneMillion)+")")])])])]),e("div",{staticClass:"column"},[e("article",{staticClass:"box"},[e("p",{staticClass:"title"},[t._v("Today Deaths")]),e("p",{staticClass:"subtitle"},[t._v("(+deathperOneMillion)")]),e("p",[t._v(" "+t._s(Number(t.dataT.todayDeaths).toLocaleString())+" "),e("span",{staticClass:"info"},[t._v("(+"+t._s(t.dataT.deathsPerOneMillion)+")")])])])])])])])},Q=[],X={name:"todaycases",props:["data"],data:function(){return{dataT:[]}},created:function(){var t=this;return Object(_["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,O.getAllCases();case 2:t.dataT=e.sent;case 3:case"end":return e.stop()}}),e)})))()},watch:{data:function(t){this.dataT=t}},components:{}},Y=X,tt=Object(u["a"])(Y,K,Q,!1,null,null,null),et=tt.exports,at=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"tablecases"}},[e("p",[t._v("Population: "),e("ICountUp",{attrs:{endVal:parseInt(t.total)}})],1),e("p",[t._v("Affected Countries: "),e("ICountUp",{attrs:{endVal:parseInt(t.affected)}})],1),e("div",{staticClass:"tablecases__container table-container"},[e("table",{staticClass:"table is-narrow is-hoverable is-fullwidth"},[t._m(0),e("tbody",t._l(t.casesbycountry,(function(a){return e("tr",{key:a.iso2,ref:"tablecase",refInFor:!0},[e("td",[e("p",{staticClass:"shrink"},[e("img",{attrs:{src:a.countryInfo.flag,alt:a.countryInfo.iso2}}),t._v(" "+t._s(a.country)+" ")])]),e("td",[e("ICountUp",{attrs:{endVal:parseInt(a.cases)}})],1),e("td",[e("ICountUp",{attrs:{endVal:parseInt(a.recovered)}})],1),e("td",[e("ICountUp",{attrs:{endVal:parseInt(a.deaths)}})],1)])})),0)])])])},st=[function(){var t=this,e=t._self._c;return e("thead",[e("tr",[e("th",[t._v("Country")]),e("th",[t._v("Total Cases")]),e("th",[t._v("Recovered")]),e("th",[t._v("Deaths")])])])}],rt={name:"tablecases",props:["casesbycountry","total","affected"],components:{ICountUp:S.a}},nt=rt,it=Object(u["a"])(nt,at,st,!1,null,null,null),ot=it.exports,ct=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"daily-cases chart"}},[e("apexchart",{ref:"chart",attrs:{width:"100%",type:"area",options:t.options,series:t.series}})],1)},lt=[],ut=(a("7039"),a("07ac"),a("1321")),dt=a.n(ut),pt={name:"dailycasesgraph",props:["data"],data:function(){return{dailyCases:[],options:{chart:{id:"daily-cases"},xaxis:{}},series:[]}},created:function(){var t=this;return Object(_["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,O.getDailyCases();case 2:t.dailyCases=e.sent;case 3:case"end":return e.stop()}}),e)})))()},watch:{dailyCases:function(t){var e=Object.getOwnPropertyNames(t.cases),a=Object.values(t.cases),s=Object.values(t.deaths),r=Object.values(t.recovered);this.$refs.chart.updateOptions({dataLabels:{enabled:!1},stroke:{curve:"smooth"},tooltip:{theme:"dark"},colors:["#00a4db","#ff2323","#00897B"],legend:{fontSize:"14px",fontFamily:"Space Mono",labels:{colors:"#A8B2CD"}},xaxis:{type:"datetime",categories:e,labels:{style:{colors:"#A8B2CD"}}},yaxis:{labels:{style:{colors:"#A8B2CD"}}}});var n=[{name:"Confirmed",data:a},{name:"Deceased",data:s},{name:"Recovered",data:r}];this.$refs.chart.updateSeries(n)},data:function(t){var e=Object.getOwnPropertyNames(t.cases),a=Object.values(t.cases),s=Object.values(t.deaths),r=Object.values(t.recovered);this.$refs.chart.updateOptions({xaxis:{type:"datetime",categories:e}});var n=[{name:"Confirmed",data:a},{name:"Deceased",data:s},{name:"Recovered",data:r}];this.$refs.chart.updateSeries(n)}},components:{apexchart:dt.a}},vt=pt,ht=Object(u["a"])(vt,ct,lt,!1,null,null,null),ft=ht.exports,mt=a("9745"),bt={name:"Home",props:["dark"],data:function(){return{selectall:{countryInfo:{iso2:"all"}},all:{},bycountries:{},bycountry:{},history:{timeline:{}},country:{},tablecountry:{},totalcases:0,totalpopulation:0,totalaffected:0,active:0,critical:0,recovered:0,deaths:0,carddata:{},todaydata:{}}},created:function(){this.getAll(),this.getCountries()},methods:{getAll:function(){var t=this;return Object(_["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,O.getAllCases();case 2:t.all=e.sent;case 3:case"end":return e.stop()}}),e)})))()},getCountries:function(){var t=this;return Object(_["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,O.getbyCountries();case 2:t.bycountries=e.sent,t.tablecountry={},t.tablecountry=t.bycountries;case 5:case"end":return e.stop()}}),e)})))()},viewPerCountry:function(){var t=this;return Object(_["a"])(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.bycountry.countryInfo.iso2,"all"!=a){e.next=5;break}t.getAll(),e.next=8;break;case 5:return e.next=7,O.getByCountry(a);case 7:t.all=e.sent;case 8:case"end":return e.stop()}}),e)})))()}},watch:{all:function(){this.carddata=this.all,this.todaydata=this.all,this.totalcases=this.all.cases,this.totalpopulation=this.all.population,this.totalaffected=this.all.affectedCountries,this.active=this.all.active,this.critical=this.all.critical,this.recovered=this.all.recovered,this.deaths=this.all.deaths},bycountry:function(){var t=Object(_["a"])(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e=this.bycountry.countryInfo.iso2,"all"!=e){t.next=9;break}return t.next=4,O.getDailyCases();case 4:this.history.timeline=t.sent,this.getAll(),this.getCountries(),t.next=19;break;case 9:return t.next=11,O.getDailyCasesByCountry(e);case 11:return this.history=t.sent,t.next=14,O.getByCountry(e);case 14:this.country=t.sent,this.carddata=this.country,this.todaydata=this.country,this.tablecountry={},this.tablecountry[0]=this.country;case 19:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},mounted:function(){this.$ga.page("/home")}
1,components:{Topwrapper:L,CardCases:z,Map:Z,TodayCases:et,TableCases:ot,DailyCasesGraph:ft,SiteFooter:mt["a"],ICountUp:S.a}},Ct=bt,yt=Object(u["a"])(Ct,y,g,!1,null,null,null),gt=yt.exports;s["a"].use(C["a"]);var _t=[{path:"/",name:"Home",component:gt},{path:"*",name:"404",component:function(){return a.e("about").then(a.bind(null,"8cdb"))}}],wt=new C["a"]({mode:"history",base:"/",routes:_t}),kt=wt,xt=a("e11e"),Ot=(a("6cc5"),a("58ca")),jt=a("0284"),It=a.n(jt);a("a0d8"),s["a"].use(Ot["a"]),s["a"].config.productionTip=!1,delete xt["Icon"].Default.prototype._getIconUrl,s["a"].use(It.a,{id:"UA-169027561-2",autoTracking:{screenview:!0}}),new s["a"]({router:kt,render:function(t){return t(m)}}).$mount("#app")},9745:function(t,e,a){"use strict";var s=function(){var t=this;t._self._c;return t._m(0)},r=[function(){var t=this,e=t._self._c;return e("footer",{staticClass:"sitefooter"},[e("div",{staticClass:"footer__content"},[e("p",[t._v(" Made with ❤️ by "),e("strong",[e("a",{attrs:{href:"//www.zekinahlecaros.com/",target:"_blank"}},[t._v(" Zekinah Lecaros")])])])])])}],n={name:"sitefooter"},i=n,o=a("2877"),c=Object(o["a"])(i,s,r,!1,null,null,null);e["a"]=c.exports},a0d8:function(t,e,a){}});
2//# sourceMappingURL=app.d7dc73e7.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.