| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-views-scanCodePage"],{"0109":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("aa9c");var o,a=n(r("107a")),i=n(r("c41c")),u=n(r("d4f8")),f=n(r("a5e6")),d=n(r("d618")),s=n(r("343e")),c=n(r("9e56"));(function(t){t[t["PAD_ENCODE"]=0]="PAD_ENCODE",t[t["ASCII_ENCODE"]=1]="ASCII_ENCODE",t[t["C40_ENCODE"]=2]="C40_ENCODE",t[t["TEXT_ENCODE"]=3]="TEXT_ENCODE",t[t["ANSIX12_ENCODE"]=4]="ANSIX12_ENCODE",t[t["EDIFACT_ENCODE"]=5]="EDIFACT_ENCODE",t[t["BASE256_ENCODE"]=6]="BASE256_ENCODE"})(o||(o={}));var l=function(){function t(){}return t.decode=function(t){var e=new i.default(t),r=new u.default,n=new u.default,f=new Array,d=o.ASCII_ENCODE;do{if(d===o.ASCII_ENCODE)d=this.decodeAsciiSegment(e,r,n);else{switch(d){case o.C40_ENCODE:this.decodeC40Segment(e,r);break;case o.TEXT_ENCODE:this.decodeTextSegment(e,r);break;case o.ANSIX12_ENCODE:this.decodeAnsiX12Segment(e,r);break;case o.EDIFACT_ENCODE:this.decodeEdifactSegment(e,r);break;case o.BASE256_ENCODE:this.decodeBase256Segment(e,r,f);break;default:throw new s.default}d=o.ASCII_ENCODE}}while(d!==o.PAD_ENCODE&&e.available()>0);return n.length()>0&&r.append(n.toString()),new a.default(t,r.toString(),0===f.length?null:f,null)},t.decodeAsciiSegment=function(t,e,r){var n=!1;do{var a=t.readBits(8);if(0===a)throw new s.default;if(a<=128)return n&&(a+=128),e.append(String.fromCharCode(a-1)),o.ASCII_ENCODE;if(129===a)return o.PAD_ENCODE;if(a<=229){var i=a-130;i<10&&e.append("0"),e.append(""+i)}else switch(a){case 230:return o.C40_ENCODE;case 231:return o.BASE256_ENCODE;case 232:e.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:n=!0;break;case 236:e.append("[)>05"),r.insert(0,"");break;case 237:e.append("[)>06"),r.insert(0,"");break;case 238:return o.ANSIX12_ENCODE;case 239:return o.TEXT_ENCODE;case 240:return o.EDIFACT_ENCODE;case 241:break;default:if(254!==a||0!==t.available())throw new s.default;break}}while(t.available()>0);return o.ASCII_ENCODE},t.decodeC40Segment=function(t,e){var r=!1,n=[],o=0;do{if(8===t.available())return;var a=t.readBits(8);if(254===a)return;this.parseTwoBytes(a,t.readBits(8),n);for(var i=0;i<3;i++){var u=n[i];switch(o){case 0:if(u<3)o=u+1;else{if(!(u<this.C40_BASIC_SET_CHARS.length))throw new s.default;var f=this.C40_BASIC_SET_CHARS[u];r?(e.append(String.fromCharCode(f.charCodeAt(0)+128)),r=!1):e.append(f)}break;case 1:r?(e.append(String.fromCharCode(u+128)),r=!1):e.append(String.fromCharCode(u)),o=0;break;case 2:if(u<this.C40_SHIFT2_SET_CHARS.length){f=this.C40_SHIFT2_SET_CHARS[u];r?(e.append(String.fromCharCode(f.charCodeAt(0)+128)),r=!1):e.append(f)}else switch(u){case 27:e.append(String.fromCharCode(29));break;case 30:r=!0;break;default:throw new s.default}o=0;break;case 3:r?(e.append(String.fromCharCode(u+224)),r=!1):e.append(String.fromCharCode(u+96)),o=0;break;default:throw new s.default}}}while(t.available()>0)},t.decodeTextSegment=function(t,e){var r=!1,n=[],o=0;do{if(8===t.available())return;var a=t.readBits(8);if(254===a)return;this.parseTwoBytes(a,t.readBits(8),n);for(var i=0;i<3;i++){var u=n[i];switch(o){case 0:if(u<3)o=u+1;else{if(!(u<this.TEXT_BASIC_SET_CHARS.length))throw new s.default;var f=this.TEXT_BASIC_SET_CHARS[u];r?(e.append(String.fromCharCode(f.charCodeAt(0)+128)),r=!1):e.append(f)}break;case 1:r?(e.append(String.fromCharCode(u+128)),r=!1):e.append(String.fromCharCode(u)),o=0;break;case 2:if(u<this.TEXT_SHIFT2_SET_CHARS.length){f=this.TEXT_SHIFT2_SET_CHARS[u];r?(e.append(String.fromCharCode(f.charCodeAt(0)+128)),r=!1):e.append(f)}else switch(u){case 27:e.append(String.fromCharCode(29));break;case 30:r=!0;break;default:throw new s.default}o=0;break;case 3:if(!(u<this.TEXT_SHIFT3_SET_CHARS.length))throw new s.default;f=this.TEXT_SHIFT3_SET_CHARS[u];r?(e.append(String.fromCharCode(f.charCodeAt(0)+128)),r=!1):e.append(f),o=0;break;default:throw new s.default}}}while(t.available()>0)},t.decodeAnsiX12Segment=function(t,e){var r=[];do{if(8===t.available())return;var n=t.readBits(8);if(254===n)return;this.parseTwoBytes(n,t.readBits(8),r);for(var o=0;o<3;o++){var a=r[o];switch(a){case 0:e.append("\r");break;case 1:e.append("*");break;case 2:e.append(">");break;case 3:e.append(" ");break;default:if(a<14)e.append(String.fromCharCode(a+44));else{if(!(a<40))throw new s.default;e.append(String.fromCharCode(a+51))}break}}}while(t.available()>0)},t.parseTwoBytes=function(t,e,r){var n=(t<<8)+e-1,o=Math.floor(n/1600);r[0]=o,n-=1600*o,o=Math.floor(n/40),r[1]=o,r[2]=n-40*o},t.decodeEdifactSegment=function(t,e){do{if(t.available()<=16)return;for(var r=0;r<4;r++){var n=t.readBits(6);if(31===n){var o=8-t.getBitOffset();return void(8!==o&&t.readBits(o))}0===(32&n)&&(n|=64),e.append(String.fromCharCode(n))}}while(t.available()>0)},t.decodeBase256Segment=function(t,e,r){var n,o=1+t.getByteOffset(),a=this.unrandomize255State(t.readBits(8),o++);if(n=0===a?t.available()/8|0:a<250?a:250*(a-249)+this.unrandomize255State(t.readBits(8),o++),n<0)throw new s.default;for(var i=new Uint8Array(n),u=0;u<n;u++){if(t.available()<8)throw new s.default;i[u]=this.unrandomize255State(t.readBits(8),o++)}r.push(i);try{e.append(f.default.decode(i,d.default.ISO88591))}catch(l){throw new c.default("Platform does not support required encoding: "+l.message)}},t.unrandomize255State=function(t,e){var r=149*e%255+1,n=t-r;return n>=0?n:n+256},t.C40_BASIC_SET_CHARS=["*","*","*"," ","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"],t.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],t.TEXT_BASIC_SET_CHARS=["*","*","*"," ","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"],t.TEXT_SHIFT2_SET_CHARS=t.C40_SHIFT2_SET_CHARS,t.TEXT_SHIFT3_SET_CHARS=["`","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","{","|","}","~",String.fromCharCode(127)],t}(),h=l;e.default=h},"02e6":function(t,e,r){"use strict";(function(t){r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("7a76"),r("c9b5"),r("bf0f"),r("ab80"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("64aa");var o,a,i=n(r("343e")),u=n(r("253e")),f=n(r("107a")),d=n(r("d36d")),s=n(r("36d3")),c=n(r("d4f8")),l=n(r("e5d0")),h=n(r("e8e6")),p=n(r("59e8")),g=n(r("a5e6"));function y(){if("undefined"!==typeof window)return window["BigInt"]||null;if("undefined"!==typeof t)return t["BigInt"]||null;if("undefined"!==typeof self)return self["BigInt"]||null;throw new Error("Can't search globals for BigInt!")}function v(t){if("undefined"===typeof a&&(a=y()),null===a)throw new Error("BigInt is not supported!");return a(t)}(function(t){t[t["ALPHA"]=0]="ALPHA",t[t["LOWER"]=1]="LOWER",t[t["MIXED"]=2]="MIXED",t[t["PUNCT"]=3]="PUNCT",t[t["ALPHA_SHIFT"]=4]="ALPHA_SHIFT",t[t["PUNCT_SHIFT"]=5]="PUNCT_SHIFT"})(o||(o={}));var w=function(){function t(){}return t.decode=function(e,r){var n=new c.default(""),o=u.default.ISO8859_1;n.enableDecoding(o);var a=1,s=e[a++],l=new d.default;while(a<e[0]){switch(s){case t.TEXT_COMPACTION_MODE_LATCH:a=t.textCompaction(e,a,n);break;case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:a=t.byteCompaction(s,e,o,a,n);break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:n.append(e[a++]);break;case t.NUMERIC_COMPACTION_MODE_LATCH:a=t.numericCompaction(e,a,n);break;case t.ECI_CHARSET:u.default.getCharacterSetECIByValue(e[a++]);break;case t.ECI_GENERAL_PURPOSE:a+=2;break;case t.ECI_USER_DEFINED:a++;break;case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:a=t.decodeMacroBlock(e,a,l);break;case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:throw new i.default;default:a--,a=t.textCompaction(e,a,n);break}if(!(a<e.length))throw i.default.getFormatInstance();s=e[a++]}if(0===n.length())throw i.default.getFormatInstance();var h=new f.default(null,n.toString(),null,r);return h.setOther(l),h},t.decodeMacroBlock=function(e,r,n){if(r+t.NUMBER_OF_SEQUENCE_CODEWORDS>e[0])throw i.default.getFormatInstance();for(var o=new Int32Array(t.NUMBER_OF_SEQUENCE_CODEWORDS),a=0;a<t.NUMBER_OF_SEQUENCE_CODEWORDS;a++,r++)o[a]=e[r];n.setSegmentIndex(l.default.parseInt(t.decodeBase900toBase10(o,t.NUMBER_OF_SEQUENCE_CODEWORDS)));var u=new c.default;r=t.textCompaction(e,r,u),n.setFileId(u.toString());var f=-1;e[r]===t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(f=r+1);while(r<e[0])switch(e[r]){case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:switch(r++,e[r]){case t.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME:var d=new c.default;r=t.textCompaction(e,r+1,d),n.setFileName(d.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SENDER:var p=new c.default;r=t.textCompaction(e,r+1,p),n.setSender(p.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:var g=new c.default;r=t.textCompaction(e,r+1,g),n.setAddressee(g.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:var y=new c.default;r=t.numericCompaction(e,r+1,y),n.setSegmentCount(l.default.parseInt(y.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:var v=new c.default;r=t.numericCompaction(e,r+1,v),n.setTimestamp(h.default.parseLong(v.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:var w=new c.default;r=t.numericCompaction(e,r+1,w),n.setChecksum(l.default.parseInt(w.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:var _=new c.default;r=t.numericCompaction(e,r+1,_),n.setFileSize(h.default.parseLong(_.toString()));break;default:throw i.default.getFormatInstance()}break;case t.MACRO_PDF417_TERMINATOR:r++,n.setLastSegment(!0);break;default:throw i.default.getFormatInstance()}if(-1!==f){var b=r-f;n.isLastSegment()&&b--,n.setOptionalData(s.default.copyOfRange(e,f,f+b))}return r},t.textCompaction=function(e,r,n){var o=new Int32Array(2*(e[0]-r)),a=new Int32Array(2*(e[0]-r)),i=0,u=!1;while(r<e[0]&&!u){var f=e[r++];if(f<t.TEXT_COMPACTION_MODE_LATCH)o[i]=f/30,o[i+1]=f%30,i+=2;else switch(f){case t.TEXT_COMPACTION_MODE_LATCH:o[i++]=t.TEXT_COMPACTION_MODE_LATCH;break;case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:r--,u=!0;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:o[i]=t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,f=e[r++],a[i]=f,i++;break}}return t.decodeTextCompaction(o,a,i,n),r},t.decodeTextCompaction=function(e,r,n,a){var i=o.ALPHA,u=o.ALPHA,f=0;while(f<n){var d=e[f],s="";switch(i){case o.ALPHA:if(d<26)s=String.fromCharCode(65+d);else switch(d){case 26:s=" ";break;case t.LL:i=o.LOWER;break;case t.ML:i=o.MIXED;break;case t.PS:u=i,i=o.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:a.append(r[f]);break;case t.TEXT_COMPACTION_MODE_LATCH:i=o.ALPHA;break}break;case o.LOWER:if(d<26)s=String.fromCharCode(97+d);else switch(d){case 26:s=" ";break;case t.AS:u=i,i=o.ALPHA_SHIFT;break;case t.ML:i=o.MIXED;break;case t.PS:u=i,i=o.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:a.append(r[f]);break;case t.TEXT_COMPACTION_MODE_LATCH:i=o.ALPHA;break}break;case o.MIXED:if(d<t.PL)s=t.MIXED_CHARS[d];else switch(d){case t.PL:i=o.PUNCT;break;case 26:s=" ";break;case t.LL:i=o.LOWER;break;case t.AL:i=o.ALPHA;break;case t.PS:u=i,i=o.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:a.append(r[f]);break;case t.TEXT_COMPACTION_MODE_LATCH:i=o.ALPHA;break}break;case o.PUNCT:if(d<t.PAL)s=t.PUNCT_CHARS[d];else switch(d){case t.PAL:i=o.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:a.append(r[f]);break;case t.TEXT_COMPACTION_MODE_LATCH:i=o.ALPHA;break}break;case o.ALPHA_SHIFT:if(i=u,d<26)s=String.fromCharCode(65+d);else switch(d){case 26:s=" ";break;case t.TEXT_COMPACTION_MODE_LATCH:i=o.ALPHA;break}break;case o.PUNCT_SHIFT:if(i=u,d<t.PAL)s=t.PUNCT_CHARS[d];else switch(d){case t.PAL:i=o.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:a.append(r[f]);break;case t.TEXT_COMPACTION_MODE_LATCH:i=o.ALPHA;break}break}""!==s&&a.append(s),f++}},t.byteCompaction=function(e,r,n,o,a){var i=new p.default,u=0,f=0,d=!1;switch(e){case t.BYTE_COMPACTION_MODE_LATCH:var s=new Int32Array(6),c=r[o++];while(o<r[0]&&!d)switch(s[u++]=c,f=900*f+c,c=r[o++],c){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:o--,d=!0;break;default:if(u%5===0&&u>0){for(var l=0;l<6;++l)i.write(Number(v(f)>>v(8*(5-l))));f=0,u=0}break}o===r[0]&&c<t.TEXT_COMPACTION_MODE_LATCH&&(s[u++]=c);for(var h=0;h<u;h++)i.write(s[h]);break;case t.BYTE_COMPACTION_MODE_LATCH_6:while(o<r[0]&&!d){var y=r[o++];if(y<t.TEXT_COMPACTION_MODE_LATCH)u++,f=900*f+y;else switch(y){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.NUMERIC_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:o--,d=!0;break}if(u%5===0&&u>0){for(l=0;l<6;++l)i.write(Number(v(f)>>v(8*(5-l))));f=0,u=0}}break}return a.append(g.default.decode(i.toByteArray(),n)),o},t.numericCompaction=function(e,r,n){var o=0,a=!1,i=new Int32Array(t.MAX_NUMERIC_CODEWORDS);while(r<e[0]&&!a){var u=e[r++];if(r===e[0]&&(a=!0),u<t.TEXT_COMPACTION_MODE_LATCH)i[o]=u,o++;else switch(u){case t.TEXT_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:r--,a=!0;break}(o%t.MAX_NUMERIC_CODEWORDS===0||u===t.NUMERIC_COMPACTION_MODE_LATCH||a)&&o>0&&(n.append(t.decodeBase900toBase10(i,o)),o=0)}return r},t.decodeBase900toBase10=function(e,r){for(var n=v(0),o=0;o<r;o++)n+=t.EXP900[r-o-1]*v(e[o]);var a=n.toString();if("1"!==a.charAt(0))throw new i.default;return a.substring(1)},t.TEXT_COMPACTION_MODE_LATCH=900,t.BYTE_COMPACTION_MODE_LATCH=901,t.NUMERIC_COMPACTION_MODE_LATCH=902,t.BYTE_COMPACTION_MODE_LATCH_6=924,t.ECI_USER_DEFINED=925,t.ECI_GENERAL_PURPOSE=926,t.ECI_CHARSET=927,t.BEGIN_MACRO_PDF417_CONTROL_BLOCK=928,t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD=923,t.MACRO_PDF417_TERMINATOR=922,t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE=913,t.MAX_NUMERIC_CODEWORDS=15,t.MACRO_PDF417_OPTIONAL_FIELD_FILE_NAME=0,t.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT=1,t.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP=2,t.MACRO_PDF417_OPTIONAL_FIELD_SENDER=3,t.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE=4,t.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE=5,t.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM=6,t.PL=25,t.LL=27,t.AS=27,t.ML=28,t.AL=28,t.PS=29,t.PAL=29,t.PUNCT_CHARS=";<>@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",t.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",t.EXP900=y()?function(){var t=[];t[0]=v(1);var e=v(900);t[1]=e;for(var r=2;r<16;r++)t[r]=t[r-1]*e;return t}():[],t.NUMBER_OF_SEQUENCE_CODEWORDS=2,t}(),_=w;e.default=_}).call(this,r("0ee4"))},"0382":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserMultiFormatReader=void 0,r("8a8d");var o=r("a5d4"),a=n(r("b6de")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){function e(e,r){void 0===e&&(e=null),void 0===r&&(r=500);var n,o=new a.default;return o.setHints(e),n=t.call(this,o,r)||this,n}return i(e,t),e.prototype.decodeBitmap=function(t){return this.reader.decodeWithState(t)},e}(o.BrowserCodeReader);e.BrowserMultiFormatReader=u},"0402":function(t,e,r){"use strict";var n=r("312f"),o=r.n(n);o.a},"0497":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("1878"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("c9b5"),r("ab80");var o=n(r("e415")),a=n(r("1ff8")),i=n(r("f7fd")),u=function(){function t(t,e){if(0===e.length)throw new i.default;this.field=t;var r=e.length;if(r>1&&0===e[0]){var n=1;while(n<r&&0===e[n])n++;n===r?this.coefficients=Int32Array.from([0]):(this.coefficients=new Int32Array(r-n),a.default.arraycopy(e,n,this.coefficients,0,this.coefficients.length))}else this.coefficients=e}return t.prototype.getCoefficients=function(){return this.coefficients},t.prototype.getDegree=function(){return this.coefficients.length-1},t.prototype.isZero=function(){return 0===this.coefficients[0]},t.prototype.getCoefficient=function(t){return this.coefficients[this.coefficients.length-1-t]},t.prototype.evaluateAt=function(t){if(0===t)return this.getCoefficient(0);var e,r=this.coefficients;if(1===t){e=0;for(var n=0,a=r.length;n!==a;n++){var i=r[n];e=o.default.addOrSubtract(e,i)}return e}e=r[0];var u=r.length,f=this.field;for(n=1;n<u;n++)e=o.default.addOrSubtract(f.multiply(t,e),r[n]);return e},t.prototype.addOrSubtract=function(e){if(!this.field.equals(e.field))throw new i.default("GenericGFPolys do not have same GenericGF field");if(this.isZero())return e;if(e.isZero())return this;var r=this.coefficients,n=e.coefficients;if(r.length>n.length){var u=r;r=n,n=u}var f=new Int32Array(n.length),d=n.length-r.length;a.default.arraycopy(n,0,f,0,d);for(var s=d;s<n.length;s++)f[s]=o.default.addOrSubtract(r[s-d],n[s]);return new t(this.field,f)},t.prototype.multiply=function(e){if(!this.field.equals(e.field))throw new i.default("GenericGFPolys do not have same GenericGF field");if(this.isZero()||e.isZero())return this.field.getZero();for(var r=this.coefficients,n=r.length,a=e.coefficients,u=a.length,f=new Int32Array(n+u-1),d=this.field,s=0;s<n;s++)for(var c=r[s],l=0;l<u;l++)f[s+l]=o.default.addOrSubtract(f[s+l],d.multiply(c,a[l]));return new t(d,f)},t.prototype.multiplyScalar=function(e){if(0===e)return this.field.getZero();if(1===e)return this;for(var r=this.coefficients.length,n=this.field,o=new Int32Array(r),a=this.coefficients,i=0;i<r;i++)o[i]=n.multiply(a[i],e);return new t(n,o)},t.prototype.multiplyByMonomial=function(e,r){if(e<0)throw new i.default;if(0===r)return this.field.getZero();for(var n=this.coefficients,o=n.length,a=new Int32Array(o+e),u=this.field,f=0;f<o;f++)a[f]=u.multiply(n[f],r);return new t(u,a)},t.prototype.divide=function(t){if(!this.field.equals(t.field))throw new i.default("GenericGFPolys do not have same GenericGF field");if(t.isZero())throw new i.default("Divide by 0");var e=this.field,r=e.getZero(),n=this,o=t.getCoefficient(t.getDegree()),a=e.inverse(o);while(n.getDegree()>=t.getDegree()&&!n.isZero()){var u=n.getDegree()-t.getDegree(),f=e.multiply(n.getCoefficient(n.getDegree()),a),d=t.multiplyByMonomial(u,f),s=e.buildMonomial(u,f);r=r.addOrSubtract(s),n=n.addOrSubtract(d)}return[r,n]},t.prototype.toString=function(){for(var t="",e=this.getDegree();e>=0;e--){var r=this.getCoefficient(e);if(0!==r){if(r<0?(t+=" - ",r=-r):t.length>0&&(t+=" + "),0===e||1!==r){var n=this.field.log(r);0===n?t+="1":1===n?t+="a":(t+="a^",t+=n)}0!==e&&(1===e?t+="x":(t+="x^",t+=e))}}return t},t}(),f=u;e.default=f},"061d":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("4db2"),r("bf0f"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1851");var o=n(r("36d3")),a=function(){function t(t,e,r){this.codewords=t,this.numcols=e,this.numrows=r,this.bits=new Uint8Array(e*r),o.default.fill(this.bits,2)}return t.prototype.getNumrows=function(){return this.numrows},t.prototype.getNumcols=function(){return this.numcols},t.prototype.getBits=function(){return this.bits},t.prototype.getBit=function(t,e){return 1===this.bits[e*this.numcols+t]},t.prototype.setBit=function(t,e,r){this.bits[e*this.numcols+t]=r?1:0},t.prototype.noBit=function(t,e){return 2===this.bits[e*this.numcols+t]},t.prototype.place=function(){var t=0,e=4,r=0;do{e===this.numrows&&0===r&&this.corner1(t++),e===this.numrows-2&&0===r&&this.numcols%4!==0&&this.corner2(t++),e===this.numrows-2&&0===r&&this.numcols%8===4&&this.corner3(t++),e===this.numrows+4&&2===r&&this.numcols%8===0&&this.corner4(t++);do{e<this.numrows&&r>=0&&this.noBit(r,e)&&this.utah(e,r,t++),e-=2,r+=2}while(e>=0&&r<this.numcols);e++,r+=3;do{e>=0&&r<this.numcols&&this.noBit(r,e)&&this.utah(e,r,t++),e+=2,r-=2}while(e<this.numrows&&r>=0);e+=3,r++}while(e<this.numrows||r<this.numcols);this.noBit(this.numcols-1,this.numrows-1)&&(this.setBit(this.numcols-1,this.numrows-1,!0),this.setBit(this.numcols-2,this.numrows-2,!0))},t.prototype.module=function(t,e,r,n){t<0&&(t+=this.numrows,e+=4-(this.numrows+4)%8),e<0&&(e+=this.numcols,t+=4-(this.numcols+4)%8);var o=this.codewords.charCodeAt(r);o&=1<<8-n,this.setBit(e,t,0!==o)},t.prototype.utah=function(t,e,r){this.module(t-2,e-2,r,1),this.module(t-2,e-1,r,2),this.module(t-1,e-2,r,3),this.module(t-1,e-1,r,4),this.module(t-1,e,r,5),this.module(t,e-2,r,6),this.module(t,e-1,r,7),this.module(t,e,r,8)},t.prototype.corner1=function(t){this.module(this.numrows-1,0,t,1),this.module(this.numrows-1,1,t,2),this.module(this.numrows-1,2,t,3),this.module(0,this.numcols-2,t,4),this.module(0,this.numcols-1,t,5),this.module(1,this.numcols-1,t,6),this.module(2,this.numcols-1,t,7),this.module(3,this.numcols-1,t,8)},t.prototype.corner2=function(t){this.module(this.numrows-3,0,t,1),this.module(this.numrows-2,0,t,2),this.module(this.numrows-1,0,t,3),this.module(0,this.numcols-4,t,4),this.module(0,this.numcols-3,t,5),this.module(0,this.numcols-2,t,6),this.module(0,this.numcols-1,t,7),this.module(1,this.numcols-1,t,8)},t.prototype.corner3=function(t){this.module(this.numrows-3,0,t,1),this.module(this.numrows-2,0,t,2),this.module(this.numrows-1,0,t,3),this.module(0,this.numcols-2,t,4),this.module(0,this.numcols-1,t,5),this.module(1,this.numcols-1,t,6),this.module(2,this.numcols-1,t,7),this.module(3,this.numcols-1,t,8)},t.prototype.corner4=function(t){this.module(this.numrows-1,0,t,1),this.module(this.numrows-1,this.numcols-1,t,2),this.module(0,this.numcols-3,t,3),this.module(0,this.numcols-2,t,4),this.module(0,this.numcols-1,t,5),this.module(1,this.numcols-3,t,6),this.module(1,this.numcols-2,t,7),this.module(1,this.numcols-1,t,8)},t}(),i=a;e.default=i},"0680":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("b717")),a=n(r("0c24")),i=n(r("f228")),u=n(r("3655")),f=n(r("bab0")),d=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ean13Reader=new u.default,e}return d(e,t),e.prototype.getBarcodeFormat=function(){return o.default.UPC_A},e.prototype.decode=function(t,e){return this.maybeReturnResult(this.ean13Reader.decode(t))},e.prototype.decodeRow=function(t,e,r){return this.maybeReturnResult(this.ean13Reader.decodeRow(t,e,r))},e.prototype.decodeMiddle=function(t,e,r){return this.ean13Reader.decodeMiddle(t,e,r)},e.prototype.maybeReturnResult=function(t){var e=t.getText();if("0"===e.charAt(0)){var r=new a.default(e.substring(1),null,null,t.getResultPoints(),o.default.UPC_A);return null!=t.getResultMetadata()&&r.putAllMetadata(t.getResultMetadata()),r}throw new i.default},e.prototype.reset=function(){this.ean13Reader.reset()},e}(f.default),c=s;e.default=c},"08b1":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("cf80");var o=n(r("dfe7")),a=n(r("7e9b")),i=n(r("d9cd")),u=n(r("f228")),f=n(r("a8be")),d=function(){function t(t){this.image=t,this.rectangleDetector=new o.default(this.image)}return t.prototype.detect=function(){var e=this.rectangleDetector.detect(),r=this.detectSolid1(e);if(r=this.detectSolid2(r),r[3]=this.correctTopRight(r),!r[3])throw new u.default;r=this.shiftToModuleCenter(r);var n=r[0],o=r[1],i=r[2],f=r[3],d=this.transitionsBetween(n,f)+1,s=this.transitionsBetween(i,f)+1;1===(1&d)&&(d+=1),1===(1&s)&&(s+=1),4*d<7*s&&4*s<7*d&&(d=s=Math.max(d,s));var c=t.sampleGrid(this.image,n,o,i,f,d,s);return new a.default(c,[n,o,i,f])},t.shiftPoint=function(t,e,r){var n=(e.getX()-t.getX())/(r+1),o=(e.getY()-t.getY())/(r+1);return new f.default(t.getX()+n,t.getY()+o)},t.moveAway=function(t,e,r){var n=t.getX(),o=t.getY();return n<e?n-=1:n+=1,o<r?o-=1:o+=1,new f.default(n,o)},t.prototype.detectSolid1=function(t){var e=t[0],r=t[1],n=t[3],o=t[2],a=this.transitionsBetween(e,r),i=this.transitionsBetween(r,n),u=this.transitionsBetween(n,o),f=this.transitionsBetween(o,e),d=a,s=[o,e,r,n];return d>i&&(d=i,s[0]=e,s[1]=r,s[2]=n,s[3]=o),d>u&&(d=u,s[0]=r,s[1]=n,s[2]=o,s[3]=e),d>f&&(s[0]=n,s[1]=o,s[2]=e,s[3]=r),s},t.prototype.detectSolid2=function(e){var r=e[0],n=e[1],o=e[2],a=e[3],i=this.transitionsBetween(r,a),u=t.shiftPoint(n,o,4*(i+1)),f=t.shiftPoint(o,n,4*(i+1)),d=this.transitionsBetween(u,r),s=this.transitionsBetween(f,a);return d<s?(e[0]=r,e[1]=n,e[2]=o,e[3]=a):(e[0]=n,e[1]=o,e[2]=a,e[3]=r),e},t.prototype.correctTopRight=function(e){var r=e[0],n=e[1],o=e[2],a=e[3],i=this.transitionsBetween(r,a),u=this.transitionsBetween(n,a),d=t.shiftPoint(r,n,4*(u+1)),s=t.shiftPoint(o,n,4*(i+1));i=this.transitionsBetween(d,a),u=this.transitionsBetween(s,a);var c=new f.default(a.getX()+(o.getX()-n.getX())/(i+1),a.getY()+(o.getY()-n.getY())/(i+1)),l=new f.default(a.getX()+(r.getX()-n.getX())/(u+1),a.getY()+(r.getY()-n.getY())/(u+1));if(!this.isValid(c))return this.isValid(l)?l:null;if(!this.isValid(l))return c;var h=this.transitionsBetween(d,c)+this.transitionsBetween(s,c),p=this.transitionsBetween(d,l)+this.transitionsBetween(s,l);return h>p?c:l},t.prototype.shiftToModuleCenter=function(e){var r=e[0],n=e[1],o=e[2],a=e[3],i=this.transitionsBetween(r,a)+1,u=this.transitionsBetween(o,a)+1,f=t.shiftPoint(r,n,4*u),d=t.shiftPoint(o,n,4*i);i=this.transitionsBetween(f,a)+1,u=this.transitionsBetween(d,a)+1,1===(1&i)&&(i+=1),1===(1&u)&&(u+=1);var s,c,l=(r.getX()+n.getX()+o.getX()+a.getX())/4,h=(r.getY()+n.getY()+o.getY()+a.getY())/4;return r=t.moveAway(r,l,h),n=t.moveAway(n,l,h),o=t.moveAway(o,l,h),a=t.moveAway(a,l,h),f=t.shiftPoint(r,n,4*u),f=t.shiftPoint(f,a,4*i),s=t.shiftPoint(n,r,4*u),s=t.shiftPoint(s,o,4*i),d=t.shiftPoint(o,a,4*u),d=t.shiftPoint(d,n,4*i),c=t.shiftPoint(a,o,4*u),c=t.shiftPoint(c,r,4*i),[f,s,d,c]},t.prototype.isValid=function(t){return t.getX()>=0&&t.getX()<this.image.getWidth()&&t.getY()>0&&t.getY()<this.image.getHeight()},t.sampleGrid=function(t,e,r,n,o,a,u){var f=i.default.getInstance();return f.sampleGrid(t,a,u,.5,.5,a-.5,.5,a-.5,u-.5,.5,u-.5,e.getX(),e.getY(),o.getX(),o.getY(),n.getX(),n.getY(),r.getX(),r.getY())},t.prototype.transitionsBetween=function(t,e){var r=Math.trunc(t.getX()),n=Math.trunc(t.getY()),o=Math.trunc(e.getX()),a=Math.trunc(e.getY()),i=Math.abs(a-n)>Math.abs(o-r);if(i){var u=r;r=n,n=u,u=o,o=a,a=u}for(var f=Math.abs(o-r),d=Math.abs(a-n),s=-f/2,c=n<a?1:-1,l=r<o?1:-1,h=0,p=this.image.get(i?n:r,i?r:n),g=r,y=n;g!==o;g+=l){var v=this.image.get(i?y:g,i?g:y);if(v!==p&&(h++,p=v),s+=d,s>0){if(y===a)break;y+=c,s-=f}}return h},t}(),s=d;e.default=s},"08c4":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("b717")),a=n(r("7e0b")),i=n(r("76a0")),u=n(r("f228")),f=n(r("0c24")),d=n(r("37ed")),s=n(r("cd4e")),c=n(r("3f6d")),l=n(r("35e9")),h=function(){function t(){this.decoder=new s.default}return t.prototype.getDecoder=function(){return this.decoder},t.prototype.decode=function(e,r){var n,a;if(void 0!==r&&null!==r&&void 0!==r.get(i.default.PURE_BARCODE)){var u=t.extractPureBits(e.getBlackMatrix());n=this.decoder.decodeBitMatrix(u,r),a=t.NO_POINTS}else{var s=new l.default(e.getBlackMatrix()).detect(r);n=this.decoder.decodeBitMatrix(s.getBits(),r),a=s.getPoints()}n.getOther()instanceof c.default&&n.getOther().applyMirroredCorrection(a);var h=new f.default(n.getText(),n.getRawBytes(),void 0,a,o.default.QR_CODE,void 0),p=n.getByteSegments();null!==p&&h.putMetadata(d.default.BYTE_SEGMENTS,p);var g=n.getECLevel();return null!==g&&h.putMetadata(d.default.ERROR_CORRECTION_LEVEL,g),n.hasStructuredAppend()&&(h.putMetadata(d.default.STRUCTURED_APPEND_SEQUENCE,n.getStructuredAppendSequenceNumber()),h.putMetadata(d.default.STRUCTURED_APPEND_PARITY,n.getStructuredAppendParity())),h},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),r=t.getBottomRightOnBit();if(null===e||null===r)throw new u.default;var n=this.moduleSize(e,t),o=e[1],i=r[1],f=e[0],d=r[0];if(f>=d||o>=i)throw new u.default;if(i-o!==d-f&&(d=f+(i-o),d>=t.getWidth()))throw new u.default;var s=Math.round((d-f+1)/n),c=Math.round((i-o+1)/n);if(s<=0||c<=0)throw new u.default;if(c!==s)throw new u.default;var l=Math.floor(n/2);o+=l,f+=l;var h=f+Math.floor((s-1)*n)-d;if(h>0){if(h>l)throw new u.default;f-=h}var p=o+Math.floor((c-1)*n)-i;if(p>0){if(p>l)throw new u.default;o-=p}for(var g=new a.default(s,c),y=0;y<c;y++)for(var v=o+Math.floor(y*n),w=0;w<s;w++)t.get(f+Math.floor(w*n),v)&&g.set(w,y);return g},t.moduleSize=function(t,e){var r=e.getHeight(),n=e.getWidth(),o=t[0],a=t[1],i=!0,f=0;while(o<n&&a<r){if(i!==e.get(o,a)){if(5===++f)break;i=!i}o++,a++}if(o===n||a===r)throw new u.default;return(o-t[0])/7},t.NO_POINTS=new Array,t}(),p=h;e.default=p},"08c5":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ErrorCorrectionLevelValues=void 0,r("c9b5"),r("bf0f"),r("ab80"),r("c1a3"),r("18f7"),r("de6c");var o,a=n(r("3fa8")),i=n(r("f7fd"));e.ErrorCorrectionLevelValues=o,function(t){t[t["L"]=0]="L",t[t["M"]=1]="M",t[t["Q"]=2]="Q",t[t["H"]=3]="H"}(o||(e.ErrorCorrectionLevelValues=o={}));var u=function(){function t(e,r,n){this.value=e,this.stringValue=r,this.bits=n,t.FOR_BITS.set(n,this),t.FOR_VALUE.set(e,this)}return t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.fromString=function(e){switch(e){case"L":return t.L;case"M":return t.M;case"Q":return t.Q;case"H":return t.H;default:throw new a.default(e+"not available")}},t.prototype.toString=function(){return this.stringValue},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value},t.forBits=function(e){if(e<0||e>=t.FOR_BITS.size)throw new i.default;return t.FOR_BITS.get(e)},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.L=new t(o.L,"L",1),t.M=new t(o.M,"M",0),t.Q=new t(o.Q,"Q",3),t.H=new t(o.H,"H",2),t}(),f=u;e.default=f},"0b46":function(t,e,r){"use strict";var n=r("6a50");n("Int8",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},"0c24":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c1a3"),r("bf0f"),r("18f7"),r("de6c"),r("c9b5"),r("ab80");var o=n(r("1ff8")),a=function(){function t(t,e,r,n,a,i){void 0===r&&(r=null==e?0:8*e.length),void 0===i&&(i=o.default.currentTimeMillis()),this.text=t,this.rawBytes=e,this.numBits=r,this.resultPoints=n,this.format=a,this.timestamp=i,this.text=t,this.rawBytes=e,this.numBits=void 0===r||null===r?null===e||void 0===e?0:8*e.length:r,this.resultPoints=n,this.format=a,this.resultMetadata=null,this.timestamp=void 0===i||null===i?o.default.currentTimeMillis():i}return t.prototype.getText=function(){return this.text},t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.getBarcodeFormat=function(){return this.format},t.prototype.getResultMetadata=function(){return this.resultMetadata},t.prototype.putMetadata=function(t,e){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(t,e)},t.prototype.putAllMetadata=function(t){null!==t&&(null===this.resultMetadata?this.resultMetadata=t:this.resultMetadata=new Map(t))},t.prototype.addResultPoints=function(t){var e=this.resultPoints;if(null===e)this.resultPoints=t;else if(null!==t&&t.length>0){var r=new Array(e.length+t.length);o.default.arraycopy(e,0,r,0,e.length),o.default.arraycopy(t,0,r,e.length,t.length),this.resultPoints=r}},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.toString=function(){return this.text},t}(),i=a;e.default=i},"0dec":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserBarcodeReader=void 0,r("8a8d");var o=r("a5d4"),a=n(r("51ff")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){function e(e,r){return void 0===e&&(e=500),t.call(this,new a.default(r),e,r)||this}return i(e,t),e}(o.BrowserCodeReader);e.BrowserBarcodeReader=u},"0e18":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80");var n=function(){function t(t,e,r,n){this.leftchar=t,this.rightchar=e,this.finderpattern=r,this.maybeLast=n}return t.prototype.mayBeLast=function(){return this.maybeLast},t.prototype.getLeftChar=function(){return this.leftchar},t.prototype.getRightChar=function(){return this.rightchar},t.prototype.getFinderPattern=function(){return this.finderpattern},t.prototype.mustBeLast=function(){return null==this.rightchar},t.prototype.toString=function(){return"[ "+this.leftchar+", "+this.rightchar+" : "+(null==this.finderpattern?"null":this.finderpattern.getValue())+" ]"},t.equals=function(e,r){return e instanceof t&&(t.equalsOrNull(e.leftchar,r.leftchar)&&t.equalsOrNull(e.rightchar,r.rightchar)&&t.equalsOrNull(e.finderpattern,r.finderpattern))},t.equalsOrNull=function(e,r){return null===e?null===r:t.equals(e,r)},t.prototype.hashCode=function(){var t=this.leftchar.getValue()^this.rightchar.getValue()^this.finderpattern.getValue();return t},t}(),o=n;e.default=o},"107a":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t,e,r,n,o,a){void 0===o&&(o=-1),void 0===a&&(a=-1),this.rawBytes=t,this.text=e,this.byteSegments=r,this.ecLevel=n,this.structuredAppendSequenceNumber=o,this.structuredAppendParity=a,this.numBits=void 0===t||null===t?0:8*t.length}return t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.setNumBits=function(t){this.numBits=t},t.prototype.getText=function(){return this.text},t.prototype.getByteSegments=function(){return this.byteSegments},t.prototype.getECLevel=function(){return this.ecLevel},t.prototype.getErrorsCorrected=function(){return this.errorsCorrected},t.prototype.setErrorsCorrected=function(t){this.errorsCorrected=t},t.prototype.getErasures=function(){return this.erasures},t.prototype.setErasures=function(t){this.erasures=t},t.prototype.getOther=function(){return this.other},t.prototype.setOther=function(t){this.other=t},t.prototype.hasStructuredAppend=function(){return this.structuredAppendParity>=0&&this.structuredAppendSequenceNumber>=0},t.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},t.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},t}(),o=n;e.default=o},"13be":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("4db2"),r("bf0f"),r("9480"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("a6ba")),a=n(r("3727")),i=n(r("1ff8")),u=n(r("f7fd")),f=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=function(t){function e(e,r,n,o,a,i,f){var d=t.call(this,r,n)||this;if(d.dataWidth=o,d.dataHeight=a,d.left=i,d.top=f,4===e.BYTES_PER_ELEMENT){for(var s=r*n,c=new Uint8ClampedArray(s),l=0;l<s;l++){var h=e[l],p=h>>16&255,g=h>>7&510,y=255&h;c[l]=(p+g+y)/4&255}d.luminances=c}else d.luminances=e;if(void 0===o&&(d.dataWidth=r),void 0===a&&(d.dataHeight=n),void 0===i&&(d.left=0),void 0===f&&(d.top=0),d.left+r>d.dataWidth||d.top+n>d.dataHeight)throw new u.default("Crop rectangle does not fit within image data.");return d}return f(e,t),e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new u.default("Requested row is outside the image: "+t);var r=this.getWidth();(null===e||void 0===e||e.length<r)&&(e=new Uint8ClampedArray(r));var n=(t+this.top)*this.dataWidth+this.left;return i.default.arraycopy(this.luminances,n,e,0,r),e},e.prototype.getMatrix=function(){var t=this.getWidth(),e=this.getHeight();if(t===this.dataWidth&&e===this.dataHeight)return this.luminances;var r=t*e,n=new Uint8ClampedArray(r),o=this.top*this.dataWidth+this.left;if(t===this.dataWidth)return i.default.arraycopy(this.luminances,o,n,0,r),n;for(var a=0;a<e;a++){var u=a*t;i.default.arraycopy(this.luminances,o,n,u,t),o+=this.dataWidth}return n},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(t,r,n,o){return new e(this.luminances,n,o,this.dataWidth,this.dataHeight,this.left+t,this.top+r)},e.prototype.invert=function(){return new o.default(this)},e}(a.default),s=d;e.default=s},1581:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.kind="IndexOutOfBoundsException",e}(o.default),u=i;e.default=u},"15eb":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserDatamatrixCodeReader=void 0,r("8a8d");var o=r("a5d4"),a=n(r("5847")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){function e(e){return void 0===e&&(e=500),t.call(this,new a.default,e)||this}return i(e,t),e}(o.BrowserCodeReader);e.BrowserDatamatrixCodeReader=u},1851:function(t,e,r){"use strict";var n=r("8bdb"),o=r("84d6"),a=r("1cb5");n({target:"Array",proto:!0},{fill:o}),a("fill")},1878:function(t,e,r){"use strict";var n=r("9839"),o=r("7ddb").exportTypedArrayStaticMethod,a=r("b32e");o("from",a,n)},"1bad":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("f7fd")),a=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,r){var n,i,u,f,d=r.getECBlocks(),s=0,c=d.getECBlocks();try{for(var l=a(c),h=l.next();!h.done;h=l.next()){var p=h.value;s+=p.getCount()}}catch(M){n={error:M}}finally{try{h&&!h.done&&(i=l.return)&&i.call(l)}finally{if(n)throw n.error}}var g=new Array(s),y=0;try{for(var v=a(c),w=v.next();!w.done;w=v.next()){p=w.value;for(var _=0;_<p.getCount();_++){var b=p.getDataCodewords(),C=d.getECCodewords()+b;g[y++]=new t(b,new Uint8Array(C))}}}catch(P){u={error:P}}finally{try{w&&!w.done&&(f=v.return)&&f.call(v)}finally{if(u)throw u.error}}var A=g[0].codewords.length,E=A-d.getECCodewords(),m=E-1,I=0;for(_=0;_<m;_++)for(var O=0;O<y;O++)g[O].codewords[_]=e[I++];var S=24===r.getVersionNumber(),T=S?8:y;for(O=0;O<T;O++)g[O].codewords[E-1]=e[I++];var N=g[0].codewords.length;for(_=E;_<N;_++)for(O=0;O<y;O++){var R=S?(O+8)%y:O,D=S&&R>7?_-1:_;g[R].codewords[D]=e[I++]}if(I!==e.length)throw new o.default;return g},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}(),u=i;e.default=u},"1d84":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("e062"),r("64aa");var n=function(){function t(){}return t.floatToIntBits=function(t){return t},t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}(),o=n;e.default=o},"1daa":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.kind="NullPointerException",e}(o.default),u=i;e.default=u},"1eca":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ECBlocks=e.ECB=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("aa9c"),r("ab80");var o=n(r("343e")),a=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function t(t,e,r){this.ecCodewords=t,this.ecBlocks=[e],r&&this.ecBlocks.push(r)}return t.prototype.getECCodewords=function(){return this.ecCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t}();e.ECBlocks=i;var u=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}();e.ECB=u;var f=function(){function t(t,e,r,n,o,i){var u,f;this.versionNumber=t,this.symbolSizeRows=e,this.symbolSizeColumns=r,this.dataRegionSizeRows=n,this.dataRegionSizeColumns=o,this.ecBlocks=i;var d=0,s=i.getECCodewords(),c=i.getECBlocks();try{for(var l=a(c),h=l.next();!h.done;h=l.next()){var p=h.value;d+=p.getCount()*(p.getDataCodewords()+s)}}catch(g){u={error:g}}finally{try{h&&!h.done&&(f=l.return)&&f.call(l)}finally{if(u)throw u.error}}this.totalCodewords=d}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},t.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},t.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},t.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t.getVersionForDimensions=function(e,r){var n,i;if(0!==(1&e)||0!==(1&r))throw new o.default;try{for(var u=a(t.VERSIONS),f=u.next();!f.done;f=u.next()){var d=f.value;if(d.symbolSizeRows===e&&d.symbolSizeColumns===r)return d}}catch(s){n={error:s}}finally{try{f&&!f.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}throw new o.default},t.prototype.toString=function(){return""+this.versionNumber},t.buildVersions=function(){return[new t(1,10,10,8,8,new i(5,new u(1,3))),new t(2,12,12,10,10,new i(7,new u(1,5))),new t(3,14,14,12,12,new i(10,new u(1,8))),new t(4,16,16,14,14,new i(12,new u(1,12))),new t(5,18,18,16,16,new i(14,new u(1,18))),new t(6,20,20,18,18,new i(18,new u(1,22))),new t(7,22,22,20,20,new i(20,new u(1,30))),new t(8,24,24,22,22,new i(24,new u(1,36))),new t(9,26,26,24,24,new i(28,new u(1,44))),new t(10,32,32,14,14,new i(36,new u(1,62))),new t(11,36,36,16,16,new i(42,new u(1,86))),new t(12,40,40,18,18,new i(48,new u(1,114))),new t(13,44,44,20,20,new i(56,new u(1,144))),new t(14,48,48,22,22,new i(68,new u(1,174))),new t(15,52,52,24,24,new i(42,new u(2,102))),new t(16,64,64,14,14,new i(56,new u(2,140))),new t(17,72,72,16,16,new i(36,new u(4,92))),new t(18,80,80,18,18,new i(48,new u(4,114))),new t(19,88,88,20,20,new i(56,new u(4,144))),new t(20,96,96,22,22,new i(68,new u(4,174))),new t(21,104,104,24,24,new i(56,new u(6,136))),new t(22,120,120,18,18,new i(68,new u(6,175))),new t(23,132,132,20,20,new i(62,new u(8,163))),new t(24,144,144,22,22,new i(62,new u(8,156),new u(2,155))),new t(25,8,18,6,16,new i(7,new u(1,5))),new t(26,8,32,6,14,new i(11,new u(1,10))),new t(27,12,26,10,24,new i(14,new u(1,16))),new t(28,12,36,10,16,new i(18,new u(1,22))),new t(29,16,36,14,16,new i(24,new u(1,32))),new t(30,16,48,14,22,new i(28,new u(1,49)))]},t.VERSIONS=t.buildVersions(),t}(),d=f;e.default=d},"1ee0":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("ab80");var o=n(r("f7fd")),a=n(r("1ff8")),i=n(r("d4f8")),u=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(){function t(t,e){if(0===e.length)throw new o.default;this.field=t;var r=e.length;if(r>1&&0===e[0]){var n=1;while(n<r&&0===e[n])n++;n===r?this.coefficients=new Int32Array([0]):(this.coefficients=new Int32Array(r-n),a.default.arraycopy(e,n,this.coefficients,0,this.coefficients.length))}else this.coefficients=e}return t.prototype.getCoefficients=function(){return this.coefficients},t.prototype.getDegree=function(){return this.coefficients.length-1},t.prototype.isZero=function(){return 0===this.coefficients[0]},t.prototype.getCoefficient=function(t){return this.coefficients[this.coefficients.length-1-t]},t.prototype.evaluateAt=function(t){var e,r;if(0===t)return this.getCoefficient(0);if(1===t){var n=0;try{for(var o=u(this.coefficients),a=o.next();!a.done;a=o.next()){var i=a.value;n=this.field.add(n,i)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n}for(var f=this.coefficients[0],d=this.coefficients.length,s=1;s<d;s++)f=this.field.add(this.field.multiply(t,f),this.coefficients[s]);return f},t.prototype.add=function(e){if(!this.field.equals(e.field))throw new o.default("ModulusPolys do not have same ModulusGF field");if(this.isZero())return e;if(e.isZero())return this;var r=this.coefficients,n=e.coefficients;if(r.length>n.length){var i=r;r=n,n=i}var u=new Int32Array(n.length),f=n.length-r.length;a.default.arraycopy(n,0,u,0,f);for(var d=f;d<n.length;d++)u[d]=this.field.add(r[d-f],n[d]);return new t(this.field,u)},t.prototype.subtract=function(t){if(!this.field.equals(t.field))throw new o.default("ModulusPolys do not have same ModulusGF field");return t.isZero()?this:this.add(t.negative())},t.prototype.multiply=function(e){return e instanceof t?this.multiplyOther(e):this.multiplyScalar(e)},t.prototype.multiplyOther=function(e){if(!this.field.equals(e.field))throw new o.default("ModulusPolys do not have same ModulusGF field");if(this.isZero()||e.isZero())return new t(this.field,new Int32Array([0]));for(var r=this.coefficients,n=r.length,a=e.coefficients,i=a.length,u=new Int32Array(n+i-1),f=0;f<n;f++)for(var d=r[f],s=0;s<i;s++)u[f+s]=this.field.add(u[f+s],this.field.multiply(d,a[s]));return new t(this.field,u)},t.prototype.negative=function(){for(var e=this.coefficients.length,r=new Int32Array(e),n=0;n<e;n++)r[n]=this.field.subtract(0,this.coefficients[n]);return new t(this.field,r)},t.prototype.multiplyScalar=function(e){if(0===e)return new t(this.field,new Int32Array([0]));if(1===e)return this;for(var r=this.coefficients.length,n=new Int32Array(r),o=0;o<r;o++)n[o]=this.field.multiply(this.coefficients[o],e);return new t(this.field,n)},t.prototype.multiplyByMonomial=function(e,r){if(e<0)throw new o.default;if(0===r)return new t(this.field,new Int32Array([0]));for(var n=this.coefficients.length,a=new Int32Array(n+e),i=0;i<n;i++)a[i]=this.field.multiply(this.coefficients[i],r);return new t(this.field,a)},t.prototype.toString=function(){for(var t=new i.default,e=this.getDegree();e>=0;e--){var r=this.getCoefficient(e);0!==r&&(r<0?(t.append(" - "),r=-r):t.length()>0&&t.append(" + "),0!==e&&1===r||t.append(r),0!==e&&(1===e?t.append("x"):(t.append("x^"),t.append(e))))}return t.toString()},t}(),d=f;e.default=d},"1ff8":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(){}return t.arraycopy=function(t,e,r,n,o){while(o--)r[n++]=t[e++]},t.currentTimeMillis=function(){return Date.now()},t}(),o=n;e.default=o},2004:function(t,e,r){"use strict";function n(t,e){void 0===e&&(e=t.constructor);var r=Error.captureStackTrace;r&&r(t,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.CustomError=void 0,e.customErrorFactory=function(t,e){void 0===e&&(e=Error);function r(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];if(!(this instanceof r))return new(r.bind.apply(r,i([void 0],o,!1)));e.apply(this,o),Object.defineProperty(this,"name",{value:t.name||e.name,enumerable:!1,configurable:!0}),t.apply(this,o),n(this,r)}return Object.defineProperties(r,{prototype:{value:Object.create(e.prototype,{constructor:{value:r,writable:!0,configurable:!0}})}})},r("8a8d"),r("7a76"),r("c9b5"),r("6a54"),r("f7a5"),r("c223"),r("a03a");var o=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)};return function(e,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=function(t){function e(e,r){var o=this.constructor,a=t.call(this,e,r)||this;return Object.defineProperty(a,"name",{value:o.name,enumerable:!1,configurable:!0}),function(t,e){var r=Object.setPrototypeOf;r?r(t,e):t.__proto__=e}(a,o.prototype),n(a),a}return o(e,t),e}(Error);e.CustomError=a;var i=function(t,e,r){if(r||2===arguments.length)for(var n,o=0,a=e.length;o<a;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}},"20f3":function(t,e,r){"use strict";var n=r("8bdb"),o=r("5145");n({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},"22f7":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("cf80"),r("aa9c"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1878"),r("1851");var o=n(r("a8be")),a=n(r("1ff8")),i=n(r("36d3")),u=n(r("c1dd")),f=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(){function t(){}return t.detectMultiple=function(e,r,n){var o=e.getBlackMatrix(),a=t.detect(n,o);return a.length||(o=o.clone(),o.rotate180(),a=t.detect(n,o)),new u.default(o,a)},t.detect=function(e,r){var n,o,a=new Array,i=0,u=0,d=!1;while(i<r.getHeight()){var s=t.findVertices(r,i,u);if(null!=s[0]||null!=s[3]){if(d=!0,a.push(s),!e)break;null!=s[2]?(u=Math.trunc(s[2].getX()),i=Math.trunc(s[2].getY())):(u=Math.trunc(s[4].getX()),i=Math.trunc(s[4].getY()))}else{if(!d)break;d=!1,u=0;try{for(var c=(n=void 0,f(a)),l=c.next();!l.done;l=c.next()){var h=l.value;null!=h[1]&&(i=Math.trunc(Math.max(i,h[1].getY()))),null!=h[3]&&(i=Math.max(i,Math.trunc(h[3].getY())))}}catch(p){n={error:p}}finally{try{l&&!l.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}i+=t.ROW_STEP}}return a},t.findVertices=function(e,r,n){var o=e.getHeight(),a=e.getWidth(),i=new Array(8);return t.copyToResult(i,t.findRowsWithPattern(e,o,a,r,n,t.START_PATTERN),t.INDEXES_START_PATTERN),null!=i[4]&&(n=Math.trunc(i[4].getX()),r=Math.trunc(i[4].getY())),t.copyToResult(i,t.findRowsWithPattern(e,o,a,r,n,t.STOP_PATTERN),t.INDEXES_STOP_PATTERN),i},t.copyToResult=function(t,e,r){for(var n=0;n<r.length;n++)t[r[n]]=e[n]},t.findRowsWithPattern=function(e,r,n,a,u,f){for(var d=new Array(4),s=!1,c=new Int32Array(f.length);a<r;a+=t.ROW_STEP){var l=t.findGuardPattern(e,u,a,n,!1,f,c);if(null!=l){while(a>0){var h=t.findGuardPattern(e,u,--a,n,!1,f,c);if(null==h){a++;break}l=h}d[0]=new o.default(l[0],a),d[1]=new o.default(l[1],a),s=!0;break}}var p=a+1;if(s){var g=0;for(h=Int32Array.from([Math.trunc(d[0].getX()),Math.trunc(d[1].getX())]);p<r;p++){l=t.findGuardPattern(e,h[0],p,n,!1,f,c);if(null!=l&&Math.abs(h[0]-l[0])<t.MAX_PATTERN_DRIFT&&Math.abs(h[1]-l[1])<t.MAX_PATTERN_DRIFT)h=l,g=0;else{if(g>t.SKIPPED_ROW_COUNT_MAX)break;g++}}p-=g+1,d[2]=new o.default(h[0],p),d[3]=new o.default(h[1],p)}return p-a<t.BARCODE_MIN_HEIGHT&&i.default.fill(d,null),d},t.findGuardPattern=function(e,r,n,o,u,f,d){i.default.fillWithin(d,0,d.length,0);var s=r,c=0;while(e.get(s,n)&&s>0&&c++<t.MAX_PIXEL_DRIFT)s--;for(var l=s,h=0,p=f.length,g=u;l<o;l++){var y=e.get(l,n);if(y!==g)d[h]++;else{if(h===p-1){if(t.patternMatchVariance(d,f,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return new Int32Array([s,l]);s+=d[0]+d[1],a.default.arraycopy(d,2,d,0,h-1),d[h-1]=0,d[h]=0,h--}else h++;d[h]=1,g=!g}}return h===p-1&&t.patternMatchVariance(d,f,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE?new Int32Array([s,l-1]):null},t.patternMatchVariance=function(t,e,r){for(var n=t.length,o=0,a=0,i=0;i<n;i++)o+=t[i],a+=e[i];if(o<a)return 1/0;var u=o/a;r*=u;for(var f=0,d=0;d<n;d++){var s=t[d],c=e[d]*u,l=s>c?s-c:c-s;if(l>r)return 1/0;f+=l}return f/o},t.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),t.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),t.MAX_AVG_VARIANCE=.42,t.MAX_INDIVIDUAL_VARIANCE=.8,t.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),t.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),t.MAX_PIXEL_DRIFT=3,t.MAX_PATTERN_DRIFT=5,t.SKIPPED_ROW_COUNT_MAX=25,t.ROW_STEP=5,t.BARCODE_MIN_HEIGHT=10,t}(),s=d;e.default=s},"247d":function(t,e,r){"use strict";var n=r("6a50");n("Uint16",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},2508:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("c9b5"),r("bf0f"),r("ab80");var o=n(r("5935")),a=n(r("f228")),i=n(r("d4f8")),u=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),f=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()<e.HEADER_SIZE+o.default.GTIN_SIZE)throw new a.default;var t=new i.default;this.encodeCompressedGtin(t,e.HEADER_SIZE);var r=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+o.default.GTIN_SIZE,e.LAST_DIGIT_SIZE);t.append("(393"),t.append(r),t.append(")");var n=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+o.default.GTIN_SIZE+e.LAST_DIGIT_SIZE,e.FIRST_THREE_DIGITS_SIZE);n/100===0&&t.append("0"),n/10===0&&t.append("0"),t.append(n);var u=this.getGeneralDecoder().decodeGeneralPurposeField(e.HEADER_SIZE+o.default.GTIN_SIZE+e.LAST_DIGIT_SIZE+e.FIRST_THREE_DIGITS_SIZE,null);return t.append(u.getNewString()),t.toString()},e.HEADER_SIZE=8,e.LAST_DIGIT_SIZE=2,e.FIRST_THREE_DIGITS_SIZE=10,e}(o.default),d=f;e.default=d},"253e":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CharacterSetValueIdentifiers=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("1878"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("c1a3");var o,a=n(r("343e")),i=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};e.CharacterSetValueIdentifiers=o,function(t){t[t["Cp437"]=0]="Cp437",t[t["ISO8859_1"]=1]="ISO8859_1",t[t["ISO8859_2"]=2]="ISO8859_2",t[t["ISO8859_3"]=3]="ISO8859_3",t[t["ISO8859_4"]=4]="ISO8859_4",t[t["ISO8859_5"]=5]="ISO8859_5",t[t["ISO8859_6"]=6]="ISO8859_6",t[t["ISO8859_7"]=7]="ISO8859_7",t[t["ISO8859_8"]=8]="ISO8859_8",t[t["ISO8859_9"]=9]="ISO8859_9",t[t["ISO8859_10"]=10]="ISO8859_10",t[t["ISO8859_11"]=11]="ISO8859_11",t[t["ISO8859_13"]=12]="ISO8859_13",t[t["ISO8859_14"]=13]="ISO8859_14",t[t["ISO8859_15"]=14]="ISO8859_15",t[t["ISO8859_16"]=15]="ISO8859_16",t[t["SJIS"]=16]="SJIS",t[t["Cp1250"]=17]="Cp1250",t[t["Cp1251"]=18]="Cp1251",t[t["Cp1252"]=19]="Cp1252",t[t["Cp1256"]=20]="Cp1256",t[t["UnicodeBigUnmarked"]=21]="UnicodeBigUnmarked",t[t["UTF8"]=22]="UTF8",t[t["ASCII"]=23]="ASCII",t[t["Big5"]=24]="Big5",t[t["GB18030"]=25]="GB18030",t[t["EUC_KR"]=26]="EUC_KR"}(o||(e.CharacterSetValueIdentifiers=o={}));var u=function(){function t(e,r,n){for(var o,a,u=[],f=3;f<arguments.length;f++)u[f-3]=arguments[f];this.valueIdentifier=e,this.name=n,this.values="number"===typeof r?Int32Array.from([r]):r,this.otherEncodingNames=u,t.VALUE_IDENTIFIER_TO_ECI.set(e,this),t.NAME_TO_ECI.set(n,this);for(var d=this.values,s=0,c=d.length;s!==c;s++){var l=d[s];t.VALUES_TO_ECI.set(l,this)}try{for(var h=i(u),p=h.next();!p.done;p=h.next()){var g=p.value;t.NAME_TO_ECI.set(g,this)}}catch(y){o={error:y}}finally{try{p&&!p.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}}return t.prototype.getValueIdentifier=function(){return this.valueIdentifier},t.prototype.getName=function(){return this.name},t.prototype.getValue=function(){return this.values[0]},t.getCharacterSetECIByValue=function(e){if(e<0||e>=900)throw new a.default("incorect value");var r=t.VALUES_TO_ECI.get(e);if(void 0===r)throw new a.default("incorect value");return r},t.getCharacterSetECIByName=function(e){var r=t.NAME_TO_ECI.get(e);if(void 0===r)throw new a.default("incorect value");return r},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.getName()===r.getName()},t.VALUE_IDENTIFIER_TO_ECI=new Map,t.VALUES_TO_ECI=new Map,t.NAME_TO_ECI=new Map,t.Cp437=new t(o.Cp437,Int32Array.from([0,2]),"Cp437"),t.ISO8859_1=new t(o.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),t.ISO8859_2=new t(o.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),t.ISO8859_3=new t(o.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),t.ISO8859_4=new t(o.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),t.ISO8859_5=new t(o.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),t.ISO8859_6=new t(o.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),t.ISO8859_7=new t(o.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),t.ISO8859_8=new t(o.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),t.ISO8859_9=new t(o.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),t.ISO8859_10=new t(o.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),t.ISO8859_11=new t(o.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),t.ISO8859_13=new t(o.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),t.ISO8859_14=new t(o.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),t.ISO8859_15=new t(o.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),t.ISO8859_16=new t(o.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),t.SJIS=new t(o.SJIS,20,"SJIS","Shift_JIS"),t.Cp1250=new t(o.Cp1250,21,"Cp1250","windows-1250"),t.Cp1251=new t(o.Cp1251,22,"Cp1251","windows-1251"),t.Cp1252=new t(o.Cp1252,23,"Cp1252","windows-1252"),t.Cp1256=new t(o.Cp1256,24,"Cp1256","windows-1256"),t.UnicodeBigUnmarked=new t(o.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),t.UTF8=new t(o.UTF8,26,"UTF8","UTF-8"),t.ASCII=new t(o.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),t.Big5=new t(o.Big5,28,"Big5"),t.GB18030=new t(o.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),t.EUC_KR=new t(o.EUC_KR,30,"EUC_KR","EUC-KR"),t}(),f=u;e.default=f},2570:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ASCIIEncoder=void 0,r("7a76"),r("c9b5");var o=r("eab1"),a=n(r("3fac")),i=function(){function t(){}return t.prototype.getEncodingMode=function(){return o.ASCII_ENCODATION},t.prototype.encode=function(t){var e=a.default.determineConsecutiveDigitCount(t.getMessage(),t.pos);if(e>=2)t.writeCodeword(this.encodeASCIIDigits(t.getMessage().charCodeAt(t.pos),t.getMessage().charCodeAt(t.pos+1))),t.pos+=2;else{var r=t.getCurrentChar(),n=a.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode());if(n!==this.getEncodingMode())switch(n){case o.BASE256_ENCODATION:return t.writeCodeword(o.LATCH_TO_BASE256),void t.signalEncoderChange(o.BASE256_ENCODATION);case o.C40_ENCODATION:return t.writeCodeword(o.LATCH_TO_C40),void t.signalEncoderChange(o.C40_ENCODATION);case o.X12_ENCODATION:t.writeCodeword(o.LATCH_TO_ANSIX12),t.signalEncoderChange(o.X12_ENCODATION);break;case o.TEXT_ENCODATION:t.writeCodeword(o.LATCH_TO_TEXT),t.signalEncoderChange(o.TEXT_ENCODATION);break;case o.EDIFACT_ENCODATION:t.writeCodeword(o.LATCH_TO_EDIFACT),t.signalEncoderChange(o.EDIFACT_ENCODATION);break;default:throw new Error("Illegal mode: "+n)}else a.default.isExtendedASCII(r)?(t.writeCodeword(o.UPPER_SHIFT),t.writeCodeword(r-128+1),t.pos++):(t.writeCodeword(r+1),t.pos++)}},t.prototype.encodeASCIIDigits=function(t,e){if(a.default.isDigit(t)&&a.default.isDigit(e)){var r=10*(t-48)+(e-48);return r+130}throw new Error("not digits: "+t+e)},t}();e.ASCIIEncoder=i},"26c4":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t){this.previous=t}return t.prototype.getPrevious=function(){return this.previous},t}(),o=n;e.default=o},"27db":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("d4f8")),a=n(r("8d76")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.parseInformation=function(){var t=new o.default;return this.getGeneralDecoder().decodeAllCodes(t,e.HEADER_SIZE)},e.HEADER_SIZE=5,e}(a.default),f=u;e.default=f},"2a00":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserQRCodeReader=void 0,r("8a8d");var o=r("a5d4"),a=n(r("08c4")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){function e(e){return void 0===e&&(e=500),t.call(this,new a.default,e)||this}return i(e,t),e}(o.BrowserCodeReader);e.BrowserQRCodeReader=u},"2bfd":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("8618")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e,r){var n=t.call(this,e)||this;return n.value=r,n}return a(e,t),e.prototype.getValue=function(){return this.value},e.prototype.isFNC1=function(){return this.value===e.FNC1},e.FNC1="$",e}(o.default),u=i;e.default=u},"2e7f":function(t,e,r){"use strict";var n=Math.log,o=Math.LOG10E;t.exports=Math.log10||function(t){return n(t)*o}},"2eda":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("cf80"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("ab80");var o=n(r("5a0c")),a=n(r("f87b")),i=n(r("f930")),u=n(r("cc5c")),f=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},s=function(t){function e(e,r){var n=t.call(this,e)||this;return n._isLeft=r,n}return f(e,t),e.prototype.setRowNumbers=function(){var t,e;try{for(var r=d(this.getCodewords()),n=r.next();!n.done;n=r.next()){var o=n.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(a){t={error:a}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},e.prototype.adjustCompleteIndicatorColumnRowNumbers=function(t){var e=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(e,t);for(var r=this.getBoundingBox(),n=this._isLeft?r.getTopLeft():r.getTopRight(),o=this._isLeft?r.getBottomLeft():r.getBottomRight(),a=this.imageRowToCodewordIndex(Math.trunc(n.getY())),i=this.imageRowToCodewordIndex(Math.trunc(o.getY())),u=-1,f=1,d=0,s=a;s<i;s++)if(null!=e[s]){var c=e[s],l=c.getRowNumber()-u;if(0===l)d++;else if(1===l)f=Math.max(f,d),d=1,u=c.getRowNumber();else if(l<0||c.getRowNumber()>=t.getRowCount()||l>s)e[s]=null;else{var h=void 0;h=f>2?(f-2)*l:l;for(var p=h>=s,g=1;g<=h&&!p;g++)p=null!=e[s-g];p?e[s]=null:(u=c.getRowNumber(),d=1)}}},e.prototype.getRowHeights=function(){var t,e,r=this.getBarcodeMetadata();if(null==r)return null;this.adjustIncompleteIndicatorColumnRowNumbers(r);var n=new Int32Array(r.getRowCount());try{for(var o=d(this.getCodewords()),a=o.next();!a.done;a=o.next()){var i=a.value;if(null!=i){var u=i.getRowNumber();if(u>=n.length)continue;n[u]++}}}catch(f){t={error:f}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return n},e.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(t){for(var e=this.getBoundingBox(),r=this._isLeft?e.getTopLeft():e.getTopRight(),n=this._isLeft?e.getBottomLeft():e.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.imageRowToCodewordIndex(Math.trunc(n.getY())),i=this.getCodewords(),u=-1,f=1,d=0,s=o;s<a;s++)if(null!=i[s]){var c=i[s];c.setRowNumberAsRowIndicatorColumn();var l=c.getRowNumber()-u;0===l?d++:1===l?(f=Math.max(f,d),d=1,u=c.getRowNumber()):c.getRowNumber()>=t.getRowCount()?i[s]=null:(u=c.getRowNumber(),d=1)}},e.prototype.getBarcodeMetadata=function(){var t,e,r=this.getCodewords(),n=new u.default,i=new u.default,f=new u.default,s=new u.default;try{for(var c=d(r),l=c.next();!l.done;l=c.next()){var h=l.value;if(null!=h){h.setRowNumberAsRowIndicatorColumn();var p=h.getValue()%30,g=h.getRowNumber();switch(this._isLeft||(g+=2),g%3){case 0:i.setValue(3*p+1);break;case 1:s.setValue(p/3),f.setValue(p%3);break;case 2:n.setValue(p+1);break}}}}catch(v){t={error:v}}finally{try{l&&!l.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}if(0===n.getValue().length||0===i.getValue().length||0===f.getValue().length||0===s.getValue().length||n.getValue()[0]<1||i.getValue()[0]+f.getValue()[0]<o.default.MIN_ROWS_IN_BARCODE||i.getValue()[0]+f.getValue()[0]>o.default.MAX_ROWS_IN_BARCODE)return null;var y=new a.default(n.getValue()[0],i.getValue()[0],f.getValue()[0],s.getValue()[0]);return this.removeIncorrectCodewords(r,y),y},e.prototype.removeIncorrectCodewords=function(t,e){for(var r=0;r<t.length;r++){var n=t[r];if(null!=t[r]){var o=n.getValue()%30,a=n.getRowNumber();if(a>e.getRowCount())t[r]=null;else switch(this._isLeft||(a+=2),a%3){case 0:3*o+1!==e.getRowCountUpperPart()&&(t[r]=null);break;case 1:Math.trunc(o/3)===e.getErrorCorrectionLevel()&&o%3===e.getRowCountLowerPart()||(t[r]=null);break;case 2:o+1!==e.getColumnCount()&&(t[r]=null);break}}}},e.prototype.isLeft=function(){return this._isLeft},e.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+t.prototype.toString.call(this)},e}(i.default),c=s;e.default=c},"2efa":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t,e,r,n,o,a,i,u,f){this.a11=t,this.a21=e,this.a31=r,this.a12=n,this.a22=o,this.a32=a,this.a13=i,this.a23=u,this.a33=f}return t.quadrilateralToQuadrilateral=function(e,r,n,o,a,i,u,f,d,s,c,l,h,p,g,y){var v=t.quadrilateralToSquare(e,r,n,o,a,i,u,f),w=t.squareToQuadrilateral(d,s,c,l,h,p,g,y);return w.times(v)},t.prototype.transformPoints=function(t){for(var e=t.length,r=this.a11,n=this.a12,o=this.a13,a=this.a21,i=this.a22,u=this.a23,f=this.a31,d=this.a32,s=this.a33,c=0;c<e;c+=2){var l=t[c],h=t[c+1],p=o*l+u*h+s;t[c]=(r*l+a*h+f)/p,t[c+1]=(n*l+i*h+d)/p}},t.prototype.transformPointsWithValues=function(t,e){for(var r=this.a11,n=this.a12,o=this.a13,a=this.a21,i=this.a22,u=this.a23,f=this.a31,d=this.a32,s=this.a33,c=t.length,l=0;l<c;l++){var h=t[l],p=e[l],g=o*h+u*p+s;t[l]=(r*h+a*p+f)/g,e[l]=(n*h+i*p+d)/g}},t.squareToQuadrilateral=function(e,r,n,o,a,i,u,f){var d=e-n+a-u,s=r-o+i-f;if(0===d&&0===s)return new t(n-e,a-n,e,o-r,i-o,r,0,0,1);var c=n-a,l=u-a,h=o-i,p=f-i,g=c*p-l*h,y=(d*p-l*s)/g,v=(c*s-d*h)/g;return new t(n-e+y*n,u-e+v*u,e,o-r+y*o,f-r+v*f,r,y,v,1)},t.quadrilateralToSquare=function(e,r,n,o,a,i,u,f){return t.squareToQuadrilateral(e,r,n,o,a,i,u,f).buildAdjoint()},t.prototype.buildAdjoint=function(){return new t(this.a22*this.a33-this.a23*this.a32,this.a23*this.a31-this.a21*this.a33,this.a21*this.a32-this.a22*this.a31,this.a13*this.a32-this.a12*this.a33,this.a11*this.a33-this.a13*this.a31,this.a12*this.a31-this.a11*this.a32,this.a12*this.a23-this.a13*this.a22,this.a13*this.a21-this.a11*this.a23,this.a11*this.a22-this.a12*this.a21)},t.prototype.times=function(e){return new t(this.a11*e.a11+this.a21*e.a12+this.a31*e.a13,this.a11*e.a21+this.a21*e.a22+this.a31*e.a23,this.a11*e.a31+this.a21*e.a32+this.a31*e.a33,this.a12*e.a11+this.a22*e.a12+this.a32*e.a13,this.a12*e.a21+this.a22*e.a22+this.a32*e.a23,this.a12*e.a31+this.a22*e.a32+this.a32*e.a33,this.a13*e.a11+this.a23*e.a12+this.a33*e.a13,this.a13*e.a21+this.a23*e.a22+this.a33*e.a23,this.a13*e.a31+this.a23*e.a32+this.a33*e.a33)},t}(),o=n;e.default=o},"2f48":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("c9b5"),r("bf0f"),r("ab80");var o=n(r("fe5a")),a=n(r("f228")),i=n(r("d4f8")),u=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),f=function(t){function e(e,r,n){var o=t.call(this,e)||this;return o.dateCode=n,o.firstAIdigits=r,o}return u(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()!==e.HEADER_SIZE+e.GTIN_SIZE+e.WEIGHT_SIZE+e.DATE_SIZE)throw new a.default;var t=new i.default;return this.encodeCompressedGtin(t,e.HEADER_SIZE),this.encodeCompressedWeight(t,e.HEADER_SIZE+e.GTIN_SIZE,e.WEIGHT_SIZE),this.encodeCompressedDate(t,e.HEADER_SIZE+e.GTIN_SIZE+e.WEIGHT_SIZE),t.toString()},e.prototype.encodeCompressedDate=function(t,r){var n=this.getGeneralDecoder().extractNumericValueFromBitArray(r,e.DATE_SIZE);if(38400!==n){t.append("("),t.append(this.dateCode),t.append(")");var o=n%32;n/=32;var a=n%12+1;n/=12;var i=n;i/10===0&&t.append("0"),t.append(i),a/10===0&&t.append("0"),t.append(a),o/10===0&&t.append("0"),t.append(o)}},e.prototype.addWeightCode=function(t,e){t.append("("),t.append(this.firstAIdigits),t.append(e/1e5),t.append(")")},e.prototype.checkWeight=function(t){return t%1e5},e.HEADER_SIZE=8,e.WEIGHT_SIZE=20,e.DATE_SIZE=16,e}(o.default),d=f;e.default=d},"309d":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("a8be")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e,r,n){var o=t.call(this,e,r)||this;return o.estimatedModuleSize=n,o}return a(e,t),e.prototype.aboutEquals=function(t,e,r){if(Math.abs(e-this.getY())<=t&&Math.abs(r-this.getX())<=t){var n=Math.abs(t-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,r,n){var o=(this.getX()+r)/2,a=(this.getY()+t)/2,i=(this.estimatedModuleSize+n)/2;return new e(o,a,i)},e}(o.default),u=i;e.default=u},"30ca":function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"scanCodePage"},[e("v-uni-video",{attrs:{id:"video-canvas",autoplay:!0,controls:!1}})],1)},o=[]},"312f":function(t,e,r){var n=r("9eb0");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("967d").default;o("b3716820",n,!0,{sourceMap:!1,shadowMode:!1})},"333e":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t){this.source=t}return t.prototype.getLuminanceSource=function(){return this.source},t.prototype.getWidth=function(){return this.source.getWidth()},t.prototype.getHeight=function(){return this.source.getHeight()},t}(),o=n;e.default=o},"343e":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.getFormatInstance=function(){return new e},e.kind="FormatException",e}(o.default),u=i;e.default=u},"346c":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("aa77"),r("aa9c");var o=n(r("309d")),a=n(r("f228")),i=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(){function t(t,e,r,n,o,a,i){this.image=t,this.startX=e,this.startY=r,this.width=n,this.height=o,this.moduleSize=a,this.resultPointCallback=i,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return t.prototype.find=function(){for(var t=this.startX,e=this.height,r=this.width,n=t+r,o=this.startY+e/2,i=new Int32Array(3),u=this.image,f=0;f<e;f++){var d=o+(0===(1&f)?Math.floor((f+1)/2):-Math.floor((f+1)/2));i[0]=0,i[1]=0,i[2]=0;var s=t;while(s<n&&!u.get(s,d))s++;var c=0;while(s<n){if(u.get(s,d))if(1===c)i[1]++;else if(2===c){if(this.foundPatternCross(i)){var l=this.handlePossibleCenter(i,d,s);if(null!==l)return l}i[0]=i[2],i[1]=1,i[2]=0,c=1}else i[++c]++;else 1===c&&c++,i[c]++;s++}if(this.foundPatternCross(i)){l=this.handlePossibleCenter(i,d,n);if(null!==l)return l}}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new a.default},t.centerFromEnd=function(t,e){return e-t[2]-t[1]/2},t.prototype.foundPatternCross=function(t){for(var e=this.moduleSize,r=e/2,n=0;n<3;n++)if(Math.abs(e-t[n])>=r)return!1;return!0},t.prototype.crossCheckVertical=function(e,r,n,o){var a=this.image,i=a.getHeight(),u=this.crossCheckStateCount;u[0]=0,u[1]=0,u[2]=0;var f=e;while(f>=0&&a.get(r,f)&&u[1]<=n)u[1]++,f--;if(f<0||u[1]>n)return NaN;while(f>=0&&!a.get(r,f)&&u[0]<=n)u[0]++,f--;if(u[0]>n)return NaN;f=e+1;while(f<i&&a.get(r,f)&&u[1]<=n)u[1]++,f++;if(f===i||u[1]>n)return NaN;while(f<i&&!a.get(r,f)&&u[2]<=n)u[2]++,f++;if(u[2]>n)return NaN;var d=u[0]+u[1]+u[2];return 5*Math.abs(d-o)>=2*o?NaN:this.foundPatternCross(u)?t.centerFromEnd(u,f):NaN},t.prototype.handlePossibleCenter=function(e,r,n){var a,u,f=e[0]+e[1]+e[2],d=t.centerFromEnd(e,n),s=this.crossCheckVertical(r,d,2*e[1],f);if(!isNaN(s)){var c=(e[0]+e[1]+e[2])/3;try{for(var l=i(this.possibleCenters),h=l.next();!h.done;h=l.next()){var p=h.value;if(p.aboutEquals(c,s,d))return p.combineEstimate(s,d,c)}}catch(y){a={error:y}}finally{try{h&&!h.done&&(u=l.return)&&u.call(l)}finally{if(a)throw a.error}}var g=new o.default(d,s,c);this.possibleCenters.push(g),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(g)}return null},t}(),f=u;e.default=f},"35e9":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("aa77"),r("bf0f");var o=n(r("c769")),a=n(r("7e9b")),i=n(r("d9cd")),u=n(r("2efa")),f=n(r("76a0")),d=n(r("f228")),s=n(r("a8be")),c=n(r("e01c")),l=n(r("346c")),h=n(r("91fd")),p=function(){function t(t){this.image=t}return t.prototype.getImage=function(){return this.image},t.prototype.getResultPointCallback=function(){return this.resultPointCallback},t.prototype.detect=function(t){this.resultPointCallback=null===t||void 0===t?null:t.get(f.default.NEED_RESULT_POINT_CALLBACK);var e=new h.default(this.image,this.resultPointCallback),r=e.find(t);return this.processFinderPatternInfo(r)},t.prototype.processFinderPatternInfo=function(e){var r=e.getTopLeft(),n=e.getTopRight(),o=e.getBottomLeft(),i=this.calculateModuleSize(r,n,o);if(i<1)throw new d.default("No pattern found in proccess finder.");var u=t.computeDimension(r,n,o,i),f=c.default.getProvisionalVersionForDimension(u),s=f.getDimensionForVersion()-7,l=null;if(f.getAlignmentPatternCenters().length>0)for(var h=n.getX()-r.getX()+o.getX(),p=n.getY()-r.getY()+o.getY(),g=1-3/s,y=Math.floor(r.getX()+g*(h-r.getX())),v=Math.floor(r.getY()+g*(p-r.getY())),w=4;w<=16;w<<=1)try{l=this.findAlignmentInRegion(i,y,v,w);break}catch(A){if(!(A instanceof d.default))throw A}var _,b=t.createTransform(r,n,o,l,u),C=t.sampleGrid(this.image,b,u);return _=null===l?[o,r,n]:[o,r,n,l],new a.default(C,_)},t.createTransform=function(t,e,r,n,o){var a,i,f,d,s=o-3.5;return null!==n?(a=n.getX(),i=n.getY(),f=s-3,d=f):(a=e.getX()-t.getX()+r.getX(),i=e.getY()-t.getY()+r.getY(),f=s,d=s),u.default.quadrilateralToQuadrilateral(3.5,3.5,s,3.5,f,d,3.5,s,t.getX(),t.getY(),e.getX(),e.getY(),a,i,r.getX(),r.getY())},t.sampleGrid=function(t,e,r){var n=i.default.getInstance();return n.sampleGridWithTransform(t,r,r,e)},t.computeDimension=function(t,e,r,n){var a=o.default.round(s.default.distance(t,e)/n),i=o.default.round(s.default.distance(t,r)/n),u=Math.floor((a+i)/2)+7;switch(3&u){case 0:u++;break;case 2:u--;break;case 3:throw new d.default("Dimensions could be not found.")}return u},t.prototype.calculateModuleSize=function(t,e,r){return(this.calculateModuleSizeOneWay(t,e)+this.calculateModuleSizeOneWay(t,r))/2},t.prototype.calculateModuleSizeOneWay=function(t,e){var r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY())),n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY()));return isNaN(r)?n/7:isNaN(n)?r/7:(r+n)/14},t.prototype.sizeOfBlackWhiteBlackRunBothWays=function(t,e,r,n){var o=this.sizeOfBlackWhiteBlackRun(t,e,r,n),a=1,i=t-(r-t);i<0?(a=t/(t-i),i=0):i>=this.image.getWidth()&&(a=(this.image.getWidth()-1-t)/(i-t),i=this.image.getWidth()-1);var u=Math.floor(e-(n-e)*a);return a=1,u<0?(a=e/(e-u),u=0):u>=this.image.getHeight()&&(a=(this.image.getHeight()-1-e)/(u-e),u=this.image.getHeight()-1),i=Math.floor(t+(i-t)*a),o+=this.sizeOfBlackWhiteBlackRun(t,e,i,u),o-1},t.prototype.sizeOfBlackWhiteBlackRun=function(t,e,r,n){var a=Math.abs(n-e)>Math.abs(r-t);if(a){var i=t;t=e,e=i,i=r,r=n,n=i}for(var u=Math.abs(r-t),f=Math.abs(n-e),d=-u/2,s=t<r?1:-1,c=e<n?1:-1,l=0,h=r+s,p=t,g=e;p!==h;p+=s){var y=a?g:p,v=a?p:g;if(1===l===this.image.get(y,v)){if(2===l)return o.default.distance(p,g,t,e);l++}if(d+=f,d>0){if(g===n)break;g+=c,d-=u}}return 2===l?o.default.distance(r+s,n,t,e):NaN},t.prototype.findAlignmentInRegion=function(t,e,r,n){var o=Math.floor(n*t),a=Math.max(0,e-o),i=Math.min(this.image.getWidth()-1,e+o);if(i-a<3*t)throw new d.default("Alignment top exceeds estimated module size.");var u=Math.max(0,r-o),f=Math.min(this.image.getHeight()-1,r+o);if(f-u<3*t)throw new d.default("Alignment bottom exceeds estimated module size.");var s=new l.default(this.image,a,u,i-a,f-u,t,this.resultPointCallback);return s.find()},t}(),g=p;e.default=g},3639:function(t,e,r){r("bf0f"),r("18f7"),r("d0af"),r("de6c"),r("6a54"),r("9a2c");var n=r("bdbb")["default"];function o(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(o=function(t){return t?r:e})(t)}t.exports=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==n(t)&&"function"!==typeof t)return{default:t};var r=o(e);if(r&&r.has(t))return r.get(t);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&Object.prototype.hasOwnProperty.call(t,u)){var f=i?Object.getOwnPropertyDescriptor(t,u):null;f&&(f.get||f.set)?Object.defineProperty(a,u,f):a[u]=t[u]}return a["default"]=t,r&&r.set(t,a),a},t.exports.__esModule=!0,t.exports["default"]=t.exports},3655:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("1878"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1851");var o=n(r("b717")),a=n(r("bab0")),i=n(r("f228")),u=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),f=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return u(e,t),e.prototype.decodeMiddle=function(t,r,n){var o,i,u,d,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var c=t.getSize(),l=r[1],h=0,p=0;p<6&&l<c;p++){var g=a.default.decodeDigit(t,s,l,a.default.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+g%10);try{for(var y=(o=void 0,f(s)),v=y.next();!v.done;v=y.next()){var w=v.value;l+=w}}catch(A){o={error:A}}finally{try{v&&!v.done&&(i=y.return)&&i.call(y)}finally{if(o)throw o.error}}g>=10&&(h|=1<<5-p)}n=e.determineFirstDigit(n,h);var _=a.default.findGuardPattern(t,l,!0,a.default.MIDDLE_PATTERN,new Int32Array(a.default.MIDDLE_PATTERN.length).fill(0));l=_[1];for(p=0;p<6&&l<c;p++){g=a.default.decodeDigit(t,s,l,a.default.L_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+g);try{for(var b=(u=void 0,f(s)),C=b.next();!C.done;C=b.next()){w=C.value;l+=w}}catch(E){u={error:E}}finally{try{C&&!C.done&&(d=b.return)&&d.call(b)}finally{if(u)throw u.error}}}return{rowOffset:l,resultString:n}},e.prototype.getBarcodeFormat=function(){return o.default.EAN_13},e.determineFirstDigit=function(t,e){for(var r=0;r<10;r++)if(e===this.FIRST_DIGIT_ENCODINGS[r])return t=String.fromCharCode("0".charCodeAt(0)+r)+t,t;throw new i.default},e.FIRST_DIGIT_ENCODINGS=[0,11,13,14,19,25,28,21,22,26],e}(a.default),s=d;e.default=s},"36aa":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("1878"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("f7a5"),r("c976"),r("473f");var o=n(r("b717")),a=n(r("f74e")),i=n(r("76a0")),u=n(r("343e")),f=n(r("f228")),d=n(r("0c24")),s=n(r("a8be")),c=n(r("4d7d")),l=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.findStartPattern=function(t){for(var r=t.getSize(),n=t.getNextSet(0),o=0,a=Int32Array.from([0,0,0,0,0,0]),i=n,u=!1,d=n;d<r;d++)if(t.get(d)!==u)a[o]++;else{if(5===o){for(var s=e.MAX_AVG_VARIANCE,l=-1,h=e.CODE_START_A;h<=e.CODE_START_C;h++){var p=c.default.patternMatchVariance(a,e.CODE_PATTERNS[h],e.MAX_INDIVIDUAL_VARIANCE);p<s&&(s=p,l=h)}if(l>=0&&t.isRange(Math.max(0,i-(d-i)/2),i,!1))return Int32Array.from([i,d,l]);i+=a[0]+a[1],a=a.slice(2,a.length),a[o-1]=0,a[o]=0,o--}else o++;a[o]=1,u=!u}throw new f.default},e.decodeCode=function(t,r,n){c.default.recordPattern(t,n,r);for(var o=e.MAX_AVG_VARIANCE,a=-1,i=0;i<e.CODE_PATTERNS.length;i++){var u=e.CODE_PATTERNS[i],d=this.patternMatchVariance(r,u,e.MAX_INDIVIDUAL_VARIANCE);d<o&&(o=d,a=i)}if(a>=0)return a;throw new f.default},e.prototype.decodeRow=function(t,r,n){var c,l=n&&!0===n.get(i.default.ASSUME_GS1),h=e.findStartPattern(r),p=h[2],g=0,y=new Uint8Array(20);switch(y[g++]=p,p){case e.CODE_START_A:c=e.CODE_CODE_A;break;case e.CODE_START_B:c=e.CODE_CODE_B;break;case e.CODE_START_C:c=e.CODE_CODE_C;break;default:throw new u.default}var v=!1,w=!1,_="",b=h[0],C=h[1],A=Int32Array.from([0,0,0,0,0,0]),E=0,m=0,I=p,O=0,S=!0,T=!1,N=!1;while(!v){var R=w;switch(w=!1,E=m,m=e.decodeCode(r,A,C),y[g++]=m,m!==e.CODE_STOP&&(S=!0),m!==e.CODE_STOP&&(O++,I+=O*m),b=C,C+=A.reduce((function(t,e){return t+e}),0),m){case e.CODE_START_A:case e.CODE_START_B:case e.CODE_START_C:throw new u.default}switch(c){case e.CODE_CODE_A:if(m<64)_+=N===T?String.fromCharCode(" ".charCodeAt(0)+m):String.fromCharCode(" ".charCodeAt(0)+m+128),N=!1;else if(m<96)_+=N===T?String.fromCharCode(m-64):String.fromCharCode(m+64),N=!1;else switch(m!==e.CODE_STOP&&(S=!1),m){case e.CODE_FNC_1:l&&(0===_.length?_+="]C1":_+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_A:!T&&N?(T=!0,N=!1):T&&N?(T=!1,N=!1):N=!0;break;case e.CODE_SHIFT:w=!0,c=e.CODE_CODE_B;break;case e.CODE_CODE_B:c=e.CODE_CODE_B;break;case e.CODE_CODE_C:c=e.CODE_CODE_C;break;case e.CODE_STOP:v=!0;break}break;case e.CODE_CODE_B:if(m<96)_+=N===T?String.fromCharCode(" ".charCodeAt(0)+m):String.fromCharCode(" ".charCodeAt(0)+m+128),N=!1;else switch(m!==e.CODE_STOP&&(S=!1),m){case e.CODE_FNC_1:l&&(0===_.length?_+="]C1":_+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_B:!T&&N?(T=!0,N=!1):T&&N?(T=!1,N=!1):N=!0;break;case e.CODE_SHIFT:w=!0,c=e.CODE_CODE_A;break;case e.CODE_CODE_A:c=e.CODE_CODE_A;break;case e.CODE_CODE_C:c=e.CODE_CODE_C;break;case e.CODE_STOP:v=!0;break}break;case e.CODE_CODE_C:if(m<100)m<10&&(_+="0"),_+=m;else switch(m!==e.CODE_STOP&&(S=!1),m){case e.CODE_FNC_1:l&&(0===_.length?_+="]C1":_+=String.fromCharCode(29));break;case e.CODE_CODE_A:c=e.CODE_CODE_A;break;case e.CODE_CODE_B:c=e.CODE_CODE_B;break;case e.CODE_STOP:v=!0;break}break}R&&(c=c===e.CODE_CODE_A?e.CODE_CODE_B:e.CODE_CODE_A)}var D=C-b;if(C=r.getNextUnset(C),!r.isRange(C,Math.min(r.getSize(),C+(C-b)/2),!1))throw new f.default;if(I-=O*E,I%103!==E)throw new a.default;var M=_.length;if(0===M)throw new f.default;M>0&&S&&(_=c===e.CODE_CODE_C?_.substring(0,M-2):_.substring(0,M-1));for(var P=(h[1]+h[0])/2,B=b+D/2,L=y.length,F=new Uint8Array(L),x=0;x<L;x++)F[x]=y[x];var k=[new s.default(P,t),new s.default(B,t)];return new d.default(_,F,0,k,o.default.CODE_128,(new Date).getTime())},e.CODE_PATTERNS=[Int32Array.from([2,1,2,2,2,2]),Int32Array.from([2,2,2,1,2,2]),Int32Array.from([2,2,2,2,2,1]),Int32Array.from([1,2,1,2,2,3]),Int32Array.from([1,2,1,3,2,2]),Int32Array.from([1,3,1,2,2,2]),Int32Array.from([1,2,2,2,1,3]),Int32Array.from([1,2,2,3,1,2]),Int32Array.from([1,3,2,2,1,2]),Int32Array.from([2,2,1,2,1,3]),Int32Array.from([2,2,1,3,1,2]),Int32Array.from([2,3,1,2,1,2]),Int32Array.from([1,1,2,2,3,2]),Int32Array.from([1,2,2,1,3,2]),Int32Array.from([1,2,2,2,3,1]),Int32Array.from([1,1,3,2,2,2]),Int32Array.from([1,2,3,1,2,2]),Int32Array.from([1,2,3,2,2,1]),Int32Array.from([2,2,3,2,1,1]),Int32Array.from([2,2,1,1,3,2]),Int32Array.from([2,2,1,2,3,1]),Int32Array.from([2,1,3,2,1,2]),Int32Array.from([2,2,3,1,1,2]),Int32Array.from([3,1,2,1,3,1]),Int32Array.from([3,1,1,2,2,2]),Int32Array.from([3,2,1,1,2,2]),Int32Array.from([3,2,1,2,2,1]),Int32Array.from([3,1,2,2,1,2]),Int32Array.from([3,2,2,1,1,2]),Int32Array.from([3,2,2,2,1,1]),Int32Array.from([2,1,2,1,2,3]),Int32Array.from([2,1,2,3,2,1]),Int32Array.from([2,3,2,1,2,1]),Int32Array.from([1,1,1,3,2,3]),Int32Array.from([1,3,1,1,2,3]),Int32Array.from([1,3,1,3,2,1]),Int32Array.from([1,1,2,3,1,3]),Int32Array.from([1,3,2,1,1,3]),Int32Array.from([1,3,2,3,1,1]),Int32Array.from([2,1,1,3,1,3]),Int32Array.from([2,3,1,1,1,3]),Int32Array.from([2,3,1,3,1,1]),Int32Array.from([1,1,2,1,3,3]),Int32Array.from([1,1,2,3,3,1]),Int32Array.from([1,3,2,1,3,1]),Int32Array.from([1,1,3,1,2,3]),Int32Array.from([1,1,3,3,2,1]),Int32Array.from([1,3,3,1,2,1]),Int32Array.from([3,1,3,1,2,1]),Int32Array.from([2,1,1,3,3,1]),Int32Array.from([2,3,1,1,3,1]),Int32Array.from([2,1,3,1,1,3]),Int32Array.from([2,1,3,3,1,1]),Int32Array.from([2,1,3,1,3,1]),Int32Array.from([3,1,1,1,2,3]),Int32Array.from([3,1,1,3,2,1]),Int32Array.from([3,3,1,1,2,1]),Int32Array.from([3,1,2,1,1,3]),Int32Array.from([3,1,2,3,1,1]),Int32Array.from([3,3,2,1,1,1]),Int32Array.from([3,1,4,1,1,1]),Int32Array.from([2,2,1,4,1,1]),Int32Array.from([4,3,1,1,1,1]),Int32Array.from([1,1,1,2,2,4]),Int32Array.from([1,1,1,4,2,2]),Int32Array.from([1,2,1,1,2,4]),Int32Array.from([1,2,1,4,2,1]),Int32Array.from([1,4,1,1,2,2]),Int32Array.from([1,4,1,2,2,1]),Int32Array.from([1,1,2,2,1,4]),Int32Array.from([1,1,2,4,1,2]),Int32Array.from([1,2,2,1,1,4]),Int32Array.from([1,2,2,4,1,1]),Int32Array.from([1,4,2,1,1,2]),Int32Array.from([1,4,2,2,1,1]),Int32Array.from([2,4,1,2,1,1]),Int32Array.from([2,2,1,1,1,4]),Int32Array.from([4,1,3,1,1,1]),Int32Array.from([2,4,1,1,1,2]),Int32Array.from([1,3,4,1,1,1]),Int32Array.from([1,1,1,2,4,2]),Int32Array.from([1,2,1,1,4,2]),Int32Array.from([1,2,1,2,4,1]),Int32Array.from([1,1,4,2,1,2]),Int32Array.from([1,2,4,1,1,2]),Int32Array.from([1,2,4,2,1,1]),Int32Array.from([4,1,1,2,1,2]),Int32Array.from([4,2,1,1,1,2]),Int32Array.from([4,2,1,2,1,1]),Int32Array.from([2,1,2,1,4,1]),Int32Array.from([2,1,4,1,2,1]),Int32Array.from([4,1,2,1,2,1]),Int32Array.from([1,1,1,1,4,3]),Int32Array.from([1,1,1,3,4,1]),Int32Array.from([1,3,1,1,4,1]),Int32Array.from([1,1,4,1,1,3]),Int32Array.from([1,1,4,3,1,1]),Int32Array.from([4,1,1,1,1,3]),Int32Array.from([4,1,1,3,1,1]),Int32Array.from([1,1,3,1,4,1]),Int32Array.from([1,1,4,1,3,1]),Int32Array.from([3,1,1,1,4,1]),Int32Array.from([4,1,1,1,3,1]),Int32Array.from([2,1,1,4,1,2]),Int32Array.from([2,1,1,2,1,4]),Int32Array.from([2,1,1,2,3,2]),Int32Array.from([2,3,3,1,1,1,2])],e.MAX_AVG_VARIANCE=.25,e.MAX_INDIVIDUAL_VARIANCE=.7,e.CODE_SHIFT=98,e.CODE_CODE_C=99,e.CODE_CODE_B=100,e.CODE_CODE_A=101,e.CODE_FNC_1=102,e.CODE_FNC_2=97,e.CODE_FNC_3=96,e.CODE_FNC_4_A=101,e.CODE_FNC_4_B=100,e.CODE_START_A=103,e.CODE_START_B=104,e.CODE_START_C=105,e.CODE_STOP=106,e}(c.default),p=h;e.default=p},"36d3":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("1851"),r("08eb"),r("fd3c"),r("1878"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("f7a5"),r("c976");var o=n(r("1ff8")),a=n(r("f7fd")),i=n(r("ba3c")),u=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(){function t(){}return t.fill=function(t,e){for(var r=0,n=t.length;r<n;r++)t[r]=e},t.fillWithin=function(e,r,n,o){t.rangeCheck(e.length,r,n);for(var a=r;a<n;a++)e[a]=o},t.rangeCheck=function(t,e,r){if(e>r)throw new a.default("fromIndex("+e+") > toIndex("+r+")");if(e<0)throw new i.default(e);if(r>t)throw new i.default(r)},t.asList=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t},t.create=function(t,e,r){var n=Array.from({length:t});return n.map((function(t){return Array.from({length:e}).fill(r)}))},t.createInt32Array=function(t,e,r){var n=Array.from({length:t});return n.map((function(t){return Int32Array.from({length:e}).fill(r)}))},t.equals=function(t,e){if(!t)return!1;if(!e)return!1;if(!t.length)return!1;if(!e.length)return!1;if(t.length!==e.length)return!1;for(var r=0,n=t.length;r<n;r++)if(t[r]!==e[r])return!1;return!0},t.hashCode=function(t){var e,r;if(null===t)return 0;var n=1;try{for(var o=u(t),a=o.next();!a.done;a=o.next()){var i=a.value;n=31*n+i}}catch(f){e={error:f}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},t.fillUint8Array=function(t,e){for(var r=0;r!==t.length;r++)t[r]=e},t.copyOf=function(t,e){return t.slice(0,e)},t.copyOfUint8Array=function(t,e){if(t.length<=e){var r=new Uint8Array(e);return r.set(t),r}return t.slice(0,e)},t.copyOfRange=function(t,e,r){var n=r-e,a=new Int32Array(n);return o.default.arraycopy(t,e,a,0,n),a},t.binarySearch=function(e,r,n){void 0===n&&(n=t.numberComparator);var o=0,a=e.length-1;while(o<=a){var i=a+o>>1,u=n(r,e[i]);if(u>0)o=i+1;else{if(!(u<0))return i;a=i-1}}return-o-1},t.numberComparator=function(t,e){return t-e},t}(),d=f;e.default=d},3710:function(t,e,r){"use strict";r("6a54");var n=r("3639").default,o=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("3efd"),r("ab80");var a=o(r("9c16")),i=n(r("a080")),u=n(r("d147")),f=n(r("f4fd")),d=n(r("8183")),s=o(r("d618")),c=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=function(){function t(t,e,r,n){this.token=t,this.mode=e,this.binaryShiftByteCount=r,this.bitCount=n}return t.prototype.getMode=function(){return this.mode},t.prototype.getToken=function(){return this.token},t.prototype.getBinaryShiftByteCount=function(){return this.binaryShiftByteCount},t.prototype.getBitCount=function(){return this.bitCount},t.prototype.latchAndAppend=function(e,r){var n=this.bitCount,o=this.token;if(e!==this.mode){var a=f.LATCH_TABLE[this.mode][e];o=i.add(o,65535&a,a>>16),n+=a>>16}var d=e===u.MODE_DIGIT?4:5;return o=i.add(o,r,d),new t(o,e,0,n+d)},t.prototype.shiftAndAppend=function(e,r){var n=this.token,o=this.mode===u.MODE_DIGIT?4:5;return n=i.add(n,d.SHIFT_TABLE[this.mode][e],o),n=i.add(n,r,5),new t(n,this.mode,0,this.bitCount+o+5)},t.prototype.addBinaryShiftChar=function(e){var r=this.token,n=this.mode,o=this.bitCount;if(this.mode===u.MODE_PUNCT||this.mode===u.MODE_DIGIT){var a=f.LATCH_TABLE[n][u.MODE_UPPER];r=i.add(r,65535&a,a>>16),o+=a>>16,n=u.MODE_UPPER}var d=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,s=new t(r,n,this.binaryShiftByteCount+1,o+d);return 2078===s.binaryShiftByteCount&&(s=s.endBinaryShift(e+1)),s},t.prototype.endBinaryShift=function(e){if(0===this.binaryShiftByteCount)return this;var r=this.token;return r=i.addBinaryShift(r,e-this.binaryShiftByteCount,this.binaryShiftByteCount),new t(r,this.mode,0,this.bitCount)},t.prototype.isBetterThanOrEqualTo=function(e){var r=this.bitCount+(f.LATCH_TABLE[this.mode][e.mode]>>16);return this.binaryShiftByteCount<e.binaryShiftByteCount?r+=t.calculateBinaryShiftCost(e)-t.calculateBinaryShiftCost(this):this.binaryShiftByteCount>e.binaryShiftByteCount&&e.binaryShiftByteCount>0&&(r+=10),r<=e.bitCount},t.prototype.toBitArray=function(t){for(var e,r,n=[],o=this.endBinaryShift(t.length).token;null!==o;o=o.getPrevious())n.unshift(o);var i=new a.default;try{for(var u=c(n),f=u.next();!f.done;f=u.next()){var d=f.value;d.appendTo(i,t)}}catch(s){e={error:s}}finally{try{f&&!f.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return i},t.prototype.toString=function(){return s.default.format("%s bits=%d bytes=%d",u.MODE_NAMES[this.mode],this.bitCount,this.binaryShiftByteCount)},t.calculateBinaryShiftCost=function(t){return t.binaryShiftByteCount>62?21:t.binaryShiftByteCount>31?20:t.binaryShiftByteCount>0?10:0},t.INITIAL_STATE=new t(u.EMPTY_TOKEN,u.MODE_UPPER,0,0),t}(),h=l;e.default=h},3717:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("8618")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e,r,n){var o=t.call(this,e)||this;return n?(o.remaining=!0,o.remainingValue=o.remainingValue):(o.remaining=!1,o.remainingValue=0),o.newString=r,o}return a(e,t),e.prototype.getNewString=function(){return this.newString},e.prototype.isRemaining=function(){return this.remaining},e.prototype.getRemainingValue=function(){return this.remainingValue},e}(o.default),u=i;e.default=u},3727:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80"),r("4db2"),r("9480"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("d4f8")),a=n(r("4e64")),i=function(){function t(t,e){this.width=t,this.height=e}return t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.isCropSupported=function(){return!1},t.prototype.crop=function(t,e,r,n){throw new a.default("This luminance source does not support cropping.")},t.prototype.isRotateSupported=function(){return!1},t.prototype.rotateCounterClockwise=function(){throw new a.default("This luminance source does not support rotation by 90 degrees.")},t.prototype.rotateCounterClockwise45=function(){throw new a.default("This luminance source does not support rotation by 45 degrees.")},t.prototype.toString=function(){for(var t=new Uint8ClampedArray(this.width),e=new o.default,r=0;r<this.height;r++){for(var n=this.getRow(r,t),a=0;a<this.width;a++){var i=255&n[a],u=void 0;u=i<64?"#":i<128?"+":i<192?".":" ",e.append(u)}e.append("\n")}return e.toString()},t}(),u=i;e.default=u},"37ed":function(t,e,r){"use strict";var n;r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,function(t){t[t["OTHER"]=0]="OTHER",t[t["ORIENTATION"]=1]="ORIENTATION",t[t["BYTE_SEGMENTS"]=2]="BYTE_SEGMENTS",t[t["ERROR_CORRECTION_LEVEL"]=3]="ERROR_CORRECTION_LEVEL",t[t["ISSUE_NUMBER"]=4]="ISSUE_NUMBER",t[t["SUGGESTED_PRICE"]=5]="SUGGESTED_PRICE",t[t["POSSIBLE_COUNTRY"]=6]="POSSIBLE_COUNTRY",t[t["UPC_EAN_EXTENSION"]=7]="UPC_EAN_EXTENSION",t[t["PDF417_EXTRA_METADATA"]=8]="PDF417_EXTRA_METADATA",t[t["STRUCTURED_APPEND_SEQUENCE"]=9]="STRUCTURED_APPEND_SEQUENCE",t[t["STRUCTURED_APPEND_PARITY"]=10]="STRUCTURED_APPEND_PARITY"}(n||(n={}));var o=n;e.default=o},"39a5":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("786c")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.addWeightCode=function(t,e){t.append("(3103)")},e.prototype.checkWeight=function(t){return t},e}(o.default),u=i;e.default=u},"3a9e":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("4db2"),r("bf0f"),r("9480"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("c02e");var o=n(r("1ff8")),a=n(r("3727")),i=n(r("a6ba")),u=n(r("f7fd")),f=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=function(t){function e(e,r,n,o,a,i,f,d){var s=t.call(this,i,f)||this;if(s.yuvData=e,s.dataWidth=r,s.dataHeight=n,s.left=o,s.top=a,o+i>r||a+f>n)throw new u.default("Crop rectangle does not fit within image data.");return d&&s.reverseHorizontal(i,f),s}return f(e,t),e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new u.default("Requested row is outside the image: "+t);var r=this.getWidth();(null===e||void 0===e||e.length<r)&&(e=new Uint8ClampedArray(r));var n=(t+this.top)*this.dataWidth+this.left;return o.default.arraycopy(this.yuvData,n,e,0,r),e},e.prototype.getMatrix=function(){var t=this.getWidth(),e=this.getHeight();if(t===this.dataWidth&&e===this.dataHeight)return this.yuvData;var r=t*e,n=new Uint8ClampedArray(r),a=this.top*this.dataWidth+this.left;if(t===this.dataWidth)return o.default.arraycopy(this.yuvData,a,n,0,r),n;for(var i=0;i<e;i++){var u=i*t;o.default.arraycopy(this.yuvData,a,n,u,t),a+=this.dataWidth}return n},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(t,r,n,o){return new e(this.yuvData,this.dataWidth,this.dataHeight,this.left+t,this.top+r,n,o,!1)},e.prototype.renderThumbnail=function(){for(var t=this.getWidth()/e.THUMBNAIL_SCALE_FACTOR,r=this.getHeight()/e.THUMBNAIL_SCALE_FACTOR,n=new Int32Array(t*r),o=this.yuvData,a=this.top*this.dataWidth+this.left,i=0;i<r;i++){for(var u=i*t,f=0;f<t;f++){var d=255&o[a+f*e.THUMBNAIL_SCALE_FACTOR];n[u+f]=4278190080|65793*d}a+=this.dataWidth*e.THUMBNAIL_SCALE_FACTOR}return n},e.prototype.getThumbnailWidth=function(){return this.getWidth()/e.THUMBNAIL_SCALE_FACTOR},e.prototype.getThumbnailHeight=function(){return this.getHeight()/e.THUMBNAIL_SCALE_FACTOR},e.prototype.reverseHorizontal=function(t,e){for(var r=this.yuvData,n=0,o=this.top*this.dataWidth+this.left;n<e;n++,o+=this.dataWidth)for(var a=o+t/2,i=o,u=o+t-1;i<a;i++,u--){var f=r[i];r[i]=r[u],r[u]=f}},e.prototype.invert=function(){return new i.default(this)},e.THUMBNAIL_SCALE_FACTOR=2,e}(a.default),s=d;e.default=s},"3b1b":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("1878"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1851");var o=n(r("b717")),a=n(r("bab0")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return i(e,t),e.prototype.decodeMiddle=function(t,e,r){var n,o,i,f,d=this.decodeMiddleCounters;d[0]=0,d[1]=0,d[2]=0,d[3]=0;for(var s=t.getSize(),c=e[1],l=0;l<4&&c<s;l++){var h=a.default.decodeDigit(t,d,c,a.default.L_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+h);try{for(var p=(n=void 0,u(d)),g=p.next();!g.done;g=p.next()){var y=g.value;c+=y}}catch(b){n={error:b}}finally{try{g&&!g.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}}var v=a.default.findGuardPattern(t,c,!0,a.default.MIDDLE_PATTERN,new Int32Array(a.default.MIDDLE_PATTERN.length).fill(0));c=v[1];for(l=0;l<4&&c<s;l++){h=a.default.decodeDigit(t,d,c,a.default.L_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+h);try{for(var w=(i=void 0,u(d)),_=w.next();!_.done;_=w.next()){y=_.value;c+=y}}catch(C){i={error:C}}finally{try{_&&!_.done&&(f=w.return)&&f.call(w)}finally{if(i)throw i.error}}}return{rowOffset:c,resultString:r}},e.prototype.getBarcodeFormat=function(){return o.default.EAN_8},e}(a.default),d=f;e.default=d},"3b65":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("e062"),r("64aa"),r("1878"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("08c5")),a=n(r("e5d0")),i=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(){function t(t){this.errorCorrectionLevel=o.default.forBits(t>>3&3),this.dataMask=7&t}return t.numBitsDiffering=function(t,e){return a.default.bitCount(t^e)},t.decodeFormatInformation=function(e,r){var n=t.doDecodeFormatInformation(e,r);return null!==n?n:t.doDecodeFormatInformation(e^t.FORMAT_INFO_MASK_QR,r^t.FORMAT_INFO_MASK_QR)},t.doDecodeFormatInformation=function(e,r){var n,o,a=Number.MAX_SAFE_INTEGER,u=0;try{for(var f=i(t.FORMAT_INFO_DECODE_LOOKUP),d=f.next();!d.done;d=f.next()){var s=d.value,c=s[0];if(c===e||c===r)return new t(s[1]);var l=t.numBitsDiffering(e,c);l<a&&(u=s[1],a=l),e!==r&&(l=t.numBitsDiffering(r,c),l<a&&(u=s[1],a=l))}}catch(h){n={error:h}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}return a<=3?new t(u):null},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getDataMask=function(){return this.dataMask},t.prototype.hashCode=function(){return this.errorCorrectionLevel.getBits()<<3|this.dataMask},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.errorCorrectionLevel===r.errorCorrectionLevel&&this.dataMask===r.dataMask},t.FORMAT_INFO_MASK_QR=21522,t.FORMAT_INFO_DECODE_LOOKUP=[Int32Array.from([21522,0]),Int32Array.from([20773,1]),Int32Array.from([24188,2]),Int32Array.from([23371,3]),Int32Array.from([17913,4]),Int32Array.from([16590,5]),Int32Array.from([20375,6]),Int32Array.from([19104,7]),Int32Array.from([30660,8]),Int32Array.from([29427,9]),Int32Array.from([32170,10]),Int32Array.from([30877,11]),Int32Array.from([26159,12]),Int32Array.from([25368,13]),Int32Array.from([27713,14]),Int32Array.from([26998,15]),Int32Array.from([5769,16]),Int32Array.from([5054,17]),Int32Array.from([7399,18]),Int32Array.from([6608,19]),Int32Array.from([1890,20]),Int32Array.from([597,21]),Int32Array.from([3340,22]),Int32Array.from([2107,23]),Int32Array.from([13663,24]),Int32Array.from([12392,25]),Int32Array.from([16177,26]),Int32Array.from([14854,27]),Int32Array.from([9396,28]),Int32Array.from([8579,29]),Int32Array.from([11994,30]),Int32Array.from([11245,31])],t}(),f=u;e.default=f},"3b7d":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Point=void 0,r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("2797");var o=n(r("a8be")),a=n(r("836d")),i=n(r("c769")),u=n(r("dfe7")),f=n(r("f5e6")),d=n(r("ade5")),s=n(r("f228")),c=n(r("d9cd")),l=n(r("e5d0")),h=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.toResultPoint=function(){return new o.default(this.getX(),this.getY())},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t}();e.Point=h;var p=function(){function t(t){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=t}return t.prototype.detect=function(){return this.detectMirror(!1)},t.prototype.detectMirror=function(t){var e=this.getMatrixCenter(),r=this.getBullsEyeCorners(e);if(t){var n=r[0];r[0]=r[2],r[2]=n}this.extractParameters(r);var o=this.sampleGrid(this.image,r[this.shift%4],r[(this.shift+1)%4],r[(this.shift+2)%4],r[(this.shift+3)%4]),i=this.getMatrixCornerPoints(r);return new a.default(o,i,this.compact,this.nbDataBlocks,this.nbLayers)},t.prototype.extractParameters=function(t){if(!this.isValidPoint(t[0])||!this.isValidPoint(t[1])||!this.isValidPoint(t[2])||!this.isValidPoint(t[3]))throw new s.default;var e=2*this.nbCenterLayers,r=new Int32Array([this.sampleLine(t[0],t[1],e),this.sampleLine(t[1],t[2],e),this.sampleLine(t[2],t[3],e),this.sampleLine(t[3],t[0],e)]);this.shift=this.getRotation(r,e);for(var n=0,o=0;o<4;o++){var a=r[(this.shift+o)%4];this.compact?(n<<=7,n+=a>>1&127):(n<<=10,n+=(a>>2&992)+(a>>1&31))}var i=this.getCorrectedParameterData(n,this.compact);this.compact?(this.nbLayers=1+(i>>6),this.nbDataBlocks=1+(63&i)):(this.nbLayers=1+(i>>11),this.nbDataBlocks=1+(2047&i))},t.prototype.getRotation=function(t,e){var r=0;t.forEach((function(t,n,o){var a=(t>>e-2<<1)+(1&t);r=(r<<3)+a})),r=((1&r)<<11)+(r>>1);for(var n=0;n<4;n++)if(l.default.bitCount(r^this.EXPECTED_CORNER_BITS[n])<=2)return n;throw new s.default},t.prototype.getCorrectedParameterData=function(t,e){var r,n;e?(r=7,n=2):(r=10,n=4);for(var o=r-n,a=new Int32Array(r),i=r-1;i>=0;--i)a[i]=15&t,t>>=4;try{var u=new d.default(f.default.AZTEC_PARAM);u.decode(a,o)}catch(l){throw new s.default}var c=0;for(i=0;i<n;i++)c=(c<<4)+a[i];return c},t.prototype.getBullsEyeCorners=function(t){var e=t,r=t,n=t,a=t,i=!0;for(this.nbCenterLayers=1;this.nbCenterLayers<9;this.nbCenterLayers++){var u=this.getFirstDifferent(e,i,1,-1),f=this.getFirstDifferent(r,i,1,1),d=this.getFirstDifferent(n,i,-1,1),c=this.getFirstDifferent(a,i,-1,-1);if(this.nbCenterLayers>2){var l=this.distancePoint(c,u)*this.nbCenterLayers/(this.distancePoint(a,e)*(this.nbCenterLayers+2));if(l<.75||l>1.25||!this.isWhiteOrBlackRectangle(u,f,d,c))break}e=u,r=f,n=d,a=c,i=!i}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new s.default;this.compact=5===this.nbCenterLayers;var h=new o.default(e.getX()+.5,e.getY()-.5),p=new o.default(r.getX()+.5,r.getY()+.5),g=new o.default(n.getX()-.5,n.getY()+.5),y=new o.default(a.getX()-.5,a.getY()-.5);return this.expandSquare([h,p,g,y],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},t.prototype.getMatrixCenter=function(){var t,e,r,n;try{var o=new u.default(this.image).detect();t=o[0],e=o[1],r=o[2],n=o[3]}catch(c){var a=this.image.getWidth()/2,f=this.image.getHeight()/2;t=this.getFirstDifferent(new h(a+7,f-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new h(a+7,f+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new h(a-7,f+7),!1,-1,1).toResultPoint(),n=this.getFirstDifferent(new h(a-7,f-7),!1,-1,-1).toResultPoint()}var d=i.default.round((t.getX()+n.getX()+e.getX()+r.getX())/4),s=i.default.round((t.getY()+n.getY()+e.getY()+r.getY())/4);try{o=new u.default(this.image,15,d,s).detect();t=o[0],e=o[1],r=o[2],n=o[3]}catch(c){t=this.getFirstDifferent(new h(d+7,s-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new h(d+7,s+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new h(d-7,s+7),!1,-1,1).toResultPoint(),n=this.getFirstDifferent(new h(d-7,s-7),!1,-1,-1).toResultPoint()}return d=i.default.round((t.getX()+n.getX()+e.getX()+r.getX())/4),s=i.default.round((t.getY()+n.getY()+e.getY()+r.getY())/4),new h(d,s)},t.prototype.getMatrixCornerPoints=function(t){return this.expandSquare(t,2*this.nbCenterLayers,this.getDimension())},t.prototype.sampleGrid=function(t,e,r,n,o){var a=c.default.getInstance(),i=this.getDimension(),u=i/2-this.nbCenterLayers,f=i/2+this.nbCenterLayers;return a.sampleGrid(t,i,i,u,u,f,u,f,f,u,f,e.getX(),e.getY(),r.getX(),r.getY(),n.getX(),n.getY(),o.getX(),o.getY())},t.prototype.sampleLine=function(t,e,r){for(var n=0,o=this.distanceResultPoint(t,e),a=o/r,u=t.getX(),f=t.getY(),d=a*(e.getX()-t.getX())/o,s=a*(e.getY()-t.getY())/o,c=0;c<r;c++)this.image.get(i.default.round(u+c*d),i.default.round(f+c*s))&&(n|=1<<r-c-1);return n},t.prototype.isWhiteOrBlackRectangle=function(t,e,r,n){t=new h(t.getX()-3,t.getY()+3),e=new h(e.getX()-3,e.getY()-3),r=new h(r.getX()+3,r.getY()-3),n=new h(n.getX()+3,n.getY()+3);var o=this.getColor(n,t);if(0===o)return!1;var a=this.getColor(t,e);return a===o&&(a=this.getColor(e,r),a===o&&(a=this.getColor(r,n),a===o))},t.prototype.getColor=function(t,e){for(var r=this.distancePoint(t,e),n=(e.getX()-t.getX())/r,o=(e.getY()-t.getY())/r,a=0,u=t.getX(),f=t.getY(),d=this.image.get(t.getX(),t.getY()),s=Math.ceil(r),c=0;c<s;c++)u+=n,f+=o,this.image.get(i.default.round(u),i.default.round(f))!==d&&a++;var l=a/r;return l>.1&&l<.9?0:l<=.1===d?1:-1},t.prototype.getFirstDifferent=function(t,e,r,n){var o=t.getX()+r,a=t.getY()+n;while(this.isValid(o,a)&&this.image.get(o,a)===e)o+=r,a+=n;o-=r,a-=n;while(this.isValid(o,a)&&this.image.get(o,a)===e)o+=r;o-=r;while(this.isValid(o,a)&&this.image.get(o,a)===e)a+=n;return a-=n,new h(o,a)},t.prototype.expandSquare=function(t,e,r){var n=r/(2*e),a=t[0].getX()-t[2].getX(),i=t[0].getY()-t[2].getY(),u=(t[0].getX()+t[2].getX())/2,f=(t[0].getY()+t[2].getY())/2,d=new o.default(u+n*a,f+n*i),s=new o.default(u-n*a,f-n*i);a=t[1].getX()-t[3].getX(),i=t[1].getY()-t[3].getY(),u=(t[1].getX()+t[3].getX())/2,f=(t[1].getY()+t[3].getY())/2;var c=new o.default(u+n*a,f+n*i),l=new o.default(u-n*a,f-n*i),h=[d,c,s,l];return h},t.prototype.isValid=function(t,e){return t>=0&&t<this.image.getWidth()&&e>0&&e<this.image.getHeight()},t.prototype.isValidPoint=function(t){var e=i.default.round(t.getX()),r=i.default.round(t.getY());return this.isValid(e,r)},t.prototype.distancePoint=function(t,e){return i.default.distance(t.getX(),t.getY(),e.getX(),e.getY())},t.prototype.distanceResultPoint=function(t,e){return i.default.distance(t.getX(),t.getY(),e.getX(),e.getY())},t.prototype.getDimension=function(){return this.compact?4*this.nbLayers+11:this.nbLayers<=4?4*this.nbLayers+15:4*this.nbLayers+2*(l.default.truncDivision(this.nbLayers-4,8)+1)+15},t}(),g=p;e.default=g},"3cf1":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.VideoInputDevice=void 0,r("9370"),r("6730");var n=function(){function t(t,e,r){this.deviceId=t,this.label=e,this.kind="videoinput",this.groupId=r||void 0}return t.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},t}();e.VideoInputDevice=n},"3dae":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("e062"),r("64aa"),r("4259");var o=n(r("c769")),a=n(r("f228")),i=n(r("4d7d")),u=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),f=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(t){function e(){var e=t.call(this)||this;return e.decodeFinderCounters=new Int32Array(4),e.dataCharacterCounters=new Int32Array(8),e.oddRoundingErrors=new Array(4),e.evenRoundingErrors=new Array(4),e.oddCounts=new Array(e.dataCharacterCounters.length/2),e.evenCounts=new Array(e.dataCharacterCounters.length/2),e}return u(e,t),e.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},e.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},e.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},e.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},e.prototype.getOddCounts=function(){return this.oddCounts},e.prototype.getEvenCounts=function(){return this.evenCounts},e.prototype.parseFinderValue=function(t,r){for(var n=0;n<r.length;n++)if(i.default.patternMatchVariance(t,r[n],e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return n;throw new a.default},e.count=function(t){return o.default.sum(new Int32Array(t))},e.increment=function(t,e){for(var r=0,n=e[0],o=1;o<t.length;o++)e[o]>n&&(n=e[o],r=o);t[r]++},e.decrement=function(t,e){for(var r=0,n=e[0],o=1;o<t.length;o++)e[o]<n&&(n=e[o],r=o);t[r]--},e.isFinderPattern=function(t){var r,n,o=t[0]+t[1],a=o+t[2]+t[3],i=o/a;if(i>=e.MIN_FINDER_PATTERN_RATIO&&i<=e.MAX_FINDER_PATTERN_RATIO){var u=Number.MAX_SAFE_INTEGER,d=Number.MIN_SAFE_INTEGER;try{for(var s=f(t),c=s.next();!c.done;c=s.next()){var l=c.value;l>d&&(d=l),l<u&&(u=l)}}catch(h){r={error:h}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return d<10*u}return!1},e.MAX_AVG_VARIANCE=.2,e.MAX_INDIVIDUAL_VARIANCE=.45,e.MIN_FINDER_PATTERN_RATIO=9.5/12,e.MAX_FINDER_PATTERN_RATIO=12.5/14,e}(i.default),s=d;e.default=s},"3e26":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.MinimalEncoder=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("aa9c"),r("c223"),r("9db6"),r("9327"),r("fd3c"),r("1851"),r("3efd"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o,a=r("eab1"),i=n(r("3fac")),u=r("9c2f"),f=n(r("e5d0")),d=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),s=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,a=r.call(t),i=[];try{while((void 0===e||e-- >0)&&!(n=a.next()).done)i.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(r=a["return"])&&r.call(a)}finally{if(o)throw o.error}}return i},l=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(c(arguments[e]));return t};(function(t){t[t["ASCII"]=0]="ASCII",t[t["C40"]=1]="C40",t[t["TEXT"]=2]="TEXT",t[t["X12"]=3]="X12",t[t["EDF"]=4]="EDF",t[t["B256"]=5]="B256"})(o||(o={}));var h=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],p=function(){function t(){}return t.isExtendedASCII=function(t,e){return t!==e&&t>=128&&t<=255},t.isInC40Shift1Set=function(t){return t<=31},t.isInC40Shift2Set=function(t,e){var r,n;try{for(var o=s(h),a=o.next();!a.done;a=o.next()){var i=a.value;if(i.charCodeAt(0)===t)return!0}}catch(u){r={error:u}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return t===e},t.isInTextShift1Set=function(t){return this.isInC40Shift1Set(t)},t.isInTextShift2Set=function(t,e){return this.isInC40Shift2Set(t,e)},t.encodeHighLevel=function(t,e,r,n){void 0===e&&(e=null),void 0===r&&(r=-1),void 0===n&&(n=0);var o=0;return t.startsWith(a.MACRO_05_HEADER)&&t.endsWith(a.MACRO_TRAILER)?(o=5,t=t.substring(a.MACRO_05_HEADER.length,t.length-2)):t.startsWith(a.MACRO_06_HEADER)&&t.endsWith(a.MACRO_TRAILER)&&(o=6,t=t.substring(a.MACRO_06_HEADER.length,t.length-2)),decodeURIComponent(escape(String.fromCharCode.apply(String,l(this.encode(t,e,r,n,o)))))},t.encode=function(t,e,r,n,o){return this.encodeMinimally(new v(t,e,r,n,o)).getBytes()},t.addEdge=function(t,e){var r=e.fromPosition+e.characterLength;(null===t[r][e.getEndMode()]||t[r][e.getEndMode()].cachedTotalSize>e.cachedTotalSize)&&(t[r][e.getEndMode()]=e)},t.getNumberOfC40Words=function(e,r,n,o){for(var a=0,u=r;u<e.length();u++){if(e.isECI(u))return o[0]=0,0;var f=e.charAt(u);if(n&&i.default.isNativeC40(f)||!n&&i.default.isNativeText(f))a++;else if(t.isExtendedASCII(f,e.getFNC1Character())){var d=255&f;d>=128&&(n&&i.default.isNativeC40(d-128)||!n&&i.default.isNativeText(d-128))?a+=3:a+=4}else a+=2;if(a%3===0||(a-2)%3===0&&u+1===e.length())return o[0]=u-r+1,Math.ceil(a/3)}return o[0]=0,0},t.addEdges=function(e,r,n,a){var u,f;if(e.isECI(n))this.addEdge(r,new y(e,o.ASCII,n,1,a));else{var d,c=e.charAt(n);if(null===a||a.getEndMode()!==o.EDF){i.default.isDigit(c)&&e.haveNCharacters(n,2)&&i.default.isDigit(e.charAt(n+1))?this.addEdge(r,new y(e,o.ASCII,n,2,a)):this.addEdge(r,new y(e,o.ASCII,n,1,a));var l=[o.C40,o.TEXT];try{for(var h=s(l),p=h.next();!p.done;p=h.next()){var g=p.value,v=[];t.getNumberOfC40Words(e,n,g===o.C40,v)>0&&this.addEdge(r,new y(e,g,n,v[0],a))}}catch(_){u={error:_}}finally{try{p&&!p.done&&(f=h.return)&&f.call(h)}finally{if(u)throw u.error}}e.haveNCharacters(n,3)&&i.default.isNativeX12(e.charAt(n))&&i.default.isNativeX12(e.charAt(n+1))&&i.default.isNativeX12(e.charAt(n+2))&&this.addEdge(r,new y(e,o.X12,n,3,a)),this.addEdge(r,new y(e,o.B256,n,1,a))}for(d=0;d<3;d++){var w=n+d;if(!e.haveNCharacters(w,1)||!i.default.isNativeEDIFACT(e.charAt(w)))break;this.addEdge(r,new y(e,o.EDF,n,d+1,a))}3===d&&e.haveNCharacters(n,4)&&i.default.isNativeEDIFACT(e.charAt(n+3))&&this.addEdge(r,new y(e,o.EDF,n,4,a))}},t.encodeMinimally=function(t){var e=t.length(),r=Array(e+1).fill(null).map((function(){return Array(6).fill(0)}));this.addEdges(t,r,0,null);for(var n=1;n<=e;n++){for(var o=0;o<6;o++)null!==r[n][o]&&n<e&&this.addEdges(t,r,n,r[n][o]);for(o=0;o<6;o++)r[n-1][o]=null}var a=-1,i=f.default.MAX_VALUE;for(o=0;o<6;o++)if(null!==r[e][o]){var u=r[e][o],d=o>=1&&o<=3?u.cachedTotalSize+1:u.cachedTotalSize;d<i&&(i=d,a=o)}if(a<0)throw new Error('Failed to encode "'+t+'"');return new g(r[e][a])},t}();e.MinimalEncoder=p;var g=function(){function t(t){var e=t.input,r=0,n=[],a=[],i=[];t.mode!==o.C40&&t.mode!==o.TEXT&&t.mode!==o.X12||t.getEndMode()===o.ASCII||(r+=this.prepend(y.getBytes(254),n));var u=t;while(null!==u)r+=this.prepend(u.getDataBytes(),n),null!==u.previous&&u.getPreviousStartMode()===u.getMode()||(u.getMode()===o.B256&&(r<=249?(n.unshift(r),r++):(n.unshift(r%250),n.unshift(r/250+249),r+=2),a.push(n.length),i.push(r)),this.prepend(u.getLatchBytes(),n),r=0),u=u.previous;5===e.getMacroId()?r+=this.prepend(y.getBytes(236),n):6===e.getMacroId()&&(r+=this.prepend(y.getBytes(237),n)),e.getFNC1Character()>0&&(r+=this.prepend(y.getBytes(232),n));for(var f=0;f<a.length;f++)this.applyRandomPattern(n,n.length-a[f],i[f]);var d=t.getMinSymbolSize(n.length);n.length<d&&n.push(129);while(n.length<d)n.push(this.randomize253State(n.length+1));this.bytes=new Uint8Array(n.length);for(f=0;f<this.bytes.length;f++)this.bytes[f]=n[f]}return t.prototype.prepend=function(t,e){for(var r=t.length-1;r>=0;r--)e.unshift(t[r]);return t.length},t.prototype.randomize253State=function(t){var e=149*t%253+1,r=129+e;return r<=254?r:r-254},t.prototype.applyRandomPattern=function(t,e,r){for(var n=0;n<r;n++){var o=e+n,a=255&t[o],i=149*(o+1)%255+1,u=a+i;t[o]=u<=255?u:u-256}},t.prototype.getBytes=function(){return this.bytes},t}(),y=function(){function t(t,e,r,n,a){if(this.input=t,this.mode=e,this.fromPosition=r,this.characterLength=n,this.previous=a,this.allCodewordCapacities=[3,5,8,10,12,16,18,22,30,32,36,44,49,62,86,114,144,174,204,280,368,456,576,696,816,1050,1304,1558],this.squareCodewordCapacities=[3,5,8,12,18,22,30,36,44,62,86,114,144,174,204,280,368,456,576,696,816,1050,1304,1558],this.rectangularCodewordCapacities=[5,10,16,33,32,49],!(r+n<=t.length()))throw new Error("Invalid edge");var i=null!==a?a.cachedTotalSize:0,u=this.getPreviousMode();switch(e){case o.ASCII:i++,(t.isECI(r)||p.isExtendedASCII(t.charAt(r),t.getFNC1Character()))&&i++,u!==o.C40&&u!==o.TEXT&&u!==o.X12||i++;break;case o.B256:i++,(u!==o.B256||250===this.getB256Size())&&i++,u===o.ASCII?i++:u!==o.C40&&u!==o.TEXT&&u!==o.X12||(i+=2);break;case o.C40:case o.TEXT:case o.X12:if(e===o.X12)i+=2;else{i+=2*p.getNumberOfC40Words(t,r,e===o.C40,[])}u===o.ASCII||u===o.B256?i++:u===e||u!==o.C40&&u!==o.TEXT&&u!==o.X12||(i+=2);break;case o.EDF:i+=3,u===o.ASCII||u===o.B256?i++:u!==o.C40&&u!==o.TEXT&&u!==o.X12||(i+=2);break}this.cachedTotalSize=i}return t.prototype.getB256Size=function(){var t=0,e=this;while(null!==e&&e.mode===o.B256&&t<=250)t++,e=e.previous;return t},t.prototype.getPreviousStartMode=function(){return null===this.previous?o.ASCII:this.previous.mode},t.prototype.getPreviousMode=function(){return null===this.previous?o.ASCII:this.previous.getEndMode()},t.prototype.getEndMode=function(){if(this.mode===o.EDF){if(this.characterLength<4)return o.ASCII;var t=this.getLastASCII();if(t>0&&this.getCodewordsRemaining(this.cachedTotalSize+t)<=2-t)return o.ASCII}if(this.mode===o.C40||this.mode===o.TEXT||this.mode===o.X12){if(this.fromPosition+this.characterLength>=this.input.length()&&0===this.getCodewordsRemaining(this.cachedTotalSize))return o.ASCII;t=this.getLastASCII();if(1===t&&0===this.getCodewordsRemaining(this.cachedTotalSize+1))return o.ASCII}return this.mode},t.prototype.getMode=function(){return this.mode},t.prototype.getLastASCII=function(){var t=this.input.length(),e=this.fromPosition+this.characterLength;return t-e>4||e>=t?0:t-e===1?p.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())?0:1:t-e===2?p.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())||p.isExtendedASCII(this.input.charAt(e+1),this.input.getFNC1Character())?0:i.default.isDigit(this.input.charAt(e))&&i.default.isDigit(this.input.charAt(e+1))?1:2:t-e===3?i.default.isDigit(this.input.charAt(e))&&i.default.isDigit(this.input.charAt(e+1))&&!p.isExtendedASCII(this.input.charAt(e+2),this.input.getFNC1Character())||i.default.isDigit(this.input.charAt(e+1))&&i.default.isDigit(this.input.charAt(e+2))&&!p.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())?2:0:i.default.isDigit(this.input.charAt(e))&&i.default.isDigit(this.input.charAt(e+1))&&i.default.isDigit(this.input.charAt(e+2))&&i.default.isDigit(this.input.charAt(e+3))?2:0},t.prototype.getMinSymbolSize=function(t){var e,r,n,o,a,i;switch(this.input.getShapeHint()){case 1:try{for(var u=s(this.squareCodewordCapacities),f=u.next();!f.done;f=u.next()){var d=f.value;if(d>=t)return d}}catch(g){e={error:g}}finally{try{f&&!f.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}break;case 2:try{for(var c=s(this.rectangularCodewordCapacities),l=c.next();!l.done;l=c.next()){d=l.value;if(d>=t)return d}}catch(y){n={error:y}}finally{try{l&&!l.done&&(o=c.return)&&o.call(c)}finally{if(n)throw n.error}}break}try{for(var h=s(this.allCodewordCapacities),p=h.next();!p.done;p=h.next()){d=p.value;if(d>=t)return d}}catch(v){a={error:v}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(a)throw a.error}}return this.allCodewordCapacities[this.allCodewordCapacities.length-1]},t.prototype.getCodewordsRemaining=function(t){return this.getMinSymbolSize(t)-t},t.getBytes=function(t,e){var r=new Uint8Array(e?2:1);return r[0]=t,e&&(r[1]=e),r},t.prototype.setC40Word=function(t,e,r,n,o){var a=1600*(255&r)+40*(255&n)+(255&o)+1;t[e]=a/256,t[e+1]=a%256},t.prototype.getX12Value=function(t){return 13===t?0:42===t?1:62===t?2:32===t?3:t>=48&&t<=57?t-44:t>=65&&t<=90?t-51:t},t.prototype.getX12Words=function(){if(this.characterLength%3!==0)throw new Error("X12 words must be a multiple of 3");for(var t=new Uint8Array(this.characterLength/3*2),e=0;e<t.length;e+=2)this.setC40Word(t,e,this.getX12Value(this.input.charAt(this.fromPosition+e/2*3)),this.getX12Value(this.input.charAt(this.fromPosition+e/2*3+1)),this.getX12Value(this.input.charAt(this.fromPosition+e/2*3+2)));return t},t.prototype.getShiftValue=function(t,e,r){return e&&p.isInC40Shift1Set(t)||!e&&p.isInTextShift1Set(t)?0:e&&p.isInC40Shift2Set(t,r)||!e&&p.isInTextShift2Set(t,r)?1:2},t.prototype.getC40Value=function(t,e,r,n){if(r===n){if(2!==e)throw new Error("FNC1 cannot be used in C40 shift 2");return 27}return t?r<=31?r:32===r?3:r<=47?r-33:r<=57?r-44:r<=64?r-43:r<=90?r-51:r<=95?r-69:r<=127?r-96:r:0===r?0:0===e&&r<=3?r-1:1===e&&r<=31?r:32===r?3:r>=33&&r<=47?r-33:r>=48&&r<=57?r-44:r>=58&&r<=64?r-43:r>=65&&r<=90?r-64:r>=91&&r<=95?r-69:96===r?0:r>=97&&r<=122?r-83:r>=123&&r<=127?r-96:r},t.prototype.getC40Words=function(t,e){for(var r=[],n=0;n<this.characterLength;n++){var o=this.input.charAt(this.fromPosition+n);if(t&&i.default.isNativeC40(o)||!t&&i.default.isNativeText(o))r.push(this.getC40Value(t,0,o,e));else if(p.isExtendedASCII(o,e)){var a=(255&o)-128;if(t&&i.default.isNativeC40(a)||!t&&i.default.isNativeText(a))r.push(1),r.push(30),r.push(this.getC40Value(t,0,a,e));else{r.push(1),r.push(30);u=this.getShiftValue(a,t,e);r.push(u),r.push(this.getC40Value(t,u,a,e))}}else{var u=this.getShiftValue(o,t,e);r.push(u),r.push(this.getC40Value(t,u,o,e))}}if(r.length%3!==0){if((r.length-2)%3!==0||this.fromPosition+this.characterLength!==this.input.length())throw new Error("C40 words must be a multiple of 3");r.push(0)}var f=new Uint8Array(r.length/3*2),d=0;for(n=0;n<r.length;n+=3)this.setC40Word(f,d,255&r[n],255&r[n+1],255&r[n+2]),d+=2;return f},t.prototype.getEDFBytes=function(){for(var t=Math.ceil(this.characterLength/4),e=new Uint8Array(3*t),r=this.fromPosition,n=Math.min(this.fromPosition+this.characterLength-1,this.input.length()-1),o=0;o<t;o+=3){for(var a=[],i=0;i<4;i++)a[i]=r<=n?63&this.input.charAt(r++):r===n+1?31:0;var u=a[0]<<18;u|=a[1]<<12,u|=a[2]<<6,u|=a[3],e[o]=u>>16&255,e[o+1]=u>>8&255,e[o+2]=255&u}return e},t.prototype.getLatchBytes=function(){switch(this.getPreviousMode()){case o.ASCII:case o.B256:switch(this.mode){case o.B256:return t.getBytes(231);case o.C40:return t.getBytes(230);case o.TEXT:return t.getBytes(239);case o.X12:return t.getBytes(238);case o.EDF:return t.getBytes(240)}break;case o.C40:case o.TEXT:case o.X12:if(this.mode!==this.getPreviousMode())switch(this.mode){case o.ASCII:return t.getBytes(254);case o.B256:return t.getBytes(254,231);case o.C40:return t.getBytes(254,230);case o.TEXT:return t.getBytes(254,239);case o.X12:return t.getBytes(254,238);case o.EDF:return t.getBytes(254,240)}break;case o.EDF:if(this.mode!==o.EDF)throw new Error("Cannot switch from EDF to "+this.mode);break}return new Uint8Array(0)},t.prototype.getDataBytes=function(){switch(this.mode){case o.ASCII:return this.input.isECI(this.fromPosition)?t.getBytes(241,this.input.getECIValue(this.fromPosition)+1):p.isExtendedASCII(this.input.charAt(this.fromPosition),this.input.getFNC1Character())?t.getBytes(235,this.input.charAt(this.fromPosition)-127):2===this.characterLength?t.getBytes(10*this.input.charAt(this.fromPosition)+this.input.charAt(this.fromPosition+1)+130):this.input.isFNC1(this.fromPosition)?t.getBytes(232):t.getBytes(this.input.charAt(this.fromPosition)+1);case o.B256:return t.getBytes(this.input.charAt(this.fromPosition));case o.C40:return this.getC40Words(!0,this.input.getFNC1Character());case o.TEXT:return this.getC40Words(!1,this.input.getFNC1Character());case o.X12:return this.getX12Words();case o.EDF:return this.getEDFBytes()}},t}(),v=function(t){function e(e,r,n,o,a){var i=t.call(this,e,r,n)||this;return i.shape=o,i.macroId=a,i}return d(e,t),e.prototype.getMacroId=function(){return this.macroId},e.prototype.getShapeHint=function(){return this.shape},e}(u.MinimalECIInput)},"3f6d":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t){this.mirrored=t}return t.prototype.isMirrored=function(){return this.mirrored},t.prototype.applyMirroredCorrection=function(t){if(this.mirrored&&null!==t&&!(t.length<3)){var e=t[0];t[0]=t[2],t[2]=e}},t}(),o=n;e.default=o},"3fa8":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.kind="ArgumentException",e}(o.default),u=i;e.default=u},"3fac":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("9db6"),r("9327"),r("c9b5"),r("bf0f"),r("ab80"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1851"),r("7a76");var o=r("2570"),a=r("bcd6"),i=r("f2b5"),u=r("eab1"),f=r("e120"),d=r("a370"),s=r("a455"),c=r("976e"),l=n(r("36d3")),h=n(r("e5d0")),p=function(){function t(){}return t.randomize253State=function(t){var e=149*t%253+1,r=u.PAD+e;return r<=254?r:r-254},t.encodeHighLevel=function(t,e,r,n,l){void 0===e&&(e=0),void 0===r&&(r=null),void 0===n&&(n=null),void 0===l&&(l=!1);var h=new i.C40Encoder,p=[new o.ASCIIEncoder,h,new c.TextEncoder,new s.X12Encoder,new f.EdifactEncoder,new a.Base256Encoder],g=new d.EncoderContext(t);g.setSymbolShape(e),g.setSizeConstraints(r,n),t.startsWith(u.MACRO_05_HEADER)&&t.endsWith(u.MACRO_TRAILER)?(g.writeCodeword(u.MACRO_05),g.setSkipAtEnd(2),g.pos+=u.MACRO_05_HEADER.length):t.startsWith(u.MACRO_06_HEADER)&&t.endsWith(u.MACRO_TRAILER)&&(g.writeCodeword(u.MACRO_06),g.setSkipAtEnd(2),g.pos+=u.MACRO_06_HEADER.length);var y=u.ASCII_ENCODATION;l&&(h.encodeMaximal(g),y=g.getNewEncoding(),g.resetEncoderSignal());while(g.hasMoreCharacters())p[y].encode(g),g.getNewEncoding()>=0&&(y=g.getNewEncoding(),g.resetEncoderSignal());var v=g.getCodewordCount();g.updateSymbolInfo();var w=g.getSymbolInfo().getDataCapacity();v<w&&y!==u.ASCII_ENCODATION&&y!==u.BASE256_ENCODATION&&y!==u.EDIFACT_ENCODATION&&g.writeCodeword("þ");var _=g.getCodewords();_.length()<w&&_.append(u.PAD);while(_.length()<w)_.append(this.randomize253State(_.length()+1));return g.getCodewords().toString()},t.lookAheadTest=function(t,e,r){var n=this.lookAheadTestIntern(t,e,r);if(r===u.X12_ENCODATION&&n===u.X12_ENCODATION){for(var o=Math.min(e+3,t.length),a=e;a<o;a++)if(!this.isNativeX12(t.charCodeAt(a)))return u.ASCII_ENCODATION}else if(r===u.EDIFACT_ENCODATION&&n===u.EDIFACT_ENCODATION)for(o=Math.min(e+4,t.length),a=e;a<o;a++)if(!this.isNativeEDIFACT(t.charCodeAt(a)))return u.ASCII_ENCODATION;return n},t.lookAheadTestIntern=function(t,e,r){if(e>=t.length)return r;var n;r===u.ASCII_ENCODATION?n=[0,1,1,1,1,1.25]:(n=[1,2,2,2,2,2.25],n[r]=0);var o=0,a=new Uint8Array(6),i=[];while(1){if(e+o===t.length){l.default.fill(a,0),l.default.fill(i,0);var f=this.findMinimums(n,i,h.default.MAX_VALUE,a),d=this.getMinimumCount(a);if(i[u.ASCII_ENCODATION]===f)return u.ASCII_ENCODATION;if(1===d){if(a[u.BASE256_ENCODATION]>0)return u.BASE256_ENCODATION;if(a[u.EDIFACT_ENCODATION]>0)return u.EDIFACT_ENCODATION;if(a[u.TEXT_ENCODATION]>0)return u.TEXT_ENCODATION;if(a[u.X12_ENCODATION]>0)return u.X12_ENCODATION}return u.C40_ENCODATION}var s=t.charCodeAt(e+o);if(o++,this.isDigit(s)?n[u.ASCII_ENCODATION]+=.5:this.isExtendedASCII(s)?(n[u.ASCII_ENCODATION]=Math.ceil(n[u.ASCII_ENCODATION]),n[u.ASCII_ENCODATION]+=2):(n[u.ASCII_ENCODATION]=Math.ceil(n[u.ASCII_ENCODATION]),n[u.ASCII_ENCODATION]++),this.isNativeC40(s)?n[u.C40_ENCODATION]+=2/3:this.isExtendedASCII(s)?n[u.C40_ENCODATION]+=8/3:n[u.C40_ENCODATION]+=4/3,this.isNativeText(s)?n[u.TEXT_ENCODATION]+=2/3:this.isExtendedASCII(s)?n[u.TEXT_ENCODATION]+=8/3:n[u.TEXT_ENCODATION]+=4/3,this.isNativeX12(s)?n[u.X12_ENCODATION]+=2/3:this.isExtendedASCII(s)?n[u.X12_ENCODATION]+=13/3:n[u.X12_ENCODATION]+=10/3,this.isNativeEDIFACT(s)?n[u.EDIFACT_ENCODATION]+=3/4:this.isExtendedASCII(s)?n[u.EDIFACT_ENCODATION]+=4.25:n[u.EDIFACT_ENCODATION]+=3.25,this.isSpecialB256(s)?n[u.BASE256_ENCODATION]+=4:n[u.BASE256_ENCODATION]++,o>=4){if(l.default.fill(a,0),l.default.fill(i,0),this.findMinimums(n,i,h.default.MAX_VALUE,a),i[u.ASCII_ENCODATION]<this.min(i[u.BASE256_ENCODATION],i[u.C40_ENCODATION],i[u.TEXT_ENCODATION],i[u.X12_ENCODATION],i[u.EDIFACT_ENCODATION]))return u.ASCII_ENCODATION;if(i[u.BASE256_ENCODATION]<i[u.ASCII_ENCODATION]||i[u.BASE256_ENCODATION]+1<this.min(i[u.C40_ENCODATION],i[u.TEXT_ENCODATION],i[u.X12_ENCODATION],i[u.EDIFACT_ENCODATION]))return u.BASE256_ENCODATION;if(i[u.EDIFACT_ENCODATION]+1<this.min(i[u.BASE256_ENCODATION],i[u.C40_ENCODATION],i[u.TEXT_ENCODATION],i[u.X12_ENCODATION],i[u.ASCII_ENCODATION]))return u.EDIFACT_ENCODATION;if(i[u.TEXT_ENCODATION]+1<this.min(i[u.BASE256_ENCODATION],i[u.C40_ENCODATION],i[u.EDIFACT_ENCODATION],i[u.X12_ENCODATION],i[u.ASCII_ENCODATION]))return u.TEXT_ENCODATION;if(i[u.X12_ENCODATION]+1<this.min(i[u.BASE256_ENCODATION],i[u.C40_ENCODATION],i[u.EDIFACT_ENCODATION],i[u.TEXT_ENCODATION],i[u.ASCII_ENCODATION]))return u.X12_ENCODATION;if(i[u.C40_ENCODATION]+1<this.min(i[u.ASCII_ENCODATION],i[u.BASE256_ENCODATION],i[u.EDIFACT_ENCODATION],i[u.TEXT_ENCODATION])){if(i[u.C40_ENCODATION]<i[u.X12_ENCODATION])return u.C40_ENCODATION;if(i[u.C40_ENCODATION]===i[u.X12_ENCODATION]){var c=e+o+1;while(c<t.length){var p=t.charCodeAt(c);if(this.isX12TermSep(p))return u.X12_ENCODATION;if(!this.isNativeX12(p))break;c++}return u.C40_ENCODATION}}}}},t.min=function(t,e,r,n,o){var a=Math.min(t,Math.min(e,Math.min(r,n)));return void 0===o?a:Math.min(a,o)},t.findMinimums=function(t,e,r,n){for(var o=0;o<6;o++){var a=e[o]=Math.ceil(t[o]);r>a&&(r=a,l.default.fill(n,0)),r===a&&(n[o]=n[o]+1)}return r},t.getMinimumCount=function(t){for(var e=0,r=0;r<6;r++)e+=t[r];return e||0},t.isDigit=function(t){return t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)},t.isExtendedASCII=function(t){return t>=128&&t<=255},t.isNativeC40=function(t){return t===" ".charCodeAt(0)||t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)||t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0)},t.isNativeText=function(t){return t===" ".charCodeAt(0)||t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)||t>="a".charCodeAt(0)&&t<="z".charCodeAt(0)},t.isNativeX12=function(t){return this.isX12TermSep(t)||t===" ".charCodeAt(0)||t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)||t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0)},t.isX12TermSep=function(t){return 13===t||t==="*".charCodeAt(0)||t===">".charCodeAt(0)},t.isNativeEDIFACT=function(t){return t>=" ".charCodeAt(0)&&t<="^".charCodeAt(0)},t.isSpecialB256=function(t){return!1},t.determineConsecutiveDigitCount=function(t,e){void 0===e&&(e=0);var r=t.length,n=e;while(n<r&&this.isDigit(t.charCodeAt(n)))n++;return n-e},t.illegalCharacter=function(t){var e=h.default.toHexString(t.charCodeAt(0));throw e="0000".substring(0,4-e.length)+e,new Error("Illegal character: "+t+" (0x"+e+")")},t}(),g=p;e.default=g},"40fe":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("ab80");var o=n(r("5a0c")),a=n(r("a608")),i=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(){function t(t,e){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=t,this.barcodeColumnCount=t.getColumnCount(),this.boundingBox=e,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return t.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var t,e=o.default.MAX_CODEWORDS_IN_BARCODE;do{t=e,e=this.adjustRowNumbersAndGetCount()}while(e>0&&e<t);return this.detectionResultColumns},t.prototype.adjustIndicatorColumnRowNumbers=function(t){null!=t&&t.adjustCompleteIndicatorColumnRowNumbers(this.barcodeMetadata)},t.prototype.adjustRowNumbersAndGetCount=function(){var t=this.adjustRowNumbersByRow();if(0===t)return 0;for(var e=1;e<this.barcodeColumnCount+1;e++)for(var r=this.detectionResultColumns[e].getCodewords(),n=0;n<r.length;n++)null!=r[n]&&(r[n].hasValidRowNumber()||this.adjustRowNumbers(e,n,r));return t},t.prototype.adjustRowNumbersByRow=function(){this.adjustRowNumbersFromBothRI();var t=this.adjustRowNumbersFromLRI();return t+this.adjustRowNumbersFromRRI()},t.prototype.adjustRowNumbersFromBothRI=function(){if(null!=this.detectionResultColumns[0]&&null!=this.detectionResultColumns[this.barcodeColumnCount+1])for(var t=this.detectionResultColumns[0].getCodewords(),e=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),r=0;r<t.length;r++)if(null!=t[r]&&null!=e[r]&&t[r].getRowNumber()===e[r].getRowNumber())for(var n=1;n<=this.barcodeColumnCount;n++){var o=this.detectionResultColumns[n].getCodewords()[r];null!=o&&(o.setRowNumber(t[r].getRowNumber()),o.hasValidRowNumber()||(this.detectionResultColumns[n].getCodewords()[r]=null))}},t.prototype.adjustRowNumbersFromRRI=function(){if(null==this.detectionResultColumns[this.barcodeColumnCount+1])return 0;for(var e=0,r=this.detectionResultColumns[this.barcodeColumnCount+1].getCodewords(),n=0;n<r.length;n++)if(null!=r[n])for(var o=r[n].getRowNumber(),a=0,i=this.barcodeColumnCount+1;i>0&&a<this.ADJUST_ROW_NUMBER_SKIP;i--){var u=this.detectionResultColumns[i].getCodewords()[n];null!=u&&(a=t.adjustRowNumberIfValid(o,a,u),u.hasValidRowNumber()||e++)}return e},t.prototype.adjustRowNumbersFromLRI=function(){if(null==this.detectionResultColumns[0])return 0;for(var e=0,r=this.detectionResultColumns[0].getCodewords(),n=0;n<r.length;n++)if(null!=r[n])for(var o=r[n].getRowNumber(),a=0,i=1;i<this.barcodeColumnCount+1&&a<this.ADJUST_ROW_NUMBER_SKIP;i++){var u=this.detectionResultColumns[i].getCodewords()[n];null!=u&&(a=t.adjustRowNumberIfValid(o,a,u),u.hasValidRowNumber()||e++)}return e},t.adjustRowNumberIfValid=function(t,e,r){return null==r||r.hasValidRowNumber()||(r.isValidRowNumber(t)?(r.setRowNumber(t),e=0):++e),e},t.prototype.adjustRowNumbers=function(e,r,n){var o,a;if(null!=this.detectionResultColumns[e-1]){var u=n[r],f=this.detectionResultColumns[e-1].getCodewords(),d=f;null!=this.detectionResultColumns[e+1]&&(d=this.detectionResultColumns[e+1].getCodewords());var s=new Array(14);s[2]=f[r],s[3]=d[r],r>0&&(s[0]=n[r-1],s[4]=f[r-1],s[5]=d[r-1]),r>1&&(s[8]=n[r-2],s[10]=f[r-2],s[11]=d[r-2]),r<n.length-1&&(s[1]=n[r+1],s[6]=f[r+1],s[7]=d[r+1]),r<n.length-2&&(s[9]=n[r+2],s[12]=f[r+2],s[13]=d[r+2]);try{for(var c=i(s),l=c.next();!l.done;l=c.next()){var h=l.value;if(t.adjustRowNumber(u,h))return}}catch(p){o={error:p}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}}},t.adjustRowNumber=function(t,e){return null!=e&&(!(!e.hasValidRowNumber()||e.getBucket()!==t.getBucket())&&(t.setRowNumber(e.getRowNumber()),!0))},t.prototype.getBarcodeColumnCount=function(){return this.barcodeColumnCount},t.prototype.getBarcodeRowCount=function(){return this.barcodeMetadata.getRowCount()},t.prototype.getBarcodeECLevel=function(){return this.barcodeMetadata.getErrorCorrectionLevel()},t.prototype.setBoundingBox=function(t){this.boundingBox=t},t.prototype.getBoundingBox=function(){return this.boundingBox},t.prototype.setDetectionResultColumn=function(t,e){this.detectionResultColumns[t]=e},t.prototype.getDetectionResultColumn=function(t){return this.detectionResultColumns[t]},t.prototype.toString=function(){var t=this.detectionResultColumns[0];null==t&&(t=this.detectionResultColumns[this.barcodeColumnCount+1]);for(var e=new a.default,r=0;r<t.getCodewords().length;r++){e.format("CW %3d:",r);for(var n=0;n<this.barcodeColumnCount+2;n++)if(null!=this.detectionResultColumns[n]){var o=this.detectionResultColumns[n].getCodewords()[r];null!=o?e.format(" %3d|%3d",o.getRowNumber(),o.getValue()):e.format(" | ")}else e.format(" | ");e.format("%n")}return e.toString()},t}(),f=u;e.default=f},4259:function(t,e,r){"use strict";var n=r("8bdb");n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},4371:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.scanCode=function(t){uni.navigateTo({url:"/pages/views/scanCodePage?path="+t})},e.scanTheCodeDataTreating=function(t,e){if(-1!=e.indexOf("type")){var r=e.split("?")[1].split("&"),n={};r.forEach((function(t){n[t.split("=")[0]]=t.split("=")[1]})),1==n.type||2==n.type||3==n.type||7==n.type||8==n.type||10==n.type||11==n.type||12==n.type||13==n.type||14==n.type?function(t,e){"home"==t?uni.reLaunch({url:"/pages/views/saoCode/saoCode?q="+encodeURIComponent(e)}):(uni.showToast({mask:!0,icon:"none",position:"center",title:"当前页面无法使用该二维码",duration:2e3}),setTimeout((function(){uni.navigateBack()}),2e3))}(t,e):5==n.type?uni.reLaunch({url:"/pages/views/saoCode/saoCode?q="+encodeURIComponent(e)}):9==n.type&&u(t,n.code)}else u(t,e)};var o=n(r("2634")),a=n(r("2fdc"));r("5ef2"),r("bf0f"),r("2797"),r("d4b5");var i=r("e34d");function u(t,e){return f.apply(this,arguments)}function f(){return f=(0,a.default)((0,o.default)().mark((function t(e,r){var n,a;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if("home"!=e){t.next=8;break}return t.next=3,(0,i.chemicalAppletSelectStockInfo)({tagCode:r});case 3:n=t.sent,a=n.data,200==a.code&&(a.data?(a.data.code=r,uni.navigateTo({url:"/pages_basics/views/chemicalsInfo/chemicalsInfo?item="+encodeURIComponent(JSON.stringify(a.data))})):uni.showToast({mask:!0,icon:"none",position:"center",title:"未找到相关信息,请扫描正确的二维码",duration:2e3})),t.next=10;break;case 8:uni.showToast({mask:!0,icon:"none",position:"center",title:"当前页面无法使用该二维码",duration:2e3}),setTimeout((function(){uni.navigateBack()}),2e3);case 10:case"end":return t.stop()}}),t)}))),f.apply(this,arguments)}},"44ce":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("786c")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.addWeightCode=function(t,e){e<1e4?t.append("(3202)"):t.append("(3203)")},e.prototype.checkWeight=function(t){return t<1e4?t:t-1e4},e}(o.default),u=i;e.default=u},"44d8":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.PROD_SYMBOLS=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5");var n=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t,e,r,n,o,a,i,u){void 0===i&&(i=0),void 0===u&&(u=0),this.rectangular=t,this.dataCapacity=e,this.errorCodewords=r,this.matrixWidth=n,this.matrixHeight=o,this.dataRegions=a,this.rsBlockData=i,this.rsBlockError=u}return t.lookup=function(t,e,r,n,a){var i,u;void 0===e&&(e=0),void 0===r&&(r=null),void 0===n&&(n=null),void 0===a&&(a=!0);try{for(var d=o(f),s=d.next();!s.done;s=d.next()){var c=s.value;if((1!==e||!c.rectangular)&&((2!==e||c.rectangular)&&(null==r||!(c.getSymbolWidth()<r.getWidth()||c.getSymbolHeight()<r.getHeight()))&&(null==n||!(c.getSymbolWidth()>n.getWidth()||c.getSymbolHeight()>n.getHeight()))&&t<=c.dataCapacity))return c}}catch(l){i={error:l}}finally{try{s&&!s.done&&(u=d.return)&&u.call(d)}finally{if(i)throw i.error}}if(a)throw new Error("Can't find a symbol arrangement that matches the message. Data codewords: "+t);return null},t.prototype.getHorizontalDataRegions=function(){switch(this.dataRegions){case 1:return 1;case 2:case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},t.prototype.getVerticalDataRegions=function(){switch(this.dataRegions){case 1:case 2:return 1;case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},t.prototype.getSymbolDataWidth=function(){return this.getHorizontalDataRegions()*this.matrixWidth},t.prototype.getSymbolDataHeight=function(){return this.getVerticalDataRegions()*this.matrixHeight},t.prototype.getSymbolWidth=function(){return this.getSymbolDataWidth()+2*this.getHorizontalDataRegions()},t.prototype.getSymbolHeight=function(){return this.getSymbolDataHeight()+2*this.getVerticalDataRegions()},t.prototype.getCodewordCount=function(){return this.dataCapacity+this.errorCodewords},t.prototype.getInterleavedBlockCount=function(){return this.rsBlockData?this.dataCapacity/this.rsBlockData:1},t.prototype.getDataCapacity=function(){return this.dataCapacity},t.prototype.getErrorCodewords=function(){return this.errorCodewords},t.prototype.getDataLengthForInterleavedBlock=function(t){return this.rsBlockData},t.prototype.getErrorLengthForInterleavedBlock=function(t){return this.rsBlockError},t}(),i=a;e.default=i;var u=function(t){function e(){return t.call(this,!1,1558,620,22,22,36,-1,62)||this}return n(e,t),e.prototype.getInterleavedBlockCount=function(){return 10},e.prototype.getDataLengthForInterleavedBlock=function(t){return t<=8?156:155},e}(a),f=[new a(!1,3,5,8,8,1),new a(!1,5,7,10,10,1),new a(!0,5,7,16,6,1),new a(!1,8,10,12,12,1),new a(!0,10,11,14,6,2),new a(!1,12,12,14,14,1),new a(!0,16,14,24,10,1),new a(!1,18,14,16,16,1),new a(!1,22,18,18,18,1),new a(!0,22,18,16,10,2),new a(!1,30,20,20,20,1),new a(!0,32,24,16,14,2),new a(!1,36,24,22,22,1),new a(!1,44,28,24,24,1),new a(!0,49,28,22,14,2),new a(!1,62,36,14,14,4),new a(!1,86,42,16,16,4),new a(!1,114,48,18,18,4),new a(!1,144,56,20,20,4),new a(!1,174,68,22,22,4),new a(!1,204,84,24,24,4,102,42),new a(!1,280,112,14,14,16,140,56),new a(!1,368,144,16,16,16,92,36),new a(!1,456,192,18,18,16,114,48),new a(!1,576,224,20,20,16,144,56),new a(!1,696,272,22,22,16,174,68),new a(!1,816,336,24,24,16,136,56),new a(!1,1050,408,18,18,36,175,68),new a(!1,1304,496,20,20,36,163,62),new u];e.PROD_SYMBOLS=f},"46f2":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80");var o=n(r("343e")),a=n(r("9e56")),i=n(r("d4f8")),u=n(r("5c29")),f=n(r("2bfd")),d=n(r("3717")),s=n(r("afcc")),c=n(r("8532")),l=function(){function t(t){this.buffer=new i.default,this.information=t}return t.prototype.decodeAllCodes=function(t,e){var r=e,n=null;do{var o=this.decodeGeneralPurposeField(r,n),a=c.default.parseFieldsInGeneralPurpose(o.getNewString());if(null!=a&&t.append(a),n=o.isRemaining()?""+o.getRemainingValue():null,r===o.getNewPosition())break;r=o.getNewPosition()}while(1);return t.toString()},t.prototype.isStillNumeric=function(t){if(t+7>this.information.getSize())return t+4<=this.information.getSize();for(var e=t;e<t+3;++e)if(this.information.get(e))return!0;return this.information.get(t+3)},t.prototype.decodeNumeric=function(t){if(t+7>this.information.getSize()){var e=this.extractNumericValueFromBitArray(t,4);return 0===e?new s.default(this.information.getSize(),s.default.FNC1,s.default.FNC1):new s.default(this.information.getSize(),e-1,s.default.FNC1)}var r=this.extractNumericValueFromBitArray(t,7),n=(r-8)/11,o=(r-8)%11;return new s.default(t+7,n,o)},t.prototype.extractNumericValueFromBitArray=function(e,r){return t.extractNumericValueFromBitArray(this.information,e,r)},t.extractNumericValueFromBitArray=function(t,e,r){for(var n=0,o=0;o<r;++o)t.get(e+o)&&(n|=1<<r-o-1);return n},t.prototype.decodeGeneralPurposeField=function(t,e){this.buffer.setLengthToZero(),null!=e&&this.buffer.append(e),this.current.setPosition(t);var r=this.parseBlocks();return null!=r&&r.isRemaining()?new d.default(this.current.getPosition(),this.buffer.toString(),r.getRemainingValue()):new d.default(this.current.getPosition(),this.buffer.toString())},t.prototype.parseBlocks=function(){var t,e;do{var r=this.current.getPosition();this.current.isAlpha()?(e=this.parseAlphaBlock(),t=e.isFinished()):this.current.isIsoIec646()?(e=this.parseIsoIec646Block(),t=e.isFinished()):(e=this.parseNumericBlock(),t=e.isFinished());var n=r!==this.current.getPosition();if(!n&&!t)break}while(!t);return e.getDecodedInformation()},t.prototype.parseNumericBlock=function(){while(this.isStillNumeric(this.current.getPosition())){var t=this.decodeNumeric(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFirstDigitFNC1()){var e=void 0;return e=t.isSecondDigitFNC1()?new d.default(this.current.getPosition(),this.buffer.toString()):new d.default(this.current.getPosition(),this.buffer.toString(),t.getSecondDigit()),new u.default(!0,e)}if(this.buffer.append(t.getFirstDigit()),t.isSecondDigitFNC1()){e=new d.default(this.current.getPosition(),this.buffer.toString());return new u.default(!0,e)}this.buffer.append(t.getSecondDigit())}return this.isNumericToAlphaNumericLatch(this.current.getPosition())&&(this.current.setAlpha(),this.current.incrementPosition(4)),new u.default(!1)},t.prototype.parseIsoIec646Block=function(){while(this.isStillIsoIec646(this.current.getPosition())){var t=this.decodeIsoIec646(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFNC1()){var e=new d.default(this.current.getPosition(),this.buffer.toString());return new u.default(!0,e)}this.buffer.append(t.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setAlpha()),new u.default(!1)},t.prototype.parseAlphaBlock=function(){while(this.isStillAlpha(this.current.getPosition())){var t=this.decodeAlphanumeric(this.current.getPosition());if(this.current.setPosition(t.getNewPosition()),t.isFNC1()){var e=new d.default(this.current.getPosition(),this.buffer.toString());return new u.default(!0,e)}this.buffer.append(t.getValue())}return this.isAlphaOr646ToNumericLatch(this.current.getPosition())?(this.current.incrementPosition(3),this.current.setNumeric()):this.isAlphaTo646ToAlphaLatch(this.current.getPosition())&&(this.current.getPosition()+5<this.information.getSize()?this.current.incrementPosition(5):this.current.setPosition(this.information.getSize()),this.current.setIsoIec646()),new u.default(!1)},t.prototype.isStillIsoIec646=function(t){if(t+5>this.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+7>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(t,7);if(r>=64&&r<116)return!0;if(t+8>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(t,8);return n>=232&&n<253},t.prototype.decodeIsoIec646=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new f.default(t+5,f.default.FNC1);if(e>=5&&e<15)return new f.default(t+5,"0"+(e-5));var r=this.extractNumericValueFromBitArray(t,7);if(r>=64&&r<90)return new f.default(t+7,""+(r+1));if(r>=90&&r<116)return new f.default(t+7,""+(r+7));var n,a=this.extractNumericValueFromBitArray(t,8);switch(a){case 232:n="!";break;case 233:n='"';break;case 234:n="%";break;case 235:n="&";break;case 236:n="'";break;case 237:n="(";break;case 238:n=")";break;case 239:n="*";break;case 240:n="+";break;case 241:n=",";break;case 242:n="-";break;case 243:n=".";break;case 244:n="/";break;case 245:n=":";break;case 246:n=";";break;case 247:n="<";break;case 248:n="=";break;case 249:n=">";break;case 250:n="?";break;case 251:n="_";break;case 252:n=" ";break;default:throw new o.default}return new f.default(t+8,n)},t.prototype.isStillAlpha=function(t){if(t+5>this.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+6>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(t,6);return r>=16&&r<63},t.prototype.decodeAlphanumeric=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new f.default(t+5,f.default.FNC1);if(e>=5&&e<15)return new f.default(t+5,"0"+(e-5));var r,n=this.extractNumericValueFromBitArray(t,6);if(n>=32&&n<58)return new f.default(t+6,""+(n+33));switch(n){case 58:r="*";break;case 59:r=",";break;case 60:r="-";break;case 61:r=".";break;case 62:r="/";break;default:throw new a.default("Decoding invalid alphanumeric value: "+n)}return new f.default(t+6,r)},t.prototype.isAlphaTo646ToAlphaLatch=function(t){if(t+1>this.information.getSize())return!1;for(var e=0;e<5&&e+t<this.information.getSize();++e)if(2===e){if(!this.information.get(t+2))return!1}else if(this.information.get(t+e))return!1;return!0},t.prototype.isAlphaOr646ToNumericLatch=function(t){if(t+3>this.information.getSize())return!1;for(var e=t;e<t+3;++e)if(this.information.get(e))return!1;return!0},t.prototype.isNumericToAlphaNumericLatch=function(t){if(t+1>this.information.getSize())return!1;for(var e=0;e<4&&e+t<this.information.getSize();++e)if(this.information.get(t+e))return!1;return!0},t}(),h=l;e.default=h},"483b":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e}(o.default),u=i;e.default=u},"49a0":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t,e){this.dataBytes=t,this.errorCorrectionBytes=e}return t.prototype.getDataBytes=function(){return this.dataBytes},t.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},t}(),o=n;e.default=o},"4d7d":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("fcf3"));r("cf80"),r("dc69"),r("c1a3"),r("bf0f"),r("18f7"),r("de6c"),r("2797"),r("64aa");var a=n(r("9c16")),i=n(r("76a0")),u=n(r("37ed")),f=n(r("a8be")),d=n(r("f228")),s=function(){function t(){}return t.prototype.decode=function(t,e){try{return this.doDecode(t,e)}catch(p){var r=e&&!0===e.get(i.default.TRY_HARDER);if(r&&t.isRotateSupported()){var n=t.rotateCounterClockwise(),o=this.doDecode(n,e),a=o.getResultMetadata(),s=270;null!==a&&!0===a.get(u.default.ORIENTATION)&&(s+=a.get(u.default.ORIENTATION)%360),o.putMetadata(u.default.ORIENTATION,s);var c=o.getResultPoints();if(null!==c)for(var l=n.getHeight(),h=0;h<c.length;h++)c[h]=new f.default(l-c[h].getY()-1,c[h].getX());return o}throw new d.default}},t.prototype.reset=function(){},t.prototype.doDecode=function(t,e){var r,n=t.getWidth(),s=t.getHeight(),c=new a.default(n),l=e&&!0===e.get(i.default.TRY_HARDER),h=Math.max(1,s>>(l?8:5));r=l?s:15;for(var p=Math.trunc(s/2),g=0;g<r;g++){var y=Math.trunc((g+1)/2),v=0===(1&g),w=p+h*(v?y:-y);if(w<0||w>=s)break;try{c=t.getBlackRow(w,c)}catch(E){continue}for(var _=function(t){if(1===t&&(c.reverse(),e&&!0===e.get(i.default.NEED_RESULT_POINT_CALLBACK))){var r=new Map;e.forEach((function(t,e){return r.set(e,t)})),r.delete(i.default.NEED_RESULT_POINT_CALLBACK),e=r}try{var o=b.decodeRow(w,c,e);if(1===t){o.putMetadata(u.default.ORIENTATION,180);var a=o.getResultPoints();null!==a&&(a[0]=new f.default(n-a[0].getX()-1,a[0].getY()),a[1]=new f.default(n-a[1].getX()-1,a[1].getY()))}return{value:o}}catch(d){}},b=this,C=0;C<2;C++){var A=_(C);if("object"===(0,o.default)(A))return A.value}}throw new d.default},t.recordPattern=function(t,e,r){for(var n=r.length,o=0;o<n;o++)r[o]=0;var a=t.getSize();if(e>=a)throw new d.default;var i=!t.get(e),u=0,f=e;while(f<a){if(t.get(f)!==i)r[u]++;else{if(++u===n)break;r[u]=1,i=!i}f++}if(u!==n&&(u!==n-1||f!==a))throw new d.default},t.recordPatternInReverse=function(e,r,n){var o=n.length,a=e.get(r);while(r>0&&o>=0)e.get(--r)!==a&&(o--,a=!a);if(o>=0)throw new d.default;t.recordPattern(e,r+1,n)},t.patternMatchVariance=function(t,e,r){for(var n=t.length,o=0,a=0,i=0;i<n;i++)o+=t[i],a+=e[i];if(o<a)return Number.POSITIVE_INFINITY;var u=o/a;r*=u;for(var f=0,d=0;d<n;d++){var s=t[d],c=e[d]*u,l=s>c?s-c:c-s;if(l>r)return Number.POSITIVE_INFINITY;f+=l}return f/o},t}(),c=s;e.default=c},"4e64":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.kind="UnsupportedOperationException",e}(o.default),u=i;e.default=u},"4f82":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("c9b5"),r("bf0f"),r("ab80");var o=n(r("c20f")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e,r,n){var o=t.call(this,e,0,0)||this;return o.binaryShiftStart=r,o.binaryShiftByteCount=n,o}return a(e,t),e.prototype.appendTo=function(t,e){for(var r=0;r<this.binaryShiftByteCount;r++)(0===r||31===r&&this.binaryShiftByteCount<=62)&&(t.appendBits(31,5),this.binaryShiftByteCount>62?t.appendBits(this.binaryShiftByteCount-31,16):0===r?t.appendBits(Math.min(this.binaryShiftByteCount,31),5):t.appendBits(this.binaryShiftByteCount-31,5)),t.appendBits(e[this.binaryShiftStart+r],8)},e.prototype.addBinaryShift=function(t,r){return new e(this,t,r)},e.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},e}(o.default),u=i;e.default=u},"4f9b":function(t,e,r){"use strict";var n=r("6a50");n("Float32",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},"50f3":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("bf0f"),r("2797");var o=n(r("0c24")),a=n(r("b717")),i=n(r("76a0")),u=n(r("37ed")),f=n(r("1ff8")),d=n(r("c9e4")),s=n(r("3b7d")),c=function(){function t(){}return t.prototype.decode=function(t,e){void 0===e&&(e=null);var r=null,n=new s.default(t.getBlackMatrix()),i=null,c=null;try{var l=n.detectMirror(!1);i=l.getPoints(),this.reportFoundResultPoints(e,i),c=(new d.default).decode(l)}catch(y){r=y}if(null==c)try{l=n.detectMirror(!0);i=l.getPoints(),this.reportFoundResultPoints(e,i),c=(new d.default).decode(l)}catch(y){if(null!=r)throw r;throw y}var h=new o.default(c.getText(),c.getRawBytes(),c.getNumBits(),i,a.default.AZTEC,f.default.currentTimeMillis()),p=c.getByteSegments();null!=p&&h.putMetadata(u.default.BYTE_SEGMENTS,p);var g=c.getECLevel();return null!=g&&h.putMetadata(u.default.ERROR_CORRECTION_LEVEL,g),h},t.prototype.reportFoundResultPoints=function(t,e){if(null!=t){var r=t.get(i.default.NEED_RESULT_POINT_CALLBACK);null!=r&&e.forEach((function(t,e,n){r.foundPossibleResultPoint(t)}))}},t.prototype.reset=function(){},t}(),l=c;e.default=l},"51ff":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("4626"),r("5ac7"),r("aa9c"),r("bf0f"),r("2797");var o=n(r("b717")),a=n(r("76a0")),i=n(r("f228")),u=n(r("36aa")),f=n(r("b1cb")),d=n(r("e0a5")),s=n(r("6806")),c=n(r("a1f5")),l=n(r("4d7d")),h=n(r("6d31")),p=n(r("a9a0")),g=n(r("8456")),y=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),v=function(t){function e(e){var r=t.call(this)||this;r.readers=[];var n=e?e.get(a.default.POSSIBLE_FORMATS):null,i=e&&void 0!==e.get(a.default.ASSUME_CODE_39_CHECK_DIGIT),l=e&&void 0!==e.get(a.default.ENABLE_CODE_39_EXTENDED_MODE);return n&&((n.includes(o.default.EAN_13)||n.includes(o.default.UPC_A)||n.includes(o.default.EAN_8)||n.includes(o.default.UPC_E))&&r.readers.push(new c.default(e)),n.includes(o.default.CODE_39)&&r.readers.push(new f.default(i,l)),n.includes(o.default.CODE_93)&&r.readers.push(new d.default),n.includes(o.default.CODE_128)&&r.readers.push(new u.default),n.includes(o.default.ITF)&&r.readers.push(new s.default),n.includes(o.default.CODABAR)&&r.readers.push(new h.default),n.includes(o.default.RSS_14)&&r.readers.push(new g.default),n.includes(o.default.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),r.readers.push(new p.default))),0===r.readers.length&&(r.readers.push(new c.default(e)),r.readers.push(new f.default),r.readers.push(new d.default),r.readers.push(new c.default(e)),r.readers.push(new u.default),r.readers.push(new s.default),r.readers.push(new g.default)),r}return y(e,t),e.prototype.decodeRow=function(t,e,r){for(var n=0;n<this.readers.length;n++)try{return this.readers[n].decodeRow(t,e,r)}catch(o){}throw new i.default},e.prototype.reset=function(){this.readers.forEach((function(t){return t.reset()}))},e}(l.default),w=v;e.default=w},5247:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("5810"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("cf80"),r("fd3c");var o=n(r("c769")),a=n(r("5a0c")),i=n(r("1d84")),u=function(){function t(){}return t.initialize=function(){for(var e=0;e<a.default.SYMBOL_TABLE.length;e++)for(var r=a.default.SYMBOL_TABLE[e],n=1&r,o=0;o<a.default.BARS_IN_MODULE;o++){var i=0;while((1&r)===n)i+=1,r>>=1;n=1&r,t.RATIOS_TABLE[e]||(t.RATIOS_TABLE[e]=new Array(a.default.BARS_IN_MODULE)),t.RATIOS_TABLE[e][a.default.BARS_IN_MODULE-o-1]=Math.fround(i/a.default.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},t.getDecodedValue=function(e){var r=t.getDecodedCodewordValue(t.sampleBitCounts(e));return-1!==r?r:t.getClosestDecodedValue(e)},t.sampleBitCounts=function(t){for(var e=o.default.sum(t),r=new Int32Array(a.default.BARS_IN_MODULE),n=0,i=0,u=0;u<a.default.MODULES_IN_CODEWORD;u++){var f=e/(2*a.default.MODULES_IN_CODEWORD)+u*e/a.default.MODULES_IN_CODEWORD;i+t[n]<=f&&(i+=t[n],n++),r[n]++}return r},t.getDecodedCodewordValue=function(e){var r=t.getBitValue(e);return-1===a.default.getCodeword(r)?-1:r},t.getBitValue=function(t){for(var e=0,r=0;r<t.length;r++)for(var n=0;n<t[r];n++)e=e<<1|(r%2===0?1:0);return Math.trunc(e)},t.getClosestDecodedValue=function(e){var r=o.default.sum(e),n=new Array(a.default.BARS_IN_MODULE);if(r>1)for(var u=0;u<n.length;u++)n[u]=Math.fround(e[u]/r);var f=i.default.MAX_VALUE,d=-1;this.bSymbolTableReady||t.initialize();for(var s=0;s<t.RATIOS_TABLE.length;s++){for(var c=0,l=t.RATIOS_TABLE[s],h=0;h<a.default.BARS_IN_MODULE;h++){var p=Math.fround(l[h]-n[h]);if(c+=Math.fround(p*p),c>=f)break}c<f&&(f=c,d=a.default.SYMBOL_TABLE[s])}return d},t.bSymbolTableReady=!1,t.RATIOS_TABLE=new Array(a.default.SYMBOL_TABLE.length).map((function(t){return new Array(a.default.BARS_IN_MODULE)})),t}(),f=u;e.default=f},"56c52":function(t,e,r){"use strict";var n;r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DataMaskValues=void 0,r("bf0f"),r("de6c"),r("c1a3"),r("18f7"),e.DataMaskValues=n,function(t){t[t["DATA_MASK_000"]=0]="DATA_MASK_000",t[t["DATA_MASK_001"]=1]="DATA_MASK_001",t[t["DATA_MASK_010"]=2]="DATA_MASK_010",t[t["DATA_MASK_011"]=3]="DATA_MASK_011",t[t["DATA_MASK_100"]=4]="DATA_MASK_100",t[t["DATA_MASK_101"]=5]="DATA_MASK_101",t[t["DATA_MASK_110"]=6]="DATA_MASK_110",t[t["DATA_MASK_111"]=7]="DATA_MASK_111"}(n||(e.DataMaskValues=n={}));var o=function(){function t(t,e){this.value=t,this.isMasked=e}return t.prototype.unmaskBitMatrix=function(t,e){for(var r=0;r<e;r++)for(var n=0;n<e;n++)this.isMasked(r,n)&&t.flip(n,r)},t.values=new Map([[n.DATA_MASK_000,new t(n.DATA_MASK_000,(function(t,e){return 0===(t+e&1)}))],[n.DATA_MASK_001,new t(n.DATA_MASK_001,(function(t,e){return 0===(1&t)}))],[n.DATA_MASK_010,new t(n.DATA_MASK_010,(function(t,e){return e%3===0}))],[n.DATA_MASK_011,new t(n.DATA_MASK_011,(function(t,e){return(t+e)%3===0}))],[n.DATA_MASK_100,new t(n.DATA_MASK_100,(function(t,e){return 0===(Math.floor(t/2)+Math.floor(e/3)&1)}))],[n.DATA_MASK_101,new t(n.DATA_MASK_101,(function(t,e){return t*e%6===0}))],[n.DATA_MASK_110,new t(n.DATA_MASK_110,(function(t,e){return t*e%6<3}))],[n.DATA_MASK_111,new t(n.DATA_MASK_111,(function(t,e){return 0===(t+e+t*e%3&1)}))]]),t}(),a=o;e.default=a},5810:function(t,e,r){"use strict";var n=r("8bdb"),o=r("0e40");n({target:"Math",stat:!0},{fround:o})},5847:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("b717")),a=n(r("7e0b")),i=n(r("76a0")),u=n(r("f228")),f=n(r("0c24")),d=n(r("37ed")),s=n(r("1ff8")),c=n(r("cffa")),l=n(r("08b1")),h=function(){function t(){this.decoder=new c.default}return t.prototype.decode=function(e,r){var n,a;if(void 0===r&&(r=null),null!=r&&r.has(i.default.PURE_BARCODE)){var u=t.extractPureBits(e.getBlackMatrix());n=this.decoder.decode(u),a=t.NO_POINTS}else{var c=new l.default(e.getBlackMatrix()).detect();n=this.decoder.decode(c.getBits()),a=c.getPoints()}var h=n.getRawBytes(),p=new f.default(n.getText(),h,8*h.length,a,o.default.DATA_MATRIX,s.default.currentTimeMillis()),g=n.getByteSegments();null!=g&&p.putMetadata(d.default.BYTE_SEGMENTS,g);var y=n.getECLevel();return null!=y&&p.putMetadata(d.default.ERROR_CORRECTION_LEVEL,y),p},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),r=t.getBottomRightOnBit();if(null==e||null==r)throw new u.default;var n=this.moduleSize(e,t),o=e[1],i=r[1],f=e[0],d=r[0],s=(d-f+1)/n,c=(i-o+1)/n;if(s<=0||c<=0)throw new u.default;var l=n/2;o+=l,f+=l;for(var h=new a.default(s,c),p=0;p<c;p++)for(var g=o+p*n,y=0;y<s;y++)t.get(f+y*n,g)&&h.set(y,p);return h},t.moduleSize=function(t,e){var r=e.getWidth(),n=t[0],o=t[1];while(n<r&&e.get(n,o))n++;if(n===r)throw new u.default;var a=n-t[0];if(0===a)throw new u.default;return a},t.NO_POINTS=[],t}(),p=h;e.default=p},5935:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("8d76")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.encodeCompressedGtin=function(t,e){t.append("(01)");var r=t.length();t.append("9"),this.encodeCompressedGtinWithoutAI(t,e,r)},e.prototype.encodeCompressedGtinWithoutAI=function(t,r,n){for(var o=0;o<4;++o){var a=this.getGeneralDecoder().extractNumericValueFromBitArray(r+10*o,10);a/100===0&&t.append("0"),a/10===0&&t.append("0"),t.append(a)}e.appendCheckDigit(t,n)},e.appendCheckDigit=function(t,e){for(var r=0,n=0;n<13;n++){var o=t.charAt(n+e).charCodeAt(0)-"0".charCodeAt(0);r+=0===(1&n)?3*o:o}r=10-r%10,10===r&&(r=0),t.append(r)},e.GTIN_SIZE=40,e}(o.default),u=i;e.default=u},"59e8":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("4db2"),r("bf0f"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("c9b5"),r("ab80");var o=n(r("36d3")),a=n(r("8e8c")),i=n(r("e5d0")),u=n(r("f7fd")),f=n(r("483b")),d=n(r("1ff8")),s=n(r("1581")),c=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),l=function(t){function e(e){void 0===e&&(e=32);var r=t.call(this)||this;if(r.count=0,e<0)throw new u.default("Negative initial size: "+e);return r.buf=new Uint8Array(e),r}return c(e,t),e.prototype.ensureCapacity=function(t){t-this.buf.length>0&&this.grow(t)},e.prototype.grow=function(t){var e=this.buf.length,r=e<<1;if(r-t<0&&(r=t),r<0){if(t<0)throw new f.default;r=i.default.MAX_VALUE}this.buf=o.default.copyOfUint8Array(this.buf,r)},e.prototype.write=function(t){this.ensureCapacity(this.count+1),this.buf[this.count]=t,this.count+=1},e.prototype.writeBytesOffset=function(t,e,r){if(e<0||e>t.length||r<0||e+r-t.length>0)throw new s.default;this.ensureCapacity(this.count+r),d.default.arraycopy(t,e,this.buf,this.count,r),this.count+=r},e.prototype.writeTo=function(t){t.writeBytesOffset(this.buf,0,this.count)},e.prototype.reset=function(){this.count=0},e.prototype.toByteArray=function(){return o.default.copyOfUint8Array(this.buf,this.count)},e.prototype.size=function(){return this.count},e.prototype.toString=function(t){return t?"string"===typeof t?this.toString_string(t):this.toString_number(t):this.toString_void()},e.prototype.toString_void=function(){return new String(this.buf).toString()},e.prototype.toString_string=function(t){return new String(this.buf).toString()},e.prototype.toString_number=function(t){return new String(this.buf).toString()},e.prototype.close=function(){},e}(a.default),h=l;e.default=h},"5a0c":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1878");var o=n(r("36d3")),a=n(r("c769")),i=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(){function t(){}return t.prototype.PDF417Common=function(){},t.getBitCountSum=function(t){return a.default.sum(t)},t.toIntArray=function(e){var r,n;if(null==e||!e.length)return t.EMPTY_INT_ARRAY;var o=new Int32Array(e.length),a=0;try{for(var u=i(e),f=u.next();!f.done;f=u.next()){var d=f.value;o[a++]=d}}catch(s){r={error:s}}finally{try{f&&!f.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return o},t.getCodeword=function(e){var r=o.default.binarySearch(t.SYMBOL_TABLE,262143&e);return r<0?-1:(t.CODEWORD_TABLE[r]-1)%t.NUMBER_OF_CODEWORDS},t.NUMBER_OF_CODEWORDS=929,t.MAX_CODEWORDS_IN_BARCODE=t.NUMBER_OF_CODEWORDS-1,t.MIN_ROWS_IN_BARCODE=3,t.MAX_ROWS_IN_BARCODE=90,t.MODULES_IN_CODEWORD=17,t.MODULES_IN_STOP_PATTERN=18,t.BARS_IN_MODULE=8,t.EMPTY_INT_ARRAY=new Int32Array([]),t.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),t.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),t}(),f=u;e.default=f},"5b0a":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("f7fd")),a=n(r("dc67")),i=function(){function t(){}return t.prototype.add=function(t,e){return(t+e)%this.modulus},t.prototype.subtract=function(t,e){return(this.modulus+t-e)%this.modulus},t.prototype.exp=function(t){return this.expTable[t]},t.prototype.log=function(t){if(0===t)throw new o.default;return this.logTable[t]},t.prototype.inverse=function(t){if(0===t)throw new a.default;return this.expTable[this.modulus-this.logTable[t]-1]},t.prototype.multiply=function(t,e){return 0===t||0===e?0:this.expTable[(this.logTable[t]+this.logTable[e])%(this.modulus-1)]},t.prototype.getSize=function(){return this.modulus},t.prototype.equals=function(t){return t===this},t}(),u=i;e.default=u},"5c29":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t,e){e?this.decodedInformation=null:(this.finished=t,this.decodedInformation=e)}return t.prototype.getDecodedInformation=function(){return this.decodedInformation},t.prototype.isFinished=function(){return this.finished},t}(),o=n;e.default=o},"5c2a":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("08eb"),r("1878");var o=n(r("9c16")),a=n(r("f7fd")),i=n(r("d618")),u=n(r("7e0b")),f=n(r("dda8")),d=n(r("84e1")),s=n(r("f5e6")),c=n(r("a27b")),l=n(r("e5d0")),h=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},p=function(){function t(){}return t.encodeBytes=function(e){return t.encode(e,t.DEFAULT_EC_PERCENT,t.DEFAULT_AZTEC_LAYERS)},t.encode=function(e,r,n){var o,d,s,h,p,g=new c.default(e).encode(),y=l.default.truncDivision(g.getSize()*r,100)+11,v=g.getSize()+y;if(n!==t.DEFAULT_AZTEC_LAYERS){if(o=n<0,d=Math.abs(n),d>(o?t.MAX_NB_BITS_COMPACT:t.MAX_NB_BITS))throw new a.default(i.default.format("Illegal value %s for layers",n));s=t.totalBitsInLayer(d,o),h=t.WORD_SIZE[d];var w=s-s%h;if(p=t.stuffBits(g,h),p.getSize()+y>w)throw new a.default("Data to large for user specified layer");if(o&&p.getSize()>64*h)throw new a.default("Data to large for user specified layer")}else{h=0,p=null;for(var _=0;;_++){if(_>t.MAX_NB_BITS)throw new a.default("Data too large for an Aztec code");if(o=_<=3,d=o?_+1:_,s=t.totalBitsInLayer(d,o),!(v>s)){null!=p&&h===t.WORD_SIZE[d]||(h=t.WORD_SIZE[d],p=t.stuffBits(g,h));w=s-s%h;if(!(o&&p.getSize()>64*h)&&p.getSize()+y<=w)break}}}var b,C=t.generateCheckWords(p,s,h),A=p.getSize()/h,E=t.generateModeMessage(o,d,A),m=(o?11:14)+4*d,I=new Int32Array(m);if(o){b=m;for(_=0;_<I.length;_++)I[_]=_}else{b=m+1+2*l.default.truncDivision(l.default.truncDivision(m,2)-1,15);var O=l.default.truncDivision(m,2),S=l.default.truncDivision(b,2);for(_=0;_<O;_++){var T=_+l.default.truncDivision(_,15);I[O-_-1]=S-T-1,I[O+_]=S+T+1}}for(var N=new u.default(b),R=(_=0,0);_<d;_++){for(var D=4*(d-_)+(o?9:12),M=0;M<D;M++)for(var P=2*M,B=0;B<2;B++)C.get(R+P+B)&&N.set(I[2*_+B],I[2*_+M]),C.get(R+2*D+P+B)&&N.set(I[2*_+M],I[m-1-2*_-B]),C.get(R+4*D+P+B)&&N.set(I[m-1-2*_-B],I[m-1-2*_-M]),C.get(R+6*D+P+B)&&N.set(I[m-1-2*_-M],I[2*_+B]);R+=8*D}if(t.drawModeMessage(N,o,b,E),o)t.drawBullsEye(N,l.default.truncDivision(b,2),5);else{t.drawBullsEye(N,l.default.truncDivision(b,2),7);for(_=0,M=0;_<l.default.truncDivision(m,2)-1;_+=15,M+=16)for(B=1&l.default.truncDivision(b,2);B<b;B+=2)N.set(l.default.truncDivision(b,2)-M,B),N.set(l.default.truncDivision(b,2)+M,B),N.set(B,l.default.truncDivision(b,2)-M),N.set(B,l.default.truncDivision(b,2)+M)}var L=new f.default;return L.setCompact(o),L.setSize(b),L.setLayers(d),L.setCodeWords(A),L.setMatrix(N),L},t.drawBullsEye=function(t,e,r){for(var n=0;n<r;n+=2)for(var o=e-n;o<=e+n;o++)t.set(o,e-n),t.set(o,e+n),t.set(e-n,o),t.set(e+n,o);t.set(e-r,e-r),t.set(e-r+1,e-r),t.set(e-r,e-r+1),t.set(e+r,e-r),t.set(e+r,e-r+1),t.set(e+r,e+r-1)},t.generateModeMessage=function(e,r,n){var a=new o.default;return e?(a.appendBits(r-1,2),a.appendBits(n-1,6),a=t.generateCheckWords(a,28,4)):(a.appendBits(r-1,5),a.appendBits(n-1,11),a=t.generateCheckWords(a,40,4)),a},t.drawModeMessage=function(t,e,r,n){var o=l.default.truncDivision(r,2);if(e)for(var a=0;a<7;a++){var i=o-3+a;n.get(a)&&t.set(i,o-5),n.get(a+7)&&t.set(o+5,i),n.get(20-a)&&t.set(i,o+5),n.get(27-a)&&t.set(o-5,i)}else for(a=0;a<10;a++){i=o-5+a+l.default.truncDivision(a,5);n.get(a)&&t.set(i,o-7),n.get(a+10)&&t.set(o+7,i),n.get(29-a)&&t.set(i,o+7),n.get(39-a)&&t.set(o-7,i)}},t.generateCheckWords=function(e,r,n){var a,i,u=e.getSize()/n,f=new d.default(t.getGF(n)),s=l.default.truncDivision(r,n),c=t.bitsToWords(e,n,s);f.encode(c,s-u);var p=r%n,g=new o.default;g.appendBits(0,p);try{for(var y=h(Array.from(c)),v=y.next();!v.done;v=y.next()){var w=v.value;g.appendBits(w,n)}}catch(_){a={error:_}}finally{try{v&&!v.done&&(i=y.return)&&i.call(y)}finally{if(a)throw a.error}}return g},t.bitsToWords=function(t,e,r){var n,o,a=new Int32Array(r);for(n=0,o=t.getSize()/e;n<o;n++){for(var i=0,u=0;u<e;u++)i|=t.get(n*e+u)?1<<e-u-1:0;a[n]=i}return a},t.getGF=function(t){switch(t){case 4:return s.default.AZTEC_PARAM;case 6:return s.default.AZTEC_DATA_6;case 8:return s.default.AZTEC_DATA_8;case 10:return s.default.AZTEC_DATA_10;case 12:return s.default.AZTEC_DATA_12;default:throw new a.default("Unsupported word size "+t)}},t.stuffBits=function(t,e){for(var r=new o.default,n=t.getSize(),a=(1<<e)-2,i=0;i<n;i+=e){for(var u=0,f=0;f<e;f++)(i+f>=n||t.get(i+f))&&(u|=1<<e-1-f);(u&a)===a?(r.appendBits(u&a,e),i--):0===(u&a)?(r.appendBits(1|u,e),i--):r.appendBits(u,e)}return r},t.totalBitsInLayer=function(t,e){return((e?88:112)+16*t)*t},t.DEFAULT_EC_PERCENT=33,t.DEFAULT_AZTEC_LAYERS=0,t.MAX_NB_BITS=32,t.MAX_NB_BITS_COMPACT=4,t.WORD_SIZE=Int32Array.from([4,6,6,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,12,12]),t}(),g=p;e.default=g},"5e0a":function(t,e){},"60c5":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("aa9c");var o=n(r("c41c")),a=n(r("253e")),i=n(r("107a")),u=n(r("d618")),f=n(r("343e")),d=n(r("d4f8")),s=n(r("a5e6")),c=n(r("842e")),l=function(){function t(){}return t.decode=function(e,r,n,u){var s=new o.default(e),l=new d.default,h=new Array,p=-1,g=-1;try{var y=null,v=!1,w=void 0;do{if(s.available()<4)w=c.default.TERMINATOR;else{var _=s.readBits(4);w=c.default.forBits(_)}switch(w){case c.default.TERMINATOR:break;case c.default.FNC1_FIRST_POSITION:case c.default.FNC1_SECOND_POSITION:v=!0;break;case c.default.STRUCTURED_APPEND:if(s.available()<16)throw new f.default;p=s.readBits(8),g=s.readBits(8);break;case c.default.ECI:var b=t.parseECIValue(s);if(y=a.default.getCharacterSetECIByValue(b),null===y)throw new f.default;break;case c.default.HANZI:var C=s.readBits(4),A=s.readBits(w.getCharacterCountBits(r));C===t.GB2312_SUBSET&&t.decodeHanziSegment(s,l,A);break;default:var E=s.readBits(w.getCharacterCountBits(r));switch(w){case c.default.NUMERIC:t.decodeNumericSegment(s,l,E);break;case c.default.ALPHANUMERIC:t.decodeAlphanumericSegment(s,l,E,v);break;case c.default.BYTE:t.decodeByteSegment(s,l,E,y,h,u);break;case c.default.KANJI:t.decodeKanjiSegment(s,l,E);break;default:throw new f.default}break}}while(w!==c.default.TERMINATOR)}catch(m){throw new f.default}return new i.default(e,l.toString(),0===h.length?null:h,null===n?null:n.toString(),p,g)},t.decodeHanziSegment=function(t,e,r){if(13*r>t.available())throw new f.default;var n=new Uint8Array(2*r),o=0;while(r>0){var a=t.readBits(13),i=a/96<<8&4294967295|a%96;i+=i<959?41377:42657,n[o]=i>>8&255,n[o+1]=255&i,o+=2,r--}try{e.append(s.default.decode(n,u.default.GB2312))}catch(d){throw new f.default(d)}},t.decodeKanjiSegment=function(t,e,r){if(13*r>t.available())throw new f.default;var n=new Uint8Array(2*r),o=0;while(r>0){var a=t.readBits(13),i=a/192<<8&4294967295|a%192;i+=i<7936?33088:49472,n[o]=i>>8,n[o+1]=i,o+=2,r--}try{e.append(s.default.decode(n,u.default.SHIFT_JIS))}catch(d){throw new f.default(d)}},t.decodeByteSegment=function(t,e,r,n,o,a){if(8*r>t.available())throw new f.default;for(var i,d=new Uint8Array(r),c=0;c<r;c++)d[c]=t.readBits(8);i=null===n?u.default.guessEncoding(d,a):n.getName();try{e.append(s.default.decode(d,i))}catch(l){throw new f.default(l)}o.push(d)},t.toAlphaNumericChar=function(e){if(e>=t.ALPHANUMERIC_CHARS.length)throw new f.default;return t.ALPHANUMERIC_CHARS[e]},t.decodeAlphanumericSegment=function(e,r,n,o){var a=r.length();while(n>1){if(e.available()<11)throw new f.default;var i=e.readBits(11);r.append(t.toAlphaNumericChar(Math.floor(i/45))),r.append(t.toAlphaNumericChar(i%45)),n-=2}if(1===n){if(e.available()<6)throw new f.default;r.append(t.toAlphaNumericChar(e.readBits(6)))}if(o)for(var u=a;u<r.length();u++)"%"===r.charAt(u)&&(u<r.length()-1&&"%"===r.charAt(u+1)?r.deleteCharAt(u+1):r.setCharAt(u,String.fromCharCode(29)))},t.decodeNumericSegment=function(e,r,n){while(n>=3){if(e.available()<10)throw new f.default;var o=e.readBits(10);if(o>=1e3)throw new f.default;r.append(t.toAlphaNumericChar(Math.floor(o/100))),r.append(t.toAlphaNumericChar(Math.floor(o/10)%10)),r.append(t.toAlphaNumericChar(o%10)),n-=3}if(2===n){if(e.available()<7)throw new f.default;var a=e.readBits(7);if(a>=100)throw new f.default;r.append(t.toAlphaNumericChar(Math.floor(a/10))),r.append(t.toAlphaNumericChar(a%10))}else if(1===n){if(e.available()<4)throw new f.default;var i=e.readBits(4);if(i>=10)throw new f.default;r.append(t.toAlphaNumericChar(i))}},t.parseECIValue=function(t){var e=t.readBits(8);if(0===(128&e))return 127&e;if(128===(192&e)){var r=t.readBits(8);return(63&e)<<8&4294967295|r}if(192===(224&e)){var n=t.readBits(16);return(31&e)<<16&4294967295|n}throw new f.default},t.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",t.GB2312_SUBSET=1,t}(),h=l;e.default=h},"62e9":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("0c26"),r("7a76"),r("c9b5"),r("bf0f"),r("ab80");var o=n(r("b717")),a=n(r("7e0b")),i=n(r("d757")),u=n(r("76f5")),f=n(r("a8ae")),d=r("841b"),s=function(){function t(){}return t.prototype.encode=function(t,e,r,n,a){if(void 0===a&&(a=null),""===t.trim())throw new Error("Found empty contents");if(e!==o.default.DATA_MATRIX)throw new Error("Can only encode DATA_MATRIX, but got "+e);if(r<0||n<0)throw new Error("Requested dimensions can't be negative: "+r+"x"+n);var u,s=0,c=null,l=null;if(null!=a){var h=a.get(i.default.DATA_MATRIX_SHAPE);null!=h&&(s=h);var p=a.get(i.default.MIN_SIZE);null!=p&&(c=p);var g=a.get(i.default.MAX_SIZE);null!=g&&(l=g)}var y=null!=a&&a.has(i.default.DATA_MATRIX_COMPACT)&&Boolean(a.get(i.default.DATA_MATRIX_COMPACT).toString());if(y){var v=a.has(i.default.GS1_FORMAT)&&Boolean(a.get(i.default.GS1_FORMAT).toString()),w=null,_=a.has(i.default.CHARACTER_SET);_&&(w=f.default.forName(a.get(i.default.CHARACTER_SET).toString())),u=d.MinimalEncoder.encodeHighLevel(t,w,v?29:-1,s)}else{var b=null!=a&&a.has(i.default.FORCE_C40)&&Boolean(a.get(i.default.FORCE_C40).toString());u=d.HighLevelEncoder.encodeHighLevel(t,s,c,l,b)}var C=d.SymbolInfo.lookup(u.length,s,c,l,!0),A=d.ErrorCorrection.encodeECC200(u,C),E=new d.DefaultPlacement(A,C.getSymbolDataWidth(),C.getSymbolDataHeight());return E.place(),this.encodeLowLevel(E,C,r,n)},t.prototype.encodeLowLevel=function(t,e,r,n){for(var o=e.getSymbolDataWidth(),a=e.getSymbolDataHeight(),i=new u.default(e.getSymbolWidth(),e.getSymbolHeight()),f=0,d=0;d<a;d++){var s=void 0;if(d%e.matrixHeight===0){s=0;for(var c=0;c<e.getSymbolWidth();c++)i.setBoolean(s,f,c%2===0),s++;f++}s=0;for(c=0;c<o;c++)c%e.matrixWidth===0&&(i.setBoolean(s,f,!0),s++),i.setBoolean(s,f,t.getBit(c,d)),s++,c%e.matrixWidth===e.matrixWidth-1&&(i.setBoolean(s,f,d%2===0),s++);if(f++,d%e.matrixHeight===e.matrixHeight-1){s=0;for(c=0;c<e.getSymbolWidth();c++)i.setBoolean(s,f,!0),s++;f++}}return this.convertByteMatrixToBitMatrix(i,r,n)},t.prototype.convertByteMatrixToBitMatrix=function(t,e,r){var n,o=t.getWidth(),i=t.getHeight(),u=Math.max(e,o),f=Math.max(r,i),d=Math.min(u/o,f/i),s=(u-o*d)/2,c=(f-i*d)/2;r<i||e<o?(s=0,c=0,n=new a.default(o,i)):n=new a.default(e,r),n.clear();for(var l=0,h=c;l<i;l++,h+=d)for(var p=0,g=s;p<o;p++,g+=d)1===t.get(p,l)&&n.setRegion(g,h,d,d);return n},t}(),c=s;e.default=c},6387:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("ab80"),r("fe6b"),r("64aa"),r("e062"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("c976"),r("aa9c"),r("1878");var o=n(r("d757")),a=n(r("9c16")),i=n(r("253e")),u=n(r("f5e6")),f=n(r("84e1")),d=n(r("842e")),s=n(r("e01c")),c=n(r("647e")),l=n(r("76f5")),h=n(r("a2dd")),p=n(r("ad71")),g=n(r("a5e6")),y=n(r("49a0")),v=n(r("6468")),w=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},_=function(){function t(){}return t.calculateMaskPenalty=function(t){return c.default.applyMaskPenaltyRule1(t)+c.default.applyMaskPenaltyRule2(t)+c.default.applyMaskPenaltyRule3(t)+c.default.applyMaskPenaltyRule4(t)},t.encode=function(e,r,n){void 0===n&&(n=null);var u=t.DEFAULT_BYTE_MODE_ENCODING,f=null!==n&&void 0!==n.get(o.default.CHARACTER_SET);f&&(u=n.get(o.default.CHARACTER_SET).toString());var c=this.chooseMode(e,u),g=new a.default;if(c===d.default.BYTE&&(f||t.DEFAULT_BYTE_MODE_ENCODING!==u)){var y=i.default.getCharacterSetECIByName(u);void 0!==y&&this.appendECI(y,g)}this.appendModeInfo(c,g);var w,_=new a.default;if(this.appendBytes(e,c,_,u),null!==n&&void 0!==n.get(o.default.QR_VERSION)){var b=Number.parseInt(n.get(o.default.QR_VERSION).toString(),10);w=s.default.getVersionForNumber(b);var C=this.calculateBitsNeeded(c,g,_,w);if(!this.willFit(C,w,r))throw new v.default("Data too big for requested version")}else w=this.recommendVersion(r,c,g,_);var A=new a.default;A.appendBitArray(g);var E=c===d.default.BYTE?_.getSizeInBytes():e.length;this.appendLengthInfo(E,w,c,A),A.appendBitArray(_);var m=w.getECBlocksForLevel(r),I=w.getTotalCodewords()-m.getTotalECCodewords();this.terminateBits(I,A);var O=this.interleaveWithECBytes(A,w.getTotalCodewords(),I,m.getNumBlocks()),S=new h.default;S.setECLevel(r),S.setMode(c),S.setVersion(w);var T=w.getDimensionForVersion(),N=new l.default(T,T),R=this.chooseMaskPattern(O,r,w,N);return S.setMaskPattern(R),p.default.buildMatrix(O,r,w,R,N),S.setMatrix(N),S},t.recommendVersion=function(t,e,r,n){var o=this.calculateBitsNeeded(e,r,n,s.default.getVersionForNumber(1)),a=this.chooseVersion(o,t),i=this.calculateBitsNeeded(e,r,n,a);return this.chooseVersion(i,t)},t.calculateBitsNeeded=function(t,e,r,n){return e.getSize()+t.getCharacterCountBits(n)+r.getSize()},t.getAlphanumericCode=function(e){return e<t.ALPHANUMERIC_TABLE.length?t.ALPHANUMERIC_TABLE[e]:-1},t.chooseMode=function(e,r){if(void 0===r&&(r=null),i.default.SJIS.getName()===r&&this.isOnlyDoubleByteKanji(e))return d.default.KANJI;for(var n=!1,o=!1,a=0,u=e.length;a<u;++a){var f=e.charAt(a);if(t.isDigit(f))n=!0;else{if(-1===this.getAlphanumericCode(f.charCodeAt(0)))return d.default.BYTE;o=!0}}return o?d.default.ALPHANUMERIC:n?d.default.NUMERIC:d.default.BYTE},t.isOnlyDoubleByteKanji=function(t){var e;try{e=g.default.encode(t,i.default.SJIS)}catch(a){return!1}var r=e.length;if(r%2!==0)return!1;for(var n=0;n<r;n+=2){var o=255&e[n];if((o<129||o>159)&&(o<224||o>235))return!1}return!0},t.chooseMaskPattern=function(t,e,r,n){for(var o=Number.MAX_SAFE_INTEGER,a=-1,i=0;i<h.default.NUM_MASK_PATTERNS;i++){p.default.buildMatrix(t,e,r,i,n);var u=this.calculateMaskPenalty(n);u<o&&(o=u,a=i)}return a},t.chooseVersion=function(e,r){for(var n=1;n<=40;n++){var o=s.default.getVersionForNumber(n);if(t.willFit(e,o,r))return o}throw new v.default("Data too big")},t.willFit=function(t,e,r){var n=e.getTotalCodewords(),o=e.getECBlocksForLevel(r),a=o.getTotalECCodewords(),i=n-a,u=(t+7)/8;return i>=u},t.terminateBits=function(t,e){var r=8*t;if(e.getSize()>r)throw new v.default("data bits cannot fit in the QR Code"+e.getSize()+" > "+r);for(var n=0;n<4&&e.getSize()<r;++n)e.appendBit(!1);var o=7&e.getSize();if(o>0)for(n=o;n<8;n++)e.appendBit(!1);var a=t-e.getSizeInBytes();for(n=0;n<a;++n)e.appendBits(0===(1&n)?236:17,8);if(e.getSize()!==r)throw new v.default("Bits size does not equal capacity")},t.getNumDataBytesAndNumECBytesForBlockID=function(t,e,r,n,o,a){if(n>=r)throw new v.default("Block ID too large");var i=t%r,u=r-i,f=Math.floor(t/r),d=f+1,s=Math.floor(e/r),c=s+1,l=f-s,h=d-c;if(l!==h)throw new v.default("EC bytes mismatch");if(r!==u+i)throw new v.default("RS blocks mismatch");if(t!==(s+l)*u+(c+h)*i)throw new v.default("Total bytes mismatch");n<u?(o[0]=s,a[0]=l):(o[0]=c,a[0]=h)},t.interleaveWithECBytes=function(e,r,n,o){var i,u,f,d;if(e.getSizeInBytes()!==n)throw new v.default("Number of bits and data bytes does not match");for(var s=0,c=0,l=0,h=new Array,p=0;p<o;++p){var g=new Int32Array(1),_=new Int32Array(1);t.getNumDataBytesAndNumECBytesForBlockID(r,n,o,p,g,_);var b=g[0],C=new Uint8Array(b);e.toBytes(8*s,C,0,b);var A=t.generateECBytes(C,_[0]);h.push(new y.default(C,A)),c=Math.max(c,b),l=Math.max(l,A.length),s+=g[0]}if(n!==s)throw new v.default("Data bytes does not match offset");var E=new a.default;for(p=0;p<c;++p)try{for(var m=(i=void 0,w(h)),I=m.next();!I.done;I=m.next()){var O=I.value;C=O.getDataBytes();p<C.length&&E.appendBits(C[p],8)}}catch(N){i={error:N}}finally{try{I&&!I.done&&(u=m.return)&&u.call(m)}finally{if(i)throw i.error}}for(p=0;p<l;++p)try{for(var S=(f=void 0,w(h)),T=S.next();!T.done;T=S.next()){O=T.value,A=O.getErrorCorrectionBytes();p<A.length&&E.appendBits(A[p],8)}}catch(R){f={error:R}}finally{try{T&&!T.done&&(d=S.return)&&d.call(S)}finally{if(f)throw f.error}}if(r!==E.getSizeInBytes())throw new v.default("Interleaving error: "+r+" and "+E.getSizeInBytes()+" differ.");return E},t.generateECBytes=function(t,e){for(var r=t.length,n=new Int32Array(r+e),o=0;o<r;o++)n[o]=255&t[o];new f.default(u.default.QR_CODE_FIELD_256).encode(n,e);var a=new Uint8Array(e);for(o=0;o<e;o++)a[o]=n[r+o];return a},t.appendModeInfo=function(t,e){e.appendBits(t.getBits(),4)},t.appendLengthInfo=function(t,e,r,n){var o=r.getCharacterCountBits(e);if(t>=1<<o)throw new v.default(t+" is bigger than "+((1<<o)-1));n.appendBits(t,o)},t.appendBytes=function(e,r,n,o){switch(r){case d.default.NUMERIC:t.appendNumericBytes(e,n);break;case d.default.ALPHANUMERIC:t.appendAlphanumericBytes(e,n);break;case d.default.BYTE:t.append8BitBytes(e,n,o);break;case d.default.KANJI:t.appendKanjiBytes(e,n);break;default:throw new v.default("Invalid mode: "+r)}},t.getDigit=function(t){return t.charCodeAt(0)-48},t.isDigit=function(e){var r=t.getDigit(e);return r>=0&&r<=9},t.appendNumericBytes=function(e,r){var n=e.length,o=0;while(o<n){var a=t.getDigit(e.charAt(o));if(o+2<n){var i=t.getDigit(e.charAt(o+1)),u=t.getDigit(e.charAt(o+2));r.appendBits(100*a+10*i+u,10),o+=3}else if(o+1<n){i=t.getDigit(e.charAt(o+1));r.appendBits(10*a+i,7),o+=2}else r.appendBits(a,4),o++}},t.appendAlphanumericBytes=function(e,r){var n=e.length,o=0;while(o<n){var a=t.getAlphanumericCode(e.charCodeAt(o));if(-1===a)throw new v.default;if(o+1<n){var i=t.getAlphanumericCode(e.charCodeAt(o+1));if(-1===i)throw new v.default;r.appendBits(45*a+i,11),o+=2}else r.appendBits(a,6),o++}},t.append8BitBytes=function(t,e,r){var n;try{n=g.default.encode(t,r)}catch(u){throw new v.default(u)}for(var o=0,a=n.length;o!==a;o++){var i=n[o];e.appendBits(i,8)}},t.appendKanjiBytes=function(t,e){var r;try{r=g.default.encode(t,i.default.SJIS)}catch(c){throw new v.default(c)}for(var n=r.length,o=0;o<n;o+=2){var a=255&r[o],u=255&r[o+1],f=a<<8&4294967295|u,d=-1;if(f>=33088&&f<=40956?d=f-33088:f>=57408&&f<=60351&&(d=f-49472),-1===d)throw new v.default("Invalid byte sequence");var s=192*(d>>8)+(255&d);e.appendBits(s,13)}},t.appendECI=function(t,e){e.appendBits(d.default.ECI.getBits(),4),e.appendBits(t.getValue(),8)},t.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),t.DEFAULT_BYTE_MODE_ENCODING=i.default.UTF8.getName(),t}(),b=_;e.default=b},"63d8":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("f7fd")),a=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,r,n){var i,u,f,d;if(e.length!==r.getTotalCodewords())throw new o.default;var s=r.getECBlocksForLevel(n),c=0,l=s.getECBlocks();try{for(var h=a(l),p=h.next();!p.done;p=h.next()){var g=p.value;c+=g.getCount()}}catch(D){i={error:D}}finally{try{p&&!p.done&&(u=h.return)&&u.call(h)}finally{if(i)throw i.error}}var y=new Array(c),v=0;try{for(var w=a(l),_=w.next();!_.done;_=w.next()){g=_.value;for(var b=0;b<g.getCount();b++){var C=g.getDataCodewords(),A=s.getECCodewordsPerBlock()+C;y[v++]=new t(C,new Uint8Array(A))}}}catch(M){f={error:M}}finally{try{_&&!_.done&&(d=w.return)&&d.call(w)}finally{if(f)throw f.error}}var E=y[0].codewords.length,m=y.length-1;while(m>=0){var I=y[m].codewords.length;if(I===E)break;m--}m++;var O=E-s.getECCodewordsPerBlock(),S=0;for(b=0;b<O;b++)for(var T=0;T<v;T++)y[T].codewords[b]=e[S++];for(T=m;T<v;T++)y[T].codewords[O]=e[S++];var N=y[0].codewords.length;for(b=O;b<N;b++)for(T=0;T<v;T++){var R=T<m?b:b+1;y[T].codewords[R]=e[S++]}return y},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}(),u=i;e.default=u},6468:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.kind="WriterException",e}(o.default),u=i;e.default=u},"647e":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("f7fd")),a=function(){function t(){}return t.applyMaskPenaltyRule1=function(e){return t.applyMaskPenaltyRule1Internal(e,!0)+t.applyMaskPenaltyRule1Internal(e,!1)},t.applyMaskPenaltyRule2=function(e){for(var r=0,n=e.getArray(),o=e.getWidth(),a=e.getHeight(),i=0;i<a-1;i++)for(var u=n[i],f=0;f<o-1;f++){var d=u[f];d===u[f+1]&&d===n[i+1][f]&&d===n[i+1][f+1]&&r++}return t.N2*r},t.applyMaskPenaltyRule3=function(e){for(var r=0,n=e.getArray(),o=e.getWidth(),a=e.getHeight(),i=0;i<a;i++)for(var u=0;u<o;u++){var f=n[i];u+6<o&&1===f[u]&&0===f[u+1]&&1===f[u+2]&&1===f[u+3]&&1===f[u+4]&&0===f[u+5]&&1===f[u+6]&&(t.isWhiteHorizontal(f,u-4,u)||t.isWhiteHorizontal(f,u+7,u+11))&&r++,i+6<a&&1===n[i][u]&&0===n[i+1][u]&&1===n[i+2][u]&&1===n[i+3][u]&&1===n[i+4][u]&&0===n[i+5][u]&&1===n[i+6][u]&&(t.isWhiteVertical(n,u,i-4,i)||t.isWhiteVertical(n,u,i+7,i+11))&&r++}return r*t.N3},t.isWhiteHorizontal=function(t,e,r){e=Math.max(e,0),r=Math.min(r,t.length);for(var n=e;n<r;n++)if(1===t[n])return!1;return!0},t.isWhiteVertical=function(t,e,r,n){r=Math.max(r,0),n=Math.min(n,t.length);for(var o=r;o<n;o++)if(1===t[o][e])return!1;return!0},t.applyMaskPenaltyRule4=function(e){for(var r=0,n=e.getArray(),o=e.getWidth(),a=e.getHeight(),i=0;i<a;i++)for(var u=n[i],f=0;f<o;f++)1===u[f]&&r++;var d=e.getHeight()*e.getWidth(),s=Math.floor(10*Math.abs(2*r-d)/d);return s*t.N4},t.getDataMaskBit=function(t,e,r){var n,a;switch(t){case 0:n=r+e&1;break;case 1:n=1&r;break;case 2:n=e%3;break;case 3:n=(r+e)%3;break;case 4:n=Math.floor(r/2)+Math.floor(e/3)&1;break;case 5:a=r*e,n=(1&a)+a%3;break;case 6:a=r*e,n=(1&a)+a%3&1;break;case 7:a=r*e,n=a%3+(r+e&1)&1;break;default:throw new o.default("Invalid mask pattern: "+t)}return 0===n},t.applyMaskPenaltyRule1Internal=function(e,r){for(var n=0,o=r?e.getHeight():e.getWidth(),a=r?e.getWidth():e.getHeight(),i=e.getArray(),u=0;u<o;u++){for(var f=0,d=-1,s=0;s<a;s++){var c=r?i[u][s]:i[s][u];c===d?f++:(f>=5&&(n+=t.N1+(f-5)),f=1,d=c)}f>=5&&(n+=t.N1+(f-5))}return n},t.N1=3,t.N2=3,t.N3=40,t.N4=10,t}(),i=a;e.default=i},6730:function(t,e,r){"use strict";var n=r("8bdb"),o=r("71e9");n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})},6806:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("ab80"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1851"),r("2797"),r("dc69"),r("1878");var o=n(r("b717")),a=n(r("76a0")),i=n(r("343e")),u=n(r("f228")),f=n(r("0c24")),d=n(r("a8be")),s=n(r("d4f8")),c=n(r("1ff8")),l=n(r("4d7d")),h=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),p=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.narrowLineWidth=-1,e}return h(e,t),e.prototype.decodeRow=function(t,r,n){var u,c,l=this.decodeStart(r),h=this.decodeEnd(r),g=new s.default;e.decodeMiddle(r,l[1],h[0],g);var y=g.toString(),v=null;null!=n&&(v=n.get(a.default.ALLOWED_LENGTHS)),null==v&&(v=e.DEFAULT_ALLOWED_LENGTHS);var w=y.length,_=!1,b=0;try{for(var C=p(v),A=C.next();!A.done;A=C.next()){var E=A.value;if(w===E){_=!0;break}E>b&&(b=E)}}catch(O){u={error:O}}finally{try{A&&!A.done&&(c=C.return)&&c.call(C)}finally{if(u)throw u.error}}if(!_&&w>b&&(_=!0),!_)throw new i.default;var m=[new d.default(l[1],t),new d.default(h[0],t)],I=new f.default(y,null,0,m,o.default.ITF,(new Date).getTime());return I},e.decodeMiddle=function(t,r,n,o){var a=new Int32Array(10),i=new Int32Array(5),u=new Int32Array(5);a.fill(0),i.fill(0),u.fill(0);while(r<n){l.default.recordPattern(t,r,a);for(var f=0;f<5;f++){var d=2*f;i[f]=a[d],u[f]=a[d+1]}var s=e.decodeDigit(i);o.append(s.toString()),s=this.decodeDigit(u),o.append(s.toString()),a.forEach((function(t){r+=t}))}},e.prototype.decodeStart=function(t){var r=e.skipWhiteSpace(t),n=e.findGuardPattern(t,r,e.START_PATTERN);return this.narrowLineWidth=(n[1]-n[0])/4,this.validateQuietZone(t,n[0]),n},e.prototype.validateQuietZone=function(t,e){var r=10*this.narrowLineWidth;r=r<e?r:e;for(var n=e-1;r>0&&n>=0;n--){if(t.get(n))break;r--}if(0!==r)throw new u.default},e.skipWhiteSpace=function(t){var e=t.getSize(),r=t.getNextSet(0);if(r===e)throw new u.default;return r},e.prototype.decodeEnd=function(t){t.reverse();try{var r=e.skipWhiteSpace(t),n=void 0;try{n=e.findGuardPattern(t,r,e.END_PATTERN_REVERSED[0])}catch(a){a instanceof u.default&&(n=e.findGuardPattern(t,r,e.END_PATTERN_REVERSED[1]))}this.validateQuietZone(t,n[0]);var o=n[0];return n[0]=t.getSize()-n[1],n[1]=t.getSize()-o,n}finally{t.reverse()}},e.findGuardPattern=function(t,r,n){var o=n.length,a=new Int32Array(o),i=t.getSize(),f=!1,d=0,s=r;a.fill(0);for(var h=r;h<i;h++)if(t.get(h)!==f)a[d]++;else{if(d===o-1){if(l.default.patternMatchVariance(a,n,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return[s,h];s+=a[0]+a[1],c.default.arraycopy(a,2,a,0,d-1),a[d-1]=0,a[d]=0,d--}else d++;a[d]=1,f=!f}throw new u.default},e.decodeDigit=function(t){for(var r=e.MAX_AVG_VARIANCE,n=-1,o=e.PATTERNS.length,a=0;a<o;a++){var i=e.PATTERNS[a],f=l.default.patternMatchVariance(t,i,e.MAX_INDIVIDUAL_VARIANCE);f<r?(r=f,n=a):f===r&&(n=-1)}if(n>=0)return n%10;throw new u.default},e.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],e.MAX_AVG_VARIANCE=.38,e.MAX_INDIVIDUAL_VARIANCE=.5,e.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],e.START_PATTERN=Int32Array.from([1,1,1,1]),e.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],e}(l.default),y=g;e.default=y},"692c":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("4db2"),r("bf0f"),r("4f9b"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("a9e1")),a=n(r("7e0b")),i=n(r("2efa")),u=n(r("f228")),f=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.sampleGrid=function(t,e,r,n,o,a,u,f,d,s,c,l,h,p,g,y,v,w,_){var b=i.default.quadrilateralToQuadrilateral(n,o,a,u,f,d,s,c,l,h,p,g,y,v,w,_);return this.sampleGridWithTransform(t,e,r,b)},e.prototype.sampleGridWithTransform=function(t,e,r,n){if(e<=0||r<=0)throw new u.default;for(var i=new a.default(e,r),f=new Float32Array(2*e),d=0;d<r;d++){for(var s=f.length,c=d+.5,l=0;l<s;l+=2)f[l]=l/2+.5,f[l+1]=c;n.transformPoints(f),o.default.checkAndNudgePoints(t,f);try{for(l=0;l<s;l+=2)t.get(Math.floor(f[l]),Math.floor(f[l+1]))&&i.set(l/2,d)}catch(h){throw new u.default}}return i},e}(o.default),s=d;e.default=s},"695a":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("a438")),a=n(r("b717")),i=n(r("f7fd")),u=function(){function t(){}return t.prototype.encode=function(t,e,r,n,u){var f;switch(e){case a.default.QR_CODE:f=new o.default;break;default:throw new i.default("No encoder available for format "+e)}return f.encode(t,e,r,n,u)},t}(),f=u;e.default=f},"6b90":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("5a0c")),a=n(r("1ee0")),i=n(r("f7fd")),u=n(r("5b0a")),f=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=function(t){function e(e,r){var n=t.call(this)||this;n.modulus=e,n.expTable=new Int32Array(e),n.logTable=new Int32Array(e);for(var o=1,i=0;i<e;i++)n.expTable[i]=o,o=o*r%e;for(i=0;i<e-1;i++)n.logTable[n.expTable[i]]=i;return n.zero=new a.default(n,new Int32Array([0])),n.one=new a.default(n,new Int32Array([1])),n}return f(e,t),e.prototype.getZero=function(){return this.zero},e.prototype.getOne=function(){return this.one},e.prototype.buildMonomial=function(t,e){if(t<0)throw new i.default;if(0===e)return this.zero;var r=new Int32Array(t+1);return r[0]=e,new a.default(this,r)},e.PDF417_GF=new e(o.default.NUMBER_OF_CODEWORDS,3),e}(u.default),s=d;e.default=s},"6d31":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("bf0f"),r("5ef2"),r("20f3"),r("f7a5"),r("aa9c"),r("473f"),r("dd2b"),r("fd3c"),r("5c47"),r("0506");var o=n(r("b717")),a=n(r("f228")),i=n(r("4d7d")),u=n(r("0c24")),f=n(r("a8be")),d=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.CODA_BAR_CHAR_SET={nnnnnww:"0",nnnnwwn:"1",nnnwnnw:"2",wwnnnnn:"3",nnwnnwn:"4",wnnnnwn:"5",nwnnnnw:"6",nwnnwnn:"7",nwwnnnn:"8",wnnwnnn:"9",nnnwwnn:"-",nnwwnnn:"$",wnnnwnw:":",wnwnnnw:"/",wnwnwnn:".",nnwwwww:"+",nnwwnwn:"A",nwnwnnw:"B",nnnwnww:"C",nnnwwwn:"D"},e}return d(e,t),e.prototype.decodeRow=function(t,e,r){var n=this.getValidRowData(e);if(!n)throw new a.default;var i=this.codaBarDecodeRow(n.row);if(!i)throw new a.default;return new u.default(i,null,0,[new f.default(n.left,t),new f.default(n.right,t)],o.default.CODABAR,(new Date).getTime())},e.prototype.getValidRowData=function(t){var e=t.toArray(),r=e.indexOf(!0);if(-1===r)return null;var n=e.lastIndexOf(!0);if(n<=r)return null;e=e.slice(r,n+1);for(var o=[],a=e[0],i=1,u=1;u<e.length;u++)e[u]===a?i++:(a=e[u],o.push(i),i=1);return o.push(i),o.length<23&&(o.length+1)%8!==0?null:{row:o,left:r,right:n}},e.prototype.codaBarDecodeRow=function(t){var e=[],r=Math.ceil(t.reduce((function(t,e){return(t+e)/2}),0));while(t.length>0){var n=t.splice(0,8).splice(0,7),o=n.map((function(t){return t<r?"n":"w"})).join("");if(void 0===this.CODA_BAR_CHAR_SET[o])return null;e.push(this.CODA_BAR_CHAR_SET[o])}var a=e.join("");return this.validCodaBarString(a)?a:null},e.prototype.validCodaBarString=function(t){return/^[A-D].{1,}[A-D]$/.test(t)},e}(i.default),c=s;e.default=c},"6eb8":function(t,e,r){"use strict";r.r(e);var n=r("30ca"),o=r("9157");for(var a in o)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return o[t]}))}(a);r("0402");var i=r("828b"),u=Object(i["a"])(o["default"],n["b"],n["c"],!1,null,"ca815210",null,!1,n["a"],void 0);e["default"]=u.exports},"6ef9":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("1851"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1878");var o=n(r("91fc")),a=n(r("8172")),i=n(r("7514")),u=function(){function t(){}return t.decodeRow=function(t,e,r){var n=o.default.findGuardPattern(e,r,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{var u=new a.default;return u.decodeRow(t,e,n)}catch(d){var f=new i.default;return f.decodeRow(t,e,n)}},t.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),t}(),f=u;e.default=f},7004:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.createDecoder=function(t){try{if(t.get(1))return new i.default(t);if(!t.get(2))return new u.default(t);var e=a.default.extractNumericValueFromBitArray(t,1,4);switch(e){case 4:return new f.default(t);case 5:return new d.default(t)}var r=a.default.extractNumericValueFromBitArray(t,1,5);switch(r){case 12:return new s.default(t);case 13:return new c.default(t)}var n=a.default.extractNumericValueFromBitArray(t,1,7);switch(n){case 56:return new l.default(t,"310","11");case 57:return new l.default(t,"320","11");case 58:return new l.default(t,"310","13");case 59:return new l.default(t,"320","13");case 60:return new l.default(t,"310","15");case 61:return new l.default(t,"320","15");case 62:return new l.default(t,"310","17");case 63:return new l.default(t,"320","17")}}catch(h){throw console.log(h),new o.default("unknown decoder: "+t)}};var o=n(r("9e56")),a=n(r("46f2")),i=n(r("e3a5")),u=n(r("27db")),f=n(r("39a5")),d=n(r("44ce")),s=n(r("a6da")),c=n(r("2508")),l=n(r("2f48"))},"715c":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t){this.bottomLeft=t[0],this.topLeft=t[1],this.topRight=t[2]}return t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t}(),o=n;e.default=o},7322:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var n=r("2004"),o=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=function(t){function e(e){void 0===e&&(e=void 0);var r=t.call(this,e)||this;return r.message=e,r}return o(e,t),e.prototype.getKind=function(){var t=this.constructor;return t.kind},e.kind="Exception",e}(n.CustomError),i=a;e.default=i},7514:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("1878"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("ab80"),r("e966"),r("c1a3");var o=n(r("b717")),a=n(r("91fc")),i=n(r("0c24")),u=n(r("a8be")),f=n(r("37ed")),d=n(r("f228")),s=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=function(){function t(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,r,n){var a=this.decodeRowStringBuffer,f=this.decodeMiddle(r,n,a),d=a.toString(),s=t.parseExtensionString(d),c=[new u.default((n[0]+n[1])/2,e),new u.default(f,e)],l=new i.default(d,null,0,c,o.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=s&&l.putAllMetadata(s),l},t.prototype.decodeMiddle=function(t,e,r){var n,o,i=this.decodeMiddleCounters;i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var u=t.getSize(),f=e[1],c=0,l=0;l<2&&f<u;l++){var h=a.default.decodeDigit(t,i,f,a.default.L_AND_G_PATTERNS);r+=String.fromCharCode("0".charCodeAt(0)+h%10);try{for(var p=(n=void 0,s(i)),g=p.next();!g.done;g=p.next()){var y=g.value;f+=y}}catch(v){n={error:v}}finally{try{g&&!g.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}h>=10&&(c|=1<<1-l),1!==l&&(f=t.getNextSet(f),f=t.getNextUnset(f))}if(2!==r.length)throw new d.default;if(parseInt(r.toString())%4!==c)throw new d.default;return f},t.parseExtensionString=function(t){return 2!==t.length?null:new Map([[f.default.ISSUE_NUMBER,parseInt(t)]])},t}(),l=c;e.default=l},7599:function(t,e,r){"use strict";r("6a54"),r("bf0f"),r("2797"),r("dc8a"),Object.defineProperty(e,"__esModule",{value:!0});var n=r("a3ea");Object.keys(n).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===n[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}}))}));var o=r("0dec");Object.keys(o).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===o[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))}));var a=r("a5d4");Object.keys(a).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===a[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return a[t]}}))}));var i=r("15eb");Object.keys(i).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===i[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}}))}));var u=r("0382");Object.keys(u).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===u[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))}));var f=r("fbd0");Object.keys(f).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===f[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}}))}));var d=r("2a00");Object.keys(d).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===d[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return d[t]}}))}));var s=r("7da0");Object.keys(s).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===s[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))}));var c=r("5e0a");Object.keys(c).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===c[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}}))}));var l=r("ecbf");Object.keys(l).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===l[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return l[t]}}))}));var h=r("87eb");Object.keys(h).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===h[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}}))}));var p=r("3cf1");Object.keys(p).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===p[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return p[t]}}))}))},"768a":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("cf80"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("aa9c"),r("08eb"),r("ab80");var o=n(r("f74e")),a=n(r("343e")),i=n(r("f228")),u=n(r("c769")),f=n(r("5a0c")),d=n(r("dc3a")),s=n(r("db51")),c=n(r("2eda")),l=n(r("40fe")),h=n(r("f930")),p=n(r("d61e")),g=n(r("cc5c")),y=n(r("5247")),v=n(r("02e6")),w=n(r("a608")),_=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(){function t(){}return t.decode=function(e,r,n,o,a,u,f){for(var d,l=new s.default(e,r,n,o,a),p=null,g=null,y=!0;;y=!1){if(null!=r&&(p=t.getRowIndicatorColumn(e,l,r,!0,u,f)),null!=o&&(g=t.getRowIndicatorColumn(e,l,o,!1,u,f)),d=t.merge(p,g),null==d)throw i.default.getNotFoundInstance();var v=d.getBoundingBox();if(!y||null==v||!(v.getMinY()<l.getMinY()||v.getMaxY()>l.getMaxY()))break;l=v}d.setBoundingBox(l);var w=d.getBarcodeColumnCount()+1;d.setDetectionResultColumn(0,p),d.setDetectionResultColumn(w,g);for(var _=null!=p,b=1;b<=w;b++){var C=_?b:w-b;if(void 0===d.getDetectionResultColumn(C)){var A=void 0;A=0===C||C===w?new c.default(l,0===C):new h.default(l),d.setDetectionResultColumn(C,A);for(var E=-1,m=E,I=l.getMinY();I<=l.getMaxY();I++){if(E=t.getStartColumn(d,C,I,_),E<0||E>l.getMaxX()){if(-1===m)continue;E=m}var O=t.detectCodeword(e,l.getMinX(),l.getMaxX(),_,E,I,u,f);null!=O&&(A.setCodeword(I,O),m=E,u=Math.min(u,O.getWidth()),f=Math.max(f,O.getWidth()))}}}return t.createDecoderResult(d)},t.merge=function(e,r){if(null==e&&null==r)return null;var n=t.getBarcodeMetadata(e,r);if(null==n)return null;var o=s.default.merge(t.adjustBoundingBox(e),t.adjustBoundingBox(r));return new l.default(n,o)},t.adjustBoundingBox=function(e){var r,n;if(null==e)return null;var o=e.getRowHeights();if(null==o)return null;var a=t.getMax(o),i=0;try{for(var u=_(o),f=u.next();!f.done;f=u.next()){var d=f.value;if(i+=a-d,d>0)break}}catch(h){r={error:h}}finally{try{f&&!f.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}for(var s=e.getCodewords(),c=0;i>0&&null==s[c];c++)i--;var l=0;for(c=o.length-1;c>=0;c--)if(l+=a-o[c],o[c]>0)break;for(c=s.length-1;l>0&&null==s[c];c--)l--;return e.getBoundingBox().addMissingRows(i,l,e.isLeft())},t.getMax=function(t){var e,r,n=-1;try{for(var o=_(t),a=o.next();!a.done;a=o.next()){var i=a.value;n=Math.max(n,i)}}catch(u){e={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},t.getBarcodeMetadata=function(t,e){var r,n;return null==t||null==(r=t.getBarcodeMetadata())?null==e?null:e.getBarcodeMetadata():null==e||null==(n=e.getBarcodeMetadata())?r:r.getColumnCount()!==n.getColumnCount()&&r.getErrorCorrectionLevel()!==n.getErrorCorrectionLevel()&&r.getRowCount()!==n.getRowCount()?null:r},t.getRowIndicatorColumn=function(e,r,n,o,a,i){for(var u=new c.default(r,o),f=0;f<2;f++)for(var d=0===f?1:-1,s=Math.trunc(Math.trunc(n.getX())),l=Math.trunc(Math.trunc(n.getY()));l<=r.getMaxY()&&l>=r.getMinY();l+=d){var h=t.detectCodeword(e,0,e.getWidth(),o,s,l,a,i);null!=h&&(u.setCodeword(l,h),s=o?h.getStartX():h.getEndX())}return u},t.adjustCodewordCount=function(e,r){var n=r[0][1],o=n.getValue(),a=e.getBarcodeColumnCount()*e.getBarcodeRowCount()-t.getNumberOfECCodeWords(e.getBarcodeECLevel());if(0===o.length){if(a<1||a>f.default.MAX_CODEWORDS_IN_BARCODE)throw i.default.getNotFoundInstance();n.setValue(a)}else o[0]!==a&&n.setValue(a)},t.createDecoderResult=function(e){var r=t.createBarcodeMatrix(e);t.adjustCodewordCount(e,r);for(var n=new Array,o=new Int32Array(e.getBarcodeRowCount()*e.getBarcodeColumnCount()),a=[],i=new Array,u=0;u<e.getBarcodeRowCount();u++)for(var d=0;d<e.getBarcodeColumnCount();d++){var s=r[u][d+1].getValue(),c=u*e.getBarcodeColumnCount()+d;0===s.length?n.push(c):1===s.length?o[c]=s[0]:(i.push(c),a.push(s))}for(var l=new Array(a.length),h=0;h<l.length;h++)l[h]=a[h];return t.createDecoderResultFromAmbiguousValues(e.getBarcodeECLevel(),o,f.default.toIntArray(n),f.default.toIntArray(i),l)},t.createDecoderResultFromAmbiguousValues=function(e,r,n,a,i){var u=new Int32Array(a.length),f=100;while(f-- >0){for(var d=0;d<u.length;d++)r[a[d]]=i[d][u[d]];try{return t.decodeCodewords(r,e,n)}catch(c){var s=c instanceof o.default;if(!s)throw c}if(0===u.length)throw o.default.getChecksumInstance();for(d=0;d<u.length;d++){if(u[d]<i[d].length-1){u[d]++;break}if(u[d]=0,d===u.length-1)throw o.default.getChecksumInstance()}}throw o.default.getChecksumInstance()},t.createBarcodeMatrix=function(t){for(var e,r,n,o,a=Array.from({length:t.getBarcodeRowCount()},(function(){return new Array(t.getBarcodeColumnCount()+2)})),i=0;i<a.length;i++)for(var u=0;u<a[i].length;u++)a[i][u]=new g.default;var f=0;try{for(var d=_(t.getDetectionResultColumns()),s=d.next();!s.done;s=d.next()){var c=s.value;if(null!=c)try{for(var l=(n=void 0,_(c.getCodewords())),h=l.next();!h.done;h=l.next()){var p=h.value;if(null!=p){var y=p.getRowNumber();if(y>=0){if(y>=a.length)continue;a[y][f].setValue(p.getValue())}}}}catch(v){n={error:v}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}f++}}catch(w){e={error:w}}finally{try{s&&!s.done&&(r=d.return)&&r.call(d)}finally{if(e)throw e.error}}return a},t.isValidBarcodeColumn=function(t,e){return e>=0&&e<=t.getBarcodeColumnCount()+1},t.getStartColumn=function(e,r,n,o){var a,i,u=o?1:-1,f=null;if(t.isValidBarcodeColumn(e,r-u)&&(f=e.getDetectionResultColumn(r-u).getCodeword(n)),null!=f)return o?f.getEndX():f.getStartX();if(f=e.getDetectionResultColumn(r).getCodewordNearby(n),null!=f)return o?f.getStartX():f.getEndX();if(t.isValidBarcodeColumn(e,r-u)&&(f=e.getDetectionResultColumn(r-u).getCodewordNearby(n)),null!=f)return o?f.getEndX():f.getStartX();var d=0;while(t.isValidBarcodeColumn(e,r-u)){r-=u;try{for(var s=(a=void 0,_(e.getDetectionResultColumn(r).getCodewords())),c=s.next();!c.done;c=s.next()){var l=c.value;if(null!=l)return(o?l.getEndX():l.getStartX())+u*d*(l.getEndX()-l.getStartX())}}catch(h){a={error:h}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}d++}return o?e.getBoundingBox().getMinX():e.getBoundingBox().getMaxX()},t.detectCodeword=function(e,r,n,o,a,i,d,s){a=t.adjustCodewordStartColumn(e,r,n,o,a,i);var c,l=t.getModuleBitCount(e,r,n,o,a,i);if(null==l)return null;var h=u.default.sum(l);if(o)c=a+h;else{for(var g=0;g<l.length/2;g++){var v=l[g];l[g]=l[l.length-1-g],l[l.length-1-g]=v}c=a,a=c-h}if(!t.checkCodewordSkew(h,d,s))return null;var w=y.default.getDecodedValue(l),_=f.default.getCodeword(w);return-1===_?null:new p.default(a,c,t.getCodewordBucketNumber(w),_)},t.getModuleBitCount=function(t,e,r,n,o,a){var i=o,u=new Int32Array(8),f=0,d=n?1:-1,s=n;while((n?i<r:i>=e)&&f<u.length)t.get(i,a)===s?(u[f]++,i+=d):(f++,s=!s);return f===u.length||i===(n?r:e)&&f===u.length-1?u:null},t.getNumberOfECCodeWords=function(t){return 2<<t},t.adjustCodewordStartColumn=function(e,r,n,o,a,i){for(var u=a,f=o?-1:1,d=0;d<2;d++){while((o?u>=r:u<n)&&o===e.get(u,i)){if(Math.abs(a-u)>t.CODEWORD_SKEW_SIZE)return a;u+=f}f=-f,o=!o}return u},t.checkCodewordSkew=function(e,r,n){return r-t.CODEWORD_SKEW_SIZE<=e&&e<=n+t.CODEWORD_SKEW_SIZE},t.decodeCodewords=function(e,r,n){if(0===e.length)throw a.default.getFormatInstance();var o=1<<r+1,i=t.correctErrors(e,n,o);t.verifyCodewordCount(e,o);var u=v.default.decode(e,""+r);return u.setErrorsCorrected(i),u.setErasures(n.length),u},t.correctErrors=function(e,r,n){if(null!=r&&r.length>n/2+t.MAX_ERRORS||n<0||n>t.MAX_EC_CODEWORDS)throw o.default.getChecksumInstance();return t.errorCorrection.decode(e,n,r)},t.verifyCodewordCount=function(t,e){if(t.length<4)throw a.default.getFormatInstance();var r=t[0];if(r>t.length)throw a.default.getFormatInstance();if(0===r){if(!(e<t.length))throw a.default.getFormatInstance();t[0]=t.length-e}},t.getBitCountForCodeword=function(t){var e=new Int32Array(8),r=0,n=e.length-1;while(1){if((1&t)!==r&&(r=1&t,n--,n<0))break;e[n]++,t>>=1}return e},t.getCodewordBucketNumber=function(t){return t instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(t):this.getCodewordBucketNumber_number(t)},t.getCodewordBucketNumber_number=function(e){return t.getCodewordBucketNumber(t.getBitCountForCodeword(e))},t.getCodewordBucketNumber_Int32Array=function(t){return(t[0]-t[2]+t[4]-t[6]+9)%9},t.toString=function(t){for(var e=new w.default,r=0;r<t.length;r++){e.format("Row %2d: ",r);for(var n=0;n<t[r].length;n++){var o=t[r][n];0===o.getValue().length?e.format(" ",null):e.format("%4d(%2d)",o.getValue()[0],o.getConfidence(o.getValue()[0]))}e.format("%n")}return e.toString()},t.CODEWORD_SKEW_SIZE=2,t.MAX_ERRORS=3,t.MAX_EC_CODEWORDS=512,t.errorCorrection=new d.default,t}(),C=b;e.default=C},"76a0":function(t,e,r){"use strict";var n;r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,function(t){t[t["OTHER"]=0]="OTHER",t[t["PURE_BARCODE"]=1]="PURE_BARCODE",t[t["POSSIBLE_FORMATS"]=2]="POSSIBLE_FORMATS",t[t["TRY_HARDER"]=3]="TRY_HARDER",t[t["CHARACTER_SET"]=4]="CHARACTER_SET",t[t["ALLOWED_LENGTHS"]=5]="ALLOWED_LENGTHS",t[t["ASSUME_CODE_39_CHECK_DIGIT"]=6]="ASSUME_CODE_39_CHECK_DIGIT",t[t["ENABLE_CODE_39_EXTENDED_MODE"]=7]="ENABLE_CODE_39_EXTENDED_MODE",t[t["ASSUME_GS1"]=8]="ASSUME_GS1",t[t["RETURN_CODABAR_START_END"]=9]="RETURN_CODABAR_START_END",t[t["NEED_RESULT_POINT_CALLBACK"]=10]="NEED_RESULT_POINT_CALLBACK",t[t["ALLOWED_EAN_EXTENSIONS"]=11]="ALLOWED_EAN_EXTENSIONS"}(n||(n={}));var o=n;e.default=o},"76f5":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1851"),r("ab80");var o=n(r("36d3")),a=n(r("d4f8")),i=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(){function t(t,e){this.width=t,this.height=e;for(var r=new Array(e),n=0;n!==e;n++)r[n]=new Uint8Array(t);this.bytes=r}return t.prototype.getHeight=function(){return this.height},t.prototype.getWidth=function(){return this.width},t.prototype.get=function(t,e){return this.bytes[e][t]},t.prototype.getArray=function(){return this.bytes},t.prototype.setNumber=function(t,e,r){this.bytes[e][t]=r},t.prototype.setBoolean=function(t,e,r){this.bytes[e][t]=r?1:0},t.prototype.clear=function(t){var e,r;try{for(var n=i(this.bytes),a=n.next();!a.done;a=n.next()){var u=a.value;o.default.fill(u,t)}}catch(f){e={error:f}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;if(this.width!==r.width)return!1;if(this.height!==r.height)return!1;for(var n=0,o=this.height;n<o;++n)for(var a=this.bytes[n],i=r.bytes[n],u=0,f=this.width;u<f;++u)if(a[u]!==i[u])return!1;return!0},t.prototype.toString=function(){for(var t=new a.default,e=0,r=this.height;e<r;++e){for(var n=this.bytes[e],o=0,i=this.width;o<i;++o)switch(n[o]){case 0:t.append(" 0");break;case 1:t.append(" 1");break;default:t.append(" ");break}t.append("\n")}return t.toString()},t}(),f=u;e.default=f},"786c":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("c9b5"),r("bf0f"),r("ab80");var o=n(r("fe5a")),a=n(r("d4f8")),i=n(r("f228")),u=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),f=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()!==e.HEADER_SIZE+o.default.GTIN_SIZE+e.WEIGHT_SIZE)throw new i.default;var t=new a.default;return this.encodeCompressedGtin(t,e.HEADER_SIZE),this.encodeCompressedWeight(t,e.HEADER_SIZE+o.default.GTIN_SIZE,e.WEIGHT_SIZE),t.toString()},e.HEADER_SIZE=5,e.WEIGHT_SIZE=15,e}(o.default),d=f;e.default=d},"7a09":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80");var o=n(r("f7fd")),a=function(){function t(t){if(this.binarizer=t,null===t)throw new o.default("Binarizer must be non-null.")}return t.prototype.getWidth=function(){return this.binarizer.getWidth()},t.prototype.getHeight=function(){return this.binarizer.getHeight()},t.prototype.getBlackRow=function(t,e){return this.binarizer.getBlackRow(t,e)},t.prototype.getBlackMatrix=function(){return null!==this.matrix&&void 0!==this.matrix||(this.matrix=this.binarizer.getBlackMatrix()),this.matrix},t.prototype.isCropSupported=function(){return this.binarizer.getLuminanceSource().isCropSupported()},t.prototype.crop=function(e,r,n,o){var a=this.binarizer.getLuminanceSource().crop(e,r,n,o);return new t(this.binarizer.createBinarizer(a))},t.prototype.isRotateSupported=function(){return this.binarizer.getLuminanceSource().isRotateSupported()},t.prototype.rotateCounterClockwise=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise();return new t(this.binarizer.createBinarizer(e))},t.prototype.rotateCounterClockwise45=function(){var e=this.binarizer.getLuminanceSource().rotateCounterClockwise45();return new t(this.binarizer.createBinarizer(e))},t.prototype.toString=function(){try{return this.getBlackMatrix().toString()}catch(t){return""}},t}(),i=a;e.default=i},"7da0":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserQRCodeSvgWriter=void 0,r("c9b5"),r("bf0f"),r("ab80"),r("fe6b"),r("64aa");var o=n(r("d757")),a=n(r("6387")),i=n(r("08c5")),u=n(r("f7fd")),f=n(r("9e56")),d=function(){function t(){}return t.prototype.write=function(e,r,n,f){if(void 0===f&&(f=null),0===e.length)throw new u.default("Found empty contents");if(r<0||n<0)throw new u.default("Requested dimensions are too small: "+r+"x"+n);var d=i.default.L,s=t.QUIET_ZONE_SIZE;null!==f&&(void 0!==f.get(o.default.ERROR_CORRECTION)&&(d=i.default.fromString(f.get(o.default.ERROR_CORRECTION).toString())),void 0!==f.get(o.default.MARGIN)&&(s=Number.parseInt(f.get(o.default.MARGIN).toString(),10)));var c=a.default.encode(e,d,f);return this.renderResult(c,r,n,s)},t.prototype.writeToDom=function(t,e,r,n,o){void 0===o&&(o=null),"string"===typeof t&&(t=document.querySelector(t));var a=this.write(e,r,n,o);t&&t.appendChild(a)},t.prototype.renderResult=function(t,e,r,n){var o=t.getMatrix();if(null===o)throw new f.default;for(var a=o.getWidth(),i=o.getHeight(),u=a+2*n,d=i+2*n,s=Math.max(e,u),c=Math.max(r,d),l=Math.min(Math.floor(s/u),Math.floor(c/d)),h=Math.floor((s-a*l)/2),p=Math.floor((c-i*l)/2),g=this.createSVGElement(s,c),y=0,v=p;y<i;y++,v+=l)for(var w=0,_=h;w<a;w++,_+=l)if(1===o.get(w,y)){var b=this.createSvgRectElement(_,v,l,l);g.appendChild(b)}return g},t.prototype.createSVGElement=function(e,r){var n=document.createElementNS(t.SVG_NS,"svg");return n.setAttributeNS(null,"height",e.toString()),n.setAttributeNS(null,"width",r.toString()),n},t.prototype.createSvgRectElement=function(e,r,n,o){var a=document.createElementNS(t.SVG_NS,"rect");return a.setAttributeNS(null,"x",e.toString()),a.setAttributeNS(null,"y",r.toString()),a.setAttributeNS(null,"height",n.toString()),a.setAttributeNS(null,"width",o.toString()),a.setAttributeNS(null,"fill","#000000"),a},t.QUIET_ZONE_SIZE=4,t.SVG_NS="http://www.w3.org/2000/svg",t}();e.BrowserQRCodeSvgWriter=d},"7e0b":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("dc69"),r("1878"),r("c9b5"),r("ab80"),r("f7a5");var o=n(r("9c16")),a=n(r("1ff8")),i=n(r("36d3")),u=n(r("d4f8")),f=n(r("f7fd")),d=function(){function t(t,e,r,n){if(this.width=t,this.height=e,this.rowSize=r,this.bits=n,void 0!==e&&null!==e||(e=t),this.height=e,t<1||e<1)throw new f.default("Both dimensions must be greater than 0");void 0!==r&&null!==r||(r=Math.floor((t+31)/32)),this.rowSize=r,void 0!==n&&null!==n||(this.bits=new Int32Array(this.rowSize*this.height))}return t.parseFromBooleanArray=function(e){for(var r=e.length,n=e[0].length,o=new t(n,r),a=0;a<r;a++)for(var i=e[a],u=0;u<n;u++)i[u]&&o.set(u,a);return o},t.parseFromString=function(e,r,n){if(null===e)throw new f.default("stringRepresentation cannot be null");var o=new Array(e.length),a=0,i=0,u=-1,d=0,s=0;while(s<e.length)if("\n"===e.charAt(s)||"\r"===e.charAt(s)){if(a>i){if(-1===u)u=a-i;else if(a-i!==u)throw new f.default("row lengths do not match");i=a,d++}s++}else if(e.substring(s,s+r.length)===r)s+=r.length,o[a]=!0,a++;else{if(e.substring(s,s+n.length)!==n)throw new f.default("illegal character encountered: "+e.substring(s));s+=n.length,o[a]=!1,a++}if(a>i){if(-1===u)u=a-i;else if(a-i!==u)throw new f.default("row lengths do not match");d++}for(var c=new t(u,d),l=0;l<a;l++)o[l]&&c.set(Math.floor(l%u),Math.floor(l/u));return c},t.prototype.get=function(t,e){var r=e*this.rowSize+Math.floor(t/32);return 0!==(this.bits[r]>>>(31&t)&1)},t.prototype.set=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]|=1<<(31&t)&4294967295},t.prototype.unset=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]&=~(1<<(31&t)&4294967295)},t.prototype.flip=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]^=1<<(31&t)&4294967295},t.prototype.xor=function(t){if(this.width!==t.getWidth()||this.height!==t.getHeight()||this.rowSize!==t.getRowSize())throw new f.default("input matrix dimensions do not match");for(var e=new o.default(Math.floor(this.width/32)+1),r=this.rowSize,n=this.bits,a=0,i=this.height;a<i;a++)for(var u=a*r,d=t.getRow(a,e).getBitArray(),s=0;s<r;s++)n[u+s]^=d[s]},t.prototype.clear=function(){for(var t=this.bits,e=t.length,r=0;r<e;r++)t[r]=0},t.prototype.setRegion=function(t,e,r,n){if(e<0||t<0)throw new f.default("Left and top must be nonnegative");if(n<1||r<1)throw new f.default("Height and width must be at least 1");var o=t+r,a=e+n;if(a>this.height||o>this.width)throw new f.default("The region must fit inside the matrix");for(var i=this.rowSize,u=this.bits,d=e;d<a;d++)for(var s=d*i,c=t;c<o;c++)u[s+Math.floor(c/32)]|=1<<(31&c)&4294967295},t.prototype.getRow=function(t,e){null===e||void 0===e||e.getSize()<this.width?e=new o.default(this.width):e.clear();for(var r=this.rowSize,n=this.bits,a=t*r,i=0;i<r;i++)e.setBulk(32*i,n[a+i]);return e},t.prototype.setRow=function(t,e){a.default.arraycopy(e.getBitArray(),0,this.bits,t*this.rowSize,this.rowSize)},t.prototype.rotate180=function(){for(var t=this.getWidth(),e=this.getHeight(),r=new o.default(t),n=new o.default(t),a=0,i=Math.floor((e+1)/2);a<i;a++)r=this.getRow(a,r),n=this.getRow(e-1-a,n),r.reverse(),n.reverse(),this.setRow(a,n),this.setRow(e-1-a,r)},t.prototype.getEnclosingRectangle=function(){for(var t=this.width,e=this.height,r=this.rowSize,n=this.bits,o=t,a=e,i=-1,u=-1,f=0;f<e;f++)for(var d=0;d<r;d++){var s=n[f*r+d];if(0!==s){if(f<a&&(a=f),f>u&&(u=f),32*d<o){var c=0;while(0===(s<<31-c&4294967295))c++;32*d+c<o&&(o=32*d+c)}if(32*d+31>i){c=31;while(s>>>c===0)c--;32*d+c>i&&(i=32*d+c)}}}return i<o||u<a?null:Int32Array.from([o,a,i-o+1,u-a+1])},t.prototype.getTopLeftOnBit=function(){var t=this.rowSize,e=this.bits,r=0;while(r<e.length&&0===e[r])r++;if(r===e.length)return null;var n=r/t,o=r%t*32,a=e[r],i=0;while(0===(a<<31-i&4294967295))i++;return o+=i,Int32Array.from([o,n])},t.prototype.getBottomRightOnBit=function(){var t=this.rowSize,e=this.bits,r=e.length-1;while(r>=0&&0===e[r])r--;if(r<0)return null;var n=Math.floor(r/t),o=32*Math.floor(r%t),a=e[r],i=31;while(a>>>i===0)i--;return o+=i,Int32Array.from([o,n])},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRowSize=function(){return this.rowSize},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.width===r.width&&this.height===r.height&&this.rowSize===r.rowSize&&i.default.equals(this.bits,r.bits)},t.prototype.hashCode=function(){var t=this.width;return t=31*t+this.width,t=31*t+this.height,t=31*t+this.rowSize,t=31*t+i.default.hashCode(this.bits),t},t.prototype.toString=function(t,e,r){return void 0===t&&(t="X "),void 0===e&&(e=" "),void 0===r&&(r="\n"),this.buildToString(t,e,r)},t.prototype.buildToString=function(t,e,r){for(var n=new u.default,o=0,a=this.height;o<a;o++){for(var i=0,f=this.width;i<f;i++)n.append(this.get(i,o)?t:e);n.append(r)}return n.toString()},t.prototype.clone=function(){return new t(this.width,this.height,this.rowSize,this.bits.slice())},t}(),s=d;e.default=s},"7e9b":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t,e){this.bits=t,this.points=e}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}(),o=n;e.default=o},8172:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("1878"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("ab80"),r("c1a3"),r("e966");var o=n(r("b717")),a=n(r("91fc")),i=n(r("0c24")),u=n(r("a8be")),f=n(r("37ed")),d=n(r("f228")),s=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=function(){function t(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,r,n){var a=this.decodeRowStringBuffer,f=this.decodeMiddle(r,n,a),d=a.toString(),s=t.parseExtensionString(d),c=[new u.default((n[0]+n[1])/2,e),new u.default(f,e)],l=new i.default(d,null,0,c,o.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=s&&l.putAllMetadata(s),l},t.prototype.decodeMiddle=function(e,r,n){var o,i,u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;for(var f=e.getSize(),c=r[1],l=0,h=0;h<5&&c<f;h++){var p=a.default.decodeDigit(e,u,c,a.default.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+p%10);try{for(var g=(o=void 0,s(u)),y=g.next();!y.done;y=g.next()){var v=y.value;c+=v}}catch(_){o={error:_}}finally{try{y&&!y.done&&(i=g.return)&&i.call(g)}finally{if(o)throw o.error}}p>=10&&(l|=1<<4-h),4!==h&&(c=e.getNextSet(c),c=e.getNextUnset(c))}if(5!==n.length)throw new d.default;var w=this.determineCheckDigit(l);if(t.extensionChecksum(n.toString())!==w)throw new d.default;return c},t.extensionChecksum=function(t){for(var e=t.length,r=0,n=e-2;n>=0;n-=2)r+=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);r*=3;for(n=e-1;n>=0;n-=2)r+=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);return r*=3,r%10},t.prototype.determineCheckDigit=function(t){for(var e=0;e<10;e++)if(t===this.CHECK_DIGIT_ENCODINGS[e])return e;throw new d.default},t.parseExtensionString=function(e){if(5!==e.length)return null;var r=t.parseExtension5String(e);return null==r?null:new Map([[f.default.SUGGESTED_PRICE,r]])},t.parseExtension5String=function(t){var e;switch(t.charAt(0)){case"0":e="£";break;case"5":e="$";break;case"9":switch(t){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}e="";break;default:e="";break}var r=parseInt(t.substring(1)),n=(r/100).toString(),o=r%100,a=o<10?"0"+o:o.toString();return e+n+"."+a},t}(),l=c;e.default=l},8183:function(t,e,r){"use strict";r("6a54");var n=r("3639").default,o=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.SHIFT_TABLE=void 0,e.static_SHIFT_TABLE=f,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("1851");var a=o(r("36d3")),i=n(r("d147")),u=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};function f(t){var e,r;try{for(var n=u(t),o=n.next();!o.done;o=n.next()){var f=o.value;a.default.fill(f,-1)}}catch(d){e={error:d}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return t[i.MODE_UPPER][i.MODE_PUNCT]=0,t[i.MODE_LOWER][i.MODE_PUNCT]=0,t[i.MODE_LOWER][i.MODE_UPPER]=28,t[i.MODE_MIXED][i.MODE_PUNCT]=0,t[i.MODE_DIGIT][i.MODE_PUNCT]=0,t[i.MODE_DIGIT][i.MODE_UPPER]=15,t}var d=f(a.default.createInt32Array(6,6));e.SHIFT_TABLE=d},"836d":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7e9b")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e,r,n,o,a){var i=t.call(this,e,r)||this;return i.compact=n,i.nbDatablocks=o,i.nbLayers=a,i}return a(e,t),e.prototype.getNbLayers=function(){return this.nbLayers},e.prototype.getNbDatablocks=function(){return this.nbDatablocks},e.prototype.isCompact=function(){return this.compact},e}(o.default),u=i;e.default=u},"841b":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ASCIIEncoder",{enumerable:!0,get:function(){return o.ASCIIEncoder}}),Object.defineProperty(e,"Base256Encoder",{enumerable:!0,get:function(){return a.Base256Encoder}}),Object.defineProperty(e,"C40Encoder",{enumerable:!0,get:function(){return i.C40Encoder}}),Object.defineProperty(e,"DefaultPlacement",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"EdifactEncoder",{enumerable:!0,get:function(){return f.EdifactEncoder}}),Object.defineProperty(e,"EncoderContext",{enumerable:!0,get:function(){return d.EncoderContext}}),Object.defineProperty(e,"ErrorCorrection",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"HighLevelEncoder",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"MinimalEncoder",{enumerable:!0,get:function(){return l.MinimalEncoder}}),Object.defineProperty(e,"SymbolInfo",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"TextEncoder",{enumerable:!0,get:function(){return p.TextEncoder}}),Object.defineProperty(e,"X12Encoder",{enumerable:!0,get:function(){return g.X12Encoder}});var o=r("2570"),a=r("bcd6"),i=r("f2b5"),u=n(r("061d")),f=r("e120"),d=r("a370"),s=n(r("88aa")),c=n(r("3fac")),l=r("3e26"),h=n(r("44d8")),p=r("976e"),g=r("a455")},"842e":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ModeValues=void 0,r("c9b5"),r("bf0f"),r("ab80"),r("c1a3"),r("18f7"),r("de6c"),r("1878"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o,a=n(r("f7fd"));e.ModeValues=o,function(t){t[t["TERMINATOR"]=0]="TERMINATOR",t[t["NUMERIC"]=1]="NUMERIC",t[t["ALPHANUMERIC"]=2]="ALPHANUMERIC",t[t["STRUCTURED_APPEND"]=3]="STRUCTURED_APPEND",t[t["BYTE"]=4]="BYTE",t[t["ECI"]=5]="ECI",t[t["KANJI"]=6]="KANJI",t[t["FNC1_FIRST_POSITION"]=7]="FNC1_FIRST_POSITION",t[t["FNC1_SECOND_POSITION"]=8]="FNC1_SECOND_POSITION",t[t["HANZI"]=9]="HANZI"}(o||(e.ModeValues=o={}));var i=function(){function t(e,r,n,o){this.value=e,this.stringValue=r,this.characterCountBitsForVersions=n,this.bits=o,t.FOR_BITS.set(o,this),t.FOR_VALUE.set(e,this)}return t.forBits=function(e){var r=t.FOR_BITS.get(e);if(void 0===r)throw new a.default;return r},t.prototype.getCharacterCountBits=function(t){var e,r=t.getVersionNumber();return e=r<=9?0:r<=26?1:2,this.characterCountBitsForVersions[e]},t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value},t.prototype.toString=function(){return this.stringValue},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.TERMINATOR=new t(o.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),t.NUMERIC=new t(o.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),t.ALPHANUMERIC=new t(o.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),t.STRUCTURED_APPEND=new t(o.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),t.BYTE=new t(o.BYTE,"BYTE",Int32Array.from([8,16,16]),4),t.ECI=new t(o.ECI,"ECI",Int32Array.from([0,0,0]),7),t.KANJI=new t(o.KANJI,"KANJI",Int32Array.from([8,10,12]),8),t.FNC1_FIRST_POSITION=new t(o.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),t.FNC1_SECOND_POSITION=new t(o.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),t.HANZI=new t(o.HANZI,"HANZI",Int32Array.from([8,10,12]),13),t}(),u=i;e.default=u},"843b":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.kind="ReaderException",e}(o.default),u=i;e.default=u},8456:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("dc69"),r("aa9c"),r("ab80"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1878");var o=n(r("3dae")),a=n(r("8d70")),i=n(r("0c24")),u=n(r("76a0")),f=n(r("f228")),d=n(r("d4f8")),s=n(r("b717")),c=n(r("a8be")),l=n(r("853a")),h=n(r("b911")),p=n(r("c769")),g=n(r("c003")),y=n(r("1ff8")),v=n(r("4d7d")),w=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),_=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.possibleLeftPairs=[],e.possibleRightPairs=[],e}return w(e,t),e.prototype.decodeRow=function(t,r,n){var o,a,i,u,d=this.decodePair(r,!1,t,n);e.addOrTally(this.possibleLeftPairs,d),r.reverse();var s=this.decodePair(r,!0,t,n);e.addOrTally(this.possibleRightPairs,s),r.reverse();try{for(var c=_(this.possibleLeftPairs),l=c.next();!l.done;l=c.next()){var h=l.value;if(h.getCount()>1)try{for(var p=(i=void 0,_(this.possibleRightPairs)),g=p.next();!g.done;g=p.next()){var y=g.value;if(y.getCount()>1&&e.checkChecksum(h,y))return e.constructResult(h,y)}}catch(v){i={error:v}}finally{try{g&&!g.done&&(u=p.return)&&u.call(p)}finally{if(i)throw i.error}}}}catch(w){o={error:w}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}throw new f.default},e.addOrTally=function(t,e){var r,n;if(null!=e){var o=!1;try{for(var a=_(t),i=a.next();!i.done;i=a.next()){var u=i.value;if(u.getValue()===e.getValue()){u.incrementCount(),o=!0;break}}}catch(f){r={error:f}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}o||t.push(e)}},e.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},e.constructResult=function(t,e){for(var r=4537077*t.getValue()+e.getValue(),n=new String(r).toString(),o=new d.default,a=13-n.length;a>0;a--)o.append("0");o.append(n);var u=0;for(a=0;a<13;a++){var f=o.charAt(a).charCodeAt(0)-"0".charCodeAt(0);u+=0===(1&a)?3*f:f}u=10-u%10,10===u&&(u=0),o.append(u.toString());var c=t.getFinderPattern().getResultPoints(),l=e.getFinderPattern().getResultPoints();return new i.default(o.toString(),null,0,[c[0],c[1],l[0],l[1]],s.default.RSS_14,(new Date).getTime())},e.checkChecksum=function(t,e){var r=(t.getChecksumPortion()+16*e.getChecksumPortion())%79,n=9*t.getFinderPattern().getValue()+e.getFinderPattern().getValue();return n>72&&n--,n>8&&n--,r===n},e.prototype.decodePair=function(t,e,r,n){try{var o=this.findFinderPattern(t,e),i=this.parseFoundFinderPattern(t,r,e,o),f=null==n?null:n.get(u.default.NEED_RESULT_POINT_CALLBACK);if(null!=f){var d=(o[0]+o[1])/2;e&&(d=t.getSize()-1-d),f.foundPossibleResultPoint(new c.default(d,r))}var s=this.decodeDataCharacter(t,i,!0),l=this.decodeDataCharacter(t,i,!1);return new a.default(1597*s.getValue()+l.getValue(),s.getChecksumPortion()+4*l.getChecksumPortion(),i)}catch(h){return null}},e.prototype.decodeDataCharacter=function(t,r,n){for(var o=this.getDataCharacterCounters(),a=0;a<o.length;a++)o[a]=0;if(n)v.default.recordPatternInReverse(t,r.getStartEnd()[0],o);else{v.default.recordPattern(t,r.getStartEnd()[1]+1,o);for(var i=0,u=o.length-1;i<u;i++,u--){var d=o[i];o[i]=o[u],o[u]=d}}var s=n?16:15,c=p.default.sum(new Int32Array(o))/s,l=this.getOddCounts(),y=this.getEvenCounts(),w=this.getOddRoundingErrors(),_=this.getEvenRoundingErrors();for(i=0;i<o.length;i++){var b=o[i]/c,C=Math.floor(b+.5);C<1?C=1:C>8&&(C=8);var A=Math.floor(i/2);0===(1&i)?(l[A]=C,w[A]=b-C):(y[A]=C,_[A]=b-C)}this.adjustOddEvenCounts(n,s);var E=0,m=0;for(i=l.length-1;i>=0;i--)m*=9,m+=l[i],E+=l[i];var I=0,O=0;for(i=y.length-1;i>=0;i--)I*=9,I+=y[i],O+=y[i];var S=m+3*I;if(n){if(0!==(1&E)||E>12||E<4)throw new f.default;var T=(12-E)/2,N=e.OUTSIDE_ODD_WIDEST[T],R=9-N,D=g.default.getRSSvalue(l,N,!1),M=g.default.getRSSvalue(y,R,!0),P=e.OUTSIDE_EVEN_TOTAL_SUBSET[T],B=e.OUTSIDE_GSUM[T];return new h.default(D*P+M+B,S)}if(0!==(1&O)||O>10||O<4)throw new f.default;T=(10-O)/2,N=e.INSIDE_ODD_WIDEST[T],R=9-N,D=g.default.getRSSvalue(l,N,!0),M=g.default.getRSSvalue(y,R,!1);var L=e.INSIDE_ODD_TOTAL_SUBSET[T];B=e.INSIDE_GSUM[T];return new h.default(M*L+D+B,S)},e.prototype.findFinderPattern=function(t,e){var r=this.getDecodeFinderCounters();r[0]=0,r[1]=0,r[2]=0,r[3]=0;var n=t.getSize(),a=!1,i=0;while(i<n){if(a=!t.get(i),e===a)break;i++}for(var u=0,d=i,s=i;s<n;s++)if(t.get(s)!==a)r[u]++;else{if(3===u){if(o.default.isFinderPattern(r))return[d,s];d+=r[0]+r[1],r[0]=r[2],r[1]=r[3],r[2]=0,r[3]=0,u--}else u++;r[u]=1,a=!a}throw new f.default},e.prototype.parseFoundFinderPattern=function(t,r,n,o){var a=t.get(o[0]),i=o[0]-1;while(i>=0&&a!==t.get(i))i--;i++;var u=o[0]-i,f=this.getDecodeFinderCounters(),d=new Int32Array(f.length);y.default.arraycopy(f,0,d,1,f.length-1),d[0]=u;var s=this.parseFinderValue(d,e.FINDER_PATTERNS),c=i,h=o[1];return n&&(c=t.getSize()-1-c,h=t.getSize()-1-h),new l.default(s,[i,o[1]],c,h,r)},e.prototype.adjustOddEvenCounts=function(t,e){var r=p.default.sum(new Int32Array(this.getOddCounts())),n=p.default.sum(new Int32Array(this.getEvenCounts())),a=!1,i=!1,u=!1,d=!1;t?(r>12?i=!0:r<4&&(a=!0),n>12?d=!0:n<4&&(u=!0)):(r>11?i=!0:r<5&&(a=!0),n>10?d=!0:n<4&&(u=!0));var s=r+n-e,c=(1&r)===(t?1:0),l=1===(1&n);if(1===s)if(c){if(l)throw new f.default;i=!0}else{if(!l)throw new f.default;d=!0}else if(-1===s)if(c){if(l)throw new f.default;a=!0}else{if(!l)throw new f.default;u=!0}else{if(0!==s)throw new f.default;if(c){if(!l)throw new f.default;r<n?(a=!0,d=!0):(i=!0,u=!0)}else if(l)throw new f.default}if(a){if(i)throw new f.default;o.default.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(i&&o.default.decrement(this.getOddCounts(),this.getOddRoundingErrors()),u){if(d)throw new f.default;o.default.increment(this.getEvenCounts(),this.getOddRoundingErrors())}d&&o.default.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},e.OUTSIDE_EVEN_TOTAL_SUBSET=[1,10,34,70,126],e.INSIDE_ODD_TOTAL_SUBSET=[4,20,48,81],e.OUTSIDE_GSUM=[0,161,961,2015,2715],e.INSIDE_GSUM=[0,336,1036,1516],e.OUTSIDE_ODD_WIDEST=[8,6,4,3,1],e.INSIDE_ODD_WIDEST=[2,4,6,8],e.FINDER_PATTERNS=[Int32Array.from([3,8,2,1]),Int32Array.from([3,5,5,1]),Int32Array.from([3,3,7,1]),Int32Array.from([3,1,9,1]),Int32Array.from([2,7,4,1]),Int32Array.from([2,5,6,1]),Int32Array.from([2,3,8,1]),Int32Array.from([1,5,7,1]),Int32Array.from([1,3,9,1])],e}(o.default),C=b;e.default=C},"84e1":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("aa9c"),r("1878"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("0497")),a=n(r("1ff8")),i=n(r("f7fd")),u=function(){function t(t){this.field=t,this.cachedGenerators=[],this.cachedGenerators.push(new o.default(t,Int32Array.from([1])))}return t.prototype.buildGenerator=function(t){var e=this.cachedGenerators;if(t>=e.length)for(var r=e[e.length-1],n=this.field,a=e.length;a<=t;a++){var i=r.multiply(new o.default(n,Int32Array.from([1,n.exp(a-1+n.getGeneratorBase())])));e.push(i),r=i}return e[t]},t.prototype.encode=function(t,e){if(0===e)throw new i.default("No error correction bytes");var r=t.length-e;if(r<=0)throw new i.default("No data bytes provided");var n=this.buildGenerator(e),u=new Int32Array(r);a.default.arraycopy(t,0,u,0,r);var f=new o.default(this.field,u);f=f.multiplyByMonomial(e,1);for(var d=f.divide(n)[1],s=d.getCoefficients(),c=e-s.length,l=0;l<c;l++)t[r+l]=0;a.default.arraycopy(s,0,t,r+c,s.length)},t}(),f=u;e.default=f},8532:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5");var o=n(r("f228")),a=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function t(){}return t.parseFieldsInGeneralPurpose=function(e){var r,n,i,u,f,d,s,c;if(!e)return null;if(e.length<2)throw new o.default;var l=e.substring(0,2);try{for(var h=a(t.TWO_DIGIT_DATA_LENGTH),p=h.next();!p.done;p=h.next()){var g=p.value;if(g[0]===l)return g[1]===t.VARIABLE_LENGTH?t.processVariableAI(2,g[2],e):t.processFixedAI(2,g[1],e)}}catch(m){r={error:m}}finally{try{p&&!p.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}if(e.length<3)throw new o.default;var y=e.substring(0,3);try{for(var v=a(t.THREE_DIGIT_DATA_LENGTH),w=v.next();!w.done;w=v.next()){g=w.value;if(g[0]===y)return g[1]===t.VARIABLE_LENGTH?t.processVariableAI(3,g[2],e):t.processFixedAI(3,g[1],e)}}catch(I){i={error:I}}finally{try{w&&!w.done&&(u=v.return)&&u.call(v)}finally{if(i)throw i.error}}try{for(var _=a(t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),b=_.next();!b.done;b=_.next()){g=b.value;if(g[0]===y)return g[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,g[2],e):t.processFixedAI(4,g[1],e)}}catch(O){f={error:O}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(f)throw f.error}}if(e.length<4)throw new o.default;var C=e.substring(0,4);try{for(var A=a(t.FOUR_DIGIT_DATA_LENGTH),E=A.next();!E.done;E=A.next()){g=E.value;if(g[0]===C)return g[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,g[2],e):t.processFixedAI(4,g[1],e)}}catch(S){s={error:S}}finally{try{E&&!E.done&&(c=A.return)&&c.call(A)}finally{if(s)throw s.error}}throw new o.default},t.processFixedAI=function(e,r,n){if(n.length<e)throw new o.default;var a=n.substring(0,e);if(n.length<e+r)throw new o.default;var i=n.substring(e,e+r),u=n.substring(e+r),f="("+a+")"+i,d=t.parseFieldsInGeneralPurpose(u);return null==d?f:f+d},t.processVariableAI=function(e,r,n){var o,a=n.substring(0,e);o=n.length<e+r?n.length:e+r;var i=n.substring(e,o),u=n.substring(o),f="("+a+")"+i,d=t.parseFieldsInGeneralPurpose(u);return null==d?f:f+d},t.VARIABLE_LENGTH=[],t.TWO_DIGIT_DATA_LENGTH=[["00",18],["01",14],["02",14],["10",t.VARIABLE_LENGTH,20],["11",6],["12",6],["13",6],["15",6],["17",6],["20",2],["21",t.VARIABLE_LENGTH,20],["22",t.VARIABLE_LENGTH,29],["30",t.VARIABLE_LENGTH,8],["37",t.VARIABLE_LENGTH,8],["90",t.VARIABLE_LENGTH,30],["91",t.VARIABLE_LENGTH,30],["92",t.VARIABLE_LENGTH,30],["93",t.VARIABLE_LENGTH,30],["94",t.VARIABLE_LENGTH,30],["95",t.VARIABLE_LENGTH,30],["96",t.VARIABLE_LENGTH,30],["97",t.VARIABLE_LENGTH,3],["98",t.VARIABLE_LENGTH,30],["99",t.VARIABLE_LENGTH,30]],t.THREE_DIGIT_DATA_LENGTH=[["240",t.VARIABLE_LENGTH,30],["241",t.VARIABLE_LENGTH,30],["242",t.VARIABLE_LENGTH,6],["250",t.VARIABLE_LENGTH,30],["251",t.VARIABLE_LENGTH,30],["253",t.VARIABLE_LENGTH,17],["254",t.VARIABLE_LENGTH,20],["400",t.VARIABLE_LENGTH,30],["401",t.VARIABLE_LENGTH,30],["402",17],["403",t.VARIABLE_LENGTH,30],["410",13],["411",13],["412",13],["413",13],["414",13],["420",t.VARIABLE_LENGTH,20],["421",t.VARIABLE_LENGTH,15],["422",3],["423",t.VARIABLE_LENGTH,15],["424",3],["425",3],["426",3]],t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH=[["310",6],["311",6],["312",6],["313",6],["314",6],["315",6],["316",6],["320",6],["321",6],["322",6],["323",6],["324",6],["325",6],["326",6],["327",6],["328",6],["329",6],["330",6],["331",6],["332",6],["333",6],["334",6],["335",6],["336",6],["340",6],["341",6],["342",6],["343",6],["344",6],["345",6],["346",6],["347",6],["348",6],["349",6],["350",6],["351",6],["352",6],["353",6],["354",6],["355",6],["356",6],["357",6],["360",6],["361",6],["362",6],["363",6],["364",6],["365",6],["366",6],["367",6],["368",6],["369",6],["390",t.VARIABLE_LENGTH,15],["391",t.VARIABLE_LENGTH,18],["392",t.VARIABLE_LENGTH,15],["393",t.VARIABLE_LENGTH,18],["703",t.VARIABLE_LENGTH,30]],t.FOUR_DIGIT_DATA_LENGTH=[["7001",13],["7002",t.VARIABLE_LENGTH,30],["7003",10],["8001",14],["8002",t.VARIABLE_LENGTH,20],["8003",t.VARIABLE_LENGTH,30],["8004",t.VARIABLE_LENGTH,30],["8005",6],["8006",18],["8007",t.VARIABLE_LENGTH,30],["8008",t.VARIABLE_LENGTH,12],["8018",18],["8020",t.VARIABLE_LENGTH,25],["8100",6],["8101",10],["8102",2],["8110",t.VARIABLE_LENGTH,70],["8200",t.VARIABLE_LENGTH,70]],t}(),u=i;e.default=u},"853a":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("aa9c");var o=n(r("a8be")),a=function(){function t(t,e,r,n,a){this.value=t,this.startEnd=e,this.value=t,this.startEnd=e,this.resultPoints=new Array,this.resultPoints.push(new o.default(r,a)),this.resultPoints.push(new o.default(n,a))}return t.prototype.getValue=function(){return this.value},t.prototype.getStartEnd=function(){return this.startEnd},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value},t.prototype.hashCode=function(){return this.value},t}(),i=a;e.default=i},8618:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t){this.newPosition=t}return t.prototype.getNewPosition=function(){return this.newPosition},t}(),o=n;e.default=o},"87e7":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("253e")),a=function(){function t(){}return t.ISO_8859_1=o.default.ISO8859_1,t}(),i=a;e.default=i},"87eb":function(t,e){},"88aa":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("7a76"),r("c9b5"),r("bf0f"),r("ab80"),r("fd3c");var o=n(r("d4f8")),a=r("eab1"),i=function(){function t(){}return t.encodeECC200=function(t,e){if(t.length!==e.getDataCapacity())throw new Error("The number of codewords does not match the selected symbol");var r=new o.default;r.append(t);var n=e.getInterleavedBlockCount();if(1===n){var a=this.createECCBlock(t,e.getErrorCodewords());r.append(a)}else{for(var i=[],u=[],f=0;f<n;f++)i[f]=e.getDataLengthForInterleavedBlock(f+1),u[f]=e.getErrorLengthForInterleavedBlock(f+1);for(var d=0;d<n;d++){for(var s=new o.default,c=d;c<e.getDataCapacity();c+=n)s.append(t.charAt(c));a=this.createECCBlock(s.toString(),u[d]);for(var l=0,h=d;h<u[d]*n;h+=n)r.setCharAt(e.getDataCapacity()+h,a.charAt(l++))}}return r.toString()},t.createECCBlock=function(t,e){for(var r=-1,n=0;n<a.FACTOR_SETS.length;n++)if(a.FACTOR_SETS[n]===e){r=n;break}if(r<0)throw new Error("Illegal number of error correction codewords specified: "+e);var o=a.FACTORS[r],i=[];for(n=0;n<e;n++)i[n]=0;for(n=0;n<t.length;n++){for(var u=i[e-1]^t.charAt(n).charCodeAt(0),f=e-1;f>0;f--)0!==u&&0!==o[f]?i[f]=i[f-1]^a.ALOG[(a.LOG[u]+a.LOG[o[f]])%255]:i[f]=i[f-1];0!==u&&0!==o[0]?i[0]=a.ALOG[(a.LOG[u]+a.LOG[o[0]])%255]:i[0]=0}var d=[];for(n=0;n<e;n++)d[n]=i[e-n-1];return d.map((function(t){return String.fromCharCode(t)})).join("")},t}(),u=i;e.default=u},"8d70":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("b911")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e,r,n){var o=t.call(this,e,r)||this;return o.count=0,o.finderPattern=n,o}return a(e,t),e.prototype.getFinderPattern=function(){return this.finderPattern},e.prototype.getCount=function(){return this.count},e.prototype.incrementCount=function(){this.count++},e}(o.default),u=i;e.default=u},"8d76":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("46f2")),a=function(){function t(t){this.information=t,this.generalDecoder=new o.default(t)}return t.prototype.getInformation=function(){return this.information},t.prototype.getGeneralDecoder=function(){return this.generalDecoder},t}(),i=a;e.default=i},"8e8c":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("1581")),a=n(r("1daa")),i=function(){function t(){}return t.prototype.writeBytes=function(t){this.writeBytesOffset(t,0,t.length)},t.prototype.writeBytesOffset=function(t,e,r){if(null==t)throw new a.default;if(e<0||e>t.length||r<0||e+r>t.length||e+r<0)throw new o.default;if(0!==r)for(var n=0;n<r;n++)this.write(t[e+n])},t.prototype.flush=function(){},t.prototype.close=function(){},t}(),u=i;e.default=u},9157:function(t,e,r){"use strict";r.r(e);var n=r("bf71"),o=r.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"91f1":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default,o=r("3639").default;Object.defineProperty(e,"__esModule",{value:!0}),e.CHAR_MAP=void 0,e.static_CHAR_MAP=f;var a=o(r("d147")),i=n(r("36d3")),u=n(r("d618"));function f(t){var e=u.default.getCharCode(" "),r=u.default.getCharCode("."),n=u.default.getCharCode(",");t[a.MODE_UPPER][e]=1;for(var o=u.default.getCharCode("Z"),i=u.default.getCharCode("A"),f=i;f<=o;f++)t[a.MODE_UPPER][f]=f-i+2;t[a.MODE_LOWER][e]=1;var d=u.default.getCharCode("z"),s=u.default.getCharCode("a");for(f=s;f<=d;f++)t[a.MODE_LOWER][f]=f-s+2;t[a.MODE_DIGIT][e]=1;var c=u.default.getCharCode("9"),l=u.default.getCharCode("0");for(f=l;f<=c;f++)t[a.MODE_DIGIT][f]=f-l+2;t[a.MODE_DIGIT][n]=12,t[a.MODE_DIGIT][r]=13;for(var h=["\0"," ","","","","","","","","\b","\t","\n","\v","\f","\r","","","","","","@","\\","^","_","`","|","~",""],p=0;p<h.length;p++)t[a.MODE_MIXED][u.default.getCharCode(h[p])]=p;var g=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"];for(p=0;p<g.length;p++)u.default.getCharCode(g[p])>0&&(t[a.MODE_PUNCT][u.default.getCharCode(g[p])]=p);return t}var d=f(i.default.createInt32Array(5,256));e.CHAR_MAP=d},"91fc":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("1878"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("e966"),r("1851"),r("f7a5");var o=n(r("4d7d")),a=n(r("f228")),i=n(r("343e")),u=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.decodeRowStringBuffer="",e}return u(e,t),e.findStartGuardPattern=function(t){var r,n=!1,o=0,a=Int32Array.from([0,0,0]);while(!n){a=Int32Array.from([0,0,0]),r=e.findGuardPattern(t,o,!1,this.START_END_PATTERN,a);var i=r[0];o=r[1];var u=i-(o-i);u>=0&&(n=t.isRange(u,i,!1))}return r},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var r=t.length;if(0===r)return!1;var n=parseInt(t.charAt(r-1),10);return e.getStandardUPCEANChecksum(t.substring(0,r-1))===n},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,r=0,n=e-1;n>=0;n-=2){var o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new i.default;r+=o}r*=3;for(n=e-2;n>=0;n-=2){o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new i.default;r+=o}return(1e3-r)%10},e.decodeEnd=function(t,r){return e.findGuardPattern(t,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e.findGuardPatternWithoutCounters=function(t,e,r,n){return this.findGuardPattern(t,e,r,n,new Int32Array(n.length))},e.findGuardPattern=function(t,r,n,i,u){var f=t.getSize();r=n?t.getNextUnset(r):t.getNextSet(r);for(var d=0,s=r,c=i.length,l=n,h=r;h<f;h++)if(t.get(h)!==l)u[d]++;else{if(d===c-1){if(o.default.patternMatchVariance(u,i,e.MAX_INDIVIDUAL_VARIANCE)<e.MAX_AVG_VARIANCE)return Int32Array.from([s,h]);s+=u[0]+u[1];for(var p=u.slice(2,u.length),g=0;g<d-1;g++)u[g]=p[g];u[d-1]=0,u[d]=0,d--}else d++;u[d]=1,l=!l}throw new a.default},e.decodeDigit=function(t,r,n,i){this.recordPattern(t,n,r);for(var u=this.MAX_AVG_VARIANCE,f=-1,d=i.length,s=0;s<d;s++){var c=i[s],l=o.default.patternMatchVariance(r,c,e.MAX_INDIVIDUAL_VARIANCE);l<u&&(u=l,f=s)}if(f>=0)return f;throw new a.default},e.MAX_AVG_VARIANCE=.48,e.MAX_INDIVIDUAL_VARIANCE=.7,e.START_END_PATTERN=Int32Array.from([1,1,1]),e.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),e.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])],e}(o.default),d=f;e.default=d},"91fd":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("aa77"),r("aa9c"),r("4100"),r("dd2b");var o=n(r("76a0")),a=n(r("a8be")),i=n(r("9208")),u=n(r("715c")),f=n(r("f228")),d=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},s=function(){function t(t,e){this.image=t,this.resultPointCallback=e,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=e}return t.prototype.getImage=function(){return this.image},t.prototype.getPossibleCenters=function(){return this.possibleCenters},t.prototype.find=function(e){var r=null!==e&&void 0!==e&&void 0!==e.get(o.default.TRY_HARDER),n=null!==e&&void 0!==e&&void 0!==e.get(o.default.PURE_BARCODE),i=this.image,f=i.getHeight(),d=i.getWidth(),s=Math.floor(3*f/(4*t.MAX_MODULES));(s<t.MIN_SKIP||r)&&(s=t.MIN_SKIP);for(var c=!1,l=new Int32Array(5),h=s-1;h<f&&!c;h+=s){l[0]=0,l[1]=0,l[2]=0,l[3]=0,l[4]=0;for(var p=0,g=0;g<d;g++)if(i.get(g,h))1===(1&p)&&p++,l[p]++;else if(0===(1&p))if(4===p)if(t.foundPatternCross(l)){var y=this.handlePossibleCenter(l,h,g,n);if(!0!==y){l[0]=l[2],l[1]=l[3],l[2]=l[4],l[3]=1,l[4]=0,p=3;continue}if(s=2,!0===this.hasSkipped)c=this.haveMultiplyConfirmedCenters();else{var v=this.findRowSkip();v>l[2]&&(h+=v-l[2]-s,g=d-1)}p=0,l[0]=0,l[1]=0,l[2]=0,l[3]=0,l[4]=0}else l[0]=l[2],l[1]=l[3],l[2]=l[4],l[3]=1,l[4]=0,p=3;else l[++p]++;else l[p]++;if(t.foundPatternCross(l)){y=this.handlePossibleCenter(l,h,d,n);!0===y&&(s=l[0],this.hasSkipped&&(c=this.haveMultiplyConfirmedCenters()))}}var w=this.selectBestPatterns();return a.default.orderBestPatterns(w),new u.default(w)},t.centerFromEnd=function(t,e){return e-t[4]-t[3]-t[2]/2},t.foundPatternCross=function(t){for(var e=0,r=0;r<5;r++){var n=t[r];if(0===n)return!1;e+=n}if(e<7)return!1;var o=e/7,a=o/2;return Math.abs(o-t[0])<a&&Math.abs(o-t[1])<a&&Math.abs(3*o-t[2])<3*a&&Math.abs(o-t[3])<a&&Math.abs(o-t[4])<a},t.prototype.getCrossCheckStateCount=function(){var t=this.crossCheckStateCount;return t[0]=0,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t},t.prototype.crossCheckDiagonal=function(e,r,n,o){var a=this.getCrossCheckStateCount(),i=0,u=this.image;while(e>=i&&r>=i&&u.get(r-i,e-i))a[2]++,i++;if(e<i||r<i)return!1;while(e>=i&&r>=i&&!u.get(r-i,e-i)&&a[1]<=n)a[1]++,i++;if(e<i||r<i||a[1]>n)return!1;while(e>=i&&r>=i&&u.get(r-i,e-i)&&a[0]<=n)a[0]++,i++;if(a[0]>n)return!1;var f=u.getHeight(),d=u.getWidth();i=1;while(e+i<f&&r+i<d&&u.get(r+i,e+i))a[2]++,i++;if(e+i>=f||r+i>=d)return!1;while(e+i<f&&r+i<d&&!u.get(r+i,e+i)&&a[3]<n)a[3]++,i++;if(e+i>=f||r+i>=d||a[3]>=n)return!1;while(e+i<f&&r+i<d&&u.get(r+i,e+i)&&a[4]<n)a[4]++,i++;if(a[4]>=n)return!1;var s=a[0]+a[1]+a[2]+a[3]+a[4];return Math.abs(s-o)<2*o&&t.foundPatternCross(a)},t.prototype.crossCheckVertical=function(e,r,n,o){var a=this.image,i=a.getHeight(),u=this.getCrossCheckStateCount(),f=e;while(f>=0&&a.get(r,f))u[2]++,f--;if(f<0)return NaN;while(f>=0&&!a.get(r,f)&&u[1]<=n)u[1]++,f--;if(f<0||u[1]>n)return NaN;while(f>=0&&a.get(r,f)&&u[0]<=n)u[0]++,f--;if(u[0]>n)return NaN;f=e+1;while(f<i&&a.get(r,f))u[2]++,f++;if(f===i)return NaN;while(f<i&&!a.get(r,f)&&u[3]<n)u[3]++,f++;if(f===i||u[3]>=n)return NaN;while(f<i&&a.get(r,f)&&u[4]<n)u[4]++,f++;if(u[4]>=n)return NaN;var d=u[0]+u[1]+u[2]+u[3]+u[4];return 5*Math.abs(d-o)>=2*o?NaN:t.foundPatternCross(u)?t.centerFromEnd(u,f):NaN},t.prototype.crossCheckHorizontal=function(e,r,n,o){var a=this.image,i=a.getWidth(),u=this.getCrossCheckStateCount(),f=e;while(f>=0&&a.get(f,r))u[2]++,f--;if(f<0)return NaN;while(f>=0&&!a.get(f,r)&&u[1]<=n)u[1]++,f--;if(f<0||u[1]>n)return NaN;while(f>=0&&a.get(f,r)&&u[0]<=n)u[0]++,f--;if(u[0]>n)return NaN;f=e+1;while(f<i&&a.get(f,r))u[2]++,f++;if(f===i)return NaN;while(f<i&&!a.get(f,r)&&u[3]<n)u[3]++,f++;if(f===i||u[3]>=n)return NaN;while(f<i&&a.get(f,r)&&u[4]<n)u[4]++,f++;if(u[4]>=n)return NaN;var d=u[0]+u[1]+u[2]+u[3]+u[4];return 5*Math.abs(d-o)>=o?NaN:t.foundPatternCross(u)?t.centerFromEnd(u,f):NaN},t.prototype.handlePossibleCenter=function(e,r,n,o){var a=e[0]+e[1]+e[2]+e[3]+e[4],u=t.centerFromEnd(e,n),f=this.crossCheckVertical(r,Math.floor(u),e[2],a);if(!isNaN(f)&&(u=this.crossCheckHorizontal(Math.floor(u),Math.floor(f),e[2],a),!isNaN(u)&&(!o||this.crossCheckDiagonal(Math.floor(f),Math.floor(u),e[2],a)))){for(var d=a/7,s=!1,c=this.possibleCenters,l=0,h=c.length;l<h;l++){var p=c[l];if(p.aboutEquals(d,f,u)){c[l]=p.combineEstimate(f,u,d),s=!0;break}}if(!s){var g=new i.default(u,f,d);c.push(g),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(g)}return!0}return!1},t.prototype.findRowSkip=function(){var e,r,n=this.possibleCenters.length;if(n<=1)return 0;var o=null;try{for(var a=d(this.possibleCenters),i=a.next();!i.done;i=a.next()){var u=i.value;if(u.getCount()>=t.CENTER_QUORUM){if(null!=o)return this.hasSkipped=!0,Math.floor((Math.abs(o.getX()-u.getX())-Math.abs(o.getY()-u.getY()))/2);o=u}}}catch(f){e={error:f}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return 0},t.prototype.haveMultiplyConfirmedCenters=function(){var e,r,n,o,a=0,i=0,u=this.possibleCenters.length;try{for(var f=d(this.possibleCenters),s=f.next();!s.done;s=f.next()){var c=s.value;c.getCount()>=t.CENTER_QUORUM&&(a++,i+=c.getEstimatedModuleSize())}}catch(y){e={error:y}}finally{try{s&&!s.done&&(r=f.return)&&r.call(f)}finally{if(e)throw e.error}}if(a<3)return!1;var l=i/u,h=0;try{for(var p=d(this.possibleCenters),g=p.next();!g.done;g=p.next()){c=g.value;h+=Math.abs(c.getEstimatedModuleSize()-l)}}catch(v){n={error:v}}finally{try{g&&!g.done&&(o=p.return)&&o.call(p)}finally{if(n)throw n.error}}return h<=.05*i},t.prototype.selectBestPatterns=function(){var t,e,r,n,o=this.possibleCenters.length;if(o<3)throw new f.default;var a,i=this.possibleCenters;if(o>3){var u=0,s=0;try{for(var c=d(this.possibleCenters),l=c.next();!l.done;l=c.next()){var h=l.value,p=h.getEstimatedModuleSize();u+=p,s+=p*p}}catch(A){t={error:A}}finally{try{l&&!l.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}a=u/o;var g=Math.sqrt(s/o-a*a);i.sort((function(t,e){var r=Math.abs(e.getEstimatedModuleSize()-a),n=Math.abs(t.getEstimatedModuleSize()-a);return r<n?-1:r>n?1:0}));for(var y=Math.max(.2*a,g),v=0;v<i.length&&i.length>3;v++){var w=i[v];Math.abs(w.getEstimatedModuleSize()-a)>y&&(i.splice(v,1),v--)}}if(i.length>3){u=0;try{for(var _=d(i),b=_.next();!b.done;b=_.next()){var C=b.value;u+=C.getEstimatedModuleSize()}}catch(E){r={error:E}}finally{try{b&&!b.done&&(n=_.return)&&n.call(_)}finally{if(r)throw r.error}}a=u/i.length,i.sort((function(t,e){if(e.getCount()===t.getCount()){var r=Math.abs(e.getEstimatedModuleSize()-a),n=Math.abs(t.getEstimatedModuleSize()-a);return r<n?1:r>n?-1:0}return e.getCount()-t.getCount()})),i.splice(3)}return[i[0],i[1],i[2]]},t.CENTER_QUORUM=2,t.MIN_SKIP=3,t.MAX_MODULES=57,t}(),c=s;e.default=c},9208:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("a8be")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e,r,n,o){var a=t.call(this,e,r)||this;return a.estimatedModuleSize=n,a.count=o,void 0===o&&(a.count=1),a}return a(e,t),e.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},e.prototype.getCount=function(){return this.count},e.prototype.aboutEquals=function(t,e,r){if(Math.abs(e-this.getY())<=t&&Math.abs(r-this.getX())<=t){var n=Math.abs(t-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,r,n){var o=this.count+1,a=(this.count*this.getX()+r)/o,i=(this.count*this.getY()+t)/o,u=(this.count*this.estimatedModuleSize+n)/o;return new e(a,i,u,o)},e}(o.default),u=i;e.default=u},9327:function(t,e,r){"use strict";var n=r("8bdb"),o=r("9f69"),a=r("1ded").f,i=r("c435"),u=r("9e70"),f=r("b6a1"),d=r("862c"),s=r("0931"),c=r("a734"),l=o("".slice),h=Math.min,p=s("endsWith"),g=!c&&!p&&!!function(){var t=a(String.prototype,"endsWith");return t&&!t.writable}();n({target:"String",proto:!0,forced:!g&&!p},{endsWith:function(t){var e=u(d(this));f(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,o=void 0===r?n:h(i(r),n),a=u(t);return l(e,o-a.length,o)===a}})},9370:function(t,e,r){"use strict";var n=r("8bdb"),o=r("af9e"),a=r("1099"),i=r("c215"),u=o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}));n({target:"Date",proto:!0,arity:1,forced:u},{toJSON:function(t){var e=a(this),r=i(e,"number");return"number"!=typeof r||isFinite(r)?e.toISOString():null}})},"976e":function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.TextEncoder=void 0,r("8a8d");var n=r("f2b5"),o=r("eab1"),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.prototype.getEncodingMode=function(){return o.TEXT_ENCODATION},e.prototype.encodeChar=function(t,e){if(t===" ".charCodeAt(0))return e.append(3),1;if(t>="0".charCodeAt(0)&&t<="9".charCodeAt(0))return e.append(t-48+4),1;if(t>="a".charCodeAt(0)&&t<="z".charCodeAt(0))return e.append(t-97+14),1;if(t<" ".charCodeAt(0))return e.append(0),e.append(t),2;if(t<="/".charCodeAt(0))return e.append(1),e.append(t-33),2;if(t<="@".charCodeAt(0))return e.append(1),e.append(t-58+15),2;if(t>="[".charCodeAt(0)&&t<="_".charCodeAt(0))return e.append(1),e.append(t-91+22),2;if(t==="`".charCodeAt(0))return e.append(2),e.append(0),2;if(t<="Z".charCodeAt(0))return e.append(2),e.append(t-65+1),2;if(t<=127)return e.append(2),e.append(t-123+27),2;e.append("1");var r=2;return r+=this.encodeChar(t-128,e),r},e}(n.C40Encoder);e.TextEncoder=i},"9c16":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("dc69"),r("c9b5"),r("ab80"),r("f7a5"),r("aa9c");var o=n(r("f7fd")),a=n(r("36d3")),i=n(r("e5d0")),u=n(r("1ff8")),f=function(){function t(e,r){void 0===e?(this.size=0,this.bits=new Int32Array(1)):(this.size=e,this.bits=void 0===r||null===r?t.makeArray(e):r)}return t.prototype.getSize=function(){return this.size},t.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},t.prototype.ensureCapacity=function(e){if(e>32*this.bits.length){var r=t.makeArray(e);u.default.arraycopy(this.bits,0,r,0,this.bits.length),this.bits=r}},t.prototype.get=function(t){return 0!==(this.bits[Math.floor(t/32)]&1<<(31&t))},t.prototype.set=function(t){this.bits[Math.floor(t/32)]|=1<<(31&t)},t.prototype.flip=function(t){this.bits[Math.floor(t/32)]^=1<<(31&t)},t.prototype.getNextSet=function(t){var e=this.size;if(t>=e)return e;var r=this.bits,n=Math.floor(t/32),o=r[n];o&=~((1<<(31&t))-1);var a=r.length;while(0===o){if(++n===a)return e;o=r[n]}var u=32*n+i.default.numberOfTrailingZeros(o);return u>e?e:u},t.prototype.getNextUnset=function(t){var e=this.size;if(t>=e)return e;var r=this.bits,n=Math.floor(t/32),o=~r[n];o&=~((1<<(31&t))-1);var a=r.length;while(0===o){if(++n===a)return e;o=~r[n]}var u=32*n+i.default.numberOfTrailingZeros(o);return u>e?e:u},t.prototype.setBulk=function(t,e){this.bits[Math.floor(t/32)]=e},t.prototype.setRange=function(t,e){if(e<t||t<0||e>this.size)throw new o.default;if(e!==t){e--;for(var r=Math.floor(t/32),n=Math.floor(e/32),a=this.bits,i=r;i<=n;i++){var u=i>r?0:31&t,f=i<n?31:31&e,d=(2<<f)-(1<<u);a[i]|=d}}},t.prototype.clear=function(){for(var t=this.bits.length,e=this.bits,r=0;r<t;r++)e[r]=0},t.prototype.isRange=function(t,e,r){if(e<t||t<0||e>this.size)throw new o.default;if(e===t)return!0;e--;for(var n=Math.floor(t/32),a=Math.floor(e/32),i=this.bits,u=n;u<=a;u++){var f=u>n?0:31&t,d=u<a?31:31&e,s=(2<<d)-(1<<f)&4294967295;if((i[u]&s)!==(r?s:0))return!1}return!0},t.prototype.appendBit=function(t){this.ensureCapacity(this.size+1),t&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},t.prototype.appendBits=function(t,e){if(e<0||e>32)throw new o.default("Num bits must be between 0 and 32");this.ensureCapacity(this.size+e);for(var r=e;r>0;r--)this.appendBit(1===(t>>r-1&1))},t.prototype.appendBitArray=function(t){var e=t.size;this.ensureCapacity(this.size+e);for(var r=0;r<e;r++)this.appendBit(t.get(r))},t.prototype.xor=function(t){if(this.size!==t.size)throw new o.default("Sizes don't match");for(var e=this.bits,r=0,n=e.length;r<n;r++)e[r]^=t.bits[r]},t.prototype.toBytes=function(t,e,r,n){for(var o=0;o<n;o++){for(var a=0,i=0;i<8;i++)this.get(t)&&(a|=1<<7-i),t++;e[r+o]=a}},t.prototype.getBitArray=function(){return this.bits},t.prototype.reverse=function(){for(var t=new Int32Array(this.bits.length),e=Math.floor((this.size-1)/32),r=e+1,n=this.bits,o=0;o<r;o++){var a=n[o];a=a>>1&1431655765|(1431655765&a)<<1,a=a>>2&858993459|(858993459&a)<<2,a=a>>4&252645135|(252645135&a)<<4,a=a>>8&16711935|(16711935&a)<<8,a=a>>16&65535|(65535&a)<<16,t[e-o]=a}if(this.size!==32*r){var i=32*r-this.size,u=t[0]>>>i;for(o=1;o<r;o++){var f=t[o];u|=f<<32-i,t[o-1]=u,u=f>>>i}t[r-1]=u}this.bits=t},t.makeArray=function(t){return new Int32Array(Math.floor((t+31)/32))},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.size===r.size&&a.default.equals(this.bits,r.bits)},t.prototype.hashCode=function(){return 31*this.size+a.default.hashCode(this.bits)},t.prototype.toString=function(){for(var t="",e=0,r=this.size;e<r;e++)0===(7&e)&&(t+=" "),t+=this.get(e)?"X":".";return t},t.prototype.clone=function(){return new t(this.size,this.bits.slice())},t.prototype.toArray=function(){for(var t=[],e=0,r=this.size;e<r;e++)t.push(this.get(e));return t},t}(),d=f;e.default=d},"9c2f":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.MinimalECIInput=void 0,r("7a76"),r("c9b5"),r("bf0f"),r("ab80"),r("3efd");var o=r("9cd0"),a=n(r("e5d0")),i=n(r("d4f8")),u=function(){function t(t,e,r){this.fnc1=r;var n=new o.ECIEncoderSet(t,e,r);if(1===n.length())for(var a=0;a<this.bytes.length;a++){var i=t.charAt(a).charCodeAt(0);this.bytes[a]=i===r?1e3:i}else this.bytes=this.encodeMinimally(t,n,r)}return t.prototype.getFNC1Character=function(){return this.fnc1},t.prototype.length=function(){return this.bytes.length},t.prototype.haveNCharacters=function(t,e){if(t+e-1>=this.bytes.length)return!1;for(var r=0;r<e;r++)if(this.isECI(t+r))return!1;return!0},t.prototype.charAt=function(t){if(t<0||t>=this.length())throw new Error(""+t);if(this.isECI(t))throw new Error("value at "+t+" is not a character but an ECI");return this.isFNC1(t)?this.fnc1:this.bytes[t]},t.prototype.subSequence=function(t,e){if(t<0||t>e||e>this.length())throw new Error(""+t);for(var r=new i.default,n=t;n<e;n++){if(this.isECI(n))throw new Error("value at "+n+" is not a character but an ECI");r.append(this.charAt(n))}return r.toString()},t.prototype.isECI=function(t){if(t<0||t>=this.length())throw new Error(""+t);return this.bytes[t]>255&&this.bytes[t]<=999},t.prototype.isFNC1=function(t){if(t<0||t>=this.length())throw new Error(""+t);return 1e3===this.bytes[t]},t.prototype.getECIValue=function(t){if(t<0||t>=this.length())throw new Error(""+t);if(!this.isECI(t))throw new Error("value at "+t+" is not an ECI but a character");return this.bytes[t]-256},t.prototype.addEdge=function(t,e,r){(null==t[e][r.encoderIndex]||t[e][r.encoderIndex].cachedTotalSize>r.cachedTotalSize)&&(t[e][r.encoderIndex]=r)},t.prototype.addEdges=function(t,e,r,n,o,a){var i=t.charAt(n).charCodeAt(0),u=0,d=e.length();e.getPriorityEncoderIndex()>=0&&(i===a||e.canEncode(i,e.getPriorityEncoderIndex()))&&(u=e.getPriorityEncoderIndex(),d=u+1);for(var s=u;s<d;s++)(i===a||e.canEncode(i,s))&&this.addEdge(r,n+1,new f(i,e,s,o,a))},t.prototype.encodeMinimally=function(t,e,r){var n=t.length,o=new(f[n+1][e.length()]);this.addEdges(t,e,o,0,null,r);for(var i=1;i<=n;i++){for(var u=0;u<e.length();u++)null!=o[i][u]&&i<n&&this.addEdges(t,e,o,i,o[i][u],r);for(u=0;u<e.length();u++)o[i-1][u]=null}var d=-1,s=a.default.MAX_VALUE;for(u=0;u<e.length();u++)if(null!=o[n][u]){var c=o[n][u];c.cachedTotalSize<s&&(s=c.cachedTotalSize,d=u)}if(d<0)throw new Error('Failed to encode "'+t+'"');var l=[],h=o[n][d];while(null!=h){if(h.isFNC1())l.unshift(1e3);else{var p=e.encode(h.c,h.encoderIndex);for(i=p.length-1;i>=0;i--)l.unshift(255&p[i])}var g=null===h.previous?0:h.previous.encoderIndex;g!==h.encoderIndex&&l.unshift(256+e.getECIValue(h.encoderIndex)),h=h.previous}var y=[];for(i=0;i<y.length;i++)y[i]=l[i];return y},t}();e.MinimalECIInput=u;var f=function(){function t(t,e,r,n,o){this.c=t,this.encoderSet=e,this.encoderIndex=r,this.previous=n,this.fnc1=o,this.c=t===o?1e3:t;var a=this.isFNC1()?1:e.encode(t,r).length,i=null===n?0:n.encoderIndex;i!==r&&(a+=3),null!=n&&(a+=n.cachedTotalSize),this.cachedTotalSize=a}return t.prototype.isFNC1=function(){return 1e3===this.c},t}()},"9cd0":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ECIEncoderSet=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("fd3c"),r("aa9c"),r("9db6");var o=n(r("a8ae")),a=n(r("87e7")),i=n(r("a5e6")),u=n(r("d618")),f=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(){function t(t){this.charset=t,this.name=t.name}return t.prototype.canEncode=function(t){try{return null!=i.default.encode(t,this.charset)}catch(e){return!1}},t}(),s=function(){function t(t,e,r){var n,i,u,s,c,l;this.ENCODERS=["IBM437","ISO-8859-2","ISO-8859-3","ISO-8859-4","ISO-8859-5","ISO-8859-6","ISO-8859-7","ISO-8859-8","ISO-8859-9","ISO-8859-10","ISO-8859-11","ISO-8859-13","ISO-8859-14","ISO-8859-15","ISO-8859-16","windows-1250","windows-1251","windows-1252","windows-1256","Shift_JIS"].map((function(t){return new d(o.default.forName(t))})),this.encoders=[];var h=[];h.push(new d(a.default.ISO_8859_1));for(var p=null!=e&&e.name.startsWith("UTF"),g=0;g<t.length;g++){var y=!1;try{for(var v=(n=void 0,f(h)),w=v.next();!w.done;w=v.next()){var _=w.value,b=t.charAt(g),C=b.charCodeAt(0);if(C===r||_.canEncode(b)){y=!0;break}}}catch(T){n={error:T}}finally{try{w&&!w.done&&(i=v.return)&&i.call(v)}finally{if(n)throw n.error}}if(!y)try{for(var A=(u=void 0,f(this.ENCODERS)),E=A.next();!E.done;E=A.next()){_=E.value;if(_.canEncode(t.charAt(g))){h.push(_),y=!0;break}}}catch(N){u={error:N}}finally{try{E&&!E.done&&(s=A.return)&&s.call(A)}finally{if(u)throw u.error}}y||(p=!0)}if(1!==h.length||p){this.encoders=[];var m=0;try{for(var I=f(h),O=I.next();!O.done;O=I.next()){_=O.value;this.encoders[m++]=_}}catch(R){c={error:R}}finally{try{O&&!O.done&&(l=I.return)&&l.call(I)}finally{if(c)throw c.error}}}else this.encoders=[h[0]];var S=-1;if(null!=e)for(g=0;g<this.encoders.length;g++)if(null!=this.encoders[g]&&e.name===this.encoders[g].name){S=g;break}this.priorityEncoderIndex=S}return t.prototype.length=function(){return this.encoders.length},t.prototype.getCharsetName=function(t){if(!(t<this.length()))throw new Error("index must be less than length");return this.encoders[t].name},t.prototype.getCharset=function(t){if(!(t<this.length()))throw new Error("index must be less than length");return this.encoders[t].charset},t.prototype.getECIValue=function(t){return this.encoders[t].charset.getValueIdentifier()},t.prototype.getPriorityEncoderIndex=function(){return this.priorityEncoderIndex},t.prototype.canEncode=function(t,e){if(!(e<this.length()))throw new Error("index must be less than length");return!0},t.prototype.encode=function(t,e){if(!(e<this.length()))throw new Error("index must be less than length");return i.default.encode(u.default.getCharAt(t),this.encoders[e].name)},t}();e.ECIEncoderSet=s},"9e56":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.kind="IllegalStateException",e}(o.default),u=i;e.default=u},"9eb0":function(t,e,r){var n=r("c86c");e=n(!1),e.push([t.i,".scanCodePage[data-v-ca815210]{flex:1;display:flex;flex-direction:column;overflow:hidden}.scanCodePage[data-v-ca815210] #video-canvas{height:100%;width:100%}.scanCodePage[data-v-ca815210] #video-canvas .uni-video-cover{display:none}",""]),t.exports=e},"9fc4":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("c789")),a=n(r("7e0b")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){function e(e){var r=t.call(this,e)||this;return r.matrix=null,r}return i(e,t),e.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var r=this.getLuminanceSource(),n=r.getWidth(),o=r.getHeight();if(n>=e.MINIMUM_DIMENSION&&o>=e.MINIMUM_DIMENSION){var i=r.getMatrix(),u=n>>e.BLOCK_SIZE_POWER;0!==(n&e.BLOCK_SIZE_MASK)&&u++;var f=o>>e.BLOCK_SIZE_POWER;0!==(o&e.BLOCK_SIZE_MASK)&&f++;var d=e.calculateBlackPoints(i,u,f,n,o),s=new a.default(n,o);e.calculateThresholdForBlock(i,u,f,n,o,d,s),this.matrix=s}else this.matrix=t.prototype.getBlackMatrix.call(this);return this.matrix},e.prototype.createBinarizer=function(t){return new e(t)},e.calculateThresholdForBlock=function(t,r,n,o,a,i,u){for(var f=a-e.BLOCK_SIZE,d=o-e.BLOCK_SIZE,s=0;s<n;s++){var c=s<<e.BLOCK_SIZE_POWER;c>f&&(c=f);for(var l=e.cap(s,2,n-3),h=0;h<r;h++){var p=h<<e.BLOCK_SIZE_POWER;p>d&&(p=d);for(var g=e.cap(h,2,r-3),y=0,v=-2;v<=2;v++){var w=i[l+v];y+=w[g-2]+w[g-1]+w[g]+w[g+1]+w[g+2]}var _=y/25;e.thresholdBlock(t,p,c,_,o,u)}}},e.cap=function(t,e,r){return t<e?e:t>r?r:t},e.thresholdBlock=function(t,r,n,o,a,i){for(var u=0,f=n*a+r;u<e.BLOCK_SIZE;u++,f+=a)for(var d=0;d<e.BLOCK_SIZE;d++)(255&t[f+d])<=o&&i.set(r+d,n+u)},e.calculateBlackPoints=function(t,r,n,o,a){for(var i=a-e.BLOCK_SIZE,u=o-e.BLOCK_SIZE,f=new Array(n),d=0;d<n;d++){f[d]=new Int32Array(r);var s=d<<e.BLOCK_SIZE_POWER;s>i&&(s=i);for(var c=0;c<r;c++){var l=c<<e.BLOCK_SIZE_POWER;l>u&&(l=u);for(var h=0,p=255,g=0,y=0,v=s*o+l;y<e.BLOCK_SIZE;y++,v+=o){for(var w=0;w<e.BLOCK_SIZE;w++){var _=255&t[v+w];h+=_,_<p&&(p=_),_>g&&(g=_)}if(g-p>e.MIN_DYNAMIC_RANGE)for(y++,v+=o;y<e.BLOCK_SIZE;y++,v+=o)for(w=0;w<e.BLOCK_SIZE;w++)h+=255&t[v+w]}var b=h>>2*e.BLOCK_SIZE_POWER;if(g-p<=e.MIN_DYNAMIC_RANGE&&(b=p/2,d>0&&c>0)){var C=(f[d-1][c]+2*f[d][c-1]+f[d-1][c-1])/4;p<C&&(b=C)}f[d][c]=b}}return f},e.BLOCK_SIZE_POWER=3,e.BLOCK_SIZE=1<<e.BLOCK_SIZE_POWER,e.BLOCK_SIZE_MASK=e.BLOCK_SIZE-1,e.MINIMUM_DIMENSION=5*e.BLOCK_SIZE,e.MIN_DYNAMIC_RANGE=24,e}(o.default),f=u;e.default=f},"9fe1":function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("9c16")),a=function(){function t(){}return t.buildBitArray=function(t){var e=2*t.length-1;null==t[t.length-1].getRightChar()&&(e-=1);for(var r=12*e,n=new o.default(r),a=0,i=t[0],u=i.getRightChar().getValue(),f=11;f>=0;--f)0!==(u&1<<f)&&n.set(a),a++;for(f=1;f<t.length;++f){for(var d=t[f],s=d.getLeftChar().getValue(),c=11;c>=0;--c)0!==(s&1<<c)&&n.set(a),a++;if(null!==d.getRightChar()){var l=d.getRightChar().getValue();for(c=11;c>=0;--c)0!==(l&1<<c)&&n.set(a),a++}}return n},t}(),i=a;e.default=i},a080:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.add=function(t,e,r){return new o.default(t,e,r)},e.addBinaryShift=function(t,e,r){return new a.default(t,e,r)};var o=n(r("c20f")),a=n(r("4f82"))},a1f5:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("5ef2"),r("aa9c"),r("4626"),r("5ac7");var o=n(r("b717")),a=n(r("76a0")),i=n(r("0c24")),u=n(r("4d7d")),f=n(r("3655")),d=n(r("3b1b")),s=n(r("0680")),c=n(r("f228")),l=n(r("d889")),h=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),p=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(t){function e(e){var r=t.call(this)||this,n=null==e?null:e.get(a.default.POSSIBLE_FORMATS),i=[];return null!=n&&(n.indexOf(o.default.EAN_13)>-1&&i.push(new f.default),n.indexOf(o.default.UPC_A)>-1&&i.push(new s.default),n.indexOf(o.default.EAN_8)>-1&&i.push(new d.default),n.indexOf(o.default.UPC_E)>-1&&i.push(new l.default)),0===i.length&&(i.push(new f.default),i.push(new s.default),i.push(new d.default),i.push(new l.default)),r.readers=i,r}return h(e,t),e.prototype.decodeRow=function(t,e,r){var n,u;try{for(var f=p(this.readers),d=f.next();!d.done;d=f.next()){var s=d.value;try{var l=s.decodeRow(t,e,r),h=l.getBarcodeFormat()===o.default.EAN_13&&"0"===l.getText().charAt(0),g=null==r?null:r.get(a.default.POSSIBLE_FORMATS),y=null==g||g.includes(o.default.UPC_A);if(h&&y){var v=l.getRawBytes(),w=new i.default(l.getText().substring(1),v,v?v.length:null,l.getResultPoints(),o.default.UPC_A);return w.putAllMetadata(l.getResultMetadata()),w}return l}catch(_){}}}catch(b){n={error:b}}finally{try{d&&!d.done&&(u=f.return)&&u.call(f)}finally{if(n)throw n.error}}throw new c.default},e.prototype.reset=function(){var t,e;try{for(var r=p(this.readers),n=r.next();!n.done;n=r.next()){var o=n.value;o.reset()}}catch(a){t={error:a}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},e}(u.default),y=g;e.default=y},a27b:function(t,e,r){"use strict";r("6a54");var n=r("3639").default,o=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("aa9c"),r("8f71");var a=o(r("cc6b")),i=o(r("3710")),u=n(r("d147")),f=n(r("91f1")),d=n(r("8183")),s=o(r("d618")),c=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=function(){function t(t){this.text=t}return t.prototype.encode=function(){for(var e=s.default.getCharCode(" "),r=s.default.getCharCode("\n"),n=a.default.singletonList(i.default.INITIAL_STATE),o=0;o<this.text.length;o++){var u=void 0,f=o+1<this.text.length?this.text[o+1]:0;switch(this.text[o]){case s.default.getCharCode("\r"):u=f===r?2:0;break;case s.default.getCharCode("."):u=f===e?3:0;break;case s.default.getCharCode(","):u=f===e?4:0;break;case s.default.getCharCode(":"):u=f===e?5:0;break;default:u=0}u>0?(n=t.updateStateListForPair(n,o,u),o++):n=this.updateStateListForChar(n,o)}var d=a.default.min(n,(function(t,e){return t.getBitCount()-e.getBitCount()}));return d.toBitArray(this.text)},t.prototype.updateStateListForChar=function(e,r){var n,o,a=[];try{for(var i=c(e),u=i.next();!u.done;u=i.next()){var f=u.value;this.updateStateForChar(f,r,a)}}catch(d){n={error:d}}finally{try{u&&!u.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return t.simplifyStates(a)},t.prototype.updateStateForChar=function(t,e,r){for(var n=255&this.text[e],o=f.CHAR_MAP[t.getMode()][n]>0,a=null,i=0;i<=u.MODE_PUNCT;i++){var s=f.CHAR_MAP[i][n];if(s>0){if(null==a&&(a=t.endBinaryShift(e)),!o||i===t.getMode()||i===u.MODE_DIGIT){var c=a.latchAndAppend(i,s);r.push(c)}if(!o&&d.SHIFT_TABLE[t.getMode()][i]>=0){var l=a.shiftAndAppend(i,s);r.push(l)}}}if(t.getBinaryShiftByteCount()>0||0===f.CHAR_MAP[t.getMode()][n]){var h=t.addBinaryShiftChar(e);r.push(h)}},t.updateStateListForPair=function(t,e,r){var n,o,a=[];try{for(var i=c(t),u=i.next();!u.done;u=i.next()){var f=u.value;this.updateStateForPair(f,e,r,a)}}catch(d){n={error:d}}finally{try{u&&!u.done&&(o=i.return)&&o.call(i)}finally{if(n)throw n.error}}return this.simplifyStates(a)},t.updateStateForPair=function(t,e,r,n){var o=t.endBinaryShift(e);if(n.push(o.latchAndAppend(u.MODE_PUNCT,r)),t.getMode()!==u.MODE_PUNCT&&n.push(o.shiftAndAppend(u.MODE_PUNCT,r)),3===r||4===r){var a=o.latchAndAppend(u.MODE_DIGIT,16-r).latchAndAppend(u.MODE_DIGIT,1);n.push(a)}if(t.getBinaryShiftByteCount()>0){var i=t.addBinaryShiftChar(e).addBinaryShiftChar(e+1);n.push(i)}},t.simplifyStates=function(t){var e,r,n,o,a=[];try{for(var i=c(t),u=i.next();!u.done;u=i.next()){var f=u.value,d=!0,s=function(t){if(t.isBetterThanOrEqualTo(f))return d=!1,"break";f.isBetterThanOrEqualTo(t)&&(a=a.filter((function(e){return e!==t})))};try{for(var l=(n=void 0,c(a)),h=l.next();!h.done;h=l.next()){var p=h.value,g=s(p);if("break"===g)break}}catch(y){n={error:y}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}d&&a.push(f)}}catch(v){e={error:v}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return a},t}(),h=l;e.default=h},a2dd:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80");var o=n(r("d4f8")),a=function(){function t(){this.maskPattern=-1}return t.prototype.getMode=function(){return this.mode},t.prototype.getECLevel=function(){return this.ecLevel},t.prototype.getVersion=function(){return this.version},t.prototype.getMaskPattern=function(){return this.maskPattern},t.prototype.getMatrix=function(){return this.matrix},t.prototype.toString=function(){var t=new o.default;return t.append("<<\n"),t.append(" mode: "),t.append(this.mode?this.mode.toString():"null"),t.append("\n ecLevel: "),t.append(this.ecLevel?this.ecLevel.toString():"null"),t.append("\n version: "),t.append(this.version?this.version.toString():"null"),t.append("\n maskPattern: "),t.append(this.maskPattern.toString()),this.matrix?(t.append("\n matrix:\n"),t.append(this.matrix.toString())):t.append("\n matrix: null\n"),t.append(">>\n"),t.toString()},t.prototype.setMode=function(t){this.mode=t},t.prototype.setECLevel=function(t){this.ecLevel=t},t.prototype.setVersion=function(t){this.version=t},t.prototype.setMaskPattern=function(t){this.maskPattern=t},t.prototype.setMatrix=function(t){this.matrix=t},t.isValidMaskPattern=function(e){return e>=0&&e<t.NUM_MASK_PATTERNS},t.NUM_MASK_PATTERNS=8,t}(),i=a;e.default=i},a370:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.EncoderContext=void 0,r("fd3c"),r("7a76"),r("c9b5"),r("bf0f"),r("ab80");var o=n(r("d4f8")),a=n(r("44d8")),i=function(){function t(t){this.msg=t,this.pos=0,this.skipAtEnd=0;for(var e=t.split("").map((function(t){return t.charCodeAt(0)})),r=new o.default,n=0,a=e.length;n<a;n++){var i=String.fromCharCode(255&e[n]);if("?"===i&&"?"!==t.charAt(n))throw new Error("Message contains characters outside ISO-8859-1 encoding.");r.append(i)}this.msg=r.toString(),this.shape=0,this.codewords=new o.default,this.newEncoding=-1}return t.prototype.setSymbolShape=function(t){this.shape=t},t.prototype.setSizeConstraints=function(t,e){this.minSize=t,this.maxSize=e},t.prototype.getMessage=function(){return this.msg},t.prototype.setSkipAtEnd=function(t){this.skipAtEnd=t},t.prototype.getCurrentChar=function(){return this.msg.charCodeAt(this.pos)},t.prototype.getCurrent=function(){return this.msg.charCodeAt(this.pos)},t.prototype.getCodewords=function(){return this.codewords},t.prototype.writeCodewords=function(t){this.codewords.append(t)},t.prototype.writeCodeword=function(t){this.codewords.append(t)},t.prototype.getCodewordCount=function(){return this.codewords.length()},t.prototype.getNewEncoding=function(){return this.newEncoding},t.prototype.signalEncoderChange=function(t){this.newEncoding=t},t.prototype.resetEncoderSignal=function(){this.newEncoding=-1},t.prototype.hasMoreCharacters=function(){return this.pos<this.getTotalMessageCharCount()},t.prototype.getTotalMessageCharCount=function(){return this.msg.length-this.skipAtEnd},t.prototype.getRemainingCharacters=function(){return this.getTotalMessageCharCount()-this.pos},t.prototype.getSymbolInfo=function(){return this.symbolInfo},t.prototype.updateSymbolInfo=function(t){void 0===t&&(t=this.getCodewordCount()),(null==this.symbolInfo||t>this.symbolInfo.getDataCapacity())&&(this.symbolInfo=a.default.lookup(t,this.shape,this.minSize,this.maxSize,!0))},t.prototype.resetSymbolInfo=function(){this.symbolInfo=null},t}();e.EncoderContext=i},a3ea:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserAztecCodeReader=void 0,r("8a8d");var o=r("a5d4"),a=n(r("50f3")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){function e(e){return void 0===e&&(e=500),t.call(this,new a.default,e)||this}return i(e,t),e}(o.BrowserCodeReader);e.BrowserAztecCodeReader=u},a438:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80"),r("fe6b"),r("64aa");var o=n(r("b717")),a=n(r("d757")),i=n(r("7e0b")),u=n(r("08c5")),f=n(r("6387")),d=n(r("f7fd")),s=n(r("9e56")),c=function(){function t(){}return t.prototype.encode=function(e,r,n,i,s){if(0===e.length)throw new d.default("Found empty contents");if(r!==o.default.QR_CODE)throw new d.default("Can only encode QR_CODE, but got "+r);if(n<0||i<0)throw new d.default("Requested dimensions are too small: "+n+"x"+i);var c=u.default.L,l=t.QUIET_ZONE_SIZE;null!==s&&(void 0!==s.get(a.default.ERROR_CORRECTION)&&(c=u.default.fromString(s.get(a.default.ERROR_CORRECTION).toString())),void 0!==s.get(a.default.MARGIN)&&(l=Number.parseInt(s.get(a.default.MARGIN).toString(),10)));var h=f.default.encode(e,c,s);return t.renderResult(h,n,i,l)},t.renderResult=function(t,e,r,n){var o=t.getMatrix();if(null===o)throw new s.default;for(var a=o.getWidth(),u=o.getHeight(),f=a+2*n,d=u+2*n,c=Math.max(e,f),l=Math.max(r,d),h=Math.min(Math.floor(c/f),Math.floor(l/d)),p=Math.floor((c-a*h)/2),g=Math.floor((l-u*h)/2),y=new i.default(c,l),v=0,w=g;v<u;v++,w+=h)for(var _=0,b=p;_<a;_++,b+=h)1===o.get(_,v)&&y.setRegion(b,w,h,h);return y},t.QUIET_ZONE_SIZE=4,t}(),l=c;e.default=l},a455:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.X12Encoder=void 0,r("8a8d");var o=n(r("d618")),a=n(r("d4f8")),i=r("f2b5"),u=n(r("3fac")),f=r("eab1"),d=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return d(e,t),e.prototype.getEncodingMode=function(){return f.X12_ENCODATION},e.prototype.encode=function(t){var e=new a.default;while(t.hasMoreCharacters()){var r=t.getCurrentChar();t.pos++,this.encodeChar(r,e);var n=e.length();if(n%3===0){this.writeNextTriplet(t,e);var o=u.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode());if(o!==this.getEncodingMode()){t.signalEncoderChange(f.ASCII_ENCODATION);break}}}this.handleEOD(t,e)},e.prototype.encodeChar=function(t,e){switch(t){case 13:e.append(0);break;case"*".charCodeAt(0):e.append(1);break;case">".charCodeAt(0):e.append(2);break;case" ".charCodeAt(0):e.append(3);break;default:t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)?e.append(t-48+4):t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0)?e.append(t-65+14):u.default.illegalCharacter(o.default.getCharAt(t));break}return 1},e.prototype.handleEOD=function(t,e){t.updateSymbolInfo();var r=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount(),n=e.length();t.pos-=n,(t.getRemainingCharacters()>1||r>1||t.getRemainingCharacters()!==r)&&t.writeCodeword(f.X12_UNLATCH),t.getNewEncoding()<0&&t.signalEncoderChange(f.ASCII_ENCODATION)},e}(i.C40Encoder);e.X12Encoder=s},a541:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5");var n=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(){function t(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];this.ecCodewordsPerBlock=t,this.ecBlocks=e}return t.prototype.getECCodewordsPerBlock=function(){return this.ecCodewordsPerBlock},t.prototype.getNumBlocks=function(){var t,e,r=0,o=this.ecBlocks;try{for(var a=n(o),i=a.next();!i.done;i=a.next()){var u=i.value;r+=u.getCount()}}catch(f){t={error:f}}finally{try{i&&!i.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return r},t.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},t.prototype.getECBlocks=function(){return this.ecBlocks},t}(),a=o;e.default=a},a5d4:function(t,e,r){"use strict";var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserCodeReader=void 0,r("bf0f"),r("01a2"),r("e39c"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("aa9c"),r("6a54"),r("fd3c"),r("aa77"),r("2797"),r("dc89"),r("2425");var o=n(r("3fa8")),a=n(r("7a09")),i=n(r("f74e")),u=n(r("9fc4")),f=n(r("343e")),d=n(r("f228")),s=r("ecbf"),c=r("3cf1"),l=function(t,e,r,n){return new(r||(r=Promise))((function(o,a){function i(t){try{f(n.next(t))}catch(e){a(e)}}function u(t){try{f(n["throw"](t))}catch(e){a(e)}}function f(t){t.done?o(t.value):function(t){return t instanceof r?t:new r((function(e){e(t)}))}(t.value).then(i,u)}f((n=n.apply(t,e||[])).next())}))},h=function(t,e){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(a){return function(u){return function(a){if(r)throw new TypeError("Generator is already executing.");while(i)try{if(r=1,n&&(o=2&a[0]?n["return"]:a[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(o=i.trys,!(o=o.length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(u){a=[6,u],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,u])}}},p=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(){function t(t,e,r){void 0===e&&(e=500),this.reader=t,this.timeBetweenScansMillis=e,this._hints=r,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(t.prototype,"hasNavigator",{get:function(){return"undefined"!==typeof navigator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(t){this._timeBetweenDecodingAttempts=t<0?0:t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hints",{get:function(){return this._hints},set:function(t){this._hints=t||null},enumerable:!1,configurable:!0}),t.prototype.listVideoInputDevices=function(){return l(this,void 0,void 0,(function(){var t,e,r,n,o,a,i,u,f,d,s,c;return h(this,(function(l){switch(l.label){case 0:if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:t=l.sent(),e=[];try{for(r=p(t),n=r.next();!n.done;n=r.next())o=n.value,a="video"===o.kind?"videoinput":o.kind,"videoinput"===a&&(i=o.deviceId||o.id,u=o.label||"Video device "+(e.length+1),f=o.groupId,d={deviceId:i,label:u,kind:a,groupId:f},e.push(d))}catch(h){s={error:h}}finally{try{n&&!n.done&&(c=r.return)&&c.call(r)}finally{if(s)throw s.error}}return[2,e]}}))}))},t.prototype.getVideoInputDevices=function(){return l(this,void 0,void 0,(function(){var t;return h(this,(function(e){switch(e.label){case 0:return[4,this.listVideoInputDevices()];case 1:return t=e.sent(),[2,t.map((function(t){return new c.VideoInputDevice(t.deviceId,t.label)}))]}}))}))},t.prototype.findDeviceById=function(t){return l(this,void 0,void 0,(function(){var e;return h(this,(function(r){switch(r.label){case 0:return[4,this.listVideoInputDevices()];case 1:return e=r.sent(),e?[2,e.find((function(e){return e.deviceId===t}))]:[2,null]}}))}))},t.prototype.decodeFromInputVideoDevice=function(t,e){return l(this,void 0,void 0,(function(){return h(this,(function(r){switch(r.label){case 0:return[4,this.decodeOnceFromVideoDevice(t,e)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromVideoDevice=function(t,e){return l(this,void 0,void 0,(function(){var r,n;return h(this,(function(o){switch(o.label){case 0:return this.reset(),r=t?{deviceId:{exact:t}}:{facingMode:"environment"},n={video:r},[4,this.decodeOnceFromConstraints(n,e)];case 1:return[2,o.sent()]}}))}))},t.prototype.decodeOnceFromConstraints=function(t,e){return l(this,void 0,void 0,(function(){var r;return h(this,(function(n){switch(n.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return r=n.sent(),[4,this.decodeOnceFromStream(r,e)];case 2:return[2,n.sent()]}}))}))},t.prototype.decodeOnceFromStream=function(t,e){return l(this,void 0,void 0,(function(){var r,n;return h(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return r=o.sent(),[4,this.decodeOnce(r)];case 2:return n=o.sent(),[2,n]}}))}))},t.prototype.decodeFromInputVideoDeviceContinuously=function(t,e,r){return l(this,void 0,void 0,(function(){return h(this,(function(n){switch(n.label){case 0:return[4,this.decodeFromVideoDevice(t,e,r)];case 1:return[2,n.sent()]}}))}))},t.prototype.decodeFromVideoDevice=function(t,e,r){return l(this,void 0,void 0,(function(){var n,o;return h(this,(function(a){switch(a.label){case 0:return n=t?{deviceId:{exact:t}}:{facingMode:"environment"},o={video:n},[4,this.decodeFromConstraints(o,e,r)];case 1:return[2,a.sent()]}}))}))},t.prototype.decodeFromConstraints=function(t,e,r){return l(this,void 0,void 0,(function(){var n;return h(this,(function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return n=o.sent(),[4,this.decodeFromStream(n,e,r)];case 2:return[2,o.sent()]}}))}))},t.prototype.decodeFromStream=function(t,e,r){return l(this,void 0,void 0,(function(){var n;return h(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return n=o.sent(),[4,this.decodeContinuously(n,r)];case 2:return[2,o.sent()]}}))}))},t.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},t.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},t.prototype.attachStreamToVideo=function(t,e){return l(this,void 0,void 0,(function(){var r;return h(this,(function(n){switch(n.label){case 0:return r=this.prepareVideoElement(e),this.addVideoSource(r,t),this.videoElement=r,this.stream=t,[4,this.playVideoOnLoadAsync(r)];case 1:return n.sent(),[2,r]}}))}))},t.prototype.playVideoOnLoadAsync=function(t){var e=this;return new Promise((function(r,n){return e.playVideoOnLoad(t,(function(){return r()}))}))},t.prototype.playVideoOnLoad=function(t,e){var r=this;this.videoEndedListener=function(){return r.stopStreams()},this.videoCanPlayListener=function(){return r.tryPlayVideo(t)},t.addEventListener("ended",this.videoEndedListener),t.addEventListener("canplay",this.videoCanPlayListener),t.addEventListener("playing",e),this.tryPlayVideo(t)},t.prototype.isVideoPlaying=function(t){return t.currentTime>0&&!t.paused&&!t.ended&&t.readyState>2},t.prototype.tryPlayVideo=function(t){return l(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:if(this.isVideoPlaying(t))return console.warn("Trying to play video that is already playing."),[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,t.play()];case 2:return e.sent(),[3,4];case 3:return e.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}}))}))},t.prototype.getMediaElement=function(t,e){var r=document.getElementById(t);if(!r)throw new o.default("element with id '"+t+"' not found");if(r.nodeName.toLowerCase()!==e.toLowerCase())throw new o.default("element with id '"+t+"' must be an "+e+" element");return r},t.prototype.decodeFromImage=function(t,e){if(!t&&!e)throw new o.default("either imageElement with a src set or an url must be provided");return e&&!t?this.decodeFromImageUrl(e):this.decodeFromImageElement(t)},t.prototype.decodeFromVideo=function(t,e){if(!t&&!e)throw new o.default("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrl(e):this.decodeFromVideoElement(t)},t.prototype.decodeFromVideoContinuously=function(t,e,r){if(void 0===t&&void 0===e)throw new o.default("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrlContinuously(e,r):this.decodeFromVideoElementContinuously(t,r)},t.prototype.decodeFromImageElement=function(t){if(!t)throw new o.default("An image element must be provided.");this.reset();var e,r=this.prepareImageElement(t);return this.imageElement=r,e=this.isImageLoaded(r)?this.decodeOnce(r,!1,!0):this._decodeOnLoadImage(r),e},t.prototype.decodeFromVideoElement=function(t){var e=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideo(e)},t.prototype.decodeFromVideoElementContinuously=function(t,e){var r=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideoContinuously(r,e)},t.prototype._decodeFromVideoElementSetup=function(t){if(!t)throw new o.default("A video element must be provided.");this.reset();var e=this.prepareVideoElement(t);return this.videoElement=e,e},t.prototype.decodeFromImageUrl=function(t){if(!t)throw new o.default("An URL must be provided.");this.reset();var e=this.prepareImageElement();this.imageElement=e;var r=this._decodeOnLoadImage(e);return e.src=t,r},t.prototype.decodeFromVideoUrl=function(t){if(!t)throw new o.default("An URL must be provided.");this.reset();var e=this.prepareVideoElement(),r=this.decodeFromVideoElement(e);return e.src=t,r},t.prototype.decodeFromVideoUrlContinuously=function(t,e){if(!t)throw new o.default("An URL must be provided.");this.reset();var r=this.prepareVideoElement(),n=this.decodeFromVideoElementContinuously(r,e);return r.src=t,n},t.prototype._decodeOnLoadImage=function(t){var e=this;return new Promise((function(r,n){e.imageLoadedListener=function(){return e.decodeOnce(t,!1,!0).then(r,n)},t.addEventListener("load",e.imageLoadedListener)}))},t.prototype._decodeOnLoadVideo=function(t){return l(this,void 0,void 0,(function(){return h(this,(function(e){switch(e.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return e.sent(),[4,this.decodeOnce(t)];case 2:return[2,e.sent()]}}))}))},t.prototype._decodeOnLoadVideoContinuously=function(t,e){return l(this,void 0,void 0,(function(){return h(this,(function(r){switch(r.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return r.sent(),this.decodeContinuously(t,e),[2]}}))}))},t.prototype.isImageLoaded=function(t){return!!t.complete&&0!==t.naturalWidth},t.prototype.prepareImageElement=function(t){var e;return"undefined"===typeof t&&(e=document.createElement("img"),e.width=200,e.height=200),"string"===typeof t&&(e=this.getMediaElement(t,"img")),t instanceof HTMLImageElement&&(e=t),e},t.prototype.prepareVideoElement=function(t){var e;return t||"undefined"===typeof document||(e=document.createElement("video"),e.width=200,e.height=200),"string"===typeof t&&(e=this.getMediaElement(t,"video")),t instanceof HTMLVideoElement&&(e=t),e.setAttribute("autoplay","true"),e.setAttribute("muted","true"),e.setAttribute("playsinline","true"),e},t.prototype.decodeOnce=function(t,e,r){var n=this;void 0===e&&(e=!0),void 0===r&&(r=!0),this._stopAsyncDecode=!1;return new Promise((function(o,a){return function o(a,u){if(n._stopAsyncDecode)return u(new d.default("Video stream has ended before any code could be detected.")),void(n._stopAsyncDecode=void 0);try{var s=n.decode(t);a(s)}catch(p){var c=e&&p instanceof d.default,l=p instanceof i.default||p instanceof f.default,h=l&&r;if(c||h)return setTimeout(o,n._timeBetweenDecodingAttempts,a,u);u(p)}}(o,a)}))},t.prototype.decodeContinuously=function(t,e){var r=this;this._stopContinuousDecode=!1;(function n(){if(r._stopContinuousDecode)r._stopContinuousDecode=void 0;else try{var o=r.decode(t);e(o,null),setTimeout(n,r.timeBetweenScansMillis)}catch(s){e(null,s);var a=s instanceof i.default||s instanceof f.default,u=s instanceof d.default;(a||u)&&setTimeout(n,r._timeBetweenDecodingAttempts)}})()},t.prototype.decode=function(t){var e=this.createBinaryBitmap(t);return this.decodeBitmap(e)},t.prototype.createBinaryBitmap=function(t){this.getCaptureCanvasContext(t);var e=!1;t instanceof HTMLVideoElement?(this.drawFrameOnCanvas(t),e=!0):this.drawImageOnCanvas(t);var r=this.getCaptureCanvas(t),n=new s.HTMLCanvasElementLuminanceSource(r,e),o=new u.default(n);return new a.default(o)},t.prototype.getCaptureCanvasContext=function(t){if(!this.captureCanvasContext){var e=this.getCaptureCanvas(t),r=void 0;try{r=e.getContext("2d",{willReadFrequently:!0})}catch(n){r=e.getContext("2d")}this.captureCanvasContext=r}return this.captureCanvasContext},t.prototype.getCaptureCanvas=function(t){if(!this.captureCanvas){var e=this.createCaptureCanvas(t);this.captureCanvas=e}return this.captureCanvas},t.prototype.drawFrameOnCanvas=function(t,e,r){void 0===e&&(e={sx:0,sy:0,sWidth:t.videoWidth,sHeight:t.videoHeight,dx:0,dy:0,dWidth:t.videoWidth,dHeight:t.videoHeight}),void 0===r&&(r=this.captureCanvasContext),r.drawImage(t,e.sx,e.sy,e.sWidth,e.sHeight,e.dx,e.dy,e.dWidth,e.dHeight)},t.prototype.drawImageOnCanvas=function(t,e,r){void 0===e&&(e={sx:0,sy:0,sWidth:t.naturalWidth,sHeight:t.naturalHeight,dx:0,dy:0,dWidth:t.naturalWidth,dHeight:t.naturalHeight}),void 0===r&&(r=this.captureCanvasContext),r.drawImage(t,e.sx,e.sy,e.sWidth,e.sHeight,e.dx,e.dy,e.dWidth,e.dHeight)},t.prototype.decodeBitmap=function(t){return this.reader.decode(t,this._hints)},t.prototype.createCaptureCanvas=function(t){if("undefined"===typeof document)return this._destroyCaptureCanvas(),null;var e,r,n=document.createElement("canvas");return"undefined"!==typeof t&&(t instanceof HTMLVideoElement?(e=t.videoWidth,r=t.videoHeight):t instanceof HTMLImageElement&&(e=t.naturalWidth||t.width,r=t.naturalHeight||t.height)),n.style.width=e+"px",n.style.height=r+"px",n.width=e,n.height=r,n},t.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach((function(t){return t.stop()})),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},t.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},t.prototype._destroyVideoElement=function(){this.videoElement&&("undefined"!==typeof this.videoEndedListener&&this.videoElement.removeEventListener("ended",this.videoEndedListener),"undefined"!==typeof this.videoPlayingEventListener&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),"undefined"!==typeof this.videoCanPlayListener&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)},t.prototype._destroyImageElement=function(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)},t.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},t.prototype.addVideoSource=function(t,e){try{t.srcObject=e}catch(r){t.src=URL.createObjectURL(e)}},t.prototype.cleanVideoSource=function(t){try{t.srcObject=null}catch(e){t.src=""}this.videoElement.removeAttribute("src")},t}();e.BrowserCodeReader=g},a5e6:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("bf0f"),r("c9b5"),r("ab80"),r("4db2"),r("247d"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("d5c6"),r("5a56"),r("f074"),r("aa9c"),r("c976");var o=n(r("4e64")),a=n(r("253e")),i=function(){function t(){}return t.decode=function(t,e){var r=this.encodingName(e);return this.customDecoder?this.customDecoder(t,r):"undefined"===typeof TextDecoder||this.shouldDecodeOnFallback(r)?this.decodeFallback(t,r):new TextDecoder(r).decode(t)},t.shouldDecodeOnFallback=function(e){return!t.isBrowser()&&"ISO-8859-1"===e},t.encode=function(t,e){var r=this.encodingName(e);return this.customEncoder?this.customEncoder(t,r):"undefined"===typeof TextEncoder?this.encodeFallback(t):(new TextEncoder).encode(t)},t.isBrowser=function(){return"undefined"!==typeof window&&"[object Window]"==={}.toString.call(window)},t.encodingName=function(t){return"string"===typeof t?t:t.getName()},t.encodingCharacterSet=function(t){return t instanceof a.default?t:a.default.getCharacterSetECIByName(t)},t.decodeFallback=function(e,r){var n=this.encodingCharacterSet(r);if(t.isDecodeFallbackSupported(n)){for(var i="",u=0,f=e.length;u<f;u++){var d=e[u].toString(16);d.length<2&&(d="0"+d),i+="%"+d}return decodeURIComponent(i)}if(n.equals(a.default.UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(e.buffer));throw new o.default("Encoding "+this.encodingName(r)+" not supported by fallback.")},t.isDecodeFallbackSupported=function(t){return t.equals(a.default.UTF8)||t.equals(a.default.ISO8859_1)||t.equals(a.default.ASCII)},t.encodeFallback=function(t){for(var e=btoa(unescape(encodeURIComponent(t))),r=e.split(""),n=[],o=0;o<r.length;o++)n.push(r[o].charCodeAt(0));return new Uint8Array(n)},t}(),u=i;e.default=u},a608:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("fcf3"));r("e966"),r("e838"),r("d937"),r("c9b5"),r("bf0f"),r("ab80"),r("d4b5"),r("5c47"),r("a1c1");var a=function(){function t(){this.buffer=""}return t.form=function(t,e){var r=-1;return t.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,(function(t,n,a,i,u,f){if("%%"===t)return"%";if(void 0!==e[++r]){t=i?parseInt(i.substr(1)):void 0;var d,s=u?parseInt(u.substr(1)):void 0;switch(f){case"s":d=e[r];break;case"c":d=e[r][0];break;case"f":d=parseFloat(e[r]).toFixed(t);break;case"p":d=parseFloat(e[r]).toPrecision(t);break;case"e":d=parseFloat(e[r]).toExponential(t);break;case"x":d=parseInt(e[r]).toString(s||16);break;case"d":d=parseFloat(parseInt(e[r],s||10).toPrecision(t)).toFixed(0);break}d="object"===(0,o.default)(d)?JSON.stringify(d):(+d).toString(s);var c=parseInt(a),l=a&&a[0]+""==="0"?"0":" ";while(d.length<c)d=void 0!==n?d+l:l+d;return d}}))},t.prototype.format=function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];this.buffer+=t.form(e,r)},t.prototype.toString=function(){return this.buffer},t}(),i=a;e.default=i},a6ba:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("4db2"),r("bf0f"),r("9480"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("3727")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e){var r=t.call(this,e.getWidth(),e.getHeight())||this;return r.delegate=e,r}return a(e,t),e.prototype.getRow=function(t,e){for(var r=this.delegate.getRow(t,e),n=this.getWidth(),o=0;o<n;o++)r[o]=255-(255&r[o]);return r},e.prototype.getMatrix=function(){for(var t=this.delegate.getMatrix(),e=this.getWidth()*this.getHeight(),r=new Uint8ClampedArray(e),n=0;n<e;n++)r[n]=255-(255&t[n]);return r},e.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},e.prototype.crop=function(t,r,n,o){return new e(this.delegate.crop(t,r,n,o))},e.prototype.isRotateSupported=function(){return this.delegate.isRotateSupported()},e.prototype.invert=function(){return this.delegate},e.prototype.rotateCounterClockwise=function(){return new e(this.delegate.rotateCounterClockwise())},e.prototype.rotateCounterClockwise45=function(){return new e(this.delegate.rotateCounterClockwise45())},e}(o.default),u=i;e.default=u},a6da:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("c9b5"),r("bf0f"),r("ab80");var o=n(r("5935")),a=n(r("f228")),i=n(r("d4f8")),u=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),f=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.parseInformation=function(){if(this.getInformation().getSize()<e.HEADER_SIZE+o.default.GTIN_SIZE)throw new a.default;var t=new i.default;this.encodeCompressedGtin(t,e.HEADER_SIZE);var r=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE+o.default.GTIN_SIZE,e.LAST_DIGIT_SIZE);t.append("(392"),t.append(r),t.append(")");var n=this.getGeneralDecoder().decodeGeneralPurposeField(e.HEADER_SIZE+o.default.GTIN_SIZE+e.LAST_DIGIT_SIZE,null);return t.append(n.getNewString()),t.toString()},e.HEADER_SIZE=8,e.LAST_DIGIT_SIZE=2,e}(o.default),d=f;e.default=d},a8ae:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("253e")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.forName=function(t){return this.getCharacterSetECIByName(t)},e}(o.default),u=i;e.default=u},a8be:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80");var o=n(r("c769")),a=n(r("1d84")),i=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.equals=function(e){if(e instanceof t){var r=e;return this.x===r.x&&this.y===r.y}return!1},t.prototype.hashCode=function(){return 31*a.default.floatToIntBits(this.x)+a.default.floatToIntBits(this.y)},t.prototype.toString=function(){return"("+this.x+","+this.y+")"},t.orderBestPatterns=function(t){var e,r,n,o=this.distance(t[0],t[1]),a=this.distance(t[1],t[2]),i=this.distance(t[0],t[2]);if(a>=o&&a>=i?(r=t[0],e=t[1],n=t[2]):i>=a&&i>=o?(r=t[1],e=t[0],n=t[2]):(r=t[2],e=t[0],n=t[1]),this.crossProductZ(e,r,n)<0){var u=e;e=n,n=u}t[0]=e,t[1]=r,t[2]=n},t.distance=function(t,e){return o.default.distance(t.x,t.y,e.x,e.y)},t.crossProductZ=function(t,e,r){var n=e.x,o=e.y;return(r.x-n)*(t.y-o)-(r.y-o)*(t.x-n)},t}(),u=i;e.default=u},a9a0:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("aa9c"),r("dc69"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1878");var o=n(r("b717")),a=n(r("c769")),i=n(r("f228")),u=n(r("0c24")),f=n(r("1ff8")),d=n(r("3dae")),s=n(r("b911")),c=n(r("853a")),l=n(r("c003")),h=n(r("9fe1")),p=r("7004"),g=n(r("0e18")),y=n(r("f239")),v=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),w=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},_=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.pairs=new Array(e.MAX_PAIRS),r.rows=new Array,r.startEnd=[2],r}return v(e,t),e.prototype.decodeRow=function(t,r,n){this.pairs.length=0,this.startFromEven=!1;try{return e.constructResult(this.decodeRow2pairs(t,r))}catch(o){}return this.pairs.length=0,this.startFromEven=!0,e.constructResult(this.decodeRow2pairs(t,r))},e.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},e.prototype.decodeRow2pairs=function(t,e){var r,n=!1;while(!n)try{this.pairs.push(this.retrieveNextPair(e,this.pairs,t))}catch(a){if(a instanceof i.default){if(!this.pairs.length)throw new i.default;n=!0}}if(this.checkChecksum())return this.pairs;if(r=!!this.rows.length,this.storeRow(t,!1),r){var o=this.checkRowsBoolean(!1);if(null!=o)return o;if(o=this.checkRowsBoolean(!0),null!=o)return o}throw new i.default},e.prototype.checkRowsBoolean=function(t){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,t&&(this.rows=this.rows.reverse());var e=null;try{e=this.checkRows(new Array,0)}catch(r){console.log(r)}return t&&(this.rows=this.rows.reverse()),e},e.prototype.checkRows=function(t,r){for(var n,o,a=r;a<this.rows.length;a++){var u=this.rows[a];this.pairs.length=0;try{for(var f=(n=void 0,w(t)),d=f.next();!d.done;d=f.next()){var s=d.value;this.pairs.push(s.getPairs())}}catch(l){n={error:l}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}if(this.pairs.push(u.getPairs()),e.isValidSequence(this.pairs)){if(this.checkChecksum())return this.pairs;var c=new Array(t);c.push(u);try{return this.checkRows(c,a+1)}catch(h){console.log(h)}}}throw new i.default},e.isValidSequence=function(t){var r,n;try{for(var o=w(e.FINDER_PATTERN_SEQUENCES),a=o.next();!a.done;a=o.next()){var i=a.value;if(!(t.length>i.length)){for(var u=!0,f=0;f<t.length;f++)if(t[f].getFinderPattern().getValue()!==i[f]){u=!1;break}if(u)return!0}}}catch(d){r={error:d}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return!1},e.prototype.storeRow=function(t,r){var n=0,o=!1,a=!1;while(n<this.rows.length){var i=this.rows[n];if(i.getRowNumber()>t){a=i.isEquivalent(this.pairs);break}o=i.isEquivalent(this.pairs),n++}a||o||e.isPartialRow(this.pairs,this.rows)||(this.rows.push(n,new y.default(this.pairs,t,r)),this.removePartialRows(this.pairs,this.rows))},e.prototype.removePartialRows=function(t,e){var r,n,o,a,i,u;try{for(var f=w(e),d=f.next();!d.done;d=f.next()){var s=d.value;if(s.getPairs().length!==t.length){try{for(var c=(o=void 0,w(s.getPairs())),l=c.next();!l.done;l=c.next()){var h=l.value,p=!1;try{for(var y=(i=void 0,w(t)),v=y.next();!v.done;v=y.next()){var _=v.value;if(g.default.equals(h,_)){p=!0;break}}}catch(b){i={error:b}}finally{try{v&&!v.done&&(u=y.return)&&u.call(y)}finally{if(i)throw i.error}}p||!1}}catch(C){o={error:C}}finally{try{l&&!l.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}}}}catch(A){r={error:A}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}},e.isPartialRow=function(t,e){var r,n,o,a,i,u;try{for(var f=w(e),d=f.next();!d.done;d=f.next()){var s=d.value,c=!0;try{for(var l=(o=void 0,w(t)),h=l.next();!h.done;h=l.next()){var p=h.value,g=!1;try{for(var y=(i=void 0,w(s.getPairs())),v=y.next();!v.done;v=y.next()){var _=v.value;if(p.equals(_)){g=!0;break}}}catch(b){i={error:b}}finally{try{v&&!v.done&&(u=y.return)&&u.call(y)}finally{if(i)throw i.error}}if(!g){c=!1;break}}}catch(C){o={error:C}}finally{try{h&&!h.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}if(c)return!0}}catch(A){r={error:A}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}return!1},e.prototype.getRows=function(){return this.rows},e.constructResult=function(t){var e=h.default.buildBitArray(t),r=(0,p.createDecoder)(e),n=r.parseInformation(),a=t[0].getFinderPattern().getResultPoints(),i=t[t.length-1].getFinderPattern().getResultPoints(),f=[a[0],a[1],i[0],i[1]];return new u.default(n,null,null,f,o.default.RSS_EXPANDED,null)},e.prototype.checkChecksum=function(){var t=this.pairs.get(0),e=t.getLeftChar(),r=t.getRightChar();if(null===r)return!1;for(var n=r.getChecksumPortion(),o=2,a=1;a<this.pairs.size();++a){var i=this.pairs.get(a);n+=i.getLeftChar().getChecksumPortion(),o++;var u=i.getRightChar();null!=u&&(n+=u.getChecksumPortion(),o++)}n%=211;var f=211*(o-4)+n;return f===e.getValue()},e.getNextSecondBar=function(t,e){var r;return t.get(e)?(r=t.getNextUnset(e),r=t.getNextSet(r)):(r=t.getNextSet(e),r=t.getNextUnset(r)),r},e.prototype.retrieveNextPair=function(t,r,n){var o,a=r.length%2===0;this.startFromEven&&(a=!a);var u=!0,f=-1;do{this.findNextPair(t,r,f),o=this.parseFoundFinderPattern(t,n,a),null===o?f=e.getNextSecondBar(t,this.startEnd[0]):u=!1}while(u);var d,s=this.decodeDataCharacter(t,o,a,!0);if(!this.isEmptyPair(r)&&r[r.length-1].mustBeLast())throw new i.default;try{d=this.decodeDataCharacter(t,o,a,!1)}catch(c){d=null,console.log(c)}return new g.default(s,d,o,!0)},e.prototype.isEmptyPair=function(t){return 0===t.length},e.prototype.findNextPair=function(t,r,n){var o=this.getDecodeFinderCounters();o[0]=0,o[1]=0,o[2]=0,o[3]=0;var a,u=t.getSize();if(n>=0)a=n;else if(this.isEmptyPair(r))a=0;else{var f=r[r.length-1];a=f.getFinderPattern().getStartEnd()[1]}var d=r.length%2!==0;this.startFromEven&&(d=!d);var s=!1;while(a<u){if(s=!t.get(a),!s)break;a++}for(var c=0,l=a,h=a;h<u;h++)if(t.get(h)!==s)o[c]++;else{if(3===c){if(d&&e.reverseCounters(o),e.isFinderPattern(o))return this.startEnd[0]=l,void(this.startEnd[1]=h);d&&e.reverseCounters(o),l+=o[0]+o[1],o[0]=o[2],o[1]=o[3],o[2]=0,o[3]=0,c--}else c++;o[c]=1,s=!s}throw new i.default},e.reverseCounters=function(t){for(var e=t.length,r=0;r<e/2;++r){var n=t[r];t[r]=t[e-r-1],t[e-r-1]=n}},e.prototype.parseFoundFinderPattern=function(t,r,n){var o,a,i;if(n){var u=this.startEnd[0]-1;while(u>=0&&!t.get(u))u--;u++,o=this.startEnd[0]-u,a=u,i=this.startEnd[1]}else a=this.startEnd[0],i=t.getNextUnset(this.startEnd[1]+1),o=i-this.startEnd[1];var d,s=this.getDecodeFinderCounters();f.default.arraycopy(s,0,s,1,s.length-1),s[0]=o;try{d=this.parseFinderValue(s,e.FINDER_PATTERNS)}catch(l){return null}return new c.default(d,[a,i],a,i,r)},e.prototype.decodeDataCharacter=function(t,r,n,o){for(var u=this.getDataCharacterCounters(),f=0;f<u.length;f++)u[f]=0;if(o)e.recordPatternInReverse(t,r.getStartEnd()[0],u);else{e.recordPattern(t,r.getStartEnd()[1],u);for(var d=0,c=u.length-1;d<c;d++,c--){var h=u[d];u[d]=u[c],u[c]=h}}var p=a.default.sum(new Int32Array(u))/17,g=(r.getStartEnd()[1]-r.getStartEnd()[0])/15;if(Math.abs(p-g)/g>.3)throw new i.default;var y=this.getOddCounts(),v=this.getEvenCounts(),w=this.getOddRoundingErrors(),_=this.getEvenRoundingErrors();for(d=0;d<u.length;d++){var b=1*u[d]/p,C=b+.5;if(C<1){if(b<.3)throw new i.default;C=1}else if(C>8){if(b>8.7)throw new i.default;C=8}var A=d/2;0===(1&d)?(y[A]=C,w[A]=b-C):(v[A]=C,_[A]=b-C)}this.adjustOddEvenCounts(17);var E=4*r.getValue()+(n?0:2)+(o?0:1)-1,m=0,I=0;for(d=y.length-1;d>=0;d--){if(e.isNotA1left(r,n,o)){var O=e.WEIGHTS[E][2*d];I+=y[d]*O}m+=y[d]}var S=0;for(d=v.length-1;d>=0;d--)if(e.isNotA1left(r,n,o)){O=e.WEIGHTS[E][2*d+1];S+=v[d]*O}var T=I+S;if(0!==(1&m)||m>13||m<4)throw new i.default;var N=(13-m)/2,R=e.SYMBOL_WIDEST[N],D=9-R,M=l.default.getRSSvalue(y,R,!0),P=l.default.getRSSvalue(v,D,!1),B=e.EVEN_TOTAL_SUBSET[N],L=e.GSUM[N],F=M*B+P+L;return new s.default(F,T)},e.isNotA1left=function(t,e,r){return!(0===t.getValue()&&e&&r)},e.prototype.adjustOddEvenCounts=function(t){var r=a.default.sum(new Int32Array(this.getOddCounts())),n=a.default.sum(new Int32Array(this.getEvenCounts())),o=!1,u=!1;r>13?u=!0:r<4&&(o=!0);var f=!1,d=!1;n>13?d=!0:n<4&&(f=!0);var s=r+n-t,c=1===(1&r),l=0===(1&n);if(1===s)if(c){if(l)throw new i.default;u=!0}else{if(!l)throw new i.default;d=!0}else if(-1===s)if(c){if(l)throw new i.default;o=!0}else{if(!l)throw new i.default;f=!0}else{if(0!==s)throw new i.default;if(c){if(!l)throw new i.default;r<n?(o=!0,d=!0):(u=!0,f=!0)}else if(l)throw new i.default}if(o){if(u)throw new i.default;e.increment(this.getOddCounts(),this.getOddRoundingErrors())}if(u&&e.decrement(this.getOddCounts(),this.getOddRoundingErrors()),f){if(d)throw new i.default;e.increment(this.getEvenCounts(),this.getOddRoundingErrors())}d&&e.decrement(this.getEvenCounts(),this.getEvenRoundingErrors())},e.SYMBOL_WIDEST=[7,5,4,3,1],e.EVEN_TOTAL_SUBSET=[4,20,52,104,204],e.GSUM=[0,348,1388,2948,3988],e.FINDER_PATTERNS=[Int32Array.from([1,8,4,1]),Int32Array.from([3,6,4,1]),Int32Array.from([3,4,6,1]),Int32Array.from([3,2,8,1]),Int32Array.from([2,6,5,1]),Int32Array.from([2,2,9,1])],e.WEIGHTS=[[1,3,9,27,81,32,96,77],[20,60,180,118,143,7,21,63],[189,145,13,39,117,140,209,205],[193,157,49,147,19,57,171,91],[62,186,136,197,169,85,44,132],[185,133,188,142,4,12,36,108],[113,128,173,97,80,29,87,50],[150,28,84,41,123,158,52,156],[46,138,203,187,139,206,196,166],[76,17,51,153,37,111,122,155],[43,129,176,106,107,110,119,146],[16,48,144,10,30,90,59,177],[109,116,137,200,178,112,125,164],[70,210,208,202,184,130,179,115],[134,191,151,31,93,68,204,190],[148,22,66,198,172,94,71,2],[6,18,54,162,64,192,154,40],[120,149,25,75,14,42,126,167],[79,26,78,23,69,207,199,175],[103,98,83,38,114,131,182,124],[161,61,183,127,170,88,53,159],[55,165,73,8,24,72,5,15],[45,135,194,160,58,174,100,89]],e.FINDER_PAT_A=0,e.FINDER_PAT_B=1,e.FINDER_PAT_C=2,e.FINDER_PAT_D=3,e.FINDER_PAT_E=4,e.FINDER_PAT_F=5,e.FINDER_PATTERN_SEQUENCES=[[e.FINDER_PAT_A,e.FINDER_PAT_A],[e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B],[e.FINDER_PAT_A,e.FINDER_PAT_C,e.FINDER_PAT_B,e.FINDER_PAT_D],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_C],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_D,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_E,e.FINDER_PAT_B,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_D],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_E],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F],[e.FINDER_PAT_A,e.FINDER_PAT_A,e.FINDER_PAT_B,e.FINDER_PAT_B,e.FINDER_PAT_C,e.FINDER_PAT_D,e.FINDER_PAT_D,e.FINDER_PAT_E,e.FINDER_PAT_E,e.FINDER_PAT_F,e.FINDER_PAT_F]],e.MAX_PAIRS=11,e}(d.default),b=_;e.default=b},a9e1:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("f228")),a=function(){function t(){}return t.checkAndNudgePoints=function(t,e){for(var r=t.getWidth(),n=t.getHeight(),a=!0,i=0;i<e.length&&a;i+=2){var u=Math.floor(e[i]),f=Math.floor(e[i+1]);if(u<-1||u>r||f<-1||f>n)throw new o.default;a=!1,-1===u?(e[i]=0,a=!0):u===r&&(e[i]=r-1,a=!0),-1===f?(e[i+1]=0,a=!0):f===n&&(e[i+1]=n-1,a=!0)}a=!0;for(i=e.length-2;i>=0&&a;i-=2){u=Math.floor(e[i]),f=Math.floor(e[i+1]);if(u<-1||u>r||f<-1||f>n)throw new o.default;a=!1,-1===u?(e[i]=0,a=!0):u===r&&(e[i]=r-1,a=!0),-1===f?(e[i+1]=0,a=!0):f===n&&(e[i+1]=n-1,a=!0)}},t}(),i=a;e.default=i},ad71:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("08eb"),r("18f7"),r("1878"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("9c16")),a=n(r("e5d0")),i=n(r("a2dd")),u=n(r("647e")),f=n(r("6468")),d=n(r("f7fd")),s=function(){function t(){}return t.clearMatrix=function(t){t.clear(255)},t.buildMatrix=function(e,r,n,o,a){t.clearMatrix(a),t.embedBasicPatterns(n,a),t.embedTypeInfo(r,o,a),t.maybeEmbedVersionInfo(n,a),t.embedDataBits(e,o,a)},t.embedBasicPatterns=function(e,r){t.embedPositionDetectionPatternsAndSeparators(r),t.embedDarkDotAtLeftBottomCorner(r),t.maybeEmbedPositionAdjustmentPatterns(e,r),t.embedTimingPatterns(r)},t.embedTypeInfo=function(e,r,n){var a=new o.default;t.makeTypeInfoBits(e,r,a);for(var i=0,u=a.getSize();i<u;++i){var f=a.get(a.getSize()-1-i),d=t.TYPE_INFO_COORDINATES[i],s=d[0],c=d[1];if(n.setBoolean(s,c,f),i<8){var l=n.getWidth()-i-1,h=8;n.setBoolean(l,h,f)}else{l=8,h=n.getHeight()-7+(i-8);n.setBoolean(l,h,f)}}},t.maybeEmbedVersionInfo=function(e,r){if(!(e.getVersionNumber()<7)){var n=new o.default;t.makeVersionInfoBits(e,n);for(var a=17,i=0;i<6;++i)for(var u=0;u<3;++u){var f=n.get(a);a--,r.setBoolean(i,r.getHeight()-11+u,f),r.setBoolean(r.getHeight()-11+u,i,f)}}},t.embedDataBits=function(e,r,n){var o=0,a=-1,i=n.getWidth()-1,d=n.getHeight()-1;while(i>0){6===i&&(i-=1);while(d>=0&&d<n.getHeight()){for(var s=0;s<2;++s){var c=i-s;if(t.isEmpty(n.get(c,d))){var l=void 0;o<e.getSize()?(l=e.get(o),++o):l=!1,255!==r&&u.default.getDataMaskBit(r,c,d)&&(l=!l),n.setBoolean(c,d,l)}}d+=a}a=-a,d+=a,i-=2}if(o!==e.getSize())throw new f.default("Not all bits consumed: "+o+"/"+e.getSize())},t.findMSBSet=function(t){return 32-a.default.numberOfLeadingZeros(t)},t.calculateBCHCode=function(e,r){if(0===r)throw new d.default("0 polynomial");var n=t.findMSBSet(r);e<<=n-1;while(t.findMSBSet(e)>=n)e^=r<<t.findMSBSet(e)-n;return e},t.makeTypeInfoBits=function(e,r,n){if(!i.default.isValidMaskPattern(r))throw new f.default("Invalid mask pattern");var a=e.getBits()<<3|r;n.appendBits(a,5);var u=t.calculateBCHCode(a,t.TYPE_INFO_POLY);n.appendBits(u,10);var d=new o.default;if(d.appendBits(t.TYPE_INFO_MASK_PATTERN,15),n.xor(d),15!==n.getSize())throw new f.default("should not happen but we got: "+n.getSize())},t.makeVersionInfoBits=function(e,r){r.appendBits(e.getVersionNumber(),6);var n=t.calculateBCHCode(e.getVersionNumber(),t.VERSION_INFO_POLY);if(r.appendBits(n,12),18!==r.getSize())throw new f.default("should not happen but we got: "+r.getSize())},t.isEmpty=function(t){return 255===t},t.embedTimingPatterns=function(e){for(var r=8;r<e.getWidth()-8;++r){var n=(r+1)%2;t.isEmpty(e.get(r,6))&&e.setNumber(r,6,n),t.isEmpty(e.get(6,r))&&e.setNumber(6,r,n)}},t.embedDarkDotAtLeftBottomCorner=function(t){if(0===t.get(8,t.getHeight()-8))throw new f.default;t.setNumber(8,t.getHeight()-8,1)},t.embedHorizontalSeparationPattern=function(e,r,n){for(var o=0;o<8;++o){if(!t.isEmpty(n.get(e+o,r)))throw new f.default;n.setNumber(e+o,r,0)}},t.embedVerticalSeparationPattern=function(e,r,n){for(var o=0;o<7;++o){if(!t.isEmpty(n.get(e,r+o)))throw new f.default;n.setNumber(e,r+o,0)}},t.embedPositionAdjustmentPattern=function(e,r,n){for(var o=0;o<5;++o)for(var a=t.POSITION_ADJUSTMENT_PATTERN[o],i=0;i<5;++i)n.setNumber(e+i,r+o,a[i])},t.embedPositionDetectionPattern=function(e,r,n){for(var o=0;o<7;++o)for(var a=t.POSITION_DETECTION_PATTERN[o],i=0;i<7;++i)n.setNumber(e+i,r+o,a[i])},t.embedPositionDetectionPatternsAndSeparators=function(e){var r=t.POSITION_DETECTION_PATTERN[0].length;t.embedPositionDetectionPattern(0,0,e),t.embedPositionDetectionPattern(e.getWidth()-r,0,e),t.embedPositionDetectionPattern(0,e.getWidth()-r,e);t.embedHorizontalSeparationPattern(0,7,e),t.embedHorizontalSeparationPattern(e.getWidth()-8,7,e),t.embedHorizontalSeparationPattern(0,e.getWidth()-8,e);t.embedVerticalSeparationPattern(7,0,e),t.embedVerticalSeparationPattern(e.getHeight()-7-1,0,e),t.embedVerticalSeparationPattern(7,e.getHeight()-7,e)},t.maybeEmbedPositionAdjustmentPatterns=function(e,r){if(!(e.getVersionNumber()<2))for(var n=e.getVersionNumber()-1,o=t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[n],a=0,i=o.length;a!==i;a++){var u=o[a];if(u>=0)for(var f=0;f!==i;f++){var d=o[f];d>=0&&t.isEmpty(r.get(d,u))&&t.embedPositionAdjustmentPattern(d-2,u-2,r)}}},t.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),t.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),t.VERSION_INFO_POLY=7973,t.TYPE_INFO_POLY=1335,t.TYPE_INFO_MASK_PATTERN=21522,t}(),c=s;e.default=c},ade5:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1878");var o=n(r("f5e6")),a=n(r("0497")),i=n(r("db8e")),u=n(r("9e56")),f=function(){function t(t){this.field=t}return t.prototype.decode=function(t,e){for(var r=this.field,n=new a.default(r,t),u=new Int32Array(e),f=!0,d=0;d<e;d++){var s=n.evaluateAt(r.exp(d+r.getGeneratorBase()));u[u.length-1-d]=s,0!==s&&(f=!1)}if(!f){var c=new a.default(r,u),l=this.runEuclideanAlgorithm(r.buildMonomial(e,1),c,e),h=l[0],p=l[1],g=this.findErrorLocations(h),y=this.findErrorMagnitudes(p,g);for(d=0;d<g.length;d++){var v=t.length-1-r.log(g[d]);if(v<0)throw new i.default("Bad error location");t[v]=o.default.addOrSubtract(t[v],y[d])}}},t.prototype.runEuclideanAlgorithm=function(t,e,r){if(t.getDegree()<e.getDegree()){var n=t;t=e,e=n}var o=this.field,a=t,f=e,d=o.getZero(),s=o.getOne();while(f.getDegree()>=(r/2|0)){var c=a,l=d;if(a=f,d=s,a.isZero())throw new i.default("r_{i-1} was zero");f=c;var h=o.getZero(),p=a.getCoefficient(a.getDegree()),g=o.inverse(p);while(f.getDegree()>=a.getDegree()&&!f.isZero()){var y=f.getDegree()-a.getDegree(),v=o.multiply(f.getCoefficient(f.getDegree()),g);h=h.addOrSubtract(o.buildMonomial(y,v)),f=f.addOrSubtract(a.multiplyByMonomial(y,v))}if(s=h.multiply(d).addOrSubtract(l),f.getDegree()>=a.getDegree())throw new u.default("Division algorithm failed to reduce polynomial?")}var w=s.getCoefficient(0);if(0===w)throw new i.default("sigmaTilde(0) was zero");var _=o.inverse(w),b=s.multiplyScalar(_),C=f.multiplyScalar(_);return[b,C]},t.prototype.findErrorLocations=function(t){var e=t.getDegree();if(1===e)return Int32Array.from([t.getCoefficient(1)]);for(var r=new Int32Array(e),n=0,o=this.field,a=1;a<o.getSize()&&n<e;a++)0===t.evaluateAt(a)&&(r[n]=o.inverse(a),n++);if(n!==e)throw new i.default("Error locator degree does not match number of roots");return r},t.prototype.findErrorMagnitudes=function(t,e){for(var r=e.length,n=new Int32Array(r),o=this.field,a=0;a<r;a++){for(var i=o.inverse(e[a]),u=1,f=0;f<r;f++)if(a!==f){var d=o.multiply(e[f],i),s=0===(1&d)?1|d:-2&d;u=o.multiply(u,s)}n[a]=o.multiply(t.evaluateAt(i),o.inverse(u)),0!==o.getGeneratorBase()&&(n[a]=o.multiply(n[a],i))}return n},t}(),d=f;e.default=d},ae1e:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("bf0f"),r("de6c"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("e01c")),a=n(r("3b65")),i=n(r("56c52")),u=n(r("343e")),f=function(){function t(t){var e=t.getHeight();if(e<21||1!==(3&e))throw new u.default;this.bitMatrix=t}return t.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;for(var t=0,e=0;e<6;e++)t=this.copyBit(e,8,t);t=this.copyBit(7,8,t),t=this.copyBit(8,8,t),t=this.copyBit(8,7,t);for(var r=5;r>=0;r--)t=this.copyBit(8,r,t);var n=this.bitMatrix.getHeight(),o=0,i=n-7;for(r=n-1;r>=i;r--)o=this.copyBit(8,r,o);for(e=n-8;e<n;e++)o=this.copyBit(e,8,o);if(this.parsedFormatInfo=a.default.decodeFormatInformation(t,o),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new u.default},t.prototype.readVersion=function(){if(null!==this.parsedVersion&&void 0!==this.parsedVersion)return this.parsedVersion;var t=this.bitMatrix.getHeight(),e=Math.floor((t-17)/4);if(e<=6)return o.default.getVersionForNumber(e);for(var r=0,n=t-11,a=5;a>=0;a--)for(var i=t-9;i>=n;i--)r=this.copyBit(i,a,r);var f=o.default.decodeVersionInformation(r);if(null!==f&&f.getDimensionForVersion()===t)return this.parsedVersion=f,f;r=0;for(i=5;i>=0;i--)for(a=t-9;a>=n;a--)r=this.copyBit(i,a,r);if(f=o.default.decodeVersionInformation(r),null!==f&&f.getDimensionForVersion()===t)return this.parsedVersion=f,f;throw new u.default},t.prototype.copyBit=function(t,e,r){var n=this.isMirror?this.bitMatrix.get(e,t):this.bitMatrix.get(t,e);return n?r<<1|1:r<<1},t.prototype.readCodewords=function(){var t=this.readFormatInformation(),e=this.readVersion(),r=i.default.values.get(t.getDataMask()),n=this.bitMatrix.getHeight();r.unmaskBitMatrix(this.bitMatrix,n);for(var o=e.buildFunctionPattern(),a=!0,f=new Uint8Array(e.getTotalCodewords()),d=0,s=0,c=0,l=n-1;l>0;l-=2){6===l&&l--;for(var h=0;h<n;h++)for(var p=a?n-1-h:h,g=0;g<2;g++)o.get(l-g,p)||(c++,s<<=1,this.bitMatrix.get(l-g,p)&&(s|=1),8===c&&(f[d++]=s,c=0,s=0));a=!a}if(d!==e.getTotalCodewords())throw new u.default;return f},t.prototype.remask=function(){if(null!==this.parsedFormatInfo){var t=i.default.values.get(this.parsedFormatInfo.getDataMask()),e=this.bitMatrix.getHeight();t.unmaskBitMatrix(this.bitMatrix,e)}},t.prototype.setMirror=function(t){this.parsedVersion=null,this.parsedFormatInfo=null,this.isMirror=t},t.prototype.mirror=function(){for(var t=this.bitMatrix,e=0,r=t.getWidth();e<r;e++)for(var n=e+1,o=t.getHeight();n<o;n++)t.get(e,n)!==t.get(n,e)&&(t.flip(n,e),t.flip(e,n))},t}(),d=f;e.default=d},afcc:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("343e")),a=n(r("8618")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){function e(e,r,n){var a=t.call(this,e)||this;if(r<0||r>10||n<0||n>10)throw new o.default;return a.firstDigit=r,a.secondDigit=n,a}return i(e,t),e.prototype.getFirstDigit=function(){return this.firstDigit},e.prototype.getSecondDigit=function(){return this.secondDigit},e.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},e.prototype.isFirstDigitFNC1=function(){return this.firstDigit===e.FNC1},e.prototype.isSecondDigitFNC1=function(){return this.secondDigit===e.FNC1},e.prototype.isAnyFNC1=function(){return this.firstDigit===e.FNC1||this.secondDigit===e.FNC1},e.FNC1=10,e}(a.default),f=u;e.default=f},b1cb:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1851"),r("5ef2"),r("f67e");var o=n(r("b717")),a=n(r("f74e")),i=n(r("343e")),u=n(r("f228")),f=n(r("4d7d")),d=n(r("0c24")),s=n(r("a8be")),c=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),l=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(t){function e(e,r){void 0===e&&(e=!1),void 0===r&&(r=!1);var n=t.call(this)||this;return n.usingCheckDigit=e,n.extendedMode=r,n.decodeRowResult="",n.counters=new Int32Array(9),n}return c(e,t),e.prototype.decodeRow=function(t,r,n){var i,f,c,h,p=this.counters;p.fill(0),this.decodeRowResult="";var g,y,v=e.findAsteriskPattern(r,p),w=r.getNextSet(v[1]),_=r.getSize();do{e.recordPattern(r,w,p);var b=e.toNarrowWidePattern(p);if(b<0)throw new u.default;g=e.patternToChar(b),this.decodeRowResult+=g,y=w;try{for(var C=(i=void 0,l(p)),A=C.next();!A.done;A=C.next()){var E=A.value;w+=E}}catch(B){i={error:B}}finally{try{A&&!A.done&&(f=C.return)&&f.call(C)}finally{if(i)throw i.error}}w=r.getNextSet(w)}while("*"!==g);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var m=0;try{for(var I=l(p),O=I.next();!O.done;O=I.next()){E=O.value;m+=E}}catch(L){c={error:L}}finally{try{O&&!O.done&&(h=I.return)&&h.call(I)}finally{if(c)throw c.error}}var S,T=w-y-m;if(w!==_&&2*T<m)throw new u.default;if(this.usingCheckDigit){for(var N=this.decodeRowResult.length-1,R=0,D=0;D<N;D++)R+=e.ALPHABET_STRING.indexOf(this.decodeRowResult.charAt(D));if(this.decodeRowResult.charAt(N)!==e.ALPHABET_STRING.charAt(R%43))throw new a.default;this.decodeRowResult=this.decodeRowResult.substring(0,N)}if(0===this.decodeRowResult.length)throw new u.default;S=this.extendedMode?e.decodeExtended(this.decodeRowResult):this.decodeRowResult;var M=(v[1]+v[0])/2,P=y+m/2;return new d.default(S,null,0,[new s.default(M,t),new s.default(P,t)],o.default.CODE_39,(new Date).getTime())},e.findAsteriskPattern=function(t,r){for(var n=t.getSize(),o=t.getNextSet(0),a=0,i=o,f=!1,d=r.length,s=o;s<n;s++)if(t.get(s)!==f)r[a]++;else{if(a===d-1){if(this.toNarrowWidePattern(r)===e.ASTERISK_ENCODING&&t.isRange(Math.max(0,i-Math.floor((s-i)/2)),i,!1))return[i,s];i+=r[0]+r[1],r.copyWithin(0,2,2+a-1),r[a-1]=0,r[a]=0,a--}else a++;r[a]=1,f=!f}throw new u.default},e.toNarrowWidePattern=function(t){var e,r,n,o=t.length,a=0;do{var i=2147483647;try{for(var u=(e=void 0,l(t)),f=u.next();!f.done;f=u.next()){var d=f.value;d<i&&d>a&&(i=d)}}catch(p){e={error:p}}finally{try{f&&!f.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}a=i,n=0;for(var s=0,c=0,h=0;h<o;h++){d=t[h];d>a&&(c|=1<<o-1-h,n++,s+=d)}if(3===n){for(h=0;h<o&&n>0;h++){d=t[h];if(d>a&&(n--,2*d>=s))return-1}return c}}while(n>3);return-1},e.patternToChar=function(t){for(var r=0;r<e.CHARACTER_ENCODINGS.length;r++)if(e.CHARACTER_ENCODINGS[r]===t)return e.ALPHABET_STRING.charAt(r);if(t===e.ASTERISK_ENCODING)return"*";throw new u.default},e.decodeExtended=function(t){for(var e=t.length,r="",n=0;n<e;n++){var o=t.charAt(n);if("+"===o||"$"===o||"%"===o||"/"===o){var a=t.charAt(n+1),u="\0";switch(o){case"+":if(!(a>="A"&&a<="Z"))throw new i.default;u=String.fromCharCode(a.charCodeAt(0)+32);break;case"$":if(!(a>="A"&&a<="Z"))throw new i.default;u=String.fromCharCode(a.charCodeAt(0)-64);break;case"%":if(a>="A"&&a<="E")u=String.fromCharCode(a.charCodeAt(0)-38);else if(a>="F"&&a<="J")u=String.fromCharCode(a.charCodeAt(0)-11);else if(a>="K"&&a<="O")u=String.fromCharCode(a.charCodeAt(0)+16);else if(a>="P"&&a<="T")u=String.fromCharCode(a.charCodeAt(0)+43);else if("U"===a)u="\0";else if("V"===a)u="@";else if("W"===a)u="`";else{if("X"!==a&&"Y"!==a&&"Z"!==a)throw new i.default;u=""}break;case"/":if(a>="A"&&a<="O")u=String.fromCharCode(a.charCodeAt(0)-32);else{if("Z"!==a)throw new i.default;u=":"}break}r+=u,n++}else r+=o}return r},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",e.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],e.ASTERISK_ENCODING=148,e}(f.default),p=h;e.default=p},b3e2:function(t,e,r){"use strict";var n,o=r("c238"),a=r("85c1"),i=r("bb80"),u=r("a74c"),f=r("d0b1"),d=r("7658"),s=r("d871c"),c=r("1c06"),l=r("235c").enforce,h=r("af9e"),p=r("a20b"),g=Object,y=Array.isArray,v=g.isExtensible,w=g.isFrozen,_=g.isSealed,b=g.freeze,C=g.seal,A=!a.ActiveXObject&&"ActiveXObject"in a,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},m=d("WeakMap",E,s),I=m.prototype,O=i(I.set);if(p)if(A){n=s.getConstructor(E,"WeakMap",!0),f.enable();var S=i(I["delete"]),T=i(I.has),N=i(I.get);u(I,{delete:function(t){if(c(t)&&!v(t)){var e=l(this);return e.frozen||(e.frozen=new n),S(this,t)||e.frozen["delete"](t)}return S(this,t)},has:function(t){if(c(t)&&!v(t)){var e=l(this);return e.frozen||(e.frozen=new n),T(this,t)||e.frozen.has(t)}return T(this,t)},get:function(t){if(c(t)&&!v(t)){var e=l(this);return e.frozen||(e.frozen=new n),T(this,t)?N(this,t):e.frozen.get(t)}return N(this,t)},set:function(t,e){if(c(t)&&!v(t)){var r=l(this);r.frozen||(r.frozen=new n),T(this,t)?O(this,t,e):r.frozen.set(t,e)}else O(this,t,e);return this}})}else(function(){return o&&h((function(){var t=b([]);return O(new m,t,1),!w(t)}))})()&&u(I,{set:function(t,e){var r;return y(t)&&(w(t)?r=b:_(t)&&(r=C)),O(this,t,e),r&&r(t),this}})},b6de:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("aa9c"),r("4626"),r("5ac7");var o=n(r("76a0")),a=n(r("b717")),i=n(r("08c4")),u=n(r("50f3")),f=n(r("51ff")),d=n(r("5847")),s=n(r("f228")),c=n(r("c3c6")),l=n(r("843b")),h=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},p=function(){function t(){}return t.prototype.decode=function(t,e){return this.setHints(e),this.decodeInternal(t)},t.prototype.decodeWithState=function(t){return null!==this.readers&&void 0!==this.readers||this.setHints(null),this.decodeInternal(t)},t.prototype.setHints=function(t){this.hints=t;var e=null!==t&&void 0!==t&&void 0!==t.get(o.default.TRY_HARDER),r=null===t||void 0===t?null:t.get(o.default.POSSIBLE_FORMATS),n=new Array;if(null!==r&&void 0!==r){var s=r.some((function(t){return t===a.default.UPC_A||t===a.default.UPC_E||t===a.default.EAN_13||t===a.default.EAN_8||t===a.default.CODABAR||t===a.default.CODE_39||t===a.default.CODE_93||t===a.default.CODE_128||t===a.default.ITF||t===a.default.RSS_14||t===a.default.RSS_EXPANDED}));s&&!e&&n.push(new f.default(t)),r.includes(a.default.QR_CODE)&&n.push(new i.default),r.includes(a.default.DATA_MATRIX)&&n.push(new d.default),r.includes(a.default.AZTEC)&&n.push(new u.default),r.includes(a.default.PDF_417)&&n.push(new c.default),s&&e&&n.push(new f.default(t))}0===n.length&&(e||n.push(new f.default(t)),n.push(new i.default),n.push(new d.default),n.push(new u.default),n.push(new c.default),e&&n.push(new f.default(t))),this.readers=n},t.prototype.reset=function(){var t,e;if(null!==this.readers)try{for(var r=h(this.readers),n=r.next();!n.done;n=r.next()){var o=n.value;o.reset()}}catch(a){t={error:a}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},t.prototype.decodeInternal=function(t){var e,r;if(null===this.readers)throw new l.default("No readers where selected, nothing can be read.");try{for(var n=h(this.readers),o=n.next();!o.done;o=n.next()){var a=o.value;try{return a.decode(t,this.hints)}catch(i){if(i instanceof l.default)continue}}}catch(u){e={error:u}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}throw new s.default("No MultiFormat Readers were able to detect the code.")},t}(),g=p;e.default=g},b717:function(t,e,r){"use strict";var n;r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,function(t){t[t["AZTEC"]=0]="AZTEC",t[t["CODABAR"]=1]="CODABAR",t[t["CODE_39"]=2]="CODE_39",t[t["CODE_93"]=3]="CODE_93",t[t["CODE_128"]=4]="CODE_128",t[t["DATA_MATRIX"]=5]="DATA_MATRIX",t[t["EAN_8"]=6]="EAN_8",t[t["EAN_13"]=7]="EAN_13",t[t["ITF"]=8]="ITF",t[t["MAXICODE"]=9]="MAXICODE",t[t["PDF_417"]=10]="PDF_417",t[t["QR_CODE"]=11]="QR_CODE",t[t["RSS_14"]=12]="RSS_14",t[t["RSS_EXPANDED"]=13]="RSS_EXPANDED",t[t["UPC_A"]=14]="UPC_A",t[t["UPC_E"]=15]="UPC_E",t[t["UPC_EAN_EXTENSION"]=16]="UPC_EAN_EXTENSION"}(n||(n={}));var o=n;e.default=o},b911:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80");var n=function(){function t(t,e){this.value=t,this.checksumPortion=e}return t.prototype.getValue=function(){return this.value},t.prototype.getChecksumPortion=function(){return this.checksumPortion},t.prototype.toString=function(){return this.value+"("+this.checksumPortion+")"},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var r=e;return this.value===r.value&&this.checksumPortion===r.checksumPortion},t.prototype.hashCode=function(){return this.value^this.checksumPortion},t}(),o=n;e.default=o},ba3c:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("1581")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e,r){void 0===e&&(e=void 0),void 0===r&&(r=void 0);var n=t.call(this,r)||this;return n.index=e,n.message=r,n}return a(e,t),e.kind="ArrayIndexOutOfBoundsException",e}(o.default),u=i;e.default=u},bab0:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("fd3c"),r("1878"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("c9b5"),r("ab80"),r("e966"),r("1851");var o=n(r("b717")),a=n(r("76a0")),i=n(r("0c24")),u=n(r("37ed")),f=n(r("a8be")),d=n(r("6ef9")),s=n(r("91fc")),c=n(r("f228")),l=n(r("343e")),h=n(r("f74e")),p=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),g=function(t){function e(){var r=t.call(this)||this;r.decodeRowStringBuffer="",e.L_AND_G_PATTERNS=e.L_PATTERNS.map((function(t){return Int32Array.from(t)}));for(var n=10;n<20;n++){for(var o=e.L_PATTERNS[n-10],a=new Int32Array(o.length),i=0;i<o.length;i++)a[i]=o[o.length-i-1];e.L_AND_G_PATTERNS[n]=a}return r}return p(e,t),e.prototype.decodeRow=function(t,r,n){var s=e.findStartGuardPattern(r),p=null==n?null:n.get(a.default.NEED_RESULT_POINT_CALLBACK);if(null!=p){var g=new f.default((s[0]+s[1])/2,t);p.foundPossibleResultPoint(g)}var y=this.decodeMiddle(r,s,this.decodeRowStringBuffer),v=y.rowOffset,w=y.resultString;if(null!=p){var _=new f.default(v,t);p.foundPossibleResultPoint(_)}var b=e.decodeEnd(r,v);if(null!=p){var C=new f.default((b[0]+b[1])/2,t);p.foundPossibleResultPoint(C)}var A=b[1],E=A+(A-b[0]);if(E>=r.getSize()||!r.isRange(A,E,!1))throw new c.default;var m=w.toString();if(m.length<8)throw new l.default;if(!e.checkChecksum(m))throw new h.default;var I=(s[1]+s[0])/2,O=(b[1]+b[0])/2,S=this.getBarcodeFormat(),T=[new f.default(I,t),new f.default(O,t)],N=new i.default(m,null,0,T,S,(new Date).getTime()),R=0;try{var D=d.default.decodeRow(t,r,b[1]);N.putMetadata(u.default.UPC_EAN_EXTENSION,D.getText()),N.putAllMetadata(D.getResultMetadata()),N.addResultPoints(D.getResultPoints()),R=D.getText().length}catch(L){}var M=null==n?null:n.get(a.default.ALLOWED_EAN_EXTENSIONS);if(null!=M){var P=!1;for(var B in M)if(R.toString()===B){P=!0;break}if(!P)throw new c.default}return S===o.default.EAN_13||o.default.UPC_A,N},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var r=t.length;if(0===r)return!1;var n=parseInt(t.charAt(r-1),10);return e.getStandardUPCEANChecksum(t.substring(0,r-1))===n},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,r=0,n=e-1;n>=0;n-=2){var o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new l.default;r+=o}r*=3;for(n=e-2;n>=0;n-=2){o=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);if(o<0||o>9)throw new l.default;r+=o}return(1e3-r)%10},e.decodeEnd=function(t,r){return e.findGuardPattern(t,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e}(s.default),y=g;e.default=y},bcd6:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.Base256Encoder=void 0,r("7a76"),r("c9b5");var o=n(r("d618")),a=n(r("d4f8")),i=n(r("3fac")),u=r("eab1"),f=function(){function t(){}return t.prototype.getEncodingMode=function(){return u.BASE256_ENCODATION},t.prototype.encode=function(t){var e=new a.default;e.append(0);while(t.hasMoreCharacters()){var r=t.getCurrentChar();e.append(r),t.pos++;var n=i.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode());if(n!==this.getEncodingMode()){t.signalEncoderChange(u.ASCII_ENCODATION);break}}var f=e.length()-1,d=t.getCodewordCount()+f+1;t.updateSymbolInfo(d);var s=t.getSymbolInfo().getDataCapacity()-d>0;if(t.hasMoreCharacters()||s)if(f<=249)e.setCharAt(0,o.default.getCharAt(f));else{if(!(f<=1555))throw new Error("Message length not in valid ranges: "+f);e.setCharAt(0,o.default.getCharAt(Math.floor(f/250)+249)),e.insert(1,o.default.getCharAt(f%250))}var c=0;for(r=e.length();c<r;c++)t.writeCodeword(this.randomize255State(e.charAt(c).charCodeAt(0),t.getCodewordCount()+1))},t.prototype.randomize255State=function(t,e){var r=149*e%255+1,n=t+r;return n<=255?n:n-256},t}();e.Base256Encoder=f},bf71:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("2634")),a=n(r("2fdc")),i=r("d90e"),u=r("4371"),f={data:function(){return{codeReader:null,deviceId:null,path:""}},mounted:function(){this.$set(this,"path",this.$route.query.path),this.initScanner()},methods:{initScanner:function(){var t=this;return(0,a.default)((0,o.default)().mark((function e(){var r,n;return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t,r=document.getElementById("video-canvas").getElementsByTagName("video")[0],r.id="zxing-video",t.codeReader=new i.BrowserMultiFormatReader,e.prev=4,e.next=7,t.codeReader.listVideoInputDevices();case 7:n=e.sent,t.deviceId=n[n.length-1].deviceId,t.startScanning(),e.next=16;break;case 12:e.prev=12,e.t0=e["catch"](4),uni.showToast({mask:!0,icon:"none",position:"center",title:"请启用摄像头权限",duration:2e3}),setTimeout((function(){uni.navigateBack()}),2e3);case 16:case"end":return e.stop()}}),e,null,[[4,12]])})))()},startScanning:function(){var t=this,e=this;this.codeReader.decodeFromVideoDevice(this.deviceId,"zxing-video",(function(r,n){r&&((0,u.scanTheCodeDataTreating)(t.path,r.text),e.codeReader.reset())}))}},beforeDestroy:function(){var t;null===(t=this.codeReader)||void 0===t||t.reset()}};e.default=f},c003:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5");var n=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(){function t(){}return t.getRSSvalue=function(e,r,o){var a,i,u=0;try{for(var f=n(e),d=f.next();!d.done;d=f.next()){var s=d.value;u+=s}}catch(_){a={error:_}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(a)throw a.error}}for(var c=0,l=0,h=e.length,p=0;p<h-1;p++){var g=void 0;for(g=1,l|=1<<p;g<e[p];g++,l&=~(1<<p)){var y=t.combins(u-g-1,h-p-2);if(o&&0===l&&u-g-(h-p-1)>=h-p-1&&(y-=t.combins(u-g-(h-p),h-p-2)),h-p-1>1){for(var v=0,w=u-g-(h-p-2);w>r;w--)v+=t.combins(u-g-w-1,h-p-3);y-=v*(h-1-p)}else u-g>r&&y--;c+=y}u-=g}return c},t.combins=function(t,e){var r,n;t-e>e?(n=e,r=t-e):(n=t-e,r=e);for(var o=1,a=1,i=t;i>r;i--)o*=i,a<=n&&(o/=a,a++);while(a<=n)o/=a,a++;return o},t}(),a=o;e.default=a},c02e:function(t,e,r){"use strict";var n=r("6a50");n("Int32",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},c1dd:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t,e){this.bits=t,this.points=e}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}(),o=n;e.default=o},c20f:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("c9b5"),r("bf0f"),r("ab80");var o=n(r("26c4")),a=n(r("e5d0")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){function e(e,r,n){var o=t.call(this,e)||this;return o.value=r,o.bitCount=n,o}return i(e,t),e.prototype.appendTo=function(t,e){t.appendBits(this.value,this.bitCount)},e.prototype.add=function(t,r){return new e(this,t,r)},e.prototype.addBinaryShift=function(t,r){return console.warn("addBinaryShift on SimpleToken, this simply returns a copy of this token"),new e(this,t,r)},e.prototype.toString=function(){var t=this.value&(1<<this.bitCount)-1;return t|=1<<this.bitCount,"<"+a.default.toBinaryString(t|1<<this.bitCount).substring(1)+">"},e}(o.default),f=u;e.default=f},c3c6:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("aa9c"),r("fd3c"),r("cf80");var o=n(r("b717")),a=n(r("f74e")),i=n(r("343e")),u=n(r("f228")),f=n(r("0c24")),d=n(r("5a0c")),s=n(r("e5d0")),c=n(r("37ed")),l=n(r("22f7")),h=n(r("768a")),p=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(){function t(){}return t.prototype.decode=function(e,r){void 0===r&&(r=null);var n=t.decode(e,r,!1);if(null==n||0===n.length||null==n[0])throw u.default.getNotFoundInstance();return n[0]},t.prototype.decodeMultiple=function(e,r){void 0===r&&(r=null);try{return t.decode(e,r,!0)}catch(n){if(n instanceof i.default||n instanceof a.default)throw u.default.getNotFoundInstance();throw n}},t.decode=function(e,r,n){var a,i,u=new Array,d=l.default.detectMultiple(e,r,n);try{for(var s=p(d.getPoints()),g=s.next();!g.done;g=s.next()){var y=g.value,v=h.default.decode(d.getBits(),y[4],y[5],y[6],y[7],t.getMinCodewordWidth(y),t.getMaxCodewordWidth(y)),w=new f.default(v.getText(),v.getRawBytes(),void 0,y,o.default.PDF_417);w.putMetadata(c.default.ERROR_CORRECTION_LEVEL,v.getECLevel());var _=v.getOther();null!=_&&w.putMetadata(c.default.PDF417_EXTRA_METADATA,_),u.push(w)}}catch(b){a={error:b}}finally{try{g&&!g.done&&(i=s.return)&&i.call(s)}finally{if(a)throw a.error}}return u.map((function(t){return t}))},t.getMaxWidth=function(t,e){return null==t||null==e?0:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMinWidth=function(t,e){return null==t||null==e?s.default.MAX_VALUE:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMaxCodewordWidth=function(e){return Math.floor(Math.max(Math.max(t.getMaxWidth(e[0],e[4]),t.getMaxWidth(e[6],e[2])*d.default.MODULES_IN_CODEWORD/d.default.MODULES_IN_STOP_PATTERN),Math.max(t.getMaxWidth(e[1],e[5]),t.getMaxWidth(e[7],e[3])*d.default.MODULES_IN_CODEWORD/d.default.MODULES_IN_STOP_PATTERN)))},t.getMinCodewordWidth=function(e){return Math.floor(Math.min(Math.min(t.getMinWidth(e[0],e[4]),t.getMinWidth(e[6],e[2])*d.default.MODULES_IN_CODEWORD/d.default.MODULES_IN_STOP_PATTERN),Math.min(t.getMinWidth(e[1],e[5]),t.getMinWidth(e[7],e[3])*d.default.MODULES_IN_CODEWORD/d.default.MODULES_IN_STOP_PATTERN)))},t.prototype.reset=function(){},t}(),y=g;e.default=y},c41c:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("f7fd")),a=function(){function t(t){this.bytes=t,this.byteOffset=0,this.bitOffset=0}return t.prototype.getBitOffset=function(){return this.bitOffset},t.prototype.getByteOffset=function(){return this.byteOffset},t.prototype.readBits=function(t){if(t<1||t>32||t>this.available())throw new o.default(""+t);var e=0,r=this.bitOffset,n=this.byteOffset,a=this.bytes;if(r>0){var i=8-r,u=t<i?t:i,f=i-u,d=255>>8-u<<f;e=(a[n]&d)>>f,t-=u,r+=u,8===r&&(r=0,n++)}if(t>0){while(t>=8)e=e<<8|255&a[n],n++,t-=8;if(t>0){f=8-t,d=255>>f<<f;e=e<<t|(a[n]&d)>>f,r+=t}}return this.bitOffset=r,this.byteOffset=n,e},t.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},t}(),i=a;e.default=i},c769:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("4259"),r("64aa"),r("e062");var n=function(){function t(){}return t.round=function(t){return isNaN(t)?0:t<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:t>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t+(t<0?-.5:.5)|0},t.distance=function(t,e,r,n){var o=t-r,a=e-n;return Math.sqrt(o*o+a*a)},t.sum=function(t){for(var e=0,r=0,n=t.length;r!==n;r++){var o=t[r];e+=o}return e},t}(),o=n;e.default=o},c789:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("9480"),r("1878");var o=n(r("333e")),a=n(r("9c16")),i=n(r("7e0b")),u=n(r("f228")),f=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=function(t){function e(r){var n=t.call(this,r)||this;return n.luminances=e.EMPTY,n.buckets=new Int32Array(e.LUMINANCE_BUCKETS),n}return f(e,t),e.prototype.getBlackRow=function(t,r){var n=this.getLuminanceSource(),o=n.getWidth();void 0===r||null===r||r.getSize()<o?r=new a.default(o):r.clear(),this.initArrays(o);for(var i=n.getRow(t,this.luminances),u=this.buckets,f=0;f<o;f++)u[(255&i[f])>>e.LUMINANCE_SHIFT]++;var d=e.estimateBlackPoint(u);if(o<3)for(f=0;f<o;f++)(255&i[f])<d&&r.set(f);else{var s=255&i[0],c=255&i[1];for(f=1;f<o-1;f++){var l=255&i[f+1];(4*c-s-l)/2<d&&r.set(f),s=c,c=l}}return r},e.prototype.getBlackMatrix=function(){var t=this.getLuminanceSource(),r=t.getWidth(),n=t.getHeight(),o=new i.default(r,n);this.initArrays(r);for(var a=this.buckets,u=1;u<5;u++)for(var f=Math.floor(n*u/5),d=t.getRow(f,this.luminances),s=Math.floor(4*r/5),c=Math.floor(r/5);c<s;c++){var l=255&d[c];a[l>>e.LUMINANCE_SHIFT]++}var h=e.estimateBlackPoint(a),p=t.getMatrix();for(u=0;u<n;u++){var g=u*r;for(c=0;c<r;c++){l=255&p[g+c];l<h&&o.set(c,u)}}return o},e.prototype.createBinarizer=function(t){return new e(t)},e.prototype.initArrays=function(t){this.luminances.length<t&&(this.luminances=new Uint8ClampedArray(t));for(var r=this.buckets,n=0;n<e.LUMINANCE_BUCKETS;n++)r[n]=0},e.estimateBlackPoint=function(t){for(var r=t.length,n=0,o=0,a=0,i=0;i<r;i++)t[i]>a&&(o=i,a=t[i]),t[i]>n&&(n=t[i]);var f=0,d=0;for(i=0;i<r;i++){var s=i-o,c=t[i]*s*s;c>d&&(f=i,d=c)}if(o>f){var l=o;o=f,f=l}if(f-o<=r/16)throw new u.default;var h=f-1,p=-1;for(i=f-1;i>o;i--){var g=i-o;c=g*g*(f-i)*(n-t[i]);c>p&&(h=i,p=c)}return h<<e.LUMINANCE_SHIFT},e.LUMINANCE_BITS=5,e.LUMINANCE_SHIFT=8-e.LUMINANCE_BITS,e.LUMINANCE_BUCKETS=1<<e.LUMINANCE_BITS,e.EMPTY=Uint8ClampedArray.from([0]),e}(o.default),s=d;e.default=s},c9e4:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("9db6"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1851"),r("c976");var o,a=n(r("107a")),i=n(r("f5e6")),u=n(r("ade5")),f=n(r("9e56")),d=n(r("343e")),s=n(r("d618")),c=n(r("e5d0"));(function(t){t[t["UPPER"]=0]="UPPER",t[t["LOWER"]=1]="LOWER",t[t["MIXED"]=2]="MIXED",t[t["DIGIT"]=3]="DIGIT",t[t["PUNCT"]=4]="PUNCT",t[t["BINARY"]=5]="BINARY"})(o||(o={}));var l=function(){function t(){}return t.prototype.decode=function(e){this.ddata=e;var r=e.getBits(),n=this.extractBits(r),o=this.correctBits(n),i=t.convertBoolArrayToByteArray(o),u=t.getEncodedData(o),f=new a.default(i,u,null,null);return f.setNumBits(o.length),f},t.highLevelDecode=function(t){return this.getEncodedData(t)},t.getEncodedData=function(e){var r=e.length,n=o.UPPER,a=o.UPPER,i="",u=0;while(u<r)if(a===o.BINARY){if(r-u<5)break;var f=t.readCode(e,u,5);if(u+=5,0===f){if(r-u<11)break;f=t.readCode(e,u,11)+31,u+=11}for(var d=0;d<f;d++){if(r-u<8){u=r;break}var c=t.readCode(e,u,8);i+=s.default.castAsNonUtf8Char(c),u+=8}a=n}else{var l=a===o.DIGIT?4:5;if(r-u<l)break;c=t.readCode(e,u,l);u+=l;var h=t.getCharacter(a,c);h.startsWith("CTRL_")?(n=a,a=t.getTable(h.charAt(5)),"L"===h.charAt(6)&&(n=a)):(i+=h,a=n)}return i},t.getTable=function(t){switch(t){case"L":return o.LOWER;case"P":return o.PUNCT;case"M":return o.MIXED;case"D":return o.DIGIT;case"B":return o.BINARY;case"U":default:return o.UPPER}},t.getCharacter=function(e,r){switch(e){case o.UPPER:return t.UPPER_TABLE[r];case o.LOWER:return t.LOWER_TABLE[r];case o.MIXED:return t.MIXED_TABLE[r];case o.PUNCT:return t.PUNCT_TABLE[r];case o.DIGIT:return t.DIGIT_TABLE[r];default:throw new f.default("Bad table")}},t.prototype.correctBits=function(e){var r,n;this.ddata.getNbLayers()<=2?(n=6,r=i.default.AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(n=8,r=i.default.AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(n=10,r=i.default.AZTEC_DATA_10):(n=12,r=i.default.AZTEC_DATA_12);var o=this.ddata.getNbDatablocks(),a=e.length/n;if(a<o)throw new d.default;for(var f=e.length%n,s=new Int32Array(a),c=0;c<a;c++,f+=n)s[c]=t.readCode(e,f,n);try{var l=new u.default(r);l.decode(s,a-o)}catch(_){throw new d.default(_)}var h=(1<<n)-1,p=0;for(c=0;c<o;c++){var g=s[c];if(0===g||g===h)throw new d.default;1!==g&&g!==h-1||p++}var y=new Array(o*n-p),v=0;for(c=0;c<o;c++){g=s[c];if(1===g||g===h-1)y.fill(g>1,v,v+n-1),v+=n-1;else for(var w=n-1;w>=0;--w)y[v++]=0!==(g&1<<w)}return y},t.prototype.extractBits=function(t){var e=this.ddata.isCompact(),r=this.ddata.getNbLayers(),n=(e?11:14)+4*r,o=new Int32Array(n),a=new Array(this.totalBitsInLayer(r,e));if(e)for(var i=0;i<o.length;i++)o[i]=i;else{var u=n+1+2*c.default.truncDivision(c.default.truncDivision(n,2)-1,15),f=n/2,d=c.default.truncDivision(u,2);for(i=0;i<f;i++){var s=i+c.default.truncDivision(i,15);o[f-i-1]=d-s-1,o[f+i]=d+s+1}}i=0;for(var l=0;i<r;i++){for(var h=4*(r-i)+(e?9:12),p=2*i,g=n-1-p,y=0;y<h;y++)for(var v=2*y,w=0;w<2;w++)a[l+v+w]=t.get(o[p+w],o[p+y]),a[l+2*h+v+w]=t.get(o[p+y],o[g-w]),a[l+4*h+v+w]=t.get(o[g-w],o[g-y]),a[l+6*h+v+w]=t.get(o[g-y],o[p+w]);l+=8*h}return a},t.readCode=function(t,e,r){for(var n=0,o=e;o<e+r;o++)n<<=1,t[o]&&(n|=1);return n},t.readByte=function(e,r){var n=e.length-r;return n>=8?t.readCode(e,r,8):t.readCode(e,r,n)<<8-n},t.convertBoolArrayToByteArray=function(e){for(var r=new Uint8Array((e.length+7)/8),n=0;n<r.length;n++)r[n]=t.readByte(e,8*n);return r},t.prototype.totalBitsInLayer=function(t,e){return((e?88:112)+16*t)*t},t.UPPER_TABLE=["CTRL_PS"," ","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","CTRL_LL","CTRL_ML","CTRL_DL","CTRL_BS"],t.LOWER_TABLE=["CTRL_PS"," ","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","CTRL_US","CTRL_ML","CTRL_DL","CTRL_BS"],t.MIXED_TABLE=["CTRL_PS"," ","","","","","","","","\b","\t","\n","\v","\f","\r","","","","","","@","\\","^","_","`","|","~","","CTRL_LL","CTRL_UL","CTRL_PL","CTRL_BS"],t.PUNCT_TABLE=["","\r","\r\n",". ",", ",": ","!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}","CTRL_UL"],t.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],t}(),h=l;e.default=h},cc5c:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("aa9c"),r("c1a3"),r("cf80");var o=n(r("5a0c")),a=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(t,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,a=r.call(t),i=[];try{while((void 0===e||e-- >0)&&!(n=a.next()).done)i.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(r=a["return"])&&r.call(a)}finally{if(o)throw o.error}}return i},u=function(){function t(){this.values=new Map}return t.prototype.setValue=function(t){t=Math.trunc(t);var e=this.values.get(t);null==e&&(e=0),e++,this.values.set(t,e)},t.prototype.getValue=function(){var t,e,r=-1,n=new Array,u=function(t,e){var o={getKey:function(){return t},getValue:function(){return e}};o.getValue()>r?(r=o.getValue(),n=[],n.push(o.getKey())):o.getValue()===r&&n.push(o.getKey())};try{for(var f=a(this.values.entries()),d=f.next();!d.done;d=f.next()){var s=i(d.value,2),c=s[0],l=s[1];u(c,l)}}catch(h){t={error:h}}finally{try{d&&!d.done&&(e=f.return)&&e.call(f)}finally{if(t)throw t.error}}return o.default.toIntArray(n)},t.prototype.getConfidence=function(t){return this.values.get(t)},t}(),f=u;e.default=f},cc6b:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("4100");var n=function(){function t(){}return t.singletonList=function(t){return[t]},t.min=function(t,e){return t.sort(e)[0]},t}(),o=n;e.default=o},cd4e:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("c02e");var o=n(r("f74e")),a=n(r("7e0b")),i=n(r("f5e6")),u=n(r("ade5")),f=n(r("ae1e")),d=n(r("63d8")),s=n(r("60c5")),c=n(r("3f6d")),l=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function t(){this.rsDecoder=new u.default(i.default.QR_CODE_FIELD_256)}return t.prototype.decodeBooleanArray=function(t,e){return this.decodeBitMatrix(a.default.parseFromBooleanArray(t),e)},t.prototype.decodeBitMatrix=function(t,e){var r=new f.default(t),n=null;try{return this.decodeBitMatrixParser(r,e)}catch(a){n=a}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var o=this.decodeBitMatrixParser(r,e);return o.setOther(new c.default(!0)),o}catch(a){if(null!==n)throw n;throw a}},t.prototype.decodeBitMatrixParser=function(t,e){var r,n,o,a,i=t.readVersion(),u=t.readFormatInformation().getErrorCorrectionLevel(),f=t.readCodewords(),c=d.default.getDataBlocks(f,i,u),h=0;try{for(var p=l(c),g=p.next();!g.done;g=p.next()){var y=g.value;h+=y.getNumDataCodewords()}}catch(m){r={error:m}}finally{try{g&&!g.done&&(n=p.return)&&n.call(p)}finally{if(r)throw r.error}}var v=new Uint8Array(h),w=0;try{for(var _=l(c),b=_.next();!b.done;b=_.next()){y=b.value;var C=y.getCodewords(),A=y.getNumDataCodewords();this.correctErrors(C,A);for(var E=0;E<A;E++)v[w++]=C[E]}}catch(I){o={error:I}}finally{try{b&&!b.done&&(a=_.return)&&a.call(_)}finally{if(o)throw o.error}}return s.default.decode(v,i,u,e)},t.prototype.correctErrors=function(t,e){var r=new Int32Array(t);try{this.rsDecoder.decode(r,t.length-e)}catch(a){throw new o.default}for(var n=0;n<e;n++)t[n]=r[n]},t}(),p=h;e.default=p},cf80:function(t,e,r){"use strict";var n=r("8bdb"),o=r("1aad");n({target:"Math",stat:!0},{trunc:o})},cffa:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("c02e");var o=n(r("f74e")),a=n(r("f5e6")),i=n(r("ade5")),u=n(r("fd6f")),f=n(r("1bad")),d=n(r("0109")),s=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=function(){function t(){this.rsDecoder=new i.default(a.default.DATA_MATRIX_FIELD_256)}return t.prototype.decode=function(t){var e,r,n=new u.default(t),o=n.getVersion(),a=n.readCodewords(),i=f.default.getDataBlocks(a,o),c=0;try{for(var l=s(i),h=l.next();!h.done;h=l.next()){var p=h.value;c+=p.getNumDataCodewords()}}catch(A){e={error:A}}finally{try{h&&!h.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}for(var g=new Uint8Array(c),y=i.length,v=0;v<y;v++){var w=i[v],_=w.getCodewords(),b=w.getNumDataCodewords();this.correctErrors(_,b);for(var C=0;C<b;C++)g[C*y+v]=_[C]}return d.default.decode(g)},t.prototype.correctErrors=function(t,e){var r=new Int32Array(t);try{this.rsDecoder.decode(r,t.length-e)}catch(a){throw new o.default}for(var n=0;n<e;n++)t[n]=r[n]},t}(),l=c;e.default=l},d0af:function(t,e,r){"use strict";r("b3e2")},d147:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.MODE_UPPER=e.MODE_PUNCT=e.MODE_NAMES=e.MODE_MIXED=e.MODE_LOWER=e.MODE_DIGIT=e.EMPTY_TOKEN=void 0;var o=n(r("c20f"));e.MODE_NAMES=["UPPER","LOWER","DIGIT","MIXED","PUNCT"];e.MODE_UPPER=0;e.MODE_LOWER=1;e.MODE_DIGIT=2;e.MODE_MIXED=3;e.MODE_PUNCT=4;var a=new o.default(null,0,0);e.EMPTY_TOKEN=a},d36d:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}return t.prototype.getSegmentIndex=function(){return this.segmentIndex},t.prototype.setSegmentIndex=function(t){this.segmentIndex=t},t.prototype.getFileId=function(){return this.fileId},t.prototype.setFileId=function(t){this.fileId=t},t.prototype.getOptionalData=function(){return this.optionalData},t.prototype.setOptionalData=function(t){this.optionalData=t},t.prototype.isLastSegment=function(){return this.lastSegment},t.prototype.setLastSegment=function(t){this.lastSegment=t},t.prototype.getSegmentCount=function(){return this.segmentCount},t.prototype.setSegmentCount=function(t){this.segmentCount=t},t.prototype.getSender=function(){return this.sender||null},t.prototype.setSender=function(t){this.sender=t},t.prototype.getAddressee=function(){return this.addressee||null},t.prototype.setAddressee=function(t){this.addressee=t},t.prototype.getFileName=function(){return this.fileName},t.prototype.setFileName=function(t){this.fileName=t},t.prototype.getFileSize=function(){return this.fileSize},t.prototype.setFileSize=function(t){this.fileSize=t},t.prototype.getChecksum=function(){return this.checksum},t.prototype.setChecksum=function(t){this.checksum=t},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.setTimestamp=function(t){this.timestamp=t},t}(),o=n;e.default=o},d4f8:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80");var o=n(r("d618")),a=function(){function t(t){void 0===t&&(t=""),this.value=t}return t.prototype.enableDecoding=function(t){return this.encoding=t,this},t.prototype.append=function(t){return"string"===typeof t?this.value+=t.toString():this.encoding?this.value+=o.default.castAsNonUtf8Char(t,this.encoding):this.value+=String.fromCharCode(t),this},t.prototype.appendChars=function(t,e,r){for(var n=e;e<e+r;n++)this.append(t[n]);return this},t.prototype.length=function(){return this.value.length},t.prototype.charAt=function(t){return this.value.charAt(t)},t.prototype.deleteCharAt=function(t){this.value=this.value.substr(0,t)+this.value.substring(t+1)},t.prototype.setCharAt=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+1)},t.prototype.substring=function(t,e){return this.value.substring(t,e)},t.prototype.setLengthToZero=function(){this.value=""},t.prototype.toString=function(){return this.value},t.prototype.insert=function(t,e){this.value=this.value.substring(0,t)+e+this.value.substring(t)},t}(),i=a;e.default=i},d618:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("fcf3"));r("4db2"),r("bf0f"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("c9b5"),r("ab80"),r("e966"),r("e838"),r("d937"),r("d4b5"),r("5c47"),r("a1c1");var a=n(r("76a0")),i=n(r("253e")),u=n(r("a5e6")),f=function(){function t(){}return t.castAsNonUtf8Char=function(t,e){void 0===e&&(e=null);var r=e?e.getName():this.ISO88591;return u.default.decode(new Uint8Array([t]),r)},t.guessEncoding=function(e,r){if(null!==r&&void 0!==r&&void 0!==r.get(a.default.CHARACTER_SET))return r.get(a.default.CHARACTER_SET).toString();for(var n=e.length,o=!0,i=!0,u=!0,f=0,d=0,s=0,c=0,l=0,h=0,p=0,g=0,y=0,v=0,w=0,_=e.length>3&&239===e[0]&&187===e[1]&&191===e[2],b=0;b<n&&(o||i||u);b++){var C=255&e[b];u&&(f>0?0===(128&C)?u=!1:f--:0!==(128&C)&&(0===(64&C)?u=!1:(f++,0===(32&C)?d++:(f++,0===(16&C)?s++:(f++,0===(8&C)?c++:u=!1))))),o&&(C>127&&C<160?o=!1:C>159&&(C<192||215===C||247===C)&&w++),i&&(l>0?C<64||127===C||C>252?i=!1:l--:128===C||160===C||C>239?i=!1:C>160&&C<224?(h++,g=0,p++,p>y&&(y=p)):C>127?(l++,p=0,g++,g>v&&(v=g)):(p=0,g=0))}return u&&f>0&&(u=!1),i&&l>0&&(i=!1),u&&(_||d+s+c>0)?t.UTF8:i&&(t.ASSUME_SHIFT_JIS||y>=3||v>=3)?t.SHIFT_JIS:o&&i?2===y&&2===h||10*w>=n?t.SHIFT_JIS:t.ISO88591:o?t.ISO88591:i?t.SHIFT_JIS:u?t.UTF8:t.PLATFORM_DEFAULT_ENCODING},t.format=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=-1;function a(t,r,a,i,u,f){if("%%"===t)return"%";if(void 0!==e[++n]){t=i?parseInt(i.substr(1)):void 0;var d,s=u?parseInt(u.substr(1)):void 0;switch(f){case"s":d=e[n];break;case"c":d=e[n][0];break;case"f":d=parseFloat(e[n]).toFixed(t);break;case"p":d=parseFloat(e[n]).toPrecision(t);break;case"e":d=parseFloat(e[n]).toExponential(t);break;case"x":d=parseInt(e[n]).toString(s||16);break;case"d":d=parseFloat(parseInt(e[n],s||10).toPrecision(t)).toFixed(0);break}d="object"===(0,o.default)(d)?JSON.stringify(d):(+d).toString(s);var c=parseInt(a),l=a&&a[0]+""==="0"?"0":" ";while(d.length<c)d=void 0!==r?d+l:l+d;return d}}var i=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return t.replace(i,a)},t.getBytes=function(t,e){return u.default.encode(t,e)},t.getCharCode=function(t,e){return void 0===e&&(e=0),t.charCodeAt(e)},t.getCharAt=function(t){return String.fromCharCode(t)},t.SHIFT_JIS=i.default.SJIS.getName(),t.GB2312="GB2312",t.ISO88591=i.default.ISO8859_1.getName(),t.EUC_JP="EUC_JP",t.UTF8=i.default.UTF8.getName(),t.PLATFORM_DEFAULT_ENCODING=t.UTF8,t.ASSUME_SHIFT_JIS=!1,t}(),d=f;e.default=d},d61e:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("cf80"),r("c9b5"),r("bf0f"),r("ab80");var n=function(){function t(e,r,n,o){this.rowNumber=t.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(e),this.endX=Math.trunc(r),this.bucket=Math.trunc(n),this.value=Math.trunc(o)}return t.prototype.hasValidRowNumber=function(){return this.isValidRowNumber(this.rowNumber)},t.prototype.isValidRowNumber=function(e){return e!==t.BARCODE_ROW_UNKNOWN&&this.bucket===e%3*3},t.prototype.setRowNumberAsRowIndicatorColumn=function(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))},t.prototype.getWidth=function(){return this.endX-this.startX},t.prototype.getStartX=function(){return this.startX},t.prototype.getEndX=function(){return this.endX},t.prototype.getBucket=function(){return this.bucket},t.prototype.getValue=function(){return this.value},t.prototype.getRowNumber=function(){return this.rowNumber},t.prototype.setRowNumber=function(t){this.rowNumber=t},t.prototype.toString=function(){return this.rowNumber+"|"+this.value},t.BARCODE_ROW_UNKNOWN=-1,t}(),o=n;e.default=o},d757:function(t,e,r){"use strict";var n;r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,function(t){t[t["ERROR_CORRECTION"]=0]="ERROR_CORRECTION",t[t["CHARACTER_SET"]=1]="CHARACTER_SET",t[t["DATA_MATRIX_SHAPE"]=2]="DATA_MATRIX_SHAPE",t[t["DATA_MATRIX_COMPACT"]=3]="DATA_MATRIX_COMPACT",t[t["MIN_SIZE"]=4]="MIN_SIZE",t[t["MAX_SIZE"]=5]="MAX_SIZE",t[t["MARGIN"]=6]="MARGIN",t[t["PDF417_COMPACT"]=7]="PDF417_COMPACT",t[t["PDF417_COMPACTION"]=8]="PDF417_COMPACTION",t[t["PDF417_DIMENSIONS"]=9]="PDF417_DIMENSIONS",t[t["AZTEC_LAYERS"]=10]="AZTEC_LAYERS",t[t["QR_VERSION"]=11]="QR_VERSION",t[t["GS1_FORMAT"]=12]="GS1_FORMAT",t[t["FORCE_C40"]=13]="FORCE_C40"}(n||(n={}));var o=n;e.default=o},d889:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("fd3c"),r("f7a5"),r("ab80"),r("1878");var o=n(r("bab0")),a=n(r("d4f8")),i=n(r("f228")),u=n(r("b717")),f=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),d=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},s=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=new Int32Array(4),e}return f(e,t),e.prototype.decodeMiddle=function(t,r,n){var o,i,u=this.decodeMiddleCounters.map((function(t){return t}));u[0]=0,u[1]=0,u[2]=0,u[3]=0;for(var f=t.getSize(),s=r[1],c=0,l=0;l<6&&s<f;l++){var h=e.decodeDigit(t,u,s,e.L_AND_G_PATTERNS);n+=String.fromCharCode("0".charCodeAt(0)+h%10);try{for(var p=(o=void 0,d(u)),g=p.next();!g.done;g=p.next()){var y=g.value;s+=y}}catch(v){o={error:v}}finally{try{g&&!g.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}h>=10&&(c|=1<<5-l)}return e.determineNumSysAndCheckDigit(new a.default(n),c),s},e.prototype.decodeEnd=function(t,r){return e.findGuardPatternWithoutCounters(t,r,!0,e.MIDDLE_END_PATTERN)},e.prototype.checkChecksum=function(t){return o.default.checkChecksum(e.convertUPCEtoUPCA(t))},e.determineNumSysAndCheckDigit=function(t,e){for(var r=0;r<=1;r++)for(var n=0;n<10;n++)if(e===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[r][n])return t.insert(0,"0"+r),void t.append("0"+n);throw i.default.getNotFoundInstance()},e.prototype.getBarcodeFormat=function(){return u.default.UPC_E},e.convertUPCEtoUPCA=function(t){var e=t.slice(1,7).split("").map((function(t){return t.charCodeAt(0)})),r=new a.default;r.append(t.charAt(0));var n=e[5];switch(n){case 0:case 1:case 2:r.appendChars(e,0,2),r.append(n),r.append("0000"),r.appendChars(e,2,3);break;case 3:r.appendChars(e,0,3),r.append("00000"),r.appendChars(e,3,2);break;case 4:r.appendChars(e,0,4),r.append("00000"),r.append(e[4]);break;default:r.appendChars(e,0,5),r.append("0000"),r.append(n);break}return t.length>=8&&r.append(t.charAt(7)),r.toString()},e.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],e}(o.default),c=s;e.default=c},d90e:function(t,e,r){"use strict";r("6a54"),r("bf0f"),r("2797"),r("dc8a");var n=r("3639").default,o=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0});var a={ArgumentException:!0,ArithmeticException:!0,ChecksumException:!0,Exception:!0,FormatException:!0,IllegalArgumentException:!0,IllegalStateException:!0,NotFoundException:!0,ReaderException:!0,ReedSolomonException:!0,UnsupportedOperationException:!0,WriterException:!0,BarcodeFormat:!0,Binarizer:!0,BinaryBitmap:!0,DecodeHintType:!0,InvertedLuminanceSource:!0,LuminanceSource:!0,MultiFormatReader:!0,MultiFormatWriter:!0,PlanarYUVLuminanceSource:!0,Result:!0,ResultMetadataType:!0,RGBLuminanceSource:!0,ResultPoint:!0,ZXingSystem:!0,ZXingStringBuilder:!0,ZXingStringEncoding:!0,ZXingCharset:!0,ZXingArrays:!0,ZXingStandardCharsets:!0,ZXingInteger:!0,BitArray:!0,BitMatrix:!0,BitSource:!0,CharacterSetECI:!0,DecoderResult:!0,DefaultGridSampler:!0,DetectorResult:!0,EncodeHintType:!0,GlobalHistogramBinarizer:!0,GridSampler:!0,GridSamplerInstance:!0,HybridBinarizer:!0,PerspectiveTransform:!0,StringUtils:!0,MathUtils:!0,WhiteRectangleDetector:!0,GenericGF:!0,GenericGFPoly:!0,ReedSolomonDecoder:!0,ReedSolomonEncoder:!0,DataMatrixReader:!0,DataMatrixDecodedBitStreamParser:!0,DataMatrixDefaultPlacement:!0,DataMatrixErrorCorrection:!0,DataMatrixHighLevelEncoder:!0,DataMatrixSymbolInfo:!0,DataMatrixSymbolShapeHint:!0,DataMatrixWriter:!0,PDF417Reader:!0,PDF417ResultMetadata:!0,PDF417DecodedBitStreamParser:!0,PDF417DecoderErrorCorrection:!0,QRCodeReader:!0,QRCodeWriter:!0,QRCodeDecoderErrorCorrectionLevel:!0,QRCodeDecoderFormatInformation:!0,QRCodeVersion:!0,QRCodeMode:!0,QRCodeDecodedBitStreamParser:!0,QRCodeDataMask:!0,QRCodeEncoder:!0,QRCodeEncoderQRCode:!0,QRCodeMatrixUtil:!0,QRCodeByteMatrix:!0,QRCodeMaskUtil:!0,AztecCodeReader:!0,AztecCodeWriter:!0,AztecDetectorResult:!0,AztecEncoder:!0,AztecHighLevelEncoder:!0,AztecCode:!0,AztecDecoder:!0,AztecDetector:!0,AztecPoint:!0,OneDReader:!0,EAN13Reader:!0,Code128Reader:!0,ITFReader:!0,Code39Reader:!0,Code93Reader:!0,RSS14Reader:!0,RSSExpandedReader:!0,AbstractExpandedDecoder:!0,createAbstractExpandedDecoder:!0,MultiFormatOneDReader:!0,CodaBarReader:!0};Object.defineProperty(e,"AbstractExpandedDecoder",{enumerable:!0,get:function(){return zt.default}}),Object.defineProperty(e,"ArgumentException",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"ArithmeticException",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"AztecCode",{enumerable:!0,get:function(){return Lt.default}}),Object.defineProperty(e,"AztecCodeReader",{enumerable:!0,get:function(){return Rt.default}}),Object.defineProperty(e,"AztecCodeWriter",{enumerable:!0,get:function(){return Dt.default}}),Object.defineProperty(e,"AztecDecoder",{enumerable:!0,get:function(){return Ft.default}}),Object.defineProperty(e,"AztecDetector",{enumerable:!0,get:function(){return xt.default}}),Object.defineProperty(e,"AztecDetectorResult",{enumerable:!0,get:function(){return Mt.default}}),Object.defineProperty(e,"AztecEncoder",{enumerable:!0,get:function(){return Pt.default}}),Object.defineProperty(e,"AztecHighLevelEncoder",{enumerable:!0,get:function(){return Bt.default}}),Object.defineProperty(e,"AztecPoint",{enumerable:!0,get:function(){return xt.Point}}),Object.defineProperty(e,"BarcodeFormat",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"Binarizer",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"BinaryBitmap",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"BitArray",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"BitMatrix",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(e,"BitSource",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"CharacterSetECI",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"ChecksumException",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"CodaBarReader",{enumerable:!0,get:function(){return Kt.default}}),Object.defineProperty(e,"Code128Reader",{enumerable:!0,get:function(){return Ht.default}}),Object.defineProperty(e,"Code39Reader",{enumerable:!0,get:function(){return Vt.default}}),Object.defineProperty(e,"Code93Reader",{enumerable:!0,get:function(){return Xt.default}}),Object.defineProperty(e,"DataMatrixDecodedBitStreamParser",{enumerable:!0,get:function(){return it.default}}),Object.defineProperty(e,"DataMatrixDefaultPlacement",{enumerable:!0,get:function(){return ut.default}}),Object.defineProperty(e,"DataMatrixErrorCorrection",{enumerable:!0,get:function(){return ft.default}}),Object.defineProperty(e,"DataMatrixHighLevelEncoder",{enumerable:!0,get:function(){return dt.default}}),Object.defineProperty(e,"DataMatrixReader",{enumerable:!0,get:function(){return at.default}}),Object.defineProperty(e,"DataMatrixSymbolInfo",{enumerable:!0,get:function(){return st.default}}),Object.defineProperty(e,"DataMatrixSymbolShapeHint",{enumerable:!0,get:function(){return ct.SymbolShapeHint}}),Object.defineProperty(e,"DataMatrixWriter",{enumerable:!0,get:function(){return lt.default}}),Object.defineProperty(e,"DecodeHintType",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"DecoderResult",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(e,"DefaultGridSampler",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"DetectorResult",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"EAN13Reader",{enumerable:!0,get:function(){return jt.default}}),Object.defineProperty(e,"EncodeHintType",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"Exception",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"FormatException",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"GenericGF",{enumerable:!0,get:function(){return et.default}}),Object.defineProperty(e,"GenericGFPoly",{enumerable:!0,get:function(){return rt.default}}),Object.defineProperty(e,"GlobalHistogramBinarizer",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(e,"GridSampler",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"GridSamplerInstance",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"HybridBinarizer",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"ITFReader",{enumerable:!0,get:function(){return Ut.default}}),Object.defineProperty(e,"IllegalArgumentException",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"IllegalStateException",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"InvertedLuminanceSource",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"LuminanceSource",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"MathUtils",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"MultiFormatOneDReader",{enumerable:!0,get:function(){return Zt.default}}),Object.defineProperty(e,"MultiFormatReader",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"MultiFormatWriter",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"NotFoundException",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"OneDReader",{enumerable:!0,get:function(){return kt.default}}),Object.defineProperty(e,"PDF417DecodedBitStreamParser",{enumerable:!0,get:function(){return gt.default}}),Object.defineProperty(e,"PDF417DecoderErrorCorrection",{enumerable:!0,get:function(){return yt.default}}),Object.defineProperty(e,"PDF417Reader",{enumerable:!0,get:function(){return ht.default}}),Object.defineProperty(e,"PDF417ResultMetadata",{enumerable:!0,get:function(){return pt.default}}),Object.defineProperty(e,"PerspectiveTransform",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"PlanarYUVLuminanceSource",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"QRCodeByteMatrix",{enumerable:!0,get:function(){return Tt.default}}),Object.defineProperty(e,"QRCodeDataMask",{enumerable:!0,get:function(){return mt.default}}),Object.defineProperty(e,"QRCodeDecodedBitStreamParser",{enumerable:!0,get:function(){return Et.default}}),Object.defineProperty(e,"QRCodeDecoderErrorCorrectionLevel",{enumerable:!0,get:function(){return _t.default}}),Object.defineProperty(e,"QRCodeDecoderFormatInformation",{enumerable:!0,get:function(){return bt.default}}),Object.defineProperty(e,"QRCodeEncoder",{enumerable:!0,get:function(){return It.default}}),Object.defineProperty(e,"QRCodeEncoderQRCode",{enumerable:!0,get:function(){return Ot.default}}),Object.defineProperty(e,"QRCodeMaskUtil",{enumerable:!0,get:function(){return Nt.default}}),Object.defineProperty(e,"QRCodeMatrixUtil",{enumerable:!0,get:function(){return St.default}}),Object.defineProperty(e,"QRCodeMode",{enumerable:!0,get:function(){return At.default}}),Object.defineProperty(e,"QRCodeReader",{enumerable:!0,get:function(){return vt.default}}),Object.defineProperty(e,"QRCodeVersion",{enumerable:!0,get:function(){return Ct.default}}),Object.defineProperty(e,"QRCodeWriter",{enumerable:!0,get:function(){return wt.default}}),Object.defineProperty(e,"RGBLuminanceSource",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"RSS14Reader",{enumerable:!0,get:function(){return Gt.default}}),Object.defineProperty(e,"RSSExpandedReader",{enumerable:!0,get:function(){return Wt.default}}),Object.defineProperty(e,"ReaderException",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"ReedSolomonDecoder",{enumerable:!0,get:function(){return nt.default}}),Object.defineProperty(e,"ReedSolomonEncoder",{enumerable:!0,get:function(){return ot.default}}),Object.defineProperty(e,"ReedSolomonException",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"Result",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"ResultMetadataType",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"ResultPoint",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"StringUtils",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(e,"UnsupportedOperationException",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"WhiteRectangleDetector",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(e,"WriterException",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"ZXingArrays",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"ZXingCharset",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"ZXingInteger",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"ZXingStandardCharsets",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"ZXingStringBuilder",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"ZXingStringEncoding",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"ZXingSystem",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"createAbstractExpandedDecoder",{enumerable:!0,get:function(){return Yt.createDecoder}});var i=r("7599");Object.keys(i).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(a,t)||t in e&&e[t]===i[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}}))}));var u=o(r("3fa8")),f=o(r("dc67")),d=o(r("f74e")),s=o(r("7322")),c=o(r("343e")),l=o(r("f7fd")),h=o(r("9e56")),p=o(r("f228")),g=o(r("843b")),y=o(r("db8e")),v=o(r("4e64")),w=o(r("6468")),_=o(r("b717")),b=o(r("333e")),C=o(r("7a09")),A=o(r("76a0")),E=o(r("a6ba")),m=o(r("3727")),I=o(r("b6de")),O=o(r("695a")),S=o(r("3a9e")),T=o(r("0c24")),N=o(r("37ed")),R=o(r("13be")),D=o(r("a8be")),M=o(r("1ff8")),P=o(r("d4f8")),B=o(r("a5e6")),L=o(r("a8ae")),F=o(r("36d3")),x=o(r("87e7")),k=o(r("e5d0")),j=o(r("9c16")),H=o(r("7e0b")),U=o(r("c41c")),V=o(r("253e")),X=o(r("107a")),G=o(r("692c")),W=o(r("7e9b")),z=o(r("d757")),Y=o(r("c789")),Z=o(r("a9e1")),K=o(r("d9cd")),Q=o(r("9fc4")),q=o(r("2efa")),J=o(r("d618")),$=o(r("c769")),tt=o(r("dfe7")),et=o(r("f5e6")),rt=o(r("0497")),nt=o(r("ade5")),ot=o(r("84e1")),at=o(r("5847")),it=o(r("0109")),ut=o(r("061d")),ft=o(r("88aa")),dt=o(r("3fac")),st=o(r("44d8")),ct=r("eab1"),lt=o(r("62e9")),ht=o(r("c3c6")),pt=o(r("d36d")),gt=o(r("02e6")),yt=o(r("dc3a")),vt=o(r("08c4")),wt=o(r("a438")),_t=o(r("08c5")),bt=o(r("3b65")),Ct=o(r("e01c")),At=o(r("842e")),Et=o(r("60c5")),mt=o(r("56c52")),It=o(r("6387")),Ot=o(r("a2dd")),St=o(r("ad71")),Tt=o(r("76f5")),Nt=o(r("647e")),Rt=o(r("50f3")),Dt=o(r("fa9c")),Mt=o(r("836d")),Pt=o(r("5c2a")),Bt=o(r("a27b")),Lt=o(r("dda8")),Ft=o(r("c9e4")),xt=n(r("3b7d")),kt=o(r("4d7d")),jt=o(r("3655")),Ht=o(r("36aa")),Ut=o(r("6806")),Vt=o(r("b1cb")),Xt=o(r("e0a5")),Gt=o(r("8456")),Wt=o(r("a9a0")),zt=o(r("8d76")),Yt=r("7004"),Zt=o(r("51ff")),Kt=o(r("6d31"))},d937:function(t,e,r){"use strict";var n=r("8bdb"),o=r("bb80"),a=r("497b"),i=r("83fa"),u=r("f298"),f=r("2e7f"),d=r("af9e"),s=RangeError,c=String,l=isFinite,h=Math.abs,p=Math.floor,g=Math.pow,y=Math.round,v=o(1..toExponential),w=o(u),_=o("".slice),b="-6.9000e-11"===v(-69e-12,4)&&"1.25e+0"===v(1.255,2)&&"1.235e+4"===v(12345,3)&&"3e+1"===v(25,0),C=!b||!function(){return d((function(){v(1,1/0)}))&&d((function(){v(1,-1/0)}))}()||!function(){return!d((function(){v(1/0,1/0),v(NaN,1/0)}))}();n({target:"Number",proto:!0,forced:C},{toExponential:function(t){var e=i(this);if(void 0===t)return v(e);var r=a(t);if(!l(e))return String(e);if(r<0||r>20)throw new s("Incorrect fraction digits");if(b)return v(e,r);var n="",o="",u=0,d="",C="";if(e<0&&(n="-",e=-e),0===e)u=0,o=w("0",r+1);else{var A=f(e);u=p(A);var E=0,m=g(10,u-r);E=y(e/m),2*e>=(2*E+1)*m&&(E+=1),E>=g(10,r+1)&&(E/=10,u+=1),o=c(E)}return 0!==r&&(o=_(o,0,1)+"."+_(o,1)),0===u?(d="+",C="0"):(d=u>0?"+":"-",C=c(h(u))),o+="e"+d+C,n+o}})},d9cd:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("692c")),a=function(){function t(){}return t.setGridSampler=function(e){t.gridSampler=e},t.getInstance=function(){return t.gridSampler},t.gridSampler=new o.default,t}(),i=a;e.default=i},db51:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("cf80");var o=n(r("f228")),a=n(r("a8be")),i=function(){function t(e,r,n,o,a){e instanceof t?this.constructor_2(e):this.constructor_1(e,r,n,o,a)}return t.prototype.constructor_1=function(t,e,r,n,i){var u=null==e||null==r,f=null==n||null==i;if(u&&f)throw new o.default;u?(e=new a.default(0,n.getY()),r=new a.default(0,i.getY())):f&&(n=new a.default(t.getWidth()-1,e.getY()),i=new a.default(t.getWidth()-1,r.getY())),this.image=t,this.topLeft=e,this.bottomLeft=r,this.topRight=n,this.bottomRight=i,this.minX=Math.trunc(Math.min(e.getX(),r.getX())),this.maxX=Math.trunc(Math.max(n.getX(),i.getX())),this.minY=Math.trunc(Math.min(e.getY(),n.getY())),this.maxY=Math.trunc(Math.max(r.getY(),i.getY()))},t.prototype.constructor_2=function(t){this.image=t.image,this.topLeft=t.getTopLeft(),this.bottomLeft=t.getBottomLeft(),this.topRight=t.getTopRight(),this.bottomRight=t.getBottomRight(),this.minX=t.getMinX(),this.maxX=t.getMaxX(),this.minY=t.getMinY(),this.maxY=t.getMaxY()},t.merge=function(e,r){return null==e?r:null==r?e:new t(e.image,e.topLeft,e.bottomLeft,r.topRight,r.bottomRight)},t.prototype.addMissingRows=function(e,r,n){var o=this.topLeft,i=this.bottomLeft,u=this.topRight,f=this.bottomRight;if(e>0){var d=n?this.topLeft:this.topRight,s=Math.trunc(d.getY()-e);s<0&&(s=0);var c=new a.default(d.getX(),s);n?o=c:u=c}if(r>0){var l=n?this.bottomLeft:this.bottomRight,h=Math.trunc(l.getY()+r);h>=this.image.getHeight()&&(h=this.image.getHeight()-1);var p=new a.default(l.getX(),h);n?i=p:f=p}return new t(this.image,o,i,u,f)},t.prototype.getMinX=function(){return this.minX},t.prototype.getMaxX=function(){return this.maxX},t.prototype.getMinY=function(){return this.minY},t.prototype.getMaxY=function(){return this.maxY},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getBottomRight=function(){return this.bottomRight},t}(),u=i;e.default=u},db8e:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.kind="ReedSolomonException",e}(o.default),u=i;e.default=u},dc3a:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("f74e")),a=n(r("1ee0")),i=n(r("6b90")),u=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(){function t(){this.field=i.default.PDF417_GF}return t.prototype.decode=function(t,e,r){for(var n,i,f=new a.default(this.field,t),d=new Int32Array(e),s=!1,c=e;c>0;c--){var l=f.evaluateAt(this.field.exp(c));d[e-c]=l,0!==l&&(s=!0)}if(!s)return 0;var h=this.field.getOne();if(null!=r)try{for(var p=u(r),g=p.next();!g.done;g=p.next()){var y=g.value,v=this.field.exp(t.length-1-y),w=new a.default(this.field,new Int32Array([this.field.subtract(0,v),1]));h=h.multiply(w)}}catch(O){n={error:O}}finally{try{g&&!g.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}var _=new a.default(this.field,d),b=this.runEuclideanAlgorithm(this.field.buildMonomial(e,1),_,e),C=b[0],A=b[1],E=this.findErrorLocations(C),m=this.findErrorMagnitudes(A,C,E);for(c=0;c<E.length;c++){var I=t.length-1-this.field.log(E[c]);if(I<0)throw o.default.getChecksumInstance();t[I]=this.field.subtract(t[I],m[c])}return E.length},t.prototype.runEuclideanAlgorithm=function(t,e,r){if(t.getDegree()<e.getDegree()){var n=t;t=e,e=n}var a=t,i=e,u=this.field.getZero(),f=this.field.getOne();while(i.getDegree()>=Math.round(r/2)){var d=a,s=u;if(a=i,u=f,a.isZero())throw o.default.getChecksumInstance();i=d;var c=this.field.getZero(),l=a.getCoefficient(a.getDegree()),h=this.field.inverse(l);while(i.getDegree()>=a.getDegree()&&!i.isZero()){var p=i.getDegree()-a.getDegree(),g=this.field.multiply(i.getCoefficient(i.getDegree()),h);c=c.add(this.field.buildMonomial(p,g)),i=i.subtract(a.multiplyByMonomial(p,g))}f=c.multiply(u).subtract(s).negative()}var y=f.getCoefficient(0);if(0===y)throw o.default.getChecksumInstance();var v=this.field.inverse(y),w=f.multiply(v),_=i.multiply(v);return[w,_]},t.prototype.findErrorLocations=function(t){for(var e=t.getDegree(),r=new Int32Array(e),n=0,a=1;a<this.field.getSize()&&n<e;a++)0===t.evaluateAt(a)&&(r[n]=this.field.inverse(a),n++);if(n!==e)throw o.default.getChecksumInstance();return r},t.prototype.findErrorMagnitudes=function(t,e,r){for(var n=e.getDegree(),o=new Int32Array(n),i=1;i<=n;i++)o[n-i]=this.field.multiply(i,e.getCoefficient(i));var u=new a.default(this.field,o),f=r.length,d=new Int32Array(f);for(i=0;i<f;i++){var s=this.field.inverse(r[i]),c=this.field.subtract(0,t.evaluateAt(s)),l=this.field.inverse(u.evaluateAt(s));d[i]=this.field.multiply(c,l)}return d},t}(),d=f;e.default=d},dc67:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.kind="ArithmeticException",e}(o.default),u=i;e.default=u},dda8:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(){}return t.prototype.isCompact=function(){return this.compact},t.prototype.setCompact=function(t){this.compact=t},t.prototype.getSize=function(){return this.size},t.prototype.setSize=function(t){this.size=t},t.prototype.getLayers=function(){return this.layers},t.prototype.setLayers=function(t){this.layers=t},t.prototype.getCodeWords=function(){return this.codeWords},t.prototype.setCodeWords=function(t){this.codeWords=t},t.prototype.getMatrix=function(){return this.matrix},t.prototype.setMatrix=function(t){this.matrix=t},t}(),o=n;e.default=o},dfe7:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("a8be")),a=n(r("c769")),i=n(r("f228")),u=function(){function t(e,r,n,o){this.image=e,this.height=e.getHeight(),this.width=e.getWidth(),void 0!==r&&null!==r||(r=t.INIT_SIZE),void 0!==n&&null!==n||(n=e.getWidth()/2|0),void 0!==o&&null!==o||(o=e.getHeight()/2|0);var a=r/2|0;if(this.leftInit=n-a,this.rightInit=n+a,this.upInit=o-a,this.downInit=o+a,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new i.default}return t.prototype.detect=function(){var t=this.leftInit,e=this.rightInit,r=this.upInit,n=this.downInit,o=!1,a=!0,u=!1,f=!1,d=!1,s=!1,c=!1,l=this.width,h=this.height;while(a){a=!1;var p=!0;while((p||!f)&&e<l)p=this.containsBlackPoint(r,n,e,!1),p?(e++,a=!0,f=!0):f||e++;if(e>=l){o=!0;break}var g=!0;while((g||!d)&&n<h)g=this.containsBlackPoint(t,e,n,!0),g?(n++,a=!0,d=!0):d||n++;if(n>=h){o=!0;break}var y=!0;while((y||!s)&&t>=0)y=this.containsBlackPoint(r,n,t,!1),y?(t--,a=!0,s=!0):s||t--;if(t<0){o=!0;break}var v=!0;while((v||!c)&&r>=0)v=this.containsBlackPoint(t,e,r,!0),v?(r--,a=!0,c=!0):c||r--;if(r<0){o=!0;break}a&&(u=!0)}if(!o&&u){for(var w=e-t,_=null,b=1;null===_&&b<w;b++)_=this.getBlackPointOnSegment(t,n-b,t+b,n);if(null==_)throw new i.default;var C=null;for(b=1;null===C&&b<w;b++)C=this.getBlackPointOnSegment(t,r+b,t+b,r);if(null==C)throw new i.default;var A=null;for(b=1;null===A&&b<w;b++)A=this.getBlackPointOnSegment(e,r+b,e-b,r);if(null==A)throw new i.default;var E=null;for(b=1;null===E&&b<w;b++)E=this.getBlackPointOnSegment(e,n-b,e-b,n);if(null==E)throw new i.default;return this.centerEdges(E,_,A,C)}throw new i.default},t.prototype.getBlackPointOnSegment=function(t,e,r,n){for(var i=a.default.round(a.default.distance(t,e,r,n)),u=(r-t)/i,f=(n-e)/i,d=this.image,s=0;s<i;s++){var c=a.default.round(t+s*u),l=a.default.round(e+s*f);if(d.get(c,l))return new o.default(c,l)}return null},t.prototype.centerEdges=function(e,r,n,a){var i=e.getX(),u=e.getY(),f=r.getX(),d=r.getY(),s=n.getX(),c=n.getY(),l=a.getX(),h=a.getY(),p=t.CORR;return i<this.width/2?[new o.default(l-p,h+p),new o.default(f+p,d+p),new o.default(s-p,c-p),new o.default(i+p,u-p)]:[new o.default(l+p,h+p),new o.default(f+p,d-p),new o.default(s-p,c+p),new o.default(i-p,u-p)]},t.prototype.containsBlackPoint=function(t,e,r,n){var o=this.image;if(n){for(var a=t;a<=e;a++)if(o.get(a,r))return!0}else for(var i=t;i<=e;i++)if(o.get(r,i))return!0;return!1},t.INIT_SIZE=10,t.CORR=1,t}(),f=u;e.default=f},e01c:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("e062"),r("64aa"),r("ab80"),r("1878"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("7e0b")),a=n(r("3b65")),i=n(r("a541")),u=n(r("f0b7")),f=n(r("343e")),d=n(r("f7fd")),s=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=function(){function t(t,e){for(var r,n,o=[],a=2;a<arguments.length;a++)o[a-2]=arguments[a];this.versionNumber=t,this.alignmentPatternCenters=e,this.ecBlocks=o;var i=0,u=o[0].getECCodewordsPerBlock(),f=o[0].getECBlocks();try{for(var d=s(f),c=d.next();!c.done;c=d.next()){var l=c.value;i+=l.getCount()*(l.getDataCodewords()+u)}}catch(h){r={error:h}}finally{try{c&&!c.done&&(n=d.return)&&n.call(d)}finally{if(r)throw r.error}}this.totalCodewords=i}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getAlignmentPatternCenters=function(){return this.alignmentPatternCenters},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getDimensionForVersion=function(){return 17+4*this.versionNumber},t.prototype.getECBlocksForLevel=function(t){return this.ecBlocks[t.getValue()]},t.getProvisionalVersionForDimension=function(t){if(t%4!==1)throw new f.default;try{return this.getVersionForNumber((t-17)/4)}catch(e){throw new f.default}},t.getVersionForNumber=function(e){if(e<1||e>40)throw new d.default;return t.VERSIONS[e-1]},t.decodeVersionInformation=function(e){for(var r=Number.MAX_SAFE_INTEGER,n=0,o=0;o<t.VERSION_DECODE_INFO.length;o++){var i=t.VERSION_DECODE_INFO[o];if(i===e)return t.getVersionForNumber(o+7);var u=a.default.numBitsDiffering(e,i);u<r&&(n=o+7,r=u)}return r<=3?t.getVersionForNumber(n):null},t.prototype.buildFunctionPattern=function(){var t=this.getDimensionForVersion(),e=new o.default(t);e.setRegion(0,0,9,9),e.setRegion(t-8,0,8,9),e.setRegion(0,t-8,9,8);for(var r=this.alignmentPatternCenters.length,n=0;n<r;n++)for(var a=this.alignmentPatternCenters[n]-2,i=0;i<r;i++)0===n&&(0===i||i===r-1)||n===r-1&&0===i||e.setRegion(this.alignmentPatternCenters[i]-2,a,5,5);return e.setRegion(6,9,1,t-17),e.setRegion(9,6,t-17,1),this.versionNumber>6&&(e.setRegion(t-11,0,3,6),e.setRegion(0,t-11,6,3)),e},t.prototype.toString=function(){return""+this.versionNumber},t.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),t.VERSIONS=[new t(1,new Int32Array(0),new i.default(7,new u.default(1,19)),new i.default(10,new u.default(1,16)),new i.default(13,new u.default(1,13)),new i.default(17,new u.default(1,9))),new t(2,Int32Array.from([6,18]),new i.default(10,new u.default(1,34)),new i.default(16,new u.default(1,28)),new i.default(22,new u.default(1,22)),new i.default(28,new u.default(1,16))),new t(3,Int32Array.from([6,22]),new i.default(15,new u.default(1,55)),new i.default(26,new u.default(1,44)),new i.default(18,new u.default(2,17)),new i.default(22,new u.default(2,13))),new t(4,Int32Array.from([6,26]),new i.default(20,new u.default(1,80)),new i.default(18,new u.default(2,32)),new i.default(26,new u.default(2,24)),new i.default(16,new u.default(4,9))),new t(5,Int32Array.from([6,30]),new i.default(26,new u.default(1,108)),new i.default(24,new u.default(2,43)),new i.default(18,new u.default(2,15),new u.default(2,16)),new i.default(22,new u.default(2,11),new u.default(2,12))),new t(6,Int32Array.from([6,34]),new i.default(18,new u.default(2,68)),new i.default(16,new u.default(4,27)),new i.default(24,new u.default(4,19)),new i.default(28,new u.default(4,15))),new t(7,Int32Array.from([6,22,38]),new i.default(20,new u.default(2,78)),new i.default(18,new u.default(4,31)),new i.default(18,new u.default(2,14),new u.default(4,15)),new i.default(26,new u.default(4,13),new u.default(1,14))),new t(8,Int32Array.from([6,24,42]),new i.default(24,new u.default(2,97)),new i.default(22,new u.default(2,38),new u.default(2,39)),new i.default(22,new u.default(4,18),new u.default(2,19)),new i.default(26,new u.default(4,14),new u.default(2,15))),new t(9,Int32Array.from([6,26,46]),new i.default(30,new u.default(2,116)),new i.default(22,new u.default(3,36),new u.default(2,37)),new i.default(20,new u.default(4,16),new u.default(4,17)),new i.default(24,new u.default(4,12),new u.default(4,13))),new t(10,Int32Array.from([6,28,50]),new i.default(18,new u.default(2,68),new u.default(2,69)),new i.default(26,new u.default(4,43),new u.default(1,44)),new i.default(24,new u.default(6,19),new u.default(2,20)),new i.default(28,new u.default(6,15),new u.default(2,16))),new t(11,Int32Array.from([6,30,54]),new i.default(20,new u.default(4,81)),new i.default(30,new u.default(1,50),new u.default(4,51)),new i.default(28,new u.default(4,22),new u.default(4,23)),new i.default(24,new u.default(3,12),new u.default(8,13))),new t(12,Int32Array.from([6,32,58]),new i.default(24,new u.default(2,92),new u.default(2,93)),new i.default(22,new u.default(6,36),new u.default(2,37)),new i.default(26,new u.default(4,20),new u.default(6,21)),new i.default(28,new u.default(7,14),new u.default(4,15))),new t(13,Int32Array.from([6,34,62]),new i.default(26,new u.default(4,107)),new i.default(22,new u.default(8,37),new u.default(1,38)),new i.default(24,new u.default(8,20),new u.default(4,21)),new i.default(22,new u.default(12,11),new u.default(4,12))),new t(14,Int32Array.from([6,26,46,66]),new i.default(30,new u.default(3,115),new u.default(1,116)),new i.default(24,new u.default(4,40),new u.default(5,41)),new i.default(20,new u.default(11,16),new u.default(5,17)),new i.default(24,new u.default(11,12),new u.default(5,13))),new t(15,Int32Array.from([6,26,48,70]),new i.default(22,new u.default(5,87),new u.default(1,88)),new i.default(24,new u.default(5,41),new u.default(5,42)),new i.default(30,new u.default(5,24),new u.default(7,25)),new i.default(24,new u.default(11,12),new u.default(7,13))),new t(16,Int32Array.from([6,26,50,74]),new i.default(24,new u.default(5,98),new u.default(1,99)),new i.default(28,new u.default(7,45),new u.default(3,46)),new i.default(24,new u.default(15,19),new u.default(2,20)),new i.default(30,new u.default(3,15),new u.default(13,16))),new t(17,Int32Array.from([6,30,54,78]),new i.default(28,new u.default(1,107),new u.default(5,108)),new i.default(28,new u.default(10,46),new u.default(1,47)),new i.default(28,new u.default(1,22),new u.default(15,23)),new i.default(28,new u.default(2,14),new u.default(17,15))),new t(18,Int32Array.from([6,30,56,82]),new i.default(30,new u.default(5,120),new u.default(1,121)),new i.default(26,new u.default(9,43),new u.default(4,44)),new i.default(28,new u.default(17,22),new u.default(1,23)),new i.default(28,new u.default(2,14),new u.default(19,15))),new t(19,Int32Array.from([6,30,58,86]),new i.default(28,new u.default(3,113),new u.default(4,114)),new i.default(26,new u.default(3,44),new u.default(11,45)),new i.default(26,new u.default(17,21),new u.default(4,22)),new i.default(26,new u.default(9,13),new u.default(16,14))),new t(20,Int32Array.from([6,34,62,90]),new i.default(28,new u.default(3,107),new u.default(5,108)),new i.default(26,new u.default(3,41),new u.default(13,42)),new i.default(30,new u.default(15,24),new u.default(5,25)),new i.default(28,new u.default(15,15),new u.default(10,16))),new t(21,Int32Array.from([6,28,50,72,94]),new i.default(28,new u.default(4,116),new u.default(4,117)),new i.default(26,new u.default(17,42)),new i.default(28,new u.default(17,22),new u.default(6,23)),new i.default(30,new u.default(19,16),new u.default(6,17))),new t(22,Int32Array.from([6,26,50,74,98]),new i.default(28,new u.default(2,111),new u.default(7,112)),new i.default(28,new u.default(17,46)),new i.default(30,new u.default(7,24),new u.default(16,25)),new i.default(24,new u.default(34,13))),new t(23,Int32Array.from([6,30,54,78,102]),new i.default(30,new u.default(4,121),new u.default(5,122)),new i.default(28,new u.default(4,47),new u.default(14,48)),new i.default(30,new u.default(11,24),new u.default(14,25)),new i.default(30,new u.default(16,15),new u.default(14,16))),new t(24,Int32Array.from([6,28,54,80,106]),new i.default(30,new u.default(6,117),new u.default(4,118)),new i.default(28,new u.default(6,45),new u.default(14,46)),new i.default(30,new u.default(11,24),new u.default(16,25)),new i.default(30,new u.default(30,16),new u.default(2,17))),new t(25,Int32Array.from([6,32,58,84,110]),new i.default(26,new u.default(8,106),new u.default(4,107)),new i.default(28,new u.default(8,47),new u.default(13,48)),new i.default(30,new u.default(7,24),new u.default(22,25)),new i.default(30,new u.default(22,15),new u.default(13,16))),new t(26,Int32Array.from([6,30,58,86,114]),new i.default(28,new u.default(10,114),new u.default(2,115)),new i.default(28,new u.default(19,46),new u.default(4,47)),new i.default(28,new u.default(28,22),new u.default(6,23)),new i.default(30,new u.default(33,16),new u.default(4,17))),new t(27,Int32Array.from([6,34,62,90,118]),new i.default(30,new u.default(8,122),new u.default(4,123)),new i.default(28,new u.default(22,45),new u.default(3,46)),new i.default(30,new u.default(8,23),new u.default(26,24)),new i.default(30,new u.default(12,15),new u.default(28,16))),new t(28,Int32Array.from([6,26,50,74,98,122]),new i.default(30,new u.default(3,117),new u.default(10,118)),new i.default(28,new u.default(3,45),new u.default(23,46)),new i.default(30,new u.default(4,24),new u.default(31,25)),new i.default(30,new u.default(11,15),new u.default(31,16))),new t(29,Int32Array.from([6,30,54,78,102,126]),new i.default(30,new u.default(7,116),new u.default(7,117)),new i.default(28,new u.default(21,45),new u.default(7,46)),new i.default(30,new u.default(1,23),new u.default(37,24)),new i.default(30,new u.default(19,15),new u.default(26,16))),new t(30,Int32Array.from([6,26,52,78,104,130]),new i.default(30,new u.default(5,115),new u.default(10,116)),new i.default(28,new u.default(19,47),new u.default(10,48)),new i.default(30,new u.default(15,24),new u.default(25,25)),new i.default(30,new u.default(23,15),new u.default(25,16))),new t(31,Int32Array.from([6,30,56,82,108,134]),new i.default(30,new u.default(13,115),new u.default(3,116)),new i.default(28,new u.default(2,46),new u.default(29,47)),new i.default(30,new u.default(42,24),new u.default(1,25)),new i.default(30,new u.default(23,15),new u.default(28,16))),new t(32,Int32Array.from([6,34,60,86,112,138]),new i.default(30,new u.default(17,115)),new i.default(28,new u.default(10,46),new u.default(23,47)),new i.default(30,new u.default(10,24),new u.default(35,25)),new i.default(30,new u.default(19,15),new u.default(35,16))),new t(33,Int32Array.from([6,30,58,86,114,142]),new i.default(30,new u.default(17,115),new u.default(1,116)),new i.default(28,new u.default(14,46),new u.default(21,47)),new i.default(30,new u.default(29,24),new u.default(19,25)),new i.default(30,new u.default(11,15),new u.default(46,16))),new t(34,Int32Array.from([6,34,62,90,118,146]),new i.default(30,new u.default(13,115),new u.default(6,116)),new i.default(28,new u.default(14,46),new u.default(23,47)),new i.default(30,new u.default(44,24),new u.default(7,25)),new i.default(30,new u.default(59,16),new u.default(1,17))),new t(35,Int32Array.from([6,30,54,78,102,126,150]),new i.default(30,new u.default(12,121),new u.default(7,122)),new i.default(28,new u.default(12,47),new u.default(26,48)),new i.default(30,new u.default(39,24),new u.default(14,25)),new i.default(30,new u.default(22,15),new u.default(41,16))),new t(36,Int32Array.from([6,24,50,76,102,128,154]),new i.default(30,new u.default(6,121),new u.default(14,122)),new i.default(28,new u.default(6,47),new u.default(34,48)),new i.default(30,new u.default(46,24),new u.default(10,25)),new i.default(30,new u.default(2,15),new u.default(64,16))),new t(37,Int32Array.from([6,28,54,80,106,132,158]),new i.default(30,new u.default(17,122),new u.default(4,123)),new i.default(28,new u.default(29,46),new u.default(14,47)),new i.default(30,new u.default(49,24),new u.default(10,25)),new i.default(30,new u.default(24,15),new u.default(46,16))),new t(38,Int32Array.from([6,32,58,84,110,136,162]),new i.default(30,new u.default(4,122),new u.default(18,123)),new i.default(28,new u.default(13,46),new u.default(32,47)),new i.default(30,new u.default(48,24),new u.default(14,25)),new i.default(30,new u.default(42,15),new u.default(32,16))),new t(39,Int32Array.from([6,26,54,82,110,138,166]),new i.default(30,new u.default(20,117),new u.default(4,118)),new i.default(28,new u.default(40,47),new u.default(7,48)),new i.default(30,new u.default(43,24),new u.default(22,25)),new i.default(30,new u.default(10,15),new u.default(67,16))),new t(40,Int32Array.from([6,30,58,86,114,142,170]),new i.default(30,new u.default(19,118),new u.default(6,119)),new i.default(28,new u.default(18,47),new u.default(31,48)),new i.default(30,new u.default(34,24),new u.default(34,25)),new i.default(30,new u.default(20,15),new u.default(61,16)))],t}(),l=c;e.default=l},e062:function(t,e,r){"use strict";var n=r("8bdb");n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},e0a5:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("4db2"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1851"),r("f67e"),r("5ef2");var o=n(r("b717")),a=n(r("f74e")),i=n(r("343e")),u=n(r("f228")),f=n(r("4d7d")),d=n(r("0c24")),s=n(r("a8be")),c=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),l=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(t){function e(){var e=t.call(this)||this;return e.decodeRowResult="",e.counters=new Int32Array(6),e}return c(e,t),e.prototype.decodeRow=function(t,r,n){var a,i,f,c,h,p,g=this.findAsteriskPattern(r),y=r.getNextSet(g[1]),v=r.getSize(),w=this.counters;w.fill(0),this.decodeRowResult="";do{e.recordPattern(r,y,w);var _=this.toPattern(w);if(_<0)throw new u.default;h=this.patternToChar(_),this.decodeRowResult+=h,p=y;try{for(var b=(a=void 0,l(w)),C=b.next();!C.done;C=b.next()){var A=C.value;y+=A}}catch(N){a={error:N}}finally{try{C&&!C.done&&(i=b.return)&&i.call(b)}finally{if(a)throw a.error}}y=r.getNextSet(y)}while("*"!==h);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var E=0;try{for(var m=l(w),I=m.next();!I.done;I=m.next()){A=I.value;E+=A}}catch(R){f={error:R}}finally{try{I&&!I.done&&(c=m.return)&&c.call(m)}finally{if(f)throw f.error}}if(y===v||!r.get(y))throw new u.default;if(this.decodeRowResult.length<2)throw new u.default;this.checkChecksums(this.decodeRowResult),this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-2);var O=this.decodeExtended(this.decodeRowResult),S=(g[1]+g[0])/2,T=p+E/2;return new d.default(O,null,0,[new s.default(S,t),new s.default(T,t)],o.default.CODE_93,(new Date).getTime())},e.prototype.findAsteriskPattern=function(t){var r=t.getSize(),n=t.getNextSet(0);this.counters.fill(0);for(var o=this.counters,a=n,i=!1,f=o.length,d=0,s=n;s<r;s++)if(t.get(s)!==i)o[d]++;else{if(d===f-1){if(this.toPattern(o)===e.ASTERISK_ENCODING)return new Int32Array([a,s]);a+=o[0]+o[1],o.copyWithin(0,2,2+d-1),o[d-1]=0,o[d]=0,d--}else d++;o[d]=1,i=!i}throw new u.default},e.prototype.toPattern=function(t){var e,r,n=0;try{for(var o=l(t),a=o.next();!a.done;a=o.next()){var i=a.value;n+=i}}catch(h){e={error:h}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}for(var u=0,f=t.length,d=0;d<f;d++){var s=Math.round(9*t[d]/n);if(s<1||s>4)return-1;if(0===(1&d))for(var c=0;c<s;c++)u=u<<1|1;else u<<=s}return u},e.prototype.patternToChar=function(t){for(var r=0;r<e.CHARACTER_ENCODINGS.length;r++)if(e.CHARACTER_ENCODINGS[r]===t)return e.ALPHABET_STRING.charAt(r);throw new u.default},e.prototype.decodeExtended=function(t){for(var e=t.length,r="",n=0;n<e;n++){var o=t.charAt(n);if(o>="a"&&o<="d"){if(n>=e-1)throw new i.default;var a=t.charAt(n+1),u="\0";switch(o){case"d":if(!(a>="A"&&a<="Z"))throw new i.default;u=String.fromCharCode(a.charCodeAt(0)+32);break;case"a":if(!(a>="A"&&a<="Z"))throw new i.default;u=String.fromCharCode(a.charCodeAt(0)-64);break;case"b":if(a>="A"&&a<="E")u=String.fromCharCode(a.charCodeAt(0)-38);else if(a>="F"&&a<="J")u=String.fromCharCode(a.charCodeAt(0)-11);else if(a>="K"&&a<="O")u=String.fromCharCode(a.charCodeAt(0)+16);else if(a>="P"&&a<="T")u=String.fromCharCode(a.charCodeAt(0)+43);else if("U"===a)u="\0";else if("V"===a)u="@";else if("W"===a)u="`";else{if(!(a>="X"&&a<="Z"))throw new i.default;u=String.fromCharCode(127)}break;case"c":if(a>="A"&&a<="O")u=String.fromCharCode(a.charCodeAt(0)-32);else{if("Z"!==a)throw new i.default;u=":"}break}r+=u,n++}else r+=o}return r},e.prototype.checkChecksums=function(t){var e=t.length;this.checkOneChecksum(t,e-2,20),this.checkOneChecksum(t,e-1,15)},e.prototype.checkOneChecksum=function(t,r,n){for(var o=1,i=0,u=r-1;u>=0;u--)i+=o*e.ALPHABET_STRING.indexOf(t.charAt(u)),++o>n&&(o=1);if(t.charAt(r)!==e.ALPHABET_STRING[i%47])throw new a.default},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",e.CHARACTER_ENCODINGS=[276,328,324,322,296,292,290,336,274,266,424,420,418,404,402,394,360,356,354,308,282,344,332,326,300,278,436,434,428,422,406,410,364,358,310,314,302,468,466,458,366,374,430,294,474,470,306,350],e.ASTERISK_ENCODING=e.CHARACTER_ENCODINGS[47],e}(f.default),p=h;e.default=p},e120:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.EdifactEncoder=void 0,r("c9b5"),r("bf0f"),r("ab80"),r("7a76");var o=n(r("d618")),a=n(r("d4f8")),i=r("eab1"),u=n(r("3fac")),f=function(){function t(){}return t.prototype.getEncodingMode=function(){return i.EDIFACT_ENCODATION},t.prototype.encode=function(t){var e=new a.default;while(t.hasMoreCharacters()){var r=t.getCurrentChar();this.encodeChar(r,e),t.pos++;var n=e.length();if(n>=4){t.writeCodewords(this.encodeToCodewords(e.toString()));var f=e.toString().substring(4);e.setLengthToZero(),e.append(f);var d=u.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode());if(d!==this.getEncodingMode()){t.signalEncoderChange(i.ASCII_ENCODATION);break}}}e.append(o.default.getCharAt(31)),this.handleEOD(t,e)},t.prototype.handleEOD=function(t,e){try{var r=e.length();if(0===r)return;if(1===r){t.updateSymbolInfo();var n=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount(),o=t.getRemainingCharacters();if(o>n&&(t.updateSymbolInfo(t.getCodewordCount()+1),n=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount()),o<=n&&n<=2)return}if(r>4)throw new Error("Count must not exceed 4");var a=r-1,u=this.encodeToCodewords(e.toString()),f=!t.hasMoreCharacters(),d=f&&a<=2;if(a<=2){t.updateSymbolInfo(t.getCodewordCount()+a);n=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount();n>=3&&(d=!1,t.updateSymbolInfo(t.getCodewordCount()+u.length))}d?(t.resetSymbolInfo(),t.pos-=a):t.writeCodewords(u)}finally{t.signalEncoderChange(i.ASCII_ENCODATION)}},t.prototype.encodeChar=function(t,e){t>=" ".charCodeAt(0)&&t<="?".charCodeAt(0)?e.append(t):t>="@".charCodeAt(0)&&t<="^".charCodeAt(0)?e.append(o.default.getCharAt(t-64)):u.default.illegalCharacter(o.default.getCharAt(t))},t.prototype.encodeToCodewords=function(t){var e=t.length;if(0===e)throw new Error("StringBuilder must not be empty");var r=t.charAt(0).charCodeAt(0),n=e>=2?t.charAt(1).charCodeAt(0):0,o=e>=3?t.charAt(2).charCodeAt(0):0,i=e>=4?t.charAt(3).charCodeAt(0):0,u=(r<<18)+(n<<12)+(o<<6)+i,f=u>>16&255,d=u>>8&255,s=255&u,c=new a.default;return c.append(f),e>=2&&c.append(d),e>=3&&c.append(s),c.toString()},t}();e.EdifactEncoder=f},e3a5:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("5935")),a=n(r("d4f8")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.parseInformation=function(){var t=new a.default;t.append("(01)");var r=t.length(),n=this.getGeneralDecoder().extractNumericValueFromBitArray(e.HEADER_SIZE,4);return t.append(n),this.encodeCompressedGtinWithoutAI(t,e.HEADER_SIZE+4,r),this.getGeneralDecoder().decodeAllCodes(t,e.HEADER_SIZE+44)},e.HEADER_SIZE=4,e}(o.default),f=u;e.default=f},e415:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(r("f7fd")),a=function(){function t(){}return t.prototype.exp=function(t){return this.expTable[t]},t.prototype.log=function(t){if(0===t)throw new o.default;return this.logTable[t]},t.addOrSubtract=function(t,e){return t^e},t}(),i=a;e.default=i},e5d0:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80"),r("e966"),r("cf80"),r("e062"),r("64aa");var n=function(){function t(){}return t.numberOfTrailingZeros=function(t){var e;if(0===t)return 32;var r=31;return e=t<<16,0!==e&&(r-=16,t=e),e=t<<8,0!==e&&(r-=8,t=e),e=t<<4,0!==e&&(r-=4,t=e),e=t<<2,0!==e&&(r-=2,t=e),r-(t<<1>>>31)},t.numberOfLeadingZeros=function(t){if(0===t)return 32;var e=1;return t>>>16===0&&(e+=16,t<<=16),t>>>24===0&&(e+=8,t<<=8),t>>>28===0&&(e+=4,t<<=4),t>>>30===0&&(e+=2,t<<=2),e-=t>>>31,e},t.toHexString=function(t){return t.toString(16)},t.toBinaryString=function(t){return String(parseInt(String(t),2))},t.bitCount=function(t){return t-=t>>>1&1431655765,t=(858993459&t)+(t>>>2&858993459),t=t+(t>>>4)&252645135,t+=t>>>8,t+=t>>>16,63&t},t.truncDivision=function(t,e){return Math.trunc(t/e)},t.parseInt=function(t,e){return void 0===e&&(e=void 0),parseInt(t,e)},t.MIN_VALUE_32_BITS=-2147483648,t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}(),o=n;e.default=o},e8e6:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("e966");var n=function(){function t(){}return t.parseLong=function(t,e){return void 0===e&&(e=void 0),parseInt(t,e)},t}(),o=n;e.default=o},eab1:function(t,e,r){"use strict";var n;r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.X12_UNLATCH=e.X12_ENCODATION=e.UPPER_SHIFT=e.TEXT_ENCODATION=e.SymbolShapeHint=e.PAD=e.MODULO_VALUE=e.MACRO_TRAILER=e.MACRO_06_HEADER=e.MACRO_06=e.MACRO_05_HEADER=e.MACRO_05=e.LOG=e.LATCH_TO_TEXT=e.LATCH_TO_EDIFACT=e.LATCH_TO_C40=e.LATCH_TO_BASE256=e.LATCH_TO_ANSIX12=e.FACTOR_SETS=e.FACTORS=e.EDIFACT_ENCODATION=e.C40_UNLATCH=e.C40_ENCODATION=e.BASE256_ENCODATION=e.ASCII_ENCODATION=e.ALOG=void 0;e.FACTOR_SETS=[5,7,10,11,12,14,18,20,24,28,36,42,48,56,62,68];e.FACTORS=[[228,48,15,111,62],[23,68,144,134,240,92,254],[28,24,185,166,223,248,116,255,110,61],[175,138,205,12,194,168,39,245,60,97,120],[41,153,158,91,61,42,142,213,97,178,100,242],[156,97,192,252,95,9,157,119,138,45,18,186,83,185],[83,195,100,39,188,75,66,61,241,213,109,129,94,254,225,48,90,188],[15,195,244,9,233,71,168,2,188,160,153,145,253,79,108,82,27,174,186,172],[52,190,88,205,109,39,176,21,155,197,251,223,155,21,5,172,254,124,12,181,184,96,50,193],[211,231,43,97,71,96,103,174,37,151,170,53,75,34,249,121,17,138,110,213,141,136,120,151,233,168,93,255],[245,127,242,218,130,250,162,181,102,120,84,179,220,251,80,182,229,18,2,4,68,33,101,137,95,119,115,44,175,184,59,25,225,98,81,112],[77,193,137,31,19,38,22,153,247,105,122,2,245,133,242,8,175,95,100,9,167,105,214,111,57,121,21,1,253,57,54,101,248,202,69,50,150,177,226,5,9,5],[245,132,172,223,96,32,117,22,238,133,238,231,205,188,237,87,191,106,16,147,118,23,37,90,170,205,131,88,120,100,66,138,186,240,82,44,176,87,187,147,160,175,69,213,92,253,225,19],[175,9,223,238,12,17,220,208,100,29,175,170,230,192,215,235,150,159,36,223,38,200,132,54,228,146,218,234,117,203,29,232,144,238,22,150,201,117,62,207,164,13,137,245,127,67,247,28,155,43,203,107,233,53,143,46],[242,93,169,50,144,210,39,118,202,188,201,189,143,108,196,37,185,112,134,230,245,63,197,190,250,106,185,221,175,64,114,71,161,44,147,6,27,218,51,63,87,10,40,130,188,17,163,31,176,170,4,107,232,7,94,166,224,124,86,47,11,204],[220,228,173,89,251,149,159,56,89,33,147,244,154,36,73,127,213,136,248,180,234,197,158,177,68,122,93,213,15,160,227,236,66,139,153,185,202,167,179,25,220,232,96,210,231,136,223,239,181,241,59,52,172,25,49,232,211,189,64,54,108,153,132,63,96,103,82,186]];e.MODULO_VALUE=301;var o,a=(n=function(t,e){for(var r=1,n=0;n<255;n++)e[n]=r,t[r]=n,r*=2,r>=256&&(r^=301);return{LOG:t,ALOG:e}}([],[]),n.LOG),i=n.ALOG;e.ALOG=i,e.LOG=a,e.SymbolShapeHint=o,function(t){t[t["FORCE_NONE"]=0]="FORCE_NONE",t[t["FORCE_SQUARE"]=1]="FORCE_SQUARE",t[t["FORCE_RECTANGLE"]=2]="FORCE_RECTANGLE"}(o||(e.SymbolShapeHint=o={}));e.PAD=129;e.LATCH_TO_C40=230;e.LATCH_TO_BASE256=231;e.UPPER_SHIFT=235;e.MACRO_05=236;e.MACRO_06=237;e.LATCH_TO_ANSIX12=238;e.LATCH_TO_TEXT=239;e.LATCH_TO_EDIFACT=240;e.C40_UNLATCH=254;e.X12_UNLATCH=254;e.MACRO_05_HEADER="[)>05";e.MACRO_06_HEADER="[)>06";e.MACRO_TRAILER="";e.ASCII_ENCODATION=0;e.C40_ENCODATION=1;e.TEXT_ENCODATION=2;e.X12_ENCODATION=3;e.EDIFACT_ENCODATION=4;e.BASE256_ENCODATION=5},ecbf:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.HTMLCanvasElementLuminanceSource=void 0,r("8a8d"),r("4db2"),r("bf0f"),r("9480"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("f7a5");var o=n(r("a6ba")),a=n(r("3727")),i=n(r("f7fd")),u=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),f=function(t){function e(r,n){void 0===n&&(n=!1);var o=t.call(this,r.width,r.height)||this;return o.canvas=r,o.tempCanvasElement=null,o.buffer=e.makeBufferFromCanvasImageData(r,n),o}return u(e,t),e.makeBufferFromCanvasImageData=function(t,r){void 0===r&&(r=!1);var n=t.getContext("2d").getImageData(0,0,t.width,t.height);return e.toGrayscaleBuffer(n.data,t.width,t.height,r)},e.toGrayscaleBuffer=function(t,r,n,o){void 0===o&&(o=!1);var a=new Uint8ClampedArray(r*n);if(e.FRAME_INDEX=!e.FRAME_INDEX,e.FRAME_INDEX||!o)for(var i=0,u=0,f=t.length;i<f;i+=4,u++){var d=void 0,s=t[i+3];if(0===s)d=255;else{var c=t[i],l=t[i+1],h=t[i+2];d=306*c+601*l+117*h+512>>10}a[u]=d}else{i=0,u=0;for(var p=t.length;i<p;i+=4,u++){d=void 0,s=t[i+3];if(0===s)d=255;else{c=t[i],l=t[i+1],h=t[i+2];d=306*c+601*l+117*h+512>>10}a[u]=255-d}}return a},e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new i.default("Requested row is outside the image: "+t);var r=this.getWidth(),n=t*r;return null===e?e=this.buffer.slice(n,n+r):(e.length<r&&(e=new Uint8ClampedArray(r)),e.set(this.buffer.slice(n,n+r))),e},e.prototype.getMatrix=function(){return this.buffer},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(e,r,n,o){return t.prototype.crop.call(this,e,r,n,o),this},e.prototype.isRotateSupported=function(){return!0},e.prototype.rotateCounterClockwise=function(){return this.rotate(-90),this},e.prototype.rotateCounterClockwise45=function(){return this.rotate(-45),this},e.prototype.getTempCanvasElement=function(){if(null===this.tempCanvasElement){var t=this.canvas.ownerDocument.createElement("canvas");t.width=this.canvas.width,t.height=this.canvas.height,this.tempCanvasElement=t}return this.tempCanvasElement},e.prototype.rotate=function(t){var r=this.getTempCanvasElement(),n=r.getContext("2d"),o=t*e.DEGREE_TO_RADIANS,a=this.canvas.width,i=this.canvas.height,u=Math.ceil(Math.abs(Math.cos(o))*a+Math.abs(Math.sin(o))*i),f=Math.ceil(Math.abs(Math.sin(o))*a+Math.abs(Math.cos(o))*i);return r.width=u,r.height=f,n.translate(u/2,f/2),n.rotate(o),n.drawImage(this.canvas,a/-2,i/-2),this.buffer=e.makeBufferFromCanvasImageData(r),this},e.prototype.invert=function(){return new o.default(this)},e.DEGREE_TO_RADIANS=Math.PI/180,e.FRAME_INDEX=!0,e}(a.default);e.HTMLCanvasElementLuminanceSource=f},f0b7:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t,e){this.count=t,this.dataCodewords=e}return t.prototype.getCount=function(){return this.count},t.prototype.getDataCodewords=function(){return this.dataCodewords},t}(),o=n;e.default=o},f228:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.getNotFoundInstance=function(){return new e},e.kind="NotFoundException",e}(o.default),u=i;e.default=u},f239:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80"),r("2797");var n=function(){function t(t,e,r){this.pairs=t,this.rowNumber=e,this.wasReversed=r}return t.prototype.getPairs=function(){return this.pairs},t.prototype.getRowNumber=function(){return this.rowNumber},t.prototype.isReversed=function(){return this.wasReversed},t.prototype.isEquivalent=function(t){return this.checkEqualitity(this,t)},t.prototype.toString=function(){return"{ "+this.pairs+" }"},t.prototype.equals=function(e,r){return e instanceof t&&(this.checkEqualitity(e,r)&&e.wasReversed===r.wasReversed)},t.prototype.checkEqualitity=function(t,e){var r;if(t&&e)return t.forEach((function(t,n){e.forEach((function(e){t.getLeftChar().getValue()===e.getLeftChar().getValue()&&t.getRightChar().getValue()===e.getRightChar().getValue()&&t.getFinderPatter().getValue()===e.getFinderPatter().getValue()&&(r=!0)}))})),r},t}(),o=n;e.default=o},f2b5:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.C40Encoder=void 0,r("c9b5"),r("bf0f"),r("ab80"),r("7a76");var o=n(r("d4f8")),a=n(r("3fac")),i=r("eab1"),u=function(){function t(){}return t.prototype.getEncodingMode=function(){return i.C40_ENCODATION},t.prototype.encodeMaximal=function(t){var e=new o.default,r=0,n=t.pos,a=0;while(t.hasMoreCharacters()){var u=t.getCurrentChar();t.pos++,r=this.encodeChar(u,e),e.length()%3===0&&(n=t.pos,a=e.length())}if(a!==e.length()){var f=Math.floor(e.length()/3*2),d=Math.floor(t.getCodewordCount()+f+1);t.updateSymbolInfo(d);var s=t.getSymbolInfo().getDataCapacity()-d,c=Math.floor(e.length()%3);(2===c&&2!==s||1===c&&(r>3||1!==s))&&(t.pos=n)}e.length()>0&&t.writeCodeword(i.LATCH_TO_C40),this.handleEOD(t,e)},t.prototype.encode=function(t){var e=new o.default;while(t.hasMoreCharacters()){var r=t.getCurrentChar();t.pos++;var n=this.encodeChar(r,e),u=2*Math.floor(e.length()/3),f=t.getCodewordCount()+u;t.updateSymbolInfo(f);var d=t.getSymbolInfo().getDataCapacity()-f;if(!t.hasMoreCharacters()){var s=new o.default;e.length()%3===2&&2!==d&&(n=this.backtrackOneCharacter(t,e,s,n));while(e.length()%3===1&&(n>3||1!==d))n=this.backtrackOneCharacter(t,e,s,n);break}var c=e.length();if(c%3===0){var l=a.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode());if(l!==this.getEncodingMode()){t.signalEncoderChange(i.ASCII_ENCODATION);break}}}this.handleEOD(t,e)},t.prototype.backtrackOneCharacter=function(t,e,r,n){var o=e.length(),a=e.toString().substring(0,o-n);e.setLengthToZero(),e.append(a),t.pos--;var i=t.getCurrentChar();return n=this.encodeChar(i,r),t.resetSymbolInfo(),n},t.prototype.writeNextTriplet=function(t,e){t.writeCodewords(this.encodeToCodewords(e.toString()));var r=e.toString().substring(3);e.setLengthToZero(),e.append(r)},t.prototype.handleEOD=function(t,e){var r=Math.floor(e.length()/3*2),n=e.length()%3,o=t.getCodewordCount()+r;t.updateSymbolInfo(o);var a=t.getSymbolInfo().getDataCapacity()-o;if(2===n){e.append("\0");while(e.length()>=3)this.writeNextTriplet(t,e);t.hasMoreCharacters()&&t.writeCodeword(i.C40_UNLATCH)}else if(1===a&&1===n){while(e.length()>=3)this.writeNextTriplet(t,e);t.hasMoreCharacters()&&t.writeCodeword(i.C40_UNLATCH),t.pos--}else{if(0!==n)throw new Error("Unexpected case. Please report!");while(e.length()>=3)this.writeNextTriplet(t,e);(a>0||t.hasMoreCharacters())&&t.writeCodeword(i.C40_UNLATCH)}t.signalEncoderChange(i.ASCII_ENCODATION)},t.prototype.encodeChar=function(t,e){if(t===" ".charCodeAt(0))return e.append(3),1;if(t>="0".charCodeAt(0)&&t<="9".charCodeAt(0))return e.append(t-48+4),1;if(t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0))return e.append(t-65+14),1;if(t<" ".charCodeAt(0))return e.append(0),e.append(t),2;if(t<="/".charCodeAt(0))return e.append(1),e.append(t-33),2;if(t<="@".charCodeAt(0))return e.append(1),e.append(t-58+15),2;if(t<="_".charCodeAt(0))return e.append(1),e.append(t-91+22),2;if(t<=127)return e.append(2),e.append(t-96),2;e.append("1");var r=2;return r+=this.encodeChar(t-128,e),r},t.prototype.encodeToCodewords=function(t){var e=1600*t.charCodeAt(0)+40*t.charCodeAt(1)+t.charCodeAt(2)+1,r=e/256,n=e%256,a=new o.default;return a.append(r),a.append(n),a.toString()},t}();e.C40Encoder=u},f4fd:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.LATCH_TABLE=void 0,r("1878"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var n=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])];e.LATCH_TABLE=n},f5e6:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d"),r("4db2"),r("bf0f"),r("c02e"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("1878"),r("c9b5"),r("ab80");var o=n(r("0497")),a=n(r("e415")),i=n(r("e5d0")),u=n(r("f7fd")),f=n(r("dc67")),d=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),s=function(t){function e(e,r,n){var a=t.call(this)||this;a.primitive=e,a.size=r,a.generatorBase=n;for(var i=new Int32Array(r),u=1,f=0;f<r;f++)i[f]=u,u*=2,u>=r&&(u^=e,u&=r-1);a.expTable=i;var d=new Int32Array(r);for(f=0;f<r-1;f++)d[i[f]]=f;return a.logTable=d,a.zero=new o.default(a,Int32Array.from([0])),a.one=new o.default(a,Int32Array.from([1])),a}return d(e,t),e.prototype.getZero=function(){return this.zero},e.prototype.getOne=function(){return this.one},e.prototype.buildMonomial=function(t,e){if(t<0)throw new u.default;if(0===e)return this.zero;var r=new Int32Array(t+1);return r[0]=e,new o.default(this,r)},e.prototype.inverse=function(t){if(0===t)throw new f.default;return this.expTable[this.size-this.logTable[t]-1]},e.prototype.multiply=function(t,e){return 0===t||0===e?0:this.expTable[(this.logTable[t]+this.logTable[e])%(this.size-1)]},e.prototype.getSize=function(){return this.size},e.prototype.getGeneratorBase=function(){return this.generatorBase},e.prototype.toString=function(){return"GF(0x"+i.default.toHexString(this.primitive)+","+this.size+")"},e.prototype.equals=function(t){return t===this},e.AZTEC_DATA_12=new e(4201,4096,1),e.AZTEC_DATA_10=new e(1033,1024,1),e.AZTEC_DATA_6=new e(67,64,1),e.AZTEC_PARAM=new e(19,16,1),e.QR_CODE_FIELD_256=new e(285,256,0),e.DATA_MATRIX_FIELD_256=new e(301,256,1),e.AZTEC_DATA_8=e.DATA_MATRIX_FIELD_256,e.MAXICODE_FIELD_64=e.AZTEC_DATA_6,e}(a.default),c=s;e.default=c},f67e:function(t,e,r){"use strict";var n=r("8bdb"),o=r("6a2b"),a=r("1cb5");n({target:"Array",proto:!0},{copyWithin:o}),a("copyWithin")},f74e:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.getChecksumInstance=function(){return new e},e.kind="ChecksumException",e}(o.default),u=i;e.default=u},f7fd:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("7322")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a(e,t),e.kind="IllegalArgumentException",e}(o.default),u=i;e.default=u},f87b:function(t,e,r){"use strict";r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=function(){function t(t,e,r,n){this.columnCount=t,this.errorCorrectionLevel=n,this.rowCountUpperPart=e,this.rowCountLowerPart=r,this.rowCount=e+r}return t.prototype.getColumnCount=function(){return this.columnCount},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getRowCount=function(){return this.rowCount},t.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},t.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},t}(),o=n;e.default=o},f930:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("01a2"),r("e39c"),r("bf0f"),r("844d"),r("18f7"),r("de6c"),r("7a76"),r("c9b5"),r("ab80");var o=n(r("a608")),a=n(r("db51")),i=function(t){var e="function"===typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(){function t(t){this.boundingBox=new a.default(t),this.codewords=new Array(t.getMaxY()-t.getMinY()+1)}return t.prototype.getCodewordNearby=function(e){var r=this.getCodeword(e);if(null!=r)return r;for(var n=1;n<t.MAX_NEARBY_DISTANCE;n++){var o=this.imageRowToCodewordIndex(e)-n;if(o>=0&&(r=this.codewords[o],null!=r))return r;if(o=this.imageRowToCodewordIndex(e)+n,o<this.codewords.length&&(r=this.codewords[o],null!=r))return r}return null},t.prototype.imageRowToCodewordIndex=function(t){return t-this.boundingBox.getMinY()},t.prototype.setCodeword=function(t,e){this.codewords[this.imageRowToCodewordIndex(t)]=e},t.prototype.getCodeword=function(t){return this.codewords[this.imageRowToCodewordIndex(t)]},t.prototype.getBoundingBox=function(){return this.boundingBox},t.prototype.getCodewords=function(){return this.codewords},t.prototype.toString=function(){var t,e,r=new o.default,n=0;try{for(var a=i(this.codewords),u=a.next();!u.done;u=a.next()){var f=u.value;null!=f?r.format("%3d: %3d|%3d%n",n++,f.getRowNumber(),f.getValue()):r.format("%3d: | %n",n++)}}catch(d){t={error:d}}finally{try{u&&!u.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return r.toString()},t.MAX_NEARBY_DISTANCE=5,t}(),f=u;e.default=f},fa9c:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("c9b5"),r("bf0f"),r("ab80");var o=n(r("b717")),a=n(r("d757")),i=n(r("5c2a")),u=n(r("7e0b")),f=n(r("a8ae")),d=n(r("87e7")),s=n(r("e5d0")),c=n(r("9e56")),l=n(r("f7fd")),h=n(r("d618")),p=function(){function t(){}return t.prototype.encode=function(t,e,r,n){return this.encodeWithHints(t,e,r,n,null)},t.prototype.encodeWithHints=function(e,r,n,o,u){var c=d.default.ISO_8859_1,l=i.default.DEFAULT_EC_PERCENT,h=i.default.DEFAULT_AZTEC_LAYERS;return null!=u&&(u.has(a.default.CHARACTER_SET)&&(c=f.default.forName(u.get(a.default.CHARACTER_SET).toString())),u.has(a.default.ERROR_CORRECTION)&&(l=s.default.parseInt(u.get(a.default.ERROR_CORRECTION).toString())),u.has(a.default.AZTEC_LAYERS)&&(h=s.default.parseInt(u.get(a.default.AZTEC_LAYERS).toString()))),t.encodeLayers(e,r,n,o,c,l,h)},t.encodeLayers=function(e,r,n,a,u,f,d){if(r!==o.default.AZTEC)throw new l.default("Can only encode AZTEC, but got "+r);var s=i.default.encode(h.default.getBytes(e,u),f,d);return t.renderResult(s,n,a)},t.renderResult=function(t,e,r){var n=t.getMatrix();if(null==n)throw new c.default;for(var o=n.getWidth(),a=n.getHeight(),i=Math.max(e,o),f=Math.max(r,a),d=Math.min(i/o,f/a),s=(i-o*d)/2,l=(f-a*d)/2,h=new u.default(i,f),p=0,g=l;p<a;p++,g+=d)for(var y=0,v=s;y<o;y++,v+=d)n.get(y,p)&&h.setRegion(v,g,d,d);return h},t}(),g=p;e.default=g},fbd0:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserPDF417Reader=void 0,r("8a8d");var o=r("a5d4"),a=n(r("c3c6")),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=function(t){function e(e){return void 0===e&&(e=500),t.call(this,new a.default,e)||this}return i(e,t),e}(o.BrowserCodeReader);e.BrowserPDF417Reader=u},fd6f:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("4db2"),r("bf0f"),r("0b46"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1");var o=n(r("7e0b")),a=n(r("1eca")),i=n(r("343e")),u=n(r("f7fd")),f=function(){function t(e){var r=e.getHeight();if(r<8||r>144||0!==(1&r))throw new i.default;this.version=t.readVersion(e),this.mappingBitMatrix=this.extractDataRegion(e),this.readMappingMatrix=new o.default(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return t.prototype.getVersion=function(){return this.version},t.readVersion=function(t){var e=t.getHeight(),r=t.getWidth();return a.default.getVersionForDimensions(e,r)},t.prototype.readCodewords=function(){var t=new Int8Array(this.version.getTotalCodewords()),e=0,r=4,n=0,o=this.mappingBitMatrix.getHeight(),a=this.mappingBitMatrix.getWidth(),u=!1,f=!1,d=!1,s=!1;do{if(r!==o||0!==n||u)if(r!==o-2||0!==n||0===(3&a)||f)if(r!==o+4||2!==n||0!==(7&a)||d)if(r!==o-2||0!==n||4!==(7&a)||s){do{r<o&&n>=0&&!this.readMappingMatrix.get(n,r)&&(t[e++]=255&this.readUtah(r,n,o,a)),r-=2,n+=2}while(r>=0&&n<a);r+=1,n+=3;do{r>=0&&n<a&&!this.readMappingMatrix.get(n,r)&&(t[e++]=255&this.readUtah(r,n,o,a)),r+=2,n-=2}while(r<o&&n>=0);r+=3,n+=1}else t[e++]=255&this.readCorner4(o,a),r-=2,n+=2,s=!0;else t[e++]=255&this.readCorner3(o,a),r-=2,n+=2,d=!0;else t[e++]=255&this.readCorner2(o,a),r-=2,n+=2,f=!0;else t[e++]=255&this.readCorner1(o,a),r-=2,n+=2,u=!0}while(r<o||n<a);if(e!==this.version.getTotalCodewords())throw new i.default;return t},t.prototype.readModule=function(t,e,r,n){return t<0&&(t+=r,e+=4-(r+4&7)),e<0&&(e+=n,t+=4-(n+4&7)),this.readMappingMatrix.set(e,t),this.mappingBitMatrix.get(e,t)},t.prototype.readUtah=function(t,e,r,n){var o=0;return this.readModule(t-2,e-2,r,n)&&(o|=1),o<<=1,this.readModule(t-2,e-1,r,n)&&(o|=1),o<<=1,this.readModule(t-1,e-2,r,n)&&(o|=1),o<<=1,this.readModule(t-1,e-1,r,n)&&(o|=1),o<<=1,this.readModule(t-1,e,r,n)&&(o|=1),o<<=1,this.readModule(t,e-2,r,n)&&(o|=1),o<<=1,this.readModule(t,e-1,r,n)&&(o|=1),o<<=1,this.readModule(t,e,r,n)&&(o|=1),o},t.prototype.readCorner1=function(t,e){var r=0;return this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,1,t,e)&&(r|=1),r<<=1,this.readModule(t-1,2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r<<=1,this.readModule(2,e-1,t,e)&&(r|=1),r<<=1,this.readModule(3,e-1,t,e)&&(r|=1),r},t.prototype.readCorner2=function(t,e){var r=0;return this.readModule(t-3,0,t,e)&&(r|=1),r<<=1,this.readModule(t-2,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(0,e-4,t,e)&&(r|=1),r<<=1,this.readModule(0,e-3,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r},t.prototype.readCorner3=function(t,e){var r=0;return this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,e-1,t,e)&&(r|=1),r<<=1,this.readModule(0,e-3,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-3,t,e)&&(r|=1),r<<=1,this.readModule(1,e-2,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r},t.prototype.readCorner4=function(t,e){var r=0;return this.readModule(t-3,0,t,e)&&(r|=1),r<<=1,this.readModule(t-2,0,t,e)&&(r|=1),r<<=1,this.readModule(t-1,0,t,e)&&(r|=1),r<<=1,this.readModule(0,e-2,t,e)&&(r|=1),r<<=1,this.readModule(0,e-1,t,e)&&(r|=1),r<<=1,this.readModule(1,e-1,t,e)&&(r|=1),r<<=1,this.readModule(2,e-1,t,e)&&(r|=1),r<<=1,this.readModule(3,e-1,t,e)&&(r|=1),r},t.prototype.extractDataRegion=function(t){var e=this.version.getSymbolSizeRows(),r=this.version.getSymbolSizeColumns();if(t.getHeight()!==e)throw new u.default("Dimension of bitMatrix must match the version size");for(var n=this.version.getDataRegionSizeRows(),a=this.version.getDataRegionSizeColumns(),i=e/n|0,f=r/a|0,d=i*n,s=f*a,c=new o.default(s,d),l=0;l<i;++l)for(var h=l*n,p=0;p<f;++p)for(var g=p*a,y=0;y<n;++y)for(var v=l*(n+2)+1+y,w=h+y,_=0;_<a;++_){var b=p*(a+2)+1+_;if(t.get(b,v)){var C=g+_;c.set(C,w)}}return c},t}(),d=f;e.default=d},fe5a:function(t,e,r){"use strict";r("6a54");var n=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,r("8a8d");var o=n(r("5935")),a=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(t){function e(e){return t.call(this,e)||this}return a(e,t),e.prototype.encodeCompressedWeight=function(t,e,r){var n=this.getGeneralDecoder().extractNumericValueFromBitArray(e,r);this.addWeightCode(t,n);for(var o=this.checkWeight(n),a=1e5,i=0;i<5;++i)o/a===0&&t.append("0"),a/=10;t.append(o)},e}(o.default),u=i;e.default=u},fe6b:function(t,e,r){"use strict";var n=r("8bdb"),o=r("2c57");n({target:"Number",stat:!0,forced:Number.parseInt!==o},{parseInt:o})}}]);
|