!function(t,a,h,u,l,g){function e(t){this.mode=i.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,r=this.data.length;e>>18,n[1]=128|(258048&o)>>>12,n[2]=128|(4032&o)>>>6,n[3]=128|63&o):2048>>12,n[1]=128|(4032&o)>>>6,n[2]=128|63&o):128>>6,n[1]=128|63&o):n[0]=o,this.parsedData.push(n)}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 f(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}e.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]=n}for(r=0;r<18;r++){n=!t&&1==(e>>r&1);this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}},setupTypeInfo:function(t,e){for(var e=this.errorCorrectLevel<<3|e,r=L.getBCHTypeInfo(e),n=0;n<15;n++){var o=!t&&1==(r>>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==(r>>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,n=this.moduleCount-1,o=7,i=0,s=this.moduleCount-1;0>>o&1)),h=L.getMask(e,n,s-u),this.modules[n][s-u]=a=h?!a:a,-1==--o&&(i++,o=7));if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}}},f.PAD0=236,f.PAD1=17,f.createData=function(t,e,r){for(var n=b.getRSBlocks(t,e),o=new A,i=0;i8*a)throw new Error("code length overflow. ("+o.getLengthInBits()+">"+8*a+")");for(o.getLengthInBits()+4<=8*a&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;;){if(o.getLengthInBits()>=8*a)break;if(o.put(f.PAD0,8),o.getLengthInBits()>=8*a)break;o.put(f.PAD1,8)}return f.createBytes(o,n)},f.createBytes=function(t,e){for(var r=0,n=0,o=0,i=new Array(e.length),s=new Array(e.length),a=0;a>>=1;return e},getPatternPosition:function(t){return L.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,r){switch(t){case n:return(e+r)%2==0;case o:return e%2==0;case m:return r%3==0;case v:return(e+r)%3==0;case w:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case E:return e*r%2+e*r%3==0;case B: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 C([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 k=[[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 _(t){if(this.options={padding:4,width:256,height:256,typeNumber:4,color:"#000000",background:"#ffffff",ecl:"M"},t="string"==typeof t?{content:t}:t)for(var e in t)this.options[e]=t[e];if("string"!=typeof this.options.content)throw new Error("Expected 'content' as string!");if(0===this.options.content.length)throw new Error("Expected 'content' to be non-empty!");if(!(0<=this.options.padding))throw new Error("Expected 'padding' value to be non-negative!");if(!(0'+i:"",m=o+''+i,v="",w="",E=0;E'+i:o+''+i);g&&(v=o+'');var b="";switch(t.container){case"svg":c&&(b+=''+i),b=(b+=''+i)+(p+m+v)+"";break;case"svg-viewbox":c&&(b+=''+i),b=(b+=''+i)+(p+m+v)+"";break;case"g":b=(b+=''+i)+(p+m+v)+"";break;default:b+=(p+m+v).replace(/^\s+/,"")}return b},_.prototype.save=function(t,e){var r=this.svg();"function"!=typeof e&&(e=function(t,e){});try{require("fs").writeFile(t,r,e)}catch(t){e(t)}},"undefined"!=typeof module&&(module.exports=_),t.printlinks=function(t){a.querySelectorAll(".tw-linklist,.tw-linkref").forEach(function(t){t.remove()});var i,s,t=a.querySelectorAll(t||'a[href]:not([href^="javascript:"])');t.length&&(i=new Map,(s=a[h]("ol")).className="tw-linklist",t.forEach(function(t){var e,r=String(t.href),n=i.size+1,o=(i.has(r)?n=i.get(r):(i.set(r,n),e=a[h]("li"),(o=a.createElementNS("http://www.w3.org/2000/svg","svg"))[g]("width",44),o[g]("height",44),o[g]("viewBox","0 0 ".concat(44," ").concat(44)),o[g]("aria-hidden","true"),o[g]("focusable","false"),o.innerHTML=new _({content:r,width:44,height:44,join:!0,xmlDeclaration:!1,ecl:"L",container:"none"}).svg(),e[l](o),e[l](a[u](r)),s[l](e)),a[h]("sup"));o.className="tw-linkref",o[l](a[u](n)),t.parentNode.insertBefore(o,t.nextSibling)}),a.body[l](s))}}(window,document,"createElement","createTextNode","appendChild","setAttribute");