/*! jquery-qrcode v0.18.0 - https://larsjung.de/jquery-qrcode/ */ !function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("jquery-qrcode",[],r):"object"==typeof exports?exports["jquery-qrcode"]=r():t["jquery-qrcode"]=r()}("undefined"!=typeof self?self:this,function(){return n={},o.m=e=[function(t,r,f){function p(t){return t&&"string"==typeof t.tagname&&"img"===t.tagname.touppercase()}function h(t,r,e,n,o){e=math.max(1,e||1),n=math.min(40,n||40);for(var i=e;i<=n;i+=1)try{return function(t,r,e,n){var o={},i=f(1);i.stringtobytes=i.stringtobytesfuncs["utf-8"];var a=i(e,r);a.adddata(t),a.make(),n=n||0;var u=a.getmodulecount(),s=u+2*n;return o.text=t,o.level=r,o.version=e,o.module_count=s,o.is_dark=function(t,r){return r-=n,0<=(t-=n)&&t")[0].getcontext("2d");i.font=o;var a=i.measuretext(e.label).width,u=e.msize,f=a/n,l=(1-f)*e.mposx,c=(1-u)*e.mposy,g=l+f,s=c+u;1===e.mode?t.add_blank(0,c-.01,n,s+.01):t.add_blank(l-.01,c-.01,.01+g,s+.01),r.fillstyle=e.fontcolor,r.font=o,r.filltext(e.label,l*n,c*n+.75*e.msize*n)}(t,r,e):!p(e.image)||3!==v&&4!==v||(n=t,o=r,a=(i=e).size,u=i.image.naturalwidth||1,f=i.image.naturalheight||1,l=i.msize,g=(1-(c=l*u/f))*i.mposx,s=(1-l)*i.mposy,h=g+c,d=s+l,3===i.mode?n.add_blank(0,s-.01,a,d+.01):n.add_blank(g-.01,s-.01,.01+h,d+.01),o.drawimage(i.image,g*a,s*a,c*a,l*a))}function s(t,r,e,n,o,i,a,u){t.is_dark(a,u)&&r.r(n,o,i,i)}function d(t,r,e,n,o,i,a,u){var f,l,c,g,s,h,d,v,p,w,y,m,b,k,x,b,c,a,m,s=n+i,l=o+i,d=e.radius*i,t=a-1,z=a+1,p=u-1,j=u+1,i=t.is_dark,_=i(a,u),q=i(t,p),o=i(t,u),f=i(t,j),r=i(a,j),h=i(z,j),n=i(z,u),u=i(z,p),v=i(a,p);_?(w=r,y=n,m=o,b=s,k=l,x=d,c=!o&&!r,a=!n&&!r,m=!n&&!v,(b=!o&&!v)?w.m(y+x,m):w.m(y,m),c?w.l(b-x,m).a(b,m,b,k,x):w.l(b,m),a?w.l(b,k-x).a(b,k,y,k,x):w.l(b,k),m?w.l(y+x,k).a(y,k,y,m,x):w.l(y,k),b?w.l(y,m+x).a(y,m,b,m,x):w.l(y,m)):(f=r,l=n,c=o,g=s,s=l,h=d,d=o&&r&&f,v=n&&r&&h,p=n&&v&&u,o&&v&&q&&f.m(l+h,c).l(l,c).l(l,c+h).a(l,c,l+h,c,h),d&&f.m(g-h,c).l(g,c).l(g,c+h).a(g,c,g-h,c,h),v&&f.m(g-h,s).l(g,s).l(g,s-h).a(g,s,g-h,s,h),p&&f.m(l+h,s).l(l,s).l(l,s-h).a(l,s,l+h,s,h))}function n(t,r){var e=h(r.text,r.eclevel,r.minversion,r.maxversion,r.quiet);if(!e)return null;var n=w(t).data("qrcode",e),o=n[0].getcontext("2d");return i(e,o,r),function(t,e,r){var n=t.module_count,o=r.size/n,i=s;0").attr("width",t.size).attr("height",t.size);return n(r,t)}function o(t){return"canvas"===t.render?e(t):"image"===t.render?(r=t,w("").attr("src",e(r)[0].todataurl("image/png"))):function(t){var r=h(t.text,t.eclevel,t.minversion,t.maxversion,t.quiet);if(!r)return null;var e=t.size,n=t.background,o=math.floor,i=r.module_count,a=o(e/i),u=o(.5*(e-a*i)),f={position:"relative",left:0,top:0,padding:0,margin:0,width:e,height:e},l={position:"absolute",padding:0,margin:0,width:a,height:a,"background-color":t.fill},c=w("
").data("qrcode",r).css(f);n&&c.css("background-color",n);for(var g=0;g").css(l).css({left:u+s*a,top:u+g*a}).appendto(c);return c}(t);var r}var w=window.jquery,a={render:"canvas",minversion:1,maxversion:40,eclevel:"l",left:0,top:0,size:200,fill:"#000",background:"#fff",text:"no text",radius:0,quiet:0,mode:0,msize:.1,mposx:.5,mposy:.5,label:"no label",fontname:"sans",fontcolor:"#000",image:null};w.fn.qrcode=t.exports=function(t){var e=w.extend({},a,t);return this.each(function(t,r){"canvas"===r.nodename.tolowercase()?n(r,e):w(r).append(o(e))})}},function(t,r,e){var n,o,i,a=function(){function i(t,r){function a(t,r){c=function(t){for(var r=new array(t),e=0;e>e&1);c[math.floor(e/3)][e%3+g-8-3]=n}for(e=0;e<18;e+=1){n=!t&&1==(r>>e&1);c[e%3+g-8-3][math.floor(e/3)]=n}},d=function(t,r){for(var e=f<<3|r,n=m.getbchtypeinfo(e),o=0;o<15;o+=1){var i=!t&&1==(n>>o&1);o<6?c[o][8]=i:o<8?c[o+1][8]=i:c[g-15+o][8]=i}for(o=0;o<15;o+=1){i=!t&&1==(n>>o&1);o<8?c[8][g-o-1]=i:o<9?c[8][15-o-1+1]=i:c[8][15-o-1]=i}c[g-8][8]=!t},v=function(t,r){for(var e=-1,n=g-1,o=7,i=0,a=m.getmaskfunction(r),u=g-1;0>>o&1)),a(n,u-l)&&(f=!f),c[n][u-l]=f,-1==--o&&(i+=1,o=7))}if((n+=e)<0||g<=n){n-=e,e=-e;break}}},p=function(t,r,e){for(var n=a.getrsblocks(t,r),o=m(),i=0;i8*u)throw"code length overflow. ("+o.getlengthinbits()+">"+8*u+")";for(o.getlengthinbits()+4<=8*u&&o.put(0,4);o.getlengthinbits()%8!=0;)o.putbit(!1);for(;!(o.getlengthinbits()>=8*u||(o.put(236,8),o.getlengthinbits()>=8*u));)o.put(17,8);return function(t,r){for(var e=0,n=0,o=0,i=new array(r.length),a=new array(r.length),u=0;u',e+="";for(var n=0;n";for(var o=0;o';e+=""}return e+="",e+=""},h.createsvgtag=function(t,r,e,n){var o={};"object"==typeof arguments[0]&&(t=(o=arguments[0]).cellsize,r=o.margin,e=o.alt,n=o.title),t=t||2,r=void 0===r?4*t:r,(e="string"==typeof e?{text:e}:e||{}).text=e.text||null,e.id=e.text?e.id||"qrcode-description":null,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-title":null;var i,a,u,f=h.getmodulecount()*t+2*r,l="",c="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ";for(l+=''+w(n.text)+"":"",l+=e.text?''+w(e.text)+"":"",l+='',l+='":r+=">";break;case"&":r+="&";break;case'"':r+=""";break;default:r+=n}}return r};return h.createascii=function(t,r){if((t=t||1)<2)return function(t){t=void 0===t?2:t;for(var r,e,n,o,i=+h.getmodulecount()+2*t,a=t,u=i-t,f={"██":"█","█ ":"▀"," █":"▄"," ":" "},l={"██":"▀","█ ":"▀"," █":" "," ":" "},c="",g=0;g>>8),r.push(255&n)):r.push(a)}return r}};var r,t,a=1,u=2,o=4,f=8,y={l:1,m:0,q:3,h:2},e=0,n=1,l=2,c=3,g=4,s=5,h=6,d=7,m=(r=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],(t={}).getbchtypeinfo=function(t){for(var r=t<<10;0<=v(r)-v(1335);)r^=1335<>>=1;return r}var p=function(){for(var r=new array(256),e=new array(256),t=0;t<8;t+=1)r[t]=1<>>8)},writebytes:function(t,r,e){r=r||0,e=e||t.length;for(var n=0;n>>o-6),o-=6},t.flush=function(){if(0>>r!=0)throw"length over";for(;8<=u+r;)a.writebyte(255&(t<>>=8-u,u=f=0;f|=t<>>7-t%8&1)},put:function(t,r){for(var e=0;e>>r-e-1&1))},getlengthinbits:function(){return n},putbit:function(t){var r=math.floor(n/8);e.length<=r&&e.push(0),t&&(e[r]|=128>>>n%8),n+=1}};return o},s=function(t){var r=a,n=t,e={getmode:function(){return r},getlength:function(t){return n.length},write:function(t){for(var r=n,e=0;e+2>>8&255)+(255&n),t.put(n,13),e+=2}if(e=e.length){if(0==i)return-1;throw"unexpected end of file./"+i}var t=e.charat(n);if(n+=1,"="==t)return i=0,-1;t.match(/^\s$/)||(o=o<<6|a(t.charcodeat(0)),i+=6)}var r=o>>>i-8&255;return i-=8,r}},a=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return r},p=function(t,r,e){for(var n=x(t,r),o=0;o>6,128|63&n):n<55296||57344<=n?r.push(224|n>>12,128|n>>6&63,128|63&n):(e++,n=65536+((1023&n)<<10|1023&t.charcodeat(e)),r.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return r}(t)},o=[],void 0===(i="function"==typeof(n=function(){return a})?n.apply(r,o):n)||(t.exports=i)}],o.c=n,o.d=function(t,r,e){o.o(t,r)||object.defineproperty(t,r,{enumerable:!0,get:e})},o.r=function(t){"undefined"!=typeof symbol&&symbol.tostringtag&&object.defineproperty(t,symbol.tostringtag,{value:"module"}),object.defineproperty(t,"__esmodule",{value:!0})},o.t=function(r,t){if(1&t&&(r=o(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esmodule)return r;var e=object.create(null);if(o.r(e),object.defineproperty(e,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var n in r)o.d(e,n,function(t){return r[t]}.bind(null,n));return e},o.n=function(t){var r=t&&t.__esmodule?function(){return t.default}:function(){return t};return o.d(r,"a",r),r},o.o=function(t,r){return object.prototype.hasownproperty.call(t,r)},o.p="",o(o.s=0);function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}var e,n});