diff --git a/.gitattributes b/.gitattributes index 0f862e83b745d959ba686e2e280dcbe4ddd7a6f6..776023fd8d9d034d58434b23edb7cf04d908f8b2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -219,8 +219,8 @@ dist/inc-rubriques.html -text dist/javascript/articles_tous_edite.js -text dist/javascript/async_upload.js -text dist/javascript/dragdrop_interface.js -text -dist/javascript/jquery-1.0.2-forms.js -text -dist/javascript/jquery-1.0.2-forms.pack.js -text +dist/javascript/jquery-1.0.3-forms.js -text +dist/javascript/jquery-1.0.3-forms.pack.js -text dist/javascript/pause.js -text dist/modeles/article_mots.html -text dist/modeles/article_traductions.html -text diff --git a/dist/javascript/jquery-1.0.2-forms.pack.js b/dist/javascript/jquery-1.0.2-forms.pack.js deleted file mode 100644 index c27848c29eb45d14f76f8cb075f60f11c3c26461..0000000000000000000000000000000000000000 --- a/dist/javascript/jquery-1.0.2-forms.pack.js +++ /dev/null @@ -1 +0,0 @@ -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}('l(1X 1O.6=="T"){1O.T=1O.T;6=q(a,c){l(a&&1X a=="q"&&6.C.1Y)v 6(14).1Y(a);a=a||6.1r||14;l(a.33)v 6(6.1W(a,[]));l(c&&c.33)v 6(c).2t(a);l(1O==7)v 1e 6(a,c);u m=/^[^<]*(<.+>)[^>]*$/.3z(a);l(m)a=6.3S([m[1]]);7.1n(a.M==2g||a.D&&!a.1Z&&a[0]!=T&&a[0].1Z?6.1W(a,[]):6.2t(a,c));u C=1f[1f.D-1];l(C&&1X C=="q")7.Q(C)};l(1X $!="T")6.4r$=$;u $=6;6.C=6.8s={33:"1.0.2",5K:q(){v 7.D},1n:q(2a){l(2a&&2a.M==2g){7.D=0;[].18.17(7,2a);v 7}F v 2a==T?6.1W(7,[]):7[2a]},Q:q(C,1h){v 6.Q(7,C,1h)},8t:q(19){u 2m=-1;7.Q(q(i){l(7==19)2m=i});v 2m},1t:q(1L,O,B){v 1L.M!=1I||O!=T?7.Q(q(){l(O==T)H(u J 1u 1L)6.1t(B?7.1a:7,J,1L[J]);F 6.1t(B?7.1a:7,1L,O)}):6[B||"1t"](7[0],1L)},1k:q(1L,O){v 7.1t(1L,O,"2c")},2Y:q(e){e=e||7;u t="";H(u j=0;j<e.D;j++){u r=e[j].2i;H(u i=0;i<r.D;i++)l(r[i].1Z!=8)t+=r[i].1Z!=1?r[i].3o:6.C.2Y([r[i]])}v t},8u:q(){u a=6.3S(1f);v 7.Q(q(){u b=a[0].3Y(Y);7.1l.2S(b,7);2q(b.1S)b=b.1S;b.4N(7)})},5o:q(){v 7.2Z(1f,Y,1,q(a){7.4N(a)})},5q:q(){v 7.2Z(1f,Y,-1,q(a){7.2S(a,7.1S)})},5z:q(){v 7.2Z(1f,12,1,q(a){7.1l.2S(a,7)})},5u:q(){v 7.2Z(1f,12,-1,q(a){7.1l.2S(a,7.8v)})},5G:q(){v 7.1n(7.3r.8w())},2t:q(t){v 7.2p(6.2x(7,q(a){v 6.2t(t,a)}),1f)},4O:q(4K){v 7.2p(6.2x(7,q(a){v a.3Y(4K!=T?4K:Y)}),1f)},1c:q(t){v 7.2p(t.M==2g&&6.2x(7,q(a){H(u i=0;i<t.D;i++)l(6.1c(t[i],[a]).r.D)v a})||t.M==8y&&(t?7.1n():[])||1X t=="q"&&6.3a(7,t)||6.1c(t,7).r,1f)},2w:q(t){v 7.2p(t.M==1I?6.1c(t,7,12).r:6.3a(7,q(a){v a!=t}),1f)},28:q(t){v 7.2p(6.1W(7,t.M==1I?6.2t(t):t.M==2g?t:[t]),1f)},4D:q(2D){v 2D?6.1c(2D,7).r.D>0:12},2Z:q(1h,1s,31,C){u 4O=7.5K()>1;u a=6.3S(1h);v 7.Q(q(){u 19=7;l(1s&&7.2F.2o()=="8z"&&a[0].2F.2o()!="8A"){u 23=7.51("23");l(!23.D){19=14.4W("23");7.4N(19)}F 19=23[0]}H(u i=(31<0?a.D-1:0);i!=(31<0?31:a.D);i+=31){C.17(19,[4O?a[i].3Y(Y):a[i]])}})},2p:q(a,1h){u C=1h&&1h[1h.D-1];u 2h=1h&&1h[1h.D-2];l(C&&C.M!=1q)C=U;l(2h&&2h.M!=1q)2h=U;l(!C){l(!7.3r)7.3r=[];7.3r.18(7.1n());7.1n(a)}F{u 1V=7.1n();7.1n(a);l(2h&&a.D||!2h)7.Q(2h||C).1n(1V);F 7.1n(1V).Q(C)}v 7}};6.1U=6.C.1U=q(19,J){l(!J){J=19;19=7}H(u i 1u J)19[i]=J[i];v 19};6.1U({5J:q(){6.8B=Y;6.Q(6.2r.5D,q(i,n){6.C[i]=q(a){u K=6.2x(7,n);l(a&&a.M==1I)K=6.1c(a,K).r;v 7.2p(K,1f)}});6.Q(6.2r.2K,q(i,n){6.C[i]=q(){u a=1f;v 7.Q(q(){H(u j=0;j<a.D;j++)6(a[j])[n](7)})}});6.Q(6.2r.Q,q(i,n){6.C[i]=q(){v 7.Q(n,1f)}});6.Q(6.2r.1c,q(i,n){6.C[n]=q(2a,C){v 7.1c(":"+n+"("+2a+")",C)}});6.Q(6.2r.1t,q(i,n){n=n||i;6.C[i]=q(h){v h==T?7.D?7[0][n]:U:7.1t(n,h)}});6.Q(6.2r.1k,q(i,n){6.C[n]=q(h){v h==T?(7.D?6.1k(7[0],n):U):7.1k(n,h)}})},Q:q(19,C,1h){l(19.D==T)H(u i 1u 19)C.17(19[i],1h||[i,19[i]]);F H(u i=0;i<19.D;i++)C.17(19[i],1h||[i,19[i]]);v 19},1i:{28:q(o,c){l(6.1i.3x(o,c))v;o.1i+=(o.1i?" ":"")+c},29:q(o,c){l(!c){o.1i=""}F{u 2X=o.1i.3t(" ");H(u i=0;i<2X.D;i++){l(2X[i]==c){2X.8C(i,1);5b}}o.1i=2X.5c(\' \')}},3x:q(e,a){l(e.1i!=T)e=e.1i;v 1e 4c("(^|\\\\s)"+a+"(\\\\s|$)").26(e)}},42:q(e,o,f){H(u i 1u o){e.1a["1V"+i]=e.1a[i];e.1a[i]=o[i]}f.17(e,[]);H(u i 1u o)e.1a[i]=e.1a["1V"+i]},1k:q(e,p){l(p=="1F"||p=="2e"){u 1V={},3V,3Z,d=["7b","8F","8G","8H"];H(u i 1u d){1V["8I"+d[i]]=0;1V["8J"+d[i]+"8K"]=0}6.42(e,1V,q(){l(6.1k(e,"1y")!="25"){3V=e.8L;3Z=e.8M}F{e=6(e.3Y(Y)).1k({47:"21",2O:"8O",1y:"2P",8P:"0",5v:"0"}).5n(e.1l)[0];u 3c=6.1k(e.1l,"2O");l(3c==""||3c=="40")e.1l.1a.2O="8Q";3V=e.6o;3Z=e.6p;l(3c==""||3c=="40")e.1l.1a.2O="40";e.1l.3K(e)}});v p=="1F"?3V:3Z}v 6.2c(e,p)},2c:q(G,J,4R){u K;l(J==\'1g\'&&6.1b.1A)v 6.1t(G.1a,\'1g\');l(!4R&&G.1a[J]){K=G.1a[J]}F l(G.3j){u 4S=J.1H(/\\-(\\w)/g,q(m,c){v c.2o()});K=G.3j[J]||G.3j[4S]}F l(14.3W&&14.3W.4J){J=J.1H(/([A-Z])/g,"-$1").3f();u 1p=14.3W.4J(G,U);l(1p)K=1p.4U(J);F l(J==\'1y\')K=\'25\';F 6.42(G,{1y:\'2P\'},q(){K=14.3W.4J(7,U).4U(J)})}v K},3S:q(a){u r=[];H(u i=0;i<a.D;i++){l(a[i].M==1I){a[i]=6.2Q(a[i]);u 1s="";l(!a[i].1d("<44")||!a[i].1d("<23")){1s="44";a[i]="<1s>"+a[i]+"</1s>"}F l(!a[i].1d("<3Q")){1s="3Q";a[i]="<1s>"+a[i]+"</1s>"}F l(!a[i].1d("<45")||!a[i].1d("<6r")){1s="45";a[i]="<1s><23><3Q>"+a[i]+"</3Q></23></1s>"}u 1G=14.4W("1G");1G.2A=a[i];l(1s){1G=1G.1S;l(1s!="44")1G=1G.1S;l(1s=="45")1G=1G.1S}H(u j=0;j<1G.2i.D;j++)r.18(1G.2i[j])}F l(a[i].33||a[i].D&&!a[i].1Z)H(u k=0;k<a[i].D;k++)r.18(a[i][k]);F l(a[i]!==U)r.18(a[i].1Z?a[i]:14.6u(a[i].6v()))}v r},2D:{"":"m[2]== \'*\'||a.2F.2o()==m[2].2o()","#":"a.3k(\'37\')&&a.3k(\'37\')==m[2]",":":{55:"i<m[3]-0",5A:"i>m[3]-0",4X:"m[3]-0==i",5y:"m[3]-0==i",2s:"i==0",1P:"i==r.D-1",5H:"i%2==0",5e:"i%2","4X-3N":"6.1B(a,m[3]).1p","2s-3N":"6.1B(a,0).1p","1P-3N":"6.1B(a,0).1P","6w-3N":"6.1B(a).D==1",5E:"a.2i.D",5I:"!a.2i.D",5B:"(a.6x||a.2A).1d(m[3])>=0",6y:"a.B!=\'21\'&&6.1k(a,\'1y\')!=\'25\'&&6.1k(a,\'47\')!=\'21\'",21:"a.B==\'21\'||6.1k(a,\'1y\')==\'25\'||6.1k(a,\'47\')==\'21\'",5k:"!a.2I",2I:"a.2I",3b:"a.3b",3s:"a.3s || 6.1t(a, \'3s\')",2Y:"a.B==\'2Y\'",4G:"a.B==\'4G\'",4F:"a.B==\'4F\'",4I:"a.B==\'4I\'",4Y:"a.B==\'4Y\'",2u:"a.B==\'2u\'",2M:"a.B==\'2M\'",3M:"a.B==\'3M\'",3e:"a.B==\'3e\'",36:"a.2F.3f().5Q(/36|32|63|3e/)"},".":"6.1i.3x(a,m[2])","@":{"=":"z==m[4]","!=":"z!=m[4]","^=":"z && !z.1d(m[4])","$=":"z && z.35(z.D - m[4].D,m[4].D)==m[4]","*=":"z && z.1d(m[4])>=0","":"z"},"[":"6.2t(m[2],a).D"},3H:["\\\\.\\\\.|/\\\\.\\\\.","a.1l",">|/","6.1B(a.1S)","\\\\+","6.1B(a).3v","~",q(a){u r=[];u s=6.1B(a);l(s.n>0)H(u i=s.n;i<s.D;i++)r.18(s[i]);v r}],2t:q(t,1r){l(1r&&1r.1Z==T)1r=U;1r=1r||6.1r||14;l(t.M!=1I)v[t];l(!t.1d("//")){1r=1r.4Z;t=t.35(2,t.D)}F l(!t.1d("/")){1r=1r.4Z;t=t.35(1,t.D);l(t.1d("/")>=1)t=t.35(t.1d("/"),t.D)}u K=[1r];u 1Q=[];u 1P=U;2q(t.D>0&&1P!=t){u r=[];1P=t;t=6.2Q(t).1H(/^\\/\\//i,"");u 3i=12;H(u i=0;i<6.3H.D;i+=2){l(3i)5d;u 2y=1e 4c("^("+6.3H[i]+")");u m=2y.3z(t);l(m){r=K=6.2x(K,6.3H[i+1]);t=6.2Q(t.1H(2y,""));3i=Y}}l(!3i){l(!t.1d(",")||!t.1d("|")){l(K[0]==1r)K.4x();1Q=6.1W(1Q,K);r=K=[1r];t=" "+t.35(1,t.D)}F{u 4A=/^([#.]?)([a-58-9\\\\*4r-]*)/i;u m=4A.3z(t);l(m[1]=="#"){u 48=14.5Z(m[2]);r=K=48?[48]:[];t=t.1H(4A,"")}F{l(!m[2]||m[1]==".")m[2]="*";H(u i=0;i<K.D;i++)r=6.1W(r,m[2]=="*"?6.4u(K[i]):K[i].51(m[2]))}}}l(t){u 1C=6.1c(t,r);K=r=1C.r;t=6.2Q(1C.t)}}l(K&&K[0]==1r)K.4x();1Q=6.1W(1Q,K);v 1Q},4u:q(o,r){r=r||[];u s=o.2i;H(u i=0;i<s.D;i++)l(s[i].1Z==1){r.18(s[i]);6.4u(s[i],r)}v r},1t:q(G,11,O){u 2d={"H":"6B","6C":"1i","5x":"6D",2A:"2A",1i:"1i",O:"O",2I:"2I",3b:"3b"};l(11=="1g"&&6.1b.1A&&O!=T){G[\'6E\']=1;l(O==1)v G["1c"]=G["1c"].1H(/3G\\([^\\)]*\\)/5P,"");F v G["1c"]=G["1c"].1H(/3G\\([^\\)]*\\)/5P,"")+"3G(1g="+O*54+")"}F l(11=="1g"&&6.1b.1A){v G["1c"]?4P(G["1c"].5Q(/3G\\(1g=(.*)\\)/)[1])/54:1}l(11=="1g"&&6.1b.34&&O==1)O=0.6F;l(2d[11]){l(O!=T)G[2d[11]]=O;v G[2d[11]]}F l(O==T&&6.1b.1A&&G.2F&&G.2F.2o()==\'6G\'&&(11==\'5g\'||11==\'5h\')){v G.4h(11).3o}F l(G.3k!=T){l(O!=T)G.6H(11,O);v G.3k(11,2)}F{11=11.1H(/-([a-z])/6I,q(z,b){v b.2o()});l(O!=T)G[11]=O;v G[11]}},56:["\\\\[ *(@)S *([!*$^=]*) *(\'?\\"?)(.*?)\\\\4 *\\\\]","(\\\\[)\\s*(.*?)\\s*\\\\]","(:)S\\\\(\\"?\'?([^\\\\)]*?)\\"?\'?\\\\)","([:.#]*)S"],1c:q(t,r,2w){u g=2w!==12?6.3a:q(a,f){v 6.3a(a,f,Y)};2q(t&&/^[a-z[({<*:.#]/i.26(t)){u p=6.56;H(u i=0;i<p.D;i++){u 2y=1e 4c("^"+p[i].1H("S","([a-z*4r-][a-58-6K-]*)"),"i");u m=2y.3z(t);l(m){l(!i)m=["",m[1],m[3],m[2],m[5]];t=t.1H(2y,"");5b}}l(m[1]==":"&&m[2]=="2w")r=6.1c(m[3],r,12).r;F{u f=6.2D[m[1]];l(f.M!=1I)f=6.2D[m[1]][m[2]];2T("f = q(a,i){"+(m[1]=="@"?"z=6.1t(a,m[3]);":"")+"v "+f+"}");r=g(r,f)}}v{r:r,t:t}},2Q:q(t){v t.1H(/^\\s+|\\s+$/g,"")},3g:q(G){u 4n=[];u 1p=G.1l;2q(1p&&1p!=14){4n.18(1p);1p=1p.1l}v 4n},1B:q(G,2m,2w){u 15=[];l(G){u 2j=G.1l.2i;H(u i=0;i<2j.D;i++){l(2w===Y&&2j[i]==G)5d;l(2j[i].1Z==1)15.18(2j[i]);l(2j[i]==G)15.n=15.D-1}}v 6.1U(15,{1P:15.n==15.D-1,1p:2m=="5H"&&15.n%2==0||2m=="5e"&&15.n%2||15[2m]==G,4m:15[15.n-1],3v:15[15.n+1]})},1W:q(2s,3w){u 1D=[];H(u k=0;k<2s.D;k++)1D[k]=2s[k];H(u i=0;i<3w.D;i++){u 4g=Y;H(u j=0;j<2s.D;j++)l(3w[i]==2s[j])4g=12;l(4g)1D.18(3w[i])}v 1D},3a:q(15,C,4i){l(C.M==1I)C=1e 1q("a","i","v "+C);u 1D=[];H(u i=0;i<15.D;i++)l(!4i&&C(15[i],i)||4i&&!C(15[i],i))1D.18(15[i]);v 1D},2x:q(15,C){l(C.M==1I)C=1e 1q("a","v "+C);u 1D=[];H(u i=0;i<15.D;i++){u 1C=C(15[i],i);l(1C!==U&&1C!=T){l(1C.M!=2g)1C=[1C];1D=6.1W(1D,1C)}}v 1D},N:{28:q(V,B,27){l(6.1b.1A&&V.4d!=T)V=1O;l(!27.2z)27.2z=7.2z++;l(!V.1E)V.1E={};u 2R=V.1E[B];l(!2R){2R=V.1E[B]={};l(V["2V"+B])2R[0]=V["2V"+B]}2R[27.2z]=27;V["2V"+B]=7.5L;l(!7.1j[B])7.1j[B]=[];7.1j[B].18(V)},2z:1,1j:{},29:q(V,B,27){l(V.1E)l(B&&V.1E[B])l(27)5i V.1E[B][27.2z];F H(u i 1u V.1E[B])5i V.1E[B][i];F H(u j 1u V.1E)7.29(V,j)},1N:q(B,L,V){L=L||[];l(!V){u g=7.1j[B];l(g)H(u i=0;i<g.D;i++)7.1N(B,L,g[i])}F l(V["2V"+B]){L.5m(7.2d({B:B,1T:V}));V["2V"+B].17(V,L)}},5L:q(N){l(1X 6=="T")v;N=N||6.N.2d(1O.N);l(!N)v;u 3p=Y;u c=7.1E[N.B];u 1h=[].6R.49(1f,1);1h.5m(N);H(u j 1u c){l(c[j].17(7,1h)===12){N.4p();N.5s();3p=12}}v 3p},2d:q(N){l(N){N.4p=q(){7.3p=12};N.5s=q(){7.76=Y}}v N}}});1e q(){u b=5j.5l.3f();6.1b={3L:/5t/.26(b),2W:/2W/.26(b),1A:/1A/.26(b)&&!/2W/.26(b),34:/34/.26(b)&&!/(6V|5t)/.26(b)};6.6X=!6.1b.1A||14.6Y=="6Z"};6.2r={2K:{5n:"5o",70:"5q",2S:"5z",72:"5u"},1k:"2e,1F,73,5v,2O,5x,3O,77,79".3t(","),1c:["5y","55","5A","5B"],1t:{1C:"O",5f:"2A",37:U,7e:U,11:U,7f:U,3l:U,7g:U},5D:{5E:"a.1l",7i:6.3g,3g:6.3g,3v:"6.1B(a).3v",4m:"6.1B(a).4m",2j:"6.1B(a, U, Y)",7l:"6.1B(a.1S)"},Q:{7n:q(1L){7.7o(1L)},1K:q(){7.1a.1y=7.2B?7.2B:"";l(6.1k(7,"1y")=="25")7.1a.1y="2P"},1v:q(){7.2B=7.2B||6.1k(7,"1y");l(7.2B=="25")7.2B="2P";7.1a.1y="25"},4o:q(){6(7)[6(7).4D(":21")?"1K":"1v"].17(6(7),1f)},7r:q(c){6.1i.28(7,c)},7s:q(c){6.1i.29(7,c)},7u:q(c){6.1i[6.1i.3x(7,c)?"29":"28"](7,c)},29:q(a){l(!a||6.1c(a,[7]).r)7.1l.3K(7)},5I:q(){2q(7.1S)7.3K(7.1S)},3q:q(B,C){l(C.M==1I)C=1e 1q("e",(!C.1d(".")?"6(7)":"v ")+C);6.N.28(7,B,C)},5T:q(B,C){6.N.29(7,B,C)},1N:q(B,L){6.N.1N(B,L,7)}}};6.5J();6.C.1U({5M:6.C.4o,4o:q(a,b){v a&&b&&a.M==1q&&b.M==1q?7.4k(q(e){7.1P=7.1P==a?b:a;e.4p();v 7.1P.17(7,[e])||12}):7.5M.17(7,1f)},7F:q(f,g){q 4s(e){u p=(e.B=="3D"?e.7G:e.7I)||e.7J;2q(p&&p!=7)3y{p=p.1l}3T(e){p=7};l(p==7)v 12;v(e.B=="3D"?f:g).17(7,[e])}v 7.3D(4s).5R(4s)},1Y:q(f){l(6.3A)f.17(14);F{6.2E.18(f)}v 7}});6.1U({3A:12,2E:[],1Y:q(){l(!6.3A){6.3A=Y;l(6.2E){H(u i=0;i<6.2E.D;i++)6.2E[i].17(14);6.2E=U}l(6.1b.34||6.1b.2W)14.7N("5X",6.1Y,12)}}});1e q(){u e=("7O,7P,2b,7Q,7S,4B,4k,7T,"+"7U,7V,7X,3D,5R,7Z,3M,32,"+"2u,81,82,83,2n").3t(",");H(u i=0;i<e.D;i++)1e q(){u o=e[i];6.C[o]=q(f){v f?7.3q(o,f):7.1N(o)};6.C["84"+o]=q(f){v 7.5T(o,f)};6.C["85"+o]=q(f){v 7.Q(q(){u 5U=0;6.N.28(7,o,q(e){l(5U++)v;v f.17(7,[e])})})}};l(6.1b.34||6.1b.2W){14.86("5X",6.1Y,12)}F l(6.1b.1A){14.87("<89"+"8a 37=60 8b=Y "+"3l=//:><\\/2k>");u 2k=14.5Z("60");2k.2J=q(){l(7.3F!="1x")v;7.1l.3K(7);6.1Y()};2k=U}F l(6.1b.3L){6.4z=4d(q(){l(14.3F=="8c"||14.3F=="1x"){6h(6.4z);6.4z=U;6.1Y()}},10)}6.N.28(1O,"2b",6.1Y)};l(6.1b.1A)6(1O).4B(q(){u N=6.N,1j=N.1j;H(u B 1u 1j){u 4C=1j[B],i=4C.D;l(i>0)8d l(B!=\'4B\')N.29(4C[i-1],B);2q(--i)}});6.C.1U({64:6.C.1K,1K:q(16,E){v 16?7.22({1F:"1K",2e:"1K",1g:"1K"},16,E):7.64()},66:6.C.1v,1v:q(16,E){v 16?7.22({1F:"1v",2e:"1v",1g:"1v"},16,E):7.66()},8e:q(16,E){v 7.22({1F:"1K"},16,E)},8g:q(16,E){v 7.22({1F:"1v"},16,E)},8h:q(16,E){v 7.Q(q(){u 67=6(7).4D(":21")?"1K":"1v";6(7).22({1F:67},16,E)})},8j:q(16,E){v 7.22({1g:"1K"},16,E)},8k:q(16,E){v 7.22({1g:"1v"},16,E)},8l:q(16,2K,E){v 7.22({1g:2K},16,E)},22:q(J,16,E){v 7.1w(q(){7.38=J;H(u p 1u J){u e=1e 6.2N(7,6.16(16,E),p);l(J[p].M==6d)e.3d(e.1p(),J[p]);F e[J[p]](J)}})},1w:q(B,C){l(!C){C=B;B="2N"}v 7.Q(q(){l(!7.1w)7.1w={};l(!7.1w[B])7.1w[B]=[];7.1w[B].18(C);l(7.1w[B].D==1)C.17(7)})}});6.1U({53:q(e,p){l(e.6b)v;l(p=="1F"&&e.68!=3m(6.2c(e,p)))v;l(p=="2e"&&e.69!=3m(6.2c(e,p)))v;u a=e.1a[p];u o=6.2c(e,p,1);l(p=="1F"&&e.68!=o||p=="2e"&&e.69!=o)v;e.1a[p]=e.3j?"":"6a";u n=6.2c(e,p,1);l(o!=n&&n!="6a"){e.1a[p]=a;e.6b=Y}},16:q(s,o){o=o||{};l(o.M==1q)o={1x:o};u 6e={8n:8o,8q:6f};o.30=(s&&s.M==6d?s:6e[s])||5O;o.3R=o.1x;o.1x=q(){6.6g(7,"2N");l(o.3R&&o.3R.M==1q)o.3R.17(7)};v o},1w:{},6g:q(G,B){B=B||"2N";l(G.1w&&G.1w[B]){G.1w[B].4x();u f=G.1w[B][0];l(f)f.17(G)}},2N:q(G,2C,J){u z=7;z.o={30:2C.30||5O,1x:2C.1x,2L:2C.2L};z.W=G;u y=z.W.1a;z.a=q(){l(2C.2L)2C.2L.17(G,[z.2l]);l(J=="1g")6.1t(y,"1g",z.2l);F l(3m(z.2l))y[J]=3m(z.2l)+"52";y.1y="2P"};z.50=q(){v 4P(6.1k(z.W,J))};z.1p=q(){u r=4P(6.2c(z.W,J));v r&&r>-8E?r:z.50()};z.3d=q(41,2K){z.4t=(1e 4T()).4V();z.2l=41;z.a();z.4L=4d(q(){z.2L(41,2K)},13)};z.1K=q(p){l(!z.W.1J)z.W.1J={};z.W.1J[J]=7.1p();l(J=="1g")z.3d(z.W.1J[J],1);F z.3d(0,z.W.1J[J]);l(J!="1g")y[J]="8R"};z.1v=q(){l(!z.W.1J)z.W.1J={};z.W.1J[J]=7.1p();z.o.1v=Y;z.3d(z.W.1J[J],0)};l(!z.W.6q)z.W.6n=6.1k(z.W,"3O");y.3O="21";z.2L=q(4f,4e){u t=(1e 4T()).4V();l(t>z.o.30+z.4t){6h(z.4L);z.4L=U;z.2l=4e;z.a();z.W.38[J]=Y;u 1Q=Y;H(u i 1u z.W.38)l(z.W.38[i]!==Y)1Q=12;l(1Q){y.3O=z.W.6n;l(z.o.1v)y.1y=\'25\';l(z.o.1v){H(u p 1u z.W.38){l(p=="1g"&&6.1b.1A)6.1t(y,p,z.W.1J[p]);F y[p]=z.W.1J[p]+"52";l(p==\'1F\'||p==\'2e\')6.53(z.W,p)}}}l(1Q&&z.o.1x&&z.o.1x.M==1q)z.o.1x.17(z.W)}F{u p=(t-7.4t)/z.o.30;z.2l=((-5a.6J(p*5a.6L)/2)+0.5)*(4e-4f)+4f;z.a()}}}});6.C.1U({6N:q(I,1m,E){7.2b(I,1m,E,1)},2b:q(I,1m,E,1o){l(I.M==1q)v 7.3q("2b",I);E=E||q(){};u B="4l";l(1m){l(1m.M==1q){E=1m;1m=U}F{1m=6.2f(1m);B="4M"}}u 3n=7;6.20(B,I,1m,q(1M,R){l(R=="2H"||!1o&&R=="5V"){3n.5f(1M.2U).Q(E,[1M.2U,R]);6("2k",3n).Q(q(){l(7.3l)6.5r(7.3l);F 2T.49(1O,7.2Y||7.6P||7.2A||"")})}F E.17(3n,[1M.2U,R])},1o);v 7},3J:q(){v 6.2f(7)}});l(6.1b.1A&&1X 3B=="T")3B=q(){v 1e 6Q(5j.5l.1d("6S 5")>=0?"6T.5p":"6U.5p")};1e q(){u e="5C,65,62,61,5Y".3t(",");H(u i=0;i<e.D;i++)1e q(){u o=e[i];6.C[o]=q(f){v 7.3q(o,f)}}};6.1U({1n:q(I,L,E,B,1o){l(L.M==1q){B=E;E=L;L=U}l(L)I+=((I.1d("?")>-1)?"&":"?")+6.2f(L);6.20("4l",I,U,q(r,R){l(E)E(6.3U(r,B),R)},1o)},71:q(I,L,E,B){6.1n(I,L,E,B,1)},5r:q(I,E){6.1n(I,E,"2k")},74:q(I,L,E){l(E)6.1n(I,L,E,"4a");F{6.1n(I,L,"4a")}},75:q(I,L,E,B){6.20("4M",I,6.2f(L),q(r,R){l(E)E(6.3U(r,B),R)})},1z:0,78:q(1z){6.1z=1z},3X:{},20:q(B,I,L,K,1o){l(!I){K=B.1x;u 2H=B.2H;u 2n=B.2n;u 4y=B.4y;u 1j=1X B.1j=="7a"?B.1j:Y;u 1z=1X B.1z=="7c"?B.1z:6.1z;u 1o=B.1o||12;L=B.L;I=B.I;B=B.B}l(1j&&!6.4H++)6.N.1N("5C");u 4E=12;u P=1e 3B();P.7h(B||"4l",I,Y);l(L)P.3C("7j-7k","7m/x-7q-1R-7t");l(1o)P.3C("7v-4Q-7x",6.3X[I]||"7z, 7A 7B 7D 4q:4q:4q 7H");P.3C("X-7L-7M","3B");l(P.7R)P.3C("7W","7Y");u 2J=q(4v){l(P&&(P.3F==4||4v=="1z")){4E=Y;u R=6.6c(P)&&4v!="1z"?1o&&6.6i(P,I)?"5V":"2H":"2n";l(R!="2n"){u 3I;3y{3I=P.43("6k-4Q")}3T(e){}l(1o&&3I)6.3X[I]=3I;l(2H)2H(6.3U(P,4y),R);l(1j)6.N.1N("5Y")}F{l(2n)2n(P,R);l(1j)6.N.1N("61")}l(1j)6.N.1N("62");l(1j&&!--6.4H)6.N.1N("65");l(K)K(P,R);P.2J=q(){};P=U}};P.2J=2J;l(1z>0)8f(q(){l(P){P.8i();l(!4E)2J("1z");P=U}},1z);P.8m(L)},4H:0,6c:q(r){3y{v!r.R&&8p.8r=="4I:"||(r.R>=6f&&r.R<8x)||r.R==57||6.1b.3L&&r.R==T}3T(e){}v 12},6i:q(P,I){3y{u 6l=P.43("6k-4Q");v P.R==57||6l==6.3X[I]||6.1b.3L&&P.R==T}3T(e){}v 12},3U:q(r,B){u 46=r.43("6s-B");u L=!B&&46&&46.1d("P")>=0;L=B=="P"||L?r.6z:r.2U;l(B=="2k")2T.49(1O,L);l(B=="4a")2T("L = "+L);v L},2f:q(a){u s=[];l(a.M==2g||a.33){H(u i=0;i<a.D;i++)s.18(a[i].11+"="+59(a[i].O))}F{H(u j 1u a)s.18(j+"="+59(a[j]))}v s.5c("&")}})}$.C.5N=q(1T,3E,2G,I,39){l(!7.24)7.3J();l(2G&&2G.M==1q&&2G(7.24)===12)v;u f=7.1n(0);u I=I||f.4h(\'5g\').3o||\'\';u 39=39||f.4h(\'5h\').3o||\'4M\';l(1T&&1T.M==1q)$.20(39,I,$.2f(7.24),1T);F l(1T&&1T.M==1I)$(1T).2b(I,7.24,3E);F{7.24.18({11:\'6W\',O:1});$.20(39,I,$.2f(7.24),q(r){2T(r.2U)})}v 7};$.C.7d=q(1T,3E,2G){v 7.Q(q(){$("36[@B=2u],36[@B=2M]",7).4k(q(2v){7.1R.6j=7;l(2v.5F!=T){7.1R.3h=2v.5F;7.1R.4b=2v.7p}F{7.1R.3h=2v.7w-7.7y;7.1R.4b=2v.7E-7.7K}})}).2u(q(e){$(7).5N(1T,3E,2G);v 12})};$.C.88=q(){7.3J();v 7.24};$.C.3J=q(){u a=[];$(\'36,63,32,3e\',7).Q(q(){u n=7.11||7.37;u t=7.B;l(!n||7.2I||t==\'3M\'||(t==\'4F\'||t==\'4G\')&&!7.3b||(t==\'2u\'||t==\'2M\'||t==\'3e\')&&7.1R.6j!=7||7.8D.3f()==\'32\'&&7.8N==-1)v;l(t==\'2M\'&&7.1R.3h)v a.18({11:n+\'6t\',O:7.1R.3h},{11:n+\'6A\',O:7.1R.4b});l(t==\'32-6M\'){$(\'6O:5k\',7).Q(q(){l(7.3s)a.18({11:n,O:7.O})});v}a.18({11:n,O:7.O})}).5G();7.24=a;v 7};u 3P=1e 2g();q 80(f){3P.18(f)};q 3u(6m){H(u i=0;i<3P.D;i++)3P[i].17(6m)};6.C.4w=6.C.2b;6.C.2b=q(I,1m,E,1o){E=E||q(){};l(1m){l(1m.M==1q){E=1m;1m=U}}u 5w=q(1M,R){3u(7);E(1M,R)};v 7.4w(I,1m,5w,1o)};6.4j=6.20;6.20=q(B,I,L,K,1o){l(6.20.7C==6.C.4w)v 6.4j(B,I,L,K,1o);l(!I){u 5W=B.1x||q(){};B.1x=q(1M,R){3u(14);5W(1M,R)}}F{u 5S=K||q(){};K=q(1M,R){3u(14);5S(1M,R)}}6.4j(B,I,L,K,1o)};',62,550,'||||||jQuery|this||||||||||||||if|||||function||||var|return||||||type|fn|length|callback|else|elem|for|url|prop|ret|data|constructor|event|value|xml|each|status||undefined|null|element|el||true|||name|false||document|elems|speed|apply|push|obj|style|browser|filter|indexOf|new|arguments|opacity|args|className|global|css|parentNode|params|get|ifModified|cur|Function|context|table|attr|in|hide|queue|complete|display|timeout|msie|sibling|val|result|events|height|div|replace|String|orig|show|key|res|trigger|window|last|done|form|firstChild|target|extend|old|merge|typeof|ready|nodeType|ajax|hidden|animate|tbody|vars|none|test|handler|add|remove|num|load|curCSS|fix|width|param|Array|fn2|childNodes|siblings|script|now|pos|error|toUpperCase|pushStack|while|macros|first|find|submit|ev|not|map|re|guid|innerHTML|oldblock|options|expr|readyList|nodeName|pre_cb|success|disabled|onreadystatechange|to|step|image|fx|position|block|trim|handlers|insertBefore|eval|responseText|on|opera|classes|text|domManip|duration|dir|select|jquery|mozilla|substr|input|id|curAnim|mth|grep|checked|parPos|custom|button|toLowerCase|parents|clicked_x|foundToken|currentStyle|getAttribute|src|parseInt|self|nodeValue|returnValue|bind|stack|selected|split|triggerAjaxLoad|next|second|has|try|exec|isReady|XMLHttpRequest|setRequestHeader|mouseover|post_cb|readyState|alpha|token|modRes|serialize|removeChild|safari|reset|child|overflow|load_handlers|tr|oldComplete|clean|catch|httpData|oHeight|defaultView|lastModified|cloneNode|oWidth|static|from|swap|getResponseHeader|thead|td|ct|visibility|oid|call|json|clicked_y|RegExp|setInterval|lastNum|firstNum|noCollision|getAttributeNode|inv|_ajax|click|GET|prev|matched|toggle|preventDefault|00|_|handleHover|startTime|getAll|istimeout|_load|shift|dataType|safariTimer|re2|unload|els|is|requestDone|checkbox|radio|active|file|getComputedStyle|deep|timer|POST|appendChild|clone|parseFloat|Modified|force|newProp|Date|getPropertyValue|getTime|createElement|nth|password|documentElement|max|getElementsByTagName|px|setAuto|100|lt|parse|304|z0|encodeURIComponent|Math|break|join|continue|odd|html|action|method|delete|navigator|enabled|userAgent|unshift|appendTo|append|XMLHTTP|prepend|getScript|stopPropagation|webkit|after|left|callback2|float|eq|before|gt|contains|ajaxStart|axis|parent|offsetX|end|even|empty|init|size|handle|_toggle|ajaxSubmit|400|gi|match|mouseout|orig_ret|unbind|count|notmodified|orig_complete|DOMContentLoaded|ajaxSuccess|getElementById|__ie_init|ajaxError|ajaxComplete|textarea|_show|ajaxStop|_hide|state|scrollHeight|scrollWidth|auto|notAuto|httpSuccess|Number|ss|200|dequeue|clearInterval|httpNotModified|clicked|Last|xmlRes|root|oldOverflow|clientHeight|clientWidth|oldOverlay|th|content|_x|createTextNode|toString|only|innerText|visible|responseXML|_y|htmlFor|class|cssFloat|zoom|9999|FORM|setAttribute|ig|cos|9_|PI|multiple|loadIfModified|option|textContent|ActiveXObject|slice|MSIE|Microsoft|Msxml2|compatible|evaljs|boxModel|compatMode|CSS1Compat|prependTo|getIfModified|insertAfter|top|getJSON|post|cancelBubble|color|ajaxTimeout|background|boolean|Top|number|ajaxForm|title|href|rel|open|ancestors|Content|Type|children|application|removeAttr|removeAttribute|offsetY|www|addClass|removeClass|urlencoded|toggleClass|If|pageX|Since|offsetLeft|Thu|01|Jan|caller|1970|pageY|hover|fromElement|GMT|toElement|relatedTarget|offsetTop|Requested|With|removeEventListener|blur|focus|resize|overrideMimeType|scroll|dblclick|mousedown|mouseup|Connection|mousemove|close|change|onAjaxLoad|keydown|keypress|keyup|un|one|addEventListener|write|formdata|scr|ipt|defer|loaded|do|slideDown|setTimeout|slideUp|slideToggle|abort|fadeIn|fadeOut|fadeTo|send|slow|600|location|fast|protocol|prototype|index|wrap|nextSibling|pop|300|Boolean|TABLE|THEAD|initDone|splice|tagName|10000|Bottom|Right|Left|padding|border|Width|offsetHeight|offsetWidth|selectedIndex|absolute|right|relative|1px'.split('|'),0,{})) diff --git a/dist/javascript/jquery-1.0.2-forms.js b/dist/javascript/jquery-1.0.3-forms.js similarity index 92% rename from dist/javascript/jquery-1.0.2-forms.js rename to dist/javascript/jquery-1.0.3-forms.js index 48e75715e75a5f22db95ed32f768e5114715bf28..c60478ea5a2416c1d8979fe2c361507dace76e18 100644 --- a/dist/javascript/jquery-1.0.2-forms.js +++ b/dist/javascript/jquery-1.0.3-forms.js @@ -1,19 +1,19 @@ /* prevent execution of jQuery if included more then once */ if(typeof window.jQuery == "undefined") { /* - * jQuery 1.0.2 - New Wave Javascript + * jQuery 1.0.3 - New Wave Javascript * * Copyright (c) 2006 John Resig (jquery.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * - * $Date: 2006-10-09 20:23:18 -0400 (Mon, 09 Oct 2006) $ - * $Rev: 413 $ + * $Date: 2006-10-27 11:15:44 -0400 (Fri, 27 Oct 2006) $ + * $Rev: 501 $ */ // Global undefined variable window.undefined = window.undefined; -jQuery = function(a,c) { +var jQuery = function(a,c) { // Shortcut for document ready (because $(document).each() is silly) if ( a && typeof a == "function" && jQuery.fn.ready ) @@ -35,8 +35,10 @@ jQuery = function(a,c) { return new jQuery(a,c); // Handle HTML strings - var m = /^[^<]*(<.+>)[^>]*$/.exec(a); - if ( m ) a = jQuery.clean( [ m[1] ] ); + if ( a.constructor == String ) { + var m = /^[^<]*(<.+>)[^>]*$/.exec(a); + if ( m ) a = jQuery.clean( [ m[1] ] ); + } // Watch for when an array is passed in this.get( a.constructor == Array || a.length && !a.nodeType && a[0] != undefined && a[0].nodeType ? @@ -46,12 +48,14 @@ jQuery = function(a,c) { // Find the matching elements and save them for later jQuery.find( a, c ) ); - // See if an extra function was provided + // See if an extra function was provided var fn = arguments[ arguments.length - 1 ]; // If so, execute it in context if ( fn && typeof fn == "function" ) this.each(fn); + + return this; }; // Map over the $ in case of overwrite @@ -62,7 +66,7 @@ if ( typeof $ != "undefined" ) var $ = jQuery; jQuery.fn = jQuery.prototype = { - jquery: "1.0.2", + jquery: "1.0.3", size: function() { return this.length; @@ -204,6 +208,7 @@ jQuery.fn = jQuery.prototype = { for ( var i = 0; i < t.length; i++ ) if ( jQuery.filter(t[i],[a]).r.length ) return a; + return false; }) || t.constructor == Boolean && @@ -277,8 +282,17 @@ jQuery.fn = jQuery.prototype = { }; jQuery.extend = jQuery.fn.extend = function(obj,prop) { + // Watch for the case where null or undefined gets passed in by accident + if ( arguments.length > 1 && (prop === null || prop == undefined) ) + return obj; + + // If no property object was provided, then we're extending jQuery if ( !prop ) { prop = obj; obj = this; } + + // Extend the base object for ( var i in prop ) obj[i] = prop[i]; + + // Return the modified object return obj; }; @@ -341,7 +355,7 @@ jQuery.extend({ fn.apply( obj[i], args || [i, obj[i]] ); else for ( var i = 0; i < obj.length; i++ ) - fn.apply( obj[i], args || [i, obj[i]] ); + if ( fn.apply( obj[i], args || [i, obj[i]] ) === false ) break; return obj; }, @@ -394,9 +408,11 @@ jQuery.extend({ oHeight = e.offsetHeight; oWidth = e.offsetWidth; } else { - e = jQuery(e.cloneNode(true)).css({ - visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" - }).appendTo(e.parentNode)[0]; + e = jQuery(e.cloneNode(true)) + .find(":radio").removeAttr("checked").end() + .css({ + visibility: "hidden", position: "absolute", display: "block", right: "0", left: "0" + }).appendTo(e.parentNode)[0]; var parPos = jQuery.css(e.parentNode,"position"); if ( parPos == "" || parPos == "static" ) @@ -423,6 +439,9 @@ jQuery.extend({ if (prop == 'opacity' && jQuery.browser.msie) return jQuery.attr(elem.style, 'opacity'); + + if (prop == "float" || prop == "cssFloat") + prop = jQuery.browser.msie ? "styleFloat" : "cssFloat"; if (!force && elem.style[prop]) { @@ -435,6 +454,9 @@ jQuery.extend({ } else if (document.defaultView && document.defaultView.getComputedStyle) { + if (prop == "cssFloat" || prop == "styleFloat") + prop = "float"; + prop = prop.replace(/([A-Z])/g,"-$1").toLowerCase(); var cur = document.defaultView.getComputedStyle(elem, null); @@ -451,44 +473,40 @@ jQuery.extend({ return ret; }, - + clean: function(a) { var r = []; for ( var i = 0; i < a.length; i++ ) { - if ( a[i].constructor == String ) { - // trim whitespace, otherwise indexOf won't work as expected - a[i] = jQuery.trim(a[i]); + var arg = a[i]; + if ( arg.constructor == String ) { // Convert html string into DOM nodes + // Trim whitespace, otherwise indexOf won't work as expected + var s = jQuery.trim(arg), div = document.createElement("div"), wrap = [0,"",""]; + + if ( !s.indexOf("<opt") ) // option or optgroup + wrap = [1, "<select>", "</select>"]; + else if ( !s.indexOf("<thead") || !s.indexOf("<tbody") ) + wrap = [1, "<table>", "</table>"]; + else if ( !s.indexOf("<tr") ) + wrap = [2, "<table>", "</table>"]; // tbody auto-inserted + else if ( !s.indexOf("<td") || !s.indexOf("<th") ) + wrap = [3, "<table><tbody><tr>", "</tr></tbody></table>"]; + + // Go to html and back, then peel off extra wrappers + div.innerHTML = wrap[1] + s + wrap[2]; + while ( wrap[0]-- ) div = div.firstChild; - var table = ""; - - if ( !a[i].indexOf("<thead") || !a[i].indexOf("<tbody") ) { - table = "thead"; - a[i] = "<table>" + a[i] + "</table>"; - } else if ( !a[i].indexOf("<tr") ) { - table = "tr"; - a[i] = "<table>" + a[i] + "</table>"; - } else if ( !a[i].indexOf("<td") || !a[i].indexOf("<th") ) { - table = "td"; - a[i] = "<table><tbody><tr>" + a[i] + "</tr></tbody></table>"; - } - - var div = document.createElement("div"); - div.innerHTML = a[i]; - - if ( table ) { - div = div.firstChild; - if ( table != "thead" ) div = div.firstChild; - if ( table == "td" ) div = div.firstChild; - } - + // Have to loop through the childNodes here to + // prevent a Safari crash with text nodes and /n characters for ( var j = 0; j < div.childNodes.length; j++ ) r.push( div.childNodes[j] ); - } else if ( a[i].jquery || a[i].length && !a[i].nodeType ) - for ( var k = 0; k < a[i].length; k++ ) - r.push( a[i][k] ); - else if ( a[i] !== null ) - r.push( a[i].nodeType ? a[i] : document.createTextNode(a[i].toString()) ); + } + else if ( arg.length != undefined && !arg.nodeType ) // Handles Array, jQuery, DOM NodeList collections + for ( var n = 0; n < arg.length; n++ ) + r.push(arg[n]); + else + r.push( arg.nodeType ? arg : document.createTextNode(arg.toString()) ); } + return r; }, @@ -517,7 +535,7 @@ jQuery.extend({ empty: "!a.childNodes.length", // Text Check - contains: "(a.innerText||a.innerHTML).indexOf(m[3])>=0", + contains: "jQuery.fn.text.apply([a]).indexOf(m[3])>=0", // Visibility visible: "a.type!='hidden'&&jQuery.css(a,'display')!='none'&&jQuery.css(a,'visibility')!='hidden'", @@ -669,12 +687,14 @@ jQuery.extend({ var fix = { "for": "htmlFor", "class": "className", - "float": "cssFloat", + "float": jQuery.browser.msie ? "styleFloat" : "cssFloat", + cssFloat: jQuery.browser.msie ? "styleFloat" : "cssFloat", innerHTML: "innerHTML", className: "className", value: "value", disabled: "disabled", - checked: "checked" + checked: "checked", + readonly: "readOnly" }; // IE actually uses filters for opacity ... elem is actually elem.style @@ -698,9 +718,9 @@ jQuery.extend({ return elem[fix[name]]; } else if( value == undefined && jQuery.browser.msie && elem.nodeName && elem.nodeName.toUpperCase() == 'FORM' && (name == 'action' || name == 'method') ) { return elem.getAttributeNode(name).nodeValue; - } else if ( elem.getAttribute != undefined ) { + } else if ( elem.getAttribute != undefined && elem.tagName ) { // IE elem.getAttribute passes even for style if ( value != undefined ) elem.setAttribute( name, value ); - return elem.getAttribute( name, 2 ); + return elem.getAttribute( name ); } else { name = name.replace(/-([a-z])/ig,function(z,b){return b.toUpperCase();}); if ( value != undefined ) elem[name] = value; @@ -961,12 +981,12 @@ jQuery.extend({ }, handle: function(event) { - if ( typeof jQuery == "undefined" ) return; + if ( typeof jQuery == "undefined" ) return false; event = event || jQuery.event.fix( window.event ); // If no correct event was found, fail - if ( !event ) return; + if ( !event ) return false; var returnValue = true; @@ -987,16 +1007,26 @@ jQuery.extend({ }, fix: function(event) { - if ( event ) { - event.preventDefault = function() { - this.returnValue = false; - }; - - event.stopPropagation = function() { - this.cancelBubble = true; - }; + // check IE + if(jQuery.browser.msie) { + // get real event from window.event + event = window.event; + // fix target property + event.target = event.srcElement; + // check safari and if target is a textnode + } else if(jQuery.browser.safari && event.target.nodeType == 3) { + // target is readonly, clone the event object + event = jQuery.extend({}, event); + // get parentnode from textnode + event.target = event.target.parentNode; } - + // fix preventDefault and stopPropagation + event.preventDefault = function() { + this.returnValue = false; + }; + event.stopPropagation = function() { + this.cancelBubble = true; + }; return event; } @@ -1227,20 +1257,16 @@ new function(){ // Finally, handle events that only fire once jQuery.fn["one"+o] = function(f){ - // Attach the event listener - return this.each(function(){ - - var count = 0; - - // Add the event - jQuery.event.add( this, o, function(e){ - // If this function has already been executed, stop - if ( count++ ) return; - - // And execute the bound function - return f.apply(this, [e]); - }); - }); + // save cloned reference to this + var element = jQuery(this); + var handler = function() { + // unbind itself when executed + element.unbind(o, handler); + element = null; + // apply original handler with the same arguments + f.apply(this, arguments); + }; + return this.bind(o, handler); }; }; @@ -1349,7 +1375,7 @@ jQuery.fn.extend({ animate: function(prop,speed,callback) { return this.queue(function(){ - this.curAnim = prop; + this.curAnim = jQuery.extend({}, prop); for ( var p in prop ) { var e = new jQuery.fx( this, jQuery.speed(speed,callback), p ); @@ -1508,17 +1534,14 @@ jQuery.extend({ }; // Simple 'show' function - z.show = function( p ){ + z.show = function(){ if ( !z.el.orig ) z.el.orig = {}; // Remember where we started, so that we can go back to it later z.el.orig[prop] = this.cur(); // Begin the animation - if (prop == "opacity") - z.custom(z.el.orig[prop], 1); - else - z.custom(0, z.el.orig[prop]); + z.custom(0, z.el.orig[prop]); // Stupid IE, look what you made me do if ( prop != "opacity" ) @@ -1539,7 +1562,7 @@ jQuery.extend({ }; // Remember the overflow of the element - if ( !z.el.oldOverlay ) + if ( !z.el.oldOverflow ) z.el.oldOverflow = jQuery.css( z.el, "overflow" ); // Make sure that nothing sneaks out @@ -1575,7 +1598,7 @@ jQuery.extend({ // Reset the property, if the item has been hidden if ( z.o.hide ) { for ( var p in z.el.curAnim ) { - if (p == "opacity" && jQuery.browser.msie) + if (p == "opacity") jQuery.attr(y, p, z.el.orig[p]); else y[ p ] = z.el.orig[p] + "px"; @@ -1639,15 +1662,11 @@ jQuery.fn.extend({ if ( status == "success" || !ifModified && status == "notmodified" ) { // Inject the HTML into all the matched elements - self.html(res.responseText).each( callback, [res.responseText, status] ); - - // Execute all the scripts inside of the newly-injected HTML - jQuery("script", self).each(function(){ - if ( this.src ) - jQuery.getScript( this.src ); - else - eval.call( window, this.text || this.textContent || this.innerHTML || "" ); - }); + self.html(res.responseText) + // Execute all the scripts inside of the newly-injected HTML + .evalScripts() + // Execute callback + .each( callback, [res.responseText, status] ); } else callback.apply( self, [res.responseText, status] ); @@ -1657,6 +1676,16 @@ jQuery.fn.extend({ }, serialize: function() { return jQuery.param( this ); + }, + + evalScripts: function() { + return this.find('script').each(function(){ + if ( this.src ) + // for some weird reason, it doesn't work if the callback is ommited + jQuery.getScript( this.src, function() {} ); + else + eval.call( window, this.text || this.textContent || this.innerHTML || "" ); + }).end(); } }); @@ -1687,7 +1716,7 @@ new function(){ jQuery.extend({ get: function( url, data, callback, type, ifModified ) { - if ( data.constructor == Function ) { + if ( data && data.constructor == Function ) { type = callback; callback = data; data = null; @@ -1705,7 +1734,11 @@ jQuery.extend({ jQuery.get(url, data, callback, type, 1); }, getScript: function( url, callback ) { - jQuery.get(url, callback, "script"); + if(callback) + jQuery.get(url, null, callback, "script"); + else { + jQuery.get(url, null, null, "script"); + } }, getJSON: function( url, data, callback ) { if(callback) @@ -1732,6 +1765,8 @@ jQuery.extend({ ajax: function( type, url, data, ret, ifModified ) { // If only a single argument was passed in, // assume that it is a object of key/value pairs + var global = true; + var timeout = jQuery.timeout; if ( !url ) { ret = type.complete; var success = type.success; @@ -1739,7 +1774,7 @@ jQuery.extend({ var dataType = type.dataType; var global = typeof type.global == "boolean" ? type.global : true; var timeout = typeof type.timeout == "number" ? type.timeout : jQuery.timeout; - var ifModified = type.ifModified || false; + ifModified = type.ifModified || false; data = type.data; url = type.url; type = type.type; @@ -1892,6 +1927,9 @@ jQuery.extend({ // Get the JavaScript object, if JSON is used. if ( type == "json" ) eval( "data = " + data ); + + // evaluate scripts within html + if ( type == "html" ) $("<div>").html(data).evalScripts(); return data; }, diff --git a/dist/javascript/jquery-1.0.3-forms.pack.js b/dist/javascript/jquery-1.0.3-forms.pack.js new file mode 100644 index 0000000000000000000000000000000000000000..4493cd132ea0d3914849bb350f3c832e57206e78 --- /dev/null +++ b/dist/javascript/jquery-1.0.3-forms.pack.js @@ -0,0 +1 @@ +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}('l(1V 1J.6=="Q"){1J.Q=1J.Q;u 6=q(a,c){l(a&&1V a=="q"&&6.C.1Y)v 6(15).1Y(a);a=a||6.1q||15;l(a.3B)v 6(6.21(a,[]));l(c&&c.3B)v 6(c).1W(a);l(1J==7)v 1g 6(a,c);l(a.N==1C){u m=/^[^<]*(<.+>)[^>]*$/.3I(a);l(m)a=6.3i([m[1]])}7.1l(a.N==2s||a.D&&!a.1N&&a[0]!=Q&&a[0].1N?6.21(a,[]):6.1W(a,c));u C=1b[1b.D-1];l(C&&1V C=="q")7.U(C);v 7};l(1V $!="Q")6.4z$=$;u $=6;6.C=6.8y={3B:"1.0.3",5U:q(){v 7.D},1l:q(2g){l(2g&&2g.N==2s){7.D=0;[].1a.16(7,2g);v 7}E v 2g==Q?6.21(7,[]):7[2g]},U:q(C,1i){v 6.U(7,C,1i)},8z:q(18){u 2i=-1;7.U(q(i){l(7==18)2i=i});v 2i},1u:q(1O,P,B){v 1O.N!=1C||P!=Q?7.U(q(){l(P==Q)I(u G 1v 1O)6.1u(B?7.1e:7,G,1O[G]);E 6.1u(B?7.1e:7,1O,P)}):6[B||"1u"](7[0],1O)},1k:q(1O,P){v 7.1u(1O,P,"27")},2B:q(e){e=e||7;u t="";I(u j=0;j<e.D;j++){u r=e[j].2j;I(u i=0;i<r.D;i++)l(r[i].1N!=8)t+=r[i].1N!=1?r[i].3r:6.C.2B([r[i]])}v t},1Z:q(){u a=6.3i(1b);v 7.U(q(){u b=a[0].3n(Y);7.1h.31(b,7);25(b.2e)b=b.2e;b.4V(7)})},5v:q(){v 7.36(1b,Y,1,q(a){7.4V(a)})},5w:q(){v 7.36(1b,Y,-1,q(a){7.31(a,7.2e)})},5x:q(){v 7.36(1b,V,1,q(a){7.1h.31(a,7)})},5y:q(){v 7.36(1b,V,-1,q(a){7.1h.31(a,7.8A)})},3y:q(){v 7.1l(7.3R.8B())},1W:q(t){v 7.2n(6.2y(7,q(a){v 6.1W(t,a)}),1b)},4W:q(4T){v 7.2n(6.2y(7,q(a){v a.3n(4T!=Q?4T:Y)}),1b)},1d:q(t){v 7.2n(t.N==2s&&6.2y(7,q(a){I(u i=0;i<t.D;i++)l(6.1d(t[i],[a]).r.D)v a;v V})||t.N==8C&&(t?7.1l():[])||1V t=="q"&&6.34(7,t)||6.1d(t,7).r,1b)},2G:q(t){v 7.2n(t.N==1C?6.1d(t,7,V).r:6.34(7,q(a){v a!=t}),1b)},2t:q(t){v 7.2n(6.21(7,t.N==1C?6.1W(t):t.N==2s?t:[t]),1b)},4N:q(2z){v 2z?6.1d(2z,7).r.D>0:V},36:q(1i,28,3e,C){u 4W=7.5U()>1;u a=6.3i(1i);v 7.U(q(){u 18=7;l(28&&7.2C.2v()=="8D"&&a[0].2C.2v()!="8E"){u 2d=7.58("2d");l(!2d.D){18=15.54("2d");7.4V(18)}E 18=2d[0]}I(u i=(3e<0?a.D-1:0);i!=(3e<0?3e:a.D);i+=3e){C.16(18,[4W?a[i].3n(Y):a[i]])}})},2n:q(a,1i){u C=1i&&1i[1i.D-1];u 2m=1i&&1i[1i.D-2];l(C&&C.N!=1r)C=O;l(2m&&2m.N!=1r)2m=O;l(!C){l(!7.3R)7.3R=[];7.3R.1a(7.1l());7.1l(a)}E{u 22=7.1l();7.1l(a);l(2m&&a.D||!2m)7.U(2m||C).1l(22);E 7.1l(22).U(C)}v 7}};6.1D=6.C.1D=q(18,G){l(1b.D>1&&(G===O||G==Q))v 18;l(!G){G=18;18=7}I(u i 1v G)18[i]=G[i];v 18};6.1D({5N:q(){6.8F=Y;6.U(6.2u.5H,q(i,n){6.C[i]=q(a){u M=6.2y(7,n);l(a&&a.N==1C)M=6.1d(a,M).r;v 7.2n(M,1b)}});6.U(6.2u.2M,q(i,n){6.C[i]=q(){u a=1b;v 7.U(q(){I(u j=0;j<a.D;j++)6(a[j])[n](7)})}});6.U(6.2u.U,q(i,n){6.C[i]=q(){v 7.U(n,1b)}});6.U(6.2u.1d,q(i,n){6.C[n]=q(2g,C){v 7.1d(":"+n+"("+2g+")",C)}});6.U(6.2u.1u,q(i,n){n=n||i;6.C[i]=q(h){v h==Q?7.D?7[0][n]:O:7.1u(n,h)}});6.U(6.2u.1k,q(i,n){6.C[n]=q(h){v h==Q?(7.D?6.1k(7[0],n):O):7.1k(n,h)}})},U:q(18,C,1i){l(18.D==Q)I(u i 1v 18)C.16(18[i],1i||[i,18[i]]);E I(u i=0;i<18.D;i++)l(C.16(18[i],1i||[i,18[i]])===V)4w;v 18},1j:{2t:q(o,c){l(6.1j.3A(o,c))v;o.1j+=(o.1j?" ":"")+c},2a:q(o,c){l(!c){o.1j=""}E{u 2Y=o.1j.3s(" ");I(u i=0;i<2Y.D;i++){l(2Y[i]==c){2Y.8G(i,1);4w}}o.1j=2Y.5k(\' \')}},3A:q(e,a){l(e.1j!=Q)e=e.1j;v 1g 4g("(^|\\\\s)"+a+"(\\\\s|$)").24(e)}},47:q(e,o,f){I(u i 1v o){e.1e["22"+i]=e.1e[i];e.1e[i]=o[i]}f.16(e,[]);I(u i 1v o)e.1e[i]=e.1e["22"+i]},1k:q(e,p){l(p=="1F"||p=="2q"){u 22={},45,3Z,d=["7i","8H","8J","8K"];I(u i 1v d){22["6J"+d[i]]=0;22["8L"+d[i]+"8M"]=0}6.47(e,22,q(){l(6.1k(e,"1A")!="2b"){45=e.8N;3Z=e.8O}E{e=6(e.3n(Y)).1W(":3T").5J("2P").3y().1k({4a:"23",2U:"8P",1A:"3g",8Q:"0",5z:"0"}).5u(e.1h)[0];u 3h=6.1k(e.1h,"2U");l(3h==""||3h=="4Z")e.1h.1e.2U="8R";45=e.8S;3Z=e.8U;l(3h==""||3h=="4Z")e.1h.1e.2U="4Z";e.1h.3O(e)}});v p=="1F"?45:3Z}v 6.27(e,p)},27:q(H,G,50){u M;l(G==\'1n\'&&6.14.1s)v 6.1u(H.1e,\'1n\');l(G=="3o"||G=="2L")G=6.14.1s?"3H":"2L";l(!50&&H.1e[G]){M=H.1e[G]}E l(H.3S){u 51=G.1L(/\\-(\\w)/g,q(m,c){v c.2v()});M=H.3S[G]||H.3S[51]}E l(15.3X&&15.3X.4U){l(G=="2L"||G=="3H")G="3o";G=G.1L(/([A-Z])/g,"-$1").40();u 1o=15.3X.4U(H,O);l(1o)M=1o.6i(G);E l(G==\'1A\')M=\'2b\';E 6.47(H,{1A:\'3g\'},q(){M=15.3X.4U(7,O).6i(G)})}v M},3i:q(a){u r=[];I(u i=0;i<a.D;i++){u 1R=a[i];l(1R.N==1C){u s=6.2W(1R),29=15.54("29"),1Z=[0,"",""];l(!s.1c("<6t"))1Z=[1,"<2o>","</2o>"];E l(!s.1c("<6u")||!s.1c("<2d"))1Z=[1,"<28>","</28>"];E l(!s.1c("<48"))1Z=[2,"<28>","</28>"];E l(!s.1c("<6v")||!s.1c("<6w"))1Z=[3,"<28><2d><48>","</48></2d></28>"];29.2V=1Z[1]+s+1Z[2];25(1Z[0]--)29=29.2e;I(u j=0;j<29.2j.D;j++)r.1a(29.2j[j])}E l(1R.D!=Q&&!1R.1N)I(u n=0;n<1R.D;n++)r.1a(1R[n]);E r.1a(1R.1N?1R:15.6x(1R.6y()))}v r},2z:{"":"m[2]== \'*\'||a.2C.2v()==m[2].2v()","#":"a.3C(\'2X\')&&a.3C(\'2X\')==m[2]",":":{5C:"i<m[3]-0",5D:"i>m[3]-0",66:"m[3]-0==i",5B:"m[3]-0==i",2w:"i==0",1S:"i==r.D-1",5i:"i%2==0",5j:"i%2","66-3P":"6.1B(a,m[3]).1o","2w-3P":"6.1B(a,0).1o","1S-3P":"6.1B(a,0).1S","6B-3P":"6.1B(a).D==1",5I:"a.2j.D",5M:"!a.2j.D",5E:"6.C.2B.16([a]).1c(m[3])>=0",6C:"a.B!=\'23\'&&6.1k(a,\'1A\')!=\'2b\'&&6.1k(a,\'4a\')!=\'23\'",23:"a.B==\'23\'||6.1k(a,\'1A\')==\'2b\'||6.1k(a,\'4a\')==\'23\'",5q:"!a.2A",2A:"a.2A",2P:"a.2P",3t:"a.3t || 6.1u(a, \'3t\')",2B:"a.B==\'2B\'",3T:"a.B==\'3T\'",4P:"a.B==\'4P\'",4Q:"a.B==\'4Q\'",56:"a.B==\'56\'",2Q:"a.B==\'2Q\'",2R:"a.B==\'2R\'",3Q:"a.B==\'3Q\'",3f:"a.B==\'3f\'",3c:"a.2C.40().5b(/3c|2o|63|3f/)"},".":"6.1j.3A(a,m[2])","@":{"=":"z==m[4]","!=":"z!=m[4]","^=":"z && !z.1c(m[4])","$=":"z && z.2S(z.D - m[4].D,m[4].D)==m[4]","*=":"z && z.1c(m[4])>=0","":"z"},"[":"6.1W(m[2],a).D"},3M:["\\\\.\\\\.|/\\\\.\\\\.","a.1h",">|/","6.1B(a.2e)","\\\\+","6.1B(a).3x","~",q(a){u r=[];u s=6.1B(a);l(s.n>0)I(u i=s.n;i<s.D;i++)r.1a(s[i]);v r}],1W:q(t,1q){l(1q&&1q.1N==Q)1q=O;1q=1q||6.1q||15;l(t.N!=1C)v[t];l(!t.1c("//")){1q=1q.57;t=t.2S(2,t.D)}E l(!t.1c("/")){1q=1q.57;t=t.2S(1,t.D);l(t.1c("/")>=1)t=t.2S(t.1c("/"),t.D)}u M=[1q];u 1T=[];u 1S=O;25(t.D>0&&1S!=t){u r=[];1S=t;t=6.2W(t).1L(/^\\/\\//i,"");u 3l=V;I(u i=0;i<6.3M.D;i+=2){l(3l)5h;u 2H=1g 4g("^("+6.3M[i]+")");u m=2H.3I(t);l(m){r=M=6.2y(M,6.3M[i+1]);t=6.2W(t.1L(2H,""));3l=Y}}l(!3l){l(!t.1c(",")||!t.1c("|")){l(M[0]==1q)M.4H();1T=6.21(1T,M);r=M=[1q];t=" "+t.2S(1,t.D)}E{u 4c=/^([#.]?)([a-5f-9\\\\*4z-]*)/i;u m=4c.3I(t);l(m[1]=="#"){u 4K=15.5Z(m[2]);r=M=4K?[4K]:[];t=t.1L(4c,"")}E{l(!m[2]||m[1]==".")m[2]="*";I(u i=0;i<M.D;i++)r=6.21(r,m[2]=="*"?6.4E(M[i]):M[i].58(m[2]))}}}l(t){u 1H=6.1d(t,r);M=r=1H.r;t=6.2W(1H.t)}}l(M&&M[0]==1q)M.4H();1T=6.21(1T,M);v 1T},4E:q(o,r){r=r||[];u s=o.2j;I(u i=0;i<s.D;i++)l(s[i].1N==1){r.1a(s[i]);6.4E(s[i],r)}v r},1u:q(H,11,P){u 2k={"I":"6E","6F":"1j","3o":6.14.1s?"3H":"2L",2L:6.14.1s?"3H":"2L",2V:"2V",1j:"1j",P:"P",2A:"2A",2P:"2P",6G:"6H"};l(11=="1n"&&6.14.1s&&P!=Q){H[\'6I\']=1;l(P==1)v H["1d"]=H["1d"].1L(/3F\\([^\\)]*\\)/5P,"");E v H["1d"]=H["1d"].1L(/3F\\([^\\)]*\\)/5P,"")+"3F(1n="+P*5c+")"}E l(11=="1n"&&6.14.1s){v H["1d"]?4k(H["1d"].5b(/3F\\(1n=(.*)\\)/)[1])/5c:1}l(11=="1n"&&6.14.38&&P==1)P=0.6K;l(2k[11]){l(P!=Q)H[2k[11]]=P;v H[2k[11]]}E l(P==Q&&6.14.1s&&H.2C&&H.2C.2v()==\'6L\'&&(11==\'5l\'||11==\'5p\')){v H.4o(11).3r}E l(H.3C!=Q&&H.6o){l(P!=Q)H.6M(11,P);v H.3C(11)}E{11=11.1L(/-([a-z])/6N,q(z,b){v b.2v()});l(P!=Q)H[11]=P;v H[11]}},5d:["\\\\[ *(@)S *([!*$^=]*) *(\'?\\"?)(.*?)\\\\4 *\\\\]","(\\\\[)\\s*(.*?)\\s*\\\\]","(:)S\\\\(\\"?\'?([^\\\\)]*?)\\"?\'?\\\\)","([:.#]*)S"],1d:q(t,r,2G){u g=2G!==V?6.34:q(a,f){v 6.34(a,f,Y)};25(t&&/^[a-z[({<*:.#]/i.24(t)){u p=6.5d;I(u i=0;i<p.D;i++){u 2H=1g 4g("^"+p[i].1L("S","([a-z*4z-][a-5f-6Q-]*)"),"i");u m=2H.3I(t);l(m){l(!i)m=["",m[1],m[3],m[2],m[5]];t=t.1L(2H,"");4w}}l(m[1]==":"&&m[2]=="2G")r=6.1d(m[3],r,V).r;E{u f=6.2z[m[1]];l(f.N!=1C)f=6.2z[m[1]][m[2]];32("f = q(a,i){"+(m[1]=="@"?"z=6.1u(a,m[3]);":"")+"v "+f+"}");r=g(r,f)}}v{r:r,t:t}},2W:q(t){v t.1L(/^\\s+|\\s+$/g,"")},3j:q(H){u 4l=[];u 1o=H.1h;25(1o&&1o!=15){4l.1a(1o);1o=1o.1h}v 4l},1B:q(H,2i,2G){u 19=[];l(H){u 2h=H.1h.2j;I(u i=0;i<2h.D;i++){l(2G===Y&&2h[i]==H)5h;l(2h[i].1N==1)19.1a(2h[i]);l(2h[i]==H)19.n=19.D-1}}v 6.1D(19,{1S:19.n==19.D-1,1o:2i=="5i"&&19.n%2==0||2i=="5j"&&19.n%2||19[2i]==H,4t:19[19.n-1],3x:19[19.n+1]})},21:q(2w,3z){u 1I=[];I(u k=0;k<2w.D;k++)1I[k]=2w[k];I(u i=0;i<3z.D;i++){u 4m=Y;I(u j=0;j<2w.D;j++)l(3z[i]==2w[j])4m=V;l(4m)1I.1a(3z[i])}v 1I},34:q(19,C,4n){l(C.N==1C)C=1g 1r("a","i","v "+C);u 1I=[];I(u i=0;i<19.D;i++)l(!4n&&C(19[i],i)||4n&&!C(19[i],i))1I.1a(19[i]);v 1I},2y:q(19,C){l(C.N==1C)C=1g 1r("a","v "+C);u 1I=[];I(u i=0;i<19.D;i++){u 1H=C(19[i],i);l(1H!==O&&1H!=Q){l(1H.N!=2s)1H=[1H];1I=6.21(1I,1H)}}v 1I},L:{2t:q(T,B,1G){l(6.14.1s&&T.4h!=Q)T=1J;l(!1G.2D)1G.2D=7.2D++;l(!T.1E)T.1E={};u 33=T.1E[B];l(!33){33=T.1E[B]={};l(T["37"+B])33[0]=T["37"+B]}33[1G.2D]=1G;T["37"+B]=7.5V;l(!7.1f[B])7.1f[B]=[];7.1f[B].1a(T)},2D:1,1f:{},2a:q(T,B,1G){l(T.1E)l(B&&T.1E[B])l(1G)5L T.1E[B][1G.2D];E I(u i 1v T.1E[B])5L T.1E[B][i];E I(u j 1v T.1E)7.2a(T,j)},1P:q(B,K,T){K=K||[];l(!T){u g=7.1f[B];l(g)I(u i=0;i<g.D;i++)7.1P(B,K,g[i])}E l(T["37"+B]){K.5r(7.2k({B:B,1w:T}));T["37"+B].16(T,K)}},5V:q(L){l(1V 6=="Q")v V;L=L||6.L.2k(1J.L);l(!L)v V;u 3u=Y;u c=7.1E[L.B];u 1i=[].6W.4b(1b,1);1i.5r(L);I(u j 1v c){l(c[j].16(7,1i)===V){L.4y();L.5G();3u=V}}v 3u},2k:q(L){l(6.14.1s){L=1J.L;L.1w=L.7e}E l(6.14.35&&L.1w.1N==3){L=6.1D({},L);L.1w=L.1w.1h}L.4y=q(){7.3u=V};L.5G=q(){7.70=Y};v L}}});1g q(){u b=5n.5o.40();6.14={35:/5t/.24(b),39:/39/.24(b),1s:/1s/.24(b)&&!/39/.24(b),38:/38/.24(b)&&!/(71|5t)/.24(b)};6.72=!6.14.1s||15.73=="75"};6.2u={2M:{5u:"5v",77:"5w",31:"5x",79:"5y"},1k:"2q,1F,7b,5z,2U,3o,3U,7f,7g".3s(","),1d:["5B","5C","5D","5E"],1u:{1H:"P",3m:"2V",2X:O,7j:O,11:O,7l:O,3q:O,7m:O},5H:{5I:"a.1h",7p:6.3j,3j:6.3j,3x:"6.1B(a).3x",4t:"6.1B(a).4t",2h:"6.1B(a, O, Y)",7s:"6.1B(a.2e)"},U:{5J:q(1O){7.7u(1O)},1K:q(){7.1e.1A=7.2F?7.2F:"";l(6.1k(7,"1A")=="2b")7.1e.1A="3g"},1x:q(){7.2F=7.2F||6.1k(7,"1A");l(7.2F=="2b")7.2F="3g";7.1e.1A="2b"},4v:q(){6(7)[6(7).4N(":23")?"1K":"1x"].16(6(7),1b)},7w:q(c){6.1j.2t(7,c)},7y:q(c){6.1j.2a(7,c)},7z:q(c){6.1j[6.1j.3A(7,c)?"2a":"2t"](7,c)},2a:q(a){l(!a||6.1d(a,[7]).r)7.1h.3O(7)},5M:q(){25(7.2e)7.3O(7.2e)},2Z:q(B,C){l(C.N==1C)C=1g 1r("e",(!C.1c(".")?"6(7)":"v ")+C);6.L.2t(7,B,C)},4F:q(B,C){6.L.2a(7,B,C)},1P:q(B,K){6.L.1P(B,K,7)}}};6.5N();6.C.1D({5O:6.C.4v,4v:q(a,b){v a&&b&&a.N==1r&&b.N==1r?7.4s(q(e){7.1S=7.1S==a?b:a;e.4y();v 7.1S.16(7,[e])||V}):7.5O.16(7,1b)},7K:q(f,g){q 4A(e){u p=(e.B=="3G"?e.7L:e.7N)||e.7O;25(p&&p!=7)42{p=p.1h}41(e){p=7};l(p==7)v V;v(e.B=="3G"?f:g).16(7,[e])}v 7.3G(4A).5R(4A)},1Y:q(f){l(6.3D)f.16(15);E{6.2N.1a(f)}v 7}});6.1D({3D:V,2N:[],1Y:q(){l(!6.3D){6.3D=Y;l(6.2N){I(u i=0;i<6.2N.D;i++)6.2N[i].16(15);6.2N=O}l(6.14.38||6.14.39)15.7S("5W",6.1Y,V)}}});1g q(){u e=("7T,7V,2f,7W,7X,4J,4s,7Y,"+"80,81,83,3G,5R,84,3Q,2o,"+"2Q,86,87,88,2r").3s(",");I(u i=0;i<e.D;i++)1g q(){u o=e[i];6.C[o]=q(f){v f?7.2Z(o,f):7.1P(o)};6.C["89"+o]=q(f){v 7.4F(o,f)};6.C["8a"+o]=q(f){u T=6(7);u 1G=q(){T.4F(o,1G);T=O;f.16(7,1b)};v 7.2Z(o,1G)}};l(6.14.38||6.14.39){15.8b("5W",6.1Y,V)}E l(6.14.1s){15.8c("<8d"+"8e 2X=60 8g=Y "+"3q=//:><\\/2c>");u 2c=15.5Z("60");2c.2O=q(){l(7.3Y!="1z")v;7.1h.3O(7);6.1Y()};2c=O}E l(6.14.35){6.4I=4h(q(){l(15.3Y=="8h"||15.3Y=="1z"){55(6.4I);6.4I=O;6.1Y()}},10)}6.L.2t(1J,"2f",6.1Y)};l(6.14.1s)6(1J).4J(q(){u L=6.L,1f=L.1f;I(u B 1v 1f){u 4L=1f[B],i=4L.D;l(i>0)8i l(B!=\'4J\')L.2a(4L[i-1],B);25(--i)}});6.C.1D({64:6.C.1K,1K:q(17,F){v 17?7.20({1F:"1K",2q:"1K",1n:"1K"},17,F):7.64()},65:6.C.1x,1x:q(17,F){v 17?7.20({1F:"1x",2q:"1x",1n:"1x"},17,F):7.65()},8l:q(17,F){v 7.20({1F:"1K"},17,F)},8m:q(17,F){v 7.20({1F:"1x"},17,F)},8n:q(17,F){v 7.U(q(){u 67=6(7).4N(":23")?"1K":"1x";6(7).20({1F:67},17,F)})},8o:q(17,F){v 7.20({1n:"1K"},17,F)},8p:q(17,F){v 7.20({1n:"1x"},17,F)},8r:q(17,2M,F){v 7.20({1n:2M},17,F)},20:q(G,17,F){v 7.1y(q(){7.3a=6.1D({},G);I(u p 1v G){u e=1g 6.3d(7,6.17(17,F),p);l(G[p].N==6e)e.44(e.1o(),G[p]);E e[G[p]](G)}})},1y:q(B,C){l(!C){C=B;B="3d"}v 7.U(q(){l(!7.1y)7.1y={};l(!7.1y[B])7.1y[B]=[];7.1y[B].1a(C);l(7.1y[B].D==1)C.16(7)})}});6.1D({5a:q(e,p){l(e.6c)v;l(p=="1F"&&e.68!=3v(6.27(e,p)))v;l(p=="2q"&&e.69!=3v(6.27(e,p)))v;u a=e.1e[p];u o=6.27(e,p,1);l(p=="1F"&&e.68!=o||p=="2q"&&e.69!=o)v;e.1e[p]=e.3S?"":"6b";u n=6.27(e,p,1);l(o!=n&&n!="6b"){e.1e[p]=a;e.6c=Y}},17:q(s,o){o=o||{};l(o.N==1r)o={1z:o};u 6f={8u:8v,8w:6d};o.3b=(s&&s.N==6e?s:6f[s])||6j;o.3W=o.1z;o.1z=q(){6.6g(7,"3d");l(o.3W&&o.3W.N==1r)o.3W.16(7)};v o},1y:{},6g:q(H,B){B=B||"3d";l(H.1y&&H.1y[B]){H.1y[B].4H();u f=H.1y[B][0];l(f)f.16(H)}},3d:q(H,2x,G){u z=7;z.o={3b:2x.3b||6j,1z:2x.1z,2K:2x.2K};z.12=H;u y=z.12.1e;z.a=q(){l(2x.2K)2x.2K.16(H,[z.2p]);l(G=="1n")6.1u(y,"1n",z.2p);E l(3v(z.2p))y[G]=3v(z.2p)+"59";y.1A="3g"};z.6p=q(){v 4k(6.1k(z.12,G))};z.1o=q(){u r=4k(6.27(z.12,G));v r&&r>-8I?r:z.6p()};z.44=q(46,2M){z.4B=(1g 52()).53();z.2p=46;z.a();z.4R=4h(q(){z.2K(46,2M)},13)};z.1K=q(){l(!z.12.1M)z.12.1M={};z.12.1M[G]=7.1o();z.44(0,z.12.1M[G]);l(G!="1n")y[G]="8T"};z.1x=q(){l(!z.12.1M)z.12.1M={};z.12.1M[G]=7.1o();z.o.1x=Y;z.44(z.12.1M[G],0)};l(!z.12.49)z.12.49=6.1k(z.12,"3U");y.3U="23";z.2K=q(4j,4i){u t=(1g 52()).53();l(t>z.o.3b+z.4B){55(z.4R);z.4R=O;z.2p=4i;z.a();z.12.3a[G]=Y;u 1T=Y;I(u i 1v z.12.3a)l(z.12.3a[i]!==Y)1T=V;l(1T){y.3U=z.12.49;l(z.o.1x)y.1A=\'2b\';l(z.o.1x){I(u p 1v z.12.3a){l(p=="1n")6.1u(y,p,z.12.1M[p]);E y[p]=z.12.1M[p]+"59";l(p==\'1F\'||p==\'2q\')6.5a(z.12,p)}}}l(1T&&z.o.1z&&z.o.1z.N==1r)z.o.1z.16(z.12)}E{u p=(t-7.4B)/z.o.3b;z.2p=((-5e.6O(p*5e.6P)/2)+0.5)*(4i-4j)+4j;z.a()}}}});6.C.1D({6R:q(J,1p,F){7.2f(J,1p,F,1)},2f:q(J,1p,F,1m){l(J.N==1r)v 7.2Z("2f",J);F=F||q(){};u B="4r";l(1p){l(1p.N==1r){F=1p;1p=O}E{1p=6.2l(1p);B="4p"}}u 4u=7;6.1X(B,J,1p,q(1U,W){l(W=="2E"||!1m&&W=="5S"){4u.3m(1U.2T).4e().U(F,[1U.2T,W])}E F.16(4u,[1U.2T,W])},1m);v 7},3N:q(){v 6.2l(7)},4e:q(){v 7.1W(\'2c\').U(q(){l(7.3q)6.5m(7.3q,q(){});E 32.4b(1J,7.2B||7.6T||7.2V||"")}).3y()}});l(6.14.1s&&1V 3E=="Q")3E=q(){v 1g 6U(5n.5o.1c("6X 5")>=0?"6Y.5s":"6Z.5s")};1g q(){u e="5F,62,61,5Y,5X".3s(",");I(u i=0;i<e.D;i++)1g q(){u o=e[i];6.C[o]=q(f){v 7.2Z(o,f)}}};6.1D({1l:q(J,K,F,B,1m){l(K&&K.N==1r){B=F;F=K;K=O}l(K)J+=((J.1c("?")>-1)?"&":"?")+6.2l(K);6.1X("4r",J,O,q(r,W){l(F)F(6.43(r,B),W)},1m)},76:q(J,K,F,B){6.1l(J,K,F,B,1)},5m:q(J,F){l(F)6.1l(J,O,F,"2c");E{6.1l(J,O,O,"2c")}},78:q(J,K,F){l(F)6.1l(J,K,F,"4d");E{6.1l(J,K,"4d")}},7a:q(J,K,F,B){6.1X("4p",J,6.2l(K),q(r,W){l(F)F(6.43(r,B),W)})},1t:0,7c:q(1t){6.1t=1t},3p:{},1X:q(B,J,K,M,1m){u 1f=Y;u 1t=6.1t;l(!J){M=B.1z;u 2E=B.2E;u 2r=B.2r;u 4G=B.4G;u 1f=1V B.1f=="7d"?B.1f:Y;u 1t=1V B.1t=="7h"?B.1t:6.1t;1m=B.1m||V;K=B.K;J=B.J;B=B.B}l(1f&&!6.4O++)6.L.1P("5F");u 4M=V;u R=1g 3E();R.7k(B||"4r",J,Y);l(K)R.3L("7o-7q","7r/x-7t-1Q-7v");l(1m)R.3L("7x-4X-7A",6.3p[J]||"7C, 7D 7F 7G 4x:4x:4x 7I");R.3L("X-7P-7Q","3E");l(R.7U)R.3L("7Z","82");u 2O=q(4C){l(R&&(R.3Y==4||4C=="1t")){4M=Y;u W=6.6a(R)&&4C!="1t"?1m&&6.6h(R,J)?"5S":"2E":"2r";l(W!="2r"){u 3J;42{3J=R.4Y("6k-4X")}41(e){}l(1m&&3J)6.3p[J]=3J;l(2E)2E(6.43(R,4G),W);l(1f)6.L.1P("5X")}E{l(2r)2r(R,W);l(1f)6.L.1P("5Y")}l(1f)6.L.1P("61");l(1f&&!--6.4O)6.L.1P("62");l(M)M(R,W);R.2O=q(){};R=O}};R.2O=2O;l(1t>0)8j(q(){l(R){R.8k();l(!4M)2O("1t");R=O}},1t);R.8q(K)},4O:0,6a:q(r){42{v!r.W&&8s.8t=="4Q:"||(r.W>=6d&&r.W<8x)||r.W==6l||6.14.35&&r.W==Q}41(e){}v V},6h:q(R,J){42{u 6n=R.4Y("6k-4X");v R.W==6l||6n==6.3p[J]||6.14.35&&R.W==Q}41(e){}v V},43:q(r,B){u 4S=r.4Y("6s-B");u K=!B&&4S&&4S.1c("R")>=0;K=B=="R"||K?r.6z:r.2T;l(B=="2c")32.4b(1J,K);l(B=="4d")32("K = "+K);l(B=="3m")$("<29>").3m(K).4e();v K},2l:q(a){u s=[];l(a.N==2s||a.3B){I(u i=0;i<a.D;i++)s.1a(a[i].11+"="+5g(a[i].P))}E{I(u j 1v a)s.1a(j+"="+5g(a[j]))}v s.5k("&")}})}$.C.5Q=q(1w,3K,2I,J,30){l(!7.26)7.3N();l(2I&&2I.N==1r&&2I(7.26)===V)v;u f=7.1l(0);u J=J||f.4o(\'5l\').3r||\'\';u 30=30||f.4o(\'5p\').3r||\'4p\';l(1w&&1w.N==1r)$.1X(30,J,$.2l(7.26),1w);E l(1w&&1w.N==1C)$(1w).2f(J,7.26,3K);E{7.26.1a({11:\'74\',P:1});$.1X(30,J,$.2l(7.26),q(r){32(r.2T)})}v 7};$.C.7n=q(1w,3K,2I){v 7.U(q(){$("3c[@B=2Q],3c[@B=2R]",7).4s(q(2J){7.1Q.6m=7;l(2J.5K!=Q){7.1Q.3k=2J.5K;7.1Q.4f=2J.7B}E{7.1Q.3k=2J.7E-7.7H;7.1Q.4f=2J.7M-7.7R}})}).2Q(q(e){$(7).5Q(1w,3K,2I);v V})};$.C.8f=q(){7.3N();v 7.26};$.C.3N=q(){u a=[];$(\'3c,63,2o,3f\',7).U(q(){u n=7.11||7.2X;u t=7.B;l(!n||7.2A||t==\'3Q\'||(t==\'4P\'||t==\'3T\')&&!7.2P||(t==\'2Q\'||t==\'2R\'||t==\'3f\')&&7.1Q.6m!=7||7.6o.40()==\'2o\'&&7.8V==-1)v;l(t==\'2R\'&&7.1Q.3k)v a.1a({11:n+\'6A\',P:7.1Q.3k},{11:n+\'6D\',P:7.1Q.4f});l(t==\'2o-6S\'){$(\'6V:5q\',7).U(q(){l(7.3t)a.1a({11:n,P:7.P})});v}a.1a({11:n,P:7.P})}).3y();7.26=a;v 7};u 3V=1g 2s();q 85(f){3V.1a(f)};q 3w(6q){I(u i=0;i<3V.D;i++)3V[i].16(6q)};6.C.4D=6.C.2f;6.C.2f=q(J,1p,F,1m){F=F||q(){};l(1p){l(1p.N==1r){F=1p;1p=O}}u 5A=q(1U,W){3w(7);F(1U,W)};v 7.4D(J,1p,5A,1m)};6.4q=6.1X;6.1X=q(B,J,K,M,1m){l(6.1X.7J==6.C.4D)v 6.4q(B,J,K,M,1m);l(!J){u 6r=B.1z||q(){};B.1z=q(1U,W){3w(15);6r(1U,W)}}E{u 5T=M||q(){};M=q(1U,W){3w(15);5T(1U,W)}}6.4q(B,J,K,M,1m)};',62,554,'||||||jQuery|this||||||||||||||if|||||function||||var|return||||||type|fn|length|else|callback|prop|elem|for|url|data|event|ret|constructor|null|value|undefined|xml||element|each|false|status||true|||name|el||browser|document|apply|speed|obj|elems|push|arguments|indexOf|filter|style|global|new|parentNode|args|className|css|get|ifModified|opacity|cur|params|context|Function|msie|timeout|attr|in|target|hide|queue|complete|display|sibling|String|extend|events|height|handler|val|result|window|show|replace|orig|nodeType|key|trigger|form|arg|last|done|res|typeof|find|ajax|ready|wrap|animate|merge|old|hidden|test|while|vars|curCSS|table|div|remove|none|script|tbody|firstChild|load|num|siblings|pos|childNodes|fix|param|fn2|pushStack|select|now|width|error|Array|add|macros|toUpperCase|first|options|map|expr|disabled|text|nodeName|guid|success|oldblock|not|re|pre_cb|ev|step|cssFloat|to|readyList|onreadystatechange|checked|submit|image|substr|responseText|position|innerHTML|trim|id|classes|bind|mth|insertBefore|eval|handlers|grep|safari|domManip|on|mozilla|opera|curAnim|duration|input|fx|dir|button|block|parPos|clean|parents|clicked_x|foundToken|html|cloneNode|float|lastModified|src|nodeValue|split|selected|returnValue|parseInt|triggerAjaxLoad|next|end|second|has|jquery|getAttribute|isReady|XMLHttpRequest|alpha|mouseover|styleFloat|exec|modRes|post_cb|setRequestHeader|token|serialize|removeChild|child|reset|stack|currentStyle|radio|overflow|load_handlers|oldComplete|defaultView|readyState|oWidth|toLowerCase|catch|try|httpData|custom|oHeight|from|swap|tr|oldOverflow|visibility|call|re2|json|evalScripts|clicked_y|RegExp|setInterval|lastNum|firstNum|parseFloat|matched|noCollision|inv|getAttributeNode|POST|_ajax|GET|click|prev|self|toggle|break|00|preventDefault|_|handleHover|startTime|istimeout|_load|getAll|unbind|dataType|shift|safariTimer|unload|oid|els|requestDone|is|active|checkbox|file|timer|ct|deep|getComputedStyle|appendChild|clone|Modified|getResponseHeader|static|force|newProp|Date|getTime|createElement|clearInterval|password|documentElement|getElementsByTagName|px|setAuto|match|100|parse|Math|z0|encodeURIComponent|continue|even|odd|join|action|getScript|navigator|userAgent|method|enabled|unshift|XMLHTTP|webkit|appendTo|append|prepend|before|after|left|callback2|eq|lt|gt|contains|ajaxStart|stopPropagation|axis|parent|removeAttr|offsetX|delete|empty|init|_toggle|gi|ajaxSubmit|mouseout|notmodified|orig_ret|size|handle|DOMContentLoaded|ajaxSuccess|ajaxError|getElementById|__ie_init|ajaxComplete|ajaxStop|textarea|_show|_hide|nth|state|scrollHeight|scrollWidth|httpSuccess|auto|notAuto|200|Number|ss|dequeue|httpNotModified|getPropertyValue|400|Last|304|clicked|xmlRes|tagName|max|root|orig_complete|content|opt|thead|td|th|createTextNode|toString|responseXML|_x|only|visible|_y|htmlFor|class|readonly|readOnly|zoom|padding|9999|FORM|setAttribute|ig|cos|PI|9_|loadIfModified|multiple|textContent|ActiveXObject|option|slice|MSIE|Microsoft|Msxml2|cancelBubble|compatible|boxModel|compatMode|evaljs|CSS1Compat|getIfModified|prependTo|getJSON|insertAfter|post|top|ajaxTimeout|boolean|srcElement|color|background|number|Top|title|open|href|rel|ajaxForm|Content|ancestors|Type|application|children|www|removeAttribute|urlencoded|addClass|If|removeClass|toggleClass|Since|offsetY|Thu|01|pageX|Jan|1970|offsetLeft|GMT|caller|hover|fromElement|pageY|toElement|relatedTarget|Requested|With|offsetTop|removeEventListener|blur|overrideMimeType|focus|resize|scroll|dblclick|Connection|mousedown|mouseup|close|mousemove|change|onAjaxLoad|keydown|keypress|keyup|un|one|addEventListener|write|scr|ipt|formdata|defer|loaded|do|setTimeout|abort|slideDown|slideUp|slideToggle|fadeIn|fadeOut|send|fadeTo|location|protocol|slow|600|fast|300|prototype|index|nextSibling|pop|Boolean|TABLE|THEAD|initDone|splice|Bottom|10000|Right|Left|border|Width|offsetHeight|offsetWidth|absolute|right|relative|clientHeight|1px|clientWidth|selectedIndex'.split('|'),0,{})) diff --git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php index ef720bf2dc9fdcf9d27919a031937b07019b81be..b026b61361ac170d35577f44d502866b304dc951 100644 --- a/ecrire/inc/filtres.php +++ b/ecrire/inc/filtres.php @@ -1756,9 +1756,9 @@ function env_to_attributs ($texte){ function f_jQuery ($texte) { if (!_request('jquery_debug') AND _DIR_RESTREINT) - $js = "<script src=\""._DIR_JAVASCRIPT."jquery-1.0.2-forms.pack.js\" type=\"text/javascript\"></script>\n"; + $js = "<script src=\""._DIR_JAVASCRIPT."jquery-1.0.3-forms.pack.js\" type=\"text/javascript\"></script>\n"; else - $js = "<script src=\""._DIR_JAVASCRIPT."jquery-1.0.2-forms.js\" type=\"text/javascript\"></script>\n"; + $js = "<script src=\""._DIR_JAVASCRIPT."jquery-1.0.3-forms.js\" type=\"text/javascript\"></script>\n"; return $js.$texte; } @@ -1771,4 +1771,4 @@ function concat(){ return join('', $args); } -?> \ No newline at end of file +?>