Commits

Anonymous committed 1c3fb4b

Fix the table/tbody/tr/td specific code. Add an error check for the ex 9.

  • Participants
  • Parent commits d93a26a

Comments (0)

Files changed (3)

File js/examples.js

 	doYQL(YQL_QUERY,true,null);
 
 	window.showQuotes = function(data){
-		var PAYLOAD = data.query.results;
-		$p('table.indices').render( PAYLOAD, TEMPLATE );
-		window._to10 = setTimeout(function(){
-			doYQL(YQL_QUERY,true,null);
-		}, 10000);
+		if(typeof data.error !== 'undefined'){
+			$p('table.indices')[0].innerHTML =  '<tr><td>Error in the service: ' + data.error.description + '</td></tr>';
+		}else{
+			var PAYLOAD = data.query.results;
+			$p('table.indices').render( PAYLOAD, TEMPLATE );
+			window._to10 = setTimeout(function(){
+				doYQL(YQL_QUERY,true,null);
+			}, 10000);
+		}
 	};
 };
 

File libs/pure.js

 	Copyright (c) 2009 Michael Cvilic - BeeBole.com
 
 	Thanks to Rog Peppe for the functional JS jump
-	revision: 2.25
+	revision: 2.26
 
 * * * * * * * * * * * * * * * * * * * * * * * * * */
 
 	
 	function replaceWith(elm, html){
 		var tagName = elm.tagName, ne, pa, ep, parent = {TABLE:{}};
-		switch(tagName){
-			case 'TD': parent.TBODY = 'TR';
-			case 'TR': parent.TABLE = 'TBODY';
-			case 'TH': parent.THEAD = 'TR';
-				pa = domify( parent );
-			break;
-			case 'TBODY':case 'THEAD':case 'TFOOT':
-				pa = document.createElement('TABLE');
-			break;
-			default:
-				pa = document.createElement('SPAN');
+		if((/TD|TR|TH/).test(tagName)){
+			var parents = {	TR:{TABLE:'TBODY'}, TD:{TABLE:{TBODY:'TR'}}, TH:{TABLE:{THEAD:'TR'}} };
+			pa = domify( parents[ tagName ] );
+		}else if( ( /TBODY|THEAD|TFOOT/ ).test( tagName )){
+			pa = document.createElement('TABLE');
+		}else{
+			pa = document.createElement('SPAN');
 		}
 		ep = elm.parentNode;
 		pa.innerHTML = html;

File libs/pure_packed.js

     Copyright (c) 2009 Michael Cvilic - BeeBole.com
 
 	Thanks to Rog Peppe for the functional JS jump
-    revision: 2.25
+    revision: 2.26
 
 * * * * * * * * * * * * * * * * * * * * * * * * * */
-eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('9 $p,2s=$p=6(){9 a=2t[0],1V=I;7(y a===\'14\'){1V=2t[1]||I}8 $p.2u(a,1V)};$p.2u=6(l,q,r){9 r=2v(),1a=[];2w(y l){11\'14\':1a=r.J(q||F,l);7(1a.x===0){G(\'1W 1X "\'+l+\'" 2x 2y 2z\')}1b;11\'A\':G(\'1W 1X 2A 2B A, 3i 1Y W\');1b;2C:1a=[l]}B(9 i=0,M=1a.x;i<M;i++){r[i]=1a[i]}r.x=M;9 u=\'3j\'+1D.2D(1D.2E()*2F)+\'1Z\',1m=\'3k\'+1D.2D(1D.2E()*2F)+\'1Z\',20=/^(\\+)?([^\\@\\+]+)?\\@?([^\\+]+)?(\\+)?$/,2G={3l:\'3m\',2H:\'2I\'};8 r;6 G(e){3n(e);7(y 2J!==\'A\'){2J.3o(e);3p}3q(\'2s G: \'+e);}6 2v(){9 a=$p.X,f=6(){};f.Q=a;f.Q.H=a.H||H;f.Q.N=a.N||N;f.Q.O=a.O||O;f.Q.J=a.J||J;f.Q.3r=1n;f.Q.3s=G;8 3t f()}6 21(b){8 b.21||(6(n){9 a=F.1o(\'3u\'),h;a.22(n.2K(12));h=a.1E;a=15;8 h})(b)}6 1F(o){8 3v.Q.3w.3x(o)==="[2L 3y]"}6 1p(b,f){8 6(a){8 b(\'\'+f(a))}}6 23(a,b){b=b||F.3z();9 c,1q;B(9 n 1c a){c=F.1o(n);b.22(c);7(y a[n]===\'2L\'){1q=23(a[n],c)}E{1q=F.1o(a[n]);c.22(1q)}}8 1q};6 J(n,a){7(y n===\'14\'){a=n;n=I}7(y F.2M!==\'A\'){8(n||F).2M(a)}E{G(\'3A 3B 1d 2N 3C 24: 3D, 3E.5+, 3F+ 3G 3H+\\n\\3I 3J 2N 2O 1Y 3K, 3L 3M a 3N 3O/3P 24 a 3Q W 3R\')}}6 25(c,d){8 6(a){9 b=[c[0]],n=c.x,1G,1r,1H,1s;B(9 i=1;i<n;i++){1G=d[i](a);1r=c[i];7(1G===\'\'){1H=b[b.x-1];7((1s=1H.3S(/[\\w]+=\\"?$/))>-1){b[b.x-1]=1H.26(0,1s);1r=1r.3T(1)}}b[b.x]=1G;b[b.x]=1r}8 b.27(\'\')}}6 2P(p){9 m=p.1t(/^(\\w+)\\s*<-\\s*(\\S+)?$/);7(m===15){G(\'28 16 2Q: "\'+p+\'"\')}7(m[1]===\'1u\'){G(\'"1u<-..." 2B a 3U 3V B 29 3W 3X 3Y.\\n\\3Z 40 41 2a B 1Y 16.\')}7(!m[2]){m[2]=6(a){8 a.1I}}8{2a:m[1],13:m[2]}}6 1e(c){7(y(c)===\'6\'){8 c}9 m=c.1t(/^[a-42-Z$1Z][\\w$]*(\\.[\\w$-]*[^\\.])*$/);7(m===15){9 d=I,s=c,1J=[],1f=[],i=0,2b;7(/\\\'|\\"/.1d(s.2R(0))){7(/\\\'|\\"/.1d(s.2R(s.x-1))){2b=s.26(1,s.x-1);8 6(){8 2b}}}E{2S((m=s.1t(/#\\{([^{}]+)\\}/))!==15){d=12;1J[i++]=s.2T(0,m.2U);1f[i]=1e(m[1]);s=s.2T(m.2U+m[0].x,s.x)}}7(!d){G(\'28 1I W 2V: \'+c)}1J[i]=s;8 25(1J,1f)}m=c.1K(\'.\');8 6(a){9 b=a.1I;7(!b){8\'\'}9 v=a[m[0]],i=0;7(v){b=v.1u;i+=1}9 n=m.x;B(;i<n;i++){7(!b){1b}b=b[m[i]]}8(!b&&b!==0)?\'\':b}}6 1v(c,d,e){9 f,R,W,C,P,K=[];7(y d===\'14\'){f=d;9 m=d.1t(20);7(!m){G(\'28 W 2V: \'+d)}R=m[1];W=m[2];C=m[3];P=m[4];7(W===\'.\'||(!W&&C)){K[0]=c}E{K=r.J(c,W)}7(!K||K.x===0){8 G(\'1W 1w "\'+d+\'" 2x 2y 2z 1c 29 1X\')}}E{R=d.R;C=d.C;P=d.P;K=[c]}7(R||P){7(R&&P){G(\'P/R 2c 43 44 45 29 46 47\')}E 7(e){G(\'2W P/R/17 48 49 B 16 K\')}E 7(P&&e){G(\'2c P 24 16 (13: \'+f+\')\')}}9 g,18,T,1x,1g,1y;7(C){1x=(/^2X$/i).1d(C);1g=(/^4a$/i).1d(C);1y=1g?\'1h\':C;g=6(a,s){a.4b(1m+C,s);7(1y 1c a&&!1x){a[1y]=\'\'}7(a.2Y===1){a.2Z(C);1g&&a.2Z(1y)}};7(1x){18=6(a){8 a.2X.4c}}E 7(1g){18=6(a){8 a.1h}}E{18=6(a){8 a.4d(C)}}7(1x||1g){T=6(s){8 s.17(/\\"/g,\'&30;\')}}E{T=6(s){8 s.17(/\\"/g,\'&30;\').17(/\\s/g,\'&4e;\')}}}E{7(e){g=6(a,s){9 b=a.31,t;7(b){t=F.4f(s);b.4g(t,a.4h);b.4i(a);t=15}}}E{18=6(a){8 a.1E};g=6(a,s){a.1E=s}}T=6(s){8 s}}9 h;7(R){h=6(a,s){g(a,s+18(a))}}E 7(P){h=6(a,s){g(a,18(a)+s)}}E{h=6(a,s){g(a,s)}}8{C:C,L:K,32:h,13:f,T:T}}6 1z(a,n){9 b=u+n+\':\';B(9 i=0;i<a.L.x;i++){a.32(a.L[i],b)}}6 2d(e,f,g){8 6(c){9 a=f(c),2e=c[e],1L={33:a},2f=[],2g=6(b){c.33=a;c.1s=1L.1s=b;c.1u=1L.1u=a[b];2f.2h(g(c))};c[e]=1L;7(1F(a)){B(9 i=0,M=a.x||0;i<M;i++){2g(i)}}E{B(9 d 1c a){a.2i(d)&&2g(d)}}y 2e!==\'A\'?c[e]=2e:4j c[e];8 2f.27(\'\')}}6 2j(a,b,c,d){9 e=I;9 p;B(9 i 1c c){7(c.2i(i)){7(e){G(\'2c 4k 4l 4m 4n 16 2O a K\')}p=i;e=12}}7(!p){G(\'2W 16 2Q\')}9 f=c[p];7(y(f)===\'14\'||y(f)===\'6\'){c={};c[p]={2A:f};8 2j(a,b,c,d)}9 g=2P(p),1A=1e(g.13),K=1v(a,b,12),L=K.L;B(i=0;i<L.x;i++){9 h=L[i],1B=1n(h,f);d[d.x]=1p(K.T,2d(g.2a,1A,1B));K.L=[h];1z(K,d.x-1)}}6 34(n,d){9 e=n.4o(\'*\'),2k=[],1i={a:[],l:{}},z,1M,i,M,j,1j,Y,1N,2l;B(i=-1,M=e.x;i<M;i++){Y=i>-1?e[i]:n;7(Y.2Y===1&&Y.1h!==\'\'){1N=Y.1h.1K(\' \');B(j=0,1j=1N.x;j<1j;j++){2l=1N[j];z=35(2l,Y.1O);7(z!==I){1M=(/4p/i).1d(z.C);7(z.13.1P(\'@\')>-1||1M){Y.1h=Y.1h.17(\'@\'+z.C,\'\');7(1M){z.C=I}}2k.2h({n:Y,z:z})}}}}8 2k;6 35(c,a){9 b=c.1t(20),C=b[3]||2G[a],z={R:!!b[1],U:b[2],C:C,P:!!b[4],13:c},i,M,1Q,1R,V;B(i=1i.a.x-1;i>=0;i--){1Q=1i.a[i];1R=1Q.l[0];V=1R&&1R[z.U];7(y V!==\'A\'){z.U=1Q.p+\'.\'+z.U;7(1i.l[z.U]===12){V=V[0]}1b}}7(y V===\'A\'){V=1F(d)?d[0][z.U]:d[z.U];7(y V===\'A\'){8 I}}7(1F(V)){1i.a.2h({l:V,p:z.U});1i.l[z.U]=12;z.t=\'16\'}E{z.t=\'36\'}8 z}}6 1n(a,b,c,d){9 e=[];d=d||c&&34(a,c);7(c){9 j,1j,z,n,f,L,1A,1w,1B;2S(d.x>0){z=d[0].z;n=d[0].n;d.4q(0,1);7(z.t===\'36\'){f=1v(n,z,I);1z(f,e.x);e[e.x]=1p(f.T,1e(z.U))}E{1A=1e(z.13);f=1v(n,z,12);L=f.L;B(j=0,1j=L.x;j<1j;j++){1w=L[j];1B=1n(1w,I,c,d);e[e.x]=1p(f.T,2d(z.13,1A,1B));f.L=[1w];1z(f,e.x-1)}}}}9 f,1k;B(9 g 1c b){7(b.2i(g)){1k=b[g];7(y(1k)===\'6\'||y(1k)===\'14\'){f=1v(a,g,I);1z(f,e.x);e[e.x]=1p(f.T,1e(1k))}E{2j(a,g,1k,e)}}}9 h=21(a),1f=[];7(a.1O===\'4r\'&&h.1P(1m+\'4s\')>0){h=h.17(/\\4t\\s/,\' \')}E 7(a.1O===\'2H\'&&h.1P(1m+\'2I\')>0){h=h.17(/\\4u=("|\')(\'|")\\s/,\' \')}h=h.1K(1m).27(\'\');9 k=h.1K(u),p;B(9 i=1;i<k.x;i++){p=k[i];1f[i]=e[4v(p,10)];k[i]=p.26(p.1P(\':\')+1)}8 25(k,1f)}6 H(c,d,e){9 f=1n((e||D[0]).2K(12),c,d);8 6(a,b){b=b||a;8 f({1I:a,2m:b})}}6 N(a,b){9 c=y b===\'6\'?b:r.H(b,I,D[0]);B(9 i=0,M=D.x;i<M;i++){D[i]=2n(D[i],c(a,I))}2m=15;8 D}6 O(a,b){9 c=r.H(b,a,D[0]);B(9 i=0,M=D.x;i<M;i++){D[i]=2n(D[i],c(a,I))}2m=15;8 D}6 2n(a,b){9 c=a.1O,1S,1l,2o,1C={2p:{}};2w(c){11\'4w\':1C.2q=\'2r\';11\'2r\':1C.2p=\'2q\';11\'4x\':1C.37=\'2r\';1l=23(1C);1b;11\'2q\':11\'37\':11\'4y\':1l=F.1o(\'2p\');1b;2C:1l=F.1o(\'4z\')}2o=a.31;1l.1E=b;1S=1l.4A;2o.4B(1S,a);8 1S}};$p.X={};$p.38={1T:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 1T.4C(a,n)}}},39:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 $(n).4D(a)}}3a.4E({4F:[\'H\',\'N\',\'O\'],H:6(a,b){8 $p(D).H(a,b)},N:6(a,b){8 $($p(D).N(a,b))[0]},O:6(a,b){8 $($p(D).O(a,b))[0]}})},3b:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 $(n).J(a)}}1U.4G.4H({H:6(a,b){8 $p(D[0]).H(a,b)},N:6(a,b){8 1U($p(D[0]).N(a,b))},O:6(a,b){8 1U($p(D[0]).O(a,b))}})},3c:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 $(n).4I(a)}}3d.4J({H:6(a,b){8 $p(D).H(a,b)},N:6(a,b){8 $p(D).N(a,b)},O:6(a,b){8 $p(D).O(a,b)}})},Q:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){n=n===F?n.4K:n;8 y n===\'14\'?$$(n):$(n).4L(a)}}3d.4M({H:6(a,b,c){8 $p(a).H(b,c)},N:6(a,b,c){8 $p(a).N(b,c)},O:6(a,b,c){8 $p(a).O(b,c)}})},3e:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 3f(a,n)}}},3g:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 3h(a,n)}}}};(6(){9 a=y 1T!==\'A\'&&\'1T\'||y 3a!==\'A\'&&\'39\'||y 1U!==\'A\'&&\'3b\'||y 4N!==\'A\'&&\'3c\'||y 4O!==\'A\'&&\'Q\'||y 3f!==\'A\'&&\'3e\'||y 3h!==\'A\'&&\'3g\';a&&$p.38[a]()})();',62,299,'||||||function|if|return|var||||||||||||||||||||||||length|typeof|cspec|undefined|for|attr|this|else|document|error|compile|false|find|target|nodes|ii|render|autoRender|append|prototype|prepend||quotefn|prop|val|selector|plugins|ni|||case|true|sel|string|null|loop|replace|getstr|querySelector|templates|break|in|test|dataselectfn|pfns|isClass|className|openLoops|jj|dsel|pa|attPfx|compiler|createElement|wrapquote|leaf|pVal|pos|match|item|gettarget|node|isStyle|attName|setsig|itersel|inner|parent|Math|innerHTML|isArray|fnVal|attLine|data|parts|split|temp|isNodeValue|cs|tagName|indexOf|loopi|loopil|ne|dojo|jQuery|ctxt|The|template|your|_|selRx|outerHTML|appendChild|domify|with|concatenator|substring|join|bad|the|name|retStr|cannot|loopfn|old|strs|buildArg|push|hasOwnProperty|loopgen|an|cj|context|replaceWith|ep|TABLE|TBODY|TR|pure|arguments|core|getPlugins|switch|was|not|found|root|is|default|floor|random|1000000|autoAttr|INPUT|value|console|cloneNode|object|querySelectorAll|PURE|on|parseloopspec|spec|charAt|while|slice|index|syntax|no|style|nodeType|removeAttribute|quot|parentNode|set|items|getAutoNodes|checkClass|str|THEAD|libs|domassistant|DOMAssistant|jquery|mootools|Element|sizzle|Sizzle|sly|Sly|check|_s|_a|IMG|src|alert|log|debugger|throw|_compiler|_error|new|div|Object|toString|call|Array|createDocumentFragment|You|can|standalone|iPhone|FF3|Safari4|and|IE8|nTo|run|browser|you|need|JS|library|framework|CSS|engine|search|substr|reserved|word|current|running|iteration|nPlease|choose|another|zA|take|place|at|same|time|modifiers|allowed|class|setAttribute|cssText|getAttribute|nbsp|createTextNode|insertBefore|nextSibling|removeChild|delete|have|more|than|one|getElementsByTagName|nodevalue|splice|OPTION|selected|sselected|svalue|parseInt|TD|TH|TFOOT|SPAN|firstChild|replaceChild|query|cssSelect|attach|publicMethods|fn|extend|getElements|implement|body|select|addMethods|MooTools|Prototype'.split('|'),0,{}))
+eval(function(p,a,c,k,e,r){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--)r[e(c)]=k[c]||e(c);k=[function(e){return r[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}('9 $p,2q=$p=6(){9 a=2r[0],1V=I;7(y a===\'14\'){1V=2r[1]||I}8 $p.2s(a,1V)};$p.2s=6(l,q,r){9 r=2t(),1a=[];3h(y l){2u\'14\':1a=r.J(q||F,l);7(1a.x===0){G(\'1W 1X "\'+l+\'" 2v 2w 2x\')}1B;2u\'A\':G(\'1W 1X 2y 2z A, 3i 1Y W\');1B;3j:1a=[l]}C(9 i=0,M=1a.x;i<M;i++){r[i]=1a[i]}r.x=M;9 u=\'3k\'+1C.2A(1C.2B()*2C)+\'1Z\',1k=\'3l\'+1C.2A(1C.2B()*2C)+\'1Z\',20=/^(\\+)?([^\\@\\+]+)?\\@?([^\\+]+)?(\\+)?$/,2D={3m:\'3n\',2E:\'2F\'};8 r;6 G(e){3o(e);7(y 2G!==\'A\'){2G.3p(e);3q}3r(\'2q G: \'+e);}6 2t(){9 a=$p.X,f=6(){};f.Q=a;f.Q.H=a.H||H;f.Q.N=a.N||N;f.Q.O=a.O||O;f.Q.J=a.J||J;f.Q.3s=1l;f.Q.3t=G;8 3u f()}6 21(b){8 b.21||(6(n){9 a=F.1m(\'3v\'),h;a.22(n.2H(11));h=a.1D;a=15;8 h})(b)}6 1E(o){8 3w.Q.3x.3y(o)==="[2I 3z]"}6 1n(b,f){8 6(a){8 b(\'\'+f(a))}}6 23(a,b){b=b||F.3A();9 c,1o;C(9 n 1b a){c=F.1m(n);b.22(c);7(y a[n]===\'2I\'){1o=23(a[n],c)}B{1o=F.1m(a[n]);c.22(1o)}}8 1o};6 J(n,a){7(y n===\'14\'){a=n;n=I}7(y F.2J!==\'A\'){8(n||F).2J(a)}B{G(\'3B 3C 12 2K 3D 24: 3E, 3F.5+, 3G+ 3H 3I+\\n\\3J 3K 2K 2L 1Y 3L, 3M 3N a 3O 3P/3Q 24 a 3R W 3S\')}}6 25(c,d){8 6(a){9 b=[c[0]],n=c.x,1F,1p,1G,1q;C(9 i=1;i<n;i++){1F=d[i](a);1p=c[i];7(1F===\'\'){1G=b[b.x-1];7((1q=1G.3T(/[\\w]+=\\"?$/))>-1){b[b.x-1]=1G.26(0,1q);1p=1p.3U(1)}}b[b.x]=1F;b[b.x]=1p}8 b.27(\'\')}}6 2M(p){9 m=p.1r(/^(\\w+)\\s*<-\\s*(\\S+)?$/);7(m===15){G(\'28 16 2N: "\'+p+\'"\')}7(m[1]===\'1s\'){G(\'"1s<-..." 2z a 3V 3W C 29 3X 3Y 3Z.\\n\\40 41 42 2a C 1Y 16.\')}7(!m[2]){m[2]=6(a){8 a.1H}}8{2a:m[1],13:m[2]}}6 1c(c){7(y(c)===\'6\'){8 c}9 m=c.1r(/^[a-43-Z$1Z][\\w$]*(\\.[\\w$-]*[^\\.])*$/);7(m===15){9 d=I,s=c,1I=[],1d=[],i=0,2b;7(/\\\'|\\"/.12(s.2O(0))){7(/\\\'|\\"/.12(s.2O(s.x-1))){2b=s.26(1,s.x-1);8 6(){8 2b}}}B{2P((m=s.1r(/#\\{([^{}]+)\\}/))!==15){d=11;1I[i++]=s.2Q(0,m.2R);1d[i]=1c(m[1]);s=s.2Q(m.2R+m[0].x,s.x)}}7(!d){G(\'28 1H W 2S: \'+c)}1I[i]=s;8 25(1I,1d)}m=c.1J(\'.\');8 6(a){9 b=a.1H;7(!b){8\'\'}9 v=a[m[0]],i=0;7(v){b=v.1s;i+=1}9 n=m.x;C(;i<n;i++){7(!b){1B}b=b[m[i]]}8(!b&&b!==0)?\'\':b}}6 1t(c,d,e){9 f,R,W,D,P,K=[];7(y d===\'14\'){f=d;9 m=d.1r(20);7(!m){G(\'28 W 2S: \'+d)}R=m[1];W=m[2];D=m[3];P=m[4];7(W===\'.\'||(!W&&D)){K[0]=c}B{K=r.J(c,W)}7(!K||K.x===0){8 G(\'1W 1u "\'+d+\'" 2v 2w 2x 1b 29 1X\')}}B{R=d.R;D=d.D;P=d.P;K=[c]}7(R||P){7(R&&P){G(\'P/R 2c 44 45 46 29 47 48\')}B 7(e){G(\'2T P/R/17 49 4a C 16 K\')}B 7(P&&e){G(\'2c P 24 16 (13: \'+f+\')\')}}9 g,18,T,1v,1e,1w;7(D){1v=(/^2U$/i).12(D);1e=(/^4b$/i).12(D);1w=1e?\'1f\':D;g=6(a,s){a.4c(1k+D,s);7(1w 1b a&&!1v){a[1w]=\'\'}7(a.2V===1){a.2W(D);1e&&a.2W(1w)}};7(1v){18=6(a){8 a.2U.4d}}B 7(1e){18=6(a){8 a.1f}}B{18=6(a){8 a.4e(D)}}7(1v||1e){T=6(s){8 s.17(/\\"/g,\'&2X;\')}}B{T=6(s){8 s.17(/\\"/g,\'&2X;\').17(/\\s/g,\'&4f;\')}}}B{7(e){g=6(a,s){9 b=a.2Y,t;7(b){t=F.4g(s);b.4h(t,a.4i);b.4j(a);t=15}}}B{18=6(a){8 a.1D};g=6(a,s){a.1D=s}}T=6(s){8 s}}9 h;7(R){h=6(a,s){g(a,s+18(a))}}B 7(P){h=6(a,s){g(a,18(a)+s)}}B{h=6(a,s){g(a,s)}}8{D:D,L:K,2Z:h,13:f,T:T}}6 1x(a,n){9 b=u+n+\':\';C(9 i=0;i<a.L.x;i++){a.2Z(a.L[i],b)}}6 2d(e,f,g){8 6(c){9 a=f(c),2e=c[e],1K={30:a},2f=[],2g=6(b){c.30=a;c.1q=1K.1q=b;c.1s=1K.1s=a[b];2f.2h(g(c))};c[e]=1K;7(1E(a)){C(9 i=0,M=a.x||0;i<M;i++){2g(i)}}B{C(9 d 1b a){a.2i(d)&&2g(d)}}y 2e!==\'A\'?c[e]=2e:4k c[e];8 2f.27(\'\')}}6 2j(a,b,c,d){9 e=I;9 p;C(9 i 1b c){7(c.2i(i)){7(e){G(\'2c 4l 4m 4n 4o 16 2L a K\')}p=i;e=11}}7(!p){G(\'2T 16 2N\')}9 f=c[p];7(y(f)===\'14\'||y(f)===\'6\'){c={};c[p]={2y:f};8 2j(a,b,c,d)}9 g=2M(p),1y=1c(g.13),K=1t(a,b,11),L=K.L;C(i=0;i<L.x;i++){9 h=L[i],1z=1l(h,f);d[d.x]=1n(K.T,2d(g.2a,1y,1z));K.L=[h];1x(K,d.x-1)}}6 31(n,d){9 e=n.4p(\'*\'),2k=[],1g={a:[],l:{}},z,1L,i,M,j,1h,Y,1M,2l;C(i=-1,M=e.x;i<M;i++){Y=i>-1?e[i]:n;7(Y.2V===1&&Y.1f!==\'\'){1M=Y.1f.1J(\' \');C(j=0,1h=1M.x;j<1h;j++){2l=1M[j];z=32(2l,Y.1N);7(z!==I){1L=(/4q/i).12(z.D);7(z.13.1O(\'@\')>-1||1L){Y.1f=Y.1f.17(\'@\'+z.D,\'\');7(1L){z.D=I}}2k.2h({n:Y,z:z})}}}}8 2k;6 32(c,a){9 b=c.1r(20),D=b[3]||2D[a],z={R:!!b[1],U:b[2],D:D,P:!!b[4],13:c},i,M,1P,1Q,V;C(i=1g.a.x-1;i>=0;i--){1P=1g.a[i];1Q=1P.l[0];V=1Q&&1Q[z.U];7(y V!==\'A\'){z.U=1P.p+\'.\'+z.U;7(1g.l[z.U]===11){V=V[0]}1B}}7(y V===\'A\'){V=1E(d)?d[0][z.U]:d[z.U];7(y V===\'A\'){8 I}}7(1E(V)){1g.a.2h({l:V,p:z.U});1g.l[z.U]=11;z.t=\'16\'}B{z.t=\'33\'}8 z}}6 1l(a,b,c,d){9 e=[];d=d||c&&31(a,c);7(c){9 j,1h,z,n,f,L,1y,1u,1z;2P(d.x>0){z=d[0].z;n=d[0].n;d.4r(0,1);7(z.t===\'33\'){f=1t(n,z,I);1x(f,e.x);e[e.x]=1n(f.T,1c(z.U))}B{1y=1c(z.13);f=1t(n,z,11);L=f.L;C(j=0,1h=L.x;j<1h;j++){1u=L[j];1z=1l(1u,I,c,d);e[e.x]=1n(f.T,2d(z.13,1y,1z));f.L=[1u];1x(f,e.x-1)}}}}9 f,1i;C(9 g 1b b){7(b.2i(g)){1i=b[g];7(y(1i)===\'6\'||y(1i)===\'14\'){f=1t(a,g,I);1x(f,e.x);e[e.x]=1n(f.T,1c(1i))}B{2j(a,g,1i,e)}}}9 h=21(a),1d=[];7(a.1N===\'4s\'&&h.1O(1k+\'4t\')>0){h=h.17(/\\4u\\s/,\' \')}B 7(a.1N===\'2E\'&&h.1O(1k+\'2F\')>0){h=h.17(/\\4v=("|\')(\'|")\\s/,\' \')}h=h.1J(1k).27(\'\');9 k=h.1J(u),p;C(9 i=1;i<k.x;i++){p=k[i];1d[i]=e[4w(p,10)];k[i]=p.26(p.1O(\':\')+1)}8 25(k,1d)}6 H(c,d,e){9 f=1l((e||E[0]).2H(11),c,d);8 6(a,b){b=b||a;8 f({1H:a,2m:b})}}6 N(a,b){9 c=y b===\'6\'?b:r.H(b,I,E[0]);C(9 i=0,M=E.x;i<M;i++){E[i]=2n(E[i],c(a,I))}2m=15;8 E}6 O(a,b){9 c=r.H(b,a,E[0]);C(9 i=0,M=E.x;i<M;i++){E[i]=2n(E[i],c(a,I))}2m=15;8 E}6 2n(a,b){9 c=a.1N,1R,1j,2o,4x={1A:{}};7((/34|1S|35/).12(c)){9 d={1S:{1A:\'2p\'},34:{1A:{2p:\'1S\'}},35:{1A:{36:\'1S\'}}};1j=23(d[c])}B 7((/2p|36|4y/).12(c)){1j=F.1m(\'1A\')}B{1j=F.1m(\'4z\')}2o=a.2Y;1j.1D=b;1R=1j.4A;2o.4B(1R,a);8 1R}};$p.X={};$p.37={1T:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 1T.4C(a,n)}}},38:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 $(n).4D(a)}}39.4E({4F:[\'H\',\'N\',\'O\'],H:6(a,b){8 $p(E).H(a,b)},N:6(a,b){8 $($p(E).N(a,b))[0]},O:6(a,b){8 $($p(E).O(a,b))[0]}})},3a:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 $(n).J(a)}}1U.4G.4H({H:6(a,b){8 $p(E[0]).H(a,b)},N:6(a,b){8 1U($p(E[0]).N(a,b))},O:6(a,b){8 1U($p(E[0]).O(a,b))}})},3b:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 $(n).4I(a)}}3c.4J({H:6(a,b){8 $p(E).H(a,b)},N:6(a,b){8 $p(E).N(a,b)},O:6(a,b){8 $p(E).O(a,b)}})},Q:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){n=n===F?n.4K:n;8 y n===\'14\'?$$(n):$(n).4L(a)}}3c.4M({H:6(a,b,c){8 $p(a).H(b,c)},N:6(a,b,c){8 $p(a).N(b,c)},O:6(a,b,c){8 $p(a).O(b,c)}})},3d:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 3e(a,n)}}},3f:6(){7(y F.19===\'A\'){$p.X.J=6(n,a){8 3g(a,n)}}}};(6(){9 a=y 1T!==\'A\'&&\'1T\'||y 39!==\'A\'&&\'38\'||y 1U!==\'A\'&&\'3a\'||y 4N!==\'A\'&&\'3b\'||y 4O!==\'A\'&&\'Q\'||y 3e!==\'A\'&&\'3d\'||y 3g!==\'A\'&&\'3f\';a&&$p.37[a]()})();',62,299,'||||||function|if|return|var||||||||||||||||||||||||length|typeof|cspec|undefined|else|for|attr|this|document|error|compile|false|find|target|nodes|ii|render|autoRender|append|prototype|prepend||quotefn|prop|val|selector|plugins|ni|||true|test|sel|string|null|loop|replace|getstr|querySelector|templates|in|dataselectfn|pfns|isClass|className|openLoops|jj|dsel|pa|attPfx|compiler|createElement|wrapquote|leaf|pVal|pos|match|item|gettarget|node|isStyle|attName|setsig|itersel|inner|TABLE|break|Math|innerHTML|isArray|fnVal|attLine|data|parts|split|temp|isNodeValue|cs|tagName|indexOf|loopi|loopil|ne|TR|dojo|jQuery|ctxt|The|template|your|_|selRx|outerHTML|appendChild|domify|with|concatenator|substring|join|bad|the|name|retStr|cannot|loopfn|old|strs|buildArg|push|hasOwnProperty|loopgen|an|cj|context|replaceWith|ep|TBODY|pure|arguments|core|getPlugins|case|was|not|found|root|is|floor|random|1000000|autoAttr|INPUT|value|console|cloneNode|object|querySelectorAll|PURE|on|parseloopspec|spec|charAt|while|slice|index|syntax|no|style|nodeType|removeAttribute|quot|parentNode|set|items|getAutoNodes|checkClass|str|TD|TH|THEAD|libs|domassistant|DOMAssistant|jquery|mootools|Element|sizzle|Sizzle|sly|Sly|switch|check|default|_s|_a|IMG|src|alert|log|debugger|throw|_compiler|_error|new|div|Object|toString|call|Array|createDocumentFragment|You|can|standalone|iPhone|FF3|Safari4|and|IE8|nTo|run|browser|you|need|JS|library|framework|CSS|engine|search|substr|reserved|word|current|running|iteration|nPlease|choose|another|zA|take|place|at|same|time|modifiers|allowed|class|setAttribute|cssText|getAttribute|nbsp|createTextNode|insertBefore|nextSibling|removeChild|delete|have|more|than|one|getElementsByTagName|nodevalue|splice|OPTION|selected|sselected|svalue|parseInt|parent|TFOOT|SPAN|firstChild|replaceChild|query|cssSelect|attach|publicMethods|fn|extend|getElements|implement|body|select|addMethods|MooTools|Prototype'.split('|'),0,{}))