jquery.qrcode.min.js 11 KB

1
  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}('(z(r){r.3R.3Q=z(h){x s;z u(a){v.1e=s;v.1Y=a}z o(a,c){v.O=a;v.1x=c;v.C=X;v.F=0;v.1w=X;v.1B=[]}z q(a,c){G(3h 0==a.A)R S(a.A+"/"+c);w(x d=0;d<a.A&&0==a[d];)d++;v.1V=N(a.A-d+c);w(x b=0;b<a.A-d;b++)v.1V[b]=a[b+d]}z p(a,c){v.2j=a;v.1H=c}z t(){v.1r=[];v.A=0}u.1E={J:z(){y v.1Y.A},2x:z(a){w(x c=0;c<v.1Y.A;c++)a.Y(v.1Y.3S(c),8)}};o.1E={2u:z(a){v.1B.2E(P u(a));v.1w=X},D:z(a,c){G(0>a||v.F<=a||0>c||v.F<=c)R S(a+","+c);y v.C[a][c]},T:z(){y v.F},1L:z(){G(1>v.O){w(x a=1,a=1;40>a;a++){w(x c=p.2s(a,v.1x),d=P t,b=0,e=0;e<c.A;e++)b+=c[e].1H;w(e=0;e<v.1B.A;e++)c=v.1B[e],d.Y(c.1e,4),d.Y(c.J(),j.Q(c.1e,a)),c.2x(d);G(d.Q()<=8*b)2A}v.O=a}v.2z(!1,v.2P())},2z:z(a,c){v.F=4*v.O+17;v.C=N(v.F);w(x d=0;d<v.F;d++){v.C[d]=N(v.F);w(x b=0;b<v.F;b++)v.C[d][b]=X}v.1U(0,0);v.1U(v.F-7,0);v.1U(0,v.F-7);v.2Y();v.2J();v.3r(a,c);7<=v.O&&v.3c(a);X==v.1w&&(v.1w=o.3C(v.O,v.1x,v.1B));v.3s(v.1w,c)},1U:z(a,c){w(x d=-1;7>=d;d++)G(!(-1>=a+d||v.F<=a+d))w(x b=-1;7>=b;b++)-1>=c+b||v.F<=c+b||(v.C[a+d][c+b]=0<=d&&6>=d&&(0==b||6==b)||0<=b&&6>=b&&(0==d||6==d)||2<=d&&4>=d&&2<=b&&4>=b?!0:!1)},2P:z(){w(x a=0,c=0,d=0;8>d;d++){v.2z(!0,d);x b=j.3a(v);G(0==d||a>b)a=b,c=d}y c},3T:z(a,c,d){a=a.3U(c,d);v.1L();w(c=0;c<v.C.A;c++)w(x d=1*c,b=0;b<v.C[c].A;b++){x e=1*b;v.C[c][b]&&(a.3P(0,2p),a.3O(e,d),a.2y(e+1,d),a.2y(e+1,d+1),a.2y(e,d+1),a.3K())}y a},2J:z(){w(x a=8;a<v.F-8;a++)X==v.C[a][6]&&(v.C[a][6]=0==a%2);w(a=8;a<v.F-8;a++)X==v.C[6][a]&&(v.C[6][a]=0==a%2)},2Y:z(){w(x a=j.2K(v.O),c=0;c<a.A;c++)w(x d=0;d<a.A;d++){x b=a[c],e=a[d];G(X==v.C[b][e])w(x f=-2;2>=f;f++)w(x i=-2;2>=i;i++)v.C[b+f][e+i]=-2==f||2==f||-2==i||2==i||0==f&&0==i?!0:!1}},3c:z(a){w(x c=j.2I(v.O),d=0;18>d;d++){x b=!a&&1==(c>>d&1);v.C[K.1b(d/3)][d%3+v.F-8-3]=b}w(d=0;18>d;d++)b=!a&&1==(c>>d&1),v.C[d%3+v.F-8-3][K.1b(d/3)]=b},3r:z(a,c){w(x d=j.3u(v.1x<<3|c),b=0;15>b;b++){x e=!a&&1==(d>>b&1);6>b?v.C[b][8]=e:8>b?v.C[b+1][8]=e:v.C[v.F-15+b][8]=e}w(b=0;15>b;b++)e=!a&&1==(d>>b&1),8>b?v.C[8][v.F-b-1]=e:9>b?v.C[8][15-b-1+1]=e:v.C[8][15-b-1]=e;v.C[v.F-8][8]=!a},3s:z(a,c){w(x d=-1,b=v.F-1,e=7,f=0,i=v.F-1;0<i;i-=2)w(6==i&&i--;){w(x g=0;2>g;g++)G(X==v.C[b][i-g]){x n=!1;f<a.A&&(n=1==(a[f]>>>e&1));j.2F(c,b,i-g)&&(n=!n);v.C[b][i-g]=n;e--;-1==e&&(f++,e=7)}b+=d;G(0>b||v.F<=b){b-=d;d=-d;2A}}}};o.3g=3J;o.3j=17;o.3C=z(a,c,d){w(x c=p.2s(a,c),b=P t,e=0;e<d.A;e++){x f=d[e];b.Y(f.1e,4);b.Y(f.J(),j.Q(f.1e,a));f.2x(b)}w(e=a=0;e<c.A;e++)a+=c[e].1H;G(b.Q()>8*a)R S("3L A 3M. ("+b.Q()+">"+8*a+")");w(b.Q()+4<=8*a&&b.Y(0,4);0!=b.Q()%8;)b.2D(!1);w(;!(b.Q()>=8*a);){b.Y(o.3g,8);G(b.Q()>=8*a)2A;b.Y(o.3j,8)}y o.3o(b,c)};o.3o=z(a,c){w(x d=0,b=0,e=0,f=N(c.A),i=N(c.A),g=0;g<c.A;g++){x n=c[g].1H,h=c[g].2j-n,b=K.3m(b,n),e=K.3m(e,h);f[g]=N(n);w(x k=0;k<f[g].A;k++)f[g][k]=1Q&a.1r[k+d];d+=n;k=j.2X(h);n=(P q(f[g],k.J()-1)).2q(k);i[g]=N(k.J()-1);w(k=0;k<i[g].A;k++)h=k+n.J()-i[g].A,i[g][k]=0<=h?n.1a(h):0}w(k=g=0;k<c.A;k++)g+=c[k].2j;d=N(g);w(k=n=0;k<b;k++)w(g=0;g<c.A;g++)k<f[g].A&&(d[n++]=f[g][k]);w(k=0;k<e;k++)w(g=0;g<c.A;g++)k<i[g].A&&(d[n++]=i[g][k]);y d};s=4;w(x j={2H:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,M],[6,30,B],[6,32,W],[6,34,1N],[6,26,46,2L],[6,26,48,1t],[6,26,M,I],[6,30,B,1u],[6,30,3e,2n],[6,30,W,1k],[6,34,1N,2k],[6,28,M,3N,3V],[6,26,M,I,1I],[6,30,B,1u,1J],[6,28,B,1F,2i],[6,32,W,3z,1S],[6,30,W,1k,1z],[6,34,1N,2k,1v],[6,26,M,I,1I,1c],[6,30,B,1u,1J,3f],[6,26,3W,1u,4e,4f],[6,30,3e,2n,1P,3q],[6,34,2C,1k,2T,3B],[6,30,W,1k,1z,1X],[6,34,1N,2k,1v,1i],[6,30,B,1u,1J,3f,3l],[6,24,M,1f,1J,3D,4g],[6,28,B,1F,2i,3y,4h],[6,32,W,3z,1S,2m,3I],[6,26,B,2n,1S,3B,4d],[6,30,W,1k,1z,1X,4c]],2e:3Y,2c:3X,2M:3Z,3u:z(a){w(x c=a<<10;0<=j.U(c)-j.U(j.2e);)c^=j.2e<<j.U(c)-j.U(j.2e);y(a<<10|c)^j.2M},2I:z(a){w(x c=a<<12;0<=j.U(c)-j.U(j.2c);)c^=j.2c<<j.U(c)-j.U(j.2c);y a<<12|c},U:z(a){w(x c=0;0!=a;)c++,a>>>=1;y c},2K:z(a){y j.2H[a-1]},2F:z(a,c,d){1D(a){E 0:y 0==(c+d)%2;E 1:y 0==c%2;E 2:y 0==d%3;E 3:y 0==(c+d)%3;E 4:y 0==(K.1b(c/2)+K.1b(d/3))%2;E 5:y 0==c*d%2+c*d%3;E 6:y 0==(c*d%2+c*d%3)%2;E 7:y 0==(c*d%3+(c+d)%2)%2;2a:R S("3p 4a:"+a)}},2X:z(a){w(x c=P q([1],0),d=0;d<a;d++)c=c.2R(P q([1,l.1R(d)],0));y c},Q:z(a,c){G(1<=c&&10>c)1D(a){E 1:y 10;E 2:y 9;E s:y 8;E 8:y 8;2a:R S("1e:"+a)}2f G(27>c)1D(a){E 1:y 12;E 2:y 11;E s:y 16;E 8:y 10;2a:R S("1e:"+a)}2f G(41>c)1D(a){E 1:y 14;E 2:y 13;E s:y 16;E 8:y 12;2a:R S("1e:"+a)}2f R S("4b:"+c)},3a:z(a){w(x c=a.T(),d=0,b=0;b<c;b++)w(x e=0;e<c;e++){w(x f=0,i=a.D(b,e),g=-1;1>=g;g++)G(!(0>b+g||c<=b+g))w(x h=-1;1>=h;h++)0>e+h||c<=e+h||0==g&&0==h||i==a.D(b+g,e+h)&&f++;5<f&&(d+=3+f-5)}w(b=0;b<c-1;b++)w(e=0;e<c-1;e++)G(f=0,a.D(b,e)&&f++,a.D(b+1,e)&&f++,a.D(b,e+1)&&f++,a.D(b+1,e+1)&&f++,0==f||4==f)d+=3;w(b=0;b<c;b++)w(e=0;e<c-6;e++)a.D(b,e)&&!a.D(b,e+1)&&a.D(b,e+2)&&a.D(b,e+3)&&a.D(b,e+4)&&!a.D(b,e+5)&&a.D(b,e+6)&&(d+=40);w(e=0;e<c;e++)w(b=0;b<c-6;b++)a.D(b,e)&&!a.D(b+1,e)&&a.D(b+2,e)&&a.D(b+3,e)&&a.D(b+4,e)&&!a.D(b+5,e)&&a.D(b+6,e)&&(d+=40);w(e=f=0;e<c;e++)w(b=0;b<c;b++)a.D(b,e)&&f++;a=K.4i(2p*f/c/c-M)/5;y d+10*a}},l={1j:z(a){G(1>a)R S("1j("+a+")");y l.2l[a]},1R:z(a){w(;0>a;)a+=1Q;w(;1p<=a;)a-=1Q;y l.V[a]},V:N(1p),2l:N(1p)},m=0;8>m;m++)l.V[m]=1<<m;w(m=8;1p>m;m++)l.V[m]=l.V[m-4]^l.V[m-5]^l.V[m-6]^l.V[m-8];w(m=0;1Q>m;m++)l.2l[l.V[m]]=m;q.1E={1a:z(a){y v.1V[a]},J:z(){y v.1V.A},2R:z(a){w(x c=N(v.J()+a.J()-1),d=0;d<v.J();d++)w(x b=0;b<a.J();b++)c[d+b]^=l.1R(l.1j(v.1a(d))+l.1j(a.1a(b)));y P q(c,0)},2q:z(a){G(0>v.J()-a.J())y v;w(x c=l.1j(v.1a(0))-l.1j(a.1a(0)),d=N(v.J()),b=0;b<v.J();b++)d[b]=v.1a(b);w(b=0;b<a.J();b++)d[b]^=l.1R(l.1j(a.1a(b))+c);y(P q(d,0)).2q(a)}};p.1y=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,1t,H],[1,1t,44],[2,35,17],[2,35,13],[1,2p,1F],[2,M,32],[2,M,24],[4,25,9],[1,3q,1P],[2,2o,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,1k,1T],[4,43,27],[4,43,19],[4,43,15],[2,1I,1u],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,1A,3E],[2,2C,38,2,3d,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,1i,Z],[3,W,36,2,1Z,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,1k,1T,2,2Z,2r],[4,2r,43,1,1t,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,3H,2N],[1,1F,M,4,2N,1s],[4,M,22,4,1s,23],[3,36,12,8,37,13],[2,Z,3G,2,1q,3F],[6,W,36,2,1Z,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,2S,1W],[8,1Z,37,1,2C,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,1m,1l,1,1i,Z],[4,3v,40,5,2W,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,4K,2Z,1,1S,4I],[5,2W,41,5,2L,42],[5,B,24,7,H,25],[11,36,12],[5,1c,1I,1,1G,4C],[7,1C,45,3,I,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,3w,1W,5,2m,1P],[10,I,46,1,L,47],[1,M,22,15,1s,23],[2,42,14,17,43,15],[5,3l,4H,1,2b,1A],[9,2r,43,4,1t,44],[17,M,22,1,1s,23],[2,42,14,19,43,15],[3,4B,4A,4,1X,1z],[3,1t,44,11,4E,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,3w,1W,5,2m,1P],[3,2o,41,13,1T,42],[15,B,24,5,H,25],[15,43,15,10,44,16],[4,4J,Z,4,1m,1q],[17,1T,42],[17,M,22,6,1s,23],[19,46,16,6,47,17],[2,4D,4j,7,4o,2T],[17,I,46],[7,B,24,16,H,25],[34,37,13],[4,2b,1A,5,1o,1c],[4,L,47,14,1f,48],[11,B,24,14,H,25],[16,45,15,14,46,16],[6,1O,1q,4,1K,1v],[6,1C,45,14,I,46],[11,B,24,16,H,25],[30,46,16,2,47,17],[8,3y,2i,4,2S,1W],[8,L,47,13,1f,48],[7,B,24,22,H,25],[22,45,15,13,46,16],[10,1X,1z,2,4n,1l],[19,I,46,4,L,47],[28,M,22,6,1s,23],[33,46,16,4,47,17],[8,1o,1c,4,2g,1G],[22,1C,45,3,I,46],[8,2U,23,26,B,24],[12,45,15,28,46,16],[3,1O,1q,10,1K,1v],[3,1C,45,23,I,46],[4,B,24,31,H,25],[11,45,15,31,46,16],[7,1i,Z,7,1O,1q],[21,1C,45,7,I,46],[1,2U,23,37,B,24],[19,45,15,26,46,16],[5,1m,1l,10,1i,Z],[19,L,47,10,1f,48],[15,B,24,25,H,25],[23,45,15,25,46,16],[13,1m,1l,3,1i,Z],[2,I,46,29,L,47],[42,B,24,1,H,25],[23,45,15,28,46,16],[17,1m,1l],[10,I,46,23,L,47],[10,B,24,35,H,25],[19,45,15,35,46,16],[17,1m,1l,1,1i,Z],[14,I,46,21,L,47],[29,B,24,19,H,25],[11,45,15,46,46,16],[13,1m,1l,6,1i,Z],[14,I,46,23,L,47],[44,B,24,7,H,25],[1Z,46,16,1,47,17],[12,2b,1A,7,1o,1c],[12,L,47,26,1f,48],[39,B,24,14,H,25],[22,45,15,41,46,16],[6,2b,1A,14,1o,1c],[6,L,47,34,1f,48],[46,B,24,10,H,25],[2,45,15,3v,46,16],[17,1o,1c,4,2g,1G],[29,I,46,14,L,47],[49,B,24,10,H,25],[24,45,15,46,46,16],[4,1o,1c,18,2g,1G],[13,I,46,32,L,47],[48,B,24,14,H,25],[42,45,15,32,46,16],[20,1O,1q,4,1K,1v],[40,L,47,7,1f,48],[43,B,24,22,H,25],[10,45,15,2o,46,16],[19,1K,1v,6,4s,4t],[18,L,47,31,1f,48],[34,B,24,34,H,25],[20,45,15,3d,46,16]];p.2s=z(a,c){x d=p.3A(a,c);G(3h 0==d)R S("3p 4v 4x @ O:"+a+"/1x:"+c);w(x b=d.A/3,e=[],f=0;f<b;f++)w(x h=d[3*f+0],g=d[3*f+1],j=d[3*f+2],l=0;l<h;l++)e.2E(P p(g,j));y e};p.3A=z(a,c){1D(c){E 1:y p.1y[4*(a-1)+0];E 0:y p.1y[4*(a-1)+1];E 3:y p.1y[4*(a-1)+2];E 2:y p.1y[4*(a-1)+3]}};t.1E={1a:z(a){y 1==(v.1r[K.1b(a/8)]>>>7-a%8&1)},Y:z(a,c){w(x d=0;d<c;d++)v.2D(1==(a>>>c-d-1&1))},Q:z(){y v.A},2D:z(a){x c=K.1b(v.A/8);v.1r.A<=c&&v.1r.2E(0);a&&(v.1r[c]|=3D>>>v.A%8);v.A++}};"4z"===4w h&&(h={2w:h});h=r.4r({},{2Q:"2B",1g:1p,1h:1p,O:-1,2t:2,1n:"#4q",2h:"#4l"},h);y v.4k(z(){x a;G("2B"==h.2Q){a=P o(h.O,h.2t);a.2u(h.2w);a.1L();x c=4p.4y("2B");c.1g=h.1g;c.1h=h.1h;w(x d=c.4G("2d"),b=h.1g/a.T(),e=h.1h/a.T(),f=0;f<a.T();f++)w(x i=0;i<a.T();i++){d.4F=a.D(f,i)?h.2h:h.1n;x g=K.2V((i+1)*b)-K.1b(i*b),j=K.2V((f+1)*b)-K.1b(f*b);d.4m(K.2O(i*b),K.2O(f*e),g,j)}}2f{a=P o(h.O,h.2t);a.2u(h.2w);a.1L();c=r("<3t></3t>").1d("1g",h.1g+"1M").1d("1h",h.1h+"1M").1d("3n","4u").1d("3n-3i","3i").1d("1n-3k",h.1n);d=h.1g/a.T();b=h.1h/a.T();w(e=0;e<a.T();e++){f=r("<3x></3x>").1d("1h",b+"1M").2v(c);w(i=0;i<a.T();i++)r("<2G></2G>").1d("1g",d+"1M").1d("1n-3k",a.D(e,i)?h.2h:h.1n).2v(f)}}a=c;3b(a).2v(v)})}})(3b);',62,295,'|||||||||||||||||||||||||||||||this|for|var|return|function|length|54|modules|isDark|case|moduleCount|if|55|74|getLength|Math|75|50|Array|typeNumber|new|getLengthInBits|throw|Error|getModuleCount|getBCHDigit|EXP_TABLE|58|null|put|116|||||||||||get|floor|122|css|mode|76|width|height|146|glog|86|115|145|background|152|256|117|buffer|51|70|78|118|dataCache|errorCorrectLevel|RS_BLOCK_TABLE|114|121|dataList|73|switch|prototype|80|123|dataCount|98|102|148|make|px|62|147|108|255|gexp|110|68|setupPositionProbePattern|num|107|142|data|59|||||||||||default|151|G18||G15|else|153|foreground|106|totalCount|90|LOG_TABLE|136|82|67|100|mod|69|getRSBlocks|correctLevel|addData|appendTo|text|write|lineTo|makeImpl|break|canvas|60|putBit|push|getMask|td|PATTERN_POSITION_TABLE|getBCHTypeNumber|setupTimingPattern|getPatternPosition|66|G15_MASK|81|round|getBestMaskPattern|render|multiply|133|112|53|ceil|65|getErrorCorrectPolynomial|setupPositionAdjustPattern|87|||||||||||getLostPoint|jQuery|setupTypeNumber|61|56|126|PAD0|void|collapse|PAD1|color|150|max|border|createBytes|bad|134|setupTypeInfo|mapData|table|getBCHTypeInfo|64|135|tr|132|84|getRsBlockTable|138|createData|128|97|93|92|101|162|236|endFill|code|overflow|72|moveTo|beginFill|qrcode|fn|charCodeAt|createMovieClip|createEmptyMovieClip|94|52|7973|1335|21522|||||||||||maskPattern|type|170|166|104|130|154|158|abs|111|each|000000|fillRect|143|140|document|ffffff|extend|149|119|0px|rs|typeof|block|createElement|string|113|141|99|139|71|fillStyle|getContext|120|88|144|109'.split('|'),0,{}))