UNPKG

react-weblineindia-qrcode-scanner

Version:

ReactJS based QR Code Scanner component, allowing you to detect and decode QR codes.

45 lines (26 loc) 149 kB
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var it, normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } /*eslint sort-imports: "warn"*/ /* eslint-disable */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import getDeviceId from './getDeviceId'; import havePropsChanged from './havePropsChanged'; // Require adapter to support older browser implementations require('webrtc-adapter') // Inline worker.js as a string value of workerBlob. // eslint-disable-next-line no-undef var workerBlob = new Blob(["!function(t,e){typeof exports==='object'&&typeof module==='object'?(module.exports=e()):typeof define==='function'&&define.amd?define([],e):typeof exports==='object'?(exports.jsQR=e()):(t.jsQR=e())}(typeof self!=='undefined'?self:this,function(){return(function(t){var e={};function n(o){if(e[o]){return e[o].exports}var r=e[o]={i:o,l:!1,exports:{}};t[o].call(r.exports,r,r.exports,n);r.l=!0;return r.exports}n.m=t;n.c=e;n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:o})};n.n=function(t){var e=t&&t.__esModule?function(){return t['default']}:function(){return t};n.d(e,'a',e);return e};n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};n.p=\"\";return n(n.s=3)})([(function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var o=(function(){function t(t,e){this.width=e;this.height=t.length/e;this.data=t}t.createEmpty=function(e,n){return new t(new Uint8ClampedArray(e*n),e)};t.prototype.get=function(t,e){if(t<0||t>=this.width||e<0||e>=this.height){return!1}return!!this.data[e*this.width+t]};t.prototype.set=function(t,e,n){this.data[e*this.width+t]=n?1:0};t.prototype.setRegion=function(t,e,n,o,r){for(var i=e;i<e+o;i++){for(var u=t;u<t+n;u++)this.set(u,i,!!r)}};return t}());e.BitMatrix=o}),(function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(2);function r(t,e){return t^e}e.addOrSubtractGF=r;var i=(function(){function t(t,e,n){this.primitive=t;this.size=e;this.generatorBase=n;this.expTable=new Array(this.size);this.logTable=new Array(this.size);var r=1;for(var i=0;i<this.size;i++)this.expTable[i]=r,r*=2,r>=this.size&&(r=(r^this.primitive)&this.size-1);for(i=0;i<this.size-1;i++)this.logTable[this.expTable[i]]=i;this.zero=new o.default(this,Uint8ClampedArray.from([0]));this.one=new o.default(this,Uint8ClampedArray.from([1]))}t.prototype.multiply=function(t,e){if(t===0||e===0){return 0}return this.expTable[(this.logTable[t]+this.logTable[e])%(this.size-1)]};t.prototype.inverse=function(t){if(t===0){throw new Error(\"Can't invert 0\")}return this.expTable[this.size-this.logTable[t]-1]};t.prototype.buildMonomial=function(t,e){if(t<0){throw new Error(\"Invalid monomial degree less than 0\")}if(e===0){return this.zero}var n=new Uint8ClampedArray(t+1);n[0]=e;return new o.default(this,n)};t.prototype.log=function(t){if(t===0){throw new Error(\"Can't take log(0)\")}return this.logTable[t]};t.prototype.exp=function(t){return this.expTable[t]};return t}());e.default=i}),(function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(1),r=(function(){function t(t,e){if(e.length===0){throw new Error(\"No coefficients.\")}this.field=t;var n=e.length;if(n>1&&e[0]===0){var o=1;while(o<n&&e[o]===0)o++;if(o===n)this.coefficients=t.zero.coefficients;else{this.coefficients=new Uint8ClampedArray(n-o);for(var r=0;r<this.coefficients.length;r++)this.coefficients[r]=e[o+r]}}else this.coefficients=e}t.prototype.degree=function(){return this.coefficients.length-1};t.prototype.isZero=function(){return this.coefficients[0]===0};t.prototype.getCoefficient=function(t){return this.coefficients[this.coefficients.length-1-t]};t.prototype.addOrSubtract=function(e){var n;if(this.isZero()){return e}if(e.isZero()){return this}var r=this.coefficients,i=e.coefficients;r.length>i.length&&(n=[i,r], r=n[0], i=n[1]);var u=new Uint8ClampedArray(i.length),a=i.length-r.length;for(var f=0;f<a;f++)u[f]=i[f];for(f=a;f<i.length;f++)u[f]=o.addOrSubtractGF(r[f-a],i[f]);return new t(this.field,u)};t.prototype.multiply=function(e){if(e===0){return this.field.zero}if(e===1){return this}var n=this.coefficients.length,o=new Uint8ClampedArray(n);for(var r=0;r<n;r++)o[r]=this.field.multiply(this.coefficients[r],e);return new t(this.field,o)};t.prototype.multiplyPoly=function(e){if(this.isZero()||e.isZero()){return this.field.zero}var n=this.coefficients,r=n.length,i=e.coefficients,u=i.length,a=new Uint8ClampedArray(r+u-1);for(var f=0;f<r;f++){var s=n[f];for(var l=0;l<u;l++)a[f+l]=o.addOrSubtractGF(a[f+l],this.field.multiply(s,i[l]))}return new t(this.field,a)};t.prototype.multiplyByMonomial=function(e,n){if(e<0){throw new Error(\"Invalid degree less than 0\")}if(n===0){return this.field.zero}var o=this.coefficients.length,r=new Uint8ClampedArray(o+e);for(var i=0;i<o;i++)r[i]=this.field.multiply(this.coefficients[i],n);return new t(this.field,r)};t.prototype.evaluateAt=function(t){var e=0;if(t===0){return this.getCoefficient(0)}var n=this.coefficients.length;if(t===1){this.coefficients.forEach(function(t){e=o.addOrSubtractGF(e,t)});return e}e=this.coefficients[0];for(var r=1;r<n;r++)e=o.addOrSubtractGF(this.field.multiply(t,e),this.coefficients[r]);return e};return t}());e.default=r}),(function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(4),r=n(5),i=n(11),u=n(12);function a(t){var e=u.locate(t);if(!e){return null}for(var n=0,o=e;n<o.length;n++){var a=o[n],f=i.extract(t,a),s=r.decode(f.matrix);if(s){return{binaryData:s.bytes,data:s.text,chunks:s.chunks,location:{topRightCorner:f.mappingFunction(a.dimension,0),topLeftCorner:f.mappingFunction(0,0),bottomRightCorner:f.mappingFunction(a.dimension,a.dimension),bottomLeftCorner:f.mappingFunction(0,a.dimension),topRightFinderPattern:a.topRight,topLeftFinderPattern:a.topLeft,bottomLeftFinderPattern:a.bottomLeft,bottomRightAlignmentPattern:a.alignmentPattern}}}}return null}var f={inversionAttempts:\"attemptBoth\"};function s(t,e,n,r){r===void 0&&(r={});var i=f;Object.keys(i||{}).forEach(function(t){i[t]=r[t]||i[t]});var u=i.inversionAttempts===\"attemptBoth\"||i.inversionAttempts===\"invertFirst\",s=i.inversionAttempts===\"onlyInvert\"||i.inversionAttempts===\"invertFirst\",l=o.binarize(t,e,n,u),c=l.binarized,d=l.inverted,p=a(s?d:c);!p&&(i.inversionAttempts===\"attemptBoth\"||i.inversionAttempts===\"invertFirst\")&&(p=a(s?c:d));return p}s.default=s;e.default=s}),(function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(0),r=8,i=24;function u(t,e,n){return t<e?e:t>n?n:t}var a=(function(){function t(t,e){this.width=t;this.data=new Uint8ClampedArray(t*e)}t.prototype.get=function(t,e){return this.data[e*this.width+t]};t.prototype.set=function(t,e,n){this.data[e*this.width+t]=n};return t}());function f(t,e,n,f){if(t.length!==e*n*4){throw new Error(\"Malformed data passed to binarizer.\")}var s=new a(e,n);for(var l=0;l<e;l++){for(var c=0;c<n;c++){var d=t[(c*e+l)*4+0],p=t[(c*e+l)*4+1],m=t[(c*e+l)*4+2];s.set(l,c,.2126*d+.7152*p+.0722*m)}}var y=Math.ceil(e/r),b=Math.ceil(n/r),g=new a(y,b);for(var h=0;h<b;h++){for(var x=0;x<y;x++){var w=0,X=1/0,B=0;for(c=0;c<r;c++){for(l=0;l<r;l++){var v=s.get(x*r+l,h*r+c);w+=v;X=Math.min(X,v);B=Math.max(B,v)}}var z=w/(Math.pow(r,2));if(B-X<=i){z=X/2;if(h>0&&x>0){var S=(g.get(x,h-1)+2*g.get(x-1,h)+g.get(x-1,h-1))/4;X<S&&(z=S)}}g.set(x,h,z)}}var O=o.BitMatrix.createEmpty(e,n),C=null;f&&(C=o.BitMatrix.createEmpty(e,n));for(h=0;h<b;h++){for(x=0;x<y;x++){var M=u(x,2,y-3),P=u(h,2,b-3),w=0;for(var k=-2;k<=2;k++){for(var _=-2;_<=2;_++)w+=g.get(M+k,P+_)}var E=w/25;for(k=0;k<r;k++){for(_=0;_<r;_++){var l=x*r+k,c=h*r+_,I=s.get(l,c);O.set(l,c,I<=E);f&&C.set(l,c,!(I<=E))}}}}if(f){return{binarized:O,inverted:C}}return{binarized:O}}e.binarize=f}),(function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(0),r=n(6),i=n(9),u=n(10);function a(t,e){var n=t^e,o=0;while(n)o++,n&=n-1;return o}function f(t,e){return e<<1|t}var s=[{bits:21522,formatInfo:{errorCorrectionLevel:1,dataMask:0}},{bits:20773,formatInfo:{errorCorrectionLevel:1,dataMask:1}},{bits:24188,formatInfo:{errorCorrectionLevel:1,dataMask:2}},{bits:23371,formatInfo:{errorCorrectionLevel:1,dataMask:3}},{bits:17913,formatInfo:{errorCorrectionLevel:1,dataMask:4}},{bits:16590,formatInfo:{errorCorrectionLevel:1,dataMask:5}},{bits:20375,formatInfo:{errorCorrectionLevel:1,dataMask:6}},{bits:19104,formatInfo:{errorCorrectionLevel:1,dataMask:7}},{bits:30660,formatInfo:{errorCorrectionLevel:0,dataMask:0}},{bits:29427,formatInfo:{errorCorrectionLevel:0,dataMask:1}},{bits:32170,formatInfo:{errorCorrectionLevel:0,dataMask:2}},{bits:30877,formatInfo:{errorCorrectionLevel:0,dataMask:3}},{bits:26159,formatInfo:{errorCorrectionLevel:0,dataMask:4}},{bits:25368,formatInfo:{errorCorrectionLevel:0,dataMask:5}},{bits:27713,formatInfo:{errorCorrectionLevel:0,dataMask:6}},{bits:26998,formatInfo:{errorCorrectionLevel:0,dataMask:7}},{bits:5769,formatInfo:{errorCorrectionLevel:3,dataMask:0}},{bits:5054,formatInfo:{errorCorrectionLevel:3,dataMask:1}},{bits:7399,formatInfo:{errorCorrectionLevel:3,dataMask:2}},{bits:6608,formatInfo:{errorCorrectionLevel:3,dataMask:3}},{bits:1890,formatInfo:{errorCorrectionLevel:3,dataMask:4}},{bits:597,formatInfo:{errorCorrectionLevel:3,dataMask:5}},{bits:3340,formatInfo:{errorCorrectionLevel:3,dataMask:6}},{bits:2107,formatInfo:{errorCorrectionLevel:3,dataMask:7}},{bits:13663,formatInfo:{errorCorrectionLevel:2,dataMask:0}},{bits:12392,formatInfo:{errorCorrectionLevel:2,dataMask:1}},{bits:16177,formatInfo:{errorCorrectionLevel:2,dataMask:2}},{bits:14854,formatInfo:{errorCorrectionLevel:2,dataMask:3}},{bits:9396,formatInfo:{errorCorrectionLevel:2,dataMask:4}},{bits:8579,formatInfo:{errorCorrectionLevel:2,dataMask:5}},{bits:11994,formatInfo:{errorCorrectionLevel:2,dataMask:6}},{bits:11245,formatInfo:{errorCorrectionLevel:2,dataMask:7}}],l=[function(t){return(t.y+t.x)%2===0},function(t){return t.y%2===0},function(t){return t.x%3===0},function(t){return(t.y+t.x)%3===0},function(t){return(Math.floor(t.y/2)+Math.floor(t.x/3))%2===0},function(t){return t.x*t.y%2+t.x*t.y%3===0},function(t){return(t.y*t.x%2+t.y*t.x%3)%2===0},function(t){return((t.y+t.x)%2+t.y*t.x%3)%2===0}];function c(t){var e=17+4*t.versionNumber,n=o.BitMatrix.createEmpty(e,e);n.setRegion(0,0,9,9,!0);n.setRegion(e-8,0,8,9,!0);n.setRegion(0,e-8,9,8,!0);for(var r=0,i=t.alignmentPatternCenters;r<i.length;r++){var u=i[r];for(var a=0,f=t.alignmentPatternCenters;a<f.length;a++){var s=f[a];(u===6&&s===6||u===6&&s===e-7||u===e-7&&s===6)||n.setRegion(u-2,s-2,5,5,!0)}}n.setRegion(6,9,1,e-17,!0);n.setRegion(9,6,e-17,1,!0);t.versionNumber>6&&(n.setRegion(e-11,0,3,6,!0),n.setRegion(0,e-11,6,3,!0));return n}function d(t,e,n){var o=l[n.dataMask],r=t.height,i=c(e),u=[],a=0,s=0,d=!0;for(var p=r-1;p>0;p-=2){p===6&&p--;for(var m=0;m<r;m++){var y=d?r-1-m:m;for(var b=0;b<2;b++){var g=p-b;if(!i.get(g,y)){s++;var h=t.get(g,y);o({y:y,x:g})&&(h=!h);a=f(h,a);s===8&&(u.push(a),s=0,a=0)}}}d=!d}return u}function p(t){var e=t.height,n=Math.floor((e-17)/4);if(n<=6){return u.VERSIONS[n-1]}var o=0;for(var r=5;r>=0;r--){for(var i=e-9;i>=e-11;i--)o=f(t.get(i,r),o)}var s=0;for(i=5;i>=0;i--){for(r=e-9;r>=e-11;r--)s=f(t.get(i,r),s)}var l=1/0,c;for(var d=0,p=u.VERSIONS;d<p.length;d++){var m=p[d];if(m.infoBits===o||m.infoBits===s){return m}var y=a(o,m.infoBits);y<l&&(c=m,l=y);y=a(s,m.infoBits);y<l&&(c=m,l=y)}if(l<=3){return c}}function m(t){var e=0;for(var n=0;n<=8;n++)n!==6&&(e=f(t.get(n,8),e));for(var o=7;o>=0;o--)o!==6&&(e=f(t.get(8,o),e));var r=t.height,i=0;for(o=r-1;o>=r-7;o--)i=f(t.get(8,o),i);for(n=r-8;n<r;n++)i=f(t.get(n,8),i);var u=1/0,l=null;for(var c=0,d=s;c<d.length;c++){var p=d[c],m=p.bits,y=p.formatInfo;if(m===e||m===i){return y}var b=a(e,m);b<u&&(l=y,u=b);e!==i&&(b=a(i,m),b<u&&(l=y,u=b))}if(u<=3){return l}return null}function y(t,e,n){var o=e.errorCorrectionLevels[n],r=[],i=0;o.ecBlocks.forEach(function(t){for(var e=0;e<t.numBlocks;e++)r.push({numDataCodewords:t.dataCodewordsPerBlock,codewords:[]}),i+=t.dataCodewordsPerBlock+o.ecCodewordsPerBlock});if(t.length<i){return null}t=t.slice(0,i);var u=o.ecBlocks[0].dataCodewordsPerBlock;for(var a=0;a<u;a++){for(var f=0,s=r;f<s.length;f++){var l=s[f];l.codewords.push(t.shift())}}if(o.ecBlocks.length>1){var c=o.ecBlocks[0].numBlocks,d=o.ecBlocks[1].numBlocks;for(a=0;a<d;a++)r[c+a].codewords.push(t.shift())}while(t.length>0){for(var p=0,m=r;p<m.length;p++){l=m[p];l.codewords.push(t.shift())}}return r}function b(t){var e=p(t);if(!e){return null}var n=m(t);if(!n){return null}var o=d(t,e,n),u=y(o,e,n.errorCorrectionLevel);if(!u){return null}var a=u.reduce(function(t,e){return t+e.numDataCodewords},0),f=new Uint8ClampedArray(a),s=0;for(var l=0,c=u;l<c.length;l++){var b=c[l],g=i.decode(b.codewords,b.codewords.length-b.numDataCodewords);if(!g){return null}for(var h=0;h<b.numDataCodewords;h++)f[s++]=g[h]}try{return r.decode(f,e.versionNumber)}catch(t){return null}}function g(t){if(t==null){return null}var e=b(t);if(e){return e}for(var n=0;n<t.width;n++){for(var o=n+1;o<t.height;o++)t.get(n,o)!==t.get(o,n)&&(t.set(n,o,!t.get(n,o)),t.set(o,n,!t.get(o,n)))}return b(t)}e.decode=g}),(function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(7),r=n(8),i;!function(t){t.Numeric=\"numeric\";t.Alphanumeric=\"alphanumeric\";t.Byte=\"byte\";t.Kanji=\"kanji\";t.ECI=\"eci\"}(i=e.Mode||(e.Mode={}));var u;!function(t){t[t.Terminator=0]=\"Terminator\";t[t.Numeric=1]=\"Numeric\";t[t.Alphanumeric=2]=\"Alphanumeric\";t[t.Byte=4]=\"Byte\";t[t.Kanji=8]=\"Kanji\";t[t.ECI=7]=\"ECI\"}(u||(u={}));function a(t,e){var n=[],o=\"\",r=[10,12,14][e],i=t.readBits(r);while(i>=3){var u=t.readBits(10);if(u>=1e3){throw new Error(\"Invalid numeric value above 999\")}var a=Math.floor(u/100),f=Math.floor(u/10)%10,s=u%10;n.push(48+a,48+f,48+s);o+=a.toString()+f.toString()+s.toString();i-=3}if(i===2){u=t.readBits(7);if(u>=100){throw new Error(\"Invalid numeric value above 99\")}a=Math.floor(u/10),f=u%10;n.push(48+a,48+f);o+=a.toString()+f.toString()}else if(i===1){u=t.readBits(4);if(u>=10){throw new Error(\"Invalid numeric value above 9\")}n.push(48+u);o+=u.toString()}return{bytes:n,text:o}}var f=[\"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\",\" \",\"$\",\"%\",\"*\",\"+\",\"-\",\".\",\"/\",\":\"];function s(t,e){var n=[],o=\"\",r=[9,11,13][e],i=t.readBits(r);while(i>=2){var u=t.readBits(11),a=Math.floor(u/45),s=u%45;n.push(f[a].charCodeAt(0),f[s].charCodeAt(0));o+=f[a]+f[s];i-=2}if(i===1){a=t.readBits(6);n.push(f[a].charCodeAt(0));o+=f[a]}return{bytes:n,text:o}}function l(t,e){var n=[],o=\"\",r=[8,16,16][e],i=t.readBits(r);for(var u=0;u<i;u++){var a=t.readBits(8);n.push(a)}try{o+=decodeURIComponent(n.map(function(t){return\"%\"+(\"0\"+t.toString(16)).substr(-2)}).join(\"\"))}catch(t){};return{bytes:n,text:o}}function c(t,e){var n=[],o=\"\",i=[8,10,12][e],u=t.readBits(i);for(var a=0;a<u;a++){var f=t.readBits(13),s=Math.floor(f/192)<<8|f%192;s<7936?(s+=33088):(s+=49472);n.push(s>>8,s&255);o+=String.fromCharCode(r.shiftJISTable[s])}return{bytes:n,text:o}}function d(t,e){var n,r,f,d,p=new o.BitStream(t),m=e<=9?0:e<=26?1:2,y={text:\"\",bytes:[],chunks:[]};while(p.available()>=4){var b=p.readBits(4);if(b===u.Terminator){return y}else if(b===u.ECI)p.readBits(1)===0?y.chunks.push({type:i.ECI,assignmentNumber:p.readBits(7)}):p.readBits(1)===0?y.chunks.push({type:i.ECI,assignmentNumber:p.readBits(14)}):p.readBits(1)===0?y.chunks.push({type:i.ECI,assignmentNumber:p.readBits(21)}):y.chunks.push({type:i.ECI,assignmentNumber:-1});else if(b===u.Numeric){var g=a(p,m);y.text+=g.text;(n=y.bytes).push.apply(n,g.bytes);y.chunks.push({type:i.Numeric,text:g.text})}else if(b===u.Alphanumeric){var h=s(p,m);y.text+=h.text;(r=y.bytes).push.apply(r,h.bytes);y.chunks.push({type:i.Alphanumeric,text:h.text})}else if(b===u.Byte){var x=l(p,m);y.text+=x.text;(f=y.bytes).push.apply(f,x.bytes);y.chunks.push({type:i.Byte,bytes:x.bytes,text:x.text})}else if(b===u.Kanji){var w=c(p,m);y.text+=w.text;(d=y.bytes).push.apply(d,w.bytes);y.chunks.push({type:i.Kanji,bytes:w.bytes,text:w.text})}}if(p.available()===0||p.readBits(p.available())===0){return y}}e.decode=d}),(function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var o=(function(){function t(t){this.byteOffset=0;this.bitOffset=0;this.bytes=t}t.prototype.readBits=function(t){if(t<1||t>32||t>this.available()){throw new Error(\"Cannot read \"+t.toString()+\" bits\")}var e=0;if(this.bitOffset>0){var n=8-this.bitOffset,o=t<n?t:n,r=n-o,i=255>>8-o<<r;e=(this.bytes[this.byteOffset]&i)>>r;t-=o;this.bitOffset+=o;this.bitOffset===8&&(this.bitOffset=0,this.byteOffset++)}if(t>0){while(t>=8)e=e<<8|this.bytes[this.byteOffset]&255,this.byteOffset++,t-=8;if(t>0){r=8-t,i=255>>r<<r;e=e<<t|(this.bytes[this.byteOffset]&i)>>r;this.bitOffset+=t}}return e};t.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset};return t}());e.BitStream=o}),(function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});e.shiftJISTable={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:165,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:8254,33088:12288,33089:12289,33090:12290,33091:65292,33092:65294,33093:12539,33094:65306,33095:65307,33096:65311,33097:65281,33098:12443,33099:12444,33100:180,33101:65344,33102:168,33103:65342,33104:65507,33105:65343,33106:12541,33107:12542,33108:12445,33109:12446,33110:12291,33111:20189,33112:12293,33113:12294,33114:12295,33115:12540,33116:8213,33117:8208,33118:65295,33119:92,33120:12316,33121:8214,33122:65372,33123:8230,33124:8229,33125:8216,33126:8217,33127:8220,33128:8221,33129:65288,33130:65289,33131:12308,33132:12309,33133:65339,33134:65341,33135:65371,33136:65373,33137:12296,33138:12297,33139:12298,33140:12299,33141:12300,33142:12301,33143:12302,33144:12303,33145:12304,33146:12305,33147:65291,33148:8722,33149:177,33150:215,33152:247,33153:65309,33154:8800,33155:65308,33156:65310,33157:8806,33158:8807,33159:8734,33160:8756,33161:9794,33162:9792,33163:176,33164:8242,33165:8243,33166:8451,33167:65509,33168:65284,33169:162,33170:163,33171:65285,33172:65283,33173:65286,33174:65290,33175:65312,33176:167,33177:9734,33178:9733,33179:9675,33180:9679,33181:9678,33182:9671,33183:9670,33184:9633,33185:9632,33186:9651,33187:9650,33188:9661,33189:9660,33190:8251,33191:12306,33192:8594,33193:8592,33194:8593,33195:8595,33196:12307,33208:8712,33209:8715,33210:8838,33211:8839,33212:8834,33213:8835,33214:8746,33215:8745,33224:8743,33225:8744,33226:172,33227:8658,33228:8660,33229:8704,33230:8707,33242:8736,33243:8869,33244:8978,33245:8706,33246:8711,33247:8801,33248:8786,33249:8810,33250:8811,33251:8730,33252:8765,33253:8733,33254:8757,33255:8747,33256:8748,33264:8491,33265:8240,33266:9839,33267:9837,33268:9834,33269:8224,33270:8225,33271:182,33276:9711,33359:65296,33360:65297,33361:65298,33362:65299,33363:65300,33364:65301,33365:65302,33366:65303,33367:65304,33368:65305,33376:65313,33377:65314,33378:65315,33379:65316,33380:65317,33381:65318,33382:65319,33383:65320,33384:65321,33385:65322,33386:65323,33387:65324,33388:65325,33389:65326,33390:65327,33391:65328,33392:65329,33393:65330,33394:65331,33395:65332,33396:65333,33397:65334,33398:65335,33399:65336,33400:65337,33401:65338,33409:65345,33410:65346,33411:65347,33412:65348,33413:65349,33414:65350,33415:65351,33416:65352,33417:65353,33418:65354,33419:65355,33420:65356,33421:65357,33422:65358,33423:65359,33424:65360,33425:65361,33426:65362,33427:65363,33428:65364,33429:65365,33430:65366,33431:65367,33432:65368,33433:65369,33434:65370,33439:12353,33440:12354,33441:12355,33442:12356,33443:12357,33444:12358,33445:12359,33446:12360,33447:12361,33448:12362,33449:12363,33450:12364,33451:12365,33452:12366,33453:12367,33454:12368,33455:12369,33456:12370,33457:12371,33458:12372,33459:12373,33460:12374,33461:12375,33462:12376,33463:12377,33464:12378,33465:12379,33466:12380,33467:12381,33468:12382,33469:12383,33470:12384,33471:12385,33472:12386,33473:12387,33474:12388,33475:12389,33476:12390,33477:12391,33478:12392,33479:12393,33480:12394,33481:12395,33482:12396,33483:12397,33484:12398,33485:12399,33486:12400,33487:12401,33488:12402,33489:12403,33490:12404,33491:12405,33492:12406,33493:12407,33494:12408,33495:12409,33496:12410,33497:12411,33498:12412,33499:12413,33500:12414,33501:12415,33502:12416,33503:12417,33504:12418,33505:12419,33506:12420,33507:12421,33508:12422,33509:12423,33510:12424,33511:12425,33512:12426,33513:12427,33514:12428,33515:12429,33516:12430,33517:12431,33518:12432,33519:12433,33520:12434,33521:12435,33600:12449,33601:12450,33602:12451,33603:12452,33604:12453,33605:12454,33606:12455,33607:12456,33608:12457,33609:12458,33610:12459,33611:12460,33612:12461,33613:12462,33614:12463,33615:12464,33616:12465,33617:12466,33618:12467,33619:12468,33620:12469,33621:12470,33622:12471,33623:12472,33624:12473,33625:12474,33626:12475,33627:12476,33628:12477,33629:12478,33630:12479,33631:12480,33632:12481,33633:12482,33634:12483,33635:12484,33636:12485,33637:12486,33638:12487,33639:12488,33640:12489,33641:12490,33642:12491,33643:12492,33644:12493,33645:12494,33646:12495,33647:12496,33648:12497,33649:12498,33650:12499,33651:12500,33652:12501,33653:12502,33654:12503,33655:12504,33656:12505,33657:12506,33658:12507,33659:12508,33660:12509,33661:12510,33662:12511,33664:12512,33665:12513,33666:12514,33667:12515,33668:12516,33669:12517,33670:12518,33671:12519,33672:12520,33673:12521,33674:12522,33675:12523,33676:12524,33677:12525,33678:12526,33679:12527,33680:12528,33681:12529,33682:12530,33683:12531,33684:12532,33685:12533,33686:12534,33695:913,33696:914,33697:915,33698:916,33699:917,33700:918,33701:919,33702:920,33703:921,33704:922,33705:923,33706:924,33707:925,33708:926,33709:927,33710:928,33711:929,33712:931,33713:932,33714:933,33715:934,33716:935,33717:936,33718:937,33727:945,33728:946,33729:947,33730:948,33731:949,33732:950,33733:951,33734:952,33735:953,33736:954,33737:955,33738:956,33739:957,33740:958,33741:959,33742:960,33743:961,33744:963,33745:964,33746:965,33747:966,33748:967,33749:968,33750:969,33856:1040,33857:1041,33858:1042,33859:1043,33860:1044,33861:1045,33862:1025,33863:1046,33864:1047,33865:1048,33866:1049,33867:1050,33868:1051,33869:1052,33870:1053,33871:1054,33872:1055,33873:1056,33874:1057,33875:1058,33876:1059,33877:1060,33878:1061,33879:1062,33880:1063,33881:1064,33882:1065,33883:1066,33884:1067,33885:1068,33886:1069,33887:1070,33888:1071,33904:1072,33905:1073,33906:1074,33907:1075,33908:1076,33909:1077,33910:1105,33911:1078,33912:1079,33913:1080,33914:1081,33915:1082,33916:1083,33917:1084,33918:1085,33920:1086,33921:1087,33922:1088,33923:1089,33924:1090,33925:1091,33926:1092,33927:1093,33928:1094,33929:1095,33930:1096,33931:1097,33932:1098,33933:1099,33934:1100,33935:1101,33936:1102,33937:1103,33951:9472,33952:9474,33953:9484,33954:9488,33955:9496,33956:9492,33957:9500,33958:9516,33959:9508,33960:9524,33961:9532,33962:9473,33963:9475,33964:9487,33965:9491,33966:9499,33967:9495,33968:9507,33969:9523,33970:9515,33971:9531,33972:9547,33973:9504,33974:9519,33975:9512,33976:9527,33977:9535,33978:9501,33979:9520,33980:9509,33981:9528,33982:9538,34975:20124,34976:21782,34977:23043,34978:38463,34979:21696,34980:24859,34981:25384,34982:23030,34983:36898,34984:33909,34985:33564,34986:31312,34987:24746,34988:25569,34989:28197,34990:26093,34991:33894,34992:33446,34993:39925,34994:26771,34995:22311,34996:26017,34997:25201,34998:23451,34999:22992,35000:34427,35001:39156,35002:32098,35003:32190,35004:39822,35005:25110,35006:31903,35007:34999,35008:23433,35009:24245,35010:25353,35011:26263,35012:26696,35013:38343,35014:38797,35015:26447,35016:20197,35017:20234,35018:20301,35019:20381,35020:20553,35021:22258,35022:22839,35023:22996,35024:23041,35025:23561,35026:24799,35027:24847,35028:24944,35029:26131,35030:26885,35031:28858,35032:30031,35033:30064,35034:31227,35035:32173,35036:32239,35037:32963,35038:33806,35039:34915,35040:35586,35041:36949,35042:36986,35043:21307,35044:20117,35045:20133,35046:22495,35047:32946,35048:37057,35049:30959,35050:19968,35051:22769,35052:28322,35053:36920,35054:31282,35055:33576,35056:33419,35057:39983,35058:20801,35059:21360,35060:21693,35061:21729,35062:22240,35063:23035,35064:24341,35065:39154,35066:28139,35067:32996,35068:34093,35136:38498,35137:38512,35138:38560,35139:38907,35140:21515,35141:21491,35142:23431,35143:28879,35144:32701,35145:36802,35146:38632,35147:21359,35148:40284,35149:31418,35150:19985,35151:30867,35152:33276,35153:28198,35154:22040,35155:21764,35156:27421,35157:34074,35158:39995,35159:23013,35160:21417,35161:28006,35162:29916,35163:38287,35164:22082,35165:20113,35166:36939,35167:38642,35168:33615,35169:39180,35170:21473,35171:21942,35172:23344,35173:24433,35174:26144,35175:26355,35176:26628,35177:27704,35178:27891,35179:27945,35180:29787,35181:30408,35182:31310,35183:38964,35184:33521,35185:34907,35186:35424,35187:37613,35188:28082,35189:30123,35190:30410,35191:39365,35192:24742,35193:35585,35194:36234,35195:38322,35196:27022,35197:21421,35198:20870,35200:22290,35201:22576,35202:22852,35203:23476,35204:24310,35205:24616,35206:25513,35207:25588,35208:27839,35209:28436,35210:28814,35211:28948,35212:29017,35213:29141,35214:29503,35215:32257,35216:33398,35217:33489,35218:34199,35219:36960,35220:37467,35221:40219,35222:22633,35223:26044,35224:27738,35225:29989,35226:20985,35227:22830,35228:22885,35229:24448,35230:24540,35231:25276,35232:26106,35233:27178,35234:27431,35235:27572,35236:29579,35237:32705,35238:35158,35239:40236,35240:40206,35241:40644,35242:23713,35243:27798,35244:33659,35245:20740,35246:23627,35247:25014,35248:33222,35249:26742,35250:29281,35251:20057,35252:20474,35253:21368,35254:24681,35255:28201,35256:31311,35257:38899,35258:19979,35259:21270,35260:20206,35261:20309,35262:20285,35263:20385,35264:20339,35265:21152,35266:21487,35267:22025,35268:22799,35269:23233,35270:23478,35271:23521,35272:31185,35273:26247,35274:26524,35275:26550,35276:27468,35277:27827,35278:28779,35279:29634,35280:31117,35281:31166,35282:31292,35283:31623,35284:33457,35285:33499,35286:33540,35287:33655,35288:33775,35289:33747,35290:34662,35291:35506,35292:22057,35293:36008,35294:36838,35295:36942,35296:38686,35297:34442,35298:20420,35299:23784,35300:25105,35301:29273,35302:30011,35303:33253,35304:33469,35305:34558,35306:36032,35307:38597,35308:39187,35309:39381,35310:20171,35311:20250,35312:35299,35313:22238,35314:22602,35315:22730,35316:24315,35317:24555,35318:24618,35319:24724,35320:24674,35321:25040,35322:25106,35323:25296,35324:25913,35392:39745,35393:26214,35394:26800,35395:28023,35396:28784,35397:30028,35398:30342,35399:32117,35400:33445,35401:34809,35402:38283,35403:38542,35404:35997,35405:20977,35406:21182,35407:22806,35408:21683,35409:23475,35410:23830,35411:24936,35412:27010,35413:28079,35414:30861,35415:33995,35416:34903,35417:35442,35418:37799,35419:39608,35420:28012,35421:39336,35422:34521,35423:22435,35424:26623,35425:34510,35426:37390,35427:21123,35428:22151,35429:21508,35430:24275,35431:25313,35432:25785,35433:26684,35434:26680,35435:27579,35436:29554,35437:30906,35438:31339,35439:35226,35440:35282,35441:36203,35442:36611,35443:37101,35444:38307,35445:38548,35446:38761,35447:23398,35448:23731,35449:27005,35450:38989,35451:38990,35452:25499,35453:31520,35454:27179,35456:27263,35457:26806,35458:39949,35459:28511,35460:21106,35461:21917,35462:24688,35463:25324,35464:27963,35465:28167,35466:28369,35467:33883,35468:35088,35469:36676,35470:19988,35471:39993,35472:21494,35473:26907,35474:27194,35475:38788,35476:26666,35477:20828,35478:31427,35479:33970,35480:37340,35481:37772,35482:22107,35483:40232,35484:26658,35485:33541,35486:33841,35487:31909,35488:21000,35489:33477,35490:29926,35491:20094,35492:20355,35493:20896,35494:23506,35495:21002,35496:21208,35497:21223,35498:24059,35499:21914,35500:22570,35501:23014,35502:23436,35503:23448,35504:23515,35505:24178,35506:24185,35507:24739,35508:24863,35509:24931,35510:25022,35511:25563,35512:25954,35513:26577,35514:26707,35515:26874,35516:27454,35517:27475,35518:27735,35519:28450,35520:28567,35521:28485,35522:29872,35523:29976,35524:30435,35525:30475,35526:31487,35527:31649,35528:31777,35529:32233,35530:32566,35531:32752,35532:32925,35533:33382,35534:33694,35535:35251,35536:35532,35537:36011,35538:36996,35539:37969,35540:38291,35541:38289,35542:38306,35543:38501,35544:38867,35545:39208,35546:33304,35547:20024,35548:21547,35549:23736,35550:24012,35551:29609,35552:30284,35553:30524,35554:23721,35555:32747,35556:36107,35557:38593,35558:38929,35559:38996,35560:39000,35561:20225,35562:20238,35563:21361,35564:21916,35565:22120,35566:22522,35567:22855,35568:23305,35569:23492,35570:23696,35571:24076,35572:24190,35573:24524,35574:25582,35575:26426,35576:26071,35577:26082,35578:26399,35579:26827,35580:26820,35648:27231,35649:24112,35650:27589,35651:27671,35652:27773,35653:30079,35654:31048,35655:23395,35656:31232,35657:32000,35658:24509,35659:35215,35660:35352,35661:36020,35662:36215,35663:36556,35664:36637,35665:39138,35666:39438,35667:39740,35668:20096,35669:20605,35670:20736,35671:22931,35672:23452,35673:25135,35674:25216,35675:25836,35676:27450,35677:29344,35678:30097,35679:31047,35680:32681,35681:34811,35682:35516,35683:35696,35684:25516,35685:33738,35686:38816,35687:21513,35688:21507,35689:21931,35690:26708,35691:27224,35692:35440,35693:30759,35694:26485,35695:40653,35696:21364,35697:23458,35698:33050,35699:34384,35700:36870,35701:19992,35702:20037,35703:20167,35704:20241,35705:21450,35706:21560,35707:23470,35708:24339,35709:24613,35710:25937,35712:26429,35713:27714,35714:27762,35715:27875,35716:28792,35717:29699,35718:31350,35719:31406,35720:31496,35721:32026,35722:31998,35723:32102,35724:26087,35725:29275,35726:21435,35727:23621,35728:24040,35729:25298,35730:25312,35731:25369,35732:28192,35733:34394,35734:35377,35735:36317,35736:37624,35737:28417,35738:31142,35739:39770,35740:20136,35741:20139,35742:20140,35743:20379,35744:20384,35745:20689,35746:20807,35747:31478,35748:20849,35749:20982,35750:21332,35751:21281,35752:21375,35753:21483,35754:21932,35755:22659,35756:23777,35757:24375,35758:24394,35759:24623,35760:24656,35761:24685,35762:25375,35763:25945,35764:27211,35765:27841,35766:29378,35767:29421,35768:30703,35769:33016,35770:33029,35771:33288,35772:34126,35773:37111,35774:37857,35775:38911,35776:39255,35777:39514,35778:20208,35779:20957,35780:23597,35781:26241,35782:26989,35783:23616,35784:26354,35785:26997,35786:29577,35787:26704,35788:31873,35789:20677,35790:21220,35791:22343,35792:24062,35793:37670,35794:26020,35795:27427,35796:27453,35797:29748,35798:31105,35799:31165,35800:31563,35801:32202,35802:33465,35803:33740,35804:34943,35805:35167,35806:35641,35807:36817,35808:37329,35809:21535,35810:37504,35811:20061,35812:20534,35813:21477,35814:21306,35815:29399,35816:29590,35817:30697,35818:33510,35819:36527,35820:39366,35821:39368,35822:39378,35823:20855,35824:24858,35825:34398,35826:21936,35827:31354,35828:20598,35829:23507,35830:36935,35831:38533,35832:20018,35833:27355,35834:37351,35835:23633,35836:23624,35904:25496,35905:31391,35906:27795,35907:38772,35908:36705,35909:31402,35910:29066,35911:38536,35912:31874,35913:26647,35914:32368,35915:26705,35916:37740,35917:21234,35918:21531,35919:34219,35920:35347,35921:32676,35922:36557,35923:37089,35924:21350,35925:34952,35926:31041,35927:20418,35928:20670,35929:21009,35930:20804,35931:21843,35932:22317,35933:29674,35934:22411,35935:22865,35936:24418,35937:24452,35938:24693,35939:24950,35940:24935,35941:25001,35942:25522,35943:25658,35944:25964,35945:26223,35946:26690,35947:28179,35948:30054,35949:31293,35950:31995,35951:32076,35952:32153,35953:32331,35954:32619,35955:33550,35956:33610,35957:34509,35958:35336,35959:35427,35960:35686,35961:36605,35962:38938,35963:40335,35964:33464,35965:36814,35966:39912,35968:21127,35969:25119,35970:25731,35971:28608,35972:38553,35973:26689,35974:20625,35975:27424,35976:27770,35977:28500,35978:31348,35979:32080,35980:34880,35981:35363,35982:26376,35983:20214,35984:20537,35985:20518,35986:20581,35987:20860,35988:21048,35989:21091,35990:21927,35991:22287,35992:22533,35993:23244,35994:24314,35995:25010,35996:25080,35997:25331,35998:25458,35999:26908,36000:27177,36001:29309,36002:29356,36003:29486,36004:30740,36005:30831,36006:32121,36007:30476,36008:32937,36009:35211,36010:35609,36011:36066,36012:36562,36013:36963,36014:37749,36015:38522,36016:38997,36017:39443,36018:40568,36019:20803,36020:21407,36021:21427,36022:24187,36023:24358,36024:28187,36025:28304,36026:29572,36027:29694,36028:32067,36029:33335,36030:35328,36031:35578,36032:38480,36033:20046,36034:20491,36035:21476,36036:21628,36037:22266,36038:22993,36039:23396,36040:24049,36041:24235,36042:24359,36043:25144,36044:25925,36045:26543,36046:28246,36047:29392,36048:31946,36049:34996,36050:32929,36051:32993,36052:33776,36053:34382,36054:35463,36055:36328,36056:37431,36057:38599,36058:39015,36059:40723,36060:20116,36061:20114,36062:20237,36063:21320,36064:21577,36065:21566,36066:23087,36067:24460,36068:24481,36069:24735,36070:26791,36071:27278,36072:29786,36073:30849,36074:35486,36075:35492,36076:35703,36077:37264,36078:20062,36079:39881,36080:20132,36081:20348,36082:20399,36083:20505,36084:20502,36085:20809,36086:20844,36087:21151,36088:21177,36089:21246,36090:21402,36091:21475,36092:21521,36160:21518,36161:21897,36162:22353,36163:22434,36164:22909,36165:23380,36166:23389,36167:23439,36168:24037,36169:24039,36170:24055,36171:24184,36172:24195,36173:24218,36174:24247,36175:24344,36176:24658,36177:24908,36178:25239,36179:25304,36180:25511,36181:25915,36182:26114,36183:26179,36184:26356,36185:26477,36186:26657,36187:26775,36188:27083,36189:27743,36190:27946,36191:28009,36192:28207,36193:28317,36194:30002,36195:30343,36196:30828,36197:31295,36198:31968,36199:32005,36200:32024,36201:32094,36202:32177,36203:32789,36204:32771,36205:32943,36206:32945,36207:33108,36208:33167,36209:33322,36210:33618,36211:34892,36212:34913,36213:35611,36214:36002,36215:36092,36216:37066,36217:37237,36218:37489,36219:30783,36220:37628,36221:38308,36222:38477,36224:38917,36225:39321,36226:39640,36227:40251,36228:21083,36229:21163,36230:21495,36231:21512,36232:22741,36233:25335,36234:28640,36235:35946,36236:36703,36237:40633,36238:20811,36239:21051,36240:21578,36241:22269,36242:31296,36243:37239,36244:40288,36245:40658,36246:29508,36247:28425,36248:33136,36249:29969,36250:24573,36251:24794,36252:39592,36253:29403,36254:36796,36255:27492,36256:38915,36257:20170,36258:22256,36259:22372,36260:22718,36261:23130,36262:24680,36263:25031,36264:26127,36265:26118,36266:26681,36267:26801,36268:28151,36269:30165,36270:32058,36271:33390,36272:39746,36273:20123,36274:20304,36275:21449,36276:21766,36277:23919,36278:24038,36279:24046,36280:26619,36281:27801,36282:29811,36283:30722,36284:35408,36285:37782,36286:35039,36287:22352,36288:24231,36289:25387,36290:20661,36291:20652,36292:20877,36293:26368,36294:21705,36295:22622,36296:22971,36297:23472,36298:24425,36299:25165,36300:25505,36301:26685,36302:27507,36303:28168,36304:28797,36305:37319,36306:29312,36307:30741,36308:30758,36309:31085,36310:25998,36311:32048,36312:33756,36313:35009,36314:36617,36315:38555,36316:21092,36317:22312,36318:26448,36319:32618,36320:36001,36321:20916,36322:22338,36323:38442,36324:22586,36325:27018,36326:32948,36327:21682,36328:23822,36329:22524,36330:30869,36331:40442,36332:20316,36333:21066,36334:21643,36335:25662,36336:26152,36337:26388,36338:26613,36339:31364,36340:31574,36341:32034,36342:37679,36343:26716,36344:39853,36345:31545,36346:21273,36347:20874,36348:21047,36416:23519,36417:25334,36418:25774,36419:25830,36420:26413,36421:27578,36422:34217,36423:38609,36424:30352,36425:39894,36426:25420,36427:37638,36428:39851,36429:30399,36430:26194,36431:19977,36432:20632,36433:21442,36434:23665,36435:24808,36436:25746,36437:25955,36438:26719,36439:29158,36440:29642,36441:29987,36442:31639,36443:32386,36444:34453,36445:35715,36446:36059,36447:37240,36448:39184,36449:26028,36450:26283,36451:27531,36452:20181,36453:20180,36454:20282,36455:20351,36456:21050,36457:21496,36458:21490,36459:21987,36460:22235,36461:22763,36462:22987,36463:22985,36464:23039,36465:23376,36466:23629,36467:24066,36468:24107,36469:24535,36470:24605,36471:25351,36472:25903,36473:23388,36474:26031,36475:26045,36476:26088,36477:26525,36478:27490,36480:27515,36481:27663,36482:29509,36483:31049,36484:31169,36485:31992,36486:32025,36487:32043,36488:32930,36489:33026,36490:33267,36491:35222,36492:35422,36493:35433,36494:35430,36495:35468,36496:35566,36497:36039,36498:36060,36499:38604,36500:39164,36501:27503,36502:20107,36503:20284,36504:20365,36505:20816,36506:23383,36507:23546,36508:24904,36509:25345,36510:26178,36511:27425,36512:28363,36513:27835,36514:29246,36515:29885,36516:30164,36517:30913,36518:31034,36519:32780,36520:32819,36521:33258,36522:33940,36523:36766,36524:27728,36525:40575,36526:24335,36527:35672,36528:40235,36529:31482,36530:36600,36531:23437,36532:38635,36533:19971,36534:21489,36535:22519,36536:22833,36537:23241,36538:23460,36539:24713,36540:28287,36541:28422,36542:30142,36543:36074,36544:23455,36545:34048,36546:31712,36547:20594,36548:26612,36549:33437,36550:23649,36551:34122,36552:32286,36553:33294,36554:20889,36555:23556,36556:25448,36557:36198,36558:26012,36559:29038,36560:31038,36561:32023,36562:32773,36563:35613,36564:36554,36565:36974,36566:34503,36567:37034,36568:20511,36569:21242,36570:23610,36571:26451,36572:28796,36573:29237,36574:37196,36575:37320,36576:37675,36577:33509,36578:23490,36579:24369,36580:24825,36581:20027,36582:21462,36583:23432,36584:25163,36585:26417,36586:27530,36587:29417,36588:29664,36589:31278,36590:33131,36591:36259,36592:37202,36593:39318,36594:20754,36595:21463,36596:21610,36597:23551,36598:25480,36599:27193,36600:32172,36601:38656,36602:22234,36603:21454,36604:21608,36672:23447,36673:23601,36674:24030,36675:20462,36676:24833,36677:25342,36678:27954,36679:31168,36680:31179,36681:32066,36682:32333,36683:32722,36684:33261,36685:33311,36686:33936,36687:34886,36688:35186,36689:35728,36690:36468,36691:36655,36692:36913,36693:37195,36694:37228,36695:38598,36696:37276,36697:20160,36698:20303,36699:20805,36700:21313,36701:24467,36702:25102,36703:26580,36704:27713,36705:28171,36706:29539,36707:32294,36708:37325,36709:37507,36710:21460,36711:22809,36712:23487,36713:28113,36714:31069,36715:32302,36716:31899,36717:22654,36718:29087,36719:20986,36720:34899,36721:36848,36722:20426,36723:23803,36724:26149,36725:30636,36726:31459,36727:33308,36728:39423,36729:20934,36730:24490,36731:26092,36732:26991,36733:27529,36734:28147,36736:28310,36737:28516,36738:30462,36739:32020,36740:24033,36741:36981,36742:37255,36743:38918,36744:20966,36745:21021,36746:25152,36747:26257,36748:26329,36749:28186,36750:24246,36751:32210,36752:32626,36753:26360,36754:34223,36755:34295,36756:35576,36757:21161,36758:21465,36759:22899,36760:24207,36761:24464,36762:24661,36763:37604,36764:38500,36765:20663,36766:20767,36767:21213,36768:21280,36769:21319,36770:21484,36771:21736,36772:21830,36773:21809,36774:22039,36775:22888,36776:22974,36777:23100,36778:23477,36779:23558,36780:23567,36781:23569,36782:23578,36783:24196,36784:24202,36785:24288,36786:24432,36787:25215,36788:25220,36789:25307,36790:25484,36791:25463,36792:26119,36793:26124,36794:26157,36795:26230,36796:26494,36797:26786,36798:27167,36799:27189,36800:27836,36801:28040,36802:28169,36803:28248,36804:28988,36805:28966,36806:29031,36807:30151,36808:30465,36809:30813,36810:30977,36811:31077,36812:31216,36813:31456,36814:31505,36815:31911,36816:32057,36817:32918,36818:33750,36819:33931,36820:34121,36821:34909,36822:35059,36823:35359,36824:35388,36825:35412,36826:35443,36827:35937,36828:36062,36829:37284,36830:37478,36831:37758,36832:37912,36833:38556,36834:38808,36835:19978,36836:19976,36837:19998,36838:20055,36839:20887,36840:21104,36841:22478,36842:22580,36843:22732,36844:23330,36845:24120,36846:24773,36847:25854,36848:26465,36849:26454,36850:27972,36851:29366,36852:30067,36853:31331,36854:33976,36855:35698,36856:37304,36857:37664,36858:22065,36859:22516,36860:39166,36928:25325,36929:26893,36930:27542,36931:29165,36932:32340,36933:32887,36934:33394,36935:35302,36936:39135,36937:34645,36938:36785,36939:23611,36940:20280,36941:20449,36942:20405,36943:21767,36944:23072,36945:23517,36946:23529,36947:24515,36948:24910,36949:25391,36950:26032,36951:26187,36952:26862,36953:27035,36954:28024,36955:28145,36956:30003,36957:30137,36958:30495,36959:31070,36960:31206,36961:32051,36962:33251,36963:33455,36964:34218,36965:35242,36966:35386,36967:36523,36968:36763,36969:36914,36970:37341,36971:38663,36972:20154,36973:20161,36974:20995,36975:22645,36976:22764,36977:23563,36978:29978,36979:23613,36980:33102,36981:35338,36982:36805,36983:38499,36984:38765,36985:31525,36986:35535,36987:38920,36988:37218,36989:22259,36990:21416,36992:36887,36993:21561,36994:22402,36995:24101,36996:25512,36997:27700,36998:28810,36999:30561,37000:31883,37001:32736,37002:34928,37003:36930,37004:37204,37005:37648,37006:37656,37007:38543,37008:29790,37009:39620,37010:23815,37011:23913,37012:25968,37013:26530,37014:36264,37015:38619,37016:25454,37017:26441,37018:26905,37019:33733,37020:38935,37021:38592,37022:35070,37023:28548,37024:25722,37025:23544,37026:19990,37027:28716,37028:30045,37029:26159,37030:20932,37031:21046,37032:21218,37033:22995,37034:24449,37035:24615,37036:25104,37037:25919,37038:25972,37039:26143,37040:26228,37041:26866,37042:26646,37043:27491,37044:28165,37045:29298,37046:29983,37047:30427,37048:31934,37049:32854,37050:22768,37051:35069,37052:35199,37053:35488,37054:35475,37055:35531,37056:36893,37057:37266,37058:38738,37059:38745,37060:25993,37061:31246,37062:33030,37063:38587,37064:24109,37065:24796,37066:25114,37067:26021,37068:26132,37069:26512,37070:30707,37071:31309,37072:31821,37073:32318,37074:33034,37075:36012,37076:36196,37077:36321,37078:36447,37079:30889,37080:20999,37081:25305,37082:25509,37083:25666,37084:25240,37085:35373,37086:31363,37087:31680,37088:35500,37089:38634,37090:32118,37091:33292,37092:34633,37093:20185,37094:20808,37095:21315,37096:21344,37097:23459,37098:23554,37099:23574,37100:24029,37101:25126,37102:25159,37103:25776,37104:26643,37105:26676,37106:27849,37107:27973,37108:27927,37109:26579,37110:28508,37111:29006,37112:29053,37113:26059,37114:31359,37115:31661,37116:32218,37184:32330,37185:32680,37186:33146,37187:33307,37188:33337,37189:34214,37190:35438,37191:36046,37192:36341,37193:36984,37194:36983,37195:37549,37196:37521,37197:38275,37198:39854,37199:21069,37200:21892,37201:28472,37202:28982,37203:20840,37204:31109,37205:32341,37206:33203,37207:31950,37208:22092,37209:22609,37210:23720,37211:25514,37212:26366,37213:26365,37214:26970,37215:29401,37216:30095,37217:30094,37218:30990,37219:31062,37220:31199,37221:31895,37222:32032,37223:32068,37224:34311,37225:35380,37226:38459,37227:36961,37228:40736,37229:20711,37230:21109,37231:21452,37232:21474,37233:20489,37234:21930,37235:22766,37236:22863,37237:29245,37238:23435,37239:23652,37240:21277,37241:24803,37242:24819,37243:25436,37244:25475,37245:25407,37246:25531,37248:25805,37249:26089,37250:26361,37251:24035,37252:27085,37253:27133,37254:28437,37255:29157,37256:20105,37257:30185,37258:30456,37259:31379,37260:31967,37261:32207,37262:32156,37263:32865,37264:33609,37265:33624,37266:33900,37267:33980,37268:34299,37269:35013,37270:36208,37271:36865,37272:36973,37273:37783,37274:38684,37275:39442,37276:20687,37277:22679,37278:24974,37279:33235,37280:34101,37281:36104,37282:36896,37283:20419,37284:20596,37285:21063,37286:21363,37287:24687,37288:25417,37289:26463,37290:28204,37291:36275,37292:36895,37293:20439,37294:23646,37295:36042,37296:26063,37297:32154,37298:21330,37299:34966,37300:20854,37301:25539,37302:23384,37303:23403,37304:23562,37305:25613,37306:26449,37307:36956,37308:20182,37309:22810,37310:22826,37311:27760,37312