LavaPack.loadBundle([[3696,{"../../IllegalArgumentException":3639,"../../util/System":3822,"./GenericGFPoly":3694},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("./GenericGFPoly"),i=t("../../util/System"),o=t("../../IllegalArgumentException"),a=function(){function t(t){this.field=t,this.cachedGenerators=[],this.cachedGenerators.push(new n.default(t,Int32Array.from([1])))}return t.prototype.buildGenerator=function(t){var e=this.cachedGenerators;if(t>=e.length)for(var r=e[e.length-1],i=this.field,o=e.length;o<=t;o++){var a=r.multiply(new n.default(i,Int32Array.from([1,i.exp(o-1+i.getGeneratorBase())])));e.push(a),r=a}return e[t]},t.prototype.encode=function(t,e){if(0===e)throw new o.default("No error correction bytes");var r=t.length-e;if(r<=0)throw new o.default("No data bytes provided");var a=this.buildGenerator(e),s=new Int32Array(r);i.default.arraycopy(t,0,s,0,r);for(var l=new n.default(this.field,s),u=(l=l.multiplyByMonomial(e,1)).divide(a)[1].getCoefficients(),c=e-u.length,d=0;d144||1&r)throw new o.default;this.version=t.readVersion(e),this.mappingBitMatrix=this.extractDataRegion(e),this.readMappingMatrix=new n.default(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return t.prototype.getVersion=function(){return this.version},t.readVersion=function(t){var e=t.getHeight(),r=t.getWidth();return i.default.getVersionForDimensions(e,r)},t.prototype.readCodewords=function(){var t=new Int8Array(this.version.getTotalCodewords()),e=0,r=4,n=0,i=this.mappingBitMatrix.getHeight(),a=this.mappingBitMatrix.getWidth(),s=!1,l=!1,u=!1,c=!1;do{if(r!==i||0!==n||s)if(r===i-2&&0===n&&3&a&&!l)t[e++]=255&this.readCorner2(i,a),r-=2,n+=2,l=!0;else if(r!==i+4||2!==n||7&a||u)if(r!==i-2||0!==n||4!=(7&a)||c){do{r=0&&!this.readMappingMatrix.get(n,r)&&(t[e++]=255&this.readUtah(r,n,i,a)),r-=2,n+=2}while(r>=0&&n=0&&n=0);r+=3,n+=1}else t[e++]=255&this.readCorner4(i,a),r-=2,n+=2,c=!0;else t[e++]=255&this.readCorner3(i,a),r-=2,n+=2,u=!0;else t[e++]=255&this.readCorner1(i,a),r-=2,n+=2,s=!0}while(r=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../IllegalArgumentException"),o=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,r){var o,a,s,l,u=r.getECBlocks(),c=0,d=u.getECBlocks();try{for(var h=n(d),f=h.next();!f.done;f=h.next()){c+=(b=f.value).getCount()}}catch(t){o={error:t}}finally{try{f&&!f.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}var p=new Array(c),g=0;try{for(var m=n(d),y=m.next();!y.done;y=m.next())for(var b=y.value,v=0;v7?v-1:v;p[D].codewords[O]=e[C++]}if(C!==e.length)throw new i.default;return p},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}();r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/decoder/DataBlock.js"}],[3701,{"../../FormatException":3638,"../../IllegalStateException":3640,"../../common/BitSource":3677,"../../common/DecoderResult":3679,"../../common/StringUtils":3689,"../../util/StringBuilder":3820,"../../util/StringEncoding":3821},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i=t("../../common/DecoderResult"),o=t("../../common/BitSource"),a=t("../../util/StringBuilder"),s=t("../../util/StringEncoding"),l=t("../../common/StringUtils"),u=t("../../FormatException"),c=t("../../IllegalStateException");!function(t){t[t.PAD_ENCODE=0]="PAD_ENCODE",t[t.ASCII_ENCODE=1]="ASCII_ENCODE",t[t.C40_ENCODE=2]="C40_ENCODE",t[t.TEXT_ENCODE=3]="TEXT_ENCODE",t[t.ANSIX12_ENCODE=4]="ANSIX12_ENCODE",t[t.EDIFACT_ENCODE=5]="EDIFACT_ENCODE",t[t.BASE256_ENCODE=6]="BASE256_ENCODE"}(n||(n={}));var d=function(){function t(){}return t.decode=function(t){var e=new o.default(t),r=new a.default,s=new a.default,l=new Array,c=n.ASCII_ENCODE;do{if(c===n.ASCII_ENCODE)c=this.decodeAsciiSegment(e,r,s);else{switch(c){case n.C40_ENCODE:this.decodeC40Segment(e,r);break;case n.TEXT_ENCODE:this.decodeTextSegment(e,r);break;case n.ANSIX12_ENCODE:this.decodeAnsiX12Segment(e,r);break;case n.EDIFACT_ENCODE:this.decodeEdifactSegment(e,r);break;case n.BASE256_ENCODE:this.decodeBase256Segment(e,r,l);break;default:throw new u.default}c=n.ASCII_ENCODE}}while(c!==n.PAD_ENCODE&&e.available()>0);return s.length()>0&&r.append(s.toString()),new i.default(t,r.toString(),0===l.length?null:l,null)},t.decodeAsciiSegment=function(t,e,r){var i=!1;do{var o=t.readBits(8);if(0===o)throw new u.default;if(o<=128)return i&&(o+=128),e.append(String.fromCharCode(o-1)),n.ASCII_ENCODE;if(129===o)return n.PAD_ENCODE;if(o<=229){var a=o-130;a<10&&e.append("0"),e.append(""+a)}else switch(o){case 230:return n.C40_ENCODE;case 231:return n.BASE256_ENCODE;case 232:e.append(String.fromCharCode(29));break;case 233:case 234:case 241:break;case 235:i=!0;break;case 236:e.append("[)>05"),r.insert(0,"");break;case 237:e.append("[)>06"),r.insert(0,"");break;case 238:return n.ANSIX12_ENCODE;case 239:return n.TEXT_ENCODE;case 240:return n.EDIFACT_ENCODE;default:if(254!==o||0!==t.available())throw new u.default}}while(t.available()>0);return n.ASCII_ENCODE},t.decodeC40Segment=function(t,e){var r=!1,n=[],i=0;do{if(8===t.available())return;var o=t.readBits(8);if(254===o)return;this.parseTwoBytes(o,t.readBits(8),n);for(var a=0;a<3;a++){var s=n[a];switch(i){case 0:if(s<3)i=s+1;else{if(!(s0)},t.decodeTextSegment=function(t,e){var r=!1,n=[],i=0;do{if(8===t.available())return;var o=t.readBits(8);if(254===o)return;this.parseTwoBytes(o,t.readBits(8),n);for(var a=0;a<3;a++){var s=n[a];switch(i){case 0:if(s<3)i=s+1;else{if(!(s0)},t.decodeAnsiX12Segment=function(t,e){var r=[];do{if(8===t.available())return;var n=t.readBits(8);if(254===n)return;this.parseTwoBytes(n,t.readBits(8),r);for(var i=0;i<3;i++){var o=r[i];switch(o){case 0:e.append("\r");break;case 1:e.append("*");break;case 2:e.append(">");break;case 3:e.append(" ");break;default:if(o<14)e.append(String.fromCharCode(o+44));else{if(!(o<40))throw new u.default;e.append(String.fromCharCode(o+51))}}}}while(t.available()>0)},t.parseTwoBytes=function(t,e,r){var n=(t<<8)+e-1,i=Math.floor(n/1600);r[0]=i,n-=1600*i,i=Math.floor(n/40),r[1]=i,r[2]=n-40*i},t.decodeEdifactSegment=function(t,e){do{if(t.available()<=16)return;for(var r=0;r<4;r++){var n=t.readBits(6);if(31===n){var i=8-t.getBitOffset();return void(8!==i&&t.readBits(i))}32&n||(n|=64),e.append(String.fromCharCode(n))}}while(t.available()>0)},t.decodeBase256Segment=function(t,e,r){var n,i=1+t.getByteOffset(),o=this.unrandomize255State(t.readBits(8),i++);if((n=0===o?t.available()/8|0:o<250?o:250*(o-249)+this.unrandomize255State(t.readBits(8),i++))<0)throw new u.default;for(var a=new Uint8Array(n),d=0;d=0?r:r+256},t.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],t.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],t.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],t.TEXT_SHIFT2_SET_CHARS=t.C40_SHIFT2_SET_CHARS,t.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)],t}();r.default=d}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/decoder/DecodedBitStreamParser.js"}],[3702,{"../../ChecksumException":3634,"../../common/reedsolomon/GenericGF":3693,"../../common/reedsolomon/ReedSolomonDecoder":3695,"./BitMatrixParser":3699,"./DataBlock":3700,"./DecodedBitStreamParser":3701},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../ChecksumException"),o=t("../../common/reedsolomon/GenericGF"),a=t("../../common/reedsolomon/ReedSolomonDecoder"),s=t("./BitMatrixParser"),l=t("./DataBlock"),u=t("./DecodedBitStreamParser"),c=function(){function t(){this.rsDecoder=new a.default(o.default.DATA_MATRIX_FIELD_256)}return t.prototype.decode=function(t){var e,r,i=new s.default(t),o=i.getVersion(),a=i.readCodewords(),c=l.default.getDataBlocks(a,o),d=0;try{for(var h=n(c),f=h.next();!f.done;f=h.next()){d+=f.value.getNumDataCodewords()}}catch(t){e={error:t}}finally{try{f&&!f.done&&(r=h.return)&&r.call(h)}finally{if(e)throw e.error}}for(var p=new Uint8Array(d),g=c.length,m=0;m=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0}),r.ECB=r.ECBlocks=void 0;var i=t("../../FormatException"),o=function(){function t(t,e,r){this.ecCodewords=t,this.ecBlocks=[e],r&&this.ecBlocks.push(r)}return t.prototype.getECCodewords=function(){return this.ecCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t}();r.ECBlocks=o;var a=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}();r.ECB=a;var s=function(){function t(t,e,r,i,o,a){var s,l;this.versionNumber=t,this.symbolSizeRows=e,this.symbolSizeColumns=r,this.dataRegionSizeRows=i,this.dataRegionSizeColumns=o,this.ecBlocks=a;var u=0,c=a.getECCodewords(),d=a.getECBlocks();try{for(var h=n(d),f=h.next();!f.done;f=h.next()){var p=f.value;u+=p.getCount()*(p.getDataCodewords()+c)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(l=h.return)&&l.call(h)}finally{if(s)throw s.error}}this.totalCodewords=u}return t.prototype.getVersionNumber=function(){return this.versionNumber},t.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},t.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},t.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},t.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},t.prototype.getTotalCodewords=function(){return this.totalCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t.getVersionForDimensions=function(e,r){var o,a;if(1&e||1&r)throw new i.default;try{for(var s=n(t.VERSIONS),l=s.next();!l.done;l=s.next()){var u=l.value;if(u.symbolSizeRows===e&&u.symbolSizeColumns===r)return u}}catch(t){o={error:t}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(o)throw o.error}}throw new i.default},t.prototype.toString=function(){return""+this.versionNumber},t.buildVersions=function(){return[new t(1,10,10,8,8,new o(5,new a(1,3))),new t(2,12,12,10,10,new o(7,new a(1,5))),new t(3,14,14,12,12,new o(10,new a(1,8))),new t(4,16,16,14,14,new o(12,new a(1,12))),new t(5,18,18,16,16,new o(14,new a(1,18))),new t(6,20,20,18,18,new o(18,new a(1,22))),new t(7,22,22,20,20,new o(20,new a(1,30))),new t(8,24,24,22,22,new o(24,new a(1,36))),new t(9,26,26,24,24,new o(28,new a(1,44))),new t(10,32,32,14,14,new o(36,new a(1,62))),new t(11,36,36,16,16,new o(42,new a(1,86))),new t(12,40,40,18,18,new o(48,new a(1,114))),new t(13,44,44,20,20,new o(56,new a(1,144))),new t(14,48,48,22,22,new o(68,new a(1,174))),new t(15,52,52,24,24,new o(42,new a(2,102))),new t(16,64,64,14,14,new o(56,new a(2,140))),new t(17,72,72,16,16,new o(36,new a(4,92))),new t(18,80,80,18,18,new o(48,new a(4,114))),new t(19,88,88,20,20,new o(56,new a(4,144))),new t(20,96,96,22,22,new o(68,new a(4,174))),new t(21,104,104,24,24,new o(56,new a(6,136))),new t(22,120,120,18,18,new o(68,new a(6,175))),new t(23,132,132,20,20,new o(62,new a(8,163))),new t(24,144,144,22,22,new o(62,new a(8,156),new a(2,155))),new t(25,8,18,6,16,new o(7,new a(1,5))),new t(26,8,32,6,14,new o(11,new a(1,10))),new t(27,12,26,10,24,new o(14,new a(1,16))),new t(28,12,36,10,16,new o(18,new a(1,22))),new t(29,16,36,14,16,new o(24,new a(1,32))),new t(30,16,48,14,22,new o(28,new a(1,49)))]},t.VERSIONS=t.buildVersions(),t}();r.default=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/decoder/Version.js"}],[3704,{"../../NotFoundException":3646,"../../ResultPoint":3655,"../../common/DetectorResult":3681,"../../common/GridSamplerInstance":3685,"../../common/detector/WhiteRectangleDetector":3691},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../common/detector/WhiteRectangleDetector"),i=t("../../common/DetectorResult"),o=t("../../common/GridSamplerInstance"),a=t("../../NotFoundException"),s=t("../../ResultPoint"),l=function(){function t(t){this.image=t,this.rectangleDetector=new n.default(this.image)}return t.prototype.detect=function(){var e=this.rectangleDetector.detect(),r=this.detectSolid1(e);if((r=this.detectSolid2(r))[3]=this.correctTopRight(r),!r[3])throw new a.default;var n=(r=this.shiftToModuleCenter(r))[0],o=r[1],s=r[2],l=r[3],u=this.transitionsBetween(n,l)+1,c=this.transitionsBetween(s,l)+1;1&~u||(u+=1),1&~c||(c+=1),4*u<7*c&&4*c<7*u&&(u=c=Math.max(u,c));var d=t.sampleGrid(this.image,n,o,s,l,u,c);return new i.default(d,[n,o,s,l])},t.shiftPoint=function(t,e,r){var n=(e.getX()-t.getX())/(r+1),i=(e.getY()-t.getY())/(r+1);return new s.default(t.getX()+n,t.getY()+i)},t.moveAway=function(t,e,r){var n=t.getX(),i=t.getY();return na&&(u=a,c[0]=e,c[1]=r,c[2]=n,c[3]=i),u>s&&(u=s,c[0]=r,c[1]=n,c[2]=i,c[3]=e),u>l&&(c[0]=n,c[1]=i,c[2]=e,c[3]=r),c},t.prototype.detectSolid2=function(e){var r=e[0],n=e[1],i=e[2],o=e[3],a=this.transitionsBetween(r,o),s=t.shiftPoint(n,i,4*(a+1)),l=t.shiftPoint(i,n,4*(a+1));return this.transitionsBetween(s,r)this.transitionsBetween(u,h)+this.transitionsBetween(c,h)?d:h:d:this.isValid(h)?h:null},t.prototype.shiftToModuleCenter=function(e){var r=e[0],n=e[1],i=e[2],o=e[3],a=this.transitionsBetween(r,o)+1,s=this.transitionsBetween(i,o)+1,l=t.shiftPoint(r,n,4*s),u=t.shiftPoint(i,n,4*a);1&~(a=this.transitionsBetween(l,o)+1)||(a+=1),1&~(s=this.transitionsBetween(u,o)+1)||(s+=1);var c,d,h=(r.getX()+n.getX()+i.getX()+o.getX())/4,f=(r.getY()+n.getY()+i.getY()+o.getY())/4;return r=t.moveAway(r,h,f),n=t.moveAway(n,h,f),i=t.moveAway(i,h,f),o=t.moveAway(o,h,f),l=t.shiftPoint(r,n,4*s),l=t.shiftPoint(l,o,4*a),c=t.shiftPoint(n,r,4*s),c=t.shiftPoint(c,i,4*a),u=t.shiftPoint(i,o,4*s),u=t.shiftPoint(u,n,4*a),d=t.shiftPoint(o,i,4*s),[l,c,u,d=t.shiftPoint(d,r,4*a)]},t.prototype.isValid=function(t){return t.getX()>=0&&t.getX()0&&t.getY()Math.abs(i-r);if(a){var s=r;r=n,n=s,s=i,i=o,o=s}for(var l=Math.abs(i-r),u=Math.abs(o-n),c=-l/2,d=n0){if(m===o)break;m+=d,c-=l}}return f},t}();r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/detector/Detector.js"}],[3705,{"./HighLevelEncoder":3712,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.ASCIIEncoder=void 0;var n=t("./constants"),i=t("./HighLevelEncoder"),o=function(){function t(){}return t.prototype.getEncodingMode=function(){return n.ASCII_ENCODATION},t.prototype.encode=function(t){if(i.default.determineConsecutiveDigitCount(t.getMessage(),t.pos)>=2)t.writeCodeword(this.encodeASCIIDigits(t.getMessage().charCodeAt(t.pos),t.getMessage().charCodeAt(t.pos+1))),t.pos+=2;else{var e=t.getCurrentChar(),r=i.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode());if(r!==this.getEncodingMode())switch(r){case n.BASE256_ENCODATION:return t.writeCodeword(n.LATCH_TO_BASE256),void t.signalEncoderChange(n.BASE256_ENCODATION);case n.C40_ENCODATION:return t.writeCodeword(n.LATCH_TO_C40),void t.signalEncoderChange(n.C40_ENCODATION);case n.X12_ENCODATION:t.writeCodeword(n.LATCH_TO_ANSIX12),t.signalEncoderChange(n.X12_ENCODATION);break;case n.TEXT_ENCODATION:t.writeCodeword(n.LATCH_TO_TEXT),t.signalEncoderChange(n.TEXT_ENCODATION);break;case n.EDIFACT_ENCODATION:t.writeCodeword(n.LATCH_TO_EDIFACT),t.signalEncoderChange(n.EDIFACT_ENCODATION);break;default:throw new Error("Illegal mode: "+r)}else i.default.isExtendedASCII(e)?(t.writeCodeword(n.UPPER_SHIFT),t.writeCodeword(e-128+1),t.pos++):(t.writeCodeword(e+1),t.pos++)}},t.prototype.encodeASCIIDigits=function(t,e){if(i.default.isDigit(t)&&i.default.isDigit(e))return 10*(t-48)+(e-48)+130;throw new Error("not digits: "+t+e)},t}();r.ASCIIEncoder=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/ASCIIEncoder.js"}],[3706,{"../../common/StringUtils":3689,"../../util/StringBuilder":3820,"./HighLevelEncoder":3712,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.Base256Encoder=void 0;var n=t("../../common/StringUtils"),i=t("../../util/StringBuilder"),o=t("./HighLevelEncoder"),a=t("./constants"),s=function(){function t(){}return t.prototype.getEncodingMode=function(){return a.BASE256_ENCODATION},t.prototype.encode=function(t){var e=new i.default;for(e.append(0);t.hasMoreCharacters();){var r=t.getCurrentChar();if(e.append(r),t.pos++,o.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(a.ASCII_ENCODATION);break}}var s=e.length()-1,l=t.getCodewordCount()+s+1;t.updateSymbolInfo(l);var u=t.getSymbolInfo().getDataCapacity()-l>0;if(t.hasMoreCharacters()||u)if(s<=249)e.setCharAt(0,n.default.getCharAt(s));else{if(!(s<=1555))throw new Error("Message length not in valid ranges: "+s);e.setCharAt(0,n.default.getCharAt(Math.floor(s/250)+249)),e.insert(1,n.default.getCharAt(s%250))}var c=0;for(r=e.length();c3||1!==c))&&(t.pos=i)}e.length()>0&&t.writeCodeword(o.LATCH_TO_C40),this.handleEOD(t,e)},t.prototype.encode=function(t){for(var e=new n.default;t.hasMoreCharacters();){var r=t.getCurrentChar();t.pos++;var a=this.encodeChar(r,e),s=2*Math.floor(e.length()/3),l=t.getCodewordCount()+s;t.updateSymbolInfo(l);var u=t.getSymbolInfo().getDataCapacity()-l;if(!t.hasMoreCharacters()){var c=new n.default;for(e.length()%3==2&&2!==u&&(a=this.backtrackOneCharacter(t,e,c,a));e.length()%3==1&&(a>3||1!==u);)a=this.backtrackOneCharacter(t,e,c,a);break}if(e.length()%3==0)if(i.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(o.ASCII_ENCODATION);break}}this.handleEOD(t,e)},t.prototype.backtrackOneCharacter=function(t,e,r,n){var i=e.length(),o=e.toString().substring(0,i-n);e.setLengthToZero(),e.append(o),t.pos--;var a=t.getCurrentChar();return n=this.encodeChar(a,r),t.resetSymbolInfo(),n},t.prototype.writeNextTriplet=function(t,e){t.writeCodewords(this.encodeToCodewords(e.toString()));var r=e.toString().substring(3);e.setLengthToZero(),e.append(r)},t.prototype.handleEOD=function(t,e){var r=Math.floor(e.length()/3*2),n=e.length()%3,i=t.getCodewordCount()+r;t.updateSymbolInfo(i);var a=t.getSymbolInfo().getDataCapacity()-i;if(2===n){for(e.append("\0");e.length()>=3;)this.writeNextTriplet(t,e);t.hasMoreCharacters()&&t.writeCodeword(o.C40_UNLATCH)}else if(1===a&&1===n){for(;e.length()>=3;)this.writeNextTriplet(t,e);t.hasMoreCharacters()&&t.writeCodeword(o.C40_UNLATCH),t.pos--}else{if(0!==n)throw new Error("Unexpected case. Please report!");for(;e.length()>=3;)this.writeNextTriplet(t,e);(a>0||t.hasMoreCharacters())&&t.writeCodeword(o.C40_UNLATCH)}t.signalEncoderChange(o.ASCII_ENCODATION)},t.prototype.encodeChar=function(t,e){if(t===" ".charCodeAt(0))return e.append(3),1;if(t>="0".charCodeAt(0)&&t<="9".charCodeAt(0))return e.append(t-48+4),1;if(t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0))return e.append(t-65+14),1;if(t<" ".charCodeAt(0))return e.append(0),e.append(t),2;if(t<="/".charCodeAt(0))return e.append(1),e.append(t-33),2;if(t<="@".charCodeAt(0))return e.append(1),e.append(t-58+15),2;if(t<="_".charCodeAt(0))return e.append(1),e.append(t-91+22),2;if(t<=127)return e.append(2),e.append(t-96),2;e.append("1");var r=2;return r+=this.encodeChar(t-128,e)},t.prototype.encodeToCodewords=function(t){var e=1600*t.charCodeAt(0)+40*t.charCodeAt(1)+t.charCodeAt(2)+1,r=e/256,i=e%256,o=new n.default;return o.append(r),o.append(i),o.toString()},t}();r.C40Encoder=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/C40Encoder.js"}],[3708,{"../../util/Arrays":3810},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../util/Arrays"),i=function(){function t(t,e,r){this.codewords=t,this.numcols=e,this.numrows=r,this.bits=new Uint8Array(e*r),n.default.fill(this.bits,2)}return t.prototype.getNumrows=function(){return this.numrows},t.prototype.getNumcols=function(){return this.numcols},t.prototype.getBits=function(){return this.bits},t.prototype.getBit=function(t,e){return 1===this.bits[e*this.numcols+t]},t.prototype.setBit=function(t,e,r){this.bits[e*this.numcols+t]=r?1:0},t.prototype.noBit=function(t,e){return 2===this.bits[e*this.numcols+t]},t.prototype.place=function(){var t=0,e=4,r=0;do{e===this.numrows&&0===r&&this.corner1(t++),e===this.numrows-2&&0===r&&this.numcols%4!=0&&this.corner2(t++),e===this.numrows-2&&0===r&&this.numcols%8==4&&this.corner3(t++),e===this.numrows+4&&2===r&&this.numcols%8==0&&this.corner4(t++);do{e=0&&this.noBit(r,e)&&this.utah(e,r,t++),e-=2,r+=2}while(e>=0&&r=0&&r=0);e+=3,r++}while(e=4){t.writeCodewords(this.encodeToCodewords(e.toString()));var s=e.toString().substring(4);if(e.setLengthToZero(),e.append(s),a.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(o.ASCII_ENCODATION);break}}}e.append(n.default.getCharAt(31)),this.handleEOD(t,e)},t.prototype.handleEOD=function(t,e){try{var r=e.length();if(0===r)return;if(1===r){t.updateSymbolInfo();var n=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount(),i=t.getRemainingCharacters();if(i>n&&(t.updateSymbolInfo(t.getCodewordCount()+1),n=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount()),i<=n&&n<=2)return}if(r>4)throw new Error("Count must not exceed 4");var a=r-1,s=this.encodeToCodewords(e.toString()),l=!t.hasMoreCharacters()&&a<=2;if(a<=2)t.updateSymbolInfo(t.getCodewordCount()+a),(n=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount())>=3&&(l=!1,t.updateSymbolInfo(t.getCodewordCount()+s.length));l?(t.resetSymbolInfo(),t.pos-=a):t.writeCodewords(s)}finally{t.signalEncoderChange(o.ASCII_ENCODATION)}},t.prototype.encodeChar=function(t,e){t>=" ".charCodeAt(0)&&t<="?".charCodeAt(0)?e.append(t):t>="@".charCodeAt(0)&&t<="^".charCodeAt(0)?e.append(n.default.getCharAt(t-64)):a.default.illegalCharacter(n.default.getCharAt(t))},t.prototype.encodeToCodewords=function(t){var e=t.length;if(0===e)throw new Error("StringBuilder must not be empty");var r=(t.charAt(0).charCodeAt(0)<<18)+((e>=2?t.charAt(1).charCodeAt(0):0)<<12)+((e>=3?t.charAt(2).charCodeAt(0):0)<<6)+(e>=4?t.charAt(3).charCodeAt(0):0),n=r>>16&255,o=r>>8&255,a=255&r,s=new i.default;return s.append(n),e>=2&&s.append(o),e>=3&&s.append(a),s.toString()},t}();r.EdifactEncoder=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/EdifactEncoder.js"}],[3710,{"../../util/StringBuilder":3820,"./SymbolInfo":3714},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.EncoderContext=void 0;var n=t("../../util/StringBuilder"),i=t("./SymbolInfo"),o=function(){function t(t){this.msg=t,this.pos=0,this.skipAtEnd=0;for(var e=t.split("").map((function(t){return t.charCodeAt(0)})),r=new n.default,i=0,o=e.length;ithis.symbolInfo.getDataCapacity())&&(this.symbolInfo=i.default.lookup(t,this.shape,this.minSize,this.maxSize,!0))},t.prototype.resetSymbolInfo=function(){this.symbolInfo=null},t}();r.EncoderContext=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/EncoderContext.js"}],[3711,{"../../util/StringBuilder":3820,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../util/StringBuilder"),i=t("./constants"),o=function(){function t(){}return t.encodeECC200=function(t,e){if(t.length!==e.getDataCapacity())throw new Error("The number of codewords does not match the selected symbol");var r=new n.default;r.append(t);var i=e.getInterleavedBlockCount();if(1===i){var o=this.createECCBlock(t,e.getErrorCodewords());r.append(o)}else{for(var a=[],s=[],l=0;l0;l--)0!==s&&0!==o[l]?a[l]=a[l-1]^i.ALOG[(i.LOG[s]+i.LOG[o[l]])%255]:a[l]=a[l-1];0!==s&&0!==o[0]?a[0]=i.ALOG[(i.LOG[s]+i.LOG[o[0]])%255]:a[0]=0}var u=[];for(n=0;n=0&&(m=g.getNewEncoding(),g.resetEncoderSignal());var y=g.getCodewordCount();g.updateSymbolInfo();var b=g.getSymbolInfo().getDataCapacity();y=t.length)return r;var n;r===a.ASCII_ENCODATION?n=[0,1,1,1,1,1.25]:(n=[1,2,2,2,2,2.25])[r]=0;for(var i=0,o=new Uint8Array(6),s=[];;){if(e+i===t.length){d.default.fill(o,0),d.default.fill(s,0);var l=this.findMinimums(n,s,h.default.MAX_VALUE,o),u=this.getMinimumCount(o);if(s[a.ASCII_ENCODATION]===l)return a.ASCII_ENCODATION;if(1===u){if(o[a.BASE256_ENCODATION]>0)return a.BASE256_ENCODATION;if(o[a.EDIFACT_ENCODATION]>0)return a.EDIFACT_ENCODATION;if(o[a.TEXT_ENCODATION]>0)return a.TEXT_ENCODATION;if(o[a.X12_ENCODATION]>0)return a.X12_ENCODATION}return a.C40_ENCODATION}var c=t.charCodeAt(e+i);if(i++,this.isDigit(c)?n[a.ASCII_ENCODATION]+=.5:this.isExtendedASCII(c)?(n[a.ASCII_ENCODATION]=Math.ceil(n[a.ASCII_ENCODATION]),n[a.ASCII_ENCODATION]+=2):(n[a.ASCII_ENCODATION]=Math.ceil(n[a.ASCII_ENCODATION]),n[a.ASCII_ENCODATION]++),this.isNativeC40(c)?n[a.C40_ENCODATION]+=2/3:this.isExtendedASCII(c)?n[a.C40_ENCODATION]+=8/3:n[a.C40_ENCODATION]+=4/3,this.isNativeText(c)?n[a.TEXT_ENCODATION]+=2/3:this.isExtendedASCII(c)?n[a.TEXT_ENCODATION]+=8/3:n[a.TEXT_ENCODATION]+=4/3,this.isNativeX12(c)?n[a.X12_ENCODATION]+=2/3:this.isExtendedASCII(c)?n[a.X12_ENCODATION]+=13/3:n[a.X12_ENCODATION]+=10/3,this.isNativeEDIFACT(c)?n[a.EDIFACT_ENCODATION]+=3/4:this.isExtendedASCII(c)?n[a.EDIFACT_ENCODATION]+=4.25:n[a.EDIFACT_ENCODATION]+=3.25,this.isSpecialB256(c)?n[a.BASE256_ENCODATION]+=4:n[a.BASE256_ENCODATION]++,i>=4){if(d.default.fill(o,0),d.default.fill(s,0),this.findMinimums(n,s,h.default.MAX_VALUE,o),s[a.ASCII_ENCODATION]o&&(r=o,d.default.fill(n,0)),r===o&&(n[i]=n[i]+1)}return r},t.getMinimumCount=function(t){for(var e=0,r=0;r<6;r++)e+=t[r];return e||0},t.isDigit=function(t){return t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)},t.isExtendedASCII=function(t){return t>=128&&t<=255},t.isNativeC40=function(t){return t===" ".charCodeAt(0)||t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)||t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0)},t.isNativeText=function(t){return t===" ".charCodeAt(0)||t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)||t>="a".charCodeAt(0)&&t<="z".charCodeAt(0)},t.isNativeX12=function(t){return this.isX12TermSep(t)||t===" ".charCodeAt(0)||t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)||t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0)},t.isX12TermSep=function(t){return 13===t||t==="*".charCodeAt(0)||t===">".charCodeAt(0)},t.isNativeEDIFACT=function(t){return t>=" ".charCodeAt(0)&&t<="^".charCodeAt(0)},t.isSpecialB256=function(t){return!1},t.determineConsecutiveDigitCount=function(t,e){void 0===e&&(e=0);for(var r=t.length,n=e;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=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},s=this&&this.__spread||function(){for(var t=[],e=0;e","?","@","[","\\","]","^","_"],p=function(){function t(){}return t.isExtendedASCII=function(t,e){return t!==e&&t>=128&&t<=255},t.isInC40Shift1Set=function(t){return t<=31},t.isInC40Shift2Set=function(t,e){var r,n;try{for(var i=o(f),a=i.next();!a.done;a=i.next()){if(a.value.charCodeAt(0)===t)return!0}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return t===e},t.isInTextShift1Set=function(t){return this.isInC40Shift1Set(t)},t.isInTextShift2Set=function(t,e){return this.isInC40Shift2Set(t,e)},t.encodeHighLevel=function(t,e,r,n){void 0===e&&(e=null),void 0===r&&(r=-1),void 0===n&&(n=0);var i=0;return t.startsWith(u.MACRO_05_HEADER)&&t.endsWith(u.MACRO_TRAILER)?(i=5,t=t.substring(u.MACRO_05_HEADER.length,t.length-2)):t.startsWith(u.MACRO_06_HEADER)&&t.endsWith(u.MACRO_TRAILER)&&(i=6,t=t.substring(u.MACRO_06_HEADER.length,t.length-2)),decodeURIComponent(escape(String.fromCharCode.apply(String,s(this.encode(t,e,r,n,i)))))},t.encode=function(t,e,r,n,i){return this.encodeMinimally(new y(t,e,r,n,i)).getBytes()},t.addEdge=function(t,e){var r=e.fromPosition+e.characterLength;(null===t[r][e.getEndMode()]||t[r][e.getEndMode()].cachedTotalSize>e.cachedTotalSize)&&(t[r][e.getEndMode()]=e)},t.getNumberOfC40Words=function(e,r,n,i){for(var o=0,a=r;a=128&&(n&&c.default.isNativeC40(l-128)||!n&&c.default.isNativeText(l-128))?o+=3:o+=4}else o+=2;if(o%3==0||(o-2)%3==0&&a+1===e.length())return i[0]=a-r+1,Math.ceil(o/3)}return i[0]=0,0},t.addEdges=function(e,r,n,i){var a,s;if(e.isECI(n))this.addEdge(r,new m(e,l.ASCII,n,1,i));else{var u,d=e.charAt(n);if(null===i||i.getEndMode()!==l.EDF){c.default.isDigit(d)&&e.haveNCharacters(n,2)&&c.default.isDigit(e.charAt(n+1))?this.addEdge(r,new m(e,l.ASCII,n,2,i)):this.addEdge(r,new m(e,l.ASCII,n,1,i));var h=[l.C40,l.TEXT];try{for(var f=o(h),p=f.next();!p.done;p=f.next()){var g=p.value,y=[];t.getNumberOfC40Words(e,n,g===l.C40,y)>0&&this.addEdge(r,new m(e,g,n,y[0],i))}}catch(t){a={error:t}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}e.haveNCharacters(n,3)&&c.default.isNativeX12(e.charAt(n))&&c.default.isNativeX12(e.charAt(n+1))&&c.default.isNativeX12(e.charAt(n+2))&&this.addEdge(r,new m(e,l.X12,n,3,i)),this.addEdge(r,new m(e,l.B256,n,1,i))}for(u=0;u<3;u++){var b=n+u;if(!e.haveNCharacters(b,1)||!c.default.isNativeEDIFACT(e.charAt(b)))break;this.addEdge(r,new m(e,l.EDF,n,u+1,i))}3===u&&e.haveNCharacters(n,4)&&c.default.isNativeEDIFACT(e.charAt(n+3))&&this.addEdge(r,new m(e,l.EDF,n,4,i))}},t.encodeMinimally=function(t){var e=t.length(),r=Array(e+1).fill(null).map((function(){return Array(6).fill(0)}));this.addEdges(t,r,0,null);for(var n=1;n<=e;n++){for(var i=0;i<6;i++)null!==r[n][i]&&n=1&&i<=3?s.cachedTotalSize+1:s.cachedTotalSize;l0&&(r+=this.prepend(m.getBytes(232),n));for(var s=0;s=0;r--)e.unshift(t[r]);return t.length},t.prototype.randomize253State=function(t){var e=129+(149*t%253+1);return e<=254?e:e-254},t.prototype.applyRandomPattern=function(t,e,r){for(var n=0;n0&&this.getCodewordsRemaining(this.cachedTotalSize+t)<=2-t)return l.ASCII}if(this.mode===l.C40||this.mode===l.TEXT||this.mode===l.X12){if(this.fromPosition+this.characterLength>=this.input.length()&&0===this.getCodewordsRemaining(this.cachedTotalSize))return l.ASCII;var t;if(1===(t=this.getLastASCII())&&0===this.getCodewordsRemaining(this.cachedTotalSize+1))return l.ASCII}return this.mode},t.prototype.getMode=function(){return this.mode},t.prototype.getLastASCII=function(){var t=this.input.length(),e=this.fromPosition+this.characterLength;return t-e>4||e>=t?0:t-e==1?p.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())?0:1:t-e==2?p.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())||p.isExtendedASCII(this.input.charAt(e+1),this.input.getFNC1Character())?0:c.default.isDigit(this.input.charAt(e))&&c.default.isDigit(this.input.charAt(e+1))?1:2:t-e==3?c.default.isDigit(this.input.charAt(e))&&c.default.isDigit(this.input.charAt(e+1))&&!p.isExtendedASCII(this.input.charAt(e+2),this.input.getFNC1Character())||c.default.isDigit(this.input.charAt(e+1))&&c.default.isDigit(this.input.charAt(e+2))&&!p.isExtendedASCII(this.input.charAt(e),this.input.getFNC1Character())?2:0:c.default.isDigit(this.input.charAt(e))&&c.default.isDigit(this.input.charAt(e+1))&&c.default.isDigit(this.input.charAt(e+2))&&c.default.isDigit(this.input.charAt(e+3))?2:0},t.prototype.getMinSymbolSize=function(t){var e,r,n,i,a,s;switch(this.input.getShapeHint()){case 1:try{for(var l=o(this.squareCodewordCapacities),u=l.next();!u.done;u=l.next()){if((p=u.value)>=t)return p}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}break;case 2:try{for(var c=o(this.rectangularCodewordCapacities),d=c.next();!d.done;d=c.next()){if((p=d.value)>=t)return p}}catch(t){n={error:t}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}try{for(var h=o(this.allCodewordCapacities),f=h.next();!f.done;f=h.next()){var p;if((p=f.value)>=t)return p}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}return this.allCodewordCapacities[this.allCodewordCapacities.length-1]},t.prototype.getCodewordsRemaining=function(t){return this.getMinSymbolSize(t)-t},t.getBytes=function(t,e){var r=new Uint8Array(e?2:1);return r[0]=t,e&&(r[1]=e),r},t.prototype.setC40Word=function(t,e,r,n,i){var o=1600*(255&r)+40*(255&n)+(255&i)+1;t[e]=o/256,t[e+1]=o%256},t.prototype.getX12Value=function(t){return 13===t?0:42===t?1:62===t?2:32===t?3:t>=48&&t<=57?t-44:t>=65&&t<=90?t-51:t},t.prototype.getX12Words=function(){if(this.characterLength%3!=0)throw new Error("X12 words must be a multiple of 3");for(var t=new Uint8Array(this.characterLength/3*2),e=0;e=33&&r<=47?r-33:r>=48&&r<=57?r-44:r>=58&&r<=64?r-43:r>=65&&r<=90?r-64:r>=91&&r<=95?r-69:96===r?0:r>=97&&r<=122?r-83:r>=123&&r<=127?r-96:r},t.prototype.getC40Words=function(t,e){for(var r=[],n=0;n>16&255,e[i+1]=s>>8&255,e[i+2]=255&s}return e},t.prototype.getLatchBytes=function(){switch(this.getPreviousMode()){case l.ASCII:case l.B256:switch(this.mode){case l.B256:return t.getBytes(231);case l.C40:return t.getBytes(230);case l.TEXT:return t.getBytes(239);case l.X12:return t.getBytes(238);case l.EDF:return t.getBytes(240)}break;case l.C40:case l.TEXT:case l.X12:if(this.mode!==this.getPreviousMode())switch(this.mode){case l.ASCII:return t.getBytes(254);case l.B256:return t.getBytes(254,231);case l.C40:return t.getBytes(254,230);case l.TEXT:return t.getBytes(254,239);case l.X12:return t.getBytes(254,238);case l.EDF:return t.getBytes(254,240)}break;case l.EDF:if(this.mode!==l.EDF)throw new Error("Cannot switch from EDF to "+this.mode)}return new Uint8Array(0)},t.prototype.getDataBytes=function(){switch(this.mode){case l.ASCII:return this.input.isECI(this.fromPosition)?t.getBytes(241,this.input.getECIValue(this.fromPosition)+1):p.isExtendedASCII(this.input.charAt(this.fromPosition),this.input.getFNC1Character())?t.getBytes(235,this.input.charAt(this.fromPosition)-127):2===this.characterLength?t.getBytes(10*this.input.charAt(this.fromPosition)+this.input.charAt(this.fromPosition+1)+130):this.input.isFNC1(this.fromPosition)?t.getBytes(232):t.getBytes(this.input.charAt(this.fromPosition)+1);case l.B256:return t.getBytes(this.input.charAt(this.fromPosition));case l.C40:return this.getC40Words(!0,this.input.getFNC1Character());case l.TEXT:return this.getC40Words(!1,this.input.getFNC1Character());case l.X12:return this.getX12Words();case l.EDF:return this.getEDFBytes()}},t}(),y=function(t){function e(e,r,n,i,o){var a=t.call(this,e,r,n)||this;return a.shape=i,a.macroId=o,a}return i(e,t),e.prototype.getMacroId=function(){return this.macroId},e.prototype.getShapeHint=function(){return this.shape},e}(d.MinimalECIInput)}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/MinimalEncoder.js"}],[3714,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0}),r.PROD_SYMBOLS=void 0;var a=function(){function t(t,e,r,n,i,o,a,s){void 0===a&&(a=0),void 0===s&&(s=0),this.rectangular=t,this.dataCapacity=e,this.errorCodewords=r,this.matrixWidth=n,this.matrixHeight=i,this.dataRegions=o,this.rsBlockData=a,this.rsBlockError=s}return t.lookup=function(t,e,n,i,a){var s,l;void 0===e&&(e=0),void 0===n&&(n=null),void 0===i&&(i=null),void 0===a&&(a=!0);try{for(var u=o(r.PROD_SYMBOLS),c=u.next();!c.done;c=u.next()){var d=c.value;if((1!==e||!d.rectangular)&&((2!==e||d.rectangular)&&(null==n||!(d.getSymbolWidth()i.getWidth()||d.getSymbolHeight()>i.getHeight()))&&t<=d.dataCapacity))return d}}catch(t){s={error:t}}finally{try{c&&!c.done&&(l=u.return)&&l.call(u)}finally{if(s)throw s.error}}if(a)throw new Error("Can't find a symbol arrangement that matches the message. Data codewords: "+t);return null},t.prototype.getHorizontalDataRegions=function(){switch(this.dataRegions){case 1:return 1;case 2:case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},t.prototype.getVerticalDataRegions=function(){switch(this.dataRegions){case 1:case 2:return 1;case 4:return 2;case 16:return 4;case 36:return 6;default:throw new Error("Cannot handle this number of data regions")}},t.prototype.getSymbolDataWidth=function(){return this.getHorizontalDataRegions()*this.matrixWidth},t.prototype.getSymbolDataHeight=function(){return this.getVerticalDataRegions()*this.matrixHeight},t.prototype.getSymbolWidth=function(){return this.getSymbolDataWidth()+2*this.getHorizontalDataRegions()},t.prototype.getSymbolHeight=function(){return this.getSymbolDataHeight()+2*this.getVerticalDataRegions()},t.prototype.getCodewordCount=function(){return this.dataCapacity+this.errorCodewords},t.prototype.getInterleavedBlockCount=function(){return this.rsBlockData?this.dataCapacity/this.rsBlockData:1},t.prototype.getDataCapacity=function(){return this.dataCapacity},t.prototype.getErrorCodewords=function(){return this.errorCodewords},t.prototype.getDataLengthForInterleavedBlock=function(t){return this.rsBlockData},t.prototype.getErrorLengthForInterleavedBlock=function(t){return this.rsBlockError},t}();r.default=a;var s=function(t){function e(){return t.call(this,!1,1558,620,22,22,36,-1,62)||this}return i(e,t),e.prototype.getInterleavedBlockCount=function(){return 10},e.prototype.getDataLengthForInterleavedBlock=function(t){return t<=8?156:155},e}(a);r.PROD_SYMBOLS=[new a(!1,3,5,8,8,1),new a(!1,5,7,10,10,1),new a(!0,5,7,16,6,1),new a(!1,8,10,12,12,1),new a(!0,10,11,14,6,2),new a(!1,12,12,14,14,1),new a(!0,16,14,24,10,1),new a(!1,18,14,16,16,1),new a(!1,22,18,18,18,1),new a(!0,22,18,16,10,2),new a(!1,30,20,20,20,1),new a(!0,32,24,16,14,2),new a(!1,36,24,22,22,1),new a(!1,44,28,24,24,1),new a(!0,49,28,22,14,2),new a(!1,62,36,14,14,4),new a(!1,86,42,16,16,4),new a(!1,114,48,18,18,4),new a(!1,144,56,20,20,4),new a(!1,174,68,22,22,4),new a(!1,204,84,24,24,4,102,42),new a(!1,280,112,14,14,16,140,56),new a(!1,368,144,16,16,16,92,36),new a(!1,456,192,18,18,16,114,48),new a(!1,576,224,20,20,16,144,56),new a(!1,696,272,22,22,16,174,68),new a(!1,816,336,24,24,16,136,56),new a(!1,1050,408,18,18,36,175,68),new a(!1,1304,496,20,20,36,163,62),new s]}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/SymbolInfo.js"}],[3715,{"./C40Encoder":3707,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.TextEncoder=void 0;var o=t("./C40Encoder"),a=t("./constants"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getEncodingMode=function(){return a.TEXT_ENCODATION},e.prototype.encodeChar=function(t,e){if(t===" ".charCodeAt(0))return e.append(3),1;if(t>="0".charCodeAt(0)&&t<="9".charCodeAt(0))return e.append(t-48+4),1;if(t>="a".charCodeAt(0)&&t<="z".charCodeAt(0))return e.append(t-97+14),1;if(t<" ".charCodeAt(0))return e.append(0),e.append(t),2;if(t<="/".charCodeAt(0))return e.append(1),e.append(t-33),2;if(t<="@".charCodeAt(0))return e.append(1),e.append(t-58+15),2;if(t>="[".charCodeAt(0)&&t<="_".charCodeAt(0))return e.append(1),e.append(t-91+22),2;if(t==="`".charCodeAt(0))return e.append(2),e.append(0),2;if(t<="Z".charCodeAt(0))return e.append(2),e.append(t-65+1),2;if(t<=127)return e.append(2),e.append(t-123+27),2;e.append("1");var r=2;return r+=this.encodeChar(t-128,e)},e}(o.C40Encoder);r.TextEncoder=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/TextEncoder.js"}],[3716,{"../../common/StringUtils":3689,"../../util/StringBuilder":3820,"./C40Encoder":3707,"./HighLevelEncoder":3712,"./constants":3717},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.X12Encoder=void 0;var o=t("../../common/StringUtils"),a=t("../../util/StringBuilder"),s=t("./C40Encoder"),l=t("./HighLevelEncoder"),u=t("./constants"),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getEncodingMode=function(){return u.X12_ENCODATION},e.prototype.encode=function(t){for(var e=new a.default;t.hasMoreCharacters();){var r=t.getCurrentChar();if(t.pos++,this.encodeChar(r,e),e.length()%3==0)if(this.writeNextTriplet(t,e),l.default.lookAheadTest(t.getMessage(),t.pos,this.getEncodingMode())!==this.getEncodingMode()){t.signalEncoderChange(u.ASCII_ENCODATION);break}}this.handleEOD(t,e)},e.prototype.encodeChar=function(t,e){switch(t){case 13:e.append(0);break;case"*".charCodeAt(0):e.append(1);break;case">".charCodeAt(0):e.append(2);break;case" ".charCodeAt(0):e.append(3);break;default:t>="0".charCodeAt(0)&&t<="9".charCodeAt(0)?e.append(t-48+4):t>="A".charCodeAt(0)&&t<="Z".charCodeAt(0)?e.append(t-65+14):l.default.illegalCharacter(o.default.getCharAt(t))}return 1},e.prototype.handleEOD=function(t,e){t.updateSymbolInfo();var r=t.getSymbolInfo().getDataCapacity()-t.getCodewordCount(),n=e.length();t.pos-=n,(t.getRemainingCharacters()>1||r>1||t.getRemainingCharacters()!==r)&&t.writeCodeword(u.X12_UNLATCH),t.getNewEncoding()<0&&t.signalEncoderChange(u.ASCII_ENCODATION)},e}(s.C40Encoder);r.X12Encoder=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/X12Encoder.js"}],[3717,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n;Object.defineProperty(r,"__esModule",{value:!0}),r.BASE256_ENCODATION=r.EDIFACT_ENCODATION=r.X12_ENCODATION=r.TEXT_ENCODATION=r.C40_ENCODATION=r.ASCII_ENCODATION=r.MACRO_TRAILER=r.MACRO_06_HEADER=r.MACRO_05_HEADER=r.X12_UNLATCH=r.C40_UNLATCH=r.LATCH_TO_EDIFACT=r.LATCH_TO_TEXT=r.LATCH_TO_ANSIX12=r.MACRO_06=r.MACRO_05=r.UPPER_SHIFT=r.LATCH_TO_BASE256=r.LATCH_TO_C40=r.PAD=r.SymbolShapeHint=r.ALOG=r.LOG=r.MODULO_VALUE=r.FACTORS=r.FACTOR_SETS=void 0,r.FACTOR_SETS=[5,7,10,11,12,14,18,20,24,28,36,42,48,56,62,68],r.FACTORS=[[228,48,15,111,62],[23,68,144,134,240,92,254],[28,24,185,166,223,248,116,255,110,61],[175,138,205,12,194,168,39,245,60,97,120],[41,153,158,91,61,42,142,213,97,178,100,242],[156,97,192,252,95,9,157,119,138,45,18,186,83,185],[83,195,100,39,188,75,66,61,241,213,109,129,94,254,225,48,90,188],[15,195,244,9,233,71,168,2,188,160,153,145,253,79,108,82,27,174,186,172],[52,190,88,205,109,39,176,21,155,197,251,223,155,21,5,172,254,124,12,181,184,96,50,193],[211,231,43,97,71,96,103,174,37,151,170,53,75,34,249,121,17,138,110,213,141,136,120,151,233,168,93,255],[245,127,242,218,130,250,162,181,102,120,84,179,220,251,80,182,229,18,2,4,68,33,101,137,95,119,115,44,175,184,59,25,225,98,81,112],[77,193,137,31,19,38,22,153,247,105,122,2,245,133,242,8,175,95,100,9,167,105,214,111,57,121,21,1,253,57,54,101,248,202,69,50,150,177,226,5,9,5],[245,132,172,223,96,32,117,22,238,133,238,231,205,188,237,87,191,106,16,147,118,23,37,90,170,205,131,88,120,100,66,138,186,240,82,44,176,87,187,147,160,175,69,213,92,253,225,19],[175,9,223,238,12,17,220,208,100,29,175,170,230,192,215,235,150,159,36,223,38,200,132,54,228,146,218,234,117,203,29,232,144,238,22,150,201,117,62,207,164,13,137,245,127,67,247,28,155,43,203,107,233,53,143,46],[242,93,169,50,144,210,39,118,202,188,201,189,143,108,196,37,185,112,134,230,245,63,197,190,250,106,185,221,175,64,114,71,161,44,147,6,27,218,51,63,87,10,40,130,188,17,163,31,176,170,4,107,232,7,94,166,224,124,86,47,11,204],[220,228,173,89,251,149,159,56,89,33,147,244,154,36,73,127,213,136,248,180,234,197,158,177,68,122,93,213,15,160,227,236,66,139,153,185,202,167,179,25,220,232,96,210,231,136,223,239,181,241,59,52,172,25,49,232,211,189,64,54,108,153,132,63,96,103,82,186]],r.MODULO_VALUE=301;r.LOG=(n=function(t,e){for(var n=1,i=0;i<255;i++)e[i]=n,t[n]=i,(n*=2)>=256&&(n^=r.MODULO_VALUE);return{LOG:t,ALOG:e}}([],[])).LOG,r.ALOG=n.ALOG,function(t){t[t.FORCE_NONE=0]="FORCE_NONE",t[t.FORCE_SQUARE=1]="FORCE_SQUARE",t[t.FORCE_RECTANGLE=2]="FORCE_RECTANGLE"}(r.SymbolShapeHint||(r.SymbolShapeHint={})),r.PAD=129,r.LATCH_TO_C40=230,r.LATCH_TO_BASE256=231,r.UPPER_SHIFT=235,r.MACRO_05=236,r.MACRO_06=237,r.LATCH_TO_ANSIX12=238,r.LATCH_TO_TEXT=239,r.LATCH_TO_EDIFACT=240,r.C40_UNLATCH=254,r.X12_UNLATCH=254,r.MACRO_05_HEADER="[)>05",r.MACRO_06_HEADER="[)>06",r.MACRO_TRAILER="",r.ASCII_ENCODATION=0,r.C40_ENCODATION=1,r.TEXT_ENCODATION=2,r.X12_ENCODATION=3,r.EDIFACT_ENCODATION=4,r.BASE256_ENCODATION=5}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/constants.js"}],[3718,{"./ASCIIEncoder":3705,"./Base256Encoder":3706,"./C40Encoder":3707,"./DefaultPlacement":3708,"./EdifactEncoder":3709,"./EncoderContext":3710,"./ErrorCorrection":3711,"./HighLevelEncoder":3712,"./MinimalEncoder":3713,"./SymbolInfo":3714,"./TextEncoder":3715,"./X12Encoder":3716},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.X12Encoder=r.TextEncoder=r.SymbolInfo=r.MinimalEncoder=r.HighLevelEncoder=r.DefaultPlacement=r.ErrorCorrection=r.EncoderContext=r.EdifactEncoder=r.C40Encoder=r.Base256Encoder=r.ASCIIEncoder=void 0;var n=t("./ASCIIEncoder");Object.defineProperty(r,"ASCIIEncoder",{enumerable:!0,get:function(){return n.ASCIIEncoder}});var i=t("./Base256Encoder");Object.defineProperty(r,"Base256Encoder",{enumerable:!0,get:function(){return i.Base256Encoder}});var o=t("./C40Encoder");Object.defineProperty(r,"C40Encoder",{enumerable:!0,get:function(){return o.C40Encoder}});var a=t("./DefaultPlacement");r.DefaultPlacement=a.default;var s=t("./EdifactEncoder");Object.defineProperty(r,"EdifactEncoder",{enumerable:!0,get:function(){return s.EdifactEncoder}});var l=t("./EncoderContext");Object.defineProperty(r,"EncoderContext",{enumerable:!0,get:function(){return l.EncoderContext}});var u=t("./ErrorCorrection");r.ErrorCorrection=u.default;var c=t("./HighLevelEncoder");r.HighLevelEncoder=c.default;var d=t("./MinimalEncoder");Object.defineProperty(r,"MinimalEncoder",{enumerable:!0,get:function(){return d.MinimalEncoder}});var h=t("./SymbolInfo");r.SymbolInfo=h.default;var f=t("./TextEncoder");Object.defineProperty(r,"TextEncoder",{enumerable:!0,get:function(){return f.TextEncoder}});var p=t("./X12Encoder");Object.defineProperty(r,"X12Encoder",{enumerable:!0,get:function(){return p.X12Encoder}})}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/datamatrix/encoder/index.js"}],[3719,{"../FormatException":3638,"../NotFoundException":3646,"./OneDReader":3729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("./OneDReader"),a=t("../NotFoundException"),s=t("../FormatException"),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.decodeRowStringBuffer="",e}return i(e,t),e.findStartGuardPattern=function(t){for(var r,n=!1,i=0,o=Int32Array.from([0,0,0]);!n;){o=Int32Array.from([0,0,0]);var a=(r=e.findGuardPattern(t,i,!1,this.START_END_PATTERN,o))[0],s=a-((i=r[1])-a);s>=0&&(n=t.isRange(s,a,!1))}return r},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var r=t.length;if(0===r)return!1;var n=parseInt(t.charAt(r-1),10);return e.getStandardUPCEANChecksum(t.substring(0,r-1))===n},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,r=0,n=e-1;n>=0;n-=2){if((i=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new s.default;r+=i}r*=3;for(n=e-2;n>=0;n-=2){var i;if((i=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new s.default;r+=i}return(1e3-r)%10},e.decodeEnd=function(t,r){return e.findGuardPattern(t,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e.findGuardPatternWithoutCounters=function(t,e,r,n){return this.findGuardPattern(t,e,r,n,new Int32Array(n.length))},e.findGuardPattern=function(t,r,n,i,s){for(var l=t.getSize(),u=0,c=r=n?t.getNextUnset(r):t.getNextSet(r),d=i.length,h=n,f=r;f=0)return l;throw new a.default},e.MAX_AVG_VARIANCE=.48,e.MAX_INDIVIDUAL_VARIANCE=.7,e.START_END_PATTERN=Int32Array.from([1,1,1]),e.MIDDLE_PATTERN=Int32Array.from([1,1,1,1,1]),e.END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.L_PATTERNS=[Int32Array.from([3,2,1,1]),Int32Array.from([2,2,2,1]),Int32Array.from([2,1,2,2]),Int32Array.from([1,4,1,1]),Int32Array.from([1,1,3,2]),Int32Array.from([1,2,3,1]),Int32Array.from([1,1,1,4]),Int32Array.from([1,3,1,2]),Int32Array.from([1,2,1,3]),Int32Array.from([3,1,1,2])],e}(o.default);r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/AbstractUPCEANReader.js"}],[3720,{"../BarcodeFormat":3631,"../NotFoundException":3646,"../Result":3653,"../ResultPoint":3655,"./OneDReader":3729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../BarcodeFormat"),a=t("../NotFoundException"),s=t("./OneDReader"),l=t("../Result"),u=t("../ResultPoint"),c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.CODA_BAR_CHAR_SET={nnnnnww:"0",nnnnwwn:"1",nnnwnnw:"2",wwnnnnn:"3",nnwnnwn:"4",wnnnnwn:"5",nwnnnnw:"6",nwnnwnn:"7",nwwnnnn:"8",wnnwnnn:"9",nnnwwnn:"-",nnwwnnn:"$",wnnnwnw:":",wnwnnnw:"/",wnwnwnn:".",nnwwwww:"+",nnwwnwn:"A",nwnwnnw:"B",nnnwnww:"C",nnnwwwn:"D"},e}return i(e,t),e.prototype.decodeRow=function(t,e,r){var n=this.getValidRowData(e);if(!n)throw new a.default;var i=this.codaBarDecodeRow(n.row);if(!i)throw new a.default;return new l.default(i,null,0,[new u.default(n.left,t),new u.default(n.right,t)],o.default.CODABAR,(new Date).getTime())},e.prototype.getValidRowData=function(t){var e=t.toArray(),r=e.indexOf(!0);if(-1===r)return null;var n=e.lastIndexOf(!0);if(n<=r)return null;for(var i=[],o=(e=e.slice(r,n+1))[0],a=1,s=1;s0;){var n=t.splice(0,8).splice(0,7).map((function(t){return t=0&&t.isRange(Math.max(0,a-(l-a)/2),a,!1))return Int32Array.from([a,l,d]);a+=o[0]+o[1],(o=o.slice(2,o.length))[i-1]=0,o[i]=0,i--}else i++;o[i]=1,s=!s}throw new u.default},e.decodeCode=function(t,r,n){h.default.recordPattern(t,n,r);for(var i=e.MAX_AVG_VARIANCE,o=-1,a=0;a=0)return o;throw new u.default},e.prototype.decodeRow=function(t,r,n){var i,h=n&&!0===n.get(s.default.ASSUME_GS1),f=e.findStartPattern(r),p=f[2],g=0,m=new Uint8Array(20);switch(m[g++]=p,p){case e.CODE_START_A:i=e.CODE_CODE_A;break;case e.CODE_START_B:i=e.CODE_CODE_B;break;case e.CODE_START_C:i=e.CODE_CODE_C;break;default:throw new l.default}for(var y=!1,b=!1,v="",w=f[0],_=f[1],A=Int32Array.from([0,0,0,0,0,0]),x=0,C=0,E=p,S=0,T=!0,I=!1,D=!1;!y;){var O=b;switch(b=!1,x=C,C=e.decodeCode(r,A,_),m[g++]=C,C!==e.CODE_STOP&&(T=!0),C!==e.CODE_STOP&&(E+=++S*C),w=_,_+=A.reduce((function(t,e){return t+e}),0),C){case e.CODE_START_A:case e.CODE_START_B:case e.CODE_START_C:throw new l.default}switch(i){case e.CODE_CODE_A:if(C<64)v+=D===I?String.fromCharCode(" ".charCodeAt(0)+C):String.fromCharCode(" ".charCodeAt(0)+C+128),D=!1;else if(C<96)v+=D===I?String.fromCharCode(C-64):String.fromCharCode(C+64),D=!1;else switch(C!==e.CODE_STOP&&(T=!1),C){case e.CODE_FNC_1:h&&(0===v.length?v+="]C1":v+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_A:!I&&D?(I=!0,D=!1):I&&D?(I=!1,D=!1):D=!0;break;case e.CODE_SHIFT:b=!0,i=e.CODE_CODE_B;break;case e.CODE_CODE_B:i=e.CODE_CODE_B;break;case e.CODE_CODE_C:i=e.CODE_CODE_C;break;case e.CODE_STOP:y=!0}break;case e.CODE_CODE_B:if(C<96)v+=D===I?String.fromCharCode(" ".charCodeAt(0)+C):String.fromCharCode(" ".charCodeAt(0)+C+128),D=!1;else switch(C!==e.CODE_STOP&&(T=!1),C){case e.CODE_FNC_1:h&&(0===v.length?v+="]C1":v+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_B:!I&&D?(I=!0,D=!1):I&&D?(I=!1,D=!1):D=!0;break;case e.CODE_SHIFT:b=!0,i=e.CODE_CODE_A;break;case e.CODE_CODE_A:i=e.CODE_CODE_A;break;case e.CODE_CODE_C:i=e.CODE_CODE_C;break;case e.CODE_STOP:y=!0}break;case e.CODE_CODE_C:if(C<100)C<10&&(v+="0"),v+=C;else switch(C!==e.CODE_STOP&&(T=!1),C){case e.CODE_FNC_1:h&&(0===v.length?v+="]C1":v+=String.fromCharCode(29));break;case e.CODE_CODE_A:i=e.CODE_CODE_A;break;case e.CODE_CODE_B:i=e.CODE_CODE_B;break;case e.CODE_STOP:y=!0}}O&&(i=i===e.CODE_CODE_A?e.CODE_CODE_B:e.CODE_CODE_A)}var R=_-w;if(_=r.getNextUnset(_),!r.isRange(_,Math.min(r.getSize(),_+(_-w)/2),!1))throw new u.default;if((E-=S*x)%103!==x)throw new a.default;var P=v.length;if(0===P)throw new u.default;P>0&&T&&(v=i===e.CODE_CODE_C?v.substring(0,P-2):v.substring(0,P-1));for(var M=(f[1]+f[0])/2,N=w+R/2,k=m.length,B=new Uint8Array(k),L=0;L=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("../ChecksumException"),l=t("../FormatException"),u=t("../NotFoundException"),c=t("./OneDReader"),d=t("../Result"),h=t("../ResultPoint"),f=function(t){function e(e,r){void 0===e&&(e=!1),void 0===r&&(r=!1);var n=t.call(this)||this;return n.usingCheckDigit=e,n.extendedMode=r,n.decodeRowResult="",n.counters=new Int32Array(9),n}return i(e,t),e.prototype.decodeRow=function(t,r,n){var i,l,c,f,p=this.counters;p.fill(0),this.decodeRowResult="";var g,m,y=e.findAsteriskPattern(r,p),b=r.getNextSet(y[1]),v=r.getSize();do{e.recordPattern(r,b,p);var w=e.toNarrowWidePattern(p);if(w<0)throw new u.default;g=e.patternToChar(w),this.decodeRowResult+=g,m=b;try{for(var _=(i=void 0,o(p)),A=_.next();!A.done;A=_.next()){b+=A.value}}catch(t){i={error:t}}finally{try{A&&!A.done&&(l=_.return)&&l.call(_)}finally{if(i)throw i.error}}b=r.getNextSet(b)}while("*"!==g);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var x,C=0;try{for(var E=o(p),S=E.next();!S.done;S=E.next()){C+=S.value}}catch(t){c={error:t}}finally{try{S&&!S.done&&(f=E.return)&&f.call(E)}finally{if(c)throw c.error}}if(b!==v&&2*(b-m-C)a&&(s=f)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}a=s,n=0;for(var c=0,d=0,h=0;ha&&(d|=1<0;h++){var f;if((f=t[h])>a&&(n--,2*f>=c))return-1}return d}}while(n>3);return-1},e.patternToChar=function(t){for(var r=0;r="A"&&o<="Z"))throw new l.default;a=String.fromCharCode(o.charCodeAt(0)+32);break;case"$":if(!(o>="A"&&o<="Z"))throw new l.default;a=String.fromCharCode(o.charCodeAt(0)-64);break;case"%":if(o>="A"&&o<="E")a=String.fromCharCode(o.charCodeAt(0)-38);else if(o>="F"&&o<="J")a=String.fromCharCode(o.charCodeAt(0)-11);else if(o>="K"&&o<="O")a=String.fromCharCode(o.charCodeAt(0)+16);else if(o>="P"&&o<="T")a=String.fromCharCode(o.charCodeAt(0)+43);else if("U"===o)a="\0";else if("V"===o)a="@";else if("W"===o)a="`";else{if("X"!==o&&"Y"!==o&&"Z"!==o)throw new l.default;a=""}break;case"/":if(o>="A"&&o<="O")a=String.fromCharCode(o.charCodeAt(0)-32);else{if("Z"!==o)throw new l.default;a=":"}}r+=a,n++}else r+=i}return r},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",e.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],e.ASTERISK_ENCODING=148,e}(c.default);r.default=f}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/Code39Reader.js"}],[3723,{"../BarcodeFormat":3631,"../ChecksumException":3634,"../FormatException":3638,"../NotFoundException":3646,"../Result":3653,"../ResultPoint":3655,"./OneDReader":3729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("../ChecksumException"),l=t("../FormatException"),u=t("../NotFoundException"),c=t("./OneDReader"),d=t("../Result"),h=t("../ResultPoint"),f=function(t){function e(){var e=t.call(this)||this;return e.decodeRowResult="",e.counters=new Int32Array(6),e}return i(e,t),e.prototype.decodeRow=function(t,r,n){var i,s,l,c,f,p,g=this.findAsteriskPattern(r),m=r.getNextSet(g[1]),y=r.getSize(),b=this.counters;b.fill(0),this.decodeRowResult="";do{e.recordPattern(r,m,b);var v=this.toPattern(b);if(v<0)throw new u.default;f=this.patternToChar(v),this.decodeRowResult+=f,p=m;try{for(var w=(i=void 0,o(b)),_=w.next();!_.done;_=w.next()){m+=_.value}}catch(t){i={error:t}}finally{try{_&&!_.done&&(s=w.return)&&s.call(w)}finally{if(i)throw i.error}}m=r.getNextSet(m)}while("*"!==f);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var A=0;try{for(var x=o(b),C=x.next();!C.done;C=x.next()){A+=C.value}}catch(t){l={error:t}}finally{try{C&&!C.done&&(c=x.return)&&c.call(x)}finally{if(l)throw l.error}}if(m===y||!r.get(m))throw new u.default;if(this.decodeRowResult.length<2)throw new u.default;this.checkChecksums(this.decodeRowResult),this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-2);var E=this.decodeExtended(this.decodeRowResult),S=(g[1]+g[0])/2,T=p+A/2;return new d.default(E,null,0,[new h.default(S,t),new h.default(T,t)],a.default.CODE_93,(new Date).getTime())},e.prototype.findAsteriskPattern=function(t){var r=t.getSize(),n=t.getNextSet(0);this.counters.fill(0);for(var i=this.counters,o=n,a=!1,s=i.length,l=0,c=n;c4)return-1;if(1&u)s<<=c;else for(var d=0;d="a"&&i<="d"){if(n>=e-1)throw new l.default;var o=t.charAt(n+1),a="\0";switch(i){case"d":if(!(o>="A"&&o<="Z"))throw new l.default;a=String.fromCharCode(o.charCodeAt(0)+32);break;case"a":if(!(o>="A"&&o<="Z"))throw new l.default;a=String.fromCharCode(o.charCodeAt(0)-64);break;case"b":if(o>="A"&&o<="E")a=String.fromCharCode(o.charCodeAt(0)-38);else if(o>="F"&&o<="J")a=String.fromCharCode(o.charCodeAt(0)-11);else if(o>="K"&&o<="O")a=String.fromCharCode(o.charCodeAt(0)+16);else if(o>="P"&&o<="T")a=String.fromCharCode(o.charCodeAt(0)+43);else if("U"===o)a="\0";else if("V"===o)a="@";else if("W"===o)a="`";else{if(!(o>="X"&&o<="Z"))throw new l.default;a=String.fromCharCode(127)}break;case"c":if(o>="A"&&o<="O")a=String.fromCharCode(o.charCodeAt(0)-32);else{if("Z"!==o)throw new l.default;a=":"}}r+=a,n++}else r+=i}return r},e.prototype.checkChecksums=function(t){var e=t.length;this.checkOneChecksum(t,e-2,20),this.checkOneChecksum(t,e-1,15)},e.prototype.checkOneChecksum=function(t,r,n){for(var i=1,o=0,a=r-1;a>=0;a--)o+=i*e.ALPHABET_STRING.indexOf(t.charAt(a)),++i>n&&(i=1);if(t.charAt(r)!==e.ALPHABET_STRING[o%47])throw new s.default},e.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%abcd*",e.CHARACTER_ENCODINGS=[276,328,324,322,296,292,290,336,274,266,424,420,418,404,402,394,360,356,354,308,282,344,332,326,300,278,436,434,428,422,406,410,364,358,310,314,302,468,466,458,366,374,430,294,474,470,306,350],e.ASTERISK_ENCODING=e.CHARACTER_ENCODINGS[47],e}(c.default);r.default=f}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/Code93Reader.js"}],[3724,{"../BarcodeFormat":3631,"../NotFoundException":3646,"./UPCEANReader":3734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("./UPCEANReader"),l=t("../NotFoundException"),u=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return i(e,t),e.prototype.decodeMiddle=function(t,r,n){var i,a,l,u,c=this.decodeMiddleCounters;c[0]=0,c[1]=0,c[2]=0,c[3]=0;for(var d=t.getSize(),h=r[1],f=0,p=0;p<6&&h=10&&(f|=1<<5-p)}n=e.determineFirstDigit(n,f),h=s.default.findGuardPattern(t,h,!0,s.default.MIDDLE_PATTERN,new Int32Array(s.default.MIDDLE_PATTERN.length).fill(0))[1];for(p=0;p<6&&h=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("./UPCEANReader"),l=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return i(e,t),e.prototype.decodeMiddle=function(t,e,r){var n,i,a,l,u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;for(var c=t.getSize(),d=e[1],h=0;h<4&&d=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("../DecodeHintType"),l=t("../FormatException"),u=t("../NotFoundException"),c=t("../Result"),d=t("../ResultPoint"),h=t("../util/StringBuilder"),f=t("../util/System"),p=t("./OneDReader"),g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.narrowLineWidth=-1,e}return i(e,t),e.prototype.decodeRow=function(t,r,n){var i,u,f=this.decodeStart(r),p=this.decodeEnd(r),g=new h.default;e.decodeMiddle(r,f[1],p[0],g);var m=g.toString(),y=null;null!=n&&(y=n.get(s.default.ALLOWED_LENGTHS)),null==y&&(y=e.DEFAULT_ALLOWED_LENGTHS);var b=m.length,v=!1,w=0;try{for(var _=o(y),A=_.next();!A.done;A=_.next()){var x=A.value;if(b===x){v=!0;break}x>w&&(w=x)}}catch(t){i={error:t}}finally{try{A&&!A.done&&(u=_.return)&&u.call(_)}finally{if(i)throw i.error}}if(!v&&b>w&&(v=!0),!v)throw new l.default;var C=[new d.default(f[1],t),new d.default(p[0],t)];return new c.default(m,null,0,C,a.default.ITF,(new Date).getTime())},e.decodeMiddle=function(t,r,n,i){var o=new Int32Array(10),a=new Int32Array(5),s=new Int32Array(5);for(o.fill(0),a.fill(0),s.fill(0);r0&&n>=0&&!t.get(n);n--)r--;if(0!==r)throw new u.default},e.skipWhiteSpace=function(t){var e=t.getSize(),r=t.getNextSet(0);if(r===e)throw new u.default;return r},e.prototype.decodeEnd=function(t){t.reverse();try{var r=e.skipWhiteSpace(t),n=void 0;try{n=e.findGuardPattern(t,r,e.END_PATTERN_REVERSED[0])}catch(i){i instanceof u.default&&(n=e.findGuardPattern(t,r,e.END_PATTERN_REVERSED[1]))}this.validateQuietZone(t,n[0]);var i=n[0];return n[0]=t.getSize()-n[1],n[1]=t.getSize()-i,n}finally{t.reverse()}},e.findGuardPattern=function(t,r,n){var i=n.length,o=new Int32Array(i),a=t.getSize(),s=!1,l=0,c=r;o.fill(0);for(var d=r;d=0)return n%10;throw new u.default},e.PATTERNS=[Int32Array.from([1,1,2,2,1]),Int32Array.from([2,1,1,1,2]),Int32Array.from([1,2,1,1,2]),Int32Array.from([2,2,1,1,1]),Int32Array.from([1,1,2,1,2]),Int32Array.from([2,1,2,1,1]),Int32Array.from([1,2,2,1,1]),Int32Array.from([1,1,1,2,2]),Int32Array.from([2,1,1,2,1]),Int32Array.from([1,2,1,2,1]),Int32Array.from([1,1,3,3,1]),Int32Array.from([3,1,1,1,3]),Int32Array.from([1,3,1,1,3]),Int32Array.from([3,3,1,1,1]),Int32Array.from([1,1,3,1,3]),Int32Array.from([3,1,3,1,1]),Int32Array.from([1,3,3,1,1]),Int32Array.from([1,1,1,3,3]),Int32Array.from([3,1,1,3,1]),Int32Array.from([1,3,1,3,1])],e.MAX_AVG_VARIANCE=.38,e.MAX_INDIVIDUAL_VARIANCE=.5,e.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],e.START_PATTERN=Int32Array.from([1,1,1,1]),e.END_PATTERN_REVERSED=[Int32Array.from([1,1,2]),Int32Array.from([1,1,3])],e}(p.default);r.default=g}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/ITFReader.js"}],[3727,{"../BarcodeFormat":3631,"../DecodeHintType":3635,"../NotFoundException":3646,"./CodaBarReader":3720,"./Code128Reader":3721,"./Code39Reader":3722,"./Code93Reader":3723,"./ITFReader":3726,"./MultiFormatUPCEANReader":3728,"./OneDReader":3729,"./rss/RSS14Reader":3740,"./rss/expanded/RSSExpandedReader":3745},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../BarcodeFormat"),a=t("../DecodeHintType"),s=t("../NotFoundException"),l=t("./Code128Reader"),u=t("./Code39Reader"),c=t("./Code93Reader"),d=t("./ITFReader"),h=t("./MultiFormatUPCEANReader"),f=t("./OneDReader"),p=t("./CodaBarReader"),g=t("./rss/expanded/RSSExpandedReader"),m=t("./rss/RSS14Reader"),y=function(t){function e(e){var r=t.call(this)||this;r.readers=[];var n=e?e.get(a.default.POSSIBLE_FORMATS):null,i=e&&e.get(a.default.ASSUME_CODE_39_CHECK_DIGIT)!==undefined,s=e&&e.get(a.default.ENABLE_CODE_39_EXTENDED_MODE)!==undefined;return n&&((n.includes(o.default.EAN_13)||n.includes(o.default.UPC_A)||n.includes(o.default.EAN_8)||n.includes(o.default.UPC_E))&&r.readers.push(new h.default(e)),n.includes(o.default.CODE_39)&&r.readers.push(new u.default(i,s)),n.includes(o.default.CODE_93)&&r.readers.push(new c.default),n.includes(o.default.CODE_128)&&r.readers.push(new l.default),n.includes(o.default.ITF)&&r.readers.push(new d.default),n.includes(o.default.CODABAR)&&r.readers.push(new p.default),n.includes(o.default.RSS_14)&&r.readers.push(new m.default),n.includes(o.default.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),r.readers.push(new g.default))),0===r.readers.length&&(r.readers.push(new h.default(e)),r.readers.push(new u.default),r.readers.push(new c.default),r.readers.push(new h.default(e)),r.readers.push(new l.default),r.readers.push(new d.default),r.readers.push(new m.default)),r}return i(e,t),e.prototype.decodeRow=function(t,e,r){for(var n=0;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.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../BarcodeFormat"),s=t("../DecodeHintType"),l=t("../Result"),u=t("./OneDReader"),c=t("./EAN13Reader"),d=t("./EAN8Reader"),h=t("./UPCAReader"),f=t("../NotFoundException"),p=t("./UPCEReader"),g=function(t){function e(e){var r=t.call(this)||this,n=null==e?null:e.get(s.default.POSSIBLE_FORMATS),i=[];return null!=n&&(n.indexOf(a.default.EAN_13)>-1&&i.push(new c.default),n.indexOf(a.default.UPC_A)>-1&&i.push(new h.default),n.indexOf(a.default.EAN_8)>-1&&i.push(new d.default),n.indexOf(a.default.UPC_E)>-1&&i.push(new p.default)),0===i.length&&(i.push(new c.default),i.push(new h.default),i.push(new d.default),i.push(new p.default)),r.readers=i,r}return i(e,t),e.prototype.decodeRow=function(t,e,r){var n,i;try{for(var u=o(this.readers),c=u.next();!c.done;c=u.next()){var d=c.value;try{var h=d.decodeRow(t,e,r),p=h.getBarcodeFormat()===a.default.EAN_13&&"0"===h.getText().charAt(0),g=null==r?null:r.get(s.default.POSSIBLE_FORMATS),m=null==g||g.includes(a.default.UPC_A);if(p&&m){var y=h.getRawBytes(),b=new l.default(h.getText().substring(1),y,y?y.length:null,h.getResultPoints(),a.default.UPC_A);return b.putAllMetadata(h.getResultMetadata()),b}return h}catch(t){}}}catch(t){n={error:t}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}throw new f.default},e.prototype.reset=function(){var t,e;try{for(var r=o(this.readers),n=r.next();!n.done;n=r.next()){n.value.reset()}}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},e}(u.default);r.default=g}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/MultiFormatUPCEANReader.js"}],[3729,{"../DecodeHintType":3635,"../NotFoundException":3646,"../ResultMetadataType":3654,"../ResultPoint":3655,"../common/BitArray":3675},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../common/BitArray"),i=t("../DecodeHintType"),o=t("../ResultMetadataType"),a=t("../ResultPoint"),s=t("../NotFoundException"),l=function(){function t(){}return t.prototype.decode=function(t,e){try{return this.doDecode(t,e)}catch(f){if(e&&!0===e.get(i.default.TRY_HARDER)&&t.isRotateSupported()){var r=t.rotateCounterClockwise(),n=this.doDecode(r,e),l=n.getResultMetadata(),u=270;null!==l&&!0===l.get(o.default.ORIENTATION)&&(u+=l.get(o.default.ORIENTATION)%360),n.putMetadata(o.default.ORIENTATION,u);var c=n.getResultPoints();if(null!==c)for(var d=r.getHeight(),h=0;h>(d?8:5));r=d?u:15;for(var f=Math.trunc(u/2),p=0;p=u)break;try{c=t.getBlackRow(m,c)}catch(t){continue}for(var y=function(t){if(1===t&&(c.reverse(),e&&!0===e.get(i.default.NEED_RESULT_POINT_CALLBACK))){var r=new Map;e.forEach((function(t,e){return r.set(e,t)})),r.delete(i.default.NEED_RESULT_POINT_CALLBACK),e=r}try{var n=b.decodeRow(m,c,e);if(1===t){n.putMetadata(o.default.ORIENTATION,180);var s=n.getResultPoints();null!==s&&(s[0]=new a.default(l-s[0].getX()-1,s[0].getY()),s[1]=new a.default(l-s[1].getX()-1,s[1].getY()))}return{value:n}}catch(t){}},b=this,v=0;v<2;v++){var w=y(v);if("object"==typeof w)return w.value}}throw new s.default},t.recordPattern=function(t,e,r){for(var n=r.length,i=0;i=o)throw new s.default;for(var a=!t.get(e),l=0,u=e;u0&&i>=0;)e.get(--r)!==o&&(i--,o=!o);if(i>=0)throw new s.default;t.recordPattern(e,r+1,n)},t.patternMatchVariance=function(t,e,r){for(var n=t.length,i=0,o=0,a=0;ad?c-d:d-c;if(h>r)return Number.POSITIVE_INFINITY;l+=h}return l/i},t}();r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/OneDReader.js"}],[3730,{"../BarcodeFormat":3631,"../NotFoundException":3646,"../Result":3653,"./EAN13Reader":3724,"./UPCEANReader":3734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../BarcodeFormat"),a=t("../Result"),s=t("../NotFoundException"),l=t("./EAN13Reader"),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ean13Reader=new l.default,e}return i(e,t),e.prototype.getBarcodeFormat=function(){return o.default.UPC_A},e.prototype.decode=function(t,e){return this.maybeReturnResult(this.ean13Reader.decode(t))},e.prototype.decodeRow=function(t,e,r){return this.maybeReturnResult(this.ean13Reader.decodeRow(t,e,r))},e.prototype.decodeMiddle=function(t,e,r){return this.ean13Reader.decodeMiddle(t,e,r)},e.prototype.maybeReturnResult=function(t){var e=t.getText();if("0"===e.charAt(0)){var r=new a.default(e.substring(1),null,null,t.getResultPoints(),o.default.UPC_A);return null!=t.getResultMetadata()&&r.putAllMetadata(t.getResultMetadata()),r}throw new s.default},e.prototype.reset=function(){this.ean13Reader.reset()},e}(t("./UPCEANReader").default);r.default=u}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCAReader.js"}],[3731,{"../BarcodeFormat":3631,"../NotFoundException":3646,"../Result":3653,"../ResultMetadataType":3654,"../ResultPoint":3655,"./AbstractUPCEANReader":3719},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../BarcodeFormat"),o=t("./AbstractUPCEANReader"),a=t("../Result"),s=t("../ResultPoint"),l=t("../ResultMetadataType"),u=t("../NotFoundException"),c=function(){function t(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,r,n){var o=this.decodeRowStringBuffer,l=this.decodeMiddle(r,n,o),u=o.toString(),c=t.parseExtensionString(u),d=[new s.default((n[0]+n[1])/2,e),new s.default(l,e)],h=new a.default(u,null,0,d,i.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&h.putAllMetadata(c),h},t.prototype.decodeMiddle=function(t,e,r){var i,a,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var l=t.getSize(),c=e[1],d=0,h=0;h<2&&c=10&&(d|=1<<1-h),1!==h&&(c=t.getNextSet(c),c=t.getNextUnset(c))}if(2!==r.length)throw new u.default;if(parseInt(r.toString())%4!==d)throw new u.default;return c},t.parseExtensionString=function(t){return 2!==t.length?null:new Map([[l.default.ISSUE_NUMBER,parseInt(t)]])},t}();r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCEANExtension2Support.js"}],[3732,{"../BarcodeFormat":3631,"../NotFoundException":3646,"../Result":3653,"../ResultMetadataType":3654,"../ResultPoint":3655,"./AbstractUPCEANReader":3719},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../BarcodeFormat"),o=t("./AbstractUPCEANReader"),a=t("../Result"),s=t("../ResultPoint"),l=t("../ResultMetadataType"),u=t("../NotFoundException"),c=function(){function t(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,r,n){var o=this.decodeRowStringBuffer,l=this.decodeMiddle(r,n,o),u=o.toString(),c=t.parseExtensionString(u),d=[new s.default((n[0]+n[1])/2,e),new s.default(l,e)],h=new a.default(u,null,0,d,i.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=c&&h.putAllMetadata(c),h},t.prototype.decodeMiddle=function(e,r,i){var a,s,l=this.decodeMiddleCounters;l[0]=0,l[1]=0,l[2]=0,l[3]=0;for(var c=e.getSize(),d=r[1],h=0,f=0;f<5&&d=10&&(h|=1<<4-f),4!==f&&(d=e.getNextSet(d),d=e.getNextUnset(d))}if(5!==i.length)throw new u.default;var y=this.determineCheckDigit(h);if(t.extensionChecksum(i.toString())!==y)throw new u.default;return d},t.extensionChecksum=function(t){for(var e=t.length,r=0,n=e-2;n>=0;n-=2)r+=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);r*=3;for(n=e-1;n>=0;n-=2)r+=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0);return(r*=3)%10},t.prototype.determineCheckDigit=function(t){for(var e=0;e<10;e++)if(t===this.CHECK_DIGIT_ENCODINGS[e])return e;throw new u.default},t.parseExtensionString=function(e){if(5!==e.length)return null;var r=t.parseExtension5String(e);return null==r?null:new Map([[l.default.SUGGESTED_PRICE,r]])},t.parseExtension5String=function(t){var e;switch(t.charAt(0)){case"0":e="ยฃ";break;case"5":e="$";break;case"9":switch(t){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}e="";break;default:e=""}var r=parseInt(t.substring(1)),n=r%100;return e+(r/100).toString()+"."+(n<10?"0"+n:n.toString())},t}();r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCEANExtension5Support.js"}],[3733,{"./AbstractUPCEANReader":3719,"./UPCEANExtension2Support":3731,"./UPCEANExtension5Support":3732},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("./AbstractUPCEANReader"),i=t("./UPCEANExtension5Support"),o=t("./UPCEANExtension2Support"),a=function(){function t(){}return t.decodeRow=function(t,e,r){var a=n.default.findGuardPattern(e,r,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new i.default).decodeRow(t,e,a)}catch(r){return(new o.default).decodeRow(t,e,a)}},t.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCEANExtensionSupport.js"}],[3734,{"../BarcodeFormat":3631,"../ChecksumException":3634,"../DecodeHintType":3635,"../FormatException":3638,"../NotFoundException":3646,"../Result":3653,"../ResultMetadataType":3654,"../ResultPoint":3655,"./AbstractUPCEANReader":3719,"./UPCEANExtensionSupport":3733},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("../BarcodeFormat"),a=t("../DecodeHintType"),s=t("../Result"),l=t("../ResultMetadataType"),u=t("../ResultPoint"),c=t("./UPCEANExtensionSupport"),d=t("./AbstractUPCEANReader"),h=t("../NotFoundException"),f=t("../FormatException"),p=t("../ChecksumException"),g=function(t){function e(){var r=t.call(this)||this;r.decodeRowStringBuffer="",e.L_AND_G_PATTERNS=e.L_PATTERNS.map((function(t){return Int32Array.from(t)}));for(var n=10;n<20;n++){for(var i=e.L_PATTERNS[n-10],o=new Int32Array(i.length),a=0;a=r.getSize()||!r.isRange(A,x,!1))throw new h.default;var C=b.toString();if(C.length<8)throw new f.default;if(!e.checkChecksum(C))throw new p.default;var E=(i[1]+i[0])/2,S=(w[1]+w[0])/2,T=this.getBarcodeFormat(),I=[new u.default(E,t),new u.default(S,t)],D=new s.default(C,null,0,I,T,(new Date).getTime()),O=0;try{var R=c.default.decodeRow(t,r,w[1]);D.putMetadata(l.default.UPC_EAN_EXTENSION,R.getText()),D.putAllMetadata(R.getResultMetadata()),D.addResultPoints(R.getResultPoints()),O=R.getText().length}catch(t){}var P=null==n?null:n.get(a.default.ALLOWED_EAN_EXTENSIONS);if(null!=P){var M=!1;for(var N in P)if(O.toString()===N){M=!0;break}if(!M)throw new h.default}return T===o.default.EAN_13||o.default.UPC_A,D},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var r=t.length;if(0===r)return!1;var n=parseInt(t.charAt(r-1),10);return e.getStandardUPCEANChecksum(t.substring(0,r-1))===n},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,r=0,n=e-1;n>=0;n-=2){if((i=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new f.default;r+=i}r*=3;for(n=e-2;n>=0;n-=2){var i;if((i=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new f.default;r+=i}return(1e3-r)%10},e.decodeEnd=function(t,r){return e.findGuardPattern(t,r,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e}(d.default);r.default=g}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCEANReader.js"}],[3735,{"../BarcodeFormat":3631,"../NotFoundException":3646,"../util/StringBuilder":3820,"./UPCEANReader":3734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("./UPCEANReader"),s=t("../util/StringBuilder"),l=t("../NotFoundException"),u=t("../BarcodeFormat"),c=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=new Int32Array(4),e}return i(e,t),e.prototype.decodeMiddle=function(t,r,n){var i,a,l=this.decodeMiddleCounters.map((function(t){return t}));l[0]=0,l[1]=0,l[2]=0,l[3]=0;for(var u=t.getSize(),c=r[1],d=0,h=0;h<6&&c=10&&(d|=1<<5-h)}return e.determineNumSysAndCheckDigit(new s.default(n),d),c},e.prototype.decodeEnd=function(t,r){return e.findGuardPatternWithoutCounters(t,r,!0,e.MIDDLE_END_PATTERN)},e.prototype.checkChecksum=function(t){return a.default.checkChecksum(e.convertUPCEtoUPCA(t))},e.determineNumSysAndCheckDigit=function(t,e){for(var r=0;r<=1;r++)for(var n=0;n<10;n++)if(e===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[r][n])return t.insert(0,"0"+r),void t.append("0"+n);throw l.default.getNotFoundInstance()},e.prototype.getBarcodeFormat=function(){return u.default.UPC_E},e.convertUPCEtoUPCA=function(t){var e=t.slice(1,7).split("").map((function(t){return t.charCodeAt(0)})),r=new s.default;r.append(t.charAt(0));var n=e[5];switch(n){case 0:case 1:case 2:r.appendChars(e,0,2),r.append(n),r.append("0000"),r.appendChars(e,2,3);break;case 3:r.appendChars(e,0,3),r.append("00000"),r.appendChars(e,3,2);break;case 4:r.appendChars(e,0,4),r.append("00000"),r.append(e[4]);break;default:r.appendChars(e,0,5),r.append("0000"),r.append(n)}return t.length>=8&&r.append(t.charAt(7)),r.toString()},e.MIDDLE_END_PATTERN=Int32Array.from([1,1,1,1,1,1]),e.NUMSYS_AND_CHECK_DIGIT_PATTERNS=[Int32Array.from([56,52,50,49,44,38,35,42,41,37]),Int32Array.from([7,11,13,14,19,25,28,21,22,1])],e}(a.default);r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/UPCEReader.js"}],[3736,{"../../NotFoundException":3646,"../../common/detector/MathUtils":3690,"../OneDReader":3729},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../../common/detector/MathUtils"),s=t("../../NotFoundException"),l=t("../OneDReader"),u=function(t){function e(){var e=t.call(this)||this;return e.decodeFinderCounters=new Int32Array(4),e.dataCharacterCounters=new Int32Array(8),e.oddRoundingErrors=new Array(4),e.evenRoundingErrors=new Array(4),e.oddCounts=new Array(e.dataCharacterCounters.length/2),e.evenCounts=new Array(e.dataCharacterCounters.length/2),e}return i(e,t),e.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},e.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},e.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},e.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},e.prototype.getOddCounts=function(){return this.oddCounts},e.prototype.getEvenCounts=function(){return this.evenCounts},e.prototype.parseFinderValue=function(t,r){for(var n=0;nn&&(n=e[i],r=i);t[r]++},e.decrement=function(t,e){for(var r=0,n=e[0],i=1;i=e.MIN_FINDER_PATTERN_RATIO&&a<=e.MAX_FINDER_PATTERN_RATIO){var s=Number.MAX_SAFE_INTEGER,l=Number.MIN_SAFE_INTEGER;try{for(var u=o(t),c=u.next();!c.done;c=u.next()){var d=c.value;d>l&&(l=d),d=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("./AbstractRSSReader"),s=t("./Pair"),l=t("../../Result"),u=t("../../DecodeHintType"),c=t("../../NotFoundException"),d=t("../../util/StringBuilder"),h=t("../../BarcodeFormat"),f=t("../../ResultPoint"),p=t("./FinderPattern"),g=t("./DataCharacter"),m=t("../../common/detector/MathUtils"),y=t("./RSSUtils"),b=t("../../util/System"),v=t("../OneDReader"),w=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.possibleLeftPairs=[],e.possibleRightPairs=[],e}return i(e,t),e.prototype.decodeRow=function(t,r,n){var i,a,s,l,u=this.decodePair(r,!1,t,n);e.addOrTally(this.possibleLeftPairs,u),r.reverse();var d=this.decodePair(r,!0,t,n);e.addOrTally(this.possibleRightPairs,d),r.reverse();try{for(var h=o(this.possibleLeftPairs),f=h.next();!f.done;f=h.next()){var p=f.value;if(p.getCount()>1)try{for(var g=(s=void 0,o(this.possibleRightPairs)),m=g.next();!m.done;m=g.next()){var y=m.value;if(y.getCount()>1&&e.checkChecksum(p,y))return e.constructResult(p,y)}}catch(t){s={error:t}}finally{try{m&&!m.done&&(l=g.return)&&l.call(g)}finally{if(s)throw s.error}}}}catch(t){i={error:t}}finally{try{f&&!f.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}throw new c.default},e.addOrTally=function(t,e){var r,n;if(null!=e){var i=!1;try{for(var a=o(t),s=a.next();!s.done;s=a.next()){var l=s.value;if(l.getValue()===e.getValue()){l.incrementCount(),i=!0;break}}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}i||t.push(e)}},e.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},e.constructResult=function(t,e){for(var r=4537077*t.getValue()+e.getValue(),n=new String(r).toString(),i=new d.default,o=13-n.length;o>0;o--)i.append("0");i.append(n);var a=0;for(o=0;o<13;o++){var s=i.charAt(o).charCodeAt(0)-"0".charCodeAt(0);a+=1&o?s:3*s}10===(a=10-a%10)&&(a=0),i.append(a.toString());var u=t.getFinderPattern().getResultPoints(),c=e.getFinderPattern().getResultPoints();return new l.default(i.toString(),null,0,[u[0],u[1],c[0],c[1]],h.default.RSS_14,(new Date).getTime())},e.checkChecksum=function(t,e){var r=(t.getChecksumPortion()+16*e.getChecksumPortion())%79,n=9*t.getFinderPattern().getValue()+e.getFinderPattern().getValue();return n>72&&n--,n>8&&n--,r===n},e.prototype.decodePair=function(t,e,r,n){try{var i=this.findFinderPattern(t,e),o=this.parseFoundFinderPattern(t,r,e,i),a=null==n?null:n.get(u.default.NEED_RESULT_POINT_CALLBACK);if(null!=a){var l=(i[0]+i[1])/2;e&&(l=t.getSize()-1-l),a.foundPossibleResultPoint(new f.default(l,r))}var c=this.decodeDataCharacter(t,o,!0),d=this.decodeDataCharacter(t,o,!1);return new s.default(1597*c.getValue()+d.getValue(),c.getChecksumPortion()+4*d.getChecksumPortion(),o)}catch(t){return null}},e.prototype.decodeDataCharacter=function(t,r,n){for(var i=this.getDataCharacterCounters(),o=0;o8&&(_=8);var A=Math.floor(a/2);1&a?(f[A]=_,b[A]=w-_):(h[A]=_,p[A]=w-_)}this.adjustOddEvenCounts(n,u);var x=0,C=0;for(a=h.length-1;a>=0;a--)C*=9,C+=h[a],x+=h[a];var E=0,S=0;for(a=f.length-1;a>=0;a--)E*=9,E+=f[a],S+=f[a];var T=C+3*E;if(n){if(1&x||x>12||x<4)throw new c.default;var I=(12-x)/2,D=9-(N=e.OUTSIDE_ODD_WIDEST[I]),O=y.default.getRSSvalue(h,N,!1),R=y.default.getRSSvalue(f,D,!0),P=e.OUTSIDE_EVEN_TOTAL_SUBSET[I],M=e.OUTSIDE_GSUM[I];return new g.default(O*P+R+M,T)}if(1&S||S>10||S<4)throw new c.default;I=(10-S)/2,D=9-(N=e.INSIDE_ODD_WIDEST[I]),O=y.default.getRSSvalue(h,N,!0),R=y.default.getRSSvalue(f,D,!1);var N,k=e.INSIDE_ODD_TOTAL_SUBSET[I];M=e.INSIDE_GSUM[I];return new g.default(R*k+O+M,T)},e.prototype.findFinderPattern=function(t,e){var r=this.getDecodeFinderCounters();r[0]=0,r[1]=0,r[2]=0,r[3]=0;for(var n=t.getSize(),i=!1,o=0;o=0&&o!==t.get(a);)a--;a++;var s=i[0]-a,l=this.getDecodeFinderCounters(),u=new Int32Array(l.length);b.default.arraycopy(l,0,u,1,l.length-1),u[0]=s;var c=this.parseFinderValue(u,e.FINDER_PATTERNS),d=a,h=i[1];return n&&(d=t.getSize()-1-d,h=t.getSize()-1-h),new p.default(c,[a,i[1]],d,h,r)},e.prototype.adjustOddEvenCounts=function(t,e){var r=m.default.sum(new Int32Array(this.getOddCounts())),n=m.default.sum(new Int32Array(this.getEvenCounts())),i=!1,o=!1,s=!1,l=!1;t?(r>12?o=!0:r<4&&(i=!0),n>12?l=!0:n<4&&(s=!0)):(r>11?o=!0:r<5&&(i=!0),n>10?l=!0:n<4&&(s=!0));var u=r+n-e,d=(1&r)==(t?1:0),h=!(1&~n);if(1===u)if(d){if(h)throw new c.default;o=!0}else{if(!h)throw new c.default;l=!0}else if(-1===u)if(d){if(h)throw new c.default;i=!0}else{if(!h)throw new c.default;s=!0}else{if(0!==u)throw new c.default;if(d){if(!h)throw new c.default;r=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function t(){}return t.getRSSvalue=function(e,r,i){var o,a,s=0;try{for(var l=n(e),u=l.next();!u.done;u=l.next()){s+=u.value}}catch(t){o={error:t}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(o)throw o.error}}for(var c=0,d=0,h=e.length,f=0;f=h-f-1&&(g-=t.combins(s-p-(h-f),h-f-2)),h-f-1>1){for(var m=0,y=s-p-(h-f-2);y>r;y--)m+=t.combins(s-p-y-1,h-f-3);g-=m*(h-1-f)}else s-p>r&&g--;c+=g}s-=p}return c},t.combins=function(t,e){var r,n;t-e>e?(n=e,r=t-e):(n=t-e,r=e);for(var i=1,o=1,a=t;a>r;a--)i*=a,o<=n&&(i/=o,o++);for(;o<=n;)i/=o,o++;return i},t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/RSSUtils.js"}],[3742,{"../../../common/BitArray":3675},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../../common/BitArray"),i=function(){function t(){}return t.buildBitArray=function(t){var e=2*t.length-1;null==t[t.length-1].getRightChar()&&(e-=1);for(var r=12*e,i=new n.default(r),o=0,a=t[0].getRightChar().getValue(),s=11;s>=0;--s)a&1<=0;--c)u&1<=0;--c)d&1<=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../../../BarcodeFormat"),s=t("../../../common/detector/MathUtils"),l=t("../../../NotFoundException"),u=t("../../../Result"),c=t("../../../util/System"),d=t("../../rss/AbstractRSSReader"),h=t("../../rss/DataCharacter"),f=t("../../rss/FinderPattern"),p=t("../../rss/RSSUtils"),g=t("./BitArrayBuilder"),m=t("./decoders/AbstractExpandedDecoderComplement"),y=t("./ExpandedPair"),b=t("./ExpandedRow"),v=function(t){function e(){var r=null!==t&&t.apply(this,arguments)||this;return r.pairs=new Array(e.MAX_PAIRS),r.rows=new Array,r.startEnd=[2],r}return i(e,t),e.prototype.decodeRow=function(t,r,n){this.pairs.length=0,this.startFromEven=!1;try{return e.constructResult(this.decodeRow2pairs(t,r))}catch(t){}return this.pairs.length=0,this.startFromEven=!0,e.constructResult(this.decodeRow2pairs(t,r))},e.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},e.prototype.decodeRow2pairs=function(t,e){for(var r,n=!1;!n;)try{this.pairs.push(this.retrieveNextPair(e,this.pairs,t))}catch(t){if(t instanceof l.default){if(!this.pairs.length)throw new l.default;n=!0}}if(this.checkChecksum())return this.pairs;if(r=!!this.rows.length,this.storeRow(t,!1),r){var i=this.checkRowsBoolean(!1);if(null!=i)return i;if(null!=(i=this.checkRowsBoolean(!0)))return i}throw new l.default},e.prototype.checkRowsBoolean=function(t){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,t&&(this.rows=this.rows.reverse());var e=null;try{e=this.checkRows(new Array,0)}catch(t){console.log(t)}return t&&(this.rows=this.rows.reverse()),e},e.prototype.checkRows=function(t,r){for(var n,i,a=r;as.length)){for(var l=!0,u=0;ut){o=a.isEquivalent(this.pairs);break}i=a.isEquivalent(this.pairs),n++}o||i||e.isPartialRow(this.pairs,this.rows)||(this.rows.push(n,new b.default(this.pairs,t,r)),this.removePartialRows(this.pairs,this.rows))},e.prototype.removePartialRows=function(t,e){var r,n,i,a,s,l;try{for(var u=o(e),c=u.next();!c.done;c=u.next()){var d=c.value;if(d.getPairs().length!==t.length){try{for(var h=(i=void 0,o(d.getPairs())),f=h.next();!f.done;f=h.next()){var p=f.value,g=!1;try{for(var m=(s=void 0,o(t)),b=m.next();!b.done;b=m.next()){var v=b.value;if(y.default.equals(p,v)){g=!0;break}}}catch(t){s={error:t}}finally{try{b&&!b.done&&(l=m.return)&&l.call(m)}finally{if(s)throw s.error}}g||!1}}catch(t){i={error:t}}finally{try{f&&!f.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}}}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}},e.isPartialRow=function(t,e){var r,n,i,a,s,l;try{for(var u=o(e),c=u.next();!c.done;c=u.next()){var d=c.value,h=!0;try{for(var f=(i=void 0,o(t)),p=f.next();!p.done;p=f.next()){var g=p.value,m=!1;try{for(var y=(s=void 0,o(d.getPairs())),b=y.next();!b.done;b=y.next()){var v=b.value;if(g.equals(v)){m=!0;break}}}catch(t){s={error:t}}finally{try{b&&!b.done&&(l=y.return)&&l.call(y)}finally{if(s)throw s.error}}if(!m){h=!1;break}}}catch(t){i={error:t}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}if(h)return!0}}catch(t){r={error:t}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return!1},e.prototype.getRows=function(){return this.rows},e.constructResult=function(t){var e=g.default.buildBitArray(t),r=m.createDecoder(e).parseInformation(),n=t[0].getFinderPattern().getResultPoints(),i=t[t.length-1].getFinderPattern().getResultPoints(),o=[n[0],n[1],i[0],i[1]];return new u.default(r,null,null,o,a.default.RSS_EXPANDED,null)},e.prototype.checkChecksum=function(){var t=this.pairs.get(0),e=t.getLeftChar(),r=t.getRightChar();if(null===r)return!1;for(var n=r.getChecksumPortion(),i=2,o=1;o=0)o=n;else if(this.isEmptyPair(r))o=0;else{o=r[r.length-1].getFinderPattern().getStartEnd()[1]}var s=r.length%2!=0;this.startFromEven&&(s=!s);for(var u=!1;o=0&&!t.get(s);)s--;s++,i=this.startEnd[0]-s,o=s,a=this.startEnd[1]}else o=this.startEnd[0],i=(a=t.getNextUnset(this.startEnd[1]+1))-this.startEnd[1];var l,u=this.getDecodeFinderCounters();c.default.arraycopy(u,0,u,1,u.length-1),u[0]=i;try{l=this.parseFinderValue(u,e.FINDER_PATTERNS)}catch(t){return null}return new f.default(l,[o,a],o,a,r)},e.prototype.decodeDataCharacter=function(t,r,n,i){for(var o=this.getDataCharacterCounters(),a=0;a.3)throw new l.default;var m=this.getOddCounts(),y=this.getEvenCounts(),b=this.getOddRoundingErrors(),v=this.getEvenRoundingErrors();for(u=0;u8){if(w>8.7)throw new l.default;_=8}var A=u/2;1&u?(y[A]=_,v[A]=w-_):(m[A]=_,b[A]=w-_)}this.adjustOddEvenCounts(17);var x=4*r.getValue()+(n?0:2)+(i?0:1)-1,C=0,E=0;for(u=m.length-1;u>=0;u--){if(e.isNotA1left(r,n,i)){var S=e.WEIGHTS[x][2*u];E+=m[u]*S}C+=m[u]}var T=0;for(u=y.length-1;u>=0;u--)if(e.isNotA1left(r,n,i)){S=e.WEIGHTS[x][2*u+1];T+=y[u]*S}var I=E+T;if(1&C||C>13||C<4)throw new l.default;var D=(13-C)/2,O=e.SYMBOL_WIDEST[D],R=9-O,P=p.default.getRSSvalue(m,O,!0),M=p.default.getRSSvalue(y,R,!1),N=P*e.EVEN_TOTAL_SUBSET[D]+M+e.GSUM[D];return new h.default(N,I)},e.isNotA1left=function(t,e,r){return!(0===t.getValue()&&e&&r)},e.prototype.adjustOddEvenCounts=function(t){var r=s.default.sum(new Int32Array(this.getOddCounts())),n=s.default.sum(new Int32Array(this.getEvenCounts())),i=!1,o=!1;r>13?o=!0:r<4&&(i=!0);var a=!1,u=!1;n>13?u=!0:n<4&&(a=!0);var c=r+n-t,d=!(1&~r),h=!(1&n);if(1===c)if(d){if(h)throw new l.default;o=!0}else{if(!h)throw new l.default;u=!0}else if(-1===c)if(d){if(h)throw new l.default;i=!0}else{if(!h)throw new l.default;a=!0}else{if(0!==c)throw new l.default;if(d){if(!h)throw new l.default;r10||n<0||n>10)throw new o.default;return i.firstDigit=r,i.secondDigit=n,i}return i(e,t),e.prototype.getFirstDigit=function(){return this.firstDigit},e.prototype.getSecondDigit=function(){return this.secondDigit},e.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},e.prototype.isFirstDigitFNC1=function(){return this.firstDigit===e.FNC1},e.prototype.isSecondDigitFNC1=function(){return this.secondDigit===e.FNC1},e.prototype.isAnyFNC1=function(){return this.firstDigit===e.FNC1||this.secondDigit===e.FNC1},e.FNC1=10,e}(t("./DecodedObject").default);r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/DecodedNumeric.js"}],[3762,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t){this.newPosition=t}return t.prototype.getNewPosition=function(){return this.newPosition},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/oned/rss/expanded/decoders/DecodedObject.js"}],[3763,{"../../../../NotFoundException":3646},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../../../NotFoundException"),o=function(){function t(){}return t.parseFieldsInGeneralPurpose=function(e){var r,o,a,s,l,u,c,d;if(!e)return null;if(e.length<2)throw new i.default;var h=e.substring(0,2);try{for(var f=n(t.TWO_DIGIT_DATA_LENGTH),p=f.next();!p.done;p=f.next()){if((x=p.value)[0]===h)return x[1]===t.VARIABLE_LENGTH?t.processVariableAI(2,x[2],e):t.processFixedAI(2,x[1],e)}}catch(t){r={error:t}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}if(e.length<3)throw new i.default;var g=e.substring(0,3);try{for(var m=n(t.THREE_DIGIT_DATA_LENGTH),y=m.next();!y.done;y=m.next()){if((x=y.value)[0]===g)return x[1]===t.VARIABLE_LENGTH?t.processVariableAI(3,x[2],e):t.processFixedAI(3,x[1],e)}}catch(t){a={error:t}}finally{try{y&&!y.done&&(s=m.return)&&s.call(m)}finally{if(a)throw a.error}}try{for(var b=n(t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),v=b.next();!v.done;v=b.next()){if((x=v.value)[0]===g)return x[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,x[2],e):t.processFixedAI(4,x[1],e)}}catch(t){l={error:t}}finally{try{v&&!v.done&&(u=b.return)&&u.call(b)}finally{if(l)throw l.error}}if(e.length<4)throw new i.default;var w=e.substring(0,4);try{for(var _=n(t.FOUR_DIGIT_DATA_LENGTH),A=_.next();!A.done;A=_.next()){var x;if((x=A.value)[0]===w)return x[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,x[2],e):t.processFixedAI(4,x[1],e)}}catch(t){c={error:t}}finally{try{A&&!A.done&&(d=_.return)&&d.call(_)}finally{if(c)throw c.error}}throw new i.default},t.processFixedAI=function(e,r,n){if(n.lengththis.information.getSize())return t+4<=this.information.getSize();for(var e=t;ethis.information.getSize()){var e=this.extractNumericValueFromBitArray(t,4);return 0===e?new u.default(this.information.getSize(),u.default.FNC1,u.default.FNC1):new u.default(this.information.getSize(),e-1,u.default.FNC1)}var r=this.extractNumericValueFromBitArray(t,7),n=(r-8)/11,i=(r-8)%11;return new u.default(t+7,n,i)},t.prototype.extractNumericValueFromBitArray=function(e,r){return t.extractNumericValueFromBitArray(this.information,e,r)},t.extractNumericValueFromBitArray=function(t,e,r){for(var n=0,i=0;ithis.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+7>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(t,7);if(r>=64&&r<116)return!0;if(t+8>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(t,8);return n>=232&&n<253},t.prototype.decodeIsoIec646=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new s.default(t+5,s.default.FNC1);if(e>=5&&e<15)return new s.default(t+5,"0"+(e-5));var r,i=this.extractNumericValueFromBitArray(t,7);if(i>=64&&i<90)return new s.default(t+7,""+(i+1));if(i>=90&&i<116)return new s.default(t+7,""+(i+7));switch(this.extractNumericValueFromBitArray(t,8)){case 232:r="!";break;case 233:r='"';break;case 234:r="%";break;case 235:r="&";break;case 236:r="'";break;case 237:r="(";break;case 238:r=")";break;case 239:r="*";break;case 240:r="+";break;case 241:r=",";break;case 242:r="-";break;case 243:r=".";break;case 244:r="/";break;case 245:r=":";break;case 246:r=";";break;case 247:r="<";break;case 248:r="=";break;case 249:r=">";break;case 250:r="?";break;case 251:r="_";break;case 252:r=" ";break;default:throw new n.default}return new s.default(t+8,r)},t.prototype.isStillAlpha=function(t){if(t+5>this.information.getSize())return!1;var e=this.extractNumericValueFromBitArray(t,5);if(e>=5&&e<16)return!0;if(t+6>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(t,6);return r>=16&&r<63},t.prototype.decodeAlphanumeric=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new s.default(t+5,s.default.FNC1);if(e>=5&&e<15)return new s.default(t+5,"0"+(e-5));var r,n=this.extractNumericValueFromBitArray(t,6);if(n>=32&&n<58)return new s.default(t+6,""+(n+33));switch(n){case 58:r="*";break;case 59:r=",";break;case 60:r="-";break;case 61:r=".";break;case 62:r="/";break;default:throw new i.default("Decoding invalid alphanumeric value: "+n)}return new s.default(t+6,r)},t.prototype.isAlphaTo646ToAlphaLatch=function(t){if(t+1>this.information.getSize())return!1;for(var e=0;e<5&&e+tthis.information.getSize())return!1;for(var e=t;ethis.information.getSize())return!1;for(var e=0;e<4&&e+t=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../util/Arrays"),o=t("../common/detector/MathUtils"),a=function(){function t(){}return t.prototype.PDF417Common=function(){},t.getBitCountSum=function(t){return o.default.sum(t)},t.toIntArray=function(e){var r,i;if(null==e||!e.length)return t.EMPTY_INT_ARRAY;var o=new Int32Array(e.length),a=0;try{for(var s=n(e),l=s.next();!l.done;l=s.next()){var u=l.value;o[a++]=u}}catch(t){r={error:t}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return o},t.getCodeword=function(e){var r=i.default.binarySearch(t.SYMBOL_TABLE,262143&e);return r<0?-1:(t.CODEWORD_TABLE[r]-1)%t.NUMBER_OF_CODEWORDS},t.NUMBER_OF_CODEWORDS=929,t.MAX_CODEWORDS_IN_BARCODE=t.NUMBER_OF_CODEWORDS-1,t.MIN_ROWS_IN_BARCODE=3,t.MAX_ROWS_IN_BARCODE=90,t.MODULES_IN_CODEWORD=17,t.MODULES_IN_STOP_PATTERN=18,t.BARS_IN_MODULE=8,t.EMPTY_INT_ARRAY=new Int32Array([]),t.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),t.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/PDF417Common.js"}],[3766,{"../BarcodeFormat":3631,"../ChecksumException":3634,"../FormatException":3638,"../NotFoundException":3646,"../Result":3653,"../ResultMetadataType":3654,"../util/Integer":3816,"./PDF417Common":3765,"./decoder/PDF417ScanningDecoder":3777,"./detector/Detector":3782},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../BarcodeFormat"),o=t("../ChecksumException"),a=t("../FormatException"),s=t("../NotFoundException"),l=t("../Result"),u=t("./PDF417Common"),c=t("../util/Integer"),d=t("../ResultMetadataType"),h=t("./detector/Detector"),f=t("./decoder/PDF417ScanningDecoder"),p=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 s.default.getNotFoundInstance();return n[0]},t.prototype.decodeMultiple=function(e,r){void 0===r&&(r=null);try{return t.decode(e,r,!0)}catch(t){if(t instanceof a.default||t instanceof o.default)throw s.default.getNotFoundInstance();throw t}},t.decode=function(e,r,o){var a,s,u=new Array,c=h.default.detectMultiple(e,r,o);try{for(var p=n(c.getPoints()),g=p.next();!g.done;g=p.next()){var m=g.value,y=f.default.decode(c.getBits(),m[4],m[5],m[6],m[7],t.getMinCodewordWidth(m),t.getMaxCodewordWidth(m)),b=new l.default(y.getText(),y.getRawBytes(),undefined,m,i.default.PDF_417);b.putMetadata(d.default.ERROR_CORRECTION_LEVEL,y.getECLevel());var v=y.getOther();null!=v&&b.putMetadata(d.default.PDF417_EXTRA_METADATA,v),u.push(b)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}return u.map((function(t){return t}))},t.getMaxWidth=function(t,e){return null==t||null==e?0:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMinWidth=function(t,e){return null==t||null==e?c.default.MAX_VALUE:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMaxCodewordWidth=function(e){return Math.floor(Math.max(Math.max(t.getMaxWidth(e[0],e[4]),t.getMaxWidth(e[6],e[2])*u.default.MODULES_IN_CODEWORD/u.default.MODULES_IN_STOP_PATTERN),Math.max(t.getMaxWidth(e[1],e[5]),t.getMaxWidth(e[7],e[3])*u.default.MODULES_IN_CODEWORD/u.default.MODULES_IN_STOP_PATTERN)))},t.getMinCodewordWidth=function(e){return Math.floor(Math.min(Math.min(t.getMinWidth(e[0],e[4]),t.getMinWidth(e[6],e[2])*u.default.MODULES_IN_CODEWORD/u.default.MODULES_IN_STOP_PATTERN),Math.min(t.getMinWidth(e[1],e[5]),t.getMinWidth(e[7],e[3])*u.default.MODULES_IN_CODEWORD/u.default.MODULES_IN_STOP_PATTERN)))},t.prototype.reset=function(){},t}();r.default=p}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/PDF417Reader.js"}],[3767,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}return t.prototype.getSegmentIndex=function(){return this.segmentIndex},t.prototype.setSegmentIndex=function(t){this.segmentIndex=t},t.prototype.getFileId=function(){return this.fileId},t.prototype.setFileId=function(t){this.fileId=t},t.prototype.getOptionalData=function(){return this.optionalData},t.prototype.setOptionalData=function(t){this.optionalData=t},t.prototype.isLastSegment=function(){return this.lastSegment},t.prototype.setLastSegment=function(t){this.lastSegment=t},t.prototype.getSegmentCount=function(){return this.segmentCount},t.prototype.setSegmentCount=function(t){this.segmentCount=t},t.prototype.getSender=function(){return this.sender||null},t.prototype.setSender=function(t){this.sender=t},t.prototype.getAddressee=function(){return this.addressee||null},t.prototype.setAddressee=function(t){this.addressee=t},t.prototype.getFileName=function(){return this.fileName},t.prototype.setFileName=function(t){this.fileName=t},t.prototype.getFileSize=function(){return this.fileSize},t.prototype.setFileSize=function(t){this.fileSize=t},t.prototype.getChecksum=function(){return this.checksum},t.prototype.setChecksum=function(t){this.checksum=t},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.setTimestamp=function(t){this.timestamp=t},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/PDF417ResultMetadata.js"}],[3768,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t,e,r,n){this.columnCount=t,this.errorCorrectionLevel=n,this.rowCountUpperPart=e,this.rowCountLowerPart=r,this.rowCount=e+r}return t.prototype.getColumnCount=function(){return this.columnCount},t.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},t.prototype.getRowCount=function(){return this.rowCount},t.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},t.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/BarcodeMetadata.js"}],[3769,{"../PDF417Common":3765},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(r,"__esModule",{value:!0});var o=t("../PDF417Common"),a=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,a=new Array,s=function(t,e){var n=function(){return t},i=function(){return e};i()>r?(r=i(),(a=[]).push(n())):i()===r&&a.push(n())};try{for(var l=n(this.values.entries()),u=l.next();!u.done;u=l.next()){var c=i(u.value,2);s(c[0],c[1])}}catch(e){t={error:e}}finally{try{u&&!u.done&&(e=l.return)&&e.call(l)}finally{if(t)throw t.error}}return o.default.toIntArray(a)},t.prototype.getConfidence=function(t){return this.values.get(t)},t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/BarcodeValue.js"}],[377,{"./toPropertyKey.js":399},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./toPropertyKey.js");function i(t,e){for(var r=0;r0){var u=n?this.topLeft:this.topRight,c=Math.trunc(u.getY()-e);c<0&&(c=0);var d=new i.default(u.getX(),c);n?o=d:s=d}if(r>0){var h=n?this.bottomLeft:this.bottomRight,f=Math.trunc(h.getY()+r);f>=this.image.getHeight()&&(f=this.image.getHeight()-1);var p=new i.default(h.getX(),f);n?a=p:l=p}return new t(this.image,o,a,s,l)},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}();r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/BoundingBox.js"}],[3771,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(e,r,n,i){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(i)}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}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/Codeword.js"}],[3772,{"../../FormatException":3638,"../../common/CharacterSetECI":3678,"../../common/DecoderResult":3679,"../../util/Arrays":3810,"../../util/ByteArrayOutputStream":3811,"../../util/Integer":3816,"../../util/Long":3817,"../../util/StringBuilder":3820,"../../util/StringEncoding":3821,"../PDF417ResultMetadata":3767},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i,o=t("../../FormatException"),a=t("../../common/CharacterSetECI"),s=t("../../common/DecoderResult"),l=t("../PDF417ResultMetadata"),u=t("../../util/Arrays"),c=t("../../util/StringBuilder"),d=t("../../util/Integer"),h=t("../../util/Long"),f=t("../../util/ByteArrayOutputStream"),p=t("../../util/StringEncoding");function g(){if("undefined"!=typeof window)return window.BigInt||null;if("undefined"!=typeof global)return global.BigInt||null;if("undefined"!=typeof self)return self.BigInt||null;throw new Error("Can't search globals for BigInt!")}function m(t){if(void 0===i&&(i=g()),null===i)throw new Error("BigInt is not supported!");return i(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 y=function(){function t(){}return t.decode=function(e,r){var n=new c.default(""),i=a.default.ISO8859_1;n.enableDecoding(i);for(var u=1,d=e[u++],h=new l.default;ue[0])throw o.default.getFormatInstance();for(var i=new Int32Array(t.NUMBER_OF_SEQUENCE_CODEWORDS),a=0;a0){for(var h=0;h<6;++h)a.write(Number(m(l)>>m(8*(5-h))));l=0,s=0}}i===r[0]&&d0){for(h=0;h<6;++h)a.write(Number(m(l)>>m(8*(5-h))));l=0,s=0}}}return o.append(p.default.decode(a.toByteArray(),n)),i},t.numericCompaction=function(e,r,n){for(var i=0,o=!1,a=new Int32Array(t.MAX_NUMERIC_CODEWORDS);r0&&(n.append(t.decodeBase900toBase10(a,i)),i=0)}return r},t.decodeBase900toBase10=function(e,r){for(var n=m(0),i=0;i@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",t.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",t.EXP900=g()?function(){var t=[];t[0]=m(1);var e=m(900);t[1]=e;for(var r=2;r<16;r++)t[r]=t[r-1]*e;return t}():[],t.NUMBER_OF_SEQUENCE_CODEWORDS=2,t}();r.default=y}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/DecodedBitStreamParser.js"}],[3773,{"../../util/Formatter":3815,"../PDF417Common":3765},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../PDF417Common"),o=t("../../util/Formatter"),a=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=i.default.MAX_CODEWORDS_IN_BARCODE;do{t=e,e=this.adjustRowNumbersAndGetCount()}while(e>0&&e0&&o0&&(c[0]=i[r-1],c[4]=l[r-1],c[5]=u[r-1]),r>1&&(c[8]=i[r-2],c[10]=l[r-2],c[11]=u[r-2]),r=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../util/Formatter"),o=t("./BoundingBox"),a=function(){function t(t){this.boundingBox=new o.default(t),this.codewords=new Array(t.getMaxY()-t.getMinY()+1)}return t.prototype.getCodewordNearby=function(e){var r=this.getCodeword(e);if(null!=r)return r;for(var n=1;n=0&&null!=(r=this.codewords[i]))return r;if((i=this.imageRowToCodewordIndex(e)+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.")};Object.defineProperty(r,"__esModule",{value:!0});var a=t("../PDF417Common"),s=t("./BarcodeMetadata"),l=t("./DetectionResultColumn"),u=t("./BarcodeValue"),c=function(t){function e(e,r){var n=t.call(this,e)||this;return n._isLeft=r,n}return i(e,t),e.prototype.setRowNumbers=function(){var t,e;try{for(var r=o(this.getCodewords()),n=r.next();!n.done;n=r.next()){var i=n.value;null!=i&&i.setRowNumberAsRowIndicatorColumn()}}catch(e){t={error:e}}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(),i=this._isLeft?r.getBottomLeft():r.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.imageRowToCodewordIndex(Math.trunc(i.getY())),s=-1,l=1,u=0,c=o;c=t.getRowCount()||h>c)e[c]=null;else{for(var f=void 0,p=(f=l>2?(l-2)*h:h)>=c,g=1;g<=f&&!p;g++)p=null!=e[c-g];p?e[c]=null:(s=d.getRowNumber(),u=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 i=o(this.getCodewords()),a=i.next();!a.done;a=i.next()){var s=a.value;if(null!=s){var l=s.getRowNumber();if(l>=n.length)continue;n[l]++}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}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(),i=this.imageRowToCodewordIndex(Math.trunc(r.getY())),o=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.getCodewords(),s=-1,l=1,u=0,c=i;c=t.getRowCount()?a[c]=null:(s=d.getRowNumber(),u=1)}},e.prototype.getBarcodeMetadata=function(){var t,e,r=this.getCodewords(),n=new u.default,i=new u.default,l=new u.default,c=new u.default;try{for(var d=o(r),h=d.next();!h.done;h=d.next()){var f=h.value;if(null!=f){f.setRowNumberAsRowIndicatorColumn();var p=f.getValue()%30,g=f.getRowNumber();switch(this._isLeft||(g+=2),g%3){case 0:i.setValue(3*p+1);break;case 1:c.setValue(p/3),l.setValue(p%3);break;case 2:n.setValue(p+1)}}}}catch(e){t={error:e}}finally{try{h&&!h.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}if(0===n.getValue().length||0===i.getValue().length||0===l.getValue().length||0===c.getValue().length||n.getValue()[0]<1||i.getValue()[0]+l.getValue()[0]a.default.MAX_ROWS_IN_BARCODE)return null;var m=new s.default(n.getValue()[0],i.getValue()[0],l.getValue()[0],c.getValue()[0]);return this.removeIncorrectCodewords(r,m),m},e.prototype.removeIncorrectCodewords=function(t,e){for(var r=0;re.getRowCount())t[r]=null;else switch(this._isLeft||(o+=2),o%3){case 0:3*i+1!==e.getRowCountUpperPart()&&(t[r]=null);break;case 1:Math.trunc(i/3)===e.getErrorCorrectionLevel()&&i%3===e.getRowCountLowerPart()||(t[r]=null);break;case 2:i+1!==e.getColumnCount()&&(t[r]=null)}}}},e.prototype.isLeft=function(){return this._isLeft},e.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+t.prototype.toString.call(this)},e}(l.default);r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/DetectionResultRowIndicatorColumn.js"}],[3776,{"../../common/detector/MathUtils":3690,"../../util/Float":3814,"../PDF417Common":3765},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../common/detector/MathUtils"),i=t("../PDF417Common"),o=t("../../util/Float"),a=function(){function t(){}return t.initialize=function(){for(var e=0;e>=1;n=1&r,t.RATIOS_TABLE[e]||(t.RATIOS_TABLE[e]=new Array(i.default.BARS_IN_MODULE)),t.RATIOS_TABLE[e][i.default.BARS_IN_MODULE-o-1]=Math.fround(a/i.default.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},t.getDecodedValue=function(e){var r=t.getDecodedCodewordValue(t.sampleBitCounts(e));return-1!==r?r:t.getClosestDecodedValue(e)},t.sampleBitCounts=function(t){for(var e=n.default.sum(t),r=new Int32Array(i.default.BARS_IN_MODULE),o=0,a=0,s=0;s1)for(var s=0;s=l)break}d=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../ChecksumException"),o=t("../../FormatException"),a=t("../../NotFoundException"),s=t("../../common/detector/MathUtils"),l=t("../PDF417Common"),u=t("./ec/ErrorCorrection"),c=t("./BoundingBox"),d=t("./DetectionResultRowIndicatorColumn"),h=t("./DetectionResult"),f=t("./DetectionResultColumn"),p=t("./Codeword"),g=t("./BarcodeValue"),m=t("./PDF417CodewordDecoder"),y=t("./DecodedBitStreamParser"),b=t("../../util/Formatter"),v=function(){function t(){}return t.decode=function(e,r,n,i,o,s,l){for(var u,h=new c.default(e,r,n,i,o),p=null,g=null,m=!0;;m=!1){if(null!=r&&(p=t.getRowIndicatorColumn(e,h,r,!0,s,l)),null!=i&&(g=t.getRowIndicatorColumn(e,h,i,!1,s,l)),null==(u=t.merge(p,g)))throw a.default.getNotFoundInstance();var y=u.getBoundingBox();if(!m||null==y||!(y.getMinY()h.getMaxY()))break;h=y}u.setBoundingBox(h);var b=u.getBarcodeColumnCount()+1;u.setDetectionResultColumn(0,p),u.setDetectionResultColumn(b,g);for(var v=null!=p,w=1;w<=b;w++){var _=v?w:b-w;if(u.getDetectionResultColumn(_)===undefined){var A=void 0;A=0===_||_===b?new d.default(h,0===_):new f.default(h),u.setDetectionResultColumn(_,A);for(var x=-1,C=x,E=h.getMinY();E<=h.getMaxY();E++){if((x=t.getStartColumn(u,_,E,v))<0||x>h.getMaxX()){if(-1===C)continue;x=C}var S=t.detectCodeword(e,h.getMinX(),h.getMaxX(),v,x,E,s,l);null!=S&&(A.setCodeword(E,S),C=x,s=Math.min(s,S.getWidth()),l=Math.max(l,S.getWidth()))}}}return t.createDecoderResult(u)},t.merge=function(e,r){if(null==e&&null==r)return null;var n=t.getBarcodeMetadata(e,r);if(null==n)return null;var i=c.default.merge(t.adjustBoundingBox(e),t.adjustBoundingBox(r));return new h.default(n,i)},t.adjustBoundingBox=function(e){var r,i;if(null==e)return null;var o=e.getRowHeights();if(null==o)return null;var a=t.getMax(o),s=0;try{for(var l=n(o),u=l.next();!u.done;u=l.next()){var c=u.value;if(s+=a-c,c>0)break}}catch(t){r={error:t}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}for(var d=e.getCodewords(),h=0;s>0&&null==d[h];h++)s--;var f=0;for(h=o.length-1;h>=0&&(f+=a-o[h],!(o[h]>0));h--);for(h=d.length-1;f>0&&null==d[h];h--)f--;return e.getBoundingBox().addMissingRows(s,f,e.isLeft())},t.getMax=function(t){var e,r,i=-1;try{for(var o=n(t),a=o.next();!a.done;a=o.next()){var s=a.value;i=Math.max(i,s)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return i},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,i,o,a){for(var s=new d.default(r,i),l=0;l<2;l++)for(var u=0===l?1:-1,c=Math.trunc(Math.trunc(n.getX())),h=Math.trunc(Math.trunc(n.getY()));h<=r.getMaxY()&&h>=r.getMinY();h+=u){var f=t.detectCodeword(e,0,e.getWidth(),i,c,h,o,a);null!=f&&(s.setCodeword(h,f),c=i?f.getStartX():f.getEndX())}return s},t.adjustCodewordCount=function(e,r){var n=r[0][1],i=n.getValue(),o=e.getBarcodeColumnCount()*e.getBarcodeRowCount()-t.getNumberOfECCodeWords(e.getBarcodeECLevel());if(0===i.length){if(o<1||o>l.default.MAX_CODEWORDS_IN_BARCODE)throw a.default.getNotFoundInstance();n.setValue(o)}else i[0]!==o&&n.setValue(o)},t.createDecoderResult=function(e){var r=t.createBarcodeMatrix(e);t.adjustCodewordCount(e,r);for(var n=new Array,i=new Int32Array(e.getBarcodeRowCount()*e.getBarcodeColumnCount()),o=[],a=new Array,s=0;s0;){for(var u=0;u=0){if(y>=a.length)continue;a[y][u].setValue(m.getValue())}}}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}u++}}catch(t){e={error:t}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}return a},t.isValidBarcodeColumn=function(t,e){return e>=0&&e<=t.getBarcodeColumnCount()+1},t.getStartColumn=function(e,r,i,o){var a,s,l=o?1:-1,u=null;if(t.isValidBarcodeColumn(e,r-l)&&(u=e.getDetectionResultColumn(r-l).getCodeword(i)),null!=u)return o?u.getEndX():u.getStartX();if(null!=(u=e.getDetectionResultColumn(r).getCodewordNearby(i)))return o?u.getStartX():u.getEndX();if(t.isValidBarcodeColumn(e,r-l)&&(u=e.getDetectionResultColumn(r-l).getCodewordNearby(i)),null!=u)return o?u.getEndX():u.getStartX();for(var c=0;t.isValidBarcodeColumn(e,r-l);){r-=l;try{for(var d=(a=void 0,n(e.getDetectionResultColumn(r).getCodewords())),h=d.next();!h.done;h=d.next()){var f=h.value;if(null!=f)return(o?f.getEndX():f.getStartX())+l*c*(f.getEndX()-f.getStartX())}}catch(t){a={error:t}}finally{try{h&&!h.done&&(s=d.return)&&s.call(d)}finally{if(a)throw a.error}}c++}return o?e.getBoundingBox().getMinX():e.getBoundingBox().getMaxX()},t.detectCodeword=function(e,r,n,i,o,a,u,c){o=t.adjustCodewordStartColumn(e,r,n,i,o,a);var d,h=t.getModuleBitCount(e,r,n,i,o,a);if(null==h)return null;var f=s.default.sum(h);if(i)d=o+f;else{for(var g=0;g=e)&&l=r:st.CODEWORD_SKEW_SIZE)return o;s+=l}l=-l,i=!i}return s},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 o.default.getFormatInstance();var i=1<n/2+t.MAX_ERRORS||n<0||n>t.MAX_EC_CODEWORDS)throw i.default.getChecksumInstance();return t.errorCorrection.decode(e,n,r)},t.verifyCodewordCount=function(t,e){if(t.length<4)throw o.default.getFormatInstance();var r=t[0];if(r>t.length)throw o.default.getFormatInstance();if(0===r){if(!(e>=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 b.default,r=0;r=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../../ChecksumException"),o=t("./ModulusPoly"),a=t("./ModulusGF"),s=function(){function t(){this.field=a.default.PDF417_GF}return t.prototype.decode=function(t,e,r){for(var a,s,l=new o.default(this.field,t),u=new Int32Array(e),c=!1,d=e;d>0;d--){var h=l.evaluateAt(this.field.exp(d));u[e-d]=h,0!==h&&(c=!0)}if(!c)return 0;var f=this.field.getOne();if(null!=r)try{for(var p=n(r),g=p.next();!g.done;g=p.next()){var m=g.value,y=this.field.exp(t.length-1-m),b=new o.default(this.field,new Int32Array([this.field.subtract(0,y),1]));f=f.multiply(b)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}var v=new o.default(this.field,u),w=this.runEuclideanAlgorithm(this.field.buildMonomial(e,1),v,e),_=w[0],A=w[1],x=this.findErrorLocations(_),C=this.findErrorMagnitudes(A,_,x);for(d=0;d=Math.round(r/2);){var u=o,c=s;if(s=l,(o=a).isZero())throw i.default.getChecksumInstance();a=u;for(var d=this.field.getZero(),h=o.getCoefficient(o.getDegree()),f=this.field.inverse(h);a.getDegree()>=o.getDegree()&&!a.isZero();){var p=a.getDegree()-o.getDegree(),g=this.field.multiply(a.getCoefficient(a.getDegree()),f);d=d.add(this.field.buildMonomial(p,g)),a=a.subtract(o.multiplyByMonomial(p,g))}l=d.multiply(s).subtract(c).negative()}var m=l.getCoefficient(0);if(0===m)throw i.default.getChecksumInstance();var y=this.field.inverse(m);return[l.multiply(y),a.multiply(y)]},t.prototype.findErrorLocations=function(t){for(var e=t.getDegree(),r=new Int32Array(e),n=0,o=1;o=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../../IllegalArgumentException"),o=t("../../../util/System"),a=t("../../../util/StringBuilder"),s=function(){function t(t,e){if(0===e.length)throw new i.default;this.field=t;var r=e.length;if(r>1&&0===e[0]){for(var n=1;nn.length){var a=r;r=n,n=a}var s=new Int32Array(n.length),l=n.length-r.length;o.default.arraycopy(n,0,s,0,l);for(var u=l;u=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}();r.default=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/decoder/ec/ModulusPoly.js"}],[3782,{"../../ResultPoint":3655,"../../util/Arrays":3810,"../../util/System":3822,"./PDF417DetectorResult":3783},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../ResultPoint"),o=t("../../util/System"),a=t("../../util/Arrays"),s=t("./PDF417DetectorResult"),l=function(){function t(){}return t.detectMultiple=function(e,r,n){var i=e.getBlackMatrix(),o=t.detect(n,i);return o.length||((i=i.clone()).rotate180(),o=t.detect(n,i)),new s.default(i,o)},t.detect=function(e,r){for(var i,o,a=new Array,s=0,l=0,u=!1;s0;){if(null==(p=t.findGuardPattern(e,s,--o,n,!1,l,d))){o++;break}g=p}u[0]=new i.default(g[0],o),u[1]=new i.default(g[1],o),c=!0;break}}var h=o+1;if(c){for(var f=0,p=Int32Array.from([Math.trunc(u[0].getX()),Math.trunc(u[1].getX())]);ht.SKIPPED_ROW_COUNT_MAX)break;f++}}h-=f+1,u[2]=new i.default(p[0],h),u[3]=new i.default(p[1],h)}return h-o0&&d++d?c-d:d-c;if(h>r)return Infinity;l+=h}return l/i},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}();r.default=l}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/detector/Detector.js"}],[3783,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t,e){this.bits=t,this.points=e}return t.prototype.getBits=function(){return this.bits},t.prototype.getPoints=function(){return this.points},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/pdf417/detector/PDF417DetectorResult.js"}],[3784,{"../BarcodeFormat":3631,"../DecodeHintType":3635,"../NotFoundException":3646,"../Result":3653,"../ResultMetadataType":3654,"../common/BitMatrix":3676,"./decoder/Decoder":3790,"./decoder/QRCodeDecoderMetaData":3796,"./detector/Detector":3800},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../BarcodeFormat"),i=t("../common/BitMatrix"),o=t("../DecodeHintType"),a=t("../NotFoundException"),s=t("../Result"),l=t("../ResultMetadataType"),u=t("./decoder/Decoder"),c=t("./decoder/QRCodeDecoderMetaData"),d=t("./detector/Detector"),h=function(){function t(){this.decoder=new u.default}return t.prototype.getDecoder=function(){return this.decoder},t.prototype.decode=function(e,r){var i,a;if(r!==undefined&&null!==r&&undefined!==r.get(o.default.PURE_BARCODE)){var u=t.extractPureBits(e.getBlackMatrix());i=this.decoder.decodeBitMatrix(u,r),a=t.NO_POINTS}else{var h=new d.default(e.getBlackMatrix()).detect(r);i=this.decoder.decodeBitMatrix(h.getBits(),r),a=h.getPoints()}i.getOther()instanceof c.default&&i.getOther().applyMirroredCorrection(a);var f=new s.default(i.getText(),i.getRawBytes(),undefined,a,n.default.QR_CODE,undefined),p=i.getByteSegments();null!==p&&f.putMetadata(l.default.BYTE_SEGMENTS,p);var g=i.getECLevel();return null!==g&&f.putMetadata(l.default.ERROR_CORRECTION_LEVEL,g),i.hasStructuredAppend()&&(f.putMetadata(l.default.STRUCTURED_APPEND_SEQUENCE,i.getStructuredAppendSequenceNumber()),f.putMetadata(l.default.STRUCTURED_APPEND_PARITY,i.getStructuredAppendParity())),f},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),r=t.getBottomRightOnBit();if(null===e||null===r)throw new a.default;var n=this.moduleSize(e,t),o=e[1],s=r[1],l=e[0],u=r[0];if(l>=u||o>=s)throw new a.default;if(s-o!=u-l&&(u=l+(s-o))>=t.getWidth())throw new a.default;var c=Math.round((u-l+1)/n),d=Math.round((s-o+1)/n);if(c<=0||d<=0)throw new a.default;if(d!==c)throw new a.default;var h=Math.floor(n/2);o+=h;var f=(l+=h)+Math.floor((c-1)*n)-u;if(f>0){if(f>h)throw new a.default;l-=f}var p=o+Math.floor((d-1)*n)-s;if(p>0){if(p>h)throw new a.default;o-=p}for(var g=new i.default(c,d),m=0;m=0;r--)t=this.copyBit(8,r,t);var n=this.bitMatrix.getHeight(),o=0,s=n-7;for(r=n-1;r>=s;r--)o=this.copyBit(8,r,o);for(e=n-8;e=0;o--)for(var s=t-9;s>=i;s--)r=this.copyBit(s,o,r);var l=n.default.decodeVersionInformation(r);if(null!==l&&l.getDimensionForVersion()===t)return this.parsedVersion=l,l;r=0;for(s=5;s>=0;s--)for(o=t-9;o>=i;o--)r=this.copyBit(s,o,r);if(null!==(l=n.default.decodeVersionInformation(r))&&l.getDimensionForVersion()===t)return this.parsedVersion=l,l;throw new a.default},t.prototype.copyBit=function(t,e,r){return(this.isMirror?this.bitMatrix.get(e,t):this.bitMatrix.get(t,e))?r<<1|1:r<<1},t.prototype.readCodewords=function(){var t=this.readFormatInformation(),e=this.readVersion(),r=o.default.values.get(t.getDataMask()),n=this.bitMatrix.getHeight();r.unmaskBitMatrix(this.bitMatrix,n);for(var i=e.buildFunctionPattern(),s=!0,l=new Uint8Array(e.getTotalCodewords()),u=0,c=0,d=0,h=n-1;h>0;h-=2){6===h&&h--;for(var f=0;f=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../IllegalArgumentException"),o=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,r,o){var a,s,l,u;if(e.length!==r.getTotalCodewords())throw new i.default;var c=r.getECBlocksForLevel(o),d=0,h=c.getECBlocks();try{for(var f=n(h),p=f.next();!p.done;p=f.next()){d+=(v=p.value).getCount()}}catch(t){a={error:t}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}var g=new Array(d),m=0;try{for(var y=n(h),b=y.next();!b.done;b=y.next())for(var v=b.value,w=0;w=0;){if(g[C].codewords.length===x)break;C--}C++;var E=x-c.getECCodewordsPerBlock(),S=0;for(w=0;wt.available())throw new s.default;for(var n=new Uint8Array(2*r),i=0;r>0;){var o=t.readBits(13),l=o/96<<8&4294967295|o%96;l+=l<959?41377:42657,n[i]=l>>8&255,n[i+1]=255&l,i+=2,r--}try{e.append(u.default.decode(n,a.default.GB2312))}catch(t){throw new s.default(t)}},t.decodeKanjiSegment=function(t,e,r){if(13*r>t.available())throw new s.default;for(var n=new Uint8Array(2*r),i=0;r>0;){var o=t.readBits(13),l=o/192<<8&4294967295|o%192;l+=l<7936?33088:49472,n[i]=l>>8,n[i+1]=l,i+=2,r--}try{e.append(u.default.decode(n,a.default.SHIFT_JIS))}catch(t){throw new s.default(t)}},t.decodeByteSegment=function(t,e,r,n,i,o){if(8*r>t.available())throw new s.default;for(var l,c=new Uint8Array(r),d=0;d=t.ALPHANUMERIC_CHARS.length)throw new s.default;return t.ALPHANUMERIC_CHARS[e]},t.decodeAlphanumericSegment=function(e,r,n,i){for(var o=r.length();n>1;){if(e.available()<11)throw new s.default;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 s.default;r.append(t.toAlphaNumericChar(e.readBits(6)))}if(i)for(var l=o;l=3;){if(e.available()<10)throw new s.default;var i=e.readBits(10);if(i>=1e3)throw new s.default;r.append(t.toAlphaNumericChar(Math.floor(i/100))),r.append(t.toAlphaNumericChar(Math.floor(i/10)%10)),r.append(t.toAlphaNumericChar(i%10)),n-=3}if(2===n){if(e.available()<7)throw new s.default;var o=e.readBits(7);if(o>=100)throw new s.default;r.append(t.toAlphaNumericChar(Math.floor(o/10))),r.append(t.toAlphaNumericChar(o%10))}else if(1===n){if(e.available()<4)throw new s.default;var a=e.readBits(4);if(a>=10)throw new s.default;r.append(t.toAlphaNumericChar(a))}},t.parseECIValue=function(t){var e=t.readBits(8);if(!(128&e))return 127&e;if(128==(192&e))return(63&e)<<8&4294967295|t.readBits(8);if(192==(224&e))return(31&e)<<16&4294967295|t.readBits(16);throw new s.default},t.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",t.GB2312_SUBSET=1,t}();r.default=d}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/DecodedBitStreamParser.js"}],[3790,{"../../ChecksumException":3634,"../../common/BitMatrix":3676,"../../common/reedsolomon/GenericGF":3693,"../../common/reedsolomon/ReedSolomonDecoder":3695,"./BitMatrixParser":3786,"./DataBlock":3787,"./DecodedBitStreamParser":3789,"./QRCodeDecoderMetaData":3796},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../ChecksumException"),o=t("../../common/BitMatrix"),a=t("../../common/reedsolomon/GenericGF"),s=t("../../common/reedsolomon/ReedSolomonDecoder"),l=t("./BitMatrixParser"),u=t("./DataBlock"),c=t("./DecodedBitStreamParser"),d=t("./QRCodeDecoderMetaData"),h=function(){function t(){this.rsDecoder=new s.default(a.default.QR_CODE_FIELD_256)}return t.prototype.decodeBooleanArray=function(t,e){return this.decodeBitMatrix(o.default.parseFromBooleanArray(t),e)},t.prototype.decodeBitMatrix=function(t,e){var r=new l.default(t),n=null;try{return this.decodeBitMatrixParser(r,e)}catch(t){n=t}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var i=this.decodeBitMatrixParser(r,e);return i.setOther(new d.default(!0)),i}catch(t){if(null!==n)throw n;throw t}},t.prototype.decodeBitMatrixParser=function(t,e){var r,i,o,a,s=t.readVersion(),l=t.readFormatInformation().getErrorCorrectionLevel(),d=t.readCodewords(),h=u.default.getDataBlocks(d,s,l),f=0;try{for(var p=n(h),g=p.next();!g.done;g=p.next()){f+=(w=g.value).getNumDataCodewords()}}catch(t){r={error:t}}finally{try{g&&!g.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}var m=new Uint8Array(f),y=0;try{for(var b=n(h),v=b.next();!v.done;v=b.next()){var w,_=(w=v.value).getCodewords(),A=w.getNumDataCodewords();this.correctErrors(_,A);for(var x=0;x=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function t(t){for(var e=[],r=1;r=t.FOR_BITS.size)throw new o.default;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}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/ErrorCorrectionLevel.js"}],[3794,{"../../util/Integer":3816,"./ErrorCorrectionLevel":3793},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("./ErrorCorrectionLevel"),o=t("../../util/Integer"),a=function(){function t(t){this.errorCorrectionLevel=i.default.forBits(t>>3&3),this.dataMask=7&t}return t.numBitsDiffering=function(t,e){return o.default.bitCount(t^e)},t.decodeFormatInformation=function(e,r){var n=t.doDecodeFormatInformation(e,r);return null!==n?n:t.doDecodeFormatInformation(e^t.FORMAT_INFO_MASK_QR,r^t.FORMAT_INFO_MASK_QR)},t.doDecodeFormatInformation=function(e,r){var i,o,a=Number.MAX_SAFE_INTEGER,s=0;try{for(var l=n(t.FORMAT_INFO_DECODE_LOOKUP),u=l.next();!u.done;u=l.next()){var c=u.value,d=c[0];if(d===e||d===r)return new t(c[1]);var h=t.numBitsDiffering(e,d);h=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../common/BitMatrix"),o=t("./FormatInformation"),a=t("./ECBlocks"),s=t("./ECB"),l=t("../../FormatException"),u=t("../../IllegalArgumentException"),c=function(){function t(t,e){for(var r,i,o=[],a=2;a40)throw new u.default;return t.VERSIONS[e-1]},t.decodeVersionInformation=function(e){for(var r=Number.MAX_SAFE_INTEGER,n=0,i=0;i6&&(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 a.default(7,new s.default(1,19)),new a.default(10,new s.default(1,16)),new a.default(13,new s.default(1,13)),new a.default(17,new s.default(1,9))),new t(2,Int32Array.from([6,18]),new a.default(10,new s.default(1,34)),new a.default(16,new s.default(1,28)),new a.default(22,new s.default(1,22)),new a.default(28,new s.default(1,16))),new t(3,Int32Array.from([6,22]),new a.default(15,new s.default(1,55)),new a.default(26,new s.default(1,44)),new a.default(18,new s.default(2,17)),new a.default(22,new s.default(2,13))),new t(4,Int32Array.from([6,26]),new a.default(20,new s.default(1,80)),new a.default(18,new s.default(2,32)),new a.default(26,new s.default(2,24)),new a.default(16,new s.default(4,9))),new t(5,Int32Array.from([6,30]),new a.default(26,new s.default(1,108)),new a.default(24,new s.default(2,43)),new a.default(18,new s.default(2,15),new s.default(2,16)),new a.default(22,new s.default(2,11),new s.default(2,12))),new t(6,Int32Array.from([6,34]),new a.default(18,new s.default(2,68)),new a.default(16,new s.default(4,27)),new a.default(24,new s.default(4,19)),new a.default(28,new s.default(4,15))),new t(7,Int32Array.from([6,22,38]),new a.default(20,new s.default(2,78)),new a.default(18,new s.default(4,31)),new a.default(18,new s.default(2,14),new s.default(4,15)),new a.default(26,new s.default(4,13),new s.default(1,14))),new t(8,Int32Array.from([6,24,42]),new a.default(24,new s.default(2,97)),new a.default(22,new s.default(2,38),new s.default(2,39)),new a.default(22,new s.default(4,18),new s.default(2,19)),new a.default(26,new s.default(4,14),new s.default(2,15))),new t(9,Int32Array.from([6,26,46]),new a.default(30,new s.default(2,116)),new a.default(22,new s.default(3,36),new s.default(2,37)),new a.default(20,new s.default(4,16),new s.default(4,17)),new a.default(24,new s.default(4,12),new s.default(4,13))),new t(10,Int32Array.from([6,28,50]),new a.default(18,new s.default(2,68),new s.default(2,69)),new a.default(26,new s.default(4,43),new s.default(1,44)),new a.default(24,new s.default(6,19),new s.default(2,20)),new a.default(28,new s.default(6,15),new s.default(2,16))),new t(11,Int32Array.from([6,30,54]),new a.default(20,new s.default(4,81)),new a.default(30,new s.default(1,50),new s.default(4,51)),new a.default(28,new s.default(4,22),new s.default(4,23)),new a.default(24,new s.default(3,12),new s.default(8,13))),new t(12,Int32Array.from([6,32,58]),new a.default(24,new s.default(2,92),new s.default(2,93)),new a.default(22,new s.default(6,36),new s.default(2,37)),new a.default(26,new s.default(4,20),new s.default(6,21)),new a.default(28,new s.default(7,14),new s.default(4,15))),new t(13,Int32Array.from([6,34,62]),new a.default(26,new s.default(4,107)),new a.default(22,new s.default(8,37),new s.default(1,38)),new a.default(24,new s.default(8,20),new s.default(4,21)),new a.default(22,new s.default(12,11),new s.default(4,12))),new t(14,Int32Array.from([6,26,46,66]),new a.default(30,new s.default(3,115),new s.default(1,116)),new a.default(24,new s.default(4,40),new s.default(5,41)),new a.default(20,new s.default(11,16),new s.default(5,17)),new a.default(24,new s.default(11,12),new s.default(5,13))),new t(15,Int32Array.from([6,26,48,70]),new a.default(22,new s.default(5,87),new s.default(1,88)),new a.default(24,new s.default(5,41),new s.default(5,42)),new a.default(30,new s.default(5,24),new s.default(7,25)),new a.default(24,new s.default(11,12),new s.default(7,13))),new t(16,Int32Array.from([6,26,50,74]),new a.default(24,new s.default(5,98),new s.default(1,99)),new a.default(28,new s.default(7,45),new s.default(3,46)),new a.default(24,new s.default(15,19),new s.default(2,20)),new a.default(30,new s.default(3,15),new s.default(13,16))),new t(17,Int32Array.from([6,30,54,78]),new a.default(28,new s.default(1,107),new s.default(5,108)),new a.default(28,new s.default(10,46),new s.default(1,47)),new a.default(28,new s.default(1,22),new s.default(15,23)),new a.default(28,new s.default(2,14),new s.default(17,15))),new t(18,Int32Array.from([6,30,56,82]),new a.default(30,new s.default(5,120),new s.default(1,121)),new a.default(26,new s.default(9,43),new s.default(4,44)),new a.default(28,new s.default(17,22),new s.default(1,23)),new a.default(28,new s.default(2,14),new s.default(19,15))),new t(19,Int32Array.from([6,30,58,86]),new a.default(28,new s.default(3,113),new s.default(4,114)),new a.default(26,new s.default(3,44),new s.default(11,45)),new a.default(26,new s.default(17,21),new s.default(4,22)),new a.default(26,new s.default(9,13),new s.default(16,14))),new t(20,Int32Array.from([6,34,62,90]),new a.default(28,new s.default(3,107),new s.default(5,108)),new a.default(26,new s.default(3,41),new s.default(13,42)),new a.default(30,new s.default(15,24),new s.default(5,25)),new a.default(28,new s.default(15,15),new s.default(10,16))),new t(21,Int32Array.from([6,28,50,72,94]),new a.default(28,new s.default(4,116),new s.default(4,117)),new a.default(26,new s.default(17,42)),new a.default(28,new s.default(17,22),new s.default(6,23)),new a.default(30,new s.default(19,16),new s.default(6,17))),new t(22,Int32Array.from([6,26,50,74,98]),new a.default(28,new s.default(2,111),new s.default(7,112)),new a.default(28,new s.default(17,46)),new a.default(30,new s.default(7,24),new s.default(16,25)),new a.default(24,new s.default(34,13))),new t(23,Int32Array.from([6,30,54,78,102]),new a.default(30,new s.default(4,121),new s.default(5,122)),new a.default(28,new s.default(4,47),new s.default(14,48)),new a.default(30,new s.default(11,24),new s.default(14,25)),new a.default(30,new s.default(16,15),new s.default(14,16))),new t(24,Int32Array.from([6,28,54,80,106]),new a.default(30,new s.default(6,117),new s.default(4,118)),new a.default(28,new s.default(6,45),new s.default(14,46)),new a.default(30,new s.default(11,24),new s.default(16,25)),new a.default(30,new s.default(30,16),new s.default(2,17))),new t(25,Int32Array.from([6,32,58,84,110]),new a.default(26,new s.default(8,106),new s.default(4,107)),new a.default(28,new s.default(8,47),new s.default(13,48)),new a.default(30,new s.default(7,24),new s.default(22,25)),new a.default(30,new s.default(22,15),new s.default(13,16))),new t(26,Int32Array.from([6,30,58,86,114]),new a.default(28,new s.default(10,114),new s.default(2,115)),new a.default(28,new s.default(19,46),new s.default(4,47)),new a.default(28,new s.default(28,22),new s.default(6,23)),new a.default(30,new s.default(33,16),new s.default(4,17))),new t(27,Int32Array.from([6,34,62,90,118]),new a.default(30,new s.default(8,122),new s.default(4,123)),new a.default(28,new s.default(22,45),new s.default(3,46)),new a.default(30,new s.default(8,23),new s.default(26,24)),new a.default(30,new s.default(12,15),new s.default(28,16))),new t(28,Int32Array.from([6,26,50,74,98,122]),new a.default(30,new s.default(3,117),new s.default(10,118)),new a.default(28,new s.default(3,45),new s.default(23,46)),new a.default(30,new s.default(4,24),new s.default(31,25)),new a.default(30,new s.default(11,15),new s.default(31,16))),new t(29,Int32Array.from([6,30,54,78,102,126]),new a.default(30,new s.default(7,116),new s.default(7,117)),new a.default(28,new s.default(21,45),new s.default(7,46)),new a.default(30,new s.default(1,23),new s.default(37,24)),new a.default(30,new s.default(19,15),new s.default(26,16))),new t(30,Int32Array.from([6,26,52,78,104,130]),new a.default(30,new s.default(5,115),new s.default(10,116)),new a.default(28,new s.default(19,47),new s.default(10,48)),new a.default(30,new s.default(15,24),new s.default(25,25)),new a.default(30,new s.default(23,15),new s.default(25,16))),new t(31,Int32Array.from([6,30,56,82,108,134]),new a.default(30,new s.default(13,115),new s.default(3,116)),new a.default(28,new s.default(2,46),new s.default(29,47)),new a.default(30,new s.default(42,24),new s.default(1,25)),new a.default(30,new s.default(23,15),new s.default(28,16))),new t(32,Int32Array.from([6,34,60,86,112,138]),new a.default(30,new s.default(17,115)),new a.default(28,new s.default(10,46),new s.default(23,47)),new a.default(30,new s.default(10,24),new s.default(35,25)),new a.default(30,new s.default(19,15),new s.default(35,16))),new t(33,Int32Array.from([6,30,58,86,114,142]),new a.default(30,new s.default(17,115),new s.default(1,116)),new a.default(28,new s.default(14,46),new s.default(21,47)),new a.default(30,new s.default(29,24),new s.default(19,25)),new a.default(30,new s.default(11,15),new s.default(46,16))),new t(34,Int32Array.from([6,34,62,90,118,146]),new a.default(30,new s.default(13,115),new s.default(6,116)),new a.default(28,new s.default(14,46),new s.default(23,47)),new a.default(30,new s.default(44,24),new s.default(7,25)),new a.default(30,new s.default(59,16),new s.default(1,17))),new t(35,Int32Array.from([6,30,54,78,102,126,150]),new a.default(30,new s.default(12,121),new s.default(7,122)),new a.default(28,new s.default(12,47),new s.default(26,48)),new a.default(30,new s.default(39,24),new s.default(14,25)),new a.default(30,new s.default(22,15),new s.default(41,16))),new t(36,Int32Array.from([6,24,50,76,102,128,154]),new a.default(30,new s.default(6,121),new s.default(14,122)),new a.default(28,new s.default(6,47),new s.default(34,48)),new a.default(30,new s.default(46,24),new s.default(10,25)),new a.default(30,new s.default(2,15),new s.default(64,16))),new t(37,Int32Array.from([6,28,54,80,106,132,158]),new a.default(30,new s.default(17,122),new s.default(4,123)),new a.default(28,new s.default(29,46),new s.default(14,47)),new a.default(30,new s.default(49,24),new s.default(10,25)),new a.default(30,new s.default(24,15),new s.default(46,16))),new t(38,Int32Array.from([6,32,58,84,110,136,162]),new a.default(30,new s.default(4,122),new s.default(18,123)),new a.default(28,new s.default(13,46),new s.default(32,47)),new a.default(30,new s.default(48,24),new s.default(14,25)),new a.default(30,new s.default(42,15),new s.default(32,16))),new t(39,Int32Array.from([6,26,54,82,110,138,166]),new a.default(30,new s.default(20,117),new s.default(4,118)),new a.default(28,new s.default(40,47),new s.default(7,48)),new a.default(30,new s.default(43,24),new s.default(22,25)),new a.default(30,new s.default(10,15),new s.default(67,16))),new t(40,Int32Array.from([6,30,58,86,114,142,170]),new a.default(30,new s.default(19,118),new s.default(6,119)),new a.default(28,new s.default(18,47),new s.default(31,48)),new a.default(30,new s.default(34,24),new s.default(34,25)),new a.default(30,new s.default(20,15),new s.default(61,16)))],t}();r.default=c}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/decoder/Version.js"}],[3798,{"../../ResultPoint":3655},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(e,r,n){var i=t.call(this,e,r)||this;return i.estimatedModuleSize=n,i}return i(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){return new e((this.getX()+r)/2,(this.getY()+t)/2,(this.estimatedModuleSize+n)/2)},e}(t("../../ResultPoint").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/AlignmentPattern.js"}],[3799,{"../../NotFoundException":3646,"./AlignmentPattern":3798},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("./AlignmentPattern"),o=t("../../NotFoundException"),a=function(){function t(t,e,r,n,i,o,a){this.image=t,this.startX=e,this.startY=r,this.width=n,this.height=i,this.moduleSize=o,this.resultPointCallback=a,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return t.prototype.find=function(){for(var t=this.startX,e=this.height,r=t+this.width,n=this.startY+e/2,i=new Int32Array(3),a=this.image,s=0;s=r)return!1;return!0},t.prototype.crossCheckVertical=function(e,r,n,i){var o=this.image,a=o.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;for(var l=e;l>=0&&o.get(r,l)&&s[1]<=n;)s[1]++,l--;if(l<0||s[1]>n)return NaN;for(;l>=0&&!o.get(r,l)&&s[0]<=n;)s[0]++,l--;if(s[0]>n)return NaN;for(l=e+1;ln)return NaN;for(;ln)return NaN;var u=s[0]+s[1]+s[2];return 5*Math.abs(u-i)>=2*i?NaN:this.foundPatternCross(s)?t.centerFromEnd(s,l):NaN},t.prototype.handlePossibleCenter=function(e,r,o){var a,s,l=e[0]+e[1]+e[2],u=t.centerFromEnd(e,o),c=this.crossCheckVertical(r,u,2*e[1],l);if(!isNaN(c)){var d=(e[0]+e[1]+e[2])/3;try{for(var h=n(this.possibleCenters),f=h.next();!f.done;f=h.next()){var p=f.value;if(p.aboutEquals(d,c,u))return p.combineEstimate(c,u,d)}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}var g=new i.default(u,c,d);this.possibleCenters.push(g),null!==this.resultPointCallback&&this.resultPointCallback!==undefined&&this.resultPointCallback.foundPossibleResultPoint(g)}return null},t}();r.default=a}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/AlignmentPatternFinder.js"}],[380,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/getPrototypeOf.js"}],[3800,{"../../DecodeHintType":3635,"../../NotFoundException":3646,"../../ResultPoint":3655,"../../common/DetectorResult":3681,"../../common/GridSamplerInstance":3685,"../../common/PerspectiveTransform":3688,"../../common/detector/MathUtils":3690,"../decoder/Version":3797,"./AlignmentPatternFinder":3799,"./FinderPatternFinder":3802},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../common/detector/MathUtils"),i=t("../../common/DetectorResult"),o=t("../../common/GridSamplerInstance"),a=t("../../common/PerspectiveTransform"),s=t("../../DecodeHintType"),l=t("../../NotFoundException"),u=t("../../ResultPoint"),c=t("../decoder/Version"),d=t("./AlignmentPatternFinder"),h=t("./FinderPatternFinder"),f=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||t===undefined?null:t.get(s.default.NEED_RESULT_POINT_CALLBACK);var e=new h.default(this.image,this.resultPointCallback).find(t);return this.processFinderPatternInfo(e)},t.prototype.processFinderPatternInfo=function(e){var r=e.getTopLeft(),n=e.getTopRight(),o=e.getBottomLeft(),a=this.calculateModuleSize(r,n,o);if(a<1)throw new l.default("No pattern found in proccess finder.");var s=t.computeDimension(r,n,o,a),u=c.default.getProvisionalVersionForDimension(s),d=u.getDimensionForVersion()-7,h=null;if(u.getAlignmentPatternCenters().length>0)for(var f=n.getX()-r.getX()+o.getX(),p=n.getY()-r.getY()+o.getY(),g=1-3/d,m=Math.floor(r.getX()+g*(f-r.getX())),y=Math.floor(r.getY()+g*(p-r.getY())),b=4;b<=16;b<<=1)try{h=this.findAlignmentInRegion(a,m,y,b);break}catch(t){if(!(t instanceof l.default))throw t}var v,w=t.createTransform(r,n,o,h,s),_=t.sampleGrid(this.image,w,s);return v=null===h?[o,r,n]:[o,r,n,h],new i.default(_,v)},t.createTransform=function(t,e,r,n,i){var o,s,l,u,c=i-3.5;return null!==n?(o=n.getX(),s=n.getY(),u=l=c-3):(o=e.getX()-t.getX()+r.getX(),s=e.getY()-t.getY()+r.getY(),l=c,u=c),a.default.quadrilateralToQuadrilateral(3.5,3.5,c,3.5,l,u,3.5,c,t.getX(),t.getY(),e.getX(),e.getY(),o,s,r.getX(),r.getY())},t.sampleGrid=function(t,e,r){return o.default.getInstance().sampleGridWithTransform(t,r,r,e)},t.computeDimension=function(t,e,r,i){var o=n.default.round(u.default.distance(t,e)/i),a=n.default.round(u.default.distance(t,r)/i),s=Math.floor((o+a)/2)+7;switch(3&s){case 0:s++;break;case 2:s--;break;case 3:throw new l.default("Dimensions could be not found.")}return s},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 i=this.sizeOfBlackWhiteBlackRun(t,e,r,n),o=1,a=t-(r-t);a<0?(o=t/(t-a),a=0):a>=this.image.getWidth()&&(o=(this.image.getWidth()-1-t)/(a-t),a=this.image.getWidth()-1);var s=Math.floor(e-(n-e)*o);return o=1,s<0?(o=e/(e-s),s=0):s>=this.image.getHeight()&&(o=(this.image.getHeight()-1-e)/(s-e),s=this.image.getHeight()-1),a=Math.floor(t+(a-t)*o),(i+=this.sizeOfBlackWhiteBlackRun(t,e,a,s))-1},t.prototype.sizeOfBlackWhiteBlackRun=function(t,e,r,i){var o=Math.abs(i-e)>Math.abs(r-t);if(o){var a=t;t=e,e=a,a=r,r=i,i=a}for(var s=Math.abs(r-t),l=Math.abs(i-e),u=-s/2,c=t0){if(g===i)break;g+=d,u-=s}}return 2===h?n.default.distance(r+c,i,t,e):NaN},t.prototype.findAlignmentInRegion=function(t,e,r,n){var i=Math.floor(n*t),o=Math.max(0,e-i),a=Math.min(this.image.getWidth()-1,e+i);if(a-o<3*t)throw new l.default("Alignment top exceeds estimated module size.");var s=Math.max(0,r-i),u=Math.min(this.image.getHeight()-1,r+i);if(u-s<3*t)throw new l.default("Alignment bottom exceeds estimated module size.");return new d.default(this.image,o,s,a-o,u-s,t,this.resultPointCallback).find()},t}();r.default=f}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/Detector.js"}],[3801,{"../../ResultPoint":3655},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(e,r,n,i){var o=t.call(this,e,r)||this;return o.estimatedModuleSize=n,o.count=i,undefined===i&&(o.count=1),o}return i(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 i=this.count+1;return new e((this.count*this.getX()+r)/i,(this.count*this.getY()+t)/i,(this.count*this.estimatedModuleSize+n)/i,i)},e}(t("../../ResultPoint").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/FinderPattern.js"}],[3802,{"../../DecodeHintType":3635,"../../NotFoundException":3646,"../../ResultPoint":3655,"./FinderPattern":3801,"./FinderPatternInfo":3803},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../DecodeHintType"),o=t("../../ResultPoint"),a=t("./FinderPattern"),s=t("./FinderPatternInfo"),l=t("../../NotFoundException"),u=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&&e!==undefined&&undefined!==e.get(i.default.TRY_HARDER),n=null!==e&&e!==undefined&&undefined!==e.get(i.default.PURE_BARCODE),a=this.image,l=a.getHeight(),u=a.getWidth(),c=Math.floor(3*l/(4*t.MAX_MODULES));(ch[2]&&(f+=m-h[2]-c,g=u-1)}p=0,h[0]=0,h[1]=0,h[2]=0,h[3]=0,h[4]=0}else h[0]=h[2],h[1]=h[3],h[2]=h[4],h[3]=1,h[4]=0,p=3;else h[++p]++;if(t.foundPatternCross(h))!0===this.handlePossibleCenter(h,f,u,n)&&(c=h[0],this.hasSkipped&&(d=this.haveMultiplyConfirmedCenters()))}var y=this.selectBestPatterns();return o.default.orderBestPatterns(y),new s.default(y)},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 i=e/7,o=i/2;return Math.abs(i-t[0])=a&&r>=a&&s.get(r-a,e-a);)o[2]++,a++;if(e=a&&r>=a&&!s.get(r-a,e-a)&&o[1]<=n;)o[1]++,a++;if(en)return!1;for(;e>=a&&r>=a&&s.get(r-a,e-a)&&o[0]<=n;)o[0]++,a++;if(o[0]>n)return!1;var l=s.getHeight(),u=s.getWidth();for(a=1;e+a=l||r+a>=u)return!1;for(;e+a=l||r+a>=u||o[3]>=n)return!1;for(;e+a=n)return!1;var c=o[0]+o[1]+o[2]+o[3]+o[4];return Math.abs(c-i)<2*i&&t.foundPatternCross(o)},t.prototype.crossCheckVertical=function(e,r,n,i){for(var o=this.image,a=o.getHeight(),s=this.getCrossCheckStateCount(),l=e;l>=0&&o.get(r,l);)s[2]++,l--;if(l<0)return NaN;for(;l>=0&&!o.get(r,l)&&s[1]<=n;)s[1]++,l--;if(l<0||s[1]>n)return NaN;for(;l>=0&&o.get(r,l)&&s[0]<=n;)s[0]++,l--;if(s[0]>n)return NaN;for(l=e+1;l=n)return NaN;for(;l=n)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-i)>=2*i?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,l):NaN},t.prototype.crossCheckHorizontal=function(e,r,n,i){for(var o=this.image,a=o.getWidth(),s=this.getCrossCheckStateCount(),l=e;l>=0&&o.get(l,r);)s[2]++,l--;if(l<0)return NaN;for(;l>=0&&!o.get(l,r)&&s[1]<=n;)s[1]++,l--;if(l<0||s[1]>n)return NaN;for(;l>=0&&o.get(l,r)&&s[0]<=n;)s[0]++,l--;if(s[0]>n)return NaN;for(l=e+1;l=n)return NaN;for(;l=n)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-i)>=i?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,l):NaN},t.prototype.handlePossibleCenter=function(e,r,n,i){var o=e[0]+e[1]+e[2]+e[3]+e[4],s=t.centerFromEnd(e,n),l=this.crossCheckVertical(r,Math.floor(s),e[2],o);if(!isNaN(l)&&(s=this.crossCheckHorizontal(Math.floor(s),Math.floor(l),e[2],o),!isNaN(s)&&(!i||this.crossCheckDiagonal(Math.floor(l),Math.floor(s),e[2],o)))){for(var u=o/7,c=!1,d=this.possibleCenters,h=0,f=d.length;h=t.CENTER_QUORUM){if(null!=i)return this.hasSkipped=!0,Math.floor((Math.abs(i.getX()-s.getX())-Math.abs(i.getY()-s.getY()))/2);i=s}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return 0},t.prototype.haveMultiplyConfirmedCenters=function(){var e,r,i,o,a=0,s=0,l=this.possibleCenters.length;try{for(var u=n(this.possibleCenters),c=u.next();!c.done;c=u.next()){(g=c.value).getCount()>=t.CENTER_QUORUM&&(a++,s+=g.getEstimatedModuleSize())}}catch(t){e={error:t}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}if(a<3)return!1;var d=s/l,h=0;try{for(var f=n(this.possibleCenters),p=f.next();!p.done;p=f.next()){var g=p.value;h+=Math.abs(g.getEstimatedModuleSize()-d)}}catch(t){i={error:t}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(i)throw i.error}}return h<=.05*s},t.prototype.selectBestPatterns=function(){var t,e,r,i,o=this.possibleCenters.length;if(o<3)throw new l.default;var a,s=this.possibleCenters;if(o>3){var u=0,c=0;try{for(var d=n(this.possibleCenters),h=d.next();!h.done;h=d.next()){var f=h.value.getEstimatedModuleSize();u+=f,c+=f*f}}catch(e){t={error:e}}finally{try{h&&!h.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}a=u/o;var p=Math.sqrt(c/o-a*a);s.sort((function(t,e){var r=Math.abs(e.getEstimatedModuleSize()-a),n=Math.abs(t.getEstimatedModuleSize()-a);return rn?1:0}));for(var g=Math.max(.2*a,p),m=0;m3;m++){var y=s[m];Math.abs(y.getEstimatedModuleSize()-a)>g&&(s.splice(m,1),m--)}}if(s.length>3){u=0;try{for(var b=n(s),v=b.next();!v.done;v=b.next()){u+=v.value.getEstimatedModuleSize()}}catch(t){r={error:t}}finally{try{v&&!v.done&&(i=b.return)&&i.call(b)}finally{if(r)throw r.error}}a=u/s.length,s.sort((function(t,e){if(e.getCount()===t.getCount()){var r=Math.abs(e.getEstimatedModuleSize()-a),n=Math.abs(t.getEstimatedModuleSize()-a);return rn?-1:0}return e.getCount()-t.getCount()})),s.splice(3)}return[s[0],s[1],s[2]]},t.CENTER_QUORUM=2,t.MIN_SKIP=3,t.MAX_MODULES=57,t}();r.default=u}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/FinderPatternFinder.js"}],[3803,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t){this.bottomLeft=t[0],this.topLeft=t[1],this.topRight=t[2]}return t.prototype.getBottomLeft=function(){return this.bottomLeft},t.prototype.getTopLeft=function(){return this.topLeft},t.prototype.getTopRight=function(){return this.topRight},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/detector/FinderPatternInfo.js"}],[3804,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(t,e){this.dataBytes=t,this.errorCorrectionBytes=e}return t.prototype.getDataBytes=function(){return this.dataBytes},t.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/encoder/BlockPair.js"}],[3805,{"../../util/Arrays":3810,"../../util/StringBuilder":3820},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=this&&this.__values||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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../util/Arrays"),o=t("../../util/StringBuilder"),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=n(this.bytes),a=o.next();!a.done;a=o.next()){var s=a.value;i.default.fill(s,t)}}catch(t){e={error:t}}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,i=this.height;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.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("../../EncodeHintType"),o=t("../../common/BitArray"),a=t("../../common/CharacterSetECI"),s=t("../../common/reedsolomon/GenericGF"),l=t("../../common/reedsolomon/ReedSolomonEncoder"),u=t("../decoder/Mode"),c=t("../decoder/Version"),d=t("./MaskUtil"),h=t("./ByteMatrix"),f=t("./QRCode"),p=t("./MatrixUtil"),g=t("../../util/StringEncoding"),m=t("./BlockPair"),y=t("../../WriterException"),b=function(){function t(){}return t.calculateMaskPenalty=function(t){return d.default.applyMaskPenaltyRule1(t)+d.default.applyMaskPenaltyRule2(t)+d.default.applyMaskPenaltyRule3(t)+d.default.applyMaskPenaltyRule4(t)},t.encode=function(e,r,n){void 0===n&&(n=null);var s=t.DEFAULT_BYTE_MODE_ENCODING,l=null!==n&&undefined!==n.get(i.default.CHARACTER_SET);l&&(s=n.get(i.default.CHARACTER_SET).toString());var d=this.chooseMode(e,s),g=new o.default;if(d===u.default.BYTE&&(l||t.DEFAULT_BYTE_MODE_ENCODING!==s)){var m=a.default.getCharacterSetECIByName(s);m!==undefined&&this.appendECI(m,g)}this.appendModeInfo(d,g);var b,v=new o.default;if(this.appendBytes(e,d,v,s),null!==n&&undefined!==n.get(i.default.QR_VERSION)){var w=Number.parseInt(n.get(i.default.QR_VERSION).toString(),10);b=c.default.getVersionForNumber(w);var _=this.calculateBitsNeeded(d,g,v,b);if(!this.willFit(_,b,r))throw new y.default("Data too big for requested version")}else b=this.recommendVersion(r,d,g,v);var A=new o.default;A.appendBitArray(g);var x=d===u.default.BYTE?v.getSizeInBytes():e.length;this.appendLengthInfo(x,b,d,A),A.appendBitArray(v);var C=b.getECBlocksForLevel(r),E=b.getTotalCodewords()-C.getTotalECCodewords();this.terminateBits(E,A);var S=this.interleaveWithECBytes(A,b.getTotalCodewords(),E,C.getNumBlocks()),T=new f.default;T.setECLevel(r),T.setMode(d),T.setVersion(b);var I=b.getDimensionForVersion(),D=new h.default(I,I),O=this.chooseMaskPattern(S,r,b,D);return T.setMaskPattern(O),p.default.buildMatrix(S,r,b,O,D),T.setMatrix(D),T},t.recommendVersion=function(t,e,r,n){var i=this.calculateBitsNeeded(e,r,n,c.default.getVersionForNumber(1)),o=this.chooseVersion(i,t),a=this.calculateBitsNeeded(e,r,n,o);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 e159)&&(i<224||i>235))return!1}return!0},t.chooseMaskPattern=function(t,e,r,n){for(var i=Number.MAX_SAFE_INTEGER,o=-1,a=0;a=(t+7)/8},t.terminateBits=function(t,e){var r=8*t;if(e.getSize()>r)throw new y.default("data bits cannot fit in the QR Code"+e.getSize()+" > "+r);for(var n=0;n<4&&e.getSize()0)for(n=i;n<8;n++)e.appendBit(!1);var o=t-e.getSizeInBytes();for(n=0;n=r)throw new y.default("Block ID too large");var a=t%r,s=r-a,l=Math.floor(t/r),u=l+1,c=Math.floor(e/r),d=c+1,h=l-c,f=u-d;if(h!==f)throw new y.default("EC bytes mismatch");if(r!==s+a)throw new y.default("RS blocks mismatch");if(t!==(c+h)*s+(d+f)*a)throw new y.default("Total bytes mismatch");n=1<=0&&r<=9},t.appendNumericBytes=function(e,r){for(var n=e.length,i=0;i=33088&&o<=40956?s=o-33088:o>=57408&&o<=60351&&(s=o-49472),-1===s)throw new y.default("Invalid byte sequence");var l=192*(s>>8)+(255&s);e.appendBits(l,13)}},t.appendECI=function(t,e){e.appendBits(u.default.ECI.getBits(),4),e.appendBits(t.getValue(),8)},t.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),t.DEFAULT_BYTE_MODE_ENCODING=a.default.UTF8.getName(),t}();r.default=b}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/encoder/Encoder.js"}],[3807,{"../../IllegalArgumentException":3639},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../IllegalArgumentException"),i=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(),i=e.getWidth(),o=e.getHeight(),a=0;a=5&&(n+=t.N1+(l-5)),l=1,u=d)}l>=5&&(n+=t.N1+(l-5))}return n},t.N1=3,t.N2=3,t.N3=40,t.N4=10,t}();r.default=i}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/encoder/MaskUtil.js"}],[3808,{"../../IllegalArgumentException":3639,"../../WriterException":3657,"../../common/BitArray":3675,"../../util/Integer":3816,"./MaskUtil":3807,"./QRCode":3809},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../common/BitArray"),i=t("../../util/Integer"),o=t("./QRCode"),a=t("./MaskUtil"),s=t("../../WriterException"),l=t("../../IllegalArgumentException"),u=function(){function t(){}return t.clearMatrix=function(t){t.clear(255)},t.buildMatrix=function(e,r,n,i,o){t.clearMatrix(o),t.embedBasicPatterns(n,o),t.embedTypeInfo(r,i,o),t.maybeEmbedVersionInfo(n,o),t.embedDataBits(e,i,o)},t.embedBasicPatterns=function(e,r){t.embedPositionDetectionPatternsAndSeparators(r),t.embedDarkDotAtLeftBottomCorner(r),t.maybeEmbedPositionAdjustmentPatterns(e,r),t.embedTimingPatterns(r)},t.embedTypeInfo=function(e,r,i){var o=new n.default;t.makeTypeInfoBits(e,r,o);for(var a=0,s=o.getSize();a0;){for(6===l&&(l-=1);u>=0&&u=n;)e^=r<=0)for(var l=0;l!==a;l++){var u=i[l];u>=0&&t.isEmpty(r.get(u,s))&&t.embedPositionAdjustmentPattern(u-2,s-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}();r.default=u}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/qrcode/encoder/MatrixUtil.js"}],[3809,{"../../util/StringBuilder":3820},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../../util/StringBuilder"),i=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.default;return t.append("<<\n"),t.append(" mode: "),t.append(this.mode?this.mode.toString():"null"),t.append("\n ecLevel: "),t.append(this.ecLevel?this.ecLevel.toString():"null"),t.append("\n version: "),t.append(this.version?this.version.toString():"null"),t.append("\n maskPattern: "),t.append(this.maskPattern.toString()),this.matrix?(t.append("\n matrix:\n"),t.append(this.matrix.toString())):t.append("\n matrix: null\n"),t.append(">>\n"),t.toString()},t.prototype.setMode=function(t){this.mode=t},t.prototype.setECLevel=function(t){this.ecLevel=t},t.prototype.setVersion=function(t){this.version=t},t.prototype.setMaskPattern=function(t){this.maskPattern=t},t.prototype.setMatrix=function(t){this.matrix=t},t.isValidMaskPattern=function(e){return e>=0&&e=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(r,"__esModule",{value:!0});var i=t("./System"),o=t("../IllegalArgumentException"),a=t("../ArrayIndexOutOfBoundsException"),s=function(){function t(){}return t.fill=function(t,e){for(var r=0,n=t.length;rr)throw new o.default("fromIndex("+e+") > toIndex("+r+")");if(e<0)throw new a.default(e);if(r>t)throw new a.default(r)},t.asList=function(){for(var t=[],e=0;e>1,s=n(r,e[a]);if(s>0)i=a+1;else{if(!(s<0))return a;o=a-1}}return-i-1},t.numberComparator=function(t,e){return t-e},t}();r.default=s}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Arrays.js"}],[3811,{"../IllegalArgumentException":3639,"../IndexOutOfBoundsException":3641,"../OutOfMemoryError":3648,"./Arrays":3810,"./Integer":3816,"./OutputStream":3818,"./System":3822},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=t("./Arrays"),a=t("./OutputStream"),s=t("./Integer"),l=t("../IllegalArgumentException"),u=t("../OutOfMemoryError"),c=t("./System"),d=t("../IndexOutOfBoundsException"),h=function(t){function e(e){void 0===e&&(e=32);var r=t.call(this)||this;if(r.count=0,e<0)throw new l.default("Negative initial size: "+e);return r.buf=new Uint8Array(e),r}return i(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<<1;if(e-t<0&&(e=t),e<0){if(t<0)throw new u.default;e=s.default.MAX_VALUE}this.buf=o.default.copyOfUint8Array(this.buf,e)},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 d.default;this.ensureCapacity(this.count+r),c.default.arraycopy(t,e,this.buf,this.count,r),this.count+=r},e.prototype.writeTo=function(t){t.writeBytesOffset(this.buf,0,this.count)},e.prototype.reset=function(){this.count=0},e.prototype.toByteArray=function(){return o.default.copyOfUint8Array(this.buf,this.count)},e.prototype.size=function(){return this.count},e.prototype.toString=function(t){return t?"string"==typeof t?this.toString_string(t):this.toString_number(t):this.toString_void()},e.prototype.toString_void=function(){return new String(this.buf).toString()},e.prototype.toString_string=function(t){return new String(this.buf).toString()},e.prototype.toString_number=function(t){return new String(this.buf).toString()},e.prototype.close=function(){},e}(a.default);r.default=h}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/ByteArrayOutputStream.js"}],[3812,{"../common/CharacterSetECI":3678},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i=this&&this.__extends||(n=function(t,e){return n=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])},n(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0});var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.forName=function(t){return this.getCharacterSetECIByName(t)},e}(t("../common/CharacterSetECI").default);r.default=o}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Charset.js"}],[3813,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){}return t.singletonList=function(t){return[t]},t.min=function(t,e){return t.sort(e)[0]},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Collections.js"}],[3814,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){}return t.floatToIntBits=function(t){return t},t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Float.js"}],[3815,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){this.buffer=""}return t.form=function(t,e){var r=-1;return t.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,(function(t,n,i,o,a,s){if("%%"===t)return"%";if(e[++r]===undefined)return undefined;t=o?parseInt(o.substr(1)):undefined;var l,u=a?parseInt(a.substr(1)):undefined;switch(s){case"s":l=e[r];break;case"c":l=e[r][0];break;case"f":l=parseFloat(e[r]).toFixed(t);break;case"p":l=parseFloat(e[r]).toPrecision(t);break;case"e":l=parseFloat(e[r]).toExponential(t);break;case"x":l=parseInt(e[r]).toString(u||16);break;case"d":l=parseFloat(parseInt(e[r],u||10).toPrecision(t)).toFixed(0)}l="object"==typeof l?JSON.stringify(l):(+l).toString(u);for(var c=parseInt(i),d=i&&i[0]+""=="0"?"0":" ";l.length>>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},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=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135,t+=t>>>8,63&(t+=t>>>16)},t.truncDivision=function(t,e){return Math.trunc(t/e)},t.parseInt=function(t,e){return void 0===e&&(e=undefined),parseInt(t,e)},t.MIN_VALUE_32_BITS=-2147483648,t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Integer.js"}],[3817,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=function(){function t(){}return t.parseLong=function(t,e){return void 0===e&&(e=undefined),parseInt(t,e)},t}();r.default=n}}},{package:"@zxing/library",file:"node_modules/@zxing/library/cjs/core/util/Long.js"}],[3818,{"../IndexOutOfBoundsException":3641,"../NullPointerException":3647},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("../IndexOutOfBoundsException"),i=t("../NullPointerException"),o=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.default;if(e<0||e>t.length||r<0||e+r>t.length||e+r<0)throw new n.default;if(0!==r)for(var o=0;oes-abstract>array-buffer-byte-length",file:"node_modules/array-buffer-byte-length/index.js"}],[392,{"./assertThisInitialized.js":374,"./typeof.js":400},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./typeof.js").default,i=t("./assertThisInitialized.js");e.exports=function(t,e){if(e&&("object"==n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return i(t)},e.exports.__esModule=!0,e.exports.default=e.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"}],[396,{"./arrayWithHoles.js":372,"./iterableToArray.js":385,"./nonIterableRest.js":387,"./unsupportedIterableToArray.js":401},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./arrayWithHoles.js"),i=t("./iterableToArray.js"),o=t("./unsupportedIterableToArray.js"),a=t("./nonIterableRest.js");e.exports=function(t){return n(t)||i(t)||o(t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports}}},{package:"@babel/runtime",file:"node_modules/@babel/runtime/helpers/toArray.js"}],[403,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports={name:"@blockaid/ppom_release",version:"1.5.3",files:["ppom_bg.wasm","ppom.js","ppom.d.ts"],module:"ppom.js",types:"ppom.d.ts"}}}},{package:"@blockaid/ppom_release",file:"node_modules/@blockaid/ppom_release/package.json"}],[4069,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){}}},{package:"browserify",file:"node_modules/browserify/lib/_empty.js"}],[4097,{"./chunks/helpers.segment.cjs":4098,"@kurkle/color":734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./chunks/helpers.segment.cjs");t("@kurkle/color");class i{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=undefined}_notify(t,e,r,n){const i=e.listeners[n],o=e.duration;i.forEach((n=>n({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(r-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=n.requestAnimFrame.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((r,n)=>{if(!r.running||!r.items.length)return;const i=r.items;let o,a=i.length-1,s=!1;for(;a>=0;--a)o=i[a],o._active?(o._total>r.duration&&(r.duration=o._total),o.tick(t),s=!0):(i[a]=i[i.length-1],i.pop());s&&(n.draw(),this._notify(n,r,t,"progress")),i.length||(r.running=!1,this._notify(n,r,t,"complete"),r.initial=!1),e+=i.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let r=e.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,r)),r}listen(t,e,r){this._getAnims(t).listeners[e].push(r)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const r=e.items;let n=r.length-1;for(;n>=0;--n)r[n].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var o=new i;const a="transparent",s={boolean:(t,e,r)=>r>.5?e:t,color(t,e,r){const i=n.color(t||a),o=i.valid&&n.color(e||a);return o&&o.valid?o.mix(i,r).hexString():e},number:(t,e,r)=>t+(e-t)*r};class l{constructor(t,e,r,i){const o=e[r];i=n.resolve([t.to,i,o,t.from]);const a=n.resolve([t.from,o,i]);this._active=!0,this._fn=t.fn||s[t.type||typeof a],this._easing=n.effects[t.easing]||n.effects.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=r,this._from=a,this._to=i,this._promises=undefined}active(){return this._active}update(t,e,r){if(this._active){this._notify(!1);const i=this._target[this._prop],o=r-this._start,a=this._duration-o;this._start=r,this._duration=Math.floor(Math.max(a,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=n.resolve([t.to,e,i,t.from]),this._from=n.resolve([t.from,i,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,r=this._duration,n=this._prop,i=this._from,o=this._loop,a=this._to;let s;if(this._active=i!==a&&(o||e1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[n]=this._fn(i,a,s))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,r)=>{t.push({res:e,rej:r})}))}_notify(t){const e=t?"res":"rej",r=this._promises||[];for(let t=0;t{const o=t[i];if(!n.isObject(o))return;const a={};for(const t of e)a[t]=o[t];(n.isArray(o.properties)&&o.properties||[i]).forEach((t=>{t!==i&&r.has(t)||r.set(t,a)}))}))}_animateOptions(t,e){const r=e.options,n=function(t,e){if(!e)return;let r=t.options;if(!r)return void(t.options=e);r.$shared&&(t.options=r=Object.assign({},r,{$shared:!1,$animations:{}}));return r}(t,r);if(!n)return[];const i=this._createAnimations(n,r);return r.$shared&&function(t,e){const r=[],n=Object.keys(e);for(let e=0;e{t.options=r}),(()=>{})),i}_createAnimations(t,e){const r=this._properties,n=[],i=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let s;for(s=o.length-1;s>=0;--s){const u=o[s];if("$"===u.charAt(0))continue;if("options"===u){n.push(...this._animateOptions(t,e));continue}const c=e[u];let d=i[u];const h=r.get(u);if(d){if(h&&d.active()){d.update(h,c,a);continue}d.cancel()}h&&h.duration?(i[u]=d=new l(h,t,u,c),n.push(d)):t[u]=c}return n}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const r=this._createAnimations(t,e);return r.length?(o.add(this._chart,r),!0):void 0}}function c(t,e){const r=t&&t.options||{},n=r.reverse,i=r.min===undefined?e:0,o=r.max===undefined?e:0;return{start:n?o:i,end:n?i:o}}function d(t,e){const r=[],n=t._getSortedDatasetMetas(e);let i,o;for(i=0,o=n.length;i0||!r&&e<0)return i.index}return null}function m(t,e){const{chart:r,_cachedMeta:n}=t,i=r._stacks||(r._stacks={}),{iScale:o,vScale:a,index:s}=n,l=o.axis,u=a.axis,c=function(t,e,r){return`${t.id}.${e.id}.${r.stack||r.type}`}(o,a,n),d=e.length;let h;for(let t=0;tr[t].axis===e)).shift()}function b(t,e){const r=t.controller.index,n=t.vScale&&t.vScale.axis;if(n){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||e[n]===undefined||e[n][r]===undefined)return;delete e[n][r],e[n]._visualValues!==undefined&&e[n]._visualValues[r]!==undefined&&delete e[n]._visualValues[r]}}}const v=t=>"reset"===t||"none"===t,w=(t,e)=>e?t:Object.assign({},t);class _{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=undefined,this._parsing=!1,this._data=undefined,this._objectData=undefined,this._sharedOptions=undefined,this._drawStart=undefined,this._drawCount=undefined,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=undefined,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=f(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&b(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,r=this.getDataset(),i=(t,e,r,n)=>"x"===t?e:"r"===t?n:r,o=e.xAxisID=n.valueOrDefault(r.xAxisID,y(t,"x")),a=e.yAxisID=n.valueOrDefault(r.yAxisID,y(t,"y")),s=e.rAxisID=n.valueOrDefault(r.rAxisID,y(t,"r")),l=e.indexAxis,u=e.iAxisID=i(l,o,a,s),c=e.vAxisID=i(l,a,o,s);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(a),e.rScale=this.getScaleForId(s),e.iScale=this.getScaleForId(u),e.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&n.unlistenArrayEvents(this._data,this),t._stacked&&b(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),r=this._data;if(n.isObject(e))this._data=function(t){const e=Object.keys(t),r=new Array(e.length);let n,i,o;for(n=0,i=e.length;n0&&r._parsed[t-1];if(!1===this._parsing)r._parsed=i,r._sorted=!0,c=i;else{c=n.isArray(i[t])?this.parseArrayData(r,i,t,e):n.isObject(i[t])?this.parseObjectData(r,i,t,e):this.parsePrimitiveData(r,i,t,e);const o=()=>null===u[s]||h&&u[s]t&&!e.hidden&&e._stacked&&{keys:d(r,!0),values:null})(e,r,this.chart),u={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:h}=function(t){const{min:e,max:r,minDefined:n,maxDefined:i}=t.getUserBounds();return{min:n?e:Number.NEGATIVE_INFINITY,max:i?r:Number.POSITIVE_INFINITY}}(s);let f,p;function g(){p=i[f];const e=p[s.axis];return!n.isNumberFinite(p[t.axis])||c>e||h=0;--f)if(!g()){this.updateRangeFromParsed(u,t,p,l);break}return u}getAllParsedValues(t){const e=this._cachedMeta._parsed,r=[];let i,o,a;for(i=0,o=e.length;i=0&&tthis.getContext(r,i,e)),d);return p.$shared&&(p.$shared=l,o[a]=Object.freeze(w(p,l))),p}_resolveAnimations(t,e,r){const n=this.chart,i=this._cachedDataOpts,o=`animation-${e}`,a=i[o];if(a)return a;let s;if(!1!==n.options.animation){const n=this.chart.config,i=n.datasetAnimationScopeKeys(this._type,e),o=n.getOptionScopes(this.getDataset(),i);s=n.createResolver(o,this.getContext(t,r,e))}const l=new u(n,s&&s.animations);return s&&s._cacheable&&(i[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||v(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const r=this.resolveDataElementOptions(t,e),n=this._sharedOptions,i=this.getSharedOptions(r),o=this.includeOptions(e,i)||i!==n;return this.updateSharedOptions(i,e,r),{sharedOptions:i,includeOptions:o}}updateElement(t,e,r,n){v(n)?Object.assign(t,r):this._resolveAnimations(e,n).update(t,r)}updateSharedOptions(t,e,r){t&&!v(e)&&this._resolveAnimations(undefined,e).update(t,r)}_setStyle(t,e,r,n){t.active=n;const i=this.getStyle(e,n);this._resolveAnimations(e,r,n).update(t,{options:!n&&this.getSharedOptions(i)||i})}removeHoverStyle(t,e,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,e,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,undefined,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,undefined,"active",!0)}_resyncElements(t){const e=this._data,r=this._cachedMeta.data;for(const[t,e,r]of this._syncList)this[t](e,r);this._syncList=[];const n=r.length,i=e.length,o=Math.min(i,n);o&&this.parse(0,o),i>n?this._insertElements(n,i-n,t):i{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(s(i),a=t;at-e)))}return t._cache.$bar}(e,t.type);let i,o,a,s,l=e._length;const u=()=>{32767!==a&&-32768!==a&&(n.defined(s)&&(l=Math.min(l,Math.abs(a-s)||l)),s=a)};for(i=0,o=r.length;iMath.abs(s)&&(l=s,u=a),e[r.axis]=u,e._custom={barStart:l,barEnd:u,start:i,end:o,min:a,max:s}}(t,e,r,i):e[r.axis]=r.parse(t,i),e}function C(t,e,r,n){const i=t.iScale,o=t.vScale,a=i.getLabels(),s=i===o,l=[];let u,c,d,h;for(u=r,c=r+n;ut.x,r="left",n="right"):(e=t.baset.controller.options.grouped)),o=r.options.stacked,a=[],s=t=>{const r=t.controller.getParsed(e),i=r&&r[t.vScale.axis];if(n.isNullOrUndef(i)||isNaN(i))return!0};for(const r of i)if((e===undefined||!s(r))&&((!1===o||-1===a.indexOf(r.stack)||o===undefined&&r.stack===undefined)&&a.push(r.stack),r.index===t))break;return a.length||a.push(undefined),a}_getStackCount(t){return this._getStacks(undefined,t).length}_getStackIndex(t,e,r){const n=this._getStacks(t,r),i=e!==undefined?n.indexOf(e):-1;return-1===i?n.length-1:i}_getRuler(){const t=this.options,e=this._cachedMeta,r=e.iScale,n=[];let i,o;for(i=0,o=e.data.length;i=r?1:-1)}(h,e,s)*a,f===s&&(y-=h/2);const t=e.getPixelForDecimal(0),o=e.getPixelForDecimal(1),u=Math.min(t,o),p=Math.max(t,o);y=Math.max(Math.min(y,p),u),d=y+h,r&&!c&&(l._stacks[e.axis]._visualValues[i]=e.getValueForPixel(d)-e.getValueForPixel(y))}if(y===e.getPixelForValue(s)){const t=n.sign(h)*e.getLineWidthForValue(s)/2;y+=t,h-=t}return{size:h,base:y,head:d,center:d+h/2}}_calculateBarIndexPixels(t,e){const r=e.scale,i=this.options,o=i.skipNull,a=n.valueOrDefault(i.maxBarThickness,Infinity);let s,l;if(e.grouped){const r=o?this._getStackCount(t):e.stackCount,u="flex"===i.barThickness?function(t,e,r,n){const i=e.pixels,o=i[t];let a=t>0?i[t-1]:null,s=t=0;--r)e=Math.max(e,t[r].size(this.resolveDataElementOptions(r))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,r=this.chart.data.labels||[],{xScale:n,yScale:i}=e,o=this.getParsed(t),a=n.getLabelForValue(o.x),s=i.getLabelForValue(o.y),l=o._custom;return{label:r[t]||"",value:"("+a+", "+s+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,r,n){const i="reset"===n,{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:s,includeOptions:l}=this._getSharedOptions(e,n),u=o.axis,c=a.axis;for(let d=e;d"spacing"!==t,_indexable:t=>"spacing"!==t&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:r,color:n}}=t.legend.options;return e.labels.map(((e,i)=>{const o=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:n,lineWidth:o.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(i),index:i}}))}return[]}},onClick(t,e,r){r.chart.toggleDataVisibility(e.index),r.chart.update()}}}};constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=undefined,this.outerRadius=undefined,this.offsetX=undefined,this.offsetY=undefined}linkScales(){}parse(t,e){const r=this.getDataset().data,i=this._cachedMeta;if(!1===this._parsing)i._parsed=r;else{let o,a,s=t=>+r[t];if(n.isObject(r[t])){const{key:t="value"}=this._parsing;s=e=>+n.resolveObjectKey(r[e],t)}for(o=t,a=t+e;on._angleBetween(t,l,u,!0)?1:Math.max(e,e*r,i,i*r),g=(t,e,i)=>n._angleBetween(t,l,u,!0)?-1:Math.min(e,e*r,i,i*r),m=p(0,c,h),y=p(n.HALF_PI,d,f),b=g(n.PI,c,h),v=g(n.PI+n.HALF_PI,d,f);i=(m-b)/2,o=(y-v)/2,a=-(m+b)/2,s=-(y+v)/2}return{ratioX:i,ratioY:o,offsetX:a,offsetY:s}}(d,c,l),m=(r.width-a)/h,y=(r.height-a)/f,b=Math.max(Math.min(m,y)/2,0),v=n.toDimension(this.options.radius,b),w=(v-Math.max(v*l,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*v,this.offsetY=g*v,i.total=this.calculateTotal(),this.outerRadius=v-w*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-w*u,0),this.updateElements(o,0,o.length,t)}_circumference(t,e){const r=this.options,i=this._cachedMeta,o=this._getCircumference();return e&&r.animation.animateRotate||!this.chart.getDataVisibility(t)||null===i._parsed[t]||i.data[t].hidden?0:this.calculateCircumference(i._parsed[t]*o/n.TAU)}updateElements(t,e,r,n){const i="reset"===n,o=this.chart,a=o.chartArea,s=o.options.animation,l=(a.left+a.right)/2,u=(a.top+a.bottom)/2,c=i&&s.animateScale,d=c?0:this.innerRadius,h=c?0:this.outerRadius,{sharedOptions:f,includeOptions:p}=this._getSharedOptions(e,n);let g,m=this._getRotation();for(g=0;g0&&!isNaN(t)?n.TAU*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=n.formatNumber(e._parsed[t],r.options.locale);return{label:i[t]||"",value:o}}getMaxBorderWidth(t){let e=0;const r=this.chart;let n,i,o,a,s;if(!t)for(n=0,i=r.data.datasets.length;n0&&this.getParsed(e-1);for(let r=0;r=b){v.skip=!0;continue}const _=this.getParsed(r),A=n.isNullOrUndef(_[f]),x=v[h]=a.getPixelForValue(_[h],r),C=v[f]=o||A?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,_,l):_[f],r);v.skip=isNaN(x)||isNaN(C)||A,v.stop=r>0&&Math.abs(_[h]-w[h])>m,g&&(v.parsed=_,v.raw=u.data[r]),d&&(v.options=c||this.resolveDataElementOptions(r,p.active?"active":i)),y||this.updateElement(p,r,v,i),w=_}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,r=e.options&&e.options.borderWidth||0,n=t.data||[];if(!n.length)return r;const i=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(r,i,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}class N extends _{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:r,color:n}}=t.legend.options;return e.labels.map(((e,i)=>{const o=t.getDatasetMeta(0).controller.getStyle(i);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:n,lineWidth:o.borderWidth,pointStyle:r,hidden:!t.getDataVisibility(i),index:i}}))}return[]}},onClick(t,e,r){r.chart.toggleDataVisibility(e.index),r.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,e){super(t,e),this.innerRadius=undefined,this.outerRadius=undefined}getLabelAndValue(t){const e=this._cachedMeta,r=this.chart,i=r.data.labels||[],o=n.formatNumber(e._parsed[t].r,r.options.locale);return{label:i[t]||"",value:o}}parseObjectData(t,e,r,i){return n._parseObjectDataRadialScale.bind(this)(t,e,r,i)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,r)=>{const n=this.getParsed(r).r;!isNaN(n)&&this.chart.getDataVisibility(r)&&(ne.max&&(e.max=n))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,r=t.options,n=Math.min(e.right-e.left,e.bottom-e.top),i=Math.max(n/2,0),o=(i-Math.max(r.cutoutPercentage?i/100*r.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=i-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,r,i){const o="reset"===i,a=this.chart,s=a.options.animation,l=this._cachedMeta.rScale,u=l.xCenter,c=l.yCenter,d=l.getIndexAngle(0)-.5*n.PI;let h,f=d;const p=360/this.countVisibleElements();for(h=0;h{!isNaN(this.getParsed(r).r)&&this.chart.getDataVisibility(r)&&e++})),e}_computeAngle(t,e,r){return this.chart.getDataVisibility(t)?n.toRadians(this.resolveDataElementOptions(t,e).angle||r):0}}class k extends P{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}class B extends _{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){const e=this._cachedMeta.vScale,r=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(r[e.axis])}}parseObjectData(t,e,r,i){return n._parseObjectDataRadialScale.bind(this)(t,e,r,i)}update(t){const e=this._cachedMeta,r=e.dataset,n=e.data||[],i=e.iScale.getLabels();if(r.points=n,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:i.length===n.length,options:e};this.updateElement(r,undefined,o,t)}this.updateElements(n,0,n.length,t)}updateElements(t,e,r,n){const i=this._cachedMeta.rScale,o="reset"===n;for(let a=e;a0&&this.getParsed(e-1);for(let c=e;c0&&Math.abs(r[f]-v[f])>y,m&&(g.parsed=r,g.raw=u.data[c]),h&&(g.options=d||this.resolveDataElementOptions(c,e.active?"active":i)),b||this.updateElement(e,c,g,i),v=r}this.updateSharedOptions(d,i,c)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let r=e.length-1;r>=0;--r)t=Math.max(t,e[r].size(this.resolveDataElementOptions(r))/2);return t>0&&t}const r=t.dataset,n=r.options&&r.options.borderWidth||0;if(!e.length)return n;const i=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(n,i,o)/2}}var F=Object.freeze({__proto__:null,BarController:O,BubbleController:R,DoughnutController:P,LineController:M,PieController:k,PolarAreaController:N,RadarController:B,ScatterController:L});function j(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class z{static override(t){Object.assign(z.prototype,t)}options;constructor(t){this.options=t||{}}init(){}formats(){return j()}parse(){return j()}format(){return j()}add(){return j()}diff(){return j()}startOf(){return j()}endOf(){return j()}}var V={_date:z};function H(t,e,r,i){const{controller:o,data:a,_sorted:s}=t,l=o._cachedMeta.iScale;if(l&&e===l.axis&&"r"!==e&&s&&a.length){const t=l._reversePixels?n._rlookupByKey:n._lookupByKey;if(!i)return t(a,e,r);if(o._sharedOptions){const n=a[0],i="function"==typeof n.getRange&&n.getRange(e);if(i){const n=t(a,e,r-i),o=t(a,e,r+i);return{lo:n.lo,hi:o.hi}}}}return{lo:0,hi:a.length-1}}function U(t,e,r,n,i){const o=t.getSortedVisibleDatasetMetas(),a=r[e];for(let t=0,r=o.length;t{t[a](e[r],i)&&(o.push({element:t,datasetIndex:n,index:l}),s=s||t.inRange(e.x,e.y,i))})),n&&!s?[]:o}var Y={evaluateInteractionItems:U,modes:{index(t,e,r,i){const o=n.getRelativePosition(e,t),a=r.axis||"x",s=r.includeInvisible||!1,l=r.intersect?q(t,o,a,i,s):G(t,o,a,!1,i,s),u=[];return l.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=l[0].index,r=t.data[e];r&&!r.skip&&u.push({element:r,datasetIndex:t.index,index:e})})),u):[]},dataset(t,e,r,i){const o=n.getRelativePosition(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;let l=r.intersect?q(t,o,a,i,s):G(t,o,a,!1,i,s);if(l.length>0){const e=l[0].datasetIndex,r=t.getDatasetMeta(e).data;l=[];for(let t=0;tq(t,n.getRelativePosition(e,t),r.axis||"xy",i,r.includeInvisible||!1),nearest(t,e,r,i){const o=n.getRelativePosition(e,t),a=r.axis||"xy",s=r.includeInvisible||!1;return G(t,o,a,r.intersect,i,s)},x:(t,e,r,i)=>X(t,n.getRelativePosition(e,t),"x",r.intersect,i),y:(t,e,r,i)=>X(t,n.getRelativePosition(e,t),"y",r.intersect,i)}};const K=["left","top","right","bottom"];function Z(t,e){return t.filter((t=>t.pos===e))}function $(t,e){return t.filter((t=>-1===K.indexOf(t.pos)&&t.box.axis===e))}function Q(t,e){return t.sort(((t,r)=>{const n=e?r:t,i=e?t:r;return n.weight===i.weight?n.index-i.index:n.weight-i.weight}))}function J(t,e){const r=function(t){const e={};for(const r of t){const{stack:t,pos:n,stackWeight:i}=r;if(!t||!K.includes(n))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return e}(t),{vBoxMaxWidth:n,hBoxMaxHeight:i}=e;let o,a,s;for(o=0,a=t.length;o{n[t]=Math.max(e[t],r[t])})),n}return n(t?["left","right"]:["top","bottom"])}function it(t,e,r,n){const i=[];let o,a,s,l,u,c;for(o=0,a=t.length,u=0;ot.box.fullSize)),!0),n=Q(Z(e,"left"),!0),i=Q(Z(e,"right")),o=Q(Z(e,"top"),!0),a=Q(Z(e,"bottom")),s=$(e,"x"),l=$(e,"y");return{fullSize:r,leftAndTop:n.concat(o),rightAndBottom:i.concat(l).concat(a).concat(s),chartArea:Z(e,"chartArea"),vertical:n.concat(i).concat(l),horizontal:o.concat(a).concat(s)}}(t.boxes),u=l.vertical,c=l.horizontal;n.each(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const d=u.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,h=Object.freeze({outerWidth:e,outerHeight:r,padding:o,availableWidth:a,availableHeight:s,vBoxMaxWidth:a/2/d,hBoxMaxHeight:s/2}),f=Object.assign({},o);et(f,n.toPadding(i));const p=Object.assign({maxPadding:f,w:a,h:s,x:o.left,y:o.top},o),g=J(u.concat(c),h);it(l.fullSize,p,h,g),it(u,p,h,g),it(c,p,h,g)&&it(u,p,h,g),function(t){const e=t.maxPadding;function r(r){const n=Math.max(e[r]-t[r],0);return t[r]+=n,n}t.y+=r("top"),t.x+=r("left"),r("right"),r("bottom")}(p),at(l.leftAndTop,p,h,g),p.x+=p.w,p.y+=p.h,at(l.rightAndBottom,p,h,g),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},n.each(l.chartArea,(e=>{const r=e.box;Object.assign(r,t.chartArea),r.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})}))}};class lt{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,r){}removeEventListener(t,e,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,r,n){return e=Math.max(0,e||t.width),r=r||t.height,{width:e,height:Math.max(0,n?Math.floor(e/n):r)}}isAttached(t){return!0}updateConfig(t){}}class ut extends lt{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const ct="$chartjs",dt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ht=t=>null===t||""===t;const ft=!!n.supportsEventListenerOptions&&{passive:!0};function pt(t,e,r){t.canvas.removeEventListener(e,r,ft)}function gt(t,e){for(const r of t)if(r===e||r.contains(e))return!0}function mt(t,e,r){const n=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const r of t)e=e||gt(r.addedNodes,n),e=e&&!gt(r.removedNodes,n);e&&r()}));return i.observe(document,{childList:!0,subtree:!0}),i}function yt(t,e,r){const n=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const r of t)e=e||gt(r.removedNodes,n),e=e&&!gt(r.addedNodes,n);e&&r()}));return i.observe(document,{childList:!0,subtree:!0}),i}const bt=new Map;let vt=0;function wt(){const t=window.devicePixelRatio;t!==vt&&(vt=t,bt.forEach(((e,r)=>{r.currentDevicePixelRatio!==t&&e()})))}function _t(t,e,r){const i=t.canvas,o=i&&n._getParentNode(i);if(!o)return;const a=n.throttled(((t,e)=>{const n=o.clientWidth;r(t,e),n{const e=t[0],r=e.contentRect.width,n=e.contentRect.height;0===r&&0===n||a(r,n)}));return s.observe(o),function(t,e){bt.size||window.addEventListener("resize",wt),bt.set(t,e)}(t,a),s}function At(t,e,r){r&&r.disconnect(),"resize"===e&&function(t){bt.delete(t),bt.size||window.removeEventListener("resize",wt)}(t)}function xt(t,e,r){const i=t.canvas,o=n.throttled((e=>{null!==t.ctx&&r(function(t,e){const r=dt[t.type]||t.type,{x:i,y:o}=n.getRelativePosition(t,e);return{type:r,chart:e,native:t,x:i!==undefined?i:null,y:o!==undefined?o:null}}(e,t))}),t);return function(t,e,r){t.addEventListener(e,r,ft)}(i,e,o),o}class Ct extends lt{acquireContext(t,e){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(function(t,e){const r=t.style,i=t.getAttribute("height"),o=t.getAttribute("width");if(t[ct]={initial:{height:i,width:o,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||"block",r.boxSizing=r.boxSizing||"border-box",ht(o)){const e=n.readUsedSize(t,"width");e!==undefined&&(t.width=e)}if(ht(i))if(""===t.style.height)t.height=t.width/(e||2);else{const e=n.readUsedSize(t,"height");e!==undefined&&(t.height=e)}}(t,e),r):null}releaseContext(t){const e=t.canvas;if(!e[ct])return!1;const r=e[ct].initial;["height","width"].forEach((t=>{const i=r[t];n.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)}));const i=r.style||{};return Object.keys(i).forEach((t=>{e.style[t]=i[t]})),e.width=e.width,delete e[ct],!0}addEventListener(t,e,r){this.removeEventListener(t,e);const n=t.$proxies||(t.$proxies={}),i={attach:mt,detach:yt,resize:_t}[e]||xt;n[e]=i(t,e,r)}removeEventListener(t,e){const r=t.$proxies||(t.$proxies={}),n=r[e];if(!n)return;({attach:At,detach:At,resize:At}[e]||pt)(t,e,n),r[e]=undefined}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,r,i){return n.getMaximumSize(t,e,r,i)}isAttached(t){const e=n._getParentNode(t);return!(!e||!e.isConnected)}}function Et(t){return!n._isDomSupported()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?ut:Ct}class St{static defaults={};static defaultRoutes=undefined;x;y;active=!1;options;$animations;tooltipPosition(t){const{x:e,y:r}=this.getProps(["x","y"],t);return{x:e,y:r}}hasValue(){return n.isNumber(this.x)&&n.isNumber(this.y)}getProps(t,e){const r=this.$animations;if(!e||!r)return this;const n={};return t.forEach((t=>{n[t]=r[t]&&r[t].active()?r[t]._to:this[t]})),n}}function Tt(t,e){const r=t.options.ticks,i=function(t){const e=t.options.offset,r=t._tickSize(),n=t._length/r+(e?0:1),i=t._maxLength/r;return Math.floor(Math.min(n,i))}(t),o=Math.min(r.maxTicksLimit||i,i),a=r.major.enabled?function(t){const e=[];let r,n;for(r=0,n=t.length;ro)return function(t,e,r,n){let i,o=0,a=r[0];for(n=Math.ceil(n),i=0;io)return e}return Math.max(o,1)}(a,e,o);if(s>0){let t,r;const i=s>1?Math.round((u-l)/(s-1)):null;for(It(e,c,d,n.isNullOrUndef(i)?0:l-i,l),t=0,r=s-1;t"top"===e||"left"===e?t[e]+r:t[e]-r,Ot=(t,e)=>Math.min(e||t,t);function Rt(t,e){const r=[],n=t.length/e,i=t.length;let o=0;for(;oa+s)))return u}function Mt(t){return t.drawTicks?t.tickLength:0}function Nt(t,e){if(!t.display)return 0;const r=n.toFont(t.font,e),i=n.toPadding(t.padding);return(n.isArray(t.text)?t.text.length:1)*r.lineHeight+i.height}function kt(t,e,r){let i=n._toLeftRightCenter(t);return(r&&"right"!==e||!r&&"right"===e)&&(i=(t=>"left"===t?"right":"right"===t?"left":t)(i)),i}class Bt extends St{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=undefined,this.ctx=t.ctx,this.chart=t.chart,this.top=undefined,this.bottom=undefined,this.left=undefined,this.right=undefined,this.width=undefined,this.height=undefined,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=undefined,this.maxHeight=undefined,this.paddingTop=undefined,this.paddingBottom=undefined,this.paddingLeft=undefined,this.paddingRight=undefined,this.axis=undefined,this.labelRotation=undefined,this.min=undefined,this.max=undefined,this._range=undefined,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=undefined,this._endPixel=undefined,this._reversePixels=!1,this._userMax=undefined,this._userMin=undefined,this._suggestedMax=undefined,this._suggestedMin=undefined,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=undefined}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:r,_suggestedMax:i}=this;return t=n.finiteOrDefault(t,Number.POSITIVE_INFINITY),e=n.finiteOrDefault(e,Number.NEGATIVE_INFINITY),r=n.finiteOrDefault(r,Number.POSITIVE_INFINITY),i=n.finiteOrDefault(i,Number.NEGATIVE_INFINITY),{min:n.finiteOrDefault(t,r),max:n.finiteOrDefault(e,i),minDefined:n.isNumberFinite(t),maxDefined:n.isNumberFinite(e)}}getMinMax(t){let e,{min:r,max:i,minDefined:o,maxDefined:a}=this.getUserBounds();if(o&&a)return{min:r,max:i};const s=this.getMatchingVisibleMetas();for(let n=0,l=s.length;ni?i:r,i=o&&r>i?r:i,{min:n.finiteOrDefault(r,n.finiteOrDefault(i,r)),max:n.finiteOrDefault(i,n.finiteOrDefault(r,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){n.callback(this.options.beforeUpdate,[this])}update(t,e,r){const{beginAtZero:i,grace:o,ticks:a}=this.options,s=a.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=n._addGrace(this,o,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=s=o||r<=1||!this.isHorizontal())return void(this.labelRotation=i);const c=this._getLabelSizes(),d=c.widest.width,h=c.highest.height,f=n._limitValue(this.chart.width-d,0,this.maxWidth);a=t.offset?this.maxWidth/r:f/(r-1),d+6>a&&(a=f/(r-(t.offset?.5:1)),s=this.maxHeight-Mt(t.grid)-e.padding-Nt(t.title,this.chart.options.font),l=Math.sqrt(d*d+h*h),u=n.toDegrees(Math.min(Math.asin(n._limitValue((c.highest.height+6)/a,-1,1)),Math.asin(n._limitValue(s/l,-1,1))-Math.asin(n._limitValue(h/l,-1,1)))),u=Math.max(i,Math.min(o,u))),this.labelRotation=u}afterCalculateLabelRotation(){n.callback(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){n.callback(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:r,title:i,grid:o}}=this,a=this._isVisible(),s=this.isHorizontal();if(a){const a=Nt(i,e.options.font);if(s?(t.width=this.maxWidth,t.height=Mt(o)+a):(t.height=this.maxHeight,t.width=Mt(o)+a),r.display&&this.ticks.length){const{first:e,last:i,widest:o,highest:a}=this._getLabelSizes(),l=2*r.padding,u=n.toRadians(this.labelRotation),c=Math.cos(u),d=Math.sin(u);if(s){const e=r.mirror?0:d*o.width+c*a.height;t.height=Math.min(this.maxHeight,t.height+e+l)}else{const e=r.mirror?0:c*o.width+d*a.height;t.width=Math.min(this.maxWidth,t.width+e+l)}this._calculatePadding(e,i,d,c)}}this._handleMargins(),s?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,r,n){const{ticks:{align:i,padding:o},position:a}=this.options,s=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,u=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;s?l?(c=n*t.width,d=r*e.height):(c=r*t.height,d=n*e.width):"start"===i?d=e.width:"end"===i?c=t.width:"inner"!==i&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-u+o)*this.width/(this.width-u),0)}else{let r=e.height/2,n=t.height/2;"start"===i?(r=0,n=t.height):"end"===i&&(r=e.height,n=0),this.paddingTop=r+o,this.paddingBottom=n+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){n.callback(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,r;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,r=t.length;e{const r=t.gc,n=r.length/2;let i;if(n>e){for(i=0;i({width:a[t]||0,height:s[t]||0});return{first:C(0),last:C(e-1),widest:C(A),highest:C(x),widths:a,heights:s}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return n._int16Range(this._alignToPixels?n._alignPixel(this.chart,e,0):e)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ts*i?s/r:l/i:l*i0}_computeGridLineItems(t){const e=this.axis,r=this.chart,i=this.options,{grid:o,position:a,border:s}=i,l=o.offset,u=this.isHorizontal(),c=this.ticks.length+(l?1:0),d=Mt(o),h=[],f=s.setContext(this.getContext()),p=f.display?f.width:0,g=p/2,m=function(t){return n._alignPixel(r,t,p)};let y,b,v,w,_,A,x,C,E,S,T,I;if("top"===a)y=m(this.bottom),A=this.bottom-d,C=y-g,S=m(t.top)+g,I=t.bottom;else if("bottom"===a)y=m(this.top),S=t.top,I=m(t.bottom)-g,A=y+g,C=this.top+d;else if("left"===a)y=m(this.right),_=this.right-d,x=y-g,E=m(t.left)+g,T=t.right;else if("right"===a)y=m(this.left),E=t.left,T=m(t.right)-g,_=y+g,x=this.left+d;else if("x"===e){if("center"===a)y=m((t.top+t.bottom)/2+.5);else if(n.isObject(a)){const t=Object.keys(a)[0],e=a[t];y=m(this.chart.scales[t].getPixelForValue(e))}S=t.top,I=t.bottom,A=y+g,C=A+d}else if("y"===e){if("center"===a)y=m((t.left+t.right)/2);else if(n.isObject(a)){const t=Object.keys(a)[0],e=a[t];y=m(this.chart.scales[t].getPixelForValue(e))}_=y-g,x=_-d,E=t.left,T=t.right}const D=n.valueOrDefault(i.ticks.maxTicksLimit,c),O=Math.max(1,Math.ceil(c/D));for(b=0;b0&&(a-=i/2)}h={left:a,top:o,width:i+e.width,height:r+e.height,color:t.backdropColor}}m.push({label:w,font:E,textOffset:I,options:{rotation:g,color:r,strokeColor:l,strokeWidth:c,textAlign:f,textBaseline:D,translation:[_,A],backdrop:h}})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-n.toRadians(this.labelRotation))return"top"===t?"left":"right";let r="center";return"start"===e.align?r="left":"end"===e.align?r="right":"inner"===e.align&&(r="inner"),r}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:r,mirror:n,padding:i}}=this.options,o=t+i,a=this._getLabelSizes().widest.width;let s,l;return"left"===e?n?(l=this.right+i,"near"===r?s="left":"center"===r?(s="center",l+=a/2):(s="right",l+=a)):(l=this.right-o,"near"===r?s="right":"center"===r?(s="center",l-=a/2):(s="left",l=this.left)):"right"===e?n?(l=this.left+i,"near"===r?s="right":"center"===r?(s="center",l-=a/2):(s="left",l-=a)):(l=this.left+o,"near"===r?s="left":"center"===r?(s="center",l+=a/2):(s="right",l=this.right)):s="right",{textAlign:s,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:r,top:n,width:i,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(r,n,i,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const r=this.ticks.findIndex((e=>e.value===t));if(r>=0){return e.setContext(this.getContext(r)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,r=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,o;const a=(t,e,n)=>{n.width&&n.color&&(r.save(),r.lineWidth=n.width,r.strokeStyle=n.color,r.setLineDash(n.borderDash||[]),r.lineDashOffset=n.borderDashOffset,r.beginPath(),r.moveTo(t.x,t.y),r.lineTo(e.x,e.y),r.stroke(),r.restore())};if(e.display)for(i=0,o=n.length;i{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",n=[];let i,o;for(i=0,o=e.length;i{const i=r.split("."),o=i.pop(),a=[t].concat(i).join("."),s=e[r].split("."),l=s.pop(),u=s.join(".");n.defaults.route(a,o,u,l)}))}(e,t.defaultRoutes);t.descriptors&&n.defaults.describe(e,t.descriptors)}(t,a,r),this.override&&n.defaults.override(t.id,t.overrides)),a}get(t){return this.items[t]}unregister(t){const e=this.items,r=t.id,i=this.scope;r in e&&delete e[r],i&&r in n.defaults[i]&&(delete n.defaults[i][r],this.override&&delete n.overrides[r])}}class Ft{constructor(){this.controllers=new Lt(_,"datasets",!0),this.elements=new Lt(St,"elements"),this.plugins=new Lt(Object,"plugins"),this.scales=new Lt(Bt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,r){[...e].forEach((e=>{const i=r||this._getRegistryForType(e);r||i.isForType(e)||i===this.plugins&&e.id?this._exec(t,i,e):n.each(e,(e=>{const n=r||this._getRegistryForType(e);this._exec(t,n,e)}))}))}_exec(t,e,r){const i=n._capitalize(t);n.callback(r["before"+i],[],r),e[t](r),n.callback(r["after"+i],[],r)}_getRegistryForType(t){for(let e=0;et.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(n(e,r),t,"stop"),this._notify(n(r,e),t,"start")}}function Vt(t,e){return e||!1!==t?!0===t?{}:t:null}function Ht(t,{plugin:e,local:r},n,i){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(n,o);return r&&e.defaults&&a.push(e.defaults),t.createResolver(a,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Ut(t,e){const r=n.defaults.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||r.indexAxis||"x"}function qt(t){if("x"===t||"y"===t||"r"===t)return t}function Wt(t,...e){if(qt(t))return t;for(const n of e){const e=n.axis||("top"===(r=n.position)||"bottom"===r?"x":"left"===r||"right"===r?"y":void 0)||t.length>1&&qt(t[0].toLowerCase());if(e)return e}var r;throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function Gt(t,e,r){if(r[e+"AxisID"]===t)return{axis:e}}function Xt(t,e){const r=n.overrides[t.type]||{scales:{}},i=e.scales||{},o=Ut(t.type,e),a=Object.create(null);return Object.keys(i).forEach((e=>{const s=i[e];if(!n.isObject(s))return console.error(`Invalid scale configuration for scale: ${e}`);if(s._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const l=Wt(e,s,function(t,e){if(e.data&&e.data.datasets){const r=e.data.datasets.filter((e=>e.xAxisID===t||e.yAxisID===t));if(r.length)return Gt(t,"x",r[0])||Gt(t,"y",r[0])}return{}}(e,t),n.defaults.scales[s.type]),u=function(t,e){return t===e?"_index_":"_value_"}(l,o),c=r.scales||{};a[e]=n.mergeIf(Object.create(null),[{axis:l},s,c[l],c[u]])})),t.data.datasets.forEach((r=>{const o=r.type||t.type,s=r.indexAxis||Ut(o,e),l=(n.overrides[o]||{}).scales||{};Object.keys(l).forEach((t=>{const e=function(t,e){let r=t;return"_index_"===t?r=e:"_value_"===t&&(r="x"===e?"y":"x"),r}(t,s),o=r[e+"AxisID"]||e;a[o]=a[o]||Object.create(null),n.mergeIf(a[o],[{axis:e},i[o],l[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];n.mergeIf(e,[n.defaults.scales[e.type],n.defaults.scale])})),a}function Yt(t){const e=t.options||(t.options={});e.plugins=n.valueOrDefault(e.plugins,{}),e.scales=Xt(t,e)}function Kt(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const Zt=new Map,$t=new Set;function Qt(t,e){let r=Zt.get(t);return r||(r=e(),Zt.set(t,r),$t.add(r)),r}const Jt=(t,e,r)=>{const i=n.resolveObjectKey(e,r);i!==undefined&&t.add(i)};class te{constructor(t){this._config=function(t){return(t=t||{}).data=Kt(t.data),Yt(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=Kt(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),Yt(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return Qt(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return Qt(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return Qt(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return Qt(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const r=this._scopeCache;let n=r.get(t);return n&&!e||(n=new Map,r.set(t,n)),n}getOptionScopes(t,e,r){const{options:i,type:o}=this,a=this._cachedScopes(t,r),s=a.get(e);if(s)return s;const l=new Set;e.forEach((e=>{t&&(l.add(t),e.forEach((e=>Jt(l,t,e)))),e.forEach((t=>Jt(l,i,t))),e.forEach((t=>Jt(l,n.overrides[o]||{},t))),e.forEach((t=>Jt(l,n.defaults,t))),e.forEach((t=>Jt(l,n.descriptors,t)))}));const u=Array.from(l);return 0===u.length&&u.push(Object.create(null)),$t.has(e)&&a.set(e,u),u}chartOptionScopes(){const{options:t,type:e}=this;return[t,n.overrides[e]||{},n.defaults.datasets[e]||{},{type:e},n.defaults,n.descriptors]}resolveNamedOptions(t,e,r,i=[""]){const o={$shared:!0},{resolver:a,subPrefixes:s}=ee(this._resolverCache,t,i);let l=a;if(function(t,e){const{isScriptable:r,isIndexable:i}=n._descriptors(t);for(const o of e){const e=r(o),a=i(o),s=(a||e)&&t[o];if(e&&(n.isFunction(s)||re(s))||a&&n.isArray(s))return!0}return!1}(a,e)){o.$shared=!1,r=n.isFunction(r)?r():r;const e=this.createResolver(t,r,s);l=n._attachContext(a,r,e)}for(const t of e)o[t]=l[t];return o}createResolver(t,e,r=[""],i){const{resolver:o}=ee(this._resolverCache,t,r);return n.isObject(e)?n._attachContext(o,e,undefined,i):o}}function ee(t,e,r){let i=t.get(e);i||(i=new Map,t.set(e,i));const o=r.join();let a=i.get(o);if(!a){a={resolver:n._createResolver(e,r),subPrefixes:r.filter((t=>!t.toLowerCase().includes("hover")))},i.set(o,a)}return a}const re=t=>n.isObject(t)&&Object.getOwnPropertyNames(t).some((e=>n.isFunction(t[e])));const ne=["top","bottom","left","right","chartArea"];function ie(t,e){return"top"===t||"bottom"===t||-1===ne.indexOf(t)&&"x"===e}function oe(t,e){return function(r,n){return r[t]===n[t]?r[e]-n[e]:r[t]-n[t]}}function ae(t){const e=t.chart,r=e.options.animation;e.notifyPlugins("afterRender"),n.callback(r&&r.onComplete,[t],e)}function se(t){const e=t.chart,r=e.options.animation;n.callback(r&&r.onProgress,[t],e)}function le(t){return n._isDomSupported()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const ue={},ce=t=>{const e=le(t);return Object.values(ue).filter((t=>t.canvas===e)).pop()};function de(t,e,r){const n=Object.keys(t);for(const i of n){const n=+i;if(n>=e){const o=t[i];delete t[i],(r>0||n>e)&&(t[n+r]=o)}}}function he(t,e,r){return t.options.clip?t[r]:e[r]}class fe{static defaults=n.defaults;static instances=ue;static overrides=n.overrides;static registry=jt;static version="4.4.1";static getChart=ce;static register(...t){jt.add(...t),pe()}static unregister(...t){jt.remove(...t),pe()}constructor(t,e){const r=this.config=new te(e),i=le(t),a=ce(i);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas with ID '"+a.canvas.id+"' can be reused.");const s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||Et(i)),this.platform.updateConfig(r);const l=this.platform.acquireContext(i,s.aspectRatio),u=l&&l.canvas,c=u&&u.height,d=u&&u.width;this.id=n.uid(),this.ctx=l,this.canvas=u,this.width=d,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=undefined,this.boxes=[],this.currentDevicePixelRatio=undefined,this.chartArea=undefined,this._active=[],this._lastEvent=undefined,this._listeners={},this._responsiveListeners=undefined,this._sortedMetasets=[],this.scales={},this._plugins=new zt,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=undefined,this.$context=undefined,this._doResize=n.debounce((t=>this.update(t)),s.resizeDelay||0),this._dataChanges=[],ue[this.id]=this,l&&u?(o.listen(this,"complete",ae),o.listen(this,"progress",se),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:r,height:i,_aspectRatio:o}=this;return n.isNullOrUndef(t)?e&&o?o:i?r/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return jt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():n.retinaScale(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return n.clearCanvas(this.canvas,this.ctx),this}stop(){return o.stop(this),this}resize(t,e){o.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const r=this.options,i=this.canvas,o=r.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(i,t,e,o),s=r.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,n.retinaScale(this,s,!0)&&(this.notifyPlugins("resize",{size:a}),n.callback(r.onResize,[this,a],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){const t=this.options.scales||{};n.each(t,((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,r=this.scales,i=Object.keys(r).reduce(((t,e)=>(t[e]=!1,t)),{});let o=[];e&&(o=o.concat(Object.keys(e).map((t=>{const r=e[t],n=Wt(t,r),i="r"===n,o="x"===n;return{options:r,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}})))),n.each(o,(e=>{const o=e.options,a=o.id,s=Wt(a,o),l=n.valueOrDefault(o.type,e.dtype);o.position!==undefined&&ie(o.position,s)===ie(e.dposition)||(o.position=e.dposition),i[a]=!0;let u=null;if(a in r&&r[a].type===l)u=r[a];else{u=new(jt.getScale(l))({id:a,type:l,ctx:this.ctx,chart:this}),r[u.id]=u}u.init(o,t)})),n.each(i,((t,e)=>{t||delete r[e]})),n.each(r,(t=>{st.configure(this,t,t.options),st.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,r=t.length;if(t.sort(((t,e)=>t.index-e.index)),r>e){for(let t=e;te.length&&delete this._stacks,t.forEach(((t,r)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(r)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=e.length;r{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const r=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let t=0,e=this.data.datasets.length;t{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(oe("z","_idx"));const{_active:s,_lastEvent:l}=this;l?this._eventHandler(l,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){n.each(this.scales,(t=>{st.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),r=new Set(t.events);n.setsEqual(e,r)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:r,start:n,count:i}of e){de(t,n,"_removeElements"===r?-i:i)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,r=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),i=r(0);for(let t=1;tt.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;st.update(this,this.width,this.height,t);const e=this.chartArea,r=e.width<=0||e.height<=0;this._layers=[],n.each(this.boxes,(t=>{r&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,r=t._clip,i=!r.disabled,o=function(t,e){const{xScale:r,yScale:n}=t;return r&&n?{left:he(r,e,"left"),right:he(r,e,"right"),top:he(n,e,"top"),bottom:he(n,e,"bottom")}:e}(t,this.chartArea),a={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(i&&n.clipArea(e,{left:!1===r.left?0:o.left-r.left,right:!1===r.right?this.width:o.right+r.right,top:!1===r.top?0:o.top-r.top,bottom:!1===r.bottom?this.height:o.bottom+r.bottom}),t.controller.draw(),i&&n.unclipArea(e),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return n._isPointInArea(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,r,n){const i=Y.modes[e];return"function"==typeof i?i(this,t,r,n):[]}getDatasetMeta(t){const e=this.data.datasets[t],r=this._metasets;let n=r.filter((t=>t&&t._dataset===e)).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},r.push(n)),n}getContext(){return this.$context||(this.$context=n.createContext(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const r=this.getDatasetMeta(t);return"boolean"==typeof r.hidden?!r.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,r){const i=r?"show":"hide",o=this.getDatasetMeta(t),a=o.controller._resolveAnimations(undefined,i);n.defined(e)?(o.data[e].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),a.update(o,{visible:r}),this.update((e=>e.datasetIndex===t?i:undefined)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),o.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,r,n),t[r]=n},i=(t,e,r)=>{t.offsetX=e,t.offsetY=r,this._eventHandler(t)};n.each(this.options.events,(t=>r(t,i)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,r=(r,n)=>{e.addEventListener(this,r,n),t[r]=n},n=(r,n)=>{t[r]&&(e.removeEventListener(this,r,n),delete t[r])},i=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{n("attach",a),this.attached=!0,this.resize(),r("resize",i),r("detach",o)};o=()=>{this.attached=!1,n("resize",i),this._stop(),this._resize(0,0),r("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){n.each(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},n.each(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=undefined}updateHoverStyle(t,e,r){const n=r?"set":"remove";let i,o,a,s;for("dataset"===e&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+n+"DatasetHoverStyle"]()),a=0,s=t.length;a{const r=this.getDatasetMeta(t);if(!r)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:r.data[e],index:e}}));!n._elementsEqual(r,e)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,e))}notifyPlugins(t,e,r){return this._plugins.notify(this,t,e,r)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,r){const n=this.options.hover,i=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=i(e,t),a=r?t:i(t,e);o.length&&this.updateHoverStyle(o,n.mode,!1),a.length&&n.mode&&this.updateHoverStyle(a,n.mode,!0)}_eventHandler(t,e){const r={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},n=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",r,n))return;const i=this._handleEvent(t,e,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,n),(i||r.changed)&&this.render(),this}_handleEvent(t,e,r){const{_active:i=[],options:o}=this,a=e,s=this._getActiveElements(t,i,r,a),l=n._isClickEvent(t),u=function(t,e,r,n){return r&&"mouseout"!==t.type?n?e:t:null}(t,this._lastEvent,r,l);r&&(this._lastEvent=null,n.callback(o.onHover,[t,s,this],this),l&&n.callback(o.onClick,[t,s,this],this));const c=!n._elementsEqual(s,i);return(c||e)&&(this._active=s,this._updateHoverStyles(s,i,e)),this._lastEvent=u,c}_getActiveElements(t,e,r,n){if("mouseout"===t.type)return[];if(!r)return e;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,n)}}function pe(){return n.each(fe.instances,(t=>t._plugins.invalidate()))}function ge(t,e,r,i){const o=(a=t.options.borderRadius,n._readValueToProps(a,["outerStart","outerEnd","innerStart","innerEnd"]));var a;const s=(r-e)/2,l=Math.min(s,i*e/2),u=t=>{const e=(r-Math.min(s,t))*i/2;return n._limitValue(t,0,Math.min(s,e))};return{outerStart:u(o.outerStart),outerEnd:u(o.outerEnd),innerStart:n._limitValue(o.innerStart,0,l),innerEnd:n._limitValue(o.innerEnd,0,l)}}function me(t,e,r,n){return{x:r+t*Math.cos(e),y:n+t*Math.sin(e)}}function ye(t,e,r,i,o,a){const{x:s,y:l,startAngle:u,pixelMargin:c,innerRadius:d}=e,h=Math.max(e.outerRadius+i+r-c,0),f=d>0?d+i+r+c:0;let p=0;const g=o-u;if(i){const t=((d>0?d-i:0)+(h>0?h-i:0))/2;p=(g-(0!==t?g*t/(t+i):g))/2}const m=(g-Math.max(.001,g*h-r/n.PI)/h)/2,y=u+m+p,b=o-m-p,{outerStart:v,outerEnd:w,innerStart:_,innerEnd:A}=ge(e,f,h,b-y),x=h-v,C=h-w,E=y+v/x,S=b-w/C,T=f+_,I=f+A,D=y+_/T,O=b-A/I;if(t.beginPath(),a){const e=(E+S)/2;if(t.arc(s,l,h,E,e),t.arc(s,l,h,e,S),w>0){const e=me(C,S,s,l);t.arc(e.x,e.y,w,S,b+n.HALF_PI)}const r=me(I,b,s,l);if(t.lineTo(r.x,r.y),A>0){const e=me(I,O,s,l);t.arc(e.x,e.y,A,b+n.HALF_PI,O+Math.PI)}const i=(b-A/f+(y+_/f))/2;if(t.arc(s,l,f,b-A/f,i,!0),t.arc(s,l,f,i,y+_/f,!0),_>0){const e=me(T,D,s,l);t.arc(e.x,e.y,_,D+Math.PI,y-n.HALF_PI)}const o=me(x,y,s,l);if(t.lineTo(o.x,o.y),v>0){const e=me(x,E,s,l);t.arc(e.x,e.y,v,y-n.HALF_PI,E)}}else{t.moveTo(s,l);const e=Math.cos(E)*h+s,r=Math.sin(E)*h+l;t.lineTo(e,r);const n=Math.cos(S)*h+s,i=Math.sin(S)*h+l;t.lineTo(n,i)}t.closePath()}function be(t,e,r,i,o){const{fullCircles:a,startAngle:s,circumference:l,options:u}=e,{borderWidth:c,borderJoinStyle:d,borderDash:h,borderDashOffset:f}=u,p="inner"===u.borderAlign;if(!c)return;t.setLineDash(h||[]),t.lineDashOffset=f,p?(t.lineWidth=2*c,t.lineJoin=d||"round"):(t.lineWidth=c,t.lineJoin=d||"bevel");let g=e.endAngle;if(a){ye(t,e,r,i,g,o);for(let e=0;eo?(c=o/u,t.arc(a,s,u,r+c,i-c,!0)):t.arc(a,s,o,r+n.HALF_PI,i-n.HALF_PI),t.closePath(),t.clip()}(t,e,g),a||(ye(t,e,r,i,g,o),t.stroke())}class ve extends St{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:undefined,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:undefined,circular:!0};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(t){super(),this.options=undefined,this.circumference=undefined,this.startAngle=undefined,this.endAngle=undefined,this.innerRadius=undefined,this.outerRadius=undefined,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,r){const i=this.getProps(["x","y"],r),{angle:o,distance:a}=n.getAngleFromPoint(i,{x:t,y:e}),{startAngle:s,endAngle:l,innerRadius:u,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],r),h=(this.options.spacing+this.options.borderWidth)/2,f=n.valueOrDefault(d,l-s)>=n.TAU||n._angleBetween(o,s,l),p=n._isBetween(a,u+h,c+h);return f&&p}getCenterPoint(t){const{x:e,y:r,startAngle:n,endAngle:i,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:s,spacing:l}=this.options,u=(n+i)/2,c=(o+a+l+s)/2;return{x:e+Math.cos(u)*c,y:r+Math.sin(u)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:r}=this,i=(e.offset||0)/4,o=(e.spacing||0)/2,a=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=r>n.TAU?Math.floor(r/n.TAU):0,0===r||this.innerRadius<0||this.outerRadius<0)return;t.save();const s=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(s)*i,Math.sin(s)*i);const l=i*(1-Math.sin(Math.min(n.PI,r||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function(t,e,r,i,o){const{fullCircles:a,startAngle:s,circumference:l}=e;let u=e.endAngle;if(a){ye(t,e,r,i,u,o);for(let e=0;es&&o>s;return{count:n,start:l,loop:e.loop,ilen:u(a+(u?s-t:t))%o,v=()=>{f!==p&&(t.lineTo(m,p),t.lineTo(m,f),t.lineTo(m,g))};for(l&&(d=i[b(0)],t.moveTo(d.x,d.y)),c=0;c<=s;++c){if(d=i[b(c)],d.skip)continue;const e=d.x,r=d.y,n=0|e;n===h?(rp&&(p=r),m=(y*m+e)/++y):(v(),t.lineTo(e,r),h=n,y=0,f=p=r),g=r}v()}function Ee(t){const e=t.options,r=e.borderDash&&e.borderDash.length;return!(t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||r)?Ce:xe}const Se="function"==typeof Path2D;function Te(t,e,r,n){Se&&!e.options.segment?function(t,e,r,n){let i=e._path;i||(i=e._path=new Path2D,e.path(i,r,n)&&i.closePath()),we(t,e.options),t.stroke(i)}(t,e,r,n):function(t,e,r,n){const{segments:i,options:o}=e,a=Ee(e);for(const s of i)we(t,o,s.style),t.beginPath(),a(t,e,s,{start:r,end:r+n-1})&&t.closePath(),t.stroke()}(t,e,r,n)}class Ie extends St{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};constructor(t){super(),this.animated=!0,this.options=undefined,this._chart=undefined,this._loop=undefined,this._fullLoop=undefined,this._path=undefined,this._points=undefined,this._segments=undefined,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=undefined,t&&Object.assign(this,t)}updateControlPoints(t,e){const r=this.options;if((r.tension||"monotone"===r.cubicInterpolationMode)&&!r.stepped&&!this._pointsUpdated){const i=r.spanGaps?this._loop:this._fullLoop;n._updateBezierControlPoints(this._points,r,t,i,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=n._computeSegments(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,r=t.length;return r&&e[t[r-1].end]}interpolate(t,e){const r=this.options,i=t[e],o=this.points,a=n._boundSegments(this,{property:e,start:i,end:i});if(!a.length)return;const s=[],l=function(t){return t.stepped?n._steppedInterpolation:t.tension||"monotone"===t.cubicInterpolationMode?n._bezierInterpolation:n._pointInLine}(r);let u,c;for(u=0,c=a.length;ut.replace("rgb(","rgba(").replace(")",", 0.5)")));function Ve(t){return je[t%je.length]}function He(t){return ze[t%ze.length]}function Ue(t){let e=0;return(r,n)=>{const i=t.getDatasetMeta(n).controller;i instanceof P?e=function(t,e){return t.backgroundColor=t.data.map((()=>Ve(e++))),e}(r,e):i instanceof N?e=function(t,e){return t.backgroundColor=t.data.map((()=>He(e++))),e}(r,e):i&&(e=function(t,e){return t.borderColor=Ve(e),t.backgroundColor=He(e),++e}(r,e))}}function qe(t){let e;for(e in t)if(t[e].borderColor||t[e].backgroundColor)return!0;return!1}var We={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(t,e,r){if(!r.enabled)return;const{data:{datasets:n},options:i}=t.config,{elements:o}=i;if(!r.forceOverride&&(qe(n)||(a=i)&&(a.borderColor||a.backgroundColor)||o&&qe(o)))return;var a;const s=Ue(t);n.forEach(s)}};function Ge(t){if(t._decimated){const e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,writable:!0,value:e})}}function Xe(t){t.data.datasets.forEach((t=>{Ge(t)}))}var Ye={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,e,r)=>{if(!r.enabled)return void Xe(t);const i=t.width;t.data.datasets.forEach(((e,o)=>{const{_data:a,indexAxis:s}=e,l=t.getDatasetMeta(o),u=a||e.data;if("y"===n.resolve([s,t.options.indexAxis]))return;if(!l.controller.supportsDecimation)return;const c=t.scales[l.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(t.options.parsing)return;let{start:d,count:h}=function(t,e){const r=e.length;let i,o=0;const{iScale:a}=t,{min:s,max:l,minDefined:u,maxDefined:c}=a.getUserBounds();return u&&(o=n._limitValue(n._lookupByKey(e,a.axis,s).lo,0,r-1)),i=c?n._limitValue(n._lookupByKey(e,a.axis,l).hi+1,o,r)-o:r-o,{start:o,count:i}}(l,u);if(h<=(r.threshold||4*i))return void Ge(e);let f;switch(n.isNullOrUndef(a)&&(e._data=u,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),r.algorithm){case"lttb":f=function(t,e,r,n,i){const o=i.samples||n;if(o>=r)return t.slice(e,e+r);const a=[],s=(r-2)/(o-2);let l=0;const u=e+r-1;let c,d,h,f,p,g=e;for(a[l++]=t[g],c=0;ch&&(h=f,d=t[n],p=n);a[l++]=d,g=p}return a[l++]=t[u],a}(u,d,h,i,r);break;case"min-max":f=function(t,e,r,i){let o,a,s,l,u,c,d,h,f,p,g=0,m=0;const y=[],b=e+r-1,v=t[e].x,w=t[b].x-v;for(o=e;op&&(p=l,d=o),g=(m*g+a.x)/++m;else{const r=o-1;if(!n.isNullOrUndef(c)&&!n.isNullOrUndef(d)){const e=Math.min(c,d),n=Math.max(c,d);e!==h&&e!==r&&y.push({...t[e],x:g}),n!==h&&n!==r&&y.push({...t[n],x:g})}o>0&&r!==h&&y.push(t[r]),y.push(a),u=e,m=0,f=p=l,c=d=h=o}}return y}(u,d,h,i);break;default:throw new Error(`Unsupported decimation algorithm '${r.algorithm}'`)}e._decimated=f}))},destroy(t){Xe(t)}};function Ke(t,e,r,i){if(i)return;let o=e[t],a=r[t];return"angle"===t&&(o=n._normalizeAngle(o),a=n._normalizeAngle(a)),{property:t,start:o,end:a}}function Ze(t,e,r){for(;e>t;e--){const t=r[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function $e(t,e,r,n){return t&&e?n(t[r],e[r]):t?t[r]:e?e[r]:0}function Qe(t,e){let r=[],i=!1;return n.isArray(t)?(i=!0,r=t):r=function(t,e){const{x:r=null,y:n=null}=t||{},i=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=Ze(t,e,i);const a=i[t],s=i[e];null!==n?(o.push({x:a.x,y:n}),o.push({x:s.x,y:n})):null!==r&&(o.push({x:r,y:a.y}),o.push({x:r,y:s.y}))})),o}(t,e),r.length?new Ie({points:r,options:{tension:0},_loop:i,_fullLoop:i}):null}function Je(t){return t&&!1!==t.fill}function tr(t,e,r){let i=t[e].fill;const o=[e];let a;if(!r)return i;for(;!1!==i&&-1===o.indexOf(i);){if(!n.isNumberFinite(i))return i;if(a=t[i],!a)return!1;if(a.visible)return i;o.push(i),i=a.fill}return!1}function er(t,e,r){const i=function(t){const e=t.options,r=e.fill;let i=n.valueOrDefault(r&&r.target,r);i===undefined&&(i=!!e.backgroundColor);if(!1===i||null===i)return!1;if(!0===i)return"origin";return i}(t);if(n.isObject(i))return!isNaN(i.value)&&i;let o=parseFloat(i);return n.isNumberFinite(o)&&Math.floor(o)===o?function(t,e,r,n){"-"!==t&&"+"!==t||(r=e+r);if(r===e||r<0||r>=n)return!1;return r}(i[0],e,o,r):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function rr(t,e,r){const n=[];for(let i=0;i=0;--e){const r=i[e].$filler;r&&(r.line.updateControlPoints(o,r.axis),n&&r.fill&&ar(t.ctx,r,o))}},beforeDatasetsDraw(t,e,r){if("beforeDatasetsDraw"!==r.drawTime)return;const n=t.getSortedVisibleDatasetMetas();for(let e=n.length-1;e>=0;--e){const r=n[e].$filler;Je(r)&&ar(t.ctx,r,t.chartArea)}},beforeDatasetDraw(t,e,r){const n=e.meta.$filler;Je(n)&&"beforeDatasetDraw"===r.drawTime&&ar(t.ctx,n,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const hr=(t,e)=>{let{boxHeight:r=e,boxWidth:n=e}=t;return t.usePointStyle&&(r=Math.min(r,e),n=t.pointStyleWidth||Math.min(n,e)),{boxWidth:n,boxHeight:r,itemHeight:Math.max(e,r)}};class fr extends St{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=undefined,this.columnSizes=undefined,this.lineWidths=undefined,this.maxHeight=undefined,this.maxWidth=undefined,this.top=undefined,this.bottom=undefined,this.left=undefined,this.right=undefined,this.height=undefined,this.width=undefined,this._margins=undefined,this.position=undefined,this.weight=undefined,this.fullSize=undefined}update(t,e,r){this.maxWidth=t,this.maxHeight=e,this._margins=r,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=n.callback(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,r)=>t.sort(e,r,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const r=t.labels,i=n.toFont(r.font),o=i.size,a=this._computeTitleHeight(),{boxWidth:s,itemHeight:l}=hr(r,o);let u,c;e.font=i.string,this.isHorizontal()?(u=this.maxWidth,c=this._fitRows(a,o,s,l)+10):(c=this.maxHeight,u=this._fitCols(a,i,s,l)+10),this.width=Math.min(u,t.maxWidth||this.maxWidth),this.height=Math.min(c,t.maxHeight||this.maxHeight)}_fitRows(t,e,r,n){const{ctx:i,maxWidth:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.lineWidths=[0],u=n+a;let c=t;i.textAlign="left",i.textBaseline="middle";let d=-1,h=-u;return this.legendItems.forEach(((t,f)=>{const p=r+e/2+i.measureText(t.text).width;(0===f||l[l.length-1]+p+2*a>o)&&(c+=u,l[l.length-(f>0?0:1)]=0,h+=u,d++),s[f]={left:0,top:h,row:d,width:p,height:n},l[l.length-1]+=p+a})),c}_fitCols(t,e,r,n){const{ctx:i,maxHeight:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],u=o-t;let c=a,d=0,h=0,f=0,p=0;return this.legendItems.forEach(((t,o)=>{const{itemWidth:g,itemHeight:m}=function(t,e,r,n,i){const o=function(t,e,r,n){let i=t.text;i&&"string"!=typeof i&&(i=i.reduce(((t,e)=>t.length>e.length?t:e)));return e+r.size/2+n.measureText(i).width}(n,t,e,r),a=function(t,e,r){let n=t;"string"!=typeof e.text&&(n=pr(e,r));return n}(i,n,e.lineHeight);return{itemWidth:o,itemHeight:a}}(r,e,i,t,n);o>0&&h+m+2*a>u&&(c+=d+a,l.push({width:d,height:h}),f+=d+a,p++,d=h=0),s[o]={left:f,top:h,col:p,width:g,height:m},d=Math.max(d,g),h+=m+a})),c+=d,l.push({width:d,height:h}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:r,labels:{padding:i},rtl:o}}=this,a=n.getRtlAdapter(o,this.left,this.width);if(this.isHorizontal()){let o=0,s=n._alignStartEnd(r,this.left+i,this.right-this.lineWidths[o]);for(const l of e)o!==l.row&&(o=l.row,s=n._alignStartEnd(r,this.left+i,this.right-this.lineWidths[o])),l.top+=this.top+t+i,l.left=a.leftForLtr(a.x(s),l.width),s+=l.width+i}else{let o=0,s=n._alignStartEnd(r,this.top+t+i,this.bottom-this.columnSizes[o].height);for(const l of e)l.col!==o&&(o=l.col,s=n._alignStartEnd(r,this.top+t+i,this.bottom-this.columnSizes[o].height)),l.top=s,l.left+=this.left+i,l.left=a.leftForLtr(a.x(l.left),l.width),s+=l.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;n.clipArea(t,this),this._draw(),n.unclipArea(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:r,ctx:i}=this,{align:o,labels:a}=t,s=n.defaults.color,l=n.getRtlAdapter(t.rtl,this.left,this.width),u=n.toFont(a.font),{padding:c}=a,d=u.size,h=d/2;let f;this.drawTitle(),i.textAlign=l.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=u.string;const{boxWidth:p,boxHeight:g,itemHeight:m}=hr(a,d),y=this.isHorizontal(),b=this._computeTitleHeight();f=y?{x:n._alignStartEnd(o,this.left+c,this.right-r[0]),y:this.top+c+b,line:0}:{x:this.left+c,y:n._alignStartEnd(o,this.top+b+c,this.bottom-e[0].height),line:0},n.overrideTextDirection(this.ctx,t.textDirection);const v=m+c;this.legendItems.forEach(((w,_)=>{i.strokeStyle=w.fontColor,i.fillStyle=w.fontColor;const A=i.measureText(w.text).width,x=l.textAlign(w.textAlign||(w.textAlign=a.textAlign)),C=p+h+A;let E=f.x,S=f.y;l.setWidth(this.width),y?_>0&&E+C+c>this.right&&(S=f.y+=v,f.line++,E=f.x=n._alignStartEnd(o,this.left+c,this.right-r[f.line])):_>0&&S+v>this.bottom&&(E=f.x=E+e[f.line].width+c,f.line++,S=f.y=n._alignStartEnd(o,this.top+b+c,this.bottom-e[f.line].height));if(function(t,e,r){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;i.save();const o=n.valueOrDefault(r.lineWidth,1);if(i.fillStyle=n.valueOrDefault(r.fillStyle,s),i.lineCap=n.valueOrDefault(r.lineCap,"butt"),i.lineDashOffset=n.valueOrDefault(r.lineDashOffset,0),i.lineJoin=n.valueOrDefault(r.lineJoin,"miter"),i.lineWidth=o,i.strokeStyle=n.valueOrDefault(r.strokeStyle,s),i.setLineDash(n.valueOrDefault(r.lineDash,[])),a.usePointStyle){const s={radius:g*Math.SQRT2/2,pointStyle:r.pointStyle,rotation:r.rotation,borderWidth:o},u=l.xPlus(t,p/2),c=e+h;n.drawPointLegend(i,s,u,c,a.pointStyleWidth&&p)}else{const a=e+Math.max((d-g)/2,0),s=l.leftForLtr(t,p),u=n.toTRBLCorners(r.borderRadius);i.beginPath(),Object.values(u).some((t=>0!==t))?n.addRoundedRectPath(i,{x:s,y:a,w:p,h:g,radius:u}):i.rect(s,a,p,g),i.fill(),0!==o&&i.stroke()}i.restore()}(l.x(E),S,w),E=n._textX(x,E+p+h,y?E+C:this.right,t.rtl),function(t,e,r){n.renderText(i,r.text,t,e+m/2,u,{strikethrough:r.hidden,textAlign:l.textAlign(r.textAlign)})}(l.x(E),S,w),y)f.x+=C+c;else if("string"!=typeof w.text){const t=u.lineHeight;f.y+=pr(w,t)+c}else f.y+=v})),n.restoreTextDirection(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,r=n.toFont(e.font),i=n.toPadding(e.padding);if(!e.display)return;const o=n.getRtlAdapter(t.rtl,this.left,this.width),a=this.ctx,s=e.position,l=r.size/2,u=i.top+l;let c,d=this.left,h=this.width;if(this.isHorizontal())h=Math.max(...this.lineWidths),c=this.top+u,d=n._alignStartEnd(t.align,d,this.right-h);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);c=u+n._alignStartEnd(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const f=n._alignStartEnd(s,d,d+h);a.textAlign=o.textAlign(n._toLeftRightCenter(s)),a.textBaseline="middle",a.strokeStyle=e.color,a.fillStyle=e.color,a.font=r.string,n.renderText(a,e.text,f,c,r)}_computeTitleHeight(){const t=this.options.title,e=n.toFont(t.font),r=n.toPadding(t.padding);return t.display?e.lineHeight+r.height:0}_getLegendItemAt(t,e){let r,i,o;if(n._isBetween(t,this.left,this.right)&&n._isBetween(e,this.top,this.bottom))for(o=this.legendHitBoxes,r=0;rt.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:r,pointStyle:i,textAlign:o,color:a,useBorderRadius:s,borderRadius:l}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const u=t.controller.getStyle(r?0:undefined),c=n.toPadding(u.borderWidth);return{text:e[t.index].label,fillStyle:u.backgroundColor,fontColor:a,hidden:!t.visible,lineCap:u.borderCapStyle,lineDash:u.borderDash,lineDashOffset:u.borderDashOffset,lineJoin:u.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:u.borderColor,pointStyle:i||u.pointStyle,rotation:u.rotation,textAlign:o||u.textAlign,borderRadius:s&&(l||u.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class mr extends St{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=undefined,this.top=undefined,this.bottom=undefined,this.left=undefined,this.right=undefined,this.width=undefined,this.height=undefined,this.position=undefined,this.weight=undefined,this.fullSize=undefined}update(t,e){const r=this.options;if(this.left=0,this.top=0,!r.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const i=n.isArray(r.text)?r.text.length:1;this._padding=n.toPadding(r.padding);const o=i*n.toFont(r.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:r,bottom:i,right:o,options:a}=this,s=a.align;let l,u,c,d=0;return this.isHorizontal()?(u=n._alignStartEnd(s,r,o),c=e+t,l=o-r):("left"===a.position?(u=r+t,c=n._alignStartEnd(s,i,e),d=-.5*n.PI):(u=o-t,c=n._alignStartEnd(s,e,i),d=.5*n.PI),l=i-e),{titleX:u,titleY:c,maxWidth:l,rotation:d}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const r=n.toFont(e.font),i=r.lineHeight/2+this._padding.top,{titleX:o,titleY:a,maxWidth:s,rotation:l}=this._drawArgs(i);n.renderText(t,e.text,0,0,r,{color:e.color,maxWidth:s,rotation:l,textAlign:n._toLeftRightCenter(e.align),textBaseline:"middle",translation:[o,a]})}}var yr={id:"title",_element:mr,start(t,e,r){!function(t,e){const r=new mr({ctx:t.ctx,options:e,chart:t});st.configure(t,r,e),st.addBox(t,r),t.titleBlock=r}(t,r)},stop(t){const e=t.titleBlock;st.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,r){const n=t.titleBlock;st.configure(t,n,r),n.options=r},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const br=new WeakMap;var vr={id:"subtitle",start(t,e,r){const n=new mr({ctx:t.ctx,options:r,chart:t});st.configure(t,n,r),st.addBox(t,n),br.set(t,n)},stop(t){st.removeBox(t,br.get(t)),br.delete(t)},beforeUpdate(t,e,r){const n=br.get(t);st.configure(t,n,r),n.options=r},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const wr={average(t){if(!t.length)return!1;let e,r,n=0,i=0,o=0;for(e=0,r=t.length;e-1?t.split("\n"):t}function xr(t,e){const{element:r,datasetIndex:n,index:i}=e,o=t.getDatasetMeta(n).controller,{label:a,value:s}=o.getLabelAndValue(i);return{chart:t,label:a,parsed:o.getParsed(i),raw:t.data.datasets[n].data[i],formattedValue:s,dataset:o.getDataset(),dataIndex:i,datasetIndex:n,element:r}}function Cr(t,e){const r=t.chart.ctx,{body:i,footer:o,title:a}=t,{boxWidth:s,boxHeight:l}=e,u=n.toFont(e.bodyFont),c=n.toFont(e.titleFont),d=n.toFont(e.footerFont),h=a.length,f=o.length,p=i.length,g=n.toPadding(e.padding);let m=g.height,y=0,b=i.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(b+=t.beforeBody.length+t.afterBody.length,h&&(m+=h*c.lineHeight+(h-1)*e.titleSpacing+e.titleMarginBottom),b){m+=p*(e.displayColors?Math.max(l,u.lineHeight):u.lineHeight)+(b-p)*u.lineHeight+(b-1)*e.bodySpacing}f&&(m+=e.footerMarginTop+f*d.lineHeight+(f-1)*e.footerSpacing);let v=0;const w=function(t){y=Math.max(y,r.measureText(t).width+v)};return r.save(),r.font=c.string,n.each(t.title,w),r.font=u.string,n.each(t.beforeBody.concat(t.afterBody),w),v=e.displayColors?s+2+e.boxPadding:0,n.each(i,(t=>{n.each(t.before,w),n.each(t.lines,w),n.each(t.after,w)})),v=0,r.font=d.string,n.each(t.footer,w),r.restore(),y+=g.width,{width:y,height:m}}function Er(t,e,r,n){const{x:i,width:o}=r,{width:a,chartArea:{left:s,right:l}}=t;let u="center";return"center"===n?u=i<=(s+l)/2?"left":"right":i<=o/2?u="left":i>=a-o/2&&(u="right"),function(t,e,r,n){const{x:i,width:o}=n,a=r.caretSize+r.caretPadding;return"left"===t&&i+o+a>e.width||"right"===t&&i-o-a<0||void 0}(u,t,e,r)&&(u="center"),u}function Sr(t,e,r){const n=r.yAlign||e.yAlign||function(t,e){const{y:r,height:n}=e;return rt.height-n/2?"bottom":"center"}(t,r);return{xAlign:r.xAlign||e.xAlign||Er(t,e,r,n),yAlign:n}}function Tr(t,e,r,i){const{caretSize:o,caretPadding:a,cornerRadius:s}=t,{xAlign:l,yAlign:u}=r,c=o+a,{topLeft:d,topRight:h,bottomLeft:f,bottomRight:p}=n.toTRBLCorners(s);let g=function(t,e){let{x:r,width:n}=t;return"right"===e?r-=n:"center"===e&&(r-=n/2),r}(e,l);const m=function(t,e,r){let{y:n,height:i}=t;return"top"===e?n+=r:n-="bottom"===e?i+r:i/2,n}(e,u,c);return"center"===u?"left"===l?g+=c:"right"===l&&(g-=c):"left"===l?g-=Math.max(d,f)+o:"right"===l&&(g+=Math.max(h,p)+o),{x:n._limitValue(g,0,i.width-e.width),y:n._limitValue(m,0,i.height-e.height)}}function Ir(t,e,r){const i=n.toPadding(r.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-i.right:t.x+i.left}function Dr(t){return _r([],Ar(t))}function Or(t,e){const r=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return r?t.override(r):t}const Rr={beforeTitle:n.noop,title(t){if(t.length>0){const e=t[0],r=e.chart.data.labels,n=r?r.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(n>0&&e.dataIndex{const e={before:[],lines:[],after:[]},n=Or(r,t);_r(e.before,Ar(Pr(n,"beforeLabel",this,t))),_r(e.lines,Pr(n,"label",this,t)),_r(e.after,Ar(Pr(n,"afterLabel",this,t))),i.push(e)})),i}getAfterBody(t,e){return Dr(Pr(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:r}=e,n=Pr(r,"beforeFooter",this,t),i=Pr(r,"footer",this,t),o=Pr(r,"afterFooter",this,t);let a=[];return a=_r(a,Ar(n)),a=_r(a,Ar(i)),a=_r(a,Ar(o)),a}_createItems(t){const e=this._active,r=this.chart.data,i=[],o=[],a=[];let s,l,u=[];for(s=0,l=e.length;st.filter(e,n,i,r)))),t.itemSort&&(u=u.sort(((e,n)=>t.itemSort(e,n,r)))),n.each(u,(e=>{const r=Or(t.callbacks,e);i.push(Pr(r,"labelColor",this,e)),o.push(Pr(r,"labelPointStyle",this,e)),a.push(Pr(r,"labelTextColor",this,e))})),this.labelColors=i,this.labelPointStyles=o,this.labelTextColors=a,this.dataPoints=u,u}update(t,e){const r=this.options.setContext(this.getContext()),n=this._active;let i,o=[];if(n.length){const t=wr[r.position].call(this,n,this._eventPosition);o=this._createItems(r),this.title=this.getTitle(o,r),this.beforeBody=this.getBeforeBody(o,r),this.body=this.getBody(o,r),this.afterBody=this.getAfterBody(o,r),this.footer=this.getFooter(o,r);const e=this._size=Cr(this,r),a=Object.assign({},t,e),s=Sr(this.chart,r,a),l=Tr(r,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=o,this.$context=undefined,i&&this._resolveAnimations().update(this,i),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,r,n){const i=this.getCaretPosition(t,r,n);e.lineTo(i.x1,i.y1),e.lineTo(i.x2,i.y2),e.lineTo(i.x3,i.y3)}getCaretPosition(t,e,r){const{xAlign:i,yAlign:o}=this,{caretSize:a,cornerRadius:s}=r,{topLeft:l,topRight:u,bottomLeft:c,bottomRight:d}=n.toTRBLCorners(s),{x:h,y:f}=t,{width:p,height:g}=e;let m,y,b,v,w,_;return"center"===o?(w=f+g/2,"left"===i?(m=h,y=m-a,v=w+a,_=w-a):(m=h+p,y=m+a,v=w-a,_=w+a),b=m):(y="left"===i?h+Math.max(l,c)+a:"right"===i?h+p-Math.max(u,d)-a:this.caretX,"top"===o?(v=f,w=v-a,m=y-a,b=y+a):(v=f+g,w=v+a,m=y+a,b=y-a),_=v),{x1:m,x2:y,x3:b,y1:v,y2:w,y3:_}}drawTitle(t,e,r){const i=this.title,o=i.length;let a,s,l;if(o){const u=n.getRtlAdapter(r.rtl,this.x,this.width);for(t.x=Ir(this,r.titleAlign,r),e.textAlign=u.textAlign(r.titleAlign),e.textBaseline="middle",a=n.toFont(r.titleFont),s=r.titleSpacing,e.fillStyle=r.titleColor,e.font=a.string,l=0;l0!==t))?(t.beginPath(),t.fillStyle=o.multiKeyBackground,n.addRoundedRectPath(t,{x:e,y:p,w:u,h:l,radius:s}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),n.addRoundedRectPath(t,{x:r,y:p+1,w:u-2,h:l-2,radius:s}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(e,p,u,l),t.strokeRect(e,p,u,l),t.fillStyle=a.backgroundColor,t.fillRect(r,p+1,u-2,l-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,e,r){const{body:i}=this,{bodySpacing:o,bodyAlign:a,displayColors:s,boxHeight:l,boxWidth:u,boxPadding:c}=r,d=n.toFont(r.bodyFont);let h=d.lineHeight,f=0;const p=n.getRtlAdapter(r.rtl,this.x,this.width),g=function(r){e.fillText(r,p.x(t.x+f),t.y+h/2),t.y+=h+o},m=p.textAlign(a);let y,b,v,w,_,A,x;for(e.textAlign=a,e.textBaseline="middle",e.font=d.string,t.x=Ir(this,m,r),e.fillStyle=r.bodyColor,n.each(this.beforeBody,g),f=s&&"right"!==m?"center"===a?u/2+c:u+2+c:0,w=0,A=i.length;w0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,r=this.$animations,n=r&&r.x,i=r&&r.y;if(n||i){const r=wr[t.position].call(this,this._active,this._eventPosition);if(!r)return;const o=this._size=Cr(this,t),a=Object.assign({},r,this._size),s=Sr(e,t,a),l=Tr(t,a,s,e);n._to===l.x&&i._to===l.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=o.width,this.height=o.height,this.caretX=r.x,this.caretY=r.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(e);const i={width:this.width,height:this.height},o={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=n.toPadding(e.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&s&&(t.save(),t.globalAlpha=r,this.drawBackground(o,t,i,e),n.overrideTextDirection(t,e.textDirection),o.y+=a.top,this.drawTitle(o,t,e),this.drawBody(o,t,e),this.drawFooter(o,t,e),n.restoreTextDirection(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const r=this._active,i=t.map((({datasetIndex:t,index:e})=>{const r=this.chart.getDatasetMeta(t);if(!r)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:r.data[e],index:e}})),o=!n._elementsEqual(r,i),a=this._positionChanged(i,e);(o||a)&&(this._active=i,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,r=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,o=this._active||[],a=this._getActiveElements(t,o,e,r),s=this._positionChanged(a,t),l=e||!n._elementsEqual(a,o)||s;return l&&(this._active=a,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),l}_getActiveElements(t,e,r,n){const i=this.options;if("mouseout"===t.type)return[];if(!n)return e.filter((t=>this.chart.data.datasets[t.datasetIndex]&&this.chart.getDatasetMeta(t.datasetIndex).controller.getParsed(t.index)!==undefined));const o=this.chart.getElementsAtEventForMode(t,i.mode,i,r);return i.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:r,caretY:n,options:i}=this,o=wr[i.position].call(this,t,e);return!1!==o&&(r!==o.x||n!==o.y)}}var Nr={id:"tooltip",_element:Mr,positioners:wr,afterInit(t,e,r){r&&(t.tooltip=new Mr({chart:t,options:r}))},beforeUpdate(t,e,r){t.tooltip&&t.tooltip.initialize(r)},reset(t,e,r){t.tooltip&&t.tooltip.initialize(r)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const r={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...r,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",r)}},afterEvent(t,e){if(t.tooltip){const r=e.replay;t.tooltip.handleEvent(e.event,r,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Rr},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},kr=Object.freeze({__proto__:null,Colors:We,Decimation:Ye,Filler:dr,Legend:gr,SubTitle:vr,Title:yr,Tooltip:Nr});function Br(t,e,r,n){const i=t.indexOf(e);if(-1===i)return((t,e,r,n)=>("string"==typeof e?(r=t.push(e)-1,n.unshift({index:r,label:e})):isNaN(e)&&(r=null),r))(t,e,r,n);return i!==t.lastIndexOf(e)?r:i}function Lr(t){const e=this.getLabels();return t>=0&&tnull===t?null:n._limitValue(Math.round(t),0,e))(e=isFinite(e)&&r[e]===t?e:Br(r,t,n.valueOrDefault(e,t),this._addedLabels),r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:r,max:n}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(r=0),e||(n=this.getLabels().length-1)),this.min=r,this.max=n}buildTicks(){const t=this.min,e=this.max,r=this.options.offset,n=[];let i=this.getLabels();i=0===t&&e===i.length-1?i:i.slice(t,e+1),this._valueRange=Math.max(i.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let r=t;r<=e;r++)n.push({value:r});return n}getLabelForValue(t){return Lr.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function jr(t,e,{horizontal:r,minRotation:i}){const o=n.toRadians(i),a=(r?Math.sin(o):Math.cos(o))||.001,s=.75*e*(""+t).length;return Math.min(e/a,s)}class zr extends Bt{constructor(t){super(t),this.start=undefined,this.end=undefined,this._startValue=undefined,this._endValue=undefined,this._valueRange=0}parse(t,e){return n.isNullOrUndef(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:r}=this.getUserBounds();let{min:i,max:o}=this;const a=t=>i=e?i:t,s=t=>o=r?o:t;if(t){const t=n.sign(i),e=n.sign(o);t<0&&e<0?s(0):t>0&&e>0&&a(0)}if(i===o){let e=0===o?1:Math.abs(.05*o);s(o+e),t||a(i-e)}this.min=i,this.max=o}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:r,stepSize:n}=t;return n?(e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),r=r||11),r&&(e=Math.min(r,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i=function(t,e){const r=[],{bounds:i,step:o,min:a,max:s,precision:l,count:u,maxTicks:c,maxDigits:d,includeBounds:h}=t,f=o||1,p=c-1,{min:g,max:m}=e,y=!n.isNullOrUndef(a),b=!n.isNullOrUndef(s),v=!n.isNullOrUndef(u),w=(m-g)/(d+1);let _,A,x,C,E=n.niceNum((m-g)/p/f)*f;if(E<1e-14&&!y&&!b)return[{value:g},{value:m}];C=Math.ceil(m/E)-Math.floor(g/E),C>p&&(E=n.niceNum(C*E/p/f)*f),n.isNullOrUndef(l)||(_=Math.pow(10,l),E=Math.ceil(E*_)/_),"ticks"===i?(A=Math.floor(g/E)*E,x=Math.ceil(m/E)*E):(A=g,x=m),y&&b&&o&&n.almostWhole((s-a)/o,E/1e3)?(C=Math.round(Math.min((s-a)/E,c)),E=(s-a)/C,A=a,x=s):v?(A=y?a:A,x=b?s:x,C=u-1,E=(x-A)/C):(C=(x-A)/E,C=n.almostEquals(C,Math.round(C),E/1e3)?Math.round(C):Math.ceil(C));const S=Math.max(n._decimalPlaces(E),n._decimalPlaces(A));_=Math.pow(10,n.isNullOrUndef(l)?S:l),A=Math.round(A*_)/_,x=Math.round(x*_)/_;let T=0;for(y&&(h&&A!==a?(r.push({value:a}),As)break;r.push({value:t})}return b&&h&&x!==s?r.length&&n.almostEquals(r[r.length-1].value,s,jr(s,w,t))?r[r.length-1].value=s:r.push({value:s}):b&&x!==s||r.push({value:x}),r}({maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&n._setMinAndMaxByKey(i,this,"value"),t.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}configure(){const t=this.ticks;let e=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const n=(r-e)/Math.max(t.length-1,1)/2;e-=n,r+=n}this._startValue=e,this._endValue=r,this._valueRange=r-e}getLabelForValue(t){return n.formatNumber(t,this.chart.options.locale,this.options.ticks.format)}}class Vr extends zr{static id="linear";static defaults={ticks:{callback:n.Ticks.formatters.numeric}};determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=n.isNumberFinite(t)?t:0,this.max=n.isNumberFinite(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,r=n.toRadians(this.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/i))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}const Hr=t=>Math.floor(n.log10(t)),Ur=(t,e)=>Math.pow(10,Hr(t)+e);function qr(t){return 1===t/Math.pow(10,Hr(t))}function Wr(t,e,r){const n=Math.pow(10,r),i=Math.floor(t/n);return Math.ceil(e/n)-i}function Gr(t,{min:e,max:r}){e=n.finiteOrDefault(t.min,e);const i=[],o=Hr(e);let a=function(t,e){let r=Hr(e-t);for(;Wr(t,e,r)>10;)r++;for(;Wr(t,e,r)<10;)r--;return Math.min(r,Hr(t))}(e,r),s=a<0?Math.pow(10,Math.abs(a)):1;const l=Math.pow(10,a),u=o>a?Math.pow(10,o):0,c=Math.round((e-u)*s)/s,d=Math.floor((e-u)/l/10)*l*10;let h=Math.floor((c-d)/Math.pow(10,a)),f=n.finiteOrDefault(t.min,Math.round((u+d+h*Math.pow(10,a))*s)/s);for(;f=10?h=h<15?15:20:h++,h>=20&&(a++,h=2,s=a>=0?1:s),f=Math.round((u+d+h*Math.pow(10,a))*s)/s;const p=n.finiteOrDefault(t.max,f);return i.push({value:p,major:qr(p),significand:h}),i}class Xr extends Bt{static id="logarithmic";static defaults={ticks:{callback:n.Ticks.formatters.logarithmic,major:{enabled:!0}}};constructor(t){super(t),this.start=undefined,this.end=undefined,this._startValue=undefined,this._valueRange=0}parse(t,e){const r=zr.prototype.parse.apply(this,[t,e]);return 0===r?(this._zero=!0,undefined):n.isNumberFinite(r)&&r>0?r:null}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=n.isNumberFinite(t)?Math.max(0,t):null,this.max=n.isNumberFinite(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!n.isNumberFinite(this._userMin)&&(this.min=t===Ur(this.min,0)?Ur(this.min,-1):Ur(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let r=this.min,n=this.max;const i=e=>r=t?r:e,o=t=>n=e?n:t;r===n&&(r<=0?(i(1),o(10)):(i(Ur(r,-1)),o(Ur(n,1)))),r<=0&&i(Ur(n,-1)),n<=0&&o(Ur(r,1)),this.min=r,this.max=n}buildTicks(){const t=this.options,e=Gr({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&n._setMinAndMaxByKey(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return t===undefined?"0":n.formatNumber(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=n.log10(t),this._valueRange=n.log10(this.max)-n.log10(t)}getPixelForValue(t){return t!==undefined&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(n.log10(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function Yr(t){const e=t.ticks;if(e.display&&t.display){const t=n.toPadding(e.backdropPadding);return n.valueOrDefault(e.font&&e.font.size,n.defaults.font.size)+t.height}return 0}function Kr(t,e,r,n,i){return t===n||t===i?{start:e-r/2,end:e+r/2}:ti?{start:e-r,end:e}:{start:e,end:e+r}}function Zr(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},r=Object.assign({},e),i=[],o=[],a=t._pointLabels.length,s=t.options.pointLabels,l=s.centerPointLabels?n.PI/a:0;for(let h=0;he.r&&(s=(n.end-e.r)/o,t.r=Math.max(t.r,e.r+s)),i.starte.b&&(l=(i.end-e.b)/a,t.b=Math.max(t.b,e.b+l))}function Qr(t,e,r){const i=t.drawingArea,{extra:o,additionalAngle:a,padding:s,size:l}=r,u=t.getPointPosition(e,i+o+s,a),c=Math.round(n.toDegrees(n._normalizeAngle(u.angle+n.HALF_PI))),d=function(t,e,r){90===r||270===r?t-=e/2:(r>270||r<90)&&(t-=e);return t}(u.y,l.h,c),h=function(t){if(0===t||180===t)return"center";if(t<180)return"left";return"right"}(c),f=function(t,e,r){"right"===r?t-=e:"center"===r&&(t-=e/2);return t}(u.x,l.w,h);return{visible:!0,x:u.x,y:d,textAlign:h,left:f,top:d,right:f+l.w,bottom:d+l.h}}function Jr(t,e){if(!e)return!0;const{left:r,top:i,right:o,bottom:a}=t;return!(n._isPointInArea({x:r,y:i},e)||n._isPointInArea({x:r,y:a},e)||n._isPointInArea({x:o,y:i},e)||n._isPointInArea({x:o,y:a},e))}function tn(t,e,r){const{left:i,top:o,right:a,bottom:s}=r,{backdropColor:l}=e;if(!n.isNullOrUndef(l)){const r=n.toTRBLCorners(e.borderRadius),u=n.toPadding(e.backdropPadding);t.fillStyle=l;const c=i-u.left,d=o-u.top,h=a-i+u.width,f=s-o+u.height;Object.values(r).some((t=>0!==t))?(t.beginPath(),n.addRoundedRectPath(t,{x:c,y:d,w:h,h:f,radius:r}),t.fill()):t.fillRect(c,d,h,f)}}function en(t,e,r,i){const{ctx:o}=t;if(r)o.arc(t.xCenter,t.yCenter,e,0,n.TAU);else{let r=t.getPointPosition(0,e);o.moveTo(r.x,r.y);for(let n=1;nt,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(t){super(t),this.xCenter=undefined,this.yCenter=undefined,this.drawingArea=undefined,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=n.toPadding(Yr(this.options)/2),e=this.width=this.maxWidth-t.width,r=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+r/2+t.top),this.drawingArea=Math.floor(Math.min(e,r)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=n.isNumberFinite(t)&&!isNaN(t)?t:0,this.max=n.isNumberFinite(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Yr(this.options))}generateTickLabels(t){zr.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const r=n.callback(this.options.pointLabels.callback,[t,e],this);return r||0===r?r:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?Zr(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,r,n){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((r-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,r,n))}getIndexAngle(t){const e=n.TAU/(this._pointLabels.length||1),r=this.options.startAngle||0;return n._normalizeAngle(t*e+n.toRadians(r))}getDistanceFromCenterForValue(t){if(n.isNullOrUndef(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(n.isNullOrUndef(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t=0;o--){const e=t._pointLabelItems[o];if(!e.visible)continue;const a=i.setContext(t.getPointLabelContext(o));tn(r,a,e);const s=n.toFont(a.font),{x:l,y:u,textAlign:c}=e;n.renderText(r,t._pointLabels[o],l,u+s.lineHeight/2,s,{color:a.color,textAlign:c,textBaseline:"middle"})}}(this,a),i.display&&this.ticks.forEach(((t,e)=>{if(0!==e){l=this.getDistanceFromCenterForValue(t.value);const r=this.getContext(e),n=i.setContext(r),s=o.setContext(r);!function(t,e,r,n,i){const o=t.ctx,a=e.circular,{color:s,lineWidth:l}=e;!a&&!n||!s||!l||r<0||(o.save(),o.strokeStyle=s,o.lineWidth=l,o.setLineDash(i.dash),o.lineDashOffset=i.dashOffset,o.beginPath(),en(t,r,a,n),o.closePath(),o.stroke(),o.restore())}(this,n,l,a,s)}})),r.display){for(t.save(),s=a-1;s>=0;s--){const n=r.setContext(this.getPointLabelContext(s)),{color:i,lineWidth:o}=n;o&&i&&(t.lineWidth=o,t.strokeStyle=i,t.setLineDash(n.borderDash),t.lineDashOffset=n.borderDashOffset,l=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),u=this.getPointPosition(s,l),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(u.x,u.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,r=e.ticks;if(!r.display)return;const i=this.getIndexAngle(0);let o,a;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((i,s)=>{if(0===s&&!e.reverse)return;const l=r.setContext(this.getContext(s)),u=n.toFont(l.font);if(o=this.getDistanceFromCenterForValue(this.ticks[s].value),l.showLabelBackdrop){t.font=u.string,a=t.measureText(i.label).width,t.fillStyle=l.backdropColor;const e=n.toPadding(l.backdropPadding);t.fillRect(-a/2-e.left,-o-u.size/2-e.top,a+e.width,u.size+e.height)}n.renderText(t,i.label,0,-o,u,{color:l.color,strokeColor:l.textStrokeColor,strokeWidth:l.textStrokeWidth})})),t.restore()}drawTitle(){}}const nn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},on=Object.keys(nn);function an(t,e){return t-e}function sn(t,e){if(n.isNullOrUndef(e))return null;const r=t._adapter,{parser:i,round:o,isoWeekday:a}=t._parseOpts;let s=e;return"function"==typeof i&&(s=i(s)),n.isNumberFinite(s)||(s="string"==typeof i?r.parse(s,i):r.parse(s)),null===s?null:(o&&(s="week"!==o||!n.isNumber(a)&&!0!==a?r.startOf(s,o):r.startOf(s,"isoWeek",a)),+s)}function ln(t,e,r,n){const i=on.length;for(let o=on.indexOf(t);o=e?r[i]:r[o]]=!0}}else t[e]=!0}function cn(t,e,r){const n=[],i={},o=e.length;let a,s;for(a=0;a=0&&(e[l].major=!0);return e}(t,n,i,r):n}class dn extends Bt{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=undefined,this._offsets={},this._normalized=!1,this._parseOpts=undefined}init(t,e={}){const r=t.time||(t.time={}),i=this._adapter=new V._date(t.adapters.date);i.init(e),n.mergeIf(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return t===undefined?null:sn(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,r=t.time.unit||"day";let{min:i,max:o,minDefined:a,maxDefined:s}=this.getUserBounds();function l(t){a||isNaN(t.min)||(i=Math.min(i,t.min)),s||isNaN(t.max)||(o=Math.max(o,t.max))}a&&s||(l(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||l(this.getMinMax(!1))),i=n.isNumberFinite(i)&&!isNaN(i)?i:+e.startOf(Date.now(),r),o=n.isNumberFinite(o)&&!isNaN(o)?o:+e.endOf(Date.now(),r)+1,this.min=Math.min(i,o-1),this.max=Math.max(i+1,o)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],r=t[t.length-1]),{min:e,max:r}}buildTicks(){const t=this.options,e=t.time,r=t.ticks,i="labels"===r.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&i.length&&(this.min=this._userMin||i[0],this.max=this._userMax||i[i.length-1]);const o=this.min,a=this.max,s=n._filterBetween(i,o,a);return this._unit=e.unit||(r.autoSkip?ln(e.minUnit,this.min,this.max,this._getLabelCapacity(o)):function(t,e,r,n,i){for(let o=on.length-1;o>=on.indexOf(r);o--){const r=on[o];if(nn[r].common&&t._adapter.diff(i,n,r)>=e-1)return r}return on[r?on.indexOf(r):0]}(this,s.length,e.minUnit,this.min,this.max)),this._majorUnit=r.major.enabled&&"year"!==this._unit?function(t){for(let e=on.indexOf(t)+1,r=on.length;e+t.value)))}initOffsets(t=[]){let e,r,i=0,o=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),i=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,r=this.getDecimalForValue(t[t.length-1]),o=1===t.length?r:(r-this.getDecimalForValue(t[t.length-2]))/2);const a=t.length<3?.5:.25;i=n._limitValue(i,0,a),o=n._limitValue(o,0,a),this._offsets={start:i,end:o,factor:1/(i+1+o)}}_generate(){const t=this._adapter,e=this.min,r=this.max,i=this.options,o=i.time,a=o.unit||ln(o.minUnit,e,r,this._getLabelCapacity(e)),s=n.valueOrDefault(i.ticks.stepSize,1),l="week"===a&&o.isoWeekday,u=n.isNumber(l)||!0===l,c={};let d,h,f=e;if(u&&(f=+t.startOf(f,"isoWeek",l)),f=+t.startOf(f,u?"day":a),t.diff(r,e,a)>1e5*s)throw new Error(e+" and "+r+" are too far apart with stepSize of "+s+" "+a);const p="data"===i.ticks.source&&this.getDataTimestamps();for(d=f,h=0;d+t))}getLabelForValue(t){const e=this._adapter,r=this.options.time;return r.tooltipFormat?e.format(t,r.tooltipFormat):e.format(t,r.displayFormats.datetime)}format(t,e){const r=this.options.time.displayFormats,n=this._unit,i=e||r[n];return this._adapter.format(t,i)}_tickFormatFunction(t,e,r,i){const o=this.options,a=o.ticks.callback;if(a)return n.callback(a,[t,e,r],this);const s=o.time.displayFormats,l=this._unit,u=this._majorUnit,c=l&&s[l],d=u&&s[u],h=r[e],f=u&&d&&h&&h.major;return this._adapter.format(t,i||(f?d:c))}generateTickLabels(t){let e,r,n;for(e=0,r=t.length;e0?a:1}getDataTimestamps(){let t,e,r=this._cache.data||[];if(r.length)return r;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(t=0,e=n.length;t=t[l].pos&&e<=t[u].pos&&({lo:l,hi:u}=n._lookupByKey(t,"pos",e)),({pos:i,time:a}=t[l]),({pos:o,time:s}=t[u])):(e>=t[l].time&&e<=t[u].time&&({lo:l,hi:u}=n._lookupByKey(t,"time",e)),({time:i,pos:a}=t[l]),({time:o,pos:s}=t[u]));const c=o-i;return c?a+(s-a)*(e-i)/c:a}class fn extends dn{static id="timeseries";static defaults=dn.defaults;constructor(t){super(t),this._table=[],this._minPos=undefined,this._tableRange=undefined}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=hn(e,this.min),this._tableRange=hn(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:r}=this,n=[],i=[];let o,a,s,l,u;for(o=0,a=t.length;o=e&&l<=r&&n.push(l);if(n.length<2)return[{time:e,pos:0},{time:r,pos:1}];for(o=0,a=n.length;ot-e))}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),r=this.getLabelTimestamps();return t=e.length&&r.length?this.normalize(e.concat(r)):e.length?e:r,t=this._cache.all=t,t}getDecimalForValue(t){return(hn(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,r=this.getDecimalForPixel(t)/e.factor-e.end;return hn(this._table,r*this._tableRange+this._minPos,!0)}}var pn=Object.freeze({__proto__:null,CategoryScale:Fr,LinearScale:Vr,LogarithmicScale:Xr,RadialLinearScale:rn,TimeScale:dn,TimeSeriesScale:fn});const gn=[F,Fe,kr,pn];r.Ticks=n.Ticks,r.defaults=n.defaults,r.Animation=l,r.Animations=u,r.ArcElement=ve,r.BarController=O,r.BarElement=Le,r.BasePlatform=lt,r.BasicPlatform=ut,r.BubbleController=R,r.CategoryScale=Fr,r.Chart=fe,r.Colors=We,r.DatasetController=_,r.Decimation=Ye,r.DomPlatform=Ct,r.DoughnutController=P,r.Element=St,r.Filler=dr,r.Interaction=Y,r.Legend=gr,r.LineController=M,r.LineElement=Ie,r.LinearScale=Vr,r.LogarithmicScale=Xr,r.PieController=k,r.PointElement=Oe,r.PolarAreaController=N,r.RadarController=B,r.RadialLinearScale=rn,r.Scale=Bt,r.ScatterController=L,r.SubTitle=vr,r.TimeScale=dn,r.TimeSeriesScale=fn,r.Title=yr,r.Tooltip=Nr,r._adapters=V,r._detectPlatform=Et,r.animator=o,r.controllers=F,r.elements=Fe,r.layouts=st,r.plugins=kr,r.registerables=gn,r.registry=jt,r.scales=pn}}},{package:"chart.js",file:"node_modules/chart.js/dist/chart.cjs"}],[4098,{"@kurkle/color":734},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("@kurkle/color");const i=(()=>{let t=0;return()=>t++})();function o(t){return null==t}function a(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function s(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function u(t,e){return void 0===t?e:t}const c=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function d(t){if(a(t))return t.map(d);if(s(t)){const e=Object.create(null),r=Object.keys(t),n=r.length;let i=0;for(;it,x:t=>t.x,y:t=>t.y};function b(t){const e=t.split("."),r=[];let n="";for(const t of e)n+=t,n.endsWith("\\")?n=n.slice(0,-1)+".":(r.push(n),n="");return r}function v(t,e){const r=y[e]||(y[e]=function(t){const e=b(t);return t=>{for(const r of e){if(""===r)break;t=t&&t[r]}return t}}(e));return r(t)}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}const _=t=>"function"==typeof t;const A=Math.PI,x=2*A,C=x+A,E=Number.POSITIVE_INFINITY,S=A/180,T=A/2,I=A/4,D=2*A/3,O=Math.log10,R=Math.sign;function P(t,e,r){return Math.abs(t-e)l&&u=Math.min(e,r)-n&&t<=Math.max(e,r)+n}function j(t,e,r){r=r||(r=>t[r]1;)n=o+i>>1,r(n)?o=n:i=n;return{lo:o,hi:i}}const z=(t,e,r,n)=>j(t,r,n?n=>{const i=t[n][e];return it[n][e]0===t||1===t,q=(t,e,r)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*x/r),W=(t,e,r)=>Math.pow(2,-10*t)*Math.sin((t-e)*x/r)+1,G={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*T),easeOutSine:t=>Math.sin(t*T),easeInOutSine:t=>-.5*(Math.cos(A*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>U(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>U(t)?t:q(t,.075,.3),easeOutElastic:t=>U(t)?t:W(t,.075,.3),easeInOutElastic(t){const e=.1125;return U(t)?t:t<.5?.5*q(2*t,e,.45):.5+.5*W(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-G.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,r=2.75;return t<1/r?e*t*t:t<2/r?e*(t-=1.5/r)*t+.75:t<2.5/r?e*(t-=2.25/r)*t+.9375:e*(t-=2.625/r)*t+.984375},easeInOutBounce:t=>t<.5?.5*G.easeInBounce(2*t):.5*G.easeOutBounce(2*t-1)+.5};function X(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function Y(t){return X(t)?t:new n.Color(t).saturate(.5).darken(.1).hexString()}const K=["x","y","borderWidth","radius","tension"],Z=["color","borderColor","backgroundColor"];const $=new Map;function Q(t,e,r){return function(t,e){e=e||{};const r=t+JSON.stringify(e);let n=$.get(r);return n||(n=new Intl.NumberFormat(t,e),$.set(r,n)),n}(e,r).format(t)}const J={values:t=>a(t)?t:""+t,numeric(t,e,r){if(0===t)return"0";const n=this.chart.options.locale;let i,o=t;if(r.length>1){const e=Math.max(Math.abs(r[0].value),Math.abs(r[r.length-1].value));(e<1e-4||e>1e15)&&(i="scientific"),o=function(t,e){let r=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(r)>=1&&t!==Math.floor(t)&&(r=t-Math.floor(t));return r}(t,r)}const a=O(Math.abs(o)),s=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),Q(t,n,l)},logarithmic(t,e,r){if(0===t)return"0";const n=r[e].significand||t/Math.pow(10,Math.floor(O(t)));return[1,2,3,5,10,15].includes(n)||e>.8*r.length?J.numeric.call(this,t,e,r):""}};var tt={formatters:J};const et=Object.create(null),rt=Object.create(null);function nt(t,e){if(!e)return t;const r=e.split(".");for(let e=0,n=r.length;et.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Y(e.backgroundColor),this.hoverBorderColor=(t,e)=>Y(e.borderColor),this.hoverColor=(t,e)=>Y(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=undefined,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return it(this,t,e)}get(t){return nt(this,t)}describe(t,e){return it(rt,t,e)}override(t,e){return it(et,t,e)}route(t,e,r,n){const i=nt(this,t),o=nt(this,r),a="_"+e;Object.defineProperties(i,{[a]:{value:i[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[n];return s(t)?Object.assign({},e,t):u(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach((t=>t(this)))}}var at=new ot({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:undefined,duration:1e3,easing:"easeOutQuart",fn:undefined,from:undefined,loop:undefined,to:undefined,type:undefined}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:Z},numbers:{type:"number",properties:K}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:tt.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function st(t){return!t||o(t.size)||o(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function lt(t,e,r,n,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,r.push(i)),o>n&&(n=o),n}function ut(t,e,r,n,i){let o,a,s,l,u,c,d,h;const f=e.pointStyle,p=e.rotation,g=e.radius;let m=(p||0)*S;if(f&&"object"==typeof f&&(o=f.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(r,n),t.rotate(m),t.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),void t.restore();if(!(isNaN(g)||g<=0)){switch(t.beginPath(),f){default:i?t.ellipse(r,n,i/2,g,0,0,x):t.arc(r,n,g,0,x),t.closePath();break;case"triangle":c=i?i/2:g,t.moveTo(r+Math.sin(m)*c,n-Math.cos(m)*g),m+=D,t.lineTo(r+Math.sin(m)*c,n-Math.cos(m)*g),m+=D,t.lineTo(r+Math.sin(m)*c,n-Math.cos(m)*g),t.closePath();break;case"rectRounded":u=.516*g,l=g-u,a=Math.cos(m+I)*l,d=Math.cos(m+I)*(i?i/2-u:l),s=Math.sin(m+I)*l,h=Math.sin(m+I)*(i?i/2-u:l),t.arc(r-d,n-s,u,m-A,m-T),t.arc(r+h,n-a,u,m-T,m),t.arc(r+d,n+s,u,m,m+T),t.arc(r-h,n+a,u,m+T,m+A),t.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*g,c=i?i/2:l,t.rect(r-c,n-l,2*c,2*l);break}m+=I;case"rectRot":d=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(i?i/2:g),t.moveTo(r-d,n-s),t.lineTo(r+h,n-a),t.lineTo(r+d,n+s),t.lineTo(r-h,n+a),t.closePath();break;case"crossRot":m+=I;case"cross":d=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(i?i/2:g),t.moveTo(r-d,n-s),t.lineTo(r+d,n+s),t.moveTo(r+h,n-a),t.lineTo(r-h,n+a);break;case"star":d=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(i?i/2:g),t.moveTo(r-d,n-s),t.lineTo(r+d,n+s),t.moveTo(r+h,n-a),t.lineTo(r-h,n+a),m+=I,d=Math.cos(m)*(i?i/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(i?i/2:g),t.moveTo(r-d,n-s),t.lineTo(r+d,n+s),t.moveTo(r+h,n-a),t.lineTo(r-h,n+a);break;case"line":a=i?i/2:Math.cos(m)*g,s=Math.sin(m)*g,t.moveTo(r-a,n-s),t.lineTo(r+a,n+s);break;case"dash":t.moveTo(r,n),t.lineTo(r+Math.cos(m)*(i?i/2:g),n+Math.sin(m)*g);break;case!1:t.closePath()}t.fill(),e.borderWidth>0&&t.stroke()}}function ct(t,e,r){return r=r||.5,!e||t&&t.x>e.left-r&&t.xe.top-r&&t.y+t||0;function yt(t,e){const r={},n=s(e),i=n?Object.keys(e):e,o=s(t)?n?r=>u(t[r],t[e[r]]):e=>t[e]:()=>t;for(const t of i)r[t]=mt(o(t));return r}function bt(t){return yt(t,{top:"y",right:"x",bottom:"y",left:"x"})}function vt(t,e){return Object.assign(Object.create(t),e)}function wt(t,e=[""],r,n,i=(()=>t[0])){const o=r||t;void 0===n&&(n=Rt("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:n,_getTarget:i,override:r=>wt([r,...t],e,o,n)};return new Proxy(a,{deleteProperty:(e,r)=>(delete e[r],delete e._keys,delete t[0][r],!0),get:(r,n)=>Et(r,n,(()=>function(t,e,r,n){let i;for(const o of e)if(i=Rt(xt(o,t),r),void 0!==i)return Ct(t,i)?Dt(r,n,t,i):i}(n,e,t,r))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Pt(t).includes(e),ownKeys:t=>Pt(t),set(t,e,r){const n=t._storage||(t._storage=i());return t[e]=n[e]=r,delete t._keys,!0}})}function _t(t,e,r,n){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:r,_stack:new Set,_descriptors:At(t,n),setContext:e=>_t(t,e,r,n),override:i=>_t(t.override(i),e,r,n)};return new Proxy(i,{deleteProperty:(e,r)=>(delete e[r],delete t[r],!0),get:(t,e,r)=>Et(t,e,(()=>function(t,e,r){const{_proxy:n,_context:i,_subProxy:o,_descriptors:l}=t;let u=n[e];_(u)&&l.isScriptable(e)&&(u=function(t,e,r,n){const{_proxy:i,_context:o,_subProxy:a,_stack:s}=r;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t);let l=e(o,a||n);s.delete(t),Ct(t,l)&&(l=Dt(i._scopes,i,t,l));return l}(e,u,t,r));a(u)&&u.length&&(u=function(t,e,r,n){const{_proxy:i,_context:o,_subProxy:a,_descriptors:l}=r;if(void 0!==o.index&&n(t))return e[o.index%e.length];if(s(e[0])){const r=e,n=i._scopes.filter((t=>t!==r));e=[];for(const s of r){const r=Dt(n,i,t,s);e.push(_t(r,o,a&&a[t],l))}}return e}(e,u,t,l.isIndexable));Ct(e,u)&&(u=_t(u,i,o&&o[e],l));return u}(t,e,r))),getOwnPropertyDescriptor:(e,r)=>e._descriptors.allKeys?Reflect.has(t,r)?{enumerable:!0,configurable:!0}:undefined:Reflect.getOwnPropertyDescriptor(t,r),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,r)=>Reflect.has(t,r),ownKeys:()=>Reflect.ownKeys(t),set:(e,r,n)=>(t[r]=n,delete e[r],!0)})}function At(t,e={scriptable:!0,indexable:!0}){const{_scriptable:r=e.scriptable,_indexable:n=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:r,indexable:n,isScriptable:_(r)?r:()=>r,isIndexable:_(n)?n:()=>n}}const xt=(t,e)=>t?t+w(e):e,Ct=(t,e)=>s(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Et(t,e,r){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const n=r();return t[e]=n,n}function St(t,e,r){return _(t)?t(e,r):t}const Tt=(t,e)=>!0===t?e:"string"==typeof t?v(e,t):undefined;function It(t,e,r,n,i){for(const o of e){const e=Tt(r,o);if(e){t.add(e);const o=St(e._fallback,r,i);if(void 0!==o&&o!==r&&o!==n)return o}else if(!1===e&&void 0!==n&&r!==n)return null}return!1}function Dt(t,e,r,n){const i=e._rootScopes,o=St(e._fallback,r,n),l=[...t,...i],u=new Set;u.add(n);let c=Ot(u,l,r,o||r,n);return null!==c&&((void 0===o||o===r||(c=Ot(u,l,o,c,n),null!==c))&&wt(Array.from(u),[""],i,o,(()=>function(t,e,r){const n=t._getTarget();e in n||(n[e]={});const i=n[e];if(a(i)&&s(r))return r;return i||{}}(e,r,n))))}function Ot(t,e,r,n,i){for(;r;)r=It(t,e,r,n,i);return r}function Rt(t,e){for(const r of e){if(!r)continue;const e=r[t];if(void 0!==e)return e}}function Pt(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const r of t)for(const t of Object.keys(r).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}const Mt=Number.EPSILON||1e-14,Nt=(t,e)=>e"x"===t?"y":"x";function Bt(t,e,r,n){const i=t.skip?e:t,o=e,a=r.skip?e:r,s=M(o,i),l=M(a,o);let u=s/(s+l),c=l/(s+l);u=isNaN(u)?0:u,c=isNaN(c)?0:c;const d=n*u,h=n*c;return{previous:{x:o.x-d*(a.x-i.x),y:o.y-d*(a.y-i.y)},next:{x:o.x+h*(a.x-i.x),y:o.y+h*(a.y-i.y)}}}function Lt(t,e="x"){const r=kt(e),n=t.length,i=Array(n).fill(0),o=Array(n);let a,s,l,u=Nt(t,0);for(a=0;at.ownerDocument.defaultView.getComputedStyle(t,null);function Ut(t,e){return Ht(t).getPropertyValue(e)}const qt=["top","right","bottom","left"];function Wt(t,e,r){const n={};r=r?"-"+r:"";for(let i=0;i<4;i++){const o=qt[i];n[o]=parseFloat(t[e+"-"+o+r])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const Gt=(t,e,r)=>(t>0||e>0)&&(!r||!r.shadowRoot);const Xt=t=>Math.round(10*t)/10;const Yt=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};jt()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(t){}return t}();function Kt(t,e,r,n){return{x:t.x+r*(e.x-t.x),y:t.y+r*(e.y-t.y)}}function Zt(t){return"angle"===t?{between:B,compare:N,normalize:k}:{between:F,compare:(t,e)=>t-e,normalize:t=>t}}function $t({start:t,end:e,count:r,loop:n,style:i}){return{start:t%r,end:e%r,loop:n&&(e-t+1)%r==0,style:i}}function Qt(t,e,r){if(!r)return[t];const{property:n,start:i,end:o}=r,a=e.length,{compare:s,between:l,normalize:u}=Zt(n),{start:c,end:d,loop:h,style:f}=function(t,e,r){const{property:n,start:i,end:o}=r,{between:a,normalize:s}=Zt(n),l=e.length;let u,c,{start:d,end:h,loop:f}=t;if(f){for(d+=l,h+=l,u=0,c=l;ub||l(i,y,g)&&0!==s(i,y),_=()=>!b||0===s(o,g)||l(o,y,g);for(let t=c,r=c;t<=d;++t)m=e[t%a],m.skip||(g=u(m[n]),g!==y&&(b=l(g,i,o),null===v&&w()&&(v=0===s(g,i)?t:r),null!==v&&_()&&(p.push($t({start:v,end:t,loop:h,count:a,style:f})),v=null),r=t,y=g));return null!==v&&p.push($t({start:v,end:d,loop:h,count:a,style:f})),p}function Jt(t,e,r,n){return n&&n.setContext&&r?function(t,e,r,n){const i=t._chart.getContext(),o=te(t.options),{_datasetIndex:a,options:{spanGaps:s}}=t,l=r.length,u=[];let c=o,d=e[0].start,h=d;function f(t,e,n,i){const o=s?-1:1;if(t!==e){for(t+=l;r[t%l].skip;)t-=o;for(;r[e%l].skip;)e+=o;t%l!=e%l&&(u.push({start:t%l,end:e%l,loop:n,style:i}),c=i,d=e%l)}}for(const t of e){d=s?d:t.start;let e,o=r[d%l];for(h=d+1;h<=t.end;h++){const s=r[h%l];e=te(n.setContext(vt(i,{type:"segment",p0:o,p1:s,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:a}))),ee(e,c)&&f(d,h-1,t.loop,c),o=s,c=e}dr&&0===t?0:t+e;return{min:a(n,-Math.abs(o)),max:a(i,o)}},r._alignPixel=function(t,e,r){const n=t.currentDevicePixelRatio,i=0!==r?Math.max(r/2,.5):0;return Math.round((e-i)*n)/n+i},r._alignStartEnd=(t,e,r)=>"start"===t?e:"end"===t?r:(e+r)/2,r._angleBetween=B,r._angleDiff=N,r._arrayUnique=function(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)},r._attachContext=_t,r._bezierCurveTo=function(t,e,r,n){if(!e)return t.lineTo(r.x,r.y);t.bezierCurveTo(n?e.cp1x:e.cp2x,n?e.cp1y:e.cp2y,n?r.cp2x:r.cp1x,n?r.cp2y:r.cp1y,r.x,r.y)},r._bezierInterpolation=function(t,e,r,n){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=Kt(t,i,r),s=Kt(i,o,r),l=Kt(o,e,r),u=Kt(a,s,r),c=Kt(s,l,r);return Kt(u,c,r)},r._boundSegment=Qt,r._boundSegments=function(t,e){const r=[],n=t.segments;for(let i=0;ii&&t[o%e].skip;)o--;return o%=e,{start:i,end:o}}(r,i,o,n);return Jt(t,!0===n?[{start:a,end:s,loop:o}]:function(t,e,r,n){const i=t.length,o=[];let a,s=e,l=t[e];for(a=e+1;a<=r;++a){const r=t[a%i];r.skip||r.stop?l.skip||(n=!1,o.push({start:e%i,end:(a-1)%i,loop:n}),e=s=r.stop?a:null):(s=a,l.skip&&(e=a)),l=r}return null!==s&&o.push({start:e%i,end:s%i,loop:n}),o}(r,a,st-e)).pop(),e},r._filterBetween=function(t,e,r){let n=0,i=t.length;for(;nn&&t[i-1]>r;)i--;return n>0||ir.length){for(u=0;uj(t,r,(n=>t[n][e]>=r)),r._scaleRangesChanged=function(t){const{xScale:e,yScale:r,_scaleRanges:n}=t,i={xmin:e.min,xmax:e.max,ymin:r.min,ymax:r.max};if(!n)return t._scaleRanges=i,!0;const o=n.xmin!==e.min||n.xmax!==e.max||n.ymin!==r.min||n.ymax!==r.max;return Object.assign(n,i),o},r._setMinAndMaxByKey=function(t,e,r){let n,i,o;for(n=0,i=t.length;n0?e.y:t.y}},r._steppedLineTo=function(t,e,r,n,i){if(!e)return t.lineTo(r.x,r.y);if("middle"===i){const n=(e.x+r.x)/2;t.lineTo(n,e.y),t.lineTo(n,r.y)}else"after"===i!=!!n?t.lineTo(e.x,r.y):t.lineTo(r.x,e.y);t.lineTo(r.x,r.y)},r._textX=(t,e,r,n)=>t===(n?"left":"right")?r:"center"===t?(e+r)/2:e,r._toLeftRightCenter=t=>"start"===t?"left":"end"===t?"right":"center",r._updateBezierControlPoints=function(t,e,r,n,i){let o,a,s,l;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)Lt(t,i);else{let r=n?t[t.length-1]:t[0];for(o=0,a=t.length;o=t},r.callback=function(t,e,r){if(t&&"function"==typeof t.call)return t.apply(r,e)},r.clearCanvas=function(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()},r.clipArea=function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},r.clone=d,r.color=function(t){return X(t)?t:new n.Color(t)},r.createContext=vt,r.debounce=function(t,e){let r;return function(...n){return e?(clearTimeout(r),r=setTimeout(t,e,n)):t.apply(this,n),e}},r.defaults=at,r.defined=t=>void 0!==t,r.descriptors=rt,r.distanceBetweenPoints=M,r.drawPoint=function(t,e,r,n){ut(t,e,r,n,null)},r.drawPointLegend=ut,r.each=function(t,e,r,n){let i,o,l;if(a(t))if(o=t.length,n)for(i=o-1;i>=0;i--)e.call(r,t[i],i);else for(i=0;il.height&&(c=l.height,u=Xt(Math.floor(c*n))),{width:u,height:c}},r.getRelativePosition=function(t,e){if("native"in t)return t;const{canvas:r,currentDevicePixelRatio:n}=e,i=Ht(r),o="border-box"===i.boxSizing,a=Wt(i,"padding"),s=Wt(i,"border","width"),{x:l,y:u,box:c}=function(t,e){const r=t.touches,n=r&&r.length?r[0]:t,{offsetX:i,offsetY:o}=n;let a,s,l=!1;if(Gt(i,o,t.target))a=i,s=o;else{const t=e.getBoundingClientRect();a=n.clientX-t.left,s=n.clientY-t.top,l=!0}return{x:a,y:s,box:l}}(t,r),d=a.left+(c&&s.left),h=a.top+(c&&s.top);let{width:f,height:p}=e;return o&&(f-=a.width+s.width,p-=a.height+s.height),{x:Math.round((l-d)/f*r.width/n),y:Math.round((u-h)/p*r.height/n)}},r.getRtlAdapter=function(t,e,r){return t?function(t,e){return{x:r=>t+t+e-r,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,r):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}},r.getStyle=Ut,r.isArray=a,r.isFunction=_,r.isNullOrUndef=o,r.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},r.isNumberFinite=l,r.isObject=s,r.isPatternOrGradient=X,r.listenArrayEvents=function(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),V.forEach((e=>{const r="_onData"+w(e),n=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){const i=n.apply(this,e);return t._chartjs.listeners.forEach((t=>{"function"==typeof t[r]&&t[r](...e)})),i}})})))},r.log10=O,r.merge=p,r.mergeIf=g,r.niceNum=function(t){const e=Math.round(t);t=P(t,e,t/1e3)?e:t;const r=Math.pow(10,Math.floor(O(t))),n=t/r;return(n<=1?1:n<=2?2:n<=5?5:10)*r},r.noop=function(){},r.overrideTextDirection=function(t,e){let r,n;"ltr"!==e&&"rtl"!==e||(r=t.canvas.style,n=[r.getPropertyValue("direction"),r.getPropertyPriority("direction")],r.setProperty("direction",e,"important"),t.prevTextDirection=n)},r.overrides=et,r.readUsedSize=function(t,e){const r=Ut(t,e),n=r&&r.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:undefined},r.renderText=function(t,e,r,n,i,s={}){const l=a(e)?e:[e],u=s.strokeWidth>0&&""!==s.strokeColor;let c,d;for(t.save(),t.font=i.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),o(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,s),c=0;c{if(t.size!==e.size)return!1;for(const r of t)if(!e.has(r))return!1;return!0},r.sign=R,r.splineCurve=Bt,r.splineCurveMonotone=Lt,r.supportsEventListenerOptions=Yt,r.throttled=function(t,e){let r=[],n=!1;return function(...i){r=i,n||(n=!0,H.call(window,(()=>{n=!1,t.apply(e,r)})))}},r.toDegrees=function(t){return t*(180/A)},r.toDimension=c,r.toFont=function(t,e){t=t||{},e=e||at.font;let r=u(t.size,e.size);"string"==typeof r&&(r=parseInt(r,10));let n=u(t.style,e.style);n&&!(""+n).match(pt)&&(console.warn('Invalid font style specified: "'+n+'"'),n=undefined);const i={family:u(t.family,e.family),lineHeight:gt(u(t.lineHeight,e.lineHeight),r),size:r,style:n,weight:u(t.weight,e.weight),string:""};return i.string=st(i),i},r.toFontString=st,r.toLineHeight=gt,r.toPadding=function(t){const e=bt(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e},r.toPercentage=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,r.toRadians=function(t){return t*(A/180)},r.toTRBL=bt,r.toTRBLCorners=function(t){return yt(t,["topLeft","topRight","bottomLeft","bottomRight"])},r.uid=i,r.unclipArea=function(t){t.restore()},r.unlistenArrayEvents=function(t,e){const r=t._chartjs;if(!r)return;const n=r.listeners,i=n.indexOf(e);-1!==i&&n.splice(i,1),n.length>0||(V.forEach((e=>{delete t[e]})),delete t._chartjs)},r.valueOrDefault=u}}},{package:"chart.js",file:"node_modules/chart.js/dist/chunks/helpers.segment.cjs"}],[4104,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t){var e,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;eclsx",file:"node_modules/clsx/dist/clsx.js"}],[4141,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){r.parse=function(t){var e,r=[],i=String(t||o),a=i.indexOf(n),s=0,l=!1;for(;!l;)-1===a&&(a=i.length,l=!0),!(e=i.slice(s,a).trim())&&l||r.push(e),s=a+1,a=i.indexOf(n,s);return r},r.stringify=function(t,e){var r=e||{},a=!1===r.padLeft?o:i,s=r.padRight?i:o;t[t.length-1]===o&&(t=t.concat(o));return t.join(s+n+a).trim()};var n=",",i=" ",o=""}}},{package:"react-markdown>comma-separated-tokens",file:"node_modules/comma-separated-tokens/index.js"}],[4143,{"toggle-selection":5606},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("toggle-selection"),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(t,e){var r,o,a,s,l,u,c=!1;e||(e={}),r=e.debug||!1;try{if(a=n(),s=document.createRange(),l=document.getSelection(),(u=document.createElement("span")).textContent=t,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(n){if(n.stopPropagation(),e.format)if(n.preventDefault(),void 0===n.clipboardData){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[e.format]||i.default;window.clipboardData.setData(o,t)}else n.clipboardData.clearData(),n.clipboardData.setData(e.format,t);e.onCopy&&(n.preventDefault(),e.onCopy(n.clipboardData))})),document.body.appendChild(u),s.selectNodeContents(u),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");c=!0}catch(n){r&&console.error("unable to copy using execCommand: ",n),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),c=!0}catch(n){r&&console.error("unable to copy using clipboardData: ",n),r&&console.error("falling back to prompt"),o=function(t){var e=(/mac os x/i.test(navigator.userAgent)?"โŒ˜":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}("message"in e?e.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,t)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),u&&document.body.removeChild(u),a()}return c}}}},{package:"copy-to-clipboard",file:"node_modules/copy-to-clipboard/index.js"}],[4217,{"tiny-invariant":5603},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=t("tiny-invariant"))&&"object"==typeof n&&"default"in n?n.default:n,o=function(t){var e=t.top,r=t.right,n=t.bottom,i=t.left;return{top:e,right:r,bottom:n,left:i,width:r-i,height:n-e,x:i,y:e,center:{x:(r+i)/2,y:(n+e)/2}}},a=function(t,e){return{top:t.top-e.top,left:t.left-e.left,bottom:t.bottom+e.bottom,right:t.right+e.right}},s=function(t,e){return{top:t.top+e.top,left:t.left+e.left,bottom:t.bottom-e.bottom,right:t.right-e.right}},l={top:0,right:0,bottom:0,left:0},u=function(t){var e=t.borderBox,r=t.margin,n=void 0===r?l:r,i=t.border,u=void 0===i?l:i,c=t.padding,d=void 0===c?l:c,h=o(a(e,n)),f=o(s(e,u)),p=o(s(f,d));return{marginBox:h,borderBox:o(e),paddingBox:f,contentBox:p,margin:n,border:u,padding:d}},c=function(t){var e=t.slice(0,-2);if("px"!==t.slice(-2))return 0;var r=Number(e);return isNaN(r)&&i(!1),r},d=function(t,e){var r,n,i=t.borderBox,o=t.border,a=t.margin,s=t.padding,l=(n=e,{top:(r=i).top+n.y,left:r.left+n.x,bottom:r.bottom+n.y,right:r.right+n.x});return u({borderBox:l,border:o,margin:a,padding:s})},h=function(t,e){var r={top:c(e.marginTop),right:c(e.marginRight),bottom:c(e.marginBottom),left:c(e.marginLeft)},n={top:c(e.paddingTop),right:c(e.paddingRight),bottom:c(e.paddingBottom),left:c(e.paddingLeft)},i={top:c(e.borderTopWidth),right:c(e.borderRightWidth),bottom:c(e.borderBottomWidth),left:c(e.borderLeftWidth)};return u({borderBox:t,margin:r,padding:n,border:i})};r.calculateBox=h,r.createBox=u,r.expand=a,r.getBox=function(t){var e=t.getBoundingClientRect(),r=window.getComputedStyle(t);return h(e,r)},r.getRect=o,r.offset=d,r.shrink=s,r.withScroll=function(t,e){return void 0===e&&(e={x:window.pageXOffset,y:window.pageYOffset}),d(t,e)}}}},{package:"react-beautiful-dnd>css-box-model",file:"node_modules/css-box-model/dist/css-box-model.cjs.js"}],[4218,{"@babel/runtime/helpers/toConsumableArray":397,"is-in-browser":4663},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(r,"__esModule",{value:!0});var i=n(t("is-in-browser")),o=n(t("@babel/runtime/helpers/toConsumableArray")),a="",s="",l="",u="",c=i&&"ontouchstart"in document.documentElement;if(i){var d={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},h=document.createElement("p").style;for(var f in d)if(f+"Transform"in h){a=f,s=d[f];break}"Webkit"===a&&"msHyphens"in h&&(a="ms",s=d.ms,u="edge"),"Webkit"===a&&"-apple-trailing-word"in h&&(l="apple")}var p={js:a,css:s,vendor:l,browser:u,isTouch:c};var g={noPrefill:["appearance"],supportedProperty:function(t){return"appearance"===t&&("ms"===p.js?"-webkit-"+t:p.css+t)}},m={noPrefill:["color-adjust"],supportedProperty:function(t){return"color-adjust"===t&&("Webkit"===p.js?p.css+"print-"+t:t)}},y=/[-\s]+(.)?/g;function b(t,e){return e?e.toUpperCase():""}function v(t){return t.replace(y,b)}function w(t){return v("-"+t)}var _,A={noPrefill:["mask"],supportedProperty:function(t,e){if(!/^mask/.test(t))return!1;if("Webkit"===p.js){var r="mask-image";if(v(r)in e)return t;if(p.js+w(r)in e)return p.css+t}return t}},x={noPrefill:["text-orientation"],supportedProperty:function(t){return"text-orientation"===t&&("apple"!==p.vendor||p.isTouch?t:p.css+t)}},C={noPrefill:["transform"],supportedProperty:function(t,e,r){return"transform"===t&&(r.transform?t:p.css+t)}},E={noPrefill:["transition"],supportedProperty:function(t,e,r){return"transition"===t&&(r.transition?t:p.css+t)}},S={noPrefill:["writing-mode"],supportedProperty:function(t){return"writing-mode"===t&&("Webkit"===p.js||"ms"===p.js&&"edge"!==p.browser?p.css+t:t)}},T={noPrefill:["user-select"],supportedProperty:function(t){return"user-select"===t&&("Moz"===p.js||"ms"===p.js||"apple"===p.vendor?p.css+t:t)}},I={supportedProperty:function(t,e){return!!/^break-/.test(t)&&("Webkit"===p.js?"WebkitColumn"+w(t)in e&&p.css+"column-"+t:"Moz"===p.js&&("page"+w(t)in e&&"page-"+t))}},D={supportedProperty:function(t,e){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===p.js)return t;var r=t.replace("-inline","");return p.js+w(r)in e&&p.css+r}},O={supportedProperty:function(t,e){return v(t)in e&&t}},R={supportedProperty:function(t,e){var r=w(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:p.js+r in e?p.css+t:"Webkit"!==p.js&&"Webkit"+r in e&&"-webkit-"+t}},P={supportedProperty:function(t){return"scroll-snap"===t.substring(0,11)&&("ms"===p.js?""+p.css+t:t)}},M={supportedProperty:function(t){return"overscroll-behavior"===t&&("ms"===p.js?p.css+"scroll-chaining":t)}},N={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},k={supportedProperty:function(t,e){var r=N[t];return!!r&&(p.js+w(r)in e&&p.css+r)}},B={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},L=Object.keys(B),F=function(t){return p.css+t},j={supportedProperty:function(t,e,r){var n=r.multiple;if(L.indexOf(t)>-1){var i=B[t];if(!Array.isArray(i))return p.js+w(i)in e&&p.css+i;if(!n)return!1;for(var o=0;o@material-ui/styles>jss-plugin-vendor-prefixer>css-vendor",file:"node_modules/css-vendor/dist/css-vendor.cjs.js"}],[4230,{"define-data-property":4229,"has-property-descriptors":4614,"object-keys":4969},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("object-keys"),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,a=Array.prototype.concat,s=t("define-data-property"),l=t("has-property-descriptors")(),u=function(t,e,r,n){if(e in t)if(!0===n){if(t[e]===r)return}else if("function"!=typeof(i=n)||"[object Function]"!==o.call(i)||!n())return;var i;l?s(t,e,r,!0):s(t,e,r)},c=function(t,e){var r=arguments.length>2?arguments[2]:{},o=n(e);i&&(o=a.call(o,Object.getOwnPropertySymbols(e)));for(var s=0;sdefine-properties",file:"node_modules/define-properties/index.js"}],[4237,{_process:5008},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){(function(t){(function(){var e=this&&this.__spreadArrays||function(){for(var t=0,e=0,r=arguments.length;edetect-browser",file:"node_modules/detect-browser/index.js"}],[4243,{"./hasClass":4244,"@babel/runtime/helpers/interopRequireDefault":383},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("@babel/runtime/helpers/interopRequireDefault");r.__esModule=!0,r.default=function(t,e){t.classList?t.classList.add(e):(0,i.default)(t,e)||("string"==typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var i=n(t("./hasClass"));e.exports=r.default}}},{package:"@material-ui/core>react-transition-group>dom-helpers",file:"node_modules/dom-helpers/cjs/addClass.js"}],[4244,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){r.__esModule=!0,r.default=function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")},e.exports=r.default}}},{package:"@material-ui/core>react-transition-group>dom-helpers",file:"node_modules/dom-helpers/cjs/hasClass.js"}],[4245,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}r.__esModule=!0,r.default=function(t,e){t.classList?t.classList.remove(e):"string"==typeof t.className?t.className=n(t.className,e):t.setAttribute("class",n(t.className&&t.className.baseVal||"",e))},e.exports=r.default}}},{package:"@material-ui/core>react-transition-group>dom-helpers",file:"node_modules/dom-helpers/cjs/removeClass.js"}],[4272,{_process:5008,"call-bind/callBound":4089,"get-intrinsic":4479,"has-symbols":4615,"has-symbols/shams":4616,"is-arguments":4653,"is-map":4664,"is-set":4669,"is-string":4672,isarray:4678,"stop-iteration-iterator":5590},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){(function(r){(function(){var n=t("is-arguments"),i=t("stop-iteration-iterator");if(t("has-symbols")()||t("has-symbols/shams")()){var o=Symbol.iterator;e.exports=function(t){return null!=t&&void 0!==t[o]?t[o]():n(t)?Array.prototype[o].call(t):void 0}}else{var a=t("isarray"),s=t("is-string"),l=t("get-intrinsic"),u=l("%Map%",!0),c=l("%Set%",!0),d=t("call-bind/callBound"),h=d("Array.prototype.push"),f=d("String.prototype.charCodeAt"),p=d("String.prototype.slice"),g=function(t){var e=0;return{next:function(){var r,n=e>=t.length;return n||(r=t[e],e+=1),{done:n,value:r}}}},m=function(t,e){if(a(t)||n(t))return g(t);if(s(t)){var r=0;return{next:function(){var e=function(t,e){if(e+1>=t.length)return e+1;var r=f(t,e);if(r<55296||r>56319)return e+1;var n=f(t,e+1);return n<56320||n>57343?e+1:e+2}(t,r),n=p(t,r,e);return r=e,{done:e>t.length,value:n}}}}return e&&void 0!==t["_es6-shim iterator_"]?t["_es6-shim iterator_"]():void 0};if(u||c){var y=t("is-map"),b=t("is-set"),v=d("Map.prototype.forEach",!0),w=d("Set.prototype.forEach",!0);if(void 0===r||!r.versions||!r.versions.node)var _=d("Map.prototype.iterator",!0),A=d("Set.prototype.iterator",!0);var x=d("Map.prototype.@@iterator",!0)||d("Map.prototype._es6-shim iterator_",!0),C=d("Set.prototype.@@iterator",!0)||d("Set.prototype._es6-shim iterator_",!0);e.exports=function(t){return function(t){if(y(t)){if(_)return i(_(t));if(x)return x(t);if(v){var e=[];return v(t,(function(t,r){h(e,[r,t])})),g(e)}}if(b(t)){if(A)return i(A(t));if(C)return C(t);if(w){var r=[];return w(t,(function(t){h(r,t)})),g(r)}}}(t)||m(t)}}else e.exports=function(t){if(null!=t)return m(t,!0)}}}).call(this)}).call(this,t("_process"))}}},{package:"@metamask/eth-token-tracker>deep-equal>es-get-iterator",file:"node_modules/es-get-iterator/index.js"}],[4401,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===i.call(t)},l=function(t){if(!t||"[object Object]"!==i.call(t))return!1;var e,r=n.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!o)return!1;for(e in t);return void 0===e||n.call(t,e)},u=function(t,e){o&&"__proto__"===e.name?o(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},c=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(a)return a(t,e).value}return t[e]};e.exports=function t(){var e,r,n,i,o,a,d=arguments[0],h=1,f=arguments.length,p=!1;for("boolean"==typeof d&&(p=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});hunified>extend",file:"node_modules/extend/index.js"}],[4477,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=function(){return"string"==typeof function(){}.name},i=Object.getOwnPropertyDescriptor;if(i)try{i([],"length")}catch(t){i=null}n.functionsHaveConfigurableNames=function(){if(!n()||!i)return!1;var t=i((function(){}),"name");return!!t&&!!t.configurable};var o=Function.prototype.bind;n.boundFunctionsHaveNames=function(){return n()&&"function"==typeof o&&""!==function(){}.bind().name},e.exports=n}}},{package:"string.prototype.matchall>es-abstract>function.prototype.name>functions-have-names",file:"node_modules/functions-have-names/index.js"}],[4478,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i;n=this,i=function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=0)}([function(t,e,r){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){for(var r=0;r1)throw new Error('"weight" property in key must bein the range of [0, 1)');o=null==o?d:Math.max(o,d),i=null==i?d:Math.min(i,d),this._keyWeights[c]=d,a+=d}if(a>1)throw new Error("Total of weights cannot exceed 1")}}},{key:"search",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(t,'"'));var r=this._prepareSearchers(t),n=r.tokenSearchers,i=r.fullSearcher,o=this._search(n,i);return this._computeScore(o),this.options.shouldSort&&this._sort(o),e.limit&&"number"==typeof e.limit&&(o=o.slice(0,e.limit)),this._format(o)}},{key:"_prepareSearchers",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=[];if(this.options.tokenize)for(var r=t.split(this.options.tokenSeparator),n=0,i=r.length;n0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,r=this.list,n={},i=[];if("string"==typeof r[0]){for(var o=0,a=r.length;o-1&&(D=(D+u)/2),r._log("Score average:",D);var O=!r.options.tokenize||!r.options.matchAllTokens||c>=d.length;if(r._log("\nCheck Matches: ".concat(O)),(s||f.isMatch)&&O){var R={key:n,arrayIndex:e,value:i,score:D};r.options.includeMatches&&(R.matchedIndices=f.matchedIndices);var P=p[a];P?P.output.push(R):(p[a]={item:o,output:[R]},m.push(p[a]))}}else if(l(i))for(var M=0,N=i.length;M0?Number.EPSILON:c.score;l*=Math.pow(f,h)}o.score=l,this._log(o)}}},{key:"_sort",value:function(t){this._log("\n\nSorting...."),t.sort(this.options.sortFn)}},{key:"_format",value:function(t){var e=[];if(this.options.verbose){var r=[];this._log("\n\nOutput:\n\n",JSON.stringify(t,(function(t,e){if("object"===n(e)&&null!==e){if(-1!==r.indexOf(e))return;r.push(e)}return e}),2)),r=null}var i=[];this.options.includeMatches&&i.push((function(t,e){var r=t.output;e.matches=[];for(var n=0,i=r.length;n-1&&(a.arrayIndex=o.arrayIndex),e.matches.push(a)}}})),this.options.includeScore&&i.push((function(t,e){e.score=t.score}));for(var o=0,a=t.length;ol)return i(t,this.pattern,u);var c=this.options,d=c.location,h=c.distance,f=c.threshold,p=c.findAllMatches,g=c.minMatchCharLength;return o(t,this.pattern,this.patternAlphabet,{location:d,distance:h,threshold:f,findAllMatches:p,minMatchCharLength:g,includeMatches:n})}}])&&n(e.prototype,r),t}();t.exports=s},function(t,e){var r=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;t.exports=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/ +/g,i=new RegExp(e.replace(r,"\\$&").replace(n,"|")),o=t.match(i),a=!!o,s=[];if(a)for(var l=0,u=o.length;l=N;L-=1){var F=L-1,j=r[t.charAt(F)];if(j&&(x[F]=1),B[L]=(B[L+1]<<1|1)&j,0!==R&&(B[L]|=(T[L+1]|T[L])<<1|1|T[L+1]),B[L]&O&&(I=n(e,{errors:R,currentLocation:F,expectedLocation:b,distance:u}))<=w){if(w=I,(_=F)<=b)break;N=Math.max(1,2*b-_)}}if(n(e,{errors:R+1,currentLocation:b,expectedLocation:b,distance:u})>w)break;T=B}var z={isMatch:_>=0,score:0===I?.001:I};return y&&(z.matchedIndices=i(x,g)),z}},function(t,e){t.exports=function(t,e){var r=e.errors,n=void 0===r?0:r,i=e.currentLocation,o=void 0===i?0:i,a=e.expectedLocation,s=void 0===a?0:a,l=e.distance,u=void 0===l?100:l,c=n/t.length,d=Math.abs(s-o);return u?c+d/u:d?1:c}},function(t,e){t.exports=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=[],n=-1,i=-1,o=0,a=t.length;o=e&&r.push([n,i]),n=-1)}return t[o-1]&&o-n>=e&&r.push([n,o-1]),r}},function(t,e){t.exports=function(t){for(var e={},r=t.length,n=0;ngl-mat4",file:"node_modules/gl-mat4/identity.js"}],[4485,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e){var r=e[0],n=e[1],i=e[2],o=e[3],a=e[4],s=e[5],l=e[6],u=e[7],c=e[8],d=e[9],h=e[10],f=e[11],p=e[12],g=e[13],m=e[14],y=e[15],b=r*s-n*a,v=r*l-i*a,w=r*u-o*a,_=n*l-i*s,A=n*u-o*s,x=i*u-o*l,C=c*g-d*p,E=c*m-h*p,S=c*y-f*p,T=d*m-h*g,I=d*y-f*g,D=h*y-f*m,O=b*D-v*I+w*T+_*S-A*E+x*C;if(!O)return null;return O=1/O,t[0]=(s*D-l*I+u*T)*O,t[1]=(i*I-n*D-o*T)*O,t[2]=(g*x-m*A+y*_)*O,t[3]=(h*A-d*x-f*_)*O,t[4]=(l*S-a*D-u*E)*O,t[5]=(r*D-i*S+o*E)*O,t[6]=(m*w-p*x-y*v)*O,t[7]=(c*x-h*w+f*v)*O,t[8]=(a*I-s*S+u*C)*O,t[9]=(n*S-r*I-o*C)*O,t[10]=(p*A-g*w+y*b)*O,t[11]=(d*w-c*A-f*b)*O,t[12]=(s*E-a*T-l*C)*O,t[13]=(r*T-n*E+i*C)*O,t[14]=(g*v-p*_-m*b)*O,t[15]=(c*_-d*v+h*b)*O,t}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/invert.js"}],[4486,{"./identity":4484},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./identity");e.exports=function(t,e,r,i){var o,a,s,l,u,c,d,h,f,p,g=e[0],m=e[1],y=e[2],b=i[0],v=i[1],w=i[2],_=r[0],A=r[1],x=r[2];if(Math.abs(g-_)<1e-6&&Math.abs(m-A)<1e-6&&Math.abs(y-x)<1e-6)return n(t);d=g-_,h=m-A,f=y-x,p=1/Math.sqrt(d*d+h*h+f*f),o=v*(f*=p)-w*(h*=p),a=w*(d*=p)-b*f,s=b*h-v*d,(p=Math.sqrt(o*o+a*a+s*s))?(o*=p=1/p,a*=p,s*=p):(o=0,a=0,s=0);l=h*s-f*a,u=f*o-d*s,c=d*a-h*o,(p=Math.sqrt(l*l+u*u+c*c))?(l*=p=1/p,u*=p,c*=p):(l=0,u=0,c=0);return t[0]=o,t[1]=l,t[2]=d,t[3]=0,t[4]=a,t[5]=u,t[6]=h,t[7]=0,t[8]=s,t[9]=c,t[10]=f,t[11]=0,t[12]=-(o*g+a*m+s*y),t[13]=-(l*g+u*m+c*y),t[14]=-(d*g+h*m+f*y),t[15]=1,t}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/lookAt.js"}],[4487,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],o=e[2],a=e[3],s=e[4],l=e[5],u=e[6],c=e[7],d=e[8],h=e[9],f=e[10],p=e[11],g=e[12],m=e[13],y=e[14],b=e[15],v=r[0],w=r[1],_=r[2],A=r[3];return t[0]=v*n+w*s+_*d+A*g,t[1]=v*i+w*l+_*h+A*m,t[2]=v*o+w*u+_*f+A*y,t[3]=v*a+w*c+_*p+A*b,v=r[4],w=r[5],_=r[6],A=r[7],t[4]=v*n+w*s+_*d+A*g,t[5]=v*i+w*l+_*h+A*m,t[6]=v*o+w*u+_*f+A*y,t[7]=v*a+w*c+_*p+A*b,v=r[8],w=r[9],_=r[10],A=r[11],t[8]=v*n+w*s+_*d+A*g,t[9]=v*i+w*l+_*h+A*m,t[10]=v*o+w*u+_*f+A*y,t[11]=v*a+w*c+_*p+A*b,v=r[12],w=r[13],_=r[14],A=r[15],t[12]=v*n+w*s+_*d+A*g,t[13]=v*i+w*l+_*h+A*m,t[14]=v*o+w*u+_*f+A*y,t[15]=v*a+w*c+_*p+A*b,t}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/multiply.js"}],[4488,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e,r,n,i){var o=1/Math.tan(e/2),a=1/(n-i);return t[0]=o/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=(i+n)*a,t[11]=-1,t[12]=0,t[13]=0,t[14]=2*i*n*a,t[15]=0,t}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/perspective.js"}],[4489,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e,r,n){var i,o,a,s,l,u,c,d,h,f,p,g,m,y,b,v,w,_,A,x,C,E,S,T,I=n[0],D=n[1],O=n[2],R=Math.sqrt(I*I+D*D+O*O);if(Math.abs(R)<1e-6)return null;I*=R=1/R,D*=R,O*=R,i=Math.sin(r),o=Math.cos(r),a=1-o,s=e[0],l=e[1],u=e[2],c=e[3],d=e[4],h=e[5],f=e[6],p=e[7],g=e[8],m=e[9],y=e[10],b=e[11],v=I*I*a+o,w=D*I*a+O*i,_=O*I*a-D*i,A=I*D*a-O*i,x=D*D*a+o,C=O*D*a+I*i,E=I*O*a+D*i,S=D*O*a-I*i,T=O*O*a+o,t[0]=s*v+d*w+g*_,t[1]=l*v+h*w+m*_,t[2]=u*v+f*w+y*_,t[3]=c*v+p*w+b*_,t[4]=s*A+d*x+g*C,t[5]=l*A+h*x+m*C,t[6]=u*A+f*x+y*C,t[7]=c*A+p*x+b*C,t[8]=s*E+d*S+g*T,t[9]=l*E+h*S+m*T,t[10]=u*E+f*S+y*T,t[11]=c*E+p*S+b*T,e!==t&&(t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]);return t}}}},{package:"@metamask/logo>gl-mat4",file:"node_modules/gl-mat4/rotate.js"}],[4490,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=function(t,e,r){var n=e[0],i=e[1],o=e[2],a=r[3]*n+r[7]*i+r[11]*o+r[15];return a=a||1,t[0]=(r[0]*n+r[4]*i+r[8]*o+r[12])/a,t[1]=(r[1]*n+r[5]*i+r[9]*o+r[13])/a,t[2]=(r[2]*n+r[6]*i+r[10]*o+r[14])/a,t}}}},{package:"@metamask/logo>gl-vec3",file:"node_modules/gl-vec3/transformMat4.js"}],[4613,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n="undefined"!=typeof BigInt&&BigInt;e.exports=function(){return"function"==typeof n&&"function"==typeof BigInt&&"bigint"==typeof n(42)&&"bigint"==typeof BigInt(42)}}}},{package:"string.prototype.matchall>es-abstract>unbox-primitive>has-bigints",file:"node_modules/has-bigints/index.js"}],[4633,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){!function(t){var n="object"==typeof r&&r,i="object"==typeof e&&e&&e.exports==n&&e,o="object"==typeof global&&global;o.global!==o&&o.window!==o||(t=o);var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,u=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"ยญ":"shy","โ€Œ":"zwnj","โ€":"zwj","โ€Ž":"lrm","โฃ":"ic","โข":"it","โก":"af","โ€":"rlm","โ€‹":"ZeroWidthSpace","โ ":"NoBreak","ฬ‘":"DownBreve","โƒ›":"tdot","โƒœ":"DotDot","\t":"Tab","\n":"NewLine","โ€ˆ":"puncsp","โŸ":"MediumSpace","โ€‰":"thinsp","โ€Š":"hairsp","โ€„":"emsp13","โ€‚":"ensp","โ€…":"emsp14","โ€ƒ":"emsp","โ€‡":"numsp","ย ":"nbsp","โŸโ€Š":"ThickSpace","โ€พ":"oline",_:"lowbar","โ€":"dash","โ€“":"ndash","โ€”":"mdash","โ€•":"horbar",",":"comma",";":"semi","โ":"bsemi",":":"colon","โฉด":"Colone","!":"excl","ยก":"iexcl","?":"quest","ยฟ":"iquest",".":"period","โ€ฅ":"nldr","โ€ฆ":"mldr","ยท":"middot","'":"apos","โ€˜":"lsquo","โ€™":"rsquo","โ€š":"sbquo","โ€น":"lsaquo","โ€บ":"rsaquo",'"':"quot","โ€œ":"ldquo","โ€":"rdquo","โ€ž":"bdquo","ยซ":"laquo","ยป":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","โŒˆ":"lceil","โŒ‰":"rceil","โŒŠ":"lfloor","โŒ‹":"rfloor","โฆ…":"lopar","โฆ†":"ropar","โฆ‹":"lbrke","โฆŒ":"rbrke","โฆ":"lbrkslu","โฆŽ":"rbrksld","โฆ":"lbrksld","โฆ":"rbrkslu","โฆ‘":"langd","โฆ’":"rangd","โฆ“":"lparlt","โฆ”":"rpargt","โฆ•":"gtlPar","โฆ–":"ltrPar","โŸฆ":"lobrk","โŸง":"robrk","โŸจ":"lang","โŸฉ":"rang","โŸช":"Lang","โŸซ":"Rang","โŸฌ":"loang","โŸญ":"roang","โฒ":"lbbrk","โณ":"rbbrk","โ€–":"Vert","ยง":"sect","ยถ":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","โ€ฐ":"permil","โ€ฑ":"pertenk","โ€ ":"dagger","โ€ก":"Dagger","โ€ข":"bull","โƒ":"hybull","โ€ฒ":"prime","โ€ณ":"Prime","โ€ด":"tprime","โ—":"qprime","โ€ต":"bprime","โ":"caret","`":"grave","ยด":"acute","หœ":"tilde","^":"Hat","ยฏ":"macr","ห˜":"breve","ห™":"dot","ยจ":"die","หš":"ring","ห":"dblac","ยธ":"cedil","ห›":"ogon","ห†":"circ","ห‡":"caron","ยฐ":"deg","ยฉ":"copy","ยฎ":"reg","โ„—":"copysr","โ„˜":"wp","โ„ž":"rx","โ„ง":"mho","โ„ฉ":"iiota","โ†":"larr","โ†š":"nlarr","โ†’":"rarr","โ†›":"nrarr","โ†‘":"uarr","โ†“":"darr","โ†”":"harr","โ†ฎ":"nharr","โ†•":"varr","โ†–":"nwarr","โ†—":"nearr","โ†˜":"searr","โ†™":"swarr","โ†":"rarrw","โ†ฬธ":"nrarrw","โ†ž":"Larr","โ†Ÿ":"Uarr","โ† ":"Rarr","โ†ก":"Darr","โ†ข":"larrtl","โ†ฃ":"rarrtl","โ†ค":"mapstoleft","โ†ฅ":"mapstoup","โ†ฆ":"map","โ†ง":"mapstodown","โ†ฉ":"larrhk","โ†ช":"rarrhk","โ†ซ":"larrlp","โ†ฌ":"rarrlp","โ†ญ":"harrw","โ†ฐ":"lsh","โ†ฑ":"rsh","โ†ฒ":"ldsh","โ†ณ":"rdsh","โ†ต":"crarr","โ†ถ":"cularr","โ†ท":"curarr","โ†บ":"olarr","โ†ป":"orarr","โ†ผ":"lharu","โ†ฝ":"lhard","โ†พ":"uharr","โ†ฟ":"uharl","โ‡€":"rharu","โ‡":"rhard","โ‡‚":"dharr","โ‡ƒ":"dharl","โ‡„":"rlarr","โ‡…":"udarr","โ‡†":"lrarr","โ‡‡":"llarr","โ‡ˆ":"uuarr","โ‡‰":"rrarr","โ‡Š":"ddarr","โ‡‹":"lrhar","โ‡Œ":"rlhar","โ‡":"lArr","โ‡":"nlArr","โ‡‘":"uArr","โ‡’":"rArr","โ‡":"nrArr","โ‡“":"dArr","โ‡”":"iff","โ‡Ž":"nhArr","โ‡•":"vArr","โ‡–":"nwArr","โ‡—":"neArr","โ‡˜":"seArr","โ‡™":"swArr","โ‡š":"lAarr","โ‡›":"rAarr","โ‡":"zigrarr","โ‡ค":"larrb","โ‡ฅ":"rarrb","โ‡ต":"duarr","โ‡ฝ":"loarr","โ‡พ":"roarr","โ‡ฟ":"hoarr","โˆ€":"forall","โˆ":"comp","โˆ‚":"part","โˆ‚ฬธ":"npart","โˆƒ":"exist","โˆ„":"nexist","โˆ…":"empty","โˆ‡":"Del","โˆˆ":"in","โˆ‰":"notin","โˆ‹":"ni","โˆŒ":"notni","ฯถ":"bepsi","โˆ":"prod","โˆ":"coprod","โˆ‘":"sum","+":"plus","ยฑ":"pm","รท":"div","ร—":"times","<":"lt","โ‰ฎ":"nlt","<โƒ’":"nvlt","=":"equals","โ‰ ":"ne","=โƒฅ":"bne","โฉต":"Equal",">":"gt","โ‰ฏ":"ngt",">โƒ’":"nvgt","ยฌ":"not","|":"vert","ยฆ":"brvbar","โˆ’":"minus","โˆ“":"mp","โˆ”":"plusdo","โ„":"frasl","โˆ–":"setmn","โˆ—":"lowast","โˆ˜":"compfn","โˆš":"Sqrt","โˆ":"prop","โˆž":"infin","โˆŸ":"angrt","โˆ ":"ang","โˆ โƒ’":"nang","โˆก":"angmsd","โˆข":"angsph","โˆฃ":"mid","โˆค":"nmid","โˆฅ":"par","โˆฆ":"npar","โˆง":"and","โˆจ":"or","โˆฉ":"cap","โˆฉ๏ธ€":"caps","โˆช":"cup","โˆช๏ธ€":"cups","โˆซ":"int","โˆฌ":"Int","โˆญ":"tint","โจŒ":"qint","โˆฎ":"oint","โˆฏ":"Conint","โˆฐ":"Cconint","โˆฑ":"cwint","โˆฒ":"cwconint","โˆณ":"awconint","โˆด":"there4","โˆต":"becaus","โˆถ":"ratio","โˆท":"Colon","โˆธ":"minusd","โˆบ":"mDDot","โˆป":"homtht","โˆผ":"sim","โ‰":"nsim","โˆผโƒ’":"nvsim","โˆฝ":"bsim","โˆฝฬฑ":"race","โˆพ":"ac","โˆพฬณ":"acE","โˆฟ":"acd","โ‰€":"wr","โ‰‚":"esim","โ‰‚ฬธ":"nesim","โ‰ƒ":"sime","โ‰„":"nsime","โ‰…":"cong","โ‰‡":"ncong","โ‰†":"simne","โ‰ˆ":"ap","โ‰‰":"nap","โ‰Š":"ape","โ‰‹":"apid","โ‰‹ฬธ":"napid","โ‰Œ":"bcong","โ‰":"CupCap","โ‰ญ":"NotCupCap","โ‰โƒ’":"nvap","โ‰Ž":"bump","โ‰Žฬธ":"nbump","โ‰":"bumpe","โ‰ฬธ":"nbumpe","โ‰":"doteq","โ‰ฬธ":"nedot","โ‰‘":"eDot","โ‰’":"efDot","โ‰“":"erDot","โ‰”":"colone","โ‰•":"ecolon","โ‰–":"ecir","โ‰—":"cire","โ‰™":"wedgeq","โ‰š":"veeeq","โ‰œ":"trie","โ‰Ÿ":"equest","โ‰ก":"equiv","โ‰ข":"nequiv","โ‰กโƒฅ":"bnequiv","โ‰ค":"le","โ‰ฐ":"nle","โ‰คโƒ’":"nvle","โ‰ฅ":"ge","โ‰ฑ":"nge","โ‰ฅโƒ’":"nvge","โ‰ฆ":"lE","โ‰ฆฬธ":"nlE","โ‰ง":"gE","โ‰งฬธ":"ngE","โ‰จ๏ธ€":"lvnE","โ‰จ":"lnE","โ‰ฉ":"gnE","โ‰ฉ๏ธ€":"gvnE","โ‰ช":"ll","โ‰ชฬธ":"nLtv","โ‰ชโƒ’":"nLt","โ‰ซ":"gg","โ‰ซฬธ":"nGtv","โ‰ซโƒ’":"nGt","โ‰ฌ":"twixt","โ‰ฒ":"lsim","โ‰ด":"nlsim","โ‰ณ":"gsim","โ‰ต":"ngsim","โ‰ถ":"lg","โ‰ธ":"ntlg","โ‰ท":"gl","โ‰น":"ntgl","โ‰บ":"pr","โŠ€":"npr","โ‰ป":"sc","โЁ":"nsc","โ‰ผ":"prcue","โ‹ ":"nprcue","โ‰ฝ":"sccue","โ‹ก":"nsccue","โ‰พ":"prsim","โ‰ฟ":"scsim","โ‰ฟฬธ":"NotSucceedsTilde","โŠ‚":"sub","โŠ„":"nsub","โŠ‚โƒ’":"vnsub","โŠƒ":"sup","โŠ…":"nsup","โŠƒโƒ’":"vnsup","โІ":"sube","โŠˆ":"nsube","โЇ":"supe","โЉ":"nsupe","โŠŠ๏ธ€":"vsubne","โŠŠ":"subne","โŠ‹๏ธ€":"vsupne","โŠ‹":"supne","โŠ":"cupdot","โŠŽ":"uplus","โŠ":"sqsub","โŠฬธ":"NotSquareSubset","โА":"sqsup","โАฬธ":"NotSquareSuperset","โŠ‘":"sqsube","โ‹ข":"nsqsube","โŠ’":"sqsupe","โ‹ฃ":"nsqsupe","โŠ“":"sqcap","โŠ“๏ธ€":"sqcaps","โŠ”":"sqcup","โŠ”๏ธ€":"sqcups","โŠ•":"oplus","โŠ–":"ominus","โŠ—":"otimes","โŠ˜":"osol","โŠ™":"odot","โŠš":"ocir","โŠ›":"oast","โŠ":"odash","โŠž":"plusb","โŠŸ":"minusb","โŠ ":"timesb","โŠก":"sdotb","โŠข":"vdash","โŠฌ":"nvdash","โŠฃ":"dashv","โŠค":"top","โŠฅ":"bot","โŠง":"models","โŠจ":"vDash","โŠญ":"nvDash","โŠฉ":"Vdash","โŠฎ":"nVdash","โŠช":"Vvdash","โŠซ":"VDash","โŠฏ":"nVDash","โŠฐ":"prurel","โŠฒ":"vltri","โ‹ช":"nltri","โŠณ":"vrtri","โ‹ซ":"nrtri","โŠด":"ltrie","โ‹ฌ":"nltrie","โŠดโƒ’":"nvltrie","โŠต":"rtrie","โ‹ญ":"nrtrie","โŠตโƒ’":"nvrtrie","โŠถ":"origof","โŠท":"imof","โŠธ":"mumap","โŠน":"hercon","โŠบ":"intcal","โŠป":"veebar","โŠฝ":"barvee","โŠพ":"angrtvb","โŠฟ":"lrtri","โ‹€":"Wedge","โ‹":"Vee","โ‹‚":"xcap","โ‹ƒ":"xcup","โ‹„":"diam","โ‹…":"sdot","โ‹†":"Star","โ‹‡":"divonx","โ‹ˆ":"bowtie","โ‹‰":"ltimes","โ‹Š":"rtimes","โ‹‹":"lthree","โ‹Œ":"rthree","โ‹":"bsime","โ‹Ž":"cuvee","โ‹":"cuwed","โ‹":"Sub","โ‹‘":"Sup","โ‹’":"Cap","โ‹“":"Cup","โ‹”":"fork","โ‹•":"epar","โ‹–":"ltdot","โ‹—":"gtdot","โ‹˜":"Ll","โ‹˜ฬธ":"nLl","โ‹™":"Gg","โ‹™ฬธ":"nGg","โ‹š๏ธ€":"lesg","โ‹š":"leg","โ‹›":"gel","โ‹›๏ธ€":"gesl","โ‹ž":"cuepr","โ‹Ÿ":"cuesc","โ‹ฆ":"lnsim","โ‹ง":"gnsim","โ‹จ":"prnsim","โ‹ฉ":"scnsim","โ‹ฎ":"vellip","โ‹ฏ":"ctdot","โ‹ฐ":"utdot","โ‹ฑ":"dtdot","โ‹ฒ":"disin","โ‹ณ":"isinsv","โ‹ด":"isins","โ‹ต":"isindot","โ‹ตฬธ":"notindot","โ‹ถ":"notinvc","โ‹ท":"notinvb","โ‹น":"isinE","โ‹นฬธ":"notinE","โ‹บ":"nisd","โ‹ป":"xnis","โ‹ผ":"nis","โ‹ฝ":"notnivc","โ‹พ":"notnivb","โŒ…":"barwed","โŒ†":"Barwed","โŒŒ":"drcrop","โŒ":"dlcrop","โŒŽ":"urcrop","โŒ":"ulcrop","โŒ":"bnot","โŒ’":"profline","โŒ“":"profsurf","โŒ•":"telrec","โŒ–":"target","โŒœ":"ulcorn","โŒ":"urcorn","โŒž":"dlcorn","โŒŸ":"drcorn","โŒข":"frown","โŒฃ":"smile","โŒญ":"cylcty","โŒฎ":"profalar","โŒถ":"topbot","โŒฝ":"ovbar","โŒฟ":"solbar","โผ":"angzarr","โŽฐ":"lmoust","โŽฑ":"rmoust","โŽด":"tbrk","โŽต":"bbrk","โŽถ":"bbrktbrk","โœ":"OverParenthesis","โ":"UnderParenthesis","โž":"OverBrace","โŸ":"UnderBrace","โข":"trpezium","โง":"elinters","โฃ":"blank","โ”€":"boxh","โ”‚":"boxv","โ”Œ":"boxdr","โ”":"boxdl","โ””":"boxur","โ”˜":"boxul","โ”œ":"boxvr","โ”ค":"boxvl","โ”ฌ":"boxhd","โ”ด":"boxhu","โ”ผ":"boxvh","โ•":"boxH","โ•‘":"boxV","โ•’":"boxdR","โ•“":"boxDr","โ•”":"boxDR","โ••":"boxdL","โ•–":"boxDl","โ•—":"boxDL","โ•˜":"boxuR","โ•™":"boxUr","โ•š":"boxUR","โ•›":"boxuL","โ•œ":"boxUl","โ•":"boxUL","โ•ž":"boxvR","โ•Ÿ":"boxVr","โ• ":"boxVR","โ•ก":"boxvL","โ•ข":"boxVl","โ•ฃ":"boxVL","โ•ค":"boxHd","โ•ฅ":"boxhD","โ•ฆ":"boxHD","โ•ง":"boxHu","โ•จ":"boxhU","โ•ฉ":"boxHU","โ•ช":"boxvH","โ•ซ":"boxVh","โ•ฌ":"boxVH","โ–€":"uhblk","โ–„":"lhblk","โ–ˆ":"block","โ–‘":"blk14","โ–’":"blk12","โ–“":"blk34","โ–ก":"squ","โ–ช":"squf","โ–ซ":"EmptyVerySmallSquare","โ–ญ":"rect","โ–ฎ":"marker","โ–ฑ":"fltns","โ–ณ":"xutri","โ–ด":"utrif","โ–ต":"utri","โ–ธ":"rtrif","โ–น":"rtri","โ–ฝ":"xdtri","โ–พ":"dtrif","โ–ฟ":"dtri","โ—‚":"ltrif","โ—ƒ":"ltri","โ—Š":"loz","โ—‹":"cir","โ—ฌ":"tridot","โ—ฏ":"xcirc","โ—ธ":"ultri","โ—น":"urtri","โ—บ":"lltri","โ—ป":"EmptySmallSquare","โ—ผ":"FilledSmallSquare","โ˜…":"starf","โ˜†":"star","โ˜Ž":"phone","โ™€":"female","โ™‚":"male","โ™ ":"spades","โ™ฃ":"clubs","โ™ฅ":"hearts","โ™ฆ":"diams","โ™ช":"sung","โœ“":"check","โœ—":"cross","โœ ":"malt","โœถ":"sext","โ˜":"VerticalSeparator","โŸˆ":"bsolhsub","โŸ‰":"suphsol","โŸต":"xlarr","โŸถ":"xrarr","โŸท":"xharr","โŸธ":"xlArr","โŸน":"xrArr","โŸบ":"xhArr","โŸผ":"xmap","โŸฟ":"dzigrarr","โค‚":"nvlArr","โคƒ":"nvrArr","โค„":"nvHarr","โค…":"Map","โคŒ":"lbarr","โค":"rbarr","โคŽ":"lBarr","โค":"rBarr","โค":"RBarr","โค‘":"DDotrahd","โค’":"UpArrowBar","โค“":"DownArrowBar","โค–":"Rarrtl","โค™":"latail","โคš":"ratail","โค›":"lAtail","โคœ":"rAtail","โค":"larrfs","โคž":"rarrfs","โคŸ":"larrbfs","โค ":"rarrbfs","โคฃ":"nwarhk","โคค":"nearhk","โคฅ":"searhk","โคฆ":"swarhk","โคง":"nwnear","โคจ":"toea","โคฉ":"tosa","โคช":"swnwar","โคณ":"rarrc","โคณฬธ":"nrarrc","โคต":"cudarrr","โคถ":"ldca","โคท":"rdca","โคธ":"cudarrl","โคน":"larrpl","โคผ":"curarrm","โคฝ":"cularrp","โฅ…":"rarrpl","โฅˆ":"harrcir","โฅ‰":"Uarrocir","โฅŠ":"lurdshar","โฅ‹":"ldrushar","โฅŽ":"LeftRightVector","โฅ":"RightUpDownVector","โฅ":"DownLeftRightVector","โฅ‘":"LeftUpDownVector","โฅ’":"LeftVectorBar","โฅ“":"RightVectorBar","โฅ”":"RightUpVectorBar","โฅ•":"RightDownVectorBar","โฅ–":"DownLeftVectorBar","โฅ—":"DownRightVectorBar","โฅ˜":"LeftUpVectorBar","โฅ™":"LeftDownVectorBar","โฅš":"LeftTeeVector","โฅ›":"RightTeeVector","โฅœ":"RightUpTeeVector","โฅ":"RightDownTeeVector","โฅž":"DownLeftTeeVector","โฅŸ":"DownRightTeeVector","โฅ ":"LeftUpTeeVector","โฅก":"LeftDownTeeVector","โฅข":"lHar","โฅฃ":"uHar","โฅค":"rHar","โฅฅ":"dHar","โฅฆ":"luruhar","โฅง":"ldrdhar","โฅจ":"ruluhar","โฅฉ":"rdldhar","โฅช":"lharul","โฅซ":"llhard","โฅฌ":"rharul","โฅญ":"lrhard","โฅฎ":"udhar","โฅฏ":"duhar","โฅฐ":"RoundImplies","โฅฑ":"erarr","โฅฒ":"simrarr","โฅณ":"larrsim","โฅด":"rarrsim","โฅต":"rarrap","โฅถ":"ltlarr","โฅธ":"gtrarr","โฅน":"subrarr","โฅป":"suplarr","โฅผ":"lfisht","โฅฝ":"rfisht","โฅพ":"ufisht","โฅฟ":"dfisht","โฆš":"vzigzag","โฆœ":"vangrt","โฆ":"angrtvbd","โฆค":"ange","โฆฅ":"range","โฆฆ":"dwangle","โฆง":"uwangle","โฆจ":"angmsdaa","โฆฉ":"angmsdab","โฆช":"angmsdac","โฆซ":"angmsdad","โฆฌ":"angmsdae","โฆญ":"angmsdaf","โฆฎ":"angmsdag","โฆฏ":"angmsdah","โฆฐ":"bemptyv","โฆฑ":"demptyv","โฆฒ":"cemptyv","โฆณ":"raemptyv","โฆด":"laemptyv","โฆต":"ohbar","โฆถ":"omid","โฆท":"opar","โฆน":"operp","โฆป":"olcross","โฆผ":"odsold","โฆพ":"olcir","โฆฟ":"ofcir","โง€":"olt","โง":"ogt","โง‚":"cirscir","โงƒ":"cirE","โง„":"solb","โง…":"bsolb","โง‰":"boxbox","โง":"trisb","โงŽ":"rtriltri","โง":"LeftTriangleBar","โงฬธ":"NotLeftTriangleBar","โง":"RightTriangleBar","โงฬธ":"NotRightTriangleBar","โงœ":"iinfin","โง":"infintie","โงž":"nvinfin","โงฃ":"eparsl","โงค":"smeparsl","โงฅ":"eqvparsl","โงซ":"lozf","โงด":"RuleDelayed","โงถ":"dsol","โจ€":"xodot","โจ":"xoplus","โจ‚":"xotime","โจ„":"xuplus","โจ†":"xsqcup","โจ":"fpartint","โจ":"cirfnint","โจ‘":"awint","โจ’":"rppolint","โจ“":"scpolint","โจ”":"npolint","โจ•":"pointint","โจ–":"quatint","โจ—":"intlarhk","โจข":"pluscir","โจฃ":"plusacir","โจค":"simplus","โจฅ":"plusdu","โจฆ":"plussim","โจง":"plustwo","โจฉ":"mcomma","โจช":"minusdu","โจญ":"loplus","โจฎ":"roplus","โจฏ":"Cross","โจฐ":"timesd","โจฑ":"timesbar","โจณ":"smashp","โจด":"lotimes","โจต":"rotimes","โจถ":"otimesas","โจท":"Otimes","โจธ":"odiv","โจน":"triplus","โจบ":"triminus","โจป":"tritime","โจผ":"iprod","โจฟ":"amalg","โฉ€":"capdot","โฉ‚":"ncup","โฉƒ":"ncap","โฉ„":"capand","โฉ…":"cupor","โฉ†":"cupcap","โฉ‡":"capcup","โฉˆ":"cupbrcap","โฉ‰":"capbrcup","โฉŠ":"cupcup","โฉ‹":"capcap","โฉŒ":"ccups","โฉ":"ccaps","โฉ":"ccupssm","โฉ“":"And","โฉ”":"Or","โฉ•":"andand","โฉ–":"oror","โฉ—":"orslope","โฉ˜":"andslope","โฉš":"andv","โฉ›":"orv","โฉœ":"andd","โฉ":"ord","โฉŸ":"wedbar","โฉฆ":"sdote","โฉช":"simdot","โฉญ":"congdot","โฉญฬธ":"ncongdot","โฉฎ":"easter","โฉฏ":"apacir","โฉฐ":"apE","โฉฐฬธ":"napE","โฉฑ":"eplus","โฉฒ":"pluse","โฉณ":"Esim","โฉท":"eDDot","โฉธ":"equivDD","โฉน":"ltcir","โฉบ":"gtcir","โฉป":"ltquest","โฉผ":"gtquest","โฉฝ":"les","โฉฝฬธ":"nles","โฉพ":"ges","โฉพฬธ":"nges","โฉฟ":"lesdot","โช€":"gesdot","โช":"lesdoto","โช‚":"gesdoto","โชƒ":"lesdotor","โช„":"gesdotol","โช…":"lap","โช†":"gap","โช‡":"lne","โชˆ":"gne","โช‰":"lnap","โชŠ":"gnap","โช‹":"lEg","โชŒ":"gEl","โช":"lsime","โชŽ":"gsime","โช":"lsimg","โช":"gsiml","โช‘":"lgE","โช’":"glE","โช“":"lesges","โช”":"gesles","โช•":"els","โช–":"egs","โช—":"elsdot","โช˜":"egsdot","โช™":"el","โชš":"eg","โช":"siml","โชž":"simg","โชŸ":"simlE","โช ":"simgE","โชก":"LessLess","โชกฬธ":"NotNestedLessLess","โชข":"GreaterGreater","โชขฬธ":"NotNestedGreaterGreater","โชค":"glj","โชฅ":"gla","โชฆ":"ltcc","โชง":"gtcc","โชจ":"lescc","โชฉ":"gescc","โชช":"smt","โชซ":"lat","โชฌ":"smte","โชฌ๏ธ€":"smtes","โชญ":"late","โชญ๏ธ€":"lates","โชฎ":"bumpE","โชฏ":"pre","โชฏฬธ":"npre","โชฐ":"sce","โชฐฬธ":"nsce","โชณ":"prE","โชด":"scE","โชต":"prnE","โชถ":"scnE","โชท":"prap","โชธ":"scap","โชน":"prnap","โชบ":"scnap","โชป":"Pr","โชผ":"Sc","โชฝ":"subdot","โชพ":"supdot","โชฟ":"subplus","โซ€":"supplus","โซ":"submult","โซ‚":"supmult","โซƒ":"subedot","โซ„":"supedot","โซ…":"subE","โซ…ฬธ":"nsubE","โซ†":"supE","โซ†ฬธ":"nsupE","โซ‡":"subsim","โซˆ":"supsim","โซ‹๏ธ€":"vsubnE","โซ‹":"subnE","โซŒ๏ธ€":"vsupnE","โซŒ":"supnE","โซ":"csub","โซ":"csup","โซ‘":"csube","โซ’":"csupe","โซ“":"subsup","โซ”":"supsub","โซ•":"subsub","โซ–":"supsup","โซ—":"suphsub","โซ˜":"supdsub","โซ™":"forkv","โซš":"topfork","โซ›":"mlcp","โซค":"Dashv","โซฆ":"Vdashl","โซง":"Barv","โซจ":"vBar","โซฉ":"vBarv","โซซ":"Vbar","โซฌ":"Not","โซญ":"bNot","โซฎ":"rnmid","โซฏ":"cirmid","โซฐ":"midcir","โซฑ":"topcir","โซฒ":"nhpar","โซณ":"parsim","โซฝ":"parsl","โซฝโƒฅ":"nparsl","โ™ญ":"flat","โ™ฎ":"natur","โ™ฏ":"sharp","ยค":"curren","ยข":"cent",$:"dollar","ยฃ":"pound","ยฅ":"yen","โ‚ฌ":"euro","ยน":"sup1","ยฝ":"half","โ…“":"frac13","ยผ":"frac14","โ…•":"frac15","โ…™":"frac16","โ…›":"frac18","ยฒ":"sup2","โ…”":"frac23","โ…–":"frac25","ยณ":"sup3","ยพ":"frac34","โ…—":"frac35","โ…œ":"frac38","โ…˜":"frac45","โ…š":"frac56","โ…":"frac58","โ…ž":"frac78","๐’ถ":"ascr","๐•’":"aopf","๐”ž":"afr","๐”ธ":"Aopf","๐”„":"Afr","๐’œ":"Ascr","ยช":"ordf","รก":"aacute","ร":"Aacute","ร ":"agrave","ร€":"Agrave","ฤƒ":"abreve","ฤ‚":"Abreve","รข":"acirc","ร‚":"Acirc","รฅ":"aring","ร…":"angst","รค":"auml","ร„":"Auml","รฃ":"atilde","รƒ":"Atilde","ฤ…":"aogon","ฤ„":"Aogon","ฤ":"amacr","ฤ€":"Amacr","รฆ":"aelig","ร†":"AElig","๐’ท":"bscr","๐•“":"bopf","๐”Ÿ":"bfr","๐”น":"Bopf","โ„ฌ":"Bscr","๐”…":"Bfr","๐” ":"cfr","๐’ธ":"cscr","๐•”":"copf","โ„ญ":"Cfr","๐’ž":"Cscr","โ„‚":"Copf","ฤ‡":"cacute","ฤ†":"Cacute","ฤ‰":"ccirc","ฤˆ":"Ccirc","ฤ":"ccaron","ฤŒ":"Ccaron","ฤ‹":"cdot","ฤŠ":"Cdot","รง":"ccedil","ร‡":"Ccedil","โ„…":"incare","๐”ก":"dfr","โ…†":"dd","๐••":"dopf","๐’น":"dscr","๐’Ÿ":"Dscr","๐”‡":"Dfr","โ……":"DD","๐”ป":"Dopf","ฤ":"dcaron","ฤŽ":"Dcaron","ฤ‘":"dstrok","ฤ":"Dstrok","รฐ":"eth","ร":"ETH","โ…‡":"ee","โ„ฏ":"escr","๐”ข":"efr","๐•–":"eopf","โ„ฐ":"Escr","๐”ˆ":"Efr","๐”ผ":"Eopf","รฉ":"eacute","ร‰":"Eacute","รจ":"egrave","รˆ":"Egrave","รช":"ecirc","รŠ":"Ecirc","ฤ›":"ecaron","ฤš":"Ecaron","รซ":"euml","ร‹":"Euml","ฤ—":"edot","ฤ–":"Edot","ฤ™":"eogon","ฤ˜":"Eogon","ฤ“":"emacr","ฤ’":"Emacr","๐”ฃ":"ffr","๐•—":"fopf","๐’ป":"fscr","๐”‰":"Ffr","๐”ฝ":"Fopf","โ„ฑ":"Fscr","๏ฌ€":"fflig","๏ฌƒ":"ffilig","๏ฌ„":"ffllig","๏ฌ":"filig",fj:"fjlig","๏ฌ‚":"fllig","ฦ’":"fnof","โ„Š":"gscr","๐•˜":"gopf","๐”ค":"gfr","๐’ข":"Gscr","๐”พ":"Gopf","๐”Š":"Gfr","วต":"gacute","ฤŸ":"gbreve","ฤž":"Gbreve","ฤ":"gcirc","ฤœ":"Gcirc","ฤก":"gdot","ฤ ":"Gdot","ฤข":"Gcedil","๐”ฅ":"hfr","โ„Ž":"planckh","๐’ฝ":"hscr","๐•™":"hopf","โ„‹":"Hscr","โ„Œ":"Hfr","โ„":"Hopf","ฤฅ":"hcirc","ฤค":"Hcirc","โ„":"hbar","ฤง":"hstrok","ฤฆ":"Hstrok","๐•š":"iopf","๐”ฆ":"ifr","๐’พ":"iscr","โ…ˆ":"ii","๐•€":"Iopf","โ„":"Iscr","โ„‘":"Im","รญ":"iacute","ร":"Iacute","รฌ":"igrave","รŒ":"Igrave","รฎ":"icirc","รŽ":"Icirc","รฏ":"iuml","ร":"Iuml","ฤฉ":"itilde","ฤจ":"Itilde","ฤฐ":"Idot","ฤฏ":"iogon","ฤฎ":"Iogon","ฤซ":"imacr","ฤช":"Imacr","ฤณ":"ijlig","ฤฒ":"IJlig","ฤฑ":"imath","๐’ฟ":"jscr","๐•›":"jopf","๐”ง":"jfr","๐’ฅ":"Jscr","๐”":"Jfr","๐•":"Jopf","ฤต":"jcirc","ฤด":"Jcirc","ศท":"jmath","๐•œ":"kopf","๐“€":"kscr","๐”จ":"kfr","๐’ฆ":"Kscr","๐•‚":"Kopf","๐”Ž":"Kfr","ฤท":"kcedil","ฤถ":"Kcedil","๐”ฉ":"lfr","๐“":"lscr","โ„“":"ell","๐•":"lopf","โ„’":"Lscr","๐”":"Lfr","๐•ƒ":"Lopf","ฤบ":"lacute","ฤน":"Lacute","ฤพ":"lcaron","ฤฝ":"Lcaron","ฤผ":"lcedil","ฤป":"Lcedil","ล‚":"lstrok","ล":"Lstrok","ล€":"lmidot","ฤฟ":"Lmidot","๐”ช":"mfr","๐•ž":"mopf","๐“‚":"mscr","๐”":"Mfr","๐•„":"Mopf","โ„ณ":"Mscr","๐”ซ":"nfr","๐•Ÿ":"nopf","๐“ƒ":"nscr","โ„•":"Nopf","๐’ฉ":"Nscr","๐”‘":"Nfr","ล„":"nacute","ลƒ":"Nacute","ลˆ":"ncaron","ล‡":"Ncaron","รฑ":"ntilde","ร‘":"Ntilde","ล†":"ncedil","ล…":"Ncedil","โ„–":"numero","ล‹":"eng","ลŠ":"ENG","๐• ":"oopf","๐”ฌ":"ofr","โ„ด":"oscr","๐’ช":"Oscr","๐”’":"Ofr","๐•†":"Oopf","ยบ":"ordm","รณ":"oacute","ร“":"Oacute","รฒ":"ograve","ร’":"Ograve","รด":"ocirc","ร”":"Ocirc","รถ":"ouml","ร–":"Ouml","ล‘":"odblac","ล":"Odblac","รต":"otilde","ร•":"Otilde","รธ":"oslash","ร˜":"Oslash","ล":"omacr","ลŒ":"Omacr","ล“":"oelig","ล’":"OElig","๐”ญ":"pfr","๐“…":"pscr","๐•ก":"popf","โ„™":"Popf","๐”“":"Pfr","๐’ซ":"Pscr","๐•ข":"qopf","๐”ฎ":"qfr","๐“†":"qscr","๐’ฌ":"Qscr","๐””":"Qfr","โ„š":"Qopf","ฤธ":"kgreen","๐”ฏ":"rfr","๐•ฃ":"ropf","๐“‡":"rscr","โ„›":"Rscr","โ„œ":"Re","โ„":"Ropf","ล•":"racute","ล”":"Racute","ล™":"rcaron","ล˜":"Rcaron","ล—":"rcedil","ล–":"Rcedil","๐•ค":"sopf","๐“ˆ":"sscr","๐”ฐ":"sfr","๐•Š":"Sopf","๐”–":"Sfr","๐’ฎ":"Sscr","โ“ˆ":"oS","ล›":"sacute","ลš":"Sacute","ล":"scirc","ลœ":"Scirc","ลก":"scaron","ล ":"Scaron","ลŸ":"scedil","ลž":"Scedil","รŸ":"szlig","๐”ฑ":"tfr","๐“‰":"tscr","๐•ฅ":"topf","๐’ฏ":"Tscr","๐”—":"Tfr","๐•‹":"Topf","ลฅ":"tcaron","ลค":"Tcaron","ลฃ":"tcedil","ลข":"Tcedil","โ„ข":"trade","ลง":"tstrok","ลฆ":"Tstrok","๐“Š":"uscr","๐•ฆ":"uopf","๐”ฒ":"ufr","๐•Œ":"Uopf","๐”˜":"Ufr","๐’ฐ":"Uscr","รบ":"uacute","รš":"Uacute","รน":"ugrave","ร™":"Ugrave","ลญ":"ubreve","ลฌ":"Ubreve","รป":"ucirc","ร›":"Ucirc","ลฏ":"uring","ลฎ":"Uring","รผ":"uuml","รœ":"Uuml","ลฑ":"udblac","ลฐ":"Udblac","ลฉ":"utilde","ลจ":"Utilde","ลณ":"uogon","ลฒ":"Uogon","ลซ":"umacr","ลช":"Umacr","๐”ณ":"vfr","๐•ง":"vopf","๐“‹":"vscr","๐”™":"Vfr","๐•":"Vopf","๐’ฑ":"Vscr","๐•จ":"wopf","๐“Œ":"wscr","๐”ด":"wfr","๐’ฒ":"Wscr","๐•Ž":"Wopf","๐”š":"Wfr","ลต":"wcirc","ลด":"Wcirc","๐”ต":"xfr","๐“":"xscr","๐•ฉ":"xopf","๐•":"Xopf","๐”›":"Xfr","๐’ณ":"Xscr","๐”ถ":"yfr","๐“Ž":"yscr","๐•ช":"yopf","๐’ด":"Yscr","๐”œ":"Yfr","๐•":"Yopf","รฝ":"yacute","ร":"Yacute","ลท":"ycirc","ลถ":"Ycirc","รฟ":"yuml","ลธ":"Yuml","๐“":"zscr","๐”ท":"zfr","๐•ซ":"zopf","โ„จ":"Zfr","โ„ค":"Zopf","๐’ต":"Zscr","ลบ":"zacute","ลน":"Zacute","ลพ":"zcaron","ลฝ":"Zcaron","ลผ":"zdot","ลป":"Zdot","ฦต":"imped","รพ":"thorn","รž":"THORN","ล‰":"napos","ฮฑ":"alpha","ฮ‘":"Alpha","ฮฒ":"beta","ฮ’":"Beta","ฮณ":"gamma","ฮ“":"Gamma","ฮด":"delta","ฮ”":"Delta","ฮต":"epsi","ฯต":"epsiv","ฮ•":"Epsilon","ฯ":"gammad","ฯœ":"Gammad","ฮถ":"zeta","ฮ–":"Zeta","ฮท":"eta","ฮ—":"Eta","ฮธ":"theta","ฯ‘":"thetav","ฮ˜":"Theta","ฮน":"iota","ฮ™":"Iota","ฮบ":"kappa","ฯฐ":"kappav","ฮš":"Kappa","ฮป":"lambda","ฮ›":"Lambda","ฮผ":"mu","ยต":"micro","ฮœ":"Mu","ฮฝ":"nu","ฮ":"Nu","ฮพ":"xi","ฮž":"Xi","ฮฟ":"omicron","ฮŸ":"Omicron","ฯ€":"pi","ฯ–":"piv","ฮ ":"Pi","ฯ":"rho","ฯฑ":"rhov","ฮก":"Rho","ฯƒ":"sigma","ฮฃ":"Sigma","ฯ‚":"sigmaf","ฯ„":"tau","ฮค":"Tau","ฯ…":"upsi","ฮฅ":"Upsilon","ฯ’":"Upsi","ฯ†":"phi","ฯ•":"phiv","ฮฆ":"Phi","ฯ‡":"chi","ฮง":"Chi","ฯˆ":"psi","ฮจ":"Psi","ฯ‰":"omega","ฮฉ":"ohm","ะฐ":"acy","ะ":"Acy","ะฑ":"bcy","ะ‘":"Bcy","ะฒ":"vcy","ะ’":"Vcy","ะณ":"gcy","ะ“":"Gcy","ั“":"gjcy","ะƒ":"GJcy","ะด":"dcy","ะ”":"Dcy","ั’":"djcy","ะ‚":"DJcy","ะต":"iecy","ะ•":"IEcy","ั‘":"iocy","ะ":"IOcy","ั”":"jukcy","ะ„":"Jukcy","ะถ":"zhcy","ะ–":"ZHcy","ะท":"zcy","ะ—":"Zcy","ั•":"dscy","ะ…":"DScy","ะธ":"icy","ะ˜":"Icy","ั–":"iukcy","ะ†":"Iukcy","ั—":"yicy","ะ‡":"YIcy","ะน":"jcy","ะ™":"Jcy","ั˜":"jsercy","ะˆ":"Jsercy","ะบ":"kcy","ะš":"Kcy","ัœ":"kjcy","ะŒ":"KJcy","ะป":"lcy","ะ›":"Lcy","ั™":"ljcy","ะ‰":"LJcy","ะผ":"mcy","ะœ":"Mcy","ะฝ":"ncy","ะ":"Ncy","ัš":"njcy","ะŠ":"NJcy","ะพ":"ocy","ะž":"Ocy","ะฟ":"pcy","ะŸ":"Pcy","ั€":"rcy","ะ ":"Rcy","ั":"scy","ะก":"Scy","ั‚":"tcy","ะข":"Tcy","ั›":"tshcy","ะ‹":"TSHcy","ัƒ":"ucy","ะฃ":"Ucy","ัž":"ubrcy","ะŽ":"Ubrcy","ั„":"fcy","ะค":"Fcy","ั…":"khcy","ะฅ":"KHcy","ั†":"tscy","ะฆ":"TScy","ั‡":"chcy","ะง":"CHcy","ัŸ":"dzcy","ะ":"DZcy","ัˆ":"shcy","ะจ":"SHcy","ั‰":"shchcy","ะฉ":"SHCHcy","ัŠ":"hardcy","ะช":"HARDcy","ั‹":"ycy","ะซ":"Ycy","ัŒ":"softcy","ะฌ":"SOFTcy","ั":"ecy","ะญ":"Ecy","ัŽ":"yucy","ะฎ":"YUcy","ั":"yacy","ะฏ":"YAcy","โ„ต":"aleph","โ„ถ":"beth","โ„ท":"gimel","โ„ธ":"daleth"},d=/["&'<>`]/g,h={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},f=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,p=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"รก",Aacute:"ร",abreve:"ฤƒ",Abreve:"ฤ‚",ac:"โˆพ",acd:"โˆฟ",acE:"โˆพฬณ",acirc:"รข",Acirc:"ร‚",acute:"ยด",acy:"ะฐ",Acy:"ะ",aelig:"รฆ",AElig:"ร†",af:"โก",afr:"๐”ž",Afr:"๐”„",agrave:"ร ",Agrave:"ร€",alefsym:"โ„ต",aleph:"โ„ต",alpha:"ฮฑ",Alpha:"ฮ‘",amacr:"ฤ",Amacr:"ฤ€",amalg:"โจฟ",amp:"&",AMP:"&",and:"โˆง",And:"โฉ“",andand:"โฉ•",andd:"โฉœ",andslope:"โฉ˜",andv:"โฉš",ang:"โˆ ",ange:"โฆค",angle:"โˆ ",angmsd:"โˆก",angmsdaa:"โฆจ",angmsdab:"โฆฉ",angmsdac:"โฆช",angmsdad:"โฆซ",angmsdae:"โฆฌ",angmsdaf:"โฆญ",angmsdag:"โฆฎ",angmsdah:"โฆฏ",angrt:"โˆŸ",angrtvb:"โŠพ",angrtvbd:"โฆ",angsph:"โˆข",angst:"ร…",angzarr:"โผ",aogon:"ฤ…",Aogon:"ฤ„",aopf:"๐•’",Aopf:"๐”ธ",ap:"โ‰ˆ",apacir:"โฉฏ",ape:"โ‰Š",apE:"โฉฐ",apid:"โ‰‹",apos:"'",ApplyFunction:"โก",approx:"โ‰ˆ",approxeq:"โ‰Š",aring:"รฅ",Aring:"ร…",ascr:"๐’ถ",Ascr:"๐’œ",Assign:"โ‰”",ast:"*",asymp:"โ‰ˆ",asympeq:"โ‰",atilde:"รฃ",Atilde:"รƒ",auml:"รค",Auml:"ร„",awconint:"โˆณ",awint:"โจ‘",backcong:"โ‰Œ",backepsilon:"ฯถ",backprime:"โ€ต",backsim:"โˆฝ",backsimeq:"โ‹",Backslash:"โˆ–",Barv:"โซง",barvee:"โŠฝ",barwed:"โŒ…",Barwed:"โŒ†",barwedge:"โŒ…",bbrk:"โŽต",bbrktbrk:"โŽถ",bcong:"โ‰Œ",bcy:"ะฑ",Bcy:"ะ‘",bdquo:"โ€ž",becaus:"โˆต",because:"โˆต",Because:"โˆต",bemptyv:"โฆฐ",bepsi:"ฯถ",bernou:"โ„ฌ",Bernoullis:"โ„ฌ",beta:"ฮฒ",Beta:"ฮ’",beth:"โ„ถ",between:"โ‰ฌ",bfr:"๐”Ÿ",Bfr:"๐”…",bigcap:"โ‹‚",bigcirc:"โ—ฏ",bigcup:"โ‹ƒ",bigodot:"โจ€",bigoplus:"โจ",bigotimes:"โจ‚",bigsqcup:"โจ†",bigstar:"โ˜…",bigtriangledown:"โ–ฝ",bigtriangleup:"โ–ณ",biguplus:"โจ„",bigvee:"โ‹",bigwedge:"โ‹€",bkarow:"โค",blacklozenge:"โงซ",blacksquare:"โ–ช",blacktriangle:"โ–ด",blacktriangledown:"โ–พ",blacktriangleleft:"โ—‚",blacktriangleright:"โ–ธ",blank:"โฃ",blk12:"โ–’",blk14:"โ–‘",blk34:"โ–“",block:"โ–ˆ",bne:"=โƒฅ",bnequiv:"โ‰กโƒฅ",bnot:"โŒ",bNot:"โซญ",bopf:"๐•“",Bopf:"๐”น",bot:"โŠฅ",bottom:"โŠฅ",bowtie:"โ‹ˆ",boxbox:"โง‰",boxdl:"โ”",boxdL:"โ••",boxDl:"โ•–",boxDL:"โ•—",boxdr:"โ”Œ",boxdR:"โ•’",boxDr:"โ•“",boxDR:"โ•”",boxh:"โ”€",boxH:"โ•",boxhd:"โ”ฌ",boxhD:"โ•ฅ",boxHd:"โ•ค",boxHD:"โ•ฆ",boxhu:"โ”ด",boxhU:"โ•จ",boxHu:"โ•ง",boxHU:"โ•ฉ",boxminus:"โŠŸ",boxplus:"โŠž",boxtimes:"โŠ ",boxul:"โ”˜",boxuL:"โ•›",boxUl:"โ•œ",boxUL:"โ•",boxur:"โ””",boxuR:"โ•˜",boxUr:"โ•™",boxUR:"โ•š",boxv:"โ”‚",boxV:"โ•‘",boxvh:"โ”ผ",boxvH:"โ•ช",boxVh:"โ•ซ",boxVH:"โ•ฌ",boxvl:"โ”ค",boxvL:"โ•ก",boxVl:"โ•ข",boxVL:"โ•ฃ",boxvr:"โ”œ",boxvR:"โ•ž",boxVr:"โ•Ÿ",boxVR:"โ• ",bprime:"โ€ต",breve:"ห˜",Breve:"ห˜",brvbar:"ยฆ",bscr:"๐’ท",Bscr:"โ„ฌ",bsemi:"โ",bsim:"โˆฝ",bsime:"โ‹",bsol:"\\",bsolb:"โง…",bsolhsub:"โŸˆ",bull:"โ€ข",bullet:"โ€ข",bump:"โ‰Ž",bumpe:"โ‰",bumpE:"โชฎ",bumpeq:"โ‰",Bumpeq:"โ‰Ž",cacute:"ฤ‡",Cacute:"ฤ†",cap:"โˆฉ",Cap:"โ‹’",capand:"โฉ„",capbrcup:"โฉ‰",capcap:"โฉ‹",capcup:"โฉ‡",capdot:"โฉ€",CapitalDifferentialD:"โ……",caps:"โˆฉ๏ธ€",caret:"โ",caron:"ห‡",Cayleys:"โ„ญ",ccaps:"โฉ",ccaron:"ฤ",Ccaron:"ฤŒ",ccedil:"รง",Ccedil:"ร‡",ccirc:"ฤ‰",Ccirc:"ฤˆ",Cconint:"โˆฐ",ccups:"โฉŒ",ccupssm:"โฉ",cdot:"ฤ‹",Cdot:"ฤŠ",cedil:"ยธ",Cedilla:"ยธ",cemptyv:"โฆฒ",cent:"ยข",centerdot:"ยท",CenterDot:"ยท",cfr:"๐” ",Cfr:"โ„ญ",chcy:"ั‡",CHcy:"ะง",check:"โœ“",checkmark:"โœ“",chi:"ฯ‡",Chi:"ฮง",cir:"โ—‹",circ:"ห†",circeq:"โ‰—",circlearrowleft:"โ†บ",circlearrowright:"โ†ป",circledast:"โŠ›",circledcirc:"โŠš",circleddash:"โŠ",CircleDot:"โŠ™",circledR:"ยฎ",circledS:"โ“ˆ",CircleMinus:"โŠ–",CirclePlus:"โŠ•",CircleTimes:"โŠ—",cire:"โ‰—",cirE:"โงƒ",cirfnint:"โจ",cirmid:"โซฏ",cirscir:"โง‚",ClockwiseContourIntegral:"โˆฒ",CloseCurlyDoubleQuote:"โ€",CloseCurlyQuote:"โ€™",clubs:"โ™ฃ",clubsuit:"โ™ฃ",colon:":",Colon:"โˆท",colone:"โ‰”",Colone:"โฉด",coloneq:"โ‰”",comma:",",commat:"@",comp:"โˆ",compfn:"โˆ˜",complement:"โˆ",complexes:"โ„‚",cong:"โ‰…",congdot:"โฉญ",Congruent:"โ‰ก",conint:"โˆฎ",Conint:"โˆฏ",ContourIntegral:"โˆฎ",copf:"๐•”",Copf:"โ„‚",coprod:"โˆ",Coproduct:"โˆ",copy:"ยฉ",COPY:"ยฉ",copysr:"โ„—",CounterClockwiseContourIntegral:"โˆณ",crarr:"โ†ต",cross:"โœ—",Cross:"โจฏ",cscr:"๐’ธ",Cscr:"๐’ž",csub:"โซ",csube:"โซ‘",csup:"โซ",csupe:"โซ’",ctdot:"โ‹ฏ",cudarrl:"โคธ",cudarrr:"โคต",cuepr:"โ‹ž",cuesc:"โ‹Ÿ",cularr:"โ†ถ",cularrp:"โคฝ",cup:"โˆช",Cup:"โ‹“",cupbrcap:"โฉˆ",cupcap:"โฉ†",CupCap:"โ‰",cupcup:"โฉŠ",cupdot:"โŠ",cupor:"โฉ…",cups:"โˆช๏ธ€",curarr:"โ†ท",curarrm:"โคผ",curlyeqprec:"โ‹ž",curlyeqsucc:"โ‹Ÿ",curlyvee:"โ‹Ž",curlywedge:"โ‹",curren:"ยค",curvearrowleft:"โ†ถ",curvearrowright:"โ†ท",cuvee:"โ‹Ž",cuwed:"โ‹",cwconint:"โˆฒ",cwint:"โˆฑ",cylcty:"โŒญ",dagger:"โ€ ",Dagger:"โ€ก",daleth:"โ„ธ",darr:"โ†“",dArr:"โ‡“",Darr:"โ†ก",dash:"โ€",dashv:"โŠฃ",Dashv:"โซค",dbkarow:"โค",dblac:"ห",dcaron:"ฤ",Dcaron:"ฤŽ",dcy:"ะด",Dcy:"ะ”",dd:"โ…†",DD:"โ……",ddagger:"โ€ก",ddarr:"โ‡Š",DDotrahd:"โค‘",ddotseq:"โฉท",deg:"ยฐ",Del:"โˆ‡",delta:"ฮด",Delta:"ฮ”",demptyv:"โฆฑ",dfisht:"โฅฟ",dfr:"๐”ก",Dfr:"๐”‡",dHar:"โฅฅ",dharl:"โ‡ƒ",dharr:"โ‡‚",DiacriticalAcute:"ยด",DiacriticalDot:"ห™",DiacriticalDoubleAcute:"ห",DiacriticalGrave:"`",DiacriticalTilde:"หœ",diam:"โ‹„",diamond:"โ‹„",Diamond:"โ‹„",diamondsuit:"โ™ฆ",diams:"โ™ฆ",die:"ยจ",DifferentialD:"โ…†",digamma:"ฯ",disin:"โ‹ฒ",div:"รท",divide:"รท",divideontimes:"โ‹‡",divonx:"โ‹‡",djcy:"ั’",DJcy:"ะ‚",dlcorn:"โŒž",dlcrop:"โŒ",dollar:"$",dopf:"๐••",Dopf:"๐”ป",dot:"ห™",Dot:"ยจ",DotDot:"โƒœ",doteq:"โ‰",doteqdot:"โ‰‘",DotEqual:"โ‰",dotminus:"โˆธ",dotplus:"โˆ”",dotsquare:"โŠก",doublebarwedge:"โŒ†",DoubleContourIntegral:"โˆฏ",DoubleDot:"ยจ",DoubleDownArrow:"โ‡“",DoubleLeftArrow:"โ‡",DoubleLeftRightArrow:"โ‡”",DoubleLeftTee:"โซค",DoubleLongLeftArrow:"โŸธ",DoubleLongLeftRightArrow:"โŸบ",DoubleLongRightArrow:"โŸน",DoubleRightArrow:"โ‡’",DoubleRightTee:"โŠจ",DoubleUpArrow:"โ‡‘",DoubleUpDownArrow:"โ‡•",DoubleVerticalBar:"โˆฅ",downarrow:"โ†“",Downarrow:"โ‡“",DownArrow:"โ†“",DownArrowBar:"โค“",DownArrowUpArrow:"โ‡ต",DownBreve:"ฬ‘",downdownarrows:"โ‡Š",downharpoonleft:"โ‡ƒ",downharpoonright:"โ‡‚",DownLeftRightVector:"โฅ",DownLeftTeeVector:"โฅž",DownLeftVector:"โ†ฝ",DownLeftVectorBar:"โฅ–",DownRightTeeVector:"โฅŸ",DownRightVector:"โ‡",DownRightVectorBar:"โฅ—",DownTee:"โŠค",DownTeeArrow:"โ†ง",drbkarow:"โค",drcorn:"โŒŸ",drcrop:"โŒŒ",dscr:"๐’น",Dscr:"๐’Ÿ",dscy:"ั•",DScy:"ะ…",dsol:"โงถ",dstrok:"ฤ‘",Dstrok:"ฤ",dtdot:"โ‹ฑ",dtri:"โ–ฟ",dtrif:"โ–พ",duarr:"โ‡ต",duhar:"โฅฏ",dwangle:"โฆฆ",dzcy:"ัŸ",DZcy:"ะ",dzigrarr:"โŸฟ",eacute:"รฉ",Eacute:"ร‰",easter:"โฉฎ",ecaron:"ฤ›",Ecaron:"ฤš",ecir:"โ‰–",ecirc:"รช",Ecirc:"รŠ",ecolon:"โ‰•",ecy:"ั",Ecy:"ะญ",eDDot:"โฉท",edot:"ฤ—",eDot:"โ‰‘",Edot:"ฤ–",ee:"โ…‡",efDot:"โ‰’",efr:"๐”ข",Efr:"๐”ˆ",eg:"โชš",egrave:"รจ",Egrave:"รˆ",egs:"โช–",egsdot:"โช˜",el:"โช™",Element:"โˆˆ",elinters:"โง",ell:"โ„“",els:"โช•",elsdot:"โช—",emacr:"ฤ“",Emacr:"ฤ’",empty:"โˆ…",emptyset:"โˆ…",EmptySmallSquare:"โ—ป",emptyv:"โˆ…",EmptyVerySmallSquare:"โ–ซ",emsp:"โ€ƒ",emsp13:"โ€„",emsp14:"โ€…",eng:"ล‹",ENG:"ลŠ",ensp:"โ€‚",eogon:"ฤ™",Eogon:"ฤ˜",eopf:"๐•–",Eopf:"๐”ผ",epar:"โ‹•",eparsl:"โงฃ",eplus:"โฉฑ",epsi:"ฮต",epsilon:"ฮต",Epsilon:"ฮ•",epsiv:"ฯต",eqcirc:"โ‰–",eqcolon:"โ‰•",eqsim:"โ‰‚",eqslantgtr:"โช–",eqslantless:"โช•",Equal:"โฉต",equals:"=",EqualTilde:"โ‰‚",equest:"โ‰Ÿ",Equilibrium:"โ‡Œ",equiv:"โ‰ก",equivDD:"โฉธ",eqvparsl:"โงฅ",erarr:"โฅฑ",erDot:"โ‰“",escr:"โ„ฏ",Escr:"โ„ฐ",esdot:"โ‰",esim:"โ‰‚",Esim:"โฉณ",eta:"ฮท",Eta:"ฮ—",eth:"รฐ",ETH:"ร",euml:"รซ",Euml:"ร‹",euro:"โ‚ฌ",excl:"!",exist:"โˆƒ",Exists:"โˆƒ",expectation:"โ„ฐ",exponentiale:"โ…‡",ExponentialE:"โ…‡",fallingdotseq:"โ‰’",fcy:"ั„",Fcy:"ะค",female:"โ™€",ffilig:"๏ฌƒ",fflig:"๏ฌ€",ffllig:"๏ฌ„",ffr:"๐”ฃ",Ffr:"๐”‰",filig:"๏ฌ",FilledSmallSquare:"โ—ผ",FilledVerySmallSquare:"โ–ช",fjlig:"fj",flat:"โ™ญ",fllig:"๏ฌ‚",fltns:"โ–ฑ",fnof:"ฦ’",fopf:"๐•—",Fopf:"๐”ฝ",forall:"โˆ€",ForAll:"โˆ€",fork:"โ‹”",forkv:"โซ™",Fouriertrf:"โ„ฑ",fpartint:"โจ",frac12:"ยฝ",frac13:"โ…“",frac14:"ยผ",frac15:"โ…•",frac16:"โ…™",frac18:"โ…›",frac23:"โ…”",frac25:"โ…–",frac34:"ยพ",frac35:"โ…—",frac38:"โ…œ",frac45:"โ…˜",frac56:"โ…š",frac58:"โ…",frac78:"โ…ž",frasl:"โ„",frown:"โŒข",fscr:"๐’ป",Fscr:"โ„ฑ",gacute:"วต",gamma:"ฮณ",Gamma:"ฮ“",gammad:"ฯ",Gammad:"ฯœ",gap:"โช†",gbreve:"ฤŸ",Gbreve:"ฤž",Gcedil:"ฤข",gcirc:"ฤ",Gcirc:"ฤœ",gcy:"ะณ",Gcy:"ะ“",gdot:"ฤก",Gdot:"ฤ ",ge:"โ‰ฅ",gE:"โ‰ง",gel:"โ‹›",gEl:"โชŒ",geq:"โ‰ฅ",geqq:"โ‰ง",geqslant:"โฉพ",ges:"โฉพ",gescc:"โชฉ",gesdot:"โช€",gesdoto:"โช‚",gesdotol:"โช„",gesl:"โ‹›๏ธ€",gesles:"โช”",gfr:"๐”ค",Gfr:"๐”Š",gg:"โ‰ซ",Gg:"โ‹™",ggg:"โ‹™",gimel:"โ„ท",gjcy:"ั“",GJcy:"ะƒ",gl:"โ‰ท",gla:"โชฅ",glE:"โช’",glj:"โชค",gnap:"โชŠ",gnapprox:"โชŠ",gne:"โชˆ",gnE:"โ‰ฉ",gneq:"โชˆ",gneqq:"โ‰ฉ",gnsim:"โ‹ง",gopf:"๐•˜",Gopf:"๐”พ",grave:"`",GreaterEqual:"โ‰ฅ",GreaterEqualLess:"โ‹›",GreaterFullEqual:"โ‰ง",GreaterGreater:"โชข",GreaterLess:"โ‰ท",GreaterSlantEqual:"โฉพ",GreaterTilde:"โ‰ณ",gscr:"โ„Š",Gscr:"๐’ข",gsim:"โ‰ณ",gsime:"โชŽ",gsiml:"โช",gt:">",Gt:"โ‰ซ",GT:">",gtcc:"โชง",gtcir:"โฉบ",gtdot:"โ‹—",gtlPar:"โฆ•",gtquest:"โฉผ",gtrapprox:"โช†",gtrarr:"โฅธ",gtrdot:"โ‹—",gtreqless:"โ‹›",gtreqqless:"โชŒ",gtrless:"โ‰ท",gtrsim:"โ‰ณ",gvertneqq:"โ‰ฉ๏ธ€",gvnE:"โ‰ฉ๏ธ€",Hacek:"ห‡",hairsp:"โ€Š",half:"ยฝ",hamilt:"โ„‹",hardcy:"ัŠ",HARDcy:"ะช",harr:"โ†”",hArr:"โ‡”",harrcir:"โฅˆ",harrw:"โ†ญ",Hat:"^",hbar:"โ„",hcirc:"ฤฅ",Hcirc:"ฤค",hearts:"โ™ฅ",heartsuit:"โ™ฅ",hellip:"โ€ฆ",hercon:"โŠน",hfr:"๐”ฅ",Hfr:"โ„Œ",HilbertSpace:"โ„‹",hksearow:"โคฅ",hkswarow:"โคฆ",hoarr:"โ‡ฟ",homtht:"โˆป",hookleftarrow:"โ†ฉ",hookrightarrow:"โ†ช",hopf:"๐•™",Hopf:"โ„",horbar:"โ€•",HorizontalLine:"โ”€",hscr:"๐’ฝ",Hscr:"โ„‹",hslash:"โ„",hstrok:"ฤง",Hstrok:"ฤฆ",HumpDownHump:"โ‰Ž",HumpEqual:"โ‰",hybull:"โƒ",hyphen:"โ€",iacute:"รญ",Iacute:"ร",ic:"โฃ",icirc:"รฎ",Icirc:"รŽ",icy:"ะธ",Icy:"ะ˜",Idot:"ฤฐ",iecy:"ะต",IEcy:"ะ•",iexcl:"ยก",iff:"โ‡”",ifr:"๐”ฆ",Ifr:"โ„‘",igrave:"รฌ",Igrave:"รŒ",ii:"โ…ˆ",iiiint:"โจŒ",iiint:"โˆญ",iinfin:"โงœ",iiota:"โ„ฉ",ijlig:"ฤณ",IJlig:"ฤฒ",Im:"โ„‘",imacr:"ฤซ",Imacr:"ฤช",image:"โ„‘",ImaginaryI:"โ…ˆ",imagline:"โ„",imagpart:"โ„‘",imath:"ฤฑ",imof:"โŠท",imped:"ฦต",Implies:"โ‡’",in:"โˆˆ",incare:"โ„…",infin:"โˆž",infintie:"โง",inodot:"ฤฑ",int:"โˆซ",Int:"โˆฌ",intcal:"โŠบ",integers:"โ„ค",Integral:"โˆซ",intercal:"โŠบ",Intersection:"โ‹‚",intlarhk:"โจ—",intprod:"โจผ",InvisibleComma:"โฃ",InvisibleTimes:"โข",iocy:"ั‘",IOcy:"ะ",iogon:"ฤฏ",Iogon:"ฤฎ",iopf:"๐•š",Iopf:"๐•€",iota:"ฮน",Iota:"ฮ™",iprod:"โจผ",iquest:"ยฟ",iscr:"๐’พ",Iscr:"โ„",isin:"โˆˆ",isindot:"โ‹ต",isinE:"โ‹น",isins:"โ‹ด",isinsv:"โ‹ณ",isinv:"โˆˆ",it:"โข",itilde:"ฤฉ",Itilde:"ฤจ",iukcy:"ั–",Iukcy:"ะ†",iuml:"รฏ",Iuml:"ร",jcirc:"ฤต",Jcirc:"ฤด",jcy:"ะน",Jcy:"ะ™",jfr:"๐”ง",Jfr:"๐”",jmath:"ศท",jopf:"๐•›",Jopf:"๐•",jscr:"๐’ฟ",Jscr:"๐’ฅ",jsercy:"ั˜",Jsercy:"ะˆ",jukcy:"ั”",Jukcy:"ะ„",kappa:"ฮบ",Kappa:"ฮš",kappav:"ฯฐ",kcedil:"ฤท",Kcedil:"ฤถ",kcy:"ะบ",Kcy:"ะš",kfr:"๐”จ",Kfr:"๐”Ž",kgreen:"ฤธ",khcy:"ั…",KHcy:"ะฅ",kjcy:"ัœ",KJcy:"ะŒ",kopf:"๐•œ",Kopf:"๐•‚",kscr:"๐“€",Kscr:"๐’ฆ",lAarr:"โ‡š",lacute:"ฤบ",Lacute:"ฤน",laemptyv:"โฆด",lagran:"โ„’",lambda:"ฮป",Lambda:"ฮ›",lang:"โŸจ",Lang:"โŸช",langd:"โฆ‘",langle:"โŸจ",lap:"โช…",Laplacetrf:"โ„’",laquo:"ยซ",larr:"โ†",lArr:"โ‡",Larr:"โ†ž",larrb:"โ‡ค",larrbfs:"โคŸ",larrfs:"โค",larrhk:"โ†ฉ",larrlp:"โ†ซ",larrpl:"โคน",larrsim:"โฅณ",larrtl:"โ†ข",lat:"โชซ",latail:"โค™",lAtail:"โค›",late:"โชญ",lates:"โชญ๏ธ€",lbarr:"โคŒ",lBarr:"โคŽ",lbbrk:"โฒ",lbrace:"{",lbrack:"[",lbrke:"โฆ‹",lbrksld:"โฆ",lbrkslu:"โฆ",lcaron:"ฤพ",Lcaron:"ฤฝ",lcedil:"ฤผ",Lcedil:"ฤป",lceil:"โŒˆ",lcub:"{",lcy:"ะป",Lcy:"ะ›",ldca:"โคถ",ldquo:"โ€œ",ldquor:"โ€ž",ldrdhar:"โฅง",ldrushar:"โฅ‹",ldsh:"โ†ฒ",le:"โ‰ค",lE:"โ‰ฆ",LeftAngleBracket:"โŸจ",leftarrow:"โ†",Leftarrow:"โ‡",LeftArrow:"โ†",LeftArrowBar:"โ‡ค",LeftArrowRightArrow:"โ‡†",leftarrowtail:"โ†ข",LeftCeiling:"โŒˆ",LeftDoubleBracket:"โŸฆ",LeftDownTeeVector:"โฅก",LeftDownVector:"โ‡ƒ",LeftDownVectorBar:"โฅ™",LeftFloor:"โŒŠ",leftharpoondown:"โ†ฝ",leftharpoonup:"โ†ผ",leftleftarrows:"โ‡‡",leftrightarrow:"โ†”",Leftrightarrow:"โ‡”",LeftRightArrow:"โ†”",leftrightarrows:"โ‡†",leftrightharpoons:"โ‡‹",leftrightsquigarrow:"โ†ญ",LeftRightVector:"โฅŽ",LeftTee:"โŠฃ",LeftTeeArrow:"โ†ค",LeftTeeVector:"โฅš",leftthreetimes:"โ‹‹",LeftTriangle:"โŠฒ",LeftTriangleBar:"โง",LeftTriangleEqual:"โŠด",LeftUpDownVector:"โฅ‘",LeftUpTeeVector:"โฅ ",LeftUpVector:"โ†ฟ",LeftUpVectorBar:"โฅ˜",LeftVector:"โ†ผ",LeftVectorBar:"โฅ’",leg:"โ‹š",lEg:"โช‹",leq:"โ‰ค",leqq:"โ‰ฆ",leqslant:"โฉฝ",les:"โฉฝ",lescc:"โชจ",lesdot:"โฉฟ",lesdoto:"โช",lesdotor:"โชƒ",lesg:"โ‹š๏ธ€",lesges:"โช“",lessapprox:"โช…",lessdot:"โ‹–",lesseqgtr:"โ‹š",lesseqqgtr:"โช‹",LessEqualGreater:"โ‹š",LessFullEqual:"โ‰ฆ",LessGreater:"โ‰ถ",lessgtr:"โ‰ถ",LessLess:"โชก",lesssim:"โ‰ฒ",LessSlantEqual:"โฉฝ",LessTilde:"โ‰ฒ",lfisht:"โฅผ",lfloor:"โŒŠ",lfr:"๐”ฉ",Lfr:"๐”",lg:"โ‰ถ",lgE:"โช‘",lHar:"โฅข",lhard:"โ†ฝ",lharu:"โ†ผ",lharul:"โฅช",lhblk:"โ–„",ljcy:"ั™",LJcy:"ะ‰",ll:"โ‰ช",Ll:"โ‹˜",llarr:"โ‡‡",llcorner:"โŒž",Lleftarrow:"โ‡š",llhard:"โฅซ",lltri:"โ—บ",lmidot:"ล€",Lmidot:"ฤฟ",lmoust:"โŽฐ",lmoustache:"โŽฐ",lnap:"โช‰",lnapprox:"โช‰",lne:"โช‡",lnE:"โ‰จ",lneq:"โช‡",lneqq:"โ‰จ",lnsim:"โ‹ฆ",loang:"โŸฌ",loarr:"โ‡ฝ",lobrk:"โŸฆ",longleftarrow:"โŸต",Longleftarrow:"โŸธ",LongLeftArrow:"โŸต",longleftrightarrow:"โŸท",Longleftrightarrow:"โŸบ",LongLeftRightArrow:"โŸท",longmapsto:"โŸผ",longrightarrow:"โŸถ",Longrightarrow:"โŸน",LongRightArrow:"โŸถ",looparrowleft:"โ†ซ",looparrowright:"โ†ฌ",lopar:"โฆ…",lopf:"๐•",Lopf:"๐•ƒ",loplus:"โจญ",lotimes:"โจด",lowast:"โˆ—",lowbar:"_",LowerLeftArrow:"โ†™",LowerRightArrow:"โ†˜",loz:"โ—Š",lozenge:"โ—Š",lozf:"โงซ",lpar:"(",lparlt:"โฆ“",lrarr:"โ‡†",lrcorner:"โŒŸ",lrhar:"โ‡‹",lrhard:"โฅญ",lrm:"โ€Ž",lrtri:"โŠฟ",lsaquo:"โ€น",lscr:"๐“",Lscr:"โ„’",lsh:"โ†ฐ",Lsh:"โ†ฐ",lsim:"โ‰ฒ",lsime:"โช",lsimg:"โช",lsqb:"[",lsquo:"โ€˜",lsquor:"โ€š",lstrok:"ล‚",Lstrok:"ล",lt:"<",Lt:"โ‰ช",LT:"<",ltcc:"โชฆ",ltcir:"โฉน",ltdot:"โ‹–",lthree:"โ‹‹",ltimes:"โ‹‰",ltlarr:"โฅถ",ltquest:"โฉป",ltri:"โ—ƒ",ltrie:"โŠด",ltrif:"โ—‚",ltrPar:"โฆ–",lurdshar:"โฅŠ",luruhar:"โฅฆ",lvertneqq:"โ‰จ๏ธ€",lvnE:"โ‰จ๏ธ€",macr:"ยฏ",male:"โ™‚",malt:"โœ ",maltese:"โœ ",map:"โ†ฆ",Map:"โค…",mapsto:"โ†ฆ",mapstodown:"โ†ง",mapstoleft:"โ†ค",mapstoup:"โ†ฅ",marker:"โ–ฎ",mcomma:"โจฉ",mcy:"ะผ",Mcy:"ะœ",mdash:"โ€”",mDDot:"โˆบ",measuredangle:"โˆก",MediumSpace:"โŸ",Mellintrf:"โ„ณ",mfr:"๐”ช",Mfr:"๐”",mho:"โ„ง",micro:"ยต",mid:"โˆฃ",midast:"*",midcir:"โซฐ",middot:"ยท",minus:"โˆ’",minusb:"โŠŸ",minusd:"โˆธ",minusdu:"โจช",MinusPlus:"โˆ“",mlcp:"โซ›",mldr:"โ€ฆ",mnplus:"โˆ“",models:"โŠง",mopf:"๐•ž",Mopf:"๐•„",mp:"โˆ“",mscr:"๐“‚",Mscr:"โ„ณ",mstpos:"โˆพ",mu:"ฮผ",Mu:"ฮœ",multimap:"โŠธ",mumap:"โŠธ",nabla:"โˆ‡",nacute:"ล„",Nacute:"ลƒ",nang:"โˆ โƒ’",nap:"โ‰‰",napE:"โฉฐฬธ",napid:"โ‰‹ฬธ",napos:"ล‰",napprox:"โ‰‰",natur:"โ™ฎ",natural:"โ™ฎ",naturals:"โ„•",nbsp:"ย ",nbump:"โ‰Žฬธ",nbumpe:"โ‰ฬธ",ncap:"โฉƒ",ncaron:"ลˆ",Ncaron:"ล‡",ncedil:"ล†",Ncedil:"ล…",ncong:"โ‰‡",ncongdot:"โฉญฬธ",ncup:"โฉ‚",ncy:"ะฝ",Ncy:"ะ",ndash:"โ€“",ne:"โ‰ ",nearhk:"โคค",nearr:"โ†—",neArr:"โ‡—",nearrow:"โ†—",nedot:"โ‰ฬธ",NegativeMediumSpace:"โ€‹",NegativeThickSpace:"โ€‹",NegativeThinSpace:"โ€‹",NegativeVeryThinSpace:"โ€‹",nequiv:"โ‰ข",nesear:"โคจ",nesim:"โ‰‚ฬธ",NestedGreaterGreater:"โ‰ซ",NestedLessLess:"โ‰ช",NewLine:"\n",nexist:"โˆ„",nexists:"โˆ„",nfr:"๐”ซ",Nfr:"๐”‘",nge:"โ‰ฑ",ngE:"โ‰งฬธ",ngeq:"โ‰ฑ",ngeqq:"โ‰งฬธ",ngeqslant:"โฉพฬธ",nges:"โฉพฬธ",nGg:"โ‹™ฬธ",ngsim:"โ‰ต",ngt:"โ‰ฏ",nGt:"โ‰ซโƒ’",ngtr:"โ‰ฏ",nGtv:"โ‰ซฬธ",nharr:"โ†ฎ",nhArr:"โ‡Ž",nhpar:"โซฒ",ni:"โˆ‹",nis:"โ‹ผ",nisd:"โ‹บ",niv:"โˆ‹",njcy:"ัš",NJcy:"ะŠ",nlarr:"โ†š",nlArr:"โ‡",nldr:"โ€ฅ",nle:"โ‰ฐ",nlE:"โ‰ฆฬธ",nleftarrow:"โ†š",nLeftarrow:"โ‡",nleftrightarrow:"โ†ฎ",nLeftrightarrow:"โ‡Ž",nleq:"โ‰ฐ",nleqq:"โ‰ฆฬธ",nleqslant:"โฉฝฬธ",nles:"โฉฝฬธ",nless:"โ‰ฎ",nLl:"โ‹˜ฬธ",nlsim:"โ‰ด",nlt:"โ‰ฎ",nLt:"โ‰ชโƒ’",nltri:"โ‹ช",nltrie:"โ‹ฌ",nLtv:"โ‰ชฬธ",nmid:"โˆค",NoBreak:"โ ",NonBreakingSpace:"ย ",nopf:"๐•Ÿ",Nopf:"โ„•",not:"ยฌ",Not:"โซฌ",NotCongruent:"โ‰ข",NotCupCap:"โ‰ญ",NotDoubleVerticalBar:"โˆฆ",NotElement:"โˆ‰",NotEqual:"โ‰ ",NotEqualTilde:"โ‰‚ฬธ",NotExists:"โˆ„",NotGreater:"โ‰ฏ",NotGreaterEqual:"โ‰ฑ",NotGreaterFullEqual:"โ‰งฬธ",NotGreaterGreater:"โ‰ซฬธ",NotGreaterLess:"โ‰น",NotGreaterSlantEqual:"โฉพฬธ",NotGreaterTilde:"โ‰ต",NotHumpDownHump:"โ‰Žฬธ",NotHumpEqual:"โ‰ฬธ",notin:"โˆ‰",notindot:"โ‹ตฬธ",notinE:"โ‹นฬธ",notinva:"โˆ‰",notinvb:"โ‹ท",notinvc:"โ‹ถ",NotLeftTriangle:"โ‹ช",NotLeftTriangleBar:"โงฬธ",NotLeftTriangleEqual:"โ‹ฌ",NotLess:"โ‰ฎ",NotLessEqual:"โ‰ฐ",NotLessGreater:"โ‰ธ",NotLessLess:"โ‰ชฬธ",NotLessSlantEqual:"โฉฝฬธ",NotLessTilde:"โ‰ด",NotNestedGreaterGreater:"โชขฬธ",NotNestedLessLess:"โชกฬธ",notni:"โˆŒ",notniva:"โˆŒ",notnivb:"โ‹พ",notnivc:"โ‹ฝ",NotPrecedes:"โŠ€",NotPrecedesEqual:"โชฏฬธ",NotPrecedesSlantEqual:"โ‹ ",NotReverseElement:"โˆŒ",NotRightTriangle:"โ‹ซ",NotRightTriangleBar:"โงฬธ",NotRightTriangleEqual:"โ‹ญ",NotSquareSubset:"โŠฬธ",NotSquareSubsetEqual:"โ‹ข",NotSquareSuperset:"โАฬธ",NotSquareSupersetEqual:"โ‹ฃ",NotSubset:"โŠ‚โƒ’",NotSubsetEqual:"โŠˆ",NotSucceeds:"โЁ",NotSucceedsEqual:"โชฐฬธ",NotSucceedsSlantEqual:"โ‹ก",NotSucceedsTilde:"โ‰ฟฬธ",NotSuperset:"โŠƒโƒ’",NotSupersetEqual:"โЉ",NotTilde:"โ‰",NotTildeEqual:"โ‰„",NotTildeFullEqual:"โ‰‡",NotTildeTilde:"โ‰‰",NotVerticalBar:"โˆค",npar:"โˆฆ",nparallel:"โˆฆ",nparsl:"โซฝโƒฅ",npart:"โˆ‚ฬธ",npolint:"โจ”",npr:"โŠ€",nprcue:"โ‹ ",npre:"โชฏฬธ",nprec:"โŠ€",npreceq:"โชฏฬธ",nrarr:"โ†›",nrArr:"โ‡",nrarrc:"โคณฬธ",nrarrw:"โ†ฬธ",nrightarrow:"โ†›",nRightarrow:"โ‡",nrtri:"โ‹ซ",nrtrie:"โ‹ญ",nsc:"โЁ",nsccue:"โ‹ก",nsce:"โชฐฬธ",nscr:"๐“ƒ",Nscr:"๐’ฉ",nshortmid:"โˆค",nshortparallel:"โˆฆ",nsim:"โ‰",nsime:"โ‰„",nsimeq:"โ‰„",nsmid:"โˆค",nspar:"โˆฆ",nsqsube:"โ‹ข",nsqsupe:"โ‹ฃ",nsub:"โŠ„",nsube:"โŠˆ",nsubE:"โซ…ฬธ",nsubset:"โŠ‚โƒ’",nsubseteq:"โŠˆ",nsubseteqq:"โซ…ฬธ",nsucc:"โЁ",nsucceq:"โชฐฬธ",nsup:"โŠ…",nsupe:"โЉ",nsupE:"โซ†ฬธ",nsupset:"โŠƒโƒ’",nsupseteq:"โЉ",nsupseteqq:"โซ†ฬธ",ntgl:"โ‰น",ntilde:"รฑ",Ntilde:"ร‘",ntlg:"โ‰ธ",ntriangleleft:"โ‹ช",ntrianglelefteq:"โ‹ฌ",ntriangleright:"โ‹ซ",ntrianglerighteq:"โ‹ญ",nu:"ฮฝ",Nu:"ฮ",num:"#",numero:"โ„–",numsp:"โ€‡",nvap:"โ‰โƒ’",nvdash:"โŠฌ",nvDash:"โŠญ",nVdash:"โŠฎ",nVDash:"โŠฏ",nvge:"โ‰ฅโƒ’",nvgt:">โƒ’",nvHarr:"โค„",nvinfin:"โงž",nvlArr:"โค‚",nvle:"โ‰คโƒ’",nvlt:"<โƒ’",nvltrie:"โŠดโƒ’",nvrArr:"โคƒ",nvrtrie:"โŠตโƒ’",nvsim:"โˆผโƒ’",nwarhk:"โคฃ",nwarr:"โ†–",nwArr:"โ‡–",nwarrow:"โ†–",nwnear:"โคง",oacute:"รณ",Oacute:"ร“",oast:"โŠ›",ocir:"โŠš",ocirc:"รด",Ocirc:"ร”",ocy:"ะพ",Ocy:"ะž",odash:"โŠ",odblac:"ล‘",Odblac:"ล",odiv:"โจธ",odot:"โŠ™",odsold:"โฆผ",oelig:"ล“",OElig:"ล’",ofcir:"โฆฟ",ofr:"๐”ฌ",Ofr:"๐”’",ogon:"ห›",ograve:"รฒ",Ograve:"ร’",ogt:"โง",ohbar:"โฆต",ohm:"ฮฉ",oint:"โˆฎ",olarr:"โ†บ",olcir:"โฆพ",olcross:"โฆป",oline:"โ€พ",olt:"โง€",omacr:"ล",Omacr:"ลŒ",omega:"ฯ‰",Omega:"ฮฉ",omicron:"ฮฟ",Omicron:"ฮŸ",omid:"โฆถ",ominus:"โŠ–",oopf:"๐• ",Oopf:"๐•†",opar:"โฆท",OpenCurlyDoubleQuote:"โ€œ",OpenCurlyQuote:"โ€˜",operp:"โฆน",oplus:"โŠ•",or:"โˆจ",Or:"โฉ”",orarr:"โ†ป",ord:"โฉ",order:"โ„ด",orderof:"โ„ด",ordf:"ยช",ordm:"ยบ",origof:"โŠถ",oror:"โฉ–",orslope:"โฉ—",orv:"โฉ›",oS:"โ“ˆ",oscr:"โ„ด",Oscr:"๐’ช",oslash:"รธ",Oslash:"ร˜",osol:"โŠ˜",otilde:"รต",Otilde:"ร•",otimes:"โŠ—",Otimes:"โจท",otimesas:"โจถ",ouml:"รถ",Ouml:"ร–",ovbar:"โŒฝ",OverBar:"โ€พ",OverBrace:"โž",OverBracket:"โŽด",OverParenthesis:"โœ",par:"โˆฅ",para:"ยถ",parallel:"โˆฅ",parsim:"โซณ",parsl:"โซฝ",part:"โˆ‚",PartialD:"โˆ‚",pcy:"ะฟ",Pcy:"ะŸ",percnt:"%",period:".",permil:"โ€ฐ",perp:"โŠฅ",pertenk:"โ€ฑ",pfr:"๐”ญ",Pfr:"๐”“",phi:"ฯ†",Phi:"ฮฆ",phiv:"ฯ•",phmmat:"โ„ณ",phone:"โ˜Ž",pi:"ฯ€",Pi:"ฮ ",pitchfork:"โ‹”",piv:"ฯ–",planck:"โ„",planckh:"โ„Ž",plankv:"โ„",plus:"+",plusacir:"โจฃ",plusb:"โŠž",pluscir:"โจข",plusdo:"โˆ”",plusdu:"โจฅ",pluse:"โฉฒ",PlusMinus:"ยฑ",plusmn:"ยฑ",plussim:"โจฆ",plustwo:"โจง",pm:"ยฑ",Poincareplane:"โ„Œ",pointint:"โจ•",popf:"๐•ก",Popf:"โ„™",pound:"ยฃ",pr:"โ‰บ",Pr:"โชป",prap:"โชท",prcue:"โ‰ผ",pre:"โชฏ",prE:"โชณ",prec:"โ‰บ",precapprox:"โชท",preccurlyeq:"โ‰ผ",Precedes:"โ‰บ",PrecedesEqual:"โชฏ",PrecedesSlantEqual:"โ‰ผ",PrecedesTilde:"โ‰พ",preceq:"โชฏ",precnapprox:"โชน",precneqq:"โชต",precnsim:"โ‹จ",precsim:"โ‰พ",prime:"โ€ฒ",Prime:"โ€ณ",primes:"โ„™",prnap:"โชน",prnE:"โชต",prnsim:"โ‹จ",prod:"โˆ",Product:"โˆ",profalar:"โŒฎ",profline:"โŒ’",profsurf:"โŒ“",prop:"โˆ",Proportion:"โˆท",Proportional:"โˆ",propto:"โˆ",prsim:"โ‰พ",prurel:"โŠฐ",pscr:"๐“…",Pscr:"๐’ซ",psi:"ฯˆ",Psi:"ฮจ",puncsp:"โ€ˆ",qfr:"๐”ฎ",Qfr:"๐””",qint:"โจŒ",qopf:"๐•ข",Qopf:"โ„š",qprime:"โ—",qscr:"๐“†",Qscr:"๐’ฌ",quaternions:"โ„",quatint:"โจ–",quest:"?",questeq:"โ‰Ÿ",quot:'"',QUOT:'"',rAarr:"โ‡›",race:"โˆฝฬฑ",racute:"ล•",Racute:"ล”",radic:"โˆš",raemptyv:"โฆณ",rang:"โŸฉ",Rang:"โŸซ",rangd:"โฆ’",range:"โฆฅ",rangle:"โŸฉ",raquo:"ยป",rarr:"โ†’",rArr:"โ‡’",Rarr:"โ† ",rarrap:"โฅต",rarrb:"โ‡ฅ",rarrbfs:"โค ",rarrc:"โคณ",rarrfs:"โคž",rarrhk:"โ†ช",rarrlp:"โ†ฌ",rarrpl:"โฅ…",rarrsim:"โฅด",rarrtl:"โ†ฃ",Rarrtl:"โค–",rarrw:"โ†",ratail:"โคš",rAtail:"โคœ",ratio:"โˆถ",rationals:"โ„š",rbarr:"โค",rBarr:"โค",RBarr:"โค",rbbrk:"โณ",rbrace:"}",rbrack:"]",rbrke:"โฆŒ",rbrksld:"โฆŽ",rbrkslu:"โฆ",rcaron:"ล™",Rcaron:"ล˜",rcedil:"ล—",Rcedil:"ล–",rceil:"โŒ‰",rcub:"}",rcy:"ั€",Rcy:"ะ ",rdca:"โคท",rdldhar:"โฅฉ",rdquo:"โ€",rdquor:"โ€",rdsh:"โ†ณ",Re:"โ„œ",real:"โ„œ",realine:"โ„›",realpart:"โ„œ",reals:"โ„",rect:"โ–ญ",reg:"ยฎ",REG:"ยฎ",ReverseElement:"โˆ‹",ReverseEquilibrium:"โ‡‹",ReverseUpEquilibrium:"โฅฏ",rfisht:"โฅฝ",rfloor:"โŒ‹",rfr:"๐”ฏ",Rfr:"โ„œ",rHar:"โฅค",rhard:"โ‡",rharu:"โ‡€",rharul:"โฅฌ",rho:"ฯ",Rho:"ฮก",rhov:"ฯฑ",RightAngleBracket:"โŸฉ",rightarrow:"โ†’",Rightarrow:"โ‡’",RightArrow:"โ†’",RightArrowBar:"โ‡ฅ",RightArrowLeftArrow:"โ‡„",rightarrowtail:"โ†ฃ",RightCeiling:"โŒ‰",RightDoubleBracket:"โŸง",RightDownTeeVector:"โฅ",RightDownVector:"โ‡‚",RightDownVectorBar:"โฅ•",RightFloor:"โŒ‹",rightharpoondown:"โ‡",rightharpoonup:"โ‡€",rightleftarrows:"โ‡„",rightleftharpoons:"โ‡Œ",rightrightarrows:"โ‡‰",rightsquigarrow:"โ†",RightTee:"โŠข",RightTeeArrow:"โ†ฆ",RightTeeVector:"โฅ›",rightthreetimes:"โ‹Œ",RightTriangle:"โŠณ",RightTriangleBar:"โง",RightTriangleEqual:"โŠต",RightUpDownVector:"โฅ",RightUpTeeVector:"โฅœ",RightUpVector:"โ†พ",RightUpVectorBar:"โฅ”",RightVector:"โ‡€",RightVectorBar:"โฅ“",ring:"หš",risingdotseq:"โ‰“",rlarr:"โ‡„",rlhar:"โ‡Œ",rlm:"โ€",rmoust:"โŽฑ",rmoustache:"โŽฑ",rnmid:"โซฎ",roang:"โŸญ",roarr:"โ‡พ",robrk:"โŸง",ropar:"โฆ†",ropf:"๐•ฃ",Ropf:"โ„",roplus:"โจฎ",rotimes:"โจต",RoundImplies:"โฅฐ",rpar:")",rpargt:"โฆ”",rppolint:"โจ’",rrarr:"โ‡‰",Rrightarrow:"โ‡›",rsaquo:"โ€บ",rscr:"๐“‡",Rscr:"โ„›",rsh:"โ†ฑ",Rsh:"โ†ฑ",rsqb:"]",rsquo:"โ€™",rsquor:"โ€™",rthree:"โ‹Œ",rtimes:"โ‹Š",rtri:"โ–น",rtrie:"โŠต",rtrif:"โ–ธ",rtriltri:"โงŽ",RuleDelayed:"โงด",ruluhar:"โฅจ",rx:"โ„ž",sacute:"ล›",Sacute:"ลš",sbquo:"โ€š",sc:"โ‰ป",Sc:"โชผ",scap:"โชธ",scaron:"ลก",Scaron:"ล ",sccue:"โ‰ฝ",sce:"โชฐ",scE:"โชด",scedil:"ลŸ",Scedil:"ลž",scirc:"ล",Scirc:"ลœ",scnap:"โชบ",scnE:"โชถ",scnsim:"โ‹ฉ",scpolint:"โจ“",scsim:"โ‰ฟ",scy:"ั",Scy:"ะก",sdot:"โ‹…",sdotb:"โŠก",sdote:"โฉฆ",searhk:"โคฅ",searr:"โ†˜",seArr:"โ‡˜",searrow:"โ†˜",sect:"ยง",semi:";",seswar:"โคฉ",setminus:"โˆ–",setmn:"โˆ–",sext:"โœถ",sfr:"๐”ฐ",Sfr:"๐”–",sfrown:"โŒข",sharp:"โ™ฏ",shchcy:"ั‰",SHCHcy:"ะฉ",shcy:"ัˆ",SHcy:"ะจ",ShortDownArrow:"โ†“",ShortLeftArrow:"โ†",shortmid:"โˆฃ",shortparallel:"โˆฅ",ShortRightArrow:"โ†’",ShortUpArrow:"โ†‘",shy:"ยญ",sigma:"ฯƒ",Sigma:"ฮฃ",sigmaf:"ฯ‚",sigmav:"ฯ‚",sim:"โˆผ",simdot:"โฉช",sime:"โ‰ƒ",simeq:"โ‰ƒ",simg:"โชž",simgE:"โช ",siml:"โช",simlE:"โชŸ",simne:"โ‰†",simplus:"โจค",simrarr:"โฅฒ",slarr:"โ†",SmallCircle:"โˆ˜",smallsetminus:"โˆ–",smashp:"โจณ",smeparsl:"โงค",smid:"โˆฃ",smile:"โŒฃ",smt:"โชช",smte:"โชฌ",smtes:"โชฌ๏ธ€",softcy:"ัŒ",SOFTcy:"ะฌ",sol:"/",solb:"โง„",solbar:"โŒฟ",sopf:"๐•ค",Sopf:"๐•Š",spades:"โ™ ",spadesuit:"โ™ ",spar:"โˆฅ",sqcap:"โŠ“",sqcaps:"โŠ“๏ธ€",sqcup:"โŠ”",sqcups:"โŠ”๏ธ€",Sqrt:"โˆš",sqsub:"โŠ",sqsube:"โŠ‘",sqsubset:"โŠ",sqsubseteq:"โŠ‘",sqsup:"โА",sqsupe:"โŠ’",sqsupset:"โА",sqsupseteq:"โŠ’",squ:"โ–ก",square:"โ–ก",Square:"โ–ก",SquareIntersection:"โŠ“",SquareSubset:"โŠ",SquareSubsetEqual:"โŠ‘",SquareSuperset:"โА",SquareSupersetEqual:"โŠ’",SquareUnion:"โŠ”",squarf:"โ–ช",squf:"โ–ช",srarr:"โ†’",sscr:"๐“ˆ",Sscr:"๐’ฎ",ssetmn:"โˆ–",ssmile:"โŒฃ",sstarf:"โ‹†",star:"โ˜†",Star:"โ‹†",starf:"โ˜…",straightepsilon:"ฯต",straightphi:"ฯ•",strns:"ยฏ",sub:"โŠ‚",Sub:"โ‹",subdot:"โชฝ",sube:"โІ",subE:"โซ…",subedot:"โซƒ",submult:"โซ",subne:"โŠŠ",subnE:"โซ‹",subplus:"โชฟ",subrarr:"โฅน",subset:"โŠ‚",Subset:"โ‹",subseteq:"โІ",subseteqq:"โซ…",SubsetEqual:"โІ",subsetneq:"โŠŠ",subsetneqq:"โซ‹",subsim:"โซ‡",subsub:"โซ•",subsup:"โซ“",succ:"โ‰ป",succapprox:"โชธ",succcurlyeq:"โ‰ฝ",Succeeds:"โ‰ป",SucceedsEqual:"โชฐ",SucceedsSlantEqual:"โ‰ฝ",SucceedsTilde:"โ‰ฟ",succeq:"โชฐ",succnapprox:"โชบ",succneqq:"โชถ",succnsim:"โ‹ฉ",succsim:"โ‰ฟ",SuchThat:"โˆ‹",sum:"โˆ‘",Sum:"โˆ‘",sung:"โ™ช",sup:"โŠƒ",Sup:"โ‹‘",sup1:"ยน",sup2:"ยฒ",sup3:"ยณ",supdot:"โชพ",supdsub:"โซ˜",supe:"โЇ",supE:"โซ†",supedot:"โซ„",Superset:"โŠƒ",SupersetEqual:"โЇ",suphsol:"โŸ‰",suphsub:"โซ—",suplarr:"โฅป",supmult:"โซ‚",supne:"โŠ‹",supnE:"โซŒ",supplus:"โซ€",supset:"โŠƒ",Supset:"โ‹‘",supseteq:"โЇ",supseteqq:"โซ†",supsetneq:"โŠ‹",supsetneqq:"โซŒ",supsim:"โซˆ",supsub:"โซ”",supsup:"โซ–",swarhk:"โคฆ",swarr:"โ†™",swArr:"โ‡™",swarrow:"โ†™",swnwar:"โคช",szlig:"รŸ",Tab:"\t",target:"โŒ–",tau:"ฯ„",Tau:"ฮค",tbrk:"โŽด",tcaron:"ลฅ",Tcaron:"ลค",tcedil:"ลฃ",Tcedil:"ลข",tcy:"ั‚",Tcy:"ะข",tdot:"โƒ›",telrec:"โŒ•",tfr:"๐”ฑ",Tfr:"๐”—",there4:"โˆด",therefore:"โˆด",Therefore:"โˆด",theta:"ฮธ",Theta:"ฮ˜",thetasym:"ฯ‘",thetav:"ฯ‘",thickapprox:"โ‰ˆ",thicksim:"โˆผ",ThickSpace:"โŸโ€Š",thinsp:"โ€‰",ThinSpace:"โ€‰",thkap:"โ‰ˆ",thksim:"โˆผ",thorn:"รพ",THORN:"รž",tilde:"หœ",Tilde:"โˆผ",TildeEqual:"โ‰ƒ",TildeFullEqual:"โ‰…",TildeTilde:"โ‰ˆ",times:"ร—",timesb:"โŠ ",timesbar:"โจฑ",timesd:"โจฐ",tint:"โˆญ",toea:"โคจ",top:"โŠค",topbot:"โŒถ",topcir:"โซฑ",topf:"๐•ฅ",Topf:"๐•‹",topfork:"โซš",tosa:"โคฉ",tprime:"โ€ด",trade:"โ„ข",TRADE:"โ„ข",triangle:"โ–ต",triangledown:"โ–ฟ",triangleleft:"โ—ƒ",trianglelefteq:"โŠด",triangleq:"โ‰œ",triangleright:"โ–น",trianglerighteq:"โŠต",tridot:"โ—ฌ",trie:"โ‰œ",triminus:"โจบ",TripleDot:"โƒ›",triplus:"โจน",trisb:"โง",tritime:"โจป",trpezium:"โข",tscr:"๐“‰",Tscr:"๐’ฏ",tscy:"ั†",TScy:"ะฆ",tshcy:"ั›",TSHcy:"ะ‹",tstrok:"ลง",Tstrok:"ลฆ",twixt:"โ‰ฌ",twoheadleftarrow:"โ†ž",twoheadrightarrow:"โ† ",uacute:"รบ",Uacute:"รš",uarr:"โ†‘",uArr:"โ‡‘",Uarr:"โ†Ÿ",Uarrocir:"โฅ‰",ubrcy:"ัž",Ubrcy:"ะŽ",ubreve:"ลญ",Ubreve:"ลฌ",ucirc:"รป",Ucirc:"ร›",ucy:"ัƒ",Ucy:"ะฃ",udarr:"โ‡…",udblac:"ลฑ",Udblac:"ลฐ",udhar:"โฅฎ",ufisht:"โฅพ",ufr:"๐”ฒ",Ufr:"๐”˜",ugrave:"รน",Ugrave:"ร™",uHar:"โฅฃ",uharl:"โ†ฟ",uharr:"โ†พ",uhblk:"โ–€",ulcorn:"โŒœ",ulcorner:"โŒœ",ulcrop:"โŒ",ultri:"โ—ธ",umacr:"ลซ",Umacr:"ลช",uml:"ยจ",UnderBar:"_",UnderBrace:"โŸ",UnderBracket:"โŽต",UnderParenthesis:"โ",Union:"โ‹ƒ",UnionPlus:"โŠŽ",uogon:"ลณ",Uogon:"ลฒ",uopf:"๐•ฆ",Uopf:"๐•Œ",uparrow:"โ†‘",Uparrow:"โ‡‘",UpArrow:"โ†‘",UpArrowBar:"โค’",UpArrowDownArrow:"โ‡…",updownarrow:"โ†•",Updownarrow:"โ‡•",UpDownArrow:"โ†•",UpEquilibrium:"โฅฎ",upharpoonleft:"โ†ฟ",upharpoonright:"โ†พ",uplus:"โŠŽ",UpperLeftArrow:"โ†–",UpperRightArrow:"โ†—",upsi:"ฯ…",Upsi:"ฯ’",upsih:"ฯ’",upsilon:"ฯ…",Upsilon:"ฮฅ",UpTee:"โŠฅ",UpTeeArrow:"โ†ฅ",upuparrows:"โ‡ˆ",urcorn:"โŒ",urcorner:"โŒ",urcrop:"โŒŽ",uring:"ลฏ",Uring:"ลฎ",urtri:"โ—น",uscr:"๐“Š",Uscr:"๐’ฐ",utdot:"โ‹ฐ",utilde:"ลฉ",Utilde:"ลจ",utri:"โ–ต",utrif:"โ–ด",uuarr:"โ‡ˆ",uuml:"รผ",Uuml:"รœ",uwangle:"โฆง",vangrt:"โฆœ",varepsilon:"ฯต",varkappa:"ฯฐ",varnothing:"โˆ…",varphi:"ฯ•",varpi:"ฯ–",varpropto:"โˆ",varr:"โ†•",vArr:"โ‡•",varrho:"ฯฑ",varsigma:"ฯ‚",varsubsetneq:"โŠŠ๏ธ€",varsubsetneqq:"โซ‹๏ธ€",varsupsetneq:"โŠ‹๏ธ€",varsupsetneqq:"โซŒ๏ธ€",vartheta:"ฯ‘",vartriangleleft:"โŠฒ",vartriangleright:"โŠณ",vBar:"โซจ",Vbar:"โซซ",vBarv:"โซฉ",vcy:"ะฒ",Vcy:"ะ’",vdash:"โŠข",vDash:"โŠจ",Vdash:"โŠฉ",VDash:"โŠซ",Vdashl:"โซฆ",vee:"โˆจ",Vee:"โ‹",veebar:"โŠป",veeeq:"โ‰š",vellip:"โ‹ฎ",verbar:"|",Verbar:"โ€–",vert:"|",Vert:"โ€–",VerticalBar:"โˆฃ",VerticalLine:"|",VerticalSeparator:"โ˜",VerticalTilde:"โ‰€",VeryThinSpace:"โ€Š",vfr:"๐”ณ",Vfr:"๐”™",vltri:"โŠฒ",vnsub:"โŠ‚โƒ’",vnsup:"โŠƒโƒ’",vopf:"๐•ง",Vopf:"๐•",vprop:"โˆ",vrtri:"โŠณ",vscr:"๐“‹",Vscr:"๐’ฑ",vsubne:"โŠŠ๏ธ€",vsubnE:"โซ‹๏ธ€",vsupne:"โŠ‹๏ธ€",vsupnE:"โซŒ๏ธ€",Vvdash:"โŠช",vzigzag:"โฆš",wcirc:"ลต",Wcirc:"ลด",wedbar:"โฉŸ",wedge:"โˆง",Wedge:"โ‹€",wedgeq:"โ‰™",weierp:"โ„˜",wfr:"๐”ด",Wfr:"๐”š",wopf:"๐•จ",Wopf:"๐•Ž",wp:"โ„˜",wr:"โ‰€",wreath:"โ‰€",wscr:"๐“Œ",Wscr:"๐’ฒ",xcap:"โ‹‚",xcirc:"โ—ฏ",xcup:"โ‹ƒ",xdtri:"โ–ฝ",xfr:"๐”ต",Xfr:"๐”›",xharr:"โŸท",xhArr:"โŸบ",xi:"ฮพ",Xi:"ฮž",xlarr:"โŸต",xlArr:"โŸธ",xmap:"โŸผ",xnis:"โ‹ป",xodot:"โจ€",xopf:"๐•ฉ",Xopf:"๐•",xoplus:"โจ",xotime:"โจ‚",xrarr:"โŸถ",xrArr:"โŸน",xscr:"๐“",Xscr:"๐’ณ",xsqcup:"โจ†",xuplus:"โจ„",xutri:"โ–ณ",xvee:"โ‹",xwedge:"โ‹€",yacute:"รฝ",Yacute:"ร",yacy:"ั",YAcy:"ะฏ",ycirc:"ลท",Ycirc:"ลถ",ycy:"ั‹",Ycy:"ะซ",yen:"ยฅ",yfr:"๐”ถ",Yfr:"๐”œ",yicy:"ั—",YIcy:"ะ‡",yopf:"๐•ช",Yopf:"๐•",yscr:"๐“Ž",Yscr:"๐’ด",yucy:"ัŽ",YUcy:"ะฎ",yuml:"รฟ",Yuml:"ลธ",zacute:"ลบ",Zacute:"ลน",zcaron:"ลพ",Zcaron:"ลฝ",zcy:"ะท",Zcy:"ะ—",zdot:"ลผ",Zdot:"ลป",zeetrf:"โ„จ",ZeroWidthSpace:"โ€‹",zeta:"ฮถ",Zeta:"ฮ–",zfr:"๐”ท",Zfr:"โ„จ",zhcy:"ะถ",ZHcy:"ะ–",zigrarr:"โ‡",zopf:"๐•ซ",Zopf:"โ„ค",zscr:"๐“",Zscr:"๐’ต",zwj:"โ€",zwnj:"โ€Œ"},y={aacute:"รก",Aacute:"ร",acirc:"รข",Acirc:"ร‚",acute:"ยด",aelig:"รฆ",AElig:"ร†",agrave:"ร ",Agrave:"ร€",amp:"&",AMP:"&",aring:"รฅ",Aring:"ร…",atilde:"รฃ",Atilde:"รƒ",auml:"รค",Auml:"ร„",brvbar:"ยฆ",ccedil:"รง",Ccedil:"ร‡",cedil:"ยธ",cent:"ยข",copy:"ยฉ",COPY:"ยฉ",curren:"ยค",deg:"ยฐ",divide:"รท",eacute:"รฉ",Eacute:"ร‰",ecirc:"รช",Ecirc:"รŠ",egrave:"รจ",Egrave:"รˆ",eth:"รฐ",ETH:"ร",euml:"รซ",Euml:"ร‹",frac12:"ยฝ",frac14:"ยผ",frac34:"ยพ",gt:">",GT:">",iacute:"รญ",Iacute:"ร",icirc:"รฎ",Icirc:"รŽ",iexcl:"ยก",igrave:"รฌ",Igrave:"รŒ",iquest:"ยฟ",iuml:"รฏ",Iuml:"ร",laquo:"ยซ",lt:"<",LT:"<",macr:"ยฏ",micro:"ยต",middot:"ยท",nbsp:"ย ",not:"ยฌ",ntilde:"รฑ",Ntilde:"ร‘",oacute:"รณ",Oacute:"ร“",ocirc:"รด",Ocirc:"ร”",ograve:"รฒ",Ograve:"ร’",ordf:"ยช",ordm:"ยบ",oslash:"รธ",Oslash:"ร˜",otilde:"รต",Otilde:"ร•",ouml:"รถ",Ouml:"ร–",para:"ยถ",plusmn:"ยฑ",pound:"ยฃ",quot:'"',QUOT:'"',raquo:"ยป",reg:"ยฎ",REG:"ยฎ",sect:"ยง",shy:"ยญ",sup1:"ยน",sup2:"ยฒ",sup3:"ยณ",szlig:"รŸ",thorn:"รพ",THORN:"รž",times:"ร—",uacute:"รบ",Uacute:"รš",ucirc:"รป",Ucirc:"ร›",ugrave:"รน",Ugrave:"ร™",uml:"ยจ",uuml:"รผ",Uuml:"รœ",yacute:"รฝ",Yacute:"ร",yen:"ยฅ",yuml:"รฟ"},b={0:"๏ฟฝ",128:"โ‚ฌ",130:"โ€š",131:"ฦ’",132:"โ€ž",133:"โ€ฆ",134:"โ€ ",135:"โ€ก",136:"ห†",137:"โ€ฐ",138:"ล ",139:"โ€น",140:"ล’",142:"ลฝ",145:"โ€˜",146:"โ€™",147:"โ€œ",148:"โ€",149:"โ€ข",150:"โ€“",151:"โ€”",152:"หœ",153:"โ„ข",154:"ลก",155:"โ€บ",156:"ล“",158:"ลพ",159:"ลธ"},v=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],w=String.fromCharCode,_={}.hasOwnProperty,A=function(t,e){return _.call(t,e)},x=function(t,e){if(!t)return e;var r,n={};for(r in e)n[r]=A(t,r)?t[r]:e[r];return n},C=function(t,e){var r="";return t>=55296&&t<=57343||t>1114111?(e&&T("character reference outside the permissible Unicode range"),"๏ฟฝ"):A(b,t)?(e&&T("disallowed character reference"),b[t]):(e&&function(t,e){for(var r=-1,n=t.length;++r65535&&(r+=w((t-=65536)>>>10&1023|55296),t=56320|1023&t),r+=w(t))},E=function(t){return"&#x"+t.toString(16).toUpperCase()+";"},S=function(t){return"&#"+t+";"},T=function(t){throw Error("Parse error: "+t)},I=function(t,e){(e=x(e,I.options)).strict&&p.test(t)&&T("forbidden code point");var r=e.encodeEverything,n=e.useNamedReferences,i=e.allowUnsafeSymbols,o=e.decimal?S:E,h=function(t){return o(t.charCodeAt(0))};return r?(t=t.replace(s,(function(t){return n&&A(c,t)?"&"+c[t]+";":h(t)})),n&&(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(t=t.replace(u,(function(t){return"&"+c[t]+";"})))):n?(i||(t=t.replace(d,(function(t){return"&"+c[t]+";"}))),t=(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(u,(function(t){return"&"+c[t]+";"}))):i||(t=t.replace(d,h)),t.replace(a,(function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1);return o(1024*(e-55296)+r-56320+65536)})).replace(l,h)};I.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var D=function(t,e){var r=(e=x(e,D.options)).strict;return r&&f.test(t)&&T("malformed character reference"),t.replace(g,(function(t,n,i,o,a,s,l,u,c){var d,h,f,p,g,b;return n?m[g=n]:i?(g=i,(b=o)&&e.isAttributeValue?(r&&"="==b&&T("`&` did not start a character reference"),t):(r&&T("named character reference was not terminated by a semicolon"),y[g]+(b||""))):a?(f=a,h=s,r&&!h&&T("character reference was not terminated by a semicolon"),d=parseInt(f,10),C(d,r)):l?(p=l,h=u,r&&!h&&T("character reference was not terminated by a semicolon"),d=parseInt(p,16),C(d,r)):(r&&T("named character reference was not terminated by a semicolon"),t)}))};D.options={isAttributeValue:!1,strict:!1};var O={version:"1.2.0",encode:I,decode:D,escape:function(t){return t.replace(d,(function(t){return h[t]}))},unescape:D};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define((function(){return O}));else if(n&&!n.nodeType)if(i)i.exports=O;else for(var R in O)A(O,R)&&(n[R]=O[R]);else t.he=O}(this)}}},{package:"he",file:"node_modules/he/he.js"}],[4634,{"./umd/history.development.js":4635,"./umd/history.production.min.js":4636},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=t("./umd/history.production.min.js")}}},{package:"history",file:"node_modules/history/main.js"}],[4635,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){!function(t,n){"object"==typeof r&&void 0!==e?n(r):"function"==typeof define&&define.amd?define(["exports"],n):n((t="undefined"!=typeof globalThis?globalThis:t||self).HistoryLibrary={})}(this,(function(t){function e(){return e=Object.assign||function(t){for(var e=1;e=0&&(e.hash=t.substr(r),t=t.substr(0,r));var n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}t.createBrowserHistory=function(r){void 0===r&&(r={});var s=r.window,f=void 0===s?document.defaultView:s,p=f.history;function g(){var t=f.location,e=t.pathname,r=t.search,i=t.hash,o=p.state||{};return[o.idx,n({pathname:e,search:r,hash:i,state:o.usr||null,key:o.key||"default"})]}var m=null;f.addEventListener(a,(function(){if(m)A.call(m),m=null;else{var e=t.Action.Pop,r=g(),n=r[0],o=r[1];if(A.length)if(null!=n){var a=v-n;a&&(m={action:e,location:o,retry:function(){I(-1*a)}},I(a))}else i(!1,"You are trying to block a POP navigation to a location that was not created by the history library. The block will fail silently in production, but in general you should do all navigation with the history library (instead of using window.history.pushState directly) to avoid this situation.");else T(e)}}));var y=t.Action.Pop,b=g(),v=b[0],w=b[1],_=u(),A=u();function x(t){return"string"==typeof t?t:d(t)}function C(t,r){return void 0===r&&(r=null),n(e({pathname:w.pathname,hash:"",search:""},"string"==typeof t?h(t):t,{state:r,key:c()}))}function E(t,e){return[{usr:t.state,key:t.key,idx:e},x(t)]}function S(t,e,r){return!A.length||(A.call({action:t,location:e,retry:r}),!1)}function T(t){y=t;var e=g();v=e[0],w=e[1],_.call({action:y,location:w})}function I(t){p.go(t)}return null==v&&(v=0,p.replaceState(e({},p.state,{idx:v}),"")),{get action(){return y},get location(){return w},createHref:x,push:function e(r,n){var i=t.Action.Push,o=C(r,n);if(S(i,o,(function(){e(r,n)}))){var a=E(o,v+1),s=a[0],l=a[1];try{p.pushState(s,"",l)}catch(t){f.location.assign(l)}T(i)}},replace:function e(r,n){var i=t.Action.Replace,o=C(r,n);if(S(i,o,(function(){e(r,n)}))){var a=E(o,v),s=a[0],l=a[1];p.replaceState(s,"",l),T(i)}},go:I,back:function(){I(-1)},forward:function(){I(1)},listen:function(t){return _.push(t)},block:function(t){var e=A.push(t);return 1===A.length&&f.addEventListener(o,l),function(){e(),A.length||f.removeEventListener(o,l)}}}},t.createHashHistory=function(r){void 0===r&&(r={});var s=r.window,f=void 0===s?document.defaultView:s,p=f.history;function g(){var t=h(f.location.hash.substr(1)),e=t.pathname,r=void 0===e?"/":e,i=t.search,o=void 0===i?"":i,a=t.hash,s=void 0===a?"":a,l=p.state||{};return[l.idx,n({pathname:r,search:o,hash:s,state:l.usr||null,key:l.key||"default"})]}var m=null;function y(){if(m)x.call(m),m=null;else{var e=t.Action.Pop,r=g(),n=r[0],o=r[1];if(x.length)if(null!=n){var a=w-n;a&&(m={action:e,location:o,retry:function(){D(-1*a)}},D(a))}else i(!1,"You are trying to block a POP navigation to a location that was not created by the history library. The block will fail silently in production, but in general you should do all navigation with the history library (instead of using window.history.pushState directly) to avoid this situation.");else I(e)}}f.addEventListener(a,y),f.addEventListener("hashchange",(function(){d(g()[1])!==d(_)&&y()}));var b=t.Action.Pop,v=g(),w=v[0],_=v[1],A=u(),x=u();function C(t){return function(){var t=document.querySelector("base"),e="";if(t&&t.getAttribute("href")){var r=f.location.href,n=r.indexOf("#");e=-1===n?r:r.slice(0,n)}return e}()+"#"+("string"==typeof t?t:d(t))}function E(t,r){return void 0===r&&(r=null),n(e({pathname:_.pathname,hash:"",search:""},"string"==typeof t?h(t):t,{state:r,key:c()}))}function S(t,e){return[{usr:t.state,key:t.key,idx:e},C(t)]}function T(t,e,r){return!x.length||(x.call({action:t,location:e,retry:r}),!1)}function I(t){b=t;var e=g();w=e[0],_=e[1],A.call({action:b,location:_})}function D(t){p.go(t)}return null==w&&(w=0,p.replaceState(e({},p.state,{idx:w}),"")),{get action(){return b},get location(){return _},createHref:C,push:function e(r,n){var o=t.Action.Push,a=E(r,n);if(i("/"===a.pathname.charAt(0),"Relative pathnames are not supported in hash history.push("+JSON.stringify(r)+")"),T(o,a,(function(){e(r,n)}))){var s=S(a,w+1),l=s[0],u=s[1];try{p.pushState(l,"",u)}catch(t){f.location.assign(u)}I(o)}},replace:function e(r,n){var o=t.Action.Replace,a=E(r,n);if(i("/"===a.pathname.charAt(0),"Relative pathnames are not supported in hash history.replace("+JSON.stringify(r)+")"),T(o,a,(function(){e(r,n)}))){var s=S(a,w),l=s[0],u=s[1];p.replaceState(l,"",u),I(o)}},go:D,back:function(){D(-1)},forward:function(){D(1)},listen:function(t){return A.push(t)},block:function(t){var e=x.push(t);return 1===x.length&&f.addEventListener(o,l),function(){e(),x.length||f.removeEventListener(o,l)}}}},t.createMemoryHistory=function(r){void 0===r&&(r={});var o=r,a=o.initialEntries,l=void 0===a?["/"]:a,f=o.initialIndex,p=l.map((function(t){var r=n(e({pathname:"/",search:"",hash:"",state:null,key:c()},"string"==typeof t?h(t):t));return i("/"===r.pathname.charAt(0),"Relative pathnames are not supported in createMemoryHistory({ initialEntries }) (invalid entry: "+JSON.stringify(t)+")"),r})),g=s(null==f?p.length-1:f,0,p.length-1),m=t.Action.Pop,y=p[g],b=u(),v=u();function w(t,r){return void 0===r&&(r=null),n(e({pathname:y.pathname,search:"",hash:""},"string"==typeof t?h(t):t,{state:r,key:c()}))}function _(t,e,r){return!v.length||(v.call({action:t,location:e,retry:r}),!1)}function A(t,e){m=t,y=e,b.call({action:m,location:y})}function x(e){var r=s(g+e,0,p.length-1),n=t.Action.Pop,i=p[r];_(n,i,(function(){x(e)}))&&(g=r,A(n,i))}return{get index(){return g},get action(){return m},get location(){return y},createHref:function(t){return"string"==typeof t?t:d(t)},push:function e(r,n){var o=t.Action.Push,a=w(r,n);i("/"===y.pathname.charAt(0),"Relative pathnames are not supported in memory history.push("+JSON.stringify(r)+")"),_(o,a,(function(){e(r,n)}))&&(g+=1,p.splice(g,p.length,a),A(o,a))},replace:function e(r,n){var o=t.Action.Replace,a=w(r,n);i("/"===y.pathname.charAt(0),"Relative pathnames are not supported in memory history.replace("+JSON.stringify(r)+")"),_(o,a,(function(){e(r,n)}))&&(p[g]=a,A(o,a))},go:x,back:function(){x(-1)},forward:function(){x(1)},listen:function(t){return b.push(t)},block:function(t){return v.push(t)}}},t.createPath=d,t.parsePath=h,Object.defineProperty(t,"__esModule",{value:!0})}))}}},{package:"history",file:"node_modules/history/umd/history.development.js"}],[4636,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i;n=this,i=function(t){function e(){return(e=Object.assign||function(t){for(var e=1;e=0&&(e.hash=t.substr(r),t=t.substr(0,r));var n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}t.createBrowserHistory=function(r){void 0===r&&(r={});var o=r.window,d=void 0===o?document.defaultView:o,h=d.history;function f(){var t=d.location,e=t.pathname,r=t.search,n=t.hash,i=h.state||{};return[i.idx,{pathname:e,search:r,hash:n,state:i.usr||null,key:i.key||"default"}]}var p=null;d.addEventListener(i,(function(){if(p)w.call(p),p=null;else{var e=t.Action.Pop,r=f(),n=r[0],i=r[1];if(w.length){if(null!=n){var o=y-n;o&&(p={action:e,location:i,retry:function(){S(-1*o)}},S(o))}}else E(e)}}));var g=t.Action.Pop,m=f(),y=m[0],b=m[1],v=s(),w=s();function _(t){return"string"==typeof t?t:u(t)}function A(t,r){return void 0===r&&(r=null),e({pathname:b.pathname,hash:"",search:""},"string"==typeof t?c(t):t,{state:r,key:l()})}function x(t,e){return[{usr:t.state,key:t.key,idx:e},_(t)]}function C(t,e,r){return!w.length||(w.call({action:t,location:e,retry:r}),!1)}function E(t){g=t;var e=f();y=e[0],b=e[1],v.call({action:g,location:b})}function S(t){h.go(t)}return null==y&&(y=0,h.replaceState(e({},h.state,{idx:y}),"")),{get action(){return g},get location(){return b},createHref:_,push:function e(r,n){var i=t.Action.Push,o=A(r,n);if(C(i,o,(function(){e(r,n)}))){var a=x(o,y+1),s=a[0],l=a[1];try{h.pushState(s,"",l)}catch(t){d.location.assign(l)}E(i)}},replace:function e(r,n){var i=t.Action.Replace,o=A(r,n);if(C(i,o,(function(){e(r,n)}))){var a=x(o,y),s=a[0],l=a[1];h.replaceState(s,"",l),E(i)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(t){return v.push(t)},block:function(t){var e=w.push(t);return 1===w.length&&d.addEventListener(n,a),function(){e(),w.length||d.removeEventListener(n,a)}}}},t.createHashHistory=function(r){void 0===r&&(r={});var o=r.window,d=void 0===o?document.defaultView:o,h=d.history;function f(){var t=c(d.location.hash.substr(1)),e=t.pathname,r=void 0===e?"/":e,n=t.search,i=void 0===n?"":n,o=t.hash,a=void 0===o?"":o,s=h.state||{};return[s.idx,{pathname:r,search:i,hash:a,state:s.usr||null,key:s.key||"default"}]}var p=null;function g(){if(p)_.call(p),p=null;else{var e=t.Action.Pop,r=f(),n=r[0],i=r[1];if(_.length){if(null!=n){var o=b-n;o&&(p={action:e,location:i,retry:function(){T(-1*o)}},T(o))}}else S(e)}}d.addEventListener(i,g),d.addEventListener("hashchange",(function(){u(f()[1])!==u(v)&&g()}));var m=t.Action.Pop,y=f(),b=y[0],v=y[1],w=s(),_=s();function A(t){return function(){var t=document.querySelector("base"),e="";if(t&&t.getAttribute("href")){var r=d.location.href,n=r.indexOf("#");e=-1===n?r:r.slice(0,n)}return e}()+"#"+("string"==typeof t?t:u(t))}function x(t,r){return void 0===r&&(r=null),e({pathname:v.pathname,hash:"",search:""},"string"==typeof t?c(t):t,{state:r,key:l()})}function C(t,e){return[{usr:t.state,key:t.key,idx:e},A(t)]}function E(t,e,r){return!_.length||(_.call({action:t,location:e,retry:r}),!1)}function S(t){m=t;var e=f();b=e[0],v=e[1],w.call({action:m,location:v})}function T(t){h.go(t)}return null==b&&(b=0,h.replaceState(e({},h.state,{idx:b}),"")),{get action(){return m},get location(){return v},createHref:A,push:function e(r,n){var i=t.Action.Push,o=x(r,n);if(E(i,o,(function(){e(r,n)}))){var a=C(o,b+1),s=a[0],l=a[1];try{h.pushState(s,"",l)}catch(t){d.location.assign(l)}S(i)}},replace:function e(r,n){var i=t.Action.Replace,o=x(r,n);if(E(i,o,(function(){e(r,n)}))){var a=C(o,b),s=a[0],l=a[1];h.replaceState(s,"",l),S(i)}},go:T,back:function(){T(-1)},forward:function(){T(1)},listen:function(t){return w.push(t)},block:function(t){var e=_.push(t);return 1===_.length&&d.addEventListener(n,a),function(){e(),_.length||d.removeEventListener(n,a)}}}},t.createMemoryHistory=function(r){void 0===r&&(r={});var n=r,i=n.initialEntries,a=void 0===i?["/"]:i,d=n.initialIndex,h=a.map((function(t){return e({pathname:"/",search:"",hash:"",state:null,key:l()},"string"==typeof t?c(t):t)})),f=o(null==d?h.length-1:d,0,h.length-1),p=t.Action.Pop,g=h[f],m=s(),y=s();function b(t,r){return void 0===r&&(r=null),e({pathname:g.pathname,search:"",hash:""},"string"==typeof t?c(t):t,{state:r,key:l()})}function v(t,e,r){return!y.length||(y.call({action:t,location:e,retry:r}),!1)}function w(t,e){p=t,g=e,m.call({action:p,location:g})}function _(e){var r=o(f+e,0,h.length-1),n=t.Action.Pop,i=h[r];v(n,i,(function(){_(e)}))&&(f=r,w(n,i))}return{get index(){return f},get action(){return p},get location(){return g},createHref:function(t){return"string"==typeof t?t:u(t)},push:function e(r,n){var i=t.Action.Push,o=b(r,n);v(i,o,(function(){e(r,n)}))&&(f+=1,h.splice(f,h.length,o),w(i,o))},replace:function e(r,n){var i=t.Action.Replace,o=b(r,n);v(i,o,(function(){e(r,n)}))&&(h[f]=o,w(i,o))},go:_,back:function(){_(-1)},forward:function(){_(1)},listen:function(t){return m.push(t)},block:function(t){return y.push(t)}}},t.createPath=u,t.parsePath=c,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof r&&void 0!==e?i(r):"function"==typeof define&&define.amd?define(["exports"],i):i((n="undefined"!=typeof globalThis?globalThis:n||self).HistoryLibrary={})}}},{package:"history",file:"node_modules/history/umd/history.production.min.js"}],[4641,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=/[A-Z]/g,i=/^ms-/,o={};function a(t){return"-"+t.toLowerCase()}e.exports=function(t){if(o.hasOwnProperty(t))return o[t];var e=t.replace(n,a);return o[t]=i.test(e)?"-"+e:e}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-camel-case>hyphenate-style-name",file:"node_modules/hyphenate-style-name/index.cjs.js"}],[4651,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,o=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g,d="";function h(t){return t?t.replace(c,d):d}e.exports=function(t,e){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var r=1,c=1;function f(t){var e=t.match(i);e&&(r+=e.length);var n=t.lastIndexOf("\n");c=~n?t.length-n:c+t.length}function p(){var t={line:r,column:c};return function(e){return e.position=new g(t),v(),e}}function g(t){this.start=t,this.end={line:r,column:c},this.source=e.source}g.prototype.content=t;var m=[];function y(n){var i=new Error(e.source+":"+r+":"+c+": "+n);if(i.reason=n,i.filename=e.source,i.line=r,i.column=c,i.source=t,!e.silent)throw i;m.push(i)}function b(e){var r=e.exec(t);if(r){var n=r[0];return f(n),t=t.slice(n.length),r}}function v(){b(o)}function w(t){var e;for(t=t||[];e=_();)!1!==e&&t.push(e);return t}function _(){var e=p();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var r=2;d!=t.charAt(r)&&("*"!=t.charAt(r)||"/"!=t.charAt(r+1));)++r;if(r+=2,d===t.charAt(r-1))return y("End of comment missing");var n=t.slice(2,r-2);return c+=2,f(n),t=t.slice(r),c+=2,e({type:"comment",comment:n})}}function A(){var t=p(),e=b(a);if(e){if(_(),!b(s))return y("property missing ':'");var r=b(l),i=t({type:"declaration",property:h(e[0].replace(n,d)),value:r?h(r[0].replace(n,d)):d});return b(u),i}}return v(),function(){var t,e=[];for(w(e);t=A();)!1!==t&&(e.push(t),w(e));return e}()}}}},{package:"react-markdown>style-to-object>inline-style-parser",file:"node_modules/inline-style-parser/index.js"}],[4652,{"es-errors/type":4270,hasown:4631,"side-channel":5579},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("hasown"),i=t("side-channel")(),o=t("es-errors/type"),a={assert:function(t,e){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`O` is not an object");if("string"!=typeof e)throw new o("`slot` must be a string");if(i.assert(t),!a.has(t,e))throw new o("`"+e+"` is not present on `O`")},get:function(t,e){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`O` is not an object");if("string"!=typeof e)throw new o("`slot` must be a string");var r=i.get(t);return r&&r["$"+e]},has:function(t,e){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`O` is not an object");if("string"!=typeof e)throw new o("`slot` must be a string");var r=i.get(t);return!!r&&n(r,"$"+e)},set:function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new o("`O` is not an object");if("string"!=typeof e)throw new o("`slot` must be a string");var n=i.get(t);n||(n={},i.set(t,n)),n["$"+e]=r}};Object.freeze&&Object.freeze(a),e.exports=a}}},{package:"string.prototype.matchall>internal-slot",file:"node_modules/internal-slot/index.js"}],[4654,{"call-bind":4090,"call-bind/callBound":4089,"get-intrinsic":4479},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("call-bind"),i=t("call-bind/callBound"),o=t("get-intrinsic")("%ArrayBuffer%",!0),a=i("ArrayBuffer.prototype.byteLength",!0),s=i("Object.prototype.toString"),l=!!o&&!a&&new o(0).slice,u=!!l&&n(l);e.exports=a||u?function(t){if(!t||"object"!=typeof t)return!1;try{return a?a(t):u(t,0),!0}catch(t){return!1}}:o?function(t){return"[object ArrayBuffer]"===s(t)}:function(t){return!1}}}},{package:"string.prototype.matchall>es-abstract>is-array-buffer",file:"node_modules/is-array-buffer/index.js"}],[4655,{"has-bigints":4613},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){if(t("has-bigints")()){var n=BigInt.prototype.valueOf;e.exports=function(t){return null!=t&&"boolean"!=typeof t&&"string"!=typeof t&&"number"!=typeof t&&"symbol"!=typeof t&&"function"!=typeof t&&("bigint"==typeof t||function(t){try{return n.call(t),!0}catch(t){}return!1}(t))}}else e.exports=function(t){return!1}}}},{package:"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-bigint",file:"node_modules/is-bigint/index.js"}],[4656,{"call-bind/callBound":4089,"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("call-bind/callBound"),i=n("Boolean.prototype.toString"),o=n("Object.prototype.toString"),a=t("has-tostringtag/shams")();e.exports=function(t){return"boolean"==typeof t||null!==t&&"object"==typeof t&&(a&&Symbol.toStringTag in t?function(t){try{return i(t),!0}catch(t){return!1}}(t):"[object Boolean]"===o(t))}}}},{package:"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-boolean-object",file:"node_modules/is-boolean-object/index.js"}],[4659,{"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=Date.prototype.getDay,i=Object.prototype.toString,o=t("has-tostringtag/shams")();e.exports=function(t){return"object"==typeof t&&null!==t&&(o?function(t){try{return n.call(t),!0}catch(t){return!1}}(t):"[object Date]"===i.call(t))}}}},{package:"@metamask/eth-token-tracker>deep-equal>is-date-object",file:"node_modules/is-date-object/index.js"}],[4663,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=r.isBrowser="object"===("undefined"==typeof window?"undefined":n(window))&&"object"===("undefined"==typeof document?"undefined":n(document))&&9===document.nodeType;r.default=i}}},{package:"@material-ui/core>@material-ui/styles>jss>is-in-browser",file:"node_modules/is-in-browser/dist/index.js"}],[4664,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;i||(n=function(t){return!1});var a=i?Map.prototype.has:null,s=o?Set.prototype.has:null;n||a||(n=function(t){return!1}),e.exports=n||function(t){if(!t||"object"!=typeof t)return!1;try{if(a.call(t),s)try{s.call(t)}catch(t){return!0}return t instanceof i}catch(t){}return!1}}}},{package:"@metamask/eth-token-tracker>deep-equal>es-get-iterator>is-map",file:"node_modules/is-map/index.js"}],[4665,{"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=Number.prototype.toString,i=Object.prototype.toString,o=t("has-tostringtag/shams")();e.exports=function(t){return"number"==typeof t||"object"==typeof t&&(o?function(t){try{return n.call(t),!0}catch(t){return!1}}(t):"[object Number]"===i.call(t))}}}},{package:"@metamask/eth-token-tracker>deep-equal>which-boxed-primitive>is-number-object",file:"node_modules/is-number-object/index.js"}],[4666,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){e.exports=t=>{if("[object Object]"!==Object.prototype.toString.call(t))return!1;const e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}}}},{package:"mocha>yargs-unparser>is-plain-obj",file:"node_modules/is-plain-obj/index.js"}],[4667,{"call-bind/callBound":4089,"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i,o,a,s=t("call-bind/callBound"),l=t("has-tostringtag/shams")();if(l){n=s("Object.prototype.hasOwnProperty"),i=s("RegExp.prototype.exec"),o={};var u=function(){throw o};a={toString:u,valueOf:u},"symbol"==typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=u)}var c=s("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=l?function(t){if(!t||"object"!=typeof t)return!1;var e=d(t,"lastIndex");if(!(e&&n(e,"value")))return!1;try{i(t,a)}catch(t){return t===o}}:function(t){return!(!t||"object"!=typeof t&&"function"!=typeof t)&&"[object RegExp]"===c(t)}}}},{package:"string.prototype.matchall>es-abstract>is-regex",file:"node_modules/is-regex/index.js"}],[4669,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i="function"==typeof Map&&Map.prototype?Map:null,o="function"==typeof Set&&Set.prototype?Set:null;o||(n=function(t){return!1});var a=i?Map.prototype.has:null,s=o?Set.prototype.has:null;n||s||(n=function(t){return!1}),e.exports=n||function(t){if(!t||"object"!=typeof t)return!1;try{if(s.call(t),a)try{a.call(t)}catch(t){return!0}return t instanceof o}catch(t){}return!1}}}},{package:"@metamask/eth-token-tracker>deep-equal>es-get-iterator>is-set",file:"node_modules/is-set/index.js"}],[4670,{"call-bind/callBound":4089},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("call-bind/callBound")("SharedArrayBuffer.prototype.byteLength",!0);e.exports=n?function(t){if(!t||"object"!=typeof t)return!1;try{return n(t),!0}catch(t){return!1}}:function(t){return!1}}}},{package:"string.prototype.matchall>es-abstract>is-shared-array-buffer",file:"node_modules/is-shared-array-buffer/index.js"}],[4671,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){const n=t=>null!==t&&"object"==typeof t&&"function"==typeof t.pipe;n.writable=t=>n(t)&&!1!==t.writable&&"function"==typeof t._write&&"object"==typeof t._writableState,n.readable=t=>n(t)&&!1!==t.readable&&"function"==typeof t._read&&"object"==typeof t._readableState,n.duplex=t=>n.writable(t)&&n.readable(t),n.transform=t=>n.duplex(t)&&"function"==typeof t._transform&&"object"==typeof t._transformState,e.exports=n}}},{package:"@metamask/providers>is-stream",file:"node_modules/is-stream/index.js"}],[4672,{"has-tostringtag/shams":4617},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=String.prototype.valueOf,i=Object.prototype.toString,o=t("has-tostringtag/shams")();e.exports=function(t){return"string"==typeof t||"object"==typeof t&&(o?function(t){try{return n.call(t),!0}catch(t){return!1}}(t):"[object String]"===i.call(t))}}}},{package:"eslint-plugin-react>array-includes>is-string",file:"node_modules/is-string/index.js"}],[4673,{"has-symbols":4615},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=Object.prototype.toString;if(t("has-symbols")()){var i=Symbol.prototype.toString,o=/^Symbol\(.*\)$/;e.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==n.call(t))return!1;try{return function(t){return"symbol"==typeof t.valueOf()&&o.test(i.call(t))}(t)}catch(t){return!1}}}else e.exports=function(t){return!1}}}},{package:"string.prototype.matchall>es-abstract>es-to-primitive>is-symbol",file:"node_modules/is-symbol/index.js"}],[4676,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n,i="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,o="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;i||(n=function(t){return!1});var a=i?i.prototype.has:null,s=o?o.prototype.has:null;n||a||(n=function(t){return!1}),e.exports=n||function(t){if(!t||"object"!=typeof t)return!1;try{if(a.call(t,a),s)try{s.call(t,s)}catch(t){return!0}return t instanceof i}catch(t){}return!1}}}},{package:"@metamask/eth-token-tracker>deep-equal>which-collection>is-weakmap",file:"node_modules/is-weakmap/index.js"}],[4677,{"call-bind/callBound":4089,"get-intrinsic":4479},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("get-intrinsic"),i=t("call-bind/callBound"),o=n("%WeakSet%",!0),a=i("WeakSet.prototype.has",!0);if(a){var s=i("WeakMap.prototype.has",!0);e.exports=function(t){if(!t||"object"!=typeof t)return!1;try{if(a(t,a),s)try{s(t,s)}catch(t){return!0}return t instanceof o}catch(t){}return!1}}else e.exports=function(t){return!1}}}},{package:"@metamask/eth-token-tracker>deep-equal>which-collection>is-weakset",file:"node_modules/is-weakset/index.js"}],[4678,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n={}.toString;e.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}}}},{package:"@lavamoat/lavapack>json-stable-stringify>isarray",file:"node_modules/isarray/index.js"}],[4693,{"hyphenate-style-name":4641},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=t("hyphenate-style-name"))&&"object"==typeof n&&"default"in n?n.default:n;function o(t){var e={};for(var r in t){e[0===r.indexOf("--")?r:i(r)]=t[r]}return t.fallbacks&&(Array.isArray(t.fallbacks)?e.fallbacks=t.fallbacks.map(o):e.fallbacks=o(t.fallbacks)),e}r.default=function(){return{onProcessStyle:function(t){if(Array.isArray(t)){for(var e=0;e@material-ui/styles>jss-plugin-camel-case",file:"node_modules/jss-plugin-camel-case/dist/jss-plugin-camel-case.cjs.js"}],[4694,{jss:4700},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("jss"),i=n.hasCSSTOMSupport&&CSS?CSS.px:"px",o=n.hasCSSTOMSupport&&CSS?CSS.ms:"ms",a=n.hasCSSTOMSupport&&CSS?CSS.percent:"%";function s(t){var e=/(-[a-z])/g,r=function(t){return t[1].toUpperCase()},n={};for(var i in t)n[i]=t[i],n[i.replace(e,r)]=t[i];return n}var l=s({"animation-delay":o,"animation-duration":o,"background-position":i,"background-position-x":i,"background-position-y":i,"background-size":i,border:i,"border-bottom":i,"border-bottom-left-radius":i,"border-bottom-right-radius":i,"border-bottom-width":i,"border-left":i,"border-left-width":i,"border-radius":i,"border-right":i,"border-right-width":i,"border-top":i,"border-top-left-radius":i,"border-top-right-radius":i,"border-top-width":i,"border-width":i,margin:i,"margin-bottom":i,"margin-left":i,"margin-right":i,"margin-top":i,padding:i,"padding-bottom":i,"padding-left":i,"padding-right":i,"padding-top":i,"mask-position-x":i,"mask-position-y":i,"mask-size":i,height:i,width:i,"min-height":i,"max-height":i,"min-width":i,"max-width":i,bottom:i,left:i,top:i,right:i,"box-shadow":i,"text-shadow":i,"column-gap":i,"column-rule":i,"column-rule-width":i,"column-width":i,"font-size":i,"font-size-delta":i,"letter-spacing":i,"text-indent":i,"text-stroke":i,"text-stroke-width":i,"word-spacing":i,motion:i,"motion-offset":i,outline:i,"outline-offset":i,"outline-width":i,perspective:i,"perspective-origin-x":a,"perspective-origin-y":a,"transform-origin":a,"transform-origin-x":a,"transform-origin-y":a,"transform-origin-z":a,"transition-delay":o,"transition-duration":o,"vertical-align":i,"flex-basis":i,"shape-margin":i,size:i,grid:i,"grid-gap":i,"grid-row-gap":i,"grid-column-gap":i,"grid-template-rows":i,"grid-template-columns":i,"grid-auto-rows":i,"grid-auto-columns":i,"box-shadow-x":i,"box-shadow-y":i,"box-shadow-blur":i,"box-shadow-spread":i,"font-line-height":i,"text-shadow-x":i,"text-shadow-y":i,"text-shadow-blur":i});function u(t,e,r){if(!e)return e;if(Array.isArray(e))for(var n=0;n@material-ui/styles>jss-plugin-default-unit",file:"node_modules/jss-plugin-default-unit/dist/jss-plugin-default-unit.cjs.js"}],[4695,{"@babel/runtime/helpers/extends":379,jss:4700},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n,i=(n=t("@babel/runtime/helpers/extends"))&&"object"==typeof n&&"default"in n?n.default:n,o=t("jss"),a="@global",s="@global ",l=function(){function t(t,e,r){for(var n in this.type="global",this.at=a,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=t,this.options=r,this.rules=new o.RuleList(i({},r,{parent:this})),e)this.rules.add(n,e[n]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,r){var n=this.rules.add(t,e,r);return this.options.jss.plugins.onProcessRule(n),n},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(){return this.rules.toString()},t}(),u=function(){function t(t,e,r){this.type="global",this.at=a,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=t,this.options=r;var n=t.substr(8);this.rule=r.jss.createRule(n,e,i({},r,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),c=/\s*,\s*/g;function d(t,e){for(var r=t.split(c),n="",i=0;i@material-ui/styles>jss-plugin-global",file:"node_modules/jss-plugin-global/dist/jss-plugin-global.cjs.js"}],[4696,{"@babel/runtime/helpers/extends":379,"tiny-warning":5604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(r,"__esModule",{value:!0});var i=n(t("@babel/runtime/helpers/extends")),o=(n(t("tiny-warning")),/\s*,\s*/g),a=/&/g,s=/\$([\w-]+)/g;r.default=function(){function t(t,e){return function(r,n){var i=t.getRule(n)||e&&e.getRule(n);return i?i.selector:n}}function e(t,e){for(var r=e.split(o),n=t.split(o),i="",s=0;s@material-ui/styles>jss-plugin-nested",file:"node_modules/jss-plugin-nested/dist/jss-plugin-nested.cjs.js"}],[4697,{},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var t=function(t,e){return t.length===e.length?t>e?1:-1:t.length-e.length};return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n={},i=Object.keys(e).sort(t),o=0;o@material-ui/styles>jss-plugin-props-sort",file:"node_modules/jss-plugin-props-sort/dist/jss-plugin-props-sort.cjs.js"}],[4698,{jss:4700,"tiny-warning":5604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});(n=t("tiny-warning"))&&"object"==typeof n&&"default"in n&&n.default;var n,i=t("jss"),o=Date.now(),a="fnValues"+o,s="fnStyle"+ ++o;r.default=function(){return{onCreateRule:function(t,e,r){if("function"!=typeof e)return null;var n=i.createRule(t,{},r);return n[s]=e,n},onProcessStyle:function(t,e){if(a in e||s in e)return t;var r={};for(var n in t){var i=t[n];"function"==typeof i&&(delete t[n],r[n]=i)}return e[a]=r,t},onUpdate:function(t,e,r,n){var i=e,o=i[s];o&&(i.style=o(t)||{});var l=i[a];if(l)for(var u in l)i.prop(u,l[u](t),n)}}}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-rule-value-function",file:"node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.cjs.js"}],[4699,{"css-vendor":4218,jss:4700},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){Object.defineProperty(r,"__esModule",{value:!0});var n=t("css-vendor"),i=t("jss");r.default=function(){function t(e){for(var r in e){var o=e[r];if("fallbacks"===r&&Array.isArray(o))e[r]=o.map(t);else{var a=!1,s=n.supportedProperty(r);s&&s!==r&&(a=!0);var l=!1,u=n.supportedValue(s,i.toCssValue(o));u&&u!==o&&(l=!0),(a||l)&&(a&&delete e[r],e[s||r]=u||o)}}return e}return{onProcessRule:function(t){if("keyframes"===t.type){var e=t;e.at=n.supportedKeyframes(e.at)}},onProcessStyle:function(e,r){return"style"!==r.type?e:t(e)},onChangeValue:function(t,e){return n.supportedValue(e,i.toCssValue(t))||t}}}}}},{package:"@material-ui/core>@material-ui/styles>jss-plugin-vendor-prefixer",file:"node_modules/jss-plugin-vendor-prefixer/dist/jss-plugin-vendor-prefixer.cjs.js"}],[4700,{"@babel/runtime/helpers/assertThisInitialized":374,"@babel/runtime/helpers/createClass":377,"@babel/runtime/helpers/extends":379,"@babel/runtime/helpers/inheritsLoose":382,"@babel/runtime/helpers/objectWithoutPropertiesLoose":391,"is-in-browser":4663,"tiny-warning":5604},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){function n(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(r,"__esModule",{value:!0});var i=n(t("@babel/runtime/helpers/extends")),o=n(t("is-in-browser")),a=n(t("tiny-warning")),s=n(t("@babel/runtime/helpers/createClass")),l=n(t("@babel/runtime/helpers/inheritsLoose")),u=n(t("@babel/runtime/helpers/assertThisInitialized")),c=n(t("@babel/runtime/helpers/objectWithoutPropertiesLoose")),d={}.constructor;function h(t){if(null==t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(h);if(t.constructor!==d)return t;var e={};for(var r in t)e[r]=h(t[r]);return e}function f(t,e,r){void 0===t&&(t="unnamed");var n=r.jss,i=h(e),o=n.plugins.onCreateRule(t,i,r);return o||(t[0],null)}var p=function(t,e){for(var r="",n=0;n<+~=|^:(),"'`\s])/g,v="undefined"!=typeof CSS&&CSS.escape,w=function(t){return v?v(t):t.replace(b,"\\$1")},_=function(){function t(t,e,r){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var n=r.sheet,i=r.Renderer;this.key=t,this.options=r,this.style=e,n?this.renderer=n.renderer:i&&(this.renderer=new i)}return t.prototype.prop=function(t,e,r){if(e===undefined)return this.style[t];var n=!!r&&r.force;if(!n&&this.style[t]===e)return this;var i=e;r&&!1===r.process||(i=this.options.jss.plugins.onChangeValue(e,t,this));var o=null==i||!1===i,a=t in this.style;if(o&&!a&&!n)return this;var s=o&&a;if(s?delete this.style[t]:this.style[t]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,i),this;var l=this.options.sheet;return l&&l.attached,this},t}(),A=function(t){function e(e,r,n){var i;(i=t.call(this,e,r,n)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var o=n.selector,a=n.scoped,s=n.sheet,l=n.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l(u(u(i)),s),i.selectorText="."+w(i.id)),i}l(e,t);var r=e.prototype;return r.applyTo=function(t){var e=this.renderer;if(e){var r=this.toJSON();for(var n in r)e.setProperty(t,n,r[n])}return this},r.toJSON=function(){var t={};for(var e in this.style){var r=this.style[e];"object"!=typeof r?t[e]=r:Array.isArray(r)&&(t[e]=g(r))}return t},r.toString=function(t){var e=this.options.sheet,r=!!e&&e.options.link?i({},t,{allowEmpty:!0}):t;return y(this.selectorText,this.style,r)},s(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,r=this.renderable;if(r&&e)e.setSelector(r,t)||e.replaceRule(r,this)}},get:function(){return this.selectorText}}]),e}(_),x={onCreateRule:function(t,e,r){return"@"===t[0]||r.parent&&"keyframes"===r.parent.type?null:new A(t,e,r)}},C={indent:1,children:!0},E=/@([\w-]+)/,S=function(){function t(t,e,r){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=t,this.query=r.name;var n=t.match(E);for(var o in this.at=n?n[1]:"unknown",this.options=r,this.rules=new K(i({},r,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,r){var n=this.rules.add(t,e,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},e.toString=function(t){if(void 0===t&&(t=C),null==t.indent&&(t.indent=C.indent),null==t.children&&(t.children=C.children),!1===t.children)return this.query+" {}";var e=this.rules.toString(t);return e?this.query+" {\n"+e+"\n}":""},t}(),T=/@media|@supports\s+/,I={onCreateRule:function(t,e,r){return T.test(t)?new S(t,e,r):null}},D={indent:1,children:!0},O=/@keyframes\s+([\w-]+)/,R=function(){function t(t,e,r){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var n=t.match(O);n&&n[1]?this.name=n[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var o=r.scoped,a=r.sheet,s=r.generateId;for(var l in this.id=!1===o?this.name:w(s(this,a)),this.rules=new K(i({},r,{parent:this})),e)this.rules.add(l,e[l],i({},r,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){if(void 0===t&&(t=D),null==t.indent&&(t.indent=D.indent),null==t.children&&(t.children=D.children),!1===t.children)return this.at+" "+this.id+" {}";var e=this.rules.toString(t);return e&&(e="\n"+e+"\n"),this.at+" "+this.id+" {"+e+"}"},t}(),P=/@keyframes\s+/,M=/\$([\w-]+)/g,N=function(t,e){return"string"==typeof t?t.replace(M,(function(t,r){return r in e?e[r]:t})):t},k=function(t,e,r){var n=t[e],i=N(n,r);i!==n&&(t[e]=i)},B={onCreateRule:function(t,e,r){return"string"==typeof t&&P.test(t)?new R(t,e,r):null},onProcessStyle:function(t,e,r){return"style"===e.type&&r?("animation-name"in t&&k(t,"animation-name",r.keyframes),"animation"in t&&k(t,"animation",r.keyframes),t):t},onChangeValue:function(t,e,r){var n=r.options.sheet;if(!n)return t;switch(e){case"animation":case"animation-name":return N(t,n.keyframes);default:return t}}},L=function(t){function e(){for(var e,r=arguments.length,n=new Array(r),i=0;i=this.index)e.push(t);else for(var n=0;nr)return void e.splice(n,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,r=e.attached,n=c(e,["attached"]),i="",o=0;o0){var r=function(t,e){for(var r=0;re.index&&n.options.insertionPoint===e.insertionPoint)return n}return null}(e,t);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(t,e){for(var r=t.length-1;r>=0;r--){var n=t[r];if(n.attached&&n.options.insertionPoint===e.insertionPoint)return n}return null}(e,t),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=t.insertionPoint;if(n&&"string"==typeof n){var i=function(t){for(var e=ut(),r=0;rn)&&(r=n);try{if("insertRule"in t)t.insertRule(e,r);else if("appendRule"in t){t.appendRule(e)}}catch(t){return!1}return t.cssRules[r]},ft=function(){function t(t){this.getPropertyValue=ot,this.setProperty=at,this.removeProperty=st,this.setSelector=lt,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,t&&J.add(t),this.sheet=t;var e,r=this.sheet?this.sheet.options:{},n=r.media,i=r.meta,o=r.element;this.element=o||((e=document.createElement("style")).textContent="\n",e),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),i&&this.element.setAttribute("data-meta",i);var a=dt();a&&this.element.setAttribute("nonce",a)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var r=e.insertionPoint,n=ct(e);if(!1!==n&&n.parent)n.parent.insertBefore(t,n.node);else if(r&&"number"==typeof r.nodeType){var i=r,o=i.parentNode;o&&o.insertBefore(t,i.nextSibling)}else ut().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){var t=this.element.parentNode;t&&t.removeChild(this.element)},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var r=0;r0&&(e.refs--,0===e.refs&&e.sheet.detach()):a(!1,"SheetsManager: can't find sheet to unmanage")},s(t,[{key:"size",get:function(){return this.length}}]),t}(),yt="undefined"!=typeof CSS&&CSS&&"number"in CSS,bt=function(t){return new gt(t)},vt=bt(); /** * A better abstraction over CSS. * * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present * @website https://github.com/cssinjs/jss * @license MIT */r.RuleList=K,r.SheetsManager=mt,r.SheetsRegistry=Q,r.create=bt,r.createGenerateId=nt,r.createRule=f,r.default=vt,r.getDynamicStyles=function t(e){var r=null;for(var n in e){var i=e[n],o=typeof i;if("function"===o)r||(r={}),r[n]=i;else if("object"===o&&null!==i&&!Array.isArray(i)){var a=t(i);a&&(r||(r={}),r[n]=a)}}return r},r.hasCSSTOMSupport=yt,r.sheets=J,r.toCssValue=g}}},{package:"@material-ui/core>@material-ui/styles>jss",file:"node_modules/jss/dist/jss.cjs.js"}],[4718,{"./_MapCache":4715,"./_setCacheAdd":4819,"./_setCacheHas":4820},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(t,e,r){var n=t("./_MapCache"),i=t("./_setCacheAdd"),o=t("./_setCacheHas");function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++ec))return!1;var h=l.get(t),f=l.get(e);if(h&&f)return h==e&&f==t;var p=-1,g=!0,m=2&r?new n:undefined;for(l.set(t,e),l.set(e,t);++p