imatrix-ui 2.8.97-dw-tmp2 → 2.8.97-dw-tmp3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/super-ui.common.1.js +368 -0
- package/lib/{super-ui.common.yarn.tinymce~8a52df3b.js → super-ui.common.2.js} +2 -2
- package/lib/super-ui.css +1 -0
- package/lib/super-ui.umd.1.js +368 -0
- package/lib/{super-ui.umd.yarn.tinymce~8a52df3b.js → super-ui.umd.2.js} +2 -2
- package/lib/super-ui.umd.min.1.js +2 -0
- package/lib/super-ui.umd.min.2.js +2 -0
- package/lib/super-ui.umd.min.js +15 -1
- package/package.json +8 -9
- package/lib/css/super-ui.common~46f24e9d.f712732a.css +0 -1
- package/lib/css/super-ui.common~60a56baa.e6f54088.css +0 -1
- package/lib/css/super-ui.common~691e02b5.3387eefb.css +0 -1
- package/lib/css/super-ui.common~e2e93592.e9ec19a9.css +0 -1
- package/lib/css/super-ui.umd.min~46f24e9d.f712732a.css +0 -1
- package/lib/css/super-ui.umd.min~60a56baa.e6f54088.css +0 -1
- package/lib/css/super-ui.umd.min~691e02b5.3387eefb.css +0 -1
- package/lib/css/super-ui.umd.min~e2e93592.e9ec19a9.css +0 -1
- package/lib/css/super-ui.umd~46f24e9d.f712732a.css +0 -1
- package/lib/css/super-ui.umd~60a56baa.e6f54088.css +0 -1
- package/lib/css/super-ui.umd~691e02b5.3387eefb.css +0 -1
- package/lib/css/super-ui.umd~e2e93592.e9ec19a9.css +0 -1
- package/lib/css/vendors~super-ui.common~253ae210.b57e4bfb.css +0 -1
- package/lib/css/vendors~super-ui.umd.min~253ae210.b57e4bfb.css +0 -1
- package/lib/css/vendors~super-ui.umd~253ae210.b57e4bfb.css +0 -1
- package/lib/css/yarn.tinymce~97d7b732.ea366551.css +0 -1
- package/lib/super-ui.common.super-ui.common~46f24e9d.js +0 -12446
- package/lib/super-ui.common.super-ui.common~60a56baa.js +0 -2774
- package/lib/super-ui.common.super-ui.common~691e02b5.js +0 -3062
- package/lib/super-ui.common.super-ui.common~970f9218.js +0 -3729
- package/lib/super-ui.common.super-ui.common~bd3594d6.js +0 -5264
- package/lib/super-ui.common.super-ui.common~e2e93592.js +0 -6945
- package/lib/super-ui.common.vendors~super-ui.common~253ae210.js +0 -3504
- package/lib/super-ui.common.yarn.async-validator~7864cd12.js +0 -1225
- package/lib/super-ui.common.yarn.core-js~2b13b260.js +0 -7542
- package/lib/super-ui.common.yarn.gcommon~c5c7b9b4.js +0 -11
- package/lib/super-ui.common.yarn.gcommon~cd278a5f.js +0 -4846
- package/lib/super-ui.common.yarn.resize-observer-polyfill~7370204d.js +0 -942
- package/lib/super-ui.common.yarn.sortablejs~f811d8fd.js +0 -3714
- package/lib/super-ui.common.yarn.tinymce~253ae210.js +0 -568
- package/lib/super-ui.common.yarn.tinymce~29bc5d46.js +0 -2125
- package/lib/super-ui.common.yarn.tinymce~35f50c21.js +0 -34090
- package/lib/super-ui.common.yarn.tinymce~97d7b732.js +0 -31
- package/lib/super-ui.common.yarn.tinymce~b5d80f29.js +0 -7936
- package/lib/super-ui.common.yarn.tinymce~c1068939.js +0 -13346
- package/lib/super-ui.common.yarn.vue-i18n~02576867.js +0 -2179
- package/lib/super-ui.common.yarn.vue-virtual-scroll-list~bd67cfcd.js +0 -1069
- package/lib/super-ui.common.yarn.zxing~3446ce64.js +0 -11996
- package/lib/super-ui.common.yarn.zxing~61a1471b.js +0 -11202
- package/lib/super-ui.common.yarn.zxing~b49f3034.js +0 -3576
- package/lib/super-ui.common.yarn.zxing~fd3cc9f3.js +0 -2916
- package/lib/super-ui.umd.min.super-ui.umd.min~46f24e9d.js +0 -2
- package/lib/super-ui.umd.min.super-ui.umd.min~60a56baa.js +0 -2
- package/lib/super-ui.umd.min.super-ui.umd.min~691e02b5.js +0 -2
- package/lib/super-ui.umd.min.super-ui.umd.min~970f9218.js +0 -2
- package/lib/super-ui.umd.min.super-ui.umd.min~bd3594d6.js +0 -2
- package/lib/super-ui.umd.min.super-ui.umd.min~e2e93592.js +0 -2
- package/lib/super-ui.umd.min.vendors~super-ui.umd.min~253ae210.js +0 -24
- package/lib/super-ui.umd.min.yarn.async-validator~7864cd12.js +0 -2
- package/lib/super-ui.umd.min.yarn.core-js~2b13b260.js +0 -2
- package/lib/super-ui.umd.min.yarn.gcommon~c5c7b9b4.js +0 -2
- package/lib/super-ui.umd.min.yarn.gcommon~cd278a5f.js +0 -26
- package/lib/super-ui.umd.min.yarn.resize-observer-polyfill~7370204d.js +0 -2
- package/lib/super-ui.umd.min.yarn.sortablejs~f811d8fd.js +0 -8
- package/lib/super-ui.umd.min.yarn.tinymce~253ae210.js +0 -2
- package/lib/super-ui.umd.min.yarn.tinymce~29bc5d46.js +0 -2
- package/lib/super-ui.umd.min.yarn.tinymce~35f50c21.js +0 -2
- package/lib/super-ui.umd.min.yarn.tinymce~8a52df3b.js +0 -2
- package/lib/super-ui.umd.min.yarn.tinymce~97d7b732.js +0 -2
- package/lib/super-ui.umd.min.yarn.tinymce~b5d80f29.js +0 -2
- package/lib/super-ui.umd.min.yarn.tinymce~c1068939.js +0 -2
- package/lib/super-ui.umd.min.yarn.vue-i18n~02576867.js +0 -7
- package/lib/super-ui.umd.min.yarn.vue-virtual-scroll-list~bd67cfcd.js +0 -8
- package/lib/super-ui.umd.min.yarn.zxing~3446ce64.js +0 -2
- package/lib/super-ui.umd.min.yarn.zxing~61a1471b.js +0 -2
- package/lib/super-ui.umd.min.yarn.zxing~b49f3034.js +0 -2
- package/lib/super-ui.umd.min.yarn.zxing~fd3cc9f3.js +0 -2
- package/lib/super-ui.umd.super-ui.umd~46f24e9d.js +0 -12446
- package/lib/super-ui.umd.super-ui.umd~60a56baa.js +0 -2774
- package/lib/super-ui.umd.super-ui.umd~691e02b5.js +0 -3062
- package/lib/super-ui.umd.super-ui.umd~970f9218.js +0 -3739
- package/lib/super-ui.umd.super-ui.umd~bd3594d6.js +0 -5264
- package/lib/super-ui.umd.super-ui.umd~e2e93592.js +0 -6945
- package/lib/super-ui.umd.vendors~super-ui.umd~253ae210.js +0 -3504
- package/lib/super-ui.umd.yarn.async-validator~7864cd12.js +0 -1225
- package/lib/super-ui.umd.yarn.core-js~2b13b260.js +0 -7542
- package/lib/super-ui.umd.yarn.gcommon~c5c7b9b4.js +0 -11
- package/lib/super-ui.umd.yarn.gcommon~cd278a5f.js +0 -4846
- package/lib/super-ui.umd.yarn.resize-observer-polyfill~7370204d.js +0 -942
- package/lib/super-ui.umd.yarn.sortablejs~f811d8fd.js +0 -3714
- package/lib/super-ui.umd.yarn.tinymce~253ae210.js +0 -568
- package/lib/super-ui.umd.yarn.tinymce~29bc5d46.js +0 -2125
- package/lib/super-ui.umd.yarn.tinymce~35f50c21.js +0 -34090
- package/lib/super-ui.umd.yarn.tinymce~97d7b732.js +0 -31
- package/lib/super-ui.umd.yarn.tinymce~b5d80f29.js +0 -7936
- package/lib/super-ui.umd.yarn.tinymce~c1068939.js +0 -13346
- package/lib/super-ui.umd.yarn.vue-i18n~02576867.js +0 -2179
- package/lib/super-ui.umd.yarn.vue-virtual-scroll-list~bd67cfcd.js +0 -1069
- package/lib/super-ui.umd.yarn.zxing~3446ce64.js +0 -11996
- package/lib/super-ui.umd.yarn.zxing~61a1471b.js +0 -11202
- package/lib/super-ui.umd.yarn.zxing~b49f3034.js +0 -3576
- package/lib/super-ui.umd.yarn.zxing~fd3cc9f3.js +0 -2916
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(("undefined"!==typeof self?self:this)["webpackJsonpsuper_ui"]=("undefined"!==typeof self?self:this)["webpackJsonpsuper_ui"]||[]).push([[24],{"224f":function(t,e,r){"use strict";var n=r("a9e3");r.o(n,"BrowserMultiFormatReader")&&r.d(e,"BrowserMultiFormatReader",(function(){return n["BrowserMultiFormatReader"]}));r("f8c0"),r("8635"),r("2d92"),r("d0b6"),r("7978"),r("f0a7"),r("9cca"),r("ca08"),r("d615"),r("8285"),r("1cba"),r("4986"),r("a363"),r("5622"),r("57fd"),r("fe96"),r("00ec"),r("f20f"),r("1f78"),r("a70f"),r("6d19"),r("2f50"),r("64a7"),r("1228"),r("8c95"),r("63af"),r("6530"),r("78c7"),r("ec6d"),r("cb12"),r("23a7"),r("ea29"),r("9068"),r("2011"),r("6099"),r("67f0"),r("a652"),r("2ec9"),r("7a37"),r("7163"),r("bd7a"),r("4f55"),r("be40"),r("5641"),r("a0cf"),r("f823"),r("fb63"),r("7f3b"),r("547e"),r("a7f2"),r("34c8"),r("1092"),r("ee54"),r("acf3"),r("f60b"),r("a593"),r("4c35"),r("3bbd"),r("d2fa"),r("370f"),r("5134"),r("a9a4"),r("2915"),r("7288"),r("5035"),r("b3d8"),r("6833"),r("ae4b"),r("b5b4"),r("32f9"),r("d439"),r("0ba3"),r("f1aed"),r("f52c"),r("84b8"),r("2ea4"),r("3ab8"),r("08a0"),r("dd05"),r("0b81"),r("d0cb"),r("3d59"),r("be139"),r("7bb2"),r("e4f9"),r("02dc"),r("0b22"),r("cedd"),r("a793")},"23a7":function(t,e,r){"use strict";var n=r("67f0"),o=function(){function t(){}return t.ISO_8859_1=n["a"].ISO8859_1,t}();e["a"]=o},2915:function(t,e,r){"use strict";var n=r("2011"),o=r("a9a4"),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.")},a=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,n=this.ecBlocks;try{for(var o=i(n),a=o.next();!a.done;a=o.next()){var u=a.value;r+=u.getCount()}}catch(s){t={error:s}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}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}(),u=a,s=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}(),f=s,l=r("7978"),c=r("f0a7"),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.")},d=function(){function t(t,e){for(var r,n,o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];this.versionNumber=t,this.alignmentPatternCenters=e,this.ecBlocks=o;var a=0,u=o[0].getECCodewordsPerBlock(),s=o[0].getECBlocks();try{for(var f=h(s),l=f.next();!l.done;l=f.next()){var c=l.value;a+=c.getCount()*(c.getDataCodewords()+u)}}catch(d){r={error:d}}finally{try{l&&!l.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}this.totalCodewords=a}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 l["a"];try{return this.getVersionForNumber((t-17)/4)}catch(e){throw new l["a"]}},t.getVersionForNumber=function(e){if(e<1||e>40)throw new c["a"];return t.VERSIONS[e-1]},t.decodeVersionInformation=function(e){for(var r=Number.MAX_SAFE_INTEGER,n=0,i=0;i<t.VERSION_DECODE_INFO.length;i++){var a=t.VERSION_DECODE_INFO[i];if(a===e)return t.getVersionForNumber(i+7);var u=o["a"].numBitsDiffering(e,a);u<r&&(n=i+7,r=u)}return r<=3?t.getVersionForNumber(n):null},t.prototype.buildFunctionPattern=function(){var t=this.getDimensionForVersion(),e=new n["a"](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,o=0;o<r;o++)for(var i=this.alignmentPatternCenters[o]-2,a=0;a<r;a++)0===o&&(0===a||a===r-1)||o===r-1&&0===a||e.setRegion(this.alignmentPatternCenters[a]-2,i,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 u(7,new f(1,19)),new u(10,new f(1,16)),new u(13,new f(1,13)),new u(17,new f(1,9))),new t(2,Int32Array.from([6,18]),new u(10,new f(1,34)),new u(16,new f(1,28)),new u(22,new f(1,22)),new u(28,new f(1,16))),new t(3,Int32Array.from([6,22]),new u(15,new f(1,55)),new u(26,new f(1,44)),new u(18,new f(2,17)),new u(22,new f(2,13))),new t(4,Int32Array.from([6,26]),new u(20,new f(1,80)),new u(18,new f(2,32)),new u(26,new f(2,24)),new u(16,new f(4,9))),new t(5,Int32Array.from([6,30]),new u(26,new f(1,108)),new u(24,new f(2,43)),new u(18,new f(2,15),new f(2,16)),new u(22,new f(2,11),new f(2,12))),new t(6,Int32Array.from([6,34]),new u(18,new f(2,68)),new u(16,new f(4,27)),new u(24,new f(4,19)),new u(28,new f(4,15))),new t(7,Int32Array.from([6,22,38]),new u(20,new f(2,78)),new u(18,new f(4,31)),new u(18,new f(2,14),new f(4,15)),new u(26,new f(4,13),new f(1,14))),new t(8,Int32Array.from([6,24,42]),new u(24,new f(2,97)),new u(22,new f(2,38),new f(2,39)),new u(22,new f(4,18),new f(2,19)),new u(26,new f(4,14),new f(2,15))),new t(9,Int32Array.from([6,26,46]),new u(30,new f(2,116)),new u(22,new f(3,36),new f(2,37)),new u(20,new f(4,16),new f(4,17)),new u(24,new f(4,12),new f(4,13))),new t(10,Int32Array.from([6,28,50]),new u(18,new f(2,68),new f(2,69)),new u(26,new f(4,43),new f(1,44)),new u(24,new f(6,19),new f(2,20)),new u(28,new f(6,15),new f(2,16))),new t(11,Int32Array.from([6,30,54]),new u(20,new f(4,81)),new u(30,new f(1,50),new f(4,51)),new u(28,new f(4,22),new f(4,23)),new u(24,new f(3,12),new f(8,13))),new t(12,Int32Array.from([6,32,58]),new u(24,new f(2,92),new f(2,93)),new u(22,new f(6,36),new f(2,37)),new u(26,new f(4,20),new f(6,21)),new u(28,new f(7,14),new f(4,15))),new t(13,Int32Array.from([6,34,62]),new u(26,new f(4,107)),new u(22,new f(8,37),new f(1,38)),new u(24,new f(8,20),new f(4,21)),new u(22,new f(12,11),new f(4,12))),new t(14,Int32Array.from([6,26,46,66]),new u(30,new f(3,115),new f(1,116)),new u(24,new f(4,40),new f(5,41)),new u(20,new f(11,16),new f(5,17)),new u(24,new f(11,12),new f(5,13))),new t(15,Int32Array.from([6,26,48,70]),new u(22,new f(5,87),new f(1,88)),new u(24,new f(5,41),new f(5,42)),new u(30,new f(5,24),new f(7,25)),new u(24,new f(11,12),new f(7,13))),new t(16,Int32Array.from([6,26,50,74]),new u(24,new f(5,98),new f(1,99)),new u(28,new f(7,45),new f(3,46)),new u(24,new f(15,19),new f(2,20)),new u(30,new f(3,15),new f(13,16))),new t(17,Int32Array.from([6,30,54,78]),new u(28,new f(1,107),new f(5,108)),new u(28,new f(10,46),new f(1,47)),new u(28,new f(1,22),new f(15,23)),new u(28,new f(2,14),new f(17,15))),new t(18,Int32Array.from([6,30,56,82]),new u(30,new f(5,120),new f(1,121)),new u(26,new f(9,43),new f(4,44)),new u(28,new f(17,22),new f(1,23)),new u(28,new f(2,14),new f(19,15))),new t(19,Int32Array.from([6,30,58,86]),new u(28,new f(3,113),new f(4,114)),new u(26,new f(3,44),new f(11,45)),new u(26,new f(17,21),new f(4,22)),new u(26,new f(9,13),new f(16,14))),new t(20,Int32Array.from([6,34,62,90]),new u(28,new f(3,107),new f(5,108)),new u(26,new f(3,41),new f(13,42)),new u(30,new f(15,24),new f(5,25)),new u(28,new f(15,15),new f(10,16))),new t(21,Int32Array.from([6,28,50,72,94]),new u(28,new f(4,116),new f(4,117)),new u(26,new f(17,42)),new u(28,new f(17,22),new f(6,23)),new u(30,new f(19,16),new f(6,17))),new t(22,Int32Array.from([6,26,50,74,98]),new u(28,new f(2,111),new f(7,112)),new u(28,new f(17,46)),new u(30,new f(7,24),new f(16,25)),new u(24,new f(34,13))),new t(23,Int32Array.from([6,30,54,78,102]),new u(30,new f(4,121),new f(5,122)),new u(28,new f(4,47),new f(14,48)),new u(30,new f(11,24),new f(14,25)),new u(30,new f(16,15),new f(14,16))),new t(24,Int32Array.from([6,28,54,80,106]),new u(30,new f(6,117),new f(4,118)),new u(28,new f(6,45),new f(14,46)),new u(30,new f(11,24),new f(16,25)),new u(30,new f(30,16),new f(2,17))),new t(25,Int32Array.from([6,32,58,84,110]),new u(26,new f(8,106),new f(4,107)),new u(28,new f(8,47),new f(13,48)),new u(30,new f(7,24),new f(22,25)),new u(30,new f(22,15),new f(13,16))),new t(26,Int32Array.from([6,30,58,86,114]),new u(28,new f(10,114),new f(2,115)),new u(28,new f(19,46),new f(4,47)),new u(28,new f(28,22),new f(6,23)),new u(30,new f(33,16),new f(4,17))),new t(27,Int32Array.from([6,34,62,90,118]),new u(30,new f(8,122),new f(4,123)),new u(28,new f(22,45),new f(3,46)),new u(30,new f(8,23),new f(26,24)),new u(30,new f(12,15),new f(28,16))),new t(28,Int32Array.from([6,26,50,74,98,122]),new u(30,new f(3,117),new f(10,118)),new u(28,new f(3,45),new f(23,46)),new u(30,new f(4,24),new f(31,25)),new u(30,new f(11,15),new f(31,16))),new t(29,Int32Array.from([6,30,54,78,102,126]),new u(30,new f(7,116),new f(7,117)),new u(28,new f(21,45),new f(7,46)),new u(30,new f(1,23),new f(37,24)),new u(30,new f(19,15),new f(26,16))),new t(30,Int32Array.from([6,26,52,78,104,130]),new u(30,new f(5,115),new f(10,116)),new u(28,new f(19,47),new f(10,48)),new u(30,new f(15,24),new f(25,25)),new u(30,new f(23,15),new f(25,16))),new t(31,Int32Array.from([6,30,56,82,108,134]),new u(30,new f(13,115),new f(3,116)),new u(28,new f(2,46),new f(29,47)),new u(30,new f(42,24),new f(1,25)),new u(30,new f(23,15),new f(28,16))),new t(32,Int32Array.from([6,34,60,86,112,138]),new u(30,new f(17,115)),new u(28,new f(10,46),new f(23,47)),new u(30,new f(10,24),new f(35,25)),new u(30,new f(19,15),new f(35,16))),new t(33,Int32Array.from([6,30,58,86,114,142]),new u(30,new f(17,115),new f(1,116)),new u(28,new f(14,46),new f(21,47)),new u(30,new f(29,24),new f(19,25)),new u(30,new f(11,15),new f(46,16))),new t(34,Int32Array.from([6,34,62,90,118,146]),new u(30,new f(13,115),new f(6,116)),new u(28,new f(14,46),new f(23,47)),new u(30,new f(44,24),new f(7,25)),new u(30,new f(59,16),new f(1,17))),new t(35,Int32Array.from([6,30,54,78,102,126,150]),new u(30,new f(12,121),new f(7,122)),new u(28,new f(12,47),new f(26,48)),new u(30,new f(39,24),new f(14,25)),new u(30,new f(22,15),new f(41,16))),new t(36,Int32Array.from([6,24,50,76,102,128,154]),new u(30,new f(6,121),new f(14,122)),new u(28,new f(6,47),new f(34,48)),new u(30,new f(46,24),new f(10,25)),new u(30,new f(2,15),new f(64,16))),new t(37,Int32Array.from([6,28,54,80,106,132,158]),new u(30,new f(17,122),new f(4,123)),new u(28,new f(29,46),new f(14,47)),new u(30,new f(49,24),new f(10,25)),new u(30,new f(24,15),new f(46,16))),new t(38,Int32Array.from([6,32,58,84,110,136,162]),new u(30,new f(4,122),new f(18,123)),new u(28,new f(13,46),new f(32,47)),new u(30,new f(48,24),new f(14,25)),new u(30,new f(42,15),new f(32,16))),new t(39,Int32Array.from([6,26,54,82,110,138,166]),new u(30,new f(20,117),new f(4,118)),new u(28,new f(40,47),new f(7,48)),new u(30,new f(43,24),new f(22,25)),new u(30,new f(10,15),new f(67,16))),new t(40,Int32Array.from([6,30,58,86,114,142,170]),new u(30,new f(19,118),new f(6,119)),new u(28,new f(18,47),new f(31,48)),new u(30,new f(34,24),new f(34,25)),new u(30,new f(20,15),new f(61,16)))],t}();e["a"]=d},"2e1c":function(t,e,r){"use strict";var n=function(){function t(){}return t.floatToIntBits=function(t){return t},t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();e["a"]=n},"32f9":function(t,e,r){"use strict";var n=r("cb12"),o=r("6530"),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.")},a=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 o=i(this.bytes),a=o.next();!a.done;a=o.next()){var u=a.value;n["a"].fill(u,t)}}catch(s){e={error:s}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}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 i=this.bytes[n],a=r.bytes[n],u=0,s=this.width;u<s;++u)if(i[u]!==a[u])return!1;return!0},t.prototype.toString=function(){for(var t=new o["a"],e=0,r=this.height;e<r;++e){for(var n=this.bytes[e],i=0,a=this.width;i<a;++i)switch(n[i]){case 0:t.append(" 0");break;case 1:t.append(" 1");break;default:t.append(" ");break}t.append("\n")}return t.toString()},t}();e["a"]=a},"370f":function(t,e,r){"use strict";var n=r("a363"),o=r("7163"),i=r("2011"),a=r("5134"),u=r("6833"),s=r("f0a7"),f=r("9cca"),l=function(){function t(){}return t.prototype.encode=function(e,r,i,f,l){if(0===e.length)throw new s["a"]("Found empty contents");if(r!==n["a"].QR_CODE)throw new s["a"]("Can only encode QR_CODE, but got "+r);if(i<0||f<0)throw new s["a"]("Requested dimensions are too small: "+i+"x"+f);var c=a["a"].L,h=t.QUIET_ZONE_SIZE;null!==l&&(void 0!==l.get(o["a"].ERROR_CORRECTION)&&(c=a["a"].fromString(l.get(o["a"].ERROR_CORRECTION).toString())),void 0!==l.get(o["a"].MARGIN)&&(h=Number.parseInt(l.get(o["a"].MARGIN).toString(),10)));var d=u["a"].encode(e,c,l);return t.renderResult(d,i,f,h)},t.renderResult=function(t,e,r,n){var o=t.getMatrix();if(null===o)throw new f["a"];for(var a=o.getWidth(),u=o.getHeight(),s=a+2*n,l=u+2*n,c=Math.max(e,s),h=Math.max(r,l),d=Math.min(Math.floor(c/s),Math.floor(h/l)),w=Math.floor((c-a*d)/2),g=Math.floor((h-u*d)/2),p=new i["a"](c,h),y=0,m=g;y<u;y++,m+=d)for(var C=0,A=w;C<a;C++,A+=d)1===o.get(C,y)&&p.setRegion(A,m,d,d);return p},t.QUIET_ZONE_SIZE=4,t}();e["a"]=l},"3bbd":function(t,e,r){"use strict";var n=r("2d92"),o=r("f0a7"),i=r("63af"),a=r("6530"),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.")},s=function(){function t(t,e){if(0===e.length)throw new o["a"];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),i["a"].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),i=o.next();!i.done;i=o.next()){var a=i.value;n=this.field.add(n,a)}}catch(c){e={error:c}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n}for(var s=this.coefficients[0],f=this.coefficients.length,l=1;l<f;l++)s=this.field.add(this.field.multiply(t,s),this.coefficients[l]);return s},t.prototype.add=function(e){if(!this.field.equals(e.field))throw new o["a"]("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 a=r;r=n,n=a}var u=new Int32Array(n.length),s=n.length-r.length;i["a"].arraycopy(n,0,u,0,s);for(var f=s;f<n.length;f++)u[f]=this.field.add(r[f-s],n[f]);return new t(this.field,u)},t.prototype.subtract=function(t){if(!this.field.equals(t.field))throw new o["a"]("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["a"]("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,i=e.coefficients,a=i.length,u=new Int32Array(n+a-1),s=0;s<n;s++)for(var f=r[s],l=0;l<a;l++)u[s+l]=this.field.add(u[s+l],this.field.multiply(f,i[l]));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["a"];if(0===r)return new t(this.field,new Int32Array([0]));for(var n=this.coefficients.length,i=new Int32Array(n+e),a=0;a<n;a++)i[a]=this.field.multiply(this.coefficients[a],r);return new t(this.field,i)},t.prototype.toString=function(){for(var t=new a["a"],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}(),f=s,l=r("ab5b"),c=r("8635"),h=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["a"];return this.logTable[t]},t.prototype.inverse=function(t){if(0===t)throw new c["a"];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}(),d=h,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)}}(),g=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 f(n,new Int32Array([0])),n.one=new f(n,new Int32Array([1])),n}return w(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 o["a"];if(0===e)return this.zero;var r=new Int32Array(t+1);return r[0]=e,new f(this,r)},e.PDF417_GF=new e(l["a"].NUMBER_OF_CODEWORDS,3),e}(d),p=g,y=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.")},m=function(){function t(){this.field=p.PDF417_GF}return t.prototype.decode=function(t,e,r){for(var o,i,a=new f(this.field,t),u=new Int32Array(e),s=!1,l=e;l>0;l--){var c=a.evaluateAt(this.field.exp(l));u[e-l]=c,0!==c&&(s=!0)}if(!s)return 0;var h=this.field.getOne();if(null!=r)try{for(var d=y(r),w=d.next();!w.done;w=d.next()){var g=w.value,p=this.field.exp(t.length-1-g),m=new f(this.field,new Int32Array([this.field.subtract(0,p),1]));h=h.multiply(m)}}catch(M){o={error:M}}finally{try{w&&!w.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}var C=new f(this.field,u),A=this.runEuclideanAlgorithm(this.field.buildMonomial(e,1),C,e),v=A[0],_=A[1],I=this.findErrorLocations(v),b=this.findErrorMagnitudes(_,v,I);for(l=0;l<I.length;l++){var E=t.length-1-this.field.log(I[l]);if(E<0)throw n["a"].getChecksumInstance();t[E]=this.field.subtract(t[E],b[l])}return I.length},t.prototype.runEuclideanAlgorithm=function(t,e,r){if(t.getDegree()<e.getDegree()){var o=t;t=e,e=o}var i=t,a=e,u=this.field.getZero(),s=this.field.getOne();while(a.getDegree()>=Math.round(r/2)){var f=i,l=u;if(i=a,u=s,i.isZero())throw n["a"].getChecksumInstance();a=f;var c=this.field.getZero(),h=i.getCoefficient(i.getDegree()),d=this.field.inverse(h);while(a.getDegree()>=i.getDegree()&&!a.isZero()){var w=a.getDegree()-i.getDegree(),g=this.field.multiply(a.getCoefficient(a.getDegree()),d);c=c.add(this.field.buildMonomial(w,g)),a=a.subtract(i.multiplyByMonomial(w,g))}s=c.multiply(u).subtract(l).negative()}var p=s.getCoefficient(0);if(0===p)throw n["a"].getChecksumInstance();var y=this.field.inverse(p),m=s.multiply(y),C=a.multiply(y);return[m,C]},t.prototype.findErrorLocations=function(t){for(var e=t.getDegree(),r=new Int32Array(e),o=0,i=1;i<this.field.getSize()&&o<e;i++)0===t.evaluateAt(i)&&(r[o]=this.field.inverse(i),o++);if(o!==e)throw n["a"].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 a=new f(this.field,o),u=r.length,s=new Int32Array(u);for(i=0;i<u;i++){var l=this.field.inverse(r[i]),c=this.field.subtract(0,t.evaluateAt(l)),h=this.field.inverse(a.evaluateAt(l));s[i]=this.field.multiply(c,h)}return s},t}();e["a"]=m},"4c35":function(t,e,r){"use strict";(function(t){var n,o,i=r("7978"),a=r("67f0"),u=r("a652"),s=r("a593"),f=r("cb12"),l=r("6530"),c=r("ea29"),h=r("7df9"),d=r("d96f"),w=r("78c7");function g(){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 p(t){if("undefined"===typeof o&&(o=g()),null===o)throw new Error("BigInt is not supported!");return o(t)}function y(){var t=[];t[0]=p(1);var e=p(900);t[1]=e;for(var r=2;r<16;r++)t[r]=t[r-1]*e;return 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"})(n||(n={}));var m=function(){function t(){}return t.decode=function(e,r){var n=new l["a"](""),o=a["a"].ISO8859_1;n.enableDecoding(o);var f=1,c=e[f++],h=new s["a"];while(f<e[0]){switch(c){case t.TEXT_COMPACTION_MODE_LATCH:f=t.textCompaction(e,f,n);break;case t.BYTE_COMPACTION_MODE_LATCH:case t.BYTE_COMPACTION_MODE_LATCH_6:f=t.byteCompaction(c,e,o,f,n);break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:n.append(e[f++]);break;case t.NUMERIC_COMPACTION_MODE_LATCH:f=t.numericCompaction(e,f,n);break;case t.ECI_CHARSET:a["a"].getCharacterSetECIByValue(e[f++]);break;case t.ECI_GENERAL_PURPOSE:f+=2;break;case t.ECI_USER_DEFINED:f++;break;case t.BEGIN_MACRO_PDF417_CONTROL_BLOCK:f=t.decodeMacroBlock(e,f,h);break;case t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD:case t.MACRO_PDF417_TERMINATOR:throw new i["a"];default:f--,f=t.textCompaction(e,f,n);break}if(!(f<e.length))throw i["a"].getFormatInstance();c=e[f++]}if(0===n.length())throw i["a"].getFormatInstance();var d=new u["a"](null,n.toString(),null,r);return d.setOther(h),d},t.decodeMacroBlock=function(e,r,n){if(r+t.NUMBER_OF_SEQUENCE_CODEWORDS>e[0])throw i["a"].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(c["a"].parseInt(t.decodeBase900toBase10(o,t.NUMBER_OF_SEQUENCE_CODEWORDS)));var u=new l["a"];r=t.textCompaction(e,r,u),n.setFileId(u.toString());var s=-1;e[r]===t.BEGIN_MACRO_PDF417_OPTIONAL_FIELD&&(s=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 l["a"];r=t.textCompaction(e,r+1,d),n.setFileName(d.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SENDER:var w=new l["a"];r=t.textCompaction(e,r+1,w),n.setSender(w.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_ADDRESSEE:var g=new l["a"];r=t.textCompaction(e,r+1,g),n.setAddressee(g.toString());break;case t.MACRO_PDF417_OPTIONAL_FIELD_SEGMENT_COUNT:var p=new l["a"];r=t.numericCompaction(e,r+1,p),n.setSegmentCount(c["a"].parseInt(p.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_TIME_STAMP:var y=new l["a"];r=t.numericCompaction(e,r+1,y),n.setTimestamp(h["a"].parseLong(y.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_CHECKSUM:var m=new l["a"];r=t.numericCompaction(e,r+1,m),n.setChecksum(c["a"].parseInt(m.toString()));break;case t.MACRO_PDF417_OPTIONAL_FIELD_FILE_SIZE:var C=new l["a"];r=t.numericCompaction(e,r+1,C),n.setFileSize(h["a"].parseLong(C.toString()));break;default:throw i["a"].getFormatInstance()}break;case t.MACRO_PDF417_TERMINATOR:r++,n.setLastSegment(!0);break;default:throw i["a"].getFormatInstance()}if(-1!==s){var A=r-s;n.isLastSegment()&&A--,n.setOptionalData(f["a"].copyOfRange(e,s,s+A))}return r},t.textCompaction=function(e,r,n){var o=new Int32Array(2*(e[0]-r)),i=new Int32Array(2*(e[0]-r)),a=0,u=!1;while(r<e[0]&&!u){var s=e[r++];if(s<t.TEXT_COMPACTION_MODE_LATCH)o[a]=s/30,o[a+1]=s%30,a+=2;else switch(s){case t.TEXT_COMPACTION_MODE_LATCH:o[a++]=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[a]=t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE,s=e[r++],i[a]=s,a++;break}}return t.decodeTextCompaction(o,i,a,n),r},t.decodeTextCompaction=function(e,r,o,i){var a=n.ALPHA,u=n.ALPHA,s=0;while(s<o){var f=e[s],l="";switch(a){case n.ALPHA:if(f<26)l=String.fromCharCode(65+f);else switch(f){case 26:l=" ";break;case t.LL:a=n.LOWER;break;case t.ML:a=n.MIXED;break;case t.PS:u=a,a=n.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(r[s]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA;break}break;case n.LOWER:if(f<26)l=String.fromCharCode(97+f);else switch(f){case 26:l=" ";break;case t.AS:u=a,a=n.ALPHA_SHIFT;break;case t.ML:a=n.MIXED;break;case t.PS:u=a,a=n.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(r[s]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA;break}break;case n.MIXED:if(f<t.PL)l=t.MIXED_CHARS[f];else switch(f){case t.PL:a=n.PUNCT;break;case 26:l=" ";break;case t.LL:a=n.LOWER;break;case t.AL:a=n.ALPHA;break;case t.PS:u=a,a=n.PUNCT_SHIFT;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(r[s]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA;break}break;case n.PUNCT:if(f<t.PAL)l=t.PUNCT_CHARS[f];else switch(f){case t.PAL:a=n.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(r[s]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA;break}break;case n.ALPHA_SHIFT:if(a=u,f<26)l=String.fromCharCode(65+f);else switch(f){case 26:l=" ";break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA;break}break;case n.PUNCT_SHIFT:if(a=u,f<t.PAL)l=t.PUNCT_CHARS[f];else switch(f){case t.PAL:a=n.ALPHA;break;case t.MODE_SHIFT_TO_BYTE_COMPACTION_MODE:i.append(r[s]);break;case t.TEXT_COMPACTION_MODE_LATCH:a=n.ALPHA;break}break}""!==l&&i.append(l),s++}},t.byteCompaction=function(e,r,n,o,i){var a=new d["a"],u=0,s=0,f=!1;switch(e){case t.BYTE_COMPACTION_MODE_LATCH:var l=new Int32Array(6),c=r[o++];while(o<r[0]&&!f)switch(l[u++]=c,s=900*s+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--,f=!0;break;default:if(u%5===0&&u>0){for(var h=0;h<6;++h)a.write(Number(p(s)>>p(8*(5-h))));s=0,u=0}break}o===r[0]&&c<t.TEXT_COMPACTION_MODE_LATCH&&(l[u++]=c);for(var g=0;g<u;g++)a.write(l[g]);break;case t.BYTE_COMPACTION_MODE_LATCH_6:while(o<r[0]&&!f){var y=r[o++];if(y<t.TEXT_COMPACTION_MODE_LATCH)u++,s=900*s+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--,f=!0;break}if(u%5===0&&u>0){for(h=0;h<6;++h)a.write(Number(p(s)>>p(8*(5-h))));s=0,u=0}}break}return i.append(w["a"].decode(a.toByteArray(),n)),o},t.numericCompaction=function(e,r,n){var o=0,i=!1,a=new Int32Array(t.MAX_NUMERIC_CODEWORDS);while(r<e[0]&&!i){var u=e[r++];if(r===e[0]&&(i=!0),u<t.TEXT_COMPACTION_MODE_LATCH)a[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--,i=!0;break}(o%t.MAX_NUMERIC_CODEWORDS===0||u===t.NUMERIC_COMPACTION_MODE_LATCH||i)&&o>0&&(n.append(t.decodeBase900toBase10(a,o)),o=0)}return r},t.decodeBase900toBase10=function(e,r){for(var n=p(0),o=0;o<r;o++)n+=t.EXP900[r-o-1]*p(e[o]);var a=n.toString();if("1"!==a.charAt(0))throw new i["a"];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=g()?y():[],t.NUMBER_OF_SEQUENCE_CODEWORDS=2,t}();e["a"]=m}).call(this,r("c8ba"))},5035:function(t,e,r){"use strict";var n=r("6099"),o=r("67f0"),i=r("a652"),a=r("f823"),u=r("7978"),s=r("6530"),f=r("78c7"),l=r("7288"),c=function(){function t(){}return t.decode=function(e,r,a,f){var c=new n["a"](e),h=new s["a"],d=new Array,w=-1,g=-1;try{var p=null,y=!1,m=void 0;do{if(c.available()<4)m=l["a"].TERMINATOR;else{var C=c.readBits(4);m=l["a"].forBits(C)}switch(m){case l["a"].TERMINATOR:break;case l["a"].FNC1_FIRST_POSITION:case l["a"].FNC1_SECOND_POSITION:y=!0;break;case l["a"].STRUCTURED_APPEND:if(c.available()<16)throw new u["a"];w=c.readBits(8),g=c.readBits(8);break;case l["a"].ECI:var A=t.parseECIValue(c);if(p=o["a"].getCharacterSetECIByValue(A),null===p)throw new u["a"];break;case l["a"].HANZI:var v=c.readBits(4),_=c.readBits(m.getCharacterCountBits(r));v===t.GB2312_SUBSET&&t.decodeHanziSegment(c,h,_);break;default:var I=c.readBits(m.getCharacterCountBits(r));switch(m){case l["a"].NUMERIC:t.decodeNumericSegment(c,h,I);break;case l["a"].ALPHANUMERIC:t.decodeAlphanumericSegment(c,h,I,y);break;case l["a"].BYTE:t.decodeByteSegment(c,h,I,p,d,f);break;case l["a"].KANJI:t.decodeKanjiSegment(c,h,I);break;default:throw new u["a"]}break}}while(m!==l["a"].TERMINATOR)}catch(b){throw new u["a"]}return new i["a"](e,h.toString(),0===d.length?null:d,null===a?null:a.toString(),w,g)},t.decodeHanziSegment=function(t,e,r){if(13*r>t.available())throw new u["a"];var n=new Uint8Array(2*r),o=0;while(r>0){var i=t.readBits(13),s=i/96<<8&4294967295|i%96;s+=s<959?41377:42657,n[o]=s>>8&255,n[o+1]=255&s,o+=2,r--}try{e.append(f["a"].decode(n,a["a"].GB2312))}catch(l){throw new u["a"](l)}},t.decodeKanjiSegment=function(t,e,r){if(13*r>t.available())throw new u["a"];var n=new Uint8Array(2*r),o=0;while(r>0){var i=t.readBits(13),s=i/192<<8&4294967295|i%192;s+=s<7936?33088:49472,n[o]=s>>8,n[o+1]=s,o+=2,r--}try{e.append(f["a"].decode(n,a["a"].SHIFT_JIS))}catch(l){throw new u["a"](l)}},t.decodeByteSegment=function(t,e,r,n,o,i){if(8*r>t.available())throw new u["a"];for(var s,l=new Uint8Array(r),c=0;c<r;c++)l[c]=t.readBits(8);s=null===n?a["a"].guessEncoding(l,i):n.getName();try{e.append(f["a"].decode(l,s))}catch(h){throw new u["a"](h)}o.push(l)},t.toAlphaNumericChar=function(e){if(e>=t.ALPHANUMERIC_CHARS.length)throw new u["a"];return t.ALPHANUMERIC_CHARS[e]},t.decodeAlphanumericSegment=function(e,r,n,o){var i=r.length();while(n>1){if(e.available()<11)throw new u["a"];var a=e.readBits(11);r.append(t.toAlphaNumericChar(Math.floor(a/45))),r.append(t.toAlphaNumericChar(a%45)),n-=2}if(1===n){if(e.available()<6)throw new u["a"];r.append(t.toAlphaNumericChar(e.readBits(6)))}if(o)for(var s=i;s<r.length();s++)"%"===r.charAt(s)&&(s<r.length()-1&&"%"===r.charAt(s+1)?r.deleteCharAt(s+1):r.setCharAt(s,String.fromCharCode(29)))},t.decodeNumericSegment=function(e,r,n){while(n>=3){if(e.available()<10)throw new u["a"];var o=e.readBits(10);if(o>=1e3)throw new u["a"];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 u["a"];var i=e.readBits(7);if(i>=100)throw new u["a"];r.append(t.toAlphaNumericChar(Math.floor(i/10))),r.append(t.toAlphaNumericChar(i%10))}else if(1===n){if(e.available()<4)throw new u["a"];var a=e.readBits(4);if(a>=10)throw new u["a"];r.append(t.toAlphaNumericChar(a))}},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 u["a"]},t.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",t.GB2312_SUBSET=1,t}();e["a"]=c},5134:function(t,e,r){"use strict";var n,o=r("f8c0"),i=r("f0a7");(function(t){t[t["L"]=0]="L",t[t["M"]=1]="M",t[t["Q"]=2]="Q",t[t["H"]=3]="H"})(n||(n={}));var a=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 o["a"](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["a"];return t.FOR_BITS.get(e)},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.L=new t(n.L,"L",1),t.M=new t(n.M,"M",0),t.Q=new t(n.Q,"Q",3),t.H=new t(n.H,"H",2),t}();e["a"]=a},"63af":function(t,e,r){"use strict";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}();e["a"]=n},6530:function(t,e,r){"use strict";var n=r("f823"),o=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+=n["a"].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.substr(0,t)+e+this.value.substr(t+e.length)},t}();e["a"]=o},6833:function(t,e,r){"use strict";var n=r("7163"),o=r("9068"),i=r("67f0"),a=r("547e"),u=r("1092"),s=r("7288"),f=r("2915"),l=r("d439"),c=r("32f9"),h=r("ae4b"),d=r("b5b4"),w=r("78c7"),g=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}(),p=g,y=r("4986"),m=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(){}return t.calculateMaskPenalty=function(t){return l["a"].applyMaskPenaltyRule1(t)+l["a"].applyMaskPenaltyRule2(t)+l["a"].applyMaskPenaltyRule3(t)+l["a"].applyMaskPenaltyRule4(t)},t.encode=function(e,r,a){void 0===a&&(a=null);var u=t.DEFAULT_BYTE_MODE_ENCODING,l=null!==a&&void 0!==a.get(n["a"].CHARACTER_SET);l&&(u=a.get(n["a"].CHARACTER_SET).toString());var w=this.chooseMode(e,u),g=new o["a"];if(w===s["a"].BYTE&&(l||t.DEFAULT_BYTE_MODE_ENCODING!==u)){var p=i["a"].getCharacterSetECIByName(u);void 0!==p&&this.appendECI(p,g)}this.appendModeInfo(w,g);var m,C=new o["a"];if(this.appendBytes(e,w,C,u),null!==a&&void 0!==a.get(n["a"].QR_VERSION)){var A=Number.parseInt(a.get(n["a"].QR_VERSION).toString(),10);m=f["a"].getVersionForNumber(A);var v=this.calculateBitsNeeded(w,g,C,m);if(!this.willFit(v,m,r))throw new y["a"]("Data too big for requested version")}else m=this.recommendVersion(r,w,g,C);var _=new o["a"];_.appendBitArray(g);var I=w===s["a"].BYTE?C.getSizeInBytes():e.length;this.appendLengthInfo(I,m,w,_),_.appendBitArray(C);var b=m.getECBlocksForLevel(r),E=m.getTotalCodewords()-b.getTotalECCodewords();this.terminateBits(E,_);var M=this.interleaveWithECBytes(_,m.getTotalCodewords(),E,b.getNumBlocks()),O=new h["a"];O.setECLevel(r),O.setMode(w),O.setVersion(m);var N=m.getDimensionForVersion(),T=new c["a"](N,N),R=this.chooseMaskPattern(M,r,m,T);return O.setMaskPattern(R),d["a"].buildMatrix(M,r,m,R,T),O.setMatrix(T),O},t.recommendVersion=function(t,e,r,n){var o=this.calculateBitsNeeded(e,r,n,f["a"].getVersionForNumber(1)),i=this.chooseVersion(o,t),a=this.calculateBitsNeeded(e,r,n,i);return this.chooseVersion(a,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["a"].SJIS.getName()===r&&this.isOnlyDoubleByteKanji(e))return s["a"].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 s["a"].BYTE;o=!0}}return o?s["a"].ALPHANUMERIC:n?s["a"].NUMERIC:s["a"].BYTE},t.isOnlyDoubleByteKanji=function(t){var e;try{e=w["a"].encode(t,i["a"].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,i=-1,a=0;a<h["a"].NUM_MASK_PATTERNS;a++){d["a"].buildMatrix(t,e,r,a,n);var u=this.calculateMaskPenalty(n);u<o&&(o=u,i=a)}return i},t.chooseVersion=function(e,r){for(var n=1;n<=40;n++){var o=f["a"].getVersionForNumber(n);if(t.willFit(e,o,r))return o}throw new y["a"]("Data too big")},t.willFit=function(t,e,r){var n=e.getTotalCodewords(),o=e.getECBlocksForLevel(r),i=o.getTotalECCodewords(),a=n-i,u=(t+7)/8;return a>=u},t.terminateBits=function(t,e){var r=8*t;if(e.getSize()>r)throw new y["a"]("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 i=t-e.getSizeInBytes();for(n=0;n<i;++n)e.appendBits(0===(1&n)?236:17,8);if(e.getSize()!==r)throw new y["a"]("Bits size does not equal capacity")},t.getNumDataBytesAndNumECBytesForBlockID=function(t,e,r,n,o,i){if(n>=r)throw new y["a"]("Block ID too large");var a=t%r,u=r-a,s=Math.floor(t/r),f=s+1,l=Math.floor(e/r),c=l+1,h=s-l,d=f-c;if(h!==d)throw new y["a"]("EC bytes mismatch");if(r!==u+a)throw new y["a"]("RS blocks mismatch");if(t!==(l+h)*u+(c+d)*a)throw new y["a"]("Total bytes mismatch");n<u?(o[0]=l,i[0]=h):(o[0]=c,i[0]=d)},t.interleaveWithECBytes=function(e,r,n,i){var a,u,s,f;if(e.getSizeInBytes()!==n)throw new y["a"]("Number of bits and data bytes does not match");for(var l=0,c=0,h=0,d=new Array,w=0;w<i;++w){var g=new Int32Array(1),C=new Int32Array(1);t.getNumDataBytesAndNumECBytesForBlockID(r,n,i,w,g,C);var A=g[0],v=new Uint8Array(A);e.toBytes(8*l,v,0,A);var _=t.generateECBytes(v,C[0]);d.push(new p(v,_)),c=Math.max(c,A),h=Math.max(h,_.length),l+=g[0]}if(n!==l)throw new y["a"]("Data bytes does not match offset");var I=new o["a"];for(w=0;w<c;++w)try{for(var b=(a=void 0,m(d)),E=b.next();!E.done;E=b.next()){var M=E.value;v=M.getDataBytes();w<v.length&&I.appendBits(v[w],8)}}catch(T){a={error:T}}finally{try{E&&!E.done&&(u=b.return)&&u.call(b)}finally{if(a)throw a.error}}for(w=0;w<h;++w)try{for(var O=(s=void 0,m(d)),N=O.next();!N.done;N=O.next()){M=N.value,_=M.getErrorCorrectionBytes();w<_.length&&I.appendBits(_[w],8)}}catch(R){s={error:R}}finally{try{N&&!N.done&&(f=O.return)&&f.call(O)}finally{if(s)throw s.error}}if(r!==I.getSizeInBytes())throw new y["a"]("Interleaving error: "+r+" and "+I.getSizeInBytes()+" differ.");return I},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 u["a"](a["a"].QR_CODE_FIELD_256).encode(n,e);var i=new Uint8Array(e);for(o=0;o<e;o++)i[o]=n[r+o];return i},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 y["a"](t+" is bigger than "+((1<<o)-1));n.appendBits(t,o)},t.appendBytes=function(e,r,n,o){switch(r){case s["a"].NUMERIC:t.appendNumericBytes(e,n);break;case s["a"].ALPHANUMERIC:t.appendAlphanumericBytes(e,n);break;case s["a"].BYTE:t.append8BitBytes(e,n,o);break;case s["a"].KANJI:t.appendKanjiBytes(e,n);break;default:throw new y["a"]("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 i=t.getDigit(e.charAt(o));if(o+2<n){var a=t.getDigit(e.charAt(o+1)),u=t.getDigit(e.charAt(o+2));r.appendBits(100*i+10*a+u,10),o+=3}else if(o+1<n){a=t.getDigit(e.charAt(o+1));r.appendBits(10*i+a,7),o+=2}else r.appendBits(i,4),o++}},t.appendAlphanumericBytes=function(e,r){var n=e.length,o=0;while(o<n){var i=t.getAlphanumericCode(e.charCodeAt(o));if(-1===i)throw new y["a"];if(o+1<n){var a=t.getAlphanumericCode(e.charCodeAt(o+1));if(-1===a)throw new y["a"];r.appendBits(45*i+a,11),o+=2}else r.appendBits(i,6),o++}},t.append8BitBytes=function(t,e,r){var n;try{n=w["a"].encode(t,r)}catch(u){throw new y["a"](u)}for(var o=0,i=n.length;o!==i;o++){var a=n[o];e.appendBits(a,8)}},t.appendKanjiBytes=function(t,e){var r;try{r=w["a"].encode(t,i["a"].SJIS)}catch(c){throw new y["a"](c)}for(var n=r.length,o=0;o<n;o+=2){var a=255&r[o],u=255&r[o+1],s=a<<8&4294967295|u,f=-1;if(s>=33088&&s<=40956?f=s-33088:s>=57408&&s<=60351&&(f=s-49472),-1===f)throw new y["a"]("Invalid byte sequence");var l=192*(f>>8)+(255&f);e.appendBits(l,13)}},t.appendECI=function(t,e){e.appendBits(s["a"].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["a"].UTF8.getName(),t}();e["a"]=C},7288:function(t,e,r){"use strict";var n,o=r("f0a7");(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"})(n||(n={}));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 o["a"];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(n.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),t.NUMERIC=new t(n.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),t.ALPHANUMERIC=new t(n.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),t.STRUCTURED_APPEND=new t(n.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),t.BYTE=new t(n.BYTE,"BYTE",Int32Array.from([8,16,16]),4),t.ECI=new t(n.ECI,"ECI",Int32Array.from([0,0,0]),7),t.KANJI=new t(n.KANJI,"KANJI",Int32Array.from([8,10,12]),8),t.FNC1_FIRST_POSITION=new t(n.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),t.FNC1_SECOND_POSITION=new t(n.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),t.HANZI=new t(n.HANZI,"HANZI",Int32Array.from([8,10,12]),13),t}();e["a"]=i},"78c7":function(t,e,r){"use strict";var n=r("1cba"),o=r("67f0"),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 o["a"]?t:o["a"].getCharacterSetECIByName(t)},t.decodeFallback=function(e,r){var i=this.encodingCharacterSet(r);if(t.isDecodeFallbackSupported(i)){for(var a="",u=0,s=e.length;u<s;u++){var f=e[u].toString(16);f.length<2&&(f="0"+f),a+="%"+f}return decodeURIComponent(a)}if(i.equals(o["a"].UnicodeBigUnmarked))return String.fromCharCode.apply(null,new Uint16Array(e.buffer));throw new n["a"]("Encoding "+this.encodingName(r)+" not supported by fallback.")},t.isDecodeFallbackSupported=function(t){return t.equals(o["a"].UTF8)||t.equals(o["a"].ISO8859_1)||t.equals(o["a"].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}();e["a"]=i},"7df9":function(t,e,r){"use strict";var n=function(){function t(){}return t.parseLong=function(t,e){return void 0===e&&(e=void 0),parseInt(t,e)},t}();e["a"]=n},a593:function(t,e,r){"use strict";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}();e["a"]=n},a9a4:function(t,e,r){"use strict";var n=r("5134"),o=r("ea29"),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.")},a=function(){function t(t){this.errorCorrectionLevel=n["a"].forBits(t>>3&3),this.dataMask=7&t}return t.numBitsDiffering=function(t,e){return o["a"].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 s=i(t.FORMAT_INFO_DECODE_LOOKUP),f=s.next();!f.done;f=s.next()){var l=f.value,c=l[0];if(c===e||c===r)return new t(l[1]);var h=t.numBitsDiffering(e,c);h<a&&(u=l[1],a=h),e!==r&&(h=t.numBitsDiffering(r,c),h<a&&(u=l[1],a=h))}}catch(d){n={error:d}}finally{try{f&&!f.done&&(o=s.return)&&o.call(s)}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}();e["a"]=a},ab5b:function(t,e,r){"use strict";var n=r("cb12"),o=r("fb63"),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.")},a=function(){function t(){}return t.prototype.PDF417Common=function(){},t.getBitCountSum=function(t){return o["a"].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),s=u.next();!s.done;s=u.next()){var f=s.value;o[a++]=f}}catch(l){r={error:l}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return o},t.getCodeword=function(e){var r=n["a"].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}();e["a"]=a},ae4b:function(t,e,r){"use strict";var n=r("6530"),o=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 n["a"];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}();e["a"]=o},b3d8:function(t,e,r){"use strict";var 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||(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}();e["a"]=o},b5b4:function(t,e,r){"use strict";var n=r("9068"),o=r("ea29"),i=r("ae4b"),a=r("d439"),u=r("4986"),s=r("f0a7"),f=function(){function t(){}return t.clearMatrix=function(t){t.clear(255)},t.buildMatrix=function(e,r,n,o,i){t.clearMatrix(i),t.embedBasicPatterns(n,i),t.embedTypeInfo(r,o,i),t.maybeEmbedVersionInfo(n,i),t.embedDataBits(e,o,i)},t.embedBasicPatterns=function(e,r){t.embedPositionDetectionPatternsAndSeparators(r),t.embedDarkDotAtLeftBottomCorner(r),t.maybeEmbedPositionAdjustmentPatterns(e,r),t.embedTimingPatterns(r)},t.embedTypeInfo=function(e,r,o){var i=new n["a"];t.makeTypeInfoBits(e,r,i);for(var a=0,u=i.getSize();a<u;++a){var s=i.get(i.getSize()-1-a),f=t.TYPE_INFO_COORDINATES[a],l=f[0],c=f[1];if(o.setBoolean(l,c,s),a<8){var h=o.getWidth()-a-1,d=8;o.setBoolean(h,d,s)}else{h=8,d=o.getHeight()-7+(a-8);o.setBoolean(h,d,s)}}},t.maybeEmbedVersionInfo=function(e,r){if(!(e.getVersionNumber()<7)){var o=new n["a"];t.makeVersionInfoBits(e,o);for(var i=17,a=0;a<6;++a)for(var u=0;u<3;++u){var s=o.get(i);i--,r.setBoolean(a,r.getHeight()-11+u,s),r.setBoolean(r.getHeight()-11+u,a,s)}}},t.embedDataBits=function(e,r,n){var o=0,i=-1,s=n.getWidth()-1,f=n.getHeight()-1;while(s>0){6===s&&(s-=1);while(f>=0&&f<n.getHeight()){for(var l=0;l<2;++l){var c=s-l;if(t.isEmpty(n.get(c,f))){var h=void 0;o<e.getSize()?(h=e.get(o),++o):h=!1,255!==r&&a["a"].getDataMaskBit(r,c,f)&&(h=!h),n.setBoolean(c,f,h)}}f+=i}i=-i,f+=i,s-=2}if(o!==e.getSize())throw new u["a"]("Not all bits consumed: "+o+"/"+e.getSize())},t.findMSBSet=function(t){return 32-o["a"].numberOfLeadingZeros(t)},t.calculateBCHCode=function(e,r){if(0===r)throw new s["a"]("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,o){if(!i["a"].isValidMaskPattern(r))throw new u["a"]("Invalid mask pattern");var a=e.getBits()<<3|r;o.appendBits(a,5);var s=t.calculateBCHCode(a,t.TYPE_INFO_POLY);o.appendBits(s,10);var f=new n["a"];if(f.appendBits(t.TYPE_INFO_MASK_PATTERN,15),o.xor(f),15!==o.getSize())throw new u["a"]("should not happen but we got: "+o.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 u["a"]("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 u["a"];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 u["a"];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 u["a"];n.setNumber(e,r+o,0)}},t.embedPositionAdjustmentPattern=function(e,r,n){for(var o=0;o<5;++o)for(var i=t.POSITION_ADJUSTMENT_PATTERN[o],a=0;a<5;++a)n.setNumber(e+a,r+o,i[a])},t.embedPositionDetectionPattern=function(e,r,n){for(var o=0;o<7;++o)for(var i=t.POSITION_DETECTION_PATTERN[o],a=0;a<7;++a)n.setNumber(e+a,r+o,i[a])},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);var n=8;t.embedHorizontalSeparationPattern(0,n-1,e),t.embedHorizontalSeparationPattern(e.getWidth()-n,n-1,e),t.embedHorizontalSeparationPattern(0,e.getWidth()-n,e);var o=7;t.embedVerticalSeparationPattern(o,0,e),t.embedVerticalSeparationPattern(e.getHeight()-o-1,0,e),t.embedVerticalSeparationPattern(o,e.getHeight()-o,e)},t.maybeEmbedPositionAdjustmentPatterns=function(e,r){if(!(e.getVersionNumber()<2))for(var n=e.getVersionNumber()-1,o=t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[n],i=0,a=o.length;i!==a;i++){var u=o[i];if(u>=0)for(var s=0;s!==a;s++){var f=o[s];f>=0&&t.isEmpty(r.get(f,u))&&t.embedPositionAdjustmentPattern(f-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}();e["a"]=f},c168:function(t,e,r){"use strict";var n=function(){function t(){}return t.singletonList=function(t){return[t]},t.min=function(t,e){return t.sort(e)[0]},t}();e["a"]=n},cb12:function(t,e,r){"use strict";var n=r("63af"),o=r("f0a7"),i=r("8a55"),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.")},u=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 i=r;i<n;i++)e[i]=o},t.rangeCheck=function(t,e,r){if(e>r)throw new o["a"]("fromIndex("+e+") > toIndex("+r+")");if(e<0)throw new i["a"](e);if(r>t)throw new i["a"](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=a(t),i=o.next();!i.done;i=o.next()){var u=i.value;n=31*n+u}}catch(s){e={error:s}}finally{try{i&&!i.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 o=r-e,i=new Int32Array(o);return n["a"].arraycopy(t,e,i,0,o),i},t.binarySearch=function(e,r,n){void 0===n&&(n=t.numberComparator);var o=0,i=e.length-1;while(o<=i){var a=i+o>>1,u=n(r,e[a]);if(u>0)o=a+1;else{if(!(u<0))return a;i=a-1}}return-o-1},t.numberComparator=function(t,e){return t-e},t}();e["a"]=u},d2fa:function(t,e,r){"use strict";var n=r("a363"),o=r("2011"),i=r("fe96"),a=r("ca08"),u=r("2f50"),s=r("64a7"),f=r("2d92"),l=r("547e"),c=r("34c8"),h=r("2915"),d=r("a9a4"),w=r("b3d8"),g=r("7978"),p=function(){function t(t){var e=t.getHeight();if(e<21||1!==(3&e))throw new g["a"];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=d["a"].decodeFormatInformation(t,o),null!==this.parsedFormatInfo)return this.parsedFormatInfo;throw new g["a"]},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 h["a"].getVersionForNumber(e);for(var r=0,n=t-11,o=5;o>=0;o--)for(var i=t-9;i>=n;i--)r=this.copyBit(i,o,r);var a=h["a"].decodeVersionInformation(r);if(null!==a&&a.getDimensionForVersion()===t)return this.parsedVersion=a,a;r=0;for(i=5;i>=0;i--)for(o=t-9;o>=n;o--)r=this.copyBit(i,o,r);if(a=h["a"].decodeVersionInformation(r),null!==a&&a.getDimensionForVersion()===t)return this.parsedVersion=a,a;throw new g["a"]},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=w["a"].values.get(t.getDataMask()),n=this.bitMatrix.getHeight();r.unmaskBitMatrix(this.bitMatrix,n);for(var o=e.buildFunctionPattern(),i=!0,a=new Uint8Array(e.getTotalCodewords()),u=0,s=0,f=0,l=n-1;l>0;l-=2){6===l&&l--;for(var c=0;c<n;c++)for(var h=i?n-1-c:c,d=0;d<2;d++)o.get(l-d,h)||(f++,s<<=1,this.bitMatrix.get(l-d,h)&&(s|=1),8===f&&(a[u++]=s,f=0,s=0));i=!i}if(u!==e.getTotalCodewords())throw new g["a"];return a},t.prototype.remask=function(){if(null!==this.parsedFormatInfo){var t=w["a"].values[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}(),y=p,m=r("f0a7"),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.")},A=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,r,n){var o,i,a,u;if(e.length!==r.getTotalCodewords())throw new m["a"];var s=r.getECBlocksForLevel(n),f=0,l=s.getECBlocks();try{for(var c=C(l),h=c.next();!h.done;h=c.next()){var d=h.value;f+=d.getCount()}}catch(S){o={error:S}}finally{try{h&&!h.done&&(i=c.return)&&i.call(c)}finally{if(o)throw o.error}}var w=new Array(f),g=0;try{for(var p=C(l),y=p.next();!y.done;y=p.next()){d=y.value;for(var A=0;A<d.getCount();A++){var v=d.getDataCodewords(),_=s.getECCodewordsPerBlock()+v;w[g++]=new t(v,new Uint8Array(_))}}}catch(B){a={error:B}}finally{try{y&&!y.done&&(u=p.return)&&u.call(p)}finally{if(a)throw a.error}}var I=w[0].codewords.length,b=w.length-1;while(b>=0){var E=w[b].codewords.length;if(E===I)break;b--}b++;var M=I-s.getECCodewordsPerBlock(),O=0;for(A=0;A<M;A++)for(var N=0;N<g;N++)w[N].codewords[A]=e[O++];for(N=b;N<g;N++)w[N].codewords[M]=e[O++];var T=w[0].codewords.length;for(A=M;A<T;A++)for(N=0;N<g;N++){var R=N<b?A:A+1;w[N].codewords[R]=e[O++]}return w},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}(),v=A,_=r("5035"),I=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}(),b=I,E=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.")},M=function(){function t(){this.rsDecoder=new c["a"](l["a"].QR_CODE_FIELD_256)}return t.prototype.decodeBooleanArray=function(t,e){return this.decodeBitMatrix(o["a"].parseFromBooleanArray(t),e)},t.prototype.decodeBitMatrix=function(t,e){var r=new y(t),n=null;try{return this.decodeBitMatrixParser(r,e)}catch(i){n=i}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var o=this.decodeBitMatrixParser(r,e);return o.setOther(new b(!0)),o}catch(i){if(null!==n)throw n;throw i}},t.prototype.decodeBitMatrixParser=function(t,e){var r,n,o,i,a=t.readVersion(),u=t.readFormatInformation().getErrorCorrectionLevel(),s=t.readCodewords(),f=v.getDataBlocks(s,a,u),l=0;try{for(var c=E(f),h=c.next();!h.done;h=c.next()){var d=h.value;l+=d.getNumDataCodewords()}}catch(I){r={error:I}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}var w=new Uint8Array(l),g=0;try{for(var p=E(f),y=p.next();!y.done;y=p.next()){d=y.value;var m=d.getCodewords(),C=d.getNumDataCodewords();this.correctErrors(m,C);for(var A=0;A<C;A++)w[g++]=m[A]}}catch(b){o={error:b}}finally{try{y&&!y.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}return _["a"].decode(w,a,u,e)},t.prototype.correctErrors=function(t,e){var r=new Int32Array(t);try{this.rsDecoder.decode(r,t.length-e)}catch(o){throw new f["a"]}for(var n=0;n<e;n++)t[n]=r[n]},t}(),O=M,N=r("fb63"),T=r("7a37"),R=r("be40"),S=r("a0cf"),B=r("8c95"),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)}}(),P=function(t){function e(e,r,n){var o=t.call(this,e,r)||this;return o.estimatedModuleSize=n,o}return D(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,i=(this.getY()+t)/2,a=(this.estimatedModuleSize+n)/2;return new e(o,i,a)},e}(B["a"]),L=P,k=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,r,n,o,i,a){this.image=t,this.startX=e,this.startY=r,this.width=n,this.height=o,this.moduleSize=i,this.resultPointCallback=a,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,s=0;s<e;s++){var f=o+(0===(1&s)?Math.floor((s+1)/2):-Math.floor((s+1)/2));i[0]=0,i[1]=0,i[2]=0;var l=t;while(l<n&&!u.get(l,f))l++;var c=0;while(l<n){if(u.get(l,f))if(1===c)i[1]++;else if(2===c){if(this.foundPatternCross(i)){var h=this.handlePossibleCenter(i,f,l);if(null!==h)return h}i[0]=i[2],i[1]=1,i[2]=0,c=1}else i[++c]++;else 1===c&&c++,i[c]++;l++}if(this.foundPatternCross(i)){h=this.handlePossibleCenter(i,f,n);if(null!==h)return h}}if(0!==this.possibleCenters.length)return this.possibleCenters[0];throw new a["a"]},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 i=this.image,a=i.getHeight(),u=this.crossCheckStateCount;u[0]=0,u[1]=0,u[2]=0;var s=e;while(s>=0&&i.get(r,s)&&u[1]<=n)u[1]++,s--;if(s<0||u[1]>n)return NaN;while(s>=0&&!i.get(r,s)&&u[0]<=n)u[0]++,s--;if(u[0]>n)return NaN;s=e+1;while(s<a&&i.get(r,s)&&u[1]<=n)u[1]++,s++;if(s===a||u[1]>n)return NaN;while(s<a&&!i.get(r,s)&&u[2]<=n)u[2]++,s++;if(u[2]>n)return NaN;var f=u[0]+u[1]+u[2];return 5*Math.abs(f-o)>=2*o?NaN:this.foundPatternCross(u)?t.centerFromEnd(u,s):NaN},t.prototype.handlePossibleCenter=function(e,r,n){var o,i,a=e[0]+e[1]+e[2],u=t.centerFromEnd(e,n),s=this.crossCheckVertical(r,u,2*e[1],a);if(!isNaN(s)){var f=(e[0]+e[1]+e[2])/3;try{for(var l=k(this.possibleCenters),c=l.next();!c.done;c=l.next()){var h=c.value;if(h.aboutEquals(f,s,u))return h.combineEstimate(s,u,f)}}catch(w){o={error:w}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}var d=new L(u,s,f);this.possibleCenters.push(d),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(d)}return null},t}(),x=F,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)}}(),V=function(t){function e(e,r,n,o){var i=t.call(this,e,r)||this;return i.estimatedModuleSize=n,i.count=o,void 0===o&&(i.count=1),i}return U(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,i=(this.count*this.getX()+r)/o,a=(this.count*this.getY()+t)/o,u=(this.count*this.estimatedModuleSize+n)/o;return new e(i,a,u,o)},e}(B["a"]),H=V,X=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}(),W=X,Y=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.")},z=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(i["a"].TRY_HARDER),n=null!==e&&void 0!==e&&void 0!==e.get(i["a"].PURE_BARCODE),o=this.image,a=o.getHeight(),u=o.getWidth(),s=Math.floor(3*a/(4*t.MAX_MODULES));(s<t.MIN_SKIP||r)&&(s=t.MIN_SKIP);for(var f=!1,l=new Int32Array(5),c=s-1;c<a&&!f;c+=s){l[0]=0,l[1]=0,l[2]=0,l[3]=0,l[4]=0;for(var h=0,d=0;d<u;d++)if(o.get(d,c))1===(1&h)&&h++,l[h]++;else if(0===(1&h))if(4===h)if(t.foundPatternCross(l)){var w=this.handlePossibleCenter(l,c,d,n);if(!0!==w){l[0]=l[2],l[1]=l[3],l[2]=l[4],l[3]=1,l[4]=0,h=3;continue}if(s=2,!0===this.hasSkipped)f=this.haveMultiplyConfirmedCenters();else{var g=this.findRowSkip();g>l[2]&&(c+=g-l[2]-s,d=u-1)}h=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,h=3;else l[++h]++;else l[h]++;if(t.foundPatternCross(l)){w=this.handlePossibleCenter(l,c,u,n);!0===w&&(s=l[0],this.hasSkipped&&(f=this.haveMultiplyConfirmedCenters()))}}var p=this.selectBestPatterns();return B["a"].orderBestPatterns(p),new W(p)},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,i=o/2;return Math.abs(o-t[0])<i&&Math.abs(o-t[1])<i&&Math.abs(3*o-t[2])<3*i&&Math.abs(o-t[3])<i&&Math.abs(o-t[4])<i},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 i=this.getCrossCheckStateCount(),a=0,u=this.image;while(e>=a&&r>=a&&u.get(r-a,e-a))i[2]++,a++;if(e<a||r<a)return!1;while(e>=a&&r>=a&&!u.get(r-a,e-a)&&i[1]<=n)i[1]++,a++;if(e<a||r<a||i[1]>n)return!1;while(e>=a&&r>=a&&u.get(r-a,e-a)&&i[0]<=n)i[0]++,a++;if(i[0]>n)return!1;var s=u.getHeight(),f=u.getWidth();a=1;while(e+a<s&&r+a<f&&u.get(r+a,e+a))i[2]++,a++;if(e+a>=s||r+a>=f)return!1;while(e+a<s&&r+a<f&&!u.get(r+a,e+a)&&i[3]<n)i[3]++,a++;if(e+a>=s||r+a>=f||i[3]>=n)return!1;while(e+a<s&&r+a<f&&u.get(r+a,e+a)&&i[4]<n)i[4]++,a++;if(i[4]>=n)return!1;var l=i[0]+i[1]+i[2]+i[3]+i[4];return Math.abs(l-o)<2*o&&t.foundPatternCross(i)},t.prototype.crossCheckVertical=function(e,r,n,o){var i=this.image,a=i.getHeight(),u=this.getCrossCheckStateCount(),s=e;while(s>=0&&i.get(r,s))u[2]++,s--;if(s<0)return NaN;while(s>=0&&!i.get(r,s)&&u[1]<=n)u[1]++,s--;if(s<0||u[1]>n)return NaN;while(s>=0&&i.get(r,s)&&u[0]<=n)u[0]++,s--;if(u[0]>n)return NaN;s=e+1;while(s<a&&i.get(r,s))u[2]++,s++;if(s===a)return NaN;while(s<a&&!i.get(r,s)&&u[3]<n)u[3]++,s++;if(s===a||u[3]>=n)return NaN;while(s<a&&i.get(r,s)&&u[4]<n)u[4]++,s++;if(u[4]>=n)return NaN;var f=u[0]+u[1]+u[2]+u[3]+u[4];return 5*Math.abs(f-o)>=2*o?NaN:t.foundPatternCross(u)?t.centerFromEnd(u,s):NaN},t.prototype.crossCheckHorizontal=function(e,r,n,o){var i=this.image,a=i.getWidth(),u=this.getCrossCheckStateCount(),s=e;while(s>=0&&i.get(s,r))u[2]++,s--;if(s<0)return NaN;while(s>=0&&!i.get(s,r)&&u[1]<=n)u[1]++,s--;if(s<0||u[1]>n)return NaN;while(s>=0&&i.get(s,r)&&u[0]<=n)u[0]++,s--;if(u[0]>n)return NaN;s=e+1;while(s<a&&i.get(s,r))u[2]++,s++;if(s===a)return NaN;while(s<a&&!i.get(s,r)&&u[3]<n)u[3]++,s++;if(s===a||u[3]>=n)return NaN;while(s<a&&i.get(s,r)&&u[4]<n)u[4]++,s++;if(u[4]>=n)return NaN;var f=u[0]+u[1]+u[2]+u[3]+u[4];return 5*Math.abs(f-o)>=o?NaN:t.foundPatternCross(u)?t.centerFromEnd(u,s):NaN},t.prototype.handlePossibleCenter=function(e,r,n,o){var i=e[0]+e[1]+e[2]+e[3]+e[4],a=t.centerFromEnd(e,n),u=this.crossCheckVertical(r,Math.floor(a),e[2],i);if(!isNaN(u)&&(a=this.crossCheckHorizontal(Math.floor(a),Math.floor(u),e[2],i),!isNaN(a)&&(!o||this.crossCheckDiagonal(Math.floor(u),Math.floor(a),e[2],i)))){for(var s=i/7,f=!1,l=this.possibleCenters,c=0,h=l.length;c<h;c++){var d=l[c];if(d.aboutEquals(s,u,a)){l[c]=d.combineEstimate(u,a,s),f=!0;break}}if(!f){var w=new H(a,u,s);l.push(w),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(w)}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 i=Y(this.possibleCenters),a=i.next();!a.done;a=i.next()){var u=a.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(s){e={error:s}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return 0},t.prototype.haveMultiplyConfirmedCenters=function(){var e,r,n,o,i=0,a=0,u=this.possibleCenters.length;try{for(var s=Y(this.possibleCenters),f=s.next();!f.done;f=s.next()){var l=f.value;l.getCount()>=t.CENTER_QUORUM&&(i++,a+=l.getEstimatedModuleSize())}}catch(g){e={error:g}}finally{try{f&&!f.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}if(i<3)return!1;var c=a/u,h=0;try{for(var d=Y(this.possibleCenters),w=d.next();!w.done;w=d.next()){l=w.value;h+=Math.abs(l.getEstimatedModuleSize()-c)}}catch(p){n={error:p}}finally{try{w&&!w.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}return h<=.05*a},t.prototype.selectBestPatterns=function(){var t,e,r,n,o=this.possibleCenters.length;if(o<3)throw new a["a"];var i,u=this.possibleCenters;if(o>3){var s=0,f=0;try{for(var l=Y(this.possibleCenters),c=l.next();!c.done;c=l.next()){var h=c.value,d=h.getEstimatedModuleSize();s+=d,f+=d*d}}catch(v){t={error:v}}finally{try{c&&!c.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}i=s/o;var w=Math.sqrt(f/o-i*i);u.sort((function(t,e){var r=Math.abs(e.getEstimatedModuleSize()-i),n=Math.abs(t.getEstimatedModuleSize()-i);return r<n?-1:r>n?1:0}));for(var g=Math.max(.2*i,w),p=0;p<u.length&&u.length>3;p++){var y=u[p];Math.abs(y.getEstimatedModuleSize()-i)>g&&(u.splice(p,1),p--)}}if(u.length>3){s=0;try{for(var m=Y(u),C=m.next();!C.done;C=m.next()){var A=C.value;s+=A.getEstimatedModuleSize()}}catch(_){r={error:_}}finally{try{C&&!C.done&&(n=m.return)&&n.call(m)}finally{if(r)throw r.error}}i=s/u.length,u.sort((function(t,e){if(e.getCount()===t.getCount()){var r=Math.abs(e.getEstimatedModuleSize()-i),n=Math.abs(t.getEstimatedModuleSize()-i);return r<n?1:r>n?-1:0}return e.getCount()-t.getCount()})),u.splice(3)}return[u[0],u[1],u[2]]},t.CENTER_QUORUM=2,t.MIN_SKIP=3,t.MAX_MODULES=57,t}(),K=z,j=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(i["a"].NEED_RESULT_POINT_CALLBACK);var e=new K(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 a["a"]("No pattern found in proccess finder.");var u=t.computeDimension(r,n,o,i),s=h["a"].getProvisionalVersionForDimension(u),f=s.getDimensionForVersion()-7,l=null;if(s.getAlignmentPatternCenters().length>0)for(var c=n.getX()-r.getX()+o.getX(),d=n.getY()-r.getY()+o.getY(),w=1-3/f,g=Math.floor(r.getX()+w*(c-r.getX())),p=Math.floor(r.getY()+w*(d-r.getY())),y=4;y<=16;y<<=1)try{l=this.findAlignmentInRegion(i,g,p,y);break}catch(v){if(!(v instanceof a["a"]))throw v}var m,C=t.createTransform(r,n,o,l,u),A=t.sampleGrid(this.image,C,u);return m=null===l?[o,r,n]:[o,r,n,l],new T["a"](A,m)},t.createTransform=function(t,e,r,n,o){var i,a,u,s,f=o-3.5;return null!==n?(i=n.getX(),a=n.getY(),u=f-3,s=u):(i=e.getX()-t.getX()+r.getX(),a=e.getY()-t.getY()+r.getY(),u=f,s=f),S["a"].quadrilateralToQuadrilateral(3.5,3.5,f,3.5,u,s,3.5,f,t.getX(),t.getY(),e.getX(),e.getY(),i,a,r.getX(),r.getY())},t.sampleGrid=function(t,e,r){var n=R["a"].getInstance();return n.sampleGridWithTransform(t,r,r,e)},t.computeDimension=function(t,e,r,n){var o=N["a"].round(B["a"].distance(t,e)/n),i=N["a"].round(B["a"].distance(t,r)/n),u=Math.floor((o+i)/2)+7;switch(3&u){case 0:u++;break;case 2:u--;break;case 3:throw new a["a"]("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),i=1,a=t-(r-t);a<0?(i=t/(t-a),a=0):a>=this.image.getWidth()&&(i=(this.image.getWidth()-1-t)/(a-t),a=this.image.getWidth()-1);var u=Math.floor(e-(n-e)*i);return i=1,u<0?(i=e/(e-u),u=0):u>=this.image.getHeight()&&(i=(this.image.getHeight()-1-e)/(u-e),u=this.image.getHeight()-1),a=Math.floor(t+(a-t)*i),o+=this.sizeOfBlackWhiteBlackRun(t,e,a,u),o-1},t.prototype.sizeOfBlackWhiteBlackRun=function(t,e,r,n){var o=Math.abs(n-e)>Math.abs(r-t);if(o){var i=t;t=e,e=i,i=r,r=n,n=i}for(var a=Math.abs(r-t),u=Math.abs(n-e),s=-a/2,f=t<r?1:-1,l=e<n?1:-1,c=0,h=r+f,d=t,w=e;d!==h;d+=f){var g=o?w:d,p=o?d:w;if(1===c===this.image.get(g,p)){if(2===c)return N["a"].distance(d,w,t,e);c++}if(s+=u,s>0){if(w===n)break;w+=l,s-=a}}return 2===c?N["a"].distance(r+f,n,t,e):NaN},t.prototype.findAlignmentInRegion=function(t,e,r,n){var o=Math.floor(n*t),i=Math.max(0,e-o),u=Math.min(this.image.getWidth()-1,e+o);if(u-i<3*t)throw new a["a"]("Alignment top exceeds estimated module size.");var s=Math.max(0,r-o),f=Math.min(this.image.getHeight()-1,r+o);if(f-s<3*t)throw new a["a"]("Alignment bottom exceeds estimated module size.");var l=new x(this.image,i,s,u-i,f-s,t,this.resultPointCallback);return l.find()},t}(),G=j,Z=function(){function t(){this.decoder=new O}return t.prototype.getDecoder=function(){return this.decoder},t.prototype.decode=function(e,r){var o,a;if(void 0!==r&&null!==r&&void 0!==r.get(i["a"].PURE_BARCODE)){var f=t.extractPureBits(e.getBlackMatrix());o=this.decoder.decodeBitMatrix(f,r),a=t.NO_POINTS}else{var l=new G(e.getBlackMatrix()).detect(r);o=this.decoder.decodeBitMatrix(l.getBits(),r),a=l.getPoints()}o.getOther()instanceof b&&o.getOther().applyMirroredCorrection(a);var c=new u["a"](o.getText(),o.getRawBytes(),void 0,a,n["a"].QR_CODE,void 0),h=o.getByteSegments();null!==h&&c.putMetadata(s["a"].BYTE_SEGMENTS,h);var d=o.getECLevel();return null!==d&&c.putMetadata(s["a"].ERROR_CORRECTION_LEVEL,d),o.hasStructuredAppend()&&(c.putMetadata(s["a"].STRUCTURED_APPEND_SEQUENCE,o.getStructuredAppendSequenceNumber()),c.putMetadata(s["a"].STRUCTURED_APPEND_PARITY,o.getStructuredAppendParity())),c},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),r=t.getBottomRightOnBit();if(null===e||null===r)throw new a["a"];var n=this.moduleSize(e,t),i=e[1],u=r[1],s=e[0],f=r[0];if(s>=f||i>=u)throw new a["a"];if(u-i!==f-s&&(f=s+(u-i),f>=t.getWidth()))throw new a["a"];var l=Math.round((f-s+1)/n),c=Math.round((u-i+1)/n);if(l<=0||c<=0)throw new a["a"];if(c!==l)throw new a["a"];var h=Math.floor(n/2);i+=h,s+=h;var d=s+Math.floor((l-1)*n)-f;if(d>0){if(d>h)throw new a["a"];s-=d}var w=i+Math.floor((c-1)*n)-u;if(w>0){if(w>h)throw new a["a"];i-=w}for(var g=new o["a"](l,c),p=0;p<c;p++)for(var y=i+Math.floor(p*n),m=0;m<l;m++)t.get(s+Math.floor(m*n),y)&&g.set(m,p);return g},t.moduleSize=function(t,e){var r=e.getHeight(),n=e.getWidth(),o=t[0],i=t[1],u=!0,s=0;while(o<n&&i<r){if(u!==e.get(o,i)){if(5===++s)break;u=!u}o++,i++}if(o===n||i===r)throw new a["a"];return(o-t[0])/7},t.NO_POINTS=new Array,t}();e["a"]=Z},d439:function(t,e,r){"use strict";var n=r("f0a7"),o=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(),i=e.getHeight(),a=0;a<i-1;a++)for(var u=n[a],s=0;s<o-1;s++){var f=u[s];f===u[s+1]&&f===n[a+1][s]&&f===n[a+1][s+1]&&r++}return t.N2*r},t.applyMaskPenaltyRule3=function(e){for(var r=0,n=e.getArray(),o=e.getWidth(),i=e.getHeight(),a=0;a<i;a++)for(var u=0;u<o;u++){var s=n[a];u+6<o&&1===s[u]&&0===s[u+1]&&1===s[u+2]&&1===s[u+3]&&1===s[u+4]&&0===s[u+5]&&1===s[u+6]&&(t.isWhiteHorizontal(s,u-4,u)||t.isWhiteHorizontal(s,u+7,u+11))&&r++,a+6<i&&1===n[a][u]&&0===n[a+1][u]&&1===n[a+2][u]&&1===n[a+3][u]&&1===n[a+4][u]&&0===n[a+5][u]&&1===n[a+6][u]&&(t.isWhiteVertical(n,u,a-4,a)||t.isWhiteVertical(n,u,a+7,a+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(),i=e.getHeight(),a=0;a<i;a++)for(var u=n[a],s=0;s<o;s++)1===u[s]&&r++;var f=e.getHeight()*e.getWidth(),l=Math.floor(10*Math.abs(2*r-f)/f);return l*t.N4},t.getDataMaskBit=function(t,e,r){var o,i;switch(t){case 0:o=r+e&1;break;case 1:o=1&r;break;case 2:o=e%3;break;case 3:o=(r+e)%3;break;case 4:o=Math.floor(r/2)+Math.floor(e/3)&1;break;case 5:i=r*e,o=(1&i)+i%3;break;case 6:i=r*e,o=(1&i)+i%3&1;break;case 7:i=r*e,o=i%3+(r+e&1)&1;break;default:throw new n["a"]("Invalid mask pattern: "+t)}return 0===o},t.applyMaskPenaltyRule1Internal=function(e,r){for(var n=0,o=r?e.getHeight():e.getWidth(),i=r?e.getWidth():e.getHeight(),a=e.getArray(),u=0;u<o;u++){for(var s=0,f=-1,l=0;l<i;l++){var c=r?a[u][l]:a[l][u];c===f?s++:(s>=5&&(n+=t.N1+(s-5)),s=1,f=c)}s>=5&&(n+=t.N1+(s-5))}return n},t.N1=3,t.N2=3,t.N3=40,t.N4=10,t}();e["a"]=o},d96f:function(t,e,r){"use strict";var n=r("cb12"),o=r("9dcc"),i=r("8b0f"),a=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 i["a"];if(e<0||e>t.length||r<0||e+r>t.length||e+r<0)throw new o["a"];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=a,s=r("ea29"),f=r("f0a7"),l=r("e8f1"),c=r("63af"),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)}}(),d=function(t){function e(e){void 0===e&&(e=32);var r=t.call(this)||this;if(r.count=0,e<0)throw new f["a"]("Negative initial size: "+e);return r.buf=new Uint8Array(e),r}return h(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 l["a"];r=s["a"].MAX_VALUE}this.buf=n["a"].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 o["a"];this.ensureCapacity(this.count+r),c["a"].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 n["a"].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}(u);e["a"]=d},ea29:function(t,e,r){"use strict";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}();e["a"]=n},ec6d:function(t,e,r){"use strict";var n=r("67f0"),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)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.forName=function(t){return this.getCharacterSetECIByName(t)},e}(n["a"]);e["a"]=i},f60b:function(t,e,r){"use strict";var n=r("a363"),o=r("2d92"),i=r("7978"),a=r("ca08"),u=r("2f50"),s=r("ab5b"),f=r("ea29"),l=r("64a7"),c=r("8c95"),h=r("63af"),d=r("cb12"),w=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}(),g=w,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.")},y=function(){function t(){}return t.detectMultiple=function(e,r,n){var o=e.getBlackMatrix(),i=t.detect(n,o);return i.length||(o=o.clone(),o.rotate180(),i=t.detect(n,o)),new g(o,i)},t.detect=function(e,r){var n,o,i=new Array,a=0,u=0,s=!1;while(a<r.getHeight()){var f=t.findVertices(r,a,u);if(null!=f[0]||null!=f[3]){if(s=!0,i.push(f),!e)break;null!=f[2]?(u=Math.trunc(f[2].getX()),a=Math.trunc(f[2].getY())):(u=Math.trunc(f[4].getX()),a=Math.trunc(f[4].getY()))}else{if(!s)break;s=!1,u=0;try{for(var l=(n=void 0,p(i)),c=l.next();!c.done;c=l.next()){var h=c.value;null!=h[1]&&(a=Math.trunc(Math.max(a,h[1].getY()))),null!=h[3]&&(a=Math.max(a,Math.trunc(h[3].getY())))}}catch(d){n={error:d}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}a+=t.ROW_STEP}}return i},t.findVertices=function(e,r,n){var o=e.getHeight(),i=e.getWidth(),a=new Array(8);return t.copyToResult(a,t.findRowsWithPattern(e,o,i,r,n,t.START_PATTERN),t.INDEXES_START_PATTERN),null!=a[4]&&(n=Math.trunc(a[4].getX()),r=Math.trunc(a[4].getY())),t.copyToResult(a,t.findRowsWithPattern(e,o,i,r,n,t.STOP_PATTERN),t.INDEXES_STOP_PATTERN),a},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,o,i,a){for(var u=new Array(4),s=!1,f=new Int32Array(a.length);o<r;o+=t.ROW_STEP){var l=t.findGuardPattern(e,i,o,n,!1,a,f);if(null!=l){while(o>0){var h=t.findGuardPattern(e,i,--o,n,!1,a,f);if(null==h){o++;break}l=h}u[0]=new c["a"](l[0],o),u[1]=new c["a"](l[1],o),s=!0;break}}var w=o+1;if(s){var g=0;for(h=Int32Array.from([Math.trunc(u[0].getX()),Math.trunc(u[1].getX())]);w<r;w++){l=t.findGuardPattern(e,h[0],w,n,!1,a,f);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++}}w-=g+1,u[2]=new c["a"](h[0],w),u[3]=new c["a"](h[1],w)}return w-o<t.BARCODE_MIN_HEIGHT&&d["a"].fill(u,null),u},t.findGuardPattern=function(e,r,n,o,i,a,u){d["a"].fillWithin(u,0,u.length,0);var s=r,f=0;while(e.get(s,n)&&s>0&&f++<t.MAX_PIXEL_DRIFT)s--;for(var l=s,c=0,w=a.length,g=i;l<o;l++){var p=e.get(l,n);if(p!==g)u[c]++;else{if(c===w-1){if(t.patternMatchVariance(u,a,t.MAX_INDIVIDUAL_VARIANCE)<t.MAX_AVG_VARIANCE)return new Int32Array([s,l]);s+=u[0]+u[1],h["a"].arraycopy(u,2,u,0,c-1),u[c-1]=0,u[c]=0,c--}else c++;u[c]=1,g=!g}}return c===w-1&&t.patternMatchVariance(u,a,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,i=0,a=0;a<n;a++)o+=t[a],i+=e[a];if(o<i)return 1/0;var u=o/i;r*=u;for(var s=0,f=0;f<n;f++){var l=t[f],c=e[f]*u,h=l>c?l-c:c-l;if(h>r)return 1/0;s+=h}return s/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}(),m=y,C=r("fb63"),A=r("3bbd"),v=function(){function t(e,r,n,o,i){e instanceof t?this.constructor_2(e):this.constructor_1(e,r,n,o,i)}return t.prototype.constructor_1=function(t,e,r,n,o){var i=null==e||null==r,u=null==n||null==o;if(i&&u)throw new a["a"];i?(e=new c["a"](0,n.getY()),r=new c["a"](0,o.getY())):u&&(n=new c["a"](t.getWidth()-1,e.getY()),o=new c["a"](t.getWidth()-1,r.getY())),this.image=t,this.topLeft=e,this.bottomLeft=r,this.topRight=n,this.bottomRight=o,this.minX=Math.trunc(Math.min(e.getX(),r.getX())),this.maxX=Math.trunc(Math.max(n.getX(),o.getX())),this.minY=Math.trunc(Math.min(e.getY(),n.getY())),this.maxY=Math.trunc(Math.max(r.getY(),o.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,a=this.topRight,u=this.bottomRight;if(e>0){var s=n?this.topLeft:this.topRight,f=Math.trunc(s.getY()-e);f<0&&(f=0);var l=new c["a"](s.getX(),f);n?o=l:a=l}if(r>0){var h=n?this.bottomLeft:this.bottomRight,d=Math.trunc(h.getY()+r);d>=this.image.getHeight()&&(d=this.image.getHeight()-1);var w=new c["a"](h.getX(),d);n?i=w:u=w}return new t(this.image,o,i,a,u)},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}(),_=v,I=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}(),b=I,E=function(){function t(){this.buffer=""}return t.form=function(t,e){var r=-1;function n(t,n,o,i,a,u){if("%%"===t)return"%";if(void 0!==e[++r]){t=i?parseInt(i.substr(1)):void 0;var s,f=a?parseInt(a.substr(1)):void 0;switch(u){case"s":s=e[r];break;case"c":s=e[r][0];break;case"f":s=parseFloat(e[r]).toFixed(t);break;case"p":s=parseFloat(e[r]).toPrecision(t);break;case"e":s=parseFloat(e[r]).toExponential(t);break;case"x":s=parseInt(e[r]).toString(f||16);break;case"d":s=parseFloat(parseInt(e[r],f||10).toPrecision(t)).toFixed(0);break}s="object"===typeof s?JSON.stringify(s):(+s).toString(f);var l=parseInt(o),c=o&&o[0]+""==="0"?"0":" ";while(s.length<l)s=void 0!==n?s+c:c+s;return s}}var o=/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g;return t.replace(o,n)},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}(),M=E,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.")},N=function(){function t(t){this.boundingBox=new _(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 M,n=0;try{for(var o=O(this.codewords),i=o.next();!i.done;i=o.next()){var a=i.value;null!=a?r.format("%3d: %3d|%3d%n",n++,a.getRowNumber(),a.getValue()):r.format("%3d: | %n",n++)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return r.toString()},t.MAX_NEARBY_DISTANCE=5,t}(),T=N,R=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,e){var r="function"===typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{while((void 0===e||e-- >0)&&!(n=i.next()).done)a.push(n.value)}catch(u){o={error:u}}finally{try{n&&!n.done&&(r=i["return"])&&r.call(i)}finally{if(o)throw o.error}}return a},B=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,o=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 i=R(this.values.entries()),a=i.next();!a.done;a=i.next()){var u=S(a.value,2),f=u[0],l=u[1];o(f,l)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return s["a"].toIntArray(n)},t.prototype.getConfidence=function(t){return this.values.get(t)},t}(),D=B,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)}}(),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.")},k=function(t){function e(e,r){var n=t.call(this,e)||this;return n._isLeft=r,n}return P(e,t),e.prototype.setRowNumbers=function(){var t,e;try{for(var r=L(this.getCodewords()),n=r.next();!n.done;n=r.next()){var o=n.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(i){t={error:i}}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(),i=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.imageRowToCodewordIndex(Math.trunc(o.getY())),u=-1,s=1,f=0,l=i;l<a;l++)if(null!=e[l]){var c=e[l],h=c.getRowNumber()-u;if(0===h)f++;else if(1===h)s=Math.max(s,f),f=1,u=c.getRowNumber();else if(h<0||c.getRowNumber()>=t.getRowCount()||h>l)e[l]=null;else{var d=void 0;d=s>2?(s-2)*h:h;for(var w=d>=l,g=1;g<=d&&!w;g++)w=null!=e[l-g];w?e[l]=null:(u=c.getRowNumber(),f=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=L(this.getCodewords()),i=o.next();!i.done;i=o.next()){var a=i.value;if(null!=a){var u=a.getRowNumber();if(u>=n.length)continue;n[u]++}}}catch(s){t={error:s}}finally{try{i&&!i.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())),i=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.getCodewords(),u=-1,s=1,f=0,l=o;l<i;l++)if(null!=a[l]){var c=a[l];c.setRowNumberAsRowIndicatorColumn();var h=c.getRowNumber()-u;0===h?f++:1===h?(s=Math.max(s,f),f=1,u=c.getRowNumber()):c.getRowNumber()>=t.getRowCount()?a[l]=null:(u=c.getRowNumber(),f=1)}},e.prototype.getBarcodeMetadata=function(){var t,e,r=this.getCodewords(),n=new D,o=new D,i=new D,a=new D;try{for(var u=L(r),f=u.next();!f.done;f=u.next()){var l=f.value;if(null!=l){l.setRowNumberAsRowIndicatorColumn();var c=l.getValue()%30,h=l.getRowNumber();switch(this._isLeft||(h+=2),h%3){case 0:o.setValue(3*c+1);break;case 1:a.setValue(c/3),i.setValue(c%3);break;case 2:n.setValue(c+1);break}}}}catch(w){t={error:w}}finally{try{f&&!f.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}if(0===n.getValue().length||0===o.getValue().length||0===i.getValue().length||0===a.getValue().length||n.getValue()[0]<1||o.getValue()[0]+i.getValue()[0]<s["a"].MIN_ROWS_IN_BARCODE||o.getValue()[0]+i.getValue()[0]>s["a"].MAX_ROWS_IN_BARCODE)return null;var d=new b(n.getValue()[0],o.getValue()[0],i.getValue()[0],a.getValue()[0]);return this.removeIncorrectCodewords(r,d),d},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,i=n.getRowNumber();if(i>e.getRowCount())t[r]=null;else switch(this._isLeft||(i+=2),i%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}(T),F=k,x=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=s["a"].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(),i=0,a=this.barcodeColumnCount+1;a>0&&i<this.ADJUST_ROW_NUMBER_SKIP;a--){var u=this.detectionResultColumns[a].getCodewords()[n];null!=u&&(i=t.adjustRowNumberIfValid(o,i,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(),i=0,a=1;a<this.barcodeColumnCount+1&&i<this.ADJUST_ROW_NUMBER_SKIP;a++){var u=this.detectionResultColumns[a].getCodewords()[n];null!=u&&(i=t.adjustRowNumberIfValid(o,i,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,i;if(null!=this.detectionResultColumns[e-1]){var a=n[r],u=this.detectionResultColumns[e-1].getCodewords(),s=u;null!=this.detectionResultColumns[e+1]&&(s=this.detectionResultColumns[e+1].getCodewords());var f=new Array(14);f[2]=u[r],f[3]=s[r],r>0&&(f[0]=n[r-1],f[4]=u[r-1],f[5]=s[r-1]),r>1&&(f[8]=n[r-2],f[10]=u[r-2],f[11]=s[r-2]),r<n.length-1&&(f[1]=n[r+1],f[6]=u[r+1],f[7]=s[r+1]),r<n.length-2&&(f[9]=n[r+2],f[12]=u[r+2],f[13]=s[r+2]);try{for(var l=x(f),c=l.next();!c.done;c=l.next()){var h=c.value;if(t.adjustRowNumber(a,h))return}}catch(d){o={error:d}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}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 M,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}(),V=U,H=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}(),X=H,W=r("2e1c"),Y=function(){function t(){}return t.initialize=function(){for(var e=0;e<s["a"].SYMBOL_TABLE.length;e++)for(var r=s["a"].SYMBOL_TABLE[e],n=1&r,o=0;o<s["a"].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(s["a"].BARS_IN_MODULE)),t.RATIOS_TABLE[e][s["a"].BARS_IN_MODULE-o-1]=Math.fround(i/s["a"].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=C["a"].sum(t),r=new Int32Array(s["a"].BARS_IN_MODULE),n=0,o=0,i=0;i<s["a"].MODULES_IN_CODEWORD;i++){var a=e/(2*s["a"].MODULES_IN_CODEWORD)+i*e/s["a"].MODULES_IN_CODEWORD;o+t[n]<=a&&(o+=t[n],n++),r[n]++}return r},t.getDecodedCodewordValue=function(e){var r=t.getBitValue(e);return-1===s["a"].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=C["a"].sum(e),n=new Array(s["a"].BARS_IN_MODULE);if(r>1)for(var o=0;o<n.length;o++)n[o]=Math.fround(e[o]/r);var i=W["a"].MAX_VALUE,a=-1;this.bSymbolTableReady||t.initialize();for(var u=0;u<t.RATIOS_TABLE.length;u++){for(var f=0,l=t.RATIOS_TABLE[u],c=0;c<s["a"].BARS_IN_MODULE;c++){var h=Math.fround(l[c]-n[c]);if(f+=Math.fround(h*h),f>=i)break}f<i&&(i=f,a=s["a"].SYMBOL_TABLE[u])}return a},t.bSymbolTableReady=!1,t.RATIOS_TABLE=new Array(s["a"].SYMBOL_TABLE.length).map((function(t){return new Array(s["a"].BARS_IN_MODULE)})),t}(),z=Y,K=r("4c35"),j=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.decode=function(e,r,n,o,i,u,s){for(var f,l=new _(e,r,n,o,i),c=null,h=null,d=!0;;d=!1){if(null!=r&&(c=t.getRowIndicatorColumn(e,l,r,!0,u,s)),null!=o&&(h=t.getRowIndicatorColumn(e,l,o,!1,u,s)),f=t.merge(c,h),null==f)throw a["a"].getNotFoundInstance();var w=f.getBoundingBox();if(!d||null==w||!(w.getMinY()<l.getMinY()||w.getMaxY()>l.getMaxY()))break;l=w}f.setBoundingBox(l);var g=f.getBarcodeColumnCount()+1;f.setDetectionResultColumn(0,c),f.setDetectionResultColumn(g,h);for(var p=null!=c,y=1;y<=g;y++){var m=p?y:g-y;if(void 0===f.getDetectionResultColumn(m)){var C=void 0;C=0===m||m===g?new F(l,0===m):new T(l),f.setDetectionResultColumn(m,C);for(var A=-1,v=A,I=l.getMinY();I<=l.getMaxY();I++){if(A=t.getStartColumn(f,m,I,p),A<0||A>l.getMaxX()){if(-1===v)continue;A=v}var b=t.detectCodeword(e,l.getMinX(),l.getMaxX(),p,A,I,u,s);null!=b&&(C.setCodeword(I,b),v=A,u=Math.min(u,b.getWidth()),s=Math.max(s,b.getWidth()))}}}return t.createDecoderResult(f)},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=_.merge(t.adjustBoundingBox(e),t.adjustBoundingBox(r));return new V(n,o)},t.adjustBoundingBox=function(e){var r,n;if(null==e)return null;var o=e.getRowHeights();if(null==o)return null;var i=t.getMax(o),a=0;try{for(var u=j(o),s=u.next();!s.done;s=u.next()){var f=s.value;if(a+=i-f,f>0)break}}catch(d){r={error:d}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}for(var l=e.getCodewords(),c=0;a>0&&null==l[c];c++)a--;var h=0;for(c=o.length-1;c>=0;c--)if(h+=i-o[c],o[c]>0)break;for(c=l.length-1;h>0&&null==l[c];c--)h--;return e.getBoundingBox().addMissingRows(a,h,e.isLeft())},t.getMax=function(t){var e,r,n=-1;try{for(var o=j(t),i=o.next();!i.done;i=o.next()){var a=i.value;n=Math.max(n,a)}}catch(u){e={error:u}}finally{try{i&&!i.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,i,a){for(var u=new F(r,o),s=0;s<2;s++)for(var f=0===s?1:-1,l=Math.trunc(Math.trunc(n.getX())),c=Math.trunc(Math.trunc(n.getY()));c<=r.getMaxY()&&c>=r.getMinY();c+=f){var h=t.detectCodeword(e,0,e.getWidth(),o,l,c,i,a);null!=h&&(u.setCodeword(c,h),l=o?h.getStartX():h.getEndX())}return u},t.adjustCodewordCount=function(e,r){var n=r[0][1],o=n.getValue(),i=e.getBarcodeColumnCount()*e.getBarcodeRowCount()-t.getNumberOfECCodeWords(e.getBarcodeECLevel());if(0===o.length){if(i<1||i>s["a"].MAX_CODEWORDS_IN_BARCODE)throw a["a"].getNotFoundInstance();n.setValue(i)}else o[0]!==i&&n.setValue(i)},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()),i=[],a=new Array,u=0;u<e.getBarcodeRowCount();u++)for(var f=0;f<e.getBarcodeColumnCount();f++){var l=r[u][f+1].getValue(),c=u*e.getBarcodeColumnCount()+f;0===l.length?n.push(c):1===l.length?o[c]=l[0]:(a.push(c),i.push(l))}for(var h=new Array(i.length),d=0;d<h.length;d++)h[d]=i[d];return t.createDecoderResultFromAmbiguousValues(e.getBarcodeECLevel(),o,s["a"].toIntArray(n),s["a"].toIntArray(a),h)},t.createDecoderResultFromAmbiguousValues=function(e,r,n,i,a){var u=new Int32Array(i.length),s=100;while(s-- >0){for(var f=0;f<u.length;f++)r[i[f]]=a[f][u[f]];try{return t.decodeCodewords(r,e,n)}catch(c){var l=c instanceof o["a"];if(!l)throw c}if(0===u.length)throw o["a"].getChecksumInstance();for(f=0;f<u.length;f++){if(u[f]<a[f].length-1){u[f]++;break}if(u[f]=0,f===u.length-1)throw o["a"].getChecksumInstance()}}throw o["a"].getChecksumInstance()},t.createBarcodeMatrix=function(t){for(var e,r,n,o,i=Array.from({length:t.getBarcodeRowCount()},(function(){return new Array(t.getBarcodeColumnCount()+2)})),a=0;a<i.length;a++)for(var u=0;u<i[a].length;u++)i[a][u]=new D;var s=0;try{for(var f=j(t.getDetectionResultColumns()),l=f.next();!l.done;l=f.next()){var c=l.value;if(null!=c)try{for(var h=(n=void 0,j(c.getCodewords())),d=h.next();!d.done;d=h.next()){var w=d.value;if(null!=w){var g=w.getRowNumber();if(g>=0){if(g>=i.length)continue;i[g][s].setValue(w.getValue())}}}}catch(p){n={error:p}}finally{try{d&&!d.done&&(o=h.return)&&o.call(h)}finally{if(n)throw n.error}}s++}}catch(y){e={error:y}}finally{try{l&&!l.done&&(r=f.return)&&r.call(f)}finally{if(e)throw e.error}}return i},t.isValidBarcodeColumn=function(t,e){return e>=0&&e<=t.getBarcodeColumnCount()+1},t.getStartColumn=function(e,r,n,o){var i,a,u=o?1:-1,s=null;if(t.isValidBarcodeColumn(e,r-u)&&(s=e.getDetectionResultColumn(r-u).getCodeword(n)),null!=s)return o?s.getEndX():s.getStartX();if(s=e.getDetectionResultColumn(r).getCodewordNearby(n),null!=s)return o?s.getStartX():s.getEndX();if(t.isValidBarcodeColumn(e,r-u)&&(s=e.getDetectionResultColumn(r-u).getCodewordNearby(n)),null!=s)return o?s.getEndX():s.getStartX();var f=0;while(t.isValidBarcodeColumn(e,r-u)){r-=u;try{for(var l=(i=void 0,j(e.getDetectionResultColumn(r).getCodewords())),c=l.next();!c.done;c=l.next()){var h=c.value;if(null!=h)return(o?h.getEndX():h.getStartX())+u*f*(h.getEndX()-h.getStartX())}}catch(d){i={error:d}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}f++}return o?e.getBoundingBox().getMinX():e.getBoundingBox().getMaxX()},t.detectCodeword=function(e,r,n,o,i,a,u,f){i=t.adjustCodewordStartColumn(e,r,n,o,i,a);var l,c=t.getModuleBitCount(e,r,n,o,i,a);if(null==c)return null;var h=C["a"].sum(c);if(o)l=i+h;else{for(var d=0;d<c.length/2;d++){var w=c[d];c[d]=c[c.length-1-d],c[c.length-1-d]=w}l=i,i=l-h}if(!t.checkCodewordSkew(h,u,f))return null;var g=z.getDecodedValue(c),p=s["a"].getCodeword(g);return-1===p?null:new X(i,l,t.getCodewordBucketNumber(g),p)},t.getModuleBitCount=function(t,e,r,n,o,i){var a=o,u=new Int32Array(8),s=0,f=n?1:-1,l=n;while((n?a<r:a>=e)&&s<u.length)t.get(a,i)===l?(u[s]++,a+=f):(s++,l=!l);return s===u.length||a===(n?r:e)&&s===u.length-1?u:null},t.getNumberOfECCodeWords=function(t){return 2<<t},t.adjustCodewordStartColumn=function(e,r,n,o,i,a){for(var u=i,s=o?-1:1,f=0;f<2;f++){while((o?u>=r:u<n)&&o===e.get(u,a)){if(Math.abs(i-u)>t.CODEWORD_SKEW_SIZE)return i;u+=s}s=-s,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 i["a"].getFormatInstance();var o=1<<r+1,a=t.correctErrors(e,n,o);t.verifyCodewordCount(e,o);var u=K["a"].decode(e,""+r);return u.setErrorsCorrected(a),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["a"].getChecksumInstance();return t.errorCorrection.decode(e,n,r)},t.verifyCodewordCount=function(t,e){if(t.length<4)throw i["a"].getFormatInstance();var r=t[0];if(r>t.length)throw i["a"].getFormatInstance();if(0===r){if(!(e<t.length))throw i["a"].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 M,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 A["a"],t}(),Z=G,Q=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.")},q=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 a["a"].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["a"]||n instanceof o["a"])throw a["a"].getNotFoundInstance();throw n}},t.decode=function(e,r,o){var i,a,s=new Array,f=m.detectMultiple(e,r,o);try{for(var c=Q(f.getPoints()),h=c.next();!h.done;h=c.next()){var d=h.value,w=Z.decode(f.getBits(),d[4],d[5],d[6],d[7],t.getMinCodewordWidth(d),t.getMaxCodewordWidth(d)),g=new u["a"](w.getText(),w.getRawBytes(),void 0,d,n["a"].PDF_417);g.putMetadata(l["a"].ERROR_CORRECTION_LEVEL,w.getECLevel());var p=w.getOther();null!=p&&g.putMetadata(l["a"].PDF417_EXTRA_METADATA,p),s.push(g)}}catch(y){i={error:y}}finally{try{h&&!h.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}return s.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?f["a"].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])*s["a"].MODULES_IN_CODEWORD/s["a"].MODULES_IN_STOP_PATTERN),Math.max(t.getMaxWidth(e[1],e[5]),t.getMaxWidth(e[7],e[3])*s["a"].MODULES_IN_CODEWORD/s["a"].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])*s["a"].MODULES_IN_CODEWORD/s["a"].MODULES_IN_STOP_PATTERN),Math.min(t.getMinWidth(e[1],e[5]),t.getMinWidth(e[7],e[3])*s["a"].MODULES_IN_CODEWORD/s["a"].MODULES_IN_STOP_PATTERN)))},t.prototype.reset=function(){},t}();e["a"]=q}}]);
|
|
2
|
-
//# sourceMappingURL=super-ui.umd.min.yarn.zxing~61a1471b.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(("undefined"!==typeof self?self:this)["webpackJsonpsuper_ui"]=("undefined"!==typeof self?self:this)["webpackJsonpsuper_ui"]||[]).push([[25],{"00ec":function(t,e,n){"use strict";var r=n("f20f"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(e){var n=t.call(this,e.getWidth(),e.getHeight())||this;return n.delegate=e,n}return o(e,t),e.prototype.getRow=function(t,e){for(var n=this.delegate.getRow(t,e),r=this.getWidth(),o=0;o<r;o++)n[o]=255-(255&n[o]);return n},e.prototype.getMatrix=function(){for(var t=this.delegate.getMatrix(),e=this.getWidth()*this.getHeight(),n=new Uint8ClampedArray(e),r=0;r<e;r++)n[r]=255-(255&t[r]);return n},e.prototype.isCropSupported=function(){return this.delegate.isCropSupported()},e.prototype.crop=function(t,n,r,o){return new e(this.delegate.crop(t,n,r,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}(r["a"]);e["a"]=i},"0c36":function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n("00ec"),o=n("f20f"),i=n("f0a7"),a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(t){function e(n){var r=t.call(this,n.width,n.height)||this;return r.canvas=n,r.tempCanvasElement=null,r.buffer=e.makeBufferFromCanvasImageData(n),r}return a(e,t),e.makeBufferFromCanvasImageData=function(t){var n=t.getContext("2d").getImageData(0,0,t.width,t.height);return e.toGrayscaleBuffer(n.data,t.width,t.height)},e.toGrayscaleBuffer=function(t,e,n){for(var r=new Uint8ClampedArray(e*n),o=0,i=0,a=t.length;o<a;o+=4,i++){var u=void 0,c=t[o+3];if(0===c)u=255;else{var s=t[o],p=t[o+1],d=t[o+2];u=306*s+601*p+117*d+512>>10}r[i]=u}return r},e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new i["a"]("Requested row is outside the image: "+t);var n=this.getWidth(),r=t*n;return null===e?e=this.buffer.slice(r,r+n):(e.length<n&&(e=new Uint8ClampedArray(n)),e.set(this.buffer.slice(r,r+n))),e},e.prototype.getMatrix=function(){return this.buffer},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(e,n,r,o){return t.prototype.crop.call(this,e,n,r,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 n=this.getTempCanvasElement(),r=n.getContext("2d"),o=t*e.DEGREE_TO_RADIANS,i=this.canvas.width,a=this.canvas.height,u=Math.ceil(Math.abs(Math.cos(o))*i+Math.abs(Math.sin(o))*a),c=Math.ceil(Math.abs(Math.sin(o))*i+Math.abs(Math.cos(o))*a);return n.width=u,n.height=c,r.translate(u/2,c/2),r.rotate(o),r.drawImage(this.canvas,i/-2,a/-2),this.buffer=e.makeBufferFromCanvasImageData(n),this},e.prototype.invert=function(){return new r["a"](this)},e.DEGREE_TO_RADIANS=Math.PI/180,e}(o["a"])},1228:function(t,e,n){"use strict";var r=n("00ec"),o=n("f20f"),i=n("63af"),a=n("f0a7"),u=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){function e(e,n,r,o,i,u,c){var s=t.call(this,n,r)||this;if(s.dataWidth=o,s.dataHeight=i,s.left=u,s.top=c,4===e.BYTES_PER_ELEMENT){for(var p=n*r,d=new Uint8ClampedArray(p),f=0;f<p;f++){var h=e[f],l=h>>16&255,y=h>>7&510,v=255&h;d[f]=(l+y+v)/4&255}s.luminances=d}else s.luminances=e;if(void 0===o&&(s.dataWidth=n),void 0===i&&(s.dataHeight=r),void 0===u&&(s.left=0),void 0===c&&(s.top=0),s.left+n>s.dataWidth||s.top+r>s.dataHeight)throw new a["a"]("Crop rectangle does not fit within image data.");return s}u(e,t),e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new a["a"]("Requested row is outside the image: "+t);var n=this.getWidth();(null===e||void 0===e||e.length<n)&&(e=new Uint8ClampedArray(n));var r=(t+this.top)*this.dataWidth+this.left;return i["a"].arraycopy(this.luminances,r,e,0,n),e},e.prototype.getMatrix=function(){var t=this.getWidth(),e=this.getHeight();if(t===this.dataWidth&&e===this.dataHeight)return this.luminances;var n=t*e,r=new Uint8ClampedArray(n),o=this.top*this.dataWidth+this.left;if(t===this.dataWidth)return i["a"].arraycopy(this.luminances,o,r,0,n),r;for(var a=0;a<e;a++){var u=a*t;i["a"].arraycopy(this.luminances,o,r,u,t),o+=this.dataWidth}return r},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(t,n,r,o){return new e(this.luminances,r,o,this.dataWidth,this.dataHeight,this.left+t,this.top+n)},e.prototype.invert=function(){return new r["a"](this)}})(o["a"])},"1f78":function(t,e,n){"use strict";var r=n("fe96"),o=n("a363"),i=n("d2fa"),a=n("0ba3"),u=n("a793"),c=n("ee54"),s=n("ca08"),p=n("f60b"),d=n("d615"),f=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=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(r["a"].TRY_HARDER),n=null===t||void 0===t?null:t.get(r["a"].POSSIBLE_FORMATS),s=new Array;if(null!==n&&void 0!==n){var d=n.some((function(t){return t===o["a"].UPC_A||t===o["a"].UPC_E||t===o["a"].EAN_13||t===o["a"].EAN_8||t===o["a"].CODABAR||t===o["a"].CODE_39||t===o["a"].CODE_93||t===o["a"].CODE_128||t===o["a"].ITF||t===o["a"].RSS_14||t===o["a"].RSS_EXPANDED}));d&&!e&&s.push(new u["a"](t)),n.includes(o["a"].QR_CODE)&&s.push(new i["a"]),n.includes(o["a"].DATA_MATRIX)&&s.push(new c["a"]),n.includes(o["a"].AZTEC)&&s.push(new a["a"]),n.includes(o["a"].PDF_417)&&s.push(new p["a"]),d&&e&&s.push(new u["a"](t))}0===s.length&&(e||s.push(new u["a"](t)),s.push(new i["a"]),s.push(new c["a"]),s.push(new a["a"]),s.push(new p["a"]),e&&s.push(new u["a"](t))),this.readers=s},t.prototype.reset=function(){var t,e;if(null!==this.readers)try{for(var n=f(this.readers),r=n.next();!r.done;r=n.next()){var o=r.value;o.reset()}}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},t.prototype.decodeInternal=function(t){var e,n;if(null===this.readers)throw new d["a"]("No readers where selected, nothing can be read.");try{for(var r=f(this.readers),o=r.next();!o.done;o=r.next()){var i=o.value;try{return i.decode(t,this.hints)}catch(a){if(a instanceof d["a"])continue}}}catch(u){e={error:u}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}throw new s["a"]("No MultiFormat Readers were able to detect the code.")},t}();e["a"]=h},"2d92":function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.getChecksumInstance=function(){return new e},e.kind="ChecksumException",e}(r["a"]);e["a"]=i},"3cb6":function(t,e){},5622:function(t,e,n){"use strict";var r=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}();e["a"]=r},"57fd":function(t,e,n){"use strict";var r=n("f0a7"),o=function(){function t(t){if(this.binarizer=t,null===t)throw new r["a"]("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,n,r,o){var i=this.binarizer.getLuminanceSource().crop(e,n,r,o);return new t(this.binarizer.createBinarizer(i))},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}();e["a"]=o},6246:function(t,e,n){"use strict";var r=n("f505"),o=n("f60b"),i=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){function e(e){return void 0===e&&(e=500),t.call(this,new o["a"],e)||this}i(e,t)})(r["a"])},"6cd7":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("f505"),o=n("1f78"),i=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=function(t){function e(e,n){void 0===e&&(e=null),void 0===n&&(n=500);var r=this,i=new o["a"];return i.setHints(e),r=t.call(this,i,n)||this,r}return i(e,t),e.prototype.decodeBitmap=function(t){return this.reader.decodeWithState(t)},e}(r["a"])},"6d19":function(t,e,n){"use strict";var r=n("63af"),o=n("f20f"),i=n("00ec"),a=n("f0a7"),u=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){function e(e,n,r,o,i,u,c,s){var p=t.call(this,u,c)||this;if(p.yuvData=e,p.dataWidth=n,p.dataHeight=r,p.left=o,p.top=i,o+u>n||i+c>r)throw new a["a"]("Crop rectangle does not fit within image data.");return s&&p.reverseHorizontal(u,c),p}u(e,t),e.prototype.getRow=function(t,e){if(t<0||t>=this.getHeight())throw new a["a"]("Requested row is outside the image: "+t);var n=this.getWidth();(null===e||void 0===e||e.length<n)&&(e=new Uint8ClampedArray(n));var o=(t+this.top)*this.dataWidth+this.left;return r["a"].arraycopy(this.yuvData,o,e,0,n),e},e.prototype.getMatrix=function(){var t=this.getWidth(),e=this.getHeight();if(t===this.dataWidth&&e===this.dataHeight)return this.yuvData;var n=t*e,o=new Uint8ClampedArray(n),i=this.top*this.dataWidth+this.left;if(t===this.dataWidth)return r["a"].arraycopy(this.yuvData,i,o,0,n),o;for(var a=0;a<e;a++){var u=a*t;r["a"].arraycopy(this.yuvData,i,o,u,t),i+=this.dataWidth}return o},e.prototype.isCropSupported=function(){return!0},e.prototype.crop=function(t,n,r,o){return new e(this.yuvData,this.dataWidth,this.dataHeight,this.left+t,this.top+n,r,o,!1)},e.prototype.renderThumbnail=function(){for(var t=this.getWidth()/e.THUMBNAIL_SCALE_FACTOR,n=this.getHeight()/e.THUMBNAIL_SCALE_FACTOR,r=new Int32Array(t*n),o=this.yuvData,i=this.top*this.dataWidth+this.left,a=0;a<n;a++){for(var u=a*t,c=0;c<t;c++){var s=255&o[i+c*e.THUMBNAIL_SCALE_FACTOR];r[u+c]=4278190080|65793*s}i+=this.dataWidth*e.THUMBNAIL_SCALE_FACTOR}return r},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 n=this.yuvData,r=0,o=this.top*this.dataWidth+this.left;r<e;r++,o+=this.dataWidth)for(var i=o+t/2,a=o,u=o+t-1;a<i;a++,u--){var c=n[a];n[a]=n[u],n[u]=c}},e.prototype.invert=function(){return new i["a"](this)},e.THUMBNAIL_SCALE_FACTOR=2})(o["a"])},7163:function(t,e,n){"use strict";var r;(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["MIN_SIZE"]=3]="MIN_SIZE",t[t["MAX_SIZE"]=4]="MAX_SIZE",t[t["MARGIN"]=5]="MARGIN",t[t["PDF417_COMPACT"]=6]="PDF417_COMPACT",t[t["PDF417_COMPACTION"]=7]="PDF417_COMPACTION",t[t["PDF417_DIMENSIONS"]=8]="PDF417_DIMENSIONS",t[t["AZTEC_LAYERS"]=9]="AZTEC_LAYERS",t[t["QR_VERSION"]=10]="QR_VERSION"})(r||(r={})),e["a"]=r},7978:function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.getFormatInstance=function(){return new e},e.kind="FormatException",e}(r["a"]);e["a"]=i},8283:function(t,e,n){"use strict";var r=n("f505"),o=n("d2fa"),i=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){function e(e){return void 0===e&&(e=500),t.call(this,new o["a"],e)||this}i(e,t)})(r["a"])},8285:function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="ReedSolomonException",e}(r["a"]);e["a"]=i},8635:function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="ArithmeticException",e}(r["a"]);e["a"]=i},"8a55":function(t,e,n){"use strict";var r=n("9dcc"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(e,n){void 0===e&&(e=void 0),void 0===n&&(n=void 0);var r=t.call(this,n)||this;return r.index=e,r.message=n,r}return o(e,t),e.kind="ArrayIndexOutOfBoundsException",e}(r["a"]);e["a"]=i},"8b0f":function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="NullPointerException",e}(r["a"]);e["a"]=i},"8f21":function(t,e){},9878:function(t,e,n){"use strict";var r=n("7163"),o=n("6833"),i=n("5134"),a=n("f0a7"),u=n("9cca");(function(){function t(){}t.prototype.write=function(e,n,u,c){if(void 0===c&&(c=null),0===e.length)throw new a["a"]("Found empty contents");if(n<0||u<0)throw new a["a"]("Requested dimensions are too small: "+n+"x"+u);var s=i["a"].L,p=t.QUIET_ZONE_SIZE;null!==c&&(void 0!==c.get(r["a"].ERROR_CORRECTION)&&(s=i["a"].fromString(c.get(r["a"].ERROR_CORRECTION).toString())),void 0!==c.get(r["a"].MARGIN)&&(p=Number.parseInt(c.get(r["a"].MARGIN).toString(),10)));var d=o["a"].encode(e,s,c);return this.renderResult(d,n,u,p)},t.prototype.writeToDom=function(t,e,n,r,o){void 0===o&&(o=null),"string"===typeof t&&(t=document.querySelector(t));var i=this.write(e,n,r,o);t&&t.appendChild(i)},t.prototype.renderResult=function(t,e,n,r){var o=t.getMatrix();if(null===o)throw new u["a"];for(var i=o.getWidth(),a=o.getHeight(),c=i+2*r,s=a+2*r,p=Math.max(e,c),d=Math.max(n,s),f=Math.min(Math.floor(p/c),Math.floor(d/s)),h=Math.floor((p-i*f)/2),l=Math.floor((d-a*f)/2),y=this.createSVGElement(p,d),v=0,_=l;v<a;v++,_+=f)for(var m=0,g=h;m<i;m++,g+=f)if(1===o.get(m,v)){var w=this.createSvgRectElement(g,_,f,f);y.appendChild(w)}return y},t.prototype.createSVGElement=function(e,n){var r=document.createElementNS(t.SVG_NS,"svg");return r.setAttributeNS(null,"height",e.toString()),r.setAttributeNS(null,"width",n.toString()),r},t.prototype.createSvgRectElement=function(e,n,r,o){var i=document.createElementNS(t.SVG_NS,"rect");return i.setAttributeNS(null,"x",e.toString()),i.setAttributeNS(null,"y",n.toString()),i.setAttributeNS(null,"height",r.toString()),i.setAttributeNS(null,"width",o.toString()),i.setAttributeNS(null,"fill","#000000"),i},t.QUIET_ZONE_SIZE=4,t.SVG_NS="http://www.w3.org/2000/svg"})()},"9cca":function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="IllegalStateException",e}(r["a"]);e["a"]=i},"9dcc":function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="IndexOutOfBoundsException",e}(r["a"]);e["a"]=i},"9fa8":function(t,e,n){"use strict";var r=n("f505"),o=n("ee54"),i=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){function e(e){return void 0===e&&(e=500),t.call(this,new o["a"],e)||this}i(e,t)})(r["a"])},a363:function(t,e,n){"use strict";var r;(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"})(r||(r={})),e["a"]=r},a70f:function(t,e,n){"use strict";var r=n("370f"),o=n("a363"),i=n("f0a7");(function(){function t(){}t.prototype.encode=function(t,e,n,a,u){var c;switch(e){case o["a"].QR_CODE:c=new r["a"];break;default:throw new i["a"]("No encoder available for format "+e)}return c.encode(t,e,n,a,u)}})()},a9e3:function(t,e,n){"use strict";n("d5b2"),n("e3f3"),n("f505"),n("9fa8");var r=n("6cd7");n.d(e,"BrowserMultiFormatReader",(function(){return r["a"]}));n("6246"),n("8283"),n("9878"),n("3cb6"),n("0c36"),n("8f21"),n("e027")},ca08:function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.getNotFoundInstance=function(){return new e},e.kind="NotFoundException",e}(r["a"]);e["a"]=i},d0b6:function(t,e,n){"use strict";var r=n("9963"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(e){void 0===e&&(e=void 0);var n=t.call(this,e)||this;return n.message=e,n}return o(e,t),e.prototype.getKind=function(){var t=this.constructor;return t.kind},e.kind="Exception",e}(r["a"]);e["a"]=i},d5b2:function(t,e,n){"use strict";var r=n("f505"),o=n("0ba3"),i=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){function e(e){return void 0===e&&(e=500),t.call(this,new o["a"],e)||this}i(e,t)})(r["a"])},d615:function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="ReaderException",e}(r["a"]);e["a"]=i},e027:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(t,e,n){this.deviceId=t,this.label=e,this.kind="videoinput",this.groupId=n||void 0}return t.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},t}()},e3f3:function(t,e,n){"use strict";var r=n("f505"),o=n("a793"),i=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(function(t){function e(e,n){return void 0===e&&(e=500),t.call(this,new o["a"](n),e,n)||this}i(e,t)})(r["a"])},e8f1:function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(r["a"]);e["a"]=i},f0a7:function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="IllegalArgumentException",e}(r["a"]);e["a"]=i},f20f:function(t,e,n){"use strict";var r=n("6530"),o=n("1cba"),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,n,r){throw new o["a"]("This luminance source does not support cropping.")},t.prototype.isRotateSupported=function(){return!1},t.prototype.rotateCounterClockwise=function(){throw new o["a"]("This luminance source does not support rotation by 90 degrees.")},t.prototype.rotateCounterClockwise45=function(){throw new o["a"]("This luminance source does not support rotation by 45 degrees.")},t.prototype.toString=function(){for(var t=new Uint8ClampedArray(this.width),e=new r["a"],n=0;n<this.height;n++){for(var o=this.getRow(n,t),i=0;i<this.width;i++){var a=255&o[i],u=void 0;u=a<64?"#":a<128?"+":a<192?".":" ",e.append(u)}e.append("\n")}return e.toString()},t}();e["a"]=i},f505:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("f8c0"),o=n("57fd"),i=n("2d92"),a=n("5641"),u=n("7978"),c=n("ca08"),s=n("0c36"),p=n("e027"),d=function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{c(r.next(t))}catch(e){i(e)}}function u(t){try{c(r["throw"](t))}catch(e){i(e)}}function c(t){t.done?n(t.value):o(t.value).then(a,u)}c((r=r.apply(t,e||[])).next())}))},f=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(t){return function(e){return c([t,e])}}function c(i){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(o=2&i[0]?r["return"]:i[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(u){i=[6,u],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}},h=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=function(){function t(t,e,n){void 0===e&&(e=500),this.reader=t,this.timeBetweenScansMillis=e,this._hints=n,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 d(this,void 0,void 0,(function(){var t,e,n,r,o,i,a,u,c,s,p,d;return f(this,(function(f){switch(f.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=f.sent(),e=[];try{for(n=h(t),r=n.next();!r.done;r=n.next())o=r.value,i="video"===o.kind?"videoinput":o.kind,"videoinput"===i&&(a=o.deviceId||o.id,u=o.label||"Video device "+(e.length+1),c=o.groupId,s={deviceId:a,label:u,kind:i,groupId:c},e.push(s))}catch(l){p={error:l}}finally{try{r&&!r.done&&(d=n.return)&&d.call(n)}finally{if(p)throw p.error}}return[2,e]}}))}))},t.prototype.getVideoInputDevices=function(){return d(this,void 0,void 0,(function(){var t;return f(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 p["a"](t.deviceId,t.label)}))]}}))}))},t.prototype.findDeviceById=function(t){return d(this,void 0,void 0,(function(){var e;return f(this,(function(n){switch(n.label){case 0:return[4,this.listVideoInputDevices()];case 1:return e=n.sent(),e?[2,e.find((function(e){return e.deviceId===t}))]:[2,null]}}))}))},t.prototype.decodeFromInputVideoDevice=function(t,e){return d(this,void 0,void 0,(function(){return f(this,(function(n){switch(n.label){case 0:return[4,this.decodeOnceFromVideoDevice(t,e)];case 1:return[2,n.sent()]}}))}))},t.prototype.decodeOnceFromVideoDevice=function(t,e){return d(this,void 0,void 0,(function(){var n,r;return f(this,(function(o){switch(o.label){case 0:return this.reset(),n=t?{deviceId:{exact:t}}:{facingMode:"environment"},r={video:n},[4,this.decodeOnceFromConstraints(r,e)];case 1:return[2,o.sent()]}}))}))},t.prototype.decodeOnceFromConstraints=function(t,e){return d(this,void 0,void 0,(function(){var n;return f(this,(function(r){switch(r.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return n=r.sent(),[4,this.decodeOnceFromStream(n,e)];case 2:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromStream=function(t,e){return d(this,void 0,void 0,(function(){var n,r;return f(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return n=o.sent(),[4,this.decodeOnce(n)];case 2:return r=o.sent(),[2,r]}}))}))},t.prototype.decodeFromInputVideoDeviceContinuously=function(t,e,n){return d(this,void 0,void 0,(function(){return f(this,(function(r){switch(r.label){case 0:return[4,this.decodeFromVideoDevice(t,e,n)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeFromVideoDevice=function(t,e,n){return d(this,void 0,void 0,(function(){var r,o;return f(this,(function(i){switch(i.label){case 0:return r=t?{deviceId:{exact:t}}:{facingMode:"environment"},o={video:r},[4,this.decodeFromConstraints(o,e,n)];case 1:return[2,i.sent()]}}))}))},t.prototype.decodeFromConstraints=function(t,e,n){return d(this,void 0,void 0,(function(){var r;return f(this,(function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return r=o.sent(),[4,this.decodeFromStream(r,e,n)];case 2:return[2,o.sent()]}}))}))},t.prototype.decodeFromStream=function(t,e,n){return d(this,void 0,void 0,(function(){var r;return f(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return r=o.sent(),[4,this.decodeContinuously(r,n)];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 d(this,void 0,void 0,(function(){var n;return f(this,(function(r){switch(r.label){case 0:return n=this.prepareVideoElement(e),this.addVideoSource(n,t),this.videoElement=n,this.stream=t,[4,this.playVideoOnLoadAsync(n)];case 1:return r.sent(),[2,n]}}))}))},t.prototype.playVideoOnLoadAsync=function(t){var e=this;return new Promise((function(n,r){return e.playVideoOnLoad(t,(function(){return n()}))}))},t.prototype.playVideoOnLoad=function(t,e){var n=this;this.videoEndedListener=function(){return n.stopStreams()},this.videoCanPlayListener=function(){return n.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 d(this,void 0,void 0,(function(){return f(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 n=document.getElementById(t);if(!n)throw new r["a"]("element with id '"+t+"' not found");if(n.nodeName.toLowerCase()!==e.toLowerCase())throw new r["a"]("element with id '"+t+"' must be an "+e+" element");return n},t.prototype.decodeFromImage=function(t,e){if(!t&&!e)throw new r["a"]("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 r["a"]("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,n){if(void 0===t&&void 0===e)throw new r["a"]("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrlContinuously(e,n):this.decodeFromVideoElementContinuously(t,n)},t.prototype.decodeFromImageElement=function(t){if(!t)throw new r["a"]("An image element must be provided.");this.reset();var e,n=this.prepareImageElement(t);return this.imageElement=n,e=this.isImageLoaded(n)?this.decodeOnce(n,!1,!0):this._decodeOnLoadImage(n),e},t.prototype.decodeFromVideoElement=function(t){var e=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideo(e)},t.prototype.decodeFromVideoElementContinuously=function(t,e){var n=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideoContinuously(n,e)},t.prototype._decodeFromVideoElementSetup=function(t){if(!t)throw new r["a"]("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 r["a"]("An URL must be provided.");this.reset();var e=this.prepareImageElement();this.imageElement=e;var n=this._decodeOnLoadImage(e);return e.src=t,n},t.prototype.decodeFromVideoUrl=function(t){if(!t)throw new r["a"]("An URL must be provided.");this.reset();var e=this.prepareVideoElement(),n=this.decodeFromVideoElement(e);return e.src=t,n},t.prototype.decodeFromVideoUrlContinuously=function(t,e){if(!t)throw new r["a"]("An URL must be provided.");this.reset();var n=this.prepareVideoElement(),o=this.decodeFromVideoElementContinuously(n,e);return n.src=t,o},t.prototype._decodeOnLoadImage=function(t){var e=this;return new Promise((function(n,r){e.imageLoadedListener=function(){return e.decodeOnce(t,!1,!0).then(n,r)},t.addEventListener("load",e.imageLoadedListener)}))},t.prototype._decodeOnLoadVideo=function(t){return d(this,void 0,void 0,(function(){return f(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 d(this,void 0,void 0,(function(){return f(this,(function(n){switch(n.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return n.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,n){var r=this;void 0===e&&(e=!0),void 0===n&&(n=!0),this._stopAsyncDecode=!1;var o=function(a,s){if(r._stopAsyncDecode)return s(new c["a"]("Video stream has ended before any code could be detected.")),void(r._stopAsyncDecode=void 0);try{var p=r.decode(t);a(p)}catch(l){var d=e&&l instanceof c["a"],f=l instanceof i["a"]||l instanceof u["a"],h=f&&n;if(d||h)return setTimeout(o,r._timeBetweenDecodingAttempts,a,s);s(l)}};return new Promise((function(t,e){return o(t,e)}))},t.prototype.decodeContinuously=function(t,e){var n=this;this._stopContinuousDecode=!1;var r=function(){if(n._stopContinuousDecode)n._stopContinuousDecode=void 0;else try{var o=n.decode(t);e(o,null),setTimeout(r,n.timeBetweenScansMillis)}catch(p){e(null,p);var a=p instanceof i["a"]||p instanceof u["a"],s=p instanceof c["a"];(a||s)&&setTimeout(r,n._timeBetweenDecodingAttempts)}};r()},t.prototype.decode=function(t){var e=this.createBinaryBitmap(t);return this.decodeBitmap(e)},t.prototype._isHTMLVideoElement=function(t){var e=t;return 0!==e.videoWidth},t.prototype.createBinaryBitmap=function(t){this.getCaptureCanvasContext(t);this._isHTMLVideoElement(t)?this.drawFrameOnCanvas(t):this.drawImageOnCanvas(t);var e=this.getCaptureCanvas(t),n=new s["a"](e),r=new a["a"](n);return new o["a"](r)},t.prototype.getCaptureCanvasContext=function(t){if(!this.captureCanvasContext){var e=this.getCaptureCanvas(t),n=e.getContext("2d");this.captureCanvasContext=n}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,n){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===n&&(n=this.captureCanvasContext),n.drawImage(t,e.sx,e.sy,e.sWidth,e.sHeight,e.dx,e.dy,e.dWidth,e.dHeight)},t.prototype.drawImageOnCanvas=function(t,e,n){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===n&&(n=this.captureCanvasContext),n.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,n,r=document.createElement("canvas");return"undefined"!==typeof t&&(t instanceof HTMLVideoElement?(e=t.videoWidth,n=t.videoHeight):t instanceof HTMLImageElement&&(e=t.naturalWidth||t.width,n=t.naturalHeight||t.height)),r.style.width=e+"px",r.style.height=n+"px",r.width=e,r.height=n,r},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(n){t.src=URL.createObjectURL(e)}},t.prototype.cleanVideoSource=function(t){try{t.srcObject=null}catch(e){t.src=""}this.videoElement.removeAttribute("src")},t}()},f8c0:function(t,e,n){"use strict";var r=n("d0b6"),o=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="ArgumentException",e}(r["a"]);e["a"]=i},fe96:function(t,e,n){"use strict";var r;(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["ASSUME_GS1"]=7]="ASSUME_GS1",t[t["RETURN_CODABAR_START_END"]=8]="RETURN_CODABAR_START_END",t[t["NEED_RESULT_POINT_CALLBACK"]=9]="NEED_RESULT_POINT_CALLBACK",t[t["ALLOWED_EAN_EXTENSIONS"]=10]="ALLOWED_EAN_EXTENSIONS"})(r||(r={})),e["a"]=r}}]);
|
|
2
|
-
//# sourceMappingURL=super-ui.umd.min.yarn.zxing~b49f3034.js.map
|