diff --git a/build/asset-manifest.json b/build/asset-manifest.json index 0a6815e..28741ce 100644 --- a/build/asset-manifest.json +++ b/build/asset-manifest.json @@ -1,20 +1,19 @@ { "files": { - "main.css": "/static/css/main.6c78c15a.css", - "main.js": "/static/js/main.a79a7532.js", + "main.css": "/static/css/main.2edddfce.css", + "main.js": "/static/js/main.504ee4e3.js", "static/js/988.7bc77449.chunk.js": "/static/js/988.7bc77449.chunk.js", "static/media/rain_icon.png": "/static/media/rain_icon.4645827d90e35b5d3646.png", - "static/media/Union.svg": "/static/media/Union.9f342f2e074170295b5fa35a79493b89.svg", + "static/media/logo_type2.svg": "/static/media/logo_type2.45c934f14179409770864c314084ab98.svg", "index.html": "/index.html", "static/media/icon_caution.svg": "/static/media/icon_caution.b2199639040d61c062bf080814cda327.svg", - "static/media/LOGO.svg": "/static/media/LOGO.cee9a7700313d2f0dd85e673f375d517.svg", "static/media/icon_x.svg": "/static/media/icon_x.b003998af307b18c3a26b35e14dc2367.svg", - "main.6c78c15a.css.map": "/static/css/main.6c78c15a.css.map", - "main.a79a7532.js.map": "/static/js/main.a79a7532.js.map", + "main.2edddfce.css.map": "/static/css/main.2edddfce.css.map", + "main.504ee4e3.js.map": "/static/js/main.504ee4e3.js.map", "988.7bc77449.chunk.js.map": "/static/js/988.7bc77449.chunk.js.map" }, "entrypoints": [ - "static/css/main.6c78c15a.css", - "static/js/main.a79a7532.js" + "static/css/main.2edddfce.css", + "static/js/main.504ee4e3.js" ] } \ No newline at end of file diff --git a/build/index.html b/build/index.html index f9497af..94022cc 100644 --- a/build/index.html +++ b/build/index.html @@ -1 +1 @@ -
=8?e.readCode(t,n,8):e.readCode(t,n,r)<<8-r},e.convertBoolArrayToByteArray=function(t){for(var n=new Uint8Array((t.length+7)/8),r=0;r=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},_t=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=new Int32Array(4),t}return mt(t,e),t.prototype.decodeMiddle=function(e,n,r){var o,i,a=this.decodeMiddleCounters.map((function(e){return e}));a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var u=e.getSize(),s=n[1],l=0,c=0;c<6&&s=10&&(l|=1<<5-c)}return t.determineNumSysAndCheckDigit(new Y(r),l),s},t.prototype.decodeEnd=function(e,n){return t.findGuardPatternWithoutCounters(e,n,!0,t.MIDDLE_END_PATTERN)},t.prototype.checkChecksum=function(e){return lt.checkChecksum(t.convertUPCEtoUPCA(e))},t.determineNumSysAndCheckDigit=function(e,t){for(var n=0;n<=1;n++)for(var r=0;r<10;r++)if(t===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[n][r])return e.insert(0,"0"+n),void e.append("0"+r);throw Q.getNotFoundInstance()},t.prototype.getBarcodeFormat=function(){return de.UPC_E},t.convertUPCEtoUPCA=function(e){var t=e.slice(1,7).split("").map((function(e){return e.charCodeAt(0)})),n=new Y;n.append(e.charAt(0));var r=t[5];switch(r){case 0:case 1:case 2:n.appendChars(t,0,2),n.append(r),n.append("0000"),n.appendChars(t,2,3);break;case 3:n.appendChars(t,0,3),n.append("00000"),n.appendChars(t,3,2);break;case 4:n.appendChars(t,0,4),n.append("00000"),n.append(t[4]);break;default:n.appendChars(t,0,5),n.append("0000"),n.append(r)}return e.length>=8&&n.append(e.charAt(7)),n.toString()},t.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),t.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],t}(lt),Ct=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Et=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},At=function(e){function t(t){var n=e.call(this)||this,r=null==t?null:t.get(F.POSSIBLE_FORMATS),o=[];return null!=r&&(r.indexOf(de.EAN_13)>-1&&o.push(new dt),r.indexOf(de.UPC_A)>-1&&o.push(new vt),r.indexOf(de.EAN_8)>-1&&o.push(new gt),r.indexOf(de.UPC_E)>-1&&o.push(new _t)),0===o.length&&(o.push(new dt),o.push(new vt),o.push(new gt),o.push(new _t)),n.readers=o,n}return Ct(t,e),t.prototype.decodeRow=function(e,t,n){var r,o;try{for(var i=Et(this.readers),a=i.next();!a.done;a=i.next()){var u=a.value;try{var s=u.decodeRow(e,t,n),l=s.getBarcodeFormat()===de.EAN_13&&"0"===s.getText().charAt(0),c=null==n?null:n.get(F.POSSIBLE_FORMATS),f=null==c||c.includes(de.UPC_A);if(l&&f){var d=s.getRawBytes(),h=new ce(s.getText().substring(1),d,d?d.length:null,s.getResultPoints(),de.UPC_A);return h.putAllMetadata(s.getResultMetadata()),h}return s}catch(e){}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}throw new Q},t.prototype.reset=function(){var e,t;try{for(var n=Et(this.readers),r=n.next();!r.done;r=n.next())r.value.reset()}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t}(We),bt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),St=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.CODA_BAR_CHAR_SET={nnnnnww:"0",nnnnwwn:"1",nnnwnnw:"2",wwnnnnn:"3",nnwnnwn:"4",wnnnnwn:"5",nwnnnnw:"6",nwnnwnn:"7",nwwnnnn:"8",wnnwnnn:"9",nnnwwnn:"-",nnwwnnn:"$",wnnnwnw:":",wnwnnnw:"/",wnwnwnn:".",nnwwwww:"+",nnwwnwn:"A",nwnwnnw:"B",nnnwnww:"C",nnnwwwn:"D"},t}return bt(t,e),t.prototype.decodeRow=function(e,t,n){var r=this.getValidRowData(t);if(!r)throw new Q;var o=this.codaBarDecodeRow(r.row);if(!o)throw new Q;return new ce(o,null,0,[new Re(r.left,e),new Re(r.right,e)],de.CODABAR,(new Date).getTime())},t.prototype.getValidRowData=function(e){var t=e.toArray(),n=t.indexOf(!0);if(-1===n)return null;var r=t.lastIndexOf(!0);if(r<=n)return null;for(var o=[],i=(t=t.slice(n,r+1))[0],a=1,u=1;u=0;--s)0!=(l&1<10||r<0||r>10)throw new V;return o.firstDigit=n,o.secondDigit=r,o}return Ft(t,e),t.prototype.getFirstDigit=function(){return this.firstDigit},t.prototype.getSecondDigit=function(){return this.secondDigit},t.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},t.prototype.isFirstDigitFNC1=function(){return this.firstDigit===t.FNC1},t.prototype.isSecondDigitFNC1=function(){return this.secondDigit===t.FNC1},t.prototype.isAnyFNC1=function(){return this.firstDigit===t.FNC1||this.secondDigit===t.FNC1},t.FNC1=10,t}(Mt),Vt=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Ht=function(){function e(){}return e.parseFieldsInGeneralPurpose=function(t){var n,r,o,i,a,u,s,l;if(!t)return null;if(t.length<2)throw new Q;var c=t.substring(0,2);try{for(var f=Vt(e.TWO_DIGIT_DATA_LENGTH),d=f.next();!d.done;d=f.next())if((C=d.value)[0]===c)return C[1]===e.VARIABLE_LENGTH?e.processVariableAI(2,C[2],t):e.processFixedAI(2,C[1],t)}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}if(t.length<3)throw new Q;var h=t.substring(0,3);try{for(var p=Vt(e.THREE_DIGIT_DATA_LENGTH),g=p.next();!g.done;g=p.next())if((C=g.value)[0]===h)return C[1]===e.VARIABLE_LENGTH?e.processVariableAI(3,C[2],t):e.processFixedAI(3,C[1],t)}catch(e){o={error:e}}finally{try{g&&!g.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}try{for(var y=Vt(e.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),v=y.next();!v.done;v=y.next())if((C=v.value)[0]===h)return C[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,C[2],t):e.processFixedAI(4,C[1],t)}catch(e){a={error:e}}finally{try{v&&!v.done&&(u=y.return)&&u.call(y)}finally{if(a)throw a.error}}if(t.length<4)throw new Q;var m=t.substring(0,4);try{for(var w=Vt(e.FOUR_DIGIT_DATA_LENGTH),_=w.next();!_.done;_=w.next()){var C;if((C=_.value)[0]===m)return C[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,C[2],t):e.processFixedAI(4,C[1],t)}}catch(e){s={error:e}}finally{try{_&&!_.done&&(l=w.return)&&l.call(w)}finally{if(s)throw s.error}}throw new Q},e.processFixedAI=function(t,n,r){if(r.length>s,n+=e}return this.bitOffset=n,this.byteOffset=r,t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}();!function(e){e[e.PAD_ENCODE=0]="PAD_ENCODE",e[e.ASCII_ENCODE=1]="ASCII_ENCODE",e[e.C40_ENCODE=2]="C40_ENCODE",e[e.TEXT_ENCODE=3]="TEXT_ENCODE",e[e.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",e[e.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",e[e.BASE256_ENCODE=6]="BASE256_ENCODE"}(bn||(bn={}));var Mn,kn=function(){function e(){}return e.decode=function(e){var t=new Pn(e),n=new Y,r=new Y,o=new Array,i=bn.ASCII_ENCODE;do{if(i===bn.ASCII_ENCODE)i=this.decodeAsciiSegment(t,n,r);else{switch(i){case bn.C40_ENCODE:this.decodeC40Segment(t,n);break;case bn.TEXT_ENCODE:this.decodeTextSegment(t,n);break;case bn.ANSIX12_ENCODE:this.decodeAnsiX12Segment(t,n);break;case bn.EDIFACT_ENCODE:this.decodeEdifactSegment(t,n);break;case bn.BASE256_ENCODE:this.decodeBase256Segment(t,n,o);break;default:throw new V}i=bn.ASCII_ENCODE}}while(i!==bn.PAD_ENCODE&&t.available()>0);return r.length()>0&&n.append(r.toString()),new ge(e,n.toString(),0===o.length?null:o,null)},e.decodeAsciiSegment=function(e,t,n){var r=!1;do{var o=e.readBits(8);if(0===o)throw new V;if(o<=128)return r&&(o+=128),t.append(String.fromCharCode(o-1)),bn.ASCII_ENCODE;if(129===o)return bn.PAD_ENCODE;if(o<=229){var i=o-130;i<10&&t.append("0"),t.append(""+i)}else switch(o){case 230:return bn.C40_ENCODE;case 231:return bn.BASE256_ENCODE;case 232:t.append(String.fromCharCode(29));break;case 233:case 234:case 241:break;case 235:r=!0;break;case 236:t.append("[)>\x1e05\x1d"),n.insert(0,"\x1e\x04");break;case 237:t.append("[)>\x1e06\x1d"),n.insert(0,"\x1e\x04");break;case 238:return bn.ANSIX12_ENCODE;case 239:return bn.TEXT_ENCODE;case 240:return bn.EDIFACT_ENCODE;default:if(254!==o||0!==e.available())throw new V}}while(e.available()>0);return bn.ASCII_ENCODE},e.decodeC40Segment=function(e,t){var n=!1,r=[],o=0;do{if(8===e.available())return;var i=e.readBits(8);if(254===i)return;this.parseTwoBytes(i,e.readBits(8),r);for(var a=0;a<3;a++){var u=r[a];switch(o){case 0:if(u<3)o=u+1;else{if(!(u=e.FOR_BITS.size)throw new b;return e.FOR_BITS.get(t)},e.FOR_BITS=new Map,e.FOR_VALUE=new Map,e.L=new e(Mn.L,"L",1),e.M=new e(Mn.M,"M",0),e.Q=new e(Mn.Q,"Q",3),e.H=new e(Mn.H,"H",2),e}(),Hn=function(){function e(e){this.errorCorrectionLevel=Vn.forBits(e>>3&3),this.dataMask=7&e}return e.numBitsDiffering=function(e,t){return x.bitCount(e^t)},e.decodeFormatInformation=function(t,n){var r=e.doDecodeFormatInformation(t,n);return null!==r?r:e.doDecodeFormatInformation(t^e.FORMAT_INFO_MASK_QR,n^e.FORMAT_INFO_MASK_QR)},e.doDecodeFormatInformation=function(t,n){var r,o,i=Number.MAX_SAFE_INTEGER,a=0;try{for(var u=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e.FORMAT_INFO_DECODE_LOOKUP),s=u.next();!s.done;s=u.next()){var l=s.value,c=l[0];if(c===t||c===n)return new e(l[1]);var f=e.numBitsDiffering(t,c);f=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(r),i=o.next();!i.done;i=o.next())n+=i.value.getCount()}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return n},e.prototype.getTotalECCodewords=function(){return this.ecCodewordsPerBlock*this.getNumBlocks()},e.prototype.getECBlocks=function(){return this.ecBlocks},e}(),jn=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}(),Wn=function(){function e(e,t){for(var n,r,o=[],i=2;i=s||n+a>=l)return!1;for(;t+a=s||n+a>=l||i[3]>=r)return!1;for(;t+a=r)return!1;var c=i[0]+i[1]+i[2]+i[3]+i[4];return Math.abs(c-o)<2*o&&e.foundPatternCross(i)},e.prototype.crossCheckVertical=function(t,n,r,o){for(var i=this.image,a=i.getHeight(),u=this.getCrossCheckStateCount(),s=t;s>=0&&i.get(n,s);)u[2]++,s--;if(s<0)return NaN;for(;s>=0&&!i.get(n,s)&&u[1]<=r;)u[1]++,s--;if(s<0||u[1]>r)return NaN;for(;s>=0&&i.get(n,s)&&u[0]<=r;)u[0]++,s--;if(u[0]>r)return NaN;for(s=t+1;s=r)return NaN;for(;s=r)return NaN;var l=u[0]+u[1]+u[2]+u[3]+u[4];return 5*Math.abs(l-o)>=2*o?NaN:e.foundPatternCross(u)?e.centerFromEnd(u,s):NaN},e.prototype.crossCheckHorizontal=function(t,n,r,o){for(var i=this.image,a=i.getWidth(),u=this.getCrossCheckStateCount(),s=t;s>=0&&i.get(s,n);)u[2]++,s--;if(s<0)return NaN;for(;s>=0&&!i.get(s,n)&&u[1]<=r;)u[1]++,s--;if(s<0||u[1]>r)return NaN;for(;s>=0&&i.get(s,n)&&u[0]<=r;)u[0]++,s--;if(u[0]>r)return NaN;for(s=t+1;s=r)return NaN;for(;s=r)return NaN;var l=u[0]+u[1]+u[2]+u[3]+u[4];return 5*Math.abs(l-o)>=o?NaN:e.foundPatternCross(u)?e.centerFromEnd(u,s):NaN},e.prototype.handlePossibleCenter=function(t,n,r,o){var i=t[0]+t[1]+t[2]+t[3]+t[4],a=e.centerFromEnd(t,r),u=this.crossCheckVertical(n,Math.floor(a),t[2],i);if(!isNaN(u)&&(a=this.crossCheckHorizontal(Math.floor(a),Math.floor(u),t[2],i),!isNaN(a)&&(!o||this.crossCheckDiagonal(Math.floor(u),Math.floor(a),t[2],i)))){for(var s=i/7,l=!1,c=this.possibleCenters,f=0,d=c.length;fr.length){var o=n;n=r,r=o}var i=new Int32Array(r.length),a=r.length-n.length;N.arraycopy(r,0,i,0,a);for(var u=a;u=0;i--)c.unshift(255&d[i])}(null===f.previous?0:f.previous.encoderIndex)!==f.encoderIndex&&c.unshift(256+t.getECIValue(f.encoderIndex)),f=f.previous}var h=[];for(i=0;i