socialforge/public/javascripts/koala.min.1.5.js

2 lines
35 KiB
JavaScript
Raw Normal View History

2016-04-25 15:35:32 +08:00
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}('(15(){17 e=1T.K;1a.2k=1T;1a.1x=1h;1a.24=1V.1i.24;1a.86=1h.29("87")[0];17 g=1a.K=1a.52=1a.1v=15(l){14(g.C.2s(l)){12 l}14(g.C.3o(l)){g.66(l);12}17 m=g.C.1c(1n.1d>0?l:2k);14(m){17 k=1C f(m);k.1N=15(){12"85"};12 k}12 1C h(l)};(15(k){17 m=1a.4C=15(){17 n=l(1n).2Y(", ");12 g.4i.2f(n,1h)};17 l=1a.4t=15(p){14(!p){12[]}14("4b"1G 2P(p)){12 p.4b()}17 o=p.1d||0,n=1C 1V(o);1r(o--){n[o]=p[o]}12 n};m.4h=15(p,q,o){14(1n.1d>1){a=1n}1b{14(g.C.2l(p)){12 p}1b{14(g.C.5Y(p)||g.C.62(p)){a=p}1b{14(g.C.4q(p)){a=/^n:(\\w+)$/.1q(p)?1x.49(2a.$1):1x.29(p)}}}}14(p&&p.1d>0){17 n=1C b(a,q);14(n.3m==1){12 g(n.2H(0))}1b{12 n}}12 1C h(o)};g.1y=15(n){12 1h.2E(n)};g.5N=15(){14(g.1y){1T.K=e}12 52};(15(){17 x=/((?:\\((?:\\([^()]+\\)|[^()]+)+\\)|\\[(?:\\[[^\\[\\]]*\\]|[\'"][^\'"]*[\'"]|[^\\[\\]\'"]+)+\\]|\\\\.|[^ >+~,(\\[\\\\]+)+|[>+~])(\\s*,\\s*)?((?:.|\\r|\\n)*)/g,y=0,B=2P.1i.1N,s=1m,r=1f,z=/\\\\/g,G=/\\W/;[0,0].6S(15(){r=1m;12 0});17 p=15(M,H,P,Q){P=P||[];H=H||1h;17 S=H;14(H.1j!==1&&H.1j!==9){12[]}14(!M||1s M!=="2o"){12 P}17 J,U,X,I,T,W,V,O,L=1f,K=p.3E(H),N=[],R=M;84{x.2m("");J=x.2m(R);14(J){R=J[3];N.1o(J[1]);14(J[2]){I=J[3];1z}}}1r(J);14(N.1d>1&&t.2m(M)){14(N.1d===2&&u.2R[N[0]]){U=C(N[0]+N[1],H)}1b{U=u.2R[N[0]]?[H]:p(N.2d(),H);1r(N.1d){M=N.2d();14(u.2R[M]){M+=N.2d()}U=C(M,U)}}}1b{14(!Q&&N.1d>1&&H.1j===9&&!K&&u.1t.2p.1q(N[0])&&!u.1t.2p.1q(N[N.1d-1])){T=p.1X(N.2d(),H,K);H=T.3f?p.1O(T.3f,T.33)[0]:T.33[0]}14(H){T=Q?{3f:N.4s(),33:v(Q)}:p.1X(N.4s(),N.1d===1&&(N[0]==="~"||N[0]==="+")&&H.1p?H.1p:H,K);U=T.3f?p.1O(T.3f,T.33):T.33;14(N.1d>0){X=v(U)}1b{L=1m}1r(N.1d){W=N.4s();V=W;14(!u.2R[W]){W=""}1b{V=N.4s()}14(V==1g){V=H}u.2R[W](X,V,K)}}1b{X=N=[]}}14(!X){X=U}14(!X){p.2w(W||M)}14(B.1l(X)==="[1Y 1V]"){14(!L){P.1o.1Z(P,X)}1b{14(H&&H.1j===1){1e(O=0;X[O]!=1g;O++){14(X[O]&&(X[O]===1f||X[O].1j===1&&p.2u(H,X[O]))){P.1o(U[O])}}}1b{1e(O=0;X[O]!=1g;O++){14(X[O]&&X[O].1j===1){P.1o(U[O])}}}}}1b{v(X,P)}14(I){p(I,S,P,Q);p.6B(P)}12 P};p.6B=15(I){14(A){s=r;I.6S(A);14(s){1e(17 H=1;H<I.1d;H++){14(I[H]===I[H-1]){I.3t(H--,1)}}}}12 I};p.70=15(H,I){12 p(H,1g,1g,I)};p.4I=15(H,I){12 p(I,1g,1g,[H]).1d>0};p.1X=15(O,H,P){17 N;14(!O){12[]}1e(17 K=0,J=u.3Q.1d;K<J;K++){17 L,M=u.3Q[K];14((L=u.3Z[M].2m(O))){17 I=L[1];L.3t(1,1);14(I.3Y(I.1d-1)!=="\\\\"){L[1]=(L[1]||"").1A(z,"");N=u.1X[M](L,H,P);14(N!=1g){O=O.1A(u.1t[M],"");1z}}}}14(!N){N=1s H.29!=="1B"?H.29("*"):[]}12{33:N,3f:O}};p.1O=15(S,R,V,L){17 N,H,J=S,X=[],P=R,O=R&&R[0]&&p.3E(R[0]);1r(S&&R.1d){1e(17 Q 1G u.1O){14((N=u.3Z[Q].2m(S))!=1g&&N[2]){17 W,U,I=u.1O[Q],K=N[1];H=1m;N.3t(1,1);14(K.3Y(K.1d-1)==="\\\\"){4B}14(P===X){X=[]}14(u.4G[Q]){N=u.4G[Q](N,P,V,X,L,O);14(!N){H=W=1f}1b{14(N===1f){4B}}}14(N){1e(17 M=0;(U=P[M])!=1g;M++){14(U){W=I(U,N,M,P);17 T=L^!!W;14(V&&W!=1g){14(T){H=1f}1b{P[M]=1m}}1b{14(T){X.1o(U);H=1f}}}}}14(W!==1B){14(!V){P=X}S=S.1A(u.1t[Q],"");14(!H){12[]}1z}}}14(S===J){14(H==1g){p.2w(S)}1b{1z}}J=S}12 P};p.2w=15(H){3A"82 2w, 83 88: "+H};17 u=p.89={3Q:["2p","4E","3d"],1t:{2p:/#((?:[\\w\\2J-\\2I\\-]|\\\\.)+)/,3h:/\\.((?:[\\w\\2J-\\2I\\-]|\\\\.)+)/,4E:/\\[1W=[\'"]*((?:[\\w\\2J-\\2I\\-]|\\\\.)+)[\'"]*\\]/,5h:/\\[\\s*((?:[\\w\\2J-\\2I\\-]|\\\\.)+)\\s*(?:(\\S?=)\\s*(?:([\'"])(.*?)\\3|(#?(?:[\\w\\2J-\\2I\\-]|\\\\.)*)|)|)\\s*\\]/,3d:/^((?:[\\w\\2J-\\2I\\*\\-]|\\\\.)+)/,3U:/:(6V|3u|3x|3k)-3n(?:\\(\\s*(3X|3W|(?:[+\\-]?\\d+|(?:[+\\-]?\\d*)?n\\s*(?:[+\\-]\\s*\\d+)?))\\s*\\))?/,3G:/:(3u|6M|6F|6E|3k|3x|3X|3W)(?:\\((\\d*)\\))?(?=[^\\-]|$)/,3b:/:((?:[\\w\\2J-\\2I\\-]|\\\\.)+)(?:\\(([\'"]?)((?:\\([^\\)]+\\)|[^\\(\\)]*)+)\\2\\))?/},3Z:{},50:{"3H":"1D","1e":"8e"},3N:{2z:15(H){12 H.1K("2z")},1E:15(H){12 H.1K("1E")}},2R:{"+":15(N,I){17 K=1s I==="2o",M=K&&!G.1q(I),O=K&&!M;14(M){I=I.1u()}1e(17 J=0,H=N.1d,L;J<H;J++){14((L=N[J])){1r((L=L.3z)&&L.1j!==1){}N[J]=O||L&&L.1H.1u()===I?L||1m:L===I}}14(O){p.1O(I,N,1f)}},">":15(N,I){17 M,L=1s I