!function(t,r){"object"==typeofexports&&"undefined"!=typeofmodule?module.exports=r():"function"==typeofdefine&&define.amd?define(r):(t=t||self).VueQrcode=r()}(this,function(){"use strict";functionc(){thrownewError("Dynamic requires are not currently supported by rollup-plugin-commonjs")}vart,o=(function(t,r){t.exports=functioni(a,u,f){functions(e,t){if(!u[e]){if(!a[e]){varr=c;if(!t&&r)returnr(e,!0);if(h)returnh(e,!0);varn=newError("Cannot find module '"+e+"'");thrown.code="MODULE_NOT_FOUND",n}varo=u[e]={exports:{}};a[e][0].call(o.exports,function(t){varr=a[e][1][t];returns(r||t)},o,o.exports,i,a,u,f)}returnu[e].exports}for(varh=c,t=0;t<f.length;t++)s(f[t]);returns}({1:[function(t,r,e){r.exports=function(){return"function"==typeofPromise&&Promise.prototype&&Promise.prototype.then}},{}],2:[function(t,r,a){varu=t("./utils").getSymbolSize;a.getRowColCoords=function(t){if(1===t)return[];for(varr=Math.floor(t/7)+2,e=u(t),n=145===e?26:2*Math.ceil((e-13)/(2*r-2)),o=[e-7],i=1;i<r-1;i++)o[i]=o[i-1]-n;returno.push(6),o.reverse()},a.getPositions=function(t){for(varr=[],e=a.getRowColCoords(t),n=e.length,o=0;o<n;o++)for(vari=0;i<n;i++)0===o&&0===i||0===o&&i===n-1||o===n-1&&0===i||r.push([e[o],e[i]]);returnr}},{"./utils":21}],3:[function(t,r,e){varn=t("./mode"),o=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];functioni(t){this.mode=n.ALPHANUMERIC,this.data=t}i.getBitsLength=function(t){return11*Math.floor(t/2)+t%2*6},i.prototype.getLength=function(){returnthis.data.length},i.prototype.getBitsLength=function(){returni.getBitsLength(this.data.length)},i.prototype.write=function(t){varr;for(r=0;r+2<=this.data.length;r+=2){vare=45*o.indexOf(this.data[r]);e+=o.indexOf(this.data[r+1]),t.put(e,11)}this.data.length%2&&t.put(o.indexOf(this.data[r]),6)},r.exports=i},{"./mode":14}],4:[function(t,r,e){functionn(){this.buffer=[],this.length=0}n.prototype={get:function(t){varr=Math.floor(t/8);return1==(this.buffer[r]>>>7-t%8&1)},put:function(t,r){for(vare=0;e<r;e++)this.putBit(1==(t>>>r-e-1&1))},getLengthInBits:function(){returnthis.length},putBit:function(t){varr=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),t&&(this.buffer[r]|=128>>>this.length%8),this.length++}},r.exports=n},{}],5:[function(t,r,e){varn=t("../utils/buffer");functiono(t){if(!t||t<1)thrownewError("BitMatrix size must be defined and greater than 0");this.size=t,this.data=n.alloc(t*t),this.reservedBit=n.alloc(t*t)}o.prototype.set=function(t,r,e,n){varo=t*this.size+r;this.data[o]=e,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(t,r){returnthis.data[t*this.size+r]},o.prototype.xor=function(t,r,e){this.data[t*this.size+r]^=e},o.prototype.isReserved=function(t,r){returnthis.reservedBit[t*this.size+r]},r.exports=o},{"../utils/buffer":28}],6:[function(t,r,e){varn=t("../utils/buffer"),o=t("./mode");functioni(t){this.mode=o.BYTE,this.data=n.from(t)}i.getBitsLength=function(t){return8*t},i.prototype.getLength=function(){returnthis.data.length},i.prototype.getBitsLength=function(){returni.getBitsLength(this.data.length)},i.prototype.write=function(t){for(varr=0,e=this.data.length;r<e;r++)t.put(this.data[r],8)},r.exports=i},{"../utils/buffer":28,"./mode":14}],7:[function(t,r,e){varn=t("./error-correction-level"),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,50