/*! For license information please see 2.862a6e39.chunk.js.LICENSE.txt */ (this["webpackJsonptv-netwarehouse"]=this["webpackJsonptv-netwarehouse"]||[]).push([[2],[function(t,e,n){"use strict";t.exports=n(1262)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(6);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e"']/g,I=RegExp(x.source),P=RegExp(k.source),D=/<%-([\s\S]+?)%>/g,F=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/,X=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Q=/[\\^$.*+?()[\]{}|]/g,K=RegExp(Q.source),V=/^\s+/,G=/\s/,Y=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Z=/\{\n\/\* \[wrapped with (.+)\] \*/,J=/,? & /,$=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,et=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rt=/\w*$/,ot=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,st=/^0o[0-7]+$/i,ct=/^(?:0|[1-9]\d*)$/,ut=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,pt=/($^)/,lt=/['\n\r\u2028\u2029\\]/g,ft="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",At="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ht="[\\ud800-\\udfff]",dt="["+At+"]",bt="["+ft+"]",Mt="\\d+",Ot="[\\u2700-\\u27bf]",gt="[a-z\\xdf-\\xf6\\xf8-\\xff]",zt="[^\\ud800-\\udfff"+At+Mt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",mt="\\ud83c[\\udffb-\\udfff]",vt="[^\\ud800-\\udfff]",yt="(?:\\ud83c[\\udde6-\\uddff]){2}",wt="[\\ud800-\\udbff][\\udc00-\\udfff]",qt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",_t="(?:"+gt+"|"+zt+")",Bt="(?:"+qt+"|"+zt+")",Ct="(?:"+bt+"|"+mt+")"+"?",St="[\\ufe0e\\ufe0f]?"+Ct+("(?:\\u200d(?:"+[vt,yt,wt].join("|")+")[\\ufe0e\\ufe0f]?"+Ct+")*"),Et="(?:"+[Ot,yt,wt].join("|")+")"+St,Rt="(?:"+[vt+bt+"?",bt,yt,wt,ht].join("|")+")",Wt=RegExp("['\u2019]","g"),Tt=RegExp(bt,"g"),Lt=RegExp(mt+"(?="+mt+")|"+Rt+St,"g"),Nt=RegExp([qt+"?"+gt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[dt,qt,"$"].join("|")+")",Bt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[dt,qt+_t,"$"].join("|")+")",qt+"?"+_t+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",qt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Mt,Et].join("|"),"g"),xt=RegExp("[\\u200d\\ud800-\\udfff"+ft+"\\ufe0e\\ufe0f]"),kt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,It=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Pt=-1,Dt={};Dt[q]=Dt[_]=Dt[B]=Dt[C]=Dt[S]=Dt[E]=Dt["[object Uint8ClampedArray]"]=Dt[R]=Dt[W]=!0,Dt[c]=Dt[u]=Dt[y]=Dt[p]=Dt[w]=Dt[l]=Dt[f]=Dt[A]=Dt[d]=Dt[b]=Dt[M]=Dt[O]=Dt[g]=Dt[z]=Dt[v]=!1;var Ft={};Ft[c]=Ft[u]=Ft[y]=Ft[w]=Ft[p]=Ft[l]=Ft[q]=Ft[_]=Ft[B]=Ft[C]=Ft[S]=Ft[d]=Ft[b]=Ft[M]=Ft[O]=Ft[g]=Ft[z]=Ft[m]=Ft[E]=Ft["[object Uint8ClampedArray]"]=Ft[R]=Ft[W]=!0,Ft[f]=Ft[A]=Ft[v]=!1;var Ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},jt=parseFloat,Ht=parseInt,Xt="object"==typeof t&&t&&t.Object===Object&&t,Qt="object"==typeof self&&self&&self.Object===Object&&self,Kt=Xt||Qt||Function("return this")(),Vt=e&&!e.nodeType&&e,Gt=Vt&&"object"==typeof r&&r&&!r.nodeType&&r,Yt=Gt&&Gt.exports===Vt,Zt=Yt&&Xt.process,Jt=function(){try{var t=Gt&&Gt.require&&Gt.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(e){}}(),$t=Jt&&Jt.isArrayBuffer,te=Jt&&Jt.isDate,ee=Jt&&Jt.isMap,ne=Jt&&Jt.isRegExp,re=Jt&&Jt.isSet,oe=Jt&&Jt.isTypedArray;function ie(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ae(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o-1}function fe(t,e,n){for(var r=-1,o=null==t?0:t.length;++r-1;);return n}function Ne(t,e){for(var n=t.length;n--&&me(e,t[n],0)>-1;);return n}function xe(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var ke=_e({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Ie=_e({"&":"&","<":"<",">":">",'"':""","'":"'"});function Pe(t){return"\\"+Ut[t]}function De(t){return xt.test(t)}function Fe(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function Ue(t,e){return function(n){return t(e(n))}}function je(t,e){for(var n=-1,r=t.length,o=0,i=[];++n",""":'"',"'":"'"});var Ye=function t(e){var n=(e=null==e?Kt:Ye.defaults(Kt.Object(),e,Ye.pick(Kt,It))).Array,r=e.Date,o=e.Error,G=e.Function,ft=e.Math,At=e.Object,ht=e.RegExp,dt=e.String,bt=e.TypeError,Mt=n.prototype,Ot=G.prototype,gt=At.prototype,zt=e["__core-js_shared__"],mt=Ot.toString,vt=gt.hasOwnProperty,yt=0,wt=function(){var t=/[^.]+$/.exec(zt&&zt.keys&&zt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),qt=gt.toString,_t=mt.call(At),Bt=Kt._,Ct=ht("^"+mt.call(vt).replace(Q,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),St=Yt?e.Buffer:void 0,Et=e.Symbol,Rt=e.Uint8Array,Lt=St?St.allocUnsafe:void 0,xt=Ue(At.getPrototypeOf,At),Ut=At.create,Xt=gt.propertyIsEnumerable,Qt=Mt.splice,Vt=Et?Et.isConcatSpreadable:void 0,Gt=Et?Et.iterator:void 0,Zt=Et?Et.toStringTag:void 0,Jt=function(){try{var t=ti(At,"defineProperty");return t({},"",{}),t}catch(e){}}(),Oe=e.clearTimeout!==Kt.clearTimeout&&e.clearTimeout,_e=r&&r.now!==Kt.Date.now&&r.now,Ze=e.setTimeout!==Kt.setTimeout&&e.setTimeout,Je=ft.ceil,$e=ft.floor,tn=At.getOwnPropertySymbols,en=St?St.isBuffer:void 0,nn=e.isFinite,rn=Mt.join,on=Ue(At.keys,At),an=ft.max,sn=ft.min,cn=r.now,un=e.parseInt,pn=ft.random,ln=Mt.reverse,fn=ti(e,"DataView"),An=ti(e,"Map"),hn=ti(e,"Promise"),dn=ti(e,"Set"),bn=ti(e,"WeakMap"),Mn=ti(At,"create"),On=bn&&new bn,gn={},zn=Bi(fn),mn=Bi(An),vn=Bi(hn),yn=Bi(dn),wn=Bi(bn),qn=Et?Et.prototype:void 0,_n=qn?qn.valueOf:void 0,Bn=qn?qn.toString:void 0;function Cn(t){if(Ha(t)&&!Ta(t)&&!(t instanceof Wn)){if(t instanceof Rn)return t;if(vt.call(t,"__wrapped__"))return Ci(t)}return new Rn(t)}var Sn=function(){function t(){}return function(e){if(!ja(e))return{};if(Ut)return Ut(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function En(){}function Rn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Wn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function Tn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Yn(t,e,n,r,o,i){var a,s=1&e,u=2&e,f=4&e;if(n&&(a=o?n(t,r,o,i):n(t)),void 0!==a)return a;if(!ja(t))return t;var v=Ta(t);if(v){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&vt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!s)return Oo(t,a)}else{var T=ri(t),L=T==A||T==h;if(ka(t))return lo(t,s);if(T==M||T==c||L&&!o){if(a=u||L?{}:ii(t),!s)return u?function(t,e){return go(t,ni(t),e)}(t,function(t,e){return t&&go(e,ms(e),t)}(a,t)):function(t,e){return go(t,ei(t),e)}(t,Qn(a,t))}else{if(!Ft[T])return o?t:{};a=function(t,e,n){var r=t.constructor;switch(e){case y:return fo(t);case p:case l:return new r(+t);case w:return function(t,e){var n=e?fo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case q:case _:case B:case C:case S:case E:case"[object Uint8ClampedArray]":case R:case W:return Ao(t,n);case d:return new r;case b:case z:return new r(t);case O:return function(t){var e=new t.constructor(t.source,rt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case g:return new r;case m:return o=t,_n?At(_n.call(o)):{}}var o}(t,T,s)}}i||(i=new kn);var N=i.get(t);if(N)return N;i.set(t,a),Ga(t)?t.forEach((function(r){a.add(Yn(r,e,n,r,t,i))})):Xa(t)&&t.forEach((function(r,o){a.set(o,Yn(r,e,n,o,t,i))}));var x=v?void 0:(f?u?Ko:Qo:u?ms:zs)(t);return se(x||t,(function(r,o){x&&(r=t[o=r]),jn(a,o,Yn(r,e,n,o,t,i))})),a}function Zn(t,e,n){var r=n.length;if(null==t)return!r;for(t=At(t);r--;){var o=n[r],i=e[o],a=t[o];if(void 0===a&&!(o in t)||!i(a))return!1}return!0}function Jn(t,e,n){if("function"!=typeof t)throw new bt(i);return zi((function(){t.apply(void 0,n)}),e)}function $n(t,e,n,r){var o=-1,i=le,a=!0,s=t.length,c=[],u=e.length;if(!s)return c;n&&(e=Ae(e,Re(n))),r?(i=fe,a=!1):e.length>=200&&(i=Te,a=!1,e=new xn(e));t:for(;++o-1},Ln.prototype.set=function(t,e){var n=this.__data__,r=Hn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Nn.prototype.clear=function(){this.size=0,this.__data__={hash:new Tn,map:new(An||Ln),string:new Tn}},Nn.prototype.delete=function(t){var e=Jo(this,t).delete(t);return this.size-=e?1:0,e},Nn.prototype.get=function(t){return Jo(this,t).get(t)},Nn.prototype.has=function(t){return Jo(this,t).has(t)},Nn.prototype.set=function(t,e){var n=Jo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},xn.prototype.add=xn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},xn.prototype.has=function(t){return this.__data__.has(t)},kn.prototype.clear=function(){this.__data__=new Ln,this.size=0},kn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},kn.prototype.get=function(t){return this.__data__.get(t)},kn.prototype.has=function(t){return this.__data__.has(t)},kn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Ln){var r=n.__data__;if(!An||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Nn(r)}return n.set(t,e),this.size=n.size,this};var tr=vo(cr),er=vo(ur,!0);function nr(t,e){var n=!0;return tr(t,(function(t,r,o){return n=!!e(t,r,o)})),n}function rr(t,e,n){for(var r=-1,o=t.length;++r0&&n(s)?e>1?ir(s,e-1,n,r,o):he(o,s):r||(o[o.length]=s)}return o}var ar=yo(),sr=yo(!0);function cr(t,e){return t&&ar(t,e,zs)}function ur(t,e){return t&&sr(t,e,zs)}function pr(t,e){return pe(e,(function(e){return Da(t[e])}))}function lr(t,e){for(var n=0,r=(e=so(e,t)).length;null!=t&&ne}function dr(t,e){return null!=t&&vt.call(t,e)}function br(t,e){return null!=t&&e in At(t)}function Mr(t,e,r){for(var o=r?fe:le,i=t[0].length,a=t.length,s=a,c=n(a),u=1/0,p=[];s--;){var l=t[s];s&&e&&(l=Ae(l,Re(e))),u=sn(l.length,u),c[s]=!r&&(e||i>=120&&l.length>=120)?new xn(s&&l):void 0}l=t[0];var f=-1,A=c[0];t:for(;++f=s)return c;var u=n[r];return c*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)}))}function Tr(t,e,n){for(var r=-1,o=e.length,i={};++r-1;)s!==t&&Qt.call(s,c,1),Qt.call(t,c,1);return t}function Nr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;si(o)?Qt.call(t,o,1):$r(t,o)}}return t}function xr(t,e){return t+$e(pn()*(e-t+1))}function kr(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=$e(e/2))&&(t+=t)}while(e);return n}function Ir(t,e){return mi(di(t,e,Qs),t+"")}function Pr(t){return Pn(Ss(t))}function Dr(t,e){var n=Ss(t);return wi(n,Gn(e,0,n.length))}function Fr(t,e,n,r){if(!ja(t))return t;for(var o=-1,i=(e=so(e,t)).length,a=i-1,s=t;null!=s&&++oi?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var a=n(i);++o>>1,a=t[i];null!==a&&!Za(a)&&(n?a<=e:a=200){var u=e?null:Io(t);if(u)return He(u);a=!1,o=Te,c=new xn}else c=e?[]:s;t:for(;++r=r?t:Xr(t,e,n)}var po=Oe||function(t){return Kt.clearTimeout(t)};function lo(t,e){if(e)return t.slice();var n=t.length,r=Lt?Lt(n):new t.constructor(n);return t.copy(r),r}function fo(t){var e=new t.constructor(t.byteLength);return new Rt(e).set(new Rt(t)),e}function Ao(t,e){var n=e?fo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ho(t,e){if(t!==e){var n=void 0!==t,r=null===t,o=t===t,i=Za(t),a=void 0!==e,s=null===e,c=e===e,u=Za(e);if(!s&&!u&&!i&&t>e||i&&a&&c&&!s&&!u||r&&a&&c||!n&&c||!o)return 1;if(!r&&!i&&!u&&t1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=t.length>3&&"function"==typeof i?(o--,i):void 0,a&&ci(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),e=At(e);++r-1?o[i?e[a]:a]:void 0}}function Co(t){return Xo((function(e){var n=e.length,r=n,o=Rn.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new bt(i);if(o&&!s&&"wrapper"==Go(a))var s=new Rn([],!0)}for(r=s?r:n;++r1&&g.reverse(),l&&us))return!1;var u=i.get(t),p=i.get(e);if(u&&p)return u==e&&p==t;var l=-1,f=!0,A=2&n?new xn:void 0;for(i.set(t,e),i.set(e,t);++l-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Y,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return se(s,(function(n){var r="_."+n[0];e&n[1]&&!le(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(Z);return e?e[1].split(J):[]}(r),n)))}function yi(t){var e=0,n=0;return function(){var r=cn(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function wi(t,e){var n=-1,r=t.length,o=r-1;for(e=void 0===e?r:e;++n1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Vi(t,n)}));function ea(t){var e=Cn(t);return e.__chain__=!0,e}function na(t,e){return e(t)}var ra=Xo((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return Vn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Wn&&si(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:na,args:[o],thisArg:void 0}),new Rn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(o)}));var oa=zo((function(t,e,n){vt.call(t,n)?++t[n]:Kn(t,n,1)}));var ia=Bo(Wi),aa=Bo(Ti);function sa(t,e){return(Ta(t)?se:tr)(t,Zo(e,3))}function ca(t,e){return(Ta(t)?ce:er)(t,Zo(e,3))}var ua=zo((function(t,e,n){vt.call(t,n)?t[n].push(e):Kn(t,n,[e])}));var pa=Ir((function(t,e,r){var o=-1,i="function"==typeof e,a=Na(t)?n(t.length):[];return tr(t,(function(t){a[++o]=i?ie(e,t,r):Or(t,e,r)})),a})),la=zo((function(t,e,n){Kn(t,n,e)}));function fa(t,e){return(Ta(t)?Ae:Br)(t,Zo(e,3))}var Aa=zo((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var ha=Ir((function(t,e){if(null==t)return[];var n=e.length;return n>1&&ci(t,e[0],e[1])?e=[]:n>2&&ci(e[0],e[1],e[2])&&(e=[e[0]]),Wr(t,ir(e,1),[])})),da=_e||function(){return Kt.Date.now()};function ba(t,e,n){return e=n?void 0:e,Do(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function Ma(t,e){var n;if("function"!=typeof e)throw new bt(i);return t=rs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var Oa=Ir((function(t,e,n){var r=1;if(n.length){var o=je(n,Yo(Oa));r|=32}return Do(t,r,e,n,o)})),ga=Ir((function(t,e,n){var r=3;if(n.length){var o=je(n,Yo(ga));r|=32}return Do(e,r,t,n,o)}));function za(t,e,n){var r,o,a,s,c,u,p=0,l=!1,f=!1,A=!0;if("function"!=typeof t)throw new bt(i);function h(e){var n=r,i=o;return r=o=void 0,p=e,s=t.apply(i,n)}function d(t){return p=t,c=zi(M,e),l?h(t):s}function b(t){var n=t-u;return void 0===u||n>=e||n<0||f&&t-p>=a}function M(){var t=da();if(b(t))return O(t);c=zi(M,function(t){var n=e-(t-u);return f?sn(n,a-(t-p)):n}(t))}function O(t){return c=void 0,A&&r?h(t):(r=o=void 0,s)}function g(){var t=da(),n=b(t);if(r=arguments,o=this,u=t,n){if(void 0===c)return d(u);if(f)return po(c),c=zi(M,e),h(u)}return void 0===c&&(c=zi(M,e)),s}return e=is(e)||0,ja(n)&&(l=!!n.leading,a=(f="maxWait"in n)?an(is(n.maxWait)||0,e):a,A="trailing"in n?!!n.trailing:A),g.cancel=function(){void 0!==c&&po(c),p=0,r=u=o=c=void 0},g.flush=function(){return void 0===c?s:O(da())},g}var ma=Ir((function(t,e){return Jn(t,1,e)})),va=Ir((function(t,e,n){return Jn(t,is(e)||0,n)}));function ya(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new bt(i);var n=function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(ya.Cache||Nn),n}function wa(t){if("function"!=typeof t)throw new bt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ya.Cache=Nn;var qa=co((function(t,e){var n=(e=1==e.length&&Ta(e[0])?Ae(e[0],Re(Zo())):Ae(ir(e,1),Re(Zo()))).length;return Ir((function(r){for(var o=-1,i=sn(r.length,n);++o=e})),Wa=gr(function(){return arguments}())?gr:function(t){return Ha(t)&&vt.call(t,"callee")&&!Xt.call(t,"callee")},Ta=n.isArray,La=$t?Re($t):function(t){return Ha(t)&&Ar(t)==y};function Na(t){return null!=t&&Ua(t.length)&&!Da(t)}function xa(t){return Ha(t)&&Na(t)}var ka=en||ic,Ia=te?Re(te):function(t){return Ha(t)&&Ar(t)==l};function Pa(t){if(!Ha(t))return!1;var e=Ar(t);return e==f||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Ka(t)}function Da(t){if(!ja(t))return!1;var e=Ar(t);return e==A||e==h||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Fa(t){return"number"==typeof t&&t==rs(t)}function Ua(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function ja(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ha(t){return null!=t&&"object"==typeof t}var Xa=ee?Re(ee):function(t){return Ha(t)&&ri(t)==d};function Qa(t){return"number"==typeof t||Ha(t)&&Ar(t)==b}function Ka(t){if(!Ha(t)||Ar(t)!=M)return!1;var e=xt(t);if(null===e)return!0;var n=vt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&mt.call(n)==_t}var Va=ne?Re(ne):function(t){return Ha(t)&&Ar(t)==O};var Ga=re?Re(re):function(t){return Ha(t)&&ri(t)==g};function Ya(t){return"string"==typeof t||!Ta(t)&&Ha(t)&&Ar(t)==z}function Za(t){return"symbol"==typeof t||Ha(t)&&Ar(t)==m}var Ja=oe?Re(oe):function(t){return Ha(t)&&Ua(t.length)&&!!Dt[Ar(t)]};var $a=No(_r),ts=No((function(t,e){return t<=e}));function es(t){if(!t)return[];if(Na(t))return Ya(t)?Ke(t):Oo(t);if(Gt&&t[Gt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Gt]());var e=ri(t);return(e==d?Fe:e==g?He:Ss)(t)}function ns(t){return t?(t=is(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0}function rs(t){var e=ns(t),n=e%1;return e===e?n?e-n:e:0}function os(t){return t?Gn(rs(t),0,4294967295):0}function is(t){if("number"==typeof t)return t;if(Za(t))return NaN;if(ja(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ja(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ee(t);var n=it.test(t);return n||st.test(t)?Ht(t.slice(2),n?2:8):ot.test(t)?NaN:+t}function as(t){return go(t,ms(t))}function ss(t){return null==t?"":Zr(t)}var cs=mo((function(t,e){if(fi(e)||Na(e))go(e,zs(e),t);else for(var n in e)vt.call(e,n)&&jn(t,n,e[n])})),us=mo((function(t,e){go(e,ms(e),t)})),ps=mo((function(t,e,n,r){go(e,ms(e),t,r)})),ls=mo((function(t,e,n,r){go(e,zs(e),t,r)})),fs=Xo(Vn);var As=Ir((function(t,e){t=At(t);var n=-1,r=e.length,o=r>2?e[2]:void 0;for(o&&ci(e[0],e[1],o)&&(r=1);++n1),e})),go(t,Ko(t),n),r&&(n=Yn(n,7,jo));for(var o=e.length;o--;)$r(n,e[o]);return n}));var qs=Xo((function(t,e){return null==t?{}:function(t,e){return Tr(t,e,(function(e,n){return bs(t,n)}))}(t,e)}));function _s(t,e){if(null==t)return{};var n=Ae(Ko(t),(function(t){return[t]}));return e=Zo(e),Tr(t,n,(function(t,n){return e(t,n[0])}))}var Bs=Po(zs),Cs=Po(ms);function Ss(t){return null==t?[]:We(t,zs(t))}var Es=qo((function(t,e,n){return e=e.toLowerCase(),t+(n?Rs(e):e)}));function Rs(t){return Ps(ss(t).toLowerCase())}function Ws(t){return(t=ss(t))&&t.replace(ut,ke).replace(Tt,"")}var Ts=qo((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ls=qo((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ns=wo("toLowerCase");var xs=qo((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var ks=qo((function(t,e,n){return t+(n?" ":"")+Ps(e)}));var Is=qo((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Ps=wo("toUpperCase");function Ds(t,e,n){return t=ss(t),void 0===(e=n?void 0:e)?function(t){return kt.test(t)}(t)?function(t){return t.match(Nt)||[]}(t):function(t){return t.match($)||[]}(t):t.match(e)||[]}var Fs=Ir((function(t,e){try{return ie(t,void 0,e)}catch(n){return Pa(n)?n:new o(n)}})),Us=Xo((function(t,e){return se(e,(function(e){e=_i(e),Kn(t,e,Oa(t[e],t))})),t}));function js(t){return function(){return t}}var Hs=Co(),Xs=Co(!0);function Qs(t){return t}function Ks(t){return yr("function"==typeof t?t:Yn(t,1))}var Vs=Ir((function(t,e){return function(n){return Or(n,t,e)}})),Gs=Ir((function(t,e){return function(n){return Or(t,n,e)}}));function Ys(t,e,n){var r=zs(e),o=pr(e,r);null!=n||ja(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=pr(e,zs(e)));var i=!(ja(n)&&"chain"in n)||!!n.chain,a=Da(t);return se(o,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__),o=n.__actions__=Oo(this.__actions__);return o.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,he([this.value()],arguments))})})),t}function Zs(){}var Js=Wo(Ae),$s=Wo(ue),tc=Wo(Me);function ec(t){return ui(t)?qe(_i(t)):function(t){return function(e){return lr(e,t)}}(t)}var nc=Lo(),rc=Lo(!0);function oc(){return[]}function ic(){return!1}var ac=Ro((function(t,e){return t+e}),0),sc=ko("ceil"),cc=Ro((function(t,e){return t/e}),1),uc=ko("floor");var pc=Ro((function(t,e){return t*e}),1),lc=ko("round"),fc=Ro((function(t,e){return t-e}),0);return Cn.after=function(t,e){if("function"!=typeof e)throw new bt(i);return t=rs(t),function(){if(--t<1)return e.apply(this,arguments)}},Cn.ary=ba,Cn.assign=cs,Cn.assignIn=us,Cn.assignInWith=ps,Cn.assignWith=ls,Cn.at=fs,Cn.before=Ma,Cn.bind=Oa,Cn.bindAll=Us,Cn.bindKey=ga,Cn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ta(t)?t:[t]},Cn.chain=ea,Cn.chunk=function(t,e,r){e=(r?ci(t,e,r):void 0===e)?1:an(rs(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var i=0,a=0,s=n(Je(o/e));io?0:o+n),(r=void 0===r||r>o?o:rs(r))<0&&(r+=o),r=n>r?0:os(r);n>>0)?(t=ss(t))&&("string"==typeof e||null!=e&&!Va(e))&&!(e=Zr(e))&&De(t)?uo(Ke(t),0,n):t.split(e,n):[]},Cn.spread=function(t,e){if("function"!=typeof t)throw new bt(i);return e=null==e?0:an(rs(e),0),Ir((function(n){var r=n[e],o=uo(n,0,e);return r&&he(o,r),ie(t,this,o)}))},Cn.tail=function(t){var e=null==t?0:t.length;return e?Xr(t,1,e):[]},Cn.take=function(t,e,n){return t&&t.length?Xr(t,0,(e=n||void 0===e?1:rs(e))<0?0:e):[]},Cn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Xr(t,(e=r-(e=n||void 0===e?1:rs(e)))<0?0:e,r):[]},Cn.takeRightWhile=function(t,e){return t&&t.length?eo(t,Zo(e,3),!1,!0):[]},Cn.takeWhile=function(t,e){return t&&t.length?eo(t,Zo(e,3)):[]},Cn.tap=function(t,e){return e(t),t},Cn.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new bt(i);return ja(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),za(t,e,{leading:r,maxWait:e,trailing:o})},Cn.thru=na,Cn.toArray=es,Cn.toPairs=Bs,Cn.toPairsIn=Cs,Cn.toPath=function(t){return Ta(t)?Ae(t,_i):Za(t)?[t]:Oo(qi(ss(t)))},Cn.toPlainObject=as,Cn.transform=function(t,e,n){var r=Ta(t),o=r||ka(t)||Ja(t);if(e=Zo(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:ja(t)&&Da(i)?Sn(xt(t)):{}}return(o?se:cr)(t,(function(t,r,o){return e(n,t,r,o)})),n},Cn.unary=function(t){return ba(t,1)},Cn.union=Hi,Cn.unionBy=Xi,Cn.unionWith=Qi,Cn.uniq=function(t){return t&&t.length?Jr(t):[]},Cn.uniqBy=function(t,e){return t&&t.length?Jr(t,Zo(e,2)):[]},Cn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Jr(t,void 0,e):[]},Cn.unset=function(t,e){return null==t||$r(t,e)},Cn.unzip=Ki,Cn.unzipWith=Vi,Cn.update=function(t,e,n){return null==t?t:to(t,e,ao(n))},Cn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:to(t,e,ao(n),r)},Cn.values=Ss,Cn.valuesIn=function(t){return null==t?[]:We(t,ms(t))},Cn.without=Gi,Cn.words=Ds,Cn.wrap=function(t,e){return _a(ao(e),t)},Cn.xor=Yi,Cn.xorBy=Zi,Cn.xorWith=Ji,Cn.zip=$i,Cn.zipObject=function(t,e){return oo(t||[],e||[],jn)},Cn.zipObjectDeep=function(t,e){return oo(t||[],e||[],Fr)},Cn.zipWith=ta,Cn.entries=Bs,Cn.entriesIn=Cs,Cn.extend=us,Cn.extendWith=ps,Ys(Cn,Cn),Cn.add=ac,Cn.attempt=Fs,Cn.camelCase=Es,Cn.capitalize=Rs,Cn.ceil=sc,Cn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=is(n))===n?n:0),void 0!==e&&(e=(e=is(e))===e?e:0),Gn(is(t),e,n)},Cn.clone=function(t){return Yn(t,4)},Cn.cloneDeep=function(t){return Yn(t,5)},Cn.cloneDeepWith=function(t,e){return Yn(t,5,e="function"==typeof e?e:void 0)},Cn.cloneWith=function(t,e){return Yn(t,4,e="function"==typeof e?e:void 0)},Cn.conformsTo=function(t,e){return null==e||Zn(t,e,zs(e))},Cn.deburr=Ws,Cn.defaultTo=function(t,e){return null==t||t!==t?e:t},Cn.divide=cc,Cn.endsWith=function(t,e,n){t=ss(t),e=Zr(e);var r=t.length,o=n=void 0===n?r:Gn(rs(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},Cn.eq=Sa,Cn.escape=function(t){return(t=ss(t))&&P.test(t)?t.replace(k,Ie):t},Cn.escapeRegExp=function(t){return(t=ss(t))&&K.test(t)?t.replace(Q,"\\$&"):t},Cn.every=function(t,e,n){var r=Ta(t)?ue:nr;return n&&ci(t,e,n)&&(e=void 0),r(t,Zo(e,3))},Cn.find=ia,Cn.findIndex=Wi,Cn.findKey=function(t,e){return ge(t,Zo(e,3),cr)},Cn.findLast=aa,Cn.findLastIndex=Ti,Cn.findLastKey=function(t,e){return ge(t,Zo(e,3),ur)},Cn.floor=uc,Cn.forEach=sa,Cn.forEachRight=ca,Cn.forIn=function(t,e){return null==t?t:ar(t,Zo(e,3),ms)},Cn.forInRight=function(t,e){return null==t?t:sr(t,Zo(e,3),ms)},Cn.forOwn=function(t,e){return t&&cr(t,Zo(e,3))},Cn.forOwnRight=function(t,e){return t&&ur(t,Zo(e,3))},Cn.get=ds,Cn.gt=Ea,Cn.gte=Ra,Cn.has=function(t,e){return null!=t&&oi(t,e,dr)},Cn.hasIn=bs,Cn.head=Ni,Cn.identity=Qs,Cn.includes=function(t,e,n,r){t=Na(t)?t:Ss(t),n=n&&!r?rs(n):0;var o=t.length;return n<0&&(n=an(o+n,0)),Ya(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&me(t,e,n)>-1},Cn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:rs(n);return o<0&&(o=an(r+o,0)),me(t,e,o)},Cn.inRange=function(t,e,n){return e=ns(e),void 0===n?(n=e,e=0):n=ns(n),function(t,e,n){return t>=sn(e,n)&&t=-9007199254740991&&t<=9007199254740991},Cn.isSet=Ga,Cn.isString=Ya,Cn.isSymbol=Za,Cn.isTypedArray=Ja,Cn.isUndefined=function(t){return void 0===t},Cn.isWeakMap=function(t){return Ha(t)&&ri(t)==v},Cn.isWeakSet=function(t){return Ha(t)&&"[object WeakSet]"==Ar(t)},Cn.join=function(t,e){return null==t?"":rn.call(t,e)},Cn.kebabCase=Ts,Cn.last=Pi,Cn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return void 0!==n&&(o=(o=rs(n))<0?an(r+o,0):sn(o,r-1)),e===e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):ze(t,ye,o,!0)},Cn.lowerCase=Ls,Cn.lowerFirst=Ns,Cn.lt=$a,Cn.lte=ts,Cn.max=function(t){return t&&t.length?rr(t,Qs,hr):void 0},Cn.maxBy=function(t,e){return t&&t.length?rr(t,Zo(e,2),hr):void 0},Cn.mean=function(t){return we(t,Qs)},Cn.meanBy=function(t,e){return we(t,Zo(e,2))},Cn.min=function(t){return t&&t.length?rr(t,Qs,_r):void 0},Cn.minBy=function(t,e){return t&&t.length?rr(t,Zo(e,2),_r):void 0},Cn.stubArray=oc,Cn.stubFalse=ic,Cn.stubObject=function(){return{}},Cn.stubString=function(){return""},Cn.stubTrue=function(){return!0},Cn.multiply=pc,Cn.nth=function(t,e){return t&&t.length?Rr(t,rs(e)):void 0},Cn.noConflict=function(){return Kt._===this&&(Kt._=Bt),this},Cn.noop=Zs,Cn.now=da,Cn.pad=function(t,e,n){t=ss(t);var r=(e=rs(e))?Qe(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return To($e(o),n)+t+To(Je(o),n)},Cn.padEnd=function(t,e,n){t=ss(t);var r=(e=rs(e))?Qe(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var o=pn();return sn(t+o*(e-t+jt("1e-"+((o+"").length-1))),e)}return xr(t,e)},Cn.reduce=function(t,e,n){var r=Ta(t)?de:Be,o=arguments.length<3;return r(t,Zo(e,4),n,o,tr)},Cn.reduceRight=function(t,e,n){var r=Ta(t)?be:Be,o=arguments.length<3;return r(t,Zo(e,4),n,o,er)},Cn.repeat=function(t,e,n){return e=(n?ci(t,e,n):void 0===e)?1:rs(e),kr(ss(t),e)},Cn.replace=function(){var t=arguments,e=ss(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Cn.result=function(t,e,n){var r=-1,o=(e=so(e,t)).length;for(o||(o=1,t=void 0);++r9007199254740991)return[];var n=4294967295,r=sn(t,4294967295);t-=4294967295;for(var o=Se(r,e=Zo(e));++n=i)return t;var s=n-Qe(r);if(s<1)return r;var c=a?uo(a,0,s).join(""):t.slice(0,s);if(void 0===o)return c+r;if(a&&(s+=c.length-s),Va(o)){if(t.slice(s).search(o)){var u,p=c;for(o.global||(o=ht(o.source,ss(rt.exec(o))+"g")),o.lastIndex=0;u=o.exec(p);)var l=u.index;c=c.slice(0,void 0===l?s:l)}}else if(t.indexOf(Zr(o),s)!=s){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+r},Cn.unescape=function(t){return(t=ss(t))&&I.test(t)?t.replace(x,Ge):t},Cn.uniqueId=function(t){var e=++yt;return ss(t)+e},Cn.upperCase=Is,Cn.upperFirst=Ps,Cn.each=sa,Cn.eachRight=ca,Cn.first=Ni,Ys(Cn,function(){var t={};return cr(Cn,(function(e,n){vt.call(Cn.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),Cn.VERSION="4.17.21",se(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Cn[t].placeholder=Cn})),se(["drop","take"],(function(t,e){Wn.prototype[t]=function(n){n=void 0===n?1:an(rs(n),0);var r=this.__filtered__&&!e?new Wn(this):this.clone();return r.__filtered__?r.__takeCount__=sn(n,r.__takeCount__):r.__views__.push({size:sn(n,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},Wn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),se(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Wn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Zo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),se(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Wn.prototype[t]=function(){return this[n](1).value()[0]}})),se(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Wn.prototype[t]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(Qs)},Wn.prototype.find=function(t){return this.filter(t).head()},Wn.prototype.findLast=function(t){return this.reverse().find(t)},Wn.prototype.invokeMap=Ir((function(t,e){return"function"==typeof t?new Wn(this):this.map((function(n){return Or(n,t,e)}))})),Wn.prototype.reject=function(t){return this.filter(wa(Zo(t)))},Wn.prototype.slice=function(t,e){t=rs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Wn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=rs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Wn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Wn.prototype.toArray=function(){return this.take(4294967295)},cr(Wn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Cn[r?"take"+("last"==e?"Right":""):e],i=r||/^find/.test(e);o&&(Cn.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,s=e instanceof Wn,c=a[0],u=s||Ta(e),p=function(t){var e=o.apply(Cn,he([t],a));return r&&l?e[0]:e};u&&n&&"function"==typeof c&&1!=c.length&&(s=u=!1);var l=this.__chain__,f=!!this.__actions__.length,A=i&&!l,h=s&&!f;if(!i&&u){e=h?e:new Wn(this);var d=t.apply(e,a);return d.__actions__.push({func:na,args:[p],thisArg:void 0}),new Rn(d,l)}return A&&h?t.apply(this,a):(d=this.thru(p),A?r?d.value()[0]:d.value():d)})})),se(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Mt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Cn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return e.apply(Ta(o)?o:[],t)}return this[n]((function(n){return e.apply(Ta(n)?n:[],t)}))}})),cr(Wn.prototype,(function(t,e){var n=Cn[e];if(n){var r=n.name+"";vt.call(gn,r)||(gn[r]=[]),gn[r].push({name:e,func:n})}})),gn[So(void 0,2).name]=[{name:"wrapper",func:void 0}],Wn.prototype.clone=function(){var t=new Wn(this.__wrapped__);return t.__actions__=Oo(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Oo(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Oo(this.__views__),t},Wn.prototype.reverse=function(){if(this.__filtered__){var t=new Wn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Wn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ta(t),r=e<0,o=n?t.length:0,i=function(t,e,n){var r=-1,o=n.length;for(;++r=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Cn.prototype.plant=function(t){for(var e,n=this;n instanceof En;){var r=Ci(n);r.__index__=0,r.__values__=void 0,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},Cn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Wn){var e=t;return this.__actions__.length&&(e=new Wn(this)),(e=e.reverse()).__actions__.push({func:na,args:[ji],thisArg:void 0}),new Rn(e,this.__chain__)}return this.thru(ji)},Cn.prototype.toJSON=Cn.prototype.valueOf=Cn.prototype.value=function(){return no(this.__wrapped__,this.__actions__)},Cn.prototype.first=Cn.prototype.head,Gt&&(Cn.prototype[Gt]=function(){return this}),Cn}();Kt._=Ye,void 0===(o=function(){return Ye}.call(e,n,e,r))||(r.exports=o)}).call(this)}).call(this,n(67),n(137)(t))},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e){for(var n=0;n=0||(o[n]=t[n]);return o}var b=n(906),M=n.n(b),O=n(102),g=n.n(O),z=n(600),m={notify:function(){}};var v=function(){function t(t,e,n){this.store=t,this.parentSub=e,this.onStateChange=n,this.unsubscribe=null,this.listeners=m}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var t=[],e=[];return{clear:function(){e=null,t=null},notify:function(){for(var n=t=e,r=0;r, or explicitly pass "'+S+'" as a prop to "'+r+'".'),o.initSelector(),o.initSubscription(),o}o(s,n);var c=s.prototype;return c.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[T]=e||this.context[T],t},c.componentDidMount=function(){B&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},c.componentWillReceiveProps=function(t){this.selector.run(t)},c.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},c.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=_,this.store=null,this.selector.run=_,this.selector.shouldComponentUpdate=!1},c.getWrappedInstance=function(){return g()(R,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+f+"() call."),this.wrappedInstance},c.setWrappedInstance=function(t){this.wrappedInstance=t},c.initSelector=function(){var e=t(this.store.dispatch,a);this.selector=function(t,e){var n={run:function(r){try{var o=t(e.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(i){n.shouldComponentUpdate=!0,n.error=i}}};return n}(e,this.store),this.selector.run(this.props)},c.initSubscription=function(){if(B){var t=(this.propsMode?this.props:this.context)[T];this.subscription=new v(this.store,t,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},c.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(q)):this.notifyNestedSubs()},c.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},c.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},c.addExtraProps=function(t){if(!R&&!O&&(!this.propsMode||!this.subscription))return t;var e=Object(h.a)({},t);return R&&(e.ref=this.setWrappedInstance),O&&(e[O]=this.renderCount++),this.propsMode&&this.subscription&&(e[T]=this.subscription),e},c.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return Object(i.createElement)(e,this.addExtraProps(t.props))},s}(i.Component);return y&&(s.prototype.UNSAFE_componentWillReceiveProps=s.prototype.componentWillReceiveProps,delete s.prototype.componentWillReceiveProps),s.WrappedComponent=e,s.displayName=r,s.childContextTypes=x,s.contextTypes=N,s.propTypes=N,M()(s,e)}}var C=Object.prototype.hasOwnProperty;function S(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function E(t,e){if(S(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=0;o=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function j(t,e){return t===e}var H=function(t){var e=void 0===t?{}:t,n=e.connectHOC,r=void 0===n?B:n,o=e.mapStateToPropsFactories,i=void 0===o?x:o,a=e.mapDispatchToPropsFactories,s=void 0===a?N:a,c=e.mergePropsFactories,u=void 0===c?I:c,p=e.selectorFactory,l=void 0===p?F:p;return function(t,e,n,o){void 0===o&&(o={});var a=o,c=a.pure,p=void 0===c||c,f=a.areStatesEqual,A=void 0===f?j:f,b=a.areOwnPropsEqual,M=void 0===b?E:b,O=a.areStatePropsEqual,g=void 0===O?E:O,z=a.areMergedPropsEqual,m=void 0===z?E:z,v=d(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),y=U(t,i,"mapStateToProps"),w=U(e,s,"mapDispatchToProps"),q=U(n,u,"mergeProps");return r(l,Object(h.a)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:y,initMapDispatchToProps:w,initMergeProps:q,pure:p,areStatesEqual:A,areOwnPropsEqual:M,areStatePropsEqual:g,areMergedPropsEqual:m},v))}}()},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t="",e=0;e1?"s":"")+" required, but only "+e.length+" present")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return i}));var r=n(108),o=n(23);function i(t){Object(o.a)(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"===Object(r.a)(t)&&"[object Date]"===e?new Date(t.getTime()):"number"===typeof t||"[object Number]"===e?new Date(t):("string"!==typeof t&&"[object String]"!==e||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},function(t,e,n){var r=n(1557),o=n(274)(r);t.exports=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(478);function o(t,e,n){return(e=Object(r.a)(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(70),o=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.getFormatInstance=function(){return new e},e.kind="FormatException",e}(r.a);e.a=i},function(t,e,n){var r=n(159).default,o=n(7);t.exports=function(t,e){if(e&&("object"===r(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return o(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(70),o=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="IllegalArgumentException",e}(r.a);e.a=i},function(t,e,n){t.exports=n(1749)()},function(t,e,n){(function(t){var r=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},r=0;r=i)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return t}})),c=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&e._extend(r,n),O(r.showHidden)&&(r.showHidden=!1),O(r.depth)&&(r.depth=2),O(r.colors)&&(r.colors=!1),O(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=c),p(r,t,r.depth)}function c(t,e){var n=s.styles[e];return n?"\x1b["+s.colors[n][0]+"m"+t+"\x1b["+s.colors[n][1]+"m":t}function u(t,e){return t}function p(t,n,r){if(t.customInspect&&n&&y(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,t);return M(o)||(o=p(t,o,r)),o}var i=function(t,e){if(O(e))return t.stylize("undefined","undefined");if(M(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(b(e))return t.stylize(""+e,"number");if(h(e))return t.stylize(""+e,"boolean");if(d(e))return t.stylize("null","null")}(t,n);if(i)return i;var a=Object.keys(n),s=function(t){var e={};return t.forEach((function(t,n){e[t]=!0})),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),v(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(n);if(0===a.length){if(y(n)){var c=n.name?": "+n.name:"";return t.stylize("[Function"+c+"]","special")}if(g(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(m(n))return t.stylize(Date.prototype.toString.call(n),"date");if(v(n))return l(n)}var u,z="",w=!1,q=["{","}"];(A(n)&&(w=!0,q=["[","]"]),y(n))&&(z=" [Function"+(n.name?": "+n.name:"")+"]");return g(n)&&(z=" "+RegExp.prototype.toString.call(n)),m(n)&&(z=" "+Date.prototype.toUTCString.call(n)),v(n)&&(z=" "+l(n)),0!==a.length||w&&0!=n.length?r<0?g(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),u=w?function(t,e,n,r,o){for(var i=[],a=0,s=e.length;a=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1];return n[0]+e+" "+t.join(", ")+" "+n[1]}(u,z,q)):q[0]+z+q[1]}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function f(t,e,n,r,o,i){var a,s,c;if((c=Object.getOwnPropertyDescriptor(e,o)||{value:e[o]}).get?s=c.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):c.set&&(s=t.stylize("[Setter]","special")),C(r,o)||(a="["+o+"]"),s||(t.seen.indexOf(c.value)<0?(s=d(n)?p(t,c.value,null):p(t,c.value,n-1)).indexOf("\n")>-1&&(s=i?s.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+s.split("\n").map((function(t){return" "+t})).join("\n")):s=t.stylize("[Circular]","special")),O(a)){if(i&&o.match(/^\d+$/))return s;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function A(t){return Array.isArray(t)}function h(t){return"boolean"===typeof t}function d(t){return null===t}function b(t){return"number"===typeof t}function M(t){return"string"===typeof t}function O(t){return void 0===t}function g(t){return z(t)&&"[object RegExp]"===w(t)}function z(t){return"object"===typeof t&&null!==t}function m(t){return z(t)&&"[object Date]"===w(t)}function v(t){return z(t)&&("[object Error]"===w(t)||t instanceof Error)}function y(t){return"function"===typeof t}function w(t){return Object.prototype.toString.call(t)}function q(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(n){if(O(i)&&(i=Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0}).NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(i)){var r=t.pid;a[n]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",n,r,t)}}else a[n]=function(){};return a[n]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=A,e.isBoolean=h,e.isNull=d,e.isNullOrUndefined=function(t){return null==t},e.isNumber=b,e.isString=M,e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=O,e.isRegExp=g,e.isObject=z,e.isDate=m,e.isError=v,e.isFunction=y,e.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},e.isBuffer=n(1281);var _=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function B(){var t=new Date,e=[q(t.getHours()),q(t.getMinutes()),q(t.getSeconds())].join(":");return[t.getDate(),_[t.getMonth()],e].join(" ")}function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",B(),e.format.apply(e,arguments))},e.inherits=n(1282),e._extend=function(t,e){if(!e||!z(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var S="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function E(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}e.promisify=function(t){if("function"!==typeof t)throw new TypeError('The "original" argument must be of type Function');if(S&&t[S]){var e;if("function"!==typeof(e=t[S]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,S,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,r=new Promise((function(t,r){e=t,n=r})),o=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(n&&"equal"===t)return"equal width";var r=o()(t);return"string"!==r&&"number"!==r||!e?Object(i.a)(t):"".concat(Object(i.a)(t)," ").concat(e)}},,function(t,e,n){"use strict";var r=n(54),o=n(362),i=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t.prototype.equals=function(e){if(e instanceof t){var n=e;return this.x===n.x&&this.y===n.y}return!1},t.prototype.hashCode=function(){return 31*o.a.floatToIntBits(this.x)+o.a.floatToIntBits(this.y)},t.prototype.toString=function(){return"("+this.x+","+this.y+")"},t.orderBestPatterns=function(t){var e,n,r,o=this.distance(t[0],t[1]),i=this.distance(t[1],t[2]),a=this.distance(t[0],t[2]);if(i>=o&&i>=a?(n=t[0],e=t[1],r=t[2]):a>=i&&a>=o?(n=t[1],e=t[0],r=t[2]):(n=t[2],e=t[0],r=t[1]),this.crossProductZ(e,n,r)<0){var s=e;e=r,r=s}t[0]=e,t[1]=n,t[2]=r},t.distance=function(t,e){return r.a.distance(t.x,t.y,e.x,e.y)},t.crossProductZ=function(t,e,n){var r=e.x,o=e.y;return(n.x-r)*(t.y-o)-(n.y-o)*(t.x-r)},t}();e.a=i},function(t,e,n){"use strict";var r;!function(t){t[t.AZTEC=0]="AZTEC",t[t.CODABAR=1]="CODABAR",t[t.CODE_39=2]="CODE_39",t[t.CODE_93=3]="CODE_93",t[t.CODE_128=4]="CODE_128",t[t.DATA_MATRIX=5]="DATA_MATRIX",t[t.EAN_8=6]="EAN_8",t[t.EAN_13=7]="EAN_13",t[t.ITF=8]="ITF",t[t.MAXICODE=9]="MAXICODE",t[t.PDF_417=10]="PDF_417",t[t.QR_CODE=11]="QR_CODE",t[t.RSS_14=12]="RSS_14",t[t.RSS_EXPANDED=13]="RSS_EXPANDED",t[t.UPC_A=14]="UPC_A",t[t.UPC_E=15]="UPC_E",t[t.UPC_EAN_EXTENSION=16]="UPC_EAN_EXTENSION"}(r||(r={})),e.a=r},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var r=n(848);function o(t,e){for(var n=0;n ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},e.prototype.render=function(){return a.a.createElement(p.a,{history:this.history,children:this.props.children})},e}(a.a.Component);A.propTypes={basename:c.a.string,forceRefresh:c.a.bool,getUserConfirmation:c.a.func,keyLength:c.a.number,children:c.a.node};var h=A;function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var M=function(t){function e(){var n,r;d(this,e);for(var o=arguments.length,i=Array(o),a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},e.prototype.render=function(){return a.a.createElement(p.a,{history:this.history,children:this.props.children})},e}(a.a.Component);M.propTypes={basename:c.a.string,getUserConfirmation:c.a.func,hashType:c.a.oneOf(["hashbang","noslash","slash"]),children:c.a.node};var O=M,g=n(338),z=n(295);function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var y=function(t){function e(){var n,r;m(this,e);for(var o=arguments.length,i=Array(o),a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},e.prototype.render=function(){return a.a.createElement(z.a,{history:this.history,children:this.props.children})},e}(a.a.Component);y.propTypes={initialEntries:c.a.array,initialIndex:c.a.number,getUserConfirmation:c.a.func,keyLength:c.a.number,children:c.a.node};var w=y,q=n(451),_=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),A="object"===("undefined"===typeof e?"undefined":B(e))?e.pathname:e,h=A&&A.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");return a.a.createElement(q.a,{path:h,exact:n,strict:r,location:o,children:function(t){var n=t.location,r=t.match,o=!!(p?p(r,n):r);return a.a.createElement(g.a,_({to:e,className:o?[s,i].filter((function(t){return t})).join(" "):s,style:o?_({},u,c):u,"aria-current":o&&l||null},f))}})};C.propTypes={to:g.a.propTypes.to,exact:c.a.bool,strict:c.a.bool,location:c.a.object,activeClassName:c.a.string,className:c.a.string,activeStyle:c.a.object,style:c.a.object,isActive:c.a.func,"aria-current":c.a.oneOf(["page","step","location","date","time","true"])},C.defaultProps={activeClassName:"active","aria-current":"page"};var S=C,E=n(102),R=n.n(E);function W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function T(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var L=function(t){function e(){return W(this,e),T(this,t.apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.enable=function(t){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(t)},e.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},e.prototype.componentWillMount=function(){R()(this.context.router,"You should not use outside a "),this.props.when&&this.enable(this.props.message)},e.prototype.componentWillReceiveProps=function(t){t.when?this.props.when&&this.props.message===t.message||this.enable(t.message):this.disable()},e.prototype.componentWillUnmount=function(){this.disable()},e.prototype.render=function(){return null},e}(a.a.Component);L.propTypes={when:c.a.bool,message:c.a.oneOfType([c.a.func,c.a.string]).isRequired},L.defaultProps={when:!0},L.contextTypes={router:c.a.shape({history:c.a.shape({block:c.a.func.isRequired}).isRequired}).isRequired};var N=L,x=n(468),k=n.n(x),I={},P=0,D=function(t){var e=t,n=I[e]||(I[e]={});if(n[t])return n[t];var r=k.a.compile(t);return P<1e4&&(n[t]=r,P++),r},F=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("/"===t)return t;var n=D(t);return n(e,{pretty:!0})},U=Object.assign||function(t){for(var e=1;e outside a "),this.isStatic()&&this.perform()},e.prototype.componentDidMount=function(){this.isStatic()||this.perform()},e.prototype.componentDidUpdate=function(t){var e=Object(u.c)(t.to),n=Object(u.c)(this.props.to);Object(u.f)(e,n)?o()(!1,"You tried to redirect to the same route you're currently on: \""+n.pathname+n.search+'"'):this.perform()},e.prototype.computeTo=function(t){var e=t.computedMatch,n=t.to;return e?"string"===typeof n?F(n,e.params):U({},n,{pathname:F(n.pathname,e.params)}):n},e.prototype.perform=function(){var t=this.context.router.history,e=this.props.push,n=this.computeTo(this.props);e?t.push(n):t.replace(n)},e.prototype.render=function(){return null},e}(a.a.Component);X.propTypes={computedMatch:c.a.object,push:c.a.bool,from:c.a.string,to:c.a.oneOfType([c.a.string,c.a.object]).isRequired},X.defaultProps={push:!1},X.contextTypes={router:c.a.shape({history:c.a.shape({push:c.a.func.isRequired,replace:c.a.func.isRequired}).isRequired,staticContext:c.a.object}).isRequired};var Q=X,K=Object.assign||function(t){for(var e=1;e",t)}},et=function(){},nt=function(t){function e(){var n,r;V(this,e);for(var o=arguments.length,i=Array(o),a=0;a ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},e.prototype.render=function(){var t=this.props,e=t.basename,n=(t.context,t.location),r=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["basename","context","location"]),o={createHref:this.createHref,action:"POP",location:J(e,Object(u.c)(n)),push:this.handlePush,replace:this.handleReplace,go:tt("go"),goBack:tt("goBack"),goForward:tt("goForward"),listen:this.handleListen,block:this.handleBlock};return a.a.createElement(z.a,K({},r,{history:o}))},e}(a.a.Component);nt.propTypes={basename:c.a.string,context:c.a.object.isRequired,location:c.a.oneOfType([c.a.string,c.a.object])},nt.defaultProps={basename:"",location:"/"},nt.childContextTypes={router:c.a.object.isRequired};var rt=nt,ot=n(905),it=F,at=n(289).a,st=n(871)},function(t,e,n){var r=n(849);t.exports=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(302),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);t.exports=r?a:function(t){return function(){return i.apply(t,arguments)}}},function(t,e,n){"use strict";(function(e){var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()}).call(this,n(67))},function(t,e){t.exports=function(t){return null==t}},function(t,e,n){"use strict";var r=function(){function t(){}return t.numberOfTrailingZeros=function(t){var e;if(0===t)return 32;var n=31;return 0!==(e=t<<16)&&(n-=16,t=e),0!==(e=t<<8)&&(n-=8,t=e),0!==(e=t<<4)&&(n-=4,t=e),0!==(e=t<<2)&&(n-=2,t=e),n-(t<<1>>>31)},t.numberOfLeadingZeros=function(t){if(0===t)return 32;var e=1;return t>>>16===0&&(e+=16,t<<=16),t>>>24===0&&(e+=8,t<<=8),t>>>28===0&&(e+=4,t<<=4),t>>>30===0&&(e+=2,t<<=2),e-=t>>>31},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=void 0),parseInt(t,e)},t.MIN_VALUE_32_BITS=-2147483648,t.MAX_VALUE=Number.MAX_SAFE_INTEGER,t}();e.a=r},function(t,e,n){"use strict";var r=n(61),o=function(){function t(t){void 0===t&&(t=""),this.value=t}return t.prototype.enableDecoding=function(t){return this.encoding=t,this},t.prototype.append=function(t){return"string"===typeof t?this.value+=t.toString():this.encoding?this.value+=r.a.castAsNonUtf8Char(t,this.encoding):this.value+=String.fromCharCode(t),this},t.prototype.appendChars=function(t,e,n){for(var r=e;e=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t+(t<0?-.5:.5)|0},t.distance=function(t,e,n,r){var o=t-n,i=e-r;return Math.sqrt(o*o+i*i)},t.sum=function(t){for(var e=0,n=0,r=t.length;n!==r;n++){e+=t[n]}return e},t}();e.a=r},function(t,e,n){"use strict";var r=n(302),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=M(n(793)),o=M(n(104)),i=M(n(170)),a=M(n(101)),s=M(n(105)),c=M(n(0)),u=M(n(4)),p=M(n(15)),l=M(n(1453)),f=n(1454),A=M(n(1470)),h=M(n(1471)),d=M(n(1472)),b=M(n(1473));function M(t){return t&&t.__esModule?t:{default:t}}var O=function(t){function e(t){(0,o.default)(this,e);var n=(0,a.default)(this,(e.__proto__||(0,r.default)(e)).call(this,t));return n.componentWillUnmount=function(){b.default.removeListenable(n.eventToken)},n.handleGlobalKeydown=function(t){return n.props.closeOnEscape&&27==t.keyCode&&(t.stopPropagation(),n.onClose()),!1},n.onClose=function(){n.props.onClose&&n.props.onClose()},n.onMinimize=function(){n.setState({isMinimized:!0,isMaximized:!1})},n.onMaximize=function(){n.setState({isMinimized:!1,isMaximized:!0})},n.onRestore=function(){n.setState({isMinimized:!1,isMaximized:!1})},n.onResize=function(t,e){e.element;var r=e.size;n.setState({width:r.width,height:r.height})},n.getDialogTitle=function(){return c.default.createElement(A.default,{title:n.props.title,hasCloseIcon:n.props.hasCloseIcon,allowMinimize:n.props.allowMinimize,allowMaximize:n.props.allowMaximize,isMinimized:n.state.isMinimized,isMaximized:n.state.isMaximized,onMinimize:n.onMinimize,onMaximize:n.onMaximize,onRestore:n.onRestore,onClose:n.onClose})},n.state={height:t.height,width:t.width,isMinimized:!1,isMaximized:!1},n}return(0,s.default)(e,t),(0,i.default)(e,[{key:"componentWillMount",value:function(){this.eventToken=b.default.addListenable([["keydown",this.handleGlobalKeydown]])}},{key:"render",value:function(){var t=this.state,e=t.height,n=t.width,r=t.isMinimized,o=t.isMaximized,i=this.props,a=i.modal,s=i.isDraggable,u=i.isResizable,A=i.buttons,b=i.children,M=i.position,O=M.x,g=void 0===O?-n/2:O,z=M.y,m=void 0===z?-e/2:z,v=c.default.createElement("div",{style:{height:e,width:n,transform:"translate("+g+"px, "+m+"px)"},className:(0,p.default)("ui-dialog",{minimized:r,maximized:o})},this.getDialogTitle(),!r&&c.default.createElement(h.default,null,b),!r&&c.default.createElement(d.default,{buttons:A,onClose:this.onClose}));return r||o||!u||(v=c.default.createElement(f.Resizable,{className:"box",height:e,width:n,onResize:this.onResize},v)),r||o||!1===s||(v=c.default.createElement(l.default,{handle:".ui-dialog-titlebar",bounds:"body",defaultPosition:{x:g,y:m}},v)),c.default.createElement("div",{className:(0,p.default)("ui-dialog-container",{"":a})},v,a&&c.default.createElement("div",{className:"ui-dialog-overlay"}))}}]),e}(c.default.Component);O.propTypes={height:u.default.number,width:u.default.number,modal:u.default.bool,position:u.default.shape({x:u.default.number,y:u.default.number}),hasCloseIcon:u.default.bool,allowMinimize:u.default.bool,allowMaximize:u.default.bool,isResizable:u.default.bool,title:u.default.oneOfType([u.default.string,u.default.element]),closeOnEscape:u.default.bool,onClose:u.default.func,children:u.default.oneOfType([u.default.string,u.default.array,u.default.element]).isRequired,buttons:u.default.oneOfType([u.default.arrayOf(u.default.shape({text:u.default.string,onClick:u.default.func})),u.default.arrayOf(u.default.element)])},O.defaultProps={height:300,width:500,modal:!1,closeOnEscape:!0,isDraggable:!1,isResizable:!1,title:"",hasCloseIcon:!0,allowMinimize:!1,allowMaximize:!1,onClose:null,buttons:null,position:{x:-250,y:-150}},e.default=O},function(t,e,n){"use strict";var r=n(84),o=n(54),i=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(){}return t.prototype.PDF417Common=function(){},t.getBitCountSum=function(t){return o.a.sum(t)},t.toIntArray=function(e){var n,r;if(null==e||!e.length)return t.EMPTY_INT_ARRAY;var o=new Int32Array(e.length),a=0;try{for(var s=i(e),c=s.next();!c.done;c=s.next()){var u=c.value;o[a++]=u}}catch(p){n={error:p}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return o},t.getCodeword=function(e){var n=r.a.binarySearch(t.SYMBOL_TABLE,262143&e);return n<0?-1:(t.CODEWORD_TABLE[n]-1)%t.NUMBER_OF_CODEWORDS},t.NUMBER_OF_CODEWORDS=929,t.MAX_CODEWORDS_IN_BARCODE=t.NUMBER_OF_CODEWORDS-1,t.MIN_ROWS_IN_BARCODE=3,t.MAX_ROWS_IN_BARCODE=90,t.MODULES_IN_CODEWORD=17,t.MODULES_IN_STOP_PATTERN=18,t.BARS_IN_MODULE=8,t.EMPTY_INT_ARRAY=new Int32Array([]),t.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),t.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),t}();e.a=a},function(t,e,n){"use strict";var r;!function(t){t[t.OTHER=0]="OTHER",t[t.PURE_BARCODE=1]="PURE_BARCODE",t[t.POSSIBLE_FORMATS=2]="POSSIBLE_FORMATS",t[t.TRY_HARDER=3]="TRY_HARDER",t[t.CHARACTER_SET=4]="CHARACTER_SET",t[t.ALLOWED_LENGTHS=5]="ALLOWED_LENGTHS",t[t.ASSUME_CODE_39_CHECK_DIGIT=6]="ASSUME_CODE_39_CHECK_DIGIT",t[t.ASSUME_GS1=7]="ASSUME_GS1",t[t.RETURN_CODABAR_START_END=8]="RETURN_CODABAR_START_END",t[t.NEED_RESULT_POINT_CALLBACK=9]="NEED_RESULT_POINT_CALLBACK",t[t.ALLOWED_EAN_EXTENSIONS=10]="ALLOWED_EAN_EXTENSIONS"}(r||(r={})),e.a=r},function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(t){r[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(t,e){for(var n,s,c=a(t),u=1;u3&&239===e[0]&&187===e[1]&&191===e[2],z=0;z0?0===(128&m)?s=!1:c--:0!==(128&m)&&(0===(64&m)?s=!1:(c++,0===(32&m)?u++:(c++,0===(16&m)?p++:(c++,0===(8&m)?l++:s=!1))))),i&&(m>127&&m<160?i=!1:m>159&&(m<192||215===m||247===m)&&O++),a&&(f>0?m<64||127===m||m>252?a=!1:f--:128===m||160===m||m>239?a=!1:m>160&&m<224?(A++,d=0,++h>b&&(b=h)):m>127?(f++,h=0,++d>M&&(M=d)):(h=0,d=0))}return s&&c>0&&(s=!1),a&&f>0&&(a=!1),s&&(g||u+p+l>0)?t.UTF8:a&&(t.ASSUME_SHIFT_JIS||b>=3||M>=3)?t.SHIFT_JIS:i&&a?2===b&&2===A||10*O>=o?t.SHIFT_JIS:t.ISO88591:i?t.ISO88591:a?t.SHIFT_JIS:s?t.UTF8:t.PLATFORM_DEFAULT_ENCODING},t.format=function(t){for(var e=[],n=1;n0){var n=new Array(e.length+t.length);r.a.arraycopy(e,0,n,0,e.length),r.a.arraycopy(t,0,n,e.length,t.length),this.resultPoints=n}},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.toString=function(){return this.text},t}();e.a=o},function(t,e,n){"use strict";function r(t,e){void 0===e&&(e=t.constructor);var n=Error.captureStackTrace;n&&n(t,e)}var o=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(e,n){var o=this.constructor,i=t.call(this,e,n)||this;return Object.defineProperty(i,"name",{value:o.name,enumerable:!1,configurable:!0}),function(t,e){var n=Object.setPrototypeOf;n?n(t,e):t.__proto__=e}(i,o.prototype),r(i),i}return o(e,t),e}(Error);var a=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(t){function e(e){void 0===e&&(e=void 0);var n=t.call(this,e)||this;return n.message=e,n}return a(e,t),e.prototype.getKind=function(){return this.constructor.kind},e.kind="Exception",e}(i);e.a=s},function(t,e,n){"use strict";var r,o=n(30);!function(t){t[t.TERMINATOR=0]="TERMINATOR",t[t.NUMERIC=1]="NUMERIC",t[t.ALPHANUMERIC=2]="ALPHANUMERIC",t[t.STRUCTURED_APPEND=3]="STRUCTURED_APPEND",t[t.BYTE=4]="BYTE",t[t.ECI=5]="ECI",t[t.KANJI=6]="KANJI",t[t.FNC1_FIRST_POSITION=7]="FNC1_FIRST_POSITION",t[t.FNC1_SECOND_POSITION=8]="FNC1_SECOND_POSITION",t[t.HANZI=9]="HANZI"}(r||(r={}));var i=function(){function t(e,n,r,o){this.value=e,this.stringValue=n,this.characterCountBitsForVersions=r,this.bits=o,t.FOR_BITS.set(o,this),t.FOR_VALUE.set(e,this)}return t.forBits=function(e){var n=t.FOR_BITS.get(e);if(void 0===n)throw new o.a;return n},t.prototype.getCharacterCountBits=function(t){var e,n=t.getVersionNumber();return e=n<=9?0:n<=26?1:2,this.characterCountBitsForVersions[e]},t.prototype.getValue=function(){return this.value},t.prototype.getBits=function(){return this.bits},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.value===n.value},t.prototype.toString=function(){return this.stringValue},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.TERMINATOR=new t(r.TERMINATOR,"TERMINATOR",Int32Array.from([0,0,0]),0),t.NUMERIC=new t(r.NUMERIC,"NUMERIC",Int32Array.from([10,12,14]),1),t.ALPHANUMERIC=new t(r.ALPHANUMERIC,"ALPHANUMERIC",Int32Array.from([9,11,13]),2),t.STRUCTURED_APPEND=new t(r.STRUCTURED_APPEND,"STRUCTURED_APPEND",Int32Array.from([0,0,0]),3),t.BYTE=new t(r.BYTE,"BYTE",Int32Array.from([8,16,16]),4),t.ECI=new t(r.ECI,"ECI",Int32Array.from([0,0,0]),7),t.KANJI=new t(r.KANJI,"KANJI",Int32Array.from([8,10,12]),8),t.FNC1_FIRST_POSITION=new t(r.FNC1_FIRST_POSITION,"FNC1_FIRST_POSITION",Int32Array.from([0,0,0]),5),t.FNC1_SECOND_POSITION=new t(r.FNC1_SECOND_POSITION,"FNC1_SECOND_POSITION",Int32Array.from([0,0,0]),9),t.HANZI=new t(r.HANZI,"HANZI",Int32Array.from([8,10,12]),13),t}();e.a=i},function(t,e,n){"use strict";var r=n(70),o=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="WriterException",e}(r.a);e.a=i},function(t,e,n){"use strict";var r=n(44),o=n(82),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){"use strict";var r=n(70),o=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.getChecksumInstance=function(){return new e},e.kind="ChecksumException",e}(r.a);e.a=i},function(t,e,n){"use strict";var r=n(30),o=n(84),i=n(47),a=n(53),s=function(){function t(e,n){void 0===e?(this.size=0,this.bits=new Int32Array(1)):(this.size=e,this.bits=void 0===n||null===n?t.makeArray(e):n)}return t.prototype.getSize=function(){return this.size},t.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},t.prototype.ensureCapacity=function(e){if(e>32*this.bits.length){var n=t.makeArray(e);a.a.arraycopy(this.bits,0,n,0,this.bits.length),this.bits=n}},t.prototype.get=function(t){return 0!==(this.bits[Math.floor(t/32)]&1<<(31&t))},t.prototype.set=function(t){this.bits[Math.floor(t/32)]|=1<<(31&t)},t.prototype.flip=function(t){this.bits[Math.floor(t/32)]^=1<<(31&t)},t.prototype.getNextSet=function(t){var e=this.size;if(t>=e)return e;var n=this.bits,r=Math.floor(t/32),o=n[r];o&=~((1<<(31&t))-1);for(var a=n.length;0===o;){if(++r===a)return e;o=n[r]}var s=32*r+i.a.numberOfTrailingZeros(o);return s>e?e:s},t.prototype.getNextUnset=function(t){var e=this.size;if(t>=e)return e;var n=this.bits,r=Math.floor(t/32),o=~n[r];o&=~((1<<(31&t))-1);for(var a=n.length;0===o;){if(++r===a)return e;o=~n[r]}var s=32*r+i.a.numberOfTrailingZeros(o);return s>e?e:s},t.prototype.setBulk=function(t,e){this.bits[Math.floor(t/32)]=e},t.prototype.setRange=function(t,e){if(ethis.size)throw new r.a;if(e!==t){e--;for(var n=Math.floor(t/32),o=Math.floor(e/32),i=this.bits,a=n;a<=o;a++){var s=(2<<(an?0:31&t));i[a]|=s}}},t.prototype.clear=function(){for(var t=this.bits.length,e=this.bits,n=0;nthis.size)throw new r.a;if(e===t)return!0;e--;for(var o=Math.floor(t/32),i=Math.floor(e/32),a=this.bits,s=o;s<=i;s++){var c=(2<<(so?0:31&t))&4294967295;if((a[s]&c)!==(n?c:0))return!1}return!0},t.prototype.appendBit=function(t){this.ensureCapacity(this.size+1),t&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},t.prototype.appendBits=function(t,e){if(e<0||e>32)throw new r.a("Num bits must be between 0 and 32");this.ensureCapacity(this.size+e);for(var n=e;n>0;n--)this.appendBit(1===(t>>n-1&1))},t.prototype.appendBitArray=function(t){var e=t.size;this.ensureCapacity(this.size+e);for(var n=0;n>1&1431655765|(1431655765&i)<<1)>>2&858993459|(858993459&i)<<2)>>4&252645135|(252645135&i)<<4)>>8&16711935|(16711935&i)<<8)>>16&65535|(65535&i)<<16,t[e-o]=i}if(this.size!==32*n){var a=32*n-this.size,s=t[0]>>>a;for(o=1;o>>a}t[n-1]=s}this.bits=t},t.makeArray=function(t){return new Int32Array(Math.floor((t+31)/32))},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.size===n.size&&o.a.equals(this.bits,n.bits)},t.prototype.hashCode=function(){return 31*this.size+o.a.hashCode(this.bits)},t.prototype.toString=function(){for(var t="",e=0,n=this.size;e=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(t){t[t.Cp437=0]="Cp437",t[t.ISO8859_1=1]="ISO8859_1",t[t.ISO8859_2=2]="ISO8859_2",t[t.ISO8859_3=3]="ISO8859_3",t[t.ISO8859_4=4]="ISO8859_4",t[t.ISO8859_5=5]="ISO8859_5",t[t.ISO8859_6=6]="ISO8859_6",t[t.ISO8859_7=7]="ISO8859_7",t[t.ISO8859_8=8]="ISO8859_8",t[t.ISO8859_9=9]="ISO8859_9",t[t.ISO8859_10=10]="ISO8859_10",t[t.ISO8859_11=11]="ISO8859_11",t[t.ISO8859_13=12]="ISO8859_13",t[t.ISO8859_14=13]="ISO8859_14",t[t.ISO8859_15=14]="ISO8859_15",t[t.ISO8859_16=15]="ISO8859_16",t[t.SJIS=16]="SJIS",t[t.Cp1250=17]="Cp1250",t[t.Cp1251=18]="Cp1251",t[t.Cp1252=19]="Cp1252",t[t.Cp1256=20]="Cp1256",t[t.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",t[t.UTF8=22]="UTF8",t[t.ASCII=23]="ASCII",t[t.Big5=24]="Big5",t[t.GB18030=25]="GB18030",t[t.EUC_KR=26]="EUC_KR"}(r||(r={}));var a=function(){function t(e,n,r){for(var o,a,s=[],c=3;c=900)throw new o.a("incorect value");var n=t.VALUES_TO_ECI.get(e);if(void 0===n)throw new o.a("incorect value");return n},t.getCharacterSetECIByName=function(e){var n=t.NAME_TO_ECI.get(e);if(void 0===n)throw new o.a("incorect value");return n},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.getName()===n.getName()},t.VALUE_IDENTIFIER_TO_ECI=new Map,t.VALUES_TO_ECI=new Map,t.NAME_TO_ECI=new Map,t.Cp437=new t(r.Cp437,Int32Array.from([0,2]),"Cp437"),t.ISO8859_1=new t(r.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),t.ISO8859_2=new t(r.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),t.ISO8859_3=new t(r.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),t.ISO8859_4=new t(r.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),t.ISO8859_5=new t(r.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),t.ISO8859_6=new t(r.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),t.ISO8859_7=new t(r.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),t.ISO8859_8=new t(r.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),t.ISO8859_9=new t(r.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),t.ISO8859_10=new t(r.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),t.ISO8859_11=new t(r.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),t.ISO8859_13=new t(r.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),t.ISO8859_14=new t(r.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),t.ISO8859_15=new t(r.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),t.ISO8859_16=new t(r.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),t.SJIS=new t(r.SJIS,20,"SJIS","Shift_JIS"),t.Cp1250=new t(r.Cp1250,21,"Cp1250","windows-1250"),t.Cp1251=new t(r.Cp1251,22,"Cp1251","windows-1251"),t.Cp1252=new t(r.Cp1252,23,"Cp1252","windows-1252"),t.Cp1256=new t(r.Cp1256,24,"Cp1256","windows-1256"),t.UnicodeBigUnmarked=new t(r.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),t.UTF8=new t(r.UTF8,26,"UTF8","UTF-8"),t.ASCII=new t(r.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),t.Big5=new t(r.Big5,28,"Big5"),t.GB18030=new t(r.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),t.EUC_KR=new t(r.EUC_KR,30,"EUC_KR","EUC-KR"),t}();e.a=a},function(t,e,n){"use strict";var r=n(165),o=String;t.exports=function(t){if("Symbol"===r(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},function(t,e,n){var r=n(233),o=n(184),i=n(1564),a=n(74);t.exports=function(t,e){return(a(t)?r:i)(t,o(e,3))}},function(t,e,n){"use strict";var r;!function(t){t[t.OTHER=0]="OTHER",t[t.ORIENTATION=1]="ORIENTATION",t[t.BYTE_SEGMENTS=2]="BYTE_SEGMENTS",t[t.ERROR_CORRECTION_LEVEL=3]="ERROR_CORRECTION_LEVEL",t[t.ISSUE_NUMBER=4]="ISSUE_NUMBER",t[t.SUGGESTED_PRICE=5]="SUGGESTED_PRICE",t[t.POSSIBLE_COUNTRY=6]="POSSIBLE_COUNTRY",t[t.UPC_EAN_EXTENSION=7]="UPC_EAN_EXTENSION",t[t.PDF417_EXTRA_METADATA=8]="PDF417_EXTRA_METADATA",t[t.STRUCTURED_APPEND_SEQUENCE=9]="STRUCTURED_APPEND_SEQUENCE",t[t.STRUCTURED_APPEND_PARITY=10]="STRUCTURED_APPEND_PARITY"}(r||(r={})),e.a=r},function(t,e,n){"use strict";var r=n(76),o=n(59),i=n(80),a=n(35),s=n(20),c=function(){function t(){}return t.prototype.decode=function(t,e){try{return this.doDecode(t,e)}catch(A){if(e&&!0===e.get(o.a.TRY_HARDER)&&t.isRotateSupported()){var n=t.rotateCounterClockwise(),r=this.doDecode(n,e),c=r.getResultMetadata(),u=270;null!==c&&!0===c.get(i.a.ORIENTATION)&&(u+=c.get(i.a.ORIENTATION)%360),r.putMetadata(i.a.ORIENTATION,u);var p=r.getResultPoints();if(null!==p)for(var l=n.getHeight(),f=0;f>(l?8:5));n=l?u:15;for(var A=Math.trunc(u/2),h=0;h=u)break;try{p=t.getBlackRow(b,p)}catch(m){continue}for(var M=function(t){if(1===t&&(p.reverse(),e&&!0===e.get(o.a.NEED_RESULT_POINT_CALLBACK))){var n=new Map;e.forEach((function(t,e){return n.set(e,t)})),n.delete(o.a.NEED_RESULT_POINT_CALLBACK),e=n}try{var r=O.decodeRow(b,p,e);if(1===t){r.putMetadata(i.a.ORIENTATION,180);var s=r.getResultPoints();null!==s&&(s[0]=new a.a(c-s[0].getX()-1,s[0].getY()),s[1]=new a.a(c-s[1].getX()-1,s[1].getY()))}return{value:r}}catch(u){}},O=this,g=0;g<2;g++){var z=M(g);if("object"===typeof z)return z.value}}throw new s.a},t.recordPattern=function(t,e,n){for(var r=n.length,o=0;o=i)throw new s.a;for(var a=!t.get(e),c=0,u=e;u0&&o>=0;)e.get(--n)!==i&&(o--,i=!i);if(o>=0)throw new s.a;t.recordPattern(e,n+1,r)},t.patternMatchVariance=function(t,e,n){for(var r=t.length,o=0,i=0,a=0;al?p-l:l-p;if(f>n)return Number.POSITIVE_INFINITY;c+=f}return c/o},t}();e.a=c},function(t,e,n){"use strict";var r=n(122),o=Object;t.exports=function(t){return o(r(t))}},function(t,e,n){"use strict";var r=n(76),o=n(53),i=n(84),a=n(48),s=n(30),c=function(){function t(t,e,n,r){if(this.width=t,this.height=e,this.rowSize=n,this.bits=r,void 0!==e&&null!==e||(e=t),this.height=e,t<1||e<1)throw new s.a("Both dimensions must be greater than 0");void 0!==n&&null!==n||(n=Math.floor((t+31)/32)),this.rowSize=n,void 0!==r&&null!==r||(this.bits=new Int32Array(this.rowSize*this.height))}return t.parseFromBooleanArray=function(e){for(var n=e.length,r=e[0].length,o=new t(r,n),i=0;ia){if(-1===c)c=i-a;else if(i-a!==c)throw new s.a("row lengths do not match");a=i,u++}p++}else if(e.substring(p,p+n.length)===n)p+=n.length,o[i]=!0,i++;else{if(e.substring(p,p+r.length)!==r)throw new s.a("illegal character encountered: "+e.substring(p));p+=r.length,o[i]=!1,i++}if(i>a){if(-1===c)c=i-a;else if(i-a!==c)throw new s.a("row lengths do not match");u++}for(var l=new t(c,u),f=0;f>>(31&t)&1)},t.prototype.set=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]|=1<<(31&t)&4294967295},t.prototype.unset=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]&=~(1<<(31&t)&4294967295)},t.prototype.flip=function(t,e){var n=e*this.rowSize+Math.floor(t/32);this.bits[n]^=1<<(31&t)&4294967295},t.prototype.xor=function(t){if(this.width!==t.getWidth()||this.height!==t.getHeight()||this.rowSize!==t.getRowSize())throw new s.a("input matrix dimensions do not match");for(var e=new r.a(Math.floor(this.width/32)+1),n=this.rowSize,o=this.bits,i=0,a=this.height;ithis.height||o>this.width)throw new s.a("The region must fit inside the matrix");for(var a=this.rowSize,c=this.bits,u=e;us&&(s=c),32*ua){for(l=31;p>>>l===0;)l--;32*u+l>a&&(a=32*u+l)}}}return a=0&&0===e[n];)n--;if(n<0)return null;for(var r=Math.floor(n/t),o=32*Math.floor(n%t),i=e[n],a=31;i>>>a===0;)a--;return o+=a,Int32Array.from([o,r])},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRowSize=function(){return this.rowSize},t.prototype.equals=function(e){if(!(e instanceof t))return!1;var n=e;return this.width===n.width&&this.height===n.height&&this.rowSize===n.rowSize&&i.a.equals(this.bits,n.bits)},t.prototype.hashCode=function(){var t=this.width;return t=31*(t=31*(t=31*(t=31*t+this.width)+this.height)+this.rowSize)+i.a.hashCode(this.bits)},t.prototype.toString=function(t,e,n){return void 0===t&&(t="X "),void 0===e&&(e=" "),void 0===n&&(n="\n"),this.buildToString(t,e,n)},t.prototype.buildToString=function(t,e,n){for(var r=new a.a,o=0,i=this.height;o=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(){function t(){}return t.fill=function(t,e){for(var n=0,r=t.length;nn)throw new o.a("fromIndex("+e+") > toIndex("+n+")");if(e<0)throw new s(e);if(n>t)throw new s(n)},t.asList=function(){for(var t=[],e=0;e>1,s=r(n,e[a]);if(s>0)o=a+1;else{if(!(s<0))return a;i=a-1}}return-o-1},t.numberComparator=function(t,e){return t-e},t}();e.a=u},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){var r=n(844),o=n(150),i=n(337),a=n(272),s=n(856),c=Math.max;t.exports=function(t,e,n,u){t=o(t)?t:s(t),n=n&&!u?a(n):0;var p=t.length;return n<0&&(n=c(p+n,0)),i(t)?n<=p&&t.indexOf(e,n)>-1:!!p&&r(t,e,n)>-1}},function(t,e,n){"use strict";var r;!function(t){t[t.ERROR_CORRECTION=0]="ERROR_CORRECTION",t[t.CHARACTER_SET=1]="CHARACTER_SET",t[t.DATA_MATRIX_SHAPE=2]="DATA_MATRIX_SHAPE",t[t.MIN_SIZE=3]="MIN_SIZE",t[t.MAX_SIZE=4]="MAX_SIZE",t[t.MARGIN=5]="MARGIN",t[t.PDF417_COMPACT=6]="PDF417_COMPACT",t[t.PDF417_COMPACTION=7]="PDF417_COMPACTION",t[t.PDF417_DIMENSIONS=8]="PDF417_DIMENSIONS",t[t.AZTEC_LAYERS=9]="AZTEC_LAYERS",t[t.QR_VERSION=10]="QR_VERSION"}(r||(r={})),e.a=r},function(t,e,n){"use strict";var r=n(66),o=n(221),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},function(t,e,n){"use strict";var r=n(307),o=n(88),i=n(302),a=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:i?a(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(140),o=n(248),i=n(47),a=n(30),s=n(279),c=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(t){function e(e,n,o){var i=t.call(this)||this;i.primitive=e,i.size=n,i.generatorBase=o;for(var a=new Int32Array(n),s=1,c=0;c=n&&(s^=e,s&=n-1);i.expTable=a;var u=new Int32Array(n);for(c=0;c=0&&(r=t.isRange(s,a,!1))}return n},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var n=t.length;if(0===n)return!1;var r=parseInt(t.charAt(n-1),10);return e.getStandardUPCEANChecksum(t.substring(0,n-1))===r},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,n=0,r=e-1;r>=0;r-=2){if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new p.a;n+=o}n*=3;for(r=e-2;r>=0;r-=2){var o;if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new p.a;n+=o}return(1e3-n)%10},e.decodeEnd=function(t,n){return e.findGuardPattern(t,n,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e.findGuardPatternWithoutCounters=function(t,e,n,r){return this.findGuardPattern(t,e,n,r,new Int32Array(r.length))},e.findGuardPattern=function(t,n,r,o,i){for(var a=t.getSize(),s=0,p=n=r?t.getNextUnset(n):t.getNextSet(n),l=o.length,f=r,A=n;A=0)return a;throw new u.a},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}(c.a),A=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function t(){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,n,o){var a=this.decodeRowStringBuffer,c=this.decodeMiddle(n,o,a),u=a.toString(),p=t.parseExtensionString(u),l=[new s.a((o[0]+o[1])/2,e),new s.a(c,e)],f=new i.a(u,null,0,l,r.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=p&&f.putAllMetadata(p),f},t.prototype.decodeMiddle=function(e,n,r){var o,i,a=this.decodeMiddleCounters;a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=e.getSize(),c=n[1],p=0,l=0;l<5&&c=10&&(p|=1<<4-l),4!==l&&(c=e.getNextSet(c),c=e.getNextUnset(c))}if(5!==r.length)throw new u.a;var M=this.determineCheckDigit(p);if(t.extensionChecksum(r.toString())!==M)throw new u.a;return c},t.extensionChecksum=function(t){for(var e=t.length,n=0,r=e-2;r>=0;r-=2)n+=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0);n*=3;for(r=e-1;r>=0;r-=2)n+=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0);return(n*=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.a},t.parseExtensionString=function(e){if(5!==e.length)return null;var n=t.parseExtension5String(e);return null==n?null:new Map([[a.a.SUGGESTED_PRICE,n]])},t.parseExtension5String=function(t){var e;switch(t.charAt(0)){case"0":e="\xa3";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 n=parseInt(t.substring(1)),r=n%100;return e+(n/100).toString()+"."+(r<10?"0"+r:r.toString())},t}(),d=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(){function t(){this.decodeMiddleCounters=Int32Array.from([0,0,0,0]),this.decodeRowStringBuffer=""}return t.prototype.decodeRow=function(e,n,o){var a=this.decodeRowStringBuffer,c=this.decodeMiddle(n,o,a),u=a.toString(),p=t.parseExtensionString(u),l=[new s.a((o[0]+o[1])/2,e),new s.a(c,e)],f=new i.a(u,null,0,l,r.a.UPC_EAN_EXTENSION,(new Date).getTime());return null!=p&&f.putAllMetadata(p),f},t.prototype.decodeMiddle=function(t,e,n){var r,o,i=this.decodeMiddleCounters;i[0]=0,i[1]=0,i[2]=0,i[3]=0;for(var a=t.getSize(),s=e[1],c=0,p=0;p<2&&s=10&&(c|=1<<1-p),1!==p&&(s=t.getNextSet(s),s=t.getNextUnset(s))}if(2!==n.length)throw new u.a;if(parseInt(n.toString())%4!==c)throw new u.a;return s},t.parseExtensionString=function(t){return 2!==t.length?null:new Map([[a.a.ISSUE_NUMBER,parseInt(t)]])},t}(),M=function(){function t(){}return t.decodeRow=function(t,e,n){var r=f.findGuardPattern(e,n,!1,this.EXTENSION_START_PATTERN,new Int32Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new h).decodeRow(t,e,r)}catch(o){return(new b).decodeRow(t,e,r)}},t.EXTENSION_START_PATTERN=Int32Array.from([1,1,2]),t}(),O=n(75),g=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),z=function(t){function e(){var n=t.call(this)||this;n.decodeRowStringBuffer="",e.L_AND_G_PATTERNS=e.L_PATTERNS.map((function(t){return Int32Array.from(t)}));for(var r=10;r<20;r++){for(var o=e.L_PATTERNS[r-10],i=new Int32Array(o.length),a=0;a=n.getSize()||!n.isRange(v,y,!1))throw new u.a;var w=b.toString();if(w.length<8)throw new p.a;if(!e.checkChecksum(w))throw new O.a;var q=(l[1]+l[0])/2,_=(z[1]+z[0])/2,B=this.getBarcodeFormat(),C=[new s.a(q,t),new s.a(_,t)],S=new i.a(w,null,0,C,B,(new Date).getTime()),E=0;try{var R=M.decodeRow(t,n,z[1]);S.putMetadata(a.a.UPC_EAN_EXTENSION,R.getText()),S.putAllMetadata(R.getResultMetadata()),S.addResultPoints(R.getResultPoints()),E=R.getText().length}catch(N){}var W=null==c?null:c.get(o.a.ALLOWED_EAN_EXTENSIONS);if(null!=W){var T=!1;for(var L in W)if(E.toString()===L){T=!0;break}if(!T)throw new u.a}return B===r.a.EAN_13||r.a.UPC_A,S},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var n=t.length;if(0===n)return!1;var r=parseInt(t.charAt(n-1),10);return e.getStandardUPCEANChecksum(t.substring(0,n-1))===r},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,n=0,r=e-1;r>=0;r-=2){if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new p.a;n+=o}n*=3;for(r=e-2;r>=0;r-=2){var o;if((o=t.charAt(r).charCodeAt(0)-"0".charCodeAt(0))<0||o>9)throw new p.a;n+=o}return(1e3-n)%10},e.decodeEnd=function(t,n){return e.findGuardPattern(t,n,!1,e.START_END_PATTERN,new Int32Array(e.START_END_PATTERN.length).fill(0))},e}(f);e.a=z},function(t,e,n){"use strict";var r=n(63),o=n(643),i=n(642),a=n(62),s=n(197),c=TypeError,u=Object.defineProperty,p=Object.getOwnPropertyDescriptor;e.f=r?i?function(t,e,n){if(a(t),e=s(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&"writable"in n&&!n.writable){var r=p(t,e);r&&r.writable&&(t[e]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var c,u=[],p=!1,l=-1;function f(){p&&c&&(p=!1,c.length?u=c.concat(u):l=-1,u.length&&A())}function A(){if(!p){var t=s(f);p=!0;for(var e=u.length;e;){for(c=u,u=[];++l1)for(var n=1;n=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function h(t,e){if(c.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return D(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(t).length;default:if(r)return D(t).length;e=(""+e).toLowerCase(),r=!0}}function d(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return S(this,e,n);case"utf8":case"utf-8":return _(this,e,n);case"ascii":return B(this,e,n);case"latin1":case"binary":return C(this,e,n);case"base64":return q(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function b(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function M(t,e,n,r,o){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:O(t,e,n,r,o);if("number"===typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):O(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function O(t,e,n,r,o){var i,a=1,s=t.length,c=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,c/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var p=-1;for(i=n;is&&(n=s-c),i=n;i>=0;i--){for(var l=!0,f=0;fo&&(r=o):r=o;var i=e.length;if(i%2!==0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a>8,o=n%256,i.push(o),i.push(r);return i}(e,t.length-n),t,n,r)}function q(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function _(t,e,n){n=Math.min(t.length,n);for(var r=[],o=e;o239?4:u>223?3:u>191?2:1;if(o+l<=n)switch(l){case 1:u<128&&(p=u);break;case 2:128===(192&(i=t[o+1]))&&(c=(31&u)<<6|63&i)>127&&(p=c);break;case 3:i=t[o+1],a=t[o+2],128===(192&i)&&128===(192&a)&&(c=(15&u)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(p=c);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],128===(192&i)&&128===(192&a)&&128===(192&s)&&(c=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(p=c)}null===p?(p=65533,l=1):p>65535&&(p-=65536,r.push(p>>>10&1023|55296),p=56320|1023&p),r.push(p),o+=l}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},c.prototype.compare=function(t,e,n,r,o){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(i,a),u=this.slice(r,o),p=t.slice(e,n),l=0;lo)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return g(this,t,e,n);case"utf8":case"utf-8":return z(this,t,e,n);case"ascii":return m(this,t,e,n);case"latin1":case"binary":return v(this,t,e,n);case"base64":return y(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function B(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;or)&&(n=r);for(var o="",i=e;in)throw new RangeError("Trying to access beyond buffer length")}function W(t,e,n,r,o,i){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function T(t,e,n,r){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-n,2);o>>8*(r?o:1-o)}function L(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o>>8*(r?o:3-o)&255}function N(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function x(t,e,n,r,i){return i||N(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function k(t,e,n,r,i){return i||N(t,0,n,8),o.write(t,e,n,r,52,8),n+8}c.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(o*=256);)r+=this[t+--e]*o;return r},c.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=e,o=1,i=this[t+--r];r>0&&(o*=256);)i+=this[t+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},c.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),o.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),o.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),o.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),o.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||W(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i=0&&(i*=256);)this[e+o]=t/i&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||W(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||W(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):T(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||W(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):T(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||W(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):L(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||W(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);W(this,t,e,n,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i>0)-s&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);W(this,t,e,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||W(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||W(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):T(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||W(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):T(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||W(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):L(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||W(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return x(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return x(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return k(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return k(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e=0;--o)t[o+e]=this[o+n];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(i=e;i55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function F(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(I,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function U(t,e,n,r){for(var o=0;o=e.length||o>=t.length);++o)e[o+n]=t[o];return o}}).call(this,n(67))},function(t,e,n){var r,o;"undefined"!=typeof self&&self,t.exports=(r=n(0),o=n(50),function(){"use strict";var t={156:function(t){t.exports=r},111:function(t){t.exports=o},582:function(t,e,n){n.r(e),n.d(e,{__addDisposableResource:function(){return L},__assign:function(){return i},__asyncDelegator:function(){return q},__asyncGenerator:function(){return w},__asyncValues:function(){return _},__await:function(){return y},__awaiter:function(){return h},__classPrivateFieldGet:function(){return R},__classPrivateFieldIn:function(){return T},__classPrivateFieldSet:function(){return W},__createBinding:function(){return b},__decorate:function(){return s},__disposeResources:function(){return x},__esDecorate:function(){return u},__exportStar:function(){return M},__extends:function(){return o},__generator:function(){return d},__importDefault:function(){return E},__importStar:function(){return S},__makeTemplateObject:function(){return B},__metadata:function(){return A},__param:function(){return c},__propKey:function(){return l},__read:function(){return g},__rest:function(){return a},__runInitializers:function(){return p},__setFunctionName:function(){return f},__spread:function(){return z},__spreadArray:function(){return v},__spreadArrays:function(){return m},__values:function(){return O}});var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function c(t,e){return function(n,r){e(n,r,t)}}function u(t,e,n,r,o,i){function a(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var s,c=r.kind,u="getter"===c?"get":"setter"===c?"set":"value",p=!e&&t?r.static?t:t.prototype:null,l=e||(p?Object.getOwnPropertyDescriptor(p,r.name):{}),f=!1,A=n.length-1;A>=0;A--){var h={};for(var d in r)h[d]="access"===d?{}:r[d];for(var d in r.access)h.access[d]=r.access[d];h.addInitializer=function(t){if(f)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(t||null))};var b=(0,n[A])("accessor"===c?{get:l.get,set:l.set}:l[u],h);if("accessor"===c){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw new TypeError("Object expected");(s=a(b.get))&&(l.get=s),(s=a(b.set))&&(l.set=s),(s=a(b.init))&&o.unshift(s)}else(s=a(b))&&("field"===c?o.unshift(s):l[u]=s)}p&&Object.defineProperty(p,r.name,l),f=!0}function p(t,e,n){for(var r=arguments.length>2,o=0;o0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function z(){for(var t=[],e=0;e1||s(t,e)}))})}function s(t,e){try{(n=o[t](e)).value instanceof y?Promise.resolve(n.value.v).then(c,u):p(i[0][2],n)}catch(t){p(i[0][3],t)}var n}function c(t){s("next",t)}function u(t){s("throw",t)}function p(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}}function q(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:y(t[r](e)),done:!1}:o?o(e):e}:o}}function _(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=O(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,o){!function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)}(r,o,(e=t[n](e)).done,e.value)}))}}}function B(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var C=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function S(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&b(e,t,n);return C(e,t),e}function E(t){return t&&t.__esModule?t:{default:t}}function R(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function W(t,e,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(t,n):o?o.value=n:e.set(t,n),n}function T(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}function L(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}var N="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function x(t){function e(e){t.error=t.hasError?new N(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}return function n(){for(;t.stack.length;){var r=t.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(n,(function(t){return e(t),n()}))}catch(t){e(t)}}if(t.hasError)throw t.error}()}e.default={__extends:o,__assign:i,__rest:a,__decorate:s,__param:c,__metadata:A,__awaiter:h,__generator:d,__createBinding:b,__exportStar:M,__values:O,__read:g,__spread:z,__spreadArrays:m,__spreadArray:v,__await:y,__asyncGenerator:w,__asyncDelegator:q,__asyncValues:_,__makeTemplateObject:B,__importStar:S,__importDefault:E,__classPrivateFieldGet:R,__classPrivateFieldSet:W,__classPrivateFieldIn:T,__addDisposableResource:L,__disposeResources:x}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return function(){var t=i;Object.defineProperty(t,"__esModule",{value:!0}),t.useReactToPrint=t.PrintContextConsumer=void 0;var e=n(582),r=n(156),o=n(111),a=Object.prototype.hasOwnProperty.call(r,"createContext"),s=Object.prototype.hasOwnProperty.call(r,"useMemo")&&Object.prototype.hasOwnProperty.call(r,"useCallback"),c=a?r.createContext({}):null;t.PrintContextConsumer=c?c.Consumer:function(){return null};var u={copyStyles:!0,pageStyle:"\n @page {\n /* Remove browser default header (title) and footer (url) */\n margin: 0;\n }\n @media print {\n body {\n /* Tell browsers to print background colors */\n -webkit-print-color-adjust: exact; /* Chrome/Safari/Edge/Opera */\n color-adjust: exact; /* Firefox */\n }\n }\n ",removeAfterPrint:!1,suppressErrors:!1},p=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.startPrint=function(t){var e=n.props,r=e.onAfterPrint,o=e.onPrintError,i=e.print,a=e.documentTitle;setTimeout((function(){var e,s;if(t.contentWindow)if(t.contentWindow.focus(),i)i(t).then((function(){return null==r?void 0:r()})).then((function(){return n.handleRemoveIframe()})).catch((function(t){o?o("print",t):n.logMessages(["An error was thrown by the specified `print` function"])}));else{if(t.contentWindow.print){var c=null!==(s=null===(e=t.contentDocument)||void 0===e?void 0:e.title)&&void 0!==s?s:"",u=t.ownerDocument.title;a&&(t.ownerDocument.title=a,t.contentDocument&&(t.contentDocument.title=a)),t.contentWindow.print(),a&&(t.ownerDocument.title=u,t.contentDocument&&(t.contentDocument.title=c))}else n.logMessages(["Printing for this browser is not currently possible: the browser does not have a `print` method available for iframes."]);null==r||r(),n.handleRemoveIframe()}else n.logMessages(["Printing failed because the `contentWindow` of the print iframe did not load. This is possibly an error with `react-to-print`. Please file an issue: https://github.com/gregnb/react-to-print/issues/"])}),500)},n.triggerPrint=function(t){var e=n.props,r=e.onBeforePrint,o=e.onPrintError;if(r){var i=r();i&&"function"==typeof i.then?i.then((function(){n.startPrint(t)})).catch((function(t){o&&o("onBeforePrint",t)})):n.startPrint(t)}else n.startPrint(t)},n.handleClick=function(){var t=n.props,e=t.onBeforeGetContent,r=t.onPrintError;if(e){var o=e();o&&"function"==typeof o.then?o.then(n.handlePrint).catch((function(t){r&&r("onBeforeGetContent",t)})):n.handlePrint()}else n.handlePrint()},n.handlePrint=function(){var t=n.props,r=t.bodyClass,i=t.content,a=t.copyStyles,s=t.fonts,c=t.pageStyle,u=t.nonce,p=i();if(void 0!==p)if(null!==p){var l=document.createElement("iframe");l.width="".concat(document.documentElement.clientWidth,"px"),l.height="".concat(document.documentElement.clientHeight,"px"),l.style.position="absolute",l.style.top="-".concat(document.documentElement.clientHeight+100,"px"),l.style.left="-".concat(document.documentElement.clientWidth+100,"px"),l.id="printWindow",l.srcdoc="";var f=(0,o.findDOMNode)(p);if(f){var A=f.cloneNode(!0),h=A instanceof Text,d=document.querySelectorAll("link[rel~='stylesheet'], link[as='style']"),b=h?[]:A.querySelectorAll("img"),M=h?[]:A.querySelectorAll("video"),O=s?s.length:0;n.numResourcesToLoad=d.length+b.length+M.length+O,n.resourcesLoaded=[],n.resourcesErrored=[];var g=function(t,r){n.resourcesLoaded.includes(t)?n.logMessages(["Tried to mark a resource that has already been handled",t],"debug"):(r?(n.logMessages(e.__spreadArray(['"react-to-print" was unable to load a resource but will continue attempting to print the page'],e.__read(r),!1)),n.resourcesErrored.push(t)):n.resourcesLoaded.push(t),n.resourcesLoaded.length+n.resourcesErrored.length===n.numResourcesToLoad&&n.triggerPrint(l))};l.onload=function(){var t,o,i,p;l.onload=null;var d=l.contentDocument||(null===(o=l.contentWindow)||void 0===o?void 0:o.document);if(d){d.body.appendChild(A),s&&((null===(i=l.contentDocument)||void 0===i?void 0:i.fonts)&&(null===(p=l.contentWindow)||void 0===p?void 0:p.FontFace)?s.forEach((function(t){var e=new FontFace(t.family,t.source,{weight:t.weight,style:t.style});l.contentDocument.fonts.add(e),e.loaded.then((function(){g(e)})).catch((function(t){g(e,["Failed loading the font:",e,"Load error:",t])}))})):(s.forEach((function(t){return g(t)})),n.logMessages(['"react-to-print" is not able to load custom fonts because the browser does not support the FontFace API but will continue attempting to print the page'])));var O="function"==typeof c?c():c;if("string"!=typeof O)n.logMessages(['"react-to-print" expected a "string" from `pageStyle` but received "'.concat(typeof O,'". Styles from `pageStyle` will not be applied.')]);else{var z=d.createElement("style");u&&(z.setAttribute("nonce",u),d.head.setAttribute("nonce",u)),z.appendChild(d.createTextNode(O)),d.head.appendChild(z)}if(r&&(t=d.body.classList).add.apply(t,e.__spreadArray([],e.__read(r.split(" ")),!1)),!h){for(var m=h?[]:f.querySelectorAll("canvas"),v=d.querySelectorAll("canvas"),y=0;y",e,"Error",i])},r.src=n}else g(e,['Found an tag with an empty "src" attribute. This prevents pre-loading it. The is:',e])};for(y=0;y=2?g(e):(e.onloadeddata=function(){return g(e)},e.onerror=function(t,n,r,o,i){return g(e,["Error loading video",e,"Error",i])},e.onstalled=function(){return g(e,["Loading video stalled, skipping",e])})};for(y=0;y tag with a `disabled` attribute and will ignore it. Note that the `disabled` attribute is deprecated, and some browsers ignore it. You should stop using it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-disabled. The is:",r],"warning"),g(r);else{for(var p=d.createElement(r.tagName),l=(c=0,r.attributes.length);c tag with an empty `href` attribute. In addition to being invalid HTML, this can cause problems in many browsers, and so the was not loaded. The is:",r],"warning"),g(r)},P=(y=0,k.length);y=0;f--){var A=a[f];"."===A?i(a,f):".."===A?(i(a,f),l++):l&&(i(a,f),l--)}if(!u)for(;l--;l)a.unshift("..");!u||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function s(t){return t.valueOf?t.valueOf():Object.prototype.valueOf.call(t)}var c=function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every((function(e,r){return t(e,n[r])}));if("object"===typeof e||"object"===typeof n){var r=s(e),o=s(n);return r!==e||o!==n?t(r,o):Object.keys(Object.assign({},e,n)).every((function(r){return t(e[r],n[r])}))}return!1},u="Invariant failed";function p(t,e){if(!t)throw new Error(u)}function l(t){return"/"===t.charAt(0)?t:"/"+t}function f(t){return"/"===t.charAt(0)?t.substr(1):t}function A(t,e){return function(t,e){return 0===t.toLowerCase().indexOf(e.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(e.length))}(t,e)?t.substr(e.length):t}function h(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function d(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function b(t,e,n,o){var i;"string"===typeof t?(i=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t)).state=e:(void 0===(i=Object(r.a)({},t)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==e&&void 0===i.state&&(i.state=e));try{i.pathname=decodeURI(i.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function M(t,e){return t.pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&c(t.state,e.state)}function O(){var t=null;var e=[];return{setPrompt:function(e){return t=e,function(){t===e&&(t=null)}},confirmTransitionTo:function(e,n,r,o){if(null!=t){var i="function"===typeof t?t(e,n):t;"string"===typeof i?"function"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(t){var n=!0;function r(){n&&t.apply(void 0,arguments)}return e.push(r),function(){n=!1,e=e.filter((function(t){return t!==r}))}},notifyListeners:function(){for(var t=arguments.length,n=new Array(t),r=0;re?n.splice(e,n.length-e,r):n.push(r),l({action:"PUSH",location:r,index:e,entries:n})}}))},replace:function(t,e){var r=b(t,e,f(),z.location);p.confirmTransitionTo(r,"REPLACE",n,(function(t){t&&(z.entries[z.index]=r,l({action:"REPLACE",location:r}))}))},go:g,goBack:function(){g(-1)},goForward:function(){g(1)},canGo:function(t){var e=z.index+t;return e>=0&&e"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"},i=0;i<24;i+=1)o[112+i]="F"+(i+1);for(var a=0;a<26;a+=1){var s=a+65;o[s]=[String.fromCharCode(s+32),String.fromCharCode(s)]}var c={codes:o,getCode:function(t){return r(t)?t.keyCode||t.which||this[t.key]:this[t]},getKey:function(t){var e=r(t);if(e&&t.key)return t.key;var n=o[e?t.keyCode||t.which:t];return Array.isArray(n)&&(n=e?n[t.shiftKey?1:0]:n[0]),n},Cancel:3,Help:6,Backspace:8,Tab:9,Clear:12,Enter:13,Shift:16,Control:17,Alt:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Accept:30,ModeChange:31," ":32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Select:41,Print:42,Execute:43,PrintScreen:44,Insert:45,Delete:46,0:48,")":48,1:49,"!":49,2:50,"@":50,3:51,"#":51,4:52,$:52,5:53,"%":53,6:54,"^":54,7:55,"&":55,8:56,"*":56,9:57,"(":57,a:65,A:65,b:66,B:66,c:67,C:67,d:68,D:68,e:69,E:69,f:70,F:70,g:71,G:71,h:72,H:72,i:73,I:73,j:74,J:74,k:75,K:75,l:76,L:76,m:77,M:77,n:78,N:78,o:79,O:79,p:80,P:80,q:81,Q:81,r:82,R:82,s:83,S:83,t:84,T:84,u:85,U:85,v:86,V:86,w:87,W:87,x:88,X:88,y:89,Y:89,z:90,Z:90,OS:91,ContextMenu:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,VolumeMute:181,VolumeDown:182,VolumeUp:183,";":186,":":186,"=":187,"+":187,",":188,"<":188,"-":189,_:189,".":190,">":190,"/":191,"?":191,"`":192,"~":192,"[":219,"{":219,"\\":220,"|":220,"]":221,"}":221,"'":222,'"':222,Meta:224,AltGraph:225,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251};c.Spacebar=c[" "],c.Digit0=c[0],c.Digit1=c[1],c.Digit2=c[2],c.Digit3=c[3],c.Digit4=c[4],c.Digit5=c[5],c.Digit6=c[6],c.Digit7=c[7],c.Digit8=c[8],c.Digit9=c[9],c.Tilde=c["~"],c.GraveAccent=c["`"],c.ExclamationPoint=c["!"],c.AtSign=c["@"],c.PoundSign=c["#"],c.PercentSign=c["%"],c.Caret=c["^"],c.Ampersand=c["&"],c.PlusSign=c["+"],c.MinusSign=c["-"],c.EqualsSign=c["="],c.DivisionSign=c["/"],c.MultiplicationSign=c["*"],c.Comma=c[","],c.Decimal=c["."],c.Colon=c[":"],c.Semicolon=c[";"],c.Pipe=c["|"],c.BackSlash=c["\\"],c.QuestionMark=c["?"],c.SingleQuote=c["'"],c.DoubleQuote=c['"'],c.LeftCurlyBrace=c["{"],c.RightCurlyBrace=c["}"],c.LeftParenthesis=c["("],c.RightParenthesis=c[")"],c.LeftAngleBracket=c["<"],c.RightAngleBracket=c[">"],c.LeftSquareBracket=c["["],c.RightSquareBracket=c["]"],t.exports=c},function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return g})),n.d(e,"c",(function(){return w}));var r="persist/REHYDRATE",o="persist/REGISTER",i="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},a=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(b,["_persist"]);if("persist/PERSIST"===p.type){var g=!1,z=function(e,n){g||(p.rehydrate(t.key,e,n),g=!0)};if(a&&setTimeout((function(){!g&&z(void 0,new Error('redux-persist: persist timed out for persist key "'+t.key+'"'))}),a),h=!1,u||(u=c(t)),M)return s;if("function"!==typeof p.rehydrate||"function"!==typeof p.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return p.register(t.key),i(t).then((function(e){(t.migrate||function(t,e){return Promise.resolve(t)})(e,n).then((function(t){z(t)}),(function(t){z(void 0,t)}))}),(function(t){z(void 0,t)})),A({},e(O,p),{_persist:{version:n,rehydrated:!1}})}if("persist/PURGE"===p.type)return l=!0,p.result(function(t){var e=t.storage,n=""+(void 0!==t.keyPrefix?t.keyPrefix:"persist:")+t.key;return e.removeItem(n,f)}(t)),A({},e(O,p),{_persist:M});if("persist/FLUSH"===p.type)return p.result(u&&u.flush()),A({},e(O,p),{_persist:M});if("persist/PAUSE"===p.type)h=!0;else if(p.type===r){if(l)return A({},O,{_persist:A({},M,{rehydrated:!0})});if(p.key===t.key){var m=e(O,p),v=p.payload,y=!1!==o&&void 0!==v?o(v,s,m,t):m,w=A({},y,{_persist:A({},M,{rehydrated:!0})});return d(w)}}if(!M)return e(s,p);var q=e(O,p);return q===O?s:(q._persist=M,d(q))}}var d=n(19),b="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},M=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:v,e=arguments[1];switch(e.type){case o:return z({},t,{registry:[].concat(m(t.registry),[e.key])});case r:var n=t.registry.indexOf(e.key),i=[].concat(m(t.registry));return i.splice(n,1),z({},t,{registry:i,bootstrapped:0===i.length});default:return t}};function w(t,e,n){var i=n||!1,a=Object(d.createStore)(y,v,e?e.enhancer:void 0),s=function(t){a.dispatch({type:o,key:t})},c=function(e,n,o){var s={type:r,payload:n,err:o,key:e};t.dispatch(s),a.dispatch(s),i&&u.getState().bootstrapped&&(i(),i=!1)},u=z({},a,{purge:function(){var e=[];return t.dispatch({type:"persist/PURGE",result:function(t){e.push(t)}}),Promise.all(e)},flush:function(){var e=[];return t.dispatch({type:"persist/FLUSH",result:function(t){e.push(t)}}),Promise.all(e)},pause:function(){t.dispatch({type:"persist/PAUSE"})},persist:function(){t.dispatch({type:"persist/PERSIST",register:s,rehydrate:c})}});return u.persist(),u}},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(1269),i=(r=o)&&r.__esModule?r:{default:r};e.default=(0,i.default)("local")},function(t,e,n){"use strict";var r=n(144);t.exports=function(t){return r(t.length)}},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(431),i=(r=o)&&r.__esModule?r:{default:r};e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==("undefined"===typeof e?"undefined":(0,i.default)(e))&&"function"!==typeof e?t:e}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o,i,a,s){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],p=0;(c=new Error(e.replace(/%s/g,(function(){return u[p++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(t,e,n){"use strict";var r=n(66),o=n(92),i=n(494),a=n(490);t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:e;if(r(n)&&i(n,u,s),s.global)c?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(p){}c?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r=a(n(1446)),o=a(n(1450)),i=a(n(431));function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof e?"undefined":(0,i.default)(e)));t.prototype=(0,o.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(r.default?(0,r.default)(t,e):t.__proto__=e)}},function(t,e,n){"use strict";var r=n(70),o=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="IllegalStateException",e}(r.a);e.a=i},function(t,e,n){var r=n(415);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},function(t,e,n){"use strict";function r(t){return(r="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)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(214),o=n(77),i=function(){function t(){}return t.decode=function(t,e){var n=this.encodingName(e);return this.customDecoder?this.customDecoder(t,n):"undefined"===typeof TextDecoder||this.shouldDecodeOnFallback(n)?this.decodeFallback(t,n):new TextDecoder(n).decode(t)},t.shouldDecodeOnFallback=function(e){return!t.isBrowser()&&"ISO-8859-1"===e},t.encode=function(t,e){var n=this.encodingName(e);return this.customEncoder?this.customEncoder(t,n):"undefined"===typeof TextEncoder?this.encodeFallback(t):(new TextEncoder).encode(t)},t.isBrowser=function(){return"undefined"!==typeof window&&"[object Window]"==={}.toString.call(window)},t.encodingName=function(t){return"string"===typeof t?t:t.getName()},t.encodingCharacterSet=function(t){return t instanceof o.a?t:o.a.getCharacterSetECIByName(t)},t.decodeFallback=function(e,n){var i=this.encodingCharacterSet(n);if(t.isDecodeFallbackSupported(i)){for(var a="",s=0,c=e.length;sn?n:t:te?e:t}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(459);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){"use strict";var r=n(143),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},function(t,e,n){"use strict";var r=n(45),o=n(66),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},function(t,e,n){"use strict";var r,o,i,a=n(648),s=n(45),c=n(64),u=n(163),p=n(73),l=n(489),f=n(369),A=n(305),h=s.TypeError,d=s.WeakMap;if(a||l.state){var b=l.state||(l.state=new d);b.get=b.get,b.has=b.has,b.set=b.set,r=function(t,e){if(b.has(t))throw new h("Object already initialized");return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var M=f("state");A[M]=!0,r=function(t,e){if(p(t,M))throw new h("Object already initialized");return e.facade=t,u(t,M,e),e},o=function(t){return p(t,M)?t[M]:{}},i=function(t){return p(t,M)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){"use strict";var r=n(89),o=n(44),i=n(301),a=n(82),s=n(100),c=n(312),u=o([].push),p=function(t){var e=1===t,n=2===t,o=3===t,p=4===t,l=6===t,f=7===t,A=5===t||l;return function(h,d,b,M){for(var O,g,z=a(h),m=i(z),v=s(m),y=r(d,b),w=0,q=M||c,_=e?q(h,v):n||f?q(h,0):void 0;v>w;w++)if((A||w in m)&&(g=y(O=m[w],w,z),t))if(e)_[w]=g;else if(g)switch(t){case 3:return!0;case 5:return O;case 6:return w;case 2:u(_,O)}else switch(t){case 4:return!1;case 7:u(_,O)}return l?-1:o||p?p:_}};t.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6),filterReject:p(7)}},function(t,e,n){"use strict";var r=n(70),o=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="ArgumentException",e}(r.a);e.a=i},function(t,e,n){"use strict";e.a=function(t,e,n){var r=t.defaultProps,o=void 0===r?{}:r;if(e.as&&e.as!==o.as)return e.as;if(n){var i=n();if(i)return i}return e.href?"a":o.as||"div"}},function(t,e,n){"use strict";var r=n(301),o=n(122);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(819),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){var r=n(1560),o=n(1561),i=n(851),a=n(1562);t.exports=function(t){return r(t)||o(t)||i(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return h}));var r=n(126),o=n(433),i=n(75),a=n(434),s=n(28),c=n(20),u=n(437),p=n(438),l=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{c(r.next(t))}catch(e){i(e)}}function s(t){try{c(r.throw(t))}catch(e){i(e)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((r=r.apply(t,e||[])).next())}))},f=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(){function t(t,e,n){void 0===e&&(e=500),this.reader=t,this.timeBetweenScansMillis=e,this._hints=n,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(t.prototype,"hasNavigator",{get:function(){return"undefined"!==typeof navigator},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(t){this._timeBetweenDecodingAttempts=t<0?0:t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hints",{get:function(){return this._hints},set:function(t){this._hints=t||null},enumerable:!1,configurable:!0}),t.prototype.listVideoInputDevices=function(){return l(this,void 0,void 0,(function(){var t,e,n,r,o,i,a,s,c,u,p,l;return f(this,(function(f){switch(f.label){case 0:if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:t=f.sent(),e=[];try{for(n=A(t),r=n.next();!r.done;r=n.next())o=r.value,"videoinput"===(i="video"===o.kind?"videoinput":o.kind)&&(a=o.deviceId||o.id,s=o.label||"Video device "+(e.length+1),c=o.groupId,u={deviceId:a,label:s,kind:i,groupId:c},e.push(u))}catch(h){p={error:h}}finally{try{r&&!r.done&&(l=n.return)&&l.call(n)}finally{if(p)throw p.error}}return[2,e]}}))}))},t.prototype.getVideoInputDevices=function(){return l(this,void 0,void 0,(function(){return f(this,(function(t){switch(t.label){case 0:return[4,this.listVideoInputDevices()];case 1:return[2,t.sent().map((function(t){return new p.a(t.deviceId,t.label)}))]}}))}))},t.prototype.findDeviceById=function(t){return l(this,void 0,void 0,(function(){var e;return f(this,(function(n){switch(n.label){case 0:return[4,this.listVideoInputDevices()];case 1:return(e=n.sent())?[2,e.find((function(e){return e.deviceId===t}))]:[2,null]}}))}))},t.prototype.decodeFromInputVideoDevice=function(t,e){return l(this,void 0,void 0,(function(){return f(this,(function(n){switch(n.label){case 0:return[4,this.decodeOnceFromVideoDevice(t,e)];case 1:return[2,n.sent()]}}))}))},t.prototype.decodeOnceFromVideoDevice=function(t,e){return l(this,void 0,void 0,(function(){var n;return f(this,(function(r){switch(r.label){case 0:return this.reset(),n={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeOnceFromConstraints(n,e)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromConstraints=function(t,e){return l(this,void 0,void 0,(function(){var n;return f(this,(function(r){switch(r.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return n=r.sent(),[4,this.decodeOnceFromStream(n,e)];case 2:return[2,r.sent()]}}))}))},t.prototype.decodeOnceFromStream=function(t,e){return l(this,void 0,void 0,(function(){var n;return f(this,(function(r){switch(r.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return n=r.sent(),[4,this.decodeOnce(n)];case 2:return[2,r.sent()]}}))}))},t.prototype.decodeFromInputVideoDeviceContinuously=function(t,e,n){return l(this,void 0,void 0,(function(){return f(this,(function(r){switch(r.label){case 0:return[4,this.decodeFromVideoDevice(t,e,n)];case 1:return[2,r.sent()]}}))}))},t.prototype.decodeFromVideoDevice=function(t,e,n){return l(this,void 0,void 0,(function(){var r;return f(this,(function(o){switch(o.label){case 0:return r={video:t?{deviceId:{exact:t}}:{facingMode:"environment"}},[4,this.decodeFromConstraints(r,e,n)];case 1:return[2,o.sent()]}}))}))},t.prototype.decodeFromConstraints=function(t,e,n){return l(this,void 0,void 0,(function(){var r;return f(this,(function(o){switch(o.label){case 0:return[4,navigator.mediaDevices.getUserMedia(t)];case 1:return r=o.sent(),[4,this.decodeFromStream(r,e,n)];case 2:return[2,o.sent()]}}))}))},t.prototype.decodeFromStream=function(t,e,n){return l(this,void 0,void 0,(function(){var r;return f(this,(function(o){switch(o.label){case 0:return this.reset(),[4,this.attachStreamToVideo(t,e)];case 1:return r=o.sent(),[4,this.decodeContinuously(r,n)];case 2:return[2,o.sent()]}}))}))},t.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},t.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},t.prototype.attachStreamToVideo=function(t,e){return l(this,void 0,void 0,(function(){var n;return f(this,(function(r){switch(r.label){case 0:return n=this.prepareVideoElement(e),this.addVideoSource(n,t),this.videoElement=n,this.stream=t,[4,this.playVideoOnLoadAsync(n)];case 1:return r.sent(),[2,n]}}))}))},t.prototype.playVideoOnLoadAsync=function(t){var e=this;return new Promise((function(n,r){return e.playVideoOnLoad(t,(function(){return n()}))}))},t.prototype.playVideoOnLoad=function(t,e){var n=this;this.videoEndedListener=function(){return n.stopStreams()},this.videoCanPlayListener=function(){return n.tryPlayVideo(t)},t.addEventListener("ended",this.videoEndedListener),t.addEventListener("canplay",this.videoCanPlayListener),t.addEventListener("playing",e),this.tryPlayVideo(t)},t.prototype.isVideoPlaying=function(t){return t.currentTime>0&&!t.paused&&!t.ended&&t.readyState>2},t.prototype.tryPlayVideo=function(t){return l(this,void 0,void 0,(function(){return f(this,(function(e){switch(e.label){case 0:if(this.isVideoPlaying(t))return console.warn("Trying to play video that is already playing."),[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,t.play()];case 2:return e.sent(),[3,4];case 3:return e.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}}))}))},t.prototype.getMediaElement=function(t,e){var n=document.getElementById(t);if(!n)throw new r.a("element with id '"+t+"' not found");if(n.nodeName.toLowerCase()!==e.toLowerCase())throw new r.a("element with id '"+t+"' must be an "+e+" element");return n},t.prototype.decodeFromImage=function(t,e){if(!t&&!e)throw new r.a("either imageElement with a src set or an url must be provided");return e&&!t?this.decodeFromImageUrl(e):this.decodeFromImageElement(t)},t.prototype.decodeFromVideo=function(t,e){if(!t&&!e)throw new r.a("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrl(e):this.decodeFromVideoElement(t)},t.prototype.decodeFromVideoContinuously=function(t,e,n){if(void 0===t&&void 0===e)throw new r.a("Either an element with a src set or an URL must be provided");return e&&!t?this.decodeFromVideoUrlContinuously(e,n):this.decodeFromVideoElementContinuously(t,n)},t.prototype.decodeFromImageElement=function(t){if(!t)throw new r.a("An image element must be provided.");this.reset();var e=this.prepareImageElement(t);return this.imageElement=e,this.isImageLoaded(e)?this.decodeOnce(e,!1,!0):this._decodeOnLoadImage(e)},t.prototype.decodeFromVideoElement=function(t){var e=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideo(e)},t.prototype.decodeFromVideoElementContinuously=function(t,e){var n=this._decodeFromVideoElementSetup(t);return this._decodeOnLoadVideoContinuously(n,e)},t.prototype._decodeFromVideoElementSetup=function(t){if(!t)throw new r.a("A video element must be provided.");this.reset();var e=this.prepareVideoElement(t);return this.videoElement=e,e},t.prototype.decodeFromImageUrl=function(t){if(!t)throw new r.a("An URL must be provided.");this.reset();var e=this.prepareImageElement();this.imageElement=e;var n=this._decodeOnLoadImage(e);return e.src=t,n},t.prototype.decodeFromVideoUrl=function(t){if(!t)throw new r.a("An URL must be provided.");this.reset();var e=this.prepareVideoElement(),n=this.decodeFromVideoElement(e);return e.src=t,n},t.prototype.decodeFromVideoUrlContinuously=function(t,e){if(!t)throw new r.a("An URL must be provided.");this.reset();var n=this.prepareVideoElement(),o=this.decodeFromVideoElementContinuously(n,e);return n.src=t,o},t.prototype._decodeOnLoadImage=function(t){var e=this;return new Promise((function(n,r){e.imageLoadedListener=function(){return e.decodeOnce(t,!1,!0).then(n,r)},t.addEventListener("load",e.imageLoadedListener)}))},t.prototype._decodeOnLoadVideo=function(t){return l(this,void 0,void 0,(function(){return f(this,(function(e){switch(e.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return e.sent(),[4,this.decodeOnce(t)];case 2:return[2,e.sent()]}}))}))},t.prototype._decodeOnLoadVideoContinuously=function(t,e){return l(this,void 0,void 0,(function(){return f(this,(function(n){switch(n.label){case 0:return[4,this.playVideoOnLoadAsync(t)];case 1:return n.sent(),this.decodeContinuously(t,e),[2]}}))}))},t.prototype.isImageLoaded=function(t){return!!t.complete&&0!==t.naturalWidth},t.prototype.prepareImageElement=function(t){var e;return"undefined"===typeof t&&((e=document.createElement("img")).width=200,e.height=200),"string"===typeof t&&(e=this.getMediaElement(t,"img")),t instanceof HTMLImageElement&&(e=t),e},t.prototype.prepareVideoElement=function(t){var e;return t||"undefined"===typeof document||((e=document.createElement("video")).width=200,e.height=200),"string"===typeof t&&(e=this.getMediaElement(t,"video")),t instanceof HTMLVideoElement&&(e=t),e.setAttribute("autoplay","true"),e.setAttribute("muted","true"),e.setAttribute("playsinline","true"),e},t.prototype.decodeOnce=function(t,e,n){var r=this;void 0===e&&(e=!0),void 0===n&&(n=!0),this._stopAsyncDecode=!1;return new Promise((function(o,a){return function o(a,u){if(r._stopAsyncDecode)return u(new c.a("Video stream has ended before any code could be detected.")),void(r._stopAsyncDecode=void 0);try{a(r.decode(t))}catch(f){var p=e&&f instanceof c.a,l=f instanceof i.a||f instanceof s.a;if(p||l&&n)return setTimeout(o,r._timeBetweenDecodingAttempts,a,u);u(f)}}(o,a)}))},t.prototype.decodeContinuously=function(t,e){var n=this;this._stopContinuousDecode=!1;!function r(){if(n._stopContinuousDecode)n._stopContinuousDecode=void 0;else try{var o=n.decode(t);e(o,null),setTimeout(r,n.timeBetweenScansMillis)}catch(p){e(null,p);var a=p instanceof i.a||p instanceof s.a,u=p instanceof c.a;(a||u)&&setTimeout(r,n._timeBetweenDecodingAttempts)}}()},t.prototype.decode=function(t){var e=this.createBinaryBitmap(t);return this.decodeBitmap(e)},t.prototype.createBinaryBitmap=function(t){var e=this.getCaptureCanvasContext(t);this.drawImageOnCanvas(e,t);var n=this.getCaptureCanvas(t),r=new u.a(n),i=new a.a(r);return new o.a(i)},t.prototype.getCaptureCanvasContext=function(t){if(!this.captureCanvasContext){var e=this.getCaptureCanvas(t).getContext("2d");this.captureCanvasContext=e}return this.captureCanvasContext},t.prototype.getCaptureCanvas=function(t){if(!this.captureCanvas){var e=this.createCaptureCanvas(t);this.captureCanvas=e}return this.captureCanvas},t.prototype.drawImageOnCanvas=function(t,e){t.drawImage(e,0,0)},t.prototype.decodeBitmap=function(t){return this.reader.decode(t,this._hints)},t.prototype.createCaptureCanvas=function(t){if("undefined"===typeof document)return this._destroyCaptureCanvas(),null;var e,n,r=document.createElement("canvas");return"undefined"!==typeof t&&(t instanceof HTMLVideoElement?(e=t.videoWidth,n=t.videoHeight):t instanceof HTMLImageElement&&(e=t.naturalWidth||t.width,n=t.naturalHeight||t.height)),r.style.width=e+"px",r.style.height=n+"px",r.width=e,r.height=n,r},t.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach((function(t){return t.stop()})),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},t.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},t.prototype._destroyVideoElement=function(){this.videoElement&&("undefined"!==typeof this.videoEndedListener&&this.videoElement.removeEventListener("ended",this.videoEndedListener),"undefined"!==typeof this.videoPlayingEventListener&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),"undefined"!==typeof this.videoCanPlayListener&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)},t.prototype._destroyImageElement=function(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)},t.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},t.prototype.addVideoSource=function(t,e){try{t.srcObject=e}catch(n){t.src=URL.createObjectURL(e)}},t.prototype.cleanVideoSource=function(t){try{t.srcObject=null}catch(e){t.src=""}this.videoElement.removeAttribute("src")},t}()},function(t,e,n){"use strict";var r=n(37),o=n.n(r),i=n(38),a=n.n(i),s=n(13),c=n.n(s),u=n(177),p=n(130),l=n.n(p),f=function(){function t(e){o()(this,t),this.handlers=new Set(e)}return a()(t,[{key:"addHandlers",value:function(e){var n=new Set(this.handlers);return e.forEach((function(t){n.delete(t),n.add(t)})),new t(n)}},{key:"dispatchEvent",value:function(t,e){e?this.handlers.forEach((function(e){e(t)})):l()(this.handlers).pop()(t)}},{key:"hasHandlers",value:function(){return this.handlers.size>0}},{key:"removeHandlers",value:function(e){var n=new Set(this.handlers);return e.forEach((function(t){n.delete(t)})),new t(n)}}]),t}(),A=function(){function t(e,n){o()(this,t),this.handlerSets=n,this.poolName=e}return a()(t,[{key:"addHandlers",value:function(e,n){var r=new Map(this.handlerSets);return r.has(e)?r.set(e,r.get(e).addHandlers(n)):r.set(e,new f(n)),new t(this.poolName,r)}},{key:"dispatchEvent",value:function(t,e){var n=this.handlerSets.get(t);n&&n.dispatchEvent(e,"default"===this.poolName)}},{key:"hasHandlers",value:function(t){var e=this.handlerSets.get(t);return!!e&&e.hasHandlers()}},{key:"removeHandlers",value:function(e,n){var r=new Map(this.handlerSets);if(!r.has(e))return new t(this.poolName,r);var o=r.get(e).removeHandlers(n);return o.hasHandlers()?r.set(e,o):r.delete(e),new t(this.poolName,r)}}]),t}();c()(A,"createByType",(function(t,e,n){var r=new Map;return r.set(e,new f(n)),new A(t,r)}));var h=function(){function t(e){o()(this,t),c()(this,"handlers",new Map),c()(this,"pools",new Map),c()(this,"createEmitter",(function(t,e){return function(n){e.forEach((function(e){e.dispatchEvent(t,n)}))}})),this.target=e}return a()(t,[{key:"addHandlers",value:function(t,e,n){this.removeTargetHandler(e),this.pools.has(t)?this.pools.set(t,this.pools.get(t).addHandlers(e,n)):this.pools.set(t,A.createByType(t,e,n)),this.addTargetHandler(e)}},{key:"hasHandlers",value:function(){return this.handlers.size>0}},{key:"removeHandlers",value:function(t,e,n){var r=this.pools.get(t);if(r){var o=r.removeHandlers(e,n);o.hasHandlers(e)?(this.removeTargetHandler(e),this.pools.set(t,o)):(this.removeTargetHandler(e),this.pools.delete(t)),this.pools.size>0&&this.addTargetHandler(e)}}},{key:"addTargetHandler",value:function(t){var e=this.createEmitter(t,this.pools);this.handlers.set(t,e),this.target.addEventListener(t,e)}},{key:"removeTargetHandler",value:function(t){this.handlers.has(t)&&(this.target.removeEventListener(t,this.handlers.get(t)),this.handlers.delete(t))}}]),t}(),d=n(74),b=n.n(d),M=function(t){return b()(t)?t:[t]},O=function(t){return"document"===t?document:"window"===t?window:t||document},g=new(function(){function t(){var e=this;o()(this,t),c()(this,"targets",new Map),c()(this,"getTarget",(function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=O(t);if(e.targets.has(r))return e.targets.get(r);if(!n)return null;var o=new h(r);return e.targets.set(r,o),o})),c()(this,"removeTarget",(function(t){e.targets.delete(O(t))}))}return a()(t,[{key:"sub",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Object(u.a)()){var r=n.target,o=void 0===r?document:r,i=n.pool,a=void 0===i?"default":i,s=this.getTarget(o);s.addHandlers(a,t,M(e))}}},{key:"unsub",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Object(u.a)()){var r=n.target,o=void 0===r?document:r,i=n.pool,a=void 0===i?"default":i,s=this.getTarget(o,!1);s&&(s.removeHandlers(a,t,M(e)),s.hasHandlers()||this.removeTarget(o))}}}]),t}());e.a=g},function(t,e,n){"use strict";var r=n(646);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},function(t,e,n){"use strict";var r=n(146).has;t.exports=function(t){return r(t),t}},function(t,e,n){"use strict";var r=n(44),o=n(122),i=n(78),a=/"/g,s=r("".replace);t.exports=function(t,e,n,r){var c=i(o(t)),u="<"+e;return""!==n&&(u+=" "+n+'="'+s(i(r),a,""")+'"'),u+">"+c+""}},function(t,e,n){"use strict";var r=n(39);t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";var r=n(726),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return"undefined"===typeof t}function s(t){return null!==t&&"object"===typeof t}function c(t){return"[object Function]"===o.call(t)}function u(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n1&&0===e[0]){for(var r=1;ra.length){var s=n;n=a,a=s}var c=new Int32Array(a.length),u=a.length-n.length;o.a.arraycopy(a,0,c,0,u);for(var p=u;p=t.getDegree()&&!r.isZero();){var s=r.getDegree()-t.getDegree(),c=e.multiply(r.getCoefficient(r.getDegree()),a),u=t.multiplyByMonomial(s,c),p=e.buildMonomial(s,c);n=n.addOrSubtract(p),r=r.addOrSubtract(u)}return[n,r]},t.prototype.toString=function(){for(var t="",e=this.getDegree();e>=0;e--){var n=this.getCoefficient(e);if(0!==n){if(n<0?(t+=" - ",n=-n):t.length>0&&(t+=" + "),0===e||1!==n){var r=this.field.log(n);0===r?t+="1":1===r?t+="a":(t+="a^",t+=r)}0!==e&&(1===e?t+="x":(t+="x^",t+=e))}}return t},t}();e.a=a},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,c,"next",t)}function c(t){r(a,o,i,s,c,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";var r=n(44),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,e,n){"use strict";t.exports=function(t){return null===t||void 0===t}},function(t,e,n){"use strict";var r=n(133),o=Math.min;t.exports=function(t){var e=r(t);return e>0?o(e,9007199254740991):0}},function(t,e,n){"use strict";var r=n(92).f,o=n(73),i=n(65)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!o(t,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(44),o=Map.prototype;t.exports={Map:Map,set:r(o.set),get:r(o.get),has:r(o.has),remove:r(o.delete),proto:o}},function(t,e,n){"use strict";var r=n(44),o=n(202),i=n(115),a=i.Set,s=i.proto,c=r(s.forEach),u=r(s.keys),p=u(new a).next;t.exports=function(t,e,n){return n?o({iterator:u(t),next:p},e):c(t,e)}},function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=n,n.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},function(t,e,n){"use strict";var r=e,o=n(183),i=n(148),a=n(770);r.assert=i,r.toArray=a.toArray,r.zero2=a.zero2,r.toHex=a.toHex,r.encode=a.encode,r.getNAF=function(t,e,n){var r=new Array(Math.max(t.bitLength(),n)+1);r.fill(0);for(var o=1<(o>>1)-1?(o>>1)-c:c,i.isubn(s)):s=0,r[a]=s,i.iushrn(1)}return r},r.getJSF=function(t,e){var n=[[],[]];t=t.clone(),e=e.clone();for(var r,o=0,i=0;t.cmpn(-o)>0||e.cmpn(-i)>0;){var a,s,c=t.andln(3)+o&3,u=e.andln(3)+i&3;3===c&&(c=-1),3===u&&(u=-1),a=0===(1&c)?0:3!==(r=t.andln(7)+o&7)&&5!==r||2!==u?c:-c,n[0].push(a),s=0===(1&u)?0:3!==(r=e.andln(7)+i&7)&&5!==r||2!==c?u:-u,n[1].push(s),2*o===a+1&&(o=1-o),2*i===s+1&&(i=1-i),t.iushrn(1),e.iushrn(1)}return n},r.cachedProperty=function(t,e,n){var r="_"+e;t.prototype[e]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(t){return"string"===typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new o(t,"hex","le")}},function(t,e,n){var r=n(209),o=n(573);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(24),o=n(23),i=n(40),a=n(119);function s(t,e){var n,s,c,u,p,l,f,A;Object(o.a)(1,arguments);var h=Object(a.a)(),d=Object(i.a)(null!==(n=null!==(s=null!==(c=null!==(u=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==u?u:null===e||void 0===e||null===(p=e.locale)||void 0===p||null===(l=p.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(f=h.locale)||void 0===f||null===(A=f.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==n?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=Object(r.default)(t),M=b.getUTCDay(),O=(M=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t){for(var e=[],n=1;n=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},l=function(){function t(t,e){for(var n,r,o=[],i=2;i40)throw new u.a;return t.VERSIONS[e-1]},t.decodeVersionInformation=function(e){for(var n=Number.MAX_SAFE_INTEGER,r=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(7,new s(1,19)),new a(10,new s(1,16)),new a(13,new s(1,13)),new a(17,new s(1,9))),new t(2,Int32Array.from([6,18]),new a(10,new s(1,34)),new a(16,new s(1,28)),new a(22,new s(1,22)),new a(28,new s(1,16))),new t(3,Int32Array.from([6,22]),new a(15,new s(1,55)),new a(26,new s(1,44)),new a(18,new s(2,17)),new a(22,new s(2,13))),new t(4,Int32Array.from([6,26]),new a(20,new s(1,80)),new a(18,new s(2,32)),new a(26,new s(2,24)),new a(16,new s(4,9))),new t(5,Int32Array.from([6,30]),new a(26,new s(1,108)),new a(24,new s(2,43)),new a(18,new s(2,15),new s(2,16)),new a(22,new s(2,11),new s(2,12))),new t(6,Int32Array.from([6,34]),new a(18,new s(2,68)),new a(16,new s(4,27)),new a(24,new s(4,19)),new a(28,new s(4,15))),new t(7,Int32Array.from([6,22,38]),new a(20,new s(2,78)),new a(18,new s(4,31)),new a(18,new s(2,14),new s(4,15)),new a(26,new s(4,13),new s(1,14))),new t(8,Int32Array.from([6,24,42]),new a(24,new s(2,97)),new a(22,new s(2,38),new s(2,39)),new a(22,new s(4,18),new s(2,19)),new a(26,new s(4,14),new s(2,15))),new t(9,Int32Array.from([6,26,46]),new a(30,new s(2,116)),new a(22,new s(3,36),new s(2,37)),new a(20,new s(4,16),new s(4,17)),new a(24,new s(4,12),new s(4,13))),new t(10,Int32Array.from([6,28,50]),new a(18,new s(2,68),new s(2,69)),new a(26,new s(4,43),new s(1,44)),new a(24,new s(6,19),new s(2,20)),new a(28,new s(6,15),new s(2,16))),new t(11,Int32Array.from([6,30,54]),new a(20,new s(4,81)),new a(30,new s(1,50),new s(4,51)),new a(28,new s(4,22),new s(4,23)),new a(24,new s(3,12),new s(8,13))),new t(12,Int32Array.from([6,32,58]),new a(24,new s(2,92),new s(2,93)),new a(22,new s(6,36),new s(2,37)),new a(26,new s(4,20),new s(6,21)),new a(28,new s(7,14),new s(4,15))),new t(13,Int32Array.from([6,34,62]),new a(26,new s(4,107)),new a(22,new s(8,37),new s(1,38)),new a(24,new s(8,20),new s(4,21)),new a(22,new s(12,11),new s(4,12))),new t(14,Int32Array.from([6,26,46,66]),new a(30,new s(3,115),new s(1,116)),new a(24,new s(4,40),new s(5,41)),new a(20,new s(11,16),new s(5,17)),new a(24,new s(11,12),new s(5,13))),new t(15,Int32Array.from([6,26,48,70]),new a(22,new s(5,87),new s(1,88)),new a(24,new s(5,41),new s(5,42)),new a(30,new s(5,24),new s(7,25)),new a(24,new s(11,12),new s(7,13))),new t(16,Int32Array.from([6,26,50,74]),new a(24,new s(5,98),new s(1,99)),new a(28,new s(7,45),new s(3,46)),new a(24,new s(15,19),new s(2,20)),new a(30,new s(3,15),new s(13,16))),new t(17,Int32Array.from([6,30,54,78]),new a(28,new s(1,107),new s(5,108)),new a(28,new s(10,46),new s(1,47)),new a(28,new s(1,22),new s(15,23)),new a(28,new s(2,14),new s(17,15))),new t(18,Int32Array.from([6,30,56,82]),new a(30,new s(5,120),new s(1,121)),new a(26,new s(9,43),new s(4,44)),new a(28,new s(17,22),new s(1,23)),new a(28,new s(2,14),new s(19,15))),new t(19,Int32Array.from([6,30,58,86]),new a(28,new s(3,113),new s(4,114)),new a(26,new s(3,44),new s(11,45)),new a(26,new s(17,21),new s(4,22)),new a(26,new s(9,13),new s(16,14))),new t(20,Int32Array.from([6,34,62,90]),new a(28,new s(3,107),new s(5,108)),new a(26,new s(3,41),new s(13,42)),new a(30,new s(15,24),new s(5,25)),new a(28,new s(15,15),new s(10,16))),new t(21,Int32Array.from([6,28,50,72,94]),new a(28,new s(4,116),new s(4,117)),new a(26,new s(17,42)),new a(28,new s(17,22),new s(6,23)),new a(30,new s(19,16),new s(6,17))),new t(22,Int32Array.from([6,26,50,74,98]),new a(28,new s(2,111),new s(7,112)),new a(28,new s(17,46)),new a(30,new s(7,24),new s(16,25)),new a(24,new s(34,13))),new t(23,Int32Array.from([6,30,54,78,102]),new a(30,new s(4,121),new s(5,122)),new a(28,new s(4,47),new s(14,48)),new a(30,new s(11,24),new s(14,25)),new a(30,new s(16,15),new s(14,16))),new t(24,Int32Array.from([6,28,54,80,106]),new a(30,new s(6,117),new s(4,118)),new a(28,new s(6,45),new s(14,46)),new a(30,new s(11,24),new s(16,25)),new a(30,new s(30,16),new s(2,17))),new t(25,Int32Array.from([6,32,58,84,110]),new a(26,new s(8,106),new s(4,107)),new a(28,new s(8,47),new s(13,48)),new a(30,new s(7,24),new s(22,25)),new a(30,new s(22,15),new s(13,16))),new t(26,Int32Array.from([6,30,58,86,114]),new a(28,new s(10,114),new s(2,115)),new a(28,new s(19,46),new s(4,47)),new a(28,new s(28,22),new s(6,23)),new a(30,new s(33,16),new s(4,17))),new t(27,Int32Array.from([6,34,62,90,118]),new a(30,new s(8,122),new s(4,123)),new a(28,new s(22,45),new s(3,46)),new a(30,new s(8,23),new s(26,24)),new a(30,new s(12,15),new s(28,16))),new t(28,Int32Array.from([6,26,50,74,98,122]),new a(30,new s(3,117),new s(10,118)),new a(28,new s(3,45),new s(23,46)),new a(30,new s(4,24),new s(31,25)),new a(30,new s(11,15),new s(31,16))),new t(29,Int32Array.from([6,30,54,78,102,126]),new a(30,new s(7,116),new s(7,117)),new a(28,new s(21,45),new s(7,46)),new a(30,new s(1,23),new s(37,24)),new a(30,new s(19,15),new s(26,16))),new t(30,Int32Array.from([6,26,52,78,104,130]),new a(30,new s(5,115),new s(10,116)),new a(28,new s(19,47),new s(10,48)),new a(30,new s(15,24),new s(25,25)),new a(30,new s(23,15),new s(25,16))),new t(31,Int32Array.from([6,30,56,82,108,134]),new a(30,new s(13,115),new s(3,116)),new a(28,new s(2,46),new s(29,47)),new a(30,new s(42,24),new s(1,25)),new a(30,new s(23,15),new s(28,16))),new t(32,Int32Array.from([6,34,60,86,112,138]),new a(30,new s(17,115)),new a(28,new s(10,46),new s(23,47)),new a(30,new s(10,24),new s(35,25)),new a(30,new s(19,15),new s(35,16))),new t(33,Int32Array.from([6,30,58,86,114,142]),new a(30,new s(17,115),new s(1,116)),new a(28,new s(14,46),new s(21,47)),new a(30,new s(29,24),new s(19,25)),new a(30,new s(11,15),new s(46,16))),new t(34,Int32Array.from([6,34,62,90,118,146]),new a(30,new s(13,115),new s(6,116)),new a(28,new s(14,46),new s(23,47)),new a(30,new s(44,24),new s(7,25)),new a(30,new s(59,16),new s(1,17))),new t(35,Int32Array.from([6,30,54,78,102,126,150]),new a(30,new s(12,121),new s(7,122)),new a(28,new s(12,47),new s(26,48)),new a(30,new s(39,24),new s(14,25)),new a(30,new s(22,15),new s(41,16))),new t(36,Int32Array.from([6,24,50,76,102,128,154]),new a(30,new s(6,121),new s(14,122)),new a(28,new s(6,47),new s(34,48)),new a(30,new s(46,24),new s(10,25)),new a(30,new s(2,15),new s(64,16))),new t(37,Int32Array.from([6,28,54,80,106,132,158]),new a(30,new s(17,122),new s(4,123)),new a(28,new s(29,46),new s(14,47)),new a(30,new s(49,24),new s(10,25)),new a(30,new s(24,15),new s(46,16))),new t(38,Int32Array.from([6,32,58,84,110,136,162]),new a(30,new s(4,122),new s(18,123)),new a(28,new s(13,46),new s(32,47)),new a(30,new s(48,24),new s(14,25)),new a(30,new s(42,15),new s(32,16))),new t(39,Int32Array.from([6,26,54,82,110,138,166]),new a(30,new s(20,117),new s(4,118)),new a(28,new s(40,47),new s(7,48)),new a(30,new s(43,24),new s(22,25)),new a(30,new s(10,15),new s(67,16))),new t(40,Int32Array.from([6,30,58,86,114,142,170]),new a(30,new s(19,118),new s(6,119)),new a(28,new s(18,47),new s(31,48)),new a(30,new s(34,24),new s(34,25)),new a(30,new s(20,15),new s(61,16)))],t}();e.a=l},function(t,e,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;e"+t+"<\/script>"},h=function(t){t.write(A("")),t.close();var e=t.parentWindow.Object;return t=null,e},d=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}d="undefined"!=typeof document?document.domain&&r?h(r):function(){var t,e=u("iframe");return e.style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(A("document.F=Object")),t.close(),t.F}():h(r);for(var t=a.length;t--;)delete d.prototype[a[t]];return d()};s[l]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=o(t),n=new f,f.prototype=null,n[l]=t):n=d(),void 0===e?n:i.f(n,e)}},function(t,e,n){"use strict";var r=n(63),o=n(92),i=n(199);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";var r=n(89),o=n(55),i=n(62),a=n(221),s=n(502),c=n(100),u=n(154),p=n(374),l=n(308),f=n(375),A=TypeError,h=function(t,e){this.stopped=t,this.result=e},d=h.prototype;t.exports=function(t,e,n){var b,M,O,g,z,m,v,y=n&&n.that,w=!(!n||!n.AS_ENTRIES),q=!(!n||!n.IS_RECORD),_=!(!n||!n.IS_ITERATOR),B=!(!n||!n.INTERRUPTED),C=r(e,y),S=function(t){return b&&f(b,"normal",t),new h(!0,t)},E=function(t){return w?(i(t),B?C(t[0],t[1],S):C(t[0],t[1])):B?C(t,S):C(t)};if(q)b=t.iterator;else if(_)b=t;else{if(!(M=l(t)))throw new A(a(t)+" is not iterable");if(s(M)){for(O=0,g=c(t);g>O;O++)if((z=E(t[O]))&&u(d,z))return z;return new h(!1)}b=p(t,M)}for(m=q?t.next:b.next;!(v=o(m,b)).done;){try{z=E(v.value)}catch(R){f(b,"throw",R)}if("object"==typeof z&&z&&u(d,z))return z}return new h(!1)}},function(t,e,n){"use strict";var r=n(503),o=n(66),i=n(142),a=n(65)("toStringTag"),s=Object,c="Arguments"===i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=s(t),a))?n:c?i(e):"Object"===(r=i(e))&&o(e.callee)?"Arguments":r}},function(t,e,n){"use strict";var r=n(44),o=n(202),i=n(146),a=i.Map,s=i.proto,c=r(s.forEach),u=r(s.entries),p=u(new a).next;t.exports=function(t,e,n){return n?o({iterator:u(t),next:p},(function(t){return e(t[1],t[0])})):c(t,e)}},function(t,e,n){"use strict";var r=n(148),o=n(52);function i(t,e){return 55296===(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320===(64512&t.charCodeAt(e+1)))}function a(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function c(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=o,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"===typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(t="0"+t),o=0;o>6|192,n[r++]=63&a|128):i(t,o)?(a=65536+((1023&a)<<10)+(1023&t.charCodeAt(++o)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(o=0;o>>0}return a},e.split32=function(t,e){for(var n=new Array(4*t.length),r=0,o=0;r>>24,n[o+1]=i>>>16&255,n[o+2]=i>>>8&255,n[o+3]=255&i):(n[o+3]=i>>>24,n[o+2]=i>>>16&255,n[o+1]=i>>>8&255,n[o]=255&i)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,r){return t+e+n+r>>>0},e.sum32_5=function(t,e,n,r,o){return t+e+n+r+o>>>0},e.sum64=function(t,e,n,r){var o=t[e],i=r+t[e+1]>>>0,a=(i>>0,t[e+1]=i},e.sum64_hi=function(t,e,n,r){return(e+r>>>0>>0},e.sum64_lo=function(t,e,n,r){return e+r>>>0},e.sum64_4_hi=function(t,e,n,r,o,i,a,s){var c=0,u=e;return c+=(u=u+r>>>0)>>0)>>0)>>0},e.sum64_4_lo=function(t,e,n,r,o,i,a,s){return e+r+i+s>>>0},e.sum64_5_hi=function(t,e,n,r,o,i,a,s,c,u){var p=0,l=e;return p+=(l=l+r>>>0)>>0)>>0)>>0)>>0},e.sum64_5_lo=function(t,e,n,r,o,i,a,s,c,u){return e+r+i+s+u>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(798),i=(r=o)&&r.__esModule?r:{default:r};e.default=function(){function t(t,e){for(var n=0;n=0&&this.structuredAppendSequenceNumber>=0},t.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},t.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},t}();e.a=r},function(t,e,n){"use strict";var r=n(90),o=n(140),i=n(245),a=n(106),s=function(){function t(t){this.field=t}return t.prototype.decode=function(t,e){for(var n=this.field,a=new o.a(n,t),s=new Int32Array(e),c=!0,u=0;u=(n/2|0);){var l=s,f=u;if(u=p,(s=c).isZero())throw new i.a("r_{i-1} was zero");c=l;for(var A=o.getZero(),h=s.getCoefficient(s.getDegree()),d=o.inverse(h);c.getDegree()>=s.getDegree()&&!c.isZero();){var b=c.getDegree()-s.getDegree(),M=o.multiply(c.getCoefficient(c.getDegree()),d);A=A.addOrSubtract(o.buildMonomial(b,M)),c=c.addOrSubtract(s.multiplyByMonomial(b,M))}if(p=A.multiply(u).addOrSubtract(f),c.getDegree()>=s.getDegree())throw new a.a("Division algorithm failed to reduce polynomial?")}var O=p.getCoefficient(0);if(0===O)throw new i.a("sigmaTilde(0) was zero");var g=o.inverse(O);return[p.multiplyScalar(g),c.multiplyScalar(g)]},t.prototype.findErrorLocations=function(t){var e=t.getDegree();if(1===e)return Int32Array.from([t.getCoefficient(1)]);for(var n=new Int32Array(e),r=0,o=this.field,a=1;a=t.FOR_BITS.size)throw new i.a;return t.FOR_BITS.get(e)},t.FOR_BITS=new Map,t.FOR_VALUE=new Map,t.L=new t(r.L,"L",1),t.M=new t(r.M,"M",0),t.Q=new t(r.Q,"Q",3),t.H=new t(r.H,"H",2),t}();e.a=a},function(t,e,n){"use strict";function r(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(159),o=n.n(r),i=n(46),a=n.n(i),s="object"===("undefined"===typeof document?"undefined":o()(document))&&null!==document,c="object"===("undefined"===typeof window?"undefined":o()(window))&&null!==window&&window.self===window;e.a=function t(){return a()(t.override)?s&&c:t.override}},function(t,e,n){"use strict";var r=n(17),o=n.n(r),i=n(37),a=n.n(i),s=n(38),c=n.n(s),u=n(29),p=n.n(u),l=n(41),f=n.n(l),A=n(43),h=n.n(A),d=n(13),b=n.n(d),M=n(46),O=n.n(M),g=(n(118),n(15)),z=n.n(g),m=n(0),v=n.n(m),y=n(603),w=n(33),q=n(111),_=n(127),B=n(217),C=n(22);function S(t){var e=t.children,n=t.className,r=t.content,i=t.size,a=z()(i,"icons",n),s=Object(q.a)(S,t),c=Object(_.a)(S,t);return v.a.createElement(c,o()({},s,{className:a}),C.a.isNil(e)?r:e)}S.handledProps=["as","children","className","content","size"],S.propTypes={},S.defaultProps={as:"i"};var E=S,R=function(t){function e(){return a()(this,e),p()(this,f()(e).apply(this,arguments))}return h()(e,t),c()(e,[{key:"shouldComponentUpdate",value:function(t){return!Object(y.a)(this.props,t)}},{key:"getIconAriaOptions",value:function(){var t={},e=this.props,n=e["aria-label"],r=e["aria-hidden"];return O()(n)?t["aria-hidden"]="true":t["aria-label"]=n,O()(r)||(t["aria-hidden"]=r),t}},{key:"render",value:function(){var t=this.props,n=t.bordered,r=t.circular,i=t.className,a=t.color,s=t.corner,c=t.disabled,u=t.fitted,p=t.flipped,l=t.inverted,f=t.link,A=t.loading,h=t.name,d=t.rotated,b=t.size,M=z()(a,h,b,Object(w.a)(n,"bordered"),Object(w.a)(r,"circular"),Object(w.a)(s,"corner"),Object(w.a)(c,"disabled"),Object(w.a)(u,"fitted"),Object(w.a)(l,"inverted"),Object(w.a)(f,"link"),Object(w.a)(A,"loading"),Object(w.e)(p,"flipped"),Object(w.e)(d,"rotated"),"icon",i),O=Object(q.a)(e,this.props),g=Object(_.a)(e,this.props),m=this.getIconAriaOptions();return v.a.createElement(g,o()({},O,m,{className:M}))}}]),e}(m.Component);b()(R,"defaultProps",{as:"i"}),b()(R,"Group",E),b()(R,"handledProps",["aria-hidden","aria-label","as","bordered","circular","className","color","corner","disabled","fitted","flipped","inverted","link","loading","name","rotated","size"]),R.propTypes={},R.create=Object(B.d)(R,(function(t){return{name:t}}));e.a=R},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s}));var r=["D","DD"],o=["YY","YYYY"];function i(t){return-1!==r.indexOf(t)}function a(t){return-1!==o.indexOf(t)}function s(t,e,n){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},function(t,e,n){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},function(t,e,n){"use strict";var r=n(302),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},function(t,e,n){"use strict";var r=n(18),o=n(45),i=n(55),a=n(63),s=n(525),c=n(68),u=n(380),p=n(201),l=n(199),f=n(163),A=n(515),h=n(144),d=n(689),b=n(713),M=n(1205),O=n(197),g=n(73),z=n(165),m=n(64),v=n(252),y=n(162),w=n(154),q=n(200),_=n(222).f,B=n(714),C=n(125).forEach,S=n(256),E=n(157),R=n(92),W=n(113),T=n(716),L=n(124),N=n(309),x=L.get,k=L.set,I=L.enforce,P=R.f,D=W.f,F=o.RangeError,U=u.ArrayBuffer,j=U.prototype,H=u.DataView,X=c.NATIVE_ARRAY_BUFFER_VIEWS,Q=c.TYPED_ARRAY_TAG,K=c.TypedArray,V=c.TypedArrayPrototype,G=c.isTypedArray,Y=function(t,e){E(t,e,{configurable:!0,get:function(){return x(this)[e]}})},Z=function(t){var e;return w(j,t)||"ArrayBuffer"===(e=z(t))||"SharedArrayBuffer"===e},J=function(t,e){return G(t)&&!v(e)&&e in t&&A(+e)&&e>=0},$=function(t,e){return e=O(e),J(t,e)?l(2,t[e]):D(t,e)},tt=function(t,e,n){return e=O(e),!(J(t,e)&&m(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?P(t,e,n):(t[e]=n.value,t)};a?(X||(W.f=$,R.f=tt,Y(V,"buffer"),Y(V,"byteOffset"),Y(V,"byteLength"),Y(V,"length")),r({target:"Object",stat:!0,forced:!X},{getOwnPropertyDescriptor:$,defineProperty:tt}),t.exports=function(t,e,n){var a=t.match(/\d+/)[0]/8,c=t+(n?"Clamped":"")+"Array",u="get"+t,l="set"+t,A=o[c],O=A,g=O&&O.prototype,z={},v=function(t,e){P(t,e,{get:function(){return function(t,e){var n=x(t);return n.view[u](e*a+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,r){var o=x(t);o.view[l](e*a+o.byteOffset,n?M(r):r,!0)}(this,e,t)},enumerable:!0})};X?s&&(O=e((function(t,e,n,r){return p(t,g),N(m(e)?Z(e)?void 0!==r?new A(e,b(n,a),r):void 0!==n?new A(e,b(n,a)):new A(e):G(e)?T(O,e):i(B,O,e):new A(d(e)),t,O)})),q&&q(O,K),C(_(A),(function(t){t in O||f(O,t,A[t])})),O.prototype=g):(O=e((function(t,e,n,r){p(t,g);var o,s,c,u=0,l=0;if(m(e)){if(!Z(e))return G(e)?T(O,e):i(B,O,e);o=e,l=b(n,a);var f=e.byteLength;if(void 0===r){if(f%a)throw new F("Wrong length");if((s=f-l)<0)throw new F("Wrong length")}else if((s=h(r)*a)+l>f)throw new F("Wrong length");c=s/a}else c=d(e),o=new U(s=c*a);for(k(t,{buffer:o,byteOffset:l,byteLength:s,length:c,view:new H(o)});u=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function c(t,e,n){var r=s(t,n);return n-1>=e&&(r|=s(t,n-1)<<4),r}function u(t,e,n,r){for(var o=0,i=Math.min(t.length,n),a=e;a=49?s-49+10:s>=17?s-17+10:s}return o}i.isBN=function(t){return t instanceof i||null!==t&&"object"===typeof t&&t.constructor.wordSize===i.wordSize&&Array.isArray(t.words)},i.max=function(t,e){return t.cmp(e)>0?t:e},i.min=function(t,e){return t.cmp(e)<0?t:e},i.prototype._init=function(t,e,n){if("number"===typeof t)return this._initNumber(t,e,n);if("object"===typeof t)return this._initArray(t,e,n);"hex"===e&&(e=16),r(e===(0|e)&&e>=2&&e<=36);var o=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(o++,this.negative=1),o=0;o-=3)a=t[o]|t[o-1]<<8|t[o-2]<<16,this.words[i]|=a<>>26-s&67108863,(s+=24)>=26&&(s-=26,i++);else if("le"===n)for(o=0,i=0;o>>26-s&67108863,(s+=24)>=26&&(s-=26,i++);return this.strip()},i.prototype._parseHex=function(t,e,n){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var r=0;r=e;r-=2)o=c(t,e,r)<=18?(i-=18,a+=1,this.words[a]|=o>>>26):i+=8;else for(r=(t.length-e)%2===0?e+1:e;r=18?(i-=18,a+=1,this.words[a]|=o>>>26):i+=8;this.strip()},i.prototype._parseBase=function(t,e,n){this.words=[0],this.length=1;for(var r=0,o=1;o<=67108863;o*=e)r++;r--,o=o/e|0;for(var i=t.length-n,a=i%r,s=Math.min(i,i-a)+n,c=0,p=n;p1&&0===this.words[this.length-1];)this.length--;return this._normSign()},i.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},i.prototype.inspect=function(){return(this.red?""};var p=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function A(t,e,n){n.negative=e.negative^t.negative;var r=t.length+e.length|0;n.length=r,r=r-1|0;var o=0|t.words[0],i=0|e.words[0],a=o*i,s=67108863&a,c=a/67108864|0;n.words[0]=s;for(var u=1;u>>26,l=67108863&c,f=Math.min(u,e.length-1),A=Math.max(0,u-t.length+1);A<=f;A++){var h=u-A|0;p+=(a=(o=0|t.words[h])*(i=0|e.words[A])+l)/67108864|0,l=67108863&a}n.words[u]=0|l,c=0|p}return 0!==c?n.words[u]=0|c:n.length--,n.strip()}i.prototype.toString=function(t,e){var n;if(e=0|e||1,16===(t=t||10)||"hex"===t){n="";for(var o=0,i=0,a=0;a>>24-o&16777215)||a!==this.length-1?p[6-c.length]+c+n:c+n,(o+=2)>=26&&(o-=26,a--)}for(0!==i&&(n=i.toString(16)+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(t===(0|t)&&t>=2&&t<=36){var u=l[t],A=f[t];n="";var h=this.clone();for(h.negative=0;!h.isZero();){var d=h.modn(A).toString(t);n=(h=h.idivn(A)).isZero()?d+n:p[u-d.length]+d+n}for(this.isZero()&&(n="0"+n);n.length%e!==0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},i.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},i.prototype.toJSON=function(){return this.toString(16)},i.prototype.toBuffer=function(t,e){return r("undefined"!==typeof a),this.toArrayLike(a,t,e)},i.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},i.prototype.toArrayLike=function(t,e,n){var o=this.byteLength(),i=n||Math.max(1,o);r(o<=i,"byte array longer than desired length"),r(i>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===e,u=new t(i),p=this.clone();if(c){for(s=0;!p.isZero();s++)a=p.andln(255),p.iushrn(8),u[s]=a;for(;s=4096&&(n+=13,e>>>=13),e>=64&&(n+=7,e>>>=7),e>=8&&(n+=4,e>>>=4),e>=2&&(n+=2,e>>>=2),n+e},i.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,n=0;return 0===(8191&e)&&(n+=13,e>>>=13),0===(127&e)&&(n+=7,e>>>=7),0===(15&e)&&(n+=4,e>>>=4),0===(3&e)&&(n+=2,e>>>=2),0===(1&e)&&n++,n},i.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},i.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},i.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},i.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var n=0;nt.length?this.clone().iand(t):t.clone().iand(this)},i.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},i.prototype.iuxor=function(t){var e,n;this.length>t.length?(e=this,n=t):(e=t,n=this);for(var r=0;rt.length?this.clone().ixor(t):t.clone().ixor(this)},i.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},i.prototype.inotn=function(t){r("number"===typeof t&&t>=0);var e=0|Math.ceil(t/26),n=t%26;this._expand(e),n>0&&e--;for(var o=0;o0&&(this.words[o]=~this.words[o]&67108863>>26-n),this.strip()},i.prototype.notn=function(t){return this.clone().inotn(t)},i.prototype.setn=function(t,e){r("number"===typeof t&&t>=0);var n=t/26|0,o=t%26;return this._expand(n+1),this.words[n]=e?this.words[n]|1<t.length?(n=this,r=t):(n=t,r=this);for(var o=0,i=0;i>>26;for(;0!==o&&i>>26;if(this.length=n.length,0!==o)this.words[this.length]=o,this.length++;else if(n!==this)for(;it.length?this.clone().iadd(t):t.clone().iadd(this)},i.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var n,r,o=this.cmp(t);if(0===o)return this.negative=0,this.length=1,this.words[0]=0,this;o>0?(n=this,r=t):(n=t,r=this);for(var i=0,a=0;a>26,this.words[a]=67108863&e;for(;0!==i&&a>26,this.words[a]=67108863&e;if(0===i&&a>>13,A=0|a[1],h=8191&A,d=A>>>13,b=0|a[2],M=8191&b,O=b>>>13,g=0|a[3],z=8191&g,m=g>>>13,v=0|a[4],y=8191&v,w=v>>>13,q=0|a[5],_=8191&q,B=q>>>13,C=0|a[6],S=8191&C,E=C>>>13,R=0|a[7],W=8191&R,T=R>>>13,L=0|a[8],N=8191&L,x=L>>>13,k=0|a[9],I=8191&k,P=k>>>13,D=0|s[0],F=8191&D,U=D>>>13,j=0|s[1],H=8191&j,X=j>>>13,Q=0|s[2],K=8191&Q,V=Q>>>13,G=0|s[3],Y=8191&G,Z=G>>>13,J=0|s[4],$=8191&J,tt=J>>>13,et=0|s[5],nt=8191&et,rt=et>>>13,ot=0|s[6],it=8191&ot,at=ot>>>13,st=0|s[7],ct=8191&st,ut=st>>>13,pt=0|s[8],lt=8191&pt,ft=pt>>>13,At=0|s[9],ht=8191&At,dt=At>>>13;n.negative=t.negative^e.negative,n.length=19;var bt=(u+(r=Math.imul(l,F))|0)+((8191&(o=(o=Math.imul(l,U))+Math.imul(f,F)|0))<<13)|0;u=((i=Math.imul(f,U))+(o>>>13)|0)+(bt>>>26)|0,bt&=67108863,r=Math.imul(h,F),o=(o=Math.imul(h,U))+Math.imul(d,F)|0,i=Math.imul(d,U);var Mt=(u+(r=r+Math.imul(l,H)|0)|0)+((8191&(o=(o=o+Math.imul(l,X)|0)+Math.imul(f,H)|0))<<13)|0;u=((i=i+Math.imul(f,X)|0)+(o>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,r=Math.imul(M,F),o=(o=Math.imul(M,U))+Math.imul(O,F)|0,i=Math.imul(O,U),r=r+Math.imul(h,H)|0,o=(o=o+Math.imul(h,X)|0)+Math.imul(d,H)|0,i=i+Math.imul(d,X)|0;var Ot=(u+(r=r+Math.imul(l,K)|0)|0)+((8191&(o=(o=o+Math.imul(l,V)|0)+Math.imul(f,K)|0))<<13)|0;u=((i=i+Math.imul(f,V)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,r=Math.imul(z,F),o=(o=Math.imul(z,U))+Math.imul(m,F)|0,i=Math.imul(m,U),r=r+Math.imul(M,H)|0,o=(o=o+Math.imul(M,X)|0)+Math.imul(O,H)|0,i=i+Math.imul(O,X)|0,r=r+Math.imul(h,K)|0,o=(o=o+Math.imul(h,V)|0)+Math.imul(d,K)|0,i=i+Math.imul(d,V)|0;var gt=(u+(r=r+Math.imul(l,Y)|0)|0)+((8191&(o=(o=o+Math.imul(l,Z)|0)+Math.imul(f,Y)|0))<<13)|0;u=((i=i+Math.imul(f,Z)|0)+(o>>>13)|0)+(gt>>>26)|0,gt&=67108863,r=Math.imul(y,F),o=(o=Math.imul(y,U))+Math.imul(w,F)|0,i=Math.imul(w,U),r=r+Math.imul(z,H)|0,o=(o=o+Math.imul(z,X)|0)+Math.imul(m,H)|0,i=i+Math.imul(m,X)|0,r=r+Math.imul(M,K)|0,o=(o=o+Math.imul(M,V)|0)+Math.imul(O,K)|0,i=i+Math.imul(O,V)|0,r=r+Math.imul(h,Y)|0,o=(o=o+Math.imul(h,Z)|0)+Math.imul(d,Y)|0,i=i+Math.imul(d,Z)|0;var zt=(u+(r=r+Math.imul(l,$)|0)|0)+((8191&(o=(o=o+Math.imul(l,tt)|0)+Math.imul(f,$)|0))<<13)|0;u=((i=i+Math.imul(f,tt)|0)+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,r=Math.imul(_,F),o=(o=Math.imul(_,U))+Math.imul(B,F)|0,i=Math.imul(B,U),r=r+Math.imul(y,H)|0,o=(o=o+Math.imul(y,X)|0)+Math.imul(w,H)|0,i=i+Math.imul(w,X)|0,r=r+Math.imul(z,K)|0,o=(o=o+Math.imul(z,V)|0)+Math.imul(m,K)|0,i=i+Math.imul(m,V)|0,r=r+Math.imul(M,Y)|0,o=(o=o+Math.imul(M,Z)|0)+Math.imul(O,Y)|0,i=i+Math.imul(O,Z)|0,r=r+Math.imul(h,$)|0,o=(o=o+Math.imul(h,tt)|0)+Math.imul(d,$)|0,i=i+Math.imul(d,tt)|0;var mt=(u+(r=r+Math.imul(l,nt)|0)|0)+((8191&(o=(o=o+Math.imul(l,rt)|0)+Math.imul(f,nt)|0))<<13)|0;u=((i=i+Math.imul(f,rt)|0)+(o>>>13)|0)+(mt>>>26)|0,mt&=67108863,r=Math.imul(S,F),o=(o=Math.imul(S,U))+Math.imul(E,F)|0,i=Math.imul(E,U),r=r+Math.imul(_,H)|0,o=(o=o+Math.imul(_,X)|0)+Math.imul(B,H)|0,i=i+Math.imul(B,X)|0,r=r+Math.imul(y,K)|0,o=(o=o+Math.imul(y,V)|0)+Math.imul(w,K)|0,i=i+Math.imul(w,V)|0,r=r+Math.imul(z,Y)|0,o=(o=o+Math.imul(z,Z)|0)+Math.imul(m,Y)|0,i=i+Math.imul(m,Z)|0,r=r+Math.imul(M,$)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(O,$)|0,i=i+Math.imul(O,tt)|0,r=r+Math.imul(h,nt)|0,o=(o=o+Math.imul(h,rt)|0)+Math.imul(d,nt)|0,i=i+Math.imul(d,rt)|0;var vt=(u+(r=r+Math.imul(l,it)|0)|0)+((8191&(o=(o=o+Math.imul(l,at)|0)+Math.imul(f,it)|0))<<13)|0;u=((i=i+Math.imul(f,at)|0)+(o>>>13)|0)+(vt>>>26)|0,vt&=67108863,r=Math.imul(W,F),o=(o=Math.imul(W,U))+Math.imul(T,F)|0,i=Math.imul(T,U),r=r+Math.imul(S,H)|0,o=(o=o+Math.imul(S,X)|0)+Math.imul(E,H)|0,i=i+Math.imul(E,X)|0,r=r+Math.imul(_,K)|0,o=(o=o+Math.imul(_,V)|0)+Math.imul(B,K)|0,i=i+Math.imul(B,V)|0,r=r+Math.imul(y,Y)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(w,Y)|0,i=i+Math.imul(w,Z)|0,r=r+Math.imul(z,$)|0,o=(o=o+Math.imul(z,tt)|0)+Math.imul(m,$)|0,i=i+Math.imul(m,tt)|0,r=r+Math.imul(M,nt)|0,o=(o=o+Math.imul(M,rt)|0)+Math.imul(O,nt)|0,i=i+Math.imul(O,rt)|0,r=r+Math.imul(h,it)|0,o=(o=o+Math.imul(h,at)|0)+Math.imul(d,it)|0,i=i+Math.imul(d,at)|0;var yt=(u+(r=r+Math.imul(l,ct)|0)|0)+((8191&(o=(o=o+Math.imul(l,ut)|0)+Math.imul(f,ct)|0))<<13)|0;u=((i=i+Math.imul(f,ut)|0)+(o>>>13)|0)+(yt>>>26)|0,yt&=67108863,r=Math.imul(N,F),o=(o=Math.imul(N,U))+Math.imul(x,F)|0,i=Math.imul(x,U),r=r+Math.imul(W,H)|0,o=(o=o+Math.imul(W,X)|0)+Math.imul(T,H)|0,i=i+Math.imul(T,X)|0,r=r+Math.imul(S,K)|0,o=(o=o+Math.imul(S,V)|0)+Math.imul(E,K)|0,i=i+Math.imul(E,V)|0,r=r+Math.imul(_,Y)|0,o=(o=o+Math.imul(_,Z)|0)+Math.imul(B,Y)|0,i=i+Math.imul(B,Z)|0,r=r+Math.imul(y,$)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(w,$)|0,i=i+Math.imul(w,tt)|0,r=r+Math.imul(z,nt)|0,o=(o=o+Math.imul(z,rt)|0)+Math.imul(m,nt)|0,i=i+Math.imul(m,rt)|0,r=r+Math.imul(M,it)|0,o=(o=o+Math.imul(M,at)|0)+Math.imul(O,it)|0,i=i+Math.imul(O,at)|0,r=r+Math.imul(h,ct)|0,o=(o=o+Math.imul(h,ut)|0)+Math.imul(d,ct)|0,i=i+Math.imul(d,ut)|0;var wt=(u+(r=r+Math.imul(l,lt)|0)|0)+((8191&(o=(o=o+Math.imul(l,ft)|0)+Math.imul(f,lt)|0))<<13)|0;u=((i=i+Math.imul(f,ft)|0)+(o>>>13)|0)+(wt>>>26)|0,wt&=67108863,r=Math.imul(I,F),o=(o=Math.imul(I,U))+Math.imul(P,F)|0,i=Math.imul(P,U),r=r+Math.imul(N,H)|0,o=(o=o+Math.imul(N,X)|0)+Math.imul(x,H)|0,i=i+Math.imul(x,X)|0,r=r+Math.imul(W,K)|0,o=(o=o+Math.imul(W,V)|0)+Math.imul(T,K)|0,i=i+Math.imul(T,V)|0,r=r+Math.imul(S,Y)|0,o=(o=o+Math.imul(S,Z)|0)+Math.imul(E,Y)|0,i=i+Math.imul(E,Z)|0,r=r+Math.imul(_,$)|0,o=(o=o+Math.imul(_,tt)|0)+Math.imul(B,$)|0,i=i+Math.imul(B,tt)|0,r=r+Math.imul(y,nt)|0,o=(o=o+Math.imul(y,rt)|0)+Math.imul(w,nt)|0,i=i+Math.imul(w,rt)|0,r=r+Math.imul(z,it)|0,o=(o=o+Math.imul(z,at)|0)+Math.imul(m,it)|0,i=i+Math.imul(m,at)|0,r=r+Math.imul(M,ct)|0,o=(o=o+Math.imul(M,ut)|0)+Math.imul(O,ct)|0,i=i+Math.imul(O,ut)|0,r=r+Math.imul(h,lt)|0,o=(o=o+Math.imul(h,ft)|0)+Math.imul(d,lt)|0,i=i+Math.imul(d,ft)|0;var qt=(u+(r=r+Math.imul(l,ht)|0)|0)+((8191&(o=(o=o+Math.imul(l,dt)|0)+Math.imul(f,ht)|0))<<13)|0;u=((i=i+Math.imul(f,dt)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863,r=Math.imul(I,H),o=(o=Math.imul(I,X))+Math.imul(P,H)|0,i=Math.imul(P,X),r=r+Math.imul(N,K)|0,o=(o=o+Math.imul(N,V)|0)+Math.imul(x,K)|0,i=i+Math.imul(x,V)|0,r=r+Math.imul(W,Y)|0,o=(o=o+Math.imul(W,Z)|0)+Math.imul(T,Y)|0,i=i+Math.imul(T,Z)|0,r=r+Math.imul(S,$)|0,o=(o=o+Math.imul(S,tt)|0)+Math.imul(E,$)|0,i=i+Math.imul(E,tt)|0,r=r+Math.imul(_,nt)|0,o=(o=o+Math.imul(_,rt)|0)+Math.imul(B,nt)|0,i=i+Math.imul(B,rt)|0,r=r+Math.imul(y,it)|0,o=(o=o+Math.imul(y,at)|0)+Math.imul(w,it)|0,i=i+Math.imul(w,at)|0,r=r+Math.imul(z,ct)|0,o=(o=o+Math.imul(z,ut)|0)+Math.imul(m,ct)|0,i=i+Math.imul(m,ut)|0,r=r+Math.imul(M,lt)|0,o=(o=o+Math.imul(M,ft)|0)+Math.imul(O,lt)|0,i=i+Math.imul(O,ft)|0;var _t=(u+(r=r+Math.imul(h,ht)|0)|0)+((8191&(o=(o=o+Math.imul(h,dt)|0)+Math.imul(d,ht)|0))<<13)|0;u=((i=i+Math.imul(d,dt)|0)+(o>>>13)|0)+(_t>>>26)|0,_t&=67108863,r=Math.imul(I,K),o=(o=Math.imul(I,V))+Math.imul(P,K)|0,i=Math.imul(P,V),r=r+Math.imul(N,Y)|0,o=(o=o+Math.imul(N,Z)|0)+Math.imul(x,Y)|0,i=i+Math.imul(x,Z)|0,r=r+Math.imul(W,$)|0,o=(o=o+Math.imul(W,tt)|0)+Math.imul(T,$)|0,i=i+Math.imul(T,tt)|0,r=r+Math.imul(S,nt)|0,o=(o=o+Math.imul(S,rt)|0)+Math.imul(E,nt)|0,i=i+Math.imul(E,rt)|0,r=r+Math.imul(_,it)|0,o=(o=o+Math.imul(_,at)|0)+Math.imul(B,it)|0,i=i+Math.imul(B,at)|0,r=r+Math.imul(y,ct)|0,o=(o=o+Math.imul(y,ut)|0)+Math.imul(w,ct)|0,i=i+Math.imul(w,ut)|0,r=r+Math.imul(z,lt)|0,o=(o=o+Math.imul(z,ft)|0)+Math.imul(m,lt)|0,i=i+Math.imul(m,ft)|0;var Bt=(u+(r=r+Math.imul(M,ht)|0)|0)+((8191&(o=(o=o+Math.imul(M,dt)|0)+Math.imul(O,ht)|0))<<13)|0;u=((i=i+Math.imul(O,dt)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,r=Math.imul(I,Y),o=(o=Math.imul(I,Z))+Math.imul(P,Y)|0,i=Math.imul(P,Z),r=r+Math.imul(N,$)|0,o=(o=o+Math.imul(N,tt)|0)+Math.imul(x,$)|0,i=i+Math.imul(x,tt)|0,r=r+Math.imul(W,nt)|0,o=(o=o+Math.imul(W,rt)|0)+Math.imul(T,nt)|0,i=i+Math.imul(T,rt)|0,r=r+Math.imul(S,it)|0,o=(o=o+Math.imul(S,at)|0)+Math.imul(E,it)|0,i=i+Math.imul(E,at)|0,r=r+Math.imul(_,ct)|0,o=(o=o+Math.imul(_,ut)|0)+Math.imul(B,ct)|0,i=i+Math.imul(B,ut)|0,r=r+Math.imul(y,lt)|0,o=(o=o+Math.imul(y,ft)|0)+Math.imul(w,lt)|0,i=i+Math.imul(w,ft)|0;var Ct=(u+(r=r+Math.imul(z,ht)|0)|0)+((8191&(o=(o=o+Math.imul(z,dt)|0)+Math.imul(m,ht)|0))<<13)|0;u=((i=i+Math.imul(m,dt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,r=Math.imul(I,$),o=(o=Math.imul(I,tt))+Math.imul(P,$)|0,i=Math.imul(P,tt),r=r+Math.imul(N,nt)|0,o=(o=o+Math.imul(N,rt)|0)+Math.imul(x,nt)|0,i=i+Math.imul(x,rt)|0,r=r+Math.imul(W,it)|0,o=(o=o+Math.imul(W,at)|0)+Math.imul(T,it)|0,i=i+Math.imul(T,at)|0,r=r+Math.imul(S,ct)|0,o=(o=o+Math.imul(S,ut)|0)+Math.imul(E,ct)|0,i=i+Math.imul(E,ut)|0,r=r+Math.imul(_,lt)|0,o=(o=o+Math.imul(_,ft)|0)+Math.imul(B,lt)|0,i=i+Math.imul(B,ft)|0;var St=(u+(r=r+Math.imul(y,ht)|0)|0)+((8191&(o=(o=o+Math.imul(y,dt)|0)+Math.imul(w,ht)|0))<<13)|0;u=((i=i+Math.imul(w,dt)|0)+(o>>>13)|0)+(St>>>26)|0,St&=67108863,r=Math.imul(I,nt),o=(o=Math.imul(I,rt))+Math.imul(P,nt)|0,i=Math.imul(P,rt),r=r+Math.imul(N,it)|0,o=(o=o+Math.imul(N,at)|0)+Math.imul(x,it)|0,i=i+Math.imul(x,at)|0,r=r+Math.imul(W,ct)|0,o=(o=o+Math.imul(W,ut)|0)+Math.imul(T,ct)|0,i=i+Math.imul(T,ut)|0,r=r+Math.imul(S,lt)|0,o=(o=o+Math.imul(S,ft)|0)+Math.imul(E,lt)|0,i=i+Math.imul(E,ft)|0;var Et=(u+(r=r+Math.imul(_,ht)|0)|0)+((8191&(o=(o=o+Math.imul(_,dt)|0)+Math.imul(B,ht)|0))<<13)|0;u=((i=i+Math.imul(B,dt)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,r=Math.imul(I,it),o=(o=Math.imul(I,at))+Math.imul(P,it)|0,i=Math.imul(P,at),r=r+Math.imul(N,ct)|0,o=(o=o+Math.imul(N,ut)|0)+Math.imul(x,ct)|0,i=i+Math.imul(x,ut)|0,r=r+Math.imul(W,lt)|0,o=(o=o+Math.imul(W,ft)|0)+Math.imul(T,lt)|0,i=i+Math.imul(T,ft)|0;var Rt=(u+(r=r+Math.imul(S,ht)|0)|0)+((8191&(o=(o=o+Math.imul(S,dt)|0)+Math.imul(E,ht)|0))<<13)|0;u=((i=i+Math.imul(E,dt)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,r=Math.imul(I,ct),o=(o=Math.imul(I,ut))+Math.imul(P,ct)|0,i=Math.imul(P,ut),r=r+Math.imul(N,lt)|0,o=(o=o+Math.imul(N,ft)|0)+Math.imul(x,lt)|0,i=i+Math.imul(x,ft)|0;var Wt=(u+(r=r+Math.imul(W,ht)|0)|0)+((8191&(o=(o=o+Math.imul(W,dt)|0)+Math.imul(T,ht)|0))<<13)|0;u=((i=i+Math.imul(T,dt)|0)+(o>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,r=Math.imul(I,lt),o=(o=Math.imul(I,ft))+Math.imul(P,lt)|0,i=Math.imul(P,ft);var Tt=(u+(r=r+Math.imul(N,ht)|0)|0)+((8191&(o=(o=o+Math.imul(N,dt)|0)+Math.imul(x,ht)|0))<<13)|0;u=((i=i+Math.imul(x,dt)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863;var Lt=(u+(r=Math.imul(I,ht))|0)+((8191&(o=(o=Math.imul(I,dt))+Math.imul(P,ht)|0))<<13)|0;return u=((i=Math.imul(P,dt))+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,c[0]=bt,c[1]=Mt,c[2]=Ot,c[3]=gt,c[4]=zt,c[5]=mt,c[6]=vt,c[7]=yt,c[8]=wt,c[9]=qt,c[10]=_t,c[11]=Bt,c[12]=Ct,c[13]=St,c[14]=Et,c[15]=Rt,c[16]=Wt,c[17]=Tt,c[18]=Lt,0!==u&&(c[19]=u,n.length++),n};function d(t,e,n){return(new b).mulp(t,e,n)}function b(t,e){this.x=t,this.y=e}Math.imul||(h=A),i.prototype.mulTo=function(t,e){var n=this.length+t.length;return 10===this.length&&10===t.length?h(this,t,e):n<63?A(this,t,e):n<1024?function(t,e,n){n.negative=e.negative^t.negative,n.length=t.length+e.length;for(var r=0,o=0,i=0;i>>26)|0)>>>26,a&=67108863}n.words[i]=s,r=a,a=o}return 0!==r?n.words[i]=r:n.length--,n.strip()}(this,t,e):d(this,t,e)},b.prototype.makeRBT=function(t){for(var e=new Array(t),n=i.prototype._countBits(t)-1,r=0;r>=1;return r},b.prototype.permute=function(t,e,n,r,o,i){for(var a=0;a>>=1)o++;return 1<>>=13,n[2*a+1]=8191&i,i>>>=13;for(a=2*e;a>=26,e+=o/67108864|0,e+=i>>>26,this.words[n]=67108863&i}return 0!==e&&(this.words[n]=e,this.length++),this},i.prototype.muln=function(t){return this.clone().imuln(t)},i.prototype.sqr=function(){return this.mul(this)},i.prototype.isqr=function(){return this.imul(this.clone())},i.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),n=0;n>>o}return e}(t);if(0===e.length)return new i(1);for(var n=this,r=0;r=0);var e,n=t%26,o=(t-n)/26,i=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(e=0;e>>26-n}a&&(this.words[e]=a,this.length++)}if(0!==o){for(e=this.length-1;e>=0;e--)this.words[e+o]=this.words[e];for(e=0;e=0),o=e?(e-e%26)/26:0;var i=t%26,a=Math.min((t-i)/26,this.length),s=67108863^67108863>>>i<a)for(this.length-=a,u=0;u=0&&(0!==p||u>=o);u--){var l=0|this.words[u];this.words[u]=p<<26-i|l>>>i,p=l&s}return c&&0!==p&&(c.words[c.length++]=p),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},i.prototype.ishrn=function(t,e,n){return r(0===this.negative),this.iushrn(t,e,n)},i.prototype.shln=function(t){return this.clone().ishln(t)},i.prototype.ushln=function(t){return this.clone().iushln(t)},i.prototype.shrn=function(t){return this.clone().ishrn(t)},i.prototype.ushrn=function(t){return this.clone().iushrn(t)},i.prototype.testn=function(t){r("number"===typeof t&&t>=0);var e=t%26,n=(t-e)/26,o=1<=0);var e=t%26,n=(t-e)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==e&&n++,this.length=Math.min(n,this.length),0!==e){var o=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},i.prototype.isubn=function(t){if(r("number"===typeof t),r(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(c/67108864|0),this.words[o+n]=67108863&i}for(;o>26,this.words[o+n]=67108863&i;if(0===s)return this.strip();for(r(-1===s),s=0,o=0;o>26,this.words[o]=67108863&i;return this.negative=1,this.strip()},i.prototype._wordDiv=function(t,e){var n=(this.length,t.length),r=this.clone(),o=t,a=0|o.words[o.length-1];0!==(n=26-this._countBits(a))&&(o=o.ushln(n),r.iushln(n),a=0|o.words[o.length-1]);var s,c=r.length-o.length;if("mod"!==e){(s=new i(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u=0;l--){var f=67108864*(0|r.words[o.length+l])+(0|r.words[o.length+l-1]);for(f=Math.min(f/a|0,67108863),r._ishlnsubmul(o,f,l);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(o,1,l),r.isZero()||(r.negative^=1);s&&(s.words[l]=f)}return s&&s.strip(),r.strip(),"div"!==e&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},i.prototype.divmod=function(t,e,n){return r(!t.isZero()),this.isZero()?{div:new i(0),mod:new i(0)}:0!==this.negative&&0===t.negative?(s=this.neg().divmod(t,e),"mod"!==e&&(o=s.div.neg()),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(t)),{div:o,mod:a}):0===this.negative&&0!==t.negative?(s=this.divmod(t.neg(),e),"mod"!==e&&(o=s.div.neg()),{div:o,mod:s.mod}):0!==(this.negative&t.negative)?(s=this.neg().divmod(t.neg(),e),"div"!==e&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(t)),{div:s.div,mod:a}):t.length>this.length||this.cmp(t)<0?{div:new i(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new i(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new i(this.modn(t.words[0]))}:this._wordDiv(t,e);var o,a,s},i.prototype.div=function(t){return this.divmod(t,"div",!1).div},i.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},i.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},i.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var n=0!==e.div.negative?e.mod.isub(t):e.mod,r=t.ushrn(1),o=t.andln(1),i=n.cmp(r);return i<0||1===o&&0===i?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},i.prototype.modn=function(t){r(t<=67108863);for(var e=(1<<26)%t,n=0,o=this.length-1;o>=0;o--)n=(e*n+(0|this.words[o]))%t;return n},i.prototype.idivn=function(t){r(t<=67108863);for(var e=0,n=this.length-1;n>=0;n--){var o=(0|this.words[n])+67108864*e;this.words[n]=o/t|0,e=o%t}return this.strip()},i.prototype.divn=function(t){return this.clone().idivn(t)},i.prototype.egcd=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o=new i(1),a=new i(0),s=new i(0),c=new i(1),u=0;e.isEven()&&n.isEven();)e.iushrn(1),n.iushrn(1),++u;for(var p=n.clone(),l=e.clone();!e.isZero();){for(var f=0,A=1;0===(e.words[0]&A)&&f<26;++f,A<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(o.isOdd()||a.isOdd())&&(o.iadd(p),a.isub(l)),o.iushrn(1),a.iushrn(1);for(var h=0,d=1;0===(n.words[0]&d)&&h<26;++h,d<<=1);if(h>0)for(n.iushrn(h);h-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(p),c.isub(l)),s.iushrn(1),c.iushrn(1);e.cmp(n)>=0?(e.isub(n),o.isub(s),a.isub(c)):(n.isub(e),s.isub(o),c.isub(a))}return{a:s,b:c,gcd:n.iushln(u)}},i.prototype._invmp=function(t){r(0===t.negative),r(!t.isZero());var e=this,n=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var o,a=new i(1),s=new i(0),c=n.clone();e.cmpn(1)>0&&n.cmpn(1)>0;){for(var u=0,p=1;0===(e.words[0]&p)&&u<26;++u,p<<=1);if(u>0)for(e.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var l=0,f=1;0===(n.words[0]&f)&&l<26;++l,f<<=1);if(l>0)for(n.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);e.cmp(n)>=0?(e.isub(n),a.isub(s)):(n.isub(e),s.isub(a))}return(o=0===e.cmpn(1)?a:s).cmpn(0)<0&&o.iadd(t),o},i.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),n=t.clone();e.negative=0,n.negative=0;for(var r=0;e.isEven()&&n.isEven();r++)e.iushrn(1),n.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;n.isEven();)n.iushrn(1);var o=e.cmp(n);if(o<0){var i=e;e=n,n=i}else if(0===o||0===n.cmpn(1))break;e.isub(n)}return n.iushln(r)},i.prototype.invm=function(t){return this.egcd(t).a.umod(t)},i.prototype.isEven=function(){return 0===(1&this.words[0])},i.prototype.isOdd=function(){return 1===(1&this.words[0])},i.prototype.andln=function(t){return this.words[0]&t},i.prototype.bincn=function(t){r("number"===typeof t);var e=t%26,n=(t-e)/26,o=1<>>26,s&=67108863,this.words[a]=s}return 0!==i&&(this.words[a]=i,this.length++),this},i.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},i.prototype.cmpn=function(t){var e,n=t<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)e=1;else{n&&(t=-t),r(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:ot.length)return 1;if(this.length=0;n--){var r=0|this.words[n],o=0|t.words[n];if(r!==o){ro&&(e=1);break}}return e},i.prototype.gtn=function(t){return 1===this.cmpn(t)},i.prototype.gt=function(t){return 1===this.cmp(t)},i.prototype.gten=function(t){return this.cmpn(t)>=0},i.prototype.gte=function(t){return this.cmp(t)>=0},i.prototype.ltn=function(t){return-1===this.cmpn(t)},i.prototype.lt=function(t){return-1===this.cmp(t)},i.prototype.lten=function(t){return this.cmpn(t)<=0},i.prototype.lte=function(t){return this.cmp(t)<=0},i.prototype.eqn=function(t){return 0===this.cmpn(t)},i.prototype.eq=function(t){return 0===this.cmp(t)},i.red=function(t){return new y(t)},i.prototype.toRed=function(t){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},i.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},i.prototype._forceRed=function(t){return this.red=t,this},i.prototype.forceRed=function(t){return r(!this.red,"Already a number in reduction context"),this._forceRed(t)},i.prototype.redAdd=function(t){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},i.prototype.redIAdd=function(t){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},i.prototype.redSub=function(t){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},i.prototype.redISub=function(t){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},i.prototype.redShl=function(t){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},i.prototype.redMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},i.prototype.redIMul=function(t){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},i.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},i.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},i.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},i.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},i.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},i.prototype.redPow=function(t){return r(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var M={k256:null,p224:null,p192:null,p25519:null};function O(t,e){this.name=t,this.p=new i(e,16),this.n=this.p.bitLength(),this.k=new i(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function g(){O.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function z(){O.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function m(){O.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function v(){O.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function y(t){if("string"===typeof t){var e=i._prime(t);this.m=e.p,this.prime=e}else r(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function w(t){y.call(this,t),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new i(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}O.prototype._tmp=function(){var t=new i(null);return t.words=new Array(Math.ceil(this.n/13)),t},O.prototype.ireduce=function(t){var e,n=t;do{this.split(n,this.tmp),e=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(e>this.n);var r=e0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},O.prototype.split=function(t,e){t.iushrn(this.n,0,e)},O.prototype.imulK=function(t){return t.imul(this.k)},o(g,O),g.prototype.split=function(t,e){for(var n=Math.min(t.length,9),r=0;r>>22,o=i}o>>>=22,t.words[r-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},g.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,n=0;n>>=26,t.words[n]=o,e=r}return 0!==e&&(t.words[t.length++]=e),t},i._prime=function(t){if(M[t])return M[t];var e;if("k256"===t)e=new g;else if("p224"===t)e=new z;else if("p192"===t)e=new m;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new v}return M[t]=e,e},y.prototype._verify1=function(t){r(0===t.negative,"red works only with positives"),r(t.red,"red works only with red numbers")},y.prototype._verify2=function(t,e){r(0===(t.negative|e.negative),"red works only with positives"),r(t.red&&t.red===e.red,"red works only with red numbers")},y.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},y.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},y.prototype.add=function(t,e){this._verify2(t,e);var n=t.add(e);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},y.prototype.iadd=function(t,e){this._verify2(t,e);var n=t.iadd(e);return n.cmp(this.m)>=0&&n.isub(this.m),n},y.prototype.sub=function(t,e){this._verify2(t,e);var n=t.sub(e);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},y.prototype.isub=function(t,e){this._verify2(t,e);var n=t.isub(e);return n.cmpn(0)<0&&n.iadd(this.m),n},y.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},y.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},y.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},y.prototype.isqr=function(t){return this.imul(t,t.clone())},y.prototype.sqr=function(t){return this.mul(t,t)},y.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(r(e%2===1),3===e){var n=this.m.add(new i(1)).iushrn(2);return this.pow(t,n)}for(var o=this.m.subn(1),a=0;!o.isZero()&&0===o.andln(1);)a++,o.iushrn(1);r(!o.isZero());var s=new i(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),p=this.m.bitLength();for(p=new i(2*p*p).toRed(this);0!==this.pow(p,u).cmp(c);)p.redIAdd(c);for(var l=this.pow(p,o),f=this.pow(t,o.addn(1).iushrn(1)),A=this.pow(t,o),h=a;0!==A.cmp(s);){for(var d=A,b=0;0!==d.cmp(s);b++)d=d.redSqr();r(b=0;r--){for(var u=e.words[r],p=c-1;p>=0;p--){var l=u>>p&1;o!==n[0]&&(o=this.sqr(o)),0!==l||0!==a?(a<<=1,a|=l,(4===++s||0===r&&0===p)&&(o=this.mul(o,n[a]),s=0,a=0)):s=0}c=26}return o},y.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},y.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},i.mont=function(t){return new w(t)},o(w,y),w.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},w.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},w.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var n=t.imul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),i=o;return o.cmp(this.m)>=0?i=o.isub(this.m):o.cmpn(0)<0&&(i=o.iadd(this.m)),i._forceRed(this)},w.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new i(0)._forceRed(this);var n=t.mul(e),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),o=n.isub(r).iushrn(this.shift),a=o;return o.cmp(this.m)>=0?a=o.isub(this.m):o.cmpn(0)<0&&(a=o.iadd(this.m)),a._forceRed(this)},w.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,n(137)(t))},function(t,e,n){var r=n(1479),o=n(1522),i=n(235),a=n(74),s=n(1526);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):s(t)}},function(t,e,n){var r=n(829),o=n(414),i=n(150);t.exports=function(t){return i(t)?r(t):o(t)}},function(t,e){t.exports={}},,function(t,e,n){"use strict";var r=n(171),o=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(e){var n=t.call(this,e.getWidth(),e.getHeight())||this;return n.delegate=e,n}return o(e,t),e.prototype.getRow=function(t,e){for(var n=this.delegate.getRow(t,e),r=this.getWidth(),o=0;o=5&&(r+=t.N1+(c-5)),c=1,u=l)}c>=5&&(r+=t.N1+(c-5))}return r},t.N1=3,t.N2=3,t.N3=40,t.N4=10,t}();e.a=o},function(t,e,n){"use strict";var r=n(36),o=n(59),i=n(20),a=n(348),s=n(349),c=n(350),u=n(69),p=n(81),l=n(238),f=n(91),A=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return A(e,t),e.prototype.decodeMiddle=function(t,e,n){var r,o,i,a,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var c=t.getSize(),u=e[1],p=0;p<4&&u=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=new Int32Array(4),e}return g(e,t),e.prototype.decodeMiddle=function(t,n,r){var o,i,a=this.decodeMiddleCounters.map((function(t){return t}));a[0]=0,a[1]=0,a[2]=0,a[3]=0;for(var s=t.getSize(),c=n[1],u=0,p=0;p<6&&c=10&&(u|=1<<5-p)}return e.determineNumSysAndCheckDigit(new O.a(r),u),c},e.prototype.decodeEnd=function(t,n){return e.findGuardPatternWithoutCounters(t,n,!0,e.MIDDLE_END_PATTERN)},e.prototype.checkChecksum=function(t){return f.a.checkChecksum(e.convertUPCEtoUPCA(t))},e.determineNumSysAndCheckDigit=function(t,e){for(var n=0;n<=1;n++)for(var r=0;r<10;r++)if(e===this.NUMSYS_AND_CHECK_DIGIT_PATTERNS[n][r])return t.insert(0,"0"+n),void t.append("0"+r);throw i.a.getNotFoundInstance()},e.prototype.getBarcodeFormat=function(){return r.a.UPC_E},e.convertUPCEtoUPCA=function(t){var e=t.slice(1,7).split("").map((function(t){return t.charCodeAt(0)})),n=new O.a;n.append(t.charAt(0));var r=e[5];switch(r){case 0:case 1:case 2:n.appendChars(e,0,2),n.append(r),n.append("0000"),n.appendChars(e,2,3);break;case 3:n.appendChars(e,0,3),n.append("00000"),n.appendChars(e,3,2);break;case 4:n.appendChars(e,0,4),n.append("00000"),n.append(e[4]);break;default:n.appendChars(e,0,5),n.append("0000"),n.append(r)}return t.length>=8&&n.append(t.charAt(7)),n.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}(f.a),v=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},w=function(t){function e(e){var n=t.call(this)||this,i=null==e?null:e.get(o.a.POSSIBLE_FORMATS),a=[];return null!=i&&(i.indexOf(r.a.EAN_13)>-1?a.push(new l.a):i.indexOf(r.a.UPC_A)>-1&&a.push(new M),i.indexOf(r.a.EAN_8)>-1&&a.push(new d),i.indexOf(r.a.UPC_E)>-1&&a.push(new m)),0===a.length&&(a.push(new l.a),a.push(new d),a.push(new m)),n.readers=a,n}return v(e,t),e.prototype.decodeRow=function(t,e,n){var a,s;try{for(var c=y(this.readers),p=c.next();!p.done;p=c.next()){var l=p.value;try{var f=l.decodeRow(t,e,n),A=f.getBarcodeFormat()===r.a.EAN_13&&"0"===f.getText().charAt(0),h=null==n?null:n.get(o.a.POSSIBLE_FORMATS),d=null==h||h.includes(r.a.UPC_A);if(A&&d){var b=f.getRawBytes(),M=new u.a(f.getText().substring(1),b,b.length,f.getResultPoints(),r.a.UPC_A);return M.putAllMetadata(f.getResultMetadata()),M}return f}catch(O){}}}catch(g){a={error:g}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}throw new i.a},e.prototype.reset=function(){var t,e;try{for(var n=y(this.readers),r=n.next();!r.done;r=n.next()){r.value.reset()}}catch(o){t={error:o}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e}(p.a),q=n(455),_=n(356),B=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(t){function e(e){var n=t.call(this)||this;n.readers=[];var i=e?e.get(o.a.POSSIBLE_FORMATS):null,u=e&&void 0!==e.get(o.a.ASSUME_CODE_39_CHECK_DIGIT);return i&&((i.includes(r.a.EAN_13)||i.includes(r.a.UPC_A)||i.includes(r.a.EAN_8)||i.includes(r.a.UPC_E))&&n.readers.push(new w(e)),i.includes(r.a.CODE_39)&&n.readers.push(new s.a(u)),i.includes(r.a.CODE_128)&&n.readers.push(new a.a),i.includes(r.a.ITF)&&n.readers.push(new c.a),i.includes(r.a.RSS_14)&&n.readers.push(new _.a),i.includes(r.a.RSS_EXPANDED)&&(console.warn("RSS Expanded reader IS NOT ready for production yet! use at your own risk."),n.readers.push(new q.a))),0===n.readers.length&&(n.readers.push(new w(e)),n.readers.push(new s.a),n.readers.push(new w(e)),n.readers.push(new a.a),n.readers.push(new c.a),n.readers.push(new _.a)),n}return B(e,t),e.prototype.decodeRow=function(t,e,n){for(var r=0;r=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=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 a(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,n){for(var r=0;rr&&(r=e[o],n=o);t[n]++},e.decrement=function(t,e){for(var n=0,r=e[0],o=1;o=e.MIN_FINDER_PATTERN_RATIO&&i<=e.MAX_FINDER_PATTERN_RATIO){var a=Number.MAX_SAFE_INTEGER,c=Number.MIN_SAFE_INTEGER;try{for(var u=s(t),p=u.next();!p.done;p=u.next()){var l=p.value;l>c&&(c=l),l1&&void 0!==arguments[1]?arguments[1]:{},n=e.htmlProps,r=void 0===n?c:n,i=e.includeAria,s=void 0===i||i,u={},p={};return a()(t,(function(t,e){var n=s&&(/^aria-.*$/.test(e)||"role"===e);(o()(r,e)||n?u:p)[e]=t})),[u,p]}},function(t,e,n){"use strict";var r=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}();e.a=r},function(t,e,n){"use strict";var r=n(440),o=function(){function t(){}return t.setGridSampler=function(e){t.gridSampler=e},t.getInstance=function(){return t.gridSampler},t.gridSampler=new r.a,t}();e.a=o},function(t,e,n){var r=n(849);t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";var r=n(70),o=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.kind="UnsupportedOperationException",e}(r.a);e.a=i},function(t,e,n){var r=n(822),o=n(184),i=n(1530),a=n(74),s=n(331);t.exports=function(t,e,n){var c=a(t)?r:i;return n&&s(t,e,n)&&(e=void 0),c(t,o(e,3))}},function(t,e,n){var r=n(414),o=n(206),i=n(411),a=n(74),s=n(150),c=n(412),u=n(328),p=n(572),l=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||c(t)||p(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(u(t))return!r(t).length;for(var n in t)if(l.call(t,n))return!1;return!0}},function(t,e,n){"use strict";n.d(e,"c",(function(){return q})),n.d(e,"d",(function(){return _})),n.d(e,"a",(function(){return B})),n.d(e,"b",(function(){return C}));var r=n(49),o=n.n(r),i=(n(159),n(604)),a=n.n(i),s=n(74),c=n.n(s),u=n(341),p=n.n(u),l=n(209),f=n.n(l),A=n(218),h=n.n(A),d=n(337),b=n.n(d),M=n(916),O=n.n(M),g=n(46),z=n.n(g),m=n(15),v=n.n(m),y=n(0),w=n.n(y);function q(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("function"!==typeof t&&"string"!==typeof t)throw new Error("createShorthand() Component must be a string or function.");if(z()(n)||O()(n))return null;var i=b()(n),s=h()(n),u=f()(n),l=Object(y.isValidElement)(n),A=p()(n),d=i||s||c()(n);if(!u&&!l&&!A&&!d)return null;var M=r.defaultProps,g=void 0===M?{}:M,m=l&&n.props||A&&n||d&&e(n),q=r.overrideProps,_=void 0===q?{}:q;_=f()(_)?_(o()({},g,m)):_;var B=o()({},g,m,_);if(g.className||_.className||m.className){var C=v()(g.className,_.className,m.className);B.className=a()(C.split(" ")).join(" ")}if((g.style||_.style||m.style)&&(B.style=o()({},g.style,m.style,_.style)),z()(B.key)){var S=B.childKey,E=r.autoGenerateKey,R=void 0===E||E;z()(S)?R&&(i||s)&&(B.key=n):(B.key="function"===typeof S?S(B):S,delete B.childKey)}return l?Object(y.cloneElement)(n,B):d||A?w.a.createElement(t,B):u?n(t,B,B.children):void 0}function _(t,e){if("function"!==typeof t&&"string"!==typeof t)throw new Error("createShorthandFactory() Component must be a string or function.");return function(n,r){return q(t,e,n,r)}}q.handledProps=[];_("div",(function(t){return{children:t}})),_("iframe",(function(t){return{src:t}})),_("img",(function(t){return{src:t}}));var B=_("input",(function(t){return{type:t}})),C=_("label",(function(t){return{children:t}}));_("p",(function(t){return{children:t}}))},function(t,e,n){var r=n(158),o=n(117);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==r(t)}},function(t,e,n){"use strict";var r=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(){function t(){}return t.getRSSvalue=function(e,n,o){var i,a,s=0;try{for(var c=r(e),u=c.next();!u.done;u=c.next()){s+=u.value}}catch(O){i={error:O}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}for(var p=0,l=0,f=e.length,A=0;A=f-A-1&&(d-=t.combins(s-h-(f-A),f-A-2)),f-A-1>1){for(var b=0,M=s-h-(f-A-2);M>n;M--)b+=t.combins(s-h-M-1,f-A-3);d-=b*(f-1-A)}else s-h>n&&d--;p+=d}s-=h}return p},t.combins=function(t,e){var n,r;t-e>e?(r=e,n=t-e):(r=t-e,n=e);for(var o=1,i=1,a=t;a>n;a--)o*=a,i<=r&&(o/=i,i++);for(;i<=r;)o/=i,i++;return o},t}();e.a=o},function(t,e,n){"use strict";var r=n(88),o=n(143);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},function(t,e,n){"use strict";var r=String;t.exports=function(t){try{return r(t)}catch(e){return"Object"}}},function(t,e,n){"use strict";var r=n(645),o=n(492).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(18),o=n(44),i=n(305),a=n(64),s=n(73),c=n(92).f,u=n(222),p=n(499),l=n(500),f=n(303),A=n(255),h=!1,d=f("meta"),b=0,M=function(t){c(t,d,{value:{objectID:"O"+b++,weakData:{}}})},O=t.exports={enable:function(){O.enable=function(){},h=!0;var t=u.f,e=o([].splice),n={};n[d]=1,t(n).length&&(u.f=function(n){for(var r=t(n),o=0,i=r.length;o=this.height||this.rightInit>=this.width)throw new i.a}return t.prototype.detect=function(){for(var t=this.leftInit,e=this.rightInit,n=this.upInit,r=this.downInit,o=!1,a=!0,s=!1,c=!1,u=!1,p=!1,l=!1,f=this.width,A=this.height;a;){a=!1;for(var h=!0;(h||!c)&&e=f){o=!0;break}for(var d=!0;(d||!u)&&r=A){o=!0;break}for(var b=!0;(b||!p)&&t>=0;)(b=this.containsBlackPoint(n,r,t,!1))?(t--,a=!0,p=!0):p||t--;if(t<0){o=!0;break}for(var M=!0;(M||!l)&&n>=0;)(M=this.containsBlackPoint(t,e,n,!0))?(n--,a=!0,l=!0):l||n--;if(n<0){o=!0;break}a&&(s=!0)}if(!o&&s){for(var O=e-t,g=null,z=1;null===g&&z=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},c=function(t){function e(){var e=t.call(this)||this;return e.decodeMiddleCounters=Int32Array.from([0,0,0,0]),e}return a(e,t),e.prototype.decodeMiddle=function(t,n,r){var i,a,c,u,p=this.decodeMiddleCounters;p[0]=0,p[1]=0,p[2]=0,p[3]=0;for(var l=t.getSize(),f=n[1],A=0,h=0;h<6&&f=10&&(A|=1<<5-h)}r=e.determineFirstDigit(r,A),f=o.a.findGuardPattern(t,f,!0,o.a.MIDDLE_PATTERN,new Int32Array(o.a.MIDDLE_PATTERN.length).fill(0))[1];for(h=0;h<6&&f>\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[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(){function t(){}return t.detectMultiple=function(e,n,r){var o=e.getBlackMatrix(),i=t.detect(r,o);return i.length||((o=o.clone()).rotate180(),i=t.detect(r,o)),new h(o,i)},t.detect=function(e,n){for(var r,o,i=new Array,a=0,s=0,c=!1;a0;){if(null==(h=t.findGuardPattern(e,i,--o,r,!1,a,u))){o++;break}d=h}s[0]=new l.a(d[0],o),s[1]=new l.a(d[1],o),c=!0;break}}var p=o+1;if(c){for(var f=0,h=Int32Array.from([Math.trunc(s[0].getX()),Math.trunc(s[1].getX())]);pt.SKIPPED_ROW_COUNT_MAX)break;f++}}p-=f+1,s[2]=new l.a(h[0],p),s[3]=new l.a(h[1],p)}return p-o0&&u++l?p-l:l-p;if(f>n)return 1/0;c+=f}return c/o},t.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),t.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),t.MAX_AVG_VARIANCE=.42,t.MAX_INDIVIDUAL_VARIANCE=.8,t.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),t.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),t.MAX_PIXEL_DRIFT=3,t.MAX_PATTERN_DRIFT=5,t.SKIPPED_ROW_COUNT_MAX=25,t.ROW_STEP=5,t.BARCODE_MIN_HEIGHT=10,t}(),M=n(54),O=n(454),g=function(){function t(e,n,r,o,i){e instanceof t?this.constructor_2(e):this.constructor_1(e,n,r,o,i)}return t.prototype.constructor_1=function(t,e,n,r,o){var i=null==e||null==n,s=null==r||null==o;if(i&&s)throw new a.a;i?(e=new l.a(0,r.getY()),n=new l.a(0,o.getY())):s&&(r=new l.a(t.getWidth()-1,e.getY()),o=new l.a(t.getWidth()-1,n.getY())),this.image=t,this.topLeft=e,this.bottomLeft=n,this.topRight=r,this.bottomRight=o,this.minX=Math.trunc(Math.min(e.getX(),n.getX())),this.maxX=Math.trunc(Math.max(r.getX(),o.getX())),this.minY=Math.trunc(Math.min(e.getY(),r.getY())),this.maxY=Math.trunc(Math.max(n.getY(),o.getY()))},t.prototype.constructor_2=function(t){this.image=t.image,this.topLeft=t.getTopLeft(),this.bottomLeft=t.getBottomLeft(),this.topRight=t.getTopRight(),this.bottomRight=t.getBottomRight(),this.minX=t.getMinX(),this.maxX=t.getMaxX(),this.minY=t.getMinY(),this.maxY=t.getMaxY()},t.merge=function(e,n){return null==e?n:null==n?e:new t(e.image,e.topLeft,e.bottomLeft,n.topRight,n.bottomRight)},t.prototype.addMissingRows=function(e,n,r){var o=this.topLeft,i=this.bottomLeft,a=this.topRight,s=this.bottomRight;if(e>0){var c=r?this.topLeft:this.topRight,u=Math.trunc(c.getY()-e);u<0&&(u=0);var p=new l.a(c.getX(),u);r?o=p:a=p}if(n>0){var f=r?this.bottomLeft:this.bottomRight,A=Math.trunc(f.getY()+n);A>=this.image.getHeight()&&(A=this.image.getHeight()-1);var h=new l.a(f.getX(),A);r?i=h:s=h}return new t(this.image,o,i,a,s)},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}(),z=function(){function t(t,e,n,r){this.columnCount=t,this.errorCorrectionLevel=r,this.rowCountUpperPart=e,this.rowCountLowerPart=n,this.rowCount=e+n}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}(),m=function(){function t(){this.buffer=""}return t.form=function(t,e){var n=-1;return t.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,(function(t,r,o,i,a,s){if("%%"===t)return"%";if(void 0!==e[++n]){t=i?parseInt(i.substr(1)):void 0;var c,u=a?parseInt(a.substr(1)):void 0;switch(s){case"s":c=e[n];break;case"c":c=e[n][0];break;case"f":c=parseFloat(e[n]).toFixed(t);break;case"p":c=parseFloat(e[n]).toPrecision(t);break;case"e":c=parseFloat(e[n]).toExponential(t);break;case"x":c=parseInt(e[n]).toString(u||16);break;case"d":c=parseFloat(parseInt(e[n],u||10).toPrecision(t)).toFixed(0)}c="object"===typeof c?JSON.stringify(c):(+c).toString(u);for(var p=parseInt(o),l=o&&o[0]+""==="0"?"0":" ";c.length=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},y=function(){function t(t){this.boundingBox=new g(t),this.codewords=new Array(t.getMaxY()-t.getMinY()+1)}return t.prototype.getCodewordNearby=function(e){var n=this.getCodeword(e);if(null!=n)return n;for(var r=1;r=0&&null!=(n=this.codewords[o]))return n;if((o=this.imageRowToCodewordIndex(e)+r)=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},q=function(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return 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,n=-1,r=new Array,o=function(t,e){var o=function(){return t},i=function(){return e};i()>n?(n=i(),(r=[]).push(o())):i()===n&&r.push(o())};try{for(var i=w(this.values.entries()),a=i.next();!a.done;a=i.next()){var s=q(a.value,2);o(s[0],s[1])}}catch(u){t={error:u}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}return c.a.toIntArray(r)},t.prototype.getConfidence=function(t){return this.values.get(t)},t}(),B=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),C=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},S=function(t){function e(e,n){var r=t.call(this,e)||this;return r._isLeft=n,r}return B(e,t),e.prototype.setRowNumbers=function(){var t,e;try{for(var n=C(this.getCodewords()),r=n.next();!r.done;r=n.next()){var o=r.value;null!=o&&o.setRowNumberAsRowIndicatorColumn()}}catch(i){t={error:i}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}},e.prototype.adjustCompleteIndicatorColumnRowNumbers=function(t){var e=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(e,t);for(var n=this.getBoundingBox(),r=this._isLeft?n.getTopLeft():n.getTopRight(),o=this._isLeft?n.getBottomLeft():n.getBottomRight(),i=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.imageRowToCodewordIndex(Math.trunc(o.getY())),s=-1,c=1,u=0,p=i;p=t.getRowCount()||f>p)e[p]=null;else{for(var A=void 0,h=(A=c>2?(c-2)*f:f)>=p,d=1;d<=A&&!h;d++)h=null!=e[p-d];h?e[p]=null:(s=l.getRowNumber(),u=1)}}},e.prototype.getRowHeights=function(){var t,e,n=this.getBarcodeMetadata();if(null==n)return null;this.adjustIncompleteIndicatorColumnRowNumbers(n);var r=new Int32Array(n.getRowCount());try{for(var o=C(this.getCodewords()),i=o.next();!i.done;i=o.next()){var a=i.value;if(null!=a){var s=a.getRowNumber();if(s>=r.length)continue;r[s]++}}}catch(c){t={error:c}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return r},e.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(t){for(var e=this.getBoundingBox(),n=this._isLeft?e.getTopLeft():e.getTopRight(),r=this._isLeft?e.getBottomLeft():e.getBottomRight(),o=this.imageRowToCodewordIndex(Math.trunc(n.getY())),i=this.imageRowToCodewordIndex(Math.trunc(r.getY())),a=this.getCodewords(),s=-1,c=1,u=0,p=o;p=t.getRowCount()?a[p]=null:(s=l.getRowNumber(),u=1)}},e.prototype.getBarcodeMetadata=function(){var t,e,n=this.getCodewords(),r=new _,o=new _,i=new _,a=new _;try{for(var s=C(n),u=s.next();!u.done;u=s.next()){var p=u.value;if(null!=p){p.setRowNumberAsRowIndicatorColumn();var l=p.getValue()%30,f=p.getRowNumber();switch(this._isLeft||(f+=2),f%3){case 0:o.setValue(3*l+1);break;case 1:a.setValue(l/3),i.setValue(l%3);break;case 2:r.setValue(l+1)}}}}catch(h){t={error:h}}finally{try{u&&!u.done&&(e=s.return)&&e.call(s)}finally{if(t)throw t.error}}if(0===r.getValue().length||0===o.getValue().length||0===i.getValue().length||0===a.getValue().length||r.getValue()[0]<1||o.getValue()[0]+i.getValue()[0]c.a.MAX_ROWS_IN_BARCODE)return null;var A=new z(r.getValue()[0],o.getValue()[0],i.getValue()[0],a.getValue()[0]);return this.removeIncorrectCodewords(n,A),A},e.prototype.removeIncorrectCodewords=function(t,e){for(var n=0;ne.getRowCount())t[n]=null;else switch(this._isLeft||(i+=2),i%3){case 0:3*o+1!==e.getRowCountUpperPart()&&(t[n]=null);break;case 1:Math.trunc(o/3)===e.getErrorCorrectionLevel()&&o%3===e.getRowCountLowerPart()||(t[n]=null);break;case 2:o+1!==e.getColumnCount()&&(t[n]=null)}}}},e.prototype.isLeft=function(){return this._isLeft},e.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+t.prototype.toString.call(this)},e}(y),E=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},R=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=c.a.MAX_CODEWORDS_IN_BARCODE;do{t=e,e=this.adjustRowNumbersAndGetCount()}while(e>0&&e0&&i0&&(u[0]=r[n-1],u[4]=s[n-1],u[5]=c[n-1]),n>1&&(u[8]=r[n-2],u[10]=s[n-2],u[11]=c[n-2]),n>=1;r=1&n,t.RATIOS_TABLE[e]||(t.RATIOS_TABLE[e]=new Array(c.a.BARS_IN_MODULE)),t.RATIOS_TABLE[e][c.a.BARS_IN_MODULE-o-1]=Math.fround(i/c.a.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},t.getDecodedValue=function(e){var n=t.getDecodedCodewordValue(t.sampleBitCounts(e));return-1!==n?n:t.getClosestDecodedValue(e)},t.sampleBitCounts=function(t){for(var e=M.a.sum(t),n=new Int32Array(c.a.BARS_IN_MODULE),r=0,o=0,i=0;i1)for(var o=0;o=i)break}u=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},k=function(){function t(){}return t.decode=function(e,n,r,o,i,s,c){for(var u,p=new g(e,n,r,o,i),l=null,f=null,A=!0;;A=!1){if(null!=n&&(l=t.getRowIndicatorColumn(e,p,n,!0,s,c)),null!=o&&(f=t.getRowIndicatorColumn(e,p,o,!1,s,c)),null==(u=t.merge(l,f)))throw a.a.getNotFoundInstance();var h=u.getBoundingBox();if(!A||null==h||!(h.getMinY()p.getMaxY()))break;p=h}u.setBoundingBox(p);var d=u.getBarcodeColumnCount()+1;u.setDetectionResultColumn(0,l),u.setDetectionResultColumn(d,f);for(var b=null!=l,M=1;M<=d;M++){var O=b?M:d-M;if(void 0===u.getDetectionResultColumn(O)){var z=void 0;z=0===O||O===d?new S(p,0===O):new y(p),u.setDetectionResultColumn(O,z);for(var m=-1,v=m,w=p.getMinY();w<=p.getMaxY();w++){if((m=t.getStartColumn(u,O,w,b))<0||m>p.getMaxX()){if(-1===v)continue;m=v}var q=t.detectCodeword(e,p.getMinX(),p.getMaxX(),b,m,w,s,c);null!=q&&(z.setCodeword(w,q),v=m,s=Math.min(s,q.getWidth()),c=Math.max(c,q.getWidth()))}}}return t.createDecoderResult(u)},t.merge=function(e,n){if(null==e&&null==n)return null;var r=t.getBarcodeMetadata(e,n);if(null==r)return null;var o=g.merge(t.adjustBoundingBox(e),t.adjustBoundingBox(n));return new R(r,o)},t.adjustBoundingBox=function(e){var n,r;if(null==e)return null;var o=e.getRowHeights();if(null==o)return null;var i=t.getMax(o),a=0;try{for(var s=x(o),c=s.next();!c.done;c=s.next()){var u=c.value;if(a+=i-u,u>0)break}}catch(A){n={error:A}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}for(var p=e.getCodewords(),l=0;a>0&&null==p[l];l++)a--;var f=0;for(l=o.length-1;l>=0&&(f+=i-o[l],!(o[l]>0));l--);for(l=p.length-1;f>0&&null==p[l];l--)f--;return e.getBoundingBox().addMissingRows(a,f,e.isLeft())},t.getMax=function(t){var e,n,r=-1;try{for(var o=x(t),i=o.next();!i.done;i=o.next()){var a=i.value;r=Math.max(r,a)}}catch(s){e={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r},t.getBarcodeMetadata=function(t,e){var n,r;return null==t||null==(n=t.getBarcodeMetadata())?null==e?null:e.getBarcodeMetadata():null==e||null==(r=e.getBarcodeMetadata())?n:n.getColumnCount()!==r.getColumnCount()&&n.getErrorCorrectionLevel()!==r.getErrorCorrectionLevel()&&n.getRowCount()!==r.getRowCount()?null:n},t.getRowIndicatorColumn=function(e,n,r,o,i,a){for(var s=new S(n,o),c=0;c<2;c++)for(var u=0===c?1:-1,p=Math.trunc(Math.trunc(r.getX())),l=Math.trunc(Math.trunc(r.getY()));l<=n.getMaxY()&&l>=n.getMinY();l+=u){var f=t.detectCodeword(e,0,e.getWidth(),o,p,l,i,a);null!=f&&(s.setCodeword(l,f),p=o?f.getStartX():f.getEndX())}return s},t.adjustCodewordCount=function(e,n){var r=n[0][1],o=r.getValue(),i=e.getBarcodeColumnCount()*e.getBarcodeRowCount()-t.getNumberOfECCodeWords(e.getBarcodeECLevel());if(0===o.length){if(i<1||i>c.a.MAX_CODEWORDS_IN_BARCODE)throw a.a.getNotFoundInstance();r.setValue(i)}else o[0]!==i&&r.setValue(i)},t.createDecoderResult=function(e){var n=t.createBarcodeMatrix(e);t.adjustCodewordCount(e,n);for(var r=new Array,o=new Int32Array(e.getBarcodeRowCount()*e.getBarcodeColumnCount()),i=[],a=new Array,s=0;s0;){for(var u=0;u=0){if(d>=i.length)continue;i[d][c].setValue(h.getValue())}}}}catch(b){r={error:b}}finally{try{A&&!A.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}c++}}catch(M){e={error:M}}finally{try{p&&!p.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return i},t.isValidBarcodeColumn=function(t,e){return e>=0&&e<=t.getBarcodeColumnCount()+1},t.getStartColumn=function(e,n,r,o){var i,a,s=o?1:-1,c=null;if(t.isValidBarcodeColumn(e,n-s)&&(c=e.getDetectionResultColumn(n-s).getCodeword(r)),null!=c)return o?c.getEndX():c.getStartX();if(null!=(c=e.getDetectionResultColumn(n).getCodewordNearby(r)))return o?c.getStartX():c.getEndX();if(t.isValidBarcodeColumn(e,n-s)&&(c=e.getDetectionResultColumn(n-s).getCodewordNearby(r)),null!=c)return o?c.getEndX():c.getStartX();for(var u=0;t.isValidBarcodeColumn(e,n-s);){n-=s;try{for(var p=(i=void 0,x(e.getDetectionResultColumn(n).getCodewords())),l=p.next();!l.done;l=p.next()){var f=l.value;if(null!=f)return(o?f.getEndX():f.getStartX())+s*u*(f.getEndX()-f.getStartX())}}catch(A){i={error:A}}finally{try{l&&!l.done&&(a=p.return)&&a.call(p)}finally{if(i)throw i.error}}u++}return o?e.getBoundingBox().getMinX():e.getBoundingBox().getMaxX()},t.detectCodeword=function(e,n,r,o,i,a,s,u){i=t.adjustCodewordStartColumn(e,n,r,o,i,a);var p,l=t.getModuleBitCount(e,n,r,o,i,a);if(null==l)return null;var f=M.a.sum(l);if(o)p=i+f;else{for(var A=0;A=e)&&c=n:st.CODEWORD_SKEW_SIZE)return i;s+=c}c=-c,o=!o}return s},t.checkCodewordSkew=function(e,n,r){return n-t.CODEWORD_SKEW_SIZE<=e&&e<=r+t.CODEWORD_SKEW_SIZE},t.decodeCodewords=function(e,n,r){if(0===e.length)throw i.a.getFormatInstance();var o=1<r/2+t.MAX_ERRORS||r<0||r>t.MAX_EC_CODEWORDS)throw o.a.getChecksumInstance();return t.errorCorrection.decode(e,r,n)},t.verifyCodewordCount=function(t,e){if(t.length<4)throw i.a.getFormatInstance();var n=t[0];if(n>t.length)throw i.a.getFormatInstance();if(0===n){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 m,n=0;n=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},P=function(){function t(){}return t.prototype.decode=function(e,n){void 0===n&&(n=null);var r=t.decode(e,n,!1);if(null==r||0===r.length||null==r[0])throw a.a.getNotFoundInstance();return r[0]},t.prototype.decodeMultiple=function(e,n){void 0===n&&(n=null);try{return t.decode(e,n,!0)}catch(r){if(r instanceof i.a||r instanceof o.a)throw a.a.getNotFoundInstance();throw r}},t.decode=function(e,n,o){var i,a,c=new Array,u=b.detectMultiple(e,n,o);try{for(var l=I(u.getPoints()),f=l.next();!f.done;f=l.next()){var A=f.value,h=k.decode(u.getBits(),A[4],A[5],A[6],A[7],t.getMinCodewordWidth(A),t.getMaxCodewordWidth(A)),d=new s.a(h.getText(),h.getRawBytes(),void 0,A,r.a.PDF_417);d.putMetadata(p.a.ERROR_CORRECTION_LEVEL,h.getECLevel());var M=h.getOther();null!=M&&d.putMetadata(p.a.PDF417_EXTRA_METADATA,M),c.push(d)}}catch(O){i={error:O}}finally{try{f&&!f.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}return c.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?u.a.MAX_VALUE:Math.trunc(Math.abs(t.getX()-e.getX()))},t.getMaxCodewordWidth=function(e){return Math.floor(Math.max(Math.max(t.getMaxWidth(e[0],e[4]),t.getMaxWidth(e[6],e[2])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN),Math.max(t.getMaxWidth(e[1],e[5]),t.getMaxWidth(e[7],e[3])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN)))},t.getMinCodewordWidth=function(e){return Math.floor(Math.min(Math.min(t.getMinWidth(e[0],e[4]),t.getMinWidth(e[6],e[2])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN),Math.min(t.getMinWidth(e[1],e[5]),t.getMinWidth(e[7],e[3])*c.a.MODULES_IN_CODEWORD/c.a.MODULES_IN_STOP_PATTERN)))},t.prototype.reset=function(){},t}();e.a=P},function(t,e,n){"use strict";var r=n(36),o=n(83),i=n(59),a=n(20),s=n(69),c=n(80),u=n(75),p=n(90),l=n(173),f=n(152),A=n(283),h=n(351),d=n(28),b=function(){function t(t){var e=t.getHeight();if(e<21||1!==(3&e))throw new d.a;this.bitMatrix=t}return t.prototype.readFormatInformation=function(){if(null!==this.parsedFormatInfo&&void 0!==this.parsedFormatInfo)return this.parsedFormatInfo;for(var t=0,e=0;e<6;e++)t=this.copyBit(e,8,t);t=this.copyBit(7,8,t),t=this.copyBit(8,8,t),t=this.copyBit(8,7,t);for(var n=5;n>=0;n--)t=this.copyBit(8,n,t);var r=this.bitMatrix.getHeight(),o=0,i=r-7;for(n=r-1;n>=i;n--)o=this.copyBit(8,n,o);for(e=r-8;e=0;o--)for(var i=t-9;i>=r;i--)n=this.copyBit(i,o,n);var a=f.a.decodeVersionInformation(n);if(null!==a&&a.getDimensionForVersion()===t)return this.parsedVersion=a,a;n=0;for(i=5;i>=0;i--)for(o=t-9;o>=r;o--)n=this.copyBit(i,o,n);if(null!==(a=f.a.decodeVersionInformation(n))&&a.getDimensionForVersion()===t)return this.parsedVersion=a,a;throw new d.a},t.prototype.copyBit=function(t,e,n){return(this.isMirror?this.bitMatrix.get(e,t):this.bitMatrix.get(t,e))?n<<1|1:n<<1},t.prototype.readCodewords=function(){var t=this.readFormatInformation(),e=this.readVersion(),n=h.a.values.get(t.getDataMask()),r=this.bitMatrix.getHeight();n.unmaskBitMatrix(this.bitMatrix,r);for(var o=e.buildFunctionPattern(),i=!0,a=new Uint8Array(e.getTotalCodewords()),s=0,c=0,u=0,p=r-1;p>0;p-=2){6===p&&p--;for(var l=0;l=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},g=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,n,r){var o,i,a,s;if(e.length!==n.getTotalCodewords())throw new M.a;var c=n.getECBlocksForLevel(r),u=0,p=c.getECBlocks();try{for(var l=O(p),f=l.next();!f.done;f=l.next()){u+=(g=f.value).getCount()}}catch(E){o={error:E}}finally{try{f&&!f.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}var A=new Array(u),h=0;try{for(var d=O(p),b=d.next();!b.done;b=d.next())for(var g=b.value,z=0;z=0;){if(A[w].codewords.length===y)break;w--}w++;var q=y-c.getECCodewordsPerBlock(),_=0;for(z=0;z=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},y=function(){function t(){this.rsDecoder=new l.a(p.a.QR_CODE_FIELD_256)}return t.prototype.decodeBooleanArray=function(t,e){return this.decodeBitMatrix(o.a.parseFromBooleanArray(t),e)},t.prototype.decodeBitMatrix=function(t,e){var n=new b(t),r=null;try{return this.decodeBitMatrixParser(n,e)}catch(i){r=i}try{n.remask(),n.setMirror(!0),n.readVersion(),n.readFormatInformation(),n.mirror();var o=this.decodeBitMatrixParser(n,e);return o.setOther(new m(!0)),o}catch(i){if(null!==r)throw r;throw i}},t.prototype.decodeBitMatrixParser=function(t,e){var n,r,o,i,a=t.readVersion(),s=t.readFormatInformation().getErrorCorrectionLevel(),c=t.readCodewords(),u=g.getDataBlocks(c,a,s),p=0;try{for(var l=v(u),f=l.next();!f.done;f=l.next()){p+=(M=f.value).getNumDataCodewords()}}catch(w){n={error:w}}finally{try{f&&!f.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}var A=new Uint8Array(p),h=0;try{for(var d=v(u),b=d.next();!b.done;b=d.next()){var M,O=(M=b.value).getCodewords(),m=M.getNumDataCodewords();this.correctErrors(O,m);for(var y=0;y=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},W=function(){function t(t,e,n,r,o,i,a){this.image=t,this.startX=e,this.startY=n,this.width=r,this.height=o,this.moduleSize=i,this.resultPointCallback=a,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return t.prototype.find=function(){for(var t=this.startX,e=this.height,n=t+this.width,r=this.startY+e/2,o=new Int32Array(3),i=this.image,s=0;s=n)return!1;return!0},t.prototype.crossCheckVertical=function(e,n,r,o){var i=this.image,a=i.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;for(var c=e;c>=0&&i.get(n,c)&&s[1]<=r;)s[1]++,c--;if(c<0||s[1]>r)return NaN;for(;c>=0&&!i.get(n,c)&&s[0]<=r;)s[0]++,c--;if(s[0]>r)return NaN;for(c=e+1;cr)return NaN;for(;cr)return NaN;var u=s[0]+s[1]+s[2];return 5*Math.abs(u-o)>=2*o?NaN:this.foundPatternCross(s)?t.centerFromEnd(s,c):NaN},t.prototype.handlePossibleCenter=function(e,n,r){var o,i,a=e[0]+e[1]+e[2],s=t.centerFromEnd(e,r),c=this.crossCheckVertical(n,s,2*e[1],a);if(!isNaN(c)){var u=(e[0]+e[1]+e[2])/3;try{for(var p=R(this.possibleCenters),l=p.next();!l.done;l=p.next()){var f=l.value;if(f.aboutEquals(u,c,s))return f.combineEstimate(c,s,u)}}catch(h){o={error:h}}finally{try{l&&!l.done&&(i=p.return)&&i.call(p)}finally{if(o)throw o.error}}var A=new E(s,c,u);this.possibleCenters.push(A),null!==this.resultPointCallback&&void 0!==this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(A)}return null},t}(),T=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),L=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.estimatedModuleSize=r,i.count=o,void 0===o&&(i.count=1),i}return T(e,t),e.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},e.prototype.getCount=function(){return this.count},e.prototype.aboutEquals=function(t,e,n){if(Math.abs(e-this.getY())<=t&&Math.abs(n-this.getX())<=t){var r=Math.abs(t-this.estimatedModuleSize);return r<=1||r<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,n,r){var o=this.count+1;return new e((this.count*this.getX()+n)/o,(this.count*this.getY()+t)/o,(this.count*this.estimatedModuleSize+r)/o,o)},e}(C.a),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}(),x=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},k=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 n=null!==e&&void 0!==e&&void 0!==e.get(i.a.TRY_HARDER),r=null!==e&&void 0!==e&&void 0!==e.get(i.a.PURE_BARCODE),o=this.image,a=o.getHeight(),s=o.getWidth(),c=Math.floor(3*a/(4*t.MAX_MODULES));(cp[2]&&(l+=h-p[2]-c,A=s-1)}f=0,p[0]=0,p[1]=0,p[2]=0,p[3]=0,p[4]=0}else p[0]=p[2],p[1]=p[3],p[2]=p[4],p[3]=1,p[4]=0,f=3;else p[++f]++;else p[f]++;if(t.foundPatternCross(p))!0===this.handlePossibleCenter(p,l,s,r)&&(c=p[0],this.hasSkipped&&(u=this.haveMultiplyConfirmedCenters()))}var d=this.selectBestPatterns();return C.a.orderBestPatterns(d),new N(d)},t.centerFromEnd=function(t,e){return e-t[4]-t[3]-t[2]/2},t.foundPatternCross=function(t){for(var e=0,n=0;n<5;n++){var r=t[n];if(0===r)return!1;e+=r}if(e<7)return!1;var o=e/7,i=o/2;return Math.abs(o-t[0])=a&&n>=a&&s.get(n-a,e-a);)i[2]++,a++;if(e=a&&n>=a&&!s.get(n-a,e-a)&&i[1]<=r;)i[1]++,a++;if(er)return!1;for(;e>=a&&n>=a&&s.get(n-a,e-a)&&i[0]<=r;)i[0]++,a++;if(i[0]>r)return!1;var c=s.getHeight(),u=s.getWidth();for(a=1;e+a=c||n+a>=u)return!1;for(;e+a=c||n+a>=u||i[3]>=r)return!1;for(;e+a=r)return!1;var p=i[0]+i[1]+i[2]+i[3]+i[4];return Math.abs(p-o)<2*o&&t.foundPatternCross(i)},t.prototype.crossCheckVertical=function(e,n,r,o){for(var i=this.image,a=i.getHeight(),s=this.getCrossCheckStateCount(),c=e;c>=0&&i.get(n,c);)s[2]++,c--;if(c<0)return NaN;for(;c>=0&&!i.get(n,c)&&s[1]<=r;)s[1]++,c--;if(c<0||s[1]>r)return NaN;for(;c>=0&&i.get(n,c)&&s[0]<=r;)s[0]++,c--;if(s[0]>r)return NaN;for(c=e+1;c=r)return NaN;for(;c=r)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-o)>=2*o?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,c):NaN},t.prototype.crossCheckHorizontal=function(e,n,r,o){for(var i=this.image,a=i.getWidth(),s=this.getCrossCheckStateCount(),c=e;c>=0&&i.get(c,n);)s[2]++,c--;if(c<0)return NaN;for(;c>=0&&!i.get(c,n)&&s[1]<=r;)s[1]++,c--;if(c<0||s[1]>r)return NaN;for(;c>=0&&i.get(c,n)&&s[0]<=r;)s[0]++,c--;if(s[0]>r)return NaN;for(c=e+1;c=r)return NaN;for(;c=r)return NaN;var u=s[0]+s[1]+s[2]+s[3]+s[4];return 5*Math.abs(u-o)>=o?NaN:t.foundPatternCross(s)?t.centerFromEnd(s,c):NaN},t.prototype.handlePossibleCenter=function(e,n,r,o){var i=e[0]+e[1]+e[2]+e[3]+e[4],a=t.centerFromEnd(e,r),s=this.crossCheckVertical(n,Math.floor(a),e[2],i);if(!isNaN(s)&&(a=this.crossCheckHorizontal(Math.floor(a),Math.floor(s),e[2],i),!isNaN(a)&&(!o||this.crossCheckDiagonal(Math.floor(s),Math.floor(a),e[2],i)))){for(var c=i/7,u=!1,p=this.possibleCenters,l=0,f=p.length;l=t.CENTER_QUORUM){if(null!=r)return this.hasSkipped=!0,Math.floor((Math.abs(r.getX()-a.getX())-Math.abs(r.getY()-a.getY()))/2);r=a}}}catch(s){e={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return 0},t.prototype.haveMultiplyConfirmedCenters=function(){var e,n,r,o,i=0,a=0,s=this.possibleCenters.length;try{for(var c=x(this.possibleCenters),u=c.next();!u.done;u=c.next()){(h=u.value).getCount()>=t.CENTER_QUORUM&&(i++,a+=h.getEstimatedModuleSize())}}catch(d){e={error:d}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}if(i<3)return!1;var p=a/s,l=0;try{for(var f=x(this.possibleCenters),A=f.next();!A.done;A=f.next()){var h=A.value;l+=Math.abs(h.getEstimatedModuleSize()-p)}}catch(b){r={error:b}}finally{try{A&&!A.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}return l<=.05*a},t.prototype.selectBestPatterns=function(){var t,e,n,r,o=this.possibleCenters.length;if(o<3)throw new a.a;var i,s=this.possibleCenters;if(o>3){var c=0,u=0;try{for(var p=x(this.possibleCenters),l=p.next();!l.done;l=p.next()){var f=l.value.getEstimatedModuleSize();c+=f,u+=f*f}}catch(g){t={error:g}}finally{try{l&&!l.done&&(e=p.return)&&e.call(p)}finally{if(t)throw t.error}}i=c/o;var A=Math.sqrt(u/o-i*i);s.sort((function(t,e){var n=Math.abs(e.getEstimatedModuleSize()-i),r=Math.abs(t.getEstimatedModuleSize()-i);return nr?1:0}));for(var h=Math.max(.2*i,A),d=0;d3;d++){var b=s[d];Math.abs(b.getEstimatedModuleSize()-i)>h&&(s.splice(d,1),d--)}}if(s.length>3){c=0;try{for(var M=x(s),O=M.next();!O.done;O=M.next()){c+=O.value.getEstimatedModuleSize()}}catch(z){n={error:z}}finally{try{O&&!O.done&&(r=M.return)&&r.call(M)}finally{if(n)throw n.error}}i=c/s.length,s.sort((function(t,e){if(e.getCount()===t.getCount()){var n=Math.abs(e.getEstimatedModuleSize()-i),r=Math.abs(t.getEstimatedModuleSize()-i);return nr?-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}(),I=function(){function t(t){this.image=t}return t.prototype.getImage=function(){return this.image},t.prototype.getResultPointCallback=function(){return this.resultPointCallback},t.prototype.detect=function(t){this.resultPointCallback=null===t||void 0===t?null:t.get(i.a.NEED_RESULT_POINT_CALLBACK);var e=new k(this.image,this.resultPointCallback).find(t);return this.processFinderPatternInfo(e)},t.prototype.processFinderPatternInfo=function(e){var n=e.getTopLeft(),r=e.getTopRight(),o=e.getBottomLeft(),i=this.calculateModuleSize(n,r,o);if(i<1)throw new a.a("No pattern found in proccess finder.");var s=t.computeDimension(n,r,o,i),c=f.a.getProvisionalVersionForDimension(s),u=c.getDimensionForVersion()-7,p=null;if(c.getAlignmentPatternCenters().length>0)for(var l=r.getX()-n.getX()+o.getX(),A=r.getY()-n.getY()+o.getY(),h=1-3/u,d=Math.floor(n.getX()+h*(l-n.getX())),b=Math.floor(n.getY()+h*(A-n.getY())),M=4;M<=16;M<<=1)try{p=this.findAlignmentInRegion(i,d,b,M);break}catch(m){if(!(m instanceof a.a))throw m}var O,g=t.createTransform(n,r,o,p,s),z=t.sampleGrid(this.image,g,s);return O=null===p?[o,n,r]:[o,n,r,p],new q.a(z,O)},t.createTransform=function(t,e,n,r,o){var i,a,s,c,u=o-3.5;return null!==r?(i=r.getX(),a=r.getY(),c=s=u-3):(i=e.getX()-t.getX()+n.getX(),a=e.getY()-t.getY()+n.getY(),s=u,c=u),B.a.quadrilateralToQuadrilateral(3.5,3.5,u,3.5,s,c,3.5,u,t.getX(),t.getY(),e.getX(),e.getY(),i,a,n.getX(),n.getY())},t.sampleGrid=function(t,e,n){return _.a.getInstance().sampleGridWithTransform(t,n,n,e)},t.computeDimension=function(t,e,n,r){var o=w.a.round(C.a.distance(t,e)/r),i=w.a.round(C.a.distance(t,n)/r),s=Math.floor((o+i)/2)+7;switch(3&s){case 0:s++;break;case 2:s--;break;case 3:throw new a.a("Dimensions could be not found.")}return s},t.prototype.calculateModuleSize=function(t,e,n){return(this.calculateModuleSizeOneWay(t,e)+this.calculateModuleSizeOneWay(t,n))/2},t.prototype.calculateModuleSizeOneWay=function(t,e){var n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY())),r=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY()));return isNaN(n)?r/7:isNaN(r)?n/7:(n+r)/14},t.prototype.sizeOfBlackWhiteBlackRunBothWays=function(t,e,n,r){var o=this.sizeOfBlackWhiteBlackRun(t,e,n,r),i=1,a=t-(n-t);a<0?(i=t/(t-a),a=0):a>=this.image.getWidth()&&(i=(this.image.getWidth()-1-t)/(a-t),a=this.image.getWidth()-1);var s=Math.floor(e-(r-e)*i);return i=1,s<0?(i=e/(e-s),s=0):s>=this.image.getHeight()&&(i=(this.image.getHeight()-1-e)/(s-e),s=this.image.getHeight()-1),a=Math.floor(t+(a-t)*i),(o+=this.sizeOfBlackWhiteBlackRun(t,e,a,s))-1},t.prototype.sizeOfBlackWhiteBlackRun=function(t,e,n,r){var o=Math.abs(r-e)>Math.abs(n-t);if(o){var i=t;t=e,e=i,i=n,n=r,r=i}for(var a=Math.abs(n-t),s=Math.abs(r-e),c=-a/2,u=t0){if(h===r)break;h+=p,c-=a}}return 2===l?w.a.distance(n+u,r,t,e):NaN},t.prototype.findAlignmentInRegion=function(t,e,n,r){var o=Math.floor(r*t),i=Math.max(0,e-o),s=Math.min(this.image.getWidth()-1,e+o);if(s-i<3*t)throw new a.a("Alignment top exceeds estimated module size.");var c=Math.max(0,n-o),u=Math.min(this.image.getHeight()-1,n+o);if(u-c<3*t)throw new a.a("Alignment bottom exceeds estimated module size.");return new W(this.image,i,c,s-i,u-c,t,this.resultPointCallback).find()},t}(),P=function(){function t(){this.decoder=new y}return t.prototype.getDecoder=function(){return this.decoder},t.prototype.decode=function(e,n){var o,a;if(void 0!==n&&null!==n&&void 0!==n.get(i.a.PURE_BARCODE)){var u=t.extractPureBits(e.getBlackMatrix());o=this.decoder.decodeBitMatrix(u,n),a=t.NO_POINTS}else{var p=new I(e.getBlackMatrix()).detect(n);o=this.decoder.decodeBitMatrix(p.getBits(),n),a=p.getPoints()}o.getOther()instanceof m&&o.getOther().applyMirroredCorrection(a);var l=new s.a(o.getText(),o.getRawBytes(),void 0,a,r.a.QR_CODE,void 0),f=o.getByteSegments();null!==f&&l.putMetadata(c.a.BYTE_SEGMENTS,f);var A=o.getECLevel();return null!==A&&l.putMetadata(c.a.ERROR_CORRECTION_LEVEL,A),o.hasStructuredAppend()&&(l.putMetadata(c.a.STRUCTURED_APPEND_SEQUENCE,o.getStructuredAppendSequenceNumber()),l.putMetadata(c.a.STRUCTURED_APPEND_PARITY,o.getStructuredAppendParity())),l},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),n=t.getBottomRightOnBit();if(null===e||null===n)throw new a.a;var r=this.moduleSize(e,t),i=e[1],s=n[1],c=e[0],u=n[0];if(c>=u||i>=s)throw new a.a;if(s-i!==u-c&&(u=c+(s-i))>=t.getWidth())throw new a.a;var p=Math.round((u-c+1)/r),l=Math.round((s-i+1)/r);if(p<=0||l<=0)throw new a.a;if(l!==p)throw new a.a;var f=Math.floor(r/2);i+=f;var A=(c+=f)+Math.floor((p-1)*r)-u;if(A>0){if(A>f)throw new a.a;c-=A}var h=i+Math.floor((l-1)*r)-s;if(h>0){if(h>f)throw new a.a;i-=h}for(var d=new o.a(p,l),b=0;b=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},d=function(){function t(t,e,n){this.ecCodewords=t,this.ecBlocks=[e],n&&this.ecBlocks.push(n)}return t.prototype.getECCodewords=function(){return this.ecCodewords},t.prototype.getECBlocks=function(){return this.ecBlocks},t}(),b=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}(),M=function(){function t(t,e,n,r,o,i){var a,s;this.versionNumber=t,this.symbolSizeRows=e,this.symbolSizeColumns=n,this.dataRegionSizeRows=r,this.dataRegionSizeColumns=o,this.ecBlocks=i;var c=0,u=i.getECCodewords(),p=i.getECBlocks();try{for(var l=h(p),f=l.next();!f.done;f=l.next()){var A=f.value;c+=A.getCount()*(A.getDataCodewords()+u)}}catch(d){a={error:d}}finally{try{f&&!f.done&&(s=l.return)&&s.call(l)}finally{if(a)throw a.error}}this.totalCodewords=c}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,n){var r,o;if(0!==(1&e)||0!==(1&n))throw new A.a;try{for(var i=h(t.VERSIONS),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.symbolSizeRows===e&&s.symbolSizeColumns===n)return s}}catch(c){r={error:c}}finally{try{a&&!a.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}throw new A.a},t.prototype.toString=function(){return""+this.versionNumber},t.buildVersions=function(){return[new t(1,10,10,8,8,new d(5,new b(1,3))),new t(2,12,12,10,10,new d(7,new b(1,5))),new t(3,14,14,12,12,new d(10,new b(1,8))),new t(4,16,16,14,14,new d(12,new b(1,12))),new t(5,18,18,16,16,new d(14,new b(1,18))),new t(6,20,20,18,18,new d(18,new b(1,22))),new t(7,22,22,20,20,new d(20,new b(1,30))),new t(8,24,24,22,22,new d(24,new b(1,36))),new t(9,26,26,24,24,new d(28,new b(1,44))),new t(10,32,32,14,14,new d(36,new b(1,62))),new t(11,36,36,16,16,new d(42,new b(1,86))),new t(12,40,40,18,18,new d(48,new b(1,114))),new t(13,44,44,20,20,new d(56,new b(1,144))),new t(14,48,48,22,22,new d(68,new b(1,174))),new t(15,52,52,24,24,new d(42,new b(2,102))),new t(16,64,64,14,14,new d(56,new b(2,140))),new t(17,72,72,16,16,new d(36,new b(4,92))),new t(18,80,80,18,18,new d(48,new b(4,114))),new t(19,88,88,20,20,new d(56,new b(4,144))),new t(20,96,96,22,22,new d(68,new b(4,174))),new t(21,104,104,24,24,new d(56,new b(6,136))),new t(22,120,120,18,18,new d(68,new b(6,175))),new t(23,132,132,20,20,new d(62,new b(8,163))),new t(24,144,144,22,22,new d(62,new b(8,156),new b(2,155))),new t(25,8,18,6,16,new d(7,new b(1,5))),new t(26,8,32,6,14,new d(11,new b(1,10))),new t(27,12,26,10,24,new d(14,new b(1,16))),new t(28,12,36,10,16,new d(18,new b(1,22))),new t(29,16,36,14,16,new d(24,new b(1,32))),new t(30,16,48,14,22,new d(28,new b(1,49)))]},t.VERSIONS=t.buildVersions(),t}(),O=n(30),g=function(){function t(e){var n=e.getHeight();if(n<8||n>144||0!==(1&n))throw new A.a;this.version=t.readVersion(e),this.mappingBitMatrix=this.extractDataRegion(e),this.readMappingMatrix=new o.a(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return t.prototype.getVersion=function(){return this.version},t.readVersion=function(t){var e=t.getHeight(),n=t.getWidth();return M.getVersionForDimensions(e,n)},t.prototype.readCodewords=function(){var t=new Int8Array(this.version.getTotalCodewords()),e=0,n=4,r=0,o=this.mappingBitMatrix.getHeight(),i=this.mappingBitMatrix.getWidth(),a=!1,s=!1,c=!1,u=!1;do{if(n!==o||0!==r||a)if(n!==o-2||0!==r||0===(3&i)||s)if(n!==o+4||2!==r||0!==(7&i)||c)if(n!==o-2||0!==r||4!==(7&i)||u){do{n=0&&!this.readMappingMatrix.get(r,n)&&(t[e++]=255&this.readUtah(n,r,o,i)),n-=2,r+=2}while(n>=0&&r=0&&r=0);n+=3,r+=1}else t[e++]=255&this.readCorner4(o,i),n-=2,r+=2,u=!0;else t[e++]=255&this.readCorner3(o,i),n-=2,r+=2,c=!0;else t[e++]=255&this.readCorner2(o,i),n-=2,r+=2,s=!0;else t[e++]=255&this.readCorner1(o,i),n-=2,r+=2,a=!0}while(n=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){function t(t,e){this.numDataCodewords=t,this.codewords=e}return t.getDataBlocks=function(e,n){var r,o,i,a,s=n.getECBlocks(),c=0,u=s.getECBlocks();try{for(var p=z(u),l=p.next();!l.done;l=p.next()){c+=(b=l.value).getCount()}}catch(R){r={error:R}}finally{try{l&&!l.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}var f=new Array(c),A=0;try{for(var h=z(u),d=h.next();!d.done;d=h.next())for(var b=d.value,M=0;M7?M-1:M;f[S].codewords[E]=e[w++]}if(w!==e.length)throw new O.a;return f},t.prototype.getNumDataCodewords=function(){return this.numDataCodewords},t.prototype.getCodewords=function(){return this.codewords},t}(),v=n(441),y=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},w=function(){function t(){this.rsDecoder=new f.a(l.a.DATA_MATRIX_FIELD_256)}return t.prototype.decode=function(t){var e,n,r=new g(t),o=r.getVersion(),i=r.readCodewords(),a=m.getDataBlocks(i,o),s=0;try{for(var c=y(a),u=c.next();!u.done;u=c.next()){s+=u.value.getNumDataCodewords()}}catch(M){e={error:M}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}for(var p=new Uint8Array(s),l=a.length,f=0;fa&&(u=a,p[0]=e,p[1]=n,p[2]=r,p[3]=o),u>s&&(u=s,p[0]=n,p[1]=r,p[2]=o,p[3]=e),u>c&&(p[0]=r,p[1]=o,p[2]=e,p[3]=n),p},t.prototype.detectSolid2=function(e){var n=e[0],r=e[1],o=e[2],i=e[3],a=this.transitionsBetween(n,i),s=t.shiftPoint(r,o,4*(a+1)),c=t.shiftPoint(o,r,4*(a+1));return this.transitionsBetween(s,n)this.transitionsBetween(c,l)+this.transitionsBetween(u,l)?p:l:p:this.isValid(l)?l:null},t.prototype.shiftToModuleCenter=function(e){var n=e[0],r=e[1],o=e[2],i=e[3],a=this.transitionsBetween(n,i)+1,s=this.transitionsBetween(o,i)+1,c=t.shiftPoint(n,r,4*s),u=t.shiftPoint(o,r,4*a);1===(1&(a=this.transitionsBetween(c,i)+1))&&(a+=1),1===(1&(s=this.transitionsBetween(u,i)+1))&&(s+=1);var p,l,f=(n.getX()+r.getX()+o.getX()+i.getX())/4,A=(n.getY()+r.getY()+o.getY()+i.getY())/4;return n=t.moveAway(n,f,A),r=t.moveAway(r,f,A),o=t.moveAway(o,f,A),i=t.moveAway(i,f,A),c=t.shiftPoint(n,r,4*s),c=t.shiftPoint(c,i,4*a),p=t.shiftPoint(r,n,4*s),p=t.shiftPoint(p,o,4*a),u=t.shiftPoint(o,i,4*s),u=t.shiftPoint(u,r,4*a),l=t.shiftPoint(i,o,4*s),[c,p,u,l=t.shiftPoint(l,n,4*a)]},t.prototype.isValid=function(t){return t.getX()>=0&&t.getX()0&&t.getY()Math.abs(o-n);if(a){var s=n;n=r,r=s,s=o,o=i,i=s}for(var c=Math.abs(o-n),u=Math.abs(i-r),p=-c/2,l=r0){if(b===i)break;b+=l,p-=c}}return A},t}(),E=function(){function t(){this.decoder=new w}return t.prototype.decode=function(e,n){var o,a;if(void 0===n&&(n=null),null!=n&&n.has(i.a.PURE_BARCODE)){var p=t.extractPureBits(e.getBlackMatrix());o=this.decoder.decode(p),a=t.NO_POINTS}else{var l=new S(e.getBlackMatrix()).detect();o=this.decoder.decode(l.getBits()),a=l.getPoints()}var f=o.getRawBytes(),A=new s.a(o.getText(),f,8*f.length,a,r.a.DATA_MATRIX,u.a.currentTimeMillis()),h=o.getByteSegments();null!=h&&A.putMetadata(c.a.BYTE_SEGMENTS,h);var d=o.getECLevel();return null!=d&&A.putMetadata(c.a.ERROR_CORRECTION_LEVEL,d),A},t.prototype.reset=function(){},t.extractPureBits=function(t){var e=t.getTopLeftOnBit(),n=t.getBottomRightOnBit();if(null==e||null==n)throw new a.a;var r=this.moduleSize(e,t),i=e[1],s=n[1],c=e[0],u=(n[0]-c+1)/r,p=(s-i+1)/r;if(u<=0||p<=0)throw new a.a;var l=r/2;i+=l,c+=l;for(var f=new o.a(u,p),A=0;A0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},function(t,e,n){"use strict";var r=n(123),o=n(66),i=n(154),a=n(640),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,s(t))}},function(t,e,n){"use strict";t.exports={}},function(t,e,n){"use strict";var r=n(63),o=n(73),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},function(t,e,n){"use strict";var r=n(39);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,n){"use strict";var r=n(123),o=n(157),i=n(65),a=n(63),s=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[s]&&o(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(142);t.exports=Array.isArray||function(t){return"Array"===r(t)}},function(t,e,n){"use strict";var r=n(44),o=n(122),i=n(78),a=n(382),s=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),p=function(t){return function(e){var n=i(o(e));return 1&t&&(n=s(n,c,"")),2&t&&(n=s(n,u,"$1")),n}};t.exports={start:p(1),end:p(2),trim:p(3)}},function(t,e,n){"use strict";var r=n(45);t.exports=r.Promise},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._bind=function(t,e){var n=t;Array.isArray(t)||(n=t.split(" "));return n.map((function(t){return e[t]=e[t].bind(e)}))},e.createReducer=function(t,e){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,r=arguments.length>1?arguments[1]:void 0,o=r.type,i=r.payload,a=e[o];return a?a(n,i):n}},e.guid=function(){var t=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)};return t()+t()+t()+"-"+t()+"_"+t()+"-"+t()+"_"+t()+t()+t()},e.isBrowser=function(){return"undefined"!==typeof window},e.keyCode=function(t){return t.which?t.which:t.keyCode},e.mapToToastrMessage=function(t,e){var n={};n.type=t,n.position=o.default.position,n.options=e.filter((function(t){return"object"==i(t)}))[0]||{},n.options.hasOwnProperty("position")&&(n.position=n.options.position);n.options.hasOwnProperty("removeOnHover")||(n.options.removeOnHover=!0,"message"===t&&(n.options.removeOnHover=!1));n.options.hasOwnProperty("showCloseButton")||(n.options.showCloseButton=!0);"message"!==t||n.options.hasOwnProperty("timeOut")||(n.options.timeOut=0);a(e[0])&&a(e[1])?(n.title=e[0],n.message=e[1]):a(e[0])&&!a(e[1])?n.title=e[0]:n.message=e[0];return n},e.onCSSTransitionEnd=function(t,e){if(!t)return;var n=function(){var t,e=document.createElement("fakeelement"),n={animation:"animationend",oanimation:"oanimationend",MSAnimation:"MSAnimationEnd",webkitAnimation:"webkitAnimationEnd"};for(t in n)if(void 0!==e.style[t])return n[t]}(),r=setTimeout((function(){var e=function(t){var e;"function"===typeof Event?e=new Event(t):(e=document.createEvent("Event")).initEvent(t,!0,!0);return e}(n);s("The toastr box was closed automatically, please check 'transitionOut' prop value"),t.dispatchEvent(e)}),o.default.maxAnimationDelay);t.addEventListener(n,(function o(i){clearTimeout(r),i.stopPropagation(),t.removeEventListener(n,o),e&&e(i)}))},e.preventDuplication=function(t,e){var n=!1;return t.forEach((function(t){t.options&&!1===t.options.preventDuplicates||t.title===e.title&&t.message===e.message&&t.type===e.type&&(n=!0)})),n},e.toastrWarn=s,e.updateConfig=function(t){Object.keys(o.default).forEach((function(e){t.hasOwnProperty(e)&&(o.default[e]=t[e])}))};var r,o=(r=n(527))&&r.__esModule?r:{default:r};function i(t){return(i="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 a(t){return"string"==typeof t}function s(t){return null}},function(t,e){!function(t){"use strict";if(!t.fetch){var e="URLSearchParams"in t,n="Symbol"in t&&"iterator"in Symbol,r="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),o="FormData"in t,i="ArrayBuffer"in t;if(i)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=function(t){return t&&DataView.prototype.isPrototypeOf(t)},c=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};h.prototype.append=function(t,e){t=l(t),e=f(e);var n=this.map[t];this.map[t]=n?n+","+e:e},h.prototype.delete=function(t){delete this.map[l(t)]},h.prototype.get=function(t){return t=l(t),this.has(t)?this.map[t]:null},h.prototype.has=function(t){return this.map.hasOwnProperty(l(t))},h.prototype.set=function(t,e){this.map[l(t)]=f(e)},h.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},h.prototype.keys=function(){var t=[];return this.forEach((function(e,n){t.push(n)})),A(t)},h.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),A(t)},h.prototype.entries=function(){var t=[];return this.forEach((function(e,n){t.push([n,e])})),A(t)},n&&(h.prototype[Symbol.iterator]=h.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];z.prototype.clone=function(){return new z(this,{body:this._bodyInit})},g.call(z.prototype),g.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},y.error=function(){var t=new y(null,{status:0,statusText:""});return t.type="error",t};var p=[301,302,303,307,308];y.redirect=function(t,e){if(-1===p.indexOf(e))throw new RangeError("Invalid status code");return new y(null,{status:e,headers:{location:t}})},t.Headers=h,t.Request=z,t.Response=y,t.fetch=function(t,e){return new Promise((function(n,o){var i=new z(t,e),a=new XMLHttpRequest;a.onload=function(){var t={status:a.status,statusText:a.statusText,headers:v(a.getAllResponseHeaders()||"")};t.url="responseURL"in a?a.responseURL:t.headers.get("X-Request-URL");var e="response"in a?a.response:a.responseText;n(new y(e,t))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&r&&(a.responseType="blob"),i.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),a.send("undefined"===typeof i._bodyInit?null:i._bodyInit)}))},t.fetch.polyfill=!0}function l(t){if("string"!==typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function f(t){return"string"!==typeof t&&(t=String(t)),t}function A(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n&&(e[Symbol.iterator]=function(){return e}),e}function h(t){this.map={},t instanceof h?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function d(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function b(t){return new Promise((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function M(t){var e=new FileReader,n=b(e);return e.readAsArrayBuffer(t),n}function O(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"===typeof t)this._bodyText=t;else if(r&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(o&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(e&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(i&&r&&s(t))this._bodyArrayBuffer=O(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!i||!ArrayBuffer.prototype.isPrototypeOf(t)&&!c(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=O(t)}else this._bodyText="";this.headers.get("content-type")||("string"===typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var t=d(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(M)}),this.text=function(){var t=d(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,n=b(e);return e.readAsText(t),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r-1?e:t}(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function m(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}})),e}function v(t){var e=new h;return t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var n=t.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();e.append(r,o)}})),e}function y(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new h(e.headers),this.url=e.url||"",this._initBody(t)}}("undefined"!==typeof self?self:this)},function(t,e,n){"use strict";(function(e,r){var o=n(51).Buffer,i=e.crypto||e.msCrypto;i&&i.getRandomValues?t.exports=function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var n=o.allocUnsafe(t);if(t>0)if(t>65536)for(var a=0;a2?"one of ".concat(e," ").concat(t.slice(0,n-1).join(", "),", or ")+t[n-1]:2===n?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}o("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(t,e,n){var r,o,a,s;if("string"===typeof e&&(o="not ",e.substr(!a||a<0?0:+a,o.length)===o)?(r="must not be",e=e.replace(/^not /,"")):r="must be",function(t,e,n){return(void 0===n||n>t.length)&&(n=t.length),t.substring(n-e.length,n)===e}(t," argument"))s="The ".concat(t," ").concat(r," ").concat(i(e,"type"));else{var c=function(t,e,n){return"number"!==typeof n&&(n=0),!(n+e.length>t.length)&&-1!==t.indexOf(e,n)}(t,".")?"property":"argument";s='The "'.concat(t,'" ').concat(c," ").concat(r," ").concat(i(e,"type"))}return s+=". Received type ".concat(typeof n)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(t){return"Unknown encoding: "+t}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=r},function(t,e,n){"use strict";(function(e){var r=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=u;var o=n(744),i=n(748);n(52)(u,o);for(var a=r(i.prototype),s=0;s=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,o=(n-r)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var i=this._hash();return t?i.toString(t):i},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=o},function(t,e,n){var r=n(230),o=n(399);t.exports=n(205)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){var r=n(802),o=n(551);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(553)("wks"),o=n(398),i=n(204).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){var r=n(576);t.exports=function(t){var e=r(t),n=e%1;return e===e?n?e-n:e:0}},function(t,e,n){var r=n(841),o=n(1533)(r);t.exports=o},function(t,e,n){var r=n(235),o=n(845),i=n(578);t.exports=function(t,e){return i(o(t,e,r),t+"")}},function(t,e,n){"use strict";var r=n(1719),o=n(1720),i=n(1721),a=n(1722),s=n(879),c=n(425),u=n(1723),p=Function,l=function(t){try{return p('"use strict"; return ('+t+").constructor;")()}catch(e){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(L){f=null}var A=function(){throw new c},h=f?function(){try{return A}catch(t){try{return f(arguments,"callee").get}catch(e){return A}}}():A,d=n(1724)(),b=n(1725)(),M=Object.getPrototypeOf||(b?function(t){return t.__proto__}:null),O={},g="undefined"!==typeof Uint8Array&&M?M(Uint8Array):void 0,z={__proto__:null,"%AggregateError%":"undefined"===typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":d&&M?M([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":"undefined"===typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"===typeof BigInt?void 0:BigInt,"%BigInt64Array%":"undefined"===typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"undefined"===typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"===typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":p,"%GeneratorFunction%":O,"%Int8Array%":"undefined"===typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&M?M(M([][Symbol.iterator]())):void 0,"%JSON%":"object"===typeof JSON?JSON:void 0,"%Map%":"undefined"===typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&d&&M?M((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?void 0:Promise,"%Proxy%":"undefined"===typeof Proxy?void 0:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":"undefined"===typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&d&&M?M((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&M?M(""[Symbol.iterator]()):void 0,"%Symbol%":d?Symbol:void 0,"%SyntaxError%":s,"%ThrowTypeError%":h,"%TypedArray%":g,"%TypeError%":c,"%Uint8Array%":"undefined"===typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?void 0:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"===typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?void 0:WeakSet};if(M)try{null.error}catch(L){var m=M(M(L));z["%Error.prototype%"]=m}var v={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=n(596),w=n(1727),q=y.call(Function.call,Array.prototype.concat),_=y.call(Function.apply,Array.prototype.splice),B=y.call(Function.call,String.prototype.replace),C=y.call(Function.call,String.prototype.slice),S=y.call(Function.call,RegExp.prototype.exec),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,R=/\\(\\)?/g,W=function(t){var e=C(t,0,1),n=C(t,-1);if("%"===e&&"%"!==n)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new s("invalid intrinsic syntax, expected opening `%`");var r=[];return B(t,E,(function(t,e,n,o){r[r.length]=n?B(o,R,"$1"):e||t})),r},T=function(t,e){var n,r=t;if(w(v,r)&&(r="%"+(n=v[r])[0]+"%"),w(z,r)){var o=z[r];if(o===O&&(o=function t(e){var n;if("%AsyncFunction%"===e)n=l("async function () {}");else if("%GeneratorFunction%"===e)n=l("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=l("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&M&&(n=M(o.prototype))}return z[e]=n,n}(r)),"undefined"===typeof o&&!e)throw new c("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new s("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!==typeof t||0===t.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof e)throw new c('"allowMissing" argument must be a boolean');if(null===S(/^%?[^%]*%?$/,t))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=W(t),r=n.length>0?n[0]:"",o=T("%"+r+"%",e),i=o.name,a=o.value,u=!1,p=o.alias;p&&(r=p[0],_(n,q([0,1],p)));for(var l=1,A=!0;l=n.length){var M=f(a,h);a=(A=!!M)&&"get"in M&&!("originalValue"in M.get)?M.get:a[h]}else A=w(a,h),a=a[h];A&&!u&&(z[i]=a)}}return a}},,function(t,e,n){"use strict";var r=n(35),o=n(439),i=n(54),a=n(237),s=n(90),c=n(173),u=n(20),p=n(212),l=n(47),f=function(){function t(t,e){this.x=t,this.y=e}return t.prototype.toResultPoint=function(){return new r.a(this.getX(),this.getY())},t.prototype.getX=function(){return this.x},t.prototype.getY=function(){return this.y},t}(),A=function(){function t(t){this.EXPECTED_CORNER_BITS=new Int32Array([3808,476,2107,1799]),this.image=t}return t.prototype.detect=function(){return this.detectMirror(!1)},t.prototype.detectMirror=function(t){var e=this.getMatrixCenter(),n=this.getBullsEyeCorners(e);if(t){var r=n[0];n[0]=n[2],n[2]=r}this.extractParameters(n);var i=this.sampleGrid(this.image,n[this.shift%4],n[(this.shift+1)%4],n[(this.shift+2)%4],n[(this.shift+3)%4]),a=this.getMatrixCornerPoints(n);return new o.a(i,a,this.compact,this.nbDataBlocks,this.nbLayers)},t.prototype.extractParameters=function(t){if(!this.isValidPoint(t[0])||!this.isValidPoint(t[1])||!this.isValidPoint(t[2])||!this.isValidPoint(t[3]))throw new u.a;var e=2*this.nbCenterLayers,n=new Int32Array([this.sampleLine(t[0],t[1],e),this.sampleLine(t[1],t[2],e),this.sampleLine(t[2],t[3],e),this.sampleLine(t[3],t[0],e)]);this.shift=this.getRotation(n,e);for(var r=0,o=0;o<4;o++){var i=n[(this.shift+o)%4];this.compact?(r<<=7,r+=i>>1&127):(r<<=10,r+=(i>>2&992)+(i>>1&31))}var a=this.getCorrectedParameterData(r,this.compact);this.compact?(this.nbLayers=1+(a>>6),this.nbDataBlocks=1+(63&a)):(this.nbLayers=1+(a>>11),this.nbDataBlocks=1+(2047&a))},t.prototype.getRotation=function(t,e){var n=0;t.forEach((function(t,r,o){n=(n<<3)+((t>>e-2<<1)+(1&t))})),n=((1&n)<<11)+(n>>1);for(var r=0;r<4;r++)if(l.a.bitCount(n^this.EXPECTED_CORNER_BITS[r])<=2)return r;throw new u.a},t.prototype.getCorrectedParameterData=function(t,e){var n,r;e?(n=7,r=2):(n=10,r=4);for(var o=n-r,i=new Int32Array(n),a=n-1;a>=0;--a)i[a]=15&t,t>>=4;try{new c.a(s.a.AZTEC_PARAM).decode(i,o)}catch(l){throw new u.a}var p=0;for(a=0;a2){var f=this.distancePoint(l,s)*this.nbCenterLayers/(this.distancePoint(i,e)*(this.nbCenterLayers+2));if(f<.75||f>1.25||!this.isWhiteOrBlackRectangle(s,c,p,l))break}e=s,n=c,o=p,i=l,a=!a}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new u.a;this.compact=5===this.nbCenterLayers;var A=new r.a(e.getX()+.5,e.getY()-.5),h=new r.a(n.getX()+.5,n.getY()+.5),d=new r.a(o.getX()-.5,o.getY()+.5),b=new r.a(i.getX()-.5,i.getY()-.5);return this.expandSquare([A,h,d,b],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},t.prototype.getMatrixCenter=function(){var t,e,n,r;try{t=(p=new a.a(this.image).detect())[0],e=p[1],n=p[2],r=p[3]}catch(l){var o=this.image.getWidth()/2,s=this.image.getHeight()/2;t=this.getFirstDifferent(new f(o+7,s-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new f(o+7,s+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new f(o-7,s+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new f(o-7,s-7),!1,-1,-1).toResultPoint()}var c=i.a.round((t.getX()+r.getX()+e.getX()+n.getX())/4),u=i.a.round((t.getY()+r.getY()+e.getY()+n.getY())/4);try{var p;t=(p=new a.a(this.image,15,c,u).detect())[0],e=p[1],n=p[2],r=p[3]}catch(l){t=this.getFirstDifferent(new f(c+7,u-7),!1,1,-1).toResultPoint(),e=this.getFirstDifferent(new f(c+7,u+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new f(c-7,u+7),!1,-1,1).toResultPoint(),r=this.getFirstDifferent(new f(c-7,u-7),!1,-1,-1).toResultPoint()}return c=i.a.round((t.getX()+r.getX()+e.getX()+n.getX())/4),u=i.a.round((t.getY()+r.getY()+e.getY()+n.getY())/4),new f(c,u)},t.prototype.getMatrixCornerPoints=function(t){return this.expandSquare(t,2*this.nbCenterLayers,this.getDimension())},t.prototype.sampleGrid=function(t,e,n,r,o){var i=p.a.getInstance(),a=this.getDimension(),s=a/2-this.nbCenterLayers,c=a/2+this.nbCenterLayers;return i.sampleGrid(t,a,a,s,s,c,s,c,c,s,c,e.getX(),e.getY(),n.getX(),n.getY(),r.getX(),r.getY(),o.getX(),o.getY())},t.prototype.sampleLine=function(t,e,n){for(var r=0,o=this.distanceResultPoint(t,e),a=o/n,s=t.getX(),c=t.getY(),u=a*(e.getX()-t.getX())/o,p=a*(e.getY()-t.getY())/o,l=0;l.1&&f<.9?0:f<=.1===u?1:-1},t.prototype.getFirstDifferent=function(t,e,n,r){for(var o=t.getX()+n,i=t.getY()+r;this.isValid(o,i)&&this.image.get(o,i)===e;)o+=n,i+=r;for(o-=n,i-=r;this.isValid(o,i)&&this.image.get(o,i)===e;)o+=n;for(o-=n;this.isValid(o,i)&&this.image.get(o,i)===e;)i+=r;return new f(o,i-=r)},t.prototype.expandSquare=function(t,e,n){var o=n/(2*e),i=t[0].getX()-t[2].getX(),a=t[0].getY()-t[2].getY(),s=(t[0].getX()+t[2].getX())/2,c=(t[0].getY()+t[2].getY())/2,u=new r.a(s+o*i,c+o*a),p=new r.a(s-o*i,c-o*a);return i=t[1].getX()-t[3].getX(),a=t[1].getY()-t[3].getY(),s=(t[1].getX()+t[3].getX())/2,c=(t[1].getY()+t[3].getY())/2,[u,new r.a(s+o*i,c+o*a),p,new r.a(s-o*i,c-o*a)]},t.prototype.isValid=function(t,e){return t>=0&&t0&&e32||t>this.available())throw new r.a(""+t);var e=0,n=this.bitOffset,o=this.byteOffset,i=this.bytes;if(n>0){var a=8-n,s=t>8-s<<(u=a-s);e=(i[o]&c)>>u,t-=s,8===(n+=s)&&(n=0,o++)}if(t>0){for(;t>=8;)e=e<<8|255&i[o],o++,t-=8;if(t>0){var u;c=255>>(u=8-t)<>u,n+=t}}return this.bitOffset=n,this.byteOffset=o,e},t.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},t}();e.a=o},function(t,e,n){"use strict";var r=n(175),o=n(47),i=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function t(t){this.errorCorrectionLevel=r.a.forBits(t>>3&3),this.dataMask=7&t}return t.numBitsDiffering=function(t,e){return o.a.bitCount(t^e)},t.decodeFormatInformation=function(e,n){var r=t.doDecodeFormatInformation(e,n);return null!==r?r:t.doDecodeFormatInformation(e^t.FORMAT_INFO_MASK_QR,n^t.FORMAT_INFO_MASK_QR)},t.doDecodeFormatInformation=function(e,n){var r,o,a=Number.MAX_SAFE_INTEGER,s=0;try{for(var c=i(t.FORMAT_INFO_DECODE_LOOKUP),u=c.next();!u.done;u=c.next()){var p=u.value,l=p[0];if(l===e||l===n)return new t(p[1]);var f=t.numBitsDiffering(e,l);f=e.length)for(var n=e[e.length-1],o=this.field,i=e.length;i<=t;i++){var a=n.multiply(new r.a(o,Int32Array.from([1,o.exp(i-1+o.getGeneratorBase())])));e.push(a),n=a}return e[t]},t.prototype.encode=function(t,e){if(0===e)throw new i.a("No error correction bytes");var n=t.length-e;if(n<=0)throw new i.a("No data bytes provided");var a=this.buildGenerator(e),s=new Int32Array(n);o.a.arraycopy(t,0,s,0,n);for(var c=new r.a(this.field,s),u=(c=c.multiplyByMonomial(e,1)).divide(a)[1].getCoefficients(),p=e-u.length,l=0;l=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},O=function(){function t(){}return t.calculateMaskPenalty=function(t){return p.a.applyMaskPenaltyRule1(t)+p.a.applyMaskPenaltyRule2(t)+p.a.applyMaskPenaltyRule3(t)+p.a.applyMaskPenaltyRule4(t)},t.encode=function(e,n,a){void 0===a&&(a=null);var s=t.DEFAULT_BYTE_MODE_ENCODING,p=null!==a&&void 0!==a.get(r.a.CHARACTER_SET);p&&(s=a.get(r.a.CHARACTER_SET).toString());var h=this.chooseMode(e,s),d=new o.a;if(h===c.a.BYTE&&(p||t.DEFAULT_BYTE_MODE_ENCODING!==s)){var M=i.a.getCharacterSetECIByName(s);void 0!==M&&this.appendECI(M,d)}this.appendModeInfo(h,d);var O,g=new o.a;if(this.appendBytes(e,h,g,s),null!==a&&void 0!==a.get(r.a.QR_VERSION)){var z=Number.parseInt(a.get(r.a.QR_VERSION).toString(),10);O=u.a.getVersionForNumber(z);var m=this.calculateBitsNeeded(h,d,g,O);if(!this.willFit(m,O,n))throw new b.a("Data too big for requested version")}else O=this.recommendVersion(n,h,d,g);var v=new o.a;v.appendBitArray(d);var y=h===c.a.BYTE?g.getSizeInBytes():e.length;this.appendLengthInfo(y,O,h,v),v.appendBitArray(g);var w=O.getECBlocksForLevel(n),q=O.getTotalCodewords()-w.getTotalECCodewords();this.terminateBits(q,v);var _=this.interleaveWithECBytes(v,O.getTotalCodewords(),q,w.getNumBlocks()),B=new f.a;B.setECLevel(n),B.setMode(h),B.setVersion(O);var C=O.getDimensionForVersion(),S=new l.a(C,C),E=this.chooseMaskPattern(_,n,O,S);return B.setMaskPattern(E),A.a.buildMatrix(_,n,O,E,S),B.setMatrix(S),B},t.recommendVersion=function(t,e,n,r){var o=this.calculateBitsNeeded(e,n,r,u.a.getVersionForNumber(1)),i=this.chooseVersion(o,t),a=this.calculateBitsNeeded(e,n,r,i);return this.chooseVersion(a,t)},t.calculateBitsNeeded=function(t,e,n,r){return e.getSize()+t.getCharacterCountBits(r)+n.getSize()},t.getAlphanumericCode=function(e){return e159)&&(o<224||o>235))return!1}return!0},t.chooseMaskPattern=function(t,e,n,r){for(var o=Number.MAX_SAFE_INTEGER,i=-1,a=0;a=(t+7)/8},t.terminateBits=function(t,e){var n=8*t;if(e.getSize()>n)throw new b.a("data bits cannot fit in the QR Code"+e.getSize()+" > "+n);for(var r=0;r<4&&e.getSize()0)for(r=o;r<8;r++)e.appendBit(!1);var i=t-e.getSizeInBytes();for(r=0;r=n)throw new b.a("Block ID too large");var a=t%n,s=n-a,c=Math.floor(t/n),u=c+1,p=Math.floor(e/n),l=p+1,f=c-p,A=u-l;if(f!==A)throw new b.a("EC bytes mismatch");if(n!==s+a)throw new b.a("RS blocks mismatch");if(t!==(p+f)*s+(l+A)*a)throw new b.a("Total bytes mismatch");r=1<=0&&n<=9},t.appendNumericBytes=function(e,n){for(var r=e.length,o=0;o=33088&&a<=40956?s=a-33088:a>=57408&&a<=60351&&(s=a-49472),-1===s)throw new b.a("Invalid byte sequence");var c=192*(s>>8)+(255&s);e.appendBits(c,13)}},t.appendECI=function(t,e){e.appendBits(c.a.ECI.getBits(),4),e.appendBits(t.getValue(),8)},t.ALPHANUMERIC_TABLE=Int32Array.from([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),t.DEFAULT_BYTE_MODE_ENCODING=i.a.UTF8.getName(),t}();e.a=O},function(t,e,n){var r=n(421),o=n(273),i=n(1584),a=n(74);t.exports=function(t,e){return(a(t)?r:o)(t,i(e))}},function(t,e,n){var r=n(854),o=n(273),i=n(184),a=n(1589),s=n(74);t.exports=function(t,e,n){var c=s(t)?r:a,u=arguments.length<3;return c(t,i(e,4),n,u,o)}},function(t,e,n){"use strict";var r=n(468),o=n.n(r),i={},a=0,s=function(t,e){var n=""+e.end+e.strict+e.sensitive,r=i[n]||(i[n]={});if(r[t])return r[t];var s=[],c={re:o()(t,s,e),keys:s};return a<1e4&&(r[t]=c,a++),c};e.a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"===typeof e&&(e={path:e});var r=e,o=r.path,i=r.exact,a=void 0!==i&&i,c=r.strict,u=void 0!==c&&c,p=r.sensitive,l=void 0!==p&&p;if(null==o)return n;var f=s(o,{end:a,strict:u,sensitive:l}),A=f.re,h=f.keys,d=A.exec(t);if(!d)return null;var b=d[0],M=d.slice(1),O=t===b;return a&&!O?null:{path:o,url:"/"===o&&""===b?"/":b,isExact:O,params:h.reduce((function(t,e,n){return t[e.name]=M[n],t}),{})}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(40),o=n(24),i=n(23);function a(t,e){Object(i.a)(2,arguments);var n=Object(o.default)(t).getTime(),a=Object(r.a)(e);return new Date(n+a)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(24),o=n(23),i=n(151),a=n(40),s=n(119);function c(t,e){var n,c,u,p,l,f,A,h;Object(o.a)(1,arguments);var d=Object(r.default)(t),b=d.getUTCFullYear(),M=Object(s.a)(),O=Object(a.a)(null!==(n=null!==(c=null!==(u=null!==(p=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==p?p:null===e||void 0===e||null===(l=e.locale)||void 0===l||null===(f=l.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==u?u:M.firstWeekContainsDate)&&void 0!==c?c:null===(A=M.locale)||void 0===A||null===(h=A.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(O>=1&&O<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(b+1,0,O),g.setUTCHours(0,0,0,0);var z=Object(i.a)(g,e),m=new Date(0);m.setUTCFullYear(b,0,O),m.setUTCHours(0,0,0,0);var v=Object(i.a)(m,e);return d.getTime()>=z.getTime()?b+1:d.getTime()>=v.getTime()?b:b-1}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return s}));var r=n(24),o=n(40),i=n(23),a=n(119);function s(t,e){var n,s,c,u,p,l,f,A;Object(i.a)(1,arguments);var h=Object(a.a)(),d=Object(o.a)(null!==(n=null!==(s=null!==(c=null!==(u=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==u?u:null===e||void 0===e||null===(p=e.locale)||void 0===p||null===(l=p.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(f=h.locale)||void 0===f||null===(A=f.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==n?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=Object(r.default)(t),M=b.getDay(),O=(M=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(){function t(){}return t.encodeBytes=function(e){return t.encode(e,t.DEFAULT_EC_PERCENT,t.DEFAULT_AZTEC_LAYERS)},t.encode=function(e,n,r){var c,u,f,A,h,d=new p.a(e).encode(),b=l.a.truncDivision(d.getSize()*n,100)+11,M=d.getSize()+b;if(r!==t.DEFAULT_AZTEC_LAYERS){if(c=r<0,(u=Math.abs(r))>(c?t.MAX_NB_BITS_COMPACT:t.MAX_NB_BITS))throw new o.a(i.a.format("Illegal value %s for layers",r));var O=(f=t.totalBitsInLayer(u,c))-f%(A=t.WORD_SIZE[u]);if((h=t.stuffBits(d,A)).getSize()+b>O)throw new o.a("Data to large for user specified layer");if(c&&h.getSize()>64*A)throw new o.a("Data to large for user specified layer")}else{A=0,h=null;for(var g=0;;g++){if(g>t.MAX_NB_BITS)throw new o.a("Data too large for an Aztec code");if(u=(c=g<=3)?g+1:g,!(M>(f=t.totalBitsInLayer(u,c)))){null!=h&&A===t.WORD_SIZE[u]||(A=t.WORD_SIZE[u],h=t.stuffBits(d,A));O=f-f%A;if(!(c&&h.getSize()>64*A)&&h.getSize()+b<=O)break}}}var z,m=t.generateCheckWords(h,f,A),v=h.getSize()/A,y=t.generateModeMessage(c,u,v),w=(c?11:14)+4*u,q=new Int32Array(w);if(c){z=w;for(g=0;g=o||t.get(a+c))&&(s|=1< may have only one child element"),this.unlisten=r.listen((function(){t.setState({match:t.computeMatch(r.location.pathname)})}))},e.prototype.componentWillReceiveProps=function(t){o()(this.props.history===t.history,"You cannot change ")},e.prototype.componentWillUnmount=function(){this.unlisten()},e.prototype.render=function(){var t=this.props.children;return t?c.a.Children.only(t):null},e}(c.a.Component);h.propTypes={history:p.a.object.isRequired,children:p.a.node},h.contextTypes={router:p.a.object},h.childContextTypes={router:p.a.object.isRequired},e.a=h},,function(t,e,n){"use strict";var r=n(17),o=n.n(r),i=n(15),a=n.n(i),s=n(0),c=n.n(s),u=n(33),p=n(111),l=n(127),f=n(217);function A(t){var e=t.children,n=t.className,r=t.computer,i=t.color,s=t.floated,f=t.largeScreen,h=t.mobile,d=t.only,b=t.stretched,M=t.tablet,O=t.textAlign,g=t.verticalAlign,z=t.widescreen,m=t.width,v=a()(i,Object(u.a)(b,"stretched"),Object(u.c)(d,"only"),Object(u.d)(O),Object(u.e)(s,"floated"),Object(u.f)(g),Object(u.g)(r,"wide computer"),Object(u.g)(f,"wide large screen"),Object(u.g)(h,"wide mobile"),Object(u.g)(M,"wide tablet"),Object(u.g)(z,"wide widescreen"),Object(u.g)(m,"wide"),"column",n),y=Object(p.a)(A,t),w=Object(l.a)(A,t);return c.a.createElement(w,o()({},y,{className:v}),e)}A.handledProps=["as","children","className","color","computer","floated","largeScreen","mobile","only","stretched","tablet","textAlign","verticalAlign","widescreen","width"],A.propTypes={},A.create=Object(f.d)(A,(function(t){return{children:t}})),e.a=A},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(798),i=(r=o)&&r.__esModule?r:{default:r};e.default=function(t,e,n){return e in t?(0,i.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";var r=n(28),o=n(106),i=n(48),a=function(){function t(t,e){e?this.decodedInformation=null:(this.finished=t,this.decodedInformation=e)}return t.prototype.getDecodedInformation=function(){return this.decodedInformation},t.prototype.isFinished=function(){return this.finished},t}(),s=function(){function t(t){this.newPosition=t}return t.prototype.getNewPosition=function(){return this.newPosition},t}(),c=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return c(e,t),e.prototype.getValue=function(){return this.value},e.prototype.isFNC1=function(){return this.value===e.FNC1},e.FNC1="$",e}(s),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=function(t){function e(e,n,r){var o=t.call(this,e)||this;return r?(o.remaining=!0,o.remainingValue=o.remainingValue):(o.remaining=!1,o.remainingValue=0),o.newString=n,o}return p(e,t),e.prototype.getNewString=function(){return this.newString},e.prototype.isRemaining=function(){return this.remaining},e.prototype.getRemainingValue=function(){return this.remainingValue},e}(s),f=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(t){function e(e,n,o){var i=t.call(this,e)||this;if(n<0||n>10||o<0||o>10)throw new r.a;return i.firstDigit=n,i.secondDigit=o,i}return f(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}(s),h=n(20),d=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},b=function(){function t(){}return t.parseFieldsInGeneralPurpose=function(e){var n,r,o,i,a,s,c,u;if(!e)return null;if(e.length<2)throw new h.a;var p=e.substring(0,2);try{for(var l=d(t.TWO_DIGIT_DATA_LENGTH),f=l.next();!f.done;f=l.next()){if((y=f.value)[0]===p)return y[1]===t.VARIABLE_LENGTH?t.processVariableAI(2,y[2],e):t.processFixedAI(2,y[1],e)}}catch(w){n={error:w}}finally{try{f&&!f.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(e.length<3)throw new h.a;var A=e.substring(0,3);try{for(var b=d(t.THREE_DIGIT_DATA_LENGTH),M=b.next();!M.done;M=b.next()){if((y=M.value)[0]===A)return y[1]===t.VARIABLE_LENGTH?t.processVariableAI(3,y[2],e):t.processFixedAI(3,y[1],e)}}catch(q){o={error:q}}finally{try{M&&!M.done&&(i=b.return)&&i.call(b)}finally{if(o)throw o.error}}try{for(var O=d(t.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),g=O.next();!g.done;g=O.next()){if((y=g.value)[0]===A)return y[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,y[2],e):t.processFixedAI(4,y[1],e)}}catch(_){a={error:_}}finally{try{g&&!g.done&&(s=O.return)&&s.call(O)}finally{if(a)throw a.error}}if(e.length<4)throw new h.a;var z=e.substring(0,4);try{for(var m=d(t.FOUR_DIGIT_DATA_LENGTH),v=m.next();!v.done;v=m.next()){var y;if((y=v.value)[0]===z)return y[1]===t.VARIABLE_LENGTH?t.processVariableAI(4,y[2],e):t.processFixedAI(4,y[1],e)}}catch(B){c={error:B}}finally{try{v&&!v.done&&(u=m.return)&&u.call(m)}finally{if(c)throw c.error}}throw new h.a},t.processFixedAI=function(e,n,r){if(r.lengththis.information.getSize())return t+4<=this.information.getSize();for(var e=t;ethis.information.getSize()){var e=this.extractNumericValueFromBitArray(t,4);return new A(this.information.getSize(),0===e?A.FNC1:e-1,A.FNC1)}var n=this.extractNumericValueFromBitArray(t,7);return new A(t+7,(n-8)/11,(n-8)%11)},t.prototype.extractNumericValueFromBitArray=function(e,n){return t.extractNumericValueFromBitArray(this.information,e,n)},t.extractNumericValueFromBitArray=function(t,e,n){for(var r=0,o=0;othis.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 n=this.extractNumericValueFromBitArray(t,7);if(n>=64&&n<116)return!0;if(t+8>this.information.getSize())return!1;var r=this.extractNumericValueFromBitArray(t,8);return r>=232&&r<253},t.prototype.decodeIsoIec646=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new u(t+5,u.FNC1);if(e>=5&&e<15)return new u(t+5,"0"+(e-5));var n,o=this.extractNumericValueFromBitArray(t,7);if(o>=64&&o<90)return new u(t+7,""+(o+1));if(o>=90&&o<116)return new u(t+7,""+(o+7));switch(this.extractNumericValueFromBitArray(t,8)){case 232:n="!";break;case 233:n='"';break;case 234:n="%";break;case 235:n="&";break;case 236:n="'";break;case 237:n="(";break;case 238:n=")";break;case 239:n="*";break;case 240:n="+";break;case 241:n=",";break;case 242:n="-";break;case 243:n=".";break;case 244:n="/";break;case 245:n=":";break;case 246:n=";";break;case 247:n="<";break;case 248:n="=";break;case 249:n=">";break;case 250:n="?";break;case 251:n="_";break;case 252:n=" ";break;default:throw new r.a}return new u(t+8,n)},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 n=this.extractNumericValueFromBitArray(t,6);return n>=16&&n<63},t.prototype.decodeAlphanumeric=function(t){var e=this.extractNumericValueFromBitArray(t,5);if(15===e)return new u(t+5,u.FNC1);if(e>=5&&e<15)return new u(t+5,"0"+(e-5));var n,r=this.extractNumericValueFromBitArray(t,6);if(r>=32&&r<58)return new u(t+6,""+(r+33));switch(r){case 58:n="*";break;case 59:n=",";break;case 60:n="-";break;case 61:n=".";break;case 62:n="/";break;default:throw new o.a("Decoding invalid alphanumeric value: "+r)}return new u(t+6,n)},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=e.length)return t.target=void 0,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!p&&l&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(d){}},function(t,e,n){"use strict";var r=n(44),o=n(39),i=n(142),a=Object,s=r("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?s(t,""):a(t)}:a},function(t,e,n){"use strict";var r=n(39);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,e,n){"use strict";var r=n(44),o=0,i=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},function(t,e,n){"use strict";var r=n(645),o=n(492);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){"use strict";t.exports={}},function(t,e,n){"use strict";var r=n(39),o=n(66),i=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n===p||n!==u&&(o(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",p=a.POLYFILL="P";t.exports=a},function(t,e,n){"use strict";var r=n(142),o=n(44);t.exports=function(t){if("Function"===r(t))return o(t)}},function(t,e,n){"use strict";var r=n(165),o=n(220),i=n(143),a=n(253),s=n(65)("iterator");t.exports=function(t){if(!i(t))return o(t,s)||o(t,"@@iterator")||a[r(t)]}},function(t,e,n){"use strict";var r=n(66),o=n(64),i=n(200);t.exports=function(t,e,n){var a,s;return i&&r(a=e.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(t,s),t}},function(t,e,n){"use strict";var r=n(103);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(651),o=n(115);t.exports=r(o.proto,"size","get")||function(t){return t.size}},function(t,e,n){"use strict";var r=n(1043);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},function(t,e,n){"use strict";var r=n(44),o=n(39),i=n(66),a=n(165),s=n(123),c=n(495),u=function(){},p=s("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=r(l.exec),A=!l.test(u),h=function(t){if(!i(t))return!1;try{return p(u,[],t),!0}catch(e){return!1}},d=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return A||!!f(l,c(t))}catch(e){return!0}};d.sham=!0,t.exports=!p||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?d:h},function(t,e,n){"use strict";var r=n(39),o=n(65),i=n(251),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){"use strict";var r=n(62),o=n(514),i=n(143),a=n(65)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||i(n=r(s)[a])?e:o(n)}},function(t,e,n){"use strict";var r=TypeError;t.exports=function(t,e){if(t0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=a.length,s=c,console&&console.warn&&console.warn(s)}return t}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function A(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function h(t,e,n){var r=t._events;if(void 0===r)return[];var o=r[e];return void 0===o?[]:"function"===typeof o?n?[o.listener||o]:[o]:n?function(t){for(var e=new Array(t.length),n=0;n0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=o[t];if(void 0===c)return!1;if("function"===typeof c)i(c,this,e);else{var u=c.length,p=b(c,u);for(n=0;n=0;i--)if(n[i]===e||n[i].listener===e){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(t,e){for(;e+1=0;r--)this.removeListener(t,e[r]);return this},s.prototype.listeners=function(t){return h(this,t,!0)},s.prototype.rawListeners=function(t){return h(this,t,!1)},s.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):d.call(t,e)},s.prototype.listenerCount=d,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(t,e,n){(function(t){function n(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===n(t)},e.isBoolean=function(t){return"boolean"===typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"===typeof t},e.isString=function(t){return"string"===typeof t},e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===n(t)},e.isObject=function(t){return"object"===typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===n(t)},e.isError=function(t){return"[object Error]"===n(t)||t instanceof Error},e.isFunction=function(t){return"function"===typeof t},e.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},e.isBuffer=t.isBuffer}).call(this,n(94).Buffer)},function(t,e,n){"use strict";var r=n(51).Buffer,o=r.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!==typeof e&&(r.isEncoding===o||!o(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=u,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=p,this.end=l,e=3;break;default:return this.write=f,void(this.end=A)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function a(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!==(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function u(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function p(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function l(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function A(t){return t&&t.length?this.write(t):""}e.StringDecoder=i,i.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return o>0&&(t.lastNeed=o-1),o;if(--r=0)return o>0&&(t.lastNeed=o-2),o;if(--r=0)return o>0&&(2===o?o=0:t.lastNeed=o-3),o;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},i.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,n){"use strict";var r=n(52),o=n(533),i=n(535),a=n(536),s=n(203);function c(t){s.call(this,"digest"),this._hash=t}r(c,s),c.prototype._update=function(t){this._hash.update(t)},c.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new o:"rmd160"===t||"ripemd160"===t?new i:new c(a(t))}},function(t,e,n){(function(e){t.exports=function(t,n){for(var r=Math.min(t.length,n.length),o=new e(r),i=0;i=this._delta8){var n=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-n,t.length),0===this.pending.length&&(this.pending=null),t=r.join32(t,0,t.length-n,this.endian);for(var o=0;o>>24&255,r[o++]=t>>>16&255,r[o++]=t>>>8&255,r[o++]=255&t}else for(r[o++]=255&t,r[o++]=t>>>8&255,r[o++]=t>>>16&255,r[o++]=t>>>24&255,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,i=8;i-1&&t%1==0&&t0?1:0):0};e.lazySlidesOnLeft=A;var h=function(t){return t.centerMode?Math.floor((t.slidesToShow-1)/2)+1+(parseInt(t.centerPadding)>0?1:0):t.slidesToShow};e.lazySlidesOnRight=h;var d=function(t){return t&&t.offsetWidth||0};e.getWidth=d;var b=function(t){return t&&t.offsetHeight||0};e.getHeight=b;var M=function(t){var e,n,r,o,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=t.startX-t.curX,n=t.startY-t.curY,r=Math.atan2(n,e),(o=Math.round(180*r/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":!0===i?o>=35&&o<=135?"up":"down":"vertical"};e.getSwipeDirection=M;var O=function(t){var e=!0;return t.infinite||(t.centerMode&&t.currentSlide>=t.slideCount-1||t.slideCount<=t.slidesToShow||t.currentSlide>=t.slideCount-t.slidesToShow)&&(e=!1),e};e.canGoNext=O;e.extractObject=function(t,e){var n={};return e.forEach((function(e){return n[e]=t[e]})),n};e.initializedState=function(t){var e,n=o.default.Children.count(t.children),r=t.listRef,i=Math.ceil(d(r)),s=t.trackRef&&t.trackRef.node,c=Math.ceil(d(s));if(t.vertical)e=i;else{var u=t.centerMode&&2*parseInt(t.centerPadding);"string"===typeof t.centerPadding&&"%"===t.centerPadding.slice(-1)&&(u*=i/100),e=Math.ceil((i-u)/t.slidesToShow)}var l=r&&b(r.querySelector('[data-index="0"]')),f=l*t.slidesToShow,A=void 0===t.currentSlide?t.initialSlide:t.currentSlide;t.rtl&&void 0===t.currentSlide&&(A=n-1-t.initialSlide);var h=t.lazyLoadedList||[],M=p(a(a({},t),{},{currentSlide:A,lazyLoadedList:h})),O={slideCount:n,slideWidth:e,listWidth:i,trackWidth:c,currentSlide:A,slideHeight:l,listHeight:f,lazyLoadedList:h=h.concat(M)};return null===t.autoplaying&&t.autoplay&&(O.autoplaying="playing"),O};e.slideHandler=function(t){var e=t.waitForAnimate,n=t.animating,r=t.fade,o=t.infinite,i=t.index,s=t.slideCount,u=t.lazyLoad,l=t.currentSlide,f=t.centerMode,A=t.slidesToScroll,h=t.slidesToShow,d=t.useCSS,b=t.lazyLoadedList;if(e&&n)return{};var M,g,z,m=i,v={},_={},B=o?i:c(i,0,s-1);if(r){if(!o&&(i<0||i>=s))return{};i<0?m=i+s:i>=s&&(m=i-s),u&&b.indexOf(m)<0&&(b=b.concat(m)),v={animating:!0,currentSlide:m,lazyLoadedList:b,targetSlide:m},_={animating:!1,targetSlide:m}}else M=m,m<0?(M=m+s,o?s%A!==0&&(M=s-s%A):M=0):!O(t)&&m>l?m=M=l:f&&m>=s?(m=o?s:s-1,M=o?0:s-1):m>=s&&(M=m-s,o?s%A!==0&&(M=0):M=s-h),!o&&m+h>=s&&(M=s-h),g=q(a(a({},t),{},{slideIndex:m})),z=q(a(a({},t),{},{slideIndex:M})),o||(g===z&&(m=M),g=z),u&&(b=b.concat(p(a(a({},t),{},{currentSlide:m})))),d?(v={animating:!0,currentSlide:M,trackStyle:w(a(a({},t),{},{left:g})),lazyLoadedList:b,targetSlide:B},_={animating:!1,currentSlide:M,trackStyle:y(a(a({},t),{},{left:z})),swipeLeft:null,targetSlide:B}):v={currentSlide:M,trackStyle:y(a(a({},t),{},{left:z})),lazyLoadedList:b,targetSlide:B};return{state:v,nextState:_}};e.changeSlide=function(t,e){var n,r,o,i,s=t.slidesToScroll,c=t.slidesToShow,u=t.slideCount,p=t.currentSlide,l=t.targetSlide,f=t.lazyLoad,A=t.infinite;if(n=u%s!==0?0:(u-p)%s,"previous"===e.message)i=p-(o=0===n?s:c-n),f&&!A&&(i=-1===(r=p-o)?u-1:r),A||(i=l-s);else if("next"===e.message)i=p+(o=0===n?s:n),f&&!A&&(i=(p+s)%u+n),A||(i=l+s);else if("dots"===e.message)i=e.index*e.slidesToScroll;else if("children"===e.message){if(i=e.index,A){var h=S(a(a({},t),{},{targetSlide:i}));i>e.currentSlide&&"left"===h?i-=u:i10)return{scrolling:!0};s&&(m.swipeLength=E);var R=(c?-1:1)*(m.curX>m.startX?1:-1);s&&(R=m.curY>m.startY?1:-1);var W=Math.ceil(b/g),T=M(e.touchObject,s),L=m.swipeLength;return z||(0===p&&("right"===T||"down"===T)||p+1>=W&&("left"===T||"up"===T)||!O(e)&&("left"===T||"up"===T))&&(L=m.swipeLength*l,!1===f&&A&&(A(T),C.edgeDragged=!0)),!h&&v&&(v(T),C.swiped=!0),B=o?S+L*(w/_)*R:c?S-L*R:S+L*R,s&&(B=S+L*R),C=a(a({},C),{},{touchObject:m,swipeLeft:B,trackStyle:y(a(a({},e),{},{left:B}))}),Math.abs(m.curX-m.startX)<.8*Math.abs(m.curY-m.startY)?C:(m.swipeLength>10&&(C.swiping=!0,u(t)),C)}};e.swipeEnd=function(t,e){var n=e.dragging,r=e.swipe,o=e.touchObject,i=e.listWidth,s=e.touchThreshold,c=e.verticalSwiping,p=e.listHeight,l=e.swipeToSlide,f=e.scrolling,A=e.onSwipe,h=e.targetSlide,d=e.currentSlide,b=e.infinite;if(!n)return r&&u(t),{};var O=c?p/s:i/s,g=M(o,c),v={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f)return v;if(!o.swipeLength)return v;if(o.swipeLength>O){var y,_;u(t),A&&A(g);var B=b?d:h;switch(g){case"left":case"up":_=B+m(e),y=l?z(e,_):_,v.currentDirection=0;break;case"right":case"down":_=B-m(e),y=l?z(e,_):_,v.currentDirection=1;break;default:y=B}v.triggerSlideHandler=y}else{var C=q(e);v.trackStyle=w(a(a({},e),{},{left:C}))}return v};var g=function(t){for(var e=t.infinite?2*t.slideCount:t.slideCount,n=t.infinite?-1*t.slidesToShow:0,r=t.infinite?-1*t.slidesToShow:0,o=[];nn[n.length-1])e=n[n.length-1];else for(var o in n){if(e-1*t.swipeLeft)return n=r,!1}else if(r.offsetLeft-e+d(r)/2>-1*t.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===t.rtl?t.slideCount-t.currentSlide:t.currentSlide;return Math.abs(n.dataset.index-i)||1}return t.slidesToScroll};e.getSlideCount=m;var v=function(t,e){return e.reduce((function(e,n){return e&&t.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",t)};e.checkSpecKeys=v;var y=function(t){var e,n;v(t,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=t.slideCount+2*t.slidesToShow;t.vertical?n=r*t.slideHeight:e=C(t)*t.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(t.useTransform){var i=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",s=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",c=t.vertical?"translateY("+t.left+"px)":"translateX("+t.left+"px)";o=a(a({},o),{},{WebkitTransform:i,transform:s,msTransform:c})}else t.vertical?o.top=t.left:o.left=t.left;return t.fade&&(o={opacity:1}),e&&(o.width=e),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(t.vertical?o.marginTop=t.left+"px":o.marginLeft=t.left+"px"),o};e.getTrackCSS=y;var w=function(t){v(t,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var e=y(t);return t.useTransform?(e.WebkitTransition="-webkit-transform "+t.speed+"ms "+t.cssEase,e.transition="transform "+t.speed+"ms "+t.cssEase):t.vertical?e.transition="top "+t.speed+"ms "+t.cssEase:e.transition="left "+t.speed+"ms "+t.cssEase,e};e.getTrackAnimateCSS=w;var q=function(t){if(t.unslick)return 0;v(t,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var e,n,r=t.slideIndex,o=t.trackRef,i=t.infinite,a=t.centerMode,s=t.slideCount,c=t.slidesToShow,u=t.slidesToScroll,p=t.slideWidth,l=t.listWidth,f=t.variableWidth,A=t.slideHeight,h=t.fade,d=t.vertical;if(h||1===t.slideCount)return 0;var b=0;if(i?(b=-_(t),s%u!==0&&r+u>s&&(b=-(r>s?c-(r-s):s%u)),a&&(b+=parseInt(c/2))):(s%u!==0&&r+u>s&&(b=c-s%u),a&&(b=parseInt(c/2))),e=d?r*A*-1+b*A:r*p*-1+b*p,!0===f){var M,O=o&&o.node;if(M=r+_(t),e=(n=O&&O.childNodes[M])?-1*n.offsetLeft:0,!0===a){M=i?r+_(t):r,n=O&&O.children[M],e=0;for(var g=0;gt.currentSlide?t.targetSlide>t.currentSlide+E(t)?"left":"right":t.targetSlide0&&(i+=1),r&&e%2===0&&(i+=1),i}return r?0:e-1};e.slidesOnRight=E;var R=function(t){var e=t.slidesToShow,n=t.centerMode,r=t.rtl,o=t.centerPadding;if(n){var i=(e-1)/2+1;return parseInt(o)>0&&(i+=1),r||e%2!==0||(i+=1),i}return r?e-1:0};e.slidesOnLeft=R;e.canUseDOM=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}},function(t,e,n){var r=n(422),o=n(583);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var s=-1,c=e.length;++s2?arguments[2]:{},i=r(e);o&&(i=a.call(i,Object.getOwnPropertySymbols(e)));for(var s=0;s=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["replace","to","innerRef"]);c()(this.context.router,"You should not use outside a "),c()(void 0!==e,'You must specify the "to" property');var i=this.context.router.history,a="string"===typeof e?Object(u.c)(e,null,null,i.location):e,s=i.createHref(a);return o.a.createElement("a",p({},r,{onClick:this.handleClick,href:s,ref:n}))},e}(o.a.Component);h.propTypes={onClick:a.a.func,target:a.a.string,replace:a.a.bool,to:a.a.oneOfType([a.a.string,a.a.object]).isRequired,innerRef:a.a.oneOfType([a.a.string,a.a.func])},h.defaultProps={replace:!1},h.contextTypes={router:a.a.shape({history:a.a.shape({push:a.a.func.isRequired,replace:a.a.func.isRequired,createHref:a.a.func.isRequired}).isRequired}).isRequired},e.a=h},function(t,e,n){"use strict";n.r(e),function(t){var n=function(){if("undefined"!==typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;a.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),u=function(t,e){for(var n=0,r=Object.keys(e);n0},t}(),m="undefined"!==typeof WeakMap?new WeakMap:new n,v=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new z(e,n,this);m.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){v.prototype[t]=function(){var e;return(e=m.get(this))[t].apply(e,arguments)}}));var y="undefined"!==typeof o.ResizeObserver?o.ResizeObserver:v;e.default=y}.call(this,n(67))},function(t,e){t.exports=function(t,e,n,r){var o=n?n.call(r,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!==typeof t||!t||"object"!==typeof e||!e)return!1;var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),c=0;c=u?c:(n.setFullYear(c.getFullYear(),c.getMonth(),s),n)}},function(t,e,n){"use strict";var r,o=n(172),i=n(90),a=n(173),s=n(106),c=n(28),u=n(61),p=n(47);!function(t){t[t.UPPER=0]="UPPER",t[t.LOWER=1]="LOWER",t[t.MIXED=2]="MIXED",t[t.DIGIT=3]="DIGIT",t[t.PUNCT=4]="PUNCT",t[t.BINARY=5]="BINARY"}(r||(r={}));var l=function(){function t(){}return t.prototype.decode=function(e){this.ddata=e;var n=e.getBits(),r=this.extractBits(n),i=this.correctBits(r),a=t.convertBoolArrayToByteArray(i),s=t.getEncodedData(i),c=new o.a(a,s,null,null);return c.setNumBits(i.length),c},t.highLevelDecode=function(t){return this.getEncodedData(t)},t.getEncodedData=function(e){for(var n=e.length,o=r.UPPER,i=r.UPPER,a="",s=0;s1,d,d+r-1),d+=r-1;else for(var M=r-1;M>=0;--M)h[d++]=0!==(b&1<=8?t.readCode(e,n,8):t.readCode(e,n,r)<<8-r},t.convertBoolArrayToByteArray=function(e){for(var n=new Uint8Array((e.length+7)/8),r=0;r","?","[","]","{","}","CTRL_UL"],t.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],t}();e.a=l},function(t,e,n){"use strict";var r=n(20),o=function(){function t(){}return t.checkAndNudgePoints=function(t,e){for(var n=t.getWidth(),o=t.getHeight(),i=!0,a=0;an||c<-1||c>o)throw new r.a;i=!1,-1===s?(e[a]=0,i=!0):s===n&&(e[a]=n-1,i=!0),-1===c?(e[a+1]=0,i=!0):c===o&&(e[a+1]=o-1,i=!0)}i=!0;for(a=e.length-2;a>=0&&i;a-=2){s=Math.floor(e[a]),c=Math.floor(e[a+1]);if(s<-1||s>n||c<-1||c>o)throw new r.a;i=!1,-1===s?(e[a]=0,i=!0):s===n&&(e[a]=n-1,i=!0),-1===c?(e[a+1]=0,i=!0):c===o&&(e[a+1]=o-1,i=!0)}},t}();e.a=o},function(t,e,n){"use strict";var r=n(36),o=n(75),i=n(59),a=n(28),s=n(20),c=n(69),u=n(35),p=n(81),l=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.findStartPattern=function(t){for(var n=t.getSize(),r=t.getNextSet(0),o=0,i=Int32Array.from([0,0,0,0,0,0]),a=r,c=!1,u=r;u=0&&t.isRange(Math.max(0,a-(u-a)/2),a,!1))return Int32Array.from([a,u,f]);a+=i[0]+i[1],(i=i.slice(2,i.length-1))[o-1]=0,i[o]=0,o--}else o++;i[o]=1,c=!c}throw new s.a},e.decodeCode=function(t,n,r){p.a.recordPattern(t,r,n);for(var o=e.MAX_AVG_VARIANCE,i=-1,a=0;a=0)return i;throw new s.a},e.prototype.decodeRow=function(t,n,p){var l,f=p&&!0===p.get(i.a.ASSUME_GS1),A=e.findStartPattern(n),h=A[2],d=0,b=new Uint8Array(20);switch(b[d++]=h,h){case e.CODE_START_A:l=e.CODE_CODE_A;break;case e.CODE_START_B:l=e.CODE_CODE_B;break;case e.CODE_START_C:l=e.CODE_CODE_C;break;default:throw new a.a}for(var M=!1,O=!1,g="",z=A[0],m=A[1],v=Int32Array.from([0,0,0,0,0,0]),y=0,w=0,q=h,_=0,B=!0,C=!1,S=!1;!M;){var E=O;switch(O=!1,y=w,w=e.decodeCode(n,v,m),b[d++]=w,w!==e.CODE_STOP&&(B=!0),w!==e.CODE_STOP&&(q+=++_*w),z=m,m+=v.reduce((function(t,e){return t+e}),0),w){case e.CODE_START_A:case e.CODE_START_B:case e.CODE_START_C:throw new a.a}switch(l){case e.CODE_CODE_A:if(w<64)g+=S===C?String.fromCharCode(" ".charCodeAt(0)+w):String.fromCharCode(" ".charCodeAt(0)+w+128),S=!1;else if(w<96)g+=S===C?String.fromCharCode(w-64):String.fromCharCode(w+64),S=!1;else switch(w!==e.CODE_STOP&&(B=!1),w){case e.CODE_FNC_1:f&&(0===g.length?g+="]C1":g+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_A:!C&&S?(C=!0,S=!1):C&&S?(C=!1,S=!1):S=!0;break;case e.CODE_SHIFT:O=!0,l=e.CODE_CODE_B;break;case e.CODE_CODE_B:l=e.CODE_CODE_B;break;case e.CODE_CODE_C:l=e.CODE_CODE_C;break;case e.CODE_STOP:M=!0}break;case e.CODE_CODE_B:if(w<96)g+=S===C?String.fromCharCode(" ".charCodeAt(0)+w):String.fromCharCode(" ".charCodeAt(0)+w+128),S=!1;else switch(w!==e.CODE_STOP&&(B=!1),w){case e.CODE_FNC_1:f&&(0===g.length?g+="]C1":g+=String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_B:!C&&S?(C=!0,S=!1):C&&S?(C=!1,S=!1):S=!0;break;case e.CODE_SHIFT:O=!0,l=e.CODE_CODE_A;break;case e.CODE_CODE_A:l=e.CODE_CODE_A;break;case e.CODE_CODE_C:l=e.CODE_CODE_C;break;case e.CODE_STOP:M=!0}break;case e.CODE_CODE_C:if(w<100)w<10&&(g+="0"),g+=w;else switch(w!==e.CODE_STOP&&(B=!1),w){case e.CODE_FNC_1:f&&(0===g.length?g+="]C1":g+=String.fromCharCode(29));break;case e.CODE_CODE_A:l=e.CODE_CODE_A;break;case e.CODE_CODE_B:l=e.CODE_CODE_B;break;case e.CODE_STOP:M=!0}}E&&(l=l===e.CODE_CODE_A?e.CODE_CODE_B:e.CODE_CODE_A)}var R=m-z;if(m=n.getNextUnset(m),!n.isRange(m,Math.min(n.getSize(),m+(m-z)/2),!1))throw new s.a;if((q-=_*y)%103!==y)throw new o.a;var W=g.length;if(0===W)throw new s.a;W>0&&B&&(g=l===e.CODE_CODE_C?g.substring(0,W-2):g.substring(0,W-1));for(var T=(A[1]+A[0])/2,L=z+R/2,N=b.length,x=new Uint8Array(N),k=0;k=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},f=function(t){function e(e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t.call(this)||this;return r.usingCheckDigit=e,r.extendedMode=n,r.decodeRowResult="",r.counters=new Int32Array(9),r}return p(e,t),e.prototype.decodeRow=function(t,n,i){var s,p,f,A,h=this.counters;h.fill(0),this.decodeRowResult="";var d,b,M=e.findAsteriskPattern(n,h),O=n.getNextSet(M[1]),g=n.getSize();do{e.recordPattern(n,O,h);var z=e.toNarrowWidePattern(h);if(z<0)throw new a.a;d=e.patternToChar(z),this.decodeRowResult+=d,b=O;try{for(var m=(s=void 0,l(h)),v=m.next();!v.done;v=m.next()){O+=v.value}}catch(W){s={error:W}}finally{try{v&&!v.done&&(p=m.return)&&p.call(m)}finally{if(s)throw s.error}}O=n.getNextSet(O)}while("*"!==d);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var y,w=0;try{for(var q=l(h),_=q.next();!_.done;_=q.next()){w+=_.value}}catch(T){f={error:T}}finally{try{_&&!_.done&&(A=q.return)&&A.call(q)}finally{if(f)throw f.error}}if(O!==g&&2*(O-b-w)i&&(a=A)}}catch(h){e={error:h}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(e)throw e.error}}i=a,r=0;for(var u=0,p=0,f=0;fi&&(p|=1<0;f++){var A;if((A=t[f])>i&&(r--,2*A>=u))return-1}return p}}while(r>3);return-1},e.patternToChar=function(t){for(var n=0;n="A"&&a<="Z"))throw new i.a;s=String.fromCharCode(a.charCodeAt(0)+32);break;case"$":if(!(a>="A"&&a<="Z"))throw new i.a;s=String.fromCharCode(a.charCodeAt(0)-64);break;case"%":if(a>="A"&&a<="E")s=String.fromCharCode(a.charCodeAt(0)-38);else if(a>="F"&&a<="J")s=String.fromCharCode(a.charCodeAt(0)-11);else if(a>="K"&&a<="O")s=String.fromCharCode(a.charCodeAt(0)+16);else if(a>="P"&&a<="T")s=String.fromCharCode(a.charCodeAt(0)+43);else if("U"===a)s="\0";else if("V"===a)s="@";else if("W"===a)s="`";else{if("X"!==a&&"Y"!==a&&"Z"!==a)throw new i.a;s="\x7f"}break;case"/":if(a>="A"&&a<="O")s=String.fromCharCode(a.charCodeAt(0)-32);else{if("Z"!==a)throw new i.a;s=":"}}n+=s,r++}else n+=o}return n},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}(s.a);e.a=f},function(t,e,n){"use strict";var r=n(36),o=n(59),i=n(28),a=n(20),s=n(69),c=n(35),u=n(48),p=n(53),l=n(81),f=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.narrowLineWidth=-1,e}return f(e,t),e.prototype.decodeRow=function(t,n,a){var p,l,f=this.decodeStart(n),h=this.decodeEnd(n),d=new u.a;e.decodeMiddle(n,f[1],h[0],d);var b=d.toString(),M=null;null!=a&&(M=a.get(o.a.ALLOWED_LENGTHS)),null==M&&(M=e.DEFAULT_ALLOWED_LENGTHS);var O=b.length,g=!1,z=0;try{for(var m=A(M),v=m.next();!v.done;v=m.next()){var y=v.value;if(O===y){g=!0;break}y>z&&(z=y)}}catch(q){p={error:q}}finally{try{v&&!v.done&&(l=m.return)&&l.call(m)}finally{if(p)throw p.error}}if(!g&&O>z&&(g=!0),!g)throw new i.a;var w=[new c.a(f[1],t),new c.a(h[0],t)];return new s.a(b,null,0,w,r.a.ITF,(new Date).getTime())},e.decodeMiddle=function(t,n,r,o){var i=new Int32Array(10),a=new Int32Array(5),s=new Int32Array(5);for(i.fill(0),a.fill(0),s.fill(0);n0&&r>=0&&!t.get(r);r--)n--;if(0!==n)throw new a.a},e.skipWhiteSpace=function(t){var e=t.getSize(),n=t.getNextSet(0);if(n===e)throw new a.a;return n},e.prototype.decodeEnd=function(t){t.reverse();try{var n=e.skipWhiteSpace(t),r=void 0;try{r=e.findGuardPattern(t,n,e.END_PATTERN_REVERSED[0])}catch(i){i instanceof a.a&&(r=e.findGuardPattern(t,n,e.END_PATTERN_REVERSED[1]))}this.validateQuietZone(t,r[0]);var o=r[0];return r[0]=t.getSize()-r[1],r[1]=t.getSize()-o,r}finally{t.reverse()}},e.findGuardPattern=function(t,n,r){var o=r.length,i=new Int32Array(o),s=t.getSize(),c=!1,u=0,f=n;i.fill(0);for(var A=n;A=0)return r%10;throw new a.a},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}(l.a);e.a=h},function(t,e,n){"use strict";var r;!function(t){t[t.DATA_MASK_000=0]="DATA_MASK_000",t[t.DATA_MASK_001=1]="DATA_MASK_001",t[t.DATA_MASK_010=2]="DATA_MASK_010",t[t.DATA_MASK_011=3]="DATA_MASK_011",t[t.DATA_MASK_100=4]="DATA_MASK_100",t[t.DATA_MASK_101=5]="DATA_MASK_101",t[t.DATA_MASK_110=6]="DATA_MASK_110",t[t.DATA_MASK_111=7]="DATA_MASK_111"}(r||(r={}));var o=function(){function t(t,e){this.value=t,this.isMasked=e}return t.prototype.unmaskBitMatrix=function(t,e){for(var n=0;n0;){for(6===c&&(c-=1);u>=0&&u=r;)e^=n<=0)for(var c=0;c!==a;c++){var u=o[c];u>=0&&t.isEmpty(n.get(u,s))&&t.embedPositionAdjustmentPattern(u-2,s-2,n)}}},t.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),t.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),t.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),t.VERSION_INFO_POLY=7973,t.TYPE_INFO_POLY=1335,t.TYPE_INFO_MASK_PATTERN=21522,t}();e.a=u},,function(t,e,n){(function(r){var o,i;o=function(){"use strict";function o(t){return(o="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(t){if("object"!==o(t.console)){t.console={};for(var e,n,r=t.console,i=function(){},a=["memory"],s="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");e=a.pop();)r[e]||(r[e]={});for(;n=s.pop();)r[n]||(r[n]=i)}var c,u,p,l,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";void 0===t.btoa&&(t.btoa=function(t){var e,n,r,o,i,a=0,s=0,c="",u=[];if(!t)return t;for(;e=(i=t.charCodeAt(a++)<<16|t.charCodeAt(a++)<<8|t.charCodeAt(a++))>>18&63,n=i>>12&63,r=i>>6&63,o=63&i,u[s++]=f.charAt(e)+f.charAt(n)+f.charAt(r)+f.charAt(o),a>16&255,n=a>>8&255,r=255&a,u[c++]=64==o?String.fromCharCode(e):64==i?String.fromCharCode(e,n):String.fromCharCode(e,n,r),s>>0,r=new Array(n),o=1>>0,o=0;o>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var r=arguments[1],o=0;o>16&255,r=u>>8&255,i=255&u}if(void 0===r||void 0===a&&n===r&&r===i)if("string"==typeof n)e=n+" "+s[0];else switch(t.precision){case 2:e=g(n/255)+" "+s[0];break;case 3:default:e=z(n/255)+" "+s[0]}else if(void 0===a||"object"===o(a)){if(a&&!isNaN(a.a)&&0===a.a)return["1.000","1.000","1.000",s[1]].join(" ");if("string"==typeof n)e=[n,r,i,s[1]].join(" ");else switch(t.precision){case 2:e=[g(n/255),g(r/255),g(i/255),s[1]].join(" ");break;default:case 3:e=[z(n/255),z(r/255),z(i/255),s[1]].join(" ")}}else if("string"==typeof n)e=[n,r,i,a,s[2]].join(" ");else switch(t.precision){case 2:e=[g(n/255),g(r/255),g(i/255),g(a/255),s[2]].join(" ");break;case 3:default:e=[z(n/255),z(r/255),z(i/255),z(a/255),s[2]].join(" ")}return e},dt=A.__private__.getFilters=function(){return u},bt=A.__private__.putStream=function(t){var e,n=(t=t||{}).data||"",r=t.filters||dt(),o=t.alreadyAppliedFilters||[],i=t.addLength1||!1,a=n.length;!0===r&&(r=["FlateEncode"]);var c=t.additionalKeyValues||[],u=(e=void 0!==s.API.processDataByFilters?s.API.processDataByFilters(n,r):{data:n,reverseChain:[]}).reverseChain+(Array.isArray(o)?o.join(" "):o.toString());0!==e.data.length&&(c.push({key:"Length",value:e.data.length}),!0===i&&c.push({key:"Length1",value:a})),0!=u.length&&(u.split("/").length-1==1?c.push({key:"Filter",value:u}):c.push({key:"Filter",value:"["+u+"]"})),F("<<");for(var p=0;p>"),0!==e.data.length&&(F("stream"),F(e.data),F("endstream"))},Mt=A.__private__.putPage=function(t){t.mediaBox;var e=t.number,n=t.data,r=t.objId,o=t.contentsObjId;ut(r,!0),rt[C].mediaBox.topRightX,rt[C].mediaBox.bottomLeftX,rt[C].mediaBox.topRightY,rt[C].mediaBox.bottomLeftY,F("<>"),F("endobj");var i=n.join("\n");return ut(o,!0),bt({data:i,filters:dt()}),F("endobj"),r},Ot=A.__private__.putPages=function(){var t,e,n=[];for(t=1;t<=nt;t++)rt[t].objId=ct(),rt[t].contentsObjId=ct();for(t=1;t<=nt;t++)n.push(Mt({number:t,data:I[t],objId:rt[t].objId,contentsObjId:rt[t].contentsObjId,mediaBox:rt[t].mediaBox,cropBox:rt[t].cropBox,bleedBox:rt[t].bleedBox,trimBox:rt[t].trimBox,artBox:rt[t].artBox,userUnit:rt[t].userUnit,rootDictionaryObjId:lt,resourceDictionaryObjId:ft}));ut(lt,!0),F("<>"),F("endobj"),it.publish("postPutPages")},gt=function(t,e,n){et.hasOwnProperty(e)||(et[e]={}),et[e][n]=t},zt=function(t,e,n,r,o){o=o||!1;var i="F"+(Object.keys(tt).length+1).toString(10),a={id:i,postScriptName:t,fontName:e,fontStyle:n,encoding:r,isStandardFont:o,metadata:{}};return it.publish("addFont",{font:a,instance:this}),void 0!==i&&(tt[i]=a,gt(i,e,n)),i},mt=A.__private__.pdfEscape=A.pdfEscape=function(t,e){return function(t,e){var n,r,o,i,a,s,c,u,p;if(o=(e=e||{}).sourceEncoding||"Unicode",a=e.outputEncoding,(e.autoencode||a)&&tt[T].metadata&&tt[T].metadata[o]&&tt[T].metadata[o].encoding&&(i=tt[T].metadata[o].encoding,!a&&tt[T].encoding&&(a=tt[T].encoding),!a&&i.codePages&&(a=i.codePages[0]),"string"==typeof a&&(a=i[a]),a)){for(c=!1,s=[],n=0,r=t.length;n>8&&(c=!0);t=s.join("")}for(n=t.length;void 0===c&&0!==n;)t.charCodeAt(n-1)>>8&&(c=!0),n--;if(!c)return t;for(s=e.noBOM?[]:[254,255],n=0,r=t.length;n>8)>>8)throw new Error("Character at position "+n+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(p),s.push(u-(p<<8))}return String.fromCharCode.apply(void 0,s)}(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},vt=A.__private__.beginPage=function(t,e){var r,o="string"==typeof e&&e.toLowerCase();if("string"==typeof t&&(r=M(t.toLowerCase()))&&(t=r[0],e=r[1]),Array.isArray(t)&&(e=t[1],t=t[0]),(isNaN(t)||isNaN(e))&&(t=n[0],e=n[1]),o){switch(o.substr(0,1)){case"l":t>"),F("endobj")},Ct=A.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||lt;switch(st(),F("<<"),F("/Type /Catalog"),F("/Pages "+e+" 0 R"),E||(E="fullwidth"),E){case"fullwidth":F("/OpenAction [3 0 R /FitH null]");break;case"fullheight":F("/OpenAction [3 0 R /FitV null]");break;case"fullpage":F("/OpenAction [3 0 R /Fit]");break;case"original":F("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+E;"%"===n.substr(n.length-1)&&(E=parseInt(E)/100),"number"==typeof E&&F("/OpenAction [3 0 R /XYZ null null "+g(E)+"]")}switch(W||(W="continuous"),W){case"continuous":F("/PageLayout /OneColumn");break;case"single":F("/PageLayout /SinglePage");break;case"two":case"twoleft":F("/PageLayout /TwoColumnLeft");break;case"tworight":F("/PageLayout /TwoColumnRight")}R&&F("/PageMode /"+R),it.publish("putCatalog"),F(">>"),F("endobj")},St=A.__private__.putTrailer=function(){F("trailer"),F("<<"),F("/Size "+(J+1)),F("/Root "+J+" 0 R"),F("/Info "+(J-1)+" 0 R"),F("/ID [ <"+m+"> <"+m+"> ]"),F(">>")},Rt=A.__private__.putHeader=function(){F("%PDF-"+h),F("%\xba\xdf\xac\xe0")},Wt=A.__private__.putXRef=function(){var t=1,e="0000000000";for(F("xref"),F("0 "+(J+1)),F("0000000000 65535 f "),t=1;t<=J;t++)"function"==typeof $[t]?F((e+$[t]()).slice(-10)+" 00000 n "):void 0!==$[t]?F((e+$[t]).slice(-10)+" 00000 n "):F("0000000000 00000 n ")},Tt=A.__private__.buildDocument=function(){k=!1,D=J=0,P=[],$=[],ot=[],lt=ct(),ft=ct(),it.publish("buildDocument"),Rt(),Ot(),function(){it.publish("putAdditionalObjects");for(var t=0;t>"),F("endobj")));var e}(),it.publish("putResources"),ut(ft,!0),F("<<"),function(){for(var t in F("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),F("/Font <<"),tt)tt.hasOwnProperty(t)&&(!1===l||!0===l&&f.hasOwnProperty(t))&&F("/"+t+" "+tt[t].objectNumber+" 0 R");F(">>"),F("/XObject <<"),it.publish("putXobjectDict"),F(">>")}(),F(">>"),F("endobj"),it.publish("postPutResources"),Bt(),Ct();var t=D;return Wt(),St(),F("startxref"),F(""+t),F("%%EOF"),k=!0,P.join("\n")},Lt=A.__private__.getBlob=function(t){return new Blob([j(t)],{type:"application/pdf"})},Nt=A.output=A.__private__.output=((N=function(t,e){e=e||{};var n=Tt();switch("string"==typeof e?e={filename:e}:e.filename=e.filename||"generated.pdf",t){case void 0:return n;case"save":A.save(e.filename);break;case"arraybuffer":return j(n);case"blob":return Lt(n);case"bloburi":case"bloburl":if(void 0!==r.URL&&"function"==typeof r.URL.createObjectURL)return r.URL&&r.URL.createObjectURL(Lt(n))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+e.filename+";base64,"+btoa(n);case"dataurlnewwindow":var o='',i=r.open();if(null!==i&&i.document.write(o),i||"undefined"==typeof safari)return i;case"datauri":case"dataurl":return r.document.location.href="data:application/pdf;filename="+e.filename+";base64,"+btoa(n);default:return null}}).foo=function(){try{return N.apply(this,arguments)}catch(t){var e=t.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var n="Error in function "+e.split("\n")[0].split("<")[0]+": "+t.message;if(!r.console)throw new Error(n);r.console.error(n,t),r.alert&&alert(n)}},(N.foo.bar=N).foo),xt=function(t){return!0===Array.isArray(at)&&-1":")"),et=1):(Z=Vt(e),J=Gt(n),$=(u?"<":"(")+v[Y]+(u?">":")")),void 0!==j&&void 0!==j[Y]&&(nt=j[Y]+" Tw\n"),0!==S.length&&0===Y?t.push(nt+S.join(" ")+" "+Z.toFixed(2)+" "+J.toFixed(2)+" Tm\n"+$):1===et||0===et&&0===Y?t.push(nt+Z.toFixed(2)+" "+J.toFixed(2)+" Td\n"+$):t.push(nt+$);t=0===et?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var rt="BT\n/"+T+" "+X+" Tf\n"+(X*l).toFixed(2)+" TL\n"+te+"\n";return rt+=p,rt+=t,F(rt+="ET"),f[T]=!0,A},A.__private__.lstext=A.lstext=function(t,e,n,r){return console.warn("jsPDF.lstext is deprecated"),this.text(t,e,n,{charSpace:r})},A.__private__.clip=A.clip=function(t){F("evenodd"===t?"W*":"W"),F("n")},A.__private__.clip_fixed=A.clip_fixed=function(t){console.log("clip_fixed is deprecated"),A.clip(t)};var Dt=A.__private__.isValidStyle=function(t){var e=!1;return-1!==[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(t)&&(e=!0),e},Ft=A.__private__.getStyle=function(t){var e="S";return"F"===t?e="f":"FD"===t||"DF"===t?e="B":"f"!==t&&"f*"!==t&&"B"!==t&&"B*"!==t||(e=t),e};A.__private__.line=A.line=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[n-t,r-e]],t,e)},A.__private__.lines=A.lines=function(t,e,n,r,o,i){var a,s,c,u,p,l,f,A,h,d,b,M;if("number"==typeof t&&(M=n,n=e,e=t,t=M),r=r||[1,1],i=i||!1,isNaN(e)||isNaN(n)||!Array.isArray(t)||!Array.isArray(r)||!Dt(o)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(F(z(Vt(e))+" "+z(Gt(n))+" m "),a=r[0],s=r[1],u=t.length,d=e,b=n,c=0;c=a.length-1;if(w&&!q){g+=" ";continue}if(w||q){if(q)M=y;else if(t.multiline&&u<(f+2)*(z+2)+2)continue t}else{if(!t.multiline)continue t;if(u<(f+2)*(z+2)+2)continue t;M=y}for(var _="",B=b;B<=M;B++)_+=a[B]+" ";switch(_=" "==_.substr(_.length-1)?_.substr(0,_.length-1):_,O=v(_,t,c).width,t.textAlign){case"right":h=p-O-2;break;case"center":h=(p-O)/2;break;case"left":default:h=2}e+=s(h)+" "+s(d)+" Td\n",e+="("+i(_)+") Tj\n",e+=-s(h)+" 0 Td\n",d=-(c+2),O=0,b=M+1,z++,g=""}break}return o.text=e,o.fontSize=c,o},v=function(t,e,r){var o=n.internal.getFont(e.fontName,e.fontStyle),i=n.getStringUnitWidth(t,{font:o,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:n.getStringUnitWidth("3",{font:o,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},y={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},w=function(){n.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=n.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var e in t)if(t.hasOwnProperty(e)){var r=t[e];r.objId=void 0,r.hasAnnotation&&q.call(n,r)}},q=function(t){var e={type:"reference",object:t};void 0===n.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===e.type&&t.object===e.object}))&&n.internal.getPageInfo(t.page).pageContext.annotations.push(e)},_=function(){if(void 0===n.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");n.internal.write("/AcroForm "+n.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},B=function(){n.internal.events.unsubscribe(n.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete n.internal.acroformPlugin.acroFormDictionaryRoot._eventID,n.internal.acroformPlugin.printedOut=!0},C=function(t){var e=!t;for(var r in t||(n.internal.newObjectDeferredBegin(n.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),n.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||n.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(r)){var i=t[r],a=[],s=i.Rect;if(i.Rect&&(i.Rect=g.call(this,i.Rect)),n.internal.newObjectDeferredBegin(i.objId,!0),i.DA=V.createDefaultAppearanceStream(i),"object"===o(i)&&"function"==typeof i.getKeyValueListForStream&&(a=i.getKeyValueListForStream()),i.Rect=s,i.hasAppearanceStream&&!i.appearanceStreamContent){var c=z.call(this,i);a.push({key:"AP",value:"<>"}),n.internal.acroformPlugin.xForms.push(c)}if(i.appearanceStreamContent){var u="";for(var p in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(p)){var l=i.appearanceStreamContent[p];if(u+="/"+p+" ",u+="<<",1<=Object.keys(l).length||Array.isArray(l))for(var r in l){var f;l.hasOwnProperty(r)&&("function"==typeof(f=l[r])&&(f=f.call(this,i)),u+="/"+r+" "+f+" ",0<=n.internal.acroformPlugin.xForms.indexOf(f)||n.internal.acroformPlugin.xForms.push(f))}else"function"==typeof(f=l)&&(f=f.call(this,i)),u+="/"+r+" "+f,0<=n.internal.acroformPlugin.xForms.indexOf(f)||n.internal.acroformPlugin.xForms.push(f);u+=">>"}a.push({key:"AP",value:"<<\n"+u+">>"})}n.internal.putStream({additionalKeyValues:a}),n.internal.out("endobj")}e&&S.call(this,n.internal.acroformPlugin.xForms)},S=function(t){for(var e in t)if(t.hasOwnProperty(e)){var r=e,i=t[e];n.internal.newObjectDeferredBegin(i&&i.objId,!0),"object"===o(i)&&"function"==typeof i.putStream&&i.putStream(),delete t[r]}},E=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(n=this,x.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(y)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");r=n.internal.scaleFactor,n.internal.acroformPlugin.acroFormDictionaryRoot=new N,n.internal.acroformPlugin.acroFormDictionaryRoot._eventID=n.internal.events.subscribe("postPutResources",B),n.internal.events.subscribe("buildDocument",w),n.internal.events.subscribe("putCatalog",_),n.internal.events.subscribe("postPutPages",C),n.internal.acroformPlugin.isInitialized=!0}},R=t.__acroform__.arrayToPdfArray=function(t){if(Array.isArray(t)){for(var e="[",n=0;n>"),n.join("\n")}},set:function(t){"object"===o(t)&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};u(F,x);var U=function(){F.call(this),this.pushButton=!0};u(U,F);var j=function(){F.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=void 0!==e?e:[]}})};u(j,F);var H=function(){var t,e;x.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(t){e=t}});var n,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t,e=[];for(t in e.push("<<"),r)e.push("/"+t+" ("+r[t]+")");return e.push(">>"),e.join("\n")},set:function(t){"object"===o(t)&&(r=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(t){"string"==typeof t&&(r.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(t){n="/"+t}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=V.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};u(H,x),j.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var n=this.Kids[e];n.appearanceStreamContent=t.createAppearanceStream(n.optionName),n.caption=t.getCA()}},j.prototype.createOption=function(t){this.Kids.length;var e=new H;return e.Parent=this,e.optionName=t,this.Kids.push(e),G.call(this,e),e};var X=function(){F.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=V.CheckBox.createAppearanceStream()};u(X,F);var Q=function(){x.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(b(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=M(this.Ff,13):this.Ff=O(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(b(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=M(this.Ff,21):this.Ff=O(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(b(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=M(this.Ff,23):this.Ff=O(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(b(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=M(this.Ff,24):this.Ff=O(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(b(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=M(this.Ff,25):this.Ff=O(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(b(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=M(this.Ff,26):this.Ff=O(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};u(Q,x);var K=function(){Q.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(b(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=M(this.Ff,14):this.Ff=O(this.Ff,14)}}),this.password=!0};u(K,Q);var V={CheckBox:{createAppearanceStream:function(){return{N:{On:V.CheckBox.YesNormal},D:{On:V.CheckBox.YesPushDown,Off:V.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=f(t),r=[],o=n.internal.getFont(t.fontName,t.fontStyle).id,i=n.__private__.encodeColorString(t.color),a=m(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+s(V.internal.getWidth(t))+" "+s(V.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+o+" "+s(a.fontSize)+" Tf "+i),r.push("BT"),r.push(a.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join("\n"),e},YesNormal:function(t){var e=f(t),r=n.internal.getFont(t.fontName,t.fontStyle).id,o=n.__private__.encodeColorString(t.color),i=[],a=V.internal.getHeight(t),c=V.internal.getWidth(t),u=m(t,t.caption);return i.push("1 g"),i.push("0 0 "+s(c)+" "+s(a)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+s(c-1)+" "+s(a-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+s(u.fontSize)+" Tf "+o),i.push(u.text),i.push("ET"),i.push("Q"),e.stream=i.join("\n"),e},OffPushDown:function(t){var e=f(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+s(V.internal.getWidth(t))+" "+s(V.internal.getHeight(t))+" re"),n.push("f"),e.stream=n.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:V.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=V.RadioButton.Circle.YesNormal,e.D[t]=V.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=f(t),n=[],r=V.internal.getWidth(t)<=V.internal.getHeight(t)?V.internal.getWidth(t)/4:V.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var o=V.internal.Bezier_C,i=Number((r*o).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+c(V.internal.getWidth(t)/2)+" "+c(V.internal.getHeight(t)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),n.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),n.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),n.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e},YesPushDown:function(t){var e=f(t),n=[],r=V.internal.getWidth(t)<=V.internal.getHeight(t)?V.internal.getWidth(t)/4:V.internal.getHeight(t)/4,o=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((o*V.internal.Bezier_C).toFixed(5)),a=Number((r*V.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+c(V.internal.getWidth(t)/2)+" "+c(V.internal.getHeight(t)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),n.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),n.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),n.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+c(V.internal.getWidth(t)/2)+" "+c(V.internal.getHeight(t)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),n.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),n.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),n.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e},OffPushDown:function(t){var e=f(t),n=[],r=V.internal.getWidth(t)<=V.internal.getHeight(t)?V.internal.getWidth(t)/4:V.internal.getHeight(t)/4,o=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((o*V.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+c(V.internal.getWidth(t)/2)+" "+c(V.internal.getHeight(t)/2)+" cm"),n.push(o+" 0 m"),n.push(o+" "+i+" "+i+" "+o+" 0 "+o+" c"),n.push("-"+i+" "+o+" -"+o+" "+i+" -"+o+" 0 c"),n.push("-"+o+" -"+i+" -"+i+" -"+o+" 0 -"+o+" c"),n.push(i+" -"+o+" "+o+" -"+i+" "+o+" 0 c"),n.push("f"),n.push("Q"),e.stream=n.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:V.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=V.RadioButton.Cross.YesNormal,e.D[t]=V.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=f(t),n=[],r=V.internal.calculateCross(t);return n.push("q"),n.push("1 1 "+s(V.internal.getWidth(t)-2)+" "+s(V.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(s(r.x1.x)+" "+s(r.x1.y)+" m"),n.push(s(r.x2.x)+" "+s(r.x2.y)+" l"),n.push(s(r.x4.x)+" "+s(r.x4.y)+" m"),n.push(s(r.x3.x)+" "+s(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join("\n"),e},YesPushDown:function(t){var e=f(t),n=V.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+s(V.internal.getWidth(t))+" "+s(V.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+s(V.internal.getWidth(t)-2)+" "+s(V.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(s(n.x1.x)+" "+s(n.x1.y)+" m"),r.push(s(n.x2.x)+" "+s(n.x2.y)+" l"),r.push(s(n.x4.x)+" "+s(n.x4.y)+" m"),r.push(s(n.x3.x)+" "+s(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join("\n"),e},OffPushDown:function(t){var e=f(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+s(V.internal.getWidth(t))+" "+s(V.internal.getHeight(t))+" re"),n.push("f"),e.stream=n.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=n.internal.getFont(t.fontName,t.fontStyle).id,r=n.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};V.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=V.internal.getWidth(t),n=V.internal.getHeight(t),r=Math.min(e,n);return{x1:{x:(e-r)/2,y:(n-r)/2+r},x2:{x:(e-r)/2+r,y:(n-r)/2},x3:{x:(e-r)/2,y:(n-r)/2},x4:{x:(e-r)/2+r,y:(n-r)/2+r}}}},V.internal.getWidth=function(t){var e=0;return"object"===o(t)&&(e=p(t.Rect[2])),e},V.internal.getHeight=function(t){var e=0;return"object"===o(t)&&(e=p(t.Rect[3])),e};var G=t.addField=function(t){if(E.call(this),!(t instanceof x))throw new Error("Invalid argument passed to jsPDF.addField.");return function(t){n.internal.acroformPlugin.printedOut&&(n.internal.acroformPlugin.printedOut=!1,n.internal.acroformPlugin.acroFormDictionaryRoot=null),n.internal.acroformPlugin.acroFormDictionaryRoot||E.call(n),n.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t)}.call(this,t),t.page=n.internal.getCurrentPageInfo().pageNumber,this};t.addButton=function(t){if(t instanceof F==0)throw new Error("Invalid argument passed to jsPDF.addButton.");return G.call(this,t)},t.addTextField=function(t){if(t instanceof Q==0)throw new Error("Invalid argument passed to jsPDF.addTextField.");return G.call(this,t)},t.addChoiceField=function(t){if(t instanceof k==0)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return G.call(this,t)},"object"==o(e)&&void 0===e.ChoiceField&&void 0===e.ListBox&&void 0===e.ComboBox&&void 0===e.EditBox&&void 0===e.Button&&void 0===e.PushButton&&void 0===e.RadioButton&&void 0===e.CheckBox&&void 0===e.TextField&&void 0===e.PasswordField?(e.ChoiceField=k,e.ListBox=I,e.ComboBox=P,e.EditBox=D,e.Button=F,e.PushButton=U,e.RadioButton=j,e.CheckBox=X,e.TextField=Q,e.PasswordField=K,e.AcroForm={Appearance:V}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),t.AcroFormChoiceField=k,t.AcroFormListBox=I,t.AcroFormComboBox=P,t.AcroFormEditBox=D,t.AcroFormButton=F,t.AcroFormPushButton=U,t.AcroFormRadioButton=j,t.AcroFormCheckBox=X,t.AcroFormTextField=Q,t.AcroFormPasswordField=K,t.AcroFormAppearance=V,t.AcroForm={ChoiceField:k,ListBox:I,ComboBox:P,EditBox:D,Button:F,PushButton:U,RadioButton:j,CheckBox:X,TextField:Q,PasswordField:K,Appearance:V}})((window.tmp=ht).API,"undefined"!=typeof window&&window||"undefined"!=typeof r&&r),function(t){var e="addImage_",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},r=t.getImageFileTypeByImageData=function(e,r){var o,i;r=r||"UNKNOWN";var a,s,c,u="UNKNOWN";for(c in t.isArrayBufferView(e)&&(e=t.arrayBufferToBinaryString(e)),n)for(a=n[c],o=0;o>"}),"trns"in e&&e.trns.constructor==Array){for(var s="",c=0,u=e.trns.length;c>18]+r[(258048&e)>>12]+r[(4032&e)>>6]+r[63&e];return 1==a?n+=r[(252&(e=o[s]))>>2]+r[(3&e)<<4]+"==":2==a&&(n+=r[(64512&(e=o[s]<<8|o[s+1]))>>10]+r[(1008&e)>>4]+r[(15&e)<<2]+"="),n},t.createImageInfo=function(t,e,n,r,o,i,a,s,c,u,p,l,f){var A={alias:s,w:e,h:n,cs:r,bpc:o,i:a,data:t};return i&&(A.f=i),c&&(A.dp=c),u&&(A.trns=u),p&&(A.pal=p),l&&(A.smask=l),f&&(A.p=f),A},t.addImage=function(n,r,i,f,A,h,d,b,M){var O="";if("string"!=typeof r){var g=h;h=A,A=f,f=i,i=r,r=g}if("object"===o(n)&&!u(n)&&"imageData"in n){var z=n;n=z.imageData,r=z.format||r||"UNKNOWN",i=z.x||i||0,f=z.y||f||0,A=z.w||A,h=z.h||h,d=z.alias||d,b=z.compression||b,M=z.rotation||z.angle||M}var m=this.internal.getFilters();if(void 0===b&&-1!==m.indexOf("FlateEncode")&&(b="SLOW"),"string"==typeof n&&(n=unescape(n)),isNaN(i)||isNaN(f))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var v,y,w,q,_,B,C,S=function(){var t=this.internal.collections[e+"images"];return t||(this.internal.collections[e+"images"]=t={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",s)),t}.call(this);if(!((v=l(n,S))||(u(n)&&(n=p(n,r)),(null==(C=d)||0===C.length)&&(d="string"==typeof(B=n)?t.sHashCode(B):t.isArrayBufferView(B)?t.sHashCode(t.arrayBufferToBinaryString(B)):null),v=l(d,S)))){if(this.isString(n)&&(""!==(O=this.convertStringToImageData(n))||void 0!==(O=t.loadFile(n)))&&(n=O),r=this.getImageFileTypeByImageData(n,r),!c(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if(this.supportsArrayBuffer()&&(n instanceof Uint8Array||(y=n,n=this.binaryStringToUint8Array(n))),!(v=this["process"+r.toUpperCase()](n,(_=0,(q=S)&&(_=Object.keys?Object.keys(q).length:function(t){var e=0;for(var n in t)t.hasOwnProperty(n)&&e++;return e}(q)),_),d,((w=b)&&"string"==typeof w&&(w=w.toUpperCase()),w in t.image_compression?w:t.image_compression.NONE),y)))throw new Error("An unknown error occurred whilst processing the image")}return function(t,e,n,r,o,i,a,s){var c=function(t,e,n){return t||e||(e=t=-96),t<0&&(t=-1*n.w*72/t/this.internal.scaleFactor),e<0&&(e=-1*n.h*72/e/this.internal.scaleFactor),0===t&&(t=e*n.w/n.h),0===e&&(e=t*n.h/n.w),[t,e]}.call(this,n,r,o),u=this.internal.getCoordinateString,p=this.internal.getVerticalCoordinateString;if(n=c[0],r=c[1],a[i]=o,s){s*=Math.PI/180;var l=Math.cos(s),f=Math.sin(s),A=function(t){return t.toFixed(4)},h=[A(l),A(f),A(-1*f),A(l),0,0,"cm"]}this.internal.write("q"),s?(this.internal.write([1,"0","0",1,u(t),p(e+r),"cm"].join(" ")),this.internal.write(h.join(" ")),this.internal.write([u(n),"0","0",u(r),"0","0","cm"].join(" "))):this.internal.write([u(n),"0","0",u(r),u(t),p(e+r),"cm"].join(" ")),this.internal.write("/I"+o.i+" Do"),this.internal.write("Q")}.call(this,i,f,A,h,v,v.i,S,M),this},t.convertStringToImageData=function(e){var n,r="";if(this.isString(e)){var o;n=null!==(o=this.extractImageFromDataUrl(e))?o.data:e;try{r=atob(n)}catch(e){throw t.validateStringAsBase64(n)?new Error("atob-Error in jsPDF.convertStringToImageData "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return r};var f=function(t,e){return t.subarray(e,e+5)};t.processJPEG=function(t,e,n,o,i,a){var s,c=this.decode.DCT_DECODE;if(!this.isString(t)&&!this.isArrayBuffer(t)&&!this.isArrayBufferView(t))return null;if(this.isString(t)&&(s=function(t){var e;if("JPEG"!==r(t))throw new Error("getJpegSize requires a binary string jpeg file");for(var n=256*t.charCodeAt(4)+t.charCodeAt(5),o=4,i=t.length;o>",u.content=b;var f=u.objId+" 0 R";b="<>";else if(c.options.pageNumber)switch(b="<>",this.internal.write(b))}}this.internal.write("]")}}]),a.createAnnotation=function(t){var e=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":e.pageContext.annotations.push(t)}},a.link=function(t,e,n,r,o){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:t,y:e,w:n,h:r,options:o,type:"link"})},a.textWithLink=function(t,e,n,r){var o=this.getTextWidth(t),i=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,e,n),n+=.2*i,this.link(e,n-i,o,i,r),o},a.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor},function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},o=[1570,1571,1573,1575];t.__arabicParser__={};var i=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},a=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},s=t.__arabicParser__.isArabicEndLetter=function(t){return a(t)&&i(t)&&e[t.charCodeAt(0)].length<=2},c=t.__arabicParser__.isArabicAlfLetter=function(t){return a(t)&&0<=o.indexOf(t.charCodeAt(0))},u=(t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return a(t)&&i(t)&&1<=e[t.charCodeAt(0)].length},t.__arabicParser__.arabicLetterHasFinalForm=function(t){return a(t)&&i(t)&&2<=e[t.charCodeAt(0)].length}),p=(t.__arabicParser__.arabicLetterHasInitialForm=function(t){return a(t)&&i(t)&&3<=e[t.charCodeAt(0)].length},t.__arabicParser__.arabicLetterHasMedialForm=function(t){return a(t)&&i(t)&&4==e[t.charCodeAt(0)].length}),l=t.__arabicParser__.resolveLigatures=function(t){var e=0,r=n,o=0,i="",a=0;for(e=0;e>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+e+" 0 R")}))}return this},s=ht.API,(c=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(e){t=e}});var e=150;Object.defineProperty(this,"width",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(t){n=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(t){r=t}});var o={};Object.defineProperty(this,"style",{get:function(){return o},set:function(t){o=t}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(t,e){var n;if("2d"!==(t=t||"2d"))return null;for(n in e)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=e[n]);return(this.pdf.context2d._canvas=this).pdf.context2d},c.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},s.events.push(["initialized",function(){this.canvas=new c,this.canvas.pdf=this}]),u=ht.API,l={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},f=1,A=function(t,e,n,r,o){l={x:t,y:e,w:n,h:r,ln:o}},h=function(){return l},d={left:0,top:0,bottom:0},u.setHeaderFunction=function(t){p=t},u.getTextDimensions=function(t,e){var n=this.table_font_size||this.internal.getFontSize(),r=(this.internal.getFont().fontStyle,(e=e||{}).scaleFactor||this.internal.scaleFactor),o=0,i=0,a=0;if("string"==typeof t)0!=(o=this.getStringUnitWidth(t)*n)&&(i=1);else{if("[object Array]"!==Object.prototype.toString.call(t))throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var s=0;s=this.internal.pageSize.getHeight()-u.bottom&&(this.cellAddPage(),c=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(i,!0)),e=h().y+h().h,c&&(e=23)}if(void 0!==o[0])if(this.printingHeaderRow?this.rect(t,e,n,r,"FD"):this.rect(t,e,n,r),"right"===a){o instanceof Array||(o=[o]);for(var p=0;p=2*Math.PI&&(r=0,o=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radius:n,startAngle:r,endAngle:o,counterclockwise:i})},u.prototype.arcTo=function(t,e,n,r,o){throw new Error("arcTo not implemented.")},u.prototype.rect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+n,e),this.lineTo(t+n,e+r),this.lineTo(t,e+r),this.lineTo(t,e),this.lineTo(t+n,e),this.lineTo(t,e)},u.prototype.fillRect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!l.call(this)){var o={};"butt"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,n,r),this.fill(),o.hasOwnProperty("lineCap")&&(this.lineCap=o.lineCap),o.hasOwnProperty("lineJoin")&&(this.lineJoin=o.lineJoin)}},u.prototype.strokeRect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");f.call(this)||(this.beginPath(),this.rect(t,e,n,r),this.stroke())},u.prototype.clearRect=function(t,e,n,r){if(isNaN(t)||isNaN(e)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,n,r))},u.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n"},O=function(t){var e,n,r,o,i,a=String,s="length",c="charCodeAt",u="slice",p="replace";for(t[u](-2),t=t[u](0,-2)[p](/\s/g,"")[p]("z","!!!!!"),r=[],o=0,i=(t+=e="uuuuu"[u](t[s]%5||5))[s];o>24,255&n>>16,255&n>>8,255&n);return function(t,n){for(var r=e[s];0"},z=function(t){var e=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===e.test(t))return"";for(var n="",r=0;r>8&255,n>>16&255,n>>24&255]),t.length+2),String.fromCharCode.apply(null,o)},b.processDataByFilters=function(t,e){var n=0,r=t||"",o=[];for("string"==typeof(e=e||[])&&(e=[e]),n=0;n>"),this.internal.out("endobj"),S=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+E+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==C&&void 0!==S&&this.internal.out("/Names <>")})),this},(R=ht.API).events.push(["postPutResources",function(){var t=this,e=/^(\d+) 0 obj$/;if(0> endobj")}var l=t.internal.newObject();for(t.internal.write("<< /Names [ "),r=0;r>","endobj"),t.internal.newObject(),t.internal.write("<< /Dests "+l+" 0 R"),t.internal.write(">>","endobj")}}]),R.events.push(["putCatalog",function(){0> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var n=0;n>>24&255,f[l++]=s>>>16&255,f[l++]=s>>>8&255,f[l++]=255&s,W.arrayBufferToBinaryString(f)},N=function(t,e){var n=Math.LOG2E*Math.log(32768)-8<<4|8,r=n<<8;return r|=Math.min(3,(e-1&255)>>1)<<6,r|=0,[n,255&(r+=31-r%31)]},x=function(t,e){for(var n,r=1,o=0,i=t.length,a=0;0>>0},k=function(t,e,n,r){for(var o,i,a,s=t.length/e,c=new Uint8Array(t.length+s),u=H(),p=0;p>>1)&255;return i},U=function(t,e,n){var r,o,i,a,s=[],c=0,u=t.length;for(s[0]=4;c>>h&255,h+=i.bits;M[g]=m>>>h&255}if(16===i.bits){d=(_=new Uint32Array(i.decodePixels().buffer)).length,b=new Uint8Array(d*(32/i.pixelBitlength)*i.colors),M=new Uint8Array(d*(32/i.pixelBitlength));for(var m,v=1>>0&255,v&&(b[z++]=m>>>16&255,m=_[g++],b[z++]=m>>>0&255),M[y++]=m>>>16&255;A=8}r!==W.image_compression.NONE&&T()?(t=L(b,i.width*i.colors,i.colors,r),p=L(M,i.width,1,r)):(t=b,p=M,f=null)}if(3===i.colorType&&(l=this.color_spaces.INDEXED,u=i.palette,i.transparency.indexed)){var w=i.transparency.indexed,q=0;for(g=0,d=w.length;gr&&(o.push(t.slice(c,i)),s=0,c=i),s+=e[i],i++;return c!==i&&o.push(t.slice(c,i)),o},tt=function(t,e,n){n||(n={});var r,o,i,a,s,c,u=[],p=[u],l=n.textIndent||0,f=0,A=0,h=t.split(" "),d=Y.apply(this,[" ",n])[0];if(c=-1===n.lineIndent?h[0].length+2:n.lineIndent||0){var b=Array(c).join(" "),M=[];h.map((function(t){1<(t=t.split(/\s*\n/)).length?M=M.concat(t.map((function(t,e){return(e&&t.length?"\n":"")+t}))):M.push(t[0])})),h=M,c=J.apply(this,[b,n])}for(i=0,a=h.length;i>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=n,this},ct=ht.API,lt=pt=ut="",ct.addMetadata=function(t,e){return pt=e||"http://jspdf.default.namespaceuri/",ut=t,this.internal.events.subscribe("postPutResources",(function(){if(ut){var t='',e=unescape(encodeURIComponent('')),n=unescape(encodeURIComponent(t)),r=unescape(encodeURIComponent(ut)),o=unescape(encodeURIComponent("")),i=unescape(encodeURIComponent("")),a=n.length+r.length+o.length+e.length+i.length;lt=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+a+" >>"),this.internal.write("stream"),this.internal.write(e+n+r+o+i),this.internal.write("endstream"),this.internal.write("endobj")}else lt=""})),this.internal.events.subscribe("putCatalog",(function(){lt&&this.internal.write("/Metadata "+lt+" 0 R")})),this},function(t,e){var n=t.API,r=n.pdfEscape16=function(t,e){for(var n,r=e.metadata.Unicode.widths,o=["","0","00","000","0000"],i=[""],a=0,s=t.length;a<"+o+">");return r.length&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};n.events.push(["putFont",function(e){!function(e,n,r,i){if(e.metadata instanceof t.API.TTFFont&&"Identity-H"===e.encoding){for(var a=e.metadata.Unicode.widths,s=e.metadata.subset.encode(e.metadata.glyIdsUsed,1),c="",u=0;u>"),n("endobj");var A=r();n("<<"),n("/Type /Font"),n("/BaseFont /"+e.fontName),n("/FontDescriptor "+f+" 0 R"),n("/W "+t.API.PDFObject.convert(a)),n("/CIDToGIDMap /Identity"),n("/DW 1000"),n("/Subtype /CIDFontType2"),n("/CIDSystemInfo"),n("<<"),n("/Supplement 0"),n("/Registry (Adobe)"),n("/Ordering ("+e.encoding+")"),n(">>"),n(">>"),n("endobj"),e.objectNumber=r(),n("<<"),n("/Type /Font"),n("/Subtype /Type0"),n("/ToUnicode "+l+" 0 R"),n("/BaseFont /"+e.fontName),n("/Encoding /"+e.encoding),n("/DescendantFonts ["+A+" 0 R]"),n(">>"),n("endobj"),e.isAlreadyPutted=!0}}(e.font,e.out,e.newObject,e.putStream)}]),n.events.push(["putFont",function(e){!function(e,n,r,i){if(e.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===e.encoding){e.metadata.Unicode.widths;for(var a=e.metadata.rawData,s="",c=0;c>"),n("endobj"),e.objectNumber=r(),c=0;c>"),n("endobj"),e.isAlreadyPutted=!0}}(e.font,e.out,e.newObject,e.putStream)}]);var i=function(t){var e,n,o=t.text||"",i=t.x,a=t.y,s=t.options||{},c=t.mutex||{},u=c.pdfEscape,p=c.activeFontKey,l=c.fonts,f=(c.activeFontSize,""),A=0,h="",d=l[n=p].encoding;if("Identity-H"!==l[n].encoding)return{text:o,x:i,y:a,options:s,mutex:c};for(h=o,n=p,"[object Array]"===Object.prototype.toString.call(o)&&(h=o[0]),A=0;Ac-u.top-u.bottom&&r.pagesplit){var h=function(t,e,n,o,i){var a=document.createElement("canvas");a.height=i,a.width=o;var s=a.getContext("2d");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=r.backgroundColor||"#ffffff",s.fillRect(0,0,o,i),s.drawImage(t,e,n,o,i,0,0,o,i),a},d=function(){for(var r,i,p=0,d=0,b={},M=!1;;){var O;if(d=0,b.top=0!==p?u.top:n,b.left=0!==p?u.left:e,M=(s-u.left-u.right)*a=t.width)break;this.addPage()}else g=[O=h(t,0,p,r,i),b.left,b.top,O.width/a,O.height/a,f,null,A],this.addImage.apply(this,g);if((p+=i)>=t.height)break;this.addPage()}o(l,p,null,g)}.bind(this);if("CANVAS"===t.nodeName){var b=new Image;b.onload=d,b.src=t.toDataURL("image/png"),t=b}else d()}else{var M=Math.random().toString(35),O=[t,e,n,l,p,f,M,A];this.addImage.apply(this,O),o(l,p,M,O)}}.bind(this),"undefined"!=typeof html2canvas&&!r.rstz)return html2canvas(t,r);if("undefined"==typeof rasterizeHTML)return null;var u="drawDocument";return"string"==typeof t&&(u=/^http/.test(t)?"drawURL":"drawHTML"),r.width=r.width||s*a,rasterizeHTML[u](t,void 0,r).then((function(t){r.onrendered(t.image)}),(function(t){o(null,t)}))},function(t){var e,n,r,i,a,s,c,u,p,l,f,A,h,d,b,M,O,g,z,m;e=function(){return function(e){return t.prototype=e,new t};function t(){}}(),l=function(t){var e,n,r,o,i,a,s;for(n=0,r=t.length,e=void 0,a=o=!1;!o&&n!==r;)(e=t[n]=t[n].trimLeft())&&(o=!0),n++;for(n=r-1;r&&!a&&-1!==n;)(e=t[n]=t[n].trimRight())&&(a=!0),n--;for(i=/\s+$/g,s=!0,n=0;n!==r;)"\u2028"!=t[n]&&(e=t[n].replace(/\s+/g," "),s&&(e=e.trimLeft()),e&&(s=i.test(e)),t[n]=e),n++;return t},A=function(t){var e,n,o;for(e=void 0,n=(o=t.split(",")).shift();!e&&n;)e=r[n.trim().toLowerCase()],n=o.shift();return e},h=function(t){var e;return-1<(t="auto"===t?"0px":t).indexOf("em")&&!isNaN(Number(t.replace("em","")))&&(t=18.719*Number(t.replace("em",""))+"px"),-1r.pdf.margins_doc.top&&(r.pdf.addPage(),r.y=r.pdf.margins_doc.top,r.executeWatchFunctions(a));var S=p(a),E=r.x,R=12/r.pdf.internal.scaleFactor,W=(S["margin-left"]+S["padding-left"])*R,T=(S["margin-right"]+S["padding-right"])*R,L=(S["margin-top"]+S["padding-top"])*R,N=(S["margin-bottom"]+S["padding-bottom"])*R;void 0!==S.float&&"right"===S.float?E+=r.settings.width-a.width-T:E+=W,r.pdf.addImage(B,E,r.y+L,a.width,a.height),B=void 0,"right"===S.float||"left"===S.float?(r.watchFunctions.push(function(t,e,n,o){return r.y>=e?(r.x+=t,r.settings.width+=n,!0):!!(o&&1===o.nodeType&&!v[o.nodeName]&&r.x+o.width>r.pdf.margins_doc.left+r.pdf.margins_doc.width)&&(r.x+=t,r.y=e,r.settings.width+=n,!0)}.bind(this,"left"===S.float?-a.width-W-T:0,r.y+a.height+L+N,a.width)),r.watchFunctions.push(function(t,e,n){return!(r.y]*?>/gi,""),p="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(u=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",u.innerHTML='