From 4694ec2d5f628e014f8d859da125649e14b65720 Mon Sep 17 00:00:00 2001 From: David Inga Date: Wed, 9 Apr 2014 19:14:41 +0200 Subject: [PATCH] first commit --- .gitignore | 1 + images/bg.png | Bin 0 -> 5138 bytes images/favicon.png | Bin 0 -> 411 bytes images/highcharts/marker.png | Bin 0 -> 330 bytes images/logo-global-integrity.png | Bin 0 -> 2645 bytes images/touch-icon.png | Bin 0 -> 179 bytes img/bubbles.png | Bin 0 -> 1038 bytes img/burguer.png | Bin 0 -> 143 bytes img/burguer@2x.png | Bin 0 -> 117 bytes img/dark.png | Bin 0 -> 718 bytes img/facebook.png | Bin 0 -> 261 bytes img/fullscreen.png | Bin 0 -> 171 bytes img/handle.png | Bin 0 -> 118 bytes img/handle@2x.png | Bin 0 -> 150 bytes img/headers.png | Bin 0 -> 8483 bytes img/image_not_found.png | Bin 0 -> 744 bytes img/light.png | Bin 0 -> 718 bytes img/loader.gif | Bin 0 -> 664 bytes img/loader@2x.gif | Bin 0 -> 2512 bytes img/other.png | Bin 0 -> 1296 bytes img/other@2x.png | Bin 0 -> 2981 bytes img/shadow.png | Bin 0 -> 228 bytes img/share.png | Bin 0 -> 368 bytes img/share@2x.png | Bin 0 -> 313 bytes img/slider.png | Bin 0 -> 379 bytes img/twitter.png | Bin 0 -> 253 bytes index.html | 1 + scripts/main.js | 1 + styles/main.css | 1 + vendor/requirejs/require.js | 1 + 30 files changed, 5 insertions(+) create mode 100644 .gitignore create mode 100644 images/bg.png create mode 100644 images/favicon.png create mode 100644 images/highcharts/marker.png create mode 100644 images/logo-global-integrity.png create mode 100644 images/touch-icon.png create mode 100644 img/bubbles.png create mode 100644 img/burguer.png create mode 100644 img/burguer@2x.png create mode 100644 img/dark.png create mode 100644 img/facebook.png create mode 100644 img/fullscreen.png create mode 100644 img/handle.png create mode 100644 img/handle@2x.png create mode 100644 img/headers.png create mode 100644 img/image_not_found.png create mode 100644 img/light.png create mode 100644 img/loader.gif create mode 100644 img/loader@2x.gif create mode 100644 img/other.png create mode 100644 img/other@2x.png create mode 100644 img/shadow.png create mode 100644 img/share.png create mode 100644 img/share@2x.png create mode 100644 img/slider.png create mode 100644 img/twitter.png create mode 100644 index.html create mode 100644 scripts/main.js create mode 100644 styles/main.css create mode 100644 vendor/requirejs/require.js diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/images/bg.png b/images/bg.png new file mode 100644 index 0000000000000000000000000000000000000000..594c5ff90b332722be2a04b330ee992392968dfb GIT binary patch literal 5138 zcmV+t6z%JYP)a!j3OjMFi3+T^KC@0iZh zKKVC%&jTVO$!6jhs_cHsW7_49muu2#gG)zXJHt{_vW&((z6;SPpq$`#{l!C-qxGO& z%!gVa8^fHu6Z(wlx9IHah|M_SrRVm_Pa+ZP=_-_m@4t>A!@TfL%dmy<7tA#ST@|_X z4nqE=uXXk3vn{K>M^1}^{6~bp!@SS>v*9ON@vpCwlKmner6>B1Sn;mdb^YJf0T*CQq3vf!RSzg-Y4qA%a{}my)oOAFz)5 ztU;gHHkfiAb!>Wi^rs30`eYf>>qiCBh#B(u2+0GgSOFBaM3~_V#nofh1NH#+tMFz~ z{OFoHVf`~nwXwWO20_OdD}M!=mk~wrZ_ZE9>S`3%zLh!?Hft25J%Y#r4Y_M?^3aj9 zLt=8p^b@__&_^aQv+L+sDt?wqRv%EFT;O?KFM zB;E?D^%PMhAvTknRO!m!%ojOU$(kpu=a;MH&CiD`Z4;X0@UKoF<%jgT5?5kRmP#== zk?O+qKYZRitN3OAF<_&2H*-c`o{rg$D~)NBeO+(}T(zmF3wV~8&%(}^ovTd$I~=@l z6umPnk(Vu-`6}e~?{ViQepus1@uHljSFdAU*tBDU4r>|UMjnqz;qPIa!Otj3#Oq^= zJ2#skRx+P+kfSwdarKQGZK0*##N@Iug4OZprHXqT7-{^sT{AA=AYypWO8DsvlVDf&p#gjq^zvH&33+VBm$ZZr_L{XUejzuGzrg<}GgpQe(xPwh3`E3+j9 zx-oSwBjM>(33tn9_#q3tcVD)&xlxbhOvw-Yz#jMGo>x#yzK2L4sX$7 zMe?v7WYnz=uLE3jFGZgBmZQ*^`C+7Dst_@$XS{7F_$qejy4+mNynjE-DeP~5JLvEh zP{}$vqBwGZ$fvtlP^gagA?ka-emACi>{9fvKq$)xL5up8@d$LAQEwHy3>vzl$zO!T zHZN??pHP<%sHYBE80s;G%G4@XDx9zMYD13THn;UyO5eW0=1LC$= z2j@GmKxmT#G=D7{C+>~=Xdjk|vokN`Rf{9TTLKI;9YU?t#je8bGRpNLd(!z8%kPRp zf%FUGcEGHyK~F@;guXy!#fv1wkX6>)YantrI;_9RJXtbr%{*>lDctVsJw&BNz7m*} zJ9^DG2>bKoq_1tKlGjytjM+Nk2ENxqA03k~2DMEc#`)7FcPO`t=S`K^r}WrzP~ zBpUh@UzxE8x8PgRr1P6p8&P>7g3}UI+D*>+sD;q|eDXMf)m>~DMvR%bbO)-^Ikfb_ zaUZR-dci605HqXJ8{7>at=6-dPNb8nce9!f#S%7|&AOO9ca7Rcy23JeW0@aW(pd;& zZr!rJ$JgVdO(I@xZi+8%b!WzA ze_W_rXn5$8bZH62p-UUrek%To5Nd)v&8(oe#Pnb(!`em4`flLWsp;;!Fqac)qs9rW z7=zoSNCmRuJ|~gsT0H*|l(ba`z3Fzo*xMZSqA`pr*4SkYd~ak!Q(hca^9)op&IuuR z45s%%skYi-Z=%urF-jL-ERw&pIieG^Kf#n&O#PELxd-~7jSp6f+7v`yPELSsRHIRy z?pyCaF21gKxSS6$>p9dr+--ivQ?p;=FgdG)vBIYVN#j+9G5!Hb4BpYWY;)8oNrl{~ zFKP&s7cH`eK;FCFTaop9^}pbU{;P9LE6I(R1YE^Y?lb@H>?4n*P1+*~_~2qMlDA>< zAGKo1if~mGa}Tq-T-ySL6y3{by)WcS*U&Z~zu|=9O3NU{EF+u5;$MY5)AdJ3_tbq4 zN))kFRBvOA{~$h?{o3MZq%KwwQ!0|Q4em=6a0h&&5y!0|-Jym7xd-28y>^SEhxXEv zLFzKP^ZC9_c2~NR`JR-gvd*@?2J>W~7;BxrSr|l&tg}y;h{ZA!^jHz?B<|RqSJ?} ze`9dyyWrP@eE@~6*LjP6@&XA0u6m1{%lr5;W#Qd#dYdsezy4h&gCqAE`Sv9;n7l(m z(kiPva}PX9T=$B**Yl3SZq@|ZtF(RXTgGh>L4|3@n%X^zb5R2NLu?_N%#hjbt|1RH=YP@BtsawAR$w4->QHg)CRu!~$H%X=wv%+-!5Enx4k3xy4zYMltG*^%S?(Cs ztERNh&v$79g2xvqoDpdA%3L3Z%E>aGwdy0~E} z+nQbtGk2gOS<@*&y;4=0ZAY_h>$+HlLLcM35*o z>?)^lAmoygXHtA!DmAbZe`h1|z$m=&+c`Kc&Bbm12TLT#IKyB+&@@d5F_;KK^LyU6 z{Y;%&|CzrCH^$$~H5(PQ9=)77r+qkwJpV`C%;zO`?%9r9?@V22QwnKz^}v#Y+{1l=5e&*t9gt081Rl2CJKG3gZ)zDQ@45|`XOUugV1Lo{ZO!0;K&Mm84tMK zGI{%eq4C9V?=QmD+G3I8cCf?R^WKEl$q%P8@ua^|^j6SUDSY?@jN87Ye~r`M_F=5o zFf6?9tZho++C-9_D9*v#t-{P9H$hX8wL^JMDK}<%aWepuzw#y#i_PhYZ!1S;P|P&SRVL8( zDwO}!-lR;Sk}ci|g^YJfgf!3MPF*603f3^7+a)|UOyEY`664Z(IVX~B&AoE#4r-Q{ zwW}hUbihXijjrEh`A)+1&d25&Dj<73i2yOF%ZlwQ_^y2EfltQ2_t>t%hr^goQLw$Xv$o9)bgBybD(=1C}p}A$D5R={NtK7r+%aO(%_FDU{igFtAC{GOWds#&fN3a?G z_YKrXUbap*P}4nd+7*@Gs#Y~m_6pM|!SvS@wXUh%noU74eYeZ|2xp?5|nE3lokV>ure}xbRavoY2yJ z#Qp083zFr3!ZA;to7!fIqi4j`P9$HM^%?F63lXuFZy858FF@a)m=dWg?%dhaO;g8> zQLs?qfE8M{$&vOz9JiILXRi#j__rEL&r6Bk+9WPH%v6k7H!7+5va&0~2s+|t;VTm$ z__v(J{_k(E$o^?s+|$`N#h(L1d1qdJ@aidPR&HrDTm)D~Ra7tM1`oaWNaM~#4}koa z5VM2uxs+K;s+NfW5J&b7-% zI=02*WZBn;<2~8p21Uvx_@qQcea>y$){N1^j*wLLt#YgXm(3J;cEQCFT-27c=ct)= zC&-iCCLOg59IH(G6tOV3?Z=|_qFsf|uTF(Zcv1VHRX#7~P+PISW) zr}ux5kI<+`0WH0$mXF-@355(FSDH?~C{`JQ7}zR}E9l|s<vve^T@STPjenGsh9)%NtQRD_yegrr`setFeu z==pt1b?|4#s63Efs1r03wsOi|s>KbErB3SG_Nlva`T+Gn2;qgOhV<#Bm zQc4RiTK{?HjQ$7N)p@yhE%;$vHdV@8*(U&`lJF;aY+3~+idmnd-1-=7{&(WQnA<30 zJ)=!M6g|;$5ECVhR(m8&kUeoqr)~R!%)B5I#**~ncgaxy$h?m1_|%gxgTEaSbb2F~ z_{{KV?e605MvWNh3VyahFAlR>2|%#j$TVVadO;GufjCls4x4MImfgX~W5^zgN8QoW zW3KuLTY`FJpKBL`JV_fYD0l&(K@ri}O6`iK%9kgznN-x&oTQl%47p-7N%3Yf_DfXO z_=9ieXu|Gh=c%6Z0@{cnuqL5S$yWNTmef(mis0QM-W!|J_@}q1gow!N1X0C|UYZ-# zW~PtjsWEWrCSul@{R5I5z6kYf!i9Lps>nA!-z7J3rmDmFGfo?)rQnT&g#Yda?*EZc zK@~HG`lqwyD%e6GmJKOhTED%A>lpENKTDzfe3rP;;aJQY?4en;R4O#bJO;Y9LPkbw z59gQP;5}e3AZA^yFsva4yb;U2PC4c&_JK}Qs&>_C2C_=sp;=yK;Un4G%)Wwnagwv4 zs~X!g+33P+gpxgu42rJ zW%m*gvHGQ61C;WceuFFX2evCBl&gIQJWz+_1`c)54Ff$xh%AK4s-z`VXnjRHE<|PM zfqYyL$GYNR=E9t{rry5eK4c-o9$kv%BSAirWJ1pRmT0DXq_03Dp`71?UTxiO2orD| zccbzwGRy0Yy=A#&c4Vm`WkrHq(Af7BDY_%#;Z0ppF%rt`$cC&IJyz`j-eD#1yHy~0 z>6dx)99}_pc=3lOT_}r}VMgsq5q=P!wM|1;^5kKA*H+83gZdo}h8$>J1zlau?<_6K zuhy1kR%`kCkULK)tg^fwD&&?u@AT^38Ld?yg8X-FY?~Kt8hDxF1Nj9Ho)9W=<7YFV zOTKa`!mGZiH_^xkLsOdzoz6(tOLZ7maxN_FHVu6E=&Bp)#|NQ3S%gxXAv#9Wmee?75`q|X|^6}T%+w5pk`OU}kn~hL( zu9E-&0U$|4K~z|U?U&JVgdhw>aUoDCTmS!WmjJEY@pgBVeW~?6WG0i$kqE(PZi6zn zuW3LZ8Sv=`G!?*IvXWOT_nPzWBJtBLW6QN`QD-wPhu=e_*}Pk}DwCEZq90StHUrL29xs4wgXV z`eXU>9sFg$@Jk%f?V-i zI;S;L=$wGb03h=L+=(x@v91a}uH+zHfTw^XIEljFl@)|CMU002ovPDHLk FV1jaHzJ&k) literal 0 HcmV?d00001 diff --git a/images/highcharts/marker.png b/images/highcharts/marker.png new file mode 100644 index 0000000000000000000000000000000000000000..82703df2ecedcbedd0f13bdb7f892d8abd24b202 GIT binary patch literal 330 zcmV-Q0k!^#P)~2J?Cu5@`!k0%nbJ@%Y;4$jeWw18jGTM zJc?qe8F4Hk?C?sB!^c^ahbA;p9%m?ynv`v!%LI$|lE5$3OHeFdTnY&ejnh>-@PUt0 z6vLhHjiOQB2BI9rF%*7Kd}!K0XiyyGe}KnQ2o;K7`(hwGp!hgz1965j<3{K*#;uKc zDs<>m&!aAiN>MCRp6Q4PhYS~0H?mB5W3O4`h$l)67K_DUD0yUmbxMn~>!8^B{ cu{n2s0ar;p;jX)&j{pDw07*qoM6N<$g7}z-k^lez literal 0 HcmV?d00001 diff --git a/images/logo-global-integrity.png b/images/logo-global-integrity.png new file mode 100644 index 0000000000000000000000000000000000000000..adadf6c8c7dcf9b6fc13ba9dca5a99877acdb60e GIT binary patch literal 2645 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 literal 0 HcmV?d00001 diff --git a/images/touch-icon.png b/images/touch-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..9e933eb369b9eae2cb330c4c9bca663fa024185c GIT binary patch literal 179 zcmeAS@N?(olHy`uVBq!ia0vp^6F``W8A#63;L-+CJOMr-uExg3t5&UgV$P73meyfr z)dv($@^o+Za4u{an^LB{Ts5MyWn{ literal 0 HcmV?d00001 diff --git a/img/bubbles.png b/img/bubbles.png new file mode 100644 index 0000000000000000000000000000000000000000..4ecbf0b0e1cd1a946a89ddf038bc8673a228aa09 GIT binary patch literal 1038 zcmeAS@N?(olHy`uVBq!ia0vp^6+o=b!3-o@7VOyxq|OKUgt-3y|9{e?NfRbac>etP zj~_o~&6>4k%a)@@k6ylfdFITSuV24jv0?>KEiQ28%o(86o;`b(FJBI1%%49WNM5~q z_3PKKxU?XP|M~L=nY(b|LS!yh_WJef(Zs)e`2rCE`lVpOfy+RSOG%JlFhgnSu~(Jd zvsP7|Zj|F>W6@+}=3t%AKB0-JR&do5ZGK^H9VHb-H4!1nAIe&yJhcL146=L@^1NIM z(rp^zQtG<*WK@^FXEk78U|Qwr;uum9_jdZtX^RX5+EzN;C=U@~75!e8`S$3`z3CtS z&d>BSXA~C9eSYIi?|(#vz ze2Qm>+~7MW_i@Lex04rsXg|1zqrv5r*~)z-c8uprzg()%N)2Uy2{5 zR;<-u)7m$G{iU^u%FHFqI~Dd^R!$6kBifL?;8KDk6N6^4|D3CnLbrL$bDquA6R>I0 zelyFkv+hJ9e+w)z56IZ=^df@Ql z(6!y{=RSTuqtL8ld;H9^XAb8IH$*$fRrS49S|@y(-Fo_^=xfu01umbvy6S#vL+S*+ z=3fUA8H0OE^p>7TVZNfgS4wePc>3c7oFVJyZRT6Nc<-*|bM59X^1L2nbM#Efq2l&; za<^YDd6R!Fw)Ow?N*;#YpC#BbgR+Ac*qyB3`0Z@+ZTs82OZX1|UiW(KznX_^kG^gA z@V0!Nz_n|7-vtjD<;|?fxMT3|TtUROy}S178m?dd!>O}gXyQFXo#Z9A7kpIxZ_Rk1 j{GWAfU9kQG?jQQ^1E0PA`CqIXlqEb}{an^LB{Ts5`W>}= literal 0 HcmV?d00001 diff --git a/img/burguer.png b/img/burguer.png new file mode 100644 index 0000000000000000000000000000000000000000..78eae4a0a4054788af2ac75663d98d73b431afba GIT binary patch literal 143 zcmeAS@N?(olHy`uVBq!ia0vp^LO{&T!3HFY#P6~IsW49$$B>F!Nn6(3Ep2RUbZl)j zDroO)^lE5rY&FVdQ&MBb@0G(Yk6951J literal 0 HcmV?d00001 diff --git a/img/burguer@2x.png b/img/burguer@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..ff3761f12d73ca8f1d45fca0731bac021b8d08c2 GIT binary patch literal 117 zcmeAS@N?(olHy`uVBq!ia0vp^DnKm8#0(^_-nq6GNO1=Egt!7}%i3K)-8Sel9 literal 0 HcmV?d00001 diff --git a/img/dark.png b/img/dark.png new file mode 100644 index 0000000000000000000000000000000000000000..00f3553ac98d8e3e1a0cf7b35c02512fd7e3bda5 GIT binary patch literal 718 zcmeAS@N?(olHy`uVBq!ia0y~yU|I%b8*wlL$(?6kUIbFH0X`wFK>Gjx|3H%J0BCIU zdlPA(xw0iee!&b3%q(o2+`RlEViJ;4vhqsGs%j>VS(6v8J9+)n_9F}IfKFugba4!+ zxb^nV>7qvlBCdfq70m<;T4d!KZ~Xs1(>CK$qu-2Fh1j>jPdlG>t_q9w-t@$T;kjYP zxdRh|yzV9`B(%9s54z0IlgK+gh8IEB0v68E z%$L9HxOB(vcU;ca%u8JtB0~>;DO}sRpd@4VkN4eDGwkGcx~^E7d-;fbZTP`24{dgo zEWKV?@Mmj}*NlG?ZqM7#{N~xp6DFcA%a&?S%~bU{9j0~JYKGXlkY%9;y0I&LvJ;~A z1kDUPu%%|HQSW(^hM<{kX;ut^Q%;$fTt52M+wY}Us?@BPIpWSMeVmPbKgV(am7O&? z`%M3Hks@Zkvv|wXU?|+uQ&Uo&Jw>YdEn#Y&+m>4Ca49^Ogmb_n_sT3 ze?EW1G@uPhx0t8@ZsWdiI%Juo;oU;n*9Vg+de=ee(bLt>Wt~$(697?TDiHtx literal 0 HcmV?d00001 diff --git a/img/facebook.png b/img/facebook.png new file mode 100644 index 0000000000000000000000000000000000000000..db8049febabba69bd1f5240917974e05525b371e GIT binary patch literal 261 zcmV+g0s8)lP)`!tjM8S!ya%Qno9?tgcEjXV8JH z^kpop$trh-G~G)|*;2SsYem79S|{A8Js7d*Q|&Np$SQB9tg2I7lXl53n^)00000 LNkvXXu0mjfD{pX- literal 0 HcmV?d00001 diff --git a/img/fullscreen.png b/img/fullscreen.png new file mode 100644 index 0000000000000000000000000000000000000000..ccafbf8d673ea61e8b40219b311b0f3e33562bb2 GIT binary patch literal 171 zcmeAS@N?(olHy`uVBq!ia0vp^T0kts#0(?@T9$ACDb4_&5LY1m|NsA)GiR;{k=hI7 zFqH)P1v4;|O+IS@eb;(OxJB)5y-GkDKQuIS>y|A*#>Ad? zAVrKNL4Lsu4$p3+0XY($E{-7_(a8e5ya_A*|7UG1U!167xgd(czfIz1d(kOppc)2G LS3j3^P6=j>+cs3# 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 W^nQ7k<2JxpVDNPHb6Mw<&;$TMhITXn literal 0 HcmV?d00001 diff --git a/img/light.png b/img/light.png new file mode 100644 index 0000000000000000000000000000000000000000..b2e2ada79bd332a6f77ea4f3e7e24862c772ba4c GIT binary patch literal 718 zcmeAS@N?(olHy`uVBq!ia0y~yU|I%b8*wlL$(?6kUIbFH0X`wFK>Gjx|3H!q;OFO8 zS66r7z=3=B?mc<(L0)&06cXB8rw3hT@JVEz zAa+18i=Y31($X^58*6T9%_w7NpYZid4a18dYXJ-AXy(gbc3iq+_d70UYv!e{3z4A* zzZ91J6%^S&Aog?zBc^emxnexN|s))Ecmmv$7{yF3Ag9%XMXc+ zh1T^D^+UN%N%j%l|IhKzMo?`fXdFAoPDPMIdalUpW=jD5;MhOe6?4) z7)@O{@#TA?x6`E?&Tg8%(#JUUR_=bYz4_KNPnkF`^MC#OvgB)ZAlrP|`Sl0>mCRh0 zxogh11Ftvxq|Oq*EP3GLHa5`j} zq~YB|AOBBN&Pmm}Tr=a_hX41rw8t$oI@|VA$nXAazYSAX`fN_z_0!x)_W1tmr6s#2 zg809#9xjwQ?!Qb}0ciAzl3jsX!81=?IdNtBKA*Wxk~4QHq^7+3w9n^nL{`eHYr?^X z!RDV%Udg@awru~QE6!?0x{WK{zokSm1@k+c-oml$pP$n*SA(z5ZH&%Ne<{E9!0uD& S;f36w^yum8=d#Wzp$Py}?m-~{ literal 0 HcmV?d00001 diff --git a/img/loader.gif b/img/loader.gif new file mode 100644 index 0000000000000000000000000000000000000000..d7d45521b4db75ac0fd34e7e8baba4d10674747a GIT binary patch literal 664 zcmZ?wbhEHb6krfw_{6~Q|Ns9(hYmS8IWaIWBqb#^H8o9|GzrL7{Lk&@8WQa67~pE8 zXTZz|68b0QT$GwvlA5AWo>`KikeHQNk&~a8qL-PMmd~L0lZAnc;Xi{8P$kf40R{$U zV~$;S{u!L|%;t7t(K;qDhuv>R8Y|02!-Km7A`foU3pmo4ctO`&#PaSkc0&;^Hm~gG z9za_#%`pL)qsJkrAe_vxd&9FXmqJFz5Cua~g#aIyXt5PJ5?f2}uMHGob5OW0@ug>+&c6?>0ypP`#?E4VH!HCqG@xT{;GDZA(_9?g zS`-8V5@we%ayBXwg3PC literal 0 HcmV?d00001 diff --git a/img/loader@2x.gif b/img/loader@2x.gif new file mode 100644 index 0000000000000000000000000000000000000000..328aa5bc6b28d2088719a408ea8ee0def78dbc76 GIT binary patch literal 2512 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 literal 0 HcmV?d00001 diff --git a/img/other@2x.png b/img/other@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..6dd61e4f89e39133d38b80b9a54d88c2ee7bebf1 GIT binary patch literal 2981 zcmV;W3tIGvP)sn>KXfDqf9ZTa;B|J1z^JnM2|sa13AjH8bAoM!e@_i5Js6+0|;SO`0P=u zAS&>Us0MUaD+-tq0@1%9js_UQwQ!XKaWudXW;JRBMD}GSbpTWgL5&iKJ_C^r;CKii z%qq?Xa6AMMW)(LBq6$Lvdq;b%bx@yLZwa`aODo%NnIO>?uR5fdPGa)Z5qK=cQU!a;ob;JZ@t!jP1C zup;Rh{tl19WBm?dVau3w>DHpOu>2q0_qjX&xqJ*ByAB}6RqKcm0|*n`vE5#*BNB)n zgNRW5;k|Lms^K{zffNbg2Sbl6zYm@x5=fJkHQlPJnK%!ml1p~026{3KAg)IhjBi2w zb@}_!>f?V)b`8(PYxo7k-&~%SKKs`fw%-TO#cPNL@#hT0GmY=S#g;nweJ+R*4baRe zNg(>C#LdybfA#h2k|@J#tv86T|LIdt$Gq( ztm%c<8ZUqoQ(#OQ!RR%J>T88jYkdBA5S@T=M@ zAjg9$*_x=}BB8+Od&b+5R34=h^T}x}`icUe? zoEU=5HAArJ&5z-mzv}{#rU7G|K=d()R>D#zAleO2MTVuH%zge8VE7qYiB71A>xX(~ zCp^t*b@|pHe6RX8JkMbKVf_e*HWiF90@24Hnpv_y;PPE(Wi`K7wX>8Va>)WiQVccq zJfGI*JrhepmooUl{#^!P!5ahci`HSN|L||%hAB%OF*ia}FZ!r%7!c34-Vy?$8N++I z4Px7kIo;Ov3PAr{V7OjBcJcoJwtF zD(4huidfAT2}B=*h#Pyo0@2PUVygokH}>W;oGC5I1JR#NY?-pNiI^XJ#qW$j|M)a~ z@sA8F-k;S15TRRPl5~``0wjUx^L51W$-lb}BHqKRbwu3QYh*Y9qqlB|!pfR_hWBu~ zj=1Oi9k?+(1)nXZVJ`D24`768!~j5E2xB6nRNU`AmndP$>M zQW3i__`!#>r8r5mJUA(>1HpCD>$YYUCQ$*z32Ky^8Nvex4#45VhlPW9^ytyh2%NS{v@&sHW`f3PyG191 z9>d3c6E{{2ujRDeVjd9ru+;QyD3?eZ`IR#pZ( zcI<#%yLJf&v8bphGy)O5OYL-T)AEEOdY(G%5rg1}@Qip35j{`Mf@o!Zkej#>2IB1O ztn39JK70s6LqqZe#Ia+?;NZc7@<7|Wcdu{|_wCyk8VPHsh*dClI=SIFb}DGxZl{P< zFm_sJ;5l|GXoBt$XJ%$(Px$E3Bk1btg5$@J!uVE69ba%j4L|9;^h;x)q}5Z&1u z>qE`VsNykrtmw|)BAff7N5lG1qZw6xW)zPV-T6BxIbs$>^oTt@J#g~mNjW4%Z3v)a($^ArEOsaF~YPO0toRPB5d%Y zRzm z!LPK$LjdAhi+DDG;~@a?sh0Q8CkEk#nnC!sk}HZd)uv%osTBy8mzU*98r*GRx5ktm zD`jP;wMO7U+N zv!&a&Z-;n1Zn>hyuONEi&2#?426U9EJwOoRvqtq^jt%H2Q+t3Q#Anrg9|RHgY}IY} z`k4V&TJ9@L9i>)7)A8|fxOC}KPHspb+5}MrWz5gA`l4)r$NVfa@1O?JPYs5#H%)12 zX-;lPAPNAHm_Q^Ehz`YjLIROM zBoNn0yeHfUAo9;DLNve$MAsJ6-5k8@wSGt-k_bcskwhT+7ep^BY$!)01s+7Vb3_7> zv@Rg3n@QoGKsS}IITV3NAQFfKVxWt^X@C=m1R{Y*A`l5g0+B!@5D7#Qfk+?{hy)^m b=p+3XOAC8=i;yy)00000NkvXXu0mjf3m9$4 literal 0 HcmV?d00001 diff --git a/img/shadow.png b/img/shadow.png new file mode 100644 index 0000000000000000000000000000000000000000..2e2e723ae516234da2def57d680a2320f820d68b GIT binary patch literal 228 zcmeAS@N?(olHy`uVBq!ia0vp^w}9B3gAGV#9S>;-QmZ{(978H@y}5CclfjUO<>1Gu z^{4n8@|zEYD(aYQ{^U`_WV3a$&wR!fHYes5wp^!ZJLU)z0VxHOg2j!lKoKYAI~fTV z9Woj&9Oz{e;}wwN0OBtkXOlT_D09g8P?;g;d|*-I1%~~75Umaw4!pQ^ELhFW!0`V+ aGlTkd#_(EZw|78iGkCiCxvX3wNUsDcT;b{B7@~2$_2TJi zO#wVE7nyEtKanfo$@u(#{bu%z(+>Kkr=zwSdn_rh+w~|pY-;S9Ht!1VJ85CBleym{ z)ivLGH;0|GN&Uw6Z>pOf7#zxtbBMg1S2ve2l<5|`!b^)Ae(vc9GMV0~GfeHx{r>cW zY>4iG2w#R*)9T*7SD04EQARxtZy0ZB66B^pz)?I#+-B ifArlNU4d}Vqw+5@1*LrYEI5E}X7F_Nb6Mw<&;$Uqrl-jO literal 0 HcmV?d00001 diff --git a/img/share@2x.png b/img/share@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b036c4b8bb1ad5954430f7c71f327ebaa3b67e GIT binary patch literal 313 zcmeAS@N?(olHy`uVBq!ia0vp^5U~DpC{kan53_(@7E|DH2dhDDb_pK#WX)P zJn{DqivAjTeR-9~_f_|!w|@OpaF-_`@Y8EMhmTT=57}jUN6h&a`~R%G&{hF!+eaoD QKnF8;y85}Sb4q9e0KWZ(@c;k- literal 0 HcmV?d00001 diff --git a/img/slider.png b/img/slider.png new file mode 100644 index 0000000000000000000000000000000000000000..8d9109a8ebf4fd107ca2aef1fec488367d4b32ed GIT binary patch literal 379 zcmeAS@N?(olHy`uVBq!ia0vp^?LeHu!3-p4zq~90qyhtcLR^9L|NsBX%gblZoJl#k zeAzOysRlEFhDwwK`2{mD2nZ-BI5-3ZBqTI6ELgB%!+`@29(?%lpxR&}P|ZP47srr{ zdvC9vUalSW~ zpKMd|#CL4LOnZG_^2Y3S(0|Bygio(=QAE?<1?2^sF9f-Ux7YlceEs{XRYt|xsZWn> z@mh6iVLTf{GYGo2<_O33Global Integrity

Future Production Costs

Misc Production Enabler

\ No newline at end of file diff --git a/scripts/main.js b/scripts/main.js new file mode 100644 index 0000000..6aad8a8 --- /dev/null +++ b/scripts/main.js @@ -0,0 +1 @@ +(function(){var e=this,t=e._,n={},r=Array.prototype,i=Object.prototype,s=Function.prototype,o=r.push,u=r.slice,a=r.concat,f=i.toString,l=i.hasOwnProperty,c=r.forEach,h=r.map,p=r.reduce,d=r.reduceRight,v=r.filter,m=r.every,g=r.some,y=r.indexOf,b=r.lastIndexOf,w=Array.isArray,E=Object.keys,S=s.bind,x=function(e){if(e instanceof x)return e;if(!(this instanceof x))return new x(e);this._wrapped=e};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=x),exports._=x):e._=x,x.VERSION="1.6.0";var T=x.each=x.forEach=function(e,t,r){if(e==null)return e;if(c&&e.forEach===c)e.forEach(t,r);else if(e.length===+e.length){for(var i=0,s=e.length;i2;e==null&&(e=[]);if(p&&e.reduce===p)return r&&(t=x.bind(t,r)),i?e.reduce(t,n):e.reduce(t);T(e,function(e,s,o){i?n=t.call(r,n,e,s,o):(n=e,i=!0)});if(!i)throw new TypeError(N);return n},x.reduceRight=x.foldr=function(e,t,n,r){var i=arguments.length>2;e==null&&(e=[]);if(d&&e.reduceRight===d)return r&&(t=x.bind(t,r)),i?e.reduceRight(t,n):e.reduceRight(t);var s=e.length;if(s!==+s){var o=x.keys(e);s=o.length}T(e,function(u,a,f){a=o?o[--s]:--s,i?n=t.call(r,n,e[a],a,f):(n=e[a],i=!0)});if(!i)throw new TypeError(N);return n},x.find=x.detect=function(e,t,n){var r;return C(e,function(e,i,s){if(t.call(n,e,i,s))return r=e,!0}),r},x.filter=x.select=function(e,t,n){var r=[];return e==null?r:v&&e.filter===v?e.filter(t,n):(T(e,function(e,i,s){t.call(n,e,i,s)&&r.push(e)}),r)},x.reject=function(e,t,n){return x.filter(e,function(e,r,i){return!t.call(n,e,r,i)},n)},x.every=x.all=function(e,t,r){t||(t=x.identity);var i=!0;return e==null?i:m&&e.every===m?e.every(t,r):(T(e,function(e,s,o){if(!(i=i&&t.call(r,e,s,o)))return n}),!!i)};var C=x.some=x.any=function(e,t,r){t||(t=x.identity);var i=!1;return e==null?i:g&&e.some===g?e.some(t,r):(T(e,function(e,s,o){if(i||(i=t.call(r,e,s,o)))return n}),!!i)};x.contains=x.include=function(e,t){return e==null?!1:y&&e.indexOf===y?e.indexOf(t)!=-1:C(e,function(e){return e===t})},x.invoke=function(e,t){var n=u.call(arguments,2),r=x.isFunction(t);return x.map(e,function(e){return(r?t:e[t]).apply(e,n)})},x.pluck=function(e,t){return x.map(e,x.property(t))},x.where=function(e,t){return x.filter(e,x.matches(t))},x.findWhere=function(e,t){return x.find(e,x.matches(t))},x.max=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);var r=-Infinity,i=-Infinity;return T(e,function(e,s,o){var u=t?t.call(n,e,s,o):e;u>i&&(r=e,i=u)}),r},x.min=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.min.apply(Math,e);var r=Infinity,i=Infinity;return T(e,function(e,s,o){var u=t?t.call(n,e,s,o):e;ur||n===void 0)return 1;if(n>>1;n.call(r,e[u])=0;n--)t=[e[n].apply(this,t)];return t[0]}},x.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},x.keys=function(e){if(!x.isObject(e))return[];if(E)return E(e);var t=[];for(var n in e)x.has(e,n)&&t.push(n);return t},x.values=function(e){var t=x.keys(e),n=t.length,r=new Array(n);for(var i=0;i":">",'"':""","'":"'"}};_.unescape=x.invert(_.escape);var D={escape:new RegExp("["+x.keys(_.escape).join("")+"]","g"),unescape:new RegExp("("+x.keys(_.unescape).join("|")+")","g")};x.each(["escape","unescape"],function(e){x[e]=function(t){return t==null?"":(""+t).replace(D[e],function(t){return _[e][t]})}}),x.result=function(e,t){if(e==null)return void 0;var n=e[t];return x.isFunction(n)?n.call(e):n},x.mixin=function(e){T(x.functions(e),function(t){var n=x[t]=e[t];x.prototype[t]=function(){var e=[this._wrapped];return o.apply(e,arguments),F.call(this,n.apply(x,e))}})};var P=0;x.uniqueId=function(e){var t=++P+"";return e?e+t:t},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var H=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},j=/\\|'|\r|\n|\t|\u2028|\u2029/g;x.template=function(e,t,n){var r;n=x.defaults({},n,x.templateSettings);var i=new RegExp([(n.escape||H).source,(n.interpolate||H).source,(n.evaluate||H).source].join("|")+"|$","g"),s=0,o="__p+='";e.replace(i,function(t,n,r,i,u){return o+=e.slice(s,u).replace(j,function(e){return"\\"+B[e]}),n&&(o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),r&&(o+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),i&&(o+="';\n"+i+"\n__p+='"),s=u+t.length,t}),o+="';\n",n.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{r=new Function(n.variable||"obj","_",o)}catch(u){throw u.source=o,u}if(t)return r(t,x);var a=function(e){return r.call(this,e,x)};return a.source="function("+(n.variable||"obj")+"){\n"+o+"}",a},x.chain=function(e){return x(e).chain()};var F=function(e){return this._chain?x(e).chain():e};x.mixin(x),T(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=r[e];x.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),(e=="shift"||e=="splice")&&n.length===0&&delete n[0],F.call(this,n)}}),T(["concat","join","slice"],function(e){var t=r[e];x.prototype[e]=function(){return F.call(this,t.apply(this._wrapped,arguments))}}),x.extend(x.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}}),typeof define=="function"&&define.amd&&define("underscore",[],function(){return x})}).call(this),function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write(""),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t
a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="
t
",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="
",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;ti.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="
",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="

