-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbundle.e2bb9.js
More file actions
2 lines (2 loc) · 88.5 KB
/
Copy pathbundle.e2bb9.js
File metadata and controls
2 lines (2 loc) · 88.5 KB
1
2
!function(e){function t(o){if(a[o])return a[o].exports;var i=a[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var a={};t.m=e,t.c=a,t.d=function(e,a,o){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s="uXl7")}({"+NJC":function(e,t,a){function o(e,t){var a=i(e),o=a.getTime(),r=i(t),n=r.getTime();return o<n?-1:o>n?1:0}var i=a("ajCz");e.exports=o},"/PLn":function(e){e.exports={all:{"540134d0e8f8a09b42cbf3d6":{active:2,cured:0,died:0,date:"2014-08-29T00:00:00.000Z",total:2,modified:"2014-08-30T02:21:37.266Z",city:"Al Jubail",state:"Eastern Province",country:"Saudi Arabia",note:"",lat:27,lng:49.66666699999996,gid:"32690662f60657818a8dbd39730ce9de280b9150",geo:[49.66666699999996,27]},"53933b1ee8f8a09b42cbf348":{active:4,cured:0,died:2,date:"2014-08-28T00:00:00.000Z",total:6,modified:"2014-08-30T02:32:54.473Z",city:"Dammam",state:"Eastern Province",country:"Saudi Arabia",note:"",lat:26.3926665,lng:49.977713600000016,gid:"8b930ed4080562c5c92bcd374f24b966a1e345de",geo:[49.977713600000016,26.3926665]},"53600dfa102aa00f4025423a":{active:0,cured:4,died:2,date:"2014-08-24T00:00:00.000Z",total:6,modified:"2014-08-30T02:27:47.581Z",__v:1,city:"Wadi Addawasir",country:"Saudi Arabia",geo:[44.787222199999974,20.4644444],gid:"3b28762670ea4a8a9eb902aa0389deab1feaf797",lat:20.4644444,lng:44.787222199999974,note:"",records:["5360e66131445a3c48c5c4c6"],state:"Riyadh Province"},"53600d93659e620d400ed260":{active:4,cured:10,died:4,date:"2014-08-18T00:00:00.000Z",total:18,modified:"2014-08-30T02:30:17.850Z",__v:8,city:"Hafar Al Batin",country:"Saudi Arabia",geo:[45.942011800000046,28.3595215],gid:"1b4d667222a9352deadb9a984d2fc748079961b0",lat:28.3595215,lng:45.942011800000046,note:"",records:["5360ed13cc11723e4875b70c","5360f01dcc11723e4875b719","5360f0bfcc11723e4875b71c","5360f0d831445a3c48c5c4dc","5361fdf30bd333f56cad39fc","5361febb0bd333f56cad3a04"],state:"Eastern Province"},"53600714659e620d400ed259":{active:138,cured:154,died:138,date:"2014-08-17T00:00:00.000Z",total:430,modified:"2014-08-30T02:31:33.417Z",__v:41,city:"Riyadh",country:"Saudi Arabia",geo:[46.72416670000007,24.7116667],gid:"e3bdcf038b9378042607c1a17742b4968b8d7d9a",lat:24.7116667,lng:46.72416670000007,note:"",records:["536011f0659e620d400ed26d","5360e69acc11723e4875b705","5360e727cc11723e4875b707","5360e78acc11723e4875b70a","5360edda31445a3c48c5c4d2","5360eedacc11723e4875b714","5360ef8c31445a3c48c5c4d5","5360f045cc11723e4875b71a","5360f09331445a3c48c5c4da","5360f125cc11723e4875b71e","5360f147cc11723e4875b71f","5360f15c31445a3c48c5c4df","5360f190cc11723e4875b721","5360f238cc11723e4875b725","5360f25231445a3c48c5c4e5","5360f39731445a3c48c5c4e8","5360f4a031445a3c48c5c4ea","5360f64fcc11723e4875b72a","5360f711cc11723e4875b72c","5360f734cc11723e4875b72d","5360f779cc11723e4875b72f","5360f7a9cc11723e4875b731","5360f7e031445a3c48c5c4f1","5360f806cc11723e4875b733","5360f81e31445a3c48c5c4f3","5360f83dcc11723e4875b735","5360f85831445a3c48c5c4f5","5360f86ecc11723e4875b737","5360f88331445a3c48c5c4f7","5361fe3d0bd333f56cad39fe","5361ff7f4c0807f36cbc7675","5362026f0bd333f56cad3a0b","536204a64c0807f36cbc767e","536206b00bd333f56cad3a15","536207810bd333f56cad3a17","53620f094c0807f36cbc7687","5362108d0bd333f56cad3a1f","536211700bd333f56cad3a23","536215390bd333f56cad3a2e","5363ba788d93a1540225e2a5","5364e8e735536d021037d046"],state:"Riyadh Province"},"53600d25102aa00f40254235":{active:8,cured:34,died:28,date:"2014-07-29T00:00:00.000Z",total:70,modified:"2014-08-02T01:05:15.662Z",__v:6,city:"Medina",country:"Saudi Arabia",geo:[39.60000000000002,24.4666667],gid:"8249b9f1219a614a848a73b5275b67726c69ef7c",lat:24.4666667,lng:39.60000000000002,note:"",records:["5360efef31445a3c48c5c4d7","5360f1bf31445a3c48c5c4e1","5361fe890bd333f56cad3a02","53620f210bd333f56cad3a1c","536210734c0807f36cbc768a","5364e8cb35536d021037d045"],state:"Al Madinah Province"},"53b031eae8f8a09b42cbf398":{active:0,cured:0,died:2,date:"2014-07-17T00:00:00.000Z",total:2,modified:"2014-07-17T15:14:44.125Z",city:"Bishah",state:"Asir Province",country:"Saudi Arabia",note:"",lat:20,lng:42.60000000000002,gid:"dd1475584ee8b6aa73c16e35ee2243f00662d8ca",geo:[42.60000000000002,20]},"5360043e102aa00f4025422a":{active:124,cured:152,died:114,date:"2014-07-14T00:00:00.000Z",total:390,modified:"2014-07-17T14:35:15.665Z",__v:39,city:"Jeddah",country:"Saudi Arabia",geo:[39.17277779999995,21.5433333],gid:"b173e88b3a7c84f0325aae1c4a3c56b65c63428f",lat:21.5433333,lng:39.17277779999995,note:"1st case was diagnosed on 17th of April, 2013",records:["536004f2659e620d400ed24f","5360053a659e620d400ed250","536005b4659e620d400ed252","536005e0659e620d400ed254","53600609659e620d400ed255","5361fe094c0807f36cbc7670","5361ff980bd333f56cad3a07","536201fd4c0807f36cbc767a","536203ea0bd333f56cad3a0f","5362048c4c0807f36cbc767d","5362068b0bd333f56cad3a13","536207654c0807f36cbc7683","53620ef84c0807f36cbc7686","536210a00bd333f56cad3a20","536211274c0807f36cbc768e","536211d70bd333f56cad3a24","5362120a0bd333f56cad3a26","536212534c0807f36cbc7691","536212a74c0807f36cbc7692","5362131f0bd333f56cad3a29","536213754c0807f36cbc7694","536214650bd333f56cad3a2c","5362148e0bd333f56cad3a2d","536215804c0807f36cbc7697","536216294c0807f36cbc7698","536219364c0807f36cbc76a1","53636e3c13c44c7379b722f2","5363ba848d93a1540225e2a6","5364e8836e069f1810b44ced"],state:"Makkah Province"},"538362bde8f8a09b42cbf2de":{active:8,cured:0,died:0,date:"2014-07-12T00:00:00.000Z",total:8,modified:"2014-07-25T03:48:28.223Z",city:"Kerman",state:"Kerman",country:"Iran",note:"",lat:30.2833333,lng:57.08333330000005,gid:"c82752c941a2abca6f2970f6ba690168a7ce127f",geo:[57.08333330000005,30.2833333]},"53bff0b0e8f8a09b42cbf3bd":{active:2,cured:0,died:0,date:"2014-07-10T00:00:00.000Z",total:2,modified:"2014-07-11T14:12:18.721Z",city:"Al Hofuf",state:"Eastern Province",country:"Saudi Arabia",note:"",lat:25.3141558,lng:49.62990769999999,gid:"890ae833277006b418e4b22d1858e886d84184df",geo:[49.62990769999999,25.3141558]},"5360083f102aa00f40254233":{active:10,cured:4,died:12,date:"2014-07-10T00:00:00.000Z",total:26,modified:"2014-07-11T14:11:29.394Z",__v:2,city:"Taif",country:"Saudi Arabia",geo:[40.41666669999995,21.2666667],gid:"bc7c45c95c1006fc8ae5f501f47be31d145fc297",lat:21.2666667,lng:40.41666669999995,note:"",records:["5360e64acc11723e4875b702","5360e70231445a3c48c5c4cb"],state:"Makkah Province"},"53600ed6102aa00f40254242":{active:92,cured:28,died:10,date:"2014-07-09T00:00:00.000Z",total:130,modified:"2014-07-09T19:34:56.462Z",__v:15,city:"Abu Dhabi",country:"United Arab Emirates",geo:[54.366666699999996,24.4666667],gid:"7dee37c103c46581028051d5c25db43d7c29d8a6",lat:24.4666667,lng:54.366666699999996,note:"",records:["5360102b102aa00f40254247","53601040659e620d400ed26c","536013ec102aa00f40254250","5360144c102aa00f40254252","53601602659e620d400ed279","53601761659e620d400ed27b","53601776659e620d400ed27d","53601797102aa00f40254254","536017b8659e620d400ed27f","536017e2102aa00f40254256","53601ae6102aa00f40254259","53601b0e659e620d400ed285","53601b31102aa00f4025425b","53601b4f659e620d400ed287","53601b87102aa00f4025425d"],state:"Abu Dhabi"},"5361fca00bd333f56cad39fa":{active:4,cured:2,died:2,date:"2014-07-08T00:00:00.000Z",total:8,modified:"2014-07-09T19:39:14.974Z",__v:2,city:"Najran",country:"Saudi Arabia",geo:[44.1322222,17.4916667],gid:"9557dd2d57d2f5af737d289557ee6419e193f95b",lat:17.4916667,lng:44.1322222,note:"",records:["5361fe720bd333f56cad3a00","536210b90bd333f56cad3a21"],state:"Najran"},"53bafe69e8f8a09b42cbf3af":{active:2,cured:0,died:2,date:"2014-07-06T00:00:00.000Z",total:4,modified:"2014-07-07T20:09:44.013Z",city:"Arar",state:"Northern Borders Province",country:"Saudi Arabia",note:"",lat:30.983333,lng:41.016666999999984,gid:"0baeeb2d4803c8f163ba790631a29421566bddc3",geo:[41.016666999999984,30.983333]},"538cf481e8f8a09b42cbf320":{active:-8,cured:10,died:2,date:"2014-06-25T00:00:00.000Z",total:4,modified:"2014-06-26T13:12:57.675Z",city:"Al Jowf",state:"Al Jowf",country:"Saudi Arabia",note:"",lat:29.784722,lng:40.10138899999993,gid:"28d506121e77d7b185a1ff78593fd36dcad4465e",geo:[40.10138899999993,29.784722]},"536006da659e620d400ed258":{active:-4,cured:48,died:20,date:"2014-06-18T00:00:00.000Z",total:64,modified:"2014-06-21T03:25:14.560Z",__v:8,city:"Mecca",country:"Saudi Arabia",geo:[39.81666670000004,21.4166667],gid:"60fc8bf25384cdba276d52578da1bcae4eb74397",lat:21.4166667,lng:39.81666670000004,note:"",records:["536011cd102aa00f4025424a","5360f8dbcc11723e4875b739","5361fea14c0807f36cbc7672","5361ffac4c0807f36cbc7677","536203d90bd333f56cad3a0d","536204bb4c0807f36cbc767f","536206974c0807f36cbc7681","5364e9196e069f1810b44cf0"],state:"Makkah Province"},"538fae6fe8f8a09b42cbf32e":{active:0,cured:0,died:2,date:"2014-06-15T00:00:00.000Z",total:2,modified:"2014-06-15T16:06:17.266Z",city:"Dhahran",state:"Eastern Province",country:"Saudi Arabia",note:"",lat:26.2666667,lng:50.14999999999998,gid:"7fc1c6d33f4ca008e840a87bf5c9aadd9966bc0b",geo:[50.14999999999998,26.2666667]},"539dc776e8f8a09b42cbf374":{active:2,cured:0,died:0,date:"2014-06-15T00:00:00.000Z",total:2,modified:"2014-06-17T21:05:54.902Z",city:"Dhaka",state:"Dhaka Division",country:"Bangladesh",note:"Bangladesh-born US resident was admitted to hospital days after returning home via Abu Dhabi",lat:23.810332,lng:90.41251809999994,gid:"01cebe0dae9e6c104cd27c6fcd299b513a6affad",geo:[90.41251809999994,23.810332]},"537e26dee8f8a09b42cbf2b6":{active:-2,cured:14,died:0,date:"2014-06-13T00:00:00.000Z",total:12,modified:"2014-06-14T17:41:31.248Z",city:"Al Qunfudhah",state:"Makkah Province",country:"Saudi Arabia",note:"",lat:19.1281398,lng:41.07873919999997,gid:"1cdea243e5a273a8cec981e0e94a9344ede5d454",geo:[41.07873919999997,19.1281398]},"539ac5bde8f8a09b42cbf360":{active:2,cured:0,died:0,date:"2014-06-12T00:00:00.000Z",total:2,modified:"2014-06-13T09:38:14.838Z",__v:1,city:"Al-Bahah",country:"Saudi Arabia",geo:[41.474209984374966,20.045381143636373],gid:"95b6095886338e9b5e879aa77dec32cea3edbd31",lat:20.045381143636373,lng:41.474209984374966,note:"",state:"Al Bahah Province"},"538b46d9e8f8a09b42cbf30c":{active:0,cured:0,died:2,date:"2014-06-10T00:00:00.000Z",total:2,modified:"2014-06-10T22:59:49.241Z",city:"Tlemcen",state:"Tlemcen",country:"Algeria",note:"",lat:34.8827758,lng:-1.3166696000000684,gid:"3b35d112439fb1145dc75894c4dcf60717c6ab48",geo:[-1.3166696000000684,34.8827758]},"5390abfae8f8a09b42cbf343":{active:2,cured:0,died:0,date:"2014-06-05T00:00:00.000Z",total:2,modified:"2014-06-05T17:42:39.336Z",city:"Dilam",state:"Riyadh Province",country:"Saudi Arabia",note:"",lat:23.976619,lng:47.15570869999999,gid:"9d98f47980582f84c48709601e99116988f08968",geo:[47.15570869999999,23.976619]},"538fb0b4e8f8a09b42cbf333":{active:42,cured:0,died:184,date:"2014-06-03T00:00:00.000Z",total:226,modified:"2014-06-04T23:51:49.380Z",city:"Unknown city",country:"Saudi Arabia",geo:[45.36735517656257,24.616818410787804],gid:"e3bdcf038b9378042607c1a17742b4968b8d7d9a",lat:24.616818410787804,lng:45.36735517656257,note:"The Saudi Ministry of Health announced +113 cases (+92 deaths) which were previously unreported without any more details. ",state:"Unknown"},"53600f59102aa00f40254246":{active:10,cured:2,died:8,date:"2014-06-01T00:00:00.000Z",total:20,modified:"2014-06-12T10:56:07.298Z",__v:4,city:"Amman",country:"Jordan",geo:[35.945695099999966,31.9565783],gid:"a4ff0f6ed8f20eeb7549112acb42e9c1d1fc9260",lat:31.9565783,lng:35.945695099999966,note:"",records:["5360d3d331445a3c48c5c494","5360dfdf31445a3c48c5c4b1","5360e01f31445a3c48c5c4b3","5364cfc5cbececad0c305ef0"],state:"Amman"},"538b468ae8f8a09b42cbf30a":{active:0,cured:0,died:0,date:"2014-06-01T00:00:00.000Z",total:0,modified:"2014-06-01T15:30:08.382Z",city:"Koléa",state:"Tipasa",country:"Algeria",note:"",lat:36.639,lng:2.7730000000000246,gid:"06c4f29c272e02e4963b8a165698a63f8a92303e",geo:[2.7730000000000246,36.639]},"5361fcb40bd333f56cad39fb":{active:-2,cured:16,died:2,date:"2014-05-19T00:00:00.000Z",total:16,modified:"2014-05-20T02:36:35.936Z",__v:3,city:"Tabuk",country:"Saudi Arabia",geo:[36.58333330000005,28.3833333],gid:"593e069a1d77e198521533a3dcc96dcd3cd6e79f",lat:28.3833333,lng:36.58333330000005,note:"",records:["5361ffc60bd333f56cad3a09","536202460bd333f56cad3a0a","53620f3a0bd333f56cad3a1d"],state:"Tabuk Province"},"53711fa0e8f8a09b42cbf227":{active:0,cured:2,died:0,date:"2014-05-19T00:00:00.000Z",total:2,modified:"2014-05-20T02:41:00.722Z",city:"Orlando",country:"United States",geo:[-81.37923649999999,28.5383355],gid:"98bebc18d5ef864781247d14becb4481c72446c6",lat:28.5383355,lng:-81.37923649999999,note:"2nd U.S. Case, he is a health worker in Jeddah, Saudi Arabia",state:"Florida"},"5373985de8f8a09b42cbf241":{active:4,cured:0,died:0,date:"2014-05-15T00:00:00.000Z",total:4,modified:"2014-05-15T15:43:11.047Z",city:"The Hague",state:"South Holland",country:"The Netherlands",note:"",lat:52.0704978,lng:4.3006999000000405,gid:"8c334f7bd9f0476cd8ec7e6bf608fbc578c21929",geo:[4.3006999000000405,52.0704978]},"5363f508941359520274612a":{active:0,cured:2,died:0,date:"2014-05-15T00:00:00.000Z",total:2,modified:"2014-05-15T16:06:06.137Z",__v:2,city:"Munster",country:"United States",geo:[-87.51254119999999,41.5644798],gid:"44409cc0d2d9c1ce6e76a3f58a83b059609f3f03",lat:41.5644798,lng:-87.51254119999999,note:"First confirmed case in US, coming from Saudi Arabia",records:["5363f5338d93a1540225e2a9"],state:"Indiana"},"5361018331445a3c48c5c4f9":{active:0,cured:2,died:0,date:"2014-05-11T00:00:00.000Z",total:2,modified:"2014-05-12T17:38:12.535Z",__v:1,city:"Cairo",country:"Egypt",geo:[31.23571160000006,30.0444196],gid:"a0e1b9bbf82400da1813eb0880ebc39efd3ad15a",lat:30.0444196,lng:31.23571160000006,note:"",records:["536101ae31445a3c48c5c4fa"],state:"Cairo Governorate"},"53601298659e620d400ed26e":{active:8,cured:0,died:0,date:"2014-05-11T00:00:00.000Z",total:8,modified:"2014-05-16T00:03:48.516Z",__v:3,city:"Zarqa",country:"Jordan",geo:[36.86807909999993,31.7515118],gid:"307ec12db56e7beb15d5661734fd150e7a4a5bc4",lat:31.7515118,lng:36.86807909999993,note:"",records:["5360e0a531445a3c48c5c4b9"],state:"Zarqa"},"536bc2000216333621229536":{active:0,cured:2,died:0,date:"2014-05-08T00:00:00.000Z",total:2,modified:"2014-05-08T17:43:00.845Z",city:"Beirut",country:"Lebanon",geo:[35.49547940000002,33.8886289],gid:"72e073241cf405f7888dc2792e848fbc8146dfbf",lat:33.8886289,lng:35.49547940000002,note:"First case was diagnosed on 8th of May, he was treated & discharged home",state:"Beirut"},"5360135f102aa00f4025424f":{active:2,cured:0,died:0,date:"2014-04-18T00:00:00.000Z",total:2,modified:"2014-04-30T08:17:43.486Z",__v:4,city:"Athens",country:"Greece",geo:[23.729359899999963,37.983917],gid:"c8508d6ddd870b013d19ad5de44ee7f5058ad098",lat:37.983917,lng:23.729359899999963,note:"They are Greek citizens residing in Jeddah, Saudi Arabia",records:[],state:"Attica"},"53601413659e620d400ed274":{active:0,cured:0,died:2,date:"2014-04-17T00:00:00.000Z",total:2,modified:"2014-04-29T15:54:57.248Z",__v:3,city:"Kuala Lumpur",country:"Malaysia",geo:[101.68685499999992,3.139003],gid:"fcac8d5159b2c9f45a200b98c5e647cc538a7dd0",lat:3.139003,lng:101.68685499999992,note:"",records:["5360143a659e620d400ed276"],state:"Federal Territory of Kuala Lumpur"},"5364898ccdffa6e2099d54ea":{active:2,cured:0,died:0,date:"2014-04-13T00:00:00.000Z",total:2,modified:"2014-05-03T06:19:07.265Z",__v:5,city:"Sana'a",country:"Yemen",geo:[44.19100660000004,15.3694451],gid:"384e4fc96be5290ec8b581f853bc39d7c47c32c6",lat:15.3694451,lng:44.19100660000004,note:"",records:["53648a5b9c8bb4e409d4f1f5"],state:"Amanat Al Asimah"},"53600f2d102aa00f40254244":{active:4,cured:0,died:2,date:"2014-03-20T00:00:00.000Z",total:6,modified:"2014-04-30T07:10:18.815Z",__v:2,city:"Kuwait City",country:"Kuwait",geo:[47.97833330000003,29.36972219999999],gid:"26d7ce1b05e8e160c868090eb3b6c1a084ae99e3",lat:29.36972219999999,lng:47.97833330000003,note:"",records:["5360ded0cc11723e4875b6f0","5360e004cc11723e4875b6f4"],state:"Al Asimah"},"53600f47659e620d400ed269":{active:0,cured:0,died:2,date:"2013-12-31T00:00:00.000Z",total:2,modified:"2014-04-29T21:32:19.800Z",__v:1,city:"Dubai",country:"United Arab Emirates",geo:[55.18174069999998,25.0476643],gid:"4517501182432a6539985e4dbd00278179f70a98",lat:25.0476643,lng:55.18174069999998,note:"",records:["53601a40659e620d400ed281"],state:"Dubai"},"53600f3b659e620d400ed267":{active:2,cured:0,died:0,date:"2013-12-31T00:00:00.000Z",total:2,modified:"2014-04-29T15:54:57.248Z",__v:1,city:"Sharjah",country:"United Arab Emirates",geo:[55.39186480000001,25.3575224],gid:"1922ae5cea23f2d84d7335f494758e0b34292637",lat:25.3575224,lng:55.39186480000001,note:"",records:["53601abf659e620d400ed282"],state:"Sharjah"},"53600d7c102aa00f40254237":{active:4,cured:0,died:0,date:"2013-12-17T00:00:00.000Z",total:4,modified:"2014-04-30T07:10:18.815Z",__v:2,city:"Sakaka",country:"Saudi Arabia",geo:[39.32062410000003,29.887356],gid:"ecbb8124bb4c5f23bb357c54149a4a50eed9fb2a",lat:29.887356,lng:39.32062410000003,note:"",records:["5360f2e231445a3c48c5c4e6","5360f30bcc11723e4875b728"],state:"Al Jowf"},"53600e23659e620d400ed264":{active:8,cured:0,died:8,date:"2013-11-29T00:00:00.000Z",total:16,modified:"2014-04-30T07:10:18.746Z",__v:9,city:"Doha",country:"Qatar",geo:[51.53333329999998,25.2866667],gid:"d4e554095c89cc0488a74052db942e9d9077452b",lat:25.2866667,lng:51.53333329999998,note:"",records:["5360d227cc11723e4875b6d2","5360dac8cc11723e4875b6e2","5360db3bcc11723e4875b6e3","5360dbae31445a3c48c5c4a2","5360dbd9cc11723e4875b6e6","5360dc0431445a3c48c5c4a4","5360de8fcc11723e4875b6ee","5360dea3cc11723e4875b6ef","5360df0431445a3c48c5c4ac"],state:"Doha"},"5360ddd2cc11723e4875b6ec":{active:0,cured:0,died:2,date:"2013-10-31T00:00:00.000Z",total:2,modified:"2014-04-30T07:10:18.746Z",__v:1,city:"Ad Dakhiliyah",country:"Oman",geo:[57.28186249999999,22.3476325],gid:"fc1a2d3882cdde16ae948dabaf38e11d0f2a2932",lat:22.3476325,lng:57.28186249999999,note:"",records:["5360de0431445a3c48c5c4a8"],state:"Ad Dakhiliyah"},"53600e43102aa00f4025423e":{active:0,cured:4,died:2,date:"2013-09-06T00:00:00.000Z",total:6,modified:"2014-04-30T07:10:18.746Z",__v:2,city:"Tunis",country:"Tunisia",geo:[10.181531599999971,36.8064948],gid:"40daaf34c5111164f4d4c6da75cc0cf2f14ea1eb",lat:36.8064948,lng:10.181531599999971,note:"",records:["5360d93e31445a3c48c5c499","5360db7e31445a3c48c5c4a1"],state:"Tunis"},"53600db1659e620d400ed261":{active:12,cured:0,died:2,date:"2013-08-28T00:00:00.000Z",total:14,modified:"2014-04-30T07:10:18.815Z",__v:5,city:"Abha",country:"Saudi Arabia",geo:[42.5072222,18.2233333],gid:"8328871353ef2e02515e0bf5c4ee6a35ae3cd35c",lat:18.2233333,lng:42.5072222,note:"",records:["5360ed5531445a3c48c5c4d0","5360ed91cc11723e4875b70e","5360ee97cc11723e4875b712","5360ef3e31445a3c48c5c4d4","5360efcdcc11723e4875b717"],state:"Asir Province"},"5360081f659e620d400ed25c":{active:38,cured:10,died:70,date:"2013-06-14T00:00:00.000Z",total:118,modified:"2014-05-01T09:49:05.140Z",__v:29,city:"Al-Hasa",country:"Saudi Arabia",geo:[50.67937589999997,22.2954496],gid:"f78a63e67efefda1b9a24f70055400c6687be340",lat:22.2954496,lng:50.67937589999997,note:"",records:["5360e1b2cc11723e4875b6f7","5360e25831445a3c48c5c4bb","5360e2a5cc11723e4875b6f9","5360e32ccc11723e4875b6fa","5360e3fccc11723e4875b6fb","5360e43231445a3c48c5c4c0","5360e51ccc11723e4875b6fc","5360e56331445a3c48c5c4c2","5360e60931445a3c48c5c4c4","5360e624cc11723e4875b700","5360e675cc11723e4875b704","5360e6d931445a3c48c5c4c9","5360e74031445a3c48c5c4cd","5360e76acc11723e4875b709","5360ee36cc11723e4875b710","5360f203cc11723e4875b723","5360f22331445a3c48c5c4e3","5360f76631445a3c48c5c4ed","5360f78e31445a3c48c5c4ef","536217a30bd333f56cad3a31","536217c14c0807f36cbc769a","536217f00bd333f56cad3a33","5362180d0bd333f56cad3a34","5362182f4c0807f36cbc769d","5362184b4c0807f36cbc769e","536218790bd333f56cad3a37","536218914c0807f36cbc76a0"],state:"Eastern Province"},"5360d99731445a3c48c5c49c":{active:2,cured:0,died:0,date:"2013-06-02T00:00:00.000Z",total:2,modified:"2014-04-30T07:10:18.815Z",__v:2,city:"Rome",country:"Italy",geo:[12.48018019999995,41.8723889],gid:"c201ff6d6339dac3b34184b3972b232aa097ff8a",lat:41.8723889,lng:12.48018019999995,note:"",records:["5360da2bcc11723e4875b6e0","5360daa1cc11723e4875b6e1"],state:"Lazio"},"5360086a102aa00f40254234":{active:0,cured:0,died:2,date:"2013-05-23T00:00:00.000Z",total:2,modified:"2014-04-30T07:10:18.815Z",__v:1,city:"Al-Qassim",country:"Saudi Arabia",geo:[42.863787499999944,25.8274886],gid:"6ec7650b2dba593a004d45e9b6aef616e1bfe042",lat:25.8274886,lng:42.863787499999944,note:"",records:["5360e535cc11723e4875b6fe"],state:"Al Qassim"},"53600e17659e620d400ed263":{active:2,cured:0,died:2,date:"2013-05-12T00:00:00.000Z",total:4,modified:"2014-04-30T07:10:18.815Z",__v:2,city:"Paris",country:"France",geo:[2.3522219000000177,48.856614],gid:"691b237b0322f28988f3ce03e321ff72a12167fd",lat:48.856614,lng:2.3522219000000177,note:"",records:["5360d8d0cc11723e4875b6dc","5360d908cc11723e4875b6de"],state:"Île-de-France"},"53600e32102aa00f4025423d":{active:0,cured:0,died:2,date:"2013-03-26T00:00:00.000Z",total:2,modified:"2014-04-30T07:10:18.815Z",__v:1,city:"Munich",country:"Germany",geo:[11.581980599999952,48.1351253],gid:"412a4fdf5226b5e184d846ee48628269c86a5afe",lat:48.1351253,lng:11.581980599999952,note:"",records:["5360d88ccc11723e4875b6da"],state:"Bavaria"},"5365049c5f0a12f512280ce7":{active:2,cured:0,died:4,date:"2013-02-16T00:00:00.000Z",total:6,modified:"2014-05-03T15:10:19.988Z",__v:4,city:"London",country:"United Kingdom",geo:[-.12548719999995228,51.508515],gid:"b1a8b96daab5065cf4a08f953e577c34cdf769c0",lat:51.508515,lng:-.12548719999995228,note:"",records:["536505ca08364df312008def","5365068308364df312008df0","536506db08364df312008df1"],state:"London"},"5360df6ecc11723e4875b6f2":{active:0,cured:0,died:2,date:"2013-01-09T00:00:00.000Z",total:2,modified:"2014-04-30T07:10:18.746Z",__v:1,city:"Muscat",country:"Oman",geo:[58.539999999999964,23.61],gid:"beb06d4e6fe8a781a89ed84c5a52f5f331c1fcde",lat:23.61,lng:58.539999999999964,note:"",records:["5360dfaa31445a3c48c5c4af"],state:"Muscat"}},cities:[{id:"53600714659e620d400ed259",percentage:25.8},{id:"5360043e102aa00f4025422a",percentage:23.4},{id:"53600ed6102aa00f40254242",percentage:7.8},{id:"538fb0b4e8f8a09b42cbf333",percentage:13.5},{id:"5360081f659e620d400ed25c",percentage:7.1},{id:"53600db1659e620d400ed261",percentage:.8},{id:"5360083f102aa00f40254233",percentage:1.6},{id:"53600f59102aa00f40254246",percentage:1.2},{id:"53600e23659e620d400ed264",percentage:1},{id:"53600d25102aa00f40254235",percentage:4.2},{id:"53601298659e620d400ed26e",percentage:.5},{id:"538362bde8f8a09b42cbf2de",percentage:.5},{id:"53600d7c102aa00f40254237",percentage:.2},{id:"53600d93659e620d400ed260",percentage:1.1},{id:"5361fca00bd333f56cad39fa",percentage:.5},{id:"53933b1ee8f8a09b42cbf348",percentage:.4},{id:"5373985de8f8a09b42cbf241",percentage:.2},{id:"53600f2d102aa00f40254244",percentage:.4},{id:"53600e17659e620d400ed263",percentage:.2},{id:"540134d0e8f8a09b42cbf3d6",percentage:.1},{id:"539dc776e8f8a09b42cbf374",percentage:.1},{id:"5360135f102aa00f4025424f",percentage:.1},{id:"5390abfae8f8a09b42cbf343",percentage:.1},{id:"5360d99731445a3c48c5c49c",percentage:.1},{id:"539ac5bde8f8a09b42cbf360",percentage:.1},{id:"53bff0b0e8f8a09b42cbf3bd",percentage:.1},{id:"53bafe69e8f8a09b42cbf3af",percentage:.2},{id:"53600f3b659e620d400ed267",percentage:.1},{id:"5365049c5f0a12f512280ce7",percentage:.4},{id:"5364898ccdffa6e2099d54ea",percentage:.1},{id:"538fae6fe8f8a09b42cbf32e",percentage:.1},{id:"5363f508941359520274612a",percentage:.1},{id:"536bc2000216333621229536",percentage:.1},{id:"53711fa0e8f8a09b42cbf227",percentage:.1},{id:"5361018331445a3c48c5c4f9",percentage:.1},{id:"5360086a102aa00f40254234",percentage:.1},{id:"53600dfa102aa00f4025423a",percentage:.4},{id:"538b468ae8f8a09b42cbf30a",percentage:0},{id:"538b46d9e8f8a09b42cbf30c",percentage:.1},{id:"53b031eae8f8a09b42cbf398",percentage:.1},{id:"53600e32102aa00f4025423d",percentage:.1},{id:"5360ddd2cc11723e4875b6ec",percentage:.1},{id:"53601413659e620d400ed274",percentage:.1},{id:"53600f47659e620d400ed269",percentage:.1},{id:"53600e43102aa00f4025423e",percentage:.4},{id:"5360df6ecc11723e4875b6f2",percentage:.1},{id:"5361fcb40bd333f56cad39fb",percentage:1},{id:"537e26dee8f8a09b42cbf2b6",percentage:.7},{id:"536006da659e620d400ed258",percentage:3.8},{id:"538cf481e8f8a09b42cbf320",percentage:.2}],countries:[{id:"Saudi Arabia",active:382,cured:458,died:590,total:1430,date:"2013-05-23T00:00:00.000Z",lat:24.076920660601004,lng:43.7818514358724,modified:"2014-08-30T02:32:54.473Z",country:"Saudi Arabia",count:24,percentage:85.7},{id:"Bangladesh",active:2,cured:0,died:0,total:2,date:"2014-06-15T00:00:00.000Z",lat:23.810332,lng:90.41251809999994,modified:"2014-06-17T21:05:54.902Z",country:"Bangladesh",count:1,percentage:.1},{id:"Qatar",active:8,cured:0,died:8,total:16,date:"2013-11-29T00:00:00.000Z",lat:25.2866667,lng:51.53333329999998,modified:"2014-04-30T07:10:18.746Z",country:"Qatar",count:1,percentage:1},{id:"Germany",active:0,cured:0,died:2,total:2,date:"2013-03-26T00:00:00.000Z",lat:48.1351253,lng:11.581980599999952,modified:"2014-04-30T07:10:18.815Z",country:"Germany",count:1,percentage:.1},{id:"Tunisia",active:0,cured:4,died:2,total:6,date:"2013-09-06T00:00:00.000Z",lat:36.8064948,lng:10.181531599999971,modified:"2014-04-30T07:10:18.746Z",country:"Tunisia",count:1,percentage:.4},{id:"United Arab Emirates",active:94,cured:28,died:12,total:134,date:"2013-12-31T00:00:00.000Z",lat:24.957284466666664,lng:54.98009073333333,modified:"2014-07-09T19:34:56.462Z",country:"United Arab Emirates",count:3,percentage:8},{id:"Kuwait",active:4,cured:0,died:2,total:6,date:"2014-03-20T00:00:00.000Z",lat:29.36972219999999,lng:47.97833330000003,modified:"2014-04-30T07:10:18.815Z",country:"Kuwait",count:1,percentage:.4},{id:"Jordan",active:18,cured:2,died:8,total:28,date:"2014-05-11T00:00:00.000Z",lat:31.85404505,lng:36.40688709999995,modified:"2014-06-12T10:56:07.298Z",country:"Jordan",count:2,percentage:1.7},{id:"Greece",active:2,cured:0,died:0,total:2,date:"2014-04-18T00:00:00.000Z",lat:37.983917,lng:23.729359899999963,modified:"2014-04-30T08:17:43.486Z",country:"Greece",count:1,percentage:.1},{id:"Malaysia",active:0,cured:0,died:2,total:2,date:"2014-04-17T00:00:00.000Z",lat:3.139003,lng:101.68685499999992,modified:"2014-04-29T15:54:57.248Z",country:"Malaysia",count:1,percentage:.1},{id:"France",active:2,cured:0,died:2,total:4,date:"2013-05-12T00:00:00.000Z",lat:48.856614,lng:2.3522219000000177,modified:"2014-04-30T07:10:18.815Z",country:"France",count:1,percentage:.2},{id:"Oman",active:0,cured:0,died:4,total:4,date:"2013-01-09T00:00:00.000Z",lat:22.97881625,lng:57.910931249999976,modified:"2014-04-30T07:10:18.746Z",country:"Oman",count:2,percentage:.2},{id:"Egypt",active:0,cured:2,died:0,total:2,date:"2014-05-11T00:00:00.000Z",lat:30.0444196,lng:31.23571160000006,modified:"2014-05-12T17:38:12.535Z",country:"Egypt",count:1,percentage:.1},{id:"United States",active:0,cured:4,died:0,total:4,date:"2014-05-15T00:00:00.000Z",lat:35.05140765,lng:-84.44588884999999,modified:"2014-05-20T02:41:00.722Z",country:"United States",count:2,percentage:.2},{id:"Yemen",active:2,cured:0,died:0,total:2,date:"2014-04-13T00:00:00.000Z",lat:15.3694451,lng:44.19100660000004,modified:"2014-05-03T06:19:07.265Z",country:"Yemen",count:1,percentage:.1},{id:"United Kingdom",active:2,cured:0,died:4,total:6,date:"2013-02-16T00:00:00.000Z",lat:51.508515,lng:-.12548719999995228,modified:"2014-05-03T15:10:19.988Z",country:"United Kingdom",count:1,percentage:.4},{id:"Lebanon",active:0,cured:2,died:0,total:2,date:"2014-05-08T00:00:00.000Z",lat:33.8886289,lng:35.49547940000002,modified:"2014-05-08T17:43:00.845Z",country:"Lebanon",count:1,percentage:.1},{id:"The Netherlands",active:4,cured:0,died:0,total:4,date:"2014-05-15T00:00:00.000Z",lat:52.0704978,lng:4.3006999000000405,modified:"2014-05-15T15:43:11.047Z",country:"The Netherlands",count:1,percentage:.2},{id:"Iran",active:8,cured:0,died:0,total:8,date:"2014-07-12T00:00:00.000Z",lat:30.2833333,lng:57.08333330000005,modified:"2014-07-25T03:48:28.223Z",country:"Iran",count:1,percentage:.5},{id:"Algeria",active:0,cured:0,died:2,total:2,date:"2014-06-01T00:00:00.000Z",lat:35.7608879,lng:.7281651999999781,modified:"2014-06-10T22:59:49.241Z",country:"Algeria",count:2,percentage:.1},{id:"Italy",active:2,cured:0,died:0,total:2,date:"2013-06-02T00:00:00.000Z",lat:41.8723889,lng:12.48018019999995,modified:"2014-04-30T07:10:18.815Z",country:"Italy",count:1,percentage:.1}],new:[{id:"540134d0e8f8a09b42cbf3d6",percentage:.1},{id:"53933b1ee8f8a09b42cbf348",percentage:.4},{id:"53600dfa102aa00f4025423a",percentage:.4},{id:"53600d93659e620d400ed260",percentage:1.1},{id:"53600714659e620d400ed259",percentage:25.8},{id:"53600d25102aa00f40254235",percentage:4.2},{id:"53b031eae8f8a09b42cbf398",percentage:.1},{id:"5360043e102aa00f4025422a",percentage:23.4},{id:"538362bde8f8a09b42cbf2de",percentage:.5},{id:"53bff0b0e8f8a09b42cbf3bd",percentage:.1},{id:"5360083f102aa00f40254233",percentage:1.6},{id:"53600ed6102aa00f40254242",percentage:7.8},{id:"5361fca00bd333f56cad39fa",percentage:.5},{id:"53bafe69e8f8a09b42cbf3af",percentage:.2},{id:"538cf481e8f8a09b42cbf320",percentage:.2},{id:"536006da659e620d400ed258",percentage:3.8},{id:"538fae6fe8f8a09b42cbf32e",percentage:.1},{id:"539dc776e8f8a09b42cbf374",percentage:.1},{id:"537e26dee8f8a09b42cbf2b6",percentage:.7},{id:"539ac5bde8f8a09b42cbf360",percentage:.1},{id:"538b46d9e8f8a09b42cbf30c",percentage:.1},{id:"5390abfae8f8a09b42cbf343",percentage:.1},{id:"538fb0b4e8f8a09b42cbf333",percentage:13.5},{id:"53600f59102aa00f40254246",percentage:1.2},{id:"538b468ae8f8a09b42cbf30a",percentage:0},{id:"5361fcb40bd333f56cad39fb",percentage:1},{id:"53711fa0e8f8a09b42cbf227",percentage:.1},{id:"5373985de8f8a09b42cbf241",percentage:.2},{id:"5363f508941359520274612a",percentage:.1},{id:"5361018331445a3c48c5c4f9",percentage:.1},{id:"53601298659e620d400ed26e",percentage:.5},{id:"536bc2000216333621229536",percentage:.1},{id:"5360135f102aa00f4025424f",percentage:.1},{id:"53601413659e620d400ed274",percentage:.1},{id:"5364898ccdffa6e2099d54ea",percentage:.1},{id:"53600f2d102aa00f40254244",percentage:.4},{id:"53600f47659e620d400ed269",percentage:.1},{id:"53600f3b659e620d400ed267",percentage:.1},{id:"53600d7c102aa00f40254237",percentage:.2},{id:"53600e23659e620d400ed264",percentage:1},{id:"5360ddd2cc11723e4875b6ec",percentage:.1},{id:"53600e43102aa00f4025423e",percentage:.4},{id:"53600db1659e620d400ed261",percentage:.8},{id:"5360081f659e620d400ed25c",percentage:7.1},{id:"5360d99731445a3c48c5c49c",percentage:.1},{id:"5360086a102aa00f40254234",percentage:.1},{id:"53600e17659e620d400ed263",percentage:.2},{id:"53600e32102aa00f4025423d",percentage:.1},{id:"5365049c5f0a12f512280ce7",percentage:.4},{id:"5360df6ecc11723e4875b6f2",percentage:.1}],world:{total:1668,active:530,cured:500,died:638,date:"2014-08-29T00:00:00.000Z",modified:"2014-08-30T02:32:54.473Z",risk:38.2}}},"5KzI":function(e,t,a){function o(e,t){var a=i(e),o=i(t),d=n(a,o),c=Math.abs(r(a,o));return a.setMonth(a.getMonth()-d*c),d*(c-(n(a,o)===-d))}var i=a("ajCz"),r=a("mgfB"),n=a("+NJC");e.exports=o},C2lg:function(){function e(t){this.extend(e,google.maps.OverlayView),this.tabs_=[],this.activeTab_=null,this.baseZIndex_=100,this.isOpen_=!1;var a=t||{};void 0==a.backgroundColor&&(a.backgroundColor=this.BACKGROUND_COLOR_),void 0==a.borderColor&&(a.borderColor=this.BORDER_COLOR_),void 0==a.borderRadius&&(a.borderRadius=this.BORDER_RADIUS_),void 0==a.borderWidth&&(a.borderWidth=this.BORDER_WIDTH_),void 0==a.padding&&(a.padding=this.PADDING_),void 0==a.arrowPosition&&(a.arrowPosition=this.ARROW_POSITION_),void 0==a.disableAutoPan&&(a.disableAutoPan=!1),void 0==a.disableAnimation&&(a.disableAnimation=!1),void 0==a.minWidth&&(a.minWidth=this.MIN_WIDTH_),void 0==a.shadowStyle&&(a.shadowStyle=this.SHADOW_STYLE_),void 0==a.arrowSize&&(a.arrowSize=this.ARROW_SIZE_),void 0==a.arrowStyle&&(a.arrowStyle=this.ARROW_STYLE_),this.buildDom_(),this.setValues(a)}"undefined"!=typeof window&&(window.InfoBubble=e),e.prototype.ARROW_SIZE_=15,e.prototype.ARROW_STYLE_=0,e.prototype.SHADOW_STYLE_=1,e.prototype.MIN_WIDTH_=50,e.prototype.ARROW_POSITION_=50,e.prototype.PADDING_=10,e.prototype.BORDER_WIDTH_=1,e.prototype.BORDER_COLOR_="#ccc",e.prototype.BORDER_RADIUS_=10,e.prototype.BACKGROUND_COLOR_="#fff",e.prototype.extend=function(e,t){return function(e){for(var t in e.prototype)this.prototype[t]=e.prototype[t];return this}.apply(e,[t])},e.prototype.buildDom_=function(){var e=this.bubble_=document.createElement("DIV");e.style.position="absolute",e.style.zIndex=this.baseZIndex_,(this.tabsContainer_=document.createElement("DIV")).style.position="relative";var t=this.close_=document.createElement("IMG");t.style.position="absolute",t.style.width=this.px(36),t.style.height=this.px(36),t.style.border=0,t.style.zIndex=this.baseZIndex_+1,t.style.cursor="pointer",t.src="./assets/close-button.svg";var a=this;google.maps.event.addDomListener(t,"click",function(){a.close(),google.maps.event.trigger(a,"closeclick")});var o=this.contentContainer_=document.createElement("DIV");o.style.overflowX="auto",o.style.overflowY="auto",o.style.cursor="default",o.style.clear="both",o.style.position="relative",o.appendChild(this.content_=document.createElement("DIV"));var i=this.arrow_=document.createElement("DIV");i.style.position="relative";var r=this.arrowOuter_=document.createElement("DIV"),n=this.arrowInner_=document.createElement("DIV"),d=this.getArrowSize_();r.style.position=n.style.position="absolute",r.style.left=n.style.left="50%",r.style.height=n.style.height="0",r.style.width=n.style.width="0",r.style.marginLeft=this.px(-d),r.style.borderWidth=this.px(d),r.style.borderBottomWidth=0;var c=this.bubbleShadow_=document.createElement("DIV");c.style.position="absolute",e.style.display=c.style.display="none",e.appendChild(this.tabsContainer_),e.appendChild(t),e.appendChild(o),i.appendChild(r),i.appendChild(n),e.appendChild(i);var s=document.createElement("style");s.setAttribute("type","text/css"),this.animationName_="_ibani_"+Math.round(1e4*Math.random()),s.textContent="."+this.animationName_+"{\n-webkit-animation-name:"+this.animationName_+";\nanimation-name:"+this.animationName_+";\n-webkit-animation-duration:0.2s;\nanimation-duration:0.2s;\n-webkit-animation-timing-function:cubic-bezier(0, 0, 0.58, 1);\nanimation-timing-function:cubic-bezier(0, 0, 0.58, 1);\n-webkit-transform-origin: 50% 100%;\ntransform-origin: 50% 100%;\n-webkit-animation-iteration-count:1;\nanimation-iteration-count:1;}\n@-webkit-keyframes "+this.animationName_+" {from {-webkit-transform: scale(0)}0 to {-webkit-transform: scale(1)}}\n@keyframes "+this.animationName_+" {from {transform: scale(0)}0 to {transform: scale(1)}}",document.getElementsByTagName("head")[0].appendChild(s)},e.prototype.setBackgroundClassName=function(e){this.set("backgroundClassName",e)},e.prototype.setBackgroundClassName=e.prototype.setBackgroundClassName,e.prototype.backgroundClassName_changed=function(){this.content_.className=this.get("backgroundClassName")},e.prototype.backgroundClassName_changed=e.prototype.backgroundClassName_changed,e.prototype.setTabClassName=function(e){this.set("tabClassName",e)},e.prototype.setTabClassName=e.prototype.setTabClassName,e.prototype.tabClassName_changed=function(){this.updateTabStyles_()},e.prototype.tabClassName_changed=e.prototype.tabClassName_changed,e.prototype.getArrowStyle_=function(){return parseInt(this.get("arrowStyle"),10)||0},e.prototype.setArrowStyle=function(e){this.set("arrowStyle",e)},e.prototype.setArrowStyle=e.prototype.setArrowStyle,e.prototype.arrowStyle_changed=function(){this.arrowSize_changed()},e.prototype.arrowStyle_changed=e.prototype.arrowStyle_changed,e.prototype.getArrowSize_=function(){return parseInt(this.get("arrowSize"),10)||0},e.prototype.setArrowSize=function(e){this.set("arrowSize",e)},e.prototype.setArrowSize=e.prototype.setArrowSize,e.prototype.arrowSize_changed=function(){this.borderWidth_changed()},e.prototype.arrowSize_changed=e.prototype.arrowSize_changed,e.prototype.setArrowPosition=function(e){this.set("arrowPosition",e)},e.prototype.setArrowPosition=e.prototype.setArrowPosition,e.prototype.getArrowPosition_=function(){return parseInt(this.get("arrowPosition"),10)||0},e.prototype.arrowPosition_changed=function(){this.arrowOuter_.style.left=this.arrowInner_.style.left=this.getArrowPosition_()+"%",this.redraw_()},e.prototype.arrowPosition_changed=e.prototype.arrowPosition_changed,e.prototype.setZIndex=function(e){this.set("zIndex",e)},e.prototype.setZIndex=e.prototype.setZIndex,e.prototype.getZIndex=function(){return parseInt(this.get("zIndex"),10)||this.baseZIndex_},e.prototype.zIndex_changed=function(){var e=this.getZIndex();this.bubble_.style.zIndex=this.baseZIndex_=e,this.close_.style.zIndex=e+1},e.prototype.zIndex_changed=e.prototype.zIndex_changed,e.prototype.setShadowStyle=function(e){this.set("shadowStyle",e)},e.prototype.setShadowStyle=e.prototype.setShadowStyle,e.prototype.getShadowStyle_=function(){return parseInt(this.get("shadowStyle"),10)||0},e.prototype.shadowStyle_changed=function(){var e=this.getShadowStyle_(),t="",a="",o="";switch(e){case 0:t="none";break;case 1:a="40px 15px 10px rgba(33,33,33,0.3)",o="transparent";break;case 2:a="0 0 2px rgba(33,33,33,0.3)",o="rgba(33,33,33,0.35)"}this.bubbleShadow_.style.boxShadow=this.bubbleShadow_.style.webkitBoxShadow=this.bubbleShadow_.style.MozBoxShadow=a,this.bubbleShadow_.style.backgroundColor=o,this.isOpen_&&(this.bubbleShadow_.style.display=t,this.draw())},e.prototype.shadowStyle_changed=e.prototype.shadowStyle_changed,e.prototype.showCloseButton=function(){this.set("hideCloseButton",!1)},e.prototype.showCloseButton=e.prototype.showCloseButton,e.prototype.hideCloseButton=function(){this.set("hideCloseButton",!0)},e.prototype.hideCloseButton=e.prototype.hideCloseButton,e.prototype.hideCloseButton_changed=function(){this.close_.style.display=this.get("hideCloseButton")?"none":""},e.prototype.hideCloseButton_changed=e.prototype.hideCloseButton_changed,e.prototype.setBackgroundColor=function(e){e&&this.set("backgroundColor",e)},e.prototype.setBackgroundColor=e.prototype.setBackgroundColor,e.prototype.backgroundColor_changed=function(){var e=this.get("backgroundColor");this.contentContainer_.style.backgroundColor=e,this.arrowInner_.style.borderColor=e+" transparent transparent",this.updateTabStyles_()},e.prototype.backgroundColor_changed=e.prototype.backgroundColor_changed,e.prototype.setBorderColor=function(e){e&&this.set("borderColor",e)},e.prototype.setBorderColor=e.prototype.setBorderColor,e.prototype.borderColor_changed=function(){var e=this.get("borderColor"),t=this.contentContainer_,a=this.arrowOuter_;t.style.borderColor=e,a.style.borderColor=e+" transparent transparent",t.style.borderStyle=a.style.borderStyle=this.arrowInner_.style.borderStyle="solid",this.updateTabStyles_()},e.prototype.borderColor_changed=e.prototype.borderColor_changed,e.prototype.setBorderRadius=function(e){this.set("borderRadius",e)},e.prototype.setBorderRadius=e.prototype.setBorderRadius,e.prototype.getBorderRadius_=function(){return parseInt(this.get("borderRadius"),10)||0},e.prototype.borderRadius_changed=function(){var e=this.getBorderRadius_(),t=this.getBorderWidth_();this.contentContainer_.style.borderRadius=this.contentContainer_.style.MozBorderRadius=this.contentContainer_.style.webkitBorderRadius=this.bubbleShadow_.style.borderRadius=this.bubbleShadow_.style.MozBorderRadius=this.bubbleShadow_.style.webkitBorderRadius=this.px(e),this.tabsContainer_.style.paddingLeft=this.tabsContainer_.style.paddingRight=this.px(e+t),this.redraw_()},e.prototype.borderRadius_changed=e.prototype.borderRadius_changed,e.prototype.getBorderWidth_=function(){return parseInt(this.get("borderWidth"),10)||0},e.prototype.setBorderWidth=function(e){this.set("borderWidth",e)},e.prototype.setBorderWidth=e.prototype.setBorderWidth,e.prototype.borderWidth_changed=function(){var e=this.getBorderWidth_();this.contentContainer_.style.borderWidth=this.px(e),this.tabsContainer_.style.top=this.px(e),this.updateArrowStyle_(),this.updateTabStyles_(),this.borderRadius_changed(),this.redraw_()},e.prototype.borderWidth_changed=e.prototype.borderWidth_changed,e.prototype.updateArrowStyle_=function(){var e=this.getBorderWidth_(),t=this.getArrowSize_(),a=this.getArrowStyle_(),o=this.px(t),i=this.px(Math.max(0,t-e)),r=this.arrowOuter_,n=this.arrowInner_;this.arrow_.style.marginTop=this.px(-e),r.style.borderTopWidth=o,n.style.borderTopWidth=i,0==a||1==a?(r.style.borderLeftWidth=o,n.style.borderLeftWidth=i):r.style.borderLeftWidth=n.style.borderLeftWidth=0,0==a||2==a?(r.style.borderRightWidth=o,n.style.borderRightWidth=i):r.style.borderRightWidth=n.style.borderRightWidth=0,a<2?(r.style.marginLeft=this.px(-t),n.style.marginLeft=this.px(-(t-e))):r.style.marginLeft=n.style.marginLeft=0,r.style.display=0==e?"none":""},e.prototype.setPadding=function(e){this.set("padding",e)},e.prototype.setPadding=e.prototype.setPadding,e.prototype.getPadding_=function(){return parseInt(this.get("padding"),10)||0},e.prototype.padding_changed=function(){this.contentContainer_.style.padding=this.px(this.getPadding_()),this.updateTabStyles_(),this.redraw_()},e.prototype.padding_changed=e.prototype.padding_changed,e.prototype.px=function(e){return e?e+"px":e},e.prototype.addEvents_=function(){var e=["mousedown","mousemove","mouseover","mouseout","mouseup","mousewheel","DOMMouseScroll","touchstart","touchend","touchmove","dblclick","contextmenu","click"],t=this.bubble_;this.listeners_=[];for(var a,o=0;a=e[o];o++)this.listeners_.push(google.maps.event.addDomListener(t,a,function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}))},e.prototype.onAdd=function(){this.bubble_||this.buildDom_(),this.addEvents_();var e=this.getPanes();e&&(e.floatPane.appendChild(this.bubble_),e.floatShadow.appendChild(this.bubbleShadow_))},e.prototype.onAdd=e.prototype.onAdd,e.prototype.draw=function(){var e=this.getProjection();if(e){var t=this.get("position");if(!t)return void this.close();var a=0;this.activeTab_&&(a=this.activeTab_.offsetHeight);var o=this.getAnchorHeight_(),i=this.getArrowSize_(),r=this.getArrowPosition_();r/=100;var n=e.fromLatLngToDivPixel(t),d=this.contentContainer_.offsetWidth,c=this.bubble_.offsetHeight;if(d){var s=n.y-(c+i);o&&(s-=o);var p=n.x-d*r;this.bubble_.style.top=this.px(s),this.bubble_.style.left=this.px(p);switch(parseInt(this.get("shadowStyle"),10)){case 1:this.bubbleShadow_.style.top=this.px(s+a-1),this.bubbleShadow_.style.left=this.px(p),this.bubbleShadow_.style.width=this.px(d),this.bubbleShadow_.style.height=this.px(this.contentContainer_.offsetHeight-i);break;case 2:d*=.8,this.bubbleShadow_.style.top=this.px(o?n.y:n.y+i),this.bubbleShadow_.style.left=this.px(n.x-d*r),this.bubbleShadow_.style.width=this.px(d),this.bubbleShadow_.style.height=this.px(2)}}}},e.prototype.draw=e.prototype.draw,e.prototype.onRemove=function(){this.bubble_&&this.bubble_.parentNode&&this.bubble_.parentNode.removeChild(this.bubble_),this.bubbleShadow_&&this.bubbleShadow_.parentNode&&this.bubbleShadow_.parentNode.removeChild(this.bubbleShadow_);for(var e,t=0;e=this.listeners_[t];t++)google.maps.event.removeListener(e)},e.prototype.onRemove=e.prototype.onRemove,e.prototype.isOpen=function(){return this.isOpen_},e.prototype.isOpen=e.prototype.isOpen,e.prototype.close=function(){this.bubble_&&(this.bubble_.style.display="none",this.bubble_.className=this.bubble_.className.replace(this.animationName_,"")),this.bubbleShadow_&&(this.bubbleShadow_.style.display="none",this.bubbleShadow_.className=this.bubbleShadow_.className.replace(this.animationName_,"")),this.isOpen_=!1},e.prototype.close=e.prototype.close,e.prototype.open=function(e,t){var a=this;window.setTimeout(function(){a.open_(e,t)},0)},e.prototype.open_=function(e,t){if(this.updateContent_(),e&&this.setMap(e),t&&(this.set("anchor",t),this.bindTo("anchorPoint",t),this.bindTo("position",t)),this.bubble_.style.display=this.bubbleShadow_.style.display="",!this.get("disableAnimation")&&(this.bubble_.className+=" "+this.animationName_,this.bubbleShadow_.className+=" "+this.animationName_),this.redraw_(),this.isOpen_=!0,!this.get("disableAutoPan")){var a=this;window.setTimeout(function(){a.panToView()},200)}},e.prototype.open=e.prototype.open,e.prototype.setPosition=function(e){e&&this.set("position",e)},e.prototype.setPosition=e.prototype.setPosition,e.prototype.getPosition=function(){return this.get("position")},e.prototype.getPosition=e.prototype.getPosition,e.prototype.position_changed=function(){this.draw()},e.prototype.position_changed=e.prototype.position_changed,e.prototype.panToView=function(){var e=this.getProjection();if(e&&this.bubble_){var t=this.getAnchorHeight_(),a=this.bubble_.offsetHeight+t,o=this.get("map"),i=o.getDiv(),r=i.offsetHeight,n=this.getPosition(),d=e.fromLatLngToContainerPixel(o.getCenter()),c=e.fromLatLngToContainerPixel(n),s=d.y-a,p=r-d.y,l=s<0,h=0;l&&(s*=-1,h=(s+p)/2),c.y-=h,n=e.fromContainerPixelToLatLng(c),o.getCenter()!=n&&o.panTo(n)}},e.prototype.panToView=e.prototype.panToView,e.prototype.htmlToDocumentFragment_=function(e){e=e.replace(/^\s*([\S\s]*)\b\s*$/,"$1");var t=document.createElement("DIV");if(t.innerHTML=e,1==t.childNodes.length)return t.removeChild(t.firstChild);for(var a=document.createDocumentFragment();t.firstChild;)a.appendChild(t.firstChild);return a},e.prototype.removeChildren_=function(e){if(e)for(var t;t=e.firstChild;)e.removeChild(t)},e.prototype.setContent=function(e){this.set("content",e)},e.prototype.setContent=e.prototype.setContent,e.prototype.getContent=function(){return this.get("content")},e.prototype.getContent=e.prototype.getContent,e.prototype.updateContent_=function(){if(this.content_){this.removeChildren_(this.content_);var e=this.getContent();if(e){"string"==typeof e&&(e=this.htmlToDocumentFragment_(e)),this.content_.appendChild(e);for(var t,a=this,o=this.content_.getElementsByTagName("IMG"),i=0;t=o[i];i++)google.maps.event.addDomListener(t,"load",function(){a.imageLoaded_()});google.maps.event.trigger(this,"domready")}this.redraw_()}},e.prototype.imageLoaded_=function(){var e=!this.get("disableAutoPan");this.redraw_(),!e||0!=this.tabs_.length&&0!=this.activeTab_.index||this.panToView()},e.prototype.updateTabStyles_=function(){if(this.tabs_&&this.tabs_.length){for(var e,t=0;e=this.tabs_[t];t++)this.setTabStyle_(e.tab);this.activeTab_.style.zIndex=this.baseZIndex_;var a=this.getBorderWidth_(),o=this.getPadding_()/2;this.activeTab_.style.borderBottomWidth=0,this.activeTab_.style.paddingBottom=this.px(o+a)}},e.prototype.setTabStyle_=function(e){var t=this.get("backgroundColor"),a=this.get("borderColor"),o=this.getBorderRadius_(),i=this.getBorderWidth_(),r=this.getPadding_(),n=this.px(-Math.max(r,o)),d=this.px(o),c=this.baseZIndex_;e.index&&(c-=e.index);var s={cssFloat:"left",position:"relative",cursor:"pointer",backgroundColor:t,border:this.px(i)+" solid "+a,padding:this.px(r/2)+" "+this.px(r),marginRight:n,whiteSpace:"nowrap",borderRadiusTopLeft:d,MozBorderRadiusTopleft:d,webkitBorderTopLeftRadius:d,borderRadiusTopRight:d,MozBorderRadiusTopright:d,webkitBorderTopRightRadius:d,zIndex:c,display:"inline"};for(var p in s)e.style[p]=s[p];var l=this.get("tabClassName");void 0!=l&&(e.className+=" "+l)},e.prototype.addTabActions_=function(e){var t=this;e.listener_=google.maps.event.addDomListener(e,"click",function(){t.setTabActive_(this)})},e.prototype.setTabActive=function(e){var t=this.tabs_[e-1];t&&this.setTabActive_(t.tab)},e.prototype.setTabActive=e.prototype.setTabActive,e.prototype.setTabActive_=function(e){if(!e)return this.setContent(""),void this.updateContent_();var t=this.getPadding_()/2,a=this.getBorderWidth_();if(this.activeTab_){var o=this.activeTab_;o.style.zIndex=this.baseZIndex_-o.index,o.style.paddingBottom=this.px(t),o.style.borderBottomWidth=this.px(a)}e.style.zIndex=this.baseZIndex_,e.style.borderBottomWidth=0,e.style.marginBottomWidth="-10px",e.style.paddingBottom=this.px(t+a),this.setContent(this.tabs_[e.index].content),this.updateContent_(),this.activeTab_=e,this.redraw_()},e.prototype.setMaxWidth=function(e){this.set("maxWidth",e)},e.prototype.setMaxWidth=e.prototype.setMaxWidth,e.prototype.maxWidth_changed=function(){this.redraw_()},e.prototype.maxWidth_changed=e.prototype.maxWidth_changed,e.prototype.setMaxHeight=function(e){this.set("maxHeight",e)},e.prototype.setMaxHeight=e.prototype.setMaxHeight,e.prototype.maxHeight_changed=function(){this.redraw_()},e.prototype.maxHeight_changed=e.prototype.maxHeight_changed,e.prototype.setMinWidth=function(e){this.set("minWidth",e)},e.prototype.setMinWidth=e.prototype.setMinWidth,e.prototype.minWidth_changed=function(){this.redraw_()},e.prototype.minWidth_changed=e.prototype.minWidth_changed,e.prototype.setMinHeight=function(e){this.set("minHeight",e)},e.prototype.setMinHeight=e.prototype.setMinHeight,e.prototype.minHeight_changed=function(){this.redraw_()},e.prototype.minHeight_changed=e.prototype.minHeight_changed,e.prototype.addTab=function(e,t){var a=document.createElement("DIV");a.innerHTML=e,this.setTabStyle_(a),this.addTabActions_(a),this.tabsContainer_.appendChild(a),this.tabs_.push({label:e,content:t,tab:a}),a.index=this.tabs_.length-1,a.style.zIndex=this.baseZIndex_-a.index,this.activeTab_||this.setTabActive_(a),a.className=a.className+" "+this.animationName_,this.redraw_()},e.prototype.addTab=e.prototype.addTab,e.prototype.updateTab=function(e,t,a){if(!(!this.tabs_.length||e<0||e>=this.tabs_.length)){var o=this.tabs_[e];void 0!=t&&(o.tab.innerHTML=o.label=t),void 0!=a&&(o.content=a),this.activeTab_==o.tab&&(this.setContent(o.content),this.updateContent_()),this.redraw_()}},e.prototype.updateTab=e.prototype.updateTab,e.prototype.removeTab=function(e){if(!(!this.tabs_.length||e<0||e>=this.tabs_.length)){var t=this.tabs_[e];t.tab.parentNode.removeChild(t.tab),google.maps.event.removeListener(t.tab.listener_),this.tabs_.splice(e,1),t=null;for(var a,o=0;a=this.tabs_[o];o++)a.tab.index=o;t.tab==this.activeTab_&&(this.activeTab_=this.tabs_[e]?this.tabs_[e].tab:this.tabs_[e-1]?this.tabs_[e-1].tab:void 0,this.setTabActive_(this.activeTab_)),this.redraw_()}},e.prototype.removeTab=e.prototype.removeTab,e.prototype.getElementSize_=function(e,t,a){var o=document.createElement("DIV");o.style.display="inline",o.style.position="absolute",o.style.visibility="hidden","string"==typeof e?o.innerHTML=e:o.appendChild(e.cloneNode(!0)),document.body.appendChild(o);var i=new google.maps.Size(o.offsetWidth,o.offsetHeight);return t&&i.width>t&&(o.style.width=this.px(t),i=new google.maps.Size(o.offsetWidth,o.offsetHeight)),a&&i.height>a&&(o.style.height=this.px(a),i=new google.maps.Size(o.offsetWidth,o.offsetHeight)),document.body.removeChild(o),o=null,i},e.prototype.redraw_=function(){this.figureOutSize_(),this.positionCloseButton_(),this.draw()},e.prototype.figureOutSize_=function(){var e=this.get("map");if(e){var t=this.getPadding_(),a=(this.getBorderWidth_(),this.getBorderRadius_(),this.getArrowSize_()),o=e.getDiv(),i=2*a,r=o.offsetWidth-i,n=o.offsetHeight-i-this.getAnchorHeight_(),d=0,c=this.get("minWidth")||0,s=this.get("minHeight")||0,p=this.get("maxWidth")||0,l=this.get("maxHeight")||0;p=Math.min(r,p),l=Math.min(n,l);var h=0;if(this.tabs_.length)for(var f,u=0;f=this.tabs_[u];u++){var b=this.getElementSize_(f.tab,p,l),g=this.getElementSize_(f.content,p,l);c<b.width&&(c=b.width),h+=b.width,s<b.height&&(s=b.height),b.height>d&&(d=b.height),c<g.width&&(c=g.width),s<g.height&&(s=g.height)}else{var y=this.get("content");if("string"==typeof y&&(y=this.htmlToDocumentFragment_(y)),y){var g=this.getElementSize_(y,p,l);c<g.width&&(c=g.width),s<g.height&&(s=g.height)}}p&&(c=Math.min(c,p)),l&&(s=Math.min(s,l)),c=Math.max(c,h),c==h&&(c+=2*t),a*=2,c=Math.max(c,a),c>r&&(c=r),s>n&&(s=n-d),this.tabsContainer_&&(this.tabHeight_=d,this.tabsContainer_.style.width=this.px(h)),this.contentContainer_.style.width=this.px(c),this.contentContainer_.style.height=this.px(s)}},e.prototype.getAnchorHeight_=function(){if(this.get("anchor")){var e=this.get("anchorPoint");if(e)return-1*e.y}return 0},e.prototype.anchorPoint_changed=function(){this.draw()},e.prototype.anchorPoint_changed=e.prototype.anchorPoint_changed,e.prototype.positionCloseButton_=function(){var e=(this.getBorderRadius_(),this.getBorderWidth_()),t=2,a=2;this.tabs_.length&&this.tabHeight_&&(a+=this.tabHeight_),a+=e,t+=e;var o=this.contentContainer_;o&&o.clientHeight<o.scrollHeight&&(t+=15),this.close_.style.right=this.px(t),this.close_.style.top=this.px(a)}},CFBi:function(e){function t(e){return e instanceof Date}e.exports=t},EBst:function(e){!function(){"use strict";function t(){}function a(e,a){var o,i,r,n,d=I;for(n=arguments.length;n-- >2;)W.push(arguments[n]);for(a&&null!=a.children&&(W.length||W.push(a.children),delete a.children);W.length;)if((i=W.pop())&&void 0!==i.pop)for(n=i.length;n--;)W.push(i[n]);else"boolean"==typeof i&&(i=null),(r="function"!=typeof e)&&(null==i?i="":"number"==typeof i?i+="":"string"!=typeof i&&(r=!1)),r&&o?d[d.length-1]+=i:d===I?d=[i]:d.push(i),o=r;var c=new t;return c.nodeName=e,c.children=d,c.attributes=null==a?void 0:a,c.key=null==a?void 0:a.key,void 0!==M.vnode&&M.vnode(c),c}function o(e,t){for(var a in t)e[a]=t[a];return e}function i(e,t){return a(e.nodeName,o(o({},e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function r(e){!e.__d&&(e.__d=!0)&&1==P.push(e)&&(M.debounceRendering||L)(n)}function n(){var e,t=P;for(P=[];e=t.pop();)e.__d&&k(e)}function d(e,t,a){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&c(e,t.nodeName):a||e._componentConstructor===t.nodeName}function c(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function s(e){var t=o({},e.attributes);t.children=e.children;var a=e.nodeName.defaultProps;if(void 0!==a)for(var i in a)void 0===t[i]&&(t[i]=a[i]);return t}function p(e,t){var a=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return a.__n=e,a}function l(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,a,o,i){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)a&&a(null),o&&o(e);else if("class"!==t||i)if("style"===t){if(o&&"string"!=typeof o&&"string"!=typeof a||(e.style.cssText=o||""),o&&"object"==typeof o){if("string"!=typeof a)for(var r in a)r in o||(e.style[r]="");for(var r in o)e.style[r]="number"==typeof o[r]&&!1===B.test(r)?o[r]+"px":o[r]}}else if("dangerouslySetInnerHTML"===t)o&&(e.innerHTML=o.__html||"");else if("o"==t[0]&&"n"==t[1]){var n=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),o?a||e.addEventListener(t,u,n):e.removeEventListener(t,u,n),(e.__l||(e.__l={}))[t]=o}else if("list"!==t&&"type"!==t&&!i&&t in e)f(e,t,null==o?"":o),null!=o&&!1!==o||e.removeAttribute(t);else{var d=i&&t!==(t=t.replace(/^xlink:?/,""));null==o||!1===o?d?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof o&&(d?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),o):e.setAttribute(t,o))}else e.className=o||""}function f(e,t,a){try{e[t]=a}catch(e){}}function u(e){return this.__l[e.type](M.event&&M.event(e)||e)}function b(){for(var e;e=j.pop();)M.afterMount&&M.afterMount(e),e.componentDidMount&&e.componentDidMount()}function g(e,t,a,o,i,r){N++||(R=null!=i&&void 0!==i.ownerSVGElement,z=null!=e&&!("__preactattr_"in e));var n=y(e,t,a,o,r);return i&&n.parentNode!==i&&i.appendChild(n),--N||(z=!1,r||b()),n}function y(e,t,a,o,i){var r=e,n=R;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||i)?e.nodeValue!=t&&(e.nodeValue=t):(r=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(r,e),_(e,!0))),r.__preactattr_=!0,r;var d=t.nodeName;if("function"==typeof d)return Z(e,t,a,o);if(R="svg"===d||"foreignObject"!==d&&R,d+="",(!e||!c(e,d))&&(r=p(d,R),e)){for(;e.firstChild;)r.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(r,e),_(e,!0)}var s=r.firstChild,l=r.__preactattr_,h=t.children;if(null==l){l=r.__preactattr_={};for(var f=r.attributes,u=f.length;u--;)l[f[u].name]=f[u].value}return!z&&h&&1===h.length&&"string"==typeof h[0]&&null!=s&&void 0!==s.splitText&&null==s.nextSibling?s.nodeValue!=h[0]&&(s.nodeValue=h[0]):(h&&h.length||null!=s)&&m(r,h,a,o,z||null!=l.dangerouslySetInnerHTML),w(r,t.attributes,l),R=n,r}function m(e,t,a,o,i){var r,n,c,s,p,h=e.childNodes,f=[],u={},b=0,g=0,m=h.length,v=0,w=t?t.length:0;if(0!==m)for(var T=0;T<m;T++){var C=h[T],x=C.__preactattr_,S=w&&x?C._component?C._component.__k:x.key:null;null!=S?(b++,u[S]=C):(x||(void 0!==C.splitText?!i||C.nodeValue.trim():i))&&(f[v++]=C)}if(0!==w)for(var T=0;T<w;T++){s=t[T],p=null;var S=s.key;if(null!=S)b&&void 0!==u[S]&&(p=u[S],u[S]=void 0,b--);else if(!p&&g<v)for(r=g;r<v;r++)if(void 0!==f[r]&&d(n=f[r],s,i)){p=n,f[r]=void 0,r===v-1&&v--,r===g&&g++;break}p=y(p,s,a,o),c=h[T],p&&p!==e&&p!==c&&(null==c?e.appendChild(p):p===c.nextSibling?l(c):e.insertBefore(p,c))}if(b)for(var T in u)void 0!==u[T]&&_(u[T],!1);for(;g<=v;)void 0!==(p=f[v--])&&_(p,!1)}function _(e,t){var a=e._component;a?A(a):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||l(e),v(e))}function v(e){for(e=e.lastChild;e;){var t=e.previousSibling;_(e,!0),e=t}}function w(e,t,a){var o;for(o in a)t&&null!=t[o]||null==a[o]||h(e,o,a[o],a[o]=void 0,R);for(o in t)"children"===o||"innerHTML"===o||o in a&&t[o]===("value"===o||"checked"===o?e[o]:a[o])||h(e,o,a[o],a[o]=t[o],R)}function T(e){var t=e.constructor.name;(E[t]||(E[t]=[])).push(e)}function C(e,t,a){var o,i=E[e.name];if(e.prototype&&e.prototype.render?(o=new e(t,a),O.call(o,t,a)):(o=new O(t,a),o.constructor=e,o.render=x),i)for(var r=i.length;r--;)if(i[r].constructor===e){o.__b=i[r].__b,i.splice(r,1);break}return o}function x(e,t,a){return this.constructor(e,a)}function S(e,t,a,o,i){e.__x||(e.__x=!0,(e.__r=t.ref)&&delete t.ref,(e.__k=t.key)&&delete t.key,!e.base||i?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,o),o&&o!==e.context&&(e.__c||(e.__c=e.context),e.context=o),e.__p||(e.__p=e.props),e.props=t,e.__x=!1,0!==a&&(1!==a&&!1===M.syncComponentUpdates&&e.base?r(e):k(e,1,i)),e.__r&&e.__r(e))}function k(e,t,a,i){if(!e.__x){var r,n,d,c=e.props,p=e.state,l=e.context,h=e.__p||c,f=e.__s||p,u=e.__c||l,y=e.base,m=e.__b,v=y||m,w=e._component,T=!1;if(y&&(e.props=h,e.state=f,e.context=u,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(c,p,l)?T=!0:e.componentWillUpdate&&e.componentWillUpdate(c,p,l),e.props=c,e.state=p,e.context=l),e.__p=e.__s=e.__c=e.__b=null,e.__d=!1,!T){r=e.render(c,p,l),e.getChildContext&&(l=o(o({},l),e.getChildContext()));var x,Z,O=r&&r.nodeName;if("function"==typeof O){var D=s(r);n=w,n&&n.constructor===O&&D.key==n.__k?S(n,D,1,l,!1):(x=n,e._component=n=C(O,D,l),n.__b=n.__b||m,n.__u=e,S(n,D,0,l,!1),k(n,1,a,!0)),Z=n.base}else d=v,x=w,x&&(d=e._component=null),(v||1===t)&&(d&&(d._component=null),Z=g(d,r,l,a||!y,v&&v.parentNode,!0));if(v&&Z!==v&&n!==w){var W=v.parentNode;W&&Z!==W&&(W.replaceChild(Z,v),x||(v._component=null,_(v,!1)))}if(x&&A(x),e.base=Z,Z&&!i){for(var I=e,L=e;L=L.__u;)(I=L).base=Z;Z._component=I,Z._componentConstructor=I.constructor}}if(!y||a?j.unshift(e):T||(e.componentDidUpdate&&e.componentDidUpdate(h,f,u),M.afterUpdate&&M.afterUpdate(e)),null!=e.__h)for(;e.__h.length;)e.__h.pop().call(e);N||i||b()}}function Z(e,t,a,o){for(var i=e&&e._component,r=i,n=e,d=i&&e._componentConstructor===t.nodeName,c=d,p=s(t);i&&!c&&(i=i.__u);)c=i.constructor===t.nodeName;return i&&c&&(!o||i._component)?(S(i,p,3,a,o),e=i.base):(r&&!d&&(A(r),e=n=null),i=C(t.nodeName,p,a),e&&!i.__b&&(i.__b=e,n=null),S(i,p,1,a,o),e=i.base,n&&e!==n&&(n._component=null,_(n,!1))),e}function A(e){M.beforeUnmount&&M.beforeUnmount(e);var t=e.base;e.__x=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var a=e._component;a?A(a):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),e.__b=t,l(t),T(e),v(t)),e.__r&&e.__r(null)}function O(e,t){this.__d=!0,this.context=t,this.props=e,this.state=this.state||{}}function D(e,t,a){return g(a,e,{},!1,t,!1)}var M={},W=[],I=[],L="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout,B=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,P=[],j=[],N=0,R=!1,z=!1,E={};o(O.prototype,{setState:function(e,t){var a=this.state;this.__s||(this.__s=o({},a)),o(a,"function"==typeof e?e(a,this.props):e),t&&(this.__h=this.__h||[]).push(t),r(this)},forceUpdate:function(e){e&&(this.__h=this.__h||[]).push(e),k(this,2)},render:function(){}});var H={h:a,createElement:a,cloneElement:i,Component:O,render:D,rerender:n,options:M};e.exports=H}()},FWi5:function(){},HLwM:function(e,t,a){function o(e,t,a){var o=a||{},f=i(e,t),u=o.locale,b=c.distanceInWords.localize;u&&u.distanceInWords&&u.distanceInWords.localize&&(b=u.distanceInWords.localize);var g,y,m={addSuffix:Boolean(o.addSuffix),comparison:f};f>0?(g=r(e),y=r(t)):(g=r(t),y=r(e));var _,v=n(y,g),w=y.getTimezoneOffset()-g.getTimezoneOffset(),T=Math.round(v/60)-w;if(T<2)return o.includeSeconds?v<5?b("lessThanXSeconds",5,m):v<10?b("lessThanXSeconds",10,m):v<20?b("lessThanXSeconds",20,m):v<40?b("halfAMinute",null,m):v<60?b("lessThanXMinutes",1,m):b("xMinutes",1,m):0===T?b("lessThanXMinutes",1,m):b("xMinutes",T,m);if(T<45)return b("xMinutes",T,m);if(T<90)return b("aboutXHours",1,m);if(T<s){return b("aboutXHours",Math.round(T/60),m)}if(T<p)return b("xDays",1,m);if(T<l){return b("xDays",Math.round(T/s),m)}if(T<h)return _=Math.round(T/l),b("aboutXMonths",_,m);if((_=d(y,g))<12){return b("xMonths",Math.round(T/l),m)}var C=_%12,x=Math.floor(_/12);return C<3?b("aboutXYears",x,m):C<9?b("overXYears",x,m):b("almostXYears",x+1,m)}var i=a("pfSt"),r=a("ajCz"),n=a("Sjwe"),d=a("5KzI"),c=a("N6L2"),s=1440,p=2520,l=43200,h=86400;e.exports=o},HqMk:function(){function e(e){var a=e||{};this.ready_=!1,this.dragging_=!1,void 0==e.visible&&(e.visible=!0),void 0==e.shadow&&(e.shadow="7px -3px 5px rgba(88,88,88,0.7)"),void 0==e.anchor&&(e.anchor=t.BOTTOM),this.setValues(a)}"undefined"!=typeof window&&(e.prototype=new google.maps.OverlayView,window.RichMarker=e),e.prototype.getVisible=function(){return this.get("visible")},e.prototype.getVisible=e.prototype.getVisible,e.prototype.setVisible=function(e){this.set("visible",e)},e.prototype.setVisible=e.prototype.setVisible,e.prototype.visible_changed=function(){this.ready_&&(this.markerWrapper_.style.display=this.getVisible()?"":"none",this.draw())},e.prototype.visible_changed=e.prototype.visible_changed,e.prototype.setFlat=function(e){this.set("flat",!!e)},e.prototype.setFlat=e.prototype.setFlat,e.prototype.getFlat=function(){return this.get("flat")},e.prototype.getFlat=e.prototype.getFlat,e.prototype.getWidth=function(){return this.get("width")},e.prototype.getWidth=e.prototype.getWidth,e.prototype.getHeight=function(){return this.get("height")},e.prototype.getHeight=e.prototype.getHeight,e.prototype.setShadow=function(e){this.set("shadow",e),this.flat_changed()},e.prototype.setShadow=e.prototype.setShadow,e.prototype.getShadow=function(){return this.get("shadow")},e.prototype.getShadow=e.prototype.getShadow,e.prototype.flat_changed=function(){this.ready_&&(this.markerWrapper_.style.boxShadow=this.markerWrapper_.style.webkitBoxShadow=this.markerWrapper_.style.MozBoxShadow=this.getFlat()?"":this.getShadow())},e.prototype.flat_changed=e.prototype.flat_changed,e.prototype.setZIndex=function(e){this.set("zIndex",e)},e.prototype.setZIndex=e.prototype.setZIndex,e.prototype.getZIndex=function(){return this.get("zIndex")},e.prototype.getZIndex=e.prototype.getZIndex,e.prototype.zIndex_changed=function(){this.getZIndex()&&this.ready_&&(this.markerWrapper_.style.zIndex=this.getZIndex())},e.prototype.zIndex_changed=e.prototype.zIndex_changed,e.prototype.getDraggable=function(){return this.get("draggable")},e.prototype.getDraggable=e.prototype.getDraggable,e.prototype.setDraggable=function(e){this.set("draggable",!!e)},e.prototype.setDraggable=e.prototype.setDraggable,e.prototype.draggable_changed=function(){this.ready_&&(this.getDraggable()?this.addDragging_(this.markerWrapper_):this.removeDragListeners_())},e.prototype.draggable_changed=e.prototype.draggable_changed,e.prototype.getPosition=function(){return this.get("position")},e.prototype.getPosition=e.prototype.getPosition,e.prototype.setPosition=function(e){this.set("position",e)},e.prototype.setPosition=e.prototype.setPosition,e.prototype.position_changed=function(){this.draw()},e.prototype.position_changed=e.prototype.position_changed,e.prototype.getAnchor=function(){return this.get("anchor")},e.prototype.getAnchor=e.prototype.getAnchor,e.prototype.setAnchor=function(e){this.set("anchor",e)},e.prototype.setAnchor=e.prototype.setAnchor,e.prototype.anchor_changed=function(){this.draw()},e.prototype.anchor_changed=e.prototype.anchor_changed,e.prototype.htmlToDocumentFragment_=function(e){var t=document.createElement("DIV");if(t.innerHTML=e,1==t.childNodes.length)return t.removeChild(t.firstChild);for(var a=document.createDocumentFragment();t.firstChild;)a.appendChild(t.firstChild);return a},e.prototype.removeChildren_=function(e){if(e)for(var t;t=e.firstChild;)e.removeChild(t)},e.prototype.setContent=function(e){this.set("content",e)},e.prototype.setContent=e.prototype.setContent,e.prototype.getContent=function(){return this.get("content")},e.prototype.getContent=e.prototype.getContent,e.prototype.content_changed=function(){if(this.markerContent_){this.removeChildren_(this.markerContent_);var e=this.getContent();if(e){"string"==typeof e&&(e=e.replace(/^\s*([\S\s]*)\b\s*$/,"$1"),e=this.htmlToDocumentFragment_(e)),this.markerContent_.appendChild(e);for(var t,a=this,o=this.markerContent_.getElementsByTagName("IMG"),i=0;t=o[i];i++)google.maps.event.addDomListener(t,"mousedown",function(e){a.getDraggable()&&(e.preventDefault&&e.preventDefault(),e.returnValue=!1)}),google.maps.event.addDomListener(t,"load",function(){a.draw()});google.maps.event.trigger(this,"domready")}this.ready_&&this.draw()}},e.prototype.content_changed=e.prototype.content_changed,e.prototype.setCursor_=function(e){if(this.ready_){var t="";-1!==navigator.userAgent.indexOf("Gecko/")?("dragging"==e&&(t="-moz-grabbing"),"dragready"==e&&(t="-moz-grab"),"draggable"==e&&(t="pointer")):("dragging"!=e&&"dragready"!=e||(t="move"),"draggable"==e&&(t="pointer")),this.markerWrapper_.style.cursor!=t&&(this.markerWrapper_.style.cursor=t)}},e.prototype.startDrag=function(e){if(this.getDraggable()&&!this.dragging_){this.dragging_=!0;var t=this.getMap();this.mapDraggable_=t.get("draggable"),t.set("draggable",!1),this.mouseX_=e.clientX,this.mouseY_=e.clientY,this.setCursor_("dragready"),this.markerWrapper_.style.MozUserSelect="none",this.markerWrapper_.style.KhtmlUserSelect="none",this.markerWrapper_.style.WebkitUserSelect="none",this.markerWrapper_.unselectable="on",this.markerWrapper_.onselectstart=function(){return!1},this.addDraggingListeners_(),google.maps.event.trigger(this,"dragstart")}},e.prototype.stopDrag=function(){this.getDraggable()&&this.dragging_&&(this.dragging_=!1,this.getMap().set("draggable",this.mapDraggable_),this.mouseX_=this.mouseY_=this.mapDraggable_=null,this.markerWrapper_.style.MozUserSelect="",this.markerWrapper_.style.KhtmlUserSelect="",this.markerWrapper_.style.WebkitUserSelect="",this.markerWrapper_.unselectable="off",this.markerWrapper_.onselectstart=function(){},this.removeDraggingListeners_(),this.setCursor_("draggable"),google.maps.event.trigger(this,"dragend"),this.draw())},e.prototype.drag=function(e){if(!this.getDraggable()||!this.dragging_)return void this.stopDrag();var t=this.mouseX_-e.clientX,a=this.mouseY_-e.clientY;this.mouseX_=e.clientX,this.mouseY_=e.clientY;var o=parseInt(this.markerWrapper_.style.left,10)-t,i=parseInt(this.markerWrapper_.style.top,10)-a;this.markerWrapper_.style.left=o+"px",this.markerWrapper_.style.top=i+"px";var r=this.getOffset_(),n=new google.maps.Point(o-r.width,i-r.height);this.setPosition(this.getProjection().fromDivPixelToLatLng(n)),this.setCursor_("dragging"),google.maps.event.trigger(this,"drag")},e.prototype.removeDragListeners_=function(){this.draggableListener_&&(google.maps.event.removeListener(this.draggableListener_),delete this.draggableListener_),this.setCursor_("")},e.prototype.addDragging_=function(e){if(e){var t=this;this.draggableListener_=google.maps.event.addDomListener(e,"mousedown",function(e){t.startDrag(e)}),this.setCursor_("draggable")}},e.prototype.addDraggingListeners_=function(){var e=this;this.markerWrapper_.setCapture?(this.markerWrapper_.setCapture(!0),this.draggingListeners_=[google.maps.event.addDomListener(this.markerWrapper_,"mousemove",function(t){e.drag(t)},!0),google.maps.event.addDomListener(this.markerWrapper_,"mouseup",function(){e.stopDrag(),e.markerWrapper_.releaseCapture()},!0)]):this.draggingListeners_=[google.maps.event.addDomListener(window,"mousemove",function(t){e.drag(t)},!0),google.maps.event.addDomListener(window,"mouseup",function(){e.stopDrag()},!0)]},e.prototype.removeDraggingListeners_=function(){if(this.draggingListeners_){for(var e,t=0;e=this.draggingListeners_[t];t++)google.maps.event.removeListener(e);this.draggingListeners_.length=0}},e.prototype.getOffset_=function(){var e=this.getAnchor();if("object"==typeof e)return e;var a=new google.maps.Size(0,0);if(!this.markerContent_)return a;var o=this.markerContent_.offsetWidth,i=this.markerContent_.offsetHeight;switch(e){case t.TOP_LEFT:break;case t.TOP:a.width=-o/2;break;case t.TOP_RIGHT:a.width=-o;break;case t.LEFT:a.height=-i/2;break;case t.MIDDLE:a.width=-o/2,a.height=-i/2;break;case t.RIGHT:a.width=-o,a.height=-i/2;break;case t.BOTTOM_LEFT:a.height=-i;break;case t.BOTTOM:a.width=-o/2,a.height=-i;break;case t.BOTTOM_RIGHT:a.width=-o,a.height=-i}return a},e.prototype.onAdd=function(){if(this.markerWrapper_||(this.markerWrapper_=document.createElement("DIV"),this.markerWrapper_.style.position="absolute"),this.getZIndex()&&(this.markerWrapper_.style.zIndex=this.getZIndex()),this.markerWrapper_.style.display=this.getVisible()?"":"none",!this.markerContent_){this.markerContent_=document.createElement("DIV"),this.markerWrapper_.appendChild(this.markerContent_);var e=this;google.maps.event.addDomListener(this.markerContent_,"click",function(){google.maps.event.trigger(e,"click")}),google.maps.event.addDomListener(this.markerContent_,"mouseover",function(){google.maps.event.trigger(e,"mouseover")}),google.maps.event.addDomListener(this.markerContent_,"mouseout",function(){google.maps.event.trigger(e,"mouseout")})}this.ready_=!0,this.content_changed(),this.flat_changed(),this.draggable_changed();var t=this.getPanes();t&&t.overlayMouseTarget.appendChild(this.markerWrapper_),google.maps.event.trigger(this,"ready")},e.prototype.onAdd=e.prototype.onAdd,e.prototype.draw=function(){if(this.ready_&&!this.dragging_){var e=this.getProjection();if(e){var t=this.get("position"),a=e.fromLatLngToDivPixel(t),o=this.getOffset_();this.markerWrapper_.style.top=a.y+o.height+"px",this.markerWrapper_.style.left=a.x+o.width+"px";var i=this.markerContent_.offsetHeight,r=this.markerContent_.offsetWidth;r!=this.get("width")&&this.set("width",r),i!=this.get("height")&&this.set("height",i)}}},e.prototype.draw=e.prototype.draw,e.prototype.onRemove=function(){this.markerWrapper_&&this.markerWrapper_.parentNode&&this.markerWrapper_.parentNode.removeChild(this.markerWrapper_),this.removeDragListeners_()},e.prototype.onRemove=e.prototype.onRemove;var t={TOP_LEFT:1,TOP:2,TOP_RIGHT:3,LEFT:4,MIDDLE:5,RIGHT:6,BOTTOM_LEFT:7,BOTTOM:8,BOTTOM_RIGHT:9};"undefined"!=typeof window&&(window.RichMarkerPosition=t)},JkW7:function(e,t,a){"use strict";function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e){var t=35;return e>=A?t=75:e>=Z?t=50:e>=k&&(t=40),t}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var h=a("EBst"),f=(a("FWi5"),a("HLwM")),u=a.n(f),b=Object(h.h)("p",{class:"stat-label"},"Infected"),g=Object(h.h)("p",{class:"stat-label"},"Died"),y=Object(h.h)("p",{class:"stat-label"},"Case fatality rate"),m=function(e){var t=e.world;return Object(h.h)("div",{class:"stats"},Object(h.h)("div",{class:"stat-item"},Object(h.h)("p",{id:"stat-total",class:"stat-number"},t.total),b),Object(h.h)("div",{class:"stat-item"},Object(h.h)("p",{id:"stat-died",class:"stat-number"},t.died),g),Object(h.h)("div",{class:"stat-item"},Object(h.h)("p",{id:"stat-risk",class:"stat-number"},t.risk,"%"),y))},_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},v=function(e){var t=e.api,a=e.mode,o=e.onClick;return Object(h.h)("ul",null,t[a].map(function(e){return _({},e,t.all[e.id])}).map(function(e,t){var a=e.active,i=e.city,r=e.country,n=e.total,d=e.cured,c=e.note,s=e.died,p=Object(h.h)("h3",null,i),l=Object(h.h)("cite",null,r),f=Object(h.h)("h3",null,r);return Object(h.h)("li",{class:"scroll-item","data-idx":t,role:"link",onClick:function(){return o(t)}},Object(h.h)("section",{class:"scroll-item-box"},Object(h.h)("div",{class:"item-count"},Object(h.h)("span",null,a)),Object(h.h)("div",{class:"item-detail"},function(){return i?[p,l]:f}(),Object(h.h)("p",null,"Total ",n," ",d?" | "+d+" recovered":""," ",s?" | "+s+" died":""),c?Object(h.h)("p",{class:"news"},c):"")))}))},w=Object(h.h)("div",{class:"tweet tweet-btn"},Object(h.h)("a",{href:"https://twitter.com/coronamap",class:"twitter-follow-button","data-show-count":"false","data-dnt":"true"},"Follow @coronamap")),T=Object(h.h)("div",{class:"tweet"},Object(h.h)("a",{href:"https://twitter.com/share",class:"twitter-share-button","data-url":"http://coronamap.com","data-text":"Follow the latest numbers on #MERS corona virus","data-related":"coronamap","data-via":"coronamap","data-count":"none"},"Tweet")),C=function(e){function t(){for(var t,i,r,n=arguments.length,d=Array(n),c=0;c<n;c++)d[c]=arguments[c];return t=i=o(this,e.call.apply(e,[this].concat(d))),i.load=function(e){var t=a("zhAq");if(e){var o=function(){return t("//platform.twitter.com/widgets.js")};"comlete"===document.readyState?o():document.addEventListener("DOMContentLoaded",function(){return o()})}},r=t,o(i,r)}return i(t,e),t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.render=function(){var e=this;return Object(h.h)("div",{class:"footer",ref:this.load},Object(h.h)("div",{role:"button",onClick:function(){return e.props.onClick()}},"About"),w,T)},t}(h.Component),x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e},S=[{featureType:"water",stylers:[{color:"#d5d5d5"}]},{featureType:"landscape",stylers:[{color:"#ffffff"}]},{featureType:"road",stylers:[{weight:.5},{color:"#c4c4c4"}]},{featureType:"poi",stylers:[{visibility:"off"}]},{featureType:"poi.medical",elementType:"labels",stylers:[{color:"#808080"},{weight:1},{visibility:"on"}]},{},{featureType:"road.highway",stylers:[{color:"#aaaaaa"},{weight:.3},{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{visibility:"on"},{color:"#737373"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{weight:1},{color:"#969696"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#808080"}]}],k=5,Z=11,A=21,O=function(e){function t(){var o,i,d;r(this,t);for(var s=arguments.length,p=Array(s),l=0;l<s;l++)p[l]=arguments[l];return o=i=n(this,e.call.apply(e,[this].concat(p))),i.openBubble=!1,i.listners=[],i.markers=[],i.addMarkers=function(e){for(var t=new google.maps.LatLngBounds,a=[],o=i,r=o.listners,n=o.markers,d=o.map,s=i.props,p=s.api,l=s.mode,h=0;h<e.length;h++)!function(o){var i=e[o],s="tiny-circle";i.active>=A?s="large-circle":i.active>=Z?s="medium-circle":i.active>=k?s="small-circle":0===i.active&&(s="zero-circle");var h=new google.maps.LatLng(i.lat,i.lng);t.extend(h);var f=new window.RichMarker({position:h,map:d,flat:!0,dragganle:!1,content:'<div class="map-circle '+s+'">'+i.active+"</div>"});n.push(f);var u=google.maps.event.addListener(f,"click",function(){this.openBubble&&this.openBubble.close();var e=n.indexOf(this);if(!a[e]){var t=p[l][e],o=new window.InfoBubble({map:d,content:"countries"===l?"<h3>"+i.percentage+"%<h3>\n\t\t\t\t\t\t\t\t<h4>of global infections</h4>\n\t\t\t\t\t\t\t\t<h2>"+i.country+'</h2>\n\t\t\t\t\t\t\t\t<ul class="bubble-list">\n\t\t\t\t\t\t\t\t\t<li>Total '+i.total+"</li>\n\t\t\t\t\t\t\t\t\t<li>"+i.cured+" recovered</li>\n\t\t\t\t\t\t\t\t\t<li>"+i.died+" died</li>\n\t\t\t\t\t\t\t\t</ul>":"<h3>"+i.percentage+"%<h3>\n\t\t\t\t\t\t\t\t<h4>of global infections</h4>\n\t\t\t\t\t\t\t\t<h2>"+i.city+'</h2>\n\t\t\t\t\t\t\t\t<ul class="bubble-list">\n\t\t\t\t\t\t\t\t\t<li>Total '+i.total+"</li>\n\t\t\t\t\t\t\t\t\t<li>"+i.cured+" recovered</li>\n\t\t\t\t\t\t\t\t\t<li>"+i.died+" died</li>\n\t\t\t\t\t\t\t\t</ul>",backgroundColor:"#fff",borderRadius:300,backgroundClassName:"map-bubble",arrowStyle:7,minWidth:274,minHeight:274,maxWidth:274,maxHeight:274,arrowSize:c(t.active),shadowStyle:0,borderColor:"#DE3C2D",borderWidth:3});a[e]=o}a[e].open(d,n[e]),this.openBubble=a[e]});r.push(u)}(h);i.map.fitBounds(t)},i.showMarkers=function(){var e=i.map.getBounds(),t=i,a=t.markers;if(a&&a.length>0)for(var o=a.length-1;o>=0;o--)e.contains(a[o].getPosition())?a[o].getMap()||a[o].setMap(i.map):a[o].getMap()&&a[o].setMap(null)},i.setupMap=function(e){if(e){var t=a("zhAq"),o=function(){return t("https://maps.googleapis.com/maps/api/js?key=AIzaSyDH7YkLcwjNohpFCMGSHAqCaxA_k4G2sP8",function(){a("C2lg"),a("HqMk");var t={center:new google.maps.LatLng(21.597,39.144),zoom:8,styles:S,fullscreenControl:!1};i.map=new google.maps.Map(e,t),google.maps.event.addListener(i.map,"idle",i.showMarkers),i.addMarkers(i.props.api[i.props.mode].map(function(e){return x({},e,i.props.api.all[e.id])})),window.addEventListener("orientationchange",function(){90!==screen.orientation&&-90!==screen.orientation||setTimeout(function(){this.map.fitBounds(this.map.getBounds())},10)})})};"comlete"===document.readyState?o():document.addEventListener("DOMContentLoaded",function(){return o()})}},d=o,n(i,d)}return d(t,e),t.prototype.clear=function(){for(var e=0;e<this.markers.length;e++)this.markers[e].setMap(null),google.maps.event.removeListener(this.listners[e]);this.markers.length=0,this.listners.length=0},t.prototype.componentDidUpdate=function(e){var t=this;e.mode!==this.props.mode?(this.clear(),this.addMarkers("countries"===this.props.mode?this.props.api[this.props.mode]:this.props.api[this.props.mode].map(function(e){return x({},e,t.props.api.all[e.id])})),this.showMarkers()):e.curIdx!==this.props.curIdx&&null!=this.props.curIdx&&(this.map.panTo(this.markers[this.props.curIdx].getPosition()),this.map.setZoom("countries"===this.props.mode?5:11))},t.prototype.render=function(){return Object(h.h)("section",{class:"map"},Object(h.h)("figure",{ref:this.setupMap}))},t}(h.Component),D=a("/PLn"),M=a.n(D);a.d(t,"default",function(){return R});var W=Object(h.h)("h1",{class:"logo"},"MERS Corona Map"),I=Object(h.h)("section",{class:"details"},Object(h.h)("strong",null,"All data are by WHO and Health Ministries"),Object(h.h)("br",null),"Colored circles indicate current active cases"),L=Object(h.h)("div",{class:"rotate"},"Rotate your device to see the map"),B=Object(h.h)("li",{class:"about-item"},Object(h.h)("span",null,"Data")," @iwail"),P=Object(h.h)("li",{class:"about-item"},Object(h.h)("span",null,"Development")," @salzhrani"),j=Object(h.h)("li",{class:"about-item"},Object(h.h)("span",null,"Assistance")," @11bushra11"),N=Object(h.h)("li",{class:"about-item"},Object(h.h)("span",null,"Design")," @bandar"),R=function(e){function t(){var a,o,i;s(this,t);for(var r=arguments.length,n=Array(r),d=0;d<r;d++)n[d]=arguments[d];return a=o=p(this,e.call.apply(e,[this].concat(n))),o.state={mode:"cities",curIdx:null,showAbout:!1},i=a,p(o,i)}return l(t,e),t.prototype.render=function(e,t){var a=this;return Object(h.h)("article",null,Object(h.h)("section",{class:"main"},Object(h.h)("div",{class:"scroll-list",role:"navigation"},W,Object(h.h)("div",{class:"scroll-head"},Object(h.h)("div",{class:"update"},"Updated"," ",u()(M.a.world.modified,new Date))),Object(h.h)(m,{world:M.a.world}),Object(h.h)("div",{class:"partition"},Object(h.h)("div",{class:"map-country"+("countries"===t.mode?" picked":""),onClick:function(){a.setState({mode:"countries",curIdx:null})}},"Countries"),Object(h.h)("div",{class:"map-city"+("cities"===t.mode?" picked":""),onClick:function(){a.setState({mode:"cities",curIdx:null})}},"Top cities"),Object(h.h)("div",{class:"map-new"+("new"===t.mode?" picked":""),onClick:function(){a.setState({mode:"new",curIdx:null})}},"Latest cities")),I,Object(h.h)(v,{api:M.a,mode:t.mode,onClick:function(e){a.setState({curIdx:e})}}),L),Object(h.h)(C,{onClick:function(){a.setState({showAbout:!0})}})),Object(h.h)(O,{api:M.a,mode:this.state.mode,curIdx:this.state.curIdx}),Object(h.h)("section",{class:"about"+(this.state.showAbout?" about-visible":""),style:{display:this.state.showAbout?"block":""}},Object(h.h)("ul",{class:"about-list"},B,P,j,N,Object(h.h)("div",{class:"about-close",onClick:function(){a.setState({showAbout:!1})}}))))},t}(h.Component)},KKv9:function(e,t,a){function o(e,t){var a=i(e),o=i(t);return a.getTime()-o.getTime()}var i=a("ajCz");e.exports=o},LeeW:function(e){function t(){function e(e,a,o){o=o||{};var i;return i="string"==typeof t[e]?t[e]:1===a?t[e].one:t[e].other.replace("{{count}}",a),o.addSuffix?o.comparison>0?"in "+i:i+" ago":i}var t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};return{localize:e}}e.exports=t},N6L2:function(e,t,a){var o=a("LeeW"),i=a("b/WI");e.exports={distanceInWords:o(),format:i()}},Sjwe:function(e,t,a){function o(e,t){var a=i(e,t)/1e3;return a>0?Math.floor(a):Math.ceil(a)}var i=a("KKv9");e.exports=o},UV3R:function(e){function t(e){var t=[];for(var o in e)e.hasOwnProperty(o)&&t.push(o);var i=a.concat(t).sort().reverse();return new RegExp("(\\[[^\\[]*\\])|(\\\\)?("+i.join("|")+"|.)","g")}var a=["M","MM","Q","D","DD","DDD","DDDD","d","E","W","WW","YY","YYYY","GG","GGGG","H","HH","h","hh","m","mm","s","ss","S","SS","SSS","Z","ZZ","X","x"];e.exports=t},ajCz:function(e,t,a){function o(e,t){if(p(e))return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var a=t||{},o=a.additionalDigits;o=null==o?f:Number(o);var s=i(e),l=r(s.date,o),u=l.year,b=l.restDateString,g=n(b,u);if(g){var y,m=g.getTime(),_=0;return s.time&&(_=d(s.time)),s.timezone?y=c(s.timezone):(y=new Date(m+_).getTimezoneOffset(),y=new Date(m+_+y*h).getTimezoneOffset()),new Date(m+_+y*h)}return new Date(e)}function i(e){var t,a={},o=e.split(u);if(b.test(o[0])?(a.date=null,t=o[0]):(a.date=o[0],t=o[1]),t){var i=A.exec(t);i?(a.time=t.replace(i[1],""),a.timezone=i[1]):a.time=t}return a}function r(e,t){var a,o=y[t],i=_[t];if(a=m.exec(e)||i.exec(e)){var r=a[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(a=g.exec(e)||o.exec(e)){var n=a[1];return{year:100*parseInt(n,10),restDateString:e.slice(n.length)}}return{year:null}}function n(e,t){if(null===t)return null;var a,o,i,r;if(0===e.length)return o=new Date(0),o.setUTCFullYear(t),o;if(a=v.exec(e))return o=new Date(0),i=parseInt(a[1],10)-1,o.setUTCFullYear(t,i),o;if(a=w.exec(e)){o=new Date(0);return o.setUTCFullYear(t,0,parseInt(a[1],10)),o}if(a=T.exec(e)){o=new Date(0),i=parseInt(a[1],10)-1;return o.setUTCFullYear(t,i,parseInt(a[2],10)),o}if(a=C.exec(e))return r=parseInt(a[1],10)-1,s(t,r);if(a=x.exec(e)){r=parseInt(a[1],10)-1;return s(t,r,parseInt(a[2],10)-1)}return null}function d(e){var t,a,o;if(t=S.exec(e))return(a=parseFloat(t[1].replace(",",".")))%24*l;if(t=k.exec(e))return a=parseInt(t[1],10),o=parseFloat(t[2].replace(",",".")),a%24*l+o*h;if(t=Z.exec(e)){a=parseInt(t[1],10),o=parseInt(t[2],10);var i=parseFloat(t[3].replace(",","."));return a%24*l+o*h+1e3*i}return null}function c(e){var t,a;return(t=O.exec(e))?0:(t=D.exec(e))?(a=60*parseInt(t[2],10),"+"===t[1]?-a:a):(t=M.exec(e),t?(a=60*parseInt(t[2],10)+parseInt(t[3],10),"+"===t[1]?-a:a):0)}function s(e,t,a){t=t||0,a=a||0;var o=new Date(0);o.setUTCFullYear(e,0,4);var i=o.getUTCDay()||7,r=7*t+a+1-i;return o.setUTCDate(o.getUTCDate()+r),o}var p=a("CFBi"),l=36e5,h=6e4,f=2,u=/[T ]/,b=/:/,g=/^(\d{2})$/,y=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],m=/^(\d{4})/,_=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],v=/^-(\d{2})$/,w=/^-?(\d{3})$/,T=/^-?(\d{2})-?(\d{2})$/,C=/^-?W(\d{2})$/,x=/^-?W(\d{2})-?(\d{1})$/,S=/^(\d{2}([.,]\d*)?)$/,k=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,Z=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,A=/([Z+-].*)$/,O=/^(Z)$/,D=/^([+-])(\d{2})$/,M=/^([+-])(\d{2}):?(\d{2})$/;e.exports=o},"b/WI":function(e,t,a){function o(){var e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],t=["January","February","March","April","May","June","July","August","September","October","November","December"],a=["Su","Mo","Tu","We","Th","Fr","Sa"],o=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],d=["AM","PM"],c=["am","pm"],s=["a.m.","p.m."],p={MMM:function(t){return e[t.getMonth()]},MMMM:function(e){return t[e.getMonth()]},dd:function(e){return a[e.getDay()]},ddd:function(e){return o[e.getDay()]},dddd:function(e){return n[e.getDay()]},A:function(e){return e.getHours()/12>=1?d[1]:d[0]},a:function(e){return e.getHours()/12>=1?c[1]:c[0]},aa:function(e){return e.getHours()/12>=1?s[1]:s[0]}};return["M","D","DDD","d","Q","W"].forEach(function(e){p[e+"o"]=function(t,a){return i(a[e](t))}}),{formatters:p,formattingTokensRegExp:r(p)}}function i(e){var t=e%100;if(t>20||t<10)switch(t%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"}var r=a("UV3R");e.exports=o},mgfB:function(e,t,a){function o(e,t){var a=i(e),o=i(t);return 12*(a.getFullYear()-o.getFullYear())+(a.getMonth()-o.getMonth())}var i=a("ajCz");e.exports=o},pfSt:function(e,t,a){function o(e,t){var a=i(e),o=a.getTime(),r=i(t),n=r.getTime();return o>n?-1:o<n?1:0}var i=a("ajCz");e.exports=o},uXl7:function(e,t,a){"use strict";var o=a("EBst");"serviceWorker"in navigator&&"https:"===location.protocol&&navigator.serviceWorker.register(a.p+"sw.js");var i=function(e){return e&&e.default?e.default:e};if("function"==typeof i(a("JkW7"))){var r=document.body.firstElementChild,n=function(){var e=i(a("JkW7"));r=(0,o.render)((0,o.h)(e),document.body,r)};n()}},zhAq:function(e,t,a){var o,i;!function(r,n){void 0!==e&&e.exports?e.exports=n():(o=n,void 0!==(i="function"==typeof o?o.call(t,a,t,e):o)&&(e.exports=i))}(0,function(){function e(e,t){for(var a=0,o=e.length;a<o;++a)if(!t(e[a]))return c;return 1}function t(t,a){e(t,function(e){return!a(e)})}function a(r,n,d){function c(e){return e.call?e():h[e]}function p(){if(!--m){h[y]=1,g&&g();for(var a in u)e(a.split("|"),c)&&!t(u[a],c)&&(u[a]=[])}}r=r[s]?r:[r];var l=n&&n.call,g=l?n:d,y=l?r.join(""):n,m=r.length;return setTimeout(function(){t(r,function e(t,a){return null===t?p():(a||/^https?:\/\//.test(t)||!i||(t=-1===t.indexOf(".js")?i+t+".js":i+t),b[t]?(y&&(f[y]=1),2==b[t]?p():setTimeout(function(){e(t,!0)},0)):(b[t]=1,y&&(f[y]=1),void o(t,p)))})},0),a}function o(e,t){var a,o=n.createElement("script");o.onload=o.onerror=o[l]=function(){o[p]&&!/^c|loade/.test(o[p])||a||(o.onload=o[l]=null,a=1,b[e]=2,t())},o.async=1,o.src=r?e+(-1===e.indexOf("?")?"?":"&")+r:e,d.insertBefore(o,d.lastChild)}var i,r,n=document,d=n.getElementsByTagName("head")[0],c=!1,s="push",p="readyState",l="onreadystatechange",h={},f={},u={},b={};return a.get=o,a.order=function(e,t,o){!function i(r){r=e.shift(),e.length?a(r,i):a(r,t,o)}()},a.path=function(e){i=e},a.urlArgs=function(e){r=e},a.ready=function(o,i,r){o=o[s]?o:[o];var n=[];return!t(o,function(e){h[e]||n[s](e)})&&e(o,function(e){return h[e]})?i():function(e){u[e]=u[e]||[],u[e][s](i),r&&r(n)}(o.join("|")),a},a.done=function(e){a([null],e)},a})}});
//# sourceMappingURL=bundle.e2bb9.js.map