var qrcode;!function(){function r(t){this.mode=o.mode_8bit_byte,this.data=t,this.parseddata=[];for(var e=0,r=this.data.length;e>>18,i[1]=128|(258048&n)>>>12,i[2]=128|(4032&n)>>>6,i[3]=128|63&n):2048>>12,i[1]=128|(4032&n)>>>6,i[2]=128|63&n):128>>6,i[1]=128|63&n):i[0]=n,this.parseddata.push(i)}this.parseddata=array.prototype.concat.apply([],this.parseddata),this.parseddata.length!=this.data.length&&(this.parseddata.unshift(191),this.parseddata.unshift(187),this.parseddata.unshift(239))}function h(t,e){this.typenumber=t,this.errorcorrectlevel=e,this.modules=null,this.modulecount=0,this.datacache=null,this.datalist=[]}r.prototype={getlength:function(t){return this.parseddata.length},write:function(t){for(var e=0,r=this.parseddata.length;e>r&1);this.modules[math.floor(r/3)][r%3+this.modulecount-8-3]=i}for(r=0;r<18;r++){i=!t&&1==(e>>r&1);this.modules[r%3+this.modulecount-8-3][math.floor(r/3)]=i}},setuptypeinfo:function(t,e){for(var r=this.errorcorrectlevel<<3|e,i=v.getbchtypeinfo(r),n=0;n<15;n++){var o=!t&&1==(i>>n&1);n<6?this.modules[n][8]=o:n<8?this.modules[n+1][8]=o:this.modules[this.modulecount-15+n][8]=o}for(n=0;n<15;n++){o=!t&&1==(i>>n&1);n<8?this.modules[8][this.modulecount-n-1]=o:n<9?this.modules[8][15-n-1+1]=o:this.modules[8][15-n-1]=o}this.modules[this.modulecount-8][8]=!t},mapdata:function(t,e){for(var r=-1,i=this.modulecount-1,n=7,o=0,a=this.modulecount-1;0>>n&1)),v.getmask(e,i,a-s)&&(h=!h),this.modules[i][a-s]=h,-1==--n&&(o++,n=7)}if((i+=r)<0||this.modulecount<=i){i-=r,r=-r;break}}}},h.pad0=236,h.pad1=17,h.createdata=function(t,e,r){for(var i=p.getrsblocks(t,e),n=new m,o=0;o8*s)throw new error("code length overflow. ("+n.getlengthinbits()+">"+8*s+")");for(n.getlengthinbits()+4<=8*s&&n.put(0,4);n.getlengthinbits()%8!=0;)n.putbit(!1);for(;!(n.getlengthinbits()>=8*s||(n.put(h.pad0,8),n.getlengthinbits()>=8*s));)n.put(h.pad1,8);return h.createbytes(n,i)},h.createbytes=function(t,e){for(var r=0,i=0,n=0,o=new array(e.length),a=new array(e.length),s=0;s>>=1;return e},getpatternposition:function(t){return v.pattern_position_table[t-1]},getmask:function(t,e,r){switch(t){case i:return(e+r)%2==0;case n:return e%2==0;case a:return r%3==0;case l:return(e+r)%3==0;case u:return(math.floor(e/2)+math.floor(r/3))%2==0;case c:return e*r%2+e*r%3==0;case f:return(e*r%2+e*r%3)%2==0;case d:return(e*r%3+(e+r)%2)%2==0;default:throw new error("bad maskpattern:"+t)}},geterrorcorrectpolynomial:function(t){for(var e=new w([1],0),r=0;r>>7-t%8&1)},put:function(t,e){for(var r=0;r>>e-r-1&1))},getlengthinbits:function(){return this.length},putbit:function(t){var e=math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var _=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function c(){var t=!1,e=navigator.useragent;if(/android/i.test(e)){t=!0;var r=e.tostring().match(/android ([0-9]\.[0-9])/i);r&&r[1]&&(t=parsefloat(r[1]))}return t}var y=(e.prototype.draw=function(t){var e=this._htoption,r=this._el,i=t.getmodulecount();function n(t,e){var r=document.createelementns("http://www.w3.org/2000/svg",t);for(var i in e)e.hasownproperty(i)&&r.setattribute(i,e[i]);return r}math.floor(e.width/i),math.floor(e.height/i),this.clear();var o=n("svg",{viewbox:"0 0 "+string(i)+" "+string(i),width:"100%",height:"100%",fill:e.colorlight});o.setattributens("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendchild(o),o.appendchild(n("rect",{fill:e.colorlight,width:"100%",height:"100%"})),o.appendchild(n("rect",{fill:e.colordark,width:"1",height:"1",id:"template"}));for(var a=0;a'],s=0;s");for(var h=0;h');a.push("")}a.push(""),r.innerhtml=a.join("");var l=r.childnodes[0],u=(e.width-l.offsetwidth)/2,c=(e.height-l.offsetheight)/2;0微信里点“发现”,扫一下

二维码便可将本文分享至朋友圈。

",wechatqrcodesize:100,sites:["weibo","qq","wechat","douban","qzone","linkedin","facebook","twitter","google"],mobilesites:[],disabled:[],initialized:!1},p={qzone:"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url={{url}}&title={{title}}&desc={{description}}&summary={{summary}}&site={{source}}&pics={{image}}",qq:'http://connect.qq.com/widget/shareqq/index.html?url={{url}}&title={{title}}&source={{source}}&desc={{description}}&pics={{image}}&summary="{{summary}}"',weibo:"https://service.weibo.com/share/share.php?url={{url}}&title={{title}}&pic={{image}}&appkey={{weibokey}}",wechat:"javascript:",douban:"http://shuo.douban.com/!service/share?href={{url}}&name={{title}}&text={{description}}&image={{image}}&starid=0&aid=0&style=11",linkedin:"http://www.linkedin.com/sharearticle?mini=true&ro=true&title={{title}}&url={{url}}&summary={{summary}}&source={{source}}&armin=armin",facebook:"https://www.facebook.com/sharer/sharer.php?u={{url}}",twitter:"https://twitter.com/intent/tweet?text={{title}}&url={{url}}&via={{origin}}",google:"https://plus.google.com/share?url={{url}}"};function m(t){return(o.queryselectorall||r.jquery||r.zepto||function(i){var n=[];return c(i.split(/\s*,\s*/),function(t){var e=t.match(/([#.])(\w+)/);if(null===e)throw error("supports only simple single #id or .class selector.");if(e[1]){var r=o.getelementbyid(e[2]);r&&n.push(r)}n=n.concat(w(i))}),n}).call(o,t)}function v(t){return(o.getelementsbyname(t)[0]||0).content}function w(t,e,r){if(t.getelementsbyclassname)return t.getelementsbyclassname(e);var i=[],n=t.getelementsbytagname(r||"*");return e=" "+e+" ",c(n,function(t){0<=(" "+(t.classname||"")+" ").indexof(e)&&i.push(t)}),i}function _(t){var e=o.createelement("div");return e.innerhtml=t,e.childnodes}function c(t,e){var r=t.length;if(r===a){for(var i in t)if(t.hasownproperty(i)&&!1===e.call(t[i],t[i],i))break}else for(var n=0;n