imatrix-ui 2.8.97-dw-tmp2 → 2.8.97-dw-tmp4
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.css +1 -0
- package/lib/super-ui.umd.min.js +36 -1
- package/package.json +1 -2
- package/src/i18n/i18n.js +1 -1
- package/src/i18n/langs/cn.js +1 -1
- package/src/i18n/langs/en.js +1 -1
- package/src/permission.js +1 -1
- package/src/plugins.js +4 -4
- package/src/store/modules/permission.js +5 -0
- package/src/styles/index.scss +2 -2
- package/src/utils/permissionAuth.js +6 -0
- package/src/utils/request.js +1 -1
- package/src/views/login/index.vue +1 -1
- 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~8a52df3b.js +0 -30088
- 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~8a52df3b.js +0 -30088
- 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([[26],{"08a0":function(t,e,r){"use strict";var n,i=r("a652"),o=r("547e"),a=r("34c8"),s=r("9cca"),u=r("7978"),f=r("f823"),c=r("ea29");(function(t){t[t["UPPER"]=0]="UPPER",t[t["LOWER"]=1]="LOWER",t[t["MIXED"]=2]="MIXED",t[t["DIGIT"]=3]="DIGIT",t[t["PUNCT"]=4]="PUNCT",t[t["BINARY"]=5]="BINARY"})(n||(n={}));var h=function(){function t(){}return t.prototype.decode=function(e){this.ddata=e;var r=e.getBits(),n=this.extractBits(r),o=this.correctBits(n),a=t.convertBoolArrayToByteArray(o),s=t.getEncodedData(o),u=new i["a"](a,s,null,null);return u.setNumBits(o.length),u},t.highLevelDecode=function(t){return this.getEncodedData(t)},t.getEncodedData=function(e){var r=e.length,i=n.UPPER,o=n.UPPER,a="",s=0;while(s<r)if(o===n.BINARY){if(r-s<5)break;var u=t.readCode(e,s,5);if(s+=5,0===u){if(r-s<11)break;u=t.readCode(e,s,11)+31,s+=11}for(var c=0;c<u;c++){if(r-s<8){s=r;break}var h=t.readCode(e,s,8);a+=f["a"].castAsNonUtf8Char(h),s+=8}o=i}else{var p=o===n.DIGIT?4:5;if(r-s<p)break;h=t.readCode(e,s,p);s+=p;var y=t.getCharacter(o,h);y.startsWith("CTRL_")?(i=o,o=t.getTable(y.charAt(5)),"L"===y.charAt(6)&&(i=o)):(a+=y,o=i)}return a},t.getTable=function(t){switch(t){case"L":return n.LOWER;case"P":return n.PUNCT;case"M":return n.MIXED;case"D":return n.DIGIT;case"B":return n.BINARY;case"U":default:return n.UPPER}},t.getCharacter=function(e,r){switch(e){case n.UPPER:return t.UPPER_TABLE[r];case n.LOWER:return t.LOWER_TABLE[r];case n.MIXED:return t.MIXED_TABLE[r];case n.PUNCT:return t.PUNCT_TABLE[r];case n.DIGIT:return t.DIGIT_TABLE[r];default:throw new s["a"]("Bad table")}},t.prototype.correctBits=function(e){var r,n;this.ddata.getNbLayers()<=2?(n=6,r=o["a"].AZTEC_DATA_6):this.ddata.getNbLayers()<=8?(n=8,r=o["a"].AZTEC_DATA_8):this.ddata.getNbLayers()<=22?(n=10,r=o["a"].AZTEC_DATA_10):(n=12,r=o["a"].AZTEC_DATA_12);var i=this.ddata.getNbDatablocks(),s=e.length/n;if(s<i)throw new u["a"];for(var f=e.length%n,c=new Int32Array(s),h=0;h<s;h++,f+=n)c[h]=t.readCode(e,f,n);try{var p=new a["a"](r);p.decode(c,s-i)}catch(E){throw new u["a"](E)}var y=(1<<n)-1,l=0;for(h=0;h<i;h++){var d=c[h];if(0===d||d===y)throw new u["a"];1!==d&&d!==y-1||l++}var g=new Array(i*n-l),C=0;for(h=0;h<i;h++){d=c[h];if(1===d||d===y-1)g.fill(d>1,C,C+n-1),C+=n-1;else for(var v=n-1;v>=0;--v)g[C++]=0!==(d&1<<v)}return g},t.prototype.extractBits=function(t){var e=this.ddata.isCompact(),r=this.ddata.getNbLayers(),n=(e?11:14)+4*r,i=new Int32Array(n),o=new Array(this.totalBitsInLayer(r,e));if(e)for(var a=0;a<i.length;a++)i[a]=a;else{var s=n+1+2*c["a"].truncDivision(c["a"].truncDivision(n,2)-1,15),u=n/2,f=c["a"].truncDivision(s,2);for(a=0;a<u;a++){var h=a+c["a"].truncDivision(a,15);i[u-a-1]=f-h-1,i[u+a]=f+h+1}}a=0;for(var p=0;a<r;a++){for(var y=4*(r-a)+(e?9:12),l=2*a,d=n-1-l,g=0;g<y;g++)for(var C=2*g,v=0;v<2;v++)o[p+C+v]=t.get(i[l+v],i[l+g]),o[p+2*y+C+v]=t.get(i[l+g],i[d-v]),o[p+4*y+C+v]=t.get(i[d-v],i[d-g]),o[p+6*y+C+v]=t.get(i[d-g],i[l+v]);p+=8*y}return o},t.readCode=function(t,e,r){for(var n=0,i=e;i<e+r;i++)n<<=1,t[i]&&(n|=1);return n},t.readByte=function(e,r){var n=e.length-r;return n>=8?t.readCode(e,r,8):t.readCode(e,r,n)<<8-n},t.convertBoolArrayToByteArray=function(e){for(var r=new Uint8Array((e.length+7)/8),n=0;n<r.length;n++)r[n]=t.readByte(e,8*n);return r},t.prototype.totalBitsInLayer=function(t,e){return((e?88:112)+16*t)*t},t.UPPER_TABLE=["CTRL_PS"," ","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","CTRL_LL","CTRL_ML","CTRL_DL","CTRL_BS"],t.LOWER_TABLE=["CTRL_PS"," ","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","CTRL_US","CTRL_ML","CTRL_DL","CTRL_BS"],t.MIXED_TABLE=["CTRL_PS"," ","\\1","\\2","\\3","\\4","\\5","\\6","\\7","\b","\t","\n","\\13","\f","\r","\\33","\\34","\\35","\\36","\\37","@","\\","^","_","`","|","~","\\177","CTRL_LL","CTRL_UL","CTRL_PL","CTRL_BS"],t.PUNCT_TABLE=["","\r","\r\n",". ",", ",": ","!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}","CTRL_UL"],t.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],t}();e["a"]=h},"0ba3":function(t,e,r){"use strict";var n=r("2f50"),i=r("a363"),o=r("fe96"),a=r("64a7"),s=r("63af"),u=r("08a0"),f=r("dd05"),c=function(){function t(){}return t.prototype.decode=function(t,e){void 0===e&&(e=null);var r=null,o=new f["a"](t.getBlackMatrix()),c=null,h=null;try{var p=o.detectMirror(!1);c=p.getPoints(),this.reportFoundResultPoints(e,c),h=(new u["a"]).decode(p)}catch(g){r=g}if(null==h)try{p=o.detectMirror(!0);c=p.getPoints(),this.reportFoundResultPoints(e,c),h=(new u["a"]).decode(p)}catch(g){if(null!=r)throw r;throw g}var y=new n["a"](h.getText(),h.getRawBytes(),h.getNumBits(),c,i["a"].AZTEC,s["a"].currentTimeMillis()),l=h.getByteSegments();null!=l&&y.putMetadata(a["a"].BYTE_SEGMENTS,l);var d=h.getECLevel();return null!=d&&y.putMetadata(a["a"].ERROR_CORRECTION_LEVEL,d),y},t.prototype.reportFoundResultPoints=function(t,e){if(null!=t){var r=t.get(o["a"].NEED_RESULT_POINT_CALLBACK);null!=r&&e.forEach((function(t,e,n){r.foundPossibleResultPoint(t)}))}},t.prototype.reset=function(){},t}();e["a"]=c},"1cba":function(t,e,r){"use strict";var n=r("d0b6"),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="UnsupportedOperationException",e}(n["a"]);e["a"]=o},"2ea4":function(t,e,r){"use strict";var n=r("c168"),i=r("9068"),o=function(){function t(t){this.previous=t}return t.prototype.getPrevious=function(){return this.previous},t}(),a=o,s=r("ea29"),u=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),f=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.value=r,i.bitCount=n,i}return u(e,t),e.prototype.appendTo=function(t,e){t.appendBits(this.value,this.bitCount)},e.prototype.add=function(t,r){return new e(this,t,r)},e.prototype.addBinaryShift=function(t,r){return console.warn("addBinaryShift on SimpleToken, this simply returns a copy of this token"),new e(this,t,r)},e.prototype.toString=function(){var t=this.value&(1<<this.bitCount)-1;return t|=1<<this.bitCount,"<"+s["a"].toBinaryString(t|1<<this.bitCount).substring(1)+">"},e}(a),c=f,h=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),p=function(t){function e(e,r,n){var i=t.call(this,e,0,0)||this;return i.binaryShiftStart=r,i.binaryShiftByteCount=n,i}return h(e,t),e.prototype.appendTo=function(t,e){for(var r=0;r<this.binaryShiftByteCount;r++)(0===r||31===r&&this.binaryShiftByteCount<=62)&&(t.appendBits(31,5),this.binaryShiftByteCount>62?t.appendBits(this.binaryShiftByteCount-31,16):0===r?t.appendBits(Math.min(this.binaryShiftByteCount,31),5):t.appendBits(this.binaryShiftByteCount-31,5)),t.appendBits(e[this.binaryShiftStart+r],8)},e.prototype.addBinaryShift=function(t,r){return new e(this,t,r)},e.prototype.toString=function(){return"<"+this.binaryShiftStart+"::"+(this.binaryShiftStart+this.binaryShiftByteCount-1)+">"},e}(c),y=p;function l(t,e,r){return new y(t,e,r)}function d(t,e,r){return new c(t,e,r)}var g=["UPPER","LOWER","DIGIT","MIXED","PUNCT"],C=0,v=1,E=2,T=3,_=4,b=new c(null,0,0),S=[Int32Array.from([0,327708,327710,327709,656318]),Int32Array.from([590318,0,327710,327709,656318]),Int32Array.from([262158,590300,0,590301,932798]),Int32Array.from([327709,327708,656318,0,327710]),Int32Array.from([327711,656380,656382,656381,0])],B=r("cb12"),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.")};function w(t){var e,r;try{for(var n=A(t),i=n.next();!i.done;i=n.next()){var o=i.value;B["a"].fill(o,-1)}}catch(a){e={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return t[C][_]=0,t[v][_]=0,t[v][C]=28,t[T][_]=0,t[E][_]=0,t[E][C]=15,t}var R=w(B["a"].createInt32Array(6,6)),L=r("f823"),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.")},m=function(){function t(t,e,r,n){this.token=t,this.mode=e,this.binaryShiftByteCount=r,this.bitCount=n}return t.prototype.getMode=function(){return this.mode},t.prototype.getToken=function(){return this.token},t.prototype.getBinaryShiftByteCount=function(){return this.binaryShiftByteCount},t.prototype.getBitCount=function(){return this.bitCount},t.prototype.latchAndAppend=function(e,r){var n=this.bitCount,i=this.token;if(e!==this.mode){var o=S[this.mode][e];i=d(i,65535&o,o>>16),n+=o>>16}var a=e===E?4:5;return i=d(i,r,a),new t(i,e,0,n+a)},t.prototype.shiftAndAppend=function(e,r){var n=this.token,i=this.mode===E?4:5;return n=d(n,R[this.mode][e],i),n=d(n,r,5),new t(n,this.mode,0,this.bitCount+i+5)},t.prototype.addBinaryShiftChar=function(e){var r=this.token,n=this.mode,i=this.bitCount;if(this.mode===_||this.mode===E){var o=S[n][C];r=d(r,65535&o,o>>16),i+=o>>16,n=C}var a=0===this.binaryShiftByteCount||31===this.binaryShiftByteCount?18:62===this.binaryShiftByteCount?9:8,s=new t(r,n,this.binaryShiftByteCount+1,i+a);return 2078===s.binaryShiftByteCount&&(s=s.endBinaryShift(e+1)),s},t.prototype.endBinaryShift=function(e){if(0===this.binaryShiftByteCount)return this;var r=this.token;return r=l(r,e-this.binaryShiftByteCount,this.binaryShiftByteCount),new t(r,this.mode,0,this.bitCount)},t.prototype.isBetterThanOrEqualTo=function(e){var r=this.bitCount+(S[this.mode][e.mode]>>16);return this.binaryShiftByteCount<e.binaryShiftByteCount?r+=t.calculateBinaryShiftCost(e)-t.calculateBinaryShiftCost(this):this.binaryShiftByteCount>e.binaryShiftByteCount&&e.binaryShiftByteCount>0&&(r+=10),r<=e.bitCount},t.prototype.toBitArray=function(t){for(var e,r,n=[],o=this.endBinaryShift(t.length).token;null!==o;o=o.getPrevious())n.unshift(o);var a=new i["a"];try{for(var s=P(n),u=s.next();!u.done;u=s.next()){var f=u.value;f.appendTo(a,t)}}catch(c){e={error:c}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}return a},t.prototype.toString=function(){return L["a"].format("%s bits=%d bytes=%d",g[this.mode],this.bitCount,this.binaryShiftByteCount)},t.calculateBinaryShiftCost=function(t){return t.binaryShiftByteCount>62?21:t.binaryShiftByteCount>31?20:t.binaryShiftByteCount>0?10:0},t.INITIAL_STATE=new t(b,C,0,0),t}(),D=m;function I(t){var e=L["a"].getCharCode(" "),r=L["a"].getCharCode("."),n=L["a"].getCharCode(",");t[C][e]=1;for(var i=L["a"].getCharCode("Z"),o=L["a"].getCharCode("A"),a=o;a<=i;a++)t[C][a]=a-o+2;t[v][e]=1;var s=L["a"].getCharCode("z"),u=L["a"].getCharCode("a");for(a=u;a<=s;a++)t[v][a]=a-u+2;t[E][e]=1;var f=L["a"].getCharCode("9"),c=L["a"].getCharCode("0");for(a=c;a<=f;a++)t[E][a]=a-c+2;t[E][n]=12,t[E][r]=13;for(var h=["\0"," ","","","","","","","","\b","\t","\n","\v","\f","\r","","","","","","@","\\","^","_","`","|","~",""],p=0;p<h.length;p++)t[T][L["a"].getCharCode(h[p])]=p;var y=["\0","\r","\0","\0","\0","\0","!","'","#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","[","]","{","}"];for(p=0;p<y.length;p++)L["a"].getCharCode(y[p])>0&&(t[_][L["a"].getCharCode(y[p])]=p);return t}var M=I(B["a"].createInt32Array(5,256)),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.")},x=function(){function t(t){this.text=t}return t.prototype.encode=function(){for(var e=L["a"].getCharCode(" "),r=L["a"].getCharCode("\n"),i=n["a"].singletonList(D.INITIAL_STATE),o=0;o<this.text.length;o++){var a=void 0,s=o+1<this.text.length?this.text[o+1]:0;switch(this.text[o]){case L["a"].getCharCode("\r"):a=s===r?2:0;break;case L["a"].getCharCode("."):a=s===e?3:0;break;case L["a"].getCharCode(","):a=s===e?4:0;break;case L["a"].getCharCode(":"):a=s===e?5:0;break;default:a=0}a>0?(i=t.updateStateListForPair(i,o,a),o++):i=this.updateStateListForChar(i,o)}var u=n["a"].min(i,(function(t,e){return t.getBitCount()-e.getBitCount()}));return u.toBitArray(this.text)},t.prototype.updateStateListForChar=function(e,r){var n,i,o=[];try{for(var a=O(e),s=a.next();!s.done;s=a.next()){var u=s.value;this.updateStateForChar(u,r,o)}}catch(f){n={error:f}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return t.simplifyStates(o)},t.prototype.updateStateForChar=function(t,e,r){for(var n=255&this.text[e],i=M[t.getMode()][n]>0,o=null,a=0;a<=_;a++){var s=M[a][n];if(s>0){if(null==o&&(o=t.endBinaryShift(e)),!i||a===t.getMode()||a===E){var u=o.latchAndAppend(a,s);r.push(u)}if(!i&&R[t.getMode()][a]>=0){var f=o.shiftAndAppend(a,s);r.push(f)}}}if(t.getBinaryShiftByteCount()>0||0===M[t.getMode()][n]){var c=t.addBinaryShiftChar(e);r.push(c)}},t.updateStateListForPair=function(t,e,r){var n,i,o=[];try{for(var a=O(t),s=a.next();!s.done;s=a.next()){var u=s.value;this.updateStateForPair(u,e,r,o)}}catch(f){n={error:f}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return this.simplifyStates(o)},t.updateStateForPair=function(t,e,r,n){var i=t.endBinaryShift(e);if(n.push(i.latchAndAppend(_,r)),t.getMode()!==_&&n.push(i.shiftAndAppend(_,r)),3===r||4===r){var o=i.latchAndAppend(E,16-r).latchAndAppend(E,1);n.push(o)}if(t.getBinaryShiftByteCount()>0){var a=t.addBinaryShiftChar(e).addBinaryShiftChar(e+1);n.push(a)}},t.simplifyStates=function(t){var e,r,n,i,o=[];try{for(var a=O(t),s=a.next();!s.done;s=a.next()){var u=s.value,f=!0,c=function(t){if(t.isBetterThanOrEqualTo(u))return f=!1,"break";u.isBetterThanOrEqualTo(t)&&(o=o.filter((function(e){return e!==t})))};try{for(var h=(n=void 0,O(o)),p=h.next();!p.done;p=h.next()){var y=p.value,l=c(y);if("break"===l)break}}catch(d){n={error:d}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}f&&o.push(u)}}catch(g){e={error:g}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}return o},t}();e["a"]=x},"2f50":function(t,e,r){"use strict";var n=r("63af"),i=function(){function t(t,e,r,i,o,a){void 0===r&&(r=null==e?0:8*e.length),void 0===a&&(a=n["a"].currentTimeMillis()),this.text=t,this.rawBytes=e,this.numBits=r,this.resultPoints=i,this.format=o,this.timestamp=a,this.text=t,this.rawBytes=e,this.numBits=void 0===r||null===r?null===e||void 0===e?0:8*e.length:r,this.resultPoints=i,this.format=o,this.resultMetadata=null,this.timestamp=void 0===a||null===a?n["a"].currentTimeMillis():a}return t.prototype.getText=function(){return this.text},t.prototype.getRawBytes=function(){return this.rawBytes},t.prototype.getNumBits=function(){return this.numBits},t.prototype.getResultPoints=function(){return this.resultPoints},t.prototype.getBarcodeFormat=function(){return this.format},t.prototype.getResultMetadata=function(){return this.resultMetadata},t.prototype.putMetadata=function(t,e){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(t,e)},t.prototype.putAllMetadata=function(t){null!==t&&(null===this.resultMetadata?this.resultMetadata=t:this.resultMetadata=new Map(t))},t.prototype.addResultPoints=function(t){var e=this.resultPoints;if(null===e)this.resultPoints=t;else if(null!==t&&t.length>0){var r=new Array(e.length+t.length);n["a"].arraycopy(e,0,r,0,e.length),n["a"].arraycopy(t,0,r,e.length,t.length),this.resultPoints=r}},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.toString=function(){return this.text},t}();e["a"]=i},"3ab8":function(t,e,r){"use strict";var n=function(){function t(){}return t.prototype.isCompact=function(){return this.compact},t.prototype.setCompact=function(t){this.compact=t},t.prototype.getSize=function(){return this.size},t.prototype.setSize=function(t){this.size=t},t.prototype.getLayers=function(){return this.layers},t.prototype.setLayers=function(t){this.layers=t},t.prototype.getCodeWords=function(){return this.codeWords},t.prototype.setCodeWords=function(t){this.codeWords=t},t.prototype.getMatrix=function(){return this.matrix},t.prototype.setMatrix=function(t){this.matrix=t},t}();e["a"]=n},4986:function(t,e,r){"use strict";var n=r("d0b6"),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.kind="WriterException",e}(n["a"]);e["a"]=o},"64a7":function(t,e,r){"use strict";var n;(function(t){t[t["OTHER"]=0]="OTHER",t[t["ORIENTATION"]=1]="ORIENTATION",t[t["BYTE_SEGMENTS"]=2]="BYTE_SEGMENTS",t[t["ERROR_CORRECTION_LEVEL"]=3]="ERROR_CORRECTION_LEVEL",t[t["ISSUE_NUMBER"]=4]="ISSUE_NUMBER",t[t["SUGGESTED_PRICE"]=5]="SUGGESTED_PRICE",t[t["POSSIBLE_COUNTRY"]=6]="POSSIBLE_COUNTRY",t[t["UPC_EAN_EXTENSION"]=7]="UPC_EAN_EXTENSION",t[t["PDF417_EXTRA_METADATA"]=8]="PDF417_EXTRA_METADATA",t[t["STRUCTURED_APPEND_SEQUENCE"]=9]="STRUCTURED_APPEND_SEQUENCE",t[t["STRUCTURED_APPEND_PARITY"]=10]="STRUCTURED_APPEND_PARITY"})(n||(n={})),e["a"]=n},"84b8":function(t,e,r){"use strict";var n=r("9068"),i=r("f0a7"),o=r("f823"),a=r("2011"),s=r("3ab8"),u=r("1092"),f=r("547e"),c=r("2ea4"),h=r("ea29"),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.encodeBytes=function(e){return t.encode(e,t.DEFAULT_EC_PERCENT,t.DEFAULT_AZTEC_LAYERS)},t.encode=function(e,r,n){var u,f,p,y,l,d=new c["a"](e).encode(),g=h["a"].truncDivision(d.getSize()*r,100)+11,C=d.getSize()+g;if(n!==t.DEFAULT_AZTEC_LAYERS){if(u=n<0,f=Math.abs(n),f>(u?t.MAX_NB_BITS_COMPACT:t.MAX_NB_BITS))throw new i["a"](o["a"].format("Illegal value %s for layers",n));p=t.totalBitsInLayer(f,u),y=t.WORD_SIZE[f];var v=p-p%y;if(l=t.stuffBits(d,y),l.getSize()+g>v)throw new i["a"]("Data to large for user specified layer");if(u&&l.getSize()>64*y)throw new i["a"]("Data to large for user specified layer")}else{y=0,l=null;for(var E=0;;E++){if(E>t.MAX_NB_BITS)throw new i["a"]("Data too large for an Aztec code");if(u=E<=3,f=u?E+1:E,p=t.totalBitsInLayer(f,u),!(C>p)){null!=l&&y===t.WORD_SIZE[f]||(y=t.WORD_SIZE[f],l=t.stuffBits(d,y));v=p-p%y;if(!(u&&l.getSize()>64*y)&&l.getSize()+g<=v)break}}}var T,_=t.generateCheckWords(l,p,y),b=l.getSize()/y,S=t.generateModeMessage(u,f,b),B=(u?11:14)+4*f,A=new Int32Array(B);if(u){T=B;for(E=0;E<A.length;E++)A[E]=E}else{T=B+1+2*h["a"].truncDivision(h["a"].truncDivision(B,2)-1,15);var w=h["a"].truncDivision(B,2),R=h["a"].truncDivision(T,2);for(E=0;E<w;E++){var L=E+h["a"].truncDivision(E,15);A[w-E-1]=R-L-1,A[w+E]=R+L+1}}for(var P=new a["a"](T),m=(E=0,0);E<f;E++){for(var D=4*(f-E)+(u?9:12),I=0;I<D;I++)for(var M=2*I,O=0;O<2;O++)_.get(m+M+O)&&P.set(A[2*E+O],A[2*E+I]),_.get(m+2*D+M+O)&&P.set(A[2*E+I],A[B-1-2*E-O]),_.get(m+4*D+M+O)&&P.set(A[B-1-2*E-O],A[B-1-2*E-I]),_.get(m+6*D+M+O)&&P.set(A[B-1-2*E-I],A[2*E+O]);m+=8*D}if(t.drawModeMessage(P,u,T,S),u)t.drawBullsEye(P,h["a"].truncDivision(T,2),5);else{t.drawBullsEye(P,h["a"].truncDivision(T,2),7);for(E=0,I=0;E<h["a"].truncDivision(B,2)-1;E+=15,I+=16)for(O=1&h["a"].truncDivision(T,2);O<T;O+=2)P.set(h["a"].truncDivision(T,2)-I,O),P.set(h["a"].truncDivision(T,2)+I,O),P.set(O,h["a"].truncDivision(T,2)-I),P.set(O,h["a"].truncDivision(T,2)+I)}var x=new s["a"];return x.setCompact(u),x.setSize(T),x.setLayers(f),x.setCodeWords(b),x.setMatrix(P),x},t.drawBullsEye=function(t,e,r){for(var n=0;n<r;n+=2)for(var i=e-n;i<=e+n;i++)t.set(i,e-n),t.set(i,e+n),t.set(e-n,i),t.set(e+n,i);t.set(e-r,e-r),t.set(e-r+1,e-r),t.set(e-r,e-r+1),t.set(e+r,e-r),t.set(e+r,e-r+1),t.set(e+r,e+r-1)},t.generateModeMessage=function(e,r,i){var o=new n["a"];return e?(o.appendBits(r-1,2),o.appendBits(i-1,6),o=t.generateCheckWords(o,28,4)):(o.appendBits(r-1,5),o.appendBits(i-1,11),o=t.generateCheckWords(o,40,4)),o},t.drawModeMessage=function(t,e,r,n){var i=h["a"].truncDivision(r,2);if(e)for(var o=0;o<7;o++){var a=i-3+o;n.get(o)&&t.set(a,i-5),n.get(o+7)&&t.set(i+5,a),n.get(20-o)&&t.set(a,i+5),n.get(27-o)&&t.set(i-5,a)}else for(o=0;o<10;o++){a=i-5+o+h["a"].truncDivision(o,5);n.get(o)&&t.set(a,i-7),n.get(o+10)&&t.set(i+7,a),n.get(29-o)&&t.set(a,i+7),n.get(39-o)&&t.set(i-7,a)}},t.generateCheckWords=function(e,r,i){var o,a,s=e.getSize()/i,f=new u["a"](t.getGF(i)),c=h["a"].truncDivision(r,i),y=t.bitsToWords(e,i,c);f.encode(y,c-s);var l=r%i,d=new n["a"];d.appendBits(0,l);try{for(var g=p(Array.from(y)),C=g.next();!C.done;C=g.next()){var v=C.value;d.appendBits(v,i)}}catch(E){o={error:E}}finally{try{C&&!C.done&&(a=g.return)&&a.call(g)}finally{if(o)throw o.error}}return d},t.bitsToWords=function(t,e,r){var n,i,o=new Int32Array(r);for(n=0,i=t.getSize()/e;n<i;n++){for(var a=0,s=0;s<e;s++)a|=t.get(n*e+s)?1<<e-s-1:0;o[n]=a}return o},t.getGF=function(t){switch(t){case 4:return f["a"].AZTEC_PARAM;case 6:return f["a"].AZTEC_DATA_6;case 8:return f["a"].AZTEC_DATA_8;case 10:return f["a"].AZTEC_DATA_10;case 12:return f["a"].AZTEC_DATA_12;default:throw new i["a"]("Unsupported word size "+t)}},t.stuffBits=function(t,e){for(var r=new n["a"],i=t.getSize(),o=(1<<e)-2,a=0;a<i;a+=e){for(var s=0,u=0;u<e;u++)(a+u>=i||t.get(a+u))&&(s|=1<<e-1-u);(s&o)===o?(r.appendBits(s&o,e),a--):0===(s&o)?(r.appendBits(1|s,e),a--):r.appendBits(s,e)}return r},t.totalBitsInLayer=function(t,e){return((e?88:112)+16*t)*t},t.DEFAULT_EC_PERCENT=33,t.DEFAULT_AZTEC_LAYERS=0,t.MAX_NB_BITS=32,t.MAX_NB_BITS_COMPACT=4,t.WORD_SIZE=Int32Array.from([4,6,6,8,8,8,8,8,8,10,10,10,10,10,10,10,10,10,10,10,10,10,10,12,12,12,12,12,12,12,12,12,12]),t}();e["a"]=y},"8c95":function(t,e,r){"use strict";var n=r("fb63"),i=r("2e1c"),o=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.equals=function(e){if(e instanceof t){var r=e;return this.x===r.x&&this.y===r.y}return!1},t.prototype.hashCode=function(){return 31*i["a"].floatToIntBits(this.x)+i["a"].floatToIntBits(this.y)},t.prototype.toString=function(){return"("+this.x+","+this.y+")"},t.orderBestPatterns=function(t){var e,r,n,i=this.distance(t[0],t[1]),o=this.distance(t[1],t[2]),a=this.distance(t[0],t[2]);if(o>=i&&o>=a?(r=t[0],e=t[1],n=t[2]):a>=o&&a>=i?(r=t[1],e=t[0],n=t[2]):(r=t[2],e=t[0],n=t[1]),this.crossProductZ(e,r,n)<0){var s=e;e=n,n=s}t[0]=e,t[1]=r,t[2]=n},t.distance=function(t,e){return n["a"].distance(t.x,t.y,e.x,e.y)},t.crossProductZ=function(t,e,r){var n=e.x,i=e.y;return(r.x-n)*(t.y-i)-(r.y-i)*(t.x-n)},t}();e["a"]=o},dd05:function(t,e,r){"use strict";var n=r("8c95"),i=r("f52c"),o=r("fb63"),a=r("7f3b"),s=r("547e"),u=r("34c8"),f=r("ca08"),c=r("be40"),h=r("ea29"),p=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.toResultPoint=function(){return new n["a"](this.getX(),this.getY())},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t}(),y=function(){function t(t){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=t}return t.prototype.detect=function(){return this.detectMirror(!1)},t.prototype.detectMirror=function(t){var e=this.getMatrixCenter(),r=this.getBullsEyeCorners(e);if(t){var n=r[0];r[0]=r[2],r[2]=n}this.extractParameters(r);var o=this.sampleGrid(this.image,r[this.shift%4],r[(this.shift+1)%4],r[(this.shift+2)%4],r[(this.shift+3)%4]),a=this.getMatrixCornerPoints(r);return new i["a"](o,a,this.compact,this.nbDataBlocks,this.nbLayers)},t.prototype.extractParameters=function(t){if(!this.isValidPoint(t[0])||!this.isValidPoint(t[1])||!this.isValidPoint(t[2])||!this.isValidPoint(t[3]))throw new f["a"];var e=2*this.nbCenterLayers,r=new Int32Array([this.sampleLine(t[0],t[1],e),this.sampleLine(t[1],t[2],e),this.sampleLine(t[2],t[3],e),this.sampleLine(t[3],t[0],e)]);this.shift=this.getRotation(r,e);for(var n=0,i=0;i<4;i++){var o=r[(this.shift+i)%4];this.compact?(n<<=7,n+=o>>1&127):(n<<=10,n+=(o>>2&992)+(o>>1&31))}var a=this.getCorrectedParameterData(n,this.compact);this.compact?(this.nbLayers=1+(a>>6),this.nbDataBlocks=1+(63&a)):(this.nbLayers=1+(a>>11),this.nbDataBlocks=1+(2047&a))},t.prototype.getRotation=function(t,e){var r=0;t.forEach((function(t,n,i){var o=(t>>e-2<<1)+(1&t);r=(r<<3)+o})),r=((1&r)<<11)+(r>>1);for(var n=0;n<4;n++)if(h["a"].bitCount(r^this.EXPECTED_CORNER_BITS[n])<=2)return n;throw new f["a"]},t.prototype.getCorrectedParameterData=function(t,e){var r,n;e?(r=7,n=2):(r=10,n=4);for(var i=r-n,o=new Int32Array(r),a=r-1;a>=0;--a)o[a]=15&t,t>>=4;try{var c=new u["a"](s["a"].AZTEC_PARAM);c.decode(o,i)}catch(p){throw new f["a"]}var h=0;for(a=0;a<n;a++)h=(h<<4)+o[a];return h},t.prototype.getBullsEyeCorners=function(t){var e=t,r=t,i=t,o=t,a=!0;for(this.nbCenterLayers=1;this.nbCenterLayers<9;this.nbCenterLayers++){var s=this.getFirstDifferent(e,a,1,-1),u=this.getFirstDifferent(r,a,1,1),c=this.getFirstDifferent(i,a,-1,1),h=this.getFirstDifferent(o,a,-1,-1);if(this.nbCenterLayers>2){var p=this.distancePoint(h,s)*this.nbCenterLayers/(this.distancePoint(o,e)*(this.nbCenterLayers+2));if(p<.75||p>1.25||!this.isWhiteOrBlackRectangle(s,u,c,h))break}e=s,r=u,i=c,o=h,a=!a}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new f["a"];this.compact=5===this.nbCenterLayers;var y=new n["a"](e.getX()+.5,e.getY()-.5),l=new n["a"](r.getX()+.5,r.getY()+.5),d=new n["a"](i.getX()-.5,i.getY()+.5),g=new n["a"](o.getX()-.5,o.getY()-.5);return this.expandSquare([y,l,d,g],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},t.prototype.getMatrixCenter=function(){var t,e,r,n;try{var i=new a["a"](this.image).detect();t=i[0],e=i[1],r=i[2],n=i[3]}catch(h){var s=this.image.getWidth()/2,u=this.image.getHeight()/2;t=this.getFirstDifferent(new p(s+7,u-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new p(s+7,u+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new p(s-7,u+7),!1,-1,1).toResultPoint(),n=this.getFirstDifferent(new p(s-7,u-7),!1,-1,-1).toResultPoint()}var f=o["a"].round((t.getX()+n.getX()+e.getX()+r.getX())/4),c=o["a"].round((t.getY()+n.getY()+e.getY()+r.getY())/4);try{i=new a["a"](this.image,15,f,c).detect();t=i[0],e=i[1],r=i[2],n=i[3]}catch(h){t=this.getFirstDifferent(new p(f+7,c-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new p(f+7,c+7),!1,1,1).toResultPoint(),r=this.getFirstDifferent(new p(f-7,c+7),!1,-1,1).toResultPoint(),n=this.getFirstDifferent(new p(f-7,c-7),!1,-1,-1).toResultPoint()}return f=o["a"].round((t.getX()+n.getX()+e.getX()+r.getX())/4),c=o["a"].round((t.getY()+n.getY()+e.getY()+r.getY())/4),new p(f,c)},t.prototype.getMatrixCornerPoints=function(t){return this.expandSquare(t,2*this.nbCenterLayers,this.getDimension())},t.prototype.sampleGrid=function(t,e,r,n,i){var o=c["a"].getInstance(),a=this.getDimension(),s=a/2-this.nbCenterLayers,u=a/2+this.nbCenterLayers;return o.sampleGrid(t,a,a,s,s,u,s,u,u,s,u,e.getX(),e.getY(),r.getX(),r.getY(),n.getX(),n.getY(),i.getX(),i.getY())},t.prototype.sampleLine=function(t,e,r){for(var n=0,i=this.distanceResultPoint(t,e),a=i/r,s=t.getX(),u=t.getY(),f=a*(e.getX()-t.getX())/i,c=a*(e.getY()-t.getY())/i,h=0;h<r;h++)this.image.get(o["a"].round(s+h*f),o["a"].round(u+h*c))&&(n|=1<<r-h-1);return n},t.prototype.isWhiteOrBlackRectangle=function(t,e,r,n){var i=3;t=new p(t.getX()-i,t.getY()+i),e=new p(e.getX()-i,e.getY()-i),r=new p(r.getX()+i,r.getY()-i),n=new p(n.getX()+i,n.getY()+i);var o=this.getColor(n,t);if(0===o)return!1;var a=this.getColor(t,e);return a===o&&(a=this.getColor(e,r),a===o&&(a=this.getColor(r,n),a===o))},t.prototype.getColor=function(t,e){for(var r=this.distancePoint(t,e),n=(e.getX()-t.getX())/r,i=(e.getY()-t.getY())/r,a=0,s=t.getX(),u=t.getY(),f=this.image.get(t.getX(),t.getY()),c=Math.ceil(r),h=0;h<c;h++)s+=n,u+=i,this.image.get(o["a"].round(s),o["a"].round(u))!==f&&a++;var p=a/r;return p>.1&&p<.9?0:p<=.1===f?1:-1},t.prototype.getFirstDifferent=function(t,e,r,n){var i=t.getX()+r,o=t.getY()+n;while(this.isValid(i,o)&&this.image.get(i,o)===e)i+=r,o+=n;i-=r,o-=n;while(this.isValid(i,o)&&this.image.get(i,o)===e)i+=r;i-=r;while(this.isValid(i,o)&&this.image.get(i,o)===e)o+=n;return o-=n,new p(i,o)},t.prototype.expandSquare=function(t,e,r){var i=r/(2*e),o=t[0].getX()-t[2].getX(),a=t[0].getY()-t[2].getY(),s=(t[0].getX()+t[2].getX())/2,u=(t[0].getY()+t[2].getY())/2,f=new n["a"](s+i*o,u+i*a),c=new n["a"](s-i*o,u-i*a);o=t[1].getX()-t[3].getX(),a=t[1].getY()-t[3].getY(),s=(t[1].getX()+t[3].getX())/2,u=(t[1].getY()+t[3].getY())/2;var h=new n["a"](s+i*o,u+i*a),p=new n["a"](s-i*o,u-i*a),y=[f,h,c,p];return y},t.prototype.isValid=function(t,e){return t>=0&&t<this.image.getWidth()&&e>0&&e<this.image.getHeight()},t.prototype.isValidPoint=function(t){var e=o["a"].round(t.getX()),r=o["a"].round(t.getY());return this.isValid(e,r)},t.prototype.distancePoint=function(t,e){return o["a"].distance(t.getX(),t.getY(),e.getX(),e.getY())},t.prototype.distanceResultPoint=function(t,e){return o["a"].distance(t.getX(),t.getY(),e.getX(),e.getY())},t.prototype.getDimension=function(){return this.compact?4*this.nbLayers+11:this.nbLayers<=4?4*this.nbLayers+15:4*this.nbLayers+2*(h["a"].truncDivision(this.nbLayers-4,8)+1)+15},t}();e["a"]=y},f1aed:function(t,e,r){"use strict";var n=r("a363"),i=r("7163"),o=r("84b8"),a=r("2011"),s=r("ec6d"),u=r("23a7"),f=r("ea29"),c=r("9cca"),h=r("f0a7"),p=r("f823");(function(){function t(){}t.prototype.encode=function(t,e,r,n){return this.encodeWithHints(t,e,r,n,null)},t.prototype.encodeWithHints=function(e,r,n,a,c){var h=u["a"].ISO_8859_1,p=o["a"].DEFAULT_EC_PERCENT,y=o["a"].DEFAULT_AZTEC_LAYERS;return null!=c&&(c.has(i["a"].CHARACTER_SET)&&(h=s["a"].forName(c.get(i["a"].CHARACTER_SET).toString())),c.has(i["a"].ERROR_CORRECTION)&&(p=f["a"].parseInt(c.get(i["a"].ERROR_CORRECTION).toString())),c.has(i["a"].AZTEC_LAYERS)&&(y=f["a"].parseInt(c.get(i["a"].AZTEC_LAYERS).toString()))),t.encodeLayers(e,r,n,a,h,p,y)},t.encodeLayers=function(e,r,i,a,s,u,f){if(r!==n["a"].AZTEC)throw new h["a"]("Can only encode AZTEC, but got "+r);var c=o["a"].encode(p["a"].getBytes(e,s),u,f);return t.renderResult(c,i,a)},t.renderResult=function(t,e,r){var n=t.getMatrix();if(null==n)throw new c["a"];for(var i=n.getWidth(),o=n.getHeight(),s=Math.max(e,i),u=Math.max(r,o),f=Math.min(s/i,u/o),h=(s-i*f)/2,p=(u-o*f)/2,y=new a["a"](s,u),l=0,d=p;l<o;l++,d+=f)for(var g=0,C=h;g<i;g++,C+=f)n.get(g,l)&&y.setRegion(C,d,f,f);return y}})()},f52c:function(t,e,r){"use strict";var n=r("7a37"),i=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=function(t){function e(e,r,n,i,o){var a=t.call(this,e,r)||this;return a.compact=n,a.nbDatablocks=i,a.nbLayers=o,a}return i(e,t),e.prototype.getNbLayers=function(){return this.nbLayers},e.prototype.getNbDatablocks=function(){return this.nbDatablocks},e.prototype.isCompact=function(){return this.compact},e}(n["a"]);e["a"]=o}}]);
|
|
2
|
-
//# sourceMappingURL=super-ui.umd.min.yarn.zxing~fd3cc9f3.js.map
|