hledger/site/js/highslide/highslide.js

9 lines
25 KiB
JavaScript
Raw Normal View History

2010-07-07 19:45:23 +04:00
/**
* Name: Highslide JS
* Version: 4.1.9 (2010-07-05)
* Author: Torstein ¸nsi
* Support: www.highslide.com/support
* License: www.highslide.com/#license
*/
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('q(!m){u m={1H:{7w:\'6D\',6C:\'9X...\',6E:\'5u 1K 9W\',7u:\'5u 1K a6 1K a4\',7U:\'a2 1K a3 I (f)\',7D:\'9Q 2r <i>6F 6O</i>\',7I:\'9O 1K 9N 6F 6O ay\',5S:\'5u 1K 2d 1Z, ar 6L aD 1K 3d. av at aw Q 1B 6L 71.\'},3A:\'1d/an/\',4y:\'8T.62\',3z:\'90.62\',8m:4t,7y:4t,41:15,8j:15,6d:15,86:15,3D:8X,6B:0.75,89:G,5W:5,2W:2,8N:3,3G:1a,7T:\'2Q 2f\',7R:1,8c:G,7E:\'8D://1d.8E/\',7C:\'8C\',6Y:G,5T:[\'a\'],5U:G,44:6K,3Q:6K,3X:G,1g:\'8B-8y\',3Y:[],5t:G,M:[],5x:[\'3X\',\'25\',\'1g\',\'2W\',\'8z\',\'8G\',\'8I\',\'6H\',\'93\',\'9l\',\'95\',\'6N\',\'7J\',\'5U\',\'N\',\'Z\',\'6k\',\'44\',\'3Q\',\'4b\',\'5r\',\'8s\',\'3e\',\'1L\',\'8n\',\'8t\',\'1j\'],1w:[],3K:0,9d:{x:[\'8a\',\'18\',\'63\',\'2f\',\'88\'],y:[\'3V\',\'W\',\'6b\',\'2Q\',\'4X\']},53:{},6N:{},6H:{},2n:[],2M:{},5k:{},4s:[],2s:/8R\\/4\\.0/.11(3S.4E)?8:5H((3S.4E.4c().2U(/.+(?:7c|8A|94|1n)[\\/: ]([\\d.]+)/)||[0,\'0\'])[1]),1n:(L.3Z&&!1o.2C),4M:/9t/.11(3S.4E),7r:/9c.+7c:1\\.[0-8].+9A/.11(3S.4E),$:A(1r){q(1r)C L.9s(1r)},2c:A(28,2t){28[28.Y]=2t},14:A(7d,3k,2y,5E,7a){u B=L.14(7d);q(3k)m.2x(B,3k);q(7a)m.V(B,{9f:0,9g:\'3u\',5s:0});q(2y)m.V(B,2y);q(5E)5E.2k(B);C B},2x:A(B,3k){Q(u x 35 3k)B[x]=3k[x];C B},V:A(B,2y){Q(u x 35 2y){q(m.1n&&x==\'1p\'){q(2y[x]>0.99)B.F.96(\'3L\');K B.F.3L=\'7j(1p=\'+(2y[x]*1R)+\')\'}K B.F[x]=2y[x]}},3s:A(B,R,24){u 2J,31,2I;q(1u 24!=\'5D\'||24===H){u 2u=83;24={2Y:2u[2],1L:2u[3],6u:2u[4]}}q(1u 24.2Y!=\'3g\')24.2Y=4t;24.1L=1b[24.1L]||1b.6M;24.4i=m.2x({},R);Q(u 2a 35 R){u e=1V m.1k(B,24,2a);2J=5H(m.5F(B,2a))||0;31=5H(R[2a]);2I=2a!=\'1p\'?\'D\':\'\';e.2G(2J,31,2I)}},5F:A(B,R){q(B.F[R]){C B.F[R]}K q(L.64){C L.64.7s(B,H).7q(R)}K{q(R==\'1p\')R=\'3L\';u 2t=B.9b[R.2X(/\\-(\\w)/g,A(a,b){C b.9a()})];q(R==\'3L\')2t=2t.2X(/7j\\(1p=([0-9]+)\\)/,A(a,b){C b/1R});C 2t===\'\'?1:2t}},4S:A(){u d=L,w=1o,3I=d.6n&&d.6n!=\'8e\'?d.3n:d.4x;u N=m.1n?3I.7i:(d.3n.7i||4f.9v),Z=m.1n?3I.9u:4f.9w;m.2T={N:N,Z:Z,4r:m.1n?3I.4r:9x,4m:m.1n?3I.4m:9y};C m.2T},6f:A(B){u p={x:B.77,y:B.76};3b(B.7g){B=B.7g;p.x+=B.77;p.y+=B.76;q(B!=L.4x&&B!=L.3n){p.x-=B.4r;p.y-=B.4m}}C p},52:A(a,1Y,2G,J){q(!a)a=m.14(\'a\',H,{3x:\'3u\'},m.1X);q(1u a.3y==\'A\')C 1Y;1z{1V m.3E(a,1Y,2G);C 1a}1A(e){C G}},78:A(){u 5P=0,4B=-1,M=m.M,z,1m;Q(u i=0;i<M.Y;i++){z=M[i];q(z){1m=z.T.F.1m;q(1m&&1m>5P){5P=1m;4B=i}}}q(4B==-1)m.2B=-1;K M[4B].3m()},5Y:A(a,3H){a.3y=a.3q;u p=a.3y?a.3y():H;a.3y=H;C(p&&1u p[3H]!=\'26\')?p[3H]:(1u m[3H]!=\'26\'?m[3H]:H)},58:A(a){u 1j=m.5Y(a,\'1j\');q(1j)C 1j;C a.3j},3R:A(1r){u 4C=m.$(1r),2S=m.5k[1r],a={};q(!4C&&!2S)C H;q(!2S){2S=4C.73(G);2S.1r=\'\';m.5k[1r]=2S;C 4C}K{C 2S.73(G)}},3o:A(d){q(d)m.6y.2k(d);m.6y.3W=\'\'},72:A(5d,z){u 2z=z||m.2o();z=2z;q(m.2R)C 1a;K m.2z=2z;m.3a(L,1o.2C?\'4T\':\'4W\',m.43);1z{m.2R=5d;5d.3q()}1A(e){m.2z=m.2R=H}1z{z.2d()}1A(e){}C 1a},4V:A(B,1W){u z=m.2o(B);q(z)C m.72(z.5c(1W),z);K C 1a},71:A(B){C m.4V(B,-1)},1B:A(B){C m.4V(B,1)},43:A(e){q(!e)e=1o.1F;q(!e.1O)e.1O=e.69;q(1u e.1O.74!=\'26\')C G;u z=m.2o();u 1W=H;6G(e.8F){1q 70:q(z)z.5e();C G;1q 32:1q 34:1q 39:1q 40:1W=1;6g;1q 8:1q 33:1q 37:1q 38:1W=-1;6g;1q 27:1q 13:1W=0}q(1W!==H){m.3a(L,1o.2C?\'4T\':\'4W\',m.43);q(!m.6Y)C G;q(e.51)e.51();K e.8Y=1a;q(z){q(1W==0){z.2d()}K{m.4V(z.S,1W)}C 1a}}C G},8Z:A(O){m.2c(m.1w,m.2x(O,{22:\'22\'+m.3K++}))},68:A(5Q,57){u B,2V=/^1d-T-([0-9]+)$/;B=5Q;3b(B.2Z){q(B.1r&&2V.11(B.1r))C B.1r.2X(2V,"$1");B=B.2Z}q(!57){B=5Q;3b(B.2Z){q(B.4l&&m.4j(B)){Q(u S=0;S<m.M.Y;S++){u z=m.M[S];q(z&&z.a==B)C S}}B=B.2Z}}C H},2o:A(B,57){q(1u B==\'26\')C m.M[m.2B]||H;q(1u B==\'3g\')C m.M[B]||H;q(1u B==\'5X\')B=m.$(B);C m.M[m.68(B,57)]||H},4j:A(a){C(a.3q&&a.3q.7G().2X(/\\s/g,\' \').2U(/m.(92|e)91/))},7Y:A(){Q(u i=0;i<m.M.Y;i++)q(m.M[i]&&m.M[i].3O)m.78()},5w:A(e){q(!e)e=1o.1F;q(e.8V>1)C G;q(!e.1O)e.1O=e.69;u B=e.1O;3b(B.2Z&&!(/1d-(1Z|3d|4Z|2L)/.11(B.1h))){B=B.2Z}u z=m.2o(B);q(z&&(z.6j||!z.3O))C G;q(z&&e.J==\'81\'){q(e.1O.