From 11d12b9ac3e7fe704481186ebf7cd988b707b9c8 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Fri, 15 Oct 2021 18:03:31 +0100 Subject: [PATCH] add basic chart for alcohol abuse global --- content.json | 3 +- css/style.css | 2 +- index.html | 28 +- javascript/alcohol-use-disorder.js | 2162 ++++++++++++++++++++++++++++ javascript/lodash.min.js | 137 ++ javascript/main.js | 24 + templates/index.nj | 18 +- 7 files changed, 2359 insertions(+), 15 deletions(-) create mode 100644 javascript/alcohol-use-disorder.js create mode 100644 javascript/lodash.min.js diff --git a/content.json b/content.json index 806fee1..a3c0de9 100644 --- a/content.json +++ b/content.json @@ -1,5 +1,6 @@ { - "title": "How Does Alcohol Disrupt Your Coordination?", + "title": "How Does Alcohol Affect Your Brain?", + "subtitle": "Cerebellum and its Role in Your Coordination", "sections": [ { "title": "Alcohol and the Brain", diff --git a/css/style.css b/css/style.css index 313343f..7b96b06 100644 --- a/css/style.css +++ b/css/style.css @@ -10,7 +10,7 @@ header { margin-bottom: 2rem; } -h1 { +.heading h1, .heading h2 { text-align: center; } diff --git a/index.html b/index.html index ba1c14f..0e60016 100644 --- a/index.html +++ b/index.html @@ -9,19 +9,20 @@
Alcohol and the Brain - What does Cerebellum do? + What is Cerebellum and what does it do? Symptoms of Cerebellum damage
-
+
-

How Does Alcohol Disrupt Your Coordination?

+

How Does Alcohol Affect Your Brain?

+

Cerebellum and its Role in Your Coordination

- + Alcohol-Cerebellum Created with Sketch. @@ -32,7 +33,7 @@ - + @@ -66,7 +67,7 @@ 🧠 - + 🍺 @@ -81,7 +82,7 @@ 🍷 - +
@@ -95,8 +96,14 @@
-

Alcohol can affect various areas of the brain including cerebellum ...

-
+

Binge drinking (drinking 5 units over a 2 hour period, followed by a period of abstinence) and high alcohol intake (more than 5 units a day), can lead to dependence, tolerance and cravings, which lead to a continuation of alcohol abuse to prevent withdrawal symptoms.

+

Chronic alcohol abuse can have adverse effects such as loss of balance and gait, slurred speech, slower reactions, poor memory consolidation, compromised emotional modulation and judgement. These effects in turn can lead to difficulties in social and emotional interactions, and a reduction in motivation, attention and impulse control.

+

These effects are studied and proven using methods such as MRI scans which show loss of neurons, particularly in the frontal lobe, the area most associated with reasoning, decision-making and rationality, however it can affect other areas of the brain such as the cerebellum (associated with balance and movement), hippocampus (memory) and amygdala (memory, decision making and emotional responses). [1]

+ +

Every year millions of people suffer from Alcohol use disorder, leading to physical and mental health problems.

+ + +
@@ -122,5 +129,8 @@
+ + + diff --git a/javascript/alcohol-use-disorder.js b/javascript/alcohol-use-disorder.js new file mode 100644 index 0000000..ae8cab5 --- /dev/null +++ b/javascript/alcohol-use-disorder.js @@ -0,0 +1,2162 @@ +const alcoholAbuseData = _.groupBy([ + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1990, + "val": 116434.62888113533, + "upper": 121334.96024742832, + "lower": 107409.4686564656 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1990, + "val": 0.002496535915946389, + "upper": 0.0026018655981790693, + "lower": 0.0023132793416103426 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1990, + "val": 2.176410165123926, + "upper": 2.2680077516886863, + "lower": 2.0077107786648014 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1991, + "val": 122526.38074824563, + "upper": 127049.95470518453, + "lower": 113576.23658966615 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1991, + "val": 0.00259829423932447, + "upper": 0.0027072610961363336, + "lower": 0.002406747316315721 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1991, + "val": 2.255329254462655, + "upper": 2.3385941694752974, + "lower": 2.090584961607243 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1992, + "val": 131712.19162527396, + "upper": 136165.67041031166, + "lower": 123532.69731381144 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1992, + "val": 0.0027723586693112878, + "upper": 0.0028798761702405746, + "lower": 0.002609809709557271 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1992, + "val": 2.388469083684487, + "upper": 2.4692284747602162, + "lower": 2.240142121373483 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1993, + "val": 143954.44247467528, + "upper": 150299.58560280202, + "lower": 139583.865454339 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1993, + "val": 0.002988146983294173, + "upper": 0.003119558252855505, + "lower": 0.0028864163706277097 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1993, + "val": 2.5729282907489335, + "upper": 2.6863363800205122, + "lower": 2.4948120404324565 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1994, + "val": 153916.70286236686, + "upper": 164706.68143020695, + "lower": 149489.3247171936 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1994, + "val": 0.0031335842286483204, + "upper": 0.003349256887833066, + "lower": 0.003030118787631171 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1994, + "val": 2.7121122194905385, + "upper": 2.9022386461724277, + "lower": 2.634098942539257 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1998, + "val": 156336.7377291882, + "upper": 161542.95240873427, + "lower": 141978.1473499538 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1998, + "val": 0.003140378838796562, + "upper": 0.0032665937386111912, + "lower": 0.0028603170168695047 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1998, + "val": 2.607092139578008, + "upper": 2.693911664950936, + "lower": 2.367646385132452 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1995, + "val": 156765.59476114082, + "upper": 164978.38467094532, + "lower": 152511.55605438084 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1995, + "val": 0.0032010858414067726, + "upper": 0.003369401112677141, + "lower": 0.0030978171790438857 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1995, + "val": 2.7238378623158557, + "upper": 2.8665369548409476, + "lower": 2.6499229722860296 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1997, + "val": 155476.00837170813, + "upper": 160380.15387780158, + "lower": 142836.04761652634 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1997, + "val": 0.003146163738337198, + "upper": 0.003263050559536766, + "lower": 0.0029074412762306098 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1997, + "val": 2.627739366315399, + "upper": 2.710625570685216, + "lower": 2.4141081905930046 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1996, + "val": 156400.86339596784, + "upper": 160637.4832973131, + "lower": 148652.61781262956 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1996, + "val": 0.0031854622824014863, + "upper": 0.003285788058241602, + "lower": 0.003023880856753593 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1996, + "val": 2.679921793173134, + "upper": 2.7525160855349453, + "lower": 2.547155951944532 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1999, + "val": 160670.32310091896, + "upper": 165502.85452763765, + "lower": 148385.66645294346 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1999, + "val": 0.003191844490376299, + "upper": 0.003299901562112377, + "lower": 0.0029539572592624705 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1999, + "val": 2.644382329197996, + "upper": 2.7239182413905754, + "lower": 2.442196086379729 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2000, + "val": 166152.65156605875, + "upper": 170697.99632906617, + "lower": 154054.4919218051 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2000, + "val": 0.003276487706873881, + "upper": 0.0033831151182142933, + "lower": 0.0030546322260014843 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2000, + "val": 2.699294960264698, + "upper": 2.7731380563321375, + "lower": 2.5027497890115784 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2001, + "val": 170844.37199338592, + "upper": 175529.0754842837, + "lower": 158445.04097743423 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2001, + "val": 0.003350265748461063, + "upper": 0.003455775225459418, + "lower": 0.0031114067459259045 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2001, + "val": 2.7398553768048304, + "upper": 2.8149846298115913, + "lower": 2.541005550167558 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2002, + "val": 175378.2952333053, + "upper": 180267.35649979868, + "lower": 162399.70264659278 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2002, + "val": 0.003408690389676178, + "upper": 0.0035166055884269594, + "lower": 0.0031697398654604286 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2002, + "val": 2.776522459074655, + "upper": 2.8539242173261665, + "lower": 2.57105031808794 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2004, + "val": 180550.40147155893, + "upper": 185675.11143570856, + "lower": 164911.4956546291 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2004, + "val": 0.003480686176977095, + "upper": 0.003593485284262321, + "lower": 0.003207327531453155 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2004, + "val": 2.7863976117397025, + "upper": 2.865486217960356, + "lower": 2.5450455601056334 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2003, + "val": 178952.36412393412, + "upper": 183781.55579297466, + "lower": 165364.76889672724 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2003, + "val": 0.0034616000216745094, + "upper": 0.0035672527081918055, + "lower": 0.0032173961032433327 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2003, + "val": 2.7970682232860886, + "upper": 2.87254964331514, + "lower": 2.5846908622662927 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2006, + "val": 177815.3127650198, + "upper": 183360.81602816586, + "lower": 161445.68779459217 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2006, + "val": 0.0034289516894197582, + "upper": 0.0035332311857214724, + "lower": 0.003113451721812819 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2006, + "val": 2.675524551584442, + "upper": 2.7589657912657857, + "lower": 2.4292165546658286 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2005, + "val": 181767.77515438583, + "upper": 188751.117617568, + "lower": 169490.67198385557 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2005, + "val": 0.0034887189561487505, + "upper": 0.003616530841113242, + "lower": 0.0032544393228056403 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2005, + "val": 2.7700513074557134, + "upper": 2.876474004790917, + "lower": 2.5829543060185163 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2007, + "val": 174060.0254723357, + "upper": 179220.26841871816, + "lower": 157310.52612773978 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2007, + "val": 0.0033550834818685967, + "upper": 0.0034613134708795963, + "lower": 0.0030250092482268904 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2007, + "val": 2.5851980512290043, + "upper": 2.661839715348351, + "lower": 2.336428852516039 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2008, + "val": 171679.4238432589, + "upper": 177180.31240908723, + "lower": 154904.65172482058 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2008, + "val": 0.003272411057359231, + "upper": 0.0033711228152648095, + "lower": 0.0029458447828322938 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2008, + "val": 2.517547012222467, + "upper": 2.5982133219260306, + "lower": 2.271557851249723 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2009, + "val": 166802.6746679891, + "upper": 172216.85916067733, + "lower": 149560.4039929203 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2009, + "val": 0.0031951767542950744, + "upper": 0.003298202011239738, + "lower": 0.002849765225127872 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2009, + "val": 2.416211420969684, + "upper": 2.4946383073041445, + "lower": 2.166449410789239 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2011, + "val": 161439.9420404938, + "upper": 166968.98699968317, + "lower": 143903.21716990782 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2011, + "val": 0.0030639334772224317, + "upper": 0.0031597517316451084, + "lower": 0.0026973221373517552 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2011, + "val": 2.282836133203001, + "upper": 2.3610194096301935, + "lower": 2.034858658195165 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2012, + "val": 159452.0787907528, + "upper": 165055.27679186207, + "lower": 140611.83983117598 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2012, + "val": 0.0030169238608800213, + "upper": 0.003115998600002882, + "lower": 0.0026373332685342005 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2012, + "val": 2.227850988772583, + "upper": 2.3061383983926294, + "lower": 1.9646167599489734 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2010, + "val": 164386.0926946593, + "upper": 169819.0808000727, + "lower": 147186.61918835487 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2010, + "val": 0.0031188071941921193, + "upper": 0.003216220460180938, + "lower": 0.0027841496756227987 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2010, + "val": 2.352634624111313, + "upper": 2.4303895954696415, + "lower": 2.106481946447898 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2013, + "val": 158917.66483055506, + "upper": 164208.30191966225, + "lower": 140729.87180635252 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2013, + "val": 0.00298822672006786, + "upper": 0.003086254494019414, + "lower": 0.0026100742024717867 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2013, + "val": 2.194279928485617, + "upper": 2.2673312081272377, + "lower": 1.943149198500309 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2016, + "val": 162122.717411161, + "upper": 169399.93424795324, + "lower": 143011.5648024401 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2016, + "val": 0.0029726294541963546, + "upper": 0.0030868906005781602, + "lower": 0.0025809447880986523 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2016, + "val": 2.1632042250371564, + "upper": 2.2603041654972973, + "lower": 1.9082040206939903 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2015, + "val": 160786.15023724566, + "upper": 167195.35000691962, + "lower": 142410.0113693021 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2015, + "val": 0.0029723783862634625, + "upper": 0.0030786118190888846, + "lower": 0.0026079043971590703 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2015, + "val": 2.1698709178105773, + "upper": 2.2563655329632732, + "lower": 1.9218778583812444 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2014, + "val": 159363.95603625564, + "upper": 164470.65924239604, + "lower": 140444.36406098027 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2014, + "val": 0.0029778242785004983, + "upper": 0.003075159914262905, + "lower": 0.002584706049396406 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2014, + "val": 2.1752591516657005, + "upper": 2.244963764680392, + "lower": 1.9170137076291844 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2019, + "val": 168014.7927992962, + "upper": 179205.89297802077, + "lower": 145118.65449603478 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2019, + "val": 0.0029727309450792785, + "upper": 0.0031489462765682545, + "lower": 0.002528024951362605 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2019, + "val": 2.17144505325466, + "upper": 2.316080288752035, + "lower": 1.8755323813470008 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2017, + "val": 162680.54569562917, + "upper": 170340.8705627659, + "lower": 143149.87851306098 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2017, + "val": 0.002959624865628773, + "upper": 0.0030858836416684052, + "lower": 0.002539899587686863 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2017, + "val": 2.1467451761804868, + "upper": 2.2478314209197174, + "lower": 1.8890169679151247 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2018, + "val": 165543.17904240376, + "upper": 175539.90028660977, + "lower": 144101.56235629317 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2018, + "val": 0.002971709510273187, + "upper": 0.003116914498614008, + "lower": 0.002507749460853097 + }, + { + "measure": "Deaths", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2018, + "val": 2.1615430036354506, + "upper": 2.2920729535234603, + "lower": 1.8815738934456296 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1990, + "val": 78923597.79723617, + "upper": 91987529.73747598, + "lower": 67127813.68873695 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1990, + "val": 0.015302874278269651, + "upper": 0.017835527122610825, + "lower": 0.013009879115634842 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1990, + "val": 1475.2494353669651, + "upper": 1719.4420311990084, + "lower": 1254.7612121807751 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1993, + "val": 84201586.1972077, + "upper": 97821562.10457024, + "lower": 71760627.0848919 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1993, + "val": 0.015627944168605495, + "upper": 0.018160925547334013, + "lower": 0.013331521824828016 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1993, + "val": 1504.9528137406592, + "upper": 1748.3855326547473, + "lower": 1282.5929121366553 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1991, + "val": 80828574.3578212, + "upper": 94097214.01014939, + "lower": 68741331.000198 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1991, + "val": 0.015439233815312843, + "upper": 0.017970147791869874, + "lower": 0.013137605707530416 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1991, + "val": 1487.802440849573, + "upper": 1732.0367926036333, + "lower": 1265.3139172860683 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1992, + "val": 82584431.48221645, + "upper": 95989649.91038072, + "lower": 70256811.30044597 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1992, + "val": 0.01554659038733158, + "upper": 0.018067012122727634, + "lower": 0.01323396953939129 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1992, + "val": 1497.5862063712225, + "upper": 1740.6764577793845, + "lower": 1274.0371232056084 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1994, + "val": 85695887.68437412, + "upper": 99450202.91113256, + "lower": 73191507.47074592 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1994, + "val": 0.01568384495718841, + "upper": 0.01819976248320371, + "lower": 0.013371769477349135 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1994, + "val": 1510.0171704997347, + "upper": 1752.3771334114472, + "lower": 1289.6818739149178 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1995, + "val": 87098646.78687684, + "upper": 100951672.81447543, + "lower": 74325622.18514755 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1995, + "val": 0.015719331302287268, + "upper": 0.018229647723063822, + "lower": 0.01341261324178355 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1995, + "val": 1513.3587968460172, + "upper": 1754.0582746817838, + "lower": 1291.4245894104308 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1996, + "val": 88461193.00080262, + "upper": 102419109.39050318, + "lower": 75579048.2603441 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1996, + "val": 0.01574397603742571, + "upper": 0.018249219674610517, + "lower": 0.013459267601939136 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1996, + "val": 1515.778582198401, + "upper": 1754.946854724775, + "lower": 1295.0436087260262 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1997, + "val": 89809891.0739291, + "upper": 103871652.05417451, + "lower": 76746586.22069177 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1997, + "val": 0.01576574288185505, + "upper": 0.01823836893594884, + "lower": 0.013485558022065263 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1997, + "val": 1517.8996986804937, + "upper": 1755.561079844641, + "lower": 1297.1134772143316 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2000, + "val": 93299450.73428702, + "upper": 107522715.95604275, + "lower": 79849588.95090155 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2000, + "val": 0.01574108449665814, + "upper": 0.018158972056216926, + "lower": 0.013480525106123674 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2000, + "val": 1515.7310749410374, + "upper": 1746.8004425961744, + "lower": 1297.2263217158684 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1999, + "val": 92267486.85558255, + "upper": 106367763.00200988, + "lower": 78814556.4497811 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1999, + "val": 0.015771773959073882, + "upper": 0.018202796238159735, + "lower": 0.013489411100191721 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1999, + "val": 1518.5785843422807, + "upper": 1750.6470855987593, + "lower": 1297.164381928019 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 1998, + "val": 91096332.7816216, + "upper": 105159538.8680788, + "lower": 77850086.75133547 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 1998, + "val": 0.01577819472938341, + "upper": 0.01822499465320136, + "lower": 0.013490589520820962 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 1998, + "val": 1519.1345079155192, + "upper": 1753.654394781643, + "lower": 1298.2383551232265 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2001, + "val": 94020148.56897113, + "upper": 108287354.15581013, + "lower": 80526769.25230362 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2001, + "val": 0.015660523143147226, + "upper": 0.01806706638446317, + "lower": 0.013423657356507015 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2001, + "val": 1507.8144312219847, + "upper": 1736.6196267515982, + "lower": 1291.4191971227908 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2003, + "val": 94818691.48448578, + "upper": 109122494.7939061, + "lower": 81484396.7772498 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2003, + "val": 0.015407068816614012, + "upper": 0.01776941844424817, + "lower": 0.013222848796017414 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2003, + "val": 1482.0388108488298, + "upper": 1705.6106753770102, + "lower": 1273.6205974984236 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2002, + "val": 94462151.75185513, + "upper": 108740142.32041444, + "lower": 81029025.96489564 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2002, + "val": 0.01553874670852752, + "upper": 0.017896327486277057, + "lower": 0.01332697717517224 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2002, + "val": 1495.4888546649306, + "upper": 1721.5325702303246, + "lower": 1282.8207169489644 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2004, + "val": 95282101.15752296, + "upper": 109727930.33970511, + "lower": 81811486.79300106 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2004, + "val": 0.015293590088652593, + "upper": 0.017644641441331994, + "lower": 0.013126967274188302 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2004, + "val": 1470.4692813916804, + "upper": 1693.4088240610035, + "lower": 1262.5800305894168 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2005, + "val": 96067783.9226559, + "upper": 110667974.40593503, + "lower": 82413596.9259095 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2005, + "val": 0.015228802507787858, + "upper": 0.017569633037185346, + "lower": 0.013065080914472274 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2005, + "val": 1464.0256791023658, + "upper": 1686.5253862311954, + "lower": 1255.9425988618937 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2006, + "val": 96878119.07254061, + "upper": 111552848.65816145, + "lower": 83208656.54895432 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2006, + "val": 0.01516326336314492, + "upper": 0.01748679481083619, + "lower": 0.013020094659458905 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2006, + "val": 1457.6910281761382, + "upper": 1678.4965295902714, + "lower": 1252.0114271332902 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2007, + "val": 97404718.82815005, + "upper": 112113422.87765501, + "lower": 83780234.89598954 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2007, + "val": 0.015051303358571726, + "upper": 0.017341923012640762, + "lower": 0.012920017139647766 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2007, + "val": 1446.6876504913757, + "upper": 1665.1462709684126, + "lower": 1244.3322319233127 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2008, + "val": 97784176.7014698, + "upper": 112532126.10565844, + "lower": 84086247.48016617 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2008, + "val": 0.014921912951218112, + "upper": 0.01719610238095589, + "lower": 0.012813549942123912 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2008, + "val": 1433.9299165063292, + "upper": 1650.1972776597609, + "lower": 1233.0602956004932 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2010, + "val": 98915854.96812975, + "upper": 113859116.6598654, + "lower": 85020887.10384896 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2010, + "val": 0.014734321514108683, + "upper": 0.016961120250625735, + "lower": 0.012669355104585781 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2010, + "val": 1415.6481333481793, + "upper": 1629.510719147541, + "lower": 1216.788351705087 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2009, + "val": 98201423.69195879, + "upper": 113014423.88231152, + "lower": 84431798.75691305 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2009, + "val": 0.014805416055131743, + "upper": 0.01705749183755774, + "lower": 0.012718347955781481 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2009, + "val": 1422.4915874537178, + "upper": 1637.0645270663288, + "lower": 1223.0324055386252 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2011, + "val": 99861823.6549385, + "upper": 114649477.50118315, + "lower": 85831397.85647584 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2011, + "val": 0.01469616270574792, + "upper": 0.016876902064721495, + "lower": 0.012643802268380017 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2011, + "val": 1412.0927973937153, + "upper": 1621.1971249772712, + "lower": 1213.6960278450722 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2012, + "val": 100840997.26778077, + "upper": 115495020.11096182, + "lower": 86790378.66657583 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2012, + "val": 0.014663131035917846, + "upper": 0.016813558272307377, + "lower": 0.012623168377062916 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2012, + "val": 1408.9419038973815, + "upper": 1613.6866744156707, + "lower": 1212.6278465269602 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2014, + "val": 103003904.7117949, + "upper": 117615500.50590885, + "lower": 88704982.81426618 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2014, + "val": 0.014631619707028962, + "upper": 0.016735784980011756, + "lower": 0.012607041852773514 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2014, + "val": 1405.965263128003, + "upper": 1605.4081501027435, + "lower": 1210.7902593807553 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2013, + "val": 101880644.14813162, + "upper": 116505384.97121635, + "lower": 87722257.76298906 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2013, + "val": 0.014640081165172012, + "upper": 0.01678378280984718, + "lower": 0.012610480950260171 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2013, + "val": 1406.732554205318, + "upper": 1608.6658967422584, + "lower": 1211.2384717961163 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2015, + "val": 104242537.97884175, + "upper": 118867341.14765815, + "lower": 89796192.68725447 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2015, + "val": 0.014639753111270854, + "upper": 0.016708506674852276, + "lower": 0.012622804443509788 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2015, + "val": 1406.7931300382404, + "upper": 1604.1604718639774, + "lower": 1211.834145880638 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2016, + "val": 105211276.24835223, + "upper": 120099514.08751124, + "lower": 90812282.30288109 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2016, + "val": 0.014607230639935203, + "upper": 0.01666707141923711, + "lower": 0.012604702200214304 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2016, + "val": 1403.8345824464848, + "upper": 1602.4884140088318, + "lower": 1211.7087345917826 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2017, + "val": 106277145.58980542, + "upper": 121281218.9278095, + "lower": 91570554.73430859 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2017, + "val": 0.014590097473572346, + "upper": 0.016677064964213142, + "lower": 0.012561979344117048 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2017, + "val": 1402.4415068044311, + "upper": 1600.4364294529103, + "lower": 1208.3721862099035 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2018, + "val": 107365655.69428824, + "upper": 122606994.69403599, + "lower": 92223156.10003935 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2018, + "val": 0.014581469127369876, + "upper": 0.01670586621878329, + "lower": 0.01253093197007809 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2018, + "val": 1401.9030155103824, + "upper": 1600.9133877378124, + "lower": 1204.1832166951306 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Number", + "year": 2019, + "val": 108062548.85318054, + "upper": 123861492.9918412, + "lower": 92440870.95534883 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Percent", + "year": 2019, + "val": 0.014523265276192838, + "upper": 0.016644175526825792, + "lower": 0.012426094479443305 + }, + { + "measure": "Prevalence", + "location": "Global", + "sex": "Both", + "age": "All Ages", + "cause": "Alcohol use disorders", + "metric": "Rate", + "year": 2019, + "val": 1396.6144482863174, + "upper": 1600.8020589422588, + "lower": 1194.7178496022614 + } +], 'measure'); diff --git a/javascript/lodash.min.js b/javascript/lodash.min.js new file mode 100644 index 0000000..13ec307 --- /dev/null +++ b/javascript/lodash.min.js @@ -0,0 +1,137 @@ +/** + * @license + * Lodash lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE + */ +;(function(){function n(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function t(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u"']/g,G=RegExp(V.source),H=RegExp(K.source),J=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,Q=/<%=([\s\S]+?)%>/g,X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nn=/^\w*$/,tn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,rn=/[\\^$.*+?()[\]{}|]/g,en=RegExp(rn.source),un=/^\s+|\s+$/g,on=/^\s+/,fn=/\s+$/,cn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,an=/\{\n\/\* \[wrapped with (.+)\] \*/,ln=/,? & /,sn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,hn=/\\(\\)?/g,pn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_n=/\w*$/,vn=/^[-+]0x[0-9a-f]+$/i,gn=/^0b[01]+$/i,dn=/^\[object .+?Constructor\]$/,yn=/^0o[0-7]+$/i,bn=/^(?:0|[1-9]\d*)$/,xn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jn=/($^)/,wn=/['\n\r\u2028\u2029\\]/g,mn="[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?(?:\\u200d(?:[^\\ud800-\\udfff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])[\\ufe0e\\ufe0f]?(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?)*",An="(?:[\\u2700-\\u27bf]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff])"+mn,En="(?:[^\\ud800-\\udfff][\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]?|[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|(?:\\ud83c[\\udde6-\\uddff]){2}|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff])",kn=RegExp("['\u2019]","g"),Sn=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),On=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+En+mn,"g"),In=RegExp(["[A-Z\\xc0-\\xd6\\xd8-\\xde]?[a-z\\xdf-\\xf6\\xf8-\\xff]+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde]|$)|(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?=[\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000]|[A-Z\\xc0-\\xd6\\xd8-\\xde](?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])|$)|[A-Z\\xc0-\\xd6\\xd8-\\xde]?(?:[a-z\\xdf-\\xf6\\xf8-\\xff]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['\u2019](?:d|ll|m|re|s|t|ve))?|[A-Z\\xc0-\\xd6\\xd8-\\xde]+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?|\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])|\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])|\\d+",An].join("|"),"g"),Rn=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),zn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Wn="Array Buffer DataView Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Map Math Object Promise RegExp Set String Symbol TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap _ clearTimeout isFinite parseInt setTimeout".split(" "),Bn={}; +Bn["[object Float32Array]"]=Bn["[object Float64Array]"]=Bn["[object Int8Array]"]=Bn["[object Int16Array]"]=Bn["[object Int32Array]"]=Bn["[object Uint8Array]"]=Bn["[object Uint8ClampedArray]"]=Bn["[object Uint16Array]"]=Bn["[object Uint32Array]"]=true,Bn["[object Arguments]"]=Bn["[object Array]"]=Bn["[object ArrayBuffer]"]=Bn["[object Boolean]"]=Bn["[object DataView]"]=Bn["[object Date]"]=Bn["[object Error]"]=Bn["[object Function]"]=Bn["[object Map]"]=Bn["[object Number]"]=Bn["[object Object]"]=Bn["[object RegExp]"]=Bn["[object Set]"]=Bn["[object String]"]=Bn["[object WeakMap]"]=false; +var Ln={};Ln["[object Arguments]"]=Ln["[object Array]"]=Ln["[object ArrayBuffer]"]=Ln["[object DataView]"]=Ln["[object Boolean]"]=Ln["[object Date]"]=Ln["[object Float32Array]"]=Ln["[object Float64Array]"]=Ln["[object Int8Array]"]=Ln["[object Int16Array]"]=Ln["[object Int32Array]"]=Ln["[object Map]"]=Ln["[object Number]"]=Ln["[object Object]"]=Ln["[object RegExp]"]=Ln["[object Set]"]=Ln["[object String]"]=Ln["[object Symbol]"]=Ln["[object Uint8Array]"]=Ln["[object Uint8ClampedArray]"]=Ln["[object Uint16Array]"]=Ln["[object Uint32Array]"]=true, +Ln["[object Error]"]=Ln["[object Function]"]=Ln["[object WeakMap]"]=false;var Un={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cn=parseFloat,Dn=parseInt,Mn=typeof global=="object"&&global&&global.Object===Object&&global,Tn=typeof self=="object"&&self&&self.Object===Object&&self,$n=Mn||Tn||Function("return this")(),Fn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Nn=Fn&&typeof module=="object"&&module&&!module.nodeType&&module,Pn=Nn&&Nn.exports===Fn,Zn=Pn&&Mn.process,qn=function(){ +try{var n=Nn&&Nn.f&&Nn.f("util").types;return n?n:Zn&&Zn.binding&&Zn.binding("util")}catch(n){}}(),Vn=qn&&qn.isArrayBuffer,Kn=qn&&qn.isDate,Gn=qn&&qn.isMap,Hn=qn&&qn.isRegExp,Jn=qn&&qn.isSet,Yn=qn&&qn.isTypedArray,Qn=b("length"),Xn=x({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I", +"\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C", +"\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i", +"\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r", +"\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij", +"\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),nt=x({"&":"&","<":"<",">":">",'"':""","'":"'"}),tt=x({"&":"&","<":"<",">":">",""":'"',"'":"'"}),rt=function x(mn){function An(n){if(yu(n)&&!ff(n)&&!(n instanceof Un)){if(n instanceof On)return n;if(oi.call(n,"__wrapped__"))return Fe(n)}return new On(n)}function En(){}function On(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=T}function Un(n){this.__wrapped__=n, +this.__actions__=[],this.__dir__=1,this.__filtered__=false,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Mn(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=t?n:t)),n}function _t(n,t,e,u,i,o){var f,c=1&t,a=2&t,l=4&t;if(e&&(f=i?e(n,u,i,o):e(n)),f!==T)return f;if(!du(n))return n;if(u=ff(n)){if(f=me(n),!c)return Ur(n,f)}else{var s=vo(n),h="[object Function]"==s||"[object GeneratorFunction]"==s;if(af(n))return Ir(n,c);if("[object Object]"==s||"[object Arguments]"==s||h&&!i){if(f=a||h?{}:Ae(n),!c)return a?Mr(n,lt(f,n)):Dr(n,at(f,n))}else{if(!Ln[s])return i?n:{};f=Ee(n,s,c)}}if(o||(o=new Zn), +i=o.get(n))return i;o.set(n,f),pf(n)?n.forEach(function(r){f.add(_t(r,t,e,r,n,o))}):sf(n)&&n.forEach(function(r,u){f.set(u,_t(r,t,e,u,n,o))});var a=l?a?ve:_e:a?Bu:Wu,p=u?T:a(n);return r(p||n,function(r,u){p&&(u=r,r=n[u]),ot(f,u,_t(r,t,e,u,n,o))}),f}function vt(n){var t=Wu(n);return function(r){return gt(r,n,t)}}function gt(n,t,r){var e=r.length;if(null==n)return!e;for(n=Qu(n);e--;){var u=r[e],i=t[u],o=n[u];if(o===T&&!(u in n)||!i(o))return false}return true}function dt(n,t,r){if(typeof n!="function")throw new ti("Expected a function"); +return bo(function(){n.apply(T,r)},t)}function yt(n,t,r,e){var u=-1,i=o,a=true,l=n.length,s=[],h=t.length;if(!l)return s;r&&(t=c(t,k(r))),e?(i=f,a=false):200<=t.length&&(i=O,a=false,t=new Nn(t));n:for(;++ut}function Rt(n,t){return null!=n&&oi.call(n,t)}function zt(n,t){return null!=n&&t in Qu(n)}function Wt(n,t,r){for(var e=r?f:o,u=n[0].length,i=n.length,a=i,l=Ku(i),s=1/0,h=[];a--;){var p=n[a];a&&t&&(p=c(p,k(t))),s=Ci(p.length,s), +l[a]=!r&&(t||120<=u&&120<=p.length)?new Nn(a&&p):T}var p=n[0],_=-1,v=l[0];n:for(;++_r.length?t:kt(t,hr(r,0,-1)),r=null==t?t:t[Me(Ve(r))],null==r?T:n(r,t,e)}function Ut(n){return yu(n)&&"[object Arguments]"==Ot(n)}function Ct(n){ +return yu(n)&&"[object ArrayBuffer]"==Ot(n)}function Dt(n){return yu(n)&&"[object Date]"==Ot(n)}function Mt(n,t,r,e,u){if(n===t)t=true;else if(null==n||null==t||!yu(n)&&!yu(t))t=n!==n&&t!==t;else n:{var i=ff(n),o=ff(t),f=i?"[object Array]":vo(n),c=o?"[object Array]":vo(t),f="[object Arguments]"==f?"[object Object]":f,c="[object Arguments]"==c?"[object Object]":c,a="[object Object]"==f,o="[object Object]"==c;if((c=f==c)&&af(n)){if(!af(t)){t=false;break n}i=true,a=false}if(c&&!a)u||(u=new Zn),t=i||_f(n)?se(n,t,r,e,Mt,u):he(n,t,f,r,e,Mt,u);else{ +if(!(1&r)&&(i=a&&oi.call(n,"__wrapped__"),f=o&&oi.call(t,"__wrapped__"),i||f)){n=i?n.value():n,t=f?t.value():t,u||(u=new Zn),t=Mt(n,t,r,e,u);break n}if(c)t:if(u||(u=new Zn),i=1&r,f=_e(n),o=f.length,c=_e(t).length,o==c||i){for(a=o;a--;){var l=f[a];if(!(i?l in t:oi.call(t,l))){t=false;break t}}if((c=u.get(n))&&u.get(t))t=c==t;else{c=true,u.set(n,t),u.set(t,n);for(var s=i;++at?r:0,Se(t,r)?n[t]:T}function Xt(n,t,r){var e=-1;return t=c(t.length?t:[$u],k(ye())),n=Gt(n,function(n){return{ +a:c(t,function(t){return t(n)}),b:++e,c:n}}),w(n,function(n,t){var e;n:{e=-1;for(var u=n.a,i=t.a,o=u.length,f=r.length;++e=f?c:c*("desc"==r[e]?-1:1);break n}}e=n.b-t.b}return e})}function nr(n,t){return tr(n,t,function(t,r){return zu(n,r)})}function tr(n,t,r){for(var e=-1,u=t.length,i={};++et||9007199254740991t&&(t=-t>u?0:u+t),r=r>u?u:r,0>r&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0,r=Ku(u);++e=u){for(;e>>1,o=n[i];null!==o&&!wu(o)&&(r?o<=t:ot.length?n:kt(n,hr(t,0,-1)),null==n||delete n[Me(Ve(t))]}function jr(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++ie)return e?br(n[0]):[];for(var u=-1,i=Ku(e);++u=e?n:hr(n,t,r)}function Ir(n,t){if(t)return n.slice();var r=n.length,r=gi?gi(r):new n.constructor(r);return n.copy(r),r}function Rr(n){var t=new n.constructor(n.byteLength);return new vi(t).set(new vi(n)), +t}function zr(n,t){return new n.constructor(t?Rr(n.buffer):n.buffer,n.byteOffset,n.length)}function Wr(n,t){if(n!==t){var r=n!==T,e=null===n,u=n===n,i=wu(n),o=t!==T,f=null===t,c=t===t,a=wu(t);if(!f&&!a&&!i&&n>t||i&&o&&c&&!f&&!a||e&&o&&c||!r&&c||!u)return 1;if(!e&&!i&&!a&&nu?T:i,u=1),t=Qu(t);++eo&&f[0]!==a&&f[o-1]!==a?[]:L(f,a), +o-=c.length,or?r?or(t,n):t:(r=or(t,Oi(n/D(t))),Rn.test(t)?Or(M(r),0,n).join(""):r.slice(0,n))}function te(t,r,e,u){function i(){for(var r=-1,c=arguments.length,a=-1,l=u.length,s=Ku(l+c),h=this&&this!==$n&&this instanceof i?f:t;++at||e)&&(1&n&&(i[2]=h[2],t|=1&r?0:4),(r=h[3])&&(e=i[3],i[3]=e?Br(e,r,h[4]):r,i[4]=e?L(i[3],"__lodash_placeholder__"):h[4]),(r=h[5])&&(e=i[5],i[5]=e?Lr(e,r,h[6]):r,i[6]=e?L(i[5],"__lodash_placeholder__"):h[6]),(r=h[7])&&(i[7]=r),128&n&&(i[8]=null==i[8]?h[8]:Ci(i[8],h[8])),null==i[9]&&(i[9]=h[9]),i[0]=h[0],i[1]=t),n=i[0], +t=i[1],r=i[2],e=i[3],u=i[4],f=i[9]=i[9]===T?c?0:n.length:Ui(i[9]-a,0),!f&&24&t&&(t&=-25),Ue((h?co:yo)(t&&1!=t?8==t||16==t?Kr(n,t,f):32!=t&&33!=t||u.length?Jr.apply(T,i):te(n,t,r,e):Pr(n,t,r),i),n,t)}function ce(n,t,r,e){return n===T||lu(n,ei[r])&&!oi.call(e,r)?t:n}function ae(n,t,r,e,u,i){return du(n)&&du(t)&&(i.set(t,n),Yt(n,t,T,ae,i),i.delete(t)),n}function le(n){return xu(n)?T:n}function se(n,t,r,e,u,i){var o=1&r,f=n.length,c=t.length;if(f!=c&&!(o&&c>f))return false;if((c=i.get(n))&&i.get(t))return c==t; +var c=-1,a=true,l=2&r?new Nn:T;for(i.set(n,t),i.set(t,n);++cr&&(r=Ui(e+r,0)),_(n,ye(t,3),r)):-1}function Pe(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e-1;return r!==T&&(u=Eu(r),u=0>r?Ui(e+u,0):Ci(u,e-1)), +_(n,ye(t,3),u,true)}function Ze(n){return(null==n?0:n.length)?wt(n,1):[]}function qe(n){return n&&n.length?n[0]:T}function Ve(n){var t=null==n?0:n.length;return t?n[t-1]:T}function Ke(n,t){return n&&n.length&&t&&t.length?er(n,t):n}function Ge(n){return null==n?n:$i.call(n)}function He(n){if(!n||!n.length)return[];var t=0;return n=i(n,function(n){if(hu(n))return t=Ui(n.length,t),true}),A(t,function(t){return c(n,b(t))})}function Je(t,r){if(!t||!t.length)return[];var e=He(t);return null==r?e:c(e,function(t){ +return n(r,T,t)})}function Ye(n){return n=An(n),n.__chain__=true,n}function Qe(n,t){return t(n)}function Xe(){return this}function nu(n,t){return(ff(n)?r:uo)(n,ye(t,3))}function tu(n,t){return(ff(n)?e:io)(n,ye(t,3))}function ru(n,t){return(ff(n)?c:Gt)(n,ye(t,3))}function eu(n,t,r){return t=r?T:t,t=n&&null==t?n.length:t,fe(n,128,T,T,T,T,t)}function uu(n,t){var r;if(typeof t!="function")throw new ti("Expected a function");return n=Eu(n),function(){return 0<--n&&(r=t.apply(this,arguments)),1>=n&&(t=T), +r}}function iu(n,t,r){return t=r?T:t,n=fe(n,8,T,T,T,T,T,t),n.placeholder=iu.placeholder,n}function ou(n,t,r){return t=r?T:t,n=fe(n,16,T,T,T,T,T,t),n.placeholder=ou.placeholder,n}function fu(n,t,r){function e(t){var r=c,e=a;return c=a=T,_=t,s=n.apply(e,r)}function u(n){var r=n-p;return n-=_,p===T||r>=t||0>r||g&&n>=l}function i(){var n=Go();if(u(n))return o(n);var r,e=bo;r=n-_,n=t-(n-p),r=g?Ci(n,l-r):n,h=e(i,r)}function o(n){return h=T,d&&c?e(n):(c=a=T,s)}function f(){var n=Go(),r=u(n);if(c=arguments, +a=this,p=n,r){if(h===T)return _=n=p,h=bo(i,t),v?e(n):s;if(g)return lo(h),h=bo(i,t),e(p)}return h===T&&(h=bo(i,t)),s}var c,a,l,s,h,p,_=0,v=false,g=false,d=true;if(typeof n!="function")throw new ti("Expected a function");return t=Su(t)||0,du(r)&&(v=!!r.leading,l=(g="maxWait"in r)?Ui(Su(r.maxWait)||0,t):l,d="trailing"in r?!!r.trailing:d),f.cancel=function(){h!==T&&lo(h),_=0,c=p=a=h=T},f.flush=function(){return h===T?s:o(Go())},f}function cu(n,t){function r(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache; +return i.has(u)?i.get(u):(e=n.apply(this,e),r.cache=i.set(u,e)||i,e)}if(typeof n!="function"||null!=t&&typeof t!="function")throw new ti("Expected a function");return r.cache=new(cu.Cache||Fn),r}function au(n){if(typeof n!="function")throw new ti("Expected a function");return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}function lu(n,t){return n===t||n!==n&&t!==t; +}function su(n){return null!=n&&gu(n.length)&&!_u(n)}function hu(n){return yu(n)&&su(n)}function pu(n){if(!yu(n))return false;var t=Ot(n);return"[object Error]"==t||"[object DOMException]"==t||typeof n.message=="string"&&typeof n.name=="string"&&!xu(n)}function _u(n){return!!du(n)&&(n=Ot(n),"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n)}function vu(n){return typeof n=="number"&&n==Eu(n)}function gu(n){return typeof n=="number"&&-1=n; +}function du(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function yu(n){return null!=n&&typeof n=="object"}function bu(n){return typeof n=="number"||yu(n)&&"[object Number]"==Ot(n)}function xu(n){return!(!yu(n)||"[object Object]"!=Ot(n))&&(n=di(n),null===n||(n=oi.call(n,"constructor")&&n.constructor,typeof n=="function"&&n instanceof n&&ii.call(n)==li))}function ju(n){return typeof n=="string"||!ff(n)&&yu(n)&&"[object String]"==Ot(n)}function wu(n){return typeof n=="symbol"||yu(n)&&"[object Symbol]"==Ot(n); +}function mu(n){if(!n)return[];if(su(n))return ju(n)?M(n):Ur(n);if(wi&&n[wi]){n=n[wi]();for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}return t=vo(n),("[object Map]"==t?W:"[object Set]"==t?U:Uu)(n)}function Au(n){return n?(n=Su(n),n===$||n===-$?1.7976931348623157e308*(0>n?-1:1):n===n?n:0):0===n?n:0}function Eu(n){n=Au(n);var t=n%1;return n===n?t?n-t:n:0}function ku(n){return n?pt(Eu(n),0,4294967295):0}function Su(n){if(typeof n=="number")return n;if(wu(n))return F;if(du(n)&&(n=typeof n.valueOf=="function"?n.valueOf():n, +n=du(n)?n+"":n),typeof n!="string")return 0===n?n:+n;n=n.replace(un,"");var t=gn.test(n);return t||yn.test(n)?Dn(n.slice(2),t?2:8):vn.test(n)?F:+n}function Ou(n){return Cr(n,Bu(n))}function Iu(n){return null==n?"":yr(n)}function Ru(n,t,r){return n=null==n?T:kt(n,t),n===T?r:n}function zu(n,t){return null!=n&&we(n,t,zt)}function Wu(n){return su(n)?qn(n):Vt(n)}function Bu(n){if(su(n))n=qn(n,true);else if(du(n)){var t,r=ze(n),e=[];for(t in n)("constructor"!=t||!r&&oi.call(n,t))&&e.push(t);n=e}else{if(t=[], +null!=n)for(r in Qu(n))t.push(r);n=t}return n}function Lu(n,t){if(null==n)return{};var r=c(ve(n),function(n){return[n]});return t=ye(t),tr(n,r,function(n,r){return t(n,r[0])})}function Uu(n){return null==n?[]:S(n,Wu(n))}function Cu(n){return $f(Iu(n).toLowerCase())}function Du(n){return(n=Iu(n))&&n.replace(xn,Xn).replace(Sn,"")}function Mu(n,t,r){return n=Iu(n),t=r?T:t,t===T?zn.test(n)?n.match(In)||[]:n.match(sn)||[]:n.match(t)||[]}function Tu(n){return function(){return n}}function $u(n){return n; +}function Fu(n){return qt(typeof n=="function"?n:_t(n,1))}function Nu(n,t,e){var u=Wu(t),i=Et(t,u);null!=e||du(t)&&(i.length||!u.length)||(e=t,t=n,n=this,i=Et(t,Wu(t)));var o=!(du(e)&&"chain"in e&&!e.chain),f=_u(n);return r(i,function(r){var e=t[r];n[r]=e,f&&(n.prototype[r]=function(){var t=this.__chain__;if(o||t){var r=n(this.__wrapped__);return(r.__actions__=Ur(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,a([this.value()],arguments))})}),n}function Pu(){} +function Zu(n){return Ie(n)?b(Me(n)):rr(n)}function qu(){return[]}function Vu(){return false}mn=null==mn?$n:rt.defaults($n.Object(),mn,rt.pick($n,Wn));var Ku=mn.Array,Gu=mn.Date,Hu=mn.Error,Ju=mn.Function,Yu=mn.Math,Qu=mn.Object,Xu=mn.RegExp,ni=mn.String,ti=mn.TypeError,ri=Ku.prototype,ei=Qu.prototype,ui=mn["__core-js_shared__"],ii=Ju.prototype.toString,oi=ei.hasOwnProperty,fi=0,ci=function(){var n=/[^.]+$/.exec(ui&&ui.keys&&ui.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}(),ai=ei.toString,li=ii.call(Qu),si=$n._,hi=Xu("^"+ii.call(oi).replace(rn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pi=Pn?mn.Buffer:T,_i=mn.Symbol,vi=mn.Uint8Array,gi=pi?pi.g:T,di=B(Qu.getPrototypeOf,Qu),yi=Qu.create,bi=ei.propertyIsEnumerable,xi=ri.splice,ji=_i?_i.isConcatSpreadable:T,wi=_i?_i.iterator:T,mi=_i?_i.toStringTag:T,Ai=function(){ +try{var n=je(Qu,"defineProperty");return n({},"",{}),n}catch(n){}}(),Ei=mn.clearTimeout!==$n.clearTimeout&&mn.clearTimeout,ki=Gu&&Gu.now!==$n.Date.now&&Gu.now,Si=mn.setTimeout!==$n.setTimeout&&mn.setTimeout,Oi=Yu.ceil,Ii=Yu.floor,Ri=Qu.getOwnPropertySymbols,zi=pi?pi.isBuffer:T,Wi=mn.isFinite,Bi=ri.join,Li=B(Qu.keys,Qu),Ui=Yu.max,Ci=Yu.min,Di=Gu.now,Mi=mn.parseInt,Ti=Yu.random,$i=ri.reverse,Fi=je(mn,"DataView"),Ni=je(mn,"Map"),Pi=je(mn,"Promise"),Zi=je(mn,"Set"),qi=je(mn,"WeakMap"),Vi=je(Qu,"create"),Ki=qi&&new qi,Gi={},Hi=Te(Fi),Ji=Te(Ni),Yi=Te(Pi),Qi=Te(Zi),Xi=Te(qi),no=_i?_i.prototype:T,to=no?no.valueOf:T,ro=no?no.toString:T,eo=function(){ +function n(){}return function(t){return du(t)?yi?yi(t):(n.prototype=t,t=new n,n.prototype=T,t):{}}}();An.templateSettings={escape:J,evaluate:Y,interpolate:Q,variable:"",imports:{_:An}},An.prototype=En.prototype,An.prototype.constructor=An,On.prototype=eo(En.prototype),On.prototype.constructor=On,Un.prototype=eo(En.prototype),Un.prototype.constructor=Un,Mn.prototype.clear=function(){this.__data__=Vi?Vi(null):{},this.size=0},Mn.prototype.delete=function(n){return n=this.has(n)&&delete this.__data__[n], +this.size-=n?1:0,n},Mn.prototype.get=function(n){var t=this.__data__;return Vi?(n=t[n],"__lodash_hash_undefined__"===n?T:n):oi.call(t,n)?t[n]:T},Mn.prototype.has=function(n){var t=this.__data__;return Vi?t[n]!==T:oi.call(t,n)},Mn.prototype.set=function(n,t){var r=this.__data__;return this.size+=this.has(n)?0:1,r[n]=Vi&&t===T?"__lodash_hash_undefined__":t,this},Tn.prototype.clear=function(){this.__data__=[],this.size=0},Tn.prototype.delete=function(n){var t=this.__data__;return n=ft(t,n),!(0>n)&&(n==t.length-1?t.pop():xi.call(t,n,1), +--this.size,true)},Tn.prototype.get=function(n){var t=this.__data__;return n=ft(t,n),0>n?T:t[n][1]},Tn.prototype.has=function(n){return-1e?(++this.size,r.push([n,t])):r[e][1]=t,this},Fn.prototype.clear=function(){this.size=0,this.__data__={hash:new Mn,map:new(Ni||Tn),string:new Mn}},Fn.prototype.delete=function(n){return n=be(this,n).delete(n),this.size-=n?1:0,n},Fn.prototype.get=function(n){return be(this,n).get(n); +},Fn.prototype.has=function(n){return be(this,n).has(n)},Fn.prototype.set=function(n,t){var r=be(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Nn.prototype.add=Nn.prototype.push=function(n){return this.__data__.set(n,"__lodash_hash_undefined__"),this},Nn.prototype.has=function(n){return this.__data__.has(n)},Zn.prototype.clear=function(){this.__data__=new Tn,this.size=0},Zn.prototype.delete=function(n){var t=this.__data__;return n=t.delete(n),this.size=t.size,n},Zn.prototype.get=function(n){ +return this.__data__.get(n)},Zn.prototype.has=function(n){return this.__data__.has(n)},Zn.prototype.set=function(n,t){var r=this.__data__;if(r instanceof Tn){var e=r.__data__;if(!Ni||199>e.length)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new Fn(e)}return r.set(n,t),this.size=r.size,this};var uo=Fr(mt),io=Fr(At,true),oo=Nr(),fo=Nr(true),co=Ki?function(n,t){return Ki.set(n,t),n}:$u,ao=Ai?function(n,t){return Ai(n,"toString",{configurable:true,enumerable:false,value:Tu(t),writable:true})}:$u,lo=Ei||function(n){ +return $n.clearTimeout(n)},so=Zi&&1/U(new Zi([,-0]))[1]==$?function(n){return new Zi(n)}:Pu,ho=Ki?function(n){return Ki.get(n)}:Pu,po=Ri?function(n){return null==n?[]:(n=Qu(n),i(Ri(n),function(t){return bi.call(n,t)}))}:qu,_o=Ri?function(n){for(var t=[];n;)a(t,po(n)),n=di(n);return t}:qu,vo=Ot;(Fi&&"[object DataView]"!=vo(new Fi(new ArrayBuffer(1)))||Ni&&"[object Map]"!=vo(new Ni)||Pi&&"[object Promise]"!=vo(Pi.resolve())||Zi&&"[object Set]"!=vo(new Zi)||qi&&"[object WeakMap]"!=vo(new qi))&&(vo=function(n){ +var t=Ot(n);if(n=(n="[object Object]"==t?n.constructor:T)?Te(n):"")switch(n){case Hi:return"[object DataView]";case Ji:return"[object Map]";case Yi:return"[object Promise]";case Qi:return"[object Set]";case Xi:return"[object WeakMap]"}return t});var go=ui?_u:Vu,yo=Ce(co),bo=Si||function(n,t){return $n.setTimeout(n,t)},xo=Ce(ao),jo=function(n){n=cu(n,function(n){return 500===t.size&&t.clear(),n});var t=n.cache;return n}(function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(tn,function(n,r,e,u){ +t.push(e?u.replace(hn,"$1"):r||n)}),t}),wo=fr(function(n,t){return hu(n)?yt(n,wt(t,1,hu,true)):[]}),mo=fr(function(n,t){var r=Ve(t);return hu(r)&&(r=T),hu(n)?yt(n,wt(t,1,hu,true),ye(r,2)):[]}),Ao=fr(function(n,t){var r=Ve(t);return hu(r)&&(r=T),hu(n)?yt(n,wt(t,1,hu,true),T,r):[]}),Eo=fr(function(n){var t=c(n,Er);return t.length&&t[0]===n[0]?Wt(t):[]}),ko=fr(function(n){var t=Ve(n),r=c(n,Er);return t===Ve(r)?t=T:r.pop(),r.length&&r[0]===n[0]?Wt(r,ye(t,2)):[]}),So=fr(function(n){var t=Ve(n),r=c(n,Er);return(t=typeof t=="function"?t:T)&&r.pop(), +r.length&&r[0]===n[0]?Wt(r,T,t):[]}),Oo=fr(Ke),Io=pe(function(n,t){var r=null==n?0:n.length,e=ht(n,t);return ur(n,c(t,function(n){return Se(n,r)?+n:n}).sort(Wr)),e}),Ro=fr(function(n){return br(wt(n,1,hu,true))}),zo=fr(function(n){var t=Ve(n);return hu(t)&&(t=T),br(wt(n,1,hu,true),ye(t,2))}),Wo=fr(function(n){var t=Ve(n),t=typeof t=="function"?t:T;return br(wt(n,1,hu,true),T,t)}),Bo=fr(function(n,t){return hu(n)?yt(n,t):[]}),Lo=fr(function(n){return mr(i(n,hu))}),Uo=fr(function(n){var t=Ve(n);return hu(t)&&(t=T), +mr(i(n,hu),ye(t,2))}),Co=fr(function(n){var t=Ve(n),t=typeof t=="function"?t:T;return mr(i(n,hu),T,t)}),Do=fr(He),Mo=fr(function(n){var t=n.length,t=1=t}),of=Ut(function(){return arguments}())?Ut:function(n){return yu(n)&&oi.call(n,"callee")&&!bi.call(n,"callee")},ff=Ku.isArray,cf=Vn?k(Vn):Ct,af=zi||Vu,lf=Kn?k(Kn):Dt,sf=Gn?k(Gn):Tt,hf=Hn?k(Hn):Nt,pf=Jn?k(Jn):Pt,_f=Yn?k(Yn):Zt,vf=ee(Kt),gf=ee(function(n,t){return n<=t}),df=$r(function(n,t){ +if(ze(t)||su(t))Cr(t,Wu(t),n);else for(var r in t)oi.call(t,r)&&ot(n,r,t[r])}),yf=$r(function(n,t){Cr(t,Bu(t),n)}),bf=$r(function(n,t,r,e){Cr(t,Bu(t),n,e)}),xf=$r(function(n,t,r,e){Cr(t,Wu(t),n,e)}),jf=pe(ht),wf=fr(function(n,t){n=Qu(n);var r=-1,e=t.length,u=2--n)return t.apply(this,arguments)}},An.ary=eu,An.assign=df,An.assignIn=yf,An.assignInWith=bf,An.assignWith=xf,An.at=jf,An.before=uu,An.bind=Ho,An.bindAll=Nf,An.bindKey=Jo,An.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return ff(n)?n:[n]},An.chain=Ye,An.chunk=function(n,t,r){if(t=(r?Oe(n,t,r):t===T)?1:Ui(Eu(t),0),r=null==n?0:n.length,!r||1>t)return[];for(var e=0,u=0,i=Ku(Oi(r/t));et?0:t,e)):[]},An.dropRight=function(n,t,r){var e=null==n?0:n.length;return e?(t=r||t===T?1:Eu(t),t=e-t,hr(n,0,0>t?0:t)):[]},An.dropRightWhile=function(n,t){return n&&n.length?jr(n,ye(t,3),true,true):[]; +},An.dropWhile=function(n,t){return n&&n.length?jr(n,ye(t,3),true):[]},An.fill=function(n,t,r,e){var u=null==n?0:n.length;if(!u)return[];for(r&&typeof r!="number"&&Oe(n,t,r)&&(r=0,e=u),u=n.length,r=Eu(r),0>r&&(r=-r>u?0:u+r),e=e===T||e>u?u:Eu(e),0>e&&(e+=u),e=r>e?0:ku(e);r>>0,r?(n=Iu(n))&&(typeof t=="string"||null!=t&&!hf(t))&&(t=yr(t),!t&&Rn.test(n))?Or(M(n),0,r):n.split(t,r):[]},An.spread=function(t,r){if(typeof t!="function")throw new ti("Expected a function");return r=null==r?0:Ui(Eu(r),0), +fr(function(e){var u=e[r];return e=Or(e,0,r),u&&a(e,u),n(t,this,e)})},An.tail=function(n){var t=null==n?0:n.length;return t?hr(n,1,t):[]},An.take=function(n,t,r){return n&&n.length?(t=r||t===T?1:Eu(t),hr(n,0,0>t?0:t)):[]},An.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?(t=r||t===T?1:Eu(t),t=e-t,hr(n,0>t?0:t,e)):[]},An.takeRightWhile=function(n,t){return n&&n.length?jr(n,ye(t,3),false,true):[]},An.takeWhile=function(n,t){return n&&n.length?jr(n,ye(t,3)):[]},An.tap=function(n,t){return t(n), +n},An.throttle=function(n,t,r){var e=true,u=true;if(typeof n!="function")throw new ti("Expected a function");return du(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),fu(n,t,{leading:e,maxWait:t,trailing:u})},An.thru=Qe,An.toArray=mu,An.toPairs=zf,An.toPairsIn=Wf,An.toPath=function(n){return ff(n)?c(n,Me):wu(n)?[n]:Ur(jo(Iu(n)))},An.toPlainObject=Ou,An.transform=function(n,t,e){var u=ff(n),i=u||af(n)||_f(n);if(t=ye(t,4),null==e){var o=n&&n.constructor;e=i?u?new o:[]:du(n)&&_u(o)?eo(di(n)):{}; +}return(i?r:mt)(n,function(n,r,u){return t(e,n,r,u)}),e},An.unary=function(n){return eu(n,1)},An.union=Ro,An.unionBy=zo,An.unionWith=Wo,An.uniq=function(n){return n&&n.length?br(n):[]},An.uniqBy=function(n,t){return n&&n.length?br(n,ye(t,2)):[]},An.uniqWith=function(n,t){return t=typeof t=="function"?t:T,n&&n.length?br(n,T,t):[]},An.unset=function(n,t){return null==n||xr(n,t)},An.unzip=He,An.unzipWith=Je,An.update=function(n,t,r){return null==n?n:lr(n,t,kr(r)(kt(n,t)),void 0)},An.updateWith=function(n,t,r,e){ +return e=typeof e=="function"?e:T,null!=n&&(n=lr(n,t,kr(r)(kt(n,t)),e)),n},An.values=Uu,An.valuesIn=function(n){return null==n?[]:S(n,Bu(n))},An.without=Bo,An.words=Mu,An.wrap=function(n,t){return nf(kr(t),n)},An.xor=Lo,An.xorBy=Uo,An.xorWith=Co,An.zip=Do,An.zipObject=function(n,t){return Ar(n||[],t||[],ot)},An.zipObjectDeep=function(n,t){return Ar(n||[],t||[],lr)},An.zipWith=Mo,An.entries=zf,An.entriesIn=Wf,An.extend=yf,An.extendWith=bf,Nu(An,An),An.add=Qf,An.attempt=Ff,An.camelCase=Bf,An.capitalize=Cu, +An.ceil=Xf,An.clamp=function(n,t,r){return r===T&&(r=t,t=T),r!==T&&(r=Su(r),r=r===r?r:0),t!==T&&(t=Su(t),t=t===t?t:0),pt(Su(n),t,r)},An.clone=function(n){return _t(n,4)},An.cloneDeep=function(n){return _t(n,5)},An.cloneDeepWith=function(n,t){return t=typeof t=="function"?t:T,_t(n,5,t)},An.cloneWith=function(n,t){return t=typeof t=="function"?t:T,_t(n,4,t)},An.conformsTo=function(n,t){return null==t||gt(n,t,Wu(t))},An.deburr=Du,An.defaultTo=function(n,t){return null==n||n!==n?t:n},An.divide=nc,An.endsWith=function(n,t,r){ +n=Iu(n),t=yr(t);var e=n.length,e=r=r===T?e:pt(Eu(r),0,e);return r-=t.length,0<=r&&n.slice(r,e)==t},An.eq=lu,An.escape=function(n){return(n=Iu(n))&&H.test(n)?n.replace(K,nt):n},An.escapeRegExp=function(n){return(n=Iu(n))&&en.test(n)?n.replace(rn,"\\$&"):n},An.every=function(n,t,r){var e=ff(n)?u:bt;return r&&Oe(n,t,r)&&(t=T),e(n,ye(t,3))},An.find=Fo,An.findIndex=Ne,An.findKey=function(n,t){return p(n,ye(t,3),mt)},An.findLast=No,An.findLastIndex=Pe,An.findLastKey=function(n,t){return p(n,ye(t,3),At); +},An.floor=tc,An.forEach=nu,An.forEachRight=tu,An.forIn=function(n,t){return null==n?n:oo(n,ye(t,3),Bu)},An.forInRight=function(n,t){return null==n?n:fo(n,ye(t,3),Bu)},An.forOwn=function(n,t){return n&&mt(n,ye(t,3))},An.forOwnRight=function(n,t){return n&&At(n,ye(t,3))},An.get=Ru,An.gt=ef,An.gte=uf,An.has=function(n,t){return null!=n&&we(n,t,Rt)},An.hasIn=zu,An.head=qe,An.identity=$u,An.includes=function(n,t,r,e){return n=su(n)?n:Uu(n),r=r&&!e?Eu(r):0,e=n.length,0>r&&(r=Ui(e+r,0)),ju(n)?r<=e&&-1r&&(r=Ui(e+r,0)),v(n,t,r)):-1},An.inRange=function(n,t,r){return t=Au(t),r===T?(r=t,t=0):r=Au(r),n=Su(n),n>=Ci(t,r)&&n=n},An.isSet=pf,An.isString=ju,An.isSymbol=wu,An.isTypedArray=_f,An.isUndefined=function(n){return n===T},An.isWeakMap=function(n){return yu(n)&&"[object WeakMap]"==vo(n)},An.isWeakSet=function(n){return yu(n)&&"[object WeakSet]"==Ot(n)},An.join=function(n,t){return null==n?"":Bi.call(n,t)},An.kebabCase=Lf,An.last=Ve,An.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e;if(r!==T&&(u=Eu(r),u=0>u?Ui(e+u,0):Ci(u,e-1)), +t===t){for(r=u+1;r--&&n[r]!==t;);n=r}else n=_(n,d,u,true);return n},An.lowerCase=Uf,An.lowerFirst=Cf,An.lt=vf,An.lte=gf,An.max=function(n){return n&&n.length?xt(n,$u,It):T},An.maxBy=function(n,t){return n&&n.length?xt(n,ye(t,2),It):T},An.mean=function(n){return y(n,$u)},An.meanBy=function(n,t){return y(n,ye(t,2))},An.min=function(n){return n&&n.length?xt(n,$u,Kt):T},An.minBy=function(n,t){return n&&n.length?xt(n,ye(t,2),Kt):T},An.stubArray=qu,An.stubFalse=Vu,An.stubObject=function(){return{}},An.stubString=function(){ +return""},An.stubTrue=function(){return true},An.multiply=rc,An.nth=function(n,t){return n&&n.length?Qt(n,Eu(t)):T},An.noConflict=function(){return $n._===this&&($n._=si),this},An.noop=Pu,An.now=Go,An.pad=function(n,t,r){n=Iu(n);var e=(t=Eu(t))?D(n):0;return!t||e>=t?n:(t=(t-e)/2,ne(Ii(t),r)+n+ne(Oi(t),r))},An.padEnd=function(n,t,r){n=Iu(n);var e=(t=Eu(t))?D(n):0;return t&&et){var e=n;n=t,t=e}return r||n%1||t%1?(r=Ti(),Ci(n+r*(t-n+Cn("1e-"+((r+"").length-1))),t)):ir(n,t)},An.reduce=function(n,t,r){var e=ff(n)?l:j,u=3>arguments.length;return e(n,ye(t,4),r,u,uo)},An.reduceRight=function(n,t,r){var e=ff(n)?s:j,u=3>arguments.length; +return e(n,ye(t,4),r,u,io)},An.repeat=function(n,t,r){return t=(r?Oe(n,t,r):t===T)?1:Eu(t),or(Iu(n),t)},An.replace=function(){var n=arguments,t=Iu(n[0]);return 3>n.length?t:t.replace(n[1],n[2])},An.result=function(n,t,r){t=Sr(t,n);var e=-1,u=t.length;for(u||(u=1,n=T);++en||9007199254740991=i)return n;if(i=r-D(e),1>i)return e;if(r=o?Or(o,0,i).join(""):n.slice(0,i),u===T)return r+e;if(o&&(i+=r.length-i),hf(u)){if(n.slice(i).search(u)){ +var f=r;for(u.global||(u=Xu(u.source,Iu(_n.exec(u))+"g")),u.lastIndex=0;o=u.exec(f);)var c=o.index;r=r.slice(0,c===T?i:c)}}else n.indexOf(yr(u),i)!=i&&(u=r.lastIndexOf(u),-1e.__dir__?"Right":"")}),e},Un.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),r(["filter","map","takeWhile"],function(n,t){ +var r=t+1,e=1==r||3==r;Un.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:ye(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),r(["head","last"],function(n,t){var r="take"+(t?"Right":"");Un.prototype[n]=function(){return this[r](1).value()[0]}}),r(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");Un.prototype[n]=function(){return this.__filtered__?new Un(this):this[r](1)}}),Un.prototype.compact=function(){return this.filter($u)},Un.prototype.find=function(n){ +return this.filter(n).head()},Un.prototype.findLast=function(n){return this.reverse().find(n)},Un.prototype.invokeMap=fr(function(n,t){return typeof n=="function"?new Un(this):this.map(function(r){return Lt(r,n,t)})}),Un.prototype.reject=function(n){return this.filter(au(ye(n)))},Un.prototype.slice=function(n,t){n=Eu(n);var r=this;return r.__filtered__&&(0t)?new Un(r):(0>n?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==T&&(t=Eu(t),r=0>t?r.dropRight(-t):r.take(t-n)),r)},Un.prototype.takeRightWhile=function(n){ +return this.reverse().takeWhile(n).reverse()},Un.prototype.toArray=function(){return this.take(4294967295)},mt(Un.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),u=An[e?"take"+("last"==t?"Right":""):t],i=e||/^find/.test(t);u&&(An.prototype[t]=function(){function t(n){return n=u.apply(An,a([n],f)),e&&h?n[0]:n}var o=this.__wrapped__,f=e?[1]:arguments,c=o instanceof Un,l=f[0],s=c||ff(o);s&&r&&typeof l=="function"&&1!=l.length&&(c=s=false);var h=this.__chain__,p=!!this.__actions__.length,l=i&&!h,c=c&&!p; +return!i&&s?(o=c?o:new Un(this),o=n.apply(o,f),o.__actions__.push({func:Qe,args:[t],thisArg:T}),new On(o,h)):l&&c?n.apply(this,f):(o=this.thru(t),l?e?o.value()[0]:o.value():o)})}),r("pop push shift sort splice unshift".split(" "),function(n){var t=ri[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);An.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(ff(u)?u:[],n)}return this[r](function(r){return t.apply(ff(r)?r:[],n)}); +}}),mt(Un.prototype,function(n,t){var r=An[t];if(r){var e=r.name+"";oi.call(Gi,e)||(Gi[e]=[]),Gi[e].push({name:t,func:r})}}),Gi[Jr(T,2).name]=[{name:"wrapper",func:T}],Un.prototype.clone=function(){var n=new Un(this.__wrapped__);return n.__actions__=Ur(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Ur(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Ur(this.__views__),n},Un.prototype.reverse=function(){if(this.__filtered__){var n=new Un(this); +n.__dir__=-1,n.__filtered__=true}else n=this.clone(),n.__dir__*=-1;return n},Un.prototype.value=function(){var n,t=this.__wrapped__.value(),r=this.__dir__,e=ff(t),u=0>r,i=e?t.length:0;n=i;for(var o=this.__views__,f=0,c=-1,a=o.length;++c=this.__values__.length;return{done:n,value:n?T:this.__values__[this.__index__++]}},An.prototype.plant=function(n){ +for(var t,r=this;r instanceof En;){var e=Fe(r);e.__index__=0,e.__values__=T,t?u.__wrapped__=e:t=e;var u=e,r=r.__wrapped__}return u.__wrapped__=n,t},An.prototype.reverse=function(){var n=this.__wrapped__;return n instanceof Un?(this.__actions__.length&&(n=new Un(this)),n=n.reverse(),n.__actions__.push({func:Qe,args:[Ge],thisArg:T}),new On(n,this.__chain__)):this.thru(Ge)},An.prototype.toJSON=An.prototype.valueOf=An.prototype.value=function(){return wr(this.__wrapped__,this.__actions__)},An.prototype.first=An.prototype.head, +wi&&(An.prototype[wi]=Xe),An}();typeof define=="function"&&typeof define.amd=="object"&&define.amd?($n._=rt, define(function(){return rt})):Nn?((Nn.exports=rt)._=rt,Fn._=rt):$n._=rt}).call(this); \ No newline at end of file diff --git a/javascript/main.js b/javascript/main.js index b553536..d2bb0f4 100644 --- a/javascript/main.js +++ b/javascript/main.js @@ -1,3 +1,27 @@ +// Alcohol Abuse Chart + +const alcoholAbuseCanvas = document.getElementById('alcohol-abuse'); +const alcoholDeathPercent = alcoholAbuseData.Deaths.filter(function(a) { return a.metric == 'Percent' }); +const alcoholPrevalencePercent = alcoholAbuseData.Prevalence.filter(function(a) { return a.metric == 'Percent' }); +const alcoholAbuseChart = new Chart(alcoholAbuseCanvas, { + type: 'line', + data: { + labels: alcoholDeathPercent.map(function(a) { return a.year }), + datasets: [{ + label: 'Deaths by Alcohol Abuse', + data: alcoholDeathPercent.map(function(a) { return a.val }), + fill: true, + backgroundColor: 'rgb(249, 98, 200)' + }, { + label: 'Prevalence of Alcohol Abuse', + data: alcoholPrevalencePercent.map(function(a) { return a.val }), + borderColor: 'rgb(97, 152, 250)' + }] + } +}); + +// Animations + anime({ targets: '#human', opacity: 1, diff --git a/templates/index.nj b/templates/index.nj index 5af0a33..4ee1146 100644 --- a/templates/index.nj +++ b/templates/index.nj @@ -3,13 +3,14 @@
Alcohol and the Brain - What does Cerebellum do? + What is Cerebellum and what does it do? Symptoms of Cerebellum damage
-
+

{{ title }}

+

{{ subtitle }}

@@ -26,8 +27,14 @@
-

Alcohol can affect various areas of the brain including cerebellum ...

-
+

Binge drinking (drinking 5 units over a 2 hour period, followed by a period of abstinence) and high alcohol intake (more than 5 units a day), can lead to dependence, tolerance and cravings, which lead to a continuation of alcohol abuse to prevent withdrawal symptoms.

+

Chronic alcohol abuse can have adverse effects such as loss of balance and gait, slurred speech, slower reactions, poor memory consolidation, compromised emotional modulation and judgement. These effects in turn can lead to difficulties in social and emotional interactions, and a reduction in motivation, attention and impulse control.

+

These effects are studied and proven using methods such as MRI scans which show loss of neurons, particularly in the frontal lobe, the area most associated with reasoning, decision-making and rationality, however it can affect other areas of the brain such as the cerebellum (associated with balance and movement), hippocampus (memory) and amygdala (memory, decision making and emotional responses). [1]

+ +

Every year millions of people suffer from Alcohol use disorder, leading to physical and mental health problems.

+ + +
@@ -53,5 +60,8 @@
+ + +