",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t0)for(i=r;i=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*\s*$/g,Nt={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X
","
"]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1>");try{for(;r1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]===""&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("
").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})}(window),function(e,t){if(typeof define=="function"&&define.amd)define("backbone",["underscore","jquery","exports"],function(n,r,i){e.Backbone=t(e,i,n,r)});else if(typeof exports!="undefined"){var n=require("underscore");t(e,exports,n)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(e,t,n,r){var i=e.Backbone,s=[],o=s.push,u=s.slice,a=s.splice;t.VERSION="1.1.2",t.$=r,t.noConflict=function(){return e.Backbone=i,this},t.emulateHTTP=!1,t.emulateJSON=!1;var f=t.Events={on:function(e,t,n){if(!c(this,"on",e,[t,n])||!t)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:t,context:n,ctx:n||this}),this},once:function(e,t,r){if(!c(this,"once",e,[t,r])||!t)return this;var i=this,s=n.once(function(){i.off(e,s),t.apply(this,arguments)});return s._callback=t,this.on(e,s,r)},off:function(e,t,r){var i,s,o,u,a,f,l,h;if(!this._events||!c(this,"off",e,[t,r]))return this;if(!e&&!t&&!r)return this._events=void 0,this;u=e?[e]:n.keys(this._events);for(a=0,f=u.length;a").attr(e);this.setElement(r,!1)}else this.setElement(n.result(this,"el"),!1)}}),t.sync=function(e,r,i){var s=N[e];n.defaults(i||(i={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var o={type:s,dataType:"json"};i.url||(o.url=n.result(r,"url")||F()),i.data==null&&r&&(e==="create"||e==="update"||e==="patch")&&(o.contentType="application/json",o.data=JSON.stringify(i.attrs||r.toJSON(i))),i.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{});if(i.emulateHTTP&&(s==="PUT"||s==="DELETE"||s==="PATCH")){o.type="POST",i.emulateJSON&&(o.data._method=s);var u=i.beforeSend;i.beforeSend=function(e){e.setRequestHeader("X-HTTP-Method-Override",s);if(u)return u.apply(this,arguments)}}o.type!=="GET"&&!i.emulateJSON&&(o.processData=!1),o.type==="PATCH"&&T&&(o.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var a=i.xhr=t.ajax(n.extend(o,i));return r.trigger("request",r,a,i),a};var T=typeof window!="undefined"&&!!window.ActiveXObject&&(!window.XMLHttpRequest||!(new XMLHttpRequest).dispatchEvent),N={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var C=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},k=/\((.*?)\)/g,L=/(\(\?)?:\w+/g,A=/\*\w+/g,O=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(C.prototype,f,{initialize:function(){},route:function(e,r,i){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(i=r,r=""),i||(i=this[r]);var s=this;return t.history.route(e,function(n){var o=s._extractParameters(e,n);s.execute(i,o),s.trigger.apply(s,["route:"+r].concat(o)),s.trigger("route",r,o),t.history.trigger("route",s,r,o)}),this},execute:function(e,t){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(!this.routes)return;this.routes=n.result(this,"routes");var e,t=n.keys(this.routes);while((e=t.pop())!=null)this.route(e,this.routes[e])},_routeToRegExp:function(e){return e=e.replace(O,"\\$&").replace(k,"(?:$1)?").replace(L,function(e,t){return t?e:"([^/?]+)"}).replace(A,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var r=e.exec(t).slice(1);return n.map(r,function(e,t){return t===r.length-1?e||null:e?decodeURIComponent(e):null})}});var M=t.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),typeof window!="undefined"&&(this.location=window.location,this.history=window.history)},_=/^[#\/]|\s+$/g,D=/^\/+|\/+$/g,P=/msie [\w.]+/,H=/\/$/,B=/#.*$/;M.started=!1,n.extend(M.prototype,f,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getFragment:function(e,t){if(e==null)if(this._hasPushState||!this._wantsHashChange||t){e=decodeURI(this.location.pathname+this.location.search);var n=this.root.replace(H,"");e.indexOf(n)||(e=e.slice(n.length))}else e=this.getHash();return e.replace(_,"")},start:function(e){if(M.started)throw new Error("Backbone.history has already been started");M.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment(),i=document.documentMode,s=P.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(D,"/");if(s&&this._wantsHashChange){var o=t.$('",s=new cdb.ui.common.ShareDialog({title:e.map.get("title"),description:e.map.get("description"),model:t.map,code:i,url:e.url,share_url:e.share_url,template:n,target:$(".cartodb-share a"),size:$(document).width()>400?"":"small",width:$(document).width()>400?430:216});return s.render()}),cdb.vis.Overlay.register("search",function(e,t){var n=cdb.core.Template.compile(e.template||'
',e.templateType||"mustache"),r=new cdb.geo.ui.Search({template:n,model:t.map});return r.render()}),cdb.vis.Overlay.register("tooltip",function(e,t){var n;if(!e.layer){var r=t.getLayers();r.length>1&&(n=r[1]),e.layer=n}if(!e.layer)throw new Error("layer is null");e.layer.setInteraction(!0);var i=new cdb.geo.ui.Tooltip(e);return i}),cdb.vis.Overlay.register("infobox",function(e,t){var n,r=t.getLayers();e.layer||(r.length>1&&(n=r[1]),e.layer=n);if(!e.layer)throw new Error("layer is null");e.layer.setInteraction(!0);var i=new cdb.geo.ui.InfoBox(e);return i})}(),function(){function e(e){for(var t in r)if(e.indexOf(t)!==-1)return e.replace(t,r[t]);return e}function t(e,t){t.infowindow&&t.infowindow.fields&&(t.interactivity?t.interactivity.indexOf("cartodb_id")===-1&&(t.interactivity=t.interactivity+",cartodb_id"):t.interactivity="cartodb_id"),e.https&&(t.tiler_protocol="https",t.tiler_port=443,t.sql_api_protocol="https",t.sql_api_port=443),t.cartodb_logo=e.cartodb_logo==undefined?t.cartodb_logo:e.cartodb_logo}var n=cdb.vis.Layers,r={"https://dnv9my2eseobd.cloudfront.net/":"http://a.tiles.mapbox.com/","https://maps.nlp.nokia.com/":"http://maps.nlp.nokia.com/","https://tile.stamen.com/":"http://tile.stamen.com/","https://{s}.maps.nlp.nokia.com/":"http://{s}.maps.nlp.nokia.com/"};n.register("tilejson",function(t,n){var r=n.tiles[0];return r=t.https?r:e(r),new cdb.geo.TileLayer({urlTemplate:r})}),n.register("tiled",function(t,n){var r=n.urlTemplate;return r=t.https?r:e(r),n.urlTemplate=r,new cdb.geo.TileLayer(n)}),n.register("wms",function(e,t){return new cdb.geo.WMSLayer(t)}),n.register("gmapsbase",function(e,t){return new cdb.geo.GMapsBaseLayer(t)}),n.register("plain",function(e,t){return new cdb.geo.PlainLayer(t)}),n.register("background",function(e,t){return new cdb.geo.PlainLayer(t)});var i=function(e,n){return t(e,n),n.sublayers?(n.type="layergroup",new cdb.geo.CartoDBGroupLayer(n)):new cdb.geo.CartoDBLayer(n)};n.register("cartodb",i),n.register("carto",i),n.register("layergroup",function(e,n){return t(e,n),new cdb.geo.CartoDBGroupLayer(n)}),n.register("namedmap",function(e,n){return t(e,n),new cdb.geo.CartoDBNamedMapLayer(n)}),n.register("torque",function(e,t){return e.https&&t.sql_api_domain&&t.sql_api_domain.indexOf("cartodb.com")!==-1&&(t.sql_api_protocol="https",t.sql_api_port=443,t.tiler_protocol="https",t.tiler_port=443),t.cartodb_logo=e.cartodb_logo==undefined?t.cartodb_logo:e.cartodb_logo,new cdb.geo.TorqueLayer(t)})}(),function(){function e(){}function t(e){var t=e.host||"cartodb.com",n=e.protocol||"https";return n+"://"+e.user+"."+t+"/api/v1/viz/"+e.table+"/viz.json"}function n(e,n){var r=null;if(e.layers!==undefined||(e.kind||e.type)!==undefined){_.defer(function(){n(e)});return}e.table!==undefined&&e.user!==undefined?r=t(e):e.indexOf&&e.indexOf("http")===0&&(r=e),r?cdb.vis.Loader.get(r,n):_.defer(function(){n(null)})}_.extend(e.prototype,Backbone.Events,{done:function(e){return this.bind("done",e)},error:function(e){return this.bind("error",e)}}),cdb._Promise=e;var r={};cartodb.createLayer=function(t,r,i,s){var o=new e,u,a;i=i||{};if(t===undefined)throw new TypeError("map should be provided");if(r===undefined)throw new TypeError("layer should be provided");var f=arguments,l=f[f.length-1];return _.isFunction(l)&&(s=l),o.addTo=function(e,t){return o.on("done",function(){a.addLayerToMap(u,e,t)}),o},n(r,function(e){function n(){u=l.createLayer(r,{no_base_layer:!0});if(!u)return o.trigger("error","layer not supported"),o;i.infowindow&&l.addInfowindow(u),i.legends&&l.addLegends([r]),i.time_slider&&u.model.get("type")==="torque"&&l.addTimeSlider(u),s&&s(u),o.trigger("done",u)}var r;if(!e){o.trigger("error");return}if(e.layers){e.layers.length<2&&o.trigger("error","visualization file does not contain layer info");var f=i.layerIndex===undefined?1:i.layerIndex;if(e.layers.length<=f){o.trigger("error","layerIndex out of bounds");return}r=e.layers[f]}else r=e;if(!r){o.trigger("error");return}i&&!_.isFunction(i)&&(r.options=r.options||{},_.extend(r.options,i)),i=_.defaults(i,{infowindow:!0,https:!1,legends:!0,time_slider:!0});if(typeof t.overlayMapTypes!="undefined")a=cdb.geo.GoogleMapsMapView;else{if(!(t instanceof L.Map||window.L&&t instanceof window.L.Map))return o.trigger("error","cartodb.js can't guess the map type"),o;a=cdb.geo.LeafletMapView}var l=t.viz;if(!l){var c=new a({map_object:t,map:new cdb.geo.Map});t.viz=l=new cdb.vis.Vis({mapView:c}),l.updated_at=e.updated_at,l.https=i.https}l.checkModules([r])?n():l.loadModules([r],function(){n()})}),o}}(),function(){function e(t){if(cartodb===this||window===this)return new e(t);if(!t.user)throw new Error("user should be provided");var n=new String(window.location.protocol);n=n.slice(0,n.length-1),n=="file"&&(n="https"),this.ajax=t.ajax||(typeof jQuery!="undefined"?jQuery.ajax:reqwest);if(!this.ajax)throw new Error("jQuery or reqwest should be loaded");this.options=_.defaults(t,{version:"v2",protocol:n,jsonp:typeof jQuery!="undefined"?!jQuery.support.cors:!1})}var t=this;t.cartodb=t.cartodb||{},e.prototype._host=function(){var e=this.options;if(e&&e.completeDomain)return e.completeDomain+"/api/"+e.version+"/sql";var t=e.host||"cartodb.com",n=e.protocol||"https";return n+"://"+e.user+"."+t+"/api/"+e.version+"/sql"},e.prototype.execute=function(e,t,n,r){var i=new cartodb._Promise;if(!e)throw new TypeError("sql should not be null");var s=arguments,o=s[s.length-1];_.isFunction(o)&&(r=o),n=_.defaults(n||{},this.options);var u={type:"get",dataType:"json",crossDomain:!0};n.jsonp&&(delete u.crossDomain,u.dataType="jsonp"),n.cache&&(u.cache=n.cache);var a="156543.03515625",f="ST_MakeEnvelope(-20037508.5,-20037508.5,20037508.5,20037508.5,3857)";e=e.replace("!bbox!",f).replace("!pixel_width!",a).replace("!pixel_height!",a);var l=Mustache.render(e,t),c="q="+encodeURIComponent(l),h=["format","dp","api_key"];n.extra_params&&(h=h.concat(n.extra_params));for(var p in h){var d=h[p],v=n[d];v&&(c+="&"+d+"="+v)}var m=n.type?n.type=="get":u.type=="get";u.url=this._host(),m?u.url+="?"+c:u.data=c;var g=n.success,y=n.error;return g&&delete n.success,y&&delete y.success,u.error=function(e){var t=e.responseText||e.response,n=t&&JSON.parse(t);i.trigger("error",n&&n.error,e),y&&y(e)},u.success=function(e,t,n){t==undefined&&(t=e.status,n=e,e=JSON.parse(e.response)),i.trigger("done",e,t,n),g&&g(e,t,n),r&&r(e)},delete n.jsonp,this.ajax(_.extend(u,n)),i},e.prototype.getBounds=function(e,t,n,r){var i=new cartodb._Promise,s=arguments,o=s[s.length-1];_.isFunction(o)&&(r=o);var u="SELECT ST_XMin(ST_Extent(the_geom)) as minx, ST_YMin(ST_Extent(the_geom)) as miny, ST_XMax(ST_Extent(the_geom)) as maxx, ST_YMax(ST_Extent(the_geom)) as maxy from ({{{ sql }}}) as subq";return e=Mustache.render(e,t),this.execute(u,{sql:e},n).done(function(e){if(e.rows&&e.rows.length>0&&e.rows[0].maxx!=null){var t=e.rows[0],n=-85.0511,s=85.0511,o=-179,u=179,a=function(e,t,n){return en?n:e},f=a(t.maxx,o,u),l=a(t.minx,o,u),c=a(t.maxy,n,s),h=a(t.miny,n,s),p=[[c,f],[h,l]];i.trigger("done",p),r&&r(p)}}).error(function(e){i.trigger("error",e)}),i},e.prototype.table=function(e){function t(){t.fetch.apply(t,arguments)}var n=e,r,i=[],s,o,u,a=this;return t.fetch=function(e){e=e||{};var n=arguments,r=n[n.length-1];_.isFunction(r)&&(callback=r,n.length===1&&(e={})),a.execute(t.sql(),e,callback)},t.sql=function(){var e="select";return i.length?e+=" "+i.join(",")+" ":e+=" * ",e+="from "+n,r&&(e+=" where "+r),s&&(e+=" limit "+s),o&&(e+=" order by "+o),u&&(e+=" "+u),e},t.filter=function(e){return r=e,t},t.order_by=function(e){return o=e,t},t.asc=function(){return u="asc",t},t.desc=function(){return u="desc",t},t.columns=function(e){return i=e,t},t.limit=function(e){return s=e,t},t},t.cartodb.SQL=e}(),function(){cartodb.createVis=function(e,t,n,r){if(!e)throw new TypeError("a DOM element should be provided");var i=arguments,s=i[i.length-1];_.isFunction(s)&&(r=s),e=typeof e=="string"?document.getElementById(e):e;var o=new cartodb.vis.Vis({el:e});return t&&(o.load(t,n),r&&o.done(r)),o}}(),cdb.$=$,cdb.L=L,cdb.Mustache=Mustache,cdb.Backbone=Backbone,cdb._=_}();for(var i in __prev)__prev[i]&&(window[i]=__prev[i])}(),function(e){function r(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function i(e,t){for(var n=[];t>0;n[--t]=e);return n.join("")}var t=function(){return t.cache.hasOwnProperty(arguments[0])||(t.cache[arguments[0]]=t.parse(arguments[0])),t.format.call(null,t.cache[arguments[0]],arguments)};t.format=function(e,n){var s=1,o=e.length,u="",a,f=[],l,c,h,p,d,v;for(l=0;l>>=0;break;case"x":a=a.toString(16);break;case"X":a=a.toString(16).toUpperCase()}a=/[def]/.test(h[8])&&h[3]&&a>=0?"+"+a:a,d=h[4]?h[4]=="0"?"0":h[4].charAt(1):" ",v=h[6]-String(a).length,p=h[6]?i(d,v):"",f.push(h[5]?a+p:p+a)}}return f.join("")},t.cache={},t.parse=function(e){var t=e,n=[],r=[],i=0;while(t){if((n=/^[^\x25]+/.exec(t))!==null)r.push(n[0]);else if((n=/^\x25{2}/.exec(t))!==null)r.push("%");else{if((n=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(t))===null)throw"[sprintf] huh?";if(n[2]){i|=1;var s=[],o=n[2],u=[];if((u=/^([a-z_][a-z_\d]*)/i.exec(o))===null)throw"[sprintf] huh?";s.push(u[1]);while((o=o.substring(u[0].length))!=="")if((u=/^\.([a-z_][a-z_\d]*)/i.exec(o))!==null)s.push(u[1]);else{if((u=/^\[(\d+)\]/.exec(o))===null)throw"[sprintf] huh?";s.push(u[1])}n[2]=s}else i|=2;if(i===3)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";r.push(n)}t=t.substring(n[0].length)}return r};var n=function(e,n,r){return r=n.slice(0),r.splice(0,0,e),t.apply(null,r)};e.sprintf=t,e.vsprintf=n}(typeof exports!="undefined"?exports:window),define("sprintf",function(e){return function(){var t,n;return t||e.sprintf}}(this)),"use strict",define("models/status-map",["backbone"],function(e){var t=e.Model.extend({});return t}),"use strict",define("instances/status-map",["backbone","models/status-map"],function(e,t){var n=new t({product:"all",year:"all",context:"production_count"});return n}),define("text",["module"],function(e){"use strict";var t,n,r,i,s,o=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],u=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,a=/]*>\s*([\s\S]+)\s*<\/body>/im,f=typeof location!="undefined"&&location.href,l=f&&location.protocol&&location.protocol.replace(/\:/,""),c=f&&location.hostname,h=f&&(location.port||undefined),p={},d=e.config&&e.config()||{};t={version:"2.0.10",strip:function(e){if(e){e=e.replace(u,"");var t=e.match(a);t&&(e=t[1])}else e="";return e},jsEscape:function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:d.createXhr||function(){var e,t,n;if(typeof XMLHttpRequest!="undefined")return new XMLHttpRequest;if(typeof ActiveXObject!="undefined")for(t=0;t<3;t+=1){n=o[t];try{e=new ActiveXObject(n)}catch(r){}if(e){o=[n];break}}return e},parseName:function(e){var t,n,r,i=!1,s=e.indexOf("."),o=e.indexOf("./")===0||e.indexOf("../")===0;return s!==-1&&(!o||s>1)?(t=e.substring(0,s),n=e.substring(s+1,e.length)):t=e,r=n||t,s=r.indexOf("!"),s!==-1&&(i=r.substring(s+1)==="strip",r=r.substring(0,s),n?n=r:t=r),{moduleName:t,ext:n,strip:i}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(e,n,r,i){var s,o,u,a=t.xdRegExp.exec(e);return a?(s=a[2],o=a[3],o=o.split(":"),u=o[1],o=o[0],(!s||s===n)&&(!o||o.toLowerCase()===r.toLowerCase())&&(!u&&!o||u===i)):!0},finishLoad:function(e,n,r,i){r=n?t.strip(r):r,d.isBuild&&(p[e]=r),i(r)},load:function(e,n,r,i){if(i.isBuild&&!i.inlineText){r();return}d.isBuild=i.isBuild;var s=t.parseName(e),o=s.moduleName+(s.ext?"."+s.ext:""),u=n.toUrl(o),a=d.useXhr||t.useXhr;if(u.indexOf("empty:")===0){r();return}!f||a(u,l,c,h)?t.get(u,function(n){t.finishLoad(e,s.strip,n,r)},function(e){r.error&&r.error(e)}):n([o],function(e){t.finishLoad(s.moduleName+"."+s.ext,s.strip,e,r)})},write:function(e,n,r,i){if(p.hasOwnProperty(n)){var s=t.jsEscape(p[n]);r.asModule(e+"!"+n,"define(function () { return '"+s+"';});\n")}},writeFile:function(e,n,r,i,s){var o=t.parseName(n),u=o.ext?"."+o.ext:"",a=o.moduleName+u,f=r.toUrl(o.moduleName+u)+".js";t.load(a,r,function(n){var r=function(e){return i(f,e)};r.asModule=function(e,t){return i.asModule(e,f,t)},t.write(e,a,r,s)},s)}};if(d.env==="node"||!d.env&&typeof process!="undefined"&&process.versions&&!!process.versions.node&&!process.versions["node-webkit"])n=require.nodeRequire("fs"),t.get=function(e,t,r){try{var i=n.readFileSync(e,"utf8");i.indexOf("")===0&&(i=i.substring(1)),t(i)}catch(s){r(s)}};else if(d.env==="xhr"||!d.env&&t.createXhr())t.get=function(e,n,r,i){var s=t.createXhr(),o;s.open("GET",e,!0);if(i)for(o in i)i.hasOwnProperty(o)&&s.setRequestHeader(o.toLowerCase(),i[o]);d.onXhr&&d.onXhr(s,e),s.onreadystatechange=function(t){var i,o;s.readyState===4&&(i=s.status,i>399&&i<600?(o=new Error(e+" HTTP status: "+i),o.xhr=s,r(o)):n(s.responseText),d.onXhrComplete&&d.onXhrComplete(s,e))},s.send(null)};else if(d.env==="rhino"||!d.env&&typeof Packages!="undefined"&&typeof java!="undefined")t.get=function(e,t){var n,r,i="utf-8",s=new java.io.File(e),o=java.lang.System.getProperty("line.separator"),u=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(s),i)),a="";try{n=new java.lang.StringBuffer,r=u.readLine(),r&&r.length()&&r.charAt(0)===65279&&(r=r.substring(1)),r!==null&&n.append(r);while((r=u.readLine())!==null)n.append(o),n.append(r);a=String(n.toString())}finally{u.close()}t(a)};else if(d.env==="xpconnect"||!d.env&&typeof Components!="undefined"&&Components.classes&&Components.interfaces)r=Components.classes,i=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),s="@mozilla.org/windows-registry-key;1"in r,t.get=function(e,t){var n,o,u,a={};s&&(e=e.replace(/\//g,"\\")),u=new FileUtils.File(e);try{n=r["@mozilla.org/network/file-input-stream;1"].createInstance(i.nsIFileInputStream),n.init(u,1,0,!1),o=r["@mozilla.org/intl/converter-input-stream;1"].createInstance(i.nsIConverterInputStream),o.init(n,"utf-8",n.available(),i.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),o.readString(n.available(),a),o.close(),n.close(),t(a.value)}catch(f){throw new Error((u&&u.path||"")+": "+f)}};return t}),define("text!views/../../styles/cartocss/base.css",[],function(){return"#country {\n polygon-opacity: 0;\n line-color: #FFF;\n line-width: 1;\n line-opacity: 1;\n}\n"}),define("text!views/../../styles/cartocss/polygons.css",[],function(){return"#usage_production {\n polygon-opacity: 1;\n line-color: #FFF;\n line-width: 1;\n line-opacity: 1;\n}\n\n#usage_production [%1$s <= 10] {\n polygon-fill: #BD0026;\n}\n#usage_production [%1$s <= 8] {\n polygon-fill: #F03B20;\n}\n#usage_production [%1$s <= 6] {\n polygon-fill: #FD8D3C;\n}\n#usage_production [%1$s <= 4] {\n polygon-fill: #FECC5C;\n}\n#usage_production [%1$s <= 2] {\n polygon-fill: #FFFFB2;\n}\n"}),define("text!views/../../queries/geom-all.pgsql",[],function(){return"WITH sub AS\n (SELECT country_code,\n sum(production_count::float) AS production_count,\n sum(usage_count::float) AS usage_count\n FROM usage_production\n GROUP BY country_code)\nSELECT countries.cartodb_id,\n countries.the_geom,\n countries.the_geom_webmercator,\n sub.country_code,\n countries.name,\n production_count,\n usage_count,\n country_coverage_challenges.count::float AS challenges\nFROM sub\nLEFT JOIN countries ON sub.country_code=countries.adm0_a3\nLEFT JOIN country_coverage_challenges ON country_coverage_challenges.country_code=countries.adm0_a3\n"}),define("text!views/../../queries/geom-product.pgsql",[],function(){return"WITH sub as (SELECT country_code, product, sum(production_count::float) as production_count, sum(usage_count::float) as usage_count FROM usage_production\nwhere product='%s' group by product, country_code )\nSELECT countries.cartodb_id,countries.the_geom, countries.the_geom_webmercator,sub.country_code, countries.name,product, production_count, usage_count,country_coverage_challenges.count::float as challenges\nFROM sub\nleft join countries on sub.country_code=countries.adm0_a3\nleft join country_coverage_challenges on country_coverage_challenges.country_code=countries.adm0_a3\n"}),define("text!views/../../queries/geom-year.pgsql",[],function(){return"WITH sub AS\n (SELECT country_code,\n YEAR,\n sum(production_count::float) AS production_count,\n sum(usage_count::float) AS usage_count\n FROM usage_production\n WHERE YEAR='%s'\n GROUP BY YEAR, country_code)\nSELECT countries.cartodb_id,\n countries.the_geom,\n countries.the_geom_webmercator,\n sub.country_code,\n countries.name,\n YEAR,\n production_count,\n usage_count,\n country_coverage_challenges.count::float AS challenges\nFROM sub\nLEFT JOIN countries ON sub.country_code=countries.adm0_a3\nLEFT JOIN country_coverage_challenges ON country_coverage_challenges.country_code=countries.adm0_a3\n"}),define("text!views/../../queries/geom-product-year.pgsql",[],function(){return" SELECT countries.cartodb_id,countries.the_geom, countries.the_geom_webmercator,usage_production.country_code, countries.name,product,year, production_count, usage_count,country_coverage_challenges.count::float as challenges\nFROM usage_production\nleft join countries on usage_production.country_code=countries.adm0_a3\nleft join country_coverage_challenges on country_coverage_challenges.country_code=countries.adm0_a3\nwhere year='%s' and product='%s'\n"}),define("text!views/../../templates/infowindow.handlebars",[],function(){return'
\n x\n
\n
\n

{{content.data.name}}

\n
\n
\n

{{content.data.name}}

\n
\n
\n
\n
\n'}),"use strict",define("views/map/vis",["underscore","backbone","cartodb","sprintf","instances/status-map","text!../../../styles/cartocss/base.css","text!../../../styles/cartocss/polygons.css","text!../../../queries/geom-all.pgsql","text!../../../queries/geom-product.pgsql","text!../../../queries/geom-year.pgsql","text!../../../queries/geom-product-year.pgsql","text!../../../templates/infowindow.handlebars"],function(e,t,n,r,i,s,o,u,a,f,l,c){var h=t.View.extend({el:"#mapVisView",options:{map:{center:[20,-35],zoom:3},tiles:{url:"http://{s}.tile.osm.org/{z}/{x}/{y}.png"},cartodb:{user_name:sessionStorage.getItem("CARTODBUSER"),type:"cartodb",sublayers:[{cartocss:s,sql:"SELECT * FROM countries"}]}},template:c,initialize:function(){i.on("change:product change:year",this.setLayer,this),i.on("change:context",this.setCartoCSS,this)},setMap:function(){return this.map||(this.map=L.map(this.el,this.options.map)),this.map},setTiles:function(){return this.map&&!this.tiles&&(this.tiles=L.tileLayer(this.options.tiles.url).addTo(this.map)),this.tiles},setLayer:function(){function n(e){throw e.responseText}function s(t){e.layer=t,e.map.addLayer(e.layer),e.setInfowindow()}var e=this,t="";this.layer&&this.map.removeLayer(this.layer),this.legends||this.setLegend(),i.get("product")!=="all"&&i.get("year")!=="all"?t=r(l,i.get("product"),i.get("year")):i.get("product")!=="all"&&i.get("year")==="all"?t=r(a,i.get("product")):i.get("product")==="all"&&i.get("year")!=="all"?t=r(f,i.get("year")):t=u,this.options.cartodb.sublayers[1]={sql:t,cartocss:r(o,i.get("context")),interactivity:"cartodb_id, name"},cartodb.createLayer(this.map,this.options.cartodb).on("done",s).on("error",n)},setInfowindow:function(){var e=this;this.infowindow&&this.infowindow.remove(),this.infowindow=cdb.vis.Vis.addInfowindow(e.map,e.layer.getSubLayer(1),this.options.cartodb.sublayers[1].interactivity,{infowindowTemplate:e.template,templateType:"handlebars"})},setLegend:function(){var e,t;e={left:"0",right:"10",colors:["#BD0026","#F03B20","#FD8D3C","#FECC5C","#FFFFB2"]},t=new cdb.geo.ui.Legend.Choropleth(e),this.legends=new cdb.geo.ui.Legend.Stacked({legends:[t]}),this.$el.append(this.legends.render().el)},setCartoCSS:function(){this.layer.getSubLayer(1).setCartoCSS(r(o,i.get("context")))}});return h}),"use strict",define("models/product",["backbone"],function(e){var t=e.Model.extend({});return t}),define("text!collections/../../queries/products.pgsql",[],function(){return"SELECT\n DISTINCT (product) AS name\nFROM future_production_costs\n"}),define("text!collections/../../queries/products-costs.pgsql",[],function(){return"WITH t AS(\n SELECT\n year AS age,product,\n ARRAY[ avg(amount::float) OVER (PARTITION BY year),\n amount::float ] AS data\n FROM future_production_costs\n)\nSELECT\n age,\n data\nFROM t\nWHERE product = '%s'\n"}),define("text!collections/../../queries/products-rank.pgsql",[],function(){return"SELECT product as name, average_cost::float, enabler_spent::float ,staff_count::float, time_months::float FROM misc_production_enabler\nUNION ALL\nSELECT 'Average' as name, avg( average_cost::float), avg( enabler_spent::float) ,avg( staff_count::float), avg( time_months::float) FROM misc_production_enabler\n"}),"use strict",define("collections/products",["backbone","sprintf","models/product","text!../../queries/products.pgsql","text!../../queries/products-costs.pgsql","text!../../queries/products-rank.pgsql"],function(e,t,n,r,i,s){var o=e.Collection.extend({model:n,url:function(){return t("http://%s.cartodb.com/api/v2/sql",sessionStorage.getItem("CARTODBUSER"))},initialize:function(){this.sql=new cartodb.SQL({user:sessionStorage.getItem("CARTODBUSER")})},parse:function(e){return e.rows},getData:function(e){function n(t){e&&typeof e=="function"&&e(undefined,t)}function i(t,n){e&&typeof e=="function"&&e(n)}var t;t={data:{q:r,format:"json"},success:n,error:i},this.fetch(t)},getCostsByProduct:function(e,n){function r(e){n&&typeof n=="function"&&n(undefined,e)}function s(e,t){n&&typeof n=="function"&&n(t)}this.sql.execute(t(i,e||"Environmental Democracy index")).on("done",r).on("error",s)},getRankedCosts:function(e){function n(t){e&&typeof e=="function"&&e(undefined,t)}function r(t,n){e&&typeof e=="function"&&e(n)}this.sql.execute(t(s)).on("done",n).on("error",r)}});return o}),"use strict",define("models/year",["backbone"],function(e){var t=e.Model.extend({});return t}),define("text!collections/../../queries/years.pgsql",[],function(){return"select distinct(year)\nfrom usage_production\nwhere year is not null and year <> ''\norder by year asc\n"}),"use strict",define("collections/years",["backbone","sprintf","models/year","text!../../queries/years.pgsql"],function(e,t,n,r){var i=e.Collection.extend({model:n,url:function(){return t("http://%s.cartodb.com/api/v2/sql",sessionStorage.getItem("CARTODBUSER"))},parse:function(e){return e.rows},getData:function(e){function n(t){e&&typeof e=="function"&&e(undefined,t)}function i(t,n){e&&typeof e=="function"&&e(n)}var t;t={data:{q:r,format:"json"},success:n,error:i},this.fetch(t)}});return i}),define("text!views/../../templates/map-toolbar.handlebars",[],function(){return'\n'}),"use strict",define("views/map/toolbar",["backbone","handlebars","instances/status-map","collections/products","collections/years","text!../../../templates/map-toolbar.handlebars"],function(e,t,n,r,i,s){var o=e.View.extend({el:"#mapToolbarView",events:{"click #mapProductSelector a":"setProduct","click #mapYearSelector a":"setYear","click #mapContextSelector a":"setContext"},template:t.compile(s),initialize:function(){var e=this;this.products=new r,this.years=new i,this.products.getData(function(t){if(t)throw t.responseText;e.years.getData(function(t){if(t)throw t.responseText;e.render()})})},render:function(){this.$el.html(this.template({products:this.products.toJSON(),years:this.years.toJSON()}))},setProduct:function(e){var t=$(e.currentTarget);this.$el.find("#currentMapProduct").text(t.text()),n.set("product",t.data("name")),e.preventDefault()},setYear:function(e){var t=$(e.currentTarget);this.$el.find("#currentMapYear").text(t.text()),n.set("year",t.data("name")),e.preventDefault()},setContext:function(e){var t=$(e.currentTarget);this.$el.find("#currentMapContext").text(t.text()),n.set("context",t.data("name")),e.preventDefault()}});return o}),"use strict",define("views/map",["backbone","views/map/vis","views/map/toolbar"],function(e,t,n){var r=e.View.extend({el:"#mapView",initialize:function(){this.toolbarView=new n,this.visView=new t},show:function(){this.$el.removeClass("is-hidden"),this.visView.setMap(),this.visView.setLayer()},hide:function(){this.$el.addClass("is-hidden")}});return r}),define("text!views/../../templates/misc-toolbar.handlebars",[],function(){return'
    \n
  • \n \n \n Select a product\n \n \n
      \n {{#each products}}\n
    • {{name}}
    • \n {{/each}}\n
    \n
  • \n
  • \n \n Average\n
  • \n
\n'}),"use strict",define("views/misc/toolbar",["backbone","handlebars","collections/products","text!../../../templates/misc-toolbar.handlebars"],function(e,t,n,r){var i=e.View.extend({el:"#miscToolbarView",events:{"click .item-selector-child a":"setProduct"},template:t.compile(r),initialize:function(){var e=this;this.products=new n,this.products.getData(function(){e.render()})},render:function(){this.$el.html(this.template({products:this.products.toJSON()}))},setProduct:function(t){var n=$(t.currentTarget);this.$el.find("#currentText").text(n.data("name")),e.Events.trigger("change:product",n.data("name")),t.preventDefault()}});return i}),function(){function Tt(e,t){var n;e||(e={});for(n in t)e[n]=t[n];return e}function Nt(){var e,t=arguments,n,r={},i=function(e,t){var n,r;typeof e!="object"&&(e={});for(r in t)t.hasOwnProperty(r)&&(n=t[r],n&&typeof n=="object"&&Object.prototype.toString.call(n)!=="[object Array]"&&r!=="renderTo"&&typeof n.nodeType!="number"?e[r]=i(e[r]||{},n):e[r]=t[r]);return e};t[0]===!0&&(r=t[1],t=Array.prototype.slice.call(t,2)),n=t.length;for(e=0;e3?c.length%3:0;return l+(h?c.substr(0,h)+a:"")+c.substr(h).replace(/(\d{3})(?=\d)/g,"$1"+a)+(o?u+f(s-c).toFixed(o).slice(2):"")}function zt(e,t){return(new Array((t||2)+1-String(e).length)).join(0)+e}function Wt(e,t,n){var r=e[t];e[t]=function(){var e=Array.prototype.slice.call(arguments);return e.unshift(r),n.apply(this,e)}}function Xt(e,t){var n=/f$/,r=/\.([0-9])/,i=O.lang,s;return n.test(e)?(s=e.match(r),s=s?s[1]:-1,t=Ut(t,s,i.decimalPoint,e.indexOf(",")>-1?i.thousandsSep:"")):t=M(e,t),t}function Vt(e,t){var n="{",r=!1,i,s,o,u,a,f=[],l,c;while((c=e.indexOf(n))!==-1){i=e.slice(0,c);if(r){s=i.split(":"),o=s.shift().split("."),a=o.length,l=t;for(u=0;un&&(n=e[t]);return n}function Zt(e,t){var n;for(n in e)e[n]&&e[n]!==t&&e[n].destroy&&e[n].destroy(),delete e[n]}function en(e){A||(A=qt(I)),e&&A.appendChild(e),A.innerHTML=""}function tn(e,t){var r="Highcharts error #"+e+": www.highcharts.com/errors/"+e;if(t)throw r;n.console&&console.log(r)}function nn(e){return parseFloat(e.toPrecision(14))}function rn(e,t){_=Ft(e,t.animation)}function xn(){var e=O.global.useUTC,t=e?"getUTC":"get",n=e?"setUTC":"set";lt=(e&&O.global.timezoneOffset||0)*6e4,ft=e?Date.UTC:function(e,t,n,r,i,s){return(new Date(e,t,Ft(n,1),Ft(r,0),Ft(i,0),Ft(s,0))).getTime()},ct=t+"Minutes",ht=t+"Hours",pt=t+"Day",dt=t+"Date",vt=t+"Month",mt=t+"FullYear",gt=n+"Minutes",yt=n+"Hours",bt=n+"Date",wt=n+"Month",Et=n+"FullYear"}function Tn(e){return O=Nt(!0,O,e),xn(),O}function Nn(){return O}function On(){}function jn(e,t,n,r){this.axis=e,this.pos=t,this.type=n||"",this.isNew=!0,!n&&!r&&this.addLabel()}function Fn(){this.init.apply(this,arguments)}function Jn(){this.init.apply(this,arguments)}function Yn(e,t,n,r,i,s){var o=e.chart.inverted;this.axis=e,this.isNegative=n,this.options=t,this.x=r,this.total=null,this.points={},this.stack=i,this.percent=s==="percent",this.alignOptions={align:t.align||(o?n?"left":"right":"center"),verticalAlign:t.verticalAlign||(o?"middle":n?"bottom":"top"),y:Ft(t.y,o?4:n?14:-6),x:Ft(t.x,o?n?-6:6:0)},this.textAlign=t.textAlign||(o?n?"right":"left":"center")}var e,t=document,n=window,r=Math,i=r.round,s=r.floor,o=r.ceil,u=r.max,a=r.min,f=r.abs,l=r.cos,c=r.sin,h=r.PI,p=h*2/360,d=navigator.userAgent,v=n.opera,m=/msie/i.test(d)&&!v,g=t.documentMode===8,y=/AppleWebKit/.test(d),b=/Firefox/.test(d),w=/(Mobile|Android|Windows Phone)/.test(d),E="http://www.w3.org/2000/svg",S=!!t.createElementNS&&!!t.createElementNS(E,"svg").createSVGRect,x=b&&parseInt(d.split("Firefox/")[1],10)<4,T=!S&&!m&&!!t.createElement("canvas").getContext,N,C,k={},L=0,A,O,M,_,D,P,H=function(){},B=[],j="Highcharts",F="3.0.10",I="div",q="absolute",R="relative",U="hidden",z="highcharts-",W="visible",X="px",V="none",$="M",J="L",K=/^[0-9]+$/,Q="",G="hover",Y="select",Z="millisecond",et="second",tt="minute",nt="hour",rt="day",it="week",st="month",ot="year",ut,at="stroke-width",ft,lt,ct,ht,pt,dt,vt,mt,gt,yt,bt,wt,Et,St={},xt=n.Highcharts=n.Highcharts?tn(16,!0):{};M=function(e,t,n){if(!Ht(t)||isNaN(t))return"Invalid date";e=Ft(e,"%Y-%m-%d %H:%M:%S");var r=new Date(t-lt),s,o=r[ht](),u=r[pt](),a=r[dt](),f=r[vt](),l=r[mt](),c=O.lang,h=c.weekdays,p=Tt({a:h[u].substr(0,3),A:h[u],d:zt(a),e:a,b:c.shortMonths[f],B:c.months[f],m:zt(f+1),y:l.toString().substr(2,2),Y:l,H:zt(o),I:zt(o%12||12),l:o%12||12,M:zt(r[ct]()),p:o<12?"AM":"PM",P:o<12?"am":"pm",S:zt(r.getSeconds()),L:zt(i(t%1e3),3)},xt.dateFormats);for(s in p)while(e.indexOf("%"+s)!==-1)e=e.replace("%"+s,typeof p[s]=="function"?p[s](t):p[s]);return n?e.substr(0,1).toUpperCase()+e.substr(1):e},Kt.prototype={wrapColor:function(e){this.color>=e&&(this.color=0)},wrapSymbol:function(e){this.symbol>=e&&(this.symbol=0)}},P=Ct(Z,1,et,1e3,tt,6e4,nt,36e5,rt,864e5,it,6048e5,st,26784e5,ot,31556952e3),D={init:function(e,t,n){t=t||"";var r=e.shift,i=t.indexOf("C")>-1,s=i?7:3,o,u,a,f=t.split(" "),l=[].concat(n),c,h,p=function(e){a=e.length;while(a--)e[a]===$&&e.splice(a+1,0,e[a+1],e[a+2],e[a+1],e[a+2])};i&&(p(f),p(l)),e.isArea&&(c=f.splice(f.length-6,6),h=l.splice(l.length-6,6));if(r<=l.length/s&&f.length===l.length)while(r--)l=[].concat(l).splice(0,s).concat(l);e.shift=0;if(f.length){o=l.length;while(f.length{point.key}
',pointFormat:'{series.name}: {point.y}
',shadow:!0,snap:w?25:10,style:{color:"#333333",cursor:"default",fontSize:"12px",padding:"8px",whiteSpace:"nowrap"}},credits:{enabled:!0,text:"Highcharts.com",href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#909090",fontSize:"9px"}}};var En=O.plotOptions,Sn=En.line;xn();var Cn=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,kn=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,Ln=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,An=function(e){function i(e){e&&e.stops?r=pn(e.stops,function(e){return An(e[1])}):(n=Cn.exec(e),n?t=[kt(n[1]),kt(n[2]),kt(n[3]),parseFloat(n[4],10)]:(n=kn.exec(e),n?t=[kt(n[1],16),kt(n[2],16),kt(n[3],16),1]:(n=Ln.exec(e),n&&(t=[kt(n[1]),kt(n[2]),kt(n[3]),1]))))}function s(n){var i;return r?(i=Nt(e),i.stops=[].concat(i.stops),ln(r,function(e,t){i.stops[t]=[i.stops[t][0],e.get(n)]})):t&&!isNaN(t[0])?n==="rgb"?i="rgb("+t[0]+","+t[1]+","+t[2]+")":n==="a"?i=t[3]:i="rgba("+t.join(",")+")":i=e,i}function o(e){if(r)ln(r,function(t){t.brighten(e)});else if(Mt(e)&&e!==0){var n;for(n=0;n<3;n++)t[n]+=kt(e*255),t[n]<0&&(t[n]=0),t[n]>255&&(t[n]=255)}return this}function u(e){return t[3]=e,this}var t=[],n,r;return i(e),{get:s,brighten:o,rgba:t,setOpacity:u}};On.prototype={init:function(e,n){var r=this;r.element=n==="span"?qt(n):t.createElementNS(E,n),r.renderer=e,r.attrSetters={}},opacity:1,animate:function(e,t,n){var r=Ft(t,_,!0);bn(this),r?(r=Nt(r,{}),n&&(r.complete=n),yn(this,e,r)):(this.attr(e),n&&n())},attr:function(n,r){var i=this,s,o,a,f,l,c=i.element,h=c.nodeName.toLowerCase(),p=i.renderer,d,v,m=i.attrSetters,g=i.shadows,y,b,w=i;Lt(n)&&Ht(r)&&(s=n,n={},n[s]=r);if(Lt(n))s=n,h==="circle"?s={x:"cx",y:"cy"}[s]||s:s==="strokeWidth"&&(s="stroke-width"),w=Bt(c,s)||i[s]||0,s!=="d"&&s!=="visibility"&&s!=="fill"&&(w=parseFloat(w));else{for(s in n){d=!1,o=n[s],a=m[s]&&m[s].call(i,o,s);if(a!==!1){a!==e&&(o=a);if(s==="d")o&&o.join&&(o=o.join(" ")),/(NaN| {2}|^$)/.test(o)&&(o="M 0 0");else if(s==="x"&&h==="text")for(f=0;f1100)&&t.call(r,e)}):r["on"+e]=t,this},setRadialReference:function(e){return this.element.radialReference=e,this},translate:function(e,t){return this.attr({translateX:e,translateY:t})},invert:function(){var e=this;return e.inverted=!0,e.updateTransform(),e},updateTransform:function(){var e=this,t=e.translateX||0,n=e.translateY||0,r=e.scaleX,i=e.scaleY,s=e.inverted,o=e.rotation,u;s&&(t+=e.attr("width"),n+=e.attr("height")),u=["translate("+t+","+n+")"],s?u.push("rotate(90) scale(-1,1)"):o&&u.push("rotate("+o+" "+(e.x||0)+" "+(e.y||0)+")"),(Ht(r)||Ht(i))&&u.push("scale("+Ft(r,1)+" "+Ft(i,1)+")"),u.length&&Bt(e.element,"transform",u.join(" "))},toFront:function(){var e=this.element;return e.parentNode.appendChild(e),this},align:function(e,t,n){var r,s,o,u,a={},f,l=this.renderer,c=l.alignedObjects;if(e){this.alignOptions=e,this.alignByTranslate=t;if(!n||Lt(n))this.alignTo=f=n||"renderer",Pt(c,this),c.push(this),n=null}else e=this.alignOptions,t=this.alignByTranslate,f=this.alignTo;n=Ft(n,l[f],l),r=e.align,s=e.verticalAlign,o=(n.x||0)+(e.x||0),u=(n.y||0)+(e.y||0);if(r==="right"||r==="center")o+=(n.width-(e.width||0))/{right:1,center:2}[r];a[t?"translateX":"x"]=i(o);if(s==="bottom"||s==="middle")u+=(n.height-(e.height||0))/({bottom:1,middle:2}[s]||1);return a[t?"translateY":"y"]=i(u),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},getBBox:function(){var e=this,t=e.bBox,n=e.renderer,r,i,s=e.rotation,o=e.element,u=e.styles,a=s*p,h=e.textStr,d;if(h===""||K.test(h))d=h.toString().length+(u?"|"+u.fontSize+"|"+u.fontFamily:""),t=n.cache[d];if(!t){if(o.namespaceURI===E||n.forExport){try{t=o.getBBox?Tt({},o.getBBox()):{width:o.offsetWidth,height:o.offsetHeight}}catch(v){}if(!t||t.width<0)t={width:0,height:0}}else t=e.htmlGetBBox();n.isSVG&&(r=t.width,i=t.height,m&&u&&u.fontSize==="11px"&&i.toPrecision(3)==="16.9"&&(t.height=i=14),s&&(t.width=f(i*c(a))+f(r*l(a)),t.height=f(i*l(a))+f(r*c(a)))),e.bBox=t,d&&(n.cache[d]=t)}return t},show:function(e){return this.attr({visibility:e?"inherit":W})},hide:function(){return this.attr({visibility:U})},fadeOut:function(e){var t=this;t.animate({opacity:0},{duration:e||150,complete:function(){t.hide()}})},add:function(e){var t=this.renderer,n=e||t,r=n.element||t.box,i,s=this.element,o=this.zIndex,u,a,f,l;e&&(this.parentGroup=e),this.parentInverted=e&&e.inverted,this.textStr!==undefined&&t.buildText(this),o&&(n.handleZ=!0,o=kt(o));if(n.handleZ){i=r.childNodes;for(f=0;fo||!Ht(o)&&Ht(a))){r.insertBefore(s,u),l=!0;break}}}return l||r.appendChild(s),this.added=!0,this.onAdd&&this.onAdd(),this},safeRemoveChild:function(e){var t=e.parentNode;t&&t.removeChild(e)},destroy:function(){var e=this,t=e.element||{},n=e.shadows,r=e.renderer.isSVG&&t.nodeName==="SPAN"&&e.parentGroup,i,s,o;t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,bn(e),e.clipPath&&(e.clipPath=e.clipPath.destroy());if(e.stops){for(o=0;o/g,'').replace(/<(i|em)>/g,'').replace(//g,"").split(//g),o=n.childNodes,u=/<.*style="([^"]+)".*>/,a=/<.*href="(http[^"]+)".*>/,f=Bt(n,"x"),l=e.styles,c=e.textWidth,h=l&&l.lineHeight,p=o.length,d=function(e){return h?kt(h):r.fontMetrics(/(px|em)$/.test(e&&e.style.fontSize)?e.style.fontSize:l.fontSize||11).h};while(p--)n.removeChild(o[p]);c&&!e.added&&this.box.appendChild(n),s[s.length-1]===""&&s.pop(),ln(s,function(s,o){var h,p=0;s=s.replace(//g,"|||"),h=s.split("|||"),ln(h,function(s){if(s!==""||h.length===1){var v={},m=t.createElementNS(E,"tspan"),g;u.test(s)&&(g=s.match(u)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),Bt(m,"style",g)),a.test(s)&&!i&&(Bt(m,"onclick",'location.href="'+s.match(a)[1]+'"'),It(m,{cursor:"pointer"})),s=(s.replace(/<(.|\n)*?>/g,"")||" ").replace(/</g,"<").replace(/>/g,">");if(s!==" "){m.appendChild(t.createTextNode(s)),p?v.dx=0:v.x=f,Bt(m,v),!p&&o&&(!S&&i&&It(m,{display:"block"}),Bt(m,"dy",d(m),y&&m.offsetHeight)),n.appendChild(m),p++;if(c){var b=s.replace(/([^\^])-/g,"$1- ").split(" "),w=b.length>1&&l.whiteSpace!=="nowrap",x,T,N=e._clipHeight,C=[],k=d(),L=1,A;while(w&&(b.length||C.length))delete e.bBox,A=e.getBBox(),T=A.width,!S&&r.forExport&&(T=r.measureSpanWidth(m.firstChild.data,e.styles)),x=T>c,!x||b.length===1?(b=C,C=[],b.length&&(L++,N&&L*k>N?(b=["..."],e.attr("title",e.textStr)):(m=t.createElementNS(E,"tspan"),Bt(m,{dy:k,x:f}),g&&Bt(m,"style",g),n.appendChild(m),T>c&&(c=T)))):(m.removeChild(m.firstChild),C.unshift(b.pop())),b.length&&m.appendChild(t.createTextNode(b.join(" ").replace(/- /g,"-")))}}}})})},button:function(e,t,n,r,i,s,o,u,a){var f=this.label(e,t,n,a,null,null,null,null,"button"),l=0,c,h,p,d,v,g,y="style",b={x1:0,y1:0,x2:0,y2:1};return i=Nt({"stroke-width":1,stroke:"#CCCCCC",fill:{linearGradient:b,stops:[[0,"#FEFEFE"],[1,"#F6F6F6"]]},r:2,padding:5,style:{color:"black"}},i),p=i[y],delete i[y],s=Nt(i,{stroke:"#68A",fill:{linearGradient:b,stops:[[0,"#FFF"],[1,"#ACF"]]}},s),d=s[y],delete s[y],o=Nt(i,{stroke:"#68A",fill:{linearGradient:b,stops:[[0,"#9BD"],[1,"#CDF"]]}},o),v=o[y],delete o[y],u=Nt(i,{style:{color:"#CCC"}},u),g=u[y],delete u[y],dn(f.element,m?"mouseover":"mouseenter",function(){l!==3&&f.attr(s).css(d)}),dn(f.element,m?"mouseout":"mouseleave",function(){l!==3&&(c=[i,s,o][l],h=[p,d,v][l],f.attr(c).css(h))}),f.setState=function(e){f.state=l=e,e?e===2?f.attr(o).css(v):e===3&&f.attr(u).css(g):f.attr(i).css(p)},f.on("click",function(){l!==3&&r.call(f)}).attr(i).css(Tt({cursor:"default"},p))},crispLine:function(e,t){return e[1]===e[4]&&(e[1]=e[4]=i(e[1])-t%2/2),e[2]===e[5]&&(e[2]=e[5]=i(e[2])+t%2/2),e},path:function(e){var t={fill:V};return Ot(e)?t.d=e:At(e)&&Tt(t,e),this.createElement("path").attr(t)},circle:function(e,t,n){var r=At(e)?e:{x:e,y:t,r:n};return this.createElement("circle").attr(r)},arc:function(e,t,n,r,i,s){var o;return At(e)&&(t=e.y,n=e.r,r=e.innerR,i=e.start,s=e.end,e=e.x),o=this.symbol("arc",e||0,t||0,n||0,n||0,{innerR:r||0,start:i||0,end:s||0}),o.r=n,o},rect:function(t,n,r,i,s,o){s=At(t)?t.r:s;var a=this.createElement("rect"),f=At(t)?t:t===e?{}:{x:t,y:n,width:u(r,0),height:u(i,0)};return o!==e&&(f.strokeWidth=o,f=a.crisp(f)),s&&(f.r=s),a.attr(f)},setSize:function(e,t,n){var r=this,i=r.alignedObjects,s=i.length;r.width=e,r.height=t,r.boxWrapper[Ft(n,!0)?"animate":"attr"]({width:e,height:t});while(s--)i[s].align()},g:function(e){var t=this.createElement("g");return Ht(e)?t.attr({"class":z+e}):t},image:function(e,t,n,r,i){var s={preserveAspectRatio:V},o;return arguments.length>1&&Tt(s,{x:t,y:n,width:r,height:i}),o=this.createElement("image").attr(s),o.element.setAttributeNS?o.element.setAttributeNS("http://www.w3.org/1999/xlink","href",e):o.element.setAttribute("hc-svg-href",e),o},symbol:function(e,t,n,r,s,o){var u,a=this.symbols[e],f=a&&a(i(t),i(n),r,s,o),l,c=/^url\((.*?)\)$/,h,p,d;return f?(u=this.path(f),Tt(u,{symbolName:e,x:t,y:n,width:r,height:s}),o&&Tt(u,o)):c.test(e)&&(d=function(e,t){e.element&&(e.attr({width:t[0],height:t[1]}),e.alignByTranslate||e.translate(i((r-t[0])/2),i((s-t[1])/2)))},h=e.match(c)[1],p=k[h],u=this.image(h).attr({x:t,y:n}),u.isImg=!0,p?d(u,p):(u.attr({width:0,height:0}),l=qt("img",{onload:function(){d(u,k[h]=[this.width,this.height])},src:h}))),u},symbols:{circle:function(e,t,n,r){var i=.166*n;return[$,e+n/2,t,"C",e+n+i,t,e+n+i,t+r,e+n/2,t+r,"C",e-i,t+r,e-i,t,e+n/2,t,"Z"]},square:function(e,t,n,r){return[$,e,t,J,e+n,t,e+n,t+r,e,t+r,"Z"]},triangle:function(e,t,n,r){return[$,e+n/2,t,J,e+n,t+r,e,t+r,"Z"]},"triangle-down":function(e,t,n,r){return[$,e,t,J,e+n,t,e+n/2,t+r,"Z"]},diamond:function(e,t,n,r){return[$,e+n/2,t,J,e+n,t+r/2,e+n/2,t+r,e,t+r/2,"Z"]},arc:function(e,t,n,r,i){var s=i.start,o=i.r||n||r,u=i.end-.001,a=i.innerR,f=i.open,p=l(s),d=c(s),v=l(u),m=c(u),g=i.end-sp&&/[ \-]/.test(n.textContent||n.innerText)&&(It(n,{width:p+X,display:"block",whiteSpace:"normal"}),l=p),e.getSpanCorrection(l,h,a,c,u)),It(n,{left:s+(e.xCorr||0)+X,top:o+(e.yCorr||0)+X}),y&&(h=n.offsetHeight),e.cTT=d}},setSpanRotation:function(e,t,n){var r={},i=m?"-ms-transform":y?"-webkit-transform":b?"MozTransform":v?"-o-transform":"";r[i]=r.transform="rotate("+e+"deg)",r[i+(b?"Origin":"-origin")]=r.transformOrigin=t*100+"% "+n+"px",It(this.element,r)},getSpanCorrection:function(e,t,n){this.xCorr=-e*n,this.yCorr=-t}}),Tt(Mn.prototype,{html:function(e,t,n){var r=this.createElement("span"),s=r.attrSetters,o=r.element,u=r.renderer;return s.text=function(e){return e!==o.innerHTML&&delete this.bBox,o.innerHTML=this.textStr=e,!1},s.x=s.y=s.align=s.rotation=function(e,t){return t==="align"&&(t="textAlign"),r[t]=e,r.htmlUpdateTransform(),!1},r.attr({text:e,x:i(t),y:i(n)}).css({position:q,whiteSpace:"nowrap",fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),r.css=r.htmlCss,u.isSVG&&(r.add=function(e){var t,n=u.box.parentNode,i,s=[];this.parentGroup=e;if(e){t=e.div;if(!t){i=e;while(i)s.push(i),i=i.parentGroup;ln(s.reverse(),function(e){var r;t=e.div=e.div||qt(I,{className:Bt(e.element,"class")},{position:q,left:(e.translateX||0)+X,top:(e.translateY||0)+X},t||n),r=t.style,Tt(e.attrSetters,{translateX:function(e){r.left=e+X},translateY:function(e){r.top=e+X},visibility:function(e,t){r[t]=e}})})}}else t=n;return t.appendChild(o),r.added=!0,r.alignOnAdd&&r.htmlUpdateTransform(),r}),r}});var _n,Dn;if(!S&&!T){xt.VMLElement=Dn={init:function(e,t){var n=this,r=["<",t,' filled="f" stroked="f"'],i=["position: ",q,";"],s=t===I;(t==="shape"||s)&&i.push("left:0;top:0;width:1px;height:1px;"),i.push("visibility: ",s?U:W),r.push(' style="',i.join(""),'"/>'),t&&(r=s||t==="span"||t==="img"?r.join(""):e.prepVML(r),n.element=qt(r)),n.renderer=e,n.attrSetters={}},add:function(e){var t=this,n=t.renderer,r=t.element,i=n.box,s=e&&e.inverted,o=e?e.element||e:i;return s&&n.invertChild(r,o),o.appendChild(r),t.added=!0,t.alignOnAdd&&!t.deferUpdateTransform&&t.updateTransform(),t.onAdd&&t.onAdd(),t},updateTransform:On.prototype.htmlUpdateTransform,setSpanRotation:function(){var e=this.rotation,t=l(e*p),n=c(e*p);It(this.element,{filter:e?["progid:DXImageTransform.Microsoft.Matrix(M11=",t,", M12=",-n,", M21=",n,", M22=",t,", sizingMethod='auto expand')"].join(""):V})},getSpanCorrection:function(e,t,n,r,i){var s=r?l(r*p):1,o=r?c(r*p):0,u=Ft(this.elemHeight,this.element.offsetHeight),a,f=i&&i!=="left";this.xCorr=s<0&&-e,this.yCorr=o<0&&-u,a=s*o<0,this.xCorr+=o*t*(a?1-n:n),this.yCorr-=s*t*(r?a?n:1-n:1),f&&(this.xCorr-=e*n*(s<0?-1:1),r&&(this.yCorr-=u*n*(o<0?-1:1)),It(this.element,{textAlign:i}))},pathToVML:function(e){var t=e.length,n=[];while(t--)Mt(e[t])?n[t]=i(e[t]*10)-5:e[t]==="Z"?n[t]="x":(n[t]=e[t],e.isArc&&(e[t]==="wa"||e[t]==="at")&&(n[t+5]===n[t+7]&&(n[t+7]+=e[t+7]>e[t+5]?1:-1),n[t+6]===n[t+8]&&(n[t+8]+=e[t+8]>e[t+6]?1:-1)));return n.join(" ")||"x"},attr:function(t,n){var r=this,s,o,a,f,h=r.element||{},d=h.style,v=h.nodeName,m=r.renderer,y=r.symbolName,b,w=r.shadows,E,S=r.attrSetters,x=r;Lt(t)&&Ht(n)&&(s=t,t={},t[s]=n);if(Lt(t))s=t,s==="strokeWidth"||s==="stroke-width"?x=r.strokeweight:x=r[s];else for(s in t){o=t[s],E=!1,f=S[s]&&S[s].call(r,o,s);if(f!==!1&&o!==null){f!==e&&(o=f);if(y&&/^(x|y|r|start|end|width|height|innerR|anchorX|anchorY)/.test(s))b||(r.symbolAttr(t),b=!0),E=!0;else if(s==="d"){o=o||[],r.d=o.join(" "),h.path=o=r.pathToVML(o);if(w){a=w.length;while(a--)w[a].path=w[a].cutOff?this.cutOffPath(o,w[a].cutOff):o}E=!0}else if(s==="visibility"){o==="inherit"&&(o=W);if(w){a=w.length;while(a--)w[a].style[s]=o}v==="DIV"&&(o=o===U?"-999em":0,g||(d[s]=o?W:U),s="top"),d[s]=o,E=!0}else if(s==="zIndex")o&&(d[s]=o),E=!0;else if(fn(s,["x","y","width","height"])!==-1)r[s]=o,s==="x"||s==="y"?s={x:"left",y:"top"}[s]:o=u(0,o),r.updateClipping?(r[s]=o,r.updateClipping()):d[s]=o,E=!0;else if(s==="class"&&v==="DIV")h.className=o;else if(s==="stroke")o=m.color(o,h,s),s="strokecolor";else if(s==="stroke-width"||s==="strokeWidth")h.stroked=o?!0:!1,s="strokeweight",r[s]=o,Mt(o)&&(o+=X);else if(s==="dashstyle"){var T=h.getElementsByTagName("stroke")[0]||qt(m.prepVML([""]),null,null,h);T[s]=o||"solid",r.dashstyle=o,E=!0}else if(s==="fill")v==="SPAN"?d.color=o:v!=="IMG"&&(h.filled=o!==V?!0:!1,o=m.color(o,h,s,r),s="fillcolor");else if(s==="opacity")E=!0;else if(v==="shape"&&s==="rotation")r[s]=h.style[s]=o,h.style.left=-i(c(o*p)+1)+X,h.style.top=i(l(o*p))+X;else if(s==="translateX"||s==="translateY"||s==="rotation")r[s]=o,r.updateTransform(),E=!0;E||(g?h[s]=o:Bt(h,s,o))}}return x},clip:function(e){var t=this,n,r;return e?(n=e.members,Pt(n,t),n.push(t),t.destroyClip=function(){Pt(n,t)},r=e.getCSS(t)):(t.destroyClip&&t.destroyClip(),r={clip:g?"inherit":"rect(auto)"}),t.css(r)},css:On.prototype.htmlCss,safeRemoveChild:function(e){e.parentNode&&en(e)},destroy:function(){return this.destroyClip&&this.destroyClip(),On.prototype.destroy.apply(this)},on:function(e,t){return this.element["on"+e]=function(){var e=n.event;e.target=e.srcElement,t(e)},this},cutOffPath:function(e,t){var n;e=e.split(/[ ,]/),n=e.length;if(n===9||n===11)e[n-4]=e[n-2]=kt(e[n-2])-10*t;return e.join(" ")},shadow:function(e,t,n){var r=[],i,s=this.element,o=this.renderer,u,a=s.style,f,l=s.path,c,h,p,d;l&&typeof l.value!="string"&&(l="x"),h=l;if(e){p=Ft(e.width,3),d=(e.opacity||.15)/p;for(i=1;i<=3;i++)c=p*2+1-2*i,n&&(h=this.cutOffPath(l.value,c+.5)),f=[''],u=qt(o.prepVML(f),null,{left:kt(a.left)+Ft(e.offsetX,1),top:kt(a.top)+Ft(e.offsetY,1)}),n&&(u.cutOff=c+1),f=[''],qt(o.prepVML(f),null,null,u),t?t.element.appendChild(u):s.parentNode.insertBefore(u,s),r.push(u);this.shadows=r}return this}},Dn=Rt(On,Dn);var Pn={Element:Dn,isIE8:d.indexOf("MSIE 8.0")>-1,init:function(e,n,r,i){var s=this,o,u,a;s.alignedObjects=[],o=s.createElement(I).css(Tt(this.getStyle(i),{position:R})),u=o.element,e.appendChild(o.element),s.isVML=!0,s.box=u,s.boxWrapper=o,s.cache={},s.setSize(n,r,!1);if(!t.namespaces.hcv){t.namespaces.add("hcv","urn:schemas-microsoft-com:vml"),a="hcv\\:fill, hcv\\:path, hcv\\:shape, hcv\\:stroke{ behavior:url(#default#VML); display: inline-block; } ";try{t.createStyleSheet().cssText=a}catch(f){t.styleSheets[0].cssText+=a}}},isHidden:function(){return!this.box.offsetWidth},clipRect:function(e,t,n,r){var s=this.createElement(),o=At(e);return Tt(s,{members:[],left:(o?e.x:e)+1,top:(o?e.y:t)+1,width:(o?e.width:n)-1,height:(o?e.height:r)-1,getCSS:function(e){var t=e.element,n=t.nodeName,r=n==="shape",s=e.inverted,o=this,u=o.top-(r?t.offsetTop:0),a=o.left,f=a+o.width,l=u+o.height,c={clip:"rect("+i(s?a:u)+"px,"+i(s?l:f)+"px,"+i(s?f:l)+"px,"+i(s?u:a)+"px)"};return!s&&g&&n==="DIV"&&Tt(c,{width:f+X,height:l+X}),c},updateClipping:function(){ln(s.members,function(e){e.css(s.getCSS(e))})}})},color:function(e,t,n,i){var s=this,o,u=/^rgba/,a,f,l=V;e&&e.linearGradient?f="gradient":e&&e.radialGradient&&(f="pattern");if(f){var c,p,d=e.linearGradient||e.radialGradient,v,m,g,y,b,w,E,S,x="",T=e.stops,N,C,k=[],L=function(){a=[''],qt(s.prepVML(a),null,null,t)};N=T[0],C=T[T.length-1],N[0]>0&&T.unshift([0,N[1]]),C[0]<1&&T.push([1,C[1]]),ln(T,function(e,t){u.test(e[1])?(o=An(e[1]),c=o.get("rgb"),p=o.get("a")):(c=e[1],p=1),k.push(e[0]*100+"% "+c),t?(w=p,E=c):(b=p,S=c)});if(n==="fill")if(f==="gradient")v=d.x1||d[0]||0,m=d.y1||d[1]||0,g=d.x2||d[2]||0,y=d.y2||d[3]||0,x='angle="'+(90-r.atan((y-m)/(g-v))*180/h)+'"',L();else{var A=d.r,M=A*2,_=A*2,D=d.cx,P=d.cy,H=t.radialReference,B,j=function(){H&&(B=i.getBBox(),D+=(H[0]-B.x)/B.width-.5,P+=(H[1]-B.y)/B.height-.5,M*=H[2]/B.width,_*=H[2]/B.height),x='src="'+O.global.VMLRadialGradientURL+'" '+'size="'+M+","+_+'" '+'origin="0.5,0.5" '+'position="'+D+","+P+'" '+'color2="'+S+'" ',L()};i.added?j():i.onAdd=j,l=E}else l=c}else if(u.test(e)&&t.tagName!=="IMG")o=An(e),a=["<",n,' opacity="',o.get("a"),'"/>'],qt(this.prepVML(a),null,null,t),l=o.get("rgb");else{var F=t.getElementsByTagName(n);F.length&&(F[0].opacity=1,F[0].type="solid"),l=e}return l},prepVML:function(e){var t="display:inline-block;behavior:url(#default#VML);",n=this.isIE8;return e=e.join(""),n?(e=e.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),e.indexOf('style="')===-1?e=e.replace("/>",' style="'+t+'" />'):e=e.replace('style="','style="'+t)):e=e.replace("<","1&&s.attr({x:t,y:n,width:r,height:i}),s},createElement:function(e){return e==="rect"?this.symbol(e):Mn.prototype.createElement.call(this,e)},invertChild:function(e,t){var n=this,r=t.style,i=e.tagName==="IMG"&&e.style;It(e,{flip:"x",left:kt(r.width)-(i?kt(i.top):1),top:kt(r.height)-(i?kt(i.left):1),rotation:-90}),ln(e.childNodes,function(t){n.invertChild(t,e)})},symbols:{arc:function(e,t,n,r,i){var s=i.start,o=i.end,u=i.r||n||r,a=i.innerR,f=l(s),h=c(s),p=l(o),d=c(o),v;return o-s===0?["x"]:(v=["wa",e-u,t-u,e+u,t+u,e+u*f,t+u*h,e+u*p,t+u*d],i.open&&!a&&v.push("e",$,e,t),v.push("at",e-a,t-a,e+a,t+a,e+a*p,t+a*d,e+a*f,t+a*h,"x","e"),v.isArc=!0,v)},circle:function(e,t,n,r,i){return i&&(n=r=2*i.r),i&&i.isCircle&&(e-=n/2,t-=r/2),["wa",e,t,e+n,t+r,e+n,t+r/2,e+n,t+r/2,"e"]},rect:function(e,t,n,r,i){var s=e+n,o=t+r,u,f;return!Ht(i)||!i.r?u=Mn.prototype.symbols.square.apply(0,arguments):(f=a(i.r,n,r),u=[$,e+f,t,J,s-f,t,"wa",s-2*f,t,s,t+2*f,s-f,t,s,t+f,J,s,o-f,"wa",s-2*f,o-2*f,s,o,s,o-f,s-f,o,J,e+f,o,"wa",e,o-2*f,e+2*f,o,e+f,o,e,o-f,J,e,t+f,"wa",e,t,e+2*f,t+2*f,e,t+f,e+f,t,"x","e"]),u}}};xt.VMLRenderer=_n=function(){this.init.apply(this,arguments)},_n.prototype=Nt(Mn.prototype,Pn),N=_n}Mn.prototype.measureSpanWidth=function(e,n){var r=t.createElement("span"),i,s=t.createTextNode(e);return r.appendChild(s),It(r,n),this.box.appendChild(r),i=r.offsetWidth,en(r),i};var Hn,Bn;T&&(xt.CanVGRenderer=Hn=function(){E="http://www.w3.org/1999/xhtml"},Hn.prototype.symbols={},Bn=function(){function t(){var t=e.length,n;for(n=0;nb[y]?b[y]=a+p:w||(r=!1);if(w){E=i.justifyToPlot,d=E?i.pos:0,v=E?d+i.len:i.chart.chartWidth;do t+=s?1:-1,m=i.ticks[l[t]];while(l[t]&&(!m||m.label.line!==y));g=m&&m.label.xy&&m.label.xy.x+m.getLabelSides()[s?0:1],s&&!f||o&&f?a+hg&&(r=!1)):a+p>v&&(a=v-p,m&&a+h0&&t.height>0?(s=Nt({align:n&&h&&"center",x:n?!h&&4:10,verticalAlign:!n&&h&&"middle",y:n?h?16:10:h?6:-4,rotation:n&&!h&&90},s),o||(e.label=o=k.text(s.text,0,0,s.useHTML).attr({align:s.textAlign||s.align,rotation:s.rotation,zIndex:T}).css(s.style).add()),b=[m[1],m[4],Ft(m[6],m[1])],w=[m[2],m[5],Ft(m[7],m[2])],E=Gt(b),S=Gt(w),o.align(s,!1,{x:E,y:S,width:Yt(b)-E,height:Yt(w)-S}),o.show()):o&&o.hide(),e},destroy:function(){Pt(this.axis.plotLinesAndBands,this),delete this.axis,Zt(this)}},ut={getPlotBandPath:function(e,t){var n=this.getPlotLinePath(t),r=this.getPlotLinePath(e);return r&&n?r.push(n[4],n[5],n[1],n[2]):r=null,r},addPlotBand:function(e){this.addPlotBandOrLine(e,"plotBands")},addPlotLine:function(e){this.addPlotBandOrLine(e,"plotLines")},addPlotBandOrLine:function(e,t){var n=(new xt.PlotLineOrBand(this,e)).render(),r=this.userOptions;return n&&(t&&(r[t]=r[t]||[],r[t].push(e)),this.plotLinesAndBands.push(n)),n},removePlotBandOrLine:function(e){var t=this.plotLinesAndBands,n=this.options,r=this.userOptions,i=t.length;while(i--)t[i].id===e&&t[i].destroy();ln([n.plotLines||[],r.plotLines||[],n.plotBands||[],r.plotBands||[]],function(t){i=t.length;while(i--)t[i].id===e&&Pt(t,t[i])})}},Fn.prototype={defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,gridLineColor:"#C0C0C0",labels:wn,lineColor:"#C0D0E0",lineWidth:1,minPadding:.01,maxPadding:.01,minorGridLineColor:"#E0E0E0",minorGridLineWidth:1,minorTickColor:"#A0A0A0",minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickColor:"#C0D0E0",tickLength:5,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",tickWidth:1,title:{align:"middle",style:{color:"#4d759e",fontWeight:"bold"}},type:"linear"},defaultYAxisOptions:{endOnTick:!0,gridLineWidth:1,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8,y:3},lineWidth:0,maxPadding:.05,minPadding:.05,startOnTick:!0,tickWidth:0,title:{rotation:270,text:"Values"},stackLabels:{enabled:!1,formatter:function(){return Ut(this.total,-1)},style:wn.style}},defaultLeftAxisOptions:{labels:{x:-8,y:null},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:8,y:null},title:{rotation:90}},defaultBottomAxisOptions:{labels:{x:0,y:14},title:{rotation:0}},defaultTopAxisOptions:{labels:{x:0,y:-5},title:{rotation:0}},init:function(t,n){var r=n.isX,i=this;i.horiz=t.inverted?!r:r,i.isXAxis=r,i.coll=r?"xAxis":"yAxis",i.opposite=n.opposite,i.side=n.side||(i.horiz?i.opposite?0:2:i.opposite?1:3),i.setOptions(n);var s=this.options,o=s.type,u=o==="datetime";i.labelFormatter=s.labels.formatter||i.defaultLabelFormatter,i.userOptions=n,i.minPixelPadding=0,i.chart=t,i.reversed=s.reversed,i.zoomEnabled=s.zoomEnabled!==!1,i.categories=s.categories||o==="category",i.names=[],i.isLog=o==="logarithmic",i.isDatetimeAxis=u,i.isLinked=Ht(s.linkedTo),i.tickmarkOffset=i.categories&&s.tickmarkPlacement==="between"?.5:0,i.ticks={},i.labelEdge=[],i.minorTicks={},i.plotLinesAndBands=[],i.alternateBands={},i.len=0,i.minRange=i.userMinRange=s.minRange||s.maxZoom,i.range=s.range,i.offset=s.offset||0,i.stacks={},i.oldStacks={},i.max=null,i.min=null,i.crosshair=Ft(s.crosshair,jt(t.options.tooltip.crosshairs)[r?0:1],!1);var a,f=i.options.events;fn(i,t.axes)===-1&&(r&&!this.isColorAxis?t.axes.splice(t.xAxis.length,0,i):t.axes.push(i),t[i.coll].push(i)),i.series=i.series||[],t.inverted&&r&&i.reversed===e&&(i.reversed=!0),i.removePlotBand=i.removePlotBandOrLine,i.removePlotLine=i.removePlotBandOrLine;for(a in f)dn(i,a,f[a]);i.isLog&&(i.val2lin=_t,i.lin2val=Dt)},setOptions:function(e){this.options=Nt(this.defaultOptions,this.isXAxis?{}:this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],Nt(O[this.coll],e))},defaultLabelFormatter:function(){var t=this.axis,n=this.value,r=t.categories,i=this.dateTimeLabelFormat,s=O.lang.numericSymbols,o=s&&s.length,u,a,f=t.options.labels.format,l=t.isLog?n:t.tickInterval;if(f)a=Vt(f,this);else if(r)a=n;else if(i)a=M(i,n);else if(o&&l>=1e3)while(o--&&a===e)u=Math.pow(1e3,o+1),l>=u&&s[o]!==null&&(a=Ut(n/u,-1)+s[o]);return a===e&&(n>=1e4?a=Ut(n,0):a=Ut(n,-1,e,"")),a},getSeriesExtremes:function(){var e=this,t=e.chart;e.hasVisibleSeries=!1,e.dataMin=e.dataMax=null,e.buildStacks&&e.buildStacks(),ln(e.series,function(n){if(n.visible||!t.options.chart.ignoreHiddenSeries){var r=n.options,i,s=r.threshold,o,f;e.hasVisibleSeries=!0,e.isLog&&s<=0&&(s=null),e.isXAxis?(i=n.xData,i.length&&(e.dataMin=a(Ft(e.dataMin,i[0]),Gt(i)),e.dataMax=u(Ft(e.dataMax,i[0]),Yt(i)))):(n.getExtremes(),f=n.dataMax,o=n.dataMin,Ht(o)&&Ht(f)&&(e.dataMin=a(Ft(e.dataMin,o),o),e.dataMax=u(Ft(e.dataMax,f),f)),Ht(s)&&(e.dataMin>=s?(e.dataMin=s,e.ignoreMinPadding=!0):e.dataMaxa+o.width)m=!0}else{l=a,h=v-o.right;if(cf+o.height)m=!0}return m&&!r?null:u.renderer.crispLine([$,l,c,J,h,p],t||1)},getLinearTickPositions:function(e,t,n){var r,i,u=nn(s(t/e)*e),a=nn(o(n/e)*e),f=[];r=u;while(r<=a){f.push(r),r=nn(r+e);if(r===i)break;i=r}return f},getMinorTickPositions:function(){var e=this,t=e.options,n=e.tickPositions,r=e.minorTickInterval,i=[],s,o,u;if(e.isLog){u=n.length;for(o=1;o=t.minRange,u,f,l,c,h,p,d;t.isXAxis&&t.minRange===e&&!t.isLog&&(Ht(n.min)||Ht(n.max)?t.minRange=null:(ln(t.series,function(t){c=t.xData,h=t.xIncrement?1:c.length-1;for(f=h;f>0;f--){l=c[f]-c[f-1];if(u===e||ln&&(f=0),r=u(r,f),s=u(s,Lt(l)?0:f/2),o=u(o,l==="on"?0:f),!e.noSharedTooltip&&Ht(h)&&(i=Ht(i)?a(i,h):h)}),l=t.ordinalSlope&&i?t.ordinalSlope/i:1,t.minPointOffset=s*=l,t.pointRangePadding=o*=l,t.pointRange=a(r,n),t.closestPointRange=i;e&&(t.oldTransA=h),t.translationSlope=t.transA=h=t.len/(n+o||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=h*s},setTickPositions:function(e){var t=this,n=t.chart,r=t.options,i=t.isLog,s=t.isDatetimeAxis,o=t.isXAxis,l=t.isLinked,c=t.options.tickPositioner,h=r.maxPadding,p=r.minPadding,d,v,m=r.tickInterval,g=r.minTickInterval,y=r.tickPixelInterval,b,w,E=t.categories;l?(t.linkedParent=n[t.coll][r.linkedTo],v=t.linkedParent.getExtremes(),t.min=Ft(v.min,v.dataMin),t.max=Ft(v.max,v.dataMax),r.type!==t.linkedParent.options.type&&tn(11,1)):(t.min=Ft(t.userMin,r.min,t.dataMin),t.max=Ft(t.userMax,r.max,t.dataMax)),i&&(!e&&a(t.min,Ft(t.dataMin,t.min))<=0&&tn(10,1),t.min=nn(_t(t.min)),t.max=nn(_t(t.max))),t.range&&Ht(t.max)&&(t.userMin=t.min=u(t.min,t.max-t.range),t.userMax=t.max,t.range=null),t.beforePadding&&t.beforePadding(),t.adjustForMinRange(),!E&&!t.axisPointRange&&!t.usePercentage&&!l&&Ht(t.min)&&Ht(t.max)&&(d=t.max-t.min,d&&(!Ht(r.min)&&!Ht(t.userMin)&&p&&(t.dataMin<0||!t.ignoreMinPadding)&&(t.min-=d*p),!Ht(r.max)&&!Ht(t.userMax)&&h&&(t.dataMax>0||!t.ignoreMaxPadding)&&(t.max+=d*h))),t.min===t.max||t.min===undefined||t.max===undefined?t.tickInterval=1:l&&!m&&y===t.linkedParent.options.tickPixelInterval?t.tickInterval=t.linkedParent.tickInterval:(t.tickInterval=Ft(m,E?1:(t.max-t.min)*y/u(t.len,y)),!Ht(m)&&t.lenu(2*t.len,200)&&tn(19,!0),s?b=t.getTimeTicks(t.normalizeTimeTickInterval(t.tickInterval,r.units),t.min,t.max,r.startOfWeek,t.ordinalPositions,t.closestPointRange,!0):i?b=t.getLogTickPositions(t.tickInterval,t.min,t.max):b=t.getLinearTickPositions(t.tickInterval,t.min,t.max),w&&b.splice(1,b.length-2),t.tickPositions=b);if(!l){var S=b[0],x=b[b.length-1],T=t.minPointOffset||0,N;r.startOnTick?t.min=S:t.min-T>S&&b.shift(),r.endOnTick?t.max=x:t.max+T(t[r]||0)&&this.options.alignTicks!==!1&&(t[r]=n.length),e.maxTicks=t},adjustTickAmount:function(){var t=this,n=t.chart,r=t._maxTicksKey,i=t.tickPositions,s=n.maxTicks;if(s&&s[r]&&!t.isDatetimeAxis&&!t.categories&&!t.isLinked&&t.options.alignTicks!==!1&&this.min!==e){var o=t.tickAmount,u=i.length,a;t.tickAmount=a=s[r];if(u=u(i,Ft(s.max,i))&&(n=e)),this.displayBtn=t!==e||n!==e,this.setExtremes(t,n,!1,e,{trigger:"zoom"}),!0},setAxisSize:function(){var e=this.chart,t=this.options,n=t.offsetLeft||0,r=t.offsetRight||0,i=this.horiz,s,o,a,f;this.left=f=Ft(t.left,e.plotLeft+n),this.top=a=Ft(t.top,e.plotTop),this.width=s=Ft(t.width,e.plotWidth-n+r),this.height=o=Ft(t.height,e.plotHeight),this.bottom=e.chartHeight-o-a,this.right=e.chartWidth-s-f,this.len=u(i?s:o,0),this.pos=i?f:a},getExtremes:function(){var e=this,t=e.isLog;return{min:t?nn(Dt(e.min)):e.min,max:t?nn(Dt(e.max)):e.max,dataMin:e.dataMin,dataMax:e.dataMax,userMin:e.userMin,userMax:e.userMax}},getThreshold:function(e){var t=this,n=t.isLog,r=n?Dt(t.min):t.min,i=n?Dt(t.max):t.max;return r>e||e===null?e=r:i15&&n<165?t="right":n>195&&n<345?t="left":t="center",t},getOffset:function(){var t=this,n=t.chart,r=n.renderer,i=t.options,o=t.tickPositions,a=t.ticks,f=t.horiz,l=t.side,c=n.inverted?[1,0,3,2][l]:l,h,p,d=0,v,m=0,g=i.title,y=i.labels,b=0,w=n.axisOffset,E=n.clipOffset,S=[-1,1,1,-1][l],x,T,N=1,C=Ft(y.maxStaggerLines,5),k,L,A,O,M,_,D,P;t.hasData=h=t.hasVisibleSeries||Ht(t.min)&&Ht(t.max)&&!!o,t.showAxis=p=h||Ft(i.showEmpty,!0),t.staggerLines=t.horiz&&y.staggerLines,t.axisGroup||(t.gridGroup=r.g("grid").attr({zIndex:i.gridZIndex||1}).add(),t.axisGroup=r.g("axis").attr({zIndex:i.zIndex||2}).add(),t.labelGroup=r.g("axis-labels").attr({zIndex:y.zIndex||7}).addClass(z+t.coll.toLowerCase()+"-labels").add());if(h||t.isLinked){t.labelAlign=Ft(y.align||t.autoLabelAlign(y.rotation)),ln(o,function(e){a[e]?a[e].addLabel():a[e]=new jn(t,e)});if(t.horiz&&!t.staggerLines&&C&&!y.rotation){k=t.reversed?[].concat(o).reverse():o;while(N1&&(t.staggerLines=N)}ln(o,function(e){if(l===0||l===2||{1:"left",3:"right"}[l]===t.labelAlign)b=u(a[e].getLabelSize(),b)}),t.staggerLines&&(b*=t.staggerLines,t.labelOffset=b)}else for(x in a)a[x].destroy(),delete a[x];g&&g.text&&g.enabled!==!1&&(t.axisTitle||(t.axisTitle=r.text(g.text,0,0,g.useHTML).attr({zIndex:7,rotation:g.rotation||0,align:g.textAlign||{low:"left",middle:"center",high:"right"}[g.align]}).addClass(z+this.coll.toLowerCase()+"-title").css(g.style).add(t.axisGroup),t.axisTitle.isNew=!0),p&&(d=t.axisTitle.getBBox()[f?"height":"width"],m=Ft(g.margin,f?5:10),v=g.offset),t.axisTitle[p?"show":"hide"]()),t.offset=S*Ft(i.offset,w[l]),t.axisTitleMargin=Ft(v,b+m+(l!==2&&b&&S*i.labels[f?"y":"x"])),w[l]=u(w[l],t.axisTitleMargin+d+S*t.offset),E[c]=u(E[c],s(i.lineWidth/2)*2)},getLinePath:function(e){var t=this.chart,n=this.opposite,r=this.offset,i=this.horiz,s=this.left+(n?this.width:0)+r,o=t.chartHeight-this.bottom-(n?this.height:0)+r;return n&&(e*=-1),t.renderer.crispLine([$,i?this.left:s,i?o:this.top,J,i?t.chartWidth-this.right:s,i?o:t.chartHeight-this.bottom],e)},getTitlePosition:function(){var e=this.horiz,t=this.left,n=this.top,r=this.len,i=this.options.title,s=e?t:n,o=this.opposite,u=this.offset,a=kt(i.style.fontSize||12),f={low:s+(e?0:r),middle:s+r/2,high:s+(e?r:0)}[i.align],l=(e?n+this.height:t)+(e?1:-1)*(o?-1:1)*this.axisTitleMargin+(this.side===2?a:0);return{x:e?f:l+(o?this.width:0)+u+(i.x||0),y:e?l-(o?this.height:0)+u:f+(i.y||0)}},render:function(){var t=this,n=t.horiz,r=t.reversed,i=t.chart,s=i.renderer,o=t.options,u=t.isLog,a=t.isLinked,f=t.tickPositions,l,c=t.axisTitle,h=t.ticks,p=t.minorTicks,d=t.alternateBands,v=o.stackLabels,m=o.alternateGridColor,g=t.tickmarkOffset,y=o.lineWidth,b,w=i.hasRendered,E=w&&Ht(t.oldMin)&&!isNaN(t.oldMin),S=t.hasData,x=t.showAxis,T,N=o.labels.overflow,C=t.justifyLabels=n&&N!==!1,k;t.labelEdge.length=0,t.justifyToPlot=N==="justify",ln([h,p,d],function(e){var t;for(t in e)e[t].isActive=!1});if(S||a)t.minorTickInterval&&!t.categories&&ln(t.getMinorTickPositions(),function(e){p[e]||(p[e]=new jn(t,e,"minor")),E&&p[e].isNew&&p[e].render(null,!0),p[e].render(null,!1,1)}),f.length&&(l=f.slice(),(n&&r||!n&&!r)&&l.reverse(),C&&(l=l.slice(1).concat([l[0]])),ln(l,function(e,n){C&&(n=n===l.length-1?0:n+1);if(!a||e>=t.min&&e<=t.max)h[e]||(h[e]=new jn(t,e)),E&&h[e].isNew&&h[e].render(n,!0,.1),h[e].render(n,!1,1)}),g&&t.min===0&&(h[-1]||(h[-1]=new jn(t,-1,null,!0)),h[-1].render(-1))),m&&ln(f,function(n,r){r%2===0&&n=P[et]&&(l.setMilliseconds(0),l.setSeconds(c>=P[tt]?0:h*s(l.getSeconds()/h))),c>=P[tt]&&l[gt](c>=P[nt]?0:h*s(l[ct]()/h)),c>=P[nt]&&l[yt](c>=P[rt]?0:h*s(l[ht]()/h)),c>=P[rt]&&l[bt](c>=P[st]?1:h*s(l[dt]()/h)),c>=P[st]&&(l[wt](c>=P[ot]?0:h*s(l[vt]()/h)),f=l[mt]()),c>=P[ot]&&(f-=f%h,l[Et](f)),c===P[it]&&l[bt](l[dt]()-l[pt]()+Ft(r,1)),o=1,lt&&(l=new Date(l.getTime()+lt)),f=l[mt]();var p=l.getTime(),d=l[vt](),v=l[dt](),m=a?lt:(864e5+l.getTimezoneOffset()*60*1e3)%864e5;while(p=.5)e=i(e),f=o.getLinearTickPositions(e,t,n);else if(e>=.08){var l=s(t),c,h,p,d,v,m,g;e>.3?c=[1,2,4]:e>.15?c=[1,2,4,6,8]:c=[1,2,3,4,5,6,7,8,9];for(h=l;ht&&(!r||m<=n)&&f.push(m),m>n&&(g=!0),m=v}}else{var y=Dt(t),b=Dt(n),w=u[r?"minorTickInterval":"tickInterval"],E=w==="auto"?null:w,S=u.tickPixelInterval/(r?5:1),x=r?a/o.tickPositions.length:a;e=Ft(E,o._minorAutoInterval,(b-y)*S/(x||1)),e=Jt(e,null,$t(e)),f=pn(o.getLinearTickPositions(e,y,b),_t),r||(o._minorAutoInterval=e/5)}return r||(o.tickInterval=e),f};var In=xt.Tooltip=function(){this.init.apply(this,arguments)};In.prototype={init:function(e,t){var n=t.borderWidth,r=t.style,i=kt(r.padding);this.chart=e,this.options=t,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.label=e.renderer.label("",0,0,t.shape,null,null,t.useHTML,null,"tooltip").attr({padding:i,fill:t.backgroundColor,"stroke-width":n,r:t.borderRadius,zIndex:8}).css(r).css({padding:0}).add().attr({y:-9999}),T||this.label.shadow(t.shadow),this.shared=t.shared},destroy:function(){this.label&&(this.label=this.label.destroy()),clearTimeout(this.hideTimer),clearTimeout(this.tooltipTimeout)},move:function(e,t,n,r){var i=this,s=i.now,o=i.options.animation!==!1&&!i.isHidden;Tt(s,{x:o?(2*s.x+e)/3:e,y:o?(s.y+t)/2:t,anchorX:o?(2*s.anchorX+n)/3:n,anchorY:o?(s.anchorY+r)/2:r}),i.label.attr(s),o&&(f(e-s.x)>1||f(t-s.y)>1)&&(clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){i&&i.move(e,t,n,r)},32))},hide:function(){var e=this,t;clearTimeout(this.hideTimer),this.isHidden||(t=this.chart.hoverPoints,this.hideTimer=setTimeout(function(){e.label.fadeOut(),e.isHidden=!0},Ft(this.options.hideDelay,500)),t&&ln(t,function(e){e.setState()}),this.chart.hoverPoints=null)},getAnchor:function(t,n){var r,s=this.chart,o=s.inverted,u=s.plotTop,a=0,f=0,l;return t=jt(t),r=t[0].tooltipPos,this.followPointer&&n&&(n.chartX===e&&(n=s.pointer.normalize(n)),r=[n.chartX-s.plotLeft,n.chartY-u]),r||(ln(t,function(e){l=e.series.yAxis,a+=e.plotX,f+=(e.plotLow?(e.plotLow+e.plotHigh)/2:e.plotY)+(!o&&l?l.top-u:0)}),a/=t.length,f/=t.length,r=[o?s.plotWidth-f:a,this.shared&&!o&&t.length>1&&n?n.chartY-u:o?s.plotHeight-a:f]),pn(r,i)},getPosition:function(e,t,n){var r=this.chart,i=r.plotLeft,s=r.plotTop,o=r.plotWidth,a=r.plotHeight,f=Ft(this.options.distance,12),l=isNaN(n.plotX)?0:n.plotX,c=n.plotY,h=l+i+(r.inverted?f:-e-f),p=c-t+s+15,d;return h<7&&(h=i+u(l,0)+f),h+e>i+o&&(h-=h+e-(i+o),p=c-t+s-f,d=!0),p=p&&c<=p+t&&(p=c+s+f)),p+t>s+a&&(p=u(s,s+a-t-f)),{x:h,y:p}},defaultFormatter:function(e){var t=this.points||jt(this),n=t[0].series,r;return r=[e.tooltipHeaderFormatter(t[0])],ln(t,function(e){n=e.series,r.push(n.tooltipFormatter&&n.tooltipFormatter(e)||e.point.tooltipFormatter(n.tooltipOptions.pointFormat))}),r.push(e.options.footerFormat||""),r.join("")},refresh:function(e,t){var n=this,r=n.chart,i=n.label,s=n.options,o,u,a,f={},l,c=[],h=s.formatter||n.defaultFormatter,p=r.hoverPoints,d,v=n.shared,m;clearTimeout(this.hideTimer),n.followPointer=jt(e)[0].series.tooltipOptions.followPointer,a=n.getAnchor(e,t),o=a[0],u=a[1],v&&(!e.series||!e.series.noSharedTooltip)?(r.hoverPoints=e,p&&ln(p,function(e){e.setState()}),ln(e,function(e){e.setState(G),c.push(e.getLabelConfig())}),f={x:e[0].category,y:e[0].y},f.points=c,e=e[0]):f=e.getLabelConfig(),l=h.call(f,n),m=e.series,l===!1?this.hide():(n.isHidden&&(bn(i),i.attr("opacity",1).show()),i.attr({text:l}),d=s.borderColor||e.color||m.color||"#606060",i.attr({stroke:d}),n.updatePosition({plotX:o,plotY:u}),this.isHidden=!1),mn(r,"tooltipRefresh",{text:l,x:o+r.plotLeft,y:u+r.plotTop,borderColor:d})},updatePosition:function(e){var t=this.chart,n=this.label,r=(this.options.positioner||this.getPosition).call(this,n.width,n.height,e);this.move(i(r.x),i(r.y),e.plotX+t.plotLeft,e.plotY+t.plotTop)},tooltipHeaderFormatter:function(e){var t=e.series,n=t.tooltipOptions,r=n.dateTimeLabelFormats,i=n.xDateFormat,s=t.xAxis,o=s&&s.options.type==="datetime"&&Mt(e.key),u=n.headerFormat,a=s&&s.closestPointRange,f;if(o&&!i){if(a){for(f in P)if(P[f]>=a||P[f]<=P[rt]&&e.key%P[f]>0){i=r[f];break}}else i=r.day;i=i||r.year}return o&&i&&(u=u.replace("{point.key}","{point.key:"+i+"}")),Vt(u,{point:e,series:t})}};var qn;C=t.documentElement.ontouchstart!==e;var Rn=xt.Pointer=function(e,t){this.init(e,t)};Rn.prototype={init:function(e,t){var n=t.chart,r=n.events,i=T?"":n.zoomType,s=e.inverted,o,u;this.options=t,this.chart=e,this.zoomX=o=/x/.test(i),this.zoomY=u=/y/.test(i),this.zoomHor=o&&!s||u&&s,this.zoomVert=u&&!s||o&&s,this.runChartClick=r&&!!r.click,this.pinchDown=[],this.lastValidTouch={},xt.Tooltip&&t.tooltip.enabled&&(e.tooltip=new In(e,t.tooltip)),this.setDOMEvents()},normalize:function(t,r){var s,o,a;return t=t||n.event,t=gn(t),t.target||(t.target=t.srcElement),a=t.touches?t.touches.item(0):t,r||(this.chartPosition=r=hn(this.chart.container)),a.pageX===e?(s=u(t.x,t.clientX-r.left),o=t.y):(s=a.pageX-r.left,o=a.pageY-r.top),Tt(t,{chartX:i(s),chartY:i(o)})},getCoordinates:function(e){var t={xAxis:[],yAxis:[]};return ln(this.chart.axes,function(n){t[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(e[n.horiz?"chartX":"chartY"])})}),t},getIndex:function(e){var t=this.chart;return t.inverted?t.plotHeight+t.plotTop-e.chartY:e.chartX-t.plotLeft},runPointActions:function(e){var n=this,r=n.chart,i=r.series,s=r.tooltip,o,u,l=r.hoverPoint,c=r.hoverSeries,h,p,d=r.chartWidth,v=n.getIndex(e),m;if(s&&n.options.tooltip.shared&&(!c||!c.noSharedTooltip)){u=[],h=i.length;for(p=0;pd&&u.splice(h,1);u.length&&u[0].clientX!==n.hoverX&&(s.refresh(u,e),n.hoverX=u[0].clientX)}c&&c.tracker&&(!s||!s.followPointer)?(o=c.tooltipPoints[v],o&&o!==l&&o.onMouseOver(e)):s&&s.followPointer&&!s.isHidden&&(m=s.getAnchor([{}],e),s.updatePosition({plotX:m[0],plotY:m[1]})),s&&!n._onDocumentMouseMove&&(n._onDocumentMouseMove=function(e){Ht(qn)&&B[qn].pointer.onDocumentMouseMove(e)},dn(t,"mousemove",n._onDocumentMouseMove)),ln(r.axes,function(t){t.drawCrosshair(e,Ft(o,l))})},reset:function(n){var r=this,i=r.chart,s=i.hoverSeries,o=i.hoverPoint,u=i.tooltip,a=u&&u.shared?i.hoverPoints:o;n=n&&u&&a,n&&jt(a)[0].plotX===e&&(n=!1),n?(u.refresh(a),o&&o.setState(o.state,!0)):(o&&o.onMouseOut(),s&&s.onMouseOut(),u&&u.hide(),r._onDocumentMouseMove&&(vn(t,"mousemove",r._onDocumentMouseMove),r._onDocumentMouseMove=null),ln(i.axes,function(e){e.hideCrosshair()}),r.hoverX=null)},scaleGroups:function(e,t){var n=this.chart,r;ln(n.series,function(i){r=e||i.getPlotBox(),i.xAxis&&i.xAxis.zoomEnabled&&(i.group.attr(r),i.markerGroup&&(i.markerGroup.attr(r),i.markerGroup.clip(t?n.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(r))}),n.clipRect.attr(t||n.clipBox)},dragStart:function(e){var t=this.chart;t.mouseIsDown=e.type,t.cancelClick=!1,t.mouseDownX=this.mouseDownX=e.chartX,t.mouseDownY=this.mouseDownY=e.chartY},drag:function(e){var t=this.chart,n=t.options.chart,r=e.chartX,i=e.chartY,s=this.zoomHor,o=this.zoomVert,u=t.plotLeft,a=t.plotTop,l=t.plotWidth,c=t.plotHeight,h,p,d=this.mouseDownX,v=this.mouseDownY;ru+l&&(r=u+l),ia+c&&(i=a+c),this.hasDragged=Math.sqrt(Math.pow(d-r,2)+Math.pow(v-i,2)),this.hasDragged>10&&(h=t.isInsidePlot(d-u,v-a),t.hasCartesianSeries&&(this.zoomX||this.zoomY)&&h&&(this.selectionMarker||(this.selectionMarker=t.renderer.rect(u,a,s?1:l,o?1:c,0).attr({fill:n.selectionMarkerFill||"rgba(69,114,167,0.25)",zIndex:7}).add())),this.selectionMarker&&s&&(p=r-d,this.selectionMarker.attr({width:f(p),x:(p>0?0:p)+d})),this.selectionMarker&&o&&(p=i-v,this.selectionMarker.attr({height:f(p),y:(p>0?0:p)+v})),h&&!this.selectionMarker&&n.panning&&t.pan(e,n.panning))},drop:function(e){var t=this.chart,n=this.hasPinched;if(this.selectionMarker){var r={xAxis:[],yAxis:[],originalEvent:e.originalEvent||e},i=this.selectionMarker,s=i.x,o=i.y,f;if(this.hasDragged||n)ln(t.axes,function(e){if(e.zoomEnabled){var t=e.horiz,n=e.toValue(t?s:o),l=e.toValue(t?s+i.width:o+i.height);!isNaN(n)&&!isNaN(l)&&(r[e.coll].push({axis:e,min:a(n,l),max:u(n,l)}),f=!0)}}),f&&mn(t,"selection",r,function(e){t.zoom(Tt(e,n?{animation:!1}:null))});this.selectionMarker=this.selectionMarker.destroy(),n&&this.scaleGroups()}t&&(It(t.container,{cursor:t._cursor}),t.cancelClick=this.hasDragged>10,t.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},onContainerMouseDown:function(e){e=this.normalize(e),e.preventDefault&&e.preventDefault(),this.dragStart(e)},onDocumentMouseUp:function(e){Ht(qn)&&B[qn].pointer.drop(e)},onDocumentMouseMove:function(e){var t=this.chart,n=this.chartPosition,r=t.hoverSeries;e=this.normalize(e,n),n&&r&&!this.inClass(e.target,"highcharts-tracker")&&!t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop)&&this.reset()},onContainerMouseLeave:function(){var e=B[qn];e&&(e.pointer.reset(),e.pointer.chartPosition=null),qn=null},onContainerMouseMove:function(e){var t=this.chart;qn=t.index,e=this.normalize(e),t.mouseIsDown==="mousedown"&&this.drag(e),(this.inClass(e.target,"highcharts-tracker")||t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop))&&!t.openMenu&&this.runPointActions(e)},inClass:function(e,t){var n;while(e){n=Bt(e,"class");if(n){if(n.indexOf(t)!==-1)return!0;if(n.indexOf(z+"container")!==-1)return!1}e=e.parentNode}},onTrackerMouseOut:function(e){var t=this.chart.hoverSeries,n=e.relatedTarget||e.toElement,r=n&&n.point&&n.point.series;t&&!t.options.stickyTracking&&!this.inClass(n,z+"tooltip")&&r!==t&&t.onMouseOut()},onContainerClick:function(e){var t=this.chart,n=t.hoverPoint,r=t.plotLeft,i=t.plotTop,s=t.inverted,o,u,a;e=this.normalize(e),e.cancelBubble=!0,t.cancelClick||(n&&this.inClass(e.target,z+"tracker")?(o=this.chartPosition,u=n.plotX,a=n.plotY,Tt(n,{pageX:o.left+r+(s?t.plotWidth-a:u),pageY:o.top+i+(s?t.plotHeight-u:a)}),mn(n.series,"click",Tt(e,{point:n})),t.hoverPoint&&n.firePointEvent("click",e)):(Tt(e,this.getCoordinates(e)),t.isInsidePlot(e.chartX-r,e.chartY-i)&&mn(t,"click",e)))},setDOMEvents:function(){var e=this,n=e.chart.container;n.onmousedown=function(t){e.onContainerMouseDown(t)},n.onmousemove=function(t){e.onContainerMouseMove(t)},n.onclick=function(t){e.onContainerClick(t)},dn(n,"mouseleave",e.onContainerMouseLeave),dn(t,"mouseup",e.onDocumentMouseUp),C&&(n.ontouchstart=function(t){e.onContainerTouchStart(t)},n.ontouchmove=function(t){e.onContainerTouchMove(t)},dn(t,"touchend",e.onDocumentTouchEnd))},destroy:function(){var e;vn(this.chart.container,"mouseleave",this.onContainerMouseLeave),vn(t,"mouseup",this.onDocumentMouseUp),vn(t,"touchend",this.onDocumentTouchEnd),clearInterval(this.tooltipTimeout);for(e in this)this[e]=null}},Tt(xt.Pointer.prototype,{pinchTranslate:function(e,t,n,r,i,s,o,u){e&&this.pinchTranslateDirection(!0,n,r,i,s,o,u),t&&this.pinchTranslateDirection(!1,n,r,i,s,o,u)},pinchTranslateDirection:function(e,t,n,r,i,s,o,u){var a=this.chart,l=e?"x":"y",c=e?"X":"Y",h="chart"+c,p=e?"width":"height",d=a["plot"+(e?"Left":"Top")],v,m,g,y=u||1,b=a.inverted,w=a.bounds[e?"h":"v"],E=t.length===1,S=t[0][h],x=n[0][h],T=!E&&t[1][h],N=!E&&n[1][h],C,k,L,A=function(){!E&&f(S-T)>20&&(y=u||f(x-N)/f(S-T)),g=(d-x)/y+S,v=a["plot"+(e?"Width":"Height")]/y};A(),m=g,mw.max&&(m=w.max-v,C=!0),C?(x-=.8*(x-o[l][0]),E||(N-=.8*(N-o[l][1])),A()):o[l]=[x,N],b||(s[l]=g-d,s[p]=v),L=b?e?"scaleY":"scaleX":"scale"+c,k=b?1/y:y,i[p]=v,i[l]=m,r[L]=y,r["translate"+c]=k*d+(x-k*S)},pinch:function(e){var t=this,n=t.chart,r=t.pinchDown,i=n.tooltip&&n.tooltip.options.followTouchMove,s=e.touches,o=s.length,f=t.lastValidTouch,l=t.zoomHor||t.pinchHor,c=t.zoomVert||t.pinchVert,h=l||c,p=t.selectionMarker,d={},v=o===1&&(t.inClass(e.target,z+"tracker")&&n.runTrackerClick||n.runChartClick),m={};(h||i)&&!v&&e.preventDefault(),pn(s,function(e){return t.normalize(e)}),e.type==="touchstart"?(ln(s,function(e,t){r[t]={chartX:e.chartX,chartY:e.chartY}}),f.x=[r[0].chartX,r[1]&&r[1].chartX],f.y=[r[0].chartY,r[1]&&r[1].chartY],ln(n.axes,function(e){if(e.zoomEnabled){var t=n.bounds[e.horiz?"h":"v"],r=e.minPixelPadding,i=e.toPixels(e.dataMin),s=e.toPixels(e.dataMax),o=a(i,s),f=u(i,s);t.min=a(e.pos,o-r),t.max=u(e.pos+e.len,f+r)}})):r.length&&(p||(t.selectionMarker=p=Tt({destroy:H},n.plotBox)),t.pinchTranslate(l,c,r,s,d,p,m,f),t.hasPinched=h,t.scaleGroups(d,m),!h&&i&&o===1&&this.runPointActions(t.normalize(e)))},onContainerTouchStart:function(e){var t=this.chart;qn=t.index,e.touches.length===1?(e=this.normalize(e),t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop)?(this.runPointActions(e),this.pinch(e)):this.reset()):e.touches.length===2&&this.pinch(e)},onContainerTouchMove:function(e){(e.touches.length===1||e.touches.length===2)&&this.pinch(e)},onDocumentTouchEnd:function(e){Ht(qn)&&B[qn].pointer.drop(e)}});if(n.PointerEvent||n.MSPointerEvent){var Un={},zn=!!n.PointerEvent,Wn=function(){var e,t=[];t.item=function(e){return this[e]};for(e in Un)Un.hasOwnProperty(e)&&t.push({pageX:Un[e].pageX,pageY:Un[e].pageY,target:Un[e].target});return t},Xn=function(e,t,n,r){var i;e=e.originalEvent||e,(e.pointerType==="touch"||e.pointerType===e.MSPOINTER_TYPE_TOUCH)&&B[qn]&&(r(e),i=B[qn].pointer,i[t]({type:n,target:e.currentTarget,preventDefault:H,touches:Wn()}))};Tt(Rn.prototype,{onContainerPointerDown:function(e){Xn(e,"onContainerTouchStart","touchstart",function(e){Un[e.pointerId]={pageX:e.pageX,pageY:e.pageY,target:e.currentTarget}})},onContainerPointerMove:function(e){Xn(e,"onContainerTouchMove","touchmove",function(e){Un[e.pointerId]={pageX:e.pageX,pageY:e.pageY},Un[e.pointerId].target||(Un[e.pointerId].target=e.currentTarget)})},onDocumentPointerUp:function(e){Xn(e,"onContainerTouchEnd","touchend",function(e){delete Un[e.pointerId]})},batchMSEvents:function(e){e(this.chart.container,zn?"pointerdown":"MSPointerDown",this.onContainerPointerDown),e(this.chart.container,zn?"pointermove":"MSPointerMove",this.onContainerPointerMove),e(t,zn?"pointerup":"MSPointerUp",this.onDocumentPointerUp)}}),Wt(Rn.prototype,"init",function(e,t,n){It(t.container,{"-ms-touch-action":V,"touch-action":V}),e.call(this,t,n)}),Wt(Rn.prototype,"setDOMEvents",function(e){e.apply(this),this.batchMSEvents(dn)}),Wt(Rn.prototype,"destroy",function(e){this.batchMSEvents(vn),e.call(this)})}var Vn=xt.Legend=function(e,t){this.init(e,t)};Vn.prototype={init:function(e,t){var n=this,r=t.itemStyle,i=Ft(t.padding,8),s=t.itemMarginTop||0;this.options=t;if(!t.enabled)return;n.baseline=kt(r.fontSize)+3+s,n.itemStyle=r,n.itemHiddenStyle=Nt(r,t.itemHiddenStyle),n.itemMarginTop=s,n.padding=i,n.initialItemX=i,n.initialItemY=i-5,n.maxItemWidth=0,n.chart=e,n.itemHeight=0,n.lastLineHeight=0,n.symbolWidth=Ft(t.symbolWidth,16),n.pages=[],n.render(),dn(n.chart,"endResize",function(){n.positionCheckboxes()})},colorizeItem:function(t,n){var r=this,i=r.options,s=t.legendItem,o=t.legendLine,u=t.legendSymbol,a=r.itemHiddenStyle.color,f=n?i.itemStyle.color:a,l=n?t.legendColor||t.color||"#CCC":a,c=t.options&&t.options.marker,h={stroke:l,fill:l},p,d;s&&s.css({fill:f,color:f}),o&&o.attr({stroke:l});if(u){if(c&&u.isMarker){c=t.convertAttribs(c);for(p in c)d=c[p],d!==e&&(h[p]=d)}u.attr(h)}},positionItem:function(e){var t=this,n=t.options,r=n.symbolPadding,i=!n.rtl,s=e._legendItemPos,o=s[0],u=s[1],a=e.checkbox;e.legendGroup&&e.legendGroup.translate(i?o:t.legendWidth-o-2*r-4,u),a&&(a.x=o,a.y=u)},destroyItem:function(e){var t=e.checkbox;ln(["legendItem","legendLine","legendSymbol","legendGroup"],function(t){e[t]&&(e[t]=e[t].destroy())}),t&&en(e.checkbox)},destroy:function(){var e=this,t=e.group,n=e.box;n&&(e.box=n.destroy()),t&&(e.group=t.destroy())},positionCheckboxes:function(e){var t=this.group.alignAttr,n,r=this.clipHeight||this.legendHeight;t&&(n=t.translateY,ln(this.allItems,function(i){var s=i.checkbox,o;s&&(o=n+s.y+(e||0)+3,It(s,{left:t.translateX+i.legendItemWidth+s.x-20+X,top:o+X,display:o>n-6&&o(m||n.chartWidth-2*h-b-s.x)&&(t.itemX=b,t.itemY+=y+t.lastLineHeight+g,t.lastLineHeight=0),t.maxItemWidth=u(t.maxItemWidth,E),t.lastItemY=y+t.itemY+g,t.lastLineHeight=u(v,t.lastLineHeight),e._legendItemPos=[t.itemX,t.itemY],o?t.itemX+=E:(t.itemY+=y+v+g,t.lastLineHeight=v),t.offsetWidth=m||u((o?t.itemX-b-p:E)+h,t.offsetWidth)},getAllItems:function(){var t=[];return ln(this.chart.series,function(n){var r=n.options;if(!Ft(r.showInLegend,Ht(r.linkedTo)?!1:e,!0))return;t=t.concat(n.legendItems||(r.legendType==="point"?n.data:n))}),t},render:function(){var e=this,t=e.chart,n=t.renderer,r=e.group,i,s,o,u,a=e.box,f=e.options,l=e.padding,c=f.borderWidth,h=f.backgroundColor;e.itemX=e.initialItemX,e.itemY=e.initialItemY,e.offsetWidth=0,e.lastItemY=0,r||(e.group=r=n.g("legend").attr({zIndex:7}).add(),e.contentGroup=n.g().attr({zIndex:1}).add(r),e.scrollGroup=n.g().add(e.contentGroup)),e.renderTitle(),i=e.getAllItems(),Qt(i,function(e,t){return(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)}),f.reversed&&i.reverse(),e.allItems=i,e.display=s=!!i.length,ln(i,function(t){e.renderItem(t)}),o=f.width||e.offsetWidth,u=e.lastItemY+e.lastLineHeight+e.titleHeight,u=e.handleOverflow(u);if(c||h)o+=l,u+=l,a?o>0&&u>0&&(a[a.isNew?"attr":"animate"](a.crisp({width:o,height:u})),a.isNew=!1):(e.box=a=n.rect(0,0,o,u,f.borderRadius,c||0).attr({stroke:f.borderColor,"stroke-width":c||0,fill:h||V}).add(r).shadow(f.shadow),a.isNew=!0),a[s?"show":"hide"]();e.legendWidth=o,e.legendHeight=u,ln(i,function(t){e.positionItem(t)}),s&&r.align(Tt({width:o,height:u},f),!0,"spacingBox"),t.isResizing||this.positionCheckboxes()},handleOverflow:function(e){var t=this,n=this.chart,r=n.renderer,s=this.options,o=s.y,u=s.verticalAlign==="top",f=n.spacingBox.height+(u?-o:o)-this.padding,l=s.maxHeight,c,h=this.clipRect,p=s.navigation,d=Ft(p.animation,!0),v=p.arrowSize||12,m=this.nav,g=this.pages,y,b=this.allItems;return s.layout==="horizontal"&&(f/=2),l&&(f=a(f,l)),g.length=0,e>f&&!s.useHTML?(this.clipHeight=c=f-20-this.titleHeight-this.padding,this.currentPage=Ft(this.currentPage,1),this.fullHeight=e,ln(b,function(e,t){var n=e._legendItemPos[1],r=i(e.legendItem.getBBox().height),s=g.length;if(!s||n-g[s-1]>c&&(y||n)!==g[s-1])g.push(y||n),s++;t===b.length-1&&n+r-g[s-1]>c&&g.push(n),n!==y&&(y=n)}),h||(h=t.clipRect=r.clipRect(0,this.padding,9999,0),t.contentGroup.clip(h)),h.attr({height:c}),m||(this.nav=m=r.g().attr({zIndex:1}).add(this.group),this.up=r.symbol("triangle",0,0,v,v).on("click",function(){t.scroll(-1,d)}).add(m),this.pager=r.text("",15,10).css(p.style).add(m),this.down=r.symbol("triangle-down",0,0,v,v).on("click",function(){t.scroll(1,d)}).add(m)),t.scroll(0),e=f):m&&(h.attr({height:n.chartHeight}),m.hide(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e},scroll:function(t,n){var r=this.pages,i=r.length,s=this.currentPage+t,o=this.clipHeight,u=this.options.navigation,a=u.activeColor,f=u.inactiveColor,l=this.pager,c=this.padding,h;s>i&&(s=i),s>0&&(n!==e&&rn(n,this.chart),this.nav.attr({translateX:c,translateY:o+this.padding+7+this.titleHeight,visibility:W}),this.up.attr({fill:s===1?f:a}).css({cursor:s===1?"default":"pointer"}),l.attr({text:s+"/"+i}),this.down.attr({x:18+this.pager.getBBox().width,fill:s===i?f:a}).css({cursor:s===i?"default":"pointer"}),h=-r[s-1]+this.initialItemY,this.scrollGroup.animate({translateY:h}),this.currentPage=s,this.positionCheckboxes(h))}};var $n=xt.LegendSymbolMixin={drawRectangle:function(e,t){var n=e.options.symbolHeight||12;t.legendSymbol=this.chart.renderer.rect(0,e.baseline-5-n/2,e.symbolWidth,n,Ft(e.options.symbolRadius,2)).attr({zIndex:3}).add(t.legendGroup)},drawLineMarker:function(e){var t=this.options,n=t.marker,r,s=e.options,o,u=e.symbolWidth,a=this.chart.renderer,f=this.legendGroup,l=e.baseline-i(a.fontMetrics(s.itemStyle.fontSize).b*.3),c;t.lineWidth&&(c={"stroke-width":t.lineWidth},t.dashStyle&&(c.dashstyle=t.dashStyle),this.legendLine=a.path([$,0,l,J,u,l]).attr(c).add(f)),n&&n.enabled&&(r=n.radius,this.legendSymbol=o=a.symbol(this.symbol,u/2-r,l-r,2*r,2*r).add(f),o.isMarker=!0)}};(/Trident\/7\.0/.test(d)||b)&&Wt(Vn.prototype,"positionItem",function(e,t){var n=this,r=function(){t._legendItemPos&&e.call(n,t)};n.chart.renderer.forExport?r():setTimeout(r)}),Jn.prototype={init:function(e,t){var n,r=e.series;e.series=null,n=Nt(O,e),n.series=e.series=r,this.userOptions=e;var i=n.chart;this.margin=this.splashArray("margin",i),this.spacing=this.splashArray("spacing",i);var s=i.events;this.bounds={h:{},v:{}},this.callback=t,this.isResizing=0,this.options=n,this.axes=[],this.series=[],this.hasCartesianSeries=i.showAxes;var o=this,u;o.index=B.length,B.push(o),i.reflow!==!1&&dn(o,"load",function(){o.initReflow()});if(s)for(u in s)dn(o,u,s[u]);o.xAxis=[],o.yAxis=[],o.animation=T?!1:Ft(i.animation,!0),o.pointCount=0,o.counters=new Kt,o.firstRender()},initSeries:function(e){var t=this,n=t.options.chart,r=e.type||n.type||n.defaultSeriesType,i,s=St[r];return s||tn(17,!0),i=new s,i.init(this,e),i},isInsidePlot:function(e,t,n){var r=n?t:e,i=n?e:t;return r>=0&&r<=this.plotWidth&&i>=0&&i<=this.plotHeight},adjustTickAmounts:function(){this.options.chart.alignTicks!==!1&&ln(this.axes,function(e){e.adjustTickAmount()}),this.maxTicks=null},redraw:function(e){var t=this,n=t.axes,r=t.series,i=t.pointer,s=t.legend,o=t.isDirtyLegend,u,a,f=t.isDirtyBox,l=r.length,c=l,h,p=t.renderer,d=p.isHidden(),v=[];rn(e,t),d&&t.cloneRenderTo(),t.layOutTitles();while(c--){h=r[c];if(h.options.stacking){u=!0;if(h.isDirty){a=!0;break}}}if(a){c=l;while(c--)h=r[c],h.options.stacking&&(h.isDirty=!0)}ln(r,function(e){e.isDirty&&e.options.legendType==="point"&&(o=!0)}),o&&s.options.enabled&&(s.render(),t.isDirtyLegend=!1),u&&t.getStacks(),t.hasCartesianSeries&&(t.isResizing||(t.maxTicks=null,ln(n,function(e){e.setScale()})),t.adjustTickAmounts(),t.getMargins(),ln(n,function(e){e.isDirty&&(f=!0)}),ln(n,function(e){e.isDirtyExtremes&&(e.isDirtyExtremes=!1,v.push(function(){mn(e,"afterSetExtremes",Tt(e.eventArgs,e.getExtremes())),delete e.eventArgs})),(f||u)&&e.redraw()})),f&&t.drawChartBox(),ln(r,function(e){e.isDirty&&e.visible&&(!e.isCartesian||e.xAxis)&&e.redraw()}),i&&i.reset(!0),p.draw(),mn(t,"redraw"),d&&t.cloneRenderTo(!0),ln(v,function(e){e.call()})},get:function(e){var t=this,n=t.axes,r=t.series,i,s,o;for(i=0;i=18&&t<=25&&(t=15))),r&&(r.css({width:(u.width||f)+X}).align(Tt({y:t+s.margin},u),!1,"spacingBox"),!u.floating&&!u.verticalAlign&&(t=o(t+r.getBBox().height))),a=this.titleOffset!==t,this.titleOffset=t,!this.isDirtyBox&&a&&(this.isDirtyBox=a,this.hasRendered&&Ft(e,!0)&&this.isDirtyBox&&this.redraw())},getChartSize:function(){var e=this,t=e.options.chart,n=t.width,r=t.height,i=e.renderToClone||e.renderTo;Ht(n)||(e.containerWidth=un(i,"width")),Ht(r)||(e.containerHeight=un(i,"height")),e.chartWidth=u(0,n||e.containerWidth||600),e.chartHeight=u(0,Ft(r,e.containerHeight>19?e.containerHeight:400))},cloneRenderTo:function(e){var n=this.renderToClone,r=this.container;e?n&&(this.renderTo.appendChild(r),en(n),delete this.renderToClone):(r&&r.parentNode===this.renderTo&&this.renderTo.removeChild(r),this.renderToClone=n=this.renderTo.cloneNode(0),It(n,{position:q,top:"-9999px",display:"block"}),n.style.setProperty&&n.style.setProperty("display","block","important"),t.body.appendChild(n),r&&n.appendChild(r))},getContainer:function(){var e=this,n,r=e.options.chart,i,s,o,u="data-highcharts-chart",a,f;e.renderTo=o=r.renderTo,f=z+L++,Lt(o)&&(e.renderTo=o=t.getElementById(o)),o||tn(13,!0),a=kt(Bt(o,u)),!isNaN(a)&&B[a]&&B[a].hasRendered&&B[a].destroy(),Bt(o,u,e.index),o.innerHTML="",!r.skipClone&&!o.offsetWidth&&e.cloneRenderTo(),e.getChartSize(),i=e.chartWidth,s=e.chartHeight,e.container=n=qt(I,{className:z+"container"+(r.className?" "+r.className:""),id:f},Tt({position:R,overflow:U,width:i+X,height:s+X,textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)"},r.style),e.renderToClone||o),e._cursor=n.style.cursor,e.renderer=r.forExport?new Mn(n,i,s,r.style,!0):new N(n,i,s,r.style),T&&e.renderer.create(e,n,i,s)},getMargins:function(){var e=this,t=e.spacing,n,r=e.legend,i=e.margin,s=e.options.legend,o=Ft(s.margin,10),a=s.x,f=s.y,l=s.align,c=s.verticalAlign,h=e.titleOffset;e.resetMargins(),n=e.axisOffset,h&&!Ht(i[0])&&(e.plotTop=u(e.plotTop,h+e.options.title.margin+t[0])),r.display&&!s.floating&&(l==="right"?Ht(i[1])||(e.marginRight=u(e.marginRight,r.legendWidth-a+o+t[1])):l==="left"?Ht(i[3])||(e.plotLeft=u(e.plotLeft,r.legendWidth+a+o+t[3])):c==="top"?Ht(i[0])||(e.plotTop=u(e.plotTop,r.legendHeight+f+o+t[0])):c==="bottom"&&(Ht(i[2])||(e.marginBottom=u(e.marginBottom,r.legendHeight-f+o+t[2])))),e.extraBottomMargin&&(e.marginBottom+=e.extraBottomMargin),e.extraTopMargin&&(e.plotTop+=e.extraTopMargin),e.hasCartesianSeries&&ln(e.axes,function(e){e.getOffset()}),Ht(i[3])||(e.plotLeft+=n[3]),Ht(i[0])||(e.plotTop+=n[0]),Ht(i[2])||(e.marginBottom+=n[2]),Ht(i[1])||(e.marginRight+=n[1]),e.setChartSize()},reflow:function(e){var r=this,i=r.options.chart,s=r.renderTo,o=i.width||un(s,"width"),u=i.height||un(s,"height"),a=e?e.target:n,f=function(){r.container&&(r.setSize(o,u,!1),r.hasUserSize=null)};if(!r.hasUserSize&&o&&u&&(a===n||a===t)){if(o!==r.containerWidth||u!==r.containerHeight)clearTimeout(r.reflowTimeout),e?r.reflowTimeout=setTimeout(f,100):f();r.containerWidth=o,r.containerHeight=u}},initReflow:function(){var e=this,t=function(t){e.reflow(t)};dn(n,"resize",t),dn(e,"destroy",function(){vn(n,"resize",t)})},setSize:function(e,t,n){var r=this,s,o,a;r.isResizing+=1,a=function(){r&&mn(r,"endResize",null,function(){r.isResizing-=1})},rn(n,r),r.oldChartHeight=r.chartHeight,r.oldChartWidth=r.chartWidth,Ht(e)&&(r.chartWidth=s=u(0,i(e)),r.hasUserSize=!!s),Ht(t)&&(r.chartHeight=o=u(0,i(t))),(_?yn:It)(r.container,{width:s+X,height:o+X},_),r.setChartSize(!0),r.renderer.setSize(s,o,n),r.maxTicks=null,ln(r.axes,function(e){e.isDirty=!0,e.setScale()}),ln(r.series,function(e){e.isDirty=!0}),r.isDirtyLegend=!0,r.isDirtyBox=!0,r.getMargins(),r.redraw(n),r.oldChartHeight=null,mn(r,"resize"),_===!1?a():setTimeout(a,_&&_.duration||500)},setChartSize:function(e){var t=this,n=t.inverted,r=t.renderer,a=t.chartWidth,f=t.chartHeight,l=t.options.chart,c=t.spacing,h=t.clipOffset,p,d,v,m,g,y,b;t.plotLeft=v=i(t.plotLeft),t.plotTop=m=i(t.plotTop),t.plotWidth=g=u(0,i(a-v-t.marginRight)),t.plotHeight=y=u(0,i(f-m-t.marginBottom)),t.plotSizeX=n?y:g,t.plotSizeY=n?g:y,t.plotBorderWidth=l.plotBorderWidth||0,t.spacingBox=r.spacingBox={x:c[3],y:c[0],width:a-c[3]-c[1],height:f-c[0]-c[2]},t.plotBox=r.plotBox={x:v,y:m,width:g,height:y},b=2*s(t.plotBorderWidth/2),p=o(u(b,h[3])/2),d=o(u(b,h[0])/2),t.clipBox={x:p,y:d,width:s(t.plotSizeX-u(b,h[1])/2-p),height:s(t.plotSizeY-u(b,h[2])/2-d)},e||ln(t.axes,function(e){e.setAxisSize(),e.setAxisTranslation()})},resetMargins:function(){var e=this,t=e.spacing,n=e.margin;e.plotTop=Ft(n[0],t[0]),e.marginRight=Ft(n[1],t[1]),e.marginBottom=Ft(n[2],t[2]),e.plotLeft=Ft(n[3],t[3]),e.axisOffset=[0,0,0,0],e.clipOffset=[0,0,0,0]},drawChartBox:function(){var e=this,t=e.options.chart,n=e.renderer,r=e.chartWidth,i=e.chartHeight,s=e.chartBackground,o=e.plotBackground,u=e.plotBorder,a=e.plotBGImage,f=t.borderWidth||0,l=t.backgroundColor,c=t.plotBackgroundColor,h=t.plotBackgroundImage,p=t.plotBorderWidth||0,d,v,m=e.plotLeft,g=e.plotTop,y=e.plotWidth,b=e.plotHeight,w=e.plotBox,E=e.clipRect,S=e.clipBox;d=f+(t.shadow?8:0);if(f||l)s?s.animate(s.crisp({width:r-d,height:i-d})):(v={fill:l||V},f&&(v.stroke=t.borderColor,v["stroke-width"]=f),e.chartBackground=n.rect(d/2,d/2,r-d,i-d,t.borderRadius,f).attr(v).addClass(z+"background").add().shadow(t.shadow));c&&(o?o.animate(w):e.plotBackground=n.rect(m,g,y,b,0).attr({fill:c}).add().shadow(t.plotShadow)),h&&(a?a.animate(w):e.plotBGImage=n.image(h,m,g,y,b).add()),E?E.animate({width:S.width,height:S.height}):e.clipRect=n.clipRect(S),p&&(u?u.animate(u.crisp({x:m,y:g,width:y,height:b})):e.plotBorder=n.rect(m,g,y,b,0,-p).attr({stroke:t.plotBorderColor,"stroke-width":p,fill:V,zIndex:1}).add()),e.isDirtyBox=!1},propFromSeries:function(){var e=this,t=e.options.chart,n,r=e.options.series,i,s;ln(["inverted","angular","polar"],function(o){n=St[t.type||t.defaultSeriesType],s=e[o]||t[o]||n&&n.prototype[o],i=r&&r.length;while(!s&&i--)n=St[r[i].type],n&&n.prototype[o]&&(s=!0);e[o]=s})},linkSeries:function(){var e=this,t=e.series;ln(t,function(e){e.linkedSeries.length=0}),ln(t,function(t){var n=t.options.linkedTo;Lt(n)&&(n===":previous"?n=e.series[t.index-1]:n=e.get(n),n&&(n.linkedSeries.push(t),t.linkedParent=n))})},renderSeries:function(){ln(this.series,function(e){e.translate(),e.setTooltipPoints&&e.setTooltipPoints(),e.render()})},render:function(){var e=this,t=e.axes,n=e.renderer,r=e.options,i=r.labels,s=r.credits,o;e.setTitle(),e.legend=new Vn(e,r.legend),e.getStacks(),ln(t,function(e){e.setScale()}),e.getMargins(),e.maxTicks=null,ln(t,function(e){e.setTickPositions(!0),e.setMaxTicks()}),e.adjustTickAmounts(),e.getMargins(),e.drawChartBox(),e.hasCartesianSeries&&ln(t,function(e){e.render()}),e.seriesGroup||(e.seriesGroup=n.g("series-group").attr({zIndex:3}).add()),e.renderSeries(),i.items&&ln(i.items,function(t){var r=Tt(i.style,t.style),s=kt(r.left)+e.plotLeft,o=kt(r.top)+e.plotTop+12;delete r.left,delete r.top,n.text(t.html,s,o).attr({zIndex:2}).css(r).add()}),s.enabled&&!e.credits&&(o=s.href,e.credits=n.text(s.text,0,0).on("click",function(){o&&(location.href=o)}).attr({align:s.position.align,zIndex:8}).css(s.style).add().align(s.position)),e.hasRendered=!0},destroy:function(){var t=this,n=t.axes,r=t.series,i=t.container,s,o=i&&i.parentNode;mn(t,"destroy"),B[t.index]=e,t.renderTo.removeAttribute("data-highcharts-chart"),vn(t),s=n.length;while(s--)n[s]=n[s].destroy();s=r.length;while(s--)r[s]=r[s].destroy();ln(["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","scroller","rangeSelector","legend","resetZoomButton","tooltip","renderer"],function(e){var n=t[e];n&&n.destroy&&(t[e]=n.destroy())}),i&&(i.innerHTML="",vn(i),o&&en(i));for(s in t)delete t[s]},isReadyToRender:function(){var e=this;return!S&&n==n.top&&t.readyState!=="complete"||T&&!n.canvg?(T?Bn.push(function(){e.firstRender()},e.options.global.canvasToolsURL):t.attachEvent("onreadystatechange",function(){t.detachEvent("onreadystatechange",e.firstRender),t.readyState==="complete"&&e.firstRender()}),!1):!0},firstRender:function(){var e=this,t=e.options,n=e.callback;if(!e.isReadyToRender())return;e.getContainer(),mn(e,"init"),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes(),ln(t.series||[],function(t){e.initSeries(t)}),e.linkSeries(),mn(e,"beforeRender"),xt.Pointer&&(e.pointer=new Rn(e,t)),e.render(),e.renderer.draw(),n&&n.apply(e,[e]),ln(e.callbacks,function(t){t.apply(e,[e])}),e.cloneRenderTo(!0),mn(e,"load")},splashArray:function(e,t){var n=t[e],r=At(n)?n:[n,n,n,n];return[Ft(t[e+"Top"],r[0]),Ft(t[e+"Right"],r[1]),Ft(t[e+"Bottom"],r[2]),Ft(t[e+"Left"],r[3])]}},Jn.prototype.callbacks=[];var Kn=xt.CenteredSeriesMixin={getCenter:function(){var e=this.options,t=this.chart,n=2*(e.slicedOffset||0),r,i=t.plotWidth-2*n,s=t.plotHeight-2*n,o=e.center,u=[Ft(o[0],"50%"),Ft(o[1],"50%"),e.size||"100%",e.innerSize||0],f=a(i,s),l;return pn(u,function(e,t){return l=/%$/.test(e),r=t<2||t===2&&l,(l?[i,s,f,f][t]*kt(e)/100:e)+(r?n:0)})}},Qn=function(){};Qn.prototype={init:function(e,t,n){var r=this,i;return r.series=e,r.applyOptions(t,n),r.pointAttr={},e.options.colorByPoint&&(i=e.options.colors||e.chart.options.colors,r.color=r.color||i[e.colorCounter++],e.colorCounter===i.length&&(e.colorCounter=0)),e.chart.pointCount++,r},applyOptions:function(t,n){var r=this,i=r.series,s=i.pointValKey;return t=Qn.prototype.optionsToObject.call(this,t),Tt(r,t),r.options=r.options?Tt(r.options,t):t,s&&(r.y=r[s]),r.x===e&&i&&(r.x=n===e?i.autoIncrement():n),r},optionsToObject:function(e){var t={},n=this.series,r=n.pointArrayMap||["y"],i=r.length,s,o=0,u=0;if(typeof e=="number"||e===null)t[r[0]]=e;else if(Ot(e)){e.length>i&&(s=typeof e[0],s==="string"?t.name=e[0]:s==="number"&&(t.x=e[0]),o++);while(ut+1&&n.push(i.slice(t+1,r)),t=r):r===s-1&&n.push(i.slice(t+1,r+1))});e.segments=n},setOptions:function(e){var t=this.chart,n=t.options,r=n.plotOptions,i=t.userOptions||{},s=i.plotOptions||{},o=r[this.type],u;return this.userOptions=e,u=Nt(o,r.series,e),this.tooltipOptions=Nt(O.tooltip,O.plotOptions[this.type].tooltip,i.tooltip,s.series&&s.series.tooltip,s[this.type]&&s[this.type].tooltip,e.tooltip),o.marker===null&&delete u.marker,u},getColor:function(){var e=this.options,t=this.userOptions,n=this.chart.options.colors,r=this.chart.counters,i,s;i=e.color||En[this.type].color,!i&&!e.colorByPoint&&(Ht(t._colorIndex)?s=t._colorIndex:(t._colorIndex=r.color,s=r.color++),i=n[s]),this.color=i,r.wrapColor(n.length)},getSymbol:function(){var e=this,t=e.userOptions,n=e.options.marker,r=e.chart,i=r.options.symbols,s=r.counters,o;e.symbol=n.symbol,e.symbol||(Ht(t._symbolIndex)?o=t._symbolIndex:(t._symbolIndex=s.symbol,o=s.symbol++),e.symbol=i[o]),/^url/.test(e.symbol)&&(n.radius=0),s.wrapSymbol(i.length)},drawLegendSymbol:$n.drawLineMarker,setData:function(t,n,r,i){var s=this,o=s.points,u=o&&o.length||0,a,f=s.options,l=s.chart,c=null,h=s.xAxis,p=h&&!!h.categories,d=s.tooltipPoints,v,m=f.turboThreshold,g,y=this.xData,b=this.yData,w=s.pointArrayMap,E=w&&w.length;t=t||[],a=t.length,n=Ft(n,!0);if(i!==!1&&a&&u===a&&!s.cropped&&!s.hasGroupedData)ln(t,function(e,t){o[t].update(e,!1)});else{s.xIncrement=null,s.pointRange=p?1:f.pointRange,s.colorCounter=0,ln(this.parallelArrays,function(e){s[e+"Data"].length=0});if(m&&a>m){v=0;while(c===null&&vd||n.forceCrop)){var m=c.min,g=c.max;if(r[s-1]g)r=[],i=[];else if(r[0]g)o=this.cropData(n.xData,n.yData,m,g),r=o.xData,i=o.yData,u=o.start,a=!0}for(h=r.length-1;h>=0;h--)f=r[h]-r[h-1],f>0&&(l===e||f=n){s=u(0,f-a);break}for(;fr){o=f+a;break}return{xData:e.slice(s,o),yData:t.slice(s,o),start:s,end:o}},generatePoints:function(){var t=this,n=t.options,r=n.data,i=t.data,s,o=t.processedXData,u=t.processedYData,a=t.pointClass,f=o.length,l=t.cropStart||0,c,h=t.hasGroupedData,p,d=[],v;if(!i&&!h){var m=[];m.length=r.length,i=t.data=m}for(v=0;v0),h=this.getExtremesFromAll||this.cropped||(i[g+1]||v)>=f&&(i[g-1]||v)<=l;if(c&&h){y=m.length;if(y)while(y--)m[y]!==null&&(o[u++]=m[y]);else o[u++]=m}}this.dataMin=Ft(p,Gt(o)),this.dataMax=Ft(d,Yt(o))},translate:function(){this.processedXData||this.processData(),this.generatePoints();var t=this,n=t.options,r=n.stacking,i=t.xAxis,s=i.categories,o=t.yAxis,u=t.points,a=u.length,f=!!t.modifyValue,l,c=n.pointPlacement,h=c==="between"||Mt(c),p=n.threshold;for(l=0;l0||p)&&(l.graphic=d=o.renderer.symbol(h,u-c,a-c,2*c,2*c).attr(n).add(E))):d&&(l.graphic=d.destroy())}},convertAttribs:function(e,t,n,r){var i=this.pointAttrToOptions,s,o,u={};e=e||{},t=t||{},n=n||{},r=r||{};for(s in i)o=i[s],u[s]=Ft(e[o],t[s],n[s],r[s]);return u},getAttribs:function(){var e=this,t=e.options,n=En[e.type].marker?t.marker:t,r=n.states,i=r[G],s,o=e.color,u={stroke:o,fill:o},a=e.points||[],f,l,c=[],h,p=e.pointAttrToOptions,d=e.hasPointSpecificOptions,v=t.negativeColor,m=n.lineColor,g=n.fillColor,y=t.turboThreshold,b,w;t.marker?(i.radius=i.radius||n.radius+2,i.lineWidth=i.lineWidth||n.lineWidth+1):i.color=i.color||An(i.color||o).brighten(i.brightness).get(),c[Q]=e.convertAttribs(n,u),ln([G,Y],function(t){c[t]=e.convertAttribs(r[t],c[Q])}),e.pointAttr=c,f=a.length;if(!y||f1?t=t.concat(n):r.push(i[0])}),e.singlePoints=r,e.graphPath=t,t},drawGraph:function(){var e=this,t=this.options,n=[["graph",t.lineColor||this.color]],r=t.lineWidth,i=t.dashStyle,s=t.linecap!=="square",o=this.getGraphPath(),u=t.negativeColor;u&&n.push(["graphNeg",u]),ln(n,function(n,u){var a=n[0],f=e[a],l;f?(bn(f),f.animate({d:o})):r&&o.length&&(l={stroke:n[1],"stroke-width":r,fill:V,zIndex:1},i?l.dashstyle=i:s&&(l["stroke-linecap"]=l["stroke-linejoin"]="round"),e[a]=e.chart.renderer.path(o).attr(l).add(e.group).shadow(!u&&t.shadow))})},clipNeg:function(){var e=this.options,t=this.chart,n=t.renderer,r=e.negativeColor||e.negativeFillColor,s,o,a,f=this.graph,l=this.area,c=this.posClip,h=this.negClip,p=t.chartWidth,d=t.chartHeight,v=u(p,d),m=this.yAxis,g,y;r&&(f||l)&&(s=i(m.toPixels(e.threshold||0,!0)),s<0&&(v-=s),g={x:0,y:0,width:v,height:s},y={x:0,y:s,width:v,height:v},t.inverted&&(g.height=y.y=t.plotWidth-s,n.isVML&&(g={x:t.plotWidth-s-t.plotLeft,y:0,width:p,height:d},y={x:s+t.plotLeft-p,y:0,width:t.plotLeft+s,height:p})),m.reversed?(o=y,a=g):(o=g,a=y),c?(c.animate(o),h.animate(a)):(this.posClip=c=n.clipRect(o),this.negClip=h=n.clipRect(a),f&&this.graphNeg&&(f.clip(c),this.graphNeg.clip(h)),l&&(l.clip(c),this.areaNeg.clip(h))))},invertGroups:function(){function n(){var t={width:e.yAxis.len,height:e.xAxis.len};ln(["group","markerGroup"],function(n){e[n]&&e[n].attr(t).invert()})}var e=this,t=e.chart;if(!e.xAxis)return;dn(t,"resize",n),dn(e,"destroy",function(){vn(t,"resize",n)}),n(),e.invertGroups=n},plotGroup:function(e,t,n,r,i){var s=this[e],o=!s;return o&&(this[e]=s=this.chart.renderer.g(t).attr({visibility:n,zIndex:r||.1}).add(i)),s[o?"attr":"animate"](this.getPlotBox()),s},getPlotBox:function(){return{translateX:this.xAxis?this.xAxis.left:this.chart.plotLeft,translateY:this.yAxis?this.yAxis.top:this.chart.plotTop,scaleX:1,scaleY:1}},render:function(){var e=this,t=e.chart,n,r=e.options,i=r.animation,s=i&&!!e.animate&&t.renderer.isSVG,o=e.visible?W:U,u=r.zIndex,a=e.hasRendered,f=t.seriesGroup;n=e.plotGroup("group","series",o,u,f),e.markerGroup=e.plotGroup("markerGroup","markers",o,u,f),s&&e.animate(!0),e.getAttribs(),n.inverted=e.isCartesian?t.inverted:!1,e.drawGraph&&(e.drawGraph(),e.clipNeg()),e.drawDataLabels&&e.drawDataLabels(),e.visible&&e.drawPoints(),e.drawTracker&&e.options.enableMouseTracking!==!1&&e.drawTracker(),t.inverted&&e.invertGroups(),r.clip!==!1&&!e.sharedClipKey&&!a&&n.clip(t.clipRect),s?e.animate():a||e.afterAnimate(),e.isDirty=e.isDirtyData=!1,e.hasRendered=!0},redraw:function(){var e=this,t=e.chart,n=e.isDirtyData,r=e.group,i=e.xAxis,s=e.yAxis;r&&(t.inverted&&r.attr({width:t.plotWidth,height:t.plotHeight}),r.animate({translateX:Ft(i&&i.left,t.plotLeft),translateY:Ft(s&&s.top,t.plotTop)})),e.translate(),e.setTooltipPoints(!0),e.render(),n&&mn(e,"updatedData")}},Yn.prototype={destroy:function(){Zt(this,this.axis)},render:function(e){var t=this.options,n=t.format,r=n?Vt(n,this):t.formatter.call(this);this.label?this.label.attr({text:r,visibility:U}):this.label=this.axis.chart.renderer.text(r,0,0,t.useHTML).css(t.style).attr({align:this.textAlign,rotation:t.rotation,visibility:U}).add(e)},setOffset:function(e,t){var n=this,r=n.axis,i=r.chart,s=i.inverted,o=this.isNegative,u=r.translate(this.percent?100:this.total,0,0,0,1),a=r.translate(0),l=f(u-a),c=i.xAxis[0].translate(this.x)+e,h=i.plotHeight,p={x:s?o?u:u-l:c,y:s?h-c-t:o?h-u-l:h-u,width:s?l:t,height:s?t:l},d=this.label,v;d&&(d.align(this.alignOptions,null,p),v=d.alignAttr,d[this.options.crop===!1||i.isInsidePlot(v.x,v.y)?"show":"hide"](!0))}},Fn.prototype.buildStacks=function(){var e=this.series,t=Ft(this.options.reversedStacks,!0),n=e.length;if(!this.isXAxis){this.usePercentage=!1;while(n--)e[t?n:e.length-n-1].setStackedPoints();if(this.usePercentage)for(n=0;nm)g--}i.updateParallelArrays(p,"splice",g,0,0),i.updateParallelArrays(p,g),l&&(l[m]=p.name),h.splice(g,0,e),d&&(i.data.splice(g,0,null),i.processData()),s.legendType==="point"&&i.generatePoints(),n&&(o[0]&&o[0].remove?o[0].remove(!1):(o.shift(),i.updateParallelArrays(p,"shift"),h.shift())),i.isDirty=!0,i.isDirtyData=!0,t&&(i.getAttribs(),f.redraw())},remove:function(e,t){var n=this,r=n.chart;e=Ft(e,!0),n.isRemoving||(n.isRemoving=!0,mn(n,"remove",null,function(){n.destroy(),r.isDirtyLegend=r.isDirtyBox=!0,r.linkSeries(),e&&r.redraw(t)})),n.isRemoving=!1},update:function(t,n){var r=this.chart,i=this.userOptions,s=this.type,o=St[s].prototype,u;t=Nt(i,{animation:!1,index:this.index,pointStart:this.xData[0]},{data:this.options.data},t),this.remove(!1);for(u in o)o.hasOwnProperty(u)&&(this[u]=e);Tt(this,St[t.type||s].prototype),this.init(r,t),Ft(n,!0)&&r.redraw(!1)}}),Tt(Fn.prototype,{update:function(t,n){var r=this.chart;t=r.options[this.coll][this.options.index]=Nt(this.userOptions,t),this.destroy(!0),this._addedPlotLB=this.userMin=this.userMax=e,this.init(r,Tt(t,{events:e})),r.isDirtyBox=!0,Ft(n,!0)&&r.redraw()},remove:function(e){var t=this.chart,n=this.coll,r=this.series,i=r.length;while(i--)r[i]&&r[i].remove(!1);Pt(t.axes,this),Pt(t[n],this),t.options[n].splice(this.options.index,1),ln(t[n],function(e,t){e.options.index=t}),this.destroy(),t.isDirtyBox=!0,Ft(e,!0)&&t.redraw()},setTitle:function(e,t){this.update({title:e},t)},setCategories:function(e,t){this.update({categories:e},t)}});var Zn=Rt(Gn);St.line=Zn,En.area=Nt(Sn,{threshold:0});var er=Rt(Gn,{type:"area",getSegments:function(){var e=[],t=[],n=[],r=this.xAxis,i=this.yAxis,s=i.stacks[this.stackKey],o={},u,a,f=this.points,l=this.options.connectNulls,c,h,p;if(this.options.stacking&&!this.cropped){for(h=0;h=0;r--)u=Ft(e[r].yBottom,o),rg&&h>o?(h=u(g,o),d=2*o-h):hb&&d>o?(d=u(b,o),h=2*o-d):dh?t-h:c-(s.translate(e.y,0,1,0,1)<=c?h:0))),e.barX=r,e.pointWidth=d,E=f(r)<.5,p=i(r+o)+g,r=i(r)+g,o=p-r,w=f(l)<.5,b=i(l+S)+y,l=i(l)+y,S=b-l,E&&(r+=1,o-=1),w&&(l-=1,S+=1),e.shapeType="rect",e.shapeArgs={x:r,y:l,width:o,height:S}})},getSymbol:H,drawLegendSymbol:$n.drawRectangle,drawGraph:H,drawPoints:function(){var t=this,n=this.chart,r=t.options,i=n.renderer,s=r.animationLimit||250,o;ln(t.points,function(n){var u=n.plotY,a=n.graphic;u!==e&&!isNaN(u)&&n.y!==null?(o=n.shapeArgs,a?(bn(a),a[t.points.length{series.name}
',pointFormat:"x: {point.x}
y: {point.y}
",followPointer:!0},stickyTracking:!1});var or=Rt(Gn,{type:"scatter",sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["markerGroup"],takeOrdinalPosition:!1,singularTooltips:!0,drawGraph:function(){this.options.lineWidth&&Gn.prototype.drawGraph.call(this)}});St.scatter=or,En.pie=Nt(Sn,{borderColor:"#FFFFFF",borderWidth:1,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.name}},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,states:{hover:{brightness:.1,shadow:!1}},stickyTracking:!1,tooltip:{followPointer:!0}});var ur=Rt(Qn,{init:function(){Qn.prototype.init.apply(this,arguments);var e=this,t;return e.y<0&&(e.y=null),Tt(e,{visible:e.visible!==!1,name:Ft(e.name,"Slice")}),t=function(t){e.slice(t.type==="select")},dn(e,"select",t),dn(e,"unselect",t),e},setVisible:function(t){var n=this,r=n.series,i=r.chart;n.visible=n.options.visible=t=t===e?!n.visible:t,r.options.data[fn(n,r.data)]=n.options,ln(["graphic","dataLabel","connector","shadowGroup"],function(e){n[e]&&n[e][t?"show":"hide"](!0)}),n.legendItem&&i.legend.colorizeItem(n,t),!r.isDirty&&r.options.ignoreHiddenPoint&&(r.isDirty=!0,i.redraw())},slice:function(e,t,n){var r=this,i=r.series,s=i.chart,o;rn(n,s),t=Ft(t,!0),r.sliced=r.options.sliced=e=Ht(e)?e:!r.sliced,i.options.data[fn(r,i.data)]=r.options,o=e?r.slicedTranslation:{translateX:0,translateY:0},r.graphic.animate(o),r.shadowGroup&&r.shadowGroup.animate(o)}}),ar={type:"pie",isCartesian:!1,pointClass:ur,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttrToOptions:{stroke:"borderColor","stroke-width":"borderWidth",fill:"color"},singularTooltips:!0,getColor:H,animate:function(e){var t=this,n=t.points,r=t.startAngleRad;e||(ln(n,function(e){var n=e.graphic,i=e.shapeArgs;n&&(n.attr({r:t.center[3]/2,start:r,end:r}),n.animate({r:i.r,start:i.start,end:i.end},t.options.animation))}),t.animate=null)},setData:function(e,t,n,r){Gn.prototype.setData.call(this,e,!1,n,r),this.processData(),this.generatePoints(),Ft(t,!0)&&this.chart.redraw(n)},generatePoints:function(){var e,t=0,n,r,i,s=this.options.ignoreHiddenPoint;Gn.prototype.generatePoints.call(this),n=this.points,r=n.length;for(e=0;e0?i.y/t*100:0,i.total=t},translate:function(e){this.generatePoints();var t=this,n=0,s=1e3,o=t.options,u=o.slicedOffset,f=u+o.borderWidth,p,d,v,m=o.startAngle||0,g=t.startAngleRad=h/180*(m-90),y=t.endAngleRad=h/180*(Ft(o.endAngle,m+360)-90),b=y-g,w=t.points,E,S,x=o.dataLabels.distance,T=o.ignoreHiddenPoint,N,C=w.length,k;e||(t.center=e=t.getCenter()),t.getX=function(t,n){return v=r.asin(a((t-e[1])/(e[2]/2+x),1)),e[0]+(n?-1:1)*l(v)*(e[2]/2+x)};for(N=0;N1.5*h?v-=2*h:v<-h/2&&(v+=2*h),k.slicedTranslation={translateX:i(l(v)*u),translateY:i(c(v)*u)},E=l(v)*e[2]/2,S=c(v)*e[2]/2,k.tooltipPos=[e[0]+E*.7,e[1]+S*.7],k.half=v<-h/2||v>h/2?1:0,k.angle=v,f=a(f,x/2),k.labelPos=[e[0]+E+l(v)*x,e[1]+S+c(v)*x,e[0]+E+l(v)*f,e[1]+S+c(v)*f,e[0]+E,e[1]+S,x<0?"center":k.half?"right":"left",v]}},drawGraph:null,drawPoints:function(){var e=this,t=e.chart,n=t.renderer,r,i,s=e.options.shadow,o,u;s&&!e.shadowGroup&&(e.shadowGroup=n.g("shadow").add(e.group)),ln(e.points,function(t){i=t.graphic,u=t.shapeArgs,o=t.shadowGroup,s&&!o&&(o=t.shadowGroup=n.g("shadow").add(e.shadowGroup)),r=t.sliced?t.slicedTranslation:{translateX:0,translateY:0},o&&o.attr(r),i?i.animate(Tt(u,r)):t.graphic=i=n[t.shapeType](u).setRadialReference(e.center).attr(t.pointAttr[t.selected?Y:Q]).attr({"stroke-linejoin":"round"}).attr(r).add(e.group).shadow(s,o),t.visible!==undefined&&t.setVisible(t.visible)})},sortByAngle:function(e,t){e.sort(function(e,n){return e.angle!==undefined&&(n.angle-e.angle)*t})},drawLegendSymbol:$n.drawRectangle,getCenter:Kn.getCenter,getSymbol:H};ar=Rt(Gn,ar),St.pie=ar,Gn.prototype.drawDataLabels=function(){var t=this,n=t.options,r=n.cursor,i=n.dataLabels,s=t.points,o,u,a,f;if(i.enabled||t._hasPointLabels)t.dlProcessOptions&&t.dlProcessOptions(i),f=t.plotGroup("dataLabelsGroup","data-labels",t.visible?W:U,i.zIndex||6),u=i,ln(s,function(n){var s,l=n.dataLabel,c,h,p,d,v=n.connector,m=!0;o=n.options&&n.options.dataLabels,s=Ft(o&&o.enabled,u.enabled);if(l&&!s)n.dataLabel=l.destroy();else if(s){i=Nt(u,o),d=i.rotation,c=n.getLabelConfig(),a=i.format?Vt(i.format,c):i.formatter.call(c,i),i.style.color=Ft(i.color,i.style.color,t.color,"black");if(l)Ht(a)?(l.attr({text:a}),m=!1):(n.dataLabel=l=l.destroy(),v&&(n.connector=v.destroy()));else if(Ht(a)){h={fill:i.backgroundColor,stroke:i.borderColor,"stroke-width":i.borderWidth,r:i.borderRadius||0,rotation:d,padding:i.padding,zIndex:1};for(p in h)h[p]===e&&delete h[p];l=n.dataLabel=t.chart.renderer[d?"text":"label"](a,0,-999,null,null,null,i.useHTML).attr(h).css(Tt(i.style,r&&{cursor:r})).add(f).shadow(i.shadow)}l&&t.alignDataLabel(n,l,i,null,m)}})},Gn.prototype.alignDataLabel=function(e,t,n,r,s){var o=this.chart,u=o.inverted,a=Ft(e.plotX,-999),f=Ft(e.plotY,-999),l=t.getBBox(),c=this.visible&&(e.series.forceDL||o.isInsidePlot(a,i(f),u)||r&&o.isInsidePlot(a,u?r.x+1:r.y+r.height-1,u)),h;c&&(r=Tt({x:u?o.plotWidth-f:a,y:i(u?o.plotHeight-a:f),width:0,height:0},r),Tt(n,{width:l.width,height:l.height}),n.rotation?(h={align:n.align,x:r.x+n.x+r.width/2,y:r.y+n.y+r.height/2},t[s?"attr":"animate"](h)):(t.align(n,null,r),h=t.alignAttr,Ft(n.overflow,"justify")==="justify"?this.justifyDataLabel(t,n,h,l,r,s):Ft(n.crop,!0)&&(c=o.isInsidePlot(h.x,h.y)&&o.isInsidePlot(h.x+l.width,h.y+l.height)))),c||(t.attr({y:-999}),t.placed=!1)},Gn.prototype.justifyDataLabel=function(e,t,n,r,i,s){var o=this.chart,u=t.align,a=t.verticalAlign,f,l;f=n.x,f<0&&(u==="right"?t.align="left":t.x=-f,l=!0),f=n.x+r.width,f>o.plotWidth&&(u==="left"?t.align="right":t.x=o.plotWidth-f,l=!0),f=n.y,f<0&&(a==="bottom"?t.verticalAlign="top":t.y=-f,l=!0),f=n.y+r.height,f>o.plotHeight&&(a==="top"?t.verticalAlign="bottom":t.y=o.plotHeight-f,l=!0),l&&(e.placed=!s,e.align(t,null,i))},St.pie&&(St.pie.prototype.drawDataLabels=function(){var e=this,t=e.data,n,r=e.chart,s=e.options.dataLabels,o=Ft(s.connectorPadding,10),a=Ft(s.connectorWidth,1),l=r.plotWidth,c=r.plotHeight,h,p,d=Ft(s.softConnector,!0),v=s.distance,m=e.center,g=m[2]/2,y=m[1],b=v>0,w,E,S,x,T=[[],[]],N,C,k,L,A,O,M=[0,0,0,0],_=function(e,t){return t.y-e.y};if(!e.visible||!s.enabled&&!e._hasPointLabels)return;Gn.prototype.drawDataLabels.apply(e),ln(t,function(e){e.dataLabel&&e.visible&&T[e.half].push(e)}),A=0;while(!x&&t[A])x=t[A]&&t[A].dataLabel&&(t[A].dataLabel.getBBox().height||21),A++;A=2;while(A--){var D=[],P,H=[],B=T[A],j,F=B.length,I;e.sortByAngle(B,A-.5);if(v>0){for(j=y-g-v;j<=y+g+v;j+=x)D.push(j);P=D.length;if(F>P){L=[].concat(B),L.sort(_),O=F;while(O--)L[O].rank=O;O=F;while(O--)B[O].rank>=P&&B.splice(O,1);F=B.length}for(O=0;O0){X=H.pop(),I=X.i,C=X.y;if(V>C&&D[I+1]!==null||Vl-o&&(M[1]=u(i(N+E-l+o),M[1])),C-x/2<0?M[0]=u(i(-C+x/2),M[0]):C+x/2>c&&(M[2]=u(i(C+x/2-c),M[2])))}}if(Yt(M)===0||this.verifyDataLabelOverflow(M))this.placeDataLabels(),b&&a&&ln(this.points,function(t){h=t.connector,S=t.labelPos,w=t.dataLabel,w&&w._pos?(k=w._attr.visibility,N=w.connX,C=w.connY,p=d?[$,N+(S[6]==="left"?5:-5),C,"C",N,C,2*S[2]-S[4],2*S[3]-S[5],S[2],S[3],J,S[4],S[5]]:[$,N+(S[6]==="left"?5:-5),C,J,S[2],S[3],J,S[4],S[5]],h?(h.animate({d:p}),h.attr("visibility",k)):t.connector=h=e.chart.renderer.path(p).attr({"stroke-width":a,stroke:s.connectorColor||t.color||"#606060",visibility:k}).add(e.group)):h&&(t.connector=h.destroy())})},St.pie.prototype.placeDataLabels=function(){ln(this.points,function(e){var t=e.dataLabel,n;t&&(n=t._pos,n?(t.attr(t._attr),t[t.moved?"animate":"attr"](n),t.moved=!0):t&&t.attr({y:-999}))})},St.pie.prototype.alignDataLabel=H,St.pie.prototype.verifyDataLabelOverflow=function(e){var t=this.center,n=this.options,r=n.center,i=n.minSize||80,s=i,o;return r[0]!==null?s=u(t[2]-u(e[1],e[3]),i):(s=u(t[2]-e[1]-e[3],i),t[0]+=(e[3]-e[1])/2),r[1]!==null?s=u(a(s,t[2]-u(e[0],e[2])),i):(s=u(a(s,t[2]-e[0]-e[2]),i),t[1]+=(e[0]-e[2])/2),sFt(this.translatedThreshold,s.plotSizeY),f=Ft(n.inside,!!this.options.stacking);u&&(r=Nt(u),o&&(r={x:s.plotWidth-r.y-r.height,y:s.plotHeight-r.x-r.width,width:r.height,height:r.width}),f||(o?(r.x+=a?0:r.width,r.width=0):(r.y+=a?r.height:0,r.height=0))),n.align=Ft(n.align,!o||f?"center":a?"right":"left"),n.verticalAlign=Ft(n.verticalAlign,o||f?"middle":a?"top":"bottom"),Gn.prototype.alignDataLabel.call(this,e,t,n,r,i)});var fr=xt.TrackerMixin={drawTrackerPoint:function(){var t=this,n=t.chart,r=n.pointer,i=t.options.cursor,s=i&&{cursor:i},o=function(r){var i=r.target,s;n.hoverSeries!==t&&t.onMouseOver();while(i&&!s)s=i.point,i=i.parentNode;s!==e&&s!==n.hoverPoint&&s.onMouseOver(r)};ln(t.points,function(e){e.graphic&&(e.graphic.element.point=e),e.dataLabel&&(e.dataLabel.element.point=e)}),t._hasTracking||(ln(t.trackerGroups,function(e){t[e]&&(t[e].addClass(z+"tracker").on("mouseover",o).on("mouseout",function(e){r.onTrackerMouseOut(e)}).css(s),C&&t[e].on("touchstart",o))}),t._hasTracking=!0)},drawTrackerGraph:function(){var e=this,t=e.options,n=t.trackByArea,r=[].concat(n?e.areaPath:e.graphPath),i=r.length,s=e.chart,o=s.pointer,u=s.renderer,a=s.options.tooltip.snap,f=e.tracker,l=t.cursor,c=l&&{cursor:l},h=e.singlePoints,p,d,v=function(){s.hoverSeries!==e&&e.onMouseOver()},m="rgba(192,192,192,"+(S?1e-4:.002)+")";if(i&&!n){d=i+1;while(d--)r[d]===$&&r.splice(d+1,0,r[d+1]-a,r[d+2],J),(d&&r[d]===$||d===i)&&r.splice(d,0,J,r[d-2]+a,r[d-1])}for(d=0;da(l.dataMin,l.min)&&h=c.min&&d<=c.max){v=r[m+1],o=f===e?0:f+1,f=r[m+1]?a(u(0,s((p.clientX+(v?v.wrappedClientX||v.clientX:h))/2)),h):h;while(o>=0&&o<=f)g[o++]=p}}n.tooltipPoints=g},show:function(){this.setVisible(!0)},hide:function(){this.setVisible(!1)},select:function(t){var n=this;n.selected=t=t===e?!n.selected:t,n.checkbox&&(n.checkbox.checked=t),mn(n,t?"select":"unselect")},drawTracker:fr.drawTrackerGraph}),Tt(xt,{Axis:Fn,Chart:Jn,Color:An,Point:Qn,Tick:jn,Renderer:N,Series:Gn,SVGElement:On,SVGRenderer:Mn,arrayMin:Gt,arrayMax:Yt,charts:B,dateFormat:M,format:Vt,pathAnim:D,getOptions:Nn,hasBidiBug:x,isTouchDevice:w,numberFormat:Ut,seriesTypes:St,setOptions:Tn,addEvent:dn,removeEvent:vn,createElement:qt,discardElement:en,css:It,each:ln,extend:Tt,map:pn,merge:Nt,pick:Ft,splat:jt,extendClass:Rt,pInt:kt,wrap:Wt,svg:S,canvas:T,vml:!S&&!T,product:j,version:F})}(),define("highcharts",function(e){return function(){var t,n;return t||e.Highcharts}}(this)),"use strict",define("views/misc/chart-one",["underscore","backbone","highcharts","collections/products"],function(e,t,n,r){var i=t.View.extend({el:"#miscChartOneView",options:{chart:{type:"spline",zoomType:"xy",backgroundColor:null},title:null,legend:!1,rangeSelector:{selected:1},colors:["#aaa","#e43700"],xAxis:{title:null,tickColor:"#666",lineColor:"#666",gridLineColor:"#666",labels:{style:{color:"#ececec",fontSize:"16px"},y:30},tickInterval:1},yAxis:{title:null,gridLineColor:"#666",lineColor:"#111"},plotOptions:{spline:{lineWidth:3,marker:{symbol:"url(/app/images/highcharts/marker.png)"}}},series:[],credits:{enabled:!1}},initialize:function(){this.products=new r,t.Events.on("change:product",this.setChart,this)},setChart:function(t){var n=this;this.products.getCostsByProduct(t,function(r,i){n.options.series[0]={data:e.map(i.rows,function(e){return{x:Number(Number(e.age).toFixed(0)),y:Number(Number(e.data[0]).toFixed(0))}})},t&&(n.options.series[1]={data:e.map(i.rows,function(e){return{x:Number(Number(e.age).toFixed(0)),y:Number(Number(e.data[1]).toFixed(0))}})}),n.$el.highcharts(n.options)})}});return i}),"use strict",define("views/misc/chart-two",["backbone","highcharts"],function(e){var t=e.View.extend({el:"#miscChartTwoView",options:{title:null,chart:{type:"bar",borderRadius:0,backgroundColor:null},legend:!1,xAxis:{categories:['Average Cost
(MEASUREMENT)','Enabler Spent
(MEASUREMENT)','Staff Count
(TENS)','Time
(HOURS)'],labels:{style:{"min-width":"140px",fontSize:"16px",color:"#ECECEC"},useHTML:!0},title:null,lineColor:"#666",tickLength:0},yAxis:{title:null,gridLineColor:null,lineColor:"#666",lineWidth:1,tickColor:"#666",tickPosition:"inside",tickLength:12,tickWidth:1},plotOptions:{bar:{borderWidth:0,pointWidth:7,borderColor:"#666",groupPadding:.36}},colors:["#aaa","#e43700"],series:[{name:null,data:[100,90,70,50]},{name:null,data:[80,60,40,10]}],credits:{enabled:!1}},setChart:function(){this.$el.highcharts(this.options)}});return t}),"use strict",define("views/misc",["backbone","views/misc/toolbar","views/misc/chart-one","views/misc/chart-two"],function(e,t,n,r){var i=e.View.extend({el:"#miscView",initialize:function(){this.toolbar=new t,this.chartOne=new r,this.chartTwo=new n},show:function(){this.$el.removeClass("is-hidden"),this.chartOne.setChart(),this.chartTwo.setChart()},hide:function(){this.$el.addClass("is-hidden")}});return i}),"use strict",define("views/rank/toolbar",["backbone","handlebars"],function(e){var t=e.View.extend({el:"#rankToolbarView",events:{"click #averageCost":"filter","click #enablerSpent":"filter","click #staffCount":"filter","click #time":"filter"},filter:function(t){$(t.target).addClass("active").siblings().removeClass("active"),e.Events.trigger("change:filter",$(t.target).attr("id"))}});return t}),"use strict",define("views/rank/chart",["underscore","backbone","highcharts","collections/products"],function(e,t,n,r){var i=t.View.extend({el:"#rankChartView",options:{chart:{type:"column",zoomType:"xy",backgroundColor:null,inverted:!0,spacingTop:0,height:900},title:!1,legend:!1,rangeSelector:{selected:1},xAxis:{type:"category",labels:{style:{color:"#ECECEC",fontSize:"14px",overflow:"hidden",whiteSpace:"nowrap"},useHTML:!0},title:null,tickColor:null,reversed:!1,lineColor:"#666"},yAxis:{offset:12,opposite:!0,title:{text:"MEASUREMENT",align:"low",margin:12,style:{color:"#666",fontSize:12}},labels:{},tickWidth:1,tickPosition:"inside",tickColor:"#666",tickLength:12,gridLineWidth:null,lineColor:"#666",lineWidth:1},plotOptions:{column:{borderWidth:0,borderColor:null,pointWidth:15,pointPadding:0,states:{hover:{color:"rgba(230, 61, 0, 1)"}}}},tooltip:{borderWidth:0,followPointer:!0,formatter:function(){return""+this.point.name+"
"+this.point.y}},series:[],credits:{enabled:!1}},initialize:function(){this.products=new r,t.Events.on("change:filter",this.updateChart,this)},setChart:function(){var e=this;this.products.getRankedCosts(function(t,n){e.products.models=n.rows,e.updateChart()})},updateChart:function(t){var n=this,r=[];t=t||"averageCost",r=e.sortBy(e.map(this.products.models,function(e){return n.setDataItem(t,e)}),function(e){return e.y}),n.options.yAxis.labels={formatter:function(){function e(e){return e>999?(e/1e3).toFixed(0)+"K":e}return e(this.value)+" $"}},n.options.series[0]={color:"rgba(230, 61, 0, 0.5)",data:r},n.$el.highcharts(n.options)},setDataItem:function(e,t){var n,r;switch(e){case"averageCost":n=t.average_cost;break;case"enablerSpent":n=t.enabler_spent;break;case"staffCount":n=t.staff_count;break;case"time":n=t.time_months;break;default:}return r={name:t.name.substring(0,40),y:Number(Number(n).toFixed(0))},t.name==="Average"&&(r.color="#AAA"),r}});return i}),"use strict",define("views/rank",["backbone","views/rank/toolbar","views/rank/chart"],function(e,t,n){var r=e.View.extend({el:"#rankView",initialize:function(){this.toolbar=new t,this.chart=new n},show:function(){this.$el.removeClass("is-hidden"),this.chart.setChart()},hide:function(){this.$el.addClass("is-hidden")}});return r}),define("text!views/../../templates/contrains-toolbar.handlebars",[],function(){return""}),"use strict",define("views/constrains/toolbar",["backbone","handlebars","text!../../../templates/contrains-toolbar.handlebars"],function(e,t,n){var r=e.View.extend({el:"#constrainsToolbarView",template:t.compile(n),initialize:function(){},render:function(){this.$el.html(this.template())}});return r}),"use strict",define("views/constrains/chart",["backbone","highcharts"],function(e){var t=e.View.extend({el:"#constrainsChartView",options:{title:null,chart:{type:"column",borderRadius:0,backgroundColor:null,spacingBottom:35},legend:!1,xAxis:{categories:["Human capital","Relevante","Actionability","Interopeability","Regularity of coverage","Mandate","Budget","Technical capacity"],labels:{style:{fontSize:"16px",color:"#ECECEC",textAlign:"center"},y:38,useHTML:!0},title:null,lineColor:"#666",tickWidth:0,minPadding:.5},yAxis:{title:null,labels:{step:5},gridLineColor:"#666",lineColor:"#666",lineWidth:1,tickWidth:0},plotOptions:{column:{borderWidth:0,pointWidth:14,groupPadding:.32}},colors:["#aaa","#e43700"],series:[{name:null,data:[100,90,70,50,100,90,70,50]},{name:null,data:[80,60,40,10,100,90,70,50]}],credits:{enabled:!1}},setChart:function(){this.$el.highcharts(this.options)}});return t}),"use strict",define("views/constrains",["backbone","views/constrains/toolbar","views/constrains/chart"],function(e,t,n){var r=e.View.extend({el:"#constrainsView",initialize:function(){this.toolbar=new t,this.chart=new n},show:function(){this.$el.removeClass("is-hidden"),this.chart.setChart()},hide:function(){this.$el.addClass("is-hidden")}});return r}),"use strict",define("router",["backbone","views/map","views/misc","views/rank","views/constrains"],function(e,t,n,r,i){var s={},o;return s.map=new t,s.misc=new n,s.rank=new r,s.constrains=new i,o=e.Router.extend({routes:{"":"default",map:"map",misc:"misc",rank:"rank",constrains:"constrains"},initialize:function(){e.history.start({pushState:!1})},"default":function(){this.navigate("map",{trigger:!0})},map:function(){this.hideAll(),s.map.show()},misc:function(){this.hideAll(),s.misc.show()},rank:function(){this.hideAll(),s.rank.show()},constrains:function(){this.hideAll(),s.constrains.show()},hideAll:function(){s.map.hide(),s.misc.hide(),s.rank.hide(),s.constrains.hide()}}),o}),"use strict",sessionStorage.setItem("CARTODBUSER","globalintegrity"),require.config({paths:{jquery:"../vendor/jquery/jquery",underscore:"../vendor/underscore/underscore",backbone:"../vendor/backbone/backbone",handlebars:"../vendor/handlebars/handlebars",text:"../vendor/requirejs-text/text",sprintf:"../vendor/sprintf/src/sprintf",moment:"../vendor/momentjs/moment",spin:"../vendor/spinjs/spin",cartodb:"../vendor/cartodb/dist/cartodb.nojquery",highcharts:"../lib/highcharts/js/highcharts.src"},shim:{jquery:{exports:"$"},underscore:{exports:"_"},backbone:{deps:["jquery","underscore"],exports:"Backbone"},handlebars:{exports:"Handlebars"},sprintf:{exports:"sprintf"},cartodb:{deps:["jquery"]},highcharts:{exports:"Highcharts"}}}),require(["underscore","backbone","handlebars","router"],function(e,t,n,r){Number.prototype.toCommas=function(){return this.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},cdb.core.Template.compilers=e.extend(cdb.core.Template.compilers,{handlebars:typeof n=="undefined"?null:n.compile}),new r}),define("main",function(){}); \ No newline at end of file diff --git a/styles/main.css b/styles/main.css new file mode 100644 index 0000000..17faf80 --- /dev/null +++ b/styles/main.css @@ -0,0 +1 @@ +/*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}div.cartodb-popup.dark .jspContainer:after{background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,rgba(0,0,0,0)),color-stop(100%,rgba(0,0,0,1)));background:-webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,1));background:-moz-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,1));background:-o-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,1));background:linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,1))}div.cartodb-popup.dark .jspContainer:before{background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,rgba(0,0,0,1)),color-stop(100%,rgba(0,0,0,0)));background:-webkit-linear-gradient(top,rgba(0,0,0,1),rgba(0,0,0,0));background:-moz-linear-gradient(top,rgba(0,0,0,1),rgba(0,0,0,0));background:-o-linear-gradient(top,rgba(0,0,0,1),rgba(0,0,0,0));background:linear-gradient(top,rgba(0,0,0,1),rgba(0,0,0,0))}div.cartodb-popup.dark{background:url(../img/dark.png) no-repeat -226px 0}div.cartodb-popup.dark div.cartodb-popup-content-wrapper{background:url(../img/dark.png) repeat-y -452px 0}div.cartodb-popup.dark div.cartodb-popup-tip-container{background:url(../img/dark.png) no-repeat 0 0}div.cartodb-popup.dark a.cartodb-popup-close-button{background:url(../img/dark.png) no-repeat 0 -23px}div.cartodb-popup.dark h4{color:#666}div.cartodb-popup.dark p{color:#FFF}div.cartodb-popup.dark p.empty{font-style:italic;color:#AAA}div.cartodb-popup.dark .jspDrag{background:#AAA;background:rgba(255,255,255,.5)}div.cartodb-popup.dark .jspDrag:hover{background:#DEDEDE;background:rgba(255,255,255,.8)}div.cartodb-infowindow{position:absolute;z-index:12}div.cartodb-popup{position:relative;width:226px;height:auto;padding:7px 0 0;margin:0;background:url(../img/light.png) no-repeat -226px 0}div.cartodb-popup div.cartodb-popup-content-wrapper{position:relative;width:190px;max-width:190px;padding:12px 19px;overflow-x:hidden;background:url(../img/light.png) repeat-y -452px 0}div.cartodb-popup div.cartodb-popup-content{display:block;width:190px;max-width:190px;min-height:5px;height:auto;max-height:185px;margin:0;padding:0;overflow-y:auto;overflow-x:hidden!important;outline:0;text-align:left}div.cartodb-popup .jspContainer:after,div.cartodb-popup .jspContainer:before{content:'';position:absolute;left:0;right:12px;display:block;height:10px;width:190px;z-index:5}div.cartodb-popup .jspContainer:after{bottom:0;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,rgba(255,255,255,0)),color-stop(100%,rgba(255,255,255,1)));background:-webkit-linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,1));background:-moz-linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,1));background:-o-linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,1));background:linear-gradient(top,rgba(255,255,255,0),rgba(255,255,255,1))}div.cartodb-popup .jspContainer:before{top:0;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,rgba(255,255,255,1)),color-stop(100%,rgba(255,255,255,0)));background:-webkit-linear-gradient(top,rgba(255,255,255,1),rgba(255,255,255,0));background:-moz-linear-gradient(top,rgba(255,255,255,1),rgba(255,255,255,0));background:-o-linear-gradient(top,rgba(255,255,255,1),rgba(255,255,255,0));background:linear-gradient(top,rgba(255,255,255,1),rgba(255,255,255,0))}div.cartodb-popup div.cartodb-popup-tip-container{width:226px;height:20px;background:url(../img/light.png) no-repeat 0 0}div.cartodb-popup a.cartodb-popup-close-button{position:absolute;top:-9px;right:-9px;width:26px;height:26px;padding:0;background:url(../img/light.png) no-repeat 0 -23px;text-indent:-9999px;font-size:0;line-height:0;opacity:1;-ms-filter:"alpha(Opacity=100)";filter:alpha(Opacity=1);filter:alpha(opacity=100);text-transform:uppercase;z-index:3}div.cartodb-popup.header.no_fields div.cartodb-popup-content{display:none}div.cartodb-popup.header.no_fields div.cartodb-popup-content-wrapper div.cartodb-edit-buttons{padding-top:5px;margin-top:0}div.cartodb-popup.header.no_fields div.cartodb-edit-buttons{border:none;padding-top:0}div.cartodb-popup .jspContainer{overflow:hidden;position:relative;outline:0}div.cartodb-popup .jspContainer *{outline:0}div.cartodb-popup .jspPane{position:absolute;padding:4px 0 0!important;z-index:1}div.cartodb-popup .jspVerticalBar{position:absolute;top:0;right:0;width:6px;height:100%;background:0 0;z-index:10}div.cartodb-popup .jspHorizontalBar{position:absolute;bottom:0;left:0;width:100%;height:6px;background:0 0}div.cartodb-popup .jspHorizontalBar *,div.cartodb-popup .jspVerticalBar *{margin:0;padding:0}div.cartodb-popup .jspCap{display:none}div.cartodb-popup .jspHorizontalBar .jspCap{float:left}div.cartodb-popup .jspTrack{position:relative;cursor:pointer;background:0 0}div.cartodb-popup .jspDrag{position:relative;top:0;left:0;cursor:pointer;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;background:#999;background:rgba(0,0,0,.16)}div.cartodb-popup .jspDrag:hover{background:#666;background:rgba(0,0,0,.5);cursor:pointer}div.cartodb-popup .jspHorizontalBar .jspDrag,div.cartodb-popup .jspHorizontalBar .jspTrack{float:left;height:100%}div.cartodb-popup .jspArrow{background:#50506d;text-indent:-20000px;display:block;cursor:pointer}div.cartodb-popup .jspArrow.jspDisabled{cursor:default;background:#80808d}div.cartodb-popup .jspVerticalBar .jspArrow{height:16px}div.cartodb-popup .jspHorizontalBar .jspArrow{width:16px;float:left;height:100%}div.cartodb-popup .jspVerticalBar .jspArrow:focus{outline:0}div.cartodb-popup .jspCorner{background:#eeeef4;float:left;height:100%}* html div.cartodb-popup .jspCorner{margin:0 -3px 0 0}div.cartodb-popup h4{display:block;width:190px;margin:0;padding:0;font:700 11px "Helvetica Neue",Helvetica,Arial;text-transform:uppercase;word-wrap:break-word}div.cartodb-popup p{display:block;width:190px;max-width:190px;margin:0;padding:0 0 7px;font:400 13px Helvetica,Arial;word-wrap:break-word}div.cartodb-popup p.italic{font-style:italic}div.cartodb-popup p.loading{position:relative;display:block;width:170px;max-width:170px;margin:0;padding:0 0 0 30px;font:400 13px Helvetica,Arial;font-style:italic;word-wrap:break-word;line-height:21px}div.cartodb-popup p.error{position:relative;display:block;width:170px;max-width:170px;margin:0;padding:0;font:400 13px Helvetica,Arial;font-style:italic;word-wrap:break-word;line-height:18px}div.cartodb-popup p.empty{font-style:italic}div.cartodb-popup div.spinner{position:absolute!important;display:inline;top:0;left:0;margin:10px 0 0 10px}div.cartodb-popup.header.blue div.cartodb-popup-header{background:url(../img/headers.png) no-repeat 0 -40px}div.cartodb-popup.header.blue div.cartodb-popup-header h4{color:#1F4C7F}div.cartodb-popup.header.blue div.cartodb-popup-header span.separator{background:#225386}div.cartodb-popup.header.blue a.cartodb-popup-close-button{background:url(../img/headers.png) no-repeat -226px -40px}div.cartodb-popup.header.blue a.cartodb-popup-close-button:hover{background-position:-226px -66px}div.cartodb-popup.header{padding:0;background:0 0;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;-o-box-shadow:none;border-bottom:none;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-o-border-radius:0}div.cartodb-popup.header div.cartodb-popup-header{position:relative;width:188px;height:auto;max-height:62px;overflow:hidden;padding:17px 19px;background:url(../img/headers.png) no-repeat 0 -40px}div.cartodb-popup.header div.cartodb-popup-header h1{width:100%;margin:0;font:700 21px "Helvetica Neue",Helvetica,Arial;color:#FFF;line-height:23px;text-shadow:0 1px rgba(0,0,0,.5);word-wrap:break-word}div.cartodb-popup.header div.cartodb-popup-header h1 a{color:#fff;font-size:21px;word-wrap:break-word}div.cartodb-popup.header div.cartodb-popup-header h1 a:hover{text-decoration:underline}div.cartodb-popup.header div.cartodb-popup-header h1.loading{position:relative;display:block;width:auto;padding-right:0;padding-left:30px;font-size:14px;font-weight:400;line-height:19px}div.cartodb-popup.header div.cartodb-popup-header h1.error{position:relative;display:block;width:auto;padding-right:0;padding-left:0;font-size:14px;font-weight:400;font-style:italic;line-height:19px}div.cartodb-popup.header div.cartodb-popup-header h4{color:#1F4C7F}div.cartodb-popup.header div.cartodb-popup-header span.separator{position:absolute;bottom:0;left:4px;right:4px;height:1px;background:#225386}div.cartodb-popup.header div.cartodb-popup-content{max-height:150px}div.cartodb-popup.header a.cartodb-popup-close-button{background:url(../img/headers.png) no-repeat -226px -40px}div.cartodb-popup.header a.cartodb-popup-close-button:hover{background-position:-226px -66px}div.cartodb-popup.header.green div.cartodb-popup-header{background:url(../img/headers.png) no-repeat -252px -40px}div.cartodb-popup.header.green div.cartodb-popup-header h4{color:#00916D}div.cartodb-popup.header.green div.cartodb-popup-header span.separator{background:#008E6A}div.cartodb-popup.header.green a.cartodb-popup-close-button{background:url(../img/headers.png) no-repeat -478px -40px}div.cartodb-popup.header.green a.cartodb-popup-close-button:hover{background-position:-478px -66px}div.cartodb-popup.header.orange div.cartodb-popup-header{background:url(../img/headers.png) no-repeat -756px -40px}div.cartodb-popup.header.orange div.cartodb-popup-header h4{color:#CC2929}div.cartodb-popup.header.orange div.cartodb-popup-header span.separator{background:#CC2929}div.cartodb-popup.header.orange a.cartodb-popup-close-button{background:url(../img/headers.png) no-repeat -982px -40px}div.cartodb-popup.header.orange a.cartodb-popup-close-button:hover{background-position:-982px -66px}div.cartodb-popup.header.with-image div.cartodb-popup-header{position:relative;background:url(../img/headers.png) no-repeat -1008px 0;height:138px;max-height:104px}div.cartodb-popup.header.with-image div.cartodb-popup-header .cover{display:block;position:absolute;overflow:hidden;width:218px;height:135px;top:4px;left:4px;border-radius:4px 4px 0 0}div.cartodb-popup.header.with-image div.cartodb-popup-header .cover .shadow{position:absolute;width:218px;height:55px;bottom:0;left:0;background:url(../img/shadow.png) no-repeat;z-index:100}div.cartodb-popup.header.with-image div.cartodb-popup-header .cover #spinner{position:absolute;top:67px;left:109px}div.cartodb-popup.header.with-image div.cartodb-popup-header .cover img{position:absolute;border-radius:4px 4px 0 0;display:none}div.cartodb-popup.header.with-image div.cartodb-popup-header .image_not_found{position:absolute;top:15px;left:15px;width:200px;display:none}div.cartodb-popup.header.with-image div.cartodb-popup-header .image_not_found a{display:-moz-inline-stack;display:inline-block;vertical-align:top;*vertical-align:auto;zoom:1;*display:inline;margin:3px 0 0 -2px;color:#888;font-size:13px;font-family:Helvetica,"Helvetica Neue",Arial,sans-serif;text-decoration:underline}div.cartodb-popup.header.with-image div.cartodb-popup-header .image_not_found a:hover{color:#888;text-decoration:underline}div.cartodb-popup.header.with-image div.cartodb-popup-header .cover .image_not_found i{display:-moz-inline-stack;display:inline-block;vertical-align:top;*vertical-align:auto;zoom:1;*display:inline;width:31px;height:22px;background:transparent url(../img/image_not_found.png)}div.cartodb-popup.header.with-image div.cartodb-popup-header h1{position:absolute;bottom:13px;left:18px;width:188px;z-index:150}div.cartodb-popup.header.with-image div.cartodb-popup-header h4{color:#CCC}div.cartodb-popup.header.with-image div.cartodb-popup-header span.separator{background:#CCC}div.cartodb-popup.header.with-image a.cartodb-popup-close-button{background:url(../img/headers.png) no-repeat -226px -40px}div.cartodb-popup.header.with-image a.cartodb-popup-close-button:hover{background-position:-226px -66px}div.cartodb-popup.header.with-image .cartodb-popup-header h1{display:none}div.cartodb-popup.header.with-image .cartodb-popup-header h1.order1{display:block}div.cartodb-popup.header.with-image .cartodb-popup-content-wrapper .order1{display:none}div.cartodb-popup.header.yellow div.cartodb-popup-header{background:url(../img/headers.png) no-repeat -504px -40px}div.cartodb-popup.header.yellow div.cartodb-popup-header h4{color:#D8832A}div.cartodb-popup.header.yellow div.cartodb-popup-header span.separator{background:#CC7A29}div.cartodb-popup.header.yellow a.cartodb-popup-close-button{background:url(../img/headers.png) no-repeat -730px -40px}div.cartodb-popup.header.yellow a.cartodb-popup-close-button:hover{background-position:-730px -66px}div.cartodb-popup h4{color:#CCC}div.cartodb-popup p{color:#333}div.cartodb-popup p.loading{color:#888}div.cartodb-popup p.error{color:#FF7F7F}div.cartodb-popup p.empty{color:#999}div.cartodb-header{position:relative;display:block;min-height:11px;background:#FFF;margin:0;padding:20px;border:none;border-bottom:1px solid gray;border-bottom:1px solid rgba(0,0,0,.5);-moz-border-radius-topleft:1px;-webkit-border-top-left-radius:1px;border-top-left-radius:1px;-moz-border-radius-topright:1px;-webkit-border-top-right-radius:1px;border-top-right-radius:1px;-webkit-box-shadow:rgba(0,0,0,.1)0 6px 4px -2px;-moz-box-shadow:rgba(0,0,0,.1)0 6px 4px -2px;box-shadow:rgba(0,0,0,.1)0 6px 4px -2px;font-family:'Helvetica Neue',Helvetica,sans-serif;z-index:0}div.cartodb-header h1{padding:0;margin:0;font-weight:700;font-size:17px;color:#397DBA;line-height:normal;text-align:left}div.cartodb-header h1 a{font-weight:700;font-size:17px;color:#397DBA;word-wrap:break-word;text-decoration:none}div.cartodb-header h1 a:hover{text-decoration:underline}div.cartodb-header>p{margin:5px 0 0;padding:0;font-weight:400;font-size:13px;color:#999;text-align:left}div.cartodb-header div.social{position:absolute;top:50%;right:20px;margin:-13px 0 0 0}div.cartodb-header div.social a{zoom:1;*display:inline;_height:26px;height:26px;width:26px;display:-moz-inline-stack;vertical-align:top;text-indent:-9999px;*text-indent:0;font-size:0;line-height:0;text-transform:uppercase;background:url(../img/other.png) no-repeat 0 0}div.cartodb-header div.social a.twitter{margin-left:3px;background:url(../img/other.png) no-repeat -26px 0}div.cartodb-share{display:none;position:relative;float:right;margin:20px 20px 0 0;z-index:5}div.cartodb-share a{width:14px;height:14px;display:block;color:#397DB8;font-size:10px;font-weight:700;text-transform:uppercase;text-shadow:none;padding:7px;background:#fff url(../img/share.png) no-repeat 7px 8px;-webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999}div.cartodb-share a:hover{background:#fff url(../img/share.png) no-repeat -28px 8px}div.cartodb-share a:active,div.cartodb-share a:hover:active{background:#fff url(../img/share.png) no-repeat 7px 8px}.cartodb-fullscreen a:active{background-position:7px 3px!important}.cartodb-fullscreen a:hover{background-position:-19px 5px}.cartodb-fullscreen{display:none;position:relative;margin:11px 0 0 20px;float:left;clear:both;z-index:5}.cartodb-fullscreen a{display:block;width:14px;height:14px;padding:7px;background:#fff url(../img/fullscreen.png) no-repeat 7px 3px;-webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999}.cartodb-share-dialog{display:none}.cartodb-share-dialog .mamufas{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);cursor:default;z-index:1000001}.cartodb-share-dialog .modal{position:absolute;top:50%;left:50%;margin-left:-216px;margin-top:-107px;webkit-box-shadow:rgba(0,0,0,.15)0 0 0 4px;-moz-box-shadow:rgba(0,0,0,.15)0 0 0 4px;box-shadow:rgba(0,0,0,.15)0 0 0 4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999;font-weight:700;font-family:"Segoe UI Bold","Helvetica Bold",Helvetica,Arial;color:#333;line-height:normal}.cartodb-share-dialog.small .modal{margin-left:-108px;margin-top:-165px}.cartodb-share-dialog.small .block .buttons{margin:0 0 10px}.cartodb-share-dialog.small .block .buttons ul{border:none;padding:0}.cartodb-share-dialog.small .block .content .embed_code{padding:0}.cartodb-share-dialog .modal a.close{position:absolute;top:-15px;right:-15px;width:30px;height:15px;padding:7px 0 8px;background:#fff;font:400 13px Helvetica,Arial;text-decoration:none;webkit-box-shadow:rgba(0,0,0,.15)0 0 0 4px;-moz-box-shadow:rgba(0,0,0,.15)0 0 0 4px;box-shadow:rgba(0,0,0,.15)0 0 0 4px;-webkit-border-radius:50px;-moz-border-radius:50px;-ms-border-radius:50px;-o-border-radius:50px;border-radius:50px;line-height:14px;text-align:center;z-index:5}.cartodb-share-dialog .block{background:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;webkit-box-shadow:rgba(0,0,0,.15)0 0 4px 3px;-moz-box-shadow:rgba(0,0,0,.15)0 0 4px 3px;box-shadow:rgba(0,0,0,.15)0 0 4px 3px}.cartodb-share-dialog .block .buttons ul{margin:0;padding:0 24px 0 0;border-right:1px solid #E5E5E5}.cartodb-share-dialog .block .buttons li{list-style:none;margin:0 0 4px;padding:0}.cartodb-share-dialog .block .buttons li a{display:block;padding:10px 13px 11px 30px;width:121px;font-size:13px;font-weight:700;color:#fff;background:#3D8FCA;text-decoration:none;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px}@media only screen and (min-device-width :320px) and (max-device-width :480px){div.cartodb-header h1{width:78%}div.cartodb-header>p{width:80%}}@media only screen and (min-device-width :768px) and (max-device-width :1024px){div.cartodb-header h1{width:78%}div.cartodb-header>p{width:80%}}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){div.cartodb-header h1{width:78%}div.cartodb-header>p{width:80%}div.cartodb-zoom a{background:url(../img/other@2x.png) no-repeat 0 0!Important;background-size:113px 34px!Important}div.cartodb-zoom a.zoom_in{background-position:-68px 9px!important}div.cartodb-zoom a.zoom_out{background-position:-94px 10px!important}div.cartodb-header div.social a.facebook{background:url(../img/other@2x.png) no-repeat 0 0!Important;background-size:113px 34px!Important}div.cartodb-header div.social a.twitter{background:url(../img/other@2x.png) no-repeat -26px 0!Important;background-size:113px 34px!Important}div.cartodb-searchbox span.loader,div.cartodb-tiles-loader div.loader{background:url(../img/loader@2x.gif) no-repeat center center #fff!Important;background-size:16px 16px!Important}div.cartodb-searchbox input.submit{background:url(../img/other@2x.png) no-repeat -56px 0!Important;background-size:113px 34px!Important}}.cartodb-share-dialog .block .buttons li a.twitter{background:#3D8FCA url(../img/twitter.png) no-repeat 10px 50%}.cartodb-share-dialog .block .buttons li a.twitter:hover{background-color:#3272A0}.cartodb-share-dialog .block .buttons li a.facebook{background:#3B5998 url(../img/facebook.png) no-repeat 10px 50%}.cartodb-share-dialog .block .buttons li a.facebook:hover{background-color:#283C65}.cartodb-share-dialog .block a,.cartodb-share-dialog .block h3,.cartodb-share-dialog .block label,.cartodb-share-dialog .block p{letter-spacing:0}.cartodb-share-dialog .block div.head{position:relative;padding:5px 26px;border-bottom:1px solid #E5E5E5}.cartodb-share-dialog .block h3{margin:1em 0;font-size:15px;font-weight:700}.cartodb-share-dialog .block h4{font-size:13px;font-weight:700;color:#666;padding:0;margin:0;margin:0 0 9px}.cartodb-share-dialog .block .content .buttons,.cartodb-share-dialog .block .content .embed_code{display:inline-block;zoom:1;*display:inline;vertical-align:top}.cartodb-share-dialog .block .content .embed_code{padding-left:24px}.cartodb-share-dialog .block .content .embed_code textarea{resize:none;padding:5px;width:153px;height:66px;border:1px solid #C3C3C3;background:#F5F5F5;font-size:11px;color:#666;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px}.cartodb-share-dialog .block .content{padding:20px 26px 30px}div.cartodb-mobile.open{background:#fff;border:1px solid #999;clear:both;overflow:hidden;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px}div.cartodb-mobile .bottom-shadow,div.cartodb-mobile .top-shadow{height:20px;width:100%;position:absolute;left:0;z-index:100;pointer-events:none;display:none}div.cartodb-mobile .top-shadow{top:0;height:13px;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,rgba(255,255,255,.95)),color-stop(100%,rgba(255,255,255,.04)));background-image:-webkit-linear-gradient(top,rgba(255,255,255,.95)0,rgba(255,255,255,.04)100%);background-image:-moz-linear-gradient(top,rgba(255,255,255,.95)0,rgba(255,255,255,.04)100%);background-image:-o-linear-gradient(top,rgba(255,255,255,.95)0,rgba(255,255,255,.04)100%);background-image:linear-gradient(top,rgba(255,255,255,.95)0,rgba(255,255,255,.04)100%);-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px}div.cartodb-mobile .bottom-shadow{bottom:0;background-image:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,rgba(255,255,255,.04)),color-stop(100%,rgba(255,255,255,.95)));background-image:-webkit-linear-gradient(top,rgba(255,255,255,.04)0,rgba(255,255,255,.95)100%);background-image:-moz-linear-gradient(top,rgba(255,255,255,.04)0,rgba(255,255,255,.95)100%);background-image:-o-linear-gradient(top,rgba(255,255,255,.04)0,rgba(255,255,255,.95)100%);background-image:linear-gradient(top,rgba(255,255,255,.04)0,rgba(255,255,255,.95)100%);-webkit-border-bottom-left-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-bottomright:4px;border-bottom-left-radius:4px;border-bottom-right-radius:4px}div.cartodb-mobile .legends .cartodb-legend-stack{bottom:auto;right:auto;left:auto;top:auto}div.cartodb-mobile .legends .cartodb-legend-stack .cartodb-legend{border-color:#E5E5E5;padding:13px 10px 14px}div.cartodb-mobile .legends .cartodb-legend-stack .legend-title{border-bottom:1px solid #E5E5E5;padding:0 0 10px}div.cartodb-mobile.open.legends .legends{display:block;height:110px}div.cartodb-mobile.open.legends{height:110px}div.cartodb-mobile.open .legends{position:relative;clear:both;display:none;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0;background-color:transparent;overflow-x:hidden;overflow-y:scroll}div.cartodb-mobile.open .torque{background-color:transparent}div.cartodb-mobile.open .toggle{background-color:transparent;webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0;border:none;z-index:110}div.cartodb-mobile .cartodb-timeslider ul{height:40px}div.cartodb-mobile .cartodb-timeslider li.time{webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div.cartodb-mobile .cartodb-legend-stack,div.cartodb-mobile .cartodb-timeslider{bottom:0;left:0;margin:0;width:100%;background:0 0;box-shadow:none;border:none}div.cartodb-mobile .cartodb-legend-stack .cartodb-legend.choropleth ul,div.cartodb-mobile .cartodb-legend-stack .cartodb-legend.density ul,div.cartodb-mobile .cartodb-legend-stack .cartodb-legend.intensity ul{width:230px}div.cartodb-mobile .cartodb-legend-stack .cartodb-legend div.legend-title{width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}div.cartodb-mobile{display:none;position:absolute;bottom:35px;right:20px;z-index:5;height:40px;max-width:280px}div.cartodb-mobile.legends,div.cartodb-mobile.torque{display:block}div.cartodb-mobile.open.legends.torque{height:110px}div.cartodb-mobile.open.legends .bottom-shadow,div.cartodb-mobile.open.legends .top-shadow{display:block}div.cartodb-mobile.open.torque .toggle{border-left:1px solid #E5E5E5;border-bottom:1px solid #E5E5E5}div.cartodb-mobile.open.torque .top-shadow{top:41px;-webkit-border-top-left-radius:0;-webkit-border-top-right-radius:0;-moz-border-radius-topleft:0;-moz-border-radius-topright:0;border-top-left-radius:0;border-top-right-radius:0}div.cartodb-mobile.open.torque .legends{top:40px;height:70px}div.cartodb-mobile.torque .torque{display:block;width:100%}div.cartodb-timeslider .slider-wrapper .slider{width:100%}div.cartodb-mobile .torque{height:40px;width:240px;position:absolute;background:#fff;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0;webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border-bottom:1px solid #E5E5E5;z-index:9}div.cartodb-mobile .legends,div.cartodb-mobile .torque{display:none}div.cartodb-mobile .legends{display:none;background:0 0}div.cartodb-mobile.torque{webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999;background:#fff}div.cartodb-mobile.torque .torque{background:0 0;border:none}div.cartodb-mobile.open.torque.legends .torque{border-bottom:2px solid #E5E5E5}div.cartodb-mobile.torque .toggle{border:none;background-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0;webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}div.cartodb-mobile .toggle{position:absolute;right:0;top:0;webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999;display:block;width:40px;height:30px;margin:auto;padding:5px 0;background:url(../img/burguer.png) no-repeat center center #fff;z-index:10}div.cartodb-legend-stack{position:absolute;bottom:35px;right:20px;webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999;background:#fff;z-index:5;cursor:text}div.cartodb-legend-stack div.cartodb-legend{position:relative;top:auto;right:auto;left:auto;bottom:auto;background:0 0;border:none;margin:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0;border-bottom:1px solid #999;webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;cursor:text}div.cartodb-legend-stack div.cartodb-legend:last-child{border-bottom:none}div.cartodb-legend{position:absolute;bottom:35px;right:20px;padding:13px 15px 14px;font:400 13px Helvetica,Arial;color:#858585;text-align:left;webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999;background:#fff;z-index:5}div.cartodb-legend .legend-title{margin:0 0 10px;text-align:left;color:#666;font-weight:700;font-size:11px;text-transform:uppercase}div.cartodb-legend ul{padding:0;margin:0;list-style:none}div.cartodb-legend ul li{padding:0;margin:0;font-size:10px;color:#666;font-weight:700;font-family:Helvetica,Arial;text-transform:uppercase;line-height:normal}div.cartodb-legend-stack div.cartodb-legend.none,div.cartodb-legend.none{display:none}div.map div.cartodb-legend-stack div.cartodb-legend.wrapper .cartodb-legend{padding:0;display:block}div.cartodb-legend.wrapper .cartodb-legend{display:block;padding:0}div.cartodb-legend.category ul li,div.cartodb-legend.color ul li,div.cartodb-legend.custom ul li{position:relative;margin:0 0 7px;font-size:10px;color:#666;font-weight:700;font-family:Helvetica,Arial;text-transform:uppercase;text-align:left;height:10px;line-height:10px;vertical-align:middle}div.cartodb-legend.category ul li.bkg,div.cartodb-legend.color ul li.bkg,div.cartodb-legend.custom ul li.bkg{height:20px;line-height:24px;margin:0 0 15px}div.cartodb-legend.category ul li.bkg .bullet,div.cartodb-legend.color ul li.bkg .bullet,div.cartodb-legend.custom ul li.bkg .bullet{height:20px;width:20px;border:1px solid rgba(0,0,0,.3);border:none;background-size:26px 26px!important;background-position:center center!important;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}div.cartodb-legend.category ul li.bkg:last-child,div.cartodb-legend.color ul li.bkg:last-child,div.cartodb-legend.custom ul li.bkg:last-child{margin:0 0 5px}div.cartodb-legend.category ul li:last-child,div.cartodb-legend.color ul li:last-child,div.cartodb-legend.custom ul li:last-child{margin:0}div.cartodb-legend.category ul li .bullet,div.cartodb-legend.color ul li .bullet,div.cartodb-legend.custom ul li .bullet{float:left;margin:0 5px 0 0;width:3px;height:3px;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;padding:2px;background:#fff;border:1px solid rgba(0,0,0,.2);z-index:1000}div.cartodb-legend.bubble{text-align:center}div.cartodb-legend.bubble ul{clear:both;overflow:hidden;display:-moz-inline-stack;display:inline-block}div.cartodb-legend.bubble ul li{position:relative;float:left;top:15px}div.cartodb-legend.bubble ul li.graph{top:0;width:120px;height:40px;margin:0 10px;background:#f1f1f1}div.cartodb-legend.bubble ul li.graph .bubbles{background:url(../img/bubbles.png) no-repeat 0 0;width:120px;height:40px}div.cartodb-legend.choropleth{padding:13px 15px 15px}div.cartodb-legend.choropleth ul{min-width:210px}div.cartodb-legend.choropleth li.min{float:left;margin:0 0 5px}div.cartodb-legend.choropleth li.max{float:right;margin:0 0 5px}div.cartodb-legend.choropleth li.graph div{width:10px;height:22px}div.cartodb-legend.choropleth li.graph .quartile{display:table-cell}div.cartodb-legend.choropleth li.graph.count_7 .quartile{width:30px}div.cartodb-legend.choropleth li.graph.count_5 .quartile{width:42px}div.cartodb-legend.choropleth li.graph.count_3 .quartile{width:70px}div.cartodb-legend.choropleth li.graph .colors{display:table-row}div.cartodb-legend.choropleth li.graph{clear:both;overflow:hidden;display:table;width:100%;height:22px;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding;background-clip:padding;border:1px solid #b3b3b3}div.cartodb-legend.density{padding:13px 15px 15px}div.cartodb-legend.density ul{min-width:210px}div.cartodb-legend.density li.min{float:left;margin:0 0 5px}div.cartodb-legend.density li.max{float:right;margin:0 0 5px}div.cartodb-legend.density li.graph div{width:10px;height:22px}div.cartodb-legend.density li.graph .quartile{display:table-cell}div.cartodb-legend.density li.graph.count_7 .quartile{width:30px}div.cartodb-legend.density li.graph.count_5 .quartile{width:42px}div.cartodb-legend.density li.graph.count_3 .quartile{width:70px}div.cartodb-legend.density li.graph .colors{display:table-row}div.cartodb-legend.density li.graph{clear:both;overflow:hidden;display:table;width:100%;height:22px;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding;background-clip:padding;border:1px solid #b3b3b3}div.cartodb-legend.intensity{padding:13px 15px 15px}div.cartodb-legend.intensity ul{min-width:210px}div.cartodb-legend.intensity li.min{float:left;margin:0 0 5px}div.cartodb-legend.intensity li.max{float:right;margin:0 0 5px}div.cartodb-legend.intensity li.graph{clear:both;width:100%;height:22px;background:#f1f1f1;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding;background-clip:padding;-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);-o-box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);-moz-box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);-ms-box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}div.cartodb-zoom{position:relative;float:left;display:block;margin:20px 0 0 20px;width:28px;-webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;z-index:5;background:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999}div.cartodb-zoom a{position:relative;display:block;width:28px;height:28px;padding:0;font:700 20px Arial;color:#999;text-align:center;text-decoration:none;text-indent:-9999px;line-height:0;font-size:0;background:url(../img/other.png) no-repeat 0 0}div.cartodb-zoom a.zoom_in{border-bottom:1px solid #E6E6E6;background-position:-68px 10px;-webkit-border-top-left-radius:4px;-webkit-border-top-right-radius:4px;-moz-border-radius-topleft:4px;-moz-border-radius-topright:4px;border-top-left-radius:4px;border-top-right-radius:4px}div.cartodb-zoom a.zoom_in:hover{background-position:-68px -14px;cursor:pointer}div.cartodb-zoom a.zoom_out{background-position:-94px 10px;-webkit-border-bottom-left-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomleft:4px;-moz-border-radius-bottomright:4px;border-bottom-left-radius:4px;border-bottom-right-radius:4px}div.cartodb-zoom a.zoom_out:hover{background-position:-94px -14px;cursor:pointer}div.cartodb-zoom a.disabled{filter:alpha(opacity=20);filter:alpha(Opacity=20);opacity:.2}div.cartodb-zoom a.disabled:hover{cursor:default;color:#999}div.cartodb-zoom-info{position:absolute;display:block;top:100px;left:20px;margin:20px 0 0;width:28px;height:28px;font:400 13px Helvetica,Arial;color:#858585;text-align:center;line-height:28px;-webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;z-index:5;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999;background:#fff}div.cartodb-tiles-loader{position:relative;float:left;display:block;left:0;top:0}div.cartodb-tiles-loader div.loader{position:absolute;display:block;top:70px;left:-30px;margin:20px 0 0;width:28px;height:28px;-webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;z-index:5;background:url(../img/loader.gif) no-repeat center center #fff;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999}div.cartodb-layer-selector-box{position:relative;display:block;float:right;margin:20px 20px 0 0;width:142px;height:29px;color:#CCC;font-size:13px;-webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;background:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999;z-index:5}div.cartodb-layer-selector-box a.layers{float:left;width:126px;padding:6px 8px;line-height:20px;color:#CCC;text-decoration:none;font-family:robotoregular,Helvetica,Arial,Sans-serif}div.cartodb-layer-selector-box a.layers:hover{color:#bbb}div.cartodb-layer-selector-box a.layers:hover .count{background:#ccc}div.cartodb-layer-selector-box a.layers .count{position:absolute;right:6px;top:6px;width:auto;padding:3px 6px;margin:0;font-size:10px;color:#fff;line-height:12px;background:#DDD;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border-radius:2px}div.cartodb-layer-selector-box div.cartodb-dropdown{padding:0;margin:0}div.cartodb-layer-selector-box div.cartodb-dropdown ul{padding:0;margin:0;list-style:none;border:1px solid 999999}div.cartodb-layer-selector-box div.cartodb-dropdown ul li{border-bottom:1px solid #EDEDED;position:relative}div.cartodb-layer-selector-box div.cartodb-dropdown ul li:last-child{border-bottom:none}div.cartodb-layer-selector-box div.cartodb-dropdown ul li:hover{background:#fff}div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.layer{display:-moz-inline-stack;display:inline-block;vertical-align:middle;width:104px;padding:13px 13px 15px;zoom:1;color:#666;font:400 13px "Helvetica Neue",Helvetica,Arial;text-decoration:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}div.cartodb-layer-selector-box div.cartodb-dropdown ul li:hover a.layer{text-decoration:underline;color:#545454}div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch{position:absolute;top:13px;right:10px;text-indent:-9999px;vertical-align:middle;width:23px;height:12px;padding:0;-webkit-border-radius:12px;-moz-border-radius:12px;-ms-border-radius:12px;-o-border-radius:12px;border-radius:12px;-webkit-transform-style:"linear";-moz-transform-style:"linear";-ms-transform-style:"linear";-o-transform-style:"linear";transform-style:"linear";-webkit-transition-property:left;-moz-transition-property:left;-o-transition-property:left;transition-property:left;-webkit-transition-duration:180ms;-moz-transition-duration:180ms;-o-transition-duration:180ms;transition-duration:180ms;text-decoration:none;border:1px solid #44759E}div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch:before{position:absolute;content:' ';top:0;left:0;width:100%;height:100%;-webkit-border-radius:12px;-moz-border-radius:12px;-ms-border-radius:12px;-o-border-radius:12px;border-radius:12px;background:-webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,rgba(0,0,0,.18)),color-stop(100%,rgba(0,0,0,0)));background:-webkit-linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,0));background:-moz-linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,0));background:-o-linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,0));background:linear-gradient(rgba(0,0,0,.18),rgba(0,0,0,0));z-index:0}div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch span.handle{position:absolute;top:0;width:10px;height:10px;-webkit-border-radius:12px;-moz-border-radius:12px;-ms-border-radius:12px;-o-border-radius:12px;border-radius:12px;border:1px solid #44759e;background:#F2F2F2;z-index:2;-webkit-transform-style:"linear";-moz-transform-style:"linear";-ms-transform-style:"linear";-o-transform-style:"linear";transform-style:"linear";-webkit-transition-property:left;-moz-transition-property:left;-o-transition-property:left;transition-property:left;-webkit-transition-duration:180ms;-moz-transition-duration:180ms;-o-transition-duration:180ms;transition-duration:180ms}div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch.enabled{border-color:#44759E;background:#56AFEF}div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch.enabled span.handle{left:12px;border-color:#44759E}div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch.disabled{opacity:1;-ms-filter:"alpha(Opacity=100)";filter:alpha(Opacity=1);filter:alpha(opacity=100);border-color:#CCC;background:#D8D8D8}div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch span.handle{left:0;border-color:#999}div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch:hover{cursor:pointer!important}div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch.working{opacity:.5;-ms-filter:"alpha(Opacity=50)";filter:alpha(Opacity=.5);filter:alpha(opacity=50)}div.cartodb-layer-selector-box div.cartodb-dropdown ul li a.switch.working:hover{cursor:default!important}div.cartodb-searchbox{position:relative;display:block;float:right;margin:20px 20px 0 0;width:142px;height:29px;-webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;background:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999;z-index:5}div.cartodb-searchbox span.loader{position:absolute;display:none;top:3px;left:3px;width:22px;height:22px;background:url(../img/loader.gif) no-repeat center center #fff;z-index:5}div.cartodb-searchbox input.text{position:absolute;top:6px;left:30px;width:103px;padding:0;margin:0;line-height:17px;border:none;background:0 0;border-bottom:1px dotted #CCC;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0;font:400 14px Arial;color:#999;text-align:left;z-index:2}div.cartodb-searchbox input.text:focus{outline:0;border-color:#999;color:#666}div.cartodb-searchbox input.submit{position:absolute;left:8px;top:8px;width:12px;height:12px;text-indent:-9999px;font-size:0;line-height:0;text-transform:uppercase;border:none;background:url(../img/other.png) no-repeat -56px 0;z-index:1}div.cartodb-searchbox input.submit:hover{cursor:pointer}div.cartodb-infobox{padding:20px;position:absolute;display:inline-block;-webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;background:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999;text-align:left;z-index:5}div.cartodb-dropdown{position:absolute;display:none;background:#fff;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;border:none;-webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 1px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 1px;-ms-box-shadow:rgba(0,0,0,.2)0 0 4px 1px;-o-box-shadow:rgba(0,0,0,.2)0 0 4px 1px;box-shadow:rgba(0,0,0,.2)0 0 4px 1px;z-index:50}div.cartodb-dropdown.border{border:1px solid #999}div.cartodb-dropdown div.tail{position:absolute;top:-6px;right:10px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #999;z-index:0}div.cartodb-dropdown div.tail span.border{position:absolute;top:1px;left:-6px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;z-index:2}div.cartodb-tooltip{position:absolute;z-index:5;display:none}div.cartodb-tooltip p{font-family:robotoregular,Helvetica,Arial,Sans-serif;font-size:15px;color:#333;text-align:left;text-shadow:-1px -1px 0 #FFF,1px -1px 0 #FFF,-1px 1px 0 #FFF,1px 1px 0 #FFF}div#cartodb-gmaps-attribution{position:absolute;display:block;bottom:13px;right:0;height:10px;line-height:10px;padding:0 6px 4px;background:#fff;background:rgba(245,245,245,.7);font-family:Roboto,Arial,sans-serif!important;font-size:11px;font-weight:400;color:#444!important;white-space:nowrap;direction:ltr;text-align:right;background-position:initial initial;background-repeat:initial initial;border:none;z-index:10000}div#cartodb-gmaps-attribution a{color:#444;text-decoration:none}div.cartodb-timeslider{position:absolute;display:inline-block;height:40px;width:auto!important;margin-bottom:30px;padding:0;-webkit-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;-moz-box-shadow:rgba(0,0,0,.2)0 0 4px 2px;box-shadow:rgba(0,0,0,.2)0 0 4px 2px;background:#fff;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;border:1px solid #999;text-align:left;z-index:5}div.cartodb-timeslider ul{display:block;height:40px;margin:0;padding:0;line-height:40px;list-style:none;cursor:default}div.cartodb-timeslider ul li{display:inline-block;zoom:1;*display:inline;vertical-align:top;height:40px;_height:40px;width:auto;line-height:40px;border-right:1px solid #E5E5E5}div.cartodb-timeslider ul li.last{border-right:none}div.cartodb-timeslider a.button{display:block;width:48px;height:40px;text-indent:-9999px;line-height:0;font-size:0;background:url(../img/slider.png) no-repeat -2px -55px}div.cartodb-timeslider a.button:hover{background-position:-42px -55px}div.cartodb-timeslider a.button.stop{background-position:-2px -4px}div.cartodb-timeslider a.button.stop:hover{background-position:-42px -4px}div.cartodb-timeslider p{width:75px;height:40px;margin:0;padding:0 5px 0 0;line-height:40px;font-size:13px;font-weight:700;font-family:Helvetica,Arial;text-align:center;color:#999}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:2/1),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){div.cartodb-timeslider .ui-slider .ui-slider-handle{top:-12px!Important;padding:9px 3px;background:transparent url(../img/handle@2x.png) center center no-repeat!Important;border:none!Important;background-size:11px 12px!Important}div.cartodb-mobile .toggle{float:right;display:block;width:40px;height:30px;margin:auto;padding:5px 0;background:url(../img/burguer@2x.png) no-repeat center center #fff;background-size:18px 11px}}@media only screen and (max-device-width :320px) and (max-device-width :480px){div.cartodb-timeslider .ui-slider .ui-slider-handle{top:-12px!Important;padding:9px 3px;background:transparent url(../img/handle@2x.png) center center no-repeat!Important;border:none!Important;background-size:11px 12px!Important}}@media only screen and (min-device-width :320px) and (max-device-width :480px) and (orientation :portrait){.cartodb-text{display:none}.cartodb-map-wrapper{bottom:0!Important}}@media only screen and (min-device-width :320px) and (max-device-width :480px) and (orientation :landscape){.cartodb-text{display:none}.cartodb-map-wrapper{bottom:0!Important}}@media screen and (device-aspect-ratio:40/71) and (orientation :portrait){.cartodb-text{display:none}.cartodb-map-wrapper{bottom:0!Important}div.cartodb-timeslider .ui-slider .ui-slider-handle{top:-12px!Important;padding:9px 3px;background:transparent url(../img/handle@2x.png) center center no-repeat!Important;border:none!Important;background-size:11px 12px!Important}}@media screen and (device-aspect-ratio:40/71) and (orientation :landscape){.cartodb-text{display:none}.cartodb-map-wrapper{bottom:0!Important}div.cartodb-timeslider .ui-slider .ui-slider-handle{top:-12px!Important;padding:9px 3px;background:transparent url(../img/handle@2x.png) center center no-repeat!Important;border:none!Important;background-size:11px 12px!Important}}@media only screen and (min-device-width :340px) and (max-device-width:768px) and (orientation :portrait){.cartodb-text{display:none}.cartodb-map-wrapper{bottom:0!Important}div.cartodb-timeslider .ui-slider .ui-slider-handle{top:-12px!Important;padding:9px 3px;background:transparent url(../img/handle@2x.png) center center no-repeat!Important;border:none!Important;background-size:11px 12px!Important}}@media only screen and (max-device-width :768px) and (orientation :landscape){.cartodb-text{display:none}.cartodb-map-wrapper{bottom:0!Important}div.cartodb-timeslider .ui-slider .ui-slider-handle{top:-12px!Important;padding:9px 3px;background:transparent url(../img/handle@2x.png) center center no-repeat!Important;border:none!Important;background-size:11px 12px!Important}}div.cartodb-timeslider .slider-wrapper{display:inline-block;zoom:1;*display:inline;vertical-align:top;width:298px;height:4px;_height:4px;padding:18px 15px}div.cartodb-timeslider .slider{width:298px;height:4px}div.cartodb-timeslider .ui-helper-hidden{display:none}div.cartodb-timeslider .ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}div.cartodb-timeslider .ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}div.cartodb-timeslider .ui-helper-clearfix:after,div.cartodb-timeslider .ui-helper-clearfix:before{content:"";display:table;border-collapse:collapse}div.cartodb-timeslider .ui-helper-clearfix:after{clear:both}div.cartodb-timeslider .ui-helper-clearfix{min-height:0}div.cartodb-timeslider .ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}div.cartodb-timeslider .ui-front{z-index:100}div.cartodb-timeslider .ui-state-disabled{cursor:default!important}div.cartodb-timeslider .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}div.cartodb-timeslider .ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}div.cartodb-timeslider .ui-slider{background-color:#E0E0E0;position:relative;text-align:left;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px}div.cartodb-timeslider .ui-slider .ui-slider-handle{position:absolute;z-index:102;width:9px;height:10px;cursor:default;background:url(../img/slider.png) no-repeat -98px -18px #fff;border:1px solid #555;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px;outline:0}div.cartodb-timeslider .ui-slider .ui-slider-handle:hover{cursor:col-resize;background-position:-112px -18px}div.cartodb-timeslider .ui-slider .ui-slider-range{position:absolute;z-index:100;font-size:.7em;display:block;border:0;background-position:0 0;background-color:#397DBA;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px}div.cartodb-timeslider .ui-slider.ui-state-disabled .ui-slider-handle,div.cartodb-timeslider .ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}div.cartodb-timeslider .ui-slider-horizontal{height:4px;cursor:pointer}div.cartodb-timeslider .ui-slider-horizontal .ui-slider-handle{top:-4px;margin-left:-6px}div.cartodb-timeslider .ui-slider-horizontal .ui-slider-range{top:0;height:100%;cursor:pointer}div.cartodb-timeslider .ui-slider-horizontal .ui-slider-range-min{left:0}div.cartodb-timeslider .ui-slider-horizontal .ui-slider-range-max{right:0}div.cartodb-timeslider .ui-slider-vertical{width:.8em;height:100px}div.cartodb-timeslider .ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}div.cartodb-timeslider .ui-slider-vertical .ui-slider-range{left:0;width:100%}div.cartodb-timeslider .ui-slider-vertical .ui-slider-range-min{bottom:0}div.cartodb-timeslider .ui-slider-vertical .ui-slider-range-max{top:0}.leaflet-image-layer,.leaflet-layer,.leaflet-map-pane,.leaflet-marker-icon,.leaflet-marker-pane,.leaflet-marker-shadow,.leaflet-overlay-pane,.leaflet-overlay-pane svg,.leaflet-popup-pane,.leaflet-shadow-pane,.leaflet-tile,.leaflet-tile-container,.leaflet-tile-pane,.leaflet-zoom-box{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden;-ms-touch-action:none}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container img{max-width:none!important}.leaflet-container img.leaflet-image-layer{max-width:15000px!important}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-tile-pane{z-index:2}.leaflet-objects-pane{z-index:3}.leaflet-overlay-pane{z-index:4}.leaflet-shadow-pane{z-index:5}.leaflet-marker-pane{z-index:6}.leaflet-popup-pane{z-index:7}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:7;pointer-events:auto}.leaflet-bottom,.leaflet-top{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup,.leaflet-fade-anim .leaflet-tile{opacity:0;-webkit-transition:opacity .2s linear;-moz-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup,.leaflet-fade-anim .leaflet-tile-loaded{opacity:1}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);-o-transition:-o-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-touching .leaflet-zoom-animated,.leaflet-zoom-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-clickable{cursor:pointer}.leaflet-container{cursor:-webkit-grab;cursor:-moz-grab}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-clickable,.leaflet-dragging .leaflet-container{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078A8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,.5)}.leaflet-container{font:12px/1.5 "Helvetica Neue",Arial,Helvetica,sans-serif}.leaflet-bar{box-shadow:0 1px 5px rgba(0,0,0,.65);border-radius:4px}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px 'Lucida Console',Monaco,monospace;text-indent:1px}.leaflet-control-zoom-out{font-size:20px}.leaflet-touch .leaflet-control-zoom-in{font-size:22px}.leaflet-touch .leaflet-control-zoom-out{font-size:24px}.leaflet-control-layers{box-shadow:0 1px 5px rgba(0,0,0,.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(images/layers.png);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(images/layers-2x.png);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255,255,255,.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;font-size:11px;white-space:nowrap;overflow:hidden;-moz-box-sizing:content-box;box-sizing:content-box;background:#fff;background:rgba(255,255,255,.5)}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 19px;line-height:1.4}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{margin:0 auto;width:40px;height:20px;position:relative;overflow:hidden}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;text-align:center;width:18px;height:14px;font:16px/14px Tahoma,Verdana,sans-serif;color:#c3c3c3;text-decoration:none;font-weight:700;background:0 0}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.leaflet-oldie .leaflet-popup-content-wrapper{zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678, M12=.70710678, M21=-.70710678, M22=.70710678)}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}body{font-family:Helvetica,Arial,sans-serif;font-size:13px;line-height:1.2;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;background:#333;background-image:url(/dist/images/bg.png);color:#fff}h1{font-size:20px}h2{font-size:17px}h3{font-size:15px}a{color:#fff;text-decoration:none}.is-hidden{display:none!important;visibility:hidden}.is-clearfix:after,.is-clearfix:before{content:"";display:table}.is-clearfix:after{clear:both}.row{display:block;margin:0 auto;max-width:100%;min-width:0}.row:after,.row:before{content:" ";display:table}.row:after{clear:both}.row .row{margin:0 -2%}.grid-1,.grid-10,.grid-11,.grid-12,.grid-2,.grid-3,.grid-4,.grid-5,.grid-6,.grid-7,.grid-8,.grid-9,.grid-lg-1,.grid-lg-10,.grid-lg-11,.grid-lg-12,.grid-lg-2,.grid-lg-3,.grid-lg-4,.grid-lg-5,.grid-lg-6,.grid-lg-7,.grid-lg-8,.grid-lg-9,.grid-md-1,.grid-md-10,.grid-md-11,.grid-md-12,.grid-md-2,.grid-md-3,.grid-md-4,.grid-md-5,.grid-md-6,.grid-md-7,.grid-md-8,.grid-md-9,.grid-sm-1,.grid-sm-10,.grid-sm-11,.grid-sm-12,.grid-sm-2,.grid-sm-3,.grid-sm-4,.grid-sm-5,.grid-sm-6,.grid-sm-7,.grid-sm-8,.grid-sm-9{display:block;float:left;margin:0 2%}.grid-1,.grid-lg-1,.grid-md-1,.grid-sm-1{width:4.33333%}.grid-2,.grid-lg-2,.grid-md-2,.grid-sm-2{width:12.66667%}.grid-3,.grid-lg-3,.grid-md-3,.grid-sm-3{width:21%}.grid-4,.grid-lg-4,.grid-md-4,.grid-sm-4{width:29.33333%}.grid-5,.grid-lg-5,.grid-md-5,.grid-sm-5{width:37.66667%}.grid-6,.grid-lg-6,.grid-md-6,.grid-sm-6{width:46%}.grid-7,.grid-lg-7,.grid-md-7,.grid-sm-7{width:54.33333%}.grid-8,.grid-lg-8,.grid-md-8,.grid-sm-8{width:62.66667%}.grid-9,.grid-lg-9,.grid-md-9,.grid-sm-9{width:71%}.grid-10,.grid-lg-10,.grid-md-10,.grid-sm-10{width:79.33333%}.grid-11,.grid-lg-11,.grid-md-11,.grid-sm-11{width:87.66667%}.grid-12,.grid-lg-12,.grid-md-12,.grid-sm-12{width:96%}@media screen and (min-width:1400px){.grid-lg-1{width:4.33333%}.grid-lg-2{width:12.66667%}.grid-lg-3{width:21%}.grid-lg-4{width:29.33333%}.grid-lg-5{width:37.66667%}.grid-lg-6{width:46%}.grid-lg-7{width:54.33333%}.grid-lg-8{width:62.66667%}.grid-lg-9{width:71%}.grid-lg-10{width:79.33333%}.grid-lg-11{width:87.66667%}.grid-lg-12{width:96%}}@media screen and (max-width:900px){.grid-md-1{width:4.33333%}.grid-md-2{width:12.66667%}.grid-md-3{width:21%}.grid-md-4{width:29.33333%}.grid-md-5{width:37.66667%}.grid-md-6{width:46%}.grid-md-7{width:54.33333%}.grid-md-8{width:62.66667%}.grid-md-9{width:71%}.grid-md-10{width:79.33333%}.grid-md-11{width:87.66667%}.grid-md-12{width:96%}}@media screen and (max-width:320px){.grid-sm-1{width:4.33333%}.grid-sm-2{width:12.66667%}.grid-sm-3{width:21%}.grid-sm-4{width:29.33333%}.grid-sm-5{width:37.66667%}.grid-sm-6{width:46%}.grid-sm-7{width:54.33333%}.grid-sm-8{width:62.66667%}.grid-sm-9{width:71%}.grid-sm-10{width:79.33333%}.grid-sm-11{width:87.66667%}.grid-sm-12{width:96%}}.layout-header{position:fixed;top:0;width:100%;height:78px;background:#333;z-index:1;-webkit-box-shadow:0 0 10px rgba(0,0,0,.3);-moz-box-shadow:0 0 10px rgba(0,0,0,.3);box-shadow:0 0 10px rgba(0,0,0,.3)}.layout-header .layout-header-inner{width:90%;min-width:960px;margin:0 auto}.layout-header .layout-header-inner:after,.layout-header .layout-header-inner:before{content:" ";display:table}.layout-header .layout-header-inner:after{clear:both}.layout-map{position:fixed;left:0;top:78px;right:0;bottom:0}.layout-page{margin:78px auto 0;min-width:960px;width:90%}.layout-page .layout-page-content{padding:30px 0}.mod-brand{float:left;margin-top:15px}.mod-brand a{display:block}.mod-nav{float:right;margin-top:25px}.mod-nav ul{margin:0;padding:0;list-style:none}.mod-nav li{position:relative;float:left;margin:0 0 0 10px;border:1px solid #666;-webkit-border-radius:14px;-moz-border-radius:14px;-ms-border-radius:14px;-o-border-radius:14px;border-radius:14px;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease}.mod-nav li a{display:block;padding:0 10px;font-size:16px;text-transform:uppercase;line-height:28px}.mod-nav li.active{border-color:#eee;background-color:#eee}.mod-nav li.active a{color:#333}.mod-map{position:absolute;top:0;left:0;height:100%;width:100%;background-color:#eee;background-image:url(/dist/images/bg.png)}.mod-map .cartodb-legend-stack{background:#333;border:0;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 0 5px rgba(0,0,0,.15);-moz-box-shadow:0 0 5px rgba(0,0,0,.15);box-shadow:0 0 5px rgba(0,0,0,.15)}.mod-map .cartodb-legend .legend-title,.mod-map .cartodb-legend ul li{color:#eee}.mod-map .cartodb-legend.choropleth .graph{border:0}.mod-map .cartodb-popup{color:#333}.mod-toolbar{margin:30px 0}.mod-toolbar ul{float:right;list-style:none;margin:0;padding:0}.mod-toolbar .item-fix,.mod-toolbar .item-selector{position:relative;float:left;font-size:16px;margin:0 0 0 10px;padding:0}.mod-toolbar .item-fix .current,.mod-toolbar .item-fix a,.mod-toolbar .item-selector .current,.mod-toolbar .item-selector a{display:block;background:#333;padding:0 15px;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;border-radius:5px}.mod-toolbar .item-fix .current,.mod-toolbar .item-selector .current{cursor:pointer;line-height:32px}.mod-toolbar .item-fix:hover .item-selector-child,.mod-toolbar .item-selector:hover .item-selector-child{display:block}.mod-toolbar .item-selector-child{display:none;background:#333;float:none;position:absolute;right:0;min-width:300px;padding:5px 15px;z-index:1}.mod-toolbar .item-selector-child li{border-bottom:1px solid #4d4d4d}.mod-toolbar .item-selector-child li:last-child{border-bottom:0}.mod-toolbar .item-selector-child a{padding:10px 0}.mod-toolbar .item-button{background:#333;padding:8px 18px;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;border-radius:5px}.mod-toolbar .item-button:hover{background:#4d4d4d}.mod-toolbar .item-button.active{background:#888;color:#333}.mod-toolbar button{border:0;outline:0}.mod-toolbar .item-fix{line-height:32px;padding:0 15px}.mod-toolbar .item-color{background:#aaa;display:inline-block;height:10px;width:50px}.mod-toolbar .current .item-color{background:#e43700}.mod-toolbar .item-text{margin:0 5px}.mod-toolbar .item-arrow{display:inline-block;width:0;height:0;border-style:solid;border-width:8px 6.5px 0;border-color:#aaa transparent transparent}#mapToolbarView{position:absolute;right:5%;z-index:100} \ No newline at end of file diff --git a/vendor/requirejs/require.js b/vendor/requirejs/require.js new file mode 100644 index 0000000..44359e0 --- /dev/null +++ b/vendor/requirejs/require.js @@ -0,0 +1 @@ +var requirejs,require,define;!function(global){function isFunction(it){return"[object Function]"===ostring.call(it)}function isArray(it){return"[object Array]"===ostring.call(it)}function each(ary,func){if(ary){var i;for(i=0;i-1&&(!ary[i]||!func(ary[i],i,ary));i-=1);}}function hasProp(obj,prop){return hasOwn.call(obj,prop)}function getOwn(obj,prop){return hasProp(obj,prop)&&obj[prop]}function eachProp(obj,func){var prop;for(prop in obj)if(hasProp(obj,prop)&&func(obj[prop],prop))break}function mixin(target,source,force,deepStringMixin){return source&&eachProp(source,function(value,prop){(force||!hasProp(target,prop))&&(!deepStringMixin||"object"!=typeof value||!value||isArray(value)||isFunction(value)||value instanceof RegExp?target[prop]=value:(target[prop]||(target[prop]={}),mixin(target[prop],value,force,deepStringMixin)))}),target}function bind(obj,fn){return function(){return fn.apply(obj,arguments)}}function scripts(){return document.getElementsByTagName("script")}function defaultOnError(err){throw err}function getGlobal(value){if(!value)return value;var g=global;return each(value.split("."),function(part){g=g[part]}),g}function makeError(id,msg,err,requireModules){var e=new Error(msg+"\nhttp://requirejs.org/docs/errors.html#"+id);return e.requireType=id,e.requireModules=requireModules,err&&(e.originalError=err),e}function newContext(contextName){function trimDots(ary){var i,part,length=ary.length;for(i=0;length>i;i++)if(part=ary[i],"."===part)ary.splice(i,1),i-=1;else if(".."===part){if(1===i&&(".."===ary[2]||".."===ary[0]))break;i>0&&(ary.splice(i-1,2),i-=2)}}function normalize(name,baseName,applyMap){var pkgMain,mapValue,nameParts,i,j,nameSegment,lastIndex,foundMap,foundI,foundStarMap,starI,baseParts=baseName&&baseName.split("/"),normalizedBaseParts=baseParts,map=config.map,starMap=map&&map["*"];if(name&&"."===name.charAt(0)&&(baseName?(normalizedBaseParts=baseParts.slice(0,baseParts.length-1),name=name.split("/"),lastIndex=name.length-1,config.nodeIdCompat&&jsSuffixRegExp.test(name[lastIndex])&&(name[lastIndex]=name[lastIndex].replace(jsSuffixRegExp,"")),name=normalizedBaseParts.concat(name),trimDots(name),name=name.join("/")):0===name.indexOf("./")&&(name=name.substring(2))),applyMap&&map&&(baseParts||starMap)){nameParts=name.split("/");outerLoop:for(i=nameParts.length;i>0;i-=1){if(nameSegment=nameParts.slice(0,i).join("/"),baseParts)for(j=baseParts.length;j>0;j-=1)if(mapValue=getOwn(map,baseParts.slice(0,j).join("/")),mapValue&&(mapValue=getOwn(mapValue,nameSegment))){foundMap=mapValue,foundI=i;break outerLoop}!foundStarMap&&starMap&&getOwn(starMap,nameSegment)&&(foundStarMap=getOwn(starMap,nameSegment),starI=i)}!foundMap&&foundStarMap&&(foundMap=foundStarMap,foundI=starI),foundMap&&(nameParts.splice(0,foundI,foundMap),name=nameParts.join("/"))}return pkgMain=getOwn(config.pkgs,name),pkgMain?pkgMain:name}function removeScript(name){isBrowser&&each(scripts(),function(scriptNode){return scriptNode.getAttribute("data-requiremodule")===name&&scriptNode.getAttribute("data-requirecontext")===context.contextName?(scriptNode.parentNode.removeChild(scriptNode),!0):void 0})}function hasPathFallback(id){var pathConfig=getOwn(config.paths,id);return pathConfig&&isArray(pathConfig)&&pathConfig.length>1?(pathConfig.shift(),context.require.undef(id),context.require([id]),!0):void 0}function splitPrefix(name){var prefix,index=name?name.indexOf("!"):-1;return index>-1&&(prefix=name.substring(0,index),name=name.substring(index+1,name.length)),[prefix,name]}function makeModuleMap(name,parentModuleMap,isNormalized,applyMap){var url,pluginModule,suffix,nameParts,prefix=null,parentName=parentModuleMap?parentModuleMap.name:null,originalName=name,isDefine=!0,normalizedName="";return name||(isDefine=!1,name="_@r"+(requireCounter+=1)),nameParts=splitPrefix(name),prefix=nameParts[0],name=nameParts[1],prefix&&(prefix=normalize(prefix,parentName,applyMap),pluginModule=getOwn(defined,prefix)),name&&(prefix?normalizedName=pluginModule&&pluginModule.normalize?pluginModule.normalize(name,function(name){return normalize(name,parentName,applyMap)}):normalize(name,parentName,applyMap):(normalizedName=normalize(name,parentName,applyMap),nameParts=splitPrefix(normalizedName),prefix=nameParts[0],normalizedName=nameParts[1],isNormalized=!0,url=context.nameToUrl(normalizedName))),suffix=!prefix||pluginModule||isNormalized?"":"_unnormalized"+(unnormalizedCounter+=1),{prefix:prefix,name:normalizedName,parentMap:parentModuleMap,unnormalized:!!suffix,url:url,originalName:originalName,isDefine:isDefine,id:(prefix?prefix+"!"+normalizedName:normalizedName)+suffix}}function getModule(depMap){var id=depMap.id,mod=getOwn(registry,id);return mod||(mod=registry[id]=new context.Module(depMap)),mod}function on(depMap,name,fn){var id=depMap.id,mod=getOwn(registry,id);!hasProp(defined,id)||mod&&!mod.defineEmitComplete?(mod=getModule(depMap),mod.error&&"error"===name?fn(mod.error):mod.on(name,fn)):"defined"===name&&fn(defined[id])}function onError(err,errback){var ids=err.requireModules,notified=!1;errback?errback(err):(each(ids,function(id){var mod=getOwn(registry,id);mod&&(mod.error=err,mod.events.error&&(notified=!0,mod.emit("error",err)))}),notified||req.onError(err))}function takeGlobalQueue(){globalDefQueue.length&&(apsp.apply(defQueue,[defQueue.length,0].concat(globalDefQueue)),globalDefQueue=[])}function cleanRegistry(id){delete registry[id],delete enabledRegistry[id]}function breakCycle(mod,traced,processed){var id=mod.map.id;mod.error?mod.emit("error",mod.error):(traced[id]=!0,each(mod.depMaps,function(depMap,i){var depId=depMap.id,dep=getOwn(registry,depId);!dep||mod.depMatched[i]||processed[depId]||(getOwn(traced,depId)?(mod.defineDep(i,defined[depId]),mod.check()):breakCycle(dep,traced,processed))}),processed[id]=!0)}function checkLoaded(){var err,usingPathFallback,waitInterval=1e3*config.waitSeconds,expired=waitInterval&&context.startTime+waitInterval<(new Date).getTime(),noLoads=[],reqCalls=[],stillLoading=!1,needCycleCheck=!0;if(!inCheckLoaded){if(inCheckLoaded=!0,eachProp(enabledRegistry,function(mod){var map=mod.map,modId=map.id;if(mod.enabled&&(map.isDefine||reqCalls.push(mod),!mod.error))if(!mod.inited&&expired)hasPathFallback(modId)?(usingPathFallback=!0,stillLoading=!0):(noLoads.push(modId),removeScript(modId));else if(!mod.inited&&mod.fetched&&map.isDefine&&(stillLoading=!0,!map.prefix))return needCycleCheck=!1}),expired&&noLoads.length)return err=makeError("timeout","Load timeout for modules: "+noLoads,null,noLoads),err.contextName=context.contextName,onError(err);needCycleCheck&&each(reqCalls,function(mod){breakCycle(mod,{},{})}),expired&&!usingPathFallback||!stillLoading||!isBrowser&&!isWebWorker||checkLoadedTimeoutId||(checkLoadedTimeoutId=setTimeout(function(){checkLoadedTimeoutId=0,checkLoaded()},50)),inCheckLoaded=!1}}function callGetModule(args){hasProp(defined,args[0])||getModule(makeModuleMap(args[0],null,!0)).init(args[1],args[2])}function removeListener(node,func,name,ieName){node.detachEvent&&!isOpera?ieName&&node.detachEvent(ieName,func):node.removeEventListener(name,func,!1)}function getScriptData(evt){var node=evt.currentTarget||evt.srcElement;return removeListener(node,context.onScriptLoad,"load","onreadystatechange"),removeListener(node,context.onScriptError,"error"),{node:node,id:node&&node.getAttribute("data-requiremodule")}}function intakeDefines(){var args;for(takeGlobalQueue();defQueue.length;){if(args=defQueue.shift(),null===args[0])return onError(makeError("mismatch","Mismatched anonymous define() module: "+args[args.length-1]));callGetModule(args)}}var inCheckLoaded,Module,context,handlers,checkLoadedTimeoutId,config={waitSeconds:7,baseUrl:"./",paths:{},bundles:{},pkgs:{},shim:{},config:{}},registry={},enabledRegistry={},undefEvents={},defQueue=[],defined={},urlFetched={},bundlesMap={},requireCounter=1,unnormalizedCounter=1;return handlers={require:function(mod){return mod.require?mod.require:mod.require=context.makeRequire(mod.map)},exports:function(mod){return mod.usingExports=!0,mod.map.isDefine?mod.exports?defined[mod.map.id]=mod.exports:mod.exports=defined[mod.map.id]={}:void 0},module:function(mod){return mod.module?mod.module:mod.module={id:mod.map.id,uri:mod.map.url,config:function(){return getOwn(config.config,mod.map.id)||{}},exports:mod.exports||(mod.exports={})}}},Module=function(map){this.events=getOwn(undefEvents,map.id)||{},this.map=map,this.shim=getOwn(config.shim,map.id),this.depExports=[],this.depMaps=[],this.depMatched=[],this.pluginMaps={},this.depCount=0},Module.prototype={init:function(depMaps,factory,errback,options){options=options||{},this.inited||(this.factory=factory,errback?this.on("error",errback):this.events.error&&(errback=bind(this,function(err){this.emit("error",err)})),this.depMaps=depMaps&&depMaps.slice(0),this.errback=errback,this.inited=!0,this.ignore=options.ignore,options.enabled||this.enabled?this.enable():this.check())},defineDep:function(i,depExports){this.depMatched[i]||(this.depMatched[i]=!0,this.depCount-=1,this.depExports[i]=depExports)},fetch:function(){if(!this.fetched){this.fetched=!0,context.startTime=(new Date).getTime();var map=this.map;return this.shim?void context.makeRequire(this.map,{enableBuildCallback:!0})(this.shim.deps||[],bind(this,function(){return map.prefix?this.callPlugin():this.load()})):map.prefix?this.callPlugin():this.load()}},load:function(){var url=this.map.url;urlFetched[url]||(urlFetched[url]=!0,context.load(this.map.id,url))},check:function(){if(this.enabled&&!this.enabling){var err,cjsModule,id=this.map.id,depExports=this.depExports,exports=this.exports,factory=this.factory;if(this.inited){if(this.error)this.emit("error",this.error);else if(!this.defining){if(this.defining=!0,this.depCount<1&&!this.defined){if(isFunction(factory)){if(this.events.error&&this.map.isDefine||req.onError!==defaultOnError)try{exports=context.execCb(id,factory,depExports,exports)}catch(e){err=e}else exports=context.execCb(id,factory,depExports,exports);if(this.map.isDefine&&void 0===exports&&(cjsModule=this.module,cjsModule?exports=cjsModule.exports:this.usingExports&&(exports=this.exports)),err)return err.requireMap=this.map,err.requireModules=this.map.isDefine?[this.map.id]:null,err.requireType=this.map.isDefine?"define":"require",onError(this.error=err)}else exports=factory;this.exports=exports,this.map.isDefine&&!this.ignore&&(defined[id]=exports,req.onResourceLoad&&req.onResourceLoad(context,this.map,this.depMaps)),cleanRegistry(id),this.defined=!0}this.defining=!1,this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete=!0)}}else this.fetch()}},callPlugin:function(){var map=this.map,id=map.id,pluginMap=makeModuleMap(map.prefix);this.depMaps.push(pluginMap),on(pluginMap,"defined",bind(this,function(plugin){var load,normalizedMap,normalizedMod,bundleId=getOwn(bundlesMap,this.map.id),name=this.map.name,parentName=this.map.parentMap?this.map.parentMap.name:null,localRequire=context.makeRequire(map.parentMap,{enableBuildCallback:!0});return this.map.unnormalized?(plugin.normalize&&(name=plugin.normalize(name,function(name){return normalize(name,parentName,!0)})||""),normalizedMap=makeModuleMap(map.prefix+"!"+name,this.map.parentMap),on(normalizedMap,"defined",bind(this,function(value){this.init([],function(){return value},null,{enabled:!0,ignore:!0})})),normalizedMod=getOwn(registry,normalizedMap.id),void(normalizedMod&&(this.depMaps.push(normalizedMap),this.events.error&&normalizedMod.on("error",bind(this,function(err){this.emit("error",err)})),normalizedMod.enable()))):bundleId?(this.map.url=context.nameToUrl(bundleId),void this.load()):(load=bind(this,function(value){this.init([],function(){return value},null,{enabled:!0})}),load.error=bind(this,function(err){this.inited=!0,this.error=err,err.requireModules=[id],eachProp(registry,function(mod){0===mod.map.id.indexOf(id+"_unnormalized")&&cleanRegistry(mod.map.id)}),onError(err)}),load.fromText=bind(this,function(text,textAlt){var moduleName=map.name,moduleMap=makeModuleMap(moduleName),hasInteractive=useInteractive;textAlt&&(text=textAlt),hasInteractive&&(useInteractive=!1),getModule(moduleMap),hasProp(config.config,id)&&(config.config[moduleName]=config.config[id]);try{req.exec(text)}catch(e){return onError(makeError("fromtexteval","fromText eval for "+id+" failed: "+e,e,[id]))}hasInteractive&&(useInteractive=!0),this.depMaps.push(moduleMap),context.completeLoad(moduleName),localRequire([moduleName],load)}),void plugin.load(map.name,localRequire,load,config))})),context.enable(pluginMap,this),this.pluginMaps[pluginMap.id]=pluginMap},enable:function(){enabledRegistry[this.map.id]=this,this.enabled=!0,this.enabling=!0,each(this.depMaps,bind(this,function(depMap,i){var id,mod,handler;if("string"==typeof depMap){if(depMap=makeModuleMap(depMap,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap),this.depMaps[i]=depMap,handler=getOwn(handlers,depMap.id))return void(this.depExports[i]=handler(this));this.depCount+=1,on(depMap,"defined",bind(this,function(depExports){this.defineDep(i,depExports),this.check()})),this.errback&&on(depMap,"error",bind(this,this.errback))}id=depMap.id,mod=registry[id],hasProp(handlers,id)||!mod||mod.enabled||context.enable(depMap,this)})),eachProp(this.pluginMaps,bind(this,function(pluginMap){var mod=getOwn(registry,pluginMap.id);mod&&!mod.enabled&&context.enable(pluginMap,this)})),this.enabling=!1,this.check()},on:function(name,cb){var cbs=this.events[name];cbs||(cbs=this.events[name]=[]),cbs.push(cb)},emit:function(name,evt){each(this.events[name],function(cb){cb(evt)}),"error"===name&&delete this.events[name]}},context={config:config,contextName:contextName,registry:registry,defined:defined,urlFetched:urlFetched,defQueue:defQueue,Module:Module,makeModuleMap:makeModuleMap,nextTick:req.nextTick,onError:onError,configure:function(cfg){cfg.baseUrl&&"/"!==cfg.baseUrl.charAt(cfg.baseUrl.length-1)&&(cfg.baseUrl+="/");var shim=config.shim,objs={paths:!0,bundles:!0,config:!0,map:!0};eachProp(cfg,function(value,prop){objs[prop]?(config[prop]||(config[prop]={}),mixin(config[prop],value,!0,!0)):config[prop]=value}),cfg.bundles&&eachProp(cfg.bundles,function(value,prop){each(value,function(v){v!==prop&&(bundlesMap[v]=prop)})}),cfg.shim&&(eachProp(cfg.shim,function(value,id){isArray(value)&&(value={deps:value}),!value.exports&&!value.init||value.exportsFn||(value.exportsFn=context.makeShimExports(value)),shim[id]=value}),config.shim=shim),cfg.packages&&each(cfg.packages,function(pkgObj){var location,name;pkgObj="string"==typeof pkgObj?{name:pkgObj}:pkgObj,name=pkgObj.name,location=pkgObj.location,location&&(config.paths[name]=pkgObj.location),config.pkgs[name]=pkgObj.name+"/"+(pkgObj.main||"main").replace(currDirRegExp,"").replace(jsSuffixRegExp,"")}),eachProp(registry,function(mod,id){mod.inited||mod.map.unnormalized||(mod.map=makeModuleMap(id))}),(cfg.deps||cfg.callback)&&context.require(cfg.deps||[],cfg.callback)},makeShimExports:function(value){function fn(){var ret;return value.init&&(ret=value.init.apply(global,arguments)),ret||value.exports&&getGlobal(value.exports)}return fn},makeRequire:function(relMap,options){function localRequire(deps,callback,errback){var id,map,requireMod;return options.enableBuildCallback&&callback&&isFunction(callback)&&(callback.__requireJsBuild=!0),"string"==typeof deps?isFunction(callback)?onError(makeError("requireargs","Invalid require call"),errback):relMap&&hasProp(handlers,deps)?handlers[deps](registry[relMap.id]):req.get?req.get(context,deps,relMap,localRequire):(map=makeModuleMap(deps,relMap,!1,!0),id=map.id,hasProp(defined,id)?defined[id]:onError(makeError("notloaded",'Module name "'+id+'" has not been loaded yet for context: '+contextName+(relMap?"":". Use require([])")))):(intakeDefines(),context.nextTick(function(){intakeDefines(),requireMod=getModule(makeModuleMap(null,relMap)),requireMod.skipMap=options.skipMap,requireMod.init(deps,callback,errback,{enabled:!0}),checkLoaded()}),localRequire)}return options=options||{},mixin(localRequire,{isBrowser:isBrowser,toUrl:function(moduleNamePlusExt){var ext,index=moduleNamePlusExt.lastIndexOf("."),segment=moduleNamePlusExt.split("/")[0],isRelative="."===segment||".."===segment;return-1!==index&&(!isRelative||index>1)&&(ext=moduleNamePlusExt.substring(index,moduleNamePlusExt.length),moduleNamePlusExt=moduleNamePlusExt.substring(0,index)),context.nameToUrl(normalize(moduleNamePlusExt,relMap&&relMap.id,!0),ext,!0)},defined:function(id){return hasProp(defined,makeModuleMap(id,relMap,!1,!0).id)},specified:function(id){return id=makeModuleMap(id,relMap,!1,!0).id,hasProp(defined,id)||hasProp(registry,id)}}),relMap||(localRequire.undef=function(id){takeGlobalQueue();var map=makeModuleMap(id,relMap,!0),mod=getOwn(registry,id);removeScript(id),delete defined[id],delete urlFetched[map.url],delete undefEvents[id],eachReverse(defQueue,function(args,i){args[0]===id&&defQueue.splice(i,1)}),mod&&(mod.events.defined&&(undefEvents[id]=mod.events),cleanRegistry(id))}),localRequire},enable:function(depMap){var mod=getOwn(registry,depMap.id);mod&&getModule(depMap).enable()},completeLoad:function(moduleName){var found,args,mod,shim=getOwn(config.shim,moduleName)||{},shExports=shim.exports;for(takeGlobalQueue();defQueue.length;){if(args=defQueue.shift(),null===args[0]){if(args[0]=moduleName,found)break;found=!0}else args[0]===moduleName&&(found=!0);callGetModule(args)}if(mod=getOwn(registry,moduleName),!found&&!hasProp(defined,moduleName)&&mod&&!mod.inited){if(!(!config.enforceDefine||shExports&&getGlobal(shExports)))return hasPathFallback(moduleName)?void 0:onError(makeError("nodefine","No define call for "+moduleName,null,[moduleName]));callGetModule([moduleName,shim.deps||[],shim.exportsFn])}checkLoaded()},nameToUrl:function(moduleName,ext,skipExt){var paths,syms,i,parentModule,url,parentPath,bundleId,pkgMain=getOwn(config.pkgs,moduleName);if(pkgMain&&(moduleName=pkgMain),bundleId=getOwn(bundlesMap,moduleName))return context.nameToUrl(bundleId,ext,skipExt);if(req.jsExtRegExp.test(moduleName))url=moduleName+(ext||"");else{for(paths=config.paths,syms=moduleName.split("/"),i=syms.length;i>0;i-=1)if(parentModule=syms.slice(0,i).join("/"),parentPath=getOwn(paths,parentModule)){isArray(parentPath)&&(parentPath=parentPath[0]),syms.splice(0,i,parentPath);break}url=syms.join("/"),url+=ext||(/^data\:|\?/.test(url)||skipExt?"":".js"),url=("/"===url.charAt(0)||url.match(/^[\w\+\.\-]+:/)?"":config.baseUrl)+url}return config.urlArgs?url+((-1===url.indexOf("?")?"?":"&")+config.urlArgs):url},load:function(id,url){req.load(context,id,url)},execCb:function(name,callback,args,exports){return callback.apply(exports,args)},onScriptLoad:function(evt){if("load"===evt.type||readyRegExp.test((evt.currentTarget||evt.srcElement).readyState)){interactiveScript=null;var data=getScriptData(evt);context.completeLoad(data.id)}},onScriptError:function(evt){var data=getScriptData(evt);return hasPathFallback(data.id)?void 0:onError(makeError("scripterror","Script error for: "+data.id,evt,[data.id]))}},context.require=context.makeRequire(),context}function getInteractiveScript(){return interactiveScript&&"interactive"===interactiveScript.readyState?interactiveScript:(eachReverse(scripts(),function(script){return"interactive"===script.readyState?interactiveScript=script:void 0}),interactiveScript)}var req,s,head,baseElement,dataMain,src,interactiveScript,currentlyAddingScript,mainScript,subPath,version="2.1.11",commentRegExp=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,cjsRequireRegExp=/[^.]\s*require\s*\(\s*["']([^'"\s]+)["']\s*\)/g,jsSuffixRegExp=/\.js$/,currDirRegExp=/^\.\//,op=Object.prototype,ostring=op.toString,hasOwn=op.hasOwnProperty,ap=Array.prototype,apsp=ap.splice,isBrowser=!("undefined"==typeof window||"undefined"==typeof navigator||!window.document),isWebWorker=!isBrowser&&"undefined"!=typeof importScripts,readyRegExp=isBrowser&&"PLAYSTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/,defContextName="_",isOpera="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),contexts={},cfg={},globalDefQueue=[],useInteractive=!1;if("undefined"==typeof define){if("undefined"!=typeof requirejs){if(isFunction(requirejs))return;cfg=requirejs,requirejs=void 0}"undefined"==typeof require||isFunction(require)||(cfg=require,require=void 0),req=requirejs=function(deps,callback,errback,optional){var context,config,contextName=defContextName;return isArray(deps)||"string"==typeof deps||(config=deps,isArray(callback)?(deps=callback,callback=errback,errback=optional):deps=[]),config&&config.context&&(contextName=config.context),context=getOwn(contexts,contextName),context||(context=contexts[contextName]=req.s.newContext(contextName)),config&&context.configure(config),context.require(deps,callback,errback)},req.config=function(config){return req(config)},req.nextTick="undefined"!=typeof setTimeout?function(fn){setTimeout(fn,4)}:function(fn){fn()},require||(require=req),req.version=version,req.jsExtRegExp=/^\/|:|\?|\.js$/,req.isBrowser=isBrowser,s=req.s={contexts:contexts,newContext:newContext},req({}),each(["toUrl","undef","defined","specified"],function(prop){req[prop]=function(){var ctx=contexts[defContextName];return ctx.require[prop].apply(ctx,arguments)}}),isBrowser&&(head=s.head=document.getElementsByTagName("head")[0],baseElement=document.getElementsByTagName("base")[0],baseElement&&(head=s.head=baseElement.parentNode)),req.onError=defaultOnError,req.createNode=function(config){var node=config.xhtml?document.createElementNS("http://www.w3.org/1999/xhtml","html:script"):document.createElement("script");return node.type=config.scriptType||"text/javascript",node.charset="utf-8",node.async=!0,node},req.load=function(context,moduleName,url){var node,config=context&&context.config||{};if(isBrowser)return node=req.createNode(config,moduleName,url),node.setAttribute("data-requirecontext",context.contextName),node.setAttribute("data-requiremodule",moduleName),!node.attachEvent||node.attachEvent.toString&&node.attachEvent.toString().indexOf("[native code")<0||isOpera?(node.addEventListener("load",context.onScriptLoad,!1),node.addEventListener("error",context.onScriptError,!1)):(useInteractive=!0,node.attachEvent("onreadystatechange",context.onScriptLoad)),node.src=url,currentlyAddingScript=node,baseElement?head.insertBefore(node,baseElement):head.appendChild(node),currentlyAddingScript=null,node;if(isWebWorker)try{importScripts(url),context.completeLoad(moduleName)}catch(e){context.onError(makeError("importscripts","importScripts failed for "+moduleName+" at "+url,e,[moduleName]))}},isBrowser&&!cfg.skipDataMain&&eachReverse(scripts(),function(script){return head||(head=script.parentNode),dataMain=script.getAttribute("data-main"),dataMain?(mainScript=dataMain,cfg.baseUrl||(src=mainScript.split("/"),mainScript=src.pop(),subPath=src.length?src.join("/")+"/":"./",cfg.baseUrl=subPath),mainScript=mainScript.replace(jsSuffixRegExp,""),req.jsExtRegExp.test(mainScript)&&(mainScript=dataMain),cfg.deps=cfg.deps?cfg.deps.concat(mainScript):[mainScript],!0):void 0}),define=function(name,deps,callback){var node,context;"string"!=typeof name&&(callback=deps,deps=name,name=null),isArray(deps)||(callback=deps,deps=null),!deps&&isFunction(callback)&&(deps=[],callback.length&&(callback.toString().replace(commentRegExp,"").replace(cjsRequireRegExp,function(match,dep){deps.push(dep)}),deps=(1===callback.length?["require"]:["require","exports","module"]).concat(deps))),useInteractive&&(node=currentlyAddingScript||getInteractiveScript(),node&&(name||(name=node.getAttribute("data-requiremodule")),context=contexts[node.getAttribute("data-requirecontext")])),(context?context.defQueue:globalDefQueue).push([name,deps,callback])},define.amd={jQuery:!0},req.exec=function(text){return eval(text)},req(cfg)}}(this); \ No newline at end of file